You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RTL/frontend/main.f59b8f6c64cb318a.js

1 line
3.0 MiB

(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[179],{429:(Ge,Q,m)=>{"use strict";m.d(Q,{$A:()=>Oe,$W:()=>ue,BL:()=>B,CN:()=>d,CX:()=>M,EG:()=>U,EK:()=>E,El:()=>ie,HI:()=>r,HJ:()=>I,I8:()=>P,JK:()=>ct,Lu:()=>Z,Ly:()=>me,Ni:()=>g,Nr:()=>fe,OG:()=>z,QJ:()=>Ie,RX:()=>L,Rd:()=>Se,SN:()=>w,Sf:()=>W,TM:()=>c,UH:()=>Me,UR:()=>k,VD:()=>q,WM:()=>ve,WO:()=>y,Wi:()=>oe,X3:()=>se,YP:()=>te,YX:()=>b,Z8:()=>le,ZH:()=>ft,Zu:()=>xe,_9:()=>ne,_E:()=>X,aL:()=>Ke,as:()=>v,cQ:()=>i,d7:()=>Jt,dh:()=>ke,e9:()=>vt,eF:()=>O,eM:()=>Ze,en:()=>Ht,g3:()=>Y,g6:()=>Ae,i9:()=>_t,kL:()=>S,n7:()=>it,oV:()=>h,oo:()=>o,pW:()=>n,pd:()=>u,u0:()=>ot,uT:()=>nt,v_:()=>Ne,wD:()=>C,xH:()=>A,xS:()=>j,yl:()=>de,z:()=>he});var t=m(9653),e=m(7731);const g=(0,t.PH)(e.AB.UPDATE_API_CALL_STATUS_CLN,(0,t.Ky)()),A=(0,t.PH)(e.AB.RESET_CLN_STORE,(0,t.Ky)()),o=(0,t.PH)(e.AB.SET_CHILD_NODE_SETTINGS_CLN,(0,t.Ky)()),C=(0,t.PH)(e.AB.FETCH_PAGE_SETTINGS_CLN),u=(0,t.PH)(e.AB.SET_PAGE_SETTINGS_CLN,(0,t.Ky)()),O=(0,t.PH)(e.AB.SAVE_PAGE_SETTINGS_CLN,(0,t.Ky)()),d=(0,t.PH)(e.AB.FETCH_INFO_CLN,(0,t.Ky)()),M=(0,t.PH)(e.AB.SET_INFO_CLN,(0,t.Ky)()),w=(0,t.PH)(e.AB.FETCH_FEES_CLN),L=(0,t.PH)(e.AB.SET_FEES_CLN,(0,t.Ky)()),I=(0,t.PH)(e.AB.FETCH_FEE_RATES_CLN,(0,t.Ky)()),P=(0,t.PH)(e.AB.SET_FEE_RATES_CLN,(0,t.Ky)()),U=(0,t.PH)(e.AB.FETCH_BALANCE_CLN),Z=(0,t.PH)(e.AB.SET_BALANCE_CLN,(0,t.Ky)()),Y=(0,t.PH)(e.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),j=(0,t.PH)(e.AB.SET_LOCAL_REMOTE_BALANCE_CLN,(0,t.Ky)()),X=(0,t.PH)(e.AB.GET_NEW_ADDRESS_CLN,(0,t.Ky)()),ue=((0,t.PH)(e.AB.SET_NEW_ADDRESS_CLN,(0,t.Ky)()),(0,t.PH)(e.AB.FETCH_PEERS_CLN)),le=(0,t.PH)(e.AB.SET_PEERS_CLN,(0,t.Ky)()),ie=(0,t.PH)(e.AB.SAVE_NEW_PEER_CLN,(0,t.Ky)()),se=((0,t.PH)(e.AB.NEWLY_ADDED_PEER_CLN,(0,t.Ky)()),(0,t.PH)(e.AB.ADD_PEER_CLN,(0,t.Ky)())),he=(0,t.PH)(e.AB.DETACH_PEER_CLN,(0,t.Ky)()),E=(0,t.PH)(e.AB.REMOVE_PEER_CLN,(0,t.Ky)()),i=(0,t.PH)(e.AB.FETCH_PAYMENTS_CLN),r=(0,t.PH)(e.AB.SET_PAYMENTS_CLN,(0,t.Ky)()),h=(0,t.PH)(e.AB.SEND_PAYMENT_CLN,(0,t.Ky)()),c=(0,t.PH)(e.AB.SEND_PAYMENT_STATUS_CLN,(0,t.Ky)()),y=(0,t.PH)(e.AB.GET_QUERY_ROUTES_CLN,(0,t.Ky)()),S=(0,t.PH)(e.AB.SET_QUERY_ROUTES_CLN,(0,t.Ky)()),k=(0,t.PH)(e.AB.FETCH_CHANNELS_CLN),v=(0,t.PH)(e.AB.SET_CHANNELS_CLN,(0,t.Ky)()),n=(0,t.PH)(e.AB.UPDATE_CHANNEL_CLN,(0,t.Ky)()),b=(0,t.PH)(e.AB.SAVE_NEW_CHANNEL_CLN,(0,t.Ky)()),B=(0,t.PH)(e.AB.CLOSE_CHANNEL_CLN,(0,t.Ky)()),z=(0,t.PH)(e.AB.REMOVE_CHANNEL_CLN,(0,t.Ky)()),W=(0,t.PH)(e.AB.PEER_LOOKUP_CLN,(0,t.Ky)()),Oe=(0,t.PH)(e.AB.CHANNEL_LOOKUP_CLN,(0,t.Ky)()),it=(0,t.PH)(e.AB.INVOICE_LOOKUP_CLN,(0,t.Ky)()),Ne=(0,t.PH)(e.AB.SET_LOOKUP_CLN,(0,t.Ky)()),ot=(0,t.PH)(e.AB.GET_FORWARDING_HISTORY_CLN,(0,t.Ky)()),Ie=(0,t.PH)(e.AB.SET_FORWARDING_HISTORY_CLN,(0,t.Ky)()),ve=(0,t.PH)(e.AB.FETCH_INVOICES_CLN,(0,t.Ky)()),fe=(0,t.PH)(e.AB.SET_INVOICES_CLN,(0,t.Ky)()),Se=(0,t.PH)(e.AB.SAVE_NEW_INVOICE_CLN,(0,t.Ky)()),te=(0,t.PH)(e.AB.ADD_INVOICE_CLN,(0,t.Ky)()),Ke=(0,t.PH)(e.AB.UPDATE_INVOICE_CLN,(0,t.Ky)()),Ae=(0,t.PH)(e.AB.DELETE_EXPIRED_INVOICE_CLN,(0,t.Ky)()),oe=(0,t.PH)(e.AB.SET_CHANNEL_TRANSACTION_CLN,(0,t.Ky)()),me=((0,t.PH)(e.AB.SET_CHANNEL_TRANSACTION_RES_CLN,(0,t.Ky)()),(0,t.PH)(e.AB.FETCH_UTXOS_CLN)),Me=(0,t.PH)(e.AB.SET_UTXOS_CLN,(0,t.Ky)()),Ze=(0,t.PH)(e.AB.FETCH_OFFER_INVOICE_CLN,(0,t.Ky)()),q=(0,t.PH)(e.AB.SET_OFFER_INVOICE_CLN,(0,t.Ky)()),de=(0,t.PH)(e.AB.FETCH_OFFERS_CLN),xe=(0,t.PH)(e.AB.SET_OFFERS_CLN,(0,t.Ky)()),ke=(0,t.PH)(e.AB.SAVE_NEW_OFFER_CLN,(0,t.Ky)()),ft=(0,t.PH)(e.AB.ADD_OFFER_CLN,(0,t.Ky)()),_t=(0,t.PH)(e.AB.DISABLE_OFFER_CLN,(0,t.Ky)()),ct=(0,t.PH)(e.AB.UPDATE_OFFER_CLN,(0,t.Ky)()),nt=(0,t.PH)(e.AB.FETCH_OFFER_BOOKMARKS_CLN),Jt=(0,t.PH)(e.AB.SET_OFFER_BOOKMARKS_CLN,(0,t.Ky)()),vt=(0,t.PH)(e.AB.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,t.Ky)()),ne=(0,t.PH)(e.AB.DELETE_OFFER_BOOKMARK_CLN,(0,t.Ky)()),Ht=(0,t.PH)(e.AB.REMOVE_OFFER_BOOKMARK_CLN,(0,t.Ky)())},4947:(Ge,Q,m)=>{"use strict";m.d(Q,{J:()=>ce});var t=m(493),e=m(7579),g=m(9646),A=m(5577),o=m(2722),C=m(4004),u=m(262),O=m(1786),d=m(5566),M=m(7731),w=m(7861),L=m(429),I=m(9828),P=m(1462),U=m(4650),Z=m(529),Y=m(9653),j=m(5986),X=m(62),ee=m(5043),ue=m(9116),le=m(7998),ie=m(6895);let ce=(()=>{class se{constructor(E,i,r,h,c,y,S,k,v){this.actions=E,this.httpClient=i,this.store=r,this.sessionService=h,this.commonService=c,this.logger=y,this.router=S,this.wsService=k,this.location=v,this.CHILD_API_URL=M.T5+"/cln",this.flgInitialized=!1,this.unSubs=[new e.x,new e.x,new e.x],this.infoFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.FETCH_INFO_CLN),(0,A.z)(n=>(this.flgInitialized=!1,this.store.dispatch((0,w.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,L.Ni)({payload:{action:"FetchInfo",status:M.Bn.INITIATED}})),this.store.dispatch((0,w.ac)({payload:M.m6.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+M.vv.GETINFO_API).pipe((0,o.R)(this.actions.pipe((0,t.l4)(M.pg.SET_SELECTED_NODE))),(0,C.U)(b=>(this.logger.info(b),b.chains&&b.chains.length&&b.chains[0]&&"object"==typeof b.chains[0]&&b.chains[0].hasOwnProperty("chain")&&b?.chains[0].chain&&b?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&b?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,L.Ni)({payload:{action:"FetchInfo",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.GET_NODE_INFO})),this.store.dispatch((0,w.ts)()),setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{type:M.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:M.pg.LOGOUT}):(this.initializeRemainingData(b,n.payload.loadPage),this.store.dispatch((0,L.Ni)({payload:{action:"FetchInfo",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.GET_NODE_INFO})),{type:M.AB.SET_INFO_CLN,payload:b||{}}))),(0,u.K)(b=>{const B=this.commonService.extractErrorCode(b),z="ETIMEDOUT"===B?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(b);return this.router.navigate(["/error"],{state:{errorCode:B,errorMessage:z}}),this.handleErrorWithoutAlert("FetchInfo",M.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:B,error:z}),(0,g.of)({type:M.pg.VOID})})))))),this.fetchFeesCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.FETCH_FEES_CLN),(0,A.z)(()=>(this.store.dispatch((0,L.Ni)({payload:{action:"FetchFees",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.FEES_API))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,L.Ni)({payload:{action:"FetchFees",status:M.Bn.COMPLETED}})),{type:M.AB.SET_FEES_CLN,payload:n||{}})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchFees",M.m6.NO_SPINNER,"Fetching Fees Failed.",n),(0,g.of)({type:M.pg.VOID}))))),this.fetchFeeRatesCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.FETCH_FEE_RATES_CLN),(0,A.z)(n=>(this.store.dispatch((0,L.Ni)({payload:{action:"FetchFeeRates"+n.payload,status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/feeRates/"+n.payload).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"FetchFeeRates"+n.payload,status:M.Bn.COMPLETED}})),{type:M.AB.SET_FEE_RATES_CLN,payload:b||{}})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchFeeRates"+n.payload,M.m6.NO_SPINNER,"Fetching Fee Rates Failed.",b),(0,g.of)({type:M.pg.VOID})))))))),this.fetchBalanceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.FETCH_BALANCE_CLN),(0,A.z)(()=>(this.store.dispatch((0,L.Ni)({payload:{action:"FetchBalance",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.BALANCE_API))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,L.Ni)({payload:{action:"FetchBalance",status:M.Bn.COMPLETED}})),{type:M.AB.SET_BALANCE_CLN,payload:n||{}})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchBalance",M.m6.NO_SPINNER,"Fetching Balances Failed.",n),(0,g.of)({type:M.pg.VOID}))))),this.fetchLocalRemoteBalanceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),(0,A.z)(()=>(this.store.dispatch((0,L.Ni)({payload:{action:"FetchLocalRemoteBalance",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_API+"/localRemoteBalance"))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,L.Ni)({payload:{action:"FetchLocalRemoteBalance",status:M.Bn.COMPLETED}})),{type:M.AB.SET_LOCAL_REMOTE_BALANCE_CLN,payload:n||{}})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchLocalRemoteBalance",M.m6.NO_SPINNER,"Fetching Balances Failed.",n),(0,g.of)({type:M.pg.VOID}))))),this.getNewAddressCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.GET_NEW_ADDRESS_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:M.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+M.vv.ON_CHAIN_API+"?type="+n.payload.addressCode).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,w.uO)({payload:M.m6.GENERATE_NEW_ADDRESS})),{type:M.AB.SET_NEW_ADDRESS_CLN,payload:b&&b.address?b.address:{}})),(0,u.K)(b=>(this.handleErrorWithAlert("GenerateNewAddress",M.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+M.vv.ON_CHAIN_API+"?type="+n.payload.addressId,b),(0,g.of)({type:M.pg.VOID})))))))),this.setNewAddressCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.SET_NEW_ADDRESS_CLN),(0,C.U)(n=>(this.logger.info(n.payload),n.payload))),{dispatch:!1}),this.peersFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.FETCH_PEERS_CLN),(0,A.z)(()=>(this.store.dispatch((0,L.Ni)({payload:{action:"FetchPeers",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.PEERS_API).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,L.Ni)({payload:{action:"FetchPeers",status:M.Bn.COMPLETED}})),{type:M.AB.SET_PEERS_CLN,payload:n||[]})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchPeers",M.m6.NO_SPINNER,"Fetching Peers Failed.",n),(0,g.of)({type:M.pg.VOID})))))))),this.saveNewPeerCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.SAVE_NEW_PEER_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:M.m6.CONNECT_PEER})),this.store.dispatch((0,L.Ni)({payload:{action:"SaveNewPeer",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.PEERS_API,{id:n.payload.id}).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"SaveNewPeer",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.CONNECT_PEER})),this.store.dispatch((0,L.Z8)({payload:b||[]})),{type:M.AB.NEWLY_ADDED_PEER_CLN,payload:{peer:b.find(B=>0===n.payload.id.indexOf(B.id?B.id:""))}})),(0,u.K)(b=>(this.handleErrorWithoutAlert("SaveNewPeer",M.m6.CONNECT_PEER,"Peer Connection Failed.",b),(0,g.of)({type:M.pg.VOID})))))))),this.detachPeerCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.DETACH_PEER_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:M.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+M.vv.PEERS_API+"/"+n.payload.id+"?force="+n.payload.force).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,w.uO)({payload:M.m6.DISCONNECT_PEER})),this.store.dispatch((0,w.jW)({payload:"Peer Disconnected Successfully!"})),{type:M.AB.REMOVE_PEER_CLN,payload:{id:n.payload.id}})),(0,u.K)(b=>(this.handleErrorWithAlert("PeerDisconnect",M.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+M.vv.PEERS_API+"/"+n.payload.id,b),(0,g.of)({type:M.pg.VOID})))))))),this.channelsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.FETCH_CHANNELS_CLN),(0,A.z)(()=>(this.store.dispatch((0,L.Ni)({payload:{action:"FetchChannels",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_API+"/listChannels"))),(0,C.U)(n=>{this.logger.info(n),this.store.dispatch((0,L.Ni)({payload:{action:"FetchChannels",status:M.Bn.COMPLETED}}));const b={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return n.forEach(B=>{"CHANNELD_NORMAL"===B.state?B.connected?b.activeChannels.push(B):b.inactiveChannels.push(B):b.pendingChannels.push(B)}),{type:M.AB.SET_CHANNELS_CLN,payload:b}}),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchChannels",M.m6.NO_SPINNER,"Fetching Channels Failed.",n),(0,g.of)({type:M.pg.VOID}))))),this.openNewChannelCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.SAVE_NEW_CHANNEL_CLN),(0,A.z)(n=>{this.store.dispatch((0,w.ac)({payload:M.m6.OPEN_CHANNEL})),this.store.dispatch((0,L.Ni)({payload:{action:"SaveNewChannel",status:M.Bn.INITIATED}}));const b={id:n.payload.peerId,satoshis:n.payload.satoshis,feeRate:n.payload.feeRate,announce:n.payload.announce};return n.payload.minconf&&(b.minconf=n.payload.minconf),n.payload.utxos&&(b.utxos=n.payload.utxos),n.payload.requestAmount&&(b.request_amt=n.payload.requestAmount),n.payload.compactLease&&(b.compact_lease=n.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_API,b).pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,L.Ni)({payload:{action:"SaveNewChannel",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.OPEN_CHANNEL})),this.store.dispatch((0,w.jW)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,L.EG)()),this.store.dispatch((0,L.Ly)()),{type:M.AB.FETCH_CHANNELS_CLN})),(0,u.K)(B=>(this.handleErrorWithoutAlert("SaveNewChannel",M.m6.OPEN_CHANNEL,"Opening Channel Failed.",B),(0,g.of)({type:M.pg.VOID}))))}))),this.updateChannelCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.UPDATE_CHANNEL_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:M.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+M.vv.CHANNELS_API+"/setChannelFee",{id:n.payload.channelId,base:n.payload.baseFeeMsat,ppm:n.payload.feeRate}).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,w.uO)({payload:M.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,w.jW)("all"===n.payload.channelId?{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:M.AB.FETCH_CHANNELS_CLN})),(0,u.K)(b=>(this.handleErrorWithAlert("UpdateChannel",M.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+M.vv.CHANNELS_API,b),(0,g.of)({type:M.pg.VOID})))))))),this.closeChannelCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.CLOSE_CHANNEL_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:n.payload.force?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+M.vv.CHANNELS_API+"/"+n.payload.channelId+(n.payload.force?"?force="+n.payload.force:"")).pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,w.uO)({payload:n.payload.force?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL})),this.store.dispatch((0,L.UR)()),this.store.dispatch((0,L.g3)()),this.store.dispatch((0,w.jW)({payload:"Channel Closed Successfully!"})),{type:M.AB.REMOVE_CHANNEL_CLN,payload:n.payload})),(0,u.K)(B=>(this.handleErrorWithAlert("CloseChannel",n.payload.force?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+M.vv.CHANNELS_API,B),(0,g.of)({type:M.pg.VOID})))))))),this.paymentsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.FETCH_PAYMENTS_CLN),(0,A.z)(()=>(this.store.dispatch((0,L.Ni)({payload:{action:"FetchPayments",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.PAYMENTS_API))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,L.Ni)({payload:{action:"FetchPayments",status:M.Bn.COMPLETED}})),{type:M.AB.SET_PAYMENTS_CLN,payload:n||[]})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchPayments",M.m6.NO_SPINNER,"Fetching Payments Failed.",n),(0,g.of)({type:M.pg.VOID}))))),this.fetchOfferInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.FETCH_OFFER_INVOICE_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:M.m6.FETCH_INVOICE})),this.store.dispatch((0,L.Ni)({payload:{action:"FetchOfferInvoice",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.OFFERS_API+"/fetchOfferInvoice",n.payload).pipe((0,C.U)(b=>{this.logger.info(b),setTimeout(()=>{this.store.dispatch((0,L.Ni)({payload:{action:"FetchOfferInvoice",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.FETCH_INVOICE})),this.store.dispatch((0,L.VD)({payload:b||{}}))},500)}),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchOfferInvoice",M.m6.FETCH_INVOICE,"Offer Invoice Fetch Failed",b),(0,g.of)({type:M.pg.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.SET_OFFER_INVOICE_CLN),(0,C.U)(n=>(this.logger.info(n.payload),n.payload))),{dispatch:!1}),this.sendPaymentCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.SEND_PAYMENT_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:n.payload.uiMessage})),this.store.dispatch((0,L.Ni)({payload:{action:"SendPayment",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.PAYMENTS_API,n.payload).pipe((0,C.U)(b=>{this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"SendPayment",status:M.Bn.COMPLETED}}));let B="Payment Sent Successfully!";b.saveToDBError&&(B="Payment Sent Successfully but Offer Saving to Database Failed."),b.saveToDBResponse&&"NA"!==b.saveToDBResponse&&(this.store.dispatch((0,L.e9)({payload:b.saveToDBResponse})),B="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,L.UR)()),this.store.dispatch((0,L.EG)()),this.store.dispatch((0,L.cQ)()),this.store.dispatch((0,w.uO)({payload:n.payload.uiMessage})),this.store.dispatch((0,w.jW)({payload:B})),this.store.dispatch((0,L.TM)({payload:b.paymentResponse}))},1e3)}),(0,u.K)(b=>(this.logger.error("Error: "+JSON.stringify(b)),n.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",n.payload.uiMessage,"Send Payment Failed.",b):this.handleErrorWithAlert("SendPayment",n.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+M.vv.PAYMENTS_API,b),(0,g.of)({type:M.pg.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.GET_QUERY_ROUTES_CLN),(0,A.z)(n=>(this.store.dispatch((0,L.Ni)({payload:{action:"GetQueryRoutes",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/getRoute/"+n.payload.destPubkey+"/"+n.payload.amount).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"GetQueryRoutes",status:M.Bn.COMPLETED}})),{type:M.AB.SET_QUERY_ROUTES_CLN,payload:b})),(0,u.K)(b=>(this.store.dispatch((0,L.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",M.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+M.vv.NETWORK_API+"/getRoute/"+n.payload.destPubkey+"/"+n.payload.amount,b),(0,g.of)({type:M.pg.VOID})))))))),this.setQueryRoutesCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.SET_QUERY_ROUTES_CLN),(0,C.U)(n=>n.payload)),{dispatch:!1}),this.peerLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.PEER_LOOKUP_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:M.m6.SEARCHING_NODE})),this.store.dispatch((0,L.Ni)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/listNode/"+n.payload).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.SEARCHING_NODE})),{type:M.AB.SET_LOOKUP_CLN,payload:b})),(0,u.K)(b=>(this.handleErrorWithAlert("Lookup",M.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+M.vv.NETWORK_API+"/listNode/"+n.payload,b),(0,g.of)({type:M.pg.VOID})))))))),this.channelLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.CHANNEL_LOOKUP_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:n.payload.uiMessage})),this.store.dispatch((0,L.Ni)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.NETWORK_API+"/listChannel/"+n.payload.shortChannelID).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:n.payload.uiMessage})),{type:M.AB.SET_LOOKUP_CLN,payload:b})),(0,u.K)(b=>(n.payload.showError?this.handleErrorWithAlert("Lookup",n.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+M.vv.NETWORK_API+"/listChannel/"+n.payload.shortChannelID,b):this.store.dispatch((0,w.uO)({payload:n.payload.uiMessage})),this.store.dispatch((0,L.v_)({payload:[]})),(0,g.of)({type:M.pg.VOID})))))))),this.invoiceLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.INVOICE_LOOKUP_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:M.m6.SEARCHING_INVOICE})),this.store.dispatch((0,L.Ni)({payload:{action:"Lookup",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.INVOICES_API+"?label="+n.payload).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"Lookup",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.SEARCHING_INVOICE})),b.invoices&&b.invoices.length&&b.invoices.length>0&&this.store.dispatch((0,L.aL)({payload:b.invoices[0]})),{type:M.AB.SET_LOOKUP_CLN,payload:b.invoices&&b.invoices.length&&b.invoices.length>0?b.invoices[0]:b})),(0,u.K)(b=>(this.handleErrorWithoutAlert("Lookup",M.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",b),this.store.dispatch((0,w.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,g.of)({type:M.pg.VOID})))))))),this.setLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.SET_LOOKUP_CLN),(0,C.U)(n=>(this.logger.info(n.payload),n.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.GET_FORWARDING_HISTORY_CLN),(0,A.z)(n=>{const b=n.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,L.Ni)({payload:{action:"FetchForwardingHistory"+b,status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_API+"/listForwards?status="+n.payload.status).pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,L.Ni)({payload:{action:"FetchForwardingHistory"+b,status:M.Bn.COMPLETED}})),n.payload.status===M.OO.FAILED?this.store.dispatch((0,L.QJ)({payload:{status:M.OO.FAILED,totalForwards:B.length,listForwards:B}})):n.payload.status===M.OO.LOCAL_FAILED?this.store.dispatch((0,L.QJ)({payload:{status:M.OO.LOCAL_FAILED,totalForwards:B.length,listForwards:B}})):n.payload.status===M.OO.SETTLED&&this.store.dispatch((0,L.QJ)({payload:{status:M.OO.SETTLED,totalForwards:B.length,listForwards:B}})),{type:M.pg.VOID})),(0,u.K)(B=>(this.handleErrorWithAlert("FetchForwardingHistory"+b,M.m6.NO_SPINNER,"Get "+n.payload.status+" Forwarding History Failed",this.CHILD_API_URL+M.vv.CHANNELS_API+"/listForwards?status="+n.payload.status,B),(0,g.of)({type:M.pg.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.DELETE_EXPIRED_INVOICE_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:M.m6.DELETE_INVOICE})),this.httpClient.delete(this.CHILD_API_URL+M.vv.INVOICES_API+(n.payload?"?maxexpiry="+n.payload:"")).pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,w.uO)({payload:M.m6.DELETE_INVOICE})),this.store.dispatch((0,w.jW)({payload:"Invoices Deleted Successfully!"})),{type:M.AB.FETCH_INVOICES_CLN,payload:{num_max_invoices:1e6,reversed:!0}})),(0,u.K)(B=>(this.handleErrorWithAlert("DeleteInvoices",M.m6.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+M.vv.INVOICES_API,B),(0,g.of)({type:M.pg.VOID})))))))),this.saveNewInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.SAVE_NEW_INVOICE_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:M.m6.ADD_INVOICE})),this.store.dispatch((0,L.Ni)({payload:{action:"SaveNewInvoice",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.INVOICES_API,{label:n.payload.label,amount:n.payload.amount,description:n.payload.description,expiry:n.payload.expiry,private:n.payload.private}).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"SaveNewInvoice",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.ADD_INVOICE})),b.msatoshi=n.payload.amount,b.label=n.payload.label,b.expires_at=Math.round((new Date).getTime()/1e3+n.payload.expiry),b.description=n.payload.description,b.status="unpaid",setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{invoice:b,newlyAdded:!0,component:d.y}}}))},200),{type:M.AB.ADD_INVOICE_CLN,payload:b})),(0,u.K)(b=>(this.handleErrorWithoutAlert("SaveNewInvoice",M.m6.ADD_INVOICE,"Add Invoice Failed.",b),(0,g.of)({type:M.pg.VOID})))))))),this.saveNewOfferCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.SAVE_NEW_OFFER_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:M.m6.CREATE_OFFER})),this.store.dispatch((0,L.Ni)({payload:{action:"SaveNewOffer",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.OFFERS_API,{amount:n.payload.amount,description:n.payload.description,vendor:n.payload.vendor}).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"SaveNewOffer",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{offer:b,newlyAdded:!0,component:P.k}}}))},100),{type:M.AB.ADD_OFFER_CLN,payload:b})),(0,u.K)(b=>(this.handleErrorWithoutAlert("SaveNewOffer",M.m6.CREATE_OFFER,"Create Offer Failed.",b),(0,g.of)({type:M.pg.VOID})))))))),this.invoicesFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.FETCH_INVOICES_CLN),(0,A.z)(n=>(this.store.dispatch((0,L.Ni)({payload:{action:"FetchInvoices",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.INVOICES_API+"?num_max_invoices="+(n.payload.num_max_invoices?n.payload.num_max_invoices:1e6)+"&index_offset="+(n.payload.index_offset?n.payload.index_offset:0)+"&reversed="+(!n.payload.reversed||n.payload.reversed)).pipe((0,C.U)(W=>(this.logger.info(W),this.store.dispatch((0,L.Ni)({payload:{action:"FetchInvoices",status:M.Bn.COMPLETED}})),{type:M.AB.SET_INVOICES_CLN,payload:W})),(0,u.K)(W=>(this.handleErrorWithoutAlert("FetchInvoices",M.m6.NO_SPINNER,"Fetching Invoices Failed.",W),(0,g.of)({type:M.pg.VOID})))))))),this.offersFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.FETCH_OFFERS_CLN),(0,A.z)(n=>(this.store.dispatch((0,L.Ni)({payload:{action:"FetchOffers",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.OFFERS_API).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"FetchOffers",status:M.Bn.COMPLETED}})),{type:M.AB.SET_OFFERS_CLN,payload:b.offers?b.offers:[]})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchOffers",M.m6.NO_SPINNER,"Fetching Offers Failed.",b),(0,g.of)({type:M.pg.VOID})))))))),this.offersDisableCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.DISABLE_OFFER_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:M.m6.DISABLE_OFFER})),this.store.dispatch((0,L.Ni)({payload:{action:"DisableOffer",status:M.Bn.INITIATED}})),this.httpClient.delete(this.CHILD_API_URL+M.vv.OFFERS_API+"/"+n.payload.offer_id).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"DisableOffer",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.DISABLE_OFFER})),this.store.dispatch((0,w.jW)({payload:"Offer Disabled Successfully!"})),{type:M.AB.UPDATE_OFFER_CLN,payload:{offer:b}})),(0,u.K)(b=>(this.handleErrorWithoutAlert("DisableOffer",M.m6.DISABLE_OFFER,"Disabling Offer Failed.",b),(0,g.of)({type:M.pg.VOID})))))))),this.offerBookmarksFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.FETCH_OFFER_BOOKMARKS_CLN),(0,A.z)(n=>(this.store.dispatch((0,L.Ni)({payload:{action:"FetchOfferBookmarks",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.OFFERS_API+"/offerbookmarks").pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"FetchOfferBookmarks",status:M.Bn.COMPLETED}})),{type:M.AB.SET_OFFER_BOOKMARKS_CLN,payload:b||[]})),(0,u.K)(b=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",M.m6.NO_SPINNER,"Fetching Offer Bookmarks Failed.",b),(0,g.of)({type:M.pg.VOID})))))))),this.peidOffersDeleteCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.DELETE_OFFER_BOOKMARK_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:M.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,L.Ni)({payload:{action:"DeleteOfferBookmark",status:M.Bn.INITIATED}})),this.httpClient.delete(this.CHILD_API_URL+M.vv.OFFERS_API+"/offerbookmark/"+n.payload.bolt12).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"DeleteOfferBookmark",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,w.jW)({payload:"Offer Bookmark Deleted Successfully!"})),{type:M.AB.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:n.payload.bolt12}})),(0,u.K)(b=>(this.handleErrorWithAlert("DeleteOfferBookmark",M.m6.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+M.vv.OFFERS_API+"/offerbookmark/"+n.payload.bolt12,b),(0,g.of)({type:M.pg.VOID})))))))),this.SetChannelTransactionCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.SET_CHANNEL_TRANSACTION_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:M.m6.SEND_FUNDS})),this.store.dispatch((0,L.Ni)({payload:{action:"SetChannelTransaction",status:M.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+M.vv.ON_CHAIN_API,n.payload).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"SetChannelTransaction",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.SEND_FUNDS})),this.store.dispatch((0,L.EG)()),this.store.dispatch((0,L.Ly)()),{type:M.AB.SET_CHANNEL_TRANSACTION_RES_CLN,payload:b})),(0,u.K)(b=>(this.handleErrorWithoutAlert("SetChannelTransaction",M.m6.SEND_FUNDS,"Sending Fund Failed.",b),(0,g.of)({type:M.pg.VOID})))))))),this.utxosFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.FETCH_UTXOS_CLN),(0,A.z)(()=>(this.store.dispatch((0,L.Ni)({payload:{action:"FetchUTXOs",status:M.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+M.vv.ON_CHAIN_API+"/utxos"))),(0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,L.Ni)({payload:{action:"FetchUTXOs",status:M.Bn.COMPLETED}})),{type:M.AB.SET_UTXOS_CLN,payload:n.outputs||[]})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchUTXOs",M.m6.NO_SPINNER,"Fetching UTXOs Failed.",n),(0,g.of)({type:M.pg.VOID}))))),this.pageSettingsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.FETCH_PAGE_SETTINGS_CLN),(0,A.z)(()=>(this.store.dispatch((0,L.Ni)({payload:{action:"FetchPageSettings",status:M.Bn.INITIATED}})),this.httpClient.get(M.vv.PAGE_SETTINGS_API).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,L.Ni)({payload:{action:"FetchPageSettings",status:M.Bn.COMPLETED}})),{type:M.AB.SET_PAGE_SETTINGS_CLN,payload:n||[]})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchPageSettings",M.m6.NO_SPINNER,"Fetching Page Settings Failed.",n),(0,g.of)({type:M.pg.VOID})))))))),this.savePageSettingsCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(M.AB.SAVE_PAGE_SETTINGS_CLN),(0,A.z)(n=>(this.store.dispatch((0,w.ac)({payload:M.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,L.Ni)({payload:{action:"SavePageSettings",status:M.Bn.INITIATED}})),this.httpClient.post(M.vv.PAGE_SETTINGS_API,n.payload).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.Ni)({payload:{action:"SavePageSettings",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,w.jW)({payload:"Page Layout Updated Successfully!"})),{type:M.AB.SET_PAGE_SETTINGS_CLN,payload:b||[]})),(0,u.K)(b=>(this.handleErrorWithAlert("SavePageSettings",M.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",M.vv.PAGE_SETTINGS_API,b),(0,g.of)({type:M.pg.VOID})))))))),this.store.select(I.yA).pipe((0,o.R)(this.unSubs[0])).subscribe(n=>{n.FetchInfo.status!==M.Bn.COMPLETED&&n.FetchInfo.status!==M.Bn.ERROR||n.FetchFees.status!==M.Bn.COMPLETED&&n.FetchFees.status!==M.Bn.ERROR||n.FetchChannels.status!==M.Bn.COMPLETED&&n.FetchChannels.status!==M.Bn.ERROR||n.FetchBalance.status!==M.Bn.COMPLETED&&n.FetchBalance.status!==M.Bn.ERROR||n.FetchLocalRemoteBalance.status!==M.Bn.COMPLETED&&n.FetchLocalRemoteBalance.status!==M.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,w.uO)({payload:M.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,o.R)(this.unSubs[1])).subscribe(n=>{if(this.logger.info("Received new message from the service: "+JSON.stringify(n)),n)switch(n.event){case M.nM.INVOICE:this.logger.info(n),n&&n.data&&n.data.label&&this.store.dispatch((0,L.aL)({payload:n.data}));break;case M.nM.SEND_PAYMENT:case M.nM.BLOCK_HEIGHT:this.logger.info(n);break;default:this.logger.info("Received Event from WS: "+JSON.stringify(n))}})}initializeRemainingData(E,i){this.sessionService.setItem("clUnlocked","true");const r={identity_pubkey:E.id,alias:E.alias,testnet:"testnet"===E.network.toLowerCase(),chains:E.chains,uris:E.uris,version:E.version,api_version:E.api_version,numberOfPendingChannels:E.num_pending_channels};this.store.dispatch((0,w.ac)({payload:M.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,w._V)({payload:r}));let h=this.location.path();h.includes("/lnd/")?h=h?.replace("/lnd/","/cln/"):h.includes("/ecl/")&&(h=h?.replace("/ecl/","/cln/")),(h.includes("/login")||h.includes("/error")||""===h||"HOME"===i||h.includes("?access-key="))&&(h="/cln/home"),this.router.navigate([h]),this.store.dispatch((0,L.wD)()),this.store.dispatch((0,L.WM)({payload:{num_max_invoices:1e6,index_offset:0,reversed:!0}})),this.store.dispatch((0,L.SN)()),this.store.dispatch((0,L.UR)()),this.store.dispatch((0,L.EG)()),this.store.dispatch((0,L.g3)()),this.store.dispatch((0,L.HJ)({payload:"perkw"})),this.store.dispatch((0,L.HJ)({payload:"perkb"})),this.store.dispatch((0,L.$W)()),this.store.dispatch((0,L.Ly)()),this.store.dispatch((0,L.cQ)())}handleErrorWithoutAlert(E,i,r,h){if(this.logger.error("ERROR IN: "+E+"\n"+JSON.stringify(h)),401===h.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.ts)()),this.store.dispatch((0,w.kS)()),this.store.dispatch((0,w.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,w.uO)({payload:i}));const c=this.commonService.extractErrorMessage(h,r);this.store.dispatch((0,L.Ni)({payload:{action:E,status:M.Bn.ERROR,statusCode:h.status.toString(),message:c}}))}}handleErrorWithAlert(E,i,r,h,c){if(this.logger.error(c),401===c.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.ts)()),this.store.dispatch((0,w.kS)()),this.store.dispatch((0,w.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,w.uO)({payload:i}));const y=this.commonService.extractErrorMessage(c);this.store.dispatch((0,w.qR)({payload:{data:{type:"ERROR",alertTitle:r,message:{code:c.status,message:y,URL:h},component:O.H}}})),this.store.dispatch((0,L.Ni)({payload:{action:E,status:M.Bn.ERROR,statusCode:c.status.toString(),message:y,URL:h}}))}}ngOnDestroy(){this.unSubs.forEach(E=>{E.next(null),E.complete()})}}return se.\u0275fac=function(E){return new(E||se)(U.LFG(t.eX),U.LFG(Z.eN),U.LFG(Y.yh),U.LFG(j.m),U.LFG(X.v),U.LFG(ee.mQ),U.LFG(ue.F0),U.LFG(le.d),U.LFG(ie.Ye))},se.\u0275prov=U.Yz7({token:se,factory:se.\u0275fac}),se})()},9828:(Ge,Q,m)=>{"use strict";m.d(Q,{AS:()=>A,Ao:()=>ie,Bo:()=>j,EQ:()=>he,Hz:()=>ce,JG:()=>M,OL:()=>ue,PP:()=>O,Rn:()=>Z,T4:()=>P,Wi:()=>d,Wj:()=>Y,Y_:()=>se,ZW:()=>U,ey:()=>o,gc:()=>I,hx:()=>L,jK:()=>le,lK:()=>ee,lw:()=>g,xQ:()=>X,yA:()=>u,zm:()=>w});var t=m(9653);const e=(0,t.ZF)("cln"),g=(0,t.P1)(e,i=>i.nodeSettings),A=(0,t.P1)(e,i=>({pageSettings:i.pageSettings,apiCallStatus:i.apisCallStatus.FetchPageSettings})),o=(0,t.P1)(e,i=>i.information),u=((0,t.P1)(e,i=>i.apisCallStatus.FetchInfo),(0,t.P1)(e,i=>i.apisCallStatus)),O=(0,t.P1)(e,i=>({payments:i.payments,apiCallStatus:i.apisCallStatus.FetchPayments})),d=(0,t.P1)(e,i=>({peers:i.peers,apiCallStatus:i.apisCallStatus.FetchPeers})),M=(0,t.P1)(e,i=>({fees:i.fees,apiCallStatus:i.apisCallStatus.FetchFees})),w=(0,t.P1)(e,i=>({feeRatesPerKB:i.feeRatesPerKB,apiCallStatus:i.apisCallStatus.FetchFeeRatesperkb})),L=(0,t.P1)(e,i=>({feeRatesPerKW:i.feeRatesPerKW,apiCallStatus:i.apisCallStatus.FetchFeeRatesperkw})),I=(0,t.P1)(e,i=>({listInvoices:i.invoices,apiCallStatus:i.apisCallStatus.FetchInvoices})),P=(0,t.P1)(e,i=>({utxos:i.utxos,apiCallStatus:i.apisCallStatus.FetchUTXOs})),U=(0,t.P1)(e,i=>({activeChannels:i.activeChannels,pendingChannels:i.pendingChannels,inactiveChannels:i.inactiveChannels,apiCallStatus:i.apisCallStatus.FetchChannels})),Z=(0,t.P1)(e,i=>({balance:i.balance,apiCallStatus:i.apisCallStatus.FetchBalance})),Y=(0,t.P1)(e,i=>({localRemoteBalance:i.localRemoteBalance,apiCallStatus:i.apisCallStatus.FetchLocalRemoteBalance})),j=(0,t.P1)(e,i=>({forwardingHistory:i.forwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryS})),X=(0,t.P1)(e,i=>({failedForwardingHistory:i.failedForwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryF})),ee=(0,t.P1)(e,i=>({localFailedForwardingHistory:i.localFailedForwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryL})),ue=(0,t.P1)(e,i=>({information:i.information,nodeSettings:i.nodeSettings,balance:i.balance})),le=(0,t.P1)(e,i=>({information:i.information,balance:i.balance,numPeers:i.peers.length})),ie=(0,t.P1)(e,i=>({information:i.information,balance:i.balance})),ce=(0,t.P1)(e,i=>({information:i.information,nodeSettings:i.nodeSettings,apisCallStatus:[i.apisCallStatus.FetchInfo,i.apisCallStatus.FetchForwardingHistoryS]})),se=(0,t.P1)(e,i=>({offers:i.offers,apiCallStatus:i.apisCallStatus.FetchOffers})),he=(0,t.P1)(e,i=>({offersBookmarks:i.offersBookmarks,apiCallStatus:i.apisCallStatus.FetchOfferBookmarks}))},5566:(Ge,Q,m)=>{"use strict";m.d(Q,{y:()=>Ae});var t=m(7274),e=m(2687),g=m(7579),A=m(2722),o=m(7731),C=m(9828),u=m(4650),O=m(5043),d=m(62),M=m(7009),w=m(9653),L=m(6895),I=m(2216),P=m(1576),U=m(5829),Z=m(4859),Y=m(3546),j=m(4850),X=m(1572),ee=m(266),ue=m(658),le=m(5199),ie=m(3390);function ce(oe,ye){if(1&oe&&u._UZ(0,"qr-code",33),2&oe){const me=u.oxw();u.Q6J("value",(null==me.invoice?null:me.invoice.bolt11)||(null==me.invoice?null:me.invoice.bolt12))("size",me.qrWidth)("errorCorrectionLevel","L")}}function se(oe,ye){1&oe&&(u.TgZ(0,"span",34),u._uU(1,"N/A"),u.qZA())}const he=function(oe){return{"mr-0":oe}};function E(oe,ye){if(1&oe&&u._UZ(0,"span",35),2&oe){const me=u.oxw();u.Q6J("ngClass",u.VKq(1,he,me.screenSize===me.screenSizeEnum.XS))}}function i(oe,ye){if(1&oe&&u._UZ(0,"span",36),2&oe){const me=u.oxw();u.Q6J("ngClass",u.VKq(1,he,me.screenSize===me.screenSizeEnum.XS))}}function r(oe,ye){if(1&oe&&u._UZ(0,"span",37),2&oe){const me=u.oxw();u.Q6J("ngClass",u.VKq(1,he,me.screenSize===me.screenSizeEnum.XS))}}function h(oe,ye){if(1&oe&&u._UZ(0,"qr-code",33),2&oe){const me=u.oxw();u.Q6J("value",(null==me.invoice?null:me.invoice.bolt11)||(null==me.invoice?null:me.invoice.bolt12))("size",me.qrWidth)("errorCorrectionLevel","L")}}function c(oe,ye){1&oe&&(u.TgZ(0,"span",38),u._uU(1,"QR Code Not Applicable"),u.qZA())}function y(oe,ye){1&oe&&u._UZ(0,"mat-divider",39)}function S(oe,ye){if(1&oe&&(u.TgZ(0,"div",19)(1,"div",40),u._UZ(2,"fa-icon",41),u.TgZ(3,"span"),u._uU(4),u.qZA()()()),2&oe){const me=u.oxw();u.xp6(2),u.Q6J("icon",me.faExclamationTriangle),u.xp6(2),u.Oqu(null==me.invoice?null:me.invoice.warning_capacity)}}function k(oe,ye){1&oe&&(u.ynx(0),u._uU(1," (zero amount) "),u.BQk())}function v(oe,ye){1&oe&&u._UZ(0,"span",47)}const n=function(){return[]};function b(oe,ye){if(1&oe&&(u.TgZ(0,"div",43)(1,"div",44)(2,"span",45),u._uU(3),u.ALo(4,"number"),u.qZA(),u.YNc(5,v,1,0,"span",46),u.qZA()()),2&oe){const me=u.oxw(2);u.xp6(3),u.hij("",u.lcZ(4,2,(null==me.invoice?null:me.invoice.msatoshi_received)/1e3)," Sats"),u.xp6(2),u.Q6J("ngForOf",u.DdM(4,n).constructor(35))}}function B(oe,ye){if(1&oe&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"number"),u.qZA()),2&oe){const me=u.oxw(2);u.xp6(1),u.hij("",u.lcZ(2,1,(null==me.invoice?null:me.invoice.msatoshi_received)/1e3)," Sats")}}function z(oe,ye){if(1&oe&&(u.ynx(0),u.YNc(1,b,6,5,"div",42),u.YNc(2,B,3,3,"div",23),u.BQk()),2&oe){const me=u.oxw();u.xp6(1),u.Q6J("ngIf",me.flgInvoicePaid),u.xp6(1),u.Q6J("ngIf",!me.flgInvoicePaid)}}function W(oe,ye){1&oe&&(u.TgZ(0,"span"),u._uU(1,"-"),u.qZA())}function Oe(oe,ye){1&oe&&u._UZ(0,"mat-spinner",49),2&oe&&u.Q6J("diameter",20)}function it(oe,ye){if(1&oe&&(u.ynx(0),u.YNc(1,W,2,0,"span",23),u.YNc(2,Oe,1,1,"mat-spinner",48),u.BQk()),2&oe){const me=u.oxw();u.xp6(1),u.Q6J("ngIf","unpaid"!==(null==me.invoice?null:me.invoice.status)||!me.flgVersionCompatible),u.xp6(1),u.Q6J("ngIf","unpaid"===(null==me.invoice?null:me.invoice.status)&&me.flgVersionCompatible)}}function Ne(oe,ye){if(1&oe&&(u.TgZ(0,"div"),u._UZ(1,"mat-divider",25),u.TgZ(2,"div",19)(3,"div",26)(4,"h4",21),u._uU(5,"Payment Hash"),u.qZA(),u.TgZ(6,"span",24),u._uU(7),u.qZA()()(),u._UZ(8,"mat-divider",25),u.TgZ(9,"div",19)(10,"div",26)(11,"h4",21),u._uU(12,"Label"),u.qZA(),u.TgZ(13,"span",24),u._uU(14),u.qZA()()(),u._UZ(15,"mat-divider",25),u.qZA()),2&oe){const me=u.oxw();u.xp6(7),u.Oqu(null==me.invoice?null:me.invoice.payment_hash),u.xp6(7),u.Oqu(null==me.invoice?null:me.invoice.label)}}function ot(oe,ye){1&oe&&(u.TgZ(0,"p"),u._uU(1,"Show Advanced"),u.qZA())}function Ie(oe,ye){1&oe&&(u.TgZ(0,"p"),u._uU(1,"Hide Advanced"),u.qZA())}function ve(oe,ye){if(1&oe){const me=u.EpF();u.TgZ(0,"button",50),u.NdJ("copied",function(Ze){u.CHM(me);const q=u.oxw();return u.KtG(q.onCopyPayment(Ze))}),u._uU(1,"Copy Invoice"),u.qZA()}if(2&oe){const me=u.oxw();u.Q6J("payload",(null==me.invoice?null:me.invoice.bolt11)||(null==me.invoice?null:me.invoice.bolt12))}}function fe(oe,ye){if(1&oe){const me=u.EpF();u.TgZ(0,"button",51),u.NdJ("click",function(){u.CHM(me);const Ze=u.oxw();return u.KtG(Ze.onClose())}),u._uU(1,"OK"),u.qZA()}}const Se=function(oe){return{"display-none":oe}},te=function(oe){return{"xs-scroll-y":oe}},Ke=function(oe,ye){return{"mt-2":oe,"mt-1":ye}};let Ae=(()=>{class oe{constructor(me,Me,Ze,q,de,xe){this.dialogRef=me,this.data=Me,this.logger=Ze,this.commonService=q,this.snackBar=de,this.store=xe,this.faReceipt=e.dLy,this.faExclamationTriangle=e.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=o.cu,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new g.x,new g.x,new g.x,new g.x,new g.x]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===o.cu.XS&&(this.qrWidth=220),this.store.select(C.ey).pipe((0,A.R)(this.unSubs[0])).subscribe(me=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(me.api_version,"0.6.0")}),this.store.select(C.gc).pipe((0,A.R)(this.unSubs[1])).subscribe(me=>{const Me=this.invoice.status,q=(me.listInvoices.invoices||[])?.find(de=>de.payment_hash===this.invoice.payment_hash)||null;q&&(this.invoice=q),Me!==this.invoice.status&&"paid"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(me)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(me){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+me)}ngOnDestroy(){this.unSubs.forEach(me=>{me.next(null),me.complete()})}}return oe.\u0275fac=function(me){return new(me||oe)(u.Y36(t.so),u.Y36(t.WI),u.Y36(O.mQ),u.Y36(d.v),u.Y36(M.ux),u.Y36(w.yh))},oe.\u0275cmp=u.Xpm({type:oe,selectors:[["rtl-cln-invoice-information"]],decls:72,vars:49,consts:[["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"],["hideAdvancedText",""],["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,"payload","copied"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(me,Me){if(1&me&&(u.TgZ(0,"div",0)(1,"div",1),u.YNc(2,ce,1,3,"qr-code",2),u.YNc(3,se,2,0,"span",3),u.qZA(),u.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),u._UZ(7,"fa-icon",7),u.TgZ(8,"span",8),u._uU(9),u.YNc(10,E,1,3,"span",9),u.YNc(11,i,1,3,"span",10),u.YNc(12,r,1,3,"span",11),u.qZA()(),u.TgZ(13,"button",12),u.NdJ("click",function(){return Me.onClose()}),u._uU(14,"X"),u.qZA()(),u.TgZ(15,"mat-card-content",13)(16,"div",14)(17,"div",15),u.YNc(18,h,1,3,"qr-code",2),u.YNc(19,c,2,0,"span",16),u.qZA(),u.YNc(20,y,1,0,"mat-divider",17),u.YNc(21,S,5,2,"div",18),u.TgZ(22,"div",19)(23,"div",20)(24,"h4",21),u._uU(25),u.qZA(),u.TgZ(26,"span",22),u._uU(27),u.ALo(28,"number"),u.YNc(29,k,2,0,"ng-container",23),u.qZA()(),u.TgZ(30,"div",20)(31,"h4",21),u._uU(32,"Amount Received"),u.qZA(),u.TgZ(33,"span",24),u.YNc(34,z,3,2,"ng-container",23),u.YNc(35,it,3,2,"ng-container",23),u.qZA()()(),u._UZ(36,"mat-divider",25),u.TgZ(37,"div",19)(38,"div",20)(39,"h4",21),u._uU(40,"Date Expiry"),u.qZA(),u.TgZ(41,"span",22),u._uU(42),u.ALo(43,"date"),u.qZA()(),u.TgZ(44,"div",20)(45,"h4",21),u._uU(46,"Date Settled"),u.qZA(),u.TgZ(47,"span",22),u._uU(48),u.ALo(49,"date"),u.qZA()()(),u._UZ(50,"mat-divider",25),u.TgZ(51,"div",19)(52,"div",26)(53,"h4",21),u._uU(54,"Description"),u.qZA(),u.TgZ(55,"span",22),u._uU(56),u.qZA()()(),u._UZ(57,"mat-divider",25),u.TgZ(58,"div",19)(59,"div",26)(60,"h4",21),u._uU(61),u.qZA(),u.TgZ(62,"span",24),u._uU(63),u.qZA()()(),u.YNc(64,Ne,16,2,"div",23),u.TgZ(65,"div",27)(66,"button",28),u.NdJ("click",function(){return Me.onShowAdvanced()}),u.YNc(67,ot,2,0,"p",29),u.YNc(68,Ie,2,0,"ng-template",null,30,u.W1O),u.qZA(),u.YNc(70,ve,2,1,"button",31),u.YNc(71,fe,2,0,"button",32),u.qZA()()()()()),2&me){const Ze=u.MAs(69);u.xp6(1),u.Q6J("fxLayoutAlign",null!=Me.invoice&&Me.invoice.bolt11&&""!==(null==Me.invoice?null:Me.invoice.bolt11)||null!=Me.invoice&&Me.invoice.bolt12&&""!==(null==Me.invoice?null:Me.invoice.bolt12)?"center start":"center center")("ngClass",u.VKq(40,Se,Me.screenSize===Me.screenSizeEnum.XS||Me.screenSize===Me.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==Me.invoice?null:Me.invoice.bolt11)&&""!==(null==Me.invoice?null:Me.invoice.bolt11)||(null==Me.invoice?null:Me.invoice.bolt12)&&""!==(null==Me.invoice?null:Me.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",!(null!=Me.invoice&&Me.invoice.bolt11||null!=Me.invoice&&Me.invoice.bolt12)),u.xp6(4),u.Q6J("icon",Me.faReceipt),u.xp6(2),u.hij(" ",Me.screenSize===Me.screenSizeEnum.XS?Me.newlyAdded?"Created":"Invoice":Me.newlyAdded?"Invoice Created":"Invoice Information"," "),u.xp6(1),u.Q6J("ngIf","paid"===(null==Me.invoice?null:Me.invoice.status)),u.xp6(1),u.Q6J("ngIf","unpaid"===(null==Me.invoice?null:Me.invoice.status)),u.xp6(1),u.Q6J("ngIf","expired"===(null==Me.invoice?null:Me.invoice.status)),u.xp6(3),u.Q6J("ngClass",u.VKq(42,te,Me.screenSize===Me.screenSizeEnum.XS)),u.xp6(2),u.Q6J("fxLayoutAlign",null!=Me.invoice&&Me.invoice.bolt11&&""!==(null==Me.invoice?null:Me.invoice.bolt11)||null!=Me.invoice&&Me.invoice.bolt12&&""!==(null==Me.invoice?null:Me.invoice.bolt12)?"center start":"center center")("ngClass",u.VKq(44,Se,Me.screenSize!==Me.screenSizeEnum.XS&&Me.screenSize!==Me.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==Me.invoice?null:Me.invoice.bolt11)&&""!==(null==Me.invoice?null:Me.invoice.bolt11)||(null==Me.invoice?null:Me.invoice.bolt12)&&""!==(null==Me.invoice?null:Me.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",!(null!=Me.invoice&&Me.invoice.bolt11||null!=Me.invoice&&Me.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",Me.screenSize===Me.screenSizeEnum.XS||Me.screenSize===Me.screenSizeEnum.SM),u.xp6(1),u.Q6J("ngIf",null==Me.invoice?null:Me.invoice.warning_capacity),u.xp6(4),u.Oqu(Me.screenSize===Me.screenSizeEnum.XS?"Amount":"Amount Requested"),u.xp6(2),u.hij(" ",u.lcZ(28,32,(null==Me.invoice?null:Me.invoice.msatoshi)/1e3||0)," Sats"),u.xp6(2),u.Q6J("ngIf",!(null!=Me.invoice&&Me.invoice.msatoshi)||"0"===(null==Me.invoice?null:Me.invoice.msatoshi)),u.xp6(5),u.Q6J("ngIf","paid"===(null==Me.invoice?null:Me.invoice.status)),u.xp6(1),u.Q6J("ngIf","paid"!==(null==Me.invoice?null:Me.invoice.status)),u.xp6(7),u.Oqu(u.xi3(43,34,1e3*(null==Me.invoice?null:Me.invoice.expires_at),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(u.xi3(49,37,1e3*(null==Me.invoice?null:Me.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),u.xp6(8),u.Oqu((null==Me.invoice?null:Me.invoice.description)||"-"),u.xp6(5),u.hij("",null!=Me.invoice&&Me.invoice.bolt12?"Bolt12":null!=Me.invoice&&Me.invoice.bolt11&&!Me.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),u.xp6(2),u.Oqu((null==Me.invoice?null:Me.invoice.bolt11)||(null==Me.invoice?null:Me.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",Me.showAdvanced),u.xp6(1),u.Q6J("ngClass",u.WLB(46,Ke,!Me.showAdvanced,Me.showAdvanced)),u.xp6(2),u.Q6J("ngIf",!Me.showAdvanced)("ngIfElse",Ze),u.xp6(3),u.Q6J("ngIf",(null==Me.invoice?null:Me.invoice.bolt11)&&""!==(null==Me.invoice?null:Me.invoice.bolt11)||(null==Me.invoice?null:Me.invoice.bolt12)&&""!==(null==Me.invoice?null:Me.invoice.bolt12)),u.xp6(1),u.Q6J("ngIf",!(null!=Me.invoice&&Me.invoice.bolt11||null!=Me.invoice&&Me.invoice.bolt12))}},dependencies:[L.mk,L.sg,L.O5,I.BN,P.xw,P.Wh,P.yH,U.oO,Z.lW,Y.dn,Y.dk,j.d,X.Ou,ee.gM,ue.uU,le.y,ie.h,L.JJ,L.uU]}),oe})()},1462:(Ge,Q,m)=>{"use strict";m.d(Q,{k:()=>z});var t=m(7274),e=m(2687),g=m(7579),A=m(2722),o=m(7731),C=m(4650),u=m(5043),O=m(62),d=m(7009),M=m(9653),w=m(8104),L=m(6895),I=m(2216),P=m(1576),U=m(5829),Z=m(4859),Y=m(3546),j=m(4850),X=m(658),ee=m(5199),ue=m(3390);function le(W,Oe){if(1&W&&C._UZ(0,"qr-code",28),2&W){const it=C.oxw();C.Q6J("value",null==it.offer?null:it.offer.bolt12)("size",it.qrWidth)("errorCorrectionLevel","L")}}function ie(W,Oe){1&W&&(C.TgZ(0,"span",29),C._uU(1,"N/A"),C.qZA())}function ce(W,Oe){if(1&W&&C._UZ(0,"qr-code",28),2&W){const it=C.oxw();C.Q6J("value",null==it.offer?null:it.offer.bolt12)("size",it.qrWidth)("errorCorrectionLevel","L")}}function se(W,Oe){1&W&&(C.TgZ(0,"span",30),C._uU(1,"QR Code Not Applicable"),C.qZA())}function he(W,Oe){1&W&&C._UZ(0,"mat-divider",31),2&W&&C.Q6J("inset",!0)}function E(W,Oe){1&W&&C._UZ(0,"mat-divider",19)}function i(W,Oe){if(1&W&&(C.TgZ(0,"div",15)(1,"div",16)(2,"h4",17),C._uU(3,"Used"),C.qZA(),C.TgZ(4,"span",18),C._uU(5),C.qZA()(),C.TgZ(6,"div",16)(7,"h4",17),C._uU(8,"Single Use"),C.qZA(),C.TgZ(9,"span",18),C._uU(10),C.qZA()()()),2&W){const it=C.oxw(2);C.xp6(5),C.hij(" ",null!=it.offer&&it.offer.used?null!=it.offer&&it.offer.used?"Yes":"No":"N/K"," "),C.xp6(5),C.hij(" ",null!=it.offer&&it.offer.single_use?null!=it.offer&&it.offer.single_use?"Yes":"No":"N/K"," ")}}function r(W,Oe){1&W&&C._UZ(0,"mat-divider",19)}function h(W,Oe){if(1&W&&(C.TgZ(0,"div",15)(1,"div",20)(2,"h4",17),C._uU(3,"Vendor"),C.qZA(),C.TgZ(4,"span",34),C._uU(5),C.qZA()()()),2&W){const it=C.oxw(2);C.xp6(5),C.Oqu((null==it.offerDecoded?null:it.offerDecoded.vendor)||(null==it.offerDecoded?null:it.offerDecoded.issuer))}}function c(W,Oe){if(1&W&&(C.TgZ(0,"div"),C.YNc(1,E,1,0,"mat-divider",32),C.YNc(2,i,11,2,"div",33),C.YNc(3,r,1,0,"mat-divider",32),C.YNc(4,h,6,1,"div",33),C._UZ(5,"mat-divider",19),C.TgZ(6,"div",15)(7,"div",20)(8,"h4",17),C._uU(9,"Offer ID"),C.qZA(),C.TgZ(10,"span",18),C._uU(11),C.qZA()()(),C._UZ(12,"mat-divider",19),C.qZA()),2&W){const it=C.oxw();C.xp6(1),C.Q6J("ngIf",(null==it.offer?null:it.offer.used)||(null==it.offer?null:it.offer.single_use)),C.xp6(1),C.Q6J("ngIf",(null==it.offer?null:it.offer.used)||(null==it.offer?null:it.offer.single_use)),C.xp6(1),C.Q6J("ngIf",(null==it.offerDecoded?null:it.offerDecoded.vendor)||(null==it.offerDecoded?null:it.offerDecoded.issuer)),C.xp6(1),C.Q6J("ngIf",(null==it.offerDecoded?null:it.offerDecoded.vendor)||(null==it.offerDecoded?null:it.offerDecoded.issuer)),C.xp6(7),C.Oqu(it.offerDecoded.offer_id)}}function y(W,Oe){1&W&&(C.TgZ(0,"p"),C._uU(1,"Show Advanced"),C.qZA())}function S(W,Oe){1&W&&(C.TgZ(0,"p"),C._uU(1,"Hide Advanced"),C.qZA())}function k(W,Oe){if(1&W){const it=C.EpF();C.TgZ(0,"button",35),C.NdJ("copied",function(ot){C.CHM(it);const Ie=C.oxw();return C.KtG(Ie.onCopyOffer(ot))}),C._uU(1,"Copy Offer"),C.qZA()}if(2&W){const it=C.oxw();C.Q6J("payload",null==it.offer?null:it.offer.bolt12)}}function v(W,Oe){if(1&W){const it=C.EpF();C.TgZ(0,"button",36),C.NdJ("click",function(){C.CHM(it);const ot=C.oxw();return C.KtG(ot.onClose())}),C._uU(1,"OK"),C.qZA()}}const n=function(W){return{"display-none":W}},b=function(W){return{"xs-scroll-y":W}},B=function(W,Oe){return{"mt-2":W,"mt-1":Oe}};let z=(()=>{class W{constructor(it,Ne,ot,Ie,ve,fe,Se){this.dialogRef=it,this.data=Ne,this.logger=ot,this.commonService=Ie,this.snackBar=ve,this.store=fe,this.dataService=Se,this.faReceipt=e.dLy,this.faExclamationTriangle=e.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=o.cu,this.flgOfferPaid=!1,this.unSubs=[new g.x,new g.x,new g.x,new g.x,new g.x]}ngOnInit(){this.offer=this.data.offer,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===o.cu.XS&&(this.qrWidth=220),this.dataService.decodePayment(this.offer.bolt12,!0).pipe((0,A.R)(this.unSubs[1])).subscribe(it=>{var Ne;this.offerDecoded=it,this.offerDecoded.offer_id&&!this.offerDecoded.amount_msat?(this.offerDecoded.amount_msat="0msat",this.offerDecoded.amount=0):this.offerDecoded.amount=this.offerDecoded.amount?+this.offerDecoded.amount:this.offerDecoded.amount_msat?+(null===(Ne=this.offerDecoded.amount_msat)||void 0===Ne?void 0:Ne.slice(0,-4)):null})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyOffer(it){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+it)}ngOnDestroy(){this.unSubs.forEach(it=>{it.next(null),it.complete()})}}return W.\u0275fac=function(it){return new(it||W)(C.Y36(t.so),C.Y36(t.WI),C.Y36(u.mQ),C.Y36(O.v),C.Y36(d.ux),C.Y36(M.yh),C.Y36(w.D))},W.\u0275cmp=C.Xpm({type:W,selectors:[["rtl-cln-offer-information"]],decls:52,vars:33,consts:[["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"],["hideAdvancedText",""],["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,"payload","copied"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(it,Ne){if(1&it&&(C.TgZ(0,"div",0)(1,"div",1),C.YNc(2,le,1,3,"qr-code",2),C.YNc(3,ie,2,0,"span",3),C.qZA(),C.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),C._UZ(7,"fa-icon",7),C.TgZ(8,"span",8),C._uU(9),C.qZA()(),C.TgZ(10,"button",9),C.NdJ("click",function(){return Ne.onClose()}),C._uU(11,"X"),C.qZA()(),C.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),C.YNc(15,ce,1,3,"qr-code",2),C.YNc(16,se,2,0,"span",13),C.qZA(),C.YNc(17,he,1,1,"mat-divider",14),C.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),C._uU(21,"Amount Requested (Sats)"),C.qZA(),C.TgZ(22,"span",18),C._uU(23),C.ALo(24,"number"),C.qZA()(),C.TgZ(25,"div",16)(26,"h4",17),C._uU(27,"Active"),C.qZA(),C.TgZ(28,"span",18),C._uU(29),C.qZA()()(),C._UZ(30,"mat-divider",19),C.TgZ(31,"div",15)(32,"div",20)(33,"h4",17),C._uU(34,"Description"),C.qZA(),C.TgZ(35,"span",18),C._uU(36),C.qZA()()(),C._UZ(37,"mat-divider",19),C.TgZ(38,"div",15)(39,"div",20)(40,"h4",17),C._uU(41,"Offer Request"),C.qZA(),C.TgZ(42,"span",18),C._uU(43),C.qZA()()(),C.YNc(44,c,13,5,"div",21),C.TgZ(45,"div",22)(46,"button",23),C.NdJ("click",function(){return Ne.onShowAdvanced()}),C.YNc(47,y,2,0,"p",24),C.YNc(48,S,2,0,"ng-template",null,25,C.W1O),C.qZA(),C.YNc(50,k,2,1,"button",26),C.YNc(51,v,2,0,"button",27),C.qZA()()()()()),2&it){const ot=C.MAs(49);C.xp6(1),C.Q6J("fxLayoutAlign",null!=Ne.offer&&Ne.offer.bolt12&&""!==(null==Ne.offer?null:Ne.offer.bolt12)?"center start":"center center")("ngClass",C.VKq(24,n,Ne.screenSize===Ne.screenSizeEnum.XS||Ne.screenSize===Ne.screenSizeEnum.SM)),C.xp6(1),C.Q6J("ngIf",(null==Ne.offer?null:Ne.offer.bolt12)&&""!==(null==Ne.offer?null:Ne.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=Ne.offer&&Ne.offer.bolt12)||""===(null==Ne.offer?null:Ne.offer.bolt12)),C.xp6(4),C.Q6J("icon",Ne.faReceipt),C.xp6(2),C.Oqu(Ne.screenSize===Ne.screenSizeEnum.XS?Ne.newlyAdded?"Created":"Offer":Ne.newlyAdded?"Offer Created":"Offer Information"),C.xp6(3),C.Q6J("ngClass",C.VKq(26,b,Ne.screenSize===Ne.screenSizeEnum.XS)),C.xp6(2),C.Q6J("fxLayoutAlign",null!=Ne.offer&&Ne.offer.bolt12&&""!==(null==Ne.offer?null:Ne.offer.bolt12)?"center start":"center center")("ngClass",C.VKq(28,n,Ne.screenSize!==Ne.screenSizeEnum.XS&&Ne.screenSize!==Ne.screenSizeEnum.SM)),C.xp6(1),C.Q6J("ngIf",(null==Ne.offer?null:Ne.offer.bolt12)&&""!==(null==Ne.offer?null:Ne.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=Ne.offer&&Ne.offer.bolt12)||""===(null==Ne.offer?null:Ne.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",Ne.screenSize===Ne.screenSizeEnum.XS||Ne.screenSize===Ne.screenSizeEnum.SM),C.xp6(6),C.hij(" ",null!=Ne.offerDecoded&&Ne.offerDecoded.amount_msat&&0!==(null==Ne.offerDecoded?null:Ne.offerDecoded.amount)?C.lcZ(24,22,(null==Ne.offerDecoded?null:Ne.offerDecoded.amount)/1e3):"Open Offer"," "),C.xp6(6),C.hij(" ",null!=Ne.offer&&Ne.offer.active?null!=Ne.offer&&Ne.offer.active?"Active":"Inactive":"N/K"," "),C.xp6(7),C.hij(" ",null==Ne.offerDecoded?null:Ne.offerDecoded.description," "),C.xp6(7),C.Oqu(null==Ne.offer?null:Ne.offer.bolt12),C.xp6(1),C.Q6J("ngIf",Ne.showAdvanced),C.xp6(1),C.Q6J("ngClass",C.WLB(30,B,!Ne.showAdvanced,Ne.showAdvanced)),C.xp6(2),C.Q6J("ngIf",!Ne.showAdvanced)("ngIfElse",ot),C.xp6(3),C.Q6J("ngIf",(null==Ne.offer?null:Ne.offer.bolt12)&&""!==(null==Ne.offer?null:Ne.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=Ne.offer&&Ne.offer.bolt12)||""===(null==Ne.offer?null:Ne.offer.bolt12))}},dependencies:[L.mk,L.O5,I.BN,P.xw,P.Wh,P.yH,U.oO,Z.lW,Y.dn,Y.dk,j.d,X.uU,ee.y,ue.h,L.JJ]}),W})()},2994:(Ge,Q,m)=>{"use strict";m.d(Q,{$W:()=>ue,BL:()=>y,Bw:()=>j,CX:()=>M,DJ:()=>oe,EK:()=>E,El:()=>ie,Fd:()=>A,GD:()=>he,HG:()=>ee,HI:()=>v,Iy:()=>it,Lf:()=>Oe,Nr:()=>Ie,OG:()=>S,On:()=>X,QZ:()=>g,RX:()=>L,SN:()=>w,Sf:()=>te,TM:()=>z,TW:()=>U,UR:()=>I,WM:()=>ot,WO:()=>n,YP:()=>fe,YX:()=>h,Z$:()=>ve,Z8:()=>le,Zr:()=>o,_E:()=>i,aL:()=>Se,cQ:()=>k,eF:()=>O,eN:()=>P,i:()=>Z,iL:()=>Y,iz:()=>d,kL:()=>b,mC:()=>W,n7:()=>Ke,oV:()=>B,pW:()=>c,pd:()=>u,ti:()=>ye,wD:()=>C});var t=m(9653),e=m(7731);const g=(0,t.PH)(e.lr.UPDATE_API_CALL_STATUS_ECL,(0,t.Ky)()),A=(0,t.PH)(e.lr.RESET_ECL_STORE,(0,t.Ky)()),o=(0,t.PH)(e.lr.SET_CHILD_NODE_SETTINGS_ECL,(0,t.Ky)()),C=(0,t.PH)(e.lr.FETCH_PAGE_SETTINGS_ECL),u=(0,t.PH)(e.lr.SET_PAGE_SETTINGS_ECL,(0,t.Ky)()),O=(0,t.PH)(e.lr.SAVE_PAGE_SETTINGS_ECL,(0,t.Ky)()),d=(0,t.PH)(e.lr.FETCH_INFO_ECL,(0,t.Ky)()),M=(0,t.PH)(e.lr.SET_INFO_ECL,(0,t.Ky)()),w=(0,t.PH)(e.lr.FETCH_FEES_ECL),L=(0,t.PH)(e.lr.SET_FEES_ECL,(0,t.Ky)()),I=(0,t.PH)(e.lr.FETCH_CHANNELS_ECL,(0,t.Ky)()),P=(0,t.PH)(e.lr.SET_ACTIVE_CHANNELS_ECL,(0,t.Ky)()),U=(0,t.PH)(e.lr.SET_PENDING_CHANNELS_ECL,(0,t.Ky)()),Z=(0,t.PH)(e.lr.SET_INACTIVE_CHANNELS_ECL,(0,t.Ky)()),Y=(0,t.PH)(e.lr.FETCH_ONCHAIN_BALANCE_ECL),j=(0,t.PH)(e.lr.SET_ONCHAIN_BALANCE_ECL,(0,t.Ky)()),X=(0,t.PH)(e.lr.SET_LIGHTNING_BALANCE_ECL,(0,t.Ky)()),ee=(0,t.PH)(e.lr.SET_CHANNELS_STATUS_ECL,(0,t.Ky)()),ue=(0,t.PH)(e.lr.FETCH_PEERS_ECL),le=(0,t.PH)(e.lr.SET_PEERS_ECL,(0,t.Ky)()),ie=(0,t.PH)(e.lr.SAVE_NEW_PEER_ECL,(0,t.Ky)()),he=((0,t.PH)(e.lr.NEWLY_ADDED_PEER_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.ADD_PEER_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.DETACH_PEER_ECL,(0,t.Ky)())),E=(0,t.PH)(e.lr.REMOVE_PEER_ECL,(0,t.Ky)()),i=(0,t.PH)(e.lr.GET_NEW_ADDRESS_ECL),h=((0,t.PH)(e.lr.SET_NEW_ADDRESS_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.SAVE_NEW_CHANNEL_ECL,(0,t.Ky)())),c=(0,t.PH)(e.lr.UPDATE_CHANNEL_ECL,(0,t.Ky)()),y=(0,t.PH)(e.lr.CLOSE_CHANNEL_ECL,(0,t.Ky)()),S=(0,t.PH)(e.lr.REMOVE_CHANNEL_ECL,(0,t.Ky)()),k=(0,t.PH)(e.lr.FETCH_PAYMENTS_ECL),v=(0,t.PH)(e.lr.SET_PAYMENTS_ECL,(0,t.Ky)()),n=(0,t.PH)(e.lr.GET_QUERY_ROUTES_ECL,(0,t.Ky)()),b=(0,t.PH)(e.lr.SET_QUERY_ROUTES_ECL,(0,t.Ky)()),B=(0,t.PH)(e.lr.SEND_PAYMENT_ECL,(0,t.Ky)()),z=(0,t.PH)(e.lr.SEND_PAYMENT_STATUS_ECL,(0,t.Ky)()),W=(0,t.PH)(e.lr.FETCH_TRANSACTIONS_ECL),Oe=(0,t.PH)(e.lr.SET_TRANSACTIONS_ECL,(0,t.Ky)()),it=(0,t.PH)(e.lr.SEND_ONCHAIN_FUNDS_ECL,(0,t.Ky)()),ot=((0,t.PH)(e.lr.SEND_ONCHAIN_FUNDS_RES_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.FETCH_INVOICES_ECL)),Ie=(0,t.PH)(e.lr.SET_INVOICES_ECL,(0,t.Ky)()),ve=(0,t.PH)(e.lr.CREATE_INVOICE_ECL,(0,t.Ky)()),fe=(0,t.PH)(e.lr.ADD_INVOICE_ECL,(0,t.Ky)()),Se=(0,t.PH)(e.lr.UPDATE_INVOICE_ECL,(0,t.Ky)()),te=(0,t.PH)(e.lr.PEER_LOOKUP_ECL,(0,t.Ky)()),Ke=(0,t.PH)(e.lr.INVOICE_LOOKUP_ECL,(0,t.Ky)()),oe=((0,t.PH)(e.lr.SET_LOOKUP_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.UPDATE_CHANNEL_STATE_ECL,(0,t.Ky)())),ye=(0,t.PH)(e.lr.UPDATE_RELAYED_PAYMENT_ECL,(0,t.Ky)())},3289:(Ge,Q,m)=>{"use strict";m.d(Q,{o:()=>ie});var t=m(493),e=m(7579),g=m(9646),A=m(5577),o=m(2722),C=m(4004),u=m(262),O=m(1786),d=m(7731),M=m(7861),w=m(7766),L=m(2994),I=m(2501),P=m(4650),U=m(529),Z=m(9653),Y=m(5986),j=m(62),X=m(5043),ee=m(9116),ue=m(7998),le=m(6895);let ie=(()=>{class ce{constructor(he,E,i,r,h,c,y,S,k){this.actions=he,this.httpClient=E,this.store=i,this.sessionService=r,this.commonService=h,this.logger=c,this.router=y,this.wsService=S,this.location=k,this.CHILD_API_URL=d.T5+"/ecl",this.flgInitialized=!1,this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.rawChannelsList=[],this.unSubs=[new e.x,new e.x,new e.x],this.infoFetchECL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_INFO_ECL),(0,A.z)(v=>(this.flgInitialized=!1,this.store.dispatch((0,M.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,M.ac)({payload:d.m6.GET_NODE_INFO})),this.store.dispatch((0,L.QZ)({payload:{action:"FetchInfo",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.GETINFO_API).pipe((0,o.R)(this.actions.pipe((0,t.l4)(d.pg.SET_SELECTED_NODE))),(0,C.U)(n=>(this.logger.info(n),this.initializeRemainingData(n,v.payload.loadPage),this.store.dispatch((0,L.QZ)({payload:{action:"FetchInfo",status:d.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:d.m6.GET_NODE_INFO})),{type:d.lr.SET_INFO_ECL,payload:n||{}})),(0,u.K)(n=>{const b=this.commonService.extractErrorCode(n),B=503===b?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(n);return this.router.navigate(["/error"],{state:{errorCode:b,errorMessage:B}}),this.handleErrorWithoutAlert("FetchInfo",d.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:b,error:B}),(0,g.of)({type:d.pg.VOID})})))))),this.fetchFees=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_FEES_ECL),(0,A.z)(()=>(this.store.dispatch((0,L.QZ)({payload:{action:"FetchFees",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.FEES_API+"/fees").pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,L.QZ)({payload:{action:"FetchFees",status:d.Bn.COMPLETED}})),{type:d.lr.SET_FEES_ECL,payload:v||{}})),(0,u.K)(v=>(this.handleErrorWithoutAlert("FetchFees",d.m6.NO_SPINNER,"Fetching Fees Failed.",v),(0,g.of)({type:d.pg.VOID})))))))),this.fetchPayments=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_PAYMENTS_ECL),(0,A.z)(()=>(this.store.dispatch((0,L.QZ)({payload:{action:"FetchPayments",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.FEES_API+"/payments").pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,L.QZ)({payload:{action:"FetchPayments",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAYMENTS_ECL,payload:v||{}})),(0,u.K)(v=>(this.handleErrorWithoutAlert("FetchPayments",d.m6.NO_SPINNER,"Fetching Payments Failed.",v),(0,g.of)({type:d.pg.VOID})))))))),this.channelsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_CHANNELS_ECL),(0,A.z)(v=>(this.store.dispatch((0,L.QZ)({payload:{action:"FetchChannels",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.CHANNELS_API).pipe((0,C.U)(n=>(this.logger.info(n),this.rawChannelsList=n,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,L.QZ)({payload:{action:"FetchChannels",status:d.Bn.COMPLETED}})),v.payload&&v.payload.fetchPayments&&this.store.dispatch((0,L.cQ)()),{type:d.pg.VOID})),(0,u.K)(n=>(this.handleErrorWithoutAlert("FetchChannels",d.m6.NO_SPINNER,"Fetching Channels Failed.",n),(0,g.of)({type:d.pg.VOID})))))))),this.fetchOnchainBalance=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_ONCHAIN_BALANCE_ECL),(0,A.z)(()=>(this.store.dispatch((0,L.QZ)({payload:{action:"FetchOnchainBalance",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API+"/balance"))),(0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,L.QZ)({payload:{action:"FetchOnchainBalance",status:d.Bn.COMPLETED}})),{type:d.lr.SET_ONCHAIN_BALANCE_ECL,payload:v||{}})),(0,u.K)(v=>(this.handleErrorWithoutAlert("FetchOnchainBalance",d.m6.NO_SPINNER,"Fetching Onchain Balances Failed.",v),(0,g.of)({type:d.pg.VOID}))))),this.peersFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_PEERS_ECL),(0,A.z)(()=>(this.store.dispatch((0,L.QZ)({payload:{action:"FetchPeers",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.PEERS_API).pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,L.QZ)({payload:{action:"FetchPeers",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PEERS_ECL,payload:v||[]})),(0,u.K)(v=>(this.handleErrorWithoutAlert("FetchPeers",d.m6.NO_SPINNER,"Fetching Peers Failed.",v),(0,g.of)({type:d.pg.VOID})))))))),this.getNewAddress=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.GET_NEW_ADDRESS_ECL),(0,A.z)(()=>(this.store.dispatch((0,M.ac)({payload:d.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API).pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,M.uO)({payload:d.m6.GENERATE_NEW_ADDRESS})),{type:d.lr.SET_NEW_ADDRESS_ECL,payload:v})),(0,u.K)(v=>(this.handleErrorWithAlert("GetNewAddress",d.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+d.vv.ON_CHAIN_API,v),(0,g.of)({type:d.pg.VOID})))))))),this.setNewAddress=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SET_NEW_ADDRESS_ECL),(0,C.U)(v=>(this.logger.info(v.payload),v.payload))),{dispatch:!1}),this.saveNewPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SAVE_NEW_PEER_ECL),(0,A.z)(v=>(this.store.dispatch((0,M.ac)({payload:d.m6.CONNECT_PEER})),this.store.dispatch((0,L.QZ)({payload:{action:"SaveNewPeer",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.PEERS_API+(v.payload.id.includes("@")?"?uri=":"?nodeId=")+v.payload.id,{}).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,L.QZ)({payload:{action:"SaveNewPeer",status:d.Bn.COMPLETED}})),n=n||[],this.store.dispatch((0,M.uO)({payload:d.m6.CONNECT_PEER})),this.store.dispatch((0,L.Z8)({payload:n})),{type:d.lr.NEWLY_ADDED_PEER_ECL,payload:{peer:n.find(b=>b.nodeId===(v.payload.id.includes("@")?v.payload.id.substring(0,v.payload.id.indexOf("@")):v.payload.id))}})),(0,u.K)(n=>(this.handleErrorWithoutAlert("SaveNewPeer",d.m6.CONNECT_PEER,"Peer Connection Failed.",n),(0,g.of)({type:d.pg.VOID})))))))),this.detachPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.DETACH_PEER_ECL),(0,A.z)(v=>(this.store.dispatch((0,M.ac)({payload:d.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+d.vv.PEERS_API+"/"+v.payload.nodeId).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,M.uO)({payload:d.m6.DISCONNECT_PEER})),this.store.dispatch((0,M.jW)({payload:"Disconnecting Peer!"})),{type:d.lr.REMOVE_PEER_ECL,payload:{nodeId:v.payload.nodeId}})),(0,u.K)(n=>(this.handleErrorWithAlert("DisconnectPeer",d.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+d.vv.PEERS_API+"/"+v.payload.nodeId,n),(0,g.of)({type:d.pg.VOID})))))))),this.openNewChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SAVE_NEW_CHANNEL_ECL),(0,A.z)(v=>{this.store.dispatch((0,M.ac)({payload:d.m6.OPEN_CHANNEL})),this.store.dispatch((0,L.QZ)({payload:{action:"SaveNewChannel",status:d.Bn.INITIATED}}));const n={nodeId:v.payload.nodeId,fundingSatoshis:v.payload.amount,announceChannel:!v.payload.private};return v.payload.feeRate&&v.payload.feeRate>0&&(n.fundingFeerateSatByte=v.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+d.vv.CHANNELS_API,n).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,L.QZ)({payload:{action:"SaveNewChannel",status:d.Bn.COMPLETED}})),this.store.dispatch((0,L.$W)()),this.store.dispatch((0,L.iL)()),this.store.dispatch((0,M.uO)({payload:d.m6.OPEN_CHANNEL})),this.store.dispatch((0,M.jW)({payload:"Channel Added Successfully!"})),{type:d.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,u.K)(b=>(this.handleErrorWithoutAlert("SaveNewChannel",d.m6.OPEN_CHANNEL,"Opening Channel Failed.",b),(0,g.of)({type:d.pg.VOID}))))}))),this.updateChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.UPDATE_CHANNEL_ECL),(0,A.z)(v=>{this.store.dispatch((0,M.ac)({payload:d.m6.UPDATE_CHAN_POLICY}));let n="?feeBaseMsat="+v.payload.baseFeeMsat+"&feeProportionalMillionths="+v.payload.feeRate;return n=v.payload.nodeIds?n+"&nodeIds="+v.payload.nodeIds:v.payload.nodeId?n+"&nodeId="+v.payload.nodeId:v.payload.channelIds?n+"&channelIds="+v.payload.channelIds:n+"&channelId="+v.payload.channelId,this.httpClient.post(this.CHILD_API_URL+d.vv.CHANNELS_API+"/updateRelayFee"+n,{}).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,M.uO)({payload:d.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,M.jW)(v.payload.nodeIds||v.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:d.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,u.K)(b=>(this.handleErrorWithAlert("UpdateChannels",d.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+d.vv.CHANNELS_API,b),(0,g.of)({type:d.pg.VOID}))))}))),this.closeChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.CLOSE_CHANNEL_ECL),(0,A.z)(v=>(this.store.dispatch((0,M.ac)({payload:v.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+d.vv.CHANNELS_API+"?channelId="+v.payload.channelId+"&force="+v.payload.force).pipe((0,C.U)(n=>(this.logger.info(n),setTimeout(()=>{this.store.dispatch((0,M.uO)({payload:v.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL})),this.store.dispatch((0,L.UR)({payload:{fetchPayments:!1}})),this.store.dispatch((0,M.jW)({payload:v.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:d.pg.VOID})),(0,u.K)(n=>(this.handleErrorWithAlert("CloseChannel",v.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+d.vv.CHANNELS_API,n),(0,g.of)({type:d.pg.VOID})))))))),this.queryRoutesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.GET_QUERY_ROUTES_ECL),(0,A.z)(v=>this.httpClient.get(this.CHILD_API_URL+d.vv.PAYMENTS_API+"/route?nodeId="+v.payload.nodeId+"&amountMsat="+v.payload.amount).pipe((0,C.U)(n=>(this.logger.info(n),{type:d.lr.SET_QUERY_ROUTES_ECL,payload:n})),(0,u.K)(n=>(this.store.dispatch((0,L.kL)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",d.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+d.vv.PAYMENTS_API+"/route?nodeId="+v.payload.nodeId+"&amountMsat="+v.payload.amount,n),(0,g.of)({type:d.pg.VOID}))))))),this.setQueryRoutes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SET_QUERY_ROUTES_ECL),(0,C.U)(v=>v.payload)),{dispatch:!1}),this.sendPayment=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SEND_PAYMENT_ECL),(0,A.z)(v=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,M.ac)({payload:d.m6.SEND_PAYMENT})),this.store.dispatch((0,L.QZ)({payload:{action:"SendPayment",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.PAYMENTS_API,v.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.latestPaymentRes=n,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:d.pg.VOID})),(0,u.K)(n=>(this.logger.error("Error: "+JSON.stringify(n)),v.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",d.m6.SEND_PAYMENT,"Send Payment Failed.",n):this.handleErrorWithAlert("SendPayment",d.m6.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+d.vv.PAYMENTS_API,n),(0,g.of)({type:d.pg.VOID})))))))),this.transactionsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_TRANSACTIONS_ECL),(0,A.z)(()=>(this.store.dispatch((0,L.QZ)({payload:{action:"FetchTransactions",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API+"/transactions?count=1000&skip=0"))),(0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,L.QZ)({payload:{action:"FetchTransactions",status:d.Bn.COMPLETED}})),{type:d.lr.SET_TRANSACTIONS_ECL,payload:v||[]})),(0,u.K)(v=>(this.handleErrorWithoutAlert("FetchTransactions",d.m6.NO_SPINNER,"Fetching Transactions Failed.",v),(0,g.of)({type:d.pg.VOID}))))),this.SendOnchainFunds=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SEND_ONCHAIN_FUNDS_ECL),(0,A.z)(v=>(this.store.dispatch((0,M.ac)({payload:d.m6.SEND_FUNDS})),this.store.dispatch((0,L.QZ)({payload:{action:"SendOnchainFunds",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.ON_CHAIN_API,v.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,L.QZ)({payload:{action:"SendOnchainFunds",status:d.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:d.m6.SEND_FUNDS})),this.store.dispatch((0,L.iL)()),{type:d.lr.SEND_ONCHAIN_FUNDS_RES_ECL,payload:n})),(0,u.K)(n=>(this.handleErrorWithoutAlert("SendOnchainFunds",d.m6.SEND_FUNDS,"Sending Fund Failed.",n),(0,g.of)({type:d.pg.VOID})))))))),this.createInvoice=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.CREATE_INVOICE_ECL),(0,A.z)(v=>(this.store.dispatch((0,M.ac)({payload:d.m6.CREATE_INVOICE})),this.store.dispatch((0,L.QZ)({payload:{action:"CreateInvoice",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.INVOICES_API,v.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,L.QZ)({payload:{action:"CreateInvoice",status:d.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:d.m6.CREATE_INVOICE})),n.timestamp=Math.round((new Date).getTime()/1e3),n.expiresAt=Math.round(n.timestamp+v.payload.expireIn),n.description=v.payload.description,n.status="unpaid",setTimeout(()=>{this.store.dispatch((0,M.qR)({payload:{data:{invoice:n,newlyAdded:!0,component:w.R}}}))},200),{type:d.lr.ADD_INVOICE_ECL,payload:n})),(0,u.K)(n=>(this.handleErrorWithoutAlert("CreateInvoice",d.m6.CREATE_INVOICE,"Create Invoice Failed.",n),(0,g.of)({type:d.pg.VOID})))))))),this.invoicesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_INVOICES_ECL),(0,A.z)(()=>(this.store.dispatch((0,L.QZ)({payload:{action:"FetchInvoices",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.INVOICES_API).pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,L.QZ)({payload:{action:"FetchInvoices",status:d.Bn.COMPLETED}})),{type:d.lr.SET_INVOICES_ECL,payload:v})),(0,u.K)(v=>(this.handleErrorWithoutAlert("FetchInvoices",d.m6.NO_SPINNER,"Fetching Invoices Failed.",v),(0,g.of)({type:d.pg.VOID})))))))),this.peerLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.PEER_LOOKUP_ECL),(0,A.z)(v=>(this.store.dispatch((0,M.ac)({payload:d.m6.SEARCHING_NODE})),this.store.dispatch((0,L.QZ)({payload:{action:"Lookup",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.NETWORK_API+"/nodes/"+v.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,L.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:d.m6.SEARCHING_NODE})),{type:d.lr.SET_LOOKUP_ECL,payload:n})),(0,u.K)(n=>(this.handleErrorWithAlert("Lookup",d.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+d.vv.NETWORK_API+"/nodes/"+v.payload,n),(0,g.of)({type:d.pg.VOID})))))))),this.invoiceLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.INVOICE_LOOKUP_ECL),(0,A.z)(v=>(this.store.dispatch((0,M.ac)({payload:d.m6.SEARCHING_INVOICE})),this.store.dispatch((0,L.QZ)({payload:{action:"Lookup",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.INVOICES_API+"/"+v.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,L.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:d.m6.SEARCHING_INVOICE})),this.store.dispatch((0,L.aL)({payload:n})),{type:d.lr.SET_LOOKUP_ECL,payload:n})),(0,u.K)(n=>(this.handleErrorWithoutAlert("Lookup",d.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",n),this.store.dispatch((0,M.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,g.of)({type:d.pg.VOID})))))))),this.setLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SET_LOOKUP_ECL),(0,C.U)(v=>(this.logger.info(v.payload),v.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_PAGE_SETTINGS_ECL),(0,A.z)(()=>(this.store.dispatch((0,L.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.INITIATED}})),this.httpClient.get(d.vv.PAGE_SETTINGS_API).pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,L.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:v||[]})),(0,u.K)(v=>(this.handleErrorWithoutAlert("FetchPageSettings",d.m6.NO_SPINNER,"Fetching Page Settings Failed.",v),(0,g.of)({type:d.pg.VOID})))))))),this.savePageSettingsCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SAVE_PAGE_SETTINGS_ECL),(0,A.z)(v=>(this.store.dispatch((0,M.ac)({payload:d.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,L.QZ)({payload:{action:"SavePageSettings",status:d.Bn.INITIATED}})),this.httpClient.post(d.vv.PAGE_SETTINGS_API,v.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,L.QZ)({payload:{action:"SavePageSettings",status:d.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:d.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,M.jW)({payload:"Page Layout Updated Successfully!"})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:n||[]})),(0,u.K)(n=>(this.handleErrorWithAlert("SavePageSettings",d.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",d.vv.PAGE_SETTINGS_API,n),(0,g.of)({type:d.pg.VOID})))))))),this.handleSendPaymentStatus=v=>{this.store.dispatch((0,L.QZ)({payload:{action:"SendPayment",status:d.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:d.m6.SEND_PAYMENT})),this.store.dispatch((0,L.TM)({payload:this.latestPaymentRes})),this.store.dispatch((0,L.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,M.jW)({payload:v}))},this.store.select(I.yA).pipe((0,o.R)(this.unSubs[0])).subscribe(v=>{v.FetchInfo.status!==d.Bn.COMPLETED&&v.FetchInfo.status!==d.Bn.ERROR||v.FetchFees.status!==d.Bn.COMPLETED&&v.FetchFees.status!==d.Bn.ERROR||v.FetchOnchainBalance.status!==d.Bn.COMPLETED&&v.FetchOnchainBalance.status!==d.Bn.ERROR||v.FetchChannels.status!==d.Bn.COMPLETED&&v.FetchChannels.status!==d.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,M.uO)({payload:d.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,o.R)(this.unSubs[1])).subscribe(v=>{var n;this.logger.info("Received new message from the service: "+JSON.stringify(v));let b="";if(v)switch(v.type){case d.$v.PAYMENT_SENT:v&&v.id&&this.latestPaymentRes===v.id&&(this.flgReceivedPaymentUpdateFromWS=!0,b="Payment Sent: "+(v.paymentHash?"with payment hash "+v.paymentHash:JSON.stringify(v)),this.handleSendPaymentStatus(b));break;case d.$v.PAYMENT_FAILED:v&&v.id&&this.latestPaymentRes===v.id&&(this.flgReceivedPaymentUpdateFromWS=!0,b="Payment Failed: "+(v.failures&&v.failures.length&&v.failures.length>0&&v.failures[0].t?v.failures[0].t:v.failures&&v.failures.length&&v.failures.length>0&&v.failures[0].e&&v.failures[0].e.failureMessage?v.failures[0].e.failureMessage:JSON.stringify(v)),this.handleSendPaymentStatus(b));break;case d.$v.PAYMENT_RECEIVED:this.store.dispatch((0,L.aL)({payload:v}));break;case d.$v.PAYMENT_RELAYED:delete v.source,v.amountIn=Math.round((v.amountIn||0)/1e3),v.amountOut=Math.round((v.amountOut||0)/1e3),v.timestamp.unix&&(v.timestamp=1e3*v.timestamp.unix),this.store.dispatch((0,L.ti)({payload:v}));break;case d.$v.CHANNEL_STATE_CHANGED:"NORMAL"===v.currentState||"CLOSED"===v.currentState?(this.rawChannelsList=null===(n=this.rawChannelsList)||void 0===n?void 0:n.map(B=>(B.channelId===v.channelId&&B.nodeId===v.remoteNodeId&&(B.state=v.currentState),B)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,L.DJ)({payload:v}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(v))}})}setChannelsAndStatusAndBalances(){let he=0,E=0,i=0,r={localBalance:0,remoteBalance:0},h=[];const c=[],y=[],S={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((k,v)=>{var n,b,B,z,W;k&&("NORMAL"===k.state?(he=(k.toLocal||0)+(k.toRemote||0),E+=k.toLocal||0,i+=k.toRemote||0,k.balancedness=0===he?1:+(1-Math.abs(((k.toLocal||0)-(k.toRemote||0))/he)).toFixed(3),h.push(k),S.active.channels=S.active.channels+1,S.active.capacity=S.active.capacity+(k.toLocal||0)):(null===(n=k.state)||void 0===n?void 0:n.includes("WAIT"))||(null===(b=k.state)||void 0===b?void 0:b.includes("CLOSING"))||(null===(B=k.state)||void 0===B?void 0:B.includes("SYNCING"))?(k.state=null===(z=k.state)||void 0===z?void 0:z.replace(/_/g," "),c.push(k),S.pending.channels=S.pending.channels+1,S.pending.capacity=S.pending.capacity+(k.toLocal||0)):(k.state=null===(W=k.state)||void 0===W?void 0:W.replace(/_/g," "),y.push(k),S.inactive.channels=S.inactive.channels+1,S.inactive.capacity=S.inactive.capacity+(k.toLocal||0)))}),r={localBalance:E,remoteBalance:i},h=this.commonService.sortDescByKey(h,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(h)),this.logger.info("Pending Channels: "+JSON.stringify(c)),this.logger.info("Inactive Channels: "+JSON.stringify(y)),this.logger.info("Lightning Balances: "+JSON.stringify(r)),this.logger.info("Channels Status: "+JSON.stringify(S)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:h,pending:c,inactive:y,balances:r,status:S})),this.store.dispatch((0,L.eN)({payload:h})),this.store.dispatch((0,L.TW)({payload:c})),this.store.dispatch((0,L.i)({payload:y})),this.store.dispatch((0,L.On)({payload:r})),this.store.dispatch((0,L.HG)({payload:S}))}initializeRemainingData(he,E){this.sessionService.setItem("eclUnlocked","true");const i={identity_pubkey:he.nodeId,alias:he.alias,testnet:"testnet"===he.network,chains:he.publicAddresses,uris:he.uris,version:he.version,numberOfPendingChannels:0};this.store.dispatch((0,M.ac)({payload:d.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,M._V)({payload:i}));let r=this.location.path();r.includes("/lnd/")?r=r?.replace("/lnd/","/ecl/"):r.includes("/cln/")&&(r=r?.replace("/cln/","/ecl/")),(r.includes("/login")||r.includes("/error")||""===r||"HOME"===E||r.includes("?access-key="))&&(r="/ecl/home"),this.router.navigate([r]),this.store.dispatch((0,L.wD)()),this.store.dispatch((0,L.WM)()),this.store.dispatch((0,L.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,L.SN)()),this.store.dispatch((0,L.iL)()),this.store.dispatch((0,L.$W)())}handleErrorWithoutAlert(he,E,i,r){this.logger.error("ERROR IN: "+he+"\n"+JSON.stringify(r)),401===r.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.ts)()),this.store.dispatch((0,M.kS)()),this.store.dispatch((0,M.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,M.uO)({payload:E})),this.store.dispatch((0,L.QZ)({payload:{action:he,status:d.Bn.ERROR,statusCode:r.status.toString(),message:this.commonService.extractErrorMessage(r,i)}})))}handleErrorWithAlert(he,E,i,r,h){if(this.logger.error(h),401===h.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,M.ts)()),this.store.dispatch((0,M.kS)()),this.store.dispatch((0,M.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,M.uO)({payload:E}));const c=this.commonService.extractErrorMessage(h);this.store.dispatch((0,M.qR)({payload:{data:{type:"ERROR",alertTitle:i,message:{code:h.status,message:c,URL:r},component:O.H}}})),this.store.dispatch((0,L.QZ)({payload:{action:he,status:d.Bn.ERROR,statusCode:h.status.toString(),message:c,URL:r}}))}}ngOnDestroy(){this.unSubs.forEach(he=>{he.next(null),he.complete()})}}return ce.\u0275fac=function(he){return new(he||ce)(P.LFG(t.eX),P.LFG(U.eN),P.LFG(Z.yh),P.LFG(Y.m),P.LFG(j.v),P.LFG(X.mQ),P.LFG(ee.F0),P.LFG(ue.d),P.LFG(le.Ye))},ce.\u0275prov=P.Yz7({token:ce,factory:ce.\u0275fac}),ce})()},2501:(Ge,Q,m)=>{"use strict";m.d(Q,{Bo:()=>Y,Ef:()=>Z,JG:()=>M,LR:()=>g,PP:()=>d,T$:()=>C,Xz:()=>P,dx:()=>U,kY:()=>j,nF:()=>A,yA:()=>O,yD:()=>o});var t=m(9653);const e=(0,t.ZF)("ecl"),g=(0,t.P1)(e,X=>X.nodeSettings),A=(0,t.P1)(e,X=>({pageSettings:X.pageSettings,apiCallStatus:X.apisCallStatus.FetchPageSettings})),o=(0,t.P1)(e,X=>X.information),C=(0,t.P1)(e,X=>({information:X.information,apiCallStatus:X.apisCallStatus.FetchInfo})),O=((0,t.P1)(e,X=>X.apisCallStatus.FetchInfo),(0,t.P1)(e,X=>X.apisCallStatus)),d=(0,t.P1)(e,X=>({payments:X.payments,apiCallStatus:X.apisCallStatus.FetchPayments})),M=(0,t.P1)(e,X=>({fees:X.fees,apiCallStatus:X.apisCallStatus.FetchFees})),P=((0,t.P1)(e,X=>({activeChannels:X.activeChannels,apiCallStatus:X.apisCallStatus.FetchChannels})),(0,t.P1)(e,X=>({pendingChannels:X.pendingChannels,apiCallStatus:X.apisCallStatus.FetchChannels})),(0,t.P1)(e,X=>({inactiveChannels:X.inactiveChannels,apiCallStatus:X.apisCallStatus.FetchChannels})),(0,t.P1)(e,X=>({activeChannels:X.activeChannels,pendingChannels:X.pendingChannels,inactiveChannels:X.inactiveChannels,lightningBalance:X.lightningBalance,channelsStatus:X.channelsStatus,apiCallStatus:X.apisCallStatus.FetchChannels}))),U=(0,t.P1)(e,X=>({transactions:X.transactions,apiCallStatus:X.apisCallStatus.FetchTransactions})),Z=(0,t.P1)(e,X=>({invoices:X.invoices,apiCallStatus:X.apisCallStatus.FetchInvoices})),Y=(0,t.P1)(e,X=>({peers:X.peers,apiCallStatus:X.apisCallStatus.FetchPeers})),j=(0,t.P1)(e,X=>({onchainBalance:X.onchainBalance,apiCallStatus:X.apisCallStatus.FetchOnchainBalance}))},7766:(Ge,Q,m)=>{"use strict";m.d(Q,{R:()=>Ie});var t=m(7274),e=m(2687),g=m(7579),A=m(2722),o=m(7731),C=m(2501),u=m(4650),O=m(5043),d=m(62),M=m(7009),w=m(9653),L=m(6895),I=m(2216),P=m(1576),U=m(5829),Z=m(4859),Y=m(3546),j=m(4850),X=m(1572),ee=m(658),ue=m(5199),le=m(3390);function ie(ve,fe){if(1&ve&&u._UZ(0,"qr-code",29),2&ve){const Se=u.oxw();u.Q6J("value",null==Se.invoice?null:Se.invoice.serialized)("size",Se.qrWidth)("errorCorrectionLevel","L")}}function ce(ve,fe){1&ve&&(u.TgZ(0,"span",30),u._uU(1,"N/A"),u.qZA())}function se(ve,fe){if(1&ve&&u._UZ(0,"qr-code",29),2&ve){const Se=u.oxw();u.Q6J("value",null==Se.invoice?null:Se.invoice.serialized)("size",Se.qrWidth)("errorCorrectionLevel","L")}}function he(ve,fe){1&ve&&(u.TgZ(0,"span",31),u._uU(1,"QR Code Not Applicable"),u.qZA())}function E(ve,fe){1&ve&&u._UZ(0,"mat-divider",32),2&ve&&u.Q6J("inset",!0)}function i(ve,fe){1&ve&&(u.ynx(0),u._uU(1," (zero amount) "),u.BQk())}function r(ve,fe){1&ve&&u._UZ(0,"span",38)}const h=function(){return[]};function c(ve,fe){if(1&ve&&(u.TgZ(0,"div",34)(1,"div",35)(2,"span",36),u._uU(3),u.ALo(4,"number"),u.qZA(),u.YNc(5,r,1,0,"span",37),u.qZA()()),2&ve){const Se=u.oxw(2);u.xp6(3),u.hij("",u.lcZ(4,2,null==Se.invoice?null:Se.invoice.amountSettled)," Sats"),u.xp6(2),u.Q6J("ngForOf",u.DdM(4,h).constructor(35))}}function y(ve,fe){if(1&ve&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"number"),u.qZA()),2&ve){const Se=u.oxw(2);u.xp6(1),u.hij("",u.lcZ(2,1,null==Se.invoice?null:Se.invoice.amountSettled)," Sats")}}function S(ve,fe){if(1&ve&&(u.ynx(0),u.YNc(1,c,6,5,"div",33),u.YNc(2,y,3,3,"div",19),u.BQk()),2&ve){const Se=u.oxw();u.xp6(1),u.Q6J("ngIf",Se.flgInvoicePaid),u.xp6(1),u.Q6J("ngIf",!Se.flgInvoicePaid)}}function k(ve,fe){1&ve&&(u.TgZ(0,"span"),u._uU(1,"-"),u.qZA())}function v(ve,fe){1&ve&&u._UZ(0,"mat-spinner",40),2&ve&&u.Q6J("diameter",20)}function n(ve,fe){if(1&ve&&(u.ynx(0),u.YNc(1,k,2,0,"span",19),u.YNc(2,v,1,1,"mat-spinner",39),u.BQk()),2&ve){const Se=u.oxw();u.xp6(1),u.Q6J("ngIf","unpaid"!==(null==Se.invoice?null:Se.invoice.status)||!Se.flgVersionCompatible),u.xp6(1),u.Q6J("ngIf","unpaid"===(null==Se.invoice?null:Se.invoice.status)&&Se.flgVersionCompatible)}}function b(ve,fe){if(1&ve&&(u.TgZ(0,"div"),u._UZ(1,"mat-divider",20),u.TgZ(2,"div",15)(3,"div",41)(4,"h4",17),u._uU(5,"Date Expiry"),u.qZA(),u.TgZ(6,"span",18),u._uU(7),u.ALo(8,"date"),u.qZA()(),u.TgZ(9,"div",42)(10,"h4",17),u._uU(11,"Date Settled"),u.qZA(),u.TgZ(12,"span",21),u._uU(13),u.ALo(14,"date"),u.qZA()()(),u._UZ(15,"mat-divider",20),u.TgZ(16,"div",15)(17,"div",22)(18,"h4",17),u._uU(19,"Payment Hash"),u.qZA(),u.TgZ(20,"span",21),u._uU(21),u.qZA()()(),u._UZ(22,"mat-divider",20),u.TgZ(23,"div",15)(24,"div",22)(25,"h4",17),u._uU(26,"Node ID"),u.qZA(),u.TgZ(27,"span",21),u._uU(28),u.qZA()()(),u._UZ(29,"mat-divider",20),u.qZA()),2&ve){const Se=u.oxw();u.xp6(7),u.Oqu(u.xi3(8,4,1e3*(null==Se.invoice?null:Se.invoice.expiresAt),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(u.xi3(14,7,1e3*(null==Se.invoice?null:Se.invoice.receivedAt),"dd/MMM/y HH:mm")),u.xp6(8),u.Oqu(null==Se.invoice?null:Se.invoice.paymentHash),u.xp6(7),u.Oqu(null==Se.invoice?null:Se.invoice.nodeId)}}function B(ve,fe){1&ve&&(u.TgZ(0,"p"),u._uU(1,"Show Advanced"),u.qZA())}function z(ve,fe){1&ve&&(u.TgZ(0,"p"),u._uU(1,"Hide Advanced"),u.qZA())}function W(ve,fe){if(1&ve){const Se=u.EpF();u.TgZ(0,"button",43),u.NdJ("copied",function(Ke){u.CHM(Se);const Ae=u.oxw();return u.KtG(Ae.onCopyPayment(Ke))}),u._uU(1,"Copy Invoice"),u.qZA()}if(2&ve){const Se=u.oxw();u.Q6J("payload",null==Se.invoice?null:Se.invoice.serialized)}}function Oe(ve,fe){if(1&ve){const Se=u.EpF();u.TgZ(0,"button",44),u.NdJ("click",function(){u.CHM(Se);const Ke=u.oxw();return u.KtG(Ke.onClose())}),u._uU(1,"OK"),u.qZA()}}const it=function(ve){return{"display-none":ve}},Ne=function(ve){return{"xs-scroll-y":ve}},ot=function(ve,fe){return{"mt-2":ve,"mt-1":fe}};let Ie=(()=>{class ve{constructor(Se,te,Ke,Ae,oe,ye){this.dialogRef=Se,this.data=te,this.logger=Ke,this.commonService=Ae,this.snackBar=oe,this.store=ye,this.faReceipt=e.dLy,this.faExclamationTriangle=e.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=o.cu,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new g.x,new g.x,new g.x,new g.x,new g.x]}ngOnInit(){this.invoice=this.data.invoice,this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===o.cu.XS&&(this.qrWidth=220),this.store.select(C.yD).pipe((0,A.R)(this.unSubs[0])).subscribe(Se=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(Se.version,"0.5.0")}),this.store.select(C.Ef).pipe((0,A.R)(this.unSubs[1])).subscribe(Se=>{const te=this.invoice.status,Ae=(Se.invoices&&Se.invoices.length>0?Se.invoices:[])?.find(oe=>oe.paymentHash===this.invoice.paymentHash)||null;Ae&&(this.invoice=Ae),te!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(Se)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(Se){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+Se)}ngOnDestroy(){this.unSubs.forEach(Se=>{Se.next(null),Se.complete()})}}return ve.\u0275fac=function(Se){return new(Se||ve)(u.Y36(t.so),u.Y36(t.WI),u.Y36(O.mQ),u.Y36(d.v),u.Y36(M.ux),u.Y36(w.yh))},ve.\u0275cmp=u.Xpm({type:ve,selectors:[["rtl-ecl-invoice-information"]],decls:68,vars:42,consts:[["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"],["hideAdvancedText",""],["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,"payload","copied"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","button",3,"click"]],template:function(Se,te){if(1&Se&&(u.TgZ(0,"div",0)(1,"div",1),u.YNc(2,ie,1,3,"qr-code",2),u.YNc(3,ce,2,0,"span",3),u.qZA(),u.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),u._UZ(7,"fa-icon",7),u.TgZ(8,"span",8),u._uU(9),u.qZA()(),u.TgZ(10,"button",9),u.NdJ("click",function(){return te.onClose()}),u._uU(11,"X"),u.qZA()(),u.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),u.YNc(15,se,1,3,"qr-code",2),u.YNc(16,he,2,0,"span",13),u.qZA(),u.YNc(17,E,1,1,"mat-divider",14),u.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),u._uU(21,"Amount Requested"),u.qZA(),u.TgZ(22,"span",18),u._uU(23),u.ALo(24,"number"),u.YNc(25,i,2,0,"ng-container",19),u.qZA()(),u.TgZ(26,"div",16)(27,"h4",17),u._uU(28,"Amount Settled"),u.qZA(),u.TgZ(29,"span",18),u.YNc(30,S,3,2,"ng-container",19),u.YNc(31,n,3,2,"ng-container",19),u.qZA()()(),u._UZ(32,"mat-divider",20),u.TgZ(33,"div",15)(34,"div",16)(35,"h4",17),u._uU(36,"Date Created"),u.qZA(),u.TgZ(37,"span",21),u._uU(38),u.ALo(39,"date"),u.qZA()(),u.TgZ(40,"div",16)(41,"h4",17),u._uU(42,"Status"),u.qZA(),u.TgZ(43,"span",21),u._uU(44),u.ALo(45,"titlecase"),u.qZA()()(),u._UZ(46,"mat-divider",20),u.TgZ(47,"div",15)(48,"div",22)(49,"h4",17),u._uU(50,"Description"),u.qZA(),u.TgZ(51,"span",18),u._uU(52),u.qZA()()(),u._UZ(53,"mat-divider",20),u.TgZ(54,"div",15)(55,"div",22)(56,"h4",17),u._uU(57,"Invoice"),u.qZA(),u.TgZ(58,"span",21),u._uU(59),u.qZA()()(),u.YNc(60,b,30,10,"div",19),u.TgZ(61,"div",23)(62,"button",24),u.NdJ("click",function(){return te.onShowAdvanced()}),u.YNc(63,B,2,0,"p",25),u.YNc(64,z,2,0,"ng-template",null,26,u.W1O),u.qZA(),u.YNc(66,W,2,1,"button",27),u.YNc(67,Oe,2,0,"button",28),u.qZA()()()()()),2&Se){const Ke=u.MAs(65);u.xp6(1),u.Q6J("fxLayoutAlign",null!=te.invoice&&te.invoice.serialized&&""!==(null==te.invoice?null:te.invoice.serialized)?"center start":"center center")("ngClass",u.VKq(33,it,te.screenSize===te.screenSizeEnum.XS||te.screenSize===te.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==te.invoice?null:te.invoice.serialized)&&""!==(null==te.invoice?null:te.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",!(null!=te.invoice&&te.invoice.serialized)||""===(null==te.invoice?null:te.invoice.serialized)),u.xp6(4),u.Q6J("icon",te.faReceipt),u.xp6(2),u.Oqu(te.screenSize===te.screenSizeEnum.XS?te.newlyAdded?"Created":"Invoice":te.newlyAdded?"Invoice Created":"Invoice Information"),u.xp6(3),u.Q6J("ngClass",u.VKq(35,Ne,te.screenSize===te.screenSizeEnum.XS)),u.xp6(2),u.Q6J("fxLayoutAlign",null!=te.invoice&&te.invoice.serialized&&""!==(null==te.invoice?null:te.invoice.serialized)?"center start":"center center")("ngClass",u.VKq(37,it,te.screenSize!==te.screenSizeEnum.XS&&te.screenSize!==te.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==te.invoice?null:te.invoice.serialized)&&""!==(null==te.invoice?null:te.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",!(null!=te.invoice&&te.invoice.serialized)||""===(null==te.invoice?null:te.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",te.screenSize===te.screenSizeEnum.XS||te.screenSize===te.screenSizeEnum.SM),u.xp6(6),u.hij("",u.lcZ(24,26,(null==te.invoice?null:te.invoice.amount)||0)," Sats"),u.xp6(2),u.Q6J("ngIf",!(null!=te.invoice&&te.invoice.amount)||"0"===(null==te.invoice?null:te.invoice.amount)),u.xp6(5),u.Q6J("ngIf",null==te.invoice?null:te.invoice.amountSettled),u.xp6(1),u.Q6J("ngIf",!(null!=te.invoice&&te.invoice.amountSettled)),u.xp6(7),u.Oqu(u.xi3(39,28,1e3*(null==te.invoice?null:te.invoice.timestamp),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(u.lcZ(45,31,null==te.invoice?null:te.invoice.status)),u.xp6(8),u.Oqu((null==te.invoice?null:te.invoice.description)||"-"),u.xp6(7),u.Oqu((null==te.invoice?null:te.invoice.serialized)||"N/A"),u.xp6(1),u.Q6J("ngIf",te.showAdvanced),u.xp6(1),u.Q6J("ngClass",u.WLB(39,ot,!te.showAdvanced,te.showAdvanced)),u.xp6(2),u.Q6J("ngIf",!te.showAdvanced)("ngIfElse",Ke),u.xp6(3),u.Q6J("ngIf",(null==te.invoice?null:te.invoice.serialized)&&""!==(null==te.invoice?null:te.invoice.serialized)),u.xp6(1),u.Q6J("ngIf",!(null!=te.invoice&&te.invoice.serialized)||""===(null==te.invoice?null:te.invoice.serialized))}},dependencies:[L.mk,L.sg,L.O5,I.BN,P.xw,P.Wh,P.yH,U.oO,Z.lW,Y.dn,Y.dk,j.d,X.Ou,ee.uU,ue.y,le.h,L.JJ,L.rS,L.uU]}),ve})()},6523:(Ge,Q,m)=>{"use strict";m.d(Q,{$A:()=>Ht,$W:()=>w,BL:()=>k,B_:()=>Oe,Bl:()=>le,CX:()=>M,Cp:()=>b,EK:()=>Z,El:()=>I,Fr:()=>xt,HI:()=>ye,JT:()=>o,Jl:()=>ie,Jo:()=>zt,Lf:()=>te,Ll:()=>A,Ly:()=>Ke,Nr:()=>Ie,OG:()=>v,PC:()=>g,QJ:()=>tt,RX:()=>ue,Rd:()=>Y,Rv:()=>ce,SN:()=>ee,Sf:()=>ne,TW:()=>r,UH:()=>Ae,UR:()=>he,Vv:()=>n,WM:()=>ot,WO:()=>Bt,Wi:()=>ke,YP:()=>X,YX:()=>S,Z7:()=>i,Z8:()=>L,Zh:()=>h,_E:()=>de,_L:()=>c,aL:()=>ve,as:()=>E,cQ:()=>oe,dV:()=>Ze,eF:()=>O,fu:()=>_t,kL:()=>It,ks:()=>se,mC:()=>Se,n7:()=>De,oV:()=>me,pW:()=>y,pd:()=>u,qY:()=>fe,sQ:()=>d,tb:()=>W,u0:()=>Re,vV:()=>it,wD:()=>C,xG:()=>vt,y2:()=>nt,yZ:()=>ze,z:()=>U});var t=m(9653),e=m(7731);const g=(0,t.PH)(e.uR.UPDATE_API_CALL_STATUS_LND,(0,t.Ky)()),A=(0,t.PH)(e.uR.RESET_LND_STORE,(0,t.Ky)()),o=(0,t.PH)(e.uR.SET_CHILD_NODE_SETTINGS_LND,(0,t.Ky)()),C=(0,t.PH)(e.uR.FETCH_PAGE_SETTINGS_LND),u=(0,t.PH)(e.uR.SET_PAGE_SETTINGS_LND,(0,t.Ky)()),O=(0,t.PH)(e.uR.SAVE_PAGE_SETTINGS_LND,(0,t.Ky)()),d=(0,t.PH)(e.uR.FETCH_INFO_LND,(0,t.Ky)()),M=(0,t.PH)(e.uR.SET_INFO_LND,(0,t.Ky)()),w=(0,t.PH)(e.uR.FETCH_PEERS_LND),L=(0,t.PH)(e.uR.SET_PEERS_LND,(0,t.Ky)()),I=(0,t.PH)(e.uR.SAVE_NEW_PEER_LND,(0,t.Ky)()),U=((0,t.PH)(e.uR.NEWLY_ADDED_PEER_LND,(0,t.Ky)()),(0,t.PH)(e.uR.DETACH_PEER_LND,(0,t.Ky)())),Z=(0,t.PH)(e.uR.REMOVE_PEER_LND,(0,t.Ky)()),Y=(0,t.PH)(e.uR.SAVE_NEW_INVOICE_LND,(0,t.Ky)()),X=((0,t.PH)(e.uR.NEWLY_SAVED_INVOICE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.ADD_INVOICE_LND,(0,t.Ky)())),ee=(0,t.PH)(e.uR.FETCH_FEES_LND),ue=(0,t.PH)(e.uR.SET_FEES_LND,(0,t.Ky)()),le=(0,t.PH)(e.uR.FETCH_BLOCKCHAIN_BALANCE_LND),ie=(0,t.PH)(e.uR.SET_BLOCKCHAIN_BALANCE_LND,(0,t.Ky)()),ce=(0,t.PH)(e.uR.FETCH_NETWORK_LND),se=(0,t.PH)(e.uR.SET_NETWORK_LND,(0,t.Ky)()),he=(0,t.PH)(e.uR.FETCH_CHANNELS_LND),E=(0,t.PH)(e.uR.SET_CHANNELS_LND,(0,t.Ky)()),i=(0,t.PH)(e.uR.FETCH_PENDING_CHANNELS_LND),r=(0,t.PH)(e.uR.SET_PENDING_CHANNELS_LND,(0,t.Ky)()),h=(0,t.PH)(e.uR.FETCH_CLOSED_CHANNELS_LND),c=(0,t.PH)(e.uR.SET_CLOSED_CHANNELS_LND,(0,t.Ky)()),y=(0,t.PH)(e.uR.UPDATE_CHANNEL_LND,(0,t.Ky)()),S=(0,t.PH)(e.uR.SAVE_NEW_CHANNEL_LND,(0,t.Ky)()),k=(0,t.PH)(e.uR.CLOSE_CHANNEL_LND,(0,t.Ky)()),v=(0,t.PH)(e.uR.REMOVE_CHANNEL_LND,(0,t.Ky)()),n=(0,t.PH)(e.uR.BACKUP_CHANNELS_LND,(0,t.Ky)()),b=(0,t.PH)(e.uR.VERIFY_CHANNEL_LND,(0,t.Ky)()),W=((0,t.PH)(e.uR.BACKUP_CHANNELS_RES_LND,(0,t.Ky)()),(0,t.PH)(e.uR.VERIFY_CHANNEL_RES_LND,(0,t.Ky)()),(0,t.PH)(e.uR.RESTORE_CHANNELS_LIST_LND)),Oe=(0,t.PH)(e.uR.SET_RESTORE_CHANNELS_LIST_LND,(0,t.Ky)()),it=(0,t.PH)(e.uR.RESTORE_CHANNELS_LND,(0,t.Ky)()),ot=((0,t.PH)(e.uR.RESTORE_CHANNELS_RES_LND,(0,t.Ky)()),(0,t.PH)(e.uR.FETCH_INVOICES_LND,(0,t.Ky)())),Ie=(0,t.PH)(e.uR.SET_INVOICES_LND,(0,t.Ky)()),ve=(0,t.PH)(e.uR.UPDATE_INVOICE_LND,(0,t.Ky)()),fe=(0,t.PH)(e.uR.UPDATE_PAYMENT_LND,(0,t.Ky)()),Se=(0,t.PH)(e.uR.FETCH_TRANSACTIONS_LND),te=(0,t.PH)(e.uR.SET_TRANSACTIONS_LND,(0,t.Ky)()),Ke=(0,t.PH)(e.uR.FETCH_UTXOS_LND),Ae=(0,t.PH)(e.uR.SET_UTXOS_LND,(0,t.Ky)()),oe=(0,t.PH)(e.uR.FETCH_PAYMENTS_LND,(0,t.Ky)()),ye=(0,t.PH)(e.uR.SET_PAYMENTS_LND,(0,t.Ky)()),me=(0,t.PH)(e.uR.SEND_PAYMENT_LND,(0,t.Ky)()),Ze=((0,t.PH)(e.uR.SEND_PAYMENT_STATUS_LND,(0,t.Ky)()),(0,t.PH)(e.uR.FETCH_GRAPH_NODE_LND,(0,t.Ky)())),de=((0,t.PH)(e.uR.SET_GRAPH_NODE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.GET_NEW_ADDRESS_LND,(0,t.Ky)())),ke=((0,t.PH)(e.uR.SET_NEW_ADDRESS_LND,(0,t.Ky)()),(0,t.PH)(e.uR.SET_CHANNEL_TRANSACTION_LND,(0,t.Ky)())),_t=((0,t.PH)(e.uR.SET_CHANNEL_TRANSACTION_RES_LND,(0,t.Ky)()),(0,t.PH)(e.uR.GEN_SEED_LND,(0,t.Ky)())),nt=((0,t.PH)(e.uR.GEN_SEED_RESPONSE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.INIT_WALLET_LND,(0,t.Ky)())),vt=((0,t.PH)(e.uR.INIT_WALLET_RESPONSE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.UNLOCK_WALLET_LND,(0,t.Ky)())),ne=(0,t.PH)(e.uR.PEER_LOOKUP_LND,(0,t.Ky)()),Ht=(0,t.PH)(e.uR.CHANNEL_LOOKUP_LND,(0,t.Ky)()),De=(0,t.PH)(e.uR.INVOICE_LOOKUP_LND,(0,t.Ky)()),ze=(0,t.PH)(e.uR.PAYMENT_LOOKUP_LND,(0,t.Ky)()),Re=((0,t.PH)(e.uR.SET_LOOKUP_LND,(0,t.Ky)()),(0,t.PH)(e.uR.GET_FORWARDING_HISTORY_LND,(0,t.Ky)())),tt=(0,t.PH)(e.uR.SET_FORWARDING_HISTORY_LND,(0,t.Ky)()),Bt=(0,t.PH)(e.uR.GET_QUERY_ROUTES_LND,(0,t.Ky)()),It=(0,t.PH)(e.uR.SET_QUERY_ROUTES_LND,(0,t.Ky)()),zt=(0,t.PH)(e.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),xt=(0,t.PH)(e.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,t.Ky)())},711:(Ge,Q,m)=>{"use strict";m.d(Q,{l:()=>se});var t=m(493),e=m(7579),g=m(9646),A=m(5577),o=m(2722),C=m(4004),u=m(262),O=m(1365),d=m(8627),M=m(1786),w=m(7731),L=m(7861),I=m(6523),P=m(6529),U=m(4650),Z=m(529),Y=m(9653),j=m(5043),X=m(62),ee=m(5986),ue=m(7274),le=m(9116),ie=m(7998),ce=m(6895);let se=(()=>{class he{constructor(i,r,h,c,y,S,k,v,n,b){this.actions=i,this.httpClient=r,this.store=h,this.logger=c,this.commonService=y,this.sessionService=S,this.dialog=k,this.router=v,this.wsService=n,this.location=b,this.CHILD_API_URL=w.T5+"/lnd",this.invoicesPageSize=w.IV,this.paymentsPageSize=w.IV,this.flgInitialized=!1,this.unSubs=[new e.x,new e.x],this.infoFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_INFO_LND),(0,A.z)(B=>(this.flgInitialized=!1,this.store.dispatch((0,L.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,L.ts)()),this.store.dispatch((0,L.ac)({payload:w.m6.GET_NODE_INFO})),this.store.dispatch((0,I.PC)({payload:{action:"FetchInfo",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.GETINFO_API).pipe((0,o.R)(this.actions.pipe((0,t.l4)(w.pg.SET_SELECTED_NODE))),(0,C.U)(z=>(this.logger.info(z),z.chains&&z.chains.length&&z.chains[0]&&("string"==typeof z.chains[0]&&z.chains[0].toLowerCase().indexOf("bitcoin")<0||"object"==typeof z.chains[0]&&z.chains[0].hasOwnProperty("chain")&&z.chains[0].chain&&z.chains[0].chain.toLowerCase().indexOf("bitcoin")<0)?(this.store.dispatch((0,I.PC)({payload:{action:"FetchInfo",status:w.Bn.COMPLETED}})),this.store.dispatch((0,L.ts)()),this.store.dispatch((0,L.qR)({payload:{data:{type:w.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:w.pg.LOGOUT}):z.identity_pubkey?(z.lnImplementation="LND",this.initializeRemainingData(z,B.payload.loadPage),this.store.dispatch((0,I.PC)({payload:{action:"FetchInfo",status:w.Bn.COMPLETED}})),this.store.dispatch((0,L.ts)()),{type:w.uR.SET_INFO_LND,payload:z||{}}):(this.store.dispatch((0,I.PC)({payload:{action:"FetchInfo",status:w.Bn.COMPLETED}})),this.store.dispatch((0,L.ts)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:w.uR.SET_INFO_LND,payload:{}}))),(0,u.K)(z=>{if("string"==typeof z.error.error&&z.error.error.includes("Not Found")||"string"==typeof z.error.error&&z.error.error.includes("wallet locked")||502===z.status&&!z.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",w.m6.GET_NODE_INFO,"Fetching Node Info Failed.",z);else if("string"==typeof z.error.error&&z.error.error.includes("starting up")&&500===z.status)setTimeout(()=>{this.store.dispatch((0,I.sQ)({payload:{loadPage:"HOME"}}))},2e3);else{const W=this.commonService.extractErrorCode(z),Oe=503===W?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(z);this.router.navigate(["/error"],{state:{errorCode:W,errorMessage:Oe}}),this.handleErrorWithoutAlert("FetchInfo",w.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:W,error:Oe})}return(0,g.of)({type:w.pg.VOID})})))))),this.peersFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_PEERS_LND),(0,A.z)(()=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchPeers",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.PEERS_API).pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,I.PC)({payload:{action:"FetchPeers",status:w.Bn.COMPLETED}})),{type:w.uR.SET_PEERS_LND,payload:B||[]})),(0,u.K)(B=>(this.handleErrorWithoutAlert("FetchPeers",w.m6.NO_SPINNER,"Fetching Peers Failed.",B),(0,g.of)({type:w.pg.VOID})))))))),this.saveNewPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SAVE_NEW_PEER_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.CONNECT_PEER})),this.store.dispatch((0,I.PC)({payload:{action:"SaveNewPeer",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.PEERS_API,{pubkey:B.payload.pubkey,host:B.payload.host,perm:B.payload.perm}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.PC)({payload:{action:"SaveNewPeer",status:w.Bn.COMPLETED}})),this.store.dispatch((0,L.uO)({payload:w.m6.CONNECT_PEER})),this.store.dispatch((0,I.Z8)({payload:z||[]})),{type:w.uR.NEWLY_ADDED_PEER_LND,payload:{peer:z[0]}})),(0,u.K)(z=>(this.handleErrorWithoutAlert("SaveNewPeer",w.m6.CONNECT_PEER,"Peer Connection Failed.",z),(0,g.of)({type:w.pg.VOID})))))))),this.detachPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.DETACH_PEER_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+w.vv.PEERS_API+"/"+B.payload.pubkey).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,L.uO)({payload:w.m6.DISCONNECT_PEER})),this.store.dispatch((0,L.jW)({payload:"Peer Disconnected Successfully."})),{type:w.uR.REMOVE_PEER_LND,payload:{pubkey:B.payload.pubkey}})),(0,u.K)(z=>(this.handleErrorWithAlert("DetachPeer",w.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+w.vv.PEERS_API+"/"+B.payload.pubkey,z),(0,g.of)({type:w.pg.VOID})))))))),this.saveNewInvoice=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SAVE_NEW_INVOICE_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:B.payload.uiMessage})),this.store.dispatch((0,I.PC)({payload:{action:"SaveNewInvoice",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.INVOICES_API,{memo:B.payload.memo,value:B.payload.value,private:B.payload.private,expiry:B.payload.expiry,is_amp:B.payload.is_amp}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.PC)({payload:{action:"SaveNewInvoice",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.WM)({payload:{num_max_invoices:B.payload.pageSize,reversed:!0}})),B.payload.openModal?(z.memo=B.payload.memo,z.value=B.payload.value,z.expiry=B.payload.expiry,z.private=B.payload.private,z.is_amp=B.payload.is_amp,z.cltv_expiry="144",z.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,L.qR)({payload:{data:{invoice:z,newlyAdded:!0,component:d.v}}}))},200),{type:w.pg.CLOSE_SPINNER,payload:B.payload.uiMessage}):{type:w.uR.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:z.payment_request}})),(0,u.K)(z=>(this.handleErrorWithoutAlert("SaveNewInvoice",B.payload.uiMessage,"Add Invoice Failed.",z),(0,g.of)({type:w.pg.VOID})))))))),this.openNewChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SAVE_NEW_CHANNEL_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.OPEN_CHANNEL})),this.store.dispatch((0,I.PC)({payload:{action:"SaveNewChannel",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_API,{node_pubkey:B.payload.selectedPeerPubkey,local_funding_amount:B.payload.fundingAmount,private:B.payload.private,trans_type:B.payload.transType,trans_type_value:B.payload.transTypeValue,spend_unconfirmed:B.payload.spendUnconfirmed}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.PC)({payload:{action:"SaveNewChannel",status:w.Bn.COMPLETED}})),this.store.dispatch((0,L.uO)({payload:w.m6.OPEN_CHANNEL})),this.store.dispatch((0,I.Bl)()),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.Vv)({payload:{uiMessage:w.m6.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:w.uR.FETCH_PENDING_CHANNELS_LND})),(0,u.K)(z=>(this.handleErrorWithoutAlert("SaveNewChannel",w.m6.OPEN_CHANNEL,"Opening Channel Failed.",z),(0,g.of)({type:w.pg.VOID})))))))),this.updateChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.UPDATE_CHANNEL_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_API+"/chanPolicy",{baseFeeMsat:B.payload.baseFeeMsat,feeRate:B.payload.feeRate,timeLockDelta:B.payload.timeLockDelta,max_htlc_msat:B.payload.maxHtlcMsat,min_htlc_msat:B.payload.minHtlcMsat,chanPoint:B.payload.chanPoint}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,L.uO)({payload:w.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,L.jW)("all"===B.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:w.uR.FETCH_CHANNELS_LND})),(0,u.K)(z=>(this.handleErrorWithAlert("UpdateChannels",w.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+w.vv.CHANNELS_API+"/chanPolicy",z),(0,g.of)({type:w.pg.VOID})))))))),this.closeChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.CLOSE_CHANNEL_LND),(0,A.z)(B=>{this.store.dispatch((0,L.ac)({payload:B.payload.forcibly?w.m6.FORCE_CLOSE_CHANNEL:w.m6.CLOSE_CHANNEL}));let z=this.CHILD_API_URL+w.vv.CHANNELS_API+"/"+B.payload.channelPoint+"?force="+B.payload.forcibly;return B.payload.targetConf&&(z=z+"&target_conf="+B.payload.targetConf),B.payload.satPerByte&&(z=z+"&sat_per_byte="+B.payload.satPerByte),this.httpClient.delete(z).pipe((0,C.U)(W=>(this.logger.info(W),this.store.dispatch((0,L.uO)({payload:B.payload.forcibly?w.m6.FORCE_CLOSE_CHANNEL:w.m6.CLOSE_CHANNEL})),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.Z7)()),this.store.dispatch((0,I.Vv)({payload:{uiMessage:w.m6.NO_SPINNER,channelPoint:"ALL",showMessage:W.message}})),{type:w.pg.VOID})),(0,u.K)(W=>(this.handleErrorWithAlert("CloseChannel",B.payload.forcibly?w.m6.FORCE_CLOSE_CHANNEL:w.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+w.vv.CHANNELS_API+"/"+B.payload.channelPoint+"?force="+B.payload.forcibly,W),(0,g.of)({type:w.pg.VOID}))))}))),this.backupChannels=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.BACKUP_CHANNELS_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:B.payload.uiMessage})),this.store.dispatch((0,I.PC)({payload:{action:"BackupChannels",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/"+B.payload.channelPoint).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.PC)({payload:{action:"BackupChannels",status:w.Bn.COMPLETED}})),this.store.dispatch((0,L.uO)({payload:B.payload.uiMessage})),this.store.dispatch((0,L.jW)({payload:B.payload.showMessage+" "+z.message})),{type:w.uR.BACKUP_CHANNELS_RES_LND,payload:z.message})),(0,u.K)(z=>(this.handleErrorWithAlert("BackupChannels",B.payload.uiMessage,B.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/"+B.payload.channelPoint,z),(0,g.of)({type:w.pg.VOID})))))))),this.verifyChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.VERIFY_CHANNEL_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.VERIFY_CHANNEL})),this.store.dispatch((0,I.PC)({payload:{action:"VerifyChannel",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/verify/"+B.payload.channelPoint,{}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.PC)({payload:{action:"VerifyChannel",status:w.Bn.COMPLETED}})),this.store.dispatch((0,L.uO)({payload:w.m6.VERIFY_CHANNEL})),this.store.dispatch((0,L.jW)({payload:z.message})),{type:w.uR.VERIFY_CHANNEL_RES_LND,payload:z.message})),(0,u.K)(z=>(this.handleErrorWithAlert("VerifyChannel",w.m6.VERIFY_CHANNEL,"Unable to Verify Channel. Try again later.",this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/verify/"+B.payload.channelPoint,z),(0,g.of)({type:w.pg.VOID})))))))),this.restoreChannels=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.RESTORE_CHANNELS_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.RESTORE_CHANNEL})),this.store.dispatch((0,I.PC)({payload:{action:"RestoreChannels",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/restore/"+B.payload.channelPoint,{}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.PC)({payload:{action:"RestoreChannels",status:w.Bn.COMPLETED}})),this.store.dispatch((0,L.uO)({payload:w.m6.RESTORE_CHANNEL})),this.store.dispatch((0,L.jW)({payload:z.message})),this.store.dispatch((0,I.B_)({payload:z.list})),{type:w.uR.RESTORE_CHANNELS_RES_LND,payload:z.message})),(0,u.K)(z=>(this.handleErrorWithAlert("RestoreChannels",w.m6.RESTORE_CHANNEL,"Unable to Restore Channel. Try again later.",this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/restore/"+B.payload.channelPoint,z),(0,g.of)({type:w.pg.VOID})))))))),this.fetchFees=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_FEES_LND),(0,A.z)(()=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchFees",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.FEES_API))),(0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,I.PC)({payload:{action:"FetchFees",status:w.Bn.COMPLETED}})),B.forwarding_events_history&&(this.store.dispatch((0,I.QJ)({payload:B.forwarding_events_history})),delete B.forwarding_events_history),{type:w.uR.SET_FEES_LND,payload:B||{}})),(0,u.K)(B=>(this.handleErrorWithoutAlert("FetchFees",w.m6.NO_SPINNER,"Fetching Fees Failed.",B),(0,g.of)({type:w.pg.VOID}))))),this.balanceBlockchainFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_BLOCKCHAIN_BALANCE_LND),(0,A.z)(()=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchBalance",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.BALANCE_API))),(0,C.U)(B=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchBalance",status:w.Bn.COMPLETED}})),this.logger.info(B),{type:w.uR.SET_BLOCKCHAIN_BALANCE_LND,payload:B||{total_balance:""}})),(0,u.K)(B=>(this.handleErrorWithoutAlert("FetchBalance",w.m6.NO_SPINNER,"Fetching Blockchain Balance Failed.",B),(0,g.of)({type:w.pg.VOID}))))),this.networkInfoFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_NETWORK_LND),(0,A.z)(()=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchNetwork",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.NETWORK_API+"/info"))),(0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,I.PC)({payload:{action:"FetchNetwork",status:w.Bn.COMPLETED}})),{type:w.uR.SET_NETWORK_LND,payload:B||{}})),(0,u.K)(B=>(this.handleErrorWithoutAlert("FetchNetwork",w.m6.NO_SPINNER,"Fetching Network Failed.",B),(0,g.of)({type:w.pg.VOID}))))),this.channelsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_CHANNELS_LND),(0,A.z)(()=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchChannels",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.CHANNELS_API).pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,I.PC)({payload:{action:"FetchChannels",status:w.Bn.COMPLETED}})),{type:w.uR.SET_CHANNELS_LND,payload:B.channels||[]})),(0,u.K)(B=>(this.handleErrorWithoutAlert("FetchChannels",w.m6.NO_SPINNER,"Fetching Channels Failed.",B),(0,g.of)({type:w.pg.VOID})))))))),this.channelsPendingFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_PENDING_CHANNELS_LND),(0,A.z)(()=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchPendingChannels",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.CHANNELS_API+"/pending").pipe((0,C.U)(B=>{this.logger.info(B),this.store.dispatch((0,I.PC)({payload:{action:"FetchPendingChannels",status:w.Bn.COMPLETED}}));const z={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 B&&(z.total_limbo_balance=B.total_limbo_balance,B.pending_closing_channels&&(z.closing.num_channels=B.pending_closing_channels.length,z.total_channels=z.total_channels+B.pending_closing_channels.length,B.pending_closing_channels.forEach(W=>{z.closing.limbo_balance=+z.closing.limbo_balance+(W.channel.local_balance?+W.channel.local_balance:0)})),B.pending_force_closing_channels&&(z.force_closing.num_channels=B.pending_force_closing_channels.length,z.total_channels=z.total_channels+B.pending_force_closing_channels.length,B.pending_force_closing_channels.forEach(W=>{z.force_closing.limbo_balance=+z.force_closing.limbo_balance+(W.channel.local_balance?+W.channel.local_balance:0)})),B.pending_open_channels&&(z.open.num_channels=B.pending_open_channels.length,z.total_channels=z.total_channels+B.pending_open_channels.length,B.pending_open_channels.forEach(W=>{z.open.limbo_balance=+z.open.limbo_balance+(W.channel.local_balance?+W.channel.local_balance:0)})),B.waiting_close_channels&&(z.waiting_close.num_channels=B.waiting_close_channels.length,z.total_channels=z.total_channels+B.waiting_close_channels.length,B.waiting_close_channels.forEach(W=>{z.waiting_close.limbo_balance=+z.waiting_close.limbo_balance+(W.channel.local_balance?+W.channel.local_balance:0)}))),{type:w.uR.SET_PENDING_CHANNELS_LND,payload:B?{pendingChannels:B,pendingChannelsSummary:z}:{pendingChannels:{},pendingChannelsSummary:z}}}),(0,u.K)(B=>(this.handleErrorWithoutAlert("FetchPendingChannels",w.m6.NO_SPINNER,"Fetching Pending Channels Failed.",B),(0,g.of)({type:w.pg.VOID})))))))),this.channelsClosedFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_CLOSED_CHANNELS_LND),(0,A.z)(()=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchClosedChannels",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.CHANNELS_API+"/closed").pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,I.PC)({payload:{action:"FetchClosedChannels",status:w.Bn.COMPLETED}})),{type:w.uR.SET_CLOSED_CHANNELS_LND,payload:B.channels||[]})),(0,u.K)(B=>(this.handleErrorWithoutAlert("FetchClosedChannels",w.m6.NO_SPINNER,"Fetching Closed Channels Failed.",B),(0,g.of)({type:w.pg.VOID})))))))),this.invoicesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_INVOICES_LND),(0,A.z)(B=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchInvoices",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.INVOICES_API+"?num_max_invoices="+(B.payload.num_max_invoices?B.payload.num_max_invoices:100)+"&index_offset="+(B.payload.index_offset?B.payload.index_offset:0)+"&reversed="+(!!B.payload.reversed&&B.payload.reversed)).pipe((0,C.U)(it=>(this.logger.info(it),this.store.dispatch((0,I.PC)({payload:{action:"FetchInvoices",status:w.Bn.COMPLETED}})),B.payload.reversed&&!B.payload.index_offset&&(it.total_invoices=+(it.last_index_offset||0)),{type:w.uR.SET_INVOICES_LND,payload:it})),(0,u.K)(it=>(this.handleErrorWithoutAlert("FetchInvoices",w.m6.NO_SPINNER,"Fetching Invoices Failed.",it),(0,g.of)({type:w.pg.VOID})))))))),this.transactionsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_TRANSACTIONS_LND),(0,A.z)(()=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchTransactions",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.TRANSACTIONS_API))),(0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,I.PC)({payload:{action:"FetchTransactions",status:w.Bn.COMPLETED}})),{type:w.uR.SET_TRANSACTIONS_LND,payload:B||[]})),(0,u.K)(B=>(this.handleErrorWithoutAlert("FetchTransactions",w.m6.NO_SPINNER,"Fetching Transactions Failed.",B),(0,g.of)({type:w.pg.VOID}))))),this.utxosFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_UTXOS_LND),(0,O.M)(this.store.select(P.Q5)),(0,A.z)(([B,z])=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchUTXOs",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.WALLET_API+"/getUTXOs?max_confs="+(z&&z.block_height?z.block_height:1e9)))),(0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,I.PC)({payload:{action:"FetchUTXOs",status:w.Bn.COMPLETED}})),{type:w.uR.SET_UTXOS_LND,payload:B||[]})),(0,u.K)(B=>(this.handleErrorWithoutAlert("FetchUTXOs",w.m6.NO_SPINNER,"Fetching UTXOs Failed.",B),(0,g.of)({type:w.pg.VOID}))))),this.paymentsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_PAYMENTS_LND),(0,A.z)(B=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchPayments",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.PAYMENTS_API+"?max_payments="+(B.payload.max_payments?B.payload.max_payments:100)+"&index_offset="+(B.payload.index_offset?B.payload.index_offset:0)+"&reversed="+(!!B.payload.reversed&&B.payload.reversed)).pipe((0,C.U)(it=>(this.logger.info(it),this.store.dispatch((0,I.PC)({payload:{action:"FetchPayments",status:w.Bn.COMPLETED}})),{type:w.uR.SET_PAYMENTS_LND,payload:it})),(0,u.K)(it=>(this.handleErrorWithoutAlert("FetchPayments",w.m6.NO_SPINNER,"Fetching Payments Failed.",it),(0,g.of)({type:w.uR.SET_PAYMENTS_LND,payload:{payments:[]}})))))))),this.sendPayment=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SEND_PAYMENT_LND),(0,A.z)(B=>{this.store.dispatch((0,L.ac)({payload:B.payload.uiMessage})),this.store.dispatch((0,I.PC)({payload:{action:"SendPayment",status:w.Bn.INITIATED}}));const z={};return z.paymentReq=B.payload.paymentReq,B.payload.paymentAmount&&(z.paymentAmount=B.payload.paymentAmount),B.payload.outgoingChannel&&(z.outgoingChannel=B.payload.outgoingChannel.chan_id),B.payload.allowSelfPayment&&(z.allowSelfPayment=B.payload.allowSelfPayment),B.payload.lastHopPubkey&&(z.lastHopPubkey=B.payload.lastHopPubkey),B.payload.feeLimitType&&B.payload.feeLimitType!==w.Vc[0].id&&(z.feeLimit={},z.feeLimit[B.payload.feeLimitType]=B.payload.feeLimit),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_API+"/transactions",z).pipe((0,C.U)(W=>{if(this.logger.info(W),this.store.dispatch((0,L.uO)({payload:B.payload.uiMessage})),this.store.dispatch((0,I.PC)({payload:{action:"SendPayment",status:w.Bn.COMPLETED}})),W.payment_error)return B.payload.allowSelfPayment?(this.store.dispatch((0,I.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),{type:w.uR.SEND_PAYMENT_STATUS_LND,payload:W}):(B.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",B.payload.uiMessage,"Send Payment Failed.",W.payment_error):this.handleErrorWithAlert("SendPayment",B.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+w.vv.CHANNELS_API+"/transactions",W.payment_error),{type:w.pg.VOID});if(this.store.dispatch((0,L.uO)({payload:B.payload.uiMessage})),this.store.dispatch((0,I.PC)({payload:{action:"SendPayment",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.cQ)({payload:{max_payments:this.paymentsPageSize,reversed:!0}})),B.payload.allowSelfPayment)this.store.dispatch((0,I.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}}));else{let Oe="Payment Sent Successfully.";W.payment_route&&W.payment_route.total_fees_msat&&(Oe="Payment sent successfully with the total fee "+W.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,L.jW)({payload:Oe}))}return{type:w.uR.SEND_PAYMENT_STATUS_LND,payload:W}}),(0,u.K)(W=>(this.logger.error("Error: "+JSON.stringify(W)),B.payload.allowSelfPayment?(this.handleErrorWithoutAlert("SendPayment",B.payload.uiMessage,"Send Payment Failed.",W),this.store.dispatch((0,I.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),(0,g.of)({type:w.uR.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(W)}})):(B.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",B.payload.uiMessage,"Send Payment Failed.",W):this.handleErrorWithAlert("SendPayment",B.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+w.vv.CHANNELS_API+"/transactions",W),(0,g.of)({type:w.pg.VOID})))))}))),this.graphNodeFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_GRAPH_NODE_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,I.PC)({payload:{action:"FetchGraphNode",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.NETWORK_API+"/node/"+B.payload.pubkey).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,L.uO)({payload:w.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,I.PC)({payload:{action:"FetchGraphNode",status:w.Bn.COMPLETED}})),{type:w.uR.SET_GRAPH_NODE_LND,payload:z&&z.node?{node:z.node}:{node:null}})),(0,u.K)(z=>(this.handleErrorWithoutAlert("FetchGraphNode",w.m6.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",z),(0,g.of)({type:w.pg.VOID})))))))),this.setGraphNode=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SET_GRAPH_NODE_LND),(0,C.U)(B=>(this.logger.info(B.payload),B.payload))),{dispatch:!1}),this.getNewAddress=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GET_NEW_ADDRESS_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+w.vv.NEW_ADDRESS_API+"?type="+B.payload.addressId).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,L.uO)({payload:w.m6.GENERATE_NEW_ADDRESS})),{type:w.uR.SET_NEW_ADDRESS_LND,payload:z&&z.address?z.address:{}})),(0,u.K)(z=>(this.handleErrorWithAlert("GetNewAddress",w.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+w.vv.NEW_ADDRESS_API+"?type="+B.payload.addressId,z),(0,g.of)({type:w.pg.VOID})))))))),this.setNewAddress=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SET_NEW_ADDRESS_LND),(0,C.U)(B=>(this.logger.info(B.payload),B.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SET_CHANNEL_TRANSACTION_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.SEND_FUNDS})),this.store.dispatch((0,I.PC)({payload:{action:"SetChannelTransaction",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.TRANSACTIONS_API,{amount:B.payload.amount,address:B.payload.address,sendAll:B.payload.sendAll,fees:B.payload.fees,blocks:B.payload.blocks}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.PC)({payload:{action:"SetChannelTransaction",status:w.Bn.COMPLETED}})),this.store.dispatch((0,L.uO)({payload:w.m6.SEND_FUNDS})),this.store.dispatch((0,I.mC)()),this.store.dispatch((0,I.Bl)()),this.store.dispatch((0,I.UR)()),{type:w.uR.SET_CHANNEL_TRANSACTION_RES_LND,payload:z})),(0,u.K)(z=>(this.handleErrorWithoutAlert("SetChannelTransaction",w.m6.SEND_FUNDS,"Sending Fund Failed.",z),(0,g.of)({type:w.pg.VOID})))))))),this.fetchForwardingHistory=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GET_FORWARDING_HISTORY_LND),(0,A.z)(B=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchForwardingHistory",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.SWITCH_API,{num_max_events:B.payload.num_max_events,index_offset:B.payload.index_offset,end_time:B.payload.end_time,start_time:B.payload.start_time}).pipe((0,C.U)(W=>(this.logger.info(W),this.store.dispatch((0,I.PC)({payload:{action:"FetchForwardingHistory",status:w.Bn.COMPLETED}})),{type:w.uR.SET_FORWARDING_HISTORY_LND,payload:W})),(0,u.K)(W=>(this.handleErrorWithAlert("FetchForwardingHistory",w.m6.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+w.vv.SWITCH_API,W),(0,g.of)({type:w.pg.VOID})))))))),this.queryRoutesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GET_QUERY_ROUTES_LND),(0,A.z)(B=>{let z=this.CHILD_API_URL+w.vv.NETWORK_API+"/routes/"+B.payload.destPubkey+"/"+B.payload.amount;return B.payload.outgoingChanId&&(z=z+"?outgoing_chan_id="+B.payload.outgoingChanId),this.httpClient.get(z).pipe((0,C.U)(W=>(this.logger.info(W),{type:w.uR.SET_QUERY_ROUTES_LND,payload:W})),(0,u.K)(W=>(this.store.dispatch((0,I.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",w.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+w.vv.NETWORK_API,W),(0,g.of)({type:w.pg.VOID}))))}))),this.setQueryRoutes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SET_QUERY_ROUTES_LND),(0,C.U)(B=>B.payload)),{dispatch:!1}),this.genSeed=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GEN_SEED_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+w.vv.WALLET_API+"/genseed/"+B.payload).pipe((0,C.U)(z=>(this.logger.info("Generated GenSeed!"),this.logger.info(z),this.store.dispatch((0,L.uO)({payload:w.m6.GEN_SEED})),{type:w.uR.GEN_SEED_RESPONSE_LND,payload:z.cipher_seed_mnemonic})),(0,u.K)(z=>(this.handleErrorWithAlert("GenSeed",w.m6.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+w.vv.WALLET_API+"/genseed/"+B.payload,z),(0,g.of)({type:w.pg.VOID})))))))),this.updateSelNodeOptions=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.UPDATE_SELECTED_NODE_OPTIONS),(0,A.z)(()=>this.httpClient.get(this.CHILD_API_URL+w.vv.WALLET_API+"/updateSelNodeOptions").pipe((0,C.U)(B=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(B),{type:w.pg.VOID})),(0,u.K)(B=>(this.handleErrorWithAlert("UpdateSelectedNodeOptions",w.m6.NO_SPINNER,"Update macaroon for newly initialized node failed! Please check the macaroon path and restart the server!","Update Macaroon",B),(0,g.of)({type:w.pg.VOID}))))))),this.genSeedResponse=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GEN_SEED_RESPONSE_LND),(0,C.U)(B=>B.payload)),{dispatch:!1}),this.initWalletRes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.INIT_WALLET_RESPONSE_LND),(0,C.U)(B=>B.payload)),{dispatch:!1}),this.initWallet=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.INIT_WALLET_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+w.vv.WALLET_API+"/wallet/initwallet",{wallet_password:B.payload.pwd,cipher_seed_mnemonic:B.payload.cipher?B.payload.cipher:"",aezeed_passphrase:B.payload.passphrase?B.payload.passphrase:""}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,L.uO)({payload:w.m6.INITIALIZE_WALLET})),{type:w.uR.INIT_WALLET_RESPONSE_LND,payload:z})),(0,u.K)(z=>(this.handleErrorWithAlert("InitWallet",w.m6.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+w.vv.WALLET_API+"/initwallet",z),(0,g.of)({type:w.pg.VOID})))))))),this.unlockWallet=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.UNLOCK_WALLET_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+w.vv.WALLET_API+"/wallet/unlockwallet",{wallet_password:B.payload.pwd}).pipe((0,C.U)(z=>(this.logger.info(z),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,L.uO)({payload:w.m6.UNLOCK_WALLET})),this.store.dispatch((0,L.ac)({payload:w.m6.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,L.uO)({payload:w.m6.WAIT_SYNC_NODE})),this.store.dispatch((0,I.sQ)({payload:{loadPage:"HOME"}}))},5e3),{type:w.pg.VOID})),(0,u.K)(z=>(this.handleErrorWithAlert("UnlockWallet",w.m6.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+w.vv.WALLET_API+"/unlockwallet",z),(0,g.of)({type:w.pg.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.PEER_LOOKUP_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.SEARCHING_NODE})),this.store.dispatch((0,I.PC)({payload:{action:"Lookup",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.NETWORK_API+"/node/"+B.payload).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,L.uO)({payload:w.m6.SEARCHING_NODE})),this.store.dispatch((0,I.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),{type:w.uR.SET_LOOKUP_LND,payload:z})),(0,u.K)(z=>(this.handleErrorWithAlert("Lookup",w.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+w.vv.NETWORK_API+"/node/"+B.payload,z),(0,g.of)({type:w.pg.VOID})))))))),this.channelLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.CHANNEL_LOOKUP_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:B.payload.uiMessage})),this.store.dispatch((0,I.PC)({payload:{action:"Lookup",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.NETWORK_API+"/edge/"+B.payload.channelID).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,L.uO)({payload:B.payload.uiMessage})),this.store.dispatch((0,I.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),{type:w.uR.SET_LOOKUP_LND,payload:z})),(0,u.K)(z=>(this.handleErrorWithAlert("Lookup",B.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+w.vv.NETWORK_API+"/edge/"+B.payload.channelID,z),(0,g.of)({type:w.pg.VOID})))))))),this.invoiceLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.INVOICE_LOOKUP_LND),(0,A.z)(B=>{this.store.dispatch((0,L.ac)({payload:w.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.PC)({payload:{action:"Lookup",status:w.Bn.INITIATED}}));let z=this.CHILD_API_URL+w.vv.INVOICES_API+"/lookup";return z=B.payload.paymentAddress&&""!==B.payload.paymentAddress?z+"?payment_addr="+B.payload.paymentAddress:z+"?payment_hash="+B.payload.paymentHash,this.httpClient.get(z).pipe((0,C.U)(W=>(this.logger.info(W),this.store.dispatch((0,L.uO)({payload:w.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.aL)({payload:W})),{type:w.uR.SET_LOOKUP_LND,payload:W})),(0,u.K)(W=>(this.store.dispatch((0,I.PC)({payload:{action:"Lookup",status:w.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",w.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",W),B.payload.openSnackBar&&this.store.dispatch((0,L.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,g.of)({type:w.uR.SET_LOOKUP_LND,payload:{error:W}}))))}))),this.paymentLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.PAYMENT_LOOKUP_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,I.PC)({payload:{action:"Lookup",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.PAYMENTS_API+"/lookup/"+B.payload).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,L.uO)({payload:w.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,I.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.qY)({payload:z})),{type:w.uR.SET_LOOKUP_LND,payload:z})),(0,u.K)(z=>(this.store.dispatch((0,I.PC)({payload:{action:"Lookup",status:w.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",w.m6.SEARCHING_PAYMENT,"Payment Lookup Failed",z),(0,g.of)({type:w.uR.SET_LOOKUP_LND,payload:{error:z}})))))))),this.setLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SET_LOOKUP_LND),(0,C.U)(B=>(this.logger.info(B.payload),B.payload))),{dispatch:!1}),this.getRestoreChannelList=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.RESTORE_CHANNELS_LIST_LND),(0,A.z)(()=>(this.store.dispatch((0,I.PC)({payload:{action:"RestoreChannelsList",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/restore/list").pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,I.PC)({payload:{action:"RestoreChannelsList",status:w.Bn.COMPLETED}})),{type:w.uR.SET_RESTORE_CHANNELS_LIST_LND,payload:B||{all_restore_exists:!1,files:[]}})),(0,u.K)(B=>(this.handleErrorWithAlert("RestoreChannelsList",w.m6.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API,B),(0,g.of)({type:w.pg.VOID})))))))),this.setRestoreChannelList=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SET_RESTORE_CHANNELS_LIST_LND),(0,C.U)(B=>(this.logger.info(B.payload),B.payload))),{dispatch:!1}),this.allLightningTransactionsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),(0,A.z)(()=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchLightningTransactions",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.PAYMENTS_API+"/alltransactions").pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,I.PC)({payload:{action:"FetchLightningTransactions",status:w.Bn.COMPLETED}})),{type:w.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:B})),(0,u.K)(B=>(this.handleErrorWithoutAlert("FetchLightningTransactions",w.m6.NO_SPINNER,"Fetching All Lightning Transaction Failed.",B),(0,g.of)({type:w.pg.VOID})))))))),this.pageSettingsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_PAGE_SETTINGS_LND),(0,A.z)(()=>(this.store.dispatch((0,I.PC)({payload:{action:"FetchPageSettings",status:w.Bn.INITIATED}})),this.httpClient.get(w.vv.PAGE_SETTINGS_API).pipe((0,C.U)(B=>{var z,W,Oe,it;return this.logger.info(B),this.store.dispatch((0,I.PC)({payload:{action:"FetchPageSettings",status:w.Bn.COMPLETED}})),this.invoicesPageSize=(B&&Object.keys(B).length>0?null===(z=B.find(Ne=>"transactions"===Ne.pageId))||void 0===z?void 0:z.tables.find(Ne=>"invoices"===Ne.tableId):null===(W=w.gK.find(Ne=>"transactions"===Ne.pageId))||void 0===W?void 0:W.tables.find(Ne=>"invoices"===Ne.tableId)).recordsPerPage,this.paymentsPageSize=(B&&Object.keys(B).length>0?null===(Oe=B.find(Ne=>"transactions"===Ne.pageId))||void 0===Oe?void 0:Oe.tables.find(Ne=>"payments"===Ne.tableId):null===(it=w.gK.find(Ne=>"transactions"===Ne.pageId))||void 0===it?void 0:it.tables.find(Ne=>"payments"===Ne.tableId)).recordsPerPage,this.store.dispatch((0,I.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),{type:w.uR.SET_PAGE_SETTINGS_LND,payload:B||[]}}),(0,u.K)(B=>(this.handleErrorWithoutAlert("FetchPageSettings",w.m6.NO_SPINNER,"Fetching Page Settings Failed.",B),(0,g.of)({type:w.pg.VOID})))))))),this.savePageSettings=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SAVE_PAGE_SETTINGS_LND),(0,A.z)(B=>(this.store.dispatch((0,L.ac)({payload:w.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.PC)({payload:{action:"SavePageSettings",status:w.Bn.INITIATED}})),this.httpClient.post(w.vv.PAGE_SETTINGS_API,B.payload).pipe((0,C.U)(z=>{var W,Oe,it,Ne;this.logger.info(z),this.store.dispatch((0,I.PC)({payload:{action:"SavePageSettings",status:w.Bn.COMPLETED}})),this.store.dispatch((0,L.uO)({payload:w.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,L.jW)({payload:"Page Layout Updated Successfully!"}));const ot=((null===(W=z.find(ve=>"transactions"===ve.pageId))||void 0===W?void 0:W.tables.find(ve=>"invoices"===ve.tableId))||(null===(Oe=w.gK.find(ve=>"transactions"===ve.pageId))||void 0===Oe?void 0:Oe.tables.find(ve=>"invoices"===ve.tableId))).recordsPerPage,Ie=((null===(it=z.find(ve=>"transactions"===ve.pageId))||void 0===it?void 0:it.tables.find(ve=>"payments"===ve.tableId))||(null===(Ne=w.gK.find(ve=>"transactions"===ve.pageId))||void 0===Ne?void 0:Ne.tables.find(ve=>"payments"===ve.tableId))).recordsPerPage;return ot!==this.invoicesPageSize&&(this.invoicesPageSize=ot,this.store.dispatch((0,I.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}}))),Ie!==this.paymentsPageSize&&(this.paymentsPageSize=Ie),{type:w.uR.SET_PAGE_SETTINGS_LND,payload:z||[]}}),(0,u.K)(z=>(this.handleErrorWithAlert("SavePageSettings",w.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",w.vv.PAGE_SETTINGS_API,z),(0,g.of)({type:w.pg.VOID})))))))),this.store.select(P.yA).pipe((0,o.R)(this.unSubs[0])).subscribe(B=>{B.FetchInfo.status!==w.Bn.COMPLETED&&B.FetchInfo.status!==w.Bn.ERROR||B.FetchFees.status!==w.Bn.COMPLETED&&B.FetchFees.status!==w.Bn.ERROR||B.FetchBalanceBlockchain.status!==w.Bn.COMPLETED&&B.FetchBalanceBlockchain.status!==w.Bn.ERROR||B.FetchAllChannels.status!==w.Bn.COMPLETED&&B.FetchAllChannels.status!==w.Bn.ERROR||B.FetchPendingChannels.status!==w.Bn.COMPLETED&&B.FetchPendingChannels.status!==w.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,L.uO)({payload:w.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.lndWSMessages.pipe((0,o.R)(this.unSubs[1])).subscribe(B=>{this.logger.info("Received new message from the service: "+JSON.stringify(B)),B&&(B.type===w.g8.INVOICE?(this.logger.info(B),B&&B.result&&B.result.payment_request&&this.store.dispatch((0,I.aL)({payload:B.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(B)))})}initializeRemainingData(i,r){this.sessionService.setItem("lndUnlocked","true");const h={identity_pubkey:i.identity_pubkey,alias:i.alias,testnet:i.testnet,chains:i.chains,uris:i.uris,version:i.version?i.version.split(" ")[0]:""};this.store.dispatch((0,L.ac)({payload:w.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,L._V)({payload:h}));let c=this.location.path();c.includes("/cln/")?c=c?.replace("/cln/","/lnd/"):c.includes("/ecl/")&&(c=c?.replace("/ecl/","/lnd/")),(c.includes("/unlock")||c.includes("/login")||c.includes("/error")||""===c||"HOME"===r||c.includes("?access-key="))&&(c="/lnd/home"),this.router.navigate([c]),this.store.dispatch((0,I.wD)()),this.store.dispatch((0,I.Bl)()),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.Z7)()),this.store.dispatch((0,I.Zh)()),this.store.dispatch((0,I.$W)()),this.store.dispatch((0,I.Rv)()),this.store.dispatch((0,I.SN)()),this.store.dispatch((0,I.cQ)({payload:{max_payments:1e5,reversed:!0}}))}handleErrorWithoutAlert(i,r,h,c){this.logger.error("ERROR IN: "+i+"\n"+JSON.stringify(c)),401===c.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,L.ts)()),this.store.dispatch((0,L.kS)()),this.store.dispatch((0,L.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,L.uO)({payload:r})),this.store.dispatch((0,I.PC)({payload:{action:i,status:w.Bn.ERROR,statusCode:c.status.toString(),message:this.commonService.extractErrorMessage(c,h)}})))}handleErrorWithAlert(i,r,h,c,y){if(this.logger.error(y),401===y.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,L.ts)()),this.store.dispatch((0,L.kS)()),this.store.dispatch((0,L.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,L.uO)({payload:r}));const S=this.commonService.extractErrorMessage(y);this.store.dispatch((0,L.qR)({payload:{data:{type:"ERROR",alertTitle:h,message:{code:y.status,message:S,URL:c},component:M.H}}})),this.store.dispatch((0,I.PC)({payload:{action:i,status:w.Bn.ERROR,statusCode:y.status.toString(),message:S,URL:c}}))}}ngOnDestroy(){this.unSubs.forEach(i=>{i.next(null),i.complete()})}}return he.\u0275fac=function(i){return new(i||he)(U.LFG(t.eX),U.LFG(Z.eN),U.LFG(Y.yh),U.LFG(j.mQ),U.LFG(X.v),U.LFG(ee.m),U.LFG(ue.uw),U.LFG(le.F0),U.LFG(ie.d),U.LFG(ce.Ye))},he.\u0275prov=U.Yz7({token:he,factory:he.\u0275fac}),he})()},6529:(Ge,Q,m)=>{"use strict";m.d(Q,{$k:()=>g,Bo:()=>O,Ef:()=>I,JG:()=>M,N7:()=>ue,P2:()=>Y,PP:()=>d,Pr:()=>A,Q5:()=>o,T4:()=>ee,Wi:()=>w,ZW:()=>P,_f:()=>ie,bx:()=>ce,dx:()=>L,l5:()=>le,ni:()=>Z,qU:()=>j,yA:()=>u});var t=m(9653);const e=(0,t.ZF)("lnd"),g=(0,t.P1)(e,se=>se.nodeSettings),A=(0,t.P1)(e,se=>({pageSettings:se.pageSettings,apiCallStatus:se.apisCallStatus.FetchPageSettings})),o=(0,t.P1)(e,se=>se.information),u=((0,t.P1)(e,se=>({information:se.information,apiCallStatus:se.apisCallStatus.FetchInfo})),(0,t.P1)(e,se=>se.apisCallStatus)),O=(0,t.P1)(e,se=>({forwardingHistory:se.forwardingHistory,apiCallStatus:se.apisCallStatus.FetchForwardingHistory})),d=(0,t.P1)(e,se=>({listPayments:se.listPayments,apiCallStatus:se.apisCallStatus.FetchPayments})),M=(0,t.P1)(e,se=>({fees:se.fees,apiCallStatus:se.apisCallStatus.FetchFees})),w=(0,t.P1)(e,se=>({peers:se.peers,apiCallStatus:se.apisCallStatus.FetchPeers})),L=(0,t.P1)(e,se=>({transactions:se.transactions,apiCallStatus:se.apisCallStatus.FetchTransactions})),I=(0,t.P1)(e,se=>({listInvoices:se.listInvoices,apiCallStatus:se.apisCallStatus.FetchInvoices})),P=(0,t.P1)(e,se=>({channels:se.channels,channelsSummary:se.channelsSummary,lightningBalance:se.lightningBalance,apiCallStatus:se.apisCallStatus.FetchAllChannels})),Z=((0,t.P1)(e,se=>({channelsSummary:se.channelsSummary,pendingChannels:se.pendingChannels,closedChannels:se.closedChannels,apiCallStatus:se.apisCallStatus.FetchAllChannels})),(0,t.P1)(e,se=>({pendingChannels:se.pendingChannels,pendingChannelsSummary:se.pendingChannelsSummary,apiCallStatus:se.apisCallStatus.FetchPendingChannels}))),Y=(0,t.P1)(e,se=>({closedChannels:se.closedChannels,apiCallStatus:se.apisCallStatus.FetchClosedChannels})),j=(0,t.P1)(e,se=>({blockchainBalance:se.blockchainBalance,apiCallStatus:se.apisCallStatus.FetchBalanceBlockchain})),ee=((0,t.P1)(e,se=>({lightningBalance:se.lightningBalance,apiCallStatus:se.apisCallStatus.FetchAllChannels})),(0,t.P1)(e,se=>({utxos:se.utxos,apiCallStatus:se.apisCallStatus.FetchUTXOs}))),ue=(0,t.P1)(e,se=>({networkInfo:se.networkInfo,apiCallStatus:se.apisCallStatus.FetchNetwork})),le=(0,t.P1)(e,se=>({allLightningTransactions:se.allLightningTransactions,apiCallStatus:se.apisCallStatus.FetchLightningTransactions})),ie=(0,t.P1)(e,se=>({channels:se.channels,pendingChannels:se.pendingChannels,closedChannels:se.closedChannels})),ce=(0,t.P1)(e,se=>({information:se.information,nodeSettings:se.nodeSettings,apiCallStatus:se.apisCallStatus.FetchInfo}))},8627:(Ge,Q,m)=>{"use strict";m.d(Q,{v:()=>xe});var t=m(7274),e=m(2687),g=m(7579),A=m(2722),o=m(7731),C=m(6529),u=m(4650),O=m(5043),d=m(62),M=m(7009),w=m(9653),L=m(6895),I=m(2216),P=m(1576),U=m(5829),Z=m(4859),Y=m(3546),j=m(752),X=m(7392),ee=m(4850),ue=m(1572),le=m(266),ie=m(658),ce=m(5199),se=m(3390);const he=["scrollContainer"];function E(ke,ft){if(1&ke&&u._UZ(0,"qr-code",33),2&ke){const _t=u.oxw();u.Q6J("value",null==_t.invoice?null:_t.invoice.payment_request)("size",_t.qrWidth)("errorCorrectionLevel","L")}}function i(ke,ft){1&ke&&(u.TgZ(0,"span",34),u._uU(1,"N/A"),u.qZA())}function r(ke,ft){if(1&ke&&u._UZ(0,"qr-code",33),2&ke){const _t=u.oxw();u.Q6J("value",null==_t.invoice?null:_t.invoice.payment_request)("size",_t.qrWidth)("errorCorrectionLevel","L")}}function h(ke,ft){1&ke&&(u.TgZ(0,"span",35),u._uU(1,"QR Code Not Applicable"),u.qZA())}function c(ke,ft){1&ke&&u._UZ(0,"mat-divider",22),2&ke&&u.Q6J("inset",!0)}function y(ke,ft){1&ke&&(u.ynx(0),u._uU(1," (zero amount) "),u.BQk())}function S(ke,ft){1&ke&&u._UZ(0,"span",41)}const k=function(){return[]};function v(ke,ft){if(1&ke&&(u.TgZ(0,"div",37)(1,"div",38)(2,"span",39),u._uU(3),u.ALo(4,"number"),u.qZA(),u.YNc(5,S,1,0,"span",40),u.qZA()()),2&ke){const _t=u.oxw(2);u.xp6(3),u.hij("",u.lcZ(4,2,null==_t.invoice?null:_t.invoice.amt_paid_sat)," Sats"),u.xp6(2),u.Q6J("ngForOf",u.DdM(4,k).constructor(35))}}function n(ke,ft){if(1&ke&&(u.TgZ(0,"div"),u._uU(1),u.ALo(2,"number"),u.qZA()),2&ke){const _t=u.oxw(2);u.xp6(1),u.hij("",u.lcZ(2,1,null==_t.invoice?null:_t.invoice.amt_paid_sat)," Sats")}}function b(ke,ft){if(1&ke&&(u.ynx(0),u.YNc(1,v,6,5,"div",36),u.YNc(2,n,3,3,"div",21),u.BQk()),2&ke){const _t=u.oxw();u.xp6(1),u.Q6J("ngIf",_t.flgInvoicePaid),u.xp6(1),u.Q6J("ngIf",!_t.flgInvoicePaid)}}function B(ke,ft){1&ke&&(u.TgZ(0,"span"),u._uU(1,"-"),u.qZA())}function z(ke,ft){1&ke&&u._UZ(0,"mat-spinner",43),2&ke&&u.Q6J("diameter",20)}function W(ke,ft){if(1&ke&&(u.ynx(0),u.YNc(1,B,2,0,"span",21),u.YNc(2,z,1,1,"mat-spinner",42),u.BQk()),2&ke){const _t=u.oxw();u.xp6(1),u.Q6J("ngIf","OPEN"!==(null==_t.invoice?null:_t.invoice.state)||!_t.flgVersionCompatible),u.xp6(1),u.Q6J("ngIf","OPEN"===(null==_t.invoice?null:_t.invoice.state)&&_t.flgVersionCompatible)}}function Oe(ke,ft){1&ke&&u.GkF(0)}function it(ke,ft){if(1&ke&&(u.TgZ(0,"div"),u.YNc(1,Oe,1,0,"ng-container",44),u.qZA()),2&ke){u.oxw();const _t=u.MAs(79);u.xp6(1),u.Q6J("ngTemplateOutlet",_t)}}function Ne(ke,ft){if(1&ke){const _t=u.EpF();u.TgZ(0,"div",45)(1,"button",46),u.NdJ("click",function(){u.CHM(_t);const nt=u.oxw();return u.KtG(nt.onScrollDown())}),u.TgZ(2,"mat-icon",47),u._uU(3,"arrow_downward"),u.qZA()()()}}function ot(ke,ft){1&ke&&(u.TgZ(0,"p"),u._uU(1,"Show Advanced"),u.qZA())}function Ie(ke,ft){1&ke&&(u.TgZ(0,"p"),u._uU(1,"Hide Advanced"),u.qZA())}function ve(ke,ft){if(1&ke){const _t=u.EpF();u.TgZ(0,"button",48),u.NdJ("copied",function(nt){u.CHM(_t);const Jt=u.oxw();return u.KtG(Jt.onCopyPayment(nt))}),u._uU(1),u.qZA()}if(2&ke){const _t=u.oxw();u.Q6J("payload",null==_t.invoice?null:_t.invoice.payment_request),u.xp6(1),u.Oqu(_t.screenSize===_t.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function fe(ke,ft){if(1&ke){const _t=u.EpF();u.TgZ(0,"button",49),u.NdJ("click",function(){u.CHM(_t);const nt=u.oxw();return u.KtG(nt.onClose())}),u._uU(1,"OK"),u.qZA()}}const Se=function(ke){return{"mr-0":ke}};function te(ke,ft){if(1&ke&&u._UZ(0,"span",64),2&ke){const _t=u.oxw(4);u.Q6J("ngClass",u.VKq(1,Se,_t.screenSize===_t.screenSizeEnum.XS))}}function Ke(ke,ft){if(1&ke&&u._UZ(0,"span",65),2&ke){const _t=u.oxw(4);u.Q6J("ngClass",u.VKq(1,Se,_t.screenSize===_t.screenSizeEnum.XS))}}function Ae(ke,ft){if(1&ke&&u._UZ(0,"span",66),2&ke){const _t=u.oxw(4);u.Q6J("ngClass",u.VKq(1,Se,_t.screenSize===_t.screenSizeEnum.XS))}}function oe(ke,ft){if(1&ke&&(u.TgZ(0,"div",53)(1,"div",58)(2,"span",59),u.YNc(3,te,1,3,"span",60),u.YNc(4,Ke,1,3,"span",61),u.YNc(5,Ae,1,3,"span",62),u._uU(6),u.qZA(),u.TgZ(7,"span",63),u._uU(8),u.ALo(9,"number"),u.qZA()(),u._UZ(10,"mat-divider",22),u.qZA()),2&ke){const _t=ft.$implicit,ct=u.oxw(3);u.xp6(3),u.Q6J("ngIf","SETTLED"===_t.state),u.xp6(1),u.Q6J("ngIf","ACCEPTED"===_t.state),u.xp6(1),u.Q6J("ngIf","CANCELED"===_t.state),u.xp6(1),u.hij(" ",_t.chan_id," "),u.xp6(2),u.Oqu(u.xi3(9,6,+_t.amt_msat/1e3||0,ct.getDecimalFormat(_t))),u.xp6(2),u.Q6J("inset",!0)}}function ye(ke,ft){if(1&ke){const _t=u.EpF();u.TgZ(0,"div",17)(1,"mat-expansion-panel",51),u.NdJ("opened",function(){u.CHM(_t);const nt=u.oxw(2);return u.KtG(nt.flgOpened=!0)})("closed",function(){u.CHM(_t);const nt=u.oxw(2);return u.KtG(nt.onExpansionClosed())}),u.TgZ(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),u._uU(5,"HTLCs"),u.qZA()()(),u.TgZ(6,"div",53)(7,"div",54)(8,"span",55),u._uU(9,"Channel ID"),u.qZA(),u.TgZ(10,"span",56),u._uU(11,"Amount (Sats)"),u.qZA()(),u._UZ(12,"mat-divider",22),u.YNc(13,oe,11,9,"div",57),u.qZA()()()}if(2&ke){const _t=u.oxw(2);u.xp6(12),u.Q6J("inset",!0),u.xp6(1),u.Q6J("ngForOf",null==_t.invoice?null:_t.invoice.htlcs)}}function me(ke,ft){1&ke&&u._UZ(0,"mat-divider",22),2&ke&&u.Q6J("inset",!0)}function Me(ke,ft){if(1&ke&&(u._UZ(0,"mat-divider",22),u.TgZ(1,"div",17)(2,"div",23)(3,"h4",19),u._uU(4,"Preimage"),u.qZA(),u.TgZ(5,"span",24),u._uU(6),u.qZA()()(),u._UZ(7,"mat-divider",22),u.TgZ(8,"div",17)(9,"div",18)(10,"h4",19),u._uU(11,"State"),u.qZA(),u.TgZ(12,"span",24),u._uU(13),u.qZA()(),u.TgZ(14,"div",18)(15,"h4",19),u._uU(16,"Expiry"),u.qZA(),u.TgZ(17,"span",24),u._uU(18),u.ALo(19,"date"),u.qZA()()(),u._UZ(20,"mat-divider",22),u.TgZ(21,"div",17)(22,"div",18)(23,"h4",19),u._uU(24,"Private Routing Hints"),u.qZA(),u.TgZ(25,"span",24),u._uU(26),u.qZA()(),u.TgZ(27,"div",18)(28,"h4",19),u._uU(29,"AMP Invoice"),u.qZA(),u.TgZ(30,"span",24),u._uU(31),u.qZA()()(),u._UZ(32,"mat-divider",22),u.YNc(33,ye,14,2,"div",50),u.YNc(34,me,1,1,"mat-divider",14)),2&ke){const _t=u.oxw();u.Q6J("inset",!0),u.xp6(6),u.Oqu((null==_t.invoice?null:_t.invoice.r_preimage)||"-"),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu(null==_t.invoice?null:_t.invoice.state),u.xp6(5),u.Oqu(u.xi3(19,11,1e3*(+(null==_t.invoice?null:_t.invoice.creation_date)+ +(null==_t.invoice?null:_t.invoice.expiry)),"dd/MMM/y HH:mm")),u.xp6(2),u.Q6J("inset",!0),u.xp6(6),u.Oqu(null!=_t.invoice&&_t.invoice.private?"Yes":"No"),u.xp6(5),u.Oqu(null!=_t.invoice&&_t.invoice.is_amp?"Yes":"No"),u.xp6(1),u.Q6J("inset",!0),u.xp6(1),u.Q6J("ngIf",(null==_t.invoice?null:_t.invoice.htlcs)&&(null==_t.invoice?null:_t.invoice.htlcs.length)>0),u.xp6(1),u.Q6J("ngIf",(null==_t.invoice?null:_t.invoice.htlcs)&&(null==_t.invoice?null:_t.invoice.htlcs.length)>0)}}const Ze=function(ke){return{"display-none":ke}},q=function(ke){return{"xs-scroll-y":ke}},de=function(ke){return{"h-50":ke}};let xe=(()=>{class ke{constructor(_t,ct,nt,Jt,vt,ne){this.dialogRef=_t,this.data=ct,this.logger=nt,this.commonService=Jt,this.snackBar=vt,this.store=ne,this.faReceipt=e.dLy,this.showAdvanced=!1,this.newlyAdded=!1,this.invoice=null,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=o.cu,this.flgOpened=!1,this.flgInvoicePaid=!1,this.flgVersionCompatible=!0,this.unSubs=[new g.x,new g.x,new g.x,new g.x,new g.x]}set container(_t){_t&&(this.scrollContainer=_t)}ngOnInit(){this.invoice=JSON.parse(JSON.stringify(this.data.invoice)),this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===o.cu.XS&&(this.qrWidth=220),this.store.select(C.Q5).pipe((0,A.R)(this.unSubs[0])).subscribe(ct=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(ct.version,"0.11.0")});const _t=JSON.parse(JSON.stringify(this.invoice));this.store.select(C.Ef).pipe((0,A.R)(this.unSubs[1])).subscribe(ct=>{var nt,Jt,vt;const ne=null===(nt=this.invoice)||void 0===nt?void 0:nt.state,De=(ct.listInvoices.invoices||[]).find(ze=>ze.r_hash===_t.r_hash)||null;De&&(this.invoice=De),ne!==(null===(Jt=this.invoice)||void 0===Jt?void 0:Jt.state)&&"SETTLED"===(null===(vt=this.invoice)||void 0===vt?void 0:vt.state)&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(ct)})}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(_t){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+_t)}getDecimalFormat(_t){return _t.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(_t=>{_t.next(null),_t.complete()})}}return ke.\u0275fac=function(_t){return new(_t||ke)(u.Y36(t.so),u.Y36(t.WI),u.Y36(O.mQ),u.Y36(d.v),u.Y36(M.ux),u.Y36(w.yh))},ke.\u0275cmp=u.Xpm({type:ke,selectors:[["rtl-invoice-information"]],viewQuery:function(_t,ct){if(1&_t&&u.Gf(he,5),2&_t){let nt;u.iGM(nt=u.CRH())&&(ct.container=nt.first)}},decls:80,vars:49,consts:[["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"],["scrollContainer",""],["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"],["hideAdvancedText",""],["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"],["advancedBlock",""],[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,"payload","copied"],["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(_t,ct){if(1&_t&&(u.TgZ(0,"div",0)(1,"div",1),u.YNc(2,E,1,3,"qr-code",2),u.YNc(3,i,2,0,"span",3),u.qZA(),u.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),u._UZ(7,"fa-icon",7),u.TgZ(8,"span",8),u._uU(9),u.qZA()(),u.TgZ(10,"button",9),u.NdJ("click",function(){return ct.onClose()}),u._uU(11,"X"),u.qZA()(),u.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),u.YNc(15,r,1,3,"qr-code",2),u.YNc(16,h,2,0,"span",13),u.qZA(),u.YNc(17,c,1,1,"mat-divider",14),u.TgZ(18,"div",15,16)(20,"div",17)(21,"div",18)(22,"h4",19),u._uU(23),u.qZA(),u.TgZ(24,"span",20),u._uU(25),u.ALo(26,"number"),u.YNc(27,y,2,0,"ng-container",21),u.qZA()(),u.TgZ(28,"div",18)(29,"h4",19),u._uU(30,"Amount Settled"),u.qZA(),u.TgZ(31,"span",20),u.YNc(32,b,3,2,"ng-container",21),u.YNc(33,W,3,2,"ng-container",21),u.qZA()()(),u._UZ(34,"mat-divider",22),u.TgZ(35,"div",17)(36,"div",18)(37,"h4",19),u._uU(38,"Date Created"),u.qZA(),u.TgZ(39,"span",20),u._uU(40),u.ALo(41,"date"),u.qZA()(),u.TgZ(42,"div",18)(43,"h4",19),u._uU(44,"Date Settled"),u.qZA(),u.TgZ(45,"span",20),u._uU(46),u.ALo(47,"date"),u.qZA()()(),u._UZ(48,"mat-divider",22),u.TgZ(49,"div",17)(50,"div",23)(51,"h4",19),u._uU(52,"Memo"),u.qZA(),u.TgZ(53,"span",20),u._uU(54),u.qZA()()(),u._UZ(55,"mat-divider",22),u.TgZ(56,"div",17)(57,"div",23)(58,"h4",19),u._uU(59,"Payment Request"),u.qZA(),u.TgZ(60,"span",24),u._uU(61),u.qZA()()(),u._UZ(62,"mat-divider",22),u.TgZ(63,"div",17)(64,"div",23)(65,"h4",19),u._uU(66,"Payment Hash"),u.qZA(),u.TgZ(67,"span",24),u._uU(68),u.qZA()()(),u.YNc(69,it,2,1,"div",21),u.qZA()()(),u.YNc(70,Ne,4,0,"div",25),u.TgZ(71,"div",26)(72,"button",27),u.NdJ("click",function(){return ct.onShowAdvanced()}),u.YNc(73,ot,2,0,"p",28),u.YNc(74,Ie,2,0,"ng-template",null,29,u.W1O),u.qZA(),u.YNc(76,ve,2,2,"button",30),u.YNc(77,fe,2,0,"button",31),u.qZA()()(),u.YNc(78,Me,35,14,"ng-template",null,32,u.W1O)),2&_t){const nt=u.MAs(75);u.xp6(1),u.Q6J("fxLayoutAlign",null!=ct.invoice&&ct.invoice.payment_request&&""!==(null==ct.invoice?null:ct.invoice.payment_request)?"center start":"center center")("ngClass",u.VKq(41,Ze,ct.screenSize===ct.screenSizeEnum.XS||ct.screenSize===ct.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==ct.invoice?null:ct.invoice.payment_request)&&""!==(null==ct.invoice?null:ct.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",!(null!=ct.invoice&&ct.invoice.payment_request)||""===(null==ct.invoice?null:ct.invoice.payment_request)),u.xp6(4),u.Q6J("icon",ct.faReceipt),u.xp6(2),u.Oqu(ct.screenSize===ct.screenSizeEnum.XS?ct.newlyAdded?"Created":"Invoice":ct.newlyAdded?"Invoice Created":"Invoice Information"),u.xp6(3),u.Q6J("ngClass",u.VKq(43,q,ct.screenSize===ct.screenSizeEnum.XS)),u.xp6(2),u.Q6J("fxLayoutAlign",null!=ct.invoice&&ct.invoice.payment_request&&""!==(null==ct.invoice?null:ct.invoice.payment_request)?"center start":"center center")("ngClass",u.VKq(45,Ze,ct.screenSize!==ct.screenSizeEnum.XS&&ct.screenSize!==ct.screenSizeEnum.SM)),u.xp6(1),u.Q6J("ngIf",(null==ct.invoice?null:ct.invoice.payment_request)&&""!==(null==ct.invoice?null:ct.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",!(null!=ct.invoice&&ct.invoice.payment_request)||""===(null==ct.invoice?null:ct.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",ct.screenSize===ct.screenSizeEnum.XS||ct.screenSize===ct.screenSizeEnum.SM),u.xp6(1),u.Q6J("ngClass",u.VKq(47,de,(null==ct.invoice?null:ct.invoice.htlcs)&&(null==ct.invoice?null:ct.invoice.htlcs.length)>0&&ct.showAdvanced)),u.xp6(5),u.Oqu(ct.screenSize===ct.screenSizeEnum.XS?"Amount":"Amount Requested"),u.xp6(2),u.hij("",u.lcZ(26,33,(null==ct.invoice?null:ct.invoice.value)||0)," Sats"),u.xp6(2),u.Q6J("ngIf",!(null!=ct.invoice&&ct.invoice.value)||"0"===(null==ct.invoice?null:ct.invoice.value)),u.xp6(5),u.Q6J("ngIf",(null==ct.invoice?null:ct.invoice.amt_paid_sat)&&"OPEN"!==(null==ct.invoice?null:ct.invoice.state)),u.xp6(1),u.Q6J("ngIf",!(null!=ct.invoice&&ct.invoice.amt_paid_sat)||"0"===(null==ct.invoice?null:ct.invoice.amt_paid_sat)),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu(u.xi3(41,35,1e3*(null==ct.invoice?null:ct.invoice.creation_date),"dd/MMM/y HH:mm")),u.xp6(6),u.Oqu(0!=+(null==ct.invoice?null:ct.invoice.settle_date)?u.xi3(47,38,1e3*+(null==ct.invoice?null:ct.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),u.xp6(2),u.Q6J("inset",!0),u.xp6(6),u.Oqu(null==ct.invoice?null:ct.invoice.memo),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu((null==ct.invoice?null:ct.invoice.payment_request)||"N/A"),u.xp6(1),u.Q6J("inset",!0),u.xp6(6),u.Oqu((null==ct.invoice?null:ct.invoice.r_hash)||""),u.xp6(1),u.Q6J("ngIf",ct.showAdvanced),u.xp6(1),u.Q6J("ngIf",(null==ct.invoice?null:ct.invoice.htlcs)&&(null==ct.invoice?null:ct.invoice.htlcs.length)>0&&ct.showAdvanced&&ct.flgOpened),u.xp6(3),u.Q6J("ngIf",!ct.showAdvanced)("ngIfElse",nt),u.xp6(3),u.Q6J("ngIf",(null==ct.invoice?null:ct.invoice.payment_request)&&""!==(null==ct.invoice?null:ct.invoice.payment_request)),u.xp6(1),u.Q6J("ngIf",!(null!=ct.invoice&&ct.invoice.payment_request)||""===(null==ct.invoice?null:ct.invoice.payment_request))}},dependencies:[L.mk,L.sg,L.O5,L.tP,I.BN,P.xw,P.Wh,P.yH,U.oO,Z.lW,Z.nh,Y.dn,Y.dk,j.ib,j.yz,j.yK,X.Hw,ee.d,ue.Ou,le.gM,ie.uU,ce.y,se.h,L.JJ,L.uU]}),ke})()},7772:(Ge,Q,m)=>{"use strict";m.d(Q,{J:()=>g,_:()=>e});var t=m(7340);const e=[(0,t.X$)("opacityAnimation",[(0,t.eR)(":enter",[(0,t.oB)({opacity:0}),(0,t.jt)("1000ms ease-in",(0,t.oB)({opacity:1}))]),(0,t.eR)(":leave",[(0,t.jt)("0ms",(0,t.oB)({opacity:0}))])])],g=[(0,t.X$)("fadeIn",[(0,t.eR)("void => *",[]),(0,t.eR)("* => void",[]),(0,t.eR)("* => *",[(0,t.jt)(800,(0,t.F4)([(0,t.oB)({opacity:0,transform:"translateY(100%)"}),(0,t.oB)({opacity:1,transform:"translateY(0%)"})]))])])]},8878:(Ge,Q,m)=>{"use strict";m.d(Q,{g:()=>e});var t=m(7340);const e=(0,t.X$)("routeAnimation",[(0,t.eR)("* => *",[(0,t.IO)(":enter, :leave",(0,t.oB)({position:"fixed",width:"100%"}),{optional:!0}),(0,t.ru)([(0,t.IO)(":enter",[(0,t.oB)({transform:"translateX(100%)"}),(0,t.jt)("1000ms ease-in-out",(0,t.oB)({transform:"translateX(0%)"}))],{optional:!0}),(0,t.IO)(":leave",[(0,t.oB)({transform:"translateX(0%)"}),(0,t.jt)("1000ms ease-in-out",(0,t.oB)({transform:"translateX(-100%)"}))],{optional:!0})])])])},113:(Ge,Q,m)=>{"use strict";m.d(Q,{l:()=>e});var t=m(7340);const e=[(0,t.X$)("sliderAnimation",[(0,t.SB)("*",(0,t.oB)({transform:"translateX(0)"})),(0,t.eR)("void => backward",[(0,t.oB)({transform:"translateX(-100%"}),(0,t.jt)("800ms")]),(0,t.eR)("backward => void",[(0,t.jt)("0ms",(0,t.oB)({transform:"translateX(100%)"}))]),(0,t.eR)("void => forward",[(0,t.oB)({transform:"translateX(100%"}),(0,t.jt)("800ms")]),(0,t.eR)("forward => void",[(0,t.jt)("0ms",(0,t.oB)({transform:"translateX(-100%)"}))])])]},1786:(Ge,Q,m)=>{"use strict";m.d(Q,{H:()=>w});var t=m(7274),e=m(4650),g=m(5043),A=m(6895),o=m(1576),C=m(4859),u=m(3546),O=m(4850),d=m(3390);function M(L,I){if(1&L&&(e.TgZ(0,"p",14),e._uU(1),e.qZA()),2&L){const P=e.oxw();e.xp6(1),e.Oqu(P.data.titleMessage)}}let w=(()=>{class L{constructor(P,U,Z){this.dialogRef=P,this.data=U,this.logger=Z,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)}}return L.\u0275fac=function(P){return new(P||L)(e.Y36(t.so),e.Y36(t.WI),e.Y36(g.mQ))},L.\u0275cmp=e.Xpm({type:L,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(P,U){1&P&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e._uU(5),e.qZA()(),e.TgZ(6,"button",5),e.NdJ("click",function(){return U.onClose()}),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"div",7),e.YNc(10,M,2,1,"p",8),e.TgZ(11,"h4",9),e._uU(12,"Error Code"),e.qZA(),e.TgZ(13,"span"),e._uU(14),e.qZA(),e._UZ(15,"mat-divider",10),e.TgZ(16,"h4",9),e._uU(17,"Error Message"),e.qZA(),e.TgZ(18,"span",11),e._uU(19),e.qZA(),e._UZ(20,"mat-divider",10),e.TgZ(21,"h4",9),e._uU(22,"API URL"),e.qZA(),e.TgZ(23,"span",11),e._uU(24),e.qZA(),e._UZ(25,"mat-divider",10),e.TgZ(26,"div",12)(27,"button",13),e._uU(28,"OK"),e.qZA()()()()()()),2&P&&(e.xp6(5),e.Oqu(U.data.alertTitle||"ERROR"),e.xp6(5),e.Q6J("ngIf",U.data.titleMessage),e.xp6(4),e.Oqu(U.data.message.code),e.xp6(5),e.Oqu(U.errorMessage),e.xp6(5),e.Oqu(U.data.message.URL),e.xp6(3),e.Q6J("mat-dialog-close",!1))},dependencies:[A.O5,o.xw,o.Wh,o.yH,t.ZT,C.lW,u.dn,u.dk,O.d,d.h],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]}),L})()},2615:(Ge,Q,m)=>{"use strict";m.d(Q,{a:()=>Vi});var t=m(4006),e=m(7579),g=m(2722),A=m(7274),o=m(2687),C=m(7772),u=m(7731),O=m(6529),d=m(4650),M=m(9653),w=m(9107),L=m(6895),I=m(5043),P=m(9116),U=m(62),Z=m(1576),Y=m(5829),j=m(4859),X=m(3546),ee=m(752),ue=m(7392),le=m(4144),ie=m(9549),ce=m(3162),se=m(1948),he=m(455),E=m(266),i=m(8425),r=m(3390),h=m(4850);function c(qe,Tt){1&qe&&d.GkF(0)}function y(qe,Tt){1&qe&&d.GkF(0)}const S=function(qe){return{"h-5":qe}};function k(qe,Tt){if(1&qe&&(d.TgZ(0,"mat-expansion-panel",3)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",4),d._uU(4),d.ALo(5,"number"),d.qZA()()(),d.YNc(6,y,1,0,"ng-container",0),d.qZA()),2&qe){const ge=d.oxw(),Dt=d.MAs(4);d.Q6J("expanded",ge.panelExpanded)("ngClass",d.VKq(7,S,!ge.flgShowPanel)),d.xp6(4),d.AsE("Quote for ",ge.termCaption," amount (",d.lcZ(5,5,ge.quote.amount)," Sats)"),d.xp6(2),d.Q6J("ngTemplateOutlet",Dt)}}function v(qe,Tt){if(1&qe&&(d.TgZ(0,"div",19)(1,"h4",8),d._uU(2," Prepay Amount (Sats) "),d.TgZ(3,"mat-icon",20),d._uU(4,"info_outline"),d.qZA()(),d.TgZ(5,"span",10),d._uU(6),d.ALo(7,"number"),d.qZA()()),2&qe){const ge=d.oxw(2);d.xp6(6),d.Oqu(d.lcZ(7,1,null==ge.quote?null:ge.quote.prepay_amt_sat))}}function n(qe,Tt){1&qe&&d._UZ(0,"mat-divider",13)}function b(qe,Tt){if(1&qe&&(d.TgZ(0,"div",6)(1,"div",21)(2,"h4",8),d._uU(3," Swap Server Node Pubkey "),d.TgZ(4,"mat-icon",22),d._uU(5,"info_outline"),d.qZA()(),d.TgZ(6,"span",10),d._uU(7),d.qZA()()()),2&qe){const ge=d.oxw(2);d.xp6(7),d.Oqu(null==ge.quote?null:ge.quote.swap_payment_dest)}}function B(qe,Tt){if(1&qe&&(d.TgZ(0,"div",5)(1,"div",6)(2,"div",7)(3,"h4",8),d._uU(4," Swap Fee (Sats) "),d.TgZ(5,"mat-icon",9),d._uU(6,"info_outline"),d.qZA()(),d.TgZ(7,"span",10),d._uU(8),d.ALo(9,"number"),d.qZA()(),d.TgZ(10,"div",7)(11,"h4",8),d._uU(12),d.TgZ(13,"mat-icon",11),d._uU(14,"info_outline"),d.qZA()(),d.TgZ(15,"span",10),d._uU(16),d.ALo(17,"number"),d.qZA()(),d.YNc(18,v,8,3,"div",12),d.qZA(),d._UZ(19,"mat-divider",13),d.TgZ(20,"div",6)(21,"div",14)(22,"h4",8),d._uU(23," Max Off-chain Swap Routing Fee (Sats) "),d.TgZ(24,"mat-icon",15),d._uU(25,"info_outline"),d.qZA()(),d.TgZ(26,"span",10),d._uU(27),d.ALo(28,"number"),d.qZA()(),d.TgZ(29,"div",14)(30,"h4",8),d._uU(31," Max Off-chain Prepay Routing Fee (Sats) "),d.TgZ(32,"mat-icon",16),d._uU(33,"info_outline"),d.qZA()(),d.TgZ(34,"span",10),d._uU(35,"36"),d.qZA()()(),d.YNc(36,n,1,0,"mat-divider",17),d.YNc(37,b,8,1,"div",18),d.qZA()),2&qe){const ge=d.oxw();d.xp6(2),d.Q6J("fxFlex",null!=ge.quote&&ge.quote.prepay_amt_sat?"30":"50"),d.xp6(6),d.Oqu(d.lcZ(9,9,null==ge.quote?null:ge.quote.swap_fee_sat)),d.xp6(2),d.Q6J("fxFlex",null!=ge.quote&&ge.quote.prepay_amt_sat?"35":"50"),d.xp6(2),d.hij(" ",null!=ge.quote&&ge.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=ge.quote&&ge.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),d.xp6(4),d.Oqu(d.lcZ(17,11,null!=ge.quote&&ge.quote.htlc_sweep_fee_sat?ge.quote.htlc_sweep_fee_sat:null!=ge.quote&&ge.quote.htlc_publish_fee_sat?ge.quote.htlc_publish_fee_sat:0)),d.xp6(2),d.Q6J("ngIf",null==ge.quote?null:ge.quote.prepay_amt_sat),d.xp6(9),d.Oqu(d.lcZ(28,13,(null==ge.quote?null:ge.quote.amount)*((null!=ge.quote&&ge.quote.off_chain_swap_routing_fee_percentage?null==ge.quote?null:ge.quote.off_chain_swap_routing_fee_percentage:2)/100))),d.xp6(9),d.Q6J("ngIf",""!==(null==ge.quote?null:ge.quote.swap_payment_dest)),d.xp6(1),d.Q6J("ngIf",""!==(null==ge.quote?null:ge.quote.swap_payment_dest))}}let z=(()=>{class qe{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}}return qe.\u0275fac=function(ge){return new(ge||qe)},qe.\u0275cmp=d.Xpm({type:qe,selectors:[["rtl-loop-quote"]],inputs:{quote:"quote",termCaption:"termCaption",showPanel:"showPanel",panelExpanded:"panelExpanded"},decls:5,vars:1,consts:[[4,"ngTemplateOutlet"],["informationBlock",""],["quoteDetailsBlock",""],["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(ge,Dt){if(1&ge&&(d.YNc(0,c,1,0,"ng-container",0),d.YNc(1,k,7,9,"ng-template",null,1,d.W1O),d.YNc(3,B,38,15,"ng-template",null,2,d.W1O)),2&ge){const Kt=d.MAs(2),fi=d.MAs(4);d.Q6J("ngTemplateOutlet",Dt.showPanel?Kt:fi)}},dependencies:[L.mk,L.O5,L.tP,Z.xw,Z.Wh,Z.yH,Y.oO,ee.ib,ee.yz,ee.yK,ue.Hw,h.d,E.gM,L.JJ]}),qe})();function W(qe,Tt){1&qe&&d.GkF(0)}function Oe(qe,Tt){if(1&qe&&(d.TgZ(0,"div",3)(1,"span",4),d._uU(2),d.qZA()()),2&qe){const ge=d.oxw();d.xp6(2),d.Oqu(null!=ge.loopStatus&&ge.loopStatus.error?null==ge.loopStatus?null:ge.loopStatus.error:"Unknown Error.")}}function it(qe,Tt){if(1&qe&&(d.TgZ(0,"div",3)(1,"div",5)(2,"div",6)(3,"h4",7),d._uU(4,"ID"),d.qZA(),d.TgZ(5,"span",4),d._uU(6),d.qZA()()(),d._UZ(7,"mat-divider",8),d.TgZ(8,"div",5)(9,"div",6)(10,"h4",7),d._uU(11,"HTLC Address"),d.qZA(),d.TgZ(12,"span",4),d._uU(13),d.qZA()()()()),2&qe){const ge=d.oxw();d.xp6(6),d.Oqu(null==ge.loopStatus?null:ge.loopStatus.id_bytes),d.xp6(7),d.Oqu(null==ge.loopStatus?null:ge.loopStatus.htlc_address)}}let Ne=(()=>{class qe{constructor(){}}return qe.\u0275fac=function(ge){return new(ge||qe)},qe.\u0275cmp=d.Xpm({type:qe,selectors:[["rtl-loop-status"]],inputs:{loopStatus:"loopStatus"},decls:5,vars:1,consts:[[4,"ngTemplateOutlet"],["loopFailedBlock",""],["loopSuccessfulBlock",""],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","100"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"]],template:function(ge,Dt){if(1&ge&&(d.YNc(0,W,1,0,"ng-container",0),d.YNc(1,Oe,3,1,"ng-template",null,1,d.W1O),d.YNc(3,it,14,2,"ng-template",null,2,d.W1O)),2&ge){const Kt=d.MAs(2),fi=d.MAs(4);d.Q6J("ngTemplateOutlet",null!=Dt.loopStatus&&Dt.loopStatus.error?Kt:fi)}},dependencies:[L.tP,Z.xw,Z.Wh,Z.yH,h.d]}),qe})();var ot=m(113);function Ie(qe,Tt){1&qe&&d.GkF(0)}const ve=function(qe,Tt){return{"small-svg":qe,"large-svg":Tt}};function fe(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ge);const fi=d.oxw();return d.KtG(fi.onSwipe(Kt))}),d.O4$(),d.TgZ(1,"svg",7)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d._UZ(8,"circle",12)(9,"path",13),d.qZA(),d.TgZ(10,"g",14),d._UZ(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.qZA()()()()(),d.kcU(),d.TgZ(26,"div",30)(27,"mat-card-title"),d._uU(28,"Loop In explained."),d.qZA()(),d.TgZ(29,"div",31)(30,"mat-card-subtitle",32),d._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.qZA()()()}if(2&qe){const ge=d.oxw();d.Q6J("@sliderAnimation",ge.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ve,ge.screenSize===ge.screenSizeEnum.XS,ge.screenSize!==ge.screenSizeEnum.XS))}}function Se(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ge);const fi=d.oxw();return d.KtG(fi.onSwipe(Kt))}),d.O4$(),d.TgZ(1,"svg",33)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40),d._UZ(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.qZA(),d.TgZ(28,"g",56)(29,"g",57)(30,"g",58),d._UZ(31,"path",59)(32,"rect",60)(33,"polygon",61),d.TgZ(34,"g",62),d._UZ(35,"path",63),d.qZA(),d._UZ(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.qZA(),d.TgZ(45,"g",73),d._UZ(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.qZA(),d._UZ(59,"path",87),d.qZA()()()()()(),d.kcU(),d.TgZ(60,"div",30)(61,"mat-card-title"),d._uU(62,"Step 1: Deciding to Loop In"),d.qZA()(),d.TgZ(63,"div",31)(64,"mat-card-subtitle",32),d._uU(65," Your outgoing capacity is depleted and you want to regain it without opening new channels. "),d.qZA()()()}if(2&qe){const ge=d.oxw();d.Q6J("@sliderAnimation",ge.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ve,ge.screenSize===ge.screenSizeEnum.XS,ge.screenSize!==ge.screenSizeEnum.XS))}}function te(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ge);const fi=d.oxw();return d.KtG(fi.onSwipe(Kt))}),d.O4$(),d.TgZ(1,"svg",88)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",89),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",90)(10,"g",91)(11,"g",92)(12,"g",93)(13,"g",94),d._UZ(14,"circle",95)(15,"path",96),d.TgZ(16,"g",97),d._UZ(17,"polygon",98)(18,"polygon",99)(19,"path",100),d.qZA(),d.TgZ(20,"g",101),d._UZ(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.TgZ(31,"g",112)(32,"g",113),d._UZ(33,"g",114),d.qZA(),d._UZ(34,"g",115),d.qZA()()(),d.TgZ(35,"g",116)(36,"g",40),d._UZ(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.qZA(),d.TgZ(53,"g",56)(54,"g",57)(55,"g",58),d._UZ(56,"path",59)(57,"rect",60)(58,"polygon",61),d.TgZ(59,"g",122),d._UZ(60,"path",63),d.qZA(),d._UZ(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.qZA(),d.TgZ(70,"g",73),d._UZ(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.qZA(),d._UZ(84,"path",139),d.qZA()()()(),d._UZ(85,"path",140)(86,"path",141),d.qZA()()()(),d.kcU(),d.TgZ(87,"div",30)(88,"mat-card-title"),d._uU(89,"Step 2: Send payment out"),d.qZA()(),d.TgZ(90,"div",31)(91,"mat-card-subtitle",32),d._uU(92," Your node sends funds on-chain to loop server to be swapped with off-chain liquidity. "),d.qZA()()()}if(2&qe){const ge=d.oxw();d.Q6J("@sliderAnimation",ge.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ve,ge.screenSize===ge.screenSizeEnum.XS,ge.screenSize!==ge.screenSizeEnum.XS))}}function Ke(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ge);const fi=d.oxw();return d.KtG(fi.onSwipe(Kt))}),d.O4$(),d.TgZ(1,"svg",142)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",90)(5,"g",143)(6,"g",144)(7,"g")(8,"g",145)(9,"g",146),d._UZ(10,"circle",12)(11,"path",147),d.qZA(),d.TgZ(12,"g",14),d._UZ(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.qZA()(),d.TgZ(28,"g",149),d._UZ(29,"polygon",150)(30,"polygon",99)(31,"path",151),d.qZA(),d.TgZ(32,"g",152),d._UZ(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.TgZ(43,"g",112)(44,"g",113),d._UZ(45,"g",114),d.qZA(),d._UZ(46,"g",115),d.qZA()()(),d._UZ(47,"path",153),d.qZA()()()(),d.kcU(),d.TgZ(48,"div",30)(49,"mat-card-title"),d._uU(50,"Step 3: Recieve Funds Off-chain"),d.qZA()(),d.TgZ(51,"div",31)(52,"mat-card-subtitle",32),d._uU(53," Loop server sends equivalent funds off-chain to your node by making a lightning payment to you. "),d.qZA()()()}if(2&qe){const ge=d.oxw();d.Q6J("@sliderAnimation",ge.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ve,ge.screenSize===ge.screenSizeEnum.XS,ge.screenSize!==ge.screenSizeEnum.XS))}}function Ae(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ge);const fi=d.oxw();return d.KtG(fi.onSwipe(Kt))}),d.O4$(),d.TgZ(1,"svg",154)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",90)(10,"g",155)(11,"g",156)(12,"g",157)(13,"g",158)(14,"g",40),d._UZ(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.qZA(),d.TgZ(28,"g",172),d._UZ(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.qZA(),d._UZ(43,"path",187),d.qZA()(),d._UZ(44,"circle",188),d.qZA()()()(),d.kcU(),d.TgZ(45,"div",30)(46,"mat-card-title"),d._uU(47,"Done!"),d.qZA()(),d.TgZ(48,"div",31)(49,"mat-card-subtitle",32),d._uU(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.qZA()()()}if(2&qe){const ge=d.oxw();d.Q6J("@sliderAnimation",ge.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ve,ge.screenSize===ge.screenSizeEnum.XS,ge.screenSize!==ge.screenSizeEnum.XS))}}let oe=(()=>{class qe{constructor(ge){this.commonService=ge,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=u.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(ge){2===ge.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===ge.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}return qe.\u0275fac=function(ge){return new(ge||qe)(d.Y36(U.v))},qe.\u0275cmp=d.Xpm({type:qe,selectors:[["rtl-loop-in-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["loopStepBlock1",""],["loopStepBlock2",""],["loopStepBlock3",""],["loopStepBlock4",""],["loopStepBlock5",""],["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(ge,Dt){if(1&ge&&(d.YNc(0,Ie,1,0,"ng-container",0),d.YNc(1,fe,32,5,"ng-template",null,1,d.W1O),d.YNc(3,Se,66,5,"ng-template",null,2,d.W1O),d.YNc(5,te,93,5,"ng-template",null,3,d.W1O),d.YNc(7,Ke,54,5,"ng-template",null,4,d.W1O),d.YNc(9,Ae,51,5,"ng-template",null,5,d.W1O)),2&ge){const Kt=d.MAs(2),fi=d.MAs(4),Mi=d.MAs(6),Pi=d.MAs(8),Ui=d.MAs(10);d.Q6J("ngTemplateOutlet",1===Dt.stepNumber?Kt:2===Dt.stepNumber?fi:3===Dt.stepNumber?Mi:4===Dt.stepNumber?Pi:Ui)}},dependencies:[L.mk,L.tP,Z.xw,Z.Wh,Z.yH,Y.oO,X.$j,X.n5],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:[ot.l]}}),qe})();function ye(qe,Tt){1&qe&&d.GkF(0)}const me=function(qe,Tt){return{"small-svg":qe,"large-svg":Tt}};function Me(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ge);const fi=d.oxw();return d.KtG(fi.onSwipe(Kt))}),d.O4$(),d.TgZ(1,"svg",7)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",9)(6,"g",10)(7,"g",11),d._UZ(8,"circle",12)(9,"path",13),d.qZA(),d.TgZ(10,"g",14),d._UZ(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.qZA()()()()(),d.kcU(),d.TgZ(26,"div",30)(27,"mat-card-title"),d._uU(28,"Loop Out explained."),d.qZA()(),d.TgZ(29,"div",31)(30,"mat-card-subtitle",32),d._uU(31," Lightning Loop is a non custodial service offered by Lightning Labs to bridge on-chain and off-chain Bitcoin using Submarine swaps. "),d.qZA()()()}if(2&qe){const ge=d.oxw();d.Q6J("@sliderAnimation",ge.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,me,ge.screenSize===ge.screenSizeEnum.XS,ge.screenSize!==ge.screenSizeEnum.XS))}}function Ze(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ge);const fi=d.oxw();return d.KtG(fi.onSwipe(Kt))}),d.O4$(),d.TgZ(1,"svg",33)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",38)(11,"g",39)(12,"g",40)(13,"g",41)(14,"g",42),d._UZ(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.qZA(),d.TgZ(28,"g",56),d._UZ(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.qZA(),d._UZ(43,"path",71),d.qZA()(),d._UZ(44,"circle",72),d.qZA()()()(),d.kcU(),d.TgZ(45,"div",30)(46,"mat-card-title"),d._uU(47,"Step 1: Deciding to Loop Out"),d.qZA()(),d.TgZ(48,"div",31)(49,"mat-card-subtitle",32),d._uU(50," You have a channel with a local balance amount and you want to gain inbound liquidity. "),d.qZA()()()}if(2&qe){const ge=d.oxw();d.Q6J("@sliderAnimation",ge.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,me,ge.screenSize===ge.screenSizeEnum.XS,ge.screenSize!==ge.screenSizeEnum.XS))}}function q(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ge);const fi=d.oxw();return d.KtG(fi.onSwipe(Kt))}),d.O4$(),d.TgZ(1,"svg",73)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",74),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",75)(11,"g",76),d._UZ(12,"circle",77)(13,"path",78),d.TgZ(14,"g",79),d._UZ(15,"polygon",80)(16,"polygon",81)(17,"path",82),d.qZA(),d.TgZ(18,"g",83),d._UZ(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.TgZ(29,"g",94)(30,"g",95),d._UZ(31,"g",96),d.qZA(),d._UZ(32,"g",97),d.qZA(),d._UZ(33,"path",98),d.qZA(),d.TgZ(34,"g",99)(35,"g",41)(36,"g",42),d._UZ(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.qZA(),d.TgZ(52,"g",56),d._UZ(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.qZA(),d._UZ(67,"path",111),d.qZA()()()()()(),d.kcU(),d.TgZ(68,"div",30)(69,"mat-card-title"),d._uU(70,"Step 2: Send lightning payment"),d.qZA()(),d.TgZ(71,"div",31)(72,"mat-card-subtitle",32),d._uU(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.qZA()()()}if(2&qe){const ge=d.oxw();d.Q6J("@sliderAnimation",ge.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,me,ge.screenSize===ge.screenSizeEnum.XS,ge.screenSize!==ge.screenSizeEnum.XS))}}function de(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ge);const fi=d.oxw();return d.KtG(fi.onSwipe(Kt))}),d.O4$(),d.TgZ(1,"svg",112)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"g",8)(5,"g",113)(6,"g",114)(7,"g",115)(8,"g",116),d._UZ(9,"circle",12)(10,"path",117),d.qZA(),d.TgZ(11,"g",14),d._UZ(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.qZA()(),d.TgZ(27,"g",119),d._UZ(28,"polygon",80)(29,"polygon",120)(30,"path",82),d.qZA(),d.TgZ(31,"g",121),d._UZ(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.TgZ(42,"g",94)(43,"g",95),d._UZ(44,"g",96),d.qZA(),d._UZ(45,"g",97),d.qZA(),d._UZ(46,"path",123),d.qZA()()()()(),d.kcU(),d.TgZ(47,"div",30)(48,"mat-card-title"),d._uU(49,"Step 3: Receive funds back"),d.qZA()(),d.TgZ(50,"div",31)(51,"mat-card-subtitle",32),d._uU(52," Loop service then sends you a payment on-chain for the amount same as the lightning payment minus the fee. "),d.qZA()()()}if(2&qe){const ge=d.oxw();d.Q6J("@sliderAnimation",ge.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,me,ge.screenSize===ge.screenSizeEnum.XS,ge.screenSize!==ge.screenSizeEnum.XS))}}function xe(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Kt){d.CHM(ge);const fi=d.oxw();return d.KtG(fi.onSwipe(Kt))}),d.O4$(),d.TgZ(1,"svg",124)(2,"desc"),d._uU(3,"Created with Sketch."),d.qZA(),d.TgZ(4,"defs")(5,"linearGradient",34),d._UZ(6,"stop",35)(7,"stop",36)(8,"stop",37),d.qZA()(),d.TgZ(9,"g",8)(10,"g",125)(11,"g",126)(12,"g",42),d._UZ(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.qZA(),d.TgZ(28,"g",142)(29,"g",143)(30,"g",144),d._UZ(31,"path",145)(32,"rect",146)(33,"polygon",147),d.TgZ(34,"g",148),d._UZ(35,"path",149),d.qZA(),d._UZ(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.qZA(),d.TgZ(45,"g",159),d._UZ(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.qZA(),d._UZ(59,"path",173),d.qZA()()()()()(),d.kcU(),d.TgZ(60,"div",30)(61,"mat-card-title"),d._uU(62,"Done!"),d.qZA()(),d.TgZ(63,"div",31)(64,"mat-card-subtitle",32),d._uU(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.qZA()()()}if(2&qe){const ge=d.oxw();d.Q6J("@sliderAnimation",ge.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,me,ge.screenSize===ge.screenSizeEnum.XS,ge.screenSize!==ge.screenSizeEnum.XS))}}let ke=(()=>{class qe{constructor(ge){this.commonService=ge,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=u.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(ge){2===ge.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===ge.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}return qe.\u0275fac=function(ge){return new(ge||qe)(d.Y36(U.v))},qe.\u0275cmp=d.Xpm({type:qe,selectors:[["rtl-loop-out-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["loopStepBlock1",""],["loopStepBlock2",""],["loopStepBlock3",""],["loopStepBlock4",""],["loopStepBlock5",""],["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(ge,Dt){if(1&ge&&(d.YNc(0,ye,1,0,"ng-container",0),d.YNc(1,Me,32,5,"ng-template",null,1,d.W1O),d.YNc(3,Ze,51,5,"ng-template",null,2,d.W1O),d.YNc(5,q,74,5,"ng-template",null,3,d.W1O),d.YNc(7,de,53,5,"ng-template",null,4,d.W1O),d.YNc(9,xe,66,5,"ng-template",null,5,d.W1O)),2&ge){const Kt=d.MAs(2),fi=d.MAs(4),Mi=d.MAs(6),Pi=d.MAs(8),Ui=d.MAs(10);d.Q6J("ngTemplateOutlet",1===Dt.stepNumber?Kt:2===Dt.stepNumber?fi:3===Dt.stepNumber?Mi:4===Dt.stepNumber?Pi:Ui)}},dependencies:[L.mk,L.tP,Z.xw,Z.Wh,Z.yH,Y.oO,X.$j,X.n5],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:[ot.l]}}),qe})();const ft=["stepper"];function _t(qe,Tt){if(1&qe&&(d.TgZ(0,"div",48)(1,"p",49)(2,"strong"),d._uU(3,"Channel Peer:\xa0"),d.qZA(),d._uU(4),d.ALo(5,"titlecase"),d.qZA(),d.TgZ(6,"p",50)(7,"strong"),d._uU(8,"Channel ID:\xa0"),d.qZA(),d._uU(9),d.qZA(),d._UZ(10,"p",50),d.qZA()),2&qe){const ge=d.oxw(2);d.xp6(4),d.Oqu(d.lcZ(5,2,ge.channel.remote_alias)),d.xp6(5),d.Oqu(ge.channel.chan_id)}}function ct(qe,Tt){if(1&qe&&d._uU(0),2&qe){const ge=d.oxw(2);d.Oqu(ge.inputFormLabel)}}function nt(qe,Tt){1&qe&&(d.TgZ(0,"mat-error"),d._uU(1,"Amount is required."),d.qZA())}function Jt(qe,Tt){if(1&qe&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&qe){const ge=d.oxw(2);d.xp6(1),d.hij("Amount must be greater than or equal to ",d.lcZ(2,1,ge.minQuote.amount),".")}}function vt(qe,Tt){if(1&qe&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&qe){const ge=d.oxw(2);d.xp6(1),d.hij("Amount must be less than or equal to ",d.lcZ(2,1,ge.maxQuote.amount),".")}}function ne(qe,Tt){1&qe&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target is required."),d.qZA())}function Ht(qe,Tt){1&qe&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target must be a positive number."),d.qZA())}function De(qe,Tt){1&qe&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage is required."),d.qZA())}function ze(qe,Tt){1&qe&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage must be a positive number."),d.qZA())}function wt(qe,Tt){if(1&qe&&(d.TgZ(0,"mat-form-field",50)(1,"mat-label"),d._uU(2,"Max Off-chain Routing Fee (%)"),d.qZA(),d._UZ(3,"input",51),d.YNc(4,De,2,0,"mat-error",25),d.YNc(5,ze,2,0,"mat-error",25),d.qZA()),2&qe){const ge=d.oxw(2);d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==ge.inputFormGroup.controls.routingFeePercent.errors?null:ge.inputFormGroup.controls.routingFeePercent.errors.required),d.xp6(1),d.Q6J("ngIf",null==ge.inputFormGroup.controls.routingFeePercent.errors?null:ge.inputFormGroup.controls.routingFeePercent.errors.min)}}function Re(qe,Tt){1&qe&&(d.TgZ(0,"div",52)(1,"mat-slide-toggle",53),d._uU(2,"Fast"),d.qZA(),d.TgZ(3,"mat-icon",54),d._uU(4,"info_outline"),d.qZA()())}function tt(qe,Tt){if(1&qe&&d._uU(0),2&qe){const ge=d.oxw(2);d.Oqu(ge.quoteFormLabel)}}function Bt(qe,Tt){1&qe&&(d.TgZ(0,"p",55)(1,"mat-icon",56),d._uU(2,"close"),d.qZA(),d._uU(3,"Local balance amount is insufficient for swap."),d.qZA())}function It(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"button",57),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw(2);return d.KtG(Kt.onValidateAmount())}),d._uU(1,"Next"),d.qZA()}}function zt(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"button",58),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw(2);return d.KtG(Kt.onLoop())}),d._uU(1),d.qZA()}if(2&qe){const ge=d.oxw(2);d.xp6(1),d.hij("Initiate ",ge.loopDirectionCaption,"")}}function xt(qe,Tt){if(1&qe&&d._uU(0),2&qe){const ge=d.oxw(3);d.Oqu(ge.addressFormLabel)}}function we(qe,Tt){1&qe&&(d.TgZ(0,"mat-error"),d._uU(1,"Address is required."),d.qZA())}function J(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"mat-step",16)(1,"form",17),d.YNc(2,xt,1,1,"ng-template",18),d.TgZ(3,"div",59)(4,"mat-radio-group",60),d.NdJ("change",function(Kt){d.CHM(ge);const fi=d.oxw(2);return d.KtG(fi.onAddressTypeChange(Kt))}),d.TgZ(5,"mat-radio-button",61),d._uU(6,"Node Local Address"),d.qZA(),d.TgZ(7,"mat-radio-button",62),d._uU(8,"External Address"),d.qZA()(),d.TgZ(9,"mat-form-field",63)(10,"mat-label"),d._uU(11,"Address"),d.qZA(),d._UZ(12,"input",64),d.YNc(13,we,2,0,"mat-error",25),d.qZA()(),d.TgZ(14,"div",29)(15,"button",65),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw(2);return d.KtG(Kt.onLoop())}),d._uU(16),d.qZA()()()()}if(2&qe){const ge=d.oxw(2);d.Q6J("stepControl",ge.addressFormGroup)("editable",ge.flgEditable),d.xp6(1),d.Q6J("formGroup",ge.addressFormGroup),d.xp6(11),d.Q6J("required","external"===ge.addressFormGroup.controls.addressType.value),d.xp6(1),d.Q6J("ngIf",null==ge.addressFormGroup.controls.address.errors?null:ge.addressFormGroup.controls.address.errors.required),d.xp6(3),d.hij("Initiate ",ge.loopDirectionCaption,"")}}function be(qe,Tt){if(1&qe&&d._uU(0),2&qe){const ge=d.oxw(2);d.hij("",ge.loopDirectionCaption," Status")}}function Fe(qe,Tt){if(1&qe&&(d.TgZ(0,"mat-icon",66),d._uU(1),d.qZA()),2&qe){const ge=d.oxw(2);d.xp6(1),d.Oqu(ge.loopStatus&&null!=ge.loopStatus&&ge.loopStatus.id_bytes?"check":"close")}}function at(qe,Tt){1&qe&&d._UZ(0,"div")}function ii(qe,Tt){1&qe&&d._UZ(0,"mat-progress-bar",67)}function Gt(qe,Tt){if(1&qe&&(d.TgZ(0,"h4",68),d._uU(1),d.qZA()),2&qe){const ge=d.oxw(2);d.xp6(1),d.Oqu(ge.loopStatus&&ge.loopStatus.error?ge.loopDirectionCaption+" failed.":ge.loopStatus&&ge.loopStatus.id_bytes&&ge.channel?ge.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":ge.loopDirectionCaption+" request placed successfully.")}}function ei(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"button",69),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw(2);return d.KtG(Kt.goToLoop())}),d._uU(1,"Check Status"),d.qZA()}}function ht(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"button",70),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw(2);return d.KtG(Kt.onRestart())}),d._uU(1,"Start Again"),d.qZA()}}function rt(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),d._uU(5),d.qZA()(),d.TgZ(6,"div",8)(7,"button",9),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw();return d.KtG(Kt.showInfo())}),d._uU(8,"?"),d.qZA(),d.TgZ(9,"button",10),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw();return d.KtG(Kt.onClose())}),d._uU(10,"X"),d.qZA()()(),d.TgZ(11,"mat-card-content",11)(12,"div",12),d.YNc(13,_t,11,4,"div",13),d.TgZ(14,"mat-vertical-stepper",14,15),d.NdJ("selectionChange",function(Kt){d.CHM(ge);const fi=d.oxw();return d.KtG(fi.stepSelectionChanged(Kt))}),d.TgZ(16,"mat-step",16)(17,"form",17),d.YNc(18,ct,1,1,"ng-template",18),d.TgZ(19,"div",19),d._UZ(20,"rtl-loop-quote",20)(21,"rtl-loop-quote",20),d.qZA(),d.TgZ(22,"div",21)(23,"mat-form-field",22)(24,"mat-label"),d._uU(25,"Amount"),d.qZA(),d._UZ(26,"input",23),d.TgZ(27,"mat-hint"),d._uU(28),d.ALo(29,"number"),d.ALo(30,"number"),d.qZA(),d.TgZ(31,"span",24),d._uU(32,"Sats"),d.qZA(),d.YNc(33,nt,2,0,"mat-error",25),d.YNc(34,Jt,3,3,"mat-error",25),d.YNc(35,vt,3,3,"mat-error",25),d.qZA(),d.TgZ(36,"mat-form-field",22)(37,"mat-label"),d._uU(38,"Sweep Confirmation Target"),d.qZA(),d._UZ(39,"input",26),d.YNc(40,ne,2,0,"mat-error",25),d.YNc(41,Ht,2,0,"mat-error",25),d.qZA(),d.YNc(42,wt,6,3,"mat-form-field",27),d.qZA(),d.YNc(43,Re,5,0,"div",28),d.TgZ(44,"div",29)(45,"button",30),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw();return d.KtG(Kt.onEstimateQuote())}),d._uU(46,"Estimate Quote"),d.qZA()()()(),d.TgZ(47,"mat-step",16)(48,"form",17),d.YNc(49,tt,1,1,"ng-template",18),d._UZ(50,"rtl-loop-quote",31),d.YNc(51,Bt,4,0,"p",32),d.TgZ(52,"div",29),d.YNc(53,It,2,0,"button",33),d.YNc(54,zt,2,1,"button",34),d.qZA()()(),d.YNc(55,J,17,6,"mat-step",35),d.TgZ(56,"mat-step",36)(57,"form",17),d.YNc(58,be,1,1,"ng-template",18),d.TgZ(59,"div",37)(60,"mat-expansion-panel",38)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",39),d._uU(64),d.YNc(65,Fe,2,1,"mat-icon",40),d.qZA()()(),d.YNc(66,at,1,0,"div",41),d.qZA(),d.YNc(67,ii,1,0,"mat-progress-bar",42),d.qZA(),d.YNc(68,Gt,2,1,"h4",43),d.TgZ(69,"div",29),d.YNc(70,ei,2,0,"button",44),d.YNc(71,ht,2,0,"button",45),d.qZA()()()(),d.TgZ(72,"div",46)(73,"button",47),d._uU(74,"Close"),d.qZA()()()()()()}if(2&qe){const ge=d.oxw(),Dt=d.MAs(2);d.Q6J("@opacityAnimation",void 0),d.xp6(3),d.Q6J("fxFlex",ge.screenSize===ge.screenSizeEnum.XS||ge.screenSize===ge.screenSizeEnum.SM?"83":"91"),d.xp6(2),d.Oqu(ge.channel?"Channel "+ge.loopDirectionCaption:ge.loopDirectionCaption),d.xp6(1),d.Q6J("fxFlex",ge.screenSize===ge.screenSizeEnum.XS||ge.screenSize===ge.screenSizeEnum.SM?"17":"9"),d.xp6(7),d.Q6J("ngIf",ge.channel),d.xp6(1),d.Q6J("linear",!0),d.xp6(2),d.Q6J("stepControl",ge.inputFormGroup)("editable",ge.flgEditable),d.xp6(1),d.Q6J("formGroup",ge.inputFormGroup),d.xp6(3),d.Q6J("quote",ge.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),d.xp6(1),d.Q6J("quote",ge.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),d.xp6(2),d.Q6J("fxFlex",ge.direction===ge.LoopTypeEnum.LOOP_OUT?"35":"48"),d.xp6(3),d.Q6J("step",1e3),d.xp6(2),d.AsE("Range: ",d.lcZ(29,51,ge.minQuote.amount),"-",d.lcZ(30,53,ge.maxQuote.amount),""),d.xp6(5),d.Q6J("ngIf",null==ge.inputFormGroup.controls.amount.errors?null:ge.inputFormGroup.controls.amount.errors.required),d.xp6(1),d.Q6J("ngIf",null==ge.inputFormGroup.controls.amount.errors?null:ge.inputFormGroup.controls.amount.errors.min),d.xp6(1),d.Q6J("ngIf",null==ge.inputFormGroup.controls.amount.errors?null:ge.inputFormGroup.controls.amount.errors.max),d.xp6(1),d.Q6J("fxFlex",ge.direction===ge.LoopTypeEnum.LOOP_OUT?"30":"48"),d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==ge.inputFormGroup.controls.sweepConfTarget.errors?null:ge.inputFormGroup.controls.sweepConfTarget.errors.required),d.xp6(1),d.Q6J("ngIf",null==ge.inputFormGroup.controls.sweepConfTarget.errors?null:ge.inputFormGroup.controls.sweepConfTarget.errors.min),d.xp6(1),d.Q6J("ngIf",ge.direction===ge.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",ge.direction===ge.LoopTypeEnum.LOOP_OUT),d.xp6(4),d.Q6J("stepControl",ge.quoteFormGroup)("editable",ge.flgEditable),d.xp6(1),d.Q6J("formGroup",ge.quoteFormGroup),d.xp6(2),d.Q6J("quote",ge.quote)("showPanel",!1),d.xp6(1),d.Q6J("ngIf",ge.inputFormGroup.controls.amount.value>ge.localBalanceToCompare),d.xp6(2),d.Q6J("ngIf",ge.direction===ge.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",ge.direction===ge.LoopTypeEnum.LOOP_IN),d.xp6(1),d.Q6J("ngIf",ge.direction===ge.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("stepControl",ge.statusFormGroup),d.xp6(1),d.Q6J("formGroup",ge.statusFormGroup),d.xp6(3),d.Q6J("expanded",!!ge.loopStatus),d.xp6(4),d.Oqu(ge.loopStatus?ge.loopStatus.id_bytes?ge.loopDirectionCaption+" request details":ge.loopDirectionCaption+" error details":"Waiting for "+ge.loopDirectionCaption+" request..."),d.xp6(1),d.Q6J("ngIf",ge.loopStatus),d.xp6(1),d.Q6J("ngIf",!ge.loopStatus)("ngIfElse",Dt),d.xp6(1),d.Q6J("ngIf",!ge.loopStatus),d.xp6(1),d.Q6J("ngIf",ge.loopStatus),d.xp6(2),d.Q6J("ngIf",ge.loopStatus&&ge.loopStatus.id_bytes&&ge.channel),d.xp6(1),d.Q6J("ngIf",ge.loopStatus&&(ge.loopStatus.error||!ge.loopStatus.id_bytes)),d.xp6(2),d.Q6J("mat-dialog-close",!1)}}function yt(qe,Tt){if(1&qe&&d._UZ(0,"rtl-loop-status",71),2&qe){const ge=d.oxw();d.Q6J("loopStatus",ge.loopStatus)}}function ri(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"rtl-loop-out-info-graphics",88),d.NdJ("stepNumberChange",function(Kt){d.CHM(ge);const fi=d.oxw(2);return d.KtG(fi.stepNumber=Kt)}),d.qZA()}if(2&qe){const ge=d.oxw(2);d.Q6J("animationDirection",ge.animationDirection)("stepNumber",ge.stepNumber)}}function Ut(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"rtl-loop-in-info-graphics",88),d.NdJ("stepNumberChange",function(Kt){d.CHM(ge);const fi=d.oxw(2);return d.KtG(fi.stepNumber=Kt)}),d.qZA()}if(2&qe){const ge=d.oxw(2);d.Q6J("animationDirection",ge.animationDirection)("stepNumber",ge.stepNumber)}}const Vt=function(qe,Tt){return{"dot-primary":qe,"dot-primary-lighter":Tt}};function Ft(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"span",89),d.NdJ("click",function(){const fi=d.CHM(ge).$implicit,Mi=d.oxw(2);return d.KtG(Mi.onStepChanged(fi))}),d._UZ(1,"p",90),d.qZA()}if(2&qe){const ge=Tt.$implicit,Dt=d.oxw(2);d.xp6(1),d.Q6J("ngClass",d.WLB(1,Vt,Dt.stepNumber===ge,Dt.stepNumber!==ge))}}function Qe(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"button",91),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw(2);return d.KtG(Kt.onReadMore())}),d._uU(1,"Read More"),d.qZA()}}function Ve(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"button",92),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw(2);return d.KtG(Kt.onStepChanged(4))}),d._uU(1,"Back"),d.qZA()}}function je(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"button",93),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw(2);return Kt.flgShowInfo=!1,d.KtG(Kt.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function Xe(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"button",94),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw(2);return Kt.flgShowInfo=!1,d.KtG(Kt.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function Et(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"button",95),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw(2);return d.KtG(Kt.onStepChanged(Kt.stepNumber-1))}),d._uU(1,"Back"),d.qZA()}}function mi(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"button",96),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw(2);return d.KtG(Kt.onStepChanged(Kt.stepNumber+1))}),d._uU(1,"Next"),d.qZA()}}const Li=function(){return[1,2,3,4,5]};function wi(qe,Tt){if(1&qe){const ge=d.EpF();d.TgZ(0,"div",72)(1,"div",19)(2,"mat-card-header",73)(3,"div",74),d._UZ(4,"span",7),d.qZA(),d.TgZ(5,"div",75)(6,"button",76),d.NdJ("click",function(){d.CHM(ge);const Kt=d.oxw();return Kt.flgShowInfo=!1,d.KtG(Kt.stepNumber=1)}),d._uU(7,"X"),d.qZA()()(),d.TgZ(8,"mat-card-content",77),d.YNc(9,ri,1,2,"rtl-loop-out-info-graphics",78),d.YNc(10,Ut,1,2,"rtl-loop-in-info-graphics",78),d.qZA(),d.TgZ(11,"div",79),d.YNc(12,Ft,2,4,"span",80),d.qZA(),d.TgZ(13,"div",81),d.YNc(14,Qe,2,0,"button",82),d.YNc(15,Ve,2,0,"button",83),d.YNc(16,je,2,0,"button",84),d.YNc(17,Xe,2,0,"button",85),d.YNc(18,Et,2,0,"button",86),d.YNc(19,mi,2,0,"button",87),d.qZA()()()}if(2&qe){const ge=d.oxw();d.Q6J("@opacityAnimation",void 0),d.xp6(9),d.Q6J("ngIf",ge.direction===ge.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",ge.direction===ge.LoopTypeEnum.LOOP_IN),d.xp6(2),d.Q6J("ngForOf",d.DdM(10,Li)),d.xp6(2),d.Q6J("ngIf",5===ge.stepNumber),d.xp6(1),d.Q6J("ngIf",5===ge.stepNumber),d.xp6(1),d.Q6J("ngIf",5===ge.stepNumber),d.xp6(1),d.Q6J("ngIf",ge.stepNumber<5),d.xp6(1),d.Q6J("ngIf",ge.stepNumber>1&&ge.stepNumber<5),d.xp6(1),d.Q6J("ngIf",ge.stepNumber<5)}}let Vi=(()=>{class qe{constructor(ge,Dt,Kt,fi,Mi,Pi,Ui,Wt,si){this.dialogRef=ge,this.data=Dt,this.store=Kt,this.loopService=fi,this.formBuilder=Mi,this.decimalPipe=Pi,this.logger=Ui,this.router=Wt,this.commonService=si,this.faInfoCircle=o.sqG,this.LoopTypeEnum=u.$I,this.direction=u.$I.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=u.cu,this.animationDirection="forward",this.flgEditable=!0,this.localBalanceToCompare=null,this.unSubs=[new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x]}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||u.$I.LOOP_OUT,this.loopDirectionCaption=this.direction===u.$I.LOOP_IN?"Loop in":"Loop out",this.inputFormLabel="Amount to "+this.loopDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.minQuote.amount,[t.kI.required,t.kI.min(this.minQuote.amount||0),t.kI.max(this.maxQuote.amount||0)]],sweepConfTarget:[6,[t.kI.required,t.kI.min(1)]],routingFeePercent:[2,[t.kI.required,t.kI.min(0)]],fast:[!1,[t.kI.required]]}),this.inputFormGroup.setErrors({Invalid:!0}),this.quoteFormGroup=this.formBuilder.group({}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[t.kI.required]],address:[{value:"",disabled:!0}]}),this.direction===u.$I.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(O.ZW).pipe((0,g.R)(this.unSubs[6])).subscribe(ge=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:ge.lightningBalance&&ge.lightningBalance.local?+ge.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,g.R)(this.unSubs[4])).subscribe(ge=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===u.$I.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,g.R)(this.unSubs[5])).subscribe(ge=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(ge){"external"===ge.value?(this.addressFormGroup.controls.address.setValidators([t.kI.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(){var ge;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===u.$I.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===u.$I.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,null===(ge=this.stepper.selected)||void 0===ge||ge.stepControl.setErrors(null),this.stepper.next(),this.direction===u.$I.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,g.R)(this.unSubs[0])).subscribe({next:Dt=>{this.loopStatus=Dt,this.loopService.listSwaps(),this.flgEditable=!0},error:Dt=>{this.loopStatus={error:Dt},this.flgEditable=!0,this.logger.error(Dt)}});else{const Dt=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),Kt="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",fi=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,Dt,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),fi,Kt).pipe((0,g.R)(this.unSubs[1])).subscribe({next:Mi=>{this.loopStatus=Mi,this.loopService.listSwaps(),this.flgEditable=!0},error:Mi=>{this.loopStatus={error:Mi},this.flgEditable=!0,this.logger.error(Mi)}})}}onEstimateQuote(){var ge;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 Dt=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===u.$I.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,Dt).pipe((0,g.R)(this.unSubs[2])).subscribe(Kt=>{this.quote=Kt,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,Dt).pipe((0,g.R)(this.unSubs[3])).subscribe(Kt=>{this.quote=Kt,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}),null===(ge=this.stepper.selected)||void 0===ge||ge.stepControl.setErrors(null),this.stepper.next()}stepSelectionChanged(ge){switch(ge.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===u.$I.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===u.$I.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===u.$I.LOOP_OUT&&1!==ge.selectedIndex&&ge.selectedIndex<ge.previouslySelectedIndex||this.direction===u.$I.LOOP_IN&&ge.selectedIndex<ge.previouslySelectedIndex)&&ge.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===u.$I.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(ge){this.animationDirection=ge<this.stepNumber?"backward":"forward",this.stepNumber=ge}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(ge=>{ge.next(null),ge.complete()})}}return qe.\u0275fac=function(ge){return new(ge||qe)(d.Y36(A.so),d.Y36(A.WI),d.Y36(M.yh),d.Y36(w.W),d.Y36(t.QS),d.Y36(L.JJ),d.Y36(I.mQ),d.Y36(P.F0),d.Y36(U.v))},qe.\u0275cmp=d.Xpm({type:qe,selectors:[["rtl-loop-modal"]],viewQuery:function(ge,Dt){if(1&ge&&d.Gf(ft,5),2&ge){let Kt;d.iGM(Kt=d.CRH())&&(Dt.stepper=Kt.first)}},decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["loopStatusBlock",""],["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,"linear","selectionChange"],["stepper",""],[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"],["tabindex","19","mat-button","",1,"btn-close-x","p-0",3,"click"],["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"],["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,"animationDirection","stepNumber","stepNumberChange"],["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(ge,Dt){1&ge&&(d.YNc(0,rt,75,55,"div",0),d.YNc(1,yt,1,1,"ng-template",null,1,d.W1O),d.YNc(3,wi,20,11,"div",2)),2&ge&&(d.Q6J("ngIf",!Dt.flgShowInfo),d.xp6(3),d.Q6J("ngIf",Dt.flgShowInfo))},dependencies:[L.mk,L.sg,L.O5,t._Y,t.Fj,t.wV,t.JJ,t.JL,t.Q7,t.sg,t.u,Z.xw,Z.Wh,Z.yH,Y.oO,A.ZT,j.lW,X.dn,X.dk,ee.ib,ee.yz,ee.yK,ue.Hw,le.Nt,ie.KE,ie.hX,ie.bx,ie.TO,ie.R9,ce.pW,se.VQ,se.U0,he.Rr,E.gM,i.C0,i.VY,i.Vq,r.h,z,Ne,oe,ke,L.JJ,L.rS],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem}"],data:{animation:[C._]}}),qe})()},9442:(Ge,Q,m)=>{"use strict";m.d(Q,{w:()=>O});var t=m(2687),e=m(4650),g=m(9116),A=m(2216),o=m(1576),C=m(4859),u=m(3546);let O=(()=>{class d{constructor(w){this.router=w,this.faTimes=t.NBC}goToHelp(){this.router.navigate(["/help"])}}return d.\u0275fac=function(w){return new(w||d)(e.Y36(g.F0))},d.\u0275cmp=e.Xpm({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(w,L){1&w&&(e.TgZ(0,"div",0),e._UZ(1,"fa-icon",1),e.TgZ(2,"span",2),e._uU(3,"Page Not Found"),e.qZA()(),e.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"div",5)(8,"div",6),e._uU(9,"This page does not exist!"),e.qZA(),e.TgZ(10,"span",7)(11,"button",8),e.NdJ("click",function(){return L.goToHelp()}),e._uU(12,"Go To Help"),e.qZA()()()()()()),2&w&&(e.xp6(1),e.Q6J("icon",L.faTimes))},dependencies:[A.BN,o.xw,o.Wh,o.yH,C.lW,u.a8,u.dn],encapsulation:2}),d})()},3390:(Ge,Q,m)=>{"use strict";m.d(Q,{h:()=>e});var t=m(4650);let e=(()=>{class g{constructor(o){this.el=o}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}}return g.\u0275fac=function(o){return new(o||g)(t.Y36(t.SBq))},g.\u0275dir=t.lG2({type:g,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}}),g})()},5199:(Ge,Q,m)=>{"use strict";m.d(Q,{y:()=>e});var t=m(4650);let e=(()=>{class g{constructor(){this.copied=new t.vpe}onClick(o){o.preventDefault(),this.payload&&navigator.clipboard&&navigator.clipboard.writeText(this.payload.toString()).then(()=>{this.copied.emit(this.payload.toString())},C=>{this.copied.emit("Error could not copy text: "+JSON.stringify(C))})}}return g.\u0275fac=function(o){return new(o||g)},g.\u0275dir=t.lG2({type:g,selectors:[["","rtlClipboard",""]],hostBindings:function(o,C){1&o&&t.NdJ("click",function(O){return C.onClick(O)})},inputs:{payload:"payload"},outputs:{copied:"copied"}}),g})()},9843:(Ge,Q,m)=>{"use strict";m.d(Q,{F:()=>g});var t=m(4006),e=m(4650);let g=(()=>{class A{validate(C){return this.max?t.kI.max(+this.max)(C):null}}return A.\u0275fac=function(C){return new(C||A)},A.\u0275dir=e.lG2({type:A,selectors:[["input","max",""]],inputs:{max:"max"},features:[e._Bn([{provide:t.Cf,useExisting:A,multi:!0}])]}),A})()},6534:(Ge,Q,m)=>{"use strict";m.d(Q,{q:()=>g});var t=m(4006),e=m(4650);let g=(()=>{class A{validate(C){return this.min?t.kI.min(+this.min)(C):null}}return A.\u0275fac=function(C){return new(C||A)},A.\u0275dir=e.lG2({type:A,selectors:[["input","min",""]],inputs:{min:"min"},features:[e._Bn([{provide:t.Cf,useExisting:A,multi:!0}])]}),A})()},9445:(Ge,Q,m)=>{"use strict";m.d(Q,{D3:()=>o,al:()=>e,h9:()=>g,i1:()=>A});var t=m(4650);let e=(()=>{class C{transform(O,d){return O?.replace(/^[0]+/g,"")}}return C.\u0275fac=function(O){return new(O||C)},C.\u0275pipe=t.Yjl({name:"removeleadingzeros",type:C,pure:!0}),C})(),g=(()=>{class C{transform(O,d){var M,w;return null===(w=null===(M=O?.replace(/(?:^\w|[A-Z]|\b\w)/g,(L,I)=>L.toUpperCase()))||void 0===M?void 0:M.replace(/\s+/g,""))||void 0===w?void 0:w.replace(/-/g," ")}}return C.\u0275fac=function(O){return new(O||C)},C.\u0275pipe=t.Yjl({name:"camelcase",type:C,pure:!0}),C})(),A=(()=>{class C{transform(O,d,M){return O.replace(/(?:^\w|[A-Z]|\b\w)/g,(w,L)=>" "+w.toUpperCase())}}return C.\u0275fac=function(O){return new(O||C)},C.\u0275pipe=t.Yjl({name:"camelCaseWithSpaces",type:C,pure:!0}),C})(),o=(()=>{class C{transform(O,d,M){var w;return O=null===(w=O?.toLowerCase().replace(/\s+/g,""))||void 0===w?void 0:w.replace(/-/g," "),d&&(O=O.replace(new RegExp(d,"g")," ")),M&&(O=O.replace(new RegExp(M,"g")," ")),O.replace(/(?:^\w|[A-Z]|\b\w)/g,(L,I)=>L.toUpperCase())}}return C.\u0275fac=function(O){return new(O||C)},C.\u0275pipe=t.Yjl({name:"camelcaseWithReplace",type:C,pure:!0}),C})()},1643:(Ge,Q,m)=>{"use strict";m.d(Q,{QM:()=>C,a1:()=>o,eQ:()=>u,fY:()=>O});var t=m(4004),e=m(4650),g=m(9116),A=m(5986);let o=(()=>{class d{constructor(w,L){this.router=w,this.sessionService=L}canActivate(w){return!(!this.sessionService.getItem("token")||"settings"!==w.url[0].path&&"auth"!==w.url[0].path&&"true"===this.sessionService.getItem("defaultPassword")&&(this.router.navigate(["/settings/auth"]),1))}}return d.\u0275fac=function(w){return new(w||d)(e.LFG(g.F0),e.LFG(A.m))},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac}),d})(),C=(()=>{class d{constructor(w){this.sessionService=w}canActivate(){return!!this.sessionService.watchSession().pipe((0,t.U)(w=>w.lndUnlocked))}}return d.\u0275fac=function(w){return new(w||d)(e.LFG(A.m))},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac}),d})(),u=(()=>{class d{constructor(w){this.sessionService=w}canActivate(){return!!this.sessionService.watchSession().pipe((0,t.U)(w=>w.clUnlocked))}}return d.\u0275fac=function(w){return new(w||d)(e.LFG(A.m))},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac}),d})(),O=(()=>{class d{constructor(w){this.sessionService=w}canActivate(){return!!this.sessionService.watchSession().pipe((0,t.U)(w=>w.eclUnlocked))}}return d.\u0275fac=function(w){return new(w||d)(e.LFG(A.m))},d.\u0275prov=e.Yz7({token:d,factory:d.\u0275fac}),d})()},62:(Ge,Q,m)=>{"use strict";m.d(Q,{v:()=>w});var t=m(1135),e=m(9646),g=m(2843),A=m(5698),o=m(4004),C=m(262),u=m(7731),O=m(4650),d=m(8104),M=m(5043);let w=(()=>{class L{constructor(P,U){this.dataService=P,this.logger=U,this.currencyUnits=[],this.CurrencyUnitEnum=u.NT,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=u.Bn.UN_INITIATED,this.screenSize=u.cu.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new t.X(this.containerSize)}getScreenSize(){return this.screenSize}setScreenSize(P){this.screenSize=P}getContainerSize(){return this.containerSize}setContainerSize(P,U){this.containerSize={width:P,height:U},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(P,U,Z,Y="asc"){return P.sort("number"===Z?"desc"===Y?(j,X)=>+j[U]>+X[U]?-1:1:(j,X)=>+j[U]>+X[U]?1:-1:"desc"===Y?(j,X)=>j[U]>X[U]?-1:1:(j,X)=>j[U]>X[U]?1:-1)}sortDescByKey(P,U){return P.sort((Z,Y)=>{const j=+Z[U],X=+Y[U];return j>X?-1:j<X?1:0})}sortAscByKey(P,U){return P.sort((Z,Y)=>{const j=+Z[U],X=+Y[U];return j<X?-1:j>X?1:0})}camelCase(P){var U,Z;return null===(Z=null===(U=P?.replace(/(?:^\w|[A-Z]|\b\w)/g,(Y,j)=>Y.toUpperCase()))||void 0===U?void 0:U.replace(/\s+/g,""))||void 0===Z?void 0:Z.replace(/-/g," ")}titleCase(P,U,Z){var Y,j;return U&&Z&&""!==U&&""!==Z&&(P=P?.replace(new RegExp(U,"g"),Z)),P.indexOf("!\n")>0||P.indexOf(".\n")>0?null===(Y=P.split("\n"))||void 0===Y?void 0:Y.reduce((X,ee)=>X+ee.charAt(0).toUpperCase()+ee.substring(1).toLowerCase()+"\n",""):P.indexOf(" ")>0?null===(j=P.split(" "))||void 0===j?void 0:j.reduce((X,ee)=>X+ee.charAt(0).toUpperCase()+ee.substring(1).toLowerCase()+" ",""):P.charAt(0).toUpperCase()+P.substring(1).toLowerCase()}convertCurrency(P,U,Z,Y,j){const X=(new Date).valueOf();return j&&Y&&this.ratesAPIStatus!==u.Bn.INITIATED&&(U===u.NT.OTHER||Z===u.NT.OTHER)?this.conversionData.data&&this.conversionData.last_fetched&&X<this.conversionData.last_fetched+3e5?(0,e.of)(this.convertWithFiat(P,U,Y)):(this.ratesAPIStatus=u.Bn.INITIATED,this.dataService.getFiatRates().pipe((0,A.q)(1),(0,o.U)(ee=>(this.ratesAPIStatus=u.Bn.COMPLETED,this.conversionData.data=ee&&"object"==typeof ee?ee:ee&&"string"==typeof ee?JSON.parse(ee):{},this.conversionData.last_fetched=X,this.convertWithFiat(P,U,Y))),(0,C.K)(ee=>(this.ratesAPIStatus=u.Bn.ERROR,(0,g._)(()=>this.extractErrorMessage(ee,"Currency Conversion Error.")))))):(0,e.of)(this.convertWithoutFiat(P,U))}convertWithoutFiat(P,U){const Z={};switch(Z[u.NT.SATS]=0,Z[u.NT.BTC]=0,U){case u.NT.SATS:Z[u.NT.SATS]=P,Z[u.NT.BTC]=1e-8*P;break;case u.NT.BTC:Z[u.NT.SATS]=1e8*P,Z[u.NT.BTC]=P}return Z}convertWithFiat(P,U,Z){const Y={unit:Z,symbol:this.conversionData.data[Z].symbol};switch(Y[u.NT.SATS]=0,Y[u.NT.BTC]=0,Y[u.NT.OTHER]=0,U){case u.NT.SATS:Y[u.NT.SATS]=P,Y[u.NT.BTC]=1e-8*P,Y[u.NT.OTHER]=1e-8*P*this.conversionData.data[Z].last;break;case u.NT.BTC:Y[u.NT.SATS]=1e8*P,Y[u.NT.BTC]=P,Y[u.NT.OTHER]=P*this.conversionData.data[Z].last;break;case u.NT.OTHER:Y[u.NT.SATS]=P/this.conversionData.data[Z].last*1e8,Y[u.NT.BTC]=P/this.conversionData.data[Z].last,Y[u.NT.OTHER]=P}return Y}convertTime(P,U,Z){switch(U){case u.Qk.SECS:switch(Z){case u.Qk.MINS:P/=60;break;case u.Qk.HOURS:P/=3600;break;case u.Qk.DAYS:P/=86400}break;case u.Qk.MINS:switch(Z){case u.Qk.SECS:P*=60;break;case u.Qk.HOURS:P/=60;break;case u.Qk.DAYS:P/=1440}break;case u.Qk.HOURS:switch(Z){case u.Qk.SECS:P*=3600;break;case u.Qk.MINS:P*=60;break;case u.Qk.DAYS:P/=24}break;case u.Qk.DAYS:switch(Z){case u.Qk.SECS:P=3600*P*24;break;case u.Qk.MINS:P=60*P*24;break;case u.Qk.HOURS:P*=24}}return P}downloadFile(P,U,Z=".json",Y=".csv"){let j=new Blob;j=".json"===Z?new Blob(["\ufeff"+this.convertToCSV(P)],{type:"text/csv;charset=utf-8;"}):new Blob([P.toString()],{type:"text/plain;charset=utf-8"});const X=document.createElement("a"),ee=URL.createObjectURL(j);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&X.setAttribute("target","_blank"),X.setAttribute("href",ee),X.setAttribute("download",U+Y),X.style.visibility="hidden",document.body.appendChild(X),X.click(),document.body.removeChild(X)}convertToCSV(P){const U=[];let Z="",Y="",j="";return"object"!=typeof P&&(P=JSON.parse(P)),P.forEach((ee,ue)=>{for(const le in ee)U.findIndex(ie=>ie===le)<0&&U.push(le)}),j=U.join(",")+"\r\n",P.forEach(ee=>{Z="",U.forEach(ue=>{var le;ee.hasOwnProperty(ue)?Array.isArray(ee[ue])?(Y="",ee[ue].forEach((ie,ce)=>{var se;Y+="object"==typeof ie?"("+(null===(se=JSON.stringify(ie))||void 0===se?void 0:se.replace(/\,/g,";"))+")":"("+ie+")"}),Z+=Y+","):Z+="object"==typeof ee[ue]?(null===(le=JSON.stringify(ee[ue]))||void 0===le?void 0:le.replace(/\,/g,";"))+",":ee[ue]+",":Z+=","}),j+=Z.slice(0,-1)+"\r\n"}),j}isVersionCompatible(P,U){var Z;if(P){const Y=(null===(Z=P.trim())||void 0===Z?void 0:Z.replace("v","").split("-")[0].split("."))||[],j=U.split(".");return+Y[0]>+j[0]||+Y[0]==+j[0]&&+Y[1]>+j[1]||+Y[0]==+j[0]&&+Y[1]==+j[1]&&+Y[2]>=+j[2]}return!1}extractErrorMessage(P,U="Unknown Error."){const Z=this.titleCase(P.error&&P.error.text&&"string"==typeof P.error.text&&P.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":P.error&&P.error.error&&P.error.error.error&&P.error.error.error.error&&P.error.error.error.error.error&&"string"==typeof P.error.error.error.error.error?P.error.error.error.error.error:P.error&&P.error.error&&P.error.error.error&&P.error.error.error.error&&"string"==typeof P.error.error.error.error?P.error.error.error.error:P.error&&P.error.error&&P.error.error.error&&"string"==typeof P.error.error.error?P.error.error.error:P.error&&P.error.error&&"string"==typeof P.error.error?P.error.error:P.error&&"string"==typeof P.error?P.error:P.error&&P.error.error&&P.error.error.error&&P.error.error.error.error&&P.error.error.error.error.message&&"string"==typeof P.error.error.error.error.message?P.error.error.error.error.message:P.error&&P.error.error&&P.error.error.error&&P.error.error.error.message&&"string"==typeof P.error.error.error.message?P.error.error.error.message:P.error&&P.error.error&&P.error.error.message&&"string"==typeof P.error.error.message?P.error.error.message:P.error&&P.error.message&&"string"==typeof P.error.message?P.error.message:P.message&&"string"==typeof P.message?P.message:U);return this.logger.info("Error Message: "+Z),Z}extractErrorCode(P,U=500){const Z=P.error&&P.error.error&&P.error.error.message&&P.error.error.message.code?P.error.error.message.code:P.error&&P.error.error&&P.error.error.code?P.error.error.code:P.error&&P.error.code?P.error.code:P.code?P.code:P.status?P.status:U;return this.logger.info("Error Code: "+Z),Z}extractErrorNumber(P,U=500){const Z=P.error&&P.error.error&&P.error.error.errno?P.error.error.errno:P.error&&P.error.errno?P.error.errno:P.errno?P.errno:P.status?P.status:U;return this.logger.info("Error Number: "+Z),Z}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}}return L.\u0275fac=function(P){return new(P||L)(O.LFG(d.D),O.LFG(M.mQ))},L.\u0275prov=O.Yz7({token:L,factory:L.\u0275fac}),L})()},7731:(Ge,Q,m)=>{"use strict";m.d(Q,{$I:()=>v,$v:()=>X,AB:()=>Se,At:()=>_t,Bn:()=>it,Df:()=>Ke,Dr:()=>U,Er:()=>d,Fq:()=>k,Gi:()=>i,HW:()=>h,H_:()=>Ae,IV:()=>L,IX:()=>ot,JX:()=>W,LO:()=>M,NT:()=>E,OJ:()=>ce,OO:()=>me,Pi:()=>xe,Qk:()=>se,Qw:()=>b,T5:()=>o,TJ:()=>I,Vc:()=>Z,Xk:()=>vt,Xr:()=>Ie,Xz:()=>O,Zs:()=>S,_t:()=>P,c3:()=>Jt,cu:()=>r,g8:()=>ue,gB:()=>ye,gG:()=>ft,gK:()=>ct,gg:()=>B,hG:()=>nt,hZ:()=>oe,hc:()=>n,kO:()=>Oe,lr:()=>te,m6:()=>Ne,nM:()=>ee,n_:()=>ie,ol:()=>le,op:()=>z,p7:()=>y,pg:()=>ve,pt:()=>g,q4:()=>A,uA:()=>u,uR:()=>fe,vn:()=>Y,vv:()=>C,wZ:()=>j,x$:()=>c,zZ:()=>ke});var t=m(4650),e=m(8739);function g(ne){const Ht=new e.ye;return Ht.itemsPerPageLabel=ne+" per page:",Ht}const A="0.13.4-beta",o=(0,t.X6Q)()?"http://localhost:3000/rtl/api":"./api",C={AUTHENTICATE_API:o+"/authenticate",CONF_API:o+"/conf",PAGE_SETTINGS_API:o+"/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"},u=["Sats","BTC"],O={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},d=[{id:"USD",name:"USD"},{id:"AUD",name:"AUD"},{id:"BRL",name:"BRL"},{id:"CAD",name:"CAD"},{id:"CHF",name:"CHF"},{id:"CLP",name:"CLP"},{id:"CNY",name:"CNY"},{id:"DKK",name:"DKK"},{id:"EUR",name:"EUR"},{id:"GBP",name:"GBP"},{id:"HKD",name:"HKD"},{id:"INR",name:"INR"},{id:"ISK",name:"ISK"},{id:"JPY",name:"JPY"},{id:"KRW",name:"KRW"},{id:"NZD",name:"NZD"},{id:"PLN",name:"PLN"},{id:"RUB",name:"RUB"},{id:"SEK",name:"SEK"},{id:"SGD",name:"SGD"},{id:"THB",name:"THB"},{id:"TWD",name:"TWD"}],M=["SECS","MINS","HOURS","DAYS"],L=10,I=[5,10,25,100],P=[{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"}],U=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],Z=[{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"}],Y=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom (Sats/vByte)"}],j={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 X=(()=>{return(ne=X||(X={})).PAYMENT_RECEIVED="payment-received",ne.PAYMENT_RELAYED="payment-relayed",ne.PAYMENT_SENT="payment-sent",ne.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",ne.PAYMENT_FAILED="payment-failed",ne.CHANNEL_OPENED="channel-opened",ne.CHANNEL_STATE_CHANGED="channel-state-changed",ne.CHANNEL_CLOSED="channel-closed",X;var ne})(),ee=(()=>{return(ne=ee||(ee={})).INVOICE="invoice",ne.BLOCK_HEIGHT="block-height",ne.SEND_PAYMENT="send-payment",ee;var ne})(),ue=(()=>((ue||(ue={})).INVOICE="invoice",ue))(),le=(()=>{return(ne=le||(le={})).OPERATOR="OPERATOR",ne.MERCHANT="MERCHANT",ne.ALL="ALL",le;var ne})(),ie=(()=>{return(ne=ie||(ie={})).INFORMATION="Information",ne.WARNING="Warning",ne.ERROR="Error",ne.SUCCESS="Success",ne.CONFIRM="Confirm",ie;var ne})(),ce=(()=>{return(ne=ce||(ce={})).JWT="JWT",ne.PASSWORD="PASSWORD",ce;var ne})(),se=(()=>{return(ne=se||(se={})).SECS="SECS",ne.MINS="MINS",ne.HOURS="HOURS",ne.DAYS="DAYS",se;var ne})(),E=(()=>{return(ne=E||(E={})).SATS="Sats",ne.BTC="BTC",ne.OTHER="OTHER",E;var ne})(),i=(()=>{return(ne=i||(i={})).ARRAY="ARRAY",ne.NUMBER="NUMBER",ne.STRING="STRING",ne.BOOLEAN="BOOLEAN",ne.PASSWORD="PASSWORD",ne.DATE="DATE",ne.DATE_TIME="DATE_TIME",i;var ne})(),r=(()=>{return(ne=r||(r={})).XS="XS",ne.SM="SM",ne.MD="MD",ne.LG="LG",ne.XL="XL",r;var ne})();const h={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"}},c={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 y=(()=>{return(ne=y||(y={})).WIRE_INVALID_ONION_VERSION="Invalid Onion Version",ne.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",ne.WIRE_INVALID_ONION_KEY="Invalid Onion Key",ne.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",ne.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",ne.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",ne.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",ne.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",ne.WIRE_FEE_INSUFFICIENT="Insufficient Fee",ne.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",ne.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",ne.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",ne.WIRE_CHANNEL_DISABLED="Channel Disabled",ne.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",ne.WIRE_INVALID_REALM="Invalid Realm",ne.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",ne.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",ne.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",ne.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",ne.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",ne.WIRE_MPP_TIMEOUT="MPP Timeout",ne.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",ne.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",y;var ne})(),S=(()=>{return(ne=S||(S={})).CHANNELD_NORMAL="Active",ne.OPENINGD="Opening",ne.CHANNELD_AWAITING_LOCKIN="Pending Open",ne.CHANNELD_SHUTTING_DOWN="Shutting Down",ne.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",ne.CLOSINGD_COMPLETE="Closed",ne.AWAITING_UNILATERAL="Awaiting Unilateral Close",ne.FUNDING_SPEND_SEEN="Funding Spend Seen",ne.ONCHAIN="Onchain",ne.DUALOPEND_OPEN_INIT="Dual Open Initialized",ne.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",S;var ne})(),k=(()=>{return(ne=k||(k={})).INITIATED="Initiated",ne.PREIMAGE_REVEALED="Preimage Revealed",ne.HTLC_PUBLISHED="HTLC Published",ne.SUCCESS="Successful",ne.FAILED="Failed",ne.INVOICE_SETTLED="Invoice Settled",k;var ne})(),v=(()=>{return(ne=v||(v={})).LOOP_OUT="LOOP_OUT",ne.LOOP_IN="LOOP_IN",v;var ne})(),n=(()=>{return(ne=n||(n={})).SWAP_OUT="SWAP_OUT",ne.SWAP_IN="SWAP_IN",n;var ne})(),b=(()=>{return(ne=b||(b={}))["swap.created"]="Swap Created",ne["swap.expired"]="Swap Expired",ne["invoice.set"]="Invoice Set",ne["invoice.paid"]="Invoice Paid",ne["invoice.pending"]="Invoice Pending",ne["invoice.settled"]="Invoice Settled",ne["invoice.failedToPay"]="Invoice Failed To Pay",ne["channel.created"]="Channel Created",ne["transaction.failed"]="Transaction Failed",ne["transaction.mempool"]="Transaction Mempool",ne["transaction.claimed"]="Transaction Claimed",ne["transaction.refunded"]="Transaction Refunded",ne["transaction.confirmed"]="Transaction Confirmed",ne["swap.refunded"]="Swap Refunded",ne["swap.abandoned"]="Swap Abandoned",b;var ne})();const B=[{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}],z=["MONTHLY","YEARLY"];var W=(()=>{return(ne=W||(W={})).LOOP="LOOP",ne.BOLTZ="BOLTZ",ne.OFFERS="OFFERS",ne.PEERSWAP="PEERSWAP",W;var ne})();const Oe=["password","changeme","moneyprintergobrrr"];var it=(()=>{return(ne=it||(it={})).UN_INITIATED="UN_INITIATED",ne.INITIATED="INITIATED",ne.COMPLETED="COMPLETED",ne.ERROR="ERROR",it;var ne})();const Ne={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_UI_SETTINGS:"Updating Settings...",UPDATE_NODE_SETTINGS:"Updating Node Settings...",UPDATE_SELECTED_NODE:"Updating Selected Node...",OPEN_CONFIG_FILE:"Opening Config File...",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_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...",LOG_OUT:"Logging Out..."};var ot=(()=>{return(ne=ot||(ot={})).INVOICE="INVOICE",ne.OFFER="OFFER",ne.KEYSEND="KEYSEND",ot;var ne})(),Ie=(()=>{return(ne=Ie||(Ie={})).FEES="FEES",ne.EVENTS="EVENTS",Ie;var ne})(),ve=(()=>{return(ne=ve||(ve={})).VOID="VOID",ne.SET_API_URL_ECL="SET_API_URL_ECL",ne.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",ne.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",ne.RESET_ROOT_STORE="RESET_ROOT_STORE",ne.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",ne.OPEN_SNACK_BAR="OPEN_SNACKBAR",ne.OPEN_SPINNER="OPEN_SPINNER",ne.CLOSE_SPINNER="CLOSE_SPINNER",ne.OPEN_ALERT="OPEN_ALERT",ne.CLOSE_ALERT="CLOSE_ALERT",ne.OPEN_CONFIRMATION="OPEN_CONFIRMATION",ne.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",ne.SHOW_PUBKEY="SHOW_PUBKEY",ne.FETCH_CONFIG="FETCH_CONFIG",ne.SHOW_CONFIG="SHOW_CONFIG",ne.FETCH_STORE="FETCH_STORE",ne.SET_STORE="SET_STORE",ne.FETCH_RTL_CONFIG="FETCH_RTL_CONFIG",ne.SET_RTL_CONFIG="SET_RTL_CONFIG",ne.SAVE_SSO="SAVE_SSO",ne.SAVE_SETTINGS="SAVE_SETTINGS",ne.TWO_FA_SAVE_SETTINGS="TWO_FA_SAVE_SETTINGS",ne.SET_SELECTED_NODE="SET_SELECTED_NODE",ne.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",ne.UPDATE_SERVICE_SETTINGS="UPDATE_SERVICE_SETTINGS",ne.SET_NODE_DATA="SET_NODE_DATA",ne.IS_AUTHORIZED="IS_AUTHORIZED",ne.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",ne.LOGIN="LOGIN",ne.VERIFY_TWO_FA="VERIFY_TWO_FA",ne.LOGOUT="LOGOUT",ne.RESET_PASSWORD="RESET_PASSWORD",ne.RESET_PASSWORD_RES="RESET_PASSWORD_RES",ne.FETCH_FILE="FETCH_FILE",ne.SHOW_FILE="SHOW_FILE",ve;var ne})(),fe=(()=>{return(ne=fe||(fe={})).RESET_LND_STORE="RESET_LND_STORE",ne.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",ne.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",ne.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",ne.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",ne.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",ne.FETCH_INFO_LND="FETCH_INFO_LND",ne.SET_INFO_LND="SET_INFO_LND",ne.FETCH_PEERS_LND="FETCH_PEERS_LND",ne.SET_PEERS_LND="SET_PEERS_LND",ne.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",ne.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",ne.DETACH_PEER_LND="DETACH_PEER_LND",ne.REMOVE_PEER_LND="REMOVE_PEER_LND",ne.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",ne.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",ne.ADD_INVOICE_LND="ADD_INVOICE_LND",ne.FETCH_FEES_LND="FETCH_FEES_LND",ne.SET_FEES_LND="SET_FEES_LND",ne.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",ne.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",ne.FETCH_NETWORK_LND="FETCH_NETWORK_LND",ne.SET_NETWORK_LND="SET_NETWORK_LND",ne.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",ne.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",ne.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",ne.SET_CHANNELS_LND="SET_CHANNELS_LND",ne.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",ne.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",ne.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",ne.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",ne.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",ne.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",ne.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",ne.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",ne.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",ne.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",ne.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",ne.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",ne.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",ne.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",ne.FETCH_INVOICES_LND="FETCH_INVOICES_LND",ne.SET_INVOICES_LND="SET_INVOICES_LND",ne.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",ne.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",ne.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",ne.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",ne.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",ne.FETCH_UTXOS_LND="FETCH_UTXOS_LND",ne.SET_UTXOS_LND="SET_UTXOS_LND",ne.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",ne.SET_PAYMENTS_LND="SET_PAYMENTS_LND",ne.SEND_PAYMENT_LND="SEND_PAYMENT_LND",ne.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",ne.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",ne.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",ne.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",ne.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",ne.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",ne.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",ne.GEN_SEED_LND="GEN_SEED_LND",ne.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",ne.INIT_WALLET_LND="INIT_WALLET_LND",ne.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",ne.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",ne.PEER_LOOKUP_LND="PEER_LOOKUP_LND",ne.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",ne.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",ne.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",ne.SET_LOOKUP_LND="SET_LOOKUP_LND",ne.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",ne.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",ne.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",ne.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",ne.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",ne.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",fe;var ne})(),Se=(()=>{return(ne=Se||(Se={})).RESET_CLN_STORE="RESET_CLN_STORE",ne.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",ne.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",ne.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",ne.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",ne.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",ne.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",ne.SET_INFO_CLN="SET_INFO_CLN",ne.FETCH_FEES_CLN="FETCH_FEES_CLN",ne.SET_FEES_CLN="SET_FEES_CLN",ne.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",ne.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",ne.FETCH_BALANCE_CLN="FETCH_BALANCE_CLN",ne.SET_BALANCE_CLN="SET_BALANCE_CLN",ne.FETCH_LOCAL_REMOTE_BALANCE_CLN="FETCH_LOCAL_REMOTE_BALANCE_CLN",ne.SET_LOCAL_REMOTE_BALANCE_CLN="SET_LOCAL_REMOTE_BALANCE_CLN",ne.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",ne.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",ne.FETCH_UTXOS_CLN="FETCH_UTXOS_CLN",ne.SET_UTXOS_CLN="SET_UTXOS_CLN",ne.FETCH_PEERS_CLN="FETCH_PEERS_CLN",ne.SET_PEERS_CLN="SET_PEERS_CLN",ne.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",ne.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",ne.ADD_PEER_CLN="ADD_PEER_CLN",ne.DETACH_PEER_CLN="DETACH_PEER_CLN",ne.REMOVE_PEER_CLN="REMOVE_PEER_CLN",ne.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",ne.SET_CHANNELS_CLN="SET_CHANNELS_CLN",ne.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",ne.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",ne.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",ne.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",ne.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",ne.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",ne.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",ne.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",ne.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",ne.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",ne.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",ne.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",ne.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",ne.SET_LOOKUP_CLN="SET_LOOKUP_CLN",ne.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",ne.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",ne.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",ne.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",ne.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",ne.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",ne.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",ne.SET_INVOICES_CLN="SET_INVOICES_CLN",ne.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",ne.ADD_INVOICE_CLN="ADD_INVOICE_CLN",ne.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",ne.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",ne.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",ne.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",ne.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",ne.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",ne.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",ne.SET_OFFERS_CLN="SET_OFFERS_CLN",ne.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",ne.ADD_OFFER_CLN="ADD_OFFER_CLN",ne.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",ne.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",ne.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",ne.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",ne.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",ne.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",ne.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",Se;var ne})(),te=(()=>{return(ne=te||(te={})).RESET_ECL_STORE="RESET_ECL_STORE",ne.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",ne.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",ne.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",ne.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",ne.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",ne.FETCH_INFO_ECL="FETCH_INFO_ECL",ne.SET_INFO_ECL="SET_INFO_ECL",ne.FETCH_FEES_ECL="FETCH_FEES_ECL",ne.SET_FEES_ECL="SET_FEES_ECL",ne.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",ne.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",ne.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",ne.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",ne.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",ne.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",ne.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",ne.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",ne.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",ne.FETCH_PEERS_ECL="FETCH_PEERS_ECL",ne.SET_PEERS_ECL="SET_PEERS_ECL",ne.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",ne.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",ne.ADD_PEER_ECL="ADD_PEER_ECL",ne.DETACH_PEER_ECL="DETACH_PEER_ECL",ne.REMOVE_PEER_ECL="REMOVE_PEER_ECL",ne.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",ne.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",ne.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",ne.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",ne.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",ne.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",ne.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",ne.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",ne.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",ne.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",ne.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",ne.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",ne.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",ne.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",ne.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",ne.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",ne.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",ne.SET_INVOICES_ECL="SET_INVOICES_ECL",ne.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",ne.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",ne.ADD_INVOICE_ECL="ADD_INVOICE_ECL",ne.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",ne.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",ne.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",ne.SET_LOOKUP_ECL="SET_LOOKUP_ECL",ne.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",ne.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",te;var ne})();const Ke=[{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"}];var Ae=(()=>{return(ne=Ae||(Ae={})).gossip_queries_ex="Gossip queries including additional information",ne.option_anchor_outputs="Anchor outputs",ne.option_data_loss_protect="Extra channel re-establish fields",ne.var_onion_optin="Variable-length routing onion payloads",ne.option_static_remotekey="Static key for remote output",ne.option_support_large_channel="Create large channels",ne.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",ne.payment_secret="Payment secret field",ne.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",ne.basic_mpp="Basic multi-part payments",ne.gossip_queries="More sophisticated gossip control",ne.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",ne.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",ne.amp="AMP",Ae;var ne})(),oe=(()=>{return(ne=oe||(oe={}))["data-loss-protect"]="Extra channel re-establish fields",ne["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",ne["gossip-queries"]="More sophisticated gossip control",ne["tlv-onion"]="Variable-length routing onion payloads",ne["ext-gossip-queries"]="Gossip queries can include additional information",ne["static-remote-key"]="Static key for remote output",ne["payment-addr"]="Payment secret field",ne["multi-path-payments"]="Basic multi-part payments",ne["wumbo-channels"]="Wumbo Channels",ne.anchors="Anchor outputs",ne["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",ne.amp="AMP",oe;var ne})();const ye=[{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 me=(()=>{return(ne=me||(me={})).OFFERED="offered",ne.SETTLED="settled",ne.FAILED="failed",ne.LOCAL_FAILED="local_failed",me;var ne})(),xe=(()=>{return(ne=xe||(xe={})).ASCENDING="asc",ne.DESCENDING="desc",xe;var ne})();const ke=["asc","desc"],ft=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:L,sortBy:"blockheight",sortOrder:xe.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:L,sortBy:"blockheight",sortOrder:xe.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:L,sortBy:"msatoshi_to_us",sortOrder:xe.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:L,sortBy:"state",sortOrder:xe.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:L,sortBy:"alias",sortOrder:xe.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:L,sortBy:"channel_opening_fee",sortOrder:xe.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:L,sortBy:"created_at",sortOrder:xe.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:L,sortBy:"expires_at",sortOrder:xe.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:L,sortBy:"offer_id",sortOrder:xe.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:L,sortBy:"lastUpdatedAt",sortOrder:xe.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:L,sortBy:"received_time",sortOrder:xe.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:L,sortBy:"total_fee",sortOrder:xe.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:L,sortBy:"received_time",sortOrder:xe.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:L,sortBy:"received_time",sortOrder:xe.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:L,sortBy:"received_time",sortOrder:xe.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:L,sortBy:"date",sortOrder:xe.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:L,sortBy:"msatoshi",sortOrder:xe.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]},{pageId:"peerswap",tables:[{tableId:"swaps",recordsPerPage:L,sortBy:"created_at",sortOrder:xe.DESCENDING,columnSelectionSM:["id","state","amount"],columnSelection:["id","alias","short_channel_id","created_at","state","amount"]}]}],_t={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"}]}},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:"vendor"},{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"}]}},peerswap:{swaps:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"short_channel_id"},{column:"created_at"},{column:"state"},{column:"amount"}]}}},ct=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:L,sortBy:"tx_id",sortOrder:xe.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:L,sortBy:"time_stamp",sortOrder:xe.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:L,sortBy:"tx_id",sortOrder:xe.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:L,sortBy:"balancedness",sortOrder:xe.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:xe.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:xe.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:xe.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:xe.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:L,sortBy:"close_type",sortOrder:xe.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:L,sortBy:"incoming",sortOrder:xe.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:L,sortBy:"alias",sortOrder:xe.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:L,sortBy:"creation_date",sortOrder:xe.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:L,sortBy:"creation_date",sortOrder:xe.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:L,sortBy:"timestamp",sortOrder:xe.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:L,sortBy:"total_amount",sortOrder:xe.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:L,sortBy:"remote_alias",sortOrder:xe.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:L,sortBy:"timestamp",sortOrder:xe.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:L,sortBy:"date",sortOrder:xe.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:L,sortBy:"hop_sequence",sortOrder:xe.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:L,sortBy:"initiation_time",sortOrder:xe.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:L,sortBy:"status",sortOrder:xe.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:L,sortBy:"status",sortOrder:xe.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],nt={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"}]}}},Jt=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:L,sortBy:"timestamp",sortOrder:xe.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:L,sortBy:"alias",sortOrder:xe.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:L,sortBy:"alias",sortOrder:xe.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:L,sortBy:"alias",sortOrder:xe.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:L,sortBy:"alias",sortOrder:xe.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:L,sortBy:"firstPartTimestamp",sortOrder:xe.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:L,sortBy:"receivedAt",sortOrder:xe.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:L,sortBy:"timestamp",sortOrder:xe.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:L,sortBy:"totalFee",sortOrder:xe.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:L,sortBy:"timestamp",sortOrder:xe.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:L,sortBy:"date",sortOrder:xe.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],vt={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:"isFunder",label:"Funder"},{column:"buried"},{column:"feeBaseMsat",label:"Base Fee"},{column:"feeProportionalMillionths",label:"Fee Rate"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"feeRatePerKw",label:"Fee/KW"},{column:"balancedness",label:"Balance Score"}]},pending_channels:{maxColumns:7,allowedColumns:[{column:"state"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isFunder",label:"Funder"},{column:"buried"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"feeRatePerKw",label:"Fee/KW"}]},inactive_channels:{maxColumns:8,allowedColumns:[{column:"state"},{column:"shortChannelId"},{column:"channelId"},{column:"alias"},{column:"nodeId"},{column:"isFunder",label:"Funder"},{column:"buried"},{column:"toLocal",label:"Local Balance"},{column:"toRemote",label:"Remote Balance"},{column:"feeRatePerKw",label:"Fee/KW"},{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"}]}}}},8104:(Ge,Q,m)=>{"use strict";m.d(Q,{D:()=>ie});var t=m(529),e=m(1135),g=m(7579),A=m(2843),o=m(9646),C=m(590),u=m(5577),O=m(2722),d=m(4004),M=m(262),w=m(1365),L=m(7731),I=m(1786),P=m(7861),U=m(6523),Z=m(6529),Y=m(9828),j=m(4650),X=m(9653),ee=m(5043),ue=m(7009),le=m(6895);let ie=(()=>{class ce{constructor(he,E,i,r,h){this.httpClient=he,this.store=E,this.logger=i,this.snackBar=r,this.titleCasePipe=h,this.APIUrl=L.T5,this.lnImplementation="",this.lnImplementationUpdated=new e.X(null),this.unSubs=[new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x,new g.x],this.mapAliases=(c,y)=>(c&&c.length>0?c.forEach((S,k)=>{var v;if(y&&y.length>0)for(let n=0;n<y.length;n++){if(y[n].short_channel_id&&y[n].short_channel_id===S.in_channel&&(S.in_channel_alias=y[n].alias?y[n].alias:S.in_channel,S.out_channel_alias)||y[n].short_channel_id&&(null===(v=y[n].short_channel_id)||void 0===v?void 0:v.toString())===S.out_channel&&(S.out_channel_alias=y[n].alias?y[n].alias:S.out_channel,S.in_channel_alias))return;n===y.length-1&&(S.in_channel_alias||(S.in_channel_alias=S.in_channel?S.in_channel:"-"),S.out_channel_alias||(S.out_channel_alias=S.out_channel?S.out_channel:"-"))}else S.in_channel_alias=S.in_channel?S.in_channel:"-",S.out_channel_alias=S.out_channel?S.out_channel:"-"}):c=[],c)}setLnImplementation(he){this.lnImplementation=he.toLowerCase(),this.lnImplementationUpdated.next(this.lnImplementation)}getFiatRates(){return this.httpClient.get(L.vv.CONF_API+"/rates")}decodePayment(he,E){return this.lnImplementationUpdated.pipe((0,C.P)(i=>null!==i),(0,u.z)(i=>{let r=this.APIUrl+"/"+i+L.vv.PAYMENTS_API+"/decode/"+he;return"cln"===i&&(r=this.APIUrl+"/"+i+L.vv.UTILITY_API+"/decode/"+he),this.store.dispatch((0,P.ac)({payload:L.m6.DECODE_PAYMENT})),this.httpClient.get(r).pipe((0,O.R)(this.unSubs[0]),(0,d.U)(h=>(this.store.dispatch((0,P.uO)({payload:L.m6.DECODE_PAYMENT})),h)),(0,M.K)(h=>(E?this.handleErrorWithoutAlert("Decode Payment",L.m6.DECODE_PAYMENT,h):this.handleErrorWithAlert("decodePaymentData",L.m6.DECODE_PAYMENT,"Decode Payment Failed",r,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}))}decodePayments(he){return this.lnImplementationUpdated.pipe((0,C.P)(E=>null!==E),(0,u.z)(E=>{let i="",r="";return"ecl"===E?(i=this.APIUrl+"/"+E+L.vv.PAYMENTS_API+"/getsentinfos",r=L.m6.GET_SENT_PAYMENTS):"cln"===E?(i=this.APIUrl+"/"+E+L.vv.UTILITY_API,r=L.m6.DECODE_PAYMENTS):(i=this.APIUrl+"/"+E+L.vv.PAYMENTS_API,r=L.m6.DECODE_PAYMENTS),this.store.dispatch((0,P.ac)({payload:r})),this.httpClient.post(i,{payments:he}).pipe((0,O.R)(this.unSubs[1]),(0,d.U)(h=>(this.store.dispatch((0,P.uO)({payload:r})),h)),(0,M.K)(h=>(this.handleErrorWithAlert("decodePaymentsData",r,r+" Failed",i,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}))}getAliasesFromPubkeys(he,E){return this.lnImplementationUpdated.pipe((0,C.P)(i=>null!==i),(0,u.z)(i=>{if(E){const r=(new t.LE).set("pubkeys",he);return this.httpClient.get(this.APIUrl+"/"+i+L.vv.NETWORK_API+"/nodes",{params:r})}return this.httpClient.get(this.APIUrl+"/"+i+L.vv.NETWORK_API+"/node/"+he)}))}signMessage(he){return this.lnImplementationUpdated.pipe((0,C.P)(E=>null!==E),(0,u.z)(E=>{let i=this.APIUrl+"/"+E+L.vv.MESSAGE_API+"/sign";return"cln"===E&&(i=this.APIUrl+"/"+E+L.vv.UTILITY_API+"/sign"),this.store.dispatch((0,P.ac)({payload:L.m6.SIGN_MESSAGE})),this.httpClient.post(i,{message:he}).pipe((0,O.R)(this.unSubs[2]),(0,d.U)(r=>(this.store.dispatch((0,P.uO)({payload:L.m6.SIGN_MESSAGE})),r)),(0,M.K)(r=>(this.handleErrorWithAlert("signMessageData",L.m6.SIGN_MESSAGE,"Sign Message Failed",i,r),(0,A._)(()=>new Error(this.extractErrorMessage(r))))))}))}verifyMessage(he,E){return this.lnImplementationUpdated.pipe((0,C.P)(i=>null!==i),(0,u.z)(i=>{let r=this.APIUrl+"/"+i+L.vv.MESSAGE_API+"/verify";return"cln"===i&&(r=this.APIUrl+"/"+i+L.vv.UTILITY_API+"/verify"),this.store.dispatch((0,P.ac)({payload:L.m6.VERIFY_MESSAGE})),this.httpClient.post(r,{message:he,signature:E}).pipe((0,O.R)(this.unSubs[3]),(0,d.U)(h=>(this.store.dispatch((0,P.uO)({payload:L.m6.VERIFY_MESSAGE})),h)),(0,M.K)(h=>(this.handleErrorWithAlert("verifyMessageData",L.m6.VERIFY_MESSAGE,"Verify Message Failed",r,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}))}bumpFee(he,E,i,r){return this.lnImplementationUpdated.pipe((0,C.P)(h=>null!==h),(0,u.z)(h=>{const c={txid:he,outputIndex:E};return i&&(c.targetConf=i),r&&(c.satPerByte=r),this.store.dispatch((0,P.ac)({payload:L.m6.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+h+L.vv.WALLET_API+"/bumpfee",c).pipe((0,O.R)(this.unSubs[4]),(0,d.U)(y=>(this.store.dispatch((0,P.uO)({payload:L.m6.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),y)),(0,M.K)(y=>(this.handleErrorWithoutAlert("Bump Fee",L.m6.BUMP_FEE,y),(0,A._)(()=>new Error(this.extractErrorMessage(y))))))}))}labelUTXO(he,E,i=!0){return this.lnImplementationUpdated.pipe((0,C.P)(r=>null!==r),(0,u.z)(r=>{const h={txid:he,label:E,overwrite:i};return this.store.dispatch((0,P.ac)({payload:L.m6.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+r+L.vv.WALLET_API+"/label",h).pipe((0,O.R)(this.unSubs[5]),(0,d.U)(c=>(this.store.dispatch((0,P.uO)({payload:L.m6.LABEL_UTXO})),c)),(0,M.K)(c=>(this.handleErrorWithoutAlert("Lease UTXO",L.m6.LABEL_UTXO,c),(0,A._)(()=>new Error(this.extractErrorMessage(c))))))}))}leaseUTXO(he,E){return this.lnImplementationUpdated.pipe((0,C.P)(i=>null!==i),(0,u.z)(i=>{const r={txid:he,outputIndex:E};return this.store.dispatch((0,P.ac)({payload:L.m6.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+i+L.vv.WALLET_API+"/lease",r).pipe((0,O.R)(this.unSubs[6]),(0,d.U)(h=>{this.store.dispatch((0,P.uO)({payload:L.m6.LEASE_UTXO})),this.store.dispatch((0,U.mC)()),this.store.dispatch((0,U.Ly)());const c=new Date(1e3*h.expiration),y=Math.round(c.getTime())-60*c.getTimezoneOffset();this.snackBar.open("The UTXO has been leased till "+new Date(y).toString().substring(4,21).replace(" ","/").replace(" ","/").toUpperCase()+".")}),(0,M.K)(h=>(this.handleErrorWithoutAlert("Lease UTXO",L.m6.LEASE_UTXO,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))}))}getForwardingHistory(he,E,i,r){if("LND"===he){const h={end_time:i,start_time:E};return this.store.dispatch((0,P.ac)({payload:L.m6.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+L.vv.SWITCH_API,h).pipe((0,O.R)(this.unSubs[7]),(0,w.M)(this.store.select(Z._f)),(0,u.z)(([c,y])=>{if(c.forwarding_events){const S=[...y.channels,...y.closedChannels];c.forwarding_events.forEach(k=>{var v,n;if(S&&S.length>0)for(let b=0;b<S.length;b++){if((null===(v=S[b].chan_id)||void 0===v?void 0:v.toString())===k.chan_id_in&&(k.alias_in=S[b].remote_alias?S[b].remote_alias:k.chan_id_in,k.alias_out)||(null===(n=S[b].chan_id)||void 0===n?void 0:n.toString())===k.chan_id_out&&(k.alias_out=S[b].remote_alias?S[b].remote_alias:k.chan_id_out,k.alias_in))return;b===S.length-1&&(k.alias_in||(k.alias_in=k.chan_id_in),k.alias_out||(k.alias_out=k.chan_id_out))}else k.alias_in=k.chan_id_in,k.alias_out=k.chan_id_out})}else c={};return this.store.dispatch((0,P.uO)({payload:L.m6.GET_FORWARDING_HISTORY})),(0,o.of)(c)}),(0,M.K)(c=>(this.handleErrorWithAlert("getForwardingHistoryData",L.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+L.vv.SWITCH_API,c),(0,A._)(()=>new Error(this.extractErrorMessage(c))))))}return"CLN"===he?(this.store.dispatch((0,P.ac)({payload:L.m6.GET_FORWARDING_HISTORY})),this.httpClient.get(this.APIUrl+"/cln"+L.vv.CHANNELS_API+"/listForwards?status="+r).pipe((0,O.R)(this.unSubs[8]),(0,w.M)(this.store.select(Y.ZW)),(0,u.z)(([h,c])=>{const y=this.mapAliases(h,[...c.activeChannels,...c.pendingChannels,...c.inactiveChannels]);return this.store.dispatch((0,P.uO)({payload:L.m6.GET_FORWARDING_HISTORY})),(0,o.of)(y)}),(0,M.K)(h=>(this.handleErrorWithAlert("getForwardingHistoryData",L.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+L.vv.CHANNELS_API+"/listForwards?status="+r+"&start="+E+"&end="+i,h),(0,A._)(()=>new Error(this.extractErrorMessage(h))))))):(0,o.of)({})}listNetworkNodes(he=""){return this.lnImplementationUpdated.pipe((0,C.P)(E=>null!==E),(0,u.z)(E=>(this.store.dispatch((0,P.ac)({payload:L.m6.LIST_NETWORK_NODES})),this.httpClient.get(this.APIUrl+"/"+E+L.vv.NETWORK_API+"/listNodes"+he).pipe((0,O.R)(this.unSubs[9]),(0,u.z)(i=>(this.store.dispatch((0,P.uO)({payload:L.m6.LIST_NETWORK_NODES})),(0,o.of)(i))),(0,M.K)(i=>(this.handleErrorWithoutAlert("List Network Nodes",L.m6.LIST_NETWORK_NODES,i),(0,A._)(()=>this.extractErrorMessage(i))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,C.P)(he=>null!==he),(0,u.z)(he=>(this.store.dispatch((0,P.ac)({payload:L.m6.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+he+L.vv.UTILITY_API+"/listConfigs").pipe((0,O.R)(this.unSubs[10]),(0,u.z)(E=>(this.store.dispatch((0,P.uO)({payload:L.m6.GET_LIST_CONFIGS})),(0,o.of)(E))),(0,M.K)(E=>(this.handleErrorWithoutAlert("List Configurations",L.m6.GET_LIST_CONFIGS,E),(0,A._)(()=>this.extractErrorMessage(E))))))))}getOrUpdateFunderPolicy(he,E,i,r,h,c){return this.lnImplementationUpdated.pipe((0,C.P)(y=>null!==y),(0,u.z)(y=>{const S=he?{policy:he,policy_mod:E,lease_fee_base_msat:i,lease_fee_basis:r,channel_fee_max_base_msat:h,channel_fee_max_proportional_thousandths:c}:null;return this.store.dispatch((0,P.ac)({payload:L.m6.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+y+L.vv.CHANNELS_API+"/funderUpdate",S).pipe((0,O.R)(this.unSubs[11]),(0,d.U)(k=>(this.store.dispatch((0,P.uO)({payload:L.m6.GET_FUNDER_POLICY})),S&&this.store.dispatch((0,P.jW)({payload:"Funder Policy Updated Successfully with Compact Lease: "+k.compact_lease+"!"})),k)),(0,M.K)(k=>(this.handleErrorWithoutAlert("Funder Policy",L.m6.GET_FUNDER_POLICY,k),(0,A._)(()=>new Error(this.extractErrorMessage(k))))))}))}extractErrorMessage(he,E="Unknown Error."){return this.titleCasePipe.transform(he.error.text&&"string"==typeof he.error.text&&he.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":he.error&&he.error.error&&he.error.error.error&&he.error.error.error.error&&he.error.error.error.error.error&&"string"==typeof he.error.error.error.error.error?he.error.error.error.error.error:he.error&&he.error.error&&he.error.error.error&&he.error.error.error.error&&"string"==typeof he.error.error.error.error?he.error.error.error.error:he.error&&he.error.error&&he.error.error.error&&"string"==typeof he.error.error.error?he.error.error.error:he.error&&he.error.error&&"string"==typeof he.error.error?he.error.error:he.error&&"string"==typeof he.error?he.error:he.error&&he.error.error&&he.error.error.error&&he.error.error.error.error&&he.error.error.error.error.message&&"string"==typeof he.error.error.error.error.message?he.error.error.error.error.message:he.error&&he.error.error&&he.error.error.error&&he.error.error.error.message&&"string"==typeof he.error.error.error.message?he.error.error.error.message:he.error&&he.error.error&&he.error.error.message&&"string"==typeof he.error.error.message?he.error.error.message:he.error&&he.error.message&&"string"==typeof he.error.message?he.error.message:he.message&&"string"==typeof he.message?he.message:E)}handleErrorWithoutAlert(he,E,i){i.error.text&&"string"==typeof i.error.text&&i.error.text.includes('<!DOCTYPE html><html lang="en">')&&(i={status:403,error:{message:"API Route Does Not Exist."}}),this.logger.error("ERROR IN: "+he+"\n"+JSON.stringify(i)),401===i.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,P.ts)()),this.store.dispatch((0,P.kS)()),this.store.dispatch((0,P.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,P.uO)({payload:E})),this.store.dispatch((0,P.qi)({payload:{action:he,status:L.Bn.ERROR,statusCode:i.status.toString(),message:this.extractErrorMessage(i)}})))}handleErrorWithAlert(he,E,i,r,h){if(this.logger.error(h),401===h.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,P.ts)()),this.store.dispatch((0,P.kS)()),this.store.dispatch((0,P.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,P.uO)({payload:E}));const c=this.extractErrorMessage(h);this.store.dispatch((0,P.qR)({payload:{data:{type:"ERROR",alertTitle:i,message:{code:h.status?h.status:"Unknown Error",message:c,URL:r},component:I.H}}})),this.store.dispatch((0,P.qi)({payload:{action:he,status:L.Bn.ERROR,statusCode:h.status.toString(),message:c,URL:r}}))}}ngOnDestroy(){this.unSubs.forEach(he=>{he.next(null),he.complete()})}}return ce.\u0275fac=function(he){return new(he||ce)(j.LFG(t.eN),j.LFG(X.yh),j.LFG(ee.mQ),j.LFG(ue.ux),j.LFG(le.rS))},ce.\u0275prov=j.Yz7({token:ce,factory:ce.\u0275fac}),ce})()},5043:(Ge,Q,m)=>{"use strict";m.d(Q,{LG:()=>C,mQ:()=>o});var t=m(4650);const e=(0,t.X6Q)(),g=()=>null;let o=(()=>{class u{invokeConsoleMethod(d,M){}}return u.\u0275fac=function(d){return new(d||u)},u.\u0275prov=t.Yz7({token:u,factory:u.\u0275fac}),u})(),C=(()=>{class u{get info(){return e?console.log.bind(console):g}get warn(){return e?console.warn.bind(console):g}get error(){return e?console.error.bind(console):g}invokeConsoleMethod(d,M){(console[d]||console.log||g).apply(console,[M])}}return u.\u0275fac=function(d){return new(d||u)},u.\u0275prov=t.Yz7({token:u,factory:u.\u0275fac}),u})()},9107:(Ge,Q,m)=>{"use strict";m.d(Q,{W:()=>Z});var t=m(529),e=m(1135),g=m(7579),A=m(9646),o=m(2843),C=m(2722),u=m(262),O=m(4004),d=m(7731),M=m(1786),w=m(7861),L=m(4650),I=m(5043),P=m(9653),U=m(62);let Z=(()=>{class Y{constructor(X,ee,ue,le){this.httpClient=X,this.logger=ee,this.store=ue,this.commonService=le,this.loopUrl="",this.swaps=[],this.swapsChanged=new e.X([]),this.unSubs=[new g.x,new g.x,new g.x,new g.x,new g.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,w.ac)({payload:d.m6.GET_LOOP_SWAPS})),this.loopUrl=d.T5+d.vv.LOOP_API+"/swaps",this.httpClient.get(this.loopUrl).pipe((0,C.R)(this.unSubs[0])).subscribe({next:X=>{this.store.dispatch((0,w.uO)({payload:d.m6.GET_LOOP_SWAPS})),this.swaps=X,this.swapsChanged.next(this.swaps)},error:X=>this.swapsChanged.error(this.handleErrorWithAlert(d.m6.GET_LOOP_SWAPS,this.loopUrl,X))})}loopOut(X,ee,ue,le,ie,ce,se,he,E,i){const r={amount:X,targetConf:ue,swapRoutingFee:le,minerFee:ie,prepayRoutingFee:ce,prepayAmt:se,swapFee:he,swapPublicationDeadline:E,destAddress:i};return""!==ee&&(r.chanId=ee),this.loopUrl=d.T5+d.vv.LOOP_API+"/out",this.httpClient.post(this.loopUrl,r).pipe((0,u.K)(h=>this.handleErrorWithoutAlert("Loop Out for Channel: "+ee,d.m6.NO_SPINNER,h)))}getLoopOutTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,u.K)(X=>this.handleErrorWithoutAlert("Loop Out Terms",d.m6.NO_SPINNER,X)))}getLoopOutQuote(X,ee,ue){let le=new t.LE;return le=le.append("targetConf",ee.toString()),le=le.append("swapPublicationDeadline",ue.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/out/quote/"+X,this.store.dispatch((0,w.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:le}).pipe((0,C.R)(this.unSubs[1]),(0,O.U)(ie=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_QUOTE})),ie)),(0,u.K)(ie=>this.handleErrorWithoutAlert("Loop Out Quote",d.m6.GET_QUOTE,ie)))}getLoopOutTermsAndQuotes(X){let ee=new t.LE;return ee=ee.append("targetConf",X.toString()),ee=ee.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/out/termsAndQuotes",this.store.dispatch((0,w.ac)({payload:d.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ee}).pipe((0,C.R)(this.unSubs[2]),(0,O.U)(ue=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_TERMS_QUOTES})),ue)),(0,u.K)(ue=>(0,A.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,ue))))}loopIn(X,ee,ue,le,ie){const ce={amount:X,swapFee:ee,minerFee:ue,lastHop:le,externalHtlc:ie};return this.loopUrl=d.T5+d.vv.LOOP_API+"/in",this.httpClient.post(this.loopUrl,ce).pipe((0,u.K)(se=>this.handleErrorWithoutAlert("Loop In",d.m6.NO_SPINNER,se)))}getLoopInTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,u.K)(X=>this.handleErrorWithoutAlert("Loop In Terms",d.m6.NO_SPINNER,X)))}getLoopInQuote(X,ee,ue){let le=new t.LE;return le=le.append("targetConf",ee.toString()),le=le.append("swapPublicationDeadline",ue.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/in/quote/"+X,this.store.dispatch((0,w.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:le}).pipe((0,C.R)(this.unSubs[3]),(0,O.U)(ie=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_QUOTE})),ie)),(0,u.K)(ie=>this.handleErrorWithoutAlert("Loop In Qoute",d.m6.GET_QUOTE,ie)))}getLoopInTermsAndQuotes(X){let ee=new t.LE;return ee=ee.append("targetConf",X.toString()),ee=ee.append("swapPublicationDeadline",((new Date).getTime()+18e5).toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/in/termsAndQuotes",this.store.dispatch((0,w.ac)({payload:d.m6.GET_TERMS_QUOTES})),this.httpClient.get(this.loopUrl,{params:ee}).pipe((0,C.R)(this.unSubs[4]),(0,O.U)(ue=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_TERMS_QUOTES})),ue)),(0,u.K)(ue=>(0,A.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,ue))))}getSwap(X){return this.loopUrl=d.T5+d.vv.LOOP_API+"/swap/"+X,this.httpClient.get(this.loopUrl).pipe((0,u.K)(ee=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+X,d.m6.NO_SPINNER,ee)))}handleErrorWithoutAlert(X,ee,ue){let le="";return this.logger.error("ERROR IN: "+X+"\n"+JSON.stringify(ue)),this.store.dispatch((0,w.uO)({payload:ee})),401===ue.status?(le="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.kS)())):503===ue.status?(le="Unable to Connect to Loop Server.",this.store.dispatch((0,w.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ue.status,message:"Unable to Connect to Loop Server",URL:X},component:M.H}}}))):le=this.commonService.extractErrorMessage(ue),(0,o._)(()=>new Error(le))}handleErrorWithAlert(X,ee,ue){let le="";if(this.logger.error(ue),this.store.dispatch((0,w.uO)({payload:X})),401===ue.status)le="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.kS)());else if(503===ue.status)le="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ue.status,message:"Unable to Connect to Loop Server",URL:ee},component:M.H}}}))},100);else{le=this.commonService.extractErrorMessage(ue);const ie=ue.error&&ue.error.error&&ue.error.error.code?ue.error.error.code:ue.error&&ue.error.code?ue.error.code:ue.code?ue.code:ue.status;setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{type:d.n_.ERROR,alertTitle:"ERROR",message:{code:ie,message:le,URL:ee},component:M.H}}}))},100)}return{message:le}}ngOnDestroy(){this.unSubs.forEach(X=>{X.next(null),X.complete()})}}return Y.\u0275fac=function(X){return new(X||Y)(L.LFG(t.eN),L.LFG(I.mQ),L.LFG(P.yh),L.LFG(U.v))},Y.\u0275prov=L.Yz7({token:Y,factory:Y.\u0275fac}),Y})()},5986:(Ge,Q,m)=>{"use strict";m.d(Q,{m:()=>g});var t=m(7579),e=m(4650);let g=(()=>{class A{constructor(){this.sessionSub=new t.x}watchSession(){return this.sessionSub.asObservable()}getItem(C){return sessionStorage.getItem(C)}getAllItems(){return sessionStorage}setItem(C,u){sessionStorage.setItem(C,u),this.sessionSub.next(sessionStorage)}removeItem(C){sessionStorage.removeItem(C),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}}return A.\u0275fac=function(C){return new(C||A)},A.\u0275prov=e.Yz7({token:A,factory:A.\u0275fac}),A})()},7998:(Ge,Q,m)=>{"use strict";m.d(Q,{d:()=>P});var t=m(1135),e=m(7579),g=m(2722),A=m(930),o=m(9751),C=m(727),u=m(4707);const O={url:"",deserializer:U=>JSON.parse(U.data),serializer:U=>JSON.stringify(U)};class M extends e.u{constructor(Z,Y){if(super(),this._socket=null,Z instanceof o.y)this.destination=Y,this.source=Z;else{const j=this._config=Object.assign({},O);if(this._output=new e.x,"string"==typeof Z)j.url=Z;else for(const X in Z)Z.hasOwnProperty(X)&&(j[X]=Z[X]);if(!j.WebSocketCtor&&WebSocket)j.WebSocketCtor=WebSocket;else if(!j.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new u.t}}lift(Z){const Y=new M(this._config,this.destination);return Y.operator=Z,Y.source=this,Y}_resetState(){this._socket=null,this.source||(this.destination=new u.t),this._output=new e.x}multiplex(Z,Y,j){const X=this;return new o.y(ee=>{try{X.next(Z())}catch(le){ee.error(le)}const ue=X.subscribe({next:le=>{try{j(le)&&ee.next(le)}catch(ie){ee.error(ie)}},error:le=>ee.error(le),complete:()=>ee.complete()});return()=>{try{X.next(Y())}catch(le){ee.error(le)}ue.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:Z,protocol:Y,url:j,binaryType:X}=this._config,ee=this._output;let ue=null;try{ue=Y?new Z(j,Y):new Z(j),this._socket=ue,X&&(this._socket.binaryType=X)}catch(ie){return void ee.error(ie)}const le=new C.w0(()=>{this._socket=null,ue&&1===ue.readyState&&ue.close()});ue.onopen=ie=>{const{_socket:ce}=this;if(!ce)return ue.close(),void this._resetState();const{openObserver:se}=this._config;se&&se.next(ie);const he=this.destination;this.destination=A.Lv.create(E=>{if(1===ue.readyState)try{const{serializer:i}=this._config;ue.send(i(E))}catch(i){this.destination.error(i)}},E=>{const{closingObserver:i}=this._config;i&&i.next(void 0),E&&E.code?ue.close(E.code,E.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:E}=this._config;E&&E.next(void 0),ue.close(),this._resetState()}),he&&he instanceof u.t&&le.add(he.subscribe(this.destination))},ue.onerror=ie=>{this._resetState(),ee.error(ie)},ue.onclose=ie=>{ue===this._socket&&this._resetState();const{closeObserver:ce}=this._config;ce&&ce.next(ie),ie.wasClean?ee.complete():ee.error(ie)},ue.onmessage=ie=>{try{const{deserializer:ce}=this._config;ee.next(ce(ie))}catch(ce){ee.error(ce)}}}_subscribe(Z){const{source:Y}=this;return Y?Y.subscribe(Z):(this._socket||this._connectSocket(),this._output.subscribe(Z),Z.add(()=>{const{_socket:j}=this;0===this._output.observers.length&&(j&&(1===j.readyState||0===j.readyState)&&j.close(),this._resetState())}),Z)}unsubscribe(){const{_socket:Z}=this;Z&&(1===Z.readyState||0===Z.readyState)&&Z.close(),this._resetState(),super.unsubscribe()}}var w=m(4650),L=m(5043),I=m(5986);let P=(()=>{class U{constructor(Y,j){this.logger=Y,this.sessionService=j,this.clWSMessages=new t.X(null),this.eclWSMessages=new t.X(null),this.lndWSMessages=new t.X(null),this.wsUrl="",this.nodeIndex="",this.RETRY_SECONDS=5,this.RECONNECT_TIMEOUT=null,this.unSubs=[new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x,new e.x]}connectWebSocket(Y,j){(!this.socket||this.socket.closed)&&(this.wsUrl=Y,this.nodeIndex=j,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new M({url:Y,protocol:[this.sessionService.getItem("token")||"",j]}),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(){var Y;null===(Y=this.socket)||void 0===Y||Y.pipe((0,g.R)(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(Y){this.logger.error(Y),this.clWSMessages.error(Y),this.eclWSMessages.error(Y),this.lndWSMessages.error(Y),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()}}return U.\u0275fac=function(Y){return new(Y||U)(w.LFG(L.mQ),w.LFG(I.m))},U.\u0275prov=w.Yz7({token:U,factory:U.\u0275fac}),U})()},9470:(Ge,Q,m)=>{"use strict";m.d(Q,{m:()=>es});var t=m(6895),e=m(9116),g=m(4006),A=m(529),o=m(2216),C=m(4650),u=m(2233),O=m(5829),d=m(1576);m(1281);let Dt=(()=>{class Rt{}return Rt.\u0275fac=function(bt){return new(bt||Rt)},Rt.\u0275mod=C.oAB({type:Rt}),Rt.\u0275inj=C.cJS({imports:[u.IR]}),Rt})(),fi=(()=>{class Rt{constructor(bt,ai){(0,t.PM)(ai)&&!bt&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(bt,ai=[]){return{ngModule:Rt,providers:bt.serverLoaded?[{provide:u.WU,useValue:{...u.g5,...bt}},{provide:u.Bs,useValue:ai,multi:!0},{provide:u.wY,useValue:!0}]:[{provide:u.WU,useValue:{...u.g5,...bt}},{provide:u.Bs,useValue:ai,multi:!0}]}}}return Rt.\u0275fac=function(bt){return new(bt||Rt)(C.LFG(u.wY),C.LFG(C.Lbi))},Rt.\u0275mod=C.oAB({type:Rt}),Rt.\u0275inj=C.cJS({imports:[d.ae,O.aT,Dt,d.ae,O.aT,Dt]}),Rt})();var Mi=m(2289),Pi=m(3238),Ui=m(7274),Wt=m(7957),si=m(2673),_e=m(4859);m(4761),m(5017);let pr=(()=>{class Rt{}return Rt.\u0275fac=function(bt){return new(bt||Rt)},Rt.\u0275mod=C.oAB({type:Rt}),Rt.\u0275inj=C.cJS({imports:[Pi.BQ,Pi.si,Pi.BQ]}),Rt})();var Fr=m(3546),Wr=m(6709),Ai=m(9602),Ki=m(752),Zt=m(782),vi=m(7392),pi=m(4144),bi=m(6338),Fi=m(8255),qi=m(8739),wn=m(3162),qn=m(1572),Bn=m(1948),ar=m(4385),Nn=m(3267),Fn=m(455);m(7579);let Oa=(()=>{class Rt{}return Rt.\u0275fac=function(bt){return new(bt||Rt)},Rt.\u0275mod=C.oAB({type:Rt}),Rt.\u0275inj=C.cJS({imports:[Pi.BQ,t.ez,Pi.si]}),Rt})();var pa=m(7009),Ja=m(6308),fr=m(8425),Vr=m(671),ga=m(3848),Xa=m(3683),Ma=m(266),us=m(5423),Zr=m(7331),Sa=m(2213),Ba=m(658),Jr=m(6839),fs=m(8184),$a=m(3353);let $n=(()=>{class Rt extends fs.Xj{constructor(bt,ai){super(bt,ai)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}}return Rt.\u0275fac=function(bt){return new(bt||Rt)(C.Y36(t.K0),C.Y36($a.t4))},Rt.\u0275dir=C.lG2({type:Rt,features:[C.qOj]}),Rt})();var Ua=m(5043),sr=m(7731),Jn=m(9445);const Ga={suppressScrollX:!1,suppressScrollY:!1};let Ea=(()=>{class Rt extends Pi.LF{constructor(bt,ai){super(bt,ai)}format(bt,ai){if("input"===ai){let Hi=bt.getDate().toString();return Hi=+Hi<10?"0"+Hi:Hi,Hi+"/"+sr.gg[bt.getMonth()].name.toUpperCase()+"/"+bt.getFullYear()}return sr.gg[bt.getMonth()].name.toUpperCase()+" "+bt.getFullYear()}}return Rt.\u0275fac=function(bt){return new(bt||Rt)(C.LFG(Pi.Ad,8),C.LFG($a.t4))},Rt.\u0275prov=C.Yz7({token:Rt,factory:Rt.\u0275fac}),Rt})();const hr={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 es=(()=>{class Rt{}return Rt.\u0275fac=function(bt){return new(bt||Rt)},Rt.\u0275mod=C.oAB({type:Rt}),Rt.\u0275inj=C.cJS({providers:[{provide:Ua.mQ,useClass:Ua.LG},{provide:Jr.op,useValue:Ga},{provide:pa.Ve,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:Ui.Bq,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:Pi._A,useClass:Ea},{provide:Pi.sG,useValue:hr},{provide:fs.Xj,useClass:$n},t.JJ,t.rS,t.uU,Jn.al,Jn.h9,Jn.D3,Jn.i1],imports:[t.ez,g.u5,g.UX,o.uH,fi,Mi.xu,Ui.Is,_e.ot,pr,Fr.QW,Wr.p9,Ki.To,Zt.N6,Ai.FA,Pi.XK,vi.Ps,pi.c,bi.ie,Fi.Tx,wn.Cv,qn.Cq,Bn.Fk,us.dp,Zr.Hi,ar.LD,Nn.SJ,Fn.rP,Ja.JX,Vr.p0,Xa.g0,Ma.AV,si.g,qi.TU,fr.T5,Oa,ga.Nh,pa.ZX,Wt.Bb,Sa.a4,Ba.OF,e.Bz,A.JF,Jr.Xd,g.u5,g.UX,o.uH,fi,Mi.xu,Ui.Is,_e.ot,pr,Fr.QW,Wr.p9,Ki.To,Zt.N6,Ai.FA,Pi.XK,vi.Ps,pi.c,bi.ie,Fi.Tx,wn.Cv,qn.Cq,Bn.Fk,us.dp,Zr.Hi,ar.LD,Nn.SJ,Fn.rP,Ja.JX,Vr.p0,Xa.g0,Ma.AV,si.g,qi.TU,fr.T5,Oa,ga.Nh,pa.ZX,Wt.Bb,Sa.a4,Ba.OF,Jr.Xd]}),Rt})()},7861:(Ge,Q,m)=>{"use strict";m.d(Q,{M6:()=>w,Q2:()=>U,QO:()=>c,Tm:()=>ce,Uy:()=>le,XT:()=>ee,_V:()=>he,ac:()=>O,c0:()=>r,c1:()=>L,dc:()=>v,ey:()=>X,fk:()=>ie,jS:()=>se,jW:()=>u,kS:()=>i,lC:()=>A,qR:()=>M,qi:()=>o,tj:()=>P,ts:()=>C,tw:()=>Y,uO:()=>d,vI:()=>j,x4:()=>S,yb:()=>I,zQ:()=>ue});var t=m(9653),e=m(7731);(0,t.PH)(e.pg.VOID);const A=(0,t.PH)(e.pg.SET_API_URL_ECL,(0,t.Ky)()),o=(0,t.PH)(e.pg.UPDATE_API_CALL_STATUS_ROOT,(0,t.Ky)()),C=(0,t.PH)(e.pg.CLOSE_ALL_DIALOGS),u=(0,t.PH)(e.pg.OPEN_SNACK_BAR,(0,t.Ky)()),O=(0,t.PH)(e.pg.OPEN_SPINNER,(0,t.Ky)()),d=(0,t.PH)(e.pg.CLOSE_SPINNER,(0,t.Ky)()),M=(0,t.PH)(e.pg.OPEN_ALERT,(0,t.Ky)()),w=(0,t.PH)(e.pg.CLOSE_ALERT,(0,t.Ky)()),L=(0,t.PH)(e.pg.OPEN_CONFIRMATION,(0,t.Ky)()),I=(0,t.PH)(e.pg.CLOSE_CONFIRMATION,(0,t.Ky)()),P=(0,t.PH)(e.pg.SHOW_PUBKEY),U=(0,t.PH)(e.pg.FETCH_CONFIG,(0,t.Ky)()),Y=((0,t.PH)(e.pg.SHOW_CONFIG,(0,t.Ky)()),(0,t.PH)(e.pg.UPDATE_SELECTED_NODE_OPTIONS)),j=(0,t.PH)(e.pg.RESET_ROOT_STORE,(0,t.Ky)()),X=(0,t.PH)(e.pg.FETCH_RTL_CONFIG),ee=(0,t.PH)(e.pg.SET_RTL_CONFIG,(0,t.Ky)()),ue=(0,t.PH)(e.pg.SAVE_SETTINGS,(0,t.Ky)()),le=(0,t.PH)(e.pg.TWO_FA_SAVE_SETTINGS,(0,t.Ky)()),ie=(0,t.PH)(e.pg.SET_SELECTED_NODE,(0,t.Ky)()),ce=(0,t.PH)(e.pg.UPDATE_ROOT_NODE_SETTINGS,(0,t.Ky)()),se=(0,t.PH)(e.pg.UPDATE_SERVICE_SETTINGS,(0,t.Ky)()),he=(0,t.PH)(e.pg.SET_NODE_DATA,(0,t.Ky)()),i=((0,t.PH)(e.pg.SAVE_SSO,(0,t.Ky)()),(0,t.PH)(e.pg.LOGOUT)),r=(0,t.PH)(e.pg.RESET_PASSWORD,(0,t.Ky)()),c=((0,t.PH)(e.pg.RESET_PASSWORD_RES,(0,t.Ky)()),(0,t.PH)(e.pg.IS_AUTHORIZED,(0,t.Ky)())),S=((0,t.PH)(e.pg.IS_AUTHORIZED_RES,(0,t.Ky)()),(0,t.PH)(e.pg.LOGIN,(0,t.Ky)())),v=((0,t.PH)(e.pg.VERIFY_TWO_FA,(0,t.Ky)()),(0,t.PH)(e.pg.FETCH_FILE,(0,t.Ky)()));(0,t.PH)(e.pg.SHOW_FILE,(0,t.Ky)())},3093:(Ge,Q,m)=>{"use strict";m.d(Q,{V:()=>St});var t=m(4650),e=m(493),g=m(7579),A=m(9646),o=m(9751),C=m(4128),u=m(4004),O=m(5698),d=m(1365),M=m(5577),w=m(262),L=m(2722),I=m(7731),P=m(7274),U=m(1576),Z=m(1572);let Y=(()=>{class mt{constructor(Qt,li){this.dialogRef=Qt,this.data=li}}return mt.\u0275fac=function(Qt){return new(Qt||mt)(t.Y36(P.so),t.Y36(P.WI))},mt.\u0275cmp=t.Xpm({type:mt,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(Qt,li){1&Qt&&(t.TgZ(0,"div",0),t._UZ(1,"mat-progress-spinner",1),t.TgZ(2,"h2"),t._uU(3),t.qZA()()),2&Qt&&(t.xp6(3),t.Oqu(li.data.titleMessage))},dependencies:[U.xw,U.Wh,Z.Ou],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]}),mt})();var j=m(5043),X=m(7009),ee=m(62),ue=m(6895),le=m(5829),ie=m(4859),ce=m(3546),se=m(7392),he=m(4850),E=m(658),i=m(6839),r=m(5199),h=m(3390);const c=["scrollContainer"];function y(mt,ui){if(1&mt&&t._UZ(0,"qr-code",15),2&mt){const Qt=t.oxw();t.Q6J("value",Qt.showQRField)("size",200)("errorCorrectionLevel","L")}}function S(mt,ui){1&mt&&t.GkF(0)}const k=function(mt){return{"h-40":mt}};function v(mt,ui){if(1&mt&&(t.ynx(0),t.TgZ(1,"mat-card-content",16,17),t.YNc(3,S,1,0,"ng-container",18),t.qZA(),t.BQk()),2&mt){const Qt=t.oxw(),li=t.MAs(20);t.xp6(1),t.Q6J("ngClass",t.VKq(2,k,Qt.data.scrollable)),t.xp6(2),t.Q6J("ngTemplateOutlet",li)}}function n(mt,ui){1&mt&&t.GkF(0)}function b(mt,ui){if(1&mt&&(t.ynx(0),t.TgZ(1,"mat-card-content",19),t.YNc(2,n,1,0,"ng-container",18),t.qZA(),t.BQk()),2&mt){t.oxw();const Qt=t.MAs(20);t.xp6(2),t.Q6J("ngTemplateOutlet",Qt)}}function B(mt,ui){1&mt&&(t.TgZ(0,"mat-icon",23),t._uU(1,"arrow_downward"),t.qZA())}function z(mt,ui){1&mt&&(t.TgZ(0,"mat-icon",23),t._uU(1,"arrow_upward"),t.qZA())}function W(mt,ui){if(1&mt){const Qt=t.EpF();t.TgZ(0,"div",20)(1,"button",21),t.NdJ("click",function(){t.CHM(Qt);const tn=t.oxw();return t.KtG(tn.onScroll())}),t.YNc(2,B,2,0,"mat-icon",22),t.YNc(3,z,2,0,"mat-icon",22),t.qZA()()}if(2&mt){const Qt=t.oxw();t.xp6(2),t.Q6J("ngIf","DOWN"===Qt.scrollDirection),t.xp6(1),t.Q6J("ngIf","UP"===Qt.scrollDirection)}}function Oe(mt,ui){1&mt&&(t.TgZ(0,"button",24),t._uU(1,"OK"),t.qZA()),2&mt&&t.Q6J("mat-dialog-close",!1)}function it(mt,ui){1&mt&&(t.TgZ(0,"button",25),t._uU(1,"Close"),t.qZA()),2&mt&&t.Q6J("mat-dialog-close",!1)}function Ne(mt,ui){if(1&mt){const Qt=t.EpF();t.TgZ(0,"button",26),t.NdJ("copied",function(tn){t.CHM(Qt);const dn=t.oxw();return t.KtG(dn.onCopyField(tn))}),t._uU(1),t.qZA()}if(2&mt){const Qt=t.oxw();t.Q6J("payload",Qt.showCopyField),t.xp6(1),t.hij("Copy ",Qt.showCopyName,"")}}function ot(mt,ui){1&mt&&(t.TgZ(0,"button",25),t._uU(1,"Close"),t.qZA()),2&mt&&t.Q6J("mat-dialog-close",!1)}function Ie(mt,ui){if(1&mt){const Qt=t.EpF();t.TgZ(0,"button",26),t.NdJ("copied",function(tn){t.CHM(Qt);const dn=t.oxw();return t.KtG(dn.onCopyField(tn))}),t._uU(1),t.qZA()}if(2&mt){const Qt=t.oxw();t.Q6J("payload",Qt.showQRField),t.xp6(1),t.hij("Copy ",Qt.showQRName,"")}}function ve(mt,ui){if(1&mt&&t._UZ(0,"qr-code",15),2&mt){const Qt=t.oxw(2);t.Q6J("value",Qt.showQRField)("size",200)("errorCorrectionLevel","L")}}function fe(mt,ui){if(1&mt&&(t.TgZ(0,"p",32),t._uU(1),t.qZA()),2&mt){const Qt=t.oxw(2);t.xp6(1),t.Oqu(Qt.data.titleMessage)}}function Se(mt,ui){1&mt&&t._UZ(0,"span",46),2&mt&&t.Q6J("innerHTML",ui.$implicit,t.oJD)}function te(mt,ui){if(1&mt&&(t.ynx(0),t.YNc(1,Se,1,1,"span",45),t.BQk()),2&mt){const Qt=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngForOf",Qt.value)}}function Ke(mt,ui){if(1&mt&&(t.ynx(0),t._uU(1),t.ALo(2,"date"),t.BQk()),2&mt){const Qt=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,1e3*Qt.value,"dd/MMM/y HH:mm"))}}function Ae(mt,ui){if(1&mt&&(t.ynx(0),t._uU(1),t.ALo(2,"number"),t.BQk()),2&mt){const Qt=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,Qt.value,Qt.digitsInfo?Qt.digitsInfo:"1.0-3"))}}function oe(mt,ui){if(1&mt&&(t.ynx(0),t._uU(1),t.BQk()),2&mt){const Qt=t.oxw(2).$implicit;t.xp6(1),t.Oqu(Qt.value?"True":"False")}}function ye(mt,ui){1&mt&&(t.TgZ(0,"mat-icon",51),t._uU(1,"info"),t.qZA())}const me=function(mt){return{"failed-status":mt}};function Me(mt,ui){if(1&mt&&(t.TgZ(0,"p",49),t._uU(1),t.YNc(2,ye,2,0,"mat-icon",50),t.qZA()),2&mt){const Qt=t.oxw(3).$implicit,li=t.oxw(4);t.Q6J("ngClass",t.VKq(3,me,Qt.value===li.LoopStateEnum.FAILED)),t.xp6(1),t.hij(" ",Qt.value," "),t.xp6(1),t.Q6J("ngIf",Qt.value===li.LoopStateEnum.FAILED)}}function Ze(mt,ui){if(1&mt&&t._uU(0),2&mt){const Qt=t.oxw(3).$implicit;t.Oqu(Qt.value)}}function q(mt,ui){if(1&mt&&(t.ynx(0),t.YNc(1,Me,3,5,"p",47),t.YNc(2,Ze,1,1,"ng-template",null,48,t.W1O),t.BQk()),2&mt){const Qt=t.MAs(3),li=t.oxw(2).$implicit,tn=t.oxw(4);t.xp6(1),t.Q6J("ngIf","SWAP"===tn.data.openedBy&&"state"===li.key)("ngIfElse",Qt)}}function de(mt,ui){if(1&mt&&(t.TgZ(0,"span")(1,"span",42),t.YNc(2,te,2,1,"ng-container",43),t.YNc(3,Ke,3,4,"ng-container",43),t.YNc(4,Ae,3,4,"ng-container",43),t.YNc(5,oe,2,1,"ng-container",43),t.YNc(6,q,4,2,"ng-container",44),t.qZA()()),2&mt){const Qt=t.oxw().$implicit,li=t.oxw(4);t.xp6(1),t.Q6J("ngSwitch",Qt.type),t.xp6(1),t.Q6J("ngSwitchCase",li.dataTypeEnum.ARRAY),t.xp6(1),t.Q6J("ngSwitchCase",li.dataTypeEnum.DATE_TIME),t.xp6(1),t.Q6J("ngSwitchCase",li.dataTypeEnum.NUMBER),t.xp6(1),t.Q6J("ngSwitchCase",li.dataTypeEnum.BOOLEAN)}}function xe(mt,ui){1&mt&&(t.TgZ(0,"span",52),t._uU(1,"\xa0"),t.qZA())}function ke(mt,ui){if(1&mt&&(t.TgZ(0,"div",37)(1,"h4",38),t._uU(2),t.qZA(),t.YNc(3,de,7,5,"span",39),t.YNc(4,xe,2,0,"ng-template",null,40,t.W1O),t._UZ(6,"mat-divider",41),t.qZA()),2&mt){const Qt=ui.$implicit,li=t.MAs(5);t.s9C("fxFlex.gt-md",Qt.width),t.xp6(2),t.Oqu(Qt.title),t.xp6(1),t.Q6J("ngIf",Qt&&(!!Qt.value||0===Qt.value))("ngIfElse",li)}}function ft(mt,ui){if(1&mt&&(t.TgZ(0,"div")(1,"div",35),t.YNc(2,ke,7,4,"div",36),t.qZA()()),2&mt){const Qt=ui.$implicit;t.xp6(2),t.Q6J("ngForOf",Qt)}}function _t(mt,ui){if(1&mt&&(t.TgZ(0,"div",33),t.YNc(1,ft,3,1,"div",34),t.qZA()),2&mt){const Qt=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",Qt.messageObjs)}}const ct=function(mt){return{"display-none":mt}};function nt(mt,ui){if(1&mt&&(t.TgZ(0,"div",27)(1,"div",28),t.YNc(2,ve,1,3,"qr-code",2),t.qZA(),t.TgZ(3,"div",29),t.YNc(4,fe,2,1,"p",30),t.YNc(5,_t,2,1,"div",31),t.qZA()()),2&mt){const Qt=t.oxw();t.xp6(1),t.Q6J("ngClass",t.VKq(4,ct,""===Qt.showQRField||Qt.screenSize!==Qt.screenSizeEnum.XS&&Qt.screenSize!==Qt.screenSizeEnum.SM)),t.xp6(1),t.Q6J("ngIf",""!==Qt.showQRField),t.xp6(2),t.Q6J("ngIf",Qt.data.titleMessage),t.xp6(1),t.Q6J("ngIf",(null==Qt.messageObjs?null:Qt.messageObjs.length)>0)}}let Jt=(()=>{class mt{constructor(Qt,li,tn,dn,Pn,lr){this.dialogRef=Qt,this.data=li,this.logger=tn,this.snackBar=dn,this.commonService=Pn,this.renderer=lr,this.LoopStateEnum=I.Fq,this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=I.n_,this.dataTypeEnum=I.Gi,this.screenSize="",this.screenSizeEnum=I.cu,this.scrollDirection="DOWN",this.shouldScroll=!0}set container(Qt){Qt&&(this.scrollContainer=Qt,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",li=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",li=>{this.scrollDirection="DOWN"})))}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.messageObjs=this.data.message||[],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===I.n_.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection"),this.logger.info(this.messageObjs)}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(Qt){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+Qt)}onClose(){this.dialogRef.close(!1)}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd()}}return mt.\u0275fac=function(Qt){return new(Qt||mt)(t.Y36(P.so),t.Y36(P.WI),t.Y36(j.mQ),t.Y36(X.ux),t.Y36(ee.v),t.Y36(t.Qsj))},mt.\u0275cmp=t.Xpm({type:mt,selectors:[["rtl-alert-message"]],viewQuery:function(Qt,li){if(1&Qt&&t.Gf(c,5),2&Qt){let tn;t.iGM(tn=t.CRH())&&(li.container=tn.first)}},decls:21,vars:14,consts:[["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"],["contentBlock",""],[3,"value","size","errorCorrectionLevel"],[1,"padding-gap-x-large",3,"perfectScrollbar","ngClass"],["scrollContainer",""],[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,"payload","copied"],["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"],["emptyField",""],[1,"w-100","my-1"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"foreground-secondary-text",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","display-block w-100",3,"innerHTML",4,"ngFor","ngForOf"],[1,"display-block","w-100",3,"innerHTML"],["fxLayout","row",3,"ngClass",4,"ngIf","ngIfElse"],["noStyleBlock",""],["fxLayout","row",3,"ngClass"],["fxLayoutAlign","end end","class","icon-failed-status",4,"ngIf"],["fxLayoutAlign","end end",1,"icon-failed-status"],["fxFlex","100",1,"foreground-secondary-text"]],template:function(Qt,li){1&Qt&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,y,1,3,"qr-code",2),t.qZA(),t.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5)(6,"span",6),t._uU(7),t.qZA()(),t.TgZ(8,"button",7),t.NdJ("click",function(){return li.onClose()}),t._uU(9,"X"),t.qZA()(),t.YNc(10,v,4,4,"ng-container",8),t.YNc(11,b,3,1,"ng-container",8),t.YNc(12,W,4,2,"div",9),t.TgZ(13,"div",10),t.YNc(14,Oe,2,1,"button",11),t.YNc(15,it,2,1,"button",12),t.YNc(16,Ne,2,2,"button",13),t.YNc(17,ot,2,1,"button",12),t.YNc(18,Ie,2,2,"button",13),t.qZA()()(),t.YNc(19,nt,6,6,"ng-template",null,14,t.W1O)),2&Qt&&(t.xp6(1),t.Q6J("ngClass",t.VKq(12,ct,""===li.showQRField||li.screenSize===li.screenSizeEnum.XS||li.screenSize===li.screenSizeEnum.SM)),t.xp6(1),t.Q6J("ngIf",""!==li.showQRField),t.xp6(1),t.Q6J("fxFlex",""===li.showQRField||li.screenSize===li.screenSizeEnum.XS||li.screenSize===li.screenSizeEnum.SM?"100":"70"),t.xp6(4),t.Oqu(li.data.alertTitle||li.alertTypeEnum[li.data.type]),t.xp6(3),t.Q6J("ngIf",li.data.scrollable),t.xp6(1),t.Q6J("ngIf",!li.data.scrollable),t.xp6(1),t.Q6J("ngIf",li.data.scrollable&&li.shouldScroll),t.xp6(2),t.Q6J("ngIf",(!li.showQRField||""===li.showQRField)&&""===li.showCopyName),t.xp6(1),t.Q6J("ngIf",""!==li.showCopyName),t.xp6(1),t.Q6J("ngIf",""!==li.showCopyName),t.xp6(1),t.Q6J("ngIf",""!==li.showQRField),t.xp6(1),t.Q6J("ngIf",""!==li.showQRField))},dependencies:[ue.mk,ue.sg,ue.O5,ue.tP,ue.RF,ue.n9,ue.ED,U.xw,U.Wh,U.yH,le.oO,P.ZT,ie.lW,ie.nh,ce.dn,ce.dk,se.Hw,he.d,E.uU,i.$V,r.y,h.h,ue.JJ,ue.uU],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]}),mt})();var vt=m(2687),ne=m(7861),Ht=m(9653),De=m(4006),ze=m(2216),wt=m(4144),Re=m(9549),tt=m(6534);function Bt(mt,ui){if(1&mt&&(t.TgZ(0,"div",18),t._UZ(1,"fa-icon",19),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&mt){const Qt=t.oxw();t.xp6(1),t.Q6J("icon",Qt.faExclamationTriangle),t.xp6(2),t.Oqu(Qt.warningMessage)}}function It(mt,ui){if(1&mt&&(t.TgZ(0,"div",20),t._UZ(1,"fa-icon",19),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&mt){const Qt=t.oxw();t.xp6(1),t.Q6J("icon",Qt.faInfoCircle),t.xp6(2),t.Oqu(Qt.informationMessage)}}function zt(mt,ui){if(1&mt&&(t.TgZ(0,"p",21),t._uU(1),t.qZA()),2&mt){const Qt=t.oxw();t.xp6(1),t.Oqu(Qt.data.titleMessage)}}function xt(mt,ui){1&mt&&t._UZ(0,"div",36),2&mt&&t.Q6J("innerHTML",ui.$implicit,t.oJD)}function we(mt,ui){if(1&mt&&(t.ynx(0,34),t.YNc(1,xt,1,1,"div",35),t.BQk()),2&mt){const Qt=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngForOf",Qt.value)}}function J(mt,ui){if(1&mt&&(t.ynx(0),t._uU(1),t.ALo(2,"date"),t.BQk()),2&mt){const Qt=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,1e3*Qt.value,"dd/MMM/y HH:mm"))}}function be(mt,ui){if(1&mt&&(t.ynx(0),t._uU(1),t.ALo(2,"number"),t.BQk()),2&mt){const Qt=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,Qt.value,"1.0-3"))}}function Fe(mt,ui){if(1&mt&&(t.ynx(0),t._uU(1),t.BQk()),2&mt){const Qt=t.oxw(2).$implicit;t.xp6(1),t.Oqu(!0===Qt.value?"True":"False")}}function at(mt,ui){if(1&mt&&(t.ynx(0),t._uU(1),t.BQk()),2&mt){const Qt=t.oxw(2).$implicit;t.xp6(1),t.Oqu(Qt.value)}}function ii(mt,ui){if(1&mt&&(t.TgZ(0,"span")(1,"span",30),t.YNc(2,we,2,1,"ng-container",31),t.YNc(3,J,3,4,"ng-container",32),t.YNc(4,be,3,4,"ng-container",32),t.YNc(5,Fe,2,1,"ng-container",32),t.YNc(6,at,2,1,"ng-container",33),t.qZA()()),2&mt){const Qt=t.oxw().$implicit,li=t.oxw(3);t.xp6(1),t.Q6J("ngSwitch",Qt.type),t.xp6(1),t.Q6J("ngSwitchCase",li.dataTypeEnum.ARRAY),t.xp6(1),t.Q6J("ngSwitchCase",li.dataTypeEnum.DATE_TIME),t.xp6(1),t.Q6J("ngSwitchCase",li.dataTypeEnum.NUMBER),t.xp6(1),t.Q6J("ngSwitchCase",li.dataTypeEnum.BOOLEAN)}}function Gt(mt,ui){1&mt&&(t.TgZ(0,"span",37),t._uU(1,"\xa0"),t.qZA())}function ei(mt,ui){if(1&mt&&(t.TgZ(0,"div",25)(1,"h4",26),t._uU(2),t.qZA(),t.YNc(3,ii,7,5,"span",27),t.YNc(4,Gt,2,0,"ng-template",null,28,t.W1O),t._UZ(6,"mat-divider",29),t.qZA()),2&mt){const Qt=ui.$implicit,li=t.MAs(5);t.s9C("fxFlex.gt-md",Qt.width),t.xp6(2),t.Oqu(Qt.title),t.xp6(1),t.Q6J("ngIf",Qt&&(!!Qt.value||0===Qt.value))("ngIfElse",li)}}function ht(mt,ui){if(1&mt&&(t.TgZ(0,"div")(1,"div",23),t.YNc(2,ei,7,4,"div",24),t.qZA()()),2&mt){const Qt=ui.$implicit;t.xp6(2),t.Q6J("ngForOf",Qt)}}function rt(mt,ui){if(1&mt&&(t.TgZ(0,"div"),t.YNc(1,ht,3,1,"div",22),t.qZA()),2&mt){const Qt=t.oxw();t.xp6(1),t.Q6J("ngForOf",Qt.messageObjs)}}function yt(mt,ui){if(1&mt&&(t.TgZ(0,"p",21),t._uU(1),t.qZA()),2&mt){const Qt=t.oxw(2);t.xp6(1),t.Oqu(Qt.data.titleMessage)}}function ri(mt,ui){if(1&mt&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&mt){const Qt=t.oxw(2).$implicit;t.xp6(1),t.hij("",Qt.placeholder," is required.")}}function Ut(mt,ui){if(1&mt){const Qt=t.EpF();t.TgZ(0,"mat-form-field",41)(1,"mat-label"),t._uU(2),t.qZA(),t.TgZ(3,"input",42),t.NdJ("ngModelChange",function(tn){t.CHM(Qt);const dn=t.oxw().$implicit;return t.KtG(dn.inputValue=tn)}),t.ALo(4,"lowercase"),t.qZA(),t.YNc(5,ri,2,1,"mat-error",11),t.TgZ(6,"mat-hint"),t._uU(7),t.qZA()()}if(2&mt){const Qt=t.oxw(),li=Qt.$implicit,tn=Qt.index;t.Q6J("fxFlex",li.width),t.xp6(2),t.Oqu(li.placeholder),t.xp6(1),t.MGl("name","input",tn,""),t.Q6J("autoFocus",0===tn)("min",li.min)("step",li.step)("type",t.lcZ(4,11,li.inputType))("tabindex",tn+1)("ngModel",li.inputValue),t.xp6(2),t.Q6J("ngIf",!li.inputValue),t.xp6(2),t.Oqu(li.hintFunction?li.hintFunction(li.inputValue):li.hintText)}}function Vt(mt,ui){if(1&mt&&(t.ynx(0),t.YNc(1,Ut,8,13,"mat-form-field",40),t.BQk()),2&mt){const Qt=ui.$implicit,li=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!Qt.advancedField||li.showAdvanced)}}function Ft(mt,ui){if(1&mt&&(t.TgZ(0,"div",38),t.YNc(1,yt,2,1,"p",10),t.TgZ(2,"div",39),t.YNc(3,Vt,2,1,"ng-container",22),t.qZA()()),2&mt){const Qt=t.oxw();t.xp6(1),t.Q6J("ngIf",Qt.data.titleMessage),t.xp6(2),t.Q6J("ngForOf",Qt.getInputs)}}function Qe(mt,ui){1&mt&&(t.TgZ(0,"p"),t._uU(1,"Show Advanced"),t.qZA())}function Ve(mt,ui){1&mt&&(t.TgZ(0,"p"),t._uU(1,"Hide Advanced"),t.qZA())}function je(mt,ui){if(1&mt){const Qt=t.EpF();t.TgZ(0,"button",43),t.NdJ("click",function(){t.CHM(Qt);const tn=t.oxw();return t.KtG(tn.onShowAdvanced())}),t.YNc(1,Qe,2,0,"p",27),t.YNc(2,Ve,2,0,"ng-template",null,44,t.W1O),t.qZA()}if(2&mt){const Qt=t.MAs(3),li=t.oxw();t.xp6(1),t.Q6J("ngIf",!li.showAdvanced)("ngIfElse",Qt)}}function Xe(mt,ui){if(1&mt){const Qt=t.EpF();t.TgZ(0,"button",45),t.NdJ("click",function(){t.CHM(Qt);const tn=t.oxw();return t.KtG(tn.onClose(tn.getInputs))}),t._uU(1),t.qZA()}if(2&mt){const Qt=t.oxw();t.xp6(1),t.Oqu(Qt.yesBtnText)}}function Et(mt,ui){if(1&mt){const Qt=t.EpF();t.TgZ(0,"button",46),t.NdJ("click",function(){t.CHM(Qt);const tn=t.oxw();return t.KtG(tn.onClose(!0))}),t._uU(1),t.qZA()}if(2&mt){const Qt=t.oxw();t.xp6(1),t.Oqu(Qt.yesBtnText)}}let mi=(()=>{class mt{constructor(Qt,li,tn,dn){this.dialogRef=Qt,this.data=li,this.logger=tn,this.store=dn,this.faInfoCircle=vt.sqG,this.faExclamationTriangle=vt.eHv,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=I.n_,this.dataTypeEnum=I.Gi,this.getInputs=[{placeholder:"",inputType:I.Gi.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===I.n_.ERROR&&!this.data.message&&!this.data.titleMessage&&this.messageObjs.length<=0&&(this.data.titleMessage="Please Check Server Connection")}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onClose(Qt){if(Qt&&this.getInputs&&this.getInputs.some(li=>typeof li.inputValue>"u"))return!0;!this.showAdvanced&&Qt.length&&(Qt=Qt?.reduce((li,tn)=>(tn.advancedField||li.push(tn),li),[])),this.store.dispatch((0,ne.yb)({payload:Qt}))}}return mt.\u0275fac=function(Qt){return new(Qt||mt)(t.Y36(P.so),t.Y36(P.WI),t.Y36(j.mQ),t.Y36(Ht.yh))},mt.\u0275cmp=t.Xpm({type:mt,selectors:[["rtl-confirmation-message"]],decls:21,vars:10,consts:[["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"],["emptyField",""],[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,"autoFocus","name","min","step","type","tabindex","ngModel","ngModelChange"],["mat-button","","color","primary","type","button","tabindex","2",1,"mr-1",3,"click"],["hideAdvancedText",""],["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(Qt,li){1&Qt&&(t.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),t._uU(5),t.qZA()(),t.TgZ(6,"button",5),t.NdJ("click",function(){return li.onClose(!1)}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7),t.YNc(10,Bt,4,2,"div",8),t.YNc(11,It,4,2,"div",9),t.YNc(12,zt,2,1,"p",10),t.YNc(13,rt,2,1,"div",11),t.YNc(14,Ft,4,2,"div",12),t.TgZ(15,"div",13)(16,"button",14),t.NdJ("click",function(){return li.onClose(!1)}),t._uU(17),t.qZA(),t.YNc(18,je,4,2,"button",15),t.YNc(19,Xe,2,1,"button",16),t.YNc(20,Et,2,1,"button",17),t.qZA()()()()()),2&Qt&&(t.xp6(5),t.Oqu(li.data.alertTitle||li.alertTypeEnum[li.data.type]),t.xp6(5),t.Q6J("ngIf",li.warningMessage&&""!==li.warningMessage),t.xp6(1),t.Q6J("ngIf",li.informationMessage&&""!==li.informationMessage),t.xp6(1),t.Q6J("ngIf",li.data.titleMessage&&!li.flgShowInput),t.xp6(1),t.Q6J("ngIf",(null==li.messageObjs?null:li.messageObjs.length)>0),t.xp6(1),t.Q6J("ngIf",li.flgShowInput),t.xp6(3),t.Oqu(li.noBtnText),t.xp6(1),t.Q6J("ngIf",li.hasAdvanced),t.xp6(1),t.Q6J("ngIf",li.flgShowInput),t.xp6(1),t.Q6J("ngIf",!li.flgShowInput))},dependencies:[ue.sg,ue.O5,ue.RF,ue.n9,ue.ED,De._Y,De.Fj,De.JJ,De.JL,De.Q7,De.On,De.F,ze.BN,U.xw,U.Wh,U.yH,ie.lW,ce.dn,ce.dk,wt.Nt,Re.KE,Re.hX,Re.bx,Re.TO,he.d,h.h,tt.q,ue.i8,ue.JJ,ue.uU]}),mt})();var Li=m(1786),wi=m(4385),Vi=m(3238);function qe(mt,ui){if(1&mt&&(t.TgZ(0,"mat-option",23),t._uU(1),t.qZA()),2&mt){const Qt=ui.$implicit;t.Q6J("value",Qt),t.xp6(1),t.hij(" ",Qt.infoName," ")}}function Tt(mt,ui){if(1&mt){const Qt=t.EpF();t.TgZ(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),t.NdJ("valueChange",function(tn){t.CHM(Qt);const dn=t.oxw();return t.KtG(dn.selInfoType=tn)}),t.YNc(3,qe,2,2,"mat-option",22),t.qZA()()()}if(2&mt){const Qt=t.oxw();t.xp6(2),t.Q6J("value",Qt.selInfoType),t.xp6(1),t.Q6J("ngForOf",Qt.infoTypes)}}const ge=function(mt){return{"display-none":mt}};let Dt=(()=>{class mt{constructor(Qt,li,tn,dn,Pn){this.dialogRef=Qt,this.data=li,this.logger=tn,this.snackBar=dn,this.commonService=Pn,this.faReceipt=vt.dLy,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=I.cu}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((Qt,li)=>{this.infoTypes.push({infoID:li+1,infoKey:"node URI "+(li+1),infoName:"Node URI "+(li+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(Qt){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+Qt)}}return mt.\u0275fac=function(Qt){return new(Qt||mt)(t.Y36(P.so),t.Y36(P.WI),t.Y36(j.mQ),t.Y36(X.ux),t.Y36(ee.v))},mt.\u0275cmp=t.Xpm({type:mt,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,"payload","copied"],["fxLayout","column","fxFlex","100","fxFlex.gt-sm","40","fxLayoutAlign","start end"],["tabindex","1",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(Qt,li){1&Qt&&(t.TgZ(0,"div",0)(1,"div",1),t._UZ(2,"qr-code",2),t.qZA(),t.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5),t._UZ(6,"fa-icon",6),t.TgZ(7,"span",7),t._uU(8),t.qZA()(),t.TgZ(9,"button",8),t.NdJ("click",function(){return li.onClose()}),t._uU(10,"X"),t.qZA()(),t.TgZ(11,"mat-card-content",9)(12,"div",10)(13,"div",11),t._UZ(14,"qr-code",2),t.qZA(),t.YNc(15,Tt,4,2,"div",12),t.TgZ(16,"div",13)(17,"div",14)(18,"h4",15),t._uU(19),t.qZA(),t.TgZ(20,"span",16),t._uU(21),t.qZA()()(),t._UZ(22,"mat-divider",17),t.TgZ(23,"div",18)(24,"button",19),t.NdJ("copied",function(dn){return li.onCopyPubkey(dn)}),t._uU(25),t.qZA()()()()()()),2&Qt&&(t.xp6(1),t.Q6J("ngClass",t.VKq(15,ge,li.screenSize===li.screenSizeEnum.XS||li.screenSize===li.screenSizeEnum.SM)),t.xp6(1),t.s9C("value",0===li.selInfoType.infoID?li.information.identity_pubkey:li.information.uris[li.selInfoType.infoID-1]),t.Q6J("size",li.qrWidth)("errorCorrectionLevel","L"),t.xp6(4),t.Q6J("icon",li.faReceipt),t.xp6(2),t.Oqu(li.selInfoType.infoName),t.xp6(5),t.Q6J("ngClass",t.VKq(17,ge,li.screenSize!==li.screenSizeEnum.XS&&li.screenSize!==li.screenSizeEnum.SM)),t.xp6(1),t.s9C("value",0===li.selInfoType.infoID?li.information.identity_pubkey:li.information.uris[li.selInfoType.infoID-1]),t.Q6J("size",li.qrWidth)("errorCorrectionLevel","L"),t.xp6(1),t.Q6J("ngIf",li.information.uris&&li.information.uris.length>0),t.xp6(4),t.Oqu(li.selInfoType.infoName),t.xp6(2),t.Oqu(0===li.selInfoType.infoID?li.information.identity_pubkey:li.information.uris[li.selInfoType.infoID-1]),t.xp6(3),t.s9C("payload",0===li.selInfoType.infoID?li.information.identity_pubkey:li.information.uris[li.selInfoType.infoID-1]),t.xp6(1),t.hij("Copy ",li.selInfoType.infoKey,""))},dependencies:[ue.mk,ue.sg,ue.O5,ze.BN,U.xw,U.Wh,U.yH,le.oO,ie.lW,ce.dn,ce.dk,Re.KE,he.d,wi.gD,Vi.ey,E.uU,r.y,h.h]}),mt})();var Kt=m(6523),fi=m(429),Mi=m(2994),Pi=m(8377),Ui=m(529),Wt=m(7998),si=m(5986),_e=m(8104),$e=m(9116);let St=(()=>{class mt{constructor(Qt,li,tn,dn,Pn,lr,Cn,Gr,pr,Fr,Wr){this.actions=Qt,this.httpClient=li,this.store=tn,this.logger=dn,this.wsService=Pn,this.sessionService=lr,this.commonService=Cn,this.dataService=Gr,this.dialog=pr,this.snackBar=Fr,this.router=Wr,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new g.x,new g.x],this.closeAllDialogs=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.CLOSE_ALL_DIALOGS),(0,u.U)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.OPEN_SNACK_BAR),(0,u.U)(Ai=>{"string"==typeof Ai.payload?this.snackBar.open(Ai.payload):this.snackBar.open(Ai.payload.message,"","ERROR"===Ai.payload.type?{duration:Ai.payload.duration?Ai.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===Ai.payload.type?{duration:Ai.payload.duration?Ai.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:Ai.payload.duration?Ai.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.OPEN_SPINNER),(0,u.U)(Ai=>{Ai.payload!==I.m6.NO_SPINNER&&(this.dialogRef=this.dialog.open(Y,{panelClass:"spinner-dialog-panel",data:{titleMessage:Ai.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.CLOSE_SPINNER),(0,u.U)(Ai=>{if(Ai.payload!==I.m6.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===Ai.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(Ki=>{Ki.componentInstance&&Ki.componentInstance.data&&Ki.componentInstance.data.titleMessage&&Ki.componentInstance.data.titleMessage===Ai.payload&&Ki.close()})}catch(Ki){this.logger.error(Ki)}})),{dispatch:!1}),this.openAlert=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.OPEN_ALERT),(0,u.U)(Ai=>{const Ki=JSON.parse(JSON.stringify(Ai.payload));Ki.width||(Ki.width=this.alertWidth),this.dialogRef=this.dialog.open(Ai.payload.data.component?Ai.payload.data.component:Jt,Ki)})),{dispatch:!1}),this.closeAlert=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.CLOSE_ALERT),(0,u.U)(Ai=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Ai.payload),Ai.payload))),{dispatch:!1}),this.openConfirm=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.OPEN_CONFIRMATION),(0,u.U)(Ai=>{const Ki=JSON.parse(JSON.stringify(Ai.payload));Ki.width||(Ki.width=this.confirmWidth),this.dialogRef=this.dialog.open(mi,Ki)})),{dispatch:!1}),this.closeConfirm=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.CLOSE_CONFIRMATION),(0,O.q)(1),(0,u.U)(Ai=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Ai.payload),Ai.payload))),{dispatch:!1}),this.showNodePubkey=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.SHOW_PUBKEY),(0,d.M)(this.store.select(Pi.R4)),(0,M.z)(([Ai,Ki])=>(this.sessionService.getItem("token")&&Ki.identity_pubkey?this.store.dispatch((0,ne.qR)({payload:{data:{information:Ki,component:Dt}}})):this.snackBar.open("Node Pubkey does not exist."),(0,A.of)({type:I.pg.VOID}))))),this.appConfigFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.FETCH_RTL_CONFIG),(0,M.z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===I.cu.XS||this.screenSize===I.cu.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===I.cu.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="50%",this.confirmWidth="53%"),this.store.dispatch((0,ne.ac)({payload:I.m6.GET_RTL_CONFIG})),this.store.dispatch((0,ne.qi)({payload:{action:"FetchRTLConfig",status:I.Bn.INITIATED}})),this.sessionService.getItem("token")?this.httpClient.get(I.vv.CONF_API+"/rtlconf"):this.httpClient.get(I.vv.CONF_API+"/rtlconfinit"))),(0,u.U)(Ai=>{this.logger.info(Ai),this.store.dispatch((0,ne.uO)({payload:I.m6.GET_RTL_CONFIG})),this.store.dispatch((0,ne.qi)({payload:{action:"FetchRTLConfig",status:I.Bn.COMPLETED}}));let Ki=null;return Ai.nodes.forEach(Zt=>{var vi,pi;Zt.settings.currencyUnits=[...I.uA,null!==(vi=Zt.settings)&&void 0!==vi&&vi.currencyUnit?null===(pi=Zt.settings)||void 0===pi?void 0:pi.currencyUnit:""],+(Zt.index||-1)===Ai.selectedNodeIndex&&(Ki=Zt)}),Ki?(this.store.dispatch((0,ne.fk)({payload:{uiMessage:I.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:Ki,isInitialSetup:!0}})),{type:I.pg.SET_RTL_CONFIG,payload:Ai}):{type:I.pg.VOID}}),(0,w.K)(Ai=>(this.handleErrorWithAlert("FetchRTLConfig",I.m6.GET_RTL_CONFIG,"Fetch RTL Config Failed!",I.vv.CONF_API,Ai),(0,A.of)({type:I.pg.VOID}))))),this.settingSave=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.SAVE_SETTINGS),(0,M.z)(Ai=>{this.store.dispatch((0,ne.ac)({payload:Ai.payload.uiMessage})),this.store.dispatch((0,ne.qi)({payload:{action:"UpdateSettings",status:I.Bn.INITIATED}}));let Ki=new o.y;if(Ai.payload.settings&&Ai.payload.defaultNodeIndex){const Zt=this.httpClient.post(I.vv.CONF_API,{updatedSettings:Ai.payload.settings}),vi=this.httpClient.post(I.vv.CONF_API+"/updateDefaultNode",{defaultNodeIndex:Ai.payload.defaultNodeIndex});Ki=(0,C.D)([Zt,vi])}else Ai.payload.settings&&!Ai.payload.defaultNodeIndex?Ki=this.httpClient.post(I.vv.CONF_API,{updatedSettings:Ai.payload.settings}):!Ai.payload.settings&&Ai.payload.defaultNodeIndex&&(Ki=this.httpClient.post(I.vv.CONF_API+"/updateDefaultNode",{defaultNodeIndex:Ai.payload.defaultNodeIndex}));return Ki.pipe((0,u.U)(Zt=>(this.logger.info(Zt),this.store.dispatch((0,ne.qi)({payload:{action:"UpdateSettings",status:I.Bn.COMPLETED}})),this.store.dispatch((0,ne.uO)({payload:Ai.payload.uiMessage})),{type:I.pg.OPEN_SNACK_BAR,payload:Zt.length?Zt[0].message+".":Zt.message+"."})),(0,w.K)(Zt=>(this.handleErrorWithAlert("UpdateSettings",Ai.payload.uiMessage,"Update Settings Failed!",I.vv.CONF_API,Zt.length?Zt[0]:Zt),(0,A.of)({type:I.pg.VOID}))))}))),this.updateServicesettings=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.UPDATE_SERVICE_SETTINGS),(0,M.z)(Ai=>(this.store.dispatch((0,ne.ac)({payload:Ai.payload.uiMessage})),this.store.dispatch((0,ne.qi)({payload:{action:"UpdateServiceSettings",status:I.Bn.INITIATED}})),this.httpClient.post(I.vv.CONF_API+"/updateServiceSettings",Ai.payload).pipe((0,u.U)(Ki=>(this.logger.info(Ki),this.store.dispatch((0,ne.qi)({payload:{action:"UpdateServiceSettings",status:I.Bn.COMPLETED}})),this.store.dispatch((0,ne.uO)({payload:Ai.payload.uiMessage})),this.store.dispatch((0,ne.Tm)({payload:Ai.payload})),{type:I.pg.OPEN_SNACK_BAR,payload:Ki.message+"."})),(0,w.K)(Ki=>(this.handleErrorWithAlert("UpdateServiceSettings",Ai.payload.uiMessage,"Update Service Settings Failed!",I.vv.CONF_API,Ki),(0,A.of)({type:I.pg.VOID})))))))),this.twoFASettingSave=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.TWO_FA_SAVE_SETTINGS),(0,M.z)(Ai=>(this.store.dispatch((0,ne.ac)({payload:I.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,ne.qi)({payload:{action:"Update2FASettings",status:I.Bn.INITIATED}})),this.httpClient.post(I.vv.CONF_API+"/update2FA",{secret2fa:Ai.payload.secret2fa}))),(0,d.M)(this.store.select(Pi.Yj)),(0,u.U)(([Ai,Ki])=>{this.logger.info(Ai),Ki.enable2FA=!Ki.enable2FA,this.store.dispatch((0,ne.qi)({payload:{action:"Update2FASettings",status:I.Bn.COMPLETED}})),this.store.dispatch((0,ne.uO)({payload:I.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,ne.XT)({payload:Ki}))}),(0,w.K)(Ai=>(this.handleErrorWithAlert("Update2FASettings",I.m6.UPDATE_UI_SETTINGS,"Update 2FA Settings Failed!",I.vv.CONF_API,Ai),(0,A.of)({type:I.pg.VOID})))),{dispatch:!1}),this.configFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.FETCH_CONFIG),(0,M.z)(Ai=>(this.store.dispatch((0,ne.ac)({payload:I.m6.OPEN_CONFIG_FILE})),this.store.dispatch((0,ne.qi)({payload:{action:"fetchConfig",status:I.Bn.INITIATED}})),this.httpClient.get(I.vv.CONF_API+"/config/"+Ai.payload).pipe((0,u.U)(Ki=>(this.store.dispatch((0,ne.qi)({payload:{action:"fetchConfig",status:I.Bn.COMPLETED}})),this.store.dispatch((0,ne.uO)({payload:I.m6.OPEN_CONFIG_FILE})),{type:I.pg.SHOW_CONFIG,payload:Ki})),(0,w.K)(Ki=>(this.handleErrorWithAlert("fetchConfig",I.m6.OPEN_CONFIG_FILE,"Fetch Config Failed!",I.vv.CONF_API+"/config/"+Ai.payload,Ki),(0,A.of)({type:I.pg.VOID})))))))),this.showLnConfig=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.SHOW_CONFIG),(0,u.U)(Ai=>Ai.payload)),{dispatch:!1}),this.isAuthorized=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.IS_AUTHORIZED),(0,M.z)(Ai=>(this.store.dispatch((0,ne.qi)({payload:{action:"IsAuthorized",status:I.Bn.INITIATED}})),this.httpClient.post(I.vv.AUTHENTICATE_API,{authenticateWith:Ai.payload&&""!==Ai.payload.trim()?I.OJ.PASSWORD:I.OJ.JWT,authenticationValue:Ai.payload&&""!==Ai.payload.trim()?Ai.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,u.U)(Ki=>(this.logger.info(Ki),this.store.dispatch((0,ne.qi)({payload:{action:"IsAuthorized",status:I.Bn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:I.pg.IS_AUTHORIZED_RES,payload:Ki})),(0,w.K)(Ki=>(this.handleErrorWithAlert("IsAuthorized",I.m6.NO_SPINNER,"Authorization Failed",I.vv.AUTHENTICATE_API,Ki),(0,A.of)({type:I.pg.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.IS_AUTHORIZED_RES),(0,u.U)(Ai=>Ai.payload)),{dispatch:!1}),this.authLogin=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.LOGIN),(0,d.M)(this.store.select(Pi.Yj)),(0,M.z)(([Ai,Ki])=>(this.store.dispatch((0,Kt.Ll)({payload:null})),this.store.dispatch((0,fi.xH)({payload:null})),this.store.dispatch((0,Mi.Fd)({payload:null})),this.store.dispatch((0,ne.qi)({payload:{action:"Login",status:I.Bn.INITIATED}})),this.httpClient.post(I.vv.AUTHENTICATE_API,{authenticateWith:Ai.payload.password?I.OJ.PASSWORD:I.OJ.JWT,authenticationValue:Ai.payload.password?Ai.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:Ai.payload.twoFAToken?Ai.payload.twoFAToken:""}).pipe((0,u.U)(Zt=>{this.logger.info(Zt),this.store.dispatch((0,ne.qi)({payload:{action:"Login",status:I.Bn.COMPLETED}})),this.setLoggedInDetails(Ai.payload.defaultPassword,Zt)}),(0,w.K)(Zt=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",I.m6.NO_SPINNER,Zt),+Ki.sso.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:Zt.error&&Zt.error.error?Zt.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"]),(0,A.of)({type:I.pg.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.VERIFY_TWO_FA),(0,M.z)(Ai=>(this.store.dispatch((0,ne.ac)({payload:I.m6.VERIFY_TOKEN})),this.store.dispatch((0,ne.qi)({payload:{action:"VerifyToken",status:I.Bn.INITIATED}})),this.httpClient.post(I.vv.AUTHENTICATE_API+"/token",{authentication2FA:Ai.payload.token}).pipe((0,u.U)(Ki=>{this.logger.info(Ki),this.store.dispatch((0,ne.uO)({payload:I.m6.VERIFY_TOKEN})),this.store.dispatch((0,ne.qi)({payload:{action:"VerifyToken",status:I.Bn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,Ai.payload.authResponse)}),(0,w.K)(Ki=>(this.handleErrorWithAlert("VerifyToken",I.m6.VERIFY_TOKEN,"Authorization Failed!",I.vv.AUTHENTICATE_API+"/token",Ki),(0,A.of)({type:I.pg.VOID}))))))),{dispatch:!1}),this.logOut=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.LOGOUT),(0,M.z)(Ai=>(this.store.dispatch((0,ne.ac)({payload:I.m6.LOG_OUT})),Ai.sso&&+Ai.sso.rtlSSO?window.location.href=Ai.sso.logoutRedirectLink:this.router.navigate(["./login"]),this.sessionService.clearAll(),this.store.dispatch((0,ne._V)({payload:{}})),this.store.dispatch((0,ne.uO)({payload:I.m6.LOG_OUT})),this.logger.info("Logged out from browser"),this.httpClient.get(I.vv.AUTHENTICATE_API+"/logout").pipe((0,u.U)(Ki=>{this.logger.info(Ki),this.store.dispatch((0,ne.uO)({payload:I.m6.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,e.GW)(()=>this.actions.pipe((0,L.R)(this.unSubs[1]),(0,e.l4)(I.pg.RESET_PASSWORD),(0,M.z)(Ai=>(this.store.dispatch((0,ne.qi)({payload:{action:"ResetPassword",status:I.Bn.INITIATED}})),this.httpClient.post(I.vv.AUTHENTICATE_API+"/reset",{currPassword:Ai.payload.currPassword,newPassword:Ai.payload.newPassword}).pipe((0,L.R)(this.unSubs[0]),(0,u.U)(Ki=>(this.logger.info(Ki),this.store.dispatch((0,ne.qi)({payload:{action:"ResetPassword",status:I.Bn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,ne.jW)({payload:"Password Reset Successful!"})),this.SetToken(Ki.token),{type:I.pg.RESET_PASSWORD_RES,payload:Ki.token})),(0,w.K)(Ki=>(this.handleErrorWithAlert("ResetPassword",I.m6.NO_SPINNER,"Password Reset Failed!",I.vv.AUTHENTICATE_API+"/reset",Ki),(0,A.of)({type:I.pg.VOID})))))))),this.setSelectedNode=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.SET_SELECTED_NODE),(0,M.z)(Ai=>{var Ki;return this.store.dispatch((0,ne.ac)({payload:Ai.payload.uiMessage})),this.store.dispatch((0,ne.qi)({payload:{action:"UpdateSelNode",status:I.Bn.INITIATED}})),this.httpClient.get(I.vv.CONF_API+"/updateSelNode/"+(null===(Ki=Ai.payload.currentLnNode)||void 0===Ki?void 0:Ki.index)+"/"+Ai.payload.prevLnNodeIndex).pipe((0,u.U)(Zt=>(this.logger.info(Zt),this.store.dispatch((0,ne.qi)({payload:{action:"UpdateSelNode",status:I.Bn.COMPLETED}})),this.store.dispatch((0,ne.uO)({payload:Ai.payload.uiMessage})),this.initializeNode(Ai.payload.currentLnNode,Ai.payload.isInitialSetup),{type:I.pg.VOID})),(0,w.K)(Zt=>(this.handleErrorWithAlert("UpdateSelNode",Ai.payload.uiMessage,"Update Selected Node Failed!",I.vv.CONF_API+"/updateSelNode",Zt),(0,A.of)({type:I.pg.VOID}))))}))),this.fetchFile=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.FETCH_FILE),(0,M.z)(Ai=>{this.store.dispatch((0,ne.ac)({payload:I.m6.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,ne.qi)({payload:{action:"FetchFile",status:I.Bn.INITIATED}}));const Ki="?channel="+Ai.payload.channelPoint+(Ai.payload.path?"&path="+Ai.payload.path:"");return this.httpClient.get(I.vv.CONF_API+"/file"+Ki).pipe((0,u.U)(Zt=>(this.store.dispatch((0,ne.qi)({payload:{action:"FetchFile",status:I.Bn.COMPLETED}})),this.store.dispatch((0,ne.uO)({payload:I.m6.DOWNLOAD_BACKUP_FILE})),{type:I.pg.SHOW_FILE,payload:Zt})),(0,w.K)(Zt=>(this.handleErrorWithAlert("fetchFile",I.m6.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",I.vv.CONF_API+"/file"+Ki,{status:this.commonService.extractErrorNumber(Zt),error:{error:this.commonService.extractErrorCode(Zt)}}),(0,A.of)({type:I.pg.VOID}))))}))),this.showFile=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(I.pg.SHOW_FILE),(0,u.U)(Ai=>Ai.payload)),{dispatch:!1})}initializeNode(Qt,li){this.logger.info("Initializing node from RTL Effects.");const tn=li?"":"HOME",dn={userPersona:Qt.settings.userPersona,channelBackupPath:Qt.settings.channelBackupPath,unannouncedChannels:!!Qt.settings.unannouncedChannels,selCurrencyUnit:Qt.settings.currencyUnit,currencyUnits:I.uA,fiatConversion:Qt.settings.fiatConversion,lnImplementation:Qt.lnImplementation,swapServerUrl:Qt.settings.swapServerUrl,boltzServerUrl:Qt.settings.boltzServerUrl,enableOffers:Qt.settings.enableOffers,enablePeerswap:Qt.settings.enablePeerswap};if(Qt.settings.fiatConversion&&Qt.settings.currencyUnit&&(dn.currencyUnits=[...I.uA,Qt.settings.currencyUnit]),this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clUnlocked"),this.sessionService.removeItem("eclUnlocked"),this.store.dispatch((0,ne.vI)({payload:Qt})),this.store.dispatch((0,Kt.Ll)({payload:dn})),this.store.dispatch((0,fi.xH)({payload:dn})),this.store.dispatch((0,Mi.Fd)({payload:dn})),this.sessionService.getItem("token")){const Pn=Qt.lnImplementation?Qt.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(Pn);const lr=!(0,t.X6Q)()&&window.location.origin?window.location.origin+"/rtl/api":I.T5;switch(this.wsService.connectWebSocket(lr?.replace(/^http/,"ws")+I.vv.Web_SOCKET_API,Qt.index?Qt.index.toString():"-1"),Pn){case"CLN":this.store.dispatch((0,fi.CN)({payload:{loadPage:tn}}));break;case"ECL":this.store.dispatch((0,Mi.iz)({payload:{loadPage:tn}}));break;default:this.store.dispatch((0,Kt.sQ)({payload:{loadPage:tn}}))}}}SetToken(Qt){Qt?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",Qt)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(Qt,li){this.logger.info("Successfully Authorized!"),this.SetToken(li.token),this.sessionService.setItem("defaultPassword",Qt),Qt?(this.store.dispatch((0,ne.jW)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,ne.ey)())}handleErrorWithoutAlert(Qt,li,tn){this.logger.error("ERROR IN: "+Qt+"\n"+JSON.stringify(tn)),401===tn.status&&"Login"!==Qt?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,ne.ts)()),this.store.dispatch((0,ne.kS)()),this.store.dispatch((0,ne.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,ne.uO)({payload:li})),this.store.dispatch((0,ne.qi)({payload:{action:Qt,status:I.Bn.ERROR,statusCode:tn.status?tn.status.toString():"",message:this.commonService.extractErrorMessage(tn)}})))}handleErrorWithAlert(Qt,li,tn,dn,Pn){if(this.logger.error(Pn),0===Pn.status&&Pn.statusText&&"Unknown Error"===Pn.statusText&&(Pn={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===Pn.status&&"Login"!==Qt)this.logger.info("Redirecting to Login"),this.store.dispatch((0,ne.ts)()),this.store.dispatch((0,ne.kS)()),this.store.dispatch((0,ne.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,ne.uO)({payload:li}));const lr=this.commonService.extractErrorMessage(Pn);this.store.dispatch((0,ne.qR)({payload:{data:{type:"ERROR",alertTitle:tn,message:{code:Pn.status?Pn.status:"Unknown Error",message:lr,URL:dn},component:Li.H}}})),this.store.dispatch((0,ne.qi)({payload:{action:Qt,status:I.Bn.ERROR,statusCode:Pn.status?Pn.status.toString():"",message:lr,URL:dn}}))}}ngOnDestroy(){this.unSubs.forEach(Qt=>{Qt.next(null),Qt.complete()})}}return mt.\u0275fac=function(Qt){return new(Qt||mt)(t.LFG(e.eX),t.LFG(Ui.eN),t.LFG(Ht.yh),t.LFG(j.mQ),t.LFG(Wt.d),t.LFG(si.m),t.LFG(ee.v),t.LFG(_e.D),t.LFG(P.uw),t.LFG(X.ux),t.LFG($e.F0))},mt.\u0275prov=t.Yz7({token:mt,factory:mt.\u0275fac}),mt})()},8377:(Ge,Q,m)=>{"use strict";m.d(Q,{R4:()=>C,Sr:()=>O,Yj:()=>o,dT:()=>A,gW:()=>d,ul:()=>u});var t=m(9653);const e=(0,t.ZF)("root"),A=((0,t.P1)(e,M=>M.apiURL),(0,t.P1)(e,M=>M.selNode)),o=(0,t.P1)(e,M=>M.appConfig),C=(0,t.P1)(e,M=>M.nodeData),u=(0,t.P1)(e,M=>M.apisCallStatus.Login),O=(0,t.P1)(e,M=>M.apisCallStatus.IsAuthorized),d=(0,t.P1)(e,M=>({nodeDate:M.nodeData,selNode:M.selNode}))},5415:(Ge,Q,m)=>{"use strict";var t=m(1481),e=m(4650),g=m(7340);function o(R){return new e.vHH(3e3,!1)}function it(){return typeof window<"u"&&typeof window.document<"u"}function Ne(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function ot(R){switch(R.length){case 0:return new g.ZN;case 1:return R[0];default:return new g.ZE(R)}}function Ie(R,N,_,H,$=new Map,Be=new Map){const At=[],Yt=[];let oi=-1,xi=null;if(H.forEach($i=>{const en=$i.get("offset"),Hn=en==oi,Tn=Hn&&xi||new Map;$i.forEach((ji,vn)=>{let ln=vn,yn=ji;if("offset"!==vn)switch(ln=N.normalizePropertyName(ln,At),yn){case g.k1:yn=$.get(vn);break;case g.l3:yn=Be.get(vn);break;default:yn=N.normalizeStyleValue(vn,ln,yn,At)}Tn.set(ln,yn)}),Hn||Yt.push(Tn),xi=Tn,oi=en}),At.length)throw function r(R){return new e.vHH(3502,!1)}();return Yt}function ve(R,N,_,H){switch(N){case"start":R.onStart(()=>H(_&&fe(_,"start",R)));break;case"done":R.onDone(()=>H(_&&fe(_,"done",R)));break;case"destroy":R.onDestroy(()=>H(_&&fe(_,"destroy",R)))}}function fe(R,N,_){const Be=Se(R.element,R.triggerName,R.fromState,R.toState,N||R.phaseName,_.totalTime??R.totalTime,!!_.disabled),At=R._data;return null!=At&&(Be._data=At),Be}function Se(R,N,_,H,$="",Be=0,At){return{element:R,triggerName:N,fromState:_,toState:H,phaseName:$,totalTime:Be,disabled:!!At}}function te(R,N,_){let H=R.get(N);return H||R.set(N,H=_),H}function Ke(R){const N=R.indexOf(":");return[R.substring(1,N),R.slice(N+1)]}let Ae=(R,N)=>!1,oe=(R,N,_)=>[],ye=null;function me(R){const N=R.parentNode||R.host;return N===ye?null:N}(Ne()||typeof Element<"u")&&(it()?(ye=(()=>document.documentElement)(),Ae=(R,N)=>{for(;N;){if(N===R)return!0;N=me(N)}return!1}):Ae=(R,N)=>R.contains(N),oe=(R,N,_)=>{if(_)return Array.from(R.querySelectorAll(N));const H=R.querySelector(N);return H?[H]:[]});let q=null,de=!1;const _t=Ae,ct=oe;let Jt=(()=>{class R{validateStyleProperty(_){return function xe(R){q||(q=function ft(){return typeof document<"u"?document.body:null}()||{},de=!!q.style&&"WebkitAppearance"in q.style);let N=!0;return q.style&&!function Ze(R){return"ebkit"==R.substring(1,6)}(R)&&(N=R in q.style,!N&&de&&(N="Webkit"+R.charAt(0).toUpperCase()+R.slice(1)in q.style)),N}(_)}matchesElement(_,H){return!1}containsElement(_,H){return _t(_,H)}getParentElement(_){return me(_)}query(_,H,$){return ct(_,H,$)}computeStyle(_,H,$){return $||""}animate(_,H,$,Be,At,Yt=[],oi){return new g.ZN($,Be)}}return R.\u0275fac=function(_){return new(_||R)},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})(),vt=(()=>{class R{}return R.NOOP=new Jt,R})();const ze="ng-enter",wt="ng-leave",Re="ng-trigger",tt=".ng-trigger",Bt="ng-animating",It=".ng-animating";function zt(R){if("number"==typeof R)return R;const N=R.match(/^(-?[\.\d]+)(m?s)/);return!N||N.length<2?0:xt(parseFloat(N[1]),N[2])}function xt(R,N){return"s"===N?1e3*R:R}function we(R,N,_){return R.hasOwnProperty("duration")?R:function J(R,N,_){let $,Be=0,At="";if("string"==typeof R){const Yt=R.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Yt)return N.push(o()),{duration:0,delay:0,easing:""};$=xt(parseFloat(Yt[1]),Yt[2]);const oi=Yt[3];null!=oi&&(Be=xt(parseFloat(oi),Yt[4]));const xi=Yt[5];xi&&(At=xi)}else $=R;if(!_){let Yt=!1,oi=N.length;$<0&&(N.push(function C(){return new e.vHH(3100,!1)}()),Yt=!0),Be<0&&(N.push(function u(){return new e.vHH(3101,!1)}()),Yt=!0),Yt&&N.splice(oi,0,o())}return{duration:$,delay:Be,easing:At}}(R,N,_)}function be(R,N={}){return Object.keys(R).forEach(_=>{N[_]=R[_]}),N}function Fe(R){const N=new Map;return Object.keys(R).forEach(_=>{N.set(_,R[_])}),N}function Gt(R,N=new Map,_){if(_)for(let[H,$]of _)N.set(H,$);for(let[H,$]of R)N.set(H,$);return N}function ei(R,N,_){return _?N+":"+_+";":""}function ht(R){let N="";for(let _=0;_<R.style.length;_++){const H=R.style.item(_);N+=ei(0,H,R.style.getPropertyValue(H))}for(const _ in R.style)R.style.hasOwnProperty(_)&&!_.startsWith("_")&&(N+=ei(0,Et(_),R.style[_]));R.setAttribute("style",N)}function rt(R,N,_){R.style&&(N.forEach((H,$)=>{const Be=Xe($);_&&!_.has($)&&_.set($,R.style[Be]),R.style[Be]=H}),Ne()&&ht(R))}function yt(R,N){R.style&&(N.forEach((_,H)=>{const $=Xe(H);R.style[$]=""}),Ne()&&ht(R))}function ri(R){return Array.isArray(R)?1==R.length?R[0]:(0,g.vP)(R):R}const Vt=new RegExp("{{\\s*(.+?)\\s*}}","g");function Ft(R){let N=[];if("string"==typeof R){let _;for(;_=Vt.exec(R);)N.push(_[1]);Vt.lastIndex=0}return N}function Qe(R,N,_){const H=R.toString(),$=H.replace(Vt,(Be,At)=>{let Yt=N[At];return null==Yt&&(_.push(function d(R){return new e.vHH(3003,!1)}()),Yt=""),Yt.toString()});return $==H?R:$}function Ve(R){const N=[];let _=R.next();for(;!_.done;)N.push(_.value),_=R.next();return N}const je=/-+([a-z0-9])/g;function Xe(R){return R.replace(je,(...N)=>N[1].toUpperCase())}function Et(R){return R.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function wi(R,N,_){switch(N.type){case 7:return R.visitTrigger(N,_);case 0:return R.visitState(N,_);case 1:return R.visitTransition(N,_);case 2:return R.visitSequence(N,_);case 3:return R.visitGroup(N,_);case 4:return R.visitAnimate(N,_);case 5:return R.visitKeyframes(N,_);case 6:return R.visitStyle(N,_);case 8:return R.visitReference(N,_);case 9:return R.visitAnimateChild(N,_);case 10:return R.visitAnimateRef(N,_);case 11:return R.visitQuery(N,_);case 12:return R.visitStagger(N,_);default:throw function M(R){return new e.vHH(3004,!1)}()}}function Vi(R,N){return window.getComputedStyle(R)[N]}function Ui(R,N){const _=[];return"string"==typeof R?R.split(/\s*,\s*/).forEach(H=>function Wt(R,N,_){if(":"==R[0]){const oi=function si(R,N){switch(R){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(_,H)=>parseFloat(H)>parseFloat(_);case":decrement":return(_,H)=>parseFloat(H)<parseFloat(_);default:return N.push(function se(R){return new e.vHH(3016,!1)}()),"* => *"}}(R,_);if("function"==typeof oi)return void N.push(oi);R=oi}const H=R.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==H||H.length<4)return _.push(function ce(R){return new e.vHH(3015,!1)}()),N;const $=H[1],Be=H[2],At=H[3];N.push(St($,At));"<"==Be[0]&&!("*"==$&&"*"==At)&&N.push(St(At,$))}(H,_,N)):_.push(R),_}const _e=new Set(["true","1"]),$e=new Set(["false","0"]);function St(R,N){const _=_e.has(R)||$e.has(R),H=_e.has(N)||$e.has(N);return($,Be)=>{let At="*"==R||R==$,Yt="*"==N||N==Be;return!At&&_&&"boolean"==typeof $&&(At=$?_e.has(R):$e.has(R)),!Yt&&H&&"boolean"==typeof Be&&(Yt=Be?_e.has(N):$e.has(N)),At&&Yt}}const ui=new RegExp("s*:selfs*,?","g");function Qt(R,N,_,H){return new tn(R).build(N,_,H)}class tn{constructor(N){this._driver=N}build(N,_,H){const $=new lr(_);return this._resetContextStyleTimingState($),wi(this,ri(N),$)}_resetContextStyleTimingState(N){N.currentQuerySelector="",N.collectedStyles=new Map,N.collectedStyles.set("",new Map),N.currentTime=0}visitTrigger(N,_){let H=_.queryCount=0,$=_.depCount=0;const Be=[],At=[];return"@"==N.name.charAt(0)&&_.errors.push(function L(){return new e.vHH(3006,!1)}()),N.definitions.forEach(Yt=>{if(this._resetContextStyleTimingState(_),0==Yt.type){const oi=Yt,xi=oi.name;xi.toString().split(/\s*,\s*/).forEach($i=>{oi.name=$i,Be.push(this.visitState(oi,_))}),oi.name=xi}else if(1==Yt.type){const oi=this.visitTransition(Yt,_);H+=oi.queryCount,$+=oi.depCount,At.push(oi)}else _.errors.push(function I(){return new e.vHH(3007,!1)}())}),{type:7,name:N.name,states:Be,transitions:At,queryCount:H,depCount:$,options:null}}visitState(N,_){const H=this.visitStyle(N.styles,_),$=N.options&&N.options.params||null;if(H.containsDynamicStyles){const Be=new Set,At=$||{};H.styles.forEach(Yt=>{Yt instanceof Map&&Yt.forEach(oi=>{Ft(oi).forEach(xi=>{At.hasOwnProperty(xi)||Be.add(xi)})})}),Be.size&&(Ve(Be.values()),_.errors.push(function P(R,N){return new e.vHH(3008,!1)}()))}return{type:0,name:N.name,style:H,options:$?{params:$}:null}}visitTransition(N,_){_.queryCount=0,_.depCount=0;const H=wi(this,ri(N.animation),_);return{type:1,matchers:Ui(N.expr,_.errors),animation:H,queryCount:_.queryCount,depCount:_.depCount,options:pr(N.options)}}visitSequence(N,_){return{type:2,steps:N.steps.map(H=>wi(this,H,_)),options:pr(N.options)}}visitGroup(N,_){const H=_.currentTime;let $=0;const Be=N.steps.map(At=>{_.currentTime=H;const Yt=wi(this,At,_);return $=Math.max($,_.currentTime),Yt});return _.currentTime=$,{type:3,steps:Be,options:pr(N.options)}}visitAnimate(N,_){const H=function Gr(R,N){if(R.hasOwnProperty("duration"))return R;if("number"==typeof R)return Fr(we(R,N).duration,0,"");const _=R;if(_.split(/\s+/).some(Be=>"{"==Be.charAt(0)&&"{"==Be.charAt(1))){const Be=Fr(0,0,"");return Be.dynamic=!0,Be.strValue=_,Be}const $=we(_,N);return Fr($.duration,$.delay,$.easing)}(N.timings,_.errors);_.currentAnimateTimings=H;let $,Be=N.styles?N.styles:(0,g.oB)({});if(5==Be.type)$=this.visitKeyframes(Be,_);else{let At=N.styles,Yt=!1;if(!At){Yt=!0;const xi={};H.easing&&(xi.easing=H.easing),At=(0,g.oB)(xi)}_.currentTime+=H.duration+H.delay;const oi=this.visitStyle(At,_);oi.isEmptyStep=Yt,$=oi}return _.currentAnimateTimings=null,{type:4,timings:H,style:$,options:null}}visitStyle(N,_){const H=this._makeStyleAst(N,_);return this._validateStyleAst(H,_),H}_makeStyleAst(N,_){const H=[],$=Array.isArray(N.styles)?N.styles:[N.styles];for(let Yt of $)"string"==typeof Yt?Yt===g.l3?H.push(Yt):_.errors.push(new e.vHH(3002,!1)):H.push(Fe(Yt));let Be=!1,At=null;return H.forEach(Yt=>{if(Yt instanceof Map&&(Yt.has("easing")&&(At=Yt.get("easing"),Yt.delete("easing")),!Be))for(let oi of Yt.values())if(oi.toString().indexOf("{{")>=0){Be=!0;break}}),{type:6,styles:H,easing:At,offset:N.offset,containsDynamicStyles:Be,options:null}}_validateStyleAst(N,_){const H=_.currentAnimateTimings;let $=_.currentTime,Be=_.currentTime;H&&Be>0&&(Be-=H.duration+H.delay),N.styles.forEach(At=>{"string"!=typeof At&&At.forEach((Yt,oi)=>{const xi=_.collectedStyles.get(_.currentQuerySelector),$i=xi.get(oi);let en=!0;$i&&(Be!=$&&Be>=$i.startTime&&$<=$i.endTime&&(_.errors.push(function Y(R,N,_,H,$){return new e.vHH(3010,!1)}()),en=!1),Be=$i.startTime),en&&xi.set(oi,{startTime:Be,endTime:$}),_.options&&function Ut(R,N,_){const H=N.params||{},$=Ft(R);$.length&&$.forEach(Be=>{H.hasOwnProperty(Be)||_.push(function O(R){return new e.vHH(3001,!1)}())})}(Yt,_.options,_.errors)})})}visitKeyframes(N,_){const H={type:5,styles:[],options:null};if(!_.currentAnimateTimings)return _.errors.push(function j(){return new e.vHH(3011,!1)}()),H;let Be=0;const At=[];let Yt=!1,oi=!1,xi=0;const $i=N.steps.map(yn=>{const cr=this._makeStyleAst(yn,_);let ja=null!=cr.offset?cr.offset:function Cn(R){if("string"==typeof R)return null;let N=null;if(Array.isArray(R))R.forEach(_=>{if(_ instanceof Map&&_.has("offset")){const H=_;N=parseFloat(H.get("offset")),H.delete("offset")}});else if(R instanceof Map&&R.has("offset")){const _=R;N=parseFloat(_.get("offset")),_.delete("offset")}return N}(cr.styles),Ra=0;return null!=ja&&(Be++,Ra=cr.offset=ja),oi=oi||Ra<0||Ra>1,Yt=Yt||Ra<xi,xi=Ra,At.push(Ra),cr});oi&&_.errors.push(function X(){return new e.vHH(3012,!1)}()),Yt&&_.errors.push(function ee(){return new e.vHH(3200,!1)}());const en=N.steps.length;let Hn=0;Be>0&&Be<en?_.errors.push(function ue(){return new e.vHH(3202,!1)}()):0==Be&&(Hn=1/(en-1));const Tn=en-1,ji=_.currentTime,vn=_.currentAnimateTimings,ln=vn.duration;return $i.forEach((yn,cr)=>{const ja=Hn>0?cr==Tn?1:Hn*cr:At[cr],Ra=ja*ln;_.currentTime=ji+vn.delay+Ra,vn.duration=Ra,this._validateStyleAst(yn,_),yn.offset=ja,H.styles.push(yn)}),H}visitReference(N,_){return{type:8,animation:wi(this,ri(N.animation),_),options:pr(N.options)}}visitAnimateChild(N,_){return _.depCount++,{type:9,options:pr(N.options)}}visitAnimateRef(N,_){return{type:10,animation:this.visitReference(N.animation,_),options:pr(N.options)}}visitQuery(N,_){const H=_.currentQuerySelector,$=N.options||{};_.queryCount++,_.currentQuery=N;const[Be,At]=function dn(R){const N=!!R.split(/\s*,\s*/).find(_=>":self"==_);return N&&(R=R.replace(ui,"")),R=R.replace(/@\*/g,tt).replace(/@\w+/g,_=>tt+"-"+_.slice(1)).replace(/:animating/g,It),[R,N]}(N.selector);_.currentQuerySelector=H.length?H+" "+Be:Be,te(_.collectedStyles,_.currentQuerySelector,new Map);const Yt=wi(this,ri(N.animation),_);return _.currentQuery=null,_.currentQuerySelector=H,{type:11,selector:Be,limit:$.limit||0,optional:!!$.optional,includeSelf:At,animation:Yt,originalSelector:N.selector,options:pr(N.options)}}visitStagger(N,_){_.currentQuery||_.errors.push(function le(){return new e.vHH(3013,!1)}());const H="full"===N.timings?{duration:0,delay:0,easing:"full"}:we(N.timings,_.errors,!0);return{type:12,animation:wi(this,ri(N.animation),_),timings:H,options:null}}}class lr{constructor(N){this.errors=N,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 pr(R){return R?(R=be(R)).params&&(R.params=function Pn(R){return R?be(R):null}(R.params)):R={},R}function Fr(R,N,_){return{duration:R,delay:N,easing:_}}function Wr(R,N,_,H,$,Be,At=null,Yt=!1){return{type:1,element:R,keyframes:N,preStyleProps:_,postStyleProps:H,duration:$,delay:Be,totalTime:$+Be,easing:At,subTimeline:Yt}}class Ai{constructor(){this._map=new Map}get(N){return this._map.get(N)||[]}append(N,_){let H=this._map.get(N);H||this._map.set(N,H=[]),H.push(..._)}has(N){return this._map.has(N)}clear(){this._map.clear()}}const vi=new RegExp(":enter","g"),bi=new RegExp(":leave","g");function Fi(R,N,_,H,$,Be=new Map,At=new Map,Yt,oi,xi=[]){return(new qi).buildKeyframes(R,N,_,H,$,Be,At,Yt,oi,xi)}class qi{buildKeyframes(N,_,H,$,Be,At,Yt,oi,xi,$i=[]){xi=xi||new Ai;const en=new qn(N,_,xi,$,Be,$i,[]);en.options=oi;const Hn=oi.delay?zt(oi.delay):0;en.currentTimeline.delayNextStep(Hn),en.currentTimeline.setStyles([At],null,en.errors,oi),wi(this,H,en);const Tn=en.timelines.filter(ji=>ji.containsAnimation());if(Tn.length&&Yt.size){let ji;for(let vn=Tn.length-1;vn>=0;vn--){const ln=Tn[vn];if(ln.element===_){ji=ln;break}}ji&&!ji.allowOnlyTimelineStyles()&&ji.setStyles([Yt],null,en.errors,oi)}return Tn.length?Tn.map(ji=>ji.buildKeyframes()):[Wr(_,[],[],[],0,Hn,"",!1)]}visitTrigger(N,_){}visitState(N,_){}visitTransition(N,_){}visitAnimateChild(N,_){const H=_.subInstructions.get(_.element);if(H){const $=_.createSubContext(N.options),Be=_.currentTimeline.currentTime,At=this._visitSubInstructions(H,$,$.options);Be!=At&&_.transformIntoNewTimeline(At)}_.previousNode=N}visitAnimateRef(N,_){const H=_.createSubContext(N.options);H.transformIntoNewTimeline(),this._applyAnimationRefDelays([N.options,N.animation.options],_,H),this.visitReference(N.animation,H),_.transformIntoNewTimeline(H.currentTimeline.currentTime),_.previousNode=N}_applyAnimationRefDelays(N,_,H){for(const $ of N){const Be=$?.delay;if(Be){const At="number"==typeof Be?Be:zt(Qe(Be,$?.params??{},_.errors));H.delayNextStep(At)}}}_visitSubInstructions(N,_,H){let Be=_.currentTimeline.currentTime;const At=null!=H.duration?zt(H.duration):null,Yt=null!=H.delay?zt(H.delay):null;return 0!==At&&N.forEach(oi=>{const xi=_.appendInstructionToTimeline(oi,At,Yt);Be=Math.max(Be,xi.duration+xi.delay)}),Be}visitReference(N,_){_.updateOptions(N.options,!0),wi(this,N.animation,_),_.previousNode=N}visitSequence(N,_){const H=_.subContextCount;let $=_;const Be=N.options;if(Be&&(Be.params||Be.delay)&&($=_.createSubContext(Be),$.transformIntoNewTimeline(),null!=Be.delay)){6==$.previousNode.type&&($.currentTimeline.snapshotCurrentStyles(),$.previousNode=wn);const At=zt(Be.delay);$.delayNextStep(At)}N.steps.length&&(N.steps.forEach(At=>wi(this,At,$)),$.currentTimeline.applyStylesToKeyframe(),$.subContextCount>H&&$.transformIntoNewTimeline()),_.previousNode=N}visitGroup(N,_){const H=[];let $=_.currentTimeline.currentTime;const Be=N.options&&N.options.delay?zt(N.options.delay):0;N.steps.forEach(At=>{const Yt=_.createSubContext(N.options);Be&&Yt.delayNextStep(Be),wi(this,At,Yt),$=Math.max($,Yt.currentTimeline.currentTime),H.push(Yt.currentTimeline)}),H.forEach(At=>_.currentTimeline.mergeTimelineCollectedStyles(At)),_.transformIntoNewTimeline($),_.previousNode=N}_visitTiming(N,_){if(N.dynamic){const H=N.strValue;return we(_.params?Qe(H,_.params,_.errors):H,_.errors)}return{duration:N.duration,delay:N.delay,easing:N.easing}}visitAnimate(N,_){const H=_.currentAnimateTimings=this._visitTiming(N.timings,_),$=_.currentTimeline;H.delay&&(_.incrementTime(H.delay),$.snapshotCurrentStyles());const Be=N.style;5==Be.type?this.visitKeyframes(Be,_):(_.incrementTime(H.duration),this.visitStyle(Be,_),$.applyStylesToKeyframe()),_.currentAnimateTimings=null,_.previousNode=N}visitStyle(N,_){const H=_.currentTimeline,$=_.currentAnimateTimings;!$&&H.hasCurrentStyleProperties()&&H.forwardFrame();const Be=$&&$.easing||N.easing;N.isEmptyStep?H.applyEmptyStep(Be):H.setStyles(N.styles,Be,_.errors,_.options),_.previousNode=N}visitKeyframes(N,_){const H=_.currentAnimateTimings,$=_.currentTimeline.duration,Be=H.duration,Yt=_.createSubContext().currentTimeline;Yt.easing=H.easing,N.styles.forEach(oi=>{Yt.forwardTime((oi.offset||0)*Be),Yt.setStyles(oi.styles,oi.easing,_.errors,_.options),Yt.applyStylesToKeyframe()}),_.currentTimeline.mergeTimelineCollectedStyles(Yt),_.transformIntoNewTimeline($+Be),_.previousNode=N}visitQuery(N,_){const H=_.currentTimeline.currentTime,$=N.options||{},Be=$.delay?zt($.delay):0;Be&&(6===_.previousNode.type||0==H&&_.currentTimeline.hasCurrentStyleProperties())&&(_.currentTimeline.snapshotCurrentStyles(),_.previousNode=wn);let At=H;const Yt=_.invokeQuery(N.selector,N.originalSelector,N.limit,N.includeSelf,!!$.optional,_.errors);_.currentQueryTotal=Yt.length;let oi=null;Yt.forEach((xi,$i)=>{_.currentQueryIndex=$i;const en=_.createSubContext(N.options,xi);Be&&en.delayNextStep(Be),xi===_.element&&(oi=en.currentTimeline),wi(this,N.animation,en),en.currentTimeline.applyStylesToKeyframe(),At=Math.max(At,en.currentTimeline.currentTime)}),_.currentQueryIndex=0,_.currentQueryTotal=0,_.transformIntoNewTimeline(At),oi&&(_.currentTimeline.mergeTimelineCollectedStyles(oi),_.currentTimeline.snapshotCurrentStyles()),_.previousNode=N}visitStagger(N,_){const H=_.parentContext,$=_.currentTimeline,Be=N.timings,At=Math.abs(Be.duration),Yt=At*(_.currentQueryTotal-1);let oi=At*_.currentQueryIndex;switch(Be.duration<0?"reverse":Be.easing){case"reverse":oi=Yt-oi;break;case"full":oi=H.currentStaggerTime}const $i=_.currentTimeline;oi&&$i.delayNextStep(oi);const en=$i.currentTime;wi(this,N.animation,_),_.previousNode=N,H.currentStaggerTime=$.currentTime-en+($.startTime-H.currentTimeline.startTime)}}const wn={};class qn{constructor(N,_,H,$,Be,At,Yt,oi){this._driver=N,this.element=_,this.subInstructions=H,this._enterClassName=$,this._leaveClassName=Be,this.errors=At,this.timelines=Yt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=wn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=oi||new Bn(this._driver,_,0),Yt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(N,_){if(!N)return;const H=N;let $=this.options;null!=H.duration&&($.duration=zt(H.duration)),null!=H.delay&&($.delay=zt(H.delay));const Be=H.params;if(Be){let At=$.params;At||(At=this.options.params={}),Object.keys(Be).forEach(Yt=>{(!_||!At.hasOwnProperty(Yt))&&(At[Yt]=Qe(Be[Yt],At,this.errors))})}}_copyOptions(){const N={};if(this.options){const _=this.options.params;if(_){const H=N.params={};Object.keys(_).forEach($=>{H[$]=_[$]})}}return N}createSubContext(N=null,_,H){const $=_||this.element,Be=new qn(this._driver,$,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork($,H||0));return Be.previousNode=this.previousNode,Be.currentAnimateTimings=this.currentAnimateTimings,Be.options=this._copyOptions(),Be.updateOptions(N),Be.currentQueryIndex=this.currentQueryIndex,Be.currentQueryTotal=this.currentQueryTotal,Be.parentContext=this,this.subContextCount++,Be}transformIntoNewTimeline(N){return this.previousNode=wn,this.currentTimeline=this.currentTimeline.fork(this.element,N),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(N,_,H){const $={duration:_??N.duration,delay:this.currentTimeline.currentTime+(H??0)+N.delay,easing:""},Be=new ar(this._driver,N.element,N.keyframes,N.preStyleProps,N.postStyleProps,$,N.stretchStartingKeyframe);return this.timelines.push(Be),$}incrementTime(N){this.currentTimeline.forwardTime(this.currentTimeline.duration+N)}delayNextStep(N){N>0&&this.currentTimeline.delayNextStep(N)}invokeQuery(N,_,H,$,Be,At){let Yt=[];if($&&Yt.push(this.element),N.length>0){N=(N=N.replace(vi,"."+this._enterClassName)).replace(bi,"."+this._leaveClassName);let xi=this._driver.query(this.element,N,1!=H);0!==H&&(xi=H<0?xi.slice(xi.length+H,xi.length):xi.slice(0,H)),Yt.push(...xi)}return!Be&&0==Yt.length&&At.push(function ie(R){return new e.vHH(3014,!1)}()),Yt}}class Bn{constructor(N,_,H,$){this._driver=N,this.element=_,this.startTime=H,this._elementTimelineStylesLookup=$,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(_),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(_,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(N){const _=1===this._keyframes.size&&this._pendingStyles.size;this.duration||_?(this.forwardTime(this.currentTime+N),_&&this.snapshotCurrentStyles()):this.startTime+=N}fork(N,_){return this.applyStylesToKeyframe(),new Bn(this._driver,N,_||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(N){this.applyStylesToKeyframe(),this.duration=N,this._loadKeyframe()}_updateStyle(N,_){this._localTimelineStyles.set(N,_),this._globalTimelineStyles.set(N,_),this._styleSummary.set(N,{time:this.currentTime,value:_})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(N){N&&this._previousKeyframe.set("easing",N);for(let[_,H]of this._globalTimelineStyles)this._backFill.set(_,H||g.l3),this._currentKeyframe.set(_,g.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(N,_,H,$){_&&this._previousKeyframe.set("easing",_);const Be=$&&$.params||{},At=function Fn(R,N){const _=new Map;let H;return R.forEach($=>{if("*"===$){H=H||N.keys();for(let Be of H)_.set(Be,g.l3)}else Gt($,_)}),_}(N,this._globalTimelineStyles);for(let[Yt,oi]of At){const xi=Qe(oi,Be,H);this._pendingStyles.set(Yt,xi),this._localTimelineStyles.has(Yt)||this._backFill.set(Yt,this._globalTimelineStyles.get(Yt)??g.l3),this._updateStyle(Yt,xi)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((N,_)=>{this._currentKeyframe.set(_,N)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((N,_)=>{this._currentKeyframe.has(_)||this._currentKeyframe.set(_,N)}))}snapshotCurrentStyles(){for(let[N,_]of this._localTimelineStyles)this._pendingStyles.set(N,_),this._updateStyle(N,_)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const N=[];for(let _ in this._currentKeyframe)N.push(_);return N}mergeTimelineCollectedStyles(N){N._styleSummary.forEach((_,H)=>{const $=this._styleSummary.get(H);(!$||_.time>$.time)&&this._updateStyle(H,_.value)})}buildKeyframes(){this.applyStylesToKeyframe();const N=new Set,_=new Set,H=1===this._keyframes.size&&0===this.duration;let $=[];this._keyframes.forEach((Yt,oi)=>{const xi=Gt(Yt,new Map,this._backFill);xi.forEach(($i,en)=>{$i===g.k1?N.add(en):$i===g.l3&&_.add(en)}),H||xi.set("offset",oi/this.duration),$.push(xi)});const Be=N.size?Ve(N.values()):[],At=_.size?Ve(_.values()):[];if(H){const Yt=$[0],oi=new Map(Yt);Yt.set("offset",0),oi.set("offset",1),$=[Yt,oi]}return Wr(this.element,$,Be,At,this.duration,this.startTime,this.easing,!1)}}class ar extends Bn{constructor(N,_,H,$,Be,At,Yt=!1){super(N,_,At.delay),this.keyframes=H,this.preStyleProps=$,this.postStyleProps=Be,this._stretchStartingKeyframe=Yt,this.timings={duration:At.duration,delay:At.delay,easing:At.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let N=this.keyframes,{delay:_,duration:H,easing:$}=this.timings;if(this._stretchStartingKeyframe&&_){const Be=[],At=H+_,Yt=_/At,oi=Gt(N[0]);oi.set("offset",0),Be.push(oi);const xi=Gt(N[0]);xi.set("offset",Nn(Yt)),Be.push(xi);const $i=N.length-1;for(let en=1;en<=$i;en++){let Hn=Gt(N[en]);const Tn=Hn.get("offset");Hn.set("offset",Nn((_+Tn*H)/At)),Be.push(Hn)}H=At,_=0,$="",N=Be}return Wr(this.element,N,this.preStyleProps,this.postStyleProps,H,_,$,!0)}}function Nn(R,N=3){const _=Math.pow(10,N-1);return Math.round(R*_)/_}class ir{}const za=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 Hr extends ir{normalizePropertyName(N,_){return Xe(N)}normalizeStyleValue(N,_,H,$){let Be="";const At=H.toString().trim();if(za.has(_)&&0!==H&&"0"!==H)if("number"==typeof H)Be="px";else{const Yt=H.match(/^[+-]?[\d\.]+([a-z]*)$/);Yt&&0==Yt[1].length&&$.push(function w(R,N){return new e.vHH(3005,!1)}())}return At+Be}}function Yr(R,N,_,H,$,Be,At,Yt,oi,xi,$i,en,Hn){return{type:0,element:R,triggerName:N,isRemovalTransition:$,fromState:_,fromStyles:Be,toState:H,toStyles:At,timelines:Yt,queriedElements:oi,preStyleProps:xi,postStyleProps:$i,totalTime:en,errors:Hn}}const dr={};class Lr{constructor(N,_,H){this._triggerName=N,this.ast=_,this._stateStyles=H}match(N,_,H,$){return function os(R,N,_,H,$){return R.some(Be=>Be(N,_,H,$))}(this.ast.matchers,N,_,H,$)}buildStyles(N,_,H){let $=this._stateStyles.get("*");return void 0!==N&&($=this._stateStyles.get(N?.toString())||$),$?$.buildStyles(_,H):new Map}build(N,_,H,$,Be,At,Yt,oi,xi,$i){const en=[],Hn=this.ast.options&&this.ast.options.params||dr,ji=this.buildStyles(H,Yt&&Yt.params||dr,en),vn=oi&&oi.params||dr,ln=this.buildStyles($,vn,en),yn=new Set,cr=new Map,ja=new Map,Ra="void"===$,Sc={params:Ca(vn,Hn),delay:this.ast.options?.delay},fo=$i?[]:Fi(N,_,this.ast.animation,Be,At,ji,ln,Sc,xi,en);let ya=0;if(fo.forEach(Xs=>{ya=Math.max(Xs.duration+Xs.delay,ya)}),en.length)return Yr(_,this._triggerName,H,$,Ra,ji,ln,[],[],cr,ja,ya,en);fo.forEach(Xs=>{const Oo=Xs.element,Zh=te(cr,Oo,new Set);Xs.preStyleProps.forEach(Xo=>Zh.add(Xo));const mo=te(ja,Oo,new Set);Xs.postStyleProps.forEach(Xo=>mo.add(Xo)),Oo!==_&&yn.add(Oo)});const Ec=Ve(yn.values());return Yr(_,this._triggerName,H,$,Ra,ji,ln,fo,Ec,cr,ja,ya)}}function Ca(R,N){const _=be(N);for(const H in R)R.hasOwnProperty(H)&&null!=R[H]&&(_[H]=R[H]);return _}class Va{constructor(N,_,H){this.styles=N,this.defaultParams=_,this.normalizer=H}buildStyles(N,_){const H=new Map,$=be(this.defaultParams);return Object.keys(N).forEach(Be=>{const At=N[Be];null!==At&&($[Be]=At)}),this.styles.styles.forEach(Be=>{"string"!=typeof Be&&Be.forEach((At,Yt)=>{At&&(At=Qe(At,$,_));const oi=this.normalizer.normalizePropertyName(Yt,_);At=this.normalizer.normalizeStyleValue(Yt,oi,At,_),H.set(Yt,At)})}),H}}class zr{constructor(N,_,H){this.name=N,this.ast=_,this._normalizer=H,this.transitionFactories=[],this.states=new Map,_.states.forEach($=>{this.states.set($.name,new Va($.style,$.options&&$.options.params||{},H))}),Dr(this.states,"true","1"),Dr(this.states,"false","0"),_.transitions.forEach($=>{this.transitionFactories.push(new Lr(N,$,this.states))}),this.fallbackTransition=function ls(R,N,_){return new Lr(R,{type:1,animation:{type:2,steps:[],options:null},matchers:[(At,Yt)=>!0],options:null,queryCount:0,depCount:0},N)}(N,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(N,_,H,$){return this.transitionFactories.find(At=>At.match(N,_,H,$))||null}matchStyles(N,_,H){return this.fallbackTransition.buildStyles(N,_,H)}}function Dr(R,N,_){R.has(N)?R.has(_)||R.set(_,R.get(N)):R.has(_)&&R.set(N,R.get(_))}const xs=new Ai;class qa{constructor(N,_,H){this.bodyNode=N,this._driver=_,this._normalizer=H,this._animations=new Map,this._playersById=new Map,this.players=[]}register(N,_){const H=[],Be=Qt(this._driver,_,H,[]);if(H.length)throw function h(R){return new e.vHH(3503,!1)}();this._animations.set(N,Be)}_buildPlayer(N,_,H){const $=N.element,Be=Ie(0,this._normalizer,0,N.keyframes,_,H);return this._driver.animate($,Be,N.duration,N.delay,N.easing,[],!0)}create(N,_,H={}){const $=[],Be=this._animations.get(N);let At;const Yt=new Map;if(Be?(At=Fi(this._driver,_,Be,ze,wt,new Map,new Map,H,xs,$),At.forEach($i=>{const en=te(Yt,$i.element,new Map);$i.postStyleProps.forEach(Hn=>en.set(Hn,null))})):($.push(function c(){return new e.vHH(3300,!1)}()),At=[]),$.length)throw function y(R){return new e.vHH(3504,!1)}();Yt.forEach(($i,en)=>{$i.forEach((Hn,Tn)=>{$i.set(Tn,this._driver.computeStyle(en,Tn,g.l3))})});const xi=ot(At.map($i=>{const en=Yt.get($i.element);return this._buildPlayer($i,new Map,en)}));return this._playersById.set(N,xi),xi.onDestroy(()=>this.destroy(N)),this.players.push(xi),xi}destroy(N){const _=this._getPlayer(N);_.destroy(),this._playersById.delete(N);const H=this.players.indexOf(_);H>=0&&this.players.splice(H,1)}_getPlayer(N){const _=this._playersById.get(N);if(!_)throw function S(R){return new e.vHH(3301,!1)}();return _}listen(N,_,H,$){const Be=Se(_,"","","");return ve(this._getPlayer(N),H,Be,$),()=>{}}command(N,_,H,$){if("register"==H)return void this.register(N,$[0]);if("create"==H)return void this.create(N,_,$[0]||{});const Be=this._getPlayer(N);switch(H){case"play":Be.play();break;case"pause":Be.pause();break;case"reset":Be.reset();break;case"restart":Be.restart();break;case"finish":Be.finish();break;case"init":Be.init();break;case"setPosition":Be.setPosition(parseFloat($[0]));break;case"destroy":this.destroy(N)}}}const Rs="ng-animate-queued",wa="ng-animate-disabled",Oa=[],pa={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ja={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},fr="__ng_removed";class Vr{constructor(N,_=""){this.namespaceId=_;const H=N&&N.hasOwnProperty("value");if(this.value=function Ba(R){return R??null}(H?N.value:N),H){const Be=be(N);delete Be.value,this.options=Be}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(N){const _=N.params;if(_){const H=this.options.params;Object.keys(_).forEach($=>{null==H[$]&&(H[$]=_[$])})}}}const ga="void",Xa=new Vr(ga);class Ma{constructor(N,_,H){this.id=N,this.hostElement=_,this._engine=H,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+N,sr(_,this._hostClassName)}listen(N,_,H,$){if(!this._triggers.has(_))throw function k(R,N){return new e.vHH(3302,!1)}();if(null==H||0==H.length)throw function v(R){return new e.vHH(3303,!1)}();if(!function fs(R){return"start"==R||"done"==R}(H))throw function n(R,N){return new e.vHH(3400,!1)}();const Be=te(this._elementListeners,N,[]),At={name:_,phase:H,callback:$};Be.push(At);const Yt=te(this._engine.statesByElement,N,new Map);return Yt.has(_)||(sr(N,Re),sr(N,Re+"-"+_),Yt.set(_,Xa)),()=>{this._engine.afterFlush(()=>{const oi=Be.indexOf(At);oi>=0&&Be.splice(oi,1),this._triggers.has(_)||Yt.delete(_)})}}register(N,_){return!this._triggers.has(N)&&(this._triggers.set(N,_),!0)}_getTrigger(N){const _=this._triggers.get(N);if(!_)throw function b(R){return new e.vHH(3401,!1)}();return _}trigger(N,_,H,$=!0){const Be=this._getTrigger(_),At=new Zr(this.id,_,N);let Yt=this._engine.statesByElement.get(N);Yt||(sr(N,Re),sr(N,Re+"-"+_),this._engine.statesByElement.set(N,Yt=new Map));let oi=Yt.get(_);const xi=new Vr(H,this.id);if(!(H&&H.hasOwnProperty("value"))&&oi&&xi.absorbOptions(oi.options),Yt.set(_,xi),oi||(oi=Xa),xi.value!==ga&&oi.value===xi.value){if(!function es(R,N){const _=Object.keys(R),H=Object.keys(N);if(_.length!=H.length)return!1;for(let $=0;$<_.length;$++){const Be=_[$];if(!N.hasOwnProperty(Be)||R[Be]!==N[Be])return!1}return!0}(oi.params,xi.params)){const vn=[],ln=Be.matchStyles(oi.value,oi.params,vn),yn=Be.matchStyles(xi.value,xi.params,vn);vn.length?this._engine.reportError(vn):this._engine.afterFlush(()=>{yt(N,ln),rt(N,yn)})}return}const Hn=te(this._engine.playersByElement,N,[]);Hn.forEach(vn=>{vn.namespaceId==this.id&&vn.triggerName==_&&vn.queued&&vn.destroy()});let Tn=Be.matchTransition(oi.value,xi.value,N,xi.params),ji=!1;if(!Tn){if(!$)return;Tn=Be.fallbackTransition,ji=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:N,triggerName:_,transition:Tn,fromState:oi,toState:xi,player:At,isFallbackTransition:ji}),ji||(sr(N,Rs),At.onStart(()=>{Jn(N,Rs)})),At.onDone(()=>{let vn=this.players.indexOf(At);vn>=0&&this.players.splice(vn,1);const ln=this._engine.playersByElement.get(N);if(ln){let yn=ln.indexOf(At);yn>=0&&ln.splice(yn,1)}}),this.players.push(At),Hn.push(At),At}deregister(N){this._triggers.delete(N),this._engine.statesByElement.forEach(_=>_.delete(N)),this._elementListeners.forEach((_,H)=>{this._elementListeners.set(H,_.filter($=>$.name!=N))})}clearElementCache(N){this._engine.statesByElement.delete(N),this._elementListeners.delete(N);const _=this._engine.playersByElement.get(N);_&&(_.forEach(H=>H.destroy()),this._engine.playersByElement.delete(N))}_signalRemovalForInnerTriggers(N,_){const H=this._engine.driver.query(N,tt,!0);H.forEach($=>{if($[fr])return;const Be=this._engine.fetchNamespacesByElement($);Be.size?Be.forEach(At=>At.triggerLeaveAnimation($,_,!1,!0)):this.clearElementCache($)}),this._engine.afterFlushAnimationsDone(()=>H.forEach($=>this.clearElementCache($)))}triggerLeaveAnimation(N,_,H,$){const Be=this._engine.statesByElement.get(N),At=new Map;if(Be){const Yt=[];if(Be.forEach((oi,xi)=>{if(At.set(xi,oi.value),this._triggers.has(xi)){const $i=this.trigger(N,xi,ga,$);$i&&Yt.push($i)}}),Yt.length)return this._engine.markElementAsRemoved(this.id,N,!0,_,At),H&&ot(Yt).onDone(()=>this._engine.processLeaveNode(N)),!0}return!1}prepareLeaveAnimationListeners(N){const _=this._elementListeners.get(N),H=this._engine.statesByElement.get(N);if(_&&H){const $=new Set;_.forEach(Be=>{const At=Be.name;if($.has(At))return;$.add(At);const oi=this._triggers.get(At).fallbackTransition,xi=H.get(At)||Xa,$i=new Vr(ga),en=new Zr(this.id,At,N);this._engine.totalQueuedPlayers++,this._queue.push({element:N,triggerName:At,transition:oi,fromState:xi,toState:$i,player:en,isFallbackTransition:!0})})}}removeNode(N,_){const H=this._engine;if(N.childElementCount&&this._signalRemovalForInnerTriggers(N,_),this.triggerLeaveAnimation(N,_,!0))return;let $=!1;if(H.totalAnimations){const Be=H.players.length?H.playersByQueriedElement.get(N):[];if(Be&&Be.length)$=!0;else{let At=N;for(;At=At.parentNode;)if(H.statesByElement.get(At)){$=!0;break}}}if(this.prepareLeaveAnimationListeners(N),$)H.markElementAsRemoved(this.id,N,!1,_);else{const Be=N[fr];(!Be||Be===pa)&&(H.afterFlush(()=>this.clearElementCache(N)),H.destroyInnerAnimations(N),H._onRemovalComplete(N,_))}}insertNode(N,_){sr(N,this._hostClassName)}drainQueuedTransitions(N){const _=[];return this._queue.forEach(H=>{const $=H.player;if($.destroyed)return;const Be=H.element,At=this._elementListeners.get(Be);At&&At.forEach(Yt=>{if(Yt.name==H.triggerName){const oi=Se(Be,H.triggerName,H.fromState.value,H.toState.value);oi._data=N,ve(H.player,Yt.phase,oi,Yt.callback)}}),$.markedForDestroy?this._engine.afterFlush(()=>{$.destroy()}):_.push(H)}),this._queue=[],_.sort((H,$)=>{const Be=H.transition.ast.depCount,At=$.transition.ast.depCount;return 0==Be||0==At?Be-At:this._engine.driver.containsElement(H.element,$.element)?1:-1})}destroy(N){this.players.forEach(_=>_.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,N)}elementContainsData(N){let _=!1;return this._elementListeners.has(N)&&(_=!0),_=!!this._queue.find(H=>H.element===N)||_,_}}class us{constructor(N,_,H){this.bodyNode=N,this.driver=_,this._normalizer=H,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=($,Be)=>{}}_onRemovalComplete(N,_){this.onRemovalComplete(N,_)}get queuedPlayers(){const N=[];return this._namespaceList.forEach(_=>{_.players.forEach(H=>{H.queued&&N.push(H)})}),N}createNamespace(N,_){const H=new Ma(N,_,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,_)?this._balanceNamespaceList(H,_):(this.newHostElements.set(_,H),this.collectEnterElement(_)),this._namespaceLookup[N]=H}_balanceNamespaceList(N,_){const H=this._namespaceList,$=this.namespacesByHostElement;if(H.length-1>=0){let At=!1,Yt=this.driver.getParentElement(_);for(;Yt;){const oi=$.get(Yt);if(oi){const xi=H.indexOf(oi);H.splice(xi+1,0,N),At=!0;break}Yt=this.driver.getParentElement(Yt)}At||H.unshift(N)}else H.push(N);return $.set(_,N),N}register(N,_){let H=this._namespaceLookup[N];return H||(H=this.createNamespace(N,_)),H}registerTrigger(N,_,H){let $=this._namespaceLookup[N];$&&$.register(_,H)&&this.totalAnimations++}destroy(N,_){if(!N)return;const H=this._fetchNamespace(N);this.afterFlush(()=>{this.namespacesByHostElement.delete(H.hostElement),delete this._namespaceLookup[N];const $=this._namespaceList.indexOf(H);$>=0&&this._namespaceList.splice($,1)}),this.afterFlushAnimationsDone(()=>H.destroy(_))}_fetchNamespace(N){return this._namespaceLookup[N]}fetchNamespacesByElement(N){const _=new Set,H=this.statesByElement.get(N);if(H)for(let $ of H.values())if($.namespaceId){const Be=this._fetchNamespace($.namespaceId);Be&&_.add(Be)}return _}trigger(N,_,H,$){if(Jr(_)){const Be=this._fetchNamespace(N);if(Be)return Be.trigger(_,H,$),!0}return!1}insertNode(N,_,H,$){if(!Jr(_))return;const Be=_[fr];if(Be&&Be.setForRemoval){Be.setForRemoval=!1,Be.setForMove=!0;const At=this.collectedLeaveElements.indexOf(_);At>=0&&this.collectedLeaveElements.splice(At,1)}if(N){const At=this._fetchNamespace(N);At&&At.insertNode(_,H)}$&&this.collectEnterElement(_)}collectEnterElement(N){this.collectedEnterElements.push(N)}markElementAsDisabled(N,_){_?this.disabledNodes.has(N)||(this.disabledNodes.add(N),sr(N,wa)):this.disabledNodes.has(N)&&(this.disabledNodes.delete(N),Jn(N,wa))}removeNode(N,_,H,$){if(Jr(_)){const Be=N?this._fetchNamespace(N):null;if(Be?Be.removeNode(_,$):this.markElementAsRemoved(N,_,!1,$),H){const At=this.namespacesByHostElement.get(_);At&&At.id!==N&&At.removeNode(_,$)}}else this._onRemovalComplete(_,$)}markElementAsRemoved(N,_,H,$,Be){this.collectedLeaveElements.push(_),_[fr]={namespaceId:N,setForRemoval:$,hasAnimation:H,removedBeforeQueried:!1,previousTriggersValues:Be}}listen(N,_,H,$,Be){return Jr(_)?this._fetchNamespace(N).listen(_,H,$,Be):()=>{}}_buildInstruction(N,_,H,$,Be){return N.transition.build(this.driver,N.element,N.fromState.value,N.toState.value,H,$,N.fromState.options,N.toState.options,_,Be)}destroyInnerAnimations(N){let _=this.driver.query(N,tt,!0);_.forEach(H=>this.destroyActiveAnimationsForElement(H)),0!=this.playersByQueriedElement.size&&(_=this.driver.query(N,It,!0),_.forEach(H=>this.finishActiveQueriedAnimationOnElement(H)))}destroyActiveAnimationsForElement(N){const _=this.playersByElement.get(N);_&&_.forEach(H=>{H.queued?H.markedForDestroy=!0:H.destroy()})}finishActiveQueriedAnimationOnElement(N){const _=this.playersByQueriedElement.get(N);_&&_.forEach(H=>H.finish())}whenRenderingDone(){return new Promise(N=>{if(this.players.length)return ot(this.players).onDone(()=>N());N()})}processLeaveNode(N){const _=N[fr];if(_&&_.setForRemoval){if(N[fr]=pa,_.namespaceId){this.destroyInnerAnimations(N);const H=this._fetchNamespace(_.namespaceId);H&&H.clearElementCache(N)}this._onRemovalComplete(N,_.setForRemoval)}N.classList?.contains(wa)&&this.markElementAsDisabled(N,!1),this.driver.query(N,".ng-animate-disabled",!0).forEach(H=>{this.markElementAsDisabled(H,!1)})}flush(N=-1){let _=[];if(this.newHostElements.size&&(this.newHostElements.forEach((H,$)=>this._balanceNamespaceList(H,$)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let H=0;H<this.collectedEnterElements.length;H++)sr(this.collectedEnterElements[H],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const H=[];try{_=this._flushAnimations(H,N)}finally{for(let $=0;$<H.length;$++)H[$]()}}else for(let H=0;H<this.collectedLeaveElements.length;H++)this.processLeaveNode(this.collectedLeaveElements[H]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(H=>H()),this._flushFns=[],this._whenQuietFns.length){const H=this._whenQuietFns;this._whenQuietFns=[],_.length?ot(_).onDone(()=>{H.forEach($=>$())}):H.forEach($=>$())}}reportError(N){throw function B(R){return new e.vHH(3402,!1)}()}_flushAnimations(N,_){const H=new Ai,$=[],Be=new Map,At=[],Yt=new Map,oi=new Map,xi=new Map,$i=new Set;this.disabledNodes.forEach(pn=>{$i.add(pn);const An=this.driver.query(pn,".ng-animate-queued",!0);for(let On=0;On<An.length;On++)$i.add(An[On])});const en=this.bodyNode,Hn=Array.from(this.statesByElement.keys()),Tn=Ua(Hn,this.collectedEnterElements),ji=new Map;let vn=0;Tn.forEach((pn,An)=>{const On=ze+vn++;ji.set(An,On),pn.forEach(er=>sr(er,On))});const ln=[],yn=new Set,cr=new Set;for(let pn=0;pn<this.collectedLeaveElements.length;pn++){const An=this.collectedLeaveElements[pn],On=An[fr];On&&On.setForRemoval&&(ln.push(An),yn.add(An),On.hasAnimation?this.driver.query(An,".ng-star-inserted",!0).forEach(er=>yn.add(er)):cr.add(An))}const ja=new Map,Ra=Ua(Hn,Array.from(yn));Ra.forEach((pn,An)=>{const On=wt+vn++;ja.set(An,On),pn.forEach(er=>sr(er,On))}),N.push(()=>{Tn.forEach((pn,An)=>{const On=ji.get(An);pn.forEach(er=>Jn(er,On))}),Ra.forEach((pn,An)=>{const On=ja.get(An);pn.forEach(er=>Jn(er,On))}),ln.forEach(pn=>{this.processLeaveNode(pn)})});const Sc=[],fo=[];for(let pn=this._namespaceList.length-1;pn>=0;pn--)this._namespaceList[pn].drainQueuedTransitions(_).forEach(On=>{const er=On.player,Qr=On.element;if(Sc.push(er),this.collectedEnterElements.length){const Na=Qr[fr];if(Na&&Na.setForMove){if(Na.previousTriggersValues&&Na.previousTriggersValues.has(On.triggerName)){const Po=Na.previousTriggersValues.get(On.triggerName),Is=this.statesByElement.get(On.element);if(Is&&Is.has(On.triggerName)){const g1=Is.get(On.triggerName);g1.value=Po,Is.set(On.triggerName,g1)}}return void er.destroy()}}const Ds=!en||!this.driver.containsElement(en,Qr),_s=ja.get(Qr),po=ji.get(Qr),Ur=this._buildInstruction(On,H,po,_s,Ds);if(Ur.errors&&Ur.errors.length)return void fo.push(Ur);if(Ds)return er.onStart(()=>yt(Qr,Ur.fromStyles)),er.onDestroy(()=>rt(Qr,Ur.toStyles)),void $.push(er);if(On.isFallbackTransition)return er.onStart(()=>yt(Qr,Ur.fromStyles)),er.onDestroy(()=>rt(Qr,Ur.toStyles)),void $.push(er);const F2=[];Ur.timelines.forEach(Na=>{Na.stretchStartingKeyframe=!0,this.disabledNodes.has(Na.element)||F2.push(Na)}),Ur.timelines=F2,H.append(Qr,Ur.timelines),At.push({instruction:Ur,player:er,element:Qr}),Ur.queriedElements.forEach(Na=>te(Yt,Na,[]).push(er)),Ur.preStyleProps.forEach((Na,Po)=>{if(Na.size){let Is=oi.get(Po);Is||oi.set(Po,Is=new Set),Na.forEach((g1,w0)=>Is.add(w0))}}),Ur.postStyleProps.forEach((Na,Po)=>{let Is=xi.get(Po);Is||xi.set(Po,Is=new Set),Na.forEach((g1,w0)=>Is.add(w0))})});if(fo.length){const pn=[];fo.forEach(An=>{pn.push(function W(R,N){return new e.vHH(3505,!1)}())}),Sc.forEach(An=>An.destroy()),this.reportError(pn)}const ya=new Map,Ec=new Map;At.forEach(pn=>{const An=pn.element;H.has(An)&&(Ec.set(An,An),this._beforeAnimationBuild(pn.player.namespaceId,pn.instruction,ya))}),$.forEach(pn=>{const An=pn.element;this._getPreviousPlayers(An,!1,pn.namespaceId,pn.triggerName,null).forEach(er=>{te(ya,An,[]).push(er),er.destroy()})});const Xs=ln.filter(pn=>Rt(pn,oi,xi)),Oo=new Map;$n(Oo,this.driver,cr,xi,g.l3).forEach(pn=>{Rt(pn,oi,xi)&&Xs.push(pn)});const mo=new Map;Tn.forEach((pn,An)=>{$n(mo,this.driver,new Set(pn),oi,g.k1)}),Xs.forEach(pn=>{const An=Oo.get(pn),On=mo.get(pn);Oo.set(pn,new Map([...Array.from(An?.entries()??[]),...Array.from(On?.entries()??[])]))});const Xo=[],Wh=[],N2={};At.forEach(pn=>{const{element:An,player:On,instruction:er}=pn;if(H.has(An)){if($i.has(An))return On.onDestroy(()=>rt(An,er.toStyles)),On.disabled=!0,On.overrideTotalTime(er.totalTime),void $.push(On);let Qr=N2;if(Ec.size>1){let _s=An;const po=[];for(;_s=_s.parentNode;){const Ur=Ec.get(_s);if(Ur){Qr=Ur;break}po.push(_s)}po.forEach(Ur=>Ec.set(Ur,Qr))}const Ds=this._buildAnimation(On.namespaceId,er,ya,Be,mo,Oo);if(On.setRealPlayer(Ds),Qr===N2)Xo.push(On);else{const _s=this.playersByElement.get(Qr);_s&&_s.length&&(On.parentPlayer=ot(_s)),$.push(On)}}else yt(An,er.fromStyles),On.onDestroy(()=>rt(An,er.toStyles)),Wh.push(On),$i.has(An)&&$.push(On)}),Wh.forEach(pn=>{const An=Be.get(pn.element);if(An&&An.length){const On=ot(An);pn.setRealPlayer(On)}}),$.forEach(pn=>{pn.parentPlayer?pn.syncPlayerEvents(pn.parentPlayer):pn.destroy()});for(let pn=0;pn<ln.length;pn++){const An=ln[pn],On=An[fr];if(Jn(An,wt),On&&On.hasAnimation)continue;let er=[];if(Yt.size){let Ds=Yt.get(An);Ds&&Ds.length&&er.push(...Ds);let _s=this.driver.query(An,It,!0);for(let po=0;po<_s.length;po++){let Ur=Yt.get(_s[po]);Ur&&Ur.length&&er.push(...Ur)}}const Qr=er.filter(Ds=>!Ds.destroyed);Qr.length?Ga(this,An,Qr):this.processLeaveNode(An)}return ln.length=0,Xo.forEach(pn=>{this.players.push(pn),pn.onDone(()=>{pn.destroy();const An=this.players.indexOf(pn);this.players.splice(An,1)}),pn.play()}),Xo}elementContainsData(N,_){let H=!1;const $=_[fr];return $&&$.setForRemoval&&(H=!0),this.playersByElement.has(_)&&(H=!0),this.playersByQueriedElement.has(_)&&(H=!0),this.statesByElement.has(_)&&(H=!0),this._fetchNamespace(N).elementContainsData(_)||H}afterFlush(N){this._flushFns.push(N)}afterFlushAnimationsDone(N){this._whenQuietFns.push(N)}_getPreviousPlayers(N,_,H,$,Be){let At=[];if(_){const Yt=this.playersByQueriedElement.get(N);Yt&&(At=Yt)}else{const Yt=this.playersByElement.get(N);if(Yt){const oi=!Be||Be==ga;Yt.forEach(xi=>{xi.queued||!oi&&xi.triggerName!=$||At.push(xi)})}}return(H||$)&&(At=At.filter(Yt=>!(H&&H!=Yt.namespaceId||$&&$!=Yt.triggerName))),At}_beforeAnimationBuild(N,_,H){const Be=_.element,At=_.isRemovalTransition?void 0:N,Yt=_.isRemovalTransition?void 0:_.triggerName;for(const oi of _.timelines){const xi=oi.element,$i=xi!==Be,en=te(H,xi,[]);this._getPreviousPlayers(xi,$i,At,Yt,_.toState).forEach(Tn=>{const ji=Tn.getRealPlayer();ji.beforeDestroy&&ji.beforeDestroy(),Tn.destroy(),en.push(Tn)})}yt(Be,_.fromStyles)}_buildAnimation(N,_,H,$,Be,At){const Yt=_.triggerName,oi=_.element,xi=[],$i=new Set,en=new Set,Hn=_.timelines.map(ji=>{const vn=ji.element;$i.add(vn);const ln=vn[fr];if(ln&&ln.removedBeforeQueried)return new g.ZN(ji.duration,ji.delay);const yn=vn!==oi,cr=function Ea(R){const N=[];return hr(R,N),N}((H.get(vn)||Oa).map(ya=>ya.getRealPlayer())).filter(ya=>!!ya.element&&ya.element===vn),ja=Be.get(vn),Ra=At.get(vn),Sc=Ie(0,this._normalizer,0,ji.keyframes,ja,Ra),fo=this._buildPlayer(ji,Sc,cr);if(ji.subTimeline&&$&&en.add(vn),yn){const ya=new Zr(N,Yt,vn);ya.setRealPlayer(fo),xi.push(ya)}return fo});xi.forEach(ji=>{te(this.playersByQueriedElement,ji.element,[]).push(ji),ji.onDone(()=>function Sa(R,N,_){let H=R.get(N);if(H){if(H.length){const $=H.indexOf(_);H.splice($,1)}0==H.length&&R.delete(N)}return H}(this.playersByQueriedElement,ji.element,ji))}),$i.forEach(ji=>sr(ji,Bt));const Tn=ot(Hn);return Tn.onDestroy(()=>{$i.forEach(ji=>Jn(ji,Bt)),rt(oi,_.toStyles)}),en.forEach(ji=>{te($,ji,[]).push(Tn)}),Tn}_buildPlayer(N,_,H){return _.length>0?this.driver.animate(N.element,_,N.duration,N.delay,N.easing,H):new g.ZN(N.duration,N.delay)}}class Zr{constructor(N,_,H){this.namespaceId=N,this.triggerName=_,this.element=H,this._player=new g.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(N){this._containsRealPlayer||(this._player=N,this._queuedCallbacks.forEach((_,H)=>{_.forEach($=>ve(N,H,void 0,$))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(N.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(N){this.totalTime=N}syncPlayerEvents(N){const _=this._player;_.triggerCallback&&N.onStart(()=>_.triggerCallback("start")),N.onDone(()=>this.finish()),N.onDestroy(()=>this.destroy())}_queueEvent(N,_){te(this._queuedCallbacks,N,[]).push(_)}onDone(N){this.queued&&this._queueEvent("done",N),this._player.onDone(N)}onStart(N){this.queued&&this._queueEvent("start",N),this._player.onStart(N)}onDestroy(N){this.queued&&this._queueEvent("destroy",N),this._player.onDestroy(N)}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(N){this.queued||this._player.setPosition(N)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(N){const _=this._player;_.triggerCallback&&_.triggerCallback(N)}}function Jr(R){return R&&1===R.nodeType}function $a(R,N){const _=R.style.display;return R.style.display=N??"none",_}function $n(R,N,_,H,$){const Be=[];_.forEach(oi=>Be.push($a(oi)));const At=[];H.forEach((oi,xi)=>{const $i=new Map;oi.forEach(en=>{const Hn=N.computeStyle(xi,en,$);$i.set(en,Hn),(!Hn||0==Hn.length)&&(xi[fr]=Ja,At.push(xi))}),R.set(xi,$i)});let Yt=0;return _.forEach(oi=>$a(oi,Be[Yt++])),At}function Ua(R,N){const _=new Map;if(R.forEach(Yt=>_.set(Yt,[])),0==N.length)return _;const $=new Set(N),Be=new Map;function At(Yt){if(!Yt)return 1;let oi=Be.get(Yt);if(oi)return oi;const xi=Yt.parentNode;return oi=_.has(xi)?xi:$.has(xi)?1:At(xi),Be.set(Yt,oi),oi}return N.forEach(Yt=>{const oi=At(Yt);1!==oi&&_.get(oi).push(Yt)}),_}function sr(R,N){R.classList?.add(N)}function Jn(R,N){R.classList?.remove(N)}function Ga(R,N,_){ot(_).onDone(()=>R.processLeaveNode(N))}function hr(R,N){for(let _=0;_<R.length;_++){const H=R[_];H instanceof g.ZE?hr(H.players,N):N.push(H)}}function Rt(R,N,_){const H=_.get(R);if(!H)return!1;let $=N.get(R);return $?H.forEach(Be=>$.add(Be)):N.set(R,H),_.delete(R),!0}class gi{constructor(N,_,H){this.bodyNode=N,this._driver=_,this._normalizer=H,this._triggerCache={},this.onRemovalComplete=($,Be)=>{},this._transitionEngine=new us(N,_,H),this._timelineEngine=new qa(N,_,H),this._transitionEngine.onRemovalComplete=($,Be)=>this.onRemovalComplete($,Be)}registerTrigger(N,_,H,$,Be){const At=N+"-"+$;let Yt=this._triggerCache[At];if(!Yt){const oi=[],$i=Qt(this._driver,Be,oi,[]);if(oi.length)throw function i(R,N){return new e.vHH(3404,!1)}();Yt=function cs(R,N,_){return new zr(R,N,_)}($,$i,this._normalizer),this._triggerCache[At]=Yt}this._transitionEngine.registerTrigger(_,$,Yt)}register(N,_){this._transitionEngine.register(N,_)}destroy(N,_){this._transitionEngine.destroy(N,_)}onInsert(N,_,H,$){this._transitionEngine.insertNode(N,_,H,$)}onRemove(N,_,H,$){this._transitionEngine.removeNode(N,_,$||!1,H)}disableAnimations(N,_){this._transitionEngine.markElementAsDisabled(N,_)}process(N,_,H,$){if("@"==H.charAt(0)){const[Be,At]=Ke(H);this._timelineEngine.command(Be,_,At,$)}else this._transitionEngine.trigger(N,_,H,$)}listen(N,_,H,$,Be){if("@"==H.charAt(0)){const[At,Yt]=Ke(H);return this._timelineEngine.listen(At,_,Yt,Be)}return this._transitionEngine.listen(N,_,H,$,Be)}flush(N=-1){this._transitionEngine.flush(N)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ai=(()=>{class R{constructor(_,H,$){this._element=_,this._startStyles=H,this._endStyles=$,this._state=0;let Be=R.initialStylesByElement.get(_);Be||R.initialStylesByElement.set(_,Be=new Map),this._initialStyles=Be}start(){this._state<1&&(this._startStyles&&rt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(rt(this._element,this._initialStyles),this._endStyles&&(rt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(R.initialStylesByElement.delete(this._element),this._startStyles&&(yt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(yt(this._element,this._endStyles),this._endStyles=null),rt(this._element,this._initialStyles),this._state=3)}}return R.initialStylesByElement=new WeakMap,R})();function Hi(R){let N=null;return R.forEach((_,H)=>{(function nn(R){return"display"===R||"position"===R})(H)&&(N=N||new Map,N.set(H,_))}),N}class Zn{constructor(N,_,H,$){this.element=N,this.keyframes=_,this.options=H,this._specialStyles=$,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=H.duration,this._delay=H.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(N=>N()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const N=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,N,this.options),this._finalKeyframe=N.length?N[N.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(N){const _=[];return N.forEach(H=>{_.push(Object.fromEntries(H))}),_}_triggerWebAnimation(N,_,H){return N.animate(this._convertKeyframesToObject(_),H)}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)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(N=>N()),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(N=>N()),this._onDestroyFns=[])}setPosition(N){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=N*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const N=new Map;this.hasStarted()&&this._finalKeyframe.forEach((H,$)=>{"offset"!==$&&N.set($,this._finished?H:Vi(this.element,$))}),this.currentSnapshot=N}triggerCallback(N){const _="start"===N?this._onStartFns:this._onDoneFns;_.forEach(H=>H()),_.length=0}}class br{validateStyleProperty(N){return!0}validateAnimatableStyleProperty(N){return!0}matchesElement(N,_){return!1}containsElement(N,_){return _t(N,_)}getParentElement(N){return me(N)}query(N,_,H){return ct(N,_,H)}computeStyle(N,_,H){return window.getComputedStyle(N)[_]}animate(N,_,H,$,Be,At=[]){const oi={duration:H,delay:$,fill:0==$?"both":"forwards"};Be&&(oi.easing=Be);const xi=new Map,$i=At.filter(Tn=>Tn instanceof Zn);(function mi(R,N){return 0===R||0===N})(H,$)&&$i.forEach(Tn=>{Tn.currentSnapshot.forEach((ji,vn)=>xi.set(vn,ji))});let en=function at(R){return R.length?R[0]instanceof Map?R:R.map(N=>Fe(N)):[]}(_).map(Tn=>Gt(Tn));en=function Li(R,N,_){if(_.size&&N.length){let H=N[0],$=[];if(_.forEach((Be,At)=>{H.has(At)||$.push(At),H.set(At,Be)}),$.length)for(let Be=1;Be<N.length;Be++){let At=N[Be];$.forEach(Yt=>At.set(Yt,Vi(R,Yt)))}}return N}(N,en,xi);const Hn=function bt(R,N){let _=null,H=null;return Array.isArray(N)&&N.length?(_=Hi(N[0]),N.length>1&&(H=Hi(N[N.length-1]))):N instanceof Map&&(_=Hi(N)),_||H?new ai(R,_,H):null}(N,en);return new Zn(N,en,oi,Hn)}}var Ji=m(6895);let Mn=(()=>{class R extends g._j{constructor(_,H){super(),this._nextAnimationId=0,this._renderer=_.createRenderer(H.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(_){const H=this._nextAnimationId.toString();this._nextAnimationId++;const $=Array.isArray(_)?(0,g.vP)(_):_;return et(this._renderer,null,H,"register",[$]),new Xr(H,this._renderer)}}return R.\u0275fac=function(_){return new(_||R)(e.LFG(e.FYo),e.LFG(Ji.K0))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})();class Xr extends g.LC{constructor(N,_){super(),this._id=N,this._renderer=_}create(N,_){return new st(this._id,N,_||{},this._renderer)}}class st{constructor(N,_,H,$){this.id=N,this.element=_,this._renderer=$,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",H)}_listen(N,_){return this._renderer.listen(this.element,`@@${this.id}:${N}`,_)}_command(N,..._){return et(this._renderer,this.element,this.id,N,_)}onDone(N){this._listen("done",N)}onStart(N){this._listen("start",N)}onDestroy(N){this._listen("destroy",N)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(N){this._command("setPosition",N)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function et(R,N,_,H,$){return R.setProperty(N,`@@${_}:${H}`,$)}const Ot="@.disabled";let Ti=(()=>{class R{constructor(_,H,$){this.delegate=_,this.engine=H,this._zone=$,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),H.onRemovalComplete=(Be,At)=>{const Yt=At?.parentNode(Be);Yt&&At.removeChild(Yt,Be)}}createRenderer(_,H){const Be=this.delegate.createRenderer(_,H);if(!(_&&H&&H.data&&H.data.animation)){let $i=this._rendererCache.get(Be);return $i||($i=new Zi("",Be,this.engine,()=>this._rendererCache.delete(Be)),this._rendererCache.set(Be,$i)),$i}const At=H.id,Yt=H.id+"-"+this._currentId;this._currentId++,this.engine.register(Yt,_);const oi=$i=>{Array.isArray($i)?$i.forEach(oi):this.engine.registerTrigger(At,Yt,_,$i.name,$i)};return H.data.animation.forEach(oi),new or(this,Yt,Be,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(_,H,$){_>=0&&_<this._microtaskId?this._zone.run(()=>H($)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(Be=>{const[At,Yt]=Be;At(Yt)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([H,$]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return R.\u0275fac=function(_){return new(_||R)(e.LFG(e.FYo),e.LFG(gi),e.LFG(e.R0b))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})();class Zi{constructor(N,_,H,$){this.namespaceId=N,this.delegate=_,this.engine=H,this._onDestroy=$,this.destroyNode=this.delegate.destroyNode?Be=>_.destroyNode(Be):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(N,_){return this.delegate.createElement(N,_)}createComment(N){return this.delegate.createComment(N)}createText(N){return this.delegate.createText(N)}appendChild(N,_){this.delegate.appendChild(N,_),this.engine.onInsert(this.namespaceId,_,N,!1)}insertBefore(N,_,H,$=!0){this.delegate.insertBefore(N,_,H),this.engine.onInsert(this.namespaceId,_,N,$)}removeChild(N,_,H){this.engine.onRemove(this.namespaceId,_,this.delegate,H)}selectRootElement(N,_){return this.delegate.selectRootElement(N,_)}parentNode(N){return this.delegate.parentNode(N)}nextSibling(N){return this.delegate.nextSibling(N)}setAttribute(N,_,H,$){this.delegate.setAttribute(N,_,H,$)}removeAttribute(N,_,H){this.delegate.removeAttribute(N,_,H)}addClass(N,_){this.delegate.addClass(N,_)}removeClass(N,_){this.delegate.removeClass(N,_)}setStyle(N,_,H,$){this.delegate.setStyle(N,_,H,$)}removeStyle(N,_,H){this.delegate.removeStyle(N,_,H)}setProperty(N,_,H){"@"==_.charAt(0)&&_==Ot?this.disableAnimations(N,!!H):this.delegate.setProperty(N,_,H)}setValue(N,_){this.delegate.setValue(N,_)}listen(N,_,H){return this.delegate.listen(N,_,H)}disableAnimations(N,_){this.engine.disableAnimations(N,_)}}class or extends Zi{constructor(N,_,H,$,Be){super(_,H,$,Be),this.factory=N,this.namespaceId=_}setProperty(N,_,H){"@"==_.charAt(0)?"."==_.charAt(1)&&_==Ot?this.disableAnimations(N,H=void 0===H||!!H):this.engine.process(this.namespaceId,N,_.slice(1),H):this.delegate.setProperty(N,_,H)}listen(N,_,H){if("@"==_.charAt(0)){const $=function Ni(R){switch(R){case"body":return document.body;case"document":return document;case"window":return window;default:return R}}(N);let Be=_.slice(1),At="";return"@"!=Be.charAt(0)&&([Be,At]=function Un(R){const N=R.indexOf(".");return[R.substring(0,N),R.slice(N+1)]}(Be)),this.engine.listen(this.namespaceId,$,Be,At,Yt=>{this.factory.scheduleListenerCallback(Yt._data||-1,H,Yt)})}return this.delegate.listen(N,_,H)}}const Hs=[{provide:g._j,useClass:Mn},{provide:ir,useFactory:function Vo(){return new Hr}},{provide:gi,useClass:(()=>{class R extends gi{constructor(_,H,$,Be){super(_.body,H,$)}ngOnDestroy(){this.flush()}}return R.\u0275fac=function(_){return new(_||R)(e.LFG(Ji.K0),e.LFG(vt),e.LFG(ir),e.LFG(e.z2F))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})()},{provide:e.FYo,useFactory:function Br(R,N,_){return new Ti(R,N,_)},deps:[t.se,gi,e.R0b]}],ts=[{provide:vt,useFactory:()=>new br},{provide:e.QbO,useValue:"BrowserAnimations"},...Hs],Ta=[{provide:vt,useClass:Jt},{provide:e.QbO,useValue:"NoopAnimations"},...Hs];let Ws=(()=>{class R{static withConfig(_){return{ngModule:R,providers:_.disableAnimations?Ta:ts}}}return R.\u0275fac=function(_){return new(_||R)},R.\u0275mod=e.oAB({type:R}),R.\u0275inj=e.cJS({providers:ts,imports:[t.b2]}),R})();var jr=m(529),In=m(2289),Ri=m(9653),is=m(493),Cs=m(825),Bi=m(7579),no=m(6451),ws=m(4968),ro=m(457),yo=m(4986),Ys=m(2805);function Ms(R=0,N=yo.z){return R<0&&(R=0),(0,Ys.H)(R,R,N)}var js=m(9646),Ks=m(727),rc=m(4482),ac=m(5403),sc=m(8737),Bo=m(3269),xo=m(9672),wr=m(9300),ns=m(8505),zs=m(3900),an=m(2722),Ir=m(8746),$r=m(1884),mr=m(4004);class wo{}let oc=(()=>{class R{constructor(_,H){this._ngZone=H,this.timerStart$=new Bi.x,this.idleDetected$=new Bi.x,this.timeout$=new Bi.x,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,_&&this.setConfig(_)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,no.T)((0,ws.R)(window,"mousemove"),(0,ws.R)(window,"resize"),(0,ws.R)(document,"keydown"))),this.idle$=(0,ro.D)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function Co(R,...N){var _,H;const $=null!==(_=(0,Bo.yG)(N))&&void 0!==_?_:yo.z,Be=null!==(H=N[0])&&void 0!==H?H:null,At=N[1]||1/0;return(0,rc.e)((Yt,oi)=>{let xi=[],$i=!1;const en=ji=>{const{buffer:vn,subs:ln}=ji;ln.unsubscribe(),(0,sc.P)(xi,ji),oi.next(vn),$i&&Hn()},Hn=()=>{if(xi){const ji=new Ks.w0;oi.add(ji);const ln={buffer:[],subs:ji};xi.push(ln),(0,xo.f)(ji,$,()=>en(ln),R)}};null!==Be&&Be>=0?(0,xo.f)(oi,$,Hn,Be,!0):$i=!0,Hn();const Tn=(0,ac.x)(oi,ji=>{const vn=xi.slice();for(const ln of vn){const{buffer:yn}=ln;yn.push(ji),At<=yn.length&&en(ln)}},()=>{for(;xi?.length;)oi.next(xi.shift().buffer);Tn?.unsubscribe(),oi.complete(),oi.unsubscribe()},void 0,()=>xi=null);Yt.subscribe(Tn)})}(this.idleSensitivityMillisec),(0,wr.h)(_=>!_.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,ns.b)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,zs.w)(()=>this._ngZone.runOutsideAngular(()=>Ms(1e3).pipe((0,an.R)((0,no.T)(this.activityEvents$,(0,Ys.H)(this.idleMillisec).pipe((0,ns.b)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,Ir.x)(()=>{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,$r.x)(),(0,zs.w)(_=>_?this.timer$:(0,js.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,wr.h)(_=>!!_),(0,ns.b)(()=>this.isTimeout=!0),(0,mr.U)(()=>!0))}getConfigValue(){return{idle:this.idleMillisec/1e3,idleSensitivity:this.idleSensitivityMillisec/1e3,timeout:this.timeout,ping:this.pingMillisec/1e3}}setConfigValues(_){!this.idleSubscription||this.idleSubscription.closed?this.setConfig(_):console.error("Call stopWatching() before set config values")}setConfig(_){_.idle&&(this.idleMillisec=1e3*_.idle),_.ping&&(this.pingMillisec=1e3*_.ping),_.idleSensitivity&&(this.idleSensitivityMillisec=1e3*_.idleSensitivity),_.timeout&&(this.timeout=_.timeout)}setCustomActivityEvents(_){!this.idleSubscription||this.idleSubscription.closed?this.activityEvents$=_:console.error("Call stopWatching() before set custom activity events")}setupTimer(_){this._ngZone.runOutsideAngular(()=>{this.timer$=(0,js.of)(()=>new Date).pipe((0,mr.U)(H=>H()),(0,zs.w)(H=>Ms(1e3).pipe((0,mr.U)(()=>Math.round(((new Date).valueOf()-H.valueOf())/1e3)),(0,ns.b)($=>{$>=_&&this.timeout$.next(!0)}))))})}setupPing(_){this.ping$=Ms(_).pipe((0,wr.h)(()=>!this.isTimeout))}}return R.\u0275fac=function(_){return new(_||R)(e.LFG(wo,8),e.LFG(e.R0b))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),cc=(()=>{class R{static forRoot(_){return{ngModule:R,providers:[{provide:wo,useValue:_}]}}}return R.\u0275fac=function(_){return new(_||R)},R.\u0275mod=e.oAB({type:R}),R.\u0275inj=e.cJS({imports:[[]]}),R})();var Yn=m(9116),Qi=m(2687),Pe=m(8377),gt=m(2216),Le=m(1576),Mt=m(3546),ni=m(3848);const He=function(){return{initial:!1}};function ut(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",11),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.activeLink=$.links[1].link)}),e._uU(1),e.qZA()}if(2&R){const _=e.oxw();e.s9C("routerLink",_.links[1].link),e.Q6J("active",_.activeLink===_.links[1].link)("state",e.DdM(4,He)),e.xp6(1),e.Oqu(_.links[1].name)}}function Ct(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.activeLink=$.links[2].link)}),e._uU(1),e.qZA()}if(2&R){const _=e.oxw();e.s9C("routerLink",_.links[2].link),e.Q6J("active",_.activeLink===_.links[2].link),e.xp6(1),e.Oqu(_.links[2].name)}}let Nt=(()=>{class R{constructor(_,H){this.store=_,this.router=H,this.faUserCog=Qi.gNZ,this.showBitcoind=!1,this.links=[{link:"app",name:"Application"},{link:"auth",name:"Authentication"},{link:"bconfig",name:"BitcoinD Config"}],this.activeLink="",this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){const _=this.links.find(H=>this.router.url.includes(H.link));this.activeLink=_?_.link:this.links[0].link,this.router.events.pipe((0,an.R)(this.unSubs[0]),(0,wr.h)(H=>H instanceof Yn.Av)).subscribe({next:H=>{const $=this.links.find(Be=>H.urlAfterRedirects.includes(Be.link));this.activeLink=$?$.link:this.links[0].link}}),this.store.select(Pe.Yj).pipe((0,an.R)(this.unSubs[1])).subscribe(H=>{this.appConfig=H}),this.store.select(Pe.dT).pipe((0,an.R)(this.unSubs[2])).subscribe(H=>{this.showBitcoind=!1,this.selNode=H,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Ri.yh),e.Y36(Yn.F0))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-settings"]],decls:16,vars:7,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"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"]],template:function(_,H){if(1&_&&(e.TgZ(0,"div",0),e._UZ(1,"fa-icon",1),e.TgZ(2,"span",2),e._uU(3,"Settings"),e.qZA()(),e.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5)(8,"div",6),e.NdJ("click",function(){return H.activeLink=H.links[0].link}),e._uU(9),e.qZA(),e.YNc(10,ut,2,5,"div",7),e.YNc(11,Ct,2,3,"div",8),e.qZA(),e._UZ(12,"mat-tab-nav-panel",null,9),e.TgZ(14,"div",10),e._UZ(15,"router-outlet"),e.qZA()()()()),2&_){const $=e.MAs(13);e.xp6(1),e.Q6J("icon",H.faUserCog),e.xp6(6),e.Q6J("tabPanel",$),e.xp6(1),e.s9C("routerLink",H.links[0].link),e.Q6J("active",H.activeLink===H.links[0].link),e.xp6(1),e.Oqu(H.links[0].name),e.xp6(1),e.Q6J("ngIf",!+H.appConfig.sso.rtlSSO),e.xp6(1),e.Q6J("ngIf",H.showBitcoind)}},dependencies:[Ji.O5,gt.BN,Le.xw,Le.Wh,Le.yH,Mt.a8,Mt.dn,ni.BU,ni.sW,ni.Nj,Yn.lC,Yn.rH]}),R})();var Je=m(7731),Xt=m(7861),di=m(5043),ti=m(4006),yi=m(4859),Oi=m(9549),Wi=m(4385),sn=m(3238),un=m(6839),Sn=m(3390);function yr(R,N){if(1&R&&(e.TgZ(0,"mat-option",17),e._uU(1),e.qZA()),2&R){const _=N.$implicit;e.Q6J("value",_.index),e.xp6(1),e.AsE(" ",_.lnNode," (",_.lnImplementation,") ")}}function kr(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"form",2,3)(2,"div",4),e._UZ(3,"fa-icon",5),e.TgZ(4,"span",6),e._uU(5,"Default Node"),e.qZA()(),e.TgZ(6,"div",7)(7,"div",8),e._UZ(8,"fa-icon",9),e.TgZ(9,"span"),e._uU(10,"The setting will apply after RTL server restarts."),e.qZA()(),e.TgZ(11,"div",10)(12,"mat-form-field",11)(13,"mat-select",12),e.NdJ("ngModelChange",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.appConfig.defaultNodeIndex=$)}),e.YNc(14,yr,2,3,"mat-option",13),e.qZA()()(),e.TgZ(15,"div",14)(16,"div",10)(17,"button",15),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.onResetSettings())}),e._uU(18,"Reset"),e.qZA(),e.TgZ(19,"button",16),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.onUpdateSettings())}),e._uU(20,"Update"),e.qZA()()()()()}if(2&R){const _=e.oxw();e.xp6(3),e.Q6J("icon",_.faWindowRestore),e.xp6(5),e.Q6J("icon",_.faInfoCircle),e.xp6(5),e.Q6J("ngModel",_.appConfig.defaultNodeIndex),e.xp6(1),e.Q6J("ngForOf",_.appConfig.nodes)}}let ra=(()=>{class R{constructor(_,H){this.logger=_,this.store=H,this.faInfoCircle=Qi.sqG,this.faWindowRestore=Qi.wyP,this.faPlus=Qi.r8p,this.previousDefaultNode=0,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.select(Pe.Yj).pipe((0,an.R)(this.unSubs[0])).subscribe(_=>{this.appConfig=_,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(_)})}onAddNewNode(){this.logger.warn("ADD NEW NODE")}onUpdateSettings(){this.store.dispatch((0,Xt.zQ)({payload:{uiMessage:Je.m6.UPDATE_DEFAULT_NODE_SETTING,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}}))}onResetSettings(){this.appConfig.defaultNodeIndex=this.previousDefaultNode}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(di.mQ),e.Y36(Ri.yh))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-app-settings"]],decls:2,vars:1,consts:[["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"],["form","ngForm"],["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","fxFlex","100",1,"alert","alert-info"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","row","fxLayoutAlign","start start"],["fxLayout","column","fxLayoutAlign","start start"],["autoFocus","","tabindex","1","name","defaultNode",3,"ngModel","ngModelChange"],[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(_,H){1&_&&(e.TgZ(0,"div",0),e.YNc(1,kr,21,4,"form",1),e.qZA()),2&_&&(e.xp6(1),e.Q6J("ngIf",H.appConfig.nodes&&H.appConfig.nodes.length&&H.appConfig.nodes.length>0))},dependencies:[Ji.sg,Ji.O5,ti._Y,ti.JJ,ti.JL,ti.On,ti.F,gt.BN,Le.xw,Le.Wh,Le.yH,yi.lW,Oi.KE,Wi.gD,sn.ey,un.$V,Sn.h]}),R})();var ea=m(8012),Or=m(5698),Tr=m(7274),_a=m(5768),gr=m(3093),rs=m(7009),aa=m(4144),Za=m(8425),ps=m(658),nl=m(5199);const Vs=["stepper"];function Fl(R,N){if(1&R&&e._uU(0),2&R){const _=e.oxw();e.Oqu(_.passwordFormLabel)}}function va(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}function rl(R,N){if(1&R&&e._uU(0),2&R){const _=e.oxw(2);e.Oqu(_.secretFormLabel)}}function lc(R,N){if(1&R&&e._UZ(0,"qr-code",33),2&R){const _=e.oxw(2);e.Q6J("value",_.otpauth)("size",180)("errorCorrectionLevel","L")}}function dc(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Secret Code is required."),e.qZA())}function al(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-step",10)(1,"form",22),e.YNc(2,rl,1,1,"ng-template",23),e.TgZ(3,"div",24),e.YNc(4,lc,1,3,"qr-code",25),e.qZA(),e.TgZ(5,"div",26),e._UZ(6,"fa-icon",27),e.TgZ(7,"span"),e._uU(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),e.qZA()(),e.TgZ(9,"div",28)(10,"mat-form-field",13)(11,"mat-label"),e._uU(12,"Secret Code"),e.qZA(),e._UZ(13,"input",29),e.TgZ(14,"fa-icon",30),e.NdJ("copied",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.onCopySecret($))}),e.qZA(),e.YNc(15,dc,2,0,"mat-error",15),e.qZA()(),e.TgZ(16,"div",31)(17,"button",32),e._uU(18,"Next"),e.qZA()()()()}if(2&R){const _=e.oxw();e.Q6J("stepControl",_.secretFormGroup)("editable",_.flgEditable),e.xp6(1),e.Q6J("formGroup",_.secretFormGroup),e.xp6(3),e.Q6J("ngIf",_.otpauth),e.xp6(2),e.Q6J("icon",_.faInfoCircle),e.xp6(8),e.Q6J("icon",_.faCopy)("payload",null==_.secretFormGroup||null==_.secretFormGroup.controls||null==_.secretFormGroup.controls.secret?null:_.secretFormGroup.controls.secret.value),e.xp6(1),e.Q6J("ngIf",null==_.secretFormGroup||null==_.secretFormGroup.controls||null==_.secretFormGroup.controls.secret||null==_.secretFormGroup.controls.secret.errors?null:_.secretFormGroup.controls.secret.errors.required)}}function Dc(R,N){if(1&R&&e._uU(0),2&R){const _=e.oxw(2);e.Oqu(_.tokenFormLabel)}}function k1(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is required."),e.qZA())}function O1(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is invalid."),e.qZA())}function Hl(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",7)(1,"div",28)(2,"mat-form-field",13)(3,"mat-label"),e._uU(4,"Token"),e.qZA(),e._UZ(5,"input",37),e.YNc(6,k1,2,0,"mat-error",15),e.YNc(7,O1,2,0,"mat-error",15),e.qZA()(),e.TgZ(8,"div",31)(9,"button",38),e.NdJ("click",function(){e.CHM(_);const $=e.oxw(2);return e.KtG($.onVerifyToken())}),e._uU(10),e.qZA()()()}if(2&R){const _=e.oxw(2);e.xp6(6),e.Q6J("ngIf",null==_.tokenFormGroup||null==_.tokenFormGroup.controls||null==_.tokenFormGroup.controls.token||null==_.tokenFormGroup.controls.token.errors?null:_.tokenFormGroup.controls.token.errors.required),e.xp6(1),e.Q6J("ngIf",null==_.tokenFormGroup||null==_.tokenFormGroup.controls||null==_.tokenFormGroup.controls.token||null==_.tokenFormGroup.controls.token.errors?null:_.tokenFormGroup.controls.token.errors.notValid),e.xp6(3),e.Oqu(null!=_.tokenFormGroup&&null!=_.tokenFormGroup.controls&&null!=_.tokenFormGroup.controls.token&&null!=_.tokenFormGroup.controls.token.errors&&_.tokenFormGroup.controls.token.errors.notValid?"Retry":"Verify")}}function Ic(R,N){1&R&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"Success! You are all set."),e.qZA()())}function sl(R,N){if(1&R&&(e.TgZ(0,"mat-step",34)(1,"form",35),e.YNc(2,Dc,1,1,"ng-template",12),e.YNc(3,Hl,11,3,"div",36),e.YNc(4,Ic,3,0,"div",15),e.qZA()()),2&R){const _=e.oxw();e.Q6J("stepControl",_.tokenFormGroup),e.xp6(1),e.Q6J("formGroup",_.tokenFormGroup),e.xp6(2),e.Q6J("ngIf",!_.flgValidated||!_.isTokenValid),e.xp6(1),e.Q6J("ngIf",_.flgValidated&&_.isTokenValid)}}function Bs(R,N){if(1&R&&e._uU(0),2&R){const _=e.oxw(2);e.Oqu(_.disableFormLabel)}}function Uo(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",7)(1,"div",39),e._UZ(2,"fa-icon",27),e.TgZ(3,"span"),e._uU(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),e.qZA()(),e.TgZ(5,"div",31)(6,"button",38),e.NdJ("click",function(){e.CHM(_);const $=e.oxw(2);return e.KtG($.onVerifyToken())}),e._uU(7,"Disable"),e.qZA()()()}if(2&R){const _=e.oxw(2);e.xp6(2),e.Q6J("icon",_.faExclamationTriangle)}}function ol(R,N){1&R&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"Two factor authentication removed from RTL."),e.qZA()())}function Mo(R,N){if(1&R&&(e.TgZ(0,"mat-step",34)(1,"form",35),e.YNc(2,Bs,1,1,"ng-template",12),e.YNc(3,Uo,8,1,"div",36),e.YNc(4,ol,3,0,"div",15),e.qZA()()),2&R){const _=e.oxw();e.Q6J("stepControl",_.disableFormGroup),e.xp6(1),e.Q6J("formGroup",_.disableFormGroup),e.xp6(2),e.Q6J("ngIf",!_.flgValidated||!_.isTokenValid),e.xp6(1),e.Q6J("ngIf",_.flgValidated&&_.isTokenValid)}}let kc=(()=>{class R{constructor(_,H,$,Be,At,Yt){this.dialogRef=_,this.data=H,this.store=$,this.formBuilder=Be,this.rtlEffects=At,this.snackBar=Yt,this.faExclamationTriangle=Qi.eHv,this.faCopy=Qi.kZ_,this.faInfoCircle=Qi.sqG,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:["",[ti.kI.required]],password:["",[ti.kI.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},ti.kI.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",ti.kI.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){var _,H;this.appConfig=this.data.appConfig||null,this.showDisableStepper=!(null===(_=this.appConfig)||void 0===_||!_.enable2FA),this.secretFormGroup=this.formBuilder.group({secret:[{value:null!==(H=this.appConfig)&&void 0!==H&&H.enable2FA?"":this.generateSecret(),disabled:!0},ti.kI.required]})}generateSecret(){const _=_a.authenticator.generateSecret();return this.otpauth=_a.authenticator.keyuri("","Ride The Lightning (RTL)",_),_}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,Xt.QO)({payload:ea(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,Or.q)(1)).subscribe(_=>{"ERROR"!==_?(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(_){this.snackBar.open("Secret code "+this.secretFormGroup.controls.secret.value+" copied.")}onVerifyToken(){var _,H;if(null!==(_=this.appConfig)&&void 0!==_&&_.enable2FA)this.store.dispatch((0,Xt.Uy)({payload:{secret2fa:""}})),this.generateSecret(),this.isTokenValid=!0;else{if(!this.tokenFormGroup.controls.token.value)return!0;if(this.isTokenValid=_a.authenticator.check(this.tokenFormGroup.controls.token.value,this.secretFormGroup.controls.secret.value),!this.isTokenValid)return this.tokenFormGroup.controls.token.setErrors({notValid:!0}),!0;this.store.dispatch((0,Xt.Uy)({payload:{secret2fa:this.secretFormGroup.controls.secret.value}})),this.tokenFormGroup.controls.token.setValue("")}this.flgValidated=!0,this.appConfig&&(this.appConfig.enable2FA=!(null!==(H=this.appConfig)&&void 0!==H&&H.enable2FA))}stepSelectionChanged(_){switch(_.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}_.selectedIndex<_.previouslySelectedIndex&&0===_.selectedIndex&&this.passwordFormGroup.controls.hiddenPassword.setValue("")}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Tr.so),e.Y36(Tr.WI),e.Y36(Ri.yh),e.Y36(ti.QS),e.Y36(gr.V),e.Y36(rs.ux))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-two-factor-auth"]],viewQuery:function(_,H){if(1&_&&e.Gf(Vs,5),2&_){let $;e.iGM($=e.CRH())&&(H.stepper=$.first)}},decls:30,vars:11,consts:[["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,"linear","selectionChange"],["stepper",""],[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,"icon","payload","copied"],["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(_,H){1&_&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e._uU(5,"Setup Two Factor Authentication"),e.qZA()(),e.TgZ(6,"button",5),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"div",7)(10,"mat-vertical-stepper",8,9),e.NdJ("selectionChange",function(Be){return H.stepSelectionChanged(Be)}),e.TgZ(12,"mat-step",10)(13,"form",11),e.YNc(14,Fl,1,1,"ng-template",12),e.TgZ(15,"div",0)(16,"mat-form-field",13)(17,"mat-label"),e._uU(18,"Password"),e.qZA(),e._UZ(19,"input",14),e.YNc(20,va,2,0,"mat-error",15),e.qZA()(),e.TgZ(21,"div",16)(22,"button",17),e.NdJ("click",function(){return H.onAuthenticate()}),e._uU(23,"Confirm"),e.qZA()()()(),e.YNc(24,al,19,8,"mat-step",18),e.YNc(25,sl,5,4,"mat-step",19),e.YNc(26,Mo,5,4,"mat-step",19),e.qZA(),e.TgZ(27,"div",20)(28,"button",21),e._uU(29),e.qZA()()()()()()),2&_&&(e.xp6(6),e.Q6J("mat-dialog-close",!1),e.xp6(4),e.Q6J("linear",!0),e.xp6(2),e.Q6J("stepControl",H.passwordFormGroup)("editable",H.flgEditable),e.xp6(1),e.Q6J("formGroup",H.passwordFormGroup),e.xp6(7),e.Q6J("ngIf",null==H.passwordFormGroup||null==H.passwordFormGroup.controls||null==H.passwordFormGroup.controls.password||null==H.passwordFormGroup.controls.password.errors?null:H.passwordFormGroup.controls.password.errors.required),e.xp6(4),e.Q6J("ngIf",!H.showDisableStepper),e.xp6(1),e.Q6J("ngIf",!H.showDisableStepper),e.xp6(1),e.Q6J("ngIf",H.showDisableStepper),e.xp6(2),e.Q6J("mat-dialog-close",!1),e.xp6(1),e.Oqu(H.flgValidated&&H.isTokenValid?"Close":"Cancel"))},dependencies:[Ji.O5,ti._Y,ti.Fj,ti.JJ,ti.JL,ti.Q7,ti.sg,ti.u,gt.BN,Le.xw,Le.Wh,Le.yH,Tr.ZT,yi.lW,Mt.dn,Mt.dk,aa.Nt,Oi.KE,Oi.hX,Oi.TO,Oi.R9,Za.C0,Za.VY,Za.Vq,Za.Ic,ps.uU,nl.y,Sn.h]}),R})();var gs=m(5986),So=m(4850);const P1=["authForm"];function Oc(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Current password is required."),e.qZA())}function cl(R,N){if(1&R&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&R){const _=e.oxw(2);e.xp6(1),e.Oqu(_.errorMsg)}}function Pc(R,N){if(1&R&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&R){const _=e.oxw(2);e.xp6(1),e.Oqu(_.errorConfirmMsg)}}function Rc(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"form",10,11)(2,"div",12),e._UZ(3,"fa-icon",4),e.TgZ(4,"span",5),e._uU(5,"Password"),e.qZA()(),e.TgZ(6,"mat-form-field")(7,"mat-label"),e._uU(8,"Current Password"),e.qZA(),e.TgZ(9,"input",13),e.NdJ("ngModelChange",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.currPassword=$)}),e.qZA(),e.YNc(10,Oc,2,0,"mat-error",14),e.qZA(),e.TgZ(11,"mat-form-field")(12,"mat-label"),e._uU(13,"New Password"),e.qZA(),e.TgZ(14,"input",15),e.NdJ("ngModelChange",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.newPassword=$)}),e.qZA(),e.YNc(15,cl,2,1,"mat-error",14),e.qZA(),e.TgZ(16,"mat-form-field")(17,"mat-label"),e._uU(18,"Confirm New Password"),e.qZA(),e.TgZ(19,"input",16),e.NdJ("ngModelChange",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.confirmPassword=$)}),e.qZA(),e.YNc(20,Pc,2,1,"mat-error",14),e.qZA(),e.TgZ(21,"div",17)(22,"button",18),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.onResetPassword())}),e._uU(23,"Reset"),e.qZA(),e.TgZ(24,"button",19),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.onChangePassword())}),e._uU(25,"Change Password"),e.qZA()(),e.TgZ(26,"div",20),e._UZ(27,"mat-divider"),e.qZA()()}if(2&R){const _=e.oxw();e.xp6(3),e.Q6J("icon",_.faLock),e.xp6(6),e.Q6J("ngModel",_.currPassword),e.xp6(1),e.Q6J("ngIf",!_.currPassword),e.xp6(4),e.Q6J("ngModel",_.newPassword),e.xp6(1),e.Q6J("ngIf",_.matchOldAndNewPasswords()),e.xp6(4),e.Q6J("ngModel",_.confirmPassword),e.xp6(1),e.Q6J("ngIf",_.matchNewPasswords())}}let Go=(()=>{class R{constructor(_,H,$,Be,At){this.logger=_,this.store=H,this.actions=$,this.router=Be,this.sessionService=At,this.faInfoCircle=Qi.sqG,this.faUserLock=Qi.FJU,this.faUserClock=Qi.hnx,this.faLock=Qi.byT,this.currPassword="",this.newPassword="",this.confirmPassword="",this.errorMsg="",this.errorConfirmMsg="",this.initializeNodeData=!1,this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(Pe.Yj).pipe((0,an.R)(this.unSubs[0])).subscribe(_=>{this.appConfig=_,this.logger.info(this.appConfig)}),this.store.select(Pe.dT).pipe((0,an.R)(this.unSubs[1])).subscribe(_=>{this.selNode=_}),this.actions.pipe((0,an.R)(this.unSubs[2]),(0,wr.h)(_=>_.type===Je.pg.RESET_PASSWORD_RES)).subscribe(_=>{var H;if(Je.kO.includes(this.currPassword.toLowerCase()))switch(null===(H=this.selNode.lnImplementation)||void 0===H?void 0:H.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||Je.kO.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,Xt.c0)({payload:{currPassword:ea(this.currPassword).toString(),newPassword:ea(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let _=!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.",_=!0):Je.kO.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=null==Je.kO?void 0:Je.kO.reduce((H,$,Be)=>Be<Je.kO.length-1?H+$+'" / "':H+$+'".','Password cannot be "'),_=!0):(this.form.controls.newpassword.setErrors(null),this.errorMsg="",_=!1):(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="New password is required.",_=!0)),_}matchNewPasswords(){let _=!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.",_=!0):(this.form.controls.confirmpassword.setErrors(null),this.errorConfirmMsg="",_=!1):(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="Confirm password is required.",_=!0)),_}on2FAuth(){this.store.dispatch((0,Xt.qR)({payload:{data:{appConfig:this.appConfig,component:kc}}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch((0,Xt.fk)({payload:{uiMessage:Je.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:this.selNode,isInitialSetup:!0}})),this.unSubs.forEach(_=>{_.next(),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(di.mQ),e.Y36(Ri.yh),e.Y36(is.eX),e.Y36(Yn.F0),e.Y36(gs.m))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-auth-settings"]],viewQuery:function(_,H){if(1&_&&e.Gf(P1,5),2&_){let $;e.iGM($=e.CRH())&&(H.form=$.first)}},decls:14,vars:4,consts:[["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"],["fxLayout","column","fxFlex","100","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"],["authForm","ngForm"],["fxLayout","row","fxLayoutAlign","start start",1,"mb-2"],["autoFocus","","matInput","","type","password","id","currpassword","name","currpassword","tabindex","1","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["matInput","","type","password","id","newpassword","name","newpassword","tabindex","2","required","",3,"ngModel","ngModelChange"],["matInput","","type","password","id","confirmpassword","name","confirmpassword","tabindex","3","required","",3,"ngModel","ngModelChange"],["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"],["fxLayout","column","fxFlex","100","fxLayoutAlign","end stretch",1,"my-2"]],template:function(_,H){1&_&&(e.TgZ(0,"div",0),e.YNc(1,Rc,28,7,"form",1),e.TgZ(2,"div",2)(3,"div",3),e._UZ(4,"fa-icon",4),e.TgZ(5,"span",5),e._uU(6,"Two Factor Authentication"),e.qZA()(),e.TgZ(7,"div",6),e._UZ(8,"fa-icon",7),e.TgZ(9,"span"),e._uU(10,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),e.qZA()(),e.TgZ(11,"div",8)(12,"button",9),e.NdJ("click",function(){return H.on2FAuth()}),e._uU(13),e.qZA()()()()),2&_&&(e.xp6(1),e.Q6J("ngIf",null==H.appConfig?null:H.appConfig.allowPasswordUpdate),e.xp6(3),e.Q6J("icon",H.faUserClock),e.xp6(4),e.Q6J("icon",H.faInfoCircle),e.xp6(5),e.Oqu(H.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[Ji.O5,ti._Y,ti.Fj,ti.JJ,ti.JL,ti.Q7,ti.On,ti.F,gt.BN,Le.xw,Le.Wh,Le.yH,yi.lW,aa.Nt,Oi.KE,Oi.hX,Oi.TO,So.d,Sn.h]}),R})();var Ss=m(6338);function ao(R,N){1&R&&e._UZ(0,"mat-divider",7)}function zl(R,N){if(1&R&&(e.TgZ(0,"div",4)(1,"pre",5),e._uU(2),e.ALo(3,"json"),e.qZA(),e.YNc(4,ao,1,0,"mat-divider",6),e.qZA()),2&R){const _=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,2,_.configData)),e.xp6(2),e.Q6J("ngIf",""!==_.configData)}}function Vl(R,N){if(1&R&&(e.TgZ(0,"h2"),e._uU(1),e.qZA()),2&R){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_)}}function Es(R,N){if(1&R&&(e.TgZ(0,"h4",14),e._uU(1),e.qZA()),2&R){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_)}}function Q0(R,N){1&R&&e._UZ(0,"mat-divider",15),2&R&&e.Q6J("inset",!0)}function hc(R,N){if(1&R&&(e.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),e.YNc(2,Vl,2,1,"h2",10),e.qZA(),e.TgZ(3,"mat-card-subtitle",11),e.YNc(4,Es,2,1,"h4",12),e.qZA(),e.YNc(5,Q0,1,1,"mat-divider",13),e.qZA()),2&R){const _=N.$implicit;e.xp6(2),e.Q6J("ngIf",_.indexOf("[")>=0),e.xp6(2),e.Q6J("ngIf",_.indexOf("[")<0),e.xp6(1),e.Q6J("ngIf",_.indexOf("[")<0)}}function xr(R,N){if(1&R&&(e.TgZ(0,"div",8)(1,"mat-list"),e.YNc(2,hc,6,3,"mat-list-item",9),e.qZA()()),2&R){const _=e.oxw();e.xp6(2),e.Q6J("ngForOf",_.configData)}}let q2=(()=>{class R{constructor(_,H,$){this.store=_,this.rtlEffects=H,this.router=$,this.configData="",this.fileFormat="INI",this.faCog=Qi.b7W,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.dispatch((0,Xt.Q2)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,an.R)(this.unSubs[1])).subscribe(_=>{const H=_.data;this.fileFormat=_.format,this.configData=""===H||!H||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==H&&H&&"JSON"===this.fileFormat?H:"":H.split("\n")})}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Ri.yh),e.Y36(gr.V),e.Y36(Yn.F0))},R.\u0275cmp=e.Xpm({type:R,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(_,H){1&_&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,zl,5,4,"div",2),e.YNc(3,xr,3,1,"div",3),e.qZA()()),2&_&&(e.xp6(2),e.Q6J("ngIf",""!==H.configData&&"JSON"===H.fileFormat),e.xp6(1),e.Q6J("ngIf",""!==H.configData&&("INI"===H.fileFormat||"HOCON"===H.fileFormat)))},dependencies:[Ji.sg,Ji.O5,Le.xw,Le.Wh,Le.yH,Mt.$j,Ss.i$,Ss.Tg,So.d,Ji.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}),R})();function J2(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}let X2=(()=>{class R{constructor(_,H,$){this.dialogRef=_,this.store=H,this.rtlEffects=$,this.password="",this.isAuthenticated=!1,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,Or.q)(1)).subscribe(_=>{"ERROR"!==_?(this.isAuthenticated=!0,this.store.dispatch((0,Xt.M6)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,Xt.QO)({payload:ea(this.password)}))}onClose(){this.store.dispatch((0,Xt.M6)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Tr.so),e.Y36(Ri.yh),e.Y36(gr.V))},R.\u0275cmp=e.Xpm({type:R,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,"ngModel","ngModelChange"],[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(_,H){1&_&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e._uU(5,"Authenticate with your RTL Password"),e.qZA()(),e.TgZ(6,"button",5),e.NdJ("click",function(){return H.onClose()}),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"form",7)(10,"mat-form-field")(11,"mat-label"),e._uU(12,"Password"),e.qZA(),e.TgZ(13,"input",8),e.NdJ("ngModelChange",function(Be){return H.password=Be}),e.qZA(),e.YNc(14,J2,2,0,"mat-error",9),e.qZA(),e.TgZ(15,"div",10)(16,"button",11),e.NdJ("click",function(){return H.onAuthenticate()}),e._uU(17,"Confirm"),e.qZA()()()()()()),2&_&&(e.xp6(13),e.Q6J("ngModel",H.password),e.xp6(1),e.Q6J("ngIf",!H.password))},dependencies:[Ji.O5,ti._Y,ti.Fj,ti.JJ,ti.JL,ti.Q7,ti.On,ti.F,Le.xw,Le.Wh,Le.yH,yi.lW,Mt.dn,Mt.dk,aa.Nt,Oi.KE,Oi.hX,Oi.TO,Sn.h]}),R})();const $2=function(){return{initial:!1}};function R1(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",12),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.activeLink=$.links[2].link)}),e._uU(1),e.qZA()}if(2&R){const _=e.oxw();e.s9C("routerLink",_.links[2].link),e.Q6J("active",_.activeLink===_.links[2].link)("state",e.DdM(4,$2)),e.xp6(1),e.Oqu(_.links[2].name)}}function so(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.activeLink=$.links[3].link)}),e._uU(1),e.qZA()}if(2&R){const _=e.oxw();e.s9C("routerLink",_.links[3].link),e.Q6J("active",_.activeLink===_.links[3].link),e.xp6(1),e.Oqu(_.links[3].name)}}function ed(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",13),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.showLnConfigClicked())}),e._uU(1),e.qZA()}if(2&R){const _=e.oxw();e.Q6J("active",_.activeLink===_.links[4].link),e.xp6(1),e.Oqu(_.links[4].name)}}let Eo=(()=>{class R{constructor(_,H,$,Be){this.store=_,this.router=H,this.rtlEffects=$,this.activatedRoute=Be,this.faTools=Qi.CgH,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 Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){const _=this.links.find(H=>this.router.url.includes(H.link));this.activeLink=_?_.link:this.links[0].link,this.router.events.pipe((0,an.R)(this.unSubs[0]),(0,wr.h)(H=>H instanceof Yn.Av)).subscribe({next:H=>{const $=this.links.find(Be=>H.urlAfterRedirects.includes(Be.link));this.activeLink=$?$.link:this.links[0].link}}),this.store.select(Pe.Yj).pipe((0,an.R)(this.unSubs[1])).subscribe(H=>{this.appConfig=H}),this.store.select(Pe.dT).pipe((0,an.R)(this.unSubs[2])).subscribe(H=>{var $;switch(this.showLnConfig=!1,this.selNode=H,null===($=this.selNode.lnImplementation)||void 0===$?void 0:$.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,Xt.qR)({payload:{maxWidth:"50rem",data:{component:X2}}})),this.rtlEffects.closeAlert.pipe((0,an.R)(this.unSubs[3])).subscribe(_=>{_&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))}))}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Ri.yh),e.Y36(Yn.F0),e.Y36(gr.V),e.Y36(Yn.gz))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-node-config"]],decls:19,vars:11,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"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper","mb-2"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","click"]],template:function(_,H){if(1&_&&(e.TgZ(0,"div",0),e._UZ(1,"fa-icon",1),e.TgZ(2,"span",2),e._uU(3,"Node Config"),e.qZA()(),e.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5)(8,"div",6),e.NdJ("click",function(){return H.activeLink=H.links[0].link}),e._uU(9),e.qZA(),e.TgZ(10,"div",6),e.NdJ("click",function(){return H.activeLink=H.links[1].link}),e._uU(11),e.qZA(),e.YNc(12,R1,2,5,"div",7),e.YNc(13,so,2,3,"div",8),e.YNc(14,ed,2,2,"div",9),e.qZA(),e._UZ(15,"mat-tab-nav-panel",null,10),e.TgZ(17,"div",11),e._UZ(18,"router-outlet"),e.qZA()()()()),2&_){const $=e.MAs(16);e.xp6(1),e.Q6J("icon",H.faTools),e.xp6(6),e.Q6J("tabPanel",$),e.xp6(1),e.s9C("routerLink",H.links[0].link),e.Q6J("active",H.activeLink===H.links[0].link),e.xp6(1),e.Oqu(H.links[0].name),e.xp6(1),e.s9C("routerLink",H.links[1].link),e.Q6J("active",H.activeLink===H.links[1].link),e.xp6(1),e.Oqu(H.links[1].name),e.xp6(1),e.Q6J("ngIf","LND"===(null==H.selNode||null==H.selNode.lnImplementation?null:H.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf","CLN"===(null==H.selNode||null==H.selNode.lnImplementation?null:H.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf",H.showLnConfig)}},dependencies:[Ji.O5,gt.BN,Le.xw,Le.Wh,Le.yH,Mt.a8,Mt.dn,ni.BU,ni.sW,ni.Nj,Yn.lC,Yn.rH]}),R})();function Zo(R,N){1&R&&e._UZ(0,"mat-divider",7)}function zu(R,N){if(1&R&&(e.TgZ(0,"div",4)(1,"pre",5),e._uU(2),e.ALo(3,"json"),e.qZA(),e.YNc(4,Zo,1,0,"mat-divider",6),e.qZA()),2&R){const _=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,2,_.configData)),e.xp6(2),e.Q6J("ngIf",""!==_.configData)}}function pe(R,N){if(1&R&&(e.TgZ(0,"h2"),e._uU(1),e.qZA()),2&R){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_)}}function Ce(R,N){if(1&R&&(e.TgZ(0,"h4",14),e._uU(1),e.qZA()),2&R){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_)}}function re(R,N){1&R&&e._UZ(0,"mat-divider",15),2&R&&e.Q6J("inset",!0)}function Ue(R,N){if(1&R&&(e.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),e.YNc(2,pe,2,1,"h2",10),e.qZA(),e.TgZ(3,"mat-card-subtitle",11),e.YNc(4,Ce,2,1,"h4",12),e.qZA(),e.YNc(5,re,1,1,"mat-divider",13),e.qZA()),2&R){const _=N.$implicit;e.xp6(2),e.Q6J("ngIf",_.indexOf("[")>=0),e.xp6(2),e.Q6J("ngIf",_.indexOf("[")<0),e.xp6(1),e.Q6J("ngIf",_.indexOf("[")<0)}}function dt(R,N){if(1&R&&(e.TgZ(0,"div",8)(1,"mat-list"),e.YNc(2,Ue,6,3,"mat-list-item",9),e.qZA()()),2&R){const _=e.oxw();e.xp6(2),e.Q6J("ngForOf",_.configData)}}let Lt=(()=>{class R{constructor(_,H,$){this.store=_,this.rtlEffects=H,this.router=$,this.configData="",this.fileFormat="INI",this.faCog=Qi.b7W,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.dispatch((0,Xt.Q2)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,an.R)(this.unSubs[1])).subscribe(_=>{const H=_.data;this.fileFormat=_.format,this.configData=""===H||!H||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==H&&H&&"JSON"===this.fileFormat?H:"":H.split("\n")})}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Ri.yh),e.Y36(gr.V),e.Y36(Yn.F0))},R.\u0275cmp=e.Xpm({type:R,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(_,H){1&_&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,zu,5,4,"div",2),e.YNc(3,dt,3,1,"div",3),e.qZA()()),2&_&&(e.xp6(2),e.Q6J("ngIf",""!==H.configData&&"JSON"===H.fileFormat),e.xp6(1),e.Q6J("ngIf",""!==H.configData&&("INI"===H.fileFormat||"HOCON"===H.fileFormat)))},dependencies:[Ji.sg,Ji.O5,Le.xw,Le.Wh,Le.yH,Mt.$j,Ss.i$,Ss.Tg,So.d,Ji.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}),R})();var Pt=m(2994),ci=m(429),Di=m(6523),rn=m(62),on=m(5829),kn=m(752),Ar=m(1948),_r=m(455);function Aa(R,N){if(1&R&&(e.TgZ(0,"mat-option",35),e._uU(1),e.qZA()),2&R){const _=N.$implicit;e.Q6J("value",_.id),e.xp6(1),e.hij(" ",_.id," ")}}function Wa(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Currency unit is required."),e.qZA())}function Mr(R,N){if(1&R&&(e.TgZ(0,"mat-radio-button",36),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&R){const _=N.$implicit,H=e.oxw();e.Q6J("value",_)("checked",H.selNode.settings.userPersona===_),e.xp6(1),e.hij(" ",e.lcZ(2,3,_)," ")}}function sa(R,N){if(1&R&&(e.TgZ(0,"mat-radio-button",37),e._uU(1),e.qZA()),2&R){const _=N.$implicit;e.Q6J("value",_),e.xp6(1),e.hij("",_.name," ")}}const Nc=function(R){return{skin:!0,"selected-color":R}};function ll(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"span",38)(1,"div",39),e.NdJ("click",function(){const Be=e.CHM(_).$implicit,At=e.oxw();return e.KtG(At.changeThemeColor(Be.id))}),e.ALo(2,"lowercase"),e.qZA(),e._uU(3),e.qZA()}if(2&R){const _=N.$implicit,H=e.oxw();e.xp6(1),e.Tol(e.lcZ(2,4,_.id)),e.Q6J("ngClass",e.VKq(6,Nc,H.selectedThemeColor===_.id)),e.xp6(2),e.hij(" ",_.name," ")}}let Bl=(()=>{class R{constructor(_,H,$){this.logger=_,this.commonService=H,this.store=$,this.faExclamationTriangle=Qi.eHv,this.faMoneyBillAlt=Qi.co4,this.faPaintBrush=Qi.XsY,this.faInfoCircle=Qi.sqG,this.faEyeSlash=Qi.Aq,this.userPersonas=[Je.ol.OPERATOR,Je.ol.MERCHANT],this.currencyUnits=Je.Er,this.themeModes=Je.wZ.modes,this.themeColors=Je.wZ.themes,this.selectedThemeMode=Je.wZ.modes[0],this.selectedThemeColor=Je.wZ.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=Je.cu,this.unSubs=[new Bi.x,new Bi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Pe.dT).pipe((0,an.R)(this.unSubs[0])).subscribe(_=>{this.selNode=_,this.selectedThemeMode=this.themeModes.find(H=>this.selNode.settings.themeMode===H.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(_)})}onCurrencyChange(_){this.selNode.settings.currencyUnits=[...Je.uA,_.value],this.store.dispatch((0,Di.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:_.value,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}})),this.store.dispatch((0,ci.oo)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:_.value,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}})),this.store.dispatch((0,Pt.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:_.value,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}}))}toggleSettings(_,H){this.selNode.settings[_]=!this.selNode.settings[_]}changeThemeColor(_){this.selectedThemeColor=_,this.selNode.settings.themeColor=_}chooseThemeMode(){this.selNode.settings.themeMode=this.selectedThemeMode.id}onUpdateSettings(){if(this.selNode.settings.fiatConversion&&!this.selNode.settings.currencyUnit)return!0;this.logger.info(this.selNode.settings),this.store.dispatch((0,Xt.zQ)({payload:{uiMessage:Je.m6.UPDATE_NODE_SETTINGS,settings:this.selNode.settings}})),this.store.dispatch((0,Di.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}})),this.store.dispatch((0,ci.oo)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}})),this.store.dispatch((0,Pt.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl}}))}onResetSettings(){const _=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(H=>H.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,Xt.fk)({payload:{uiMessage:Je.m6.NO_SPINNER,prevLnNodeIndex:+_,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(di.mQ),e.Y36(rn.v),e.Y36(Ri.yh))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-node-settings"]],decls:78,vars:18,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container"],["form","ngForm"],["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"],["fxLayout","row","fxFlex","100",1,"alert","alert-info","mb-1"],[1,"mr-1","alert-icon",3,"icon"],["fxLayout","row wrap","fxLayoutAlign","start center"],["tabindex","1","color","primary","name","unannouncedChannels",3,"ngModel","ngModelChange","change"],["fxFlex","100",1,"alert","alert-warn"],["href","https://www.blockchain.com/api/exchange_rates_api","target","blank"],["tabindex","2","color","primary","name","fiatConversion",1,"mr-2",3,"ngModel","ngModelChange","change"],["autoFocus","","tabindex","3","name","currencyUnit",3,"disabled","required","ngModel","ngModelChange","selectionChange"],["currencyUnit","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,"ngModel","ngModelChange"],["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,"ngModel","ngModelChange","change"],["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"],[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,"ngClass","click"]],template:function(_,H){1&_&&(e.TgZ(0,"div",0)(1,"form",1,2)(3,"mat-accordion",3)(4,"mat-expansion-panel",4)(5,"mat-expansion-panel-header")(6,"mat-panel-title"),e._UZ(7,"fa-icon",5),e.TgZ(8,"span",6),e._uU(9,"Open Unannounced Channels"),e.qZA()()(),e.TgZ(10,"div",7)(11,"div",8),e._UZ(12,"fa-icon",9),e.TgZ(13,"span"),e._uU(14,"Use this control to toggle setting which defaults to opening unannounced channels only."),e.qZA()(),e.TgZ(15,"div",10)(16,"mat-slide-toggle",11),e.NdJ("ngModelChange",function(Be){return H.selNode.settings.unannouncedChannels=Be})("change",function(Be){return H.selNode.settings.unannouncedChannels=Be.checked?H.selNode.settings.unannouncedChannels:null}),e._uU(17,"Open Unannounced Channels"),e.qZA()()()(),e.TgZ(18,"mat-expansion-panel",4)(19,"mat-expansion-panel-header")(20,"mat-panel-title"),e._UZ(21,"fa-icon",5),e.TgZ(22,"span",6),e._uU(23,"Balance Display"),e.qZA()()(),e.TgZ(24,"div",7)(25,"div",12),e._UZ(26,"fa-icon",9),e.TgZ(27,"span"),e._uU(28,"Fiat conversion calls "),e.TgZ(29,"strong")(30,"a",13),e._uU(31,"Blockchain.com"),e.qZA()(),e._uU(32," API to get conversion rates."),e.qZA()(),e.TgZ(33,"div",10)(34,"mat-slide-toggle",14),e.NdJ("ngModelChange",function(Be){return H.selNode.settings.fiatConversion=Be})("change",function(Be){return H.selNode.settings.currencyUnit=Be.checked?H.selNode.settings.currencyUnit:null}),e._uU(35,"Enable Fiat Conversion"),e.qZA(),e.TgZ(36,"mat-form-field")(37,"mat-label"),e._uU(38,"Fiat Currency"),e.qZA(),e.TgZ(39,"mat-select",15,16),e.NdJ("ngModelChange",function(Be){return H.selNode.settings.currencyUnit=Be})("selectionChange",function(Be){return H.onCurrencyChange(Be)}),e.YNc(41,Aa,2,2,"mat-option",17),e.qZA(),e.YNc(42,Wa,2,0,"mat-error",18),e.qZA()()()(),e.TgZ(43,"mat-expansion-panel",4)(44,"mat-expansion-panel-header")(45,"mat-panel-title"),e._UZ(46,"fa-icon",5),e.TgZ(47,"span",6),e._uU(48,"Customization"),e.qZA()()(),e.TgZ(49,"div",7)(50,"div",19),e._UZ(51,"fa-icon",9),e.TgZ(52,"span"),e._uU(53,"Dashboard layout will be tailored based on the role selected to better serve its needs."),e.qZA()(),e.TgZ(54,"div",20)(55,"h4"),e._uU(56,"Dashboard Layout"),e.qZA(),e.TgZ(57,"mat-radio-group",21),e.NdJ("ngModelChange",function(Be){return H.selNode.settings.userPersona=Be}),e.YNc(58,Mr,3,5,"mat-radio-button",22),e.qZA()(),e._UZ(59,"mat-divider",23),e.TgZ(60,"div",24)(61,"h4"),e._uU(62,"Mode"),e.qZA(),e.TgZ(63,"mat-radio-group",25),e.NdJ("ngModelChange",function(Be){return H.selectedThemeMode=Be})("change",function(){return H.chooseThemeMode()}),e.YNc(64,sa,2,2,"mat-radio-button",26),e.qZA()(),e._UZ(65,"mat-divider",23),e.TgZ(66,"div",27)(67,"div",28)(68,"h4"),e._uU(69,"Themes"),e.qZA(),e.TgZ(70,"div",29),e.YNc(71,ll,4,8,"span",30),e.qZA()()()()()()(),e.TgZ(72,"div",31)(73,"div",32)(74,"button",33),e.NdJ("click",function(){return H.onResetSettings()}),e._uU(75,"Reset"),e.qZA(),e.TgZ(76,"button",34),e.NdJ("click",function(){return H.onUpdateSettings()}),e._uU(77,"Update"),e.qZA()()()()),2&_&&(e.xp6(7),e.Q6J("icon",H.faEyeSlash),e.xp6(5),e.Q6J("icon",H.faInfoCircle),e.xp6(4),e.Q6J("ngModel",H.selNode.settings.unannouncedChannels),e.xp6(5),e.Q6J("icon",H.faMoneyBillAlt),e.xp6(5),e.Q6J("icon",H.faExclamationTriangle),e.xp6(8),e.Q6J("ngModel",H.selNode.settings.fiatConversion),e.xp6(5),e.Q6J("disabled",!H.selNode.settings.fiatConversion)("required",H.selNode.settings.fiatConversion)("ngModel",H.selNode.settings.currencyUnit),e.xp6(2),e.Q6J("ngForOf",H.currencyUnits),e.xp6(1),e.Q6J("ngIf",H.selNode.settings.fiatConversion&&!H.selNode.settings.currencyUnit),e.xp6(4),e.Q6J("icon",H.faPaintBrush),e.xp6(5),e.Q6J("icon",H.faInfoCircle),e.xp6(6),e.Q6J("ngModel",H.selNode.settings.userPersona),e.xp6(1),e.Q6J("ngForOf",H.userPersonas),e.xp6(5),e.Q6J("ngModel",H.selectedThemeMode),e.xp6(1),e.Q6J("ngForOf",H.themeModes),e.xp6(7),e.Q6J("ngForOf",H.themeColors))},dependencies:[Ji.mk,Ji.sg,Ji.O5,ti._Y,ti.JJ,ti.JL,ti.Q7,ti.On,ti.F,gt.BN,Le.xw,Le.Wh,Le.yH,on.oO,yi.lW,kn.pp,kn.ib,kn.yz,kn.yK,Oi.KE,Oi.hX,Oi.TO,So.d,Ar.VQ,Ar.U0,Wi.gD,sn.ey,_r.Rr,un.$V,Sn.h,Ji.i8,Ji.rS],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}"]}),R})();var Fc=m(1365),N1=m(9828),Us=m(6529),dl=m(2501),oo=m(7392),Hc=m(266),Wo=m(9445);const uc=function(R){return{error:R}};function Yo(R,N){if(1&R&&e.GkF(0,14),2&R){const _=e.oxw(),H=e.MAs(18);e.Q6J("ngTemplateOutlet",H)("ngTemplateOutletContext",e.VKq(2,uc,_.errorMessage))}}function q0(R,N){if(1&R&&(e.TgZ(0,"mat-option",31),e._uU(1),e.qZA()),2&R){const _=N.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",_," ")}}function td(R,N){if(1&R&&(e.TgZ(0,"mat-option",31),e._uU(1),e.ALo(2,"camelCaseWithSpaces"),e.ALo(3,"camelcaseWithReplace"),e.qZA()),2&R){const _=N.$implicit,H=e.oxw(3);e.Q6J("value",_),e.xp6(1),e.hij(" ","ECL"===H.selNode.lnImplementation?e.lcZ(2,2,_):e.xi3(3,4,_,"_")," ")}}function fc(R,N){if(1&R&&(e.TgZ(0,"mat-option",31),e._uU(1),e.qZA()),2&R){const _=N.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ","desc"===_?"Descending":"Ascending"," ")}}function Ul(R,N){if(1&R&&(e.TgZ(0,"mat-option",34),e._uU(1),e.ALo(2,"camelCaseWithSpaces"),e.ALo(3,"camelcaseWithReplace"),e.qZA()),2&R){const _=N.$implicit,H=e.oxw(2).$implicit,$=e.oxw(2);e.Q6J("value",_.column)("disabled",H.columnSelection.length<=2&&H.columnSelection.includes(_.column)),e.xp6(1),e.hij(" ",_.label?_.label:"ECL"===$.selNode.lnImplementation?e.lcZ(2,3,_.column):e.xi3(3,5,_.column,"_")," ")}}function J0(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-form-field",32)(1,"mat-label"),e._uU(2,"Column selection (Desktop Resolution)"),e.qZA(),e.TgZ(3,"mat-select",33),e.NdJ("ngModelChange",function($){e.CHM(_);const Be=e.oxw().$implicit;return e.KtG(Be.columnSelection=$)})("selectionChange",function(){e.CHM(_);const $=e.oxw().$implicit,Be=e.oxw(2);return e.KtG(Be.oncolumnSelectionChange($))}),e.YNc(4,Ul,4,8,"mat-option",28),e.qZA()()}if(2&R){const _=e.oxw().$implicit,H=e.oxw().$implicit,$=e.oxw();e.xp6(3),e.hYB("name","",H.pageId,"",_.tableId,"-columns-selection"),e.Q6J("ngModel",_.columnSelection),e.xp6(1),e.Q6J("ngForOf",$.nodePageDefs[H.pageId][_.tableId].allowedColumns)}}function id(R,N){if(1&R&&(e.TgZ(0,"mat-option",34),e._uU(1),e.ALo(2,"camelCaseWithSpaces"),e.ALo(3,"camelcaseWithReplace"),e.qZA()),2&R){const _=N.$implicit,H=e.oxw().$implicit,$=e.oxw(2);e.Q6J("value",_.column)("disabled",H.columnSelectionSM.length<=1&&H.columnSelectionSM.includes(_.column)||H.columnSelectionSM.length>=3&&!H.columnSelectionSM.includes(_.column)),e.xp6(1),e.hij(" ",_.label?_.label:"ECL"===$.selNode.lnImplementation?e.lcZ(2,3,_.column):e.xi3(3,5,_.column,"_")," ")}}const Vu=function(R){return{"ml-minus-1":R}};function zc(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",17)(1,"div",18)(2,"span",19),e._uU(3),e.ALo(4,"camelcaseWithReplace"),e.qZA(),e.TgZ(5,"mat-form-field",20)(6,"mat-label"),e._uU(7,"Records/Page"),e.qZA(),e.TgZ(8,"mat-select",21),e.NdJ("ngModelChange",function($){const At=e.CHM(_).$implicit;return e.KtG(At.recordsPerPage=$)}),e.YNc(9,q0,2,2,"mat-option",22),e.qZA()(),e.TgZ(10,"mat-form-field",20)(11,"mat-label"),e._uU(12,"Sort By"),e.qZA(),e.TgZ(13,"mat-select",23),e.NdJ("ngModelChange",function($){const At=e.CHM(_).$implicit;return e.KtG(At.sortBy=$)}),e.YNc(14,td,4,7,"mat-option",22),e.qZA()(),e.TgZ(15,"mat-form-field",20)(16,"mat-label"),e._uU(17,"Sort Order"),e.qZA(),e.TgZ(18,"mat-select",24),e.NdJ("ngModelChange",function($){const At=e.CHM(_).$implicit;return e.KtG(At.sortOrder=$)}),e.YNc(19,fc,2,2,"mat-option",22),e.qZA()(),e.YNc(20,J0,5,4,"mat-form-field",25),e.TgZ(21,"mat-form-field",26)(22,"mat-label"),e._uU(23,"Column Selection (Mobile Resolution)"),e.qZA(),e.TgZ(24,"mat-select",27),e.NdJ("ngModelChange",function($){const At=e.CHM(_).$implicit;return e.KtG(At.columnSelectionSM=$)}),e.YNc(25,id,4,8,"mat-option",28),e.qZA()(),e.TgZ(26,"button",29),e.NdJ("click",function(){const Be=e.CHM(_).$implicit,At=e.oxw().$implicit,Yt=e.oxw();return e.KtG(Yt.onTableReset(At.pageId,Be))}),e.TgZ(27,"mat-icon",30),e._uU(28,"restore"),e.qZA()()()()}if(2&R){const _=N.$implicit,H=e.oxw().$implicit,$=e.oxw();e.xp6(3),e.hij("",e.xi3(4,20,_.tableId,"_"),":"),e.xp6(5),e.hYB("name","",H.pageId,"",_.tableId,"-page-size-options"),e.Q6J("disabled",$.nodePageDefs[H.pageId][_.tableId].disablePageSize)("ngModel",_.recordsPerPage),e.xp6(1),e.Q6J("ngForOf",$.pageSizeOptions),e.xp6(4),e.hYB("name","",H.pageId,"",_.tableId,"-sort-by"),e.Q6J("ngModel",_.sortBy),e.xp6(1),e.Q6J("ngForOf",_.columnSelection),e.xp6(4),e.hYB("name","",H.pageId,"",_.tableId,"-sort-order"),e.Q6J("ngModel",_.sortOrder),e.xp6(1),e.Q6J("ngForOf",$.sortOrders),e.xp6(1),e.Q6J("ngIf",$.screenSize!==$.screenSizeEnum.XS),e.xp6(4),e.hYB("name","",H.pageId,"",_.tableId,"-columns-selection-sm"),e.Q6J("ngModel",_.columnSelectionSM),e.xp6(1),e.Q6J("ngForOf",$.nodePageDefs[H.pageId][_.tableId].allowedColumns),e.xp6(2),e.Q6J("ngClass",e.VKq(23,Vu,$.screenSize===$.screenSizeEnum.XS||$.screenSize===$.screenSizeEnum.SM))}}function mc(R,N){if(1&R&&e.GkF(0,14),2&R){const _=e.oxw(2),H=e.MAs(18);e.Q6J("ngTemplateOutlet",H)("ngTemplateOutletContext",e.VKq(2,uc,_.errorMessage))}}const F1=function(R){return{"error-border":R}};function nd(R,N){if(1&R&&(e.TgZ(0,"mat-expansion-panel",15)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),e._uU(3),e.ALo(4,"camelcaseWithReplace"),e.qZA()(),e.YNc(5,zc,29,25,"div",16),e.YNc(6,mc,1,4,"ng-container",6),e.qZA()),2&R){const _=N.$implicit,H=e.oxw();e.Q6J("ngClass",e.VKq(7,F1,(null==H.errorMessage?null:H.errorMessage.page)===_.pageId)),e.xp6(3),e.Oqu(e.xi3(4,4,_.pageId,"_")),e.xp6(2),e.Q6J("ngForOf",_.tables),e.xp6(1),e.Q6J("ngIf",H.errorMessage&&(null==H.errorMessage?null:H.errorMessage.page)===_.pageId)}}function rd(R,N){if(1&R&&(e.TgZ(0,"mat-panel-title"),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&R){const _=e.oxw().error;e.xp6(1),e.hij("Page ",e.lcZ(2,1,_.page),"")}}function H1(R,N){if(1&R&&(e.TgZ(0,"mat-list-item")(1,"mat-icon",39),e._uU(2,"close"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.qZA()()),2&R){const _=e.oxw().error;e.xp6(4),e.Oqu(_.message)}}function ad(R,N){if(1&R&&(e.TgZ(0,"mat-list-item")(1,"mat-icon",39),e._uU(2,"close"),e.qZA(),e.TgZ(3,"span"),e._uU(4),e.ALo(5,"titlecase"),e.qZA()()),2&R){const _=N.$implicit;e.xp6(4),e.AsE("Table ",e.lcZ(5,2,_.table)," ",_.message,"")}}const z1=function(R){return{"error-border p-2":R}};function X0(R,N){if(1&R&&(e.TgZ(0,"div",35),e.YNc(1,rd,3,3,"mat-panel-title",36),e.TgZ(2,"mat-list",37),e.YNc(3,H1,5,1,"mat-list-item",36),e.YNc(4,ad,6,4,"mat-list-item",38),e.qZA()()),2&R){const _=N.error,H=e.oxw();e.Q6J("ngClass",e.VKq(4,z1,"unknown"===H.errorMessage.page)),e.xp6(1),e.Q6J("ngIf","unknown"===H.errorMessage.page),e.xp6(2),e.Q6J("ngIf",_.message),e.xp6(1),e.Q6J("ngForOf",_.tables)}}let sd=(()=>{class R{constructor(_,H,$,Be){this.logger=_,this.commonService=H,this.store=$,this.actions=Be,this.faPenRuler=Qi.SoD,this.faExclamationTriangle=Qi.eHv,this.screenSize="",this.screenSizeEnum=Je.cu,this.pageSizeOptions=Je.TJ,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=Je.zZ,this.apiCallStatus=null,this.apiCallStatusEnum=Je.Bn,this.errorMessage=null,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Pe.dT).pipe((0,an.R)(this.unSubs[0])).subscribe(_=>{switch(this.selNode=_,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],Je.gG),this.defaultSettings=Object.assign([],Je.gG),this.nodePageDefs=Je.At,this.store.select(N1.AS).pipe((0,an.R)(this.unSubs[1]),(0,Fc.M)(this.store.select(N1.lw))).subscribe(([H,$])=>{const Be=JSON.parse(JSON.stringify(H.pageSettings));if(this.errorMessage=null,this.apiCallStatus=H.apiCallStatus,this.apiCallStatus.status===Je.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Be,this.initialPageSettings=Be;else{if(!$?.enableOffers){const At=Be.find(xi=>"transactions"===xi.pageId),Yt=At?.tables.findIndex(xi=>"offers"===xi.tableId),oi=At?.tables.findIndex(xi=>"offer_bookmarks"===xi.tableId);Yt>-1&&At?.tables.splice(Yt,1),oi>-1&&At?.tables.splice(oi,1)}if(!$?.enablePeerswap){const At=Be.findIndex(Yt=>"peerswap"===Yt.pageId);At>-1&&Be.splice(At,1)}this.pageSettings=Be,this.initialPageSettings=Be}this.logger.info(Be)}),this.actions.pipe((0,an.R)(this.unSubs[2]),(0,wr.h)(H=>H.type===Je.AB.UPDATE_API_CALL_STATUS_CLN||H.type===Je.AB.SAVE_PAGE_SETTINGS_CLN)).subscribe(H=>{H.type===Je.AB.UPDATE_API_CALL_STATUS_CLN&&H.payload.status===Je.Bn.ERROR&&"SavePageSettings"===H.payload.action&&(this.errorMessage=JSON.parse(H.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],Je.c3),this.defaultSettings=Object.assign([],Je.c3),this.nodePageDefs=Je.Xk,this.store.select(dl.nF).pipe((0,an.R)(this.unSubs[1]),(0,Fc.M)(this.store.select(dl.LR))).subscribe(([H,$])=>{const Be=JSON.parse(JSON.stringify(H.pageSettings));this.errorMessage=null,this.apiCallStatus=H.apiCallStatus,this.apiCallStatus.status===Je.Bn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Be,this.initialPageSettings=Be):(this.pageSettings=Be,this.initialPageSettings=Be),this.logger.info(Be)}),this.actions.pipe((0,an.R)(this.unSubs[2]),(0,wr.h)(H=>H.type===Je.lr.UPDATE_API_CALL_STATUS_ECL||H.type===Je.lr.SAVE_PAGE_SETTINGS_ECL)).subscribe(H=>{H.type===Je.lr.UPDATE_API_CALL_STATUS_ECL&&H.payload.status===Je.Bn.ERROR&&"SavePageSettings"===H.payload.action&&(this.errorMessage=JSON.parse(H.payload.message))});break;default:this.initialPageSettings=Object.assign([],Je.gK),this.defaultSettings=Object.assign([],Je.gK),this.nodePageDefs=Je.hG,this.store.select(Us.Pr).pipe((0,an.R)(this.unSubs[1]),(0,Fc.M)(this.store.select(Us.$k))).subscribe(([H,$])=>{const Be=JSON.parse(JSON.stringify(H.pageSettings));if(this.errorMessage=null,this.apiCallStatus=H.apiCallStatus,this.apiCallStatus.status===Je.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=Be,this.initialPageSettings=Be;else{if(!$?.swapServerUrl||""===$.swapServerUrl.trim()){const At=Be.findIndex(Yt=>"loop"===Yt.pageId);At>-1&&Be.splice(At,1)}if(!$?.boltzServerUrl||""===$.boltzServerUrl.trim()){const At=Be.findIndex(Yt=>"boltz"===Yt.pageId);At>-1&&Be.splice(At,1)}if(!$?.enablePeerswap){const At=Be.findIndex(Yt=>"peerswap"===Yt.pageId);At>-1&&Be.splice(At,1)}this.pageSettings=Be,this.initialPageSettings=Be}this.logger.info(Be)}),this.actions.pipe((0,an.R)(this.unSubs[2]),(0,wr.h)(H=>H.type===Je.uR.UPDATE_API_CALL_STATUS_LND||H.type===Je.uR.SAVE_PAGE_SETTINGS_LND)).subscribe(H=>{H.type===Je.uR.UPDATE_API_CALL_STATUS_LND&&H.payload.status===Je.Bn.ERROR&&"SavePageSettings"===H.payload.action&&(this.errorMessage=JSON.parse(H.payload.message))})}})}oncolumnSelectionChange(_){_.columnSelection&&(!_.sortBy||!_.columnSelection.includes(_.sortBy))&&(_.sortBy=_.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((_,H)=>_||H.tables.reduce(($,Be)=>!(Be.recordsPerPage&&Be.sortBy&&Be.sortOrder&&Be.columnSelection&&Be.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,ci.eF)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,Pt.eF)({payload:this.pageSettings}));break;default:this.store.dispatch((0,Di.eF)({payload:this.pageSettings}))}}onTableReset(_,H){var $,Be;const At=this.pageSettings.findIndex(xi=>xi.pageId===_),Yt=this.pageSettings[At].tables.findIndex(xi=>xi.tableId===H.tableId),oi=(null===($=this.defaultSettings.find(xi=>xi.pageId===_))||void 0===$?void 0:$.tables.find(xi=>xi.tableId===H.tableId))||(null===(Be=this.pageSettings.find(xi=>xi.pageId===_))||void 0===Be?void 0:Be.tables.find(xi=>xi.tableId===H.tableId));this.pageSettings[At].tables.splice(Yt,1,oi)}onResetPageSettings(_){"current"===_?(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(_=>{_.next(),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(di.mQ),e.Y36(rn.v),e.Y36(Ri.yh),e.Y36(is.eX))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-page-settings"]],decls:19,vars:3,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],["fxLayout","column","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["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"],["errorObjectBlock",""],[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,"disabled","name","ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["tabindex","3","required","",3,"name","ngModel","ngModelChange"],["tabindex","4","required","",3,"name","ngModel","ngModelChange"],["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,"name","ngModel","ngModelChange"],[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,"name","ngModel","ngModelChange","selectionChange"],[3,"value","disabled"],[3,"ngClass"],[4,"ngIf"],["role","list"],[4,"ngFor","ngForOf"],[1,"ml-1","icon-small","red"]],template:function(_,H){1&_&&(e.TgZ(0,"div",0)(1,"form",1,2)(3,"div",3),e._UZ(4,"fa-icon",4),e.TgZ(5,"span",5),e._uU(6,"Grid Settings"),e.qZA()(),e.YNc(7,Yo,1,4,"ng-container",6),e.TgZ(8,"mat-accordion",7),e.YNc(9,nd,7,9,"mat-expansion-panel",8),e.qZA()(),e.TgZ(10,"div",9)(11,"button",10),e.NdJ("click",function(){return H.onResetPageSettings("current")}),e._uU(12,"Reset"),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){return H.onResetPageSettings("default")}),e._uU(14,"Reset to Default"),e.qZA(),e.TgZ(15,"button",12),e.NdJ("click",function(){return H.onUpdatePageSettings()}),e._uU(16,"Save"),e.qZA()()(),e.YNc(17,X0,5,6,"ng-template",null,13,e.W1O)),2&_&&(e.xp6(4),e.Q6J("icon",H.faPenRuler),e.xp6(3),e.Q6J("ngIf",H.errorMessage&&"unknown"===H.errorMessage.page),e.xp6(2),e.Q6J("ngForOf",H.pageSettings))},dependencies:[Ji.mk,Ji.sg,Ji.O5,Ji.tP,ti._Y,ti.JJ,ti.JL,ti.Q7,ti.On,ti.F,gt.BN,Le.xw,Le.Wh,Le.yH,on.oO,yi.lW,yi.RK,kn.pp,kn.ib,kn.yz,kn.yK,oo.Hw,Oi.KE,Oi.hX,Ss.i$,Ss.Tg,Wi.gD,sn.ey,Hc.gM,un.$V,Ji.rS,Wo.D3,Wo.i1],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]}),R})();function Vc(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",10),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.activeLink=$.links[0].link)}),e._uU(1),e.qZA()}if(2&R){const _=e.oxw();e.s9C("routerLink",_.links[0].link),e.Q6J("active",_.activeLink===_.links[0].link),e.xp6(1),e.Oqu(_.links[0].name)}}const co=function(){return{initial:!1}};function Ts(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",11),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.activeLink=$.links[1].link)}),e._uU(1),e.qZA()}if(2&R){const _=e.oxw();e.s9C("routerLink",_.links[1].link),e.Q6J("active",_.activeLink===_.links[1].link)("state",e.DdM(4,co)),e.xp6(1),e.Oqu(_.links[1].name)}}function lo(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",10),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.activeLink=$.links[2].link)}),e._uU(1),e.qZA()}if(2&R){const _=e.oxw();e.s9C("routerLink",_.links[2].link),e.Q6J("active",_.activeLink===_.links[2].link),e.xp6(1),e.Oqu(_.links[2].name)}}let pc=(()=>{class R{constructor(_,H,$){this.store=_,this.router=H,this.activatedRoute=$,this.faLayerGroup=Qi.Krp,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"peerswap",name:"Peerswap"}],this.activeLink="",this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){const _=this.links.find(H=>this.router.url.includes(H.link));this.activeLink=_?_.link:this.links[0].link,this.router.events.pipe((0,an.R)(this.unSubs[0]),(0,wr.h)(H=>H instanceof Yn.Av)).subscribe({next:H=>{const $=this.links.find(Be=>H.urlAfterRedirects.includes(Be.link));this.activeLink="CLN"===this.selNode.lnImplementation.toUpperCase()?this.links[2].link:$?$.link:this.links[0].link}}),this.store.select(Pe.dT).pipe((0,an.R)(this.unSubs[1])).subscribe(H=>{this.selNode=H,"CLN"===this.selNode.lnImplementation.toUpperCase()&&(this.activeLink=this.links[2].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))})}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Ri.yh),e.Y36(Yn.F0),e.Y36(Yn.gz))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-services-settings"]],decls:16,vars:5,consts:[["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"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngIf"],["role","tab","mat-tab-link","","class","mat-tab-label",3,"active","routerLink","state","click",4,"ngIf"],["tabPanel",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","space-between stretch",1,"mat-tab-body-wrapper"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"],["role","tab","mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","state","click"]],template:function(_,H){if(1&_&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"fa-icon",2),e.TgZ(3,"span",3),e._uU(4,"Services"),e.qZA()()(),e.TgZ(5,"div",4)(6,"mat-card")(7,"mat-card-content",4)(8,"nav",5),e.YNc(9,Vc,2,3,"div",6),e.YNc(10,Ts,2,5,"div",7),e.YNc(11,lo,2,3,"div",6),e.qZA(),e._UZ(12,"mat-tab-nav-panel",null,8),e.TgZ(14,"div",9),e._UZ(15,"router-outlet"),e.qZA()()()()),2&_){const $=e.MAs(13);e.xp6(2),e.Q6J("icon",H.faLayerGroup),e.xp6(6),e.Q6J("tabPanel",$),e.xp6(1),e.Q6J("ngIf","LND"===(null==H.selNode||null==H.selNode.lnImplementation?null:H.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf","LND"===(null==H.selNode||null==H.selNode.lnImplementation?null:H.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf","CLN"===(null==H.selNode||null==H.selNode.lnImplementation?null:H.selNode.lnImplementation.toUpperCase()))}},dependencies:[Ji.O5,gt.BN,Le.xw,Le.Wh,Le.yH,Mt.a8,Mt.dn,ni.BU,ni.sW,ni.Nj,Yn.lC,Yn.rH]}),R})();const Gl=["form"];function $0(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Loop server URL is required."),e.qZA())}function V1(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Specify the loop server url with 'https://'."),e.qZA())}function B1(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Loop macaroon path is required."),e.qZA())}let hl=(()=>{class R{constructor(_,H){this.logger=_,this.store=H,this.faInfoCircle=Qi.sqG,this.enableLoop=!1,this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.select(Pe.dT).pipe((0,an.R)(this.unSubs[0])).subscribe(_=>{this.selNode=_,this.enableLoop=!(!_.settings.swapServerUrl||""===_.settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(_)})}onEnableServiceChanged(_){this.enableLoop=_.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.logger.info(this.selNode),this.store.dispatch((0,Xt.jS)({payload:{uiMessage:Je.m6.UPDATE_LOOP_SETTINGS,service:Je.JX.LOOP,settings:{enable:this.enableLoop,serverUrl:this.selNode.settings.swapServerUrl,macaroonPath:this.selNode.authentication.swapMacaroonPath}}})),this.store.dispatch((0,Di.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.selNode.settings.enableOffers}})),this.store.dispatch((0,ci.oo)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.selNode.settings.enableOffers}})),this.store.dispatch((0,Pt.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.selNode.settings.enableOffers}}))}onReset(){this.selNode=JSON.parse(JSON.stringify(this.previousSelNode)),this.enableLoop=!(!this.selNode.settings.swapServerUrl||""===this.selNode.settings.swapServerUrl.trim())}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(di.mQ),e.Y36(Ri.yh))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-loop-service-settings"]],viewQuery:function(_,H){if(1&_&&e.Gf(Gl,7),2&_){let $;e.iGM($=e.CRH())&&(H.form=$.first)}},decls:38,vars:11,consts:[["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"],["form","ngForm"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","loop",1,"ml-2",3,"ngModel","ngModelChange","change"],[1,"mb-2"],["matInput","","type","text","id","swapServerUrl","name","srvrUrl","tabindex","2",3,"required","disabled","ngModel","ngModelChange"],["srvrUrl","ngModel"],[4,"ngIf"],["matInput","","type","text","id","swapMacaroonPath","name","swapMacaroonPath","tabindex","3",3,"required","disabled","ngModel","ngModelChange"],["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(_,H){if(1&_&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"fa-icon",2),e.TgZ(3,"span"),e._uU(4,"Please ensure that "),e.TgZ(5,"strong"),e._uU(6,"loopd"),e.qZA(),e._uU(7," is running and accessible to RTL before enabling this service. Click "),e.TgZ(8,"strong")(9,"a",3),e._uU(10,"here"),e.qZA()(),e._uU(11," to learn more about the installation."),e.qZA()(),e.TgZ(12,"form",4,5)(14,"div",6)(15,"mat-slide-toggle",7),e.NdJ("ngModelChange",function(Be){return H.enableLoop=Be})("change",function(Be){return H.onEnableServiceChanged(Be)}),e._uU(16,"Enable Loop Service"),e.qZA(),e.TgZ(17,"mat-form-field",8)(18,"mat-label"),e._uU(19,"Loop Server URL"),e.qZA(),e.TgZ(20,"input",9,10),e.NdJ("ngModelChange",function(Be){return H.selNode.settings.swapServerUrl=Be}),e.qZA(),e.TgZ(22,"mat-hint"),e._uU(23,"Service url for loop server REST APIs, eg. https://127.0.0.1:8081"),e.qZA(),e.YNc(24,$0,2,0,"mat-error",11),e.YNc(25,V1,2,0,"mat-error",11),e.qZA(),e.TgZ(26,"mat-form-field")(27,"mat-label"),e._uU(28,"Loop Macaroon Path"),e.qZA(),e.TgZ(29,"input",12),e.NdJ("ngModelChange",function(Be){return H.selNode.authentication.swapMacaroonPath=Be}),e.qZA(),e.TgZ(30,"mat-hint"),e._uU(31,"Path for the folder containing service 'loop.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Local\\\\Loop\\\\testnet"),e.qZA(),e.YNc(32,B1,2,0,"mat-error",11),e.qZA()()(),e.TgZ(33,"div",13)(34,"button",14),e.NdJ("click",function(){return H.onReset()}),e._uU(35,"Reset"),e.qZA(),e.TgZ(36,"button",15),e.NdJ("click",function(){return H.onUpdateService()}),e._uU(37,"Update"),e.qZA()()()),2&_){const $=e.MAs(21);e.xp6(2),e.Q6J("icon",H.faInfoCircle),e.xp6(13),e.Q6J("ngModel",H.enableLoop),e.xp6(5),e.Q6J("required",H.enableLoop)("disabled",!H.enableLoop)("ngModel",H.selNode.settings.swapServerUrl),e.xp6(4),e.Q6J("ngIf",!H.selNode.settings.swapServerUrl&&H.enableLoop),e.xp6(1),e.Q6J("ngIf",(null==$||null==$.errors?null:$.errors.invalid)&&H.enableLoop),e.xp6(4),e.Q6J("required",H.enableLoop)("disabled",!H.enableLoop)("ngModel",H.selNode.authentication.swapMacaroonPath),e.xp6(3),e.Q6J("ngIf",!H.selNode.authentication.swapMacaroonPath&&H.enableLoop)}},dependencies:[Ji.O5,ti._Y,ti.Fj,ti.JJ,ti.JL,ti.Q7,ti.On,ti.F,gt.BN,Le.xw,Le.Wh,Le.yH,yi.lW,aa.Nt,Oi.KE,Oi.hX,Oi.bx,Oi.TO,_r.Rr,un.$V,Sn.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}),R})();const oa=["form"];function U1(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Boltz server URL is required."),e.qZA())}function G1(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Specify the boltz server url with 'https://'."),e.qZA())}function x4(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Boltz macaroon path is required."),e.qZA())}let od=(()=>{class R{constructor(_,H){this.logger=_,this.store=H,this.faInfoCircle=Qi.sqG,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new Bi.x,new Bi.x]}ngOnInit(){this.store.select(Pe.dT).pipe((0,an.R)(this.unSubs[0])).subscribe(_=>{this.selNode=_,this.enableBoltz=!(!_.settings.boltzServerUrl||""===_.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(_)})}onEnableServiceChanged(_){this.enableBoltz=_.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.selNode.settings.boltzServerUrl=this.serverUrl,this.selNode.authentication.boltzMacaroonPath=this.macaroonPath,this.store.dispatch((0,Xt.jS)({payload:{uiMessage:Je.m6.UPDATE_BOLTZ_SETTINGS,service:Je.JX.BOLTZ,settings:{enable:this.enableBoltz,serverUrl:this.serverUrl,macaroonPath:this.macaroonPath}}})),this.store.dispatch((0,Di.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.serverUrl,enableOffers:this.selNode.settings.enableOffers}})),this.store.dispatch((0,ci.oo)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.serverUrl,enableOffers:this.selNode.settings.enableOffers}})),this.store.dispatch((0,Pt.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.serverUrl,enableOffers:this.selNode.settings.enableOffers}}))}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(_=>{_.next(),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(di.mQ),e.Y36(Ri.yh))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(_,H){if(1&_&&e.Gf(oa,7),2&_){let $;e.iGM($=e.CRH())&&(H.form=$.first)}},decls:38,vars:11,consts:[["fxLayout","column","fxFlex","100",3,"perfectScrollbar"],[1,"alert","alert-info","mt-1"],[1,"mr-1","alert-icon",3,"icon"],["href","https://lnd.docs.boltz.exchange/en/latest/","target","_blank"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"settings-container","page-sub-title-container","mt-1"],["form","ngForm"],["fxLayout","column","fxFlex","50","fxLayoutAlign","start stretch"],["autoFocus","","tabindex","1","color","primary","name","boltz",1,"ml-2",3,"ngModel","ngModelChange","change"],[1,"mb-2"],["matInput","","type","text","id","boltzServerUrl","name","srvrUrl","tabindex","2",3,"required","disabled","ngModel","ngModelChange"],["srvrUrl","ngModel"],[4,"ngIf"],["matInput","","type","text","id","boltzMacaroonPath","name","boltzMacaroonPath","tabindex","3",3,"required","disabled","ngModel","ngModelChange"],["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(_,H){if(1&_&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"fa-icon",2),e.TgZ(3,"span"),e._uU(4,"Please ensure that "),e.TgZ(5,"strong"),e._uU(6,"boltzd"),e.qZA(),e._uU(7," is running and accessible to RTL before enabling this service. Click "),e.TgZ(8,"strong")(9,"a",3),e._uU(10,"here"),e.qZA()(),e._uU(11," to learn more about the installation."),e.qZA()(),e.TgZ(12,"form",4,5)(14,"div",6)(15,"mat-slide-toggle",7),e.NdJ("ngModelChange",function(Be){return H.enableBoltz=Be})("change",function(Be){return H.onEnableServiceChanged(Be)}),e._uU(16,"Enable Boltz Service"),e.qZA(),e.TgZ(17,"mat-form-field",8)(18,"mat-label"),e._uU(19,"Boltz Server URL"),e.qZA(),e.TgZ(20,"input",9,10),e.NdJ("ngModelChange",function(Be){return H.serverUrl=Be}),e.qZA(),e.TgZ(22,"mat-hint"),e._uU(23,"Service url for boltz server REST APIs, eg. https://127.0.0.1:9003"),e.qZA(),e.YNc(24,U1,2,0,"mat-error",11),e.YNc(25,G1,2,0,"mat-error",11),e.qZA(),e.TgZ(26,"mat-form-field")(27,"mat-label"),e._uU(28,"Boltz Macaroon Path"),e.qZA(),e.TgZ(29,"input",12),e.NdJ("ngModelChange",function(Be){return H.macaroonPath=Be}),e.qZA(),e.TgZ(30,"mat-hint"),e._uU(31,"Path for the folder containing boltz 'admin.macaroon', eg. D:\\\\xyz\\\\AppData\\\\Boltz\\\\testnet"),e.qZA(),e.YNc(32,x4,2,0,"mat-error",11),e.qZA()()(),e.TgZ(33,"div",13)(34,"button",14),e.NdJ("click",function(){return H.onReset()}),e._uU(35,"Reset"),e.qZA(),e.TgZ(36,"button",15),e.NdJ("click",function(){return H.onUpdateService()}),e._uU(37,"Update"),e.qZA()()()),2&_){const $=e.MAs(21);e.xp6(2),e.Q6J("icon",H.faInfoCircle),e.xp6(13),e.Q6J("ngModel",H.enableBoltz),e.xp6(5),e.Q6J("required",H.enableBoltz)("disabled",!H.enableBoltz)("ngModel",H.serverUrl),e.xp6(4),e.Q6J("ngIf",(!H.serverUrl||""===H.serverUrl.trim())&&H.enableBoltz),e.xp6(1),e.Q6J("ngIf",(null==$||null==$.errors?null:$.errors.invalid)&&H.enableBoltz),e.xp6(4),e.Q6J("required",H.enableBoltz)("disabled",!H.enableBoltz)("ngModel",H.macaroonPath),e.xp6(3),e.Q6J("ngIf",!H.macaroonPath&&H.enableBoltz)}},dependencies:[Ji.O5,ti._Y,ti.Fj,ti.JJ,ti.JL,ti.Q7,ti.On,ti.F,gt.BN,Le.xw,Le.Wh,Le.yH,yi.lW,aa.Nt,Oi.KE,Oi.hX,Oi.bx,Oi.TO,_r.Rr,un.$V,Sn.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}),R})(),Zl=(()=>{class R{constructor(){}}return R.\u0275fac=function(_){return new(_||R)},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-ln-services"]],decls:1,vars:0,template:function(_,H){1&_&&e._UZ(0,"router-outlet")},dependencies:[Yn.lC]}),R})();var Bu=m(2615),Wl=m(9107),gc=m(8739),Bc=m(6308),tr=m(671),ul=m(3162);function eh(R,N){if(1&R&&(e.TgZ(0,"mat-option",37),e._uU(1),e.qZA()),2&R){const _=N.$implicit,H=e.oxw();e.Q6J("value",_),e.xp6(1),e.Oqu(H.getLabel(_))}}function Yl(R,N){1&R&&e._UZ(0,"mat-progress-bar",38)}function As(R,N){1&R&&(e.TgZ(0,"th",39),e._uU(1,"State"),e.qZA())}function Uu(R,N){if(1&R&&(e.TgZ(0,"td",40),e._uU(1),e.qZA()),2&R){const _=N.$implicit,H=e.oxw();e.xp6(1),e.Oqu(H.LoopStateEnum[null==_?null:_.state])}}function jo(R,N){1&R&&(e.TgZ(0,"th",39),e._uU(1,"Initiation Time"),e.qZA())}function jl(R,N){if(1&R&&(e.TgZ(0,"td",40),e._uU(1),e.ALo(2,"date"),e.qZA()),2&R){const _=N.$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,(null==_?null:_.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function fl(R,N){1&R&&(e.TgZ(0,"th",39),e._uU(1,"Last Update Time"),e.qZA())}function Z1(R,N){if(1&R&&(e.TgZ(0,"td",40),e._uU(1),e.ALo(2,"date"),e.qZA()),2&R){const _=N.$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,(null==_?null:_.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function cd(R,N){1&R&&(e.TgZ(0,"th",41),e._uU(1,"Amount (Sats)"),e.qZA())}function Uc(R,N){if(1&R&&(e.TgZ(0,"td",40)(1,"span",42),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&R){const _=N.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.amt))}}function th(R,N){1&R&&(e.TgZ(0,"th",41),e._uU(1,"Cost Server (Sats)"),e.qZA())}function ld(R,N){if(1&R&&(e.TgZ(0,"td",40)(1,"span",42),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&R){const _=N.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.cost_server))}}function Gu(R,N){1&R&&(e.TgZ(0,"th",41),e._uU(1,"Cost Offchain (Sats)"),e.qZA())}function Zu(R,N){if(1&R&&(e.TgZ(0,"td",40)(1,"span",42),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&R){const _=N.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.cost_offchain))}}function Ls(R,N){1&R&&(e.TgZ(0,"th",41),e._uU(1,"Cost Onchain (Sats)"),e.qZA())}function dd(R,N){if(1&R&&(e.TgZ(0,"td",40)(1,"span",42),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&R){const _=N.$implicit;e.xp6(2),e.hij(" ",e.lcZ(3,1,null==_?null:_.cost_onchain)," ")}}function ih(R,N){1&R&&(e.TgZ(0,"th",39),e._uU(1,"HTLC Address"),e.qZA())}const Kl=function(R){return{width:R}};function Ya(R,N){if(1&R&&(e.TgZ(0,"td",40)(1,"span",43)(2,"span",44),e._uU(3),e.qZA()()()),2&R){const _=N.$implicit,H=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,Kl,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.htlc_address)}}function _c(R,N){1&R&&(e.TgZ(0,"th",39),e._uU(1,"ID"),e.qZA())}function W1(R,N){if(1&R&&(e.TgZ(0,"td",40)(1,"span",43)(2,"span",44),e._uU(3),e.qZA()()()),2&R){const _=N.$implicit,H=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,Kl,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.id)}}function nh(R,N){1&R&&(e.TgZ(0,"th",39),e._uU(1,"ID (Bytes)"),e.qZA())}function Y1(R,N){if(1&R&&(e.TgZ(0,"td",40)(1,"span",43)(2,"span",44),e._uU(3),e.qZA()()()),2&R){const _=N.$implicit,H=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,Kl,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.id_bytes)}}function To(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"th",45)(1,"div",46)(2,"mat-select",47),e._UZ(3,"mat-select-trigger"),e.TgZ(4,"mat-option",48),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.onDownloadCSV())}),e._uU(5,"Download CSV"),e.qZA()()()()}}function Wu(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"td",49)(1,"button",50),e.NdJ("click",function($){const At=e.CHM(_).$implicit,Yt=e.oxw();return e.KtG(Yt.onSwapClick(At,$))}),e._uU(2,"View Info"),e.qZA()()}}function j1(R,N){if(1&R&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&R){const _=e.oxw(2);e.xp6(1),e.Oqu(_.emptyTableMessage)}}function hd(R,N){if(1&R&&(e.TgZ(0,"td",51),e.YNc(1,j1,2,1,"p",52),e.qZA()),2&R){const _=e.oxw();e.xp6(1),e.Q6J("ngIf",!(null!=_.listSwaps&&_.listSwaps.data)||(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)<1)}}const rh=function(R){return{"display-none":R}};function ud(R,N){if(1&R&&e._UZ(0,"tr",53),2&R){const _=e.oxw();e.Q6J("ngClass",e.VKq(1,rh,(null==_.listSwaps?null:_.listSwaps.data)&&(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)>0))}}function ah(R,N){1&R&&e._UZ(0,"tr",54)}function fd(R,N){1&R&&e._UZ(0,"tr",55)}const Ql=function(){return["all"]},K1=function(R){return{"overflow-auto error-border":R,"overflow-auto":!0}},ml=function(){return["no_swap"]};let vc=(()=>{class R{constructor(_,H,$,Be,At,Yt){this.logger=_,this.commonService=H,this.store=$,this.loopService=Be,this.datePipe=At,this.camelCaseWithReplace=Yt,this.selectedSwapType=Je.$I.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Je.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:Je.IV,sortBy:"initiation_time",sortOrder:Je.Pi.DESCENDING},this.LoopStateEnum=Je.Fq,this.faHistory=Qi.qO$,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new tr.by([]),this.selFilter="",this.pageSize=Je.IV,this.pageSizeOptions=Je.TJ,this.screenSize="",this.screenSizeEnum=Je.cu,this.unSubs=[new Bi.x,new Bi.x,new Bi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Us.Pr).pipe((0,an.R)(this.unSubs[0])).subscribe(_=>{var H,$;this.tableSetting=(null===(H=_.pageSettings.find(Be=>Be.pageId===this.PAGE_ID))||void 0===H?void 0:H.tables.find(Be=>Be.tableId===this.tableSetting.tableId))||(null===($=Je.gK.find(Be=>Be.pageId===this.PAGE_ID))||void 0===$?void 0:$.tables.find(Be=>Be.tableId===this.tableSetting.tableId)),this.displayedColumns=this.screenSize===Je.cu.XS||this.screenSize===Je.cu.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:Je.IV,this.swapsData&&this.swapsData.length>0&&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)}ngOnChanges(_){this.swapCaption=this.selectedSwapType===Je.$I.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}applyFilter(){this.listSwaps.filter=this.selFilter.trim().toLowerCase()}getLabel(_){const H=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find($=>$.column===_);return H?H.label?H.label:this.camelCaseWithReplace.transform(H.column,"_"):this.commonService.titleCase(_)}setFilterPredicate(){this.listSwaps.filterPredicate=(_,H)=>{var $;let Be="";switch(this.selFilterBy){case"all":Be=JSON.stringify(_).toLowerCase();break;case"state":Be=_?.state?this.LoopStateEnum[_?.state]:"";break;case"initiation_time":case"last_update_time":Be=(null===($=this.datePipe.transform(new Date((_[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm"))||void 0===$?void 0:$.toLowerCase())||"";break;default:Be=typeof _[this.selFilterBy]>"u"?"":"string"==typeof _[this.selFilterBy]?_[this.selFilterBy].toLowerCase():"boolean"==typeof _[this.selFilterBy]?_[this.selFilterBy]?"yes":"no":_[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===Be.indexOf(H):Be.includes(H)}}onSwapClick(_,H){var $,Be;this.loopService.getSwap((null===(Be=null===($=_.id_bytes)||void 0===$?void 0:$.replace(/\//g,"_"))||void 0===Be?void 0:Be.replace(/\+/g,"-"))||"").pipe((0,an.R)(this.unSubs[1])).subscribe(At=>{this.store.dispatch((0,Xt.qR)({payload:{data:{type:Je.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:Je.Fq[At.state||""],title:"Status",width:50,type:Je.Gi.STRING},{key:"amt",value:At.amt,title:"Amount (Sats)",width:50,type:Je.Gi.NUMBER}],[{key:"initiation_time",value:(At.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:Je.Gi.DATE_TIME},{key:"last_update_time",value:(At.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:Je.Gi.DATE_TIME}],[{key:"cost_server",value:At.cost_server,title:"Server Cost (Sats)",width:33,type:Je.Gi.NUMBER},{key:"cost_offchain",value:At.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:Je.Gi.NUMBER},{key:"cost_onchain",value:At.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:Je.Gi.NUMBER}],[{key:"id_bytes",value:At.id_bytes,title:"ID",width:100,type:Je.Gi.STRING}],[{key:"htlc_address",value:At.htlc_address,title:"HTLC Address",width:100,type:Je.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(_){this.listSwaps=new tr.by([..._]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(H,$)=>H[$]&&isNaN(H[$])?H[$].toLocaleLowerCase():H[$]?+H[$]: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===Je.$I.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(di.mQ),e.Y36(rn.v),e.Y36(Ri.yh),e.Y36(Wl.W),e.Y36(Ji.uU),e.Y36(Wo.D3))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-swaps"]],viewQuery:function(_,H){if(1&_&&(e.Gf(Bc.YE,5),e.Gf(gc.NW,5)),2&_){let $;e.iGM($=e.CRH())&&(H.sort=$.first),e.iGM($=e.CRH())&&(H.paginator=$.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[e._Bn([{provide:Wi.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:gc.ye,useValue:(0,Je.pt)("Swaps")}]),e.TTD],decls:61,vars:20,consts:[["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,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModel","ngModelChange","input","keyup"],["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"],["table",""],["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(_,H){1&_&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2),e._UZ(3,"fa-icon",3),e.TgZ(4,"span",4),e._uU(5),e.qZA()(),e.TgZ(6,"div",5)(7,"mat-form-field",6)(8,"mat-label"),e._uU(9,"Filter By"),e.qZA(),e.TgZ(10,"mat-select",7),e.NdJ("ngModelChange",function(Be){return H.selFilterBy=Be})("selectionChange",function(){return H.selFilter="",H.applyFilter()}),e.TgZ(11,"perfect-scrollbar"),e.YNc(12,eh,2,2,"mat-option",8),e.qZA()()(),e.TgZ(13,"mat-form-field",6)(14,"mat-label"),e._uU(15,"Filter"),e.qZA(),e.TgZ(16,"input",9),e.NdJ("ngModelChange",function(Be){return H.selFilter=Be})("input",function(){return H.applyFilter()})("keyup",function(){return H.applyFilter()}),e.qZA()()()(),e.TgZ(17,"div",10)(18,"div",11),e.YNc(19,Yl,1,0,"mat-progress-bar",12),e.TgZ(20,"table",13,14),e.ynx(22,15),e.YNc(23,As,2,0,"th",16),e.YNc(24,Uu,2,1,"td",17),e.BQk(),e.ynx(25,18),e.YNc(26,jo,2,0,"th",16),e.YNc(27,jl,3,4,"td",17),e.BQk(),e.ynx(28,19),e.YNc(29,fl,2,0,"th",16),e.YNc(30,Z1,3,4,"td",17),e.BQk(),e.ynx(31,20),e.YNc(32,cd,2,0,"th",21),e.YNc(33,Uc,4,3,"td",17),e.BQk(),e.ynx(34,22),e.YNc(35,th,2,0,"th",21),e.YNc(36,ld,4,3,"td",17),e.BQk(),e.ynx(37,23),e.YNc(38,Gu,2,0,"th",21),e.YNc(39,Zu,4,3,"td",17),e.BQk(),e.ynx(40,24),e.YNc(41,Ls,2,0,"th",21),e.YNc(42,dd,4,3,"td",17),e.BQk(),e.ynx(43,25),e.YNc(44,ih,2,0,"th",16),e.YNc(45,Ya,4,4,"td",17),e.BQk(),e.ynx(46,26),e.YNc(47,_c,2,0,"th",16),e.YNc(48,W1,4,4,"td",17),e.BQk(),e.ynx(49,27),e.YNc(50,nh,2,0,"th",16),e.YNc(51,Y1,4,4,"td",17),e.BQk(),e.ynx(52,28),e.YNc(53,To,6,0,"th",29),e.YNc(54,Wu,3,0,"td",30),e.BQk(),e.ynx(55,31),e.YNc(56,hd,2,1,"td",32),e.BQk(),e.YNc(57,ud,1,3,"tr",33),e.YNc(58,ah,1,0,"tr",34),e.YNc(59,fd,1,0,"tr",35),e.qZA(),e._UZ(60,"mat-paginator",36),e.qZA()()()),2&_&&(e.xp6(3),e.Q6J("icon",H.faHistory),e.xp6(2),e.hij("",H.swapCaption," History"),e.xp6(5),e.Q6J("ngModel",H.selFilterBy),e.xp6(2),e.Q6J("ngForOf",e.DdM(16,Ql).concat(H.displayedColumns.slice(0,-1))),e.xp6(4),e.Q6J("ngModel",H.selFilter),e.xp6(3),e.Q6J("ngIf",!0===H.flgLoading[0]),e.xp6(1),e.Q6J("matSortActive",H.tableSetting.sortBy)("matSortDirection",H.tableSetting.sortOrder)("dataSource",H.listSwaps)("ngClass",e.VKq(17,K1,"error"===H.flgLoading[0])),e.xp6(37),e.Q6J("matFooterRowDef",e.DdM(19,ml)),e.xp6(1),e.Q6J("matHeaderRowDef",H.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",H.displayedColumns),e.xp6(1),e.Q6J("pageSize",H.pageSize)("pageSizeOptions",H.pageSizeOptions)("showFirstLastButtons",H.screenSize!==H.screenSizeEnum.XS))},dependencies:[Ji.mk,Ji.sg,Ji.O5,Ji.PC,ti.Fj,ti.JJ,ti.On,gt.BN,Le.xw,Le.Wh,Le.yH,on.oO,on.Zl,yi.lW,aa.Nt,Oi.KE,Oi.hX,ul.pW,Wi.gD,Wi.$L,sn.ey,Bc.YE,Bc.nU,tr.BZ,tr.fO,tr.as,tr.w1,tr.Dz,tr.nj,tr.mD,tr.Ke,tr.ge,tr.ev,tr.yh,tr.XQ,tr.Gk,tr.Q2,gc.NW,un.Vv,un.$V,Ji.JJ,Ji.uU]}),R})();const ql=function(R){return["../",R]};function Gc(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",11),e.NdJ("click",function(){const Be=e.CHM(_).$implicit,At=e.oxw();return e.KtG(At.onSelectedIndexChange(Be))}),e._uU(1),e.qZA()}if(2&R){const _=N.$implicit,H=e.oxw();e.Q6J("active",H.activeTab.link===_.link)("routerLink",e.VKq(3,ql,_.link)),e.xp6(1),e.Oqu(_.name)}}let Q1=(()=>{class R{constructor(_,H,$){this.router=_,this.loopService=H,this.store=$,this.faInfinity=Qi.vqe,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=Je.$I,this.selectedSwapType=Je.$I.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 Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.loopService.listSwaps();const _=this.links.find(H=>this.router.url.includes(H.link));this.activeTab=_||this.links[0],this.selectedSwapType=_&&"loopin"===_.link?Je.$I.LOOP_IN:Je.$I.LOOP_OUT,this.router.events.pipe((0,an.R)(this.unSubs[0]),(0,wr.h)(H=>H instanceof Yn.Av)).subscribe({next:H=>{const $=this.links.find(Be=>H.urlAfterRedirects.includes(Be.link));this.activeTab=$||this.links[0],this.selectedSwapType=$&&"loopin"===$.link?Je.$I.LOOP_IN:Je.$I.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,an.R)(this.unSubs[1])).subscribe({next:H=>{var $;this.flgLoading[0]=!1,this.storedSwaps=H,this.filteredSwaps=null===($=this.storedSwaps)||void 0===$?void 0:$.filter(Be=>Be.type===this.selectedSwapType)},error:H=>{this.flgLoading[0]="error",this.emptyTableMessage=H.message?H.message:"No loop "+(this.selectedSwapType===Je.$I.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(_){var H;this.selectedSwapType="loopin"===_.link?Je.$I.LOOP_IN:Je.$I.LOOP_OUT,this.filteredSwaps=null===(H=this.storedSwaps)||void 0===H?void 0:H.filter($=>$.type===this.selectedSwapType)}onLoop(_){_===Je.$I.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,an.R)(this.unSubs[2])).subscribe({next:H=>{this.store.dispatch((0,Xt.qR)({payload:{data:{minQuote:H[0],maxQuote:H[1],direction:_,component:Bu.a}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,an.R)(this.unSubs[3])).subscribe({next:H=>{this.store.dispatch((0,Xt.qR)({payload:{data:{minQuote:H[0],maxQuote:H[1],direction:_,component:Bu.a}}}))}})}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Yn.F0),e.Y36(Wl.W),e.Y36(Ri.yh))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-loop"]],decls:15,vars:8,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"],["mat-tab-nav-bar","","mat-stretch-tabs","false","mat-align-tabs","start",3,"tabPanel"],["mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["tabPanel",""],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","1",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(_,H){if(1&_&&(e.TgZ(0,"div",0),e._UZ(1,"fa-icon",1),e.TgZ(2,"span",2),e._uU(3,"Loop"),e.qZA()(),e.TgZ(4,"div",3)(5,"mat-card")(6,"mat-card-content",4)(7,"nav",5),e.YNc(8,Gc,2,5,"div",6),e.qZA(),e._UZ(9,"mat-tab-nav-panel",null,7),e.TgZ(11,"div",8)(12,"button",9),e.NdJ("click",function(){return H.onLoop(H.selectedSwapType)}),e._uU(13),e.qZA()(),e._UZ(14,"rtl-swaps",10),e.qZA()()()),2&_){const $=e.MAs(10);e.xp6(1),e.Q6J("icon",H.faInfinity),e.xp6(6),e.Q6J("tabPanel",$),e.xp6(1),e.Q6J("ngForOf",H.links),e.xp6(5),e.hij("Start ",H.activeTab.name,""),e.xp6(1),e.Q6J("selectedSwapType",H.selectedSwapType)("swapsData",H.filteredSwaps)("flgLoading",H.flgLoading)("emptyTableMessage",H.emptyTableMessage)}},dependencies:[Ji.sg,gt.BN,Le.xw,Le.Wh,Le.yH,yi.lW,Mt.a8,Mt.dn,ni.BU,ni.sW,ni.Nj,Yn.rH,vc]}),R})();var q1=m(7772),Qs=m(1135),Jl=m(2843),pl=m(262),J1=m(1786);let gl=(()=>{class R{constructor(_,H,$,Be){this.httpClient=_,this.logger=H,this.store=$,this.commonService=Be,this.swapUrl="",this.swaps={},this.swapsChanged=new Qs.X({}),this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,Xt.ac)({payload:Je.m6.GET_BOLTZ_SWAPS})),this.swapUrl=Je.T5+Je.vv.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,an.R)(this.unSubs[0])).subscribe({next:_=>{this.store.dispatch((0,Xt.uO)({payload:Je.m6.GET_BOLTZ_SWAPS})),this.swaps=_,this.swapsChanged.next(this.swaps)},error:_=>this.swapsChanged.error(this.handleErrorWithAlert(Je.m6.GET_BOLTZ_SWAPS,this.swapUrl,_))})}swapInfo(_){return this.swapUrl=Je.T5+Je.vv.BOLTZ_API+"/swapInfo/"+_,this.httpClient.get(this.swapUrl).pipe((0,pl.K)(H=>(0,js.of)(this.handleErrorWithAlert(Je.m6.NO_SPINNER,this.swapUrl,H))))}serviceInfo(){return this.store.dispatch((0,Xt.ac)({payload:Je.m6.GET_SERVICE_INFO})),this.swapUrl=Je.T5+Je.vv.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,an.R)(this.unSubs[1]),(0,mr.U)(_=>(this.store.dispatch((0,Xt.uO)({payload:Je.m6.GET_SERVICE_INFO})),_)),(0,pl.K)(_=>(0,js.of)(this.handleErrorWithAlert(Je.m6.GET_SERVICE_INFO,this.swapUrl,_))))}swapOut(_,H){const $={amount:_,address:H};return this.swapUrl=Je.T5+Je.vv.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,$).pipe((0,pl.K)(Be=>this.handleErrorWithoutAlert("Swap Out for Address: "+H,Je.m6.NO_SPINNER,Be)))}swapIn(_){const H={amount:_};return this.swapUrl=Je.T5+Je.vv.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,H).pipe((0,pl.K)($=>this.handleErrorWithoutAlert("Swap In for Amount: "+_,Je.m6.NO_SPINNER,$)))}handleErrorWithoutAlert(_,H,$){let Be="";return this.logger.error("ERROR IN: "+_+"\n"+JSON.stringify($)),this.store.dispatch((0,Xt.uO)({payload:H})),401===$.status?(Be="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Xt.kS)())):503===$.status?(Be="Unable to Connect to Boltz Server.",this.store.dispatch((0,Xt.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:$.status,message:"Unable to Connect to Boltz Server",URL:_},component:J1.H}}}))):Be=this.commonService.extractErrorMessage($),(0,Jl._)(()=>new Error(Be))}handleErrorWithAlert(_,H,$){let Be="";if(401===$.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Xt.kS)())),this.logger.error($),this.store.dispatch((0,Xt.uO)({payload:_})),401===$.status)Be="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Xt.kS)());else if(503===$.status)Be="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,Xt.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:$.status,message:"Unable to Connect to Boltz Server",URL:H},component:J1.H}}}))},100);else{Be=this.commonService.extractErrorMessage($);const At=$.error&&$.error.error&&$.error.error.code?$.error.error.code:$.error&&$.error.code?$.error.code:$.code?$.code:$.status;setTimeout(()=>{this.store.dispatch((0,Xt.qR)({payload:{data:{type:Je.n_.ERROR,alertTitle:"ERROR",message:{code:At,message:Be,URL:H},component:J1.H}}}))},100)}return{message:Be}}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.LFG(jr.eN),e.LFG(di.mQ),e.LFG(Ri.yh),e.LFG(rn.v))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})();function Yu(R,N){1&R&&e.GkF(0)}function ju(R,N){if(1&R&&(e.TgZ(0,"div",4)(1,"span",5),e._uU(2),e.qZA()()),2&R){const _=e.oxw();e.xp6(2),e.Oqu(null!=_.swapStatus&&_.swapStatus.error?null==_.swapStatus?null:_.swapStatus.error:"Unknown Error.")}}function Ku(R,N){if(1&R&&(e.TgZ(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),e._uU(4,"ID"),e.qZA(),e.TgZ(5,"span",5),e._uU(6),e.qZA()(),e.TgZ(7,"div",7)(8,"h4",8),e._uU(9,"Routing Fee (mSats)"),e.qZA(),e.TgZ(10,"span",5),e._uU(11),e.ALo(12,"number"),e.qZA()()(),e._UZ(13,"mat-divider",9),e.TgZ(14,"div",6)(15,"div",7)(16,"h4",8),e._uU(17,"Claim Transaction ID"),e.qZA(),e.TgZ(18,"span",5),e._uU(19),e.qZA()(),e.TgZ(20,"div",7)(21,"h4",8),e._uU(22,"Lockup Address"),e.qZA(),e.TgZ(23,"span",5),e._uU(24),e.qZA()()()()),2&R){const _=e.oxw();e.xp6(6),e.Oqu(null==_.swapStatus?null:_.swapStatus.id),e.xp6(5),e.Oqu(e.lcZ(12,4,null==_.swapStatus?null:_.swapStatus.routingFeeMilliSat)),e.xp6(8),e.Oqu(null==_.swapStatus?null:_.swapStatus.claimTransactionId),e.xp6(5),e.Oqu(null==_.swapStatus?null:_.swapStatus.lockupAddress)}}function Qu(R,N){if(1&R&&(e.TgZ(0,"div",4)(1,"div",6)(2,"div",7)(3,"h4",8),e._uU(4,"ID"),e.qZA(),e.TgZ(5,"span",5),e._uU(6),e.qZA()(),e.TgZ(7,"div",7)(8,"h4",8),e._uU(9,"Expected Amount (Sats)"),e.qZA(),e.TgZ(10,"span",5),e._uU(11),e.ALo(12,"number"),e.qZA()()(),e._UZ(13,"mat-divider",9),e.TgZ(14,"div",6)(15,"div",10)(16,"h4",8),e._uU(17,"Address"),e.qZA(),e.TgZ(18,"span",5),e._uU(19),e.qZA()()(),e._UZ(20,"mat-divider",9),e.TgZ(21,"div",6)(22,"div",10)(23,"h4",8),e._uU(24,"BIP 21"),e.qZA(),e.TgZ(25,"span",5),e._uU(26),e.qZA()()()()),2&R){const _=e.oxw();e.xp6(6),e.Oqu(null==_.swapStatus?null:_.swapStatus.id),e.xp6(5),e.Oqu(e.lcZ(12,4,null==_.swapStatus?null:_.swapStatus.expectedAmount)),e.xp6(8),e.Oqu(null==_.swapStatus?null:_.swapStatus.address),e.xp6(7),e.Oqu(null==_.swapStatus?null:_.swapStatus.bip21)}}let qu=(()=>{class R{constructor(){this.swapStatus=null,this.direction=Je.hc.SWAP_OUT,this.swapTypeEnum=Je.hc}}return R.\u0275fac=function(_){return new(_||R)},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-boltz-swap-status"]],inputs:{swapStatus:"swapStatus",direction:"direction"},decls:7,vars:1,consts:[[4,"ngTemplateOutlet"],["swapFailedBlock",""],["swapOutBlock",""],["swapInBlock",""],["fxLayout","column"],[1,"foreground-secondary-text"],["fxLayout","row"],["fxFlex","50"],["fxLayoutAlign","start",1,"font-bold-500"],[1,"w-100","my-1"],["fxFlex","100"]],template:function(_,H){if(1&_&&(e.YNc(0,Yu,1,0,"ng-container",0),e.YNc(1,ju,3,1,"ng-template",null,1,e.W1O),e.YNc(3,Ku,25,6,"ng-template",null,2,e.W1O),e.YNc(5,Qu,27,6,"ng-template",null,3,e.W1O)),2&_){const $=e.MAs(2),Be=e.MAs(4),At=e.MAs(6);e.Q6J("ngTemplateOutlet",null!=H.swapStatus&&H.swapStatus.error?$:H.direction===H.swapTypeEnum.SWAP_OUT?Be:At)}},dependencies:[Ji.tP,Le.xw,Le.Wh,Le.yH,So.d,Ji.JJ]}),R})(),md=(()=>{class R{constructor(){this.serviceInfo={},this.direction=Je.hc.SWAP_OUT,this.swapTypeEnum=Je.hc}}return R.\u0275fac=function(_){return new(_||R)},R.\u0275cmp=e.Xpm({type:R,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(_,H){1&_&&(e.TgZ(0,"mat-expansion-panel",0)(1,"mat-expansion-panel-header")(2,"mat-panel-title")(3,"span",1),e._uU(4,"Service Information"),e.qZA()()(),e.TgZ(5,"div",2)(6,"div",3)(7,"div",4)(8,"h4",5),e._uU(9,"Minimum Amount (Sats)"),e.qZA(),e.TgZ(10,"span",6),e._uU(11),e.ALo(12,"number"),e.qZA()(),e.TgZ(13,"div",4)(14,"h4",5),e._uU(15,"Maximum Amount (Sats)"),e.qZA(),e.TgZ(16,"span",6),e._uU(17),e.ALo(18,"number"),e.qZA()()(),e._UZ(19,"mat-divider",7),e.TgZ(20,"div",3)(21,"div",4)(22,"h4",5),e._uU(23,"Fee Percentage"),e.qZA(),e.TgZ(24,"span",6),e._uU(25),e.ALo(26,"number"),e.qZA()(),e.TgZ(27,"div",4)(28,"h4",5),e._uU(29,"Miner Fee (Sats)"),e.qZA(),e.TgZ(30,"span",6),e._uU(31),e.ALo(32,"number"),e.qZA()()()()()),2&_&&(e.Q6J("expanded",!0),e.xp6(11),e.Oqu(e.lcZ(12,5,null==H.serviceInfo||null==H.serviceInfo.limits?null:H.serviceInfo.limits.minimal)),e.xp6(6),e.Oqu(e.lcZ(18,7,null==H.serviceInfo||null==H.serviceInfo.limits?null:H.serviceInfo.limits.maximal)),e.xp6(8),e.Oqu(e.lcZ(26,9,null==H.serviceInfo||null==H.serviceInfo.fees?null:H.serviceInfo.fees.percentage)),e.xp6(6),e.Oqu(e.lcZ(32,11,H.direction===H.swapTypeEnum.SWAP_OUT?null==H.serviceInfo||null==H.serviceInfo.fees||null==H.serviceInfo.fees.miner?null:H.serviceInfo.fees.miner.reverse:null==H.serviceInfo||null==H.serviceInfo.fees||null==H.serviceInfo.fees.miner?null:H.serviceInfo.fees.miner.normal)))},dependencies:[Le.xw,Le.Wh,Le.yH,kn.ib,kn.yz,kn.yK,So.d,Ji.JJ]}),R})();var X1=m(113);function pd(R,N){1&R&&e.GkF(0)}const Ko=function(R,N){return{"small-svg":R,"large-svg":N}};function Ao(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.onSwipe($))}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(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),e.qZA(),e.kcU(),e.TgZ(12,"div",18)(13,"mat-card-title"),e._uU(14,"Boltz Submarine Swaps explained."),e.qZA()(),e.TgZ(15,"div",19)(16,"mat-card-subtitle",20),e._uU(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. "),e.qZA()()()}if(2&R){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,Ko,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function Ju(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.onSwipe($))}),e.O4$(),e.TgZ(1,"svg",21),e._UZ(2,"path",22)(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),e.qZA(),e.kcU(),e.TgZ(9,"div",18)(10,"mat-card-title"),e._uU(11,"Step 1: Deciding to Submarine Swap"),e.qZA()(),e.TgZ(12,"div",19)(13,"mat-card-subtitle",20),e._uU(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. "),e.qZA()()()}if(2&R){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,Ko,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function $1(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.onSwipe($))}),e.O4$(),e.TgZ(1,"svg",29),e._UZ(2,"path",30)(3,"path",31)(4,"path",32)(5,"path",33)(6,"path",34)(7,"circle",35)(8,"rect",36),e.TgZ(9,"defs")(10,"pattern",37),e._UZ(11,"use",38),e.qZA(),e._UZ(12,"image",39),e.qZA()(),e.kcU(),e.TgZ(13,"div",18)(14,"mat-card-title"),e._uU(15,"Step 2: Sending the on-chain funds"),e.qZA()(),e.TgZ(16,"div",19)(17,"mat-card-subtitle",20),e._uU(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. "),e.qZA()()()}if(2&R){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,Ko,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function sh(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.onSwipe($))}),e.O4$(),e.TgZ(1,"svg",40)(2,"g",41),e._UZ(3,"path",42)(4,"path",43)(5,"path",44)(6,"path",45)(7,"path",46),e.qZA(),e.TgZ(8,"defs")(9,"clipPath",47),e._UZ(10,"rect",48),e.qZA()()(),e.kcU(),e.TgZ(11,"div",18)(12,"mat-card-title"),e._uU(13,"Step 3: Receiving the funds on Lightning"),e.qZA()(),e.TgZ(14,"div",19)(15,"mat-card-subtitle",20),e._uU(16," Boltz pays the Lightning invoice to your node and claims the on-chain funds locked in the previous step. "),e.qZA()()()}if(2&R){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,Ko,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function gd(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.onSwipe($))}),e.O4$(),e.TgZ(1,"svg",49),e._UZ(2,"path",50)(3,"path",51)(4,"path",52)(5,"path",53)(6,"path",54),e.qZA(),e.kcU(),e.TgZ(7,"div",18)(8,"mat-card-title"),e._uU(9,"Done!"),e.qZA()(),e.TgZ(10,"div",19)(11,"mat-card-subtitle",20),e._uU(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. "),e.qZA()()()}if(2&R){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,Ko,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}let bc=(()=>{class R{constructor(_){this.commonService=_,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.vpe,this.screenSize="",this.screenSizeEnum=Je.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(_){2===_.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===_.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(rn.v))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-boltz-swapin-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],["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(_,H){if(1&_&&(e.YNc(0,pd,1,0,"ng-container",0),e.YNc(1,Ao,18,5,"ng-template",null,1,e.W1O),e.YNc(3,Ju,15,5,"ng-template",null,2,e.W1O),e.YNc(5,$1,19,5,"ng-template",null,3,e.W1O),e.YNc(7,sh,17,5,"ng-template",null,4,e.W1O),e.YNc(9,gd,13,5,"ng-template",null,5,e.W1O)),2&_){const $=e.MAs(2),Be=e.MAs(4),At=e.MAs(6),Yt=e.MAs(8),oi=e.MAs(10);e.Q6J("ngTemplateOutlet",1===H.stepNumber?$:2===H.stepNumber?Be:3===H.stepNumber?At:4===H.stepNumber?Yt:oi)}},dependencies:[Ji.mk,Ji.tP,Le.xw,Le.Wh,Le.yH,on.oO,Mt.$j,Mt.n5],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:[X1.l]}}),R})();function e2(R,N){1&R&&e.GkF(0)}const Qo=function(R,N){return{"small-svg":R,"large-svg":N}};function t2(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.onSwipe($))}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(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),e.qZA(),e.kcU(),e.TgZ(12,"div",18)(13,"mat-card-title"),e._uU(14,"Boltz Reverse Submarine Swap explained."),e.qZA()(),e.TgZ(15,"div",19)(16,"mat-card-subtitle",20),e._uU(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. "),e.qZA()()()}if(2&R){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,Qo,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function _l(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.onSwipe($))}),e.O4$(),e.TgZ(1,"svg",21)(2,"g",22),e._UZ(3,"path",23)(4,"path",24)(5,"path",25)(6,"path",26)(7,"path",27)(8,"path",28),e.qZA(),e._UZ(9,"path",29),e.TgZ(10,"defs")(11,"clipPath",30),e._UZ(12,"rect",31),e.qZA()()(),e.kcU(),e.TgZ(13,"div",18)(14,"mat-card-title"),e._uU(15,"Step 1: Deciding to Reverse Submarine Swap"),e.qZA()(),e.TgZ(16,"div",19)(17,"mat-card-subtitle",20),e._uU(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. "),e.qZA()()()}if(2&R){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,Qo,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function Xl(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.onSwipe($))}),e.O4$(),e.TgZ(1,"svg",32),e._UZ(2,"path",33)(3,"path",34)(4,"path",35)(5,"path",36)(6,"path",37)(7,"circle",38)(8,"rect",39),e.TgZ(9,"defs")(10,"pattern",40),e._UZ(11,"use",41),e.qZA(),e._UZ(12,"image",42),e.qZA()(),e.kcU(),e.TgZ(13,"div",18)(14,"mat-card-title"),e._uU(15,"Step 2: Paying the Lightning Invoice"),e.qZA()(),e.TgZ(16,"div",19)(17,"mat-card-subtitle",20),e._uU(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. "),e.qZA()()()}if(2&R){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,Qo,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function _d(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.onSwipe($))}),e.O4$(),e.TgZ(1,"svg",43)(2,"g",22),e._UZ(3,"path",44)(4,"path",45)(5,"path",46)(6,"path",47)(7,"path",48),e.qZA(),e.TgZ(8,"defs")(9,"clipPath",30),e._UZ(10,"rect",49),e.qZA()()(),e.kcU(),e.TgZ(11,"div",18)(12,"mat-card-title"),e._uU(13,"Step 3: Receiving the funds on-chain"),e.qZA()(),e.TgZ(14,"div",19)(15,"mat-card-subtitle",20),e._uU(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. "),e.qZA()()()}if(2&R){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,Qo,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function ba(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.onSwipe($))}),e.O4$(),e.TgZ(1,"svg",50),e._UZ(2,"path",51)(3,"path",52)(4,"path",53)(5,"path",54)(6,"path",55),e.qZA(),e.kcU(),e.TgZ(7,"div",18)(8,"mat-card-title"),e._uU(9,"Done!"),e.qZA()(),e.TgZ(10,"div",19)(11,"mat-card-subtitle",20),e._uU(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. "),e.qZA()()()}if(2&R){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,Qo,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}let vd=(()=>{class R{constructor(_){this.commonService=_,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.vpe,this.screenSize="",this.screenSizeEnum=Je.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(_){2===_.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===_.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(rn.v))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-boltz-swapout-info-graphics"]],inputs:{animationDirection:"animationDirection",stepNumber:"stepNumber"},outputs:{stepNumberChange:"stepNumberChange"},decls:11,vars:1,consts:[[4,"ngTemplateOutlet"],["swapStepBlock1",""],["swapStepBlock2",""],["swapStepBlock3",""],["swapStepBlock4",""],["swapStepBlock5",""],["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(_,H){if(1&_&&(e.YNc(0,e2,1,0,"ng-container",0),e.YNc(1,t2,18,5,"ng-template",null,1,e.W1O),e.YNc(3,_l,19,5,"ng-template",null,2,e.W1O),e.YNc(5,Xl,19,5,"ng-template",null,3,e.W1O),e.YNc(7,_d,17,5,"ng-template",null,4,e.W1O),e.YNc(9,ba,13,5,"ng-template",null,5,e.W1O)),2&_){const $=e.MAs(2),Be=e.MAs(4),At=e.MAs(6),Yt=e.MAs(8),oi=e.MAs(10);e.Q6J("ngTemplateOutlet",1===H.stepNumber?$:2===H.stepNumber?Be:3===H.stepNumber?At:4===H.stepNumber?Yt:oi)}},dependencies:[Ji.mk,Ji.tP,Le.xw,Le.Wh,Le.yH,on.oO,Mt.$j,Mt.n5],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:[X1.l]}}),R})();const n2=["stepper"];function nr(R,N){if(1&R&&e._uU(0),2&R){const _=e.oxw(2);e.Oqu(_.inputFormLabel)}}function bd(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Amount is required."),e.qZA())}function qo(R,N){if(1&R&&(e.TgZ(0,"mat-error"),e._uU(1),e.ALo(2,"number"),e.qZA()),2&R){const _=e.oxw(2);e.xp6(1),e.hij("Amount must be greater than or equal to ",e.lcZ(2,1,null==_.serviceInfo||null==_.serviceInfo.limits?null:_.serviceInfo.limits.minimal),".")}}function Lo(R,N){if(1&R&&(e.TgZ(0,"mat-error"),e._uU(1),e.ALo(2,"number"),e.qZA()),2&R){const _=e.oxw(2);e.xp6(1),e.hij("Amount must be less than or equal to ",e.lcZ(2,1,null==_.serviceInfo||null==_.serviceInfo.limits?null:_.serviceInfo.limits.maximal),".")}}function yd(R,N){1&R&&(e.TgZ(0,"button",40),e._uU(1,"Next"),e.qZA())}function $l(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",41),e.NdJ("click",function(){e.CHM(_);const $=e.oxw(2);return e.KtG($.onSwap())}),e._uU(1),e.qZA()}if(2&R){const _=e.oxw(2);e.xp6(1),e.hij("Initiate ",_.swapDirectionCaption,"")}}function r2(R,N){if(1&R&&e._uU(0),2&R){const _=e.oxw(3);e.Oqu(_.addressFormLabel)}}function a2(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Address is required."),e.qZA())}function vl(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-step",15)(1,"form",16),e.YNc(2,r2,1,1,"ng-template",17),e.TgZ(3,"div",42)(4,"mat-radio-group",43),e.NdJ("change",function($){e.CHM(_);const Be=e.oxw(2);return e.KtG(Be.onAddressTypeChange($))}),e.TgZ(5,"mat-radio-button",44),e._uU(6,"Node Local Address"),e.qZA(),e.TgZ(7,"mat-radio-button",45),e._uU(8,"External Address"),e.qZA()(),e.TgZ(9,"mat-form-field",46)(10,"mat-label"),e._uU(11,"Address"),e.qZA(),e._UZ(12,"input",47),e.YNc(13,a2,2,0,"mat-error",24),e.qZA()(),e.TgZ(14,"div",25)(15,"button",48),e.NdJ("click",function(){e.CHM(_);const $=e.oxw(2);return e.KtG($.onSwap())}),e._uU(16),e.qZA()()()()}if(2&R){const _=e.oxw(2);e.Q6J("stepControl",_.addressFormGroup)("editable",_.flgEditable),e.xp6(1),e.Q6J("formGroup",_.addressFormGroup),e.xp6(11),e.Q6J("required","external"===_.addressFormGroup.controls.addressType.value),e.xp6(1),e.Q6J("ngIf",null==_.addressFormGroup.controls.address.errors?null:_.addressFormGroup.controls.address.errors.required),e.xp6(3),e.hij("Initiate ",_.swapDirectionCaption,"")}}function xd(R,N){if(1&R&&e._uU(0),2&R){const _=e.oxw(2);e.hij("",_.swapDirectionCaption," Status")}}function s2(R,N){if(1&R&&(e.TgZ(0,"mat-icon",49),e._uU(1),e.qZA()),2&R){const _=e.oxw(2);e.xp6(1),e.Oqu(_.swapStatus&&null!=_.swapStatus&&_.swapStatus.id?"check":"close")}}function oh(R,N){1&R&&e._UZ(0,"div")}function ch(R,N){1&R&&e._UZ(0,"mat-progress-bar",50)}function Cd(R,N){if(1&R&&(e.TgZ(0,"h4",51),e._uU(1),e.qZA()),2&R){const _=e.oxw(2);e.xp6(1),e.Oqu(_.swapStatus&&_.swapStatus.error?_.swapDirectionCaption+" failed.":_.swapStatus&&_.swapStatus.id?_.swapDirectionCaption+" request placed successfully. You can check the status of the request on the 'Boltz' menu.":_.swapDirectionCaption+" request placed successfully.")}}function o2(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",52),e.NdJ("click",function(){e.CHM(_);const $=e.oxw(2);return e.KtG($.onRestart())}),e._uU(1,"Start Again"),e.qZA()}}function c2(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),e._uU(5),e.qZA()(),e.TgZ(6,"div",8)(7,"button",9),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.showInfo())}),e._uU(8,"?"),e.qZA(),e.TgZ(9,"button",10),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.onClose())}),e._uU(10,"X"),e.qZA()()(),e.TgZ(11,"mat-card-content",11)(12,"div",12)(13,"mat-vertical-stepper",13,14),e.NdJ("selectionChange",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.stepSelectionChanged($))}),e.TgZ(15,"mat-step",15)(16,"form",16),e.YNc(17,nr,1,1,"ng-template",17),e.TgZ(18,"div",18),e._UZ(19,"rtl-boltz-service-info",19),e.qZA(),e.TgZ(20,"div",20)(21,"mat-form-field",21)(22,"mat-label"),e._uU(23,"Amount"),e.qZA(),e._UZ(24,"input",22),e.TgZ(25,"mat-hint"),e._uU(26),e.ALo(27,"number"),e.ALo(28,"number"),e.qZA(),e.TgZ(29,"span",23),e._uU(30,"Sats"),e.qZA(),e.YNc(31,bd,2,0,"mat-error",24),e.YNc(32,qo,3,3,"mat-error",24),e.YNc(33,Lo,3,3,"mat-error",24),e.qZA()(),e.TgZ(34,"div",25),e.YNc(35,yd,2,0,"button",26),e.YNc(36,$l,2,1,"button",27),e.qZA()()(),e.YNc(37,vl,17,6,"mat-step",28),e.TgZ(38,"mat-step",29)(39,"form",16),e.YNc(40,xd,1,1,"ng-template",17),e.TgZ(41,"div",30)(42,"mat-expansion-panel",31)(43,"mat-expansion-panel-header")(44,"mat-panel-title")(45,"span",32),e._uU(46),e.YNc(47,s2,2,1,"mat-icon",33),e.qZA()()(),e.YNc(48,oh,1,0,"div",34),e.qZA(),e.YNc(49,ch,1,0,"mat-progress-bar",35),e.qZA(),e.YNc(50,Cd,2,1,"h4",36),e.TgZ(51,"div",25),e.YNc(52,o2,2,0,"button",37),e.qZA()()()(),e.TgZ(53,"div",38)(54,"button",39),e._uU(55,"Close"),e.qZA()()()()()()}if(2&R){const _=e.oxw(),H=e.MAs(2);e.Q6J("@opacityAnimation",void 0),e.xp6(3),e.Q6J("fxFlex",_.screenSize===_.screenSizeEnum.XS||_.screenSize===_.screenSizeEnum.SM?"83":"91"),e.xp6(2),e.Oqu(_.swapDirectionCaption),e.xp6(1),e.Q6J("fxFlex",_.screenSize===_.screenSizeEnum.XS||_.screenSize===_.screenSizeEnum.SM?"17":"9"),e.xp6(7),e.Q6J("linear",!0),e.xp6(2),e.Q6J("stepControl",_.inputFormGroup)("editable",_.flgEditable),e.xp6(1),e.Q6J("formGroup",_.inputFormGroup),e.xp6(3),e.Q6J("serviceInfo",_.serviceInfo)("direction",_.direction),e.xp6(5),e.Q6J("step",1e3),e.xp6(2),e.AsE("Range: ",e.lcZ(27,30,null==_.serviceInfo||null==_.serviceInfo.limits?null:_.serviceInfo.limits.minimal),"-",e.lcZ(28,32,null==_.serviceInfo||null==_.serviceInfo.limits?null:_.serviceInfo.limits.maximal),""),e.xp6(5),e.Q6J("ngIf",null==_.inputFormGroup||null==_.inputFormGroup.controls||null==_.inputFormGroup.controls.amount||null==_.inputFormGroup.controls.amount.errors?null:_.inputFormGroup.controls.amount.errors.required),e.xp6(1),e.Q6J("ngIf",null==_.inputFormGroup||null==_.inputFormGroup.controls||null==_.inputFormGroup.controls.amount||null==_.inputFormGroup.controls.amount.errors?null:_.inputFormGroup.controls.amount.errors.min),e.xp6(1),e.Q6J("ngIf",null==_.inputFormGroup||null==_.inputFormGroup.controls||null==_.inputFormGroup.controls.amount||null==_.inputFormGroup.controls.amount.errors?null:_.inputFormGroup.controls.amount.errors.max),e.xp6(2),e.Q6J("ngIf",_.direction===_.swapTypeEnum.SWAP_OUT),e.xp6(1),e.Q6J("ngIf",_.direction===_.swapTypeEnum.SWAP_IN),e.xp6(1),e.Q6J("ngIf",_.direction===_.swapTypeEnum.SWAP_OUT),e.xp6(1),e.Q6J("stepControl",_.statusFormGroup),e.xp6(1),e.Q6J("formGroup",_.statusFormGroup),e.xp6(3),e.Q6J("expanded",!!_.swapStatus),e.xp6(4),e.Oqu(_.swapStatus?_.swapStatus.id?_.swapDirectionCaption+" request details":_.swapDirectionCaption+" error details":"Waiting for "+_.swapDirectionCaption+" request..."),e.xp6(1),e.Q6J("ngIf",_.swapStatus),e.xp6(1),e.Q6J("ngIf",!_.swapStatus)("ngIfElse",H),e.xp6(1),e.Q6J("ngIf",!_.swapStatus),e.xp6(1),e.Q6J("ngIf",_.swapStatus),e.xp6(2),e.Q6J("ngIf",_.swapStatus&&(_.swapStatus.error||!_.swapStatus.id)),e.xp6(2),e.Q6J("mat-dialog-close",!1)}}function bl(R,N){if(1&R&&e._UZ(0,"rtl-boltz-swap-status",53),2&R){const _=e.oxw();e.Q6J("swapStatus",_.swapStatus)("direction",_.direction)}}function e1(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"rtl-boltz-swapout-info-graphics",70),e.NdJ("stepNumberChange",function($){e.CHM(_);const Be=e.oxw(2);return e.KtG(Be.stepNumber=$)}),e.qZA()}if(2&R){const _=e.oxw(2);e.Q6J("animationDirection",_.animationDirection)("stepNumber",_.stepNumber)}}function yc(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"rtl-boltz-swapin-info-graphics",70),e.NdJ("stepNumberChange",function($){e.CHM(_);const Be=e.oxw(2);return e.KtG(Be.stepNumber=$)}),e.qZA()}if(2&R){const _=e.oxw(2);e.Q6J("animationDirection",_.animationDirection)("stepNumber",_.stepNumber)}}const lh=function(R,N){return{"dot-primary":R,"dot-primary-lighter":N}};function wd(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"span",71),e.NdJ("click",function(){const Be=e.CHM(_).$implicit,At=e.oxw(2);return e.KtG(At.onStepChanged(Be))}),e._UZ(1,"p",72),e.qZA()}if(2&R){const _=N.$implicit,H=e.oxw(2);e.xp6(1),e.Q6J("ngClass",e.WLB(1,lh,H.stepNumber===_,H.stepNumber!==_))}}function Xu(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",73),e.NdJ("click",function(){e.CHM(_);const $=e.oxw(2);return e.KtG($.onReadMore())}),e._uU(1,"Read More"),e.qZA()}}function dh(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",74),e.NdJ("click",function(){e.CHM(_);const $=e.oxw(2);return e.KtG($.onStepChanged(4))}),e._uU(1,"Back"),e.qZA()}}function t1(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",75),e.NdJ("click",function(){e.CHM(_);const $=e.oxw(2);return $.flgShowInfo=!1,e.KtG($.stepNumber=1)}),e._uU(1,"Close"),e.qZA()}}function Md(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",76),e.NdJ("click",function(){e.CHM(_);const $=e.oxw(2);return $.flgShowInfo=!1,e.KtG($.stepNumber=1)}),e._uU(1,"Close"),e.qZA()}}function Sd(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",77),e.NdJ("click",function(){e.CHM(_);const $=e.oxw(2);return e.KtG($.onStepChanged($.stepNumber-1))}),e._uU(1,"Back"),e.qZA()}}function yl(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",78),e.NdJ("click",function(){e.CHM(_);const $=e.oxw(2);return e.KtG($.onStepChanged($.stepNumber+1))}),e._uU(1,"Next"),e.qZA()}}const l2=function(){return[1,2,3,4,5]};function d2(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",54)(1,"div",18)(2,"mat-card-header",55)(3,"div",56),e._UZ(4,"span",7),e.qZA(),e.TgZ(5,"div",57)(6,"button",58),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return $.flgShowInfo=!1,e.KtG($.stepNumber=1)}),e._uU(7,"X"),e.qZA()()(),e.TgZ(8,"mat-card-content",59),e.YNc(9,e1,1,2,"rtl-boltz-swapout-info-graphics",60),e.YNc(10,yc,1,2,"rtl-boltz-swapin-info-graphics",60),e.qZA(),e.TgZ(11,"div",61),e.YNc(12,wd,2,4,"span",62),e.qZA(),e.TgZ(13,"div",63),e.YNc(14,Xu,2,0,"button",64),e.YNc(15,dh,2,0,"button",65),e.YNc(16,t1,2,0,"button",66),e.YNc(17,Md,2,0,"button",67),e.YNc(18,Sd,2,0,"button",68),e.YNc(19,yl,2,0,"button",69),e.qZA()()()}if(2&R){const _=e.oxw();e.Q6J("@opacityAnimation",void 0),e.xp6(9),e.Q6J("ngIf",_.direction===_.swapTypeEnum.SWAP_OUT),e.xp6(1),e.Q6J("ngIf",_.direction===_.swapTypeEnum.SWAP_IN),e.xp6(2),e.Q6J("ngForOf",e.DdM(10,l2)),e.xp6(2),e.Q6J("ngIf",5===_.stepNumber),e.xp6(1),e.Q6J("ngIf",5===_.stepNumber),e.xp6(1),e.Q6J("ngIf",5===_.stepNumber),e.xp6(1),e.Q6J("ngIf",_.stepNumber<5),e.xp6(1),e.Q6J("ngIf",_.stepNumber>1&&_.stepNumber<5),e.xp6(1),e.Q6J("ngIf",_.stepNumber<5)}}let Ed=(()=>{class R{constructor(_,H,$,Be,At,Yt,oi){this.dialogRef=_,this.data=H,this.boltzService=$,this.formBuilder=Be,this.decimalPipe=At,this.logger=Yt,this.commonService=oi,this.faInfoCircle=Qi.sqG,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=Je.hc,this.direction=Je.hc.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=Je.cu,this.animationDirection="forward",this.flgEditable=!0,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){var _,H,$;this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||Je.hc.SWAP_OUT,this.swapDirectionCaption=this.direction===Je.hc.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[null===(_=this.serviceInfo.limits)||void 0===_?void 0:_.minimal,[ti.kI.required,ti.kI.min((null===(H=this.serviceInfo.limits)||void 0===H?void 0:H.minimal)||0),ti.kI.max((null===($=this.serviceInfo.limits)||void 0===$?void 0:$.maximal)||0)]]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[ti.kI.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges()}ngAfterViewInit(){this.direction===Je.hc.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===Je.hc.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,an.R)(this.unSubs[2])).subscribe(_=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(_){"external"===_.value?(this.addressFormGroup.controls.address.setValidators([ti.kI.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(){var _,H,$;if(!this.inputFormGroup.controls.amount.value||(null===(_=this.serviceInfo.limits)||void 0===_?void 0:_.minimal)&&this.inputFormGroup.controls.amount.value<+this.serviceInfo.limits.minimal||(null===(H=this.serviceInfo.limits)||void 0===H?void 0:H.maximal)&&this.inputFormGroup.controls.amount.value>+this.serviceInfo.limits.maximal||this.direction===Je.hc.SWAP_OUT&&"external"===this.addressFormGroup.controls.addressType.value&&(!this.addressFormGroup.controls.address.value||""===this.addressFormGroup.controls.address.value.trim()))return!0;this.flgEditable=!1,null===($=this.stepper.selected)||void 0===$||$.stepControl.setErrors(null),this.stepper.next(),this.direction===Je.hc.SWAP_IN?this.boltzService.swapIn(this.inputFormGroup.controls.amount.value).pipe((0,an.R)(this.unSubs[3])).subscribe({next:Be=>{this.swapStatus=Be,this.boltzService.listSwaps(),this.flgEditable=!0},error:Be=>{this.swapStatus={error:Be},this.flgEditable=!0,this.logger.error(Be)}}):this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,"external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"").pipe((0,an.R)(this.unSubs[4])).subscribe({next:At=>{this.swapStatus=At,this.boltzService.listSwaps(),this.flgEditable=!0},error:At=>{this.swapStatus={error:At},this.flgEditable=!0,this.logger.error(At)}})}stepSelectionChanged(_){switch(_.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.swapDirectionCaption+" Amount: "+this.decimalPipe.transform(this.inputFormGroup.controls.amount.value?this.inputFormGroup.controls.amount.value:0)+" Sats":"Amount to "+this.swapDirectionCaption,this.addressFormLabel="Withdrawal Address"}_.selectedIndex<_.previouslySelectedIndex&&_.selectedStep.stepControl.setErrors({Invalid:!0})}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===Je.hc.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(_){this.animationDirection=_<this.stepNumber?"backward":"forward",this.stepNumber=_}onRestart(){var _;this.stepper.reset(),this.flgEditable=!0,this.inputFormGroup.reset({amount:null===(_=this.serviceInfo.limits)||void 0===_?void 0:_.minimal}),this.statusFormGroup.reset(),this.addressFormGroup.reset({addressType:"local",address:""}),this.addressFormGroup.controls.address.disable()}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Tr.so),e.Y36(Tr.WI),e.Y36(gl),e.Y36(ti.QS),e.Y36(Ji.JJ),e.Y36(di.mQ),e.Y36(rn.v))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(_,H){if(1&_&&e.Gf(n2,5),2&_){let $;e.iGM($=e.CRH())&&(H.stepper=$.first)}},decls:4,vars:2,consts:[["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",4,"ngIf"],["swapStatusBlock",""],["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"],[3,"linear","selectionChange"],["stepper",""],[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","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"],["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"],["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"],["tabindex","19","mat-button","",1,"btn-close-x","p-0",3,"click"],["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"],["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,"animationDirection","stepNumber","stepNumberChange"],["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(_,H){1&_&&(e.YNc(0,c2,56,34,"div",0),e.YNc(1,bl,1,2,"ng-template",null,1,e.W1O),e.YNc(3,d2,20,11,"div",2)),2&_&&(e.Q6J("ngIf",!H.flgShowInfo),e.xp6(3),e.Q6J("ngIf",H.flgShowInfo))},dependencies:[Ji.mk,Ji.sg,Ji.O5,ti._Y,ti.Fj,ti.wV,ti.JJ,ti.JL,ti.Q7,ti.sg,ti.u,Le.xw,Le.Wh,Le.yH,on.oO,Tr.ZT,yi.lW,Mt.dn,Mt.dk,kn.ib,kn.yz,kn.yK,oo.Hw,aa.Nt,Oi.KE,Oi.hX,Oi.bx,Oi.TO,Oi.R9,ul.pW,Ar.VQ,Ar.U0,Za.C0,Za.VY,Za.Vq,Za.Ic,Sn.h,qu,md,bc,vd,Ji.JJ],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem}"],data:{animation:[q1._]}}),R})();function h2(R,N){if(1&R&&(e.TgZ(0,"mat-option",42),e._uU(1),e.qZA()),2&R){const _=N.$implicit,H=e.oxw();e.Q6J("value",_),e.xp6(1),e.Oqu(H.getLabel(_))}}function xc(R,N){1&R&&e._UZ(0,"mat-progress-bar",43)}function Td(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Status"),e.qZA())}function hh(R,N){if(1&R&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&R){const _=N.$implicit,H=e.oxw();e.xp6(1),e.Oqu(H.swapStateEnum[null==_?null:_.status])}}function Ad(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Swap ID"),e.qZA())}function Ld(R,N){if(1&R&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&R){const _=N.$implicit;e.xp6(1),e.Oqu(null==_?null:_.id)}}function uh(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Claim Address"),e.qZA())}const as=function(R){return{width:R}};function Zc(R,N){if(1&R&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&R){const _=N.$implicit,H=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,as,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.claimAddress)}}function fh(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Lockup Address"),e.qZA())}function Dd(R,N){if(1&R&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&R){const _=N.$implicit,H=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,as,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.lockupAddress)}}function mh(R,N){1&R&&(e.TgZ(0,"th",48),e._uU(1,"Onchain Amount (Sats)"),e.qZA())}function ph(R,N){if(1&R&&(e.TgZ(0,"td",45)(1,"span",49),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&R){const _=N.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.onchainAmount))}}function gh(R,N){1&R&&(e.TgZ(0,"th",48),e._uU(1,"Expected Amount (Sats)"),e.qZA())}function Id(R,N){if(1&R&&(e.TgZ(0,"td",45)(1,"span",49),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&R){const _=N.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.expectedAmount))}}function kd(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Error"),e.qZA())}function _h(R,N){if(1&R&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&R){const _=N.$implicit,H=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,as,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.error)}}function vh(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Private Key"),e.qZA())}function Od(R,N){if(1&R&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&R){const _=N.$implicit,H=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,as,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.privateKey)}}function Pd(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Preimage"),e.qZA())}function n1(R,N){if(1&R&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&R){const _=N.$implicit,H=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,as,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.preimage)}}function ho(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Redeem Script"),e.qZA())}function xl(R,N){if(1&R&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&R){const _=N.$implicit,H=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,as,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.redeemScript)}}function Rd(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Invoice"),e.qZA())}function Nd(R,N){if(1&R&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&R){const _=N.$implicit,H=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,as,H.screenSize===H.screenSizeEnum.XS?"6rem":H.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.invoice)}}function r1(R,N){1&R&&(e.TgZ(0,"th",48),e._uU(1,"Timeout Block Height"),e.qZA())}function $u(R,N){if(1&R&&(e.TgZ(0,"td",45)(1,"span",49),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&R){const _=N.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.timeoutBlockHeight))}}function Fd(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Lockup Tx ID"),e.qZA())}function e3(R,N){if(1&R&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&R){const _=N.$implicit;e.xp6(1),e.Oqu(null==_?null:_.lockupTransactionId)}}function u2(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Claim Tx ID"),e.qZA())}function a1(R,N){if(1&R&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&R){const _=N.$implicit;e.xp6(1),e.Oqu(null==_?null:_.claimTransactionId)}}function t3(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Refund Tx ID"),e.qZA())}function n3(R,N){if(1&R&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&R){const _=N.$implicit;e.xp6(1),e.Oqu(null==_?null:_.refundTransactionId)}}function f2(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"th",50)(1,"div",51)(2,"mat-select",52),e._UZ(3,"mat-select-trigger"),e.TgZ(4,"mat-option",53),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.onDownloadCSV())}),e._uU(5,"Download CSV"),e.qZA()()()()}}function Hd(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"td",54)(1,"button",55),e.NdJ("click",function($){const At=e.CHM(_).$implicit,Yt=e.oxw();return e.KtG(Yt.onSwapClick(At,$))}),e._uU(2,"View Info"),e.qZA()()}}function zd(R,N){if(1&R&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&R){const _=e.oxw(2);e.xp6(1),e.Oqu(_.emptyTableMessage)}}function Vd(R,N){if(1&R&&(e.TgZ(0,"td",56),e.YNc(1,zd,2,1,"p",57),e.qZA()),2&R){const _=e.oxw();e.xp6(1),e.Q6J("ngIf",!(null!=_.listSwaps&&_.listSwaps.data)||(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)<1)}}const Wc=function(R){return{"display-none":R}};function m2(R,N){if(1&R&&e._UZ(0,"tr",58),2&R){const _=e.oxw();e.Q6J("ngClass",e.VKq(1,Wc,(null==_.listSwaps?null:_.listSwaps.data)&&(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)>0))}}function s1(R,N){1&R&&e._UZ(0,"tr",59)}function Bd(R,N){1&R&&e._UZ(0,"tr",60)}const p2=function(){return["all"]},Ud=function(R){return{"overflow-auto error-border":R,"overflow-auto":!0}},Kr=function(){return["no_swap"]};let Gd=(()=>{class R{constructor(_,H,$,Be,At){this.logger=_,this.commonService=H,this.store=$,this.boltzService=Be,this.camelCaseWithReplace=At,this.selectedSwapType=Je.hc.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Je.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:Je.IV,sortBy:"status",sortOrder:Je.Pi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:Je.IV,sortBy:"status",sortOrder:Je.Pi.DESCENDING},this.swapStateEnum=Je.Qw,this.swapTypeEnum=Je.hc,this.faHistory=Qi.qO$,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new tr.by([]),this.selFilter="",this.pageSize=Je.IV,this.pageSizeOptions=Je.TJ,this.screenSize="",this.screenSizeEnum=Je.cu,this.unSubs=[new Bi.x,new Bi.x,new Bi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Us.Pr).pipe((0,an.R)(this.unSubs[0])).subscribe(_=>{var H,$,Be,At;this.tableSettingSwapOut=(null===(H=_.pageSettings.find(Yt=>Yt.pageId===this.PAGE_ID))||void 0===H?void 0:H.tables.find(Yt=>Yt.tableId===this.tableSettingSwapOut.tableId))||(null===($=Je.gK.find(Yt=>Yt.pageId===this.PAGE_ID))||void 0===$?void 0:$.tables.find(Yt=>Yt.tableId===this.tableSettingSwapOut.tableId)),this.tableSettingSwapIn=(null===(Be=_.pageSettings.find(Yt=>Yt.pageId===this.PAGE_ID))||void 0===Be?void 0:Be.tables.find(Yt=>Yt.tableId===this.tableSettingSwapIn.tableId))||(null===(At=Je.gK.find(Yt=>Yt.pageId===this.PAGE_ID))||void 0===At?void 0:At.tables.find(Yt=>Yt.tableId===this.tableSettingSwapIn.tableId)),this.setTableColumns(),this.swapsData&&this.swapsData.length>0&&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)}ngOnChanges(_){_.selectedSwapType&&!_.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===Je.hc.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}setTableColumns(){this.selectedSwapType===Je.hc.SWAP_IN?(this.displayedColumns=this.screenSize===Je.cu.XS||this.screenSize===Je.cu.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:Je.IV):(this.displayedColumns=this.screenSize===Je.cu.XS||this.screenSize===Je.cu.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:Je.IV)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(_){const $=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===Je.hc.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(Be=>Be.column===_);return $?$.label?$.label:this.camelCaseWithReplace.transform($.column,"_"):this.commonService.titleCase(_)}setFilterPredicate(){this.listSwaps.filterPredicate=(_,H)=>{let $="";switch(this.selFilterBy){case"all":$=JSON.stringify(_).toLowerCase();break;case"status":$=_?.status?this.swapStateEnum[_?.status]:"";break;default:$=typeof _[this.selFilterBy]>"u"?"":"string"==typeof _[this.selFilterBy]?_[this.selFilterBy].toLowerCase():"boolean"==typeof _[this.selFilterBy]?_[this.selFilterBy]?"yes":"no":_[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===$.indexOf(H):$.includes(H)}}onSwapClick(_,H){this.boltzService.swapInfo(_.id||"").pipe((0,an.R)(this.unSubs[1])).subscribe($=>{this.store.dispatch((0,Xt.qR)({payload:{data:{type:Je.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:Je.Qw[($=this.selectedSwapType===Je.hc.SWAP_IN?$.swap:$.reverseSwap).status],title:"Status",width:50,type:Je.Gi.STRING},{key:"id",value:$.id,title:"ID",width:50,type:Je.Gi.STRING}],[{key:"amount",value:$.onchainAmount?$.onchainAmount:$.expectedAmount?$.expectedAmount:0,title:$.onchainAmount?"Onchain Amount (Sats)":$.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:Je.Gi.NUMBER},{key:"timeoutBlockHeight",value:$.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:Je.Gi.NUMBER}],[{key:"address",value:$.claimAddress?$.claimAddress:$.lockupAddress?$.lockupAddress:"",title:$.claimAddress?"Claim Address":$.lockupAddress?"Lockup Address":"Address",width:100,type:Je.Gi.STRING}],[{key:"invoice",value:$.invoice,title:"Invoice",width:100,type:Je.Gi.STRING}],[{key:"privateKey",value:$.privateKey,title:"Private Key",width:100,type:Je.Gi.STRING}],[{key:"preimage",value:$.preimage,title:"Preimage",width:100,type:Je.Gi.STRING}],[{key:"redeemScript",value:$.redeemScript,title:"Redeem Script",width:100,type:Je.Gi.STRING}],[{key:"lockupTransactionId",value:$.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:Je.Gi.STRING},{key:"transactionId",value:$.claimTransactionId?$.claimTransactionId:$.refundTransactionId?$.refundTransactionId:"",title:$.claimTransactionId?"Claim Transaction ID":$.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:Je.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(_){this.listSwaps=new tr.by(_?[..._]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(H,$)=>H[$]&&isNaN(H[$])?H[$].toLocaleLowerCase():H[$]?+H[$]: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===Je.hc.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(di.mQ),e.Y36(rn.v),e.Y36(Ri.yh),e.Y36(gl),e.Y36(Wo.D3))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-boltz-swaps"]],viewQuery:function(_,H){if(1&_&&(e.Gf(Bc.YE,5),e.Gf(gc.NW,5)),2&_){let $;e.iGM($=e.CRH())&&(H.sort=$.first),e.iGM($=e.CRH())&&(H.paginator=$.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[e._Bn([{provide:Wi.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:gc.ye,useValue:(0,Je.pt)("Swaps")}]),e.TTD],decls:76,vars:20,consts:[["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,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["matInput","","name","filter",3,"ngModel","ngModelChange","input","keyup"],["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"],["table",""],["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(_,H){1&_&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2),e._UZ(3,"fa-icon",3),e.TgZ(4,"span",4),e._uU(5),e.qZA()(),e.TgZ(6,"div",5)(7,"mat-form-field",6)(8,"mat-label"),e._uU(9,"Filter By"),e.qZA(),e.TgZ(10,"mat-select",7),e.NdJ("ngModelChange",function(Be){return H.selFilterBy=Be})("selectionChange",function(){return H.selFilter="",H.applyFilter()}),e.TgZ(11,"perfect-scrollbar"),e.YNc(12,h2,2,2,"mat-option",8),e.qZA()()(),e.TgZ(13,"mat-form-field",6)(14,"mat-label"),e._uU(15,"Filter"),e.qZA(),e.TgZ(16,"input",9),e.NdJ("ngModelChange",function(Be){return H.selFilter=Be})("input",function(){return H.applyFilter()})("keyup",function(){return H.applyFilter()}),e.qZA()()()(),e.TgZ(17,"div",10)(18,"div",11),e.YNc(19,xc,1,0,"mat-progress-bar",12),e.TgZ(20,"table",13,14),e.ynx(22,15),e.YNc(23,Td,2,0,"th",16),e.YNc(24,hh,2,1,"td",17),e.BQk(),e.ynx(25,18),e.YNc(26,Ad,2,0,"th",16),e.YNc(27,Ld,2,1,"td",17),e.BQk(),e.ynx(28,19),e.YNc(29,uh,2,0,"th",16),e.YNc(30,Zc,4,4,"td",17),e.BQk(),e.ynx(31,20),e.YNc(32,fh,2,0,"th",16),e.YNc(33,Dd,4,4,"td",17),e.BQk(),e.ynx(34,21),e.YNc(35,mh,2,0,"th",22),e.YNc(36,ph,4,3,"td",17),e.BQk(),e.ynx(37,23),e.YNc(38,gh,2,0,"th",22),e.YNc(39,Id,4,3,"td",17),e.BQk(),e.ynx(40,24),e.YNc(41,kd,2,0,"th",16),e.YNc(42,_h,4,4,"td",17),e.BQk(),e.ynx(43,25),e.YNc(44,vh,2,0,"th",16),e.YNc(45,Od,4,4,"td",17),e.BQk(),e.ynx(46,26),e.YNc(47,Pd,2,0,"th",16),e.YNc(48,n1,4,4,"td",17),e.BQk(),e.ynx(49,27),e.YNc(50,ho,2,0,"th",16),e.YNc(51,xl,4,4,"td",17),e.BQk(),e.ynx(52,28),e.YNc(53,Rd,2,0,"th",16),e.YNc(54,Nd,4,4,"td",17),e.BQk(),e.ynx(55,29),e.YNc(56,r1,2,0,"th",22),e.YNc(57,$u,4,3,"td",17),e.BQk(),e.ynx(58,30),e.YNc(59,Fd,2,0,"th",16),e.YNc(60,e3,2,1,"td",17),e.BQk(),e.ynx(61,31),e.YNc(62,u2,2,0,"th",16),e.YNc(63,a1,2,1,"td",17),e.BQk(),e.ynx(64,32),e.YNc(65,t3,2,0,"th",16),e.YNc(66,n3,2,1,"td",17),e.BQk(),e.ynx(67,33),e.YNc(68,f2,6,0,"th",34),e.YNc(69,Hd,3,0,"td",35),e.BQk(),e.ynx(70,36),e.YNc(71,Vd,2,1,"td",37),e.BQk(),e.YNc(72,m2,1,3,"tr",38),e.YNc(73,s1,1,0,"tr",39),e.YNc(74,Bd,1,0,"tr",40),e.qZA(),e._UZ(75,"mat-paginator",41),e.qZA()()()),2&_&&(e.xp6(3),e.Q6J("icon",H.faHistory),e.xp6(2),e.hij("",H.swapCaption," History"),e.xp6(5),e.Q6J("ngModel",H.selFilterBy),e.xp6(2),e.Q6J("ngForOf",e.DdM(16,p2).concat(H.displayedColumns.slice(0,-1))),e.xp6(4),e.Q6J("ngModel",H.selFilter),e.xp6(3),e.Q6J("ngIf",!0===H.flgLoading[0]),e.xp6(1),e.Q6J("matSortActive",H.selectedSwapType===H.swapTypeEnum.SWAP_IN?H.tableSettingSwapIn.sortBy:H.tableSettingSwapOut.sortBy)("matSortDirection",H.selectedSwapType===H.swapTypeEnum.SWAP_IN?H.tableSettingSwapIn.sortOrder:H.tableSettingSwapOut.sortOrder)("dataSource",H.listSwaps)("ngClass",e.VKq(17,Ud,"error"===H.flgLoading[0])),e.xp6(52),e.Q6J("matFooterRowDef",e.DdM(19,Kr)),e.xp6(1),e.Q6J("matHeaderRowDef",H.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",H.displayedColumns),e.xp6(1),e.Q6J("pageSize",H.pageSize)("pageSizeOptions",H.pageSizeOptions)("showFirstLastButtons",H.screenSize!==H.screenSizeEnum.XS))},dependencies:[Ji.mk,Ji.sg,Ji.O5,Ji.PC,ti.Fj,ti.JJ,ti.On,gt.BN,Le.xw,Le.Wh,Le.yH,on.oO,on.Zl,yi.lW,aa.Nt,Oi.KE,Oi.hX,ul.pW,Wi.gD,Wi.$L,sn.ey,Bc.YE,Bc.nU,tr.BZ,tr.fO,tr.as,tr.w1,tr.Dz,tr.nj,tr.mD,tr.Ke,tr.ge,tr.ev,tr.yh,tr.XQ,tr.Gk,tr.Q2,gc.NW,un.Vv,un.$V,Ji.JJ]}),R})();const Zd=function(R){return["../",R]};function Wd(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",16),e.NdJ("click",function(){const Be=e.CHM(_).$implicit,At=e.oxw();return e.KtG(At.onSelectedIndexChange(Be))}),e._uU(1),e.qZA()}if(2&R){const _=N.$implicit,H=e.oxw();e.Q6J("active",H.activeTab.link===_.link)("routerLink",e.VKq(3,Zd,_.link)),e.xp6(1),e.Oqu(_.name)}}let Yd=(()=>{class R{constructor(_,H,$){this.router=_,this.store=H,this.boltzService=$,this.swapTypeEnum=Je.hc,this.selectedSwapType=Je.hc.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 Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.boltzService.listSwaps();const _=this.links.find(H=>this.router.url.includes(H.link));this.activeTab=_||this.links[0],this.selectedSwapType=_&&"swapin"===_.link?Je.hc.SWAP_IN:Je.hc.SWAP_OUT,this.router.events.pipe((0,an.R)(this.unSubs[0]),(0,wr.h)(H=>H instanceof Yn.Av)).subscribe({next:H=>{const $=this.links.find(Be=>H.urlAfterRedirects.includes(Be.link));this.activeTab=$||this.links[0],this.selectedSwapType=$&&"swapin"===$.link?Je.hc.SWAP_IN:Je.hc.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,an.R)(this.unSubs[1])).subscribe({next:H=>{this.swaps=H,this.swapsData=this.selectedSwapType===Je.hc.SWAP_IN&&H.swaps?H.swaps:this.selectedSwapType===Je.hc.SWAP_OUT&&H.reverseSwaps?H.reverseSwaps:[],this.flgLoading[0]=!1},error:H=>{this.flgLoading[0]="error",this.emptyTableMessage=H.message?H.message:"No swap "+(this.selectedSwapType===Je.hc.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(_){"swapin"===_.link?(this.selectedSwapType=Je.hc.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=Je.hc.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(_){this.boltzService.serviceInfo().pipe((0,an.R)(this.unSubs[2])).subscribe({next:H=>{this.store.dispatch((0,Xt.qR)({payload:{data:{serviceInfo:H,direction:_,component:Ed}}}))}})}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Yn.F0),e.Y36(Ri.yh),e.Y36(gl))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-boltz-root"]],decls:20,vars:7,consts:[["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"],["mat-tab-link","","class","mat-tab-label",3,"active","routerLink","click",4,"ngFor","ngForOf"],["tabPanel",""],["fxLayout","row","fxLayoutAlign","start start",1,"padding-gap-x-large","mt-1"],["mat-flat-button","","color","primary","type","button","tabindex","1",3,"click"],["fxLayout","row","fxFlex","100",3,"selectedSwapType","swapsData","flgLoading","emptyTableMessage"],["mat-tab-link","",1,"mat-tab-label",3,"active","routerLink","click"]],template:function(_,H){if(1&_&&(e.TgZ(0,"div",0),e.O4$(),e.TgZ(1,"svg",1)(2,"g",2)(3,"g",3),e._UZ(4,"circle",4)(5,"path",5)(6,"path",6),e.qZA()()(),e.kcU(),e.TgZ(7,"span",7),e._uU(8,"Boltz"),e.qZA()(),e.TgZ(9,"div",8)(10,"mat-card")(11,"mat-card-content",9)(12,"nav",10),e.YNc(13,Wd,2,5,"div",11),e.qZA(),e._UZ(14,"mat-tab-nav-panel",null,12),e.TgZ(16,"div",13)(17,"button",14),e.NdJ("click",function(){return H.onSwap(H.selectedSwapType)}),e._uU(18),e.qZA()(),e._UZ(19,"rtl-boltz-swaps",15),e.qZA()()()),2&_){const $=e.MAs(15);e.xp6(12),e.Q6J("tabPanel",$),e.xp6(1),e.Q6J("ngForOf",H.links),e.xp6(5),e.hij("Start ",H.activeTab.name,""),e.xp6(1),e.Q6J("selectedSwapType",H.selectedSwapType)("swapsData",H.swapsData)("flgLoading",H.flgLoading)("emptyTableMessage",H.emptyTableMessage)}},dependencies:[Ji.sg,Le.xw,Le.Wh,Le.yH,yi.lW,Mt.a8,Mt.dn,ni.BU,ni.sW,ni.Nj,Yn.rH,Gd]}),R})();class La{constructor(N){this.help=N}}function Cl(R,N){if(1&R&&(e.TgZ(0,"mat-expansion-panel",8)(1,"mat-expansion-panel-header")(2,"mat-panel-title"),e._uU(3),e.qZA()(),e.TgZ(4,"mat-panel-description",9),e._UZ(5,"span",10),e.TgZ(6,"a",11),e._uU(7),e.qZA()()()),2&R){const _=e.oxw().$implicit,H=e.oxw();e.xp6(3),e.Oqu(_.help.question),e.xp6(2),e.Q6J("innerHTML",_.help.answer,e.oJD),e.xp6(1),e.Q6J("routerLink",H.flgLoggedIn?_.help.link:"/login"),e.xp6(1),e.Oqu(H.flgLoggedIn?_.help.linkCaption:"Login to go to the page")}}function Cc(R,N){if(1&R&&(e.TgZ(0,"div",6),e.YNc(1,Cl,8,4,"mat-expansion-panel",7),e.qZA()),2&R){const _=N.$implicit,H=e.oxw();e.xp6(1),e.Q6J("ngIf","ALL"===_.help.lnImplementation||_.help.lnImplementation===H.selNode.lnImplementation)}}let g2=(()=>{class R{constructor(_,H){this.store=_,this.sessionService=H,this.helpTopics=[],this.faQuestion=Qi.Psp,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.store.select(Pe.dT).pipe((0,an.R)(this.unSubs[0])).subscribe(_=>{this.selNode=_,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,an.R)(this.unSubs[1])).subscribe(_=>{this.flgLoggedIn=!!_.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new La({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 La({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 La({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 La({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 La({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 La({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 La({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 La({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. Vendor - Vendor 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 La({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 La({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 La({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 La({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 La({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 La({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 La({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 La({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 La({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/layout",linkCaption:"Node Settings",lnImplementation:"ALL"})),this.helpTopics.push(new La({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(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Ri.yh),e.Y36(gs.m))},R.\u0275cmp=e.Xpm({type:R,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(_,H){1&_&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"fa-icon",2),e.TgZ(3,"span",3),e._uU(4,"Help"),e.qZA()(),e.TgZ(5,"div",4)(6,"div",0),e.YNc(7,Cc,2,1,"div",5),e.qZA()()()),2&_&&(e.xp6(2),e.Q6J("icon",H.faQuestion),e.xp6(5),e.Q6J("ngForOf",H.helpTopics))},dependencies:[Ji.sg,Ji.O5,gt.BN,Le.xw,Le.Wh,Le.yH,kn.ib,kn.yz,kn.yK,kn.u4,Yn.rH],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]}),R})();var jd=m(9841);function Kd(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is required."),e.qZA())}let o1=(()=>{class R{constructor(_,H){this.dialogRef=_,this.store=H,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,Xt.M6)({payload:{twoFAToken:this.token}}))}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Tr.so),e.Y36(Ri.yh))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-login-token"]],decls:19,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",3,"ngSubmit"],["tokenForm","ngForm"],["autoFocus","","matInput","","type","text","id","token","name","token","tabindex","2","required","",3,"ngModel","ngModelChange"],[4,"ngIf"],["fxLayout","row","fxFlex","100","fxLayoutAlign","end center",1,"mt-1"],["mat-button","","color","primary","tabindex","4","type","submit"]],template:function(_,H){1&_&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-card-header",2)(3,"div",3)(4,"span",4),e._uU(5,"Two Factor Token"),e.qZA()(),e.TgZ(6,"button",5),e.NdJ("click",function(){return H.onClose()}),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"form",7,8),e.NdJ("ngSubmit",function(){return H.onVerifyToken()}),e.TgZ(11,"mat-form-field")(12,"mat-label"),e._uU(13,"Token"),e.qZA(),e.TgZ(14,"input",9),e.NdJ("ngModelChange",function(Be){return H.token=Be}),e.qZA(),e.YNc(15,Kd,2,0,"mat-error",10),e.qZA(),e.TgZ(16,"div",11)(17,"button",12),e._uU(18,"Verify Token"),e.qZA()()()()()()),2&_&&(e.xp6(14),e.Q6J("ngModel",H.token),e.xp6(1),e.Q6J("ngIf",!H.token))},dependencies:[Ji.O5,ti._Y,ti.Fj,ti.JJ,ti.JL,ti.Q7,ti.On,ti.F,Le.xw,Le.Wh,Le.yH,yi.lW,Mt.dn,Mt.dk,aa.Nt,Oi.KE,Oi.hX,Oi.TO,Sn.h]}),R})();function Ch(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}function _2(R,N){if(1&R&&(e.TgZ(0,"p",20)(1,"mat-icon",21),e._uU(2,"close"),e.qZA(),e._uU(3),e.qZA()),2&R){const _=e.oxw();e.xp6(3),e.hij(" ",_.loginErrorMessage," ")}}const Yc=function(R){return{"padding-gap-large":R}},Qd=function(R,N){return{"font-size-200":R,"font-size-300":N}};let v2=(()=>{class R{constructor(_,H,$,Be){this.logger=_,this.store=H,this.rtlEffects=$,this.commonService=Be,this.faUnlockAlt=Qi.B$L,this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=Je.cu,this.loginErrorMessage="",this.apiCallStatusEnum=Je.Bn,this.unSubs=[new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,jd.a)([this.store.select(Pe.ul),this.store.select(Pe.Sr)]).pipe((0,an.R)(this.unSubs[0])).subscribe(([_,H])=>{this.loginErrorMessage="",_.status===Je.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof _.message?JSON.stringify(_.message):_.message),this.logger.error(_.message)),H.status===Je.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof H.message?JSON.stringify(H.message):H.message),this.logger.error(H.message))}),this.store.select(Pe.Yj).pipe((0,an.R)(this.unSubs[1])).subscribe(_=>{this.appConfig=_,this.logger.info(_)})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.appConfig.enable2FA?(this.store.dispatch((0,Xt.qR)({payload:{maxWidth:"35rem",data:{component:o1}}})),this.rtlEffects.closeAlert.pipe((0,Or.q)(1)).subscribe(_=>{_&&this.store.dispatch((0,Xt.x4)({payload:{password:ea(this.password),defaultPassword:Je.kO.includes(this.password.toLowerCase()),twoFAToken:_.twoFAToken}}))})):this.store.dispatch((0,Xt.x4)({payload:{password:ea(this.password),defaultPassword:Je.kO.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(di.mQ),e.Y36(Ri.yh),e.Y36(gr.V),e.Y36(rn.v))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-login"]],decls:28,vars:13,consts:[["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"],["src","assets/images/RTL-Horse-BY.svg","alt","RTL Logo",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"],["loginForm","ngForm"],["autoFocus","","matInput","","id","password","name","password","tabindex","1","required","",3,"type","ngModel","ngModelChange"],["mat-icon-button","","matSuffix","","tabindex","2","type","button",3,"click"],[4,"ngIf"],["fxFlex","100","class","color-warn pre-wrap","fxLayoutAlign","start start",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 start",1,"color-warn","pre-wrap"],[1,"mr-1","icon-small"]],template:function(_,H){1&_&&(e.TgZ(0,"div",0)(1,"div",1)(2,"mat-card",2)(3,"div",3)(4,"div",4),e._UZ(5,"img",5),e.qZA(),e.TgZ(6,"div",6)(7,"mat-card-header",7)(8,"mat-card-title",8)(9,"span",9),e._uU(10,"Welcome"),e.qZA()()(),e.TgZ(11,"mat-card-content",10)(12,"form",11,12)(14,"mat-form-field")(15,"mat-label"),e._uU(16,"Password"),e.qZA(),e.TgZ(17,"input",13),e.NdJ("ngModelChange",function(Be){return H.password=Be}),e.qZA(),e.TgZ(18,"button",14),e.NdJ("click",function(){return H.flgShow=!H.flgShow}),e.TgZ(19,"mat-icon"),e._uU(20),e.qZA()(),e.YNc(21,Ch,2,0,"mat-error",15),e.qZA(),e.YNc(22,_2,4,1,"p",16),e.TgZ(23,"div",17)(24,"button",18),e.NdJ("click",function(){return H.resetData()}),e._uU(25,"Clear"),e.qZA(),e.TgZ(26,"button",19),e.NdJ("click",function(){return H.onLogin()}),e._uU(27,"Login"),e.qZA()()()()()()()()()),2&_&&(e.xp6(6),e.Q6J("ngClass",e.VKq(8,Yc,H.screenSize===H.screenSizeEnum.XS)),e.xp6(2),e.Q6J("ngClass",e.WLB(10,Qd,H.screenSize===H.screenSizeEnum.XS,H.screenSize!==H.screenSizeEnum.XS)),e.xp6(9),e.Q6J("type",H.flgShow?"text":"password")("ngModel",H.password),e.xp6(1),e.uIk("aria-label","Hide password"),e.xp6(2),e.Oqu(H.flgShow?"visibility_off":"visibility"),e.xp6(1),e.Q6J("ngIf",!H.password),e.xp6(1),e.Q6J("ngIf",""!==H.loginErrorMessage))},dependencies:[Ji.mk,Ji.O5,ti._Y,ti.Fj,ti.JJ,ti.JL,ti.Q7,ti.On,ti.F,Le.xw,Le.Wh,Le.yH,on.oO,yi.lW,yi.RK,Mt.a8,Mt.dn,Mt.dk,Mt.n5,oo.Hw,aa.Nt,Oi.KE,Oi.hX,Oi.TO,Oi.R9,Sn.h],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}"]}),R})();var a3=m(9442);let wl=(()=>{class R{constructor(_,H){this.activatedRoute=_,this.router=H,this.error={errorCode:"",errorMessage:""},this.faTimes=Qi.NBC,this.unsubs=[new Bi.x,new Bi.x]}ngOnInit(){this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.activatedRoute.paramMap.pipe((0,an.R)(this.unsubs[0])).subscribe(_=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Yn.gz),e.Y36(Yn.F0))},R.\u0275cmp=e.Xpm({type:R,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(_,H){1&_&&(e.TgZ(0,"div",0)(1,"mat-card",1)(2,"mat-card-header",2)(3,"mat-card-title",3),e._UZ(4,"fa-icon",4),e.TgZ(5,"span",5),e._uU(6),e.qZA()()(),e.TgZ(7,"mat-card-content",6)(8,"div",7),e._uU(9),e.qZA(),e.TgZ(10,"span",8)(11,"button",9),e.NdJ("click",function(){return H.goToHelp()}),e._uU(12,"Go To Help"),e.qZA()()()()()),2&_&&(e.xp6(4),e.Q6J("icon",H.faTimes),e.xp6(2),e.hij("Error ",H.error.errorCode,""),e.xp6(3),e.Oqu(H.error.errorMessage))},dependencies:[gt.BN,Le.xw,Le.Wh,Le.yH,yi.lW,Mt.a8,Mt.dn,Mt.dk,Mt.n5],encapsulation:2}),R})();var Da=m(1643),Ml=m(8104),qd=m(9843),Sl=m(6534);function Do(R,N){1&R&&e._UZ(0,"span",16)}function Jd(R,N){1&R&&e._UZ(0,"span",17)}function jc(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"form",18,4)(2,"div",19),e._UZ(3,"fa-icon",2),e.TgZ(4,"span"),e._uU(5,"Please ensure that "),e.TgZ(6,"strong"),e._uU(7,"experimental-offers"),e.qZA(),e._uU(8," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),e.TgZ(9,"strong")(10,"a",20),e._uU(11,"here"),e.qZA()(),e._uU(12," to learn more about Core Lightning offers."),e.qZA()(),e.TgZ(13,"h4",21),e._uU(14,"Description"),e.qZA(),e.TgZ(15,"span"),e._uU(16,"Offers is a draft specification (also referred as BOLT12) for Lightning nodes and wallets, with experimental support in Core Lightning."),e.qZA(),e.TgZ(17,"h4",21),e._uU(18,"Links"),e.qZA(),e.TgZ(19,"span")(20,"a",22),e._uU(21,"Core lightning Bolt12"),e.qZA()(),e._UZ(22,"mat-divider",23),e.TgZ(23,"div",24),e._UZ(24,"fa-icon",2),e.TgZ(25,"span"),e._uU(26,"Do not get an Offer tattoo until spec is fully ratified!"),e.qZA()(),e.TgZ(27,"mat-slide-toggle",25),e.NdJ("ngModelChange",function($){e.CHM(_);const Be=e.oxw(2);return e.KtG(Be.enableOffers=$)})("change",function(){e.CHM(_);const $=e.oxw(2);return e.KtG($.onUpdateFeature())}),e._uU(28),e.qZA()()}if(2&R){const _=e.oxw(2);e.xp6(3),e.Q6J("icon",_.faInfoCircle),e.xp6(19),e.Q6J("inset",!0),e.xp6(2),e.Q6J("icon",_.faExclamationTriangle),e.xp6(3),e.Q6J("ngModel",_.enableOffers),e.xp6(1),e.hij("Enable Offers ",_.enableOffers?"(You can find Offers under Lightning -> Transactions -> Offers)":"","")}}function Io(R,N){if(1&R&&(e.TgZ(0,"div")(1,"div",28),e._UZ(2,"fa-icon",2),e.TgZ(3,"span"),e._uU(4,"Please ensure that "),e.TgZ(5,"strong"),e._uU(6,"experimental-dual-fund"),e.qZA(),e._uU(7," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),e.TgZ(8,"strong")(9,"a",29),e._uU(10,"here"),e.qZA()(),e._uU(11," to learn more about Core Lightning Liquidity Ads."),e.qZA()()()),2&R){const _=e.oxw(3);e.xp6(2),e.Q6J("icon",_.faExclamationTriangle)}}function wh(R,N){if(1&R&&(e.TgZ(0,"mat-option",47),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&R){const _=N.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",e.lcZ(2,2,_.id)," ")}}function c1(R,N){if(1&R&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&R){const _=e.oxw(4);e.xp6(1),e.hij("",_.selPolicyType.placeholder," is required.")}}function El(R,N){if(1&R&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&R){const _=e.oxw(4);e.xp6(1),e.AsE("",_.selPolicyType.placeholder," must be greater than or equal to ",_.selPolicyType.min,".")}}function wc(R,N){if(1&R&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&R){const _=e.oxw(4);e.xp6(1),e.AsE("",_.selPolicyType.placeholder," must be less than or equal to ",_.selPolicyType.max,".")}}function b2(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Lease base fee is required."),e.qZA())}function y2(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Lease base basis is required."),e.qZA())}function Xd(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Max channel routing base fee is required."),e.qZA())}function $d(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Max channel routing fee rate is required."),e.qZA())}const x2=function(R,N){return{"alert-danger":R,"alert-info":N}};function Mc(R,N){if(1&R&&(e.TgZ(0,"h4",48)(1,"span",49),e._uU(2),e.qZA()()),2&R){const _=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.WLB(2,x2,!!_.updateMsg.error,!!_.updateMsg.data)),e.xp6(1),e.hij(" ",_.updateMsg.error&&""!==_.updateMsg.error?"Error: "+_.updateMsg.error||0:_.updateMsg.data&&""!==_.updateMsg.data?_.updateMsg.data:"Successfully Updated the Funding Policy!"," ")}}function e0(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",30)(1,"div",31),e._UZ(2,"fa-icon",2),e.TgZ(3,"span"),e._uU(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."),e.qZA()(),e.TgZ(5,"div",32)(6,"mat-form-field",33)(7,"mat-label"),e._uU(8,"Policy"),e.qZA(),e.TgZ(9,"mat-select",34),e.NdJ("ngModelChange",function($){e.CHM(_);const Be=e.oxw(3);return e.KtG(Be.selPolicyType=$)})("selectionChange",function(){e.CHM(_);const $=e.oxw(3);return e.KtG($.policyMod=null)}),e.YNc(10,wh,3,4,"mat-option",35),e.qZA()(),e.TgZ(11,"mat-form-field",36)(12,"mat-label"),e._uU(13),e.qZA(),e.TgZ(14,"input",37,38),e.NdJ("ngModelChange",function($){e.CHM(_);const Be=e.oxw(3);return e.KtG(Be.policyMod=$)}),e.qZA(),e.TgZ(16,"mat-hint"),e._uU(17),e.qZA(),e.YNc(18,c1,2,1,"mat-error",26),e.YNc(19,El,2,2,"mat-error",26),e.YNc(20,wc,2,2,"mat-error",26),e.qZA()(),e.TgZ(21,"div",32)(22,"mat-form-field",36)(23,"mat-label"),e._uU(24,"Lease Base Fee (Sats)"),e.qZA(),e.TgZ(25,"input",39),e.NdJ("ngModelChange",function($){e.CHM(_);const Be=e.oxw(3);return e.KtG(Be.lease_fee_base_sat=$)}),e.qZA(),e.YNc(26,b2,2,0,"mat-error",26),e.qZA(),e.TgZ(27,"mat-form-field",36)(28,"mat-label"),e._uU(29,"Lease Base Basis (bps)"),e.qZA(),e.TgZ(30,"input",40),e.NdJ("ngModelChange",function($){e.CHM(_);const Be=e.oxw(3);return e.KtG(Be.lease_fee_basis=$)}),e.qZA(),e.YNc(31,y2,2,0,"mat-error",26),e.qZA()(),e.TgZ(32,"div",32)(33,"mat-form-field",36)(34,"mat-label"),e._uU(35,"Max Channel Routing Base Fee (Sats)"),e.qZA(),e.TgZ(36,"input",41),e.NdJ("ngModelChange",function($){e.CHM(_);const Be=e.oxw(3);return e.KtG(Be.channelFeeMaxBaseSat=$)}),e.qZA(),e.YNc(37,Xd,2,0,"mat-error",26),e.qZA(),e.TgZ(38,"mat-form-field",36)(39,"mat-label"),e._uU(40,"Max Channel Routing Fee Rate (ppm)"),e.qZA(),e.TgZ(41,"input",42),e.NdJ("ngModelChange",function($){e.CHM(_);const Be=e.oxw(3);return e.KtG(Be.channelFeeMaxProportional=$)}),e.qZA(),e.YNc(42,$d,2,0,"mat-error",26),e.qZA()(),e.YNc(43,Mc,3,5,"h4",43),e.TgZ(44,"div",44)(45,"button",45),e.NdJ("click",function(){e.CHM(_);const $=e.oxw(3);return e.KtG($.onResetPolicy())}),e._uU(46,"Reset"),e.qZA(),e.TgZ(47,"button",46),e.NdJ("click",function(){e.CHM(_);const $=e.oxw(3);return e.KtG($.onUpdateFundingPolicy())}),e._uU(48,"Update"),e.qZA()()()}if(2&R){const _=e.oxw(3);e.xp6(2),e.Q6J("icon",_.faExclamationTriangle),e.xp6(7),e.Q6J("ngModel",_.selPolicyType),e.xp6(1),e.Q6J("ngForOf",_.policyTypes),e.xp6(3),e.Oqu(_.selPolicyType.placeholder),e.xp6(1),e.Q6J("step","fixed"===_.selPolicyType.id?1e3:10)("min",_.selPolicyType.min)("max",_.selPolicyType.max)("ngModel",_.policyMod),e.xp6(3),e.lnq("",_.selPolicyType.placeholder," should be between ",_.selPolicyType.min," and ",_.selPolicyType.max,""),e.xp6(1),e.Q6J("ngIf",!_.policyMod),e.xp6(1),e.Q6J("ngIf",_.policyMod<_.selPolicyType.min),e.xp6(1),e.Q6J("ngIf",_.policyMod>_.selPolicyType.max),e.xp6(5),e.Q6J("ngModel",_.lease_fee_base_sat),e.xp6(1),e.Q6J("ngIf",!_.lease_fee_base_sat),e.xp6(4),e.Q6J("ngModel",_.lease_fee_basis),e.xp6(1),e.Q6J("ngIf",!_.lease_fee_basis),e.xp6(5),e.Q6J("ngModel",_.channelFeeMaxBaseSat),e.xp6(1),e.Q6J("ngIf",!_.channelFeeMaxBaseSat),e.xp6(4),e.Q6J("ngModel",_.channelFeeMaxProportional),e.xp6(1),e.Q6J("ngIf",!_.channelFeeMaxProportional),e.xp6(1),e.Q6J("ngIf",_.flgUpdateCalled)}}function Mh(R,N){if(1&R&&(e.TgZ(0,"form",18,4),e.YNc(2,Io,12,1,"div",26),e.YNc(3,e0,49,23,"div",27),e.qZA()),2&R){const _=e.oxw(2);e.xp6(2),e.Q6J("ngIf",!_.features[1].enabled),e.xp6(1),e.Q6J("ngIf",_.features[1].enabled)}}function l1(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-expansion-panel",9),e.NdJ("opened",function(){const Be=e.CHM(_).index,At=e.oxw();return e.KtG(At.onPanelExpanded(Be))}),e.TgZ(1,"mat-expansion-panel-header")(2,"mat-panel-title",10)(3,"h4",11),e._uU(4),e.qZA(),e.TgZ(5,"h4",11),e.YNc(6,Do,1,0,"span",12),e.YNc(7,Jd,1,0,"span",13),e._uU(8),e.qZA()()(),e.TgZ(9,"div",14),e.YNc(10,jc,29,5,"form",15),e.YNc(11,Mh,4,2,"form",15),e.qZA()()}if(2&R){const _=N.$implicit,H=N.index;e.Q6J("expanded",!1),e.xp6(4),e.Oqu(_.name),e.xp6(2),e.Q6J("ngIf",_.enabled),e.xp6(1),e.Q6J("ngIf",!_.enabled),e.xp6(1),e.hij(" ",_.enabled?"Enabled":"Disabled"," "),e.xp6(2),e.Q6J("ngIf",0===H),e.xp6(1),e.Q6J("ngIf",1===H)}}const n0=Yn.Bz.forRoot([{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([m.e(267),m.e(636)]).then(m.bind(m,1636)).then(R=>R.LNDModule),canActivate:[Da.a1]},{path:"cln",loadChildren:()=>Promise.all([m.e(267),m.e(564)]).then(m.bind(m,9564)).then(R=>R.CLNModule),canActivate:[Da.a1]},{path:"ecl",loadChildren:()=>Promise.all([m.e(267),m.e(258)]).then(m.bind(m,7258)).then(R=>R.ECLModule),canActivate:[Da.a1]},{path:"settings",component:Nt,canActivate:[Da.a1],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:ra,canActivate:[Da.a1]},{path:"auth",component:Go,canActivate:[Da.a1]},{path:"bconfig",component:q2,canActivate:[Da.a1]}]},{path:"config",component:Eo,canActivate:[Da.a1],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:Bl,canActivate:[Da.a1]},{path:"pglayout",component:sd,canActivate:[Da.a1]},{path:"services",component:pc,canActivate:[Da.a1],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:hl,canActivate:[Da.a1]},{path:"boltz",component:od,canActivate:[Da.a1]}]},{path:"experimental",component:(()=>{class R{constructor(_,H,$,Be){this.logger=_,this.store=H,this.dataService=$,this.commonService=Be,this.faInfoCircle=Qi.sqG,this.faExclamationTriangle=Qi.eHv,this.faCode=Qi.dT$,this.features=[{name:"Offers",enabled:!1},{name:"Channel Funding Policy",enabled:!1}],this.enableOffers=!1,this.fundingPolicy={},this.policyTypes=Je.gB,this.selPolicyType=Je.gB[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.dataService.listConfigs().pipe((0,an.R)(this.unSubs[0])).subscribe({next:_=>{this.logger.info("Received List Configs: "+JSON.stringify(_)),this.features[1].enabled=!!_["experimental-dual-fund"]},error:_=>{this.logger.error("List Configs Error: "+JSON.stringify(_)),this.features[1].enabled=!1}}),this.store.select(Pe.dT).pipe((0,an.R)(this.unSubs[1])).subscribe(_=>{this.selNode=_,this.enableOffers=this.selNode.settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select(N1.Rn).pipe((0,an.R)(this.unSubs[2])).subscribe(_=>{this.policyTypes[2].max=_.balance.totalBalance||1e3})}onPanelExpanded(_){1===_&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,an.R)(this.unSubs[3])).subscribe(H=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(H)),this.fundingPolicy=H,this.fundingPolicy.policy&&(this.selPolicyType=Je.gB.find($=>$.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,Xt.jS)({payload:{uiMessage:Je.m6.UPDATE_SETTING,service:Je.JX.OFFERS,settings:{enableOffers:this.enableOffers}}})),this.store.dispatch((0,Di.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.enableOffers}})),this.store.dispatch((0,ci.oo)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.enableOffers}})),this.store.dispatch((0,Pt.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.enableOffers}}))}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,an.R)(this.unSubs[4])).subscribe({next:_=>{this.logger.info(_),this.fundingPolicy=_,this.updateMsg={data:"Compact Lease: "+_.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:_=>{this.logger.error(_),this.updateMsg={error:this.commonService.extractErrorMessage(_,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.selPolicyType=this.fundingPolicy.policy?Je.gB.find(_=>_.id===this.fundingPolicy.policy)||this.policyTypes[0]:Je.gB[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(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(di.mQ),e.Y36(Ri.yh),e.Y36(Ml.D),e.Y36(rn.v))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-experimental-settings"]],decls:13,vars:3,consts:[["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"],["form","ngForm"],["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,"expanded","opened"],["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,"ngModel","ngModelChange","change"],[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,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","49"],["matInput","","type","number","tabindex","2","required","","name","plcMod",3,"step","min","max","ngModel","ngModelChange"],["plcMod","ngModel"],["matInput","","type","number","step","100","min","0","tabindex","3","required","","name","lease_fee_base_sat",3,"ngModel","ngModelChange"],["matInput","","type","number","step","1","min","0","tabindex","4","required","","name","lease_fee_basis",3,"ngModel","ngModelChange"],["matInput","","type","number","step","100","min","0","tabindex","5","required","","name","channelFeeMaxBaseSat",3,"ngModel","ngModelChange"],["matInput","","type","number","step","1000","min","0","tabindex","6","required","","name","channelFeeMaxProportional",3,"ngModel","ngModelChange"],["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(_,H){1&_&&(e.TgZ(0,"div",0)(1,"div",1),e._UZ(2,"fa-icon",2),e.TgZ(3,"span"),e._uU(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."),e.qZA()(),e.TgZ(5,"form",3,4)(7,"div",5),e._UZ(8,"fa-icon",6),e.TgZ(9,"span",7),e._uU(10,"Features"),e.qZA()(),e.TgZ(11,"mat-accordion"),e.YNc(12,l1,12,7,"mat-expansion-panel",8),e.qZA()()()),2&_&&(e.xp6(2),e.Q6J("icon",H.faInfoCircle),e.xp6(6),e.Q6J("icon",H.faCode),e.xp6(4),e.Q6J("ngForOf",H.features))},dependencies:[Ji.mk,Ji.sg,Ji.O5,ti._Y,ti.Fj,ti.wV,ti.JJ,ti.JL,ti.Q7,ti.qQ,ti.Fd,ti.On,ti.F,gt.BN,Le.xw,Le.Wh,Le.yH,on.oO,yi.lW,kn.pp,kn.ib,kn.yz,kn.yK,aa.Nt,Oi.KE,Oi.hX,Oi.bx,Oi.TO,So.d,Wi.gD,sn.ey,_r.Rr,un.$V,Sn.h,qd.F,Sl.q,Ji.rS],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}),R})(),canActivate:[Da.a1]},{path:"lnconfig",component:Lt,canActivate:[Da.a1]}]},{path:"services",component:Zl,canActivate:[Da.a1],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:Q1},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:Yd}]},{path:"help",component:g2},{path:"login",component:v2},{path:"error",component:wl},{path:"**",component:a3.w}],{scrollPositionRestoration:"enabled"});var r0=m(9470),a0=m(8878),C2=m(1572),w2=m(3267),qs=m(3683),h1=m(7851),Pa=m(5423);const uo={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Qi.HLz,link:"/lnd/home",userPersona:Je.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Qi.nNP,link:"/lnd/onchain",userPersona:Je.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Qi.BDt,link:"/lnd/connections",userPersona:Je.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Qi.FVb,link:"/lnd/connections",userPersona:Je.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:Qi.Ssp,link:"/lnd/transactions",userPersona:Je.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:Qi.SuH,link:"/lnd/routing",userPersona:Je.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:Qi.koM,link:"/lnd/reports",userPersona:Je.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Qi.wn1,link:"/lnd/graph",userPersona:Je.ol.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:Qi.hkK,link:"/lnd/messages",userPersona:Je.ol.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:Qi.q7m,link:"/lnd/channelbackup",userPersona:Je.ol.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:Qi.TmZ,link:"/lnd/network",userPersona:Je.ol.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:Qi.xf3,link:"/lnd/network",userPersona:Je.ol.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:Qi.Krp,link:"/services/loop",userPersona:Je.ol.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:Qi.vqe,link:"/services/loop",userPersona:Je.ol.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Je.ol.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:Qi.CgH,link:"/config",userPersona:Je.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:Qi.Psp,link:"/help",userPersona:Je.ol.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Qi.HLz,link:"/cln/home",userPersona:Je.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Qi.nNP,link:"/cln/onchain",userPersona:Je.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Qi.BDt,link:"/cln/connections",userPersona:Je.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Qi.FVb,link:"/cln/connections",userPersona:Je.ol.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:Qi.Acd,link:"/cln/liquidityads",userPersona:Je.ol.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:Qi.Ssp,link:"/cln/transactions",userPersona:Je.ol.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:Qi.SuH,link:"/cln/routing",userPersona:Je.ol.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:Qi.koM,link:"/cln/reports",userPersona:Je.ol.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Qi.wn1,link:"/cln/graph",userPersona:Je.ol.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:Qi.hkK,link:"/cln/messages",userPersona:Je.ol.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:Qi.USL,link:"/cln/rates",userPersona:Je.ol.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:Qi.xf3,link:"/cln/rates",userPersona:Je.ol.MERCHANT}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:Qi.CgH,link:"/config",userPersona:Je.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:Qi.Psp,link:"/help",userPersona:Je.ol.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:Qi.HLz,link:"/ecl/home",userPersona:Je.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:Qi.nNP,link:"/ecl/onchain",userPersona:Je.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:Qi.BDt,link:"/ecl/connections",userPersona:Je.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:Qi.FVb,link:"/ecl/connections",userPersona:Je.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:Qi.Ssp,link:"/ecl/transactions",userPersona:Je.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:Qi.SuH,link:"/ecl/routing",userPersona:Je.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:Qi.koM,link:"/ecl/reports",userPersona:Je.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:Qi.wn1,link:"/ecl/graph",userPersona:Je.ol.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:Qi.CgH,link:"/config",userPersona:Je.ol.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:Qi.Psp,link:"/help",userPersona:Je.ol.ALL}]};function Sh(R,N){if(1&R&&(e.TgZ(0,"mat-option",11),e._uU(1),e.qZA()),2&R){const _=N.$implicit;e.Q6J("value",_.index),e.xp6(1),e.AsE(" ",_.lnNode," (",_.lnImplementation,") ")}}function s3(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-select",9),e.NdJ("selectionChange",function($){e.CHM(_);const Be=e.oxw();return e.KtG(Be.onNodeSelectionChange($.value))}),e.TgZ(1,"perfect-scrollbar"),e.YNc(2,Sh,2,3,"mat-option",10),e.qZA()()}if(2&R){const _=e.oxw();e.Q6J("value",_.selConfigNodeIndex),e.xp6(2),e.Q6J("ngForOf",_.appConfig.nodes)}}function s0(R,N){if(1&R&&(e.TgZ(0,"span",21),e.GkF(1,22),e.qZA()),2&R){const _=e.oxw().$implicit;e.oxw(2);const H=e.MAs(11);e.xp6(1),e.Q6J("ngTemplateOutlet","boltzIconBlock"===_.icon?H:null)}}function M2(R,N){if(1&R&&e._UZ(0,"fa-icon",23),2&R){const _=e.oxw().$implicit;e.Q6J("icon",_.icon)}}function Eh(R,N){if(1&R&&(e.TgZ(0,"mat-icon",24),e._uU(1),e.qZA()),2&R){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_.icon)}}function u1(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-tree-node",15)(1,"div",16),e.NdJ("click",function(){const Be=e.CHM(_).$implicit,At=e.oxw(2);return e.KtG(At.onChildNavClicked(Be))}),e.TgZ(2,"div",17),e.YNc(3,s0,2,1,"span",18),e.YNc(4,M2,1,1,"fa-icon",19),e.YNc(5,Eh,2,1,"mat-icon",20),e.TgZ(6,"span"),e._uU(7),e.qZA()()()()}if(2&R){const _=N.$implicit;e.s9C("routerLink",_.link),e.xp6(3),e.Q6J("ngIf","SVG"===_.iconType),e.xp6(1),e.Q6J("ngIf","FA"===_.iconType),e.xp6(1),e.Q6J("ngIf",!_.iconType),e.xp6(2),e.Oqu(_.name)}}function S2(R,N){if(1&R&&(e.TgZ(0,"span",32),e.GkF(1,22),e.qZA()),2&R){const _=e.oxw().$implicit;e.xp6(1),e.Q6J("ngTemplateOutlet",_.icon)}}function Th(R,N){if(1&R&&e._UZ(0,"fa-icon",23),2&R){const _=e.oxw().$implicit;e.Q6J("icon",_.icon)}}function E2(R,N){if(1&R&&(e.TgZ(0,"mat-icon",24),e._uU(1),e.qZA()),2&R){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_.icon)}}function Qc(R,N){if(1&R&&(e.TgZ(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),e.YNc(3,S2,2,1,"span",28),e.YNc(4,Th,1,1,"fa-icon",19),e.YNc(5,E2,2,1,"mat-icon",20),e.TgZ(6,"span"),e._uU(7),e.qZA()(),e.TgZ(8,"button",29)(9,"mat-icon"),e._uU(10),e.qZA()()(),e.TgZ(11,"div",30),e.GkF(12,31),e.qZA()()),2&R){const _=N.$implicit,H=e.oxw(2);e.xp6(3),e.Q6J("ngIf","SVG"===_.iconType),e.xp6(1),e.Q6J("ngIf","FA"===_.iconType),e.xp6(1),e.Q6J("ngIf",!_.iconType),e.xp6(2),e.Oqu(_.name),e.xp6(1),e.uIk("aria-label","toggle "+_.name),e.xp6(2),e.Oqu(H.treeControlNested.isExpanded(_)?"arrow_drop_up":"arrow_drop_down"),e.xp6(1),e.ekj("tree-children-invisible",!H.treeControlNested.isExpanded(_))}}function Ah(R,N){if(1&R&&(e.TgZ(0,"mat-tree",5,12),e.YNc(2,u1,8,5,"mat-tree-node",13),e.YNc(3,Qc,13,8,"mat-nested-tree-node",14),e.qZA()),2&R){const _=e.oxw();e.Q6J("dataSource",_.navMenus)("treeControl",_.treeControlNested),e.xp6(3),e.Q6J("matTreeNodeDefWhen",_.hasChild)}}function Lh(R,N){if(1&R&&(e.TgZ(0,"span",21),e.GkF(1,22),e.qZA()),2&R){const _=e.oxw().$implicit;e.xp6(1),e.Q6J("ngTemplateOutlet",_.icon)}}function o0(R,N){if(1&R&&e._UZ(0,"fa-icon",35),2&R){const _=e.oxw().$implicit;e.s9C("matTooltip",_.name),e.Q6J("icon",_.icon)}}function Dh(R,N){if(1&R&&(e.TgZ(0,"mat-icon",36),e._uU(1),e.qZA()),2&R){const _=e.oxw().$implicit;e.s9C("matTooltip",_.name),e.xp6(1),e.Oqu(_.icon)}}function T2(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-tree-node",16),e.NdJ("click",function(){const Be=e.CHM(_).$implicit,At=e.oxw();return e.KtG(At.onShowData(Be))}),e.YNc(1,Lh,2,1,"span",18),e.YNc(2,o0,1,2,"fa-icon",33),e.YNc(3,Dh,2,2,"mat-icon",34),e.TgZ(4,"span"),e._uU(5),e.qZA()()}if(2&R){const _=N.$implicit;e.xp6(1),e.Q6J("ngIf","SVG"===_.iconType),e.xp6(1),e.Q6J("ngIf","FA"===_.iconType),e.xp6(1),e.Q6J("ngIf",!_.iconType),e.xp6(2),e.Oqu(_.name)}}function Ih(R,N){if(1&R&&(e.TgZ(0,"span",32),e.GkF(1,22),e.qZA()),2&R){const _=e.oxw().$implicit;e.xp6(1),e.Q6J("ngTemplateOutlet",_.icon)}}function f1(R,N){if(1&R&&e._UZ(0,"fa-icon",35),2&R){const _=e.oxw().$implicit;e.s9C("matTooltip",_.name),e.Q6J("icon",_.icon)}}function qc(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-tree-node",16),e.NdJ("click",function(){const Be=e.CHM(_).$implicit,At=e.oxw(2);return e.KtG(At.onClick(Be))}),e.YNc(1,Ih,2,1,"span",28),e.YNc(2,f1,1,2,"fa-icon",33),e.TgZ(3,"span"),e._uU(4),e.qZA()()}if(2&R){const _=N.$implicit;e.xp6(1),e.Q6J("ngIf","SVG"===_.iconType),e.xp6(1),e.Q6J("ngIf","FA"===_.iconType),e.xp6(2),e.Oqu(_.name)}}function ko(R,N){if(1&R&&(e.TgZ(0,"mat-tree",5),e.YNc(1,qc,5,3,"mat-tree-node",6),e.qZA()),2&R){const _=e.oxw();e.Q6J("dataSource",_.navMenusLogout)("treeControl",_.treeControlLogout)}}function kh(R,N){1&R&&(e.O4$(),e.TgZ(0,"svg",37)(1,"g",38)(2,"g",39),e._UZ(3,"circle",40)(4,"path",41)(5,"path",42),e.qZA()()())}let c0=(()=>{class R{constructor(_,H,$,Be,At,Yt){this.logger=_,this.commonService=H,this.sessionService=$,this.store=Be,this.actions=At,this.rtlEffects=Yt,this.ChildNavClicked=new e.vpe,this.faEject=Qi.KOR,this.faEye=Qi.Mdf,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.logoutNode=[{id:200,parentId:0,name:"Logout",iconType:"FA",icon:Qi.KOR}],this.showDataNodes=[{id:1e3,parentId:0,name:"Public Key",iconType:"FA",icon:Qi.Mdf}],this.showLogout=!1,this.numPendingChannels=0,this.smallScreen=!1,this.childRootRoute="",this.userPersonaEnum=Je.ol,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x],this.treeControlNested=new h1.VY(oi=>oi.children),this.treeControlLogout=new h1.VY(oi=>oi.children),this.treeControlShowData=new h1.VY(oi=>oi.children),this.navMenus=new Pa.WX,this.navMenusLogout=new Pa.WX,this.navMenusShowData=new Pa.WX,this.hasChild=(oi,xi)=>!!xi.children&&xi.children.length>0,this.version=Je.q4,uo.LNDChildren&&200===uo.LNDChildren[uo.LNDChildren.length-1].id&&uo.LNDChildren.pop(),this.navMenus.data=uo.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const _=this.sessionService.getItem("token");this.showLogout=!!_,this.flgLoading=!!_,this.store.select(Pe.Yj).pipe((0,an.R)(this.unSubs[0])).subscribe(H=>{this.appConfig=H}),this.store.select(Pe.gW).pipe((0,an.R)(this.unSubs[1])).subscribe(H=>{var $,Be;if(this.information=H.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 At=this.information.chains[0];this.informationChain.chain=At.chain,this.informationChain.network=At.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=H.selNode,this.settings=(null===($=this.selNode)||void 0===$?void 0:$.settings)||null,this.selConfigNodeIndex=+((null===(Be=H.selNode)||void 0===Be?void 0:Be.index)||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(H)}),this.sessionService.watchSession().pipe((0,an.R)(this.unSubs[2])).subscribe(H=>{this.showLogout=!!H.token,this.flgLoading=!!H.token}),this.actions.pipe((0,an.R)(this.unSubs[3]),(0,wr.h)(H=>H.type===Je.pg.LOGOUT)).subscribe(H=>{this.showLogout=!1})}onClick(_){"Logout"===_.name&&(this.store.dispatch((0,Xt.c1)({payload:{data:{type:Je.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,an.R)(this.unSubs[4])).subscribe(H=>{H&&(this.showLogout=!1,this.store.dispatch((0,Xt.kS)()))})),this.ChildNavClicked.emit(_)}onChildNavClicked(_){this.ChildNavClicked.emit(_)}filterSideMenuNodes(){var _,H;switch(null===(H=null===(_=this.selNode)||void 0===_?void 0:_.lnImplementation)||void 0===H?void 0:H.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){let _=[];_=JSON.parse(JSON.stringify(uo.LNDChildren)),this.navMenus.data=_?.filter(H=>{var $,Be;return H.children&&H.children.length?(H.children=null===($=H.children)||void 0===$?void 0:$.filter(At=>{var Yt,oi,xi;return(At.userPersona===Je.ol.ALL||At.userPersona===(null===(Yt=this.settings)||void 0===Yt?void 0:Yt.userPersona))&&"/services/loop"!==At.link&&"/services/boltz"!==At.link||"/services/loop"===At.link&&(null===(oi=this.settings)||void 0===oi?void 0:oi.swapServerUrl)&&""!==this.settings.swapServerUrl.trim()||"/services/boltz"===At.link&&(null===(xi=this.settings)||void 0===xi?void 0:xi.boltzServerUrl)&&""!==this.settings.boltzServerUrl.trim()}),H.children.length>0):H.userPersona===Je.ol.ALL||H.userPersona===(null===(Be=this.settings)||void 0===Be?void 0:Be.userPersona)})}loadCLNMenu(){let _=[];_=JSON.parse(JSON.stringify(uo.CLNChildren)),this.navMenus.data=_?.filter(H=>{var $,Be;return H.children&&H.children.length?(H.children=null===($=H.children)||void 0===$?void 0:$.filter(At=>{var Yt,oi;return(At.userPersona===Je.ol.ALL||At.userPersona===(null===(Yt=this.settings)||void 0===Yt?void 0:Yt.userPersona))&&"/services/peerswap"!==At.link||"/services/peerswap"===At.link&&(null===(oi=this.settings)||void 0===oi?void 0:oi.enablePeerswap)}),H.children.length>0):H.userPersona===Je.ol.ALL||H.userPersona===(null===(Be=this.settings)||void 0===Be?void 0:Be.userPersona)})}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(uo.ECLChildren))}onShowData(_){this.store.dispatch((0,Xt.tj)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(_){const H=this.selConfigNodeIndex;this.selConfigNodeIndex=_;const $=this.appConfig.nodes.find(Be=>+Be.index===_);this.store.dispatch((0,Xt.fk)({payload:{uiMessage:Je.m6.UPDATE_SELECTED_NODE,prevLnNodeIndex:+H,currentLnNode:$||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(di.mQ),e.Y36(rn.v),e.Y36(gs.m),e.Y36(Ri.yh),e.Y36(is.eX),e.Y36(gr.V))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-side-navigation"]],viewQuery:function(_,H){if(1&_&&e.Gf(Pa.gi,5),2&_){let $;e.iGM($=e.CRH())&&(H.tree=$.first)}},outputs:{ChildNavClicked:"ChildNavClicked"},decls:12,vars:5,consts:[["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"],["boltzIconBlock",""],[1,"m-2","multi-node-select",3,"value","selectionChange"],["tabindex","1",3,"value",4,"ngFor","ngForOf"],["tabindex","1",3,"value"],["tree",""],["matTreeNodeToggle","","routerLinkActive","active-link",3,"routerLink",4,"matTreeNodeDef"],["fxLayout","column","matTreeNodeToggle","",4,"matTreeNodeDef","matTreeNodeDefWhen"],["matTreeNodeToggle","","routerLinkActive","active-link",3,"routerLink"],[3,"click"],["fxLayout","row","fxFlex","100","fxLayoutAlign","start center"],["class","fa-icon-small mr-2",4,"ngIf"],["class","fa-icon-small mr-2",3,"icon",4,"ngIf"],["class","mat-icon-36",4,"ngIf"],[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"],["class","fa-icon-small mr-2","matTooltipPosition","right",3,"icon","matTooltip",4,"ngIf"],["class","mat-icon-36","matTooltipPosition","right",3,"matTooltip",4,"ngIf"],["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(_,H){1&_&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,s3,3,2,"mat-select",2),e._UZ(3,"mat-divider",3),e.YNc(4,Ah,4,3,"mat-tree",4),e._UZ(5,"mat-divider",3),e.TgZ(6,"mat-tree",5),e.YNc(7,T2,6,4,"mat-tree-node",6),e.qZA()(),e.TgZ(8,"div",7),e.YNc(9,ko,2,2,"mat-tree",4),e.qZA()(),e.YNc(10,kh,6,0,"ng-template",null,8,e.W1O)),2&_&&(e.xp6(2),e.Q6J("ngIf",H.appConfig.nodes.length>1),e.xp6(2),e.Q6J("ngIf",null==H.settings?null:H.settings.lnServerUrl),e.xp6(2),e.Q6J("dataSource",H.navMenusShowData)("treeControl",H.treeControlShowData),e.xp6(3),e.Q6J("ngIf",H.showLogout))},dependencies:[Ji.sg,Ji.O5,Ji.tP,gt.BN,Le.xw,Le.Wh,Le.yH,yi.RK,oo.Hw,So.d,Pa.GZ,Pa.fQ,Pa.eu,Pa.gi,Pa.uo,Pa.Ar,Wi.gD,sn.ey,Hc.gM,Yn.rH,Yn.Od,un.Vv,un.$V],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]}),R})();var l0=m(8255);function Oh(R,N){if(1&R&&(e.TgZ(0,"p",2),e._UZ(1,"fa-icon",3),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&R){const _=e.oxw();e.xp6(1),e.Q6J("icon",_.faCode),e.xp6(2),e.hij("API Version: ",null==_.information?null:_.information.api_version,"")}}function d0(R,N){if(1&R&&(e.TgZ(0,"p",11),e._UZ(1,"fa-icon",3),e.TgZ(2,"span",12),e._uU(3,"Settings"),e.qZA()()),2&R){const _=e.oxw();e.xp6(1),e.Q6J("icon",_.faUserCog)}}function Ph(R,N){if(1&R&&(e.TgZ(0,"p",13),e._UZ(1,"fa-icon",3),e.TgZ(2,"span",14),e._uU(3,"Help"),e.qZA()()),2&R){const _=e.oxw();e.xp6(1),e.Q6J("icon",_.faQuestion)}}function h0(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"p",15),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.onClick())}),e._UZ(1,"fa-icon",3),e.TgZ(2,"span"),e._uU(3,"Logout"),e.qZA()()}if(2&R){const _=e.oxw();e.xp6(1),e.Q6J("icon",_.faEject)}}let u0=(()=>{class R{constructor(_,H,$,Be,At){this.logger=_,this.sessionService=H,this.store=$,this.rtlEffects=Be,this.actions=At,this.faUserCog=Qi.gNZ,this.faCodeBranch=Qi.mh3,this.faCode=Qi.dT$,this.faCog=Qi.b7W,this.faQuestion=Qi.Psp,this.faEject=Qi.KOR,this.version="",this.information={},this.informationChain={},this.flgLoading=!0,this.showLogout=!1,this.unSubs=[new Bi.x,new Bi.x,new Bi.x,new Bi.x],this.version=Je.q4}ngOnInit(){this.store.select(Pe.R4).pipe((0,an.R)(this.unSubs[0])).subscribe(_=>{if(this.information=_,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 H=this.information.chains[0];this.informationChain.chain=H.chain,this.informationChain.network=H.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(_)}),this.sessionService.watchSession().pipe((0,an.R)(this.unSubs[1])).subscribe(_=>{this.showLogout=!!_.token,this.flgLoading=!!_.token}),this.actions.pipe((0,an.R)(this.unSubs[2]),(0,wr.h)(_=>_.type===Je.pg.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,Xt.c1)({payload:{data:{type:Je.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,an.R)(this.unSubs[3])).subscribe(_=>{_&&(this.showLogout=!1,this.store.dispatch((0,Xt.kS)()))})}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(di.mQ),e.Y36(gs.m),e.Y36(Ri.yh),e.Y36(gr.V),e.Y36(is.eX))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-top-menu"]],decls:14,vars:8,consts:[[1,"top-menu",3,"overlapTrigger"],["topMenu","matMenu"],["mat-menu-item","",1,"cursor-default"],[1,"fa-icon-small","mr-1",3,"icon"],["mat-menu-item","","class","cursor-default",4,"ngIf"],["mat-menu-item","","routerLink","/settings",4,"ngIf"],["mat-menu-item","","routerLink","/help",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-icon-button","",3,"matMenuTriggerFor"],["src","assets/images/RTL-Horse-BY.svg","alt","RTL Logo",1,"rtl-log-top"],[1,"rtl-logo-dropdown","color-white"],["mat-menu-item","","routerLink","/settings"],["routerLink","/settings"],["mat-menu-item","","routerLink","/help"],["routerLink","/help"],["mat-menu-item","",3,"click"]],template:function(_,H){if(1&_&&(e.TgZ(0,"mat-menu",0,1)(2,"p",2),e._UZ(3,"fa-icon",3),e.TgZ(4,"span"),e._uU(5),e.qZA()(),e.YNc(6,Oh,4,2,"p",4),e.YNc(7,d0,4,1,"p",5),e.YNc(8,Ph,4,1,"p",6),e.YNc(9,h0,4,1,"p",7),e.qZA(),e.TgZ(10,"button",8),e._UZ(11,"img",9),e.TgZ(12,"mat-icon",10),e._uU(13,"arrow_drop_down"),e.qZA()()),2&_){const $=e.MAs(1);e.Q6J("overlapTrigger",!1),e.xp6(3),e.Q6J("icon",H.faCodeBranch),e.xp6(2),e.hij("Version: ",H.version,""),e.xp6(1),e.Q6J("ngIf",null==H.information?null:H.information.api_version),e.xp6(1),e.Q6J("ngIf",H.showLogout),e.xp6(1),e.Q6J("ngIf",H.showLogout),e.xp6(1),e.Q6J("ngIf",H.showLogout),e.xp6(1),e.Q6J("matMenuTriggerFor",$)}},dependencies:[Ji.O5,gt.BN,yi.RK,oo.Hw,l0.VK,l0.OP,l0.p6,Yn.rH],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}),R})();const Rh=["sideNavigation"],f0=["sideNavContent"];function Nh(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",14),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.sideNavToggle())}),e.TgZ(1,"mat-icon",15),e._uU(2,"menu"),e.qZA()()}if(2&R){const _=e.oxw();e.Q6J("matTooltip",_.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",_.smallScreen)}}function Fh(R,N){1&R&&(e.O4$(),e._UZ(0,"path",20))}function Js(R,N){1&R&&(e.O4$(),e._UZ(0,"path",21))}function m0(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",16),e.NdJ("click",function(){e.CHM(_);const $=e.oxw();return e.KtG($.flgSidenavPinned=!$.flgSidenavPinned)}),e.O4$(),e.TgZ(1,"svg",17),e.YNc(2,Fh,1,0,"path",18),e.YNc(3,Js,1,0,"path",19),e.qZA()()}if(2&R){const _=e.oxw();e.Q6J("matTooltip",_.flgSidenavPinned?"Unpin Navigation Menu":"Pin Navigation Menu"),e.xp6(2),e.Q6J("ngIf",!_.flgSidenavPinned),e.xp6(1),e.Q6J("ngIf",_.flgSidenavPinned)}}function p0(R,N){if(1&R&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&R){const _=e.oxw();e.xp6(1),e.Oqu(_.information.alias?"RTL - "+_.information.alias:"RTL")}}function Hh(R,N){if(1&R&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&R){const _=e.oxw();e.xp6(1),e.Oqu(_.information.alias?"Ride The Lightning - "+_.information.alias:"Ride The Lightning")}}function zh(R,N){1&R&&(e.TgZ(0,"div",24),e._UZ(1,"mat-spinner",25),e.TgZ(2,"h4"),e._uU(3,"Loading RTL..."),e.qZA()())}const g0=function(R,N){return[R,N]};let Vh=(()=>{class R{constructor(_,H,$,Be,At,Yt,oi,xi,$i){this.logger=_,this.commonService=H,this.store=$,this.actions=Be,this.userIdle=At,this.router=Yt,this.sessionService=oi,this.breakpointObserver=xi,this.renderer=$i,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 Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x,new Bi.x]}ngOnInit(){this.router.events.subscribe(_=>{_ instanceof Yn.m2&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([In.u3.XSmall,In.u3.TabletPortrait,In.u3.Small,In.u3.Medium,In.u3.Large,In.u3.XLarge]).pipe((0,an.R)(this.unSubs[0])).subscribe(_=>{_.breakpoints[In.u3.XSmall]?(this.commonService.setScreenSize(Je.cu.XS),this.smallScreen=!0):_.breakpoints[In.u3.TabletPortrait]?(this.commonService.setScreenSize(Je.cu.SM),this.smallScreen=!0):_.breakpoints[In.u3.Small]||_.breakpoints[In.u3.Medium]?(this.commonService.setScreenSize(Je.cu.MD),this.smallScreen=!1):_.breakpoints[In.u3.Large]?(this.commonService.setScreenSize(Je.cu.LG),this.smallScreen=!1):(this.commonService.setScreenSize(Je.cu.XL),this.smallScreen=!1)}),this.store.dispatch((0,Xt.ey)()),this.accessKey=this.readAccessKey()||"",this.store.select(Pe.dT).pipe((0,an.R)(this.unSubs[1])).subscribe(_=>{this.settings=_.settings,this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1)}),this.store.select(Pe.Yj).pipe((0,an.R)(this.unSubs[2])).subscribe(_=>{this.appConfig=_}),this.store.select(Pe.R4).pipe((0,an.R)(this.unSubs[3])).subscribe(_=>{this.information=_,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,an.R)(this.unSubs[4]),(0,wr.h)(_=>_.type===Je.pg.SET_RTL_CONFIG||_.type===Je.pg.LOGIN||_.type===Je.pg.LOGOUT)).subscribe(_=>{_.type===Je.pg.SET_RTL_CONFIG&&(this.sessionService.getItem("token")||(+_.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,Xt.x4)({payload:{password:ea(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"]))),_.type===Je.pg.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)),_.type===Je.pg.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,an.R)(this.unSubs[5])).subscribe(_=>{this.logger.info("Counting Down: "+(11-_))}),this.userIdle.onTimeout().pipe((0,an.R)(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,Xt.ts)()),this.store.dispatch((0,Xt.qR)({payload:{data:{type:Je.n_.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,Xt.kS)()))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const _=window.location.href;return _.includes("access-key=")?_.substring(_.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(_){this.smallScreen&&this.sideNavigation.close()}copiedText(_){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+_)}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(di.mQ),e.Y36(rn.v),e.Y36(Ri.yh),e.Y36(is.eX),e.Y36(oc),e.Y36(Yn.F0),e.Y36(gs.m),e.Y36(In.Yg),e.Y36(e.Qsj))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-app"]],viewQuery:function(_,H){if(1&_&&(e.Gf(Rh,5),e.Gf(f0,5)),2&_){let $;e.iGM($=e.CRH())&&(H.sideNavigation=$.first),e.iGM($=e.CRH())&&(H.sideNavContent=$.first)}},decls:23,vars:15,consts:[["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"],[1,"sidenav","mat-elevation-z6",3,"perfectScrollbar","opened","mode"],["sideNavigation",""],["fxFlex","100",3,"ChildNavClicked"],[3,"perfectScrollbar"],["sideNavContent",""],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"inner-sidenav-content"],["outlet","outlet"],["class","rtl-spinner",4,"ngIf"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","matTooltipDisabled","click"],[1,"color-white"],["mat-icon-button","","matTooltipPosition","right",3,"matTooltip","click"],["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(_,H){1&_&&(e.TgZ(0,"div",0),e.ALo(1,"lowercase"),e.ALo(2,"lowercase"),e.TgZ(3,"mat-toolbar",1)(4,"div"),e.YNc(5,Nh,3,2,"button",2),e.YNc(6,m0,4,3,"button",3),e.qZA(),e.TgZ(7,"div"),e.YNc(8,p0,2,1,"span",4),e.YNc(9,Hh,2,1,"span",5),e.qZA(),e.TgZ(10,"div"),e._UZ(11,"rtl-top-menu"),e.qZA()(),e.TgZ(12,"mat-sidenav-container")(13,"mat-sidenav",6,7)(15,"rtl-side-navigation",8),e.NdJ("ChildNavClicked",function(Be){return H.onNavigationClicked(Be)}),e.qZA()(),e.TgZ(16,"mat-sidenav-content",9,10)(18,"div",11),e._UZ(19,"router-outlet",null,12),e.qZA()(),e._uU(21,"> "),e.qZA(),e.YNc(22,zh,4,0,"div",13),e.qZA()),2&_&&(e.Q6J("ngClass",e.WLB(12,g0,e.lcZ(1,8,H.settings.themeColor),e.lcZ(2,10,H.settings.themeMode))),e.xp6(5),e.Q6J("ngIf",H.flgLoggedIn),e.xp6(1),e.Q6J("ngIf",!H.smallScreen&&H.flgLoggedIn),e.xp6(2),e.Q6J("ngIf",H.smallScreen),e.xp6(1),e.Q6J("ngIf",!H.smallScreen),e.xp6(4),e.Q6J("opened",H.flgSideNavOpened&&H.flgLoggedIn)("mode",H.flgSidenavPinned&&!H.smallScreen?"side":"over"),e.xp6(9),e.Q6J("ngIf",!H.settings.themeColor))},dependencies:[Ji.mk,Ji.O5,Le.xw,Le.Wh,Le.yH,on.oO,yi.RK,oo.Hw,C2.Ou,w2.JX,w2.TM,w2.Rh,qs.Ye,Hc.gM,un.$V,c0,u0,Yn.lC,Ji.i8],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[a0.g]}}),R})(),_0=(()=>{class R{constructor(_){this.sessionService=_}intercept(_,H){if(this.sessionService.getItem("token")){const $=_.clone({headers:_.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return H.handle($)}return H.handle(_)}}return R.\u0275fac=function(_){return new(_||R)(e.LFG(gs.m))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})();var Bh=m(7998),Uh=m(711),A2=m(4947),Gn=m(3289);const L2={userPersona:"OPERATOR",themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1},D2={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},I2={apiURL:"",apisCallStatus:{Login:{status:Je.Bn.UN_INITIATED},IsAuthorized:{status:Je.Bn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:L2,authentication:D2,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,sso:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,allowPasswordUpdate:!0,nodes:[{settings:L2,authentication:D2}]},nodeData:{}},Gh=(0,Ri.Lq)(I2,(0,Ri.on)(Xt.qi,(R,{payload:N})=>{const _=JSON.parse(JSON.stringify(R.apisCallStatus));return N.action&&(_[N.action]={status:N.status,statusCode:N.statusCode,message:N.message,URL:N.URL,filePath:N.filePath}),Object.assign(Object.assign({},R),{apisCallStatus:_})}),(0,Ri.on)(Xt.vI,(R,{payload:N})=>Object.assign(Object.assign({},I2),{apisCallStatus:R.apisCallStatus,appConfig:R.appConfig,selNode:N})),(0,Ri.on)(Xt.fk,(R,{payload:N})=>Object.assign(Object.assign({},R),{selNode:N.currentLnNode})),(0,Ri.on)(Xt.Tm,(R,{payload:N})=>{const _=JSON.parse(JSON.stringify(R.selNode));switch(N.service){case Je.JX.BOLTZ:_.settings.boltzServerUrl=N.settings.boltzServerUrl;break;case Je.JX.LOOP:_.settings.swapServerUrl=N.settings.swapServerUrl;break;case Je.JX.OFFERS:_.settings.enableOffers=N.settings.enableOffers;break;case Je.JX.PEERSWAP:_.settings.enablePeerswap=N.settings.enablePeerswap}return Object.assign(Object.assign({},R),{selNode:_})}),(0,Ri.on)(Xt._V,(R,{payload:N})=>Object.assign(Object.assign({},R),{nodeData:N})),(0,Ri.on)(Xt.XT,(R,{payload:N})=>Object.assign(Object.assign({},R),{appConfig:N}))),k2={apisCallStatus:{FetchPageSettings:{status:Je.Bn.UN_INITIATED},FetchInfo:{status:Je.Bn.UN_INITIATED},FetchFees:{status:Je.Bn.UN_INITIATED},FetchPeers:{status:Je.Bn.UN_INITIATED},FetchClosedChannels:{status:Je.Bn.UN_INITIATED},FetchPendingChannels:{status:Je.Bn.UN_INITIATED},FetchAllChannels:{status:Je.Bn.UN_INITIATED},FetchBalanceBlockchain:{status:Je.Bn.UN_INITIATED},FetchInvoices:{status:Je.Bn.UN_INITIATED},FetchPayments:{status:Je.Bn.UN_INITIATED},FetchForwardingHistory:{status:Je.Bn.UN_INITIATED},FetchUTXOs:{status:Je.Bn.UN_INITIATED},FetchTransactions:{status:Je.Bn.UN_INITIATED},FetchLightningTransactions:{status:Je.Bn.UN_INITIATED},FetchNetwork:{status:Je.Bn.UN_INITIATED}},nodeSettings:{userPersona:Je.ol.OPERATOR,unannouncedChannels:!1,fiatConversion:!1,channelBackupPath:"",currencyUnits:[],selCurrencyUnit:"",lnImplementation:"",swapServerUrl:""},pageSettings:Je.gK,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 O2=!1,v0=!1;const b0=(0,Ri.Lq)(k2,(0,Ri.on)(Di.PC,(R,{payload:N})=>{const _=JSON.parse(JSON.stringify(R.apisCallStatus));return N.action&&(_[N.action]={status:N.status,statusCode:N.statusCode,message:N.message,URL:N.URL,filePath:N.filePath}),Object.assign(Object.assign({},R),{apisCallStatus:_})}),(0,Ri.on)(Di.JT,(R,{payload:N})=>Object.assign(Object.assign({},R),{nodeSettings:N})),(0,Ri.on)(Di.Ll,(R,{payload:N})=>Object.assign(Object.assign({},k2),{nodeSettings:N})),(0,Ri.on)(Di.CX,(R,{payload:N})=>Object.assign(Object.assign({},R),{information:N})),(0,Ri.on)(Di.Z8,(R,{payload:N})=>Object.assign(Object.assign({},R),{peers:N})),(0,Ri.on)(Di.EK,(R,{payload:N})=>{const _=[...R.peers],H=R.peers.findIndex($=>$.pub_key===N.pubkey);return H>-1&&_.splice(H,1),Object.assign(Object.assign({},R),{peers:_})}),(0,Ri.on)(Di.YP,(R,{payload:N})=>{var _;const H=R.listInvoices;return null===(_=H.invoices)||void 0===_||_.unshift(N),Object.assign(Object.assign({},R),{listInvoices:H})}),(0,Ri.on)(Di.aL,(R,{payload:N})=>{var _;const H=R.listInvoices;return H.invoices=null===(_=H.invoices)||void 0===_?void 0:_.map($=>$.payment_request===N.payment_request?N:$),Object.assign(Object.assign({},R),{listInvoices:H})}),(0,Ri.on)(Di.qY,(R,{payload:N})=>{var _;const H=R.listPayments;return H.payments=null===(_=H.payments)||void 0===_?void 0:_.map($=>$.payment_hash===N.payment_hash?N:$),Object.assign(Object.assign({},R),{listPayments:H})}),(0,Ri.on)(Di.RX,(R,{payload:N})=>Object.assign(Object.assign({},R),{fees:N})),(0,Ri.on)(Di._L,(R,{payload:N})=>Object.assign(Object.assign({},R),{closedChannels:N})),(0,Ri.on)(Di.TW,(R,{payload:N})=>Object.assign(Object.assign({},R),{pendingChannels:N.pendingChannels,pendingChannelsSummary:N.pendingChannelsSummary})),(0,Ri.on)(Di.as,(R,{payload:N})=>{let _=0,H=0,$=0,Be=0,At=0,Yt=0;return N&&N.forEach(oi=>{oi.local_balance||(oi.local_balance=0),!0===oi.active?(At+=+oi.local_balance,$+=1,oi.local_balance?_=+_+ +oi.local_balance:oi.local_balance=0,oi.remote_balance?H=+H+ +oi.remote_balance:oi.remote_balance=0):(Yt+=+oi.local_balance,Be+=1)}),Object.assign(Object.assign({},R),{channels:N,channelsSummary:{active:{num_channels:$,capacity:At},inactive:{num_channels:Be,capacity:Yt}},lightningBalance:{local:_,remote:H}})}),(0,Ri.on)(Di.OG,(R,{payload:N})=>{const _=[...R.channels],H=R.channels.findIndex($=>$.channel_point===N.channelPoint);return H>-1&&_.splice(H,1),Object.assign(Object.assign({},R),{channels:_})}),(0,Ri.on)(Di.Jl,(R,{payload:N})=>Object.assign(Object.assign({},R),{blockchainBalance:N})),(0,Ri.on)(Di.ks,(R,{payload:N})=>Object.assign(Object.assign({},R),{networkInfo:N})),(0,Ri.on)(Di.Nr,(R,{payload:N})=>(N.total_invoices||(N.total_invoices=R.listInvoices.total_invoices),Object.assign(Object.assign({},R),{listInvoices:N}))),(0,Ri.on)(Di.Lf,(R,{payload:N})=>{if(O2=!0,N.length&&v0){const _=[...R.utxos];return _.forEach(H=>{const $=N.find(Be=>{var At;return Be.tx_hash===(null===(At=H.outpoint)||void 0===At?void 0:At.txid_str)});H.label=$&&$.label?$.label:""}),Object.assign(Object.assign({},R),{utxos:_,transactions:N})}return Object.assign(Object.assign({},R),{transactions:N})}),(0,Ri.on)(Di.UH,(R,{payload:N})=>{if(v0=!0,N.length&&O2){const _=[...R.transactions];N.forEach(H=>{const $=_.find(Be=>{var At;return Be.tx_hash===(null===(At=H.outpoint)||void 0===At?void 0:At.txid_str)});H.label=$&&$.label?$.label:""})}return Object.assign(Object.assign({},R),{utxos:N})}),(0,Ri.on)(Di.HI,(R,{payload:N})=>{const _={listInvoicesAll:R.allLightningTransactions.listInvoicesAll,listPaymentsAll:N};return Object.assign(Object.assign({},R),{listPayments:N,allLightningTransactions:_})}),(0,Ri.on)(Di.Fr,(R,{payload:N})=>{const _={listInvoicesAll:N.listInvoicesAll,listPaymentsAll:R.listPayments};return Object.assign(Object.assign({},R),{allLightningTransactions:_})}),(0,Ri.on)(Di.QJ,(R,{payload:N})=>{const _=[...R.channels,...R.closedChannels];let H=N.forwarding_events?JSON.parse(JSON.stringify(N)):{};return H.forwarding_events&&(H=y0(H,_)),Object.assign(Object.assign({},R),{forwardingHistory:H})}),(0,Ri.on)(Di.pd,(R,{payload:N})=>{const _=[];return Je.gK.forEach(H=>{const $=N&&N.length&&N.length>0?N.find(Be=>Be.pageId===H.pageId):null;if($){const Be=JSON.parse(JSON.stringify($.tables));$.tables=[],H.tables.forEach(At=>{const Yt=Be.find(oi=>oi.tableId===At.tableId)||null;$.tables.push(Yt||JSON.parse(JSON.stringify(At)))}),_.push($)}else _.push(JSON.parse(JSON.stringify(H)))}),Object.assign(Object.assign({},R),{pageSettings:_})})),y0=(R,N)=>(R.forwarding_events.forEach(_=>{var H,$;if(N&&N.length>0)for(let Be=0;Be<N.length;Be++){if((null===(H=N[Be].chan_id)||void 0===H?void 0:H.toString())===_.chan_id_in&&(_.alias_in=N[Be].remote_alias?N[Be].remote_alias:_.chan_id_in,_.alias_out)||(null===($=N[Be].chan_id)||void 0===$?void 0:$.toString())===_.chan_id_out&&(_.alias_out=N[Be].remote_alias?N[Be].remote_alias:_.chan_id_out,_.alias_in))return;Be===N.length-1&&(_.alias_in||(_.alias_in=_.chan_id_in),_.alias_out||(_.alias_out=_.chan_id_out))}else _.alias_in=_.chan_id_in,_.alias_out=_.chan_id_out}),R),x0={apisCallStatus:{FetchPageSettings:{status:Je.Bn.UN_INITIATED},FetchInfo:{status:Je.Bn.UN_INITIATED},FetchInvoices:{status:Je.Bn.UN_INITIATED},FetchFees:{status:Je.Bn.UN_INITIATED},FetchChannels:{status:Je.Bn.UN_INITIATED},FetchBalance:{status:Je.Bn.UN_INITIATED},FetchLocalRemoteBalance:{status:Je.Bn.UN_INITIATED},FetchFeeRatesperkb:{status:Je.Bn.UN_INITIATED},FetchFeeRatesperkw:{status:Je.Bn.UN_INITIATED},FetchPeers:{status:Je.Bn.UN_INITIATED},FetchUTXOs:{status:Je.Bn.UN_INITIATED},FetchPayments:{status:Je.Bn.UN_INITIATED},FetchForwardingHistoryS:{status:Je.Bn.UN_INITIATED},FetchForwardingHistoryF:{status:Je.Bn.UN_INITIATED},FetchForwardingHistoryL:{status:Je.Bn.UN_INITIATED},FetchOffers:{status:Je.Bn.UN_INITIATED},FetchOfferBookmarks:{status:Je.Bn.UN_INITIATED}},nodeSettings:{userPersona:Je.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[],enableOffers:!1,enablePeerswap:!1},pageSettings:Je.gG,information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],activeChannels:[],pendingChannels:[],inactiveChannels:[],payments:[],forwardingHistory:{},failedForwardingHistory:{},localFailedForwardingHistory:{},invoices:{invoices:[]},utxos:[],offers:[],offersBookmarks:[]},o3=(0,Ri.Lq)(x0,(0,Ri.on)(ci.Ni,(R,{payload:N})=>{const _=JSON.parse(JSON.stringify(R.apisCallStatus));return N.action&&(_[N.action]={status:N.status,statusCode:N.statusCode,message:N.message,URL:N.URL,filePath:N.filePath}),Object.assign(Object.assign({},R),{apisCallStatus:_})}),(0,Ri.on)(ci.oo,(R,{payload:N})=>Object.assign(Object.assign({},R),{nodeSettings:N})),(0,Ri.on)(ci.xH,(R,{payload:N})=>Object.assign(Object.assign({},x0),{nodeSettings:N})),(0,Ri.on)(ci.CX,(R,{payload:N})=>Object.assign(Object.assign({},R),{information:N})),(0,Ri.on)(ci.RX,(R,{payload:N})=>Object.assign(Object.assign({},R),{fees:N})),(0,Ri.on)(ci.I8,(R,{payload:N})=>N.perkb?Object.assign(Object.assign({},R),{feeRatesPerKB:N}):N.perkw?Object.assign(Object.assign({},R),{feeRatesPerKW:N}):Object.assign({},R)),(0,Ri.on)(ci.Lu,(R,{payload:N})=>Object.assign(Object.assign({},R),{balance:N})),(0,Ri.on)(ci.xS,(R,{payload:N})=>Object.assign(Object.assign({},R),{localRemoteBalance:N})),(0,Ri.on)(ci.Z8,(R,{payload:N})=>Object.assign(Object.assign({},R),{peers:N})),(0,Ri.on)(ci.X3,(R,{payload:N})=>Object.assign(Object.assign({},R),{peers:[...R.peers,N]})),(0,Ri.on)(ci.EK,(R,{payload:N})=>{const _=[...R.peers],H=R.peers.findIndex($=>$.id===N.id);return H>-1&&_.splice(H,1),Object.assign(Object.assign({},R),{peers:_})}),(0,Ri.on)(ci.as,(R,{payload:N})=>Object.assign(Object.assign({},R),{activeChannels:N.activeChannels,pendingChannels:N.pendingChannels,inactiveChannels:N.inactiveChannels})),(0,Ri.on)(ci.OG,(R,{payload:N})=>{const _=[...R.peers];return _.forEach(H=>{H.id===N.id&&(H.connected=!1,delete H.netaddr)}),Object.assign(Object.assign({},R),{peers:_})}),(0,Ri.on)(ci.HI,(R,{payload:N})=>Object.assign(Object.assign({},R),{payments:N})),(0,Ri.on)(ci.QJ,(R,{payload:N})=>{const _=[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels],H=P2(N.listForwards,_);switch(N.listForwards=H,N.status){case Je.OO.SETTLED:const $=R.fees;return $.totalTxCount=N.totalForwards||0,Object.assign(Object.assign({},R),{fees:$,forwardingHistory:N});case Je.OO.FAILED:return Object.assign(Object.assign({},R),{failedForwardingHistory:N});case Je.OO.LOCAL_FAILED:return Object.assign(Object.assign({},R),{localFailedForwardingHistory:N});default:return Object.assign({},R)}}),(0,Ri.on)(ci.YP,(R,{payload:N})=>{var _;const H=R.invoices;return null===(_=H.invoices)||void 0===_||_.unshift(N),Object.assign(Object.assign({},R),{invoices:H})}),(0,Ri.on)(ci.Nr,(R,{payload:N})=>Object.assign(Object.assign({},R),{invoices:N})),(0,Ri.on)(ci.aL,(R,{payload:N})=>{var _;const H=R.invoices;return H.invoices=null===(_=H.invoices)||void 0===_?void 0:_.map($=>$.label===N.label?N:$),Object.assign(Object.assign({},R),{invoices:H})}),(0,Ri.on)(ci.UH,(R,{payload:N})=>Object.assign(Object.assign({},R),{utxos:N})),(0,Ri.on)(ci.Zu,(R,{payload:N})=>Object.assign(Object.assign({},R),{offers:N})),(0,Ri.on)(ci.ZH,(R,{payload:N})=>{const _=R.offers;return _?.unshift(N),Object.assign(Object.assign({},R),{offers:_})}),(0,Ri.on)(ci.JK,(R,{payload:N})=>{const _=[...R.offers],H=R.offers.findIndex($=>$.offer_id===N.offer.offer_id);return H>-1&&_.splice(H,1,N.offer),Object.assign(Object.assign({},R),{offers:_})}),(0,Ri.on)(ci.d7,(R,{payload:N})=>Object.assign(Object.assign({},R),{offersBookmarks:N})),(0,Ri.on)(ci.e9,(R,{payload:N})=>{const _=[...R.offersBookmarks],H=_.findIndex($=>$.bolt12===N.bolt12);if(H<0)_?.unshift(N);else{const $=Object.assign({},_[H]);$.title=N.title,$.amountMSat=N.amountMSat,$.lastUpdatedAt=N.lastUpdatedAt,$.description=N.description,$.vendor=N.vendor,_.splice(H,1,$)}return Object.assign(Object.assign({},R),{offersBookmarks:_})}),(0,Ri.on)(ci.en,(R,{payload:N})=>{const _=[...R.offersBookmarks],H=R.offersBookmarks.findIndex($=>$.bolt12===N.bolt12);return H>-1&&_.splice(H,1),Object.assign(Object.assign({},R),{offersBookmarks:_})}),(0,Ri.on)(ci.pd,(R,{payload:N})=>{const _=[];return Je.gG.forEach(H=>{const $=N&&N.length&&N.length>0?N.find(Be=>Be.pageId===H.pageId):null;if($){const Be=JSON.parse(JSON.stringify($.tables));$.tables=[],H.tables.forEach(At=>{const Yt=Be.find(oi=>oi.tableId===At.tableId)||null;$.tables.push(Yt||JSON.parse(JSON.stringify(At)))}),_.push($)}else _.push(JSON.parse(JSON.stringify(H)))}),Object.assign(Object.assign({},R),{pageSettings:_})})),P2=(R,N)=>(R&&R.length>0?R.forEach((_,H)=>{var $;if(N&&N.length>0)for(let Be=0;Be<N.length;Be++){if(N[Be].short_channel_id&&N[Be].short_channel_id===_.in_channel&&(_.in_channel_alias=N[Be].alias?N[Be].alias:_.in_channel,_.out_channel_alias)||N[Be].short_channel_id&&(null===($=N[Be].short_channel_id)||void 0===$?void 0:$.toString())===_.out_channel&&(_.out_channel_alias=N[Be].alias?N[Be].alias:_.out_channel,_.in_channel_alias))return;Be===N.length-1&&(_.in_channel_alias||(_.in_channel_alias=_.in_channel?_.in_channel:"-"),_.out_channel_alias||(_.out_channel_alias=_.out_channel?_.out_channel:"-"))}else _.in_channel_alias=_.in_channel?_.in_channel:"-",_.out_channel_alias=_.out_channel?_.out_channel:"-"}):R=[],R),R2={apisCallStatus:{FetchPageSettings:{status:Je.Bn.UN_INITIATED},FetchInfo:{status:Je.Bn.UN_INITIATED},FetchFees:{status:Je.Bn.UN_INITIATED},FetchChannels:{status:Je.Bn.UN_INITIATED},FetchOnchainBalance:{status:Je.Bn.UN_INITIATED},FetchPeers:{status:Je.Bn.UN_INITIATED},FetchPayments:{status:Je.Bn.UN_INITIATED},FetchInvoices:{status:Je.Bn.UN_INITIATED},FetchTransactions:{status:Je.Bn.UN_INITIATED}},nodeSettings:{userPersona:Je.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[]},pageSettings:Je.c3,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:[]},Jo=(0,Ri.Lq)(R2,(0,Ri.on)(Pt.QZ,(R,{payload:N})=>{const _=JSON.parse(JSON.stringify(R.apisCallStatus));return N.action&&(_[N.action]={status:N.status,statusCode:N.statusCode,message:N.message,URL:N.URL,filePath:N.filePath}),Object.assign(Object.assign({},R),{apisCallStatus:_})}),(0,Ri.on)(Pt.Zr,(R,{payload:N})=>Object.assign(Object.assign({},R),{nodeSettings:N})),(0,Ri.on)(Pt.Fd,(R,{payload:N})=>Object.assign(Object.assign({},R2),{nodeSettings:N})),(0,Ri.on)(Pt.CX,(R,{payload:N})=>Object.assign(Object.assign({},R),{information:N})),(0,Ri.on)(Pt.RX,(R,{payload:N})=>Object.assign(Object.assign({},R),{fees:N})),(0,Ri.on)(Pt.eN,(R,{payload:N})=>Object.assign(Object.assign({},R),{activeChannels:N})),(0,Ri.on)(Pt.TW,(R,{payload:N})=>Object.assign(Object.assign({},R),{pendingChannels:N})),(0,Ri.on)(Pt.i,(R,{payload:N})=>Object.assign(Object.assign({},R),{inactiveChannels:N})),(0,Ri.on)(Pt.HG,(R,{payload:N})=>Object.assign(Object.assign({},R),{channelsStatus:N})),(0,Ri.on)(Pt.Bw,(R,{payload:N})=>Object.assign(Object.assign({},R),{onchainBalance:N})),(0,Ri.on)(Pt.On,(R,{payload:N})=>Object.assign(Object.assign({},R),{lightningBalance:N})),(0,Ri.on)(Pt.Z8,(R,{payload:N})=>Object.assign(Object.assign({},R),{peers:N})),(0,Ri.on)(Pt.EK,(R,{payload:N})=>{const _=[...R.peers],H=R.peers.findIndex($=>$.nodeId===N.nodeId);return H>-1&&_.splice(H,1),Object.assign(Object.assign({},R),{peers:_})}),(0,Ri.on)(Pt.OG,(R,{payload:N})=>{const _=[...R.activeChannels],H=R.activeChannels.findIndex($=>$.channelId===N.channelId);return H>-1&&_.splice(H,1),Object.assign(Object.assign({},R),{activeChannels:_})}),(0,Ri.on)(Pt.HI,(R,{payload:N})=>{var _;if(N&&N.sent){const H=[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels];null===(_=N.sent)||void 0===_||_.map($=>{var Be;const At=R.peers.find(Yt=>Yt.nodeId===$.recipientNodeId);return $.recipientNodeAlias=At?At.alias:$.recipientNodeId,$.parts&&(null===(Be=$.parts)||void 0===Be||Be.map(Yt=>{const oi=H.find(xi=>xi.channelId===Yt.toChannelId);return Yt.toChannelAlias=oi?oi.alias:Yt.toChannelId,$.parts})),N.sent})}if(N&&N.relayed){const H=[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels];N.relayed.forEach($=>{$=C0($,H)})}return Object.assign(Object.assign({},R),{payments:N})}),(0,Ri.on)(Pt.Lf,(R,{payload:N})=>Object.assign(Object.assign({},R),{transactions:N})),(0,Ri.on)(Pt.YP,(R,{payload:N})=>{const _=R.invoices;return _?.unshift(N),Object.assign(Object.assign({},R),{invoices:_})}),(0,Ri.on)(Pt.Nr,(R,{payload:N})=>Object.assign(Object.assign({},R),{invoices:N})),(0,Ri.on)(Pt.aL,(R,{payload:N})=>{let _=R.invoices;return _=_?.map(H=>{if(H.paymentHash===N.paymentHash){if(N.hasOwnProperty("type")){const $=JSON.parse(JSON.stringify(H));return $.amountSettled=N.parts&&N.parts.length&&N.parts.length>0&&N.parts[0].amount?(N.parts[0].amount||0)/1e3:0,$.receivedAt=N.parts&&N.parts.length&&N.parts.length>0&&N.parts[0].timestamp?Math.round((N.parts[0].timestamp||0)/1e3):0,$.status="received",$}return N}return H}),Object.assign(Object.assign({},R),{invoices:_})}),(0,Ri.on)(Pt.DJ,(R,{payload:N})=>{let _=R.pendingChannels;return _=_?.map(H=>{var $;return H.channelId===N.channelId&&H.nodeId===N.remoteNodeId&&(N.currentState=null===($=N.currentState)||void 0===$?void 0:$.replace(/_/g," "),H.state=N.currentState),H}),Object.assign(Object.assign({},R),{pendingChannels:_})}),(0,Ri.on)(Pt.ti,(R,{payload:N})=>{var _,H,$;const Be=R.payments,At=C0(N,[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels]);null===(_=Be.relayed)||void 0===_||_.unshift(At);const Yt=(N.amountIn||0)-(N.amountOut||0),oi={localBalance:R.lightningBalance.localBalance+Yt,remoteBalance:R.lightningBalance.remoteBalance-Yt},xi=R.channelsStatus;xi.active&&(xi.active.capacity=((null===($=null===(H=R.channelsStatus)||void 0===H?void 0:H.active)||void 0===$?void 0:$.capacity)||0)+Yt);const $i={daily_fee:(R.fees.daily_fee||0)+Yt,daily_txs:(R.fees.daily_txs||0)+1,weekly_fee:(R.fees.weekly_fee||0)+Yt,weekly_txs:(R.fees.weekly_txs||0)+1,monthly_fee:(R.fees.monthly_fee||0)+Yt,monthly_txs:(R.fees.monthly_txs||0)+1},en=R.activeChannels;let Hn=!1,Tn=!1;for(const ji of en){if(ji.channelId===N.fromChannelId){Hn=!0;const vn=(ji.toLocal||0)+(ji.toRemote||0);ji.toLocal=(ji.toLocal||0)+At.amountIn,ji.toRemote=(ji.toRemote||0)-At.amountIn,ji.balancedness=0===vn?1:+(1-Math.abs((ji.toLocal-ji.toRemote)/vn)).toFixed(3)}if(ji.channelId===N.toChannelId){Tn=!0;const vn=(ji.toLocal||0)+(ji.toRemote||0);ji.toLocal=(ji.toLocal||0)-At.amountOut,ji.toRemote=(ji.toRemote||0)+At.amountOut,ji.balancedness=0===vn?1:+(1-Math.abs((ji.toLocal-ji.toRemote)/vn)).toFixed(3)}if(Tn&&Hn)break}return Object.assign(Object.assign({},R),{payments:Be,lightningBalance:oi,channelStatus:xi,fees:$i,activeChannels:en})}),(0,Ri.on)(Pt.pd,(R,{payload:N})=>{const _=[];return Je.c3.forEach(H=>{const $=N&&N.length&&N.length>0?N.find(Be=>Be.pageId===H.pageId):null;if($){const Be=JSON.parse(JSON.stringify($.tables));$.tables=[],H.tables.forEach(At=>{const Yt=Be.find(oi=>oi.tableId===At.tableId)||null;$.tables.push(Yt||JSON.parse(JSON.stringify(At)))}),_.push($)}else _.push(JSON.parse(JSON.stringify(H)))}),Object.assign(Object.assign({},R),{pageSettings:_})})),C0=(R,N)=>{var _,H,$,Be,At,Yt,oi,xi,$i,en,Hn,Tn,ji,vn;if("payment-relayed"===R.type)if(N&&N.length>0)for(let ln=0;ln<N.length;ln++){if((null===(_=N[ln].channelId)||void 0===_?void 0:_.toString())===R.fromChannelId&&(R.fromChannelAlias=N[ln].alias?N[ln].alias:R.fromChannelId,R.fromShortChannelId=N[ln].shortChannelId?N[ln].shortChannelId:"",R.toChannelAlias)||(null===(H=N[ln].channelId)||void 0===H?void 0:H.toString())===R.toChannelId&&(R.toChannelAlias=N[ln].alias?N[ln].alias:R.toChannelId,R.toShortChannelId=N[ln].shortChannelId?N[ln].shortChannelId:"",R.fromChannelAlias))return R;ln===N.length-1&&(R.fromChannelAlias||(R.fromChannelAlias=(null===($=R.fromChannelId)||void 0===$?void 0:$.substring(0,17))+"...",R.fromShortChannelId=""),R.toChannelAlias||(R.toChannelAlias=(null===(Be=R.toChannelId)||void 0===Be?void 0:Be.substring(0,17))+"...",R.toShortChannelId=""))}else R.fromChannelAlias=(null===(At=R.fromChannelId)||void 0===At?void 0:At.substring(0,17))+"...",R.fromShortChannelId="",R.toChannelAlias=(null===(Yt=R.toChannelId)||void 0===Yt?void 0:Yt.substring(0,17))+"...",R.toShortChannelId="";else if(R.type="trampoline-payment-relayed"){if(N&&N.length>0)for(let ln=0;ln<N.length;ln++)null===(oi=R.incoming)||void 0===oi||oi.forEach(yn=>{var cr;(null===(cr=N[ln].channelId)||void 0===cr?void 0:cr.toString())===yn.channelId&&(yn.channelAlias=N[ln].alias?N[ln].alias:yn.channelId,yn.shortChannelId=N[ln].shortChannelId?N[ln].shortChannelId:"")}),null===(xi=R.outgoing)||void 0===xi||xi.forEach(yn=>{var cr;(null===(cr=N[ln].channelId)||void 0===cr?void 0:cr.toString())===yn.channelId&&(yn.channelAlias=N[ln].alias?N[ln].alias:yn.channelId,yn.shortChannelId=N[ln].shortChannelId?N[ln].shortChannelId:"")}),ln===N.length-1&&(R.incoming&&R.incoming.length&&R.incoming.length>0&&!R.incoming[0].channelAlias&&(null===($i=R.incoming)||void 0===$i||$i.forEach(yn=>{var cr;yn.channelAlias=(null===(cr=yn.channelId)||void 0===cr?void 0:cr.substring(0,17))+"...",yn.shortChannelId=""})),R.outgoing&&R.outgoing.length&&R.outgoing.length>0&&!R.outgoing[0].channelAlias&&(null===(en=R.outgoing)||void 0===en||en.forEach(yn=>{var cr;yn.channelAlias=(null===(cr=yn.channelId)||void 0===cr?void 0:cr.substring(0,17))+"...",yn.shortChannelId=""})));else null===(Hn=R.incoming)||void 0===Hn||Hn.forEach(ln=>{var yn;ln.channelAlias=(null===(yn=ln.channelId)||void 0===yn?void 0:yn.substring(0,17))+"...",ln.shortChannelId=""}),null===(Tn=R.outgoing)||void 0===Tn||Tn.forEach(ln=>{var yn;ln.channelAlias=(null===(yn=ln.channelId)||void 0===yn?void 0:yn.substring(0,17))+"...",ln.shortChannelId=""});R.amountIn=(null===(ji=R.incoming)||void 0===ji?void 0:ji.reduce((ln,yn)=>ln+yn.amount,0))||0,R.fromChannelId=R.incoming&&R.incoming.length?R.incoming[0].channelId:"",R.fromChannelAlias=R.incoming&&R.incoming.length?R.incoming[0].channelAlias:"",R.fromShortChannelId=R.incoming&&R.incoming.length?R.incoming[0].shortChannelId:"",R.amountOut=(null===(vn=R.outgoing)||void 0===vn?void 0:vn.reduce((ln,yn)=>ln+yn.amount,0))||0,R.toChannelId=R.outgoing&&R.outgoing.length?R.outgoing[0].channelId:"",R.toChannelAlias=R.outgoing&&R.outgoing.length?R.outgoing[0].channelAlias:"",R.toShortChannelId=R.outgoing&&R.outgoing.length?R.outgoing[0].shortChannelId:""}return R};let m1=!1;(0,e.X6Q)()&&(m1=!0);let p1=(()=>{class R{}return R.\u0275fac=function(_){return new(_||R)},R.\u0275mod=e.oAB({type:R,bootstrap:[Vh]}),R.\u0275inj=e.cJS({providers:[{provide:jr.TP,useClass:_0,multi:!0},Da.a1,gs.m,Ml.D,Bh.d,Wl.W,rn.v,gl],imports:[Ws,r0.m,n0,In.xu,t.t6,cc.forRoot({idle:3590,timeout:10,ping:12e3}),Ri.Aw.forRoot({root:Gh,lnd:b0,cln:o3,ecl:Jo},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),is.sQ.forRoot([gr.V,Uh.l,A2.J,Gn.o]),m1?Cs.FT.instrument():[]]}),R})();t.q6().bootstrapModule(p1).catch(R=>console.error(R))},7854:(Ge,Q)=>{"use strict";function m(ve){return Object.keys(ve).map(fe=>ve[fe])}var ve;Object.defineProperty(Q,"__esModule",{value:!0}),(ve=Q.HashAlgorithms||(Q.HashAlgorithms={})).SHA1="sha1",ve.SHA256="sha256",ve.SHA512="sha512";const t=m(Q.HashAlgorithms);!function(ve){ve.ASCII="ascii",ve.BASE64="base64",ve.HEX="hex",ve.LATIN1="latin1",ve.UTF8="utf8"}(Q.KeyEncodings||(Q.KeyEncodings={}));const e=m(Q.KeyEncodings);!function(ve){ve.HOTP="hotp",ve.TOTP="totp"}(Q.Strategy||(Q.Strategy={}));const g=m(Q.Strategy),A=()=>{throw new Error("Please provide an options.createDigest implementation.")};function o(ve){return/^(\d+)$/.test(ve)}function C(ve,fe,Se){return ve.length>=fe?ve:`${Array(fe+1).join(Se)}${ve}`.slice(-1*fe)}function u(ve){const fe=`otpauth://${ve.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,Se=[];if(g.indexOf(ve.type)<0)throw new Error(`Expecting options.type to be one of ${g.join(", ")}. Received ${ve.type}.`);if("hotp"===ve.type){if(null==ve.counter||"number"!=typeof ve.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');Se.push(`&counter=${ve.counter}`)}return"totp"===ve.type&&ve.step&&Se.push(`&period=${ve.step}`),ve.digits&&Se.push(`&digits=${ve.digits}`),ve.algorithm&&Se.push(`&algorithm=${ve.algorithm.toUpperCase()}`),ve.issuer&&Se.push(`&issuer=${encodeURIComponent(ve.issuer)}`),fe.replace("{labelPrefix}",encodeURIComponent(ve.issuer||ve.accountName)).replace("{accountName}",encodeURIComponent(ve.accountName)).replace("{secret}",ve.secret).replace("{query}",Se.join(""))}class O{constructor(fe={}){this._defaultOptions=Object.freeze({...fe}),this._options=Object.freeze({})}create(fe={}){return new O(fe)}clone(fe={}){const Se=this.create({...this._defaultOptions,...fe});return Se.options=this._options,Se}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(fe){this._options=Object.freeze({...this._options,...fe})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function d(ve){if("function"!=typeof ve.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof ve.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof ve.digits)throw new Error("Expecting options.digits to be a number.");if(!ve.algorithm||t.indexOf(ve.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${t.join(", ")}. Received ${ve.algorithm}.`);if(!ve.encoding||e.indexOf(ve.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${e.join(", ")}. Received ${ve.encoding}.`)}const M=(ve,fe,Se)=>Buffer.from(fe,Se).toString("hex");function w(){return{algorithm:Q.HashAlgorithms.SHA1,createHmacKey:M,createDigest:A,digits:6,encoding:Q.KeyEncodings.ASCII}}function L(ve){const fe={...w(),...ve};return d(fe),Object.freeze(fe)}function I(ve){return C(ve.toString(16),16,"0")}function P(ve,fe){const Se=Buffer.from(ve,"hex"),te=15&Se[Se.length-1],Ae=((127&Se[te])<<24|(255&Se[te+1])<<16|(255&Se[te+2])<<8|255&Se[te+3])%Math.pow(10,fe);return C(String(Ae),fe,"0")}function Z(ve,fe,Se){const te=Se.digest||function U(ve,fe,Se){const te=I(fe),Ke=Se.createHmacKey(Se.algorithm,ve,Se.encoding);return Se.createDigest(Se.algorithm,Ke,te)}(ve,fe,Se);return P(te,Se.digits)}function Y(ve,fe,Se,te){return!!o(ve)&&ve===Z(fe,Se,te)}function j(ve,fe,Se,te,Ke){return u({algorithm:Ke.algorithm,digits:Ke.digits,type:Q.Strategy.HOTP,accountName:ve,counter:te,issuer:fe,secret:Se})}class X extends O{create(fe={}){return new X(fe)}allOptions(){return L(this.options)}generate(fe,Se){return Z(fe,Se,this.allOptions())}check(fe,Se,te){return Y(fe,Se,te,this.allOptions())}verify(fe){if("object"!=typeof fe)throw new Error("Expecting argument 0 of verify to be an object");return this.check(fe.token,fe.secret,fe.counter)}keyuri(fe,Se,te,Ke){return j(fe,Se,te,Ke,this.allOptions())}}function ee(ve){if("number"==typeof ve)return[Math.abs(ve),Math.abs(ve)];if(Array.isArray(ve)){const[fe,Se]=ve;if("number"==typeof fe&&"number"==typeof Se)return[Math.abs(fe),Math.abs(Se)]}throw new Error("Expecting options.window to be an number or [number, number].")}function ue(ve){if(d(ve),ee(ve.window),"number"!=typeof ve.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof ve.step)throw new Error("Expecting options.step to be a number.")}const le=(ve,fe,Se)=>{const te=ve.length,Ke=Buffer.from(ve,fe).toString("hex");if(te<Se){const Ae=new Array(Se-te+1).join(Ke);return Buffer.from(Ae,"hex").slice(0,Se).toString("hex")}return Ke},ie=(ve,fe,Se)=>{switch(ve){case Q.HashAlgorithms.SHA1:return le(fe,Se,20);case Q.HashAlgorithms.SHA256:return le(fe,Se,32);case Q.HashAlgorithms.SHA512:return le(fe,Se,64);default:throw new Error(`Expecting algorithm to be one of ${t.join(", ")}. Received ${ve}.`)}};function ce(){return{algorithm:Q.HashAlgorithms.SHA1,createDigest:A,createHmacKey:ie,digits:6,encoding:Q.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function se(ve){const fe={...ce(),...ve};return ue(fe),Object.freeze(fe)}function he(ve,fe){return Math.floor(ve/fe/1e3)}function E(ve,fe){return Z(ve,he(fe.epoch,fe.step),fe)}function i(ve,fe,Se,te){const Ke=[];if(0===te)return Ke;for(let Ae=1;Ae<=te;Ae++)Ke.push(ve+fe*Ae*Se);return Ke}function r(ve,fe,Se){const te=ee(Se),Ke=1e3*fe;return{current:ve,past:i(ve,-1,Ke,te[0]),future:i(ve,1,Ke,te[1])}}function h(ve,fe,Se){return!!o(ve)&&ve===E(fe,Se)}function c(ve,fe,Se,te){let Ke=null;return ve.some((Ae,oe)=>!!h(fe,Se,{...te,epoch:Ae})&&(Ke=oe+1,!0)),Ke}function y(ve,fe,Se){if(h(ve,fe,Se))return 0;const te=r(Se.epoch,Se.step,Se.window),Ke=c(te.past,ve,fe,Se);return null!==Ke?-1*Ke:c(te.future,ve,fe,Se)}function S(ve,fe){return Math.floor(ve/1e3)%fe}function k(ve,fe){return fe-S(ve,fe)}function v(ve,fe,Se,te){return u({algorithm:te.algorithm,digits:te.digits,step:te.step,type:Q.Strategy.TOTP,accountName:ve,issuer:fe,secret:Se})}class n extends X{create(fe={}){return new n(fe)}allOptions(){return se(this.options)}generate(fe){return E(fe,this.allOptions())}checkDelta(fe,Se){return y(fe,Se,this.allOptions())}check(fe,Se){return"number"==typeof this.checkDelta(fe,Se)}verify(fe){if("object"!=typeof fe)throw new Error("Expecting argument 0 of verify to be an object");return this.check(fe.token,fe.secret)}timeRemaining(){const fe=this.allOptions();return k(fe.epoch,fe.step)}timeUsed(){const fe=this.allOptions();return S(fe.epoch,fe.step)}keyuri(fe,Se,te){return v(fe,Se,te,this.allOptions())}}function b(ve){if(ue(ve),"function"!=typeof ve.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(ve.keyEncoder&&"function"!=typeof ve.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function B(){return{algorithm:Q.HashAlgorithms.SHA1,createDigest:A,createHmacKey:ie,digits:6,encoding:Q.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function z(ve){const fe={...B(),...ve};return b(fe),Object.freeze(fe)}function W(ve,fe){return fe.keyEncoder(ve,fe.encoding)}function Oe(ve,fe){return fe.keyDecoder(ve,fe.encoding)}function it(ve,fe){return W(fe.createRandomBytes(ve,fe.encoding),fe)}function Ne(ve,fe){return E(Oe(ve,fe),fe)}function ot(ve,fe,Se){return y(ve,Oe(fe,Se),Se)}class Ie extends n{create(fe={}){return new Ie(fe)}allOptions(){return z(this.options)}generate(fe){return Ne(fe,this.allOptions())}checkDelta(fe,Se){return ot(fe,Se,this.allOptions())}encode(fe){return W(fe,this.allOptions())}decode(fe){return Oe(fe,this.allOptions())}generateSecret(fe=10){return it(fe,this.allOptions())}}Q.Authenticator=Ie,Q.HASH_ALGORITHMS=t,Q.HOTP=X,Q.KEY_ENCODINGS=e,Q.OTP=O,Q.STRATEGY=g,Q.TOTP=n,Q.authenticatorCheckWithWindow=ot,Q.authenticatorDecoder=Oe,Q.authenticatorDefaultOptions=B,Q.authenticatorEncoder=W,Q.authenticatorGenerateSecret=it,Q.authenticatorOptionValidator=b,Q.authenticatorOptions=z,Q.authenticatorToken=Ne,Q.createDigestPlaceholder=A,Q.hotpCheck=Y,Q.hotpCounter=I,Q.hotpCreateHmacKey=M,Q.hotpDefaultOptions=w,Q.hotpDigestToToken=P,Q.hotpKeyuri=j,Q.hotpOptions=L,Q.hotpOptionsValidator=d,Q.hotpToken=Z,Q.isTokenValid=o,Q.keyuri=u,Q.objectValues=m,Q.padStart=C,Q.totpCheck=h,Q.totpCheckByEpoch=c,Q.totpCheckWithWindow=y,Q.totpCounter=he,Q.totpCreateHmacKey=ie,Q.totpDefaultOptions=ce,Q.totpEpochAvailable=r,Q.totpKeyuri=v,Q.totpOptions=se,Q.totpOptionsValidator=ue,Q.totpPadSecret=le,Q.totpTimeRemaining=k,Q.totpTimeUsed=S,Q.totpToken=E},6098:(Ge,Q,m)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});var e=function t(o){return o&&"object"==typeof o&&"default"in o?o.default:o}(m(1348));Q.createDigest=(o,C,u)=>e.createHmac(o,Buffer.from(C,"hex")).update(Buffer.from(u,"hex")).digest().toString("hex"),Q.createRandomBytes=(o,C)=>e.randomBytes(o).toString(C)},1415:(Ge,Q,m)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});var e=function t(o){return o&&"object"==typeof o&&"default"in o?o.default:o}(m(2167));Q.keyDecoder=(o,C)=>e.decode(o).toString(C),Q.keyEncoder=(o,C)=>e.encode(Buffer.from(o,C).toString("ascii")).toString().replace(/=/g,"")},842:(Ge,Q,m)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});var t=m(6098),e=m(1415),g=m(7854);const A=new g.HOTP({createDigest:t.createDigest}),o=new g.TOTP({createDigest:t.createDigest}),C=new g.Authenticator({createDigest:t.createDigest,createRandomBytes:t.createRandomBytes,keyDecoder:e.keyDecoder,keyEncoder:e.keyEncoder});Q.authenticator=C,Q.hotp=A,Q.totp=o},7977:(Ge,Q,m)=>{"use strict";const t=Q;t.bignum=m(3854),t.define=m(9516).define,t.base=m(7813),t.constants=m(5459),t.decoders=m(196),t.encoders=m(1131)},9516:(Ge,Q,m)=>{"use strict";const t=m(1131),e=m(196),g=m(3894);function o(C,u){this.name=C,this.body=u,this.decoders={},this.encoders={}}Q.define=function(u,O){return new o(u,O)},o.prototype._createNamed=function(u){const O=this.name;function d(M){this._initNamed(M,O)}return g(d,u),d.prototype._initNamed=function(w,L){u.call(this,w,L)},new d(this)},o.prototype._getDecoder=function(u){return this.decoders.hasOwnProperty(u=u||"der")||(this.decoders[u]=this._createNamed(e[u])),this.decoders[u]},o.prototype.decode=function(u,O,d){return this._getDecoder(O).decode(u,d)},o.prototype._getEncoder=function(u){return this.encoders.hasOwnProperty(u=u||"der")||(this.encoders[u]=this._createNamed(t[u])),this.encoders[u]},o.prototype.encode=function(u,O,d){return this._getEncoder(O).encode(u,d)}},2769:(Ge,Q,m)=>{"use strict";const t=m(3894),e=m(4919).b,g=m(2038).Buffer;function A(C,u){e.call(this,u),g.isBuffer(C)?(this.base=C,this.offset=0,this.length=C.length):this.error("Input not Buffer")}function o(C,u){if(Array.isArray(C))this.length=0,this.value=C.map(function(O){return o.isEncoderBuffer(O)||(O=new o(O,u)),this.length+=O.length,O},this);else if("number"==typeof C){if(!(0<=C&&C<=255))return u.error("non-byte EncoderBuffer value");this.value=C,this.length=1}else if("string"==typeof C)this.value=C,this.length=g.byteLength(C);else{if(!g.isBuffer(C))return u.error("Unsupported type: "+typeof C);this.value=C,this.length=C.length}}t(A,e),Q.C=A,A.isDecoderBuffer=function(u){return u instanceof A||"object"==typeof u&&g.isBuffer(u.base)&&"DecoderBuffer"===u.constructor.name&&"number"==typeof u.offset&&"number"==typeof u.length&&"function"==typeof u.save&&"function"==typeof u.restore&&"function"==typeof u.isEmpty&&"function"==typeof u.readUInt8&&"function"==typeof u.skip&&"function"==typeof u.raw},A.prototype.save=function(){return{offset:this.offset,reporter:e.prototype.save.call(this)}},A.prototype.restore=function(u){const O=new A(this.base);return O.offset=u.offset,O.length=this.offset,this.offset=u.offset,e.prototype.restore.call(this,u.reporter),O},A.prototype.isEmpty=function(){return this.offset===this.length},A.prototype.readUInt8=function(u){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(u||"DecoderBuffer overrun")},A.prototype.skip=function(u,O){if(!(this.offset+u<=this.length))return this.error(O||"DecoderBuffer overrun");const d=new A(this.base);return d._reporterState=this._reporterState,d.offset=this.offset,d.length=this.offset+u,this.offset+=u,d},A.prototype.raw=function(u){return this.base.slice(u?u.offset:this.offset,this.length)},Q.R=o,o.isEncoderBuffer=function(u){return u instanceof o||"object"==typeof u&&"EncoderBuffer"===u.constructor.name&&"number"==typeof u.length&&"function"==typeof u.join},o.prototype.join=function(u,O){return u||(u=g.alloc(this.length)),O||(O=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(d){d.join(u,O),O+=d.length}):("number"==typeof this.value?u[O]=this.value:"string"==typeof this.value?u.write(this.value,O):g.isBuffer(this.value)&&this.value.copy(u,O),O+=this.length)),u}},7813:(Ge,Q,m)=>{"use strict";const t=Q;t.Reporter=m(4919).b,t.DecoderBuffer=m(2769).C,t.EncoderBuffer=m(2769).R,t.Node=m(1430)},1430:(Ge,Q,m)=>{"use strict";const t=m(4919).b,e=m(2769).R,g=m(2769).C,A=m(2391),o=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],C=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(o);function O(M,w,L){const I={};this._baseState=I,I.name=L,I.enc=M,I.parent=w||null,I.children=null,I.tag=null,I.args=null,I.reverseArgs=null,I.choice=null,I.optional=!1,I.any=!1,I.obj=!1,I.use=null,I.useDecoder=null,I.key=null,I.default=null,I.explicit=null,I.implicit=null,I.contains=null,I.parent||(I.children=[],this._wrap())}Ge.exports=O;const d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];O.prototype.clone=function(){const w=this._baseState,L={};d.forEach(function(P){L[P]=w[P]});const I=new this.constructor(L.parent);return I._baseState=L,I},O.prototype._wrap=function(){const w=this._baseState;C.forEach(function(L){this[L]=function(){const P=new this.constructor(this);return w.children.push(P),P[L].apply(P,arguments)}},this)},O.prototype._init=function(w){const L=this._baseState;A(null===L.parent),w.call(this),L.children=L.children.filter(function(I){return I._baseState.parent===this},this),A.equal(L.children.length,1,"Root node can have only one child")},O.prototype._useArgs=function(w){const L=this._baseState,I=w.filter(function(P){return P instanceof this.constructor},this);w=w.filter(function(P){return!(P instanceof this.constructor)},this),0!==I.length&&(A(null===L.children),L.children=I,I.forEach(function(P){P._baseState.parent=this},this)),0!==w.length&&(A(null===L.args),L.args=w,L.reverseArgs=w.map(function(P){if("object"!=typeof P||P.constructor!==Object)return P;const U={};return Object.keys(P).forEach(function(Z){Z==(0|Z)&&(Z|=0),U[P[Z]]=Z}),U}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(M){O.prototype[M]=function(){throw new Error(M+" not implemented for encoding: "+this._baseState.enc)}}),o.forEach(function(M){O.prototype[M]=function(){const L=this._baseState,I=Array.prototype.slice.call(arguments);return A(null===L.tag),L.tag=M,this._useArgs(I),this}}),O.prototype.use=function(w){A(w);const L=this._baseState;return A(null===L.use),L.use=w,this},O.prototype.optional=function(){return this._baseState.optional=!0,this},O.prototype.def=function(w){const L=this._baseState;return A(null===L.default),L.default=w,L.optional=!0,this},O.prototype.explicit=function(w){const L=this._baseState;return A(null===L.explicit&&null===L.implicit),L.explicit=w,this},O.prototype.implicit=function(w){const L=this._baseState;return A(null===L.explicit&&null===L.implicit),L.implicit=w,this},O.prototype.obj=function(){const w=this._baseState,L=Array.prototype.slice.call(arguments);return w.obj=!0,0!==L.length&&this._useArgs(L),this},O.prototype.key=function(w){const L=this._baseState;return A(null===L.key),L.key=w,this},O.prototype.any=function(){return this._baseState.any=!0,this},O.prototype.choice=function(w){const L=this._baseState;return A(null===L.choice),L.choice=w,this._useArgs(Object.keys(w).map(function(I){return w[I]})),this},O.prototype.contains=function(w){const L=this._baseState;return A(null===L.use),L.contains=w,this},O.prototype._decode=function(w,L){const I=this._baseState;if(null===I.parent)return w.wrapResult(I.children[0]._decode(w,L));let Y,P=I.default,U=!0,Z=null;if(null!==I.key&&(Z=w.enterKey(I.key)),I.optional){let j=null;if(null!==I.explicit?j=I.explicit:null!==I.implicit?j=I.implicit:null!==I.tag&&(j=I.tag),null!==j||I.any){if(U=this._peekTag(w,j,I.any),w.isError(U))return U}else{const X=w.save();try{null===I.choice?this._decodeGeneric(I.tag,w,L):this._decodeChoice(w,L),U=!0}catch{U=!1}w.restore(X)}}if(I.obj&&U&&(Y=w.enterObject()),U){if(null!==I.explicit){const X=this._decodeTag(w,I.explicit);if(w.isError(X))return X;w=X}const j=w.offset;if(null===I.use&&null===I.choice){let X;I.any&&(X=w.save());const ee=this._decodeTag(w,null!==I.implicit?I.implicit:I.tag,I.any);if(w.isError(ee))return ee;I.any?P=w.raw(X):w=ee}if(L&&L.track&&null!==I.tag&&L.track(w.path(),j,w.length,"tagged"),L&&L.track&&null!==I.tag&&L.track(w.path(),w.offset,w.length,"content"),I.any||(P=null===I.choice?this._decodeGeneric(I.tag,w,L):this._decodeChoice(w,L)),w.isError(P))return P;if(!I.any&&null===I.choice&&null!==I.children&&I.children.forEach(function(ee){ee._decode(w,L)}),I.contains&&("octstr"===I.tag||"bitstr"===I.tag)){const X=new g(P);P=this._getUse(I.contains,w._reporterState.obj)._decode(X,L)}}return I.obj&&U&&(P=w.leaveObject(Y)),null===I.key||null===P&&!0!==U?null!==Z&&w.exitKey(Z):w.leaveKey(Z,I.key,P),P},O.prototype._decodeGeneric=function(w,L,I){const P=this._baseState;return"seq"===w||"set"===w?null:"seqof"===w||"setof"===w?this._decodeList(L,w,P.args[0],I):/str$/.test(w)?this._decodeStr(L,w,I):"objid"===w&&P.args?this._decodeObjid(L,P.args[0],P.args[1],I):"objid"===w?this._decodeObjid(L,null,null,I):"gentime"===w||"utctime"===w?this._decodeTime(L,w,I):"null_"===w?this._decodeNull(L,I):"bool"===w?this._decodeBool(L,I):"objDesc"===w?this._decodeStr(L,w,I):"int"===w||"enum"===w?this._decodeInt(L,P.args&&P.args[0],I):null!==P.use?this._getUse(P.use,L._reporterState.obj)._decode(L,I):L.error("unknown tag: "+w)},O.prototype._getUse=function(w,L){const I=this._baseState;return I.useDecoder=this._use(w,L),A(null===I.useDecoder._baseState.parent),I.useDecoder=I.useDecoder._baseState.children[0],I.implicit!==I.useDecoder._baseState.implicit&&(I.useDecoder=I.useDecoder.clone(),I.useDecoder._baseState.implicit=I.implicit),I.useDecoder},O.prototype._decodeChoice=function(w,L){const I=this._baseState;let P=null,U=!1;return Object.keys(I.choice).some(function(Z){const Y=w.save(),j=I.choice[Z];try{const X=j._decode(w,L);if(w.isError(X))return!1;P={type:Z,value:X},U=!0}catch{return w.restore(Y),!1}return!0},this),U?P:w.error("Choice not matched")},O.prototype._createEncoderBuffer=function(w){return new e(w,this.reporter)},O.prototype._encode=function(w,L,I){const P=this._baseState;if(null!==P.default&&P.default===w)return;const U=this._encodeValue(w,L,I);return void 0===U||this._skipDefault(U,L,I)?void 0:U},O.prototype._encodeValue=function(w,L,I){const P=this._baseState;if(null===P.parent)return P.children[0]._encode(w,L||new t);let U=null;if(this.reporter=L,P.optional&&void 0===w){if(null===P.default)return;w=P.default}let Z=null,Y=!1;if(P.any)U=this._createEncoderBuffer(w);else if(P.choice)U=this._encodeChoice(w,L);else if(P.contains)Z=this._getUse(P.contains,I)._encode(w,L),Y=!0;else if(P.children)Z=P.children.map(function(j){if("null_"===j._baseState.tag)return j._encode(null,L,w);if(null===j._baseState.key)return L.error("Child should have a key");const X=L.enterKey(j._baseState.key);if("object"!=typeof w)return L.error("Child expected, but input is not object");const ee=j._encode(w[j._baseState.key],L,w);return L.leaveKey(X),ee},this).filter(function(j){return j}),Z=this._createEncoderBuffer(Z);else if("seqof"===P.tag||"setof"===P.tag){if(!P.args||1!==P.args.length)return L.error("Too many args for : "+P.tag);if(!Array.isArray(w))return L.error("seqof/setof, but data is not Array");const j=this.clone();j._baseState.implicit=null,Z=this._createEncoderBuffer(w.map(function(X){return this._getUse(this._baseState.args[0],w)._encode(X,L)},j))}else null!==P.use?U=this._getUse(P.use,I)._encode(w,L):(Z=this._encodePrimitive(P.tag,w),Y=!0);if(!P.any&&null===P.choice){const j=null!==P.implicit?P.implicit:P.tag,X=null===P.implicit?"universal":"context";null===j?null===P.use&&L.error("Tag could be omitted only for .use()"):null===P.use&&(U=this._encodeComposite(j,Y,X,Z))}return null!==P.explicit&&(U=this._encodeComposite(P.explicit,!1,"context",U)),U},O.prototype._encodeChoice=function(w,L){const I=this._baseState,P=I.choice[w.type];return P||A(!1,w.type+" not found in "+JSON.stringify(Object.keys(I.choice))),P._encode(w.value,L)},O.prototype._encodePrimitive=function(w,L){const I=this._baseState;if(/str$/.test(w))return this._encodeStr(L,w);if("objid"===w&&I.args)return this._encodeObjid(L,I.reverseArgs[0],I.args[1]);if("objid"===w)return this._encodeObjid(L,null,null);if("gentime"===w||"utctime"===w)return this._encodeTime(L,w);if("null_"===w)return this._encodeNull();if("int"===w||"enum"===w)return this._encodeInt(L,I.args&&I.reverseArgs[0]);if("bool"===w)return this._encodeBool(L);if("objDesc"===w)return this._encodeStr(L,w);throw new Error("Unsupported tag: "+w)},O.prototype._isNumstr=function(w){return/^[0-9 ]*$/.test(w)},O.prototype._isPrintstr=function(w){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(w)}},4919:(Ge,Q,m)=>{"use strict";const t=m(3894);function e(A){this._reporterState={obj:null,path:[],options:A||{},errors:[]}}function g(A,o){this.path=A,this.rethrow(o)}Q.b=e,e.prototype.isError=function(o){return o instanceof g},e.prototype.save=function(){const o=this._reporterState;return{obj:o.obj,pathLen:o.path.length}},e.prototype.restore=function(o){const C=this._reporterState;C.obj=o.obj,C.path=C.path.slice(0,o.pathLen)},e.prototype.enterKey=function(o){return this._reporterState.path.push(o)},e.prototype.exitKey=function(o){const C=this._reporterState;C.path=C.path.slice(0,o-1)},e.prototype.leaveKey=function(o,C,u){const O=this._reporterState;this.exitKey(o),null!==O.obj&&(O.obj[C]=u)},e.prototype.path=function(){return this._reporterState.path.join("/")},e.prototype.enterObject=function(){const o=this._reporterState,C=o.obj;return o.obj={},C},e.prototype.leaveObject=function(o){const C=this._reporterState,u=C.obj;return C.obj=o,u},e.prototype.error=function(o){let C;const u=this._reporterState,O=o instanceof g;if(C=O?o:new g(u.path.map(function(d){return"["+JSON.stringify(d)+"]"}).join(""),o.message||o,o.stack),!u.options.partial)throw C;return O||u.errors.push(C),C},e.prototype.wrapResult=function(o){const C=this._reporterState;return C.options.partial?{result:this.isError(o)?null:o,errors:C.errors}:o},t(g,Error),g.prototype.rethrow=function(o){if(this.message=o+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,g),!this.stack)try{throw new Error(this.message)}catch(C){this.stack=C.stack}return this}},5496:(Ge,Q)=>{"use strict";function m(t){const e={};return Object.keys(t).forEach(function(g){(0|g)==g&&(g|=0),e[t[g]]=g}),e}Q.tagClass={0:"universal",1:"application",2:"context",3:"private"},Q.tagClassByName=m(Q.tagClass),Q.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"},Q.tagByName=m(Q.tag)},5459:(Ge,Q,m)=>{"use strict";const t=Q;t._reverse=function(g){const A={};return Object.keys(g).forEach(function(o){(0|o)==o&&(o|=0),A[g[o]]=o}),A},t.der=m(5496)},7127:(Ge,Q,m)=>{"use strict";const t=m(3894),e=m(3854),g=m(2769).C,A=m(1430),o=m(5496);function C(M){this.enc="der",this.name=M.name,this.entity=M,this.tree=new u,this.tree._init(M.body)}function u(M){A.call(this,"der",M)}function O(M,w){let L=M.readUInt8(w);if(M.isError(L))return L;const I=o.tagClass[L>>6],P=0==(32&L);if(31==(31&L)){let Z=L;for(L=0;128==(128&Z);){if(Z=M.readUInt8(w),M.isError(Z))return Z;L<<=7,L|=127&Z}}else L&=31;return{cls:I,primitive:P,tag:L,tagStr:o.tag[L]}}function d(M,w,L){let I=M.readUInt8(L);if(M.isError(I))return I;if(!w&&128===I)return null;if(0==(128&I))return I;const P=127&I;if(P>4)return M.error("length octect is too long");I=0;for(let U=0;U<P;U++){I<<=8;const Z=M.readUInt8(L);if(M.isError(Z))return Z;I|=Z}return I}Ge.exports=C,C.prototype.decode=function(w,L){return g.isDecoderBuffer(w)||(w=new g(w,L)),this.tree._decode(w,L)},t(u,A),u.prototype._peekTag=function(w,L,I){if(w.isEmpty())return!1;const P=w.save(),U=O(w,'Failed to peek tag: "'+L+'"');return w.isError(U)?U:(w.restore(P),U.tag===L||U.tagStr===L||U.tagStr+"of"===L||I)},u.prototype._decodeTag=function(w,L,I){const P=O(w,'Failed to decode tag of "'+L+'"');if(w.isError(P))return P;let U=d(w,P.primitive,'Failed to get length of "'+L+'"');if(w.isError(U))return U;if(!I&&P.tag!==L&&P.tagStr!==L&&P.tagStr+"of"!==L)return w.error('Failed to match tag: "'+L+'"');if(P.primitive||null!==U)return w.skip(U,'Failed to match body of: "'+L+'"');const Z=w.save(),Y=this._skipUntilEnd(w,'Failed to skip indefinite length body: "'+this.tag+'"');return w.isError(Y)?Y:(U=w.offset-Z.offset,w.restore(Z),w.skip(U,'Failed to match body of: "'+L+'"'))},u.prototype._skipUntilEnd=function(w,L){for(;;){const I=O(w,L);if(w.isError(I))return I;const P=d(w,I.primitive,L);if(w.isError(P))return P;let U;if(U=I.primitive||null!==P?w.skip(P):this._skipUntilEnd(w,L),w.isError(U))return U;if("end"===I.tagStr)break}},u.prototype._decodeList=function(w,L,I,P){const U=[];for(;!w.isEmpty();){const Z=this._peekTag(w,"end");if(w.isError(Z))return Z;const Y=I.decode(w,"der",P);if(w.isError(Y)&&Z)break;U.push(Y)}return U},u.prototype._decodeStr=function(w,L){if("bitstr"===L){const I=w.readUInt8();return w.isError(I)?I:{unused:I,data:w.raw()}}if("bmpstr"===L){const I=w.raw();if(I.length%2==1)return w.error("Decoding of string type: bmpstr length mismatch");let P="";for(let U=0;U<I.length/2;U++)P+=String.fromCharCode(I.readUInt16BE(2*U));return P}if("numstr"===L){const I=w.raw().toString("ascii");return this._isNumstr(I)?I:w.error("Decoding of string type: numstr unsupported characters")}if("octstr"===L)return w.raw();if("objDesc"===L)return w.raw();if("printstr"===L){const I=w.raw().toString("ascii");return this._isPrintstr(I)?I:w.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(L)?w.raw().toString():w.error("Decoding of string type: "+L+" unsupported")},u.prototype._decodeObjid=function(w,L,I){let P;const U=[];let Z=0,Y=0;for(;!w.isEmpty();)Y=w.readUInt8(),Z<<=7,Z|=127&Y,0==(128&Y)&&(U.push(Z),Z=0);if(128&Y&&U.push(Z),P=I?U:[U[0]/40|0,U[0]%40].concat(U.slice(1)),L){let ee=L[P.join(" ")];void 0===ee&&(ee=L[P.join(".")]),void 0!==ee&&(P=ee)}return P},u.prototype._decodeTime=function(w,L){const I=w.raw().toString();let P,U,Z,Y,j,X;if("gentime"===L)P=0|I.slice(0,4),U=0|I.slice(4,6),Z=0|I.slice(6,8),Y=0|I.slice(8,10),j=0|I.slice(10,12),X=0|I.slice(12,14);else{if("utctime"!==L)return w.error("Decoding "+L+" time is not supported yet");P=0|I.slice(0,2),U=0|I.slice(2,4),Z=0|I.slice(4,6),Y=0|I.slice(6,8),j=0|I.slice(8,10),X=0|I.slice(10,12),P=P<70?2e3+P:1900+P}return Date.UTC(P,U-1,Z,Y,j,X,0)},u.prototype._decodeNull=function(){return null},u.prototype._decodeBool=function(w){const L=w.readUInt8();return w.isError(L)?L:0!==L},u.prototype._decodeInt=function(w,L){const I=w.raw();let P=new e(I);return L&&(P=L[P.toString(10)]||P),P},u.prototype._use=function(w,L){return"function"==typeof w&&(w=w(L)),w._getDecoder("der").tree}},196:(Ge,Q,m)=>{"use strict";const t=Q;t.der=m(7127),t.pem=m(9617)},9617:(Ge,Q,m)=>{"use strict";const t=m(3894),e=m(2038).Buffer,g=m(7127);function A(o){g.call(this,o),this.enc="pem"}t(A,g),Ge.exports=A,A.prototype.decode=function(C,u){const O=C.toString().split(/[\r\n]+/g),d=u.label.toUpperCase(),M=/^-----(BEGIN|END) ([^-]+)-----$/;let w=-1,L=-1;for(let U=0;U<O.length;U++){const Z=O[U].match(M);if(null!==Z&&Z[2]===d){if(-1!==w){if("END"!==Z[1])break;L=U;break}if("BEGIN"!==Z[1])break;w=U}}if(-1===w||-1===L)throw new Error("PEM section not found for: "+d);const I=O.slice(w+1,L).join("");I.replace(/[^a-z0-9+/=]+/gi,"");const P=e.from(I,"base64");return g.prototype.decode.call(this,P,u)}},6374:(Ge,Q,m)=>{"use strict";const t=m(3894),e=m(2038).Buffer,g=m(1430),A=m(5496);function o(d){this.enc="der",this.name=d.name,this.entity=d,this.tree=new C,this.tree._init(d.body)}function C(d){g.call(this,"der",d)}function u(d){return d<10?"0"+d:d}Ge.exports=o,o.prototype.encode=function(M,w){return this.tree._encode(M,w).join()},t(C,g),C.prototype._encodeComposite=function(M,w,L,I){const P=function O(d,M,w,L){let I;if("seqof"===d?d="seq":"setof"===d&&(d="set"),A.tagByName.hasOwnProperty(d))I=A.tagByName[d];else{if("number"!=typeof d||(0|d)!==d)return L.error("Unknown tag: "+d);I=d}return I>=31?L.error("Multi-octet tag encoding unsupported"):(M||(I|=32),I|=A.tagClassByName[w||"universal"]<<6,I)}(M,w,L,this.reporter);if(I.length<128){const Y=e.alloc(2);return Y[0]=P,Y[1]=I.length,this._createEncoderBuffer([Y,I])}let U=1;for(let Y=I.length;Y>=256;Y>>=8)U++;const Z=e.alloc(2+U);Z[0]=P,Z[1]=128|U;for(let Y=1+U,j=I.length;j>0;Y--,j>>=8)Z[Y]=255&j;return this._createEncoderBuffer([Z,I])},C.prototype._encodeStr=function(M,w){if("bitstr"===w)return this._createEncoderBuffer([0|M.unused,M.data]);if("bmpstr"===w){const L=e.alloc(2*M.length);for(let I=0;I<M.length;I++)L.writeUInt16BE(M.charCodeAt(I),2*I);return this._createEncoderBuffer(L)}return"numstr"===w?this._isNumstr(M)?this._createEncoderBuffer(M):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===w?this._isPrintstr(M)?this._createEncoderBuffer(M):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(w)||"objDesc"===w?this._createEncoderBuffer(M):this.reporter.error("Encoding of string type: "+w+" unsupported")},C.prototype._encodeObjid=function(M,w,L){if("string"==typeof M){if(!w)return this.reporter.error("string objid given, but no values map found");if(!w.hasOwnProperty(M))return this.reporter.error("objid not found in values map");M=w[M].split(/[\s.]+/g);for(let Z=0;Z<M.length;Z++)M[Z]|=0}else if(Array.isArray(M)){M=M.slice();for(let Z=0;Z<M.length;Z++)M[Z]|=0}if(!Array.isArray(M))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(M));if(!L){if(M[1]>=40)return this.reporter.error("Second objid identifier OOB");M.splice(0,2,40*M[0]+M[1])}let I=0;for(let Z=0;Z<M.length;Z++){let Y=M[Z];for(I++;Y>=128;Y>>=7)I++}const P=e.alloc(I);let U=P.length-1;for(let Z=M.length-1;Z>=0;Z--){let Y=M[Z];for(P[U--]=127&Y;(Y>>=7)>0;)P[U--]=128|127&Y}return this._createEncoderBuffer(P)},C.prototype._encodeTime=function(M,w){let L;const I=new Date(M);return"gentime"===w?L=[u(I.getUTCFullYear()),u(I.getUTCMonth()+1),u(I.getUTCDate()),u(I.getUTCHours()),u(I.getUTCMinutes()),u(I.getUTCSeconds()),"Z"].join(""):"utctime"===w?L=[u(I.getUTCFullYear()%100),u(I.getUTCMonth()+1),u(I.getUTCDate()),u(I.getUTCHours()),u(I.getUTCMinutes()),u(I.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+w+" time is not supported yet"),this._encodeStr(L,"octstr")},C.prototype._encodeNull=function(){return this._createEncoderBuffer("")},C.prototype._encodeInt=function(M,w){if("string"==typeof M){if(!w)return this.reporter.error("String int or enum given, but no values map");if(!w.hasOwnProperty(M))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(M));M=w[M]}if("number"!=typeof M&&!e.isBuffer(M)){const P=M.toArray();!M.sign&&128&P[0]&&P.unshift(0),M=e.from(P)}if(e.isBuffer(M)){let P=M.length;0===M.length&&P++;const U=e.alloc(P);return M.copy(U),0===M.length&&(U[0]=0),this._createEncoderBuffer(U)}if(M<128)return this._createEncoderBuffer(M);if(M<256)return this._createEncoderBuffer([0,M]);let L=1;for(let P=M;P>=256;P>>=8)L++;const I=new Array(L);for(let P=I.length-1;P>=0;P--)I[P]=255&M,M>>=8;return 128&I[0]&&I.unshift(0),this._createEncoderBuffer(e.from(I))},C.prototype._encodeBool=function(M){return this._createEncoderBuffer(M?255:0)},C.prototype._use=function(M,w){return"function"==typeof M&&(M=M(w)),M._getEncoder("der").tree},C.prototype._skipDefault=function(M,w,L){const I=this._baseState;let P;if(null===I.default)return!1;const U=M.join();if(void 0===I.defaultBuffer&&(I.defaultBuffer=this._encodeValue(I.default,w,L).join()),U.length!==I.defaultBuffer.length)return!1;for(P=0;P<U.length;P++)if(U[P]!==I.defaultBuffer[P])return!1;return!0}},1131:(Ge,Q,m)=>{"use strict";const t=Q;t.der=m(6374),t.pem=m(3530)},3530:(Ge,Q,m)=>{"use strict";const t=m(3894),e=m(6374);function g(A){e.call(this,A),this.enc="pem"}t(g,e),Ge.exports=g,g.prototype.encode=function(o,C){const O=e.prototype.encode.call(this,o).toString("base64"),d=["-----BEGIN "+C.label+"-----"];for(let M=0;M<O.length;M+=64)d.push(O.slice(M,M+64));return d.push("-----END "+C.label+"-----"),d.join("\n")}},3854:function(Ge,Q,m){!function(t,e){"use strict";function g(E,i){if(!E)throw new Error(i||"Assertion failed")}function A(E,i){E.super_=i;var r=function(){};r.prototype=i.prototype,E.prototype=new r,E.prototype.constructor=E}function o(E,i,r){if(o.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,null!==E&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(E||0,i||10,r||"be"))}var C;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(950).Buffer}catch{}function u(E,i){var r=E.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function O(E,i,r){var h=u(E,r);return r-1>=i&&(h|=u(E,r-1)<<4),h}function d(E,i,r,h){for(var c=0,y=Math.min(E.length,r),S=i;S<y;S++){var k=E.charCodeAt(S)-48;c*=h,c+=k>=49?k-49+10:k>=17?k-17+10:k}return c}o.isBN=function(i){return i instanceof o||null!==i&&"object"==typeof i&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,r){return i.cmp(r)>0?i:r},o.min=function(i,r){return i.cmp(r)<0?i:r},o.prototype._init=function(i,r,h){if("number"==typeof i)return this._initNumber(i,r,h);if("object"==typeof i)return this._initArray(i,r,h);"hex"===r&&(r=16),g(r===(0|r)&&r>=2&&r<=36);var c=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(c++,this.negative=1),c<i.length&&(16===r?this._parseHex(i,c,h):(this._parseBase(i,r,c),"le"===h&&this._initArray(this.toArray(),r,h)))},o.prototype._initNumber=function(i,r,h){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[67108863&i],this.length=1):i<4503599627370496?(this.words=[67108863&i,i/67108864&67108863],this.length=2):(g(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===h&&this._initArray(this.toArray(),r,h)},o.prototype._initArray=function(i,r,h){if(g("number"==typeof i.length),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var y,S,k=0;if("be"===h)for(c=i.length-1,y=0;c>=0;c-=3)this.words[y]|=(S=i[c]|i[c-1]<<8|i[c-2]<<16)<<k&67108863,this.words[y+1]=S>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);else if("le"===h)for(c=0,y=0;c<i.length;c+=3)this.words[y]|=(S=i[c]|i[c+1]<<8|i[c+2]<<16)<<k&67108863,this.words[y+1]=S>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);return this.strip()},o.prototype._parseHex=function(i,r,h){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var k,y=0,S=0;if("be"===h)for(c=i.length-1;c>=r;c-=2)k=O(i,r,c)<<y,this.words[S]|=67108863&k,y>=18?(y-=18,this.words[S+=1]|=k>>>26):y+=8;else for(c=(i.length-r)%2==0?r+1:r;c<i.length;c+=2)k=O(i,r,c)<<y,this.words[S]|=67108863&k,y>=18?(y-=18,this.words[S+=1]|=k>>>26):y+=8;this.strip()},o.prototype._parseBase=function(i,r,h){this.words=[0],this.length=1;for(var c=0,y=1;y<=67108863;y*=r)c++;c--,y=y/r|0;for(var S=i.length-h,k=S%c,v=Math.min(S,S-k)+h,n=0,b=h;b<v;b+=c)n=d(i,b,b+c,r),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==k){var B=1;for(n=d(i,b,i.length,r),b=0;b<k;b++)B*=r;this.imuln(B),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var r=0;r<this.length;r++)i.words[r]=this.words[r];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var M=["","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"],w=[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],L=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function P(E,i,r){r.negative=i.negative^E.negative;var h=E.length+i.length|0;r.length=h,h=h-1|0;var c=0|E.words[0],y=0|i.words[0],S=c*y,v=S/67108864|0;r.words[0]=67108863&S;for(var n=1;n<h;n++){for(var b=v>>>26,B=67108863&v,z=Math.min(n,i.length-1),W=Math.max(0,n-E.length+1);W<=z;W++)b+=(S=(c=0|E.words[n-W|0])*(y=0|i.words[W])+B)/67108864|0,B=67108863&S;r.words[n]=0|B,v=0|b}return 0!==v?r.words[n]=0|v:r.length--,r.strip()}o.prototype.toString=function(i,r){var h;if(r=0|r||1,16===(i=i||10)||"hex"===i){h="";for(var c=0,y=0,S=0;S<this.length;S++){var k=this.words[S],v=(16777215&(k<<c|y)).toString(16);h=0!=(y=k>>>24-c&16777215)||S!==this.length-1?M[6-v.length]+v+h:v+h,(c+=2)>=26&&(c-=26,S--)}for(0!==y&&(h=y.toString(16)+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=L[i];h="";var B=this.clone();for(B.negative=0;!B.isZero();){var z=B.modn(b).toString(i);h=(B=B.idivn(b)).isZero()?z+h:M[n-z.length]+z+h}for(this.isZero()&&(h="0"+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}g(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return 2===this.length?i+=67108864*this.words[1]:3===this.length&&1===this.words[2]?i+=4503599627370496+67108864*this.words[1]:this.length>2&&g(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,r){return g(typeof C<"u"),this.toArrayLike(C,i,r)},o.prototype.toArray=function(i,r){return this.toArrayLike(Array,i,r)},o.prototype.toArrayLike=function(i,r,h){var c=this.byteLength(),y=h||Math.max(1,c);g(c<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var v,n,S="le"===r,k=new i(y),b=this.clone();if(S){for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),k[n]=v;for(;n<y;n++)k[n]=0}else{for(n=0;n<y-c;n++)k[n]=0;for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),k[y-n-1]=v}return k},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,h=0;return r>=4096&&(h+=13,r>>>=13),r>=64&&(h+=7,r>>>=7),r>=8&&(h+=4,r>>>=4),r>=2&&(h+=2,r>>>=2),h+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,h=0;return 0==(8191&r)&&(h+=13,r>>>=13),0==(127&r)&&(h+=7,r>>>=7),0==(15&r)&&(h+=4,r>>>=4),0==(3&r)&&(h+=2,r>>>=2),0==(1&r)&&h++,h},o.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,r=0;r<this.length;r++){var h=this._zeroBits(this.words[r]);if(i+=h,26!==h)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var r=0;r<i.length;r++)this.words[r]=this.words[r]|i.words[r];return this.strip()},o.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var r;r=this.length>i.length?i:this;for(var h=0;h<r.length;h++)this.words[h]=this.words[h]&i.words[h];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var r,h;this.length>i.length?(r=this,h=i):(r=i,h=this);for(var c=0;c<h.length;c++)this.words[c]=r.words[c]^h.words[c];if(this!==r)for(;c<r.length;c++)this.words[c]=r.words[c];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),h=i%26;this._expand(r),h>0&&r--;for(var c=0;c<r;c++)this.words[c]=67108863&~this.words[c];return h>0&&(this.words[c]=~this.words[c]&67108863>>26-h),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){g("number"==typeof i&&i>=0);var h=i/26|0,c=i%26;return this._expand(h+1),this.words[h]=r?this.words[h]|1<<c:this.words[h]&~(1<<c),this.strip()},o.prototype.iadd=function(i){var r,h,c;if(0!==this.negative&&0===i.negative)return this.negative=0,r=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,r=this.isub(i),i.negative=1,r._normSign();this.length>i.length?(h=this,c=i):(h=i,c=this);for(var y=0,S=0;S<c.length;S++)this.words[S]=67108863&(r=(0|h.words[S])+(0|c.words[S])+y),y=r>>>26;for(;0!==y&&S<h.length;S++)this.words[S]=67108863&(r=(0|h.words[S])+y),y=r>>>26;if(this.length=h.length,0!==y)this.words[this.length]=y,this.length++;else if(h!==this)for(;S<h.length;S++)this.words[S]=h.words[S];return this},o.prototype.add=function(i){var r;return 0!==i.negative&&0===this.negative?(i.negative=0,r=this.sub(i),i.negative^=1,r):0===i.negative&&0!==this.negative?(this.negative=0,r=i.sub(this),this.negative=1,r):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var r=this.iadd(i);return i.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var c,y,h=this.cmp(i);if(0===h)return this.negative=0,this.length=1,this.words[0]=0,this;h>0?(c=this,y=i):(c=i,y=this);for(var S=0,k=0;k<y.length;k++)S=(r=(0|c.words[k])-(0|y.words[k])+S)>>26,this.words[k]=67108863&r;for(;0!==S&&k<c.length;k++)S=(r=(0|c.words[k])+S)>>26,this.words[k]=67108863&r;if(0===S&&k<c.length&&c!==this)for(;k<c.length;k++)this.words[k]=c.words[k];return this.length=Math.max(this.length,k),c!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var U=function(i,r,h){var v,n,b,c=i.words,y=r.words,S=h.words,k=0,B=0|c[0],z=8191&B,W=B>>>13,Oe=0|c[1],it=8191&Oe,Ne=Oe>>>13,ot=0|c[2],Ie=8191&ot,ve=ot>>>13,fe=0|c[3],Se=8191&fe,te=fe>>>13,Ke=0|c[4],Ae=8191&Ke,oe=Ke>>>13,ye=0|c[5],me=8191&ye,Me=ye>>>13,Ze=0|c[6],q=8191&Ze,de=Ze>>>13,xe=0|c[7],ke=8191&xe,ft=xe>>>13,_t=0|c[8],ct=8191&_t,nt=_t>>>13,Jt=0|c[9],vt=8191&Jt,ne=Jt>>>13,Ht=0|y[0],De=8191&Ht,ze=Ht>>>13,wt=0|y[1],Re=8191&wt,tt=wt>>>13,Bt=0|y[2],It=8191&Bt,zt=Bt>>>13,xt=0|y[3],we=8191&xt,J=xt>>>13,be=0|y[4],Fe=8191&be,at=be>>>13,ii=0|y[5],Gt=8191&ii,ei=ii>>>13,ht=0|y[6],rt=8191&ht,yt=ht>>>13,ri=0|y[7],Ut=8191&ri,Vt=ri>>>13,Ft=0|y[8],Qe=8191&Ft,Ve=Ft>>>13,je=0|y[9],Xe=8191&je,Et=je>>>13;h.negative=i.negative^r.negative,h.length=19;var mi=(k+(v=Math.imul(z,De))|0)+((8191&(n=(n=Math.imul(z,ze))+Math.imul(W,De)|0))<<13)|0;k=((b=Math.imul(W,ze))+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,v=Math.imul(it,De),n=(n=Math.imul(it,ze))+Math.imul(Ne,De)|0,b=Math.imul(Ne,ze);var Li=(k+(v=v+Math.imul(z,Re)|0)|0)+((8191&(n=(n=n+Math.imul(z,tt)|0)+Math.imul(W,Re)|0))<<13)|0;k=((b=b+Math.imul(W,tt)|0)+(n>>>13)|0)+(Li>>>26)|0,Li&=67108863,v=Math.imul(Ie,De),n=(n=Math.imul(Ie,ze))+Math.imul(ve,De)|0,b=Math.imul(ve,ze),v=v+Math.imul(it,Re)|0,n=(n=n+Math.imul(it,tt)|0)+Math.imul(Ne,Re)|0,b=b+Math.imul(Ne,tt)|0;var wi=(k+(v=v+Math.imul(z,It)|0)|0)+((8191&(n=(n=n+Math.imul(z,zt)|0)+Math.imul(W,It)|0))<<13)|0;k=((b=b+Math.imul(W,zt)|0)+(n>>>13)|0)+(wi>>>26)|0,wi&=67108863,v=Math.imul(Se,De),n=(n=Math.imul(Se,ze))+Math.imul(te,De)|0,b=Math.imul(te,ze),v=v+Math.imul(Ie,Re)|0,n=(n=n+Math.imul(Ie,tt)|0)+Math.imul(ve,Re)|0,b=b+Math.imul(ve,tt)|0,v=v+Math.imul(it,It)|0,n=(n=n+Math.imul(it,zt)|0)+Math.imul(Ne,It)|0,b=b+Math.imul(Ne,zt)|0;var Vi=(k+(v=v+Math.imul(z,we)|0)|0)+((8191&(n=(n=n+Math.imul(z,J)|0)+Math.imul(W,we)|0))<<13)|0;k=((b=b+Math.imul(W,J)|0)+(n>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,v=Math.imul(Ae,De),n=(n=Math.imul(Ae,ze))+Math.imul(oe,De)|0,b=Math.imul(oe,ze),v=v+Math.imul(Se,Re)|0,n=(n=n+Math.imul(Se,tt)|0)+Math.imul(te,Re)|0,b=b+Math.imul(te,tt)|0,v=v+Math.imul(Ie,It)|0,n=(n=n+Math.imul(Ie,zt)|0)+Math.imul(ve,It)|0,b=b+Math.imul(ve,zt)|0,v=v+Math.imul(it,we)|0,n=(n=n+Math.imul(it,J)|0)+Math.imul(Ne,we)|0,b=b+Math.imul(Ne,J)|0;var qe=(k+(v=v+Math.imul(z,Fe)|0)|0)+((8191&(n=(n=n+Math.imul(z,at)|0)+Math.imul(W,Fe)|0))<<13)|0;k=((b=b+Math.imul(W,at)|0)+(n>>>13)|0)+(qe>>>26)|0,qe&=67108863,v=Math.imul(me,De),n=(n=Math.imul(me,ze))+Math.imul(Me,De)|0,b=Math.imul(Me,ze),v=v+Math.imul(Ae,Re)|0,n=(n=n+Math.imul(Ae,tt)|0)+Math.imul(oe,Re)|0,b=b+Math.imul(oe,tt)|0,v=v+Math.imul(Se,It)|0,n=(n=n+Math.imul(Se,zt)|0)+Math.imul(te,It)|0,b=b+Math.imul(te,zt)|0,v=v+Math.imul(Ie,we)|0,n=(n=n+Math.imul(Ie,J)|0)+Math.imul(ve,we)|0,b=b+Math.imul(ve,J)|0,v=v+Math.imul(it,Fe)|0,n=(n=n+Math.imul(it,at)|0)+Math.imul(Ne,Fe)|0,b=b+Math.imul(Ne,at)|0;var Tt=(k+(v=v+Math.imul(z,Gt)|0)|0)+((8191&(n=(n=n+Math.imul(z,ei)|0)+Math.imul(W,Gt)|0))<<13)|0;k=((b=b+Math.imul(W,ei)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,v=Math.imul(q,De),n=(n=Math.imul(q,ze))+Math.imul(de,De)|0,b=Math.imul(de,ze),v=v+Math.imul(me,Re)|0,n=(n=n+Math.imul(me,tt)|0)+Math.imul(Me,Re)|0,b=b+Math.imul(Me,tt)|0,v=v+Math.imul(Ae,It)|0,n=(n=n+Math.imul(Ae,zt)|0)+Math.imul(oe,It)|0,b=b+Math.imul(oe,zt)|0,v=v+Math.imul(Se,we)|0,n=(n=n+Math.imul(Se,J)|0)+Math.imul(te,we)|0,b=b+Math.imul(te,J)|0,v=v+Math.imul(Ie,Fe)|0,n=(n=n+Math.imul(Ie,at)|0)+Math.imul(ve,Fe)|0,b=b+Math.imul(ve,at)|0,v=v+Math.imul(it,Gt)|0,n=(n=n+Math.imul(it,ei)|0)+Math.imul(Ne,Gt)|0,b=b+Math.imul(Ne,ei)|0;var ge=(k+(v=v+Math.imul(z,rt)|0)|0)+((8191&(n=(n=n+Math.imul(z,yt)|0)+Math.imul(W,rt)|0))<<13)|0;k=((b=b+Math.imul(W,yt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,v=Math.imul(ke,De),n=(n=Math.imul(ke,ze))+Math.imul(ft,De)|0,b=Math.imul(ft,ze),v=v+Math.imul(q,Re)|0,n=(n=n+Math.imul(q,tt)|0)+Math.imul(de,Re)|0,b=b+Math.imul(de,tt)|0,v=v+Math.imul(me,It)|0,n=(n=n+Math.imul(me,zt)|0)+Math.imul(Me,It)|0,b=b+Math.imul(Me,zt)|0,v=v+Math.imul(Ae,we)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(oe,we)|0,b=b+Math.imul(oe,J)|0,v=v+Math.imul(Se,Fe)|0,n=(n=n+Math.imul(Se,at)|0)+Math.imul(te,Fe)|0,b=b+Math.imul(te,at)|0,v=v+Math.imul(Ie,Gt)|0,n=(n=n+Math.imul(Ie,ei)|0)+Math.imul(ve,Gt)|0,b=b+Math.imul(ve,ei)|0,v=v+Math.imul(it,rt)|0,n=(n=n+Math.imul(it,yt)|0)+Math.imul(Ne,rt)|0,b=b+Math.imul(Ne,yt)|0;var Dt=(k+(v=v+Math.imul(z,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(z,Vt)|0)+Math.imul(W,Ut)|0))<<13)|0;k=((b=b+Math.imul(W,Vt)|0)+(n>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(ct,De),n=(n=Math.imul(ct,ze))+Math.imul(nt,De)|0,b=Math.imul(nt,ze),v=v+Math.imul(ke,Re)|0,n=(n=n+Math.imul(ke,tt)|0)+Math.imul(ft,Re)|0,b=b+Math.imul(ft,tt)|0,v=v+Math.imul(q,It)|0,n=(n=n+Math.imul(q,zt)|0)+Math.imul(de,It)|0,b=b+Math.imul(de,zt)|0,v=v+Math.imul(me,we)|0,n=(n=n+Math.imul(me,J)|0)+Math.imul(Me,we)|0,b=b+Math.imul(Me,J)|0,v=v+Math.imul(Ae,Fe)|0,n=(n=n+Math.imul(Ae,at)|0)+Math.imul(oe,Fe)|0,b=b+Math.imul(oe,at)|0,v=v+Math.imul(Se,Gt)|0,n=(n=n+Math.imul(Se,ei)|0)+Math.imul(te,Gt)|0,b=b+Math.imul(te,ei)|0,v=v+Math.imul(Ie,rt)|0,n=(n=n+Math.imul(Ie,yt)|0)+Math.imul(ve,rt)|0,b=b+Math.imul(ve,yt)|0,v=v+Math.imul(it,Ut)|0,n=(n=n+Math.imul(it,Vt)|0)+Math.imul(Ne,Ut)|0,b=b+Math.imul(Ne,Vt)|0;var Kt=(k+(v=v+Math.imul(z,Qe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ve)|0)+Math.imul(W,Qe)|0))<<13)|0;k=((b=b+Math.imul(W,Ve)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,v=Math.imul(vt,De),n=(n=Math.imul(vt,ze))+Math.imul(ne,De)|0,b=Math.imul(ne,ze),v=v+Math.imul(ct,Re)|0,n=(n=n+Math.imul(ct,tt)|0)+Math.imul(nt,Re)|0,b=b+Math.imul(nt,tt)|0,v=v+Math.imul(ke,It)|0,n=(n=n+Math.imul(ke,zt)|0)+Math.imul(ft,It)|0,b=b+Math.imul(ft,zt)|0,v=v+Math.imul(q,we)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,we)|0,b=b+Math.imul(de,J)|0,v=v+Math.imul(me,Fe)|0,n=(n=n+Math.imul(me,at)|0)+Math.imul(Me,Fe)|0,b=b+Math.imul(Me,at)|0,v=v+Math.imul(Ae,Gt)|0,n=(n=n+Math.imul(Ae,ei)|0)+Math.imul(oe,Gt)|0,b=b+Math.imul(oe,ei)|0,v=v+Math.imul(Se,rt)|0,n=(n=n+Math.imul(Se,yt)|0)+Math.imul(te,rt)|0,b=b+Math.imul(te,yt)|0,v=v+Math.imul(Ie,Ut)|0,n=(n=n+Math.imul(Ie,Vt)|0)+Math.imul(ve,Ut)|0,b=b+Math.imul(ve,Vt)|0,v=v+Math.imul(it,Qe)|0,n=(n=n+Math.imul(it,Ve)|0)+Math.imul(Ne,Qe)|0,b=b+Math.imul(Ne,Ve)|0;var fi=(k+(v=v+Math.imul(z,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Et)|0)+Math.imul(W,Xe)|0))<<13)|0;k=((b=b+Math.imul(W,Et)|0)+(n>>>13)|0)+(fi>>>26)|0,fi&=67108863,v=Math.imul(vt,Re),n=(n=Math.imul(vt,tt))+Math.imul(ne,Re)|0,b=Math.imul(ne,tt),v=v+Math.imul(ct,It)|0,n=(n=n+Math.imul(ct,zt)|0)+Math.imul(nt,It)|0,b=b+Math.imul(nt,zt)|0,v=v+Math.imul(ke,we)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ft,we)|0,b=b+Math.imul(ft,J)|0,v=v+Math.imul(q,Fe)|0,n=(n=n+Math.imul(q,at)|0)+Math.imul(de,Fe)|0,b=b+Math.imul(de,at)|0,v=v+Math.imul(me,Gt)|0,n=(n=n+Math.imul(me,ei)|0)+Math.imul(Me,Gt)|0,b=b+Math.imul(Me,ei)|0,v=v+Math.imul(Ae,rt)|0,n=(n=n+Math.imul(Ae,yt)|0)+Math.imul(oe,rt)|0,b=b+Math.imul(oe,yt)|0,v=v+Math.imul(Se,Ut)|0,n=(n=n+Math.imul(Se,Vt)|0)+Math.imul(te,Ut)|0,b=b+Math.imul(te,Vt)|0,v=v+Math.imul(Ie,Qe)|0,n=(n=n+Math.imul(Ie,Ve)|0)+Math.imul(ve,Qe)|0,b=b+Math.imul(ve,Ve)|0;var Mi=(k+(v=v+Math.imul(it,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(it,Et)|0)+Math.imul(Ne,Xe)|0))<<13)|0;k=((b=b+Math.imul(Ne,Et)|0)+(n>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,v=Math.imul(vt,It),n=(n=Math.imul(vt,zt))+Math.imul(ne,It)|0,b=Math.imul(ne,zt),v=v+Math.imul(ct,we)|0,n=(n=n+Math.imul(ct,J)|0)+Math.imul(nt,we)|0,b=b+Math.imul(nt,J)|0,v=v+Math.imul(ke,Fe)|0,n=(n=n+Math.imul(ke,at)|0)+Math.imul(ft,Fe)|0,b=b+Math.imul(ft,at)|0,v=v+Math.imul(q,Gt)|0,n=(n=n+Math.imul(q,ei)|0)+Math.imul(de,Gt)|0,b=b+Math.imul(de,ei)|0,v=v+Math.imul(me,rt)|0,n=(n=n+Math.imul(me,yt)|0)+Math.imul(Me,rt)|0,b=b+Math.imul(Me,yt)|0,v=v+Math.imul(Ae,Ut)|0,n=(n=n+Math.imul(Ae,Vt)|0)+Math.imul(oe,Ut)|0,b=b+Math.imul(oe,Vt)|0,v=v+Math.imul(Se,Qe)|0,n=(n=n+Math.imul(Se,Ve)|0)+Math.imul(te,Qe)|0,b=b+Math.imul(te,Ve)|0;var Pi=(k+(v=v+Math.imul(Ie,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Et)|0)+Math.imul(ve,Xe)|0))<<13)|0;k=((b=b+Math.imul(ve,Et)|0)+(n>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,v=Math.imul(vt,we),n=(n=Math.imul(vt,J))+Math.imul(ne,we)|0,b=Math.imul(ne,J),v=v+Math.imul(ct,Fe)|0,n=(n=n+Math.imul(ct,at)|0)+Math.imul(nt,Fe)|0,b=b+Math.imul(nt,at)|0,v=v+Math.imul(ke,Gt)|0,n=(n=n+Math.imul(ke,ei)|0)+Math.imul(ft,Gt)|0,b=b+Math.imul(ft,ei)|0,v=v+Math.imul(q,rt)|0,n=(n=n+Math.imul(q,yt)|0)+Math.imul(de,rt)|0,b=b+Math.imul(de,yt)|0,v=v+Math.imul(me,Ut)|0,n=(n=n+Math.imul(me,Vt)|0)+Math.imul(Me,Ut)|0,b=b+Math.imul(Me,Vt)|0,v=v+Math.imul(Ae,Qe)|0,n=(n=n+Math.imul(Ae,Ve)|0)+Math.imul(oe,Qe)|0,b=b+Math.imul(oe,Ve)|0;var Ui=(k+(v=v+Math.imul(Se,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Se,Et)|0)+Math.imul(te,Xe)|0))<<13)|0;k=((b=b+Math.imul(te,Et)|0)+(n>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,v=Math.imul(vt,Fe),n=(n=Math.imul(vt,at))+Math.imul(ne,Fe)|0,b=Math.imul(ne,at),v=v+Math.imul(ct,Gt)|0,n=(n=n+Math.imul(ct,ei)|0)+Math.imul(nt,Gt)|0,b=b+Math.imul(nt,ei)|0,v=v+Math.imul(ke,rt)|0,n=(n=n+Math.imul(ke,yt)|0)+Math.imul(ft,rt)|0,b=b+Math.imul(ft,yt)|0,v=v+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,Vt)|0)+Math.imul(de,Ut)|0,b=b+Math.imul(de,Vt)|0,v=v+Math.imul(me,Qe)|0,n=(n=n+Math.imul(me,Ve)|0)+Math.imul(Me,Qe)|0,b=b+Math.imul(Me,Ve)|0;var Wt=(k+(v=v+Math.imul(Ae,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Et)|0)+Math.imul(oe,Xe)|0))<<13)|0;k=((b=b+Math.imul(oe,Et)|0)+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,v=Math.imul(vt,Gt),n=(n=Math.imul(vt,ei))+Math.imul(ne,Gt)|0,b=Math.imul(ne,ei),v=v+Math.imul(ct,rt)|0,n=(n=n+Math.imul(ct,yt)|0)+Math.imul(nt,rt)|0,b=b+Math.imul(nt,yt)|0,v=v+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,Vt)|0)+Math.imul(ft,Ut)|0,b=b+Math.imul(ft,Vt)|0,v=v+Math.imul(q,Qe)|0,n=(n=n+Math.imul(q,Ve)|0)+Math.imul(de,Qe)|0,b=b+Math.imul(de,Ve)|0;var si=(k+(v=v+Math.imul(me,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(me,Et)|0)+Math.imul(Me,Xe)|0))<<13)|0;k=((b=b+Math.imul(Me,Et)|0)+(n>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(vt,rt),n=(n=Math.imul(vt,yt))+Math.imul(ne,rt)|0,b=Math.imul(ne,yt),v=v+Math.imul(ct,Ut)|0,n=(n=n+Math.imul(ct,Vt)|0)+Math.imul(nt,Ut)|0,b=b+Math.imul(nt,Vt)|0,v=v+Math.imul(ke,Qe)|0,n=(n=n+Math.imul(ke,Ve)|0)+Math.imul(ft,Qe)|0,b=b+Math.imul(ft,Ve)|0;var _e=(k+(v=v+Math.imul(q,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(q,Et)|0)+Math.imul(de,Xe)|0))<<13)|0;k=((b=b+Math.imul(de,Et)|0)+(n>>>13)|0)+(_e>>>26)|0,_e&=67108863,v=Math.imul(vt,Ut),n=(n=Math.imul(vt,Vt))+Math.imul(ne,Ut)|0,b=Math.imul(ne,Vt),v=v+Math.imul(ct,Qe)|0,n=(n=n+Math.imul(ct,Ve)|0)+Math.imul(nt,Qe)|0,b=b+Math.imul(nt,Ve)|0;var $e=(k+(v=v+Math.imul(ke,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Et)|0)+Math.imul(ft,Xe)|0))<<13)|0;k=((b=b+Math.imul(ft,Et)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,v=Math.imul(vt,Qe),n=(n=Math.imul(vt,Ve))+Math.imul(ne,Qe)|0,b=Math.imul(ne,Ve);var St=(k+(v=v+Math.imul(ct,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(ct,Et)|0)+Math.imul(nt,Xe)|0))<<13)|0;k=((b=b+Math.imul(nt,Et)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863;var mt=(k+(v=Math.imul(vt,Xe))|0)+((8191&(n=(n=Math.imul(vt,Et))+Math.imul(ne,Xe)|0))<<13)|0;return k=((b=Math.imul(ne,Et))+(n>>>13)|0)+(mt>>>26)|0,mt&=67108863,S[0]=mi,S[1]=Li,S[2]=wi,S[3]=Vi,S[4]=qe,S[5]=Tt,S[6]=ge,S[7]=Dt,S[8]=Kt,S[9]=fi,S[10]=Mi,S[11]=Pi,S[12]=Ui,S[13]=Wt,S[14]=si,S[15]=_e,S[16]=$e,S[17]=St,S[18]=mt,0!==k&&(S[19]=k,h.length++),h};function Y(E,i,r){return(new j).mulp(E,i,r)}function j(E,i){this.x=E,this.y=i}Math.imul||(U=P),o.prototype.mulTo=function(i,r){var h,c=this.length+i.length;return h=10===this.length&&10===i.length?U(this,i,r):c<63?P(this,i,r):c<1024?function Z(E,i,r){r.negative=i.negative^E.negative,r.length=E.length+i.length;for(var h=0,c=0,y=0;y<r.length-1;y++){var S=c;c=0;for(var k=67108863&h,v=Math.min(y,i.length-1),n=Math.max(0,y-E.length+1);n<=v;n++){var W=(0|E.words[y-n])*(0|i.words[n]),Oe=67108863&W;k=67108863&(Oe=Oe+k|0),c+=(S=(S=S+(W/67108864|0)|0)+(Oe>>>26)|0)>>>26,S&=67108863}r.words[y]=k,h=S,S=c}return 0!==h?r.words[y]=h:r.length--,r.strip()}(this,i,r):Y(this,i,r),h},j.prototype.makeRBT=function(i){for(var r=new Array(i),h=o.prototype._countBits(i)-1,c=0;c<i;c++)r[c]=this.revBin(c,h,i);return r},j.prototype.revBin=function(i,r,h){if(0===i||i===h-1)return i;for(var c=0,y=0;y<r;y++)c|=(1&i)<<r-y-1,i>>=1;return c},j.prototype.permute=function(i,r,h,c,y,S){for(var k=0;k<S;k++)c[k]=r[i[k]],y[k]=h[i[k]]},j.prototype.transform=function(i,r,h,c,y,S){this.permute(S,i,r,h,c,y);for(var k=1;k<y;k<<=1)for(var v=k<<1,n=Math.cos(2*Math.PI/v),b=Math.sin(2*Math.PI/v),B=0;B<y;B+=v)for(var z=n,W=b,Oe=0;Oe<k;Oe++){var it=h[B+Oe],Ne=c[B+Oe],ot=h[B+Oe+k],Ie=c[B+Oe+k],ve=z*ot-W*Ie;Ie=z*Ie+W*ot,h[B+Oe]=it+(ot=ve),c[B+Oe]=Ne+Ie,h[B+Oe+k]=it-ot,c[B+Oe+k]=Ne-Ie,Oe!==v&&(ve=n*z-b*W,W=n*W+b*z,z=ve)}},j.prototype.guessLen13b=function(i,r){var h=1|Math.max(r,i),c=1&h,y=0;for(h=h/2|0;h;h>>>=1)y++;return 1<<y+1+c},j.prototype.conjugate=function(i,r,h){if(!(h<=1))for(var c=0;c<h/2;c++){var y=i[c];i[c]=i[h-c-1],i[h-c-1]=y,y=r[c],r[c]=-r[h-c-1],r[h-c-1]=-y}},j.prototype.normalize13b=function(i,r){for(var h=0,c=0;c<r/2;c++){var y=8192*Math.round(i[2*c+1]/r)+Math.round(i[2*c]/r)+h;i[c]=67108863&y,h=y<67108864?0:y/67108864|0}return i},j.prototype.convert13b=function(i,r,h,c){for(var y=0,S=0;S<r;S++)h[2*S]=8191&(y+=0|i[S]),h[2*S+1]=8191&(y>>>=13),y>>>=13;for(S=2*r;S<c;++S)h[S]=0;g(0===y),g(0==(-8192&y))},j.prototype.stub=function(i){for(var r=new Array(i),h=0;h<i;h++)r[h]=0;return r},j.prototype.mulp=function(i,r,h){var c=2*this.guessLen13b(i.length,r.length),y=this.makeRBT(c),S=this.stub(c),k=new Array(c),v=new Array(c),n=new Array(c),b=new Array(c),B=new Array(c),z=new Array(c),W=h.words;W.length=c,this.convert13b(i.words,i.length,k,c),this.convert13b(r.words,r.length,b,c),this.transform(k,S,v,n,c,y),this.transform(b,S,B,z,c,y);for(var Oe=0;Oe<c;Oe++){var it=v[Oe]*B[Oe]-n[Oe]*z[Oe];n[Oe]=v[Oe]*z[Oe]+n[Oe]*B[Oe],v[Oe]=it}return this.conjugate(v,n,c),this.transform(v,n,W,S,c,y),this.conjugate(W,S,c),this.normalize13b(W,c),h.negative=i.negative^r.negative,h.length=i.length+r.length,h.strip()},o.prototype.mul=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),this.mulTo(i,r)},o.prototype.mulf=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),Y(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var r=0,h=0;h<this.length;h++){var c=(0|this.words[h])*i,y=(67108863&c)+(67108863&r);r>>=26,r+=c/67108864|0,r+=y>>>26,this.words[h]=67108863&y}return 0!==r&&(this.words[h]=r,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var r=function I(E){for(var i=new Array(E.bitLength()),r=0;r<i.length;r++){var c=r%26;i[r]=(E.words[r/26|0]&1<<c)>>>c}return i}(i);if(0===r.length)return new o(1);for(var h=this,c=0;c<r.length&&0===r[c];c++,h=h.sqr());if(++c<r.length)for(var y=h.sqr();c<r.length;c++,y=y.sqr())0!==r[c]&&(h=h.mul(y));return h},o.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,r=i%26,h=(i-r)/26,c=67108863>>>26-r<<26-r;if(0!==r){var S=0;for(y=0;y<this.length;y++){var k=this.words[y]&c;this.words[y]=(0|this.words[y])-k<<r|S,S=k>>>26-r}S&&(this.words[y]=S,this.length++)}if(0!==h){for(y=this.length-1;y>=0;y--)this.words[y+h]=this.words[y];for(y=0;y<h;y++)this.words[y]=0;this.length+=h}return this.strip()},o.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,h){var c;g("number"==typeof i&&i>=0),c=r?(r-r%26)/26:0;var y=i%26,S=Math.min((i-y)/26,this.length),k=67108863^67108863>>>y<<y,v=h;if(c-=S,c=Math.max(0,c),v){for(var n=0;n<S;n++)v.words[n]=this.words[n];v.length=S}if(0!==S)if(this.length>S)for(this.length-=S,n=0;n<this.length;n++)this.words[n]=this.words[n+S];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=c);n--){var B=0|this.words[n];this.words[n]=b<<26-y|B>>>y,b=B&k}return v&&0!==b&&(v.words[v.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,h){return g(0===this.negative),this.iushrn(i,r,h)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){g("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return!(this.length<=h||!(this.words[h]&1<<r))},o.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=h?this:(0!==r&&h++,this.length=Math.min(h,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return g("number"==typeof i),g(i<67108864),i<0?this.isubn(-i):0!==this.negative?1===this.length&&(0|this.words[0])<i?(this.words[0]=i-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},o.prototype.isubn=function(i){if(g("number"==typeof i),g(i<67108864),i<0)return this.iaddn(-i);if(0!==this.negative)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,r,h){var y;this._expand(i.length+h);var S,k=0;for(y=0;y<i.length;y++){S=(0|this.words[y+h])+k;var v=(0|i.words[y])*r;k=((S-=67108863&v)>>26)-(v/67108864|0),this.words[y+h]=67108863&S}for(;y<this.length-h;y++)k=(S=(0|this.words[y+h])+k)>>26,this.words[y+h]=67108863&S;if(0===k)return this.strip();for(g(-1===k),k=0,y=0;y<this.length;y++)k=(S=-(0|this.words[y])+k)>>26,this.words[y]=67108863&S;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var h,c=this.clone(),y=i,S=0|y.words[y.length-1];0!=(h=26-this._countBits(S))&&(y=y.ushln(h),c.iushln(h),S=0|y.words[y.length-1]);var n,v=c.length-y.length;if("mod"!==r){(n=new o(null)).length=v+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var B=c.clone()._ishlnsubmul(y,1,v);0===B.negative&&(c=B,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var W=67108864*(0|c.words[y.length+z])+(0|c.words[y.length+z-1]);for(W=Math.min(W/S|0,67108863),c._ishlnsubmul(y,W,z);0!==c.negative;)W--,c.negative=0,c._ishlnsubmul(y,1,z),c.isZero()||(c.negative^=1);n&&(n.words[z]=W)}return n&&n.strip(),c.strip(),"div"!==r&&0!==h&&c.iushrn(h),{div:n||null,mod:c}},o.prototype.divmod=function(i,r,h){return g(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(S=this.neg().divmod(i,r),"mod"!==r&&(c=S.div.neg()),"div"!==r&&(y=S.mod.neg(),h&&0!==y.negative&&y.iadd(i)),{div:c,mod:y}):0===this.negative&&0!==i.negative?(S=this.divmod(i.neg(),r),"mod"!==r&&(c=S.div.neg()),{div:c,mod:S.mod}):0!=(this.negative&i.negative)?(S=this.neg().divmod(i.neg(),r),"div"!==r&&(y=S.mod.neg(),h&&0!==y.negative&&y.isub(i)),{div:S.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:1===i.length?"div"===r?{div:this.divn(i.words[0]),mod:null}:"mod"===r?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,r);var c,y,S},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var r=this.divmod(i);if(r.mod.isZero())return r.div;var h=0!==r.div.negative?r.mod.isub(i):r.mod,c=i.ushrn(1),y=i.andln(1),S=h.cmp(c);return S<0||1===y&&0===S?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){g(i<=67108863);for(var r=(1<<26)%i,h=0,c=this.length-1;c>=0;c--)h=(r*h+(0|this.words[c]))%i;return h},o.prototype.idivn=function(i){g(i<=67108863);for(var r=0,h=this.length-1;h>=0;h--){var c=(0|this.words[h])+67108864*r;this.words[h]=c/i|0,r=c%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),y=new o(0),S=new o(0),k=new o(1),v=0;r.isEven()&&h.isEven();)r.iushrn(1),h.iushrn(1),++v;for(var n=h.clone(),b=r.clone();!r.isZero();){for(var B=0,z=1;0==(r.words[0]&z)&&B<26;++B,z<<=1);if(B>0)for(r.iushrn(B);B-- >0;)(c.isOdd()||y.isOdd())&&(c.iadd(n),y.isub(b)),c.iushrn(1),y.iushrn(1);for(var W=0,Oe=1;0==(h.words[0]&Oe)&&W<26;++W,Oe<<=1);if(W>0)for(h.iushrn(W);W-- >0;)(S.isOdd()||k.isOdd())&&(S.iadd(n),k.isub(b)),S.iushrn(1),k.iushrn(1);r.cmp(h)>=0?(r.isub(h),c.isub(S),y.isub(k)):(h.isub(r),S.isub(c),k.isub(y))}return{a:S,b:k,gcd:h.iushln(v)}},o.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var B,r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),y=new o(0),S=h.clone();r.cmpn(1)>0&&h.cmpn(1)>0;){for(var k=0,v=1;0==(r.words[0]&v)&&k<26;++k,v<<=1);if(k>0)for(r.iushrn(k);k-- >0;)c.isOdd()&&c.iadd(S),c.iushrn(1);for(var n=0,b=1;0==(h.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(h.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(S),y.iushrn(1);r.cmp(h)>=0?(r.isub(h),c.isub(y)):(h.isub(r),y.isub(c))}return(B=0===r.cmpn(1)?c:y).cmpn(0)<0&&B.iadd(i),B},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),h=i.clone();r.negative=0,h.negative=0;for(var c=0;r.isEven()&&h.isEven();c++)r.iushrn(1),h.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;h.isEven();)h.iushrn(1);var y=r.cmp(h);if(y<0){var S=r;r=h,h=S}else if(0===y||0===h.cmpn(1))break;r.isub(h)}return h.iushln(c)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){g("number"==typeof i);var r=i%26,h=(i-r)/26,c=1<<r;if(this.length<=h)return this._expand(h+1),this.words[h]|=c,this;for(var y=c,S=h;0!==y&&S<this.length;S++){var k=0|this.words[S];y=(k+=y)>>>26,this.words[S]=k&=67108863}return 0!==y&&(this.words[S]=y,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var h,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)h=1;else{r&&(i=-i),g(i<=67108863,"Number is too big");var c=0|this.words[0];h=c===i?0:c<i?-1:1}return 0!==this.negative?0|-h:h},o.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var r=this.ucmp(i);return 0!==this.negative?0|-r:r},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var r=0,h=this.length-1;h>=0;h--){var c=0|this.words[h],y=0|i.words[h];if(c!==y){c<y?r=-1:c>y&&(r=1);break}}return r},o.prototype.gtn=function(i){return 1===this.cmpn(i)},o.prototype.gt=function(i){return 1===this.cmp(i)},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return-1===this.cmpn(i)},o.prototype.lt=function(i){return-1===this.cmp(i)},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return 0===this.cmpn(i)},o.prototype.eq=function(i){return 0===this.cmp(i)},o.red=function(i){return new se(i)},o.prototype.toRed=function(i){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var X={k256:null,p224:null,p192:null,p25519:null};function ee(E,i){this.name=E,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ue(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function le(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(E){if("string"==typeof E){var i=o._prime(E);this.m=i.p,this.prime=i}else g(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}function he(E){se.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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 i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},ee.prototype.ireduce=function(i){var h,r=i;do{this.split(r,this.tmp),h=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(h>this.n);var c=h<this.n?-1:r.ucmp(this.p);return 0===c?(r.words[0]=0,r.length=1):c>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},ee.prototype.split=function(i,r){i.iushrn(this.n,0,r)},ee.prototype.imulK=function(i){return i.imul(this.k)},A(ue,ee),ue.prototype.split=function(i,r){for(var h=4194303,c=Math.min(i.length,9),y=0;y<c;y++)r.words[y]=i.words[y];if(r.length=c,i.length<=9)return i.words[0]=0,void(i.length=1);var S=i.words[9];for(r.words[r.length++]=S&h,y=10;y<i.length;y++){var k=0|i.words[y];i.words[y-10]=(k&h)<<4|S>>>22,S=k}i.words[y-10]=S>>>=22,i.length-=0===S&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,h=0;h<i.length;h++){var c=0|i.words[h];i.words[h]=67108863&(r+=977*c),r=64*c+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},A(le,ee),A(ie,ee),A(ce,ee),ce.prototype.imulK=function(i){for(var r=0,h=0;h<i.length;h++){var c=19*(0|i.words[h])+r,y=67108863&c;c>>>=26,i.words[h]=y,r=c}return 0!==r&&(i.words[i.length++]=r),i},o._prime=function(i){if(X[i])return X[i];var r;if("k256"===i)r=new ue;else if("p224"===i)r=new le;else if("p192"===i)r=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},se.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},se.prototype._verify2=function(i,r){g(0==(i.negative|r.negative),"red works only with positives"),g(i.red&&i.red===r.red,"red works only with red numbers")},se.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},se.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},se.prototype.add=function(i,r){this._verify2(i,r);var h=i.add(r);return h.cmp(this.m)>=0&&h.isub(this.m),h._forceRed(this)},se.prototype.iadd=function(i,r){this._verify2(i,r);var h=i.iadd(r);return h.cmp(this.m)>=0&&h.isub(this.m),h},se.prototype.sub=function(i,r){this._verify2(i,r);var h=i.sub(r);return h.cmpn(0)<0&&h.iadd(this.m),h._forceRed(this)},se.prototype.isub=function(i,r){this._verify2(i,r);var h=i.isub(r);return h.cmpn(0)<0&&h.iadd(this.m),h},se.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},se.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},se.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},se.prototype.isqr=function(i){return this.imul(i,i.clone())},se.prototype.sqr=function(i){return this.mul(i,i)},se.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(g(r%2==1),3===r){var h=this.m.add(new o(1)).iushrn(2);return this.pow(i,h)}for(var c=this.m.subn(1),y=0;!c.isZero()&&0===c.andln(1);)y++,c.iushrn(1);g(!c.isZero());var S=new o(1).toRed(this),k=S.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,v).cmp(k);)n.redIAdd(k);for(var b=this.pow(n,c),B=this.pow(i,c.addn(1).iushrn(1)),z=this.pow(i,c),W=y;0!==z.cmp(S);){for(var Oe=z,it=0;0!==Oe.cmp(S);it++)Oe=Oe.redSqr();g(it<W);var Ne=this.pow(b,new o(1).iushln(W-it-1));B=B.redMul(Ne),b=Ne.redSqr(),z=z.redMul(b),W=it}return B},se.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},se.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var c=new Array(16);c[0]=new o(1).toRed(this),c[1]=i;for(var y=2;y<c.length;y++)c[y]=this.mul(c[y-1],i);var S=c[0],k=0,v=0,n=r.bitLength()%26;for(0===n&&(n=26),y=r.length-1;y>=0;y--){for(var b=r.words[y],B=n-1;B>=0;B--){var z=b>>B&1;S!==c[0]&&(S=this.sqr(S)),0!==z||0!==k?(k<<=1,k|=z,(4==++v||0===y&&0===B)&&(S=this.mul(S,c[k]),v=0,k=0)):v=0}n=26}return S},se.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},se.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new he(i)},A(he,se),he.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},he.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},he.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var h=i.imul(r),c=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(c).iushrn(this.shift),S=y;return y.cmp(this.m)>=0?S=y.isub(this.m):y.cmpn(0)<0&&(S=y.iadd(this.m)),S._forceRed(this)},he.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var h=i.mul(r),c=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(c).iushrn(this.shift),S=y;return y.cmp(this.m)>=0?S=y.isub(this.m):y.cmpn(0)<0&&(S=y.iadd(this.m)),S._forceRed(this)},he.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ge=m.nmd(Ge),this)},5343:(Ge,Q)=>{"use strict";Q.byteLength=function u(I){var P=C(I),Z=P[1];return 3*(P[0]+Z)/4-Z},Q.toByteArray=function d(I){var P,ue,U=C(I),Z=U[0],Y=U[1],j=new e(function O(I,P,U){return 3*(P+U)/4-U}(0,Z,Y)),X=0,ee=Y>0?Z-4:Z;for(ue=0;ue<ee;ue+=4)P=t[I.charCodeAt(ue)]<<18|t[I.charCodeAt(ue+1)]<<12|t[I.charCodeAt(ue+2)]<<6|t[I.charCodeAt(ue+3)],j[X++]=P>>16&255,j[X++]=P>>8&255,j[X++]=255&P;return 2===Y&&(P=t[I.charCodeAt(ue)]<<2|t[I.charCodeAt(ue+1)]>>4,j[X++]=255&P),1===Y&&(P=t[I.charCodeAt(ue)]<<10|t[I.charCodeAt(ue+1)]<<4|t[I.charCodeAt(ue+2)]>>2,j[X++]=P>>8&255,j[X++]=255&P),j},Q.fromByteArray=function L(I){for(var P,U=I.length,Z=U%3,Y=[],j=16383,X=0,ee=U-Z;X<ee;X+=j)Y.push(w(I,X,X+j>ee?ee:X+j));return 1===Z?Y.push(m[(P=I[U-1])>>2]+m[P<<4&63]+"=="):2===Z&&Y.push(m[(P=(I[U-2]<<8)+I[U-1])>>10]+m[P>>4&63]+m[P<<2&63]+"="),Y.join("")};for(var m=[],t=[],e=typeof Uint8Array<"u"?Uint8Array:Array,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A=0,o=g.length;A<o;++A)m[A]=g[A],t[g.charCodeAt(A)]=A;function C(I){var P=I.length;if(P%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var U=I.indexOf("=");return-1===U&&(U=P),[U,U===P?0:4-U%4]}function M(I){return m[I>>18&63]+m[I>>12&63]+m[I>>6&63]+m[63&I]}function w(I,P,U){for(var Y=[],j=P;j<U;j+=3)Y.push(M((I[j]<<16&16711680)+(I[j+1]<<8&65280)+(255&I[j+2])));return Y.join("")}t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63},8538:function(Ge,Q,m){!function(t,e){"use strict";function g(h,c){if(!h)throw new Error(c||"Assertion failed")}function A(h,c){h.super_=c;var y=function(){};y.prototype=c.prototype,h.prototype=new y,h.prototype.constructor=h}function o(h,c,y){if(o.isBN(h))return h;this.negative=0,this.words=null,this.length=0,this.red=null,null!==h&&(("le"===c||"be"===c)&&(y=c,c=10),this._init(h||0,c||10,y||"be"))}var C;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(6601).Buffer}catch{}function u(h,c){var y=h.charCodeAt(c);return y>=48&&y<=57?y-48:y>=65&&y<=70?y-55:y>=97&&y<=102?y-87:void g(!1,"Invalid character in "+h)}function O(h,c,y){var S=u(h,y);return y-1>=c&&(S|=u(h,y-1)<<4),S}function d(h,c,y,S){for(var k=0,v=0,n=Math.min(h.length,y),b=c;b<n;b++){var B=h.charCodeAt(b)-48;k*=S,v=B>=49?B-49+10:B>=17?B-17+10:B,g(B>=0&&v<S,"Invalid character"),k+=v}return k}function M(h,c){h.words=c.words,h.length=c.length,h.negative=c.negative,h.red=c.red}if(o.isBN=function(c){return c instanceof o||null!==c&&"object"==typeof c&&c.constructor.wordSize===o.wordSize&&Array.isArray(c.words)},o.max=function(c,y){return c.cmp(y)>0?c:y},o.min=function(c,y){return c.cmp(y)<0?c:y},o.prototype._init=function(c,y,S){if("number"==typeof c)return this._initNumber(c,y,S);if("object"==typeof c)return this._initArray(c,y,S);"hex"===y&&(y=16),g(y===(0|y)&&y>=2&&y<=36);var k=0;"-"===(c=c.toString().replace(/\s+/g,""))[0]&&(k++,this.negative=1),k<c.length&&(16===y?this._parseHex(c,k,S):(this._parseBase(c,y,k),"le"===S&&this._initArray(this.toArray(),y,S)))},o.prototype._initNumber=function(c,y,S){c<0&&(this.negative=1,c=-c),c<67108864?(this.words=[67108863&c],this.length=1):c<4503599627370496?(this.words=[67108863&c,c/67108864&67108863],this.length=2):(g(c<9007199254740992),this.words=[67108863&c,c/67108864&67108863,1],this.length=3),"le"===S&&this._initArray(this.toArray(),y,S)},o.prototype._initArray=function(c,y,S){if(g("number"==typeof c.length),c.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(c.length/3),this.words=new Array(this.length);for(var k=0;k<this.length;k++)this.words[k]=0;var v,n,b=0;if("be"===S)for(k=c.length-1,v=0;k>=0;k-=3)this.words[v]|=(n=c[k]|c[k-1]<<8|c[k-2]<<16)<<b&67108863,this.words[v+1]=n>>>26-b&67108863,(b+=24)>=26&&(b-=26,v++);else if("le"===S)for(k=0,v=0;k<c.length;k+=3)this.words[v]|=(n=c[k]|c[k+1]<<8|c[k+2]<<16)<<b&67108863,this.words[v+1]=n>>>26-b&67108863,(b+=24)>=26&&(b-=26,v++);return this._strip()},o.prototype._parseHex=function(c,y,S){this.length=Math.ceil((c.length-y)/6),this.words=new Array(this.length);for(var k=0;k<this.length;k++)this.words[k]=0;var b,v=0,n=0;if("be"===S)for(k=c.length-1;k>=y;k-=2)b=O(c,y,k)<<v,this.words[n]|=67108863&b,v>=18?(v-=18,this.words[n+=1]|=b>>>26):v+=8;else for(k=(c.length-y)%2==0?y+1:y;k<c.length;k+=2)b=O(c,y,k)<<v,this.words[n]|=67108863&b,v>=18?(v-=18,this.words[n+=1]|=b>>>26):v+=8;this._strip()},o.prototype._parseBase=function(c,y,S){this.words=[0],this.length=1;for(var k=0,v=1;v<=67108863;v*=y)k++;k--,v=v/y|0;for(var n=c.length-S,b=n%k,B=Math.min(n,n-b)+S,z=0,W=S;W<B;W+=k)z=d(c,W,W+k,y),this.imuln(v),this.words[0]+z<67108864?this.words[0]+=z:this._iaddn(z);if(0!==b){var Oe=1;for(z=d(c,W,c.length,y),W=0;W<b;W++)Oe*=y;this.imuln(Oe),this.words[0]+z<67108864?this.words[0]+=z:this._iaddn(z)}this._strip()},o.prototype.copy=function(c){c.words=new Array(this.length);for(var y=0;y<this.length;y++)c.words[y]=this.words[y];c.length=this.length,c.negative=this.negative,c.red=this.red},o.prototype._move=function(c){M(c,this)},o.prototype.clone=function(){var c=new o(null);return this.copy(c),c},o.prototype._expand=function(c){for(;this.length<c;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},typeof Symbol<"u"&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=w}catch{o.prototype.inspect=w}else o.prototype.inspect=w;function w(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var L=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],I=[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],P=[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 Y(h,c,y){y.negative=c.negative^h.negative;var S=h.length+c.length|0;y.length=S,S=S-1|0;var k=0|h.words[0],v=0|c.words[0],n=k*v,B=n/67108864|0;y.words[0]=67108863&n;for(var z=1;z<S;z++){for(var W=B>>>26,Oe=67108863&B,it=Math.min(z,c.length-1),Ne=Math.max(0,z-h.length+1);Ne<=it;Ne++)W+=(n=(k=0|h.words[z-Ne|0])*(v=0|c.words[Ne])+Oe)/67108864|0,Oe=67108863&n;y.words[z]=0|Oe,B=0|W}return 0!==B?y.words[z]=0|B:y.length--,y._strip()}o.prototype.toString=function(c,y){var S;if(y=0|y||1,16===(c=c||10)||"hex"===c){S="";for(var k=0,v=0,n=0;n<this.length;n++){var b=this.words[n],B=(16777215&(b<<k|v)).toString(16);v=b>>>24-k&16777215,(k+=2)>=26&&(k-=26,n--),S=0!==v||n!==this.length-1?L[6-B.length]+B+S:B+S}for(0!==v&&(S=v.toString(16)+S);S.length%y!=0;)S="0"+S;return 0!==this.negative&&(S="-"+S),S}if(c===(0|c)&&c>=2&&c<=36){var z=I[c],W=P[c];S="";var Oe=this.clone();for(Oe.negative=0;!Oe.isZero();){var it=Oe.modrn(W).toString(c);S=(Oe=Oe.idivn(W)).isZero()?it+S:L[z-it.length]+it+S}for(this.isZero()&&(S="0"+S);S.length%y!=0;)S="0"+S;return 0!==this.negative&&(S="-"+S),S}g(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var c=this.words[0];return 2===this.length?c+=67108864*this.words[1]:3===this.length&&1===this.words[2]?c+=4503599627370496+67108864*this.words[1]:this.length>2&&g(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-c:c},o.prototype.toJSON=function(){return this.toString(16,2)},C&&(o.prototype.toBuffer=function(c,y){return this.toArrayLike(C,c,y)}),o.prototype.toArray=function(c,y){return this.toArrayLike(Array,c,y)},o.prototype.toArrayLike=function(c,y,S){this._strip();var k=this.byteLength(),v=S||Math.max(1,k);g(k<=v,"byte array longer than desired length"),g(v>0,"Requested array length <= 0");var n=function(c,y){return c.allocUnsafe?c.allocUnsafe(y):new c(y)}(c,v);return this["_toArrayLike"+("le"===y?"LE":"BE")](n,k),n},o.prototype._toArrayLikeLE=function(c,y){for(var S=0,k=0,v=0,n=0;v<this.length;v++){var b=this.words[v]<<n|k;c[S++]=255&b,S<c.length&&(c[S++]=b>>8&255),S<c.length&&(c[S++]=b>>16&255),6===n?(S<c.length&&(c[S++]=b>>24&255),k=0,n=0):(k=b>>>24,n+=2)}if(S<c.length)for(c[S++]=k;S<c.length;)c[S++]=0},o.prototype._toArrayLikeBE=function(c,y){for(var S=c.length-1,k=0,v=0,n=0;v<this.length;v++){var b=this.words[v]<<n|k;c[S--]=255&b,S>=0&&(c[S--]=b>>8&255),S>=0&&(c[S--]=b>>16&255),6===n?(S>=0&&(c[S--]=b>>24&255),k=0,n=0):(k=b>>>24,n+=2)}if(S>=0)for(c[S--]=k;S>=0;)c[S--]=0},o.prototype._countBits=Math.clz32?function(c){return 32-Math.clz32(c)}:function(c){var y=c,S=0;return y>=4096&&(S+=13,y>>>=13),y>=64&&(S+=7,y>>>=7),y>=8&&(S+=4,y>>>=4),y>=2&&(S+=2,y>>>=2),S+y},o.prototype._zeroBits=function(c){if(0===c)return 26;var y=c,S=0;return 0==(8191&y)&&(S+=13,y>>>=13),0==(127&y)&&(S+=7,y>>>=7),0==(15&y)&&(S+=4,y>>>=4),0==(3&y)&&(S+=2,y>>>=2),0==(1&y)&&S++,S},o.prototype.bitLength=function(){var y=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+y},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var c=0,y=0;y<this.length;y++){var S=this._zeroBits(this.words[y]);if(c+=S,26!==S)break}return c},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(c){return 0!==this.negative?this.abs().inotn(c).iaddn(1):this.clone()},o.prototype.fromTwos=function(c){return this.testn(c-1)?this.notn(c).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(c){for(;this.length<c.length;)this.words[this.length++]=0;for(var y=0;y<c.length;y++)this.words[y]=this.words[y]|c.words[y];return this._strip()},o.prototype.ior=function(c){return g(0==(this.negative|c.negative)),this.iuor(c)},o.prototype.or=function(c){return this.length>c.length?this.clone().ior(c):c.clone().ior(this)},o.prototype.uor=function(c){return this.length>c.length?this.clone().iuor(c):c.clone().iuor(this)},o.prototype.iuand=function(c){var y;y=this.length>c.length?c:this;for(var S=0;S<y.length;S++)this.words[S]=this.words[S]&c.words[S];return this.length=y.length,this._strip()},o.prototype.iand=function(c){return g(0==(this.negative|c.negative)),this.iuand(c)},o.prototype.and=function(c){return this.length>c.length?this.clone().iand(c):c.clone().iand(this)},o.prototype.uand=function(c){return this.length>c.length?this.clone().iuand(c):c.clone().iuand(this)},o.prototype.iuxor=function(c){var y,S;this.length>c.length?(y=this,S=c):(y=c,S=this);for(var k=0;k<S.length;k++)this.words[k]=y.words[k]^S.words[k];if(this!==y)for(;k<y.length;k++)this.words[k]=y.words[k];return this.length=y.length,this._strip()},o.prototype.ixor=function(c){return g(0==(this.negative|c.negative)),this.iuxor(c)},o.prototype.xor=function(c){return this.length>c.length?this.clone().ixor(c):c.clone().ixor(this)},o.prototype.uxor=function(c){return this.length>c.length?this.clone().iuxor(c):c.clone().iuxor(this)},o.prototype.inotn=function(c){g("number"==typeof c&&c>=0);var y=0|Math.ceil(c/26),S=c%26;this._expand(y),S>0&&y--;for(var k=0;k<y;k++)this.words[k]=67108863&~this.words[k];return S>0&&(this.words[k]=~this.words[k]&67108863>>26-S),this._strip()},o.prototype.notn=function(c){return this.clone().inotn(c)},o.prototype.setn=function(c,y){g("number"==typeof c&&c>=0);var S=c/26|0,k=c%26;return this._expand(S+1),this.words[S]=y?this.words[S]|1<<k:this.words[S]&~(1<<k),this._strip()},o.prototype.iadd=function(c){var y,S,k;if(0!==this.negative&&0===c.negative)return this.negative=0,y=this.isub(c),this.negative^=1,this._normSign();if(0===this.negative&&0!==c.negative)return c.negative=0,y=this.isub(c),c.negative=1,y._normSign();this.length>c.length?(S=this,k=c):(S=c,k=this);for(var v=0,n=0;n<k.length;n++)this.words[n]=67108863&(y=(0|S.words[n])+(0|k.words[n])+v),v=y>>>26;for(;0!==v&&n<S.length;n++)this.words[n]=67108863&(y=(0|S.words[n])+v),v=y>>>26;if(this.length=S.length,0!==v)this.words[this.length]=v,this.length++;else if(S!==this)for(;n<S.length;n++)this.words[n]=S.words[n];return this},o.prototype.add=function(c){var y;return 0!==c.negative&&0===this.negative?(c.negative=0,y=this.sub(c),c.negative^=1,y):0===c.negative&&0!==this.negative?(this.negative=0,y=c.sub(this),this.negative=1,y):this.length>c.length?this.clone().iadd(c):c.clone().iadd(this)},o.prototype.isub=function(c){if(0!==c.negative){c.negative=0;var y=this.iadd(c);return c.negative=1,y._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(c),this.negative=1,this._normSign();var k,v,S=this.cmp(c);if(0===S)return this.negative=0,this.length=1,this.words[0]=0,this;S>0?(k=this,v=c):(k=c,v=this);for(var n=0,b=0;b<v.length;b++)n=(y=(0|k.words[b])-(0|v.words[b])+n)>>26,this.words[b]=67108863&y;for(;0!==n&&b<k.length;b++)n=(y=(0|k.words[b])+n)>>26,this.words[b]=67108863&y;if(0===n&&b<k.length&&k!==this)for(;b<k.length;b++)this.words[b]=k.words[b];return this.length=Math.max(this.length,b),k!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(c){return this.clone().isub(c)};var j=function(c,y,S){var B,z,W,k=c.words,v=y.words,n=S.words,b=0,Oe=0|k[0],it=8191&Oe,Ne=Oe>>>13,ot=0|k[1],Ie=8191&ot,ve=ot>>>13,fe=0|k[2],Se=8191&fe,te=fe>>>13,Ke=0|k[3],Ae=8191&Ke,oe=Ke>>>13,ye=0|k[4],me=8191&ye,Me=ye>>>13,Ze=0|k[5],q=8191&Ze,de=Ze>>>13,xe=0|k[6],ke=8191&xe,ft=xe>>>13,_t=0|k[7],ct=8191&_t,nt=_t>>>13,Jt=0|k[8],vt=8191&Jt,ne=Jt>>>13,Ht=0|k[9],De=8191&Ht,ze=Ht>>>13,wt=0|v[0],Re=8191&wt,tt=wt>>>13,Bt=0|v[1],It=8191&Bt,zt=Bt>>>13,xt=0|v[2],we=8191&xt,J=xt>>>13,be=0|v[3],Fe=8191&be,at=be>>>13,ii=0|v[4],Gt=8191&ii,ei=ii>>>13,ht=0|v[5],rt=8191&ht,yt=ht>>>13,ri=0|v[6],Ut=8191&ri,Vt=ri>>>13,Ft=0|v[7],Qe=8191&Ft,Ve=Ft>>>13,je=0|v[8],Xe=8191&je,Et=je>>>13,mi=0|v[9],Li=8191&mi,wi=mi>>>13;S.negative=c.negative^y.negative,S.length=19;var Vi=(b+(B=Math.imul(it,Re))|0)+((8191&(z=(z=Math.imul(it,tt))+Math.imul(Ne,Re)|0))<<13)|0;b=((W=Math.imul(Ne,tt))+(z>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,B=Math.imul(Ie,Re),z=(z=Math.imul(Ie,tt))+Math.imul(ve,Re)|0,W=Math.imul(ve,tt);var qe=(b+(B=B+Math.imul(it,It)|0)|0)+((8191&(z=(z=z+Math.imul(it,zt)|0)+Math.imul(Ne,It)|0))<<13)|0;b=((W=W+Math.imul(Ne,zt)|0)+(z>>>13)|0)+(qe>>>26)|0,qe&=67108863,B=Math.imul(Se,Re),z=(z=Math.imul(Se,tt))+Math.imul(te,Re)|0,W=Math.imul(te,tt),B=B+Math.imul(Ie,It)|0,z=(z=z+Math.imul(Ie,zt)|0)+Math.imul(ve,It)|0,W=W+Math.imul(ve,zt)|0;var Tt=(b+(B=B+Math.imul(it,we)|0)|0)+((8191&(z=(z=z+Math.imul(it,J)|0)+Math.imul(Ne,we)|0))<<13)|0;b=((W=W+Math.imul(Ne,J)|0)+(z>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,B=Math.imul(Ae,Re),z=(z=Math.imul(Ae,tt))+Math.imul(oe,Re)|0,W=Math.imul(oe,tt),B=B+Math.imul(Se,It)|0,z=(z=z+Math.imul(Se,zt)|0)+Math.imul(te,It)|0,W=W+Math.imul(te,zt)|0,B=B+Math.imul(Ie,we)|0,z=(z=z+Math.imul(Ie,J)|0)+Math.imul(ve,we)|0,W=W+Math.imul(ve,J)|0;var ge=(b+(B=B+Math.imul(it,Fe)|0)|0)+((8191&(z=(z=z+Math.imul(it,at)|0)+Math.imul(Ne,Fe)|0))<<13)|0;b=((W=W+Math.imul(Ne,at)|0)+(z>>>13)|0)+(ge>>>26)|0,ge&=67108863,B=Math.imul(me,Re),z=(z=Math.imul(me,tt))+Math.imul(Me,Re)|0,W=Math.imul(Me,tt),B=B+Math.imul(Ae,It)|0,z=(z=z+Math.imul(Ae,zt)|0)+Math.imul(oe,It)|0,W=W+Math.imul(oe,zt)|0,B=B+Math.imul(Se,we)|0,z=(z=z+Math.imul(Se,J)|0)+Math.imul(te,we)|0,W=W+Math.imul(te,J)|0,B=B+Math.imul(Ie,Fe)|0,z=(z=z+Math.imul(Ie,at)|0)+Math.imul(ve,Fe)|0,W=W+Math.imul(ve,at)|0;var Dt=(b+(B=B+Math.imul(it,Gt)|0)|0)+((8191&(z=(z=z+Math.imul(it,ei)|0)+Math.imul(Ne,Gt)|0))<<13)|0;b=((W=W+Math.imul(Ne,ei)|0)+(z>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,B=Math.imul(q,Re),z=(z=Math.imul(q,tt))+Math.imul(de,Re)|0,W=Math.imul(de,tt),B=B+Math.imul(me,It)|0,z=(z=z+Math.imul(me,zt)|0)+Math.imul(Me,It)|0,W=W+Math.imul(Me,zt)|0,B=B+Math.imul(Ae,we)|0,z=(z=z+Math.imul(Ae,J)|0)+Math.imul(oe,we)|0,W=W+Math.imul(oe,J)|0,B=B+Math.imul(Se,Fe)|0,z=(z=z+Math.imul(Se,at)|0)+Math.imul(te,Fe)|0,W=W+Math.imul(te,at)|0,B=B+Math.imul(Ie,Gt)|0,z=(z=z+Math.imul(Ie,ei)|0)+Math.imul(ve,Gt)|0,W=W+Math.imul(ve,ei)|0;var Kt=(b+(B=B+Math.imul(it,rt)|0)|0)+((8191&(z=(z=z+Math.imul(it,yt)|0)+Math.imul(Ne,rt)|0))<<13)|0;b=((W=W+Math.imul(Ne,yt)|0)+(z>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,B=Math.imul(ke,Re),z=(z=Math.imul(ke,tt))+Math.imul(ft,Re)|0,W=Math.imul(ft,tt),B=B+Math.imul(q,It)|0,z=(z=z+Math.imul(q,zt)|0)+Math.imul(de,It)|0,W=W+Math.imul(de,zt)|0,B=B+Math.imul(me,we)|0,z=(z=z+Math.imul(me,J)|0)+Math.imul(Me,we)|0,W=W+Math.imul(Me,J)|0,B=B+Math.imul(Ae,Fe)|0,z=(z=z+Math.imul(Ae,at)|0)+Math.imul(oe,Fe)|0,W=W+Math.imul(oe,at)|0,B=B+Math.imul(Se,Gt)|0,z=(z=z+Math.imul(Se,ei)|0)+Math.imul(te,Gt)|0,W=W+Math.imul(te,ei)|0,B=B+Math.imul(Ie,rt)|0,z=(z=z+Math.imul(Ie,yt)|0)+Math.imul(ve,rt)|0,W=W+Math.imul(ve,yt)|0;var fi=(b+(B=B+Math.imul(it,Ut)|0)|0)+((8191&(z=(z=z+Math.imul(it,Vt)|0)+Math.imul(Ne,Ut)|0))<<13)|0;b=((W=W+Math.imul(Ne,Vt)|0)+(z>>>13)|0)+(fi>>>26)|0,fi&=67108863,B=Math.imul(ct,Re),z=(z=Math.imul(ct,tt))+Math.imul(nt,Re)|0,W=Math.imul(nt,tt),B=B+Math.imul(ke,It)|0,z=(z=z+Math.imul(ke,zt)|0)+Math.imul(ft,It)|0,W=W+Math.imul(ft,zt)|0,B=B+Math.imul(q,we)|0,z=(z=z+Math.imul(q,J)|0)+Math.imul(de,we)|0,W=W+Math.imul(de,J)|0,B=B+Math.imul(me,Fe)|0,z=(z=z+Math.imul(me,at)|0)+Math.imul(Me,Fe)|0,W=W+Math.imul(Me,at)|0,B=B+Math.imul(Ae,Gt)|0,z=(z=z+Math.imul(Ae,ei)|0)+Math.imul(oe,Gt)|0,W=W+Math.imul(oe,ei)|0,B=B+Math.imul(Se,rt)|0,z=(z=z+Math.imul(Se,yt)|0)+Math.imul(te,rt)|0,W=W+Math.imul(te,yt)|0,B=B+Math.imul(Ie,Ut)|0,z=(z=z+Math.imul(Ie,Vt)|0)+Math.imul(ve,Ut)|0,W=W+Math.imul(ve,Vt)|0;var Mi=(b+(B=B+Math.imul(it,Qe)|0)|0)+((8191&(z=(z=z+Math.imul(it,Ve)|0)+Math.imul(Ne,Qe)|0))<<13)|0;b=((W=W+Math.imul(Ne,Ve)|0)+(z>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,B=Math.imul(vt,Re),z=(z=Math.imul(vt,tt))+Math.imul(ne,Re)|0,W=Math.imul(ne,tt),B=B+Math.imul(ct,It)|0,z=(z=z+Math.imul(ct,zt)|0)+Math.imul(nt,It)|0,W=W+Math.imul(nt,zt)|0,B=B+Math.imul(ke,we)|0,z=(z=z+Math.imul(ke,J)|0)+Math.imul(ft,we)|0,W=W+Math.imul(ft,J)|0,B=B+Math.imul(q,Fe)|0,z=(z=z+Math.imul(q,at)|0)+Math.imul(de,Fe)|0,W=W+Math.imul(de,at)|0,B=B+Math.imul(me,Gt)|0,z=(z=z+Math.imul(me,ei)|0)+Math.imul(Me,Gt)|0,W=W+Math.imul(Me,ei)|0,B=B+Math.imul(Ae,rt)|0,z=(z=z+Math.imul(Ae,yt)|0)+Math.imul(oe,rt)|0,W=W+Math.imul(oe,yt)|0,B=B+Math.imul(Se,Ut)|0,z=(z=z+Math.imul(Se,Vt)|0)+Math.imul(te,Ut)|0,W=W+Math.imul(te,Vt)|0,B=B+Math.imul(Ie,Qe)|0,z=(z=z+Math.imul(Ie,Ve)|0)+Math.imul(ve,Qe)|0,W=W+Math.imul(ve,Ve)|0;var Pi=(b+(B=B+Math.imul(it,Xe)|0)|0)+((8191&(z=(z=z+Math.imul(it,Et)|0)+Math.imul(Ne,Xe)|0))<<13)|0;b=((W=W+Math.imul(Ne,Et)|0)+(z>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,B=Math.imul(De,Re),z=(z=Math.imul(De,tt))+Math.imul(ze,Re)|0,W=Math.imul(ze,tt),B=B+Math.imul(vt,It)|0,z=(z=z+Math.imul(vt,zt)|0)+Math.imul(ne,It)|0,W=W+Math.imul(ne,zt)|0,B=B+Math.imul(ct,we)|0,z=(z=z+Math.imul(ct,J)|0)+Math.imul(nt,we)|0,W=W+Math.imul(nt,J)|0,B=B+Math.imul(ke,Fe)|0,z=(z=z+Math.imul(ke,at)|0)+Math.imul(ft,Fe)|0,W=W+Math.imul(ft,at)|0,B=B+Math.imul(q,Gt)|0,z=(z=z+Math.imul(q,ei)|0)+Math.imul(de,Gt)|0,W=W+Math.imul(de,ei)|0,B=B+Math.imul(me,rt)|0,z=(z=z+Math.imul(me,yt)|0)+Math.imul(Me,rt)|0,W=W+Math.imul(Me,yt)|0,B=B+Math.imul(Ae,Ut)|0,z=(z=z+Math.imul(Ae,Vt)|0)+Math.imul(oe,Ut)|0,W=W+Math.imul(oe,Vt)|0,B=B+Math.imul(Se,Qe)|0,z=(z=z+Math.imul(Se,Ve)|0)+Math.imul(te,Qe)|0,W=W+Math.imul(te,Ve)|0,B=B+Math.imul(Ie,Xe)|0,z=(z=z+Math.imul(Ie,Et)|0)+Math.imul(ve,Xe)|0,W=W+Math.imul(ve,Et)|0;var Ui=(b+(B=B+Math.imul(it,Li)|0)|0)+((8191&(z=(z=z+Math.imul(it,wi)|0)+Math.imul(Ne,Li)|0))<<13)|0;b=((W=W+Math.imul(Ne,wi)|0)+(z>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,B=Math.imul(De,It),z=(z=Math.imul(De,zt))+Math.imul(ze,It)|0,W=Math.imul(ze,zt),B=B+Math.imul(vt,we)|0,z=(z=z+Math.imul(vt,J)|0)+Math.imul(ne,we)|0,W=W+Math.imul(ne,J)|0,B=B+Math.imul(ct,Fe)|0,z=(z=z+Math.imul(ct,at)|0)+Math.imul(nt,Fe)|0,W=W+Math.imul(nt,at)|0,B=B+Math.imul(ke,Gt)|0,z=(z=z+Math.imul(ke,ei)|0)+Math.imul(ft,Gt)|0,W=W+Math.imul(ft,ei)|0,B=B+Math.imul(q,rt)|0,z=(z=z+Math.imul(q,yt)|0)+Math.imul(de,rt)|0,W=W+Math.imul(de,yt)|0,B=B+Math.imul(me,Ut)|0,z=(z=z+Math.imul(me,Vt)|0)+Math.imul(Me,Ut)|0,W=W+Math.imul(Me,Vt)|0,B=B+Math.imul(Ae,Qe)|0,z=(z=z+Math.imul(Ae,Ve)|0)+Math.imul(oe,Qe)|0,W=W+Math.imul(oe,Ve)|0,B=B+Math.imul(Se,Xe)|0,z=(z=z+Math.imul(Se,Et)|0)+Math.imul(te,Xe)|0,W=W+Math.imul(te,Et)|0;var Wt=(b+(B=B+Math.imul(Ie,Li)|0)|0)+((8191&(z=(z=z+Math.imul(Ie,wi)|0)+Math.imul(ve,Li)|0))<<13)|0;b=((W=W+Math.imul(ve,wi)|0)+(z>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,B=Math.imul(De,we),z=(z=Math.imul(De,J))+Math.imul(ze,we)|0,W=Math.imul(ze,J),B=B+Math.imul(vt,Fe)|0,z=(z=z+Math.imul(vt,at)|0)+Math.imul(ne,Fe)|0,W=W+Math.imul(ne,at)|0,B=B+Math.imul(ct,Gt)|0,z=(z=z+Math.imul(ct,ei)|0)+Math.imul(nt,Gt)|0,W=W+Math.imul(nt,ei)|0,B=B+Math.imul(ke,rt)|0,z=(z=z+Math.imul(ke,yt)|0)+Math.imul(ft,rt)|0,W=W+Math.imul(ft,yt)|0,B=B+Math.imul(q,Ut)|0,z=(z=z+Math.imul(q,Vt)|0)+Math.imul(de,Ut)|0,W=W+Math.imul(de,Vt)|0,B=B+Math.imul(me,Qe)|0,z=(z=z+Math.imul(me,Ve)|0)+Math.imul(Me,Qe)|0,W=W+Math.imul(Me,Ve)|0,B=B+Math.imul(Ae,Xe)|0,z=(z=z+Math.imul(Ae,Et)|0)+Math.imul(oe,Xe)|0,W=W+Math.imul(oe,Et)|0;var si=(b+(B=B+Math.imul(Se,Li)|0)|0)+((8191&(z=(z=z+Math.imul(Se,wi)|0)+Math.imul(te,Li)|0))<<13)|0;b=((W=W+Math.imul(te,wi)|0)+(z>>>13)|0)+(si>>>26)|0,si&=67108863,B=Math.imul(De,Fe),z=(z=Math.imul(De,at))+Math.imul(ze,Fe)|0,W=Math.imul(ze,at),B=B+Math.imul(vt,Gt)|0,z=(z=z+Math.imul(vt,ei)|0)+Math.imul(ne,Gt)|0,W=W+Math.imul(ne,ei)|0,B=B+Math.imul(ct,rt)|0,z=(z=z+Math.imul(ct,yt)|0)+Math.imul(nt,rt)|0,W=W+Math.imul(nt,yt)|0,B=B+Math.imul(ke,Ut)|0,z=(z=z+Math.imul(ke,Vt)|0)+Math.imul(ft,Ut)|0,W=W+Math.imul(ft,Vt)|0,B=B+Math.imul(q,Qe)|0,z=(z=z+Math.imul(q,Ve)|0)+Math.imul(de,Qe)|0,W=W+Math.imul(de,Ve)|0,B=B+Math.imul(me,Xe)|0,z=(z=z+Math.imul(me,Et)|0)+Math.imul(Me,Xe)|0,W=W+Math.imul(Me,Et)|0;var _e=(b+(B=B+Math.imul(Ae,Li)|0)|0)+((8191&(z=(z=z+Math.imul(Ae,wi)|0)+Math.imul(oe,Li)|0))<<13)|0;b=((W=W+Math.imul(oe,wi)|0)+(z>>>13)|0)+(_e>>>26)|0,_e&=67108863,B=Math.imul(De,Gt),z=(z=Math.imul(De,ei))+Math.imul(ze,Gt)|0,W=Math.imul(ze,ei),B=B+Math.imul(vt,rt)|0,z=(z=z+Math.imul(vt,yt)|0)+Math.imul(ne,rt)|0,W=W+Math.imul(ne,yt)|0,B=B+Math.imul(ct,Ut)|0,z=(z=z+Math.imul(ct,Vt)|0)+Math.imul(nt,Ut)|0,W=W+Math.imul(nt,Vt)|0,B=B+Math.imul(ke,Qe)|0,z=(z=z+Math.imul(ke,Ve)|0)+Math.imul(ft,Qe)|0,W=W+Math.imul(ft,Ve)|0,B=B+Math.imul(q,Xe)|0,z=(z=z+Math.imul(q,Et)|0)+Math.imul(de,Xe)|0,W=W+Math.imul(de,Et)|0;var $e=(b+(B=B+Math.imul(me,Li)|0)|0)+((8191&(z=(z=z+Math.imul(me,wi)|0)+Math.imul(Me,Li)|0))<<13)|0;b=((W=W+Math.imul(Me,wi)|0)+(z>>>13)|0)+($e>>>26)|0,$e&=67108863,B=Math.imul(De,rt),z=(z=Math.imul(De,yt))+Math.imul(ze,rt)|0,W=Math.imul(ze,yt),B=B+Math.imul(vt,Ut)|0,z=(z=z+Math.imul(vt,Vt)|0)+Math.imul(ne,Ut)|0,W=W+Math.imul(ne,Vt)|0,B=B+Math.imul(ct,Qe)|0,z=(z=z+Math.imul(ct,Ve)|0)+Math.imul(nt,Qe)|0,W=W+Math.imul(nt,Ve)|0,B=B+Math.imul(ke,Xe)|0,z=(z=z+Math.imul(ke,Et)|0)+Math.imul(ft,Xe)|0,W=W+Math.imul(ft,Et)|0;var St=(b+(B=B+Math.imul(q,Li)|0)|0)+((8191&(z=(z=z+Math.imul(q,wi)|0)+Math.imul(de,Li)|0))<<13)|0;b=((W=W+Math.imul(de,wi)|0)+(z>>>13)|0)+(St>>>26)|0,St&=67108863,B=Math.imul(De,Ut),z=(z=Math.imul(De,Vt))+Math.imul(ze,Ut)|0,W=Math.imul(ze,Vt),B=B+Math.imul(vt,Qe)|0,z=(z=z+Math.imul(vt,Ve)|0)+Math.imul(ne,Qe)|0,W=W+Math.imul(ne,Ve)|0,B=B+Math.imul(ct,Xe)|0,z=(z=z+Math.imul(ct,Et)|0)+Math.imul(nt,Xe)|0,W=W+Math.imul(nt,Et)|0;var mt=(b+(B=B+Math.imul(ke,Li)|0)|0)+((8191&(z=(z=z+Math.imul(ke,wi)|0)+Math.imul(ft,Li)|0))<<13)|0;b=((W=W+Math.imul(ft,wi)|0)+(z>>>13)|0)+(mt>>>26)|0,mt&=67108863,B=Math.imul(De,Qe),z=(z=Math.imul(De,Ve))+Math.imul(ze,Qe)|0,W=Math.imul(ze,Ve),B=B+Math.imul(vt,Xe)|0,z=(z=z+Math.imul(vt,Et)|0)+Math.imul(ne,Xe)|0,W=W+Math.imul(ne,Et)|0;var ui=(b+(B=B+Math.imul(ct,Li)|0)|0)+((8191&(z=(z=z+Math.imul(ct,wi)|0)+Math.imul(nt,Li)|0))<<13)|0;b=((W=W+Math.imul(nt,wi)|0)+(z>>>13)|0)+(ui>>>26)|0,ui&=67108863,B=Math.imul(De,Xe),z=(z=Math.imul(De,Et))+Math.imul(ze,Xe)|0,W=Math.imul(ze,Et);var Qt=(b+(B=B+Math.imul(vt,Li)|0)|0)+((8191&(z=(z=z+Math.imul(vt,wi)|0)+Math.imul(ne,Li)|0))<<13)|0;b=((W=W+Math.imul(ne,wi)|0)+(z>>>13)|0)+(Qt>>>26)|0,Qt&=67108863;var li=(b+(B=Math.imul(De,Li))|0)+((8191&(z=(z=Math.imul(De,wi))+Math.imul(ze,Li)|0))<<13)|0;return b=((W=Math.imul(ze,wi))+(z>>>13)|0)+(li>>>26)|0,li&=67108863,n[0]=Vi,n[1]=qe,n[2]=Tt,n[3]=ge,n[4]=Dt,n[5]=Kt,n[6]=fi,n[7]=Mi,n[8]=Pi,n[9]=Ui,n[10]=Wt,n[11]=si,n[12]=_e,n[13]=$e,n[14]=St,n[15]=mt,n[16]=ui,n[17]=Qt,n[18]=li,0!==b&&(n[19]=b,S.length++),S};function X(h,c,y){y.negative=c.negative^h.negative,y.length=h.length+c.length;for(var S=0,k=0,v=0;v<y.length-1;v++){var n=k;k=0;for(var b=67108863&S,B=Math.min(v,c.length-1),z=Math.max(0,v-h.length+1);z<=B;z++){var Ne=(0|h.words[v-z])*(0|c.words[z]),ot=67108863&Ne;b=67108863&(ot=ot+b|0),k+=(n=(n=n+(Ne/67108864|0)|0)+(ot>>>26)|0)>>>26,n&=67108863}y.words[v]=b,S=n,n=k}return 0!==S?y.words[v]=S:y.length--,y._strip()}function ee(h,c,y){return X(h,c,y)}function ue(h,c){this.x=h,this.y=c}Math.imul||(j=Y),o.prototype.mulTo=function(c,y){var k=this.length+c.length;return 10===this.length&&10===c.length?j(this,c,y):k<63?Y(this,c,y):k<1024?X(this,c,y):ee(this,c,y)},ue.prototype.makeRBT=function(c){for(var y=new Array(c),S=o.prototype._countBits(c)-1,k=0;k<c;k++)y[k]=this.revBin(k,S,c);return y},ue.prototype.revBin=function(c,y,S){if(0===c||c===S-1)return c;for(var k=0,v=0;v<y;v++)k|=(1&c)<<y-v-1,c>>=1;return k},ue.prototype.permute=function(c,y,S,k,v,n){for(var b=0;b<n;b++)k[b]=y[c[b]],v[b]=S[c[b]]},ue.prototype.transform=function(c,y,S,k,v,n){this.permute(n,c,y,S,k,v);for(var b=1;b<v;b<<=1)for(var B=b<<1,z=Math.cos(2*Math.PI/B),W=Math.sin(2*Math.PI/B),Oe=0;Oe<v;Oe+=B)for(var it=z,Ne=W,ot=0;ot<b;ot++){var Ie=S[Oe+ot],ve=k[Oe+ot],fe=S[Oe+ot+b],Se=k[Oe+ot+b],te=it*fe-Ne*Se;Se=it*Se+Ne*fe,S[Oe+ot]=Ie+(fe=te),k[Oe+ot]=ve+Se,S[Oe+ot+b]=Ie-fe,k[Oe+ot+b]=ve-Se,ot!==B&&(te=z*it-W*Ne,Ne=z*Ne+W*it,it=te)}},ue.prototype.guessLen13b=function(c,y){var S=1|Math.max(y,c),k=1&S,v=0;for(S=S/2|0;S;S>>>=1)v++;return 1<<v+1+k},ue.prototype.conjugate=function(c,y,S){if(!(S<=1))for(var k=0;k<S/2;k++){var v=c[k];c[k]=c[S-k-1],c[S-k-1]=v,v=y[k],y[k]=-y[S-k-1],y[S-k-1]=-v}},ue.prototype.normalize13b=function(c,y){for(var S=0,k=0;k<y/2;k++){var v=8192*Math.round(c[2*k+1]/y)+Math.round(c[2*k]/y)+S;c[k]=67108863&v,S=v<67108864?0:v/67108864|0}return c},ue.prototype.convert13b=function(c,y,S,k){for(var v=0,n=0;n<y;n++)S[2*n]=8191&(v+=0|c[n]),S[2*n+1]=8191&(v>>>=13),v>>>=13;for(n=2*y;n<k;++n)S[n]=0;g(0===v),g(0==(-8192&v))},ue.prototype.stub=function(c){for(var y=new Array(c),S=0;S<c;S++)y[S]=0;return y},ue.prototype.mulp=function(c,y,S){var k=2*this.guessLen13b(c.length,y.length),v=this.makeRBT(k),n=this.stub(k),b=new Array(k),B=new Array(k),z=new Array(k),W=new Array(k),Oe=new Array(k),it=new Array(k),Ne=S.words;Ne.length=k,this.convert13b(c.words,c.length,b,k),this.convert13b(y.words,y.length,W,k),this.transform(b,n,B,z,k,v),this.transform(W,n,Oe,it,k,v);for(var ot=0;ot<k;ot++){var Ie=B[ot]*Oe[ot]-z[ot]*it[ot];z[ot]=B[ot]*it[ot]+z[ot]*Oe[ot],B[ot]=Ie}return this.conjugate(B,z,k),this.transform(B,z,Ne,n,k,v),this.conjugate(Ne,n,k),this.normalize13b(Ne,k),S.negative=c.negative^y.negative,S.length=c.length+y.length,S._strip()},o.prototype.mul=function(c){var y=new o(null);return y.words=new Array(this.length+c.length),this.mulTo(c,y)},o.prototype.mulf=function(c){var y=new o(null);return y.words=new Array(this.length+c.length),ee(this,c,y)},o.prototype.imul=function(c){return this.clone().mulTo(c,this)},o.prototype.imuln=function(c){var y=c<0;y&&(c=-c),g("number"==typeof c),g(c<67108864);for(var S=0,k=0;k<this.length;k++){var v=(0|this.words[k])*c,n=(67108863&v)+(67108863&S);S>>=26,S+=v/67108864|0,S+=n>>>26,this.words[k]=67108863&n}return 0!==S&&(this.words[k]=S,this.length++),y?this.ineg():this},o.prototype.muln=function(c){return this.clone().imuln(c)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(c){var y=function Z(h){for(var c=new Array(h.bitLength()),y=0;y<c.length;y++)c[y]=h.words[y/26|0]>>>y%26&1;return c}(c);if(0===y.length)return new o(1);for(var S=this,k=0;k<y.length&&0===y[k];k++,S=S.sqr());if(++k<y.length)for(var v=S.sqr();k<y.length;k++,v=v.sqr())0!==y[k]&&(S=S.mul(v));return S},o.prototype.iushln=function(c){g("number"==typeof c&&c>=0);var v,y=c%26,S=(c-y)/26,k=67108863>>>26-y<<26-y;if(0!==y){var n=0;for(v=0;v<this.length;v++){var b=this.words[v]&k;this.words[v]=(0|this.words[v])-b<<y|n,n=b>>>26-y}n&&(this.words[v]=n,this.length++)}if(0!==S){for(v=this.length-1;v>=0;v--)this.words[v+S]=this.words[v];for(v=0;v<S;v++)this.words[v]=0;this.length+=S}return this._strip()},o.prototype.ishln=function(c){return g(0===this.negative),this.iushln(c)},o.prototype.iushrn=function(c,y,S){var k;g("number"==typeof c&&c>=0),k=y?(y-y%26)/26:0;var v=c%26,n=Math.min((c-v)/26,this.length),b=67108863^67108863>>>v<<v,B=S;if(k-=n,k=Math.max(0,k),B){for(var z=0;z<n;z++)B.words[z]=this.words[z];B.length=n}if(0!==n)if(this.length>n)for(this.length-=n,z=0;z<this.length;z++)this.words[z]=this.words[z+n];else this.words[0]=0,this.length=1;var W=0;for(z=this.length-1;z>=0&&(0!==W||z>=k);z--){var Oe=0|this.words[z];this.words[z]=W<<26-v|Oe>>>v,W=Oe&b}return B&&0!==W&&(B.words[B.length++]=W),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(c,y,S){return g(0===this.negative),this.iushrn(c,y,S)},o.prototype.shln=function(c){return this.clone().ishln(c)},o.prototype.ushln=function(c){return this.clone().iushln(c)},o.prototype.shrn=function(c){return this.clone().ishrn(c)},o.prototype.ushrn=function(c){return this.clone().iushrn(c)},o.prototype.testn=function(c){g("number"==typeof c&&c>=0);var y=c%26,S=(c-y)/26;return!(this.length<=S||!(this.words[S]&1<<y))},o.prototype.imaskn=function(c){g("number"==typeof c&&c>=0);var y=c%26,S=(c-y)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=S?this:(0!==y&&S++,this.length=Math.min(S,this.length),0!==y&&(this.words[this.length-1]&=67108863^67108863>>>y<<y),this._strip())},o.prototype.maskn=function(c){return this.clone().imaskn(c)},o.prototype.iaddn=function(c){return g("number"==typeof c),g(c<67108864),c<0?this.isubn(-c):0!==this.negative?1===this.length&&(0|this.words[0])<=c?(this.words[0]=c-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(c),this.negative=1,this):this._iaddn(c)},o.prototype._iaddn=function(c){this.words[0]+=c;for(var y=0;y<this.length&&this.words[y]>=67108864;y++)this.words[y]-=67108864,y===this.length-1?this.words[y+1]=1:this.words[y+1]++;return this.length=Math.max(this.length,y+1),this},o.prototype.isubn=function(c){if(g("number"==typeof c),g(c<67108864),c<0)return this.iaddn(-c);if(0!==this.negative)return this.negative=0,this.iaddn(c),this.negative=1,this;if(this.words[0]-=c,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var y=0;y<this.length&&this.words[y]<0;y++)this.words[y]+=67108864,this.words[y+1]-=1;return this._strip()},o.prototype.addn=function(c){return this.clone().iaddn(c)},o.prototype.subn=function(c){return this.clone().isubn(c)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(c,y,S){var v;this._expand(c.length+S);var n,b=0;for(v=0;v<c.length;v++){n=(0|this.words[v+S])+b;var B=(0|c.words[v])*y;b=((n-=67108863&B)>>26)-(B/67108864|0),this.words[v+S]=67108863&n}for(;v<this.length-S;v++)b=(n=(0|this.words[v+S])+b)>>26,this.words[v+S]=67108863&n;if(0===b)return this._strip();for(g(-1===b),b=0,v=0;v<this.length;v++)b=(n=-(0|this.words[v])+b)>>26,this.words[v]=67108863&n;return this.negative=1,this._strip()},o.prototype._wordDiv=function(c,y){var S,k=this.clone(),v=c,n=0|v.words[v.length-1];0!=(S=26-this._countBits(n))&&(v=v.ushln(S),k.iushln(S),n=0|v.words[v.length-1]);var z,B=k.length-v.length;if("mod"!==y){(z=new o(null)).length=B+1,z.words=new Array(z.length);for(var W=0;W<z.length;W++)z.words[W]=0}var Oe=k.clone()._ishlnsubmul(v,1,B);0===Oe.negative&&(k=Oe,z&&(z.words[B]=1));for(var it=B-1;it>=0;it--){var Ne=67108864*(0|k.words[v.length+it])+(0|k.words[v.length+it-1]);for(Ne=Math.min(Ne/n|0,67108863),k._ishlnsubmul(v,Ne,it);0!==k.negative;)Ne--,k.negative=0,k._ishlnsubmul(v,1,it),k.isZero()||(k.negative^=1);z&&(z.words[it]=Ne)}return z&&z._strip(),k._strip(),"div"!==y&&0!==S&&k.iushrn(S),{div:z||null,mod:k}},o.prototype.divmod=function(c,y,S){return g(!c.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===c.negative?(n=this.neg().divmod(c,y),"mod"!==y&&(k=n.div.neg()),"div"!==y&&(v=n.mod.neg(),S&&0!==v.negative&&v.iadd(c)),{div:k,mod:v}):0===this.negative&&0!==c.negative?(n=this.divmod(c.neg(),y),"mod"!==y&&(k=n.div.neg()),{div:k,mod:n.mod}):0!=(this.negative&c.negative)?(n=this.neg().divmod(c.neg(),y),"div"!==y&&(v=n.mod.neg(),S&&0!==v.negative&&v.isub(c)),{div:n.div,mod:v}):c.length>this.length||this.cmp(c)<0?{div:new o(0),mod:this}:1===c.length?"div"===y?{div:this.divn(c.words[0]),mod:null}:"mod"===y?{div:null,mod:new o(this.modrn(c.words[0]))}:{div:this.divn(c.words[0]),mod:new o(this.modrn(c.words[0]))}:this._wordDiv(c,y);var k,v,n},o.prototype.div=function(c){return this.divmod(c,"div",!1).div},o.prototype.mod=function(c){return this.divmod(c,"mod",!1).mod},o.prototype.umod=function(c){return this.divmod(c,"mod",!0).mod},o.prototype.divRound=function(c){var y=this.divmod(c);if(y.mod.isZero())return y.div;var S=0!==y.div.negative?y.mod.isub(c):y.mod,k=c.ushrn(1),v=c.andln(1),n=S.cmp(k);return n<0||1===v&&0===n?y.div:0!==y.div.negative?y.div.isubn(1):y.div.iaddn(1)},o.prototype.modrn=function(c){var y=c<0;y&&(c=-c),g(c<=67108863);for(var S=(1<<26)%c,k=0,v=this.length-1;v>=0;v--)k=(S*k+(0|this.words[v]))%c;return y?-k:k},o.prototype.modn=function(c){return this.modrn(c)},o.prototype.idivn=function(c){var y=c<0;y&&(c=-c),g(c<=67108863);for(var S=0,k=this.length-1;k>=0;k--){var v=(0|this.words[k])+67108864*S;this.words[k]=v/c|0,S=v%c}return this._strip(),y?this.ineg():this},o.prototype.divn=function(c){return this.clone().idivn(c)},o.prototype.egcd=function(c){g(0===c.negative),g(!c.isZero());var y=this,S=c.clone();y=0!==y.negative?y.umod(c):y.clone();for(var k=new o(1),v=new o(0),n=new o(0),b=new o(1),B=0;y.isEven()&&S.isEven();)y.iushrn(1),S.iushrn(1),++B;for(var z=S.clone(),W=y.clone();!y.isZero();){for(var Oe=0,it=1;0==(y.words[0]&it)&&Oe<26;++Oe,it<<=1);if(Oe>0)for(y.iushrn(Oe);Oe-- >0;)(k.isOdd()||v.isOdd())&&(k.iadd(z),v.isub(W)),k.iushrn(1),v.iushrn(1);for(var Ne=0,ot=1;0==(S.words[0]&ot)&&Ne<26;++Ne,ot<<=1);if(Ne>0)for(S.iushrn(Ne);Ne-- >0;)(n.isOdd()||b.isOdd())&&(n.iadd(z),b.isub(W)),n.iushrn(1),b.iushrn(1);y.cmp(S)>=0?(y.isub(S),k.isub(n),v.isub(b)):(S.isub(y),n.isub(k),b.isub(v))}return{a:n,b,gcd:S.iushln(B)}},o.prototype._invmp=function(c){g(0===c.negative),g(!c.isZero());var Oe,y=this,S=c.clone();y=0!==y.negative?y.umod(c):y.clone();for(var k=new o(1),v=new o(0),n=S.clone();y.cmpn(1)>0&&S.cmpn(1)>0;){for(var b=0,B=1;0==(y.words[0]&B)&&b<26;++b,B<<=1);if(b>0)for(y.iushrn(b);b-- >0;)k.isOdd()&&k.iadd(n),k.iushrn(1);for(var z=0,W=1;0==(S.words[0]&W)&&z<26;++z,W<<=1);if(z>0)for(S.iushrn(z);z-- >0;)v.isOdd()&&v.iadd(n),v.iushrn(1);y.cmp(S)>=0?(y.isub(S),k.isub(v)):(S.isub(y),v.isub(k))}return(Oe=0===y.cmpn(1)?k:v).cmpn(0)<0&&Oe.iadd(c),Oe},o.prototype.gcd=function(c){if(this.isZero())return c.abs();if(c.isZero())return this.abs();var y=this.clone(),S=c.clone();y.negative=0,S.negative=0;for(var k=0;y.isEven()&&S.isEven();k++)y.iushrn(1),S.iushrn(1);for(;;){for(;y.isEven();)y.iushrn(1);for(;S.isEven();)S.iushrn(1);var v=y.cmp(S);if(v<0){var n=y;y=S,S=n}else if(0===v||0===S.cmpn(1))break;y.isub(S)}return S.iushln(k)},o.prototype.invm=function(c){return this.egcd(c).a.umod(c)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(c){return this.words[0]&c},o.prototype.bincn=function(c){g("number"==typeof c);var y=c%26,S=(c-y)/26,k=1<<y;if(this.length<=S)return this._expand(S+1),this.words[S]|=k,this;for(var v=k,n=S;0!==v&&n<this.length;n++){var b=0|this.words[n];v=(b+=v)>>>26,this.words[n]=b&=67108863}return 0!==v&&(this.words[n]=v,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(c){var S,y=c<0;if(0!==this.negative&&!y)return-1;if(0===this.negative&&y)return 1;if(this._strip(),this.length>1)S=1;else{y&&(c=-c),g(c<=67108863,"Number is too big");var k=0|this.words[0];S=k===c?0:k<c?-1:1}return 0!==this.negative?0|-S:S},o.prototype.cmp=function(c){if(0!==this.negative&&0===c.negative)return-1;if(0===this.negative&&0!==c.negative)return 1;var y=this.ucmp(c);return 0!==this.negative?0|-y:y},o.prototype.ucmp=function(c){if(this.length>c.length)return 1;if(this.length<c.length)return-1;for(var y=0,S=this.length-1;S>=0;S--){var k=0|this.words[S],v=0|c.words[S];if(k!==v){k<v?y=-1:k>v&&(y=1);break}}return y},o.prototype.gtn=function(c){return 1===this.cmpn(c)},o.prototype.gt=function(c){return 1===this.cmp(c)},o.prototype.gten=function(c){return this.cmpn(c)>=0},o.prototype.gte=function(c){return this.cmp(c)>=0},o.prototype.ltn=function(c){return-1===this.cmpn(c)},o.prototype.lt=function(c){return-1===this.cmp(c)},o.prototype.lten=function(c){return this.cmpn(c)<=0},o.prototype.lte=function(c){return this.cmp(c)<=0},o.prototype.eqn=function(c){return 0===this.cmpn(c)},o.prototype.eq=function(c){return 0===this.cmp(c)},o.red=function(c){return new i(c)},o.prototype.toRed=function(c){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),c.convertTo(this)._forceRed(c)},o.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(c){return this.red=c,this},o.prototype.forceRed=function(c){return g(!this.red,"Already a number in reduction context"),this._forceRed(c)},o.prototype.redAdd=function(c){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,c)},o.prototype.redIAdd=function(c){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,c)},o.prototype.redSub=function(c){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,c)},o.prototype.redISub=function(c){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,c)},o.prototype.redShl=function(c){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,c)},o.prototype.redMul=function(c){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,c),this.red.mul(this,c)},o.prototype.redIMul=function(c){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,c),this.red.imul(this,c)},o.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(c){return g(this.red&&!c.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,c)};var le={k256:null,p224:null,p192:null,p25519:null};function ie(h,c){this.name=h,this.p=new o(c,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ce(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function se(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function he(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function E(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function i(h){if("string"==typeof h){var c=o._prime(h);this.m=c.p,this.prime=c}else g(h.gtn(1),"modulus must be greater than 1"),this.m=h,this.prime=null}function r(h){i.call(this,h),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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)}ie.prototype._tmp=function(){var c=new o(null);return c.words=new Array(Math.ceil(this.n/13)),c},ie.prototype.ireduce=function(c){var S,y=c;do{this.split(y,this.tmp),S=(y=(y=this.imulK(y)).iadd(this.tmp)).bitLength()}while(S>this.n);var k=S<this.n?-1:y.ucmp(this.p);return 0===k?(y.words[0]=0,y.length=1):k>0?y.isub(this.p):void 0!==y.strip?y.strip():y._strip(),y},ie.prototype.split=function(c,y){c.iushrn(this.n,0,y)},ie.prototype.imulK=function(c){return c.imul(this.k)},A(ce,ie),ce.prototype.split=function(c,y){for(var S=4194303,k=Math.min(c.length,9),v=0;v<k;v++)y.words[v]=c.words[v];if(y.length=k,c.length<=9)return c.words[0]=0,void(c.length=1);var n=c.words[9];for(y.words[y.length++]=n&S,v=10;v<c.length;v++){var b=0|c.words[v];c.words[v-10]=(b&S)<<4|n>>>22,n=b}c.words[v-10]=n>>>=22,c.length-=0===n&&c.length>10?10:9},ce.prototype.imulK=function(c){c.words[c.length]=0,c.words[c.length+1]=0,c.length+=2;for(var y=0,S=0;S<c.length;S++){var k=0|c.words[S];c.words[S]=67108863&(y+=977*k),y=64*k+(y/67108864|0)}return 0===c.words[c.length-1]&&(c.length--,0===c.words[c.length-1]&&c.length--),c},A(se,ie),A(he,ie),A(E,ie),E.prototype.imulK=function(c){for(var y=0,S=0;S<c.length;S++){var k=19*(0|c.words[S])+y,v=67108863&k;k>>>=26,c.words[S]=v,y=k}return 0!==y&&(c.words[c.length++]=y),c},o._prime=function(c){if(le[c])return le[c];var y;if("k256"===c)y=new ce;else if("p224"===c)y=new se;else if("p192"===c)y=new he;else{if("p25519"!==c)throw new Error("Unknown prime "+c);y=new E}return le[c]=y,y},i.prototype._verify1=function(c){g(0===c.negative,"red works only with positives"),g(c.red,"red works only with red numbers")},i.prototype._verify2=function(c,y){g(0==(c.negative|y.negative),"red works only with positives"),g(c.red&&c.red===y.red,"red works only with red numbers")},i.prototype.imod=function(c){return this.prime?this.prime.ireduce(c)._forceRed(this):(M(c,c.umod(this.m)._forceRed(this)),c)},i.prototype.neg=function(c){return c.isZero()?c.clone():this.m.sub(c)._forceRed(this)},i.prototype.add=function(c,y){this._verify2(c,y);var S=c.add(y);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},i.prototype.iadd=function(c,y){this._verify2(c,y);var S=c.iadd(y);return S.cmp(this.m)>=0&&S.isub(this.m),S},i.prototype.sub=function(c,y){this._verify2(c,y);var S=c.sub(y);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},i.prototype.isub=function(c,y){this._verify2(c,y);var S=c.isub(y);return S.cmpn(0)<0&&S.iadd(this.m),S},i.prototype.shl=function(c,y){return this._verify1(c),this.imod(c.ushln(y))},i.prototype.imul=function(c,y){return this._verify2(c,y),this.imod(c.imul(y))},i.prototype.mul=function(c,y){return this._verify2(c,y),this.imod(c.mul(y))},i.prototype.isqr=function(c){return this.imul(c,c.clone())},i.prototype.sqr=function(c){return this.mul(c,c)},i.prototype.sqrt=function(c){if(c.isZero())return c.clone();var y=this.m.andln(3);if(g(y%2==1),3===y){var S=this.m.add(new o(1)).iushrn(2);return this.pow(c,S)}for(var k=this.m.subn(1),v=0;!k.isZero()&&0===k.andln(1);)v++,k.iushrn(1);g(!k.isZero());var n=new o(1).toRed(this),b=n.redNeg(),B=this.m.subn(1).iushrn(1),z=this.m.bitLength();for(z=new o(2*z*z).toRed(this);0!==this.pow(z,B).cmp(b);)z.redIAdd(b);for(var W=this.pow(z,k),Oe=this.pow(c,k.addn(1).iushrn(1)),it=this.pow(c,k),Ne=v;0!==it.cmp(n);){for(var ot=it,Ie=0;0!==ot.cmp(n);Ie++)ot=ot.redSqr();g(Ie<Ne);var ve=this.pow(W,new o(1).iushln(Ne-Ie-1));Oe=Oe.redMul(ve),W=ve.redSqr(),it=it.redMul(W),Ne=Ie}return Oe},i.prototype.invm=function(c){var y=c._invmp(this.m);return 0!==y.negative?(y.negative=0,this.imod(y).redNeg()):this.imod(y)},i.prototype.pow=function(c,y){if(y.isZero())return new o(1).toRed(this);if(0===y.cmpn(1))return c.clone();var k=new Array(16);k[0]=new o(1).toRed(this),k[1]=c;for(var v=2;v<k.length;v++)k[v]=this.mul(k[v-1],c);var n=k[0],b=0,B=0,z=y.bitLength()%26;for(0===z&&(z=26),v=y.length-1;v>=0;v--){for(var W=y.words[v],Oe=z-1;Oe>=0;Oe--){var it=W>>Oe&1;n!==k[0]&&(n=this.sqr(n)),0!==it||0!==b?(b<<=1,b|=it,(4==++B||0===v&&0===Oe)&&(n=this.mul(n,k[b]),B=0,b=0)):B=0}z=26}return n},i.prototype.convertTo=function(c){var y=c.umod(this.m);return y===c?y.clone():y},i.prototype.convertFrom=function(c){var y=c.clone();return y.red=null,y},o.mont=function(c){return new r(c)},A(r,i),r.prototype.convertTo=function(c){return this.imod(c.ushln(this.shift))},r.prototype.convertFrom=function(c){var y=this.imod(c.mul(this.rinv));return y.red=null,y},r.prototype.imul=function(c,y){if(c.isZero()||y.isZero())return c.words[0]=0,c.length=1,c;var S=c.imul(y),k=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=S.isub(k).iushrn(this.shift),n=v;return v.cmp(this.m)>=0?n=v.isub(this.m):v.cmpn(0)<0&&(n=v.iadd(this.m)),n._forceRed(this)},r.prototype.mul=function(c,y){if(c.isZero()||y.isZero())return new o(0)._forceRed(this);var S=c.mul(y),k=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=S.isub(k).iushrn(this.shift),n=v;return v.cmp(this.m)>=0?n=v.isub(this.m):v.cmpn(0)<0&&(n=v.iadd(this.m)),n._forceRed(this)},r.prototype.invm=function(c){return this.imod(c._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ge=m.nmd(Ge),this)},7950:(Ge,Q,m)=>{var t;function e(A){this.rand=A}if(Ge.exports=function(o){return t||(t=new e(null)),t.generate(o)},Ge.exports.Rand=e,e.prototype.generate=function(o){return this._rand(o)},e.prototype._rand=function(o){if(this.rand.getBytes)return this.rand.getBytes(o);for(var C=new Uint8Array(o),u=0;u<C.length;u++)C[u]=this.rand.getByte();return C},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?e.prototype._rand=function(o){var C=new Uint8Array(o);return self.crypto.getRandomValues(C),C}:self.msCrypto&&self.msCrypto.getRandomValues?e.prototype._rand=function(o){var C=new Uint8Array(o);return self.msCrypto.getRandomValues(C),C}:"object"==typeof window&&(e.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var g=m(1348);if("function"!=typeof g.randomBytes)throw new Error("Not supported");e.prototype._rand=function(o){return g.randomBytes(o)}}catch{}},1899:(Ge,Q,m)=>{var t=m(3502).Buffer;function e(O){t.isBuffer(O)||(O=t.from(O));for(var d=O.length/4|0,M=new Array(d),w=0;w<d;w++)M[w]=O.readUInt32BE(4*w);return M}function g(O){for(;0<O.length;O++)O[0]=0}function A(O,d,M,w,L){for(var ue,le,ie,ce,I=M[0],P=M[1],U=M[2],Z=M[3],Y=O[0]^d[0],j=O[1]^d[1],X=O[2]^d[2],ee=O[3]^d[3],se=4,he=1;he<L;he++)ue=I[Y>>>24]^P[j>>>16&255]^U[X>>>8&255]^Z[255&ee]^d[se++],le=I[j>>>24]^P[X>>>16&255]^U[ee>>>8&255]^Z[255&Y]^d[se++],ie=I[X>>>24]^P[ee>>>16&255]^U[Y>>>8&255]^Z[255&j]^d[se++],ce=I[ee>>>24]^P[Y>>>16&255]^U[j>>>8&255]^Z[255&X]^d[se++],Y=ue,j=le,X=ie,ee=ce;return ue=(w[Y>>>24]<<24|w[j>>>16&255]<<16|w[X>>>8&255]<<8|w[255&ee])^d[se++],le=(w[j>>>24]<<24|w[X>>>16&255]<<16|w[ee>>>8&255]<<8|w[255&Y])^d[se++],ie=(w[X>>>24]<<24|w[ee>>>16&255]<<16|w[Y>>>8&255]<<8|w[255&j])^d[se++],ce=(w[ee>>>24]<<24|w[Y>>>16&255]<<16|w[j>>>8&255]<<8|w[255&X])^d[se++],[ue>>>=0,le>>>=0,ie>>>=0,ce>>>=0]}var o=[0,1,2,4,8,16,32,64,128,27,54],C=function(){for(var O=new Array(256),d=0;d<256;d++)O[d]=d<128?d<<1:d<<1^283;for(var M=[],w=[],L=[[],[],[],[]],I=[[],[],[],[]],P=0,U=0,Z=0;Z<256;++Z){var Y=U^U<<1^U<<2^U<<3^U<<4;M[P]=Y=Y>>>8^255&Y^99,w[Y]=P;var j=O[P],X=O[j],ee=O[X],ue=257*O[Y]^16843008*Y;L[0][P]=ue<<24|ue>>>8,L[1][P]=ue<<16|ue>>>16,L[2][P]=ue<<8|ue>>>24,L[3][P]=ue,I[0][Y]=(ue=16843009*ee^65537*X^257*j^16843008*P)<<24|ue>>>8,I[1][Y]=ue<<16|ue>>>16,I[2][Y]=ue<<8|ue>>>24,I[3][Y]=ue,0===P?P=U=1:(P=j^O[O[O[ee^j]]],U^=O[O[U]])}return{SBOX:M,INV_SBOX:w,SUB_MIX:L,INV_SUB_MIX:I}}();function u(O){this._key=e(O),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var O=this._key,d=O.length,M=d+6,w=4*(M+1),L=[],I=0;I<d;I++)L[I]=O[I];for(I=d;I<w;I++){var P=L[I-1];I%d==0?(P=C.SBOX[(P=P<<8|P>>>24)>>>24]<<24|C.SBOX[P>>>16&255]<<16|C.SBOX[P>>>8&255]<<8|C.SBOX[255&P],P^=o[I/d|0]<<24):d>6&&I%d==4&&(P=C.SBOX[P>>>24]<<24|C.SBOX[P>>>16&255]<<16|C.SBOX[P>>>8&255]<<8|C.SBOX[255&P]),L[I]=L[I-d]^P}for(var U=[],Z=0;Z<w;Z++){var Y=w-Z,j=L[Y-(Z%4?0:4)];U[Z]=Z<4||Y<=4?j:C.INV_SUB_MIX[0][C.SBOX[j>>>24]]^C.INV_SUB_MIX[1][C.SBOX[j>>>16&255]]^C.INV_SUB_MIX[2][C.SBOX[j>>>8&255]]^C.INV_SUB_MIX[3][C.SBOX[255&j]]}this._nRounds=M,this._keySchedule=L,this._invKeySchedule=U},u.prototype.encryptBlockRaw=function(O){return A(O=e(O),this._keySchedule,C.SUB_MIX,C.SBOX,this._nRounds)},u.prototype.encryptBlock=function(O){var d=this.encryptBlockRaw(O),M=t.allocUnsafe(16);return M.writeUInt32BE(d[0],0),M.writeUInt32BE(d[1],4),M.writeUInt32BE(d[2],8),M.writeUInt32BE(d[3],12),M},u.prototype.decryptBlock=function(O){var d=(O=e(O))[1];O[1]=O[3],O[3]=d;var M=A(O,this._invKeySchedule,C.INV_SUB_MIX,C.INV_SBOX,this._nRounds),w=t.allocUnsafe(16);return w.writeUInt32BE(M[0],0),w.writeUInt32BE(M[3],4),w.writeUInt32BE(M[2],8),w.writeUInt32BE(M[1],12),w},u.prototype.scrub=function(){g(this._keySchedule),g(this._invKeySchedule),g(this._key)},Ge.exports.AES=u},9382:(Ge,Q,m)=>{var t=m(1899),e=m(3502).Buffer,g=m(1052),A=m(3894),o=m(8857),C=m(8789),u=m(7968);function M(w,L,I,P){g.call(this);var U=e.alloc(4,0);this._cipher=new t.AES(L);var Z=this._cipher.encryptBlock(U);this._ghash=new o(Z),I=function d(w,L,I){if(12===L.length)return w._finID=e.concat([L,e.from([0,0,0,1])]),e.concat([L,e.from([0,0,0,2])]);var P=new o(I),U=L.length,Z=U%16;P.update(L),Z&&P.update(e.alloc(Z=16-Z,0)),P.update(e.alloc(8,0));var Y=8*U,j=e.alloc(8);j.writeUIntBE(Y,0,8),P.update(j),w._finID=P.state;var X=e.from(w._finID);return u(X),X}(this,I,Z),this._prev=e.from(I),this._cache=e.allocUnsafe(0),this._secCache=e.allocUnsafe(0),this._decrypt=P,this._alen=0,this._len=0,this._mode=w,this._authTag=null,this._called=!1}A(M,g),M.prototype._update=function(w){if(!this._called&&this._alen){var L=16-this._alen%16;L<16&&(L=e.alloc(L,0),this._ghash.update(L))}this._called=!0;var I=this._mode.encrypt(this,w);return this._ghash.update(this._decrypt?w:I),this._len+=w.length,I},M.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var w=C(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function O(w,L){var I=0;w.length!==L.length&&I++;for(var P=Math.min(w.length,L.length),U=0;U<P;++U)I+=w[U]^L[U];return I}(w,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=w,this._cipher.scrub()},M.prototype.getAuthTag=function(){if(this._decrypt||!e.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},M.prototype.setAuthTag=function(L){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=L},M.prototype.setAAD=function(L){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(L),this._alen+=L.length},Ge.exports=M},4330:(Ge,Q,m)=>{var t=m(6900),e=m(856),g=m(4946);Q.createCipher=Q.Cipher=t.createCipher,Q.createCipheriv=Q.Cipheriv=t.createCipheriv,Q.createDecipher=Q.Decipher=e.createDecipher,Q.createDecipheriv=Q.Decipheriv=e.createDecipheriv,Q.listCiphers=Q.getCiphers=function A(){return Object.keys(g)}},856:(Ge,Q,m)=>{var t=m(9382),e=m(3502).Buffer,g=m(9171),A=m(8441),o=m(1052),C=m(1899),u=m(347);function d(P,U,Z){o.call(this),this._cache=new M,this._last=void 0,this._cipher=new C.AES(U),this._prev=e.from(Z),this._mode=P,this._autopadding=!0}function M(){this.cache=e.allocUnsafe(0)}function L(P,U,Z){var Y=g[P.toLowerCase()];if(!Y)throw new TypeError("invalid suite type");if("string"==typeof Z&&(Z=e.from(Z)),"GCM"!==Y.mode&&Z.length!==Y.iv)throw new TypeError("invalid iv length "+Z.length);if("string"==typeof U&&(U=e.from(U)),U.length!==Y.key/8)throw new TypeError("invalid key length "+U.length);return"stream"===Y.type?new A(Y.module,U,Z,!0):"auth"===Y.type?new t(Y.module,U,Z,!0):new d(Y.module,U,Z)}m(3894)(d,o),d.prototype._update=function(P){this._cache.add(P);for(var U,Z,Y=[];U=this._cache.get(this._autopadding);)Z=this._mode.decrypt(this,U),Y.push(Z);return e.concat(Y)},d.prototype._final=function(){var P=this._cache.flush();if(this._autopadding)return function w(P){var U=P[15];if(U<1||U>16)throw new Error("unable to decrypt data");for(var Z=-1;++Z<U;)if(P[Z+(16-U)]!==U)throw new Error("unable to decrypt data");if(16!==U)return P.slice(0,16-U)}(this._mode.decrypt(this,P));if(P)throw new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(P){return this._autopadding=!!P,this},M.prototype.add=function(P){this.cache=e.concat([this.cache,P])},M.prototype.get=function(P){var U;if(P){if(this.cache.length>16)return U=this.cache.slice(0,16),this.cache=this.cache.slice(16),U}else if(this.cache.length>=16)return U=this.cache.slice(0,16),this.cache=this.cache.slice(16),U;return null},M.prototype.flush=function(){if(this.cache.length)return this.cache},Q.createDecipher=function I(P,U){var Z=g[P.toLowerCase()];if(!Z)throw new TypeError("invalid suite type");var Y=u(U,!1,Z.key,Z.iv);return L(P,Y.key,Y.iv)},Q.createDecipheriv=L},6900:(Ge,Q,m)=>{var t=m(9171),e=m(9382),g=m(3502).Buffer,A=m(8441),o=m(1052),C=m(1899),u=m(347);function d(P,U,Z){o.call(this),this._cache=new w,this._cipher=new C.AES(U),this._prev=g.from(Z),this._mode=P,this._autopadding=!0}m(3894)(d,o),d.prototype._update=function(P){this._cache.add(P);for(var U,Z,Y=[];U=this._cache.get();)Z=this._mode.encrypt(this,U),Y.push(Z);return g.concat(Y)};var M=g.alloc(16,16);function w(){this.cache=g.allocUnsafe(0)}function L(P,U,Z){var Y=t[P.toLowerCase()];if(!Y)throw new TypeError("invalid suite type");if("string"==typeof U&&(U=g.from(U)),U.length!==Y.key/8)throw new TypeError("invalid key length "+U.length);if("string"==typeof Z&&(Z=g.from(Z)),"GCM"!==Y.mode&&Z.length!==Y.iv)throw new TypeError("invalid iv length "+Z.length);return"stream"===Y.type?new A(Y.module,U,Z):"auth"===Y.type?new e(Y.module,U,Z):new d(Y.module,U,Z)}d.prototype._final=function(){var P=this._cache.flush();if(this._autopadding)return P=this._mode.encrypt(this,P),this._cipher.scrub(),P;if(!P.equals(M))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(P){return this._autopadding=!!P,this},w.prototype.add=function(P){this.cache=g.concat([this.cache,P])},w.prototype.get=function(){if(this.cache.length>15){var P=this.cache.slice(0,16);return this.cache=this.cache.slice(16),P}return null},w.prototype.flush=function(){for(var P=16-this.cache.length,U=g.allocUnsafe(P),Z=-1;++Z<P;)U.writeUInt8(P,Z);return g.concat([this.cache,U])},Q.createCipheriv=L,Q.createCipher=function I(P,U){var Z=t[P.toLowerCase()];if(!Z)throw new TypeError("invalid suite type");var Y=u(U,!1,Z.key,Z.iv);return L(P,Y.key,Y.iv)}},8857:(Ge,Q,m)=>{var t=m(3502).Buffer,e=t.alloc(16,0);function A(C){var u=t.allocUnsafe(16);return u.writeUInt32BE(C[0]>>>0,0),u.writeUInt32BE(C[1]>>>0,4),u.writeUInt32BE(C[2]>>>0,8),u.writeUInt32BE(C[3]>>>0,12),u}function o(C){this.h=C,this.state=t.alloc(16,0),this.cache=t.allocUnsafe(0)}o.prototype.ghash=function(C){for(var u=-1;++u<C.length;)this.state[u]^=C[u];this._multiply()},o.prototype._multiply=function(){for(var O,M,C=function g(C){return[C.readUInt32BE(0),C.readUInt32BE(4),C.readUInt32BE(8),C.readUInt32BE(12)]}(this.h),u=[0,0,0,0],w=-1;++w<128;){for(0!=(this.state[~~(w/8)]&1<<7-w%8)&&(u[0]^=C[0],u[1]^=C[1],u[2]^=C[2],u[3]^=C[3]),M=0!=(1&C[3]),O=3;O>0;O--)C[O]=C[O]>>>1|(1&C[O-1])<<31;C[0]=C[0]>>>1,M&&(C[0]=C[0]^225<<24)}this.state=A(u)},o.prototype.update=function(C){this.cache=t.concat([this.cache,C]);for(var u;this.cache.length>=16;)u=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(u)},o.prototype.final=function(C,u){return this.cache.length&&this.ghash(t.concat([this.cache,e],16)),this.ghash(A([0,C,0,u])),this.state},Ge.exports=o},7968:Ge=>{Ge.exports=function Q(m){for(var e,t=m.length;t--;){if(255!==(e=m.readUInt8(t))){e++,m.writeUInt8(e,t);break}m.writeUInt8(0,t)}}},4903:(Ge,Q,m)=>{var t=m(8789);Q.encrypt=function(e,g){var A=t(g,e._prev);return e._prev=e._cipher.encryptBlock(A),e._prev},Q.decrypt=function(e,g){var A=e._prev;e._prev=g;var o=e._cipher.decryptBlock(g);return t(o,A)}},9885:(Ge,Q,m)=>{var t=m(3502).Buffer,e=m(8789);function g(A,o,C){var u=o.length,O=e(o,A._cache);return A._cache=A._cache.slice(u),A._prev=t.concat([A._prev,C?o:O]),O}Q.encrypt=function(A,o,C){for(var O,u=t.allocUnsafe(0);o.length;){if(0===A._cache.length&&(A._cache=A._cipher.encryptBlock(A._prev),A._prev=t.allocUnsafe(0)),!(A._cache.length<=o.length)){u=t.concat([u,g(A,o,C)]);break}u=t.concat([u,g(A,o.slice(0,O=A._cache.length),C)]),o=o.slice(O)}return u}},6531:(Ge,Q,m)=>{var t=m(3502).Buffer;function e(A,o,C){for(var w,L,O=-1,M=0;++O<8;)M+=(128&(L=A._cipher.encryptBlock(A._prev)[0]^(w=o&1<<7-O?128:0)))>>O%8,A._prev=g(A._prev,C?w:L);return M}function g(A,o){var C=A.length,u=-1,O=t.allocUnsafe(A.length);for(A=t.concat([A,t.from([o])]);++u<C;)O[u]=A[u]<<1|A[u+1]>>7;return O}Q.encrypt=function(A,o,C){for(var u=o.length,O=t.allocUnsafe(u),d=-1;++d<u;)O[d]=e(A,o[d],C);return O}},1641:(Ge,Q,m)=>{var t=m(3502).Buffer;function e(g,A,o){var u=g._cipher.encryptBlock(g._prev)[0]^A;return g._prev=t.concat([g._prev.slice(1),t.from([o?A:u])]),u}Q.encrypt=function(g,A,o){for(var C=A.length,u=t.allocUnsafe(C),O=-1;++O<C;)u[O]=e(g,A[O],o);return u}},1150:(Ge,Q,m)=>{var t=m(8789),e=m(3502).Buffer,g=m(7968);function A(C){var u=C._cipher.encryptBlockRaw(C._prev);return g(C._prev),u}Q.encrypt=function(C,u){var O=Math.ceil(u.length/16),d=C._cache.length;C._cache=e.concat([C._cache,e.allocUnsafe(16*O)]);for(var M=0;M<O;M++){var w=A(C),L=d+16*M;C._cache.writeUInt32BE(w[0],L+0),C._cache.writeUInt32BE(w[1],L+4),C._cache.writeUInt32BE(w[2],L+8),C._cache.writeUInt32BE(w[3],L+12)}var I=C._cache.slice(0,u.length);return C._cache=C._cache.slice(u.length),t(u,I)}},1704:(Ge,Q)=>{Q.encrypt=function(m,t){return m._cipher.encryptBlock(t)},Q.decrypt=function(m,t){return m._cipher.decryptBlock(t)}},9171:(Ge,Q,m)=>{var t={ECB:m(1704),CBC:m(4903),CFB:m(9885),CFB8:m(1641),CFB1:m(6531),OFB:m(6816),CTR:m(1150),GCM:m(1150)},e=m(4946);for(var g in e)e[g].module=t[e[g].mode];Ge.exports=e},6816:(Ge,Q,m)=>{var t=m(8789);function e(g){return g._prev=g._cipher.encryptBlock(g._prev),g._prev}Q.encrypt=function(g,A){for(;g._cache.length<A.length;)g._cache=Buffer.concat([g._cache,e(g)]);var o=g._cache.slice(0,A.length);return g._cache=g._cache.slice(A.length),t(A,o)}},8441:(Ge,Q,m)=>{var t=m(1899),e=m(3502).Buffer,g=m(1052);function o(C,u,O,d){g.call(this),this._cipher=new t.AES(u),this._prev=e.from(O),this._cache=e.allocUnsafe(0),this._secCache=e.allocUnsafe(0),this._decrypt=d,this._mode=C}m(3894)(o,g),o.prototype._update=function(C){return this._mode.encrypt(this,C,this._decrypt)},o.prototype._final=function(){this._cipher.scrub()},Ge.exports=o},5255:(Ge,Q,m)=>{var t=m(9004),e=m(4330),g=m(9171),A=m(1115),o=m(347);function O(w,L,I){if(w=w.toLowerCase(),g[w])return e.createCipheriv(w,L,I);if(A[w])return new t({key:L,iv:I,mode:w});throw new TypeError("invalid suite type")}function d(w,L,I){if(w=w.toLowerCase(),g[w])return e.createDecipheriv(w,L,I);if(A[w])return new t({key:L,iv:I,mode:w,decrypt:!0});throw new TypeError("invalid suite type")}Q.createCipher=Q.Cipher=function C(w,L){var I,P;if(w=w.toLowerCase(),g[w])I=g[w].key,P=g[w].iv;else{if(!A[w])throw new TypeError("invalid suite type");I=8*A[w].key,P=A[w].iv}var U=o(L,!1,I,P);return O(w,U.key,U.iv)},Q.createCipheriv=Q.Cipheriv=O,Q.createDecipher=Q.Decipher=function u(w,L){var I,P;if(w=w.toLowerCase(),g[w])I=g[w].key,P=g[w].iv;else{if(!A[w])throw new TypeError("invalid suite type");I=8*A[w].key,P=A[w].iv}var U=o(L,!1,I,P);return d(w,U.key,U.iv)},Q.createDecipheriv=Q.Decipheriv=d,Q.listCiphers=Q.getCiphers=function M(){return Object.keys(A).concat(e.getCiphers())}},9004:(Ge,Q,m)=>{var t=m(1052),e=m(3684),g=m(3894),A=m(3502).Buffer,o={"des-ede3-cbc":e.CBC.instantiate(e.EDE),"des-ede3":e.EDE,"des-ede-cbc":e.CBC.instantiate(e.EDE),"des-ede":e.EDE,"des-cbc":e.CBC.instantiate(e.DES),"des-ecb":e.DES};function C(u){t.call(this);var M,O=u.mode.toLowerCase(),d=o[O];M=u.decrypt?"decrypt":"encrypt";var w=u.key;A.isBuffer(w)||(w=A.from(w)),("des-ede"===O||"des-ede-cbc"===O)&&(w=A.concat([w,w.slice(0,8)]));var L=u.iv;A.isBuffer(L)||(L=A.from(L)),this._des=d.create({key:w,iv:L,type:M})}o.des=o["des-cbc"],o.des3=o["des-ede3-cbc"],Ge.exports=C,g(C,t),C.prototype._update=function(u){return A.from(this._des.update(u))},C.prototype._final=function(){return A.from(this._des.final())}},1115:(Ge,Q)=>{Q["des-ecb"]={key:8,iv:0},Q["des-cbc"]=Q.des={key:8,iv:8},Q["des-ede3-cbc"]=Q.des3={key:24,iv:8},Q["des-ede3"]={key:24,iv:0},Q["des-ede-cbc"]={key:16,iv:8},Q["des-ede"]={key:16,iv:0}},8466:(Ge,Q,m)=>{var t=m(8538),e=m(3753);function A(C){var O,u=C.modulus.byteLength();do{O=new t(e(u))}while(O.cmp(C.modulus)>=0||!O.umod(C.prime1)||!O.umod(C.prime2));return O}function o(C,u){var O=function g(C){var u=A(C);return{blinder:u.toRed(t.mont(C.modulus)).redPow(new t(C.publicExponent)).fromRed(),unblinder:u.invm(C.modulus)}}(u),d=u.modulus.byteLength(),M=new t(C).mul(O.blinder).umod(u.modulus),w=M.toRed(t.mont(u.prime1)),L=M.toRed(t.mont(u.prime2)),I=u.coefficient,P=u.prime1,U=u.prime2,Z=w.redPow(u.exponent1).fromRed(),Y=L.redPow(u.exponent2).fromRed(),j=Z.isub(Y).imul(I).umod(P).imul(U);return Y.iadd(j).imul(O.unblinder).umod(u.modulus).toArrayLike(Buffer,"be",d)}o.getr=A,Ge.exports=o},7793:(Ge,Q,m)=>{Ge.exports=m(5207)},3923:(Ge,Q,m)=>{var t=m(3502).Buffer,e=m(6386),g=m(5685),A=m(3894),o=m(9947),C=m(3946),u=m(5207);function O(L){g.Writable.call(this);var I=u[L];if(!I)throw new Error("Unknown message digest");this._hashType=I.hash,this._hash=e(I.hash),this._tag=I.id,this._signType=I.sign}function d(L){g.Writable.call(this);var I=u[L];if(!I)throw new Error("Unknown message digest");this._hash=e(I.hash),this._tag=I.id,this._signType=I.sign}function M(L){return new O(L)}function w(L){return new d(L)}Object.keys(u).forEach(function(L){u[L].id=t.from(u[L].id,"hex"),u[L.toLowerCase()]=u[L]}),A(O,g.Writable),O.prototype._write=function(I,P,U){this._hash.update(I),U()},O.prototype.update=function(I,P){return"string"==typeof I&&(I=t.from(I,P)),this._hash.update(I),this},O.prototype.sign=function(I,P){this.end();var U=this._hash.digest(),Z=o(U,I,this._hashType,this._signType,this._tag);return P?Z.toString(P):Z},A(d,g.Writable),d.prototype._write=function(I,P,U){this._hash.update(I),U()},d.prototype.update=function(I,P){return"string"==typeof I&&(I=t.from(I,P)),this._hash.update(I),this},d.prototype.verify=function(I,P,U){"string"==typeof P&&(P=t.from(P,U)),this.end();var Z=this._hash.digest();return C(P,Z,I,this._signType,this._tag)},Ge.exports={Sign:M,Verify:w,createSign:M,createVerify:w}},9947:(Ge,Q,m)=>{var t=m(3502).Buffer,e=m(4529),g=m(8466),A=m(7715).ec,o=m(8538),C=m(2772),u=m(1308);function L(Y,j,X,ee){if((Y=t.from(Y.toArray())).length<j.byteLength()){var ue=t.alloc(j.byteLength()-Y.length);Y=t.concat([ue,Y])}var le=X.length,ie=function P(Y,j){Y=(Y=I(Y,j)).mod(j);var X=t.from(Y.toArray());if(X.length<j.byteLength()){var ee=t.alloc(j.byteLength()-X.length);X=t.concat([ee,X])}return X}(X,j),ce=t.alloc(le);ce.fill(1);var se=t.alloc(le);return se=e(ee,se).update(ce).update(t.from([0])).update(Y).update(ie).digest(),ce=e(ee,se).update(ce).digest(),{k:se=e(ee,se).update(ce).update(t.from([1])).update(Y).update(ie).digest(),v:ce=e(ee,se).update(ce).digest()}}function I(Y,j){var X=new o(Y),ee=(Y.length<<3)-j.bitLength();return ee>0&&X.ishrn(ee),X}function U(Y,j,X){var ee,ue;do{for(ee=t.alloc(0);8*ee.length<Y.bitLength();)j.v=e(X,j.k).update(j.v).digest(),ee=t.concat([ee,j.v]);ue=I(ee,Y),j.k=e(X,j.k).update(j.v).update(t.from([0])).digest(),j.v=e(X,j.k).update(j.v).digest()}while(-1!==ue.cmp(Y));return ue}function Z(Y,j,X,ee){return Y.toRed(o.mont(X)).redPow(j).fromRed().mod(ee)}Ge.exports=function O(Y,j,X,ee,ue){var le=C(j);if(le.curve){if("ecdsa"!==ee&&"ecdsa/rsa"!==ee)throw new Error("wrong private key type");return function d(Y,j){var X=u[j.curve.join(".")];if(!X)throw new Error("unknown curve "+j.curve.join("."));var le=new A(X).keyFromPrivate(j.privateKey).sign(Y);return t.from(le.toDER())}(Y,le)}if("dsa"===le.type){if("dsa"!==ee)throw new Error("wrong private key type");return function M(Y,j,X){for(var se,ee=j.params.priv_key,ue=j.params.p,le=j.params.q,ie=j.params.g,ce=new o(0),he=I(Y,le).mod(le),E=!1,i=L(ee,le,Y,X);!1===E;)ce=Z(ie,se=U(le,i,X),ue,le),0===(E=se.invm(le).imul(he.add(ee.mul(ce))).mod(le)).cmpn(0)&&(E=!1,ce=new o(0));return function w(Y,j){Y=Y.toArray(),j=j.toArray(),128&Y[0]&&(Y=[0].concat(Y)),128&j[0]&&(j=[0].concat(j));var ee=[48,Y.length+j.length+4,2,Y.length];return ee=ee.concat(Y,[2,j.length],j),t.from(ee)}(ce,E)}(Y,le,X)}if("rsa"!==ee&&"ecdsa/rsa"!==ee)throw new Error("wrong private key type");Y=t.concat([ue,Y]);for(var ie=le.modulus.byteLength(),ce=[0,1];Y.length+ce.length+1<ie;)ce.push(255);ce.push(0);for(var se=-1;++se<Y.length;)ce.push(Y[se]);return g(ce,le)},Ge.exports.getKey=L,Ge.exports.makeKey=U},3946:(Ge,Q,m)=>{var t=m(3502).Buffer,e=m(8538),g=m(7715).ec,A=m(2772),o=m(1308);function d(M,w){if(M.cmpn(0)<=0)throw new Error("invalid sig");if(M.cmp(w)>=w)throw new Error("invalid sig")}Ge.exports=function C(M,w,L,I,P){var U=A(L);if("ec"===U.type){if("ecdsa"!==I&&"ecdsa/rsa"!==I)throw new Error("wrong public key type");return function u(M,w,L){var I=o[L.data.algorithm.curve.join(".")];if(!I)throw new Error("unknown curve "+L.data.algorithm.curve.join("."));return new g(I).verify(w,M,L.data.subjectPrivateKey.data)}(M,w,U)}if("dsa"===U.type){if("dsa"!==I)throw new Error("wrong public key type");return function O(M,w,L){var I=L.data.p,P=L.data.q,U=L.data.g,Z=L.data.pub_key,Y=A.signature.decode(M,"der"),j=Y.s,X=Y.r;d(j,P),d(X,P);var ee=e.mont(I),ue=j.invm(P);return 0===U.toRed(ee).redPow(new e(w).mul(ue).mod(P)).fromRed().mul(Z.toRed(ee).redPow(X.mul(ue).mod(P)).fromRed()).mod(I).mod(P).cmp(X)}(M,w,U)}if("rsa"!==I&&"ecdsa/rsa"!==I)throw new Error("wrong public key type");w=t.concat([P,w]);for(var Z=U.modulus.byteLength(),Y=[1],j=0;w.length+Y.length+2<Z;)Y.push(255),j++;Y.push(0);for(var X=-1;++X<w.length;)Y.push(w[X]);Y=t.from(Y);var ee=e.mont(U.modulus);M=(M=new e(M).toRed(ee)).redPow(new e(U.publicExponent)),M=t.from(M.fromRed().toArray());var ue=j<8?1:0;for(Z=Math.min(M.length,Y.length),M.length!==Y.length&&(ue=1),X=-1;++X<Z;)ue|=M[X]^Y[X];return 0===ue}},8789:Ge=>{Ge.exports=function(m,t){for(var e=Math.min(m.length,t.length),g=new Buffer(e),A=0;A<e;++A)g[A]=m[A]^t[A];return g}},3172:(Ge,Q,m)=>{"use strict";var t=m(5343),e=m(8461),g="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;Q.Buffer=u,Q.SlowBuffer=function j(oe){return+oe!=oe&&(oe=0),u.alloc(+oe)},Q.INSPECT_MAX_BYTES=50;var A=2147483647;function C(oe){if(oe>A)throw new RangeError('The value "'+oe+'" is invalid for option "size"');var ye=new Uint8Array(oe);return Object.setPrototypeOf(ye,u.prototype),ye}function u(oe,ye,me){if("number"==typeof oe){if("string"==typeof ye)throw new TypeError('The "string" argument must be of type string. Received type number');return w(oe)}return O(oe,ye,me)}function O(oe,ye,me){if("string"==typeof oe)return function L(oe,ye){if(("string"!=typeof ye||""===ye)&&(ye="utf8"),!u.isEncoding(ye))throw new TypeError("Unknown encoding: "+ye);var me=0|X(oe,ye),Me=C(me),Ze=Me.write(oe,ye);return Ze!==me&&(Me=Me.slice(0,Ze)),Me}(oe,ye);if(ArrayBuffer.isView(oe))return function P(oe){if(te(oe,Uint8Array)){var ye=new Uint8Array(oe);return U(ye.buffer,ye.byteOffset,ye.byteLength)}return I(oe)}(oe);if(null==oe)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof oe);if(te(oe,ArrayBuffer)||oe&&te(oe.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(te(oe,SharedArrayBuffer)||oe&&te(oe.buffer,SharedArrayBuffer)))return U(oe,ye,me);if("number"==typeof oe)throw new TypeError('The "value" argument must not be of type number. Received type number');var Me=oe.valueOf&&oe.valueOf();if(null!=Me&&Me!==oe)return u.from(Me,ye,me);var Ze=function Z(oe){if(u.isBuffer(oe)){var ye=0|Y(oe.length),me=C(ye);return 0===me.length||oe.copy(me,0,0,ye),me}return void 0!==oe.length?"number"!=typeof oe.length||Ke(oe.length)?C(0):I(oe):"Buffer"===oe.type&&Array.isArray(oe.data)?I(oe.data):void 0}(oe);if(Ze)return Ze;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof oe[Symbol.toPrimitive])return u.from(oe[Symbol.toPrimitive]("string"),ye,me);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof oe)}function d(oe){if("number"!=typeof oe)throw new TypeError('"size" argument must be of type number');if(oe<0)throw new RangeError('The value "'+oe+'" is invalid for option "size"')}function w(oe){return d(oe),C(oe<0?0:0|Y(oe))}function I(oe){for(var ye=oe.length<0?0:0|Y(oe.length),me=C(ye),Me=0;Me<ye;Me+=1)me[Me]=255&oe[Me];return me}function U(oe,ye,me){if(ye<0||oe.byteLength<ye)throw new RangeError('"offset" is outside of buffer bounds');if(oe.byteLength<ye+(me||0))throw new RangeError('"length" is outside of buffer bounds');var Me;return Me=void 0===ye&&void 0===me?new Uint8Array(oe):void 0===me?new Uint8Array(oe,ye):new Uint8Array(oe,ye,me),Object.setPrototypeOf(Me,u.prototype),Me}function Y(oe){if(oe>=A)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+A.toString(16)+" bytes");return 0|oe}function X(oe,ye){if(u.isBuffer(oe))return oe.length;if(ArrayBuffer.isView(oe)||te(oe,ArrayBuffer))return oe.byteLength;if("string"!=typeof oe)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof oe);var me=oe.length,Me=arguments.length>2&&!0===arguments[2];if(!Me&&0===me)return 0;for(var Ze=!1;;)switch(ye){case"ascii":case"latin1":case"binary":return me;case"utf8":case"utf-8":return ot(oe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*me;case"hex":return me>>>1;case"base64":return fe(oe).length;default:if(Ze)return Me?-1:ot(oe).length;ye=(""+ye).toLowerCase(),Ze=!0}}function ee(oe,ye,me){var Me=!1;if((void 0===ye||ye<0)&&(ye=0),ye>this.length||((void 0===me||me>this.length)&&(me=this.length),me<=0)||(me>>>=0)<=(ye>>>=0))return"";for(oe||(oe="utf8");;)switch(oe){case"hex":return v(this,ye,me);case"utf8":case"utf-8":return h(this,ye,me);case"ascii":return S(this,ye,me);case"latin1":case"binary":return k(this,ye,me);case"base64":return r(this,ye,me);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,ye,me);default:if(Me)throw new TypeError("Unknown encoding: "+oe);oe=(oe+"").toLowerCase(),Me=!0}}function ue(oe,ye,me){var Me=oe[ye];oe[ye]=oe[me],oe[me]=Me}function le(oe,ye,me,Me,Ze){if(0===oe.length)return-1;if("string"==typeof me?(Me=me,me=0):me>2147483647?me=2147483647:me<-2147483648&&(me=-2147483648),Ke(me=+me)&&(me=Ze?0:oe.length-1),me<0&&(me=oe.length+me),me>=oe.length){if(Ze)return-1;me=oe.length-1}else if(me<0){if(!Ze)return-1;me=0}if("string"==typeof ye&&(ye=u.from(ye,Me)),u.isBuffer(ye))return 0===ye.length?-1:ie(oe,ye,me,Me,Ze);if("number"==typeof ye)return ye&=255,"function"==typeof Uint8Array.prototype.indexOf?Ze?Uint8Array.prototype.indexOf.call(oe,ye,me):Uint8Array.prototype.lastIndexOf.call(oe,ye,me):ie(oe,[ye],me,Me,Ze);throw new TypeError("val must be string, number or Buffer")}function ie(oe,ye,me,Me,Ze){var ft,q=1,de=oe.length,xe=ye.length;if(void 0!==Me&&("ucs2"===(Me=String(Me).toLowerCase())||"ucs-2"===Me||"utf16le"===Me||"utf-16le"===Me)){if(oe.length<2||ye.length<2)return-1;q=2,de/=2,xe/=2,me/=2}function ke(Jt,vt){return 1===q?Jt[vt]:Jt.readUInt16BE(vt*q)}if(Ze){var _t=-1;for(ft=me;ft<de;ft++)if(ke(oe,ft)===ke(ye,-1===_t?0:ft-_t)){if(-1===_t&&(_t=ft),ft-_t+1===xe)return _t*q}else-1!==_t&&(ft-=ft-_t),_t=-1}else for(me+xe>de&&(me=de-xe),ft=me;ft>=0;ft--){for(var ct=!0,nt=0;nt<xe;nt++)if(ke(oe,ft+nt)!==ke(ye,nt)){ct=!1;break}if(ct)return ft}return-1}function ce(oe,ye,me,Me){me=Number(me)||0;var Ze=oe.length-me;Me?(Me=Number(Me))>Ze&&(Me=Ze):Me=Ze;var q=ye.length;Me>q/2&&(Me=q/2);for(var de=0;de<Me;++de){var xe=parseInt(ye.substr(2*de,2),16);if(Ke(xe))return de;oe[me+de]=xe}return de}function se(oe,ye,me,Me){return Se(ot(ye,oe.length-me),oe,me,Me)}function he(oe,ye,me,Me){return Se(function Ie(oe){for(var ye=[],me=0;me<oe.length;++me)ye.push(255&oe.charCodeAt(me));return ye}(ye),oe,me,Me)}function E(oe,ye,me,Me){return Se(fe(ye),oe,me,Me)}function i(oe,ye,me,Me){return Se(function ve(oe,ye){for(var me,Me,q=[],de=0;de<oe.length&&!((ye-=2)<0);++de)Me=(me=oe.charCodeAt(de))>>8,q.push(me%256),q.push(Me);return q}(ye,oe.length-me),oe,me,Me)}function r(oe,ye,me){return t.fromByteArray(0===ye&&me===oe.length?oe:oe.slice(ye,me))}function h(oe,ye,me){me=Math.min(oe.length,me);for(var Me=[],Ze=ye;Ze<me;){var ke,ft,_t,ct,q=oe[Ze],de=null,xe=q>239?4:q>223?3:q>191?2:1;if(Ze+xe<=me)switch(xe){case 1:q<128&&(de=q);break;case 2:128==(192&(ke=oe[Ze+1]))&&(ct=(31&q)<<6|63&ke)>127&&(de=ct);break;case 3:ft=oe[Ze+2],128==(192&(ke=oe[Ze+1]))&&128==(192&ft)&&(ct=(15&q)<<12|(63&ke)<<6|63&ft)>2047&&(ct<55296||ct>57343)&&(de=ct);break;case 4:ft=oe[Ze+2],_t=oe[Ze+3],128==(192&(ke=oe[Ze+1]))&&128==(192&ft)&&128==(192&_t)&&(ct=(15&q)<<18|(63&ke)<<12|(63&ft)<<6|63&_t)>65535&&ct<1114112&&(de=ct)}null===de?(de=65533,xe=1):de>65535&&(Me.push((de-=65536)>>>10&1023|55296),de=56320|1023&de),Me.push(de),Ze+=xe}return function y(oe){var ye=oe.length;if(ye<=c)return String.fromCharCode.apply(String,oe);for(var me="",Me=0;Me<ye;)me+=String.fromCharCode.apply(String,oe.slice(Me,Me+=c));return me}(Me)}Q.kMaxLength=A,!(u.TYPED_ARRAY_SUPPORT=function o(){try{var oe=new Uint8Array(1),ye={foo:function(){return 42}};return Object.setPrototypeOf(ye,Uint8Array.prototype),Object.setPrototypeOf(oe,ye),42===oe.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(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(oe,ye,me){return O(oe,ye,me)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(oe,ye,me){return function M(oe,ye,me){return d(oe),oe<=0?C(oe):void 0!==ye?"string"==typeof me?C(oe).fill(ye,me):C(oe).fill(ye):C(oe)}(oe,ye,me)},u.allocUnsafe=function(oe){return w(oe)},u.allocUnsafeSlow=function(oe){return w(oe)},u.isBuffer=function(ye){return null!=ye&&!0===ye._isBuffer&&ye!==u.prototype},u.compare=function(ye,me){if(te(ye,Uint8Array)&&(ye=u.from(ye,ye.offset,ye.byteLength)),te(me,Uint8Array)&&(me=u.from(me,me.offset,me.byteLength)),!u.isBuffer(ye)||!u.isBuffer(me))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(ye===me)return 0;for(var Me=ye.length,Ze=me.length,q=0,de=Math.min(Me,Ze);q<de;++q)if(ye[q]!==me[q]){Me=ye[q],Ze=me[q];break}return Me<Ze?-1:Ze<Me?1:0},u.isEncoding=function(ye){switch(String(ye).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}},u.concat=function(ye,me){if(!Array.isArray(ye))throw new TypeError('"list" argument must be an Array of Buffers');if(0===ye.length)return u.alloc(0);var Me;if(void 0===me)for(me=0,Me=0;Me<ye.length;++Me)me+=ye[Me].length;var Ze=u.allocUnsafe(me),q=0;for(Me=0;Me<ye.length;++Me){var de=ye[Me];if(te(de,Uint8Array))q+de.length>Ze.length?u.from(de).copy(Ze,q):Uint8Array.prototype.set.call(Ze,de,q);else{if(!u.isBuffer(de))throw new TypeError('"list" argument must be an Array of Buffers');de.copy(Ze,q)}q+=de.length}return Ze},u.byteLength=X,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var ye=this.length;if(ye%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var me=0;me<ye;me+=2)ue(this,me,me+1);return this},u.prototype.swap32=function(){var ye=this.length;if(ye%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var me=0;me<ye;me+=4)ue(this,me,me+3),ue(this,me+1,me+2);return this},u.prototype.swap64=function(){var ye=this.length;if(ye%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var me=0;me<ye;me+=8)ue(this,me,me+7),ue(this,me+1,me+6),ue(this,me+2,me+5),ue(this,me+3,me+4);return this},u.prototype.toLocaleString=u.prototype.toString=function(){var ye=this.length;return 0===ye?"":0===arguments.length?h(this,0,ye):ee.apply(this,arguments)},u.prototype.equals=function(ye){if(!u.isBuffer(ye))throw new TypeError("Argument must be a Buffer");return this===ye||0===u.compare(this,ye)},u.prototype.inspect=function(){var ye="",me=Q.INSPECT_MAX_BYTES;return ye=this.toString("hex",0,me).replace(/(.{2})/g,"$1 ").trim(),this.length>me&&(ye+=" ... "),"<Buffer "+ye+">"},g&&(u.prototype[g]=u.prototype.inspect),u.prototype.compare=function(ye,me,Me,Ze,q){if(te(ye,Uint8Array)&&(ye=u.from(ye,ye.offset,ye.byteLength)),!u.isBuffer(ye))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof ye);if(void 0===me&&(me=0),void 0===Me&&(Me=ye?ye.length:0),void 0===Ze&&(Ze=0),void 0===q&&(q=this.length),me<0||Me>ye.length||Ze<0||q>this.length)throw new RangeError("out of range index");if(Ze>=q&&me>=Me)return 0;if(Ze>=q)return-1;if(me>=Me)return 1;if(this===ye)return 0;for(var de=(q>>>=0)-(Ze>>>=0),xe=(Me>>>=0)-(me>>>=0),ke=Math.min(de,xe),ft=this.slice(Ze,q),_t=ye.slice(me,Me),ct=0;ct<ke;++ct)if(ft[ct]!==_t[ct]){de=ft[ct],xe=_t[ct];break}return de<xe?-1:xe<de?1:0},u.prototype.includes=function(ye,me,Me){return-1!==this.indexOf(ye,me,Me)},u.prototype.indexOf=function(ye,me,Me){return le(this,ye,me,Me,!0)},u.prototype.lastIndexOf=function(ye,me,Me){return le(this,ye,me,Me,!1)},u.prototype.write=function(ye,me,Me,Ze){if(void 0===me)Ze="utf8",Me=this.length,me=0;else if(void 0===Me&&"string"==typeof me)Ze=me,Me=this.length,me=0;else{if(!isFinite(me))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");me>>>=0,isFinite(Me)?(Me>>>=0,void 0===Ze&&(Ze="utf8")):(Ze=Me,Me=void 0)}var q=this.length-me;if((void 0===Me||Me>q)&&(Me=q),ye.length>0&&(Me<0||me<0)||me>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ze||(Ze="utf8");for(var de=!1;;)switch(Ze){case"hex":return ce(this,ye,me,Me);case"utf8":case"utf-8":return se(this,ye,me,Me);case"ascii":case"latin1":case"binary":return he(this,ye,me,Me);case"base64":return E(this,ye,me,Me);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i(this,ye,me,Me);default:if(de)throw new TypeError("Unknown encoding: "+Ze);Ze=(""+Ze).toLowerCase(),de=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var c=4096;function S(oe,ye,me){var Me="";me=Math.min(oe.length,me);for(var Ze=ye;Ze<me;++Ze)Me+=String.fromCharCode(127&oe[Ze]);return Me}function k(oe,ye,me){var Me="";me=Math.min(oe.length,me);for(var Ze=ye;Ze<me;++Ze)Me+=String.fromCharCode(oe[Ze]);return Me}function v(oe,ye,me){var Me=oe.length;(!ye||ye<0)&&(ye=0),(!me||me<0||me>Me)&&(me=Me);for(var Ze="",q=ye;q<me;++q)Ze+=Ae[oe[q]];return Ze}function n(oe,ye,me){for(var Me=oe.slice(ye,me),Ze="",q=0;q<Me.length-1;q+=2)Ze+=String.fromCharCode(Me[q]+256*Me[q+1]);return Ze}function b(oe,ye,me){if(oe%1!=0||oe<0)throw new RangeError("offset is not uint");if(oe+ye>me)throw new RangeError("Trying to access beyond buffer length")}function B(oe,ye,me,Me,Ze,q){if(!u.isBuffer(oe))throw new TypeError('"buffer" argument must be a Buffer instance');if(ye>Ze||ye<q)throw new RangeError('"value" argument is out of bounds');if(me+Me>oe.length)throw new RangeError("Index out of range")}function z(oe,ye,me,Me,Ze,q){if(me+Me>oe.length)throw new RangeError("Index out of range");if(me<0)throw new RangeError("Index out of range")}function W(oe,ye,me,Me,Ze){return ye=+ye,me>>>=0,Ze||z(oe,0,me,4),e.write(oe,ye,me,Me,23,4),me+4}function Oe(oe,ye,me,Me,Ze){return ye=+ye,me>>>=0,Ze||z(oe,0,me,8),e.write(oe,ye,me,Me,52,8),me+8}u.prototype.slice=function(ye,me){var Me=this.length;(ye=~~ye)<0?(ye+=Me)<0&&(ye=0):ye>Me&&(ye=Me),(me=void 0===me?Me:~~me)<0?(me+=Me)<0&&(me=0):me>Me&&(me=Me),me<ye&&(me=ye);var Ze=this.subarray(ye,me);return Object.setPrototypeOf(Ze,u.prototype),Ze},u.prototype.readUintLE=u.prototype.readUIntLE=function(ye,me,Me){ye>>>=0,me>>>=0,Me||b(ye,me,this.length);for(var Ze=this[ye],q=1,de=0;++de<me&&(q*=256);)Ze+=this[ye+de]*q;return Ze},u.prototype.readUintBE=u.prototype.readUIntBE=function(ye,me,Me){ye>>>=0,me>>>=0,Me||b(ye,me,this.length);for(var Ze=this[ye+--me],q=1;me>0&&(q*=256);)Ze+=this[ye+--me]*q;return Ze},u.prototype.readUint8=u.prototype.readUInt8=function(ye,me){return ye>>>=0,me||b(ye,1,this.length),this[ye]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(ye,me){return ye>>>=0,me||b(ye,2,this.length),this[ye]|this[ye+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(ye,me){return ye>>>=0,me||b(ye,2,this.length),this[ye]<<8|this[ye+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(ye,me){return ye>>>=0,me||b(ye,4,this.length),(this[ye]|this[ye+1]<<8|this[ye+2]<<16)+16777216*this[ye+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(ye,me){return ye>>>=0,me||b(ye,4,this.length),16777216*this[ye]+(this[ye+1]<<16|this[ye+2]<<8|this[ye+3])},u.prototype.readIntLE=function(ye,me,Me){ye>>>=0,me>>>=0,Me||b(ye,me,this.length);for(var Ze=this[ye],q=1,de=0;++de<me&&(q*=256);)Ze+=this[ye+de]*q;return Ze>=(q*=128)&&(Ze-=Math.pow(2,8*me)),Ze},u.prototype.readIntBE=function(ye,me,Me){ye>>>=0,me>>>=0,Me||b(ye,me,this.length);for(var Ze=me,q=1,de=this[ye+--Ze];Ze>0&&(q*=256);)de+=this[ye+--Ze]*q;return de>=(q*=128)&&(de-=Math.pow(2,8*me)),de},u.prototype.readInt8=function(ye,me){return ye>>>=0,me||b(ye,1,this.length),128&this[ye]?-1*(255-this[ye]+1):this[ye]},u.prototype.readInt16LE=function(ye,me){ye>>>=0,me||b(ye,2,this.length);var Me=this[ye]|this[ye+1]<<8;return 32768&Me?4294901760|Me:Me},u.prototype.readInt16BE=function(ye,me){ye>>>=0,me||b(ye,2,this.length);var Me=this[ye+1]|this[ye]<<8;return 32768&Me?4294901760|Me:Me},u.prototype.readInt32LE=function(ye,me){return ye>>>=0,me||b(ye,4,this.length),this[ye]|this[ye+1]<<8|this[ye+2]<<16|this[ye+3]<<24},u.prototype.readInt32BE=function(ye,me){return ye>>>=0,me||b(ye,4,this.length),this[ye]<<24|this[ye+1]<<16|this[ye+2]<<8|this[ye+3]},u.prototype.readFloatLE=function(ye,me){return ye>>>=0,me||b(ye,4,this.length),e.read(this,ye,!0,23,4)},u.prototype.readFloatBE=function(ye,me){return ye>>>=0,me||b(ye,4,this.length),e.read(this,ye,!1,23,4)},u.prototype.readDoubleLE=function(ye,me){return ye>>>=0,me||b(ye,8,this.length),e.read(this,ye,!0,52,8)},u.prototype.readDoubleBE=function(ye,me){return ye>>>=0,me||b(ye,8,this.length),e.read(this,ye,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(ye,me,Me,Ze){ye=+ye,me>>>=0,Me>>>=0,Ze||B(this,ye,me,Me,Math.pow(2,8*Me)-1,0);var de=1,xe=0;for(this[me]=255&ye;++xe<Me&&(de*=256);)this[me+xe]=ye/de&255;return me+Me},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(ye,me,Me,Ze){ye=+ye,me>>>=0,Me>>>=0,Ze||B(this,ye,me,Me,Math.pow(2,8*Me)-1,0);var de=Me-1,xe=1;for(this[me+de]=255&ye;--de>=0&&(xe*=256);)this[me+de]=ye/xe&255;return me+Me},u.prototype.writeUint8=u.prototype.writeUInt8=function(ye,me,Me){return ye=+ye,me>>>=0,Me||B(this,ye,me,1,255,0),this[me]=255&ye,me+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(ye,me,Me){return ye=+ye,me>>>=0,Me||B(this,ye,me,2,65535,0),this[me]=255&ye,this[me+1]=ye>>>8,me+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(ye,me,Me){return ye=+ye,me>>>=0,Me||B(this,ye,me,2,65535,0),this[me]=ye>>>8,this[me+1]=255&ye,me+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(ye,me,Me){return ye=+ye,me>>>=0,Me||B(this,ye,me,4,4294967295,0),this[me+3]=ye>>>24,this[me+2]=ye>>>16,this[me+1]=ye>>>8,this[me]=255&ye,me+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(ye,me,Me){return ye=+ye,me>>>=0,Me||B(this,ye,me,4,4294967295,0),this[me]=ye>>>24,this[me+1]=ye>>>16,this[me+2]=ye>>>8,this[me+3]=255&ye,me+4},u.prototype.writeIntLE=function(ye,me,Me,Ze){if(ye=+ye,me>>>=0,!Ze){var q=Math.pow(2,8*Me-1);B(this,ye,me,Me,q-1,-q)}var de=0,xe=1,ke=0;for(this[me]=255&ye;++de<Me&&(xe*=256);)ye<0&&0===ke&&0!==this[me+de-1]&&(ke=1),this[me+de]=(ye/xe>>0)-ke&255;return me+Me},u.prototype.writeIntBE=function(ye,me,Me,Ze){if(ye=+ye,me>>>=0,!Ze){var q=Math.pow(2,8*Me-1);B(this,ye,me,Me,q-1,-q)}var de=Me-1,xe=1,ke=0;for(this[me+de]=255&ye;--de>=0&&(xe*=256);)ye<0&&0===ke&&0!==this[me+de+1]&&(ke=1),this[me+de]=(ye/xe>>0)-ke&255;return me+Me},u.prototype.writeInt8=function(ye,me,Me){return ye=+ye,me>>>=0,Me||B(this,ye,me,1,127,-128),ye<0&&(ye=255+ye+1),this[me]=255&ye,me+1},u.prototype.writeInt16LE=function(ye,me,Me){return ye=+ye,me>>>=0,Me||B(this,ye,me,2,32767,-32768),this[me]=255&ye,this[me+1]=ye>>>8,me+2},u.prototype.writeInt16BE=function(ye,me,Me){return ye=+ye,me>>>=0,Me||B(this,ye,me,2,32767,-32768),this[me]=ye>>>8,this[me+1]=255&ye,me+2},u.prototype.writeInt32LE=function(ye,me,Me){return ye=+ye,me>>>=0,Me||B(this,ye,me,4,2147483647,-2147483648),this[me]=255&ye,this[me+1]=ye>>>8,this[me+2]=ye>>>16,this[me+3]=ye>>>24,me+4},u.prototype.writeInt32BE=function(ye,me,Me){return ye=+ye,me>>>=0,Me||B(this,ye,me,4,2147483647,-2147483648),ye<0&&(ye=4294967295+ye+1),this[me]=ye>>>24,this[me+1]=ye>>>16,this[me+2]=ye>>>8,this[me+3]=255&ye,me+4},u.prototype.writeFloatLE=function(ye,me,Me){return W(this,ye,me,!0,Me)},u.prototype.writeFloatBE=function(ye,me,Me){return W(this,ye,me,!1,Me)},u.prototype.writeDoubleLE=function(ye,me,Me){return Oe(this,ye,me,!0,Me)},u.prototype.writeDoubleBE=function(ye,me,Me){return Oe(this,ye,me,!1,Me)},u.prototype.copy=function(ye,me,Me,Ze){if(!u.isBuffer(ye))throw new TypeError("argument should be a Buffer");if(Me||(Me=0),!Ze&&0!==Ze&&(Ze=this.length),me>=ye.length&&(me=ye.length),me||(me=0),Ze>0&&Ze<Me&&(Ze=Me),Ze===Me||0===ye.length||0===this.length)return 0;if(me<0)throw new RangeError("targetStart out of bounds");if(Me<0||Me>=this.length)throw new RangeError("Index out of range");if(Ze<0)throw new RangeError("sourceEnd out of bounds");Ze>this.length&&(Ze=this.length),ye.length-me<Ze-Me&&(Ze=ye.length-me+Me);var q=Ze-Me;return this===ye&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(me,Me,Ze):Uint8Array.prototype.set.call(ye,this.subarray(Me,Ze),me),q},u.prototype.fill=function(ye,me,Me,Ze){if("string"==typeof ye){if("string"==typeof me?(Ze=me,me=0,Me=this.length):"string"==typeof Me&&(Ze=Me,Me=this.length),void 0!==Ze&&"string"!=typeof Ze)throw new TypeError("encoding must be a string");if("string"==typeof Ze&&!u.isEncoding(Ze))throw new TypeError("Unknown encoding: "+Ze);if(1===ye.length){var q=ye.charCodeAt(0);("utf8"===Ze&&q<128||"latin1"===Ze)&&(ye=q)}}else"number"==typeof ye?ye&=255:"boolean"==typeof ye&&(ye=Number(ye));if(me<0||this.length<me||this.length<Me)throw new RangeError("Out of range index");if(Me<=me)return this;var de;if(me>>>=0,Me=void 0===Me?this.length:Me>>>0,ye||(ye=0),"number"==typeof ye)for(de=me;de<Me;++de)this[de]=ye;else{var xe=u.isBuffer(ye)?ye:u.from(ye,Ze),ke=xe.length;if(0===ke)throw new TypeError('The value "'+ye+'" is invalid for argument "value"');for(de=0;de<Me-me;++de)this[de+me]=xe[de%ke]}return this};var it=/[^+/0-9A-Za-z-_]/g;function ot(oe,ye){ye=ye||1/0;for(var me,Me=oe.length,Ze=null,q=[],de=0;de<Me;++de){if((me=oe.charCodeAt(de))>55295&&me<57344){if(!Ze){if(me>56319){(ye-=3)>-1&&q.push(239,191,189);continue}if(de+1===Me){(ye-=3)>-1&&q.push(239,191,189);continue}Ze=me;continue}if(me<56320){(ye-=3)>-1&&q.push(239,191,189),Ze=me;continue}me=65536+(Ze-55296<<10|me-56320)}else Ze&&(ye-=3)>-1&&q.push(239,191,189);if(Ze=null,me<128){if((ye-=1)<0)break;q.push(me)}else if(me<2048){if((ye-=2)<0)break;q.push(me>>6|192,63&me|128)}else if(me<65536){if((ye-=3)<0)break;q.push(me>>12|224,me>>6&63|128,63&me|128)}else{if(!(me<1114112))throw new Error("Invalid code point");if((ye-=4)<0)break;q.push(me>>18|240,me>>12&63|128,me>>6&63|128,63&me|128)}}return q}function fe(oe){return t.toByteArray(function Ne(oe){if((oe=(oe=oe.split("=")[0]).trim().replace(it,"")).length<2)return"";for(;oe.length%4!=0;)oe+="=";return oe}(oe))}function Se(oe,ye,me,Me){for(var Ze=0;Ze<Me&&!(Ze+me>=ye.length||Ze>=oe.length);++Ze)ye[Ze+me]=oe[Ze];return Ze}function te(oe,ye){return oe instanceof ye||null!=oe&&null!=oe.constructor&&null!=oe.constructor.name&&oe.constructor.name===ye.name}function Ke(oe){return oe!=oe}var Ae=function(){for(var oe="0123456789abcdef",ye=new Array(256),me=0;me<16;++me)for(var Me=16*me,Ze=0;Ze<16;++Ze)ye[Me+Ze]=oe[me]+oe[Ze];return ye}()},1052:(Ge,Q,m)=>{var t=m(3502).Buffer,e=m(295).Transform,g=m(3054).s;function o(C){e.call(this),this.hashMode="string"==typeof C,this.hashMode?this[C]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}m(3894)(o,e),o.prototype.update=function(C,u,O){"string"==typeof C&&(C=t.from(C,u));var d=this._update(C);return this.hashMode?this:(O&&(d=this._toString(d,O)),d)},o.prototype.setAutoPadding=function(){},o.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},o.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},o.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},o.prototype._transform=function(C,u,O){var d;try{this.hashMode?this._update(C):this.push(this._update(C))}catch(M){d=M}finally{O(d)}},o.prototype._flush=function(C){var u;try{this.push(this.__final())}catch(O){u=O}C(u)},o.prototype._finalOrDigest=function(C){var u=this.__final()||t.alloc(0);return C&&(u=this._toString(u,C,!0)),u},o.prototype._toString=function(C,u,O){if(this._decoder||(this._decoder=new g(u),this._encoding=u),this._encoding!==u)throw new Error("can't switch encodings");var d=this._decoder.write(C);return O&&(d+=this._decoder.end()),d},Ge.exports=o},6128:function(Ge){!function(Q){"use strict";var m={bytesToHex:function(g){return function t(g){return g.map(function(A){return function e(g,A){return g.length>A?g:Array(A-g.length+1).join("0")+g}(A.toString(16),2)}).join("")}(g)},hexToBytes:function(g){if(g.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===g.indexOf("0x")&&(g=g.slice(2)),g.match(/../g).map(function(A){return parseInt(A,16)})}};Ge.exports?Ge.exports=m:Q.convertHex=m}(this)},5612:function(Ge){!function(Q){"use strict";var m={bytesToString:function(t){return t.map(function(e){return String.fromCharCode(e)}).join("")},stringToBytes:function(t){return t.split("").map(function(e){return e.charCodeAt(0)})}};m.UTF8={bytesToString:function(t){return decodeURIComponent(escape(m.bytesToString(t)))},stringToBytes:function(t){return m.stringToBytes(unescape(encodeURIComponent(t)))}},Ge.exports?Ge.exports=m:Q.convertString=m}(this)},4746:(Ge,Q,m)=>{var t=m(7715),e=m(6422);Ge.exports=function(u){return new A(u)};var g={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 A(C){this.curveType=g[C],this.curveType||(this.curveType={name:C}),this.curve=new t.ec(this.curveType.name),this.keys=void 0}function o(C,u,O){Array.isArray(C)||(C=C.toArray());var d=new Buffer(C);if(O&&d.length<O){var M=new Buffer(O-d.length);M.fill(0),d=Buffer.concat([M,d])}return u?d.toString(u):d}g.p224=g.secp224r1,g.p256=g.secp256r1=g.prime256v1,g.p192=g.secp192r1=g.prime192v1,g.p384=g.secp384r1,g.p521=g.secp521r1,A.prototype.generateKeys=function(C,u){return this.keys=this.curve.genKeyPair(),this.getPublicKey(C,u)},A.prototype.computeSecret=function(C,u,O){return u=u||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,u)),o(this.curve.keyFromPublic(C).getPublic().mul(this.keys.getPrivate()).getX(),O,this.curveType.byteLength)},A.prototype.getPublicKey=function(C,u){var O=this.keys.getPublic("compressed"===u,!0);return"hybrid"===u&&(O[0]=O[O.length-1]%2?7:6),o(O,C)},A.prototype.getPrivateKey=function(C){return o(this.keys.getPrivate(),C)},A.prototype.setPublicKey=function(C,u){return u=u||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,u)),this.keys._importPublic(C),this},A.prototype.setPrivateKey=function(C,u){u=u||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,u));var O=new e(C);return O=O.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(O),this}},6422:function(Ge,Q,m){!function(t,e){"use strict";function g(E,i){if(!E)throw new Error(i||"Assertion failed")}function A(E,i){E.super_=i;var r=function(){};r.prototype=i.prototype,E.prototype=new r,E.prototype.constructor=E}function o(E,i,r){if(o.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,null!==E&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(E||0,i||10,r||"be"))}var C;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(8623).Buffer}catch{}function u(E,i){var r=E.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function O(E,i,r){var h=u(E,r);return r-1>=i&&(h|=u(E,r-1)<<4),h}function d(E,i,r,h){for(var c=0,y=Math.min(E.length,r),S=i;S<y;S++){var k=E.charCodeAt(S)-48;c*=h,c+=k>=49?k-49+10:k>=17?k-17+10:k}return c}o.isBN=function(i){return i instanceof o||null!==i&&"object"==typeof i&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,r){return i.cmp(r)>0?i:r},o.min=function(i,r){return i.cmp(r)<0?i:r},o.prototype._init=function(i,r,h){if("number"==typeof i)return this._initNumber(i,r,h);if("object"==typeof i)return this._initArray(i,r,h);"hex"===r&&(r=16),g(r===(0|r)&&r>=2&&r<=36);var c=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(c++,this.negative=1),c<i.length&&(16===r?this._parseHex(i,c,h):(this._parseBase(i,r,c),"le"===h&&this._initArray(this.toArray(),r,h)))},o.prototype._initNumber=function(i,r,h){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[67108863&i],this.length=1):i<4503599627370496?(this.words=[67108863&i,i/67108864&67108863],this.length=2):(g(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===h&&this._initArray(this.toArray(),r,h)},o.prototype._initArray=function(i,r,h){if(g("number"==typeof i.length),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var y,S,k=0;if("be"===h)for(c=i.length-1,y=0;c>=0;c-=3)this.words[y]|=(S=i[c]|i[c-1]<<8|i[c-2]<<16)<<k&67108863,this.words[y+1]=S>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);else if("le"===h)for(c=0,y=0;c<i.length;c+=3)this.words[y]|=(S=i[c]|i[c+1]<<8|i[c+2]<<16)<<k&67108863,this.words[y+1]=S>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);return this.strip()},o.prototype._parseHex=function(i,r,h){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var k,y=0,S=0;if("be"===h)for(c=i.length-1;c>=r;c-=2)k=O(i,r,c)<<y,this.words[S]|=67108863&k,y>=18?(y-=18,this.words[S+=1]|=k>>>26):y+=8;else for(c=(i.length-r)%2==0?r+1:r;c<i.length;c+=2)k=O(i,r,c)<<y,this.words[S]|=67108863&k,y>=18?(y-=18,this.words[S+=1]|=k>>>26):y+=8;this.strip()},o.prototype._parseBase=function(i,r,h){this.words=[0],this.length=1;for(var c=0,y=1;y<=67108863;y*=r)c++;c--,y=y/r|0;for(var S=i.length-h,k=S%c,v=Math.min(S,S-k)+h,n=0,b=h;b<v;b+=c)n=d(i,b,b+c,r),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==k){var B=1;for(n=d(i,b,i.length,r),b=0;b<k;b++)B*=r;this.imuln(B),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var r=0;r<this.length;r++)i.words[r]=this.words[r];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var M=["","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"],w=[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],L=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function P(E,i,r){r.negative=i.negative^E.negative;var h=E.length+i.length|0;r.length=h,h=h-1|0;var c=0|E.words[0],y=0|i.words[0],S=c*y,v=S/67108864|0;r.words[0]=67108863&S;for(var n=1;n<h;n++){for(var b=v>>>26,B=67108863&v,z=Math.min(n,i.length-1),W=Math.max(0,n-E.length+1);W<=z;W++)b+=(S=(c=0|E.words[n-W|0])*(y=0|i.words[W])+B)/67108864|0,B=67108863&S;r.words[n]=0|B,v=0|b}return 0!==v?r.words[n]=0|v:r.length--,r.strip()}o.prototype.toString=function(i,r){var h;if(r=0|r||1,16===(i=i||10)||"hex"===i){h="";for(var c=0,y=0,S=0;S<this.length;S++){var k=this.words[S],v=(16777215&(k<<c|y)).toString(16);h=0!=(y=k>>>24-c&16777215)||S!==this.length-1?M[6-v.length]+v+h:v+h,(c+=2)>=26&&(c-=26,S--)}for(0!==y&&(h=y.toString(16)+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=L[i];h="";var B=this.clone();for(B.negative=0;!B.isZero();){var z=B.modn(b).toString(i);h=(B=B.idivn(b)).isZero()?z+h:M[n-z.length]+z+h}for(this.isZero()&&(h="0"+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}g(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return 2===this.length?i+=67108864*this.words[1]:3===this.length&&1===this.words[2]?i+=4503599627370496+67108864*this.words[1]:this.length>2&&g(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,r){return g(typeof C<"u"),this.toArrayLike(C,i,r)},o.prototype.toArray=function(i,r){return this.toArrayLike(Array,i,r)},o.prototype.toArrayLike=function(i,r,h){var c=this.byteLength(),y=h||Math.max(1,c);g(c<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var v,n,S="le"===r,k=new i(y),b=this.clone();if(S){for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),k[n]=v;for(;n<y;n++)k[n]=0}else{for(n=0;n<y-c;n++)k[n]=0;for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),k[y-n-1]=v}return k},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,h=0;return r>=4096&&(h+=13,r>>>=13),r>=64&&(h+=7,r>>>=7),r>=8&&(h+=4,r>>>=4),r>=2&&(h+=2,r>>>=2),h+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,h=0;return 0==(8191&r)&&(h+=13,r>>>=13),0==(127&r)&&(h+=7,r>>>=7),0==(15&r)&&(h+=4,r>>>=4),0==(3&r)&&(h+=2,r>>>=2),0==(1&r)&&h++,h},o.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,r=0;r<this.length;r++){var h=this._zeroBits(this.words[r]);if(i+=h,26!==h)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var r=0;r<i.length;r++)this.words[r]=this.words[r]|i.words[r];return this.strip()},o.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var r;r=this.length>i.length?i:this;for(var h=0;h<r.length;h++)this.words[h]=this.words[h]&i.words[h];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var r,h;this.length>i.length?(r=this,h=i):(r=i,h=this);for(var c=0;c<h.length;c++)this.words[c]=r.words[c]^h.words[c];if(this!==r)for(;c<r.length;c++)this.words[c]=r.words[c];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),h=i%26;this._expand(r),h>0&&r--;for(var c=0;c<r;c++)this.words[c]=67108863&~this.words[c];return h>0&&(this.words[c]=~this.words[c]&67108863>>26-h),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){g("number"==typeof i&&i>=0);var h=i/26|0,c=i%26;return this._expand(h+1),this.words[h]=r?this.words[h]|1<<c:this.words[h]&~(1<<c),this.strip()},o.prototype.iadd=function(i){var r,h,c;if(0!==this.negative&&0===i.negative)return this.negative=0,r=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,r=this.isub(i),i.negative=1,r._normSign();this.length>i.length?(h=this,c=i):(h=i,c=this);for(var y=0,S=0;S<c.length;S++)this.words[S]=67108863&(r=(0|h.words[S])+(0|c.words[S])+y),y=r>>>26;for(;0!==y&&S<h.length;S++)this.words[S]=67108863&(r=(0|h.words[S])+y),y=r>>>26;if(this.length=h.length,0!==y)this.words[this.length]=y,this.length++;else if(h!==this)for(;S<h.length;S++)this.words[S]=h.words[S];return this},o.prototype.add=function(i){var r;return 0!==i.negative&&0===this.negative?(i.negative=0,r=this.sub(i),i.negative^=1,r):0===i.negative&&0!==this.negative?(this.negative=0,r=i.sub(this),this.negative=1,r):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var r=this.iadd(i);return i.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var c,y,h=this.cmp(i);if(0===h)return this.negative=0,this.length=1,this.words[0]=0,this;h>0?(c=this,y=i):(c=i,y=this);for(var S=0,k=0;k<y.length;k++)S=(r=(0|c.words[k])-(0|y.words[k])+S)>>26,this.words[k]=67108863&r;for(;0!==S&&k<c.length;k++)S=(r=(0|c.words[k])+S)>>26,this.words[k]=67108863&r;if(0===S&&k<c.length&&c!==this)for(;k<c.length;k++)this.words[k]=c.words[k];return this.length=Math.max(this.length,k),c!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var U=function(i,r,h){var v,n,b,c=i.words,y=r.words,S=h.words,k=0,B=0|c[0],z=8191&B,W=B>>>13,Oe=0|c[1],it=8191&Oe,Ne=Oe>>>13,ot=0|c[2],Ie=8191&ot,ve=ot>>>13,fe=0|c[3],Se=8191&fe,te=fe>>>13,Ke=0|c[4],Ae=8191&Ke,oe=Ke>>>13,ye=0|c[5],me=8191&ye,Me=ye>>>13,Ze=0|c[6],q=8191&Ze,de=Ze>>>13,xe=0|c[7],ke=8191&xe,ft=xe>>>13,_t=0|c[8],ct=8191&_t,nt=_t>>>13,Jt=0|c[9],vt=8191&Jt,ne=Jt>>>13,Ht=0|y[0],De=8191&Ht,ze=Ht>>>13,wt=0|y[1],Re=8191&wt,tt=wt>>>13,Bt=0|y[2],It=8191&Bt,zt=Bt>>>13,xt=0|y[3],we=8191&xt,J=xt>>>13,be=0|y[4],Fe=8191&be,at=be>>>13,ii=0|y[5],Gt=8191&ii,ei=ii>>>13,ht=0|y[6],rt=8191&ht,yt=ht>>>13,ri=0|y[7],Ut=8191&ri,Vt=ri>>>13,Ft=0|y[8],Qe=8191&Ft,Ve=Ft>>>13,je=0|y[9],Xe=8191&je,Et=je>>>13;h.negative=i.negative^r.negative,h.length=19;var mi=(k+(v=Math.imul(z,De))|0)+((8191&(n=(n=Math.imul(z,ze))+Math.imul(W,De)|0))<<13)|0;k=((b=Math.imul(W,ze))+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,v=Math.imul(it,De),n=(n=Math.imul(it,ze))+Math.imul(Ne,De)|0,b=Math.imul(Ne,ze);var Li=(k+(v=v+Math.imul(z,Re)|0)|0)+((8191&(n=(n=n+Math.imul(z,tt)|0)+Math.imul(W,Re)|0))<<13)|0;k=((b=b+Math.imul(W,tt)|0)+(n>>>13)|0)+(Li>>>26)|0,Li&=67108863,v=Math.imul(Ie,De),n=(n=Math.imul(Ie,ze))+Math.imul(ve,De)|0,b=Math.imul(ve,ze),v=v+Math.imul(it,Re)|0,n=(n=n+Math.imul(it,tt)|0)+Math.imul(Ne,Re)|0,b=b+Math.imul(Ne,tt)|0;var wi=(k+(v=v+Math.imul(z,It)|0)|0)+((8191&(n=(n=n+Math.imul(z,zt)|0)+Math.imul(W,It)|0))<<13)|0;k=((b=b+Math.imul(W,zt)|0)+(n>>>13)|0)+(wi>>>26)|0,wi&=67108863,v=Math.imul(Se,De),n=(n=Math.imul(Se,ze))+Math.imul(te,De)|0,b=Math.imul(te,ze),v=v+Math.imul(Ie,Re)|0,n=(n=n+Math.imul(Ie,tt)|0)+Math.imul(ve,Re)|0,b=b+Math.imul(ve,tt)|0,v=v+Math.imul(it,It)|0,n=(n=n+Math.imul(it,zt)|0)+Math.imul(Ne,It)|0,b=b+Math.imul(Ne,zt)|0;var Vi=(k+(v=v+Math.imul(z,we)|0)|0)+((8191&(n=(n=n+Math.imul(z,J)|0)+Math.imul(W,we)|0))<<13)|0;k=((b=b+Math.imul(W,J)|0)+(n>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,v=Math.imul(Ae,De),n=(n=Math.imul(Ae,ze))+Math.imul(oe,De)|0,b=Math.imul(oe,ze),v=v+Math.imul(Se,Re)|0,n=(n=n+Math.imul(Se,tt)|0)+Math.imul(te,Re)|0,b=b+Math.imul(te,tt)|0,v=v+Math.imul(Ie,It)|0,n=(n=n+Math.imul(Ie,zt)|0)+Math.imul(ve,It)|0,b=b+Math.imul(ve,zt)|0,v=v+Math.imul(it,we)|0,n=(n=n+Math.imul(it,J)|0)+Math.imul(Ne,we)|0,b=b+Math.imul(Ne,J)|0;var qe=(k+(v=v+Math.imul(z,Fe)|0)|0)+((8191&(n=(n=n+Math.imul(z,at)|0)+Math.imul(W,Fe)|0))<<13)|0;k=((b=b+Math.imul(W,at)|0)+(n>>>13)|0)+(qe>>>26)|0,qe&=67108863,v=Math.imul(me,De),n=(n=Math.imul(me,ze))+Math.imul(Me,De)|0,b=Math.imul(Me,ze),v=v+Math.imul(Ae,Re)|0,n=(n=n+Math.imul(Ae,tt)|0)+Math.imul(oe,Re)|0,b=b+Math.imul(oe,tt)|0,v=v+Math.imul(Se,It)|0,n=(n=n+Math.imul(Se,zt)|0)+Math.imul(te,It)|0,b=b+Math.imul(te,zt)|0,v=v+Math.imul(Ie,we)|0,n=(n=n+Math.imul(Ie,J)|0)+Math.imul(ve,we)|0,b=b+Math.imul(ve,J)|0,v=v+Math.imul(it,Fe)|0,n=(n=n+Math.imul(it,at)|0)+Math.imul(Ne,Fe)|0,b=b+Math.imul(Ne,at)|0;var Tt=(k+(v=v+Math.imul(z,Gt)|0)|0)+((8191&(n=(n=n+Math.imul(z,ei)|0)+Math.imul(W,Gt)|0))<<13)|0;k=((b=b+Math.imul(W,ei)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,v=Math.imul(q,De),n=(n=Math.imul(q,ze))+Math.imul(de,De)|0,b=Math.imul(de,ze),v=v+Math.imul(me,Re)|0,n=(n=n+Math.imul(me,tt)|0)+Math.imul(Me,Re)|0,b=b+Math.imul(Me,tt)|0,v=v+Math.imul(Ae,It)|0,n=(n=n+Math.imul(Ae,zt)|0)+Math.imul(oe,It)|0,b=b+Math.imul(oe,zt)|0,v=v+Math.imul(Se,we)|0,n=(n=n+Math.imul(Se,J)|0)+Math.imul(te,we)|0,b=b+Math.imul(te,J)|0,v=v+Math.imul(Ie,Fe)|0,n=(n=n+Math.imul(Ie,at)|0)+Math.imul(ve,Fe)|0,b=b+Math.imul(ve,at)|0,v=v+Math.imul(it,Gt)|0,n=(n=n+Math.imul(it,ei)|0)+Math.imul(Ne,Gt)|0,b=b+Math.imul(Ne,ei)|0;var ge=(k+(v=v+Math.imul(z,rt)|0)|0)+((8191&(n=(n=n+Math.imul(z,yt)|0)+Math.imul(W,rt)|0))<<13)|0;k=((b=b+Math.imul(W,yt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,v=Math.imul(ke,De),n=(n=Math.imul(ke,ze))+Math.imul(ft,De)|0,b=Math.imul(ft,ze),v=v+Math.imul(q,Re)|0,n=(n=n+Math.imul(q,tt)|0)+Math.imul(de,Re)|0,b=b+Math.imul(de,tt)|0,v=v+Math.imul(me,It)|0,n=(n=n+Math.imul(me,zt)|0)+Math.imul(Me,It)|0,b=b+Math.imul(Me,zt)|0,v=v+Math.imul(Ae,we)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(oe,we)|0,b=b+Math.imul(oe,J)|0,v=v+Math.imul(Se,Fe)|0,n=(n=n+Math.imul(Se,at)|0)+Math.imul(te,Fe)|0,b=b+Math.imul(te,at)|0,v=v+Math.imul(Ie,Gt)|0,n=(n=n+Math.imul(Ie,ei)|0)+Math.imul(ve,Gt)|0,b=b+Math.imul(ve,ei)|0,v=v+Math.imul(it,rt)|0,n=(n=n+Math.imul(it,yt)|0)+Math.imul(Ne,rt)|0,b=b+Math.imul(Ne,yt)|0;var Dt=(k+(v=v+Math.imul(z,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(z,Vt)|0)+Math.imul(W,Ut)|0))<<13)|0;k=((b=b+Math.imul(W,Vt)|0)+(n>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(ct,De),n=(n=Math.imul(ct,ze))+Math.imul(nt,De)|0,b=Math.imul(nt,ze),v=v+Math.imul(ke,Re)|0,n=(n=n+Math.imul(ke,tt)|0)+Math.imul(ft,Re)|0,b=b+Math.imul(ft,tt)|0,v=v+Math.imul(q,It)|0,n=(n=n+Math.imul(q,zt)|0)+Math.imul(de,It)|0,b=b+Math.imul(de,zt)|0,v=v+Math.imul(me,we)|0,n=(n=n+Math.imul(me,J)|0)+Math.imul(Me,we)|0,b=b+Math.imul(Me,J)|0,v=v+Math.imul(Ae,Fe)|0,n=(n=n+Math.imul(Ae,at)|0)+Math.imul(oe,Fe)|0,b=b+Math.imul(oe,at)|0,v=v+Math.imul(Se,Gt)|0,n=(n=n+Math.imul(Se,ei)|0)+Math.imul(te,Gt)|0,b=b+Math.imul(te,ei)|0,v=v+Math.imul(Ie,rt)|0,n=(n=n+Math.imul(Ie,yt)|0)+Math.imul(ve,rt)|0,b=b+Math.imul(ve,yt)|0,v=v+Math.imul(it,Ut)|0,n=(n=n+Math.imul(it,Vt)|0)+Math.imul(Ne,Ut)|0,b=b+Math.imul(Ne,Vt)|0;var Kt=(k+(v=v+Math.imul(z,Qe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ve)|0)+Math.imul(W,Qe)|0))<<13)|0;k=((b=b+Math.imul(W,Ve)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,v=Math.imul(vt,De),n=(n=Math.imul(vt,ze))+Math.imul(ne,De)|0,b=Math.imul(ne,ze),v=v+Math.imul(ct,Re)|0,n=(n=n+Math.imul(ct,tt)|0)+Math.imul(nt,Re)|0,b=b+Math.imul(nt,tt)|0,v=v+Math.imul(ke,It)|0,n=(n=n+Math.imul(ke,zt)|0)+Math.imul(ft,It)|0,b=b+Math.imul(ft,zt)|0,v=v+Math.imul(q,we)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,we)|0,b=b+Math.imul(de,J)|0,v=v+Math.imul(me,Fe)|0,n=(n=n+Math.imul(me,at)|0)+Math.imul(Me,Fe)|0,b=b+Math.imul(Me,at)|0,v=v+Math.imul(Ae,Gt)|0,n=(n=n+Math.imul(Ae,ei)|0)+Math.imul(oe,Gt)|0,b=b+Math.imul(oe,ei)|0,v=v+Math.imul(Se,rt)|0,n=(n=n+Math.imul(Se,yt)|0)+Math.imul(te,rt)|0,b=b+Math.imul(te,yt)|0,v=v+Math.imul(Ie,Ut)|0,n=(n=n+Math.imul(Ie,Vt)|0)+Math.imul(ve,Ut)|0,b=b+Math.imul(ve,Vt)|0,v=v+Math.imul(it,Qe)|0,n=(n=n+Math.imul(it,Ve)|0)+Math.imul(Ne,Qe)|0,b=b+Math.imul(Ne,Ve)|0;var fi=(k+(v=v+Math.imul(z,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Et)|0)+Math.imul(W,Xe)|0))<<13)|0;k=((b=b+Math.imul(W,Et)|0)+(n>>>13)|0)+(fi>>>26)|0,fi&=67108863,v=Math.imul(vt,Re),n=(n=Math.imul(vt,tt))+Math.imul(ne,Re)|0,b=Math.imul(ne,tt),v=v+Math.imul(ct,It)|0,n=(n=n+Math.imul(ct,zt)|0)+Math.imul(nt,It)|0,b=b+Math.imul(nt,zt)|0,v=v+Math.imul(ke,we)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ft,we)|0,b=b+Math.imul(ft,J)|0,v=v+Math.imul(q,Fe)|0,n=(n=n+Math.imul(q,at)|0)+Math.imul(de,Fe)|0,b=b+Math.imul(de,at)|0,v=v+Math.imul(me,Gt)|0,n=(n=n+Math.imul(me,ei)|0)+Math.imul(Me,Gt)|0,b=b+Math.imul(Me,ei)|0,v=v+Math.imul(Ae,rt)|0,n=(n=n+Math.imul(Ae,yt)|0)+Math.imul(oe,rt)|0,b=b+Math.imul(oe,yt)|0,v=v+Math.imul(Se,Ut)|0,n=(n=n+Math.imul(Se,Vt)|0)+Math.imul(te,Ut)|0,b=b+Math.imul(te,Vt)|0,v=v+Math.imul(Ie,Qe)|0,n=(n=n+Math.imul(Ie,Ve)|0)+Math.imul(ve,Qe)|0,b=b+Math.imul(ve,Ve)|0;var Mi=(k+(v=v+Math.imul(it,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(it,Et)|0)+Math.imul(Ne,Xe)|0))<<13)|0;k=((b=b+Math.imul(Ne,Et)|0)+(n>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,v=Math.imul(vt,It),n=(n=Math.imul(vt,zt))+Math.imul(ne,It)|0,b=Math.imul(ne,zt),v=v+Math.imul(ct,we)|0,n=(n=n+Math.imul(ct,J)|0)+Math.imul(nt,we)|0,b=b+Math.imul(nt,J)|0,v=v+Math.imul(ke,Fe)|0,n=(n=n+Math.imul(ke,at)|0)+Math.imul(ft,Fe)|0,b=b+Math.imul(ft,at)|0,v=v+Math.imul(q,Gt)|0,n=(n=n+Math.imul(q,ei)|0)+Math.imul(de,Gt)|0,b=b+Math.imul(de,ei)|0,v=v+Math.imul(me,rt)|0,n=(n=n+Math.imul(me,yt)|0)+Math.imul(Me,rt)|0,b=b+Math.imul(Me,yt)|0,v=v+Math.imul(Ae,Ut)|0,n=(n=n+Math.imul(Ae,Vt)|0)+Math.imul(oe,Ut)|0,b=b+Math.imul(oe,Vt)|0,v=v+Math.imul(Se,Qe)|0,n=(n=n+Math.imul(Se,Ve)|0)+Math.imul(te,Qe)|0,b=b+Math.imul(te,Ve)|0;var Pi=(k+(v=v+Math.imul(Ie,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Et)|0)+Math.imul(ve,Xe)|0))<<13)|0;k=((b=b+Math.imul(ve,Et)|0)+(n>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,v=Math.imul(vt,we),n=(n=Math.imul(vt,J))+Math.imul(ne,we)|0,b=Math.imul(ne,J),v=v+Math.imul(ct,Fe)|0,n=(n=n+Math.imul(ct,at)|0)+Math.imul(nt,Fe)|0,b=b+Math.imul(nt,at)|0,v=v+Math.imul(ke,Gt)|0,n=(n=n+Math.imul(ke,ei)|0)+Math.imul(ft,Gt)|0,b=b+Math.imul(ft,ei)|0,v=v+Math.imul(q,rt)|0,n=(n=n+Math.imul(q,yt)|0)+Math.imul(de,rt)|0,b=b+Math.imul(de,yt)|0,v=v+Math.imul(me,Ut)|0,n=(n=n+Math.imul(me,Vt)|0)+Math.imul(Me,Ut)|0,b=b+Math.imul(Me,Vt)|0,v=v+Math.imul(Ae,Qe)|0,n=(n=n+Math.imul(Ae,Ve)|0)+Math.imul(oe,Qe)|0,b=b+Math.imul(oe,Ve)|0;var Ui=(k+(v=v+Math.imul(Se,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Se,Et)|0)+Math.imul(te,Xe)|0))<<13)|0;k=((b=b+Math.imul(te,Et)|0)+(n>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,v=Math.imul(vt,Fe),n=(n=Math.imul(vt,at))+Math.imul(ne,Fe)|0,b=Math.imul(ne,at),v=v+Math.imul(ct,Gt)|0,n=(n=n+Math.imul(ct,ei)|0)+Math.imul(nt,Gt)|0,b=b+Math.imul(nt,ei)|0,v=v+Math.imul(ke,rt)|0,n=(n=n+Math.imul(ke,yt)|0)+Math.imul(ft,rt)|0,b=b+Math.imul(ft,yt)|0,v=v+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,Vt)|0)+Math.imul(de,Ut)|0,b=b+Math.imul(de,Vt)|0,v=v+Math.imul(me,Qe)|0,n=(n=n+Math.imul(me,Ve)|0)+Math.imul(Me,Qe)|0,b=b+Math.imul(Me,Ve)|0;var Wt=(k+(v=v+Math.imul(Ae,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Et)|0)+Math.imul(oe,Xe)|0))<<13)|0;k=((b=b+Math.imul(oe,Et)|0)+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,v=Math.imul(vt,Gt),n=(n=Math.imul(vt,ei))+Math.imul(ne,Gt)|0,b=Math.imul(ne,ei),v=v+Math.imul(ct,rt)|0,n=(n=n+Math.imul(ct,yt)|0)+Math.imul(nt,rt)|0,b=b+Math.imul(nt,yt)|0,v=v+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,Vt)|0)+Math.imul(ft,Ut)|0,b=b+Math.imul(ft,Vt)|0,v=v+Math.imul(q,Qe)|0,n=(n=n+Math.imul(q,Ve)|0)+Math.imul(de,Qe)|0,b=b+Math.imul(de,Ve)|0;var si=(k+(v=v+Math.imul(me,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(me,Et)|0)+Math.imul(Me,Xe)|0))<<13)|0;k=((b=b+Math.imul(Me,Et)|0)+(n>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(vt,rt),n=(n=Math.imul(vt,yt))+Math.imul(ne,rt)|0,b=Math.imul(ne,yt),v=v+Math.imul(ct,Ut)|0,n=(n=n+Math.imul(ct,Vt)|0)+Math.imul(nt,Ut)|0,b=b+Math.imul(nt,Vt)|0,v=v+Math.imul(ke,Qe)|0,n=(n=n+Math.imul(ke,Ve)|0)+Math.imul(ft,Qe)|0,b=b+Math.imul(ft,Ve)|0;var _e=(k+(v=v+Math.imul(q,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(q,Et)|0)+Math.imul(de,Xe)|0))<<13)|0;k=((b=b+Math.imul(de,Et)|0)+(n>>>13)|0)+(_e>>>26)|0,_e&=67108863,v=Math.imul(vt,Ut),n=(n=Math.imul(vt,Vt))+Math.imul(ne,Ut)|0,b=Math.imul(ne,Vt),v=v+Math.imul(ct,Qe)|0,n=(n=n+Math.imul(ct,Ve)|0)+Math.imul(nt,Qe)|0,b=b+Math.imul(nt,Ve)|0;var $e=(k+(v=v+Math.imul(ke,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Et)|0)+Math.imul(ft,Xe)|0))<<13)|0;k=((b=b+Math.imul(ft,Et)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,v=Math.imul(vt,Qe),n=(n=Math.imul(vt,Ve))+Math.imul(ne,Qe)|0,b=Math.imul(ne,Ve);var St=(k+(v=v+Math.imul(ct,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(ct,Et)|0)+Math.imul(nt,Xe)|0))<<13)|0;k=((b=b+Math.imul(nt,Et)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863;var mt=(k+(v=Math.imul(vt,Xe))|0)+((8191&(n=(n=Math.imul(vt,Et))+Math.imul(ne,Xe)|0))<<13)|0;return k=((b=Math.imul(ne,Et))+(n>>>13)|0)+(mt>>>26)|0,mt&=67108863,S[0]=mi,S[1]=Li,S[2]=wi,S[3]=Vi,S[4]=qe,S[5]=Tt,S[6]=ge,S[7]=Dt,S[8]=Kt,S[9]=fi,S[10]=Mi,S[11]=Pi,S[12]=Ui,S[13]=Wt,S[14]=si,S[15]=_e,S[16]=$e,S[17]=St,S[18]=mt,0!==k&&(S[19]=k,h.length++),h};function Y(E,i,r){return(new j).mulp(E,i,r)}function j(E,i){this.x=E,this.y=i}Math.imul||(U=P),o.prototype.mulTo=function(i,r){var h,c=this.length+i.length;return h=10===this.length&&10===i.length?U(this,i,r):c<63?P(this,i,r):c<1024?function Z(E,i,r){r.negative=i.negative^E.negative,r.length=E.length+i.length;for(var h=0,c=0,y=0;y<r.length-1;y++){var S=c;c=0;for(var k=67108863&h,v=Math.min(y,i.length-1),n=Math.max(0,y-E.length+1);n<=v;n++){var W=(0|E.words[y-n])*(0|i.words[n]),Oe=67108863&W;k=67108863&(Oe=Oe+k|0),c+=(S=(S=S+(W/67108864|0)|0)+(Oe>>>26)|0)>>>26,S&=67108863}r.words[y]=k,h=S,S=c}return 0!==h?r.words[y]=h:r.length--,r.strip()}(this,i,r):Y(this,i,r),h},j.prototype.makeRBT=function(i){for(var r=new Array(i),h=o.prototype._countBits(i)-1,c=0;c<i;c++)r[c]=this.revBin(c,h,i);return r},j.prototype.revBin=function(i,r,h){if(0===i||i===h-1)return i;for(var c=0,y=0;y<r;y++)c|=(1&i)<<r-y-1,i>>=1;return c},j.prototype.permute=function(i,r,h,c,y,S){for(var k=0;k<S;k++)c[k]=r[i[k]],y[k]=h[i[k]]},j.prototype.transform=function(i,r,h,c,y,S){this.permute(S,i,r,h,c,y);for(var k=1;k<y;k<<=1)for(var v=k<<1,n=Math.cos(2*Math.PI/v),b=Math.sin(2*Math.PI/v),B=0;B<y;B+=v)for(var z=n,W=b,Oe=0;Oe<k;Oe++){var it=h[B+Oe],Ne=c[B+Oe],ot=h[B+Oe+k],Ie=c[B+Oe+k],ve=z*ot-W*Ie;Ie=z*Ie+W*ot,h[B+Oe]=it+(ot=ve),c[B+Oe]=Ne+Ie,h[B+Oe+k]=it-ot,c[B+Oe+k]=Ne-Ie,Oe!==v&&(ve=n*z-b*W,W=n*W+b*z,z=ve)}},j.prototype.guessLen13b=function(i,r){var h=1|Math.max(r,i),c=1&h,y=0;for(h=h/2|0;h;h>>>=1)y++;return 1<<y+1+c},j.prototype.conjugate=function(i,r,h){if(!(h<=1))for(var c=0;c<h/2;c++){var y=i[c];i[c]=i[h-c-1],i[h-c-1]=y,y=r[c],r[c]=-r[h-c-1],r[h-c-1]=-y}},j.prototype.normalize13b=function(i,r){for(var h=0,c=0;c<r/2;c++){var y=8192*Math.round(i[2*c+1]/r)+Math.round(i[2*c]/r)+h;i[c]=67108863&y,h=y<67108864?0:y/67108864|0}return i},j.prototype.convert13b=function(i,r,h,c){for(var y=0,S=0;S<r;S++)h[2*S]=8191&(y+=0|i[S]),h[2*S+1]=8191&(y>>>=13),y>>>=13;for(S=2*r;S<c;++S)h[S]=0;g(0===y),g(0==(-8192&y))},j.prototype.stub=function(i){for(var r=new Array(i),h=0;h<i;h++)r[h]=0;return r},j.prototype.mulp=function(i,r,h){var c=2*this.guessLen13b(i.length,r.length),y=this.makeRBT(c),S=this.stub(c),k=new Array(c),v=new Array(c),n=new Array(c),b=new Array(c),B=new Array(c),z=new Array(c),W=h.words;W.length=c,this.convert13b(i.words,i.length,k,c),this.convert13b(r.words,r.length,b,c),this.transform(k,S,v,n,c,y),this.transform(b,S,B,z,c,y);for(var Oe=0;Oe<c;Oe++){var it=v[Oe]*B[Oe]-n[Oe]*z[Oe];n[Oe]=v[Oe]*z[Oe]+n[Oe]*B[Oe],v[Oe]=it}return this.conjugate(v,n,c),this.transform(v,n,W,S,c,y),this.conjugate(W,S,c),this.normalize13b(W,c),h.negative=i.negative^r.negative,h.length=i.length+r.length,h.strip()},o.prototype.mul=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),this.mulTo(i,r)},o.prototype.mulf=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),Y(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var r=0,h=0;h<this.length;h++){var c=(0|this.words[h])*i,y=(67108863&c)+(67108863&r);r>>=26,r+=c/67108864|0,r+=y>>>26,this.words[h]=67108863&y}return 0!==r&&(this.words[h]=r,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var r=function I(E){for(var i=new Array(E.bitLength()),r=0;r<i.length;r++){var c=r%26;i[r]=(E.words[r/26|0]&1<<c)>>>c}return i}(i);if(0===r.length)return new o(1);for(var h=this,c=0;c<r.length&&0===r[c];c++,h=h.sqr());if(++c<r.length)for(var y=h.sqr();c<r.length;c++,y=y.sqr())0!==r[c]&&(h=h.mul(y));return h},o.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,r=i%26,h=(i-r)/26,c=67108863>>>26-r<<26-r;if(0!==r){var S=0;for(y=0;y<this.length;y++){var k=this.words[y]&c;this.words[y]=(0|this.words[y])-k<<r|S,S=k>>>26-r}S&&(this.words[y]=S,this.length++)}if(0!==h){for(y=this.length-1;y>=0;y--)this.words[y+h]=this.words[y];for(y=0;y<h;y++)this.words[y]=0;this.length+=h}return this.strip()},o.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,h){var c;g("number"==typeof i&&i>=0),c=r?(r-r%26)/26:0;var y=i%26,S=Math.min((i-y)/26,this.length),k=67108863^67108863>>>y<<y,v=h;if(c-=S,c=Math.max(0,c),v){for(var n=0;n<S;n++)v.words[n]=this.words[n];v.length=S}if(0!==S)if(this.length>S)for(this.length-=S,n=0;n<this.length;n++)this.words[n]=this.words[n+S];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=c);n--){var B=0|this.words[n];this.words[n]=b<<26-y|B>>>y,b=B&k}return v&&0!==b&&(v.words[v.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,h){return g(0===this.negative),this.iushrn(i,r,h)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){g("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return!(this.length<=h||!(this.words[h]&1<<r))},o.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=h?this:(0!==r&&h++,this.length=Math.min(h,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return g("number"==typeof i),g(i<67108864),i<0?this.isubn(-i):0!==this.negative?1===this.length&&(0|this.words[0])<i?(this.words[0]=i-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},o.prototype.isubn=function(i){if(g("number"==typeof i),g(i<67108864),i<0)return this.iaddn(-i);if(0!==this.negative)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,r,h){var y;this._expand(i.length+h);var S,k=0;for(y=0;y<i.length;y++){S=(0|this.words[y+h])+k;var v=(0|i.words[y])*r;k=((S-=67108863&v)>>26)-(v/67108864|0),this.words[y+h]=67108863&S}for(;y<this.length-h;y++)k=(S=(0|this.words[y+h])+k)>>26,this.words[y+h]=67108863&S;if(0===k)return this.strip();for(g(-1===k),k=0,y=0;y<this.length;y++)k=(S=-(0|this.words[y])+k)>>26,this.words[y]=67108863&S;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var h,c=this.clone(),y=i,S=0|y.words[y.length-1];0!=(h=26-this._countBits(S))&&(y=y.ushln(h),c.iushln(h),S=0|y.words[y.length-1]);var n,v=c.length-y.length;if("mod"!==r){(n=new o(null)).length=v+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var B=c.clone()._ishlnsubmul(y,1,v);0===B.negative&&(c=B,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var W=67108864*(0|c.words[y.length+z])+(0|c.words[y.length+z-1]);for(W=Math.min(W/S|0,67108863),c._ishlnsubmul(y,W,z);0!==c.negative;)W--,c.negative=0,c._ishlnsubmul(y,1,z),c.isZero()||(c.negative^=1);n&&(n.words[z]=W)}return n&&n.strip(),c.strip(),"div"!==r&&0!==h&&c.iushrn(h),{div:n||null,mod:c}},o.prototype.divmod=function(i,r,h){return g(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(S=this.neg().divmod(i,r),"mod"!==r&&(c=S.div.neg()),"div"!==r&&(y=S.mod.neg(),h&&0!==y.negative&&y.iadd(i)),{div:c,mod:y}):0===this.negative&&0!==i.negative?(S=this.divmod(i.neg(),r),"mod"!==r&&(c=S.div.neg()),{div:c,mod:S.mod}):0!=(this.negative&i.negative)?(S=this.neg().divmod(i.neg(),r),"div"!==r&&(y=S.mod.neg(),h&&0!==y.negative&&y.isub(i)),{div:S.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:1===i.length?"div"===r?{div:this.divn(i.words[0]),mod:null}:"mod"===r?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,r);var c,y,S},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var r=this.divmod(i);if(r.mod.isZero())return r.div;var h=0!==r.div.negative?r.mod.isub(i):r.mod,c=i.ushrn(1),y=i.andln(1),S=h.cmp(c);return S<0||1===y&&0===S?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){g(i<=67108863);for(var r=(1<<26)%i,h=0,c=this.length-1;c>=0;c--)h=(r*h+(0|this.words[c]))%i;return h},o.prototype.idivn=function(i){g(i<=67108863);for(var r=0,h=this.length-1;h>=0;h--){var c=(0|this.words[h])+67108864*r;this.words[h]=c/i|0,r=c%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),y=new o(0),S=new o(0),k=new o(1),v=0;r.isEven()&&h.isEven();)r.iushrn(1),h.iushrn(1),++v;for(var n=h.clone(),b=r.clone();!r.isZero();){for(var B=0,z=1;0==(r.words[0]&z)&&B<26;++B,z<<=1);if(B>0)for(r.iushrn(B);B-- >0;)(c.isOdd()||y.isOdd())&&(c.iadd(n),y.isub(b)),c.iushrn(1),y.iushrn(1);for(var W=0,Oe=1;0==(h.words[0]&Oe)&&W<26;++W,Oe<<=1);if(W>0)for(h.iushrn(W);W-- >0;)(S.isOdd()||k.isOdd())&&(S.iadd(n),k.isub(b)),S.iushrn(1),k.iushrn(1);r.cmp(h)>=0?(r.isub(h),c.isub(S),y.isub(k)):(h.isub(r),S.isub(c),k.isub(y))}return{a:S,b:k,gcd:h.iushln(v)}},o.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var B,r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),y=new o(0),S=h.clone();r.cmpn(1)>0&&h.cmpn(1)>0;){for(var k=0,v=1;0==(r.words[0]&v)&&k<26;++k,v<<=1);if(k>0)for(r.iushrn(k);k-- >0;)c.isOdd()&&c.iadd(S),c.iushrn(1);for(var n=0,b=1;0==(h.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(h.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(S),y.iushrn(1);r.cmp(h)>=0?(r.isub(h),c.isub(y)):(h.isub(r),y.isub(c))}return(B=0===r.cmpn(1)?c:y).cmpn(0)<0&&B.iadd(i),B},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),h=i.clone();r.negative=0,h.negative=0;for(var c=0;r.isEven()&&h.isEven();c++)r.iushrn(1),h.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;h.isEven();)h.iushrn(1);var y=r.cmp(h);if(y<0){var S=r;r=h,h=S}else if(0===y||0===h.cmpn(1))break;r.isub(h)}return h.iushln(c)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){g("number"==typeof i);var r=i%26,h=(i-r)/26,c=1<<r;if(this.length<=h)return this._expand(h+1),this.words[h]|=c,this;for(var y=c,S=h;0!==y&&S<this.length;S++){var k=0|this.words[S];y=(k+=y)>>>26,this.words[S]=k&=67108863}return 0!==y&&(this.words[S]=y,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var h,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)h=1;else{r&&(i=-i),g(i<=67108863,"Number is too big");var c=0|this.words[0];h=c===i?0:c<i?-1:1}return 0!==this.negative?0|-h:h},o.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var r=this.ucmp(i);return 0!==this.negative?0|-r:r},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var r=0,h=this.length-1;h>=0;h--){var c=0|this.words[h],y=0|i.words[h];if(c!==y){c<y?r=-1:c>y&&(r=1);break}}return r},o.prototype.gtn=function(i){return 1===this.cmpn(i)},o.prototype.gt=function(i){return 1===this.cmp(i)},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return-1===this.cmpn(i)},o.prototype.lt=function(i){return-1===this.cmp(i)},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return 0===this.cmpn(i)},o.prototype.eq=function(i){return 0===this.cmp(i)},o.red=function(i){return new se(i)},o.prototype.toRed=function(i){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var X={k256:null,p224:null,p192:null,p25519:null};function ee(E,i){this.name=E,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ue(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function le(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(E){if("string"==typeof E){var i=o._prime(E);this.m=i.p,this.prime=i}else g(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}function he(E){se.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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 i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},ee.prototype.ireduce=function(i){var h,r=i;do{this.split(r,this.tmp),h=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(h>this.n);var c=h<this.n?-1:r.ucmp(this.p);return 0===c?(r.words[0]=0,r.length=1):c>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},ee.prototype.split=function(i,r){i.iushrn(this.n,0,r)},ee.prototype.imulK=function(i){return i.imul(this.k)},A(ue,ee),ue.prototype.split=function(i,r){for(var h=4194303,c=Math.min(i.length,9),y=0;y<c;y++)r.words[y]=i.words[y];if(r.length=c,i.length<=9)return i.words[0]=0,void(i.length=1);var S=i.words[9];for(r.words[r.length++]=S&h,y=10;y<i.length;y++){var k=0|i.words[y];i.words[y-10]=(k&h)<<4|S>>>22,S=k}i.words[y-10]=S>>>=22,i.length-=0===S&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,h=0;h<i.length;h++){var c=0|i.words[h];i.words[h]=67108863&(r+=977*c),r=64*c+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},A(le,ee),A(ie,ee),A(ce,ee),ce.prototype.imulK=function(i){for(var r=0,h=0;h<i.length;h++){var c=19*(0|i.words[h])+r,y=67108863&c;c>>>=26,i.words[h]=y,r=c}return 0!==r&&(i.words[i.length++]=r),i},o._prime=function(i){if(X[i])return X[i];var r;if("k256"===i)r=new ue;else if("p224"===i)r=new le;else if("p192"===i)r=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},se.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},se.prototype._verify2=function(i,r){g(0==(i.negative|r.negative),"red works only with positives"),g(i.red&&i.red===r.red,"red works only with red numbers")},se.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},se.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},se.prototype.add=function(i,r){this._verify2(i,r);var h=i.add(r);return h.cmp(this.m)>=0&&h.isub(this.m),h._forceRed(this)},se.prototype.iadd=function(i,r){this._verify2(i,r);var h=i.iadd(r);return h.cmp(this.m)>=0&&h.isub(this.m),h},se.prototype.sub=function(i,r){this._verify2(i,r);var h=i.sub(r);return h.cmpn(0)<0&&h.iadd(this.m),h._forceRed(this)},se.prototype.isub=function(i,r){this._verify2(i,r);var h=i.isub(r);return h.cmpn(0)<0&&h.iadd(this.m),h},se.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},se.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},se.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},se.prototype.isqr=function(i){return this.imul(i,i.clone())},se.prototype.sqr=function(i){return this.mul(i,i)},se.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(g(r%2==1),3===r){var h=this.m.add(new o(1)).iushrn(2);return this.pow(i,h)}for(var c=this.m.subn(1),y=0;!c.isZero()&&0===c.andln(1);)y++,c.iushrn(1);g(!c.isZero());var S=new o(1).toRed(this),k=S.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,v).cmp(k);)n.redIAdd(k);for(var b=this.pow(n,c),B=this.pow(i,c.addn(1).iushrn(1)),z=this.pow(i,c),W=y;0!==z.cmp(S);){for(var Oe=z,it=0;0!==Oe.cmp(S);it++)Oe=Oe.redSqr();g(it<W);var Ne=this.pow(b,new o(1).iushln(W-it-1));B=B.redMul(Ne),b=Ne.redSqr(),z=z.redMul(b),W=it}return B},se.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},se.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var c=new Array(16);c[0]=new o(1).toRed(this),c[1]=i;for(var y=2;y<c.length;y++)c[y]=this.mul(c[y-1],i);var S=c[0],k=0,v=0,n=r.bitLength()%26;for(0===n&&(n=26),y=r.length-1;y>=0;y--){for(var b=r.words[y],B=n-1;B>=0;B--){var z=b>>B&1;S!==c[0]&&(S=this.sqr(S)),0!==z||0!==k?(k<<=1,k|=z,(4==++v||0===y&&0===B)&&(S=this.mul(S,c[k]),v=0,k=0)):v=0}n=26}return S},se.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},se.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new he(i)},A(he,se),he.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},he.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},he.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var h=i.imul(r),c=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(c).iushrn(this.shift),S=y;return y.cmp(this.m)>=0?S=y.isub(this.m):y.cmpn(0)<0&&(S=y.iadd(this.m)),S._forceRed(this)},he.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var h=i.mul(r),c=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(c).iushrn(this.shift),S=y;return y.cmp(this.m)>=0?S=y.isub(this.m):y.cmpn(0)<0&&(S=y.iadd(this.m)),S._forceRed(this)},he.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ge=m.nmd(Ge),this)},6386:(Ge,Q,m)=>{"use strict";var t=m(3894),e=m(8095),g=m(5634),A=m(5244),o=m(1052);function C(u){o.call(this,"digest"),this._hash=u}t(C,o),C.prototype._update=function(u){this._hash.update(u)},C.prototype._final=function(){return this._hash.digest()},Ge.exports=function(O){return"md5"===(O=O.toLowerCase())?new e:"rmd160"===O||"ripemd160"===O?new g:new C(A(O))}},5640:(Ge,Q,m)=>{var t=m(8095);Ge.exports=function(e){return(new t).update(e).digest()}},4529:(Ge,Q,m)=>{"use strict";var t=m(3894),e=m(7309),g=m(1052),A=m(3502).Buffer,o=m(5640),C=m(5634),u=m(5244),O=A.alloc(128);function d(M,w){g.call(this,"digest"),"string"==typeof w&&(w=A.from(w));var L="sha512"===M||"sha384"===M?128:64;this._alg=M,this._key=w,w.length>L?w=("rmd160"===M?new C:u(M)).update(w).digest():w.length<L&&(w=A.concat([w,O],L));for(var P=this._ipad=A.allocUnsafe(L),U=this._opad=A.allocUnsafe(L),Z=0;Z<L;Z++)P[Z]=54^w[Z],U[Z]=92^w[Z];this._hash="rmd160"===M?new C:u(M),this._hash.update(P)}t(d,g),d.prototype._update=function(M){this._hash.update(M)},d.prototype._final=function(){var M=this._hash.digest();return("rmd160"===this._alg?new C:u(this._alg)).update(this._opad).update(M).digest()},Ge.exports=function(w,L){return"rmd160"===(w=w.toLowerCase())||"ripemd160"===w?new d("rmd160",L):"md5"===w?new e(o,L):new d(w,L)}},7309:(Ge,Q,m)=>{"use strict";var t=m(3894),e=m(3502).Buffer,g=m(1052),A=e.alloc(128),o=64;function C(u,O){g.call(this,"digest"),"string"==typeof O&&(O=e.from(O)),this._alg=u,this._key=O,O.length>o?O=u(O):O.length<o&&(O=e.concat([O,A],o));for(var d=this._ipad=e.allocUnsafe(o),M=this._opad=e.allocUnsafe(o),w=0;w<o;w++)d[w]=54^O[w],M[w]=92^O[w];this._hash=[d]}t(C,g),C.prototype._update=function(u){this._hash.push(u)},C.prototype._final=function(){var u=this._alg(e.concat(this._hash));return this._alg(e.concat([this._opad,u]))},Ge.exports=C},1348:(Ge,Q,m)=>{"use strict";Q.randomBytes=Q.rng=Q.pseudoRandomBytes=Q.prng=m(3753),Q.createHash=Q.Hash=m(6386),Q.createHmac=Q.Hmac=m(4529);var t=m(7793),e=Object.keys(t),g=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(e);Q.getHashes=function(){return g};var A=m(9357);Q.pbkdf2=A.pbkdf2,Q.pbkdf2Sync=A.pbkdf2Sync;var o=m(5255);Q.Cipher=o.Cipher,Q.createCipher=o.createCipher,Q.Cipheriv=o.Cipheriv,Q.createCipheriv=o.createCipheriv,Q.Decipher=o.Decipher,Q.createDecipher=o.createDecipher,Q.Decipheriv=o.Decipheriv,Q.createDecipheriv=o.createDecipheriv,Q.getCiphers=o.getCiphers,Q.listCiphers=o.listCiphers;var C=m(8829);Q.DiffieHellmanGroup=C.DiffieHellmanGroup,Q.createDiffieHellmanGroup=C.createDiffieHellmanGroup,Q.getDiffieHellman=C.getDiffieHellman,Q.createDiffieHellman=C.createDiffieHellman,Q.DiffieHellman=C.DiffieHellman;var u=m(3923);Q.createSign=u.createSign,Q.Sign=u.Sign,Q.createVerify=u.createVerify,Q.Verify=u.Verify,Q.createECDH=m(4746);var O=m(3701);Q.publicEncrypt=O.publicEncrypt,Q.privateEncrypt=O.privateEncrypt,Q.publicDecrypt=O.publicDecrypt,Q.privateDecrypt=O.privateDecrypt;var d=m(4275);Q.randomFill=d.randomFill,Q.randomFillSync=d.randomFillSync,Q.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join("\n"))},Q.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}},3684:(Ge,Q,m)=>{"use strict";Q.utils=m(7451),Q.Cipher=m(8170),Q.DES=m(4631),Q.CBC=m(9454),Q.EDE=m(1862)},9454:(Ge,Q,m)=>{"use strict";var t=m(2391),e=m(3894),g={};function A(C){t.equal(C.length,8,"Invalid IV length"),this.iv=new Array(8);for(var u=0;u<this.iv.length;u++)this.iv[u]=C[u]}Q.instantiate=function o(C){function u(w){C.call(this,w),this._cbcInit()}e(u,C);for(var O=Object.keys(g),d=0;d<O.length;d++){var M=O[d];u.prototype[M]=g[M]}return u.create=function(L){return new u(L)},u},g._cbcInit=function(){var u=new A(this.options.iv);this._cbcState=u},g._update=function(u,O,d,M){var L=this.constructor.super_.prototype,I=this._cbcState.iv;if("encrypt"===this.type){for(var P=0;P<this.blockSize;P++)I[P]^=u[O+P];for(L._update.call(this,I,0,d,M),P=0;P<this.blockSize;P++)I[P]=d[M+P]}else{for(L._update.call(this,u,O,d,M),P=0;P<this.blockSize;P++)d[M+P]^=I[P];for(P=0;P<this.blockSize;P++)I[P]=u[O+P]}}},8170:(Ge,Q,m)=>{"use strict";var t=m(2391);function e(g){this.options=g,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}Ge.exports=e,e.prototype._init=function(){},e.prototype.update=function(A){return 0===A.length?[]:"decrypt"===this.type?this._updateDecrypt(A):this._updateEncrypt(A)},e.prototype._buffer=function(A,o){for(var C=Math.min(this.buffer.length-this.bufferOff,A.length-o),u=0;u<C;u++)this.buffer[this.bufferOff+u]=A[o+u];return this.bufferOff+=C,C},e.prototype._flushBuffer=function(A,o){return this._update(this.buffer,0,A,o),this.bufferOff=0,this.blockSize},e.prototype._updateEncrypt=function(A){var o=0,C=0,O=new Array(((this.bufferOff+A.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(o+=this._buffer(A,o),this.bufferOff===this.buffer.length&&(C+=this._flushBuffer(O,C)));for(var d=A.length-(A.length-o)%this.blockSize;o<d;o+=this.blockSize)this._update(A,o,O,C),C+=this.blockSize;for(;o<A.length;o++,this.bufferOff++)this.buffer[this.bufferOff]=A[o];return O},e.prototype._updateDecrypt=function(A){for(var o=0,C=0,u=Math.ceil((this.bufferOff+A.length)/this.blockSize)-1,O=new Array(u*this.blockSize);u>0;u--)o+=this._buffer(A,o),C+=this._flushBuffer(O,C);return o+=this._buffer(A,o),O},e.prototype.final=function(A){var o,C;return A&&(o=this.update(A)),C="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),o?o.concat(C):C},e.prototype._pad=function(A,o){if(0===o)return!1;for(;o<A.length;)A[o++]=0;return!0},e.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var A=new Array(this.blockSize);return this._update(this.buffer,0,A,0),A},e.prototype._unpad=function(A){return A},e.prototype._finalDecrypt=function(){t.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var A=new Array(this.blockSize);return this._flushBuffer(A,0),this._unpad(A)}},4631:(Ge,Q,m)=>{"use strict";var t=m(2391),e=m(3894),g=m(7451),A=m(8170);function o(){this.tmp=new Array(2),this.keys=null}function C(O){A.call(this,O);var d=new o;this._desState=d,this.deriveKeys(d,O.key)}e(C,A),Ge.exports=C,C.create=function(d){return new C(d)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];C.prototype.deriveKeys=function(d,M){d.keys=new Array(32),t.equal(M.length,this.blockSize,"Invalid key length");var w=g.readUInt32BE(M,0),L=g.readUInt32BE(M,4);g.pc1(w,L,d.tmp,0),w=d.tmp[0],L=d.tmp[1];for(var I=0;I<d.keys.length;I+=2){var P=u[I>>>1];w=g.r28shl(w,P),L=g.r28shl(L,P),g.pc2(w,L,d.keys,I)}},C.prototype._update=function(d,M,w,L){var I=this._desState,P=g.readUInt32BE(d,M),U=g.readUInt32BE(d,M+4);g.ip(P,U,I.tmp,0),P=I.tmp[0],U=I.tmp[1],"encrypt"===this.type?this._encrypt(I,P,U,I.tmp,0):this._decrypt(I,P,U,I.tmp,0),U=I.tmp[1],g.writeUInt32BE(w,P=I.tmp[0],L),g.writeUInt32BE(w,U,L+4)},C.prototype._pad=function(d,M){for(var w=d.length-M,L=M;L<d.length;L++)d[L]=w;return!0},C.prototype._unpad=function(d){for(var M=d[d.length-1],w=d.length-M;w<d.length;w++)t.equal(d[w],M);return d.slice(0,d.length-M)},C.prototype._encrypt=function(d,M,w,L,I){for(var P=M,U=w,Z=0;Z<d.keys.length;Z+=2){var Y=d.keys[Z],j=d.keys[Z+1];g.expand(U,d.tmp,0);var X=g.substitute(Y^=d.tmp[0],j^=d.tmp[1]),ue=U;U=(P^g.permute(X))>>>0,P=ue}g.rip(U,P,L,I)},C.prototype._decrypt=function(d,M,w,L,I){for(var P=w,U=M,Z=d.keys.length-2;Z>=0;Z-=2){var Y=d.keys[Z],j=d.keys[Z+1];g.expand(P,d.tmp,0);var X=g.substitute(Y^=d.tmp[0],j^=d.tmp[1]),ue=P;P=(U^g.permute(X))>>>0,U=ue}g.rip(P,U,L,I)}},1862:(Ge,Q,m)=>{"use strict";var t=m(2391),e=m(3894),g=m(8170),A=m(4631);function o(u,O){t.equal(O.length,24,"Invalid key length");var d=O.slice(0,8),M=O.slice(8,16),w=O.slice(16,24);this.ciphers="encrypt"===u?[A.create({type:"encrypt",key:d}),A.create({type:"decrypt",key:M}),A.create({type:"encrypt",key:w})]:[A.create({type:"decrypt",key:w}),A.create({type:"encrypt",key:M}),A.create({type:"decrypt",key:d})]}function C(u){g.call(this,u);var O=new o(this.type,this.options.key);this._edeState=O}e(C,g),Ge.exports=C,C.create=function(O){return new C(O)},C.prototype._update=function(O,d,M,w){var L=this._edeState;L.ciphers[0]._update(O,d,M,w),L.ciphers[1]._update(M,w,M,w),L.ciphers[2]._update(M,w,M,w)},C.prototype._pad=A.prototype._pad,C.prototype._unpad=A.prototype._unpad},7451:(Ge,Q)=>{"use strict";Q.readUInt32BE=function(A,o){return(A[0+o]<<24|A[1+o]<<16|A[2+o]<<8|A[3+o])>>>0},Q.writeUInt32BE=function(A,o,C){A[0+C]=o>>>24,A[1+C]=o>>>16&255,A[2+C]=o>>>8&255,A[3+C]=255&o},Q.ip=function(A,o,C,u){for(var O=0,d=0,M=6;M>=0;M-=2){for(var w=0;w<=24;w+=8)O<<=1,O|=o>>>w+M&1;for(w=0;w<=24;w+=8)O<<=1,O|=A>>>w+M&1}for(M=6;M>=0;M-=2){for(w=1;w<=25;w+=8)d<<=1,d|=o>>>w+M&1;for(w=1;w<=25;w+=8)d<<=1,d|=A>>>w+M&1}C[u+0]=O>>>0,C[u+1]=d>>>0},Q.rip=function(A,o,C,u){for(var O=0,d=0,M=0;M<4;M++)for(var w=24;w>=0;w-=8)O<<=1,O|=o>>>w+M&1,O<<=1,O|=A>>>w+M&1;for(M=4;M<8;M++)for(w=24;w>=0;w-=8)d<<=1,d|=o>>>w+M&1,d<<=1,d|=A>>>w+M&1;C[u+0]=O>>>0,C[u+1]=d>>>0},Q.pc1=function(A,o,C,u){for(var O=0,d=0,M=7;M>=5;M--){for(var w=0;w<=24;w+=8)O<<=1,O|=o>>w+M&1;for(w=0;w<=24;w+=8)O<<=1,O|=A>>w+M&1}for(w=0;w<=24;w+=8)O<<=1,O|=o>>w+M&1;for(M=1;M<=3;M++){for(w=0;w<=24;w+=8)d<<=1,d|=o>>w+M&1;for(w=0;w<=24;w+=8)d<<=1,d|=A>>w+M&1}for(w=0;w<=24;w+=8)d<<=1,d|=A>>w+M&1;C[u+0]=O>>>0,C[u+1]=d>>>0},Q.r28shl=function(A,o){return A<<o&268435455|A>>>28-o};var m=[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];Q.pc2=function(A,o,C,u){for(var O=0,d=0,M=m.length>>>1,w=0;w<M;w++)O<<=1,O|=A>>>m[w]&1;for(w=M;w<m.length;w++)d<<=1,d|=o>>>m[w]&1;C[u+0]=O>>>0,C[u+1]=d>>>0},Q.expand=function(A,o,C){var u=0,O=0;u=(1&A)<<5|A>>>27;for(var d=23;d>=15;d-=4)u<<=6,u|=A>>>d&63;for(d=11;d>=3;d-=4)O|=A>>>d&63,O<<=6;O|=(31&A)<<1|A>>>31,o[C+0]=u>>>0,o[C+1]=O>>>0};var t=[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];Q.substitute=function(A,o){for(var C=0,u=0;u<4;u++)C<<=4,C|=t[64*u+(A>>>18-6*u&63)];for(u=0;u<4;u++)C<<=4,C|=t[256+64*u+(o>>>18-6*u&63)];return C>>>0};var e=[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];Q.permute=function(A){for(var o=0,C=0;C<e.length;C++)o<<=1,o|=A>>>e[C]&1;return o>>>0},Q.padSplit=function(A,o,C){for(var u=A.toString(2);u.length<o;)u="0"+u;for(var O=[],d=0;d<o;d+=C)O.push(u.slice(d,d+C));return O.join(" ")}},8829:(Ge,Q,m)=>{var t=m(5563),e=m(9799),g=m(1419),o={binary:!0,hex:!0,base64:!0};Q.DiffieHellmanGroup=Q.createDiffieHellmanGroup=Q.getDiffieHellman=function A(u){var O=new Buffer(e[u].prime,"hex"),d=new Buffer(e[u].gen,"hex");return new g(O,d)},Q.createDiffieHellman=Q.DiffieHellman=function C(u,O,d,M){return Buffer.isBuffer(O)||void 0===o[O]?C(u,"binary",O,d):(O=O||"binary",M=M||"binary",d=d||new Buffer([2]),Buffer.isBuffer(d)||(d=new Buffer(d,M)),"number"==typeof u?new g(t(u,d),d,!0):(Buffer.isBuffer(u)||(u=new Buffer(u,O)),new g(u,d,!0)))}},1419:(Ge,Q,m)=>{var t=m(8313),g=new(m(7079)),A=new t(24),o=new t(11),C=new t(10),u=new t(3),O=new t(7),d=m(5563),M=m(3753);function w(Y,j){return j=j||"utf8",Buffer.isBuffer(Y)||(Y=new Buffer(Y,j)),this._pub=new t(Y),this}function L(Y,j){return j=j||"utf8",Buffer.isBuffer(Y)||(Y=new Buffer(Y,j)),this._priv=new t(Y),this}Ge.exports=U;var I={};function U(Y,j,X){this.setGenerator(j),this.__prime=new t(Y),this._prime=t.mont(this.__prime),this._primeLen=Y.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,X?(this.setPublicKey=w,this.setPrivateKey=L):this._primeCode=8}function Z(Y,j){var X=new Buffer(Y.toArray());return j?X.toString(j):X}Object.defineProperty(U.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function P(Y,j){var X=j.toString("hex"),ee=[X,Y.toString(16)].join("_");if(ee in I)return I[ee];var le,ue=0;if(Y.isEven()||!d.simpleSieve||!d.fermatTest(Y)||!g.test(Y))return ue+=1,I[ee]=ue+="02"===X||"05"===X?8:4,ue;switch(g.test(Y.shrn(1))||(ue+=2),X){case"02":Y.mod(A).cmp(o)&&(ue+=8);break;case"05":(le=Y.mod(C)).cmp(u)&&le.cmp(O)&&(ue+=8);break;default:ue+=4}return I[ee]=ue,ue}(this.__prime,this.__gen)),this._primeCode}}),U.prototype.generateKeys=function(){return this._priv||(this._priv=new t(M(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},U.prototype.computeSecret=function(Y){var j=(Y=(Y=new t(Y)).toRed(this._prime)).redPow(this._priv).fromRed(),X=new Buffer(j.toArray()),ee=this.getPrime();if(X.length<ee.length){var ue=new Buffer(ee.length-X.length);ue.fill(0),X=Buffer.concat([ue,X])}return X},U.prototype.getPublicKey=function(j){return Z(this._pub,j)},U.prototype.getPrivateKey=function(j){return Z(this._priv,j)},U.prototype.getPrime=function(Y){return Z(this.__prime,Y)},U.prototype.getGenerator=function(Y){return Z(this._gen,Y)},U.prototype.setGenerator=function(Y,j){return j=j||"utf8",Buffer.isBuffer(Y)||(Y=new Buffer(Y,j)),this.__gen=Y,this._gen=new t(Y),this}},5563:(Ge,Q,m)=>{var t=m(3753);Ge.exports=ue,ue.simpleSieve=X,ue.fermatTest=ee;var e=m(8313),g=new e(24),o=new(m(7079)),C=new e(1),u=new e(2),O=new e(5),w=(new e(16),new e(8),new e(10)),L=new e(3),P=(new e(7),new e(11)),U=new e(4),Y=(new e(12),null);function X(le){for(var ie=function j(){if(null!==Y)return Y;var ie=[];ie[0]=2;for(var ce=1,se=3;se<1048576;se+=2){for(var he=Math.ceil(Math.sqrt(se)),E=0;E<ce&&ie[E]<=he&&se%ie[E]!=0;E++);ce!==E&&ie[E]<=he||(ie[ce++]=se)}return Y=ie,ie}(),ce=0;ce<ie.length;ce++)if(0===le.modn(ie[ce]))return 0===le.cmpn(ie[ce]);return!0}function ee(le){var ie=e.mont(le);return 0===u.toRed(ie).redPow(le.subn(1)).fromRed().cmpn(1)}function ue(le,ie){if(le<16)return new e(2===ie||5===ie?[140,123]:[140,39]);ie=new e(ie);for(var ce,se;;){for(ce=new e(t(Math.ceil(le/8)));ce.bitLength()>le;)ce.ishrn(1);if(ce.isEven()&&ce.iadd(C),ce.testn(1)||ce.iadd(u),ie.cmp(u)){if(!ie.cmp(O))for(;ce.mod(w).cmp(L);)ce.iadd(U)}else for(;ce.mod(g).cmp(P);)ce.iadd(U);if(X(se=ce.shrn(1))&&X(ce)&&ee(se)&&ee(ce)&&o.test(se)&&o.test(ce))return ce}}},8313:function(Ge,Q,m){!function(t,e){"use strict";function g(E,i){if(!E)throw new Error(i||"Assertion failed")}function A(E,i){E.super_=i;var r=function(){};r.prototype=i.prototype,E.prototype=new r,E.prototype.constructor=E}function o(E,i,r){if(o.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,null!==E&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(E||0,i||10,r||"be"))}var C;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(7748).Buffer}catch{}function u(E,i){var r=E.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function O(E,i,r){var h=u(E,r);return r-1>=i&&(h|=u(E,r-1)<<4),h}function d(E,i,r,h){for(var c=0,y=Math.min(E.length,r),S=i;S<y;S++){var k=E.charCodeAt(S)-48;c*=h,c+=k>=49?k-49+10:k>=17?k-17+10:k}return c}o.isBN=function(i){return i instanceof o||null!==i&&"object"==typeof i&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,r){return i.cmp(r)>0?i:r},o.min=function(i,r){return i.cmp(r)<0?i:r},o.prototype._init=function(i,r,h){if("number"==typeof i)return this._initNumber(i,r,h);if("object"==typeof i)return this._initArray(i,r,h);"hex"===r&&(r=16),g(r===(0|r)&&r>=2&&r<=36);var c=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(c++,this.negative=1),c<i.length&&(16===r?this._parseHex(i,c,h):(this._parseBase(i,r,c),"le"===h&&this._initArray(this.toArray(),r,h)))},o.prototype._initNumber=function(i,r,h){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[67108863&i],this.length=1):i<4503599627370496?(this.words=[67108863&i,i/67108864&67108863],this.length=2):(g(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===h&&this._initArray(this.toArray(),r,h)},o.prototype._initArray=function(i,r,h){if(g("number"==typeof i.length),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var y,S,k=0;if("be"===h)for(c=i.length-1,y=0;c>=0;c-=3)this.words[y]|=(S=i[c]|i[c-1]<<8|i[c-2]<<16)<<k&67108863,this.words[y+1]=S>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);else if("le"===h)for(c=0,y=0;c<i.length;c+=3)this.words[y]|=(S=i[c]|i[c+1]<<8|i[c+2]<<16)<<k&67108863,this.words[y+1]=S>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);return this.strip()},o.prototype._parseHex=function(i,r,h){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var k,y=0,S=0;if("be"===h)for(c=i.length-1;c>=r;c-=2)k=O(i,r,c)<<y,this.words[S]|=67108863&k,y>=18?(y-=18,this.words[S+=1]|=k>>>26):y+=8;else for(c=(i.length-r)%2==0?r+1:r;c<i.length;c+=2)k=O(i,r,c)<<y,this.words[S]|=67108863&k,y>=18?(y-=18,this.words[S+=1]|=k>>>26):y+=8;this.strip()},o.prototype._parseBase=function(i,r,h){this.words=[0],this.length=1;for(var c=0,y=1;y<=67108863;y*=r)c++;c--,y=y/r|0;for(var S=i.length-h,k=S%c,v=Math.min(S,S-k)+h,n=0,b=h;b<v;b+=c)n=d(i,b,b+c,r),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==k){var B=1;for(n=d(i,b,i.length,r),b=0;b<k;b++)B*=r;this.imuln(B),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var r=0;r<this.length;r++)i.words[r]=this.words[r];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var M=["","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"],w=[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],L=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function P(E,i,r){r.negative=i.negative^E.negative;var h=E.length+i.length|0;r.length=h,h=h-1|0;var c=0|E.words[0],y=0|i.words[0],S=c*y,v=S/67108864|0;r.words[0]=67108863&S;for(var n=1;n<h;n++){for(var b=v>>>26,B=67108863&v,z=Math.min(n,i.length-1),W=Math.max(0,n-E.length+1);W<=z;W++)b+=(S=(c=0|E.words[n-W|0])*(y=0|i.words[W])+B)/67108864|0,B=67108863&S;r.words[n]=0|B,v=0|b}return 0!==v?r.words[n]=0|v:r.length--,r.strip()}o.prototype.toString=function(i,r){var h;if(r=0|r||1,16===(i=i||10)||"hex"===i){h="";for(var c=0,y=0,S=0;S<this.length;S++){var k=this.words[S],v=(16777215&(k<<c|y)).toString(16);h=0!=(y=k>>>24-c&16777215)||S!==this.length-1?M[6-v.length]+v+h:v+h,(c+=2)>=26&&(c-=26,S--)}for(0!==y&&(h=y.toString(16)+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=L[i];h="";var B=this.clone();for(B.negative=0;!B.isZero();){var z=B.modn(b).toString(i);h=(B=B.idivn(b)).isZero()?z+h:M[n-z.length]+z+h}for(this.isZero()&&(h="0"+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}g(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return 2===this.length?i+=67108864*this.words[1]:3===this.length&&1===this.words[2]?i+=4503599627370496+67108864*this.words[1]:this.length>2&&g(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,r){return g(typeof C<"u"),this.toArrayLike(C,i,r)},o.prototype.toArray=function(i,r){return this.toArrayLike(Array,i,r)},o.prototype.toArrayLike=function(i,r,h){var c=this.byteLength(),y=h||Math.max(1,c);g(c<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var v,n,S="le"===r,k=new i(y),b=this.clone();if(S){for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),k[n]=v;for(;n<y;n++)k[n]=0}else{for(n=0;n<y-c;n++)k[n]=0;for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),k[y-n-1]=v}return k},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,h=0;return r>=4096&&(h+=13,r>>>=13),r>=64&&(h+=7,r>>>=7),r>=8&&(h+=4,r>>>=4),r>=2&&(h+=2,r>>>=2),h+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,h=0;return 0==(8191&r)&&(h+=13,r>>>=13),0==(127&r)&&(h+=7,r>>>=7),0==(15&r)&&(h+=4,r>>>=4),0==(3&r)&&(h+=2,r>>>=2),0==(1&r)&&h++,h},o.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,r=0;r<this.length;r++){var h=this._zeroBits(this.words[r]);if(i+=h,26!==h)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var r=0;r<i.length;r++)this.words[r]=this.words[r]|i.words[r];return this.strip()},o.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var r;r=this.length>i.length?i:this;for(var h=0;h<r.length;h++)this.words[h]=this.words[h]&i.words[h];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var r,h;this.length>i.length?(r=this,h=i):(r=i,h=this);for(var c=0;c<h.length;c++)this.words[c]=r.words[c]^h.words[c];if(this!==r)for(;c<r.length;c++)this.words[c]=r.words[c];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),h=i%26;this._expand(r),h>0&&r--;for(var c=0;c<r;c++)this.words[c]=67108863&~this.words[c];return h>0&&(this.words[c]=~this.words[c]&67108863>>26-h),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){g("number"==typeof i&&i>=0);var h=i/26|0,c=i%26;return this._expand(h+1),this.words[h]=r?this.words[h]|1<<c:this.words[h]&~(1<<c),this.strip()},o.prototype.iadd=function(i){var r,h,c;if(0!==this.negative&&0===i.negative)return this.negative=0,r=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,r=this.isub(i),i.negative=1,r._normSign();this.length>i.length?(h=this,c=i):(h=i,c=this);for(var y=0,S=0;S<c.length;S++)this.words[S]=67108863&(r=(0|h.words[S])+(0|c.words[S])+y),y=r>>>26;for(;0!==y&&S<h.length;S++)this.words[S]=67108863&(r=(0|h.words[S])+y),y=r>>>26;if(this.length=h.length,0!==y)this.words[this.length]=y,this.length++;else if(h!==this)for(;S<h.length;S++)this.words[S]=h.words[S];return this},o.prototype.add=function(i){var r;return 0!==i.negative&&0===this.negative?(i.negative=0,r=this.sub(i),i.negative^=1,r):0===i.negative&&0!==this.negative?(this.negative=0,r=i.sub(this),this.negative=1,r):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var r=this.iadd(i);return i.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var c,y,h=this.cmp(i);if(0===h)return this.negative=0,this.length=1,this.words[0]=0,this;h>0?(c=this,y=i):(c=i,y=this);for(var S=0,k=0;k<y.length;k++)S=(r=(0|c.words[k])-(0|y.words[k])+S)>>26,this.words[k]=67108863&r;for(;0!==S&&k<c.length;k++)S=(r=(0|c.words[k])+S)>>26,this.words[k]=67108863&r;if(0===S&&k<c.length&&c!==this)for(;k<c.length;k++)this.words[k]=c.words[k];return this.length=Math.max(this.length,k),c!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var U=function(i,r,h){var v,n,b,c=i.words,y=r.words,S=h.words,k=0,B=0|c[0],z=8191&B,W=B>>>13,Oe=0|c[1],it=8191&Oe,Ne=Oe>>>13,ot=0|c[2],Ie=8191&ot,ve=ot>>>13,fe=0|c[3],Se=8191&fe,te=fe>>>13,Ke=0|c[4],Ae=8191&Ke,oe=Ke>>>13,ye=0|c[5],me=8191&ye,Me=ye>>>13,Ze=0|c[6],q=8191&Ze,de=Ze>>>13,xe=0|c[7],ke=8191&xe,ft=xe>>>13,_t=0|c[8],ct=8191&_t,nt=_t>>>13,Jt=0|c[9],vt=8191&Jt,ne=Jt>>>13,Ht=0|y[0],De=8191&Ht,ze=Ht>>>13,wt=0|y[1],Re=8191&wt,tt=wt>>>13,Bt=0|y[2],It=8191&Bt,zt=Bt>>>13,xt=0|y[3],we=8191&xt,J=xt>>>13,be=0|y[4],Fe=8191&be,at=be>>>13,ii=0|y[5],Gt=8191&ii,ei=ii>>>13,ht=0|y[6],rt=8191&ht,yt=ht>>>13,ri=0|y[7],Ut=8191&ri,Vt=ri>>>13,Ft=0|y[8],Qe=8191&Ft,Ve=Ft>>>13,je=0|y[9],Xe=8191&je,Et=je>>>13;h.negative=i.negative^r.negative,h.length=19;var mi=(k+(v=Math.imul(z,De))|0)+((8191&(n=(n=Math.imul(z,ze))+Math.imul(W,De)|0))<<13)|0;k=((b=Math.imul(W,ze))+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,v=Math.imul(it,De),n=(n=Math.imul(it,ze))+Math.imul(Ne,De)|0,b=Math.imul(Ne,ze);var Li=(k+(v=v+Math.imul(z,Re)|0)|0)+((8191&(n=(n=n+Math.imul(z,tt)|0)+Math.imul(W,Re)|0))<<13)|0;k=((b=b+Math.imul(W,tt)|0)+(n>>>13)|0)+(Li>>>26)|0,Li&=67108863,v=Math.imul(Ie,De),n=(n=Math.imul(Ie,ze))+Math.imul(ve,De)|0,b=Math.imul(ve,ze),v=v+Math.imul(it,Re)|0,n=(n=n+Math.imul(it,tt)|0)+Math.imul(Ne,Re)|0,b=b+Math.imul(Ne,tt)|0;var wi=(k+(v=v+Math.imul(z,It)|0)|0)+((8191&(n=(n=n+Math.imul(z,zt)|0)+Math.imul(W,It)|0))<<13)|0;k=((b=b+Math.imul(W,zt)|0)+(n>>>13)|0)+(wi>>>26)|0,wi&=67108863,v=Math.imul(Se,De),n=(n=Math.imul(Se,ze))+Math.imul(te,De)|0,b=Math.imul(te,ze),v=v+Math.imul(Ie,Re)|0,n=(n=n+Math.imul(Ie,tt)|0)+Math.imul(ve,Re)|0,b=b+Math.imul(ve,tt)|0,v=v+Math.imul(it,It)|0,n=(n=n+Math.imul(it,zt)|0)+Math.imul(Ne,It)|0,b=b+Math.imul(Ne,zt)|0;var Vi=(k+(v=v+Math.imul(z,we)|0)|0)+((8191&(n=(n=n+Math.imul(z,J)|0)+Math.imul(W,we)|0))<<13)|0;k=((b=b+Math.imul(W,J)|0)+(n>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,v=Math.imul(Ae,De),n=(n=Math.imul(Ae,ze))+Math.imul(oe,De)|0,b=Math.imul(oe,ze),v=v+Math.imul(Se,Re)|0,n=(n=n+Math.imul(Se,tt)|0)+Math.imul(te,Re)|0,b=b+Math.imul(te,tt)|0,v=v+Math.imul(Ie,It)|0,n=(n=n+Math.imul(Ie,zt)|0)+Math.imul(ve,It)|0,b=b+Math.imul(ve,zt)|0,v=v+Math.imul(it,we)|0,n=(n=n+Math.imul(it,J)|0)+Math.imul(Ne,we)|0,b=b+Math.imul(Ne,J)|0;var qe=(k+(v=v+Math.imul(z,Fe)|0)|0)+((8191&(n=(n=n+Math.imul(z,at)|0)+Math.imul(W,Fe)|0))<<13)|0;k=((b=b+Math.imul(W,at)|0)+(n>>>13)|0)+(qe>>>26)|0,qe&=67108863,v=Math.imul(me,De),n=(n=Math.imul(me,ze))+Math.imul(Me,De)|0,b=Math.imul(Me,ze),v=v+Math.imul(Ae,Re)|0,n=(n=n+Math.imul(Ae,tt)|0)+Math.imul(oe,Re)|0,b=b+Math.imul(oe,tt)|0,v=v+Math.imul(Se,It)|0,n=(n=n+Math.imul(Se,zt)|0)+Math.imul(te,It)|0,b=b+Math.imul(te,zt)|0,v=v+Math.imul(Ie,we)|0,n=(n=n+Math.imul(Ie,J)|0)+Math.imul(ve,we)|0,b=b+Math.imul(ve,J)|0,v=v+Math.imul(it,Fe)|0,n=(n=n+Math.imul(it,at)|0)+Math.imul(Ne,Fe)|0,b=b+Math.imul(Ne,at)|0;var Tt=(k+(v=v+Math.imul(z,Gt)|0)|0)+((8191&(n=(n=n+Math.imul(z,ei)|0)+Math.imul(W,Gt)|0))<<13)|0;k=((b=b+Math.imul(W,ei)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,v=Math.imul(q,De),n=(n=Math.imul(q,ze))+Math.imul(de,De)|0,b=Math.imul(de,ze),v=v+Math.imul(me,Re)|0,n=(n=n+Math.imul(me,tt)|0)+Math.imul(Me,Re)|0,b=b+Math.imul(Me,tt)|0,v=v+Math.imul(Ae,It)|0,n=(n=n+Math.imul(Ae,zt)|0)+Math.imul(oe,It)|0,b=b+Math.imul(oe,zt)|0,v=v+Math.imul(Se,we)|0,n=(n=n+Math.imul(Se,J)|0)+Math.imul(te,we)|0,b=b+Math.imul(te,J)|0,v=v+Math.imul(Ie,Fe)|0,n=(n=n+Math.imul(Ie,at)|0)+Math.imul(ve,Fe)|0,b=b+Math.imul(ve,at)|0,v=v+Math.imul(it,Gt)|0,n=(n=n+Math.imul(it,ei)|0)+Math.imul(Ne,Gt)|0,b=b+Math.imul(Ne,ei)|0;var ge=(k+(v=v+Math.imul(z,rt)|0)|0)+((8191&(n=(n=n+Math.imul(z,yt)|0)+Math.imul(W,rt)|0))<<13)|0;k=((b=b+Math.imul(W,yt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,v=Math.imul(ke,De),n=(n=Math.imul(ke,ze))+Math.imul(ft,De)|0,b=Math.imul(ft,ze),v=v+Math.imul(q,Re)|0,n=(n=n+Math.imul(q,tt)|0)+Math.imul(de,Re)|0,b=b+Math.imul(de,tt)|0,v=v+Math.imul(me,It)|0,n=(n=n+Math.imul(me,zt)|0)+Math.imul(Me,It)|0,b=b+Math.imul(Me,zt)|0,v=v+Math.imul(Ae,we)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(oe,we)|0,b=b+Math.imul(oe,J)|0,v=v+Math.imul(Se,Fe)|0,n=(n=n+Math.imul(Se,at)|0)+Math.imul(te,Fe)|0,b=b+Math.imul(te,at)|0,v=v+Math.imul(Ie,Gt)|0,n=(n=n+Math.imul(Ie,ei)|0)+Math.imul(ve,Gt)|0,b=b+Math.imul(ve,ei)|0,v=v+Math.imul(it,rt)|0,n=(n=n+Math.imul(it,yt)|0)+Math.imul(Ne,rt)|0,b=b+Math.imul(Ne,yt)|0;var Dt=(k+(v=v+Math.imul(z,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(z,Vt)|0)+Math.imul(W,Ut)|0))<<13)|0;k=((b=b+Math.imul(W,Vt)|0)+(n>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(ct,De),n=(n=Math.imul(ct,ze))+Math.imul(nt,De)|0,b=Math.imul(nt,ze),v=v+Math.imul(ke,Re)|0,n=(n=n+Math.imul(ke,tt)|0)+Math.imul(ft,Re)|0,b=b+Math.imul(ft,tt)|0,v=v+Math.imul(q,It)|0,n=(n=n+Math.imul(q,zt)|0)+Math.imul(de,It)|0,b=b+Math.imul(de,zt)|0,v=v+Math.imul(me,we)|0,n=(n=n+Math.imul(me,J)|0)+Math.imul(Me,we)|0,b=b+Math.imul(Me,J)|0,v=v+Math.imul(Ae,Fe)|0,n=(n=n+Math.imul(Ae,at)|0)+Math.imul(oe,Fe)|0,b=b+Math.imul(oe,at)|0,v=v+Math.imul(Se,Gt)|0,n=(n=n+Math.imul(Se,ei)|0)+Math.imul(te,Gt)|0,b=b+Math.imul(te,ei)|0,v=v+Math.imul(Ie,rt)|0,n=(n=n+Math.imul(Ie,yt)|0)+Math.imul(ve,rt)|0,b=b+Math.imul(ve,yt)|0,v=v+Math.imul(it,Ut)|0,n=(n=n+Math.imul(it,Vt)|0)+Math.imul(Ne,Ut)|0,b=b+Math.imul(Ne,Vt)|0;var Kt=(k+(v=v+Math.imul(z,Qe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ve)|0)+Math.imul(W,Qe)|0))<<13)|0;k=((b=b+Math.imul(W,Ve)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,v=Math.imul(vt,De),n=(n=Math.imul(vt,ze))+Math.imul(ne,De)|0,b=Math.imul(ne,ze),v=v+Math.imul(ct,Re)|0,n=(n=n+Math.imul(ct,tt)|0)+Math.imul(nt,Re)|0,b=b+Math.imul(nt,tt)|0,v=v+Math.imul(ke,It)|0,n=(n=n+Math.imul(ke,zt)|0)+Math.imul(ft,It)|0,b=b+Math.imul(ft,zt)|0,v=v+Math.imul(q,we)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,we)|0,b=b+Math.imul(de,J)|0,v=v+Math.imul(me,Fe)|0,n=(n=n+Math.imul(me,at)|0)+Math.imul(Me,Fe)|0,b=b+Math.imul(Me,at)|0,v=v+Math.imul(Ae,Gt)|0,n=(n=n+Math.imul(Ae,ei)|0)+Math.imul(oe,Gt)|0,b=b+Math.imul(oe,ei)|0,v=v+Math.imul(Se,rt)|0,n=(n=n+Math.imul(Se,yt)|0)+Math.imul(te,rt)|0,b=b+Math.imul(te,yt)|0,v=v+Math.imul(Ie,Ut)|0,n=(n=n+Math.imul(Ie,Vt)|0)+Math.imul(ve,Ut)|0,b=b+Math.imul(ve,Vt)|0,v=v+Math.imul(it,Qe)|0,n=(n=n+Math.imul(it,Ve)|0)+Math.imul(Ne,Qe)|0,b=b+Math.imul(Ne,Ve)|0;var fi=(k+(v=v+Math.imul(z,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Et)|0)+Math.imul(W,Xe)|0))<<13)|0;k=((b=b+Math.imul(W,Et)|0)+(n>>>13)|0)+(fi>>>26)|0,fi&=67108863,v=Math.imul(vt,Re),n=(n=Math.imul(vt,tt))+Math.imul(ne,Re)|0,b=Math.imul(ne,tt),v=v+Math.imul(ct,It)|0,n=(n=n+Math.imul(ct,zt)|0)+Math.imul(nt,It)|0,b=b+Math.imul(nt,zt)|0,v=v+Math.imul(ke,we)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ft,we)|0,b=b+Math.imul(ft,J)|0,v=v+Math.imul(q,Fe)|0,n=(n=n+Math.imul(q,at)|0)+Math.imul(de,Fe)|0,b=b+Math.imul(de,at)|0,v=v+Math.imul(me,Gt)|0,n=(n=n+Math.imul(me,ei)|0)+Math.imul(Me,Gt)|0,b=b+Math.imul(Me,ei)|0,v=v+Math.imul(Ae,rt)|0,n=(n=n+Math.imul(Ae,yt)|0)+Math.imul(oe,rt)|0,b=b+Math.imul(oe,yt)|0,v=v+Math.imul(Se,Ut)|0,n=(n=n+Math.imul(Se,Vt)|0)+Math.imul(te,Ut)|0,b=b+Math.imul(te,Vt)|0,v=v+Math.imul(Ie,Qe)|0,n=(n=n+Math.imul(Ie,Ve)|0)+Math.imul(ve,Qe)|0,b=b+Math.imul(ve,Ve)|0;var Mi=(k+(v=v+Math.imul(it,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(it,Et)|0)+Math.imul(Ne,Xe)|0))<<13)|0;k=((b=b+Math.imul(Ne,Et)|0)+(n>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,v=Math.imul(vt,It),n=(n=Math.imul(vt,zt))+Math.imul(ne,It)|0,b=Math.imul(ne,zt),v=v+Math.imul(ct,we)|0,n=(n=n+Math.imul(ct,J)|0)+Math.imul(nt,we)|0,b=b+Math.imul(nt,J)|0,v=v+Math.imul(ke,Fe)|0,n=(n=n+Math.imul(ke,at)|0)+Math.imul(ft,Fe)|0,b=b+Math.imul(ft,at)|0,v=v+Math.imul(q,Gt)|0,n=(n=n+Math.imul(q,ei)|0)+Math.imul(de,Gt)|0,b=b+Math.imul(de,ei)|0,v=v+Math.imul(me,rt)|0,n=(n=n+Math.imul(me,yt)|0)+Math.imul(Me,rt)|0,b=b+Math.imul(Me,yt)|0,v=v+Math.imul(Ae,Ut)|0,n=(n=n+Math.imul(Ae,Vt)|0)+Math.imul(oe,Ut)|0,b=b+Math.imul(oe,Vt)|0,v=v+Math.imul(Se,Qe)|0,n=(n=n+Math.imul(Se,Ve)|0)+Math.imul(te,Qe)|0,b=b+Math.imul(te,Ve)|0;var Pi=(k+(v=v+Math.imul(Ie,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Et)|0)+Math.imul(ve,Xe)|0))<<13)|0;k=((b=b+Math.imul(ve,Et)|0)+(n>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,v=Math.imul(vt,we),n=(n=Math.imul(vt,J))+Math.imul(ne,we)|0,b=Math.imul(ne,J),v=v+Math.imul(ct,Fe)|0,n=(n=n+Math.imul(ct,at)|0)+Math.imul(nt,Fe)|0,b=b+Math.imul(nt,at)|0,v=v+Math.imul(ke,Gt)|0,n=(n=n+Math.imul(ke,ei)|0)+Math.imul(ft,Gt)|0,b=b+Math.imul(ft,ei)|0,v=v+Math.imul(q,rt)|0,n=(n=n+Math.imul(q,yt)|0)+Math.imul(de,rt)|0,b=b+Math.imul(de,yt)|0,v=v+Math.imul(me,Ut)|0,n=(n=n+Math.imul(me,Vt)|0)+Math.imul(Me,Ut)|0,b=b+Math.imul(Me,Vt)|0,v=v+Math.imul(Ae,Qe)|0,n=(n=n+Math.imul(Ae,Ve)|0)+Math.imul(oe,Qe)|0,b=b+Math.imul(oe,Ve)|0;var Ui=(k+(v=v+Math.imul(Se,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Se,Et)|0)+Math.imul(te,Xe)|0))<<13)|0;k=((b=b+Math.imul(te,Et)|0)+(n>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,v=Math.imul(vt,Fe),n=(n=Math.imul(vt,at))+Math.imul(ne,Fe)|0,b=Math.imul(ne,at),v=v+Math.imul(ct,Gt)|0,n=(n=n+Math.imul(ct,ei)|0)+Math.imul(nt,Gt)|0,b=b+Math.imul(nt,ei)|0,v=v+Math.imul(ke,rt)|0,n=(n=n+Math.imul(ke,yt)|0)+Math.imul(ft,rt)|0,b=b+Math.imul(ft,yt)|0,v=v+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,Vt)|0)+Math.imul(de,Ut)|0,b=b+Math.imul(de,Vt)|0,v=v+Math.imul(me,Qe)|0,n=(n=n+Math.imul(me,Ve)|0)+Math.imul(Me,Qe)|0,b=b+Math.imul(Me,Ve)|0;var Wt=(k+(v=v+Math.imul(Ae,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Et)|0)+Math.imul(oe,Xe)|0))<<13)|0;k=((b=b+Math.imul(oe,Et)|0)+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,v=Math.imul(vt,Gt),n=(n=Math.imul(vt,ei))+Math.imul(ne,Gt)|0,b=Math.imul(ne,ei),v=v+Math.imul(ct,rt)|0,n=(n=n+Math.imul(ct,yt)|0)+Math.imul(nt,rt)|0,b=b+Math.imul(nt,yt)|0,v=v+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,Vt)|0)+Math.imul(ft,Ut)|0,b=b+Math.imul(ft,Vt)|0,v=v+Math.imul(q,Qe)|0,n=(n=n+Math.imul(q,Ve)|0)+Math.imul(de,Qe)|0,b=b+Math.imul(de,Ve)|0;var si=(k+(v=v+Math.imul(me,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(me,Et)|0)+Math.imul(Me,Xe)|0))<<13)|0;k=((b=b+Math.imul(Me,Et)|0)+(n>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(vt,rt),n=(n=Math.imul(vt,yt))+Math.imul(ne,rt)|0,b=Math.imul(ne,yt),v=v+Math.imul(ct,Ut)|0,n=(n=n+Math.imul(ct,Vt)|0)+Math.imul(nt,Ut)|0,b=b+Math.imul(nt,Vt)|0,v=v+Math.imul(ke,Qe)|0,n=(n=n+Math.imul(ke,Ve)|0)+Math.imul(ft,Qe)|0,b=b+Math.imul(ft,Ve)|0;var _e=(k+(v=v+Math.imul(q,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(q,Et)|0)+Math.imul(de,Xe)|0))<<13)|0;k=((b=b+Math.imul(de,Et)|0)+(n>>>13)|0)+(_e>>>26)|0,_e&=67108863,v=Math.imul(vt,Ut),n=(n=Math.imul(vt,Vt))+Math.imul(ne,Ut)|0,b=Math.imul(ne,Vt),v=v+Math.imul(ct,Qe)|0,n=(n=n+Math.imul(ct,Ve)|0)+Math.imul(nt,Qe)|0,b=b+Math.imul(nt,Ve)|0;var $e=(k+(v=v+Math.imul(ke,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Et)|0)+Math.imul(ft,Xe)|0))<<13)|0;k=((b=b+Math.imul(ft,Et)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,v=Math.imul(vt,Qe),n=(n=Math.imul(vt,Ve))+Math.imul(ne,Qe)|0,b=Math.imul(ne,Ve);var St=(k+(v=v+Math.imul(ct,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(ct,Et)|0)+Math.imul(nt,Xe)|0))<<13)|0;k=((b=b+Math.imul(nt,Et)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863;var mt=(k+(v=Math.imul(vt,Xe))|0)+((8191&(n=(n=Math.imul(vt,Et))+Math.imul(ne,Xe)|0))<<13)|0;return k=((b=Math.imul(ne,Et))+(n>>>13)|0)+(mt>>>26)|0,mt&=67108863,S[0]=mi,S[1]=Li,S[2]=wi,S[3]=Vi,S[4]=qe,S[5]=Tt,S[6]=ge,S[7]=Dt,S[8]=Kt,S[9]=fi,S[10]=Mi,S[11]=Pi,S[12]=Ui,S[13]=Wt,S[14]=si,S[15]=_e,S[16]=$e,S[17]=St,S[18]=mt,0!==k&&(S[19]=k,h.length++),h};function Y(E,i,r){return(new j).mulp(E,i,r)}function j(E,i){this.x=E,this.y=i}Math.imul||(U=P),o.prototype.mulTo=function(i,r){var h,c=this.length+i.length;return h=10===this.length&&10===i.length?U(this,i,r):c<63?P(this,i,r):c<1024?function Z(E,i,r){r.negative=i.negative^E.negative,r.length=E.length+i.length;for(var h=0,c=0,y=0;y<r.length-1;y++){var S=c;c=0;for(var k=67108863&h,v=Math.min(y,i.length-1),n=Math.max(0,y-E.length+1);n<=v;n++){var W=(0|E.words[y-n])*(0|i.words[n]),Oe=67108863&W;k=67108863&(Oe=Oe+k|0),c+=(S=(S=S+(W/67108864|0)|0)+(Oe>>>26)|0)>>>26,S&=67108863}r.words[y]=k,h=S,S=c}return 0!==h?r.words[y]=h:r.length--,r.strip()}(this,i,r):Y(this,i,r),h},j.prototype.makeRBT=function(i){for(var r=new Array(i),h=o.prototype._countBits(i)-1,c=0;c<i;c++)r[c]=this.revBin(c,h,i);return r},j.prototype.revBin=function(i,r,h){if(0===i||i===h-1)return i;for(var c=0,y=0;y<r;y++)c|=(1&i)<<r-y-1,i>>=1;return c},j.prototype.permute=function(i,r,h,c,y,S){for(var k=0;k<S;k++)c[k]=r[i[k]],y[k]=h[i[k]]},j.prototype.transform=function(i,r,h,c,y,S){this.permute(S,i,r,h,c,y);for(var k=1;k<y;k<<=1)for(var v=k<<1,n=Math.cos(2*Math.PI/v),b=Math.sin(2*Math.PI/v),B=0;B<y;B+=v)for(var z=n,W=b,Oe=0;Oe<k;Oe++){var it=h[B+Oe],Ne=c[B+Oe],ot=h[B+Oe+k],Ie=c[B+Oe+k],ve=z*ot-W*Ie;Ie=z*Ie+W*ot,h[B+Oe]=it+(ot=ve),c[B+Oe]=Ne+Ie,h[B+Oe+k]=it-ot,c[B+Oe+k]=Ne-Ie,Oe!==v&&(ve=n*z-b*W,W=n*W+b*z,z=ve)}},j.prototype.guessLen13b=function(i,r){var h=1|Math.max(r,i),c=1&h,y=0;for(h=h/2|0;h;h>>>=1)y++;return 1<<y+1+c},j.prototype.conjugate=function(i,r,h){if(!(h<=1))for(var c=0;c<h/2;c++){var y=i[c];i[c]=i[h-c-1],i[h-c-1]=y,y=r[c],r[c]=-r[h-c-1],r[h-c-1]=-y}},j.prototype.normalize13b=function(i,r){for(var h=0,c=0;c<r/2;c++){var y=8192*Math.round(i[2*c+1]/r)+Math.round(i[2*c]/r)+h;i[c]=67108863&y,h=y<67108864?0:y/67108864|0}return i},j.prototype.convert13b=function(i,r,h,c){for(var y=0,S=0;S<r;S++)h[2*S]=8191&(y+=0|i[S]),h[2*S+1]=8191&(y>>>=13),y>>>=13;for(S=2*r;S<c;++S)h[S]=0;g(0===y),g(0==(-8192&y))},j.prototype.stub=function(i){for(var r=new Array(i),h=0;h<i;h++)r[h]=0;return r},j.prototype.mulp=function(i,r,h){var c=2*this.guessLen13b(i.length,r.length),y=this.makeRBT(c),S=this.stub(c),k=new Array(c),v=new Array(c),n=new Array(c),b=new Array(c),B=new Array(c),z=new Array(c),W=h.words;W.length=c,this.convert13b(i.words,i.length,k,c),this.convert13b(r.words,r.length,b,c),this.transform(k,S,v,n,c,y),this.transform(b,S,B,z,c,y);for(var Oe=0;Oe<c;Oe++){var it=v[Oe]*B[Oe]-n[Oe]*z[Oe];n[Oe]=v[Oe]*z[Oe]+n[Oe]*B[Oe],v[Oe]=it}return this.conjugate(v,n,c),this.transform(v,n,W,S,c,y),this.conjugate(W,S,c),this.normalize13b(W,c),h.negative=i.negative^r.negative,h.length=i.length+r.length,h.strip()},o.prototype.mul=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),this.mulTo(i,r)},o.prototype.mulf=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),Y(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var r=0,h=0;h<this.length;h++){var c=(0|this.words[h])*i,y=(67108863&c)+(67108863&r);r>>=26,r+=c/67108864|0,r+=y>>>26,this.words[h]=67108863&y}return 0!==r&&(this.words[h]=r,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var r=function I(E){for(var i=new Array(E.bitLength()),r=0;r<i.length;r++){var c=r%26;i[r]=(E.words[r/26|0]&1<<c)>>>c}return i}(i);if(0===r.length)return new o(1);for(var h=this,c=0;c<r.length&&0===r[c];c++,h=h.sqr());if(++c<r.length)for(var y=h.sqr();c<r.length;c++,y=y.sqr())0!==r[c]&&(h=h.mul(y));return h},o.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,r=i%26,h=(i-r)/26,c=67108863>>>26-r<<26-r;if(0!==r){var S=0;for(y=0;y<this.length;y++){var k=this.words[y]&c;this.words[y]=(0|this.words[y])-k<<r|S,S=k>>>26-r}S&&(this.words[y]=S,this.length++)}if(0!==h){for(y=this.length-1;y>=0;y--)this.words[y+h]=this.words[y];for(y=0;y<h;y++)this.words[y]=0;this.length+=h}return this.strip()},o.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,h){var c;g("number"==typeof i&&i>=0),c=r?(r-r%26)/26:0;var y=i%26,S=Math.min((i-y)/26,this.length),k=67108863^67108863>>>y<<y,v=h;if(c-=S,c=Math.max(0,c),v){for(var n=0;n<S;n++)v.words[n]=this.words[n];v.length=S}if(0!==S)if(this.length>S)for(this.length-=S,n=0;n<this.length;n++)this.words[n]=this.words[n+S];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=c);n--){var B=0|this.words[n];this.words[n]=b<<26-y|B>>>y,b=B&k}return v&&0!==b&&(v.words[v.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,h){return g(0===this.negative),this.iushrn(i,r,h)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){g("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return!(this.length<=h||!(this.words[h]&1<<r))},o.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=h?this:(0!==r&&h++,this.length=Math.min(h,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return g("number"==typeof i),g(i<67108864),i<0?this.isubn(-i):0!==this.negative?1===this.length&&(0|this.words[0])<i?(this.words[0]=i-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},o.prototype.isubn=function(i){if(g("number"==typeof i),g(i<67108864),i<0)return this.iaddn(-i);if(0!==this.negative)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,r,h){var y;this._expand(i.length+h);var S,k=0;for(y=0;y<i.length;y++){S=(0|this.words[y+h])+k;var v=(0|i.words[y])*r;k=((S-=67108863&v)>>26)-(v/67108864|0),this.words[y+h]=67108863&S}for(;y<this.length-h;y++)k=(S=(0|this.words[y+h])+k)>>26,this.words[y+h]=67108863&S;if(0===k)return this.strip();for(g(-1===k),k=0,y=0;y<this.length;y++)k=(S=-(0|this.words[y])+k)>>26,this.words[y]=67108863&S;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var h,c=this.clone(),y=i,S=0|y.words[y.length-1];0!=(h=26-this._countBits(S))&&(y=y.ushln(h),c.iushln(h),S=0|y.words[y.length-1]);var n,v=c.length-y.length;if("mod"!==r){(n=new o(null)).length=v+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var B=c.clone()._ishlnsubmul(y,1,v);0===B.negative&&(c=B,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var W=67108864*(0|c.words[y.length+z])+(0|c.words[y.length+z-1]);for(W=Math.min(W/S|0,67108863),c._ishlnsubmul(y,W,z);0!==c.negative;)W--,c.negative=0,c._ishlnsubmul(y,1,z),c.isZero()||(c.negative^=1);n&&(n.words[z]=W)}return n&&n.strip(),c.strip(),"div"!==r&&0!==h&&c.iushrn(h),{div:n||null,mod:c}},o.prototype.divmod=function(i,r,h){return g(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(S=this.neg().divmod(i,r),"mod"!==r&&(c=S.div.neg()),"div"!==r&&(y=S.mod.neg(),h&&0!==y.negative&&y.iadd(i)),{div:c,mod:y}):0===this.negative&&0!==i.negative?(S=this.divmod(i.neg(),r),"mod"!==r&&(c=S.div.neg()),{div:c,mod:S.mod}):0!=(this.negative&i.negative)?(S=this.neg().divmod(i.neg(),r),"div"!==r&&(y=S.mod.neg(),h&&0!==y.negative&&y.isub(i)),{div:S.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:1===i.length?"div"===r?{div:this.divn(i.words[0]),mod:null}:"mod"===r?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,r);var c,y,S},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var r=this.divmod(i);if(r.mod.isZero())return r.div;var h=0!==r.div.negative?r.mod.isub(i):r.mod,c=i.ushrn(1),y=i.andln(1),S=h.cmp(c);return S<0||1===y&&0===S?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){g(i<=67108863);for(var r=(1<<26)%i,h=0,c=this.length-1;c>=0;c--)h=(r*h+(0|this.words[c]))%i;return h},o.prototype.idivn=function(i){g(i<=67108863);for(var r=0,h=this.length-1;h>=0;h--){var c=(0|this.words[h])+67108864*r;this.words[h]=c/i|0,r=c%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),y=new o(0),S=new o(0),k=new o(1),v=0;r.isEven()&&h.isEven();)r.iushrn(1),h.iushrn(1),++v;for(var n=h.clone(),b=r.clone();!r.isZero();){for(var B=0,z=1;0==(r.words[0]&z)&&B<26;++B,z<<=1);if(B>0)for(r.iushrn(B);B-- >0;)(c.isOdd()||y.isOdd())&&(c.iadd(n),y.isub(b)),c.iushrn(1),y.iushrn(1);for(var W=0,Oe=1;0==(h.words[0]&Oe)&&W<26;++W,Oe<<=1);if(W>0)for(h.iushrn(W);W-- >0;)(S.isOdd()||k.isOdd())&&(S.iadd(n),k.isub(b)),S.iushrn(1),k.iushrn(1);r.cmp(h)>=0?(r.isub(h),c.isub(S),y.isub(k)):(h.isub(r),S.isub(c),k.isub(y))}return{a:S,b:k,gcd:h.iushln(v)}},o.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var B,r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),y=new o(0),S=h.clone();r.cmpn(1)>0&&h.cmpn(1)>0;){for(var k=0,v=1;0==(r.words[0]&v)&&k<26;++k,v<<=1);if(k>0)for(r.iushrn(k);k-- >0;)c.isOdd()&&c.iadd(S),c.iushrn(1);for(var n=0,b=1;0==(h.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(h.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(S),y.iushrn(1);r.cmp(h)>=0?(r.isub(h),c.isub(y)):(h.isub(r),y.isub(c))}return(B=0===r.cmpn(1)?c:y).cmpn(0)<0&&B.iadd(i),B},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),h=i.clone();r.negative=0,h.negative=0;for(var c=0;r.isEven()&&h.isEven();c++)r.iushrn(1),h.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;h.isEven();)h.iushrn(1);var y=r.cmp(h);if(y<0){var S=r;r=h,h=S}else if(0===y||0===h.cmpn(1))break;r.isub(h)}return h.iushln(c)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){g("number"==typeof i);var r=i%26,h=(i-r)/26,c=1<<r;if(this.length<=h)return this._expand(h+1),this.words[h]|=c,this;for(var y=c,S=h;0!==y&&S<this.length;S++){var k=0|this.words[S];y=(k+=y)>>>26,this.words[S]=k&=67108863}return 0!==y&&(this.words[S]=y,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var h,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)h=1;else{r&&(i=-i),g(i<=67108863,"Number is too big");var c=0|this.words[0];h=c===i?0:c<i?-1:1}return 0!==this.negative?0|-h:h},o.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var r=this.ucmp(i);return 0!==this.negative?0|-r:r},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var r=0,h=this.length-1;h>=0;h--){var c=0|this.words[h],y=0|i.words[h];if(c!==y){c<y?r=-1:c>y&&(r=1);break}}return r},o.prototype.gtn=function(i){return 1===this.cmpn(i)},o.prototype.gt=function(i){return 1===this.cmp(i)},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return-1===this.cmpn(i)},o.prototype.lt=function(i){return-1===this.cmp(i)},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return 0===this.cmpn(i)},o.prototype.eq=function(i){return 0===this.cmp(i)},o.red=function(i){return new se(i)},o.prototype.toRed=function(i){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var X={k256:null,p224:null,p192:null,p25519:null};function ee(E,i){this.name=E,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ue(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function le(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(E){if("string"==typeof E){var i=o._prime(E);this.m=i.p,this.prime=i}else g(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}function he(E){se.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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 i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},ee.prototype.ireduce=function(i){var h,r=i;do{this.split(r,this.tmp),h=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(h>this.n);var c=h<this.n?-1:r.ucmp(this.p);return 0===c?(r.words[0]=0,r.length=1):c>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},ee.prototype.split=function(i,r){i.iushrn(this.n,0,r)},ee.prototype.imulK=function(i){return i.imul(this.k)},A(ue,ee),ue.prototype.split=function(i,r){for(var h=4194303,c=Math.min(i.length,9),y=0;y<c;y++)r.words[y]=i.words[y];if(r.length=c,i.length<=9)return i.words[0]=0,void(i.length=1);var S=i.words[9];for(r.words[r.length++]=S&h,y=10;y<i.length;y++){var k=0|i.words[y];i.words[y-10]=(k&h)<<4|S>>>22,S=k}i.words[y-10]=S>>>=22,i.length-=0===S&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,h=0;h<i.length;h++){var c=0|i.words[h];i.words[h]=67108863&(r+=977*c),r=64*c+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},A(le,ee),A(ie,ee),A(ce,ee),ce.prototype.imulK=function(i){for(var r=0,h=0;h<i.length;h++){var c=19*(0|i.words[h])+r,y=67108863&c;c>>>=26,i.words[h]=y,r=c}return 0!==r&&(i.words[i.length++]=r),i},o._prime=function(i){if(X[i])return X[i];var r;if("k256"===i)r=new ue;else if("p224"===i)r=new le;else if("p192"===i)r=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},se.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},se.prototype._verify2=function(i,r){g(0==(i.negative|r.negative),"red works only with positives"),g(i.red&&i.red===r.red,"red works only with red numbers")},se.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},se.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},se.prototype.add=function(i,r){this._verify2(i,r);var h=i.add(r);return h.cmp(this.m)>=0&&h.isub(this.m),h._forceRed(this)},se.prototype.iadd=function(i,r){this._verify2(i,r);var h=i.iadd(r);return h.cmp(this.m)>=0&&h.isub(this.m),h},se.prototype.sub=function(i,r){this._verify2(i,r);var h=i.sub(r);return h.cmpn(0)<0&&h.iadd(this.m),h._forceRed(this)},se.prototype.isub=function(i,r){this._verify2(i,r);var h=i.isub(r);return h.cmpn(0)<0&&h.iadd(this.m),h},se.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},se.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},se.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},se.prototype.isqr=function(i){return this.imul(i,i.clone())},se.prototype.sqr=function(i){return this.mul(i,i)},se.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(g(r%2==1),3===r){var h=this.m.add(new o(1)).iushrn(2);return this.pow(i,h)}for(var c=this.m.subn(1),y=0;!c.isZero()&&0===c.andln(1);)y++,c.iushrn(1);g(!c.isZero());var S=new o(1).toRed(this),k=S.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,v).cmp(k);)n.redIAdd(k);for(var b=this.pow(n,c),B=this.pow(i,c.addn(1).iushrn(1)),z=this.pow(i,c),W=y;0!==z.cmp(S);){for(var Oe=z,it=0;0!==Oe.cmp(S);it++)Oe=Oe.redSqr();g(it<W);var Ne=this.pow(b,new o(1).iushln(W-it-1));B=B.redMul(Ne),b=Ne.redSqr(),z=z.redMul(b),W=it}return B},se.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},se.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var c=new Array(16);c[0]=new o(1).toRed(this),c[1]=i;for(var y=2;y<c.length;y++)c[y]=this.mul(c[y-1],i);var S=c[0],k=0,v=0,n=r.bitLength()%26;for(0===n&&(n=26),y=r.length-1;y>=0;y--){for(var b=r.words[y],B=n-1;B>=0;B--){var z=b>>B&1;S!==c[0]&&(S=this.sqr(S)),0!==z||0!==k?(k<<=1,k|=z,(4==++v||0===y&&0===B)&&(S=this.mul(S,c[k]),v=0,k=0)):v=0}n=26}return S},se.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},se.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new he(i)},A(he,se),he.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},he.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},he.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var h=i.imul(r),c=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(c).iushrn(this.shift),S=y;return y.cmp(this.m)>=0?S=y.isub(this.m):y.cmpn(0)<0&&(S=y.iadd(this.m)),S._forceRed(this)},he.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var h=i.mul(r),c=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(c).iushrn(this.shift),S=y;return y.cmp(this.m)>=0?S=y.isub(this.m):y.cmpn(0)<0&&(S=y.iadd(this.m)),S._forceRed(this)},he.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ge=m.nmd(Ge),this)},4901:Ge=>{"use strict";var Q={single_source_shortest_paths:function(m,t,e){var g={},A={};A[t]=0;var C,u,O,d,M,L,o=Q.PriorityQueue.make();for(o.push(t,0);!o.empty();)for(O in d=(C=o.pop()).cost,M=m[u=C.value]||{})M.hasOwnProperty(O)&&(L=d+M[O],(typeof A[O]>"u"||A[O]>L)&&(A[O]=L,o.push(O,L),g[O]=u));if(typeof e<"u"&&typeof A[e]>"u"){var U=["Could not find a path from ",t," to ",e,"."].join("");throw new Error(U)}return g},extract_shortest_path_from_predecessor_list:function(m,t){for(var e=[],g=t;g;)e.push(g),g=m[g];return e.reverse(),e},find_path:function(m,t,e){var g=Q.single_source_shortest_paths(m,t,e);return Q.extract_shortest_path_from_predecessor_list(g,e)},PriorityQueue:{make:function(m){var g,t=Q.PriorityQueue,e={};for(g in m=m||{},t)t.hasOwnProperty(g)&&(e[g]=t[g]);return e.queue=[],e.sorter=m.sorter||t.default_sorter,e},default_sorter:function(m,t){return m.cost-t.cost},push:function(m,t){this.queue.push({value:m,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Ge.exports=Q},7715:(Ge,Q,m)=>{"use strict";var t=Q;t.version=m(8597).i8,t.utils=m(1970),t.rand=m(7950),t.curve=m(6270),t.curves=m(2916),t.ec=m(7626),t.eddsa=m(1885)},7902:(Ge,Q,m)=>{"use strict";var t=m(7433),e=m(1970),g=e.getNAF,A=e.getJSF,o=e.assert;function C(O,d){this.type=O,this.p=new t(d.p,16),this.red=d.prime?t.red(d.prime):t.mont(this.p),this.zero=new t(0).toRed(this.red),this.one=new t(1).toRed(this.red),this.two=new t(2).toRed(this.red),this.n=d.n&&new t(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 M=this.n&&this.p.div(this.n);!M||M.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(O,d){this.curve=O,this.type=d,this.precomputed=null}Ge.exports=C,C.prototype.point=function(){throw new Error("Not implemented")},C.prototype.validate=function(){throw new Error("Not implemented")},C.prototype._fixedNafMul=function(d,M){o(d.precomputed);var w=d._getDoubles(),L=g(M,1,this._bitLength),I=(1<<w.step+1)-(w.step%2==0?2:1);I/=3;var U,Z,P=[];for(U=0;U<L.length;U+=w.step){Z=0;for(var Y=U+w.step-1;Y>=U;Y--)Z=(Z<<1)+L[Y];P.push(Z)}for(var j=this.jpoint(null,null,null),X=this.jpoint(null,null,null),ee=I;ee>0;ee--){for(U=0;U<P.length;U++)(Z=P[U])===ee?X=X.mixedAdd(w.points[U]):Z===-ee&&(X=X.mixedAdd(w.points[U].neg()));j=j.add(X)}return j.toP()},C.prototype._wnafMul=function(d,M){for(var w=4,L=d._getNAFPoints(w),I=L.points,P=g(M,w=L.wnd,this._bitLength),U=this.jpoint(null,null,null),Z=P.length-1;Z>=0;Z--){for(var Y=0;Z>=0&&0===P[Z];Z--)Y++;if(Z>=0&&Y++,U=U.dblp(Y),Z<0)break;var j=P[Z];o(0!==j),U="affine"===d.type?U.mixedAdd(j>0?I[j-1>>1]:I[-j-1>>1].neg()):U.add(j>0?I[j-1>>1]:I[-j-1>>1].neg())}return"affine"===d.type?U.toP():U},C.prototype._wnafMulAdd=function(d,M,w,L,I){var j,X,ee,P=this._wnafT1,U=this._wnafT2,Z=this._wnafT3,Y=0;for(j=0;j<L;j++){var ue=(ee=M[j])._getNAFPoints(d);P[j]=ue.wnd,U[j]=ue.points}for(j=L-1;j>=1;j-=2){var le=j-1,ie=j;if(1===P[le]&&1===P[ie]){var ce=[M[le],null,null,M[ie]];0===M[le].y.cmp(M[ie].y)?(ce[1]=M[le].add(M[ie]),ce[2]=M[le].toJ().mixedAdd(M[ie].neg())):0===M[le].y.cmp(M[ie].y.redNeg())?(ce[1]=M[le].toJ().mixedAdd(M[ie]),ce[2]=M[le].add(M[ie].neg())):(ce[1]=M[le].toJ().mixedAdd(M[ie]),ce[2]=M[le].toJ().mixedAdd(M[ie].neg()));var se=[-3,-1,-5,-7,0,7,5,1,3],he=A(w[le],w[ie]);for(Y=Math.max(he[0].length,Y),Z[le]=new Array(Y),Z[ie]=new Array(Y),X=0;X<Y;X++)Z[le][X]=se[3*(1+(0|he[0][X]))+(1+(0|he[1][X]))],Z[ie][X]=0,U[le]=ce}else Z[le]=g(w[le],P[le],this._bitLength),Z[ie]=g(w[ie],P[ie],this._bitLength),Y=Math.max(Z[le].length,Y),Y=Math.max(Z[ie].length,Y)}var r=this.jpoint(null,null,null),h=this._wnafT4;for(j=Y;j>=0;j--){for(var c=0;j>=0;){var y=!0;for(X=0;X<L;X++)h[X]=0|Z[X][j],0!==h[X]&&(y=!1);if(!y)break;c++,j--}if(j>=0&&c++,r=r.dblp(c),j<0)break;for(X=0;X<L;X++){var S=h[X];0!==S&&(S>0?ee=U[X][S-1>>1]:S<0&&(ee=U[X][-S-1>>1].neg()),r="affine"===ee.type?r.mixedAdd(ee):r.add(ee))}}for(j=0;j<L;j++)U[j]=null;return I?r:r.toP()},C.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},C.prototype.decodePoint=function(d,M){d=e.toArray(d,M);var w=this.p.byteLength();if((4===d[0]||6===d[0]||7===d[0])&&d.length-1==2*w)return 6===d[0]?o(d[d.length-1]%2==0):7===d[0]&&o(d[d.length-1]%2==1),this.point(d.slice(1,1+w),d.slice(1+w,1+2*w));if((2===d[0]||3===d[0])&&d.length-1===w)return this.pointFromX(d.slice(1,1+w),3===d[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(d){return this.encode(d,!0)},u.prototype._encode=function(d){var M=this.curve.p.byteLength(),w=this.getX().toArray("be",M);return d?[this.getY().isEven()?2:3].concat(w):[4].concat(w,this.getY().toArray("be",M))},u.prototype.encode=function(d,M){return e.encode(this._encode(M),d)},u.prototype.precompute=function(d){if(this.precomputed)return this;var M={doubles:null,naf:null,beta:null};return M.naf=this._getNAFPoints(8),M.doubles=this._getDoubles(4,d),M.beta=this._getBeta(),this.precomputed=M,this},u.prototype._hasDoubles=function(d){if(!this.precomputed)return!1;var M=this.precomputed.doubles;return!!M&&M.points.length>=Math.ceil((d.bitLength()+1)/M.step)},u.prototype._getDoubles=function(d,M){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var w=[this],L=this,I=0;I<M;I+=d){for(var P=0;P<d;P++)L=L.dbl();w.push(L)}return{step:d,points:w}},u.prototype._getNAFPoints=function(d){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var M=[this],w=(1<<d)-1,L=1===w?null:this.dbl(),I=1;I<w;I++)M[I]=M[I-1].add(L);return{wnd:d,points:M}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(d){for(var M=this,w=0;w<d;w++)M=M.dbl();return M}},3835:(Ge,Q,m)=>{"use strict";var t=m(1970),e=m(7433),g=m(3894),A=m(7902),o=t.assert;function C(O){this.twisted=1!=(0|O.a),this.mOneA=this.twisted&&-1==(0|O.a),this.extended=this.mOneA,A.call(this,"edwards",O),this.a=new e(O.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new e(O.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new e(O.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),o(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|O.c)}function u(O,d,M,w,L){A.BasePoint.call(this,O,"projective"),null===d&&null===M&&null===w?(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 e(d,16),this.y=new e(M,16),this.z=w?new e(w,16):this.curve.one,this.t=L&&new e(L,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()))))}g(C,A),Ge.exports=C,C.prototype._mulA=function(d){return this.mOneA?d.redNeg():this.a.redMul(d)},C.prototype._mulC=function(d){return this.oneC?d:this.c.redMul(d)},C.prototype.jpoint=function(d,M,w,L){return this.point(d,M,w,L)},C.prototype.pointFromX=function(d,M){(d=new e(d,16)).red||(d=d.toRed(this.red));var w=d.redSqr(),L=this.c2.redSub(this.a.redMul(w)),I=this.one.redSub(this.c2.redMul(this.d).redMul(w)),P=L.redMul(I.redInvm()),U=P.redSqrt();if(0!==U.redSqr().redSub(P).cmp(this.zero))throw new Error("invalid point");var Z=U.fromRed().isOdd();return(M&&!Z||!M&&Z)&&(U=U.redNeg()),this.point(d,U)},C.prototype.pointFromY=function(d,M){(d=new e(d,16)).red||(d=d.toRed(this.red));var w=d.redSqr(),L=w.redSub(this.c2),I=w.redMul(this.d).redMul(this.c2).redSub(this.a),P=L.redMul(I.redInvm());if(0===P.cmp(this.zero)){if(M)throw new Error("invalid point");return this.point(this.zero,d)}var U=P.redSqrt();if(0!==U.redSqr().redSub(P).cmp(this.zero))throw new Error("invalid point");return U.fromRed().isOdd()!==M&&(U=U.redNeg()),this.point(U,d)},C.prototype.validate=function(d){if(d.isInfinity())return!0;d.normalize();var M=d.x.redSqr(),w=d.y.redSqr(),L=M.redMul(this.a).redAdd(w),I=this.c2.redMul(this.one.redAdd(this.d.redMul(M).redMul(w)));return 0===L.cmp(I)},g(u,A.BasePoint),C.prototype.pointFromJSON=function(d){return u.fromJSON(this,d)},C.prototype.point=function(d,M,w,L){return new u(this,d,M,w,L)},u.fromJSON=function(d,M){return new u(d,M[0],M[1],M[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var d=this.x.redSqr(),M=this.y.redSqr(),w=this.z.redSqr();w=w.redIAdd(w);var L=this.curve._mulA(d),I=this.x.redAdd(this.y).redSqr().redISub(d).redISub(M),P=L.redAdd(M),U=P.redSub(w),Z=L.redSub(M),Y=I.redMul(U),j=P.redMul(Z),X=I.redMul(Z),ee=U.redMul(P);return this.curve.point(Y,j,ee,X)},u.prototype._projDbl=function(){var L,I,P,U,Z,Y,d=this.x.redAdd(this.y).redSqr(),M=this.x.redSqr(),w=this.y.redSqr();if(this.curve.twisted){var j=(U=this.curve._mulA(M)).redAdd(w);this.zOne?(L=d.redSub(M).redSub(w).redMul(j.redSub(this.curve.two)),I=j.redMul(U.redSub(w)),P=j.redSqr().redSub(j).redSub(j)):(Z=this.z.redSqr(),Y=j.redSub(Z).redISub(Z),L=d.redSub(M).redISub(w).redMul(Y),I=j.redMul(U.redSub(w)),P=j.redMul(Y))}else U=M.redAdd(w),Z=this.curve._mulC(this.z).redSqr(),Y=U.redSub(Z).redSub(Z),L=this.curve._mulC(d.redISub(U)).redMul(Y),I=this.curve._mulC(U).redMul(M.redISub(w)),P=U.redMul(Y);return this.curve.point(L,I,P)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(d){var M=this.y.redSub(this.x).redMul(d.y.redSub(d.x)),w=this.y.redAdd(this.x).redMul(d.y.redAdd(d.x)),L=this.t.redMul(this.curve.dd).redMul(d.t),I=this.z.redMul(d.z.redAdd(d.z)),P=w.redSub(M),U=I.redSub(L),Z=I.redAdd(L),Y=w.redAdd(M),j=P.redMul(U),X=Z.redMul(Y),ee=P.redMul(Y),ue=U.redMul(Z);return this.curve.point(j,X,ue,ee)},u.prototype._projAdd=function(d){var X,ee,M=this.z.redMul(d.z),w=M.redSqr(),L=this.x.redMul(d.x),I=this.y.redMul(d.y),P=this.curve.d.redMul(L).redMul(I),U=w.redSub(P),Z=w.redAdd(P),Y=this.x.redAdd(this.y).redMul(d.x.redAdd(d.y)).redISub(L).redISub(I),j=M.redMul(U).redMul(Y);return this.curve.twisted?(X=M.redMul(Z).redMul(I.redSub(this.curve._mulA(L))),ee=U.redMul(Z)):(X=M.redMul(Z).redMul(I.redSub(L)),ee=this.curve._mulC(U).redMul(Z)),this.curve.point(j,X,ee)},u.prototype.add=function(d){return this.isInfinity()?d:d.isInfinity()?this:this.curve.extended?this._extAdd(d):this._projAdd(d)},u.prototype.mul=function(d){return this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve._wnafMul(this,d)},u.prototype.mulAdd=function(d,M,w){return this.curve._wnafMulAdd(1,[this,M],[d,w],2,!1)},u.prototype.jmulAdd=function(d,M,w){return this.curve._wnafMulAdd(1,[this,M],[d,w],2,!0)},u.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},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(d){return this===d||0===this.getX().cmp(d.getX())&&0===this.getY().cmp(d.getY())},u.prototype.eqXToP=function(d){var M=d.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(M))return!0;for(var w=d.clone(),L=this.curve.redN.redMul(this.z);;){if(w.iadd(this.curve.n),w.cmp(this.curve.p)>=0)return!1;if(M.redIAdd(L),0===this.x.cmp(M))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},6270:(Ge,Q,m)=>{"use strict";var t=Q;t.base=m(7902),t.short=m(1781),t.mont=m(7064),t.edwards=m(3835)},7064:(Ge,Q,m)=>{"use strict";var t=m(7433),e=m(3894),g=m(7902),A=m(1970);function o(u){g.call(this,"mont",u),this.a=new t(u.a,16).toRed(this.red),this.b=new t(u.b,16).toRed(this.red),this.i4=new t(4).toRed(this.red).redInvm(),this.two=new t(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function C(u,O,d){g.BasePoint.call(this,u,"projective"),null===O&&null===d?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new t(O,16),this.z=new t(d,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}e(o,g),Ge.exports=o,o.prototype.validate=function(O){var d=O.normalize().x,M=d.redSqr(),w=M.redMul(d).redAdd(M.redMul(this.a)).redAdd(d);return 0===w.redSqrt().redSqr().cmp(w)},e(C,g.BasePoint),o.prototype.decodePoint=function(O,d){return this.point(A.toArray(O,d),1)},o.prototype.point=function(O,d){return new C(this,O,d)},o.prototype.pointFromJSON=function(O){return C.fromJSON(this,O)},C.prototype.precompute=function(){},C.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},C.fromJSON=function(O,d){return new C(O,d[0],d[1]||O.one)},C.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)+">"},C.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},C.prototype.dbl=function(){var d=this.x.redAdd(this.z).redSqr(),w=this.x.redSub(this.z).redSqr(),L=d.redSub(w),I=d.redMul(w),P=L.redMul(w.redAdd(this.curve.a24.redMul(L)));return this.curve.point(I,P)},C.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},C.prototype.diffAdd=function(O,d){var M=this.x.redAdd(this.z),w=this.x.redSub(this.z),L=O.x.redAdd(O.z),P=O.x.redSub(O.z).redMul(M),U=L.redMul(w),Z=d.z.redMul(P.redAdd(U).redSqr()),Y=d.x.redMul(P.redISub(U).redSqr());return this.curve.point(Z,Y)},C.prototype.mul=function(O){for(var d=O.clone(),M=this,w=this.curve.point(null,null),I=[];0!==d.cmpn(0);d.iushrn(1))I.push(d.andln(1));for(var P=I.length-1;P>=0;P--)0===I[P]?(M=M.diffAdd(w,this),w=w.dbl()):(w=M.diffAdd(w,this),M=M.dbl());return w},C.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},C.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},C.prototype.eq=function(O){return 0===this.getX().cmp(O.getX())},C.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},C.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},1781:(Ge,Q,m)=>{"use strict";var t=m(1970),e=m(7433),g=m(3894),A=m(7902),o=t.assert;function C(d){A.call(this,"short",d),this.a=new e(d.a,16).toRed(this.red),this.b=new e(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 u(d,M,w,L){A.BasePoint.call(this,d,"affine"),null===M&&null===w?(this.x=null,this.y=null,this.inf=!0):(this.x=new e(M,16),this.y=new e(w,16),L&&(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 O(d,M,w,L){A.BasePoint.call(this,d,"jacobian"),null===M&&null===w&&null===L?(this.x=this.curve.one,this.y=this.curve.one,this.z=new e(0)):(this.x=new e(M,16),this.y=new e(w,16),this.z=new e(L,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}g(C,A),Ge.exports=C,C.prototype._getEndomorphism=function(M){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var w,L;if(M.beta)w=new e(M.beta,16).toRed(this.red);else{var I=this._getEndoRoots(this.p);w=(w=I[0].cmp(I[1])<0?I[0]:I[1]).toRed(this.red)}if(M.lambda)L=new e(M.lambda,16);else{var P=this._getEndoRoots(this.n);0===this.g.mul(P[0]).x.cmp(this.g.x.redMul(w))?L=P[0]:o(0===this.g.mul(L=P[1]).x.cmp(this.g.x.redMul(w)))}return{beta:w,lambda:L,basis:M.basis?M.basis.map(function(Z){return{a:new e(Z.a,16),b:new e(Z.b,16)}}):this._getEndoBasis(L)}}},C.prototype._getEndoRoots=function(M){var w=M===this.p?this.red:e.mont(M),L=new e(2).toRed(w).redInvm(),I=L.redNeg(),P=new e(3).toRed(w).redNeg().redSqrt().redMul(L);return[I.redAdd(P).fromRed(),I.redSub(P).fromRed()]},C.prototype._getEndoBasis=function(M){for(var j,X,ee,ue,le,ie,ce,he,E,w=this.n.ushrn(Math.floor(this.n.bitLength()/2)),L=M,I=this.n.clone(),P=new e(1),U=new e(0),Z=new e(0),Y=new e(1),se=0;0!==L.cmpn(0);){var i=I.div(L);he=I.sub(i.mul(L)),E=Z.sub(i.mul(P));var r=Y.sub(i.mul(U));if(!ee&&he.cmp(w)<0)j=ce.neg(),X=P,ee=he.neg(),ue=E;else if(ee&&2==++se)break;ce=he,I=L,L=he,Z=P,P=E,Y=U,U=r}le=he.neg(),ie=E;var h=ee.sqr().add(ue.sqr());return le.sqr().add(ie.sqr()).cmp(h)>=0&&(le=j,ie=X),ee.negative&&(ee=ee.neg(),ue=ue.neg()),le.negative&&(le=le.neg(),ie=ie.neg()),[{a:ee,b:ue},{a:le,b:ie}]},C.prototype._endoSplit=function(M){var w=this.endo.basis,L=w[0],I=w[1],P=I.b.mul(M).divRound(this.n),U=L.b.neg().mul(M).divRound(this.n),Z=P.mul(L.a),Y=U.mul(I.a),j=P.mul(L.b),X=U.mul(I.b);return{k1:M.sub(Z).sub(Y),k2:j.add(X).neg()}},C.prototype.pointFromX=function(M,w){(M=new e(M,16)).red||(M=M.toRed(this.red));var L=M.redSqr().redMul(M).redIAdd(M.redMul(this.a)).redIAdd(this.b),I=L.redSqrt();if(0!==I.redSqr().redSub(L).cmp(this.zero))throw new Error("invalid point");var P=I.fromRed().isOdd();return(w&&!P||!w&&P)&&(I=I.redNeg()),this.point(M,I)},C.prototype.validate=function(M){if(M.inf)return!0;var w=M.x,L=M.y,I=this.a.redMul(w),P=w.redSqr().redMul(w).redIAdd(I).redIAdd(this.b);return 0===L.redSqr().redISub(P).cmpn(0)},C.prototype._endoWnafMulAdd=function(M,w,L){for(var I=this._endoWnafT1,P=this._endoWnafT2,U=0;U<M.length;U++){var Z=this._endoSplit(w[U]),Y=M[U],j=Y._getBeta();Z.k1.negative&&(Z.k1.ineg(),Y=Y.neg(!0)),Z.k2.negative&&(Z.k2.ineg(),j=j.neg(!0)),I[2*U]=Y,I[2*U+1]=j,P[2*U]=Z.k1,P[2*U+1]=Z.k2}for(var X=this._wnafMulAdd(1,I,P,2*U,L),ee=0;ee<2*U;ee++)I[ee]=null,P[ee]=null;return X},g(u,A.BasePoint),C.prototype.point=function(M,w,L){return new u(this,M,w,L)},C.prototype.pointFromJSON=function(M,w){return u.fromJSON(this,M,w)},u.prototype._getBeta=function(){if(this.curve.endo){var M=this.precomputed;if(M&&M.beta)return M.beta;var w=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(M){var L=this.curve,I=function(P){return L.point(P.x.redMul(L.endo.beta),P.y)};M.beta=w,w.precomputed={beta:null,naf:M.naf&&{wnd:M.naf.wnd,points:M.naf.points.map(I)},doubles:M.doubles&&{step:M.doubles.step,points:M.doubles.points.map(I)}}}return w}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(M,w,L){"string"==typeof w&&(w=JSON.parse(w));var I=M.point(w[0],w[1],L);if(!w[2])return I;function P(Z){return M.point(Z[0],Z[1],L)}var U=w[2];return I.precomputed={beta:null,doubles:U.doubles&&{step:U.doubles.step,points:[I].concat(U.doubles.points.map(P))},naf:U.naf&&{wnd:U.naf.wnd,points:[I].concat(U.naf.points.map(P))}},I},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(M){if(this.inf)return M;if(M.inf)return this;if(this.eq(M))return this.dbl();if(this.neg().eq(M))return this.curve.point(null,null);if(0===this.x.cmp(M.x))return this.curve.point(null,null);var w=this.y.redSub(M.y);0!==w.cmpn(0)&&(w=w.redMul(this.x.redSub(M.x).redInvm()));var L=w.redSqr().redISub(this.x).redISub(M.x),I=w.redMul(this.x.redSub(L)).redISub(this.y);return this.curve.point(L,I)},u.prototype.dbl=function(){if(this.inf)return this;var M=this.y.redAdd(this.y);if(0===M.cmpn(0))return this.curve.point(null,null);var w=this.curve.a,L=this.x.redSqr(),I=M.redInvm(),P=L.redAdd(L).redIAdd(L).redIAdd(w).redMul(I),U=P.redSqr().redISub(this.x.redAdd(this.x)),Z=P.redMul(this.x.redSub(U)).redISub(this.y);return this.curve.point(U,Z)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(M){return M=new e(M,16),this.isInfinity()?this:this._hasDoubles(M)?this.curve._fixedNafMul(this,M):this.curve.endo?this.curve._endoWnafMulAdd([this],[M]):this.curve._wnafMul(this,M)},u.prototype.mulAdd=function(M,w,L){var I=[this,w],P=[M,L];return this.curve.endo?this.curve._endoWnafMulAdd(I,P):this.curve._wnafMulAdd(1,I,P,2)},u.prototype.jmulAdd=function(M,w,L){var I=[this,w],P=[M,L];return this.curve.endo?this.curve._endoWnafMulAdd(I,P,!0):this.curve._wnafMulAdd(1,I,P,2,!0)},u.prototype.eq=function(M){return this===M||this.inf===M.inf&&(this.inf||0===this.x.cmp(M.x)&&0===this.y.cmp(M.y))},u.prototype.neg=function(M){if(this.inf)return this;var w=this.curve.point(this.x,this.y.redNeg());if(M&&this.precomputed){var L=this.precomputed,I=function(P){return P.neg()};w.precomputed={naf:L.naf&&{wnd:L.naf.wnd,points:L.naf.points.map(I)},doubles:L.doubles&&{step:L.doubles.step,points:L.doubles.points.map(I)}}}return w},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},g(O,A.BasePoint),C.prototype.jpoint=function(M,w,L){return new O(this,M,w,L)},O.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var M=this.z.redInvm(),w=M.redSqr(),L=this.x.redMul(w),I=this.y.redMul(w).redMul(M);return this.curve.point(L,I)},O.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},O.prototype.add=function(M){if(this.isInfinity())return M;if(M.isInfinity())return this;var w=M.z.redSqr(),L=this.z.redSqr(),I=this.x.redMul(w),P=M.x.redMul(L),U=this.y.redMul(w.redMul(M.z)),Z=M.y.redMul(L.redMul(this.z)),Y=I.redSub(P),j=U.redSub(Z);if(0===Y.cmpn(0))return 0!==j.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var X=Y.redSqr(),ee=X.redMul(Y),ue=I.redMul(X),le=j.redSqr().redIAdd(ee).redISub(ue).redISub(ue),ie=j.redMul(ue.redISub(le)).redISub(U.redMul(ee)),ce=this.z.redMul(M.z).redMul(Y);return this.curve.jpoint(le,ie,ce)},O.prototype.mixedAdd=function(M){if(this.isInfinity())return M.toJ();if(M.isInfinity())return this;var w=this.z.redSqr(),L=this.x,I=M.x.redMul(w),P=this.y,U=M.y.redMul(w).redMul(this.z),Z=L.redSub(I),Y=P.redSub(U);if(0===Z.cmpn(0))return 0!==Y.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var j=Z.redSqr(),X=j.redMul(Z),ee=L.redMul(j),ue=Y.redSqr().redIAdd(X).redISub(ee).redISub(ee),le=Y.redMul(ee.redISub(ue)).redISub(P.redMul(X)),ie=this.z.redMul(Z);return this.curve.jpoint(ue,le,ie)},O.prototype.dblp=function(M){if(0===M)return this;if(this.isInfinity())return this;if(!M)return this.dbl();var w;if(this.curve.zeroA||this.curve.threeA){var L=this;for(w=0;w<M;w++)L=L.dbl();return L}var I=this.curve.a,P=this.curve.tinv,U=this.x,Z=this.y,Y=this.z,j=Y.redSqr().redSqr(),X=Z.redAdd(Z);for(w=0;w<M;w++){var ee=U.redSqr(),ue=X.redSqr(),le=ue.redSqr(),ie=ee.redAdd(ee).redIAdd(ee).redIAdd(I.redMul(j)),ce=U.redMul(ue),se=ie.redSqr().redISub(ce.redAdd(ce)),he=ce.redISub(se),E=ie.redMul(he);E=E.redIAdd(E).redISub(le);var i=X.redMul(Y);w+1<M&&(j=j.redMul(le)),U=se,Y=i,X=E}return this.curve.jpoint(U,X.redMul(P),Y)},O.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},O.prototype._zeroDbl=function(){var M,w,L;if(this.zOne){var I=this.x.redSqr(),P=this.y.redSqr(),U=P.redSqr(),Z=this.x.redAdd(P).redSqr().redISub(I).redISub(U);Z=Z.redIAdd(Z);var Y=I.redAdd(I).redIAdd(I),j=Y.redSqr().redISub(Z).redISub(Z),X=U.redIAdd(U);X=(X=X.redIAdd(X)).redIAdd(X),M=j,w=Y.redMul(Z.redISub(j)).redISub(X),L=this.y.redAdd(this.y)}else{var ee=this.x.redSqr(),ue=this.y.redSqr(),le=ue.redSqr(),ie=this.x.redAdd(ue).redSqr().redISub(ee).redISub(le);ie=ie.redIAdd(ie);var ce=ee.redAdd(ee).redIAdd(ee),se=ce.redSqr(),he=le.redIAdd(le);he=(he=he.redIAdd(he)).redIAdd(he),M=se.redISub(ie).redISub(ie),w=ce.redMul(ie.redISub(M)).redISub(he),L=(L=this.y.redMul(this.z)).redIAdd(L)}return this.curve.jpoint(M,w,L)},O.prototype._threeDbl=function(){var M,w,L;if(this.zOne){var I=this.x.redSqr(),P=this.y.redSqr(),U=P.redSqr(),Z=this.x.redAdd(P).redSqr().redISub(I).redISub(U);Z=Z.redIAdd(Z);var Y=I.redAdd(I).redIAdd(I).redIAdd(this.curve.a),j=Y.redSqr().redISub(Z).redISub(Z);M=j;var X=U.redIAdd(U);X=(X=X.redIAdd(X)).redIAdd(X),w=Y.redMul(Z.redISub(j)).redISub(X),L=this.y.redAdd(this.y)}else{var ee=this.z.redSqr(),ue=this.y.redSqr(),le=this.x.redMul(ue),ie=this.x.redSub(ee).redMul(this.x.redAdd(ee));ie=ie.redAdd(ie).redIAdd(ie);var ce=le.redIAdd(le),se=(ce=ce.redIAdd(ce)).redAdd(ce);M=ie.redSqr().redISub(se),L=this.y.redAdd(this.z).redSqr().redISub(ue).redISub(ee);var he=ue.redSqr();he=(he=(he=he.redIAdd(he)).redIAdd(he)).redIAdd(he),w=ie.redMul(ce.redISub(M)).redISub(he)}return this.curve.jpoint(M,w,L)},O.prototype._dbl=function(){var M=this.curve.a,w=this.x,L=this.y,I=this.z,P=I.redSqr().redSqr(),U=w.redSqr(),Z=L.redSqr(),Y=U.redAdd(U).redIAdd(U).redIAdd(M.redMul(P)),j=w.redAdd(w),X=(j=j.redIAdd(j)).redMul(Z),ee=Y.redSqr().redISub(X.redAdd(X)),ue=X.redISub(ee),le=Z.redSqr();le=(le=(le=le.redIAdd(le)).redIAdd(le)).redIAdd(le);var ie=Y.redMul(ue).redISub(le),ce=L.redAdd(L).redMul(I);return this.curve.jpoint(ee,ie,ce)},O.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var M=this.x.redSqr(),w=this.y.redSqr(),L=this.z.redSqr(),I=w.redSqr(),P=M.redAdd(M).redIAdd(M),U=P.redSqr(),Z=this.x.redAdd(w).redSqr().redISub(M).redISub(I),Y=(Z=(Z=(Z=Z.redIAdd(Z)).redAdd(Z).redIAdd(Z)).redISub(U)).redSqr(),j=I.redIAdd(I);j=(j=(j=j.redIAdd(j)).redIAdd(j)).redIAdd(j);var X=P.redIAdd(Z).redSqr().redISub(U).redISub(Y).redISub(j),ee=w.redMul(X);ee=(ee=ee.redIAdd(ee)).redIAdd(ee);var ue=this.x.redMul(Y).redISub(ee);ue=(ue=ue.redIAdd(ue)).redIAdd(ue);var le=this.y.redMul(X.redMul(j.redISub(X)).redISub(Z.redMul(Y)));le=(le=(le=le.redIAdd(le)).redIAdd(le)).redIAdd(le);var ie=this.z.redAdd(Z).redSqr().redISub(L).redISub(Y);return this.curve.jpoint(ue,le,ie)},O.prototype.mul=function(M,w){return M=new e(M,w),this.curve._wnafMul(this,M)},O.prototype.eq=function(M){if("affine"===M.type)return this.eq(M.toJ());if(this===M)return!0;var w=this.z.redSqr(),L=M.z.redSqr();if(0!==this.x.redMul(L).redISub(M.x.redMul(w)).cmpn(0))return!1;var I=w.redMul(this.z),P=L.redMul(M.z);return 0===this.y.redMul(P).redISub(M.y.redMul(I)).cmpn(0)},O.prototype.eqXToP=function(M){var w=this.z.redSqr(),L=M.toRed(this.curve.red).redMul(w);if(0===this.x.cmp(L))return!0;for(var I=M.clone(),P=this.curve.redN.redMul(w);;){if(I.iadd(this.curve.n),I.cmp(this.curve.p)>=0)return!1;if(L.redIAdd(P),0===this.x.cmp(L))return!0}},O.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)+">"},O.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},2916:(Ge,Q,m)=>{"use strict";var O,t=Q,e=m(7084),g=m(6270),o=m(1970).assert;function C(d){this.curve="short"===d.type?new g.short(d):"edwards"===d.type?new g.edwards(d):new g.mont(d),this.g=this.curve.g,this.n=this.curve.n,this.hash=d.hash,o(this.g.validate(),"Invalid curve"),o(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(d,M){Object.defineProperty(t,d,{configurable:!0,enumerable:!0,get:function(){var w=new C(M);return Object.defineProperty(t,d,{configurable:!0,enumerable:!0,value:w}),w}})}t.PresetCurve=C,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:e.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:e.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:e.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:e.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"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:e.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:e.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:e.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{O=m(5150)}catch{O=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:e.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",O]})},7626:(Ge,Q,m)=>{"use strict";var t=m(7433),e=m(2438),g=m(1970),A=m(2916),o=m(7950),C=g.assert,u=m(1259),O=m(5957);function d(M){if(!(this instanceof d))return new d(M);"string"==typeof M&&(C(Object.prototype.hasOwnProperty.call(A,M),"Unknown curve "+M),M=A[M]),M instanceof A.PresetCurve&&(M={curve:M}),this.curve=M.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=M.curve.g,this.g.precompute(M.curve.n.bitLength()+1),this.hash=M.hash||M.curve.hash}Ge.exports=d,d.prototype.keyPair=function(w){return new u(this,w)},d.prototype.keyFromPrivate=function(w,L){return u.fromPrivate(this,w,L)},d.prototype.keyFromPublic=function(w,L){return u.fromPublic(this,w,L)},d.prototype.genKeyPair=function(w){w||(w={});for(var L=new e({hash:this.hash,pers:w.pers,persEnc:w.persEnc||"utf8",entropy:w.entropy||o(this.hash.hmacStrength),entropyEnc:w.entropy&&w.entropyEnc||"utf8",nonce:this.n.toArray()}),I=this.n.byteLength(),P=this.n.sub(new t(2));;){var U=new t(L.generate(I));if(!(U.cmp(P)>0))return U.iaddn(1),this.keyFromPrivate(U)}},d.prototype._truncateToN=function(w,L){var I=8*w.byteLength()-this.n.bitLength();return I>0&&(w=w.ushrn(I)),!L&&w.cmp(this.n)>=0?w.sub(this.n):w},d.prototype.sign=function(w,L,I,P){"object"==typeof I&&(P=I,I=null),P||(P={}),L=this.keyFromPrivate(L,I),w=this._truncateToN(new t(w,16));for(var U=this.n.byteLength(),Z=L.getPrivate().toArray("be",U),Y=w.toArray("be",U),j=new e({hash:this.hash,entropy:Z,nonce:Y,pers:P.pers,persEnc:P.persEnc||"utf8"}),X=this.n.sub(new t(1)),ee=0;;ee++){var ue=P.k?P.k(ee):new t(j.generate(this.n.byteLength()));if(!((ue=this._truncateToN(ue,!0)).cmpn(1)<=0||ue.cmp(X)>=0)){var le=this.g.mul(ue);if(!le.isInfinity()){var ie=le.getX(),ce=ie.umod(this.n);if(0!==ce.cmpn(0)){var se=ue.invm(this.n).mul(ce.mul(L.getPrivate()).iadd(w));if(0!==(se=se.umod(this.n)).cmpn(0)){var he=(le.getY().isOdd()?1:0)|(0!==ie.cmp(ce)?2:0);return P.canonical&&se.cmp(this.nh)>0&&(se=this.n.sub(se),he^=1),new O({r:ce,s:se,recoveryParam:he})}}}}}},d.prototype.verify=function(w,L,I,P){w=this._truncateToN(new t(w,16)),I=this.keyFromPublic(I,P);var U=(L=new O(L,"hex")).r,Z=L.s;if(U.cmpn(1)<0||U.cmp(this.n)>=0||Z.cmpn(1)<0||Z.cmp(this.n)>=0)return!1;var ee,Y=Z.invm(this.n),j=Y.mul(w).umod(this.n),X=Y.mul(U).umod(this.n);return this.curve._maxwellTrick?!(ee=this.g.jmulAdd(j,I.getPublic(),X)).isInfinity()&&ee.eqXToP(U):!(ee=this.g.mulAdd(j,I.getPublic(),X)).isInfinity()&&0===ee.getX().umod(this.n).cmp(U)},d.prototype.recoverPubKey=function(M,w,L,I){C((3&L)===L,"The recovery param is more than two bits"),w=new O(w,I);var P=this.n,U=new t(M),Z=w.r,Y=w.s,j=1&L,X=L>>1;if(Z.cmp(this.curve.p.umod(this.curve.n))>=0&&X)throw new Error("Unable to find sencond key candinate");Z=this.curve.pointFromX(X?Z.add(this.curve.n):Z,j);var ee=w.r.invm(P),ue=P.sub(U).mul(ee).umod(P),le=Y.mul(ee).umod(P);return this.g.mulAdd(ue,Z,le)},d.prototype.getKeyRecoveryParam=function(M,w,L,I){if(null!==(w=new O(w,I)).recoveryParam)return w.recoveryParam;for(var P=0;P<4;P++){var U;try{U=this.recoverPubKey(M,w,P)}catch{continue}if(U.eq(L))return P}throw new Error("Unable to find valid recovery factor")}},1259:(Ge,Q,m)=>{"use strict";var t=m(7433),g=m(1970).assert;function A(o,C){this.ec=o,this.priv=null,this.pub=null,C.priv&&this._importPrivate(C.priv,C.privEnc),C.pub&&this._importPublic(C.pub,C.pubEnc)}Ge.exports=A,A.fromPublic=function(C,u,O){return u instanceof A?u:new A(C,{pub:u,pubEnc:O})},A.fromPrivate=function(C,u,O){return u instanceof A?u:new A(C,{priv:u,privEnc:O})},A.prototype.validate=function(){var C=this.getPublic();return C.isInfinity()?{result:!1,reason:"Invalid public key"}:C.validate()?C.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},A.prototype.getPublic=function(C,u){return"string"==typeof C&&(u=C,C=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),u?this.pub.encode(u,C):this.pub},A.prototype.getPrivate=function(C){return"hex"===C?this.priv.toString(16,2):this.priv},A.prototype._importPrivate=function(C,u){this.priv=new t(C,u||16),this.priv=this.priv.umod(this.ec.curve.n)},A.prototype._importPublic=function(C,u){if(C.x||C.y)return"mont"===this.ec.curve.type?g(C.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&g(C.x&&C.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(C.x,C.y));this.pub=this.ec.curve.decodePoint(C,u)},A.prototype.derive=function(C){return C.validate()||g(C.validate(),"public point not validated"),C.mul(this.priv).getX()},A.prototype.sign=function(C,u,O){return this.ec.sign(C,this,u,O)},A.prototype.verify=function(C,u){return this.ec.verify(C,u,this)},A.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},5957:(Ge,Q,m)=>{"use strict";var t=m(7433),e=m(1970),g=e.assert;function A(d,M){if(d instanceof A)return d;this._importDER(d,M)||(g(d.r&&d.s,"Signature without r or s"),this.r=new t(d.r,16),this.s=new t(d.s,16),this.recoveryParam=void 0===d.recoveryParam?null:d.recoveryParam)}function o(){this.place=0}function C(d,M){var w=d[M.place++];if(!(128&w))return w;var L=15&w;if(0===L||L>4)return!1;for(var I=0,P=0,U=M.place;P<L;P++,U++)I<<=8,I|=d[U],I>>>=0;return!(I<=127)&&(M.place=U,I)}function u(d){for(var M=0,w=d.length-1;!d[M]&&!(128&d[M+1])&&M<w;)M++;return 0===M?d:d.slice(M)}function O(d,M){if(M<128)d.push(M);else{var w=1+(Math.log(M)/Math.LN2>>>3);for(d.push(128|w);--w;)d.push(M>>>(w<<3)&255);d.push(M)}}Ge.exports=A,A.prototype._importDER=function(M,w){M=e.toArray(M,w);var L=new o;if(48!==M[L.place++])return!1;var I=C(M,L);if(!1===I||I+L.place!==M.length||2!==M[L.place++])return!1;var P=C(M,L);if(!1===P)return!1;var U=M.slice(L.place,P+L.place);if(L.place+=P,2!==M[L.place++])return!1;var Z=C(M,L);if(!1===Z||M.length!==Z+L.place)return!1;var Y=M.slice(L.place,Z+L.place);if(0===U[0]){if(!(128&U[1]))return!1;U=U.slice(1)}if(0===Y[0]){if(!(128&Y[1]))return!1;Y=Y.slice(1)}return this.r=new t(U),this.s=new t(Y),this.recoveryParam=null,!0},A.prototype.toDER=function(M){var w=this.r.toArray(),L=this.s.toArray();for(128&w[0]&&(w=[0].concat(w)),128&L[0]&&(L=[0].concat(L)),w=u(w),L=u(L);!(L[0]||128&L[1]);)L=L.slice(1);var I=[2];O(I,w.length),(I=I.concat(w)).push(2),O(I,L.length);var P=I.concat(L),U=[48];return O(U,P.length),U=U.concat(P),e.encode(U,M)}},1885:(Ge,Q,m)=>{"use strict";var t=m(7084),e=m(2916),g=m(1970),A=g.assert,o=g.parseBytes,C=m(7535),u=m(8241);function O(d){if(A("ed25519"===d,"only tested with ed25519 so far"),!(this instanceof O))return new O(d);this.curve=d=e[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=t.sha512}Ge.exports=O,O.prototype.sign=function(M,w){M=o(M);var L=this.keyFromSecret(w),I=this.hashInt(L.messagePrefix(),M),P=this.g.mul(I),U=this.encodePoint(P),Z=this.hashInt(U,L.pubBytes(),M).mul(L.priv()),Y=I.add(Z).umod(this.curve.n);return this.makeSignature({R:P,S:Y,Rencoded:U})},O.prototype.verify=function(M,w,L){M=o(M),w=this.makeSignature(w);var I=this.keyFromPublic(L),P=this.hashInt(w.Rencoded(),I.pubBytes(),M),U=this.g.mul(w.S());return w.R().add(I.pub().mul(P)).eq(U)},O.prototype.hashInt=function(){for(var M=this.hash(),w=0;w<arguments.length;w++)M.update(arguments[w]);return g.intFromLE(M.digest()).umod(this.curve.n)},O.prototype.keyFromPublic=function(M){return C.fromPublic(this,M)},O.prototype.keyFromSecret=function(M){return C.fromSecret(this,M)},O.prototype.makeSignature=function(M){return M instanceof u?M:new u(this,M)},O.prototype.encodePoint=function(M){var w=M.getY().toArray("le",this.encodingLength);return w[this.encodingLength-1]|=M.getX().isOdd()?128:0,w},O.prototype.decodePoint=function(M){var w=(M=g.parseBytes(M)).length-1,L=M.slice(0,w).concat(-129&M[w]),I=0!=(128&M[w]),P=g.intFromLE(L);return this.curve.pointFromY(P,I)},O.prototype.encodeInt=function(M){return M.toArray("le",this.encodingLength)},O.prototype.decodeInt=function(M){return g.intFromLE(M)},O.prototype.isPoint=function(M){return M instanceof this.pointClass}},7535:(Ge,Q,m)=>{"use strict";var t=m(1970),e=t.assert,g=t.parseBytes,A=t.cachedProperty;function o(C,u){this.eddsa=C,this._secret=g(u.secret),C.isPoint(u.pub)?this._pub=u.pub:this._pubBytes=g(u.pub)}o.fromPublic=function(u,O){return O instanceof o?O:new o(u,{pub:O})},o.fromSecret=function(u,O){return O instanceof o?O:new o(u,{secret:O})},o.prototype.secret=function(){return this._secret},A(o,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),A(o,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),A(o,"privBytes",function(){var u=this.eddsa,O=this.hash(),d=u.encodingLength-1,M=O.slice(0,u.encodingLength);return M[0]&=248,M[d]&=127,M[d]|=64,M}),A(o,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),A(o,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),A(o,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),o.prototype.sign=function(u){return e(this._secret,"KeyPair can only verify"),this.eddsa.sign(u,this)},o.prototype.verify=function(u,O){return this.eddsa.verify(u,O,this)},o.prototype.getSecret=function(u){return e(this._secret,"KeyPair is public only"),t.encode(this.secret(),u)},o.prototype.getPublic=function(u){return t.encode(this.pubBytes(),u)},Ge.exports=o},8241:(Ge,Q,m)=>{"use strict";var t=m(7433),e=m(1970),g=e.assert,A=e.cachedProperty,o=e.parseBytes;function C(u,O){this.eddsa=u,"object"!=typeof O&&(O=o(O)),Array.isArray(O)&&(O={R:O.slice(0,u.encodingLength),S:O.slice(u.encodingLength)}),g(O.R&&O.S,"Signature without R or S"),u.isPoint(O.R)&&(this._R=O.R),O.S instanceof t&&(this._S=O.S),this._Rencoded=Array.isArray(O.R)?O.R:O.Rencoded,this._Sencoded=Array.isArray(O.S)?O.S:O.Sencoded}A(C,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),A(C,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),A(C,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),A(C,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),C.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},C.prototype.toHex=function(){return e.encode(this.toBytes(),"hex").toUpperCase()},Ge.exports=C},5150:Ge=>{Ge.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"]]}}},1970:(Ge,Q,m)=>{"use strict";var t=Q,e=m(7433),g=m(2391),A=m(8195);t.assert=g,t.toArray=A.toArray,t.zero2=A.zero2,t.toHex=A.toHex,t.encode=A.encode,t.getNAF=function o(M,w,L){var I=new Array(Math.max(M.bitLength(),L)+1);I.fill(0);for(var P=1<<w+1,U=M.clone(),Z=0;Z<I.length;Z++){var Y,j=U.andln(P-1);U.isOdd()?U.isubn(Y=j>(P>>1)-1?(P>>1)-j:j):Y=0,I[Z]=Y,U.iushrn(1)}return I},t.getJSF=function C(M,w){var L=[[],[]];M=M.clone(),w=w.clone();for(var U,I=0,P=0;M.cmpn(-I)>0||w.cmpn(-P)>0;){var j,X,Z=M.andln(3)+I&3,Y=w.andln(3)+P&3;3===Z&&(Z=-1),3===Y&&(Y=-1),j=0==(1&Z)?0:3!=(U=M.andln(7)+I&7)&&5!==U||2!==Y?Z:-Z,L[0].push(j),X=0==(1&Y)?0:3!=(U=w.andln(7)+P&7)&&5!==U||2!==Z?Y:-Y,L[1].push(X),2*I===j+1&&(I=1-I),2*P===X+1&&(P=1-P),M.iushrn(1),w.iushrn(1)}return L},t.cachedProperty=function u(M,w,L){var I="_"+w;M.prototype[w]=function(){return void 0!==this[I]?this[I]:this[I]=L.call(this)}},t.parseBytes=function O(M){return"string"==typeof M?t.toArray(M,"hex"):M},t.intFromLE=function d(M){return new e(M,"hex","le")}},7433:function(Ge,Q,m){!function(t,e){"use strict";function g(E,i){if(!E)throw new Error(i||"Assertion failed")}function A(E,i){E.super_=i;var r=function(){};r.prototype=i.prototype,E.prototype=new r,E.prototype.constructor=E}function o(E,i,r){if(o.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,null!==E&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(E||0,i||10,r||"be"))}var C;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(5568).Buffer}catch{}function u(E,i){var r=E.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function O(E,i,r){var h=u(E,r);return r-1>=i&&(h|=u(E,r-1)<<4),h}function d(E,i,r,h){for(var c=0,y=Math.min(E.length,r),S=i;S<y;S++){var k=E.charCodeAt(S)-48;c*=h,c+=k>=49?k-49+10:k>=17?k-17+10:k}return c}o.isBN=function(i){return i instanceof o||null!==i&&"object"==typeof i&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,r){return i.cmp(r)>0?i:r},o.min=function(i,r){return i.cmp(r)<0?i:r},o.prototype._init=function(i,r,h){if("number"==typeof i)return this._initNumber(i,r,h);if("object"==typeof i)return this._initArray(i,r,h);"hex"===r&&(r=16),g(r===(0|r)&&r>=2&&r<=36);var c=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(c++,this.negative=1),c<i.length&&(16===r?this._parseHex(i,c,h):(this._parseBase(i,r,c),"le"===h&&this._initArray(this.toArray(),r,h)))},o.prototype._initNumber=function(i,r,h){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[67108863&i],this.length=1):i<4503599627370496?(this.words=[67108863&i,i/67108864&67108863],this.length=2):(g(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===h&&this._initArray(this.toArray(),r,h)},o.prototype._initArray=function(i,r,h){if(g("number"==typeof i.length),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var y,S,k=0;if("be"===h)for(c=i.length-1,y=0;c>=0;c-=3)this.words[y]|=(S=i[c]|i[c-1]<<8|i[c-2]<<16)<<k&67108863,this.words[y+1]=S>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);else if("le"===h)for(c=0,y=0;c<i.length;c+=3)this.words[y]|=(S=i[c]|i[c+1]<<8|i[c+2]<<16)<<k&67108863,this.words[y+1]=S>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);return this.strip()},o.prototype._parseHex=function(i,r,h){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var k,y=0,S=0;if("be"===h)for(c=i.length-1;c>=r;c-=2)k=O(i,r,c)<<y,this.words[S]|=67108863&k,y>=18?(y-=18,this.words[S+=1]|=k>>>26):y+=8;else for(c=(i.length-r)%2==0?r+1:r;c<i.length;c+=2)k=O(i,r,c)<<y,this.words[S]|=67108863&k,y>=18?(y-=18,this.words[S+=1]|=k>>>26):y+=8;this.strip()},o.prototype._parseBase=function(i,r,h){this.words=[0],this.length=1;for(var c=0,y=1;y<=67108863;y*=r)c++;c--,y=y/r|0;for(var S=i.length-h,k=S%c,v=Math.min(S,S-k)+h,n=0,b=h;b<v;b+=c)n=d(i,b,b+c,r),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==k){var B=1;for(n=d(i,b,i.length,r),b=0;b<k;b++)B*=r;this.imuln(B),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var r=0;r<this.length;r++)i.words[r]=this.words[r];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var M=["","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"],w=[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],L=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function P(E,i,r){r.negative=i.negative^E.negative;var h=E.length+i.length|0;r.length=h,h=h-1|0;var c=0|E.words[0],y=0|i.words[0],S=c*y,v=S/67108864|0;r.words[0]=67108863&S;for(var n=1;n<h;n++){for(var b=v>>>26,B=67108863&v,z=Math.min(n,i.length-1),W=Math.max(0,n-E.length+1);W<=z;W++)b+=(S=(c=0|E.words[n-W|0])*(y=0|i.words[W])+B)/67108864|0,B=67108863&S;r.words[n]=0|B,v=0|b}return 0!==v?r.words[n]=0|v:r.length--,r.strip()}o.prototype.toString=function(i,r){var h;if(r=0|r||1,16===(i=i||10)||"hex"===i){h="";for(var c=0,y=0,S=0;S<this.length;S++){var k=this.words[S],v=(16777215&(k<<c|y)).toString(16);h=0!=(y=k>>>24-c&16777215)||S!==this.length-1?M[6-v.length]+v+h:v+h,(c+=2)>=26&&(c-=26,S--)}for(0!==y&&(h=y.toString(16)+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=L[i];h="";var B=this.clone();for(B.negative=0;!B.isZero();){var z=B.modn(b).toString(i);h=(B=B.idivn(b)).isZero()?z+h:M[n-z.length]+z+h}for(this.isZero()&&(h="0"+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}g(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return 2===this.length?i+=67108864*this.words[1]:3===this.length&&1===this.words[2]?i+=4503599627370496+67108864*this.words[1]:this.length>2&&g(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,r){return g(typeof C<"u"),this.toArrayLike(C,i,r)},o.prototype.toArray=function(i,r){return this.toArrayLike(Array,i,r)},o.prototype.toArrayLike=function(i,r,h){var c=this.byteLength(),y=h||Math.max(1,c);g(c<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var v,n,S="le"===r,k=new i(y),b=this.clone();if(S){for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),k[n]=v;for(;n<y;n++)k[n]=0}else{for(n=0;n<y-c;n++)k[n]=0;for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),k[y-n-1]=v}return k},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,h=0;return r>=4096&&(h+=13,r>>>=13),r>=64&&(h+=7,r>>>=7),r>=8&&(h+=4,r>>>=4),r>=2&&(h+=2,r>>>=2),h+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,h=0;return 0==(8191&r)&&(h+=13,r>>>=13),0==(127&r)&&(h+=7,r>>>=7),0==(15&r)&&(h+=4,r>>>=4),0==(3&r)&&(h+=2,r>>>=2),0==(1&r)&&h++,h},o.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,r=0;r<this.length;r++){var h=this._zeroBits(this.words[r]);if(i+=h,26!==h)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var r=0;r<i.length;r++)this.words[r]=this.words[r]|i.words[r];return this.strip()},o.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var r;r=this.length>i.length?i:this;for(var h=0;h<r.length;h++)this.words[h]=this.words[h]&i.words[h];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var r,h;this.length>i.length?(r=this,h=i):(r=i,h=this);for(var c=0;c<h.length;c++)this.words[c]=r.words[c]^h.words[c];if(this!==r)for(;c<r.length;c++)this.words[c]=r.words[c];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),h=i%26;this._expand(r),h>0&&r--;for(var c=0;c<r;c++)this.words[c]=67108863&~this.words[c];return h>0&&(this.words[c]=~this.words[c]&67108863>>26-h),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){g("number"==typeof i&&i>=0);var h=i/26|0,c=i%26;return this._expand(h+1),this.words[h]=r?this.words[h]|1<<c:this.words[h]&~(1<<c),this.strip()},o.prototype.iadd=function(i){var r,h,c;if(0!==this.negative&&0===i.negative)return this.negative=0,r=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,r=this.isub(i),i.negative=1,r._normSign();this.length>i.length?(h=this,c=i):(h=i,c=this);for(var y=0,S=0;S<c.length;S++)this.words[S]=67108863&(r=(0|h.words[S])+(0|c.words[S])+y),y=r>>>26;for(;0!==y&&S<h.length;S++)this.words[S]=67108863&(r=(0|h.words[S])+y),y=r>>>26;if(this.length=h.length,0!==y)this.words[this.length]=y,this.length++;else if(h!==this)for(;S<h.length;S++)this.words[S]=h.words[S];return this},o.prototype.add=function(i){var r;return 0!==i.negative&&0===this.negative?(i.negative=0,r=this.sub(i),i.negative^=1,r):0===i.negative&&0!==this.negative?(this.negative=0,r=i.sub(this),this.negative=1,r):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var r=this.iadd(i);return i.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var c,y,h=this.cmp(i);if(0===h)return this.negative=0,this.length=1,this.words[0]=0,this;h>0?(c=this,y=i):(c=i,y=this);for(var S=0,k=0;k<y.length;k++)S=(r=(0|c.words[k])-(0|y.words[k])+S)>>26,this.words[k]=67108863&r;for(;0!==S&&k<c.length;k++)S=(r=(0|c.words[k])+S)>>26,this.words[k]=67108863&r;if(0===S&&k<c.length&&c!==this)for(;k<c.length;k++)this.words[k]=c.words[k];return this.length=Math.max(this.length,k),c!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var U=function(i,r,h){var v,n,b,c=i.words,y=r.words,S=h.words,k=0,B=0|c[0],z=8191&B,W=B>>>13,Oe=0|c[1],it=8191&Oe,Ne=Oe>>>13,ot=0|c[2],Ie=8191&ot,ve=ot>>>13,fe=0|c[3],Se=8191&fe,te=fe>>>13,Ke=0|c[4],Ae=8191&Ke,oe=Ke>>>13,ye=0|c[5],me=8191&ye,Me=ye>>>13,Ze=0|c[6],q=8191&Ze,de=Ze>>>13,xe=0|c[7],ke=8191&xe,ft=xe>>>13,_t=0|c[8],ct=8191&_t,nt=_t>>>13,Jt=0|c[9],vt=8191&Jt,ne=Jt>>>13,Ht=0|y[0],De=8191&Ht,ze=Ht>>>13,wt=0|y[1],Re=8191&wt,tt=wt>>>13,Bt=0|y[2],It=8191&Bt,zt=Bt>>>13,xt=0|y[3],we=8191&xt,J=xt>>>13,be=0|y[4],Fe=8191&be,at=be>>>13,ii=0|y[5],Gt=8191&ii,ei=ii>>>13,ht=0|y[6],rt=8191&ht,yt=ht>>>13,ri=0|y[7],Ut=8191&ri,Vt=ri>>>13,Ft=0|y[8],Qe=8191&Ft,Ve=Ft>>>13,je=0|y[9],Xe=8191&je,Et=je>>>13;h.negative=i.negative^r.negative,h.length=19;var mi=(k+(v=Math.imul(z,De))|0)+((8191&(n=(n=Math.imul(z,ze))+Math.imul(W,De)|0))<<13)|0;k=((b=Math.imul(W,ze))+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,v=Math.imul(it,De),n=(n=Math.imul(it,ze))+Math.imul(Ne,De)|0,b=Math.imul(Ne,ze);var Li=(k+(v=v+Math.imul(z,Re)|0)|0)+((8191&(n=(n=n+Math.imul(z,tt)|0)+Math.imul(W,Re)|0))<<13)|0;k=((b=b+Math.imul(W,tt)|0)+(n>>>13)|0)+(Li>>>26)|0,Li&=67108863,v=Math.imul(Ie,De),n=(n=Math.imul(Ie,ze))+Math.imul(ve,De)|0,b=Math.imul(ve,ze),v=v+Math.imul(it,Re)|0,n=(n=n+Math.imul(it,tt)|0)+Math.imul(Ne,Re)|0,b=b+Math.imul(Ne,tt)|0;var wi=(k+(v=v+Math.imul(z,It)|0)|0)+((8191&(n=(n=n+Math.imul(z,zt)|0)+Math.imul(W,It)|0))<<13)|0;k=((b=b+Math.imul(W,zt)|0)+(n>>>13)|0)+(wi>>>26)|0,wi&=67108863,v=Math.imul(Se,De),n=(n=Math.imul(Se,ze))+Math.imul(te,De)|0,b=Math.imul(te,ze),v=v+Math.imul(Ie,Re)|0,n=(n=n+Math.imul(Ie,tt)|0)+Math.imul(ve,Re)|0,b=b+Math.imul(ve,tt)|0,v=v+Math.imul(it,It)|0,n=(n=n+Math.imul(it,zt)|0)+Math.imul(Ne,It)|0,b=b+Math.imul(Ne,zt)|0;var Vi=(k+(v=v+Math.imul(z,we)|0)|0)+((8191&(n=(n=n+Math.imul(z,J)|0)+Math.imul(W,we)|0))<<13)|0;k=((b=b+Math.imul(W,J)|0)+(n>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,v=Math.imul(Ae,De),n=(n=Math.imul(Ae,ze))+Math.imul(oe,De)|0,b=Math.imul(oe,ze),v=v+Math.imul(Se,Re)|0,n=(n=n+Math.imul(Se,tt)|0)+Math.imul(te,Re)|0,b=b+Math.imul(te,tt)|0,v=v+Math.imul(Ie,It)|0,n=(n=n+Math.imul(Ie,zt)|0)+Math.imul(ve,It)|0,b=b+Math.imul(ve,zt)|0,v=v+Math.imul(it,we)|0,n=(n=n+Math.imul(it,J)|0)+Math.imul(Ne,we)|0,b=b+Math.imul(Ne,J)|0;var qe=(k+(v=v+Math.imul(z,Fe)|0)|0)+((8191&(n=(n=n+Math.imul(z,at)|0)+Math.imul(W,Fe)|0))<<13)|0;k=((b=b+Math.imul(W,at)|0)+(n>>>13)|0)+(qe>>>26)|0,qe&=67108863,v=Math.imul(me,De),n=(n=Math.imul(me,ze))+Math.imul(Me,De)|0,b=Math.imul(Me,ze),v=v+Math.imul(Ae,Re)|0,n=(n=n+Math.imul(Ae,tt)|0)+Math.imul(oe,Re)|0,b=b+Math.imul(oe,tt)|0,v=v+Math.imul(Se,It)|0,n=(n=n+Math.imul(Se,zt)|0)+Math.imul(te,It)|0,b=b+Math.imul(te,zt)|0,v=v+Math.imul(Ie,we)|0,n=(n=n+Math.imul(Ie,J)|0)+Math.imul(ve,we)|0,b=b+Math.imul(ve,J)|0,v=v+Math.imul(it,Fe)|0,n=(n=n+Math.imul(it,at)|0)+Math.imul(Ne,Fe)|0,b=b+Math.imul(Ne,at)|0;var Tt=(k+(v=v+Math.imul(z,Gt)|0)|0)+((8191&(n=(n=n+Math.imul(z,ei)|0)+Math.imul(W,Gt)|0))<<13)|0;k=((b=b+Math.imul(W,ei)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,v=Math.imul(q,De),n=(n=Math.imul(q,ze))+Math.imul(de,De)|0,b=Math.imul(de,ze),v=v+Math.imul(me,Re)|0,n=(n=n+Math.imul(me,tt)|0)+Math.imul(Me,Re)|0,b=b+Math.imul(Me,tt)|0,v=v+Math.imul(Ae,It)|0,n=(n=n+Math.imul(Ae,zt)|0)+Math.imul(oe,It)|0,b=b+Math.imul(oe,zt)|0,v=v+Math.imul(Se,we)|0,n=(n=n+Math.imul(Se,J)|0)+Math.imul(te,we)|0,b=b+Math.imul(te,J)|0,v=v+Math.imul(Ie,Fe)|0,n=(n=n+Math.imul(Ie,at)|0)+Math.imul(ve,Fe)|0,b=b+Math.imul(ve,at)|0,v=v+Math.imul(it,Gt)|0,n=(n=n+Math.imul(it,ei)|0)+Math.imul(Ne,Gt)|0,b=b+Math.imul(Ne,ei)|0;var ge=(k+(v=v+Math.imul(z,rt)|0)|0)+((8191&(n=(n=n+Math.imul(z,yt)|0)+Math.imul(W,rt)|0))<<13)|0;k=((b=b+Math.imul(W,yt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,v=Math.imul(ke,De),n=(n=Math.imul(ke,ze))+Math.imul(ft,De)|0,b=Math.imul(ft,ze),v=v+Math.imul(q,Re)|0,n=(n=n+Math.imul(q,tt)|0)+Math.imul(de,Re)|0,b=b+Math.imul(de,tt)|0,v=v+Math.imul(me,It)|0,n=(n=n+Math.imul(me,zt)|0)+Math.imul(Me,It)|0,b=b+Math.imul(Me,zt)|0,v=v+Math.imul(Ae,we)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(oe,we)|0,b=b+Math.imul(oe,J)|0,v=v+Math.imul(Se,Fe)|0,n=(n=n+Math.imul(Se,at)|0)+Math.imul(te,Fe)|0,b=b+Math.imul(te,at)|0,v=v+Math.imul(Ie,Gt)|0,n=(n=n+Math.imul(Ie,ei)|0)+Math.imul(ve,Gt)|0,b=b+Math.imul(ve,ei)|0,v=v+Math.imul(it,rt)|0,n=(n=n+Math.imul(it,yt)|0)+Math.imul(Ne,rt)|0,b=b+Math.imul(Ne,yt)|0;var Dt=(k+(v=v+Math.imul(z,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(z,Vt)|0)+Math.imul(W,Ut)|0))<<13)|0;k=((b=b+Math.imul(W,Vt)|0)+(n>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(ct,De),n=(n=Math.imul(ct,ze))+Math.imul(nt,De)|0,b=Math.imul(nt,ze),v=v+Math.imul(ke,Re)|0,n=(n=n+Math.imul(ke,tt)|0)+Math.imul(ft,Re)|0,b=b+Math.imul(ft,tt)|0,v=v+Math.imul(q,It)|0,n=(n=n+Math.imul(q,zt)|0)+Math.imul(de,It)|0,b=b+Math.imul(de,zt)|0,v=v+Math.imul(me,we)|0,n=(n=n+Math.imul(me,J)|0)+Math.imul(Me,we)|0,b=b+Math.imul(Me,J)|0,v=v+Math.imul(Ae,Fe)|0,n=(n=n+Math.imul(Ae,at)|0)+Math.imul(oe,Fe)|0,b=b+Math.imul(oe,at)|0,v=v+Math.imul(Se,Gt)|0,n=(n=n+Math.imul(Se,ei)|0)+Math.imul(te,Gt)|0,b=b+Math.imul(te,ei)|0,v=v+Math.imul(Ie,rt)|0,n=(n=n+Math.imul(Ie,yt)|0)+Math.imul(ve,rt)|0,b=b+Math.imul(ve,yt)|0,v=v+Math.imul(it,Ut)|0,n=(n=n+Math.imul(it,Vt)|0)+Math.imul(Ne,Ut)|0,b=b+Math.imul(Ne,Vt)|0;var Kt=(k+(v=v+Math.imul(z,Qe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ve)|0)+Math.imul(W,Qe)|0))<<13)|0;k=((b=b+Math.imul(W,Ve)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,v=Math.imul(vt,De),n=(n=Math.imul(vt,ze))+Math.imul(ne,De)|0,b=Math.imul(ne,ze),v=v+Math.imul(ct,Re)|0,n=(n=n+Math.imul(ct,tt)|0)+Math.imul(nt,Re)|0,b=b+Math.imul(nt,tt)|0,v=v+Math.imul(ke,It)|0,n=(n=n+Math.imul(ke,zt)|0)+Math.imul(ft,It)|0,b=b+Math.imul(ft,zt)|0,v=v+Math.imul(q,we)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,we)|0,b=b+Math.imul(de,J)|0,v=v+Math.imul(me,Fe)|0,n=(n=n+Math.imul(me,at)|0)+Math.imul(Me,Fe)|0,b=b+Math.imul(Me,at)|0,v=v+Math.imul(Ae,Gt)|0,n=(n=n+Math.imul(Ae,ei)|0)+Math.imul(oe,Gt)|0,b=b+Math.imul(oe,ei)|0,v=v+Math.imul(Se,rt)|0,n=(n=n+Math.imul(Se,yt)|0)+Math.imul(te,rt)|0,b=b+Math.imul(te,yt)|0,v=v+Math.imul(Ie,Ut)|0,n=(n=n+Math.imul(Ie,Vt)|0)+Math.imul(ve,Ut)|0,b=b+Math.imul(ve,Vt)|0,v=v+Math.imul(it,Qe)|0,n=(n=n+Math.imul(it,Ve)|0)+Math.imul(Ne,Qe)|0,b=b+Math.imul(Ne,Ve)|0;var fi=(k+(v=v+Math.imul(z,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Et)|0)+Math.imul(W,Xe)|0))<<13)|0;k=((b=b+Math.imul(W,Et)|0)+(n>>>13)|0)+(fi>>>26)|0,fi&=67108863,v=Math.imul(vt,Re),n=(n=Math.imul(vt,tt))+Math.imul(ne,Re)|0,b=Math.imul(ne,tt),v=v+Math.imul(ct,It)|0,n=(n=n+Math.imul(ct,zt)|0)+Math.imul(nt,It)|0,b=b+Math.imul(nt,zt)|0,v=v+Math.imul(ke,we)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ft,we)|0,b=b+Math.imul(ft,J)|0,v=v+Math.imul(q,Fe)|0,n=(n=n+Math.imul(q,at)|0)+Math.imul(de,Fe)|0,b=b+Math.imul(de,at)|0,v=v+Math.imul(me,Gt)|0,n=(n=n+Math.imul(me,ei)|0)+Math.imul(Me,Gt)|0,b=b+Math.imul(Me,ei)|0,v=v+Math.imul(Ae,rt)|0,n=(n=n+Math.imul(Ae,yt)|0)+Math.imul(oe,rt)|0,b=b+Math.imul(oe,yt)|0,v=v+Math.imul(Se,Ut)|0,n=(n=n+Math.imul(Se,Vt)|0)+Math.imul(te,Ut)|0,b=b+Math.imul(te,Vt)|0,v=v+Math.imul(Ie,Qe)|0,n=(n=n+Math.imul(Ie,Ve)|0)+Math.imul(ve,Qe)|0,b=b+Math.imul(ve,Ve)|0;var Mi=(k+(v=v+Math.imul(it,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(it,Et)|0)+Math.imul(Ne,Xe)|0))<<13)|0;k=((b=b+Math.imul(Ne,Et)|0)+(n>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,v=Math.imul(vt,It),n=(n=Math.imul(vt,zt))+Math.imul(ne,It)|0,b=Math.imul(ne,zt),v=v+Math.imul(ct,we)|0,n=(n=n+Math.imul(ct,J)|0)+Math.imul(nt,we)|0,b=b+Math.imul(nt,J)|0,v=v+Math.imul(ke,Fe)|0,n=(n=n+Math.imul(ke,at)|0)+Math.imul(ft,Fe)|0,b=b+Math.imul(ft,at)|0,v=v+Math.imul(q,Gt)|0,n=(n=n+Math.imul(q,ei)|0)+Math.imul(de,Gt)|0,b=b+Math.imul(de,ei)|0,v=v+Math.imul(me,rt)|0,n=(n=n+Math.imul(me,yt)|0)+Math.imul(Me,rt)|0,b=b+Math.imul(Me,yt)|0,v=v+Math.imul(Ae,Ut)|0,n=(n=n+Math.imul(Ae,Vt)|0)+Math.imul(oe,Ut)|0,b=b+Math.imul(oe,Vt)|0,v=v+Math.imul(Se,Qe)|0,n=(n=n+Math.imul(Se,Ve)|0)+Math.imul(te,Qe)|0,b=b+Math.imul(te,Ve)|0;var Pi=(k+(v=v+Math.imul(Ie,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Et)|0)+Math.imul(ve,Xe)|0))<<13)|0;k=((b=b+Math.imul(ve,Et)|0)+(n>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,v=Math.imul(vt,we),n=(n=Math.imul(vt,J))+Math.imul(ne,we)|0,b=Math.imul(ne,J),v=v+Math.imul(ct,Fe)|0,n=(n=n+Math.imul(ct,at)|0)+Math.imul(nt,Fe)|0,b=b+Math.imul(nt,at)|0,v=v+Math.imul(ke,Gt)|0,n=(n=n+Math.imul(ke,ei)|0)+Math.imul(ft,Gt)|0,b=b+Math.imul(ft,ei)|0,v=v+Math.imul(q,rt)|0,n=(n=n+Math.imul(q,yt)|0)+Math.imul(de,rt)|0,b=b+Math.imul(de,yt)|0,v=v+Math.imul(me,Ut)|0,n=(n=n+Math.imul(me,Vt)|0)+Math.imul(Me,Ut)|0,b=b+Math.imul(Me,Vt)|0,v=v+Math.imul(Ae,Qe)|0,n=(n=n+Math.imul(Ae,Ve)|0)+Math.imul(oe,Qe)|0,b=b+Math.imul(oe,Ve)|0;var Ui=(k+(v=v+Math.imul(Se,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Se,Et)|0)+Math.imul(te,Xe)|0))<<13)|0;k=((b=b+Math.imul(te,Et)|0)+(n>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,v=Math.imul(vt,Fe),n=(n=Math.imul(vt,at))+Math.imul(ne,Fe)|0,b=Math.imul(ne,at),v=v+Math.imul(ct,Gt)|0,n=(n=n+Math.imul(ct,ei)|0)+Math.imul(nt,Gt)|0,b=b+Math.imul(nt,ei)|0,v=v+Math.imul(ke,rt)|0,n=(n=n+Math.imul(ke,yt)|0)+Math.imul(ft,rt)|0,b=b+Math.imul(ft,yt)|0,v=v+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,Vt)|0)+Math.imul(de,Ut)|0,b=b+Math.imul(de,Vt)|0,v=v+Math.imul(me,Qe)|0,n=(n=n+Math.imul(me,Ve)|0)+Math.imul(Me,Qe)|0,b=b+Math.imul(Me,Ve)|0;var Wt=(k+(v=v+Math.imul(Ae,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Et)|0)+Math.imul(oe,Xe)|0))<<13)|0;k=((b=b+Math.imul(oe,Et)|0)+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,v=Math.imul(vt,Gt),n=(n=Math.imul(vt,ei))+Math.imul(ne,Gt)|0,b=Math.imul(ne,ei),v=v+Math.imul(ct,rt)|0,n=(n=n+Math.imul(ct,yt)|0)+Math.imul(nt,rt)|0,b=b+Math.imul(nt,yt)|0,v=v+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,Vt)|0)+Math.imul(ft,Ut)|0,b=b+Math.imul(ft,Vt)|0,v=v+Math.imul(q,Qe)|0,n=(n=n+Math.imul(q,Ve)|0)+Math.imul(de,Qe)|0,b=b+Math.imul(de,Ve)|0;var si=(k+(v=v+Math.imul(me,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(me,Et)|0)+Math.imul(Me,Xe)|0))<<13)|0;k=((b=b+Math.imul(Me,Et)|0)+(n>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(vt,rt),n=(n=Math.imul(vt,yt))+Math.imul(ne,rt)|0,b=Math.imul(ne,yt),v=v+Math.imul(ct,Ut)|0,n=(n=n+Math.imul(ct,Vt)|0)+Math.imul(nt,Ut)|0,b=b+Math.imul(nt,Vt)|0,v=v+Math.imul(ke,Qe)|0,n=(n=n+Math.imul(ke,Ve)|0)+Math.imul(ft,Qe)|0,b=b+Math.imul(ft,Ve)|0;var _e=(k+(v=v+Math.imul(q,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(q,Et)|0)+Math.imul(de,Xe)|0))<<13)|0;k=((b=b+Math.imul(de,Et)|0)+(n>>>13)|0)+(_e>>>26)|0,_e&=67108863,v=Math.imul(vt,Ut),n=(n=Math.imul(vt,Vt))+Math.imul(ne,Ut)|0,b=Math.imul(ne,Vt),v=v+Math.imul(ct,Qe)|0,n=(n=n+Math.imul(ct,Ve)|0)+Math.imul(nt,Qe)|0,b=b+Math.imul(nt,Ve)|0;var $e=(k+(v=v+Math.imul(ke,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Et)|0)+Math.imul(ft,Xe)|0))<<13)|0;k=((b=b+Math.imul(ft,Et)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,v=Math.imul(vt,Qe),n=(n=Math.imul(vt,Ve))+Math.imul(ne,Qe)|0,b=Math.imul(ne,Ve);var St=(k+(v=v+Math.imul(ct,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(ct,Et)|0)+Math.imul(nt,Xe)|0))<<13)|0;k=((b=b+Math.imul(nt,Et)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863;var mt=(k+(v=Math.imul(vt,Xe))|0)+((8191&(n=(n=Math.imul(vt,Et))+Math.imul(ne,Xe)|0))<<13)|0;return k=((b=Math.imul(ne,Et))+(n>>>13)|0)+(mt>>>26)|0,mt&=67108863,S[0]=mi,S[1]=Li,S[2]=wi,S[3]=Vi,S[4]=qe,S[5]=Tt,S[6]=ge,S[7]=Dt,S[8]=Kt,S[9]=fi,S[10]=Mi,S[11]=Pi,S[12]=Ui,S[13]=Wt,S[14]=si,S[15]=_e,S[16]=$e,S[17]=St,S[18]=mt,0!==k&&(S[19]=k,h.length++),h};function Y(E,i,r){return(new j).mulp(E,i,r)}function j(E,i){this.x=E,this.y=i}Math.imul||(U=P),o.prototype.mulTo=function(i,r){var h,c=this.length+i.length;return h=10===this.length&&10===i.length?U(this,i,r):c<63?P(this,i,r):c<1024?function Z(E,i,r){r.negative=i.negative^E.negative,r.length=E.length+i.length;for(var h=0,c=0,y=0;y<r.length-1;y++){var S=c;c=0;for(var k=67108863&h,v=Math.min(y,i.length-1),n=Math.max(0,y-E.length+1);n<=v;n++){var W=(0|E.words[y-n])*(0|i.words[n]),Oe=67108863&W;k=67108863&(Oe=Oe+k|0),c+=(S=(S=S+(W/67108864|0)|0)+(Oe>>>26)|0)>>>26,S&=67108863}r.words[y]=k,h=S,S=c}return 0!==h?r.words[y]=h:r.length--,r.strip()}(this,i,r):Y(this,i,r),h},j.prototype.makeRBT=function(i){for(var r=new Array(i),h=o.prototype._countBits(i)-1,c=0;c<i;c++)r[c]=this.revBin(c,h,i);return r},j.prototype.revBin=function(i,r,h){if(0===i||i===h-1)return i;for(var c=0,y=0;y<r;y++)c|=(1&i)<<r-y-1,i>>=1;return c},j.prototype.permute=function(i,r,h,c,y,S){for(var k=0;k<S;k++)c[k]=r[i[k]],y[k]=h[i[k]]},j.prototype.transform=function(i,r,h,c,y,S){this.permute(S,i,r,h,c,y);for(var k=1;k<y;k<<=1)for(var v=k<<1,n=Math.cos(2*Math.PI/v),b=Math.sin(2*Math.PI/v),B=0;B<y;B+=v)for(var z=n,W=b,Oe=0;Oe<k;Oe++){var it=h[B+Oe],Ne=c[B+Oe],ot=h[B+Oe+k],Ie=c[B+Oe+k],ve=z*ot-W*Ie;Ie=z*Ie+W*ot,h[B+Oe]=it+(ot=ve),c[B+Oe]=Ne+Ie,h[B+Oe+k]=it-ot,c[B+Oe+k]=Ne-Ie,Oe!==v&&(ve=n*z-b*W,W=n*W+b*z,z=ve)}},j.prototype.guessLen13b=function(i,r){var h=1|Math.max(r,i),c=1&h,y=0;for(h=h/2|0;h;h>>>=1)y++;return 1<<y+1+c},j.prototype.conjugate=function(i,r,h){if(!(h<=1))for(var c=0;c<h/2;c++){var y=i[c];i[c]=i[h-c-1],i[h-c-1]=y,y=r[c],r[c]=-r[h-c-1],r[h-c-1]=-y}},j.prototype.normalize13b=function(i,r){for(var h=0,c=0;c<r/2;c++){var y=8192*Math.round(i[2*c+1]/r)+Math.round(i[2*c]/r)+h;i[c]=67108863&y,h=y<67108864?0:y/67108864|0}return i},j.prototype.convert13b=function(i,r,h,c){for(var y=0,S=0;S<r;S++)h[2*S]=8191&(y+=0|i[S]),h[2*S+1]=8191&(y>>>=13),y>>>=13;for(S=2*r;S<c;++S)h[S]=0;g(0===y),g(0==(-8192&y))},j.prototype.stub=function(i){for(var r=new Array(i),h=0;h<i;h++)r[h]=0;return r},j.prototype.mulp=function(i,r,h){var c=2*this.guessLen13b(i.length,r.length),y=this.makeRBT(c),S=this.stub(c),k=new Array(c),v=new Array(c),n=new Array(c),b=new Array(c),B=new Array(c),z=new Array(c),W=h.words;W.length=c,this.convert13b(i.words,i.length,k,c),this.convert13b(r.words,r.length,b,c),this.transform(k,S,v,n,c,y),this.transform(b,S,B,z,c,y);for(var Oe=0;Oe<c;Oe++){var it=v[Oe]*B[Oe]-n[Oe]*z[Oe];n[Oe]=v[Oe]*z[Oe]+n[Oe]*B[Oe],v[Oe]=it}return this.conjugate(v,n,c),this.transform(v,n,W,S,c,y),this.conjugate(W,S,c),this.normalize13b(W,c),h.negative=i.negative^r.negative,h.length=i.length+r.length,h.strip()},o.prototype.mul=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),this.mulTo(i,r)},o.prototype.mulf=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),Y(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var r=0,h=0;h<this.length;h++){var c=(0|this.words[h])*i,y=(67108863&c)+(67108863&r);r>>=26,r+=c/67108864|0,r+=y>>>26,this.words[h]=67108863&y}return 0!==r&&(this.words[h]=r,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var r=function I(E){for(var i=new Array(E.bitLength()),r=0;r<i.length;r++){var c=r%26;i[r]=(E.words[r/26|0]&1<<c)>>>c}return i}(i);if(0===r.length)return new o(1);for(var h=this,c=0;c<r.length&&0===r[c];c++,h=h.sqr());if(++c<r.length)for(var y=h.sqr();c<r.length;c++,y=y.sqr())0!==r[c]&&(h=h.mul(y));return h},o.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,r=i%26,h=(i-r)/26,c=67108863>>>26-r<<26-r;if(0!==r){var S=0;for(y=0;y<this.length;y++){var k=this.words[y]&c;this.words[y]=(0|this.words[y])-k<<r|S,S=k>>>26-r}S&&(this.words[y]=S,this.length++)}if(0!==h){for(y=this.length-1;y>=0;y--)this.words[y+h]=this.words[y];for(y=0;y<h;y++)this.words[y]=0;this.length+=h}return this.strip()},o.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,h){var c;g("number"==typeof i&&i>=0),c=r?(r-r%26)/26:0;var y=i%26,S=Math.min((i-y)/26,this.length),k=67108863^67108863>>>y<<y,v=h;if(c-=S,c=Math.max(0,c),v){for(var n=0;n<S;n++)v.words[n]=this.words[n];v.length=S}if(0!==S)if(this.length>S)for(this.length-=S,n=0;n<this.length;n++)this.words[n]=this.words[n+S];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=c);n--){var B=0|this.words[n];this.words[n]=b<<26-y|B>>>y,b=B&k}return v&&0!==b&&(v.words[v.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,h){return g(0===this.negative),this.iushrn(i,r,h)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){g("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return!(this.length<=h||!(this.words[h]&1<<r))},o.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=h?this:(0!==r&&h++,this.length=Math.min(h,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return g("number"==typeof i),g(i<67108864),i<0?this.isubn(-i):0!==this.negative?1===this.length&&(0|this.words[0])<i?(this.words[0]=i-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},o.prototype.isubn=function(i){if(g("number"==typeof i),g(i<67108864),i<0)return this.iaddn(-i);if(0!==this.negative)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,r,h){var y;this._expand(i.length+h);var S,k=0;for(y=0;y<i.length;y++){S=(0|this.words[y+h])+k;var v=(0|i.words[y])*r;k=((S-=67108863&v)>>26)-(v/67108864|0),this.words[y+h]=67108863&S}for(;y<this.length-h;y++)k=(S=(0|this.words[y+h])+k)>>26,this.words[y+h]=67108863&S;if(0===k)return this.strip();for(g(-1===k),k=0,y=0;y<this.length;y++)k=(S=-(0|this.words[y])+k)>>26,this.words[y]=67108863&S;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var h,c=this.clone(),y=i,S=0|y.words[y.length-1];0!=(h=26-this._countBits(S))&&(y=y.ushln(h),c.iushln(h),S=0|y.words[y.length-1]);var n,v=c.length-y.length;if("mod"!==r){(n=new o(null)).length=v+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var B=c.clone()._ishlnsubmul(y,1,v);0===B.negative&&(c=B,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var W=67108864*(0|c.words[y.length+z])+(0|c.words[y.length+z-1]);for(W=Math.min(W/S|0,67108863),c._ishlnsubmul(y,W,z);0!==c.negative;)W--,c.negative=0,c._ishlnsubmul(y,1,z),c.isZero()||(c.negative^=1);n&&(n.words[z]=W)}return n&&n.strip(),c.strip(),"div"!==r&&0!==h&&c.iushrn(h),{div:n||null,mod:c}},o.prototype.divmod=function(i,r,h){return g(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(S=this.neg().divmod(i,r),"mod"!==r&&(c=S.div.neg()),"div"!==r&&(y=S.mod.neg(),h&&0!==y.negative&&y.iadd(i)),{div:c,mod:y}):0===this.negative&&0!==i.negative?(S=this.divmod(i.neg(),r),"mod"!==r&&(c=S.div.neg()),{div:c,mod:S.mod}):0!=(this.negative&i.negative)?(S=this.neg().divmod(i.neg(),r),"div"!==r&&(y=S.mod.neg(),h&&0!==y.negative&&y.isub(i)),{div:S.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:1===i.length?"div"===r?{div:this.divn(i.words[0]),mod:null}:"mod"===r?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,r);var c,y,S},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var r=this.divmod(i);if(r.mod.isZero())return r.div;var h=0!==r.div.negative?r.mod.isub(i):r.mod,c=i.ushrn(1),y=i.andln(1),S=h.cmp(c);return S<0||1===y&&0===S?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){g(i<=67108863);for(var r=(1<<26)%i,h=0,c=this.length-1;c>=0;c--)h=(r*h+(0|this.words[c]))%i;return h},o.prototype.idivn=function(i){g(i<=67108863);for(var r=0,h=this.length-1;h>=0;h--){var c=(0|this.words[h])+67108864*r;this.words[h]=c/i|0,r=c%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),y=new o(0),S=new o(0),k=new o(1),v=0;r.isEven()&&h.isEven();)r.iushrn(1),h.iushrn(1),++v;for(var n=h.clone(),b=r.clone();!r.isZero();){for(var B=0,z=1;0==(r.words[0]&z)&&B<26;++B,z<<=1);if(B>0)for(r.iushrn(B);B-- >0;)(c.isOdd()||y.isOdd())&&(c.iadd(n),y.isub(b)),c.iushrn(1),y.iushrn(1);for(var W=0,Oe=1;0==(h.words[0]&Oe)&&W<26;++W,Oe<<=1);if(W>0)for(h.iushrn(W);W-- >0;)(S.isOdd()||k.isOdd())&&(S.iadd(n),k.isub(b)),S.iushrn(1),k.iushrn(1);r.cmp(h)>=0?(r.isub(h),c.isub(S),y.isub(k)):(h.isub(r),S.isub(c),k.isub(y))}return{a:S,b:k,gcd:h.iushln(v)}},o.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var B,r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),y=new o(0),S=h.clone();r.cmpn(1)>0&&h.cmpn(1)>0;){for(var k=0,v=1;0==(r.words[0]&v)&&k<26;++k,v<<=1);if(k>0)for(r.iushrn(k);k-- >0;)c.isOdd()&&c.iadd(S),c.iushrn(1);for(var n=0,b=1;0==(h.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(h.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(S),y.iushrn(1);r.cmp(h)>=0?(r.isub(h),c.isub(y)):(h.isub(r),y.isub(c))}return(B=0===r.cmpn(1)?c:y).cmpn(0)<0&&B.iadd(i),B},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),h=i.clone();r.negative=0,h.negative=0;for(var c=0;r.isEven()&&h.isEven();c++)r.iushrn(1),h.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;h.isEven();)h.iushrn(1);var y=r.cmp(h);if(y<0){var S=r;r=h,h=S}else if(0===y||0===h.cmpn(1))break;r.isub(h)}return h.iushln(c)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){g("number"==typeof i);var r=i%26,h=(i-r)/26,c=1<<r;if(this.length<=h)return this._expand(h+1),this.words[h]|=c,this;for(var y=c,S=h;0!==y&&S<this.length;S++){var k=0|this.words[S];y=(k+=y)>>>26,this.words[S]=k&=67108863}return 0!==y&&(this.words[S]=y,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var h,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)h=1;else{r&&(i=-i),g(i<=67108863,"Number is too big");var c=0|this.words[0];h=c===i?0:c<i?-1:1}return 0!==this.negative?0|-h:h},o.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var r=this.ucmp(i);return 0!==this.negative?0|-r:r},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var r=0,h=this.length-1;h>=0;h--){var c=0|this.words[h],y=0|i.words[h];if(c!==y){c<y?r=-1:c>y&&(r=1);break}}return r},o.prototype.gtn=function(i){return 1===this.cmpn(i)},o.prototype.gt=function(i){return 1===this.cmp(i)},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return-1===this.cmpn(i)},o.prototype.lt=function(i){return-1===this.cmp(i)},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return 0===this.cmpn(i)},o.prototype.eq=function(i){return 0===this.cmp(i)},o.red=function(i){return new se(i)},o.prototype.toRed=function(i){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var X={k256:null,p224:null,p192:null,p25519:null};function ee(E,i){this.name=E,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ue(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function le(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(E){if("string"==typeof E){var i=o._prime(E);this.m=i.p,this.prime=i}else g(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}function he(E){se.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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 i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},ee.prototype.ireduce=function(i){var h,r=i;do{this.split(r,this.tmp),h=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(h>this.n);var c=h<this.n?-1:r.ucmp(this.p);return 0===c?(r.words[0]=0,r.length=1):c>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},ee.prototype.split=function(i,r){i.iushrn(this.n,0,r)},ee.prototype.imulK=function(i){return i.imul(this.k)},A(ue,ee),ue.prototype.split=function(i,r){for(var h=4194303,c=Math.min(i.length,9),y=0;y<c;y++)r.words[y]=i.words[y];if(r.length=c,i.length<=9)return i.words[0]=0,void(i.length=1);var S=i.words[9];for(r.words[r.length++]=S&h,y=10;y<i.length;y++){var k=0|i.words[y];i.words[y-10]=(k&h)<<4|S>>>22,S=k}i.words[y-10]=S>>>=22,i.length-=0===S&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,h=0;h<i.length;h++){var c=0|i.words[h];i.words[h]=67108863&(r+=977*c),r=64*c+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},A(le,ee),A(ie,ee),A(ce,ee),ce.prototype.imulK=function(i){for(var r=0,h=0;h<i.length;h++){var c=19*(0|i.words[h])+r,y=67108863&c;c>>>=26,i.words[h]=y,r=c}return 0!==r&&(i.words[i.length++]=r),i},o._prime=function(i){if(X[i])return X[i];var r;if("k256"===i)r=new ue;else if("p224"===i)r=new le;else if("p192"===i)r=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},se.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},se.prototype._verify2=function(i,r){g(0==(i.negative|r.negative),"red works only with positives"),g(i.red&&i.red===r.red,"red works only with red numbers")},se.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},se.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},se.prototype.add=function(i,r){this._verify2(i,r);var h=i.add(r);return h.cmp(this.m)>=0&&h.isub(this.m),h._forceRed(this)},se.prototype.iadd=function(i,r){this._verify2(i,r);var h=i.iadd(r);return h.cmp(this.m)>=0&&h.isub(this.m),h},se.prototype.sub=function(i,r){this._verify2(i,r);var h=i.sub(r);return h.cmpn(0)<0&&h.iadd(this.m),h._forceRed(this)},se.prototype.isub=function(i,r){this._verify2(i,r);var h=i.isub(r);return h.cmpn(0)<0&&h.iadd(this.m),h},se.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},se.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},se.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},se.prototype.isqr=function(i){return this.imul(i,i.clone())},se.prototype.sqr=function(i){return this.mul(i,i)},se.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(g(r%2==1),3===r){var h=this.m.add(new o(1)).iushrn(2);return this.pow(i,h)}for(var c=this.m.subn(1),y=0;!c.isZero()&&0===c.andln(1);)y++,c.iushrn(1);g(!c.isZero());var S=new o(1).toRed(this),k=S.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,v).cmp(k);)n.redIAdd(k);for(var b=this.pow(n,c),B=this.pow(i,c.addn(1).iushrn(1)),z=this.pow(i,c),W=y;0!==z.cmp(S);){for(var Oe=z,it=0;0!==Oe.cmp(S);it++)Oe=Oe.redSqr();g(it<W);var Ne=this.pow(b,new o(1).iushln(W-it-1));B=B.redMul(Ne),b=Ne.redSqr(),z=z.redMul(b),W=it}return B},se.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},se.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var c=new Array(16);c[0]=new o(1).toRed(this),c[1]=i;for(var y=2;y<c.length;y++)c[y]=this.mul(c[y-1],i);var S=c[0],k=0,v=0,n=r.bitLength()%26;for(0===n&&(n=26),y=r.length-1;y>=0;y--){for(var b=r.words[y],B=n-1;B>=0;B--){var z=b>>B&1;S!==c[0]&&(S=this.sqr(S)),0!==z||0!==k?(k<<=1,k|=z,(4==++v||0===y&&0===B)&&(S=this.mul(S,c[k]),v=0,k=0)):v=0}n=26}return S},se.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},se.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new he(i)},A(he,se),he.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},he.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},he.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var h=i.imul(r),c=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(c).iushrn(this.shift),S=y;return y.cmp(this.m)>=0?S=y.isub(this.m):y.cmpn(0)<0&&(S=y.iadd(this.m)),S._forceRed(this)},he.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var h=i.mul(r),c=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(c).iushrn(this.shift),S=y;return y.cmp(this.m)>=0?S=y.isub(this.m):y.cmpn(0)<0&&(S=y.iadd(this.m)),S._forceRed(this)},he.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ge=m.nmd(Ge),this)},8419:Ge=>{"use strict";Ge.exports=function(m){for(var t=[],e=m.length,g=0;g<e;g++){var A=m.charCodeAt(g);if(A>=55296&&A<=56319&&e>g+1){var o=m.charCodeAt(g+1);o>=56320&&o<=57343&&(A=1024*(A-55296)+o-56320+65536,g+=1)}A<128?t.push(A):A<2048?(t.push(A>>6|192),t.push(63&A|128)):A<55296||A>=57344&&A<65536?(t.push(A>>12|224),t.push(A>>6&63|128),t.push(63&A|128)):A>=65536&&A<=1114111?(t.push(A>>18|240),t.push(A>>12&63|128),t.push(A>>6&63|128),t.push(63&A|128)):t.push(239,191,189)}return new Uint8Array(t).buffer}},9069:Ge=>{"use strict";var t,Q="object"==typeof Reflect?Reflect:null,m=Q&&"function"==typeof Q.apply?Q.apply:function(ee,ue,le){return Function.prototype.apply.call(ee,ue,le)};t=Q&&"function"==typeof Q.ownKeys?Q.ownKeys:Object.getOwnPropertySymbols?function(ee){return Object.getOwnPropertyNames(ee).concat(Object.getOwnPropertySymbols(ee))}:function(ee){return Object.getOwnPropertyNames(ee)};var g=Number.isNaN||function(ee){return ee!=ee};function A(){A.init.call(this)}Ge.exports=A,Ge.exports.once=function Z(X,ee){return new Promise(function(ue,le){function ie(se){X.removeListener(ee,ce),le(se)}function ce(){"function"==typeof X.removeListener&&X.removeListener("error",ie),ue([].slice.call(arguments))}j(X,ee,ce,{once:!0}),"error"!==ee&&function Y(X,ee,ue){"function"==typeof X.on&&j(X,"error",ee,ue)}(X,ie,{once:!0})})},A.EventEmitter=A,A.prototype._events=void 0,A.prototype._eventsCount=0,A.prototype._maxListeners=void 0;var o=10;function C(X){if("function"!=typeof X)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof X)}function u(X){return void 0===X._maxListeners?A.defaultMaxListeners:X._maxListeners}function O(X,ee,ue,le){var ie,ce,se;if(C(ue),void 0===(ce=X._events)?(ce=X._events=Object.create(null),X._eventsCount=0):(void 0!==ce.newListener&&(X.emit("newListener",ee,ue.listener?ue.listener:ue),ce=X._events),se=ce[ee]),void 0===se)se=ce[ee]=ue,++X._eventsCount;else if("function"==typeof se?se=ce[ee]=le?[ue,se]:[se,ue]:le?se.unshift(ue):se.push(ue),(ie=u(X))>0&&se.length>ie&&!se.warned){se.warned=!0;var he=new Error("Possible EventEmitter memory leak detected. "+se.length+" "+String(ee)+" listeners added. Use emitter.setMaxListeners() to increase limit");he.name="MaxListenersExceededWarning",he.emitter=X,he.type=ee,he.count=se.length,function e(X){console&&console.warn&&console.warn(X)}(he)}return X}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 M(X,ee,ue){var le={fired:!1,wrapFn:void 0,target:X,type:ee,listener:ue},ie=d.bind(le);return ie.listener=ue,le.wrapFn=ie,ie}function w(X,ee,ue){var le=X._events;if(void 0===le)return[];var ie=le[ee];return void 0===ie?[]:"function"==typeof ie?ue?[ie.listener||ie]:[ie]:ue?function U(X){for(var ee=new Array(X.length),ue=0;ue<ee.length;++ue)ee[ue]=X[ue].listener||X[ue];return ee}(ie):I(ie,ie.length)}function L(X){var ee=this._events;if(void 0!==ee){var ue=ee[X];if("function"==typeof ue)return 1;if(void 0!==ue)return ue.length}return 0}function I(X,ee){for(var ue=new Array(ee),le=0;le<ee;++le)ue[le]=X[le];return ue}function j(X,ee,ue,le){if("function"==typeof X.on)le.once?X.once(ee,ue):X.on(ee,ue);else{if("function"!=typeof X.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof X);X.addEventListener(ee,function ie(ce){le.once&&X.removeEventListener(ee,ie),ue(ce)})}}Object.defineProperty(A,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(X){if("number"!=typeof X||X<0||g(X))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+X+".");o=X}}),A.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},A.prototype.setMaxListeners=function(ee){if("number"!=typeof ee||ee<0||g(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},A.prototype.getMaxListeners=function(){return u(this)},A.prototype.emit=function(ee){for(var ue=[],le=1;le<arguments.length;le++)ue.push(arguments[le]);var ie="error"===ee,ce=this._events;if(void 0!==ce)ie=ie&&void 0===ce.error;else if(!ie)return!1;if(ie){var se;if(ue.length>0&&(se=ue[0]),se instanceof Error)throw se;var he=new Error("Unhandled error."+(se?" ("+se.message+")":""));throw he.context=se,he}var E=ce[ee];if(void 0===E)return!1;if("function"==typeof E)m(E,this,ue);else{var i=E.length,r=I(E,i);for(le=0;le<i;++le)m(r[le],this,ue)}return!0},A.prototype.on=A.prototype.addListener=function(ee,ue){return O(this,ee,ue,!1)},A.prototype.prependListener=function(ee,ue){return O(this,ee,ue,!0)},A.prototype.once=function(ee,ue){return C(ue),this.on(ee,M(this,ee,ue)),this},A.prototype.prependOnceListener=function(ee,ue){return C(ue),this.prependListener(ee,M(this,ee,ue)),this},A.prototype.off=A.prototype.removeListener=function(ee,ue){var le,ie,ce,se,he;if(C(ue),void 0===(ie=this._events))return this;if(void 0===(le=ie[ee]))return this;if(le===ue||le.listener===ue)0==--this._eventsCount?this._events=Object.create(null):(delete ie[ee],ie.removeListener&&this.emit("removeListener",ee,le.listener||ue));else if("function"!=typeof le){for(ce=-1,se=le.length-1;se>=0;se--)if(le[se]===ue||le[se].listener===ue){he=le[se].listener,ce=se;break}if(ce<0)return this;0===ce?le.shift():function P(X,ee){for(;ee+1<X.length;ee++)X[ee]=X[ee+1];X.pop()}(le,ce),1===le.length&&(ie[ee]=le[0]),void 0!==ie.removeListener&&this.emit("removeListener",ee,he||ue)}return this},A.prototype.removeAllListeners=function(ee){var ue,le,ie;if(void 0===(le=this._events))return this;if(void 0===le.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==le[ee]&&(0==--this._eventsCount?this._events=Object.create(null):delete le[ee]),this;if(0===arguments.length){var se,ce=Object.keys(le);for(ie=0;ie<ce.length;++ie)"removeListener"!==(se=ce[ie])&&this.removeAllListeners(se);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(ue=le[ee]))this.removeListener(ee,ue);else if(void 0!==ue)for(ie=ue.length-1;ie>=0;ie--)this.removeListener(ee,ue[ie]);return this},A.prototype.listeners=function(ee){return w(this,ee,!0)},A.prototype.rawListeners=function(ee){return w(this,ee,!1)},A.listenerCount=function(X,ee){return"function"==typeof X.listenerCount?X.listenerCount(ee):L.call(X,ee)},A.prototype.listenerCount=L,A.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},347:(Ge,Q,m)=>{var t=m(3502).Buffer,e=m(8095);Ge.exports=function g(A,o,C,u){if(t.isBuffer(A)||(A=t.from(A,"binary")),o&&(t.isBuffer(o)||(o=t.from(o,"binary")),8!==o.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var O=C/8,d=t.alloc(O),M=t.alloc(u||0),w=t.alloc(0);O>0||u>0;){var L=new e;L.update(w),L.update(A),o&&L.update(o),w=L.digest();var I=0;if(O>0){var P=d.length-O;I=Math.min(O,w.length),w.copy(d,P,0,I),O-=I}if(I<w.length&&u>0){var U=M.length-u,Z=Math.min(u,w.length-I);w.copy(M,U,I,I+Z),u-=Z}}return w.fill(0),{key:d,iv:M}}},9650:(Ge,Q,m)=>{"use strict";var t=m(3502).Buffer,e=m(5685).Transform;function o(C){e.call(this),this._block=t.allocUnsafe(C),this._blockSize=C,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}m(3894)(o,e),o.prototype._transform=function(C,u,O){var d=null;try{this.update(C,u)}catch(M){d=M}O(d)},o.prototype._flush=function(C){var u=null;try{this.push(this.digest())}catch(O){u=O}C(u)},o.prototype.update=function(C,u){if(function A(C,u){if(!t.isBuffer(C)&&"string"!=typeof C)throw new TypeError(u+" must be a string or a buffer")}(C,"Data"),this._finalized)throw new Error("Digest already called");t.isBuffer(C)||(C=t.from(C,u));for(var O=this._block,d=0;this._blockOffset+C.length-d>=this._blockSize;){for(var M=this._blockOffset;M<this._blockSize;)O[M++]=C[d++];this._update(),this._blockOffset=0}for(;d<C.length;)O[this._blockOffset++]=C[d++];for(var w=0,L=8*C.length;L>0;++w)this._length[w]+=L,(L=this._length[w]/4294967296|0)>0&&(this._length[w]-=4294967296*L);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(C){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var u=this._digest();void 0!==C&&(u=u.toString(C)),this._block.fill(0),this._blockOffset=0;for(var O=0;O<4;++O)this._length[O]=0;return u},o.prototype._digest=function(){throw new Error("_digest is not implemented")},Ge.exports=o},7084:(Ge,Q,m)=>{var t=Q;t.utils=m(9299),t.common=m(3800),t.sha=m(4962),t.ripemd=m(9458),t.hmac=m(2194),t.sha1=t.sha.sha1,t.sha256=t.sha.sha256,t.sha224=t.sha.sha224,t.sha384=t.sha.sha384,t.sha512=t.sha.sha512,t.ripemd160=t.ripemd.ripemd160},3800:(Ge,Q,m)=>{"use strict";var t=m(9299),e=m(2391);function g(){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}Q.BlockHash=g,g.prototype.update=function(o,C){if(o=t.toArray(o,C),this.pending=this.pending?this.pending.concat(o):o,this.pendingTotal+=o.length,this.pending.length>=this._delta8){var u=(o=this.pending).length%this._delta8;this.pending=o.slice(o.length-u,o.length),0===this.pending.length&&(this.pending=null),o=t.join32(o,0,o.length-u,this.endian);for(var O=0;O<o.length;O+=this._delta32)this._update(o,O,O+this._delta32)}return this},g.prototype.digest=function(o){return this.update(this._pad()),e(null===this.pending),this._digest(o)},g.prototype._pad=function(){var o=this.pendingTotal,C=this._delta8,u=C-(o+this.padLength)%C,O=new Array(u+this.padLength);O[0]=128;for(var d=1;d<u;d++)O[d]=0;if(o<<=3,"big"===this.endian){for(var M=8;M<this.padLength;M++)O[d++]=0;O[d++]=0,O[d++]=0,O[d++]=0,O[d++]=0,O[d++]=o>>>24&255,O[d++]=o>>>16&255,O[d++]=o>>>8&255,O[d++]=255&o}else for(O[d++]=255&o,O[d++]=o>>>8&255,O[d++]=o>>>16&255,O[d++]=o>>>24&255,O[d++]=0,O[d++]=0,O[d++]=0,O[d++]=0,M=8;M<this.padLength;M++)O[d++]=0;return O}},2194:(Ge,Q,m)=>{"use strict";var t=m(9299),e=m(2391);function g(A,o,C){if(!(this instanceof g))return new g(A,o,C);this.Hash=A,this.blockSize=A.blockSize/8,this.outSize=A.outSize/8,this.inner=null,this.outer=null,this._init(t.toArray(o,C))}Ge.exports=g,g.prototype._init=function(o){o.length>this.blockSize&&(o=(new this.Hash).update(o).digest()),e(o.length<=this.blockSize);for(var C=o.length;C<this.blockSize;C++)o.push(0);for(C=0;C<o.length;C++)o[C]^=54;for(this.inner=(new this.Hash).update(o),C=0;C<o.length;C++)o[C]^=106;this.outer=(new this.Hash).update(o)},g.prototype.update=function(o,C){return this.inner.update(o,C),this},g.prototype.digest=function(o){return this.outer.update(this.inner.digest()),this.outer.digest(o)}},9458:(Ge,Q,m)=>{"use strict";var t=m(9299),e=m(3800),g=t.rotl32,A=t.sum32,o=t.sum32_3,C=t.sum32_4,u=e.BlockHash;function O(){if(!(this instanceof O))return new O;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(Z,Y,j,X){return Z<=15?Y^j^X:Z<=31?Y&j|~Y&X:Z<=47?(Y|~j)^X:Z<=63?Y&X|j&~X:Y^(j|~X)}function w(Z){return Z<=15?1352829926:Z<=31?1548603684:Z<=47?1836072691:Z<=63?2053994217:0}t.inherits(O,u),Q.ripemd160=O,O.blockSize=512,O.outSize=160,O.hmacStrength=192,O.padLength=64,O.prototype._update=function(Y,j){for(var X=this.h[0],ee=this.h[1],ue=this.h[2],le=this.h[3],ie=this.h[4],ce=X,se=ee,he=ue,E=le,i=ie,r=0;r<80;r++){var h=A(g(C(X,d(r,ee,ue,le),Y[L[r]+j],(Z=r)<=15?0:Z<=31?1518500249:Z<=47?1859775393:Z<=63?2400959708:2840853838),P[r]),ie);X=ie,ie=le,le=g(ue,10),ue=ee,ee=h,h=A(g(C(ce,d(79-r,se,he,E),Y[I[r]+j],w(r)),U[r]),i),ce=i,i=E,E=g(he,10),he=se,se=h}var Z;h=o(this.h[1],ue,E),this.h[1]=o(this.h[2],le,i),this.h[2]=o(this.h[3],ie,ce),this.h[3]=o(this.h[4],X,se),this.h[4]=o(this.h[0],ee,he),this.h[0]=h},O.prototype._digest=function(Y){return"hex"===Y?t.toHex32(this.h,"little"):t.split32(this.h,"little")};var 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],I=[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],P=[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],U=[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]},4962:(Ge,Q,m)=>{"use strict";Q.sha1=m(9007),Q.sha224=m(55),Q.sha256=m(9342),Q.sha384=m(8634),Q.sha512=m(39)},9007:(Ge,Q,m)=>{"use strict";var t=m(9299),e=m(3800),g=m(3113),A=t.rotl32,o=t.sum32,C=t.sum32_5,u=g.ft_1,O=e.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function M(){if(!(this instanceof M))return new M;O.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}t.inherits(M,O),Ge.exports=M,M.blockSize=512,M.outSize=160,M.hmacStrength=80,M.padLength=64,M.prototype._update=function(L,I){for(var P=this.W,U=0;U<16;U++)P[U]=L[I+U];for(;U<P.length;U++)P[U]=A(P[U-3]^P[U-8]^P[U-14]^P[U-16],1);var Z=this.h[0],Y=this.h[1],j=this.h[2],X=this.h[3],ee=this.h[4];for(U=0;U<P.length;U++){var ue=~~(U/20),le=C(A(Z,5),u(ue,Y,j,X),ee,P[U],d[ue]);ee=X,X=j,j=A(Y,30),Y=Z,Z=le}this.h[0]=o(this.h[0],Z),this.h[1]=o(this.h[1],Y),this.h[2]=o(this.h[2],j),this.h[3]=o(this.h[3],X),this.h[4]=o(this.h[4],ee)},M.prototype._digest=function(L){return"hex"===L?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},55:(Ge,Q,m)=>{"use strict";var t=m(9299),e=m(9342);function g(){if(!(this instanceof g))return new g;e.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}t.inherits(g,e),Ge.exports=g,g.blockSize=512,g.outSize=224,g.hmacStrength=192,g.padLength=64,g.prototype._digest=function(o){return"hex"===o?t.toHex32(this.h.slice(0,7),"big"):t.split32(this.h.slice(0,7),"big")}},9342:(Ge,Q,m)=>{"use strict";var t=m(9299),e=m(3800),g=m(3113),A=m(2391),o=t.sum32,C=t.sum32_4,u=t.sum32_5,O=g.ch32,d=g.maj32,M=g.s0_256,w=g.s1_256,L=g.g0_256,I=g.g1_256,P=e.BlockHash,U=[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 Z(){if(!(this instanceof Z))return new Z;P.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=U,this.W=new Array(64)}t.inherits(Z,P),Ge.exports=Z,Z.blockSize=512,Z.outSize=256,Z.hmacStrength=192,Z.padLength=64,Z.prototype._update=function(j,X){for(var ee=this.W,ue=0;ue<16;ue++)ee[ue]=j[X+ue];for(;ue<ee.length;ue++)ee[ue]=C(I(ee[ue-2]),ee[ue-7],L(ee[ue-15]),ee[ue-16]);var le=this.h[0],ie=this.h[1],ce=this.h[2],se=this.h[3],he=this.h[4],E=this.h[5],i=this.h[6],r=this.h[7];for(A(this.k.length===ee.length),ue=0;ue<ee.length;ue++){var h=u(r,w(he),O(he,E,i),this.k[ue],ee[ue]),c=o(M(le),d(le,ie,ce));r=i,i=E,E=he,he=o(se,h),se=ce,ce=ie,ie=le,le=o(h,c)}this.h[0]=o(this.h[0],le),this.h[1]=o(this.h[1],ie),this.h[2]=o(this.h[2],ce),this.h[3]=o(this.h[3],se),this.h[4]=o(this.h[4],he),this.h[5]=o(this.h[5],E),this.h[6]=o(this.h[6],i),this.h[7]=o(this.h[7],r)},Z.prototype._digest=function(j){return"hex"===j?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},8634:(Ge,Q,m)=>{"use strict";var t=m(9299),e=m(39);function g(){if(!(this instanceof g))return new g;e.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}t.inherits(g,e),Ge.exports=g,g.blockSize=1024,g.outSize=384,g.hmacStrength=192,g.padLength=128,g.prototype._digest=function(o){return"hex"===o?t.toHex32(this.h.slice(0,12),"big"):t.split32(this.h.slice(0,12),"big")}},39:(Ge,Q,m)=>{"use strict";var t=m(9299),e=m(3800),g=m(2391),A=t.rotr64_hi,o=t.rotr64_lo,C=t.shr64_hi,u=t.shr64_lo,O=t.sum64,d=t.sum64_hi,M=t.sum64_lo,w=t.sum64_4_hi,L=t.sum64_4_lo,I=t.sum64_5_hi,P=t.sum64_5_lo,U=e.BlockHash,Z=[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 Y(){if(!(this instanceof Y))return new Y;U.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=Z,this.W=new Array(160)}function j(h,c,y,S,k){var v=h&y^~h&k;return v<0&&(v+=4294967296),v}function X(h,c,y,S,k,v){var n=c&S^~c&v;return n<0&&(n+=4294967296),n}function ee(h,c,y,S,k){var v=h&y^h&k^y&k;return v<0&&(v+=4294967296),v}function ue(h,c,y,S,k,v){var n=c&S^c&v^S&v;return n<0&&(n+=4294967296),n}function le(h,c){var v=A(h,c,28)^A(c,h,2)^A(c,h,7);return v<0&&(v+=4294967296),v}function ie(h,c){var v=o(h,c,28)^o(c,h,2)^o(c,h,7);return v<0&&(v+=4294967296),v}function ce(h,c){var v=A(h,c,14)^A(h,c,18)^A(c,h,9);return v<0&&(v+=4294967296),v}function se(h,c){var v=o(h,c,14)^o(h,c,18)^o(c,h,9);return v<0&&(v+=4294967296),v}function he(h,c){var v=A(h,c,1)^A(h,c,8)^C(h,c,7);return v<0&&(v+=4294967296),v}function E(h,c){var v=o(h,c,1)^o(h,c,8)^u(h,c,7);return v<0&&(v+=4294967296),v}function i(h,c){var v=A(h,c,19)^A(c,h,29)^C(h,c,6);return v<0&&(v+=4294967296),v}function r(h,c){var v=o(h,c,19)^o(c,h,29)^u(h,c,6);return v<0&&(v+=4294967296),v}t.inherits(Y,U),Ge.exports=Y,Y.blockSize=1024,Y.outSize=512,Y.hmacStrength=192,Y.padLength=128,Y.prototype._prepareBlock=function(c,y){for(var S=this.W,k=0;k<32;k++)S[k]=c[y+k];for(;k<S.length;k+=2){var v=i(S[k-4],S[k-3]),n=r(S[k-4],S[k-3]),b=S[k-14],B=S[k-13],z=he(S[k-30],S[k-29]),W=E(S[k-30],S[k-29]),Oe=S[k-32],it=S[k-31];S[k]=w(v,n,b,B,z,W,Oe,it),S[k+1]=L(v,n,b,B,z,W,Oe,it)}},Y.prototype._update=function(c,y){this._prepareBlock(c,y);var S=this.W,k=this.h[0],v=this.h[1],n=this.h[2],b=this.h[3],B=this.h[4],z=this.h[5],W=this.h[6],Oe=this.h[7],it=this.h[8],Ne=this.h[9],ot=this.h[10],Ie=this.h[11],ve=this.h[12],fe=this.h[13],Se=this.h[14],te=this.h[15];g(this.k.length===S.length);for(var Ke=0;Ke<S.length;Ke+=2){var Ae=Se,oe=te,ye=ce(it,Ne),me=se(it,Ne),Me=j(it,0,ot,0,ve),Ze=X(0,Ne,0,Ie,0,fe),q=this.k[Ke],de=this.k[Ke+1],xe=S[Ke],ke=S[Ke+1],ft=I(Ae,oe,ye,me,Me,Ze,q,de,xe,ke),_t=P(Ae,oe,ye,me,Me,Ze,q,de,xe,ke);Ae=le(k,v),oe=ie(k,v),ye=ee(k,0,n,0,B),me=ue(0,v,0,b,0,z);var ct=d(Ae,oe,ye,me),nt=M(Ae,oe,ye,me);Se=ve,te=fe,ve=ot,fe=Ie,ot=it,Ie=Ne,it=d(W,Oe,ft,_t),Ne=M(Oe,Oe,ft,_t),W=B,Oe=z,B=n,z=b,n=k,b=v,k=d(ft,_t,ct,nt),v=M(ft,_t,ct,nt)}O(this.h,0,k,v),O(this.h,2,n,b),O(this.h,4,B,z),O(this.h,6,W,Oe),O(this.h,8,it,Ne),O(this.h,10,ot,Ie),O(this.h,12,ve,fe),O(this.h,14,Se,te)},Y.prototype._digest=function(c){return"hex"===c?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},3113:(Ge,Q,m)=>{"use strict";var e=m(9299).rotr32;function A(w,L,I){return w&L^~w&I}function o(w,L,I){return w&L^w&I^L&I}function C(w,L,I){return w^L^I}Q.ft_1=function g(w,L,I,P){return 0===w?A(L,I,P):1===w||3===w?C(L,I,P):2===w?o(L,I,P):void 0},Q.ch32=A,Q.maj32=o,Q.p32=C,Q.s0_256=function u(w){return e(w,2)^e(w,13)^e(w,22)},Q.s1_256=function O(w){return e(w,6)^e(w,11)^e(w,25)},Q.g0_256=function d(w){return e(w,7)^e(w,18)^w>>>3},Q.g1_256=function M(w){return e(w,17)^e(w,19)^w>>>10}},9299:(Ge,Q,m)=>{"use strict";var t=m(2391),e=m(3894);function g(r,h){return!(55296!=(64512&r.charCodeAt(h))||h<0||h+1>=r.length)&&56320==(64512&r.charCodeAt(h+1))}function C(r){return(r>>>24|r>>>8&65280|r<<8&16711680|(255&r)<<24)>>>0}function O(r){return 1===r.length?"0"+r:r}function d(r){return 7===r.length?"0"+r:6===r.length?"00"+r:5===r.length?"000"+r:4===r.length?"0000"+r:3===r.length?"00000"+r:2===r.length?"000000"+r:1===r.length?"0000000"+r:r}Q.inherits=e,Q.toArray=function A(r,h){if(Array.isArray(r))return r.slice();if(!r)return[];var c=[];if("string"==typeof r)if(h){if("hex"===h)for((r=r.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(r="0"+r),S=0;S<r.length;S+=2)c.push(parseInt(r[S]+r[S+1],16))}else for(var y=0,S=0;S<r.length;S++){var k=r.charCodeAt(S);k<128?c[y++]=k:k<2048?(c[y++]=k>>6|192,c[y++]=63&k|128):g(r,S)?(k=65536+((1023&k)<<10)+(1023&r.charCodeAt(++S)),c[y++]=k>>18|240,c[y++]=k>>12&63|128,c[y++]=k>>6&63|128,c[y++]=63&k|128):(c[y++]=k>>12|224,c[y++]=k>>6&63|128,c[y++]=63&k|128)}else for(S=0;S<r.length;S++)c[S]=0|r[S];return c},Q.toHex=function o(r){for(var h="",c=0;c<r.length;c++)h+=O(r[c].toString(16));return h},Q.htonl=C,Q.toHex32=function u(r,h){for(var c="",y=0;y<r.length;y++){var S=r[y];"little"===h&&(S=C(S)),c+=d(S.toString(16))}return c},Q.zero2=O,Q.zero8=d,Q.join32=function M(r,h,c,y){var S=c-h;t(S%4==0);for(var k=new Array(S/4),v=0,n=h;v<k.length;v++,n+=4)k[v]=("big"===y?r[n]<<24|r[n+1]<<16|r[n+2]<<8|r[n+3]:r[n+3]<<24|r[n+2]<<16|r[n+1]<<8|r[n])>>>0;return k},Q.split32=function w(r,h){for(var c=new Array(4*r.length),y=0,S=0;y<r.length;y++,S+=4){var k=r[y];"big"===h?(c[S]=k>>>24,c[S+1]=k>>>16&255,c[S+2]=k>>>8&255,c[S+3]=255&k):(c[S+3]=k>>>24,c[S+2]=k>>>16&255,c[S+1]=k>>>8&255,c[S]=255&k)}return c},Q.rotr32=function L(r,h){return r>>>h|r<<32-h},Q.rotl32=function I(r,h){return r<<h|r>>>32-h},Q.sum32=function P(r,h){return r+h>>>0},Q.sum32_3=function U(r,h,c){return r+h+c>>>0},Q.sum32_4=function Z(r,h,c,y){return r+h+c+y>>>0},Q.sum32_5=function Y(r,h,c,y,S){return r+h+c+y+S>>>0},Q.sum64=function j(r,h,c,y){var v=y+r[h+1]>>>0;r[h]=(v<y?1:0)+c+r[h]>>>0,r[h+1]=v},Q.sum64_hi=function X(r,h,c,y){return(h+y>>>0<h?1:0)+r+c>>>0},Q.sum64_lo=function ee(r,h,c,y){return h+y>>>0},Q.sum64_4_hi=function ue(r,h,c,y,S,k,v,n){var b=0,B=h;return b+=(B=B+y>>>0)<h?1:0,b+=(B=B+k>>>0)<k?1:0,r+c+S+v+(b+=(B=B+n>>>0)<n?1:0)>>>0},Q.sum64_4_lo=function le(r,h,c,y,S,k,v,n){return h+y+k+n>>>0},Q.sum64_5_hi=function ie(r,h,c,y,S,k,v,n,b,B){var z=0,W=h;return z+=(W=W+y>>>0)<h?1:0,z+=(W=W+k>>>0)<k?1:0,z+=(W=W+n>>>0)<n?1:0,r+c+S+v+b+(z+=(W=W+B>>>0)<B?1:0)>>>0},Q.sum64_5_lo=function ce(r,h,c,y,S,k,v,n,b,B){return h+y+k+n+B>>>0},Q.rotr64_hi=function se(r,h,c){return(h<<32-c|r>>>c)>>>0},Q.rotr64_lo=function he(r,h,c){return(r<<32-c|h>>>c)>>>0},Q.shr64_hi=function E(r,h,c){return r>>>c},Q.shr64_lo=function i(r,h,c){return(r<<32-c|h>>>c)>>>0}},2438:(Ge,Q,m)=>{"use strict";var t=m(7084),e=m(8195),g=m(2391);function A(o){if(!(this instanceof A))return new A(o);this.hash=o.hash,this.predResist=!!o.predResist,this.outLen=this.hash.outSize,this.minEntropy=o.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var C=e.toArray(o.entropy,o.entropyEnc||"hex"),u=e.toArray(o.nonce,o.nonceEnc||"hex"),O=e.toArray(o.pers,o.persEnc||"hex");g(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(C,u,O)}Ge.exports=A,A.prototype._init=function(C,u,O){var d=C.concat(u).concat(O);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var M=0;M<this.V.length;M++)this.K[M]=0,this.V[M]=1;this._update(d),this._reseed=1,this.reseedInterval=281474976710656},A.prototype._hmac=function(){return new t.hmac(this.hash,this.K)},A.prototype._update=function(C){var u=this._hmac().update(this.V).update([0]);C&&(u=u.update(C)),this.K=u.digest(),this.V=this._hmac().update(this.V).digest(),C&&(this.K=this._hmac().update(this.V).update([1]).update(C).digest(),this.V=this._hmac().update(this.V).digest())},A.prototype.reseed=function(C,u,O,d){"string"!=typeof u&&(d=O,O=u,u=null),C=e.toArray(C,u),O=e.toArray(O,d),g(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(C.concat(O||[])),this._reseed=1},A.prototype.generate=function(C,u,O,d){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof u&&(d=O,O=u,u=null),O&&(O=e.toArray(O,d||"hex"),this._update(O));for(var M=[];M.length<C;)this.V=this._hmac().update(this.V).digest(),M=M.concat(this.V);var w=M.slice(0,C);return this._update(O),this._reseed++,e.encode(w,u)}},8461:(Ge,Q)=>{Q.read=function(m,t,e,g,A){var o,C,u=8*A-g-1,O=(1<<u)-1,d=O>>1,M=-7,w=e?A-1:0,L=e?-1:1,I=m[t+w];for(w+=L,o=I&(1<<-M)-1,I>>=-M,M+=u;M>0;o=256*o+m[t+w],w+=L,M-=8);for(C=o&(1<<-M)-1,o>>=-M,M+=g;M>0;C=256*C+m[t+w],w+=L,M-=8);if(0===o)o=1-d;else{if(o===O)return C?NaN:1/0*(I?-1:1);C+=Math.pow(2,g),o-=d}return(I?-1:1)*C*Math.pow(2,o-g)},Q.write=function(m,t,e,g,A,o){var C,u,O,d=8*o-A-1,M=(1<<d)-1,w=M>>1,L=23===A?Math.pow(2,-24)-Math.pow(2,-77):0,I=g?0:o-1,P=g?1:-1,U=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(u=isNaN(t)?1:0,C=M):(C=Math.floor(Math.log(t)/Math.LN2),t*(O=Math.pow(2,-C))<1&&(C--,O*=2),(t+=C+w>=1?L/O:L*Math.pow(2,1-w))*O>=2&&(C++,O/=2),C+w>=M?(u=0,C=M):C+w>=1?(u=(t*O-1)*Math.pow(2,A),C+=w):(u=t*Math.pow(2,w-1)*Math.pow(2,A),C=0));A>=8;m[e+I]=255&u,I+=P,u/=256,A-=8);for(C=C<<A|u,d+=A;d>0;m[e+I]=255&C,I+=P,C/=256,d-=8);m[e+I-P]|=128*U}},3894:Ge=>{Ge.exports="function"==typeof Object.create?function(m,t){t&&(m.super_=t,m.prototype=Object.create(t.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}))}:function(m,t){if(t){m.super_=t;var e=function(){};e.prototype=t.prototype,m.prototype=new e,m.prototype.constructor=m}}},8095:(Ge,Q,m)=>{"use strict";var t=m(3894),e=m(9650),g=m(3502).Buffer,A=new Array(16);function o(){e.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function C(w,L){return w<<L|w>>>32-L}function u(w,L,I,P,U,Z,Y){return C(w+(L&I|~L&P)+U+Z|0,Y)+L|0}function O(w,L,I,P,U,Z,Y){return C(w+(L&P|I&~P)+U+Z|0,Y)+L|0}function d(w,L,I,P,U,Z,Y){return C(w+(L^I^P)+U+Z|0,Y)+L|0}function M(w,L,I,P,U,Z,Y){return C(w+(I^(L|~P))+U+Z|0,Y)+L|0}t(o,e),o.prototype._update=function(){for(var w=A,L=0;L<16;++L)w[L]=this._block.readInt32LE(4*L);var I=this._a,P=this._b,U=this._c,Z=this._d;I=u(I,P,U,Z,w[0],3614090360,7),Z=u(Z,I,P,U,w[1],3905402710,12),U=u(U,Z,I,P,w[2],606105819,17),P=u(P,U,Z,I,w[3],3250441966,22),I=u(I,P,U,Z,w[4],4118548399,7),Z=u(Z,I,P,U,w[5],1200080426,12),U=u(U,Z,I,P,w[6],2821735955,17),P=u(P,U,Z,I,w[7],4249261313,22),I=u(I,P,U,Z,w[8],1770035416,7),Z=u(Z,I,P,U,w[9],2336552879,12),U=u(U,Z,I,P,w[10],4294925233,17),P=u(P,U,Z,I,w[11],2304563134,22),I=u(I,P,U,Z,w[12],1804603682,7),Z=u(Z,I,P,U,w[13],4254626195,12),U=u(U,Z,I,P,w[14],2792965006,17),I=O(I,P=u(P,U,Z,I,w[15],1236535329,22),U,Z,w[1],4129170786,5),Z=O(Z,I,P,U,w[6],3225465664,9),U=O(U,Z,I,P,w[11],643717713,14),P=O(P,U,Z,I,w[0],3921069994,20),I=O(I,P,U,Z,w[5],3593408605,5),Z=O(Z,I,P,U,w[10],38016083,9),U=O(U,Z,I,P,w[15],3634488961,14),P=O(P,U,Z,I,w[4],3889429448,20),I=O(I,P,U,Z,w[9],568446438,5),Z=O(Z,I,P,U,w[14],3275163606,9),U=O(U,Z,I,P,w[3],4107603335,14),P=O(P,U,Z,I,w[8],1163531501,20),I=O(I,P,U,Z,w[13],2850285829,5),Z=O(Z,I,P,U,w[2],4243563512,9),U=O(U,Z,I,P,w[7],1735328473,14),I=d(I,P=O(P,U,Z,I,w[12],2368359562,20),U,Z,w[5],4294588738,4),Z=d(Z,I,P,U,w[8],2272392833,11),U=d(U,Z,I,P,w[11],1839030562,16),P=d(P,U,Z,I,w[14],4259657740,23),I=d(I,P,U,Z,w[1],2763975236,4),Z=d(Z,I,P,U,w[4],1272893353,11),U=d(U,Z,I,P,w[7],4139469664,16),P=d(P,U,Z,I,w[10],3200236656,23),I=d(I,P,U,Z,w[13],681279174,4),Z=d(Z,I,P,U,w[0],3936430074,11),U=d(U,Z,I,P,w[3],3572445317,16),P=d(P,U,Z,I,w[6],76029189,23),I=d(I,P,U,Z,w[9],3654602809,4),Z=d(Z,I,P,U,w[12],3873151461,11),U=d(U,Z,I,P,w[15],530742520,16),I=M(I,P=d(P,U,Z,I,w[2],3299628645,23),U,Z,w[0],4096336452,6),Z=M(Z,I,P,U,w[7],1126891415,10),U=M(U,Z,I,P,w[14],2878612391,15),P=M(P,U,Z,I,w[5],4237533241,21),I=M(I,P,U,Z,w[12],1700485571,6),Z=M(Z,I,P,U,w[3],2399980690,10),U=M(U,Z,I,P,w[10],4293915773,15),P=M(P,U,Z,I,w[1],2240044497,21),I=M(I,P,U,Z,w[8],1873313359,6),Z=M(Z,I,P,U,w[15],4264355552,10),U=M(U,Z,I,P,w[6],2734768916,15),P=M(P,U,Z,I,w[13],1309151649,21),I=M(I,P,U,Z,w[4],4149444226,6),Z=M(Z,I,P,U,w[11],3174756917,10),U=M(U,Z,I,P,w[2],718787259,15),P=M(P,U,Z,I,w[9],3951481745,21),this._a=this._a+I|0,this._b=this._b+P|0,this._c=this._c+U|0,this._d=this._d+Z|0},o.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 w=g.allocUnsafe(16);return w.writeInt32LE(this._a,0),w.writeInt32LE(this._b,4),w.writeInt32LE(this._c,8),w.writeInt32LE(this._d,12),w},Ge.exports=o},7079:(Ge,Q,m)=>{var t=m(1378),e=m(7950);function g(A){this.rand=A||new e.Rand}Ge.exports=g,g.create=function(o){return new g(o)},g.prototype._randbelow=function(o){var C=o.bitLength(),u=Math.ceil(C/8);do{var O=new t(this.rand.generate(u))}while(O.cmp(o)>=0);return O},g.prototype._randrange=function(o,C){var u=C.sub(o);return o.add(this._randbelow(u))},g.prototype.test=function(o,C,u){var O=o.bitLength(),d=t.mont(o),M=new t(1).toRed(d);C||(C=Math.max(1,O/48|0));for(var w=o.subn(1),L=0;!w.testn(L);L++);for(var I=o.shrn(L),P=w.toRed(d);C>0;C--){var Z=this._randrange(new t(2),w);u&&u(Z);var Y=Z.toRed(d).redPow(I);if(0!==Y.cmp(M)&&0!==Y.cmp(P)){for(var j=1;j<L;j++){if(0===(Y=Y.redSqr()).cmp(M))return!1;if(0===Y.cmp(P))break}if(j===L)return!1}}return!0},g.prototype.getDivisor=function(o,C){var u=o.bitLength(),O=t.mont(o),d=new t(1).toRed(O);C||(C=Math.max(1,u/48|0));for(var M=o.subn(1),w=0;!M.testn(w);w++);for(var L=o.shrn(w),I=M.toRed(O);C>0;C--){var P=this._randrange(new t(2),M),U=o.gcd(P);if(0!==U.cmpn(1))return U;var Z=P.toRed(O).redPow(L);if(0!==Z.cmp(d)&&0!==Z.cmp(I)){for(var Y=1;Y<w;Y++){if(0===(Z=Z.redSqr()).cmp(d))return Z.fromRed().subn(1).gcd(o);if(0===Z.cmp(I))break}if(Y===w)return(Z=Z.redSqr()).fromRed().subn(1).gcd(o)}}return!1}},1378:function(Ge,Q,m){!function(t,e){"use strict";function g(E,i){if(!E)throw new Error(i||"Assertion failed")}function A(E,i){E.super_=i;var r=function(){};r.prototype=i.prototype,E.prototype=new r,E.prototype.constructor=E}function o(E,i,r){if(o.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,null!==E&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(E||0,i||10,r||"be"))}var C;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(6619).Buffer}catch{}function u(E,i){var r=E.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function O(E,i,r){var h=u(E,r);return r-1>=i&&(h|=u(E,r-1)<<4),h}function d(E,i,r,h){for(var c=0,y=Math.min(E.length,r),S=i;S<y;S++){var k=E.charCodeAt(S)-48;c*=h,c+=k>=49?k-49+10:k>=17?k-17+10:k}return c}o.isBN=function(i){return i instanceof o||null!==i&&"object"==typeof i&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,r){return i.cmp(r)>0?i:r},o.min=function(i,r){return i.cmp(r)<0?i:r},o.prototype._init=function(i,r,h){if("number"==typeof i)return this._initNumber(i,r,h);if("object"==typeof i)return this._initArray(i,r,h);"hex"===r&&(r=16),g(r===(0|r)&&r>=2&&r<=36);var c=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(c++,this.negative=1),c<i.length&&(16===r?this._parseHex(i,c,h):(this._parseBase(i,r,c),"le"===h&&this._initArray(this.toArray(),r,h)))},o.prototype._initNumber=function(i,r,h){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[67108863&i],this.length=1):i<4503599627370496?(this.words=[67108863&i,i/67108864&67108863],this.length=2):(g(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===h&&this._initArray(this.toArray(),r,h)},o.prototype._initArray=function(i,r,h){if(g("number"==typeof i.length),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var y,S,k=0;if("be"===h)for(c=i.length-1,y=0;c>=0;c-=3)this.words[y]|=(S=i[c]|i[c-1]<<8|i[c-2]<<16)<<k&67108863,this.words[y+1]=S>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);else if("le"===h)for(c=0,y=0;c<i.length;c+=3)this.words[y]|=(S=i[c]|i[c+1]<<8|i[c+2]<<16)<<k&67108863,this.words[y+1]=S>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);return this.strip()},o.prototype._parseHex=function(i,r,h){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var k,y=0,S=0;if("be"===h)for(c=i.length-1;c>=r;c-=2)k=O(i,r,c)<<y,this.words[S]|=67108863&k,y>=18?(y-=18,this.words[S+=1]|=k>>>26):y+=8;else for(c=(i.length-r)%2==0?r+1:r;c<i.length;c+=2)k=O(i,r,c)<<y,this.words[S]|=67108863&k,y>=18?(y-=18,this.words[S+=1]|=k>>>26):y+=8;this.strip()},o.prototype._parseBase=function(i,r,h){this.words=[0],this.length=1;for(var c=0,y=1;y<=67108863;y*=r)c++;c--,y=y/r|0;for(var S=i.length-h,k=S%c,v=Math.min(S,S-k)+h,n=0,b=h;b<v;b+=c)n=d(i,b,b+c,r),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==k){var B=1;for(n=d(i,b,i.length,r),b=0;b<k;b++)B*=r;this.imuln(B),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var r=0;r<this.length;r++)i.words[r]=this.words[r];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var M=["","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"],w=[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],L=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function P(E,i,r){r.negative=i.negative^E.negative;var h=E.length+i.length|0;r.length=h,h=h-1|0;var c=0|E.words[0],y=0|i.words[0],S=c*y,v=S/67108864|0;r.words[0]=67108863&S;for(var n=1;n<h;n++){for(var b=v>>>26,B=67108863&v,z=Math.min(n,i.length-1),W=Math.max(0,n-E.length+1);W<=z;W++)b+=(S=(c=0|E.words[n-W|0])*(y=0|i.words[W])+B)/67108864|0,B=67108863&S;r.words[n]=0|B,v=0|b}return 0!==v?r.words[n]=0|v:r.length--,r.strip()}o.prototype.toString=function(i,r){var h;if(r=0|r||1,16===(i=i||10)||"hex"===i){h="";for(var c=0,y=0,S=0;S<this.length;S++){var k=this.words[S],v=(16777215&(k<<c|y)).toString(16);h=0!=(y=k>>>24-c&16777215)||S!==this.length-1?M[6-v.length]+v+h:v+h,(c+=2)>=26&&(c-=26,S--)}for(0!==y&&(h=y.toString(16)+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=L[i];h="";var B=this.clone();for(B.negative=0;!B.isZero();){var z=B.modn(b).toString(i);h=(B=B.idivn(b)).isZero()?z+h:M[n-z.length]+z+h}for(this.isZero()&&(h="0"+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}g(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return 2===this.length?i+=67108864*this.words[1]:3===this.length&&1===this.words[2]?i+=4503599627370496+67108864*this.words[1]:this.length>2&&g(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,r){return g(typeof C<"u"),this.toArrayLike(C,i,r)},o.prototype.toArray=function(i,r){return this.toArrayLike(Array,i,r)},o.prototype.toArrayLike=function(i,r,h){var c=this.byteLength(),y=h||Math.max(1,c);g(c<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var v,n,S="le"===r,k=new i(y),b=this.clone();if(S){for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),k[n]=v;for(;n<y;n++)k[n]=0}else{for(n=0;n<y-c;n++)k[n]=0;for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),k[y-n-1]=v}return k},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,h=0;return r>=4096&&(h+=13,r>>>=13),r>=64&&(h+=7,r>>>=7),r>=8&&(h+=4,r>>>=4),r>=2&&(h+=2,r>>>=2),h+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,h=0;return 0==(8191&r)&&(h+=13,r>>>=13),0==(127&r)&&(h+=7,r>>>=7),0==(15&r)&&(h+=4,r>>>=4),0==(3&r)&&(h+=2,r>>>=2),0==(1&r)&&h++,h},o.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,r=0;r<this.length;r++){var h=this._zeroBits(this.words[r]);if(i+=h,26!==h)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var r=0;r<i.length;r++)this.words[r]=this.words[r]|i.words[r];return this.strip()},o.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var r;r=this.length>i.length?i:this;for(var h=0;h<r.length;h++)this.words[h]=this.words[h]&i.words[h];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var r,h;this.length>i.length?(r=this,h=i):(r=i,h=this);for(var c=0;c<h.length;c++)this.words[c]=r.words[c]^h.words[c];if(this!==r)for(;c<r.length;c++)this.words[c]=r.words[c];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),h=i%26;this._expand(r),h>0&&r--;for(var c=0;c<r;c++)this.words[c]=67108863&~this.words[c];return h>0&&(this.words[c]=~this.words[c]&67108863>>26-h),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){g("number"==typeof i&&i>=0);var h=i/26|0,c=i%26;return this._expand(h+1),this.words[h]=r?this.words[h]|1<<c:this.words[h]&~(1<<c),this.strip()},o.prototype.iadd=function(i){var r,h,c;if(0!==this.negative&&0===i.negative)return this.negative=0,r=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,r=this.isub(i),i.negative=1,r._normSign();this.length>i.length?(h=this,c=i):(h=i,c=this);for(var y=0,S=0;S<c.length;S++)this.words[S]=67108863&(r=(0|h.words[S])+(0|c.words[S])+y),y=r>>>26;for(;0!==y&&S<h.length;S++)this.words[S]=67108863&(r=(0|h.words[S])+y),y=r>>>26;if(this.length=h.length,0!==y)this.words[this.length]=y,this.length++;else if(h!==this)for(;S<h.length;S++)this.words[S]=h.words[S];return this},o.prototype.add=function(i){var r;return 0!==i.negative&&0===this.negative?(i.negative=0,r=this.sub(i),i.negative^=1,r):0===i.negative&&0!==this.negative?(this.negative=0,r=i.sub(this),this.negative=1,r):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var r=this.iadd(i);return i.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var c,y,h=this.cmp(i);if(0===h)return this.negative=0,this.length=1,this.words[0]=0,this;h>0?(c=this,y=i):(c=i,y=this);for(var S=0,k=0;k<y.length;k++)S=(r=(0|c.words[k])-(0|y.words[k])+S)>>26,this.words[k]=67108863&r;for(;0!==S&&k<c.length;k++)S=(r=(0|c.words[k])+S)>>26,this.words[k]=67108863&r;if(0===S&&k<c.length&&c!==this)for(;k<c.length;k++)this.words[k]=c.words[k];return this.length=Math.max(this.length,k),c!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var U=function(i,r,h){var v,n,b,c=i.words,y=r.words,S=h.words,k=0,B=0|c[0],z=8191&B,W=B>>>13,Oe=0|c[1],it=8191&Oe,Ne=Oe>>>13,ot=0|c[2],Ie=8191&ot,ve=ot>>>13,fe=0|c[3],Se=8191&fe,te=fe>>>13,Ke=0|c[4],Ae=8191&Ke,oe=Ke>>>13,ye=0|c[5],me=8191&ye,Me=ye>>>13,Ze=0|c[6],q=8191&Ze,de=Ze>>>13,xe=0|c[7],ke=8191&xe,ft=xe>>>13,_t=0|c[8],ct=8191&_t,nt=_t>>>13,Jt=0|c[9],vt=8191&Jt,ne=Jt>>>13,Ht=0|y[0],De=8191&Ht,ze=Ht>>>13,wt=0|y[1],Re=8191&wt,tt=wt>>>13,Bt=0|y[2],It=8191&Bt,zt=Bt>>>13,xt=0|y[3],we=8191&xt,J=xt>>>13,be=0|y[4],Fe=8191&be,at=be>>>13,ii=0|y[5],Gt=8191&ii,ei=ii>>>13,ht=0|y[6],rt=8191&ht,yt=ht>>>13,ri=0|y[7],Ut=8191&ri,Vt=ri>>>13,Ft=0|y[8],Qe=8191&Ft,Ve=Ft>>>13,je=0|y[9],Xe=8191&je,Et=je>>>13;h.negative=i.negative^r.negative,h.length=19;var mi=(k+(v=Math.imul(z,De))|0)+((8191&(n=(n=Math.imul(z,ze))+Math.imul(W,De)|0))<<13)|0;k=((b=Math.imul(W,ze))+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,v=Math.imul(it,De),n=(n=Math.imul(it,ze))+Math.imul(Ne,De)|0,b=Math.imul(Ne,ze);var Li=(k+(v=v+Math.imul(z,Re)|0)|0)+((8191&(n=(n=n+Math.imul(z,tt)|0)+Math.imul(W,Re)|0))<<13)|0;k=((b=b+Math.imul(W,tt)|0)+(n>>>13)|0)+(Li>>>26)|0,Li&=67108863,v=Math.imul(Ie,De),n=(n=Math.imul(Ie,ze))+Math.imul(ve,De)|0,b=Math.imul(ve,ze),v=v+Math.imul(it,Re)|0,n=(n=n+Math.imul(it,tt)|0)+Math.imul(Ne,Re)|0,b=b+Math.imul(Ne,tt)|0;var wi=(k+(v=v+Math.imul(z,It)|0)|0)+((8191&(n=(n=n+Math.imul(z,zt)|0)+Math.imul(W,It)|0))<<13)|0;k=((b=b+Math.imul(W,zt)|0)+(n>>>13)|0)+(wi>>>26)|0,wi&=67108863,v=Math.imul(Se,De),n=(n=Math.imul(Se,ze))+Math.imul(te,De)|0,b=Math.imul(te,ze),v=v+Math.imul(Ie,Re)|0,n=(n=n+Math.imul(Ie,tt)|0)+Math.imul(ve,Re)|0,b=b+Math.imul(ve,tt)|0,v=v+Math.imul(it,It)|0,n=(n=n+Math.imul(it,zt)|0)+Math.imul(Ne,It)|0,b=b+Math.imul(Ne,zt)|0;var Vi=(k+(v=v+Math.imul(z,we)|0)|0)+((8191&(n=(n=n+Math.imul(z,J)|0)+Math.imul(W,we)|0))<<13)|0;k=((b=b+Math.imul(W,J)|0)+(n>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,v=Math.imul(Ae,De),n=(n=Math.imul(Ae,ze))+Math.imul(oe,De)|0,b=Math.imul(oe,ze),v=v+Math.imul(Se,Re)|0,n=(n=n+Math.imul(Se,tt)|0)+Math.imul(te,Re)|0,b=b+Math.imul(te,tt)|0,v=v+Math.imul(Ie,It)|0,n=(n=n+Math.imul(Ie,zt)|0)+Math.imul(ve,It)|0,b=b+Math.imul(ve,zt)|0,v=v+Math.imul(it,we)|0,n=(n=n+Math.imul(it,J)|0)+Math.imul(Ne,we)|0,b=b+Math.imul(Ne,J)|0;var qe=(k+(v=v+Math.imul(z,Fe)|0)|0)+((8191&(n=(n=n+Math.imul(z,at)|0)+Math.imul(W,Fe)|0))<<13)|0;k=((b=b+Math.imul(W,at)|0)+(n>>>13)|0)+(qe>>>26)|0,qe&=67108863,v=Math.imul(me,De),n=(n=Math.imul(me,ze))+Math.imul(Me,De)|0,b=Math.imul(Me,ze),v=v+Math.imul(Ae,Re)|0,n=(n=n+Math.imul(Ae,tt)|0)+Math.imul(oe,Re)|0,b=b+Math.imul(oe,tt)|0,v=v+Math.imul(Se,It)|0,n=(n=n+Math.imul(Se,zt)|0)+Math.imul(te,It)|0,b=b+Math.imul(te,zt)|0,v=v+Math.imul(Ie,we)|0,n=(n=n+Math.imul(Ie,J)|0)+Math.imul(ve,we)|0,b=b+Math.imul(ve,J)|0,v=v+Math.imul(it,Fe)|0,n=(n=n+Math.imul(it,at)|0)+Math.imul(Ne,Fe)|0,b=b+Math.imul(Ne,at)|0;var Tt=(k+(v=v+Math.imul(z,Gt)|0)|0)+((8191&(n=(n=n+Math.imul(z,ei)|0)+Math.imul(W,Gt)|0))<<13)|0;k=((b=b+Math.imul(W,ei)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,v=Math.imul(q,De),n=(n=Math.imul(q,ze))+Math.imul(de,De)|0,b=Math.imul(de,ze),v=v+Math.imul(me,Re)|0,n=(n=n+Math.imul(me,tt)|0)+Math.imul(Me,Re)|0,b=b+Math.imul(Me,tt)|0,v=v+Math.imul(Ae,It)|0,n=(n=n+Math.imul(Ae,zt)|0)+Math.imul(oe,It)|0,b=b+Math.imul(oe,zt)|0,v=v+Math.imul(Se,we)|0,n=(n=n+Math.imul(Se,J)|0)+Math.imul(te,we)|0,b=b+Math.imul(te,J)|0,v=v+Math.imul(Ie,Fe)|0,n=(n=n+Math.imul(Ie,at)|0)+Math.imul(ve,Fe)|0,b=b+Math.imul(ve,at)|0,v=v+Math.imul(it,Gt)|0,n=(n=n+Math.imul(it,ei)|0)+Math.imul(Ne,Gt)|0,b=b+Math.imul(Ne,ei)|0;var ge=(k+(v=v+Math.imul(z,rt)|0)|0)+((8191&(n=(n=n+Math.imul(z,yt)|0)+Math.imul(W,rt)|0))<<13)|0;k=((b=b+Math.imul(W,yt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,v=Math.imul(ke,De),n=(n=Math.imul(ke,ze))+Math.imul(ft,De)|0,b=Math.imul(ft,ze),v=v+Math.imul(q,Re)|0,n=(n=n+Math.imul(q,tt)|0)+Math.imul(de,Re)|0,b=b+Math.imul(de,tt)|0,v=v+Math.imul(me,It)|0,n=(n=n+Math.imul(me,zt)|0)+Math.imul(Me,It)|0,b=b+Math.imul(Me,zt)|0,v=v+Math.imul(Ae,we)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(oe,we)|0,b=b+Math.imul(oe,J)|0,v=v+Math.imul(Se,Fe)|0,n=(n=n+Math.imul(Se,at)|0)+Math.imul(te,Fe)|0,b=b+Math.imul(te,at)|0,v=v+Math.imul(Ie,Gt)|0,n=(n=n+Math.imul(Ie,ei)|0)+Math.imul(ve,Gt)|0,b=b+Math.imul(ve,ei)|0,v=v+Math.imul(it,rt)|0,n=(n=n+Math.imul(it,yt)|0)+Math.imul(Ne,rt)|0,b=b+Math.imul(Ne,yt)|0;var Dt=(k+(v=v+Math.imul(z,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(z,Vt)|0)+Math.imul(W,Ut)|0))<<13)|0;k=((b=b+Math.imul(W,Vt)|0)+(n>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(ct,De),n=(n=Math.imul(ct,ze))+Math.imul(nt,De)|0,b=Math.imul(nt,ze),v=v+Math.imul(ke,Re)|0,n=(n=n+Math.imul(ke,tt)|0)+Math.imul(ft,Re)|0,b=b+Math.imul(ft,tt)|0,v=v+Math.imul(q,It)|0,n=(n=n+Math.imul(q,zt)|0)+Math.imul(de,It)|0,b=b+Math.imul(de,zt)|0,v=v+Math.imul(me,we)|0,n=(n=n+Math.imul(me,J)|0)+Math.imul(Me,we)|0,b=b+Math.imul(Me,J)|0,v=v+Math.imul(Ae,Fe)|0,n=(n=n+Math.imul(Ae,at)|0)+Math.imul(oe,Fe)|0,b=b+Math.imul(oe,at)|0,v=v+Math.imul(Se,Gt)|0,n=(n=n+Math.imul(Se,ei)|0)+Math.imul(te,Gt)|0,b=b+Math.imul(te,ei)|0,v=v+Math.imul(Ie,rt)|0,n=(n=n+Math.imul(Ie,yt)|0)+Math.imul(ve,rt)|0,b=b+Math.imul(ve,yt)|0,v=v+Math.imul(it,Ut)|0,n=(n=n+Math.imul(it,Vt)|0)+Math.imul(Ne,Ut)|0,b=b+Math.imul(Ne,Vt)|0;var Kt=(k+(v=v+Math.imul(z,Qe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ve)|0)+Math.imul(W,Qe)|0))<<13)|0;k=((b=b+Math.imul(W,Ve)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,v=Math.imul(vt,De),n=(n=Math.imul(vt,ze))+Math.imul(ne,De)|0,b=Math.imul(ne,ze),v=v+Math.imul(ct,Re)|0,n=(n=n+Math.imul(ct,tt)|0)+Math.imul(nt,Re)|0,b=b+Math.imul(nt,tt)|0,v=v+Math.imul(ke,It)|0,n=(n=n+Math.imul(ke,zt)|0)+Math.imul(ft,It)|0,b=b+Math.imul(ft,zt)|0,v=v+Math.imul(q,we)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,we)|0,b=b+Math.imul(de,J)|0,v=v+Math.imul(me,Fe)|0,n=(n=n+Math.imul(me,at)|0)+Math.imul(Me,Fe)|0,b=b+Math.imul(Me,at)|0,v=v+Math.imul(Ae,Gt)|0,n=(n=n+Math.imul(Ae,ei)|0)+Math.imul(oe,Gt)|0,b=b+Math.imul(oe,ei)|0,v=v+Math.imul(Se,rt)|0,n=(n=n+Math.imul(Se,yt)|0)+Math.imul(te,rt)|0,b=b+Math.imul(te,yt)|0,v=v+Math.imul(Ie,Ut)|0,n=(n=n+Math.imul(Ie,Vt)|0)+Math.imul(ve,Ut)|0,b=b+Math.imul(ve,Vt)|0,v=v+Math.imul(it,Qe)|0,n=(n=n+Math.imul(it,Ve)|0)+Math.imul(Ne,Qe)|0,b=b+Math.imul(Ne,Ve)|0;var fi=(k+(v=v+Math.imul(z,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Et)|0)+Math.imul(W,Xe)|0))<<13)|0;k=((b=b+Math.imul(W,Et)|0)+(n>>>13)|0)+(fi>>>26)|0,fi&=67108863,v=Math.imul(vt,Re),n=(n=Math.imul(vt,tt))+Math.imul(ne,Re)|0,b=Math.imul(ne,tt),v=v+Math.imul(ct,It)|0,n=(n=n+Math.imul(ct,zt)|0)+Math.imul(nt,It)|0,b=b+Math.imul(nt,zt)|0,v=v+Math.imul(ke,we)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ft,we)|0,b=b+Math.imul(ft,J)|0,v=v+Math.imul(q,Fe)|0,n=(n=n+Math.imul(q,at)|0)+Math.imul(de,Fe)|0,b=b+Math.imul(de,at)|0,v=v+Math.imul(me,Gt)|0,n=(n=n+Math.imul(me,ei)|0)+Math.imul(Me,Gt)|0,b=b+Math.imul(Me,ei)|0,v=v+Math.imul(Ae,rt)|0,n=(n=n+Math.imul(Ae,yt)|0)+Math.imul(oe,rt)|0,b=b+Math.imul(oe,yt)|0,v=v+Math.imul(Se,Ut)|0,n=(n=n+Math.imul(Se,Vt)|0)+Math.imul(te,Ut)|0,b=b+Math.imul(te,Vt)|0,v=v+Math.imul(Ie,Qe)|0,n=(n=n+Math.imul(Ie,Ve)|0)+Math.imul(ve,Qe)|0,b=b+Math.imul(ve,Ve)|0;var Mi=(k+(v=v+Math.imul(it,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(it,Et)|0)+Math.imul(Ne,Xe)|0))<<13)|0;k=((b=b+Math.imul(Ne,Et)|0)+(n>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,v=Math.imul(vt,It),n=(n=Math.imul(vt,zt))+Math.imul(ne,It)|0,b=Math.imul(ne,zt),v=v+Math.imul(ct,we)|0,n=(n=n+Math.imul(ct,J)|0)+Math.imul(nt,we)|0,b=b+Math.imul(nt,J)|0,v=v+Math.imul(ke,Fe)|0,n=(n=n+Math.imul(ke,at)|0)+Math.imul(ft,Fe)|0,b=b+Math.imul(ft,at)|0,v=v+Math.imul(q,Gt)|0,n=(n=n+Math.imul(q,ei)|0)+Math.imul(de,Gt)|0,b=b+Math.imul(de,ei)|0,v=v+Math.imul(me,rt)|0,n=(n=n+Math.imul(me,yt)|0)+Math.imul(Me,rt)|0,b=b+Math.imul(Me,yt)|0,v=v+Math.imul(Ae,Ut)|0,n=(n=n+Math.imul(Ae,Vt)|0)+Math.imul(oe,Ut)|0,b=b+Math.imul(oe,Vt)|0,v=v+Math.imul(Se,Qe)|0,n=(n=n+Math.imul(Se,Ve)|0)+Math.imul(te,Qe)|0,b=b+Math.imul(te,Ve)|0;var Pi=(k+(v=v+Math.imul(Ie,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Et)|0)+Math.imul(ve,Xe)|0))<<13)|0;k=((b=b+Math.imul(ve,Et)|0)+(n>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,v=Math.imul(vt,we),n=(n=Math.imul(vt,J))+Math.imul(ne,we)|0,b=Math.imul(ne,J),v=v+Math.imul(ct,Fe)|0,n=(n=n+Math.imul(ct,at)|0)+Math.imul(nt,Fe)|0,b=b+Math.imul(nt,at)|0,v=v+Math.imul(ke,Gt)|0,n=(n=n+Math.imul(ke,ei)|0)+Math.imul(ft,Gt)|0,b=b+Math.imul(ft,ei)|0,v=v+Math.imul(q,rt)|0,n=(n=n+Math.imul(q,yt)|0)+Math.imul(de,rt)|0,b=b+Math.imul(de,yt)|0,v=v+Math.imul(me,Ut)|0,n=(n=n+Math.imul(me,Vt)|0)+Math.imul(Me,Ut)|0,b=b+Math.imul(Me,Vt)|0,v=v+Math.imul(Ae,Qe)|0,n=(n=n+Math.imul(Ae,Ve)|0)+Math.imul(oe,Qe)|0,b=b+Math.imul(oe,Ve)|0;var Ui=(k+(v=v+Math.imul(Se,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Se,Et)|0)+Math.imul(te,Xe)|0))<<13)|0;k=((b=b+Math.imul(te,Et)|0)+(n>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,v=Math.imul(vt,Fe),n=(n=Math.imul(vt,at))+Math.imul(ne,Fe)|0,b=Math.imul(ne,at),v=v+Math.imul(ct,Gt)|0,n=(n=n+Math.imul(ct,ei)|0)+Math.imul(nt,Gt)|0,b=b+Math.imul(nt,ei)|0,v=v+Math.imul(ke,rt)|0,n=(n=n+Math.imul(ke,yt)|0)+Math.imul(ft,rt)|0,b=b+Math.imul(ft,yt)|0,v=v+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,Vt)|0)+Math.imul(de,Ut)|0,b=b+Math.imul(de,Vt)|0,v=v+Math.imul(me,Qe)|0,n=(n=n+Math.imul(me,Ve)|0)+Math.imul(Me,Qe)|0,b=b+Math.imul(Me,Ve)|0;var Wt=(k+(v=v+Math.imul(Ae,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Et)|0)+Math.imul(oe,Xe)|0))<<13)|0;k=((b=b+Math.imul(oe,Et)|0)+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,v=Math.imul(vt,Gt),n=(n=Math.imul(vt,ei))+Math.imul(ne,Gt)|0,b=Math.imul(ne,ei),v=v+Math.imul(ct,rt)|0,n=(n=n+Math.imul(ct,yt)|0)+Math.imul(nt,rt)|0,b=b+Math.imul(nt,yt)|0,v=v+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,Vt)|0)+Math.imul(ft,Ut)|0,b=b+Math.imul(ft,Vt)|0,v=v+Math.imul(q,Qe)|0,n=(n=n+Math.imul(q,Ve)|0)+Math.imul(de,Qe)|0,b=b+Math.imul(de,Ve)|0;var si=(k+(v=v+Math.imul(me,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(me,Et)|0)+Math.imul(Me,Xe)|0))<<13)|0;k=((b=b+Math.imul(Me,Et)|0)+(n>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(vt,rt),n=(n=Math.imul(vt,yt))+Math.imul(ne,rt)|0,b=Math.imul(ne,yt),v=v+Math.imul(ct,Ut)|0,n=(n=n+Math.imul(ct,Vt)|0)+Math.imul(nt,Ut)|0,b=b+Math.imul(nt,Vt)|0,v=v+Math.imul(ke,Qe)|0,n=(n=n+Math.imul(ke,Ve)|0)+Math.imul(ft,Qe)|0,b=b+Math.imul(ft,Ve)|0;var _e=(k+(v=v+Math.imul(q,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(q,Et)|0)+Math.imul(de,Xe)|0))<<13)|0;k=((b=b+Math.imul(de,Et)|0)+(n>>>13)|0)+(_e>>>26)|0,_e&=67108863,v=Math.imul(vt,Ut),n=(n=Math.imul(vt,Vt))+Math.imul(ne,Ut)|0,b=Math.imul(ne,Vt),v=v+Math.imul(ct,Qe)|0,n=(n=n+Math.imul(ct,Ve)|0)+Math.imul(nt,Qe)|0,b=b+Math.imul(nt,Ve)|0;var $e=(k+(v=v+Math.imul(ke,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Et)|0)+Math.imul(ft,Xe)|0))<<13)|0;k=((b=b+Math.imul(ft,Et)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,v=Math.imul(vt,Qe),n=(n=Math.imul(vt,Ve))+Math.imul(ne,Qe)|0,b=Math.imul(ne,Ve);var St=(k+(v=v+Math.imul(ct,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(ct,Et)|0)+Math.imul(nt,Xe)|0))<<13)|0;k=((b=b+Math.imul(nt,Et)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863;var mt=(k+(v=Math.imul(vt,Xe))|0)+((8191&(n=(n=Math.imul(vt,Et))+Math.imul(ne,Xe)|0))<<13)|0;return k=((b=Math.imul(ne,Et))+(n>>>13)|0)+(mt>>>26)|0,mt&=67108863,S[0]=mi,S[1]=Li,S[2]=wi,S[3]=Vi,S[4]=qe,S[5]=Tt,S[6]=ge,S[7]=Dt,S[8]=Kt,S[9]=fi,S[10]=Mi,S[11]=Pi,S[12]=Ui,S[13]=Wt,S[14]=si,S[15]=_e,S[16]=$e,S[17]=St,S[18]=mt,0!==k&&(S[19]=k,h.length++),h};function Y(E,i,r){return(new j).mulp(E,i,r)}function j(E,i){this.x=E,this.y=i}Math.imul||(U=P),o.prototype.mulTo=function(i,r){var h,c=this.length+i.length;return h=10===this.length&&10===i.length?U(this,i,r):c<63?P(this,i,r):c<1024?function Z(E,i,r){r.negative=i.negative^E.negative,r.length=E.length+i.length;for(var h=0,c=0,y=0;y<r.length-1;y++){var S=c;c=0;for(var k=67108863&h,v=Math.min(y,i.length-1),n=Math.max(0,y-E.length+1);n<=v;n++){var W=(0|E.words[y-n])*(0|i.words[n]),Oe=67108863&W;k=67108863&(Oe=Oe+k|0),c+=(S=(S=S+(W/67108864|0)|0)+(Oe>>>26)|0)>>>26,S&=67108863}r.words[y]=k,h=S,S=c}return 0!==h?r.words[y]=h:r.length--,r.strip()}(this,i,r):Y(this,i,r),h},j.prototype.makeRBT=function(i){for(var r=new Array(i),h=o.prototype._countBits(i)-1,c=0;c<i;c++)r[c]=this.revBin(c,h,i);return r},j.prototype.revBin=function(i,r,h){if(0===i||i===h-1)return i;for(var c=0,y=0;y<r;y++)c|=(1&i)<<r-y-1,i>>=1;return c},j.prototype.permute=function(i,r,h,c,y,S){for(var k=0;k<S;k++)c[k]=r[i[k]],y[k]=h[i[k]]},j.prototype.transform=function(i,r,h,c,y,S){this.permute(S,i,r,h,c,y);for(var k=1;k<y;k<<=1)for(var v=k<<1,n=Math.cos(2*Math.PI/v),b=Math.sin(2*Math.PI/v),B=0;B<y;B+=v)for(var z=n,W=b,Oe=0;Oe<k;Oe++){var it=h[B+Oe],Ne=c[B+Oe],ot=h[B+Oe+k],Ie=c[B+Oe+k],ve=z*ot-W*Ie;Ie=z*Ie+W*ot,h[B+Oe]=it+(ot=ve),c[B+Oe]=Ne+Ie,h[B+Oe+k]=it-ot,c[B+Oe+k]=Ne-Ie,Oe!==v&&(ve=n*z-b*W,W=n*W+b*z,z=ve)}},j.prototype.guessLen13b=function(i,r){var h=1|Math.max(r,i),c=1&h,y=0;for(h=h/2|0;h;h>>>=1)y++;return 1<<y+1+c},j.prototype.conjugate=function(i,r,h){if(!(h<=1))for(var c=0;c<h/2;c++){var y=i[c];i[c]=i[h-c-1],i[h-c-1]=y,y=r[c],r[c]=-r[h-c-1],r[h-c-1]=-y}},j.prototype.normalize13b=function(i,r){for(var h=0,c=0;c<r/2;c++){var y=8192*Math.round(i[2*c+1]/r)+Math.round(i[2*c]/r)+h;i[c]=67108863&y,h=y<67108864?0:y/67108864|0}return i},j.prototype.convert13b=function(i,r,h,c){for(var y=0,S=0;S<r;S++)h[2*S]=8191&(y+=0|i[S]),h[2*S+1]=8191&(y>>>=13),y>>>=13;for(S=2*r;S<c;++S)h[S]=0;g(0===y),g(0==(-8192&y))},j.prototype.stub=function(i){for(var r=new Array(i),h=0;h<i;h++)r[h]=0;return r},j.prototype.mulp=function(i,r,h){var c=2*this.guessLen13b(i.length,r.length),y=this.makeRBT(c),S=this.stub(c),k=new Array(c),v=new Array(c),n=new Array(c),b=new Array(c),B=new Array(c),z=new Array(c),W=h.words;W.length=c,this.convert13b(i.words,i.length,k,c),this.convert13b(r.words,r.length,b,c),this.transform(k,S,v,n,c,y),this.transform(b,S,B,z,c,y);for(var Oe=0;Oe<c;Oe++){var it=v[Oe]*B[Oe]-n[Oe]*z[Oe];n[Oe]=v[Oe]*z[Oe]+n[Oe]*B[Oe],v[Oe]=it}return this.conjugate(v,n,c),this.transform(v,n,W,S,c,y),this.conjugate(W,S,c),this.normalize13b(W,c),h.negative=i.negative^r.negative,h.length=i.length+r.length,h.strip()},o.prototype.mul=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),this.mulTo(i,r)},o.prototype.mulf=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),Y(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var r=0,h=0;h<this.length;h++){var c=(0|this.words[h])*i,y=(67108863&c)+(67108863&r);r>>=26,r+=c/67108864|0,r+=y>>>26,this.words[h]=67108863&y}return 0!==r&&(this.words[h]=r,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var r=function I(E){for(var i=new Array(E.bitLength()),r=0;r<i.length;r++){var c=r%26;i[r]=(E.words[r/26|0]&1<<c)>>>c}return i}(i);if(0===r.length)return new o(1);for(var h=this,c=0;c<r.length&&0===r[c];c++,h=h.sqr());if(++c<r.length)for(var y=h.sqr();c<r.length;c++,y=y.sqr())0!==r[c]&&(h=h.mul(y));return h},o.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,r=i%26,h=(i-r)/26,c=67108863>>>26-r<<26-r;if(0!==r){var S=0;for(y=0;y<this.length;y++){var k=this.words[y]&c;this.words[y]=(0|this.words[y])-k<<r|S,S=k>>>26-r}S&&(this.words[y]=S,this.length++)}if(0!==h){for(y=this.length-1;y>=0;y--)this.words[y+h]=this.words[y];for(y=0;y<h;y++)this.words[y]=0;this.length+=h}return this.strip()},o.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,h){var c;g("number"==typeof i&&i>=0),c=r?(r-r%26)/26:0;var y=i%26,S=Math.min((i-y)/26,this.length),k=67108863^67108863>>>y<<y,v=h;if(c-=S,c=Math.max(0,c),v){for(var n=0;n<S;n++)v.words[n]=this.words[n];v.length=S}if(0!==S)if(this.length>S)for(this.length-=S,n=0;n<this.length;n++)this.words[n]=this.words[n+S];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=c);n--){var B=0|this.words[n];this.words[n]=b<<26-y|B>>>y,b=B&k}return v&&0!==b&&(v.words[v.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,h){return g(0===this.negative),this.iushrn(i,r,h)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){g("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return!(this.length<=h||!(this.words[h]&1<<r))},o.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=h?this:(0!==r&&h++,this.length=Math.min(h,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return g("number"==typeof i),g(i<67108864),i<0?this.isubn(-i):0!==this.negative?1===this.length&&(0|this.words[0])<i?(this.words[0]=i-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},o.prototype.isubn=function(i){if(g("number"==typeof i),g(i<67108864),i<0)return this.iaddn(-i);if(0!==this.negative)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,r,h){var y;this._expand(i.length+h);var S,k=0;for(y=0;y<i.length;y++){S=(0|this.words[y+h])+k;var v=(0|i.words[y])*r;k=((S-=67108863&v)>>26)-(v/67108864|0),this.words[y+h]=67108863&S}for(;y<this.length-h;y++)k=(S=(0|this.words[y+h])+k)>>26,this.words[y+h]=67108863&S;if(0===k)return this.strip();for(g(-1===k),k=0,y=0;y<this.length;y++)k=(S=-(0|this.words[y])+k)>>26,this.words[y]=67108863&S;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var h,c=this.clone(),y=i,S=0|y.words[y.length-1];0!=(h=26-this._countBits(S))&&(y=y.ushln(h),c.iushln(h),S=0|y.words[y.length-1]);var n,v=c.length-y.length;if("mod"!==r){(n=new o(null)).length=v+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var B=c.clone()._ishlnsubmul(y,1,v);0===B.negative&&(c=B,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var W=67108864*(0|c.words[y.length+z])+(0|c.words[y.length+z-1]);for(W=Math.min(W/S|0,67108863),c._ishlnsubmul(y,W,z);0!==c.negative;)W--,c.negative=0,c._ishlnsubmul(y,1,z),c.isZero()||(c.negative^=1);n&&(n.words[z]=W)}return n&&n.strip(),c.strip(),"div"!==r&&0!==h&&c.iushrn(h),{div:n||null,mod:c}},o.prototype.divmod=function(i,r,h){return g(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(S=this.neg().divmod(i,r),"mod"!==r&&(c=S.div.neg()),"div"!==r&&(y=S.mod.neg(),h&&0!==y.negative&&y.iadd(i)),{div:c,mod:y}):0===this.negative&&0!==i.negative?(S=this.divmod(i.neg(),r),"mod"!==r&&(c=S.div.neg()),{div:c,mod:S.mod}):0!=(this.negative&i.negative)?(S=this.neg().divmod(i.neg(),r),"div"!==r&&(y=S.mod.neg(),h&&0!==y.negative&&y.isub(i)),{div:S.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:1===i.length?"div"===r?{div:this.divn(i.words[0]),mod:null}:"mod"===r?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,r);var c,y,S},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var r=this.divmod(i);if(r.mod.isZero())return r.div;var h=0!==r.div.negative?r.mod.isub(i):r.mod,c=i.ushrn(1),y=i.andln(1),S=h.cmp(c);return S<0||1===y&&0===S?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){g(i<=67108863);for(var r=(1<<26)%i,h=0,c=this.length-1;c>=0;c--)h=(r*h+(0|this.words[c]))%i;return h},o.prototype.idivn=function(i){g(i<=67108863);for(var r=0,h=this.length-1;h>=0;h--){var c=(0|this.words[h])+67108864*r;this.words[h]=c/i|0,r=c%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),y=new o(0),S=new o(0),k=new o(1),v=0;r.isEven()&&h.isEven();)r.iushrn(1),h.iushrn(1),++v;for(var n=h.clone(),b=r.clone();!r.isZero();){for(var B=0,z=1;0==(r.words[0]&z)&&B<26;++B,z<<=1);if(B>0)for(r.iushrn(B);B-- >0;)(c.isOdd()||y.isOdd())&&(c.iadd(n),y.isub(b)),c.iushrn(1),y.iushrn(1);for(var W=0,Oe=1;0==(h.words[0]&Oe)&&W<26;++W,Oe<<=1);if(W>0)for(h.iushrn(W);W-- >0;)(S.isOdd()||k.isOdd())&&(S.iadd(n),k.isub(b)),S.iushrn(1),k.iushrn(1);r.cmp(h)>=0?(r.isub(h),c.isub(S),y.isub(k)):(h.isub(r),S.isub(c),k.isub(y))}return{a:S,b:k,gcd:h.iushln(v)}},o.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var B,r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),y=new o(0),S=h.clone();r.cmpn(1)>0&&h.cmpn(1)>0;){for(var k=0,v=1;0==(r.words[0]&v)&&k<26;++k,v<<=1);if(k>0)for(r.iushrn(k);k-- >0;)c.isOdd()&&c.iadd(S),c.iushrn(1);for(var n=0,b=1;0==(h.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(h.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(S),y.iushrn(1);r.cmp(h)>=0?(r.isub(h),c.isub(y)):(h.isub(r),y.isub(c))}return(B=0===r.cmpn(1)?c:y).cmpn(0)<0&&B.iadd(i),B},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),h=i.clone();r.negative=0,h.negative=0;for(var c=0;r.isEven()&&h.isEven();c++)r.iushrn(1),h.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;h.isEven();)h.iushrn(1);var y=r.cmp(h);if(y<0){var S=r;r=h,h=S}else if(0===y||0===h.cmpn(1))break;r.isub(h)}return h.iushln(c)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){g("number"==typeof i);var r=i%26,h=(i-r)/26,c=1<<r;if(this.length<=h)return this._expand(h+1),this.words[h]|=c,this;for(var y=c,S=h;0!==y&&S<this.length;S++){var k=0|this.words[S];y=(k+=y)>>>26,this.words[S]=k&=67108863}return 0!==y&&(this.words[S]=y,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var h,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)h=1;else{r&&(i=-i),g(i<=67108863,"Number is too big");var c=0|this.words[0];h=c===i?0:c<i?-1:1}return 0!==this.negative?0|-h:h},o.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var r=this.ucmp(i);return 0!==this.negative?0|-r:r},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var r=0,h=this.length-1;h>=0;h--){var c=0|this.words[h],y=0|i.words[h];if(c!==y){c<y?r=-1:c>y&&(r=1);break}}return r},o.prototype.gtn=function(i){return 1===this.cmpn(i)},o.prototype.gt=function(i){return 1===this.cmp(i)},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return-1===this.cmpn(i)},o.prototype.lt=function(i){return-1===this.cmp(i)},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return 0===this.cmpn(i)},o.prototype.eq=function(i){return 0===this.cmp(i)},o.red=function(i){return new se(i)},o.prototype.toRed=function(i){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var X={k256:null,p224:null,p192:null,p25519:null};function ee(E,i){this.name=E,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ue(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function le(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(E){if("string"==typeof E){var i=o._prime(E);this.m=i.p,this.prime=i}else g(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}function he(E){se.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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 i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},ee.prototype.ireduce=function(i){var h,r=i;do{this.split(r,this.tmp),h=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(h>this.n);var c=h<this.n?-1:r.ucmp(this.p);return 0===c?(r.words[0]=0,r.length=1):c>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},ee.prototype.split=function(i,r){i.iushrn(this.n,0,r)},ee.prototype.imulK=function(i){return i.imul(this.k)},A(ue,ee),ue.prototype.split=function(i,r){for(var h=4194303,c=Math.min(i.length,9),y=0;y<c;y++)r.words[y]=i.words[y];if(r.length=c,i.length<=9)return i.words[0]=0,void(i.length=1);var S=i.words[9];for(r.words[r.length++]=S&h,y=10;y<i.length;y++){var k=0|i.words[y];i.words[y-10]=(k&h)<<4|S>>>22,S=k}i.words[y-10]=S>>>=22,i.length-=0===S&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,h=0;h<i.length;h++){var c=0|i.words[h];i.words[h]=67108863&(r+=977*c),r=64*c+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},A(le,ee),A(ie,ee),A(ce,ee),ce.prototype.imulK=function(i){for(var r=0,h=0;h<i.length;h++){var c=19*(0|i.words[h])+r,y=67108863&c;c>>>=26,i.words[h]=y,r=c}return 0!==r&&(i.words[i.length++]=r),i},o._prime=function(i){if(X[i])return X[i];var r;if("k256"===i)r=new ue;else if("p224"===i)r=new le;else if("p192"===i)r=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},se.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},se.prototype._verify2=function(i,r){g(0==(i.negative|r.negative),"red works only with positives"),g(i.red&&i.red===r.red,"red works only with red numbers")},se.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},se.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},se.prototype.add=function(i,r){this._verify2(i,r);var h=i.add(r);return h.cmp(this.m)>=0&&h.isub(this.m),h._forceRed(this)},se.prototype.iadd=function(i,r){this._verify2(i,r);var h=i.iadd(r);return h.cmp(this.m)>=0&&h.isub(this.m),h},se.prototype.sub=function(i,r){this._verify2(i,r);var h=i.sub(r);return h.cmpn(0)<0&&h.iadd(this.m),h._forceRed(this)},se.prototype.isub=function(i,r){this._verify2(i,r);var h=i.isub(r);return h.cmpn(0)<0&&h.iadd(this.m),h},se.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},se.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},se.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},se.prototype.isqr=function(i){return this.imul(i,i.clone())},se.prototype.sqr=function(i){return this.mul(i,i)},se.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(g(r%2==1),3===r){var h=this.m.add(new o(1)).iushrn(2);return this.pow(i,h)}for(var c=this.m.subn(1),y=0;!c.isZero()&&0===c.andln(1);)y++,c.iushrn(1);g(!c.isZero());var S=new o(1).toRed(this),k=S.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,v).cmp(k);)n.redIAdd(k);for(var b=this.pow(n,c),B=this.pow(i,c.addn(1).iushrn(1)),z=this.pow(i,c),W=y;0!==z.cmp(S);){for(var Oe=z,it=0;0!==Oe.cmp(S);it++)Oe=Oe.redSqr();g(it<W);var Ne=this.pow(b,new o(1).iushln(W-it-1));B=B.redMul(Ne),b=Ne.redSqr(),z=z.redMul(b),W=it}return B},se.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},se.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var c=new Array(16);c[0]=new o(1).toRed(this),c[1]=i;for(var y=2;y<c.length;y++)c[y]=this.mul(c[y-1],i);var S=c[0],k=0,v=0,n=r.bitLength()%26;for(0===n&&(n=26),y=r.length-1;y>=0;y--){for(var b=r.words[y],B=n-1;B>=0;B--){var z=b>>B&1;S!==c[0]&&(S=this.sqr(S)),0!==z||0!==k?(k<<=1,k|=z,(4==++v||0===y&&0===B)&&(S=this.mul(S,c[k]),v=0,k=0)):v=0}n=26}return S},se.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},se.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new he(i)},A(he,se),he.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},he.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},he.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var h=i.imul(r),c=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(c).iushrn(this.shift),S=y;return y.cmp(this.m)>=0?S=y.isub(this.m):y.cmpn(0)<0&&(S=y.iadd(this.m)),S._forceRed(this)},he.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var h=i.mul(r),c=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(c).iushrn(this.shift),S=y;return y.cmp(this.m)>=0?S=y.isub(this.m):y.cmpn(0)<0&&(S=y.iadd(this.m)),S._forceRed(this)},he.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ge=m.nmd(Ge),this)},2391:Ge=>{function Q(m,t){if(!m)throw new Error(t||"Assertion failed")}Ge.exports=Q,Q.equal=function(t,e,g){if(t!=e)throw new Error(g||"Assertion failed: "+t+" != "+e)}},8195:(Ge,Q)=>{"use strict";var m=Q;function e(A){return 1===A.length?"0"+A:A}function g(A){for(var o="",C=0;C<A.length;C++)o+=e(A[C].toString(16));return o}m.toArray=function t(A,o){if(Array.isArray(A))return A.slice();if(!A)return[];var C=[];if("string"!=typeof A){for(var u=0;u<A.length;u++)C[u]=0|A[u];return C}if("hex"===o)for((A=A.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(A="0"+A),u=0;u<A.length;u+=2)C.push(parseInt(A[u]+A[u+1],16));else for(u=0;u<A.length;u++){var O=A.charCodeAt(u),d=O>>8,M=255&O;d?C.push(d,M):C.push(M)}return C},m.zero2=e,m.toHex=g,m.encode=function(o,C){return"hex"===C?g(o):o}},5768:(Ge,Q,m)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});var t=m(842);Object.keys(t).forEach(function(e){"default"!==e&&Object.defineProperty(Q,e,{enumerable:!0,get:function(){return t[e]}})})},2999:(Ge,Q,m)=>{"use strict";var t=m(7977);Q.certificate=m(2390);var e=t.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())});Q.RSAPrivateKey=e;var g=t.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});Q.RSAPublicKey=g;var A=t.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(o),this.key("subjectPublicKey").bitstr())});Q.PublicKey=A;var o=t.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),C=t.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(o),this.key("subjectPrivateKey").octstr())});Q.PrivateKey=C;var u=t.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())});Q.EncryptedPrivateKey=u;var O=t.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())});Q.DSAPrivateKey=O,Q.DSAparam=t.define("DSAparam",function(){this.int()});var d=t.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(M),this.key("publicKey").optional().explicit(1).bitstr())});Q.ECPrivateKey=d;var M=t.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});Q.signature=t.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},2390:(Ge,Q,m)=>{"use strict";var t=m(7977),e=t.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),g=t.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),A=t.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),o=t.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(A),this.key("subjectPublicKey").bitstr())}),C=t.define("RelativeDistinguishedName",function(){this.setof(g)}),u=t.define("RDNSequence",function(){this.seqof(C)}),O=t.define("Name",function(){this.choice({rdnSequence:this.use(u)})}),d=t.define("Validity",function(){this.seq().obj(this.key("notBefore").use(e),this.key("notAfter").use(e))}),M=t.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),w=t.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(A),this.key("issuer").use(O),this.key("validity").use(d),this.key("subject").use(O),this.key("subjectPublicKeyInfo").use(o),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(M).optional())}),L=t.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(w),this.key("signatureAlgorithm").use(A),this.key("signatureValue").bitstr())});Ge.exports=L},5269:(Ge,Q,m)=>{var t=/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,e=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,g=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,A=m(347),o=m(4330),C=m(3502).Buffer;Ge.exports=function(u,O){var w,d=u.toString(),M=d.match(t);if(M){var I="aes"+M[1],P=C.from(M[2],"hex"),U=C.from(M[3].replace(/[\r\n]/g,""),"base64"),Z=A(O,P.slice(0,8),parseInt(M[1],10)).key,Y=[],j=o.createDecipheriv(I,Z,P);Y.push(j.update(U)),Y.push(j.final()),w=C.concat(Y)}else{var L=d.match(g);w=C.from(L[2].replace(/[\r\n]/g,""),"base64")}return{tag:d.match(e)[1],data:w}}},2772:(Ge,Q,m)=>{var t=m(2999),e=m(2562),g=m(5269),A=m(4330),o=m(9357),C=m(3502).Buffer;function u(d){var M;"object"==typeof d&&!C.isBuffer(d)&&(M=d.passphrase,d=d.key),"string"==typeof d&&(d=C.from(d));var P,U,w=g(d,M),L=w.tag,I=w.data;switch(L){case"CERTIFICATE":U=t.certificate.decode(I,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(U||(U=t.PublicKey.decode(I,"der")),P=U.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return t.RSAPublicKey.decode(U.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return U.subjectPrivateKey=U.subjectPublicKey,{type:"ec",data:U};case"1.2.840.10040.4.1":return U.algorithm.params.pub_key=t.DSAparam.decode(U.subjectPublicKey.data,"der"),{type:"dsa",data:U.algorithm.params};default:throw new Error("unknown key id "+P)}case"ENCRYPTED PRIVATE KEY":I=function O(d,M){var w=d.algorithm.decrypt.kde.kdeparams.salt,L=parseInt(d.algorithm.decrypt.kde.kdeparams.iters.toString(),10),I=e[d.algorithm.decrypt.cipher.algo.join(".")],P=d.algorithm.decrypt.cipher.iv,U=d.subjectPrivateKey,Z=parseInt(I.split("-")[1],10)/8,Y=o.pbkdf2Sync(M,w,L,Z,"sha1"),j=A.createDecipheriv(I,Y,P),X=[];return X.push(j.update(U)),X.push(j.final()),C.concat(X)}(I=t.EncryptedPrivateKey.decode(I,"der"),M);case"PRIVATE KEY":switch(P=(U=t.PrivateKey.decode(I,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return t.RSAPrivateKey.decode(U.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:U.algorithm.curve,privateKey:t.ECPrivateKey.decode(U.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return U.algorithm.params.priv_key=t.DSAparam.decode(U.subjectPrivateKey,"der"),{type:"dsa",params:U.algorithm.params};default:throw new Error("unknown key id "+P)}case"RSA PUBLIC KEY":return t.RSAPublicKey.decode(I,"der");case"RSA PRIVATE KEY":return t.RSAPrivateKey.decode(I,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:t.DSAPrivateKey.decode(I,"der")};case"EC PRIVATE KEY":return{curve:(I=t.ECPrivateKey.decode(I,"der")).parameters.value,privateKey:I.privateKey};default:throw new Error("unknown key type "+L)}}Ge.exports=u,u.signature=t.signature},9357:(Ge,Q,m)=>{Q.pbkdf2=m(415),Q.pbkdf2Sync=m(7472)},415:(Ge,Q,m)=>{var C,w,t=m(3502).Buffer,e=m(2697),g=m(8867),A=m(7472),o=m(4566),u=global.crypto&&global.crypto.subtle,O={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 L(){return w||(w=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function I(U,Z,Y,j,X){return u.importKey("raw",U,{name:"PBKDF2"},!1,["deriveBits"]).then(function(ee){return u.deriveBits({name:"PBKDF2",salt:Z,iterations:Y,hash:{name:X}},ee,j<<3)}).then(function(ee){return t.from(ee)})}Ge.exports=function(U,Z,Y,j,X,ee){"function"==typeof X&&(ee=X,X=void 0);var ue=O[(X=X||"sha1").toLowerCase()];if(ue&&"function"==typeof global.Promise){if(e(Y,j),U=o(U,g,"Password"),Z=o(Z,g,"Salt"),"function"!=typeof ee)throw new Error("No callback provided to pbkdf2");!function P(U,Z){U.then(function(Y){L()(function(){Z(null,Y)})},function(Y){L()(function(){Z(Y)})})}(function M(U){if(global.process&&!global.process.browser||!u||!u.importKey||!u.deriveBits)return Promise.resolve(!1);if(void 0!==d[U])return d[U];var Z=I(C=C||t.alloc(8),C,10,128,U).then(function(){return!0}).catch(function(){return!1});return d[U]=Z,Z}(ue).then(function(le){return le?I(U,Z,Y,j,ue):A(U,Z,Y,j,X)}),ee)}else L()(function(){var le;try{le=A(U,Z,Y,j,X)}catch(ie){return ee(ie)}ee(null,le)})}},8867:Ge=>{var Q;Q=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",Ge.exports=Q},2697:Ge=>{var Q=Math.pow(2,30)-1;Ge.exports=function(m,t){if("number"!=typeof m)throw new TypeError("Iterations not a number");if(m<0)throw new TypeError("Bad iterations");if("number"!=typeof t)throw new TypeError("Key length not a number");if(t<0||t>Q||t!=t)throw new TypeError("Bad key length")}},7472:(Ge,Q,m)=>{var t=m(5640),e=m(5634),g=m(5244),A=m(3502).Buffer,o=m(2697),C=m(8867),u=m(4566),O=A.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function M(I,P,U){var Z=function w(I){return"rmd160"===I||"ripemd160"===I?function U(Z){return(new e).update(Z).digest()}:"md5"===I?t:function P(Z){return g(I).update(Z).digest()}}(I),Y="sha512"===I||"sha384"===I?128:64;P.length>Y?P=Z(P):P.length<Y&&(P=A.concat([P,O],Y));for(var j=A.allocUnsafe(Y+d[I]),X=A.allocUnsafe(Y+d[I]),ee=0;ee<Y;ee++)j[ee]=54^P[ee],X[ee]=92^P[ee];var ue=A.allocUnsafe(Y+U+4);j.copy(ue,0,0,Y),this.ipad1=ue,this.ipad2=j,this.opad=X,this.alg=I,this.blocksize=Y,this.hash=Z,this.size=d[I]}M.prototype.run=function(I,P){return I.copy(P,this.blocksize),this.hash(P).copy(this.opad,this.blocksize),this.hash(this.opad)},Ge.exports=function L(I,P,U,Z,Y){o(U,Z);var j=new M(Y=Y||"sha1",I=u(I,C,"Password"),(P=u(P,C,"Salt")).length),X=A.allocUnsafe(Z),ee=A.allocUnsafe(P.length+4);P.copy(ee,0,0,P.length);for(var ue=0,le=d[Y],ie=Math.ceil(Z/le),ce=1;ce<=ie;ce++){ee.writeUInt32BE(ce,P.length);for(var se=j.run(ee,j.ipad1),he=se,E=1;E<U;E++){he=j.run(he,j.ipad2);for(var i=0;i<le;i++)se[i]^=he[i]}se.copy(X,ue),ue+=le}return X}},4566:(Ge,Q,m)=>{var t=m(3502).Buffer;Ge.exports=function(e,g,A){if(t.isBuffer(e))return e;if("string"==typeof e)return t.from(e,g);if(ArrayBuffer.isView(e))return t.from(e.buffer);throw new TypeError(A+" must be a string, a Buffer, a typed array or a DataView")}},3701:(Ge,Q,m)=>{Q.publicEncrypt=m(6562),Q.privateDecrypt=m(6705),Q.privateEncrypt=function(e,g){return Q.publicEncrypt(e,g,!0)},Q.publicDecrypt=function(e,g){return Q.privateDecrypt(e,g,!0)}},6945:(Ge,Q,m)=>{var t=m(6386),e=m(3502).Buffer;function g(A){var o=e.allocUnsafe(4);return o.writeUInt32BE(A,0),o}Ge.exports=function(A,o){for(var O,C=e.alloc(0),u=0;C.length<o;)O=g(u++),C=e.concat([C,t("sha1").update(A).update(O).digest()]);return C.slice(0,o)}},2057:function(Ge,Q,m){!function(t,e){"use strict";function g(E,i){if(!E)throw new Error(i||"Assertion failed")}function A(E,i){E.super_=i;var r=function(){};r.prototype=i.prototype,E.prototype=new r,E.prototype.constructor=E}function o(E,i,r){if(o.isBN(E))return E;this.negative=0,this.words=null,this.length=0,this.red=null,null!==E&&(("le"===i||"be"===i)&&(r=i,i=10),this._init(E||0,i||10,r||"be"))}var C;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(7108).Buffer}catch{}function u(E,i){var r=E.charCodeAt(i);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function O(E,i,r){var h=u(E,r);return r-1>=i&&(h|=u(E,r-1)<<4),h}function d(E,i,r,h){for(var c=0,y=Math.min(E.length,r),S=i;S<y;S++){var k=E.charCodeAt(S)-48;c*=h,c+=k>=49?k-49+10:k>=17?k-17+10:k}return c}o.isBN=function(i){return i instanceof o||null!==i&&"object"==typeof i&&i.constructor.wordSize===o.wordSize&&Array.isArray(i.words)},o.max=function(i,r){return i.cmp(r)>0?i:r},o.min=function(i,r){return i.cmp(r)<0?i:r},o.prototype._init=function(i,r,h){if("number"==typeof i)return this._initNumber(i,r,h);if("object"==typeof i)return this._initArray(i,r,h);"hex"===r&&(r=16),g(r===(0|r)&&r>=2&&r<=36);var c=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(c++,this.negative=1),c<i.length&&(16===r?this._parseHex(i,c,h):(this._parseBase(i,r,c),"le"===h&&this._initArray(this.toArray(),r,h)))},o.prototype._initNumber=function(i,r,h){i<0&&(this.negative=1,i=-i),i<67108864?(this.words=[67108863&i],this.length=1):i<4503599627370496?(this.words=[67108863&i,i/67108864&67108863],this.length=2):(g(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===h&&this._initArray(this.toArray(),r,h)},o.prototype._initArray=function(i,r,h){if(g("number"==typeof i.length),i.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(i.length/3),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var y,S,k=0;if("be"===h)for(c=i.length-1,y=0;c>=0;c-=3)this.words[y]|=(S=i[c]|i[c-1]<<8|i[c-2]<<16)<<k&67108863,this.words[y+1]=S>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);else if("le"===h)for(c=0,y=0;c<i.length;c+=3)this.words[y]|=(S=i[c]|i[c+1]<<8|i[c+2]<<16)<<k&67108863,this.words[y+1]=S>>>26-k&67108863,(k+=24)>=26&&(k-=26,y++);return this.strip()},o.prototype._parseHex=function(i,r,h){this.length=Math.ceil((i.length-r)/6),this.words=new Array(this.length);for(var c=0;c<this.length;c++)this.words[c]=0;var k,y=0,S=0;if("be"===h)for(c=i.length-1;c>=r;c-=2)k=O(i,r,c)<<y,this.words[S]|=67108863&k,y>=18?(y-=18,this.words[S+=1]|=k>>>26):y+=8;else for(c=(i.length-r)%2==0?r+1:r;c<i.length;c+=2)k=O(i,r,c)<<y,this.words[S]|=67108863&k,y>=18?(y-=18,this.words[S+=1]|=k>>>26):y+=8;this.strip()},o.prototype._parseBase=function(i,r,h){this.words=[0],this.length=1;for(var c=0,y=1;y<=67108863;y*=r)c++;c--,y=y/r|0;for(var S=i.length-h,k=S%c,v=Math.min(S,S-k)+h,n=0,b=h;b<v;b+=c)n=d(i,b,b+c,r),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==k){var B=1;for(n=d(i,b,i.length,r),b=0;b<k;b++)B*=r;this.imuln(B),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},o.prototype.copy=function(i){i.words=new Array(this.length);for(var r=0;r<this.length;r++)i.words[r]=this.words[r];i.length=this.length,i.negative=this.negative,i.red=this.red},o.prototype.clone=function(){var i=new o(null);return this.copy(i),i},o.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var M=["","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"],w=[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],L=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function P(E,i,r){r.negative=i.negative^E.negative;var h=E.length+i.length|0;r.length=h,h=h-1|0;var c=0|E.words[0],y=0|i.words[0],S=c*y,v=S/67108864|0;r.words[0]=67108863&S;for(var n=1;n<h;n++){for(var b=v>>>26,B=67108863&v,z=Math.min(n,i.length-1),W=Math.max(0,n-E.length+1);W<=z;W++)b+=(S=(c=0|E.words[n-W|0])*(y=0|i.words[W])+B)/67108864|0,B=67108863&S;r.words[n]=0|B,v=0|b}return 0!==v?r.words[n]=0|v:r.length--,r.strip()}o.prototype.toString=function(i,r){var h;if(r=0|r||1,16===(i=i||10)||"hex"===i){h="";for(var c=0,y=0,S=0;S<this.length;S++){var k=this.words[S],v=(16777215&(k<<c|y)).toString(16);h=0!=(y=k>>>24-c&16777215)||S!==this.length-1?M[6-v.length]+v+h:v+h,(c+=2)>=26&&(c-=26,S--)}for(0!==y&&(h=y.toString(16)+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=L[i];h="";var B=this.clone();for(B.negative=0;!B.isZero();){var z=B.modn(b).toString(i);h=(B=B.idivn(b)).isZero()?z+h:M[n-z.length]+z+h}for(this.isZero()&&(h="0"+h);h.length%r!=0;)h="0"+h;return 0!==this.negative&&(h="-"+h),h}g(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var i=this.words[0];return 2===this.length?i+=67108864*this.words[1]:3===this.length&&1===this.words[2]?i+=4503599627370496+67108864*this.words[1]:this.length>2&&g(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-i:i},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(i,r){return g(typeof C<"u"),this.toArrayLike(C,i,r)},o.prototype.toArray=function(i,r){return this.toArrayLike(Array,i,r)},o.prototype.toArrayLike=function(i,r,h){var c=this.byteLength(),y=h||Math.max(1,c);g(c<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var v,n,S="le"===r,k=new i(y),b=this.clone();if(S){for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),k[n]=v;for(;n<y;n++)k[n]=0}else{for(n=0;n<y-c;n++)k[n]=0;for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),k[y-n-1]=v}return k},o.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var r=i,h=0;return r>=4096&&(h+=13,r>>>=13),r>=64&&(h+=7,r>>>=7),r>=8&&(h+=4,r>>>=4),r>=2&&(h+=2,r>>>=2),h+r},o.prototype._zeroBits=function(i){if(0===i)return 26;var r=i,h=0;return 0==(8191&r)&&(h+=13,r>>>=13),0==(127&r)&&(h+=7,r>>>=7),0==(15&r)&&(h+=4,r>>>=4),0==(3&r)&&(h+=2,r>>>=2),0==(1&r)&&h++,h},o.prototype.bitLength=function(){var r=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+r},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,r=0;r<this.length;r++){var h=this._zeroBits(this.words[r]);if(i+=h,26!==h)break}return i},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},o.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var r=0;r<i.length;r++)this.words[r]=this.words[r]|i.words[r];return this.strip()},o.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},o.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},o.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},o.prototype.iuand=function(i){var r;r=this.length>i.length?i:this;for(var h=0;h<r.length;h++)this.words[h]=this.words[h]&i.words[h];return this.length=r.length,this.strip()},o.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},o.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},o.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},o.prototype.iuxor=function(i){var r,h;this.length>i.length?(r=this,h=i):(r=i,h=this);for(var c=0;c<h.length;c++)this.words[c]=r.words[c]^h.words[c];if(this!==r)for(;c<r.length;c++)this.words[c]=r.words[c];return this.length=r.length,this.strip()},o.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},o.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},o.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},o.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var r=0|Math.ceil(i/26),h=i%26;this._expand(r),h>0&&r--;for(var c=0;c<r;c++)this.words[c]=67108863&~this.words[c];return h>0&&(this.words[c]=~this.words[c]&67108863>>26-h),this.strip()},o.prototype.notn=function(i){return this.clone().inotn(i)},o.prototype.setn=function(i,r){g("number"==typeof i&&i>=0);var h=i/26|0,c=i%26;return this._expand(h+1),this.words[h]=r?this.words[h]|1<<c:this.words[h]&~(1<<c),this.strip()},o.prototype.iadd=function(i){var r,h,c;if(0!==this.negative&&0===i.negative)return this.negative=0,r=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,r=this.isub(i),i.negative=1,r._normSign();this.length>i.length?(h=this,c=i):(h=i,c=this);for(var y=0,S=0;S<c.length;S++)this.words[S]=67108863&(r=(0|h.words[S])+(0|c.words[S])+y),y=r>>>26;for(;0!==y&&S<h.length;S++)this.words[S]=67108863&(r=(0|h.words[S])+y),y=r>>>26;if(this.length=h.length,0!==y)this.words[this.length]=y,this.length++;else if(h!==this)for(;S<h.length;S++)this.words[S]=h.words[S];return this},o.prototype.add=function(i){var r;return 0!==i.negative&&0===this.negative?(i.negative=0,r=this.sub(i),i.negative^=1,r):0===i.negative&&0!==this.negative?(this.negative=0,r=i.sub(this),this.negative=1,r):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},o.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var r=this.iadd(i);return i.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var c,y,h=this.cmp(i);if(0===h)return this.negative=0,this.length=1,this.words[0]=0,this;h>0?(c=this,y=i):(c=i,y=this);for(var S=0,k=0;k<y.length;k++)S=(r=(0|c.words[k])-(0|y.words[k])+S)>>26,this.words[k]=67108863&r;for(;0!==S&&k<c.length;k++)S=(r=(0|c.words[k])+S)>>26,this.words[k]=67108863&r;if(0===S&&k<c.length&&c!==this)for(;k<c.length;k++)this.words[k]=c.words[k];return this.length=Math.max(this.length,k),c!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(i){return this.clone().isub(i)};var U=function(i,r,h){var v,n,b,c=i.words,y=r.words,S=h.words,k=0,B=0|c[0],z=8191&B,W=B>>>13,Oe=0|c[1],it=8191&Oe,Ne=Oe>>>13,ot=0|c[2],Ie=8191&ot,ve=ot>>>13,fe=0|c[3],Se=8191&fe,te=fe>>>13,Ke=0|c[4],Ae=8191&Ke,oe=Ke>>>13,ye=0|c[5],me=8191&ye,Me=ye>>>13,Ze=0|c[6],q=8191&Ze,de=Ze>>>13,xe=0|c[7],ke=8191&xe,ft=xe>>>13,_t=0|c[8],ct=8191&_t,nt=_t>>>13,Jt=0|c[9],vt=8191&Jt,ne=Jt>>>13,Ht=0|y[0],De=8191&Ht,ze=Ht>>>13,wt=0|y[1],Re=8191&wt,tt=wt>>>13,Bt=0|y[2],It=8191&Bt,zt=Bt>>>13,xt=0|y[3],we=8191&xt,J=xt>>>13,be=0|y[4],Fe=8191&be,at=be>>>13,ii=0|y[5],Gt=8191&ii,ei=ii>>>13,ht=0|y[6],rt=8191&ht,yt=ht>>>13,ri=0|y[7],Ut=8191&ri,Vt=ri>>>13,Ft=0|y[8],Qe=8191&Ft,Ve=Ft>>>13,je=0|y[9],Xe=8191&je,Et=je>>>13;h.negative=i.negative^r.negative,h.length=19;var mi=(k+(v=Math.imul(z,De))|0)+((8191&(n=(n=Math.imul(z,ze))+Math.imul(W,De)|0))<<13)|0;k=((b=Math.imul(W,ze))+(n>>>13)|0)+(mi>>>26)|0,mi&=67108863,v=Math.imul(it,De),n=(n=Math.imul(it,ze))+Math.imul(Ne,De)|0,b=Math.imul(Ne,ze);var Li=(k+(v=v+Math.imul(z,Re)|0)|0)+((8191&(n=(n=n+Math.imul(z,tt)|0)+Math.imul(W,Re)|0))<<13)|0;k=((b=b+Math.imul(W,tt)|0)+(n>>>13)|0)+(Li>>>26)|0,Li&=67108863,v=Math.imul(Ie,De),n=(n=Math.imul(Ie,ze))+Math.imul(ve,De)|0,b=Math.imul(ve,ze),v=v+Math.imul(it,Re)|0,n=(n=n+Math.imul(it,tt)|0)+Math.imul(Ne,Re)|0,b=b+Math.imul(Ne,tt)|0;var wi=(k+(v=v+Math.imul(z,It)|0)|0)+((8191&(n=(n=n+Math.imul(z,zt)|0)+Math.imul(W,It)|0))<<13)|0;k=((b=b+Math.imul(W,zt)|0)+(n>>>13)|0)+(wi>>>26)|0,wi&=67108863,v=Math.imul(Se,De),n=(n=Math.imul(Se,ze))+Math.imul(te,De)|0,b=Math.imul(te,ze),v=v+Math.imul(Ie,Re)|0,n=(n=n+Math.imul(Ie,tt)|0)+Math.imul(ve,Re)|0,b=b+Math.imul(ve,tt)|0,v=v+Math.imul(it,It)|0,n=(n=n+Math.imul(it,zt)|0)+Math.imul(Ne,It)|0,b=b+Math.imul(Ne,zt)|0;var Vi=(k+(v=v+Math.imul(z,we)|0)|0)+((8191&(n=(n=n+Math.imul(z,J)|0)+Math.imul(W,we)|0))<<13)|0;k=((b=b+Math.imul(W,J)|0)+(n>>>13)|0)+(Vi>>>26)|0,Vi&=67108863,v=Math.imul(Ae,De),n=(n=Math.imul(Ae,ze))+Math.imul(oe,De)|0,b=Math.imul(oe,ze),v=v+Math.imul(Se,Re)|0,n=(n=n+Math.imul(Se,tt)|0)+Math.imul(te,Re)|0,b=b+Math.imul(te,tt)|0,v=v+Math.imul(Ie,It)|0,n=(n=n+Math.imul(Ie,zt)|0)+Math.imul(ve,It)|0,b=b+Math.imul(ve,zt)|0,v=v+Math.imul(it,we)|0,n=(n=n+Math.imul(it,J)|0)+Math.imul(Ne,we)|0,b=b+Math.imul(Ne,J)|0;var qe=(k+(v=v+Math.imul(z,Fe)|0)|0)+((8191&(n=(n=n+Math.imul(z,at)|0)+Math.imul(W,Fe)|0))<<13)|0;k=((b=b+Math.imul(W,at)|0)+(n>>>13)|0)+(qe>>>26)|0,qe&=67108863,v=Math.imul(me,De),n=(n=Math.imul(me,ze))+Math.imul(Me,De)|0,b=Math.imul(Me,ze),v=v+Math.imul(Ae,Re)|0,n=(n=n+Math.imul(Ae,tt)|0)+Math.imul(oe,Re)|0,b=b+Math.imul(oe,tt)|0,v=v+Math.imul(Se,It)|0,n=(n=n+Math.imul(Se,zt)|0)+Math.imul(te,It)|0,b=b+Math.imul(te,zt)|0,v=v+Math.imul(Ie,we)|0,n=(n=n+Math.imul(Ie,J)|0)+Math.imul(ve,we)|0,b=b+Math.imul(ve,J)|0,v=v+Math.imul(it,Fe)|0,n=(n=n+Math.imul(it,at)|0)+Math.imul(Ne,Fe)|0,b=b+Math.imul(Ne,at)|0;var Tt=(k+(v=v+Math.imul(z,Gt)|0)|0)+((8191&(n=(n=n+Math.imul(z,ei)|0)+Math.imul(W,Gt)|0))<<13)|0;k=((b=b+Math.imul(W,ei)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,v=Math.imul(q,De),n=(n=Math.imul(q,ze))+Math.imul(de,De)|0,b=Math.imul(de,ze),v=v+Math.imul(me,Re)|0,n=(n=n+Math.imul(me,tt)|0)+Math.imul(Me,Re)|0,b=b+Math.imul(Me,tt)|0,v=v+Math.imul(Ae,It)|0,n=(n=n+Math.imul(Ae,zt)|0)+Math.imul(oe,It)|0,b=b+Math.imul(oe,zt)|0,v=v+Math.imul(Se,we)|0,n=(n=n+Math.imul(Se,J)|0)+Math.imul(te,we)|0,b=b+Math.imul(te,J)|0,v=v+Math.imul(Ie,Fe)|0,n=(n=n+Math.imul(Ie,at)|0)+Math.imul(ve,Fe)|0,b=b+Math.imul(ve,at)|0,v=v+Math.imul(it,Gt)|0,n=(n=n+Math.imul(it,ei)|0)+Math.imul(Ne,Gt)|0,b=b+Math.imul(Ne,ei)|0;var ge=(k+(v=v+Math.imul(z,rt)|0)|0)+((8191&(n=(n=n+Math.imul(z,yt)|0)+Math.imul(W,rt)|0))<<13)|0;k=((b=b+Math.imul(W,yt)|0)+(n>>>13)|0)+(ge>>>26)|0,ge&=67108863,v=Math.imul(ke,De),n=(n=Math.imul(ke,ze))+Math.imul(ft,De)|0,b=Math.imul(ft,ze),v=v+Math.imul(q,Re)|0,n=(n=n+Math.imul(q,tt)|0)+Math.imul(de,Re)|0,b=b+Math.imul(de,tt)|0,v=v+Math.imul(me,It)|0,n=(n=n+Math.imul(me,zt)|0)+Math.imul(Me,It)|0,b=b+Math.imul(Me,zt)|0,v=v+Math.imul(Ae,we)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(oe,we)|0,b=b+Math.imul(oe,J)|0,v=v+Math.imul(Se,Fe)|0,n=(n=n+Math.imul(Se,at)|0)+Math.imul(te,Fe)|0,b=b+Math.imul(te,at)|0,v=v+Math.imul(Ie,Gt)|0,n=(n=n+Math.imul(Ie,ei)|0)+Math.imul(ve,Gt)|0,b=b+Math.imul(ve,ei)|0,v=v+Math.imul(it,rt)|0,n=(n=n+Math.imul(it,yt)|0)+Math.imul(Ne,rt)|0,b=b+Math.imul(Ne,yt)|0;var Dt=(k+(v=v+Math.imul(z,Ut)|0)|0)+((8191&(n=(n=n+Math.imul(z,Vt)|0)+Math.imul(W,Ut)|0))<<13)|0;k=((b=b+Math.imul(W,Vt)|0)+(n>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(ct,De),n=(n=Math.imul(ct,ze))+Math.imul(nt,De)|0,b=Math.imul(nt,ze),v=v+Math.imul(ke,Re)|0,n=(n=n+Math.imul(ke,tt)|0)+Math.imul(ft,Re)|0,b=b+Math.imul(ft,tt)|0,v=v+Math.imul(q,It)|0,n=(n=n+Math.imul(q,zt)|0)+Math.imul(de,It)|0,b=b+Math.imul(de,zt)|0,v=v+Math.imul(me,we)|0,n=(n=n+Math.imul(me,J)|0)+Math.imul(Me,we)|0,b=b+Math.imul(Me,J)|0,v=v+Math.imul(Ae,Fe)|0,n=(n=n+Math.imul(Ae,at)|0)+Math.imul(oe,Fe)|0,b=b+Math.imul(oe,at)|0,v=v+Math.imul(Se,Gt)|0,n=(n=n+Math.imul(Se,ei)|0)+Math.imul(te,Gt)|0,b=b+Math.imul(te,ei)|0,v=v+Math.imul(Ie,rt)|0,n=(n=n+Math.imul(Ie,yt)|0)+Math.imul(ve,rt)|0,b=b+Math.imul(ve,yt)|0,v=v+Math.imul(it,Ut)|0,n=(n=n+Math.imul(it,Vt)|0)+Math.imul(Ne,Ut)|0,b=b+Math.imul(Ne,Vt)|0;var Kt=(k+(v=v+Math.imul(z,Qe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ve)|0)+Math.imul(W,Qe)|0))<<13)|0;k=((b=b+Math.imul(W,Ve)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,v=Math.imul(vt,De),n=(n=Math.imul(vt,ze))+Math.imul(ne,De)|0,b=Math.imul(ne,ze),v=v+Math.imul(ct,Re)|0,n=(n=n+Math.imul(ct,tt)|0)+Math.imul(nt,Re)|0,b=b+Math.imul(nt,tt)|0,v=v+Math.imul(ke,It)|0,n=(n=n+Math.imul(ke,zt)|0)+Math.imul(ft,It)|0,b=b+Math.imul(ft,zt)|0,v=v+Math.imul(q,we)|0,n=(n=n+Math.imul(q,J)|0)+Math.imul(de,we)|0,b=b+Math.imul(de,J)|0,v=v+Math.imul(me,Fe)|0,n=(n=n+Math.imul(me,at)|0)+Math.imul(Me,Fe)|0,b=b+Math.imul(Me,at)|0,v=v+Math.imul(Ae,Gt)|0,n=(n=n+Math.imul(Ae,ei)|0)+Math.imul(oe,Gt)|0,b=b+Math.imul(oe,ei)|0,v=v+Math.imul(Se,rt)|0,n=(n=n+Math.imul(Se,yt)|0)+Math.imul(te,rt)|0,b=b+Math.imul(te,yt)|0,v=v+Math.imul(Ie,Ut)|0,n=(n=n+Math.imul(Ie,Vt)|0)+Math.imul(ve,Ut)|0,b=b+Math.imul(ve,Vt)|0,v=v+Math.imul(it,Qe)|0,n=(n=n+Math.imul(it,Ve)|0)+Math.imul(Ne,Qe)|0,b=b+Math.imul(Ne,Ve)|0;var fi=(k+(v=v+Math.imul(z,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(z,Et)|0)+Math.imul(W,Xe)|0))<<13)|0;k=((b=b+Math.imul(W,Et)|0)+(n>>>13)|0)+(fi>>>26)|0,fi&=67108863,v=Math.imul(vt,Re),n=(n=Math.imul(vt,tt))+Math.imul(ne,Re)|0,b=Math.imul(ne,tt),v=v+Math.imul(ct,It)|0,n=(n=n+Math.imul(ct,zt)|0)+Math.imul(nt,It)|0,b=b+Math.imul(nt,zt)|0,v=v+Math.imul(ke,we)|0,n=(n=n+Math.imul(ke,J)|0)+Math.imul(ft,we)|0,b=b+Math.imul(ft,J)|0,v=v+Math.imul(q,Fe)|0,n=(n=n+Math.imul(q,at)|0)+Math.imul(de,Fe)|0,b=b+Math.imul(de,at)|0,v=v+Math.imul(me,Gt)|0,n=(n=n+Math.imul(me,ei)|0)+Math.imul(Me,Gt)|0,b=b+Math.imul(Me,ei)|0,v=v+Math.imul(Ae,rt)|0,n=(n=n+Math.imul(Ae,yt)|0)+Math.imul(oe,rt)|0,b=b+Math.imul(oe,yt)|0,v=v+Math.imul(Se,Ut)|0,n=(n=n+Math.imul(Se,Vt)|0)+Math.imul(te,Ut)|0,b=b+Math.imul(te,Vt)|0,v=v+Math.imul(Ie,Qe)|0,n=(n=n+Math.imul(Ie,Ve)|0)+Math.imul(ve,Qe)|0,b=b+Math.imul(ve,Ve)|0;var Mi=(k+(v=v+Math.imul(it,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(it,Et)|0)+Math.imul(Ne,Xe)|0))<<13)|0;k=((b=b+Math.imul(Ne,Et)|0)+(n>>>13)|0)+(Mi>>>26)|0,Mi&=67108863,v=Math.imul(vt,It),n=(n=Math.imul(vt,zt))+Math.imul(ne,It)|0,b=Math.imul(ne,zt),v=v+Math.imul(ct,we)|0,n=(n=n+Math.imul(ct,J)|0)+Math.imul(nt,we)|0,b=b+Math.imul(nt,J)|0,v=v+Math.imul(ke,Fe)|0,n=(n=n+Math.imul(ke,at)|0)+Math.imul(ft,Fe)|0,b=b+Math.imul(ft,at)|0,v=v+Math.imul(q,Gt)|0,n=(n=n+Math.imul(q,ei)|0)+Math.imul(de,Gt)|0,b=b+Math.imul(de,ei)|0,v=v+Math.imul(me,rt)|0,n=(n=n+Math.imul(me,yt)|0)+Math.imul(Me,rt)|0,b=b+Math.imul(Me,yt)|0,v=v+Math.imul(Ae,Ut)|0,n=(n=n+Math.imul(Ae,Vt)|0)+Math.imul(oe,Ut)|0,b=b+Math.imul(oe,Vt)|0,v=v+Math.imul(Se,Qe)|0,n=(n=n+Math.imul(Se,Ve)|0)+Math.imul(te,Qe)|0,b=b+Math.imul(te,Ve)|0;var Pi=(k+(v=v+Math.imul(Ie,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Et)|0)+Math.imul(ve,Xe)|0))<<13)|0;k=((b=b+Math.imul(ve,Et)|0)+(n>>>13)|0)+(Pi>>>26)|0,Pi&=67108863,v=Math.imul(vt,we),n=(n=Math.imul(vt,J))+Math.imul(ne,we)|0,b=Math.imul(ne,J),v=v+Math.imul(ct,Fe)|0,n=(n=n+Math.imul(ct,at)|0)+Math.imul(nt,Fe)|0,b=b+Math.imul(nt,at)|0,v=v+Math.imul(ke,Gt)|0,n=(n=n+Math.imul(ke,ei)|0)+Math.imul(ft,Gt)|0,b=b+Math.imul(ft,ei)|0,v=v+Math.imul(q,rt)|0,n=(n=n+Math.imul(q,yt)|0)+Math.imul(de,rt)|0,b=b+Math.imul(de,yt)|0,v=v+Math.imul(me,Ut)|0,n=(n=n+Math.imul(me,Vt)|0)+Math.imul(Me,Ut)|0,b=b+Math.imul(Me,Vt)|0,v=v+Math.imul(Ae,Qe)|0,n=(n=n+Math.imul(Ae,Ve)|0)+Math.imul(oe,Qe)|0,b=b+Math.imul(oe,Ve)|0;var Ui=(k+(v=v+Math.imul(Se,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Se,Et)|0)+Math.imul(te,Xe)|0))<<13)|0;k=((b=b+Math.imul(te,Et)|0)+(n>>>13)|0)+(Ui>>>26)|0,Ui&=67108863,v=Math.imul(vt,Fe),n=(n=Math.imul(vt,at))+Math.imul(ne,Fe)|0,b=Math.imul(ne,at),v=v+Math.imul(ct,Gt)|0,n=(n=n+Math.imul(ct,ei)|0)+Math.imul(nt,Gt)|0,b=b+Math.imul(nt,ei)|0,v=v+Math.imul(ke,rt)|0,n=(n=n+Math.imul(ke,yt)|0)+Math.imul(ft,rt)|0,b=b+Math.imul(ft,yt)|0,v=v+Math.imul(q,Ut)|0,n=(n=n+Math.imul(q,Vt)|0)+Math.imul(de,Ut)|0,b=b+Math.imul(de,Vt)|0,v=v+Math.imul(me,Qe)|0,n=(n=n+Math.imul(me,Ve)|0)+Math.imul(Me,Qe)|0,b=b+Math.imul(Me,Ve)|0;var Wt=(k+(v=v+Math.imul(Ae,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Et)|0)+Math.imul(oe,Xe)|0))<<13)|0;k=((b=b+Math.imul(oe,Et)|0)+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,v=Math.imul(vt,Gt),n=(n=Math.imul(vt,ei))+Math.imul(ne,Gt)|0,b=Math.imul(ne,ei),v=v+Math.imul(ct,rt)|0,n=(n=n+Math.imul(ct,yt)|0)+Math.imul(nt,rt)|0,b=b+Math.imul(nt,yt)|0,v=v+Math.imul(ke,Ut)|0,n=(n=n+Math.imul(ke,Vt)|0)+Math.imul(ft,Ut)|0,b=b+Math.imul(ft,Vt)|0,v=v+Math.imul(q,Qe)|0,n=(n=n+Math.imul(q,Ve)|0)+Math.imul(de,Qe)|0,b=b+Math.imul(de,Ve)|0;var si=(k+(v=v+Math.imul(me,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(me,Et)|0)+Math.imul(Me,Xe)|0))<<13)|0;k=((b=b+Math.imul(Me,Et)|0)+(n>>>13)|0)+(si>>>26)|0,si&=67108863,v=Math.imul(vt,rt),n=(n=Math.imul(vt,yt))+Math.imul(ne,rt)|0,b=Math.imul(ne,yt),v=v+Math.imul(ct,Ut)|0,n=(n=n+Math.imul(ct,Vt)|0)+Math.imul(nt,Ut)|0,b=b+Math.imul(nt,Vt)|0,v=v+Math.imul(ke,Qe)|0,n=(n=n+Math.imul(ke,Ve)|0)+Math.imul(ft,Qe)|0,b=b+Math.imul(ft,Ve)|0;var _e=(k+(v=v+Math.imul(q,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(q,Et)|0)+Math.imul(de,Xe)|0))<<13)|0;k=((b=b+Math.imul(de,Et)|0)+(n>>>13)|0)+(_e>>>26)|0,_e&=67108863,v=Math.imul(vt,Ut),n=(n=Math.imul(vt,Vt))+Math.imul(ne,Ut)|0,b=Math.imul(ne,Vt),v=v+Math.imul(ct,Qe)|0,n=(n=n+Math.imul(ct,Ve)|0)+Math.imul(nt,Qe)|0,b=b+Math.imul(nt,Ve)|0;var $e=(k+(v=v+Math.imul(ke,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(ke,Et)|0)+Math.imul(ft,Xe)|0))<<13)|0;k=((b=b+Math.imul(ft,Et)|0)+(n>>>13)|0)+($e>>>26)|0,$e&=67108863,v=Math.imul(vt,Qe),n=(n=Math.imul(vt,Ve))+Math.imul(ne,Qe)|0,b=Math.imul(ne,Ve);var St=(k+(v=v+Math.imul(ct,Xe)|0)|0)+((8191&(n=(n=n+Math.imul(ct,Et)|0)+Math.imul(nt,Xe)|0))<<13)|0;k=((b=b+Math.imul(nt,Et)|0)+(n>>>13)|0)+(St>>>26)|0,St&=67108863;var mt=(k+(v=Math.imul(vt,Xe))|0)+((8191&(n=(n=Math.imul(vt,Et))+Math.imul(ne,Xe)|0))<<13)|0;return k=((b=Math.imul(ne,Et))+(n>>>13)|0)+(mt>>>26)|0,mt&=67108863,S[0]=mi,S[1]=Li,S[2]=wi,S[3]=Vi,S[4]=qe,S[5]=Tt,S[6]=ge,S[7]=Dt,S[8]=Kt,S[9]=fi,S[10]=Mi,S[11]=Pi,S[12]=Ui,S[13]=Wt,S[14]=si,S[15]=_e,S[16]=$e,S[17]=St,S[18]=mt,0!==k&&(S[19]=k,h.length++),h};function Y(E,i,r){return(new j).mulp(E,i,r)}function j(E,i){this.x=E,this.y=i}Math.imul||(U=P),o.prototype.mulTo=function(i,r){var h,c=this.length+i.length;return h=10===this.length&&10===i.length?U(this,i,r):c<63?P(this,i,r):c<1024?function Z(E,i,r){r.negative=i.negative^E.negative,r.length=E.length+i.length;for(var h=0,c=0,y=0;y<r.length-1;y++){var S=c;c=0;for(var k=67108863&h,v=Math.min(y,i.length-1),n=Math.max(0,y-E.length+1);n<=v;n++){var W=(0|E.words[y-n])*(0|i.words[n]),Oe=67108863&W;k=67108863&(Oe=Oe+k|0),c+=(S=(S=S+(W/67108864|0)|0)+(Oe>>>26)|0)>>>26,S&=67108863}r.words[y]=k,h=S,S=c}return 0!==h?r.words[y]=h:r.length--,r.strip()}(this,i,r):Y(this,i,r),h},j.prototype.makeRBT=function(i){for(var r=new Array(i),h=o.prototype._countBits(i)-1,c=0;c<i;c++)r[c]=this.revBin(c,h,i);return r},j.prototype.revBin=function(i,r,h){if(0===i||i===h-1)return i;for(var c=0,y=0;y<r;y++)c|=(1&i)<<r-y-1,i>>=1;return c},j.prototype.permute=function(i,r,h,c,y,S){for(var k=0;k<S;k++)c[k]=r[i[k]],y[k]=h[i[k]]},j.prototype.transform=function(i,r,h,c,y,S){this.permute(S,i,r,h,c,y);for(var k=1;k<y;k<<=1)for(var v=k<<1,n=Math.cos(2*Math.PI/v),b=Math.sin(2*Math.PI/v),B=0;B<y;B+=v)for(var z=n,W=b,Oe=0;Oe<k;Oe++){var it=h[B+Oe],Ne=c[B+Oe],ot=h[B+Oe+k],Ie=c[B+Oe+k],ve=z*ot-W*Ie;Ie=z*Ie+W*ot,h[B+Oe]=it+(ot=ve),c[B+Oe]=Ne+Ie,h[B+Oe+k]=it-ot,c[B+Oe+k]=Ne-Ie,Oe!==v&&(ve=n*z-b*W,W=n*W+b*z,z=ve)}},j.prototype.guessLen13b=function(i,r){var h=1|Math.max(r,i),c=1&h,y=0;for(h=h/2|0;h;h>>>=1)y++;return 1<<y+1+c},j.prototype.conjugate=function(i,r,h){if(!(h<=1))for(var c=0;c<h/2;c++){var y=i[c];i[c]=i[h-c-1],i[h-c-1]=y,y=r[c],r[c]=-r[h-c-1],r[h-c-1]=-y}},j.prototype.normalize13b=function(i,r){for(var h=0,c=0;c<r/2;c++){var y=8192*Math.round(i[2*c+1]/r)+Math.round(i[2*c]/r)+h;i[c]=67108863&y,h=y<67108864?0:y/67108864|0}return i},j.prototype.convert13b=function(i,r,h,c){for(var y=0,S=0;S<r;S++)h[2*S]=8191&(y+=0|i[S]),h[2*S+1]=8191&(y>>>=13),y>>>=13;for(S=2*r;S<c;++S)h[S]=0;g(0===y),g(0==(-8192&y))},j.prototype.stub=function(i){for(var r=new Array(i),h=0;h<i;h++)r[h]=0;return r},j.prototype.mulp=function(i,r,h){var c=2*this.guessLen13b(i.length,r.length),y=this.makeRBT(c),S=this.stub(c),k=new Array(c),v=new Array(c),n=new Array(c),b=new Array(c),B=new Array(c),z=new Array(c),W=h.words;W.length=c,this.convert13b(i.words,i.length,k,c),this.convert13b(r.words,r.length,b,c),this.transform(k,S,v,n,c,y),this.transform(b,S,B,z,c,y);for(var Oe=0;Oe<c;Oe++){var it=v[Oe]*B[Oe]-n[Oe]*z[Oe];n[Oe]=v[Oe]*z[Oe]+n[Oe]*B[Oe],v[Oe]=it}return this.conjugate(v,n,c),this.transform(v,n,W,S,c,y),this.conjugate(W,S,c),this.normalize13b(W,c),h.negative=i.negative^r.negative,h.length=i.length+r.length,h.strip()},o.prototype.mul=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),this.mulTo(i,r)},o.prototype.mulf=function(i){var r=new o(null);return r.words=new Array(this.length+i.length),Y(this,i,r)},o.prototype.imul=function(i){return this.clone().mulTo(i,this)},o.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var r=0,h=0;h<this.length;h++){var c=(0|this.words[h])*i,y=(67108863&c)+(67108863&r);r>>=26,r+=c/67108864|0,r+=y>>>26,this.words[h]=67108863&y}return 0!==r&&(this.words[h]=r,this.length++),this},o.prototype.muln=function(i){return this.clone().imuln(i)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(i){var r=function I(E){for(var i=new Array(E.bitLength()),r=0;r<i.length;r++){var c=r%26;i[r]=(E.words[r/26|0]&1<<c)>>>c}return i}(i);if(0===r.length)return new o(1);for(var h=this,c=0;c<r.length&&0===r[c];c++,h=h.sqr());if(++c<r.length)for(var y=h.sqr();c<r.length;c++,y=y.sqr())0!==r[c]&&(h=h.mul(y));return h},o.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,r=i%26,h=(i-r)/26,c=67108863>>>26-r<<26-r;if(0!==r){var S=0;for(y=0;y<this.length;y++){var k=this.words[y]&c;this.words[y]=(0|this.words[y])-k<<r|S,S=k>>>26-r}S&&(this.words[y]=S,this.length++)}if(0!==h){for(y=this.length-1;y>=0;y--)this.words[y+h]=this.words[y];for(y=0;y<h;y++)this.words[y]=0;this.length+=h}return this.strip()},o.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},o.prototype.iushrn=function(i,r,h){var c;g("number"==typeof i&&i>=0),c=r?(r-r%26)/26:0;var y=i%26,S=Math.min((i-y)/26,this.length),k=67108863^67108863>>>y<<y,v=h;if(c-=S,c=Math.max(0,c),v){for(var n=0;n<S;n++)v.words[n]=this.words[n];v.length=S}if(0!==S)if(this.length>S)for(this.length-=S,n=0;n<this.length;n++)this.words[n]=this.words[n+S];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=c);n--){var B=0|this.words[n];this.words[n]=b<<26-y|B>>>y,b=B&k}return v&&0!==b&&(v.words[v.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(i,r,h){return g(0===this.negative),this.iushrn(i,r,h)},o.prototype.shln=function(i){return this.clone().ishln(i)},o.prototype.ushln=function(i){return this.clone().iushln(i)},o.prototype.shrn=function(i){return this.clone().ishrn(i)},o.prototype.ushrn=function(i){return this.clone().iushrn(i)},o.prototype.testn=function(i){g("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return!(this.length<=h||!(this.words[h]&1<<r))},o.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var r=i%26,h=(i-r)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=h?this:(0!==r&&h++,this.length=Math.min(h,this.length),0!==r&&(this.words[this.length-1]&=67108863^67108863>>>r<<r),this.strip())},o.prototype.maskn=function(i){return this.clone().imaskn(i)},o.prototype.iaddn=function(i){return g("number"==typeof i),g(i<67108864),i<0?this.isubn(-i):0!==this.negative?1===this.length&&(0|this.words[0])<i?(this.words[0]=i-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(i),this.negative=1,this):this._iaddn(i)},o.prototype._iaddn=function(i){this.words[0]+=i;for(var r=0;r<this.length&&this.words[r]>=67108864;r++)this.words[r]-=67108864,r===this.length-1?this.words[r+1]=1:this.words[r+1]++;return this.length=Math.max(this.length,r+1),this},o.prototype.isubn=function(i){if(g("number"==typeof i),g(i<67108864),i<0)return this.iaddn(-i);if(0!==this.negative)return this.negative=0,this.iaddn(i),this.negative=1,this;if(this.words[0]-=i,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var r=0;r<this.length&&this.words[r]<0;r++)this.words[r]+=67108864,this.words[r+1]-=1;return this.strip()},o.prototype.addn=function(i){return this.clone().iaddn(i)},o.prototype.subn=function(i){return this.clone().isubn(i)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(i,r,h){var y;this._expand(i.length+h);var S,k=0;for(y=0;y<i.length;y++){S=(0|this.words[y+h])+k;var v=(0|i.words[y])*r;k=((S-=67108863&v)>>26)-(v/67108864|0),this.words[y+h]=67108863&S}for(;y<this.length-h;y++)k=(S=(0|this.words[y+h])+k)>>26,this.words[y+h]=67108863&S;if(0===k)return this.strip();for(g(-1===k),k=0,y=0;y<this.length;y++)k=(S=-(0|this.words[y])+k)>>26,this.words[y]=67108863&S;return this.negative=1,this.strip()},o.prototype._wordDiv=function(i,r){var h,c=this.clone(),y=i,S=0|y.words[y.length-1];0!=(h=26-this._countBits(S))&&(y=y.ushln(h),c.iushln(h),S=0|y.words[y.length-1]);var n,v=c.length-y.length;if("mod"!==r){(n=new o(null)).length=v+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var B=c.clone()._ishlnsubmul(y,1,v);0===B.negative&&(c=B,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var W=67108864*(0|c.words[y.length+z])+(0|c.words[y.length+z-1]);for(W=Math.min(W/S|0,67108863),c._ishlnsubmul(y,W,z);0!==c.negative;)W--,c.negative=0,c._ishlnsubmul(y,1,z),c.isZero()||(c.negative^=1);n&&(n.words[z]=W)}return n&&n.strip(),c.strip(),"div"!==r&&0!==h&&c.iushrn(h),{div:n||null,mod:c}},o.prototype.divmod=function(i,r,h){return g(!i.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===i.negative?(S=this.neg().divmod(i,r),"mod"!==r&&(c=S.div.neg()),"div"!==r&&(y=S.mod.neg(),h&&0!==y.negative&&y.iadd(i)),{div:c,mod:y}):0===this.negative&&0!==i.negative?(S=this.divmod(i.neg(),r),"mod"!==r&&(c=S.div.neg()),{div:c,mod:S.mod}):0!=(this.negative&i.negative)?(S=this.neg().divmod(i.neg(),r),"div"!==r&&(y=S.mod.neg(),h&&0!==y.negative&&y.isub(i)),{div:S.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new o(0),mod:this}:1===i.length?"div"===r?{div:this.divn(i.words[0]),mod:null}:"mod"===r?{div:null,mod:new o(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new o(this.modn(i.words[0]))}:this._wordDiv(i,r);var c,y,S},o.prototype.div=function(i){return this.divmod(i,"div",!1).div},o.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},o.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},o.prototype.divRound=function(i){var r=this.divmod(i);if(r.mod.isZero())return r.div;var h=0!==r.div.negative?r.mod.isub(i):r.mod,c=i.ushrn(1),y=i.andln(1),S=h.cmp(c);return S<0||1===y&&0===S?r.div:0!==r.div.negative?r.div.isubn(1):r.div.iaddn(1)},o.prototype.modn=function(i){g(i<=67108863);for(var r=(1<<26)%i,h=0,c=this.length-1;c>=0;c--)h=(r*h+(0|this.words[c]))%i;return h},o.prototype.idivn=function(i){g(i<=67108863);for(var r=0,h=this.length-1;h>=0;h--){var c=(0|this.words[h])+67108864*r;this.words[h]=c/i|0,r=c%i}return this.strip()},o.prototype.divn=function(i){return this.clone().idivn(i)},o.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),y=new o(0),S=new o(0),k=new o(1),v=0;r.isEven()&&h.isEven();)r.iushrn(1),h.iushrn(1),++v;for(var n=h.clone(),b=r.clone();!r.isZero();){for(var B=0,z=1;0==(r.words[0]&z)&&B<26;++B,z<<=1);if(B>0)for(r.iushrn(B);B-- >0;)(c.isOdd()||y.isOdd())&&(c.iadd(n),y.isub(b)),c.iushrn(1),y.iushrn(1);for(var W=0,Oe=1;0==(h.words[0]&Oe)&&W<26;++W,Oe<<=1);if(W>0)for(h.iushrn(W);W-- >0;)(S.isOdd()||k.isOdd())&&(S.iadd(n),k.isub(b)),S.iushrn(1),k.iushrn(1);r.cmp(h)>=0?(r.isub(h),c.isub(S),y.isub(k)):(h.isub(r),S.isub(c),k.isub(y))}return{a:S,b:k,gcd:h.iushln(v)}},o.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var B,r=this,h=i.clone();r=0!==r.negative?r.umod(i):r.clone();for(var c=new o(1),y=new o(0),S=h.clone();r.cmpn(1)>0&&h.cmpn(1)>0;){for(var k=0,v=1;0==(r.words[0]&v)&&k<26;++k,v<<=1);if(k>0)for(r.iushrn(k);k-- >0;)c.isOdd()&&c.iadd(S),c.iushrn(1);for(var n=0,b=1;0==(h.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(h.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(S),y.iushrn(1);r.cmp(h)>=0?(r.isub(h),c.isub(y)):(h.isub(r),y.isub(c))}return(B=0===r.cmpn(1)?c:y).cmpn(0)<0&&B.iadd(i),B},o.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var r=this.clone(),h=i.clone();r.negative=0,h.negative=0;for(var c=0;r.isEven()&&h.isEven();c++)r.iushrn(1),h.iushrn(1);for(;;){for(;r.isEven();)r.iushrn(1);for(;h.isEven();)h.iushrn(1);var y=r.cmp(h);if(y<0){var S=r;r=h,h=S}else if(0===y||0===h.cmpn(1))break;r.isub(h)}return h.iushln(c)},o.prototype.invm=function(i){return this.egcd(i).a.umod(i)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(i){return this.words[0]&i},o.prototype.bincn=function(i){g("number"==typeof i);var r=i%26,h=(i-r)/26,c=1<<r;if(this.length<=h)return this._expand(h+1),this.words[h]|=c,this;for(var y=c,S=h;0!==y&&S<this.length;S++){var k=0|this.words[S];y=(k+=y)>>>26,this.words[S]=k&=67108863}return 0!==y&&(this.words[S]=y,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(i){var h,r=i<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)h=1;else{r&&(i=-i),g(i<=67108863,"Number is too big");var c=0|this.words[0];h=c===i?0:c<i?-1:1}return 0!==this.negative?0|-h:h},o.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var r=this.ucmp(i);return 0!==this.negative?0|-r:r},o.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var r=0,h=this.length-1;h>=0;h--){var c=0|this.words[h],y=0|i.words[h];if(c!==y){c<y?r=-1:c>y&&(r=1);break}}return r},o.prototype.gtn=function(i){return 1===this.cmpn(i)},o.prototype.gt=function(i){return 1===this.cmp(i)},o.prototype.gten=function(i){return this.cmpn(i)>=0},o.prototype.gte=function(i){return this.cmp(i)>=0},o.prototype.ltn=function(i){return-1===this.cmpn(i)},o.prototype.lt=function(i){return-1===this.cmp(i)},o.prototype.lten=function(i){return this.cmpn(i)<=0},o.prototype.lte=function(i){return this.cmp(i)<=0},o.prototype.eqn=function(i){return 0===this.cmpn(i)},o.prototype.eq=function(i){return 0===this.cmp(i)},o.red=function(i){return new se(i)},o.prototype.toRed=function(i){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},o.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(i){return this.red=i,this},o.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},o.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},o.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},o.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},o.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},o.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},o.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},o.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},o.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var X={k256:null,p224:null,p192:null,p25519:null};function ee(E,i){this.name=E,this.p=new o(i,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ue(){ee.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function le(){ee.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ie(){ee.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){ee.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(E){if("string"==typeof E){var i=o._prime(E);this.m=i.p,this.prime=i}else g(E.gtn(1),"modulus must be greater than 1"),this.m=E,this.prime=null}function he(E){se.call(this,E),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(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 i=new o(null);return i.words=new Array(Math.ceil(this.n/13)),i},ee.prototype.ireduce=function(i){var h,r=i;do{this.split(r,this.tmp),h=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(h>this.n);var c=h<this.n?-1:r.ucmp(this.p);return 0===c?(r.words[0]=0,r.length=1):c>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},ee.prototype.split=function(i,r){i.iushrn(this.n,0,r)},ee.prototype.imulK=function(i){return i.imul(this.k)},A(ue,ee),ue.prototype.split=function(i,r){for(var h=4194303,c=Math.min(i.length,9),y=0;y<c;y++)r.words[y]=i.words[y];if(r.length=c,i.length<=9)return i.words[0]=0,void(i.length=1);var S=i.words[9];for(r.words[r.length++]=S&h,y=10;y<i.length;y++){var k=0|i.words[y];i.words[y-10]=(k&h)<<4|S>>>22,S=k}i.words[y-10]=S>>>=22,i.length-=0===S&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var r=0,h=0;h<i.length;h++){var c=0|i.words[h];i.words[h]=67108863&(r+=977*c),r=64*c+(r/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},A(le,ee),A(ie,ee),A(ce,ee),ce.prototype.imulK=function(i){for(var r=0,h=0;h<i.length;h++){var c=19*(0|i.words[h])+r,y=67108863&c;c>>>=26,i.words[h]=y,r=c}return 0!==r&&(i.words[i.length++]=r),i},o._prime=function(i){if(X[i])return X[i];var r;if("k256"===i)r=new ue;else if("p224"===i)r=new le;else if("p192"===i)r=new ie;else{if("p25519"!==i)throw new Error("Unknown prime "+i);r=new ce}return X[i]=r,r},se.prototype._verify1=function(i){g(0===i.negative,"red works only with positives"),g(i.red,"red works only with red numbers")},se.prototype._verify2=function(i,r){g(0==(i.negative|r.negative),"red works only with positives"),g(i.red&&i.red===r.red,"red works only with red numbers")},se.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},se.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},se.prototype.add=function(i,r){this._verify2(i,r);var h=i.add(r);return h.cmp(this.m)>=0&&h.isub(this.m),h._forceRed(this)},se.prototype.iadd=function(i,r){this._verify2(i,r);var h=i.iadd(r);return h.cmp(this.m)>=0&&h.isub(this.m),h},se.prototype.sub=function(i,r){this._verify2(i,r);var h=i.sub(r);return h.cmpn(0)<0&&h.iadd(this.m),h._forceRed(this)},se.prototype.isub=function(i,r){this._verify2(i,r);var h=i.isub(r);return h.cmpn(0)<0&&h.iadd(this.m),h},se.prototype.shl=function(i,r){return this._verify1(i),this.imod(i.ushln(r))},se.prototype.imul=function(i,r){return this._verify2(i,r),this.imod(i.imul(r))},se.prototype.mul=function(i,r){return this._verify2(i,r),this.imod(i.mul(r))},se.prototype.isqr=function(i){return this.imul(i,i.clone())},se.prototype.sqr=function(i){return this.mul(i,i)},se.prototype.sqrt=function(i){if(i.isZero())return i.clone();var r=this.m.andln(3);if(g(r%2==1),3===r){var h=this.m.add(new o(1)).iushrn(2);return this.pow(i,h)}for(var c=this.m.subn(1),y=0;!c.isZero()&&0===c.andln(1);)y++,c.iushrn(1);g(!c.isZero());var S=new o(1).toRed(this),k=S.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new o(2*n*n).toRed(this);0!==this.pow(n,v).cmp(k);)n.redIAdd(k);for(var b=this.pow(n,c),B=this.pow(i,c.addn(1).iushrn(1)),z=this.pow(i,c),W=y;0!==z.cmp(S);){for(var Oe=z,it=0;0!==Oe.cmp(S);it++)Oe=Oe.redSqr();g(it<W);var Ne=this.pow(b,new o(1).iushln(W-it-1));B=B.redMul(Ne),b=Ne.redSqr(),z=z.redMul(b),W=it}return B},se.prototype.invm=function(i){var r=i._invmp(this.m);return 0!==r.negative?(r.negative=0,this.imod(r).redNeg()):this.imod(r)},se.prototype.pow=function(i,r){if(r.isZero())return new o(1).toRed(this);if(0===r.cmpn(1))return i.clone();var c=new Array(16);c[0]=new o(1).toRed(this),c[1]=i;for(var y=2;y<c.length;y++)c[y]=this.mul(c[y-1],i);var S=c[0],k=0,v=0,n=r.bitLength()%26;for(0===n&&(n=26),y=r.length-1;y>=0;y--){for(var b=r.words[y],B=n-1;B>=0;B--){var z=b>>B&1;S!==c[0]&&(S=this.sqr(S)),0!==z||0!==k?(k<<=1,k|=z,(4==++v||0===y&&0===B)&&(S=this.mul(S,c[k]),v=0,k=0)):v=0}n=26}return S},se.prototype.convertTo=function(i){var r=i.umod(this.m);return r===i?r.clone():r},se.prototype.convertFrom=function(i){var r=i.clone();return r.red=null,r},o.mont=function(i){return new he(i)},A(he,se),he.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},he.prototype.convertFrom=function(i){var r=this.imod(i.mul(this.rinv));return r.red=null,r},he.prototype.imul=function(i,r){if(i.isZero()||r.isZero())return i.words[0]=0,i.length=1,i;var h=i.imul(r),c=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(c).iushrn(this.shift),S=y;return y.cmp(this.m)>=0?S=y.isub(this.m):y.cmpn(0)<0&&(S=y.iadd(this.m)),S._forceRed(this)},he.prototype.mul=function(i,r){if(i.isZero()||r.isZero())return new o(0)._forceRed(this);var h=i.mul(r),c=h.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=h.isub(c).iushrn(this.shift),S=y;return y.cmp(this.m)>=0?S=y.isub(this.m):y.cmpn(0)<0&&(S=y.iadd(this.m)),S._forceRed(this)},he.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ge=m.nmd(Ge),this)},6705:(Ge,Q,m)=>{var t=m(2772),e=m(6945),g=m(9401),A=m(2057),o=m(8466),C=m(6386),u=m(8651),O=m(3502).Buffer;Ge.exports=function(I,P,U){var Z;Z=I.padding?I.padding:U?1:4;var X,Y=t(I),j=Y.modulus.byteLength();if(P.length>j||new A(P).cmp(Y.modulus)>=0)throw new Error("decryption error");X=U?u(new A(P),Y):o(P,Y);var ee=O.alloc(j-X.length);if(X=O.concat([ee,X],j),4===Z)return function d(L,I){var P=L.modulus.byteLength(),U=C("sha1").update(O.alloc(0)).digest(),Z=U.length;if(0!==I[0])throw new Error("decryption error");var Y=I.slice(1,Z+1),j=I.slice(Z+1),X=g(Y,e(j,Z)),ee=g(j,e(X,P-Z-1));if(function w(L,I){L=O.from(L),I=O.from(I);var P=0,U=L.length;L.length!==I.length&&(P++,U=Math.min(L.length,I.length));for(var Z=-1;++Z<U;)P+=L[Z]^I[Z];return P}(U,ee.slice(0,Z)))throw new Error("decryption error");for(var ue=Z;0===ee[ue];)ue++;if(1!==ee[ue++])throw new Error("decryption error");return ee.slice(ue)}(Y,X);if(1===Z)return function M(L,I,P){for(var U=I.slice(0,2),Z=2,Y=0;0!==I[Z++];)if(Z>=I.length){Y++;break}var j=I.slice(2,Z-1);if(("0002"!==U.toString("hex")&&!P||"0001"!==U.toString("hex")&&P)&&Y++,j.length<8&&Y++,Y)throw new Error("decryption error");return I.slice(Z)}(0,X,U);if(3===Z)return X;throw new Error("unknown padding")}},6562:(Ge,Q,m)=>{var t=m(2772),e=m(3753),g=m(6386),A=m(6945),o=m(9401),C=m(2057),u=m(8651),O=m(8466),d=m(3502).Buffer;Ge.exports=function(P,U,Z){var Y;Y=P.padding?P.padding:Z?1:4;var X,j=t(P);if(4===Y)X=function M(I,P){var U=I.modulus.byteLength(),Z=P.length,Y=g("sha1").update(d.alloc(0)).digest(),j=Y.length,X=2*j;if(Z>U-X-2)throw new Error("message too long");var ee=d.alloc(U-Z-X-2),ue=U-j-1,le=e(j),ie=o(d.concat([Y,ee,d.alloc(1,1),P],ue),A(le,ue)),ce=o(le,A(ie,j));return new C(d.concat([d.alloc(1),ce,ie],U))}(j,U);else if(1===Y)X=function w(I,P,U){var j,Z=P.length,Y=I.modulus.byteLength();if(Z>Y-11)throw new Error("message too long");return j=U?d.alloc(Y-Z-3,255):function L(I){for(var j,P=d.allocUnsafe(I),U=0,Z=e(2*I),Y=0;U<I;)Y===Z.length&&(Z=e(2*I),Y=0),(j=Z[Y++])&&(P[U++]=j);return P}(Y-Z-3),new C(d.concat([d.from([0,U?1:2]),j,d.alloc(1),P],Y))}(j,U,Z);else{if(3!==Y)throw new Error("unknown padding");if((X=new C(U)).cmp(j.modulus)>=0)throw new Error("data too long for modulus")}return Z?O(X,j):u(X,j)}},8651:(Ge,Q,m)=>{var t=m(2057),e=m(3502).Buffer;Ge.exports=function g(A,o){return e.from(A.toRed(t.mont(o.modulus)).redPow(new t(o.publicExponent)).fromRed().toArray())}},9401:Ge=>{Ge.exports=function(m,t){for(var e=m.length,g=-1;++g<e;)m[g]^=t[g];return m}},3259:(Ge,Q,m)=>{const t=m(8695),e=m(1465),g=m(3210),A=m(2334);function o(C,u,O,d,M){const w=[].slice.call(arguments,1),L=w.length,I="function"==typeof w[L-1];if(!I&&!t())throw new Error("Callback required as last argument");if(!I){if(L<1)throw new Error("Too few arguments provided");return 1===L?(O=u,u=d=void 0):2===L&&!u.getContext&&(d=O,O=u,u=void 0),new Promise(function(P,U){try{const Z=e.create(O,d);P(C(Z,u,d))}catch(Z){U(Z)}})}if(L<2)throw new Error("Too few arguments provided");2===L?(M=O,O=u,u=d=void 0):3===L&&(u.getContext&&typeof M>"u"?(M=d,d=void 0):(M=d,d=O,O=u,u=void 0));try{const P=e.create(O,d);M(null,C(P,u,d))}catch(P){M(P)}}Q.create=e.create,Q.toCanvas=o.bind(null,g.render),Q.toDataURL=o.bind(null,g.renderToDataURL),Q.toString=o.bind(null,function(C,u,O){return A.render(C,O)})},8695:Ge=>{Ge.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6221:(Ge,Q,m)=>{const t=m(4792).getSymbolSize;Q.getRowColCoords=function(g){if(1===g)return[];const A=Math.floor(g/7)+2,o=t(g),C=145===o?26:2*Math.ceil((o-13)/(2*A-2)),u=[o-7];for(let O=1;O<A-1;O++)u[O]=u[O-1]-C;return u.push(6),u.reverse()},Q.getPositions=function(g){const A=[],o=Q.getRowColCoords(g),C=o.length;for(let u=0;u<C;u++)for(let O=0;O<C;O++)0===u&&0===O||0===u&&O===C-1||u===C-1&&0===O||A.push([o[u],o[O]]);return A}},2424:(Ge,Q,m)=>{const t=m(4016),e=["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 g(A){this.mode=t.ALPHANUMERIC,this.data=A}g.getBitsLength=function(o){return 11*Math.floor(o/2)+o%2*6},g.prototype.getLength=function(){return this.data.length},g.prototype.getBitsLength=function(){return g.getBitsLength(this.data.length)},g.prototype.write=function(o){let C;for(C=0;C+2<=this.data.length;C+=2){let u=45*e.indexOf(this.data[C]);u+=e.indexOf(this.data[C+1]),o.put(u,11)}this.data.length%2&&o.put(e.indexOf(this.data[C]),6)},Ge.exports=g},2118:Ge=>{function Q(){this.buffer=[],this.length=0}Q.prototype={get:function(m){const t=Math.floor(m/8);return 1==(this.buffer[t]>>>7-m%8&1)},put:function(m,t){for(let e=0;e<t;e++)this.putBit(1==(m>>>t-e-1&1))},getLengthInBits:function(){return this.length},putBit:function(m){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),m&&(this.buffer[t]|=128>>>this.length%8),this.length++}},Ge.exports=Q},4425:Ge=>{function Q(m){if(!m||m<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=m,this.data=new Uint8Array(m*m),this.reservedBit=new Uint8Array(m*m)}Q.prototype.set=function(m,t,e,g){const A=m*this.size+t;this.data[A]=e,g&&(this.reservedBit[A]=!0)},Q.prototype.get=function(m,t){return this.data[m*this.size+t]},Q.prototype.xor=function(m,t,e){this.data[m*this.size+t]^=e},Q.prototype.isReserved=function(m,t){return this.reservedBit[m*this.size+t]},Ge.exports=Q},5663:(Ge,Q,m)=>{const t=m(8419),e=m(4016);function g(A){this.mode=e.BYTE,"string"==typeof A&&(A=t(A)),this.data=new Uint8Array(A)}g.getBitsLength=function(o){return 8*o},g.prototype.getLength=function(){return this.data.length},g.prototype.getBitsLength=function(){return g.getBitsLength(this.data.length)},g.prototype.write=function(A){for(let o=0,C=this.data.length;o<C;o++)A.put(this.data[o],8)},Ge.exports=g},4655:(Ge,Q,m)=>{const t=m(2259),e=[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],g=[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];Q.getBlocksCount=function(o,C){switch(C){case t.L:return e[4*(o-1)+0];case t.M:return e[4*(o-1)+1];case t.Q:return e[4*(o-1)+2];case t.H:return e[4*(o-1)+3];default:return}},Q.getTotalCodewordsCount=function(o,C){switch(C){case t.L:return g[4*(o-1)+0];case t.M:return g[4*(o-1)+1];case t.Q:return g[4*(o-1)+2];case t.H:return g[4*(o-1)+3];default:return}}},2259:(Ge,Q)=>{Q.L={bit:1},Q.M={bit:0},Q.Q={bit:3},Q.H={bit:2},Q.isValid=function(e){return e&&typeof e.bit<"u"&&e.bit>=0&&e.bit<4},Q.from=function(e,g){if(Q.isValid(e))return e;try{return function m(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return Q.L;case"m":case"medium":return Q.M;case"q":case"quartile":return Q.Q;case"h":case"high":return Q.H;default:throw new Error("Unknown EC Level: "+t)}}(e)}catch{return g}}},3114:(Ge,Q,m)=>{const t=m(4792).getSymbolSize;Q.getPositions=function(A){const o=t(A);return[[0,0],[o-7,0],[0,o-7]]}},7078:(Ge,Q,m)=>{const t=m(4792),A=t.getBCHDigit(1335);Q.getEncodedBits=function(C,u){const O=C.bit<<3|u;let d=O<<10;for(;t.getBCHDigit(d)-A>=0;)d^=1335<<t.getBCHDigit(d)-A;return 21522^(O<<10|d)}},5339:(Ge,Q)=>{const m=new Uint8Array(512),t=new Uint8Array(256);(function(){let g=1;for(let A=0;A<255;A++)m[A]=g,t[g]=A,g<<=1,256&g&&(g^=285);for(let A=255;A<512;A++)m[A]=m[A-255]})(),Q.log=function(g){if(g<1)throw new Error("log("+g+")");return t[g]},Q.exp=function(g){return m[g]},Q.mul=function(g,A){return 0===g||0===A?0:m[t[g]+t[A]]}},449:(Ge,Q,m)=>{const t=m(4016),e=m(4792);function g(A){this.mode=t.KANJI,this.data=A}g.getBitsLength=function(o){return 13*o},g.prototype.getLength=function(){return this.data.length},g.prototype.getBitsLength=function(){return g.getBitsLength(this.data.length)},g.prototype.write=function(A){let o;for(o=0;o<this.data.length;o++){let C=e.toSJIS(this.data[o]);if(C>=33088&&C<=40956)C-=33088;else{if(!(C>=57408&&C<=60351))throw new Error("Invalid SJIS character: "+this.data[o]+"\nMake sure your charset is UTF-8");C-=49472}C=192*(C>>>8&255)+(255&C),A.put(C,13)}},Ge.exports=g},3667:(Ge,Q)=>{Q.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function t(e,g,A){switch(e){case Q.Patterns.PATTERN000:return(g+A)%2==0;case Q.Patterns.PATTERN001:return g%2==0;case Q.Patterns.PATTERN010:return A%3==0;case Q.Patterns.PATTERN011:return(g+A)%3==0;case Q.Patterns.PATTERN100:return(Math.floor(g/2)+Math.floor(A/3))%2==0;case Q.Patterns.PATTERN101:return g*A%2+g*A%3==0;case Q.Patterns.PATTERN110:return(g*A%2+g*A%3)%2==0;case Q.Patterns.PATTERN111:return(g*A%3+(g+A)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}Q.isValid=function(g){return null!=g&&""!==g&&!isNaN(g)&&g>=0&&g<=7},Q.from=function(g){return Q.isValid(g)?parseInt(g,10):void 0},Q.getPenaltyN1=function(g){const A=g.size;let o=0,C=0,u=0,O=null,d=null;for(let M=0;M<A;M++){C=u=0,O=d=null;for(let w=0;w<A;w++){let L=g.get(M,w);L===O?C++:(C>=5&&(o+=C-5+3),O=L,C=1),L=g.get(w,M),L===d?u++:(u>=5&&(o+=u-5+3),d=L,u=1)}C>=5&&(o+=C-5+3),u>=5&&(o+=u-5+3)}return o},Q.getPenaltyN2=function(g){const A=g.size;let o=0;for(let C=0;C<A-1;C++)for(let u=0;u<A-1;u++){const O=g.get(C,u)+g.get(C,u+1)+g.get(C+1,u)+g.get(C+1,u+1);(4===O||0===O)&&o++}return 3*o},Q.getPenaltyN3=function(g){const A=g.size;let o=0,C=0,u=0;for(let O=0;O<A;O++){C=u=0;for(let d=0;d<A;d++)C=C<<1&2047|g.get(O,d),d>=10&&(1488===C||93===C)&&o++,u=u<<1&2047|g.get(d,O),d>=10&&(1488===u||93===u)&&o++}return 40*o},Q.getPenaltyN4=function(g){let A=0;const o=g.data.length;for(let u=0;u<o;u++)A+=g.data[u];return 10*Math.abs(Math.ceil(100*A/o/5)-10)},Q.applyMask=function(g,A){const o=A.size;for(let C=0;C<o;C++)for(let u=0;u<o;u++)A.isReserved(u,C)||A.xor(u,C,t(g,u,C))},Q.getBestMask=function(g,A){const o=Object.keys(Q.Patterns).length;let C=0,u=1/0;for(let O=0;O<o;O++){A(O),Q.applyMask(O,g);const d=Q.getPenaltyN1(g)+Q.getPenaltyN2(g)+Q.getPenaltyN3(g)+Q.getPenaltyN4(g);Q.applyMask(O,g),d<u&&(u=d,C=O)}return C}},4016:(Ge,Q,m)=>{const t=m(4406),e=m(2699);Q.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},Q.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},Q.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},Q.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},Q.MIXED={bit:-1},Q.getCharCountIndicator=function(o,C){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(C))throw new Error("Invalid version: "+C);return C>=1&&C<10?o.ccBits[0]:C<27?o.ccBits[1]:o.ccBits[2]},Q.getBestModeForData=function(o){return e.testNumeric(o)?Q.NUMERIC:e.testAlphanumeric(o)?Q.ALPHANUMERIC:e.testKanji(o)?Q.KANJI:Q.BYTE},Q.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},Q.isValid=function(o){return o&&o.bit&&o.ccBits},Q.from=function(o,C){if(Q.isValid(o))return o;try{return function g(A){if("string"!=typeof A)throw new Error("Param is not a string");switch(A.toLowerCase()){case"numeric":return Q.NUMERIC;case"alphanumeric":return Q.ALPHANUMERIC;case"kanji":return Q.KANJI;case"byte":return Q.BYTE;default:throw new Error("Unknown mode: "+A)}}(o)}catch{return C}}},7783:(Ge,Q,m)=>{const t=m(4016);function e(g){this.mode=t.NUMERIC,this.data=g.toString()}e.getBitsLength=function(A){return 10*Math.floor(A/3)+(A%3?A%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(A){let o,C,u;for(o=0;o+3<=this.data.length;o+=3)C=this.data.substr(o,3),u=parseInt(C,10),A.put(u,10);const O=this.data.length-o;O>0&&(C=this.data.substr(o),u=parseInt(C,10),A.put(u,3*O+1))},Ge.exports=e},1106:(Ge,Q,m)=>{const t=m(5339);Q.mul=function(g,A){const o=new Uint8Array(g.length+A.length-1);for(let C=0;C<g.length;C++)for(let u=0;u<A.length;u++)o[C+u]^=t.mul(g[C],A[u]);return o},Q.mod=function(g,A){let o=new Uint8Array(g);for(;o.length-A.length>=0;){const C=o[0];for(let O=0;O<A.length;O++)o[O]^=t.mul(A[O],C);let u=0;for(;u<o.length&&0===o[u];)u++;o=o.slice(u)}return o},Q.generateECPolynomial=function(g){let A=new Uint8Array([1]);for(let o=0;o<g;o++)A=Q.mul(A,new Uint8Array([1,t.exp(o)]));return A}},1465:(Ge,Q,m)=>{const t=m(4792),e=m(2259),g=m(2118),A=m(4425),o=m(6221),C=m(3114),u=m(3667),O=m(4655),d=m(2636),M=m(2088),w=m(7078),L=m(4016),I=m(2033);function j(ie,ce,se){const he=ie.size,E=w.getEncodedBits(ce,se);let i,r;for(i=0;i<15;i++)r=1==(E>>i&1),ie.set(i<6?i:i<8?i+1:he-15+i,8,r,!0),ie.set(8,i<8?he-i-1:i<9?15-i-1+1:15-i-1,r,!0);ie.set(he-8,8,1,!0)}function le(ie,ce,se,he){let E;if(Array.isArray(ie))E=I.fromArray(ie);else{if("string"!=typeof ie)throw new Error("Invalid data");{let y=ce;if(!y){const S=I.rawSplit(ie);y=M.getBestVersionForData(S,se)}E=I.fromString(ie,y||40)}}const i=M.getBestVersionForData(E,se);if(!i)throw new Error("The amount of data is too big to be stored in a QR Code");if(ce){if(ce<i)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+i+".\n")}else ce=i;const r=function ee(ie,ce,se){const he=new g;se.forEach(function(c){he.put(c.mode.bit,4),he.put(c.getLength(),L.getCharCountIndicator(c.mode,ie)),c.write(he)});const r=8*(t.getSymbolTotalCodewords(ie)-O.getTotalCodewordsCount(ie,ce));for(he.getLengthInBits()+4<=r&&he.put(0,4);he.getLengthInBits()%8!=0;)he.putBit(0);const h=(r-he.getLengthInBits())/8;for(let c=0;c<h;c++)he.put(c%2?17:236,8);return function ue(ie,ce,se){const he=t.getSymbolTotalCodewords(ce),i=he-O.getTotalCodewordsCount(ce,se),r=O.getBlocksCount(ce,se),c=r-he%r,y=Math.floor(he/r),S=Math.floor(i/r),k=S+1,v=y-S,n=new d(v);let b=0;const B=new Array(r),z=new Array(r);let W=0;const Oe=new Uint8Array(ie.buffer);for(let ve=0;ve<r;ve++){const fe=ve<c?S:k;B[ve]=Oe.slice(b,b+fe),z[ve]=n.encode(B[ve]),b+=fe,W=Math.max(W,fe)}const it=new Uint8Array(he);let ot,Ie,Ne=0;for(ot=0;ot<W;ot++)for(Ie=0;Ie<r;Ie++)ot<B[Ie].length&&(it[Ne++]=B[Ie][ot]);for(ot=0;ot<v;ot++)for(Ie=0;Ie<r;Ie++)it[Ne++]=z[Ie][ot];return it}(he,ie,ce)}(ce,se,E),h=t.getSymbolSize(ce),c=new A(h);return function P(ie,ce){const se=ie.size,he=C.getPositions(ce);for(let E=0;E<he.length;E++){const i=he[E][0],r=he[E][1];for(let h=-1;h<=7;h++)if(!(i+h<=-1||se<=i+h))for(let c=-1;c<=7;c++)r+c<=-1||se<=r+c||ie.set(i+h,r+c,h>=0&&h<=6&&(0===c||6===c)||c>=0&&c<=6&&(0===h||6===h)||h>=2&&h<=4&&c>=2&&c<=4,!0)}}(c,ce),function U(ie){const ce=ie.size;for(let se=8;se<ce-8;se++){const he=se%2==0;ie.set(se,6,he,!0),ie.set(6,se,he,!0)}}(c),function Z(ie,ce){const se=o.getPositions(ce);for(let he=0;he<se.length;he++){const E=se[he][0],i=se[he][1];for(let r=-2;r<=2;r++)for(let h=-2;h<=2;h++)ie.set(E+r,i+h,-2===r||2===r||-2===h||2===h||0===r&&0===h,!0)}}(c,ce),j(c,se,0),ce>=7&&function Y(ie,ce){const se=ie.size,he=M.getEncodedBits(ce);let E,i,r;for(let h=0;h<18;h++)E=Math.floor(h/3),i=h%3+se-8-3,r=1==(he>>h&1),ie.set(E,i,r,!0),ie.set(i,E,r,!0)}(c,ce),function X(ie,ce){const se=ie.size;let he=-1,E=se-1,i=7,r=0;for(let h=se-1;h>0;h-=2)for(6===h&&h--;;){for(let c=0;c<2;c++)if(!ie.isReserved(E,h-c)){let y=!1;r<ce.length&&(y=1==(ce[r]>>>i&1)),ie.set(E,h-c,y),i--,-1===i&&(r++,i=7)}if(E+=he,E<0||se<=E){E-=he,he=-he;break}}}(c,r),isNaN(he)&&(he=u.getBestMask(c,j.bind(null,c,se))),u.applyMask(he,c),j(c,se,he),{modules:c,version:ce,errorCorrectionLevel:se,maskPattern:he,segments:E}}Q.create=function(ce,se){if(typeof ce>"u"||""===ce)throw new Error("No input text");let E,i,he=e.M;return typeof se<"u"&&(he=e.from(se.errorCorrectionLevel,e.M),E=M.from(se.version),i=u.from(se.maskPattern),se.toSJISFunc&&t.setToSJISFunction(se.toSJISFunc)),le(ce,E,he,i)}},2636:(Ge,Q,m)=>{const t=m(1106);function e(g){this.genPoly=void 0,this.degree=g,this.degree&&this.initialize(this.degree)}e.prototype.initialize=function(A){this.degree=A,this.genPoly=t.generateECPolynomial(this.degree)},e.prototype.encode=function(A){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(A.length+this.degree);o.set(A);const C=t.mod(o,this.genPoly),u=this.degree-C.length;if(u>0){const O=new Uint8Array(this.degree);return O.set(C,u),O}return C},Ge.exports=e},2699:(Ge,Q)=>{const m="[0-9]+";let e="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";e=e.replace(/u/g,"\\u");const g="(?:(?![A-Z0-9 $%*+\\-./:]|"+e+")(?:.|[\r\n]))+";Q.KANJI=new RegExp(e,"g"),Q.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Q.BYTE=new RegExp(g,"g"),Q.NUMERIC=new RegExp(m,"g"),Q.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const A=new RegExp("^"+e+"$"),o=new RegExp("^"+m+"$"),C=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Q.testKanji=function(O){return A.test(O)},Q.testNumeric=function(O){return o.test(O)},Q.testAlphanumeric=function(O){return C.test(O)}},2033:(Ge,Q,m)=>{const t=m(4016),e=m(7783),g=m(2424),A=m(5663),o=m(449),C=m(2699),u=m(4792),O=m(4901);function d(Y){return unescape(encodeURIComponent(Y)).length}function M(Y,j,X){const ee=[];let ue;for(;null!==(ue=Y.exec(X));)ee.push({data:ue[0],index:ue.index,mode:j,length:ue[0].length});return ee}function w(Y){const j=M(C.NUMERIC,t.NUMERIC,Y),X=M(C.ALPHANUMERIC,t.ALPHANUMERIC,Y);let ee,ue;return u.isKanjiModeEnabled()?(ee=M(C.BYTE,t.BYTE,Y),ue=M(C.KANJI,t.KANJI,Y)):(ee=M(C.BYTE_KANJI,t.BYTE,Y),ue=[]),j.concat(X,ee,ue).sort(function(ie,ce){return ie.index-ce.index}).map(function(ie){return{data:ie.data,mode:ie.mode,length:ie.length}})}function L(Y,j){switch(j){case t.NUMERIC:return e.getBitsLength(Y);case t.ALPHANUMERIC:return g.getBitsLength(Y);case t.KANJI:return o.getBitsLength(Y);case t.BYTE:return A.getBitsLength(Y)}}function Z(Y,j){let X;const ee=t.getBestModeForData(Y);if(X=t.from(j,ee),X!==t.BYTE&&X.bit<ee.bit)throw new Error('"'+Y+'" cannot be encoded with mode '+t.toString(X)+".\n Suggested mode is: "+t.toString(ee));switch(X===t.KANJI&&!u.isKanjiModeEnabled()&&(X=t.BYTE),X){case t.NUMERIC:return new e(Y);case t.ALPHANUMERIC:return new g(Y);case t.KANJI:return new o(Y);case t.BYTE:return new A(Y)}}Q.fromArray=function(j){return j.reduce(function(X,ee){return"string"==typeof ee?X.push(Z(ee,null)):ee.data&&X.push(Z(ee.data,ee.mode)),X},[])},Q.fromString=function(j,X){const ue=function P(Y){const j=[];for(let X=0;X<Y.length;X++){const ee=Y[X];switch(ee.mode){case t.NUMERIC:j.push([ee,{data:ee.data,mode:t.ALPHANUMERIC,length:ee.length},{data:ee.data,mode:t.BYTE,length:ee.length}]);break;case t.ALPHANUMERIC:j.push([ee,{data:ee.data,mode:t.BYTE,length:ee.length}]);break;case t.KANJI:j.push([ee,{data:ee.data,mode:t.BYTE,length:d(ee.data)}]);break;case t.BYTE:j.push([{data:ee.data,mode:t.BYTE,length:d(ee.data)}])}}return j}(w(j,u.isKanjiModeEnabled())),le=function U(Y,j){const X={},ee={start:{}};let ue=["start"];for(let le=0;le<Y.length;le++){const ie=Y[le],ce=[];for(let se=0;se<ie.length;se++){const he=ie[se],E=""+le+se;ce.push(E),X[E]={node:he,lastCount:0},ee[E]={};for(let i=0;i<ue.length;i++){const r=ue[i];X[r]&&X[r].node.mode===he.mode?(ee[r][E]=L(X[r].lastCount+he.length,he.mode)-L(X[r].lastCount,he.mode),X[r].lastCount+=he.length):(X[r]&&(X[r].lastCount=he.length),ee[r][E]=L(he.length,he.mode)+4+t.getCharCountIndicator(he.mode,j))}}ue=ce}for(let le=0;le<ue.length;le++)ee[ue[le]].end=0;return{map:ee,table:X}}(ue,X),ie=O.find_path(le.map,"start","end"),ce=[];for(let se=1;se<ie.length-1;se++)ce.push(le.table[ie[se]].node);return Q.fromArray(function I(Y){return Y.reduce(function(j,X){const ee=j.length-1>=0?j[j.length-1]:null;return ee&&ee.mode===X.mode?(j[j.length-1].data+=X.data,j):(j.push(X),j)},[])}(ce))},Q.rawSplit=function(j){return Q.fromArray(w(j,u.isKanjiModeEnabled()))}},4792:(Ge,Q)=>{let m;const t=[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];Q.getSymbolSize=function(g){if(!g)throw new Error('"version" cannot be null or undefined');if(g<1||g>40)throw new Error('"version" should be in range from 1 to 40');return 4*g+17},Q.getSymbolTotalCodewords=function(g){return t[g]},Q.getBCHDigit=function(e){let g=0;for(;0!==e;)g++,e>>>=1;return g},Q.setToSJISFunction=function(g){if("function"!=typeof g)throw new Error('"toSJISFunc" is not a valid function.');m=g},Q.isKanjiModeEnabled=function(){return typeof m<"u"},Q.toSJIS=function(g){return m(g)}},4406:(Ge,Q)=>{Q.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},2088:(Ge,Q,m)=>{const t=m(4792),e=m(4655),g=m(2259),A=m(4016),o=m(4406),u=t.getBCHDigit(7973);function d(L,I){return A.getCharCountIndicator(L,I)+4}function M(L,I){let P=0;return L.forEach(function(U){const Z=d(U.mode,I);P+=Z+U.getBitsLength()}),P}Q.from=function(I,P){return o.isValid(I)?parseInt(I,10):P},Q.getCapacity=function(I,P,U){if(!o.isValid(I))throw new Error("Invalid QR Code version");typeof U>"u"&&(U=A.BYTE);const j=8*(t.getSymbolTotalCodewords(I)-e.getTotalCodewordsCount(I,P));if(U===A.MIXED)return j;const X=j-d(U,I);switch(U){case A.NUMERIC:return Math.floor(X/10*3);case A.ALPHANUMERIC:return Math.floor(X/11*2);case A.KANJI:return Math.floor(X/13);default:return Math.floor(X/8)}},Q.getBestVersionForData=function(I,P){let U;const Z=g.from(P,g.M);if(Array.isArray(I)){if(I.length>1)return function w(L,I){for(let P=1;P<=40;P++)if(M(L,P)<=Q.getCapacity(P,I,A.MIXED))return P}(I,Z);if(0===I.length)return 1;U=I[0]}else U=I;return function O(L,I,P){for(let U=1;U<=40;U++)if(I<=Q.getCapacity(U,P,L))return U}(U.mode,U.getLength(),Z)},Q.getEncodedBits=function(I){if(!o.isValid(I)||I<7)throw new Error("Invalid QR Code version");let P=I<<12;for(;t.getBCHDigit(P)-u>=0;)P^=7973<<t.getBCHDigit(P)-u;return I<<12|P}},3210:(Ge,Q,m)=>{const t=m(6355);Q.render=function(o,C,u){let O=u,d=C;typeof O>"u"&&(!C||!C.getContext)&&(O=C,C=void 0),C||(d=function g(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),O=t.getOptions(O);const M=t.getImageWidth(o.modules.size,O),w=d.getContext("2d"),L=w.createImageData(M,M);return t.qrToImageData(L.data,o,O),function e(A,o,C){A.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=C,o.width=C,o.style.height=C+"px",o.style.width=C+"px"}(w,d,M),w.putImageData(L,0,0),d},Q.renderToDataURL=function(o,C,u){let O=u;return typeof O>"u"&&(!C||!C.getContext)&&(O=C,C=void 0),O||(O={}),Q.render(o,C,O).toDataURL(O.type||"image/png",(O.rendererOpts||{}).quality)}},2334:(Ge,Q,m)=>{const t=m(6355);function e(o,C){const u=o.a/255,O=C+'="'+o.hex+'"';return u<1?O+" "+C+'-opacity="'+u.toFixed(2).slice(1)+'"':O}function g(o,C,u){let O=o+C;return typeof u<"u"&&(O+=" "+u),O}Q.render=function(C,u,O){const d=t.getOptions(u),M=C.modules.size,w=C.modules.data,L=M+2*d.margin,I=d.color.light.a?"<path "+e(d.color.light,"fill")+' d="M0 0h'+L+"v"+L+'H0z"/>':"",P="<path "+e(d.color.dark,"stroke")+' d="'+function A(o,C,u){let O="",d=0,M=!1,w=0;for(let L=0;L<o.length;L++){const I=Math.floor(L%C),P=Math.floor(L/C);!I&&!M&&(M=!0),o[L]?(w++,L>0&&I>0&&o[L-1]||(O+=M?g("M",I+u,.5+P+u):g("m",d,0),d=0,M=!1),I+1<C&&o[L+1]||(O+=g("h",w),w=0)):d++}return O}(w,M,d.margin)+'"/>',Y='<svg xmlns="http://www.w3.org/2000/svg" '+(d.width?'width="'+d.width+'" height="'+d.width+'" ':"")+'viewBox="0 0 '+L+" "+L+'" shape-rendering="crispEdges">'+I+P+"</svg>\n";return"function"==typeof O&&O(null,Y),Y}},6355:(Ge,Q)=>{function m(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");let e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)throw new Error("Invalid hex color: "+t);(3===e.length||4===e.length)&&(e=Array.prototype.concat.apply([],e.map(function(A){return[A,A]}))),6===e.length&&e.push("F","F");const g=parseInt(e.join(""),16);return{r:g>>24&255,g:g>>16&255,b:g>>8&255,a:255&g,hex:"#"+e.slice(0,6).join("")}}Q.getOptions=function(e){e||(e={}),e.color||(e.color={});const A=e.width&&e.width>=21?e.width:void 0;return{width:A,scale:A?4:e.scale||4,margin:typeof e.margin>"u"||null===e.margin||e.margin<0?4:e.margin,color:{dark:m(e.color.dark||"#000000ff"),light:m(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},Q.getScale=function(e,g){return g.width&&g.width>=e+2*g.margin?g.width/(e+2*g.margin):g.scale},Q.getImageWidth=function(e,g){const A=Q.getScale(e,g);return Math.floor((e+2*g.margin)*A)},Q.qrToImageData=function(e,g,A){const o=g.modules.size,C=g.modules.data,u=Q.getScale(o,A),O=Math.floor((o+2*A.margin)*u),d=A.margin*u,M=[A.color.light,A.color.dark];for(let w=0;w<O;w++)for(let L=0;L<O;L++){let I=4*(w*O+L),P=A.color.light;w>=d&&L>=d&&w<O-d&&L<O-d&&(P=M[C[Math.floor((w-d)/u)*o+Math.floor((L-d)/u)]?1:0]),e[I++]=P.r,e[I++]=P.g,e[I++]=P.b,e[I]=P.a}}},3753:(Ge,Q,m)=>{"use strict";var t=65536,A=m(3502).Buffer,o=global.crypto||global.msCrypto;Ge.exports=o&&o.getRandomValues?function C(u,O){if(u>4294967295)throw new RangeError("requested too many random bytes");var d=A.allocUnsafe(u);if(u>0)if(u>t)for(var M=0;M<u;M+=t)o.getRandomValues(d.slice(M,M+t));else o.getRandomValues(d);return"function"==typeof O?process.nextTick(function(){O(null,d)}):d}:function g(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},4275:(Ge,Q,m)=>{"use strict";function t(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var e=m(3502),g=m(3753),A=e.Buffer,o=e.kMaxLength,C=global.crypto||global.msCrypto,u=Math.pow(2,32)-1;function O(I,P){if("number"!=typeof I||I!=I)throw new TypeError("offset must be a number");if(I>u||I<0)throw new TypeError("offset must be a uint32");if(I>o||I>P)throw new RangeError("offset out of range")}function d(I,P,U){if("number"!=typeof I||I!=I)throw new TypeError("size must be a number");if(I>u||I<0)throw new TypeError("size must be a uint32");if(I+P>U||I>o)throw new RangeError("buffer too small")}function w(I,P,U,Z){if(process.browser){var j=new Uint8Array(I.buffer,P,U);return C.getRandomValues(j),Z?void process.nextTick(function(){Z(null,I)}):I}if(!Z)return g(U).copy(I,P),I;g(U,function(ee,ue){if(ee)return Z(ee);ue.copy(I,P),Z(null,I)})}C&&C.getRandomValues||!process.browser?(Q.randomFill=function M(I,P,U,Z){if(!(A.isBuffer(I)||I instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof P)Z=P,P=0,U=I.length;else if("function"==typeof U)Z=U,U=I.length-P;else if("function"!=typeof Z)throw new TypeError('"cb" argument must be a function');return O(P,I.length),d(U,P,I.length),w(I,P,U,Z)},Q.randomFillSync=function L(I,P,U){if(typeof P>"u"&&(P=0),!(A.isBuffer(I)||I instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return O(P,I.length),void 0===U&&(U=I.length-P),d(U,P,I.length),w(I,P,U)}):(Q.randomFill=t,Q.randomFillSync=t)},891:Ge=>{"use strict";var m={};function t(C,u,O){O||(O=Error);var M=function(w){function L(I,P,U){return w.call(this,function d(w,L,I){return"string"==typeof u?u:u(w,L,I)}(I,P,U))||this}return function Q(C,u){C.prototype=Object.create(u.prototype),C.prototype.constructor=C,C.__proto__=u}(L,w),L}(O);M.prototype.name=O.name,M.prototype.code=C,m[C]=M}function e(C,u){if(Array.isArray(C)){var O=C.length;return C=C.map(function(d){return String(d)}),O>2?"one of ".concat(u," ").concat(C.slice(0,O-1).join(", "),", or ")+C[O-1]:2===O?"one of ".concat(u," ").concat(C[0]," or ").concat(C[1]):"of ".concat(u," ").concat(C[0])}return"of ".concat(u," ").concat(String(C))}t("ERR_INVALID_OPT_VALUE",function(C,u){return'The value "'+u+'" is invalid for option "'+C+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(C,u,O){var d,M;if("string"==typeof u&&function g(C,u,O){return C.substr(!O||O<0?0:+O,u.length)===u}(u,"not ")?(d="must not be",u=u.replace(/^not /,"")):d="must be",function A(C,u,O){return(void 0===O||O>C.length)&&(O=C.length),C.substring(O-u.length,O)===u}(C," argument"))M="The ".concat(C," ").concat(d," ").concat(e(u,"type"));else{var w=function o(C,u,O){return"number"!=typeof O&&(O=0),!(O+u.length>C.length)&&-1!==C.indexOf(u,O)}(C,".")?"property":"argument";M='The "'.concat(C,'" ').concat(w," ").concat(d," ").concat(e(u,"type"))}return M+". Received type ".concat(typeof O)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(C){return"The "+C+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(C){return"Cannot call "+C+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(C){return"Unknown encoding: "+C},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),Ge.exports.q=m},1339:(Ge,Q,m)=>{"use strict";var t=Object.keys||function(M){var w=[];for(var L in M)w.push(L);return w};Ge.exports=u;var e=m(3154),g=m(520);m(3894)(u,e);for(var A=t(g.prototype),o=0;o<A.length;o++){var C=A[o];u.prototype[C]||(u.prototype[C]=g.prototype[C])}function u(M){if(!(this instanceof u))return new u(M);e.call(this,M),g.call(this,M),this.allowHalfOpen=!0,M&&(!1===M.readable&&(this.readable=!1),!1===M.writable&&(this.writable=!1),!1===M.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",O)))}function O(){this._writableState.ended||process.nextTick(d,this)}function d(M){M.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(u.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(u.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(w){void 0===this._readableState||void 0===this._writableState||(this._readableState.destroyed=w,this._writableState.destroyed=w)}})},6071:(Ge,Q,m)=>{"use strict";Ge.exports=e;var t=m(6025);function e(g){if(!(this instanceof e))return new e(g);t.call(this,g)}m(3894)(e,t),e.prototype._transform=function(g,A,o){o(null,g)}},3154:(Ge,Q,m)=>{"use strict";var t;Ge.exports=E,E.ReadableState=he,m(9069);var M,g=function(Ke,Ae){return Ke.listeners(Ae).length},A=m(4970),o=m(3172).Buffer,C=global.Uint8Array||function(){},d=m(4616);M=d&&d.debuglog?d.debuglog("stream"):function(){};var ee,ue,le,w=m(5019),L=m(1920),P=m(7102).getHighWaterMark,U=m(891).q,Z=U.ERR_INVALID_ARG_TYPE,Y=U.ERR_STREAM_PUSH_AFTER_EOF,j=U.ERR_METHOD_NOT_IMPLEMENTED,X=U.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;m(3894)(E,A);var ie=L.errorOrDestroy,ce=["error","close","destroy","pause","resume"];function he(te,Ke,Ae){t=t||m(1339),"boolean"!=typeof Ae&&(Ae=Ke instanceof t),this.objectMode=!!(te=te||{}).objectMode,Ae&&(this.objectMode=this.objectMode||!!te.readableObjectMode),this.highWaterMark=P(this,te,"readableHighWaterMark",Ae),this.buffer=new w,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!==te.emitClose,this.autoDestroy=!!te.autoDestroy,this.destroyed=!1,this.defaultEncoding=te.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,te.encoding&&(ee||(ee=m(3054).s),this.decoder=new ee(te.encoding),this.encoding=te.encoding)}function E(te){if(t=t||m(1339),!(this instanceof E))return new E(te);this._readableState=new he(te,this,this instanceof t),this.readable=!0,te&&("function"==typeof te.read&&(this._read=te.read),"function"==typeof te.destroy&&(this._destroy=te.destroy)),A.call(this)}function i(te,Ke,Ae,oe,ye){M("readableAddChunk",Ke);var Me,me=te._readableState;if(null===Ke)me.reading=!1,function k(te,Ke){if(M("onEofChunk"),!Ke.ended){if(Ke.decoder){var Ae=Ke.decoder.end();Ae&&Ae.length&&(Ke.buffer.push(Ae),Ke.length+=Ke.objectMode?1:Ae.length)}Ke.ended=!0,Ke.sync?v(te):(Ke.needReadable=!1,Ke.emittedReadable||(Ke.emittedReadable=!0,n(te)))}}(te,me);else if(ye||(Me=function h(te,Ke){var Ae;return!function O(te){return o.isBuffer(te)||te instanceof C}(Ke)&&"string"!=typeof Ke&&void 0!==Ke&&!te.objectMode&&(Ae=new Z("chunk",["string","Buffer","Uint8Array"],Ke)),Ae}(me,Ke)),Me)ie(te,Me);else if(me.objectMode||Ke&&Ke.length>0)if("string"!=typeof Ke&&!me.objectMode&&Object.getPrototypeOf(Ke)!==o.prototype&&(Ke=function u(te){return o.from(te)}(Ke)),oe)me.endEmitted?ie(te,new X):r(te,me,Ke,!0);else if(me.ended)ie(te,new Y);else{if(me.destroyed)return!1;me.reading=!1,me.decoder&&!Ae?(Ke=me.decoder.write(Ke),me.objectMode||0!==Ke.length?r(te,me,Ke,!1):b(te,me)):r(te,me,Ke,!1)}else oe||(me.reading=!1,b(te,me));return!me.ended&&(me.length<me.highWaterMark||0===me.length)}function r(te,Ke,Ae,oe){Ke.flowing&&0===Ke.length&&!Ke.sync?(Ke.awaitDrain=0,te.emit("data",Ae)):(Ke.length+=Ke.objectMode?1:Ae.length,oe?Ke.buffer.unshift(Ae):Ke.buffer.push(Ae),Ke.needReadable&&v(te)),b(te,Ke)}Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(Ke){!this._readableState||(this._readableState.destroyed=Ke)}}),E.prototype.destroy=L.destroy,E.prototype._undestroy=L.undestroy,E.prototype._destroy=function(te,Ke){Ke(te)},E.prototype.push=function(te,Ke){var oe,Ae=this._readableState;return Ae.objectMode?oe=!0:"string"==typeof te&&((Ke=Ke||Ae.defaultEncoding)!==Ae.encoding&&(te=o.from(te,Ke),Ke=""),oe=!0),i(this,te,Ke,!1,oe)},E.prototype.unshift=function(te){return i(this,te,null,!0,!1)},E.prototype.isPaused=function(){return!1===this._readableState.flowing},E.prototype.setEncoding=function(te){ee||(ee=m(3054).s);var Ke=new ee(te);this._readableState.decoder=Ke,this._readableState.encoding=this._readableState.decoder.encoding;for(var Ae=this._readableState.buffer.head,oe="";null!==Ae;)oe+=Ke.write(Ae.data),Ae=Ae.next;return this._readableState.buffer.clear(),""!==oe&&this._readableState.buffer.push(oe),this._readableState.length=oe.length,this};var c=1073741824;function S(te,Ke){return te<=0||0===Ke.length&&Ke.ended?0:Ke.objectMode?1:te!=te?Ke.flowing&&Ke.length?Ke.buffer.head.data.length:Ke.length:(te>Ke.highWaterMark&&(Ke.highWaterMark=function y(te){return te>=c?te=c:(te--,te|=te>>>1,te|=te>>>2,te|=te>>>4,te|=te>>>8,te|=te>>>16,te++),te}(te)),te<=Ke.length?te:Ke.ended?Ke.length:(Ke.needReadable=!0,0))}function v(te){var Ke=te._readableState;M("emitReadable",Ke.needReadable,Ke.emittedReadable),Ke.needReadable=!1,Ke.emittedReadable||(M("emitReadable",Ke.flowing),Ke.emittedReadable=!0,process.nextTick(n,te))}function n(te){var Ke=te._readableState;M("emitReadable_",Ke.destroyed,Ke.length,Ke.ended),!Ke.destroyed&&(Ke.length||Ke.ended)&&(te.emit("readable"),Ke.emittedReadable=!1),Ke.needReadable=!Ke.flowing&&!Ke.ended&&Ke.length<=Ke.highWaterMark,ot(te)}function b(te,Ke){Ke.readingMore||(Ke.readingMore=!0,process.nextTick(B,te,Ke))}function B(te,Ke){for(;!Ke.reading&&!Ke.ended&&(Ke.length<Ke.highWaterMark||Ke.flowing&&0===Ke.length);){var Ae=Ke.length;if(M("maybeReadMore read 0"),te.read(0),Ae===Ke.length)break}Ke.readingMore=!1}function W(te){var Ke=te._readableState;Ke.readableListening=te.listenerCount("readable")>0,Ke.resumeScheduled&&!Ke.paused?Ke.flowing=!0:te.listenerCount("data")>0&&te.resume()}function Oe(te){M("readable nexttick read 0"),te.read(0)}function Ne(te,Ke){M("resume",Ke.reading),Ke.reading||te.read(0),Ke.resumeScheduled=!1,te.emit("resume"),ot(te),Ke.flowing&&!Ke.reading&&te.read(0)}function ot(te){var Ke=te._readableState;for(M("flow",Ke.flowing);Ke.flowing&&null!==te.read(););}function Ie(te,Ke){return 0===Ke.length?null:(Ke.objectMode?Ae=Ke.buffer.shift():!te||te>=Ke.length?(Ae=Ke.decoder?Ke.buffer.join(""):1===Ke.buffer.length?Ke.buffer.first():Ke.buffer.concat(Ke.length),Ke.buffer.clear()):Ae=Ke.buffer.consume(te,Ke.decoder),Ae);var Ae}function ve(te){var Ke=te._readableState;M("endReadable",Ke.endEmitted),Ke.endEmitted||(Ke.ended=!0,process.nextTick(fe,Ke,te))}function fe(te,Ke){if(M("endReadableNT",te.endEmitted,te.length),!te.endEmitted&&0===te.length&&(te.endEmitted=!0,Ke.readable=!1,Ke.emit("end"),te.autoDestroy)){var Ae=Ke._writableState;(!Ae||Ae.autoDestroy&&Ae.finished)&&Ke.destroy()}}function Se(te,Ke){for(var Ae=0,oe=te.length;Ae<oe;Ae++)if(te[Ae]===Ke)return Ae;return-1}E.prototype.read=function(te){M("read",te),te=parseInt(te,10);var Ke=this._readableState,Ae=te;if(0!==te&&(Ke.emittedReadable=!1),0===te&&Ke.needReadable&&((0!==Ke.highWaterMark?Ke.length>=Ke.highWaterMark:Ke.length>0)||Ke.ended))return M("read: emitReadable",Ke.length,Ke.ended),0===Ke.length&&Ke.ended?ve(this):v(this),null;if(0===(te=S(te,Ke))&&Ke.ended)return 0===Ke.length&&ve(this),null;var ye,oe=Ke.needReadable;return M("need readable",oe),(0===Ke.length||Ke.length-te<Ke.highWaterMark)&&M("length less than watermark",oe=!0),Ke.ended||Ke.reading?M("reading or ended",oe=!1):oe&&(M("do read"),Ke.reading=!0,Ke.sync=!0,0===Ke.length&&(Ke.needReadable=!0),this._read(Ke.highWaterMark),Ke.sync=!1,Ke.reading||(te=S(Ae,Ke))),null===(ye=te>0?Ie(te,Ke):null)?(Ke.needReadable=Ke.length<=Ke.highWaterMark,te=0):(Ke.length-=te,Ke.awaitDrain=0),0===Ke.length&&(Ke.ended||(Ke.needReadable=!0),Ae!==te&&Ke.ended&&ve(this)),null!==ye&&this.emit("data",ye),ye},E.prototype._read=function(te){ie(this,new j("_read()"))},E.prototype.pipe=function(te,Ke){var Ae=this,oe=this._readableState;switch(oe.pipesCount){case 0:oe.pipes=te;break;case 1:oe.pipes=[oe.pipes,te];break;default:oe.pipes.push(te)}oe.pipesCount+=1,M("pipe count=%d opts=%j",oe.pipesCount,Ke);var me=Ke&&!1===Ke.end||te===process.stdout||te===process.stderr?nt:Ze;function Ze(){M("onend"),te.end()}oe.endEmitted?process.nextTick(me):Ae.once("end",me),te.on("unpipe",function Me(Jt,vt){M("onunpipe"),Jt===Ae&&vt&&!1===vt.hasUnpiped&&(vt.hasUnpiped=!0,function xe(){M("cleanup"),te.removeListener("close",_t),te.removeListener("finish",ct),te.removeListener("drain",q),te.removeListener("error",ft),te.removeListener("unpipe",Me),Ae.removeListener("end",Ze),Ae.removeListener("end",nt),Ae.removeListener("data",ke),de=!0,oe.awaitDrain&&(!te._writableState||te._writableState.needDrain)&&q()}())});var q=function z(te){return function(){var Ae=te._readableState;M("pipeOnDrain",Ae.awaitDrain),Ae.awaitDrain&&Ae.awaitDrain--,0===Ae.awaitDrain&&g(te,"data")&&(Ae.flowing=!0,ot(te))}}(Ae);te.on("drain",q);var de=!1;function ke(Jt){M("ondata");var vt=te.write(Jt);M("dest.write",vt),!1===vt&&((1===oe.pipesCount&&oe.pipes===te||oe.pipesCount>1&&-1!==Se(oe.pipes,te))&&!de&&(M("false write response, pause",oe.awaitDrain),oe.awaitDrain++),Ae.pause())}function ft(Jt){M("onerror",Jt),nt(),te.removeListener("error",ft),0===g(te,"error")&&ie(te,Jt)}function _t(){te.removeListener("finish",ct),nt()}function ct(){M("onfinish"),te.removeListener("close",_t),nt()}function nt(){M("unpipe"),Ae.unpipe(te)}return Ae.on("data",ke),function se(te,Ke,Ae){if("function"==typeof te.prependListener)return te.prependListener(Ke,Ae);te._events&&te._events[Ke]?Array.isArray(te._events[Ke])?te._events[Ke].unshift(Ae):te._events[Ke]=[Ae,te._events[Ke]]:te.on(Ke,Ae)}(te,"error",ft),te.once("close",_t),te.once("finish",ct),te.emit("pipe",Ae),oe.flowing||(M("pipe resume"),Ae.resume()),te},E.prototype.unpipe=function(te){var Ke=this._readableState,Ae={hasUnpiped:!1};if(0===Ke.pipesCount)return this;if(1===Ke.pipesCount)return te&&te!==Ke.pipes||(te||(te=Ke.pipes),Ke.pipes=null,Ke.pipesCount=0,Ke.flowing=!1,te&&te.emit("unpipe",this,Ae)),this;if(!te){var oe=Ke.pipes,ye=Ke.pipesCount;Ke.pipes=null,Ke.pipesCount=0,Ke.flowing=!1;for(var me=0;me<ye;me++)oe[me].emit("unpipe",this,{hasUnpiped:!1});return this}var Me=Se(Ke.pipes,te);return-1===Me||(Ke.pipes.splice(Me,1),Ke.pipesCount-=1,1===Ke.pipesCount&&(Ke.pipes=Ke.pipes[0]),te.emit("unpipe",this,Ae)),this},E.prototype.addListener=E.prototype.on=function(te,Ke){var Ae=A.prototype.on.call(this,te,Ke),oe=this._readableState;return"data"===te?(oe.readableListening=this.listenerCount("readable")>0,!1!==oe.flowing&&this.resume()):"readable"===te&&!oe.endEmitted&&!oe.readableListening&&(oe.readableListening=oe.needReadable=!0,oe.flowing=!1,oe.emittedReadable=!1,M("on readable",oe.length,oe.reading),oe.length?v(this):oe.reading||process.nextTick(Oe,this)),Ae},E.prototype.removeListener=function(te,Ke){var Ae=A.prototype.removeListener.call(this,te,Ke);return"readable"===te&&process.nextTick(W,this),Ae},E.prototype.removeAllListeners=function(te){var Ke=A.prototype.removeAllListeners.apply(this,arguments);return("readable"===te||void 0===te)&&process.nextTick(W,this),Ke},E.prototype.resume=function(){var te=this._readableState;return te.flowing||(M("resume"),te.flowing=!te.readableListening,function it(te,Ke){Ke.resumeScheduled||(Ke.resumeScheduled=!0,process.nextTick(Ne,te,Ke))}(this,te)),te.paused=!1,this},E.prototype.pause=function(){return M("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(M("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},E.prototype.wrap=function(te){var Ke=this,Ae=this._readableState,oe=!1;for(var ye in te.on("end",function(){if(M("wrapped end"),Ae.decoder&&!Ae.ended){var Me=Ae.decoder.end();Me&&Me.length&&Ke.push(Me)}Ke.push(null)}),te.on("data",function(Me){M("wrapped data"),Ae.decoder&&(Me=Ae.decoder.write(Me)),Ae.objectMode&&null==Me||!(Ae.objectMode||Me&&Me.length)||Ke.push(Me)||(oe=!0,te.pause())}),te)void 0===this[ye]&&"function"==typeof te[ye]&&(this[ye]=function(Ze){return function(){return te[Ze].apply(te,arguments)}}(ye));for(var me=0;me<ce.length;me++)te.on(ce[me],this.emit.bind(this,ce[me]));return this._read=function(Me){M("wrapped _read",Me),oe&&(oe=!1,te.resume())},this},"function"==typeof Symbol&&(E.prototype[Symbol.asyncIterator]=function(){return void 0===ue&&(ue=m(3872)),ue(this)}),Object.defineProperty(E.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(E.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(E.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Ke){this._readableState&&(this._readableState.flowing=Ke)}}),E._fromList=Ie,Object.defineProperty(E.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(E.from=function(te,Ke){return void 0===le&&(le=m(7412)),le(E,te,Ke)})},6025:(Ge,Q,m)=>{"use strict";Ge.exports=O;var t=m(891).q,e=t.ERR_METHOD_NOT_IMPLEMENTED,g=t.ERR_MULTIPLE_CALLBACK,A=t.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=t.ERR_TRANSFORM_WITH_LENGTH_0,C=m(1339);function u(w,L){var I=this._transformState;I.transforming=!1;var P=I.writecb;if(null===P)return this.emit("error",new g);I.writechunk=null,I.writecb=null,null!=L&&this.push(L),P(w);var U=this._readableState;U.reading=!1,(U.needReadable||U.length<U.highWaterMark)&&this._read(U.highWaterMark)}function O(w){if(!(this instanceof O))return new O(w);C.call(this,w),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,w&&("function"==typeof w.transform&&(this._transform=w.transform),"function"==typeof w.flush&&(this._flush=w.flush)),this.on("prefinish",d)}function d(){var w=this;"function"!=typeof this._flush||this._readableState.destroyed?M(this,null,null):this._flush(function(L,I){M(w,L,I)})}function M(w,L,I){if(L)return w.emit("error",L);if(null!=I&&w.push(I),w._writableState.length)throw new o;if(w._transformState.transforming)throw new A;return w.push(null)}m(3894)(O,C),O.prototype.push=function(w,L){return this._transformState.needTransform=!1,C.prototype.push.call(this,w,L)},O.prototype._transform=function(w,L,I){I(new e("_transform()"))},O.prototype._write=function(w,L,I){var P=this._transformState;if(P.writecb=I,P.writechunk=w,P.writeencoding=L,!P.transforming){var U=this._readableState;(P.needTransform||U.needReadable||U.length<U.highWaterMark)&&this._read(U.highWaterMark)}},O.prototype._read=function(w){var L=this._transformState;null===L.writechunk||L.transforming?L.needTransform=!0:(L.transforming=!0,this._transform(L.writechunk,L.writeencoding,L.afterTransform))},O.prototype._destroy=function(w,L){C.prototype._destroy.call(this,w,function(I){L(I)})}},520:(Ge,Q,m)=>{"use strict";function e(ot){var Ie=this;this.next=null,this.entry=null,this.finish=function(){!function Ne(ot,Ie,ve){var fe=ot.entry;for(ot.entry=null;fe;){var Se=fe.callback;Ie.pendingcb--,Se(ve),fe=fe.next}Ie.corkedRequestsFree.next=ot}(Ie,ot)}}var g;Ge.exports=he,he.WritableState=ce;var se,A={deprecate:m(4364)},o=m(4970),C=m(3172).Buffer,u=global.Uint8Array||function(){},M=m(1920),L=m(7102).getHighWaterMark,I=m(891).q,P=I.ERR_INVALID_ARG_TYPE,U=I.ERR_METHOD_NOT_IMPLEMENTED,Z=I.ERR_MULTIPLE_CALLBACK,Y=I.ERR_STREAM_CANNOT_PIPE,j=I.ERR_STREAM_DESTROYED,X=I.ERR_STREAM_NULL_VALUES,ee=I.ERR_STREAM_WRITE_AFTER_END,ue=I.ERR_UNKNOWN_ENCODING,le=M.errorOrDestroy;function ie(){}function ce(ot,Ie,ve){g=g||m(1339),"boolean"!=typeof ve&&(ve=Ie instanceof g),this.objectMode=!!(ot=ot||{}).objectMode,ve&&(this.objectMode=this.objectMode||!!ot.writableObjectMode),this.highWaterMark=L(this,ot,"writableHighWaterMark",ve),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===ot.decodeStrings),this.defaultEncoding=ot.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Se){!function k(ot,Ie){var ve=ot._writableState,fe=ve.sync,Se=ve.writecb;if("function"!=typeof Se)throw new Z;if(function S(ot){ot.writing=!1,ot.writecb=null,ot.length-=ot.writelen,ot.writelen=0}(ve),Ie)!function y(ot,Ie,ve,fe,Se){--Ie.pendingcb,ve?(process.nextTick(Se,fe),process.nextTick(Oe,ot,Ie),ot._writableState.errorEmitted=!0,le(ot,fe)):(Se(fe),ot._writableState.errorEmitted=!0,le(ot,fe),Oe(ot,Ie))}(ot,ve,fe,Ie,Se);else{var te=B(ve)||ot.destroyed;!te&&!ve.corked&&!ve.bufferProcessing&&ve.bufferedRequest&&b(ot,ve),fe?process.nextTick(v,ot,ve,te,Se):v(ot,ve,te,Se)}}(Ie,Se)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==ot.emitClose,this.autoDestroy=!!ot.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function he(ot){var Ie=this instanceof(g=g||m(1339));if(!Ie&&!se.call(he,this))return new he(ot);this._writableState=new ce(ot,this,Ie),this.writable=!0,ot&&("function"==typeof ot.write&&(this._write=ot.write),"function"==typeof ot.writev&&(this._writev=ot.writev),"function"==typeof ot.destroy&&(this._destroy=ot.destroy),"function"==typeof ot.final&&(this._final=ot.final)),o.call(this)}function c(ot,Ie,ve,fe,Se,te,Ke){Ie.writelen=fe,Ie.writecb=Ke,Ie.writing=!0,Ie.sync=!0,Ie.destroyed?Ie.onwrite(new j("write")):ve?ot._writev(Se,Ie.onwrite):ot._write(Se,te,Ie.onwrite),Ie.sync=!1}function v(ot,Ie,ve,fe){ve||function n(ot,Ie){0===Ie.length&&Ie.needDrain&&(Ie.needDrain=!1,ot.emit("drain"))}(ot,Ie),Ie.pendingcb--,fe(),Oe(ot,Ie)}function b(ot,Ie){Ie.bufferProcessing=!0;var ve=Ie.bufferedRequest;if(ot._writev&&ve&&ve.next){var Se=new Array(Ie.bufferedRequestCount),te=Ie.corkedRequestsFree;te.entry=ve;for(var Ke=0,Ae=!0;ve;)Se[Ke]=ve,ve.isBuf||(Ae=!1),ve=ve.next,Ke+=1;Se.allBuffers=Ae,c(ot,Ie,!0,Ie.length,Se,"",te.finish),Ie.pendingcb++,Ie.lastBufferedRequest=null,te.next?(Ie.corkedRequestsFree=te.next,te.next=null):Ie.corkedRequestsFree=new e(Ie),Ie.bufferedRequestCount=0}else{for(;ve;){var oe=ve.chunk;if(c(ot,Ie,!1,Ie.objectMode?1:oe.length,oe,ve.encoding,ve.callback),ve=ve.next,Ie.bufferedRequestCount--,Ie.writing)break}null===ve&&(Ie.lastBufferedRequest=null)}Ie.bufferedRequest=ve,Ie.bufferProcessing=!1}function B(ot){return ot.ending&&0===ot.length&&null===ot.bufferedRequest&&!ot.finished&&!ot.writing}function z(ot,Ie){ot._final(function(ve){Ie.pendingcb--,ve&&le(ot,ve),Ie.prefinished=!0,ot.emit("prefinish"),Oe(ot,Ie)})}function Oe(ot,Ie){var ve=B(Ie);if(ve&&(function W(ot,Ie){!Ie.prefinished&&!Ie.finalCalled&&("function"!=typeof ot._final||Ie.destroyed?(Ie.prefinished=!0,ot.emit("prefinish")):(Ie.pendingcb++,Ie.finalCalled=!0,process.nextTick(z,ot,Ie)))}(ot,Ie),0===Ie.pendingcb&&(Ie.finished=!0,ot.emit("finish"),Ie.autoDestroy))){var fe=ot._readableState;(!fe||fe.autoDestroy&&fe.endEmitted)&&ot.destroy()}return ve}m(3894)(he,o),ce.prototype.getBuffer=function(){for(var Ie=this.bufferedRequest,ve=[];Ie;)ve.push(Ie),Ie=Ie.next;return ve},function(){try{Object.defineProperty(ce.prototype,"buffer",{get:A.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]?(se=Function.prototype[Symbol.hasInstance],Object.defineProperty(he,Symbol.hasInstance,{value:function(Ie){return!!se.call(this,Ie)||this===he&&Ie&&Ie._writableState instanceof ce}})):se=function(Ie){return Ie instanceof this},he.prototype.pipe=function(){le(this,new Y)},he.prototype.write=function(ot,Ie,ve){var fe=this._writableState,Se=!1,te=!fe.objectMode&&function d(ot){return C.isBuffer(ot)||ot instanceof u}(ot);return te&&!C.isBuffer(ot)&&(ot=function O(ot){return C.from(ot)}(ot)),"function"==typeof Ie&&(ve=Ie,Ie=null),te?Ie="buffer":Ie||(Ie=fe.defaultEncoding),"function"!=typeof ve&&(ve=ie),fe.ending?function E(ot,Ie){var ve=new ee;le(ot,ve),process.nextTick(Ie,ve)}(this,ve):(te||function i(ot,Ie,ve,fe){var Se;return null===ve?Se=new X:"string"!=typeof ve&&!Ie.objectMode&&(Se=new P("chunk",["string","Buffer"],ve)),!Se||(le(ot,Se),process.nextTick(fe,Se),!1)}(this,fe,ot,ve))&&(fe.pendingcb++,Se=function h(ot,Ie,ve,fe,Se,te){if(!ve){var Ke=function r(ot,Ie,ve){return!ot.objectMode&&!1!==ot.decodeStrings&&"string"==typeof Ie&&(Ie=C.from(Ie,ve)),Ie}(Ie,fe,Se);fe!==Ke&&(ve=!0,Se="buffer",fe=Ke)}var Ae=Ie.objectMode?1:fe.length;Ie.length+=Ae;var oe=Ie.length<Ie.highWaterMark;if(oe||(Ie.needDrain=!0),Ie.writing||Ie.corked){var ye=Ie.lastBufferedRequest;Ie.lastBufferedRequest={chunk:fe,encoding:Se,isBuf:ve,callback:te,next:null},ye?ye.next=Ie.lastBufferedRequest:Ie.bufferedRequest=Ie.lastBufferedRequest,Ie.bufferedRequestCount+=1}else c(ot,Ie,!1,Ae,fe,Se,te);return oe}(this,fe,te,ot,Ie,ve)),Se},he.prototype.cork=function(){this._writableState.corked++},he.prototype.uncork=function(){var ot=this._writableState;ot.corked&&(ot.corked--,!ot.writing&&!ot.corked&&!ot.bufferProcessing&&ot.bufferedRequest&&b(this,ot))},he.prototype.setDefaultEncoding=function(Ie){if("string"==typeof Ie&&(Ie=Ie.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ie+"").toLowerCase())>-1))throw new ue(Ie);return this._writableState.defaultEncoding=Ie,this},Object.defineProperty(he.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(he.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),he.prototype._write=function(ot,Ie,ve){ve(new U("_write()"))},he.prototype._writev=null,he.prototype.end=function(ot,Ie,ve){var fe=this._writableState;return"function"==typeof ot?(ve=ot,ot=null,Ie=null):"function"==typeof Ie&&(ve=Ie,Ie=null),null!=ot&&this.write(ot,Ie),fe.corked&&(fe.corked=1,this.uncork()),fe.ending||function it(ot,Ie,ve){Ie.ending=!0,Oe(ot,Ie),ve&&(Ie.finished?process.nextTick(ve):ot.once("finish",ve)),Ie.ended=!0,ot.writable=!1}(this,fe,ve),this},Object.defineProperty(he.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(he.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(Ie){!this._writableState||(this._writableState.destroyed=Ie)}}),he.prototype.destroy=M.destroy,he.prototype._undestroy=M.undestroy,he.prototype._destroy=function(ot,Ie){Ie(ot)}},3872:(Ge,Q,m)=>{"use strict";var t;function e(j,X,ee){return X in j?Object.defineProperty(j,X,{value:ee,enumerable:!0,configurable:!0,writable:!0}):j[X]=ee,j}var g=m(7542),A=Symbol("lastResolve"),o=Symbol("lastReject"),C=Symbol("error"),u=Symbol("ended"),O=Symbol("lastPromise"),d=Symbol("handlePromise"),M=Symbol("stream");function w(j,X){return{value:j,done:X}}function L(j){var X=j[A];if(null!==X){var ee=j[M].read();null!==ee&&(j[O]=null,j[A]=null,j[o]=null,X(w(ee,!1)))}}function I(j){process.nextTick(L,j)}var U=Object.getPrototypeOf(function(){}),Z=Object.setPrototypeOf((e(t={get stream(){return this[M]},next:function(){var X=this,ee=this[C];if(null!==ee)return Promise.reject(ee);if(this[u])return Promise.resolve(w(void 0,!0));if(this[M].destroyed)return new Promise(function(ce,se){process.nextTick(function(){X[C]?se(X[C]):ce(w(void 0,!0))})});var le,ue=this[O];if(ue)le=new Promise(function P(j,X){return function(ee,ue){j.then(function(){X[u]?ee(w(void 0,!0)):X[d](ee,ue)},ue)}}(ue,this));else{var ie=this[M].read();if(null!==ie)return Promise.resolve(w(ie,!1));le=new Promise(this[d])}return this[O]=le,le}},Symbol.asyncIterator,function(){return this}),e(t,"return",function(){var X=this;return new Promise(function(ee,ue){X[M].destroy(null,function(le){le?ue(le):ee(w(void 0,!0))})})}),t),U);Ge.exports=function(X){var ee,ue=Object.create(Z,(e(ee={},M,{value:X,writable:!0}),e(ee,A,{value:null,writable:!0}),e(ee,o,{value:null,writable:!0}),e(ee,C,{value:null,writable:!0}),e(ee,u,{value:X._readableState.endEmitted,writable:!0}),e(ee,d,{value:function(ie,ce){var se=ue[M].read();se?(ue[O]=null,ue[A]=null,ue[o]=null,ie(w(se,!1))):(ue[A]=ie,ue[o]=ce)},writable:!0}),ee));return ue[O]=null,g(X,function(le){if(le&&"ERR_STREAM_PREMATURE_CLOSE"!==le.code){var ie=ue[o];return null!==ie&&(ue[O]=null,ue[A]=null,ue[o]=null,ie(le)),void(ue[C]=le)}var ce=ue[A];null!==ce&&(ue[O]=null,ue[A]=null,ue[o]=null,ce(w(void 0,!0))),ue[u]=!0}),X.on("readable",I.bind(null,ue)),ue}},5019:(Ge,Q,m)=>{"use strict";function t(I,P){var U=Object.keys(I);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(I);P&&(Z=Z.filter(function(Y){return Object.getOwnPropertyDescriptor(I,Y).enumerable})),U.push.apply(U,Z)}return U}function g(I,P,U){return P in I?Object.defineProperty(I,P,{value:U,enumerable:!0,configurable:!0,writable:!0}):I[P]=U,I}function o(I,P){for(var U=0;U<P.length;U++){var Z=P[U];Z.enumerable=Z.enumerable||!1,Z.configurable=!0,"value"in Z&&(Z.writable=!0),Object.defineProperty(I,Z.key,Z)}}var O=m(3172).Buffer,M=m(2361).inspect,w=M&&M.custom||"inspect";function L(I,P,U){O.prototype.copy.call(I,P,U)}Ge.exports=function(){function I(){(function A(I,P){if(!(I instanceof P))throw new TypeError("Cannot call a class as a function")})(this,I),this.head=null,this.tail=null,this.length=0}return function C(I,P,U){P&&o(I.prototype,P),U&&o(I,U)}(I,[{key:"push",value:function(U){var Z={data:U,next:null};this.length>0?this.tail.next=Z:this.head=Z,this.tail=Z,++this.length}},{key:"unshift",value:function(U){var Z={data:U,next:this.head};0===this.length&&(this.tail=Z),this.head=Z,++this.length}},{key:"shift",value:function(){if(0!==this.length){var U=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,U}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(U){if(0===this.length)return"";for(var Z=this.head,Y=""+Z.data;Z=Z.next;)Y+=U+Z.data;return Y}},{key:"concat",value:function(U){if(0===this.length)return O.alloc(0);for(var Z=O.allocUnsafe(U>>>0),Y=this.head,j=0;Y;)L(Y.data,Z,j),j+=Y.data.length,Y=Y.next;return Z}},{key:"consume",value:function(U,Z){var Y;return U<this.head.data.length?(Y=this.head.data.slice(0,U),this.head.data=this.head.data.slice(U)):Y=U===this.head.data.length?this.shift():Z?this._getString(U):this._getBuffer(U),Y}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(U){var Z=this.head,Y=1,j=Z.data;for(U-=j.length;Z=Z.next;){var X=Z.data,ee=U>X.length?X.length:U;if(j+=ee===X.length?X:X.slice(0,U),0==(U-=ee)){ee===X.length?(++Y,this.head=Z.next?Z.next:this.tail=null):(this.head=Z,Z.data=X.slice(ee));break}++Y}return this.length-=Y,j}},{key:"_getBuffer",value:function(U){var Z=O.allocUnsafe(U),Y=this.head,j=1;for(Y.data.copy(Z),U-=Y.data.length;Y=Y.next;){var X=Y.data,ee=U>X.length?X.length:U;if(X.copy(Z,Z.length-U,0,ee),0==(U-=ee)){ee===X.length?(++j,this.head=Y.next?Y.next:this.tail=null):(this.head=Y,Y.data=X.slice(ee));break}++j}return this.length-=j,Z}},{key:w,value:function(U,Z){return M(this,function e(I){for(var P=1;P<arguments.length;P++){var U=null!=arguments[P]?arguments[P]:{};P%2?t(Object(U),!0).forEach(function(Z){g(I,Z,U[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(U)):t(Object(U)).forEach(function(Z){Object.defineProperty(I,Z,Object.getOwnPropertyDescriptor(U,Z))})}return I}({},Z,{depth:0,customInspect:!1}))}}]),I}()},1920:Ge=>{"use strict";function m(o,C){g(o,C),t(o)}function t(o){o._writableState&&!o._writableState.emitClose||o._readableState&&!o._readableState.emitClose||o.emit("close")}function g(o,C){o.emit("error",C)}Ge.exports={destroy:function Q(o,C){var u=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(C?C(o):o&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(g,this,o)):process.nextTick(g,this,o)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(o||null,function(M){!C&&M?u._writableState?u._writableState.errorEmitted?process.nextTick(t,u):(u._writableState.errorEmitted=!0,process.nextTick(m,u,M)):process.nextTick(m,u,M):C?(process.nextTick(t,u),C(M)):process.nextTick(t,u)}),this)},undestroy:function e(){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 A(o,C){var u=o._readableState,O=o._writableState;u&&u.autoDestroy||O&&O.autoDestroy?o.destroy(C):o.emit("error",C)}}},7542:(Ge,Q,m)=>{"use strict";var t=m(891).q.ERR_STREAM_PREMATURE_CLOSE;function g(){}Ge.exports=function o(C,u,O){if("function"==typeof u)return o(C,null,u);u||(u={}),O=function e(C){var u=!1;return function(){if(!u){u=!0;for(var O=arguments.length,d=new Array(O),M=0;M<O;M++)d[M]=arguments[M];C.apply(this,d)}}}(O||g);var d=u.readable||!1!==u.readable&&C.readable,M=u.writable||!1!==u.writable&&C.writable,w=function(){C.writable||I()},L=C._writableState&&C._writableState.finished,I=function(){M=!1,L=!0,d||O.call(C)},P=C._readableState&&C._readableState.endEmitted,U=function(){d=!1,P=!0,M||O.call(C)},Z=function(ee){O.call(C,ee)},Y=function(){var ee;return d&&!P?((!C._readableState||!C._readableState.ended)&&(ee=new t),O.call(C,ee)):M&&!L?((!C._writableState||!C._writableState.ended)&&(ee=new t),O.call(C,ee)):void 0},j=function(){C.req.on("finish",I)};return function A(C){return C.setHeader&&"function"==typeof C.abort}(C)?(C.on("complete",I),C.on("abort",Y),C.req?j():C.on("request",j)):M&&!C._writableState&&(C.on("end",w),C.on("close",w)),C.on("end",U),C.on("finish",I),!1!==u.error&&C.on("error",Z),C.on("close",Y),function(){C.removeListener("complete",I),C.removeListener("abort",Y),C.removeListener("request",j),C.req&&C.req.removeListener("finish",I),C.removeListener("end",w),C.removeListener("close",w),C.removeListener("finish",I),C.removeListener("end",U),C.removeListener("error",Z),C.removeListener("close",Y)}}},7412:Ge=>{Ge.exports=function(){throw new Error("Readable.from is not available in the browser")}},954:(Ge,Q,m)=>{"use strict";var t,g=m(891).q,A=g.ERR_MISSING_ARGS,o=g.ERR_STREAM_DESTROYED;function C(I){if(I)throw I}function O(I,P,U,Z){Z=function e(I){var P=!1;return function(){P||(P=!0,I.apply(void 0,arguments))}}(Z);var Y=!1;I.on("close",function(){Y=!0}),void 0===t&&(t=m(7542)),t(I,{readable:P,writable:U},function(X){if(X)return Z(X);Y=!0,Z()});var j=!1;return function(X){if(!Y&&!j){if(j=!0,function u(I){return I.setHeader&&"function"==typeof I.abort}(I))return I.abort();if("function"==typeof I.destroy)return I.destroy();Z(X||new o("pipe"))}}}function d(I){I()}function M(I,P){return I.pipe(P)}function w(I){return I.length&&"function"==typeof I[I.length-1]?I.pop():C}Ge.exports=function L(){for(var I=arguments.length,P=new Array(I),U=0;U<I;U++)P[U]=arguments[U];var Z=w(P);if(Array.isArray(P[0])&&(P=P[0]),P.length<2)throw new A("streams");var Y,j=P.map(function(X,ee){var ue=ee<P.length-1;return O(X,ue,ee>0,function(ie){Y||(Y=ie),ie&&j.forEach(d),!ue&&(j.forEach(d),Z(Y))})});return P.reduce(M)}},7102:(Ge,Q,m)=>{"use strict";var t=m(891).q.ERR_INVALID_OPT_VALUE;Ge.exports={getHighWaterMark:function g(A,o,C,u){var O=function e(A,o,C){return null!=A.highWaterMark?A.highWaterMark:o?A[C]:null}(o,u,C);if(null!=O){if(!isFinite(O)||Math.floor(O)!==O||O<0)throw new t(u?C:"highWaterMark",O);return Math.floor(O)}return A.objectMode?16:16384}}},4970:(Ge,Q,m)=>{Ge.exports=m(9069).EventEmitter},5685:(Ge,Q,m)=>{(Q=Ge.exports=m(3154)).Stream=Q,Q.Readable=Q,Q.Writable=m(520),Q.Duplex=m(1339),Q.Transform=m(6025),Q.PassThrough=m(6071),Q.finished=m(7542),Q.pipeline=m(954)},5126:Ge=>{"use strict";function Q(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}Ge.exports=function m(e){return(e=e||{}).circles?function t(e){var g=[],A=[];return e.proto?function u(O){if("object"!=typeof O||null===O)return O;if(O instanceof Date)return new Date(O);if(Array.isArray(O))return o(O,u);if(O instanceof Map)return new Map(o(Array.from(O),u));if(O instanceof Set)return new Set(o(Array.from(O),u));var d={};for(var M in g.push(O),A.push(d),O){var w=O[M];if("object"!=typeof w||null===w)d[M]=w;else if(w instanceof Date)d[M]=new Date(w);else if(w instanceof Map)d[M]=new Map(o(Array.from(w),u));else if(w instanceof Set)d[M]=new Set(o(Array.from(w),u));else if(ArrayBuffer.isView(w))d[M]=Q(w);else{var L=g.indexOf(w);d[M]=-1!==L?A[L]:u(w)}}return g.pop(),A.pop(),d}:function C(O){if("object"!=typeof O||null===O)return O;if(O instanceof Date)return new Date(O);if(Array.isArray(O))return o(O,C);if(O instanceof Map)return new Map(o(Array.from(O),C));if(O instanceof Set)return new Set(o(Array.from(O),C));var d={};for(var M in g.push(O),A.push(d),O)if(!1!==Object.hasOwnProperty.call(O,M)){var w=O[M];if("object"!=typeof w||null===w)d[M]=w;else if(w instanceof Date)d[M]=new Date(w);else if(w instanceof Map)d[M]=new Map(o(Array.from(w),C));else if(w instanceof Set)d[M]=new Set(o(Array.from(w),C));else if(ArrayBuffer.isView(w))d[M]=Q(w);else{var L=g.indexOf(w);d[M]=-1!==L?A[L]:C(w)}}return g.pop(),A.pop(),d};function o(O,d){for(var M=Object.keys(O),w=new Array(M.length),L=0;L<M.length;L++){var I=M[L],P=O[I];if("object"!=typeof P||null===P)w[I]=P;else if(P instanceof Date)w[I]=new Date(P);else if(ArrayBuffer.isView(P))w[I]=Q(P);else{var U=g.indexOf(P);w[I]=-1!==U?A[U]:d(P)}}return w}}(e):e.proto?function o(C){if("object"!=typeof C||null===C)return C;if(C instanceof Date)return new Date(C);if(Array.isArray(C))return g(C,o);if(C instanceof Map)return new Map(g(Array.from(C),o));if(C instanceof Set)return new Set(g(Array.from(C),o));var u={};for(var O in C){var d=C[O];u[O]="object"!=typeof d||null===d?d:d instanceof Date?new Date(d):d instanceof Map?new Map(g(Array.from(d),o)):d instanceof Set?new Set(g(Array.from(d),o)):ArrayBuffer.isView(d)?Q(d):o(d)}return u}:function A(C){if("object"!=typeof C||null===C)return C;if(C instanceof Date)return new Date(C);if(Array.isArray(C))return g(C,A);if(C instanceof Map)return new Map(g(Array.from(C),A));if(C instanceof Set)return new Set(g(Array.from(C),A));var u={};for(var O in C)if(!1!==Object.hasOwnProperty.call(C,O)){var d=C[O];u[O]="object"!=typeof d||null===d?d:d instanceof Date?new Date(d):d instanceof Map?new Map(g(Array.from(d),A)):d instanceof Set?new Set(g(Array.from(d),A)):ArrayBuffer.isView(d)?Q(d):A(d)}return u};function g(C,u){for(var O=Object.keys(C),d=new Array(O.length),M=0;M<O.length;M++){var w=O[M],L=C[w];d[w]="object"!=typeof L||null===L?L:L instanceof Date?new Date(L):ArrayBuffer.isView(L)?Q(L):u(L)}return d}}},5634:(Ge,Q,m)=>{"use strict";var t=m(3172).Buffer,e=m(3894),g=m(9650),A=new Array(16),o=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],C=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],O=[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],M=[1352829926,1548603684,1836072691,2053994217,0];function w(){g.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function L(j,X){return j<<X|j>>>32-X}function I(j,X,ee,ue,le,ie,ce,se){return L(j+(X^ee^ue)+ie+ce|0,se)+le|0}function P(j,X,ee,ue,le,ie,ce,se){return L(j+(X&ee|~X&ue)+ie+ce|0,se)+le|0}function U(j,X,ee,ue,le,ie,ce,se){return L(j+((X|~ee)^ue)+ie+ce|0,se)+le|0}function Z(j,X,ee,ue,le,ie,ce,se){return L(j+(X&ue|ee&~ue)+ie+ce|0,se)+le|0}function Y(j,X,ee,ue,le,ie,ce,se){return L(j+(X^(ee|~ue))+ie+ce|0,se)+le|0}e(w,g),w.prototype._update=function(){for(var j=A,X=0;X<16;++X)j[X]=this._block.readInt32LE(4*X);for(var ee=0|this._a,ue=0|this._b,le=0|this._c,ie=0|this._d,ce=0|this._e,se=0|this._a,he=0|this._b,E=0|this._c,i=0|this._d,r=0|this._e,h=0;h<80;h+=1){var c,y;h<16?(c=I(ee,ue,le,ie,ce,j[o[h]],d[0],u[h]),y=Y(se,he,E,i,r,j[C[h]],M[0],O[h])):h<32?(c=P(ee,ue,le,ie,ce,j[o[h]],d[1],u[h]),y=Z(se,he,E,i,r,j[C[h]],M[1],O[h])):h<48?(c=U(ee,ue,le,ie,ce,j[o[h]],d[2],u[h]),y=U(se,he,E,i,r,j[C[h]],M[2],O[h])):h<64?(c=Z(ee,ue,le,ie,ce,j[o[h]],d[3],u[h]),y=P(se,he,E,i,r,j[C[h]],M[3],O[h])):(c=Y(ee,ue,le,ie,ce,j[o[h]],d[4],u[h]),y=I(se,he,E,i,r,j[C[h]],M[4],O[h])),ee=ce,ce=ie,ie=L(le,10),le=ue,ue=c,se=r,r=i,i=L(E,10),E=he,he=y}var S=this._b+le+i|0;this._b=this._c+ie+r|0,this._c=this._d+ce+se|0,this._d=this._e+ee+he|0,this._e=this._a+ue+E|0,this._a=S},w.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 j=t.alloc?t.alloc(20):new t(20);return j.writeInt32LE(this._a,0),j.writeInt32LE(this._b,4),j.writeInt32LE(this._c,8),j.writeInt32LE(this._d,12),j.writeInt32LE(this._e,16),j},Ge.exports=w},1135:(Ge,Q,m)=>{"use strict";m.d(Q,{X:()=>e});var t=m(7579);class e extends t.x{constructor(A){super(),this._value=A}get value(){return this.getValue()}_subscribe(A){const o=super._subscribe(A);return!o.closed&&A.next(this._value),o}getValue(){const{hasError:A,thrownError:o,_value:C}=this;if(A)throw o;return this._throwIfClosed(),C}next(A){super.next(this._value=A)}}},9751:(Ge,Q,m)=>{"use strict";m.d(Q,{y:()=>O});var t=m(930),e=m(727),g=m(8822),A=m(9635),o=m(2416),C=m(576),u=m(2806);let O=(()=>{class L{constructor(P){P&&(this._subscribe=P)}lift(P){const U=new L;return U.source=this,U.operator=P,U}subscribe(P,U,Z){const Y=function w(L){return L&&L instanceof t.Lv||function M(L){return L&&(0,C.m)(L.next)&&(0,C.m)(L.error)&&(0,C.m)(L.complete)}(L)&&(0,e.Nn)(L)}(P)?P:new t.Hp(P,U,Z);return(0,u.x)(()=>{const{operator:j,source:X}=this;Y.add(j?j.call(Y,X):X?this._subscribe(Y):this._trySubscribe(Y))}),Y}_trySubscribe(P){try{return this._subscribe(P)}catch(U){P.error(U)}}forEach(P,U){return new(U=d(U))((Z,Y)=>{const j=new t.Hp({next:X=>{try{P(X)}catch(ee){Y(ee),j.unsubscribe()}},error:Y,complete:Z});this.subscribe(j)})}_subscribe(P){var U;return null===(U=this.source)||void 0===U?void 0:U.subscribe(P)}[g.L](){return this}pipe(...P){return(0,A.U)(P)(this)}toPromise(P){return new(P=d(P))((U,Z)=>{let Y;this.subscribe(j=>Y=j,j=>Z(j),()=>U(Y))})}}return L.create=I=>new L(I),L})();function d(L){var I;return null!==(I=L??o.v.Promise)&&void 0!==I?I:Promise}},4707:(Ge,Q,m)=>{"use strict";m.d(Q,{t:()=>g});var t=m(7579),e=m(6063);class g extends t.x{constructor(o=1/0,C=1/0,u=e.l){super(),this._bufferSize=o,this._windowTime=C,this._timestampProvider=u,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=C===1/0,this._bufferSize=Math.max(1,o),this._windowTime=Math.max(1,C)}next(o){const{isStopped:C,_buffer:u,_infiniteTimeWindow:O,_timestampProvider:d,_windowTime:M}=this;C||(u.push(o),!O&&u.push(d.now()+M)),this._trimBuffer(),super.next(o)}_subscribe(o){this._throwIfClosed(),this._trimBuffer();const C=this._innerSubscribe(o),{_infiniteTimeWindow:u,_buffer:O}=this,d=O.slice();for(let M=0;M<d.length&&!o.closed;M+=u?1:2)o.next(d[M]);return this._checkFinalizedStatuses(o),C}_trimBuffer(){const{_bufferSize:o,_timestampProvider:C,_buffer:u,_infiniteTimeWindow:O}=this,d=(O?1:2)*o;if(o<1/0&&d<u.length&&u.splice(0,u.length-d),!O){const M=C.now();let w=0;for(let L=1;L<u.length&&u[L]<=M;L+=2)w=L;w&&u.splice(0,w+1)}}}},7579:(Ge,Q,m)=>{"use strict";m.d(Q,{u:()=>O,x:()=>u});var t=m(9751),e=m(727);const A=(0,m(3888).d)(d=>function(){d(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var o=m(8737),C=m(2806);let u=(()=>{class d extends t.y{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(w){const L=new O(this,this);return L.operator=w,L}_throwIfClosed(){if(this.closed)throw new A}next(w){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const L of this.currentObservers)L.next(w)}})}error(w){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=w;const{observers:L}=this;for(;L.length;)L.shift().error(w)}})}complete(){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:w}=this;for(;w.length;)w.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var w;return(null===(w=this.observers)||void 0===w?void 0:w.length)>0}_trySubscribe(w){return this._throwIfClosed(),super._trySubscribe(w)}_subscribe(w){return this._throwIfClosed(),this._checkFinalizedStatuses(w),this._innerSubscribe(w)}_innerSubscribe(w){const{hasError:L,isStopped:I,observers:P}=this;return L||I?e.Lc:(this.currentObservers=null,P.push(w),new e.w0(()=>{this.currentObservers=null,(0,o.P)(P,w)}))}_checkFinalizedStatuses(w){const{hasError:L,thrownError:I,isStopped:P}=this;L?w.error(I):P&&w.complete()}asObservable(){const w=new t.y;return w.source=this,w}}return d.create=(M,w)=>new O(M,w),d})();class O extends u{constructor(M,w){super(),this.destination=M,this.source=w}next(M){var w,L;null===(L=null===(w=this.destination)||void 0===w?void 0:w.next)||void 0===L||L.call(w,M)}error(M){var w,L;null===(L=null===(w=this.destination)||void 0===w?void 0:w.error)||void 0===L||L.call(w,M)}complete(){var M,w;null===(w=null===(M=this.destination)||void 0===M?void 0:M.complete)||void 0===w||w.call(M)}_subscribe(M){var w,L;return null!==(L=null===(w=this.source)||void 0===w?void 0:w.subscribe(M))&&void 0!==L?L:e.Lc}}},930:(Ge,Q,m)=>{"use strict";m.d(Q,{Hp:()=>Z,Lv:()=>L});var t=m(576),e=m(727),g=m(2416),A=m(7849),o=m(5032);const C=d("C",void 0,void 0);function d(ue,le,ie){return{kind:ue,value:le,error:ie}}var M=m(3410),w=m(2806);class L extends e.w0{constructor(le){super(),this.isStopped=!1,le?(this.destination=le,(0,e.Nn)(le)&&le.add(this)):this.destination=ee}static create(le,ie,ce){return new Z(le,ie,ce)}next(le){this.isStopped?X(function O(ue){return d("N",ue,void 0)}(le),this):this._next(le)}error(le){this.isStopped?X(function u(ue){return d("E",void 0,ue)}(le),this):(this.isStopped=!0,this._error(le))}complete(){this.isStopped?X(C,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(le){this.destination.next(le)}_error(le){try{this.destination.error(le)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const I=Function.prototype.bind;function P(ue,le){return I.call(ue,le)}class U{constructor(le){this.partialObserver=le}next(le){const{partialObserver:ie}=this;if(ie.next)try{ie.next(le)}catch(ce){Y(ce)}}error(le){const{partialObserver:ie}=this;if(ie.error)try{ie.error(le)}catch(ce){Y(ce)}else Y(le)}complete(){const{partialObserver:le}=this;if(le.complete)try{le.complete()}catch(ie){Y(ie)}}}class Z extends L{constructor(le,ie,ce){let se;if(super(),(0,t.m)(le)||!le)se={next:le??void 0,error:ie??void 0,complete:ce??void 0};else{let he;this&&g.v.useDeprecatedNextContext?(he=Object.create(le),he.unsubscribe=()=>this.unsubscribe(),se={next:le.next&&P(le.next,he),error:le.error&&P(le.error,he),complete:le.complete&&P(le.complete,he)}):se=le}this.destination=new U(se)}}function Y(ue){g.v.useDeprecatedSynchronousErrorHandling?(0,w.O)(ue):(0,A.h)(ue)}function X(ue,le){const{onStoppedNotification:ie}=g.v;ie&&M.z.setTimeout(()=>ie(ue,le))}const ee={closed:!0,next:o.Z,error:function j(ue){throw ue},complete:o.Z}},727:(Ge,Q,m)=>{"use strict";m.d(Q,{Lc:()=>C,w0:()=>o,Nn:()=>u});var t=m(576);const g=(0,m(3888).d)(d=>function(w){d(this),this.message=w?`${w.length} errors occurred during unsubscription:\n${w.map((L,I)=>`${I+1}) ${L.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=w});var A=m(8737);class o{constructor(M){this.initialTeardown=M,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let M;if(!this.closed){this.closed=!0;const{_parentage:w}=this;if(w)if(this._parentage=null,Array.isArray(w))for(const P of w)P.remove(this);else w.remove(this);const{initialTeardown:L}=this;if((0,t.m)(L))try{L()}catch(P){M=P instanceof g?P.errors:[P]}const{_finalizers:I}=this;if(I){this._finalizers=null;for(const P of I)try{O(P)}catch(U){M=M??[],U instanceof g?M=[...M,...U.errors]:M.push(U)}}if(M)throw new g(M)}}add(M){var w;if(M&&M!==this)if(this.closed)O(M);else{if(M instanceof o){if(M.closed||M._hasParent(this))return;M._addParent(this)}(this._finalizers=null!==(w=this._finalizers)&&void 0!==w?w:[]).push(M)}}_hasParent(M){const{_parentage:w}=this;return w===M||Array.isArray(w)&&w.includes(M)}_addParent(M){const{_parentage:w}=this;this._parentage=Array.isArray(w)?(w.push(M),w):w?[w,M]:M}_removeParent(M){const{_parentage:w}=this;w===M?this._parentage=null:Array.isArray(w)&&(0,A.P)(w,M)}remove(M){const{_finalizers:w}=this;w&&(0,A.P)(w,M),M instanceof o&&M._removeParent(this)}}o.EMPTY=(()=>{const d=new o;return d.closed=!0,d})();const C=o.EMPTY;function u(d){return d instanceof o||d&&"closed"in d&&(0,t.m)(d.remove)&&(0,t.m)(d.add)&&(0,t.m)(d.unsubscribe)}function O(d){(0,t.m)(d)?d():d.unsubscribe()}},2416:(Ge,Q,m)=>{"use strict";m.d(Q,{v:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(Ge,Q,m)=>{"use strict";m.d(Q,{c:()=>C});var t=m(9751),e=m(727),g=m(8343),A=m(5403),o=m(4482);class C extends t.y{constructor(O,d){super(),this.source=O,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,o.A)(O)&&(this.lift=O.lift)}_subscribe(O){return this.getSubject().subscribe(O)}getSubject(){const O=this._subject;return(!O||O.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:O}=this;this._subject=this._connection=null,O?.unsubscribe()}connect(){let O=this._connection;if(!O){O=this._connection=new e.w0;const d=this.getSubject();O.add(this.source.subscribe((0,A.x)(d,void 0,()=>{this._teardown(),d.complete()},M=>{this._teardown(),d.error(M)},()=>this._teardown()))),O.closed&&(this._connection=null,O=e.w0.EMPTY)}return O}refCount(){return(0,g.x)()(this)}}},9841:(Ge,Q,m)=>{"use strict";m.d(Q,{a:()=>M});var t=m(9751),e=m(4742),g=m(457),A=m(4671),o=m(3268),C=m(3269),u=m(1810),O=m(5403),d=m(9672);function M(...I){const P=(0,C.yG)(I),U=(0,C.jO)(I),{args:Z,keys:Y}=(0,e.D)(I);if(0===Z.length)return(0,g.D)([],P);const j=new t.y(function w(I,P,U=A.y){return Z=>{L(P,()=>{const{length:Y}=I,j=new Array(Y);let X=Y,ee=Y;for(let ue=0;ue<Y;ue++)L(P,()=>{const le=(0,g.D)(I[ue],P);let ie=!1;le.subscribe((0,O.x)(Z,ce=>{j[ue]=ce,ie||(ie=!0,ee--),ee||Z.next(U(j.slice()))},()=>{--X||Z.complete()}))},Z)},Z)}}(Z,P,Y?X=>(0,u.n)(Y,X):A.y));return U?j.pipe((0,o.Z)(U)):j}function L(I,P,U){I?(0,d.f)(U,I,P):P()}},7272:(Ge,Q,m)=>{"use strict";m.d(Q,{z:()=>o});var t=m(8189),g=m(3269),A=m(457);function o(...C){return function e(){return(0,t.J)(1)}()((0,A.D)(C,(0,g.yG)(C)))}},9770:(Ge,Q,m)=>{"use strict";m.d(Q,{P:()=>g});var t=m(9751),e=m(8421);function g(A){return new t.y(o=>{(0,e.Xf)(A()).subscribe(o)})}},515:(Ge,Q,m)=>{"use strict";m.d(Q,{E:()=>e});const e=new(m(9751).y)(o=>o.complete())},4128:(Ge,Q,m)=>{"use strict";m.d(Q,{D:()=>O});var t=m(9751),e=m(4742),g=m(8421),A=m(3269),o=m(5403),C=m(3268),u=m(1810);function O(...d){const M=(0,A.jO)(d),{args:w,keys:L}=(0,e.D)(d),I=new t.y(P=>{const{length:U}=w;if(!U)return void P.complete();const Z=new Array(U);let Y=U,j=U;for(let X=0;X<U;X++){let ee=!1;(0,g.Xf)(w[X]).subscribe((0,o.x)(P,ue=>{ee||(ee=!0,j--),Z[X]=ue},()=>Y--,void 0,()=>{(!Y||!ee)&&(j||P.next(L?(0,u.n)(L,Z):Z),P.complete())}))}});return M?I.pipe((0,C.Z)(M)):I}},457:(Ge,Q,m)=>{"use strict";m.d(Q,{D:()=>ie});var t=m(8421),e=m(5363),g=m(4482);function A(ce,se=0){return(0,g.e)((he,E)=>{E.add(ce.schedule(()=>he.subscribe(E),se))})}var u=m(9751),d=m(2202),M=m(576),w=m(9672);function I(ce,se){if(!ce)throw new Error("Iterable cannot be null");return new u.y(he=>{(0,w.f)(he,se,()=>{const E=ce[Symbol.asyncIterator]();(0,w.f)(he,se,()=>{E.next().then(i=>{i.done?he.complete():he.next(i.value)})},0,!0)})})}var P=m(3670),U=m(8239),Z=m(1144),Y=m(6495),j=m(2206),X=m(4532),ee=m(3260);function ie(ce,se){return se?function le(ce,se){if(null!=ce){if((0,P.c)(ce))return function o(ce,se){return(0,t.Xf)(ce).pipe(A(se),(0,e.Q)(se))}(ce,se);if((0,Z.z)(ce))return function O(ce,se){return new u.y(he=>{let E=0;return se.schedule(function(){E===ce.length?he.complete():(he.next(ce[E++]),he.closed||this.schedule())})})}(ce,se);if((0,U.t)(ce))return function C(ce,se){return(0,t.Xf)(ce).pipe(A(se),(0,e.Q)(se))}(ce,se);if((0,j.D)(ce))return I(ce,se);if((0,Y.T)(ce))return function L(ce,se){return new u.y(he=>{let E;return(0,w.f)(he,se,()=>{E=ce[d.h](),(0,w.f)(he,se,()=>{let i,r;try{({value:i,done:r}=E.next())}catch(h){return void he.error(h)}r?he.complete():he.next(i)},0,!0)}),()=>(0,M.m)(E?.return)&&E.return()})}(ce,se);if((0,ee.L)(ce))return function ue(ce,se){return I((0,ee.Q)(ce),se)}(ce,se)}throw(0,X.z)(ce)}(ce,se):(0,t.Xf)(ce)}},4968:(Ge,Q,m)=>{"use strict";m.d(Q,{R:()=>M});var t=m(8421),e=m(9751),g=m(5577),A=m(1144),o=m(576),C=m(3268);const u=["addListener","removeListener"],O=["addEventListener","removeEventListener"],d=["on","off"];function M(U,Z,Y,j){if((0,o.m)(Y)&&(j=Y,Y=void 0),j)return M(U,Z,Y).pipe((0,C.Z)(j));const[X,ee]=function P(U){return(0,o.m)(U.addEventListener)&&(0,o.m)(U.removeEventListener)}(U)?O.map(ue=>le=>U[ue](Z,le,Y)):function L(U){return(0,o.m)(U.addListener)&&(0,o.m)(U.removeListener)}(U)?u.map(w(U,Z)):function I(U){return(0,o.m)(U.on)&&(0,o.m)(U.off)}(U)?d.map(w(U,Z)):[];if(!X&&(0,A.z)(U))return(0,g.z)(ue=>M(ue,Z,Y))((0,t.Xf)(U));if(!X)throw new TypeError("Invalid event target");return new e.y(ue=>{const le=(...ie)=>ue.next(1<ie.length?ie:ie[0]);return X(le),()=>ee(le)})}function w(U,Z){return Y=>j=>U[Y](Z,j)}},8421:(Ge,Q,m)=>{"use strict";m.d(Q,{Xf:()=>I});var t=m(655),e=m(1144),g=m(8239),A=m(9751),o=m(3670),C=m(2206),u=m(4532),O=m(6495),d=m(3260),M=m(576),w=m(7849),L=m(8822);function I(ue){if(ue instanceof A.y)return ue;if(null!=ue){if((0,o.c)(ue))return function P(ue){return new A.y(le=>{const ie=ue[L.L]();if((0,M.m)(ie.subscribe))return ie.subscribe(le);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ue);if((0,e.z)(ue))return function U(ue){return new A.y(le=>{for(let ie=0;ie<ue.length&&!le.closed;ie++)le.next(ue[ie]);le.complete()})}(ue);if((0,g.t)(ue))return function Z(ue){return new A.y(le=>{ue.then(ie=>{le.closed||(le.next(ie),le.complete())},ie=>le.error(ie)).then(null,w.h)})}(ue);if((0,C.D)(ue))return j(ue);if((0,O.T)(ue))return function Y(ue){return new A.y(le=>{for(const ie of ue)if(le.next(ie),le.closed)return;le.complete()})}(ue);if((0,d.L)(ue))return function X(ue){return j((0,d.Q)(ue))}(ue)}throw(0,u.z)(ue)}function j(ue){return new A.y(le=>{(function ee(ue,le){var ie,ce,se,he;return(0,t.mG)(this,void 0,void 0,function*(){try{for(ie=(0,t.KL)(ue);!(ce=yield ie.next()).done;)if(le.next(ce.value),le.closed)return}catch(E){se={error:E}}finally{try{ce&&!ce.done&&(he=ie.return)&&(yield he.call(ie))}finally{if(se)throw se.error}}le.complete()})})(ue,le).catch(ie=>le.error(ie))})}},6451:(Ge,Q,m)=>{"use strict";m.d(Q,{T:()=>C});var t=m(8189),e=m(8421),g=m(515),A=m(3269),o=m(457);function C(...u){const O=(0,A.yG)(u),d=(0,A._6)(u,1/0),M=u;return M.length?1===M.length?(0,e.Xf)(M[0]):(0,t.J)(d)((0,o.D)(M,O)):g.E}},9646:(Ge,Q,m)=>{"use strict";m.d(Q,{of:()=>g});var t=m(3269),e=m(457);function g(...A){const o=(0,t.yG)(A);return(0,e.D)(A,o)}},2843:(Ge,Q,m)=>{"use strict";m.d(Q,{_:()=>g});var t=m(9751),e=m(576);function g(A,o){const C=(0,e.m)(A)?A:()=>A,u=O=>O.error(C());return new t.y(o?O=>o.schedule(u,0,O):u)}},2805:(Ge,Q,m)=>{"use strict";m.d(Q,{H:()=>o});var t=m(9751),e=m(4986),g=m(3532),A=m(1165);function o(C=0,u,O=e.P){let d=-1;return null!=u&&((0,g.K)(u)?O=u:d=u),new t.y(M=>{let w=(0,A.q)(C)?+C-O.now():C;w<0&&(w=0);let L=0;return O.schedule(function(){M.closed||(M.next(L++),0<=d?this.schedule(void 0,d):M.complete())},w)})}},5403:(Ge,Q,m)=>{"use strict";m.d(Q,{Q:()=>g,x:()=>e});var t=m(930);function e(A,o,C,u,O){return new g(A,o,C,u,O)}class g extends t.Lv{constructor(o,C,u,O,d,M){super(o),this.onFinalize=d,this.shouldUnsubscribe=M,this._next=C?function(w){try{C(w)}catch(L){o.error(L)}}:super._next,this._error=O?function(w){try{O(w)}catch(L){o.error(L)}finally{this.unsubscribe()}}:super._error,this._complete=u?function(){try{u()}catch(w){o.error(w)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var o;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:C}=this;super.unsubscribe(),!C&&(null===(o=this.onFinalize)||void 0===o||o.call(this))}}}},3601:(Ge,Q,m)=>{"use strict";m.d(Q,{e:()=>u});var t=m(4986),e=m(4482),g=m(8421),A=m(5403),C=m(2805);function u(O,d=t.z){return function o(O){return(0,e.e)((d,M)=>{let w=!1,L=null,I=null,P=!1;const U=()=>{if(I?.unsubscribe(),I=null,w){w=!1;const Y=L;L=null,M.next(Y)}P&&M.complete()},Z=()=>{I=null,P&&M.complete()};d.subscribe((0,A.x)(M,Y=>{w=!0,L=Y,I||(0,g.Xf)(O(Y)).subscribe(I=(0,A.x)(M,U,Z))},()=>{P=!0,(!w||!I||I.closed)&&M.complete()}))})}(()=>(0,C.H)(O,d))}},262:(Ge,Q,m)=>{"use strict";m.d(Q,{K:()=>A});var t=m(8421),e=m(5403),g=m(4482);function A(o){return(0,g.e)((C,u)=>{let M,O=null,d=!1;O=C.subscribe((0,e.x)(u,void 0,void 0,w=>{M=(0,t.Xf)(o(w,A(o)(C))),O?(O.unsubscribe(),O=null,M.subscribe(u)):d=!0})),d&&(O.unsubscribe(),O=null,M.subscribe(u))})}},4351:(Ge,Q,m)=>{"use strict";m.d(Q,{b:()=>g});var t=m(5577),e=m(576);function g(A,o){return(0,e.m)(o)?(0,t.z)(A,o,1):(0,t.z)(A,1)}},8372:(Ge,Q,m)=>{"use strict";m.d(Q,{b:()=>A});var t=m(4986),e=m(4482),g=m(5403);function A(o,C=t.z){return(0,e.e)((u,O)=>{let d=null,M=null,w=null;const L=()=>{if(d){d.unsubscribe(),d=null;const P=M;M=null,O.next(P)}};function I(){const P=w+o,U=C.now();if(U<P)return d=this.schedule(void 0,P-U),void O.add(d);L()}u.subscribe((0,g.x)(O,P=>{M=P,w=C.now(),d||(d=C.schedule(I,o),O.add(d))},()=>{L(),O.complete()},void 0,()=>{M=d=null}))})}},6590:(Ge,Q,m)=>{"use strict";m.d(Q,{d:()=>g});var t=m(4482),e=m(5403);function g(A){return(0,t.e)((o,C)=>{let u=!1;o.subscribe((0,e.x)(C,O=>{u=!0,C.next(O)},()=>{u||C.next(A),C.complete()}))})}},4086:(Ge,Q,m)=>{"use strict";m.d(Q,{g:()=>d});var t=m(4986),e=m(7272),g=m(5698),A=m(8502),o=m(9718),C=m(5577);function u(M,w){return w?L=>(0,e.z)(w.pipe((0,g.q)(1),(0,A.l)()),L.pipe(u(M))):(0,C.z)((L,I)=>M(L,I).pipe((0,g.q)(1),(0,o.h)(L)))}var O=m(2805);function d(M,w=t.z){const L=(0,O.H)(M,w);return u(()=>L)}},1884:(Ge,Q,m)=>{"use strict";m.d(Q,{x:()=>A});var t=m(4671),e=m(4482),g=m(5403);function A(C,u=t.y){return C=C??o,(0,e.e)((O,d)=>{let M,w=!0;O.subscribe((0,g.x)(d,L=>{const I=u(L);(w||!C(M,I))&&(w=!1,M=I,d.next(L))}))})}function o(C,u){return C===u}},9300:(Ge,Q,m)=>{"use strict";m.d(Q,{h:()=>g});var t=m(4482),e=m(5403);function g(A,o){return(0,t.e)((C,u)=>{let O=0;C.subscribe((0,e.x)(u,d=>A.call(o,d,O++)&&u.next(d)))})}},8746:(Ge,Q,m)=>{"use strict";m.d(Q,{x:()=>e});var t=m(4482);function e(g){return(0,t.e)((A,o)=>{try{A.subscribe(o)}finally{o.add(g)}})}},590:(Ge,Q,m)=>{"use strict";m.d(Q,{P:()=>u});var t=m(6805),e=m(9300),g=m(5698),A=m(6590),o=m(8068),C=m(4671);function u(O,d){const M=arguments.length>=2;return w=>w.pipe(O?(0,e.h)((L,I)=>O(L,I,w)):C.y,(0,g.q)(1),M?(0,A.d)(d):(0,o.T)(()=>new t.K))}},8502:(Ge,Q,m)=>{"use strict";m.d(Q,{l:()=>A});var t=m(4482),e=m(5403),g=m(5032);function A(){return(0,t.e)((o,C)=>{o.subscribe((0,e.x)(C,g.Z))})}},4004:(Ge,Q,m)=>{"use strict";m.d(Q,{U:()=>g});var t=m(4482),e=m(5403);function g(A,o){return(0,t.e)((C,u)=>{let O=0;C.subscribe((0,e.x)(u,d=>{u.next(A.call(o,d,O++))}))})}},9718:(Ge,Q,m)=>{"use strict";m.d(Q,{h:()=>e});var t=m(4004);function e(g){return(0,t.U)(()=>g)}},8189:(Ge,Q,m)=>{"use strict";m.d(Q,{J:()=>g});var t=m(5577),e=m(4671);function g(A=1/0){return(0,t.z)(e.y,A)}},5577:(Ge,Q,m)=>{"use strict";m.d(Q,{z:()=>O});var t=m(4004),e=m(8421),g=m(4482),A=m(9672),o=m(5403),u=m(576);function O(d,M,w=1/0){return(0,u.m)(M)?O((L,I)=>(0,t.U)((P,U)=>M(L,P,I,U))((0,e.Xf)(d(L,I))),w):("number"==typeof M&&(w=M),(0,g.e)((L,I)=>function C(d,M,w,L,I,P,U,Z){const Y=[];let j=0,X=0,ee=!1;const ue=()=>{ee&&!Y.length&&!j&&M.complete()},le=ce=>j<L?ie(ce):Y.push(ce),ie=ce=>{P&&M.next(ce),j++;let se=!1;(0,e.Xf)(w(ce,X++)).subscribe((0,o.x)(M,he=>{I?.(he),P?le(he):M.next(he)},()=>{se=!0},void 0,()=>{if(se)try{for(j--;Y.length&&j<L;){const he=Y.shift();U?(0,A.f)(M,U,()=>ie(he)):ie(he)}ue()}catch(he){M.error(he)}}))};return d.subscribe((0,o.x)(M,le,()=>{ee=!0,ue()})),()=>{Z?.()}}(L,I,d,w)))}},5363:(Ge,Q,m)=>{"use strict";m.d(Q,{Q:()=>A});var t=m(9672),e=m(4482),g=m(5403);function A(o,C=0){return(0,e.e)((u,O)=>{u.subscribe((0,g.x)(O,d=>(0,t.f)(O,o,()=>O.next(d),C),()=>(0,t.f)(O,o,()=>O.complete(),C),d=>(0,t.f)(O,o,()=>O.error(d),C)))})}},8343:(Ge,Q,m)=>{"use strict";m.d(Q,{x:()=>g});var t=m(4482),e=m(5403);function g(){return(0,t.e)((A,o)=>{let C=null;A._refCount++;const u=(0,e.x)(o,void 0,void 0,void 0,()=>{if(!A||A._refCount<=0||0<--A._refCount)return void(C=null);const O=A._connection,d=C;C=null,O&&(!d||O===d)&&O.unsubscribe(),o.unsubscribe()});A.subscribe(u),u.closed||(C=A.connect())})}},5026:(Ge,Q,m)=>{"use strict";m.d(Q,{R:()=>A});var t=m(4482),e=m(5403);function g(o,C,u,O,d){return(M,w)=>{let L=u,I=C,P=0;M.subscribe((0,e.x)(w,U=>{const Z=P++;I=L?o(I,U,Z):(L=!0,U),O&&w.next(I)},d&&(()=>{L&&w.next(I),w.complete()})))}}function A(o,C){return(0,t.e)(g(o,C,arguments.length>=2,!0))}},3099:(Ge,Q,m)=>{"use strict";m.d(Q,{B:()=>o});var t=m(8421),e=m(7579),g=m(930),A=m(4482);function o(u={}){const{connector:O=(()=>new e.x),resetOnError:d=!0,resetOnComplete:M=!0,resetOnRefCountZero:w=!0}=u;return L=>{let I,P,U,Z=0,Y=!1,j=!1;const X=()=>{P?.unsubscribe(),P=void 0},ee=()=>{X(),I=U=void 0,Y=j=!1},ue=()=>{const le=I;ee(),le?.unsubscribe()};return(0,A.e)((le,ie)=>{Z++,!j&&!Y&&X();const ce=U=U??O();ie.add(()=>{Z--,0===Z&&!j&&!Y&&(P=C(ue,w))}),ce.subscribe(ie),!I&&Z>0&&(I=new g.Hp({next:se=>ce.next(se),error:se=>{j=!0,X(),P=C(ee,d,se),ce.error(se)},complete:()=>{Y=!0,X(),P=C(ee,M),ce.complete()}}),(0,t.Xf)(le).subscribe(I))})(L)}}function C(u,O,...d){if(!0===O)return void u();if(!1===O)return;const M=new g.Hp({next:()=>{M.unsubscribe(),u()}});return O(...d).subscribe(M)}},5684:(Ge,Q,m)=>{"use strict";m.d(Q,{T:()=>e});var t=m(9300);function e(g){return(0,t.h)((A,o)=>g<=o)}},8675:(Ge,Q,m)=>{"use strict";m.d(Q,{O:()=>A});var t=m(7272),e=m(3269),g=m(4482);function A(...o){const C=(0,e.yG)(o);return(0,g.e)((u,O)=>{(C?(0,t.z)(o,u,C):(0,t.z)(o,u)).subscribe(O)})}},3900:(Ge,Q,m)=>{"use strict";m.d(Q,{w:()=>A});var t=m(8421),e=m(4482),g=m(5403);function A(o,C){return(0,e.e)((u,O)=>{let d=null,M=0,w=!1;const L=()=>w&&!d&&O.complete();u.subscribe((0,g.x)(O,I=>{d?.unsubscribe();let P=0;const U=M++;(0,t.Xf)(o(I,U)).subscribe(d=(0,g.x)(O,Z=>O.next(C?C(I,Z,U,P++):Z),()=>{d=null,L()}))},()=>{w=!0,L()}))})}},5698:(Ge,Q,m)=>{"use strict";m.d(Q,{q:()=>A});var t=m(515),e=m(4482),g=m(5403);function A(o){return o<=0?()=>t.E:(0,e.e)((C,u)=>{let O=0;C.subscribe((0,g.x)(u,d=>{++O<=o&&(u.next(d),o<=O&&u.complete())}))})}},2722:(Ge,Q,m)=>{"use strict";m.d(Q,{R:()=>o});var t=m(4482),e=m(5403),g=m(8421),A=m(5032);function o(C){return(0,t.e)((u,O)=>{(0,g.Xf)(C).subscribe((0,e.x)(O,()=>O.complete(),A.Z)),!O.closed&&u.subscribe(O)})}},2529:(Ge,Q,m)=>{"use strict";m.d(Q,{o:()=>g});var t=m(4482),e=m(5403);function g(A,o=!1){return(0,t.e)((C,u)=>{let O=0;C.subscribe((0,e.x)(u,d=>{const M=A(d,O++);(M||o)&&u.next(d),!M&&u.complete()}))})}},8505:(Ge,Q,m)=>{"use strict";m.d(Q,{b:()=>o});var t=m(576),e=m(4482),g=m(5403),A=m(4671);function o(C,u,O){const d=(0,t.m)(C)||u||O?{next:C,error:u,complete:O}:C;return d?(0,e.e)((M,w)=>{var L;null===(L=d.subscribe)||void 0===L||L.call(d);let I=!0;M.subscribe((0,g.x)(w,P=>{var U;null===(U=d.next)||void 0===U||U.call(d,P),w.next(P)},()=>{var P;I=!1,null===(P=d.complete)||void 0===P||P.call(d),w.complete()},P=>{var U;I=!1,null===(U=d.error)||void 0===U||U.call(d,P),w.error(P)},()=>{var P,U;I&&(null===(P=d.unsubscribe)||void 0===P||P.call(d)),null===(U=d.finalize)||void 0===U||U.call(d)}))}):A.y}},8068:(Ge,Q,m)=>{"use strict";m.d(Q,{T:()=>A});var t=m(6805),e=m(4482),g=m(5403);function A(C=o){return(0,e.e)((u,O)=>{let d=!1;u.subscribe((0,g.x)(O,M=>{d=!0,O.next(M)},()=>d?O.complete():O.error(C())))})}function o(){return new t.K}},7414:(Ge,Q,m)=>{"use strict";m.d(Q,{V:()=>d});var t=m(4986),e=m(1165),g=m(4482),A=m(8421),o=m(3888),C=m(5403),u=m(9672);const O=(0,o.d)(w=>function(I=null){w(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=I});function d(w,L){const{first:I,each:P,with:U=M,scheduler:Z=L??t.z,meta:Y=null}=(0,e.q)(w)?{first:w}:"number"==typeof w?{each:w}:w;if(null==I&&null==P)throw new TypeError("No timeout provided.");return(0,g.e)((j,X)=>{let ee,ue,le=null,ie=0;const ce=se=>{ue=(0,u.f)(X,Z,()=>{try{ee.unsubscribe(),(0,A.Xf)(U({meta:Y,lastValue:le,seen:ie})).subscribe(X)}catch(he){X.error(he)}},se)};ee=j.subscribe((0,C.x)(X,se=>{ue?.unsubscribe(),ie++,X.next(le=se),P>0&&ce(P)},void 0,void 0,()=>{ue?.closed||ue?.unsubscribe(),le=null})),!ie&&ce(null!=I?"number"==typeof I?I:+I-Z.now():P)})}function M(w){throw new O(w)}},1365:(Ge,Q,m)=>{"use strict";m.d(Q,{M:()=>u});var t=m(4482),e=m(5403),g=m(8421),A=m(4671),o=m(5032),C=m(3269);function u(...O){const d=(0,C.jO)(O);return(0,t.e)((M,w)=>{const L=O.length,I=new Array(L);let P=O.map(()=>!1),U=!1;for(let Z=0;Z<L;Z++)(0,g.Xf)(O[Z]).subscribe((0,e.x)(w,Y=>{I[Z]=Y,!U&&!P[Z]&&(P[Z]=!0,(U=P.every(A.y))&&(P=null))},o.Z));M.subscribe((0,e.x)(w,Z=>{if(U){const Y=[Z,...I];w.next(d?d(...Y):Y)}}))})}},4408:(Ge,Q,m)=>{"use strict";m.d(Q,{o:()=>o});var t=m(727);class e extends t.w0{constructor(u,O){super()}schedule(u,O=0){return this}}const g={setInterval(C,u,...O){const{delegate:d}=g;return d?.setInterval?d.setInterval(C,u,...O):setInterval(C,u,...O)},clearInterval(C){const{delegate:u}=g;return(u?.clearInterval||clearInterval)(C)},delegate:void 0};var A=m(8737);class o extends e{constructor(u,O){super(u,O),this.scheduler=u,this.work=O,this.pending=!1}schedule(u,O=0){var d;if(this.closed)return this;this.state=u;const M=this.id,w=this.scheduler;return null!=M&&(this.id=this.recycleAsyncId(w,M,O)),this.pending=!0,this.delay=O,this.id=null!==(d=this.id)&&void 0!==d?d:this.requestAsyncId(w,this.id,O),this}requestAsyncId(u,O,d=0){return g.setInterval(u.flush.bind(u,this),d)}recycleAsyncId(u,O,d=0){if(null!=d&&this.delay===d&&!1===this.pending)return O;null!=O&&g.clearInterval(O)}execute(u,O){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(u,O);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(u,O){let M,d=!1;try{this.work(u)}catch(w){d=!0,M=w||new Error("Scheduled action threw falsy error")}if(d)return this.unsubscribe(),M}unsubscribe(){if(!this.closed){const{id:u,scheduler:O}=this,{actions:d}=O;this.work=this.state=this.scheduler=null,this.pending=!1,(0,A.P)(d,this),null!=u&&(this.id=this.recycleAsyncId(O,u,null)),this.delay=null,super.unsubscribe()}}}},7565:(Ge,Q,m)=>{"use strict";m.d(Q,{v:()=>g});var t=m(6063);class e{constructor(o,C=e.now){this.schedulerActionCtor=o,this.now=C}schedule(o,C=0,u){return new this.schedulerActionCtor(this,o).schedule(u,C)}}e.now=t.l.now;class g extends e{constructor(o,C=e.now){super(o,C),this.actions=[],this._active=!1}flush(o){const{actions:C}=this;if(this._active)return void C.push(o);let u;this._active=!0;do{if(u=o.execute(o.state,o.delay))break}while(o=C.shift());if(this._active=!1,u){for(;o=C.shift();)o.unsubscribe();throw u}}}},3101:(Ge,Q,m)=>{"use strict";m.d(Q,{E:()=>P});var t=m(4408);let g,e=1;const A={};function o(Z){return Z in A&&(delete A[Z],!0)}const C={setImmediate(Z){const Y=e++;return A[Y]=!0,g||(g=Promise.resolve()),g.then(()=>o(Y)&&Z()),Y},clearImmediate(Z){o(Z)}},{setImmediate:O,clearImmediate:d}=C,M={setImmediate(...Z){const{delegate:Y}=M;return(Y?.setImmediate||O)(...Z)},clearImmediate(Z){const{delegate:Y}=M;return(Y?.clearImmediate||d)(Z)},delegate:void 0};var L=m(7565);const P=new class I extends L.v{flush(Y){this._active=!0;const j=this._scheduled;this._scheduled=void 0;const{actions:X}=this;let ee;Y=Y||X.shift();do{if(ee=Y.execute(Y.state,Y.delay))break}while((Y=X[0])&&Y.id===j&&X.shift());if(this._active=!1,ee){for(;(Y=X[0])&&Y.id===j&&X.shift();)Y.unsubscribe();throw ee}}}(class w extends t.o{constructor(Y,j){super(Y,j),this.scheduler=Y,this.work=j}requestAsyncId(Y,j,X=0){return null!==X&&X>0?super.requestAsyncId(Y,j,X):(Y.actions.push(this),Y._scheduled||(Y._scheduled=M.setImmediate(Y.flush.bind(Y,void 0))))}recycleAsyncId(Y,j,X=0){var ee;if(null!=X?X>0:this.delay>0)return super.recycleAsyncId(Y,j,X);const{actions:ue}=Y;null!=j&&(null===(ee=ue[ue.length-1])||void 0===ee?void 0:ee.id)!==j&&(M.clearImmediate(j),Y._scheduled=void 0)}})},4986:(Ge,Q,m)=>{"use strict";m.d(Q,{P:()=>A,z:()=>g});var t=m(4408);const g=new(m(7565).v)(t.o),A=g},6063:(Ge,Q,m)=>{"use strict";m.d(Q,{l:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},233:(Ge,Q,m)=>{"use strict";m.d(Q,{N:()=>o});var t=m(4408),g=m(7565);const o=new class A extends g.v{}(class e extends t.o{constructor(O,d){super(O,d),this.scheduler=O,this.work=d}schedule(O,d=0){return d>0?super.schedule(O,d):(this.delay=d,this.state=O,this.scheduler.flush(this),this)}execute(O,d){return d>0||this.closed?super.execute(O,d):this._execute(O,d)}requestAsyncId(O,d,M=0){return null!=M&&M>0||null==M&&this.delay>0?super.requestAsyncId(O,d,M):(O.flush(this),0)}})},3410:(Ge,Q,m)=>{"use strict";m.d(Q,{z:()=>t});const t={setTimeout(e,g,...A){const{delegate:o}=t;return o?.setTimeout?o.setTimeout(e,g,...A):setTimeout(e,g,...A)},clearTimeout(e){const{delegate:g}=t;return(g?.clearTimeout||clearTimeout)(e)},delegate:void 0}},2202:(Ge,Q,m)=>{"use strict";m.d(Q,{h:()=>e});const e=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Ge,Q,m)=>{"use strict";m.d(Q,{L:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(Ge,Q,m)=>{"use strict";m.d(Q,{K:()=>e});const e=(0,m(3888).d)(g=>function(){g(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(Ge,Q,m)=>{"use strict";m.d(Q,{_6:()=>C,jO:()=>A,yG:()=>o});var t=m(576),e=m(3532);function g(u){return u[u.length-1]}function A(u){return(0,t.m)(g(u))?u.pop():void 0}function o(u){return(0,e.K)(g(u))?u.pop():void 0}function C(u,O){return"number"==typeof g(u)?u.pop():O}},4742:(Ge,Q,m)=>{"use strict";m.d(Q,{D:()=>o});const{isArray:t}=Array,{getPrototypeOf:e,prototype:g,keys:A}=Object;function o(u){if(1===u.length){const O=u[0];if(t(O))return{args:O,keys:null};if(function C(u){return u&&"object"==typeof u&&e(u)===g}(O)){const d=A(O);return{args:d.map(M=>O[M]),keys:d}}}return{args:u,keys:null}}},8737:(Ge,Q,m)=>{"use strict";function t(e,g){if(e){const A=e.indexOf(g);0<=A&&e.splice(A,1)}}m.d(Q,{P:()=>t})},3888:(Ge,Q,m)=>{"use strict";function t(e){const A=e(o=>{Error.call(o),o.stack=(new Error).stack});return A.prototype=Object.create(Error.prototype),A.prototype.constructor=A,A}m.d(Q,{d:()=>t})},1810:(Ge,Q,m)=>{"use strict";function t(e,g){return e.reduce((A,o,C)=>(A[o]=g[C],A),{})}m.d(Q,{n:()=>t})},2806:(Ge,Q,m)=>{"use strict";m.d(Q,{O:()=>A,x:()=>g});var t=m(2416);let e=null;function g(o){if(t.v.useDeprecatedSynchronousErrorHandling){const C=!e;if(C&&(e={errorThrown:!1,error:null}),o(),C){const{errorThrown:u,error:O}=e;if(e=null,u)throw O}}else o()}function A(o){t.v.useDeprecatedSynchronousErrorHandling&&e&&(e.errorThrown=!0,e.error=o)}},9672:(Ge,Q,m)=>{"use strict";function t(e,g,A,o=0,C=!1){const u=g.schedule(function(){A(),C?e.add(this.schedule(null,o)):this.unsubscribe()},o);if(e.add(u),!C)return u}m.d(Q,{f:()=>t})},4671:(Ge,Q,m)=>{"use strict";function t(e){return e}m.d(Q,{y:()=>t})},1144:(Ge,Q,m)=>{"use strict";m.d(Q,{z:()=>t});const t=e=>e&&"number"==typeof e.length&&"function"!=typeof e},2206:(Ge,Q,m)=>{"use strict";m.d(Q,{D:()=>e});var t=m(576);function e(g){return Symbol.asyncIterator&&(0,t.m)(g?.[Symbol.asyncIterator])}},1165:(Ge,Q,m)=>{"use strict";function t(e){return e instanceof Date&&!isNaN(e)}m.d(Q,{q:()=>t})},576:(Ge,Q,m)=>{"use strict";function t(e){return"function"==typeof e}m.d(Q,{m:()=>t})},3670:(Ge,Q,m)=>{"use strict";m.d(Q,{c:()=>g});var t=m(8822),e=m(576);function g(A){return(0,e.m)(A[t.L])}},6495:(Ge,Q,m)=>{"use strict";m.d(Q,{T:()=>g});var t=m(2202),e=m(576);function g(A){return(0,e.m)(A?.[t.h])}},5191:(Ge,Q,m)=>{"use strict";m.d(Q,{b:()=>g});var t=m(9751),e=m(576);function g(A){return!!A&&(A instanceof t.y||(0,e.m)(A.lift)&&(0,e.m)(A.subscribe))}},8239:(Ge,Q,m)=>{"use strict";m.d(Q,{t:()=>e});var t=m(576);function e(g){return(0,t.m)(g?.then)}},3260:(Ge,Q,m)=>{"use strict";m.d(Q,{L:()=>A,Q:()=>g});var t=m(655),e=m(576);function g(o){return(0,t.FC)(this,arguments,function*(){const u=o.getReader();try{for(;;){const{value:O,done:d}=yield(0,t.qq)(u.read());if(d)return yield(0,t.qq)(void 0);yield yield(0,t.qq)(O)}}finally{u.releaseLock()}})}function A(o){return(0,e.m)(o?.getReader)}},3532:(Ge,Q,m)=>{"use strict";m.d(Q,{K:()=>e});var t=m(576);function e(g){return g&&(0,t.m)(g.schedule)}},4482:(Ge,Q,m)=>{"use strict";m.d(Q,{A:()=>e,e:()=>g});var t=m(576);function e(A){return(0,t.m)(A?.lift)}function g(A){return o=>{if(e(o))return o.lift(function(C){try{return A(C,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Ge,Q,m)=>{"use strict";m.d(Q,{Z:()=>A});var t=m(4004);const{isArray:e}=Array;function A(o){return(0,t.U)(C=>function g(o,C){return e(C)?o(...C):o(C)}(o,C))}},5032:(Ge,Q,m)=>{"use strict";function t(){}m.d(Q,{Z:()=>t})},9635:(Ge,Q,m)=>{"use strict";m.d(Q,{U:()=>g,z:()=>e});var t=m(4671);function e(...A){return g(A)}function g(A){return 0===A.length?t.y:1===A.length?A[0]:function(C){return A.reduce((u,O)=>O(u),C)}}},7849:(Ge,Q,m)=>{"use strict";m.d(Q,{h:()=>g});var t=m(2416),e=m(3410);function g(A){e.z.setTimeout(()=>{const{onUnhandledError:o}=t.v;if(!o)throw A;o(A)})}},4532:(Ge,Q,m)=>{"use strict";function t(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}m.d(Q,{z:()=>t})},3502:(Ge,Q,m)=>{var t=m(3172),e=t.Buffer;function g(o,C){for(var u in o)C[u]=o[u]}function A(o,C,u){return e(o,C,u)}e.from&&e.alloc&&e.allocUnsafe&&e.allocUnsafeSlow?Ge.exports=t:(g(t,Q),Q.Buffer=A),A.prototype=Object.create(e.prototype),g(e,A),A.from=function(o,C,u){if("number"==typeof o)throw new TypeError("Argument must not be a number");return e(o,C,u)},A.alloc=function(o,C,u){if("number"!=typeof o)throw new TypeError("Argument must be a number");var O=e(o);return void 0!==C?"string"==typeof u?O.fill(C,u):O.fill(C):O.fill(0),O},A.allocUnsafe=function(o){if("number"!=typeof o)throw new TypeError("Argument must be a number");return e(o)},A.allocUnsafeSlow=function(o){if("number"!=typeof o)throw new TypeError("Argument must be a number");return t.SlowBuffer(o)}},2038:(Ge,Q,m)=>{"use strict";var A,t=m(3172),e=t.Buffer,g={};for(A in t)!t.hasOwnProperty(A)||"SlowBuffer"===A||"Buffer"===A||(g[A]=t[A]);var o=g.Buffer={};for(A in e)!e.hasOwnProperty(A)||"allocUnsafe"===A||"allocUnsafeSlow"===A||(o[A]=e[A]);if(g.Buffer.prototype=e.prototype,(!o.from||o.from===Uint8Array.from)&&(o.from=function(C,u,O){if("number"==typeof C)throw new TypeError('The "value" argument must not be of type number. Received type '+typeof C);if(C&&typeof C.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof C);return e(C,u,O)}),o.alloc||(o.alloc=function(C,u,O){if("number"!=typeof C)throw new TypeError('The "size" argument must be of type number. Received type '+typeof C);if(C<0||C>=2*(1<<30))throw new RangeError('The value "'+C+'" is invalid for option "size"');var d=e(C);return u&&0!==u.length?"string"==typeof O?d.fill(u,O):d.fill(u):d.fill(0),d}),!g.kStringMaxLength)try{g.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}g.constants||(g.constants={MAX_LENGTH:g.kMaxLength},g.kStringMaxLength&&(g.constants.MAX_STRING_LENGTH=g.kStringMaxLength)),Ge.exports=g},6692:(Ge,Q,m)=>{var t=m(3502).Buffer;function e(g,A){this._block=t.alloc(g),this._finalSize=A,this._blockSize=g,this._len=0}e.prototype.update=function(g,A){"string"==typeof g&&(g=t.from(g,A=A||"utf8"));for(var o=this._block,C=this._blockSize,u=g.length,O=this._len,d=0;d<u;){for(var M=O%C,w=Math.min(u-d,C-M),L=0;L<w;L++)o[M+L]=g[d+L];d+=w,(O+=w)%C==0&&this._update(o)}return this._len+=u,this},e.prototype.digest=function(g){var A=this._len%this._blockSize;this._block[A]=128,this._block.fill(0,A+1),A>=this._finalSize&&(this._update(this._block),this._block.fill(0));var o=8*this._len;if(o<=4294967295)this._block.writeUInt32BE(o,this._blockSize-4);else{var C=(4294967295&o)>>>0;this._block.writeUInt32BE((o-C)/4294967296,this._blockSize-8),this._block.writeUInt32BE(C,this._blockSize-4)}this._update(this._block);var O=this._hash();return g?O.toString(g):O},e.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Ge.exports=e},5244:(Ge,Q,m)=>{var t=Ge.exports=function(g){g=g.toLowerCase();var A=t[g];if(!A)throw new Error(g+" is not supported (we accept pull requests)");return new A};t.sha=m(8932),t.sha1=m(7736),t.sha224=m(5044),t.sha256=m(5014),t.sha384=m(6540),t.sha512=m(117)},8932:(Ge,Q,m)=>{var t=m(3894),e=m(6692),g=m(3502).Buffer,A=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function C(){this.init(),this._w=o,e.call(this,64,56)}function u(M){return M<<5|M>>>27}function O(M){return M<<30|M>>>2}function d(M,w,L,I){return 0===M?w&L|~w&I:2===M?w&L|w&I|L&I:w^L^I}t(C,e),C.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},C.prototype._update=function(M){for(var w=this._w,L=0|this._a,I=0|this._b,P=0|this._c,U=0|this._d,Z=0|this._e,Y=0;Y<16;++Y)w[Y]=M.readInt32BE(4*Y);for(;Y<80;++Y)w[Y]=w[Y-3]^w[Y-8]^w[Y-14]^w[Y-16];for(var j=0;j<80;++j){var X=~~(j/20),ee=u(L)+d(X,I,P,U)+Z+w[j]+A[X]|0;Z=U,U=P,P=O(I),I=L,L=ee}this._a=L+this._a|0,this._b=I+this._b|0,this._c=P+this._c|0,this._d=U+this._d|0,this._e=Z+this._e|0},C.prototype._hash=function(){var M=g.allocUnsafe(20);return M.writeInt32BE(0|this._a,0),M.writeInt32BE(0|this._b,4),M.writeInt32BE(0|this._c,8),M.writeInt32BE(0|this._d,12),M.writeInt32BE(0|this._e,16),M},Ge.exports=C},7736:(Ge,Q,m)=>{var t=m(3894),e=m(6692),g=m(3502).Buffer,A=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function C(){this.init(),this._w=o,e.call(this,64,56)}function u(w){return w<<1|w>>>31}function O(w){return w<<5|w>>>27}function d(w){return w<<30|w>>>2}function M(w,L,I,P){return 0===w?L&I|~L&P:2===w?L&I|L&P|I&P:L^I^P}t(C,e),C.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},C.prototype._update=function(w){for(var L=this._w,I=0|this._a,P=0|this._b,U=0|this._c,Z=0|this._d,Y=0|this._e,j=0;j<16;++j)L[j]=w.readInt32BE(4*j);for(;j<80;++j)L[j]=u(L[j-3]^L[j-8]^L[j-14]^L[j-16]);for(var X=0;X<80;++X){var ee=~~(X/20),ue=O(I)+M(ee,P,U,Z)+Y+L[X]+A[ee]|0;Y=Z,Z=U,U=d(P),P=I,I=ue}this._a=I+this._a|0,this._b=P+this._b|0,this._c=U+this._c|0,this._d=Z+this._d|0,this._e=Y+this._e|0},C.prototype._hash=function(){var w=g.allocUnsafe(20);return w.writeInt32BE(0|this._a,0),w.writeInt32BE(0|this._b,4),w.writeInt32BE(0|this._c,8),w.writeInt32BE(0|this._d,12),w.writeInt32BE(0|this._e,16),w},Ge.exports=C},5044:(Ge,Q,m)=>{var t=m(3894),e=m(5014),g=m(6692),A=m(3502).Buffer,o=new Array(64);function C(){this.init(),this._w=o,g.call(this,64,56)}t(C,e),C.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},C.prototype._hash=function(){var u=A.allocUnsafe(28);return u.writeInt32BE(this._a,0),u.writeInt32BE(this._b,4),u.writeInt32BE(this._c,8),u.writeInt32BE(this._d,12),u.writeInt32BE(this._e,16),u.writeInt32BE(this._f,20),u.writeInt32BE(this._g,24),u},Ge.exports=C},5014:(Ge,Q,m)=>{var t=m(3894),e=m(6692),g=m(3502).Buffer,A=[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],o=new Array(64);function C(){this.init(),this._w=o,e.call(this,64,56)}function u(I,P,U){return U^I&(P^U)}function O(I,P,U){return I&P|U&(I|P)}function d(I){return(I>>>2|I<<30)^(I>>>13|I<<19)^(I>>>22|I<<10)}function M(I){return(I>>>6|I<<26)^(I>>>11|I<<21)^(I>>>25|I<<7)}function w(I){return(I>>>7|I<<25)^(I>>>18|I<<14)^I>>>3}function L(I){return(I>>>17|I<<15)^(I>>>19|I<<13)^I>>>10}t(C,e),C.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},C.prototype._update=function(I){for(var P=this._w,U=0|this._a,Z=0|this._b,Y=0|this._c,j=0|this._d,X=0|this._e,ee=0|this._f,ue=0|this._g,le=0|this._h,ie=0;ie<16;++ie)P[ie]=I.readInt32BE(4*ie);for(;ie<64;++ie)P[ie]=L(P[ie-2])+P[ie-7]+w(P[ie-15])+P[ie-16]|0;for(var ce=0;ce<64;++ce){var se=le+M(X)+u(X,ee,ue)+A[ce]+P[ce]|0,he=d(U)+O(U,Z,Y)|0;le=ue,ue=ee,ee=X,X=j+se|0,j=Y,Y=Z,Z=U,U=se+he|0}this._a=U+this._a|0,this._b=Z+this._b|0,this._c=Y+this._c|0,this._d=j+this._d|0,this._e=X+this._e|0,this._f=ee+this._f|0,this._g=ue+this._g|0,this._h=le+this._h|0},C.prototype._hash=function(){var I=g.allocUnsafe(32);return I.writeInt32BE(this._a,0),I.writeInt32BE(this._b,4),I.writeInt32BE(this._c,8),I.writeInt32BE(this._d,12),I.writeInt32BE(this._e,16),I.writeInt32BE(this._f,20),I.writeInt32BE(this._g,24),I.writeInt32BE(this._h,28),I},Ge.exports=C},6540:(Ge,Q,m)=>{var t=m(3894),e=m(117),g=m(6692),A=m(3502).Buffer,o=new Array(160);function C(){this.init(),this._w=o,g.call(this,128,112)}t(C,e),C.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},C.prototype._hash=function(){var u=A.allocUnsafe(48);function O(d,M,w){u.writeInt32BE(d,w),u.writeInt32BE(M,w+4)}return O(this._ah,this._al,0),O(this._bh,this._bl,8),O(this._ch,this._cl,16),O(this._dh,this._dl,24),O(this._eh,this._el,32),O(this._fh,this._fl,40),u},Ge.exports=C},117:(Ge,Q,m)=>{var t=m(3894),e=m(6692),g=m(3502).Buffer,A=[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],o=new Array(160);function C(){this.init(),this._w=o,e.call(this,128,112)}function u(Z,Y,j){return j^Z&(Y^j)}function O(Z,Y,j){return Z&Y|j&(Z|Y)}function d(Z,Y){return(Z>>>28|Y<<4)^(Y>>>2|Z<<30)^(Y>>>7|Z<<25)}function M(Z,Y){return(Z>>>14|Y<<18)^(Z>>>18|Y<<14)^(Y>>>9|Z<<23)}function w(Z,Y){return(Z>>>1|Y<<31)^(Z>>>8|Y<<24)^Z>>>7}function L(Z,Y){return(Z>>>1|Y<<31)^(Z>>>8|Y<<24)^(Z>>>7|Y<<25)}function I(Z,Y){return(Z>>>19|Y<<13)^(Y>>>29|Z<<3)^Z>>>6}function P(Z,Y){return(Z>>>19|Y<<13)^(Y>>>29|Z<<3)^(Z>>>6|Y<<26)}function U(Z,Y){return Z>>>0<Y>>>0?1:0}t(C,e),C.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},C.prototype._update=function(Z){for(var Y=this._w,j=0|this._ah,X=0|this._bh,ee=0|this._ch,ue=0|this._dh,le=0|this._eh,ie=0|this._fh,ce=0|this._gh,se=0|this._hh,he=0|this._al,E=0|this._bl,i=0|this._cl,r=0|this._dl,h=0|this._el,c=0|this._fl,y=0|this._gl,S=0|this._hl,k=0;k<32;k+=2)Y[k]=Z.readInt32BE(4*k),Y[k+1]=Z.readInt32BE(4*k+4);for(;k<160;k+=2){var v=Y[k-30],n=Y[k-30+1],b=w(v,n),B=L(n,v),z=I(v=Y[k-4],n=Y[k-4+1]),W=P(n,v),Ne=Y[k-32],ot=Y[k-32+1],Ie=B+Y[k-14+1]|0,ve=b+Y[k-14]+U(Ie,B)|0;ve=(ve=ve+z+U(Ie=Ie+W|0,W)|0)+Ne+U(Ie=Ie+ot|0,ot)|0,Y[k]=ve,Y[k+1]=Ie}for(var fe=0;fe<160;fe+=2){ve=Y[fe],Ie=Y[fe+1];var Se=O(j,X,ee),te=O(he,E,i),Ke=d(j,he),Ae=d(he,j),oe=M(le,h),ye=M(h,le),me=A[fe],Me=A[fe+1],Ze=u(le,ie,ce),q=u(h,c,y),de=S+ye|0,xe=se+oe+U(de,S)|0;xe=(xe=(xe=xe+Ze+U(de=de+q|0,q)|0)+me+U(de=de+Me|0,Me)|0)+ve+U(de=de+Ie|0,Ie)|0;var ke=Ae+te|0,ft=Ke+Se+U(ke,Ae)|0;se=ce,S=y,ce=ie,y=c,ie=le,c=h,le=ue+xe+U(h=r+de|0,r)|0,ue=ee,r=i,ee=X,i=E,X=j,E=he,j=xe+ft+U(he=de+ke|0,de)|0}this._al=this._al+he|0,this._bl=this._bl+E|0,this._cl=this._cl+i|0,this._dl=this._dl+r|0,this._el=this._el+h|0,this._fl=this._fl+c|0,this._gl=this._gl+y|0,this._hl=this._hl+S|0,this._ah=this._ah+j+U(this._al,he)|0,this._bh=this._bh+X+U(this._bl,E)|0,this._ch=this._ch+ee+U(this._cl,i)|0,this._dh=this._dh+ue+U(this._dl,r)|0,this._eh=this._eh+le+U(this._el,h)|0,this._fh=this._fh+ie+U(this._fl,c)|0,this._gh=this._gh+ce+U(this._gl,y)|0,this._hh=this._hh+se+U(this._hl,S)|0},C.prototype._hash=function(){var Z=g.allocUnsafe(64);function Y(j,X,ee){Z.writeInt32BE(j,ee),Z.writeInt32BE(X,ee+4)}return Y(this._ah,this._al,0),Y(this._bh,this._bl,8),Y(this._ch,this._cl,16),Y(this._dh,this._dl,24),Y(this._eh,this._el,32),Y(this._fh,this._fl,40),Y(this._gh,this._gl,48),Y(this._hh,this._hl,56),Z},Ge.exports=C},8012:function(Ge,Q,m){!function(t){"use strict";var e={};Ge.exports?(e.bytesToHex=m(6128).bytesToHex,e.convertString=m(5612),Ge.exports=O):(e.bytesToHex=t.convertHex.bytesToHex,e.convertString=t.convertString,t.sha256=O);var g=[];!function(){function d(I){for(var P=Math.sqrt(I),U=2;U<=P;U++)if(!(I%U))return!1;return!0}for(var w=2,L=0;L<64;)d(w)&&(g[L]=4294967296*((I=Math.pow(w,1/3))-(0|I))|0,L++),w++;var I}();var C=[],u=function(d,M,w){for(var L=d[0],I=d[1],P=d[2],U=d[3],Z=d[4],Y=d[5],j=d[6],X=d[7],ee=0;ee<64;ee++){if(ee<16)C[ee]=0|M[w+ee];else{var ue=C[ee-15],ie=C[ee-2];C[ee]=((ue<<25|ue>>>7)^(ue<<14|ue>>>18)^ue>>>3)+C[ee-7]+((ie<<15|ie>>>17)^(ie<<13|ie>>>19)^ie>>>10)+C[ee-16]}var he=L&I^L&P^I&P,r=X+((Z<<26|Z>>>6)^(Z<<21|Z>>>11)^(Z<<7|Z>>>25))+(Z&Y^~Z&j)+g[ee]+C[ee];X=j,j=Y,Y=Z,Z=U+r|0,U=P,P=I,I=L,L=r+(((L<<30|L>>>2)^(L<<19|L>>>13)^(L<<10|L>>>22))+he)|0}d[0]=d[0]+L|0,d[1]=d[1]+I|0,d[2]=d[2]+P|0,d[3]=d[3]+U|0,d[4]=d[4]+Z|0,d[5]=d[5]+Y|0,d[6]=d[6]+j|0,d[7]=d[7]+X|0};function O(d,M){d.constructor===String&&(d=e.convertString.UTF8.stringToBytes(d));var w=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],L=function(d){for(var M=[],w=0,L=0;w<d.length;w++,L+=8)M[L>>>5]|=d[w]<<24-L%32;return M}(d),I=8*d.length;L[I>>5]|=128<<24-I%32,L[15+(I+64>>9<<4)]=I;for(var P=0;P<L.length;P+=16)u(w,L,P);var U=function(d){for(var M=[],w=0;w<32*d.length;w+=8)M.push(d[w>>>5]>>>24-w%32&255);return M}(w);return M&&M.asBytes?U:M&&M.asString?e.convertString.bytesToString(U):e.bytesToHex(U)}O.x2=function(d,M){return O(O(d,{asBytes:!0}),M)}}(this)},295:(Ge,Q,m)=>{Ge.exports=g;var t=m(9069).EventEmitter;function g(){t.call(this)}m(3894)(g,t),g.Readable=m(3154),g.Writable=m(520),g.Duplex=m(1339),g.Transform=m(6025),g.PassThrough=m(6071),g.finished=m(7542),g.pipeline=m(954),g.Stream=g,g.prototype.pipe=function(A,o){var C=this;function u(P){A.writable&&!1===A.write(P)&&C.pause&&C.pause()}function O(){C.readable&&C.resume&&C.resume()}C.on("data",u),A.on("drain",O),!A._isStdio&&(!o||!1!==o.end)&&(C.on("end",M),C.on("close",w));var d=!1;function M(){d||(d=!0,A.end())}function w(){d||(d=!0,"function"==typeof A.destroy&&A.destroy())}function L(P){if(I(),0===t.listenerCount(this,"error"))throw P}function I(){C.removeListener("data",u),A.removeListener("drain",O),C.removeListener("end",M),C.removeListener("close",w),C.removeListener("error",L),A.removeListener("error",L),C.removeListener("end",I),C.removeListener("close",I),A.removeListener("close",I)}return C.on("error",L),A.on("error",L),C.on("end",I),C.on("close",I),A.on("close",I),A.emit("pipe",C),A}},3054:(Ge,Q,m)=>{"use strict";var t=m(3502).Buffer,e=t.isEncoding||function(j){switch((j=""+j)&&j.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 o(j){var X;switch(this.encoding=function A(j){var X=function g(j){if(!j)return"utf8";for(var X;;)switch(j){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 j;default:if(X)return;j=(""+j).toLowerCase(),X=!0}}(j);if("string"!=typeof X&&(t.isEncoding===e||!e(j)))throw new Error("Unknown encoding: "+j);return X||j}(j),this.encoding){case"utf16le":this.text=L,this.end=I,X=4;break;case"utf8":this.fillLast=d,X=4;break;case"base64":this.text=P,this.end=U,X=3;break;default:return this.write=Z,void(this.end=Y)}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(X)}function C(j){return j<=127?0:j>>5==6?2:j>>4==14?3:j>>3==30?4:j>>6==2?-1:-2}function d(j){var X=this.lastTotal-this.lastNeed,ee=function O(j,X,ee){if(128!=(192&X[0]))return j.lastNeed=0,"\ufffd";if(j.lastNeed>1&&X.length>1){if(128!=(192&X[1]))return j.lastNeed=1,"\ufffd";if(j.lastNeed>2&&X.length>2&&128!=(192&X[2]))return j.lastNeed=2,"\ufffd"}}(this,j);return void 0!==ee?ee:this.lastNeed<=j.length?(j.copy(this.lastChar,X,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(j.copy(this.lastChar,X,0,j.length),void(this.lastNeed-=j.length))}function L(j,X){if((j.length-X)%2==0){var ee=j.toString("utf16le",X);if(ee){var ue=ee.charCodeAt(ee.length-1);if(ue>=55296&&ue<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=j[j.length-2],this.lastChar[1]=j[j.length-1],ee.slice(0,-1)}return ee}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=j[j.length-1],j.toString("utf16le",X,j.length-1)}function I(j){var X=j&&j.length?this.write(j):"";return this.lastNeed?X+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):X}function P(j,X){var ee=(j.length-X)%3;return 0===ee?j.toString("base64",X):(this.lastNeed=3-ee,this.lastTotal=3,1===ee?this.lastChar[0]=j[j.length-1]:(this.lastChar[0]=j[j.length-2],this.lastChar[1]=j[j.length-1]),j.toString("base64",X,j.length-ee))}function U(j){var X=j&&j.length?this.write(j):"";return this.lastNeed?X+this.lastChar.toString("base64",0,3-this.lastNeed):X}function Z(j){return j.toString(this.encoding)}function Y(j){return j&&j.length?this.write(j):""}Q.s=o,o.prototype.write=function(j){if(0===j.length)return"";var X,ee;if(this.lastNeed){if(void 0===(X=this.fillLast(j)))return"";ee=this.lastNeed,this.lastNeed=0}else ee=0;return ee<j.length?X?X+this.text(j,ee):this.text(j,ee):X||""},o.prototype.end=function w(j){var X=j&&j.length?this.write(j):"";return this.lastNeed?X+"\ufffd":X},o.prototype.text=function M(j,X){var ee=function u(j,X,ee){var ue=X.length-1;if(ue<ee)return 0;var le=C(X[ue]);return le>=0?(le>0&&(j.lastNeed=le-1),le):--ue<ee||-2===le?0:(le=C(X[ue]))>=0?(le>0&&(j.lastNeed=le-2),le):--ue<ee||-2===le?0:(le=C(X[ue]))>=0?(le>0&&(2===le?le=0:j.lastNeed=le-3),le):0}(this,j,X);if(!this.lastNeed)return j.toString("utf8",X);this.lastTotal=ee;var ue=j.length-(ee-this.lastNeed);return j.copy(this.lastChar,0,ue),j.toString("utf8",X,ue)},o.prototype.fillLast=function(j){if(this.lastNeed<=j.length)return j.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);j.copy(this.lastChar,this.lastTotal-this.lastNeed,0,j.length),this.lastNeed-=j.length}},2167:(Ge,Q,m)=>{var t=m(4606);Q.encode=t.encode,Q.decode=t.decode},4606:(Ge,Q)=>{"use strict";var t=[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];Q.encode=function(g){Buffer.isBuffer(g)||(g=new Buffer(g));for(var A=0,o=0,C=0,u=0,O=new Buffer(8*function e(g){var A=Math.floor(g.length/5);return g.length%5==0?A:A+1}(g));A<g.length;){var d=g[A];C>3?(u=(u=d&255>>C)<<(C=(C+5)%8)|(A+1<g.length?g[A+1]:0)>>8-C,A++):(u=d>>8-(C+5)&31,0==(C=(C+5)%8)&&A++),O[o]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(u),o++}for(A=o;A<O.length;A++)O[A]=61;return O},Q.decode=function(g){var C,A=0,o=0,u=0;Buffer.isBuffer(g)||(g=new Buffer(g));for(var O=new Buffer(Math.ceil(5*g.length/8)),d=0;d<g.length&&61!==g[d];d++){var M=g[d]-48;if(!(M<t.length))throw new Error("Invalid input - it is not base32 encoded string");o=t[M],A<=3?0==(A=(A+5)%8)?(O[u]=C|=o,u++,C=0):C|=255&o<<8-A:(O[u]=C|=255&o>>>(A=(A+5)%8),u++,C=255&o<<8-A)}return O.slice(0,u)}},4364:Ge=>{function m(t){try{if(!global.localStorage)return!1}catch{return!1}var e=global.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}Ge.exports=function Q(t,e){if(m("noDeprecation"))return t;var g=!1;return function A(){if(!g){if(m("throwDeprecation"))throw new Error(e);m("traceDeprecation")?console.trace(e):console.warn(e),g=!0}return t.apply(this,arguments)}}},655:(Ge,Q,m)=>{"use strict";function o(i,r,h,c){var k,y=arguments.length,S=y<3?r:null===c?c=Object.getOwnPropertyDescriptor(r,h):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)S=Reflect.decorate(i,r,h,c);else for(var v=i.length-1;v>=0;v--)(k=i[v])&&(S=(y<3?k(S):y>3?k(r,h,S):k(r,h))||S);return y>3&&S&&Object.defineProperty(r,h,S),S}function O(i,r,h,c){return new(h||(h=Promise))(function(S,k){function v(B){try{b(c.next(B))}catch(z){k(z)}}function n(B){try{b(c.throw(B))}catch(z){k(z)}}function b(B){B.done?S(B.value):function y(S){return S instanceof h?S:new h(function(k){k(S)})}(B.value).then(v,n)}b((c=c.apply(i,r||[])).next())})}function Y(i){return this instanceof Y?(this.v=i,this):new Y(i)}function j(i,r,h){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var y,c=h.apply(i,r||[]),S=[];return y={},k("next"),k("throw"),k("return"),y[Symbol.asyncIterator]=function(){return this},y;function k(W){c[W]&&(y[W]=function(Oe){return new Promise(function(it,Ne){S.push([W,Oe,it,Ne])>1||v(W,Oe)})})}function v(W,Oe){try{!function n(W){W.value instanceof Y?Promise.resolve(W.value.v).then(b,B):z(S[0][2],W)}(c[W](Oe))}catch(it){z(S[0][3],it)}}function b(W){v("next",W)}function B(W){v("throw",W)}function z(W,Oe){W(Oe),S.shift(),S.length&&v(S[0][0],S[0][1])}}function ee(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var h,r=i[Symbol.asyncIterator];return r?r.call(i):(i=function L(i){var r="function"==typeof Symbol&&Symbol.iterator,h=r&&i[r],c=0;if(h)return h.call(i);if(i&&"number"==typeof i.length)return{next:function(){return i&&c>=i.length&&(i=void 0),{value:i&&i[c++],done:!i}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),h={},c("next"),c("throw"),c("return"),h[Symbol.asyncIterator]=function(){return this},h);function c(S){h[S]=i[S]&&function(k){return new Promise(function(v,n){!function y(S,k,v,n){Promise.resolve(n).then(function(b){S({value:b,done:v})},k)}(v,n,(k=i[S](k)).done,k.value)})}}}m.d(Q,{FC:()=>j,KL:()=>ee,gn:()=>o,mG:()=>O,qq:()=>Y})},950:()=>{},6601:()=>{},8623:()=>{},7748:()=>{},5568:()=>{},6619:()=>{},7108:()=>{},2361:()=>{},4616:()=>{},7340:(Ge,Q,m)=>{"use strict";m.d(Q,{F4:()=>M,IO:()=>U,LC:()=>e,SB:()=>d,X$:()=>A,ZE:()=>X,ZN:()=>j,_j:()=>t,eR:()=>w,jt:()=>o,k1:()=>ee,l3:()=>g,oB:()=>O,pV:()=>I,ru:()=>C,vP:()=>u});class t{}class e{}const g="*";function A(ue,le){return{type:7,name:ue,definitions:le,options:{}}}function o(ue,le=null){return{type:4,styles:le,timings:ue}}function C(ue,le=null){return{type:3,steps:ue,options:le}}function u(ue,le=null){return{type:2,steps:ue,options:le}}function O(ue){return{type:6,styles:ue,offset:null}}function d(ue,le,ie){return{type:0,name:ue,styles:le,options:ie}}function M(ue){return{type:5,steps:ue}}function w(ue,le,ie=null){return{type:1,expr:ue,animation:le,options:ie}}function I(ue=null){return{type:9,options:ue}}function U(ue,le,ie=null){return{type:11,selector:ue,animation:le,options:ie}}function Y(ue){Promise.resolve().then(ue)}class j{constructor(le=0,ie=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=le+ie}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(le=>le()),this._onDoneFns=[])}onStart(le){this._originalOnStartFns.push(le),this._onStartFns.push(le)}onDone(le){this._originalOnDoneFns.push(le),this._onDoneFns.push(le)}onDestroy(le){this._onDestroyFns.push(le)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Y(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(le=>le()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(le=>le()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(le){this._position=this.totalTime?le*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(le){const ie="start"==le?this._onStartFns:this._onDoneFns;ie.forEach(ce=>ce()),ie.length=0}}class X{constructor(le){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=le;let ie=0,ce=0,se=0;const he=this.players.length;0==he?Y(()=>this._onFinish()):this.players.forEach(E=>{E.onDone(()=>{++ie==he&&this._onFinish()}),E.onDestroy(()=>{++ce==he&&this._onDestroy()}),E.onStart(()=>{++se==he&&this._onStart()})}),this.totalTime=this.players.reduce((E,i)=>Math.max(E,i.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(le=>le()),this._onDoneFns=[])}init(){this.players.forEach(le=>le.init())}onStart(le){this._onStartFns.push(le)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(le=>le()),this._onStartFns=[])}onDone(le){this._onDoneFns.push(le)}onDestroy(le){this._onDestroyFns.push(le)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(le=>le.play())}pause(){this.players.forEach(le=>le.pause())}restart(){this.players.forEach(le=>le.restart())}finish(){this._onFinish(),this.players.forEach(le=>le.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(le=>le.destroy()),this._onDestroyFns.forEach(le=>le()),this._onDestroyFns=[])}reset(){this.players.forEach(le=>le.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(le){const ie=le*this.totalTime;this.players.forEach(ce=>{const se=ce.totalTime?Math.min(1,ie/ce.totalTime):1;ce.setPosition(se)})}getPosition(){const le=this.players.reduce((ie,ce)=>null===ie||ce.totalTime>ie.totalTime?ce:ie,null);return null!=le?le.getPosition():0}beforeDestroy(){this.players.forEach(le=>{le.beforeDestroy&&le.beforeDestroy()})}triggerCallback(le){const ie="start"==le?this._onStartFns:this._onDoneFns;ie.forEach(ce=>ce()),ie.length=0}}const ee="!"},4761:(Ge,Q,m)=>{"use strict";m.d(Q,{$s:()=>i,Em:()=>S,Kd:()=>ne,X6:()=>Ze,ic:()=>v,kH:()=>Re,mK:()=>Ke,qV:()=>te,qm:()=>zt,rt:()=>xt,s1:()=>y,tE:()=>wt,yG:()=>q});var t=m(6895),e=m(4650),g=m(3353),A=m(7579),o=m(727),C=m(1135),u=m(9646),O=m(9521),d=m(8505),M=m(8372),w=m(9300),L=m(4004),I=m(5698),P=m(5684),U=m(1884),Z=m(2722),Y=m(1281),j=m(9643),X=m(2289);function ie(we,J){return(we.getAttribute(J)||"").match(/\S+/g)||[]}const se="cdk-describedby-message",he="cdk-describedby-host";let E=0,i=(()=>{class we{constructor(be,Fe){this._platform=Fe,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+E++,this._document=be,this._id=(0,e.f3M)(e.AFp)+"-"+E++}describe(be,Fe,at){if(!this._canBeDescribed(be,Fe))return;const ii=r(Fe,at);"string"!=typeof Fe?(h(Fe,this._id),this._messageRegistry.set(ii,{messageElement:Fe,referenceCount:0})):this._messageRegistry.has(ii)||this._createMessageElement(Fe,at),this._isElementDescribedByMessage(be,ii)||this._addMessageReference(be,ii)}removeDescription(be,Fe,at){if(!Fe||!this._isElementNode(be))return;const ii=r(Fe,at);if(this._isElementDescribedByMessage(be,ii)&&this._removeMessageReference(be,ii),"string"==typeof Fe){const Gt=this._messageRegistry.get(ii);Gt&&0===Gt.referenceCount&&this._deleteMessageElement(ii)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const be=this._document.querySelectorAll(`[${he}="${this._id}"]`);for(let Fe=0;Fe<be.length;Fe++)this._removeCdkDescribedByReferenceIds(be[Fe]),be[Fe].removeAttribute(he);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(be,Fe){const at=this._document.createElement("div");h(at,this._id),at.textContent=be,Fe&&at.setAttribute("role",Fe),this._createMessagesContainer(),this._messagesContainer.appendChild(at),this._messageRegistry.set(r(be,Fe),{messageElement:at,referenceCount:0})}_deleteMessageElement(be){this._messageRegistry.get(be)?.messageElement?.remove(),this._messageRegistry.delete(be)}_createMessagesContainer(){if(this._messagesContainer)return;const be="cdk-describedby-message-container",Fe=this._document.querySelectorAll(`.${be}[platform="server"]`);for(let ii=0;ii<Fe.length;ii++)Fe[ii].remove();const at=this._document.createElement("div");at.style.visibility="hidden",at.classList.add(be),at.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&at.setAttribute("platform","server"),this._document.body.appendChild(at),this._messagesContainer=at}_removeCdkDescribedByReferenceIds(be){const Fe=ie(be,"aria-describedby").filter(at=>0!=at.indexOf(se));be.setAttribute("aria-describedby",Fe.join(" "))}_addMessageReference(be,Fe){const at=this._messageRegistry.get(Fe);(function ue(we,J,be){const Fe=ie(we,J);Fe.some(at=>at.trim()==be.trim())||(Fe.push(be.trim()),we.setAttribute(J,Fe.join(" ")))})(be,"aria-describedby",at.messageElement.id),be.setAttribute(he,this._id),at.referenceCount++}_removeMessageReference(be,Fe){const at=this._messageRegistry.get(Fe);at.referenceCount--,function le(we,J,be){const at=ie(we,J).filter(ii=>ii!=be.trim());at.length?we.setAttribute(J,at.join(" ")):we.removeAttribute(J)}(be,"aria-describedby",at.messageElement.id),be.removeAttribute(he)}_isElementDescribedByMessage(be,Fe){const at=ie(be,"aria-describedby"),ii=this._messageRegistry.get(Fe),Gt=ii&&ii.messageElement.id;return!!Gt&&-1!=at.indexOf(Gt)}_canBeDescribed(be,Fe){if(!this._isElementNode(be))return!1;if(Fe&&"object"==typeof Fe)return!0;const at=null==Fe?"":`${Fe}`.trim(),ii=be.getAttribute("aria-label");return!(!at||ii&&ii.trim()===at)}_isElementNode(be){return be.nodeType===this._document.ELEMENT_NODE}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(t.K0),e.LFG(g.t4))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})();function r(we,J){return"string"==typeof we?`${J||""}/${we}`:we}function h(we,J){we.id||(we.id=`${se}-${J}-${E++}`)}class c{constructor(J){this._items=J,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new A.x,this._typeaheadSubscription=o.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=be=>be.disabled,this._pressedLetters=[],this.tabOut=new A.x,this.change=new A.x,J instanceof e.n_E&&(this._itemChangesSubscription=J.changes.subscribe(be=>{if(this._activeItem){const at=be.toArray().indexOf(this._activeItem);at>-1&&at!==this._activeItemIndex&&(this._activeItemIndex=at)}}))}skipPredicate(J){return this._skipPredicateFn=J,this}withWrap(J=!0){return this._wrap=J,this}withVerticalOrientation(J=!0){return this._vertical=J,this}withHorizontalOrientation(J){return this._horizontal=J,this}withAllowedModifierKeys(J){return this._allowedModifierKeys=J,this}withTypeAhead(J=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,d.b)(be=>this._pressedLetters.push(be)),(0,M.b)(J),(0,w.h)(()=>this._pressedLetters.length>0),(0,L.U)(()=>this._pressedLetters.join(""))).subscribe(be=>{const Fe=this._getItemsArray();for(let at=1;at<Fe.length+1;at++){const ii=(this._activeItemIndex+at)%Fe.length,Gt=Fe[ii];if(!this._skipPredicateFn(Gt)&&0===Gt.getLabel().toUpperCase().trim().indexOf(be)){this.setActiveItem(ii);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(J=!0){return this._homeAndEnd=J,this}withPageUpDown(J=!0,be=10){return this._pageUpAndDown={enabled:J,delta:be},this}setActiveItem(J){const be=this._activeItem;this.updateActiveItem(J),this._activeItem!==be&&this.change.next(this._activeItemIndex)}onKeydown(J){const be=J.keyCode,at=["altKey","ctrlKey","metaKey","shiftKey"].every(ii=>!J[ii]||this._allowedModifierKeys.indexOf(ii)>-1);switch(be){case O.Mf:return void this.tabOut.next();case O.JH:if(this._vertical&&at){this.setNextItemActive();break}return;case O.LH:if(this._vertical&&at){this.setPreviousItemActive();break}return;case O.SV:if(this._horizontal&&at){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case O.oh:if(this._horizontal&&at){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case O.Sd:if(this._homeAndEnd&&at){this.setFirstItemActive();break}return;case O.uR:if(this._homeAndEnd&&at){this.setLastItemActive();break}return;case O.Ku:if(this._pageUpAndDown.enabled&&at){const ii=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(ii>0?ii:0,1);break}return;case O.VM:if(this._pageUpAndDown.enabled&&at){const ii=this._activeItemIndex+this._pageUpAndDown.delta,Gt=this._getItemsArray().length;this._setActiveItemByIndex(ii<Gt?ii:Gt-1,-1);break}return;default:return void((at||(0,O.Vb)(J,"shiftKey"))&&(J.key&&1===J.key.length?this._letterKeyStream.next(J.key.toLocaleUpperCase()):(be>=O.A&&be<=O.Z||be>=O.xE&&be<=O.aO)&&this._letterKeyStream.next(String.fromCharCode(be))))}this._pressedLetters=[],J.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(J){const be=this._getItemsArray(),Fe="number"==typeof J?J:be.indexOf(J);this._activeItem=be[Fe]??null,this._activeItemIndex=Fe}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(J){this._wrap?this._setActiveInWrapMode(J):this._setActiveInDefaultMode(J)}_setActiveInWrapMode(J){const be=this._getItemsArray();for(let Fe=1;Fe<=be.length;Fe++){const at=(this._activeItemIndex+J*Fe+be.length)%be.length;if(!this._skipPredicateFn(be[at]))return void this.setActiveItem(at)}}_setActiveInDefaultMode(J){this._setActiveItemByIndex(this._activeItemIndex+J,J)}_setActiveItemByIndex(J,be){const Fe=this._getItemsArray();if(Fe[J]){for(;this._skipPredicateFn(Fe[J]);)if(!Fe[J+=be])return;this.setActiveItem(J)}}_getItemsArray(){return this._items instanceof e.n_E?this._items.toArray():this._items}}class y extends c{setActiveItem(J){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(J),this.activeItem&&this.activeItem.setActiveStyles()}}class S extends c{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(J){return this._origin=J,this}setActiveItem(J){super.setActiveItem(J),this.activeItem&&this.activeItem.focus(this._origin)}}let v=(()=>{class we{constructor(be){this._platform=be}isDisabled(be){return be.hasAttribute("disabled")}isVisible(be){return function b(we){return!!(we.offsetWidth||we.offsetHeight||"function"==typeof we.getClientRects&&we.getClientRects().length)}(be)&&"visible"===getComputedStyle(be).visibility}isTabbable(be){if(!this._platform.isBrowser)return!1;const Fe=function n(we){try{return we.frameElement}catch{return null}}(function fe(we){return we.ownerDocument&&we.ownerDocument.defaultView||window}(be));if(Fe&&(-1===ot(Fe)||!this.isVisible(Fe)))return!1;let at=be.nodeName.toLowerCase(),ii=ot(be);return be.hasAttribute("contenteditable")?-1!==ii:!("iframe"===at||"object"===at||this._platform.WEBKIT&&this._platform.IOS&&!function Ie(we){let J=we.nodeName.toLowerCase(),be="input"===J&&we.type;return"text"===be||"password"===be||"select"===J||"textarea"===J}(be))&&("audio"===at?!!be.hasAttribute("controls")&&-1!==ii:"video"===at?-1!==ii&&(null!==ii||this._platform.FIREFOX||be.hasAttribute("controls")):be.tabIndex>=0)}isFocusable(be,Fe){return function ve(we){return!function z(we){return function Oe(we){return"input"==we.nodeName.toLowerCase()}(we)&&"hidden"==we.type}(we)&&(function B(we){let J=we.nodeName.toLowerCase();return"input"===J||"select"===J||"button"===J||"textarea"===J}(we)||function W(we){return function it(we){return"a"==we.nodeName.toLowerCase()}(we)&&we.hasAttribute("href")}(we)||we.hasAttribute("contenteditable")||Ne(we))}(be)&&!this.isDisabled(be)&&(Fe?.ignoreVisibility||this.isVisible(be))}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(g.t4))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})();function Ne(we){if(!we.hasAttribute("tabindex")||void 0===we.tabIndex)return!1;let J=we.getAttribute("tabindex");return!(!J||isNaN(parseInt(J,10)))}function ot(we){if(!Ne(we))return null;const J=parseInt(we.getAttribute("tabindex")||"",10);return isNaN(J)?-1:J}class Se{constructor(J,be,Fe,at,ii=!1){this._element=J,this._checker=be,this._ngZone=Fe,this._document=at,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ii||this.attachAnchors()}get enabled(){return this._enabled}set enabled(J){this._enabled=J,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(J,this._startAnchor),this._toggleAnchorTabIndex(J,this._endAnchor))}destroy(){const J=this._startAnchor,be=this._endAnchor;J&&(J.removeEventListener("focus",this.startAnchorListener),J.remove()),be&&(be.removeEventListener("focus",this.endAnchorListener),be.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(J){return new Promise(be=>{this._executeOnStable(()=>be(this.focusInitialElement(J)))})}focusFirstTabbableElementWhenReady(J){return new Promise(be=>{this._executeOnStable(()=>be(this.focusFirstTabbableElement(J)))})}focusLastTabbableElementWhenReady(J){return new Promise(be=>{this._executeOnStable(()=>be(this.focusLastTabbableElement(J)))})}_getRegionBoundary(J){const be=this._element.querySelectorAll(`[cdk-focus-region-${J}], [cdkFocusRegion${J}], [cdk-focus-${J}]`);return"start"==J?be.length?be[0]:this._getFirstTabbableElement(this._element):be.length?be[be.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(J){const be=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(be){if(!this._checker.isFocusable(be)){const Fe=this._getFirstTabbableElement(be);return Fe?.focus(J),!!Fe}return be.focus(J),!0}return this.focusFirstTabbableElement(J)}focusFirstTabbableElement(J){const be=this._getRegionBoundary("start");return be&&be.focus(J),!!be}focusLastTabbableElement(J){const be=this._getRegionBoundary("end");return be&&be.focus(J),!!be}hasAttached(){return this._hasAttached}_getFirstTabbableElement(J){if(this._checker.isFocusable(J)&&this._checker.isTabbable(J))return J;const be=J.children;for(let Fe=0;Fe<be.length;Fe++){const at=be[Fe].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(be[Fe]):null;if(at)return at}return null}_getLastTabbableElement(J){if(this._checker.isFocusable(J)&&this._checker.isTabbable(J))return J;const be=J.children;for(let Fe=be.length-1;Fe>=0;Fe--){const at=be[Fe].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(be[Fe]):null;if(at)return at}return null}_createAnchor(){const J=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,J),J.classList.add("cdk-visually-hidden"),J.classList.add("cdk-focus-trap-anchor"),J.setAttribute("aria-hidden","true"),J}_toggleAnchorTabIndex(J,be){J?be.setAttribute("tabindex","0"):be.removeAttribute("tabindex")}toggleAnchors(J){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(J,this._startAnchor),this._toggleAnchorTabIndex(J,this._endAnchor))}_executeOnStable(J){this._ngZone.isStable?J():this._ngZone.onStable.pipe((0,I.q)(1)).subscribe(J)}}let te=(()=>{class we{constructor(be,Fe,at){this._checker=be,this._ngZone=Fe,this._document=at}create(be,Fe=!1){return new Se(be,this._checker,this._ngZone,this._document,Fe)}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(v),e.LFG(e.R0b),e.LFG(t.K0))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})(),Ke=(()=>{class we{constructor(be,Fe,at){this._elementRef=be,this._focusTrapFactory=Fe,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}get enabled(){return this.focusTrap.enabled}set enabled(be){this.focusTrap.enabled=(0,Y.Ig)(be)}get autoCapture(){return this._autoCapture}set autoCapture(be){this._autoCapture=(0,Y.Ig)(be)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(be){const Fe=be.autoCapture;Fe&&!Fe.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,g.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return we.\u0275fac=function(be){return new(be||we)(e.Y36(e.SBq),e.Y36(te),e.Y36(t.K0))},we.\u0275dir=e.lG2({type:we,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[e.TTD]}),we})();function Ze(we){return 0===we.buttons||0===we.offsetX&&0===we.offsetY}function q(we){const J=we.touches&&we.touches[0]||we.changedTouches&&we.changedTouches[0];return!(!J||-1!==J.identifier||null!=J.radiusX&&1!==J.radiusX||null!=J.radiusY&&1!==J.radiusY)}const de=new e.OlP("cdk-input-modality-detector-options"),xe={ignoreKeys:[O.zL,O.jx,O.b2,O.MW,O.JU]},ft=(0,g.i$)({passive:!0,capture:!0});let _t=(()=>{class we{constructor(be,Fe,at,ii){this._platform=be,this._mostRecentTarget=null,this._modality=new C.X(null),this._lastTouchMs=0,this._onKeydown=Gt=>{this._options?.ignoreKeys?.some(ei=>ei===Gt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(Gt))},this._onMousedown=Gt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ze(Gt)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(Gt))},this._onTouchstart=Gt=>{q(Gt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(Gt))},this._options={...xe,...ii},this.modalityDetected=this._modality.pipe((0,P.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,U.x)()),be.isBrowser&&Fe.runOutsideAngular(()=>{at.addEventListener("keydown",this._onKeydown,ft),at.addEventListener("mousedown",this._onMousedown,ft),at.addEventListener("touchstart",this._onTouchstart,ft)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ft),document.removeEventListener("mousedown",this._onMousedown,ft),document.removeEventListener("touchstart",this._onTouchstart,ft))}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(g.t4),e.LFG(e.R0b),e.LFG(t.K0),e.LFG(de,8))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})();const ct=new e.OlP("liveAnnouncerElement",{providedIn:"root",factory:function nt(){return null}}),Jt=new e.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let vt=0,ne=(()=>{class we{constructor(be,Fe,at,ii){this._ngZone=Fe,this._defaultOptions=ii,this._document=at,this._liveElement=be||this._createLiveElement()}announce(be,...Fe){const at=this._defaultOptions;let ii,Gt;return 1===Fe.length&&"number"==typeof Fe[0]?Gt=Fe[0]:[ii,Gt]=Fe,this.clear(),clearTimeout(this._previousTimeout),ii||(ii=at&&at.politeness?at.politeness:"polite"),null==Gt&&at&&(Gt=at.duration),this._liveElement.setAttribute("aria-live",ii),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ei=>this._currentResolve=ei)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=be,"number"==typeof Gt&&(this._previousTimeout=setTimeout(()=>this.clear(),Gt)),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 be="cdk-live-announcer-element",Fe=this._document.getElementsByClassName(be),at=this._document.createElement("div");for(let ii=0;ii<Fe.length;ii++)Fe[ii].remove();return at.classList.add(be),at.classList.add("cdk-visually-hidden"),at.setAttribute("aria-atomic","true"),at.setAttribute("aria-live","polite"),at.id="cdk-live-announcer-"+vt++,this._document.body.appendChild(at),at}_exposeAnnouncerToModals(be){const Fe=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let at=0;at<Fe.length;at++){const ii=Fe[at],Gt=ii.getAttribute("aria-owns");Gt?-1===Gt.indexOf(be)&&ii.setAttribute("aria-owns",Gt+" "+be):ii.setAttribute("aria-owns",be)}}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(ct,8),e.LFG(e.R0b),e.LFG(t.K0),e.LFG(Jt,8))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})();const De=new e.OlP("cdk-focus-monitor-default-options"),ze=(0,g.i$)({passive:!0,capture:!0});let wt=(()=>{class we{constructor(be,Fe,at,ii,Gt){this._ngZone=be,this._platform=Fe,this._inputModalityDetector=at,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 A.x,this._rootNodeFocusAndBlurListener=ei=>{for(let rt=(0,g.sA)(ei);rt;rt=rt.parentElement)"focus"===ei.type?this._onFocus(ei,rt):this._onBlur(ei,rt)},this._document=ii,this._detectionMode=Gt?.detectionMode||0}monitor(be,Fe=!1){const at=(0,Y.fI)(be);if(!this._platform.isBrowser||1!==at.nodeType)return(0,u.of)(null);const ii=(0,g.kV)(at)||this._getDocument(),Gt=this._elementInfo.get(at);if(Gt)return Fe&&(Gt.checkChildren=!0),Gt.subject;const ei={checkChildren:Fe,subject:new A.x,rootNode:ii};return this._elementInfo.set(at,ei),this._registerGlobalListeners(ei),ei.subject}stopMonitoring(be){const Fe=(0,Y.fI)(be),at=this._elementInfo.get(Fe);at&&(at.subject.complete(),this._setClasses(Fe),this._elementInfo.delete(Fe),this._removeGlobalListeners(at))}focusVia(be,Fe,at){const ii=(0,Y.fI)(be);ii===this._getDocument().activeElement?this._getClosestElementsInfo(ii).forEach(([ei,ht])=>this._originChanged(ei,Fe,ht)):(this._setOrigin(Fe),"function"==typeof ii.focus&&ii.focus(at))}ngOnDestroy(){this._elementInfo.forEach((be,Fe)=>this.stopMonitoring(Fe))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(be){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(be)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:be&&this._isLastInteractionFromInputLabel(be)?"mouse":"program"}_shouldBeAttributedToTouch(be){return 1===this._detectionMode||!!be?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(be,Fe){be.classList.toggle("cdk-focused",!!Fe),be.classList.toggle("cdk-touch-focused","touch"===Fe),be.classList.toggle("cdk-keyboard-focused","keyboard"===Fe),be.classList.toggle("cdk-mouse-focused","mouse"===Fe),be.classList.toggle("cdk-program-focused","program"===Fe)}_setOrigin(be,Fe=!1){this._ngZone.runOutsideAngular(()=>{this._origin=be,this._originFromTouchInteraction="touch"===be&&Fe,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(be,Fe){const at=this._elementInfo.get(Fe),ii=(0,g.sA)(be);!at||!at.checkChildren&&Fe!==ii||this._originChanged(Fe,this._getFocusOrigin(ii),at)}_onBlur(be,Fe){const at=this._elementInfo.get(Fe);!at||at.checkChildren&&be.relatedTarget instanceof Node&&Fe.contains(be.relatedTarget)||(this._setClasses(Fe),this._emitOrigin(at,null))}_emitOrigin(be,Fe){be.subject.observers.length&&this._ngZone.run(()=>be.subject.next(Fe))}_registerGlobalListeners(be){if(!this._platform.isBrowser)return;const Fe=be.rootNode,at=this._rootNodeFocusListenerCount.get(Fe)||0;at||this._ngZone.runOutsideAngular(()=>{Fe.addEventListener("focus",this._rootNodeFocusAndBlurListener,ze),Fe.addEventListener("blur",this._rootNodeFocusAndBlurListener,ze)}),this._rootNodeFocusListenerCount.set(Fe,at+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Z.R)(this._stopInputModalityDetector)).subscribe(ii=>{this._setOrigin(ii,!0)}))}_removeGlobalListeners(be){const Fe=be.rootNode;if(this._rootNodeFocusListenerCount.has(Fe)){const at=this._rootNodeFocusListenerCount.get(Fe);at>1?this._rootNodeFocusListenerCount.set(Fe,at-1):(Fe.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ze),Fe.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ze),this._rootNodeFocusListenerCount.delete(Fe))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(be,Fe,at){this._setClasses(be,Fe),this._emitOrigin(at,Fe),this._lastFocusOrigin=Fe}_getClosestElementsInfo(be){const Fe=[];return this._elementInfo.forEach((at,ii)=>{(ii===be||at.checkChildren&&ii.contains(be))&&Fe.push([ii,at])}),Fe}_isLastInteractionFromInputLabel(be){const{_mostRecentTarget:Fe,mostRecentModality:at}=this._inputModalityDetector;if("mouse"!==at||!Fe||Fe===be||"INPUT"!==be.nodeName&&"TEXTAREA"!==be.nodeName||be.disabled)return!1;const ii=be.labels;if(ii)for(let Gt=0;Gt<ii.length;Gt++)if(ii[Gt].contains(Fe))return!0;return!1}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(e.R0b),e.LFG(g.t4),e.LFG(_t),e.LFG(t.K0,8),e.LFG(De,8))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})(),Re=(()=>{class we{constructor(be,Fe){this._elementRef=be,this._focusMonitor=Fe,this._focusOrigin=null,this.cdkFocusChange=new e.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const be=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(be,1===be.nodeType&&be.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Fe=>{this._focusOrigin=Fe,this.cdkFocusChange.emit(Fe)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return we.\u0275fac=function(be){return new(be||we)(e.Y36(e.SBq),e.Y36(wt))},we.\u0275dir=e.lG2({type:we,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),we})();const tt="cdk-high-contrast-black-on-white",Bt="cdk-high-contrast-white-on-black",It="cdk-high-contrast-active";let zt=(()=>{class we{constructor(be,Fe){this._platform=be,this._document=Fe,this._breakpointSubscription=(0,e.f3M)(X.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const be=this._document.createElement("div");be.style.backgroundColor="rgb(1,2,3)",be.style.position="absolute",this._document.body.appendChild(be);const Fe=this._document.defaultView||window,at=Fe&&Fe.getComputedStyle?Fe.getComputedStyle(be):null,ii=(at&&at.backgroundColor||"").replace(/ /g,"");switch(be.remove(),ii){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const be=this._document.body.classList;be.remove(It,tt,Bt),this._hasCheckedHighContrastMode=!0;const Fe=this.getHighContrastMode();1===Fe?be.add(It,tt):2===Fe&&be.add(It,Bt)}}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(g.t4),e.LFG(t.K0))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})(),xt=(()=>{class we{constructor(be){be._applyBodyHighContrastModeCssClasses()}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(zt))},we.\u0275mod=e.oAB({type:we}),we.\u0275inj=e.cJS({imports:[j.Q8]}),we})()},445:(Ge,Q,m)=>{"use strict";m.d(Q,{Is:()=>u,vT:()=>d});var t=m(4650),e=m(6895);const g=new t.OlP("cdk-dir-doc",{providedIn:"root",factory:function A(){return(0,t.f3M)(e.K0)}}),o=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let u=(()=>{class M{constructor(L){if(this.value="ltr",this.change=new t.vpe,L){const P=L.documentElement?L.documentElement.dir:null;this.value=function C(M){const w=M?.toLowerCase()||"";return"auto"===w&&typeof navigator<"u"&&navigator?.language?o.test(navigator.language)?"rtl":"ltr":"rtl"===w?"rtl":"ltr"}((L.body?L.body.dir:null)||P||"ltr")}}ngOnDestroy(){this.change.complete()}}return M.\u0275fac=function(L){return new(L||M)(t.LFG(g,8))},M.\u0275prov=t.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),d=(()=>{class M{}return M.\u0275fac=function(L){return new(L||M)},M.\u0275mod=t.oAB({type:M}),M.\u0275inj=t.cJS({}),M})()},1281:(Ge,Q,m)=>{"use strict";m.d(Q,{Eq:()=>o,HM:()=>C,Ig:()=>e,du:()=>O,fI:()=>u,su:()=>g,t6:()=>A});var t=m(4650);function e(d){return null!=d&&"false"!=`${d}`}function g(d,M=0){return A(d)?Number(d):M}function A(d){return!isNaN(parseFloat(d))&&!isNaN(Number(d))}function o(d){return Array.isArray(d)?d:[d]}function C(d){return null==d?"":"string"==typeof d?d:`${d}px`}function u(d){return d instanceof t.SBq?d.nativeElement:d}function O(d,M=/\s+/){const w=[];if(null!=d){const L=Array.isArray(d)?d:`${d}`.split(M);for(const I of L){const P=`${I}`.trim();P&&w.push(P)}}return w}},5017:(Ge,Q,m)=>{"use strict";m.d(Q,{A8:()=>w,Ov:()=>d,Z9:()=>o,eX:()=>O,k:()=>L,o2:()=>A,yy:()=>u});var t=m(4033),e=m(7579),g=m(4650);class A{}function o(I){return I&&"function"==typeof I.connect&&!(I instanceof t.c)}class u{applyChanges(P,U,Z,Y,j){P.forEachOperation((X,ee,ue)=>{let le,ie;if(null==X.previousIndex){const ce=Z(X,ee,ue);le=U.createEmbeddedView(ce.templateRef,ce.context,ce.index),ie=1}else null==ue?(U.remove(ee),ie=3):(le=U.get(ee),U.move(le,ue),ie=2);j&&j({context:le?.context,operation:ie,record:X})})}detach(){}}class O{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(P,U,Z,Y,j){P.forEachOperation((X,ee,ue)=>{let le,ie;null==X.previousIndex?(le=this._insertView(()=>Z(X,ee,ue),ue,U,Y(X)),ie=le?1:0):null==ue?(this._detachAndCacheView(ee,U),ie=3):(le=this._moveView(ee,ue,U,Y(X)),ie=2),j&&j({context:le?.context,operation:ie,record:X})})}detach(){for(const P of this._viewCache)P.destroy();this._viewCache=[]}_insertView(P,U,Z,Y){const j=this._insertViewFromCache(U,Z);if(j)return void(j.context.$implicit=Y);const X=P();return Z.createEmbeddedView(X.templateRef,X.context,X.index)}_detachAndCacheView(P,U){const Z=U.detach(P);this._maybeCacheView(Z,U)}_moveView(P,U,Z,Y){const j=Z.get(P);return Z.move(j,U),j.context.$implicit=Y,j}_maybeCacheView(P,U){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(P);else{const Z=U.indexOf(P);-1===Z?P.destroy():U.remove(Z)}}_insertViewFromCache(P,U){const Z=this._viewCache.pop();return Z&&U.insert(Z,P),Z||null}}class d{constructor(P=!1,U,Z=!0,Y){this._multiple=P,this._emitChanges=Z,this.compareWith=Y,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new e.x,U&&U.length&&(P?U.forEach(j=>this._markSelected(j)):this._markSelected(U[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...P){this._verifyValueAssignment(P),P.forEach(Z=>this._markSelected(Z));const U=this._hasQueuedChanges();return this._emitChangeEvent(),U}deselect(...P){this._verifyValueAssignment(P),P.forEach(Z=>this._unmarkSelected(Z));const U=this._hasQueuedChanges();return this._emitChangeEvent(),U}setSelection(...P){this._verifyValueAssignment(P);const U=this.selected,Z=new Set(P);P.forEach(j=>this._markSelected(j)),U.filter(j=>!Z.has(j)).forEach(j=>this._unmarkSelected(j));const Y=this._hasQueuedChanges();return this._emitChangeEvent(),Y}toggle(P){return this.isSelected(P)?this.deselect(P):this.select(P)}clear(P=!0){this._unmarkAll();const U=this._hasQueuedChanges();return P&&this._emitChangeEvent(),U}isSelected(P){if(this.compareWith){for(const U of this._selection)if(this.compareWith(U,P))return!0;return!1}return this._selection.has(P)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(P){this._multiple&&this.selected&&this._selected.sort(P)}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(P){this.isSelected(P)||(this._multiple||this._unmarkAll(),this.isSelected(P)||this._selection.add(P),this._emitChanges&&this._selectedToEmit.push(P))}_unmarkSelected(P){this.isSelected(P)&&(this._selection.delete(P),this._emitChanges&&this._deselectedToEmit.push(P))}_unmarkAll(){this.isEmpty()||this._selection.forEach(P=>this._unmarkSelected(P))}_verifyValueAssignment(P){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}}let w=(()=>{class I{constructor(){this._listeners=[]}notify(U,Z){for(let Y of this._listeners)Y(U,Z)}listen(U){return this._listeners.push(U),()=>{this._listeners=this._listeners.filter(Z=>U!==Z)}}ngOnDestroy(){this._listeners=[]}}return I.\u0275fac=function(U){return new(U||I)},I.\u0275prov=g.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),I})();const L=new g.OlP("_ViewRepeater")},9521:(Ge,Q,m)=>{"use strict";m.d(Q,{A:()=>z,JH:()=>ee,JU:()=>C,K5:()=>o,Ku:()=>I,LH:()=>j,L_:()=>L,MW:()=>Jt,Mf:()=>g,SV:()=>X,Sd:()=>Z,VM:()=>P,Vb:()=>tn,Z:()=>nt,ZH:()=>e,aO:()=>k,b2:()=>li,hY:()=>w,jx:()=>u,oh:()=>Y,uR:()=>U,xE:()=>se,yY:()=>ce,zL:()=>O});const e=8,g=9,o=13,C=16,u=17,O=18,w=27,L=32,I=33,P=34,U=35,Z=36,Y=37,j=38,X=39,ee=40,ce=46,se=48,k=57,z=65,nt=90,Jt=91,li=224;function tn(dn,...Pn){return Pn.length?Pn.some(lr=>dn[lr]):dn.altKey||dn.shiftKey||dn.ctrlKey||dn.metaKey}},2289:(Ge,Q,m)=>{"use strict";m.d(Q,{Yg:()=>ee,u3:()=>le,xu:()=>P});var t=m(4650),e=m(1281),g=m(7579),A=m(9841),o=m(7272),C=m(9751),u=m(5698),O=m(5684),d=m(8372),M=m(4004),w=m(8675),L=m(2722),I=m(3353);let P=(()=>{class ie{}return ie.\u0275fac=function(se){return new(se||ie)},ie.\u0275mod=t.oAB({type:ie}),ie.\u0275inj=t.cJS({}),ie})();const U=new Set;let Z,Y=(()=>{class ie{constructor(se){this._platform=se,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):X}matchMedia(se){return(this._platform.WEBKIT||this._platform.BLINK)&&function j(ie){if(!U.has(ie))try{Z||(Z=document.createElement("style"),Z.setAttribute("type","text/css"),document.head.appendChild(Z)),Z.sheet&&(Z.sheet.insertRule(`@media ${ie} {body{ }}`,0),U.add(ie))}catch(ce){console.error(ce)}}(se),this._matchMedia(se)}}return ie.\u0275fac=function(se){return new(se||ie)(t.LFG(I.t4))},ie.\u0275prov=t.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();function X(ie){return{matches:"all"===ie||""===ie,media:ie,addListener:()=>{},removeListener:()=>{}}}let ee=(()=>{class ie{constructor(se,he){this._mediaMatcher=se,this._zone=he,this._queries=new Map,this._destroySubject=new g.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(se){return ue((0,e.Eq)(se)).some(E=>this._registerQuery(E).mql.matches)}observe(se){const E=ue((0,e.Eq)(se)).map(r=>this._registerQuery(r).observable);let i=(0,A.a)(E);return i=(0,o.z)(i.pipe((0,u.q)(1)),i.pipe((0,O.T)(1),(0,d.b)(0))),i.pipe((0,M.U)(r=>{const h={matches:!1,breakpoints:{}};return r.forEach(({matches:c,query:y})=>{h.matches=h.matches||c,h.breakpoints[y]=c}),h}))}_registerQuery(se){if(this._queries.has(se))return this._queries.get(se);const he=this._mediaMatcher.matchMedia(se),i={observable:new C.y(r=>{const h=c=>this._zone.run(()=>r.next(c));return he.addListener(h),()=>{he.removeListener(h)}}).pipe((0,w.O)(he),(0,M.U)(({matches:r})=>({query:se,matches:r})),(0,L.R)(this._destroySubject)),mql:he};return this._queries.set(se,i),i}}return ie.\u0275fac=function(se){return new(se||ie)(t.LFG(Y),t.LFG(t.R0b))},ie.\u0275prov=t.Yz7({token:ie,factory:ie.\u0275fac,providedIn:"root"}),ie})();function ue(ie){return ie.map(ce=>ce.split(",")).reduce((ce,se)=>ce.concat(se)).map(ce=>ce.trim())}const le={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)"}},9643:(Ge,Q,m)=>{"use strict";m.d(Q,{Q8:()=>d,wD:()=>O});var t=m(1281),e=m(4650),g=m(9751),A=m(7579),o=m(8372);let C=(()=>{class M{create(L){return typeof MutationObserver>"u"?null:new MutationObserver(L)}}return M.\u0275fac=function(L){return new(L||M)},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),u=(()=>{class M{constructor(L){this._mutationObserverFactory=L,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((L,I)=>this._cleanupObserver(I))}observe(L){const I=(0,t.fI)(L);return new g.y(P=>{const Z=this._observeElement(I).subscribe(P);return()=>{Z.unsubscribe(),this._unobserveElement(I)}})}_observeElement(L){if(this._observedElements.has(L))this._observedElements.get(L).count++;else{const I=new A.x,P=this._mutationObserverFactory.create(U=>I.next(U));P&&P.observe(L,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(L,{observer:P,stream:I,count:1})}return this._observedElements.get(L).stream}_unobserveElement(L){this._observedElements.has(L)&&(this._observedElements.get(L).count--,this._observedElements.get(L).count||this._cleanupObserver(L))}_cleanupObserver(L){if(this._observedElements.has(L)){const{observer:I,stream:P}=this._observedElements.get(L);I&&I.disconnect(),P.complete(),this._observedElements.delete(L)}}}return M.\u0275fac=function(L){return new(L||M)(e.LFG(C))},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),O=(()=>{class M{constructor(L,I,P){this._contentObserver=L,this._elementRef=I,this._ngZone=P,this.event=new e.vpe,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(L){this._disabled=(0,t.Ig)(L),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(L){this._debounce=(0,t.su)(L),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const L=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?L.pipe((0,o.b)(this.debounce)):L).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return M.\u0275fac=function(L){return new(L||M)(e.Y36(u),e.Y36(e.SBq),e.Y36(e.R0b))},M.\u0275dir=e.lG2({type:M,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),M})(),d=(()=>{class M{}return M.\u0275fac=function(L){return new(L||M)},M.\u0275mod=e.oAB({type:M}),M.\u0275inj=e.cJS({providers:[C]}),M})()},8184:(Ge,Q,m)=>{"use strict";m.d(Q,{Iu:()=>k,U8:()=>me,X_:()=>ce,Xj:()=>S,_G:()=>b,aV:()=>fe,pI:()=>Ae,xu:()=>Ke});var t=m(531),e=m(6895),g=m(4650),A=m(1281),o=m(3353),C=m(445),u=m(4080),O=m(7579),d=m(727),M=m(6451),w=m(5698),L=m(2722),I=m(2529),P=m(9521);const U=(0,o.Mq)();class Z{constructor(q,de){this._viewportRuler=q,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=de}attach(){}enable(){if(this._canBeEnabled()){const q=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=q.style.left||"",this._previousHTMLStyles.top=q.style.top||"",q.style.left=(0,A.HM)(-this._previousScrollPosition.left),q.style.top=(0,A.HM)(-this._previousScrollPosition.top),q.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const q=this._document.documentElement,xe=q.style,ke=this._document.body.style,ft=xe.scrollBehavior||"",_t=ke.scrollBehavior||"";this._isEnabled=!1,xe.left=this._previousHTMLStyles.left,xe.top=this._previousHTMLStyles.top,q.classList.remove("cdk-global-scrollblock"),U&&(xe.scrollBehavior=ke.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),U&&(xe.scrollBehavior=ft,ke.scrollBehavior=_t)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const de=this._document.body,xe=this._viewportRuler.getViewportSize();return de.scrollHeight>xe.height||de.scrollWidth>xe.width}}class j{constructor(q,de,xe,ke){this._scrollDispatcher=q,this._ngZone=de,this._viewportRuler=xe,this._config=ke,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(q){this._overlayRef=q}enable(){if(this._scrollSubscription)return;const q=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=q.subscribe(()=>{const de=this._viewportRuler.getViewportScrollPosition().top;Math.abs(de-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=q.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class X{enable(){}disable(){}attach(){}}function ee(Ze,q){return q.some(de=>Ze.bottom<de.top||Ze.top>de.bottom||Ze.right<de.left||Ze.left>de.right)}function ue(Ze,q){return q.some(de=>Ze.top<de.top||Ze.bottom>de.bottom||Ze.left<de.left||Ze.right>de.right)}class le{constructor(q,de,xe,ke){this._scrollDispatcher=q,this._viewportRuler=de,this._ngZone=xe,this._config=ke,this._scrollSubscription=null}attach(q){this._overlayRef=q}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 de=this._overlayRef.overlayElement.getBoundingClientRect(),{width:xe,height:ke}=this._viewportRuler.getViewportSize();ee(de,[{width:xe,height:ke,bottom:ke,right:xe,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 ie=(()=>{class Ze{constructor(de,xe,ke,ft){this._scrollDispatcher=de,this._viewportRuler=xe,this._ngZone=ke,this.noop=()=>new X,this.close=_t=>new j(this._scrollDispatcher,this._ngZone,this._viewportRuler,_t),this.block=()=>new Z(this._viewportRuler,this._document),this.reposition=_t=>new le(this._scrollDispatcher,this._viewportRuler,this._ngZone,_t),this._document=ft}}return Ze.\u0275fac=function(de){return new(de||Ze)(g.LFG(t.mF),g.LFG(t.rL),g.LFG(g.R0b),g.LFG(e.K0))},Ze.\u0275prov=g.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})();class ce{constructor(q){if(this.scrollStrategy=new X,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,q){const de=Object.keys(q);for(const xe of de)void 0!==q[xe]&&(this[xe]=q[xe])}}}class E{constructor(q,de){this.connectionPair=q,this.scrollableViewProperties=de}}let h=(()=>{class Ze{constructor(de){this._attachedOverlays=[],this._document=de}ngOnDestroy(){this.detach()}add(de){this.remove(de),this._attachedOverlays.push(de)}remove(de){const xe=this._attachedOverlays.indexOf(de);xe>-1&&this._attachedOverlays.splice(xe,1),0===this._attachedOverlays.length&&this.detach()}}return Ze.\u0275fac=function(de){return new(de||Ze)(g.LFG(e.K0))},Ze.\u0275prov=g.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})(),c=(()=>{class Ze extends h{constructor(de,xe){super(de),this._ngZone=xe,this._keydownListener=ke=>{const ft=this._attachedOverlays;for(let _t=ft.length-1;_t>-1;_t--)if(ft[_t]._keydownEvents.observers.length>0){const ct=ft[_t]._keydownEvents;this._ngZone?this._ngZone.run(()=>ct.next(ke)):ct.next(ke);break}}}add(de){super.add(de),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return Ze.\u0275fac=function(de){return new(de||Ze)(g.LFG(e.K0),g.LFG(g.R0b,8))},Ze.\u0275prov=g.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})(),y=(()=>{class Ze extends h{constructor(de,xe,ke){super(de),this._platform=xe,this._ngZone=ke,this._cursorStyleIsSet=!1,this._pointerDownListener=ft=>{this._pointerDownEventTarget=(0,o.sA)(ft)},this._clickListener=ft=>{const _t=(0,o.sA)(ft),ct="click"===ft.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:_t;this._pointerDownEventTarget=null;const nt=this._attachedOverlays.slice();for(let Jt=nt.length-1;Jt>-1;Jt--){const vt=nt[Jt];if(vt._outsidePointerEvents.observers.length<1||!vt.hasAttached())continue;if(vt.overlayElement.contains(_t)||vt.overlayElement.contains(ct))break;const ne=vt._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>ne.next(ft)):ne.next(ft)}}}add(de){if(super.add(de),!this._isAttached){const xe=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(xe)):this._addEventListeners(xe),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=xe.style.cursor,xe.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const de=this._document.body;de.removeEventListener("pointerdown",this._pointerDownListener,!0),de.removeEventListener("click",this._clickListener,!0),de.removeEventListener("auxclick",this._clickListener,!0),de.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(de.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(de){de.addEventListener("pointerdown",this._pointerDownListener,!0),de.addEventListener("click",this._clickListener,!0),de.addEventListener("auxclick",this._clickListener,!0),de.addEventListener("contextmenu",this._clickListener,!0)}}return Ze.\u0275fac=function(de){return new(de||Ze)(g.LFG(e.K0),g.LFG(o.t4),g.LFG(g.R0b,8))},Ze.\u0275prov=g.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})(),S=(()=>{class Ze{constructor(de,xe){this._platform=xe,this._document=de}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const de="cdk-overlay-container";if(this._platform.isBrowser||(0,o.Oy)()){const ke=this._document.querySelectorAll(`.${de}[platform="server"], .${de}[platform="test"]`);for(let ft=0;ft<ke.length;ft++)ke[ft].remove()}const xe=this._document.createElement("div");xe.classList.add(de),(0,o.Oy)()?xe.setAttribute("platform","test"):this._platform.isBrowser||xe.setAttribute("platform","server"),this._document.body.appendChild(xe),this._containerElement=xe}}return Ze.\u0275fac=function(de){return new(de||Ze)(g.LFG(e.K0),g.LFG(o.t4))},Ze.\u0275prov=g.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})();class k{constructor(q,de,xe,ke,ft,_t,ct,nt,Jt,vt=!1){this._portalOutlet=q,this._host=de,this._pane=xe,this._config=ke,this._ngZone=ft,this._keyboardDispatcher=_t,this._document=ct,this._location=nt,this._outsideClickDispatcher=Jt,this._animationsDisabled=vt,this._backdropElement=null,this._backdropClick=new O.x,this._attachments=new O.x,this._detachments=new O.x,this._locationChanges=d.w0.EMPTY,this._backdropClickHandler=ne=>this._backdropClick.next(ne),this._backdropTransitionendHandler=ne=>{this._disposeBackdrop(ne.target)},this._keydownEvents=new O.x,this._outsidePointerEvents=new O.x,ke.scrollStrategy&&(this._scrollStrategy=ke.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=ke.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(q){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const de=this._portalOutlet.attach(q);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,w.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof de?.onDestroy&&de.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),de}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const q=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),q}dispose(){const q=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,q&&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(q){q!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=q,this.hasAttached()&&(q.attach(this),this.updatePosition()))}updateSize(q){this._config={...this._config,...q},this._updateElementSize()}setDirection(q){this._config={...this._config,direction:q},this._updateElementDirection()}addPanelClass(q){this._pane&&this._toggleClasses(this._pane,q,!0)}removePanelClass(q){this._pane&&this._toggleClasses(this._pane,q,!1)}getDirection(){const q=this._config.direction;return q?"string"==typeof q?q:q.value:"ltr"}updateScrollStrategy(q){q!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=q,this.hasAttached()&&(q.attach(this),q.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const q=this._pane.style;q.width=(0,A.HM)(this._config.width),q.height=(0,A.HM)(this._config.height),q.minWidth=(0,A.HM)(this._config.minWidth),q.minHeight=(0,A.HM)(this._config.minHeight),q.maxWidth=(0,A.HM)(this._config.maxWidth),q.maxHeight=(0,A.HM)(this._config.maxHeight)}_togglePointerEvents(q){this._pane.style.pointerEvents=q?"":"none"}_attachBackdrop(){const q="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(q)})}):this._backdropElement.classList.add(q)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const q=this._backdropElement;if(q){if(this._animationsDisabled)return void this._disposeBackdrop(q);q.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{q.addEventListener("transitionend",this._backdropTransitionendHandler)}),q.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(q)},500))}}_toggleClasses(q,de,xe){const ke=(0,A.Eq)(de||[]).filter(ft=>!!ft);ke.length&&(xe?q.classList.add(...ke):q.classList.remove(...ke))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const q=this._ngZone.onStable.pipe((0,L.R)((0,M.T)(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),q.unsubscribe())})})}_disposeScrollStrategy(){const q=this._scrollStrategy;q&&(q.disable(),q.detach&&q.detach())}_disposeBackdrop(q){q&&(q.removeEventListener("click",this._backdropClickHandler),q.removeEventListener("transitionend",this._backdropTransitionendHandler),q.remove(),this._backdropElement===q&&(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 b{constructor(q,de,xe,ke,ft){this._viewportRuler=de,this._document=xe,this._platform=ke,this._overlayContainer=ft,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 O.x,this._resizeSubscription=d.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(q)}get positions(){return this._preferredPositions}attach(q){this._validatePositions(),q.hostElement.classList.add(v),this._overlayRef=q,this._boundingBox=q.hostElement,this._pane=q.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 q=this._originRect,de=this._overlayRect,xe=this._viewportRect,ke=this._containerRect,ft=[];let _t;for(let ct of this._preferredPositions){let nt=this._getOriginPoint(q,ke,ct),Jt=this._getOverlayPoint(nt,de,ct),vt=this._getOverlayFit(Jt,de,xe,ct);if(vt.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(ct,nt);this._canFitWithFlexibleDimensions(vt,Jt,xe)?ft.push({position:ct,origin:nt,overlayRect:de,boundingBoxRect:this._calculateBoundingBoxRect(nt,ct)}):(!_t||_t.overlayFit.visibleArea<vt.visibleArea)&&(_t={overlayFit:vt,overlayPoint:Jt,originPoint:nt,position:ct,overlayRect:de})}if(ft.length){let ct=null,nt=-1;for(const Jt of ft){const vt=Jt.boundingBoxRect.width*Jt.boundingBoxRect.height*(Jt.position.weight||1);vt>nt&&(nt=vt,ct=Jt)}return this._isPushed=!1,void this._applyPosition(ct.position,ct.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(_t.position,_t.originPoint);this._applyPosition(_t.position,_t.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&B(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(v),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const q=this._lastPosition;if(q){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const de=this._getOriginPoint(this._originRect,this._containerRect,q);this._applyPosition(q,de)}else this.apply()}withScrollableContainers(q){return this._scrollables=q,this}withPositions(q){return this._preferredPositions=q,-1===q.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(q){return this._viewportMargin=q,this}withFlexibleDimensions(q=!0){return this._hasFlexibleDimensions=q,this}withGrowAfterOpen(q=!0){return this._growAfterOpen=q,this}withPush(q=!0){return this._canPush=q,this}withLockedPosition(q=!0){return this._positionLocked=q,this}setOrigin(q){return this._origin=q,this}withDefaultOffsetX(q){return this._offsetX=q,this}withDefaultOffsetY(q){return this._offsetY=q,this}withTransformOriginOn(q){return this._transformOriginSelector=q,this}_getOriginPoint(q,de,xe){let ke,ft;if("center"==xe.originX)ke=q.left+q.width/2;else{const _t=this._isRtl()?q.right:q.left,ct=this._isRtl()?q.left:q.right;ke="start"==xe.originX?_t:ct}return de.left<0&&(ke-=de.left),ft="center"==xe.originY?q.top+q.height/2:"top"==xe.originY?q.top:q.bottom,de.top<0&&(ft-=de.top),{x:ke,y:ft}}_getOverlayPoint(q,de,xe){let ke,ft;return ke="center"==xe.overlayX?-de.width/2:"start"===xe.overlayX?this._isRtl()?-de.width:0:this._isRtl()?0:-de.width,ft="center"==xe.overlayY?-de.height/2:"top"==xe.overlayY?0:-de.height,{x:q.x+ke,y:q.y+ft}}_getOverlayFit(q,de,xe,ke){const ft=W(de);let{x:_t,y:ct}=q,nt=this._getOffset(ke,"x"),Jt=this._getOffset(ke,"y");nt&&(_t+=nt),Jt&&(ct+=Jt);let Ht=0-ct,De=ct+ft.height-xe.height,ze=this._subtractOverflows(ft.width,0-_t,_t+ft.width-xe.width),wt=this._subtractOverflows(ft.height,Ht,De),Re=ze*wt;return{visibleArea:Re,isCompletelyWithinViewport:ft.width*ft.height===Re,fitsInViewportVertically:wt===ft.height,fitsInViewportHorizontally:ze==ft.width}}_canFitWithFlexibleDimensions(q,de,xe){if(this._hasFlexibleDimensions){const ke=xe.bottom-de.y,ft=xe.right-de.x,_t=z(this._overlayRef.getConfig().minHeight),ct=z(this._overlayRef.getConfig().minWidth),Jt=q.fitsInViewportHorizontally||null!=ct&&ct<=ft;return(q.fitsInViewportVertically||null!=_t&&_t<=ke)&&Jt}return!1}_pushOverlayOnScreen(q,de,xe){if(this._previousPushAmount&&this._positionLocked)return{x:q.x+this._previousPushAmount.x,y:q.y+this._previousPushAmount.y};const ke=W(de),ft=this._viewportRect,_t=Math.max(q.x+ke.width-ft.width,0),ct=Math.max(q.y+ke.height-ft.height,0),nt=Math.max(ft.top-xe.top-q.y,0),Jt=Math.max(ft.left-xe.left-q.x,0);let vt=0,ne=0;return vt=ke.width<=ft.width?Jt||-_t:q.x<this._viewportMargin?ft.left-xe.left-q.x:0,ne=ke.height<=ft.height?nt||-ct:q.y<this._viewportMargin?ft.top-xe.top-q.y:0,this._previousPushAmount={x:vt,y:ne},{x:q.x+vt,y:q.y+ne}}_applyPosition(q,de){if(this._setTransformOrigin(q),this._setOverlayElementStyles(de,q),this._setBoundingBoxStyles(de,q),q.panelClass&&this._addPanelClasses(q.panelClass),this._lastPosition=q,this._positionChanges.observers.length){const xe=this._getScrollVisibility(),ke=new E(q,xe);this._positionChanges.next(ke)}this._isInitialRender=!1}_setTransformOrigin(q){if(!this._transformOriginSelector)return;const de=this._boundingBox.querySelectorAll(this._transformOriginSelector);let xe,ke=q.overlayY;xe="center"===q.overlayX?"center":this._isRtl()?"start"===q.overlayX?"right":"left":"start"===q.overlayX?"left":"right";for(let ft=0;ft<de.length;ft++)de[ft].style.transformOrigin=`${xe} ${ke}`}_calculateBoundingBoxRect(q,de){const xe=this._viewportRect,ke=this._isRtl();let ft,_t,ct,vt,ne,Ht;if("top"===de.overlayY)_t=q.y,ft=xe.height-_t+this._viewportMargin;else if("bottom"===de.overlayY)ct=xe.height-q.y+2*this._viewportMargin,ft=xe.height-ct+this._viewportMargin;else{const De=Math.min(xe.bottom-q.y+xe.top,q.y),ze=this._lastBoundingBoxSize.height;ft=2*De,_t=q.y-De,ft>ze&&!this._isInitialRender&&!this._growAfterOpen&&(_t=q.y-ze/2)}if("end"===de.overlayX&&!ke||"start"===de.overlayX&&ke)Ht=xe.width-q.x+this._viewportMargin,vt=q.x-this._viewportMargin;else if("start"===de.overlayX&&!ke||"end"===de.overlayX&&ke)ne=q.x,vt=xe.right-q.x;else{const De=Math.min(xe.right-q.x+xe.left,q.x),ze=this._lastBoundingBoxSize.width;vt=2*De,ne=q.x-De,vt>ze&&!this._isInitialRender&&!this._growAfterOpen&&(ne=q.x-ze/2)}return{top:_t,left:ne,bottom:ct,right:Ht,width:vt,height:ft}}_setBoundingBoxStyles(q,de){const xe=this._calculateBoundingBoxRect(q,de);!this._isInitialRender&&!this._growAfterOpen&&(xe.height=Math.min(xe.height,this._lastBoundingBoxSize.height),xe.width=Math.min(xe.width,this._lastBoundingBoxSize.width));const ke={};if(this._hasExactPosition())ke.top=ke.left="0",ke.bottom=ke.right=ke.maxHeight=ke.maxWidth="",ke.width=ke.height="100%";else{const ft=this._overlayRef.getConfig().maxHeight,_t=this._overlayRef.getConfig().maxWidth;ke.height=(0,A.HM)(xe.height),ke.top=(0,A.HM)(xe.top),ke.bottom=(0,A.HM)(xe.bottom),ke.width=(0,A.HM)(xe.width),ke.left=(0,A.HM)(xe.left),ke.right=(0,A.HM)(xe.right),ke.alignItems="center"===de.overlayX?"center":"end"===de.overlayX?"flex-end":"flex-start",ke.justifyContent="center"===de.overlayY?"center":"bottom"===de.overlayY?"flex-end":"flex-start",ft&&(ke.maxHeight=(0,A.HM)(ft)),_t&&(ke.maxWidth=(0,A.HM)(_t))}this._lastBoundingBoxSize=xe,B(this._boundingBox.style,ke)}_resetBoundingBoxStyles(){B(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){B(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(q,de){const xe={},ke=this._hasExactPosition(),ft=this._hasFlexibleDimensions,_t=this._overlayRef.getConfig();if(ke){const vt=this._viewportRuler.getViewportScrollPosition();B(xe,this._getExactOverlayY(de,q,vt)),B(xe,this._getExactOverlayX(de,q,vt))}else xe.position="static";let ct="",nt=this._getOffset(de,"x"),Jt=this._getOffset(de,"y");nt&&(ct+=`translateX(${nt}px) `),Jt&&(ct+=`translateY(${Jt}px)`),xe.transform=ct.trim(),_t.maxHeight&&(ke?xe.maxHeight=(0,A.HM)(_t.maxHeight):ft&&(xe.maxHeight="")),_t.maxWidth&&(ke?xe.maxWidth=(0,A.HM)(_t.maxWidth):ft&&(xe.maxWidth="")),B(this._pane.style,xe)}_getExactOverlayY(q,de,xe){let ke={top:"",bottom:""},ft=this._getOverlayPoint(de,this._overlayRect,q);return this._isPushed&&(ft=this._pushOverlayOnScreen(ft,this._overlayRect,xe)),"bottom"===q.overlayY?ke.bottom=this._document.documentElement.clientHeight-(ft.y+this._overlayRect.height)+"px":ke.top=(0,A.HM)(ft.y),ke}_getExactOverlayX(q,de,xe){let _t,ke={left:"",right:""},ft=this._getOverlayPoint(de,this._overlayRect,q);return this._isPushed&&(ft=this._pushOverlayOnScreen(ft,this._overlayRect,xe)),_t=this._isRtl()?"end"===q.overlayX?"left":"right":"end"===q.overlayX?"right":"left","right"===_t?ke.right=this._document.documentElement.clientWidth-(ft.x+this._overlayRect.width)+"px":ke.left=(0,A.HM)(ft.x),ke}_getScrollVisibility(){const q=this._getOriginRect(),de=this._pane.getBoundingClientRect(),xe=this._scrollables.map(ke=>ke.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ue(q,xe),isOriginOutsideView:ee(q,xe),isOverlayClipped:ue(de,xe),isOverlayOutsideView:ee(de,xe)}}_subtractOverflows(q,...de){return de.reduce((xe,ke)=>xe-Math.max(ke,0),q)}_getNarrowedViewportRect(){const q=this._document.documentElement.clientWidth,de=this._document.documentElement.clientHeight,xe=this._viewportRuler.getViewportScrollPosition();return{top:xe.top+this._viewportMargin,left:xe.left+this._viewportMargin,right:xe.left+q-this._viewportMargin,bottom:xe.top+de-this._viewportMargin,width:q-2*this._viewportMargin,height:de-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(q,de){return"x"===de?null==q.offsetX?this._offsetX:q.offsetX:null==q.offsetY?this._offsetY:q.offsetY}_validatePositions(){}_addPanelClasses(q){this._pane&&(0,A.Eq)(q).forEach(de=>{""!==de&&-1===this._appliedPanelClasses.indexOf(de)&&(this._appliedPanelClasses.push(de),this._pane.classList.add(de))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(q=>{this._pane.classList.remove(q)}),this._appliedPanelClasses=[])}_getOriginRect(){const q=this._origin;if(q instanceof g.SBq)return q.nativeElement.getBoundingClientRect();if(q instanceof Element)return q.getBoundingClientRect();const de=q.width||0,xe=q.height||0;return{top:q.y,bottom:q.y+xe,left:q.x,right:q.x+de,height:xe,width:de}}}function B(Ze,q){for(let de in q)q.hasOwnProperty(de)&&(Ze[de]=q[de]);return Ze}function z(Ze){if("number"!=typeof Ze&&null!=Ze){const[q,de]=Ze.split(n);return de&&"px"!==de?null:parseFloat(q)}return Ze||null}function W(Ze){return{top:Math.floor(Ze.top),right:Math.floor(Ze.right),bottom:Math.floor(Ze.bottom),left:Math.floor(Ze.left),width:Math.floor(Ze.width),height:Math.floor(Ze.height)}}const Ne="cdk-global-overlay-wrapper";class ot{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(q){const de=q.getConfig();this._overlayRef=q,this._width&&!de.width&&q.updateSize({width:this._width}),this._height&&!de.height&&q.updateSize({height:this._height}),q.hostElement.classList.add(Ne),this._isDisposed=!1}top(q=""){return this._bottomOffset="",this._topOffset=q,this._alignItems="flex-start",this}left(q=""){return this._xOffset=q,this._xPosition="left",this}bottom(q=""){return this._topOffset="",this._bottomOffset=q,this._alignItems="flex-end",this}right(q=""){return this._xOffset=q,this._xPosition="right",this}start(q=""){return this._xOffset=q,this._xPosition="start",this}end(q=""){return this._xOffset=q,this._xPosition="end",this}width(q=""){return this._overlayRef?this._overlayRef.updateSize({width:q}):this._width=q,this}height(q=""){return this._overlayRef?this._overlayRef.updateSize({height:q}):this._height=q,this}centerHorizontally(q=""){return this.left(q),this._xPosition="center",this}centerVertically(q=""){return this.top(q),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const q=this._overlayRef.overlayElement.style,de=this._overlayRef.hostElement.style,xe=this._overlayRef.getConfig(),{width:ke,height:ft,maxWidth:_t,maxHeight:ct}=xe,nt=!("100%"!==ke&&"100vw"!==ke||_t&&"100%"!==_t&&"100vw"!==_t),Jt=!("100%"!==ft&&"100vh"!==ft||ct&&"100%"!==ct&&"100vh"!==ct),vt=this._xPosition,ne=this._xOffset,Ht="rtl"===this._overlayRef.getConfig().direction;let De="",ze="",wt="";nt?wt="flex-start":"center"===vt?(wt="center",Ht?ze=ne:De=ne):Ht?"left"===vt||"end"===vt?(wt="flex-end",De=ne):("right"===vt||"start"===vt)&&(wt="flex-start",ze=ne):"left"===vt||"start"===vt?(wt="flex-start",De=ne):("right"===vt||"end"===vt)&&(wt="flex-end",ze=ne),q.position=this._cssPosition,q.marginLeft=nt?"0":De,q.marginTop=Jt?"0":this._topOffset,q.marginBottom=this._bottomOffset,q.marginRight=nt?"0":ze,de.justifyContent=wt,de.alignItems=Jt?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const q=this._overlayRef.overlayElement.style,de=this._overlayRef.hostElement,xe=de.style;de.classList.remove(Ne),xe.justifyContent=xe.alignItems=q.marginTop=q.marginBottom=q.marginLeft=q.marginRight=q.position="",this._overlayRef=null,this._isDisposed=!0}}let Ie=(()=>{class Ze{constructor(de,xe,ke,ft){this._viewportRuler=de,this._document=xe,this._platform=ke,this._overlayContainer=ft}global(){return new ot}flexibleConnectedTo(de){return new b(de,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Ze.\u0275fac=function(de){return new(de||Ze)(g.LFG(t.rL),g.LFG(e.K0),g.LFG(o.t4),g.LFG(S))},Ze.\u0275prov=g.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})(),ve=0,fe=(()=>{class Ze{constructor(de,xe,ke,ft,_t,ct,nt,Jt,vt,ne,Ht,De){this.scrollStrategies=de,this._overlayContainer=xe,this._componentFactoryResolver=ke,this._positionBuilder=ft,this._keyboardDispatcher=_t,this._injector=ct,this._ngZone=nt,this._document=Jt,this._directionality=vt,this._location=ne,this._outsideClickDispatcher=Ht,this._animationsModuleType=De}create(de){const xe=this._createHostElement(),ke=this._createPaneElement(xe),ft=this._createPortalOutlet(ke),_t=new ce(de);return _t.direction=_t.direction||this._directionality.value,new k(ft,xe,ke,_t,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(de){const xe=this._document.createElement("div");return xe.id="cdk-overlay-"+ve++,xe.classList.add("cdk-overlay-pane"),de.appendChild(xe),xe}_createHostElement(){const de=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(de),de}_createPortalOutlet(de){return this._appRef||(this._appRef=this._injector.get(g.z2F)),new u.u0(de,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Ze.\u0275fac=function(de){return new(de||Ze)(g.LFG(ie),g.LFG(S),g.LFG(g._Vd),g.LFG(Ie),g.LFG(c),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(e.K0),g.LFG(C.Is),g.LFG(e.Ye),g.LFG(y),g.LFG(g.QbO,8))},Ze.\u0275prov=g.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})();const Se=[{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"}],te=new g.OlP("cdk-connected-overlay-scroll-strategy");let Ke=(()=>{class Ze{constructor(de){this.elementRef=de}}return Ze.\u0275fac=function(de){return new(de||Ze)(g.Y36(g.SBq))},Ze.\u0275dir=g.lG2({type:Ze,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),Ze})(),Ae=(()=>{class Ze{constructor(de,xe,ke,ft,_t){this._overlay=de,this._dir=_t,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=d.w0.EMPTY,this._attachSubscription=d.w0.EMPTY,this._detachSubscription=d.w0.EMPTY,this._positionSubscription=d.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new g.vpe,this.positionChange=new g.vpe,this.attach=new g.vpe,this.detach=new g.vpe,this.overlayKeydown=new g.vpe,this.overlayOutsideClick=new g.vpe,this._templatePortal=new u.UE(xe,ke),this._scrollStrategyFactory=ft,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(de){this._offsetX=de,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(de){this._offsetY=de,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(de){this._hasBackdrop=(0,A.Ig)(de)}get lockPosition(){return this._lockPosition}set lockPosition(de){this._lockPosition=(0,A.Ig)(de)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(de){this._flexibleDimensions=(0,A.Ig)(de)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(de){this._growAfterOpen=(0,A.Ig)(de)}get push(){return this._push}set push(de){this._push=(0,A.Ig)(de)}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(de){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),de.origin&&this.open&&this._position.apply()),de.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=Se);const de=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=de.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=de.detachments().subscribe(()=>this.detach.emit()),de.keydownEvents().subscribe(xe=>{this.overlayKeydown.next(xe),xe.keyCode===P.hY&&!this.disableClose&&!(0,P.Vb)(xe)&&(xe.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(xe=>{this.overlayOutsideClick.next(xe)})}_buildConfig(){const de=this._position=this.positionStrategy||this._createPositionStrategy(),xe=new ce({direction:this._dir,positionStrategy:de,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(xe.width=this.width),(this.height||0===this.height)&&(xe.height=this.height),(this.minWidth||0===this.minWidth)&&(xe.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(xe.minHeight=this.minHeight),this.backdropClass&&(xe.backdropClass=this.backdropClass),this.panelClass&&(xe.panelClass=this.panelClass),xe}_updatePositionStrategy(de){const xe=this.positions.map(ke=>({originX:ke.originX,originY:ke.originY,overlayX:ke.overlayX,overlayY:ke.overlayY,offsetX:ke.offsetX||this.offsetX,offsetY:ke.offsetY||this.offsetY,panelClass:ke.panelClass||void 0}));return de.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(xe).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const de=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(de),de}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Ke?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(de=>{this.backdropClick.emit(de)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,I.o)(()=>this.positionChange.observers.length>0)).subscribe(de=>{this.positionChange.emit(de),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Ze.\u0275fac=function(de){return new(de||Ze)(g.Y36(fe),g.Y36(g.Rgc),g.Y36(g.s_b),g.Y36(te),g.Y36(C.Is,8))},Ze.\u0275dir=g.lG2({type:Ze,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[g.TTD]}),Ze})();const ye={provide:te,deps:[fe],useFactory:function oe(Ze){return()=>Ze.scrollStrategies.reposition()}};let me=(()=>{class Ze{}return Ze.\u0275fac=function(de){return new(de||Ze)},Ze.\u0275mod=g.oAB({type:Ze}),Ze.\u0275inj=g.cJS({providers:[fe,ye],imports:[C.vT,u.eL,t.Cl,t.Cl]}),Ze})()},3353:(Ge,Q,m)=>{"use strict";m.d(Q,{Mq:()=>P,Oy:()=>ue,_i:()=>U,ht:()=>X,i$:()=>w,kV:()=>j,qK:()=>O,sA:()=>ee,t4:()=>A});var t=m(4650),e=m(6895);let g;try{g=typeof Intl<"u"&&Intl.v8BreakIterator}catch{g=!1}let C,A=(()=>{class le{constructor(ce){this._platformId=ce,this.isBrowser=this._platformId?(0,e.NF)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!g)&&typeof CSS<"u"&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return le.\u0275fac=function(ce){return new(ce||le)(t.LFG(t.Lbi))},le.\u0275prov=t.Yz7({token:le,factory:le.\u0275fac,providedIn:"root"}),le})();const u=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function O(){if(C)return C;if("object"!=typeof document||!document)return C=new Set(u),C;let le=document.createElement("input");return C=new Set(u.filter(ie=>(le.setAttribute("type",ie),le.type===ie))),C}let d,L,I,Z;function w(le){return function M(){if(null==d&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?le:!!le.capture}function P(){if(null==I){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return I=!1,I;if("scrollBehavior"in document.documentElement.style)I=!0;else{const le=Element.prototype.scrollTo;I=!!le&&!/\{\s*\[native code\]\s*\}/.test(le.toString())}}return I}function U(){if("object"!=typeof document||!document)return 0;if(null==L){const le=document.createElement("div"),ie=le.style;le.dir="rtl",ie.width="1px",ie.overflow="auto",ie.visibility="hidden",ie.pointerEvents="none",ie.position="absolute";const ce=document.createElement("div"),se=ce.style;se.width="2px",se.height="1px",le.appendChild(ce),document.body.appendChild(le),L=0,0===le.scrollLeft&&(le.scrollLeft=1,L=0===le.scrollLeft?1:2),le.remove()}return L}function j(le){if(function Y(){if(null==Z){const le=typeof document<"u"?document.head:null;Z=!(!le||!le.createShadowRoot&&!le.attachShadow)}return Z}()){const ie=le.getRootNode?le.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ie instanceof ShadowRoot)return ie}return null}function X(){let le=typeof document<"u"&&document?document.activeElement:null;for(;le&&le.shadowRoot;){const ie=le.shadowRoot.activeElement;if(ie===le)break;le=ie}return le}function ee(le){return le.composedPath?le.composedPath()[0]:le.target}function ue(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(Ge,Q,m)=>{"use strict";m.d(Q,{C5:()=>M,Pl:()=>X,UE:()=>w,eL:()=>ue,en:()=>I,ig:()=>Y,u0:()=>U});var t=m(4650),e=m(6895);class d{attach(ce){return this._attachedHost=ce,ce.attach(this)}detach(){let ce=this._attachedHost;null!=ce&&(this._attachedHost=null,ce.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(ce){this._attachedHost=ce}}class M extends d{constructor(ce,se,he,E,i){super(),this.component=ce,this.viewContainerRef=se,this.injector=he,this.componentFactoryResolver=E,this.projectableNodes=i}}class w extends d{constructor(ce,se,he,E){super(),this.templateRef=ce,this.viewContainerRef=se,this.context=he,this.injector=E}get origin(){return this.templateRef.elementRef}attach(ce,se=this.context){return this.context=se,super.attach(ce)}detach(){return this.context=void 0,super.detach()}}class L extends d{constructor(ce){super(),this.element=ce instanceof t.SBq?ce.nativeElement:ce}}class I{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(ce){return ce instanceof M?(this._attachedPortal=ce,this.attachComponentPortal(ce)):ce instanceof w?(this._attachedPortal=ce,this.attachTemplatePortal(ce)):this.attachDomPortal&&ce instanceof L?(this._attachedPortal=ce,this.attachDomPortal(ce)):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(ce){this._disposeFn=ce}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class U extends I{constructor(ce,se,he,E,i){super(),this.outletElement=ce,this._componentFactoryResolver=se,this._appRef=he,this._defaultInjector=E,this.attachDomPortal=r=>{const h=r.element,c=this._document.createComment("dom-portal");h.parentNode.insertBefore(c,h),this.outletElement.appendChild(h),this._attachedPortal=r,super.setDisposeFn(()=>{c.parentNode&&c.parentNode.replaceChild(h,c)})},this._document=i}attachComponentPortal(ce){const he=(ce.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ce.component);let E;return ce.viewContainerRef?(E=ce.viewContainerRef.createComponent(he,ce.viewContainerRef.length,ce.injector||ce.viewContainerRef.injector,ce.projectableNodes||void 0),this.setDisposeFn(()=>E.destroy())):(E=he.create(ce.injector||this._defaultInjector||t.zs3.NULL),this._appRef.attachView(E.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(E.hostView),E.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(E)),this._attachedPortal=ce,E}attachTemplatePortal(ce){let se=ce.viewContainerRef,he=se.createEmbeddedView(ce.templateRef,ce.context,{injector:ce.injector});return he.rootNodes.forEach(E=>this.outletElement.appendChild(E)),he.detectChanges(),this.setDisposeFn(()=>{let E=se.indexOf(he);-1!==E&&se.remove(E)}),this._attachedPortal=ce,he}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ce){return ce.hostView.rootNodes[0]}}let Y=(()=>{class ie extends w{constructor(se,he){super(se,he)}}return ie.\u0275fac=function(se){return new(se||ie)(t.Y36(t.Rgc),t.Y36(t.s_b))},ie.\u0275dir=t.lG2({type:ie,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[t.qOj]}),ie})(),X=(()=>{class ie extends I{constructor(se,he,E){super(),this._componentFactoryResolver=se,this._viewContainerRef=he,this._isInitialized=!1,this.attached=new t.vpe,this.attachDomPortal=i=>{const r=i.element,h=this._document.createComment("dom-portal");i.setAttachedHost(this),r.parentNode.insertBefore(h,r),this._getRootNode().appendChild(r),this._attachedPortal=i,super.setDisposeFn(()=>{h.parentNode&&h.parentNode.replaceChild(r,h)})},this._document=E}get portal(){return this._attachedPortal}set portal(se){this.hasAttached()&&!se&&!this._isInitialized||(this.hasAttached()&&super.detach(),se&&super.attach(se),this._attachedPortal=se||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(se){se.setAttachedHost(this);const he=null!=se.viewContainerRef?se.viewContainerRef:this._viewContainerRef,i=(se.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(se.component),r=he.createComponent(i,he.length,se.injector||he.injector,se.projectableNodes||void 0);return he!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=se,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(se){se.setAttachedHost(this);const he=this._viewContainerRef.createEmbeddedView(se.templateRef,se.context,{injector:se.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=se,this._attachedRef=he,this.attached.emit(he),he}_getRootNode(){const se=this._viewContainerRef.element.nativeElement;return se.nodeType===se.ELEMENT_NODE?se:se.parentNode}}return ie.\u0275fac=function(se){return new(se||ie)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36(e.K0))},ie.\u0275dir=t.lG2({type:ie,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[t.qOj]}),ie})(),ue=(()=>{class ie{}return ie.\u0275fac=function(se){return new(se||ie)},ie.\u0275mod=t.oAB({type:ie}),ie.\u0275inj=t.cJS({}),ie})()},531:(Ge,Q,m)=>{"use strict";m.d(Q,{PQ:()=>c,ZD:()=>Ne,mF:()=>h,Cl:()=>ot,rL:()=>S});var t=m(1281),e=m(4650),g=m(7579),A=m(9646),o=m(9751),C=m(4968),u=m(4408),O=m(727);const d={schedule(Ie){let ve=requestAnimationFrame,fe=cancelAnimationFrame;const{delegate:Se}=d;Se&&(ve=Se.requestAnimationFrame,fe=Se.cancelAnimationFrame);const te=ve(Ke=>{fe=void 0,Ie(Ke)});return new O.w0(()=>fe?.(te))},requestAnimationFrame(...Ie){const{delegate:ve}=d;return(ve?.requestAnimationFrame||requestAnimationFrame)(...Ie)},cancelAnimationFrame(...Ie){const{delegate:ve}=d;return(ve?.cancelAnimationFrame||cancelAnimationFrame)(...Ie)},delegate:void 0};var w=m(7565);const I=new class L extends w.v{flush(ve){this._active=!0;const fe=this._scheduled;this._scheduled=void 0;const{actions:Se}=this;let te;ve=ve||Se.shift();do{if(te=ve.execute(ve.state,ve.delay))break}while((ve=Se[0])&&ve.id===fe&&Se.shift());if(this._active=!1,te){for(;(ve=Se[0])&&ve.id===fe&&Se.shift();)ve.unsubscribe();throw te}}}(class M extends u.o{constructor(ve,fe){super(ve,fe),this.scheduler=ve,this.work=fe}requestAsyncId(ve,fe,Se=0){return null!==Se&&Se>0?super.requestAsyncId(ve,fe,Se):(ve.actions.push(this),ve._scheduled||(ve._scheduled=d.requestAnimationFrame(()=>ve.flush(void 0))))}recycleAsyncId(ve,fe,Se=0){var te;if(null!=Se?Se>0:this.delay>0)return super.recycleAsyncId(ve,fe,Se);const{actions:Ke}=ve;null!=fe&&(null===(te=Ke[Ke.length-1])||void 0===te?void 0:te.id)!==fe&&(d.cancelAnimationFrame(fe),ve._scheduled=void 0)}});var U=m(3101),Z=m(3601),Y=m(9300),j=m(2722),X=m(8675),ee=m(3353),ue=m(6895),le=m(445);const ie=["contentWrapper"],ce=["*"],se=new e.OlP("VIRTUAL_SCROLL_STRATEGY");let h=(()=>{class Ie{constructor(fe,Se,te){this._ngZone=fe,this._platform=Se,this._scrolled=new g.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=te}register(fe){this.scrollContainers.has(fe)||this.scrollContainers.set(fe,fe.elementScrolled().subscribe(()=>this._scrolled.next(fe)))}deregister(fe){const Se=this.scrollContainers.get(fe);Se&&(Se.unsubscribe(),this.scrollContainers.delete(fe))}scrolled(fe=20){return this._platform.isBrowser?new o.y(Se=>{this._globalSubscription||this._addGlobalListener();const te=fe>0?this._scrolled.pipe((0,Z.e)(fe)).subscribe(Se):this._scrolled.subscribe(Se);return this._scrolledCount++,()=>{te.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,A.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((fe,Se)=>this.deregister(Se)),this._scrolled.complete()}ancestorScrolled(fe,Se){const te=this.getAncestorScrollContainers(fe);return this.scrolled(Se).pipe((0,Y.h)(Ke=>!Ke||te.indexOf(Ke)>-1))}getAncestorScrollContainers(fe){const Se=[];return this.scrollContainers.forEach((te,Ke)=>{this._scrollableContainsElement(Ke,fe)&&Se.push(Ke)}),Se}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(fe,Se){let te=(0,t.fI)(Se),Ke=fe.getElementRef().nativeElement;do{if(te==Ke)return!0}while(te=te.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const fe=this._getWindow();return(0,C.R)(fe.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(e.LFG(e.R0b),e.LFG(ee.t4),e.LFG(ue.K0,8))},Ie.\u0275prov=e.Yz7({token:Ie,factory:Ie.\u0275fac,providedIn:"root"}),Ie})(),c=(()=>{class Ie{constructor(fe,Se,te,Ke){this.elementRef=fe,this.scrollDispatcher=Se,this.ngZone=te,this.dir=Ke,this._destroyed=new g.x,this._elementScrolled=new o.y(Ae=>this.ngZone.runOutsideAngular(()=>(0,C.R)(this.elementRef.nativeElement,"scroll").pipe((0,j.R)(this._destroyed)).subscribe(Ae)))}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(fe){const Se=this.elementRef.nativeElement,te=this.dir&&"rtl"==this.dir.value;null==fe.left&&(fe.left=te?fe.end:fe.start),null==fe.right&&(fe.right=te?fe.start:fe.end),null!=fe.bottom&&(fe.top=Se.scrollHeight-Se.clientHeight-fe.bottom),te&&0!=(0,ee._i)()?(null!=fe.left&&(fe.right=Se.scrollWidth-Se.clientWidth-fe.left),2==(0,ee._i)()?fe.left=fe.right:1==(0,ee._i)()&&(fe.left=fe.right?-fe.right:fe.right)):null!=fe.right&&(fe.left=Se.scrollWidth-Se.clientWidth-fe.right),this._applyScrollToOptions(fe)}_applyScrollToOptions(fe){const Se=this.elementRef.nativeElement;(0,ee.Mq)()?Se.scrollTo(fe):(null!=fe.top&&(Se.scrollTop=fe.top),null!=fe.left&&(Se.scrollLeft=fe.left))}measureScrollOffset(fe){const Se="left",Ke=this.elementRef.nativeElement;if("top"==fe)return Ke.scrollTop;if("bottom"==fe)return Ke.scrollHeight-Ke.clientHeight-Ke.scrollTop;const Ae=this.dir&&"rtl"==this.dir.value;return"start"==fe?fe=Ae?"right":Se:"end"==fe&&(fe=Ae?Se:"right"),Ae&&2==(0,ee._i)()?fe==Se?Ke.scrollWidth-Ke.clientWidth-Ke.scrollLeft:Ke.scrollLeft:Ae&&1==(0,ee._i)()?fe==Se?Ke.scrollLeft+Ke.scrollWidth-Ke.clientWidth:-Ke.scrollLeft:fe==Se?Ke.scrollLeft:Ke.scrollWidth-Ke.clientWidth-Ke.scrollLeft}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(e.Y36(e.SBq),e.Y36(h),e.Y36(e.R0b),e.Y36(le.Is,8))},Ie.\u0275dir=e.lG2({type:Ie,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),Ie})(),S=(()=>{class Ie{constructor(fe,Se,te){this._platform=fe,this._change=new g.x,this._changeListener=Ke=>{this._change.next(Ke)},this._document=te,Se.runOutsideAngular(()=>{if(fe.isBrowser){const Ke=this._getWindow();Ke.addEventListener("resize",this._changeListener),Ke.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const fe=this._getWindow();fe.removeEventListener("resize",this._changeListener),fe.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const fe={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),fe}getViewportRect(){const fe=this.getViewportScrollPosition(),{width:Se,height:te}=this.getViewportSize();return{top:fe.top,left:fe.left,bottom:fe.top+te,right:fe.left+Se,height:te,width:Se}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const fe=this._document,Se=this._getWindow(),te=fe.documentElement,Ke=te.getBoundingClientRect();return{top:-Ke.top||fe.body.scrollTop||Se.scrollY||te.scrollTop||0,left:-Ke.left||fe.body.scrollLeft||Se.scrollX||te.scrollLeft||0}}change(fe=20){return fe>0?this._change.pipe((0,Z.e)(fe)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const fe=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:fe.innerWidth,height:fe.innerHeight}:{width:0,height:0}}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(e.LFG(ee.t4),e.LFG(e.R0b),e.LFG(ue.K0,8))},Ie.\u0275prov=e.Yz7({token:Ie,factory:Ie.\u0275fac,providedIn:"root"}),Ie})();const k=new e.OlP("VIRTUAL_SCROLLABLE");let v=(()=>{class Ie extends c{constructor(fe,Se,te,Ke){super(fe,Se,te,Ke)}measureViewportSize(fe){const Se=this.elementRef.nativeElement;return"horizontal"===fe?Se.clientWidth:Se.clientHeight}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(e.Y36(e.SBq),e.Y36(h),e.Y36(e.R0b),e.Y36(le.Is,8))},Ie.\u0275dir=e.lG2({type:Ie,features:[e.qOj]}),Ie})();const b=typeof requestAnimationFrame<"u"?I:U.E;let B=(()=>{class Ie extends v{constructor(fe,Se,te,Ke,Ae,oe,ye,me){super(fe,oe,te,Ae),this.elementRef=fe,this._changeDetectorRef=Se,this._scrollStrategy=Ke,this.scrollable=me,this._platform=(0,e.f3M)(ee.t4),this._detachedSubject=new g.x,this._renderedRangeSubject=new g.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new o.y(Me=>this._scrollStrategy.scrolledIndexChange.subscribe(Ze=>Promise.resolve().then(()=>this.ngZone.run(()=>Me.next(Ze))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=O.w0.EMPTY,this._viewportChanges=ye.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}get orientation(){return this._orientation}set orientation(fe){this._orientation!==fe&&(this._orientation=fe,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(fe){this._appendOnly=(0,t.Ig)(fe)}ngOnInit(){!this._platform.isBrowser||(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,X.O)(null),(0,Z.e)(0,b)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(fe){this.ngZone.runOutsideAngular(()=>{this._forOf=fe,this._forOf.dataStream.pipe((0,j.R)(this._detachedSubject)).subscribe(Se=>{const te=Se.length;te!==this._dataLength&&(this._dataLength=te,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(fe){return this.getElementRef().nativeElement.getBoundingClientRect()[fe]}setTotalContentSize(fe){this._totalContentSize!==fe&&(this._totalContentSize=fe,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(fe){(function n(Ie,ve){return Ie.start==ve.start&&Ie.end==ve.end})(this._renderedRange,fe)||(this.appendOnly&&(fe={start:0,end:Math.max(this._renderedRange.end,fe.end)}),this._renderedRangeSubject.next(this._renderedRange=fe),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(fe,Se="to-start"){fe=this.appendOnly&&"to-start"===Se?0:fe;const Ke="horizontal"==this.orientation,Ae=Ke?"X":"Y";let ye=`translate${Ae}(${Number((Ke&&this.dir&&"rtl"==this.dir.value?-1:1)*fe)}px)`;this._renderedContentOffset=fe,"to-end"===Se&&(ye+=` translate${Ae}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=ye&&(this._renderedContentTransform=ye,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(fe,Se="auto"){const te={behavior:Se};"horizontal"===this.orientation?te.start=fe:te.top=fe,this.scrollable.scrollTo(te)}scrollToIndex(fe,Se="auto"){this._scrollStrategy.scrollToIndex(fe,Se)}measureScrollOffset(fe){let Se;return Se=this.scrollable==this?te=>super.measureScrollOffset(te):te=>this.scrollable.measureScrollOffset(te),Math.max(0,Se(fe??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(fe){let Se;const Ae="rtl"==this.dir?.value;Se="start"==fe?Ae?"right":"left":"end"==fe?Ae?"left":"right":fe||("horizontal"===this.orientation?"left":"top");const oe=this.scrollable.measureBoundingClientRectWithScrollOffset(Se);return this.elementRef.nativeElement.getBoundingClientRect()[Se]-oe}measureRenderedContentSize(){const fe=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?fe.offsetWidth:fe.offsetHeight}measureRangeSize(fe){return this._forOf?this._forOf.measureRangeSize(fe,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(fe){fe&&this._runAfterChangeDetection.push(fe),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._doChangeDetection()})))}_doChangeDetection(){this._isChangeDetectionPending=!1,this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this.ngZone.run(()=>this._changeDetectorRef.markForCheck());const fe=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const Se of fe)Se()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(se,8),e.Y36(le.Is,8),e.Y36(h),e.Y36(S),e.Y36(k,8))},Ie.\u0275cmp=e.Xpm({type:Ie,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(fe,Se){if(1&fe&&e.Gf(ie,7),2&fe){let te;e.iGM(te=e.CRH())&&(Se._contentWrapper=te.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(fe,Se){2&fe&&e.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===Se.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==Se.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[e._Bn([{provide:c,useFactory:(ve,fe)=>ve||fe,deps:[[new e.FiY,new e.tBr(k)],Ie]}]),e.qOj,e.jDz],ngContentSelectors:ce,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(fe,Se){1&fe&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA(),e._UZ(3,"div",2)),2&fe&&(e.xp6(3),e.Udp("width",Se._totalContentWidth)("height",Se._totalContentHeight))},styles:["cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0}"],encapsulation:2,changeDetection:0}),Ie})(),Ne=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275mod=e.oAB({type:Ie}),Ie.\u0275inj=e.cJS({}),Ie})(),ot=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275mod=e.oAB({type:Ie}),Ie.\u0275inj=e.cJS({imports:[le.vT,Ne,B,le.vT,Ne]}),Ie})()},2138:(Ge,Q,m)=>{"use strict";m.d(Q,{B8:()=>ee,KL:()=>I,U5:()=>ie,be:()=>X,gx:()=>j,po:()=>le,st:()=>ue,u6:()=>P});var t=m(4761),e=m(445),g=m(1281),A=m(9521),o=m(4650),C=m(3353),u=m(7579),O=m(9646),d=m(8675),M=m(2722);function w(ce,se){1&ce&&o.Hsn(0)}const L=["*"];let I=(()=>{class ce{constructor(he){this._elementRef=he}focus(){this._elementRef.nativeElement.focus()}}return ce.\u0275fac=function(he){return new(he||ce)(o.Y36(o.SBq))},ce.\u0275dir=o.lG2({type:ce,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),ce})(),P=(()=>{class ce{constructor(he){this.template=he}}return ce.\u0275fac=function(he){return new(he||ce)(o.Y36(o.Rgc))},ce.\u0275dir=o.lG2({type:ce,selectors:[["","cdkStepLabel",""]]}),ce})(),U=0;const j=new o.OlP("STEPPER_GLOBAL_OPTIONS");let X=(()=>{class ce{constructor(he,E){this._stepper=he,this.interacted=!1,this.interactedStream=new o.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=E||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}get editable(){return this._editable}set editable(he){this._editable=(0,g.Ig)(he)}get optional(){return this._optional}set optional(he){this._optional=(0,g.Ig)(he)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(he){this._completedOverride=(0,g.Ig)(he)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(he){this._customError=(0,g.Ig)(he)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}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}}return ce.\u0275fac=function(he){return new(he||ce)(o.Y36((0,o.Gpc)(()=>ee)),o.Y36(j,8))},ce.\u0275cmp=o.Xpm({type:ce,selectors:[["cdk-step"]],contentQueries:function(he,E,i){if(1&he&&o.Suo(i,P,5),2&he){let r;o.iGM(r=o.CRH())&&(E.stepLabel=r.first)}},viewQuery:function(he,E){if(1&he&&o.Gf(o.Rgc,7),2&he){let i;o.iGM(i=o.CRH())&&(E.content=i.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],state:"state",editable:"editable",optional:"optional",completed:"completed",hasError:"hasError"},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[o.TTD],ngContentSelectors:L,decls:1,vars:0,template:function(he,E){1&he&&(o.F$t(),o.YNc(0,w,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),ce})(),ee=(()=>{class ce{constructor(he,E,i){this._dir=he,this._changeDetectorRef=E,this._elementRef=i,this._destroyed=new u.x,this.steps=new o.n_E,this._sortedHeaders=new o.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new o.vpe,this._orientation="horizontal",this._groupId=U++}get linear(){return this._linear}set linear(he){this._linear=(0,g.Ig)(he)}get selectedIndex(){return this._selectedIndex}set selectedIndex(he){const E=(0,g.su)(he);this.steps&&this._steps?(this._isValidIndex(E),this.selected?._markAsInteracted(),this._selectedIndex!==E&&!this._anyControlsInvalidOrPending(E)&&(E>=this._selectedIndex||this.steps.toArray()[E].editable)&&this._updateSelectedItemIndex(E)):this._selectedIndex=E}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(he){this.selectedIndex=he&&this.steps?this.steps.toArray().indexOf(he):-1}get orientation(){return this._orientation}set orientation(he){this._orientation=he,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===he)}ngAfterContentInit(){this._steps.changes.pipe((0,d.O)(this._steps),(0,M.R)(this._destroyed)).subscribe(he=>{this.steps.reset(he.filter(E=>E._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,d.O)(this._stepHeader),(0,M.R)(this._destroyed)).subscribe(he=>{this._sortedHeaders.reset(he.toArray().sort((E,i)=>E._elementRef.nativeElement.compareDocumentPosition(i._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new t.Em(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),(this._dir?this._dir.change:(0,O.of)()).pipe((0,d.O)(this._layoutDirection()),(0,M.R)(this._destroyed)).subscribe(he=>this._keyManager.withHorizontalOrientation(he)),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(he=>he.reset()),this._stateChanged()}_getStepLabelId(he){return`cdk-step-label-${this._groupId}-${he}`}_getStepContentId(he){return`cdk-step-content-${this._groupId}-${he}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(he){const E=he-this._selectedIndex;return E<0?"rtl"===this._layoutDirection()?"next":"previous":E>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(he,E="number"){const i=this.steps.toArray()[he],r=this._isCurrentStep(he);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,r):this._getGuidelineLogic(i,r,E)}_getDefaultIndicatorLogic(he,E){return he._showError()&&he.hasError&&!E?"error":!he.completed||E?"number":he.editable?"edit":"done"}_getGuidelineLogic(he,E,i="number"){return he._showError()&&he.hasError&&!E?"error":he.completed&&!E?"done":he.completed&&E?i:he.editable&&E?"edit":i}_isCurrentStep(he){return this._selectedIndex===he}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(he){const E=this.steps.toArray();this.selectionChange.emit({selectedIndex:he,previouslySelectedIndex:this._selectedIndex,selectedStep:E[he],previouslySelectedStep:E[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(he):this._keyManager.updateActiveItem(he),this._selectedIndex=he,this._stateChanged()}_onKeydown(he){const E=(0,A.Vb)(he),i=he.keyCode,r=this._keyManager;null==r.activeItemIndex||E||i!==A.L_&&i!==A.K5?r.setFocusOrigin("keyboard").onKeydown(he):(this.selectedIndex=r.activeItemIndex,he.preventDefault())}_anyControlsInvalidOrPending(he){return!!(this._linear&&he>=0)&&this.steps.toArray().slice(0,he).some(E=>{const i=E.stepControl;return(i?i.invalid||i.pending||!E.interacted:!E.completed)&&!E.optional&&!E._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const he=this._elementRef.nativeElement,E=(0,C.ht)();return he===E||he.contains(E)}_isValidIndex(he){return he>-1&&(!this.steps||he<this.steps.length)}}return ce.\u0275fac=function(he){return new(he||ce)(o.Y36(e.Is,8),o.Y36(o.sBO),o.Y36(o.SBq))},ce.\u0275dir=o.lG2({type:ce,selectors:[["","cdkStepper",""]],contentQueries:function(he,E,i){if(1&he&&(o.Suo(i,X,5),o.Suo(i,I,5)),2&he){let r;o.iGM(r=o.CRH())&&(E._steps=r),o.iGM(r=o.CRH())&&(E._stepHeader=r)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),ce})(),ue=(()=>{class ce{constructor(he){this._stepper=he,this.type="submit"}}return ce.\u0275fac=function(he){return new(he||ce)(o.Y36(ee))},ce.\u0275dir=o.lG2({type:ce,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(he,E){1&he&&o.NdJ("click",function(){return E._stepper.next()}),2&he&&o.Ikx("type",E.type)},inputs:{type:"type"}}),ce})(),le=(()=>{class ce{constructor(he){this._stepper=he,this.type="button"}}return ce.\u0275fac=function(he){return new(he||ce)(o.Y36(ee))},ce.\u0275dir=o.lG2({type:ce,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(he,E){1&he&&o.NdJ("click",function(){return E._stepper.previous()}),2&he&&o.Ikx("type",E.type)},inputs:{type:"type"}}),ce})(),ie=(()=>{class ce{}return ce.\u0275fac=function(he){return new(he||ce)},ce.\u0275mod=o.oAB({type:ce}),ce.\u0275inj=o.cJS({imports:[e.vT]}),ce})()},7851:(Ge,Q,m)=>{"use strict";m.d(Q,{HI:()=>U,Hs:()=>se,Ud:()=>c,VY:()=>P,XJ:()=>h,Xx:()=>i,_0:()=>ce,cu:()=>Z,nZ:()=>S,rO:()=>j});var t=m(5017),e=m(5191),g=m(7579),A=m(1135),o=m(9646),C=m(5698),u=m(9300),O=m(2722),d=m(4650),M=m(1281),w=m(445);class L{constructor(){this.expansionModel=new t.Ov(!0)}toggle(v){this.expansionModel.toggle(this._trackByValue(v))}expand(v){this.expansionModel.select(this._trackByValue(v))}collapse(v){this.expansionModel.deselect(this._trackByValue(v))}isExpanded(v){return this.expansionModel.isSelected(this._trackByValue(v))}toggleDescendants(v){this.expansionModel.isSelected(this._trackByValue(v))?this.collapseDescendants(v):this.expandDescendants(v)}collapseAll(){this.expansionModel.clear()}expandDescendants(v){let n=[v];n.push(...this.getDescendants(v)),this.expansionModel.select(...n.map(b=>this._trackByValue(b)))}collapseDescendants(v){let n=[v];n.push(...this.getDescendants(v)),this.expansionModel.deselect(...n.map(b=>this._trackByValue(b)))}_trackByValue(v){return this.trackBy?this.trackBy(v):v}}class P extends L{constructor(v,n){super(),this.getChildren=v,this.options=n,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const v=this.dataNodes.reduce((n,b)=>[...n,...this.getDescendants(b),b],[]);this.expansionModel.select(...v.map(n=>this._trackByValue(n)))}getDescendants(v){const n=[];return this._getDescendants(n,v),n.splice(1)}_getDescendants(v,n){v.push(n);const b=this.getChildren(n);Array.isArray(b)?b.forEach(B=>this._getDescendants(v,B)):(0,e.b)(b)&&b.pipe((0,C.q)(1),(0,u.h)(Boolean)).subscribe(B=>{for(const z of B)this._getDescendants(v,z)})}}const U=new d.OlP("CDK_TREE_NODE_OUTLET_NODE");let Z=(()=>{class k{constructor(n,b){this.viewContainer=n,this._node=b}}return k.\u0275fac=function(n){return new(n||k)(d.Y36(d.s_b),d.Y36(U,8))},k.\u0275dir=d.lG2({type:k,selectors:[["","cdkTreeNodeOutlet",""]]}),k})();class Y{constructor(v){this.$implicit=v}}let j=(()=>{class k{constructor(n){this.template=n}}return k.\u0275fac=function(n){return new(n||k)(d.Y36(d.Rgc))},k.\u0275dir=d.lG2({type:k,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),k})(),ce=(()=>{class k{constructor(n,b){this._differs=n,this._changeDetectorRef=b,this._onDestroy=new g.x,this._levels=new Map,this.viewChange=new A.X({start:0,end:Number.MAX_VALUE})}get dataSource(){return this._dataSource}set dataSource(n){this._dataSource!==n&&this._switchDataSource(n)}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 n=this._nodeDefs.filter(b=>!b.when);this._defaultNodeDef=n[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()}_switchDataSource(n){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),n||this._nodeOutlet.viewContainer.clear(),this._dataSource=n,this._nodeDefs&&this._observeRenderChanges()}_observeRenderChanges(){let n;(0,t.Z9)(this._dataSource)?n=this._dataSource.connect(this):(0,e.b)(this._dataSource)?n=this._dataSource:Array.isArray(this._dataSource)&&(n=(0,o.of)(this._dataSource)),n&&(this._dataSubscription=n.pipe((0,O.R)(this._onDestroy)).subscribe(b=>this.renderNodeChanges(b)))}renderNodeChanges(n,b=this._dataDiffer,B=this._nodeOutlet.viewContainer,z){const W=b.diff(n);!W||(W.forEachOperation((Oe,it,Ne)=>{if(null==Oe.previousIndex)this.insertNode(n[Ne],Ne,B,z);else if(null==Ne)B.remove(it),this._levels.delete(Oe.item);else{const ot=B.get(it);B.move(ot,Ne)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(n,b){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(z=>z.when&&z.when(b,n))||this._defaultNodeDef}insertNode(n,b,B,z){const W=this._getNodeDef(n,b),Oe=new Y(n);Oe.level=this.treeControl.getLevel?this.treeControl.getLevel(n):typeof z<"u"&&this._levels.has(z)?this._levels.get(z)+1:0,this._levels.set(n,Oe.level),(B||this._nodeOutlet.viewContainer).createEmbeddedView(W.template,Oe,b),se.mostRecentTreeNode&&(se.mostRecentTreeNode.data=n)}}return k.\u0275fac=function(n){return new(n||k)(d.Y36(d.ZZ4),d.Y36(d.sBO))},k.\u0275cmp=d.Xpm({type:k,selectors:[["cdk-tree"]],contentQueries:function(n,b,B){if(1&n&&d.Suo(B,j,5),2&n){let z;d.iGM(z=d.CRH())&&(b._nodeDefs=z)}},viewQuery:function(n,b){if(1&n&&d.Gf(Z,7),2&n){let B;d.iGM(B=d.CRH())&&(b._nodeOutlet=B.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(n,b){1&n&&d.GkF(0,0)},dependencies:[Z],encapsulation:2}),k})(),se=(()=>{class k{constructor(n,b){this._elementRef=n,this._tree=b,this._destroyed=new g.x,this._dataChanges=new g.x,k.mostRecentTreeNode=this,this.role="treeitem"}get role(){return"treeitem"}set role(n){this._elementRef.nativeElement.setAttribute("role",n)}get data(){return this._data}set data(n){n!==this._data&&(this._data=n,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}ngOnInit(){this._parentNodeAriaLevel=function he(k){let v=k.parentElement;for(;v&&!E(v);)v=v.parentElement;return v?v.classList.contains("cdk-nested-tree-node")?(0,M.su)(v.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"}}return k.mostRecentTreeNode=null,k.\u0275fac=function(n){return new(n||k)(d.Y36(d.SBq),d.Y36(ce))},k.\u0275dir=d.lG2({type:k,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(n,b){2&n&&d.uIk("aria-expanded",b.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),k})();function E(k){const v=k.classList;return!(!v?.contains("cdk-nested-tree-node")&&!v?.contains("cdk-tree"))}let i=(()=>{class k extends se{constructor(n,b,B){super(n,b),this._differs=B}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const n=this._tree.treeControl.getChildren(this.data);Array.isArray(n)?this.updateChildrenNodes(n):(0,e.b)(n)&&n.pipe((0,O.R)(this._destroyed)).subscribe(b=>this.updateChildrenNodes(b)),this.nodeOutlet.changes.pipe((0,O.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(n){const b=this._getNodeOutlet();n&&(this._children=n),b&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,b.viewContainer,this._data):this._dataDiffer.diff([])}_clear(){const n=this._getNodeOutlet();n&&(n.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){const n=this.nodeOutlet;return n&&n.find(b=>!b._node||b._node===this)}}return k.\u0275fac=function(n){return new(n||k)(d.Y36(d.SBq),d.Y36(ce),d.Y36(d.ZZ4))},k.\u0275dir=d.lG2({type:k,selectors:[["cdk-nested-tree-node"]],contentQueries:function(n,b,B){if(1&n&&d.Suo(B,Z,5),2&n){let z;d.iGM(z=d.CRH())&&(b.nodeOutlet=z)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[d._Bn([{provide:se,useExisting:k},{provide:U,useExisting:k}]),d.qOj]}),k})();const r=/([A-Za-z%]+)$/;let h=(()=>{class k{constructor(n,b,B,z){this._treeNode=n,this._tree=b,this._element=B,this._dir=z,this._destroyed=new g.x,this.indentUnits="px",this._indent=40,this._setPadding(),z&&z.change.pipe((0,O.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),n._dataChanges.subscribe(()=>this._setPadding())}get level(){return this._level}set level(n){this._setLevelInput(n)}get indent(){return this._indent}set indent(n){this._setIndentInput(n)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){const n=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,b=null==this._level?n:this._level;return"number"==typeof b?`${b*this._indent}${this.indentUnits}`:null}_setPadding(n=!1){const b=this._paddingIndent();if(b!==this._currentPadding||n){const B=this._element.nativeElement,z=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",W="paddingLeft"===z?"paddingRight":"paddingLeft";B.style[z]=b||"",B.style[W]="",this._currentPadding=b}}_setLevelInput(n){this._level=(0,M.su)(n,null),this._setPadding()}_setIndentInput(n){let b=n,B="px";if("string"==typeof n){const z=n.split(r);b=z[0],B=z[1]||B}this.indentUnits=B,this._indent=(0,M.su)(b),this._setPadding()}}return k.\u0275fac=function(n){return new(n||k)(d.Y36(se),d.Y36(ce),d.Y36(d.SBq),d.Y36(w.Is,8))},k.\u0275dir=d.lG2({type:k,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),k})(),c=(()=>{class k{constructor(n,b){this._tree=n,this._treeNode=b,this._recursive=!1}get recursive(){return this._recursive}set recursive(n){this._recursive=(0,M.Ig)(n)}_toggle(n){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),n.stopPropagation()}}return k.\u0275fac=function(n){return new(n||k)(d.Y36(ce),d.Y36(se))},k.\u0275dir=d.lG2({type:k,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(n,b){1&n&&d.NdJ("click",function(z){return b._toggle(z)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),k})(),S=(()=>{class k{}return k.\u0275fac=function(n){return new(n||k)},k.\u0275mod=d.oAB({type:k}),k.\u0275inj=d.cJS({}),k})()},6895:(Ge,Q,m)=>{"use strict";m.d(Q,{Do:()=>X,ED:()=>Fr,EM:()=>ga,HT:()=>A,JF:()=>Sa,JJ:()=>cs,K0:()=>C,Mx:()=>si,NF:()=>Oa,Nd:()=>Ca,O5:()=>dn,OU:()=>qa,Ov:()=>Bn,PC:()=>Zt,PM:()=>pa,RF:()=>Gr,S$:()=>Z,Ts:()=>Er,V_:()=>d,Ye:()=>ee,b0:()=>j,bD:()=>wa,ez:()=>Ns,gd:()=>ma,i8:()=>ar,mk:()=>_e,n9:()=>pr,q:()=>g,rS:()=>Fn,sg:()=>Qt,tP:()=>vi,uU:()=>Hr,w_:()=>o});var t=m(4650);let e=null;function g(){return e}function A(Pe){e||(e=Pe)}class o{}const C=new t.OlP("DocumentToken");let u=(()=>{class Pe{historyGo(Le){throw new Error("Not implemented")}}return Pe.\u0275fac=function(Le){return new(Le||Pe)},Pe.\u0275prov=t.Yz7({token:Pe,factory:function(){return function O(){return(0,t.LFG)(M)}()},providedIn:"platform"}),Pe})();const d=new t.OlP("Location Initialized");let M=(()=>{class Pe extends u{constructor(Le){super(),this._doc=Le,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState(Le){const Mt=g().getGlobalEventTarget(this._doc,"window");return Mt.addEventListener("popstate",Le,!1),()=>Mt.removeEventListener("popstate",Le)}onHashChange(Le){const Mt=g().getGlobalEventTarget(this._doc,"window");return Mt.addEventListener("hashchange",Le,!1),()=>Mt.removeEventListener("hashchange",Le)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(Le){this.location.pathname=Le}pushState(Le,Mt,ni){w()?this._history.pushState(Le,Mt,ni):this.location.hash=ni}replaceState(Le,Mt,ni){w()?this._history.replaceState(Le,Mt,ni):this.location.hash=ni}forward(){this._history.forward()}back(){this._history.back()}historyGo(Le=0){this._history.go(Le)}getState(){return this._history.state}}return Pe.\u0275fac=function(Le){return new(Le||Pe)(t.LFG(C))},Pe.\u0275prov=t.Yz7({token:Pe,factory:function(){return function L(){return new M((0,t.LFG)(C))}()},providedIn:"platform"}),Pe})();function w(){return!!window.history.pushState}function I(Pe,gt){if(0==Pe.length)return gt;if(0==gt.length)return Pe;let Le=0;return Pe.endsWith("/")&&Le++,gt.startsWith("/")&&Le++,2==Le?Pe+gt.substring(1):1==Le?Pe+gt:Pe+"/"+gt}function P(Pe){const gt=Pe.match(/#|\?|$/),Le=gt&&gt.index||Pe.length;return Pe.slice(0,Le-("/"===Pe[Le-1]?1:0))+Pe.slice(Le)}function U(Pe){return Pe&&"?"!==Pe[0]?"?"+Pe:Pe}let Z=(()=>{class Pe{historyGo(Le){throw new Error("Not implemented")}}return Pe.\u0275fac=function(Le){return new(Le||Pe)},Pe.\u0275prov=t.Yz7({token:Pe,factory:function(){return(0,t.f3M)(j)},providedIn:"root"}),Pe})();const Y=new t.OlP("appBaseHref");let j=(()=>{class Pe extends Z{constructor(Le,Mt){super(),this._platformLocation=Le,this._removeListenerFns=[],this._baseHref=Mt??this._platformLocation.getBaseHrefFromDOM()??(0,t.f3M)(C).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Le){this._removeListenerFns.push(this._platformLocation.onPopState(Le),this._platformLocation.onHashChange(Le))}getBaseHref(){return this._baseHref}prepareExternalUrl(Le){return I(this._baseHref,Le)}path(Le=!1){const Mt=this._platformLocation.pathname+U(this._platformLocation.search),ni=this._platformLocation.hash;return ni&&Le?`${Mt}${ni}`:Mt}pushState(Le,Mt,ni,He){const ut=this.prepareExternalUrl(ni+U(He));this._platformLocation.pushState(Le,Mt,ut)}replaceState(Le,Mt,ni,He){const ut=this.prepareExternalUrl(ni+U(He));this._platformLocation.replaceState(Le,Mt,ut)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Le=0){this._platformLocation.historyGo?.(Le)}}return Pe.\u0275fac=function(Le){return new(Le||Pe)(t.LFG(u),t.LFG(Y,8))},Pe.\u0275prov=t.Yz7({token:Pe,factory:Pe.\u0275fac,providedIn:"root"}),Pe})(),X=(()=>{class Pe extends Z{constructor(Le,Mt){super(),this._platformLocation=Le,this._baseHref="",this._removeListenerFns=[],null!=Mt&&(this._baseHref=Mt)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Le){this._removeListenerFns.push(this._platformLocation.onPopState(Le),this._platformLocation.onHashChange(Le))}getBaseHref(){return this._baseHref}path(Le=!1){let Mt=this._platformLocation.hash;return null==Mt&&(Mt="#"),Mt.length>0?Mt.substring(1):Mt}prepareExternalUrl(Le){const Mt=I(this._baseHref,Le);return Mt.length>0?"#"+Mt:Mt}pushState(Le,Mt,ni,He){let ut=this.prepareExternalUrl(ni+U(He));0==ut.length&&(ut=this._platformLocation.pathname),this._platformLocation.pushState(Le,Mt,ut)}replaceState(Le,Mt,ni,He){let ut=this.prepareExternalUrl(ni+U(He));0==ut.length&&(ut=this._platformLocation.pathname),this._platformLocation.replaceState(Le,Mt,ut)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Le=0){this._platformLocation.historyGo?.(Le)}}return Pe.\u0275fac=function(Le){return new(Le||Pe)(t.LFG(u),t.LFG(Y,8))},Pe.\u0275prov=t.Yz7({token:Pe,factory:Pe.\u0275fac}),Pe})(),ee=(()=>{class Pe{constructor(Le){this._subject=new t.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Le;const Mt=this._locationStrategy.getBaseHref();this._basePath=function ce(Pe){if(new RegExp("^(https?:)?//").test(Pe)){const[,Le]=Pe.split(/\/\/[^\/]+/);return Le}return Pe}(P(ie(Mt))),this._locationStrategy.onPopState(ni=>{this._subject.emit({url:this.path(!0),pop:!0,state:ni.state,type:ni.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Le=!1){return this.normalize(this._locationStrategy.path(Le))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Le,Mt=""){return this.path()==this.normalize(Le+U(Mt))}normalize(Le){return Pe.stripTrailingSlash(function le(Pe,gt){return Pe&&gt.startsWith(Pe)?gt.substring(Pe.length):gt}(this._basePath,ie(Le)))}prepareExternalUrl(Le){return Le&&"/"!==Le[0]&&(Le="/"+Le),this._locationStrategy.prepareExternalUrl(Le)}go(Le,Mt="",ni=null){this._locationStrategy.pushState(ni,"",Le,Mt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Le+U(Mt)),ni)}replaceState(Le,Mt="",ni=null){this._locationStrategy.replaceState(ni,"",Le,Mt),this._notifyUrlChangeListeners(this.prepareExternalUrl(Le+U(Mt)),ni)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Le=0){this._locationStrategy.historyGo?.(Le)}onUrlChange(Le){return this._urlChangeListeners.push(Le),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Mt=>{this._notifyUrlChangeListeners(Mt.url,Mt.state)})),()=>{const Mt=this._urlChangeListeners.indexOf(Le);this._urlChangeListeners.splice(Mt,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Le="",Mt){this._urlChangeListeners.forEach(ni=>ni(Le,Mt))}subscribe(Le,Mt,ni){return this._subject.subscribe({next:Le,error:Mt,complete:ni})}}return Pe.normalizeQueryParams=U,Pe.joinWithSlash=I,Pe.stripTrailingSlash=P,Pe.\u0275fac=function(Le){return new(Le||Pe)(t.LFG(Z))},Pe.\u0275prov=t.Yz7({token:Pe,factory:function(){return function ue(){return new ee((0,t.LFG)(Z))}()},providedIn:"root"}),Pe})();function ie(Pe){return Pe.replace(/\/index.html$/,"")}var he=(()=>((he=he||{})[he.Decimal=0]="Decimal",he[he.Percent=1]="Percent",he[he.Currency=2]="Currency",he[he.Scientific=3]="Scientific",he))(),i=(()=>((i=i||{})[i.Format=0]="Format",i[i.Standalone=1]="Standalone",i))(),r=(()=>((r=r||{})[r.Narrow=0]="Narrow",r[r.Abbreviated=1]="Abbreviated",r[r.Wide=2]="Wide",r[r.Short=3]="Short",r))(),h=(()=>((h=h||{})[h.Short=0]="Short",h[h.Medium=1]="Medium",h[h.Long=2]="Long",h[h.Full=3]="Full",h))(),c=(()=>((c=c||{})[c.Decimal=0]="Decimal",c[c.Group=1]="Group",c[c.List=2]="List",c[c.PercentSign=3]="PercentSign",c[c.PlusSign=4]="PlusSign",c[c.MinusSign=5]="MinusSign",c[c.Exponential=6]="Exponential",c[c.SuperscriptingExponent=7]="SuperscriptingExponent",c[c.PerMille=8]="PerMille",c[c.Infinity=9]="Infinity",c[c.NaN=10]="NaN",c[c.TimeSeparator=11]="TimeSeparator",c[c.CurrencyDecimal=12]="CurrencyDecimal",c[c.CurrencyGroup=13]="CurrencyGroup",c))();function W(Pe,gt){return me((0,t.cg1)(Pe)[t.wAp.DateFormat],gt)}function Oe(Pe,gt){return me((0,t.cg1)(Pe)[t.wAp.TimeFormat],gt)}function it(Pe,gt){return me((0,t.cg1)(Pe)[t.wAp.DateTimeFormat],gt)}function Ne(Pe,gt){const Le=(0,t.cg1)(Pe),Mt=Le[t.wAp.NumberSymbols][gt];if(typeof Mt>"u"){if(gt===c.CurrencyDecimal)return Le[t.wAp.NumberSymbols][c.Decimal];if(gt===c.CurrencyGroup)return Le[t.wAp.NumberSymbols][c.Group]}return Mt}function Ke(Pe){if(!Pe[t.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${Pe[t.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function me(Pe,gt){for(let Le=gt;Le>-1;Le--)if(typeof Pe[Le]<"u")return Pe[Le];throw new Error("Locale data API: locale data undefined")}function Me(Pe){const[gt,Le]=Pe.split(":");return{hours:+gt,minutes:+Le}}const xe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,ke={},ft=/((?:[^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 _t=(()=>((_t=_t||{})[_t.Short=0]="Short",_t[_t.ShortGMT=1]="ShortGMT",_t[_t.Long=2]="Long",_t[_t.Extended=3]="Extended",_t))(),ct=(()=>((ct=ct||{})[ct.FullYear=0]="FullYear",ct[ct.Month=1]="Month",ct[ct.Date=2]="Date",ct[ct.Hours=3]="Hours",ct[ct.Minutes=4]="Minutes",ct[ct.Seconds=5]="Seconds",ct[ct.FractionalSeconds=6]="FractionalSeconds",ct[ct.Day=7]="Day",ct))(),nt=(()=>((nt=nt||{})[nt.DayPeriods=0]="DayPeriods",nt[nt.Days=1]="Days",nt[nt.Months=2]="Months",nt[nt.Eras=3]="Eras",nt))();function Jt(Pe,gt,Le,Mt){let ni=function rt(Pe){if(ri(Pe))return Pe;if("number"==typeof Pe&&!isNaN(Pe))return new Date(Pe);if("string"==typeof Pe){if(Pe=Pe.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Pe)){const[ni,He=1,ut=1]=Pe.split("-").map(Ct=>+Ct);return vt(ni,He-1,ut)}const Le=parseFloat(Pe);if(!isNaN(Pe-Le))return new Date(Le);let Mt;if(Mt=Pe.match(xe))return function yt(Pe){const gt=new Date(0);let Le=0,Mt=0;const ni=Pe[8]?gt.setUTCFullYear:gt.setFullYear,He=Pe[8]?gt.setUTCHours:gt.setHours;Pe[9]&&(Le=Number(Pe[9]+Pe[10]),Mt=Number(Pe[9]+Pe[11])),ni.call(gt,Number(Pe[1]),Number(Pe[2])-1,Number(Pe[3]));const ut=Number(Pe[4]||0)-Le,Ct=Number(Pe[5]||0)-Mt,Nt=Number(Pe[6]||0),Je=Math.floor(1e3*parseFloat("0."+(Pe[7]||0)));return He.call(gt,ut,Ct,Nt,Je),gt}(Mt)}const gt=new Date(Pe);if(!ri(gt))throw new Error(`Unable to convert "${Pe}" into a date`);return gt}(Pe);gt=ne(Le,gt)||gt;let Ct,ut=[];for(;gt;){if(Ct=ft.exec(gt),!Ct){ut.push(gt);break}{ut=ut.concat(Ct.slice(1));const Xt=ut.pop();if(!Xt)break;gt=Xt}}let Nt=ni.getTimezoneOffset();Mt&&(Nt=Gt(Mt,Nt),ni=function ht(Pe,gt,Le){const Mt=Le?-1:1,ni=Pe.getTimezoneOffset();return function ei(Pe,gt){return(Pe=new Date(Pe.getTime())).setMinutes(Pe.getMinutes()+gt),Pe}(Pe,Mt*(Gt(gt,ni)-ni))}(ni,Mt,!0));let Je="";return ut.forEach(Xt=>{const di=function ii(Pe){if(at[Pe])return at[Pe];let gt;switch(Pe){case"G":case"GG":case"GGG":gt=tt(nt.Eras,r.Abbreviated);break;case"GGGG":gt=tt(nt.Eras,r.Wide);break;case"GGGGG":gt=tt(nt.Eras,r.Narrow);break;case"y":gt=wt(ct.FullYear,1,0,!1,!0);break;case"yy":gt=wt(ct.FullYear,2,0,!0,!0);break;case"yyy":gt=wt(ct.FullYear,3,0,!1,!0);break;case"yyyy":gt=wt(ct.FullYear,4,0,!1,!0);break;case"Y":gt=Fe(1);break;case"YY":gt=Fe(2,!0);break;case"YYY":gt=Fe(3);break;case"YYYY":gt=Fe(4);break;case"M":case"L":gt=wt(ct.Month,1,1);break;case"MM":case"LL":gt=wt(ct.Month,2,1);break;case"MMM":gt=tt(nt.Months,r.Abbreviated);break;case"MMMM":gt=tt(nt.Months,r.Wide);break;case"MMMMM":gt=tt(nt.Months,r.Narrow);break;case"LLL":gt=tt(nt.Months,r.Abbreviated,i.Standalone);break;case"LLLL":gt=tt(nt.Months,r.Wide,i.Standalone);break;case"LLLLL":gt=tt(nt.Months,r.Narrow,i.Standalone);break;case"w":gt=be(1);break;case"ww":gt=be(2);break;case"W":gt=be(1,!0);break;case"d":gt=wt(ct.Date,1);break;case"dd":gt=wt(ct.Date,2);break;case"c":case"cc":gt=wt(ct.Day,1);break;case"ccc":gt=tt(nt.Days,r.Abbreviated,i.Standalone);break;case"cccc":gt=tt(nt.Days,r.Wide,i.Standalone);break;case"ccccc":gt=tt(nt.Days,r.Narrow,i.Standalone);break;case"cccccc":gt=tt(nt.Days,r.Short,i.Standalone);break;case"E":case"EE":case"EEE":gt=tt(nt.Days,r.Abbreviated);break;case"EEEE":gt=tt(nt.Days,r.Wide);break;case"EEEEE":gt=tt(nt.Days,r.Narrow);break;case"EEEEEE":gt=tt(nt.Days,r.Short);break;case"a":case"aa":case"aaa":gt=tt(nt.DayPeriods,r.Abbreviated);break;case"aaaa":gt=tt(nt.DayPeriods,r.Wide);break;case"aaaaa":gt=tt(nt.DayPeriods,r.Narrow);break;case"b":case"bb":case"bbb":gt=tt(nt.DayPeriods,r.Abbreviated,i.Standalone,!0);break;case"bbbb":gt=tt(nt.DayPeriods,r.Wide,i.Standalone,!0);break;case"bbbbb":gt=tt(nt.DayPeriods,r.Narrow,i.Standalone,!0);break;case"B":case"BB":case"BBB":gt=tt(nt.DayPeriods,r.Abbreviated,i.Format,!0);break;case"BBBB":gt=tt(nt.DayPeriods,r.Wide,i.Format,!0);break;case"BBBBB":gt=tt(nt.DayPeriods,r.Narrow,i.Format,!0);break;case"h":gt=wt(ct.Hours,1,-12);break;case"hh":gt=wt(ct.Hours,2,-12);break;case"H":gt=wt(ct.Hours,1);break;case"HH":gt=wt(ct.Hours,2);break;case"m":gt=wt(ct.Minutes,1);break;case"mm":gt=wt(ct.Minutes,2);break;case"s":gt=wt(ct.Seconds,1);break;case"ss":gt=wt(ct.Seconds,2);break;case"S":gt=wt(ct.FractionalSeconds,1);break;case"SS":gt=wt(ct.FractionalSeconds,2);break;case"SSS":gt=wt(ct.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":gt=It(_t.Short);break;case"ZZZZZ":gt=It(_t.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":gt=It(_t.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":gt=It(_t.Long);break;default:return null}return at[Pe]=gt,gt}(Xt);Je+=di?di(ni,Le,Nt):"''"===Xt?"'":Xt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Je}function vt(Pe,gt,Le){const Mt=new Date(0);return Mt.setFullYear(Pe,gt,Le),Mt.setHours(0,0,0),Mt}function ne(Pe,gt){const Le=function S(Pe){return(0,t.cg1)(Pe)[t.wAp.LocaleId]}(Pe);if(ke[Le]=ke[Le]||{},ke[Le][gt])return ke[Le][gt];let Mt="";switch(gt){case"shortDate":Mt=W(Pe,h.Short);break;case"mediumDate":Mt=W(Pe,h.Medium);break;case"longDate":Mt=W(Pe,h.Long);break;case"fullDate":Mt=W(Pe,h.Full);break;case"shortTime":Mt=Oe(Pe,h.Short);break;case"mediumTime":Mt=Oe(Pe,h.Medium);break;case"longTime":Mt=Oe(Pe,h.Long);break;case"fullTime":Mt=Oe(Pe,h.Full);break;case"short":const ni=ne(Pe,"shortTime"),He=ne(Pe,"shortDate");Mt=Ht(it(Pe,h.Short),[ni,He]);break;case"medium":const ut=ne(Pe,"mediumTime"),Ct=ne(Pe,"mediumDate");Mt=Ht(it(Pe,h.Medium),[ut,Ct]);break;case"long":const Nt=ne(Pe,"longTime"),Je=ne(Pe,"longDate");Mt=Ht(it(Pe,h.Long),[Nt,Je]);break;case"full":const Xt=ne(Pe,"fullTime"),di=ne(Pe,"fullDate");Mt=Ht(it(Pe,h.Full),[Xt,di])}return Mt&&(ke[Le][gt]=Mt),Mt}function Ht(Pe,gt){return gt&&(Pe=Pe.replace(/\{([^}]+)}/g,function(Le,Mt){return null!=gt&&Mt in gt?gt[Mt]:Le})),Pe}function De(Pe,gt,Le="-",Mt,ni){let He="";(Pe<0||ni&&Pe<=0)&&(ni?Pe=1-Pe:(Pe=-Pe,He=Le));let ut=String(Pe);for(;ut.length<gt;)ut="0"+ut;return Mt&&(ut=ut.slice(ut.length-gt)),He+ut}function wt(Pe,gt,Le=0,Mt=!1,ni=!1){return function(He,ut){let Ct=function Re(Pe,gt){switch(Pe){case ct.FullYear:return gt.getFullYear();case ct.Month:return gt.getMonth();case ct.Date:return gt.getDate();case ct.Hours:return gt.getHours();case ct.Minutes:return gt.getMinutes();case ct.Seconds:return gt.getSeconds();case ct.FractionalSeconds:return gt.getMilliseconds();case ct.Day:return gt.getDay();default:throw new Error(`Unknown DateType value "${Pe}".`)}}(Pe,He);if((Le>0||Ct>-Le)&&(Ct+=Le),Pe===ct.Hours)0===Ct&&-12===Le&&(Ct=12);else if(Pe===ct.FractionalSeconds)return function ze(Pe,gt){return De(Pe,3).substring(0,gt)}(Ct,gt);const Nt=Ne(ut,c.MinusSign);return De(Ct,gt,Nt,Mt,ni)}}function tt(Pe,gt,Le=i.Format,Mt=!1){return function(ni,He){return function Bt(Pe,gt,Le,Mt,ni,He){switch(Le){case nt.Months:return function n(Pe,gt,Le){const Mt=(0,t.cg1)(Pe),He=me([Mt[t.wAp.MonthsFormat],Mt[t.wAp.MonthsStandalone]],gt);return me(He,Le)}(gt,ni,Mt)[Pe.getMonth()];case nt.Days:return function v(Pe,gt,Le){const Mt=(0,t.cg1)(Pe),He=me([Mt[t.wAp.DaysFormat],Mt[t.wAp.DaysStandalone]],gt);return me(He,Le)}(gt,ni,Mt)[Pe.getDay()];case nt.DayPeriods:const ut=Pe.getHours(),Ct=Pe.getMinutes();if(He){const Je=function Ae(Pe){const gt=(0,t.cg1)(Pe);return Ke(gt),(gt[t.wAp.ExtraData][2]||[]).map(Mt=>"string"==typeof Mt?Me(Mt):[Me(Mt[0]),Me(Mt[1])])}(gt),Xt=function oe(Pe,gt,Le){const Mt=(0,t.cg1)(Pe);Ke(Mt);const He=me([Mt[t.wAp.ExtraData][0],Mt[t.wAp.ExtraData][1]],gt)||[];return me(He,Le)||[]}(gt,ni,Mt),di=Je.findIndex(ti=>{if(Array.isArray(ti)){const[yi,Oi]=ti,Wi=ut>=yi.hours&&Ct>=yi.minutes,sn=ut<Oi.hours||ut===Oi.hours&&Ct<Oi.minutes;if(yi.hours<Oi.hours){if(Wi&&sn)return!0}else if(Wi||sn)return!0}else if(ti.hours===ut&&ti.minutes===Ct)return!0;return!1});if(-1!==di)return Xt[di]}return function k(Pe,gt,Le){const Mt=(0,t.cg1)(Pe),He=me([Mt[t.wAp.DayPeriodsFormat],Mt[t.wAp.DayPeriodsStandalone]],gt);return me(He,Le)}(gt,ni,Mt)[ut<12?0:1];case nt.Eras:return function b(Pe,gt){return me((0,t.cg1)(Pe)[t.wAp.Eras],gt)}(gt,Mt)[Pe.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${Le}`)}}(ni,He,Pe,gt,Le,Mt)}}function It(Pe){return function(gt,Le,Mt){const ni=-1*Mt,He=Ne(Le,c.MinusSign),ut=ni>0?Math.floor(ni/60):Math.ceil(ni/60);switch(Pe){case _t.Short:return(ni>=0?"+":"")+De(ut,2,He)+De(Math.abs(ni%60),2,He);case _t.ShortGMT:return"GMT"+(ni>=0?"+":"")+De(ut,1,He);case _t.Long:return"GMT"+(ni>=0?"+":"")+De(ut,2,He)+":"+De(Math.abs(ni%60),2,He);case _t.Extended:return 0===Mt?"Z":(ni>=0?"+":"")+De(ut,2,He)+":"+De(Math.abs(ni%60),2,He);default:throw new Error(`Unknown zone width "${Pe}"`)}}}function J(Pe){return vt(Pe.getFullYear(),Pe.getMonth(),Pe.getDate()+(4-Pe.getDay()))}function be(Pe,gt=!1){return function(Le,Mt){let ni;if(gt){const He=new Date(Le.getFullYear(),Le.getMonth(),1).getDay()-1,ut=Le.getDate();ni=1+Math.floor((ut+He)/7)}else{const He=J(Le),ut=function we(Pe){const gt=vt(Pe,0,1).getDay();return vt(Pe,0,1+(gt<=4?4:11)-gt)}(He.getFullYear()),Ct=He.getTime()-ut.getTime();ni=1+Math.round(Ct/6048e5)}return De(ni,Pe,Ne(Mt,c.MinusSign))}}function Fe(Pe,gt=!1){return function(Le,Mt){return De(J(Le).getFullYear(),Pe,Ne(Mt,c.MinusSign),gt)}}const at={};function Gt(Pe,gt){Pe=Pe.replace(/:/g,"");const Le=Date.parse("Jan 01, 1970 00:00:00 "+Pe)/6e4;return isNaN(Le)?gt:Le}function ri(Pe){return Pe instanceof Date&&!isNaN(Pe.valueOf())}const Ut=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function fi(Pe){const gt=parseInt(Pe);if(isNaN(gt))throw new Error("Invalid integer literal when parsing "+Pe);return gt}function si(Pe,gt){gt=encodeURIComponent(gt);for(const Le of Pe.split(";")){const Mt=Le.indexOf("="),[ni,He]=-1==Mt?[Le,""]:[Le.slice(0,Mt),Le.slice(Mt+1)];if(ni.trim()===gt)return decodeURIComponent(He)}return null}let _e=(()=>{class Pe{constructor(Le,Mt,ni,He){this._iterableDiffers=Le,this._keyValueDiffers=Mt,this._ngEl=ni,this._renderer=He,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(Le){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof Le?Le.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(Le){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof Le?Le.split(/\s+/):Le,this._rawClass&&((0,t.sIi)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const Le=this._iterableDiffer.diff(this._rawClass);Le&&this._applyIterableChanges(Le)}else if(this._keyValueDiffer){const Le=this._keyValueDiffer.diff(this._rawClass);Le&&this._applyKeyValueChanges(Le)}}_applyKeyValueChanges(Le){Le.forEachAddedItem(Mt=>this._toggleClass(Mt.key,Mt.currentValue)),Le.forEachChangedItem(Mt=>this._toggleClass(Mt.key,Mt.currentValue)),Le.forEachRemovedItem(Mt=>{Mt.previousValue&&this._toggleClass(Mt.key,!1)})}_applyIterableChanges(Le){Le.forEachAddedItem(Mt=>{if("string"!=typeof Mt.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,t.AaK)(Mt.item)}`);this._toggleClass(Mt.item,!0)}),Le.forEachRemovedItem(Mt=>this._toggleClass(Mt.item,!1))}_applyClasses(Le){Le&&(Array.isArray(Le)||Le instanceof Set?Le.forEach(Mt=>this._toggleClass(Mt,!0)):Object.keys(Le).forEach(Mt=>this._toggleClass(Mt,!!Le[Mt])))}_removeClasses(Le){Le&&(Array.isArray(Le)||Le instanceof Set?Le.forEach(Mt=>this._toggleClass(Mt,!1)):Object.keys(Le).forEach(Mt=>this._toggleClass(Mt,!1)))}_toggleClass(Le,Mt){(Le=Le.trim())&&Le.split(/\s+/g).forEach(ni=>{Mt?this._renderer.addClass(this._ngEl.nativeElement,ni):this._renderer.removeClass(this._ngEl.nativeElement,ni)})}}return Pe.\u0275fac=function(Le){return new(Le||Pe)(t.Y36(t.ZZ4),t.Y36(t.aQg),t.Y36(t.SBq),t.Y36(t.Qsj))},Pe.\u0275dir=t.lG2({type:Pe,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),Pe})();class ui{constructor(gt,Le,Mt,ni){this.$implicit=gt,this.ngForOf=Le,this.index=Mt,this.count=ni}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 Qt=(()=>{class Pe{constructor(Le,Mt,ni){this._viewContainer=Le,this._template=Mt,this._differs=ni,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(Le){this._ngForOf=Le,this._ngForOfDirty=!0}set ngForTrackBy(Le){this._trackByFn=Le}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(Le){Le&&(this._template=Le)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Le=this._ngForOf;!this._differ&&Le&&(this._differ=this._differs.find(Le).create(this.ngForTrackBy))}if(this._differ){const Le=this._differ.diff(this._ngForOf);Le&&this._applyChanges(Le)}}_applyChanges(Le){const Mt=this._viewContainer;Le.forEachOperation((ni,He,ut)=>{if(null==ni.previousIndex)Mt.createEmbeddedView(this._template,new ui(ni.item,this._ngForOf,-1,-1),null===ut?void 0:ut);else if(null==ut)Mt.remove(null===He?void 0:He);else if(null!==He){const Ct=Mt.get(He);Mt.move(Ct,ut),li(Ct,ni)}});for(let ni=0,He=Mt.length;ni<He;ni++){const Ct=Mt.get(ni).context;Ct.index=ni,Ct.count=He,Ct.ngForOf=this._ngForOf}Le.forEachIdentityChange(ni=>{li(Mt.get(ni.currentIndex),ni)})}static ngTemplateContextGuard(Le,Mt){return!0}}return Pe.\u0275fac=function(Le){return new(Le||Pe)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(t.ZZ4))},Pe.\u0275dir=t.lG2({type:Pe,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),Pe})();function li(Pe,gt){Pe.context.$implicit=gt.item}let dn=(()=>{class Pe{constructor(Le,Mt){this._viewContainer=Le,this._context=new Pn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Mt}set ngIf(Le){this._context.$implicit=this._context.ngIf=Le,this._updateView()}set ngIfThen(Le){lr("ngIfThen",Le),this._thenTemplateRef=Le,this._thenViewRef=null,this._updateView()}set ngIfElse(Le){lr("ngIfElse",Le),this._elseTemplateRef=Le,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(Le,Mt){return!0}}return Pe.\u0275fac=function(Le){return new(Le||Pe)(t.Y36(t.s_b),t.Y36(t.Rgc))},Pe.\u0275dir=t.lG2({type:Pe,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),Pe})();class Pn{constructor(){this.$implicit=null,this.ngIf=null}}function lr(Pe,gt){if(gt&&!gt.createEmbeddedView)throw new Error(`${Pe} must be a TemplateRef, but received '${(0,t.AaK)(gt)}'.`)}class Cn{constructor(gt,Le){this._viewContainerRef=gt,this._templateRef=Le,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(gt){gt&&!this._created?this.create():!gt&&this._created&&this.destroy()}}let Gr=(()=>{class Pe{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Le){this._ngSwitch=Le,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Le){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(Le)}_matchCase(Le){const Mt=Le==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Mt,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Mt}_updateDefaultCases(Le){if(this._defaultViews&&Le!==this._defaultUsed){this._defaultUsed=Le;for(let Mt=0;Mt<this._defaultViews.length;Mt++)this._defaultViews[Mt].enforceState(Le)}}}return Pe.\u0275fac=function(Le){return new(Le||Pe)},Pe.\u0275dir=t.lG2({type:Pe,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),Pe})(),pr=(()=>{class Pe{constructor(Le,Mt,ni){this.ngSwitch=ni,ni._addCase(),this._view=new Cn(Le,Mt)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return Pe.\u0275fac=function(Le){return new(Le||Pe)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(Gr,9))},Pe.\u0275dir=t.lG2({type:Pe,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),Pe})(),Fr=(()=>{class Pe{constructor(Le,Mt,ni){ni._addDefault(new Cn(Le,Mt))}}return Pe.\u0275fac=function(Le){return new(Le||Pe)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(Gr,9))},Pe.\u0275dir=t.lG2({type:Pe,selectors:[["","ngSwitchDefault",""]],standalone:!0}),Pe})(),Zt=(()=>{class Pe{constructor(Le,Mt,ni){this._ngEl=Le,this._differs=Mt,this._renderer=ni,this._ngStyle=null,this._differ=null}set ngStyle(Le){this._ngStyle=Le,!this._differ&&Le&&(this._differ=this._differs.find(Le).create())}ngDoCheck(){if(this._differ){const Le=this._differ.diff(this._ngStyle);Le&&this._applyChanges(Le)}}_setStyle(Le,Mt){const[ni,He]=Le.split("."),ut=-1===ni.indexOf("-")?void 0:t.JOm.DashCase;null!=Mt?this._renderer.setStyle(this._ngEl.nativeElement,ni,He?`${Mt}${He}`:Mt,ut):this._renderer.removeStyle(this._ngEl.nativeElement,ni,ut)}_applyChanges(Le){Le.forEachRemovedItem(Mt=>this._setStyle(Mt.key,null)),Le.forEachAddedItem(Mt=>this._setStyle(Mt.key,Mt.currentValue)),Le.forEachChangedItem(Mt=>this._setStyle(Mt.key,Mt.currentValue))}}return Pe.\u0275fac=function(Le){return new(Le||Pe)(t.Y36(t.SBq),t.Y36(t.aQg),t.Y36(t.Qsj))},Pe.\u0275dir=t.lG2({type:Pe,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),Pe})(),vi=(()=>{class Pe{constructor(Le){this._viewContainerRef=Le,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Le){if(Le.ngTemplateOutlet||Le.ngTemplateOutletInjector){const Mt=this._viewContainerRef;if(this._viewRef&&Mt.remove(Mt.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:ni,ngTemplateOutletContext:He,ngTemplateOutletInjector:ut}=this;this._viewRef=Mt.createEmbeddedView(ni,He,ut?{injector:ut}:void 0)}else this._viewRef=null}else this._viewRef&&Le.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return Pe.\u0275fac=function(Le){return new(Le||Pe)(t.Y36(t.s_b))},Pe.\u0275dir=t.lG2({type:Pe,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[t.TTD]}),Pe})();function bi(Pe,gt){return new t.vHH(2100,!1)}class Fi{createSubscription(gt,Le){return gt.subscribe({next:Le,error:Mt=>{throw Mt}})}dispose(gt){gt.unsubscribe()}}class qi{createSubscription(gt,Le){return gt.then(Le,Mt=>{throw Mt})}dispose(gt){}}const wn=new qi,qn=new Fi;let Bn=(()=>{class Pe{constructor(Le){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Le}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Le){return this._obj?Le!==this._obj?(this._dispose(),this.transform(Le)):this._latestValue:(Le&&this._subscribe(Le),this._latestValue)}_subscribe(Le){this._obj=Le,this._strategy=this._selectStrategy(Le),this._subscription=this._strategy.createSubscription(Le,Mt=>this._updateLatestValue(Le,Mt))}_selectStrategy(Le){if((0,t.QGY)(Le))return wn;if((0,t.F4k)(Le))return qn;throw bi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Le,Mt){Le===this._obj&&(this._latestValue=Mt,this._ref.markForCheck())}}return Pe.\u0275fac=function(Le){return new(Le||Pe)(t.Y36(t.sBO,16))},Pe.\u0275pipe=t.Yjl({name:"async",type:Pe,pure:!1,standalone:!0}),Pe})(),ar=(()=>{class Pe{transform(Le){if(null==Le)return null;if("string"!=typeof Le)throw bi();return Le.toLowerCase()}}return Pe.\u0275fac=function(Le){return new(Le||Pe)},Pe.\u0275pipe=t.Yjl({name:"lowercase",type:Pe,pure:!0,standalone:!0}),Pe})();const Nn=/(?:[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 Fn=(()=>{class Pe{transform(Le){if(null==Le)return null;if("string"!=typeof Le)throw bi();return Le.replace(Nn,Mt=>Mt[0].toUpperCase()+Mt.slice(1).toLowerCase())}}return Pe.\u0275fac=function(Le){return new(Le||Pe)},Pe.\u0275pipe=t.Yjl({name:"titlecase",type:Pe,pure:!0,standalone:!0}),Pe})(),ma=(()=>{class Pe{transform(Le){if(null==Le)return null;if("string"!=typeof Le)throw bi();return Le.toUpperCase()}}return Pe.\u0275fac=function(Le){return new(Le||Pe)},Pe.\u0275pipe=t.Yjl({name:"uppercase",type:Pe,pure:!0,standalone:!0}),Pe})();const ur=new t.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),za=new t.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Hr=(()=>{class Pe{constructor(Le,Mt,ni){this.locale=Le,this.defaultTimezone=Mt,this.defaultOptions=ni}transform(Le,Mt,ni,He){if(null==Le||""===Le||Le!=Le)return null;try{return Jt(Le,Mt??this.defaultOptions?.dateFormat??"mediumDate",He||this.locale,ni??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ut){throw bi()}}}return Pe.\u0275fac=function(Le){return new(Le||Pe)(t.Y36(t.soG,16),t.Y36(ur,24),t.Y36(za,24))},Pe.\u0275pipe=t.Yjl({name:"date",type:Pe,pure:!0,standalone:!0}),Pe})(),Er=(()=>{class Pe{transform(Le){return JSON.stringify(Le,null,2)}}return Pe.\u0275fac=function(Le){return new(Le||Pe)},Pe.\u0275pipe=t.Yjl({name:"json",type:Pe,pure:!1,standalone:!0}),Pe})(),Ca=(()=>{class Pe{constructor(Le){this.differs=Le,this.keyValues=[],this.compareFn=Va}transform(Le,Mt=Va){if(!Le||!(Le instanceof Map)&&"object"!=typeof Le)return null;this.differ||(this.differ=this.differs.find(Le).create());const ni=this.differ.diff(Le),He=Mt!==this.compareFn;return ni&&(this.keyValues=[],ni.forEachItem(ut=>{this.keyValues.push(function os(Pe,gt){return{key:Pe,value:gt}}(ut.key,ut.currentValue))})),(ni||He)&&(this.keyValues.sort(Mt),this.compareFn=Mt),this.keyValues}}return Pe.\u0275fac=function(Le){return new(Le||Pe)(t.Y36(t.aQg,16))},Pe.\u0275pipe=t.Yjl({name:"keyvalue",type:Pe,pure:!1,standalone:!0}),Pe})();function Va(Pe,gt){const Le=Pe.key,Mt=gt.key;if(Le===Mt)return 0;if(void 0===Le)return 1;if(void 0===Mt)return-1;if(null===Le)return 1;if(null===Mt)return-1;if("string"==typeof Le&&"string"==typeof Mt)return Le<Mt?-1:1;if("number"==typeof Le&&"number"==typeof Mt)return Le-Mt;if("boolean"==typeof Le&&"boolean"==typeof Mt)return Le<Mt?-1:1;const ni=String(Le),He=String(Mt);return ni==He?0:ni<He?-1:1}let cs=(()=>{class Pe{constructor(Le){this._locale=Le}transform(Le,Mt,ni){if(!function Dr(Pe){return!(null==Pe||""===Pe||Pe!=Pe)}(Le))return null;ni=ni||this._locale;try{return function qe(Pe,gt,Le){return function Li(Pe,gt,Le,Mt,ni,He,ut=!1){let Ct="",Nt=!1;if(isFinite(Pe)){let Je=function Dt(Pe){let Mt,ni,He,ut,Ct,gt=Math.abs(Pe)+"",Le=0;for((ni=gt.indexOf("."))>-1&&(gt=gt.replace(".","")),(He=gt.search(/e/i))>0?(ni<0&&(ni=He),ni+=+gt.slice(He+1),gt=gt.substring(0,He)):ni<0&&(ni=gt.length),He=0;"0"===gt.charAt(He);He++);if(He===(Ct=gt.length))Mt=[0],ni=1;else{for(Ct--;"0"===gt.charAt(Ct);)Ct--;for(ni-=He,Mt=[],ut=0;He<=Ct;He++,ut++)Mt[ut]=Number(gt.charAt(He))}return ni>22&&(Mt=Mt.splice(0,21),Le=ni-1,ni=1),{digits:Mt,exponent:Le,integerLen:ni}}(Pe);ut&&(Je=function ge(Pe){if(0===Pe.digits[0])return Pe;const gt=Pe.digits.length-Pe.integerLen;return Pe.exponent?Pe.exponent+=2:(0===gt?Pe.digits.push(0,0):1===gt&&Pe.digits.push(0),Pe.integerLen+=2),Pe}(Je));let Xt=gt.minInt,di=gt.minFrac,ti=gt.maxFrac;if(He){const Sn=He.match(Ut);if(null===Sn)throw new Error(`${He} is not a valid digit info`);const yr=Sn[1],kr=Sn[3],ra=Sn[5];null!=yr&&(Xt=fi(yr)),null!=kr&&(di=fi(kr)),null!=ra?ti=fi(ra):null!=kr&&di>ti&&(ti=di)}!function Kt(Pe,gt,Le){if(gt>Le)throw new Error(`The minimum number of digits after fraction (${gt}) is higher than the maximum (${Le}).`);let Mt=Pe.digits,ni=Mt.length-Pe.integerLen;const He=Math.min(Math.max(gt,ni),Le);let ut=He+Pe.integerLen,Ct=Mt[ut];if(ut>0){Mt.splice(Math.max(Pe.integerLen,ut));for(let di=ut;di<Mt.length;di++)Mt[di]=0}else{ni=Math.max(0,ni),Pe.integerLen=1,Mt.length=Math.max(1,ut=He+1),Mt[0]=0;for(let di=1;di<ut;di++)Mt[di]=0}if(Ct>=5)if(ut-1<0){for(let di=0;di>ut;di--)Mt.unshift(0),Pe.integerLen++;Mt.unshift(1),Pe.integerLen++}else Mt[ut-1]++;for(;ni<Math.max(0,He);ni++)Mt.push(0);let Nt=0!==He;const Je=gt+Pe.integerLen,Xt=Mt.reduceRight(function(di,ti,yi,Oi){return Oi[yi]=(ti+=di)<10?ti:ti-10,Nt&&(0===Oi[yi]&&yi>=Je?Oi.pop():Nt=!1),ti>=10?1:0},0);Xt&&(Mt.unshift(Xt),Pe.integerLen++)}(Je,di,ti);let yi=Je.digits,Oi=Je.integerLen;const Wi=Je.exponent;let sn=[];for(Nt=yi.every(Sn=>!Sn);Oi<Xt;Oi++)yi.unshift(0);for(;Oi<0;Oi++)yi.unshift(0);Oi>0?sn=yi.splice(Oi,yi.length):(sn=yi,yi=[0]);const un=[];for(yi.length>=gt.lgSize&&un.unshift(yi.splice(-gt.lgSize,yi.length).join(""));yi.length>gt.gSize;)un.unshift(yi.splice(-gt.gSize,yi.length).join(""));yi.length&&un.unshift(yi.join("")),Ct=un.join(Ne(Le,Mt)),sn.length&&(Ct+=Ne(Le,ni)+sn.join("")),Wi&&(Ct+=Ne(Le,c.Exponential)+"+"+Wi)}else Ct=Ne(Le,c.Infinity);return Ct=Pe<0&&!Nt?gt.negPre+Ct+gt.negSuf:gt.posPre+Ct+gt.posSuf,Ct}(Pe,function Tt(Pe,gt="-"){const Le={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Mt=Pe.split(";"),ni=Mt[0],He=Mt[1],ut=-1!==ni.indexOf(".")?ni.split("."):[ni.substring(0,ni.lastIndexOf("0")+1),ni.substring(ni.lastIndexOf("0")+1)],Ct=ut[0],Nt=ut[1]||"";Le.posPre=Ct.substring(0,Ct.indexOf("#"));for(let Xt=0;Xt<Nt.length;Xt++){const di=Nt.charAt(Xt);"0"===di?Le.minFrac=Le.maxFrac=Xt+1:"#"===di?Le.maxFrac=Xt+1:Le.posSuf+=di}const Je=Ct.split(",");if(Le.gSize=Je[1]?Je[1].length:0,Le.lgSize=Je[2]||Je[1]?(Je[2]||Je[1]).length:0,He){const Xt=ni.length-Le.posPre.length-Le.posSuf.length,di=He.indexOf("#");Le.negPre=He.substring(0,di).replace(/'/g,""),Le.negSuf=He.slice(di+Xt).replace(/'/g,"")}else Le.negPre=gt+Le.posPre,Le.negSuf=Le.posSuf;return Le}(function ot(Pe,gt){return(0,t.cg1)(Pe)[t.wAp.NumberFormats][gt]}(gt,he.Decimal),Ne(gt,c.MinusSign)),gt,c.Group,c.Decimal,Le)}(function xs(Pe){if("string"==typeof Pe&&!isNaN(Number(Pe)-parseFloat(Pe)))return Number(Pe);if("number"!=typeof Pe)throw new Error(`${Pe} is not a number`);return Pe}(Le),ni,Mt)}catch(He){throw bi()}}}return Pe.\u0275fac=function(Le){return new(Le||Pe)(t.Y36(t.soG,16))},Pe.\u0275pipe=t.Yjl({name:"number",type:Pe,pure:!0,standalone:!0}),Pe})();let qa=(()=>{class Pe{transform(Le,Mt,ni){if(null==Le)return null;if(!this.supports(Le))throw bi();return Le.slice(Mt,ni)}supports(Le){return"string"==typeof Le||Array.isArray(Le)}}return Pe.\u0275fac=function(Le){return new(Le||Pe)},Pe.\u0275pipe=t.Yjl({name:"slice",type:Pe,pure:!1,standalone:!0}),Pe})(),Ns=(()=>{class Pe{}return Pe.\u0275fac=function(Le){return new(Le||Pe)},Pe.\u0275mod=t.oAB({type:Pe}),Pe.\u0275inj=t.cJS({}),Pe})();const wa="browser";function Oa(Pe){return Pe===wa}function pa(Pe){return"server"===Pe}let ga=(()=>{class Pe{}return Pe.\u0275prov=(0,t.Yz7)({token:Pe,providedIn:"root",factory:()=>new Xa((0,t.LFG)(C),window)}),Pe})();class Xa{constructor(gt,Le){this.document=gt,this.window=Le,this.offset=()=>[0,0]}setOffset(gt){this.offset=Array.isArray(gt)?()=>gt:gt}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(gt){this.supportsScrolling()&&this.window.scrollTo(gt[0],gt[1])}scrollToAnchor(gt){if(!this.supportsScrolling())return;const Le=function us(Pe,gt){const Le=Pe.getElementById(gt)||Pe.getElementsByName(gt)[0];if(Le)return Le;if("function"==typeof Pe.createTreeWalker&&Pe.body&&(Pe.body.createShadowRoot||Pe.body.attachShadow)){const Mt=Pe.createTreeWalker(Pe.body,NodeFilter.SHOW_ELEMENT);let ni=Mt.currentNode;for(;ni;){const He=ni.shadowRoot;if(He){const ut=He.getElementById(gt)||He.querySelector(`[name="${gt}"]`);if(ut)return ut}ni=Mt.nextNode()}}return null}(this.document,gt);Le&&(this.scrollToElement(Le),Le.focus())}setHistoryScrollRestoration(gt){if(this.supportScrollRestoration()){const Le=this.window.history;Le&&Le.scrollRestoration&&(Le.scrollRestoration=gt)}}scrollToElement(gt){const Le=gt.getBoundingClientRect(),Mt=Le.left+this.window.pageXOffset,ni=Le.top+this.window.pageYOffset,He=this.offset();this.window.scrollTo(Mt-He[0],ni-He[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const gt=Ma(this.window.history)||Ma(Object.getPrototypeOf(this.window.history));return!(!gt||!gt.writable&&!gt.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Ma(Pe){return Object.getOwnPropertyDescriptor(Pe,"scrollRestoration")}class Sa{}},529:(Ge,Q,m)=>{"use strict";m.d(Q,{JF:()=>It,LE:()=>j,TP:()=>b,eN:()=>S});var t=m(6895),e=m(4650),g=m(9646),A=m(9751),o=m(4351),C=m(9300),u=m(4004);class O{}class d{}class M{constructor(J){this.normalizedNames=new Map,this.lazyUpdate=null,J?this.lazyInit="string"==typeof J?()=>{this.headers=new Map,J.split("\n").forEach(be=>{const Fe=be.indexOf(":");if(Fe>0){const at=be.slice(0,Fe),ii=at.toLowerCase(),Gt=be.slice(Fe+1).trim();this.maybeSetNormalizedName(at,ii),this.headers.has(ii)?this.headers.get(ii).push(Gt):this.headers.set(ii,[Gt])}})}:()=>{this.headers=new Map,Object.keys(J).forEach(be=>{let Fe=J[be];const at=be.toLowerCase();"string"==typeof Fe&&(Fe=[Fe]),Fe.length>0&&(this.headers.set(at,Fe),this.maybeSetNormalizedName(be,at))})}:this.headers=new Map}has(J){return this.init(),this.headers.has(J.toLowerCase())}get(J){this.init();const be=this.headers.get(J.toLowerCase());return be&&be.length>0?be[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(J){return this.init(),this.headers.get(J.toLowerCase())||null}append(J,be){return this.clone({name:J,value:be,op:"a"})}set(J,be){return this.clone({name:J,value:be,op:"s"})}delete(J,be){return this.clone({name:J,value:be,op:"d"})}maybeSetNormalizedName(J,be){this.normalizedNames.has(be)||this.normalizedNames.set(be,J)}init(){this.lazyInit&&(this.lazyInit instanceof M?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(J=>this.applyUpdate(J)),this.lazyUpdate=null))}copyFrom(J){J.init(),Array.from(J.headers.keys()).forEach(be=>{this.headers.set(be,J.headers.get(be)),this.normalizedNames.set(be,J.normalizedNames.get(be))})}clone(J){const be=new M;return be.lazyInit=this.lazyInit&&this.lazyInit instanceof M?this.lazyInit:this,be.lazyUpdate=(this.lazyUpdate||[]).concat([J]),be}applyUpdate(J){const be=J.name.toLowerCase();switch(J.op){case"a":case"s":let Fe=J.value;if("string"==typeof Fe&&(Fe=[Fe]),0===Fe.length)return;this.maybeSetNormalizedName(J.name,be);const at=("a"===J.op?this.headers.get(be):void 0)||[];at.push(...Fe),this.headers.set(be,at);break;case"d":const ii=J.value;if(ii){let Gt=this.headers.get(be);if(!Gt)return;Gt=Gt.filter(ei=>-1===ii.indexOf(ei)),0===Gt.length?(this.headers.delete(be),this.normalizedNames.delete(be)):this.headers.set(be,Gt)}else this.headers.delete(be),this.normalizedNames.delete(be)}}forEach(J){this.init(),Array.from(this.normalizedNames.keys()).forEach(be=>J(this.normalizedNames.get(be),this.headers.get(be)))}}class L{encodeKey(J){return Z(J)}encodeValue(J){return Z(J)}decodeKey(J){return decodeURIComponent(J)}decodeValue(J){return decodeURIComponent(J)}}const P=/%(\d[a-f0-9])/gi,U={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Z(we){return encodeURIComponent(we).replace(P,(J,be)=>U[be]??J)}function Y(we){return`${we}`}class j{constructor(J={}){if(this.updates=null,this.cloneFrom=null,this.encoder=J.encoder||new L,J.fromString){if(J.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function I(we,J){const be=new Map;return we.length>0&&we.replace(/^\?/,"").split("&").forEach(at=>{const ii=at.indexOf("="),[Gt,ei]=-1==ii?[J.decodeKey(at),""]:[J.decodeKey(at.slice(0,ii)),J.decodeValue(at.slice(ii+1))],ht=be.get(Gt)||[];ht.push(ei),be.set(Gt,ht)}),be}(J.fromString,this.encoder)}else J.fromObject?(this.map=new Map,Object.keys(J.fromObject).forEach(be=>{const Fe=J.fromObject[be],at=Array.isArray(Fe)?Fe.map(Y):[Y(Fe)];this.map.set(be,at)})):this.map=null}has(J){return this.init(),this.map.has(J)}get(J){this.init();const be=this.map.get(J);return be?be[0]:null}getAll(J){return this.init(),this.map.get(J)||null}keys(){return this.init(),Array.from(this.map.keys())}append(J,be){return this.clone({param:J,value:be,op:"a"})}appendAll(J){const be=[];return Object.keys(J).forEach(Fe=>{const at=J[Fe];Array.isArray(at)?at.forEach(ii=>{be.push({param:Fe,value:ii,op:"a"})}):be.push({param:Fe,value:at,op:"a"})}),this.clone(be)}set(J,be){return this.clone({param:J,value:be,op:"s"})}delete(J,be){return this.clone({param:J,value:be,op:"d"})}toString(){return this.init(),this.keys().map(J=>{const be=this.encoder.encodeKey(J);return this.map.get(J).map(Fe=>be+"="+this.encoder.encodeValue(Fe)).join("&")}).filter(J=>""!==J).join("&")}clone(J){const be=new j({encoder:this.encoder});return be.cloneFrom=this.cloneFrom||this,be.updates=(this.updates||[]).concat(J),be}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(J=>this.map.set(J,this.cloneFrom.map.get(J))),this.updates.forEach(J=>{switch(J.op){case"a":case"s":const be=("a"===J.op?this.map.get(J.param):void 0)||[];be.push(Y(J.value)),this.map.set(J.param,be);break;case"d":if(void 0===J.value){this.map.delete(J.param);break}{let Fe=this.map.get(J.param)||[];const at=Fe.indexOf(Y(J.value));-1!==at&&Fe.splice(at,1),Fe.length>0?this.map.set(J.param,Fe):this.map.delete(J.param)}}}),this.cloneFrom=this.updates=null)}}class ee{constructor(){this.map=new Map}set(J,be){return this.map.set(J,be),this}get(J){return this.map.has(J)||this.map.set(J,J.defaultValue()),this.map.get(J)}delete(J){return this.map.delete(J),this}has(J){return this.map.has(J)}keys(){return this.map.keys()}}function le(we){return typeof ArrayBuffer<"u"&&we instanceof ArrayBuffer}function ie(we){return typeof Blob<"u"&&we instanceof Blob}function ce(we){return typeof FormData<"u"&&we instanceof FormData}class he{constructor(J,be,Fe,at){let ii;if(this.url=be,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=J.toUpperCase(),function ue(we){switch(we){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||at?(this.body=void 0!==Fe?Fe:null,ii=at):ii=Fe,ii&&(this.reportProgress=!!ii.reportProgress,this.withCredentials=!!ii.withCredentials,ii.responseType&&(this.responseType=ii.responseType),ii.headers&&(this.headers=ii.headers),ii.context&&(this.context=ii.context),ii.params&&(this.params=ii.params)),this.headers||(this.headers=new M),this.context||(this.context=new ee),this.params){const Gt=this.params.toString();if(0===Gt.length)this.urlWithParams=be;else{const ei=be.indexOf("?");this.urlWithParams=be+(-1===ei?"?":ei<be.length-1?"&":"")+Gt}}else this.params=new j,this.urlWithParams=be}serializeBody(){return null===this.body?null:le(this.body)||ie(this.body)||ce(this.body)||function se(we){return typeof URLSearchParams<"u"&&we instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof j?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||ce(this.body)?null:ie(this.body)?this.body.type||null:le(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof j?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(J={}){const be=J.method||this.method,Fe=J.url||this.url,at=J.responseType||this.responseType,ii=void 0!==J.body?J.body:this.body,Gt=void 0!==J.withCredentials?J.withCredentials:this.withCredentials,ei=void 0!==J.reportProgress?J.reportProgress:this.reportProgress;let ht=J.headers||this.headers,rt=J.params||this.params;const yt=J.context??this.context;return void 0!==J.setHeaders&&(ht=Object.keys(J.setHeaders).reduce((ri,Ut)=>ri.set(Ut,J.setHeaders[Ut]),ht)),J.setParams&&(rt=Object.keys(J.setParams).reduce((ri,Ut)=>ri.set(Ut,J.setParams[Ut]),rt)),new he(be,Fe,ii,{params:rt,headers:ht,context:yt,reportProgress:ei,responseType:at,withCredentials:Gt})}}var E=(()=>((E=E||{})[E.Sent=0]="Sent",E[E.UploadProgress=1]="UploadProgress",E[E.ResponseHeader=2]="ResponseHeader",E[E.DownloadProgress=3]="DownloadProgress",E[E.Response=4]="Response",E[E.User=5]="User",E))();class i{constructor(J,be=200,Fe="OK"){this.headers=J.headers||new M,this.status=void 0!==J.status?J.status:be,this.statusText=J.statusText||Fe,this.url=J.url||null,this.ok=this.status>=200&&this.status<300}}class r extends i{constructor(J={}){super(J),this.type=E.ResponseHeader}clone(J={}){return new r({headers:J.headers||this.headers,status:void 0!==J.status?J.status:this.status,statusText:J.statusText||this.statusText,url:J.url||this.url||void 0})}}class h extends i{constructor(J={}){super(J),this.type=E.Response,this.body=void 0!==J.body?J.body:null}clone(J={}){return new h({body:void 0!==J.body?J.body:this.body,headers:J.headers||this.headers,status:void 0!==J.status?J.status:this.status,statusText:J.statusText||this.statusText,url:J.url||this.url||void 0})}}class c extends i{constructor(J){super(J,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${J.url||"(unknown url)"}`:`Http failure response for ${J.url||"(unknown url)"}: ${J.status} ${J.statusText}`,this.error=J.error||null}}function y(we,J){return{body:J,headers:we.headers,context:we.context,observe:we.observe,params:we.params,reportProgress:we.reportProgress,responseType:we.responseType,withCredentials:we.withCredentials}}let S=(()=>{class we{constructor(be){this.handler=be}request(be,Fe,at={}){let ii;if(be instanceof he)ii=be;else{let ht,rt;ht=at.headers instanceof M?at.headers:new M(at.headers),at.params&&(rt=at.params instanceof j?at.params:new j({fromObject:at.params})),ii=new he(be,Fe,void 0!==at.body?at.body:null,{headers:ht,context:at.context,params:rt,reportProgress:at.reportProgress,responseType:at.responseType||"json",withCredentials:at.withCredentials})}const Gt=(0,g.of)(ii).pipe((0,o.b)(ht=>this.handler.handle(ht)));if(be instanceof he||"events"===at.observe)return Gt;const ei=Gt.pipe((0,C.h)(ht=>ht instanceof h));switch(at.observe||"body"){case"body":switch(ii.responseType){case"arraybuffer":return ei.pipe((0,u.U)(ht=>{if(null!==ht.body&&!(ht.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return ht.body}));case"blob":return ei.pipe((0,u.U)(ht=>{if(null!==ht.body&&!(ht.body instanceof Blob))throw new Error("Response is not a Blob.");return ht.body}));case"text":return ei.pipe((0,u.U)(ht=>{if(null!==ht.body&&"string"!=typeof ht.body)throw new Error("Response is not a string.");return ht.body}));default:return ei.pipe((0,u.U)(ht=>ht.body))}case"response":return ei;default:throw new Error(`Unreachable: unhandled observe type ${at.observe}}`)}}delete(be,Fe={}){return this.request("DELETE",be,Fe)}get(be,Fe={}){return this.request("GET",be,Fe)}head(be,Fe={}){return this.request("HEAD",be,Fe)}jsonp(be,Fe){return this.request("JSONP",be,{params:(new j).append(Fe,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(be,Fe={}){return this.request("OPTIONS",be,Fe)}patch(be,Fe,at={}){return this.request("PATCH",be,y(at,Fe))}post(be,Fe,at={}){return this.request("POST",be,y(at,Fe))}put(be,Fe,at={}){return this.request("PUT",be,y(at,Fe))}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(O))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac}),we})();function k(we,J){return J(we)}function v(we,J){return(be,Fe)=>J.intercept(be,{handle:at=>we(at,Fe)})}const b=new e.OlP("HTTP_INTERCEPTORS"),B=new e.OlP("HTTP_INTERCEPTOR_FNS");function z(){let we=null;return(J,be)=>(null===we&&(we=((0,e.f3M)(b,{optional:!0})??[]).reduceRight(v,k)),we(J,be))}let W=(()=>{class we extends O{constructor(be,Fe){super(),this.backend=be,this.injector=Fe,this.chain=null}handle(be){if(null===this.chain){const Fe=Array.from(new Set(this.injector.get(B)));this.chain=Fe.reduceRight((at,ii)=>function n(we,J,be){return(Fe,at)=>be.runInContext(()=>J(Fe,ii=>we(ii,at)))}(at,ii,this.injector),k)}return this.chain(be,Fe=>this.backend.handle(Fe))}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(d),e.LFG(e.lqb))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac}),we})();const oe=/^\)\]\}',?\n/;let me=(()=>{class we{constructor(be){this.xhrFactory=be}handle(be){if("JSONP"===be.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new A.y(Fe=>{const at=this.xhrFactory.build();if(at.open(be.method,be.urlWithParams),be.withCredentials&&(at.withCredentials=!0),be.headers.forEach((Vt,Ft)=>at.setRequestHeader(Vt,Ft.join(","))),be.headers.has("Accept")||at.setRequestHeader("Accept","application/json, text/plain, */*"),!be.headers.has("Content-Type")){const Vt=be.detectContentTypeHeader();null!==Vt&&at.setRequestHeader("Content-Type",Vt)}if(be.responseType){const Vt=be.responseType.toLowerCase();at.responseType="json"!==Vt?Vt:"text"}const ii=be.serializeBody();let Gt=null;const ei=()=>{if(null!==Gt)return Gt;const Vt=at.statusText||"OK",Ft=new M(at.getAllResponseHeaders()),Qe=function ye(we){return"responseURL"in we&&we.responseURL?we.responseURL:/^X-Request-URL:/m.test(we.getAllResponseHeaders())?we.getResponseHeader("X-Request-URL"):null}(at)||be.url;return Gt=new r({headers:Ft,status:at.status,statusText:Vt,url:Qe}),Gt},ht=()=>{let{headers:Vt,status:Ft,statusText:Qe,url:Ve}=ei(),je=null;204!==Ft&&(je=typeof at.response>"u"?at.responseText:at.response),0===Ft&&(Ft=je?200:0);let Xe=Ft>=200&&Ft<300;if("json"===be.responseType&&"string"==typeof je){const Et=je;je=je.replace(oe,"");try{je=""!==je?JSON.parse(je):null}catch(mi){je=Et,Xe&&(Xe=!1,je={error:mi,text:je})}}Xe?(Fe.next(new h({body:je,headers:Vt,status:Ft,statusText:Qe,url:Ve||void 0})),Fe.complete()):Fe.error(new c({error:je,headers:Vt,status:Ft,statusText:Qe,url:Ve||void 0}))},rt=Vt=>{const{url:Ft}=ei(),Qe=new c({error:Vt,status:at.status||0,statusText:at.statusText||"Unknown Error",url:Ft||void 0});Fe.error(Qe)};let yt=!1;const ri=Vt=>{yt||(Fe.next(ei()),yt=!0);let Ft={type:E.DownloadProgress,loaded:Vt.loaded};Vt.lengthComputable&&(Ft.total=Vt.total),"text"===be.responseType&&!!at.responseText&&(Ft.partialText=at.responseText),Fe.next(Ft)},Ut=Vt=>{let Ft={type:E.UploadProgress,loaded:Vt.loaded};Vt.lengthComputable&&(Ft.total=Vt.total),Fe.next(Ft)};return at.addEventListener("load",ht),at.addEventListener("error",rt),at.addEventListener("timeout",rt),at.addEventListener("abort",rt),be.reportProgress&&(at.addEventListener("progress",ri),null!==ii&&at.upload&&at.upload.addEventListener("progress",Ut)),at.send(ii),Fe.next({type:E.Sent}),()=>{at.removeEventListener("error",rt),at.removeEventListener("abort",rt),at.removeEventListener("load",ht),at.removeEventListener("timeout",rt),be.reportProgress&&(at.removeEventListener("progress",ri),null!==ii&&at.upload&&at.upload.removeEventListener("progress",Ut)),at.readyState!==at.DONE&&at.abort()}})}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(t.JF))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac}),we})();const Me=new e.OlP("XSRF_ENABLED"),Ze="XSRF-TOKEN",q=new e.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Ze}),de="X-XSRF-TOKEN",xe=new e.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>de});class ke{}let ft=(()=>{class we{constructor(be,Fe,at){this.doc=be,this.platform=Fe,this.cookieName=at,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const be=this.doc.cookie||"";return be!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,t.Mx)(be,this.cookieName),this.lastCookieString=be),this.lastToken}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(t.K0),e.LFG(e.Lbi),e.LFG(q))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac}),we})();function _t(we,J){const be=we.url.toLowerCase();if(!(0,e.f3M)(Me)||"GET"===we.method||"HEAD"===we.method||be.startsWith("http://")||be.startsWith("https://"))return J(we);const Fe=(0,e.f3M)(ke).getToken(),at=(0,e.f3M)(xe);return null!=Fe&&!we.headers.has(at)&&(we=we.clone({headers:we.headers.set(at,Fe)})),J(we)}var nt=(()=>((nt=nt||{})[nt.Interceptors=0]="Interceptors",nt[nt.LegacyInterceptors=1]="LegacyInterceptors",nt[nt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",nt[nt.NoXsrfProtection=3]="NoXsrfProtection",nt[nt.JsonpSupport=4]="JsonpSupport",nt[nt.RequestsMadeViaParent=5]="RequestsMadeViaParent",nt))();function Jt(we,J){return{\u0275kind:we,\u0275providers:J}}function vt(...we){const J=[S,me,W,{provide:O,useExisting:W},{provide:d,useExisting:me},{provide:B,useValue:_t,multi:!0},{provide:Me,useValue:!0},{provide:ke,useClass:ft}];for(const be of we)J.push(...be.\u0275providers);return(0,e.MR2)(J)}const Ht=new e.OlP("LEGACY_INTERCEPTOR_FN");function ze({cookieName:we,headerName:J}){const be=[];return void 0!==we&&be.push({provide:q,useValue:we}),void 0!==J&&be.push({provide:xe,useValue:J}),Jt(nt.CustomXsrfConfiguration,be)}let It=(()=>{class we{}return we.\u0275fac=function(be){return new(be||we)},we.\u0275mod=e.oAB({type:we}),we.\u0275inj=e.cJS({providers:[vt(Jt(nt.LegacyInterceptors,[{provide:Ht,useFactory:z},{provide:B,useExisting:Ht,multi:!0}]),ze({cookieName:Ze,headerName:de}))]}),we})()},4650:(Ge,Q,m)=>{"use strict";m.d(Q,{$8M:()=>Rc,$Z:()=>Xo,AFp:()=>Ep,ALo:()=>U6,AaK:()=>O,AsE:()=>Ho,BQk:()=>ou,CHM:()=>Fs,CRH:()=>X6,CZH:()=>h4,CqO:()=>Xn,D6c:()=>Q8,DdM:()=>R6,Dn7:()=>G6,EJc:()=>_8,EiD:()=>Bd,EpF:()=>nf,F$t:()=>k0,F4k:()=>lu,FYo:()=>uo,FiY:()=>Wo,Gf:()=>J6,GfV:()=>M2,GkF:()=>k3,Gpc:()=>w,Gre:()=>K3,HOy:()=>W3,Hsn:()=>_o,Ikx:()=>Tu,JOm:()=>As,JVY:()=>Dd,JZr:()=>Z,Jf7:()=>T2,KtG:()=>Vo,L6k:()=>mh,LAX:()=>gh,LFG:()=>zt,Lbi:()=>p8,Lck:()=>Ig,MAs:()=>tf,MGl:()=>En,MMx:()=>zf,MR2:()=>Ch,NdJ:()=>$o,O4$:()=>wo,OlP:()=>xr,Oqu:()=>U0,P3R:()=>xh,PXZ:()=>D8,Q6J:()=>D3,QGY:()=>cu,QP$:()=>Wt,QbO:()=>Lp,Qsj:()=>Sh,R0b:()=>zo,RDi:()=>Md,Rgc:()=>Ru,SBq:()=>Kc,Sil:()=>b8,Suo:()=>am,TTD:()=>Xa,TgZ:()=>au,Tol:()=>yu,Udp:()=>_u,VKq:()=>Zf,W1O:()=>ip,WFA:()=>D0,WLB:()=>N6,X6Q:()=>P8,XFs:()=>Ze,Xpm:()=>Li,Xts:()=>g2,Y36:()=>mo,YKP:()=>E6,YNc:()=>ef,Yjl:()=>fi,Yz7:()=>Ne,Z0I:()=>fe,ZZ4:()=>y4,_Bn:()=>S6,_UZ:()=>I3,_Vd:()=>qs,_c5:()=>rg,_uU:()=>Z3,aQg:()=>Em,c2e:()=>g8,cJS:()=>Ie,cg1:()=>Au,d8E:()=>X3,dDg:()=>T8,dqk:()=>_t,eBb:()=>ph,eFA:()=>Gp,ekj:()=>vu,eoX:()=>Hp,f3M:()=>we,g9A:()=>Ap,h0i:()=>W0,hGG:()=>K8,hYB:()=>O0,hij:()=>$s,iGM:()=>q6,ifc:()=>ri,ip1:()=>Sp,jDz:()=>A6,kEZ:()=>Wf,kL8:()=>G0,kcU:()=>cc,lG2:()=>Kt,lcZ:()=>Yf,lnq:()=>Mu,lqb:()=>wc,lri:()=>Np,mCW:()=>n1,n5z:()=>P1,n_E:()=>n4,oAB:()=>Tt,oJD:()=>Gd,oxw:()=>I0,pB0:()=>Id,q3G:()=>Kr,qLn:()=>Qc,qOj:()=>x3,qZA:()=>G2,qzn:()=>Zc,rWj:()=>Fp,s9C:()=>ec,sBO:()=>F8,sIi:()=>E0,s_b:()=>a4,soG:()=>f4,tBr:()=>Hc,tb:()=>um,tp0:()=>Yo,uIk:()=>E3,vHH:()=>Y,vpe:()=>il,wAp:()=>Rn,xi3:()=>jf,xp6:()=>L2,ynx:()=>su,z2F:()=>p4,z3N:()=>as,zSh:()=>jc,zs3:()=>Jo});var t=m(7579),e=m(727),g=m(9751),A=m(6451),o=m(3099);function C(s){for(let l in s)if(s[l]===C)return l;throw Error("Could not find renamed property on target object.")}function u(s,l){for(const p in l)l.hasOwnProperty(p)&&!s.hasOwnProperty(p)&&(s[p]=l[p])}function O(s){if("string"==typeof s)return s;if(Array.isArray(s))return"["+s.map(O).join(", ")+"]";if(null==s)return""+s;if(s.overriddenName)return`${s.overriddenName}`;if(s.name)return`${s.name}`;const l=s.toString();if(null==l)return""+l;const p=l.indexOf("\n");return-1===p?l:l.substring(0,p)}function d(s,l){return null==s||""===s?null===l?"":l:null==l||""===l?s:s+" "+l}const M=C({__forward_ref__:C});function w(s){return s.__forward_ref__=w,s.toString=function(){return O(this())},s}function L(s){return I(s)?s():s}function I(s){return"function"==typeof s&&s.hasOwnProperty(M)&&s.__forward_ref__===w}function P(s){return s&&!!s.\u0275providers}const Z="https://g.co/ng/security#xss";class Y extends Error{constructor(l,p){super(function j(s,l){return`NG0${Math.abs(s)}${l?": "+l.trim():""}`}(l,p)),this.code=l}}function X(s){return"string"==typeof s?s:null==s?"":String(s)}function ce(s,l){throw new Y(-201,!1)}function B(s,l){null==s&&function z(s,l,p,T){throw new Error(`ASSERTION ERROR: ${s}`+(null==T?"":` [Expected=> ${p} ${T} ${l} <=Actual]`))}(l,s,null,"!=")}function Ne(s){return{token:s.token,providedIn:s.providedIn||null,factory:s.factory,value:void 0}}function Ie(s){return{providers:s.providers||[],imports:s.imports||[]}}function ve(s){return Se(s,oe)||Se(s,me)}function fe(s){return null!==ve(s)}function Se(s,l){return s.hasOwnProperty(l)?s[l]:null}function Ae(s){return s&&(s.hasOwnProperty(ye)||s.hasOwnProperty(Me))?s[ye]:null}const oe=C({\u0275prov:C}),ye=C({\u0275inj:C}),me=C({ngInjectableDef:C}),Me=C({ngInjectorDef:C});var Ze=(()=>((Ze=Ze||{})[Ze.Default=0]="Default",Ze[Ze.Host=1]="Host",Ze[Ze.Self=2]="Self",Ze[Ze.SkipSelf=4]="SkipSelf",Ze[Ze.Optional=8]="Optional",Ze))();let q;function xe(s){const l=q;return q=s,l}function ke(s,l,p){const T=ve(s);return T&&"root"==T.providedIn?void 0===T.value?T.value=T.factory():T.value:p&Ze.Optional?null:void 0!==l?l:void ce(O(s))}const _t=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),vt={},ne="__NG_DI_FLAG__",Ht="ngTempTokenPath",ze=/\n/gm,Re="__source";let tt;function Bt(s){const l=tt;return tt=s,l}function It(s,l=Ze.Default){if(void 0===tt)throw new Y(-203,!1);return null===tt?ke(s,void 0,l):tt.get(s,l&Ze.Optional?null:void 0,l)}function zt(s,l=Ze.Default){return(function de(){return q}()||It)(L(s),l)}function we(s,l=Ze.Default){return zt(s,J(l))}function J(s){return typeof s>"u"||"number"==typeof s?s:0|(s.optional&&8)|(s.host&&1)|(s.self&&2)|(s.skipSelf&&4)}function be(s){const l=[];for(let p=0;p<s.length;p++){const T=L(s[p]);if(Array.isArray(T)){if(0===T.length)throw new Y(900,!1);let F,G=Ze.Default;for(let ae=0;ae<T.length;ae++){const Ee=T[ae],Ye=at(Ee);"number"==typeof Ye?-1===Ye?F=Ee.token:G|=Ye:F=Ee}l.push(zt(F,G))}else l.push(zt(T))}return l}function Fe(s,l){return s[ne]=l,s.prototype[ne]=l,s}function at(s){return s[ne]}function ei(s){return{toString:s}.toString()}var ht=(()=>((ht=ht||{})[ht.OnPush=0]="OnPush",ht[ht.Default=1]="Default",ht))(),ri=(()=>{return(s=ri||(ri={}))[s.Emulated=0]="Emulated",s[s.None=2]="None",s[s.ShadowDom=3]="ShadowDom",ri;var s})();const Ut={},Vt=[],Ft=C({\u0275cmp:C}),Qe=C({\u0275dir:C}),Ve=C({\u0275pipe:C}),je=C({\u0275mod:C}),Xe=C({\u0275fac:C}),Et=C({__NG_ELEMENT_ID__:C});let mi=0;function Li(s){return ei(()=>{const p=!0===s.standalone,T={},F={type:s.type,providersResolver:null,decls:s.decls,vars:s.vars,factory:null,template:s.template||null,consts:s.consts||null,ngContentSelectors:s.ngContentSelectors,hostBindings:s.hostBindings||null,hostVars:s.hostVars||0,hostAttrs:s.hostAttrs||null,contentQueries:s.contentQueries||null,declaredInputs:T,inputs:null,outputs:null,exportAs:s.exportAs||null,onPush:s.changeDetection===ht.OnPush,directiveDefs:null,pipeDefs:null,standalone:p,dependencies:p&&s.dependencies||null,getStandaloneInjector:null,selectors:s.selectors||Vt,viewQuery:s.viewQuery||null,features:s.features||null,data:s.data||{},encapsulation:s.encapsulation||ri.Emulated,id:"c"+mi++,styles:s.styles||Vt,_:null,setInput:null,schemas:s.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},G=s.dependencies,ae=s.features;return F.inputs=Dt(s.inputs,T),F.outputs=Dt(s.outputs),ae&&ae.forEach(Ee=>Ee(F)),F.directiveDefs=G?()=>("function"==typeof G?G():G).map(Vi).filter(qe):null,F.pipeDefs=G?()=>("function"==typeof G?G():G).map(Ui).filter(qe):null,F})}function Vi(s){return Mi(s)||Pi(s)}function qe(s){return null!==s}function Tt(s){return ei(()=>({type:s.type,bootstrap:s.bootstrap||Vt,declarations:s.declarations||Vt,imports:s.imports||Vt,exports:s.exports||Vt,transitiveCompileScopes:null,schemas:s.schemas||null,id:s.id||null}))}function Dt(s,l){if(null==s)return Ut;const p={};for(const T in s)if(s.hasOwnProperty(T)){let F=s[T],G=F;Array.isArray(F)&&(G=F[1],F=F[0]),p[F]=T,l&&(l[F]=G)}return p}const Kt=Li;function fi(s){return{type:s.type,name:s.name,factory:null,pure:!1!==s.pure,standalone:!0===s.standalone,onDestroy:s.type.prototype.ngOnDestroy||null}}function Mi(s){return s[Ft]||null}function Pi(s){return s[Qe]||null}function Ui(s){return s[Ve]||null}function Wt(s){const l=Mi(s)||Pi(s)||Ui(s);return null!==l&&l.standalone}function si(s,l){const p=s[je]||null;if(!p&&!0===l)throw new Error(`Type ${O(s)} does not have '\u0275mod' property.`);return p}function ir(s){return Array.isArray(s)&&"object"==typeof s[1]}function ur(s){return Array.isArray(s)&&!0===s[1]}function za(s){return 0!=(4&s.flags)}function Hr(s){return s.componentOffset>-1}function Yr(s){return 1==(1&s.flags)}function dr(s){return null!==s.template}function Lr(s){return 0!=(256&s[2])}function Vr(s,l){return s.hasOwnProperty(Xe)?s[Xe]:null}class ga{constructor(l,p,T){this.previousValue=l,this.currentValue=p,this.firstChange=T}isFirstChange(){return this.firstChange}}function Xa(){return Ma}function Ma(s){return s.type.prototype.ngOnChanges&&(s.setInput=Zr),us}function us(){const s=Ba(this),l=s?.current;if(l){const p=s.previous;if(p===Ut)s.previous=l;else for(let T in l)p[T]=l[T];s.current=null,this.ngOnChanges(l)}}function Zr(s,l,p,T){const F=this.declaredInputs[p],G=Ba(s)||function Jr(s,l){return s[Sa]=l}(s,{previous:Ut,current:null}),ae=G.current||(G.current={}),Ee=G.previous,Ye=Ee[F];ae[F]=new ga(Ye&&Ye.currentValue,l,Ee===Ut),s[T]=l}Xa.ngInherit=!0;const Sa="__ngSimpleChanges__";function Ba(s){return s[Sa]||null}function Jn(s){for(;Array.isArray(s);)s=s[0];return s}function Ea(s,l){return Jn(l[s])}function hr(s,l){return Jn(l[s.index])}function Rt(s,l){return s.data[l]}function gi(s,l){return s[l]}function bt(s,l){const p=l[s];return ir(p)?p:p[0]}function Hi(s){return 64==(64&s[2])}function Zn(s,l){return null==l?null:s[l]}function br(s){s[18]=0}function Ji(s,l){s[5]+=l;let p=s,T=s[3];for(;null!==T&&(1===l&&1===p[5]||-1===l&&0===p[5]);)T[5]+=l,p=T,T=T[3]}const Mn={lFrame:xo(null),bindingsEnabled:!0};function Ti(){return Mn.bindingsEnabled}function Ni(){return Mn.lFrame.lView}function Un(){return Mn.lFrame.tView}function Fs(s){return Mn.lFrame.contextLView=s,s[8]}function Vo(s){return Mn.lFrame.contextLView=null,s}function Br(){let s=Hs();for(;null!==s&&64===s.type;)s=s.parent;return s}function Hs(){return Mn.lFrame.currentTNode}function Ta(s,l){const p=Mn.lFrame;p.currentTNode=s,p.isParent=l}function Ws(){return Mn.lFrame.isParent}function ms(){Mn.lFrame.isParent=!1}function In(){const s=Mn.lFrame;let l=s.bindingRootIndex;return-1===l&&(l=s.bindingRootIndex=s.tView.bindingStartIndex),l}function Ri(){return Mn.lFrame.bindingIndex}function Cs(){return Mn.lFrame.bindingIndex++}function Bi(s){const l=Mn.lFrame,p=l.bindingIndex;return l.bindingIndex=l.bindingIndex+s,p}function ro(s,l){const p=Mn.lFrame;p.bindingIndex=p.bindingRootIndex=s,Ys(l)}function Ys(s){Mn.lFrame.currentDirectiveIndex=s}function Ms(s){const l=Mn.lFrame.currentDirectiveIndex;return-1===l?null:s[l]}function js(){return Mn.lFrame.currentQueryIndex}function Ks(s){Mn.lFrame.currentQueryIndex=s}function rc(s){const l=s[1];return 2===l.type?l.declTNode:1===l.type?s[6]:null}function ac(s,l,p){if(p&Ze.SkipSelf){let F=l,G=s;for(;!(F=F.parent,null!==F||p&Ze.Host||(F=rc(G),null===F||(G=G[15],10&F.type))););if(null===F)return!1;l=F,s=G}const T=Mn.lFrame=Bo();return T.currentTNode=l,T.lView=s,!0}function sc(s){const l=Bo(),p=s[1];Mn.lFrame=l,l.currentTNode=p.firstChild,l.lView=s,l.tView=p,l.contextLView=s,l.bindingIndex=p.bindingStartIndex,l.inI18n=!1}function Bo(){const s=Mn.lFrame,l=null===s?null:s.child;return null===l?xo(s):l}function xo(s){const l={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:s,child:null,inI18n:!1};return null!==s&&(s.child=l),l}function Co(){const s=Mn.lFrame;return Mn.lFrame=s.parent,s.currentTNode=null,s.lView=null,s}const wr=Co;function ns(){const s=Co();s.isParent=!0,s.tView=null,s.selectedIndex=-1,s.contextLView=null,s.elementDepthCount=0,s.currentDirectiveIndex=-1,s.currentNamespace=null,s.bindingRootIndex=-1,s.bindingIndex=-1,s.currentQueryIndex=0}function Ir(){return Mn.lFrame.selectedIndex}function $r(s){Mn.lFrame.selectedIndex=s}function mr(){const s=Mn.lFrame;return Rt(s.tView,s.selectedIndex)}function wo(){Mn.lFrame.currentNamespace="svg"}function cc(){!function Yn(){Mn.lFrame.currentNamespace=null}()}function gt(s,l){for(let p=l.directiveStart,T=l.directiveEnd;p<T;p++){const G=s.data[p].type.prototype,{ngAfterContentInit:ae,ngAfterContentChecked:Ee,ngAfterViewInit:Ye,ngAfterViewChecked:pt,ngOnDestroy:kt}=G;ae&&(s.contentHooks||(s.contentHooks=[])).push(-p,ae),Ee&&((s.contentHooks||(s.contentHooks=[])).push(p,Ee),(s.contentCheckHooks||(s.contentCheckHooks=[])).push(p,Ee)),Ye&&(s.viewHooks||(s.viewHooks=[])).push(-p,Ye),pt&&((s.viewHooks||(s.viewHooks=[])).push(p,pt),(s.viewCheckHooks||(s.viewCheckHooks=[])).push(p,pt)),null!=kt&&(s.destroyHooks||(s.destroyHooks=[])).push(p,kt)}}function Le(s,l,p){He(s,l,3,p)}function Mt(s,l,p,T){(3&s[2])===p&&He(s,l,p,T)}function ni(s,l){let p=s[2];(3&p)===l&&(p&=2047,p+=1,s[2]=p)}function He(s,l,p,T){const G=T??-1,ae=l.length-1;let Ee=0;for(let Ye=void 0!==T?65535&s[18]:0;Ye<ae;Ye++)if("number"==typeof l[Ye+1]){if(Ee=l[Ye],null!=T&&Ee>=T)break}else l[Ye]<0&&(s[18]+=65536),(Ee<G||-1==G)&&(ut(s,p,l,Ye),s[18]=(4294901760&s[18])+Ye+2),Ye++}function ut(s,l,p,T){const F=p[T]<0,G=p[T+1],Ee=s[F?-p[T]:p[T]];if(F){if(s[2]>>11<s[18]>>16&&(3&s[2])===l){s[2]+=2048;try{G.call(Ee)}finally{}}}else try{G.call(Ee)}finally{}}class Nt{constructor(l,p,T){this.factory=l,this.resolving=!1,this.canSeeViewProviders=p,this.injectImpl=T}}function un(s,l,p){let T=0;for(;T<p.length;){const F=p[T];if("number"==typeof F){if(0!==F)break;T++;const G=p[T++],ae=p[T++],Ee=p[T++];s.setAttribute(l,ae,Ee,G)}else{const G=F,ae=p[++T];yr(G)?s.setProperty(l,G,ae):s.setAttribute(l,G,ae),T++}}return T}function Sn(s){return 3===s||4===s||6===s}function yr(s){return 64===s.charCodeAt(0)}function kr(s,l){if(null!==l&&0!==l.length)if(null===s||0===s.length)s=l.slice();else{let p=-1;for(let T=0;T<l.length;T++){const F=l[T];"number"==typeof F?p=F:0===p||ra(s,p,F,null,-1===p||2===p?l[++T]:null)}}return s}function ra(s,l,p,T,F){let G=0,ae=s.length;if(-1===l)ae=-1;else for(;G<s.length;){const Ee=s[G++];if("number"==typeof Ee){if(Ee===l){ae=-1;break}if(Ee>l){ae=G-1;break}}}for(;G<s.length;){const Ee=s[G];if("number"==typeof Ee)break;if(Ee===p){if(null===T)return void(null!==F&&(s[G+1]=F));if(T===s[G+1])return void(s[G+2]=F)}G++,null!==T&&G++,null!==F&&G++}-1!==ae&&(s.splice(ae,0,l),G=ae+1),s.splice(G++,0,p),null!==T&&s.splice(G++,0,T),null!==F&&s.splice(G++,0,F)}function ea(s){return-1!==s}function Or(s){return 32767&s}function _a(s,l){let p=function Tr(s){return s>>16}(s),T=l;for(;p>0;)T=T[15],p--;return T}let gr=!0;function rs(s){const l=gr;return gr=s,l}let nl=0;const Vs={};function va(s,l){const p=lc(s,l);if(-1!==p)return p;const T=l[1];T.firstCreatePass&&(s.injectorIndex=l.length,rl(T.data,s),rl(l,null),rl(T.blueprint,null));const F=dc(s,l),G=s.injectorIndex;if(ea(F)){const ae=Or(F),Ee=_a(F,l),Ye=Ee[1].data;for(let pt=0;pt<8;pt++)l[G+pt]=Ee[ae+pt]|Ye[ae+pt]}return l[G+8]=F,G}function rl(s,l){s.push(0,0,0,0,0,0,0,0,l)}function lc(s,l){return-1===s.injectorIndex||s.parent&&s.parent.injectorIndex===s.injectorIndex||null===l[s.injectorIndex+8]?-1:s.injectorIndex}function dc(s,l){if(s.parent&&-1!==s.parent.injectorIndex)return s.parent.injectorIndex;let p=0,T=null,F=l;for(;null!==F;){if(T=Pc(F),null===T)return-1;if(p++,F=F[15],-1!==T.injectorIndex)return T.injectorIndex|p<<16}return-1}function al(s,l,p){!function Fl(s,l,p){let T;"string"==typeof p?T=p.charCodeAt(0)||0:p.hasOwnProperty(Et)&&(T=p[Et]),null==T&&(T=p[Et]=nl++);const F=255&T;l.data[s+(F>>5)]|=1<<F}(s,l,p)}function k1(s,l,p){if(p&Ze.Optional||void 0!==s)return s;ce()}function O1(s,l,p,T){if(p&Ze.Optional&&void 0===T&&(T=null),0==(p&(Ze.Self|Ze.Host))){const F=s[9],G=xe(void 0);try{return F?F.get(l,T,p&Ze.Optional):ke(l,T,p&Ze.Optional)}finally{xe(G)}}return k1(T,0,p)}function Hl(s,l,p,T=Ze.Default,F){if(null!==s){if(1024&l[2]){const ae=function cl(s,l,p,T,F){let G=s,ae=l;for(;null!==G&&null!==ae&&1024&ae[2]&&!(256&ae[2]);){const Ee=Ic(G,ae,p,T|Ze.Self,Vs);if(Ee!==Vs)return Ee;let Ye=G.parent;if(!Ye){const pt=ae[21];if(pt){const kt=pt.get(p,Vs,T);if(kt!==Vs)return kt}Ye=Pc(ae),ae=ae[15]}G=Ye}return F}(s,l,p,T,Vs);if(ae!==Vs)return ae}const G=Ic(s,l,p,T,Vs);if(G!==Vs)return G}return O1(l,p,T,F)}function Ic(s,l,p,T,F){const G=function ol(s){if("string"==typeof s)return s.charCodeAt(0)||0;const l=s.hasOwnProperty(Et)?s[Et]:void 0;return"number"==typeof l?l>=0?255&l:So:l}(p);if("function"==typeof G){if(!ac(l,s,T))return T&Ze.Host?k1(F,0,T):O1(l,p,T,F);try{const ae=G(T);if(null!=ae||T&Ze.Optional)return ae;ce()}finally{wr()}}else if("number"==typeof G){let ae=null,Ee=lc(s,l),Ye=-1,pt=T&Ze.Host?l[16][6]:null;for((-1===Ee||T&Ze.SkipSelf)&&(Ye=-1===Ee?dc(s,l):l[Ee+8],-1!==Ye&&kc(T,!1)?(ae=l[1],Ee=Or(Ye),l=_a(Ye,l)):Ee=-1);-1!==Ee;){const kt=l[1];if(Mo(G,Ee,kt.data)){const $t=sl(Ee,l,p,ae,T,pt);if($t!==Vs)return $t}Ye=l[Ee+8],-1!==Ye&&kc(T,l[1].data[Ee+8]===pt)&&Mo(G,Ee,l)?(ae=kt,Ee=Or(Ye),l=_a(Ye,l)):Ee=-1}}return F}function sl(s,l,p,T,F,G){const ae=l[1],Ee=ae.data[s+8],kt=Bs(Ee,ae,p,null==T?Hr(Ee)&&gr:T!=ae&&0!=(3&Ee.type),F&Ze.Host&&G===Ee);return null!==kt?Uo(l,ae,kt,Ee):Vs}function Bs(s,l,p,T,F){const G=s.providerIndexes,ae=l.data,Ee=1048575&G,Ye=s.directiveStart,kt=G>>20,_i=F?Ee+kt:s.directiveEnd;for(let Si=T?Ee:Ee+kt;Si<_i;Si++){const zi=ae[Si];if(Si<Ye&&p===zi||Si>=Ye&&zi.type===p)return Si}if(F){const Si=ae[Ye];if(Si&&dr(Si)&&Si.type===p)return Ye}return null}function Uo(s,l,p,T){let F=s[p];const G=l.data;if(function Je(s){return s instanceof Nt}(F)){const ae=F;ae.resolving&&function ue(s,l){const p=l?`. Dependency path: ${l.join(" > ")} > ${s}`:"";throw new Y(-200,`Circular dependency in DI detected for ${s}${p}`)}(function ee(s){return"function"==typeof s?s.name||s.toString():"object"==typeof s&&null!=s&&"function"==typeof s.type?s.type.name||s.type.toString():X(s)}(G[p]));const Ee=rs(ae.canSeeViewProviders);ae.resolving=!0;const Ye=ae.injectImpl?xe(ae.injectImpl):null;ac(s,T,Ze.Default);try{F=s[p]=ae.factory(void 0,G,s,T),l.firstCreatePass&&p>=T.directiveStart&&function Pe(s,l,p){const{ngOnChanges:T,ngOnInit:F,ngDoCheck:G}=l.type.prototype;if(T){const ae=Ma(l);(p.preOrderHooks||(p.preOrderHooks=[])).push(s,ae),(p.preOrderCheckHooks||(p.preOrderCheckHooks=[])).push(s,ae)}F&&(p.preOrderHooks||(p.preOrderHooks=[])).push(0-s,F),G&&((p.preOrderHooks||(p.preOrderHooks=[])).push(s,G),(p.preOrderCheckHooks||(p.preOrderCheckHooks=[])).push(s,G))}(p,G[p],l)}finally{null!==Ye&&xe(Ye),rs(Ee),ae.resolving=!1,wr()}}return F}function Mo(s,l,p){return!!(p[l+(s>>5)]&1<<s)}function kc(s,l){return!(s&Ze.Self||s&Ze.Host&&l)}class gs{constructor(l,p){this._tNode=l,this._lView=p}get(l,p,T){return Hl(this._tNode,this._lView,l,J(T),p)}}function So(){return new gs(Br(),Ni())}function P1(s){return ei(()=>{const l=s.prototype.constructor,p=l[Xe]||Oc(l),T=Object.prototype;let F=Object.getPrototypeOf(s.prototype).constructor;for(;F&&F!==T;){const G=F[Xe]||Oc(F);if(G&&G!==p)return G;F=Object.getPrototypeOf(F)}return G=>new G})}function Oc(s){return I(s)?()=>{const l=Oc(L(s));return l&&l()}:Vr(s)}function Pc(s){const l=s[1],p=l.type;return 2===p?l.declTNode:1===p?s[6]:null}function Rc(s){return function Dc(s,l){if("class"===l)return s.classes;if("style"===l)return s.styles;const p=s.attrs;if(p){const T=p.length;let F=0;for(;F<T;){const G=p[F];if(Sn(G))break;if(0===G)F+=2;else if("number"==typeof G)for(F++;F<T&&"string"==typeof p[F];)F++;else{if(G===l)return p[F+1];F+=2}}}return null}(Br(),s)}const Ss="__parameters__";function Es(s,l,p){return ei(()=>{const T=function Vl(s){return function(...p){if(s){const T=s(...p);for(const F in T)this[F]=T[F]}}}(l);function F(...G){if(this instanceof F)return T.apply(this,G),this;const ae=new F(...G);return Ee.annotation=ae,Ee;function Ee(Ye,pt,kt){const $t=Ye.hasOwnProperty(Ss)?Ye[Ss]:Object.defineProperty(Ye,Ss,{value:[]})[Ss];for(;$t.length<=kt;)$t.push(null);return($t[kt]=$t[kt]||[]).push(ae),Ye}}return p&&(F.prototype=Object.create(p.prototype)),F.prototype.ngMetadataName=s,F.annotationCls=F,F})}class xr{constructor(l,p){this._desc=l,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof p?this.__NG_ELEMENT_ID__=p:void 0!==p&&(this.\u0275prov=Ne({token:this,providedIn:p.providedIn||"root",factory:p.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function Lt(s,l){s.forEach(p=>Array.isArray(p)?Lt(p,l):l(p))}function Pt(s,l,p){l>=s.length?s.push(p):s.splice(l,0,p)}function ci(s,l){return l>=s.length-1?s.pop():s.splice(l,1)[0]}function Di(s,l){const p=[];for(let T=0;T<s;T++)p.push(l);return p}function _r(s,l,p){let T=Wa(s,l);return T>=0?s[1|T]=p:(T=~T,function kn(s,l,p,T){let F=s.length;if(F==l)s.push(p,T);else if(1===F)s.push(T,s[0]),s[0]=p;else{for(F--,s.push(s[F-1],s[F]);F>l;)s[F]=s[F-2],F--;s[l]=p,s[l+1]=T}}(s,T,l,p)),T}function Aa(s,l){const p=Wa(s,l);if(p>=0)return s[1|p]}function Wa(s,l){return function sa(s,l,p){let T=0,F=s.length>>p;for(;F!==T;){const G=T+(F-T>>1),ae=s[G<<p];if(l===ae)return G<<p;ae>l?F=G:T=G+1}return~(F<<p)}(s,l,1)}const Hc=Fe(Es("Inject",s=>({token:s})),-1),Wo=Fe(Es("Optional"),8),Yo=Fe(Es("SkipSelf"),4);var As=(()=>((As=As||{})[As.Important=1]="Important",As[As.DashCase=2]="DashCase",As))();const Z1=new Map;let cd=0;const Kl="__ngContext__";function Ya(s,l){ir(l)?(s[Kl]=l[20],function th(s){Z1.set(s[20],s)}(l)):s[Kl]=l}function Ql(s,l){return undefined(s,l)}function ml(s){const l=s[3];return ur(l)?l[3]:l}function Gc(s){return q1(s[13])}function Q1(s){return q1(s[4])}function q1(s){for(;null!==s&&!ur(s);)s=s[4];return s}function Qs(s,l,p,T,F){if(null!=T){let G,ae=!1;ur(T)?G=T:ir(T)&&(ae=!0,T=T[0]);const Ee=Jn(T);0===s&&null!==p?null==F?e2(l,p,Ee):bc(l,p,Ee,F||null,!0):1===s&&null!==p?bc(l,p,Ee,F||null,!0):2===s?function r2(s,l,p){const T=Xl(s,l);T&&function t2(s,l,p,T){s.removeChild(l,p,T)}(s,T,l,p)}(l,Ee,ae):3===s&&l.destroyNode(Ee),null!=G&&function oh(s,l,p,T,F){const G=p[7];G!==Jn(p)&&Qs(l,s,T,G,F);for(let Ee=10;Ee<p.length;Ee++){const Ye=p[Ee];vl(Ye[1],Ye,s,l,T,G)}}(l,s,G,p,F)}}function gl(s,l,p){return s.createElement(l,p)}function X1(s,l){const p=s[9],T=p.indexOf(l),F=l[3];512&l[2]&&(l[2]&=-513,Ji(F,-1)),p.splice(T,1)}function pd(s,l){if(s.length<=10)return;const p=10+l,T=s[p];if(T){const F=T[17];null!==F&&F!==s&&X1(F,T),l>0&&(s[p-1][4]=T[4]);const G=ci(s,10+l);!function Yu(s,l){vl(s,l,l[11],2,null,null),l[0]=null,l[6]=null}(T[1],T);const ae=G[19];null!==ae&&ae.detachView(G[1]),T[3]=null,T[4]=null,T[2]&=-65}return T}function Ko(s,l){if(!(128&l[2])){const p=l[11];p.destroyNode&&vl(s,l,p,3,null,null),function Qu(s){let l=s[13];if(!l)return Ao(s[1],s);for(;l;){let p=null;if(ir(l))p=l[13];else{const T=l[10];T&&(p=T)}if(!p){for(;l&&!l[4]&&l!==s;)ir(l)&&Ao(l[1],l),l=l[3];null===l&&(l=s),ir(l)&&Ao(l[1],l),p=l&&l[4]}l=p}}(l)}}function Ao(s,l){if(!(128&l[2])){l[2]&=-65,l[2]|=128,function $1(s,l){let p;if(null!=s&&null!=(p=s.destroyHooks))for(let T=0;T<p.length;T+=2){const F=l[p[T]];if(!(F instanceof Nt)){const G=p[T+1];if(Array.isArray(G))for(let ae=0;ae<G.length;ae+=2){const Ee=F[G[ae]],Ye=G[ae+1];try{Ye.call(Ee)}finally{}}else try{G.call(F)}finally{}}}}(s,l),function Ju(s,l){const p=s.cleanup,T=l[7];let F=-1;if(null!==p)for(let G=0;G<p.length-1;G+=2)if("string"==typeof p[G]){const ae=p[G+3];ae>=0?T[F=ae]():T[F=-ae].unsubscribe(),G+=2}else{const ae=T[F=p[G+1]];p[G].call(ae)}if(null!==T){for(let G=F+1;G<T.length;G++)(0,T[G])();l[7]=null}}(s,l),1===l[1].type&&l[11].destroy();const p=l[17];if(null!==p&&ur(l[3])){p!==l[3]&&X1(p,l);const T=l[19];null!==T&&T.detachView(s)}!function Gu(s){Z1.delete(s[20])}(l)}}function sh(s,l,p){return function gd(s,l,p){let T=l;for(;null!==T&&40&T.type;)T=(l=T).parent;if(null===T)return p[0];{const{componentOffset:F}=T;if(F>-1){const{encapsulation:G}=s.data[T.directiveStart+F];if(G===ri.None||G===ri.Emulated)return null}return hr(T,p)}}(s,l.parent,p)}function bc(s,l,p,T,F){s.insertBefore(l,p,T,F)}function e2(s,l,p){s.appendChild(l,p)}function Qo(s,l,p,T,F){null!==T?bc(s,l,p,T,F):e2(s,l,p)}function Xl(s,l){return s.parentNode(l)}function ba(s,l,p){return n2(s,l,p)}let bl,t1,yl,n2=function vd(s,l,p){return 40&s.type?hr(s,p):null};function qo(s,l,p,T){const F=sh(s,T,l),G=l[11],Ee=ba(T.parent||l[6],T,l);if(null!=F)if(Array.isArray(p))for(let Ye=0;Ye<p.length;Ye++)Qo(G,F,p[Ye],Ee,!1);else Qo(G,F,p,Ee,!1)}function Lo(s,l){if(null!==l){const p=l.type;if(3&p)return hr(l,s);if(4&p)return $l(-1,s[l.index]);if(8&p){const T=l.child;if(null!==T)return Lo(s,T);{const F=s[l.index];return ur(F)?$l(-1,F):Jn(F)}}if(32&p)return Ql(l,s)()||Jn(s[l.index]);{const T=yd(s,l);return null!==T?Array.isArray(T)?T[0]:Lo(ml(s[16]),T):Lo(s,l.next)}}return null}function yd(s,l){return null!==l?s[16][6].projection[l.projection]:null}function $l(s,l){const p=10+s+1;if(p<l.length){const T=l[p],F=T[1].firstChild;if(null!==F)return Lo(T,F)}return l[7]}function a2(s,l,p,T,F,G,ae){for(;null!=p;){const Ee=T[p.index],Ye=p.type;if(ae&&0===l&&(Ee&&Ya(Jn(Ee),T),p.flags|=2),32!=(32&p.flags))if(8&Ye)a2(s,l,p.child,T,F,G,!1),Qs(l,s,F,Ee,G);else if(32&Ye){const pt=Ql(p,T);let kt;for(;kt=pt();)Qs(l,s,F,kt,G);Qs(l,s,F,Ee,G)}else 16&Ye?s2(s,l,T,p,F,G):Qs(l,s,F,Ee,G);p=ae?p.projectionNext:p.next}}function vl(s,l,p,T,F,G){a2(p,T,s.firstChild,l,F,G,!1)}function s2(s,l,p,T,F,G){const ae=p[16],Ye=ae[6].projection[T.projection];if(Array.isArray(Ye))for(let pt=0;pt<Ye.length;pt++)Qs(l,s,F,Ye[pt],G);else a2(s,l,Ye,ae[3],F,G,!0)}function o2(s,l,p){""===p?s.removeAttribute(l,"class"):s.setAttribute(l,"class",p)}function c2(s,l,p){const{mergedAttrs:T,classes:F,styles:G}=p;null!==T&&un(s,l,T),null!==F&&o2(s,l,F),null!==G&&function Cd(s,l,p){s.setAttribute(l,"style",p)}(s,l,G)}function yc(s){return function e1(){if(void 0===bl&&(bl=null,_t.trustedTypes))try{bl=_t.trustedTypes.createPolicy("angular",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch{}return bl}()?.createHTML(s)||s}function Md(s){t1=s}function l2(){if(void 0===yl&&(yl=null,_t.trustedTypes))try{yl=_t.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:s=>s,createScript:s=>s,createScriptURL:s=>s})}catch{}return yl}function d2(s){return l2()?.createHTML(s)||s}function h2(s){return l2()?.createScriptURL(s)||s}class xc{constructor(l){this.changingThisBreaksApplicationSecurity=l}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Z})`}}class Td extends xc{getTypeName(){return"HTML"}}class hh extends xc{getTypeName(){return"Style"}}class Ad extends xc{getTypeName(){return"Script"}}class Ld extends xc{getTypeName(){return"URL"}}class uh extends xc{getTypeName(){return"ResourceURL"}}function as(s){return s instanceof xc?s.changingThisBreaksApplicationSecurity:s}function Zc(s,l){const p=function fh(s){return s instanceof xc&&s.getTypeName()||null}(s);if(null!=p&&p!==l){if("ResourceURL"===p&&"URL"===l)return!0;throw new Error(`Required a safe ${l}, got a ${p} (see ${Z})`)}return p===l}function Dd(s){return new Td(s)}function mh(s){return new hh(s)}function ph(s){return new Ad(s)}function gh(s){return new Ld(s)}function Id(s){return new uh(s)}class _h{constructor(l){this.inertDocumentHelper=l}getInertBodyElement(l){l="<body><remove></remove>"+l;try{const p=(new window.DOMParser).parseFromString(yc(l),"text/html").body;return null===p?this.inertDocumentHelper.getInertBodyElement(l):(p.removeChild(p.firstChild),p)}catch{return null}}}class vh{constructor(l){if(this.defaultDoc=l,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const p=this.inertDocument.createElement("html");this.inertDocument.appendChild(p);const T=this.inertDocument.createElement("body");p.appendChild(T)}}getInertBodyElement(l){const p=this.inertDocument.createElement("template");if("content"in p)return p.innerHTML=yc(l),p;const T=this.inertDocument.createElement("body");return T.innerHTML=yc(l),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(T),T}stripCustomNsAttrs(l){const p=l.attributes;for(let F=p.length-1;0<F;F--){const ae=p.item(F).name;("xmlns:ns1"===ae||0===ae.indexOf("ns1:"))&&l.removeAttribute(ae)}let T=l.firstChild;for(;T;)T.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(T),T=T.nextSibling}}const Pd=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function n1(s){return(s=String(s)).match(Pd)?s:"unsafe:"+s}function ho(s){const l={};for(const p of s.split(","))l[p]=!0;return l}function xl(...s){const l={};for(const p of s)for(const T in p)p.hasOwnProperty(T)&&(l[T]=!0);return l}const Rd=ho("area,br,col,hr,img,wbr"),Nd=ho("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),r1=ho("rp,rt"),u2=xl(Rd,xl(Nd,ho("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")),xl(r1,ho("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")),xl(r1,Nd)),a1=ho("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),f2=xl(a1,ho("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"),ho("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")),Hd=ho("script,style,template");class zd{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(l){let p=l.firstChild,T=!0;for(;p;)if(p.nodeType===Node.ELEMENT_NODE?T=this.startElement(p):p.nodeType===Node.TEXT_NODE?this.chars(p.nodeValue):this.sanitizedSomething=!0,T&&p.firstChild)p=p.firstChild;else for(;p;){p.nodeType===Node.ELEMENT_NODE&&this.endElement(p);let F=this.checkClobberedElement(p,p.nextSibling);if(F){p=F;break}p=this.checkClobberedElement(p,p.parentNode)}return this.buf.join("")}startElement(l){const p=l.nodeName.toLowerCase();if(!u2.hasOwnProperty(p))return this.sanitizedSomething=!0,!Hd.hasOwnProperty(p);this.buf.push("<"),this.buf.push(p);const T=l.attributes;for(let F=0;F<T.length;F++){const G=T.item(F),ae=G.name,Ee=ae.toLowerCase();if(!f2.hasOwnProperty(Ee)){this.sanitizedSomething=!0;continue}let Ye=G.value;a1[Ee]&&(Ye=n1(Ye)),this.buf.push(" ",ae,'="',m2(Ye),'"')}return this.buf.push(">"),!0}endElement(l){const p=l.nodeName.toLowerCase();u2.hasOwnProperty(p)&&!Rd.hasOwnProperty(p)&&(this.buf.push("</"),this.buf.push(p),this.buf.push(">"))}chars(l){this.buf.push(m2(l))}checkClobberedElement(l,p){if(p&&(l.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${l.outerHTML}`);return p}}const Vd=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wc=/([^\#-~ |!])/g;function m2(s){return s.replace(/&/g,"&amp;").replace(Vd,function(l){return"&#"+(1024*(l.charCodeAt(0)-55296)+(l.charCodeAt(1)-56320)+65536)+";"}).replace(Wc,function(l){return"&#"+l.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let s1;function Bd(s,l){let p=null;try{s1=s1||function kd(s){const l=new vh(s);return function Od(){try{return!!(new window.DOMParser).parseFromString(yc(""),"text/html")}catch{return!1}}()?new _h(l):l}(s);let T=l?String(l):"";p=s1.getInertBodyElement(T);let F=5,G=T;do{if(0===F)throw new Error("Failed to sanitize html because the input is unstable");F--,T=G,G=p.innerHTML,p=s1.getInertBodyElement(T)}while(T!==G);return yc((new zd).sanitizeChildren(p2(p)||p))}finally{if(p){const T=p2(p)||p;for(;T.firstChild;)T.removeChild(T.firstChild)}}}function p2(s){return"content"in s&&function Ud(s){return s.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===s.nodeName}(s)?s.content:null}var Kr=(()=>((Kr=Kr||{})[Kr.NONE=0]="NONE",Kr[Kr.HTML=1]="HTML",Kr[Kr.STYLE=2]="STYLE",Kr[Kr.SCRIPT=3]="SCRIPT",Kr[Kr.URL=4]="URL",Kr[Kr.RESOURCE_URL=5]="RESOURCE_URL",Kr))();function Gd(s){const l=Cc();return l?d2(l.sanitize(Kr.HTML,s)||""):Zc(s,"HTML")?d2(as(s)):Bd(function Sd(){return void 0!==t1?t1:typeof document<"u"?document:void 0}(),X(s))}function Wd(s){const l=Cc();return l?l.sanitize(Kr.URL,s)||"":Zc(s,"URL")?as(s):n1(X(s))}function Yd(s){const l=Cc();if(l)return h2(l.sanitize(Kr.RESOURCE_URL,s)||"");if(Zc(s,"ResourceURL"))return h2(as(s));throw new Y(904,!1)}function xh(s,l,p){return function r3(s,l){return"src"===l&&("embed"===s||"frame"===s||"iframe"===s||"media"===s||"script"===s)||"href"===l&&("base"===s||"link"===s)?Yd:Wd}(l,p)(s)}function Cc(){const s=Ni();return s&&s[12]}const g2=new xr("ENVIRONMENT_INITIALIZER"),jd=new xr("INJECTOR",-1),Kd=new xr("INJECTOR_DEF_TYPES");class o1{get(l,p=vt){if(p===vt){const T=new Error(`NullInjectorError: No provider for ${O(l)}!`);throw T.name="NullInjectorError",T}return p}}function Ch(s){return{\u0275providers:s}}function _2(...s){return{\u0275providers:Yc(0,s),\u0275fromNgModule:!0}}function Yc(s,...l){const p=[],T=new Set;let F;return Lt(l,G=>{const ae=G;v2(ae,p,[],T)&&(F||(F=[]),F.push(ae))}),void 0!==F&&Qd(F,p),p}function Qd(s,l){for(let p=0;p<s.length;p++){const{providers:F}=s[p];wl(F,G=>{l.push(G)})}}function v2(s,l,p,T){if(!(s=L(s)))return!1;let F=null,G=Ae(s);const ae=!G&&Mi(s);if(G||ae){if(ae&&!ae.standalone)return!1;F=s}else{const Ye=s.ngModule;if(G=Ae(Ye),!G)return!1;F=Ye}const Ee=T.has(F);if(ae){if(Ee)return!1;if(T.add(F),ae.dependencies){const Ye="function"==typeof ae.dependencies?ae.dependencies():ae.dependencies;for(const pt of Ye)v2(pt,l,p,T)}}else{if(!G)return!1;{if(null!=G.imports&&!Ee){let pt;T.add(F);try{Lt(G.imports,kt=>{v2(kt,l,p,T)&&(pt||(pt=[]),pt.push(kt))})}finally{}void 0!==pt&&Qd(pt,l)}if(!Ee){const pt=Vr(F)||(()=>new F);l.push({provide:F,useFactory:pt,deps:Vt},{provide:Kd,useValue:F,multi:!0},{provide:g2,useValue:()=>zt(F),multi:!0})}const Ye=G.providers;null==Ye||Ee||wl(Ye,kt=>{l.push(kt)})}}return F!==s&&void 0!==s.providers}function wl(s,l){for(let p of s)P(p)&&(p=p.\u0275providers),Array.isArray(p)?wl(p,l):l(p)}const Da=C({provide:String,useValue:C});function Ml(s){return null!==s&&"object"==typeof s&&Da in s}function Do(s){return"function"==typeof s}const jc=new xr("Set Injector scope."),Io={},wh={};let c1;function El(){return void 0===c1&&(c1=new o1),c1}class wc{}class b2 extends wc{constructor(l,p,T,F){super(),this.parent=p,this.source=T,this.scopes=F,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,d1(l,ae=>this.processProvider(ae)),this.records.set(jd,Mc(void 0,this)),F.has("environment")&&this.records.set(wc,Mc(void 0,this));const G=this.records.get(jc);null!=G&&"string"==typeof G.value&&this.scopes.add(G.value),this.injectorDefTypes=new Set(this.get(Kd.multi,Vt,Ze.Self))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const l of this._ngOnDestroyHooks)l.ngOnDestroy();for(const l of this._onDestroyHooks)l()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(l){this._onDestroyHooks.push(l)}runInContext(l){this.assertNotDestroyed();const p=Bt(this),T=xe(void 0);try{return l()}finally{Bt(p),xe(T)}}get(l,p=vt,T=Ze.Default){this.assertNotDestroyed(),T=J(T);const F=Bt(this),G=xe(void 0);try{if(!(T&Ze.SkipSelf)){let Ee=this.records.get(l);if(void 0===Ee){const Ye=function l1(s){return"function"==typeof s||"object"==typeof s&&s instanceof xr}(l)&&ve(l);Ee=Ye&&this.injectableDefInScope(Ye)?Mc(y2(l),Io):null,this.records.set(l,Ee)}if(null!=Ee)return this.hydrate(l,Ee)}return(T&Ze.Self?El():this.parent).get(l,p=T&Ze.Optional&&p===vt?null:p)}catch(ae){if("NullInjectorError"===ae.name){if((ae[Ht]=ae[Ht]||[]).unshift(O(l)),F)throw ae;return function ii(s,l,p,T){const F=s[Ht];throw l[Re]&&F.unshift(l[Re]),s.message=function Gt(s,l,p,T=null){s=s&&"\n"===s.charAt(0)&&"\u0275"==s.charAt(1)?s.slice(2):s;let F=O(l);if(Array.isArray(l))F=l.map(O).join(" -> ");else if("object"==typeof l){let G=[];for(let ae in l)if(l.hasOwnProperty(ae)){let Ee=l[ae];G.push(ae+":"+("string"==typeof Ee?JSON.stringify(Ee):O(Ee)))}F=`{${G.join(", ")}}`}return`${p}${T?"("+T+")":""}[${F}]: ${s.replace(ze,"\n ")}`}("\n"+s.message,F,p,T),s.ngTokenPath=F,s[Ht]=null,s}(ae,l,"R3InjectorError",this.source)}throw ae}finally{xe(G),Bt(F)}}resolveInjectorInitializers(){const l=Bt(this),p=xe(void 0);try{const T=this.get(g2.multi,Vt,Ze.Self);for(const F of T)F()}finally{Bt(l),xe(p)}}toString(){const l=[],p=this.records;for(const T of p.keys())l.push(O(T));return`R3Injector[${l.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Y(205,!1)}processProvider(l){let p=Do(l=L(l))?l:L(l&&l.provide);const T=function $d(s){return Ml(s)?Mc(void 0,s.useValue):Mc(x2(s),Io)}(l);if(Do(l)||!0!==l.multi)this.records.get(p);else{let F=this.records.get(p);F||(F=Mc(void 0,Io,!0),F.factory=()=>be(F.multi),this.records.set(p,F)),p=l,F.multi.push(l)}this.records.set(p,T)}hydrate(l,p){return p.value===Io&&(p.value=wh,p.value=p.factory()),"object"==typeof p.value&&p.value&&function Mh(s){return null!==s&&"object"==typeof s&&"function"==typeof s.ngOnDestroy}(p.value)&&this._ngOnDestroyHooks.add(p.value),p.value}injectableDefInScope(l){if(!l.providedIn)return!1;const p=L(l.providedIn);return"string"==typeof p?"any"===p||this.scopes.has(p):this.injectorDefTypes.has(p)}}function y2(s){const l=ve(s),p=null!==l?l.factory:Vr(s);if(null!==p)return p;if(s instanceof xr)throw new Y(204,!1);if(s instanceof Function)return function Xd(s){const l=s.length;if(l>0)throw Di(l,"?"),new Y(204,!1);const p=function te(s){const l=s&&(s[oe]||s[me]);if(l){const p=function Ke(s){if(s.hasOwnProperty("name"))return s.name;const l=(""+s).match(/^function\s*([^\s(]+)/);return null===l?"":l[1]}(s);return console.warn(`DEPRECATED: DI is instantiating a token "${p}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${p}" class.`),l}return null}(s);return null!==p?()=>p.factory(s):()=>new s}(s);throw new Y(204,!1)}function x2(s,l,p){let T;if(Do(s)){const F=L(s);return Vr(F)||y2(F)}if(Ml(s))T=()=>L(s.useValue);else if(function Sl(s){return!(!s||!s.useFactory)}(s))T=()=>s.useFactory(...be(s.deps||[]));else if(function qd(s){return!(!s||!s.useExisting)}(s))T=()=>zt(L(s.useExisting));else{const F=L(s&&(s.useClass||s.provide));if(!function e0(s){return!!s.deps}(s))return Vr(F)||y2(F);T=()=>new F(...be(s.deps))}return T}function Mc(s,l,p=!1){return{factory:s,value:l,multi:p?[]:void 0}}function d1(s,l){for(const p of s)Array.isArray(p)?d1(p,l):p&&P(p)?d1(p.\u0275providers,l):l(p)}class t0{}class n0{}class w2{resolveComponentFactory(l){throw function r0(s){const l=Error(`No component factory found for ${O(s)}. Did you add it to @NgModule.entryComponents?`);return l.ngComponent=s,l}(l)}}let qs=(()=>{class s{}return s.NULL=new w2,s})();function h1(){return Pa(Br(),Ni())}function Pa(s,l){return new Kc(hr(s,l))}let Kc=(()=>{class s{constructor(p){this.nativeElement=p}}return s.__NG_ELEMENT_ID__=h1,s})();function Tl(s){return s instanceof Kc?s.nativeElement:s}class uo{}let Sh=(()=>{class s{}return s.__NG_ELEMENT_ID__=()=>function s3(){const s=Ni(),p=bt(Br().index,s);return(ir(p)?p:s)[11]}(),s})(),s0=(()=>{class s{}return s.\u0275prov=Ne({token:s,providedIn:"root",factory:()=>null}),s})();class M2{constructor(l){this.full=l,this.major=l.split(".")[0],this.minor=l.split(".")[1],this.patch=l.split(".").slice(2).join(".")}}const Eh=new M2("15.0.4"),u1={};function E2(s){return s.ngOriginalError}class Qc{constructor(){this._console=console}handleError(l){const p=this._findOriginalError(l);this._console.error("ERROR",l),p&&this._console.error("ORIGINAL ERROR",p)}_findOriginalError(l){let p=l&&E2(l);for(;p&&E2(p);)p=E2(p);return p||null}}function T2(s){return s.ownerDocument.defaultView}function ko(s){return s instanceof Function?s():s}function h0(s,l,p){let T=s.length;for(;;){const F=s.indexOf(l,p);if(-1===F)return F;if(0===F||s.charCodeAt(F-1)<=32){const G=l.length;if(F+G===T||s.charCodeAt(F+G)<=32)return F}p=F+1}}const u0="ng-template";function Rh(s,l,p){let T=0;for(;T<s.length;){let F=s[T++];if(p&&"class"===F){if(F=s[T],-1!==h0(F.toLowerCase(),l,0))return!0}else if(1===F){for(;T<s.length&&"string"==typeof(F=s[T++]);)if(F.toLowerCase()===l)return!0;return!1}}return!1}function f0(s){return 4===s.type&&s.value!==u0}function Nh(s,l,p){return l===(4!==s.type||p?s.value:u0)}function Fh(s,l,p){let T=4;const F=s.attrs||[],G=function zh(s){for(let l=0;l<s.length;l++)if(Sn(s[l]))return l;return s.length}(F);let ae=!1;for(let Ee=0;Ee<l.length;Ee++){const Ye=l[Ee];if("number"!=typeof Ye){if(!ae)if(4&T){if(T=2|1&T,""!==Ye&&!Nh(s,Ye,p)||""===Ye&&1===l.length){if(Js(T))return!1;ae=!0}}else{const pt=8&T?Ye:l[++Ee];if(8&T&&null!==s.attrs){if(!Rh(s.attrs,pt,p)){if(Js(T))return!1;ae=!0}continue}const $t=m0(8&T?"class":Ye,F,f0(s),p);if(-1===$t){if(Js(T))return!1;ae=!0;continue}if(""!==pt){let _i;_i=$t>G?"":F[$t+1].toLowerCase();const Si=8&T?_i:null;if(Si&&-1!==h0(Si,pt,0)||2&T&&pt!==_i){if(Js(T))return!1;ae=!0}}}}else{if(!ae&&!Js(T)&&!Js(Ye))return!1;if(ae&&Js(Ye))continue;ae=!1,T=Ye|1&T}}return Js(T)||ae}function Js(s){return 0==(1&s)}function m0(s,l,p,T){if(null===l)return-1;let F=0;if(T||!p){let G=!1;for(;F<l.length;){const ae=l[F];if(ae===s)return F;if(3===ae||6===ae)G=!0;else{if(1===ae||2===ae){let Ee=l[++F];for(;"string"==typeof Ee;)Ee=l[++F];continue}if(4===ae)break;if(0===ae){F+=4;continue}}F+=G?1:2}return-1}return function g0(s,l){let p=s.indexOf(4);if(p>-1)for(p++;p<s.length;){const T=s[p];if("number"==typeof T)return-1;if(T===l)return p;p++}return-1}(l,s)}function p0(s,l,p=!1){for(let T=0;T<l.length;T++)if(Fh(s,l[T],p))return!0;return!1}function Vh(s,l){e:for(let p=0;p<l.length;p++){const T=l[p];if(s.length===T.length){for(let F=0;F<s.length;F++)if(s[F]!==T[F])continue e;return!0}}return!1}function _0(s,l){return s?":not("+l.trim()+")":l}function Bh(s){let l=s[0],p=1,T=2,F="",G=!1;for(;p<s.length;){let ae=s[p];if("string"==typeof ae)if(2&T){const Ee=s[++p];F+="["+ae+(Ee.length>0?'="'+Ee+'"':"")+"]"}else 8&T?F+="."+ae:4&T&&(F+=" "+ae);else""!==F&&!Js(ae)&&(l+=_0(G,F),F=""),T=ae,G=G||!Js(T);p++}return""!==F&&(l+=_0(G,F)),l}const Gn={};function L2(s){D2(Un(),Ni(),Ir()+s,!1)}function D2(s,l,p,T){if(!T)if(3==(3&l[2])){const G=s.preOrderCheckHooks;null!==G&&Le(l,G,p)}else{const G=s.preOrderHooks;null!==G&&Mt(l,G,0,p)}$r(p)}function P2(s,l=null,p=null,T){const F=R2(s,l,p,T);return F.resolveInjectorInitializers(),F}function R2(s,l=null,p=null,T,F=new Set){const G=[p||Vt,_2(s)];return T=T||("object"==typeof s?void 0:O(s)),new b2(G,l||El(),T||null,F)}let Jo=(()=>{class s{static create(p,T){if(Array.isArray(p))return P2({name:""},T,p,"");{const F=p.name??"";return P2({name:F},p.parent,p.providers,F)}}}return s.THROW_IF_NOT_FOUND=vt,s.NULL=new o1,s.\u0275prov=Ne({token:s,providedIn:"any",factory:()=>zt(jd)}),s.__NG_ELEMENT_ID__=-1,s})();function mo(s,l=Ze.Default){const p=Ni();return null===p?zt(s,l):Hl(Br(),p,L(s),l)}function Xo(){throw new Error("invalid")}function N2(s,l){const p=s.contentQueries;if(null!==p)for(let T=0;T<p.length;T+=2){const F=p[T],G=p[T+1];if(-1!==G){const ae=s.data[G];Ks(F),ae.contentQueries(2,l[G],G)}}}function On(s,l,p,T,F,G,ae,Ee,Ye,pt,kt){const $t=l.blueprint.slice();return $t[0]=F,$t[2]=76|T,(null!==kt||s&&1024&s[2])&&($t[2]|=1024),br($t),$t[3]=$t[15]=s,$t[8]=p,$t[10]=ae||s&&s[10],$t[11]=Ee||s&&s[11],$t[12]=Ye||s&&s[12]||null,$t[9]=pt||s&&s[9]||null,$t[6]=G,$t[20]=function Uc(){return cd++}(),$t[21]=kt,$t[16]=2==l.type?s[16]:$t,$t}function er(s,l,p,T,F){let G=s.data[l];if(null===G)G=function Qr(s,l,p,T,F){const G=Hs(),ae=Ws(),Ye=s.data[l]=function w4(s,l,p,T,F,G){return{type:p,index:T,insertBeforeIndex:null,injectorIndex:l?l.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:F,attrs:G,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:l,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,ae?G:G&&G.parent,p,l,T,F);return null===s.firstChild&&(s.firstChild=Ye),null!==G&&(ae?null==G.child&&null!==Ye.parent&&(G.child=Ye):null===G.next&&(G.next=Ye)),Ye}(s,l,p,T,F),function no(){return Mn.lFrame.inI18n}()&&(G.flags|=32);else if(64&G.type){G.type=p,G.value=T,G.attrs=F;const ae=function ts(){const s=Mn.lFrame,l=s.currentTNode;return s.isParent?l:l.parent}();G.injectorIndex=null===ae?-1:ae.injectorIndex}return Ta(G,!0),G}function Ds(s,l,p,T){if(0===p)return-1;const F=l.length;for(let G=0;G<p;G++)l.push(T),s.blueprint.push(T),s.data.push(null);return F}function _s(s,l,p){sc(l);try{const T=s.viewQuery;null!==T&&Xh(1,T,p);const F=s.template;null!==F&&Ur(s,l,F,1,p),s.firstCreatePass&&(s.firstCreatePass=!1),s.staticContentQueries&&N2(s,l),s.staticViewQueries&&Xh(2,s.viewQuery,p);const G=s.components;null!==G&&function An(s,l){for(let p=0;p<l.length;p++)qh(s,l[p])}(l,G)}catch(T){throw s.firstCreatePass&&(s.incompleteFirstPass=!0,s.firstCreatePass=!1),T}finally{l[2]&=-5,ns()}}function po(s,l,p,T){const F=l[2];if(128!=(128&F)){sc(l);try{br(l),function is(s){return Mn.lFrame.bindingIndex=s}(s.bindingStartIndex),null!==p&&Ur(s,l,p,2,T);const ae=3==(3&F);if(ae){const pt=s.preOrderCheckHooks;null!==pt&&Le(l,pt,null)}else{const pt=s.preOrderHooks;null!==pt&&Mt(l,pt,0,null),ni(l,0)}if(function Om(s){for(let l=Gc(s);null!==l;l=Q1(l)){if(!l[2])continue;const p=l[9];for(let T=0;T<p.length;T++){const F=p[T],G=F[3];0==(512&F[2])&&Ji(G,1),F[2]|=512}}}(l),function m3(s){for(let l=Gc(s);null!==l;l=Q1(l))for(let p=10;p<l.length;p++){const T=l[p],F=T[1];Hi(T)&&po(F,T,F.template,T[8])}}(l),null!==s.contentQueries&&N2(s,l),ae){const pt=s.contentCheckHooks;null!==pt&&Le(l,pt)}else{const pt=s.contentHooks;null!==pt&&Mt(l,pt,1),ni(l,1)}!function Wh(s,l){const p=s.hostBindingOpCodes;if(null!==p)try{for(let T=0;T<p.length;T++){const F=p[T];if(F<0)$r(~F);else{const G=F,ae=p[++T],Ee=p[++T];ro(ae,G),Ee(2,l[G])}}}finally{$r(-1)}}(s,l);const Ee=s.components;null!==Ee&&function pn(s,l){for(let p=0;p<l.length;p++)Pm(s,l[p])}(l,Ee);const Ye=s.viewQuery;if(null!==Ye&&Xh(2,Ye,T),ae){const pt=s.viewCheckHooks;null!==pt&&Le(l,pt)}else{const pt=s.viewHooks;null!==pt&&Mt(l,pt,2),ni(l,2)}!0===s.firstUpdatePass&&(s.firstUpdatePass=!1),l[2]&=-41,512&l[2]&&(l[2]&=-513,Ji(l[3],-1))}finally{ns()}}}function Ur(s,l,p,T,F){const G=Ir(),ae=2&T;try{$r(-1),ae&&l.length>22&&D2(s,l,22,!1),p(T,F)}finally{$r(G)}}function F2(s,l,p){if(za(l)){const F=l.directiveEnd;for(let G=l.directiveStart;G<F;G++){const ae=s.data[G];ae.contentQueries&&ae.contentQueries(1,p[G],G)}}}function H2(s,l,p){!Ti()||(function A4(s,l,p,T){const F=p.directiveStart,G=p.directiveEnd;Hr(p)&&function O4(s,l,p){const T=hr(l,s),F=Po(p),G=s[10],ae=M0(s,On(s,F,null,p.onPush?32:16,T,l,G,G.createRenderer(T,p),null,null,null));s[l.index]=ae}(l,p,s.data[F+p.componentOffset]),s.firstCreatePass||va(p,l),Ya(T,l);const ae=p.initialInputs;for(let Ee=F;Ee<G;Ee++){const Ye=s.data[Ee],pt=Uo(l,s,Ee,p);Ya(pt,l),null!==ae&&P4(0,Ee-F,pt,Ye,0,ae),dr(Ye)&&(bt(p.index,l)[8]=Uo(l,s,Ee,p))}}(s,l,p,hr(p,l)),64==(64&p.flags)&&h3(s,l,p))}function Na(s,l,p=hr){const T=l.localNames;if(null!==T){let F=l.index+1;for(let G=0;G<T.length;G+=2){const ae=T[G+1],Ee=-1===ae?p(l,s):s[ae];s[F++]=Ee}}}function Po(s){const l=s.tView;return null===l||l.incompleteFirstPass?s.tView=Is(1,null,s.template,s.decls,s.vars,s.directiveDefs,s.pipeDefs,s.viewQuery,s.schemas,s.consts):l}function Is(s,l,p,T,F,G,ae,Ee,Ye,pt){const kt=22+T,$t=kt+F,_i=function g1(s,l){const p=[];for(let T=0;T<l;T++)p.push(T<s?null:Gn);return p}(kt,$t),Si="function"==typeof pt?pt():pt;return _i[1]={type:s,blueprint:_i,template:p,queries:null,viewQuery:Ee,declTNode:l,data:_i.slice().fill(null,kt),bindingStartIndex:kt,expandoStartIndex:$t,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 G?G():G,pipeRegistry:"function"==typeof ae?ae():ae,firstChild:null,schemas:Ye,consts:Si,incompleteFirstPass:!1}}function c3(s,l,p,T){const F=_3(l);null===p?F.push(T):(F.push(p),s.firstCreatePass&&F4(s).push(T,F.length-1))}function l3(s,l,p,T){for(let F in s)if(s.hasOwnProperty(F)){p=null===p?{}:p;const G=s[F];null===T?M4(p,l,F,G):T.hasOwnProperty(F)&&M4(p,l,T[F],G)}return p}function M4(s,l,p,T){s.hasOwnProperty(p)?s[p].push(l,T):s[p]=[l,T]}function ks(s,l,p,T,F,G,ae,Ee){const Ye=hr(l,p);let kt,pt=l.inputs;!Ee&&null!=pt&&(kt=pt[T])?($h(s,p,kt,T,F),Hr(l)&&S4(p,l.index)):3&l.type&&(T=function Im(s){return"class"===s?"className":"for"===s?"htmlFor":"formaction"===s?"formAction":"innerHtml"===s?"innerHTML":"readonly"===s?"readOnly":"tabindex"===s?"tabIndex":s}(T),F=null!=ae?ae(F,l.value||"",T):F,G.setProperty(Ye,T,F))}function S4(s,l){const p=bt(l,s);16&p[2]||(p[2]|=32)}function Yh(s,l,p,T){let F=!1;if(Ti()){const G=null===T?null:{"":-1},ae=function u3(s,l){const p=s.directiveRegistry;let T=null,F=null;if(p)for(let G=0;G<p.length;G++){const ae=p[G];if(p0(l,ae.selectors,!1))if(T||(T=[]),dr(ae))if(null!==ae.findHostDirectiveDefs){const Ee=[];F=F||new Map,ae.findHostDirectiveDefs(ae,Ee,F),T.unshift(...Ee,ae),Kh(s,l,Ee.length)}else T.unshift(ae),Kh(s,l,0);else F=F||new Map,ae.findHostDirectiveDefs?.(ae,T,F),T.push(ae)}return null===T?null:[T,F]}(s,p);let Ee,Ye;null===ae?Ee=Ye=null:[Ee,Ye]=ae,null!==Ee&&(F=!0,jh(s,l,p,Ee,G,Ye)),G&&function D4(s,l,p){if(l){const T=s.localNames=[];for(let F=0;F<l.length;F+=2){const G=p[l[F+1]];if(null==G)throw new Y(-301,!1);T.push(l[F],G)}}}(p,T,G)}return p.mergedAttrs=kr(p.mergedAttrs,p.attrs),F}function jh(s,l,p,T,F,G){for(let pt=0;pt<T.length;pt++)al(va(p,l),s,T[pt].type);!function I4(s,l,p){s.flags|=1,s.directiveStart=l,s.directiveEnd=l+p,s.providerIndexes=l}(p,s.data.length,T.length);for(let pt=0;pt<T.length;pt++){const kt=T[pt];kt.providersResolver&&kt.providersResolver(kt)}let ae=!1,Ee=!1,Ye=Ds(s,l,T.length,null);for(let pt=0;pt<T.length;pt++){const kt=T[pt];p.mergedAttrs=kr(p.mergedAttrs,kt.hostAttrs),k4(s,p,l,Ye,kt),Qh(Ye,kt,F),null!==kt.contentQueries&&(p.flags|=4),(null!==kt.hostBindings||null!==kt.hostAttrs||0!==kt.hostVars)&&(p.flags|=64);const $t=kt.type.prototype;!ae&&($t.ngOnChanges||$t.ngOnInit||$t.ngDoCheck)&&((s.preOrderHooks||(s.preOrderHooks=[])).push(p.index),ae=!0),!Ee&&($t.ngOnChanges||$t.ngDoCheck)&&((s.preOrderCheckHooks||(s.preOrderCheckHooks=[])).push(p.index),Ee=!0),Ye++}!function Dm(s,l,p){const F=l.directiveEnd,G=s.data,ae=l.attrs,Ee=[];let Ye=null,pt=null;for(let kt=l.directiveStart;kt<F;kt++){const $t=G[kt],_i=p?p.get($t):null,zi=_i?_i.outputs:null;Ye=l3($t.inputs,kt,Ye,_i?_i.inputs:null),pt=l3($t.outputs,kt,pt,zi);const Xi=null===Ye||null===ae||f0(l)?null:R4(Ye,kt,ae);Ee.push(Xi)}null!==Ye&&(Ye.hasOwnProperty("class")&&(l.flags|=8),Ye.hasOwnProperty("style")&&(l.flags|=16)),l.initialInputs=Ee,l.inputs=Ye,l.outputs=pt}(s,p,G)}function h3(s,l,p){const T=p.directiveStart,F=p.directiveEnd,G=p.index,ae=function yo(){return Mn.lFrame.currentDirectiveIndex}();try{$r(G);for(let Ee=T;Ee<F;Ee++){const Ye=s.data[Ee],pt=l[Ee];Ys(Ee),(null!==Ye.hostBindings||0!==Ye.hostVars||null!==Ye.hostAttrs)&&L4(Ye,pt)}}finally{$r(-1),Ys(ae)}}function L4(s,l){null!==s.hostBindings&&s.hostBindings(1,l)}function Kh(s,l,p){l.componentOffset=p,(s.components||(s.components=[])).push(l.index)}function Qh(s,l,p){if(p){if(l.exportAs)for(let T=0;T<l.exportAs.length;T++)p[l.exportAs[T]]=s;dr(l)&&(p[""]=s)}}function k4(s,l,p,T,F){s.data[T]=F;const G=F.factory||(F.factory=Vr(F.type)),ae=new Nt(G,dr(F),mo);s.blueprint[T]=ae,p[T]=ae,function T4(s,l,p,T,F){const G=F.hostBindings;if(G){let ae=s.hostBindingOpCodes;null===ae&&(ae=s.hostBindingOpCodes=[]);const Ee=~l.index;(function d3(s){let l=s.length;for(;l>0;){const p=s[--l];if("number"==typeof p&&p<0)return p}return 0})(ae)!=Ee&&ae.push(Ee),ae.push(p,T,G)}}(s,l,T,Ds(s,p,F.hostVars,Gn),F)}function Ro(s,l,p,T,F,G){const ae=hr(s,l);!function f3(s,l,p,T,F,G,ae){if(null==G)s.removeAttribute(l,F,p);else{const Ee=null==ae?X(G):ae(G,T||"",F);s.setAttribute(l,F,Ee,p)}}(l[11],ae,G,s.value,p,T,F)}function P4(s,l,p,T,F,G){const ae=G[l];if(null!==ae){const Ee=T.setInput;for(let Ye=0;Ye<ae.length;){const pt=ae[Ye++],kt=ae[Ye++],$t=ae[Ye++];null!==Ee?T.setInput(p,$t,pt,kt):p[kt]=$t}}}function R4(s,l,p){let T=null,F=0;for(;F<p.length;){const G=p[F];if(0!==G)if(5!==G){if("number"==typeof G)break;if(s.hasOwnProperty(G)){null===T&&(T=[]);const ae=s[G];for(let Ee=0;Ee<ae.length;Ee+=2)if(ae[Ee]===l){T.push(G,ae[Ee+1],p[F+1]);break}}F+=2}else F+=2;else F+=4}return T}function N4(s,l,p,T){return[s,!0,!1,l,null,0,T,p,null,null]}function Pm(s,l){const p=bt(l,s);if(Hi(p)){const T=p[1];48&p[2]?po(T,p,T.template,p[8]):p[5]>0&&p3(p)}}function p3(s){for(let T=Gc(s);null!==T;T=Q1(T))for(let F=10;F<T.length;F++){const G=T[F];if(Hi(G))if(512&G[2]){const ae=G[1];po(ae,G,ae.template,G[8])}else G[5]>0&&p3(G)}const p=s[1].components;if(null!==p)for(let T=0;T<p.length;T++){const F=bt(p[T],s);Hi(F)&&F[5]>0&&p3(F)}}function qh(s,l){const p=bt(l,s),T=p[1];(function Rm(s,l){for(let p=l.length;p<s.blueprint.length;p++)l.push(s.blueprint[p])})(T,p),_s(T,p,p[8])}function M0(s,l){return s[13]?s[14][4]=l:s[13]=l,s[14]=l,l}function g3(s){for(;s;){s[2]|=32;const l=ml(s);if(Lr(s)&&!l)return s;s=l}return null}function Jh(s,l,p,T=!0){const F=l[10];F.begin&&F.begin();try{po(s,l,s.template,p)}catch(ae){throw T&&b3(l,ae),ae}finally{F.end&&F.end()}}function Xh(s,l,p){Ks(0),l(s,p)}function _3(s){return s[7]||(s[7]=[])}function F4(s){return s.cleanup||(s.cleanup=[])}function v3(s,l,p){return(null===s||dr(s))&&(p=function Ga(s){for(;Array.isArray(s);){if("object"==typeof s[1])return s;s=s[0]}return null}(p[l.index])),p[11]}function b3(s,l){const p=s[9],T=p?p.get(Qc,null):null;T&&T.handleError(l)}function $h(s,l,p,T,F){for(let G=0;G<p.length;){const ae=p[G++],Ee=p[G++],Ye=l[ae],pt=s.data[ae];null!==pt.setInput?pt.setInput(Ye,F,T,Ee):Ye[Ee]=F}}function Jc(s,l,p){const T=Ea(l,s);!function pl(s,l,p){s.setValue(l,p)}(s[11],T,p)}function eu(s,l,p){let T=p?s.styles:null,F=p?s.classes:null,G=0;if(null!==l)for(let ae=0;ae<l.length;ae++){const Ee=l[ae];"number"==typeof Ee?G=Ee:1==G?F=d(F,Ee):2==G&&(T=d(T,Ee+": "+l[++ae]+";"))}p?s.styles=T:s.stylesWithoutHost=T,p?s.classes=F:s.classesWithoutHost=F}function S0(s,l,p,T,F=!1){for(;null!==p;){const G=l[p.index];if(null!==G&&T.push(Jn(G)),ur(G))for(let Ee=10;Ee<G.length;Ee++){const Ye=G[Ee],pt=Ye[1].firstChild;null!==pt&&S0(Ye[1],Ye,pt,T)}const ae=p.type;if(8&ae)S0(s,l,p.child,T);else if(32&ae){const Ee=Ql(p,l);let Ye;for(;Ye=Ee();)T.push(Ye)}else if(16&ae){const Ee=yd(l,p);if(Array.isArray(Ee))T.push(...Ee);else{const Ye=ml(l[16]);S0(Ye[1],Ye,Ee,T,!0)}}p=F?p.projectionNext:p.next}return T}class z2{constructor(l,p){this._lView=l,this._cdRefInjectingView=p,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const l=this._lView,p=l[1];return S0(p,l,p.firstChild,[])}get context(){return this._lView[8]}set context(l){this._lView[8]=l}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const l=this._lView[3];if(ur(l)){const p=l[8],T=p?p.indexOf(this):-1;T>-1&&(pd(l,T),ci(p,T))}this._attachedToViewContainer=!1}Ko(this._lView[1],this._lView)}onDestroy(l){c3(this._lView[1],this._lView,null,l)}markForCheck(){g3(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Jh(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ku(s,l){vl(s,l,l[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(l){if(this._attachedToViewContainer)throw new Y(902,!1);this._appRef=l}}class H4 extends z2{constructor(l){super(l),this._view=l}detectChanges(){const l=this._view;Jh(l[1],l,l[8],!1)}checkNoChanges(){}get context(){return null}}class y3 extends qs{constructor(l){super(),this.ngModule=l}resolveComponentFactory(l){const p=Mi(l);return new V2(p,this.ngModule)}}function z4(s){const l=[];for(let p in s)s.hasOwnProperty(p)&&l.push({propName:s[p],templateName:p});return l}class V4{constructor(l,p){this.injector=l,this.parentInjector=p}get(l,p,T){T=J(T);const F=this.injector.get(l,u1,T);return F!==u1||p===u1?F:this.parentInjector.get(l,p,T)}}class V2 extends n0{constructor(l,p){super(),this.componentDef=l,this.ngModule=p,this.componentType=l.type,this.selector=function Uh(s){return s.map(Bh).join(",")}(l.selectors),this.ngContentSelectors=l.ngContentSelectors?l.ngContentSelectors:[],this.isBoundToModule=!!p}get inputs(){return z4(this.componentDef.inputs)}get outputs(){return z4(this.componentDef.outputs)}create(l,p,T,F){let G=(F=F||this.ngModule)instanceof wc?F:F?.injector;G&&null!==this.componentDef.getStandaloneInjector&&(G=this.componentDef.getStandaloneInjector(G)||G);const ae=G?new V4(l,G):l,Ee=ae.get(uo,null);if(null===Ee)throw new Y(407,!1);const Ye=ae.get(s0,null),pt=Ee.createRenderer(null,this.componentDef),kt=this.componentDef.selectors[0][0]||"div",$t=T?function w0(s,l,p){return s.selectRootElement(l,p===ri.ShadowDom)}(pt,T,this.componentDef.encapsulation):gl(pt,kt,function Nm(s){const l=s.toLowerCase();return"svg"===l?"svg":"math"===l?"math":null}(kt)),_i=this.componentDef.onPush?288:272,Si=Is(0,null,null,1,0,null,null,null,null,null),zi=On(null,Si,null,_i,null,null,Ee,pt,Ye,ae,null);let Xi,hn;sc(zi);try{const _n=this.componentDef;let zn,Gi=null;_n.findHostDirectiveDefs?(zn=[],Gi=new Map,_n.findHostDirectiveDefs(_n,zn,Gi),zn.push(_n)):zn=[_n];const Qn=function Hm(s,l){const p=s[1];return s[22]=l,er(p,22,2,"#host",null)}(zi,$t),fa=function zm(s,l,p,T,F,G,ae,Ee){const Ye=F[1];!function Vm(s,l,p,T){for(const F of s)l.mergedAttrs=kr(l.mergedAttrs,F.hostAttrs);null!==l.mergedAttrs&&(eu(l,l.mergedAttrs,!0),null!==p&&c2(T,p,l))}(T,s,l,ae);const pt=G.createRenderer(l,p),kt=On(F,Po(p),null,p.onPush?32:16,F[s.index],s,G,pt,Ee||null,null,null);return Ye.firstCreatePass&&Kh(Ye,s,T.length-1),M0(F,kt),F[s.index]=kt}(Qn,$t,_n,zn,zi,Ee,pt);hn=Rt(Si,22),$t&&function Um(s,l,p,T){if(T)un(s,p,["ng-version",Eh.full]);else{const{attrs:F,classes:G}=function A2(s){const l=[],p=[];let T=1,F=2;for(;T<s.length;){let G=s[T];if("string"==typeof G)2===F?""!==G&&l.push(G,s[++T]):8===F&&p.push(G);else{if(!Js(F))break;F=G}T++}return{attrs:l,classes:p}}(l.selectors[0]);F&&un(s,p,F),G&&G.length>0&&o2(s,p,G.join(" "))}}(pt,_n,$t,T),void 0!==p&&function B4(s,l,p){const T=s.projection=[];for(let F=0;F<l.length;F++){const G=p[F];T.push(null!=G?Array.from(G):null)}}(hn,this.ngContentSelectors,p),Xi=function Bm(s,l,p,T,F,G){const ae=Br(),Ee=F[1],Ye=hr(ae,F);jh(Ee,F,ae,p,null,T);for(let kt=0;kt<p.length;kt++)Ya(Uo(F,Ee,ae.directiveStart+kt,ae),F);h3(Ee,F,ae),Ye&&Ya(Ye,F);const pt=Uo(F,Ee,ae.directiveStart+ae.componentOffset,ae);if(s[8]=F[8]=pt,null!==G)for(const kt of G)kt(pt,l);return F2(Ee,ae,s),pt}(fa,_n,zn,Gi,zi,[Gm]),_s(Si,zi,null)}finally{ns()}return new Fm(this.componentType,Xi,Pa(hn,zi),zi,hn)}}class Fm extends t0{constructor(l,p,T,F,G){super(),this.location=T,this._rootLView=F,this._tNode=G,this.instance=p,this.hostView=this.changeDetectorRef=new H4(F),this.componentType=l}setInput(l,p){const T=this._tNode.inputs;let F;if(null!==T&&(F=T[l])){const G=this._rootLView;$h(G[1],G,F,l,p),S4(G,this._tNode.index)}}get injector(){return new gs(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(l){this.hostView.onDestroy(l)}}function Gm(){const s=Br();gt(Ni()[1],s)}function x3(s){let l=function U4(s){return Object.getPrototypeOf(s.prototype).constructor}(s.type),p=!0;const T=[s];for(;l;){let F;if(dr(s))F=l.\u0275cmp||l.\u0275dir;else{if(l.\u0275cmp)throw new Y(903,!1);F=l.\u0275dir}if(F){if(p){T.push(F);const ae=s;ae.inputs=tu(s.inputs),ae.declaredInputs=tu(s.declaredInputs),ae.outputs=tu(s.outputs);const Ee=F.hostBindings;Ee&&Zm(s,Ee);const Ye=F.viewQuery,pt=F.contentQueries;if(Ye&&Z4(s,Ye),pt&&W4(s,pt),u(s.inputs,F.inputs),u(s.declaredInputs,F.declaredInputs),u(s.outputs,F.outputs),dr(F)&&F.data.animation){const kt=s.data;kt.animation=(kt.animation||[]).concat(F.data.animation)}}const G=F.features;if(G)for(let ae=0;ae<G.length;ae++){const Ee=G[ae];Ee&&Ee.ngInherit&&Ee(s),Ee===x3&&(p=!1)}}l=Object.getPrototypeOf(l)}!function G4(s){let l=0,p=null;for(let T=s.length-1;T>=0;T--){const F=s[T];F.hostVars=l+=F.hostVars,F.hostAttrs=kr(F.hostAttrs,p=kr(p,F.hostAttrs))}}(T)}function tu(s){return s===Ut?{}:s===Vt?[]:s}function Z4(s,l){const p=s.viewQuery;s.viewQuery=p?(T,F)=>{l(T,F),p(T,F)}:l}function W4(s,l){const p=s.contentQueries;s.contentQueries=p?(T,F,G)=>{l(T,F,G),p(T,F,G)}:l}function Zm(s,l){const p=s.hostBindings;s.hostBindings=p?(T,F)=>{l(T,F),p(T,F)}:l}let nu=null;function Tc(){if(!nu){const s=_t.Symbol;if(s&&s.iterator)nu=s.iterator;else{const l=Object.getOwnPropertyNames(Map.prototype);for(let p=0;p<l.length;++p){const T=l[p];"entries"!==T&&"size"!==T&&Map.prototype[T]===Map.prototype.entries&&(nu=T)}}}return nu}function E0(s){return!!S3(s)&&(Array.isArray(s)||!(s instanceof Map)&&Tc()in s)}function S3(s){return null!==s&&("function"==typeof s||"object"==typeof s)}function Ac(s,l,p){return s[l]=p}function vs(s,l,p){return!Object.is(s[l],p)&&(s[l]=p,!0)}function _1(s,l,p,T){const F=vs(s,l,p);return vs(s,l+1,T)||F}function A0(s,l,p,T,F){const G=_1(s,l,p,T);return vs(s,l+2,F)||G}function E3(s,l,p,T){const F=Ni();return vs(F,Cs(),l)&&(Un(),Ro(mr(),F,s,l,p,T)),E3}function B2(s,l,p,T){return vs(s,Cs(),p)?l+X(p)+T:Gn}function b1(s,l,p,T,F,G){const Ee=_1(s,Ri(),p,F);return Bi(2),Ee?l+X(p)+T+X(F)+G:Gn}function x1(s,l,p,T,F,G,ae,Ee,Ye,pt){const $t=function go(s,l,p,T,F,G){const ae=_1(s,l,p,T);return _1(s,l+2,F,G)||ae}(s,Ri(),p,F,ae,Ye);return Bi(4),$t?l+X(p)+T+X(F)+G+X(ae)+Ee+X(Ye)+pt:Gn}function ef(s,l,p,T,F,G,ae,Ee){const Ye=Ni(),pt=Un(),kt=s+22,$t=pt.firstCreatePass?function qm(s,l,p,T,F,G,ae,Ee,Ye){const pt=l.consts,kt=er(l,s,4,ae||null,Zn(pt,Ee));Yh(l,p,kt,Zn(pt,Ye)),gt(l,kt);const $t=kt.tViews=Is(2,kt,T,F,G,l.directiveRegistry,l.pipeRegistry,null,l.schemas,pt);return null!==l.queries&&(l.queries.template(l,kt),$t.queries=l.queries.embeddedTView(kt)),kt}(kt,pt,Ye,l,p,T,F,G,ae):pt.data[kt];Ta($t,!1);const _i=Ye[11].createComment("");qo(pt,Ye,_i,$t),Ya(_i,Ye),M0(Ye,Ye[kt]=N4(_i,Ye,_i,$t)),Yr($t)&&H2(pt,Ye,$t),null!=ae&&Na(Ye,$t,Ee)}function tf(s){return gi(function to(){return Mn.lFrame.contextLView}(),22+s)}function D3(s,l,p){const T=Ni();return vs(T,Cs(),l)&&ks(Un(),mr(),T,s,l,T[11],p,!1),D3}function ru(s,l,p,T,F){const ae=F?"class":"style";$h(s,p,l.inputs[ae],ae,T)}function au(s,l,p,T){const F=Ni(),G=Un(),ae=22+s,Ee=F[11],Ye=F[ae]=gl(Ee,l,function Qi(){return Mn.lFrame.currentNamespace}()),pt=G.firstCreatePass?function Xm(s,l,p,T,F,G,ae){const Ee=l.consts,pt=er(l,s,2,F,Zn(Ee,G));return Yh(l,p,pt,Zn(Ee,ae)),null!==pt.attrs&&eu(pt,pt.attrs,!1),null!==pt.mergedAttrs&&eu(pt,pt.mergedAttrs,!0),null!==l.queries&&l.queries.elementStart(l,pt),pt}(ae,G,F,0,l,p,T):G.data[ae];return Ta(pt,!0),c2(Ee,Ye,pt),32!=(32&pt.flags)&&qo(G,F,Ye,pt),0===function et(){return Mn.lFrame.elementDepthCount}()&&Ya(Ye,F),function We(){Mn.lFrame.elementDepthCount++}(),Yr(pt)&&(H2(G,F,pt),F2(G,pt,F)),null!==T&&Na(F,pt),au}function G2(){let s=Br();Ws()?ms():(s=s.parent,Ta(s,!1));const l=s;!function Ot(){Mn.lFrame.elementDepthCount--}();const p=Un();return p.firstCreatePass&&(gt(p,s),za(s)&&p.queries.elementEnd(s)),null!=l.classesWithoutHost&&function yi(s){return 0!=(8&s.flags)}(l)&&ru(p,l,Ni(),l.classesWithoutHost,!0),null!=l.stylesWithoutHost&&function Oi(s){return 0!=(16&s.flags)}(l)&&ru(p,l,Ni(),l.stylesWithoutHost,!1),G2}function I3(s,l,p,T){return au(s,l,p,T),G2(),I3}function su(s,l,p){const T=Ni(),F=Un(),G=s+22,ae=F.firstCreatePass?function $m(s,l,p,T,F){const G=l.consts,ae=Zn(G,T),Ee=er(l,s,8,"ng-container",ae);return null!==ae&&eu(Ee,ae,!0),Yh(l,p,Ee,Zn(G,F)),null!==l.queries&&l.queries.elementStart(l,Ee),Ee}(G,F,T,l,p):F.data[G];Ta(ae,!0);const Ee=T[G]=T[11].createComment("");return qo(F,T,Ee,ae),Ya(Ee,T),Yr(ae)&&(H2(F,T,ae),F2(F,ae,T)),null!=p&&Na(T,ae),su}function ou(){let s=Br();const l=Un();return Ws()?ms():(s=s.parent,Ta(s,!1)),l.firstCreatePass&&(gt(l,s),za(s)&&l.queries.elementEnd(s)),ou}function k3(s,l,p){return su(s,l,p),ou(),k3}function nf(){return Ni()}function cu(s){return!!s&&"function"==typeof s.then}function lu(s){return!!s&&"function"==typeof s.subscribe}const Xn=lu;function $o(s,l,p,T){const F=Ni(),G=Un(),ae=Br();return Gs(G,F,F[11],ae,s,l,T),$o}function D0(s,l){const p=Br(),T=Ni(),F=Un();return Gs(F,T,v3(Ms(F.data),p,T),p,s,l),D0}function Gs(s,l,p,T,F,G,ae){const Ee=Yr(T),pt=s.firstCreatePass&&F4(s),kt=l[8],$t=_3(l);let _i=!0;if(3&T.type||ae){const Xi=hr(T,l),hn=ae?ae(Xi):Xi,_n=$t.length,zn=ae?Qn=>ae(Jn(Qn[T.index])):T.index;let Gi=null;if(!ae&&Ee&&(Gi=function du(s,l,p,T){const F=s.cleanup;if(null!=F)for(let G=0;G<F.length-1;G+=2){const ae=F[G];if(ae===p&&F[G+1]===T){const Ee=l[7],Ye=F[G+2];return Ee.length>Ye?Ee[Ye]:null}"string"==typeof ae&&(G+=2)}return null}(s,l,F,T.index)),null!==Gi)(Gi.__ngLastListenerFn__||Gi).__ngNextListenerFn__=G,Gi.__ngLastListenerFn__=G,_i=!1;else{G=P3(T,l,kt,G,!1);const Qn=p.listen(hn,F,G);$t.push(G,Qn),pt&&pt.push(F,zn,_n,_n+1)}}else G=P3(T,l,kt,G,!1);const Si=T.outputs;let zi;if(_i&&null!==Si&&(zi=Si[F])){const Xi=zi.length;if(Xi)for(let hn=0;hn<Xi;hn+=2){const fa=l[zi[hn]][zi[hn+1]].subscribe(G),Ia=$t.length;$t.push(G,fa),pt&&pt.push(F,T.index,Ia,-(Ia+1))}}}function O3(s,l,p,T){try{return!1!==p(T)}catch(F){return b3(s,F),!1}}function P3(s,l,p,T,F){return function G(ae){if(ae===Function)return T;g3(s.componentOffset>-1?bt(s.index,l):l);let Ye=O3(l,0,T,ae),pt=G.__ngNextListenerFn__;for(;pt;)Ye=O3(l,0,pt,ae)&&Ye,pt=pt.__ngNextListenerFn__;return F&&!1===Ye&&(ae.preventDefault(),ae.returnValue=!1),Ye}}function I0(s=1){return function zs(s){return(Mn.lFrame.contextLView=function an(s,l){for(;s>0;)l=l[15],s--;return l}(s,Mn.lFrame.contextLView))[8]}(s)}function R3(s,l){let p=null;const T=function Hh(s){const l=s.attrs;if(null!=l){const p=l.indexOf(5);if(0==(1&p))return l[p+1]}return null}(s);for(let F=0;F<l.length;F++){const G=l[F];if("*"!==G){if(null===T?p0(s,G,!0):Vh(T,G))return F}else p=F}return p}function k0(s){const l=Ni()[16][6];if(!l.projection){const T=l.projection=Di(s?s.length:1,null),F=T.slice();let G=l.child;for(;null!==G;){const ae=s?R3(G,s):0;null!==ae&&(F[ae]?F[ae].projectionNext=G:T[ae]=G,F[ae]=G),G=G.next}}}function _o(s,l=0,p){const T=Ni(),F=Un(),G=er(F,22+s,16,null,p||null);null===G.projection&&(G.projection=l),ms(),32!=(32&G.flags)&&function xd(s,l,p){s2(l[11],0,l,p,sh(s,p,l),ba(p.parent||l[6],p,l))}(F,T,G)}function ec(s,l,p){return En(s,"",l,"",p),ec}function En(s,l,p,T,F){const G=Ni(),ae=B2(G,l,p,T);return ae!==Gn&&ks(Un(),mr(),G,s,ae,G[11],F,!1),En}function O0(s,l,p,T,F,G,ae){const Ee=Ni(),Ye=b1(Ee,l,p,T,F,G);return Ye!==Gn&&ks(Un(),mr(),Ee,s,Ye,Ee[11],ae,!1),O0}function F0(s,l){return s<<17|l<<2}function No(s){return s>>17&32767}function Z2(s){return 2|s}function Xc(s){return(131068&s)>>2}function Zs(s,l){return-131069&s|l<<2}function H0(s){return 1|s}function $c(s,l,p,T,F){const G=s[p+1],ae=null===l;let Ee=T?No(G):Xc(G),Ye=!1;for(;0!==Ee&&(!1===Ye||ae);){const kt=s[Ee+1];el(s[Ee],l)&&(Ye=!0,s[Ee+1]=T?H0(kt):Z2(kt)),Ee=T?No(kt):Xc(kt)}Ye&&(s[p+1]=T?Z2(G):H0(G))}function el(s,l){return null===s||null==l||(Array.isArray(s)?s[1]:s)===l||!(!Array.isArray(s)||"string"!=typeof l)&&Wa(s,l)>=0}const xa={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function z0(s){return s.substring(xa.key,xa.keyEnd)}function ta(s,l){const p=xa.textEnd;return p===l?-1:(l=xa.keyEnd=function pu(s,l,p){for(;l<p&&s.charCodeAt(l)>32;)l++;return l}(s,xa.key=l,p),S1(s,l,p))}function S1(s,l,p){for(;l<p&&s.charCodeAt(l)<=32;)l++;return l}function _u(s,l,p){return tc(s,l,p,!1),_u}function vu(s,l){return tc(s,l,null,!0),vu}function yu(s){ic(_r,vo,s,!0)}function vo(s,l){for(let p=function M1(s){return function Il(s){xa.key=0,xa.keyEnd=0,xa.value=0,xa.valueEnd=0,xa.textEnd=s.length}(s),ta(s,S1(s,0,xa.textEnd))}(l);p>=0;p=ta(l,p))_r(s,z0(l),!0)}function tc(s,l,p,T){const F=Ni(),G=Un(),ae=Bi(2);G.firstUpdatePass&&lf(G,s,ae,T),l!==Gn&&vs(F,ae,l)&&hf(G,G.data[Ir()],F,F[11],s,F[ae+1]=function i6(s,l){return null==s||("string"==typeof l?s+=l:"object"==typeof s&&(s=O(as(s)))),s}(l,p),T,ae)}function ic(s,l,p,T){const F=Un(),G=Bi(2);F.firstUpdatePass&&lf(F,null,G,T);const ae=Ni();if(p!==Gn&&vs(ae,G,p)){const Ee=F.data[Ir()];if(G3(Ee,T)&&!cf(F,G)){let Ye=T?Ee.classesWithoutHost:Ee.stylesWithoutHost;null!==Ye&&(p=d(Ye,p||"")),ru(F,Ee,ae,p,T)}else!function t6(s,l,p,T,F,G,ae,Ee){F===Gn&&(F=Vt);let Ye=0,pt=0,kt=0<F.length?F[0]:null,$t=0<G.length?G[0]:null;for(;null!==kt||null!==$t;){const _i=Ye<F.length?F[Ye+1]:void 0,Si=pt<G.length?G[pt+1]:void 0;let Xi,zi=null;kt===$t?(Ye+=2,pt+=2,_i!==Si&&(zi=$t,Xi=Si)):null===$t||null!==kt&&kt<$t?(Ye+=2,zi=kt):(pt+=2,zi=$t,Xi=Si),null!==zi&&hf(s,l,p,T,zi,Xi,ae,Ee),kt=Ye<F.length?F[Ye]:null,$t=pt<G.length?G[pt]:null}}(F,Ee,ae,ae[11],ae[G+1],ae[G+1]=function e6(s,l,p){if(null==p||""===p)return Vt;const T=[],F=as(p);if(Array.isArray(F))for(let G=0;G<F.length;G++)s(T,F[G],!0);else if("object"==typeof F)for(const G in F)F.hasOwnProperty(G)&&s(T,G,F[G]);else"string"==typeof F&&l(T,F);return T}(s,l,p),T,G)}}function cf(s,l){return l>=s.expandoStartIndex}function lf(s,l,p,T){const F=s.data;if(null===F[p+1]){const G=F[Ir()],ae=cf(s,p);G3(G,T)&&null===l&&!ae&&(l=!1),l=function bo(s,l,p,T){const F=Ms(s);let G=T?l.residualClasses:l.residualStyles;if(null===F)0===(T?l.classBindings:l.styleBindings)&&(p=Y2(p=Cu(null,s,l,p,T),l.attrs,T),G=null);else{const ae=l.directiveStylingLast;if(-1===ae||s[ae]!==F)if(p=Cu(F,s,l,p,T),null===G){let Ye=function xu(s,l,p){const T=p?l.classBindings:l.styleBindings;if(0!==Xc(T))return s[No(T)]}(s,l,T);void 0!==Ye&&Array.isArray(Ye)&&(Ye=Cu(null,s,l,Ye[1],T),Ye=Y2(Ye,l.attrs,T),function V3(s,l,p,T){s[No(p?l.classBindings:l.styleBindings)]=T}(s,l,T,Ye))}else G=function B3(s,l,p){let T;const F=l.directiveEnd;for(let G=1+l.directiveStylingLast;G<F;G++)T=Y2(T,s[G].hostAttrs,p);return Y2(T,l.attrs,p)}(s,l,T)}return void 0!==G&&(T?l.residualClasses=G:l.residualStyles=G),p}(F,G,l,T),function H3(s,l,p,T,F,G){let ae=G?l.classBindings:l.styleBindings,Ee=No(ae),Ye=Xc(ae);s[T]=p;let kt,pt=!1;if(Array.isArray(p)){const $t=p;kt=$t[1],(null===kt||Wa($t,kt)>0)&&(pt=!0)}else kt=p;if(F)if(0!==Ye){const _i=No(s[Ee+1]);s[T+1]=F0(_i,Ee),0!==_i&&(s[_i+1]=Zs(s[_i+1],T)),s[Ee+1]=function F3(s,l){return 131071&s|l<<17}(s[Ee+1],T)}else s[T+1]=F0(Ee,0),0!==Ee&&(s[Ee+1]=Zs(s[Ee+1],T)),Ee=T;else s[T+1]=F0(Ye,0),0===Ee?Ee=T:s[Ye+1]=Zs(s[Ye+1],T),Ye=T;pt&&(s[T+1]=Z2(s[T+1])),$c(s,kt,T,!0),$c(s,kt,T,!1),function mu(s,l,p,T,F){const G=F?s.residualClasses:s.residualStyles;null!=G&&"string"==typeof l&&Wa(G,l)>=0&&(p[T+1]=H0(p[T+1]))}(l,kt,s,T,G),ae=F0(Ee,Ye),G?l.classBindings=ae:l.styleBindings=ae}(F,G,l,p,ae,T)}}function Cu(s,l,p,T,F){let G=null;const ae=p.directiveEnd;let Ee=p.directiveStylingLast;for(-1===Ee?Ee=p.directiveStart:Ee++;Ee<ae&&(G=l[Ee],T=Y2(T,G.hostAttrs,F),G!==s);)Ee++;return null!==s&&(p.directiveStylingLast=Ee),T}function Y2(s,l,p){const T=p?1:2;let F=-1;if(null!==l)for(let G=0;G<l.length;G++){const ae=l[G];"number"==typeof ae?F=ae:F===T&&(Array.isArray(s)||(s=void 0===s?[]:["",s]),_r(s,ae,!!p||l[++G]))}return void 0===s?null:s}function hf(s,l,p,T,F,G,ae,Ee){if(!(3&l.type))return;const Ye=s.data,pt=Ye[Ee+1],kt=function fu(s){return 1==(1&s)}(pt)?U3(Ye,l,p,F,Xc(pt),ae):void 0;wu(kt)||(wu(G)||function Fa(s){return 2==(2&s)}(pt)&&(G=U3(Ye,null,p,F,Ee,ae)),function ch(s,l,p,T,F){if(l)F?s.addClass(p,T):s.removeClass(p,T);else{let G=-1===T.indexOf("-")?void 0:As.DashCase;null==F?s.removeStyle(p,T,G):("string"==typeof F&&F.endsWith("!important")&&(F=F.slice(0,-10),G|=As.Important),s.setStyle(p,T,F,G))}}(T,ae,Ea(Ir(),p),F,G))}function U3(s,l,p,T,F,G){const ae=null===l;let Ee;for(;F>0;){const Ye=s[F],pt=Array.isArray(Ye),kt=pt?Ye[1]:Ye,$t=null===kt;let _i=p[F+1];_i===Gn&&(_i=$t?Vt:void 0);let Si=$t?Aa(_i,T):kt===T?_i:void 0;if(pt&&!wu(Si)&&(Si=Aa(Ye,T)),wu(Si)&&(Ee=Si,ae))return Ee;const zi=s[F+1];F=ae?No(zi):Xc(zi)}if(null!==l){let Ye=G?l.residualClasses:l.residualStyles;null!=Ye&&(Ee=Aa(Ye,T))}return Ee}function wu(s){return void 0!==s}function G3(s,l){return 0!=(s.flags&(l?8:16))}function Z3(s,l=""){const p=Ni(),T=Un(),F=s+22,G=T.firstCreatePass?er(T,F,1,l,null):T.data[F],ae=p[F]=function Jl(s,l){return s.createText(l)}(p[11],l);qo(T,p,ae,G),Ta(G,!1)}function U0(s){return $s("",s,""),U0}function $s(s,l,p){const T=Ni(),F=B2(T,s,l,p);return F!==Gn&&Jc(T,Ir(),F),$s}function Ho(s,l,p,T,F){const G=Ni(),ae=b1(G,s,l,p,T,F);return ae!==Gn&&Jc(G,Ir(),ae),Ho}function Mu(s,l,p,T,F,G,ae){const Ee=Ni(),Ye=function y1(s,l,p,T,F,G,ae,Ee){const pt=A0(s,Ri(),p,F,ae);return Bi(3),pt?l+X(p)+T+X(F)+G+X(ae)+Ee:Gn}(Ee,s,l,p,T,F,G,ae);return Ye!==Gn&&Jc(Ee,Ir(),Ye),Mu}function W3(s,l,p,T,F,G,ae,Ee,Ye){const pt=Ni(),kt=x1(pt,s,l,p,T,F,G,ae,Ee,Ye);return kt!==Gn&&Jc(pt,Ir(),kt),W3}function K3(s,l,p){ic(_r,vo,B2(Ni(),s,l,p),!0)}function Tu(s,l,p){const T=Ni();return vs(T,Cs(),l)&&ks(Un(),mr(),T,s,l,T[11],p,!0),Tu}function X3(s,l,p){const T=Ni();if(vs(T,Cs(),l)){const G=Un(),ae=mr();ks(G,ae,T,s,l,v3(Ms(G.data),ae,T),p,!0)}return X3}const kl=void 0;var $3=["en",[["a","p"],["AM","PM"],kl],[["AM","PM"],kl,kl],[["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"]],kl,[["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"]],kl,[["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}",kl,"{1} 'at' {0}",kl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function u6(s){const p=Math.floor(Math.abs(s)),T=s.toString().replace(/^[^.]*\.?/,"").length;return 1===p&&0===T?1:5}];let j2={};function Au(s){const l=function m6(s){return s.toLowerCase().replace(/_/g,"-")}(s);let p=Lu(l);if(p)return p;const T=l.split("-")[0];if(p=Lu(T),p)return p;if("en"===T)return $3;throw new Y(701,!1)}function G0(s){return Au(s)[Rn.PluralCase]}function Lu(s){return s in j2||(j2[s]=_t.ng&&_t.ng.common&&_t.ng.common.locales&&_t.ng.common.locales[s]),j2[s]}var Rn=(()=>((Rn=Rn||{})[Rn.LocaleId=0]="LocaleId",Rn[Rn.DayPeriodsFormat=1]="DayPeriodsFormat",Rn[Rn.DayPeriodsStandalone=2]="DayPeriodsStandalone",Rn[Rn.DaysFormat=3]="DaysFormat",Rn[Rn.DaysStandalone=4]="DaysStandalone",Rn[Rn.MonthsFormat=5]="MonthsFormat",Rn[Rn.MonthsStandalone=6]="MonthsStandalone",Rn[Rn.Eras=7]="Eras",Rn[Rn.FirstDayOfWeek=8]="FirstDayOfWeek",Rn[Rn.WeekendRange=9]="WeekendRange",Rn[Rn.DateFormat=10]="DateFormat",Rn[Rn.TimeFormat=11]="TimeFormat",Rn[Rn.DateTimeFormat=12]="DateTimeFormat",Rn[Rn.NumberSymbols=13]="NumberSymbols",Rn[Rn.NumberFormats=14]="NumberFormats",Rn[Rn.CurrencyCode=15]="CurrencyCode",Rn[Rn.CurrencySymbol=16]="CurrencySymbol",Rn[Rn.CurrencyName=17]="CurrencyName",Rn[Rn.Currencies=18]="Currencies",Rn[Rn.Directionality=19]="Directionality",Rn[Rn.PluralCase=20]="PluralCase",Rn[Rn.ExtraData=21]="ExtraData",Rn))();const T1="en-US";let e4=T1;function ku(s,l,p,T,F){if(s=L(s),Array.isArray(s))for(let G=0;G<s.length;G++)ku(s[G],l,p,T,F);else{const G=Un(),ae=Ni();let Ee=Do(s)?s:L(s.provide),Ye=x2(s);const pt=Br(),kt=1048575&pt.providerIndexes,$t=pt.directiveStart,_i=pt.providerIndexes>>20;if(Do(s)||!s.multi){const Si=new Nt(Ye,F,mo),zi=Nf(Ee,l,F?kt:kt+_i,$t);-1===zi?(al(va(pt,ae),G,Ee),Rf(G,s,l.length),l.push(Ee),pt.directiveStart++,pt.directiveEnd++,F&&(pt.providerIndexes+=1048576),p.push(Si),ae.push(Si)):(p[zi]=Si,ae[zi]=Si)}else{const Si=Nf(Ee,l,kt+_i,$t),zi=Nf(Ee,l,kt,kt+_i),Xi=Si>=0&&p[Si],hn=zi>=0&&p[zi];if(F&&!hn||!F&&!Xi){al(va(pt,ae),G,Ee);const _n=function Dg(s,l,p,T,F){const G=new Nt(s,p,mo);return G.multi=[],G.index=l,G.componentProviders=0,w6(G,F,T&&!p),G}(F?M6:Lg,p.length,F,T,Ye);!F&&hn&&(p[zi].providerFactory=_n),Rf(G,s,l.length,0),l.push(Ee),pt.directiveStart++,pt.directiveEnd++,F&&(pt.providerIndexes+=1048576),p.push(_n),ae.push(_n)}else Rf(G,s,Si>-1?Si:zi,w6(p[F?zi:Si],Ye,!F&&T));!F&&T&&hn&&p[zi].componentProviders++}}}function Rf(s,l,p,T){const F=Do(l),G=function Jd(s){return!!s.useClass}(l);if(F||G){const Ye=(G?L(l.useClass):l).prototype.ngOnDestroy;if(Ye){const pt=s.destroyHooks||(s.destroyHooks=[]);if(!F&&l.multi){const kt=pt.indexOf(p);-1===kt?pt.push(p,[T,Ye]):pt[kt+1].push(T,Ye)}else pt.push(p,Ye)}}}function w6(s,l,p){return p&&s.componentProviders++,s.multi.push(l)-1}function Nf(s,l,p,T){for(let F=p;F<T;F++)if(l[F]===s)return F;return-1}function Lg(s,l,p,T){return Ff(this.multi,[])}function M6(s,l,p,T){const F=this.multi;let G;if(this.providerFactory){const ae=this.providerFactory.componentProviders,Ee=Uo(p,p[1],this.providerFactory.index,T);G=Ee.slice(0,ae),Ff(F,G);for(let Ye=ae;Ye<Ee.length;Ye++)G.push(Ee[Ye])}else G=[],Ff(F,G);return G}function Ff(s,l){for(let p=0;p<s.length;p++)l.push((0,s[p])());return l}function S6(s,l=[]){return p=>{p.providersResolver=(T,F)=>function Ag(s,l,p){const T=Un();if(T.firstCreatePass){const F=dr(s);ku(p,T.data,T.blueprint,F,!0),ku(l,T.data,T.blueprint,F,!1)}}(T,F?F(s):s,l)}}class W0{}class E6{}function Ig(s,l){return new T6(s,l??null)}class T6 extends W0{constructor(l,p){super(),this._parent=p,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new y3(this);const T=si(l);this._bootstrapComponents=ko(T.bootstrap),this._r3Injector=R2(l,p,[{provide:W0,useValue:this},{provide:qs,useValue:this.componentFactoryResolver}],O(l),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(l)}get injector(){return this._r3Injector}destroy(){const l=this._r3Injector;!l.destroyed&&l.destroy(),this.destroyCbs.forEach(p=>p()),this.destroyCbs=null}onDestroy(l){this.destroyCbs.push(l)}}class Hf extends E6{constructor(l){super(),this.moduleType=l}create(l){return new T6(this.moduleType,l)}}class kg extends W0{constructor(l,p,T){super(),this.componentFactoryResolver=new y3(this),this.instance=null;const F=new b2([...l,{provide:W0,useValue:this},{provide:qs,useValue:this.componentFactoryResolver}],p||El(),T,new Set(["environment"]));this.injector=F,F.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(l){this.injector.onDestroy(l)}}function zf(s,l,p=null){return new kg(s,l,p).injector}let Og=(()=>{class s{constructor(p){this._injector=p,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(p){if(!p.standalone)return null;if(!this.cachedInjectors.has(p.id)){const T=Yc(0,p.type),F=T.length>0?zf([T],this._injector,`Standalone[${p.type.name}]`):null;this.cachedInjectors.set(p.id,F)}return this.cachedInjectors.get(p.id)}ngOnDestroy(){try{for(const p of this.cachedInjectors.values())null!==p&&p.destroy()}finally{this.cachedInjectors.clear()}}}return s.\u0275prov=Ne({token:s,providedIn:"environment",factory:()=>new s(zt(wc))}),s})();function A6(s){s.getStandaloneInjector=l=>l.get(Og).getOrCreateStandaloneInjector(s)}function R6(s,l,p){const T=In()+s,F=Ni();return F[T]===Gn?Ac(F,T,p?l.call(p):l()):function T0(s,l){return s[l]}(F,T)}function Zf(s,l,p,T){return H6(Ni(),In(),s,l,p,T)}function N6(s,l,p,T,F){return z6(Ni(),In(),s,l,p,T,F)}function Wf(s,l,p,T,F,G){return V6(Ni(),In(),s,l,p,T,F,G)}function Ou(s,l){const p=s[l];return p===Gn?void 0:p}function H6(s,l,p,T,F,G){const ae=l+p;return vs(s,ae,F)?Ac(s,ae+1,G?T.call(G,F):T(F)):Ou(s,ae+1)}function z6(s,l,p,T,F,G,ae){const Ee=l+p;return _1(s,Ee,F,G)?Ac(s,Ee+2,ae?T.call(ae,F,G):T(F,G)):Ou(s,Ee+2)}function V6(s,l,p,T,F,G,ae,Ee){const Ye=l+p;return A0(s,Ye,F,G,ae)?Ac(s,Ye+3,Ee?T.call(Ee,F,G,ae):T(F,G,ae)):Ou(s,Ye+3)}function U6(s,l){const p=Un();let T;const F=s+22;p.firstCreatePass?(T=function Zg(s,l){if(l)for(let p=l.length-1;p>=0;p--){const T=l[p];if(s===T.name)return T}}(l,p.pipeRegistry),p.data[F]=T,T.onDestroy&&(p.destroyHooks||(p.destroyHooks=[])).push(F,T.onDestroy)):T=p.data[F];const G=T.factory||(T.factory=Vr(T.type)),ae=xe(mo);try{const Ee=rs(!1),Ye=G();return rs(Ee),function Jm(s,l,p,T){p>=s.data.length&&(s.data[p]=null,s.blueprint[p]=null),l[p]=T}(p,Ni(),F,Ye),Ye}finally{xe(ae)}}function Yf(s,l,p){const T=s+22,F=Ni(),G=gi(F,T);return Pu(F,T)?H6(F,In(),l,G.transform,p,G):G.transform(p)}function jf(s,l,p,T){const F=s+22,G=Ni(),ae=gi(G,F);return Pu(G,F)?z6(G,In(),l,ae.transform,p,T,ae):ae.transform(p,T)}function G6(s,l,p,T,F){const G=s+22,ae=Ni(),Ee=gi(ae,G);return Pu(ae,G)?V6(ae,In(),l,Ee.transform,p,T,F,Ee):Ee.transform(p,T,F)}function Pu(s,l){return s[1].data[l].pure}function Kf(s){return l=>{setTimeout(s,void 0,l)}}const il=class Z6 extends t.x{constructor(l=!1){super(),this.__isAsync=l}emit(l){super.next(l)}subscribe(l,p,T){let F=l,G=p||(()=>null),ae=T;if(l&&"object"==typeof l){const Ye=l;F=Ye.next?.bind(Ye),G=Ye.error?.bind(Ye),ae=Ye.complete?.bind(Ye)}this.__isAsync&&(G=Kf(G),F&&(F=Kf(F)),ae&&(ae=Kf(ae)));const Ee=super.subscribe({next:F,error:G,complete:ae});return l instanceof e.w0&&l.add(Ee),Ee}};function jg(){return this._results[Tc()]()}class n4{constructor(l=!1){this._emitDistinctChangesOnly=l,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const p=Tc(),T=n4.prototype;T[p]||(T[p]=jg)}get changes(){return this._changes||(this._changes=new il)}get(l){return this._results[l]}map(l){return this._results.map(l)}filter(l){return this._results.filter(l)}find(l){return this._results.find(l)}reduce(l,p){return this._results.reduce(l,p)}forEach(l){this._results.forEach(l)}some(l){return this._results.some(l)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(l,p){const T=this;T.dirty=!1;const F=function dt(s){return s.flat(Number.POSITIVE_INFINITY)}(l);(this._changesDetected=!function Ue(s,l,p){if(s.length!==l.length)return!1;for(let T=0;T<s.length;T++){let F=s[T],G=l[T];if(p&&(F=p(F),G=p(G)),G!==F)return!1}return!0}(T._results,F,p))&&(T._results=F,T.length=F.length,T.last=F[this.length-1],T.first=F[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Ru=(()=>{class s{}return s.__NG_ELEMENT_ID__=W6,s})();const Kg=Ru,Qg=class extends Kg{constructor(l,p,T){super(),this._declarationLView=l,this._declarationTContainer=p,this.elementRef=T}createEmbeddedView(l,p){const T=this._declarationTContainer.tViews,F=On(this._declarationLView,T,l,16,null,T.declTNode,null,null,null,null,p||null);F[17]=this._declarationLView[this._declarationTContainer.index];const ae=this._declarationLView[19];return null!==ae&&(F[19]=ae.createEmbeddedView(T)),_s(T,F,l),new z2(F)}};function W6(){return r4(Br(),Ni())}function r4(s,l){return 4&s.type?new Qg(l,s,Pa(s,l)):null}let a4=(()=>{class s{}return s.__NG_ELEMENT_ID__=Y6,s})();function Y6(){return Xf(Br(),Ni())}const qg=a4,Qf=class extends qg{constructor(l,p,T){super(),this._lContainer=l,this._hostTNode=p,this._hostLView=T}get element(){return Pa(this._hostTNode,this._hostLView)}get injector(){return new gs(this._hostTNode,this._hostLView)}get parentInjector(){const l=dc(this._hostTNode,this._hostLView);if(ea(l)){const p=_a(l,this._hostLView),T=Or(l);return new gs(p[1].data[T+8],p)}return new gs(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(l){const p=qf(this._lContainer);return null!==p&&p[l]||null}get length(){return this._lContainer.length-10}createEmbeddedView(l,p,T){let F,G;"number"==typeof T?F=T:null!=T&&(F=T.index,G=T.injector);const ae=l.createEmbeddedView(p||{},G);return this.insert(ae,F),ae}createComponent(l,p,T,F,G){const ae=l&&!function re(s){return"function"==typeof s}(l);let Ee;if(ae)Ee=p;else{const $t=p||{};Ee=$t.index,T=$t.injector,F=$t.projectableNodes,G=$t.environmentInjector||$t.ngModuleRef}const Ye=ae?l:new V2(Mi(l)),pt=T||this.parentInjector;if(!G&&null==Ye.ngModule){const _i=(ae?pt:this.parentInjector).get(wc,null);_i&&(G=_i)}const kt=Ye.create(pt,F,void 0,G);return this.insert(kt.hostView,Ee),kt}insert(l,p){const T=l._lView,F=T[1];if(function nn(s){return ur(s[3])}(T)){const kt=this.indexOf(l);if(-1!==kt)this.detach(kt);else{const $t=T[3],_i=new Qf($t,$t[6],$t[3]);_i.detach(_i.indexOf(l))}}const G=this._adjustIndex(p),ae=this._lContainer;!function qu(s,l,p,T){const F=10+T,G=p.length;T>0&&(p[F-1][4]=l),T<G-10?(l[4]=p[F],Pt(p,10+T,l)):(p.push(l),l[4]=null),l[3]=p;const ae=l[17];null!==ae&&p!==ae&&function md(s,l){const p=s[9];l[16]!==l[3][3][16]&&(s[2]=!0),null===p?s[9]=[l]:p.push(l)}(ae,l);const Ee=l[19];null!==Ee&&Ee.insertView(s),l[2]|=64}(F,T,ae,G);const Ee=$l(G,ae),Ye=T[11],pt=Xl(Ye,ae[7]);return null!==pt&&function ju(s,l,p,T,F,G){T[0]=F,T[6]=l,vl(s,T,p,1,F,G)}(F,ae[6],Ye,T,pt,Ee),l.attachToViewContainerRef(),Pt(Jf(ae),G,l),l}move(l,p){return this.insert(l,p)}indexOf(l){const p=qf(this._lContainer);return null!==p?p.indexOf(l):-1}remove(l){const p=this._adjustIndex(l,-1),T=pd(this._lContainer,p);T&&(ci(Jf(this._lContainer),p),Ko(T[1],T))}detach(l){const p=this._adjustIndex(l,-1),T=pd(this._lContainer,p);return T&&null!=ci(Jf(this._lContainer),p)?new z2(T):null}_adjustIndex(l,p=0){return l??this.length+p}};function qf(s){return s[8]}function Jf(s){return s[8]||(s[8]=[])}function Xf(s,l){let p;const T=l[s.index];if(ur(T))p=T;else{let F;if(8&s.type)F=Jn(T);else{const G=l[11];F=G.createComment("");const ae=hr(s,l);bc(G,Xl(G,ae),F,function _d(s,l){return s.nextSibling(l)}(G,ae),!1)}l[s.index]=p=N4(T,l,F,s),M0(l,p)}return new Qf(p,s,l)}class $f{constructor(l){this.queryList=l,this.matches=null}clone(){return new $f(this.queryList)}setDirty(){this.queryList.setDirty()}}class em{constructor(l=[]){this.queries=l}createEmbeddedView(l){const p=l.queries;if(null!==p){const T=null!==l.contentQueries?l.contentQueries[0]:p.length,F=[];for(let G=0;G<T;G++){const ae=p.getByIndex(G);F.push(this.queries[ae.indexInDeclarationView].clone())}return new em(F)}return null}insertView(l){this.dirtyQueriesWithMatches(l)}detachView(l){this.dirtyQueriesWithMatches(l)}dirtyQueriesWithMatches(l){for(let p=0;p<this.queries.length;p++)null!==tp(l,p).matches&&this.queries[p].setDirty()}}class j6{constructor(l,p,T=null){this.predicate=l,this.flags=p,this.read=T}}class tm{constructor(l=[]){this.queries=l}elementStart(l,p){for(let T=0;T<this.queries.length;T++)this.queries[T].elementStart(l,p)}elementEnd(l){for(let p=0;p<this.queries.length;p++)this.queries[p].elementEnd(l)}embeddedTView(l){let p=null;for(let T=0;T<this.length;T++){const F=null!==p?p.length:0,G=this.getByIndex(T).embeddedTView(l,F);G&&(G.indexInDeclarationView=T,null!==p?p.push(G):p=[G])}return null!==p?new tm(p):null}template(l,p){for(let T=0;T<this.queries.length;T++)this.queries[T].template(l,p)}getByIndex(l){return this.queries[l]}get length(){return this.queries.length}track(l){this.queries.push(l)}}class im{constructor(l,p=-1){this.metadata=l,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=p}elementStart(l,p){this.isApplyingToNode(p)&&this.matchTNode(l,p)}elementEnd(l){this._declarationNodeIndex===l.index&&(this._appliesToNextNode=!1)}template(l,p){this.elementStart(l,p)}embeddedTView(l,p){return this.isApplyingToNode(l)?(this.crossesNgTemplate=!0,this.addMatch(-l.index,p),new im(this.metadata)):null}isApplyingToNode(l){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const p=this._declarationNodeIndex;let T=l.parent;for(;null!==T&&8&T.type&&T.index!==p;)T=T.parent;return p===(null!==T?T.index:-1)}return this._appliesToNextNode}matchTNode(l,p){const T=this.metadata.predicate;if(Array.isArray(T))for(let F=0;F<T.length;F++){const G=T[F];this.matchTNodeWithReadOption(l,p,nm(p,G)),this.matchTNodeWithReadOption(l,p,Bs(p,l,G,!1,!1))}else T===Ru?4&p.type&&this.matchTNodeWithReadOption(l,p,-1):this.matchTNodeWithReadOption(l,p,Bs(p,l,T,!1,!1))}matchTNodeWithReadOption(l,p,T){if(null!==T){const F=this.metadata.read;if(null!==F)if(F===Kc||F===a4||F===Ru&&4&p.type)this.addMatch(p.index,-2);else{const G=Bs(p,l,F,!1,!1);null!==G&&this.addMatch(p.index,G)}else this.addMatch(p.index,T)}}addMatch(l,p){null===this.matches?this.matches=[l,p]:this.matches.push(l,p)}}function nm(s,l){const p=s.localNames;if(null!==p)for(let T=0;T<p.length;T+=2)if(p[T]===l)return p[T+1];return null}function Xg(s,l,p,T){return-1===p?function Jg(s,l){return 11&s.type?Pa(s,l):4&s.type?r4(s,l):null}(l,s):-2===p?function K6(s,l,p){return p===Kc?Pa(l,s):p===Ru?r4(l,s):p===a4?Xf(l,s):void 0}(s,l,T):Uo(s,s[1],p,l)}function Q6(s,l,p,T){const F=l[19].queries[T];if(null===F.matches){const G=s.data,ae=p.matches,Ee=[];for(let Ye=0;Ye<ae.length;Ye+=2){const pt=ae[Ye];Ee.push(pt<0?null:Xg(l,G[pt],ae[Ye+1],p.metadata.read))}F.matches=Ee}return F.matches}function rm(s,l,p,T){const F=s.queries.getByIndex(p),G=F.matches;if(null!==G){const ae=Q6(s,l,F,p);for(let Ee=0;Ee<G.length;Ee+=2){const Ye=G[Ee];if(Ye>0)T.push(ae[Ee/2]);else{const pt=G[Ee+1],kt=l[-Ye];for(let $t=10;$t<kt.length;$t++){const _i=kt[$t];_i[17]===_i[3]&&rm(_i[1],_i,pt,T)}if(null!==kt[9]){const $t=kt[9];for(let _i=0;_i<$t.length;_i++){const Si=$t[_i];rm(Si[1],Si,pt,T)}}}}}return T}function q6(s){const l=Ni(),p=Un(),T=js();Ks(T+1);const F=tp(p,T);if(s.dirty&&function ai(s){return 4==(4&s[2])}(l)===(2==(2&F.metadata.flags))){if(null===F.matches)s.reset([]);else{const G=F.crossesNgTemplate?rm(p,l,T,[]):Q6(p,l,F,T);s.reset(G,Tl),s.notifyOnChanges()}return!0}return!1}function J6(s,l,p){const T=Un();T.firstCreatePass&&(ep(T,new j6(s,l,p),-1),2==(2&l)&&(T.staticViewQueries=!0)),$6(T,Ni(),l)}function am(s,l,p,T){const F=Un();if(F.firstCreatePass){const G=Br();ep(F,new j6(l,p,T),G.index),function e8(s,l){const p=s.contentQueries||(s.contentQueries=[]);l!==(p.length?p[p.length-1]:-1)&&p.push(s.queries.length-1,l)}(F,s),2==(2&p)&&(F.staticContentQueries=!0)}$6(F,Ni(),p)}function X6(){return function $g(s,l){return s[19].queries[l].queryList}(Ni(),js())}function $6(s,l,p){const T=new n4(4==(4&p));c3(s,l,T,T.destroy),null===l[19]&&(l[19]=new em),l[19].queries.push(new $f(T))}function ep(s,l,p){null===s.queries&&(s.queries=new tm),s.queries.track(new im(l,p))}function tp(s,l){return s.queries.getByIndex(l)}function ip(s,l){return r4(s,l)}function d4(...s){}const Sp=new xr("Application Initializer");let h4=(()=>{class s{constructor(p){this.appInits=p,this.resolve=d4,this.reject=d4,this.initialized=!1,this.done=!1,this.donePromise=new Promise((T,F)=>{this.resolve=T,this.reject=F})}runInitializers(){if(this.initialized)return;const p=[],T=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let F=0;F<this.appInits.length;F++){const G=this.appInits[F]();if(cu(G))p.push(G);else if(Xn(G)){const ae=new Promise((Ee,Ye)=>{G.subscribe({complete:Ee,error:Ye})});p.push(ae)}}Promise.all(p).then(()=>{T()}).catch(F=>{this.reject(F)}),0===p.length&&T(),this.initialized=!0}}return s.\u0275fac=function(p){return new(p||s)(zt(Sp,8))},s.\u0275prov=Ne({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const Ep=new xr("AppId",{providedIn:"root",factory:function Tp(){return`${u4()}${u4()}${u4()}`}});function u4(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Ap=new xr("Platform Initializer"),p8=new xr("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),um=new xr("appBootstrapListener"),Lp=new xr("AnimationModuleType");let g8=(()=>{class s{log(p){console.log(p)}warn(p){console.warn(p)}}return s.\u0275fac=function(p){return new(p||s)},s.\u0275prov=Ne({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})();const f4=new xr("LocaleId",{providedIn:"root",factory:()=>we(f4,Ze.Optional|Ze.SkipSelf)||function Dp(){return typeof $localize<"u"&&$localize.locale||T1}()}),_8=new xr("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class v8{constructor(l,p){this.ngModuleFactory=l,this.componentFactories=p}}let b8=(()=>{class s{compileModuleSync(p){return new Hf(p)}compileModuleAsync(p){return Promise.resolve(this.compileModuleSync(p))}compileModuleAndAllComponentsSync(p){const T=this.compileModuleSync(p),G=ko(si(p).declarations).reduce((ae,Ee)=>{const Ye=Mi(Ee);return Ye&&ae.push(new V2(Ye)),ae},[]);return new v8(T,G)}compileModuleAndAllComponentsAsync(p){return Promise.resolve(this.compileModuleAndAllComponentsSync(p))}clearCache(){}clearCacheFor(p){}getModuleId(p){}}return s.\u0275fac=function(p){return new(p||s)},s.\u0275prov=Ne({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();const kp=(()=>Promise.resolve(0))();function fm(s){typeof Zone>"u"?kp.then(()=>{s&&s.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",s)}class zo{constructor({enableLongStackTrace:l=!1,shouldCoalesceEventChangeDetection:p=!1,shouldCoalesceRunChangeDetection:T=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new il(!1),this.onMicrotaskEmpty=new il(!1),this.onStable=new il(!1),this.onError=new il(!1),typeof Zone>"u")throw new Y(908,!1);Zone.assertZonePatched();const F=this;F._nesting=0,F._outer=F._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(F._inner=F._inner.fork(new Zone.TaskTrackingZoneSpec)),l&&Zone.longStackTraceZoneSpec&&(F._inner=F._inner.fork(Zone.longStackTraceZoneSpec)),F.shouldCoalesceEventChangeDetection=!T&&p,F.shouldCoalesceRunChangeDetection=T,F.lastRequestAnimationFrameId=-1,F.nativeRequestAnimationFrame=function w8(){let s=_t.requestAnimationFrame,l=_t.cancelAnimationFrame;if(typeof Zone<"u"&&s&&l){const p=s[Zone.__symbol__("OriginalDelegate")];p&&(s=p);const T=l[Zone.__symbol__("OriginalDelegate")];T&&(l=T)}return{nativeRequestAnimationFrame:s,nativeCancelAnimationFrame:l}}().nativeRequestAnimationFrame,function E8(s){const l=()=>{!function S8(s){s.isCheckStableRunning||-1!==s.lastRequestAnimationFrameId||(s.lastRequestAnimationFrameId=s.nativeRequestAnimationFrame.call(_t,()=>{s.fakeTopEventTask||(s.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{s.lastRequestAnimationFrameId=-1,m4(s),s.isCheckStableRunning=!0,mm(s),s.isCheckStableRunning=!1},void 0,()=>{},()=>{})),s.fakeTopEventTask.invoke()}),m4(s))}(s)};s._inner=s._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(p,T,F,G,ae,Ee)=>{try{return Op(s),p.invokeTask(F,G,ae,Ee)}finally{(s.shouldCoalesceEventChangeDetection&&"eventTask"===G.type||s.shouldCoalesceRunChangeDetection)&&l(),Pp(s)}},onInvoke:(p,T,F,G,ae,Ee,Ye)=>{try{return Op(s),p.invoke(F,G,ae,Ee,Ye)}finally{s.shouldCoalesceRunChangeDetection&&l(),Pp(s)}},onHasTask:(p,T,F,G)=>{p.hasTask(F,G),T===F&&("microTask"==G.change?(s._hasPendingMicrotasks=G.microTask,m4(s),mm(s)):"macroTask"==G.change&&(s.hasPendingMacrotasks=G.macroTask))},onHandleError:(p,T,F,G)=>(p.handleError(F,G),s.runOutsideAngular(()=>s.onError.emit(G)),!1)})}(F)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!zo.isInAngularZone())throw new Y(909,!1)}static assertNotInAngularZone(){if(zo.isInAngularZone())throw new Y(909,!1)}run(l,p,T){return this._inner.run(l,p,T)}runTask(l,p,T,F){const G=this._inner,ae=G.scheduleEventTask("NgZoneEvent: "+F,l,M8,d4,d4);try{return G.runTask(ae,p,T)}finally{G.cancelTask(ae)}}runGuarded(l,p,T){return this._inner.runGuarded(l,p,T)}runOutsideAngular(l){return this._outer.run(l)}}const M8={};function mm(s){if(0==s._nesting&&!s.hasPendingMicrotasks&&!s.isStable)try{s._nesting++,s.onMicrotaskEmpty.emit(null)}finally{if(s._nesting--,!s.hasPendingMicrotasks)try{s.runOutsideAngular(()=>s.onStable.emit(null))}finally{s.isStable=!0}}}function m4(s){s.hasPendingMicrotasks=!!(s._hasPendingMicrotasks||(s.shouldCoalesceEventChangeDetection||s.shouldCoalesceRunChangeDetection)&&-1!==s.lastRequestAnimationFrameId)}function Op(s){s._nesting++,s.isStable&&(s.isStable=!1,s.onUnstable.emit(null))}function Pp(s){s._nesting--,mm(s)}class Rp{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new il,this.onMicrotaskEmpty=new il,this.onStable=new il,this.onError=new il}run(l,p,T){return l.apply(p,T)}runGuarded(l,p,T){return l.apply(p,T)}runOutsideAngular(l){return l()}runTask(l,p,T,F){return l.apply(p,T)}}const Np=new xr(""),Fp=new xr("");let pm,T8=(()=>{class s{constructor(p,T,F){this._ngZone=p,this.registry=T,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,pm||(function A8(s){pm=s}(F),F.addToWindow(T)),this._watchAngularEvents(),p.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{zo.assertNotInAngularZone(),fm(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())fm(()=>{for(;0!==this._callbacks.length;){let p=this._callbacks.pop();clearTimeout(p.timeoutId),p.doneCb(this._didWork)}this._didWork=!1});else{let p=this.getPendingTasks();this._callbacks=this._callbacks.filter(T=>!T.updateCb||!T.updateCb(p)||(clearTimeout(T.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(p=>({source:p.source,creationLocation:p.creationLocation,data:p.data})):[]}addCallback(p,T,F){let G=-1;T&&T>0&&(G=setTimeout(()=>{this._callbacks=this._callbacks.filter(ae=>ae.timeoutId!==G),p(this._didWork,this.getPendingTasks())},T)),this._callbacks.push({doneCb:p,timeoutId:G,updateCb:F})}whenStable(p,T,F){if(F&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(p,T,F),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(p){this.registry.registerApplication(p,this)}unregisterApplication(p){this.registry.unregisterApplication(p)}findProviders(p,T,F){return[]}}return s.\u0275fac=function(p){return new(p||s)(zt(zo),zt(Hp),zt(Fp))},s.\u0275prov=Ne({token:s,factory:s.\u0275fac}),s})(),Hp=(()=>{class s{constructor(){this._applications=new Map}registerApplication(p,T){this._applications.set(p,T)}unregisterApplication(p){this._applications.delete(p)}unregisterAllApplications(){this._applications.clear()}getTestability(p){return this._applications.get(p)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(p,T=!0){return pm?.findTestabilityInTree(this,p,T)??null}}return s.\u0275fac=function(p){return new(p||s)},s.\u0275prov=Ne({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})(),Rl=null;const zp=new xr("AllowMultipleToken"),gm=new xr("PlatformDestroyListeners");class D8{constructor(l,p){this.name=l,this.token=p}}function Gp(s,l,p=[]){const T=`Platform: ${l}`,F=new xr(T);return(G=[])=>{let ae=vm();if(!ae||ae.injector.get(zp,!1)){const Ee=[...p,...G,{provide:F,useValue:!0}];s?s(Ee):function Bp(s){if(Rl&&!Rl.get(zp,!1))throw new Y(400,!1);Rl=s;const l=s.get(Zp);(function Up(s){const l=s.get(Ap,null);l&&l.forEach(p=>p())})(s)}(function _m(s=[],l){return Jo.create({name:l,providers:[{provide:jc,useValue:"platform"},{provide:gm,useValue:new Set([()=>Rl=null])},...s]})}(Ee,T))}return function k8(s){const l=vm();if(!l)throw new Y(401,!1);return l}()}}function vm(){return Rl?.get(Zp)??null}let Zp=(()=>{class s{constructor(p){this._injector=p,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(p,T){const F=function Yp(s,l){let p;return p="noop"===s?new Rp:("zone.js"===s?void 0:s)||new zo(l),p}(T?.ngZone,function Wp(s){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!s||!s.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!s||!s.ngZoneRunCoalescing)||!1}}(T)),G=[{provide:zo,useValue:F}];return F.run(()=>{const ae=Jo.create({providers:G,parent:this.injector,name:p.moduleType.name}),Ee=p.create(ae),Ye=Ee.injector.get(Qc,null);if(!Ye)throw new Y(402,!1);return F.runOutsideAngular(()=>{const pt=F.onError.subscribe({next:kt=>{Ye.handleError(kt)}});Ee.onDestroy(()=>{g4(this._modules,Ee),pt.unsubscribe()})}),function jp(s,l,p){try{const T=p();return cu(T)?T.catch(F=>{throw l.runOutsideAngular(()=>s.handleError(F)),F}):T}catch(T){throw l.runOutsideAngular(()=>s.handleError(T)),T}}(Ye,F,()=>{const pt=Ee.injector.get(h4);return pt.runInitializers(),pt.donePromise.then(()=>(function Iu(s){B(s,"Expected localeId to be defined"),"string"==typeof s&&(e4=s.toLowerCase().replace(/_/g,"-"))}(Ee.injector.get(f4,T1)||T1),this._moduleDoBootstrap(Ee),Ee))})})}bootstrapModule(p,T=[]){const F=bm({},T);return function Vp(s,l,p){const T=new Hf(p);return Promise.resolve(T)}(0,0,p).then(G=>this.bootstrapModuleFactory(G,F))}_moduleDoBootstrap(p){const T=p.injector.get(p4);if(p._bootstrapComponents.length>0)p._bootstrapComponents.forEach(F=>T.bootstrap(F));else{if(!p.instance.ngDoBootstrap)throw new Y(403,!1);p.instance.ngDoBootstrap(T)}this._modules.push(p)}onDestroy(p){this._destroyListeners.push(p)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Y(404,!1);this._modules.slice().forEach(T=>T.destroy()),this._destroyListeners.forEach(T=>T());const p=this._injector.get(gm,null);p&&(p.forEach(T=>T()),p.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return s.\u0275fac=function(p){return new(p||s)(zt(Jo))},s.\u0275prov=Ne({token:s,factory:s.\u0275fac,providedIn:"platform"}),s})();function bm(s,l){return Array.isArray(l)?l.reduce(bm,s):{...s,...l}}let p4=(()=>{class s{constructor(p,T,F){this._zone=p,this._injector=T,this._exceptionHandler=F,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this._destroyed=!1,this._destroyListeners=[],this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const G=new g.y(Ee=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Ee.next(this._stable),Ee.complete()})}),ae=new g.y(Ee=>{let Ye;this._zone.runOutsideAngular(()=>{Ye=this._zone.onStable.subscribe(()=>{zo.assertNotInAngularZone(),fm(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Ee.next(!0))})})});const pt=this._zone.onUnstable.subscribe(()=>{zo.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Ee.next(!1)}))});return()=>{Ye.unsubscribe(),pt.unsubscribe()}});this.isStable=(0,A.T)(G,ae.pipe((0,o.B)()))}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(p,T){const F=p instanceof n0;if(!this._injector.get(h4).done)throw!F&&Wt(p),new Y(405,false);let ae;ae=F?p:this._injector.get(qs).resolveComponentFactory(p),this.componentTypes.push(ae.componentType);const Ee=function L8(s){return s.isBoundToModule}(ae)?void 0:this._injector.get(W0),pt=ae.create(Jo.NULL,[],T||ae.selector,Ee),kt=pt.location.nativeElement,$t=pt.injector.get(Np,null);return $t?.registerApplication(kt),pt.onDestroy(()=>{this.detachView(pt.hostView),g4(this.components,pt),$t?.unregisterApplication(kt)}),this._loadComponent(pt),pt}tick(){if(this._runningTick)throw new Y(101,!1);try{this._runningTick=!0;for(let p of this._views)p.detectChanges()}catch(p){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(p))}finally{this._runningTick=!1}}attachView(p){const T=p;this._views.push(T),T.attachToAppRef(this)}detachView(p){const T=p;g4(this._views,T),T.detachFromAppRef()}_loadComponent(p){this.attachView(p.hostView),this.tick(),this.components.push(p);const T=this._injector.get(um,[]);T.push(...this._bootstrapListeners),T.forEach(F=>F(p))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(p=>p()),this._views.slice().forEach(p=>p.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(p){return this._destroyListeners.push(p),()=>g4(this._destroyListeners,p)}destroy(){if(this._destroyed)throw new Y(406,!1);const p=this._injector;p.destroy&&!p.destroyed&&p.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return s.\u0275fac=function(p){return new(p||s)(zt(zo),zt(wc),zt(Qc))},s.\u0275prov=Ne({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();function g4(s,l){const p=s.indexOf(l);p>-1&&s.splice(p,1)}function P8(){return!1}let F8=(()=>{class s{}return s.__NG_ELEMENT_ID__=xm,s})();function xm(s){return function H8(s,l,p){if(Hr(s)&&!p){const T=bt(s.index,l);return new z2(T,T)}return 47&s.type?new z2(l[16],l):null}(Br(),Ni(),16==(16&s))}class qp{constructor(){}supports(l){return E0(l)}create(l){return new Z8(l)}}const G8=(s,l)=>l;class Z8{constructor(l){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=l||G8}forEachItem(l){let p;for(p=this._itHead;null!==p;p=p._next)l(p)}forEachOperation(l){let p=this._itHead,T=this._removalsHead,F=0,G=null;for(;p||T;){const ae=!T||p&&p.currentIndex<b4(T,F,G)?p:T,Ee=b4(ae,F,G),Ye=ae.currentIndex;if(ae===T)F--,T=T._nextRemoved;else if(p=p._next,null==ae.previousIndex)F++;else{G||(G=[]);const pt=Ee-F,kt=Ye-F;if(pt!=kt){for(let _i=0;_i<pt;_i++){const Si=_i<G.length?G[_i]:G[_i]=0,zi=Si+_i;kt<=zi&&zi<pt&&(G[_i]=Si+1)}G[ae.previousIndex]=kt-pt}}Ee!==Ye&&l(ae,Ee,Ye)}}forEachPreviousItem(l){let p;for(p=this._previousItHead;null!==p;p=p._nextPrevious)l(p)}forEachAddedItem(l){let p;for(p=this._additionsHead;null!==p;p=p._nextAdded)l(p)}forEachMovedItem(l){let p;for(p=this._movesHead;null!==p;p=p._nextMoved)l(p)}forEachRemovedItem(l){let p;for(p=this._removalsHead;null!==p;p=p._nextRemoved)l(p)}forEachIdentityChange(l){let p;for(p=this._identityChangesHead;null!==p;p=p._nextIdentityChange)l(p)}diff(l){if(null==l&&(l=[]),!E0(l))throw new Y(900,!1);return this.check(l)?this:null}onDestroy(){}check(l){this._reset();let F,G,ae,p=this._itHead,T=!1;if(Array.isArray(l)){this.length=l.length;for(let Ee=0;Ee<this.length;Ee++)G=l[Ee],ae=this._trackByFn(Ee,G),null!==p&&Object.is(p.trackById,ae)?(T&&(p=this._verifyReinsertion(p,G,ae,Ee)),Object.is(p.item,G)||this._addIdentityChange(p,G)):(p=this._mismatch(p,G,ae,Ee),T=!0),p=p._next}else F=0,function M3(s,l){if(Array.isArray(s))for(let p=0;p<s.length;p++)l(s[p]);else{const p=s[Tc()]();let T;for(;!(T=p.next()).done;)l(T.value)}}(l,Ee=>{ae=this._trackByFn(F,Ee),null!==p&&Object.is(p.trackById,ae)?(T&&(p=this._verifyReinsertion(p,Ee,ae,F)),Object.is(p.item,Ee)||this._addIdentityChange(p,Ee)):(p=this._mismatch(p,Ee,ae,F),T=!0),p=p._next,F++}),this.length=F;return this._truncate(p),this.collection=l,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let l;for(l=this._previousItHead=this._itHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._additionsHead;null!==l;l=l._nextAdded)l.previousIndex=l.currentIndex;for(this._additionsHead=this._additionsTail=null,l=this._movesHead;null!==l;l=l._nextMoved)l.previousIndex=l.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(l,p,T,F){let G;return null===l?G=this._itTail:(G=l._prev,this._remove(l)),null!==(l=null===this._unlinkedRecords?null:this._unlinkedRecords.get(T,null))?(Object.is(l.item,p)||this._addIdentityChange(l,p),this._reinsertAfter(l,G,F)):null!==(l=null===this._linkedRecords?null:this._linkedRecords.get(T,F))?(Object.is(l.item,p)||this._addIdentityChange(l,p),this._moveAfter(l,G,F)):l=this._addAfter(new W8(p,T),G,F),l}_verifyReinsertion(l,p,T,F){let G=null===this._unlinkedRecords?null:this._unlinkedRecords.get(T,null);return null!==G?l=this._reinsertAfter(G,l._prev,F):l.currentIndex!=F&&(l.currentIndex=F,this._addToMoves(l,F)),l}_truncate(l){for(;null!==l;){const p=l._next;this._addToRemovals(this._unlink(l)),l=p}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(l,p,T){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(l);const F=l._prevRemoved,G=l._nextRemoved;return null===F?this._removalsHead=G:F._nextRemoved=G,null===G?this._removalsTail=F:G._prevRemoved=F,this._insertAfter(l,p,T),this._addToMoves(l,T),l}_moveAfter(l,p,T){return this._unlink(l),this._insertAfter(l,p,T),this._addToMoves(l,T),l}_addAfter(l,p,T){return this._insertAfter(l,p,T),this._additionsTail=null===this._additionsTail?this._additionsHead=l:this._additionsTail._nextAdded=l,l}_insertAfter(l,p,T){const F=null===p?this._itHead:p._next;return l._next=F,l._prev=p,null===F?this._itTail=l:F._prev=l,null===p?this._itHead=l:p._next=l,null===this._linkedRecords&&(this._linkedRecords=new Xp),this._linkedRecords.put(l),l.currentIndex=T,l}_remove(l){return this._addToRemovals(this._unlink(l))}_unlink(l){null!==this._linkedRecords&&this._linkedRecords.remove(l);const p=l._prev,T=l._next;return null===p?this._itHead=T:p._next=T,null===T?this._itTail=p:T._prev=p,l}_addToMoves(l,p){return l.previousIndex===p||(this._movesTail=null===this._movesTail?this._movesHead=l:this._movesTail._nextMoved=l),l}_addToRemovals(l){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Xp),this._unlinkedRecords.put(l),l.currentIndex=null,l._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=l,l._prevRemoved=null):(l._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=l),l}_addIdentityChange(l,p){return l.item=p,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=l:this._identityChangesTail._nextIdentityChange=l,l}}class W8{constructor(l,p){this.item=l,this.trackById=p,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 Jp{constructor(){this._head=null,this._tail=null}add(l){null===this._head?(this._head=this._tail=l,l._nextDup=null,l._prevDup=null):(this._tail._nextDup=l,l._prevDup=this._tail,l._nextDup=null,this._tail=l)}get(l,p){let T;for(T=this._head;null!==T;T=T._nextDup)if((null===p||p<=T.currentIndex)&&Object.is(T.trackById,l))return T;return null}remove(l){const p=l._prevDup,T=l._nextDup;return null===p?this._head=T:p._nextDup=T,null===T?this._tail=p:T._prevDup=p,null===this._head}}class Xp{constructor(){this.map=new Map}put(l){const p=l.trackById;let T=this.map.get(p);T||(T=new Jp,this.map.set(p,T)),T.add(l)}get(l,p){const F=this.map.get(l);return F?F.get(l,p):null}remove(l){const p=l.trackById;return this.map.get(p).remove(l)&&this.map.delete(p),l}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function b4(s,l,p){const T=s.previousIndex;if(null===T)return T;let F=0;return p&&T<p.length&&(F=p[T]),T+l+F}class $p{constructor(){}supports(l){return l instanceof Map||S3(l)}create(){return new Y8}}class Y8{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(l){let p;for(p=this._mapHead;null!==p;p=p._next)l(p)}forEachPreviousItem(l){let p;for(p=this._previousMapHead;null!==p;p=p._nextPrevious)l(p)}forEachChangedItem(l){let p;for(p=this._changesHead;null!==p;p=p._nextChanged)l(p)}forEachAddedItem(l){let p;for(p=this._additionsHead;null!==p;p=p._nextAdded)l(p)}forEachRemovedItem(l){let p;for(p=this._removalsHead;null!==p;p=p._nextRemoved)l(p)}diff(l){if(l){if(!(l instanceof Map||S3(l)))throw new Y(900,!1)}else l=new Map;return this.check(l)?this:null}onDestroy(){}check(l){this._reset();let p=this._mapHead;if(this._appendAfter=null,this._forEach(l,(T,F)=>{if(p&&p.key===F)this._maybeAddToChanges(p,T),this._appendAfter=p,p=p._next;else{const G=this._getOrCreateRecordForKey(F,T);p=this._insertBeforeOrAppend(p,G)}}),p){p._prev&&(p._prev._next=null),this._removalsHead=p;for(let T=p;null!==T;T=T._nextRemoved)T===this._mapHead&&(this._mapHead=null),this._records.delete(T.key),T._nextRemoved=T._next,T.previousValue=T.currentValue,T.currentValue=null,T._prev=null,T._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(l,p){if(l){const T=l._prev;return p._next=l,p._prev=T,l._prev=p,T&&(T._next=p),l===this._mapHead&&(this._mapHead=p),this._appendAfter=l,l}return this._appendAfter?(this._appendAfter._next=p,p._prev=this._appendAfter):this._mapHead=p,this._appendAfter=p,null}_getOrCreateRecordForKey(l,p){if(this._records.has(l)){const F=this._records.get(l);this._maybeAddToChanges(F,p);const G=F._prev,ae=F._next;return G&&(G._next=ae),ae&&(ae._prev=G),F._next=null,F._prev=null,F}const T=new eg(l);return this._records.set(l,T),T.currentValue=p,this._addToAdditions(T),T}_reset(){if(this.isDirty){let l;for(this._previousMapHead=this._mapHead,l=this._previousMapHead;null!==l;l=l._next)l._nextPrevious=l._next;for(l=this._changesHead;null!==l;l=l._nextChanged)l.previousValue=l.currentValue;for(l=this._additionsHead;null!=l;l=l._nextAdded)l.previousValue=l.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(l,p){Object.is(p,l.currentValue)||(l.previousValue=l.currentValue,l.currentValue=p,this._addToChanges(l))}_addToAdditions(l){null===this._additionsHead?this._additionsHead=this._additionsTail=l:(this._additionsTail._nextAdded=l,this._additionsTail=l)}_addToChanges(l){null===this._changesHead?this._changesHead=this._changesTail=l:(this._changesTail._nextChanged=l,this._changesTail=l)}_forEach(l,p){l instanceof Map?l.forEach(p):Object.keys(l).forEach(T=>p(l[T],T))}}class eg{constructor(l){this.key=l,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 tg(){return new y4([new qp])}let y4=(()=>{class s{constructor(p){this.factories=p}static create(p,T){if(null!=T){const F=T.factories.slice();p=p.concat(F)}return new s(p)}static extend(p){return{provide:s,useFactory:T=>s.create(p,T||tg()),deps:[[s,new Yo,new Wo]]}}find(p){const T=this.factories.find(F=>F.supports(p));if(null!=T)return T;throw new Y(901,!1)}}return s.\u0275prov=Ne({token:s,providedIn:"root",factory:tg}),s})();function ig(){return new Em([new $p])}let Em=(()=>{class s{constructor(p){this.factories=p}static create(p,T){if(T){const F=T.factories.slice();p=p.concat(F)}return new s(p)}static extend(p){return{provide:s,useFactory:T=>s.create(p,T||ig()),deps:[[s,new Yo,new Wo]]}}find(p){const T=this.factories.find(F=>F.supports(p));if(T)return T;throw new Y(901,!1)}}return s.\u0275prov=Ne({token:s,providedIn:"root",factory:ig}),s})();const rg=Gp(null,"core",[]);let K8=(()=>{class s{constructor(p){}}return s.\u0275fac=function(p){return new(p||s)(zt(p4))},s.\u0275mod=Tt({type:s}),s.\u0275inj=Ie({}),s})();function Q8(s){return"boolean"==typeof s?s:null!=s&&"false"!==s}},5863:(Ge,Q,m)=>{"use strict";function t(M){for(let w in M){let L=M[w]??"";switch(w){case"display":M.display="flex"===L?["-webkit-flex","flex"]:"inline-flex"===L?["-webkit-inline-flex","inline-flex"]:L;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":M["-webkit-"+w]=L;break;case"flex-direction":M["-webkit-flex-direction"]=L,M["flex-direction"]=L;break;case"order":M.order=M["-webkit-"+w]=isNaN(+L)?"0":L}}return M}m.d(Q,{Ar:()=>A,GK:()=>t,iQ:()=>g,kt:()=>d,tj:()=>C});const e="inline",g=["row","column","row-reverse","column-reverse"];function A(M){let[w,L,I]=o(M);return function O(M,w=null,L=!1){return{display:L?"inline-flex":"flex","box-sizing":"border-box","flex-direction":M,"flex-wrap":w||null}}(w,L,I)}function o(M){M=M?.toLowerCase()??"";let[w,L,I]=M.split(" ");return g.find(P=>P===w)||(w=g[0]),L===e&&(L=I!==e?I:"",I=e),[w,u(L),!!I]}function C(M){let[w]=o(M);return w.indexOf("row")>-1}function u(M){if(M)switch(M.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":M="wrap-reverse";break;case"no":case"none":case"nowrap":M="nowrap";break;default:M="wrap"}return M}function d(M,...w){if(null==M)throw TypeError("Cannot convert undefined or null to object");for(let L of w)if(null!=L)for(let I in L)L.hasOwnProperty(I)&&(M[I]=L[I]);return M}},2233:(Ge,Q,m)=>{"use strict";m.d(Q,{Bs:()=>X,FL:()=>De,IR:()=>I,Ot:()=>vt,QI:()=>ue,RK:()=>le,WU:()=>Y,g5:()=>Z,iR:()=>q,wY:()=>j,yB:()=>Me});var t=m(4650),e=m(6895),g=m(1135),A=m(9751),o=m(6451),C=m(7579),u=m(5863),O=m(9300),d=m(8505);const w={provide:t.tb,useFactory:function M(ze,wt){return()=>{if((0,e.NF)(wt)){const Re=Array.from(ze.querySelectorAll(`[class*=${L}]`)),tt=/\bflex-layout-.+?\b/g;Re.forEach(Bt=>{Bt.classList.contains(`${L}ssr`)&&Bt.parentNode?Bt.parentNode.removeChild(Bt):Bt.className.replace(tt,"")})}}},deps:[e.K0,t.Lbi],multi:!0},L="flex-layout-";let I=(()=>{class ze{}return ze.\u0275fac=function(Re){return new(Re||ze)},ze.\u0275mod=t.oAB({type:ze}),ze.\u0275inj=t.cJS({providers:[w]}),ze})();class P{constructor(wt=!1,Re="all",tt="",Bt="",It=0){this.matches=wt,this.mediaQuery=Re,this.mqAlias=tt,this.suffix=Bt,this.priority=It,this.property=""}clone(){return new P(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let U=(()=>{class ze{constructor(){this.stylesheet=new Map}addStyleToElement(Re,tt,Bt){const It=this.stylesheet.get(Re);It?It.set(tt,Bt):this.stylesheet.set(Re,new Map([[tt,Bt]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(Re,tt){const Bt=this.stylesheet.get(Re);let It="";if(Bt){const zt=Bt.get(tt);("number"==typeof zt||"string"==typeof zt)&&(It=zt+"")}return It}}return ze.\u0275fac=function(Re){return new(Re||ze)},ze.\u0275prov=t.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})();const Z={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Y=new t.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Z}),j=new t.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),X=new t.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function ee(ze,wt){return ze=ze?.clone()??new P,wt&&(ze.mqAlias=wt.alias,ze.mediaQuery=wt.mediaQuery,ze.suffix=wt.suffix,ze.priority=wt.priority),ze}class ue{constructor(){this.shouldCache=!0}sideEffect(wt,Re,tt){}}let le=(()=>{class ze{constructor(Re,tt,Bt,It){this._serverStylesheet=Re,this._serverModuleLoaded=tt,this._platformId=Bt,this.layoutConfig=It}applyStyleToElement(Re,tt,Bt=null){let It={};"string"==typeof tt&&(It[tt]=Bt,tt=It),It=this.layoutConfig.disableVendorPrefixes?tt:(0,u.GK)(tt),this._applyMultiValueStyleToElement(It,Re)}applyStyleToElements(Re,tt=[]){const Bt=this.layoutConfig.disableVendorPrefixes?Re:(0,u.GK)(Re);tt.forEach(It=>{this._applyMultiValueStyleToElement(Bt,It)})}getFlowDirection(Re){const tt="flex-direction";let Bt=this.lookupStyle(Re,tt);return[Bt||"row",this.lookupInlineStyle(Re,tt)||(0,e.PM)(this._platformId)&&this._serverModuleLoaded?Bt:""]}hasWrap(Re){return"wrap"===this.lookupStyle(Re,"flex-wrap")}lookupAttributeValue(Re,tt){return Re.getAttribute(tt)??""}lookupInlineStyle(Re,tt){return(0,e.NF)(this._platformId)?Re.style.getPropertyValue(tt):function ie(ze,wt){return he(ze)[wt]??""}(Re,tt)}lookupStyle(Re,tt,Bt=!1){let It="";return Re&&((It=this.lookupInlineStyle(Re,tt))||((0,e.NF)(this._platformId)?Bt||(It=getComputedStyle(Re).getPropertyValue(tt)):this._serverModuleLoaded&&(It=this._serverStylesheet.getStyleForElement(Re,tt)))),It?It.trim():""}_applyMultiValueStyleToElement(Re,tt){Object.keys(Re).sort().forEach(Bt=>{const It=Re[Bt],zt=Array.isArray(It)?It:[It];zt.sort();for(let xt of zt)xt=xt?xt+"":"",(0,e.NF)(this._platformId)||!this._serverModuleLoaded?(0,e.NF)(this._platformId)?tt.style.setProperty(Bt,xt):ce(tt,Bt,xt):this._serverStylesheet.addStyleToElement(tt,Bt,xt)})}}return ze.\u0275fac=function(Re){return new(Re||ze)(t.LFG(U),t.LFG(j),t.LFG(t.Lbi),t.LFG(Y))},ze.\u0275prov=t.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})();function ce(ze,wt,Re){wt=wt.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const tt=he(ze);tt[wt]=Re??"",function se(ze,wt){let Re="";for(const tt in wt)wt[tt]&&(Re+=`${tt}:${wt[tt]};`);ze.setAttribute("style",Re)}(ze,tt)}function he(ze){const wt={},Re=ze.getAttribute("style");if(Re){const tt=Re.split(/;+/g);for(let Bt=0;Bt<tt.length;Bt++){const It=tt[Bt].trim();if(It.length>0){const zt=It.indexOf(":");if(-1===zt)throw new Error(`Invalid CSS style: ${It}`);wt[It.substr(0,zt).trim()]=It.substr(zt+1).trim()}}}return wt}function E(ze,wt){return(wt&&wt.priority||0)-(ze&&ze.priority||0)}function i(ze,wt){return(ze.priority||0)-(wt.priority||0)}let r=(()=>{class ze{constructor(Re,tt,Bt){this._zone=Re,this._platformId=tt,this._document=Bt,this.source=new g.X(new P(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const Re=[];return this.registry.forEach((tt,Bt)=>{tt.matches&&Re.push(Bt)}),Re}isActive(Re){return this.registry.get(Re)?.matches??this.registerQuery(Re).some(Bt=>Bt.matches)}observe(Re,tt=!1){if(Re&&Re.length){const Bt=this._observable$.pipe((0,O.h)(zt=>!tt||Re.indexOf(zt.mediaQuery)>-1)),It=new A.y(zt=>{const xt=this.registerQuery(Re);if(xt.length){const we=xt.pop();xt.forEach(J=>{zt.next(J)}),this.source.next(we)}zt.complete()});return(0,o.T)(It,Bt)}return this._observable$}registerQuery(Re){const tt=Array.isArray(Re)?Re:[Re],Bt=[];return function c(ze,wt){const Re=ze.filter(tt=>!h[tt]);if(Re.length>0){const tt=Re.join(", ");try{const Bt=wt.createElement("style");Bt.setAttribute("type","text/css"),Bt.styleSheet||Bt.appendChild(wt.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`)),wt.head.appendChild(Bt),Re.forEach(It=>h[It]=Bt)}catch(Bt){console.error(Bt)}}}(tt,this._document),tt.forEach(It=>{const zt=we=>{this._zone.run(()=>this.source.next(new P(we.matches,It)))};let xt=this.registry.get(It);xt||(xt=this.buildMQL(It),xt.addListener(zt),this.pendingRemoveListenerFns.push(()=>xt.removeListener(zt)),this.registry.set(It,xt)),xt.matches&&Bt.push(new P(!0,It))}),Bt}ngOnDestroy(){let Re;for(;Re=this.pendingRemoveListenerFns.pop();)Re()}buildMQL(Re){return function S(ze,wt){return wt&&window.matchMedia("all").addListener?window.matchMedia(ze):function y(ze){const wt=new EventTarget;return wt.matches="all"===ze||""===ze,wt.media=ze,wt.addListener=()=>{},wt.removeListener=()=>{},wt.addEventListener=()=>{},wt.dispatchEvent=()=>!1,wt.onchange=null,wt}(ze)}(Re,(0,e.NF)(this._platformId))}}return ze.\u0275fac=function(Re){return new(Re||ze)(t.LFG(t.R0b),t.LFG(t.Lbi),t.LFG(e.K0))},ze.\u0275prov=t.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})();const h={},k=[{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}],v="(orientation: portrait) and (max-width: 599.98px)",n="(orientation: landscape) and (max-width: 959.98px)",b="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",B="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",z="(orientation: portrait) and (min-width: 840px)",W="(orientation: landscape) and (min-width: 1280px)",Oe={HANDSET:`${v}, ${n}`,TABLET:`${b} , ${B}`,WEB:`${z}, ${W} `,HANDSET_PORTRAIT:`${v}`,TABLET_PORTRAIT:`${b} `,WEB_PORTRAIT:`${z}`,HANDSET_LANDSCAPE:`${n}`,TABLET_LANDSCAPE:`${B}`,WEB_LANDSCAPE:`${W}`},it=[{alias:"handset",priority:2e3,mediaQuery:Oe.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Oe.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Oe.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Oe.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Oe.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Oe.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Oe.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Oe.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Oe.WEB_PORTRAIT,overlapping:!0}],Ne=/(\.|-|_)/g;function ot(ze){let wt=ze.length>0?ze.charAt(0):"",Re=ze.length>1?ze.slice(1):"";return wt.toUpperCase()+Re}const Se=new t.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const ze=(0,t.f3M)(X),wt=(0,t.f3M)(Y),Re=[].concat.apply([],(ze||[]).map(Bt=>Array.isArray(Bt)?Bt:[Bt]));return function fe(ze,wt=[]){const Re={};return ze.forEach(tt=>{Re[tt.alias]=tt}),wt.forEach(tt=>{Re[tt.alias]?(0,u.kt)(Re[tt.alias],tt):Re[tt.alias]=tt}),function ve(ze){return ze.forEach(wt=>{wt.suffix||(wt.suffix=function Ie(ze){return ze.replace(Ne,"|").split("|").map(ot).join("")}(wt.alias),wt.overlapping=!!wt.overlapping)}),ze}(Object.keys(Re).map(tt=>Re[tt]))}((wt.disableDefaultBps?[]:k).concat(wt.addOrientationBps?it:[]),Re)}});let te=(()=>{class ze{constructor(Re){this.findByMap=new Map,this.items=[...Re].sort(i)}findByAlias(Re){return Re?this.findWithPredicate(Re,tt=>tt.alias===Re):null}findByQuery(Re){return this.findWithPredicate(Re,tt=>tt.mediaQuery===Re)}get overlappings(){return this.items.filter(Re=>Re.overlapping)}get aliases(){return this.items.map(Re=>Re.alias)}get suffixes(){return this.items.map(Re=>Re?.suffix??"")}findWithPredicate(Re,tt){let Bt=this.findByMap.get(Re);return Bt||(Bt=this.items.find(tt)??null,this.findByMap.set(Re,Bt)),Bt??null}}return ze.\u0275fac=function(Re){return new(Re||ze)(t.LFG(Se))},ze.\u0275prov=t.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})();const Ke="print",Ae={alias:Ke,mediaQuery:Ke,priority:1e3};let oe=(()=>{class ze{constructor(Re,tt,Bt){this.breakpoints=Re,this.layoutConfig=tt,this._document=Bt,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new ye,this.deactivations=[]}withPrintQuery(Re){return[...Re,Ke]}isPrintEvent(Re){return Re.mediaQuery.startsWith(Ke)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(Re=>this.breakpoints.findByAlias(Re)).filter(Re=>null!==Re)}getEventBreakpoints({mediaQuery:Re}){const tt=this.breakpoints.findByQuery(Re);return(tt?[...this.printBreakPoints,tt]:this.printBreakPoints).sort(E)}updateEvent(Re){let tt=this.breakpoints.findByQuery(Re.mediaQuery);return this.isPrintEvent(Re)&&(tt=this.getEventBreakpoints(Re)[0],Re.mediaQuery=tt?.mediaQuery??""),ee(Re,tt)}registerBeforeAfterPrintHooks(Re){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const tt=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(Re,this.getEventBreakpoints(new P(!0,Ke))),Re.updateStyles())},Bt=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(Re),Re.updateStyles())};this._document.defaultView.addEventListener("beforeprint",tt),this._document.defaultView.addEventListener("afterprint",Bt),this.beforePrintEventListeners.push(tt),this.afterPrintEventListeners.push(Bt)}interceptEvents(Re){return tt=>{this.isPrintEvent(tt)?tt.matches&&!this.isPrinting?(this.startPrinting(Re,this.getEventBreakpoints(tt)),Re.updateStyles()):!tt.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(Re),Re.updateStyles()):this.collectActivations(Re,tt)}}blockPropagation(){return Re=>!(this.isPrinting||this.isPrintEvent(Re))}startPrinting(Re,tt){this.isPrinting=!0,this.formerActivations=Re.activatedBreakpoints,Re.activatedBreakpoints=this.queue.addPrintBreakpoints(tt)}stopPrinting(Re){Re.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(Re,tt){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!tt.matches){const Bt=this.breakpoints.findByQuery(tt.mediaQuery);if(Bt){const It=this.formerActivations&&this.formerActivations.includes(Bt),zt=!this.formerActivations&&Re.activatedBreakpoints.includes(Bt);(It||zt)&&(this.deactivations.push(Bt),this.deactivations.sort(E))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(Re=>this._document.defaultView.removeEventListener("beforeprint",Re)),this.afterPrintEventListeners.forEach(Re=>this._document.defaultView.removeEventListener("afterprint",Re)))}}return ze.\u0275fac=function(Re){return new(Re||ze)(t.LFG(te),t.LFG(Y),t.LFG(e.K0))},ze.\u0275prov=t.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})();class ye{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(wt){return wt.push(Ae),wt.sort(E),wt.forEach(Re=>this.addBreakpoint(Re)),this.printBreakpoints}addBreakpoint(wt){wt&&void 0===this.printBreakpoints.find(tt=>tt.mediaQuery===wt.mediaQuery)&&(this.printBreakpoints=function me(ze){return ze?.mediaQuery.startsWith(Ke)??!1}(wt)?[wt,...this.printBreakpoints]:[...this.printBreakpoints,wt])}clear(){this.printBreakpoints=[]}}let Me=(()=>{class ze{constructor(Re,tt,Bt){this.matchMedia=Re,this.breakpoints=tt,this.hook=Bt,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 C.x,this.observeActivations()}get activatedAlias(){return this.activatedBreakpoints[0]?.alias??""}set activatedBreakpoints(Re){this._activatedBreakpoints=[...Re]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(Re){this._useFallbacks=Re}onMediaChange(Re){const tt=this.findByQuery(Re.mediaQuery);if(tt){Re=ee(Re,tt);const Bt=this.activatedBreakpoints.indexOf(tt);Re.matches&&-1===Bt?(this._activatedBreakpoints.push(tt),this._activatedBreakpoints.sort(E),this.updateStyles()):!Re.matches&&-1!==Bt&&(this._activatedBreakpoints.splice(Bt,1),this._activatedBreakpoints.sort(E),this.updateStyles())}}init(Re,tt,Bt,It,zt=[]){Ze(this.updateMap,Re,tt,Bt),Ze(this.clearMap,Re,tt,It),this.buildElementKeyMap(Re,tt),this.watchExtraTriggers(Re,tt,zt)}getValue(Re,tt,Bt){const It=this.elementMap.get(Re);if(It){const zt=void 0!==Bt?It.get(Bt):this.getActivatedValues(It,tt);if(zt)return zt.get(tt)}}hasValue(Re,tt){const Bt=this.elementMap.get(Re);if(Bt){const It=this.getActivatedValues(Bt,tt);if(It)return void 0!==It.get(tt)||!1}return!1}setValue(Re,tt,Bt,It){let zt=this.elementMap.get(Re);if(zt){const we=(zt.get(It)??new Map).set(tt,Bt);zt.set(It,we),this.elementMap.set(Re,zt)}else zt=(new Map).set(It,(new Map).set(tt,Bt)),this.elementMap.set(Re,zt);const xt=this.getValue(Re,tt);void 0!==xt&&this.updateElement(Re,tt,xt)}trackValue(Re,tt){return this.subject.asObservable().pipe((0,O.h)(Bt=>Bt.element===Re&&Bt.key===tt))}updateStyles(){this.elementMap.forEach((Re,tt)=>{const Bt=new Set(this.elementKeyMap.get(tt));let It=this.getActivatedValues(Re);It&&It.forEach((zt,xt)=>{this.updateElement(tt,xt,zt),Bt.delete(xt)}),Bt.forEach(zt=>{if(It=this.getActivatedValues(Re,zt),It){const xt=It.get(zt);this.updateElement(tt,zt,xt)}else this.clearElement(tt,zt)})})}clearElement(Re,tt){const Bt=this.clearMap.get(Re);if(Bt){const It=Bt.get(tt);It&&(It(),this.subject.next({element:Re,key:tt,value:""}))}}updateElement(Re,tt,Bt){const It=this.updateMap.get(Re);if(It){const zt=It.get(tt);zt&&(zt(Bt),this.subject.next({element:Re,key:tt,value:Bt}))}}releaseElement(Re){const tt=this.watcherMap.get(Re);tt&&(tt.forEach(It=>It.unsubscribe()),this.watcherMap.delete(Re));const Bt=this.elementMap.get(Re);Bt&&(Bt.forEach((It,zt)=>Bt.delete(zt)),this.elementMap.delete(Re))}triggerUpdate(Re,tt){const Bt=this.elementMap.get(Re);if(Bt){const It=this.getActivatedValues(Bt,tt);It&&(tt?this.updateElement(Re,tt,It.get(tt)):It.forEach((zt,xt)=>this.updateElement(Re,xt,zt)))}}buildElementKeyMap(Re,tt){let Bt=this.elementKeyMap.get(Re);Bt||(Bt=new Set,this.elementKeyMap.set(Re,Bt)),Bt.add(tt)}watchExtraTriggers(Re,tt,Bt){if(Bt&&Bt.length){let It=this.watcherMap.get(Re);if(It||(It=new Map,this.watcherMap.set(Re,It)),!It.get(tt)){const xt=(0,o.T)(...Bt).subscribe(()=>{const we=this.getValue(Re,tt);this.updateElement(Re,tt,we)});It.set(tt,xt)}}}findByQuery(Re){return this.breakpoints.findByQuery(Re)}getActivatedValues(Re,tt){for(let It=0;It<this.activatedBreakpoints.length;It++){const xt=Re.get(this.activatedBreakpoints[It].alias);if(xt&&(void 0===tt||xt.has(tt)&&null!=xt.get(tt)))return xt}if(!this._useFallbacks)return;const Bt=Re.get("");return void 0===tt||Bt&&Bt.has(tt)?Bt:void 0}observeActivations(){const Re=this.breakpoints.items.map(tt=>tt.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(Re)).pipe((0,d.b)(this.hook.interceptEvents(this)),(0,O.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return ze.\u0275fac=function(Re){return new(Re||ze)(t.LFG(r),t.LFG(te),t.LFG(oe))},ze.\u0275prov=t.Yz7({token:ze,factory:ze.\u0275fac,providedIn:"root"}),ze})();function Ze(ze,wt,Re,tt){if(void 0!==tt){const Bt=ze.get(wt)??new Map;Bt.set(Re,tt),ze.set(wt,Bt)}}let q=(()=>{class ze{constructor(Re,tt,Bt,It){this.elementRef=Re,this.styleBuilder=tt,this.styler=Bt,this.marshal=It,this.DIRECTIVE_KEY="",this.inputs=[],this.mru={},this.destroySubject=new C.x,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(Re){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Re,this.marshal.activatedAlias)}ngOnChanges(Re){Object.keys(Re).forEach(tt=>{if(-1!==this.inputs.indexOf(tt)){const Bt=tt.split(".").slice(1).join(".");this.setValue(Re[tt].currentValue,Bt)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(Re=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),Re)}addStyles(Re,tt){const Bt=this.styleBuilder,It=Bt.shouldCache;let zt=this.styleCache.get(Re);(!zt||!It)&&(zt=Bt.buildStyles(Re,tt),It&&this.styleCache.set(Re,zt)),this.mru={...zt},this.applyStyleToElement(zt),Bt.sideEffect(Re,zt,tt)}clearStyles(){Object.keys(this.mru).forEach(Re=>{this.mru[Re]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(Re,tt=!1){if(Re){const[Bt,It]=this.styler.getFlowDirection(Re);if(!It&&tt){const zt=(0,u.Ar)(Bt);this.styler.applyStyleToElements(zt,[Re])}return Bt.trim()}return"row"}hasWrap(Re){return this.styler.hasWrap(Re)}applyStyleToElement(Re,tt,Bt=this.nativeElement){this.styler.applyStyleToElement(Bt,Re,tt)}setValue(Re,tt){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,Re,tt)}updateWithValue(Re){this.currentValue!==Re&&(this.addStyles(Re),this.currentValue=Re)}}return ze.\u0275fac=function(Re){return new(Re||ze)(t.Y36(t.SBq),t.Y36(ue),t.Y36(le),t.Y36(Me))},ze.\u0275dir=t.lG2({type:ze,features:[t.TTD]}),ze})();class xe extends EventTarget{constructor(wt){super(),this._mediaQuery=wt,this._isActive=!1,this._listeners=[],this.onchange=null}get matches(){return this._isActive}get media(){return this._mediaQuery}destroy(){this.deactivate(),this._listeners=[]}activate(){return this._isActive||(this._isActive=!0,this._listeners.forEach(wt=>{wt.call(this,{matches:this.matches,media:this.media})})),this}deactivate(){return this._isActive&&(this._isActive=!1,this._listeners.forEach(wt=>{wt.call(this,{matches:this.matches,media:this.media})})),this}addListener(wt){-1===this._listeners.indexOf(wt)&&this._listeners.push(wt),this._isActive&&wt.call(this,{matches:this.matches,media:this.media})}removeListener(wt){}dispatchEvent(wt){return!1}}function vt(ze,wt="1",Re="1"){let tt=[wt,Re,ze],Bt=ze.indexOf("calc");if(Bt>0){tt[2]=ne(ze.substring(Bt).trim());let It=ze.substr(0,Bt).trim().split(" ");2==It.length&&(tt[0]=It[0],tt[1]=It[1])}else if(0==Bt)tt[2]=ne(ze.trim());else{let It=ze.split(" ");tt=3===It.length?It:[wt,Re,ze]}return tt}function ne(ze){return ze.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function De(ze,wt){if(void 0===wt)return ze;const Re=tt=>{const Bt=+tt.slice(0,-"x".length);return ze.endsWith("x")&&!isNaN(Bt)?`${Bt*wt.value}${wt.unit}`:ze};return ze.includes(" ")?ze.split(" ").map(Re).join(" "):Re(ze)}},5829:(Ge,Q,m)=>{"use strict";m.d(Q,{Zl:()=>S,aT:()=>n,oO:()=>Z});var t=m(4650),e=m(2233),g=m(6895),C=(m(1281),m(2722),m(1481));let I=(()=>{class b extends e.iR{constructor(z,W,Oe,it,Ne,ot,Ie){super(z,null,W,Oe),this.ngClassInstance=Ie,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new g.mk(it,Ne,z,ot)),this.init(),this.setValue("","")}set klass(z){this.ngClassInstance.klass=z,this.setValue(z,"")}updateWithValue(z){this.ngClassInstance.ngClass=z,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return b.\u0275fac=function(z){return new(z||b)(t.Y36(t.SBq),t.Y36(e.RK),t.Y36(e.yB),t.Y36(t.ZZ4),t.Y36(t.aQg),t.Y36(t.Qsj),t.Y36(g.mk,10))},b.\u0275dir=t.lG2({type:b,inputs:{klass:["class","klass"]},features:[t.qOj]}),b})();const P=["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 Z=(()=>{class b extends I{constructor(){super(...arguments),this.inputs=P}}return b.\u0275fac=function(){let B;return function(W){return(B||(B=t.n5z(b)))(W||b)}}(),b.\u0275dir=t.lG2({type:b,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:[t.qOj]}),b})();class ie{constructor(B,z,W=!0){this.key=B,this.value=z,this.key=W?B.replace(/['"]/g,"").trim():B.trim(),this.value=W?z.replace(/['"]/g,"").trim():z.trim(),this.value=this.value.replace(/;/,"")}}function ce(b){let B=typeof b;return"object"===B?b.constructor===Array?"array":b.constructor===Set?"set":"object":B}function i(b){const[B,...z]=b.split(":");return new ie(B,z.join(":"))}function r(b,B){return B.key&&(b[B.key]=B.value),b}let h=(()=>{class b extends e.iR{constructor(z,W,Oe,it,Ne,ot,Ie,ve,fe){super(z,null,W,Oe),this.sanitizer=it,this.ngStyleInstance=Ie,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new g.PC(z,Ne,ot)),this.init();const Se=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(Se),this.isServer=ve&&(0,g.PM)(fe)}updateWithValue(z){const W=this.buildStyleMap(z);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...W},this.isServer&&this.applyStyleToElement(W),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(z){const W=Oe=>this.sanitizer.sanitize(t.q3G.STYLE,Oe)??"";if(z)switch(ce(z)){case"string":return k(function se(b,B=";"){return String(b).trim().split(B).map(z=>z.trim()).filter(z=>""!==z)}(z),W);case"array":return k(z,W);default:return function E(b,B){let z=[];return"set"===ce(b)?b.forEach(W=>z.push(W)):Object.keys(b).forEach(W=>{z.push(`${W}:${b[W]}`)}),function he(b,B){return b.map(i).filter(W=>!!W).map(W=>(B&&(W.value=B(W.value)),W)).reduce(r,{})}(z,B)}(z,W)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return b.\u0275fac=function(z){return new(z||b)(t.Y36(t.SBq),t.Y36(e.RK),t.Y36(e.yB),t.Y36(C.H7),t.Y36(t.aQg),t.Y36(t.Qsj),t.Y36(g.PC,10),t.Y36(e.wY),t.Y36(t.Lbi))},b.\u0275dir=t.lG2({type:b,features:[t.qOj]}),b})();const c=["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 S=(()=>{class b extends h{constructor(){super(...arguments),this.inputs=c}}return b.\u0275fac=function(){let B;return function(W){return(B||(B=t.n5z(b)))(W||b)}}(),b.\u0275dir=t.lG2({type:b,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:[t.qOj]}),b})();function k(b,B){return b.map(i).filter(W=>!!W).map(W=>(B&&(W.value=B(W.value)),W)).reduce(r,{})}let n=(()=>{class b{}return b.\u0275fac=function(z){return new(z||b)},b.\u0275mod=t.oAB({type:b}),b.\u0275inj=t.cJS({imports:[e.IR]}),b})()},1576:(Ge,Q,m)=>{"use strict";m.d(Q,{Wh:()=>vt,ae:()=>zt,xw:()=>w,yH:()=>y});var t=m(4650),e=m(445),g=m(2233),A=m(5863),C=(m(7579),m(2722));let u=(()=>{class xt extends g.QI{buildStyles(J,{display:be}){const Fe=(0,A.Ar)(J);return{...Fe,display:"none"===be?be:Fe.display}}}return xt.\u0275fac=function(){let we;return function(be){return(we||(we=t.n5z(xt)))(be||xt)}}(),xt.\u0275prov=t.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})();const O=["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 M=(()=>{class xt extends g.iR{constructor(J,be,Fe,at,ii){super(J,Fe,be,at),this._config=ii,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(J){const Fe=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=L.get(Fe)??new Map,L.set(Fe,this.styleCache),this.currentValue!==J&&(this.addStyles(J,{display:Fe}),this.currentValue=J)}}return xt.\u0275fac=function(J){return new(J||xt)(t.Y36(t.SBq),t.Y36(g.RK),t.Y36(u),t.Y36(g.yB),t.Y36(g.WU))},xt.\u0275dir=t.lG2({type:xt,features:[t.qOj]}),xt})(),w=(()=>{class xt extends M{constructor(){super(...arguments),this.inputs=O}}return xt.\u0275fac=function(){let we;return function(be){return(we||(we=t.n5z(xt)))(be||xt)}}(),xt.\u0275dir=t.lG2({type:xt,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:[t.qOj]}),xt})();const L=new Map;let i=(()=>{class xt extends g.QI{constructor(J){super(),this.layoutConfig=J}buildStyles(J,be){let[Fe,at,...ii]=J.split(" "),Gt=ii.join(" ");const ei=be.direction.indexOf("column")>-1?"column":"row",ht=(0,A.tj)(ei)?"max-width":"max-height",rt=(0,A.tj)(ei)?"min-width":"min-height",yt=String(Gt).indexOf("calc")>-1,ri=yt||"auto"===Gt,Ut=String(Gt).indexOf("%")>-1&&!yt,Vt=String(Gt).indexOf("px")>-1||String(Gt).indexOf("rem")>-1||String(Gt).indexOf("em")>-1||String(Gt).indexOf("vw")>-1||String(Gt).indexOf("vh")>-1;let Ft=yt||Vt;Fe="0"==Fe?0:Fe,at="0"==at?0:at;const Qe=!Fe&&!at;let Ve={};const je={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Gt||""){case"":const Xe=!1!==this.layoutConfig.useColumnBasisZero;Gt="row"===ei?"0%":Xe?"0.000000001px":"auto";break;case"initial":case"nogrow":Fe=0,Gt="auto";break;case"grow":Gt="100%";break;case"noshrink":at=0,Gt="auto";break;case"auto":break;case"none":Fe=0,at=0,Gt="auto";break;default:!Ft&&!Ut&&!isNaN(Gt)&&(Gt+="%"),"0%"===Gt&&(Ft=!0),"0px"===Gt&&(Gt="0%"),Ve=(0,A.kt)(je,yt?{"flex-grow":Fe,"flex-shrink":at,"flex-basis":Ft?Gt:"100%"}:{flex:`${Fe} ${at} ${Ft?Gt:"100%"}`})}return Ve.flex||Ve["flex-grow"]||(Ve=(0,A.kt)(je,yt?{"flex-grow":Fe,"flex-shrink":at,"flex-basis":Gt}:{flex:`${Fe} ${at} ${Gt}`})),"0%"!==Gt&&"0px"!==Gt&&"0.000000001px"!==Gt&&"auto"!==Gt&&(Ve[rt]=Qe||Ft&&Fe?Gt:null,Ve[ht]=Qe||!ri&&at?Gt:null),Ve[rt]||Ve[ht]?be.hasWrap&&(Ve[yt?"flex-basis":"flex"]=Ve[ht]?yt?Ve[ht]:`${Fe} ${at} ${Ve[ht]}`:yt?Ve[rt]:`${Fe} ${at} ${Ve[rt]}`):Ve=(0,A.kt)(je,yt?{"flex-grow":Fe,"flex-shrink":at,"flex-basis":Gt}:{flex:`${Fe} ${at} ${Gt}`}),(0,A.kt)(Ve,{"box-sizing":"border-box"})}}return xt.\u0275fac=function(J){return new(J||xt)(t.LFG(g.WU))},xt.\u0275prov=t.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})();const r=["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 c=(()=>{class xt extends g.iR{constructor(J,be,Fe,at,ii){super(J,at,be,ii),this.layoutConfig=Fe,this.marshal=ii,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(J){this.flexShrink=J||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(J){this.flexGrow=J||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,C.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,C.R)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(J){const Fe=J.value.split(" ");this.direction=Fe[0],this.wrap=void 0!==Fe[1]&&"wrap"===Fe[1],this.triggerUpdate()}updateWithValue(J){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 Fe=this.direction,at=Fe.startsWith("row"),ii=this.wrap;at&&ii?this.styleCache=v:at&&!ii?this.styleCache=S:!at&&ii?this.styleCache=n:!at&&!ii&&(this.styleCache=k);const Gt=String(J).replace(";",""),ei=(0,g.Ot)(Gt,this.flexGrow,this.flexShrink);this.addStyles(ei.join(" "),{direction:Fe,hasWrap:ii})}triggerReflow(){const J=this.activatedValue;if(void 0!==J){const be=(0,g.Ot)(J+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,be.join(" "))}}}return xt.\u0275fac=function(J){return new(J||xt)(t.Y36(t.SBq),t.Y36(g.RK),t.Y36(g.WU),t.Y36(i),t.Y36(g.yB))},xt.\u0275dir=t.lG2({type:xt,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[t.qOj]}),xt})(),y=(()=>{class xt extends c{constructor(){super(...arguments),this.inputs=r}}return xt.\u0275fac=function(){let we;return function(be){return(we||(we=t.n5z(xt)))(be||xt)}}(),xt.\u0275dir=t.lG2({type:xt,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:[t.qOj]}),xt})();const S=new Map,k=new Map,v=new Map,n=new Map;let _t=(()=>{class xt extends g.QI{buildStyles(J,be){const Fe={},[at,ii]=J.split(" ");switch(at){case"center":Fe["justify-content"]="center";break;case"space-around":Fe["justify-content"]="space-around";break;case"space-between":Fe["justify-content"]="space-between";break;case"space-evenly":Fe["justify-content"]="space-evenly";break;case"end":case"flex-end":Fe["justify-content"]="flex-end";break;default:Fe["justify-content"]="flex-start"}switch(ii){case"start":case"flex-start":Fe["align-items"]=Fe["align-content"]="flex-start";break;case"center":Fe["align-items"]=Fe["align-content"]="center";break;case"end":case"flex-end":Fe["align-items"]=Fe["align-content"]="flex-end";break;case"space-between":Fe["align-content"]="space-between",Fe["align-items"]="stretch";break;case"space-around":Fe["align-content"]="space-around",Fe["align-items"]="stretch";break;case"baseline":Fe["align-content"]="stretch",Fe["align-items"]="baseline";break;default:Fe["align-items"]=Fe["align-content"]="stretch"}return(0,A.kt)(Fe,{display:be.inline?"inline-flex":"flex","flex-direction":be.layout,"box-sizing":"border-box","max-width":"stretch"===ii?(0,A.tj)(be.layout)?null:"100%":null,"max-height":"stretch"===ii&&(0,A.tj)(be.layout)?"100%":null})}}return xt.\u0275fac=function(){let we;return function(be){return(we||(we=t.n5z(xt)))(be||xt)}}(),xt.\u0275prov=t.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})();const ct=["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 Jt=(()=>{class xt extends g.iR{constructor(J,be,Fe,at){super(J,Fe,be,at),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,C.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(J){const be=this.layout||"row",Fe=this.inline;"row"===be&&Fe?this.styleCache=wt:"row"!==be||Fe?"row-reverse"===be&&Fe?this.styleCache=tt:"row-reverse"!==be||Fe?"column"===be&&Fe?this.styleCache=Re:"column"!==be||Fe?"column-reverse"===be&&Fe?this.styleCache=Bt:"column-reverse"===be&&!Fe&&(this.styleCache=ze):this.styleCache=Ht:this.styleCache=De:this.styleCache=ne,this.addStyles(J,{layout:be,inline:Fe})}onLayoutChange(J){const be=J.value.split(" ");this.layout=be[0],this.inline=J.value.includes("inline"),A.iQ.find(Fe=>Fe===this.layout)||(this.layout="row"),this.triggerUpdate()}}return xt.\u0275fac=function(J){return new(J||xt)(t.Y36(t.SBq),t.Y36(g.RK),t.Y36(_t),t.Y36(g.yB))},xt.\u0275dir=t.lG2({type:xt,features:[t.qOj]}),xt})(),vt=(()=>{class xt extends Jt{constructor(){super(...arguments),this.inputs=ct}}return xt.\u0275fac=function(){let we;return function(be){return(we||(we=t.n5z(xt)))(be||xt)}}(),xt.\u0275dir=t.lG2({type:xt,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:[t.qOj]}),xt})();const ne=new Map,Ht=new Map,De=new Map,ze=new Map,wt=new Map,Re=new Map,tt=new Map,Bt=new Map;let zt=(()=>{class xt{}return xt.\u0275fac=function(J){return new(J||xt)},xt.\u0275mod=t.oAB({type:xt}),xt.\u0275inj=t.cJS({imports:[g.IR,e.vT]}),xt})()},4006:(Ge,Q,m)=>{"use strict";m.d(Q,{Cf:()=>j,F:()=>li,Fd:()=>ga,Fj:()=>P,JJ:()=>me,JL:()=>Me,JU:()=>O,On:()=>bi,Q7:()=>Sa,QS:()=>Mn,UX:()=>bt,Zs:()=>Ba,_Y:()=>Fi,a5:()=>Ke,kI:()=>ue,oH:()=>Hr,p4:()=>lr,qQ:()=>Ma,sg:()=>dr,u:()=>zr,u5:()=>gi,wV:()=>wn});var t=m(4650),e=m(6895),g=m(457),A=m(4128),o=m(4004);let C=(()=>{class st{constructor(We,Ot){this._renderer=We,this._elementRef=Ot,this.onChange=Ti=>{},this.onTouched=()=>{}}setProperty(We,Ot){this._renderer.setProperty(this._elementRef.nativeElement,We,Ot)}registerOnTouched(We){this.onTouched=We}registerOnChange(We){this.onChange=We}setDisabledState(We){this.setProperty("disabled",We)}}return st.\u0275fac=function(We){return new(We||st)(t.Y36(t.Qsj),t.Y36(t.SBq))},st.\u0275dir=t.lG2({type:st}),st})(),u=(()=>{class st extends C{}return st.\u0275fac=function(){let et;return function(Ot){return(et||(et=t.n5z(st)))(Ot||st)}}(),st.\u0275dir=t.lG2({type:st,features:[t.qOj]}),st})();const O=new t.OlP("NgValueAccessor"),w={provide:O,useExisting:(0,t.Gpc)(()=>P),multi:!0},I=new t.OlP("CompositionEventMode");let P=(()=>{class st extends C{constructor(We,Ot,Ti){super(We,Ot),this._compositionMode=Ti,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function L(){const st=(0,e.q)()?(0,e.q)().getUserAgent():"";return/android (\d+)/.test(st.toLowerCase())}())}writeValue(We){this.setProperty("value",We??"")}_handleInput(We){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(We)}_compositionStart(){this._composing=!0}_compositionEnd(We){this._composing=!1,this._compositionMode&&this.onChange(We)}}return st.\u0275fac=function(We){return new(We||st)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(I,8))},st.\u0275dir=t.lG2({type:st,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(We,Ot){1&We&&t.NdJ("input",function(Zi){return Ot._handleInput(Zi.target.value)})("blur",function(){return Ot.onTouched()})("compositionstart",function(){return Ot._compositionStart()})("compositionend",function(Zi){return Ot._compositionEnd(Zi.target.value)})},features:[t._Bn([w]),t.qOj]}),st})();function Z(st){return null==st||("string"==typeof st||Array.isArray(st))&&0===st.length}function Y(st){return null!=st&&"number"==typeof st.length}const j=new t.OlP("NgValidators"),X=new t.OlP("NgAsyncValidators"),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 ue{static min(et){return le(et)}static max(et){return ie(et)}static required(et){return ce(et)}static requiredTrue(et){return se(et)}static email(et){return function he(st){return Z(st.value)||ee.test(st.value)?null:{email:!0}}(et)}static minLength(et){return function E(st){return et=>Z(et.value)||!Y(et.value)?null:et.value.length<st?{minlength:{requiredLength:st,actualLength:et.value.length}}:null}(et)}static maxLength(et){return function i(st){return et=>Y(et.value)&&et.value.length>st?{maxlength:{requiredLength:st,actualLength:et.value.length}}:null}(et)}static pattern(et){return function r(st){if(!st)return h;let et,We;return"string"==typeof st?(We="","^"!==st.charAt(0)&&(We+="^"),We+=st,"$"!==st.charAt(st.length-1)&&(We+="$"),et=new RegExp(We)):(We=st.toString(),et=st),Ot=>{if(Z(Ot.value))return null;const Ti=Ot.value;return et.test(Ti)?null:{pattern:{requiredPattern:We,actualValue:Ti}}}}(et)}static nullValidator(et){return null}static compose(et){return b(et)}static composeAsync(et){return z(et)}}function le(st){return et=>{if(Z(et.value)||Z(st))return null;const We=parseFloat(et.value);return!isNaN(We)&&We<st?{min:{min:st,actual:et.value}}:null}}function ie(st){return et=>{if(Z(et.value)||Z(st))return null;const We=parseFloat(et.value);return!isNaN(We)&&We>st?{max:{max:st,actual:et.value}}:null}}function ce(st){return Z(st.value)?{required:!0}:null}function se(st){return!0===st.value?null:{required:!0}}function h(st){return null}function c(st){return null!=st}function y(st){return(0,t.QGY)(st)?(0,g.D)(st):st}function S(st){let et={};return st.forEach(We=>{et=null!=We?{...et,...We}:et}),0===Object.keys(et).length?null:et}function k(st,et){return et.map(We=>We(st))}function n(st){return st.map(et=>function v(st){return!st.validate}(et)?et:We=>et.validate(We))}function b(st){if(!st)return null;const et=st.filter(c);return 0==et.length?null:function(We){return S(k(We,et))}}function B(st){return null!=st?b(n(st)):null}function z(st){if(!st)return null;const et=st.filter(c);return 0==et.length?null:function(We){const Ot=k(We,et).map(y);return(0,A.D)(Ot).pipe((0,o.U)(S))}}function W(st){return null!=st?z(n(st)):null}function Oe(st,et){return null===st?[et]:Array.isArray(st)?[...st,et]:[st,et]}function it(st){return st._rawValidators}function Ne(st){return st._rawAsyncValidators}function ot(st){return st?Array.isArray(st)?st:[st]:[]}function Ie(st,et){return Array.isArray(st)?st.includes(et):st===et}function ve(st,et){const We=ot(et);return ot(st).forEach(Ti=>{Ie(We,Ti)||We.push(Ti)}),We}function fe(st,et){return ot(et).filter(We=>!Ie(st,We))}class Se{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(et){this._rawValidators=et||[],this._composedValidatorFn=B(this._rawValidators)}_setAsyncValidators(et){this._rawAsyncValidators=et||[],this._composedAsyncValidatorFn=W(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(et){this._onDestroyCallbacks.push(et)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(et=>et()),this._onDestroyCallbacks=[]}reset(et){this.control&&this.control.reset(et)}hasError(et,We){return!!this.control&&this.control.hasError(et,We)}getError(et,We){return this.control?this.control.getError(et,We):null}}class te extends Se{get formDirective(){return null}get path(){return null}}class Ke extends Se{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ae{constructor(et){this._cd=et}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 me=(()=>{class st extends Ae{constructor(We){super(We)}}return st.\u0275fac=function(We){return new(We||st)(t.Y36(Ke,2))},st.\u0275dir=t.lG2({type:st,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(We,Ot){2&We&&t.ekj("ng-untouched",Ot.isUntouched)("ng-touched",Ot.isTouched)("ng-pristine",Ot.isPristine)("ng-dirty",Ot.isDirty)("ng-valid",Ot.isValid)("ng-invalid",Ot.isInvalid)("ng-pending",Ot.isPending)},features:[t.qOj]}),st})(),Me=(()=>{class st extends Ae{constructor(We){super(We)}}return st.\u0275fac=function(We){return new(We||st)(t.Y36(te,10))},st.\u0275dir=t.lG2({type:st,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(We,Ot){2&We&&t.ekj("ng-untouched",Ot.isUntouched)("ng-touched",Ot.isTouched)("ng-pristine",Ot.isPristine)("ng-dirty",Ot.isDirty)("ng-valid",Ot.isValid)("ng-invalid",Ot.isInvalid)("ng-pending",Ot.isPending)("ng-submitted",Ot.isSubmitted)},features:[t.qOj]}),st})();const Bt="VALID",It="INVALID",zt="PENDING",xt="DISABLED";function we(st){return(at(st)?st.validators:st)||null}function be(st,et){return(at(et)?et.asyncValidators:st)||null}function at(st){return null!=st&&!Array.isArray(st)&&"object"==typeof st}function ii(st,et,We){const Ot=st.controls;if(!(et?Object.keys(Ot):Ot).length)throw new t.vHH(1e3,"");if(!Ot[We])throw new t.vHH(1001,"")}function Gt(st,et,We){st._forEachChild((Ot,Ti)=>{if(void 0===We[Ti])throw new t.vHH(1002,"")})}class ei{constructor(et,We){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(et),this._assignAsyncValidators(We)}get validator(){return this._composedValidatorFn}set validator(et){this._rawValidators=this._composedValidatorFn=et}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(et){this._rawAsyncValidators=this._composedAsyncValidatorFn=et}get parent(){return this._parent}get valid(){return this.status===Bt}get invalid(){return this.status===It}get pending(){return this.status==zt}get disabled(){return this.status===xt}get enabled(){return this.status!==xt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(et){this._assignValidators(et)}setAsyncValidators(et){this._assignAsyncValidators(et)}addValidators(et){this.setValidators(ve(et,this._rawValidators))}addAsyncValidators(et){this.setAsyncValidators(ve(et,this._rawAsyncValidators))}removeValidators(et){this.setValidators(fe(et,this._rawValidators))}removeAsyncValidators(et){this.setAsyncValidators(fe(et,this._rawAsyncValidators))}hasValidator(et){return Ie(this._rawValidators,et)}hasAsyncValidator(et){return Ie(this._rawAsyncValidators,et)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(et={}){this.touched=!0,this._parent&&!et.onlySelf&&this._parent.markAsTouched(et)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(et=>et.markAllAsTouched())}markAsUntouched(et={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(We=>{We.markAsUntouched({onlySelf:!0})}),this._parent&&!et.onlySelf&&this._parent._updateTouched(et)}markAsDirty(et={}){this.pristine=!1,this._parent&&!et.onlySelf&&this._parent.markAsDirty(et)}markAsPristine(et={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(We=>{We.markAsPristine({onlySelf:!0})}),this._parent&&!et.onlySelf&&this._parent._updatePristine(et)}markAsPending(et={}){this.status=zt,!1!==et.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!et.onlySelf&&this._parent.markAsPending(et)}disable(et={}){const We=this._parentMarkedDirty(et.onlySelf);this.status=xt,this.errors=null,this._forEachChild(Ot=>{Ot.disable({...et,onlySelf:!0})}),this._updateValue(),!1!==et.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...et,skipPristineCheck:We}),this._onDisabledChange.forEach(Ot=>Ot(!0))}enable(et={}){const We=this._parentMarkedDirty(et.onlySelf);this.status=Bt,this._forEachChild(Ot=>{Ot.enable({...et,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:et.emitEvent}),this._updateAncestors({...et,skipPristineCheck:We}),this._onDisabledChange.forEach(Ot=>Ot(!1))}_updateAncestors(et){this._parent&&!et.onlySelf&&(this._parent.updateValueAndValidity(et),et.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(et){this._parent=et}getRawValue(){return this.value}updateValueAndValidity(et={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Bt||this.status===zt)&&this._runAsyncValidator(et.emitEvent)),!1!==et.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!et.onlySelf&&this._parent.updateValueAndValidity(et)}_updateTreeValidity(et={emitEvent:!0}){this._forEachChild(We=>We._updateTreeValidity(et)),this.updateValueAndValidity({onlySelf:!0,emitEvent:et.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xt:Bt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(et){if(this.asyncValidator){this.status=zt,this._hasOwnPendingAsyncValidator=!0;const We=y(this.asyncValidator(this));this._asyncValidationSubscription=We.subscribe(Ot=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ot,{emitEvent:et})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(et,We={}){this.errors=et,this._updateControlsErrors(!1!==We.emitEvent)}get(et){let We=et;return null==We||(Array.isArray(We)||(We=We.split(".")),0===We.length)?null:We.reduce((Ot,Ti)=>Ot&&Ot._find(Ti),this)}getError(et,We){const Ot=We?this.get(We):this;return Ot&&Ot.errors?Ot.errors[et]:null}hasError(et,We){return!!this.getError(et,We)}get root(){let et=this;for(;et._parent;)et=et._parent;return et}_updateControlsErrors(et){this.status=this._calculateStatus(),et&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(et)}_initObservables(){this.valueChanges=new t.vpe,this.statusChanges=new t.vpe}_calculateStatus(){return this._allControlsDisabled()?xt:this.errors?It:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(zt)?zt:this._anyControlsHaveStatus(It)?It:Bt}_anyControlsHaveStatus(et){return this._anyControls(We=>We.status===et)}_anyControlsDirty(){return this._anyControls(et=>et.dirty)}_anyControlsTouched(){return this._anyControls(et=>et.touched)}_updatePristine(et={}){this.pristine=!this._anyControlsDirty(),this._parent&&!et.onlySelf&&this._parent._updatePristine(et)}_updateTouched(et={}){this.touched=this._anyControlsTouched(),this._parent&&!et.onlySelf&&this._parent._updateTouched(et)}_registerOnCollectionChange(et){this._onCollectionChange=et}_setUpdateStrategy(et){at(et)&&null!=et.updateOn&&(this._updateOn=et.updateOn)}_parentMarkedDirty(et){return!et&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(et){return null}_assignValidators(et){this._rawValidators=Array.isArray(et)?et.slice():et,this._composedValidatorFn=function J(st){return Array.isArray(st)?B(st):st||null}(this._rawValidators)}_assignAsyncValidators(et){this._rawAsyncValidators=Array.isArray(et)?et.slice():et,this._composedAsyncValidatorFn=function Fe(st){return Array.isArray(st)?W(st):st||null}(this._rawAsyncValidators)}}class ht extends ei{constructor(et,We,Ot){super(we(We),be(Ot,We)),this.controls=et,this._initObservables(),this._setUpdateStrategy(We),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(et,We){return this.controls[et]?this.controls[et]:(this.controls[et]=We,We.setParent(this),We._registerOnCollectionChange(this._onCollectionChange),We)}addControl(et,We,Ot={}){this.registerControl(et,We),this.updateValueAndValidity({emitEvent:Ot.emitEvent}),this._onCollectionChange()}removeControl(et,We={}){this.controls[et]&&this.controls[et]._registerOnCollectionChange(()=>{}),delete this.controls[et],this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}setControl(et,We,Ot={}){this.controls[et]&&this.controls[et]._registerOnCollectionChange(()=>{}),delete this.controls[et],We&&this.registerControl(et,We),this.updateValueAndValidity({emitEvent:Ot.emitEvent}),this._onCollectionChange()}contains(et){return this.controls.hasOwnProperty(et)&&this.controls[et].enabled}setValue(et,We={}){Gt(this,0,et),Object.keys(et).forEach(Ot=>{ii(this,!0,Ot),this.controls[Ot].setValue(et[Ot],{onlySelf:!0,emitEvent:We.emitEvent})}),this.updateValueAndValidity(We)}patchValue(et,We={}){null!=et&&(Object.keys(et).forEach(Ot=>{const Ti=this.controls[Ot];Ti&&Ti.patchValue(et[Ot],{onlySelf:!0,emitEvent:We.emitEvent})}),this.updateValueAndValidity(We))}reset(et={},We={}){this._forEachChild((Ot,Ti)=>{Ot.reset(et[Ti],{onlySelf:!0,emitEvent:We.emitEvent})}),this._updatePristine(We),this._updateTouched(We),this.updateValueAndValidity(We)}getRawValue(){return this._reduceChildren({},(et,We,Ot)=>(et[Ot]=We.getRawValue(),et))}_syncPendingControls(){let et=this._reduceChildren(!1,(We,Ot)=>!!Ot._syncPendingControls()||We);return et&&this.updateValueAndValidity({onlySelf:!0}),et}_forEachChild(et){Object.keys(this.controls).forEach(We=>{const Ot=this.controls[We];Ot&&et(Ot,We)})}_setUpControls(){this._forEachChild(et=>{et.setParent(this),et._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(et){for(const[We,Ot]of Object.entries(this.controls))if(this.contains(We)&&et(Ot))return!0;return!1}_reduceValue(){return this._reduceChildren({},(We,Ot,Ti)=>((Ot.enabled||this.disabled)&&(We[Ti]=Ot.value),We))}_reduceChildren(et,We){let Ot=et;return this._forEachChild((Ti,Zi)=>{Ot=We(Ot,Ti,Zi)}),Ot}_allControlsDisabled(){for(const et of Object.keys(this.controls))if(this.controls[et].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(et){return this.controls.hasOwnProperty(et)?this.controls[et]:null}}class ri extends ht{}const Vt=new t.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Ft}),Ft="always";function Qe(st,et){return[...et.path,st]}function Ve(st,et,We=Ft){mi(st,et),et.valueAccessor.writeValue(st.value),(st.disabled||"always"===We)&&et.valueAccessor.setDisabledState?.(st.disabled),function wi(st,et){et.valueAccessor.registerOnChange(We=>{st._pendingValue=We,st._pendingChange=!0,st._pendingDirty=!0,"change"===st.updateOn&&qe(st,et)})}(st,et),function Tt(st,et){const We=(Ot,Ti)=>{et.valueAccessor.writeValue(Ot),Ti&&et.viewToModelUpdate(Ot)};st.registerOnChange(We),et._registerOnDestroy(()=>{st._unregisterOnChange(We)})}(st,et),function Vi(st,et){et.valueAccessor.registerOnTouched(()=>{st._pendingTouched=!0,"blur"===st.updateOn&&st._pendingChange&&qe(st,et),"submit"!==st.updateOn&&st.markAsTouched()})}(st,et),function Et(st,et){if(et.valueAccessor.setDisabledState){const We=Ot=>{et.valueAccessor.setDisabledState(Ot)};st.registerOnDisabledChange(We),et._registerOnDestroy(()=>{st._unregisterOnDisabledChange(We)})}}(st,et)}function je(st,et,We=!0){const Ot=()=>{};et.valueAccessor&&(et.valueAccessor.registerOnChange(Ot),et.valueAccessor.registerOnTouched(Ot)),Li(st,et),st&&(et._invokeOnDestroyCallbacks(),st._registerOnCollectionChange(()=>{}))}function Xe(st,et){st.forEach(We=>{We.registerOnValidatorChange&&We.registerOnValidatorChange(et)})}function mi(st,et){const We=it(st);null!==et.validator?st.setValidators(Oe(We,et.validator)):"function"==typeof We&&st.setValidators([We]);const Ot=Ne(st);null!==et.asyncValidator?st.setAsyncValidators(Oe(Ot,et.asyncValidator)):"function"==typeof Ot&&st.setAsyncValidators([Ot]);const Ti=()=>st.updateValueAndValidity();Xe(et._rawValidators,Ti),Xe(et._rawAsyncValidators,Ti)}function Li(st,et){let We=!1;if(null!==st){if(null!==et.validator){const Ti=it(st);if(Array.isArray(Ti)&&Ti.length>0){const Zi=Ti.filter(or=>or!==et.validator);Zi.length!==Ti.length&&(We=!0,st.setValidators(Zi))}}if(null!==et.asyncValidator){const Ti=Ne(st);if(Array.isArray(Ti)&&Ti.length>0){const Zi=Ti.filter(or=>or!==et.asyncValidator);Zi.length!==Ti.length&&(We=!0,st.setAsyncValidators(Zi))}}}const Ot=()=>{};return Xe(et._rawValidators,Ot),Xe(et._rawAsyncValidators,Ot),We}function qe(st,et){st._pendingDirty&&st.markAsDirty(),st.setValue(st._pendingValue,{emitModelToViewChange:!1}),et.viewToModelUpdate(st._pendingValue),st._pendingChange=!1}function ge(st,et){mi(st,et)}function Wt(st,et){if(!st.hasOwnProperty("model"))return!1;const We=st.model;return!!We.isFirstChange()||!Object.is(et,We.currentValue)}function _e(st,et){st._syncPendingControls(),et.forEach(We=>{const Ot=We.control;"submit"===Ot.updateOn&&Ot._pendingChange&&(We.viewToModelUpdate(Ot._pendingValue),Ot._pendingChange=!1)})}function $e(st,et){if(!et)return null;let We,Ot,Ti;return Array.isArray(et),et.forEach(Zi=>{Zi.constructor===P?We=Zi:function si(st){return Object.getPrototypeOf(st.constructor)===u}(Zi)?Ot=Zi:Ti=Zi}),Ti||Ot||We||null}const ui={provide:te,useExisting:(0,t.Gpc)(()=>li)},Qt=(()=>Promise.resolve())();let li=(()=>{class st extends te{constructor(We,Ot,Ti){super(),this.callSetDisabledState=Ti,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.vpe,this.form=new ht({},B(We),W(Ot))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(We){Qt.then(()=>{const Ot=this._findContainer(We.path);We.control=Ot.registerControl(We.name,We.control),Ve(We.control,We,this.callSetDisabledState),We.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(We)})}getControl(We){return this.form.get(We.path)}removeControl(We){Qt.then(()=>{const Ot=this._findContainer(We.path);Ot&&Ot.removeControl(We.name),this._directives.delete(We)})}addFormGroup(We){Qt.then(()=>{const Ot=this._findContainer(We.path),Ti=new ht({});ge(Ti,We),Ot.registerControl(We.name,Ti),Ti.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(We){Qt.then(()=>{const Ot=this._findContainer(We.path);Ot&&Ot.removeControl(We.name)})}getFormGroup(We){return this.form.get(We.path)}updateModel(We,Ot){Qt.then(()=>{this.form.get(We.path).setValue(Ot)})}setValue(We){this.control.setValue(We)}onSubmit(We){return this.submitted=!0,_e(this.form,this._directives),this.ngSubmit.emit(We),"dialog"===We?.target?.method}onReset(){this.resetForm()}resetForm(We){this.form.reset(We),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(We){return We.pop(),We.length?this.form.get(We):this.form}}return st.\u0275fac=function(We){return new(We||st)(t.Y36(j,10),t.Y36(X,10),t.Y36(Vt,8))},st.\u0275dir=t.lG2({type:st,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(We,Ot){1&We&&t.NdJ("submit",function(Zi){return Ot.onSubmit(Zi)})("reset",function(){return Ot.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([ui]),t.qOj]}),st})();function tn(st,et){const We=st.indexOf(et);We>-1&&st.splice(We,1)}function dn(st){return"object"==typeof st&&null!==st&&2===Object.keys(st).length&&"value"in st&&"disabled"in st}const Pn=class extends ei{constructor(et=null,We,Ot){super(we(We),be(Ot,We)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(et),this._setUpdateStrategy(We),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),at(We)&&(We.nonNullable||We.initialValueIsDefault)&&(this.defaultValue=dn(et)?et.value:et)}setValue(et,We={}){this.value=this._pendingValue=et,this._onChange.length&&!1!==We.emitModelToViewChange&&this._onChange.forEach(Ot=>Ot(this.value,!1!==We.emitViewToModelChange)),this.updateValueAndValidity(We)}patchValue(et,We={}){this.setValue(et,We)}reset(et=this.defaultValue,We={}){this._applyFormState(et),this.markAsPristine(We),this.markAsUntouched(We),this.setValue(this.value,We),this._pendingChange=!1}_updateValue(){}_anyControls(et){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(et){this._onChange.push(et)}_unregisterOnChange(et){tn(this._onChange,et)}registerOnDisabledChange(et){this._onDisabledChange.push(et)}_unregisterOnDisabledChange(et){tn(this._onDisabledChange,et)}_forEachChild(et){}_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(et){dn(et)?(this.value=this._pendingValue=et.value,et.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=et}},lr=Pn,vi={provide:Ke,useExisting:(0,t.Gpc)(()=>bi)},pi=(()=>Promise.resolve())();let bi=(()=>{class st extends Ke{constructor(We,Ot,Ti,Zi,or,Ni){super(),this._changeDetectorRef=or,this.callSetDisabledState=Ni,this.control=new Pn,this._registered=!1,this.update=new t.vpe,this._parent=We,this._setValidators(Ot),this._setAsyncValidators(Ti),this.valueAccessor=$e(0,Zi)}ngOnChanges(We){if(this._checkForErrors(),!this._registered||"name"in We){if(this._registered&&(this._checkName(),this.formDirective)){const Ot=We.name.previousValue;this.formDirective.removeControl({name:Ot,path:this._getPath(Ot)})}this._setUpControl()}"isDisabled"in We&&this._updateDisabled(We),Wt(We,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(We){this.viewModel=We,this.update.emit(We)}_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(){Ve(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(We){pi.then(()=>{this.control.setValue(We,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(We){const Ot=We.isDisabled.currentValue,Ti=0!==Ot&&(0,t.D6c)(Ot);pi.then(()=>{Ti&&!this.control.disabled?this.control.disable():!Ti&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(We){return this._parent?Qe(We,this._parent):[We]}}return st.\u0275fac=function(We){return new(We||st)(t.Y36(te,9),t.Y36(j,10),t.Y36(X,10),t.Y36(O,10),t.Y36(t.sBO,8),t.Y36(Vt,8))},st.\u0275dir=t.lG2({type:st,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[t._Bn([vi]),t.qOj,t.TTD]}),st})(),Fi=(()=>{class st{}return st.\u0275fac=function(We){return new(We||st)},st.\u0275dir=t.lG2({type:st,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),st})();const qi={provide:O,useExisting:(0,t.Gpc)(()=>wn),multi:!0};let wn=(()=>{class st extends u{writeValue(We){this.setProperty("value",We??"")}registerOnChange(We){this.onChange=Ot=>{We(""==Ot?null:parseFloat(Ot))}}}return st.\u0275fac=function(){let et;return function(Ot){return(et||(et=t.n5z(st)))(Ot||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(We,Ot){1&We&&t.NdJ("input",function(Zi){return Ot.onChange(Zi.target.value)})("blur",function(){return Ot.onTouched()})},features:[t._Bn([qi]),t.qOj]}),st})(),ar=(()=>{class st{}return st.\u0275fac=function(We){return new(We||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({}),st})();const ur=new t.OlP("NgModelWithFormControlWarning"),za={provide:Ke,useExisting:(0,t.Gpc)(()=>Hr)};let Hr=(()=>{class st extends Ke{constructor(We,Ot,Ti,Zi,or){super(),this._ngModelWarningConfig=Zi,this.callSetDisabledState=or,this.update=new t.vpe,this._ngModelWarningSent=!1,this._setValidators(We),this._setAsyncValidators(Ot),this.valueAccessor=$e(0,Ti)}set isDisabled(We){}ngOnChanges(We){if(this._isControlChanged(We)){const Ot=We.form.previousValue;Ot&&je(Ot,this,!1),Ve(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Wt(We,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&je(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(We){this.viewModel=We,this.update.emit(We)}_isControlChanged(We){return We.hasOwnProperty("form")}}return st._ngModelWarningSentOnce=!1,st.\u0275fac=function(We){return new(We||st)(t.Y36(j,10),t.Y36(X,10),t.Y36(O,10),t.Y36(ur,8),t.Y36(Vt,8))},st.\u0275dir=t.lG2({type:st,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[t._Bn([za]),t.qOj,t.TTD]}),st})();const Yr={provide:te,useExisting:(0,t.Gpc)(()=>dr)};let dr=(()=>{class st extends te{constructor(We,Ot,Ti){super(),this.callSetDisabledState=Ti,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.vpe,this._setValidators(We),this._setAsyncValidators(Ot)}ngOnChanges(We){this._checkFormPresent(),We.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Li(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(We){const Ot=this.form.get(We.path);return Ve(Ot,We,this.callSetDisabledState),Ot.updateValueAndValidity({emitEvent:!1}),this.directives.push(We),Ot}getControl(We){return this.form.get(We.path)}removeControl(We){je(We.control||null,We,!1),function St(st,et){const We=st.indexOf(et);We>-1&&st.splice(We,1)}(this.directives,We)}addFormGroup(We){this._setUpFormContainer(We)}removeFormGroup(We){this._cleanUpFormContainer(We)}getFormGroup(We){return this.form.get(We.path)}addFormArray(We){this._setUpFormContainer(We)}removeFormArray(We){this._cleanUpFormContainer(We)}getFormArray(We){return this.form.get(We.path)}updateModel(We,Ot){this.form.get(We.path).setValue(Ot)}onSubmit(We){return this.submitted=!0,_e(this.form,this.directives),this.ngSubmit.emit(We),"dialog"===We?.target?.method}onReset(){this.resetForm()}resetForm(We){this.form.reset(We),this.submitted=!1}_updateDomValue(){this.directives.forEach(We=>{const Ot=We.control,Ti=this.form.get(We.path);Ot!==Ti&&(je(Ot||null,We),(st=>st instanceof Pn)(Ti)&&(Ve(Ti,We,this.callSetDisabledState),We.control=Ti))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(We){const Ot=this.form.get(We.path);ge(Ot,We),Ot.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(We){if(this.form){const Ot=this.form.get(We.path);Ot&&function Dt(st,et){return Li(st,et)}(Ot,We)&&Ot.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){mi(this.form,this),this._oldForm&&Li(this._oldForm,this)}_checkFormPresent(){}}return st.\u0275fac=function(We){return new(We||st)(t.Y36(j,10),t.Y36(X,10),t.Y36(Vt,8))},st.\u0275dir=t.lG2({type:st,selectors:[["","formGroup",""]],hostBindings:function(We,Ot){1&We&&t.NdJ("submit",function(Zi){return Ot.onSubmit(Zi)})("reset",function(){return Ot.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([Yr]),t.qOj,t.TTD]}),st})();const cs={provide:Ke,useExisting:(0,t.Gpc)(()=>zr)};let zr=(()=>{class st extends Ke{constructor(We,Ot,Ti,Zi,or){super(),this._ngModelWarningConfig=or,this._added=!1,this.update=new t.vpe,this._ngModelWarningSent=!1,this._parent=We,this._setValidators(Ot),this._setAsyncValidators(Ti),this.valueAccessor=$e(0,Zi)}set isDisabled(We){}ngOnChanges(We){this._added||this._setUpControl(),Wt(We,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(We){this.viewModel=We,this.update.emit(We)}get path(){return Qe(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return st._ngModelWarningSentOnce=!1,st.\u0275fac=function(We){return new(We||st)(t.Y36(te,13),t.Y36(j,10),t.Y36(X,10),t.Y36(O,10),t.Y36(ur,8))},st.\u0275dir=t.lG2({type:st,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[t._Bn([cs]),t.qOj,t.TTD]}),st})();function Ja(st){return"number"==typeof st?st:parseFloat(st)}let fr=(()=>{class st{constructor(){this._validator=h}ngOnChanges(We){if(this.inputName in We){const Ot=this.normalizeInput(We[this.inputName].currentValue);this._enabled=this.enabled(Ot),this._validator=this._enabled?this.createValidator(Ot):h,this._onChange&&this._onChange()}}validate(We){return this._validator(We)}registerOnValidatorChange(We){this._onChange=We}enabled(We){return null!=We}}return st.\u0275fac=function(We){return new(We||st)},st.\u0275dir=t.lG2({type:st,features:[t.TTD]}),st})();const Vr={provide:j,useExisting:(0,t.Gpc)(()=>ga),multi:!0};let ga=(()=>{class st extends fr{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=We=>Ja(We),this.createValidator=We=>ie(We)}}return st.\u0275fac=function(){let et;return function(Ot){return(et||(et=t.n5z(st)))(Ot||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(We,Ot){2&We&&t.uIk("max",Ot._enabled?Ot.max:null)},inputs:{max:"max"},features:[t._Bn([Vr]),t.qOj]}),st})();const Xa={provide:j,useExisting:(0,t.Gpc)(()=>Ma),multi:!0};let Ma=(()=>{class st extends fr{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=We=>Ja(We),this.createValidator=We=>le(We)}}return st.\u0275fac=function(){let et;return function(Ot){return(et||(et=t.n5z(st)))(Ot||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(We,Ot){2&We&&t.uIk("min",Ot._enabled?Ot.min:null)},inputs:{min:"min"},features:[t._Bn([Xa]),t.qOj]}),st})();const us={provide:j,useExisting:(0,t.Gpc)(()=>Sa),multi:!0},Zr={provide:j,useExisting:(0,t.Gpc)(()=>Ba),multi:!0};let Sa=(()=>{class st extends fr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.D6c,this.createValidator=We=>ce}enabled(We){return We}}return st.\u0275fac=function(){let et;return function(Ot){return(et||(et=t.n5z(st)))(Ot||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(We,Ot){2&We&&t.uIk("required",Ot._enabled?"":null)},inputs:{required:"required"},features:[t._Bn([us]),t.qOj]}),st})(),Ba=(()=>{class st extends Sa{constructor(){super(...arguments),this.createValidator=We=>se}}return st.\u0275fac=function(){let et;return function(Ot){return(et||(et=t.n5z(st)))(Ot||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(We,Ot){2&We&&t.uIk("required",Ot._enabled?"":null)},features:[t._Bn([Zr]),t.qOj]}),st})(),Rt=(()=>{class st{}return st.\u0275fac=function(We){return new(We||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({imports:[ar]}),st})(),gi=(()=>{class st{static withConfig(We){return{ngModule:st,providers:[{provide:Vt,useValue:We.callSetDisabledState??Ft}]}}}return st.\u0275fac=function(We){return new(We||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({imports:[Rt]}),st})(),bt=(()=>{class st{static withConfig(We){return{ngModule:st,providers:[{provide:ur,useValue:We.warnOnNgModelWithFormControl??"always"},{provide:Vt,useValue:We.callSetDisabledState??Ft}]}}}return st.\u0275fac=function(We){return new(We||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({imports:[Rt]}),st})();class ai extends ei{constructor(et,We,Ot){super(we(We),be(Ot,We)),this.controls=et,this._initObservables(),this._setUpdateStrategy(We),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(et){return this.controls[this._adjustIndex(et)]}push(et,We={}){this.controls.push(et),this._registerControl(et),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}insert(et,We,Ot={}){this.controls.splice(et,0,We),this._registerControl(We),this.updateValueAndValidity({emitEvent:Ot.emitEvent})}removeAt(et,We={}){let Ot=this._adjustIndex(et);Ot<0&&(Ot=0),this.controls[Ot]&&this.controls[Ot]._registerOnCollectionChange(()=>{}),this.controls.splice(Ot,1),this.updateValueAndValidity({emitEvent:We.emitEvent})}setControl(et,We,Ot={}){let Ti=this._adjustIndex(et);Ti<0&&(Ti=0),this.controls[Ti]&&this.controls[Ti]._registerOnCollectionChange(()=>{}),this.controls.splice(Ti,1),We&&(this.controls.splice(Ti,0,We),this._registerControl(We)),this.updateValueAndValidity({emitEvent:Ot.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(et,We={}){Gt(this,0,et),et.forEach((Ot,Ti)=>{ii(this,!1,Ti),this.at(Ti).setValue(Ot,{onlySelf:!0,emitEvent:We.emitEvent})}),this.updateValueAndValidity(We)}patchValue(et,We={}){null!=et&&(et.forEach((Ot,Ti)=>{this.at(Ti)&&this.at(Ti).patchValue(Ot,{onlySelf:!0,emitEvent:We.emitEvent})}),this.updateValueAndValidity(We))}reset(et=[],We={}){this._forEachChild((Ot,Ti)=>{Ot.reset(et[Ti],{onlySelf:!0,emitEvent:We.emitEvent})}),this._updatePristine(We),this._updateTouched(We),this.updateValueAndValidity(We)}getRawValue(){return this.controls.map(et=>et.getRawValue())}clear(et={}){this.controls.length<1||(this._forEachChild(We=>We._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:et.emitEvent}))}_adjustIndex(et){return et<0?et+this.length:et}_syncPendingControls(){let et=this.controls.reduce((We,Ot)=>!!Ot._syncPendingControls()||We,!1);return et&&this.updateValueAndValidity({onlySelf:!0}),et}_forEachChild(et){this.controls.forEach((We,Ot)=>{et(We,Ot)})}_updateValue(){this.value=this.controls.filter(et=>et.enabled||this.disabled).map(et=>et.value)}_anyControls(et){return this.controls.some(We=>We.enabled&&et(We))}_setUpControls(){this._forEachChild(et=>this._registerControl(et))}_allControlsDisabled(){for(const et of this.controls)if(et.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(et){et.setParent(this),et._registerOnCollectionChange(this._onCollectionChange)}_find(et){return this.at(et)??null}}function Zn(st){return!!st&&(void 0!==st.asyncValidators||void 0!==st.validators||void 0!==st.updateOn)}let br=(()=>{class st{constructor(){this.useNonNullable=!1}get nonNullable(){const We=new st;return We.useNonNullable=!0,We}group(We,Ot=null){const Ti=this._reduceControls(We);let Zi={};return Zn(Ot)?Zi=Ot:null!==Ot&&(Zi.validators=Ot.validator,Zi.asyncValidators=Ot.asyncValidator),new ht(Ti,Zi)}record(We,Ot=null){const Ti=this._reduceControls(We);return new ri(Ti,Ot)}control(We,Ot,Ti){let Zi={};return this.useNonNullable?(Zn(Ot)?Zi=Ot:(Zi.validators=Ot,Zi.asyncValidators=Ti),new Pn(We,{...Zi,nonNullable:!0})):new Pn(We,Ot,Ti)}array(We,Ot,Ti){const Zi=We.map(or=>this._createControl(or));return new ai(Zi,Ot,Ti)}_reduceControls(We){const Ot={};return Object.keys(We).forEach(Ti=>{Ot[Ti]=this._createControl(We[Ti])}),Ot}_createControl(We){return We instanceof Pn||We instanceof ei?We:Array.isArray(We)?this.control(We[0],We.length>1?We[1]:null,We.length>2?We[2]:null):this.control(We)}}return st.\u0275fac=function(We){return new(We||st)},st.\u0275prov=t.Yz7({token:st,factory:st.\u0275fac,providedIn:bt}),st})(),Mn=(()=>{class st extends br{group(We,Ot=null){return super.group(We,Ot)}control(We,Ot,Ti){return super.control(We,Ot,Ti)}array(We,Ot,Ti){return super.array(We,Ot,Ti)}}return st.\u0275fac=function(){let et;return function(Ot){return(et||(et=t.n5z(st)))(Ot||st)}}(),st.\u0275prov=t.Yz7({token:st,factory:st.\u0275fac,providedIn:bt}),st})()},7957:(Ge,Q,m)=>{"use strict";m.d(Q,{Bb:()=>Se,XC:()=>B,ZL:()=>fe});var t=m(4650),e=m(3238),g=m(6895),A=m(531),o=m(8184),C=m(4761),u=m(1281),O=m(3353),d=m(7340),M=m(727),w=m(7579),L=m(9770),I=m(6451),P=m(9646),U=m(4968),Z=m(445),Y=m(9521),j=m(4080),X=m(4006),ee=m(9549),ue=m(8675),le=m(3900),ie=m(5698),ce=m(9300),se=m(4004),he=m(8505),E=m(4086);const i=["panel"];function r(te,Ke){if(1&te&&(t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA()),2&te){const Ae=Ke.id,oe=t.oxw();t.Q6J("id",oe.id)("ngClass",oe._classList)("@panelAnimation",oe.isOpen?"visible":"hidden"),t.uIk("aria-label",oe.ariaLabel||null)("aria-labelledby",oe._getPanelAriaLabelledby(Ae))}}const h=["*"],c=(0,d.X$)("panelAnimation",[(0,d.SB)("void, hidden",(0,d.oB)({opacity:0,transform:"scaleY(0.8)"})),(0,d.eR)(":enter, hidden => visible",[(0,d.ru)([(0,d.jt)("0.03s linear",(0,d.oB)({opacity:1})),(0,d.jt)("0.12s cubic-bezier(0, 0, 0.2, 1)",(0,d.oB)({transform:"scaleY(1)"}))])]),(0,d.eR)(":leave, visible => hidden",[(0,d.jt)("0.075s linear",(0,d.oB)({opacity:0}))])]);let y=0;class S{constructor(Ke,Ae){this.source=Ke,this.option=Ae}}const k=(0,e.Kr)(class{}),v=new t.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function n(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let b=(()=>{class te extends k{constructor(Ae,oe,ye,me){super(),this._changeDetectorRef=Ae,this._elementRef=oe,this._activeOptionChanges=M.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new t.vpe,this.opened=new t.vpe,this.closed=new t.vpe,this.optionActivated=new t.vpe,this._classList={},this.id="mat-autocomplete-"+y++,this.inertGroups=me?.SAFARI||!1,this._autoActiveFirstOption=!!ye.autoActiveFirstOption,this._autoSelectActiveOption=!!ye.autoSelectActiveOption}get isOpen(){return this._isOpen&&this.showPanel}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(Ae){this._autoActiveFirstOption=(0,u.Ig)(Ae)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(Ae){this._autoSelectActiveOption=(0,u.Ig)(Ae)}set classList(Ae){this._classList=Ae&&Ae.length?(0,u.du)(Ae).reduce((oe,ye)=>(oe[ye]=!0,oe),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}ngAfterContentInit(){this._keyManager=new C.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(Ae=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Ae]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(Ae){this.panel&&(this.panel.nativeElement.scrollTop=Ae)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Ae){const oe=new S(this,Ae);this.optionSelected.emit(oe)}_getPanelAriaLabelledby(Ae){return this.ariaLabel?null:this.ariaLabelledby?(Ae?Ae+" ":"")+this.ariaLabelledby:Ae}_setVisibilityClasses(Ae){Ae[this._visibleClass]=this.showPanel,Ae[this._hiddenClass]=!this.showPanel}}return te.\u0275fac=function(Ae){return new(Ae||te)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(v),t.Y36(O.t4))},te.\u0275dir=t.lG2({type:te,viewQuery:function(Ae,oe){if(1&Ae&&(t.Gf(t.Rgc,7),t.Gf(i,5)),2&Ae){let ye;t.iGM(ye=t.CRH())&&(oe.template=ye.first),t.iGM(ye=t.CRH())&&(oe.panel=ye.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",autoSelectActiveOption:"autoSelectActiveOption",panelWidth:"panelWidth",classList:["class","classList"]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[t.qOj]}),te})(),B=(()=>{class te extends b{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden"}}return te.\u0275fac=function(){let Ke;return function(oe){return(Ke||(Ke=t.n5z(te)))(oe||te)}}(),te.\u0275cmp=t.Xpm({type:te,selectors:[["mat-autocomplete"]],contentQueries:function(Ae,oe,ye){if(1&Ae&&(t.Suo(ye,e.K7,5),t.Suo(ye,e.ey,5)),2&Ae){let me;t.iGM(me=t.CRH())&&(oe.optionGroups=me),t.iGM(me=t.CRH())&&(oe.options=me)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[t._Bn([{provide:e.HF,useExisting:te}]),t.qOj],ngContentSelectors:h,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(Ae,oe){1&Ae&&(t.F$t(),t.YNc(0,r,3,5,"ng-template"))},dependencies:[g.mk],styles:[".mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mdc-menu-surface.mat-mdc-autocomplete-panel{width:100%;max-height:256px;position:static;visibility:hidden;transform-origin:center top;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-autocomplete-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) .mdc-menu-surface.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above .mdc-menu-surface.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}.mdc-menu-surface.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[c]},changeDetection:0}),te})();const Oe={provide:X.JU,useExisting:(0,t.Gpc)(()=>fe),multi:!0},Ne=new t.OlP("mat-autocomplete-scroll-strategy"),Ie={provide:Ne,deps:[o.aV],useFactory:function ot(te){return()=>te.scrollStrategies.reposition()}};let ve=(()=>{class te{constructor(Ae,oe,ye,me,Me,Ze,q,de,xe,ke,ft){this._element=Ae,this._overlay=oe,this._viewContainerRef=ye,this._zone=me,this._changeDetectorRef=Me,this._dir=q,this._formField=de,this._document=xe,this._viewportRuler=ke,this._defaults=ft,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=M.w0.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new w.x,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=(0,L.P)(()=>{const _t=this.autocomplete?this.autocomplete.options:null;return _t?_t.changes.pipe((0,ue.O)(_t),(0,le.w)(()=>(0,I.T)(..._t.map(ct=>ct.onSelectionChange)))):this._zone.onStable.pipe((0,ie.q)(1),(0,le.w)(()=>this.optionSelections))}),this._scrollStrategy=Ze}get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(Ae){this._autocompleteDisabled=(0,u.Ig)(Ae)}ngAfterViewInit(){const Ae=this._getWindow();typeof Ae<"u"&&this._zone.runOutsideAngular(()=>Ae.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Ae){Ae.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Ae=this._getWindow();typeof Ae<"u"&&Ae.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,I.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,ce.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,ce.h)(()=>this._overlayAttached)):(0,P.of)()).pipe((0,se.U)(Ae=>Ae instanceof e.rN?Ae:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,I.T)((0,U.R)(this._document,"click"),(0,U.R)(this._document,"auxclick"),(0,U.R)(this._document,"touchend")).pipe((0,ce.h)(Ae=>{const oe=(0,O.sA)(Ae),ye=this._formField?this._formField._elementRef.nativeElement:null,me=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&oe!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!ye||!ye.contains(oe))&&(!me||!me.contains(oe))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(oe)}))}writeValue(Ae){Promise.resolve(null).then(()=>this._assignOptionValue(Ae))}registerOnChange(Ae){this._onChange=Ae}registerOnTouched(Ae){this._onTouched=Ae}setDisabledState(Ae){this._element.nativeElement.disabled=Ae}_handleKeydown(Ae){const oe=Ae.keyCode,ye=(0,Y.Vb)(Ae);if(oe===Y.hY&&!ye&&Ae.preventDefault(),this.activeOption&&oe===Y.K5&&this.panelOpen&&!ye)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Ae.preventDefault();else if(this.autocomplete){const me=this.autocomplete._keyManager.activeItem,Me=oe===Y.LH||oe===Y.JH;oe===Y.Mf||Me&&!ye&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Ae):Me&&this._canOpen()&&this.openPanel(),(Me||this.autocomplete._keyManager.activeItem!==me)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(Ae){let oe=Ae.target,ye=oe.value;"number"===oe.type&&(ye=""==ye?null:parseFloat(ye)),this._previousValue!==ye&&(this._previousValue=ye,this._pendingAutoselectedOption=null,this._onChange(ye),this._canOpen()&&this._document.activeElement===Ae.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(Ae=!1){this._formField&&"auto"===this._formField.floatLabel&&(Ae?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Ae=this._zone.onStable.pipe((0,ie.q)(1)),oe=this.autocomplete.options.changes.pipe((0,he.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,E.g)(0));return(0,I.T)(Ae,oe).pipe((0,le.w)(()=>(this._zone.run(()=>{const ye=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),ye!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,ie.q)(1)).subscribe(ye=>this._setValueAndClose(ye))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Ae){const oe=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Ae):Ae;this._updateNativeInputValue(oe??"")}_updateNativeInputValue(Ae){this._formField?this._formField._control.value=Ae:this._element.nativeElement.value=Ae,this._previousValue=Ae}_setValueAndClose(Ae){const oe=Ae?Ae.source:this._pendingAutoselectedOption;oe&&(this._clearPreviousSelectedOption(oe),this._assignOptionValue(oe.value),this._onChange(oe.value),this.autocomplete._emitSelectEvent(oe),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(Ae){this.autocomplete.options.forEach(oe=>{oe!==Ae&&oe.selected&&oe.deselect()})}_attachOverlay(){let Ae=this._overlayRef;Ae?(this._positionStrategy.setOrigin(this._getConnectedElement()),Ae.updateSize({width:this._getPanelWidth()})):(this._portal=new j.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Ae=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Ae,this._handleOverlayEvents(Ae),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Ae&&Ae.updateSize({width:this._getPanelWidth()})})),Ae&&!Ae.hasAttached()&&(Ae.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const oe=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&oe!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new o.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const Ae=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Ae),this._positionStrategy=Ae,Ae}_setStrategyPositions(Ae){const oe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ye=this._aboveClass,me=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:ye},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:ye}];let Me;Me="above"===this.position?me:"below"===this.position?oe:[...oe,...me],Ae.withPositions(Me)}_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 Ae=this.autocomplete;Ae.autoActiveFirstOption?Ae._keyManager.setFirstItemActive():Ae._keyManager.setActiveItem(-1)}_canOpen(){const Ae=this._element.nativeElement;return!Ae.readOnly&&!Ae.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(Ae){const oe=this.autocomplete,ye=(0,e.CB)(Ae,oe.options,oe.optionGroups);if(0===Ae&&1===ye)oe._setScrollTop(0);else if(oe.panel){const me=oe.options.toArray()[Ae];if(me){const Me=me._getHostElement(),Ze=(0,e.jH)(Me.offsetTop,Me.offsetHeight,oe._getScrollTop(),oe.panel.nativeElement.offsetHeight);oe._setScrollTop(Ze)}}}_handleOverlayEvents(Ae){Ae.keydownEvents().subscribe(oe=>{(oe.keyCode===Y.hY&&!(0,Y.Vb)(oe)||oe.keyCode===Y.LH&&(0,Y.Vb)(oe,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),oe.stopPropagation(),oe.preventDefault())}),Ae.outsidePointerEvents().subscribe()}}return te.\u0275fac=function(Ae){return new(Ae||te)(t.Y36(t.SBq),t.Y36(o.aV),t.Y36(t.s_b),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(Ne),t.Y36(Z.Is,8),t.Y36(ee.G_,9),t.Y36(g.K0,8),t.Y36(A.rL),t.Y36(v,8))},te.\u0275dir=t.lG2({type:te,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[t.TTD]}),te})(),fe=(()=>{class te extends ve{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return te.\u0275fac=function(){let Ke;return function(oe){return(Ke||(Ke=t.n5z(te)))(oe||te)}}(),te.\u0275dir=t.lG2({type:te,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(Ae,oe){1&Ae&&t.NdJ("focusin",function(){return oe._handleFocus()})("blur",function(){return oe._onTouched()})("input",function(me){return oe._handleInput(me)})("keydown",function(me){return oe._handleKeydown(me)})("click",function(){return oe._handleClick()}),2&Ae&&t.uIk("autocomplete",oe.autocompleteAttribute)("role",oe.autocompleteDisabled?null:"combobox")("aria-autocomplete",oe.autocompleteDisabled?null:"list")("aria-activedescendant",oe.panelOpen&&oe.activeOption?oe.activeOption.id:null)("aria-expanded",oe.autocompleteDisabled?null:oe.panelOpen.toString())("aria-owns",oe.autocompleteDisabled||!oe.panelOpen||null==oe.autocomplete?null:oe.autocomplete.id)("aria-haspopup",oe.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[t._Bn([Oe]),t.qOj]}),te})(),Se=(()=>{class te{}return te.\u0275fac=function(Ae){return new(Ae||te)},te.\u0275mod=t.oAB({type:te}),te.\u0275inj=t.cJS({providers:[Ie],imports:[o.U8,e.Ng,e.BQ,g.ez,A.ZD,e.Ng,e.BQ]}),te})()},2673:(Ge,Q,m)=>{"use strict";m.d(Q,{g:()=>d,k:()=>O});var t=m(4650),e=m(3238),g=m(4761),A=m(1281);let o=0;const C=(0,e.Id)(class{}),u="mat-badge-content";let O=(()=>{class M extends C{constructor(L,I,P,U,Z){super(),this._ngZone=L,this._elementRef=I,this._ariaDescriber=P,this._renderer=U,this._animationMode=Z,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=o++,this._isInitialized=!1}get color(){return this._color}set color(L){this._setColor(L),this._color=L}get overlap(){return this._overlap}set overlap(L){this._overlap=(0,A.Ig)(L)}get content(){return this._content}set content(L){this._updateRenderedContent(L)}get description(){return this._description}set description(L){this._updateHostAriaDescription(L)}get hidden(){return this._hidden}set hidden(L){this._hidden=(0,A.Ig)(L)}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._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_createBadgeElement(){const L=this._renderer.createElement("span"),I="mat-badge-active";return L.setAttribute("id",`mat-badge-content-${this._id}`),L.setAttribute("aria-hidden","true"),L.classList.add(u),"NoopAnimations"===this._animationMode&&L.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(L),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{L.classList.add(I)})}):L.classList.add(I),L}_updateRenderedContent(L){const I=`${L??""}`.trim();this._isInitialized&&I&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=I),this._content=I}_updateHostAriaDescription(L){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),L&&this._ariaDescriber.describe(this._elementRef.nativeElement,L),this._description=L}_setColor(L){const I=this._elementRef.nativeElement.classList;I.remove(`mat-badge-${this._color}`),L&&I.add(`mat-badge-${L}`)}_clearExistingBadges(){const L=this._elementRef.nativeElement.querySelectorAll(`:scope > .${u}`);for(const I of Array.from(L))I!==this._badgeElement&&I.remove()}}return M.\u0275fac=function(L){return new(L||M)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(g.$s),t.Y36(t.Qsj),t.Y36(t.QbO,8))},M.\u0275dir=t.lG2({type:M,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(L,I){2&L&&t.ekj("mat-badge-overlap",I.overlap)("mat-badge-above",I.isAbove())("mat-badge-below",!I.isAbove())("mat-badge-before",!I.isAfter())("mat-badge-after",I.isAfter())("mat-badge-small","small"===I.size)("mat-badge-medium","medium"===I.size)("mat-badge-large","large"===I.size)("mat-badge-hidden",I.hidden||!I.content)("mat-badge-disabled",I.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],position:["matBadgePosition","position"],content:["matBadge","content"],description:["matBadgeDescription","description"],size:["matBadgeSize","size"],hidden:["matBadgeHidden","hidden"]},features:[t.qOj]}),M})(),d=(()=>{class M{}return M.\u0275fac=function(L){return new(L||M)},M.\u0275mod=t.oAB({type:M}),M.\u0275inj=t.cJS({imports:[g.rt,e.BQ,e.BQ]}),M})()},4859:(Ge,Q,m)=>{"use strict";m.d(Q,{RK:()=>k,lW:()=>ce,nh:()=>c,ot:()=>n});var t=m(3353),e=m(4650),g=m(4761),A=m(3238);const o=["mat-button",""],C=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],u=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],w=["mat-mini-fab",""],I=["mat-icon-button",""],P=["*"],j=[{selector:"mat-button",mdcClasses:["mdc-button","mat-mdc-button"]},{selector:"mat-flat-button",mdcClasses:["mdc-button","mdc-button--unelevated","mat-mdc-unelevated-button"]},{selector:"mat-raised-button",mdcClasses:["mdc-button","mdc-button--raised","mat-mdc-raised-button"]},{selector:"mat-stroked-button",mdcClasses:["mdc-button","mdc-button--outlined","mat-mdc-outlined-button"]},{selector:"mat-fab",mdcClasses:["mdc-fab","mat-mdc-fab"]},{selector:"mat-mini-fab",mdcClasses:["mdc-fab","mdc-fab--mini","mat-mdc-mini-fab"]},{selector:"mat-icon-button",mdcClasses:["mdc-icon-button","mat-mdc-icon-button"]}],X=(0,A.pj)((0,A.Id)((0,A.Kr)(class{constructor(b){this._elementRef=b}})));let ee=(()=>{class b extends X{constructor(z,W,Oe,it){super(z),this._platform=W,this._ngZone=Oe,this._animationMode=it,this._focusMonitor=(0,e.f3M)(g.tE),this._isFab=!1;const Ne=z.nativeElement.classList;for(const ot of j)this._hasHostAttributes(ot.selector)&&ot.mdcClasses.forEach(Ie=>{Ne.add(Ie)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(z="program",W){z?this._focusMonitor.focusVia(this._elementRef.nativeElement,z,W):this._elementRef.nativeElement.focus(W)}_hasHostAttributes(...z){return z.some(W=>this._elementRef.nativeElement.hasAttribute(W))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return b.\u0275fac=function(z){e.$Z()},b.\u0275dir=e.lG2({type:b,viewQuery:function(z,W){if(1&z&&e.Gf(A.wG,5),2&z){let Oe;e.iGM(Oe=e.CRH())&&(W.ripple=Oe.first)}},features:[e.qOj]}),b})(),ce=(()=>{class b extends ee{constructor(z,W,Oe,it){super(z,W,Oe,it)}}return b.\u0275fac=function(z){return new(z||b)(e.Y36(e.SBq),e.Y36(t.t4),e.Y36(e.R0b),e.Y36(e.QbO,8))},b.\u0275cmp=e.Xpm({type:b,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(z,W){2&z&&(e.uIk("disabled",W.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===W._animationMode)("mat-unthemed",!W.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:o,ngContentSelectors:u,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(z,W){1&z&&(e.F$t(C),e._UZ(0,"span",0),e.Hsn(1),e.TgZ(2,"span",1),e.Hsn(3,1),e.qZA(),e.Hsn(4,2),e._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&z&&(e.ekj("mdc-button__ripple",!W._isFab)("mdc-fab__ripple",W._isFab),e.xp6(6),e.Q6J("matRippleDisabled",W._isRippleDisabled())("matRippleTrigger",W._elementRef.nativeElement))},dependencies:[A.wG],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(\n 100% + 4px\n );width:calc(\n 100% + 4px\n );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{height:var(--mdc-text-button-container-height, 36px);border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-button:not(:disabled){color:var(--mdc-text-button-label-text-color, inherit)}.mat-mdc-button:disabled{color:var(--mdc-text-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-button .mdc-button__ripple{border-radius:var(--mdc-text-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button{height:var(--mdc-filled-button-container-height, 36px);border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-unelevated-button:not(:disabled){background-color:var(--mdc-filled-button-container-color, transparent)}.mat-mdc-unelevated-button:disabled{background-color:var(--mdc-filled-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-unelevated-button:not(:disabled){color:var(--mdc-filled-button-label-text-color, inherit)}.mat-mdc-unelevated-button:disabled{color:var(--mdc-filled-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-unelevated-button .mdc-button__ripple{border-radius:var(--mdc-filled-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button{height:var(--mdc-protected-button-container-height, 36px);border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px));box-shadow:var(--mdc-protected-button-container-elevation, 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-mdc-raised-button:not(:disabled){background-color:var(--mdc-protected-button-container-color, transparent)}.mat-mdc-raised-button:disabled{background-color:var(--mdc-protected-button-disabled-container-color, rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled){color:var(--mdc-protected-button-label-text-color, inherit)}.mat-mdc-raised-button:disabled{color:var(--mdc-protected-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-raised-button .mdc-button__ripple{border-radius:var(--mdc-protected-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-raised-button.mdc-ripple-upgraded--background-focused,.mat-mdc-raised-button:not(.mdc-ripple-upgraded):focus{box-shadow:var(--mdc-protected-button-focus-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:hover{box-shadow:var(--mdc-protected-button-hover-container-elevation, 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:not(:disabled):active{box-shadow:var(--mdc-protected-button-pressed-container-elevation, 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12))}.mat-mdc-raised-button:disabled{box-shadow:var(--mdc-protected-button-disabled-container-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button{height:var(--mdc-outlined-button-container-height, 36px);border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px));padding:0 15px 0 15px;border-width:var(--mdc-outlined-button-outline-width, 1px)}.mat-mdc-outlined-button:not(:disabled){color:var(--mdc-outlined-button-label-text-color, inherit)}.mat-mdc-outlined-button:disabled{color:var(--mdc-outlined-button-disabled-label-text-color, rgba(0, 0, 0, 0.38))}.mat-mdc-outlined-button .mdc-button__ripple{border-radius:var(--mdc-outlined-button-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-outlined-button:not(:disabled){border-color:var(--mdc-outlined-button-outline-color, rgba(0, 0, 0, 0.12))}.mat-mdc-outlined-button:disabled{border-color:var(--mdc-outlined-button-disabled-outline-color, rgba(0, 0, 0, 0.12))}.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, 1px)}.mat-mdc-outlined-button .mdc-button__touch{left:calc(-1 * var(--mdc-outlined-button-outline-width, 1px));width:calc(100% + 2 * var(--mdc-outlined-button-outline-width, 1px))}.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-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;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-button .mat-ripple-element,.mat-mdc-unelevated-button .mat-ripple-element,.mat-mdc-raised-button .mat-ripple-element,.mat-mdc-outlined-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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[disabled],.mat-mdc-unelevated-button[disabled],.mat-mdc-raised-button[disabled],.mat-mdc-outlined-button[disabled]{cursor:default;pointer-events:none}.mat-mdc-button .mat-mdc-button-touch-target,.mat-mdc-unelevated-button .mat-mdc-button-touch-target,.mat-mdc-raised-button .mat-mdc-button-touch-target,.mat-mdc-outlined-button .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:0;right:0;transform:translateY(-50%)}.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{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem}[dir=rtl] .mat-mdc-button>.mat-icon,.mat-mdc-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}.mat-mdc-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-button .mdc-button__label+.mat-icon,.mat-mdc-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-unelevated-button>.mat-icon,.mat-mdc-raised-button>.mat-icon,.mat-mdc-outlined-button>.mat-icon{margin-left:0;margin-right:8px;display:inline-block;position:relative;vertical-align:top;font-size:1.125rem;height:1.125rem;width:1.125rem;margin-left:-4px;margin-right:8px}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:0}[dir=rtl] .mat-mdc-unelevated-button>.mat-icon,[dir=rtl] .mat-mdc-raised-button>.mat-icon,[dir=rtl] .mat-mdc-outlined-button>.mat-icon,.mat-mdc-unelevated-button>.mat-icon[dir=rtl],.mat-mdc-raised-button>.mat-icon[dir=rtl],.mat-mdc-outlined-button>.mat-icon[dir=rtl]{margin-left:8px;margin-right:-4px}.mat-mdc-unelevated-button .mdc-button__label+.mat-icon,.mat-mdc-raised-button .mdc-button__label+.mat-icon,.mat-mdc-outlined-button .mdc-button__label+.mat-icon{margin-left:8px;margin-right:-4px}[dir=rtl] .mat-mdc-unelevated-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-raised-button .mdc-button__label+.mat-icon,[dir=rtl] .mat-mdc-outlined-button .mdc-button__label+.mat-icon,.mat-mdc-unelevated-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-raised-button .mdc-button__label+.mat-icon[dir=rtl],.mat-mdc-outlined-button .mdc-button__label+.mat-icon[dir=rtl]{margin-left:-4px;margin-right:8px}.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}),b})();const he=new e.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:E});function E(){return{color:"accent"}}const i=E();let c=(()=>{class b extends ee{constructor(z,W,Oe,it,Ne){super(z,W,Oe,it),this._options=Ne,this._isFab=!0,this._options=this._options||i,this.color=this.defaultColor=this._options.color||i.color}}return b.\u0275fac=function(z){return new(z||b)(e.Y36(e.SBq),e.Y36(t.t4),e.Y36(e.R0b),e.Y36(e.QbO,8),e.Y36(he,8))},b.\u0275cmp=e.Xpm({type:b,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(z,W){2&z&&(e.uIk("disabled",W.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===W._animationMode)("mat-unthemed",!W.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:w,ngContentSelectors:u,decls:8,vars:6,consts:[[1,"mat-mdc-button-persistent-ripple"],[1,"mdc-button__label"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(z,W){1&z&&(e.F$t(C),e._UZ(0,"span",0),e.Hsn(1),e.TgZ(2,"span",1),e.Hsn(3,1),e.qZA(),e.Hsn(4,2),e._UZ(5,"span",2)(6,"span",3)(7,"span",4)),2&z&&(e.ekj("mdc-button__ripple",!W._isFab)("mdc-fab__ripple",W._isFab),e.xp6(6),e.Q6J("matRippleDisabled",W._isRippleDisabled())("matRippleTrigger",W._elementRef.nativeElement))},dependencies:[A.wG],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-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(\n 100% + 4px\n );width:calc(\n 100% + 4px\n )}@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)}.mdc-fab .mdc-fab__icon{width:24px;height:24px;font-size:24px}.mdc-fab:not(.mdc-fab--extended){border-radius:50%}.mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:50%}.mat-mdc-fab,.mat-mdc-mini-fab{-webkit-tap-highlight-color:rgba(0,0,0,0);background-color:var(--mdc-fab-container-color, transparent);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);color:var(--mat-mdc-fab-color, inherit);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-persistent-ripple::before,.mat-mdc-mini-fab .mat-mdc-button-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-fab .mat-ripple-element,.mat-mdc-mini-fab .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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-mdc-button-touch-target,.mat-mdc-mini-fab .mat-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-fab._mat-animation-noopable,.mat-mdc-mini-fab._mat-animation-noopable{transition:none !important;animation:none !important}.mat-mdc-fab:not(:disabled) .mdc-fab__icon,.mat-mdc-mini-fab:not(:disabled) .mdc-fab__icon{color:var(--mdc-fab-icon-color, inherit)}.mat-mdc-fab:not(.mdc-fab--extended),.mat-mdc-mini-fab:not(.mdc-fab--extended){border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:not(.mdc-fab--extended) .mdc-fab__ripple,.mat-mdc-mini-fab:not(.mdc-fab--extended) .mdc-fab__ripple{border-radius:var(--mdc-fab-container-shape, 50%)}.mat-mdc-fab:hover,.mat-mdc-fab:focus,.mat-mdc-mini-fab:hover,.mat-mdc-mini-fab:focus{box-shadow:0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12)}.mat-mdc-fab:active,.mat-mdc-fab:focus:active,.mat-mdc-mini-fab:active,.mat-mdc-mini-fab:focus:active{box-shadow:0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12)}.mat-mdc-fab[disabled],.mat-mdc-mini-fab[disabled]{cursor:default;pointer-events:none;box-shadow:0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12)}.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-extended-fab{border-radius:24px;padding-left:20px;padding-right:20px;width:auto;max-width:100%;height:48px;line-height:normal}.mat-mdc-extended-fab .mdc-fab__ripple{border-radius:24px}.mat-mdc-extended-fab .mdc-fab__icon{margin-left:calc(12px - 20px);margin-right:12px}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__icon[dir=rtl]{margin-left:12px;margin-right:calc(12px - 20px)}.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon{margin-left:12px;margin-right:calc(12px - 20px)}[dir=rtl] .mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon,.mat-mdc-extended-fab .mdc-fab__label+.mdc-fab__icon[dir=rtl]{margin-left:calc(12px - 20px);margin-right:12px}.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 .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}.mat-mdc-extended-fab .mat-mdc-button-touch-target{width:100%}'],encapsulation:2,changeDetection:0}),b})(),k=(()=>{class b extends ee{constructor(z,W,Oe,it){super(z,W,Oe,it)}}return b.\u0275fac=function(z){return new(z||b)(e.Y36(e.SBq),e.Y36(t.t4),e.Y36(e.R0b),e.Y36(e.QbO,8))},b.\u0275cmp=e.Xpm({type:b,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(z,W){2&z&&(e.uIk("disabled",W.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===W._animationMode)("mat-unthemed",!W.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:I,ngContentSelectors:P,decls:5,vars:3,consts:[[1,"mat-mdc-button-persistent-ripple","mdc-icon-button__ripple"],[1,"mat-mdc-focus-indicator"],["matRipple","",1,"mat-mdc-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-button-touch-target"]],template:function(z,W){1&z&&(e.F$t(),e._UZ(0,"span",0),e.Hsn(1),e._UZ(2,"span",1)(3,"span",2)(4,"span",3)),2&z&&(e.xp6(3),e.Q6J("matRippleDisabled",W._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",W._elementRef.nativeElement))},dependencies:[A.wG],styles:['.mdc-icon-button{font-size:24px;width:48px;height:48px;padding:12px}.mdc-icon-button .mdc-icon-button__focus-ring{max-height:48px;max-width:48px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:40px;height:40px;margin-top:4px;margin-bottom:4px;margin-right:4px;margin-left:4px}.mdc-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:40px;max-width:40px}.mdc-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mdc-icon-button svg,.mdc-icon-button img{width:24px;height:24px}.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{height:var(--mdc-icon-button-state-layer-size, 48px);width:var(--mdc-icon-button-state-layer-size, 48px);color:var(--mdc-icon-button-icon-color, inherit);border-radius:50%;flex-shrink:0;text-align:center;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-icon-button .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button svg,.mat-mdc-icon-button img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-icon-button:disabled{opacity:var(--mdc-icon-button-disabled-icon-opacity, 0.38)}.mat-mdc-icon-button:disabled{color:var(--mdc-icon-button-disabled-icon-color, #000)}.mat-mdc-icon-button svg{vertical-align:baseline}.mat-mdc-icon-button[disabled]{cursor:default;pointer-events:none;opacity:1}.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-persistent-ripple::before{content:"";opacity:0;background-color:var(--mat-mdc-button-persistent-ripple-color)}.mat-mdc-icon-button .mat-ripple-element{background-color:var(--mat-mdc-button-ripple-color)}.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-mdc-button-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.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}),b})(),n=(()=>{class b{}return b.\u0275fac=function(z){return new(z||b)},b.\u0275mod=e.oAB({type:b}),b.\u0275inj=e.cJS({imports:[A.BQ,A.si,A.BQ]}),b})()},3546:(Ge,Q,m)=>{"use strict";m.d(Q,{$j:()=>P,QW:()=>se,a8:()=>M,dk:()=>Z,dn:()=>I,n5:()=>w});var t=m(4650),e=m(6895),g=m(3238);const A=["*"],u=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],O=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],d=new t.OlP("MAT_CARD_CONFIG");let M=(()=>{class he{constructor(i){this.appearance=i?.appearance||"raised"}}return he.\u0275fac=function(i){return new(i||he)(t.Y36(d,8))},he.\u0275cmp=t.Xpm({type:he,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,r){2&i&&t.ekj("mat-mdc-card-outlined","outlined"===r.appearance)("mdc-card--outlined","outlined"===r.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:A,decls:1,vars:0,template:function(i,r){1&i&&(t.F$t(),t.Hsn(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{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}.mat-mdc-card{position:relative;border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px));background-color:var(--mdc-elevated-card-container-color, transparent);border-width:0;border-style:solid;border-color:var(--mdc-elevated-card-container-color, transparent)}.mat-mdc-card .mdc-card::after{border-radius:var(--mdc-elevated-card-container-shape, var(--mdc-shape-medium, 4px))}.mat-mdc-card-outlined{border-width:var(--mdc-outlined-card-outline-width, 1px);border-style:solid;border-color:var(--mdc-outlined-card-outline-color, transparent)}.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}),he})(),w=(()=>{class he{}return he.\u0275fac=function(i){return new(i||he)},he.\u0275dir=t.lG2({type:he,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),he})(),I=(()=>{class he{}return he.\u0275fac=function(i){return new(i||he)},he.\u0275dir=t.lG2({type:he,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),he})(),P=(()=>{class he{}return he.\u0275fac=function(i){return new(i||he)},he.\u0275dir=t.lG2({type:he,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]}),he})(),Z=(()=>{class he{}return he.\u0275fac=function(i){return new(i||he)},he.\u0275cmp=t.Xpm({type:he,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],ngContentSelectors:O,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,r){1&i&&(t.F$t(u),t.Hsn(0),t.TgZ(1,"div",0),t.Hsn(2,1),t.qZA(),t.Hsn(3,2))},encapsulation:2,changeDetection:0}),he})(),se=(()=>{class he{}return he.\u0275fac=function(i){return new(i||he)},he.\u0275mod=t.oAB({type:he}),he.\u0275inj=t.cJS({imports:[g.BQ,e.ez,g.BQ]}),he})()},6709:(Ge,Q,m)=>{"use strict";m.d(Q,{oG:()=>Z,p9:()=>ee});var t=m(4650),e=m(4006),g=m(3238),A=m(1281);const o=["input"],C=["label"],u=["*"],O=new t.OlP("mat-checkbox-default-options",{providedIn:"root",factory:d});function d(){return{color:"accent",clickAction:"check-indeterminate"}}const M={provide:e.JU,useExisting:(0,t.Gpc)(()=>Z),multi:!0};class w{}let L=0;const I=d(),P=(0,g.sb)((0,g.pj)((0,g.Kr)((0,g.Id)(class{constructor(ue){this._elementRef=ue}}))));let U=(()=>{class ue extends P{constructor(ie,ce,se,he,E,i,r){super(ce),this._changeDetectorRef=se,this._ngZone=he,this._animationMode=i,this._options=r,this.ariaLabel="",this.ariaLabelledby=null,this.labelPosition="after",this.name=null,this.change=new t.vpe,this.indeterminateChange=new t.vpe,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||I,this.color=this.defaultColor=this._options.color||I.color,this.tabIndex=parseInt(E)||0,this.id=this._uniqueId=`${ie}${++L}`}get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(ie){this._required=(0,A.Ig)(ie)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(ie){const ce=(0,A.Ig)(ie);ce!=this.checked&&(this._checked=ce,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ie){const ce=(0,A.Ig)(ie);ce!==this.disabled&&(this._disabled=ce,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(ie){const ce=ie!=this._indeterminate;this._indeterminate=(0,A.Ig)(ie),ce&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),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}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(ie){let ce=this._currentCheckState,se=this._getAnimationTargetElement();if(ce!==ie&&se&&(this._currentAnimationClass&&se.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ce,ie),this._currentCheckState=ie,this._currentAnimationClass.length>0)){se.classList.add(this._currentAnimationClass);const he=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{se.classList.remove(he)},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?1:2),this._emitChangeEvent())}_onInteractionEvent(ie){ie.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(ie,ce){if("NoopAnimations"===this._animationMode)return"";switch(ie){case 0:if(1===ce)return this._animationClasses.uncheckedToChecked;if(3==ce)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===ce?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===ce?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===ce?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(ie){const ce=this._inputElement;ce&&(ce.nativeElement.indeterminate=ie)}}return ue.\u0275fac=function(ie){t.$Z()},ue.\u0275dir=t.lG2({type:ue,viewQuery:function(ie,ce){if(1&ie&&(t.Gf(o,5),t.Gf(C,5),t.Gf(g.wG,5)),2&ie){let se;t.iGM(se=t.CRH())&&(ce._inputElement=se.first),t.iGM(se=t.CRH())&&(ce._labelElement=se.first),t.iGM(se=t.CRH())&&(ce.ripple=se.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[t.qOj]}),ue})(),Z=(()=>{class ue extends U{constructor(ie,ce,se,he,E,i){super("mat-mdc-checkbox-",ie,ce,se,he,E,i),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"}}focus(){this._inputElement.nativeElement.focus()}_createChangeEvent(ie){const ce=new w;return ce.source=this,ce.checked=ie,ce}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_preventBubblingFromLabel(ie){ie.target&&this._labelElement.nativeElement.contains(ie.target)&&ie.stopPropagation()}}return ue.\u0275fac=function(ie){return new(ie||ue)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.$8M("tabindex"),t.Y36(t.QbO,8),t.Y36(O,8))},ue.\u0275cmp=t.Xpm({type:ue,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(ie,ce){2&ie&&(t.Ikx("id",ce.id),t.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),t.ekj("_mat-animation-noopable","NoopAnimations"===ce._animationMode)("mdc-checkbox--disabled",ce.disabled)("mat-mdc-checkbox-disabled",ce.disabled)("mat-mdc-checkbox-checked",ce.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[t._Bn([M]),t.qOj],ngContentSelectors:u,decls:15,vars:19,consts:[[1,"mdc-form-field",3,"click"],[1,"mdc-checkbox"],["checkbox",""],[1,"mat-mdc-checkbox-touch-target",3,"click"],["type","checkbox",1,"mdc-checkbox__native-control",3,"checked","disabled","id","required","tabIndex","blur","click","change"],["input",""],[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"],[3,"for"],["label",""]],template:function(ie,ce){if(1&ie&&(t.F$t(),t.TgZ(0,"div",0),t.NdJ("click",function(he){return ce._preventBubblingFromLabel(he)}),t.TgZ(1,"div",1,2)(3,"div",3),t.NdJ("click",function(){return ce._onInputClick()}),t.qZA(),t.TgZ(4,"input",4,5),t.NdJ("blur",function(){return ce._onBlur()})("click",function(){return ce._onInputClick()})("change",function(he){return ce._onInteractionEvent(he)}),t.qZA(),t._UZ(6,"div",6),t.TgZ(7,"div",7),t.O4$(),t.TgZ(8,"svg",8),t._UZ(9,"path",9),t.qZA(),t.kcU(),t._UZ(10,"div",10),t.qZA(),t._UZ(11,"div",11),t.qZA(),t.TgZ(12,"label",12,13),t.Hsn(14),t.qZA()()),2&ie){const se=t.MAs(2);t.ekj("mdc-form-field--align-end","before"==ce.labelPosition),t.xp6(4),t.ekj("mdc-checkbox--selected",ce.checked),t.Q6J("checked",ce.checked)("disabled",ce.disabled)("id",ce.inputId)("required",ce.required)("tabIndex",ce.tabIndex),t.uIk("aria-checked",ce._getAriaChecked())("aria-label",ce.ariaLabel||null)("aria-labelledby",ce.ariaLabelledby)("aria-describedby",ce.ariaDescribedby)("name",ce.name)("value",ce.value),t.xp6(7),t.Q6J("matRippleTrigger",se)("matRippleDisabled",ce.disableRipple||ce.disabled)("matRippleCentered",!0),t.xp6(1),t.Q6J("for",ce.inputId)}},dependencies:[g.wG],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, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.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-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}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .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, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .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, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .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, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .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, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .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, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .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, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .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-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .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-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.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}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.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-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),ue})(),X=(()=>{class ue{}return ue.\u0275fac=function(ie){return new(ie||ue)},ue.\u0275mod=t.oAB({type:ue}),ue.\u0275inj=t.cJS({}),ue})(),ee=(()=>{class ue{}return ue.\u0275fac=function(ie){return new(ie||ue)},ue.\u0275mod=t.oAB({type:ue}),ue.\u0275inj=t.cJS({imports:[g.BQ,g.si,X,g.BQ,X]}),ue})()},7331:(Ge,Q,m)=>{"use strict";m.d(Q,{HS:()=>Se,Hi:()=>vt});var t=m(1281),e=m(4650),g=m(6895),A=m(3238),o=m(4761),C=m(7579),O=(m(6451),m(5698)),L=(m(2722),m(8675),m(3900),m(9521));function Z(ne,Ht){1&ne&&(e.TgZ(0,"span",8),e.Hsn(1,1),e.qZA())}function Y(ne,Ht){1&ne&&(e.TgZ(0,"span",9),e.Hsn(1,2),e.qZA())}m(445),m(4006),m(9549);const j=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],X=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],v=new e.OlP("mat-chips-default-options"),n=new e.OlP("MatChipAvatar"),b=new e.OlP("MatChipTrailingIcon"),B=new e.OlP("MatChipRemove"),z=new e.OlP("MatChip");class W{}const Oe=(0,A.sb)(W,-1);let it=(()=>{class ne extends Oe{constructor(De,ze){super(),this._elementRef=De,this._parentChip=ze,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===De.nativeElement.nodeName&&De.nativeElement.setAttribute("type","button")}get disabled(){return this._disabled||this._parentChip.disabled}set disabled(De){this._disabled=(0,t.Ig)(De)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}focus(){this._elementRef.nativeElement.focus()}_handleClick(De){!this.disabled&&this.isInteractive&&this._isPrimary&&(De.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(De){(De.keyCode===L.K5||De.keyCode===L.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&(De.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return ne.\u0275fac=function(De){return new(De||ne)(e.Y36(e.SBq),e.Y36(z))},ne.\u0275dir=e.lG2({type:ne,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(De,ze){1&De&&e.NdJ("click",function(Re){return ze._handleClick(Re)})("keydown",function(Re){return ze._handleKeydown(Re)}),2&De&&(e.uIk("tabindex",ze._getTabindex())("disabled",ze._getDisabledAttribute())("aria-disabled",ze.disabled),e.ekj("mdc-evolution-chip__action--primary",ze._isPrimary)("mdc-evolution-chip__action--presentational",!ze.isInteractive)("mdc-evolution-chip__action--trailing",!ze._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[e.qOj]}),ne})(),ve=0;const fe=(0,A.sb)((0,A.pj)((0,A.Kr)((0,A.Id)(class{constructor(ne){this._elementRef=ne}})),"primary"),-1);let Se=(()=>{class ne extends fe{constructor(De,ze,wt,Re,tt,Bt,It,zt){super(ze),this._changeDetectorRef=De,this._ngZone=wt,this._focusMonitor=Re,this._globalRippleOptions=It,this._isRippleCentered=!1,this._onFocus=new C.x,this._onBlur=new C.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+ve++,this.ariaLabel=null,this._removable=!0,this._highlighted=!1,this.removed=new e.vpe,this.destroyed=new e.vpe,this.basicChipAttrName="mat-basic-chip";const xt=ze.nativeElement;this._document=tt,this._animationsDisabled="NoopAnimations"===Bt,this._isBasicChip=xt.hasAttribute(this.basicChipAttrName)||xt.tagName.toLowerCase()===this.basicChipAttrName,null!=zt&&(this.tabIndex=parseInt(zt)??this.defaultTabIndex),this._monitorFocus()}_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(De){this._value=De}get removable(){return this._removable}set removable(De){this._removable=(0,t.Ig)(De)}get highlighted(){return this._highlighted}set highlighted(De){this._highlighted=(0,t.Ig)(De)}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),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(De){(De.keyCode===L.ZH||De.keyCode===L.yY)&&(De.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(De){return this._getActions().find(ze=>{const wt=ze._elementRef.nativeElement;return wt===De||wt.contains(De)})}_getActions(){const De=[];return this.primaryAction&&De.push(this.primaryAction),this.removeIcon&&De.push(this.removeIcon),this.trailingIcon&&De.push(this.trailingIcon),De}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(De=>{const ze=null!==De;ze!==this._hasFocusInternal&&(this._hasFocusInternal=ze,ze?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,O.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return ne.\u0275fac=function(De){return new(De||ne)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(o.tE),e.Y36(g.K0),e.Y36(e.QbO,8),e.Y36(A.Y2,8),e.$8M("tabindex"))},ne.\u0275cmp=e.Xpm({type:ne,selectors:[["mat-basic-chip"],["mat-chip"]],contentQueries:function(De,ze,wt){if(1&De&&(e.Suo(wt,n,5),e.Suo(wt,b,5),e.Suo(wt,B,5)),2&De){let Re;e.iGM(Re=e.CRH())&&(ze.leadingIcon=Re.first),e.iGM(Re=e.CRH())&&(ze.trailingIcon=Re.first),e.iGM(Re=e.CRH())&&(ze.removeIcon=Re.first)}},viewQuery:function(De,ze){if(1&De&&(e.Gf(A.wG,5),e.Gf(it,5)),2&De){let wt;e.iGM(wt=e.CRH())&&(ze.ripple=wt.first),e.iGM(wt=e.CRH())&&(ze.primaryAction=wt.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(De,ze){1&De&&e.NdJ("keydown",function(Re){return ze._handleKeydown(Re)}),2&De&&(e.Ikx("id",ze.id),e.uIk("role",ze.role)("tabindex",ze.role?ze.tabIndex:null)("aria-label",ze.ariaLabel),e.ekj("mdc-evolution-chip",!ze._isBasicChip)("mdc-evolution-chip--disabled",ze.disabled)("mdc-evolution-chip--with-trailing-action",ze._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",ze.leadingIcon)("mdc-evolution-chip--with-primary-icon",ze.leadingIcon)("mdc-evolution-chip--with-avatar",ze.leadingIcon)("mat-mdc-chip-with-avatar",ze.leadingIcon)("mat-mdc-chip-highlighted",ze.highlighted)("mat-mdc-chip-disabled",ze.disabled)("mat-mdc-basic-chip",ze._isBasicChip)("mat-mdc-standard-chip",!ze._isBasicChip)("mat-mdc-chip-with-trailing-icon",ze._hasTrailingIcon())("_mat-animation-noopable",ze._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[e._Bn([{provide:z,useExisting:ne}]),e.qOj],ngContentSelectors:X,decls:9,vars:6,consts:[["matRipple","",1,"mat-mdc-chip-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-mdc-chip-focus-overlay"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--primary"],["matChipAction","",3,"isInteractive"],["class","mdc-evolution-chip__graphic mat-mdc-chip-graphic",4,"ngIf"],[1,"mdc-evolution-chip__text-label","mat-mdc-chip-action-label"],[1,"mat-mdc-chip-primary-focus-indicator","mat-mdc-focus-indicator"],["class","mdc-evolution-chip__cell mdc-evolution-chip__cell--trailing",4,"ngIf"],[1,"mdc-evolution-chip__graphic","mat-mdc-chip-graphic"],[1,"mdc-evolution-chip__cell","mdc-evolution-chip__cell--trailing"]],template:function(De,ze){1&De&&(e.F$t(j),e._UZ(0,"span",0)(1,"span",1),e.TgZ(2,"span",2)(3,"div",3),e.YNc(4,Z,2,0,"span",4),e.TgZ(5,"span",5),e.Hsn(6),e._UZ(7,"span",6),e.qZA()()(),e.YNc(8,Y,2,0,"span",7)),2&De&&(e.Q6J("matRippleDisabled",ze._isRippleDisabled())("matRippleCentered",ze._isRippleCentered)("matRippleTrigger",ze._elementRef.nativeElement),e.xp6(3),e.Q6J("isInteractive",!1),e.xp6(1),e.Q6J("ngIf",ze.leadingIcon),e.xp6(4),e.Q6J("ngIf",ze._hasTrailingIcon()))},dependencies:[g.O5,A.wG,it],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 .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}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.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}.mdc-evolution-chip--with-avatar.mdc-evolution-chip--selectable:not(.mdc-evolution-chip--with-primary-icon){--mdc-chip-graphic-selected-width:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__graphic{height:24px;width:24px;font-size:24px}.mdc-evolution-chip--with-avatar .mdc-evolution-chip__icon--primary{height:24px;width:24px;font-size:24px}.mat-mdc-standard-chip{-webkit-tap-highlight-color:rgba(0,0,0,0);border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px);height:var(--mdc-chip-container-height, 32px)}.mat-mdc-standard-chip .mdc-evolution-chip__ripple{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-radius:var(--mdc-chip-container-shape-radius, 16px 16px 16px 16px)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{border-radius:var(--mdc-chip-with-avatar-avatar-shape-radius, 14px 14px 14px 14px)}.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, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__graphic{height:var(--mdc-chip-with-avatar-avatar-size, 28px);width:var(--mdc-chip-with-avatar-avatar-size, 28px);font-size:var(--mdc-chip-with-avatar-avatar-size, 28px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-outline-width, 1px)}.mat-mdc-standard-chip .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-outline-width, 1px)}.mat-mdc-standard-chip.mdc-evolution-chip--selected .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-selected-outline-width, 0)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--selected) .mdc-evolution-chip__action--primary:before{border-width:var(--mdc-chip-flat-unselected-outline-width, 1px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled){background-color:var(--mdc-chip-elevated-container-color, transparent)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled{background-color:var(--mdc-chip-elevated-disabled-container-color, transparent)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__text-label{color:var(--mdc-chip-label-text-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__text-label{color:var(--mdc-chip-disabled-label-text-color, currentColor)}.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, currentColor)}.mat-mdc-standard-chip .mdc-evolution-chip__icon--primary{height:var(--mdc-chip-with-icon-icon-size, 18px);width:var(--mdc-chip-with-icon-icon-size, 18px);font-size:var(--mdc-chip-with-icon-icon-size, 18px)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--primary{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-selected-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__checkmark{color:var(--mdc-chip-with-icon-disabled-icon-color, currentColor)}.mat-mdc-standard-chip:not(.mdc-evolution-chip--disabled) .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-trailing-icon-color, currentColor)}.mat-mdc-standard-chip.mdc-evolution-chip--disabled .mdc-evolution-chip__icon--trailing{color:var(--mdc-chip-with-trailing-icon-disabled-trailing-icon-color, currentColor)}.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--disabled{opacity:.4}.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{width: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-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:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.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}.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{opacity:.54}.mat-mdc-chip-remove:focus{opacity: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 .mat-icon{width:inherit;height:inherit;font-size:inherit;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}),ne})(),vt=(()=>{class ne{}return ne.\u0275fac=function(De){return new(De||ne)},ne.\u0275mod=e.oAB({type:ne}),ne.\u0275inj=e.cJS({providers:[A.rD,{provide:v,useValue:{separatorKeyCodes:[L.K5]}}],imports:[A.BQ,g.ez,A.si,A.BQ]}),ne})()},3238:(Ge,Q,m)=>{"use strict";m.d(Q,{yN:()=>X,mZ:()=>ee,_A:()=>v,rD:()=>ot,sG:()=>n,Ad:()=>S,K7:()=>Ht,HF:()=>nt,Y2:()=>xe,BQ:()=>ie,uc:()=>Se,XK:()=>it,ey:()=>tt,Ng:()=>zt,rN:()=>wt,us:()=>ct,wG:()=>ke,si:()=>ft,LF:()=>z,IR:()=>q,CB:()=>Bt,jH:()=>It,pj:()=>i,Kr:()=>r,Id:()=>E,FD:()=>c,dB:()=>y,sb:()=>h});var t=m(4650),e=m(4761),g=m(445),o=m(6895),C=m(3353),u=m(1281),O=m(9751),d=m(7579),M=m(9521);const I=["text"];function P(xt,we){if(1&xt&&t._UZ(0,"mat-pseudo-checkbox",5),2&xt){const J=t.oxw();t.Q6J("state",J.selected?"checked":"unchecked")("disabled",J.disabled)}}function U(xt,we){if(1&xt&&(t.TgZ(0,"span",6),t._uU(1),t.qZA()),2&xt){const J=t.oxw();t.xp6(1),t.hij("(",J.group.label,")")}}const Z=[[["mat-icon"]],"*"],Y=["mat-icon","*"];let X=(()=>{class xt{}return xt.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",xt.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",xt.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",xt.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",xt})(),ee=(()=>{class xt{}return xt.COMPLEX="375ms",xt.ENTERING="225ms",xt.EXITING="195ms",xt})();const le=new t.OlP("mat-sanity-checks",{providedIn:"root",factory:function ue(){return!0}});let ie=(()=>{class xt{constructor(J,be,Fe){this._sanityChecks=be,this._document=Fe,this._hasDoneGlobalChecks=!1,J._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(J){return!(0,C.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[J])}}return xt.\u0275fac=function(J){return new(J||xt)(t.LFG(e.qm),t.LFG(le,8),t.LFG(o.K0))},xt.\u0275mod=t.oAB({type:xt}),xt.\u0275inj=t.cJS({imports:[g.vT,g.vT]}),xt})();function E(xt){return class extends xt{constructor(...we){super(...we),this._disabled=!1}get disabled(){return this._disabled}set disabled(we){this._disabled=(0,u.Ig)(we)}}}function i(xt,we){return class extends xt{constructor(...J){super(...J),this.defaultColor=we,this.color=we}get color(){return this._color}set color(J){const be=J||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}}}function r(xt){return class extends xt{constructor(...we){super(...we),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(we){this._disableRipple=(0,u.Ig)(we)}}}function h(xt,we=0){return class extends xt{constructor(...J){super(...J),this._tabIndex=we,this.defaultTabIndex=we}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(J){this._tabIndex=null!=J?(0,u.su)(J):this.defaultTabIndex}}}function c(xt){return class extends xt{constructor(...we){super(...we),this.errorState=!1}updateErrorState(){const we=this.errorState,at=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);at!==we&&(this.errorState=at,this.stateChanges.next())}}}function y(xt){return class extends xt{constructor(...we){super(...we),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new O.y(J=>{this._isInitialized?this._notifySubscriber(J):this._pendingSubscribers.push(J)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(we){we.next(),we.complete()}}}const S=new t.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function k(){return(0,t.f3M)(t.soG)}});class v{constructor(){this._localeChanges=new d.x,this.localeChanges=this._localeChanges}getValidDateOrNull(we){return this.isDateInstance(we)&&this.isValid(we)?we:null}deserialize(we){return null==we||this.isDateInstance(we)&&this.isValid(we)?we:this.invalid()}setLocale(we){this.locale=we,this._localeChanges.next()}compareDate(we,J){return this.getYear(we)-this.getYear(J)||this.getMonth(we)-this.getMonth(J)||this.getDate(we)-this.getDate(J)}sameDate(we,J){if(we&&J){let be=this.isValid(we),Fe=this.isValid(J);return be&&Fe?!this.compareDate(we,J):be==Fe}return we==J}clampDate(we,J,be){return J&&this.compareDate(we,J)<0?J:be&&this.compareDate(we,be)>0?be:we}}const n=new t.OlP("mat-date-formats"),b=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function B(xt,we){const J=Array(xt);for(let be=0;be<xt;be++)J[be]=we(be);return J}let z=(()=>{class xt extends v{constructor(J,be){super(),this.useUtcForDisplay=!1,super.setLocale(J)}getYear(J){return J.getFullYear()}getMonth(J){return J.getMonth()}getDate(J){return J.getDate()}getDayOfWeek(J){return J.getDay()}getMonthNames(J){const be=new Intl.DateTimeFormat(this.locale,{month:J,timeZone:"utc"});return B(12,Fe=>this._format(be,new Date(2017,Fe,1)))}getDateNames(){const J=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return B(31,be=>this._format(J,new Date(2017,0,be+1)))}getDayOfWeekNames(J){const be=new Intl.DateTimeFormat(this.locale,{weekday:J,timeZone:"utc"});return B(7,Fe=>this._format(be,new Date(2017,0,Fe+1)))}getYearName(J){const be=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(be,J)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(J){return this.getDate(this._createDateWithOverflow(this.getYear(J),this.getMonth(J)+1,0))}clone(J){return new Date(J.getTime())}createDate(J,be,Fe){let at=this._createDateWithOverflow(J,be,Fe);return at.getMonth(),at}today(){return new Date}parse(J,be){return"number"==typeof J?new Date(J):J?new Date(Date.parse(J)):null}format(J,be){if(!this.isValid(J))throw Error("NativeDateAdapter: Cannot format invalid date.");const Fe=new Intl.DateTimeFormat(this.locale,{...be,timeZone:"utc"});return this._format(Fe,J)}addCalendarYears(J,be){return this.addCalendarMonths(J,12*be)}addCalendarMonths(J,be){let Fe=this._createDateWithOverflow(this.getYear(J),this.getMonth(J)+be,this.getDate(J));return this.getMonth(Fe)!=((this.getMonth(J)+be)%12+12)%12&&(Fe=this._createDateWithOverflow(this.getYear(Fe),this.getMonth(Fe),0)),Fe}addCalendarDays(J,be){return this._createDateWithOverflow(this.getYear(J),this.getMonth(J),this.getDate(J)+be)}toIso8601(J){return[J.getUTCFullYear(),this._2digit(J.getUTCMonth()+1),this._2digit(J.getUTCDate())].join("-")}deserialize(J){if("string"==typeof J){if(!J)return null;if(b.test(J)){let be=new Date(J);if(this.isValid(be))return be}}return super.deserialize(J)}isDateInstance(J){return J instanceof Date}isValid(J){return!isNaN(J.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(J,be,Fe){const at=new Date;return at.setFullYear(J,be,Fe),at.setHours(0,0,0,0),at}_2digit(J){return("00"+J).slice(-2)}_format(J,be){const Fe=new Date;return Fe.setUTCFullYear(be.getFullYear(),be.getMonth(),be.getDate()),Fe.setUTCHours(be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()),J.format(Fe)}}return xt.\u0275fac=function(J){return new(J||xt)(t.LFG(S,8),t.LFG(C.t4))},xt.\u0275prov=t.Yz7({token:xt,factory:xt.\u0275fac}),xt})();const W={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}};let Oe=(()=>{class xt{}return xt.\u0275fac=function(J){return new(J||xt)},xt.\u0275mod=t.oAB({type:xt}),xt.\u0275inj=t.cJS({providers:[{provide:v,useClass:z}]}),xt})(),it=(()=>{class xt{}return xt.\u0275fac=function(J){return new(J||xt)},xt.\u0275mod=t.oAB({type:xt}),xt.\u0275inj=t.cJS({providers:[{provide:n,useValue:W}],imports:[Oe]}),xt})(),ot=(()=>{class xt{isErrorState(J,be){return!!(J&&J.invalid&&(J.touched||be&&be.submitted))}}return xt.\u0275fac=function(J){return new(J||xt)},xt.\u0275prov=t.Yz7({token:xt,factory:xt.\u0275fac,providedIn:"root"}),xt})(),Se=(()=>{class xt{}return xt.\u0275fac=function(J){return new(J||xt)},xt.\u0275mod=t.oAB({type:xt}),xt.\u0275inj=t.cJS({imports:[ie,ie]}),xt})();class te{constructor(we,J,be,Fe=!1){this._renderer=we,this.element=J,this.config=be,this._animationForciblyDisabledThroughCss=Fe,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ke=(0,C.i$)({passive:!0,capture:!0});class Ae{constructor(){this._events=new Map,this._delegateEventHandler=we=>{const J=(0,C.sA)(we);J&&this._events.get(we.type)?.forEach((be,Fe)=>{(Fe===J||Fe.contains(J))&&be.forEach(at=>at.handleEvent(we))})}}addHandler(we,J,be,Fe){const at=this._events.get(J);if(at){const ii=at.get(be);ii?ii.add(Fe):at.set(be,new Set([Fe]))}else this._events.set(J,new Map([[be,new Set([Fe])]])),we.runOutsideAngular(()=>{document.addEventListener(J,this._delegateEventHandler,Ke)})}removeHandler(we,J,be){const Fe=this._events.get(we);if(!Fe)return;const at=Fe.get(J);!at||(at.delete(be),0===at.size&&Fe.delete(J),0===Fe.size&&(this._events.delete(we),document.removeEventListener(we,this._delegateEventHandler,Ke)))}}const oe={enterDuration:225,exitDuration:150},me=(0,C.i$)({passive:!0,capture:!0}),Me=["mousedown","touchstart"],Ze=["mouseup","mouseleave","touchend","touchcancel"];class q{constructor(we,J,be,Fe){this._target=we,this._ngZone=J,this._platform=Fe,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Fe.isBrowser&&(this._containerElement=(0,u.fI)(be))}fadeInRipple(we,J,be={}){const Fe=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),at={...oe,...be.animation};be.centered&&(we=Fe.left+Fe.width/2,J=Fe.top+Fe.height/2);const ii=be.radius||function de(xt,we,J){const be=Math.max(Math.abs(xt-J.left),Math.abs(xt-J.right)),Fe=Math.max(Math.abs(we-J.top),Math.abs(we-J.bottom));return Math.sqrt(be*be+Fe*Fe)}(we,J,Fe),Gt=we-Fe.left,ei=J-Fe.top,ht=at.enterDuration,rt=document.createElement("div");rt.classList.add("mat-ripple-element"),rt.style.left=Gt-ii+"px",rt.style.top=ei-ii+"px",rt.style.height=2*ii+"px",rt.style.width=2*ii+"px",null!=be.color&&(rt.style.backgroundColor=be.color),rt.style.transitionDuration=`${ht}ms`,this._containerElement.appendChild(rt);const yt=window.getComputedStyle(rt),Ut=yt.transitionDuration,Vt="none"===yt.transitionProperty||"0s"===Ut||"0s, 0s"===Ut||0===Fe.width&&0===Fe.height,Ft=new te(this,rt,be,Vt);rt.style.transform="scale3d(1, 1, 1)",Ft.state=0,be.persistent||(this._mostRecentTransientRipple=Ft);let Qe=null;return!Vt&&(ht||at.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Ve=()=>this._finishRippleTransition(Ft),je=()=>this._destroyRipple(Ft);rt.addEventListener("transitionend",Ve),rt.addEventListener("transitioncancel",je),Qe={onTransitionEnd:Ve,onTransitionCancel:je}}),this._activeRipples.set(Ft,Qe),(Vt||!ht)&&this._finishRippleTransition(Ft),Ft}fadeOutRipple(we){if(2===we.state||3===we.state)return;const J=we.element,be={...oe,...we.config.animation};J.style.transitionDuration=`${be.exitDuration}ms`,J.style.opacity="0",we.state=2,(we._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(we)}fadeOutAll(){this._getActiveRipples().forEach(we=>we.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(we=>{we.config.persistent||we.fadeOut()})}setupTriggerEvents(we){const J=(0,u.fI)(we);!this._platform.isBrowser||!J||J===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=J,Me.forEach(be=>{q._eventManager.addHandler(this._ngZone,be,J,this)}))}handleEvent(we){"mousedown"===we.type?this._onMousedown(we):"touchstart"===we.type?this._onTouchStart(we):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ze.forEach(J=>{this._triggerElement.addEventListener(J,this,me)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(we){0===we.state?this._startFadeOutTransition(we):2===we.state&&this._destroyRipple(we)}_startFadeOutTransition(we){const J=we===this._mostRecentTransientRipple,{persistent:be}=we.config;we.state=1,!be&&(!J||!this._isPointerDown)&&we.fadeOut()}_destroyRipple(we){const J=this._activeRipples.get(we)??null;this._activeRipples.delete(we),this._activeRipples.size||(this._containerRect=null),we===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),we.state=3,null!==J&&(we.element.removeEventListener("transitionend",J.onTransitionEnd),we.element.removeEventListener("transitioncancel",J.onTransitionCancel)),we.element.remove()}_onMousedown(we){const J=(0,e.X6)(we),be=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!J&&!be&&(this._isPointerDown=!0,this.fadeInRipple(we.clientX,we.clientY,this._target.rippleConfig))}_onTouchStart(we){if(!this._target.rippleDisabled&&!(0,e.yG)(we)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const J=we.changedTouches;for(let be=0;be<J.length;be++)this.fadeInRipple(J[be].clientX,J[be].clientY,this._target.rippleConfig)}}_onPointerUp(){!this._isPointerDown||(this._isPointerDown=!1,this._getActiveRipples().forEach(we=>{!we.config.persistent&&(1===we.state||we.config.terminateOnPointerUp&&0===we.state)&&we.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const we=this._triggerElement;we&&(Me.forEach(J=>q._eventManager.removeHandler(J,we,this)),this._pointerUpEventsRegistered&&Ze.forEach(J=>we.removeEventListener(J,this,me)))}}q._eventManager=new Ae;const xe=new t.OlP("mat-ripple-global-options");let ke=(()=>{class xt{constructor(J,be,Fe,at,ii){this._elementRef=J,this._animationMode=ii,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=at||{},this._rippleRenderer=new q(this,be,J,Fe)}get disabled(){return this._disabled}set disabled(J){J&&this.fadeOutAllNonPersistent(),this._disabled=J,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(J){this._trigger=J,this._setupTriggerEventsIfEnabled()}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(J,be=0,Fe){return"number"==typeof J?this._rippleRenderer.fadeInRipple(J,be,{...this.rippleConfig,...Fe}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...J})}}return xt.\u0275fac=function(J){return new(J||xt)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(C.t4),t.Y36(xe,8),t.Y36(t.QbO,8))},xt.\u0275dir=t.lG2({type:xt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(J,be){2&J&&t.ekj("mat-ripple-unbounded",be.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),xt})(),ft=(()=>{class xt{}return xt.\u0275fac=function(J){return new(J||xt)},xt.\u0275mod=t.oAB({type:xt}),xt.\u0275inj=t.cJS({imports:[ie,ie]}),xt})(),_t=(()=>{class xt{constructor(J){this._animationMode=J,this.state="unchecked",this.disabled=!1}}return xt.\u0275fac=function(J){return new(J||xt)(t.Y36(t.QbO,8))},xt.\u0275cmp=t.Xpm({type:xt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(J,be){2&J&&t.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===be.state)("mat-pseudo-checkbox-checked","checked"===be.state)("mat-pseudo-checkbox-disabled",be.disabled)("_mat-animation-noopable","NoopAnimations"===be._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(J,be){},styles:['.mat-pseudo-checkbox{border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.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{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0}),xt})(),ct=(()=>{class xt{}return xt.\u0275fac=function(J){return new(J||xt)},xt.\u0275mod=t.oAB({type:xt}),xt.\u0275inj=t.cJS({imports:[ie]}),xt})();const nt=new t.OlP("MAT_OPTION_PARENT_COMPONENT"),Ht=new t.OlP("MatOptgroup");let ze=0;class wt{constructor(we,J=!1){this.source=we,this.isUserInput=J}}let Re=(()=>{class xt{constructor(J,be,Fe,at){this._element=J,this._changeDetectorRef=be,this._parent=Fe,this.group=at,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+ze++,this.onSelectionChange=new t.vpe,this._stateChanges=new d.x}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(J){this._disabled=(0,u.Ig)(J)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._text?.nativeElement.textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(J,be){const Fe=this._getHostElement();"function"==typeof Fe.focus&&Fe.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(J){(J.keyCode===M.K5||J.keyCode===M.L_)&&!(0,M.Vb)(J)&&(this._selectViaInteraction(),J.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const J=this.viewValue;J!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=J)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(J=!1){this.onSelectionChange.emit(new wt(this,J))}}return xt.\u0275fac=function(J){t.$Z()},xt.\u0275dir=t.lG2({type:xt,viewQuery:function(J,be){if(1&J&&t.Gf(I,7),2&J){let Fe;t.iGM(Fe=t.CRH())&&(be._text=Fe.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),xt})(),tt=(()=>{class xt extends Re{constructor(J,be,Fe,at){super(J,be,Fe,at)}}return xt.\u0275fac=function(J){return new(J||xt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(nt,8),t.Y36(Ht,8))},xt.\u0275cmp=t.Xpm({type:xt,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(J,be){1&J&&t.NdJ("click",function(){return be._selectViaInteraction()})("keydown",function(at){return be._handleKeydown(at)}),2&J&&(t.Ikx("id",be.id),t.uIk("tabindex",be._getTabIndex())("aria-selected",be._getAriaSelected())("aria-disabled",be.disabled.toString()),t.ekj("mdc-list-item--selected",be.selected)("mat-mdc-option-multiple",be.multiple)("mat-mdc-option-active",be.active)("mdc-list-item--disabled",be.disabled))},exportAs:["matOption"],features:[t.qOj],ngContentSelectors:Y,decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(J,be){1&J&&(t.F$t(Z),t.YNc(0,P,1,2,"mat-pseudo-checkbox",0),t.Hsn(1),t.TgZ(2,"span",1,2),t.Hsn(4,1),t.qZA(),t.YNc(5,U,2,1,"span",3),t._UZ(6,"div",4)),2&J&&(t.Q6J("ngIf",be.multiple),t.xp6(5),t.Q6J("ngIf",be.group&&be.group._inert),t.xp6(1),t.Q6J("matRippleTrigger",be._getHostElement())("matRippleDisabled",be.disabled||be.disableRipple))},dependencies:[ke,o.O5,_t],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;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);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.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.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{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.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}.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-active::before{content:""}'],encapsulation:2,changeDetection:0}),xt})();function Bt(xt,we,J){if(J.length){let be=we.toArray(),Fe=J.toArray(),at=0;for(let ii=0;ii<xt+1;ii++)be[ii].group&&be[ii].group===Fe[at]&&at++;return at}return 0}function It(xt,we,J,be){return xt<J?xt:xt+we>J+be?Math.max(0,xt-be+we):J}let zt=(()=>{class xt{}return xt.\u0275fac=function(J){return new(J||xt)},xt.\u0275mod=t.oAB({type:xt}),xt.\u0275inj=t.cJS({imports:[ft,o.ez,ie,ct]}),xt})()},9602:(Ge,Q,m)=>{"use strict";m.d(Q,{FA:()=>Ui,Mq:()=>ei,hl:()=>Vt,nW:()=>Qe});var t=m(4761),e=m(8184),g=m(4080),A=m(6895),o=m(4650),C=m(4859),u=m(531),O=m(3238),d=m(7579),M=m(727),w=m(6451),L=m(9646),I=m(9521),P=m(445),U=m(5698),Z=m(8675),Y=m(9300),j=m(1281),X=m(3353),ee=m(7340),ue=m(4006),le=m(9549),ie=m(4144);const ce=["mat-calendar-body",""];function se(Wt,si){if(1&Wt&&(o.TgZ(0,"tr",3)(1,"td",4),o._uU(2),o.qZA()()),2&Wt){const _e=o.oxw();o.xp6(1),o.Udp("padding-top",_e._cellPadding)("padding-bottom",_e._cellPadding),o.uIk("colspan",_e.numCols),o.xp6(1),o.hij(" ",_e.label," ")}}function he(Wt,si){if(1&Wt&&(o.TgZ(0,"td",4),o._uU(1),o.qZA()),2&Wt){const _e=o.oxw(2);o.Udp("padding-top",_e._cellPadding)("padding-bottom",_e._cellPadding),o.uIk("colspan",_e._firstRowOffset),o.xp6(1),o.hij(" ",_e._firstRowOffset>=_e.labelMinRequiredCells?_e.label:""," ")}}function E(Wt,si){if(1&Wt){const _e=o.EpF();o.TgZ(0,"td",8)(1,"button",9),o.NdJ("click",function(St){const ui=o.CHM(_e).$implicit,Qt=o.oxw(2);return o.KtG(Qt._cellClicked(ui,St))})("focus",function(St){const ui=o.CHM(_e).$implicit,Qt=o.oxw(2);return o.KtG(Qt._emitActiveDateChange(ui,St))}),o.TgZ(2,"div",10),o._uU(3),o.qZA(),o._UZ(4,"div",11),o.qZA()()}if(2&Wt){const _e=si.$implicit,$e=si.index,St=o.oxw().index,mt=o.oxw();o.Udp("width",mt._cellWidth)("padding-top",mt._cellPadding)("padding-bottom",mt._cellPadding),o.uIk("data-mat-row",St)("data-mat-col",$e),o.xp6(1),o.ekj("mat-calendar-body-disabled",!_e.enabled)("mat-calendar-body-active",mt._isActiveCell(St,$e))("mat-calendar-body-range-start",mt._isRangeStart(_e.compareValue))("mat-calendar-body-range-end",mt._isRangeEnd(_e.compareValue))("mat-calendar-body-in-range",mt._isInRange(_e.compareValue))("mat-calendar-body-comparison-bridge-start",mt._isComparisonBridgeStart(_e.compareValue,St,$e))("mat-calendar-body-comparison-bridge-end",mt._isComparisonBridgeEnd(_e.compareValue,St,$e))("mat-calendar-body-comparison-start",mt._isComparisonStart(_e.compareValue))("mat-calendar-body-comparison-end",mt._isComparisonEnd(_e.compareValue))("mat-calendar-body-in-comparison-range",mt._isInComparisonRange(_e.compareValue))("mat-calendar-body-preview-start",mt._isPreviewStart(_e.compareValue))("mat-calendar-body-preview-end",mt._isPreviewEnd(_e.compareValue))("mat-calendar-body-in-preview",mt._isInPreview(_e.compareValue)),o.Q6J("ngClass",_e.cssClasses)("tabindex",mt._isActiveCell(St,$e)?0:-1),o.uIk("aria-label",_e.ariaLabel)("aria-disabled",!_e.enabled||null)("aria-pressed",mt._isSelected(_e.compareValue))("aria-current",mt.todayValue===_e.compareValue?"date":null)("aria-describedby",mt._getDescribedby(_e.compareValue)),o.xp6(1),o.ekj("mat-calendar-body-selected",mt._isSelected(_e.compareValue))("mat-calendar-body-comparison-identical",mt._isComparisonIdentical(_e.compareValue))("mat-calendar-body-today",mt.todayValue===_e.compareValue),o.xp6(1),o.hij(" ",_e.displayValue," ")}}function i(Wt,si){if(1&Wt&&(o.TgZ(0,"tr",5),o.YNc(1,he,2,6,"td",6),o.YNc(2,E,5,48,"td",7),o.qZA()),2&Wt){const _e=si.$implicit,$e=si.index,St=o.oxw();o.xp6(1),o.Q6J("ngIf",0===$e&&St._firstRowOffset),o.xp6(1),o.Q6J("ngForOf",_e)}}function r(Wt,si){if(1&Wt&&(o.TgZ(0,"th",5)(1,"span",6),o._uU(2),o.qZA(),o.TgZ(3,"span",7),o._uU(4),o.qZA()()),2&Wt){const _e=si.$implicit;o.xp6(2),o.Oqu(_e.long),o.xp6(2),o.Oqu(_e.narrow)}}const h=["*"];function c(Wt,si){}function y(Wt,si){if(1&Wt){const _e=o.EpF();o.TgZ(0,"mat-month-view",5),o.NdJ("activeDateChange",function(St){o.CHM(_e);const mt=o.oxw();return o.KtG(mt.activeDate=St)})("_userSelection",function(St){o.CHM(_e);const mt=o.oxw();return o.KtG(mt._dateSelected(St))}),o.qZA()}if(2&Wt){const _e=o.oxw();o.Q6J("activeDate",_e.activeDate)("selected",_e.selected)("dateFilter",_e.dateFilter)("maxDate",_e.maxDate)("minDate",_e.minDate)("dateClass",_e.dateClass)("comparisonStart",_e.comparisonStart)("comparisonEnd",_e.comparisonEnd)("startDateAccessibleName",_e.startDateAccessibleName)("endDateAccessibleName",_e.endDateAccessibleName)}}function S(Wt,si){if(1&Wt){const _e=o.EpF();o.TgZ(0,"mat-year-view",6),o.NdJ("activeDateChange",function(St){o.CHM(_e);const mt=o.oxw();return o.KtG(mt.activeDate=St)})("monthSelected",function(St){o.CHM(_e);const mt=o.oxw();return o.KtG(mt._monthSelectedInYearView(St))})("selectedChange",function(St){o.CHM(_e);const mt=o.oxw();return o.KtG(mt._goToDateInView(St,"month"))}),o.qZA()}if(2&Wt){const _e=o.oxw();o.Q6J("activeDate",_e.activeDate)("selected",_e.selected)("dateFilter",_e.dateFilter)("maxDate",_e.maxDate)("minDate",_e.minDate)("dateClass",_e.dateClass)}}function k(Wt,si){if(1&Wt){const _e=o.EpF();o.TgZ(0,"mat-multi-year-view",7),o.NdJ("activeDateChange",function(St){o.CHM(_e);const mt=o.oxw();return o.KtG(mt.activeDate=St)})("yearSelected",function(St){o.CHM(_e);const mt=o.oxw();return o.KtG(mt._yearSelectedInMultiYearView(St))})("selectedChange",function(St){o.CHM(_e);const mt=o.oxw();return o.KtG(mt._goToDateInView(St,"year"))}),o.qZA()}if(2&Wt){const _e=o.oxw();o.Q6J("activeDate",_e.activeDate)("selected",_e.selected)("dateFilter",_e.dateFilter)("maxDate",_e.maxDate)("minDate",_e.minDate)("dateClass",_e.dateClass)}}function v(Wt,si){}const n=["button"];function b(Wt,si){1&Wt&&(o.O4$(),o.TgZ(0,"svg",3),o._UZ(1,"path",4),o.qZA())}const B=[[["","matDatepickerToggleIcon",""]]],z=["[matDatepickerToggleIcon]"];let ot=(()=>{class Wt{constructor(){this.changes=new d.x,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(_e,$e){return`${_e} \u2013 ${$e}`}formatYearRangeLabel(_e,$e){return`${_e} to ${$e}`}}return Wt.\u0275fac=function(_e){return new(_e||Wt)},Wt.\u0275prov=o.Yz7({token:Wt,factory:Wt.\u0275fac,providedIn:"root"}),Wt})();class Ie{constructor(si,_e,$e,St,mt={},ui=si,Qt){this.value=si,this.displayValue=_e,this.ariaLabel=$e,this.enabled=St,this.cssClasses=mt,this.compareValue=ui,this.rawValue=Qt}}let ve=1,fe=(()=>{class Wt{constructor(_e,$e){this._elementRef=_e,this._ngZone=$e,this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new o.vpe,this.previewChange=new o.vpe,this.activeDateChange=new o.vpe,this._enterHandler=St=>{if(this._skipNextFocus&&"focus"===St.type)this._skipNextFocus=!1;else if(St.target&&this.isRange){const mt=this._getCellFromElement(St.target);mt&&this._ngZone.run(()=>this.previewChange.emit({value:mt.enabled?mt:null,event:St}))}},this._leaveHandler=St=>{null!==this.previewEnd&&this.isRange&&St.target&&this._getCellFromElement(St.target)&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:St}))},this._id="mat-calendar-body-"+ve++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,$e.runOutsideAngular(()=>{const St=_e.nativeElement;St.addEventListener("mouseenter",this._enterHandler,!0),St.addEventListener("focus",this._enterHandler,!0),St.addEventListener("mouseleave",this._leaveHandler,!0),St.addEventListener("blur",this._leaveHandler,!0)})}ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}_cellClicked(_e,$e){_e.enabled&&this.selectedValueChange.emit({value:_e.value,event:$e})}_emitActiveDateChange(_e,$e){_e.enabled&&this.activeDateChange.emit({value:_e.value,event:$e})}_isSelected(_e){return this.startValue===_e||this.endValue===_e}ngOnChanges(_e){const $e=_e.numCols,{rows:St,numCols:mt}=this;(_e.rows||$e)&&(this._firstRowOffset=St&&St.length&&St[0].length?mt-St[0].length:0),(_e.cellAspectRatio||$e||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/mt+"%"),($e||!this._cellWidth)&&(this._cellWidth=100/mt+"%")}ngOnDestroy(){const _e=this._elementRef.nativeElement;_e.removeEventListener("mouseenter",this._enterHandler,!0),_e.removeEventListener("focus",this._enterHandler,!0),_e.removeEventListener("mouseleave",this._leaveHandler,!0),_e.removeEventListener("blur",this._leaveHandler,!0)}_isActiveCell(_e,$e){let St=_e*this.numCols+$e;return _e&&(St-=this._firstRowOffset),St==this.activeCell}_focusActiveCell(_e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,U.q)(1)).subscribe(()=>{setTimeout(()=>{const $e=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");$e&&(_e||(this._skipNextFocus=!0),$e.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(_e){return te(_e,this.startValue,this.endValue)}_isRangeEnd(_e){return Ke(_e,this.startValue,this.endValue)}_isInRange(_e){return Ae(_e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(_e){return te(_e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(_e,$e,St){if(!this._isComparisonStart(_e)||this._isRangeStart(_e)||!this._isInRange(_e))return!1;let mt=this.rows[$e][St-1];if(!mt){const ui=this.rows[$e-1];mt=ui&&ui[ui.length-1]}return mt&&!this._isRangeEnd(mt.compareValue)}_isComparisonBridgeEnd(_e,$e,St){if(!this._isComparisonEnd(_e)||this._isRangeEnd(_e)||!this._isInRange(_e))return!1;let mt=this.rows[$e][St+1];if(!mt){const ui=this.rows[$e+1];mt=ui&&ui[0]}return mt&&!this._isRangeStart(mt.compareValue)}_isComparisonEnd(_e){return Ke(_e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(_e){return Ae(_e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(_e){return this.comparisonStart===this.comparisonEnd&&_e===this.comparisonStart}_isPreviewStart(_e){return te(_e,this.previewStart,this.previewEnd)}_isPreviewEnd(_e){return Ke(_e,this.previewStart,this.previewEnd)}_isInPreview(_e){return Ae(_e,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(_e){return this.isRange?this.startValue===_e&&this.endValue===_e?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===_e?this._startDateLabelId:this.endValue===_e?this._endDateLabelId:null:null}_getCellFromElement(_e){let $e;if(Se(_e)?$e=_e:Se(_e.parentNode)&&($e=_e.parentNode),$e){const St=$e.getAttribute("data-mat-row"),mt=$e.getAttribute("data-mat-col");if(St&&mt)return this.rows[parseInt(St)][parseInt(mt)]}return null}}return Wt.\u0275fac=function(_e){return new(_e||Wt)(o.Y36(o.SBq),o.Y36(o.R0b))},Wt.\u0275cmp=o.Xpm({type:Wt,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"},exportAs:["matCalendarBody"],features:[o.TTD],attrs:ce,decls:6,vars:6,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],[1,"mat-calendar-body-hidden-label",3,"id"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell-container",3,"width","paddingTop","paddingBottom",4,"ngFor","ngForOf"],["role","gridcell",1,"mat-calendar-body-cell-container"],["type","button",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click","focus"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],["aria-hidden","true",1,"mat-calendar-body-cell-preview"]],template:function(_e,$e){1&_e&&(o.YNc(0,se,3,6,"tr",0),o.YNc(1,i,3,2,"tr",1),o.TgZ(2,"label",2),o._uU(3),o.qZA(),o.TgZ(4,"label",2),o._uU(5),o.qZA()),2&_e&&(o.Q6J("ngIf",$e._firstRowOffset<$e.labelMinRequiredCells),o.xp6(1),o.Q6J("ngForOf",$e.rows),o.xp6(1),o.Q6J("id",$e._startDateLabelId),o.xp6(1),o.hij(" ",$e.startDateAccessibleName,"\n"),o.xp6(1),o.Q6J("id",$e._endDateLabelId),o.xp6(1),o.hij(" ",$e.endDateAccessibleName,"\n"))},dependencies:[A.mk,A.sg,A.O5],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.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;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 .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}.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}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.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}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0}),Wt})();function Se(Wt){return"TD"===Wt.nodeName}function te(Wt,si,_e){return null!==_e&&si!==_e&&Wt<_e&&Wt===si}function Ke(Wt,si,_e){return null!==si&&si!==_e&&Wt>=si&&Wt===_e}function Ae(Wt,si,_e,$e){return $e&&null!==si&&null!==_e&&si!==_e&&Wt>=si&&Wt<=_e}class oe{constructor(si,_e){this.start=si,this.end=_e}}let ye=(()=>{class Wt{constructor(_e,$e){this.selection=_e,this._adapter=$e,this._selectionChanged=new d.x,this.selectionChanged=this._selectionChanged,this.selection=_e}updateSelection(_e,$e){const St=this.selection;this.selection=_e,this._selectionChanged.next({selection:_e,source:$e,oldValue:St})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(_e){return this._adapter.isDateInstance(_e)&&this._adapter.isValid(_e)}}return Wt.\u0275fac=function(_e){o.$Z()},Wt.\u0275prov=o.Yz7({token:Wt,factory:Wt.\u0275fac}),Wt})(),me=(()=>{class Wt extends ye{constructor(_e){super(null,_e)}add(_e){super.updateSelection(_e,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const _e=new Wt(this._adapter);return _e.updateSelection(this.selection,this),_e}}return Wt.\u0275fac=function(_e){return new(_e||Wt)(o.LFG(O._A))},Wt.\u0275prov=o.Yz7({token:Wt,factory:Wt.\u0275fac}),Wt})();const q={provide:ye,deps:[[new o.FiY,new o.tp0,ye],O._A],useFactory:function Ze(Wt,si){return Wt||new me(si)}},ke=new o.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let Jt=(()=>{class Wt{constructor(_e,$e,St,mt,ui){this._changeDetectorRef=_e,this._dateFormats=$e,this._dateAdapter=St,this._dir=mt,this._rangeStrategy=ui,this._rerenderSubscription=M.w0.EMPTY,this.selectedChange=new o.vpe,this._userSelection=new o.vpe,this.activeDateChange=new o.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(_e){const $e=this._activeDate,St=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(St,this.minDate,this.maxDate),this._hasSameMonthAndYear($e,this._activeDate)||this._init()}get selected(){return this._selected}set selected(_e){this._selected=_e instanceof oe?_e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(_e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))}get maxDate(){return this._maxDate}set maxDate(_e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Z.O)(null)).subscribe(()=>this._init())}ngOnChanges(_e){const $e=_e.comparisonStart||_e.comparisonEnd;$e&&!$e.firstChange&&this._setRanges(this.selected)}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(_e){const $e=_e.value,St=this._getDateFromDayOfMonth($e);let mt,ui;this._selected instanceof oe?(mt=this._getDateInCurrentMonth(this._selected.start),ui=this._getDateInCurrentMonth(this._selected.end)):mt=ui=this._getDateInCurrentMonth(this._selected),(mt!==$e||ui!==$e)&&this.selectedChange.emit(St),this._userSelection.emit({value:St,event:_e.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}_updateActiveDate(_e){const St=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(_e.value),this._dateAdapter.compareDate(St,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(_e){const $e=this._activeDate,St=this._isRtl();switch(_e.keyCode){case I.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,St?1:-1);break;case I.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,St?-1:1);break;case I.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case I.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case I.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case I.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case I.Ku:this.activeDate=_e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case I.VM:this.activeDate=_e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case I.K5:case I.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&_e.preventDefault());case I.hY:return void(null!=this._previewEnd&&!(0,I.Vb)(_e)&&(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:_e}),_e.preventDefault(),_e.stopPropagation()));default:return}this._dateAdapter.compareDate($e,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),_e.preventDefault()}_handleCalendarBodyKeyup(_e){(_e.keyCode===I.L_||_e.keyCode===I.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:_e}),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 _e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(_e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(_e){this._matCalendarBody._focusActiveCell(_e)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:_e,value:$e}){if(this._rangeStrategy){const mt=this._rangeStrategy.createPreview($e?$e.rawValue:null,this.selected,_e);this._previewStart=this._getCellCompareValue(mt.start),this._previewEnd=this._getCellCompareValue(mt.end),this._changeDetectorRef.detectChanges()}}_getDateFromDayOfMonth(_e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),_e)}_initWeekdays(){const _e=this._dateAdapter.getFirstDayOfWeek(),$e=this._dateAdapter.getDayOfWeekNames("narrow");let mt=this._dateAdapter.getDayOfWeekNames("long").map((ui,Qt)=>({long:ui,narrow:$e[Qt]}));this._weekdays=mt.slice(_e).concat(mt.slice(0,_e))}_createWeekCells(){const _e=this._dateAdapter.getNumDaysInMonth(this.activeDate),$e=this._dateAdapter.getDateNames();this._weeks=[[]];for(let St=0,mt=this._firstWeekOffset;St<_e;St++,mt++){7==mt&&(this._weeks.push([]),mt=0);const ui=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),St+1),Qt=this._shouldEnableDate(ui),li=this._dateAdapter.format(ui,this._dateFormats.display.dateA11yLabel),tn=this.dateClass?this.dateClass(ui,"month"):void 0;this._weeks[this._weeks.length-1].push(new Ie(St+1,$e[St],li,Qt,tn,this._getCellCompareValue(ui),ui))}}_shouldEnableDate(_e){return!!_e&&(!this.minDate||this._dateAdapter.compareDate(_e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(_e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(_e))}_getDateInCurrentMonth(_e){return _e&&this._hasSameMonthAndYear(_e,this.activeDate)?this._dateAdapter.getDate(_e):null}_hasSameMonthAndYear(_e,$e){return!(!_e||!$e||this._dateAdapter.getMonth(_e)!=this._dateAdapter.getMonth($e)||this._dateAdapter.getYear(_e)!=this._dateAdapter.getYear($e))}_getCellCompareValue(_e){if(_e){const $e=this._dateAdapter.getYear(_e),St=this._dateAdapter.getMonth(_e),mt=this._dateAdapter.getDate(_e);return new Date($e,St,mt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(_e){_e instanceof oe?(this._rangeStart=this._getCellCompareValue(_e.start),this._rangeEnd=this._getCellCompareValue(_e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(_e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(_e){return!this.dateFilter||this.dateFilter(_e)}}return Wt.\u0275fac=function(_e){return new(_e||Wt)(o.Y36(o.sBO),o.Y36(O.sG,8),o.Y36(O._A,8),o.Y36(P.Is,8),o.Y36(ke,8))},Wt.\u0275cmp=o.Xpm({type:Wt,selectors:[["mat-month-view"]],viewQuery:function(_e,$e){if(1&_e&&o.Gf(fe,5),2&_e){let St;o.iGM(St=o.CRH())&&($e._matCalendarBody=St.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[o.TTD],decls:7,vars:15,consts:[["role","grid",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["aria-hidden","true","colspan","7",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","startDateAccessibleName","endDateAccessibleName","selectedValueChange","activeDateChange","previewChange","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(_e,$e){1&_e&&(o.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),o.YNc(3,r,5,2,"th",2),o.qZA(),o.TgZ(4,"tr"),o._UZ(5,"th",3),o.qZA()(),o.TgZ(6,"tbody",4),o.NdJ("selectedValueChange",function(mt){return $e._dateSelected(mt)})("activeDateChange",function(mt){return $e._updateActiveDate(mt)})("previewChange",function(mt){return $e._previewChanged(mt)})("keyup",function(mt){return $e._handleCalendarBodyKeyup(mt)})("keydown",function(mt){return $e._handleCalendarBodyKeydown(mt)}),o.qZA()()),2&_e&&(o.xp6(3),o.Q6J("ngForOf",$e._weekdays),o.xp6(3),o.Q6J("label",$e._monthLabel)("rows",$e._weeks)("todayValue",$e._todayDate)("startValue",$e._rangeStart)("endValue",$e._rangeEnd)("comparisonStart",$e._comparisonRangeStart)("comparisonEnd",$e._comparisonRangeEnd)("previewStart",$e._previewStart)("previewEnd",$e._previewEnd)("isRange",$e._isRange)("labelMinRequiredCells",3)("activeCell",$e._dateAdapter.getDate($e.activeDate)-1)("startDateAccessibleName",$e.startDateAccessibleName)("endDateAccessibleName",$e.endDateAccessibleName))},dependencies:[A.sg,fe],encapsulation:2,changeDetection:0}),Wt})(),Ht=(()=>{class Wt{constructor(_e,$e,St){this._changeDetectorRef=_e,this._dateAdapter=$e,this._dir=St,this._rerenderSubscription=M.w0.EMPTY,this.selectedChange=new o.vpe,this.yearSelected=new o.vpe,this.activeDateChange=new o.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(_e){let $e=this._activeDate;const St=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(St,this.minDate,this.maxDate),De(this._dateAdapter,$e,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(_e){this._selected=_e instanceof oe?_e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e)),this._setSelectedYear(_e)}get minDate(){return this._minDate}set minDate(_e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))}get maxDate(){return this._maxDate}set maxDate(_e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Z.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const $e=this._dateAdapter.getYear(this._activeDate)-ze(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let St=0,mt=[];St<24;St++)mt.push($e+St),4==mt.length&&(this._years.push(mt.map(ui=>this._createCellForYear(ui))),mt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(_e){const $e=_e.value,St=this._dateAdapter.createDate($e,0,1),mt=this._getDateFromYear($e);this.yearSelected.emit(St),this.selectedChange.emit(mt)}_updateActiveDate(_e){const St=this._activeDate;this.activeDate=this._getDateFromYear(_e.value),this._dateAdapter.compareDate(St,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(_e){const $e=this._activeDate,St=this._isRtl();switch(_e.keyCode){case I.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,St?1:-1);break;case I.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,St?-1:1);break;case I.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case I.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case I.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ze(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case I.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-ze(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case I.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_e.altKey?-240:-24);break;case I.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_e.altKey?240:24);break;case I.K5:case I.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate($e,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),_e.preventDefault()}_handleCalendarBodyKeyup(_e){(_e.keyCode===I.L_||_e.keyCode===I.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:_e}),this._selectionKeyPressed=!1)}_getActiveCell(){return ze(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(_e){const $e=this._dateAdapter.getMonth(this.activeDate),St=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(_e,$e,1));return this._dateAdapter.createDate(_e,$e,Math.min(this._dateAdapter.getDate(this.activeDate),St))}_createCellForYear(_e){const $e=this._dateAdapter.createDate(_e,0,1),St=this._dateAdapter.getYearName($e),mt=this.dateClass?this.dateClass($e,"multi-year"):void 0;return new Ie(_e,St,St,this._shouldEnableYear(_e),mt)}_shouldEnableYear(_e){if(null==_e||this.maxDate&&_e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&_e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let St=this._dateAdapter.createDate(_e,0,1);this._dateAdapter.getYear(St)==_e;St=this._dateAdapter.addCalendarDays(St,1))if(this.dateFilter(St))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(_e){if(this._selectedYear=null,_e instanceof oe){const $e=_e.start||_e.end;$e&&(this._selectedYear=this._dateAdapter.getYear($e))}else _e&&(this._selectedYear=this._dateAdapter.getYear(_e))}}return Wt.\u0275fac=function(_e){return new(_e||Wt)(o.Y36(o.sBO),o.Y36(O._A,8),o.Y36(P.Is,8))},Wt.\u0275cmp=o.Xpm({type:Wt,selectors:[["mat-multi-year-view"]],viewQuery:function(_e,$e){if(1&_e&&o.Gf(fe,5),2&_e){let St;o.iGM(St=o.CRH())&&($e._matCalendarBody=St.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],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,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(_e,$e){1&_e&&(o.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),o._UZ(3,"th",2),o.qZA()(),o.TgZ(4,"tbody",3),o.NdJ("selectedValueChange",function(mt){return $e._yearSelected(mt)})("activeDateChange",function(mt){return $e._updateActiveDate(mt)})("keyup",function(mt){return $e._handleCalendarBodyKeyup(mt)})("keydown",function(mt){return $e._handleCalendarBodyKeydown(mt)}),o.qZA()()),2&_e&&(o.xp6(4),o.Q6J("rows",$e._years)("todayValue",$e._todayYear)("startValue",$e._selectedYear)("endValue",$e._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",$e._getActiveCell()))},dependencies:[fe],encapsulation:2,changeDetection:0}),Wt})();function De(Wt,si,_e,$e,St){const mt=Wt.getYear(si),ui=Wt.getYear(_e),Qt=wt(Wt,$e,St);return Math.floor((mt-Qt)/24)===Math.floor((ui-Qt)/24)}function ze(Wt,si,_e,$e){return function Re(Wt,si){return(Wt%si+si)%si}(Wt.getYear(si)-wt(Wt,_e,$e),24)}function wt(Wt,si,_e){let $e=0;return _e?$e=Wt.getYear(_e)-24+1:si&&($e=Wt.getYear(si)),$e}let tt=(()=>{class Wt{constructor(_e,$e,St,mt){this._changeDetectorRef=_e,this._dateFormats=$e,this._dateAdapter=St,this._dir=mt,this._rerenderSubscription=M.w0.EMPTY,this.selectedChange=new o.vpe,this.monthSelected=new o.vpe,this.activeDateChange=new o.vpe,this._activeDate=this._dateAdapter.today()}get activeDate(){return this._activeDate}set activeDate(_e){let $e=this._activeDate;const St=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(St,this.minDate,this.maxDate),this._dateAdapter.getYear($e)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(_e){this._selected=_e instanceof oe?_e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e)),this._setSelectedMonth(_e)}get minDate(){return this._minDate}set minDate(_e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))}get maxDate(){return this._maxDate}set maxDate(_e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,Z.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(_e){const $e=_e.value,St=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),$e,1);this.monthSelected.emit(St);const mt=this._getDateFromMonth($e);this.selectedChange.emit(mt)}_updateActiveDate(_e){const St=this._activeDate;this.activeDate=this._getDateFromMonth(_e.value),this._dateAdapter.compareDate(St,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(_e){const $e=this._activeDate,St=this._isRtl();switch(_e.keyCode){case I.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,St?1:-1);break;case I.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,St?-1:1);break;case I.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case I.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case I.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case I.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case I.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_e.altKey?-10:-1);break;case I.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_e.altKey?10:1);break;case I.K5:case I.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate($e,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),_e.preventDefault()}_handleCalendarBodyKeyup(_e){(_e.keyCode===I.L_||_e.keyCode===I.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:_e}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let _e=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map($e=>$e.map(St=>this._createCellForMonth(St,_e[St]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(_e){return _e&&this._dateAdapter.getYear(_e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(_e):null}_getDateFromMonth(_e){const $e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),_e,1),St=this._dateAdapter.getNumDaysInMonth($e);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),_e,Math.min(this._dateAdapter.getDate(this.activeDate),St))}_createCellForMonth(_e,$e){const St=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),_e,1),mt=this._dateAdapter.format(St,this._dateFormats.display.monthYearA11yLabel),ui=this.dateClass?this.dateClass(St,"year"):void 0;return new Ie(_e,$e.toLocaleUpperCase(),mt,this._shouldEnableMonth(_e),ui)}_shouldEnableMonth(_e){const $e=this._dateAdapter.getYear(this.activeDate);if(null==_e||this._isYearAndMonthAfterMaxDate($e,_e)||this._isYearAndMonthBeforeMinDate($e,_e))return!1;if(!this.dateFilter)return!0;for(let mt=this._dateAdapter.createDate($e,_e,1);this._dateAdapter.getMonth(mt)==_e;mt=this._dateAdapter.addCalendarDays(mt,1))if(this.dateFilter(mt))return!0;return!1}_isYearAndMonthAfterMaxDate(_e,$e){if(this.maxDate){const St=this._dateAdapter.getYear(this.maxDate),mt=this._dateAdapter.getMonth(this.maxDate);return _e>St||_e===St&&$e>mt}return!1}_isYearAndMonthBeforeMinDate(_e,$e){if(this.minDate){const St=this._dateAdapter.getYear(this.minDate),mt=this._dateAdapter.getMonth(this.minDate);return _e<St||_e===St&&$e<mt}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(_e){this._selectedMonth=_e instanceof oe?this._getMonthInCurrentYear(_e.start)||this._getMonthInCurrentYear(_e.end):this._getMonthInCurrentYear(_e)}}return Wt.\u0275fac=function(_e){return new(_e||Wt)(o.Y36(o.sBO),o.Y36(O.sG,8),o.Y36(O._A,8),o.Y36(P.Is,8))},Wt.\u0275cmp=o.Xpm({type:Wt,selectors:[["mat-year-view"]],viewQuery:function(_e,$e){if(1&_e&&o.Gf(fe,5),2&_e){let St;o.iGM(St=o.CRH())&&($e._matCalendarBody=St.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],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,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","activeDateChange","keyup","keydown"]],template:function(_e,$e){1&_e&&(o.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),o._UZ(3,"th",2),o.qZA()(),o.TgZ(4,"tbody",3),o.NdJ("selectedValueChange",function(mt){return $e._monthSelected(mt)})("activeDateChange",function(mt){return $e._updateActiveDate(mt)})("keyup",function(mt){return $e._handleCalendarBodyKeyup(mt)})("keydown",function(mt){return $e._handleCalendarBodyKeydown(mt)}),o.qZA()()),2&_e&&(o.xp6(4),o.Q6J("label",$e._yearLabel)("rows",$e._months)("todayValue",$e._todayMonth)("startValue",$e._selectedMonth)("endValue",$e._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",$e._dateAdapter.getMonth($e.activeDate)))},dependencies:[fe],encapsulation:2,changeDetection:0}),Wt})(),Bt=1,It=(()=>{class Wt{constructor(_e,$e,St,mt,ui){this._intl=_e,this.calendar=$e,this._dateAdapter=St,this._dateFormats=mt,this._id="mat-calendar-header-"+Bt++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>ui.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:-24)}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:24)}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(_e,$e){return"month"==this.calendar.currentView?this._dateAdapter.getYear(_e)==this._dateAdapter.getYear($e)&&this._dateAdapter.getMonth(_e)==this._dateAdapter.getMonth($e):"year"==this.calendar.currentView?this._dateAdapter.getYear(_e)==this._dateAdapter.getYear($e):De(this._dateAdapter,_e,$e,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const $e=this._dateAdapter.getYear(this.calendar.activeDate)-ze(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),St=$e+24-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate($e,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(St,0,1))]}}return Wt.\u0275fac=function(_e){return new(_e||Wt)(o.Y36(ot),o.Y36((0,o.Gpc)(()=>zt)),o.Y36(O._A,8),o.Y36(O.sG,8),o.Y36(o.sBO))},Wt.\u0275cmp=o.Xpm({type:Wt,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:h,decls:13,vars:11,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["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,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"],[1,"mat-calendar-hidden-label",3,"id"]],template:function(_e,$e){1&_e&&(o.F$t(),o.TgZ(0,"div",0)(1,"div",1)(2,"button",2),o.NdJ("click",function(){return $e.currentPeriodClicked()}),o.TgZ(3,"span",3),o._uU(4),o.qZA(),o.O4$(),o.TgZ(5,"svg",4),o._UZ(6,"polygon",5),o.qZA()(),o.kcU(),o._UZ(7,"div",6),o.Hsn(8),o.TgZ(9,"button",7),o.NdJ("click",function(){return $e.previousClicked()}),o.qZA(),o.TgZ(10,"button",8),o.NdJ("click",function(){return $e.nextClicked()}),o.qZA()()(),o.TgZ(11,"label",9),o._uU(12),o.qZA()),2&_e&&(o.xp6(2),o.uIk("aria-label",$e.periodButtonLabel)("aria-describedby",$e._periodButtonLabelId),o.xp6(2),o.Oqu($e.periodButtonText),o.xp6(1),o.ekj("mat-calendar-invert","month"!==$e.calendar.currentView),o.xp6(4),o.Q6J("disabled",!$e.previousEnabled()),o.uIk("aria-label",$e.prevButtonLabel),o.xp6(1),o.Q6J("disabled",!$e.nextEnabled()),o.uIk("aria-label",$e.nextButtonLabel),o.xp6(1),o.Q6J("id",$e._periodButtonLabelId),o.xp6(1),o.Oqu($e.periodButtonDescription))},dependencies:[C.lW,C.RK],encapsulation:2,changeDetection:0}),Wt})(),zt=(()=>{class Wt{constructor(_e,$e,St,mt){this._dateAdapter=$e,this._dateFormats=St,this._changeDetectorRef=mt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new o.vpe,this.yearSelected=new o.vpe,this.monthSelected=new o.vpe,this.viewChanged=new o.vpe(!0),this._userSelection=new o.vpe,this.stateChanges=new d.x,this._intlChanges=_e.changes.subscribe(()=>{mt.markForCheck(),this.stateChanges.next()})}get startAt(){return this._startAt}set startAt(_e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))}get selected(){return this._selected}set selected(_e){this._selected=_e instanceof oe?_e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))}get minDate(){return this._minDate}set minDate(_e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))}get maxDate(){return this._maxDate}set maxDate(_e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))}get activeDate(){return this._clampedActiveDate}set activeDate(_e){this._clampedActiveDate=this._dateAdapter.clampDate(_e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(_e){const $e=this._currentView!==_e?_e:null;this._currentView=_e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),$e&&this.viewChanged.emit($e)}ngAfterContentInit(){this._calendarHeaderPortal=new g.C5(this.headerComponent||It),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(_e){const $e=_e.minDate&&!this._dateAdapter.sameDate(_e.minDate.previousValue,_e.minDate.currentValue)?_e.minDate:void 0,St=_e.maxDate&&!this._dateAdapter.sameDate(_e.maxDate.previousValue,_e.maxDate.currentValue)?_e.maxDate:void 0,mt=$e||St||_e.dateFilter;if(mt&&!mt.firstChange){const ui=this._getCurrentViewComponent();ui&&(this._changeDetectorRef.detectChanges(),ui._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(_e){const $e=_e.value;(this.selected instanceof oe||$e&&!this._dateAdapter.sameDate($e,this.selected))&&this.selectedChange.emit($e),this._userSelection.emit(_e)}_yearSelectedInMultiYearView(_e){this.yearSelected.emit(_e)}_monthSelectedInYearView(_e){this.monthSelected.emit(_e)}_goToDateInView(_e,$e){this.activeDate=_e,this.currentView=$e}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Wt.\u0275fac=function(_e){return new(_e||Wt)(o.Y36(ot),o.Y36(O._A,8),o.Y36(O.sG,8),o.Y36(o.sBO))},Wt.\u0275cmp=o.Xpm({type:Wt,selectors:[["mat-calendar"]],viewQuery:function(_e,$e){if(1&_e&&(o.Gf(Jt,5),o.Gf(tt,5),o.Gf(Ht,5)),2&_e){let St;o.iGM(St=o.CRH())&&($e.monthView=St.first),o.iGM(St=o.CRH())&&($e.yearView=St.first),o.iGM(St=o.CRH())&&($e.multiYearView=St.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"},exportAs:["matCalendar"],features:[o._Bn([q]),o.TTD],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(_e,$e){1&_e&&(o.YNc(0,c,0,0,"ng-template",0),o.TgZ(1,"div",1),o.YNc(2,y,1,10,"mat-month-view",2),o.YNc(3,S,1,6,"mat-year-view",3),o.YNc(4,k,1,6,"mat-multi-year-view",4),o.qZA()),2&_e&&(o.Q6J("cdkPortalOutlet",$e._calendarHeaderPortal),o.xp6(1),o.Q6J("ngSwitch",$e.currentView),o.xp6(1),o.Q6J("ngSwitchCase","month"),o.xp6(1),o.Q6J("ngSwitchCase","year"),o.xp6(1),o.Q6J("ngSwitchCase","multi-year"))},dependencies:[A.RF,A.n9,t.kH,g.Pl,Jt,tt,Ht],styles:['.mat-calendar{display:block}.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}.mat-calendar-arrow{display:inline-block;width:10px;height:5px;margin:0 0 0 5px;vertical-align:middle}.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-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}.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}.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:""}.mat-calendar-hidden-label{display:none}'],encapsulation:2,changeDetection:0}),Wt})();const xt={transformPanel:(0,ee.X$)("transformPanel",[(0,ee.eR)("void => enter-dropdown",(0,ee.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.F4)([(0,ee.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ee.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ee.eR)("void => enter-dialog",(0,ee.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ee.F4)([(0,ee.oB)({opacity:0,transform:"scale(0.7)"}),(0,ee.oB)({transform:"none",opacity:1})]))),(0,ee.eR)("* => void",(0,ee.jt)("100ms linear",(0,ee.oB)({opacity:0})))]),fadeInCalendar:(0,ee.X$)("fadeInCalendar",[(0,ee.SB)("void",(0,ee.oB)({opacity:0})),(0,ee.SB)("enter",(0,ee.oB)({opacity:1})),(0,ee.eR)("void => *",(0,ee.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let we=0;const J=new o.OlP("mat-datepicker-scroll-strategy"),Fe={provide:J,deps:[e.aV],useFactory:function be(Wt){return()=>Wt.scrollStrategies.reposition()}},at=(0,O.pj)(class{constructor(Wt){this._elementRef=Wt}});let ii=(()=>{class Wt extends at{constructor(_e,$e,St,mt,ui,Qt){super(_e),this._changeDetectorRef=$e,this._globalModel=St,this._dateAdapter=mt,this._rangeSelectionStrategy=ui,this._subscriptions=new M.w0,this._animationDone=new d.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=Qt.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(_e){const $e=this._model.selection,St=_e.value,mt=$e instanceof oe;if(mt&&this._rangeSelectionStrategy){const ui=this._rangeSelectionStrategy.selectionFinished(St,$e,_e.event);this._model.updateSelection(ui,this)}else St&&(mt||!this._dateAdapter.sameDate(St,$e))&&this._model.add(St);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(_e){this._isAnimating="start"===_e.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(_e,$e){this._model=_e?this._globalModel.clone():this._globalModel,this._actionsPortal=_e,$e&&this._changeDetectorRef.detectChanges()}}return Wt.\u0275fac=function(_e){return new(_e||Wt)(o.Y36(o.SBq),o.Y36(o.sBO),o.Y36(ye),o.Y36(O._A),o.Y36(ke,8),o.Y36(ot))},Wt.\u0275cmp=o.Xpm({type:Wt,selectors:[["mat-datepicker-content"]],viewQuery:function(_e,$e){if(1&_e&&o.Gf(zt,5),2&_e){let St;o.iGM(St=o.CRH())&&($e._calendar=St.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(_e,$e){1&_e&&o.WFA("@transformPanel.start",function(mt){return $e._handleAnimationEvent(mt)})("@transformPanel.done",function(mt){return $e._handleAnimationEvent(mt)}),2&_e&&(o.d8E("@transformPanel",$e._animationState),o.ekj("mat-datepicker-content-touch",$e.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[o.qOj],decls:5,vars:26,consts:[["cdkTrapFocus","","role","dialog",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","startDateAccessibleName","endDateAccessibleName","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(_e,$e){if(1&_e&&(o.TgZ(0,"div",0)(1,"mat-calendar",1),o.NdJ("yearSelected",function(mt){return $e.datepicker._selectYear(mt)})("monthSelected",function(mt){return $e.datepicker._selectMonth(mt)})("viewChanged",function(mt){return $e.datepicker._viewChanged(mt)})("_userSelection",function(mt){return $e._handleUserSelection(mt)}),o.qZA(),o.YNc(2,v,0,0,"ng-template",2),o.TgZ(3,"button",3),o.NdJ("focus",function(){return $e._closeButtonFocused=!0})("blur",function(){return $e._closeButtonFocused=!1})("click",function(){return $e.datepicker.close()}),o._uU(4),o.qZA()()),2&_e){let St;o.ekj("mat-datepicker-content-container-with-custom-header",$e.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",$e._actionsPortal),o.uIk("aria-modal",!0)("aria-labelledby",null!==(St=$e._dialogLabelId)&&void 0!==St?St:void 0),o.xp6(1),o.Q6J("id",$e.datepicker.id)("ngClass",$e.datepicker.panelClass)("startAt",$e.datepicker.startAt)("startView",$e.datepicker.startView)("minDate",$e.datepicker._getMinDate())("maxDate",$e.datepicker._getMaxDate())("dateFilter",$e.datepicker._getDateFilter())("headerComponent",$e.datepicker.calendarHeaderComponent)("selected",$e._getSelected())("dateClass",$e.datepicker.dateClass)("comparisonStart",$e.comparisonStart)("comparisonEnd",$e.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",$e.startDateAccessibleName)("endDateAccessibleName",$e.endDateAccessibleName),o.xp6(1),o.Q6J("cdkPortalOutlet",$e._actionsPortal),o.xp6(1),o.ekj("cdk-visually-hidden",!$e._closeButtonFocused),o.Q6J("color",$e.color||"primary"),o.xp6(1),o.Oqu($e._closeButtonText)}},dependencies:[A.mk,C.lW,t.mK,g.Pl,zt],styles:[".mat-datepicker-content{display:block;border-radius:4px}.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;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:[xt.transformPanel,xt.fadeInCalendar]},changeDetection:0}),Wt})(),Gt=(()=>{class Wt{constructor(_e,$e,St,mt,ui,Qt,li){this._overlay=_e,this._ngZone=$e,this._viewContainerRef=St,this._dateAdapter=ui,this._dir=Qt,this._model=li,this._inputStateChanges=M.w0.EMPTY,this._document=(0,o.f3M)(A.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new o.vpe,this.monthSelected=new o.vpe,this.viewChanged=new o.vpe(!0),this.openedStream=new o.vpe,this.closedStream=new o.vpe,this._opened=!1,this.id="mat-datepicker-"+we++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new d.x,this._scrollStrategy=mt}get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(_e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(_e){this._color=_e}get touchUi(){return this._touchUi}set touchUi(_e){this._touchUi=(0,j.Ig)(_e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(_e){const $e=(0,j.Ig)(_e);$e!==this._disabled&&(this._disabled=$e,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(_e){this._restoreFocus=(0,j.Ig)(_e)}get panelClass(){return this._panelClass}set panelClass(_e){this._panelClass=(0,j.du)(_e)}get opened(){return this._opened}set opened(_e){(0,j.Ig)(_e)?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}ngOnChanges(_e){const $e=_e.xPosition||_e.yPosition;if($e&&!$e.firstChange&&this._overlayRef){const St=this._overlayRef.getConfig().positionStrategy;St instanceof e._G&&(this._setConnectedPositions(St),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(_e){this._model.add(_e)}_selectYear(_e){this.yearSelected.emit(_e)}_selectMonth(_e){this.monthSelected.emit(_e)}_viewChanged(_e){this.viewChanged.emit(_e)}registerInput(_e){return this._inputStateChanges.unsubscribe(),this.datepickerInput=_e,this._inputStateChanges=_e.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(_e){this._actionsPortal=_e,this._componentRef?.instance._assignActions(_e,!0)}removeActions(_e){_e===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,X.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const _e=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,$e=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:St,location:mt}=this._componentRef;St._startExitAnimation(),St._animationDone.pipe((0,U.q)(1)).subscribe(()=>{const ui=this._document.activeElement;_e&&(!ui||ui===this._document.activeElement||mt.nativeElement.contains(ui))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}_e?setTimeout($e):$e()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(_e){_e.datepicker=this,_e.color=this.color,_e._dialogLabelId=this.datepickerInput.getOverlayLabelId(),_e._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const _e=this.touchUi,$e=new g.C5(ii,this._viewContainerRef),St=this._overlayRef=this._overlay.create(new e.X_({positionStrategy:_e?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[_e?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:_e?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(_e?"dialog":"popup")}));this._getCloseStream(St).subscribe(mt=>{mt&&mt.preventDefault(),this.close()}),St.keydownEvents().subscribe(mt=>{const ui=mt.keyCode;(ui===I.LH||ui===I.JH||ui===I.oh||ui===I.SV||ui===I.Ku||ui===I.VM)&&mt.preventDefault()}),this._componentRef=St.attach($e),this._forwardContentValues(this._componentRef.instance),_e||this._ngZone.onStable.pipe((0,U.q)(1)).subscribe(()=>St.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const _e=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(_e)}_setConnectedPositions(_e){const $e="end"===this.xPosition?"end":"start",St="start"===$e?"end":"start",mt="above"===this.yPosition?"bottom":"top",ui="top"===mt?"bottom":"top";return _e.withPositions([{originX:$e,originY:ui,overlayX:$e,overlayY:mt},{originX:$e,originY:mt,overlayX:$e,overlayY:ui},{originX:St,originY:ui,overlayX:St,overlayY:mt},{originX:St,originY:mt,overlayX:St,overlayY:ui}])}_getCloseStream(_e){return(0,w.T)(_e.backdropClick(),_e.detachments(),_e.keydownEvents().pipe((0,Y.h)($e=>$e.keyCode===I.hY&&!(0,I.Vb)($e)||this.datepickerInput&&(0,I.Vb)($e,"altKey")&&$e.keyCode===I.LH)))}}return Wt.\u0275fac=function(_e){return new(_e||Wt)(o.Y36(e.aV),o.Y36(o.R0b),o.Y36(o.s_b),o.Y36(J),o.Y36(O._A,8),o.Y36(P.Is,8),o.Y36(ye))},Wt.\u0275dir=o.lG2({type:Wt,inputs:{calendarHeaderComponent:"calendarHeaderComponent",startAt:"startAt",startView:"startView",color:"color",touchUi:"touchUi",disabled:"disabled",xPosition:"xPosition",yPosition:"yPosition",restoreFocus:"restoreFocus",dateClass:"dateClass",panelClass:"panelClass",opened:"opened"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[o.TTD]}),Wt})(),ei=(()=>{class Wt extends Gt{}return Wt.\u0275fac=function(){let si;return function($e){return(si||(si=o.n5z(Wt)))($e||Wt)}}(),Wt.\u0275cmp=o.Xpm({type:Wt,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[o._Bn([q,{provide:Gt,useExisting:Wt}]),o.qOj],decls:0,vars:0,template:function(_e,$e){},encapsulation:2,changeDetection:0}),Wt})();class ht{constructor(si,_e){this.target=si,this.targetElement=_e,this.value=this.target.value}}let rt=(()=>{class Wt{constructor(_e,$e,St){this._elementRef=_e,this._dateAdapter=$e,this._dateFormats=St,this.dateChange=new o.vpe,this.dateInput=new o.vpe,this.stateChanges=new d.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=M.w0.EMPTY,this._localeSubscription=M.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=mt=>{const ui=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(mt.value));return!ui||this._matchesFilter(ui)?null:{matDatepickerFilter:!0}},this._minValidator=mt=>{const ui=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(mt.value)),Qt=this._getMinDate();return!Qt||!ui||this._dateAdapter.compareDate(Qt,ui)<=0?null:{matDatepickerMin:{min:Qt,actual:ui}}},this._maxValidator=mt=>{const ui=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(mt.value)),Qt=this._getMaxDate();return!Qt||!ui||this._dateAdapter.compareDate(Qt,ui)>=0?null:{matDatepickerMax:{max:Qt,actual:ui}}},this._lastValueValid=!1,this._localeSubscription=$e.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(_e){this._assignValueProgrammatically(_e)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(_e){const $e=(0,j.Ig)(_e),St=this._elementRef.nativeElement;this._disabled!==$e&&(this._disabled=$e,this.stateChanges.next(void 0)),$e&&this._isInitialized&&St.blur&&St.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(_e){this._model=_e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe($e=>{if(this._shouldHandleChangeEvent($e)){const St=this._getValueFromModel($e.selection);this._lastValueValid=this._isValidValue(St),this._cvaOnChange(St),this._onTouched(),this._formatValue(St),this.dateInput.emit(new ht(this,this._elementRef.nativeElement)),this.dateChange.emit(new ht(this,this._elementRef.nativeElement))}})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(_e){(function yt(Wt,si){const _e=Object.keys(Wt);for(let $e of _e){const{previousValue:St,currentValue:mt}=Wt[$e];if(!si.isDateInstance(St)||!si.isDateInstance(mt))return!0;if(!si.sameDate(St,mt))return!0}return!1})(_e,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(_e){this._validatorOnChange=_e}validate(_e){return this._validator?this._validator(_e):null}writeValue(_e){this._assignValueProgrammatically(_e)}registerOnChange(_e){this._cvaOnChange=_e}registerOnTouched(_e){this._onTouched=_e}setDisabledState(_e){this.disabled=_e}_onKeydown(_e){_e.altKey&&_e.keyCode===I.JH&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),_e.preventDefault())}_onInput(_e){const $e=this._lastValueValid;let St=this._dateAdapter.parse(_e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(St),St=this._dateAdapter.getValidDateOrNull(St);const mt=!this._dateAdapter.sameDate(St,this.value);!St||mt?this._cvaOnChange(St):(_e&&!this.value&&this._cvaOnChange(St),$e!==this._lastValueValid&&this._validatorOnChange()),mt&&(this._assignValue(St),this.dateInput.emit(new ht(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new ht(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(_e){this._elementRef.nativeElement.value=null!=_e?this._dateAdapter.format(_e,this._dateFormats.display.dateInput):""}_assignValue(_e){this._model?(this._assignValueToModel(_e),this._pendingValue=null):this._pendingValue=_e}_isValidValue(_e){return!_e||this._dateAdapter.isValid(_e)}_parentDisabled(){return!1}_assignValueProgrammatically(_e){_e=this._dateAdapter.deserialize(_e),this._lastValueValid=this._isValidValue(_e),_e=this._dateAdapter.getValidDateOrNull(_e),this._assignValue(_e),this._formatValue(_e)}_matchesFilter(_e){const $e=this._getDateFilter();return!$e||$e(_e)}}return Wt.\u0275fac=function(_e){return new(_e||Wt)(o.Y36(o.SBq),o.Y36(O._A,8),o.Y36(O.sG,8))},Wt.\u0275dir=o.lG2({type:Wt,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[o.TTD]}),Wt})();const ri={provide:ue.JU,useExisting:(0,o.Gpc)(()=>Vt),multi:!0},Ut={provide:ue.Cf,useExisting:(0,o.Gpc)(()=>Vt),multi:!0};let Vt=(()=>{class Wt extends rt{constructor(_e,$e,St,mt){super(_e,$e,St),this._formField=mt,this._closedSubscription=M.w0.EMPTY,this._validator=ue.kI.compose(super._getValidators())}set matDatepicker(_e){_e&&(this._datepicker=_e,this._closedSubscription=_e.closedStream.subscribe(()=>this._onTouched()),this._registerModel(_e.registerInput(this)))}get min(){return this._min}set min(_e){const $e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e));this._dateAdapter.sameDate($e,this._min)||(this._min=$e,this._validatorOnChange())}get max(){return this._max}set max(_e){const $e=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e));this._dateAdapter.sameDate($e,this._max)||(this._max=$e,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(_e){const $e=this._matchesFilter(this.value);this._dateFilter=_e,this._matchesFilter(this.value)!==$e&&this._validatorOnChange()}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(_e){return _e}_assignValueToModel(_e){this._model&&this._model.updateSelection(_e,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(_e){return _e.source!==this}}return Wt.\u0275fac=function(_e){return new(_e||Wt)(o.Y36(o.SBq),o.Y36(O._A,8),o.Y36(O.sG,8),o.Y36(le.G_,8))},Wt.\u0275dir=o.lG2({type:Wt,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(_e,$e){1&_e&&o.NdJ("input",function(mt){return $e._onInput(mt.target.value)})("change",function(){return $e._onChange()})("blur",function(){return $e._onBlur()})("keydown",function(mt){return $e._onKeydown(mt)}),2&_e&&(o.Ikx("disabled",$e.disabled),o.uIk("aria-haspopup",$e._datepicker?"dialog":null)("aria-owns",(null==$e._datepicker?null:$e._datepicker.opened)&&$e._datepicker.id||null)("min",$e.min?$e._dateAdapter.toIso8601($e.min):null)("max",$e.max?$e._dateAdapter.toIso8601($e.max):null)("data-mat-calendar",$e._datepicker?$e._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[o._Bn([ri,Ut,{provide:ie.Jk,useExisting:Wt}]),o.qOj]}),Wt})(),Ft=(()=>{class Wt{}return Wt.\u0275fac=function(_e){return new(_e||Wt)},Wt.\u0275dir=o.lG2({type:Wt,selectors:[["","matDatepickerToggleIcon",""]]}),Wt})(),Qe=(()=>{class Wt{constructor(_e,$e,St){this._intl=_e,this._changeDetectorRef=$e,this._stateChanges=M.w0.EMPTY;const mt=Number(St);this.tabIndex=mt||0===mt?mt:null}get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(_e){this._disabled=(0,j.Ig)(_e)}ngOnChanges(_e){_e.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(_e){this.datepicker&&!this.disabled&&(this.datepicker.open(),_e.stopPropagation())}_watchStateChanges(){const _e=this.datepicker?this.datepicker.stateChanges:(0,L.of)(),$e=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,L.of)(),St=this.datepicker?(0,w.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,L.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,w.T)(this._intl.changes,_e,$e,St).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Wt.\u0275fac=function(_e){return new(_e||Wt)(o.Y36(ot),o.Y36(o.sBO),o.$8M("tabindex"))},Wt.\u0275cmp=o.Xpm({type:Wt,selectors:[["mat-datepicker-toggle"]],contentQueries:function(_e,$e,St){if(1&_e&&o.Suo(St,Ft,5),2&_e){let mt;o.iGM(mt=o.CRH())&&($e._customIcon=mt.first)}},viewQuery:function(_e,$e){if(1&_e&&o.Gf(n,5),2&_e){let St;o.iGM(St=o.CRH())&&($e._button=St.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(_e,$e){1&_e&&o.NdJ("click",function(mt){return $e._open(mt)}),2&_e&&(o.uIk("tabindex",null)("data-mat-calendar",$e.datepicker?$e.datepicker.id:null),o.ekj("mat-datepicker-toggle-active",$e.datepicker&&$e.datepicker.opened)("mat-accent",$e.datepicker&&"accent"===$e.datepicker.color)("mat-warn",$e.datepicker&&"warn"===$e.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[o.TTD],ngContentSelectors:z,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",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(_e,$e){1&_e&&(o.F$t(B),o.TgZ(0,"button",0,1),o.YNc(2,b,2,0,"svg",2),o.Hsn(3),o.qZA()),2&_e&&(o.Q6J("disabled",$e.disabled)("disableRipple",$e.disableRipple),o.uIk("aria-haspopup",$e.datepicker?"dialog":null)("aria-label",$e.ariaLabel||$e._intl.openCalendarLabel)("tabindex",$e.disabled?-1:$e.tabIndex),o.xp6(2),o.Q6J("ngIf",!$e._customIcon))},dependencies:[A.O5,C.RK],styles:[".mat-datepicker-toggle{pointer-events:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}"],encapsulation:2,changeDetection:0}),Wt})(),Ui=(()=>{class Wt{}return Wt.\u0275fac=function(_e){return new(_e||Wt)},Wt.\u0275mod=o.oAB({type:Wt}),Wt.\u0275inj=o.cJS({providers:[ot,Fe],imports:[A.ez,C.ot,e.U8,t.rt,g.eL,O.BQ,u.ZD]}),Wt})()},7274:(Ge,Q,m)=>{"use strict";m.d(Q,{WI:()=>ot,Bq:()=>Ie,uw:()=>oe,ZT:()=>me,Is:()=>xe,so:()=>it});var t=m(8184),e=m(6895),g=m(4650),A=m(4761),o_OPEN="mdc-dialog--open",u_DIALOG_ANIMATION_CLOSE_TIME_MS=(["textarea",".mdc-menu .mdc-list-item",".mdc-menu .mdc-deprecated-list-item"].join(", "),75),O=m(3353),d=m(4080),M=m(9521),w=m(7579),L=m(9770),I=m(9646),P=m(445),U=m(8675);function Z(_t,ct){}class Y{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}}let X=(()=>{class _t extends d.en{constructor(nt,Jt,vt,ne,Ht,De,ze,wt){super(),this._elementRef=nt,this._focusTrapFactory=Jt,this._config=ne,this._interactivityChecker=Ht,this._ngZone=De,this._overlayRef=ze,this._focusMonitor=wt,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Re=>{this._portalOutlet.hasAttached();const tt=this._portalOutlet.attachDomPortal(Re);return this._contentAttached(),tt},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=vt}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(nt){this._portalOutlet.hasAttached();const Jt=this._portalOutlet.attachComponentPortal(nt);return this._contentAttached(),Jt}attachTemplatePortal(nt){this._portalOutlet.hasAttached();const Jt=this._portalOutlet.attachTemplatePortal(nt);return this._contentAttached(),Jt}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(nt,Jt){this._interactivityChecker.isFocusable(nt)||(nt.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const vt=()=>{nt.removeEventListener("blur",vt),nt.removeEventListener("mousedown",vt),nt.removeAttribute("tabindex")};nt.addEventListener("blur",vt),nt.addEventListener("mousedown",vt)})),nt.focus(Jt)}_focusByCssSelector(nt,Jt){let vt=this._elementRef.nativeElement.querySelector(nt);vt&&this._forceFocus(vt,Jt)}_trapFocus(){const nt=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||nt.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Jt=>{Jt||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 nt=this._config.restoreFocus;let Jt=null;if("string"==typeof nt?Jt=this._document.querySelector(nt):"boolean"==typeof nt?Jt=nt?this._elementFocusedBeforeDialogWasOpened:null:nt&&(Jt=nt),this._config.restoreFocus&&Jt&&"function"==typeof Jt.focus){const vt=(0,O.ht)(),ne=this._elementRef.nativeElement;(!vt||vt===this._document.body||vt===ne||ne.contains(vt))&&(this._focusMonitor?(this._focusMonitor.focusVia(Jt,this._closeInteractionType),this._closeInteractionType=null):Jt.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const nt=this._elementRef.nativeElement,Jt=(0,O.ht)();return nt===Jt||nt.contains(Jt)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,O.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return _t.\u0275fac=function(nt){return new(nt||_t)(g.Y36(g.SBq),g.Y36(A.qV),g.Y36(e.K0,8),g.Y36(Y),g.Y36(A.ic),g.Y36(g.R0b),g.Y36(t.Iu),g.Y36(A.tE))},_t.\u0275cmp=g.Xpm({type:_t,selectors:[["cdk-dialog-container"]],viewQuery:function(nt,Jt){if(1&nt&&g.Gf(d.Pl,7),2&nt){let vt;g.iGM(vt=g.CRH())&&(Jt._portalOutlet=vt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(nt,Jt){2&nt&&g.uIk("id",Jt._config.id||null)("role",Jt._config.role)("aria-modal",Jt._config.ariaModal)("aria-labelledby",Jt._config.ariaLabel?null:Jt._ariaLabelledBy)("aria-label",Jt._config.ariaLabel)("aria-describedby",Jt._config.ariaDescribedBy||null)},features:[g.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(nt,Jt){1&nt&&g.YNc(0,Z,0,0,"ng-template",0)},dependencies:[d.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),_t})();class ee{constructor(ct,nt){this.overlayRef=ct,this.config=nt,this.closed=new w.x,this.disableClose=nt.disableClose,this.backdropClick=ct.backdropClick(),this.keydownEvents=ct.keydownEvents(),this.outsidePointerEvents=ct.outsidePointerEvents(),this.id=nt.id,this.keydownEvents.subscribe(Jt=>{Jt.keyCode===M.hY&&!this.disableClose&&!(0,M.Vb)(Jt)&&(Jt.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(ct,nt){if(this.containerInstance){const Jt=this.closed;this.containerInstance._closeInteractionType=nt?.focusOrigin||"program",this.overlayRef.dispose(),Jt.next(ct),Jt.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(ct="",nt=""){return this.overlayRef.updateSize({width:ct,height:nt}),this}addPanelClass(ct){return this.overlayRef.addPanelClass(ct),this}removePanelClass(ct){return this.overlayRef.removePanelClass(ct),this}}const ue=new g.OlP("DialogScrollStrategy"),le=new g.OlP("DialogData"),ie=new g.OlP("DefaultDialogConfig"),se={provide:ue,deps:[t.aV],useFactory:function ce(_t){return()=>_t.scrollStrategies.block()}};let he=0,E=(()=>{class _t{constructor(nt,Jt,vt,ne,Ht,De){this._overlay=nt,this._injector=Jt,this._defaultOptions=vt,this._parentDialog=ne,this._overlayContainer=Ht,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new w.x,this._afterOpenedAtThisLevel=new w.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,L.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,U.O)(void 0))),this._scrollStrategy=De}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}open(nt,Jt){(Jt={...this._defaultOptions||new Y,...Jt}).id=Jt.id||"cdk-dialog-"+he++,Jt.id&&this.getDialogById(Jt.id);const ne=this._getOverlayConfig(Jt),Ht=this._overlay.create(ne),De=new ee(Ht,Jt),ze=this._attachContainer(Ht,De,Jt);return De.containerInstance=ze,this._attachDialogContent(nt,De,ze,Jt),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(De),De.closed.subscribe(()=>this._removeOpenDialog(De,!0)),this.afterOpened.next(De),De}closeAll(){i(this.openDialogs,nt=>nt.close())}getDialogById(nt){return this.openDialogs.find(Jt=>Jt.id===nt)}ngOnDestroy(){i(this._openDialogsAtThisLevel,nt=>{!1===nt.config.closeOnDestroy&&this._removeOpenDialog(nt,!1)}),i(this._openDialogsAtThisLevel,nt=>nt.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(nt){const Jt=new t.X_({positionStrategy:nt.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:nt.scrollStrategy||this._scrollStrategy(),panelClass:nt.panelClass,hasBackdrop:nt.hasBackdrop,direction:nt.direction,minWidth:nt.minWidth,minHeight:nt.minHeight,maxWidth:nt.maxWidth,maxHeight:nt.maxHeight,width:nt.width,height:nt.height,disposeOnNavigation:nt.closeOnNavigation});return nt.backdropClass&&(Jt.backdropClass=nt.backdropClass),Jt}_attachContainer(nt,Jt,vt){const ne=vt.injector||vt.viewContainerRef?.injector,Ht=[{provide:Y,useValue:vt},{provide:ee,useValue:Jt},{provide:t.Iu,useValue:nt}];let De;vt.container?"function"==typeof vt.container?De=vt.container:(De=vt.container.type,Ht.push(...vt.container.providers(vt))):De=X;const ze=new d.C5(De,vt.viewContainerRef,g.zs3.create({parent:ne||this._injector,providers:Ht}),vt.componentFactoryResolver);return nt.attach(ze).instance}_attachDialogContent(nt,Jt,vt,ne){if(nt instanceof g.Rgc){const Ht=this._createInjector(ne,Jt,vt,void 0);let De={$implicit:ne.data,dialogRef:Jt};ne.templateContext&&(De={...De,..."function"==typeof ne.templateContext?ne.templateContext():ne.templateContext}),vt.attachTemplatePortal(new d.UE(nt,null,De,Ht))}else{const Ht=this._createInjector(ne,Jt,vt,this._injector),De=vt.attachComponentPortal(new d.C5(nt,ne.viewContainerRef,Ht,ne.componentFactoryResolver));Jt.componentInstance=De.instance}}_createInjector(nt,Jt,vt,ne){const Ht=nt.injector||nt.viewContainerRef?.injector,De=[{provide:le,useValue:nt.data},{provide:ee,useValue:Jt}];return nt.providers&&("function"==typeof nt.providers?De.push(...nt.providers(Jt,nt,vt)):De.push(...nt.providers)),nt.direction&&(!Ht||!Ht.get(P.Is,null,{optional:!0}))&&De.push({provide:P.Is,useValue:{value:nt.direction,change:(0,I.of)()}}),g.zs3.create({parent:Ht||ne,providers:De})}_removeOpenDialog(nt,Jt){const vt=this.openDialogs.indexOf(nt);vt>-1&&(this.openDialogs.splice(vt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((ne,Ht)=>{ne?Ht.setAttribute("aria-hidden",ne):Ht.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Jt&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const nt=this._overlayContainer.getContainerElement();if(nt.parentElement){const Jt=nt.parentElement.children;for(let vt=Jt.length-1;vt>-1;vt--){const ne=Jt[vt];ne!==nt&&"SCRIPT"!==ne.nodeName&&"STYLE"!==ne.nodeName&&!ne.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(ne,ne.getAttribute("aria-hidden")),ne.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const nt=this._parentDialog;return nt?nt._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return _t.\u0275fac=function(nt){return new(nt||_t)(g.LFG(t.aV),g.LFG(g.zs3),g.LFG(ie,8),g.LFG(_t,12),g.LFG(t.Xj),g.LFG(ue))},_t.\u0275prov=g.Yz7({token:_t,factory:_t.\u0275fac}),_t})();function i(_t,ct){let nt=_t.length;for(;nt--;)ct(_t[nt])}let r=(()=>{class _t{}return _t.\u0275fac=function(nt){return new(nt||_t)},_t.\u0275mod=g.oAB({type:_t}),_t.\u0275inj=g.cJS({providers:[E,se],imports:[t.U8,d.eL,A.rt,d.eL]}),_t})();var h=m(1281),c=m(6451),y=m(9300),S=m(5698),k=m(3238);function n(_t,ct){}m(7340);class b{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}let B=(()=>{class _t extends X{constructor(nt,Jt,vt,ne,Ht,De,ze,wt){super(nt,Jt,vt,ne,Ht,De,ze,wt),this._animationStateChanged=new g.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(nt){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:nt})}}return _t.\u0275fac=function(nt){return new(nt||_t)(g.Y36(g.SBq),g.Y36(A.qV),g.Y36(e.K0,8),g.Y36(b),g.Y36(A.ic),g.Y36(g.R0b),g.Y36(t.Iu),g.Y36(A.tE))},_t.\u0275cmp=g.Xpm({type:_t,selectors:[["ng-component"]],features:[g.qOj],decls:0,vars:0,template:function(nt,Jt){},encapsulation:2}),_t})();const z="--mat-dialog-transition-duration";function W(_t){return null==_t?null:"number"==typeof _t?_t:_t.endsWith("ms")?(0,h.su)(_t.substring(0,_t.length-2)):_t.endsWith("s")?1e3*(0,h.su)(_t.substring(0,_t.length-1)):"0"===_t?0:null}let Oe=(()=>{class _t extends B{constructor(nt,Jt,vt,ne,Ht,De,ze,wt,Re){super(nt,Jt,vt,ne,Ht,De,ze,Re),this._animationMode=wt,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?W(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?W(this._config.exitAnimationDuration)??u_DIALOG_ANIMATION_CLOSE_TIME_MS:0,this._animationTimer=null,this._finishDialogOpen=()=>{this._clearAnimationClasses(),this._openAnimationDone(this._openAnimationDuration)},this._finishDialogClose=()=>{this._clearAnimationClasses(),this._animationStateChanged.emit({state:"closed",totalTime:this._closeAnimationDuration})}}_contentAttached(){super._contentAttached(),this._startOpenAnimation()}ngOnDestroy(){super.ngOnDestroy(),null!==this._animationTimer&&clearTimeout(this._animationTimer)}_startOpenAnimation(){this._animationStateChanged.emit({state:"opening",totalTime:this._openAnimationDuration}),this._animationsEnabled?(this._hostElement.style.setProperty(z,`${this._openAnimationDuration}ms`),this._hostElement.classList.add("mdc-dialog--opening"),this._hostElement.classList.add(o_OPEN),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(o_OPEN),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(o_OPEN),this._animationsEnabled?(this._hostElement.style.setProperty(z,`${this._openAnimationDuration}ms`),this._hostElement.classList.add("mdc-dialog--closing"),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove("mdc-dialog--opening"),this._hostElement.classList.remove("mdc-dialog--closing")}_waitForAnimationToComplete(nt,Jt){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Jt,nt)}}return _t.\u0275fac=function(nt){return new(nt||_t)(g.Y36(g.SBq),g.Y36(A.qV),g.Y36(e.K0,8),g.Y36(b),g.Y36(A.ic),g.Y36(g.R0b),g.Y36(t.Iu),g.Y36(g.QbO,8),g.Y36(A.tE))},_t.\u0275cmp=g.Xpm({type:_t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(nt,Jt){2&nt&&(g.Ikx("id",Jt._config.id),g.uIk("aria-modal",Jt._config.ariaModal)("role",Jt._config.role)("aria-labelledby",Jt._config.ariaLabel?null:Jt._ariaLabelledBy)("aria-label",Jt._config.ariaLabel)("aria-describedby",Jt._config.ariaDescribedBy||null),g.ekj("_mat-animation-noopable",!Jt._animationsEnabled))},features:[g.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(nt,Jt){1&nt&&(g.TgZ(0,"div",0)(1,"div",1),g.YNc(2,n,0,0,"ng-template",2),g.qZA()())},dependencies:[d.Pl],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%;transform:scale(0.8);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}.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--open .mdc-dialog__scrim{opacity:1}.mdc-dialog--open .mdc-dialog__container{transform:none;opacity:1}.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__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{display:block;width:100%;height:100%}.mat-mdc-dialog-container{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, var(--mdc-shape-medium, 4px))}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title,.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__actions,.mat-mdc-dialog-container.mdc-dialog--scrollable.mdc-dialog-scroll-divider-footer .mdc-dialog__actions{border-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container.mdc-dialog--scrollable .mdc-dialog__title{border-bottom-color:var(--mdc-dialog-with-divider-divider-color, black)}.mat-mdc-dialog-container .mdc-dialog__title{font-family:var(--mdc-dialog-subhead-font, "Arial");line-height:var(--mdc-dialog-subhead-line-height, 14px);font-size:var(--mdc-dialog-subhead-size, 14px);font-weight:var(--mdc-dialog-subhead-weight, 500);letter-spacing:var(--mdc-dialog-subhead-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__title{color:var(--mdc-dialog-subhead-color, black)}.mat-mdc-dialog-container .mdc-dialog__content{font-family:var(--mdc-dialog-supporting-text-font, "Arial");line-height:var(--mdc-dialog-supporting-text-line-height, 14px);font-size:var(--mdc-dialog-supporting-text-size, 14px);font-weight:var(--mdc-dialog-supporting-text-weight, 500);letter-spacing:var(--mdc-dialog-supporting-text-tracking, 1px)}.mat-mdc-dialog-container .mdc-dialog__content{color:var(--mdc-dialog-supporting-text-color, black)}.mat-mdc-dialog-container .mdc-dialog__container{transition-duration:var(--mat-dialog-transition-duration, 0ms)}.mat-mdc-dialog-container._mat-animation-noopable .mdc-dialog__container{transition:none}.mat-mdc-dialog-content{display:block}.mat-mdc-dialog-actions{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}),_t})();class it{constructor(ct,nt,Jt){this._ref=ct,this._containerInstance=Jt,this._afterOpened=new w.x,this._beforeClosed=new w.x,this._state=0,this.disableClose=nt.disableClose,this.id=ct.id,Jt._animationStateChanged.pipe((0,y.h)(vt=>"opened"===vt.state),(0,S.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Jt._animationStateChanged.pipe((0,y.h)(vt=>"closed"===vt.state),(0,S.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),ct.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,c.T)(this.backdropClick(),this.keydownEvents().pipe((0,y.h)(vt=>vt.keyCode===M.hY&&!this.disableClose&&!(0,M.Vb)(vt)))).subscribe(vt=>{this.disableClose||(vt.preventDefault(),Ne(this,"keydown"===vt.type?"keyboard":"mouse"))})}close(ct){this._result=ct,this._containerInstance._animationStateChanged.pipe((0,y.h)(nt=>"closing"===nt.state),(0,S.q)(1)).subscribe(nt=>{this._beforeClosed.next(ct),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),nt.totalTime+100)}),this._state=1,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(ct){let nt=this._ref.config.positionStrategy;return ct&&(ct.left||ct.right)?ct.left?nt.left(ct.left):nt.right(ct.right):nt.centerHorizontally(),ct&&(ct.top||ct.bottom)?ct.top?nt.top(ct.top):nt.bottom(ct.bottom):nt.centerVertically(),this._ref.updatePosition(),this}updateSize(ct="",nt=""){return this._ref.updateSize(ct,nt),this}addPanelClass(ct){return this._ref.addPanelClass(ct),this}removePanelClass(ct){return this._ref.removePanelClass(ct),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Ne(_t,ct,nt){return _t._closeInteractionType=ct,_t.close(nt)}const ot=new g.OlP("MatMdcDialogData"),Ie=new g.OlP("mat-mdc-dialog-default-options"),ve=new g.OlP("mat-mdc-dialog-scroll-strategy"),Se={provide:ve,deps:[t.aV],useFactory:function fe(_t){return()=>_t.scrollStrategies.block()}};let Ke=0,Ae=(()=>{class _t{constructor(nt,Jt,vt,ne,Ht,De,ze,wt,Re,tt){this._overlay=nt,this._defaultOptions=vt,this._parentDialog=ne,this._dialogRefConstructor=ze,this._dialogContainerType=wt,this._dialogDataToken=Re,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new w.x,this._afterOpenedAtThisLevel=new w.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=b,this.afterAllClosed=(0,L.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,U.O)(void 0))),this._scrollStrategy=De,this._dialog=Jt.get(E)}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const nt=this._parentDialog;return nt?nt._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(nt,Jt){let vt;(Jt={...this._defaultOptions||new b,...Jt}).id=Jt.id||`${this._idPrefix}${Ke++}`,Jt.scrollStrategy=Jt.scrollStrategy||this._scrollStrategy();const ne=this._dialog.open(nt,{...Jt,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Jt},{provide:Y,useValue:Jt}]},templateContext:()=>({dialogRef:vt}),providers:(Ht,De,ze)=>(vt=new this._dialogRefConstructor(Ht,Jt,ze),vt.updatePosition(Jt?.position),[{provide:this._dialogContainerType,useValue:ze},{provide:this._dialogDataToken,useValue:De.data},{provide:this._dialogRefConstructor,useValue:vt}])});return vt.componentInstance=ne.componentInstance,this.openDialogs.push(vt),this.afterOpened.next(vt),vt.afterClosed().subscribe(()=>{const Ht=this.openDialogs.indexOf(vt);Ht>-1&&(this.openDialogs.splice(Ht,1),this.openDialogs.length||this._getAfterAllClosed().next())}),vt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(nt){return this.openDialogs.find(Jt=>Jt.id===nt)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(nt){let Jt=nt.length;for(;Jt--;)nt[Jt].close()}}return _t.\u0275fac=function(nt){g.$Z()},_t.\u0275prov=g.Yz7({token:_t,factory:_t.\u0275fac}),_t})(),oe=(()=>{class _t extends Ae{constructor(nt,Jt,vt,ne,Ht,De,ze,wt){super(nt,Jt,ne,De,ze,Ht,it,Oe,ot,wt),this._idPrefix="mat-mdc-dialog-"}}return _t.\u0275fac=function(nt){return new(nt||_t)(g.LFG(t.aV),g.LFG(g.zs3),g.LFG(e.Ye,8),g.LFG(Ie,8),g.LFG(ve),g.LFG(_t,12),g.LFG(t.Xj),g.LFG(g.QbO,8))},_t.\u0275prov=g.Yz7({token:_t,factory:_t.\u0275fac}),_t})(),me=(()=>{class _t{constructor(nt,Jt,vt){this.dialogRef=nt,this._elementRef=Jt,this._dialog=vt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function de(_t,ct){let nt=_t.nativeElement.parentElement;for(;nt&&!nt.classList.contains("mat-mdc-dialog-container");)nt=nt.parentElement;return nt?ct.find(Jt=>Jt.id===nt.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(nt){const Jt=nt._matDialogClose||nt._matDialogCloseResult;Jt&&(this.dialogResult=Jt.currentValue)}_onButtonClick(nt){Ne(this.dialogRef,0===nt.screenX&&0===nt.screenY?"keyboard":"mouse",this.dialogResult)}}return _t.\u0275fac=function(nt){return new(nt||_t)(g.Y36(it,8),g.Y36(g.SBq),g.Y36(oe))},_t.\u0275dir=g.lG2({type:_t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(nt,Jt){1&nt&&g.NdJ("click",function(ne){return Jt._onButtonClick(ne)}),2&nt&&g.uIk("aria-label",Jt.ariaLabel||null)("type",Jt.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[g.TTD]}),_t})(),xe=(()=>{class _t{}return _t.\u0275fac=function(nt){return new(nt||_t)},_t.\u0275mod=g.oAB({type:_t}),_t.\u0275inj=g.cJS({providers:[oe,Se],imports:[r,t.U8,d.eL,k.BQ,k.BQ]}),_t})()},4850:(Ge,Q,m)=>{"use strict";m.d(Q,{d:()=>A,t:()=>o});var t=m(4650),e=m(1281),g=m(3238);let A=(()=>{class C{constructor(){this._vertical=!1,this._inset=!1}get vertical(){return this._vertical}set vertical(O){this._vertical=(0,e.Ig)(O)}get inset(){return this._inset}set inset(O){this._inset=(0,e.Ig)(O)}}return C.\u0275fac=function(O){return new(O||C)},C.\u0275cmp=t.Xpm({type:C,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(O,d){2&O&&(t.uIk("aria-orientation",d.vertical?"vertical":"horizontal"),t.ekj("mat-divider-vertical",d.vertical)("mat-divider-horizontal",!d.vertical)("mat-divider-inset",d.inset))},inputs:{vertical:"vertical",inset:"inset"},decls:0,vars:0,template:function(O,d){},styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.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}),C})(),o=(()=>{class C{}return C.\u0275fac=function(O){return new(O||C)},C.\u0275mod=t.oAB({type:C}),C.\u0275inj=t.cJS({imports:[g.BQ,g.BQ]}),C})()},752:(Ge,Q,m)=>{"use strict";m.d(Q,{pp:()=>Ie,To:()=>ve,ib:()=>B,u4:()=>Ne,yz:()=>it,yK:()=>ot});var t=m(4650),e=m(5017),g=m(1281),A=m(7579),o=m(727);let C=0;const u=new t.OlP("CdkAccordion");let O=(()=>{class fe{constructor(){this._stateChanges=new A.x,this._openCloseAllActions=new A.x,this.id="cdk-accordion-"+C++,this._multi=!1}get multi(){return this._multi}set multi(te){this._multi=(0,g.Ig)(te)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(te){this._stateChanges.next(te)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return fe.\u0275fac=function(te){return new(te||fe)},fe.\u0275dir=t.lG2({type:fe,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[t._Bn([{provide:u,useExisting:fe}]),t.TTD]}),fe})(),d=0,M=(()=>{class fe{constructor(te,Ke,Ae){this.accordion=te,this._changeDetectorRef=Ke,this._expansionDispatcher=Ae,this._openCloseAllSubscription=o.w0.EMPTY,this.closed=new t.vpe,this.opened=new t.vpe,this.destroyed=new t.vpe,this.expandedChange=new t.vpe,this.id="cdk-accordion-child-"+d++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=Ae.listen((oe,ye)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===ye&&this.id!==oe&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}get expanded(){return this._expanded}set expanded(te){te=(0,g.Ig)(te),this._expanded!==te&&(this._expanded=te,this.expandedChange.emit(te),te?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(te){this._disabled=(0,g.Ig)(te)}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(te=>{this.disabled||(this.expanded=te)})}}return fe.\u0275fac=function(te){return new(te||fe)(t.Y36(u,12),t.Y36(t.sBO),t.Y36(e.A8))},fe.\u0275dir=t.lG2({type:fe,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[t._Bn([{provide:u,useValue:void 0}])]}),fe})(),w=(()=>{class fe{}return fe.\u0275fac=function(te){return new(te||fe)},fe.\u0275mod=t.oAB({type:fe}),fe.\u0275inj=t.cJS({}),fe})();var L=m(4080),I=m(6895),P=m(3238),U=m(4761),Z=m(1884),Y=m(8675),j=m(9300),X=m(5698),ee=m(9521),ue=m(515),le=m(6451),ie=m(7340);const ce=["body"];function se(fe,Se){}const he=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],E=["mat-expansion-panel-header","*","mat-action-row"];function i(fe,Se){if(1&fe&&t._UZ(0,"span",2),2&fe){const te=t.oxw();t.Q6J("@indicatorRotate",te._getExpandedState())}}const r=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],h=["mat-panel-title","mat-panel-description","*"],c=new t.OlP("MAT_ACCORDION"),y="225ms cubic-bezier(0.4,0.0,0.2,1)",S={indicatorRotate:(0,ie.X$)("indicatorRotate",[(0,ie.SB)("collapsed, void",(0,ie.oB)({transform:"rotate(0deg)"})),(0,ie.SB)("expanded",(0,ie.oB)({transform:"rotate(180deg)"})),(0,ie.eR)("expanded <=> collapsed, void => collapsed",(0,ie.jt)(y))]),bodyExpansion:(0,ie.X$)("bodyExpansion",[(0,ie.SB)("collapsed, void",(0,ie.oB)({height:"0px",visibility:"hidden"})),(0,ie.SB)("expanded",(0,ie.oB)({height:"*",visibility:"visible"})),(0,ie.eR)("expanded <=> collapsed, void => collapsed",(0,ie.jt)(y))])},k=new t.OlP("MAT_EXPANSION_PANEL");let v=(()=>{class fe{constructor(te,Ke){this._template=te,this._expansionPanel=Ke}}return fe.\u0275fac=function(te){return new(te||fe)(t.Y36(t.Rgc),t.Y36(k,8))},fe.\u0275dir=t.lG2({type:fe,selectors:[["ng-template","matExpansionPanelContent",""]]}),fe})(),n=0;const b=new t.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let B=(()=>{class fe extends M{constructor(te,Ke,Ae,oe,ye,me,Me){super(te,Ke,Ae),this._viewContainerRef=oe,this._animationMode=me,this._hideToggle=!1,this.afterExpand=new t.vpe,this.afterCollapse=new t.vpe,this._inputChanges=new A.x,this._headerId="mat-expansion-panel-header-"+n++,this._bodyAnimationDone=new A.x,this.accordion=te,this._document=ye,this._bodyAnimationDone.pipe((0,Z.x)((Ze,q)=>Ze.fromState===q.fromState&&Ze.toState===q.toState)).subscribe(Ze=>{"void"!==Ze.fromState&&("expanded"===Ze.toState?this.afterExpand.emit():"collapsed"===Ze.toState&&this.afterCollapse.emit())}),Me&&(this.hideToggle=Me.hideToggle)}get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(te){this._hideToggle=(0,g.Ig)(te)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(te){this._togglePosition=te}_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,Y.O)(null),(0,j.h)(()=>this.expanded&&!this._portal),(0,X.q)(1)).subscribe(()=>{this._portal=new L.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(te){this._inputChanges.next(te)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const te=this._document.activeElement,Ke=this._body.nativeElement;return te===Ke||Ke.contains(te)}return!1}}return fe.\u0275fac=function(te){return new(te||fe)(t.Y36(c,12),t.Y36(t.sBO),t.Y36(e.A8),t.Y36(t.s_b),t.Y36(I.K0),t.Y36(t.QbO,8),t.Y36(b,8))},fe.\u0275cmp=t.Xpm({type:fe,selectors:[["mat-expansion-panel"]],contentQueries:function(te,Ke,Ae){if(1&te&&t.Suo(Ae,v,5),2&te){let oe;t.iGM(oe=t.CRH())&&(Ke._lazyContent=oe.first)}},viewQuery:function(te,Ke){if(1&te&&t.Gf(ce,5),2&te){let Ae;t.iGM(Ae=t.CRH())&&(Ke._body=Ae.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(te,Ke){2&te&&t.ekj("mat-expanded",Ke.expanded)("_mat-animation-noopable","NoopAnimations"===Ke._animationMode)("mat-expansion-panel-spacing",Ke._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[t._Bn([{provide:c,useValue:void 0},{provide:k,useExisting:fe}]),t.qOj,t.TTD],ngContentSelectors:E,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(te,Ke){1&te&&(t.F$t(he),t.Hsn(0),t.TgZ(1,"div",0,1),t.NdJ("@bodyExpansion.done",function(oe){return Ke._bodyAnimationDone.next(oe)}),t.TgZ(3,"div",2),t.Hsn(4,1),t.YNc(5,se,0,0,"ng-template",3),t.qZA(),t.Hsn(6,2),t.qZA()),2&te&&(t.xp6(1),t.Q6J("@bodyExpansion",Ke._getExpandedState())("id",Ke.id),t.uIk("aria-labelledby",Ke._headerId),t.xp6(4),t.Q6J("cdkPortalOutlet",Ke._portal))},dependencies:[L.Pl],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;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}.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:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.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}.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}.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:[S.bodyExpansion]},changeDetection:0}),fe})();class W{}const Oe=(0,P.sb)(W);let it=(()=>{class fe extends Oe{constructor(te,Ke,Ae,oe,ye,me,Me){super(),this.panel=te,this._element=Ke,this._focusMonitor=Ae,this._changeDetectorRef=oe,this._animationMode=me,this._parentChangeSubscription=o.w0.EMPTY;const Ze=te.accordion?te.accordion._stateChanges.pipe((0,j.h)(q=>!(!q.hideToggle&&!q.togglePosition))):ue.E;this.tabIndex=parseInt(Me||"")||0,this._parentChangeSubscription=(0,le.T)(te.opened,te.closed,Ze,te._inputChanges.pipe((0,j.h)(q=>!!(q.hideToggle||q.disabled||q.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),te.closed.pipe((0,j.h)(()=>te._containsFocus())).subscribe(()=>Ae.focusVia(Ke,"program")),ye&&(this.expandedHeight=ye.expandedHeight,this.collapsedHeight=ye.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 te=this._isExpanded();return te&&this.expandedHeight?this.expandedHeight:!te&&this.collapsedHeight?this.collapsedHeight:null}_keydown(te){switch(te.keyCode){case ee.L_:case ee.K5:(0,ee.Vb)(te)||(te.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(te))}}focus(te,Ke){te?this._focusMonitor.focusVia(this._element,te,Ke):this._element.nativeElement.focus(Ke)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(te=>{te&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return fe.\u0275fac=function(te){return new(te||fe)(t.Y36(B,1),t.Y36(t.SBq),t.Y36(U.tE),t.Y36(t.sBO),t.Y36(b,8),t.Y36(t.QbO,8),t.$8M("tabindex"))},fe.\u0275cmp=t.Xpm({type:fe,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(te,Ke){1&te&&t.NdJ("click",function(){return Ke._toggle()})("keydown",function(oe){return Ke._keydown(oe)}),2&te&&(t.uIk("id",Ke.panel._headerId)("tabindex",Ke.tabIndex)("aria-controls",Ke._getPanelId())("aria-expanded",Ke._isExpanded())("aria-disabled",Ke.panel.disabled),t.Udp("height",Ke._getHeaderHeight()),t.ekj("mat-expanded",Ke._isExpanded())("mat-expansion-toggle-indicator-after","after"===Ke._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Ke._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Ke._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[t.qOj],ngContentSelectors:h,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(te,Ke){1&te&&(t.F$t(r),t.TgZ(0,"span",0),t.Hsn(1),t.Hsn(2,1),t.Hsn(3,2),t.qZA(),t.YNc(4,i,1,1,"span",1)),2&te&&(t.ekj("mat-content-hide-toggle",!Ke._showToggle()),t.xp6(4),t.Q6J("ngIf",Ke._showToggle()))},dependencies:[I.O5],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)}.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:not([aria-disabled=true]){cursor:pointer}.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,.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-description{flex-grow:2}.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}.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:[S.indicatorRotate]},changeDetection:0}),fe})(),Ne=(()=>{class fe{}return fe.\u0275fac=function(te){return new(te||fe)},fe.\u0275dir=t.lG2({type:fe,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),fe})(),ot=(()=>{class fe{}return fe.\u0275fac=function(te){return new(te||fe)},fe.\u0275dir=t.lG2({type:fe,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),fe})(),Ie=(()=>{class fe extends O{constructor(){super(...arguments),this._ownHeaders=new t.n_E,this._hideToggle=!1,this.displayMode="default",this.togglePosition="after"}get hideToggle(){return this._hideToggle}set hideToggle(te){this._hideToggle=(0,g.Ig)(te)}ngAfterContentInit(){this._headers.changes.pipe((0,Y.O)(this._headers)).subscribe(te=>{this._ownHeaders.reset(te.filter(Ke=>Ke.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new U.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(te){this._keyManager.onKeydown(te)}_handleHeaderFocus(te){this._keyManager.updateActiveItem(te)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}return fe.\u0275fac=function(){let Se;return function(Ke){return(Se||(Se=t.n5z(fe)))(Ke||fe)}}(),fe.\u0275dir=t.lG2({type:fe,selectors:[["mat-accordion"]],contentQueries:function(te,Ke,Ae){if(1&te&&t.Suo(Ae,it,5),2&te){let oe;t.iGM(oe=t.CRH())&&(Ke._headers=oe)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(te,Ke){2&te&&t.ekj("mat-accordion-multi",Ke.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[t._Bn([{provide:c,useExisting:fe}]),t.qOj]}),fe})(),ve=(()=>{class fe{}return fe.\u0275fac=function(te){return new(te||fe)},fe.\u0275mod=t.oAB({type:fe}),fe.\u0275inj=t.cJS({imports:[I.ez,P.BQ,w,L.eL]}),fe})()},9549:(Ge,Q,m)=>{"use strict";m.d(Q,{Eo:()=>ye,G_:()=>q,KE:()=>nt,R9:()=>Ie,TO:()=>z,bx:()=>Oe,hX:()=>n,lN:()=>Jt});var t=m(4650),e=m(445),g=m(3353),A=m(7579),o=m(6451),C=m(2722),u=m(6895),O=m(1281),d=m(7340),M=m(9643),w=m(3238);const L=["matFormFieldNotchedOutline",""],I=["*"],P=["textField"],U=["iconPrefixContainer"],Z=["textPrefixContainer"];function Y(vt,ne){1&vt&&t._UZ(0,"span",19)}function j(vt,ne){if(1&vt){const Ht=t.EpF();t.TgZ(0,"label",17),t.NdJ("cdkObserveContent",function(){t.CHM(Ht);const ze=t.oxw(2);return t.KtG(ze._refreshOutlineNotchWidth())}),t.Hsn(1,1),t.YNc(2,Y,1,0,"span",18),t.qZA()}if(2&vt){const Ht=t.oxw(2);t.Q6J("floating",Ht._shouldLabelFloat())("cdkObserveContentDisabled",!Ht._hasOutline())("id",Ht._labelId),t.uIk("for",Ht._control.id)("aria-owns",Ht._control.id),t.xp6(2),t.Q6J("ngIf",!Ht.hideRequiredMarker&&Ht._control.required)}}function X(vt,ne){if(1&vt&&t.YNc(0,j,3,6,"label",16),2&vt){const Ht=t.oxw();t.Q6J("ngIf",Ht._hasFloatingLabel())}}function ee(vt,ne){1&vt&&t._UZ(0,"div",20)}function ue(vt,ne){}function le(vt,ne){if(1&vt&&t.YNc(0,ue,0,0,"ng-template",22),2&vt){t.oxw(2);const Ht=t.MAs(1);t.Q6J("ngTemplateOutlet",Ht)}}function ie(vt,ne){if(1&vt&&(t.TgZ(0,"div",21),t.YNc(1,le,1,1,"ng-template",9),t.qZA()),2&vt){const Ht=t.oxw();t.Q6J("matFormFieldNotchedOutlineOpen",Ht._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",Ht._labelWidth),t.xp6(1),t.Q6J("ngIf",!Ht._forceDisplayInfixLabel())}}function ce(vt,ne){1&vt&&(t.TgZ(0,"div",23,24),t.Hsn(2,2),t.qZA())}function se(vt,ne){1&vt&&(t.TgZ(0,"div",25,26),t.Hsn(2,3),t.qZA())}function he(vt,ne){}function E(vt,ne){if(1&vt&&t.YNc(0,he,0,0,"ng-template",22),2&vt){t.oxw();const Ht=t.MAs(1);t.Q6J("ngTemplateOutlet",Ht)}}function i(vt,ne){1&vt&&(t.TgZ(0,"div",27),t.Hsn(1,4),t.qZA())}function r(vt,ne){1&vt&&(t.TgZ(0,"div",28),t.Hsn(1,5),t.qZA())}function h(vt,ne){1&vt&&t._UZ(0,"div",29)}function c(vt,ne){if(1&vt&&(t.TgZ(0,"div",30),t.Hsn(1,6),t.qZA()),2&vt){const Ht=t.oxw();t.Q6J("@transitionMessages",Ht._subscriptAnimationState)}}function y(vt,ne){if(1&vt&&(t.TgZ(0,"mat-hint",34),t._uU(1),t.qZA()),2&vt){const Ht=t.oxw(2);t.Q6J("id",Ht._hintLabelId),t.xp6(1),t.Oqu(Ht.hintLabel)}}function S(vt,ne){if(1&vt&&(t.TgZ(0,"div",31),t.YNc(1,y,2,2,"mat-hint",32),t.Hsn(2,7),t._UZ(3,"div",33),t.Hsn(4,8),t.qZA()),2&vt){const Ht=t.oxw();t.Q6J("@transitionMessages",Ht._subscriptAnimationState),t.xp6(1),t.Q6J("ngIf",Ht.hintLabel)}}const k=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],v=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let n=(()=>{class vt{}return vt.\u0275fac=function(Ht){return new(Ht||vt)},vt.\u0275dir=t.lG2({type:vt,selectors:[["mat-label"]]}),vt})(),b=0;const B=new t.OlP("MatError");let z=(()=>{class vt{constructor(Ht,De){this.id="mat-mdc-error-"+b++,Ht||De.nativeElement.setAttribute("aria-live","polite")}}return vt.\u0275fac=function(Ht){return new(Ht||vt)(t.$8M("aria-live"),t.Y36(t.SBq))},vt.\u0275dir=t.lG2({type:vt,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(Ht,De){2&Ht&&t.Ikx("id",De.id)},inputs:{id:"id"},features:[t._Bn([{provide:B,useExisting:vt}])]}),vt})(),W=0,Oe=(()=>{class vt{constructor(){this.align="start",this.id="mat-mdc-hint-"+W++}}return vt.\u0275fac=function(Ht){return new(Ht||vt)},vt.\u0275dir=t.lG2({type:vt,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Ht,De){2&Ht&&(t.Ikx("id",De.id),t.uIk("align",null),t.ekj("mat-mdc-form-field-hint-end","end"===De.align))},inputs:{align:"align",id:"id"}}),vt})();const it=new t.OlP("MatPrefix"),ot=new t.OlP("MatSuffix");let Ie=(()=>{class vt{constructor(){this._isText=!1}set _isTextSelector(Ht){this._isText=!0}}return vt.\u0275fac=function(Ht){return new(Ht||vt)},vt.\u0275dir=t.lG2({type:vt,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[t._Bn([{provide:ot,useExisting:vt}])]}),vt})(),ve=(()=>{class vt{constructor(Ht){this._elementRef=Ht,this.floating=!1}getWidth(){return function fe(vt){if(null!==vt.offsetParent)return vt.scrollWidth;const Ht=vt.cloneNode(!0);Ht.style.setProperty("position","absolute"),Ht.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Ht);const De=Ht.scrollWidth;return Ht.remove(),De}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return vt.\u0275fac=function(Ht){return new(Ht||vt)(t.Y36(t.SBq))},vt.\u0275dir=t.lG2({type:vt,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Ht,De){2&Ht&&t.ekj("mdc-floating-label--float-above",De.floating)},inputs:{floating:"floating"}}),vt})();const Se="mdc-line-ripple--active",te="mdc-line-ripple--deactivating";let Ke=(()=>{class vt{constructor(Ht,De){this._elementRef=Ht,this._handleTransitionEnd=ze=>{const wt=this._elementRef.nativeElement.classList,Re=wt.contains(te);"opacity"===ze.propertyName&&Re&&wt.remove(Se,te)},De.runOutsideAngular(()=>{Ht.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Ht=this._elementRef.nativeElement.classList;Ht.remove(te),Ht.add(Se)}deactivate(){this._elementRef.nativeElement.classList.add(te)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return vt.\u0275fac=function(Ht){return new(Ht||vt)(t.Y36(t.SBq),t.Y36(t.R0b))},vt.\u0275dir=t.lG2({type:vt,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),vt})(),Ae=(()=>{class vt{constructor(Ht,De){this._elementRef=Ht,this._ngZone=De,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const Ht=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Ht?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Ht.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Ht.style.transitionDuration="")}))):this._elementRef.nativeElement.classList.add("mdc-notched-outline--no-label")}_getNotchWidth(){return this.open?this.labelWidth>0?`calc(${this.labelWidth}px * var(--mat-mdc-form-field-floating-label-scale, 0.75) + 9px)`:"0px":null}}return vt.\u0275fac=function(Ht){return new(Ht||vt)(t.Y36(t.SBq),t.Y36(t.R0b))},vt.\u0275cmp=t.Xpm({type:vt,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Ht,De){2&Ht&&t.ekj("mdc-notched-outline--notched",De.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:L,ngContentSelectors:I,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(Ht,De){1&Ht&&(t.F$t(),t._UZ(0,"div",0),t.TgZ(1,"div",1),t.Hsn(2),t.qZA(),t._UZ(3,"div",2)),2&Ht&&(t.xp6(1),t.Udp("width",De._getNotchWidth()))},encapsulation:2,changeDetection:0}),vt})();const oe={transitionMessages:(0,d.X$)("transitionMessages",[(0,d.SB)("enter",(0,d.oB)({opacity:1,transform:"translateY(0%)"})),(0,d.eR)("void => enter",[(0,d.oB)({opacity:0,transform:"translateY(-5px)"}),(0,d.jt)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let ye=(()=>{class vt{}return vt.\u0275fac=function(Ht){return new(Ht||vt)},vt.\u0275dir=t.lG2({type:vt}),vt})();const q=new t.OlP("MatFormField"),de=new t.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let xe=0,nt=(()=>{class vt{constructor(Ht,De,ze,wt,Re,tt,Bt,It){this._elementRef=Ht,this._changeDetectorRef=De,this._ngZone=ze,this._dir=wt,this._platform=Re,this._defaults=tt,this._animationMode=Bt,this._document=It,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-"+xe++,this._hintLabelId="mat-mdc-hint-"+xe++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new A.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,tt&&(tt.appearance&&(this.appearance=tt.appearance),this._hideRequiredMarker=Boolean(tt?.hideRequiredMarker),tt.color&&(this.color=tt.color))}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Ht){this._hideRequiredMarker=(0,O.Ig)(Ht)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Ht){Ht!==this._floatLabel&&(this._floatLabel=Ht,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Ht){const De=this._appearance;this._appearance=Ht||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==De&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Ht){this._subscriptSizing=Ht||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Ht){this._hintLabel=Ht,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Ht){this._explicitFormFieldControl=Ht}ngAfterViewInit(){this._updateFocusState(),this._refreshOutlineNotchWidth(),this._document?.fonts?.ready?this._document.fonts.ready.then(()=>{this._refreshOutlineNotchWidth(),this._changeDetectorRef.markForCheck()}):setTimeout(()=>this._refreshOutlineNotchWidth(),100),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 Ht=this._control;Ht.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Ht.controlType}`),Ht.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Ht.ngControl&&Ht.ngControl.valueChanges&&Ht.ngControl.valueChanges.pipe((0,C.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Ht=>!Ht._isText),this._hasTextPrefix=!!this._prefixChildren.find(Ht=>Ht._isText),this._hasIconSuffix=!!this._suffixChildren.find(Ht=>!Ht._isText),this._hasTextSuffix=!!this._suffixChildren.find(Ht=>Ht._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,o.T)(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,C.R)(this._destroyed)).subscribe(()=>{this._needsOutlineLabelOffsetUpdateOnStable&&(this._needsOutlineLabelOffsetUpdateOnStable=!1,this._updateOutlineLabelOffset())})}),this._dir.change.pipe((0,C.R)(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(Ht){const De=this._control?this._control.ngControl:null;return De&&De[Ht]}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_refreshOutlineNotchWidth(){!this._hasOutline()||!this._floatingLabel||(this._labelWidth=this._floatingLabel.getWidth())}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_syncDescribedByIds(){if(this._control){let Ht=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Ht.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const De=this._hintChildren?this._hintChildren.find(wt=>"start"===wt.align):null,ze=this._hintChildren?this._hintChildren.find(wt=>"end"===wt.align):null;De?Ht.push(De.id):this._hintLabel&&Ht.push(this._hintLabelId),ze&&Ht.push(ze.id)}else this._errorChildren&&Ht.push(...this._errorChildren.map(De=>De.id));this._control.setDescribedByIds(Ht)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Ht=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Ht.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const De=this._iconPrefixContainer?.nativeElement,ze=this._textPrefixContainer?.nativeElement,wt=De?.getBoundingClientRect().width??0,Re=ze?.getBoundingClientRect().width??0;Ht.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${wt+Re}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Ht=this._elementRef.nativeElement;if(Ht.getRootNode){const De=Ht.getRootNode();return De&&De!==Ht}return document.documentElement.contains(Ht)}}return vt.\u0275fac=function(Ht){return new(Ht||vt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.Y36(e.Is),t.Y36(g.t4),t.Y36(de,8),t.Y36(t.QbO,8),t.Y36(u.K0))},vt.\u0275cmp=t.Xpm({type:vt,selectors:[["mat-form-field"]],contentQueries:function(Ht,De,ze){if(1&Ht&&(t.Suo(ze,n,5),t.Suo(ze,n,7),t.Suo(ze,ye,5),t.Suo(ze,it,5),t.Suo(ze,ot,5),t.Suo(ze,B,5),t.Suo(ze,Oe,5)),2&Ht){let wt;t.iGM(wt=t.CRH())&&(De._labelChildNonStatic=wt.first),t.iGM(wt=t.CRH())&&(De._labelChildStatic=wt.first),t.iGM(wt=t.CRH())&&(De._formFieldControl=wt.first),t.iGM(wt=t.CRH())&&(De._prefixChildren=wt),t.iGM(wt=t.CRH())&&(De._suffixChildren=wt),t.iGM(wt=t.CRH())&&(De._errorChildren=wt),t.iGM(wt=t.CRH())&&(De._hintChildren=wt)}},viewQuery:function(Ht,De){if(1&Ht&&(t.Gf(P,5),t.Gf(U,5),t.Gf(Z,5),t.Gf(ve,5),t.Gf(Ae,5),t.Gf(Ke,5)),2&Ht){let ze;t.iGM(ze=t.CRH())&&(De._textField=ze.first),t.iGM(ze=t.CRH())&&(De._iconPrefixContainer=ze.first),t.iGM(ze=t.CRH())&&(De._textPrefixContainer=ze.first),t.iGM(ze=t.CRH())&&(De._floatingLabel=ze.first),t.iGM(ze=t.CRH())&&(De._notchedOutline=ze.first),t.iGM(ze=t.CRH())&&(De._lineRipple=ze.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Ht,De){2&Ht&&t.ekj("mat-mdc-form-field-label-always-float",De._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",De._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",De._hasIconSuffix)("mat-form-field-invalid",De._control.errorState)("mat-form-field-disabled",De._control.disabled)("mat-form-field-autofilled",De._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===De._animationMode)("mat-form-field-appearance-fill","fill"==De.appearance)("mat-form-field-appearance-outline","outline"==De.appearance)("mat-form-field-hide-placeholder",De._hasFloatingLabel()&&!De._shouldLabelFloat())("mat-focused",De._control.focused)("mat-primary","accent"!==De.color&&"warn"!==De.color)("mat-accent","accent"===De.color)("mat-warn","warn"===De.color)("ng-untouched",De._shouldForward("untouched"))("ng-touched",De._shouldForward("touched"))("ng-pristine",De._shouldForward("pristine"))("ng-dirty",De._shouldForward("dirty"))("ng-valid",De._shouldForward("valid"))("ng-invalid",De._shouldForward("invalid"))("ng-pending",De._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[t._Bn([{provide:q,useExisting:vt}])],ngContentSelectors:v,decls:18,vars:23,consts:[["labelTemplate",""],[1,"mat-mdc-text-field-wrapper","mdc-text-field",3,"click"],["textField",""],["class","mat-mdc-form-field-focus-overlay",4,"ngIf"],[1,"mat-mdc-form-field-flex"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth",4,"ngIf"],["class","mat-mdc-form-field-icon-prefix",4,"ngIf"],["class","mat-mdc-form-field-text-prefix",4,"ngIf"],[1,"mat-mdc-form-field-infix"],[3,"ngIf"],["class","mat-mdc-form-field-text-suffix",4,"ngIf"],["class","mat-mdc-form-field-icon-suffix",4,"ngIf"],["matFormFieldLineRipple","",4,"ngIf"],[1,"mat-mdc-form-field-subscript-wrapper","mat-mdc-form-field-bottom-align",3,"ngSwitch"],["class","mat-mdc-form-field-error-wrapper",4,"ngSwitchCase"],["class","mat-mdc-form-field-hint-wrapper",4,"ngSwitchCase"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent",4,"ngIf"],["matFormFieldFloatingLabel","",3,"floating","cdkObserveContentDisabled","id","cdkObserveContent"],["aria-hidden","true","class","mat-mdc-form-field-required-marker mdc-floating-label--required",4,"ngIf"],["aria-hidden","true",1,"mat-mdc-form-field-required-marker","mdc-floating-label--required"],[1,"mat-mdc-form-field-focus-overlay"],["matFormFieldNotchedOutline","",3,"matFormFieldNotchedOutlineOpen","matFormFieldNotchedOutlineLabelWidth"],[3,"ngTemplateOutlet"],[1,"mat-mdc-form-field-icon-prefix"],["iconPrefixContainer",""],[1,"mat-mdc-form-field-text-prefix"],["textPrefixContainer",""],[1,"mat-mdc-form-field-text-suffix"],[1,"mat-mdc-form-field-icon-suffix"],["matFormFieldLineRipple",""],[1,"mat-mdc-form-field-error-wrapper"],[1,"mat-mdc-form-field-hint-wrapper"],[3,"id",4,"ngIf"],[1,"mat-mdc-form-field-hint-spacer"],[3,"id"]],template:function(Ht,De){1&Ht&&(t.F$t(k),t.YNc(0,X,1,1,"ng-template",null,0,t.W1O),t.TgZ(2,"div",1,2),t.NdJ("click",function(wt){return De._control.onContainerClick&&De._control.onContainerClick(wt)}),t.YNc(4,ee,1,0,"div",3),t.TgZ(5,"div",4),t.YNc(6,ie,2,3,"div",5),t.YNc(7,ce,3,0,"div",6),t.YNc(8,se,3,0,"div",7),t.TgZ(9,"div",8),t.YNc(10,E,1,1,"ng-template",9),t.Hsn(11),t.qZA(),t.YNc(12,i,2,0,"div",10),t.YNc(13,r,2,0,"div",11),t.qZA(),t.YNc(14,h,1,0,"div",12),t.qZA(),t.TgZ(15,"div",13),t.YNc(16,c,2,1,"div",14),t.YNc(17,S,5,2,"div",15),t.qZA()),2&Ht&&(t.xp6(2),t.ekj("mdc-text-field--filled",!De._hasOutline())("mdc-text-field--outlined",De._hasOutline())("mdc-text-field--no-label",!De._hasFloatingLabel())("mdc-text-field--disabled",De._control.disabled)("mdc-text-field--invalid",De._control.errorState),t.xp6(2),t.Q6J("ngIf",!De._hasOutline()&&!De._control.disabled),t.xp6(2),t.Q6J("ngIf",De._hasOutline()),t.xp6(1),t.Q6J("ngIf",De._hasIconPrefix),t.xp6(1),t.Q6J("ngIf",De._hasTextPrefix),t.xp6(2),t.Q6J("ngIf",!De._hasOutline()||De._forceDisplayInfixLabel()),t.xp6(2),t.Q6J("ngIf",De._hasTextSuffix),t.xp6(1),t.Q6J("ngIf",De._hasIconSuffix),t.xp6(1),t.Q6J("ngIf",!De._hasOutline()),t.xp6(1),t.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===De.subscriptSizing),t.Q6J("ngSwitch",De._getDisplayedMessages()),t.xp6(1),t.Q6J("ngSwitchCase","error"),t.xp6(1),t.Q6J("ngSwitchCase","hint"))},dependencies:[u.O5,u.tP,u.RF,u.n9,M.wD,Oe,ve,Ae,Ke],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 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-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{transform:translateY(-34.75px) scale(0.75)}.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:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;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:var(--mdc-shape-small, 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:var(--mdc-shape-small, 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:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;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-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{transform:translateY(-24.75px) scale(0.75)}.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-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{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-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::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required::after,.mdc-floating-label--required[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.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%;border-top:1px solid;border-bottom:1px solid;pointer-events:none}.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;flex-grow:1}[dir=rtl] .mdc-notched-outline__trailing,.mdc-notched-outline__trailing[dir=rtl]{border-left:1px solid;border-right:none}.mdc-notched-outline__notch{flex:0 0 auto;width:auto;max-width:calc(100% - 12px * 2)}.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{border-bottom-width:1px}.mdc-line-ripple::after{border-bottom-width:2px}.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}.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{font:inherit;letter-spacing:inherit;text-decoration:inherit;text-transform:inherit;border:none}.mat-mdc-form-field .mat-mdc-floating-label.mdc-floating-label{line-height:normal;pointer-events:all}.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}.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-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-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}.mat-mdc-form-field-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;opacity:0;pointer-events:none}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}.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}[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-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{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[dir=rtl] .mat-mdc-form-field{text-align:right}.mat-mdc-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-mdc-text-field-wrapper{width:100%}.mat-mdc-form-field-icon-prefix,.mat-mdc-form-field-icon-suffix{align-self:center;line-height:0;pointer-events:auto}.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-icon-prefix>.mat-icon,.mat-mdc-form-field-icon-suffix>.mat-icon{padding:12px;box-sizing:content-box}.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(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-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(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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(-10.25px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-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(-10.25px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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(-24.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-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(-24.75px) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 32px)) translateY(-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(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - 32px)) translateY(-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(-34.75px) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - -32px)) translateY(-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(-34.75px) scale(0.75)}100%{transform:translateX(calc(0 - -32px)) translateY(-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(-106%) scale(0.75)}33%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(calc(4% - 0%)) translateY(-106%) scale(0.75)}66%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(calc(-4% - 0%)) translateY(-106%) scale(0.75)}100%{transform:translateX(calc(0 - 0%)) translateY(-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)}'],encapsulation:2,data:{animation:[oe.transitionMessages]},changeDetection:0}),vt})(),Jt=(()=>{class vt{}return vt.\u0275fac=function(Ht){return new(Ht||vt)},vt.\u0275mod=t.oAB({type:vt}),vt.\u0275inj=t.cJS({imports:[w.BQ,u.ez,M.Q8,w.BQ]}),vt})()},782:(Ge,Q,m)=>{"use strict";m.d(Q,{DX:()=>L,Il:()=>se,N6:()=>he});var t=m(4650),e=m(3238),g=m(1281),A=m(445);const o=["*"];class d{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const r=Math.max(...this.tracker);return r>1?this.rowCount+r-1:this.rowCount}update(r,h){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(r),this.tracker.fill(0,0,this.tracker.length),this.positions=h.map(c=>this._trackTile(c))}_trackTile(r){const h=this._findMatchingGap(r.colspan);return this._markTilePosition(h,r),this.columnIndex=h+r.colspan,new M(this.rowIndex,h)}_findMatchingGap(r){let h=-1,c=-1;do{this.columnIndex+r>this.tracker.length?(this._nextRow(),h=this.tracker.indexOf(0,this.columnIndex),c=this._findGapEndIndex(h)):(h=this.tracker.indexOf(0,this.columnIndex),-1!=h?(c=this._findGapEndIndex(h),this.columnIndex=h+1):(this._nextRow(),h=this.tracker.indexOf(0,this.columnIndex),c=this._findGapEndIndex(h)))}while(c-h<r||0==c);return Math.max(h,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let r=0;r<this.tracker.length;r++)this.tracker[r]=Math.max(0,this.tracker[r]-1)}_findGapEndIndex(r){for(let h=r+1;h<this.tracker.length;h++)if(0!=this.tracker[h])return h;return this.tracker.length}_markTilePosition(r,h){for(let c=0;c<h.colspan;c++)this.tracker[r+c]=h.rowspan}}class M{constructor(r,h){this.row=r,this.col=h}}const w=new t.OlP("MAT_GRID_LIST");let L=(()=>{class i{constructor(h,c){this._element=h,this._gridList=c,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(h){this._rowspan=Math.round((0,g.su)(h))}get colspan(){return this._colspan}set colspan(h){this._colspan=Math.round((0,g.su)(h))}_setStyle(h,c){this._element.nativeElement.style[h]=c}}return i.\u0275fac=function(h){return new(h||i)(t.Y36(t.SBq),t.Y36(w,8))},i.\u0275cmp=t.Xpm({type:i,selectors:[["mat-grid-tile"]],hostAttrs:[1,"mat-grid-tile"],hostVars:2,hostBindings:function(h,c){2&h&&t.uIk("rowspan",c.rowspan)("colspan",c.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:o,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(h,c){1&h&&(t.F$t(),t.TgZ(0,"div",0),t.Hsn(1),t.qZA())},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-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}),i})();const Y=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class j{constructor(){this._rows=0,this._rowspan=0}init(r,h,c,y){this._gutterSize=ie(r),this._rows=h.rowCount,this._rowspan=h.rowspan,this._cols=c,this._direction=y}getBaseTileSize(r,h){return`(${r}% - (${this._gutterSize} * ${h}))`}getTilePosition(r,h){return 0===h?"0":le(`(${r} + ${this._gutterSize}) * ${h}`)}getTileSize(r,h){return`(${r} * ${h}) + (${h-1} * ${this._gutterSize})`}setStyle(r,h,c){let y=100/this._cols,S=(this._cols-1)/this._cols;this.setColStyles(r,c,y,S),this.setRowStyles(r,h,y,S)}setColStyles(r,h,c,y){let S=this.getBaseTileSize(c,y);r._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(S,h)),r._setStyle("width",le(this.getTileSize(S,r.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(r){return`${this._rowspan} * ${this.getTileSize(r,1)}`}getComputedHeight(){return null}}class X extends j{constructor(r){super(),this.fixedRowHeight=r}init(r,h,c,y){super.init(r,h,c,y),this.fixedRowHeight=ie(this.fixedRowHeight),Y.test(this.fixedRowHeight)}setRowStyles(r,h){r._setStyle("top",this.getTilePosition(this.fixedRowHeight,h)),r._setStyle("height",le(this.getTileSize(this.fixedRowHeight,r.rowspan)))}getComputedHeight(){return["height",le(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(r){r._setListStyle(["height",null]),r._tiles&&r._tiles.forEach(h=>{h._setStyle("top",null),h._setStyle("height",null)})}}class ee extends j{constructor(r){super(),this._parseRatio(r)}setRowStyles(r,h,c,y){this.baseTileHeight=this.getBaseTileSize(c/this.rowHeightRatio,y),r._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,h)),r._setStyle("paddingTop",le(this.getTileSize(this.baseTileHeight,r.rowspan)))}getComputedHeight(){return["paddingBottom",le(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(r){r._setListStyle(["paddingBottom",null]),r._tiles.forEach(h=>{h._setStyle("marginTop",null),h._setStyle("paddingTop",null)})}_parseRatio(r){const h=r.split(":");this.rowHeightRatio=parseFloat(h[0])/parseFloat(h[1])}}class ue extends j{setRowStyles(r,h){let S=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);r._setStyle("top",this.getTilePosition(S,h)),r._setStyle("height",le(this.getTileSize(S,r.rowspan)))}reset(r){r._tiles&&r._tiles.forEach(h=>{h._setStyle("top",null),h._setStyle("height",null)})}}function le(i){return`calc(${i})`}function ie(i){return i.match(/([A-Za-z%]+)$/)?i:`${i}px`}let se=(()=>{class i{constructor(h,c){this._element=h,this._dir=c,this._gutter="1px"}get cols(){return this._cols}set cols(h){this._cols=Math.max(1,Math.round((0,g.su)(h)))}get gutterSize(){return this._gutter}set gutterSize(h){this._gutter=`${h??""}`}get rowHeight(){return this._rowHeight}set rowHeight(h){const c=`${h??""}`;c!==this._rowHeight&&(this._rowHeight=c,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(h){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===h?new ue:h&&h.indexOf(":")>-1?new ee(h):new X(h)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new d);const h=this._tileCoordinator,c=this._tiles.filter(S=>!S._gridList||S._gridList===this),y=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,c),this._tileStyler.init(this.gutterSize,h,this.cols,y),c.forEach((S,k)=>{const v=h.positions[k];this._tileStyler.setStyle(S,v.row,v.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(h){h&&(this._element.nativeElement.style[h[0]]=h[1])}}return i.\u0275fac=function(h){return new(h||i)(t.Y36(t.SBq),t.Y36(A.Is,8))},i.\u0275cmp=t.Xpm({type:i,selectors:[["mat-grid-list"]],contentQueries:function(h,c,y){if(1&h&&t.Suo(y,L,5),2&h){let S;t.iGM(S=t.CRH())&&(c._tiles=S)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(h,c){2&h&&t.uIk("cols",c.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[t._Bn([{provide:w,useExisting:i}])],ngContentSelectors:o,decls:2,vars:0,template:function(h,c){1&h&&(t.F$t(),t.TgZ(0,"div"),t.Hsn(1),t.qZA())},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-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}),i})(),he=(()=>{class i{}return i.\u0275fac=function(h){return new(h||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[e.uc,e.BQ,e.uc,e.BQ]}),i})()},7392:(Ge,Q,m)=>{"use strict";m.d(Q,{Hw:()=>z,Ps:()=>W});var t=m(4650),e=m(3238),g=m(1281),A=m(6895),o=m(9646),C=m(2843),u=m(4128),O=m(727),d=m(8505),M=m(4004),w=m(262),L=m(8746),I=m(3099),P=m(5698),U=m(529),Z=m(1481);const Y=["*"];let j;function ee(Oe){return function X(){if(void 0===j&&(j=null,typeof window<"u")){const Oe=window;void 0!==Oe.trustedTypes&&(j=Oe.trustedTypes.createPolicy("angular#components",{createHTML:it=>it}))}return j}()?.createHTML(Oe)||Oe}function ue(Oe){return Error(`Unable to find icon with the name "${Oe}"`)}function ie(Oe){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Oe}".`)}function ce(Oe){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Oe}".`)}class se{constructor(it,Ne,ot){this.url=it,this.svgText=Ne,this.options=ot}}let he=(()=>{class Oe{constructor(Ne,ot,Ie,ve){this._httpClient=Ne,this._sanitizer=ot,this._errorHandler=ve,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=Ie}addSvgIcon(Ne,ot,Ie){return this.addSvgIconInNamespace("",Ne,ot,Ie)}addSvgIconLiteral(Ne,ot,Ie){return this.addSvgIconLiteralInNamespace("",Ne,ot,Ie)}addSvgIconInNamespace(Ne,ot,Ie,ve){return this._addSvgIconConfig(Ne,ot,new se(Ie,null,ve))}addSvgIconResolver(Ne){return this._resolvers.push(Ne),this}addSvgIconLiteralInNamespace(Ne,ot,Ie,ve){const fe=this._sanitizer.sanitize(t.q3G.HTML,Ie);if(!fe)throw ce(Ie);const Se=ee(fe);return this._addSvgIconConfig(Ne,ot,new se("",Se,ve))}addSvgIconSet(Ne,ot){return this.addSvgIconSetInNamespace("",Ne,ot)}addSvgIconSetLiteral(Ne,ot){return this.addSvgIconSetLiteralInNamespace("",Ne,ot)}addSvgIconSetInNamespace(Ne,ot,Ie){return this._addSvgIconSetConfig(Ne,new se(ot,null,Ie))}addSvgIconSetLiteralInNamespace(Ne,ot,Ie){const ve=this._sanitizer.sanitize(t.q3G.HTML,ot);if(!ve)throw ce(ot);const fe=ee(ve);return this._addSvgIconSetConfig(Ne,new se("",fe,Ie))}registerFontClassAlias(Ne,ot=Ne){return this._fontCssClassesByAlias.set(Ne,ot),this}classNameForFontAlias(Ne){return this._fontCssClassesByAlias.get(Ne)||Ne}setDefaultFontSetClass(...Ne){return this._defaultFontSetClass=Ne,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ne){const ot=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,Ne);if(!ot)throw ie(Ne);const Ie=this._cachedIconsByUrl.get(ot);return Ie?(0,o.of)(r(Ie)):this._loadSvgIconFromConfig(new se(Ne,null)).pipe((0,d.b)(ve=>this._cachedIconsByUrl.set(ot,ve)),(0,M.U)(ve=>r(ve)))}getNamedSvgIcon(Ne,ot=""){const Ie=h(ot,Ne);let ve=this._svgIconConfigs.get(Ie);if(ve)return this._getSvgFromConfig(ve);if(ve=this._getIconConfigFromResolvers(ot,Ne),ve)return this._svgIconConfigs.set(Ie,ve),this._getSvgFromConfig(ve);const fe=this._iconSetConfigs.get(ot);return fe?this._getSvgFromIconSetConfigs(Ne,fe):(0,C._)(ue(Ie))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ne){return Ne.svgText?(0,o.of)(r(this._svgElementFromConfig(Ne))):this._loadSvgIconFromConfig(Ne).pipe((0,M.U)(ot=>r(ot)))}_getSvgFromIconSetConfigs(Ne,ot){const Ie=this._extractIconWithNameFromAnySet(Ne,ot);if(Ie)return(0,o.of)(Ie);const ve=ot.filter(fe=>!fe.svgText).map(fe=>this._loadSvgIconSetFromConfig(fe).pipe((0,w.K)(Se=>{const Ke=`Loading icon set URL: ${this._sanitizer.sanitize(t.q3G.RESOURCE_URL,fe.url)} failed: ${Se.message}`;return this._errorHandler.handleError(new Error(Ke)),(0,o.of)(null)})));return(0,u.D)(ve).pipe((0,M.U)(()=>{const fe=this._extractIconWithNameFromAnySet(Ne,ot);if(!fe)throw ue(Ne);return fe}))}_extractIconWithNameFromAnySet(Ne,ot){for(let Ie=ot.length-1;Ie>=0;Ie--){const ve=ot[Ie];if(ve.svgText&&ve.svgText.toString().indexOf(Ne)>-1){const fe=this._svgElementFromConfig(ve),Se=this._extractSvgIconFromSet(fe,Ne,ve.options);if(Se)return Se}}return null}_loadSvgIconFromConfig(Ne){return this._fetchIcon(Ne).pipe((0,d.b)(ot=>Ne.svgText=ot),(0,M.U)(()=>this._svgElementFromConfig(Ne)))}_loadSvgIconSetFromConfig(Ne){return Ne.svgText?(0,o.of)(null):this._fetchIcon(Ne).pipe((0,d.b)(ot=>Ne.svgText=ot))}_extractSvgIconFromSet(Ne,ot,Ie){const ve=Ne.querySelector(`[id="${ot}"]`);if(!ve)return null;const fe=ve.cloneNode(!0);if(fe.removeAttribute("id"),"svg"===fe.nodeName.toLowerCase())return this._setSvgAttributes(fe,Ie);if("symbol"===fe.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(fe),Ie);const Se=this._svgElementFromString(ee("<svg></svg>"));return Se.appendChild(fe),this._setSvgAttributes(Se,Ie)}_svgElementFromString(Ne){const ot=this._document.createElement("DIV");ot.innerHTML=Ne;const Ie=ot.querySelector("svg");if(!Ie)throw Error("<svg> tag not found");return Ie}_toSvgElement(Ne){const ot=this._svgElementFromString(ee("<svg></svg>")),Ie=Ne.attributes;for(let ve=0;ve<Ie.length;ve++){const{name:fe,value:Se}=Ie[ve];"id"!==fe&&ot.setAttribute(fe,Se)}for(let ve=0;ve<Ne.childNodes.length;ve++)Ne.childNodes[ve].nodeType===this._document.ELEMENT_NODE&&ot.appendChild(Ne.childNodes[ve].cloneNode(!0));return ot}_setSvgAttributes(Ne,ot){return Ne.setAttribute("fit",""),Ne.setAttribute("height","100%"),Ne.setAttribute("width","100%"),Ne.setAttribute("preserveAspectRatio","xMidYMid meet"),Ne.setAttribute("focusable","false"),ot&&ot.viewBox&&Ne.setAttribute("viewBox",ot.viewBox),Ne}_fetchIcon(Ne){const{url:ot,options:Ie}=Ne,ve=Ie?.withCredentials??!1;if(!this._httpClient)throw function le(){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==ot)throw Error(`Cannot fetch icon from URL "${ot}".`);const fe=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,ot);if(!fe)throw ie(ot);const Se=this._inProgressUrlFetches.get(fe);if(Se)return Se;const te=this._httpClient.get(fe,{responseType:"text",withCredentials:ve}).pipe((0,M.U)(Ke=>ee(Ke)),(0,L.x)(()=>this._inProgressUrlFetches.delete(fe)),(0,I.B)());return this._inProgressUrlFetches.set(fe,te),te}_addSvgIconConfig(Ne,ot,Ie){return this._svgIconConfigs.set(h(Ne,ot),Ie),this}_addSvgIconSetConfig(Ne,ot){const Ie=this._iconSetConfigs.get(Ne);return Ie?Ie.push(ot):this._iconSetConfigs.set(Ne,[ot]),this}_svgElementFromConfig(Ne){if(!Ne.svgElement){const ot=this._svgElementFromString(Ne.svgText);this._setSvgAttributes(ot,Ne.options),Ne.svgElement=ot}return Ne.svgElement}_getIconConfigFromResolvers(Ne,ot){for(let Ie=0;Ie<this._resolvers.length;Ie++){const ve=this._resolvers[Ie](ot,Ne);if(ve)return c(ve)?new se(ve.url,null,ve.options):new se(ve,null)}}}return Oe.\u0275fac=function(Ne){return new(Ne||Oe)(t.LFG(U.eN,8),t.LFG(Z.H7),t.LFG(A.K0,8),t.LFG(t.qLn))},Oe.\u0275prov=t.Yz7({token:Oe,factory:Oe.\u0275fac,providedIn:"root"}),Oe})();function r(Oe){return Oe.cloneNode(!0)}function h(Oe,it){return Oe+":"+it}function c(Oe){return!(!Oe.url||!Oe.options)}const y=(0,e.pj)(class{constructor(Oe){this._elementRef=Oe}}),S=new t.OlP("MAT_ICON_DEFAULT_OPTIONS"),k=new t.OlP("mat-icon-location",{providedIn:"root",factory:function v(){const Oe=(0,t.f3M)(A.K0),it=Oe?Oe.location:null;return{getPathname:()=>it?it.pathname+it.search:""}}}),n=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],b=n.map(Oe=>`[${Oe}]`).join(", "),B=/^url\(['"]?#(.*?)['"]?\)$/;let z=(()=>{class Oe extends y{constructor(Ne,ot,Ie,ve,fe,Se){super(Ne),this._iconRegistry=ot,this._location=ve,this._errorHandler=fe,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=O.w0.EMPTY,Se&&(Se.color&&(this.color=this.defaultColor=Se.color),Se.fontSet&&(this.fontSet=Se.fontSet)),Ie||Ne.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(Ne){this._inline=(0,g.Ig)(Ne)}get svgIcon(){return this._svgIcon}set svgIcon(Ne){Ne!==this._svgIcon&&(Ne?this._updateSvgIcon(Ne):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ne)}get fontSet(){return this._fontSet}set fontSet(Ne){const ot=this._cleanupFontValue(Ne);ot!==this._fontSet&&(this._fontSet=ot,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ne){const ot=this._cleanupFontValue(Ne);ot!==this._fontIcon&&(this._fontIcon=ot,this._updateFontIconClasses())}_splitIconName(Ne){if(!Ne)return["",""];const ot=Ne.split(":");switch(ot.length){case 1:return["",ot[0]];case 2:return ot;default:throw Error(`Invalid icon name: "${Ne}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ne=this._elementsWithExternalReferences;if(Ne&&Ne.size){const ot=this._location.getPathname();ot!==this._previousPath&&(this._previousPath=ot,this._prependPathToReferences(ot))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ne){this._clearSvgElement();const ot=this._location.getPathname();this._previousPath=ot,this._cacheChildrenWithExternalReferences(Ne),this._prependPathToReferences(ot),this._elementRef.nativeElement.appendChild(Ne)}_clearSvgElement(){const Ne=this._elementRef.nativeElement;let ot=Ne.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();ot--;){const Ie=Ne.childNodes[ot];(1!==Ie.nodeType||"svg"===Ie.nodeName.toLowerCase())&&Ie.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ne=this._elementRef.nativeElement,ot=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Ie=>Ie.length>0);this._previousFontSetClass.forEach(Ie=>Ne.classList.remove(Ie)),ot.forEach(Ie=>Ne.classList.add(Ie)),this._previousFontSetClass=ot,this.fontIcon!==this._previousFontIconClass&&!ot.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ne.classList.remove(this._previousFontIconClass),this.fontIcon&&Ne.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ne){return"string"==typeof Ne?Ne.trim().split(" ")[0]:Ne}_prependPathToReferences(Ne){const ot=this._elementsWithExternalReferences;ot&&ot.forEach((Ie,ve)=>{Ie.forEach(fe=>{ve.setAttribute(fe.name,`url('${Ne}#${fe.value}')`)})})}_cacheChildrenWithExternalReferences(Ne){const ot=Ne.querySelectorAll(b),Ie=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let ve=0;ve<ot.length;ve++)n.forEach(fe=>{const Se=ot[ve],te=Se.getAttribute(fe),Ke=te?te.match(B):null;if(Ke){let Ae=Ie.get(Se);Ae||(Ae=[],Ie.set(Se,Ae)),Ae.push({name:fe,value:Ke[1]})}})}_updateSvgIcon(Ne){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ne){const[ot,Ie]=this._splitIconName(Ne);ot&&(this._svgNamespace=ot),Ie&&(this._svgName=Ie),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Ie,ot).pipe((0,P.q)(1)).subscribe(ve=>this._setSvgElement(ve),ve=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ot}:${Ie}! ${ve.message}`))})}}}return Oe.\u0275fac=function(Ne){return new(Ne||Oe)(t.Y36(t.SBq),t.Y36(he),t.$8M("aria-hidden"),t.Y36(k),t.Y36(t.qLn),t.Y36(S,8))},Oe.\u0275cmp=t.Xpm({type:Oe,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(Ne,ot){2&Ne&&(t.uIk("data-mat-icon-type",ot._usingFontIcon()?"font":"svg")("data-mat-icon-name",ot._svgName||ot.fontIcon)("data-mat-icon-namespace",ot._svgNamespace||ot.fontSet)("fontIcon",ot._usingFontIcon()?ot.fontIcon:null),t.ekj("mat-icon-inline",ot.inline)("mat-icon-no-color","primary"!==ot.color&&"accent"!==ot.color&&"warn"!==ot.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[t.qOj],ngContentSelectors:Y,decls:1,vars:0,template:function(Ne,ot){1&Ne&&(t.F$t(),t.Hsn(0))},styles:[".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}),Oe})(),W=(()=>{class Oe{}return Oe.\u0275fac=function(Ne){return new(Ne||Oe)},Oe.\u0275mod=t.oAB({type:Oe}),Oe.\u0275inj=t.cJS({imports:[e.BQ,e.BQ]}),Oe})()},4144:(Ge,Q,m)=>{"use strict";m.d(Q,{Jk:()=>U,Nt:()=>X,c:()=>ee});var t=m(1281),e=m(3353),g=m(4650),A=m(515),o=m(7579);const C=(0,e.i$)({passive:!0});let u=(()=>{class ue{constructor(ie,ce){this._platform=ie,this._ngZone=ce,this._monitoredElements=new Map}monitor(ie){if(!this._platform.isBrowser)return A.E;const ce=(0,t.fI)(ie),se=this._monitoredElements.get(ce);if(se)return se.subject;const he=new o.x,E="cdk-text-field-autofilled",i=r=>{"cdk-text-field-autofill-start"!==r.animationName||ce.classList.contains(E)?"cdk-text-field-autofill-end"===r.animationName&&ce.classList.contains(E)&&(ce.classList.remove(E),this._ngZone.run(()=>he.next({target:r.target,isAutofilled:!1}))):(ce.classList.add(E),this._ngZone.run(()=>he.next({target:r.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{ce.addEventListener("animationstart",i,C),ce.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(ce,{subject:he,unlisten:()=>{ce.removeEventListener("animationstart",i,C)}}),he}stopMonitoring(ie){const ce=(0,t.fI)(ie),se=this._monitoredElements.get(ce);se&&(se.unlisten(),se.subject.complete(),ce.classList.remove("cdk-text-field-autofill-monitored"),ce.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(ce))}ngOnDestroy(){this._monitoredElements.forEach((ie,ce)=>this.stopMonitoring(ce))}}return ue.\u0275fac=function(ie){return new(ie||ue)(g.LFG(e.t4),g.LFG(g.R0b))},ue.\u0275prov=g.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),M=(()=>{class ue{}return ue.\u0275fac=function(ie){return new(ie||ue)},ue.\u0275mod=g.oAB({type:ue}),ue.\u0275inj=g.cJS({}),ue})();var w=m(4006),L=m(3238),I=m(9549);const U=new g.OlP("MAT_INPUT_VALUE_ACCESSOR"),Z=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Y=0;const j=(0,L.FD)(class{constructor(ue,le,ie,ce){this._defaultErrorStateMatcher=ue,this._parentForm=le,this._parentFormGroup=ie,this.ngControl=ce,this.stateChanges=new o.x}});let X=(()=>{class ue extends j{constructor(ie,ce,se,he,E,i,r,h,c,y){super(i,he,E,se),this._elementRef=ie,this._platform=ce,this._autofillMonitor=h,this._formField=y,this._uid="mat-input-"+Y++,this.focused=!1,this.stateChanges=new o.x,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(v=>(0,e.qK)().has(v)),this._iOSKeyupListener=v=>{const n=v.target;!n.value&&0===n.selectionStart&&0===n.selectionEnd&&(n.setSelectionRange(1,1),n.setSelectionRange(0,0))};const S=this._elementRef.nativeElement,k=S.nodeName.toLowerCase();this._inputValueAccessor=r||S,this._previousNativeValue=this.value,this.id=this.id,ce.IOS&&c.runOutsideAngular(()=>{ie.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===k,this._isTextarea="textarea"===k,this._isInFormField=!!y,this._isNativeSelect&&(this.controlType=S.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this._disabled}set disabled(ie){this._disabled=(0,t.Ig)(ie),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ie){this._id=ie||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(w.kI.required)??!1}set required(ie){this._required=(0,t.Ig)(ie)}get type(){return this._type}set type(ie){this._type=ie||"text",this._validateType(),!this._isTextarea&&(0,e.qK)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(ie){ie!==this.value&&(this._inputValueAccessor.value=ie,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ie){this._readonly=(0,t.Ig)(ie)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ie=>{this.autofilled=ie.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(ie){this._elementRef.nativeElement.focus(ie)}_focusChanged(ie){ie!==this.focused&&(this.focused=ie,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const ie=this._elementRef.nativeElement.value;this._previousNativeValue!==ie&&(this._previousNativeValue=ie,this.stateChanges.next())}_dirtyCheckPlaceholder(){const ie=this._getPlaceholder();if(ie!==this._previousPlaceholder){const ce=this._elementRef.nativeElement;this._previousPlaceholder=ie,ie?ce.setAttribute("placeholder",ie):ce.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Z.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ie=this._elementRef.nativeElement.validity;return ie&&ie.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ie=this._elementRef.nativeElement,ce=ie.options[0];return this.focused||ie.multiple||!this.empty||!!(ie.selectedIndex>-1&&ce&&ce.label)}return this.focused||!this.empty}setDescribedByIds(ie){ie.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ie.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ie=this._elementRef.nativeElement;return this._isNativeSelect&&(ie.multiple||ie.size>1)}}return ue.\u0275fac=function(ie){return new(ie||ue)(g.Y36(g.SBq),g.Y36(e.t4),g.Y36(w.a5,10),g.Y36(w.F,8),g.Y36(w.sg,8),g.Y36(L.rD),g.Y36(U,10),g.Y36(u),g.Y36(g.R0b),g.Y36(I.G_,8))},ue.\u0275dir=g.lG2({type:ue,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(ie,ce){1&ie&&g.NdJ("focus",function(){return ce._focusChanged(!0)})("blur",function(){return ce._focusChanged(!1)})("input",function(){return ce._onInput()}),2&ie&&(g.Ikx("id",ce.id)("disabled",ce.disabled)("required",ce.required),g.uIk("name",ce.name||null)("readonly",ce.readonly&&!ce._isNativeSelect||null)("aria-invalid",ce.empty&&ce.required?null:ce.errorState)("aria-required",ce.required)("id",ce.id),g.ekj("mat-input-server",ce._isServer)("mat-mdc-form-field-textarea-control",ce._isInFormField&&ce._isTextarea)("mat-mdc-form-field-input-control",ce._isInFormField)("mdc-text-field__input",ce._isInFormField)("mat-mdc-native-select-inline",ce._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[g._Bn([{provide:I.Eo,useExisting:ue}]),g.qOj,g.TTD]}),ue})(),ee=(()=>{class ue{}return ue.\u0275fac=function(ie){return new(ie||ue)},ue.\u0275mod=g.oAB({type:ue}),ue.\u0275inj=g.cJS({imports:[L.BQ,I.lN,I.lN,M,L.BQ]}),ue})()},6338:(Ge,Q,m)=>{"use strict";m.d(Q,{Tg:()=>fe,i$:()=>ve,ie:()=>Ze});var t=m(4650),e=m(1281),g=m(3353),A=m(3238),o=m(727),C=m(6451),O=(m(7579),m(9643)),d=m(6895),M=m(4850);m(4761),m(5017),m(9521),m(4006),m(2722);const Z=["*"],j=["unscopedContent"],X=["text"],ee=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],ue=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],k=new t.OlP("ListOption");let v=(()=>{class q{constructor(xe){this._elementRef=xe}}return q.\u0275fac=function(xe){return new(xe||q)(t.Y36(t.SBq))},q.\u0275dir=t.lG2({type:q,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),q})(),n=(()=>{class q{constructor(xe){this._elementRef=xe}}return q.\u0275fac=function(xe){return new(xe||q)(t.Y36(t.SBq))},q.\u0275dir=t.lG2({type:q,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),q})(),b=(()=>{class q{}return q.\u0275fac=function(xe){return new(xe||q)},q.\u0275dir=t.lG2({type:q,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),q})(),B=(()=>{class q{constructor(xe){this._listOption=xe}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getCheckboxPosition()}}return q.\u0275fac=function(xe){return new(xe||q)(t.Y36(k,8))},q.\u0275dir=t.lG2({type:q,hostVars:4,hostBindings:function(xe,ke){2&xe&&t.ekj("mdc-list-item__start",ke._isAlignedAtStart())("mdc-list-item__end",!ke._isAlignedAtStart())}}),q})(),z=(()=>{class q extends B{}return q.\u0275fac=function(){let de;return function(ke){return(de||(de=t.n5z(q)))(ke||q)}}(),q.\u0275dir=t.lG2({type:q,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[t.qOj]}),q})(),W=(()=>{class q extends B{}return q.\u0275fac=function(){let de;return function(ke){return(de||(de=t.n5z(q)))(ke||q)}}(),q.\u0275dir=t.lG2({type:q,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[t.qOj]}),q})(),Oe=(()=>{class q{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1}get disableRipple(){return this._disableRipple}set disableRipple(xe){this._disableRipple=(0,e.Ig)(xe)}get disabled(){return this._disabled}set disabled(xe){this._disabled=(0,e.Ig)(xe)}}return q.\u0275fac=function(xe){return new(xe||q)},q.\u0275dir=t.lG2({type:q,hostVars:1,hostBindings:function(xe,ke){2&xe&&t.uIk("aria-disabled",ke.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),q})(),it=(()=>{class q{constructor(xe,ke,ft,_t,ct,nt){this._elementRef=xe,this._ngZone=ke,this._listBase=ft,this._platform=_t,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new o.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=ct||{},this._hostElement=this._elementRef.nativeElement,this._noopAnimations="NoopAnimations"===nt,ft&&!ft._isNonInteractive&&this._initInteractiveListItem(),"button"===this._hostElement.nodeName.toLowerCase()&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}set lines(xe){this._explicitLines=(0,e.su)(xe,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(xe){this._disableRipple=(0,e.Ig)(xe)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(xe){this._disabled=(0,e.Ig)(xe)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}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 A.IR(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add((0,C.T)(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(xe){if(!this._lines||!this._titles||!this._unscopedContent)return;xe&&this._checkDomForUnscopedTextContent();const ke=this._explicitLines??this._inferLinesFromContent(),ft=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",ke<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",ke<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===ke),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===ke),this._hasUnscopedTextContent){const _t=0===this._titles.length&&1===ke;ft.classList.toggle("mdc-list-item__primary-text",_t),ft.classList.toggle("mdc-list-item__secondary-text",!_t)}else ft.classList.remove("mdc-list-item__primary-text"),ft.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let xe=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(xe+=1),xe}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(xe=>xe.nodeType!==xe.COMMENT_NODE).some(xe=>!(!xe.textContent||!xe.textContent.trim()))}}return q.\u0275fac=function(xe){return new(xe||q)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(Oe,8),t.Y36(g.t4),t.Y36(A.Y2,8),t.Y36(t.QbO,8))},q.\u0275dir=t.lG2({type:q,contentQueries:function(xe,ke,ft){if(1&xe&&(t.Suo(ft,z,4),t.Suo(ft,W,4)),2&xe){let _t;t.iGM(_t=t.CRH())&&(ke._avatars=_t),t.iGM(_t=t.CRH())&&(ke._icons=_t)}},hostVars:3,hostBindings:function(xe,ke){2&xe&&(t.uIk("aria-disabled",ke.disabled),t.ekj("mdc-list-item--disabled",ke.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),q})(),ve=(()=>{class q extends Oe{}return q.\u0275fac=function(){let de;return function(ke){return(de||(de=t.n5z(q)))(ke||q)}}(),q.\u0275cmp=t.Xpm({type:q,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[t._Bn([{provide:Oe,useExisting:q}]),t.qOj],ngContentSelectors:Z,decls:1,vars:0,template:function(xe,ke){1&xe&&(t.F$t(),t.Hsn(0))},styles:['.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:24px;height:24px}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-image .mdc-list-item__start{width:56px;height:56px}.mdc-list-item--with-leading-video .mdc-list-item__start{width:100px;height:56px}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-radio .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-switch .mdc-list-item__start{width:36px;height:20px}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:24px;height:24px}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-radio .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-switch .mdc-list-item__end{width:36px;height:20px}.mdc-list-divider{height:1px}@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-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}.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:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}'],encapsulation:2,changeDetection:0}),q})(),fe=(()=>{class q extends it{constructor(xe,ke,ft,_t,ct,nt){super(xe,ke,ft,_t,ct,nt),this._activated=!1}get activated(){return this._activated}set activated(xe){this._activated=(0,e.Ig)(xe)}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}return q.\u0275fac=function(xe){return new(xe||q)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(Oe,8),t.Y36(g.t4),t.Y36(A.Y2,8),t.Y36(t.QbO,8))},q.\u0275cmp=t.Xpm({type:q,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(xe,ke,ft){if(1&xe&&(t.Suo(ft,n,5),t.Suo(ft,v,5),t.Suo(ft,b,5)),2&xe){let _t;t.iGM(_t=t.CRH())&&(ke._lines=_t),t.iGM(_t=t.CRH())&&(ke._titles=_t),t.iGM(_t=t.CRH())&&(ke._meta=_t)}},viewQuery:function(xe,ke){if(1&xe&&(t.Gf(j,5),t.Gf(X,5)),2&xe){let ft;t.iGM(ft=t.CRH())&&(ke._unscopedContent=ft.first),t.iGM(ft=t.CRH())&&(ke._itemText=ft.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(xe,ke){2&xe&&(t.uIk("aria-current",ke._getAriaCurrent()),t.ekj("mdc-list-item--activated",ke.activated)("mdc-list-item--with-leading-avatar",0!==ke._avatars.length)("mdc-list-item--with-leading-icon",0!==ke._icons.length)("mdc-list-item--with-trailing-meta",0!==ke._meta.length)("_mat-animation-noopable",ke._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[t.qOj],ngContentSelectors:ue,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(xe,ke){1&xe&&(t.F$t(ee),t.Hsn(0),t.TgZ(1,"span",0),t.Hsn(2,1),t.Hsn(3,2),t.TgZ(4,"span",1,2),t.NdJ("cdkObserveContent",function(){return ke._updateItemLines(!0)}),t.Hsn(6,3),t.qZA()(),t.Hsn(7,4),t.Hsn(8,5),t._UZ(9,"div",3))},dependencies:[O.wD],encapsulation:2,changeDetection:0}),q})(),Ze=(()=>{class q{}return q.\u0275fac=function(xe){return new(xe||q)},q.\u0275mod=t.oAB({type:q}),q.\u0275inj=t.cJS({imports:[O.Q8,d.ez,A.BQ,A.si,A.us,M.t]}),q})()},8255:(Ge,Q,m)=>{"use strict";m.d(Q,{OP:()=>y,Tx:()=>me,VK:()=>ve,p6:()=>ye});var t=m(4650),e=m(4761),g=m(1281),A=m(9521),o=m(7579),C=m(6451),u=m(727),O=m(9646),d=m(3101),M=m(8675),w=m(3900),L=m(5698),I=m(2722),P=m(9300),U=m(4086),Z=m(3238),Y=m(6895),j=m(4080),X=m(7340),ee=m(445),ue=m(8184),le=m(3353),ie=m(531);const ce=["mat-menu-item",""];function se(Me,Ze){1&Me&&(t.O4$(),t.TgZ(0,"svg",3),t._UZ(1,"polygon",4),t.qZA())}const he=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],E=["mat-icon, [matMenuItemIcon]","*"];function i(Me,Ze){if(1&Me){const q=t.EpF();t.TgZ(0,"div",0),t.NdJ("keydown",function(xe){t.CHM(q);const ke=t.oxw();return t.KtG(ke._handleKeydown(xe))})("click",function(){t.CHM(q);const xe=t.oxw();return t.KtG(xe.closed.emit("click"))})("@transformMenu.start",function(xe){t.CHM(q);const ke=t.oxw();return t.KtG(ke._onAnimationStart(xe))})("@transformMenu.done",function(xe){t.CHM(q);const ke=t.oxw();return t.KtG(ke._onAnimationDone(xe))}),t.TgZ(1,"div",1),t.Hsn(2),t.qZA()()}if(2&Me){const q=t.oxw();t.Q6J("id",q.panelId)("ngClass",q._classList)("@transformMenu",q._panelAnimationState),t.uIk("aria-label",q.ariaLabel||null)("aria-labelledby",q.ariaLabelledby||null)("aria-describedby",q.ariaDescribedby||null)}}const r=["*"],h=new t.OlP("MAT_MENU_PANEL"),c=(0,Z.Kr)((0,Z.Id)(class{}));let y=(()=>{class Me extends c{constructor(q,de,xe,ke,ft){super(),this._elementRef=q,this._document=de,this._focusMonitor=xe,this._parentMenu=ke,this._changeDetectorRef=ft,this.role="menuitem",this._hovered=new o.x,this._focused=new o.x,this._highlighted=!1,this._triggersSubmenu=!1,ke?.addItem?.(this)}focus(q,de){this._focusMonitor&&q?this._focusMonitor.focusVia(this._getHostElement(),q,de):this._getHostElement().focus(de),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(q){this.disabled&&(q.preventDefault(),q.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const q=this._elementRef.nativeElement.cloneNode(!0),de=q.querySelectorAll("mat-icon, .material-icons");for(let xe=0;xe<de.length;xe++)de[xe].remove();return q.textContent?.trim()||""}_setHighlighted(q){this._highlighted=q,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(q){this._triggersSubmenu=q,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return Me.\u0275fac=function(q){return new(q||Me)(t.Y36(t.SBq),t.Y36(Y.K0),t.Y36(e.tE),t.Y36(h,8),t.Y36(t.sBO))},Me.\u0275cmp=t.Xpm({type:Me,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(q,de){1&q&&t.NdJ("click",function(ke){return de._checkDisabled(ke)})("mouseenter",function(){return de._handleMouseEnter()}),2&q&&(t.uIk("role",de.role)("tabindex",de._getTabIndex())("aria-disabled",de.disabled)("disabled",de.disabled||null),t.ekj("mat-mdc-menu-item-highlighted",de._highlighted)("mat-mdc-menu-item-submenu-trigger",de._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[t.qOj],attrs:ce,ngContentSelectors:E,decls:5,vars:3,consts:[[1,"mdc-list-item__primary-text"],["matRipple","",1,"mat-mdc-menu-ripple",3,"matRippleDisabled","matRippleTrigger"],["class","mat-mdc-menu-submenu-icon","viewBox","0 0 5 10","focusable","false",4,"ngIf"],["viewBox","0 0 5 10","focusable","false",1,"mat-mdc-menu-submenu-icon"],["points","0,0 5,5 0,10"]],template:function(q,de){1&q&&(t.F$t(he),t.Hsn(0),t.TgZ(1,"span",0),t.Hsn(2,1),t.qZA(),t._UZ(3,"div",1),t.YNc(4,se,2,0,"svg",2)),2&q&&(t.xp6(3),t.Q6J("matRippleDisabled",de.disableRipple||de.disabled)("matRippleTrigger",de._getHostElement()),t.xp6(1),t.Q6J("ngIf",de._triggersSubmenu))},dependencies:[Y.O5,Z.wG],encapsulation:2,changeDetection:0}),Me})();const n=new t.OlP("MatMenuContent"),z={transformMenu:(0,X.X$)("transformMenu",[(0,X.SB)("void",(0,X.oB)({opacity:0,transform:"scale(0.8)"})),(0,X.eR)("void => enter",(0,X.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,X.oB)({opacity:1,transform:"scale(1)"}))),(0,X.eR)("* => void",(0,X.jt)("100ms 25ms linear",(0,X.oB)({opacity:0})))]),fadeInItems:(0,X.X$)("fadeInItems",[(0,X.SB)("showing",(0,X.oB)({opacity:1})),(0,X.eR)("void => *",[(0,X.oB)({opacity:0}),(0,X.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let it=0;const Ne=new t.OlP("mat-menu-default-options",{providedIn:"root",factory:function ot(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Ie=(()=>{class Me{constructor(q,de,xe,ke){this._elementRef=q,this._ngZone=de,this._defaultOptions=xe,this._changeDetectorRef=ke,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new t.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new o.x,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new t.vpe,this.close=this.closed,this.panelId="mat-menu-panel-"+it++}get xPosition(){return this._xPosition}set xPosition(q){this._xPosition=q,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(q){this._yPosition=q,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(q){this._overlapTrigger=(0,g.Ig)(q)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(q){this._hasBackdrop=(0,g.Ig)(q)}set panelClass(q){const de=this._previousPanelClass;de&&de.length&&de.split(" ").forEach(xe=>{this._classList[xe]=!1}),this._previousPanelClass=q,q&&q.length&&(q.split(" ").forEach(xe=>{this._classList[xe]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(q){this.panelClass=q}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new e.Em(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe((0,M.O)(this._directDescendantItems),(0,w.w)(q=>(0,C.T)(...q.map(de=>de._focused)))).subscribe(q=>this._keyManager.updateActiveItem(q)),this._directDescendantItems.changes.subscribe(q=>{const de=this._keyManager;if("enter"===this._panelAnimationState&&de.activeItem?._hasFocus()){const xe=q.toArray(),ke=Math.max(0,Math.min(xe.length-1,de.activeItemIndex||0));xe[ke]&&!xe[ke].disabled?de.setActiveItem(ke):de.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,M.O)(this._directDescendantItems),(0,w.w)(de=>(0,C.T)(...de.map(xe=>xe._hovered))))}addItem(q){}removeItem(q){}_handleKeydown(q){const de=q.keyCode,xe=this._keyManager;switch(de){case A.hY:(0,A.Vb)(q)||(q.preventDefault(),this.closed.emit("keydown"));break;case A.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case A.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(de===A.LH||de===A.JH)&&xe.setFocusOrigin("keyboard"),void xe.onKeydown(q)}q.stopPropagation()}focusFirstItem(q="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,L.q)(1)).subscribe(()=>{let de=null;if(this._directDescendantItems.length&&(de=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!de||!de.contains(document.activeElement)){const xe=this._keyManager;xe.setFocusOrigin(q).setFirstItemActive(),!xe.activeItem&&de&&de.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(q){const de=Math.min(this._baseElevation+q,24),xe=`${this._elevationPrefix}${de}`,ke=Object.keys(this._classList).find(ft=>ft.startsWith(this._elevationPrefix));(!ke||ke===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[xe]=!0,this._previousElevation=xe)}setPositionClasses(q=this.xPosition,de=this.yPosition){const xe=this._classList;xe["mat-menu-before"]="before"===q,xe["mat-menu-after"]="after"===q,xe["mat-menu-above"]="above"===de,xe["mat-menu-below"]="below"===de,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(q){this._animationDone.next(q),this._isAnimating=!1}_onAnimationStart(q){this._isAnimating=!0,"enter"===q.toState&&0===this._keyManager.activeItemIndex&&(q.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,M.O)(this._allItems)).subscribe(q=>{this._directDescendantItems.reset(q.filter(de=>de._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return Me.\u0275fac=function(q){return new(q||Me)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(Ne),t.Y36(t.sBO))},Me.\u0275dir=t.lG2({type:Me,contentQueries:function(q,de,xe){if(1&q&&(t.Suo(xe,n,5),t.Suo(xe,y,5),t.Suo(xe,y,4)),2&q){let ke;t.iGM(ke=t.CRH())&&(de.lazyContent=ke.first),t.iGM(ke=t.CRH())&&(de._allItems=ke),t.iGM(ke=t.CRH())&&(de.items=ke)}},viewQuery:function(q,de){if(1&q&&t.Gf(t.Rgc,5),2&q){let xe;t.iGM(xe=t.CRH())&&(de.templateRef=xe.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),Me})(),ve=(()=>{class Me extends Ie{constructor(q,de,xe,ke){super(q,de,xe,ke),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return Me.\u0275fac=function(q){return new(q||Me)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(Ne),t.Y36(t.sBO))},Me.\u0275cmp=t.Xpm({type:Me,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(q,de){2&q&&t.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[t._Bn([{provide:h,useExisting:Me}]),t.qOj],ngContentSelectors:r,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-mdc-menu-panel","mdc-menu-surface","mdc-menu-surface--open","mat-mdc-elevation-specific",3,"id","ngClass","keydown","click"],[1,"mat-mdc-menu-content","mdc-list"]],template:function(q,de){1&q&&(t.F$t(),t.YNc(0,i,3,6,"ng-template"))},dependencies:[Y.mk],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.cdk-high-contrast-active .mat-mdc-menu-panel{outline:solid 1px}.mat-mdc-menu-panel.mat-mdc-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;position:relative}.mat-mdc-menu-item{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;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;min-height:48px}.mat-mdc-menu-item:focus{outline:none}[dir=rtl] .mat-mdc-menu-item,.mat-mdc-menu-item[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-menu-item::-moz-focus-inner{border:0}.mat-mdc-menu-item.mdc-list-item{align-items:center}.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{margin-right:16px}[dir=rtl] .mat-mdc-menu-item{text-align:right}[dir=rtl] .mat-mdc-menu-item .mat-icon{margin-right:0;margin-left:16px}.mat-mdc-menu-item .mdc-list-item__primary-text{white-space:normal}.mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-mdc-menu-item.mat-mdc-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.cdk-high-contrast-active .mat-mdc-menu-item{margin-top:1px}.mat-mdc-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-mdc-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) 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:[z.transformMenu,z.fadeInItems]},changeDetection:0}),Me})();const fe=new t.OlP("mat-menu-scroll-strategy"),te={provide:fe,deps:[ue.aV],useFactory:function Se(Me){return()=>Me.scrollStrategies.reposition()}},Ke=(0,le.i$)({passive:!0});let oe=(()=>{class Me{constructor(q,de,xe,ke,ft,_t,ct,nt,Jt){this._overlay=q,this._element=de,this._viewContainerRef=xe,this._menuItemInstance=_t,this._dir=ct,this._focusMonitor=nt,this._ngZone=Jt,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=u.w0.EMPTY,this._hoverSubscription=u.w0.EMPTY,this._menuCloseSubscription=u.w0.EMPTY,this._handleTouchStart=vt=>{(0,e.yG)(vt)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new t.vpe,this.onMenuOpen=this.menuOpened,this.menuClosed=new t.vpe,this.onMenuClose=this.menuClosed,this._scrollStrategy=ke,this._parentMaterialMenu=ft instanceof Ie?ft:void 0,de.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ke)}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(q){this.menu=q}get menu(){return this._menu}set menu(q){q!==this._menu&&(this._menu=q,this._menuCloseSubscription.unsubscribe(),q&&(this._menuCloseSubscription=q.close.subscribe(de=>{this._destroyMenu(de),("click"===de||"tab"===de)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(de)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ke),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 q=this.menu;if(this._menuOpen||!q)return;const de=this._createOverlay(q),xe=de.getConfig(),ke=xe.positionStrategy;this._setPosition(q,ke),xe.hasBackdrop=null==q.hasBackdrop?!this.triggersSubmenu():q.hasBackdrop,de.attach(this._getPortal(q)),q.lazyContent&&q.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(q),q instanceof Ie&&(q._startAnimation(),q._directDescendantItems.changes.pipe((0,I.R)(q.close)).subscribe(()=>{ke.withLockedPosition(!1).reapplyLastPosition(),ke.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(q,de){this._focusMonitor&&q?this._focusMonitor.focusVia(this._element,q,de):this._element.nativeElement.focus(de)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(q){if(!this._overlayRef||!this.menuOpen)return;const de=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===q||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,de instanceof Ie?(de._resetAnimation(),de.lazyContent?de._animationDone.pipe((0,P.h)(xe=>"void"===xe.toState),(0,L.q)(1),(0,I.R)(de.lazyContent._attached)).subscribe({next:()=>de.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),de?.lazyContent?.detach())}_initMenu(q){q.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,q.direction=this.dir,this._setMenuElevation(q),q.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(q){if(q.setElevation){let de=0,xe=q.parentMenu;for(;xe;)de++,xe=xe.parentMenu;q.setElevation(de)}}_setIsMenuOpen(q){this._menuOpen=q,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(q)}_createOverlay(q){if(!this._overlayRef){const de=this._getOverlayConfig(q);this._subscribeToPositions(q,de.positionStrategy),this._overlayRef=this._overlay.create(de),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(q){return new ue.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:q.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:q.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(q,de){q.setPositionClasses&&de.positionChanges.subscribe(xe=>{const ke="start"===xe.connectionPair.overlayX?"after":"before",ft="top"===xe.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>q.setPositionClasses(ke,ft)):q.setPositionClasses(ke,ft)})}_setPosition(q,de){let[xe,ke]="before"===q.xPosition?["end","start"]:["start","end"],[ft,_t]="above"===q.yPosition?["bottom","top"]:["top","bottom"],[ct,nt]=[ft,_t],[Jt,vt]=[xe,ke],ne=0;if(this.triggersSubmenu()){if(vt=xe="before"===q.xPosition?"start":"end",ke=Jt="end"===xe?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Ht=this._parentMaterialMenu.items.first;this._parentInnerPadding=Ht?Ht._getHostElement().offsetTop:0}ne="bottom"===ft?this._parentInnerPadding:-this._parentInnerPadding}}else q.overlapTrigger||(ct="top"===ft?"bottom":"top",nt="top"===_t?"bottom":"top");de.withPositions([{originX:xe,originY:ct,overlayX:Jt,overlayY:ft,offsetY:ne},{originX:ke,originY:ct,overlayX:vt,overlayY:ft,offsetY:ne},{originX:xe,originY:nt,overlayX:Jt,overlayY:_t,offsetY:-ne},{originX:ke,originY:nt,overlayX:vt,overlayY:_t,offsetY:-ne}])}_menuClosingActions(){const q=this._overlayRef.backdropClick(),de=this._overlayRef.detachments(),xe=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,O.of)(),ke=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,P.h)(ft=>ft!==this._menuItemInstance),(0,P.h)(()=>this._menuOpen)):(0,O.of)();return(0,C.T)(q,xe,ke,de)}_handleMousedown(q){(0,e.X6)(q)||(this._openedBy=0===q.button?"mouse":void 0,this.triggersSubmenu()&&q.preventDefault())}_handleKeydown(q){const de=q.keyCode;(de===A.K5||de===A.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(de===A.SV&&"ltr"===this.dir||de===A.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(q){this.triggersSubmenu()?(q.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,P.h)(q=>q===this._menuItemInstance&&!q.disabled),(0,U.g)(0,d.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ie&&this.menu._isAnimating?this.menu._animationDone.pipe((0,L.q)(1),(0,U.g)(0,d.E),(0,I.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(q){return(!this._portal||this._portal.templateRef!==q.templateRef)&&(this._portal=new j.UE(q.templateRef,this._viewContainerRef)),this._portal}}return Me.\u0275fac=function(q){return new(q||Me)(t.Y36(ue.aV),t.Y36(t.SBq),t.Y36(t.s_b),t.Y36(fe),t.Y36(h,8),t.Y36(y,10),t.Y36(ee.Is,8),t.Y36(e.tE),t.Y36(t.R0b))},Me.\u0275dir=t.lG2({type:Me,hostVars:3,hostBindings:function(q,de){1&q&&t.NdJ("click",function(ke){return de._handleClick(ke)})("mousedown",function(ke){return de._handleMousedown(ke)})("keydown",function(ke){return de._handleKeydown(ke)}),2&q&&t.uIk("aria-haspopup",de.menu?"menu":null)("aria-expanded",de.menuOpen)("aria-controls",de.menuOpen?de.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),Me})(),ye=(()=>{class Me extends oe{}return Me.\u0275fac=function(){let Ze;return function(de){return(Ze||(Ze=t.n5z(Me)))(de||Me)}}(),Me.\u0275dir=t.lG2({type:Me,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[t.qOj]}),Me})(),me=(()=>{class Me{}return Me.\u0275fac=function(q){return new(q||Me)},Me.\u0275mod=t.oAB({type:Me}),Me.\u0275inj=t.cJS({providers:[te],imports:[Y.ez,Z.si,Z.BQ,ue.U8,ie.ZD,Z.BQ]}),Me})()},8739:(Ge,Q,m)=>{"use strict";m.d(Q,{NW:()=>se,TU:()=>he,ye:()=>Z});var t=m(6895),e=m(4650),g=m(7579),A=m(4859),o=m(4385),C=m(266),u=m(3238),O=m(1281),d=m(9549);function M(E,i){if(1&E&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&E){const r=i.$implicit;e.Q6J("value",r),e.xp6(1),e.hij(" ",r," ")}}function w(E,i){if(1&E){const r=e.EpF();e.TgZ(0,"mat-form-field",16)(1,"mat-select",17),e.NdJ("selectionChange",function(c){e.CHM(r);const y=e.oxw(2);return e.KtG(y._changePageSize(c.value))}),e.YNc(2,M,2,2,"mat-option",18),e.qZA()()}if(2&E){const r=e.oxw(2);e.Q6J("appearance",r._formFieldAppearance)("color",r.color),e.xp6(1),e.Q6J("value",r.pageSize)("disabled",r.disabled)("aria-labelledby",r._pageSizeLabelId)("panelClass",r.selectConfig.panelClass||"")("disableOptionCentering",r.selectConfig.disableOptionCentering),e.xp6(1),e.Q6J("ngForOf",r._displayedPageSizeOptions)}}function L(E,i){if(1&E&&(e.TgZ(0,"div",20),e._uU(1),e.qZA()),2&E){const r=e.oxw(2);e.xp6(1),e.Oqu(r.pageSize)}}function I(E,i){if(1&E&&(e.TgZ(0,"div",12)(1,"div",13),e._uU(2),e.qZA(),e.YNc(3,w,3,8,"mat-form-field",14),e.YNc(4,L,2,1,"div",15),e.qZA()),2&E){const r=e.oxw();e.xp6(1),e.s9C("id",r._pageSizeLabelId),e.xp6(1),e.hij(" ",r._intl.itemsPerPageLabel," "),e.xp6(1),e.Q6J("ngIf",r._displayedPageSizeOptions.length>1),e.xp6(1),e.Q6J("ngIf",r._displayedPageSizeOptions.length<=1)}}function P(E,i){if(1&E){const r=e.EpF();e.TgZ(0,"button",21),e.NdJ("click",function(){e.CHM(r);const c=e.oxw();return e.KtG(c.firstPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",22),e.qZA()()}if(2&E){const r=e.oxw();e.Q6J("matTooltip",r._intl.firstPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("matTooltipPosition","above")("disabled",r._previousButtonsDisabled()),e.uIk("aria-label",r._intl.firstPageLabel)}}function U(E,i){if(1&E){const r=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"button",23),e.NdJ("click",function(){e.CHM(r);const c=e.oxw();return e.KtG(c.lastPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",24),e.qZA()()}if(2&E){const r=e.oxw();e.Q6J("matTooltip",r._intl.lastPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("matTooltipPosition","above")("disabled",r._nextButtonsDisabled()),e.uIk("aria-label",r._intl.lastPageLabel)}}let Z=(()=>{class E{constructor(){this.changes=new g.x,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(r,h,c)=>{if(0==c||0==h)return`0 of ${c}`;const y=r*h;return`${y+1} \u2013 ${y<(c=Math.max(c,0))?Math.min(y+h,c):y+h} of ${c}`}}}return E.\u0275fac=function(r){return new(r||E)},E.\u0275prov=e.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();const j={provide:Z,deps:[[new e.FiY,new e.tp0,Z]],useFactory:function Y(E){return E||new Z}},ue=new e.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),le=(0,u.Id)((0,u.dB)(class{}));let ie=(()=>{class E extends le{constructor(r,h,c){if(super(),this._intl=r,this._changeDetectorRef=h,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new e.vpe,this._intlChanges=r.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),c){const{pageSize:y,pageSizeOptions:S,hidePageSize:k,showFirstLastButtons:v}=c;null!=y&&(this._pageSize=y),null!=S&&(this._pageSizeOptions=S),null!=k&&(this._hidePageSize=k),null!=v&&(this._showFirstLastButtons=v)}}get pageIndex(){return this._pageIndex}set pageIndex(r){this._pageIndex=Math.max((0,O.su)(r),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(r){this._length=(0,O.su)(r),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(r){this._pageSize=Math.max((0,O.su)(r),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(r){this._pageSizeOptions=(r||[]).map(h=>(0,O.su)(h)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(r){this._hidePageSize=(0,O.Ig)(r)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(r){this._showFirstLastButtons=(0,O.Ig)(r)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const r=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(r)}previousPage(){if(!this.hasPreviousPage())return;const r=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(r)}firstPage(){if(!this.hasPreviousPage())return;const r=this.pageIndex;this.pageIndex=0,this._emitPageEvent(r)}lastPage(){if(!this.hasNextPage())return;const r=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(r)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const r=this.getNumberOfPages()-1;return this.pageIndex<r&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(r){const c=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/r)||0,this.pageSize=r,this._emitPageEvent(c)}_nextButtonsDisabled(){return this.disabled||!this.hasNextPage()}_previousButtonsDisabled(){return this.disabled||!this.hasPreviousPage()}_updateDisplayedPageSizeOptions(){!this._initialized||(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((r,h)=>r-h),this._changeDetectorRef.markForCheck())}_emitPageEvent(r){this.page.emit({previousPageIndex:r,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return E.\u0275fac=function(r){e.$Z()},E.\u0275dir=e.lG2({type:E,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[e.qOj]}),E})(),ce=0,se=(()=>{class E extends ie{constructor(r,h,c){super(r,h,c),this._pageSizeLabelId="mat-paginator-page-size-label-"+ce++,this._formFieldAppearance=c?.formFieldAppearance||"outline"}}return E.\u0275fac=function(r){return new(r||E)(e.Y36(Z),e.Y36(e.sBO),e.Y36(ue,8))},E.\u0275cmp=e.Xpm({type:E,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[e.qOj],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size",4,"ngIf"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",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,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label",3,"id"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-mdc-paginator-page-size-value",4,"ngIf"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(r,h){1&r&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,I,5,4,"div",2),e.TgZ(3,"div",3)(4,"div",4),e._uU(5),e.qZA(),e.YNc(6,P,3,5,"button",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return h.previousPage()}),e.O4$(),e.TgZ(8,"svg",7),e._UZ(9,"path",8),e.qZA()(),e.kcU(),e.TgZ(10,"button",9),e.NdJ("click",function(){return h.nextPage()}),e.O4$(),e.TgZ(11,"svg",7),e._UZ(12,"path",10),e.qZA()(),e.YNc(13,U,3,5,"button",11),e.qZA()()()),2&r&&(e.xp6(2),e.Q6J("ngIf",!h.hidePageSize),e.xp6(3),e.hij(" ",h._intl.getRangeLabel(h.pageIndex,h.pageSize,h.length)," "),e.xp6(1),e.Q6J("ngIf",h.showFirstLastButtons),e.xp6(1),e.Q6J("matTooltip",h._intl.previousPageLabel)("matTooltipDisabled",h._previousButtonsDisabled())("matTooltipPosition","above")("disabled",h._previousButtonsDisabled()),e.uIk("aria-label",h._intl.previousPageLabel),e.xp6(3),e.Q6J("matTooltip",h._intl.nextPageLabel)("matTooltipDisabled",h._nextButtonsDisabled())("matTooltipPosition","above")("disabled",h._nextButtonsDisabled()),e.uIk("aria-label",h._intl.nextPageLabel),e.xp6(3),e.Q6J("ngIf",h.showFirstLastButtons))},dependencies:[t.sg,t.O5,A.RK,d.KE,o.gD,u.ey,C.gM],styles:[".mat-mdc-paginator{display:block}.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-reverse;width:100%}.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}[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}),E})(),he=(()=>{class E{}return E.\u0275fac=function(r){return new(r||E)},E.\u0275mod=e.oAB({type:E}),E.\u0275inj=e.cJS({providers:[j],imports:[t.ez,A.ot,o.LD,C.AV]}),E})()},3162:(Ge,Q,m)=>{"use strict";m.d(Q,{Cv:()=>w,pW:()=>d});var t=m(4650),g=(m(6895),m(3238)),A=m(1281);const o=new t.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),O=(0,g.pj)(class{constructor(L){this._elementRef=L}},"primary");let d=(()=>{class L extends O{constructor(P,U,Z,Y,j){super(P),this._ngZone=U,this._changeDetectorRef=Z,this._animationMode=Y,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new t.vpe,this._mode="determinate",this._transitionendHandler=X=>{0===this.animationEnd.observers.length||!X.target||!X.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"===Y,j&&(j.color&&(this.color=this.defaultColor=j.color),this.mode=j.mode||this.mode)}get value(){return this._value}set value(P){this._value=M((0,A.su)(P)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(P){this._bufferValue=M((0,A.su)(P)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(P){this._mode=P,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}}return L.\u0275fac=function(P){return new(P||L)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(t.QbO,8),t.Y36(o,8))},L.\u0275cmp=t.Xpm({type:L,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:8,hostBindings:function(P,U){2&P&&(t.uIk("aria-valuenow",U._isIndeterminate()?null:U.value)("mode",U.mode),t.ekj("_mat-animation-noopable",U._isNoopAnimation)("mdc-linear-progress--animation-ready",!U._isNoopAnimation)("mdc-linear-progress--indeterminate",U._isIndeterminate()))},inputs:{color:"color",value:"value",bufferValue:"bufferValue",mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[t.qOj],decls:7,vars:4,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(P,U){1&P&&(t.TgZ(0,"div",0),t._UZ(1,"div",1)(2,"div",2),t.qZA(),t.TgZ(3,"div",3),t._UZ(4,"span",4),t.qZA(),t.TgZ(5,"div",5),t._UZ(6,"span",4),t.qZA()),2&P&&(t.xp6(1),t.Udp("flex-basis",U._getBufferBarFlexBasis()),t.xp6(2),t.Udp("transform",U._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, 83.67142%))}100%{transform:translateX(var(--mdc-linear-progress-primary-full, 200.611057%))}}@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, 37.651913%))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half, 84.386165%))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full, 160.277782%))}}@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-buffering{from{transform:rotate(180deg) translateX(-10px)}}@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, -83.67142%))}100%{transform:translateX(var(--mdc-linear-progress-primary-full-neg, -200.611057%))}}@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, -37.651913%))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(var(--mdc-linear-progress-secondary-half-neg, -84.386165%))}100%{transform:translateX(var(--mdc-linear-progress-secondary-full-neg, -160.277782%))}}@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: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;width:100%;height: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;width:100%;height:100%}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);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}.mdc-linear-progress__bar-inner{border-color:var(--mdc-linear-progress-active-indicator-color, #6200ee)}.mdc-linear-progress__buffer-dots{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='%23e6e6e6'/%3E%3C/svg%3E\")}.mdc-linear-progress__buffer-bar{background-color:#e6e6e6}.mdc-linear-progress{height:var(--mdc-linear-progress-track-height, 4px)}.mdc-linear-progress__bar-inner{border-top-width:var(--mdc-linear-progress-track-height, 4px)}.mdc-linear-progress__buffer-dots{background-size:10px var(--mdc-linear-progress-track-height, 4px)}.mat-mdc-progress-bar{display:block}.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}),L})();function M(L,I=0,P=100){return Math.max(I,Math.min(P,L))}let w=(()=>{class L{}return L.\u0275fac=function(P){return new(P||L)},L.\u0275mod=t.oAB({type:L}),L.\u0275inj=t.cJS({imports:[g.BQ]}),L})()},1572:(Ge,Q,m)=>{"use strict";m.d(Q,{Cq:()=>P,Ou:()=>L});var t=m(4650),e=m(3238),g=m(1281),A=m(6895);const o=["determinateSpinner"];function C(U,Z){if(1&U&&(t.O4$(),t.TgZ(0,"svg",11),t._UZ(1,"circle",12),t.qZA()),2&U){const Y=t.oxw();t.uIk("viewBox",Y._viewBox()),t.xp6(1),t.Udp("stroke-dasharray",Y._strokeCircumference(),"px")("stroke-dashoffset",Y._strokeCircumference()/2,"px")("stroke-width",Y._circleStrokeWidth(),"%"),t.uIk("r",Y._circleRadius())}}const u=(0,e.pj)(class{constructor(U){this._elementRef=U}},"primary"),O=new t.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function d(){return{diameter:M}}}),M=100;let L=(()=>{class U extends u{constructor(Y,j,X){super(Y),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=M,this._noopAnimations="NoopAnimations"===j&&!!X&&!X._forceAnimations,X&&(X.color&&(this.color=this.defaultColor=X.color),X.diameter&&(this.diameter=X.diameter),X.strokeWidth&&(this.strokeWidth=X.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(Y){this._value=Math.max(0,Math.min(100,(0,g.su)(Y)))}get diameter(){return this._diameter}set diameter(Y){this._diameter=(0,g.su)(Y)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(Y){this._strokeWidth=(0,g.su)(Y)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const Y=2*this._circleRadius()+this.strokeWidth;return`0 0 ${Y} ${Y}`}_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}}return U.\u0275fac=function(Y){return new(Y||U)(t.Y36(t.SBq),t.Y36(t.QbO,8),t.Y36(O))},U.\u0275cmp=t.Xpm({type:U,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(Y,j){if(1&Y&&t.Gf(o,5),2&Y){let X;t.iGM(X=t.CRH())&&(j._determinateCircle=X.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(Y,j){2&Y&&(t.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===j.mode?j.value:null)("mode",j.mode),t.Udp("width",j.diameter,"px")("height",j.diameter,"px"),t.ekj("_mat-animation-noopable",j._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===j.mode))},inputs:{color:"color",mode:"mode",value:"value",diameter:"diameter",strokeWidth:"strokeWidth"},exportAs:["matProgressSpinner"],features:[t.qOj],decls:14,vars:11,consts:[["circle",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["determinateSpinner",""],["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(Y,j){if(1&Y&&(t.YNc(0,C,2,8,"ng-template",null,0,t.W1O),t.TgZ(2,"div",1,2),t.O4$(),t.TgZ(4,"svg",3),t._UZ(5,"circle",4),t.qZA()(),t.kcU(),t.TgZ(6,"div",5)(7,"div",6)(8,"div",7),t.GkF(9,8),t.qZA(),t.TgZ(10,"div",9),t.GkF(11,8),t.qZA(),t.TgZ(12,"div",10),t.GkF(13,8),t.qZA()()()),2&Y){const X=t.MAs(1);t.xp6(4),t.uIk("viewBox",j._viewBox()),t.xp6(1),t.Udp("stroke-dasharray",j._strokeCircumference(),"px")("stroke-dashoffset",j._strokeDashOffset(),"px")("stroke-width",j._circleStrokeWidth(),"%"),t.uIk("r",j._circleRadius()),t.xp6(4),t.Q6J("ngTemplateOutlet",X),t.xp6(2),t.Q6J("ngTemplateOutlet",X),t.xp6(2),t.Q6J("ngTemplateOutlet",X)}},dependencies:[A.tP],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{display:block;overflow:hidden;line-height: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, transparent)}@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}}@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._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}),U})(),P=(()=>{class U{}return U.\u0275fac=function(Y){return new(Y||U)},U.\u0275mod=t.oAB({type:U}),U.\u0275inj=t.cJS({imports:[A.ez,e.BQ]}),U})()},1948:(Ge,Q,m)=>{"use strict";m.d(Q,{Fk:()=>le,U0:()=>ue,VQ:()=>ee});var t=m(4650),e=m(3238),g=m(4761),A=m(1281),o=m(5017),C=m(4006),u=m(6895);const O=["input"],d=["*"];let M=0;class w{constructor(ce,se){this.source=ce,this.value=se}}const L={provide:C.JU,useExisting:(0,t.Gpc)(()=>ee),multi:!0},I=new t.OlP("MatRadioGroup"),P=new t.OlP("mat-radio-default-options",{providedIn:"root",factory:function U(){return{color:"accent"}}});let Z=(()=>{class ie{constructor(se){this._changeDetector=se,this._value=null,this._name="mat-radio-group-"+M++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new t.vpe}get name(){return this._name}set name(se){this._name=se,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(se){this._labelPosition="before"===se?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(se){this._value!==se&&(this._value=se,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(se){this._selected=se,this.value=se?se.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(se){this._disabled=(0,A.Ig)(se),this._markRadiosForCheck()}get required(){return this._required}set required(se){this._required=(0,A.Ig)(se),this._markRadiosForCheck()}ngAfterContentInit(){this._isInitialized=!0}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(se=>{se.name=this.name,se._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(he=>{he.checked=this.value===he.value,he.checked&&(this._selected=he)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new w(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(se=>se._markForCheck())}writeValue(se){this.value=se,this._changeDetector.markForCheck()}registerOnChange(se){this._controlValueAccessorChangeFn=se}registerOnTouched(se){this.onTouched=se}setDisabledState(se){this.disabled=se,this._changeDetector.markForCheck()}}return ie.\u0275fac=function(se){return new(se||ie)(t.Y36(t.sBO))},ie.\u0275dir=t.lG2({type:ie,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),ie})();class Y{constructor(ce){this._elementRef=ce}}const j=(0,e.Kr)((0,e.sb)(Y));let X=(()=>{class ie extends j{constructor(se,he,E,i,r,h,c,y){super(he),this._changeDetector=E,this._focusMonitor=i,this._radioDispatcher=r,this._providerOverride=c,this._uniqueId="mat-radio-"+ ++M,this.id=this._uniqueId,this.change=new t.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=se,this._noopAnimations="NoopAnimations"===h,y&&(this.tabIndex=(0,A.su)(y,0))}get checked(){return this._checked}set checked(se){const he=(0,A.Ig)(se);this._checked!==he&&(this._checked=he,he&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!he&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),he&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(se){this._value!==se&&(this._value=se,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===se),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(se){this._labelPosition=se}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(se){this._setDisabled((0,A.Ig)(se))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(se){this._required=(0,A.Ig)(se)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(se){this._color=se}get inputId(){return`${this.id||this._uniqueId}-input`}focus(se,he){he?this._focusMonitor.focusVia(this._inputElement,he,se):this._inputElement.nativeElement.focus(se)}_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((se,he)=>{se!==this.id&&he===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(se=>{!se&&this.radioGroup&&this.radioGroup._touch()})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new w(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputClick(se){se.stopPropagation()}_onInputInteraction(se){if(se.stopPropagation(),!this.checked&&!this.disabled){const he=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),he&&this.radioGroup._emitChangeEvent())}}_setDisabled(se){this._disabled!==se&&(this._disabled=se,this._changeDetector.markForCheck())}_updateTabIndex(){const se=this.radioGroup;let he;if(he=se&&se.selected&&!this.disabled?se.selected===this?this.tabIndex:-1:this.tabIndex,he!==this._previousTabIndex){const E=this._inputElement?.nativeElement;E&&(E.setAttribute("tabindex",he+""),this._previousTabIndex=he)}}}return ie.\u0275fac=function(se){t.$Z()},ie.\u0275dir=t.lG2({type:ie,viewQuery:function(se,he){if(1&se&&t.Gf(O,5),2&se){let E;t.iGM(E=t.CRH())&&(he._inputElement=E.first)}},inputs:{id:"id",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"},features:[t.qOj]}),ie})(),ee=(()=>{class ie extends Z{}return ie.\u0275fac=function(){let ce;return function(he){return(ce||(ce=t.n5z(ie)))(he||ie)}}(),ie.\u0275dir=t.lG2({type:ie,selectors:[["mat-radio-group"]],contentQueries:function(se,he,E){if(1&se&&t.Suo(E,ue,5),2&se){let i;t.iGM(i=t.CRH())&&(he._radios=i)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],exportAs:["matRadioGroup"],features:[t._Bn([L,{provide:I,useExisting:ie}]),t.qOj]}),ie})(),ue=(()=>{class ie extends X{constructor(se,he,E,i,r,h,c,y){super(se,he,E,i,r,h,c,y)}}return ie.\u0275fac=function(se){return new(se||ie)(t.Y36(I,8),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(g.tE),t.Y36(o.A8),t.Y36(t.QbO,8),t.Y36(P,8),t.$8M("tabindex"))},ie.\u0275cmp=t.Xpm({type:ie,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(se,he){1&se&&t.NdJ("focus",function(){return he._inputElement.nativeElement.focus()}),2&se&&(t.uIk("id",he.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),t.ekj("mat-primary","primary"===he.color)("mat-accent","accent"===he.color)("mat-warn","warn"===he.color)("mat-mdc-radio-checked",he.checked)("_mat-animation-noopable",he._noopAnimations))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[t.qOj],ngContentSelectors:d,decls:13,vars:17,consts:[[1,"mdc-form-field"],["formField",""],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"id","checked","disabled","required","change"],["input",""],[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"],[3,"for"]],template:function(se,he){if(1&se&&(t.F$t(),t.TgZ(0,"div",0,1)(2,"div",2)(3,"div",3),t.NdJ("click",function(i){return he._onInputInteraction(i)}),t.qZA(),t.TgZ(4,"input",4,5),t.NdJ("change",function(i){return he._onInputInteraction(i)}),t.qZA(),t.TgZ(6,"div",6),t._UZ(7,"div",7)(8,"div",8),t.qZA(),t.TgZ(9,"div",9),t._UZ(10,"div",10),t.qZA()(),t.TgZ(11,"label",11),t.Hsn(12),t.qZA()()),2&se){const E=t.MAs(1);t.ekj("mdc-form-field--align-end","before"==he.labelPosition),t.xp6(2),t.ekj("mdc-radio--disabled",he.disabled),t.xp6(2),t.Q6J("id",he.inputId)("checked",he.checked)("disabled",he.disabled)("required",he.required),t.uIk("name",he.name)("value",he.value)("aria-label",he.ariaLabel)("aria-labelledby",he.ariaLabelledby)("aria-describedby",he.ariaDescribedby),t.xp6(5),t.Q6J("matRippleTrigger",E)("matRippleDisabled",he._isRippleDisabled())("matRippleCentered",!0),t.xp6(2),t.Q6J("for",he.inputId)}},dependencies:[e.wG],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)}.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}.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, 40px) - 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, #000)}.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, #000)}.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, 0.38)}.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, 0.38)}.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, #000)}.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, 0.38)}.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, #6200ee)}.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, #6200ee)}.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, #6200ee)}.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, #6200ee)}.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, #6200ee)}.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, #6200ee)}.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, #6200ee)}.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, #6200ee)}.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, #000)}.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, #000)}.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, #000)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{top:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);left:calc(-1 * (var(--mdc-radio-state-layer-size, 40px) - 20px) / 2);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control{top:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);right:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);left:calc((var(--mdc-radio-state-layer-size, 40px) - var(--mdc-radio-state-layer-size, 40px)) / 2);width:var(--mdc-radio-state-layer-size, 40px);height:var(--mdc-radio-state-layer-size, 40px)}.mat-mdc-radio-button .mdc-radio .mdc-radio__background::before{background-color:var(--mat-mdc-radio-ripple-color, transparent)}.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-mdc-radio-checked-ripple-color, transparent)}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element{background-color:var(--mat-mdc-radio-checked-ripple-color, transparent)}.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%)}[dir=rtl] .mat-mdc-radio-touch-target{left:0;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0}),ie})(),le=(()=>{class ie{}return ie.\u0275fac=function(se){return new(se||ie)},ie.\u0275mod=t.oAB({type:ie}),ie.\u0275inj=t.cJS({imports:[e.BQ,u.ez,e.si,e.BQ]}),ie})()},4385:(Ge,Q,m)=>{"use strict";m.d(Q,{$L:()=>ve,LD:()=>Se,PG:()=>W,gD:()=>fe});var t=m(8184),e=m(6895),g=m(4650),A=m(3238),o=m(9549),C=m(531),u=m(4761),O=m(445),d=m(1281),M=m(5017),w=m(9521),L=m(4006),I=m(7579),P=m(9770),U=m(6451),Z=m(8675),Y=m(3900),j=m(5698),X=m(9300),ee=m(4004),ue=m(1884),le=m(2722),ie=m(7340);const ce=["trigger"],se=["panel"];function he(te,Ke){if(1&te&&(g.TgZ(0,"span",10),g._uU(1),g.qZA()),2&te){const Ae=g.oxw();g.xp6(1),g.Oqu(Ae.placeholder)}}function E(te,Ke){if(1&te&&(g.TgZ(0,"span",14),g._uU(1),g.qZA()),2&te){const Ae=g.oxw(2);g.xp6(1),g.Oqu(Ae.triggerValue)}}function i(te,Ke){1&te&&g.Hsn(0,0,["*ngSwitchCase","true"])}function r(te,Ke){if(1&te&&(g.TgZ(0,"span",11),g.YNc(1,E,2,1,"span",12),g.YNc(2,i,1,0,"ng-content",13),g.qZA()),2&te){const Ae=g.oxw();g.Q6J("ngSwitch",!!Ae.customTrigger),g.xp6(2),g.Q6J("ngSwitchCase",!0)}}function h(te,Ke){if(1&te){const Ae=g.EpF();g.O4$(),g.kcU(),g.TgZ(0,"div",15,16),g.NdJ("@transformPanel.done",function(ye){g.CHM(Ae);const me=g.oxw();return g.KtG(me._panelDoneAnimatingStream.next(ye.toState))})("keydown",function(ye){g.CHM(Ae);const me=g.oxw();return g.KtG(me._handleKeydown(ye))}),g.Hsn(2,1),g.qZA()}if(2&te){const Ae=g.oxw();g.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ae._getPanelTheme(),""),g.Q6J("ngClass",Ae.panelClass)("@transformPanel","showing"),g.uIk("id",Ae.id+"-panel")("aria-multiselectable",Ae.multiple)("aria-label",Ae.ariaLabel||null)("aria-labelledby",Ae._getPanelAriaLabelledby())}}const c=[[["mat-select-trigger"]],"*"],y=["mat-select-trigger","*"],S={transformPanelWrap:(0,ie.X$)("transformPanelWrap",[(0,ie.eR)("* => void",(0,ie.IO)("@transformPanel",[(0,ie.pV)()],{optional:!0}))]),transformPanel:(0,ie.X$)("transformPanel",[(0,ie.SB)("void",(0,ie.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,ie.eR)("void => showing",(0,ie.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,ie.eR)("* => void",(0,ie.jt)("100ms linear",(0,ie.oB)({opacity:0})))])};let b=0;const B=new g.OlP("mat-select-scroll-strategy"),W=new g.OlP("MAT_SELECT_CONFIG"),Oe={provide:B,deps:[t.aV],useFactory:function z(te){return()=>te.scrollStrategies.reposition()}},it=new g.OlP("MatSelectTrigger");class Ne{constructor(Ke,Ae){this.source=Ke,this.value=Ae}}const ot=(0,A.Kr)((0,A.sb)((0,A.Id)((0,A.FD)(class{constructor(te,Ke,Ae,oe,ye){this._elementRef=te,this._defaultErrorStateMatcher=Ke,this._parentForm=Ae,this._parentFormGroup=oe,this.ngControl=ye,this.stateChanges=new I.x}}))));let Ie=(()=>{class te extends ot{constructor(Ae,oe,ye,me,Me,Ze,q,de,xe,ke,ft,_t,ct,nt){super(Me,me,q,de,ke),this._viewportRuler=Ae,this._changeDetectorRef=oe,this._ngZone=ye,this._dir=Ze,this._parentFormField=xe,this._liveAnnouncer=ct,this._defaultOptions=nt,this._panelOpen=!1,this._compareWith=(Jt,vt)=>Jt===vt,this._uid="mat-select-"+b++,this._triggerAriaLabelledBy=null,this._destroy=new I.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+b++,this._panelDoneAnimatingStream=new I.x,this._overlayPanelClass=this._defaultOptions?.overlayPanelClass||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1,this.ariaLabel="",this.optionSelectionChanges=(0,P.P)(()=>{const Jt=this.options;return Jt?Jt.changes.pipe((0,Z.O)(Jt),(0,Y.w)(()=>(0,U.T)(...Jt.map(vt=>vt.onSelectionChange)))):this._ngZone.onStable.pipe((0,j.q)(1),(0,Y.w)(()=>this.optionSelectionChanges))}),this.openedChange=new g.vpe,this._openedStream=this.openedChange.pipe((0,X.h)(Jt=>Jt),(0,ee.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,X.h)(Jt=>!Jt),(0,ee.U)(()=>{})),this.selectionChange=new g.vpe,this.valueChange=new g.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=nt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=nt.typeaheadDebounceInterval),this._scrollStrategyFactory=_t,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(ft)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Ae){this._placeholder=Ae,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(L.kI.required)??!1}set required(Ae){this._required=(0,d.Ig)(Ae),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ae){this._multiple=(0,d.Ig)(Ae)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Ae){this._disableOptionCentering=(0,d.Ig)(Ae)}get compareWith(){return this._compareWith}set compareWith(Ae){this._compareWith=Ae,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ae){this._assignValue(Ae)&&this._onChange(Ae)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Ae){this._typeaheadDebounceInterval=(0,d.su)(Ae)}get id(){return this._id}set id(Ae){this._id=Ae||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new M.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ue.x)(),(0,le.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,le.R)(this._destroy)).subscribe(Ae=>{Ae.added.forEach(oe=>oe.select()),Ae.removed.forEach(oe=>oe.deselect())}),this.options.changes.pipe((0,Z.O)(null),(0,le.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ae=this._getTriggerAriaLabelledby(),oe=this.ngControl;if(Ae!==this._triggerAriaLabelledBy){const ye=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ae,Ae?ye.setAttribute("aria-labelledby",Ae):ye.removeAttribute("aria-labelledby")}oe&&(this._previousControl!==oe.control&&(void 0!==this._previousControl&&null!==oe.disabled&&oe.disabled!==this.disabled&&(this.disabled=oe.disabled),this._previousControl=oe.control),this.updateErrorState())}ngOnChanges(Ae){(Ae.disabled||Ae.userAriaDescribedBy)&&this.stateChanges.next(),Ae.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(Ae){this._assignValue(Ae)}registerOnChange(Ae){this._onChange=Ae}registerOnTouched(Ae){this._onTouched=Ae}setDisabledState(Ae){this.disabled=Ae,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 Ae=this._selectionModel.selected.map(oe=>oe.viewValue);return this._isRtl()&&Ae.reverse(),Ae.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ae){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ae):this._handleClosedKeydown(Ae))}_handleClosedKeydown(Ae){const oe=Ae.keyCode,ye=oe===w.JH||oe===w.LH||oe===w.oh||oe===w.SV,me=oe===w.K5||oe===w.L_,Me=this._keyManager;if(!Me.isTyping()&&me&&!(0,w.Vb)(Ae)||(this.multiple||Ae.altKey)&&ye)Ae.preventDefault(),this.open();else if(!this.multiple){const Ze=this.selected;Me.onKeydown(Ae);const q=this.selected;q&&Ze!==q&&this._liveAnnouncer.announce(q.viewValue,1e4)}}_handleOpenKeydown(Ae){const oe=this._keyManager,ye=Ae.keyCode,me=ye===w.JH||ye===w.LH,Me=oe.isTyping();if(me&&Ae.altKey)Ae.preventDefault(),this.close();else if(Me||ye!==w.K5&&ye!==w.L_||!oe.activeItem||(0,w.Vb)(Ae))if(!Me&&this._multiple&&ye===w.A&&Ae.ctrlKey){Ae.preventDefault();const Ze=this.options.some(q=>!q.disabled&&!q.selected);this.options.forEach(q=>{q.disabled||(Ze?q.select():q.deselect())})}else{const Ze=oe.activeItemIndex;oe.onKeydown(Ae),this._multiple&&me&&Ae.shiftKey&&oe.activeItem&&oe.activeItemIndex!==Ze&&oe.activeItem._selectViaInteraction()}else Ae.preventDefault(),oe.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,j.q)(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(Ae){if(this._selectionModel.selected.forEach(oe=>oe.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ae)Array.isArray(Ae),Ae.forEach(oe=>this._selectOptionByValue(oe)),this._sortValues();else{const oe=this._selectOptionByValue(Ae);oe?this._keyManager.updateActiveItem(oe):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ae){const oe=this.options.find(ye=>{if(this._selectionModel.isSelected(ye))return!1;try{return null!=ye.value&&this._compareWith(ye.value,Ae)}catch{return!1}});return oe&&this._selectionModel.select(oe),oe}_assignValue(Ae){return!!(Ae!==this._value||this._multiple&&Array.isArray(Ae))&&(this.options&&this._setSelectionByValue(Ae),this._value=Ae,!0)}_initKeyManager(){this._keyManager=new u.s1(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]),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 Ae=(0,U.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,le.R)(Ae)).subscribe(oe=>{this._onSelect(oe.source,oe.isUserInput),oe.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,U.T)(...this.options.map(oe=>oe._stateChanges)).pipe((0,le.R)(Ae)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ae,oe){const ye=this._selectionModel.isSelected(Ae);null!=Ae.value||this._multiple?(ye!==Ae.selected&&(Ae.selected?this._selectionModel.select(Ae):this._selectionModel.deselect(Ae)),oe&&this._keyManager.setActiveItem(Ae),this.multiple&&(this._sortValues(),oe&&this.focus())):(Ae.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ae.value)),ye!==this._selectionModel.isSelected(Ae)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ae=this.options.toArray();this._selectionModel.sort((oe,ye)=>this.sortComparator?this.sortComparator(oe,ye,Ae):Ae.indexOf(oe)-Ae.indexOf(ye)),this.stateChanges.next()}}_propagateChanges(Ae){let oe=null;oe=this.multiple?this.selected.map(ye=>ye.value):this.selected?this.selected.value:Ae,this._value=oe,this.valueChange.emit(oe),this._onChange(oe),this.selectionChange.emit(this._getChangeEvent(oe)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(Ae){this._elementRef.nativeElement.focus(Ae)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ae=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ae?Ae+" ":"")+this.ariaLabelledby:Ae}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ae=this._parentFormField?.getLabelId();let oe=(Ae?Ae+" ":"")+this._valueId;return this.ariaLabelledby&&(oe+=" "+this.ariaLabelledby),oe}_panelDoneAnimating(Ae){this.openedChange.emit(Ae)}setDescribedByIds(Ae){Ae.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ae.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return te.\u0275fac=function(Ae){return new(Ae||te)(g.Y36(C.rL),g.Y36(g.sBO),g.Y36(g.R0b),g.Y36(A.rD),g.Y36(g.SBq),g.Y36(O.Is,8),g.Y36(L.F,8),g.Y36(L.sg,8),g.Y36(o.G_,8),g.Y36(L.a5,10),g.$8M("tabindex"),g.Y36(B),g.Y36(u.Kd),g.Y36(W,8))},te.\u0275dir=g.lG2({type:te,viewQuery:function(Ae,oe){if(1&Ae&&(g.Gf(ce,5),g.Gf(se,5),g.Gf(t.pI,5)),2&Ae){let ye;g.iGM(ye=g.CRH())&&(oe.trigger=ye.first),g.iGM(ye=g.CRH())&&(oe.panel=ye.first),g.iGM(ye=g.CRH())&&(oe._overlayDir=ye.first)}},inputs:{userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[g.qOj,g.TTD]}),te})(),ve=(()=>{class te{}return te.\u0275fac=function(Ae){return new(Ae||te)},te.\u0275dir=g.lG2({type:te,selectors:[["mat-select-trigger"]],features:[g._Bn([{provide:it,useExisting:te}])]}),te})(),fe=(()=>{class te extends Ie{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}]}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,le.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(Ae){const oe=this.options.toArray()[Ae];if(oe){const ye=this.panel.nativeElement,me=(0,A.CB)(Ae,this.options,this.optionGroups),Me=oe._getHostElement();ye.scrollTop=0===Ae&&1===me?0:(0,A.jH)(Me.offsetTop,Me.offsetHeight,ye.scrollTop,ye.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Ae){return new Ne(this,Ae)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof t.xu?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}}return te.\u0275fac=function(){let Ke;return function(oe){return(Ke||(Ke=g.n5z(te)))(oe||te)}}(),te.\u0275cmp=g.Xpm({type:te,selectors:[["mat-select"]],contentQueries:function(Ae,oe,ye){if(1&Ae&&(g.Suo(ye,it,5),g.Suo(ye,A.ey,5),g.Suo(ye,A.K7,5)),2&Ae){let me;g.iGM(me=g.CRH())&&(oe.customTrigger=me.first),g.iGM(me=g.CRH())&&(oe.options=me),g.iGM(me=g.CRH())&&(oe.optionGroups=me)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(Ae,oe){1&Ae&&g.NdJ("keydown",function(me){return oe._handleKeydown(me)})("focus",function(){return oe._onFocus()})("blur",function(){return oe._onBlur()}),2&Ae&&(g.uIk("id",oe.id)("tabindex",oe.tabIndex)("aria-controls",oe.panelOpen?oe.id+"-panel":null)("aria-expanded",oe.panelOpen)("aria-label",oe.ariaLabel||null)("aria-required",oe.required.toString())("aria-disabled",oe.disabled.toString())("aria-invalid",oe.errorState)("aria-activedescendant",oe._getAriaActiveDescendant()),g.ekj("mat-mdc-select-disabled",oe.disabled)("mat-mdc-select-invalid",oe.errorState)("mat-mdc-select-required",oe.required)("mat-mdc-select-empty",oe.empty)("mat-mdc-select-multiple",oe.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[g._Bn([{provide:o.Eo,useExisting:te},{provide:A.HF,useExisting:te}]),g.qOj],ngContentSelectors:y,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(Ae,oe){if(1&Ae&&(g.F$t(c),g.TgZ(0,"div",0,1),g.NdJ("click",function(){return oe.toggle()}),g.TgZ(3,"div",2),g.YNc(4,he,2,1,"span",3),g.YNc(5,r,3,2,"span",4),g.qZA(),g.TgZ(6,"div",5)(7,"div",6),g.O4$(),g.TgZ(8,"svg",7),g._UZ(9,"path",8),g.qZA()()()(),g.YNc(10,h,3,9,"ng-template",9),g.NdJ("backdropClick",function(){return oe.close()})("attach",function(){return oe._onAttached()})("detach",function(){return oe.close()})),2&Ae){const ye=g.MAs(1);g.uIk("aria-owns",oe.panelOpen?oe.id+"-panel":null),g.xp6(3),g.Q6J("ngSwitch",oe.empty),g.uIk("id",oe._valueId),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngSwitchCase",!1),g.xp6(5),g.Q6J("cdkConnectedOverlayPanelClass",oe._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",oe._scrollStrategy)("cdkConnectedOverlayOrigin",oe._preferredOverlayOrigin||ye)("cdkConnectedOverlayOpen",oe.panelOpen)("cdkConnectedOverlayPositions",oe._positions)("cdkConnectedOverlayWidth",oe._overlayWidth)}},dependencies:[e.mk,e.RF,e.n9,e.ED,t.pI,t.xu],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:calc(100vw - 32px);max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}.mat-mdc-select{display:inline-block;width:100%;outline:none}.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 .mat-mdc-select-arrow-wrapper{transform:translateY(-8px)}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-select-arrow{width:10px;height:5px;position:relative}.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}.mdc-menu-surface.mat-mdc-select-panel{width:100%;max-height:275px;position:static;outline:0;margin:0;padding:8px 0;list-style-type:none}.mdc-menu-surface.mat-mdc-select-panel:focus{outline:none}.cdk-high-contrast-active .mdc-menu-surface.mat-mdc-select-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) .mdc-menu-surface.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above .mdc-menu-surface.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._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.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}'],encapsulation:2,data:{animation:[S.transformPanel]},changeDetection:0}),te})(),Se=(()=>{class te{}return te.\u0275fac=function(Ae){return new(Ae||te)},te.\u0275mod=g.oAB({type:te}),te.\u0275inj=g.cJS({providers:[Oe],imports:[e.ez,t.U8,A.Ng,A.BQ,C.ZD,o.lN,A.Ng,A.BQ]}),te})()},3267:(Ge,Q,m)=>{"use strict";m.d(Q,{JX:()=>it,Rh:()=>Oe,SJ:()=>ot,TM:()=>Ne});var t=m(531),e=m(6895),g=m(4650),A=m(3238),o=m(4761),C=m(445),u=m(1281),O=m(9521),d=m(3353),M=m(7579),w=m(4968),L=m(6451),I=m(9300),P=m(4004),U=m(9718),Z=m(2722),Y=m(1884),j=m(5698),X=m(8675),ee=m(8372),ue=m(7340);const le=["*"],ie=["content"];function ce(Ie,ve){if(1&Ie){const fe=g.EpF();g.TgZ(0,"div",2),g.NdJ("click",function(){g.CHM(fe);const te=g.oxw();return g.KtG(te._onBackdropClicked())}),g.qZA()}if(2&Ie){const fe=g.oxw();g.ekj("mat-drawer-shown",fe._isShowingBackdrop())}}function se(Ie,ve){1&Ie&&(g.TgZ(0,"mat-drawer-content"),g.Hsn(1,2),g.qZA())}const he=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],E=["mat-drawer","mat-drawer-content","*"];function i(Ie,ve){if(1&Ie){const fe=g.EpF();g.TgZ(0,"div",2),g.NdJ("click",function(){g.CHM(fe);const te=g.oxw();return g.KtG(te._onBackdropClicked())}),g.qZA()}if(2&Ie){const fe=g.oxw();g.ekj("mat-drawer-shown",fe._isShowingBackdrop())}}function r(Ie,ve){1&Ie&&(g.TgZ(0,"mat-sidenav-content"),g.Hsn(1,2),g.qZA())}const h=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],c=["mat-sidenav","mat-sidenav-content","*"],S={transformDrawer:(0,ue.X$)("transform",[(0,ue.SB)("open, open-instant",(0,ue.oB)({transform:"none",visibility:"visible"})),(0,ue.SB)("void",(0,ue.oB)({"box-shadow":"none",visibility:"hidden"})),(0,ue.eR)("void => open-instant",(0,ue.jt)("0ms")),(0,ue.eR)("void <=> open, open-instant => void",(0,ue.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},v=new g.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function b(){return!1}}),n=new g.OlP("MAT_DRAWER_CONTAINER");let B=(()=>{class Ie extends t.PQ{constructor(fe,Se,te,Ke,Ae){super(te,Ke,Ae),this._changeDetectorRef=fe,this._container=Se}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(g.Y36(g.sBO),g.Y36((0,g.Gpc)(()=>W)),g.Y36(g.SBq),g.Y36(t.mF),g.Y36(g.R0b))},Ie.\u0275cmp=g.Xpm({type:Ie,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(fe,Se){2&fe&&g.Udp("margin-left",Se._container._contentMargins.left,"px")("margin-right",Se._container._contentMargins.right,"px")},features:[g._Bn([{provide:t.PQ,useExisting:Ie}]),g.qOj],ngContentSelectors:le,decls:1,vars:0,template:function(fe,Se){1&fe&&(g.F$t(),g.Hsn(0))},encapsulation:2,changeDetection:0}),Ie})(),z=(()=>{class Ie{constructor(fe,Se,te,Ke,Ae,oe,ye,me){this._elementRef=fe,this._focusTrapFactory=Se,this._focusMonitor=te,this._platform=Ke,this._ngZone=Ae,this._interactivityChecker=oe,this._doc=ye,this._container=me,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new M.x,this._animationEnd=new M.x,this._animationState="void",this.openedChange=new g.vpe(!0),this._openedStream=this.openedChange.pipe((0,I.h)(Me=>Me),(0,P.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,I.h)(Me=>Me.fromState!==Me.toState&&0===Me.toState.indexOf("open")),(0,U.h)(void 0)),this._closedStream=this.openedChange.pipe((0,I.h)(Me=>!Me),(0,P.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,I.h)(Me=>Me.fromState!==Me.toState&&"void"===Me.toState),(0,U.h)(void 0)),this._destroyed=new M.x,this.onPositionChanged=new g.vpe,this._modeChanged=new M.x,this.openedChange.subscribe(Me=>{Me?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,w.R)(this._elementRef.nativeElement,"keydown").pipe((0,I.h)(Me=>Me.keyCode===O.hY&&!this.disableClose&&!(0,O.Vb)(Me)),(0,Z.R)(this._destroyed)).subscribe(Me=>this._ngZone.run(()=>{this.close(),Me.stopPropagation(),Me.preventDefault()}))}),this._animationEnd.pipe((0,Y.x)((Me,Ze)=>Me.fromState===Ze.fromState&&Me.toState===Ze.toState)).subscribe(Me=>{const{fromState:Ze,toState:q}=Me;(0===q.indexOf("open")&&"void"===Ze||"void"===q&&0===Ze.indexOf("open"))&&this.openedChange.emit(this._opened)})}get position(){return this._position}set position(fe){(fe="end"===fe?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(fe),this._position=fe,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(fe){this._mode=fe,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(fe){this._disableClose=(0,u.Ig)(fe)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(fe){("true"===fe||"false"===fe||null==fe)&&(fe=(0,u.Ig)(fe)),this._autoFocus=fe}get opened(){return this._opened}set opened(fe){this.toggle((0,u.Ig)(fe))}_forceFocus(fe,Se){this._interactivityChecker.isFocusable(fe)||(fe.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const te=()=>{fe.removeEventListener("blur",te),fe.removeEventListener("mousedown",te),fe.removeAttribute("tabindex")};fe.addEventListener("blur",te),fe.addEventListener("mousedown",te)})),fe.focus(Se)}_focusByCssSelector(fe,Se){let te=this._elementRef.nativeElement.querySelector(fe);te&&this._forceFocus(te,Se)}_takeFocus(){if(!this._focusTrap)return;const fe=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Se=>{!Se&&"function"==typeof this._elementRef.nativeElement.focus&&fe.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(fe){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,fe):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const fe=this._doc.activeElement;return!!fe&&this._elementRef.nativeElement.contains(fe)}ngAfterViewInit(){this._isAttached=!0,this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState(),"end"===this._position&&this._updatePositionInParent("end")}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap&&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(fe){return this.toggle(!0,fe)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(fe=!this.opened,Se){fe&&Se&&(this._openedVia=Se);const te=this._setOpen(fe,!fe&&this._isFocusWithinDrawer(),this._openedVia||"program");return fe||(this._openedVia=null),te}_setOpen(fe,Se,te){return this._opened=fe,fe?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",Se&&this._restoreFocus(te)),this._updateFocusTrapState(),new Promise(Ke=>{this.openedChange.pipe((0,j.q)(1)).subscribe(Ae=>Ke(Ae?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(fe){const Se=this._elementRef.nativeElement,te=Se.parentNode;"end"===fe?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),te.insertBefore(this._anchor,Se)),te.appendChild(Se)):this._anchor&&this._anchor.parentNode.insertBefore(Se,this._anchor)}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(g.Y36(g.SBq),g.Y36(o.qV),g.Y36(o.tE),g.Y36(d.t4),g.Y36(g.R0b),g.Y36(o.ic),g.Y36(e.K0,8),g.Y36(n,8))},Ie.\u0275cmp=g.Xpm({type:Ie,selectors:[["mat-drawer"]],viewQuery:function(fe,Se){if(1&fe&&g.Gf(ie,5),2&fe){let te;g.iGM(te=g.CRH())&&(Se._content=te.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(fe,Se){1&fe&&g.WFA("@transform.start",function(Ke){return Se._animationStarted.next(Ke)})("@transform.done",function(Ke){return Se._animationEnd.next(Ke)}),2&fe&&(g.uIk("align",null),g.d8E("@transform",Se._animationState),g.ekj("mat-drawer-end","end"===Se.position)("mat-drawer-over","over"===Se.mode)("mat-drawer-push","push"===Se.mode)("mat-drawer-side","side"===Se.mode)("mat-drawer-opened",Se.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"],ngContentSelectors:le,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(fe,Se){1&fe&&(g.F$t(),g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA())},dependencies:[t.PQ],encapsulation:2,data:{animation:[S.transformDrawer]},changeDetection:0}),Ie})(),W=(()=>{class Ie{constructor(fe,Se,te,Ke,Ae,oe=!1,ye){this._dir=fe,this._element=Se,this._ngZone=te,this._changeDetectorRef=Ke,this._animationMode=ye,this._drawers=new g.n_E,this.backdropClick=new g.vpe,this._destroyed=new M.x,this._doCheckSubject=new M.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new M.x,fe&&fe.change.pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Ae.change().pipe((0,Z.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=oe}get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(fe){this._autosize=(0,u.Ig)(fe)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(fe){this._backdropOverride=null==fe?null:(0,u.Ig)(fe)}get scrollable(){return this._userContent||this._content}ngAfterContentInit(){this._allDrawers.changes.pipe((0,X.O)(this._allDrawers),(0,Z.R)(this._destroyed)).subscribe(fe=>{this._drawers.reset(fe.filter(Se=>!Se._container||Se._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,X.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(fe=>{this._watchDrawerToggle(fe),this._watchDrawerPosition(fe),this._watchDrawerMode(fe)}),(!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,Z.R)(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(fe=>fe.open())}close(){this._drawers.forEach(fe=>fe.close())}updateContentMargins(){let fe=0,Se=0;if(this._left&&this._left.opened)if("side"==this._left.mode)fe+=this._left._getWidth();else if("push"==this._left.mode){const te=this._left._getWidth();fe+=te,Se-=te}if(this._right&&this._right.opened)if("side"==this._right.mode)Se+=this._right._getWidth();else if("push"==this._right.mode){const te=this._right._getWidth();Se+=te,fe-=te}fe=fe||null,Se=Se||null,(fe!==this._contentMargins.left||Se!==this._contentMargins.right)&&(this._contentMargins={left:fe,right:Se},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(fe){fe._animationStarted.pipe((0,I.h)(Se=>Se.fromState!==Se.toState),(0,Z.R)(this._drawers.changes)).subscribe(Se=>{"open-instant"!==Se.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==fe.mode&&fe.openedChange.pipe((0,Z.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(fe.opened))}_watchDrawerPosition(fe){!fe||fe.onPositionChanged.pipe((0,Z.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,j.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(fe){fe&&fe._modeChanged.pipe((0,Z.R)((0,L.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(fe){const Se=this._element.nativeElement.classList,te="mat-drawer-container-has-open";fe?Se.add(te):Se.remove(te)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(fe=>{"end"==fe.position?this._end=fe:this._start=fe}),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(fe=>fe&&!fe.disableClose&&this._canHaveBackdrop(fe)).forEach(fe=>fe._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(fe){return"side"!==fe.mode||!!this._backdropOverride}_isDrawerOpen(fe){return null!=fe&&fe.opened}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(g.Y36(C.Is,8),g.Y36(g.SBq),g.Y36(g.R0b),g.Y36(g.sBO),g.Y36(t.rL),g.Y36(v),g.Y36(g.QbO,8))},Ie.\u0275cmp=g.Xpm({type:Ie,selectors:[["mat-drawer-container"]],contentQueries:function(fe,Se,te){if(1&fe&&(g.Suo(te,B,5),g.Suo(te,z,5)),2&fe){let Ke;g.iGM(Ke=g.CRH())&&(Se._content=Ke.first),g.iGM(Ke=g.CRH())&&(Se._allDrawers=Ke)}},viewQuery:function(fe,Se){if(1&fe&&g.Gf(B,5),2&fe){let te;g.iGM(te=g.CRH())&&(Se._userContent=te.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(fe,Se){2&fe&&g.ekj("mat-drawer-container-explicit-backdrop",Se._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[g._Bn([{provide:n,useExisting:Ie}])],ngContentSelectors:E,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(fe,Se){1&fe&&(g.F$t(he),g.YNc(0,ce,1,2,"div",0),g.Hsn(1),g.Hsn(2,1),g.YNc(3,se,2,0,"mat-drawer-content",1)),2&fe&&(g.Q6J("ngIf",Se.hasBackdrop),g.xp6(3),g.Q6J("ngIf",!Se._content))},dependencies:[e.O5,B],styles:['.mat-drawer-container{position:relative;z-index:1;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}.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;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)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),Ie})(),Oe=(()=>{class Ie extends B{constructor(fe,Se,te,Ke,Ae){super(fe,Se,te,Ke,Ae)}}return Ie.\u0275fac=function(fe){return new(fe||Ie)(g.Y36(g.sBO),g.Y36((0,g.Gpc)(()=>Ne)),g.Y36(g.SBq),g.Y36(t.mF),g.Y36(g.R0b))},Ie.\u0275cmp=g.Xpm({type:Ie,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(fe,Se){2&fe&&g.Udp("margin-left",Se._container._contentMargins.left,"px")("margin-right",Se._container._contentMargins.right,"px")},features:[g._Bn([{provide:t.PQ,useExisting:Ie}]),g.qOj],ngContentSelectors:le,decls:1,vars:0,template:function(fe,Se){1&fe&&(g.F$t(),g.Hsn(0))},encapsulation:2,changeDetection:0}),Ie})(),it=(()=>{class Ie extends z{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(fe){this._fixedInViewport=(0,u.Ig)(fe)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(fe){this._fixedTopGap=(0,u.su)(fe)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(fe){this._fixedBottomGap=(0,u.su)(fe)}}return Ie.\u0275fac=function(){let ve;return function(Se){return(ve||(ve=g.n5z(Ie)))(Se||Ie)}}(),Ie.\u0275cmp=g.Xpm({type:Ie,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(fe,Se){2&fe&&(g.uIk("align",null),g.Udp("top",Se.fixedInViewport?Se.fixedTopGap:null,"px")("bottom",Se.fixedInViewport?Se.fixedBottomGap:null,"px"),g.ekj("mat-drawer-end","end"===Se.position)("mat-drawer-over","over"===Se.mode)("mat-drawer-push","push"===Se.mode)("mat-drawer-side","side"===Se.mode)("mat-drawer-opened",Se.opened)("mat-sidenav-fixed",Se.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[g.qOj],ngContentSelectors:le,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(fe,Se){1&fe&&(g.F$t(),g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA())},dependencies:[t.PQ],encapsulation:2,data:{animation:[S.transformDrawer]},changeDetection:0}),Ie})(),Ne=(()=>{class Ie extends W{}return Ie.\u0275fac=function(){let ve;return function(Se){return(ve||(ve=g.n5z(Ie)))(Se||Ie)}}(),Ie.\u0275cmp=g.Xpm({type:Ie,selectors:[["mat-sidenav-container"]],contentQueries:function(fe,Se,te){if(1&fe&&(g.Suo(te,Oe,5),g.Suo(te,it,5)),2&fe){let Ke;g.iGM(Ke=g.CRH())&&(Se._content=Ke.first),g.iGM(Ke=g.CRH())&&(Se._allDrawers=Ke)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(fe,Se){2&fe&&g.ekj("mat-drawer-container-explicit-backdrop",Se._backdropOverride)},exportAs:["matSidenavContainer"],features:[g._Bn([{provide:n,useExisting:Ie}]),g.qOj],ngContentSelectors:c,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(fe,Se){1&fe&&(g.F$t(h),g.YNc(0,i,1,2,"div",0),g.Hsn(1),g.Hsn(2,1),g.YNc(3,r,2,0,"mat-sidenav-content",1)),2&fe&&(g.Q6J("ngIf",Se.hasBackdrop),g.xp6(3),g.Q6J("ngIf",!Se._content))},dependencies:[e.O5,Oe],styles:['.mat-drawer-container{position:relative;z-index:1;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}.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;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)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),Ie})(),ot=(()=>{class Ie{}return Ie.\u0275fac=function(fe){return new(fe||Ie)},Ie.\u0275mod=g.oAB({type:Ie}),Ie.\u0275inj=g.cJS({imports:[e.ez,A.BQ,t.ZD,t.ZD,A.BQ]}),Ie})()},455:(Ge,Q,m)=>{"use strict";m.d(Q,{Rr:()=>U,rP:()=>X});var t=m(4650),e=m(4006),g=m(4761),A=m(3238),o=m(1281),C=m(6895);const u=["switch"],O=["*"],d=new t.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),M={provide:e.JU,useExisting:(0,t.Gpc)(()=>U),multi:!0};class w{constructor(ue,le){this.source=ue,this.checked=le}}let L=0;const I=(0,A.sb)((0,A.pj)((0,A.Kr)((0,A.Id)(class{constructor(ee){this._elementRef=ee}}))));let P=(()=>{class ee extends I{constructor(le,ie,ce,se,he,E,i){super(le),this._focusMonitor=ie,this._changeDetectorRef=ce,this.defaults=he,this._onChange=r=>{},this._onTouched=()=>{},this._required=!1,this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new t.vpe,this.toggleChange=new t.vpe,this.tabIndex=parseInt(se)||0,this.color=this.defaultColor=he.color||"accent",this._noopAnimations="NoopAnimations"===E,this.id=this._uniqueId=`${i}${++L}`}get required(){return this._required}set required(le){this._required=(0,o.Ig)(le)}get checked(){return this._checked}set checked(le){this._checked=(0,o.Ig)(le),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(le=>{"keyboard"===le||"program"===le?(this._focused=!0,this._changeDetectorRef.markForCheck()):le||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(le){this.checked=!!le}registerOnChange(le){this._onChange=le}registerOnTouched(le){this._onTouched=le}setDisabledState(le){this.disabled=le,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}}return ee.\u0275fac=function(le){t.$Z()},ee.\u0275dir=t.lG2({type:ee,inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},features:[t.qOj]}),ee})(),U=(()=>{class ee extends P{constructor(le,ie,ce,se,he,E){super(le,ie,ce,se,he,E,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}get buttonId(){return`${this.id||this._uniqueId}-button`}_handleClick(){this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new w(this,this.checked)))}focus(){this._switchElement.nativeElement.focus()}_createChangeEvent(le){return new w(this,le)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return ee.\u0275fac=function(le){return new(le||ee)(t.Y36(t.SBq),t.Y36(g.tE),t.Y36(t.sBO),t.$8M("tabindex"),t.Y36(d),t.Y36(t.QbO,8))},ee.\u0275cmp=t.Xpm({type:ee,selectors:[["mat-slide-toggle"]],viewQuery:function(le,ie){if(1&le&&t.Gf(u,5),2&le){let ce;t.iGM(ce=t.CRH())&&(ie._switchElement=ce.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(le,ie){2&le&&(t.Ikx("id",ie.id),t.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),t.ekj("mat-mdc-slide-toggle-focused",ie._focused)("mat-mdc-slide-toggle-checked",ie.checked)("_mat-animation-noopable",ie._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[t._Bn([M]),t.qOj],ngContentSelectors:O,decls:17,vars:24,consts:[[1,"mdc-form-field"],["role","switch","type","button",1,"mdc-switch",3,"tabIndex","disabled","click"],["switch",""],[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"],["viewBox","0 0 24 24",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",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"],[3,"for","click"]],template:function(le,ie){if(1&le&&(t.F$t(),t.TgZ(0,"div",0)(1,"button",1,2),t.NdJ("click",function(){return ie._handleClick()}),t._UZ(3,"div",3),t.TgZ(4,"div",4)(5,"div",5)(6,"div",6),t._UZ(7,"div",7),t.qZA(),t.TgZ(8,"div",8),t._UZ(9,"div",9),t.qZA(),t.TgZ(10,"div",10),t.O4$(),t.TgZ(11,"svg",11),t._UZ(12,"path",12),t.qZA(),t.TgZ(13,"svg",13),t._UZ(14,"path",14),t.qZA()()()()(),t.kcU(),t.TgZ(15,"label",15),t.NdJ("click",function(se){return se.stopPropagation()}),t.Hsn(16),t.qZA()()),2&le){const ce=t.MAs(2);t.ekj("mdc-form-field--align-end","before"==ie.labelPosition),t.xp6(1),t.ekj("mdc-switch--selected",ie.checked)("mdc-switch--unselected",!ie.checked)("mdc-switch--checked",ie.checked)("mdc-switch--disabled",ie.disabled),t.Q6J("tabIndex",ie.tabIndex)("disabled",ie.disabled),t.uIk("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),t.xp6(8),t.Q6J("matRippleTrigger",ce)("matRippleDisabled",ie.disableRipple||ie.disabled)("matRippleCentered",!0),t.xp6(6),t.Q6J("for",ie.buttonId),t.uIk("id",ie._labelId)}},dependencies:[A.wG],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-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);background-color:var(--mdc-elevation-overlay-color, #fff)}.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{display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mdc-switch{width:var(--mdc-switch-track-width, 36px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, #310077)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, #616161)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, #212121)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color, var(--mdc-theme-surface, #fff))}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation, 0px 2px 1px -1px rgba(0, 0, 0, 0.2), 0px 1px 1px 0px rgba(0, 0, 0, 0.14), 0px 1px 3px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation, 0px 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px 0px rgba(0, 0, 0, 0.14), 0px 0px 0px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__focus-ring-wrapper,.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{height:var(--mdc-switch-handle-height, 20px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__handle::after{opacity:var(--mdc-switch-disabled-handle-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{border-radius:var(--mdc-switch-handle-shape, 10px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle{width:var(--mdc-switch-handle-width, 20px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__handle-track{width:calc(100% - var(--mdc-switch-handle-width, 20px))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled .mdc-switch__icon{fill:var(--mdc-switch-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__icon{fill:var(--mdc-switch-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mdc-theme-on-primary, #fff))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:disabled .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity, 0.38)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size, 18px);height:var(--mdc-switch-selected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size, 18px);height:var(--mdc-switch-unselected-icon-size, 18px)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-hover-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-focus-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-selected-pressed-state-layer-color, var(--mdc-theme-primary, #6200ee))}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-hover-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-focus-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::before,.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background-color:var(--mdc-switch-unselected-pressed-state-layer-color, #424242)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .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, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .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, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .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, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--selected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:hover:not(:focus):hover .mdc-switch__ripple::before,.mat-mdc-slide-toggle .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, 0.04)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:focus.mdc-ripple-upgraded--background-focused .mdc-switch__ripple::before,.mat-mdc-slide-toggle .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, 0.12)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active:not(.mdc-ripple-upgraded) .mdc-switch__ripple::after{transition:opacity 150ms linear}.mat-mdc-slide-toggle .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, 0.1)}.mat-mdc-slide-toggle .mdc-switch.mdc-switch--unselected:enabled:active.mdc-ripple-upgraded{--mdc-ripple-fg-opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, 0.1)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__ripple{height:var(--mdc-switch-state-layer-size, 48px);width:var(--mdc-switch-state-layer-size, 48px)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{height:var(--mdc-switch-track-height, 14px)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity, 0.12)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::after{background:var(--mdc-switch-selected-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, #d7bbff)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch:enabled .mdc-switch__track::before{background:var(--mdc-switch-unselected-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, #e0e0e0)}.mat-mdc-slide-toggle .mdc-switch:disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, #424242)}.mat-mdc-slide-toggle .mdc-switch .mdc-switch__track{border-radius:var(--mdc-switch-track-shape, 7px)}.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}'],encapsulation:2,changeDetection:0}),ee})(),j=(()=>{class ee{}return ee.\u0275fac=function(le){return new(le||ee)},ee.\u0275mod=t.oAB({type:ee}),ee.\u0275inj=t.cJS({}),ee})(),X=(()=>{class ee{}return ee.\u0275fac=function(le){return new(le||ee)},ee.\u0275mod=t.oAB({type:ee}),ee.\u0275inj=t.cJS({imports:[j,A.BQ,A.si,C.ez,j,A.BQ]}),ee})()},7009:(Ge,Q,m)=>{"use strict";m.d(Q,{Ve:()=>h,ZX:()=>i,ux:()=>y});var t=m(4650),e=m(7579),g=m(6895),A=m(4859),o=m(7340),C=m(4080),u=m(3353),O=m(5698),d=m(2722),M=m(4761),w=m(2289),L=m(8184),I=m(3238);function P(S,k){if(1&S){const v=t.EpF();t.TgZ(0,"div",2)(1,"button",3),t.NdJ("click",function(){t.CHM(v);const b=t.oxw();return t.KtG(b.action())}),t._uU(2),t.qZA()()}if(2&S){const v=t.oxw();t.xp6(2),t.hij(" ",v.data.action," ")}}const U=["label"];function Z(S,k){}const Y=Math.pow(2,31)-1;class j{constructor(k,v){this._overlayRef=v,this._afterDismissed=new e.x,this._afterOpened=new e.x,this._onAction=new e.x,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,Y))}_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 X=new t.OlP("MatSnackBarData");class ee{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let ue=(()=>{class S{}return S.\u0275fac=function(v){return new(v||S)},S.\u0275dir=t.lG2({type:S,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),S})(),le=(()=>{class S{}return S.\u0275fac=function(v){return new(v||S)},S.\u0275dir=t.lG2({type:S,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),S})(),ie=(()=>{class S{}return S.\u0275fac=function(v){return new(v||S)},S.\u0275dir=t.lG2({type:S,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),S})(),ce=(()=>{class S{constructor(v,n){this.snackBarRef=v,this.data=n}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return S.\u0275fac=function(v){return new(v||S)(t.Y36(j),t.Y36(X))},S.\u0275cmp=t.Xpm({type:S,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions","",4,"ngIf"],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(v,n){1&v&&(t.TgZ(0,"div",0),t._uU(1),t.qZA(),t.YNc(2,P,3,1,"div",1)),2&v&&(t.xp6(1),t.hij(" ",n.data.message,"\n"),t.xp6(1),t.Q6J("ngIf",n.hasAction))},dependencies:[g.O5,A.lW,ue,le,ie],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),S})();const se={snackBarState:(0,o.X$)("state",[(0,o.SB)("void, hidden",(0,o.oB)({transform:"scale(0.8)",opacity:0})),(0,o.SB)("visible",(0,o.oB)({transform:"scale(1)",opacity:1})),(0,o.eR)("* => visible",(0,o.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,o.eR)("* => void, * => hidden",(0,o.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,o.oB)({opacity:0})))])};let he=(()=>{class S extends C.en{constructor(v,n,b,B,z){super(),this._ngZone=v,this._elementRef=n,this._changeDetectorRef=b,this._platform=B,this.snackBarConfig=z,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new e.x,this._onExit=new e.x,this._onEnter=new e.x,this._animationState="void",this.attachDomPortal=W=>{this._assertNotAttached();const Oe=this._portalOutlet.attachDomPortal(W);return this._afterPortalAttached(),Oe},this._live="assertive"!==z.politeness||z.announcementMessage?"off"===z.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(v){this._assertNotAttached();const n=this._portalOutlet.attachComponentPortal(v);return this._afterPortalAttached(),n}attachTemplatePortal(v){this._assertNotAttached();const n=this._portalOutlet.attachTemplatePortal(v);return this._afterPortalAttached(),n}onAnimationEnd(v){const{fromState:n,toState:b}=v;if(("void"===b&&"void"!==n||"hidden"===b)&&this._completeExit(),"visible"===b){const B=this._onEnter;this._ngZone.run(()=>{B.next(),B.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,O.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const v=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;n&&(Array.isArray(n)?n.forEach(b=>v.classList.add(b)):v.classList.add(n))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const v=this._elementRef.nativeElement.querySelector("[aria-hidden]"),n=this._elementRef.nativeElement.querySelector("[aria-live]");if(v&&n){let b=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&v.contains(document.activeElement)&&(b=document.activeElement),v.removeAttribute("aria-hidden"),n.appendChild(v),b?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return S.\u0275fac=function(v){return new(v||S)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(u.t4),t.Y36(ee))},S.\u0275dir=t.lG2({type:S,viewQuery:function(v,n){if(1&v&&t.Gf(C.Pl,7),2&v){let b;t.iGM(b=t.CRH())&&(n._portalOutlet=b.first)}},features:[t.qOj]}),S})(),E=(()=>{class S extends he{_afterPortalAttached(){super._afterPortalAttached();const v=this._label.nativeElement,n="mdc-snackbar__label";v.classList.toggle(n,!v.querySelector(`.${n}`))}}return S.\u0275fac=function(){let k;return function(n){return(k||(k=t.n5z(S)))(n||S)}}(),S.\u0275cmp=t.Xpm({type:S,selectors:[["mat-snack-bar-container"]],viewQuery:function(v,n){if(1&v&&t.Gf(U,7),2&v){let b;t.iGM(b=t.CRH())&&(n._label=b.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(v,n){1&v&&t.WFA("@state.done",function(B){return n.onAnimationEnd(B)}),2&v&&t.d8E("@state",n._animationState)},features:[t.qOj],decls:6,vars:2,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(v,n){1&v&&(t.TgZ(0,"div",0)(1,"div",1,2)(3,"div",3),t.YNc(4,Z,0,0,"ng-template",4),t.qZA(),t._UZ(5,"div"),t.qZA()()),2&v&&(t.xp6(5),t.uIk("aria-live",n._live)("role",n._role))},dependencies:[C.Pl],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%}}.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__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss svg,.mat-mdc-snack-bar-container .mdc-snackbar__dismiss img{width:var(--mdc-icon-button-icon-size, 24px);height:var(--mdc-icon-button-icon-size, 24px)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{background-color:var(--mdc-snackbar-container-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__surface{border-radius:var(--mdc-snackbar-container-shape, var(--mdc-shape-small, 4px))}.mat-mdc-snack-bar-container .mdc-snackbar__label{color:var(--mdc-snackbar-supporting-text-color, inherit)}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-size:var(--mdc-snackbar-supporting-text-size, inherit);font-family:var(--mdc-snackbar-supporting-text-font, inherit);font-weight:var(--mdc-snackbar-supporting-text-weight, inherit);line-height:var(--mdc-snackbar-supporting-text-line-height, inherit)}.cdk-high-contrast-active .mat-mdc-snack-bar-container{border:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){color:var(--mat-mdc-snack-bar-button-color, transparent);--mat-mdc-button-persistent-ripple-color: currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{background-color:currentColor;opacity:.1}.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:[se.snackBarState]}}),S})(),i=(()=>{class S{}return S.\u0275fac=function(v){return new(v||S)},S.\u0275mod=t.oAB({type:S}),S.\u0275inj=t.cJS({imports:[L.U8,C.eL,g.ez,A.ot,I.BQ,I.BQ]}),S})();const h=new t.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function r(){return new ee}});let c=(()=>{class S{constructor(v,n,b,B,z,W){this._overlay=v,this._live=n,this._injector=b,this._breakpointObserver=B,this._parentSnackBar=z,this._defaultConfig=W,this._snackBarRefAtThisLevel=null}get _openedSnackBarRef(){const v=this._parentSnackBar;return v?v._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(v){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=v:this._snackBarRefAtThisLevel=v}openFromComponent(v,n){return this._attach(v,n)}openFromTemplate(v,n){return this._attach(v,n)}open(v,n="",b){const B={...this._defaultConfig,...b};return B.data={message:v,action:n},B.announcementMessage===v&&(B.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,B)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(v,n){const B=t.zs3.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:ee,useValue:n}]}),z=new C.C5(this.snackBarContainerComponent,n.viewContainerRef,B),W=v.attach(z);return W.instance.snackBarConfig=n,W.instance}_attach(v,n){const b={...new ee,...this._defaultConfig,...n},B=this._createOverlay(b),z=this._attachSnackBarContainer(B,b),W=new j(z,B);if(v instanceof t.Rgc){const Oe=new C.UE(v,null,{$implicit:b.data,snackBarRef:W});W.instance=z.attachTemplatePortal(Oe)}else{const Oe=this._createInjector(b,W),it=new C.C5(v,void 0,Oe),Ne=z.attachComponentPortal(it);W.instance=Ne.instance}return this._breakpointObserver.observe(w.u3.HandsetPortrait).pipe((0,d.R)(B.detachments())).subscribe(Oe=>{B.overlayElement.classList.toggle(this.handsetCssClass,Oe.matches)}),b.announcementMessage&&z._onAnnounce.subscribe(()=>{this._live.announce(b.announcementMessage,b.politeness)}),this._animateSnackBar(W,b),this._openedSnackBarRef=W,this._openedSnackBarRef}_animateSnackBar(v,n){v.afterDismissed().subscribe(()=>{this._openedSnackBarRef==v&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{v.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):v.containerInstance.enter(),n.duration&&n.duration>0&&v.afterOpened().subscribe(()=>v._dismissAfter(n.duration))}_createOverlay(v){const n=new L.X_;n.direction=v.direction;let b=this._overlay.position().global();const B="rtl"===v.direction,z="left"===v.horizontalPosition||"start"===v.horizontalPosition&&!B||"end"===v.horizontalPosition&&B,W=!z&&"center"!==v.horizontalPosition;return z?b.left("0"):W?b.right("0"):b.centerHorizontally(),"top"===v.verticalPosition?b.top("0"):b.bottom("0"),n.positionStrategy=b,this._overlay.create(n)}_createInjector(v,n){return t.zs3.create({parent:v&&v.viewContainerRef&&v.viewContainerRef.injector||this._injector,providers:[{provide:j,useValue:n},{provide:X,useValue:v.data}]})}}return S.\u0275fac=function(v){return new(v||S)(t.LFG(L.aV),t.LFG(M.Kd),t.LFG(t.zs3),t.LFG(w.Yg),t.LFG(S,12),t.LFG(h))},S.\u0275prov=t.Yz7({token:S,factory:S.\u0275fac}),S})(),y=(()=>{class S extends c{constructor(v,n,b,B,z,W){super(v,n,b,B,z,W),this.simpleSnackBarComponent=ce,this.snackBarContainerComponent=E,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return S.\u0275fac=function(v){return new(v||S)(t.LFG(L.aV),t.LFG(M.Kd),t.LFG(t.zs3),t.LFG(w.Yg),t.LFG(S,12),t.LFG(h))},S.\u0275prov=t.Yz7({token:S,factory:S.\u0275fac,providedIn:i}),S})()},6308:(Ge,Q,m)=>{"use strict";m.d(Q,{JX:()=>i,YE:()=>X,nU:()=>E});var t=m(4650),e=m(4761),g=m(1281),A=m(9521),o=m(3238),C=m(7579),u=m(6451),O=m(7340),d=m(6895);const M=["mat-sort-header",""];function w(r,h){if(1&r){const c=t.EpF();t.TgZ(0,"div",3),t.NdJ("@arrowPosition.start",function(){t.CHM(c);const S=t.oxw();return t.KtG(S._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){t.CHM(c);const S=t.oxw();return t.KtG(S._disableViewStateAnimation=!1)}),t._UZ(1,"div",4),t.TgZ(2,"div",5),t._UZ(3,"div",6)(4,"div",7)(5,"div",8),t.qZA()()}if(2&r){const c=t.oxw();t.Q6J("@arrowOpacity",c._getArrowViewState())("@arrowPosition",c._getArrowViewState())("@allowChildren",c._getArrowDirectionState()),t.xp6(2),t.Q6J("@indicator",c._getArrowDirectionState()),t.xp6(1),t.Q6J("@leftPointer",c._getArrowDirectionState()),t.xp6(1),t.Q6J("@rightPointer",c._getArrowDirectionState())}}const L=["*"],Y=new t.OlP("MAT_SORT_DEFAULT_OPTIONS"),j=(0,o.dB)((0,o.Id)(class{}));let X=(()=>{class r extends j{constructor(c){super(),this._defaultOptions=c,this.sortables=new Map,this._stateChanges=new C.x,this.start="asc",this._direction="",this.sortChange=new t.vpe}get direction(){return this._direction}set direction(c){this._direction=c}get disableClear(){return this._disableClear}set disableClear(c){this._disableClear=(0,g.Ig)(c)}register(c){this.sortables.set(c.id,c)}deregister(c){this.sortables.delete(c.id)}sort(c){this.active!=c.id?(this.active=c.id,this.direction=c.start?c.start:this.start):this.direction=this.getNextSortDirection(c),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(c){if(!c)return"";let S=function ee(r,h){let c=["asc","desc"];return"desc"==r&&c.reverse(),h||c.push(""),c}(c.start||this.start,c?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),k=S.indexOf(this.direction)+1;return k>=S.length&&(k=0),S[k]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return r.\u0275fac=function(c){return new(c||r)(t.Y36(Y,8))},r.\u0275dir=t.lG2({type:r,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],active:["matSortActive","active"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[t.qOj,t.TTD]}),r})();const ue=o.mZ.ENTERING+" "+o.yN.STANDARD_CURVE,le={indicator:(0,O.X$)("indicator",[(0,O.SB)("active-asc, asc",(0,O.oB)({transform:"translateY(0px)"})),(0,O.SB)("active-desc, desc",(0,O.oB)({transform:"translateY(10px)"})),(0,O.eR)("active-asc <=> active-desc",(0,O.jt)(ue))]),leftPointer:(0,O.X$)("leftPointer",[(0,O.SB)("active-asc, asc",(0,O.oB)({transform:"rotate(-45deg)"})),(0,O.SB)("active-desc, desc",(0,O.oB)({transform:"rotate(45deg)"})),(0,O.eR)("active-asc <=> active-desc",(0,O.jt)(ue))]),rightPointer:(0,O.X$)("rightPointer",[(0,O.SB)("active-asc, asc",(0,O.oB)({transform:"rotate(45deg)"})),(0,O.SB)("active-desc, desc",(0,O.oB)({transform:"rotate(-45deg)"})),(0,O.eR)("active-asc <=> active-desc",(0,O.jt)(ue))]),arrowOpacity:(0,O.X$)("arrowOpacity",[(0,O.SB)("desc-to-active, asc-to-active, active",(0,O.oB)({opacity:1})),(0,O.SB)("desc-to-hint, asc-to-hint, hint",(0,O.oB)({opacity:.54})),(0,O.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,O.oB)({opacity:0})),(0,O.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,O.jt)("0ms")),(0,O.eR)("* <=> *",(0,O.jt)(ue))]),arrowPosition:(0,O.X$)("arrowPosition",[(0,O.eR)("* => desc-to-hint, * => desc-to-active",(0,O.jt)(ue,(0,O.F4)([(0,O.oB)({transform:"translateY(-25%)"}),(0,O.oB)({transform:"translateY(0)"})]))),(0,O.eR)("* => hint-to-desc, * => active-to-desc",(0,O.jt)(ue,(0,O.F4)([(0,O.oB)({transform:"translateY(0)"}),(0,O.oB)({transform:"translateY(25%)"})]))),(0,O.eR)("* => asc-to-hint, * => asc-to-active",(0,O.jt)(ue,(0,O.F4)([(0,O.oB)({transform:"translateY(25%)"}),(0,O.oB)({transform:"translateY(0)"})]))),(0,O.eR)("* => hint-to-asc, * => active-to-asc",(0,O.jt)(ue,(0,O.F4)([(0,O.oB)({transform:"translateY(0)"}),(0,O.oB)({transform:"translateY(-25%)"})]))),(0,O.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,O.oB)({transform:"translateY(0)"})),(0,O.SB)("hint-to-desc, active-to-desc, desc",(0,O.oB)({transform:"translateY(-25%)"})),(0,O.SB)("hint-to-asc, active-to-asc, asc",(0,O.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,O.X$)("allowChildren",[(0,O.eR)("* <=> *",[(0,O.IO)("@*",(0,O.pV)(),{optional:!0})])])};let ie=(()=>{class r{constructor(){this.changes=new C.x}}return r.\u0275fac=function(c){return new(c||r)},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac,providedIn:"root"}),r})();const se={provide:ie,deps:[[new t.FiY,new t.tp0,ie]],useFactory:function ce(r){return r||new ie}},he=(0,o.Id)(class{});let E=(()=>{class r extends he{constructor(c,y,S,k,v,n,b,B){super(),this._intl=c,this._changeDetectorRef=y,this._sort=S,this._columnDef=k,this._focusMonitor=v,this._elementRef=n,this._ariaDescriber=b,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",B?.arrowPosition&&(this.arrowPosition=B?.arrowPosition),this._handleStateChanges()}get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(c){this._updateSortActionDescription(c)}get disableClear(){return this._disableClear}set disableClear(c){this._disableClear=(0,g.Ig)(c)}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(c=>{const y=!!c;y!==this._showIndicatorHint&&(this._setIndicatorHintVisible(y),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(c){this._isDisabled()&&c||(this._showIndicatorHint=c,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(c){this._viewState=c||{},this._disableViewStateAnimation&&(this._viewState={toState:c.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(c){!this._isDisabled()&&(c.keyCode===A.L_||c.keyCode===A.K5)&&(c.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 c=this._viewState.fromState;return(c?`${c}-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(c){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,c)),this._sortActionDescription=c}_handleStateChanges(){this._rerenderSubscription=(0,u.T)(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()})}}return r.\u0275fac=function(c){return new(c||r)(t.Y36(ie),t.Y36(t.sBO),t.Y36(X,8),t.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),t.Y36(e.tE),t.Y36(t.SBq),t.Y36(e.$s,8),t.Y36(Y,8))},r.\u0275cmp=t.Xpm({type:r,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(c,y){1&c&&t.NdJ("click",function(){return y._handleClick()})("keydown",function(k){return y._handleKeydown(k)})("mouseenter",function(){return y._setIndicatorHintVisible(!0)})("mouseleave",function(){return y._setIndicatorHintVisible(!1)}),2&c&&(t.uIk("aria-sort",y._getAriaSortAttribute()),t.ekj("mat-sort-header-disabled",y._isDisabled()))},inputs:{disabled:"disabled",id:["mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",sortActionDescription:"sortActionDescription",disableClear:"disableClear"},exportAs:["matSortHeader"],features:[t.qOj],attrs:M,ngContentSelectors:L,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(c,y){1&c&&(t.F$t(),t.TgZ(0,"div",0)(1,"div",1),t.Hsn(2),t.qZA(),t.YNc(3,w,6,6,"div",2),t.qZA()),2&c&&(t.ekj("mat-sort-header-sorted",y._isSorted())("mat-sort-header-position-before","before"===y.arrowPosition),t.uIk("tabindex",y._isDisabled()?null:0)("role",y._isDisabled()?null:"button"),t.xp6(3),t.Q6J("ngIf",y._renderArrow()))},dependencies:[d.O5],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;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:[le.indicator,le.leftPointer,le.rightPointer,le.arrowOpacity,le.arrowPosition,le.allowChildren]},changeDetection:0}),r})(),i=(()=>{class r{}return r.\u0275fac=function(c){return new(c||r)},r.\u0275mod=t.oAB({type:r}),r.\u0275inj=t.cJS({providers:[se],imports:[d.ez,o.BQ]}),r})()},8425:(Ge,Q,m)=>{"use strict";m.d(Q,{C0:()=>Ae,Ic:()=>ye,T5:()=>Me,VY:()=>W,Vq:()=>oe,fd:()=>me,z9:()=>te});var t=m(4080),e=m(2138),g=m(6895),A=m(4650),o=m(3238),C=m(7392),u=m(4761),O=m(7579),d=m(727),M=m(445),w=m(3900),L=m(4004),I=m(8675),P=m(2722),U=m(1884),Z=m(7340);function Y(Ze,q){if(1&Ze&&A.GkF(0,8),2&Ze){const de=A.oxw();A.Q6J("ngTemplateOutlet",de.iconOverrides[de.state])("ngTemplateOutletContext",de._getIconContext())}}function j(Ze,q){if(1&Ze&&(A.TgZ(0,"span",13),A._uU(1),A.qZA()),2&Ze){const de=A.oxw(2);A.xp6(1),A.Oqu(de._getDefaultTextForState(de.state))}}function X(Ze,q){if(1&Ze&&(A.TgZ(0,"span",14),A._uU(1),A.qZA()),2&Ze){const de=A.oxw(2);A.xp6(1),A.Oqu(de._intl.completedLabel)}}function ee(Ze,q){if(1&Ze&&(A.TgZ(0,"span",14),A._uU(1),A.qZA()),2&Ze){const de=A.oxw(2);A.xp6(1),A.Oqu(de._intl.editableLabel)}}function ue(Ze,q){if(1&Ze&&(A.TgZ(0,"mat-icon",13),A._uU(1),A.qZA()),2&Ze){const de=A.oxw(2);A.xp6(1),A.Oqu(de._getDefaultTextForState(de.state))}}function le(Ze,q){if(1&Ze&&(A.ynx(0,9),A.YNc(1,j,2,1,"span",10),A.YNc(2,X,2,1,"span",11),A.YNc(3,ee,2,1,"span",11),A.YNc(4,ue,2,1,"mat-icon",12),A.BQk()),2&Ze){const de=A.oxw();A.Q6J("ngSwitch",de.state),A.xp6(1),A.Q6J("ngSwitchCase","number"),A.xp6(1),A.Q6J("ngIf","done"===de.state),A.xp6(1),A.Q6J("ngIf","edit"===de.state)}}function ie(Ze,q){if(1&Ze&&(A.TgZ(0,"div",15),A.GkF(1,16),A.qZA()),2&Ze){const de=A.oxw();A.xp6(1),A.Q6J("ngTemplateOutlet",de._templateLabel().template)}}function ce(Ze,q){if(1&Ze&&(A.TgZ(0,"div",15),A._uU(1),A.qZA()),2&Ze){const de=A.oxw();A.xp6(1),A.Oqu(de.label)}}function se(Ze,q){if(1&Ze&&(A.TgZ(0,"div",17),A._uU(1),A.qZA()),2&Ze){const de=A.oxw();A.xp6(1),A.Oqu(de._intl.optionalLabel)}}function he(Ze,q){if(1&Ze&&(A.TgZ(0,"div",18),A._uU(1),A.qZA()),2&Ze){const de=A.oxw();A.xp6(1),A.Oqu(de.errorMessage)}}function E(Ze,q){}function i(Ze,q){if(1&Ze&&(A.Hsn(0),A.YNc(1,E,0,0,"ng-template",0)),2&Ze){const de=A.oxw();A.xp6(1),A.Q6J("cdkPortalOutlet",de._portal)}}const r=["*"];function h(Ze,q){1&Ze&&A._UZ(0,"div",11)}const c=function(Ze,q){return{step:Ze,i:q}};function y(Ze,q){if(1&Ze&&(A.ynx(0),A.GkF(1,9),A.YNc(2,h,1,0,"div",10),A.BQk()),2&Ze){const de=q.$implicit,xe=q.index,ke=q.last;A.oxw(2);const ft=A.MAs(4);A.xp6(1),A.Q6J("ngTemplateOutlet",ft)("ngTemplateOutletContext",A.WLB(3,c,de,xe)),A.xp6(1),A.Q6J("ngIf",!ke)}}const S=function(Ze){return{animationDuration:Ze}},k=function(Ze,q){return{value:Ze,params:q}};function v(Ze,q){if(1&Ze){const de=A.EpF();A.TgZ(0,"div",12),A.NdJ("@horizontalStepTransition.done",function(ke){A.CHM(de);const ft=A.oxw(2);return A.KtG(ft._animationDone.next(ke))}),A.GkF(1,13),A.qZA()}if(2&Ze){const de=q.$implicit,xe=q.index,ke=A.oxw(2);A.ekj("mat-horizontal-stepper-content-inactive",ke.selectedIndex!==xe),A.Q6J("@horizontalStepTransition",A.WLB(8,k,ke._getAnimationDirection(xe),A.VKq(6,S,ke._getAnimationDuration())))("id",ke._getStepContentId(xe)),A.uIk("aria-labelledby",ke._getStepLabelId(xe)),A.xp6(1),A.Q6J("ngTemplateOutlet",de.content)}}function n(Ze,q){if(1&Ze&&(A.TgZ(0,"div",4)(1,"div",5),A.YNc(2,y,3,6,"ng-container",6),A.qZA(),A.TgZ(3,"div",7),A.YNc(4,v,2,11,"div",8),A.qZA()()),2&Ze){const de=A.oxw();A.xp6(2),A.Q6J("ngForOf",de.steps),A.xp6(2),A.Q6J("ngForOf",de.steps)}}function b(Ze,q){if(1&Ze){const de=A.EpF();A.TgZ(0,"div",15),A.GkF(1,9),A.TgZ(2,"div",16)(3,"div",17),A.NdJ("@verticalStepTransition.done",function(ke){A.CHM(de);const ft=A.oxw(2);return A.KtG(ft._animationDone.next(ke))}),A.TgZ(4,"div",18),A.GkF(5,13),A.qZA()()()()}if(2&Ze){const de=q.$implicit,xe=q.index,ke=q.last,ft=A.oxw(2),_t=A.MAs(4);A.xp6(1),A.Q6J("ngTemplateOutlet",_t)("ngTemplateOutletContext",A.WLB(10,c,de,xe)),A.xp6(1),A.ekj("mat-stepper-vertical-line",!ke),A.xp6(1),A.ekj("mat-vertical-stepper-content-inactive",ft.selectedIndex!==xe),A.Q6J("@verticalStepTransition",A.WLB(15,k,ft._getAnimationDirection(xe),A.VKq(13,S,ft._getAnimationDuration())))("id",ft._getStepContentId(xe)),A.uIk("aria-labelledby",ft._getStepLabelId(xe)),A.xp6(2),A.Q6J("ngTemplateOutlet",de.content)}}function B(Ze,q){if(1&Ze&&(A.ynx(0),A.YNc(1,b,6,18,"div",14),A.BQk()),2&Ze){const de=A.oxw();A.xp6(1),A.Q6J("ngForOf",de.steps)}}function z(Ze,q){if(1&Ze){const de=A.EpF();A.TgZ(0,"mat-step-header",19),A.NdJ("click",function(){const ft=A.CHM(de).step;return A.KtG(ft.select())})("keydown",function(ke){A.CHM(de);const ft=A.oxw();return A.KtG(ft._onKeydown(ke))}),A.qZA()}if(2&Ze){const de=q.step,xe=q.i,ke=A.oxw();A.ekj("mat-horizontal-stepper-header","horizontal"===ke.orientation)("mat-vertical-stepper-header","vertical"===ke.orientation),A.Q6J("tabIndex",ke._getFocusIndex()===xe?0:-1)("id",ke._getStepLabelId(xe))("index",xe)("state",ke._getIndicatorType(xe,de.state))("label",de.stepLabel||de.label)("selected",ke.selectedIndex===xe)("active",ke._stepIsNavigable(xe,de))("optional",de.optional)("errorMessage",de.errorMessage)("iconOverrides",ke._iconOverrides)("disableRipple",ke.disableRipple||!ke._stepIsNavigable(xe,de))("color",de.color||ke.color),A.uIk("aria-posinset",xe+1)("aria-setsize",ke.steps.length)("aria-controls",ke._getStepContentId(xe))("aria-selected",ke.selectedIndex==xe)("aria-label",de.ariaLabel||null)("aria-labelledby",!de.ariaLabel&&de.ariaLabelledby?de.ariaLabelledby:null)("aria-disabled",!ke._stepIsNavigable(xe,de)||null)}}let W=(()=>{class Ze extends e.u6{}return Ze.\u0275fac=function(){let q;return function(xe){return(q||(q=A.n5z(Ze)))(xe||Ze)}}(),Ze.\u0275dir=A.lG2({type:Ze,selectors:[["","matStepLabel",""]],features:[A.qOj]}),Ze})(),Oe=(()=>{class Ze{constructor(){this.changes=new O.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return Ze.\u0275fac=function(de){return new(de||Ze)},Ze.\u0275prov=A.Yz7({token:Ze,factory:Ze.\u0275fac,providedIn:"root"}),Ze})();const Ne={provide:Oe,deps:[[new A.FiY,new A.tp0,Oe]],useFactory:function it(Ze){return Ze||new Oe}},ot=(0,o.pj)(class extends e.KL{constructor(q){super(q)}},"primary");let Ie=(()=>{class Ze extends ot{constructor(de,xe,ke,ft){super(ke),this._intl=de,this._focusMonitor=xe,this._intlSubscription=de.changes.subscribe(()=>ft.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(de,xe){de?this._focusMonitor.focusVia(this._elementRef,de,xe):this._elementRef.nativeElement.focus(xe)}_stringLabel(){return this.label instanceof W?null:this.label}_templateLabel(){return this.label instanceof W?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(de){return"number"==de?`${this.index+1}`:"edit"==de?"create":"error"==de?"warning":de}}return Ze.\u0275fac=function(de){return new(de||Ze)(A.Y36(Oe),A.Y36(u.tE),A.Y36(A.SBq),A.Y36(A.sBO))},Ze.\u0275cmp=A.Xpm({type:Ze,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],inputs:{color:"color",state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple"},features:[A.qOj],decls:10,vars:19,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content",3,"ngSwitch"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngSwitchCase"],[3,"ngSwitch",4,"ngSwitchDefault"],[1,"mat-step-label"],["class","mat-step-text-label",4,"ngIf"],["class","mat-step-optional",4,"ngIf"],["class","mat-step-sub-label-error",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],["aria-hidden","true",4,"ngSwitchCase"],["class","cdk-visually-hidden",4,"ngIf"],["aria-hidden","true",4,"ngSwitchDefault"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[1,"mat-step-text-label"],[3,"ngTemplateOutlet"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"]],template:function(de,xe){1&de&&(A._UZ(0,"div",0),A.TgZ(1,"div")(2,"div",1),A.YNc(3,Y,1,2,"ng-container",2),A.YNc(4,le,5,4,"ng-container",3),A.qZA()(),A.TgZ(5,"div",4),A.YNc(6,ie,2,1,"div",5),A.YNc(7,ce,2,1,"div",5),A.YNc(8,se,2,1,"div",6),A.YNc(9,he,2,1,"div",7),A.qZA()),2&de&&(A.Q6J("matRippleTrigger",xe._getHostElement())("matRippleDisabled",xe.disableRipple),A.xp6(1),A.Gre("mat-step-icon-state-",xe.state," mat-step-icon"),A.ekj("mat-step-icon-selected",xe.selected),A.xp6(1),A.Q6J("ngSwitch",!(!xe.iconOverrides||!xe.iconOverrides[xe.state])),A.xp6(1),A.Q6J("ngSwitchCase",!0),A.xp6(2),A.ekj("mat-step-label-active",xe.active)("mat-step-label-selected",xe.selected)("mat-step-label-error","error"==xe.state),A.xp6(1),A.Q6J("ngIf",xe._templateLabel()),A.xp6(1),A.Q6J("ngIf",xe._stringLabel()),A.xp6(1),A.Q6J("ngIf",xe.optional&&"error"!=xe.state),A.xp6(1),A.Q6J("ngIf","error"==xe.state))},dependencies:[g.O5,g.tP,g.RF,g.n9,g.ED,C.Hw,o.wG],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:""}.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,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.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 .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}.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}'],encapsulation:2,changeDetection:0}),Ze})();const Se={horizontalStepTransition:(0,Z.X$)("horizontalStepTransition",[(0,Z.SB)("previous",(0,Z.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,Z.SB)("current",(0,Z.oB)({transform:"none",visibility:"inherit"})),(0,Z.SB)("next",(0,Z.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,Z.eR)("* => *",(0,Z.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,Z.X$)("verticalStepTransition",[(0,Z.SB)("previous",(0,Z.oB)({height:"0px",visibility:"hidden"})),(0,Z.SB)("next",(0,Z.oB)({height:"0px",visibility:"hidden"})),(0,Z.SB)("current",(0,Z.oB)({height:"*",visibility:"inherit"})),(0,Z.eR)("* <=> current",(0,Z.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:"225ms"}})])};let te=(()=>{class Ze{constructor(de){this.templateRef=de}}return Ze.\u0275fac=function(de){return new(de||Ze)(A.Y36(A.Rgc))},Ze.\u0275dir=A.lG2({type:Ze,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),Ze})(),Ke=(()=>{class Ze{constructor(de){this._template=de}}return Ze.\u0275fac=function(de){return new(de||Ze)(A.Y36(A.Rgc))},Ze.\u0275dir=A.lG2({type:Ze,selectors:[["ng-template","matStepContent",""]]}),Ze})(),Ae=(()=>{class Ze extends e.be{constructor(de,xe,ke,ft){super(de,ft),this._errorStateMatcher=xe,this._viewContainerRef=ke,this._isSelected=d.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,w.w)(()=>this._stepper.selectionChange.pipe((0,L.U)(de=>de.selectedStep===this),(0,I.O)(this._stepper.selected===this)))).subscribe(de=>{de&&this._lazyContent&&!this._portal&&(this._portal=new t.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(de,xe){return this._errorStateMatcher.isErrorState(de,xe)||!!(de&&de.invalid&&this.interacted)}}return Ze.\u0275fac=function(de){return new(de||Ze)(A.Y36((0,A.Gpc)(()=>oe)),A.Y36(o.rD,4),A.Y36(A.s_b),A.Y36(e.gx,8))},Ze.\u0275cmp=A.Xpm({type:Ze,selectors:[["mat-step"]],contentQueries:function(de,xe,ke){if(1&de&&(A.Suo(ke,W,5),A.Suo(ke,Ke,5)),2&de){let ft;A.iGM(ft=A.CRH())&&(xe.stepLabel=ft.first),A.iGM(ft=A.CRH())&&(xe._lazyContent=ft.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[A._Bn([{provide:o.rD,useExisting:Ze},{provide:e.be,useExisting:Ze}]),A.qOj],ngContentSelectors:r,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(de,xe){1&de&&(A.F$t(),A.YNc(0,i,2,1,"ng-template"))},dependencies:[t.Pl],encapsulation:2,changeDetection:0}),Ze})(),oe=(()=>{class Ze extends e.B8{constructor(de,xe,ke){super(de,xe,ke),this.steps=new A.n_E,this.animationDone=new A.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new O.x,this._animationDuration="";const ft=ke.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===ft?"vertical":"horizontal"}get animationDuration(){return this._animationDuration}set animationDuration(de){this._animationDuration=/^\d+$/.test(de)?de+"ms":de}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:de,templateRef:xe})=>this._iconOverrides[de]=xe),this.steps.changes.pipe((0,P.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,U.x)((de,xe)=>de.fromState===xe.fromState&&de.toState===xe.toState),(0,P.R)(this._destroyed)).subscribe(de=>{"current"===de.toState&&this.animationDone.emit()})}_stepIsNavigable(de,xe){return xe.completed||this.selectedIndex===de||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}}return Ze.\u0275fac=function(de){return new(de||Ze)(A.Y36(M.Is,8),A.Y36(A.sBO),A.Y36(A.SBq))},Ze.\u0275cmp=A.Xpm({type:Ze,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(de,xe,ke){if(1&de&&(A.Suo(ke,Ae,5),A.Suo(ke,te,5)),2&de){let ft;A.iGM(ft=A.CRH())&&(xe._steps=ft),A.iGM(ft=A.CRH())&&(xe._icons=ft)}},viewQuery:function(de,xe){if(1&de&&A.Gf(Ie,5),2&de){let ke;A.iGM(ke=A.CRH())&&(xe._stepHeader=ke)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(de,xe){2&de&&(A.uIk("aria-orientation",xe.orientation),A.ekj("mat-stepper-horizontal","horizontal"===xe.orientation)("mat-stepper-vertical","vertical"===xe.orientation)("mat-stepper-label-position-end","horizontal"===xe.orientation&&"end"==xe.labelPosition)("mat-stepper-label-position-bottom","horizontal"===xe.orientation&&"bottom"==xe.labelPosition)("mat-stepper-header-position-bottom","bottom"===xe.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[A._Bn([{provide:e.B8,useExisting:Ze}]),A.qOj],decls:5,vars:3,consts:[[3,"ngSwitch"],["class","mat-horizontal-stepper-wrapper",4,"ngSwitchCase"],[4,"ngSwitchCase"],["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[4,"ngFor","ngForOf"],[1,"mat-horizontal-content-container"],["class","mat-horizontal-stepper-content","role","tabpanel",3,"id","mat-horizontal-stepper-content-inactive",4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["class","mat-stepper-horizontal-line",4,"ngIf"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],["class","mat-step",4,"ngFor","ngForOf"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color","click","keydown"]],template:function(de,xe){1&de&&(A.ynx(0,0),A.YNc(1,n,5,2,"div",1),A.YNc(2,B,2,1,"ng-container",2),A.BQk(),A.YNc(3,z,1,23,"ng-template",null,3,A.W1O)),2&de&&(A.Q6J("ngSwitch",xe.orientation),A.xp6(1),A.Q6J("ngSwitchCase","horizontal"),A.xp6(1),A.Q6J("ngSwitchCase","vertical"))},dependencies:[g.sg,g.O5,g.tP,g.RF,g.n9,Ie],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block}.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}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative}.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}.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-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}.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}[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:[Se.horizontalStepTransition,Se.verticalStepTransition]},changeDetection:0}),Ze})(),ye=(()=>{class Ze extends e.st{}return Ze.\u0275fac=function(){let q;return function(xe){return(q||(q=A.n5z(Ze)))(xe||Ze)}}(),Ze.\u0275dir=A.lG2({type:Ze,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(de,xe){2&de&&A.Ikx("type",xe.type)},inputs:{type:"type"},features:[A.qOj]}),Ze})(),me=(()=>{class Ze extends e.po{}return Ze.\u0275fac=function(){let q;return function(xe){return(q||(q=A.n5z(Ze)))(xe||Ze)}}(),Ze.\u0275dir=A.lG2({type:Ze,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(de,xe){2&de&&A.Ikx("type",xe.type)},inputs:{type:"type"},features:[A.qOj]}),Ze})(),Me=(()=>{class Ze{}return Ze.\u0275fac=function(de){return new(de||Ze)},Ze.\u0275mod=A.oAB({type:Ze}),Ze.\u0275inj=A.cJS({providers:[Ne,o.rD],imports:[o.BQ,g.ez,t.eL,e.U5,C.Ps,o.si,o.BQ]}),Ze})()},671:(Ge,Q,m)=>{"use strict";m.d(Q,{ev:()=>yt,Dz:()=>at,w1:()=>ei,yh:()=>rt,mD:()=>Gt,Q2:()=>Qe,Ke:()=>Ut,ge:()=>ht,fO:()=>ii,XQ:()=>Ft,as:()=>ri,Gk:()=>Ve,nj:()=>Vt,BZ:()=>Fe,by:()=>Vi,p0:()=>mi});var t=m(4650),e=m(445),g=m(1281),A=m(5017),o=m(3353),C=m(531),u=m(6895),O=m(7579),d=m(457),M=m(1135),w=m(5191),L=m(9646),I=m(2722),P=m(5698);const U=[[["caption"]],[["colgroup"],["col"]]],Z=["caption","colgroup, col"];function X(qe){return class extends qe{constructor(...Tt){super(...Tt),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(Tt){const ge=this._sticky;this._sticky=(0,g.Ig)(Tt),this._hasStickyChanged=ge!==this._sticky}hasStickyChanged(){const Tt=this._hasStickyChanged;return this._hasStickyChanged=!1,Tt}resetStickyChanged(){this._hasStickyChanged=!1}}}const ee=new t.OlP("CDK_TABLE");let le=(()=>{class qe{constructor(ge){this.template=ge}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(t.Rgc))},qe.\u0275dir=t.lG2({type:qe,selectors:[["","cdkCellDef",""]]}),qe})(),ie=(()=>{class qe{constructor(ge){this.template=ge}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(t.Rgc))},qe.\u0275dir=t.lG2({type:qe,selectors:[["","cdkHeaderCellDef",""]]}),qe})(),ce=(()=>{class qe{constructor(ge){this.template=ge}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(t.Rgc))},qe.\u0275dir=t.lG2({type:qe,selectors:[["","cdkFooterCellDef",""]]}),qe})();class se{}const he=X(se);let E=(()=>{class qe extends he{constructor(ge){super(),this._table=ge,this._stickyEnd=!1}get name(){return this._name}set name(ge){this._setNameInput(ge)}get stickyEnd(){return this._stickyEnd}set stickyEnd(ge){const Dt=this._stickyEnd;this._stickyEnd=(0,g.Ig)(ge),this._hasStickyChanged=Dt!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(ge){ge&&(this._name=ge,this.cssClassFriendlyName=ge.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(ee,8))},qe.\u0275dir=t.lG2({type:qe,selectors:[["","cdkColumnDef",""]],contentQueries:function(ge,Dt,Kt){if(1&ge&&(t.Suo(Kt,le,5),t.Suo(Kt,ie,5),t.Suo(Kt,ce,5)),2&ge){let fi;t.iGM(fi=t.CRH())&&(Dt.cell=fi.first),t.iGM(fi=t.CRH())&&(Dt.headerCell=fi.first),t.iGM(fi=t.CRH())&&(Dt.footerCell=fi.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[t._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:qe}]),t.qOj]}),qe})();class i{constructor(Tt,ge){ge.nativeElement.classList.add(...Tt._columnCssClassName)}}let r=(()=>{class qe extends i{constructor(ge,Dt){super(ge,Dt)}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(E),t.Y36(t.SBq))},qe.\u0275dir=t.lG2({type:qe,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[t.qOj]}),qe})(),h=(()=>{class qe extends i{constructor(ge,Dt){if(super(ge,Dt),1===ge._table?._elementRef.nativeElement.nodeType){const Kt=ge._table._elementRef.nativeElement.getAttribute("role");Dt.nativeElement.setAttribute("role","grid"===Kt||"treegrid"===Kt?"gridcell":"cell")}}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(E),t.Y36(t.SBq))},qe.\u0275dir=t.lG2({type:qe,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[t.qOj]}),qe})(),c=(()=>{class qe extends i{constructor(ge,Dt){if(super(ge,Dt),1===ge._table?._elementRef.nativeElement.nodeType){const Kt=ge._table._elementRef.nativeElement.getAttribute("role");Dt.nativeElement.setAttribute("role","grid"===Kt||"treegrid"===Kt?"gridcell":"cell")}}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(E),t.Y36(t.SBq))},qe.\u0275dir=t.lG2({type:qe,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[t.qOj]}),qe})();class y{constructor(){this.tasks=[],this.endTasks=[]}}const S=new t.OlP("_COALESCED_STYLE_SCHEDULER");let k=(()=>{class qe{constructor(ge){this._ngZone=ge,this._currentSchedule=null,this._destroyed=new O.x}schedule(ge){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(ge)}scheduleEnd(ge){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(ge)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new y,this._getScheduleObservable().pipe((0,I.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const ge=this._currentSchedule;this._currentSchedule=new y;for(const Dt of ge.tasks)Dt();for(const Dt of ge.endTasks)Dt()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,d.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,P.q)(1))}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.LFG(t.R0b))},qe.\u0275prov=t.Yz7({token:qe,factory:qe.\u0275fac}),qe})(),n=(()=>{class qe{constructor(ge,Dt){this.template=ge,this._differs=Dt}ngOnChanges(ge){if(!this._columnsDiffer){const Dt=ge.columns&&ge.columns.currentValue||[];this._columnsDiffer=this._differs.find(Dt).create(),this._columnsDiffer.diff(Dt)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(ge){return this instanceof z?ge.headerCell.template:this instanceof it?ge.footerCell.template:ge.cell.template}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(t.Rgc),t.Y36(t.ZZ4))},qe.\u0275dir=t.lG2({type:qe,features:[t.TTD]}),qe})();class b extends n{}const B=X(b);let z=(()=>{class qe extends B{constructor(ge,Dt,Kt){super(ge,Dt),this._table=Kt}ngOnChanges(ge){super.ngOnChanges(ge)}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(ee,8))},qe.\u0275dir=t.lG2({type:qe,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[t.qOj,t.TTD]}),qe})();class W extends n{}const Oe=X(W);let it=(()=>{class qe extends Oe{constructor(ge,Dt,Kt){super(ge,Dt),this._table=Kt}ngOnChanges(ge){super.ngOnChanges(ge)}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(ee,8))},qe.\u0275dir=t.lG2({type:qe,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[t.qOj,t.TTD]}),qe})(),Ne=(()=>{class qe extends n{constructor(ge,Dt,Kt){super(ge,Dt),this._table=Kt}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(ee,8))},qe.\u0275dir=t.lG2({type:qe,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[t.qOj]}),qe})(),ot=(()=>{class qe{constructor(ge){this._viewContainer=ge,qe.mostRecentCellOutlet=this}ngOnDestroy(){qe.mostRecentCellOutlet===this&&(qe.mostRecentCellOutlet=null)}}return qe.mostRecentCellOutlet=null,qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(t.s_b))},qe.\u0275dir=t.lG2({type:qe,selectors:[["","cdkCellOutlet",""]]}),qe})(),Ie=(()=>{class qe{}return qe.\u0275fac=function(ge){return new(ge||qe)},qe.\u0275cmp=t.Xpm({type:qe,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ge,Dt){1&ge&&t.GkF(0,0)},dependencies:[ot],encapsulation:2}),qe})(),ve=(()=>{class qe{}return qe.\u0275fac=function(ge){return new(ge||qe)},qe.\u0275cmp=t.Xpm({type:qe,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ge,Dt){1&ge&&t.GkF(0,0)},dependencies:[ot],encapsulation:2}),qe})(),fe=(()=>{class qe{}return qe.\u0275fac=function(ge){return new(ge||qe)},qe.\u0275cmp=t.Xpm({type:qe,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ge,Dt){1&ge&&t.GkF(0,0)},dependencies:[ot],encapsulation:2}),qe})(),Se=(()=>{class qe{constructor(ge){this.templateRef=ge,this._contentClassName="cdk-no-data-row"}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(t.Rgc))},qe.\u0275dir=t.lG2({type:qe,selectors:[["ng-template","cdkNoDataRow",""]]}),qe})();const te=["top","bottom","left","right"];class Ke{constructor(Tt,ge,Dt,Kt,fi=!0,Mi=!0,Pi){this._isNativeHtmlTable=Tt,this._stickCellCss=ge,this.direction=Dt,this._coalescedStyleScheduler=Kt,this._isBrowser=fi,this._needsPositionStickyOnElement=Mi,this._positionListener=Pi,this._cachedCellWidths=[],this._borderCellCss={top:`${ge}-border-elem-top`,bottom:`${ge}-border-elem-bottom`,left:`${ge}-border-elem-left`,right:`${ge}-border-elem-right`}}clearStickyPositioning(Tt,ge){const Dt=[];for(const Kt of Tt)if(Kt.nodeType===Kt.ELEMENT_NODE){Dt.push(Kt);for(let fi=0;fi<Kt.children.length;fi++)Dt.push(Kt.children[fi])}this._coalescedStyleScheduler.schedule(()=>{for(const Kt of Dt)this._removeStickyStyle(Kt,ge)})}updateStickyColumns(Tt,ge,Dt,Kt=!0){if(!Tt.length||!this._isBrowser||!ge.some($e=>$e)&&!Dt.some($e=>$e))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const fi=Tt[0],Mi=fi.children.length,Pi=this._getCellWidths(fi,Kt),Ui=this._getStickyStartColumnPositions(Pi,ge),Wt=this._getStickyEndColumnPositions(Pi,Dt),si=ge.lastIndexOf(!0),_e=Dt.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const $e="rtl"===this.direction,St=$e?"right":"left",mt=$e?"left":"right";for(const ui of Tt)for(let Qt=0;Qt<Mi;Qt++){const li=ui.children[Qt];ge[Qt]&&this._addStickyStyle(li,St,Ui[Qt],Qt===si),Dt[Qt]&&this._addStickyStyle(li,mt,Wt[Qt],Qt===_e)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===si?[]:Pi.slice(0,si+1).map((ui,Qt)=>ge[Qt]?ui:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===_e?[]:Pi.slice(_e).map((ui,Qt)=>Dt[Qt+_e]?ui:null).reverse()}))})}stickRows(Tt,ge,Dt){if(!this._isBrowser)return;const Kt="bottom"===Dt?Tt.slice().reverse():Tt,fi="bottom"===Dt?ge.slice().reverse():ge,Mi=[],Pi=[],Ui=[];for(let si=0,_e=0;si<Kt.length;si++){if(!fi[si])continue;Mi[si]=_e;const $e=Kt[si];Ui[si]=this._isNativeHtmlTable?Array.from($e.children):[$e];const St=$e.getBoundingClientRect().height;_e+=St,Pi[si]=St}const Wt=fi.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let si=0;si<Kt.length;si++){if(!fi[si])continue;const _e=Mi[si],$e=si===Wt;for(const St of Ui[si])this._addStickyStyle(St,Dt,_e,$e)}"top"===Dt?this._positionListener?.stickyHeaderRowsUpdated({sizes:Pi,offsets:Mi,elements:Ui}):this._positionListener?.stickyFooterRowsUpdated({sizes:Pi,offsets:Mi,elements:Ui})})}updateStickyFooterContainer(Tt,ge){if(!this._isNativeHtmlTable)return;const Dt=Tt.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{ge.some(Kt=>!Kt)?this._removeStickyStyle(Dt,["bottom"]):this._addStickyStyle(Dt,"bottom",0,!1)})}_removeStickyStyle(Tt,ge){for(const Kt of ge)Tt.style[Kt]="",Tt.classList.remove(this._borderCellCss[Kt]);te.some(Kt=>-1===ge.indexOf(Kt)&&Tt.style[Kt])?Tt.style.zIndex=this._getCalculatedZIndex(Tt):(Tt.style.zIndex="",this._needsPositionStickyOnElement&&(Tt.style.position=""),Tt.classList.remove(this._stickCellCss))}_addStickyStyle(Tt,ge,Dt,Kt){Tt.classList.add(this._stickCellCss),Kt&&Tt.classList.add(this._borderCellCss[ge]),Tt.style[ge]=`${Dt}px`,Tt.style.zIndex=this._getCalculatedZIndex(Tt),this._needsPositionStickyOnElement&&(Tt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Tt){const ge={top:100,bottom:10,left:1,right:1};let Dt=0;for(const Kt of te)Tt.style[Kt]&&(Dt+=ge[Kt]);return Dt?`${Dt}`:""}_getCellWidths(Tt,ge=!0){if(!ge&&this._cachedCellWidths.length)return this._cachedCellWidths;const Dt=[],Kt=Tt.children;for(let fi=0;fi<Kt.length;fi++)Dt.push(Kt[fi].getBoundingClientRect().width);return this._cachedCellWidths=Dt,Dt}_getStickyStartColumnPositions(Tt,ge){const Dt=[];let Kt=0;for(let fi=0;fi<Tt.length;fi++)ge[fi]&&(Dt[fi]=Kt,Kt+=Tt[fi]);return Dt}_getStickyEndColumnPositions(Tt,ge){const Dt=[];let Kt=0;for(let fi=Tt.length;fi>0;fi--)ge[fi]&&(Dt[fi]=Kt,Kt+=Tt[fi]);return Dt}}const xe=new t.OlP("CDK_SPL");let ft=(()=>{class qe{constructor(ge,Dt){this.viewContainer=ge,this.elementRef=Dt}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(t.s_b),t.Y36(t.SBq))},qe.\u0275dir=t.lG2({type:qe,selectors:[["","rowOutlet",""]]}),qe})(),_t=(()=>{class qe{constructor(ge,Dt){this.viewContainer=ge,this.elementRef=Dt}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(t.s_b),t.Y36(t.SBq))},qe.\u0275dir=t.lG2({type:qe,selectors:[["","headerRowOutlet",""]]}),qe})(),ct=(()=>{class qe{constructor(ge,Dt){this.viewContainer=ge,this.elementRef=Dt}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(t.s_b),t.Y36(t.SBq))},qe.\u0275dir=t.lG2({type:qe,selectors:[["","footerRowOutlet",""]]}),qe})(),nt=(()=>{class qe{constructor(ge,Dt){this.viewContainer=ge,this.elementRef=Dt}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(t.s_b),t.Y36(t.SBq))},qe.\u0275dir=t.lG2({type:qe,selectors:[["","noDataRowOutlet",""]]}),qe})(),ne=(()=>{class qe{constructor(ge,Dt,Kt,fi,Mi,Pi,Ui,Wt,si,_e,$e,St){this._differs=ge,this._changeDetectorRef=Dt,this._elementRef=Kt,this._dir=Mi,this._platform=Ui,this._viewRepeater=Wt,this._coalescedStyleScheduler=si,this._viewportRuler=_e,this._stickyPositioningListener=$e,this._ngZone=St,this._onDestroy=new O.x,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._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new t.vpe,this.viewChange=new M.X({start:0,end:Number.MAX_VALUE}),fi||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Pi,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(ge){this._trackByFn=ge}get dataSource(){return this._dataSource}set dataSource(ge){this._dataSource!==ge&&this._switchDataSource(ge)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(ge){this._multiTemplateDataRows=(0,g.Ig)(ge),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(ge){this._fixedLayout=(0,g.Ig)(ge),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((ge,Dt)=>this.trackBy?this.trackBy(Dt.dataIndex,Dt.data):Dt),this._viewportRuler.change().pipe((0,I.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Dt=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Dt,this._forceRecalculateCellWidths=Dt,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()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(ge=>{ge.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,A.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const ge=this._dataDiffer.diff(this._renderRows);if(!ge)return this._updateNoDataRow(),void this.contentChanged.next();const Dt=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(ge,Dt,(Kt,fi,Mi)=>this._getEmbeddedViewArgs(Kt.item,Mi),Kt=>Kt.item.data,Kt=>{1===Kt.operation&&Kt.context&&this._renderCellTemplateForItem(Kt.record.item.rowDef,Kt.context)}),this._updateRowIndexContext(),ge.forEachIdentityChange(Kt=>{Dt.get(Kt.currentIndex).context.$implicit=Kt.item.data}),this._updateNoDataRow(),this._ngZone&&t.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,P.q)(1),(0,I.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(ge){this._customColumnDefs.add(ge)}removeColumnDef(ge){this._customColumnDefs.delete(ge)}addRowDef(ge){this._customRowDefs.add(ge)}removeRowDef(ge){this._customRowDefs.delete(ge)}addHeaderRowDef(ge){this._customHeaderRowDefs.add(ge),this._headerRowDefChanged=!0}removeHeaderRowDef(ge){this._customHeaderRowDefs.delete(ge),this._headerRowDefChanged=!0}addFooterRowDef(ge){this._customFooterRowDefs.add(ge),this._footerRowDefChanged=!0}removeFooterRowDef(ge){this._customFooterRowDefs.delete(ge),this._footerRowDefChanged=!0}setNoDataRow(ge){this._customNoDataRow=ge}updateStickyHeaderRowStyles(){const ge=this._getRenderedRows(this._headerRowOutlet),Kt=this._elementRef.nativeElement.querySelector("thead");Kt&&(Kt.style.display=ge.length?"":"none");const fi=this._headerRowDefs.map(Mi=>Mi.sticky);this._stickyStyler.clearStickyPositioning(ge,["top"]),this._stickyStyler.stickRows(ge,fi,"top"),this._headerRowDefs.forEach(Mi=>Mi.resetStickyChanged())}updateStickyFooterRowStyles(){const ge=this._getRenderedRows(this._footerRowOutlet),Kt=this._elementRef.nativeElement.querySelector("tfoot");Kt&&(Kt.style.display=ge.length?"":"none");const fi=this._footerRowDefs.map(Mi=>Mi.sticky);this._stickyStyler.clearStickyPositioning(ge,["bottom"]),this._stickyStyler.stickRows(ge,fi,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,fi),this._footerRowDefs.forEach(Mi=>Mi.resetStickyChanged())}updateStickyColumnStyles(){const ge=this._getRenderedRows(this._headerRowOutlet),Dt=this._getRenderedRows(this._rowOutlet),Kt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...ge,...Dt,...Kt],["left","right"]),this._stickyColumnStylesNeedReset=!1),ge.forEach((fi,Mi)=>{this._addStickyColumnStyles([fi],this._headerRowDefs[Mi])}),this._rowDefs.forEach(fi=>{const Mi=[];for(let Pi=0;Pi<Dt.length;Pi++)this._renderRows[Pi].rowDef===fi&&Mi.push(Dt[Pi]);this._addStickyColumnStyles(Mi,fi)}),Kt.forEach((fi,Mi)=>{this._addStickyColumnStyles([fi],this._footerRowDefs[Mi])}),Array.from(this._columnDefsByName.values()).forEach(fi=>fi.resetStickyChanged())}_getAllRenderRows(){const ge=[],Dt=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Kt=0;Kt<this._data.length;Kt++){let fi=this._data[Kt];const Mi=this._getRenderRowsForData(fi,Kt,Dt.get(fi));this._cachedRenderRowsMap.has(fi)||this._cachedRenderRowsMap.set(fi,new WeakMap);for(let Pi=0;Pi<Mi.length;Pi++){let Ui=Mi[Pi];const Wt=this._cachedRenderRowsMap.get(Ui.data);Wt.has(Ui.rowDef)?Wt.get(Ui.rowDef).push(Ui):Wt.set(Ui.rowDef,[Ui]),ge.push(Ui)}}return ge}_getRenderRowsForData(ge,Dt,Kt){return this._getRowDefs(ge,Dt).map(Mi=>{const Pi=Kt&&Kt.has(Mi)?Kt.get(Mi):[];if(Pi.length){const Ui=Pi.shift();return Ui.dataIndex=Dt,Ui}return{data:ge,rowDef:Mi,dataIndex:Dt}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ht(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Dt=>{this._columnDefsByName.has(Dt.name),this._columnDefsByName.set(Dt.name,Dt)})}_cacheRowDefs(){this._headerRowDefs=Ht(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ht(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ht(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const ge=this._rowDefs.filter(Dt=>!Dt.when);this._defaultRowDef=ge[0]}_renderUpdatedColumns(){const ge=(Mi,Pi)=>Mi||!!Pi.getColumnsDiff(),Dt=this._rowDefs.reduce(ge,!1);Dt&&this._forceRenderDataRows();const Kt=this._headerRowDefs.reduce(ge,!1);Kt&&this._forceRenderHeaderRows();const fi=this._footerRowDefs.reduce(ge,!1);return fi&&this._forceRenderFooterRows(),Dt||Kt||fi}_switchDataSource(ge){this._data=[],(0,A.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),ge||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=ge}_observeRenderChanges(){if(!this.dataSource)return;let ge;(0,A.Z9)(this.dataSource)?ge=this.dataSource.connect(this):(0,w.b)(this.dataSource)?ge=this.dataSource:Array.isArray(this.dataSource)&&(ge=(0,L.of)(this.dataSource)),this._renderChangeSubscription=ge.pipe((0,I.R)(this._onDestroy)).subscribe(Dt=>{this._data=Dt||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((ge,Dt)=>this._renderRow(this._headerRowOutlet,ge,Dt)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((ge,Dt)=>this._renderRow(this._footerRowOutlet,ge,Dt)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(ge,Dt){const Kt=Array.from(Dt.columns||[]).map(Pi=>this._columnDefsByName.get(Pi)),fi=Kt.map(Pi=>Pi.sticky),Mi=Kt.map(Pi=>Pi.stickyEnd);this._stickyStyler.updateStickyColumns(ge,fi,Mi,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(ge){const Dt=[];for(let Kt=0;Kt<ge.viewContainer.length;Kt++){const fi=ge.viewContainer.get(Kt);Dt.push(fi.rootNodes[0])}return Dt}_getRowDefs(ge,Dt){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Kt=[];if(this.multiTemplateDataRows)Kt=this._rowDefs.filter(fi=>!fi.when||fi.when(Dt,ge));else{let fi=this._rowDefs.find(Mi=>Mi.when&&Mi.when(Dt,ge))||this._defaultRowDef;fi&&Kt.push(fi)}return Kt}_getEmbeddedViewArgs(ge,Dt){return{templateRef:ge.rowDef.template,context:{$implicit:ge.data},index:Dt}}_renderRow(ge,Dt,Kt,fi={}){const Mi=ge.viewContainer.createEmbeddedView(Dt.template,fi,Kt);return this._renderCellTemplateForItem(Dt,fi),Mi}_renderCellTemplateForItem(ge,Dt){for(let Kt of this._getCellTemplates(ge))ot.mostRecentCellOutlet&&ot.mostRecentCellOutlet._viewContainer.createEmbeddedView(Kt,Dt);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const ge=this._rowOutlet.viewContainer;for(let Dt=0,Kt=ge.length;Dt<Kt;Dt++){const Mi=ge.get(Dt).context;Mi.count=Kt,Mi.first=0===Dt,Mi.last=Dt===Kt-1,Mi.even=Dt%2==0,Mi.odd=!Mi.even,this.multiTemplateDataRows?(Mi.dataIndex=this._renderRows[Dt].dataIndex,Mi.renderIndex=Dt):Mi.index=this._renderRows[Dt].dataIndex}}_getCellTemplates(ge){return ge&&ge.columns?Array.from(ge.columns,Dt=>{const Kt=this._columnDefsByName.get(Dt);return ge.extractCellTemplate(Kt)}):[]}_applyNativeTableSections(){const ge=this._document.createDocumentFragment(),Dt=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Kt of Dt){const fi=this._document.createElement(Kt.tag);fi.setAttribute("role","rowgroup");for(const Mi of Kt.outlets)fi.appendChild(Mi.elementRef.nativeElement);ge.appendChild(fi)}this._elementRef.nativeElement.appendChild(ge)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const ge=(Dt,Kt)=>Dt||Kt.hasStickyChanged();this._headerRowDefs.reduce(ge,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(ge,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(ge,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Ke(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,L.of)()).pipe((0,I.R)(this._onDestroy)).subscribe(Dt=>{this._stickyStyler.direction=Dt,this.updateStickyColumnStyles()})}_getOwnDefs(ge){return ge.filter(Dt=>!Dt._table||Dt._table===this)}_updateNoDataRow(){const ge=this._customNoDataRow||this._noDataRow;if(!ge)return;const Dt=0===this._rowOutlet.viewContainer.length;if(Dt===this._isShowingNoDataRow)return;const Kt=this._noDataRowOutlet.viewContainer;if(Dt){const fi=Kt.createEmbeddedView(ge.templateRef),Mi=fi.rootNodes[0];1===fi.rootNodes.length&&Mi?.nodeType===this._document.ELEMENT_NODE&&(Mi.setAttribute("role","row"),Mi.classList.add(ge._contentClassName))}else Kt.clear();this._isShowingNoDataRow=Dt}}return qe.\u0275fac=function(ge){return new(ge||qe)(t.Y36(t.ZZ4),t.Y36(t.sBO),t.Y36(t.SBq),t.$8M("role"),t.Y36(e.Is,8),t.Y36(u.K0),t.Y36(o.t4),t.Y36(A.k),t.Y36(S),t.Y36(C.rL),t.Y36(xe,12),t.Y36(t.R0b,8))},qe.\u0275cmp=t.Xpm({type:qe,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(ge,Dt,Kt){if(1&ge&&(t.Suo(Kt,Se,5),t.Suo(Kt,E,5),t.Suo(Kt,Ne,5),t.Suo(Kt,z,5),t.Suo(Kt,it,5)),2&ge){let fi;t.iGM(fi=t.CRH())&&(Dt._noDataRow=fi.first),t.iGM(fi=t.CRH())&&(Dt._contentColumnDefs=fi),t.iGM(fi=t.CRH())&&(Dt._contentRowDefs=fi),t.iGM(fi=t.CRH())&&(Dt._contentHeaderRowDefs=fi),t.iGM(fi=t.CRH())&&(Dt._contentFooterRowDefs=fi)}},viewQuery:function(ge,Dt){if(1&ge&&(t.Gf(ft,7),t.Gf(_t,7),t.Gf(ct,7),t.Gf(nt,7)),2&ge){let Kt;t.iGM(Kt=t.CRH())&&(Dt._rowOutlet=Kt.first),t.iGM(Kt=t.CRH())&&(Dt._headerRowOutlet=Kt.first),t.iGM(Kt=t.CRH())&&(Dt._footerRowOutlet=Kt.first),t.iGM(Kt=t.CRH())&&(Dt._noDataRowOutlet=Kt.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(ge,Dt){2&ge&&t.ekj("cdk-table-fixed-layout",Dt.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[t._Bn([{provide:ee,useExisting:qe},{provide:A.k,useClass:A.yy},{provide:S,useClass:k},{provide:xe,useValue:null}])],ngContentSelectors:Z,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ge,Dt){1&ge&&(t.F$t(U),t.Hsn(0),t.Hsn(1,1),t.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[ft,_t,ct,nt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),qe})();function Ht(qe,Tt){return qe.concat(Array.from(Tt))}let wt=(()=>{class qe{}return qe.\u0275fac=function(ge){return new(ge||qe)},qe.\u0275mod=t.oAB({type:qe}),qe.\u0275inj=t.cJS({imports:[C.Cl]}),qe})();var Re=m(3238),tt=m(6451),Bt=m(9841),It=m(4004);const zt=[[["caption"]],[["colgroup"],["col"]]],xt=["caption","colgroup, col"];let Fe=(()=>{class qe extends ne{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}ngOnInit(){super.ngOnInit(),this._isNativeHtmlTable&&this._elementRef.nativeElement.querySelector("tbody").classList.add("mdc-data-table__content")}}return qe.\u0275fac=function(){let Tt;return function(Dt){return(Tt||(Tt=t.n5z(qe)))(Dt||qe)}}(),qe.\u0275cmp=t.Xpm({type:qe,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(ge,Dt){2&ge&&t.ekj("mdc-table-fixed-layout",Dt.fixedLayout)},exportAs:["matTable"],features:[t._Bn([{provide:ne,useExisting:qe},{provide:ee,useExisting:qe},{provide:S,useClass:k},{provide:A.k,useClass:A.yy},{provide:xe,useValue:null}]),t.qOj],ngContentSelectors:xt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(ge,Dt){1&ge&&(t.F$t(zt),t.Hsn(0),t.Hsn(1,1),t.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[ft,_t,ct,nt],styles:[".mdc-data-table{border-radius:var(--mdc-shape-medium, 4px);border-width:1px;border-style:solid}.mdc-data-table .mdc-data-table__header-cell:first-child{border-top-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:first-child,.mdc-data-table .mdc-data-table__header-cell:first-child[dir=rtl]{border-top-right-radius:var(--mdc-shape-medium, 4px);border-top-left-radius:0}.mdc-data-table .mdc-data-table__header-cell:last-child{border-top-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table .mdc-data-table__header-cell:last-child,.mdc-data-table .mdc-data-table__header-cell:last-child[dir=rtl]{border-top-left-radius:var(--mdc-shape-medium, 4px);border-top-right-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child{border-bottom-left-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:first-child[dir=rtl]{border-bottom-right-radius:var(--mdc-shape-medium, 4px);border-bottom-left-radius:0}.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child{border-bottom-right-radius:var(--mdc-shape-medium, 4px)}[dir=rtl] .mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child,.mdc-data-table.mdc-data-table--without-footer .mdc-data-table__row:last-child .mdc-data-table__cell:last-child[dir=rtl]{border-bottom-left-radius:var(--mdc-shape-medium, 4px);border-bottom-right-radius:0}.mdc-data-table__cell,.mdc-data-table__header-cell{border-bottom-width:1px;border-bottom-style:solid}.mdc-data-table__pagination{border-top-width:1px;border-top-style:solid}.mdc-data-table__row:last-child .mdc-data-table__cell{border-bottom:none}.mdc-data-table__row{height:52px}.mdc-data-table__pagination{min-height:52px}.mdc-data-table__header-row{height:56px}.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}.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__cell--checkbox{width:1px}.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--checkbox{width:1px}.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__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.mdc-data-table--sticky-header .mdc-data-table__header-cell{position:sticky;top:0;z-index:1}.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__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--checkbox{width:1px}.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__sort-icon-button{width:28px;height:28px;padding:2px;transform:rotate(0.0001deg);margin-left:4px;margin-right:0;opacity:0}.mdc-data-table__sort-icon-button .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__ripple{width:28px;height:28px;margin-top:0px;margin-bottom:0px;margin-right:0px;margin-left:0px}.mdc-data-table__sort-icon-button.mdc-icon-button--reduced-size .mdc-icon-button__focus-ring{max-height:28px;max-width:28px}.mdc-data-table__sort-icon-button .mdc-icon-button__touch{position:absolute;top:50%;height:28px;left:50%;width:28px;transform:translate(-50%, -50%)}[dir=rtl] .mdc-data-table__sort-icon-button,.mdc-data-table__sort-icon-button[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--numeric .mdc-data-table__sort-icon-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__header-cell--sorted-descending .mdc-data-table__sort-icon-button{transform:rotate(-180deg)}.mdc-data-table__sort-icon-button:focus,.mdc-data-table__header-cell:hover .mdc-data-table__sort-icon-button,.mdc-data-table__header-cell--sorted .mdc-data-table__sort-icon-button{opacity:1}.mdc-data-table__header-cell-wrapper{align-items:center;display:inline-flex;vertical-align:middle}.mdc-data-table__header-cell--with-sort{cursor:pointer}.mdc-data-table__sort-status-label{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.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__cell--checkbox{width:1px}.mdc-data-table__pagination{box-sizing:border-box;display:flex;justify-content:flex-end}.mdc-data-table__pagination-trailing{margin-left:4px;margin-right:0;align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end}[dir=rtl] .mdc-data-table__pagination-trailing,.mdc-data-table__pagination-trailing[dir=rtl]{margin-left:0;margin-right:4px}.mdc-data-table__pagination-navigation{align-items:center;display:flex}.mdc-data-table__pagination-button{margin-left:0;margin-right:4px}[dir=rtl] .mdc-data-table__pagination-button .mdc-button__icon,.mdc-data-table__pagination-button .mdc-button__icon[dir=rtl]{transform:rotate(180deg)}[dir=rtl] .mdc-data-table__pagination-button,.mdc-data-table__pagination-button[dir=rtl]{margin-left:4px;margin-right:0}.mdc-data-table__pagination-total{margin-left:14px;margin-right:36px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-total,.mdc-data-table__pagination-total[dir=rtl]{margin-left:36px;margin-right:14px}.mdc-data-table__pagination-rows-per-page{margin-left:0;margin-right:22px;align-items:center;display:inline-flex}[dir=rtl] .mdc-data-table__pagination-rows-per-page,.mdc-data-table__pagination-rows-per-page[dir=rtl]{margin-left:22px;margin-right:0}.mdc-data-table__pagination-rows-per-page-label{margin-left:0;margin-right:12px;white-space:nowrap}[dir=rtl] .mdc-data-table__pagination-rows-per-page-label,.mdc-data-table__pagination-rows-per-page-label[dir=rtl]{margin-left:12px;margin-right:0}.mdc-data-table__pagination-rows-per-page-select{min-width:var(--mdc-menu-min-width, 80px);margin:8px 0}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{width:100%;min-width:80px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor{height:36px}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-floating-label--float-above{font-size:.75rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-data-table__pagination-rows-per-page-select .mdc-select__anchor .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-data-table__pagination-rows-per-page-select .mdc-select__dropdown-icon{width:20px;height:20px}.mdc-data-table__pagination-rows-per-page-select.mdc-select--outlined .mdc-select__anchor :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 56px)}.mdc-data-table__pagination-rows-per-page-select .mdc-list-item.mdc-list-item--with-one-line{height:36px}.mdc-data-table__progress-indicator{display:none;position:absolute;width:100%}.mdc-data-table--in-progress .mdc-data-table__progress-indicator{display:block}.mdc-data-table__scrim{background-color:var(--mdc-theme-surface, #fff);height:100%;opacity:.32;position:absolute;top:0;width:100%}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-sticky{position:sticky !important}.mat-mdc-table{table-layout:auto;white-space:normal}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-mdc-row:hover,.mat-mdc-table .mat-mdc-footer-row:hover{background-color: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}),qe})(),at=(()=>{class qe extends le{}return qe.\u0275fac=function(){let Tt;return function(Dt){return(Tt||(Tt=t.n5z(qe)))(Dt||qe)}}(),qe.\u0275dir=t.lG2({type:qe,selectors:[["","matCellDef",""]],features:[t._Bn([{provide:le,useExisting:qe}]),t.qOj]}),qe})(),ii=(()=>{class qe extends ie{}return qe.\u0275fac=function(){let Tt;return function(Dt){return(Tt||(Tt=t.n5z(qe)))(Dt||qe)}}(),qe.\u0275dir=t.lG2({type:qe,selectors:[["","matHeaderCellDef",""]],features:[t._Bn([{provide:ie,useExisting:qe}]),t.qOj]}),qe})(),Gt=(()=>{class qe extends ce{}return qe.\u0275fac=function(){let Tt;return function(Dt){return(Tt||(Tt=t.n5z(qe)))(Dt||qe)}}(),qe.\u0275dir=t.lG2({type:qe,selectors:[["","matFooterCellDef",""]],features:[t._Bn([{provide:ce,useExisting:qe}]),t.qOj]}),qe})(),ei=(()=>{class qe extends E{get name(){return this._name}set name(ge){this._setNameInput(ge)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return qe.\u0275fac=function(){let Tt;return function(Dt){return(Tt||(Tt=t.n5z(qe)))(Dt||qe)}}(),qe.\u0275dir=t.lG2({type:qe,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[t._Bn([{provide:E,useExisting:qe},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:qe}]),t.qOj]}),qe})(),ht=(()=>{class qe extends r{}return qe.\u0275fac=function(){let Tt;return function(Dt){return(Tt||(Tt=t.n5z(qe)))(Dt||qe)}}(),qe.\u0275dir=t.lG2({type:qe,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[t.qOj]}),qe})(),rt=(()=>{class qe extends h{}return qe.\u0275fac=function(){let Tt;return function(Dt){return(Tt||(Tt=t.n5z(qe)))(Dt||qe)}}(),qe.\u0275dir=t.lG2({type:qe,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[t.qOj]}),qe})(),yt=(()=>{class qe extends c{}return qe.\u0275fac=function(){let Tt;return function(Dt){return(Tt||(Tt=t.n5z(qe)))(Dt||qe)}}(),qe.\u0275dir=t.lG2({type:qe,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[t.qOj]}),qe})(),ri=(()=>{class qe extends z{}return qe.\u0275fac=function(){let Tt;return function(Dt){return(Tt||(Tt=t.n5z(qe)))(Dt||qe)}}(),qe.\u0275dir=t.lG2({type:qe,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[t._Bn([{provide:z,useExisting:qe}]),t.qOj]}),qe})(),Ut=(()=>{class qe extends it{}return qe.\u0275fac=function(){let Tt;return function(Dt){return(Tt||(Tt=t.n5z(qe)))(Dt||qe)}}(),qe.\u0275dir=t.lG2({type:qe,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[t._Bn([{provide:it,useExisting:qe}]),t.qOj]}),qe})(),Vt=(()=>{class qe extends Ne{}return qe.\u0275fac=function(){let Tt;return function(Dt){return(Tt||(Tt=t.n5z(qe)))(Dt||qe)}}(),qe.\u0275dir=t.lG2({type:qe,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[t._Bn([{provide:Ne,useExisting:qe}]),t.qOj]}),qe})(),Ft=(()=>{class qe extends Ie{}return qe.\u0275fac=function(){let Tt;return function(Dt){return(Tt||(Tt=t.n5z(qe)))(Dt||qe)}}(),qe.\u0275cmp=t.Xpm({type:qe,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],features:[t._Bn([{provide:Ie,useExisting:qe}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ge,Dt){1&ge&&t.GkF(0,0)},dependencies:[ot],encapsulation:2}),qe})(),Qe=(()=>{class qe extends ve{}return qe.\u0275fac=function(){let Tt;return function(Dt){return(Tt||(Tt=t.n5z(qe)))(Dt||qe)}}(),qe.\u0275cmp=t.Xpm({type:qe,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],features:[t._Bn([{provide:ve,useExisting:qe}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ge,Dt){1&ge&&t.GkF(0,0)},dependencies:[ot],encapsulation:2}),qe})(),Ve=(()=>{class qe extends fe{}return qe.\u0275fac=function(){let Tt;return function(Dt){return(Tt||(Tt=t.n5z(qe)))(Dt||qe)}}(),qe.\u0275cmp=t.Xpm({type:qe,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[t._Bn([{provide:fe,useExisting:qe}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(ge,Dt){1&ge&&t.GkF(0,0)},dependencies:[ot],encapsulation:2}),qe})(),mi=(()=>{class qe{}return qe.\u0275fac=function(ge){return new(ge||qe)},qe.\u0275mod=t.oAB({type:qe}),qe.\u0275inj=t.cJS({imports:[Re.BQ,wt,Re.BQ]}),qe})();class wi extends A.o2{constructor(Tt=[]){super(),this._renderData=new M.X([]),this._filter=new M.X(""),this._internalPageChanges=new O.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(ge,Dt)=>{const Kt=ge[Dt];if((0,g.t6)(Kt)){const fi=Number(Kt);return fi<9007199254740991?fi:Kt}return Kt},this.sortData=(ge,Dt)=>{const Kt=Dt.active,fi=Dt.direction;return Kt&&""!=fi?ge.sort((Mi,Pi)=>{let Ui=this.sortingDataAccessor(Mi,Kt),Wt=this.sortingDataAccessor(Pi,Kt);const si=typeof Ui,_e=typeof Wt;si!==_e&&("number"===si&&(Ui+=""),"number"===_e&&(Wt+=""));let $e=0;return null!=Ui&&null!=Wt?Ui>Wt?$e=1:Ui<Wt&&($e=-1):null!=Ui?$e=1:null!=Wt&&($e=-1),$e*("asc"==fi?1:-1)}):ge},this.filterPredicate=(ge,Dt)=>{const Kt=Object.keys(ge).reduce((Mi,Pi)=>Mi+ge[Pi]+"\u25ec","").toLowerCase(),fi=Dt.trim().toLowerCase();return-1!=Kt.indexOf(fi)},this._data=new M.X(Tt),this._updateChangeSubscription()}get data(){return this._data.value}set data(Tt){Tt=Array.isArray(Tt)?Tt:[],this._data.next(Tt),this._renderChangesSubscription||this._filterData(Tt)}get filter(){return this._filter.value}set filter(Tt){this._filter.next(Tt),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Tt){this._sort=Tt,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Tt){this._paginator=Tt,this._updateChangeSubscription()}_updateChangeSubscription(){const Tt=this._sort?(0,tt.T)(this._sort.sortChange,this._sort.initialized):(0,L.of)(null),ge=this._paginator?(0,tt.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,L.of)(null),Kt=(0,Bt.a)([this._data,this._filter]).pipe((0,It.U)(([Pi])=>this._filterData(Pi))),fi=(0,Bt.a)([Kt,Tt]).pipe((0,It.U)(([Pi])=>this._orderData(Pi))),Mi=(0,Bt.a)([fi,ge]).pipe((0,It.U)(([Pi])=>this._pageData(Pi)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Mi.subscribe(Pi=>this._renderData.next(Pi))}_filterData(Tt){return this.filteredData=null==this.filter||""===this.filter?Tt:Tt.filter(ge=>this.filterPredicate(ge,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Tt){return this.sort?this.sortData(Tt.slice(),this.sort):Tt}_pageData(Tt){if(!this.paginator)return Tt;const ge=this.paginator.pageIndex*this.paginator.pageSize;return Tt.slice(ge,ge+this.paginator.pageSize)}_updatePaginator(Tt){Promise.resolve().then(()=>{const ge=this.paginator;if(ge&&(ge.length=Tt,ge.pageIndex>0)){const Dt=Math.ceil(ge.length/ge.pageSize)-1||0,Kt=Math.min(ge.pageIndex,Dt);Kt!==ge.pageIndex&&(ge.pageIndex=Kt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class Vi extends wi{}},3848:(Ge,Q,m)=>{"use strict";m.d(Q,{BU:()=>ri,Nh:()=>Ft,Nj:()=>Ut,SP:()=>at,sW:()=>Vt,uD:()=>Ze,uX:()=>ze});var t=m(6895),e=m(4650),g=m(3238),A=m(4080),o=m(9643),C=m(4761),u=m(445),O=m(727),d=m(7579),M=m(4968),w=m(9646),L=m(6451),I=m(515),P=m(9751),U=m(2805),Z=m(1135),Y=m(8675),j=m(1884),X=m(2722),ee=m(5698),ue=m(3900),le=m(5684),ie=m(9300),ce=m(7340),se=m(1281),he=m(531),E=m(3353),i=m(9521);function r(Qe,Ve){}const h=function(Qe){return{animationDuration:Qe}},c=function(Qe,Ve){return{value:Qe,params:Ve}};function y(Qe,Ve){1&Qe&&e.Hsn(0)}const S=["*"],k=["tabListContainer"],v=["tabList"],n=["tabListInner"],b=["nextPaginator"],B=["previousPaginator"],z=["tabBodyWrapper"],W=["tabHeader"];function Oe(Qe,Ve){}function it(Qe,Ve){if(1&Qe&&e.YNc(0,Oe,0,0,"ng-template",14),2&Qe){const je=e.oxw().$implicit;e.Q6J("cdkPortalOutlet",je.templateLabel)}}function Ne(Qe,Ve){if(1&Qe&&e._uU(0),2&Qe){const je=e.oxw().$implicit;e.Oqu(je.textLabel)}}function ot(Qe,Ve){if(1&Qe){const je=e.EpF();e.TgZ(0,"div",6,7),e.NdJ("click",function(){const Et=e.CHM(je),mi=Et.$implicit,Li=Et.index,wi=e.oxw(),Vi=e.MAs(1);return e.KtG(wi._handleClick(mi,Vi,Li))})("cdkFocusChange",function(Et){const Li=e.CHM(je).index,wi=e.oxw();return e.KtG(wi._tabFocusChanged(Et,Li))}),e._UZ(2,"span",8)(3,"div",9),e.TgZ(4,"span",10)(5,"span",11),e.YNc(6,it,1,1,"ng-template",12),e.YNc(7,Ne,1,1,"ng-template",null,13,e.W1O),e.qZA()()()}if(2&Qe){const je=Ve.$implicit,Xe=Ve.index,Et=e.MAs(1),mi=e.MAs(8),Li=e.oxw();e.ekj("mdc-tab--active",Li.selectedIndex===Xe),e.Q6J("id",Li._getTabLabelId(Xe))("ngClass",je.labelClass)("disabled",je.disabled)("fitInkBarToContent",Li.fitInkBarToContent),e.uIk("tabIndex",Li._getTabIndex(je,Xe))("aria-posinset",Xe+1)("aria-setsize",Li._tabs.length)("aria-controls",Li._getTabContentId(Xe))("aria-selected",Li.selectedIndex===Xe)("aria-label",je.ariaLabel||null)("aria-labelledby",!je.ariaLabel&&je.ariaLabelledby?je.ariaLabelledby:null),e.xp6(3),e.Q6J("matRippleTrigger",Et)("matRippleDisabled",je.disabled||Li.disableRipple),e.xp6(3),e.Q6J("ngIf",je.templateLabel)("ngIfElse",mi)}}function Ie(Qe,Ve){if(1&Qe){const je=e.EpF();e.TgZ(0,"mat-tab-body",15),e.NdJ("_onCentered",function(){e.CHM(je);const Et=e.oxw();return e.KtG(Et._removeTabBodyWrapperHeight())})("_onCentering",function(Et){e.CHM(je);const mi=e.oxw();return e.KtG(mi._setTabBodyWrapperHeight(Et))}),e.qZA()}if(2&Qe){const je=Ve.$implicit,Xe=Ve.index,Et=e.oxw();e.ekj("mat-mdc-tab-body-active",Et.selectedIndex===Xe),e.Q6J("id",Et._getTabContentId(Xe))("ngClass",je.bodyClass)("content",je.content)("position",je.position)("origin",je.origin)("animationDuration",Et.animationDuration)("preserveContent",Et.preserveContent),e.uIk("tabindex",null!=Et.contentTabIndex&&Et.selectedIndex===Xe?Et.contentTabIndex:null)("aria-labelledby",Et._getTabLabelId(Xe))}}const ve=["mat-tab-nav-bar",""],fe=["mat-tab-link",""],Se={translateTab:(0,ce.X$)("translateTab",[(0,ce.SB)("center, void, left-origin-center, right-origin-center",(0,ce.oB)({transform:"none"})),(0,ce.SB)("left",(0,ce.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ce.SB)("right",(0,ce.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,ce.eR)("* => left, * => right, left => center, right => center",(0,ce.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,ce.eR)("void => left-origin-center",[(0,ce.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,ce.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,ce.eR)("void => right-origin-center",[(0,ce.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,ce.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let te=(()=>{class Qe extends A.Pl{constructor(je,Xe,Et,mi){super(je,Xe,mi),this._host=Et,this._centeringSub=O.w0.EMPTY,this._leavingSub=O.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,Y.O)(this._host._isCenterPosition(this._host._position))).subscribe(je=>{je&&!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()}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36((0,e.Gpc)(()=>Ae)),e.Y36(t.K0))},Qe.\u0275dir=e.lG2({type:Qe,selectors:[["","matTabBodyHost",""]],features:[e.qOj]}),Qe})(),Ke=(()=>{class Qe{constructor(je,Xe,Et){this._elementRef=je,this._dir=Xe,this._dirChangeSubscription=O.w0.EMPTY,this._translateTabComplete=new d.x,this._onCentering=new e.vpe,this._beforeCentering=new e.vpe,this._afterLeavingCenter=new e.vpe,this._onCentered=new e.vpe(!0),this.animationDuration="500ms",this.preserveContent=!1,Xe&&(this._dirChangeSubscription=Xe.change.subscribe(mi=>{this._computePositionAnimationState(mi),Et.markForCheck()})),this._translateTabComplete.pipe((0,j.x)((mi,Li)=>mi.fromState===Li.fromState&&mi.toState===Li.toState)).subscribe(mi=>{this._isCenterPosition(mi.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(mi.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(je){this._positionIndex=je,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(je){const Xe=this._isCenterPosition(je.toState);this._beforeCentering.emit(Xe),Xe&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(je){return"center"==je||"left-origin-center"==je||"right-origin-center"==je}_computePositionAnimationState(je=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==je?"left":"right":this._positionIndex>0?"ltr"==je?"right":"left":"center"}_computePositionFromOrigin(je){const Xe=this._getLayoutDirection();return"ltr"==Xe&&je<=0||"rtl"==Xe&&je>0?"left-origin-center":"right-origin-center"}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(e.SBq),e.Y36(u.Is,8),e.Y36(e.sBO))},Qe.\u0275dir=e.lG2({type:Qe,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Qe})(),Ae=(()=>{class Qe extends Ke{constructor(je,Xe,Et){super(je,Xe,Et)}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(e.SBq),e.Y36(u.Is,8),e.Y36(e.sBO))},Qe.\u0275cmp=e.Xpm({type:Qe,selectors:[["mat-tab-body"]],viewQuery:function(je,Xe){if(1&je&&e.Gf(A.Pl,5),2&je){let Et;e.iGM(Et=e.CRH())&&(Xe._portalHost=Et.first)}},hostAttrs:[1,"mat-mdc-tab-body"],features:[e.qOj],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-mdc-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(je,Xe){1&je&&(e.TgZ(0,"div",0,1),e.NdJ("@translateTab.start",function(mi){return Xe._onTranslateTabStarted(mi)})("@translateTab.done",function(mi){return Xe._translateTabComplete.next(mi)}),e.YNc(2,r,0,0,"ng-template",2),e.qZA()),2&je&&e.Q6J("@translateTab",e.WLB(3,c,Xe._position,e.VKq(1,h,Xe.animationDuration)))},dependencies:[te],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:[Se.translateTab]}}),Qe})();const oe=new e.OlP("MatTabContent");let ye=(()=>{class Qe{constructor(je){this.template=je}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(e.Rgc))},Qe.\u0275dir=e.lG2({type:Qe,selectors:[["","matTabContent",""]],features:[e._Bn([{provide:oe,useExisting:Qe}])]}),Qe})();const me=new e.OlP("MatTabLabel"),Me=new e.OlP("MAT_TAB");let Ze=(()=>{class Qe extends A.ig{constructor(je,Xe,Et){super(je,Xe),this._closestTab=Et}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(e.Rgc),e.Y36(e.s_b),e.Y36(Me,8))},Qe.\u0275dir=e.lG2({type:Qe,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[e._Bn([{provide:me,useExisting:Qe}]),e.qOj]}),Qe})();const q="mdc-tab-indicator--active",de="mdc-tab-indicator--no-transition";class xe{constructor(Ve){this._items=Ve}hide(){this._items.forEach(Ve=>Ve.deactivateInkBar())}alignToElement(Ve){const je=this._items.find(Et=>Et.elementRef.nativeElement===Ve),Xe=this._currentItem;if(Xe?.deactivateInkBar(),je){const Et=Xe?.elementRef.nativeElement.getBoundingClientRect?.();je.activateInkBar(Et),this._currentItem=je}}}function ke(Qe){return class extends Qe{constructor(...Ve){super(...Ve),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(Ve){const je=(0,se.Ig)(Ve);this._fitToContent!==je&&(this._fitToContent=je,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(Ve){const je=this.elementRef.nativeElement;if(!Ve||!je.getBoundingClientRect||!this._inkBarContentElement)return void je.classList.add(q);const Xe=je.getBoundingClientRect(),Et=Ve.width/Xe.width,mi=Ve.left-Xe.left;je.classList.add(de),this._inkBarContentElement.style.setProperty("transform",`translateX(${mi}px) scaleX(${Et})`),je.getBoundingClientRect(),je.classList.remove(de),je.classList.add(q),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(q)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const Ve=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=Ve.createElement("span"),this._inkBarContentElement=Ve.createElement("span"),this._inkBarElement.className="mdc-tab-indicator",this._inkBarContentElement.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",this._inkBarElement.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){(this._fitToContent?this.elementRef.nativeElement.querySelector(".mdc-tab__content"):this.elementRef.nativeElement).appendChild(this._inkBarElement)}}}const ct=(0,g.Id)(class{}),Jt=ke((()=>{class Qe extends ct{constructor(je){super(),this.elementRef=je}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(e.SBq))},Qe.\u0275dir=e.lG2({type:Qe,features:[e.qOj]}),Qe})());let vt=(()=>{class Qe extends Jt{}return Qe.\u0275fac=function(){let Ve;return function(Xe){return(Ve||(Ve=e.n5z(Qe)))(Xe||Qe)}}(),Qe.\u0275dir=e.lG2({type:Qe,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(je,Xe){2&je&&(e.uIk("aria-disabled",!!Xe.disabled),e.ekj("mat-mdc-tab-disabled",Xe.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[e.qOj]}),Qe})();const ne=(0,g.Id)(class{}),Ht=new e.OlP("MAT_TAB_GROUP");let De=(()=>{class Qe extends ne{constructor(je,Xe){super(),this._viewContainerRef=je,this._closestTabGroup=Xe,this.textLabel="",this._contentPortal=null,this._stateChanges=new d.x,this.position=null,this.origin=null,this.isActive=!1}get content(){return this._contentPortal}ngOnChanges(je){(je.hasOwnProperty("textLabel")||je.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new A.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(je){je&&je._closestTab===this&&(this._templateLabel=je)}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(e.s_b),e.Y36(Ht,8))},Qe.\u0275dir=e.lG2({type:Qe,viewQuery:function(je,Xe){if(1&je&&e.Gf(e.Rgc,7),2&je){let Et;e.iGM(Et=e.CRH())&&(Xe._implicitContent=Et.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[e.qOj,e.TTD]}),Qe})(),ze=(()=>{class Qe extends De{get templateLabel(){return this._templateLabel}set templateLabel(je){this._setTemplateLabelInput(je)}}return Qe.\u0275fac=function(){let Ve;return function(Xe){return(Ve||(Ve=e.n5z(Qe)))(Xe||Qe)}}(),Qe.\u0275cmp=e.Xpm({type:Qe,selectors:[["mat-tab"]],contentQueries:function(je,Xe,Et){if(1&je&&(e.Suo(Et,ye,7,e.Rgc),e.Suo(Et,Ze,5)),2&je){let mi;e.iGM(mi=e.CRH())&&(Xe._explicitContent=mi.first),e.iGM(mi=e.CRH())&&(Xe.templateLabel=mi.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[e._Bn([{provide:Me,useExisting:Qe}]),e.qOj],ngContentSelectors:S,decls:1,vars:0,template:function(je,Xe){1&je&&(e.F$t(),e.YNc(0,y,1,0,"ng-template"))},encapsulation:2}),Qe})();const wt=(0,E.i$)({passive:!0});let It=(()=>{class Qe{constructor(je,Xe,Et,mi,Li,wi,Vi){this._elementRef=je,this._changeDetectorRef=Xe,this._viewportRuler=Et,this._dir=mi,this._ngZone=Li,this._platform=wi,this._animationMode=Vi,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new d.x,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new d.x,this._disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new e.vpe,this.indexFocused=new e.vpe,Li.runOutsideAngular(()=>{(0,M.R)(je.nativeElement,"mouseleave").pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get disablePagination(){return this._disablePagination}set disablePagination(je){this._disablePagination=(0,se.Ig)(je)}get selectedIndex(){return this._selectedIndex}set selectedIndex(je){je=(0,se.su)(je),this._selectedIndex!=je&&(this._selectedIndexChanged=!0,this._selectedIndex=je,this._keyManager&&this._keyManager.updateActiveItem(je))}ngAfterViewInit(){(0,M.R)(this._previousPaginator.nativeElement,"touchstart",wt).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,M.R)(this._nextPaginator.nativeElement,"touchstart",wt).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const je=this._dir?this._dir.change:(0,w.of)("ltr"),Xe=this._viewportRuler.change(150),Et=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new C.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,ee.q)(1)).subscribe(Et),(0,L.T)(je,Xe,this._items.changes,this._itemsResized()).pipe((0,X.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Et()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(mi=>{this.indexFocused.emit(mi),this._setTabFocus(mi)})}_itemsResized(){return"function"!=typeof ResizeObserver?I.E:this._items.changes.pipe((0,Y.O)(this._items),(0,ue.w)(je=>new P.y(Xe=>this._ngZone.runOutsideAngular(()=>{const Et=new ResizeObserver(mi=>Xe.next(mi));return je.forEach(mi=>Et.observe(mi.elementRef.nativeElement)),()=>{Et.disconnect()}}))),(0,le.T)(1),(0,ie.h)(je=>je.some(Xe=>Xe.contentRect.width>0&&Xe.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(je){if(!(0,i.Vb)(je))switch(je.keyCode){case i.K5:case i.L_:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(je));break;default:this._keyManager.onKeydown(je)}}_onContentChanges(){const je=this._elementRef.nativeElement.textContent;je!==this._currentTextContent&&(this._currentTextContent=je||"",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(je){!this._isValidIndex(je)||this.focusIndex===je||!this._keyManager||this._keyManager.setActiveItem(je)}_isValidIndex(je){if(!this._items)return!0;const Xe=this._items?this._items.toArray()[je]:null;return!!Xe&&!Xe.disabled}_setTabFocus(je){if(this._showPaginationControls&&this._scrollToLabel(je),this._items&&this._items.length){this._items.toArray()[je].focus();const Xe=this._tabListContainer.nativeElement;Xe.scrollLeft="ltr"==this._getLayoutDirection()?0:Xe.scrollWidth-Xe.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const je=this.scrollDistance,Xe="ltr"===this._getLayoutDirection()?-je:je;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Xe)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(je){this._scrollTo(je)}_scrollHeader(je){return this._scrollTo(this._scrollDistance+("before"==je?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(je){this._stopInterval(),this._scrollHeader(je)}_scrollToLabel(je){if(this.disablePagination)return;const Xe=this._items?this._items.toArray()[je]:null;if(!Xe)return;const Et=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:mi,offsetWidth:Li}=Xe.elementRef.nativeElement;let wi,Vi;"ltr"==this._getLayoutDirection()?(wi=mi,Vi=wi+Li):(Vi=this._tabListInner.nativeElement.offsetWidth-mi,wi=Vi-Li);const qe=this.scrollDistance,Tt=this.scrollDistance+Et;wi<qe?this.scrollDistance-=qe-wi+60:Vi>Tt&&(this.scrollDistance+=Vi-Tt+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const je=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;je||(this.scrollDistance=0),je!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=je}}_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 je=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Xe=je?je.elementRef.nativeElement:null;Xe?this._inkBar.alignToElement(Xe):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(je,Xe){Xe&&null!=Xe.button&&0!==Xe.button||(this._stopInterval(),(0,U.H)(650,100).pipe((0,X.R)((0,L.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Et,distance:mi}=this._scrollHeader(je);(0===mi||mi>=Et)&&this._stopInterval()}))}_scrollTo(je){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Xe=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Xe,je)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Xe,distance:this._scrollDistance}}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(he.rL),e.Y36(u.Is,8),e.Y36(e.R0b),e.Y36(E.t4),e.Y36(e.QbO,8))},Qe.\u0275dir=e.lG2({type:Qe,inputs:{disablePagination:"disablePagination"}}),Qe})(),zt=(()=>{class Qe extends It{constructor(je,Xe,Et,mi,Li,wi,Vi){super(je,Xe,Et,mi,Li,wi,Vi),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(je){this._disableRipple=(0,se.Ig)(je)}_itemSelected(je){je.preventDefault()}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(he.rL),e.Y36(u.Is,8),e.Y36(e.R0b),e.Y36(E.t4),e.Y36(e.QbO,8))},Qe.\u0275dir=e.lG2({type:Qe,inputs:{disableRipple:"disableRipple"},features:[e.qOj]}),Qe})(),xt=(()=>{class Qe extends zt{constructor(je,Xe,Et,mi,Li,wi,Vi){super(je,Xe,Et,mi,Li,wi,Vi)}ngAfterContentInit(){this._inkBar=new xe(this._items),super.ngAfterContentInit()}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(he.rL),e.Y36(u.Is,8),e.Y36(e.R0b),e.Y36(E.t4),e.Y36(e.QbO,8))},Qe.\u0275cmp=e.Xpm({type:Qe,selectors:[["mat-tab-header"]],contentQueries:function(je,Xe,Et){if(1&je&&e.Suo(Et,vt,4),2&je){let mi;e.iGM(mi=e.CRH())&&(Xe._items=mi)}},viewQuery:function(je,Xe){if(1&je&&(e.Gf(k,7),e.Gf(v,7),e.Gf(n,7),e.Gf(b,5),e.Gf(B,5)),2&je){let Et;e.iGM(Et=e.CRH())&&(Xe._tabListContainer=Et.first),e.iGM(Et=e.CRH())&&(Xe._tabList=Et.first),e.iGM(Et=e.CRH())&&(Xe._tabListInner=Et.first),e.iGM(Et=e.CRH())&&(Xe._nextPaginator=Et.first),e.iGM(Et=e.CRH())&&(Xe._previousPaginator=Et.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(je,Xe){2&je&&e.ekj("mat-mdc-tab-header-pagination-controls-enabled",Xe._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Xe._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[e.qOj],ngContentSelectors:S,decls:13,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(je,Xe){1&je&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return Xe._handlePaginatorClick("before")})("mousedown",function(mi){return Xe._handlePaginatorPress("before",mi)})("touchend",function(){return Xe._stopInterval()}),e._UZ(2,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.NdJ("keydown",function(mi){return Xe._handleKeydown(mi)}),e.TgZ(5,"div",5,6),e.NdJ("cdkObserveContent",function(){return Xe._onContentChanges()}),e.TgZ(7,"div",7,8),e.Hsn(9),e.qZA()()(),e.TgZ(10,"button",9,10),e.NdJ("mousedown",function(mi){return Xe._handlePaginatorPress("after",mi)})("click",function(){return Xe._handlePaginatorClick("after")})("touchend",function(){return Xe._stopInterval()}),e._UZ(12,"div",2),e.qZA()),2&je&&(e.ekj("mat-mdc-tab-header-pagination-disabled",Xe._disableScrollBefore),e.Q6J("matRippleDisabled",Xe._disableScrollBefore||Xe.disableRipple)("disabled",Xe._disableScrollBefore||null),e.xp6(3),e.ekj("_mat-animation-noopable","NoopAnimations"===Xe._animationMode),e.xp6(7),e.ekj("mat-mdc-tab-header-pagination-disabled",Xe._disableScrollAfter),e.Q6J("matRippleDisabled",Xe._disableScrollAfter||Xe.disableRipple)("disabled",Xe._disableScrollAfter||null))},dependencies:[g.wG,o.wD],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.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}.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}.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}.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}),Qe})();const we=new e.OlP("MAT_TABS_CONFIG");let J=0;const be=(0,g.pj)((0,g.Kr)(class{constructor(Qe){this._elementRef=Qe}}),"primary");let Fe=(()=>{class Qe extends be{constructor(je,Xe,Et,mi){super(je),this._changeDetectorRef=Xe,this._animationMode=mi,this._tabs=new e.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=O.w0.EMPTY,this._tabLabelSubscription=O.w0.EMPTY,this._dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this._disablePagination=!1,this._preserveContent=!1,this.selectedIndexChange=new e.vpe,this.focusChange=new e.vpe,this.animationDone=new e.vpe,this.selectedTabChange=new e.vpe(!0),this._groupId=J++,this.animationDuration=Et&&Et.animationDuration?Et.animationDuration:"500ms",this.disablePagination=!(!Et||null==Et.disablePagination)&&Et.disablePagination,this.dynamicHeight=!(!Et||null==Et.dynamicHeight)&&Et.dynamicHeight,this.contentTabIndex=Et?.contentTabIndex??null,this.preserveContent=!!Et?.preserveContent}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(je){this._dynamicHeight=(0,se.Ig)(je)}get selectedIndex(){return this._selectedIndex}set selectedIndex(je){this._indexToSelect=(0,se.su)(je,null)}get animationDuration(){return this._animationDuration}set animationDuration(je){this._animationDuration=/^\d+$/.test(je+"")?je+"ms":je}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(je){this._contentTabIndex=(0,se.su)(je,null)}get disablePagination(){return this._disablePagination}set disablePagination(je){this._disablePagination=(0,se.Ig)(je)}get preserveContent(){return this._preserveContent}set preserveContent(je){this._preserveContent=(0,se.Ig)(je)}get backgroundColor(){return this._backgroundColor}set backgroundColor(je){const Xe=this._elementRef.nativeElement.classList;Xe.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),je&&Xe.add("mat-tabs-with-background",`mat-background-${je}`),this._backgroundColor=je}ngAfterContentChecked(){const je=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=je){const Xe=null==this._selectedIndex;if(!Xe){this.selectedTabChange.emit(this._createChangeEvent(je));const Et=this._tabBodyWrapper.nativeElement;Et.style.minHeight=Et.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Et,mi)=>Et.isActive=mi===je),Xe||(this.selectedIndexChange.emit(je),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Xe,Et)=>{Xe.position=Et-je,null!=this._selectedIndex&&0==Xe.position&&!Xe.origin&&(Xe.origin=je-this._selectedIndex)}),this._selectedIndex!==je&&(this._selectedIndex=je,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const je=this._clampTabIndex(this._indexToSelect);if(je===this._selectedIndex){const Xe=this._tabs.toArray();let Et;for(let mi=0;mi<Xe.length;mi++)if(Xe[mi].isActive){this._indexToSelect=this._selectedIndex=mi,this._lastFocusedTabIndex=null,Et=Xe[mi];break}!Et&&Xe[je]&&Promise.resolve().then(()=>{Xe[je].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(je))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,Y.O)(this._allTabs)).subscribe(je=>{this._tabs.reset(je.filter(Xe=>Xe._closestTabGroup===this||!Xe._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(je){const Xe=this._tabHeader;Xe&&(Xe.focusIndex=je)}_focusChanged(je){this._lastFocusedTabIndex=je,this.focusChange.emit(this._createChangeEvent(je))}_createChangeEvent(je){const Xe=new ii;return Xe.index=je,this._tabs&&this._tabs.length&&(Xe.tab=this._tabs.toArray()[je]),Xe}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,L.T)(...this._tabs.map(je=>je._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(je){return Math.min(this._tabs.length-1,Math.max(je||0,0))}_getTabLabelId(je){return`mat-tab-label-${this._groupId}-${je}`}_getTabContentId(je){return`mat-tab-content-${this._groupId}-${je}`}_setTabBodyWrapperHeight(je){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const Xe=this._tabBodyWrapper.nativeElement;Xe.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Xe.style.height=je+"px")}_removeTabBodyWrapperHeight(){const je=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=je.clientHeight,je.style.height="",this.animationDone.emit()}_handleClick(je,Xe,Et){je.disabled||(this.selectedIndex=Xe.focusIndex=Et)}_getTabIndex(je,Xe){return je.disabled?null:Xe===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(je,Xe){je&&"mouse"!==je&&"touch"!==je&&(this._tabHeader.focusIndex=Xe)}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(we,8),e.Y36(e.QbO,8))},Qe.\u0275dir=e.lG2({type:Qe,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",preserveContent:"preserveContent",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[e.qOj]}),Qe})(),at=(()=>{class Qe extends Fe{constructor(je,Xe,Et,mi){super(je,Xe,Et,mi),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!Et||null==Et.fitInkBarToContent)&&Et.fitInkBarToContent}get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(je){this._fitInkBarToContent=(0,se.Ig)(je),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(je){this._stretchTabs=(0,se.Ig)(je)}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(we,8),e.Y36(e.QbO,8))},Qe.\u0275cmp=e.Xpm({type:Qe,selectors:[["mat-tab-group"]],contentQueries:function(je,Xe,Et){if(1&je&&e.Suo(Et,ze,5),2&je){let mi;e.iGM(mi=e.CRH())&&(Xe._allTabs=mi)}},viewQuery:function(je,Xe){if(1&je&&(e.Gf(z,5),e.Gf(W,5)),2&je){let Et;e.iGM(Et=e.CRH())&&(Xe._tabBodyWrapper=Et.first),e.iGM(Et=e.CRH())&&(Xe._tabHeader=Et.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(je,Xe){2&je&&e.ekj("mat-mdc-tab-group-dynamic-height",Xe.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Xe.headerPosition)("mat-mdc-tab-group-stretch-tabs",Xe.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[e._Bn([{provide:Ht,useExisting:Qe}]),e.qOj],decls:6,vars:6,consts:[[3,"selectedIndex","disableRipple","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(je,Xe){1&je&&(e.TgZ(0,"mat-tab-header",0,1),e.NdJ("indexFocused",function(mi){return Xe._focusChanged(mi)})("selectFocusedIndex",function(mi){return Xe.selectedIndex=mi}),e.YNc(2,ot,9,17,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.YNc(5,Ie,1,11,"mat-tab-body",5),e.qZA()),2&je&&(e.Q6J("selectedIndex",Xe.selectedIndex||0)("disableRipple",Xe.disableRipple),e.xp6(2),e.Q6J("ngForOf",Xe._tabs),e.xp6(1),e.ekj("_mat-animation-noopable","NoopAnimations"===Xe._animationMode),e.xp6(2),e.Q6J("ngForOf",Xe._tabs))},dependencies:[t.mk,t.sg,t.O5,A.Pl,g.wG,C.kH,Ae,vt,xt],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 .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.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)}.mat-mdc-tab.mdc-tab{height:48px;flex-grow:0}.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}.mat-mdc-tab .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative}.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}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.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-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab-indicator__content--underline,.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{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.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-mdc-tab-header-with-background-foreground-color, inherit)}.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{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.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}),Qe})();class ii{}let Gt=0,ei=(()=>{class Qe extends It{constructor(je,Xe,Et,mi,Li,wi,Vi){super(je,mi,Li,Xe,Et,wi,Vi),this._disableRipple=!1,this.color="primary"}get backgroundColor(){return this._backgroundColor}set backgroundColor(je){const Xe=this._elementRef.nativeElement.classList;Xe.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),je&&Xe.add("mat-tabs-with-background",`mat-background-${je}`),this._backgroundColor=je}get disableRipple(){return this._disableRipple}set disableRipple(je){this._disableRipple=(0,se.Ig)(je)}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,Y.O)(null),(0,X.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const je=this._items.toArray();for(let Xe=0;Xe<je.length;Xe++)if(je[Xe].active)return this.selectedIndex=Xe,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=je[Xe].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(e.SBq),e.Y36(u.Is,8),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(he.rL),e.Y36(E.t4),e.Y36(e.QbO,8))},Qe.\u0275dir=e.lG2({type:Qe,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[e.qOj]}),Qe})();const ht=(0,g.sb)((0,g.Kr)((0,g.Id)(class{}))),yt=ke((()=>{class Qe extends ht{constructor(je,Xe,Et,mi,Li,wi){super(),this._tabNavBar=je,this.elementRef=Xe,this._focusMonitor=Li,this._isActive=!1,this.id="mat-tab-link-"+Gt++,this.rippleConfig=Et||{},this.tabIndex=parseInt(mi)||0,"NoopAnimations"===wi&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}get active(){return this._isActive}set active(je){const Xe=(0,se.Ig)(je);Xe!==this._isActive&&(this._isActive=Xe,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(je){this._tabNavBar.tabPanel&&je.keyCode===i.L_&&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.tabIndex}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(ei),e.Y36(e.SBq),e.Y36(g.Y2,8),e.$8M("tabindex"),e.Y36(C.tE),e.Y36(e.QbO,8))},Qe.\u0275dir=e.lG2({type:Qe,inputs:{active:"active",id:"id"},features:[e.qOj]}),Qe})());let ri=(()=>{class Qe extends ei{constructor(je,Xe,Et,mi,Li,wi,Vi,qe){super(je,Xe,Et,mi,Li,wi,Vi),this._fitInkBarToContent=new Z.X(!1),this._stretchTabs=!0,this.disablePagination=!(!qe||null==qe.disablePagination)&&qe.disablePagination,this.fitInkBarToContent=!(!qe||null==qe.fitInkBarToContent)&&qe.fitInkBarToContent}get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(je){this._fitInkBarToContent.next((0,se.Ig)(je)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(je){this._stretchTabs=(0,se.Ig)(je)}ngAfterContentInit(){this._inkBar=new xe(this._items),super.ngAfterContentInit()}ngAfterViewInit(){}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(e.SBq),e.Y36(u.Is,8),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(he.rL),e.Y36(E.t4),e.Y36(e.QbO,8),e.Y36(we,8))},Qe.\u0275cmp=e.Xpm({type:Qe,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(je,Xe,Et){if(1&je&&e.Suo(Et,Ut,5),2&je){let mi;e.iGM(mi=e.CRH())&&(Xe._items=mi)}},viewQuery:function(je,Xe){if(1&je&&(e.Gf(k,7),e.Gf(v,7),e.Gf(n,7),e.Gf(b,5),e.Gf(B,5)),2&je){let Et;e.iGM(Et=e.CRH())&&(Xe._tabListContainer=Et.first),e.iGM(Et=e.CRH())&&(Xe._tabList=Et.first),e.iGM(Et=e.CRH())&&(Xe._tabListInner=Et.first),e.iGM(Et=e.CRH())&&(Xe._nextPaginator=Et.first),e.iGM(Et=e.CRH())&&(Xe._previousPaginator=Et.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(je,Xe){2&je&&(e.uIk("role",Xe._getRole()),e.ekj("mat-mdc-tab-header-pagination-controls-enabled",Xe._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Xe._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",Xe.stretchTabs)("mat-primary","warn"!==Xe.color&&"accent"!==Xe.color)("mat-accent","accent"===Xe.color)("mat-warn","warn"===Xe.color)("_mat-animation-noopable","NoopAnimations"===Xe._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabNavBar","matTabNav"],features:[e.qOj],attrs:ve,ngContentSelectors:S,decls:13,vars:8,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-link-container",3,"keydown"],["tabListContainer",""],[1,"mat-mdc-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-mdc-tab-links"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(je,Xe){1&je&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return Xe._handlePaginatorClick("before")})("mousedown",function(mi){return Xe._handlePaginatorPress("before",mi)})("touchend",function(){return Xe._stopInterval()}),e._UZ(2,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.NdJ("keydown",function(mi){return Xe._handleKeydown(mi)}),e.TgZ(5,"div",5,6),e.NdJ("cdkObserveContent",function(){return Xe._onContentChanges()}),e.TgZ(7,"div",7,8),e.Hsn(9),e.qZA()()(),e.TgZ(10,"button",9,10),e.NdJ("mousedown",function(mi){return Xe._handlePaginatorPress("after",mi)})("click",function(){return Xe._handlePaginatorClick("after")})("touchend",function(){return Xe._stopInterval()}),e._UZ(12,"div",2),e.qZA()),2&je&&(e.ekj("mat-mdc-tab-header-pagination-disabled",Xe._disableScrollBefore),e.Q6J("matRippleDisabled",Xe._disableScrollBefore||Xe.disableRipple)("disabled",Xe._disableScrollBefore||null),e.xp6(10),e.ekj("mat-mdc-tab-header-pagination-disabled",Xe._disableScrollAfter),e.Q6J("matRippleDisabled",Xe._disableScrollAfter||Xe.disableRipple)("disabled",Xe._disableScrollAfter||null))},dependencies:[g.wG,o.wD],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 .mdc-tab-indicator__content--underline{border-top-width:2px}.mdc-tab-indicator .mdc-tab-indicator__content--icon{height:34px;font-size:34px}.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}.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}.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}.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}.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-mdc-tab-header-with-background-background-color, transparent)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab .mdc-tab__text-label,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline,.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{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}.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-mdc-tab-header-with-background-foreground-color, inherit)}.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{border-color:var(--mat-mdc-tab-header-with-background-foreground-color, inherit)}"],encapsulation:2}),Qe})(),Ut=(()=>{class Qe extends yt{constructor(je,Xe,Et,mi,Li,wi){super(je,Xe,Et,mi,Li,wi),this._destroyed=new d.x,je._fitInkBarToContent.pipe((0,X.R)(this._destroyed)).subscribe(Vi=>{this.fitInkBarToContent=Vi})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}return Qe.\u0275fac=function(je){return new(je||Qe)(e.Y36(ri),e.Y36(e.SBq),e.Y36(g.Y2,8),e.$8M("tabindex"),e.Y36(C.tE),e.Y36(e.QbO,8))},Qe.\u0275cmp=e.Xpm({type:Qe,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(je,Xe){1&je&&e.NdJ("focus",function(){return Xe._handleFocus()})("keydown",function(mi){return Xe._handleKeydown(mi)}),2&je&&(e.uIk("aria-controls",Xe._getAriaControls())("aria-current",Xe._getAriaCurrent())("aria-disabled",Xe.disabled)("aria-selected",Xe._getAriaSelected())("id",Xe.id)("tabIndex",Xe._getTabIndex())("role",Xe._getRole()),e.ekj("mat-mdc-tab-disabled",Xe.disabled)("mdc-tab--active",Xe.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[e.qOj],attrs:fe,ngContentSelectors:S,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(je,Xe){1&je&&(e.F$t(),e._UZ(0,"span",0)(1,"div",1),e.TgZ(2,"span",2)(3,"span",3),e.Hsn(4),e.qZA()()),2&je&&(e.xp6(1),e.Q6J("matRippleTrigger",Xe.elementRef.nativeElement)("matRippleDisabled",Xe.rippleDisabled))},dependencies:[g.wG],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-tab-link.mdc-tab{height:48px;flex-grow:0}.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}.mat-mdc-tab-link .mdc-tab__text-label{display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative}.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}.mat-mdc-tab-link.mat-mdc-tab-disabled{pointer-events:none;opacity:.4}.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}),Qe})(),Vt=(()=>{class Qe{constructor(){this.id="mat-tab-nav-panel-"+Gt++}}return Qe.\u0275fac=function(je){return new(je||Qe)},Qe.\u0275cmp=e.Xpm({type:Qe,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(je,Xe){2&je&&e.uIk("aria-labelledby",Xe._activeTabId)("id",Xe.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:S,decls:1,vars:0,template:function(je,Xe){1&je&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),Qe})(),Ft=(()=>{class Qe{}return Qe.\u0275fac=function(je){return new(je||Qe)},Qe.\u0275mod=e.oAB({type:Qe}),Qe.\u0275inj=e.cJS({imports:[t.ez,g.BQ,A.eL,g.si,o.Q8,C.rt,g.BQ]}),Qe})()},3683:(Ge,Q,m)=>{"use strict";m.d(Q,{Ye:()=>d,g0:()=>w});var t=m(4650),e=m(3238),g=m(3353),A=m(6895);const o=["*",[["mat-toolbar-row"]]],C=["*","mat-toolbar-row"],u=(0,e.pj)(class{constructor(L){this._elementRef=L}});let O=(()=>{class L{}return L.\u0275fac=function(P){return new(P||L)},L.\u0275dir=t.lG2({type:L,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),L})(),d=(()=>{class L extends u{constructor(P,U,Z){super(P),this._platform=U,this._document=Z}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return L.\u0275fac=function(P){return new(P||L)(t.Y36(t.SBq),t.Y36(g.t4),t.Y36(A.K0))},L.\u0275cmp=t.Xpm({type:L,selectors:[["mat-toolbar"]],contentQueries:function(P,U,Z){if(1&P&&t.Suo(Z,O,5),2&P){let Y;t.iGM(Y=t.CRH())&&(U._toolbarRows=Y)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(P,U){2&P&&t.ekj("mat-toolbar-multiple-rows",U._toolbarRows.length>0)("mat-toolbar-single-row",0===U._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[t.qOj],ngContentSelectors:C,decls:2,vars:0,template:function(P,U){1&P&&(t.F$t(o),t.Hsn(0),t.Hsn(1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar .mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color: inherit;--mdc-outlined-button-label-text-color: inherit}.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}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}"],encapsulation:2,changeDetection:0}),L})(),w=(()=>{class L{}return L.\u0275fac=function(P){return new(P||L)},L.\u0275mod=t.oAB({type:L}),L.\u0275inj=t.cJS({imports:[e.BQ,e.BQ]}),L})()},266:(Ge,Q,m)=>{"use strict";m.d(Q,{AV:()=>b,gM:()=>S});var t=m(2722),e=m(5698),g=m(1281),A=m(9521),o=m(4650),C=m(6895),u=m(3353),O=m(4761),d=m(445),M=m(8184),w=m(531),L=m(4080),I=m(7579),U=(m(7340),m(3238));const Z=["tooltip"],X=new o.OlP("mat-tooltip-scroll-strategy"),ue={provide:X,deps:[M.aV],useFactory:function ee(B){return()=>B.scrollStrategies.reposition({scrollThrottle:20})}},ie=new o.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function le(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),se="tooltip-panel",he=(0,u.i$)({passive:!0});let y=(()=>{class B{constructor(W,Oe,it,Ne,ot,Ie,ve,fe,Se,te,Ke,Ae){this._overlay=W,this._elementRef=Oe,this._scrollDispatcher=it,this._viewContainerRef=Ne,this._ngZone=ot,this._platform=Ie,this._ariaDescriber=ve,this._focusMonitor=fe,this._dir=te,this._defaultOptions=Ke,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new I.x,this._scrollStrategy=Se,this._document=Ae,Ke&&(Ke.position&&(this.position=Ke.position),Ke.positionAtOrigin&&(this.positionAtOrigin=Ke.positionAtOrigin),Ke.touchGestures&&(this.touchGestures=Ke.touchGestures)),te.change.pipe((0,t.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(W){W!==this._position&&(this._position=W,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(W){this._positionAtOrigin=(0,g.Ig)(W),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(W){this._disabled=(0,g.Ig)(W),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(W){this._showDelay=(0,g.su)(W)}get hideDelay(){return this._hideDelay}set hideDelay(W){this._hideDelay=(0,g.su)(W),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(W){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=W?String(W).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(W){this._tooltipClass=W,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,t.R)(this._destroyed)).subscribe(W=>{W?"keyboard"===W&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const W=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Oe,it])=>{W.removeEventListener(Oe,it,he)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(W,this.message,"tooltip"),this._focusMonitor.stopMonitoring(W)}show(W=this.showDelay,Oe){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const it=this._createOverlay(Oe);this._detach(),this._portal=this._portal||new L.C5(this._tooltipComponent,this._viewContainerRef);const Ne=this._tooltipInstance=it.attach(this._portal).instance;Ne._triggerElement=this._elementRef.nativeElement,Ne._mouseLeaveHideDelay=this._hideDelay,Ne.afterHidden().pipe((0,t.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Ne.show(W)}hide(W=this.hideDelay){const Oe=this._tooltipInstance;Oe&&(Oe.isVisible()?Oe.hide(W):(Oe._cancelPendingAnimations(),this._detach()))}toggle(W){this._isTooltipVisible()?this.hide():this.show(void 0,W)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(W){if(this._overlayRef){const Ne=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!W)&&Ne._origin instanceof o.SBq)return this._overlayRef;this._detach()}const Oe=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),it=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&W||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Oe);return it.positionChanges.pipe((0,t.R)(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:it,panelClass:`${this._cssClassPrefix}-${se}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe((0,t.R)(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe((0,t.R)(this._destroyed)).subscribe(()=>this._tooltipInstance?._handleBodyInteraction()),this._overlayRef.keydownEvents().pipe((0,t.R)(this._destroyed)).subscribe(Ne=>{this._isTooltipVisible()&&Ne.keyCode===A.hY&&!(0,A.Vb)(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(W){const Oe=W.getConfig().positionStrategy,it=this._getOrigin(),Ne=this._getOverlayPosition();Oe.withPositions([this._addOffset({...it.main,...Ne.main}),this._addOffset({...it.fallback,...Ne.fallback})])}_addOffset(W){return W}_getOrigin(){const W=!this._dir||"ltr"==this._dir.value,Oe=this.position;let it;"above"==Oe||"below"==Oe?it={originX:"center",originY:"above"==Oe?"top":"bottom"}:"before"==Oe||"left"==Oe&&W||"right"==Oe&&!W?it={originX:"start",originY:"center"}:("after"==Oe||"right"==Oe&&W||"left"==Oe&&!W)&&(it={originX:"end",originY:"center"});const{x:Ne,y:ot}=this._invertPosition(it.originX,it.originY);return{main:it,fallback:{originX:Ne,originY:ot}}}_getOverlayPosition(){const W=!this._dir||"ltr"==this._dir.value,Oe=this.position;let it;"above"==Oe?it={overlayX:"center",overlayY:"bottom"}:"below"==Oe?it={overlayX:"center",overlayY:"top"}:"before"==Oe||"left"==Oe&&W||"right"==Oe&&!W?it={overlayX:"end",overlayY:"center"}:("after"==Oe||"right"==Oe&&W||"left"==Oe&&!W)&&(it={overlayX:"start",overlayY:"center"});const{x:Ne,y:ot}=this._invertPosition(it.overlayX,it.overlayY);return{main:it,fallback:{overlayX:Ne,overlayY:ot}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe((0,e.q)(1),(0,t.R)(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(W){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=W,this._tooltipInstance._markForCheck())}_invertPosition(W,Oe){return"above"===this.position||"below"===this.position?"top"===Oe?Oe="bottom":"bottom"===Oe&&(Oe="top"):"end"===W?W="start":"start"===W&&(W="end"),{x:W,y:Oe}}_updateCurrentPositionClass(W){const{overlayY:Oe,originX:it,originY:Ne}=W;let ot;if(ot="center"===Oe?this._dir&&"rtl"===this._dir.value?"end"===it?"left":"right":"start"===it?"left":"right":"bottom"===Oe&&"top"===Ne?"above":"below",ot!==this._currentPosition){const Ie=this._overlayRef;if(Ie){const ve=`${this._cssClassPrefix}-${se}-`;Ie.removePanelClass(ve+this._currentPosition),Ie.addPanelClass(ve+ot)}this._currentPosition=ot}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",W=>{let Oe;this._setupPointerExitEventsIfNeeded(),void 0!==W.x&&void 0!==W.y&&(Oe=W),this.show(void 0,Oe)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",W=>{const Oe=W.targetTouches?.[0],it=Oe?{x:Oe.clientX,y:Oe.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,it),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const W=[];if(this._platformSupportsMouseEvents())W.push(["mouseleave",Oe=>{const it=Oe.relatedTarget;(!it||!this._overlayRef?.overlayElement.contains(it))&&this.hide()}],["wheel",Oe=>this._wheelListener(Oe)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Oe=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};W.push(["touchend",Oe],["touchcancel",Oe])}this._addListeners(W),this._passiveListeners.push(...W)}_addListeners(W){W.forEach(([Oe,it])=>{this._elementRef.nativeElement.addEventListener(Oe,it,he)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(W){if(this._isTooltipVisible()){const Oe=this._document.elementFromPoint(W.clientX,W.clientY),it=this._elementRef.nativeElement;Oe!==it&&!it.contains(Oe)&&this.hide()}}_disableNativeGesturesIfNecessary(){const W=this.touchGestures;if("off"!==W){const Oe=this._elementRef.nativeElement,it=Oe.style;("on"===W||"INPUT"!==Oe.nodeName&&"TEXTAREA"!==Oe.nodeName)&&(it.userSelect=it.msUserSelect=it.webkitUserSelect=it.MozUserSelect="none"),("on"===W||!Oe.draggable)&&(it.webkitUserDrag="none"),it.touchAction="none",it.webkitTapHighlightColor="transparent"}}}return B.\u0275fac=function(W){o.$Z()},B.\u0275dir=o.lG2({type:B,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),B})(),S=(()=>{class B extends y{constructor(W,Oe,it,Ne,ot,Ie,ve,fe,Se,te,Ke,Ae){super(W,Oe,it,Ne,ot,Ie,ve,fe,Se,te,Ke,Ae),this._tooltipComponent=v,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(W){const it=!this._dir||"ltr"==this._dir.value;return"top"===W.originY?W.offsetY=-8:"bottom"===W.originY?W.offsetY=8:"start"===W.originX?W.offsetX=it?-8:8:"end"===W.originX&&(W.offsetX=it?8:-8),W}}return B.\u0275fac=function(W){return new(W||B)(o.Y36(M.aV),o.Y36(o.SBq),o.Y36(w.mF),o.Y36(o.s_b),o.Y36(o.R0b),o.Y36(u.t4),o.Y36(O.$s),o.Y36(O.tE),o.Y36(X),o.Y36(d.Is,8),o.Y36(ie,8),o.Y36(C.K0))},B.\u0275dir=o.lG2({type:B,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[o.qOj]}),B})(),k=(()=>{class B{constructor(W,Oe){this._changeDetectorRef=W,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new I.x,this._animationsDisabled="NoopAnimations"===Oe}show(W){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},W)}hide(W){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},W)}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:W}){(!W||!this._triggerElement.contains(W))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:W}){(W===this._showAnimation||W===this._hideAnimation)&&this._finalizeAnimation(W===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(W){W?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(W){const Oe=this._tooltip.nativeElement,it=this._showAnimation,Ne=this._hideAnimation;if(Oe.classList.remove(W?Ne:it),Oe.classList.add(W?it:Ne),this._isVisible=W,W&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const ot=getComputedStyle(Oe);("0s"===ot.getPropertyValue("animation-duration")||"none"===ot.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}W&&this._onShow(),this._animationsDisabled&&(Oe.classList.add("_mat-animation-noopable"),this._finalizeAnimation(W))}}return B.\u0275fac=function(W){return new(W||B)(o.Y36(o.sBO),o.Y36(o.QbO,8))},B.\u0275dir=o.lG2({type:B}),B})(),v=(()=>{class B extends k{constructor(W,Oe,it){super(W,it),this._elementRef=Oe,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const W=this._elementRef.nativeElement.getBoundingClientRect();return W.height>24&&W.width>=200}}return B.\u0275fac=function(W){return new(W||B)(o.Y36(o.sBO),o.Y36(o.SBq),o.Y36(o.QbO,8))},B.\u0275cmp=o.Xpm({type:B,selectors:[["mat-tooltip-component"]],viewQuery:function(W,Oe){if(1&W&&o.Gf(Z,7),2&W){let it;o.iGM(it=o.CRH())&&(Oe._tooltip=it.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(W,Oe){1&W&&o.NdJ("mouseleave",function(Ne){return Oe._handleMouseLeave(Ne)}),2&W&&o.Udp("zoom",Oe.isVisible()?1:null)},features:[o.qOj],decls:4,vars:4,consts:[[1,"mdc-tooltip","mdc-tooltip--shown","mat-mdc-tooltip",3,"ngClass","animationend"],["tooltip",""],[1,"mdc-tooltip__surface","mdc-tooltip__surface-animation"]],template:function(W,Oe){1&W&&(o.TgZ(0,"div",0,1),o.NdJ("animationend",function(Ne){return Oe._handleAnimationEnd(Ne)}),o.TgZ(2,"div",2),o._uU(3),o.qZA()()),2&W&&(o.ekj("mdc-tooltip--multiline",Oe._isMultiline),o.Q6J("ngClass",Oe.tooltipClass),o.xp6(3),o.Oqu(Oe.message))},dependencies:[C.mk],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.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{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}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.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}),B})(),b=(()=>{class B{}return B.\u0275fac=function(W){return new(W||B)},B.\u0275mod=o.oAB({type:B}),B.\u0275inj=o.cJS({providers:[ue],imports:[O.rt,C.ez,M.U8,U.BQ,U.BQ,w.ZD]}),B})()},5423:(Ge,Q,m)=>{"use strict";m.d(Q,{Ar:()=>P,GZ:()=>L,WX:()=>ue,dp:()=>j,eu:()=>Z,fQ:()=>w,gi:()=>U,uo:()=>M});var t=m(7851),e=m(4650),g=m(3238),A=m(1281),o=m(5017),C=m(1135),u=m(6451),O=m(4004);const d=(0,g.sb)((0,g.Id)(t.Hs));let M=(()=>{class le extends d{constructor(ce,se,he){super(ce,se),this.tabIndex=Number(he)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return le.\u0275fac=function(ce){return new(ce||le)(e.Y36(e.SBq),e.Y36(t._0),e.$8M("tabindex"))},le.\u0275dir=e.lG2({type:le,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["matTreeNode"],features:[e._Bn([{provide:t.Hs,useExisting:le}]),e.qOj]}),le})(),w=(()=>{class le extends t.rO{}return le.\u0275fac=function(){let ie;return function(se){return(ie||(ie=e.n5z(le)))(se||le)}}(),le.\u0275dir=e.lG2({type:le,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[e._Bn([{provide:t.rO,useExisting:le}]),e.qOj]}),le})(),L=(()=>{class le extends t.Xx{constructor(ce,se,he,E){super(ce,se,he),this._disabled=!1,this.tabIndex=Number(E)||0}get disabled(){return this._disabled}set disabled(ce){this._disabled=(0,A.Ig)(ce)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ce){this._tabIndex=ce??0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return le.\u0275fac=function(ce){return new(ce||le)(e.Y36(e.SBq),e.Y36(t._0),e.Y36(e.ZZ4),e.$8M("tabindex"))},le.\u0275dir=e.lG2({type:le,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex",node:["matNestedTreeNode","node"]},exportAs:["matNestedTreeNode"],features:[e._Bn([{provide:t.Xx,useExisting:le},{provide:t.Hs,useExisting:le},{provide:t.HI,useExisting:le}]),e.qOj]}),le})(),P=(()=>{class le{constructor(ce,se){this.viewContainer=ce,this._node=se}}return le.\u0275fac=function(ce){return new(ce||le)(e.Y36(e.s_b),e.Y36(t.HI,8))},le.\u0275dir=e.lG2({type:le,selectors:[["","matTreeNodeOutlet",""]],features:[e._Bn([{provide:t.cu,useExisting:le}])]}),le})(),U=(()=>{class le extends t._0{}return le.\u0275fac=function(){let ie;return function(se){return(ie||(ie=e.n5z(le)))(se||le)}}(),le.\u0275cmp=e.Xpm({type:le,selectors:[["mat-tree"]],viewQuery:function(ce,se){if(1&ce&&e.Gf(P,7),2&ce){let he;e.iGM(he=e.CRH())&&(se._nodeOutlet=he.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[e._Bn([{provide:t._0,useExisting:le}]),e.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(ce,se){1&ce&&e.GkF(0,0)},dependencies:[P],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2}),le})(),Z=(()=>{class le extends t.Ud{}return le.\u0275fac=function(){let ie;return function(se){return(ie||(ie=e.n5z(le)))(se||le)}}(),le.\u0275dir=e.lG2({type:le,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[e._Bn([{provide:t.Ud,useExisting:le}]),e.qOj]}),le})(),j=(()=>{class le{}return le.\u0275fac=function(ce){return new(ce||le)},le.\u0275mod=e.oAB({type:le}),le.\u0275inj=e.cJS({imports:[t.nZ,g.BQ,g.BQ]}),le})();class ue extends o.o2{constructor(){super(...arguments),this._data=new C.X([])}get data(){return this._data.value}set data(ie){this._data.next(ie)}connect(ie){return(0,u.T)(ie.viewChange,this._data).pipe((0,O.U)(()=>this.data))}disconnect(){}}},1481:(Ge,Q,m)=>{"use strict";m.d(Q,{Dx:()=>ft,H7:()=>yt,b2:()=>Ze,q6:()=>oe,se:()=>c,t6:()=>rt});var t=m(6895),e=m(4650);class g extends t.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class A extends g{static makeCurrent(){(0,t.HT)(new A)}onAndCancel(Qe,Ve,je){return Qe.addEventListener(Ve,je,!1),()=>{Qe.removeEventListener(Ve,je,!1)}}dispatchEvent(Qe,Ve){Qe.dispatchEvent(Ve)}remove(Qe){Qe.parentNode&&Qe.parentNode.removeChild(Qe)}createElement(Qe,Ve){return(Ve=Ve||this.getDefaultDocument()).createElement(Qe)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Qe){return Qe.nodeType===Node.ELEMENT_NODE}isShadowRoot(Qe){return Qe instanceof DocumentFragment}getGlobalEventTarget(Qe,Ve){return"window"===Ve?window:"document"===Ve?Qe:"body"===Ve?Qe.body:null}getBaseHref(Qe){const Ve=function C(){return o=o||document.querySelector("base"),o?o.getAttribute("href"):null}();return null==Ve?null:function O(Ft){u=u||document.createElement("a"),u.setAttribute("href",Ft);const Qe=u.pathname;return"/"===Qe.charAt(0)?Qe:`/${Qe}`}(Ve)}resetBaseElement(){o=null}getUserAgent(){return window.navigator.userAgent}getCookie(Qe){return(0,t.Mx)(document.cookie,Qe)}}let u,o=null;const d=new e.OlP("TRANSITION_ID"),w=[{provide:e.ip1,useFactory:function M(Ft,Qe,Ve){return()=>{Ve.get(e.CZH).donePromise.then(()=>{const je=(0,t.q)(),Xe=Qe.querySelectorAll(`style[ng-transition="${Ft}"]`);for(let Et=0;Et<Xe.length;Et++)je.remove(Xe[Et])})}},deps:[d,t.K0,e.zs3],multi:!0}];let I=(()=>{class Ft{build(){return new XMLHttpRequest}}return Ft.\u0275fac=function(Ve){return new(Ve||Ft)},Ft.\u0275prov=e.Yz7({token:Ft,factory:Ft.\u0275fac}),Ft})();const P=new e.OlP("EventManagerPlugins");let U=(()=>{class Ft{constructor(Ve,je){this._zone=je,this._eventNameToPlugin=new Map,Ve.forEach(Xe=>Xe.manager=this),this._plugins=Ve.slice().reverse()}addEventListener(Ve,je,Xe){return this._findPluginFor(je).addEventListener(Ve,je,Xe)}addGlobalEventListener(Ve,je,Xe){return this._findPluginFor(je).addGlobalEventListener(Ve,je,Xe)}getZone(){return this._zone}_findPluginFor(Ve){const je=this._eventNameToPlugin.get(Ve);if(je)return je;const Xe=this._plugins;for(let Et=0;Et<Xe.length;Et++){const mi=Xe[Et];if(mi.supports(Ve))return this._eventNameToPlugin.set(Ve,mi),mi}throw new Error(`No event manager plugin found for event ${Ve}`)}}return Ft.\u0275fac=function(Ve){return new(Ve||Ft)(e.LFG(P),e.LFG(e.R0b))},Ft.\u0275prov=e.Yz7({token:Ft,factory:Ft.\u0275fac}),Ft})();class Z{constructor(Qe){this._doc=Qe}addGlobalEventListener(Qe,Ve,je){const Xe=(0,t.q)().getGlobalEventTarget(this._doc,Qe);if(!Xe)throw new Error(`Unsupported event target ${Xe} for event ${Ve}`);return this.addEventListener(Xe,Ve,je)}}let Y=(()=>{class Ft{constructor(){this._stylesSet=new Set}addStyles(Ve){const je=new Set;Ve.forEach(Xe=>{this._stylesSet.has(Xe)||(this._stylesSet.add(Xe),je.add(Xe))}),this.onStylesAdded(je)}onStylesAdded(Ve){}getAllStyles(){return Array.from(this._stylesSet)}}return Ft.\u0275fac=function(Ve){return new(Ve||Ft)},Ft.\u0275prov=e.Yz7({token:Ft,factory:Ft.\u0275fac}),Ft})(),j=(()=>{class Ft extends Y{constructor(Ve){super(),this._doc=Ve,this._hostNodes=new Map,this._hostNodes.set(Ve.head,[])}_addStylesToHost(Ve,je,Xe){Ve.forEach(Et=>{const mi=this._doc.createElement("style");mi.textContent=Et,Xe.push(je.appendChild(mi))})}addHost(Ve){const je=[];this._addStylesToHost(this._stylesSet,Ve,je),this._hostNodes.set(Ve,je)}removeHost(Ve){const je=this._hostNodes.get(Ve);je&&je.forEach(X),this._hostNodes.delete(Ve)}onStylesAdded(Ve){this._hostNodes.forEach((je,Xe)=>{this._addStylesToHost(Ve,Xe,je)})}ngOnDestroy(){this._hostNodes.forEach(Ve=>Ve.forEach(X))}}return Ft.\u0275fac=function(Ve){return new(Ve||Ft)(e.LFG(t.K0))},Ft.\u0275prov=e.Yz7({token:Ft,factory:Ft.\u0275fac}),Ft})();function X(Ft){(0,t.q)().remove(Ft)}const ee={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ue=/%COMP%/g;function i(Ft,Qe){return Qe.flat(100).map(Ve=>Ve.replace(ue,Ft))}function r(Ft){return Qe=>{if("__ngUnwrap__"===Qe)return Ft;!1===Ft(Qe)&&(Qe.preventDefault(),Qe.returnValue=!1)}}let c=(()=>{class Ft{constructor(Ve,je,Xe){this.eventManager=Ve,this.sharedStylesHost=je,this.appId=Xe,this.rendererByCompId=new Map,this.defaultRenderer=new y(Ve)}createRenderer(Ve,je){if(!Ve||!je)return this.defaultRenderer;switch(je.encapsulation){case e.ifc.Emulated:{let Xe=this.rendererByCompId.get(je.id);return Xe||(Xe=new n(this.eventManager,this.sharedStylesHost,je,this.appId),this.rendererByCompId.set(je.id,Xe)),Xe.applyToHost(Ve),Xe}case 1:case e.ifc.ShadowDom:return new b(this.eventManager,this.sharedStylesHost,Ve,je);default:if(!this.rendererByCompId.has(je.id)){const Xe=i(je.id,je.styles);this.sharedStylesHost.addStyles(Xe),this.rendererByCompId.set(je.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return Ft.\u0275fac=function(Ve){return new(Ve||Ft)(e.LFG(U),e.LFG(j),e.LFG(e.AFp))},Ft.\u0275prov=e.Yz7({token:Ft,factory:Ft.\u0275fac}),Ft})();class y{constructor(Qe){this.eventManager=Qe,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Qe,Ve){return Ve?document.createElementNS(ee[Ve]||Ve,Qe):document.createElement(Qe)}createComment(Qe){return document.createComment(Qe)}createText(Qe){return document.createTextNode(Qe)}appendChild(Qe,Ve){(v(Qe)?Qe.content:Qe).appendChild(Ve)}insertBefore(Qe,Ve,je){Qe&&(v(Qe)?Qe.content:Qe).insertBefore(Ve,je)}removeChild(Qe,Ve){Qe&&Qe.removeChild(Ve)}selectRootElement(Qe,Ve){let je="string"==typeof Qe?document.querySelector(Qe):Qe;if(!je)throw new Error(`The selector "${Qe}" did not match any elements`);return Ve||(je.textContent=""),je}parentNode(Qe){return Qe.parentNode}nextSibling(Qe){return Qe.nextSibling}setAttribute(Qe,Ve,je,Xe){if(Xe){Ve=Xe+":"+Ve;const Et=ee[Xe];Et?Qe.setAttributeNS(Et,Ve,je):Qe.setAttribute(Ve,je)}else Qe.setAttribute(Ve,je)}removeAttribute(Qe,Ve,je){if(je){const Xe=ee[je];Xe?Qe.removeAttributeNS(Xe,Ve):Qe.removeAttribute(`${je}:${Ve}`)}else Qe.removeAttribute(Ve)}addClass(Qe,Ve){Qe.classList.add(Ve)}removeClass(Qe,Ve){Qe.classList.remove(Ve)}setStyle(Qe,Ve,je,Xe){Xe&(e.JOm.DashCase|e.JOm.Important)?Qe.style.setProperty(Ve,je,Xe&e.JOm.Important?"important":""):Qe.style[Ve]=je}removeStyle(Qe,Ve,je){je&e.JOm.DashCase?Qe.style.removeProperty(Ve):Qe.style[Ve]=""}setProperty(Qe,Ve,je){Qe[Ve]=je}setValue(Qe,Ve){Qe.nodeValue=Ve}listen(Qe,Ve,je){return"string"==typeof Qe?this.eventManager.addGlobalEventListener(Qe,Ve,r(je)):this.eventManager.addEventListener(Qe,Ve,r(je))}}function v(Ft){return"TEMPLATE"===Ft.tagName&&void 0!==Ft.content}class n extends y{constructor(Qe,Ve,je,Xe){super(Qe),this.component=je;const Et=i(Xe+"-"+je.id,je.styles);Ve.addStyles(Et),this.contentAttr=function he(Ft){return"_ngcontent-%COMP%".replace(ue,Ft)}(Xe+"-"+je.id),this.hostAttr=function E(Ft){return"_nghost-%COMP%".replace(ue,Ft)}(Xe+"-"+je.id)}applyToHost(Qe){super.setAttribute(Qe,this.hostAttr,"")}createElement(Qe,Ve){const je=super.createElement(Qe,Ve);return super.setAttribute(je,this.contentAttr,""),je}}class b extends y{constructor(Qe,Ve,je,Xe){super(Qe),this.sharedStylesHost=Ve,this.hostEl=je,this.shadowRoot=je.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Et=i(Xe.id,Xe.styles);for(let mi=0;mi<Et.length;mi++){const Li=document.createElement("style");Li.textContent=Et[mi],this.shadowRoot.appendChild(Li)}}nodeOrShadowRoot(Qe){return Qe===this.hostEl?this.shadowRoot:Qe}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Qe,Ve){return super.appendChild(this.nodeOrShadowRoot(Qe),Ve)}insertBefore(Qe,Ve,je){return super.insertBefore(this.nodeOrShadowRoot(Qe),Ve,je)}removeChild(Qe,Ve){return super.removeChild(this.nodeOrShadowRoot(Qe),Ve)}parentNode(Qe){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Qe)))}}let B=(()=>{class Ft extends Z{constructor(Ve){super(Ve)}supports(Ve){return!0}addEventListener(Ve,je,Xe){return Ve.addEventListener(je,Xe,!1),()=>this.removeEventListener(Ve,je,Xe)}removeEventListener(Ve,je,Xe){return Ve.removeEventListener(je,Xe)}}return Ft.\u0275fac=function(Ve){return new(Ve||Ft)(e.LFG(t.K0))},Ft.\u0275prov=e.Yz7({token:Ft,factory:Ft.\u0275fac}),Ft})();const z=["alt","control","meta","shift"],W={"\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"},Oe={alt:Ft=>Ft.altKey,control:Ft=>Ft.ctrlKey,meta:Ft=>Ft.metaKey,shift:Ft=>Ft.shiftKey};let it=(()=>{class Ft extends Z{constructor(Ve){super(Ve)}supports(Ve){return null!=Ft.parseEventName(Ve)}addEventListener(Ve,je,Xe){const Et=Ft.parseEventName(je),mi=Ft.eventCallback(Et.fullKey,Xe,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,t.q)().onAndCancel(Ve,Et.domEventName,mi))}static parseEventName(Ve){const je=Ve.toLowerCase().split("."),Xe=je.shift();if(0===je.length||"keydown"!==Xe&&"keyup"!==Xe)return null;const Et=Ft._normalizeKey(je.pop());let mi="",Li=je.indexOf("code");if(Li>-1&&(je.splice(Li,1),mi="code."),z.forEach(Vi=>{const qe=je.indexOf(Vi);qe>-1&&(je.splice(qe,1),mi+=Vi+".")}),mi+=Et,0!=je.length||0===Et.length)return null;const wi={};return wi.domEventName=Xe,wi.fullKey=mi,wi}static matchEventFullKeyCode(Ve,je){let Xe=W[Ve.key]||Ve.key,Et="";return je.indexOf("code.")>-1&&(Xe=Ve.code,Et="code."),!(null==Xe||!Xe)&&(Xe=Xe.toLowerCase()," "===Xe?Xe="space":"."===Xe&&(Xe="dot"),z.forEach(mi=>{mi!==Xe&&(0,Oe[mi])(Ve)&&(Et+=mi+".")}),Et+=Xe,Et===je)}static eventCallback(Ve,je,Xe){return Et=>{Ft.matchEventFullKeyCode(Et,Ve)&&Xe.runGuarded(()=>je(Et))}}static _normalizeKey(Ve){return"esc"===Ve?"escape":Ve}}return Ft.\u0275fac=function(Ve){return new(Ve||Ft)(e.LFG(t.K0))},Ft.\u0275prov=e.Yz7({token:Ft,factory:Ft.\u0275fac}),Ft})();const oe=(0,e.eFA)(e._c5,"browser",[{provide:e.Lbi,useValue:t.bD},{provide:e.g9A,useValue:function Se(){A.makeCurrent()},multi:!0},{provide:t.K0,useFactory:function Ke(){return(0,e.RDi)(document),document},deps:[]}]),ye=new e.OlP(""),me=[{provide:e.rWj,useClass:class L{addToWindow(Qe){e.dqk.getAngularTestability=(je,Xe=!0)=>{const Et=Qe.findTestabilityInTree(je,Xe);if(null==Et)throw new Error("Could not find testability for element.");return Et},e.dqk.getAllAngularTestabilities=()=>Qe.getAllTestabilities(),e.dqk.getAllAngularRootElements=()=>Qe.getAllRootElements(),e.dqk.frameworkStabilizers||(e.dqk.frameworkStabilizers=[]),e.dqk.frameworkStabilizers.push(je=>{const Xe=e.dqk.getAllAngularTestabilities();let Et=Xe.length,mi=!1;const Li=function(wi){mi=mi||wi,Et--,0==Et&&je(mi)};Xe.forEach(function(wi){wi.whenStable(Li)})})}findTestabilityInTree(Qe,Ve,je){return null==Ve?null:Qe.getTestability(Ve)??(je?(0,t.q)().isShadowRoot(Ve)?this.findTestabilityInTree(Qe,Ve.host,!0):this.findTestabilityInTree(Qe,Ve.parentElement,!0):null)}},deps:[]},{provide:e.lri,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]},{provide:e.dDg,useClass:e.dDg,deps:[e.R0b,e.eoX,e.rWj]}],Me=[{provide:e.zSh,useValue:"root"},{provide:e.qLn,useFactory:function te(){return new e.qLn},deps:[]},{provide:P,useClass:B,multi:!0,deps:[t.K0,e.R0b,e.Lbi]},{provide:P,useClass:it,multi:!0,deps:[t.K0]},{provide:c,useClass:c,deps:[U,j,e.AFp]},{provide:e.FYo,useExisting:c},{provide:Y,useExisting:j},{provide:j,useClass:j,deps:[t.K0]},{provide:U,useClass:U,deps:[P,e.R0b]},{provide:t.JF,useClass:I,deps:[]},[]];let Ze=(()=>{class Ft{constructor(Ve){}static withServerTransition(Ve){return{ngModule:Ft,providers:[{provide:e.AFp,useValue:Ve.appId},{provide:d,useExisting:e.AFp},w]}}}return Ft.\u0275fac=function(Ve){return new(Ve||Ft)(e.LFG(ye,12))},Ft.\u0275mod=e.oAB({type:Ft}),Ft.\u0275inj=e.cJS({providers:[...Me,...me],imports:[t.ez,e.hGG]}),Ft})(),ft=(()=>{class Ft{constructor(Ve){this._doc=Ve}getTitle(){return this._doc.title}setTitle(Ve){this._doc.title=Ve||""}}return Ft.\u0275fac=function(Ve){return new(Ve||Ft)(e.LFG(t.K0))},Ft.\u0275prov=e.Yz7({token:Ft,factory:function(Ve){let je=null;return je=Ve?new Ve:function ke(){return new ft((0,e.LFG)(t.K0))}(),je},providedIn:"root"}),Ft})();typeof window<"u"&&window;const at={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},ii=new e.OlP("HammerGestureConfig"),Gt=new e.OlP("HammerLoader");let ei=(()=>{class Ft{constructor(){this.events=[],this.overrides={}}buildHammer(Ve){const je=new Hammer(Ve,this.options);je.get("pinch").set({enable:!0}),je.get("rotate").set({enable:!0});for(const Xe in this.overrides)je.get(Xe).set(this.overrides[Xe]);return je}}return Ft.\u0275fac=function(Ve){return new(Ve||Ft)},Ft.\u0275prov=e.Yz7({token:Ft,factory:Ft.\u0275fac}),Ft})(),ht=(()=>{class Ft extends Z{constructor(Ve,je,Xe,Et){super(Ve),this._config=je,this.console=Xe,this.loader=Et,this._loaderPromise=null}supports(Ve){return!(!at.hasOwnProperty(Ve.toLowerCase())&&!this.isCustomEvent(Ve)||!window.Hammer&&!this.loader)}addEventListener(Ve,je,Xe){const Et=this.manager.getZone();if(je=je.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Et.runOutsideAngular(()=>this.loader());let mi=!1,Li=()=>{mi=!0};return Et.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?mi||(Li=this.addEventListener(Ve,je,Xe)):Li=()=>{}}).catch(()=>{Li=()=>{}})),()=>{Li()}}return Et.runOutsideAngular(()=>{const mi=this._config.buildHammer(Ve),Li=function(wi){Et.runGuarded(function(){Xe(wi)})};return mi.on(je,Li),()=>{mi.off(je,Li),"function"==typeof mi.destroy&&mi.destroy()}})}isCustomEvent(Ve){return this._config.events.indexOf(Ve)>-1}}return Ft.\u0275fac=function(Ve){return new(Ve||Ft)(e.LFG(t.K0),e.LFG(ii),e.LFG(e.c2e),e.LFG(Gt,8))},Ft.\u0275prov=e.Yz7({token:Ft,factory:Ft.\u0275fac}),Ft})(),rt=(()=>{class Ft{}return Ft.\u0275fac=function(Ve){return new(Ve||Ft)},Ft.\u0275mod=e.oAB({type:Ft}),Ft.\u0275inj=e.cJS({providers:[{provide:P,useClass:ht,multi:!0,deps:[t.K0,ii,e.c2e,[new e.FiY,Gt]]},{provide:ii,useClass:ei,deps:[]}]}),Ft})(),yt=(()=>{class Ft{}return Ft.\u0275fac=function(Ve){return new(Ve||Ft)},Ft.\u0275prov=e.Yz7({token:Ft,factory:function(Ve){let je=null;return je=Ve?new(Ve||Ft):e.LFG(Ut),je},providedIn:"root"}),Ft})(),Ut=(()=>{class Ft extends yt{constructor(Ve){super(),this._doc=Ve}sanitize(Ve,je){if(null==je)return null;switch(Ve){case e.q3G.NONE:return je;case e.q3G.HTML:return(0,e.qzn)(je,"HTML")?(0,e.z3N)(je):(0,e.EiD)(this._doc,String(je)).toString();case e.q3G.STYLE:return(0,e.qzn)(je,"Style")?(0,e.z3N)(je):je;case e.q3G.SCRIPT:if((0,e.qzn)(je,"Script"))return(0,e.z3N)(je);throw new Error("unsafe value used in a script context");case e.q3G.URL:return(0,e.qzn)(je,"URL")?(0,e.z3N)(je):(0,e.mCW)(String(je));case e.q3G.RESOURCE_URL:if((0,e.qzn)(je,"ResourceURL"))return(0,e.z3N)(je);throw new Error(`unsafe value used in a resource URL context (see ${e.JZr})`);default:throw new Error(`Unexpected SecurityContext ${Ve} (see ${e.JZr})`)}}bypassSecurityTrustHtml(Ve){return(0,e.JVY)(Ve)}bypassSecurityTrustStyle(Ve){return(0,e.L6k)(Ve)}bypassSecurityTrustScript(Ve){return(0,e.eBb)(Ve)}bypassSecurityTrustUrl(Ve){return(0,e.LAX)(Ve)}bypassSecurityTrustResourceUrl(Ve){return(0,e.pB0)(Ve)}}return Ft.\u0275fac=function(Ve){return new(Ve||Ft)(e.LFG(t.K0))},Ft.\u0275prov=e.Yz7({token:Ft,factory:function(Ve){let je=null;return je=Ve?new Ve:function ri(Ft){return new Ut(Ft.get(t.K0))}(e.LFG(e.zs3)),je},providedIn:"root"}),Ft})()},9116:(Ge,Q,m)=>{"use strict";m.d(Q,{gz:()=>Hr,gk:()=>tn,m2:()=>li,Q3:()=>dn,OD:()=>Qt,Av:()=>pr,F0:()=>va,rH:()=>lc,Od:()=>dc,Bz:()=>J2,lC:()=>pa});var t=m(4650),e=m(457),g=m(9646),A=m(1135),o=m(6805),C=m(9841),u=m(7272),O=m(9770),d=m(9635),M=m(2843),w=m(9751),L=m(515),I=m(4033),P=m(7579),U=m(6895),Z=m(4004),Y=m(3900),j=m(5698),X=m(8675),ee=m(9300),ue=m(5577),le=m(590),ie=m(4351),ce=m(8505),se=m(262),he=m(5026),E=m(4482),i=m(5403);function r(pe){return pe<=0?()=>L.E:(0,E.e)((Ce,re)=>{let Ue=[];Ce.subscribe((0,i.x)(re,dt=>{Ue.push(dt),pe<Ue.length&&Ue.shift()},()=>{for(const dt of Ue)re.next(dt);re.complete()},void 0,()=>{Ue=null}))})}var h=m(8068),c=m(6590),y=m(4671);function S(pe,Ce){const re=arguments.length>=2;return Ue=>Ue.pipe(pe?(0,ee.h)((dt,Lt)=>pe(dt,Lt,Ue)):y.y,r(1),re?(0,c.d)(Ce):(0,h.T)(()=>new o.K))}var k=m(2529),v=m(9718),n=m(8746),b=m(8343),B=m(8189),z=m(1481);const W="primary",Oe=Symbol("RouteTitle");class it{constructor(Ce){this.params=Ce||{}}has(Ce){return Object.prototype.hasOwnProperty.call(this.params,Ce)}get(Ce){if(this.has(Ce)){const re=this.params[Ce];return Array.isArray(re)?re[0]:re}return null}getAll(Ce){if(this.has(Ce)){const re=this.params[Ce];return Array.isArray(re)?re:[re]}return[]}get keys(){return Object.keys(this.params)}}function Ne(pe){return new it(pe)}function ot(pe,Ce,re){const Ue=re.path.split("/");if(Ue.length>pe.length||"full"===re.pathMatch&&(Ce.hasChildren()||Ue.length<pe.length))return null;const dt={};for(let Lt=0;Lt<Ue.length;Lt++){const Pt=Ue[Lt],ci=pe[Lt];if(Pt.startsWith(":"))dt[Pt.substring(1)]=ci;else if(Pt!==ci.path)return null}return{consumed:pe.slice(0,Ue.length),posParams:dt}}function ve(pe,Ce){const re=pe?Object.keys(pe):void 0,Ue=Ce?Object.keys(Ce):void 0;if(!re||!Ue||re.length!=Ue.length)return!1;let dt;for(let Lt=0;Lt<re.length;Lt++)if(dt=re[Lt],!fe(pe[dt],Ce[dt]))return!1;return!0}function fe(pe,Ce){if(Array.isArray(pe)&&Array.isArray(Ce)){if(pe.length!==Ce.length)return!1;const re=[...pe].sort(),Ue=[...Ce].sort();return re.every((dt,Lt)=>Ue[Lt]===dt)}return pe===Ce}function Se(pe){return Array.prototype.concat.apply([],pe)}function te(pe){return pe.length>0?pe[pe.length-1]:null}function Ae(pe,Ce){for(const re in pe)pe.hasOwnProperty(re)&&Ce(pe[re],re)}function oe(pe){return(0,t.CqO)(pe)?pe:(0,t.QGY)(pe)?(0,e.D)(Promise.resolve(pe)):(0,g.of)(pe)}const ye=!1,me={exact:function de(pe,Ce,re){if(!ne(pe.segments,Ce.segments)||!_t(pe.segments,Ce.segments,re)||pe.numberOfChildren!==Ce.numberOfChildren)return!1;for(const Ue in Ce.children)if(!pe.children[Ue]||!de(pe.children[Ue],Ce.children[Ue],re))return!1;return!0},subset:ke},Me={exact:function q(pe,Ce){return ve(pe,Ce)},subset:function xe(pe,Ce){return Object.keys(Ce).length<=Object.keys(pe).length&&Object.keys(Ce).every(re=>fe(pe[re],Ce[re]))},ignored:()=>!0};function Ze(pe,Ce,re){return me[re.paths](pe.root,Ce.root,re.matrixParams)&&Me[re.queryParams](pe.queryParams,Ce.queryParams)&&!("exact"===re.fragment&&pe.fragment!==Ce.fragment)}function ke(pe,Ce,re){return ft(pe,Ce,Ce.segments,re)}function ft(pe,Ce,re,Ue){if(pe.segments.length>re.length){const dt=pe.segments.slice(0,re.length);return!(!ne(dt,re)||Ce.hasChildren()||!_t(dt,re,Ue))}if(pe.segments.length===re.length){if(!ne(pe.segments,re)||!_t(pe.segments,re,Ue))return!1;for(const dt in Ce.children)if(!pe.children[dt]||!ke(pe.children[dt],Ce.children[dt],Ue))return!1;return!0}{const dt=re.slice(0,pe.segments.length),Lt=re.slice(pe.segments.length);return!!(ne(pe.segments,dt)&&_t(pe.segments,dt,Ue)&&pe.children[W])&&ft(pe.children[W],Ce,Lt,Ue)}}function _t(pe,Ce,re){return Ce.every((Ue,dt)=>Me[re](pe[dt].parameters,Ue.parameters))}class ct{constructor(Ce=new nt([],{}),re={},Ue=null){this.root=Ce,this.queryParams=re,this.fragment=Ue}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ne(this.queryParams)),this._queryParamMap}toString(){return wt.serialize(this)}}class nt{constructor(Ce,re){this.segments=Ce,this.children=re,this.parent=null,Ae(re,(Ue,dt)=>Ue.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Re(this)}}class Jt{constructor(Ce,re){this.path=Ce,this.parameters=re}get parameterMap(){return this._parameterMap||(this._parameterMap=Ne(this.parameters)),this._parameterMap}toString(){return be(this)}}function ne(pe,Ce){return pe.length===Ce.length&&pe.every((re,Ue)=>re.path===Ce[Ue].path)}let De=(()=>{class pe{}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:function(){return new ze},providedIn:"root"}),pe})();class ze{parse(Ce){const re=new ri(Ce);return new ct(re.parseRootSegment(),re.parseQueryParams(),re.parseFragment())}serialize(Ce){const re=`/${tt(Ce.root,!0)}`,Ue=function at(pe){const Ce=Object.keys(pe).map(re=>{const Ue=pe[re];return Array.isArray(Ue)?Ue.map(dt=>`${It(re)}=${It(dt)}`).join("&"):`${It(re)}=${It(Ue)}`}).filter(re=>!!re);return Ce.length?`?${Ce.join("&")}`:""}(Ce.queryParams);return`${re}${Ue}${"string"==typeof Ce.fragment?`#${function zt(pe){return encodeURI(pe)}(Ce.fragment)}`:""}`}}const wt=new ze;function Re(pe){return pe.segments.map(Ce=>be(Ce)).join("/")}function tt(pe,Ce){if(!pe.hasChildren())return Re(pe);if(Ce){const re=pe.children[W]?tt(pe.children[W],!1):"",Ue=[];return Ae(pe.children,(dt,Lt)=>{Lt!==W&&Ue.push(`${Lt}:${tt(dt,!1)}`)}),Ue.length>0?`${re}(${Ue.join("//")})`:re}{const re=function Ht(pe,Ce){let re=[];return Ae(pe.children,(Ue,dt)=>{dt===W&&(re=re.concat(Ce(Ue,dt)))}),Ae(pe.children,(Ue,dt)=>{dt!==W&&(re=re.concat(Ce(Ue,dt)))}),re}(pe,(Ue,dt)=>dt===W?[tt(pe.children[W],!1)]:[`${dt}:${tt(Ue,!1)}`]);return 1===Object.keys(pe.children).length&&null!=pe.children[W]?`${Re(pe)}/${re[0]}`:`${Re(pe)}/(${re.join("//")})`}}function Bt(pe){return encodeURIComponent(pe).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function It(pe){return Bt(pe).replace(/%3B/gi,";")}function xt(pe){return Bt(pe).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function we(pe){return decodeURIComponent(pe)}function J(pe){return we(pe.replace(/\+/g,"%20"))}function be(pe){return`${xt(pe.path)}${function Fe(pe){return Object.keys(pe).map(Ce=>`;${xt(Ce)}=${xt(pe[Ce])}`).join("")}(pe.parameters)}`}const ii=/^[^\/()?;=#]+/;function Gt(pe){const Ce=pe.match(ii);return Ce?Ce[0]:""}const ei=/^[^=?&#]+/,rt=/^[^&#]+/;class ri{constructor(Ce){this.url=Ce,this.remaining=Ce}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new nt([],{}):new nt([],this.parseChildren())}parseQueryParams(){const Ce={};if(this.consumeOptional("?"))do{this.parseQueryParam(Ce)}while(this.consumeOptional("&"));return Ce}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Ce=[];for(this.peekStartsWith("(")||Ce.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Ce.push(this.parseSegment());let re={};this.peekStartsWith("/(")&&(this.capture("/"),re=this.parseParens(!0));let Ue={};return this.peekStartsWith("(")&&(Ue=this.parseParens(!1)),(Ce.length>0||Object.keys(re).length>0)&&(Ue[W]=new nt(Ce,re)),Ue}parseSegment(){const Ce=Gt(this.remaining);if(""===Ce&&this.peekStartsWith(";"))throw new t.vHH(4009,ye);return this.capture(Ce),new Jt(we(Ce),this.parseMatrixParams())}parseMatrixParams(){const Ce={};for(;this.consumeOptional(";");)this.parseParam(Ce);return Ce}parseParam(Ce){const re=Gt(this.remaining);if(!re)return;this.capture(re);let Ue="";if(this.consumeOptional("=")){const dt=Gt(this.remaining);dt&&(Ue=dt,this.capture(Ue))}Ce[we(re)]=we(Ue)}parseQueryParam(Ce){const re=function ht(pe){const Ce=pe.match(ei);return Ce?Ce[0]:""}(this.remaining);if(!re)return;this.capture(re);let Ue="";if(this.consumeOptional("=")){const Pt=function yt(pe){const Ce=pe.match(rt);return Ce?Ce[0]:""}(this.remaining);Pt&&(Ue=Pt,this.capture(Ue))}const dt=J(re),Lt=J(Ue);if(Ce.hasOwnProperty(dt)){let Pt=Ce[dt];Array.isArray(Pt)||(Pt=[Pt],Ce[dt]=Pt),Pt.push(Lt)}else Ce[dt]=Lt}parseParens(Ce){const re={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Ue=Gt(this.remaining),dt=this.remaining[Ue.length];if("/"!==dt&&")"!==dt&&";"!==dt)throw new t.vHH(4010,ye);let Lt;Ue.indexOf(":")>-1?(Lt=Ue.slice(0,Ue.indexOf(":")),this.capture(Lt),this.capture(":")):Ce&&(Lt=W);const Pt=this.parseChildren();re[Lt]=1===Object.keys(Pt).length?Pt[W]:new nt([],Pt),this.consumeOptional("//")}return re}peekStartsWith(Ce){return this.remaining.startsWith(Ce)}consumeOptional(Ce){return!!this.peekStartsWith(Ce)&&(this.remaining=this.remaining.substring(Ce.length),!0)}capture(Ce){if(!this.consumeOptional(Ce))throw new t.vHH(4011,ye)}}function Ut(pe){return pe.segments.length>0?new nt([],{[W]:pe}):pe}function Vt(pe){const Ce={};for(const Ue of Object.keys(pe.children)){const Lt=Vt(pe.children[Ue]);(Lt.segments.length>0||Lt.hasChildren())&&(Ce[Ue]=Lt)}return function Ft(pe){if(1===pe.numberOfChildren&&pe.children[W]){const Ce=pe.children[W];return new nt(pe.segments.concat(Ce.segments),Ce.children)}return pe}(new nt(pe.segments,Ce))}function Qe(pe){return pe instanceof ct}function mi(pe,Ce,re,Ue,dt){if(0===re.length)return Vi(Ce.root,Ce.root,Ce.root,Ue,dt);const Lt=function ge(pe){if("string"==typeof pe[0]&&1===pe.length&&"/"===pe[0])return new Tt(!0,0,pe);let Ce=0,re=!1;const Ue=pe.reduce((dt,Lt,Pt)=>{if("object"==typeof Lt&&null!=Lt){if(Lt.outlets){const ci={};return Ae(Lt.outlets,(Di,rn)=>{ci[rn]="string"==typeof Di?Di.split("/"):Di}),[...dt,{outlets:ci}]}if(Lt.segmentPath)return[...dt,Lt.segmentPath]}return"string"!=typeof Lt?[...dt,Lt]:0===Pt?(Lt.split("/").forEach((ci,Di)=>{0==Di&&"."===ci||(0==Di&&""===ci?re=!0:".."===ci?Ce++:""!=ci&&dt.push(ci))}),dt):[...dt,Lt]},[]);return new Tt(re,Ce,Ue)}(re);return Lt.toRoot()?Vi(Ce.root,Ce.root,new nt([],{}),Ue,dt):function Pt(Di){const rn=function fi(pe,Ce,re,Ue){if(pe.isAbsolute)return new Dt(Ce.root,!0,0);if(-1===Ue)return new Dt(re,re===Ce.root,0);return function Mi(pe,Ce,re){let Ue=pe,dt=Ce,Lt=re;for(;Lt>dt;){if(Lt-=dt,Ue=Ue.parent,!Ue)throw new t.vHH(4005,!1);dt=Ue.segments.length}return new Dt(Ue,!1,dt-Lt)}(re,Ue+(Li(pe.commands[0])?0:1),pe.numberOfDoubleDots)}(Lt,Ce,pe.snapshot?._urlSegment,Di),on=rn.processChildren?Wt(rn.segmentGroup,rn.index,Lt.commands):Ui(rn.segmentGroup,rn.index,Lt.commands);return Vi(Ce.root,rn.segmentGroup,on,Ue,dt)}(pe.snapshot?._lastPathIndex)}function Li(pe){return"object"==typeof pe&&null!=pe&&!pe.outlets&&!pe.segmentPath}function wi(pe){return"object"==typeof pe&&null!=pe&&pe.outlets}function Vi(pe,Ce,re,Ue,dt){let Pt,Lt={};Ue&&Ae(Ue,(Di,rn)=>{Lt[rn]=Array.isArray(Di)?Di.map(on=>`${on}`):`${Di}`}),Pt=pe===Ce?re:qe(pe,Ce,re);const ci=Ut(Vt(Pt));return new ct(ci,Lt,dt)}function qe(pe,Ce,re){const Ue={};return Ae(pe.children,(dt,Lt)=>{Ue[Lt]=dt===Ce?re:qe(dt,Ce,re)}),new nt(pe.segments,Ue)}class Tt{constructor(Ce,re,Ue){if(this.isAbsolute=Ce,this.numberOfDoubleDots=re,this.commands=Ue,Ce&&Ue.length>0&&Li(Ue[0]))throw new t.vHH(4003,!1);const dt=Ue.find(wi);if(dt&&dt!==te(Ue))throw new t.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Dt{constructor(Ce,re,Ue){this.segmentGroup=Ce,this.processChildren=re,this.index=Ue}}function Ui(pe,Ce,re){if(pe||(pe=new nt([],{})),0===pe.segments.length&&pe.hasChildren())return Wt(pe,Ce,re);const Ue=function si(pe,Ce,re){let Ue=0,dt=Ce;const Lt={match:!1,pathIndex:0,commandIndex:0};for(;dt<pe.segments.length;){if(Ue>=re.length)return Lt;const Pt=pe.segments[dt],ci=re[Ue];if(wi(ci))break;const Di=`${ci}`,rn=Ue<re.length-1?re[Ue+1]:null;if(dt>0&&void 0===Di)break;if(Di&&rn&&"object"==typeof rn&&void 0===rn.outlets){if(!mt(Di,rn,Pt))return Lt;Ue+=2}else{if(!mt(Di,{},Pt))return Lt;Ue++}dt++}return{match:!0,pathIndex:dt,commandIndex:Ue}}(pe,Ce,re),dt=re.slice(Ue.commandIndex);if(Ue.match&&Ue.pathIndex<pe.segments.length){const Lt=new nt(pe.segments.slice(0,Ue.pathIndex),{});return Lt.children[W]=new nt(pe.segments.slice(Ue.pathIndex),pe.children),Wt(Lt,0,dt)}return Ue.match&&0===dt.length?new nt(pe.segments,{}):Ue.match&&!pe.hasChildren()?_e(pe,Ce,re):Ue.match?Wt(pe,0,dt):_e(pe,Ce,re)}function Wt(pe,Ce,re){if(0===re.length)return new nt(pe.segments,{});{const Ue=function Pi(pe){return wi(pe[0])?pe[0].outlets:{[W]:pe}}(re),dt={};return Ae(Ue,(Lt,Pt)=>{"string"==typeof Lt&&(Lt=[Lt]),null!==Lt&&(dt[Pt]=Ui(pe.children[Pt],Ce,Lt))}),Ae(pe.children,(Lt,Pt)=>{void 0===Ue[Pt]&&(dt[Pt]=Lt)}),new nt(pe.segments,dt)}}function _e(pe,Ce,re){const Ue=pe.segments.slice(0,Ce);let dt=0;for(;dt<re.length;){const Lt=re[dt];if(wi(Lt)){const Di=$e(Lt.outlets);return new nt(Ue,Di)}if(0===dt&&Li(re[0])){Ue.push(new Jt(pe.segments[Ce].path,St(re[0]))),dt++;continue}const Pt=wi(Lt)?Lt.outlets[W]:`${Lt}`,ci=dt<re.length-1?re[dt+1]:null;Pt&&ci&&Li(ci)?(Ue.push(new Jt(Pt,St(ci))),dt+=2):(Ue.push(new Jt(Pt,{})),dt++)}return new nt(Ue,{})}function $e(pe){const Ce={};return Ae(pe,(re,Ue)=>{"string"==typeof re&&(re=[re]),null!==re&&(Ce[Ue]=_e(new nt([],{}),0,re))}),Ce}function St(pe){const Ce={};return Ae(pe,(re,Ue)=>Ce[Ue]=`${re}`),Ce}function mt(pe,Ce,re){return pe==re.path&&ve(Ce,re.parameters)}class ui{constructor(Ce,re){this.id=Ce,this.url=re}}class Qt extends ui{constructor(Ce,re,Ue="imperative",dt=null){super(Ce,re),this.type=0,this.navigationTrigger=Ue,this.restoredState=dt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class li extends ui{constructor(Ce,re,Ue){super(Ce,re),this.urlAfterRedirects=Ue,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class tn extends ui{constructor(Ce,re,Ue,dt){super(Ce,re),this.reason=Ue,this.code=dt,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class dn extends ui{constructor(Ce,re,Ue,dt){super(Ce,re),this.error=Ue,this.target=dt,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Pn extends ui{constructor(Ce,re,Ue,dt){super(Ce,re),this.urlAfterRedirects=Ue,this.state=dt,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class lr extends ui{constructor(Ce,re,Ue,dt){super(Ce,re),this.urlAfterRedirects=Ue,this.state=dt,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Cn extends ui{constructor(Ce,re,Ue,dt,Lt){super(Ce,re),this.urlAfterRedirects=Ue,this.state=dt,this.shouldActivate=Lt,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Gr extends ui{constructor(Ce,re,Ue,dt){super(Ce,re),this.urlAfterRedirects=Ue,this.state=dt,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pr extends ui{constructor(Ce,re,Ue,dt){super(Ce,re),this.urlAfterRedirects=Ue,this.state=dt,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Fr{constructor(Ce){this.route=Ce,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Wr{constructor(Ce){this.route=Ce,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Ai{constructor(Ce){this.snapshot=Ce,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Ki{constructor(Ce){this.snapshot=Ce,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Zt{constructor(Ce){this.snapshot=Ce,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class vi{constructor(Ce){this.snapshot=Ce,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pi{constructor(Ce,re,Ue){this.routerEvent=Ce,this.position=re,this.anchor=Ue,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let qi=(()=>{class pe{createUrlTree(re,Ue,dt,Lt,Pt,ci){return mi(re||Ue.root,dt,Lt,Pt,ci)}}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac}),pe})(),qn=(()=>{class pe{}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:function(Ce){return qi.\u0275fac(Ce)},providedIn:"root"}),pe})();class Bn{constructor(Ce){this._root=Ce}get root(){return this._root.value}parent(Ce){const re=this.pathFromRoot(Ce);return re.length>1?re[re.length-2]:null}children(Ce){const re=ar(Ce,this._root);return re?re.children.map(Ue=>Ue.value):[]}firstChild(Ce){const re=ar(Ce,this._root);return re&&re.children.length>0?re.children[0].value:null}siblings(Ce){const re=Nn(Ce,this._root);return re.length<2?[]:re[re.length-2].children.map(dt=>dt.value).filter(dt=>dt!==Ce)}pathFromRoot(Ce){return Nn(Ce,this._root).map(re=>re.value)}}function ar(pe,Ce){if(pe===Ce.value)return Ce;for(const re of Ce.children){const Ue=ar(pe,re);if(Ue)return Ue}return null}function Nn(pe,Ce){if(pe===Ce.value)return[Ce];for(const re of Ce.children){const Ue=Nn(pe,re);if(Ue.length)return Ue.unshift(Ce),Ue}return[]}class Fn{constructor(Ce,re){this.value=Ce,this.children=re}toString(){return`TreeNode(${this.value})`}}function ma(pe){const Ce={};return pe&&pe.children.forEach(re=>Ce[re.value.outlet]=re),Ce}class ir extends Bn{constructor(Ce,re){super(Ce),this.snapshot=re,os(this,Ce)}toString(){return this.snapshot.toString()}}function ur(pe,Ce){const re=function za(pe,Ce){const Pt=new Lr([],{},{},"",{},W,Ce,null,pe.root,-1,{});return new Er("",new Fn(Pt,[]))}(pe,Ce),Ue=new A.X([new Jt("",{})]),dt=new A.X({}),Lt=new A.X({}),Pt=new A.X({}),ci=new A.X(""),Di=new Hr(Ue,dt,Pt,ci,Lt,W,Ce,re.root);return Di.snapshot=re.root,new ir(new Fn(Di,[]),re)}class Hr{constructor(Ce,re,Ue,dt,Lt,Pt,ci,Di){this.url=Ce,this.params=re,this.queryParams=Ue,this.fragment=dt,this.data=Lt,this.outlet=Pt,this.component=ci,this.title=this.data?.pipe((0,Z.U)(rn=>rn[Oe]))??(0,g.of)(void 0),this._futureSnapshot=Di}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe((0,Z.U)(Ce=>Ne(Ce)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Z.U)(Ce=>Ne(Ce)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Yr(pe,Ce="emptyOnly"){const re=pe.pathFromRoot;let Ue=0;if("always"!==Ce)for(Ue=re.length-1;Ue>=1;){const dt=re[Ue],Lt=re[Ue-1];if(dt.routeConfig&&""===dt.routeConfig.path)Ue--;else{if(Lt.component)break;Ue--}}return function dr(pe){return pe.reduce((Ce,re)=>({params:{...Ce.params,...re.params},data:{...Ce.data,...re.data},resolve:{...re.data,...Ce.resolve,...re.routeConfig?.data,...re._resolvedData}}),{params:{},data:{},resolve:{}})}(re.slice(Ue))}class Lr{constructor(Ce,re,Ue,dt,Lt,Pt,ci,Di,rn,on,kn){this.url=Ce,this.params=re,this.queryParams=Ue,this.fragment=dt,this.data=Lt,this.outlet=Pt,this.component=ci,this.routeConfig=Di,this._urlSegment=rn,this._lastPathIndex=on,this._resolve=kn}get title(){return this.data?.[Oe]}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ne(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ne(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Ue=>Ue.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Er extends Bn{constructor(Ce,re){super(re),this.url=Ce,os(this,re)}toString(){return Ca(this._root)}}function os(pe,Ce){Ce.value._routerState=pe,Ce.children.forEach(re=>os(pe,re))}function Ca(pe){const Ce=pe.children.length>0?` { ${pe.children.map(Ca).join(", ")} } `:"";return`${pe.value}${Ce}`}function Va(pe){if(pe.snapshot){const Ce=pe.snapshot,re=pe._futureSnapshot;pe.snapshot=re,ve(Ce.queryParams,re.queryParams)||pe.queryParams.next(re.queryParams),Ce.fragment!==re.fragment&&pe.fragment.next(re.fragment),ve(Ce.params,re.params)||pe.params.next(re.params),function Ie(pe,Ce){if(pe.length!==Ce.length)return!1;for(let re=0;re<pe.length;++re)if(!ve(pe[re],Ce[re]))return!1;return!0}(Ce.url,re.url)||pe.url.next(re.url),ve(Ce.data,re.data)||pe.data.next(re.data)}else pe.snapshot=pe._futureSnapshot,pe.data.next(pe._futureSnapshot.data)}function cs(pe,Ce){const re=ve(pe.params,Ce.params)&&function vt(pe,Ce){return ne(pe,Ce)&&pe.every((re,Ue)=>ve(re.parameters,Ce[Ue].parameters))}(pe.url,Ce.url);return re&&!(!pe.parent!=!Ce.parent)&&(!pe.parent||cs(pe.parent,Ce.parent))}function ls(pe,Ce,re){if(re&&pe.shouldReuseRoute(Ce.value,re.value.snapshot)){const Ue=re.value;Ue._futureSnapshot=Ce.value;const dt=function Dr(pe,Ce,re){return Ce.children.map(Ue=>{for(const dt of re.children)if(pe.shouldReuseRoute(Ue.value,dt.value.snapshot))return ls(pe,Ue,dt);return ls(pe,Ue)})}(pe,Ce,re);return new Fn(Ue,dt)}{if(pe.shouldAttach(Ce.value)){const Lt=pe.retrieve(Ce.value);if(null!==Lt){const Pt=Lt.route;return Pt.value._futureSnapshot=Ce.value,Pt.children=Ce.children.map(ci=>ls(pe,ci)),Pt}}const Ue=function xs(pe){return new Hr(new A.X(pe.url),new A.X(pe.params),new A.X(pe.queryParams),new A.X(pe.fragment),new A.X(pe.data),pe.outlet,pe.component,pe)}(Ce.value),dt=Ce.children.map(Lt=>ls(pe,Lt));return new Fn(Ue,dt)}}const qa="ngNavigationCancelingError";function Rs(pe,Ce){const{redirectTo:re,navigationBehaviorOptions:Ue}=Qe(Ce)?{redirectTo:Ce,navigationBehaviorOptions:void 0}:Ce,dt=Ns(!1,0,Ce);return dt.url=re,dt.navigationBehaviorOptions=Ue,dt}function Ns(pe,Ce,re){const Ue=new Error("NavigationCancelingError: "+(pe||""));return Ue[qa]=!0,Ue.cancellationCode=Ce,re&&(Ue.url=re),Ue}function wa(pe){return ds(pe)&&Qe(pe.url)}function ds(pe){return pe&&pe[qa]}class hs{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new ka,this.attachRef=null}}let ka=(()=>{class pe{constructor(){this.contexts=new Map}onChildOutletCreated(re,Ue){const dt=this.getOrCreateContext(re);dt.outlet=Ue,this.contexts.set(re,dt)}onChildOutletDestroyed(re){const Ue=this.getContext(re);Ue&&(Ue.outlet=null,Ue.attachRef=null)}onOutletDeactivated(){const re=this.contexts;return this.contexts=new Map,re}onOutletReAttached(re){this.contexts=re}getOrCreateContext(re){let Ue=this.getContext(re);return Ue||(Ue=new hs,this.contexts.set(re,Ue)),Ue}getContext(re){return this.contexts.get(re)||null}}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();const Oa=!1;let pa=(()=>{class pe{constructor(){this.activated=null,this._activatedRoute=null,this.name=W,this.activateEvents=new t.vpe,this.deactivateEvents=new t.vpe,this.attachEvents=new t.vpe,this.detachEvents=new t.vpe,this.parentContexts=(0,t.f3M)(ka),this.location=(0,t.f3M)(t.s_b),this.changeDetector=(0,t.f3M)(t.sBO),this.environmentInjector=(0,t.f3M)(t.lqb)}ngOnChanges(re){if(re.name){const{firstChange:Ue,previousValue:dt}=re.name;if(Ue)return;this.isTrackedInParentContexts(dt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(dt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(re){return this.parentContexts.getContext(re)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const re=this.parentContexts.getContext(this.name);re?.route&&(re.attachRef?this.attach(re.attachRef,re.route):this.activateWith(re.route,re.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new t.vHH(4012,Oa);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new t.vHH(4012,Oa);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new t.vHH(4012,Oa);this.location.detach();const re=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(re.instance),re}attach(re,Ue){this.activated=re,this._activatedRoute=Ue,this.location.insert(re.hostView),this.attachEvents.emit(re.instance)}deactivate(){if(this.activated){const re=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(re)}}activateWith(re,Ue){if(this.isActivated)throw new t.vHH(4013,Oa);this._activatedRoute=re;const dt=this.location,Pt=re.snapshot.component,ci=this.parentContexts.getOrCreateContext(this.name).children,Di=new Ja(re,ci,dt.injector);if(Ue&&function fr(pe){return!!pe.resolveComponentFactory}(Ue)){const rn=Ue.resolveComponentFactory(Pt);this.activated=dt.createComponent(rn,dt.length,Di)}else this.activated=dt.createComponent(Pt,{index:dt.length,injector:Di,environmentInjector:Ue??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275dir=t.lG2({type:pe,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.TTD]}),pe})();class Ja{constructor(Ce,re,Ue){this.route=Ce,this.childContexts=re,this.parent=Ue}get(Ce,re){return Ce===Hr?this.route:Ce===ka?this.childContexts:this.parent.get(Ce,re)}}let Vr=(()=>{class pe{}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275cmp=t.Xpm({type:pe,selectors:[["ng-component"]],standalone:!0,features:[t.jDz],decls:1,vars:0,template:function(re,Ue){1&re&&t._UZ(0,"router-outlet")},dependencies:[pa],encapsulation:2}),pe})();function ga(pe,Ce){return pe.providers&&!pe._injector&&(pe._injector=(0,t.MMx)(pe.providers,Ce,`Route: ${pe.path}`)),pe._injector??Ce}function $a(pe){const Ce=pe.children&&pe.children.map($a),re=Ce?{...pe,children:Ce}:{...pe};return!re.component&&!re.loadComponent&&(Ce||re.loadChildren)&&re.outlet&&re.outlet!==W&&(re.component=Vr),re}function $n(pe){return pe.outlet||W}function Ua(pe,Ce){const re=pe.filter(Ue=>$n(Ue)===Ce);return re.push(...pe.filter(Ue=>$n(Ue)!==Ce)),re}function sr(pe){if(!pe)return null;if(pe.routeConfig?._injector)return pe.routeConfig._injector;for(let Ce=pe.parent;Ce;Ce=Ce.parent){const re=Ce.routeConfig;if(re?._loadedInjector)return re._loadedInjector;if(re?._injector)return re._injector}return null}class Ga{constructor(Ce,re,Ue,dt){this.routeReuseStrategy=Ce,this.futureState=re,this.currState=Ue,this.forwardEvent=dt}activate(Ce){const re=this.futureState._root,Ue=this.currState?this.currState._root:null;this.deactivateChildRoutes(re,Ue,Ce),Va(this.futureState.root),this.activateChildRoutes(re,Ue,Ce)}deactivateChildRoutes(Ce,re,Ue){const dt=ma(re);Ce.children.forEach(Lt=>{const Pt=Lt.value.outlet;this.deactivateRoutes(Lt,dt[Pt],Ue),delete dt[Pt]}),Ae(dt,(Lt,Pt)=>{this.deactivateRouteAndItsChildren(Lt,Ue)})}deactivateRoutes(Ce,re,Ue){const dt=Ce.value,Lt=re?re.value:null;if(dt===Lt)if(dt.component){const Pt=Ue.getContext(dt.outlet);Pt&&this.deactivateChildRoutes(Ce,re,Pt.children)}else this.deactivateChildRoutes(Ce,re,Ue);else Lt&&this.deactivateRouteAndItsChildren(re,Ue)}deactivateRouteAndItsChildren(Ce,re){Ce.value.component&&this.routeReuseStrategy.shouldDetach(Ce.value.snapshot)?this.detachAndStoreRouteSubtree(Ce,re):this.deactivateRouteAndOutlet(Ce,re)}detachAndStoreRouteSubtree(Ce,re){const Ue=re.getContext(Ce.value.outlet),dt=Ue&&Ce.value.component?Ue.children:re,Lt=ma(Ce);for(const Pt of Object.keys(Lt))this.deactivateRouteAndItsChildren(Lt[Pt],dt);if(Ue&&Ue.outlet){const Pt=Ue.outlet.detach(),ci=Ue.children.onOutletDeactivated();this.routeReuseStrategy.store(Ce.value.snapshot,{componentRef:Pt,route:Ce,contexts:ci})}}deactivateRouteAndOutlet(Ce,re){const Ue=re.getContext(Ce.value.outlet),dt=Ue&&Ce.value.component?Ue.children:re,Lt=ma(Ce);for(const Pt of Object.keys(Lt))this.deactivateRouteAndItsChildren(Lt[Pt],dt);Ue&&Ue.outlet&&(Ue.outlet.deactivate(),Ue.children.onOutletDeactivated(),Ue.attachRef=null,Ue.resolver=null,Ue.route=null)}activateChildRoutes(Ce,re,Ue){const dt=ma(re);Ce.children.forEach(Lt=>{this.activateRoutes(Lt,dt[Lt.value.outlet],Ue),this.forwardEvent(new vi(Lt.value.snapshot))}),Ce.children.length&&this.forwardEvent(new Ki(Ce.value.snapshot))}activateRoutes(Ce,re,Ue){const dt=Ce.value,Lt=re?re.value:null;if(Va(dt),dt===Lt)if(dt.component){const Pt=Ue.getOrCreateContext(dt.outlet);this.activateChildRoutes(Ce,re,Pt.children)}else this.activateChildRoutes(Ce,re,Ue);else if(dt.component){const Pt=Ue.getOrCreateContext(dt.outlet);if(this.routeReuseStrategy.shouldAttach(dt.snapshot)){const ci=this.routeReuseStrategy.retrieve(dt.snapshot);this.routeReuseStrategy.store(dt.snapshot,null),Pt.children.onOutletReAttached(ci.contexts),Pt.attachRef=ci.componentRef,Pt.route=ci.route.value,Pt.outlet&&Pt.outlet.attach(ci.componentRef,ci.route.value),Va(ci.route.value),this.activateChildRoutes(Ce,null,Pt.children)}else{const ci=sr(dt.snapshot),Di=ci?.get(t._Vd)??null;Pt.attachRef=null,Pt.route=dt,Pt.resolver=Di,Pt.injector=ci,Pt.outlet&&Pt.outlet.activateWith(dt,Pt.injector),this.activateChildRoutes(Ce,null,Pt.children)}}else this.activateChildRoutes(Ce,null,Ue)}}class Ea{constructor(Ce){this.path=Ce,this.route=this.path[this.path.length-1]}}class hr{constructor(Ce,re){this.component=Ce,this.route=re}}function es(pe,Ce,re){const Ue=pe._root;return bt(Ue,Ce?Ce._root:null,re,[Ue.value])}function gi(pe,Ce){const re=Symbol(),Ue=Ce.get(pe,re);return Ue===re?"function"!=typeof pe||(0,t.Z0I)(pe)?Ce.get(pe):pe:Ue}function bt(pe,Ce,re,Ue,dt={canDeactivateChecks:[],canActivateChecks:[]}){const Lt=ma(Ce);return pe.children.forEach(Pt=>{(function ai(pe,Ce,re,Ue,dt={canDeactivateChecks:[],canActivateChecks:[]}){const Lt=pe.value,Pt=Ce?Ce.value:null,ci=re?re.getContext(pe.value.outlet):null;if(Pt&&Lt.routeConfig===Pt.routeConfig){const Di=function Hi(pe,Ce,re){if("function"==typeof re)return re(pe,Ce);switch(re){case"pathParamsChange":return!ne(pe.url,Ce.url);case"pathParamsOrQueryParamsChange":return!ne(pe.url,Ce.url)||!ve(pe.queryParams,Ce.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!cs(pe,Ce)||!ve(pe.queryParams,Ce.queryParams);default:return!cs(pe,Ce)}}(Pt,Lt,Lt.routeConfig.runGuardsAndResolvers);Di?dt.canActivateChecks.push(new Ea(Ue)):(Lt.data=Pt.data,Lt._resolvedData=Pt._resolvedData),bt(pe,Ce,Lt.component?ci?ci.children:null:re,Ue,dt),Di&&ci&&ci.outlet&&ci.outlet.isActivated&&dt.canDeactivateChecks.push(new hr(ci.outlet.component,Pt))}else Pt&&nn(Ce,ci,dt),dt.canActivateChecks.push(new Ea(Ue)),bt(pe,null,Lt.component?ci?ci.children:null:re,Ue,dt)})(Pt,Lt[Pt.value.outlet],re,Ue.concat([Pt.value]),dt),delete Lt[Pt.value.outlet]}),Ae(Lt,(Pt,ci)=>nn(Pt,re.getContext(ci),dt)),dt}function nn(pe,Ce,re){const Ue=ma(pe),dt=pe.value;Ae(Ue,(Lt,Pt)=>{nn(Lt,dt.component?Ce?Ce.children.getContext(Pt):null:Ce,re)}),re.canDeactivateChecks.push(new hr(dt.component&&Ce&&Ce.outlet&&Ce.outlet.isActivated?Ce.outlet.component:null,dt))}function Zn(pe){return"function"==typeof pe}function Ti(pe){return pe instanceof o.K||"EmptyError"===pe?.name}const Zi=Symbol("INITIAL_VALUE");function or(){return(0,Y.w)(pe=>(0,C.a)(pe.map(Ce=>Ce.pipe((0,j.q)(1),(0,X.O)(Zi)))).pipe((0,Z.U)(Ce=>{for(const re of Ce)if(!0!==re){if(re===Zi)return Zi;if(!1===re||re instanceof ct)return re}return!0}),(0,ee.h)(Ce=>Ce!==Zi),(0,j.q)(1)))}function ms(pe){return(0,d.z)((0,ce.b)(Ce=>{if(Qe(Ce))throw Rs(0,Ce)}),(0,Z.U)(Ce=>!0===Ce))}const io={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function jr(pe,Ce,re,Ue,dt){const Lt=In(pe,Ce,re);return Lt.matched?function to(pe,Ce,re,Ue){const dt=Ce.canMatch;if(!dt||0===dt.length)return(0,g.of)(!0);const Lt=dt.map(Pt=>{const ci=gi(Pt,pe);return oe(function et(pe){return pe&&Zn(pe.canMatch)}(ci)?ci.canMatch(Ce,re):pe.runInContext(()=>ci(Ce,re)))});return(0,g.of)(Lt).pipe(or(),ms())}(Ue=ga(Ce,Ue),Ce,re).pipe((0,Z.U)(Pt=>!0===Pt?Lt:{...io})):(0,g.of)(Lt)}function In(pe,Ce,re){if(""===Ce.path)return"full"===Ce.pathMatch&&(pe.hasChildren()||re.length>0)?{...io}:{matched:!0,consumedSegments:[],remainingSegments:re,parameters:{},positionalParamSegments:{}};const dt=(Ce.matcher||ot)(re,pe,Ce);if(!dt)return{...io};const Lt={};Ae(dt.posParams,(ci,Di)=>{Lt[Di]=ci.path});const Pt=dt.consumed.length>0?{...Lt,...dt.consumed[dt.consumed.length-1].parameters}:Lt;return{matched:!0,consumedSegments:dt.consumed,remainingSegments:re.slice(dt.consumed.length),parameters:Pt,positionalParamSegments:dt.posParams??{}}}function Ri(pe,Ce,re,Ue){if(re.length>0&&function Bi(pe,Ce,re){return re.some(Ue=>ws(pe,Ce,Ue)&&$n(Ue)!==W)}(pe,re,Ue)){const Lt=new nt(Ce,function Cs(pe,Ce,re,Ue){const dt={};dt[W]=Ue,Ue._sourceSegment=pe,Ue._segmentIndexShift=Ce.length;for(const Lt of re)if(""===Lt.path&&$n(Lt)!==W){const Pt=new nt([],{});Pt._sourceSegment=pe,Pt._segmentIndexShift=Ce.length,dt[$n(Lt)]=Pt}return dt}(pe,Ce,Ue,new nt(re,pe.children)));return Lt._sourceSegment=pe,Lt._segmentIndexShift=Ce.length,{segmentGroup:Lt,slicedSegments:[]}}if(0===re.length&&function no(pe,Ce,re){return re.some(Ue=>ws(pe,Ce,Ue))}(pe,re,Ue)){const Lt=new nt(pe.segments,function is(pe,Ce,re,Ue,dt){const Lt={};for(const Pt of Ue)if(ws(pe,re,Pt)&&!dt[$n(Pt)]){const ci=new nt([],{});ci._sourceSegment=pe,ci._segmentIndexShift=Ce.length,Lt[$n(Pt)]=ci}return{...dt,...Lt}}(pe,Ce,re,Ue,pe.children));return Lt._sourceSegment=pe,Lt._segmentIndexShift=Ce.length,{segmentGroup:Lt,slicedSegments:re}}const dt=new nt(pe.segments,pe.children);return dt._sourceSegment=pe,dt._segmentIndexShift=Ce.length,{segmentGroup:dt,slicedSegments:re}}function ws(pe,Ce,re){return(!(pe.hasChildren()||Ce.length>0)||"full"!==re.pathMatch)&&""===re.path}function ro(pe,Ce,re,Ue){return!!($n(pe)===Ue||Ue!==W&&ws(Ce,re,pe))&&("**"===pe.path||In(Ce,pe,re).matched)}function yo(pe,Ce,re){return 0===Ce.length&&!pe.children[re]}const Ys=!1;class Ms{constructor(Ce){this.segmentGroup=Ce||null}}class js{constructor(Ce){this.urlTree=Ce}}function Ks(pe){return(0,M._)(new Ms(pe))}function rc(pe){return(0,M._)(new js(pe))}class xo{constructor(Ce,re,Ue,dt,Lt){this.injector=Ce,this.configLoader=re,this.urlSerializer=Ue,this.urlTree=dt,this.config=Lt,this.allowRedirects=!0}apply(){const Ce=Ri(this.urlTree.root,[],[],this.config).segmentGroup,re=new nt(Ce.segments,Ce.children);return this.expandSegmentGroup(this.injector,this.config,re,W).pipe((0,Z.U)(Lt=>this.createUrlTree(Vt(Lt),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,se.K)(Lt=>{if(Lt instanceof js)return this.allowRedirects=!1,this.match(Lt.urlTree);throw Lt instanceof Ms?this.noMatchError(Lt):Lt}))}match(Ce){return this.expandSegmentGroup(this.injector,this.config,Ce.root,W).pipe((0,Z.U)(dt=>this.createUrlTree(Vt(dt),Ce.queryParams,Ce.fragment))).pipe((0,se.K)(dt=>{throw dt instanceof Ms?this.noMatchError(dt):dt}))}noMatchError(Ce){return new t.vHH(4002,Ys)}createUrlTree(Ce,re,Ue){const dt=Ut(Ce);return new ct(dt,re,Ue)}expandSegmentGroup(Ce,re,Ue,dt){return 0===Ue.segments.length&&Ue.hasChildren()?this.expandChildren(Ce,re,Ue).pipe((0,Z.U)(Lt=>new nt([],Lt))):this.expandSegment(Ce,Ue,re,Ue.segments,dt,!0)}expandChildren(Ce,re,Ue){const dt=[];for(const Lt of Object.keys(Ue.children))"primary"===Lt?dt.unshift(Lt):dt.push(Lt);return(0,e.D)(dt).pipe((0,ie.b)(Lt=>{const Pt=Ue.children[Lt],ci=Ua(re,Lt);return this.expandSegmentGroup(Ce,ci,Pt,Lt).pipe((0,Z.U)(Di=>({segment:Di,outlet:Lt})))}),(0,he.R)((Lt,Pt)=>(Lt[Pt.outlet]=Pt.segment,Lt),{}),S())}expandSegment(Ce,re,Ue,dt,Lt,Pt){return(0,e.D)(Ue).pipe((0,ie.b)(ci=>this.expandSegmentAgainstRoute(Ce,re,Ue,ci,dt,Lt,Pt).pipe((0,se.K)(rn=>{if(rn instanceof Ms)return(0,g.of)(null);throw rn}))),(0,le.P)(ci=>!!ci),(0,se.K)((ci,Di)=>{if(Ti(ci))return yo(re,dt,Lt)?(0,g.of)(new nt([],{})):Ks(re);throw ci}))}expandSegmentAgainstRoute(Ce,re,Ue,dt,Lt,Pt,ci){return ro(dt,re,Lt,Pt)?void 0===dt.redirectTo?this.matchSegmentAgainstRoute(Ce,re,dt,Lt,Pt):ci&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(Ce,re,Ue,dt,Lt,Pt):Ks(re):Ks(re)}expandSegmentAgainstRouteUsingRedirect(Ce,re,Ue,dt,Lt,Pt){return"**"===dt.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(Ce,Ue,dt,Pt):this.expandRegularSegmentAgainstRouteUsingRedirect(Ce,re,Ue,dt,Lt,Pt)}expandWildCardWithParamsAgainstRouteUsingRedirect(Ce,re,Ue,dt){const Lt=this.applyRedirectCommands([],Ue.redirectTo,{});return Ue.redirectTo.startsWith("/")?rc(Lt):this.lineralizeSegments(Ue,Lt).pipe((0,ue.z)(Pt=>{const ci=new nt(Pt,{});return this.expandSegment(Ce,ci,re,Pt,dt,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(Ce,re,Ue,dt,Lt,Pt){const{matched:ci,consumedSegments:Di,remainingSegments:rn,positionalParamSegments:on}=In(re,dt,Lt);if(!ci)return Ks(re);const kn=this.applyRedirectCommands(Di,dt.redirectTo,on);return dt.redirectTo.startsWith("/")?rc(kn):this.lineralizeSegments(dt,kn).pipe((0,ue.z)(Ar=>this.expandSegment(Ce,re,Ue,Ar.concat(rn),Pt,!1)))}matchSegmentAgainstRoute(Ce,re,Ue,dt,Lt){return"**"===Ue.path?(Ce=ga(Ue,Ce),Ue.loadChildren?(Ue._loadedRoutes?(0,g.of)({routes:Ue._loadedRoutes,injector:Ue._loadedInjector}):this.configLoader.loadChildren(Ce,Ue)).pipe((0,Z.U)(ci=>(Ue._loadedRoutes=ci.routes,Ue._loadedInjector=ci.injector,new nt(dt,{})))):(0,g.of)(new nt(dt,{}))):jr(re,Ue,dt,Ce).pipe((0,Y.w)(({matched:Pt,consumedSegments:ci,remainingSegments:Di})=>Pt?this.getChildConfig(Ce=Ue._injector??Ce,Ue,dt).pipe((0,ue.z)(on=>{const kn=on.injector??Ce,Ar=on.routes,{segmentGroup:_r,slicedSegments:Aa}=Ri(re,ci,Di,Ar),Wa=new nt(_r.segments,_r.children);if(0===Aa.length&&Wa.hasChildren())return this.expandChildren(kn,Ar,Wa).pipe((0,Z.U)(ll=>new nt(ci,ll)));if(0===Ar.length&&0===Aa.length)return(0,g.of)(new nt(ci,{}));const Mr=$n(Ue)===Lt;return this.expandSegment(kn,Wa,Ar,Aa,Mr?W:Lt,!0).pipe((0,Z.U)(Nc=>new nt(ci.concat(Nc.segments),Nc.children)))})):Ks(re)))}getChildConfig(Ce,re,Ue){return re.children?(0,g.of)({routes:re.children,injector:Ce}):re.loadChildren?void 0!==re._loadedRoutes?(0,g.of)({routes:re._loadedRoutes,injector:re._loadedInjector}):function Ws(pe,Ce,re,Ue){const dt=Ce.canLoad;if(void 0===dt||0===dt.length)return(0,g.of)(!0);const Lt=dt.map(Pt=>{const ci=gi(Pt,pe);return oe(function Ji(pe){return pe&&Zn(pe.canLoad)}(ci)?ci.canLoad(Ce,re):pe.runInContext(()=>ci(Ce,re)))});return(0,g.of)(Lt).pipe(or(),ms())}(Ce,re,Ue).pipe((0,ue.z)(dt=>dt?this.configLoader.loadChildren(Ce,re).pipe((0,ce.b)(Lt=>{re._loadedRoutes=Lt.routes,re._loadedInjector=Lt.injector})):function sc(pe){return(0,M._)(Ns(Ys,3))}())):(0,g.of)({routes:[],injector:Ce})}lineralizeSegments(Ce,re){let Ue=[],dt=re.root;for(;;){if(Ue=Ue.concat(dt.segments),0===dt.numberOfChildren)return(0,g.of)(Ue);if(dt.numberOfChildren>1||!dt.children[W])return(0,M._)(new t.vHH(4e3,Ys));dt=dt.children[W]}}applyRedirectCommands(Ce,re,Ue){return this.applyRedirectCreateUrlTree(re,this.urlSerializer.parse(re),Ce,Ue)}applyRedirectCreateUrlTree(Ce,re,Ue,dt){const Lt=this.createSegmentGroup(Ce,re.root,Ue,dt);return new ct(Lt,this.createQueryParams(re.queryParams,this.urlTree.queryParams),re.fragment)}createQueryParams(Ce,re){const Ue={};return Ae(Ce,(dt,Lt)=>{if("string"==typeof dt&&dt.startsWith(":")){const ci=dt.substring(1);Ue[Lt]=re[ci]}else Ue[Lt]=dt}),Ue}createSegmentGroup(Ce,re,Ue,dt){const Lt=this.createSegments(Ce,re.segments,Ue,dt);let Pt={};return Ae(re.children,(ci,Di)=>{Pt[Di]=this.createSegmentGroup(Ce,ci,Ue,dt)}),new nt(Lt,Pt)}createSegments(Ce,re,Ue,dt){return re.map(Lt=>Lt.path.startsWith(":")?this.findPosParam(Ce,Lt,dt):this.findOrReturn(Lt,Ue))}findPosParam(Ce,re,Ue){const dt=Ue[re.path.substring(1)];if(!dt)throw new t.vHH(4001,Ys);return dt}findOrReturn(Ce,re){let Ue=0;for(const dt of re){if(dt.path===Ce.path)return re.splice(Ue),dt;Ue++}return Ce}}class ns{}class Ir{constructor(Ce,re,Ue,dt,Lt,Pt,ci){this.injector=Ce,this.rootComponentType=re,this.config=Ue,this.urlTree=dt,this.url=Lt,this.paramsInheritanceStrategy=Pt,this.urlSerializer=ci}recognize(){const Ce=Ri(this.urlTree.root,[],[],this.config.filter(re=>void 0===re.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,Ce,W).pipe((0,Z.U)(re=>{if(null===re)return null;const Ue=new Lr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},W,this.rootComponentType,null,this.urlTree.root,-1,{}),dt=new Fn(Ue,re),Lt=new Er(this.url,dt);return this.inheritParamsAndData(Lt._root),Lt}))}inheritParamsAndData(Ce){const re=Ce.value,Ue=Yr(re,this.paramsInheritanceStrategy);re.params=Object.freeze(Ue.params),re.data=Object.freeze(Ue.data),Ce.children.forEach(dt=>this.inheritParamsAndData(dt))}processSegmentGroup(Ce,re,Ue,dt){return 0===Ue.segments.length&&Ue.hasChildren()?this.processChildren(Ce,re,Ue):this.processSegment(Ce,re,Ue,Ue.segments,dt)}processChildren(Ce,re,Ue){return(0,e.D)(Object.keys(Ue.children)).pipe((0,ie.b)(dt=>{const Lt=Ue.children[dt],Pt=Ua(re,dt);return this.processSegmentGroup(Ce,Pt,Lt,dt)}),(0,he.R)((dt,Lt)=>dt&&Lt?(dt.push(...Lt),dt):null),(0,k.o)(dt=>null!==dt),(0,c.d)(null),S(),(0,Z.U)(dt=>{if(null===dt)return null;const Lt=oc(dt);return function $r(pe){pe.sort((Ce,re)=>Ce.value.outlet===W?-1:re.value.outlet===W?1:Ce.value.outlet.localeCompare(re.value.outlet))}(Lt),Lt}))}processSegment(Ce,re,Ue,dt,Lt){return(0,e.D)(re).pipe((0,ie.b)(Pt=>this.processSegmentAgainstRoute(Pt._injector??Ce,Pt,Ue,dt,Lt)),(0,le.P)(Pt=>!!Pt),(0,se.K)(Pt=>{if(Ti(Pt))return yo(Ue,dt,Lt)?(0,g.of)([]):(0,g.of)(null);throw Pt}))}processSegmentAgainstRoute(Ce,re,Ue,dt,Lt){if(re.redirectTo||!ro(re,Ue,dt,Lt))return(0,g.of)(null);let Pt;if("**"===re.path){const ci=dt.length>0?te(dt).parameters:{},Di=Qi(Ue)+dt.length,rn=new Lr(dt,ci,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,gt(re),$n(re),re.component??re._loadedComponent??null,re,Yn(Ue),Di,Le(re));Pt=(0,g.of)({snapshot:rn,consumedSegments:[],remainingSegments:[]})}else Pt=jr(Ue,re,dt,Ce).pipe((0,Z.U)(({matched:ci,consumedSegments:Di,remainingSegments:rn,parameters:on})=>{if(!ci)return null;const kn=Qi(Ue)+Di.length;return{snapshot:new Lr(Di,on,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,gt(re),$n(re),re.component??re._loadedComponent??null,re,Yn(Ue),kn,Le(re)),consumedSegments:Di,remainingSegments:rn}}));return Pt.pipe((0,Y.w)(ci=>{if(null===ci)return(0,g.of)(null);const{snapshot:Di,consumedSegments:rn,remainingSegments:on}=ci;Ce=re._injector??Ce;const kn=re._loadedInjector??Ce,Ar=function mr(pe){return pe.children?pe.children:pe.loadChildren?pe._loadedRoutes:[]}(re),{segmentGroup:_r,slicedSegments:Aa}=Ri(Ue,rn,on,Ar.filter(Mr=>void 0===Mr.redirectTo));if(0===Aa.length&&_r.hasChildren())return this.processChildren(kn,Ar,_r).pipe((0,Z.U)(Mr=>null===Mr?null:[new Fn(Di,Mr)]));if(0===Ar.length&&0===Aa.length)return(0,g.of)([new Fn(Di,[])]);const Wa=$n(re)===Lt;return this.processSegment(kn,Ar,_r,Aa,Wa?W:Lt).pipe((0,Z.U)(Mr=>null===Mr?null:[new Fn(Di,Mr)]))}))}}function wo(pe){const Ce=pe.value.routeConfig;return Ce&&""===Ce.path&&void 0===Ce.redirectTo}function oc(pe){const Ce=[],re=new Set;for(const Ue of pe){if(!wo(Ue)){Ce.push(Ue);continue}const dt=Ce.find(Lt=>Ue.value.routeConfig===Lt.value.routeConfig);void 0!==dt?(dt.children.push(...Ue.children),re.add(dt)):Ce.push(Ue)}for(const Ue of re){const dt=oc(Ue.children);Ce.push(new Fn(Ue.value,dt))}return Ce.filter(Ue=>!re.has(Ue))}function Yn(pe){let Ce=pe;for(;Ce._sourceSegment;)Ce=Ce._sourceSegment;return Ce}function Qi(pe){let Ce=pe,re=Ce._segmentIndexShift??0;for(;Ce._sourceSegment;)Ce=Ce._sourceSegment,re+=Ce._segmentIndexShift??0;return re-1}function gt(pe){return pe.data||{}}function Le(pe){return pe.resolve||{}}function Je(pe){return"string"==typeof pe.title||null===pe.title}function Xt(pe){return(0,Y.w)(Ce=>{const re=pe(Ce);return re?(0,e.D)(re).pipe((0,Z.U)(()=>Ce)):(0,g.of)(Ce)})}const yi=new t.OlP("ROUTES");let Oi=(()=>{class pe{constructor(re,Ue){this.injector=re,this.compiler=Ue,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(re){if(this.componentLoaders.get(re))return this.componentLoaders.get(re);if(re._loadedComponent)return(0,g.of)(re._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(re);const Ue=oe(re.loadComponent()).pipe((0,Z.U)(sn),(0,ce.b)(Lt=>{this.onLoadEndListener&&this.onLoadEndListener(re),re._loadedComponent=Lt}),(0,n.x)(()=>{this.componentLoaders.delete(re)})),dt=new I.c(Ue,()=>new P.x).pipe((0,b.x)());return this.componentLoaders.set(re,dt),dt}loadChildren(re,Ue){if(this.childrenLoaders.get(Ue))return this.childrenLoaders.get(Ue);if(Ue._loadedRoutes)return(0,g.of)({routes:Ue._loadedRoutes,injector:Ue._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Ue);const Lt=this.loadModuleFactoryOrRoutes(Ue.loadChildren).pipe((0,Z.U)(ci=>{this.onLoadEndListener&&this.onLoadEndListener(Ue);let Di,rn,on=!1;Array.isArray(ci)?rn=ci:(Di=ci.create(re).injector,rn=Se(Di.get(yi,[],t.XFs.Self|t.XFs.Optional)));return{routes:rn.map($a),injector:Di}}),(0,n.x)(()=>{this.childrenLoaders.delete(Ue)})),Pt=new I.c(Lt,()=>new P.x).pipe((0,b.x)());return this.childrenLoaders.set(Ue,Pt),Pt}loadModuleFactoryOrRoutes(re){return oe(re()).pipe((0,Z.U)(sn),(0,ue.z)(dt=>dt instanceof t.YKP||Array.isArray(dt)?(0,g.of)(dt):(0,e.D)(this.compiler.compileModuleAsync(dt))))}}return pe.\u0275fac=function(re){return new(re||pe)(t.LFG(t.zs3),t.LFG(t.Sil))},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();function sn(pe){return function Wi(pe){return pe&&"object"==typeof pe&&"default"in pe}(pe)?pe.default:pe}let Sn=(()=>{class pe{constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new P.x,this.configLoader=(0,t.f3M)(Oi),this.environmentInjector=(0,t.f3M)(t.lqb),this.urlSerializer=(0,t.f3M)(De),this.rootContexts=(0,t.f3M)(ka),this.navigationId=0,this.configLoader.onLoadEndListener=dt=>this.events.next(new Wr(dt)),this.configLoader.onLoadStartListener=dt=>this.events.next(new Fr(dt))}get hasRequestedNavigation(){return 0!==this.navigationId}complete(){this.transitions?.complete()}handleNavigationRequest(re){const Ue=++this.navigationId;this.transitions?.next({...this.transitions.value,...re,id:Ue})}setupNavigations(re){return this.transitions=new A.X({id:0,targetPageId:0,currentUrlTree:re.currentUrlTree,currentRawUrl:re.currentUrlTree,extractedUrl:re.urlHandlingStrategy.extract(re.currentUrlTree),urlAfterRedirects:re.urlHandlingStrategy.extract(re.currentUrlTree),rawUrl:re.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:re.routerState.snapshot,targetSnapshot:null,currentRouterState:re.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ee.h)(Ue=>0!==Ue.id),(0,Z.U)(Ue=>({...Ue,extractedUrl:re.urlHandlingStrategy.extract(Ue.rawUrl)})),(0,Y.w)(Ue=>{let dt=!1,Lt=!1;return(0,g.of)(Ue).pipe((0,ce.b)(Pt=>{this.currentNavigation={id:Pt.id,initialUrl:Pt.rawUrl,extractedUrl:Pt.extractedUrl,trigger:Pt.source,extras:Pt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Y.w)(Pt=>{const ci=re.browserUrlTree.toString(),Di=!re.navigated||Pt.extractedUrl.toString()!==ci||ci!==re.currentUrlTree.toString();if(("reload"===re.onSameUrlNavigation||Di)&&re.urlHandlingStrategy.shouldProcessUrl(Pt.rawUrl))return yr(Pt.source)&&(re.browserUrlTree=Pt.extractedUrl),(0,g.of)(Pt).pipe((0,Y.w)(on=>{const kn=this.transitions?.getValue();return this.events.next(new Qt(on.id,this.urlSerializer.serialize(on.extractedUrl),on.source,on.restoredState)),kn!==this.transitions?.getValue()?L.E:Promise.resolve(on)}),function Co(pe,Ce,re,Ue){return(0,Y.w)(dt=>function Bo(pe,Ce,re,Ue,dt){return new xo(pe,Ce,re,Ue,dt).apply()}(pe,Ce,re,dt.extractedUrl,Ue).pipe((0,Z.U)(Lt=>({...dt,urlAfterRedirects:Lt}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,re.config),(0,ce.b)(on=>{this.currentNavigation={...this.currentNavigation,finalUrl:on.urlAfterRedirects},Ue.urlAfterRedirects=on.urlAfterRedirects}),function Mt(pe,Ce,re,Ue,dt){return(0,ue.z)(Lt=>function an(pe,Ce,re,Ue,dt,Lt,Pt="emptyOnly"){return new Ir(pe,Ce,re,Ue,dt,Pt,Lt).recognize().pipe((0,Y.w)(ci=>null===ci?function zs(pe){return new w.y(Ce=>Ce.error(pe))}(new ns):(0,g.of)(ci)))}(pe,Ce,re,Lt.urlAfterRedirects,Ue.serialize(Lt.urlAfterRedirects),Ue,dt).pipe((0,Z.U)(Pt=>({...Lt,targetSnapshot:Pt}))))}(this.environmentInjector,re.rootComponentType,re.config,this.urlSerializer,re.paramsInheritanceStrategy),(0,ce.b)(on=>{if(Ue.targetSnapshot=on.targetSnapshot,"eager"===re.urlUpdateStrategy){if(!on.extras.skipLocationChange){const Ar=re.urlHandlingStrategy.merge(on.urlAfterRedirects,on.rawUrl);re.setBrowserUrl(Ar,on)}re.browserUrlTree=on.urlAfterRedirects}const kn=new Pn(on.id,this.urlSerializer.serialize(on.extractedUrl),this.urlSerializer.serialize(on.urlAfterRedirects),on.targetSnapshot);this.events.next(kn)}));if(Di&&re.rawUrlTree&&re.urlHandlingStrategy.shouldProcessUrl(re.rawUrlTree)){const{id:kn,extractedUrl:Ar,source:_r,restoredState:Aa,extras:Wa}=Pt,Mr=new Qt(kn,this.urlSerializer.serialize(Ar),_r,Aa);this.events.next(Mr);const sa=ur(Ar,re.rootComponentType).snapshot;return Ue={...Pt,targetSnapshot:sa,urlAfterRedirects:Ar,extras:{...Wa,skipLocationChange:!1,replaceUrl:!1}},(0,g.of)(Ue)}return re.rawUrlTree=Pt.rawUrl,Pt.resolve(null),L.E}),(0,ce.b)(Pt=>{const ci=new lr(Pt.id,this.urlSerializer.serialize(Pt.extractedUrl),this.urlSerializer.serialize(Pt.urlAfterRedirects),Pt.targetSnapshot);this.events.next(ci)}),(0,Z.U)(Pt=>Ue={...Pt,guards:es(Pt.targetSnapshot,Pt.currentSnapshot,this.rootContexts)}),function Ni(pe,Ce){return(0,ue.z)(re=>{const{targetSnapshot:Ue,currentSnapshot:dt,guards:{canActivateChecks:Lt,canDeactivateChecks:Pt}}=re;return 0===Pt.length&&0===Lt.length?(0,g.of)({...re,guardsResult:!0}):function Un(pe,Ce,re,Ue){return(0,e.D)(pe).pipe((0,ue.z)(dt=>function Ta(pe,Ce,re,Ue,dt){const Lt=Ce&&Ce.routeConfig?Ce.routeConfig.canDeactivate:null;if(!Lt||0===Lt.length)return(0,g.of)(!0);const Pt=Lt.map(ci=>{const Di=sr(Ce)??dt,rn=gi(ci,Di);return oe(function st(pe){return pe&&Zn(pe.canDeactivate)}(rn)?rn.canDeactivate(pe,Ce,re,Ue):Di.runInContext(()=>rn(pe,Ce,re,Ue))).pipe((0,le.P)())});return(0,g.of)(Pt).pipe(or())}(dt.component,dt.route,re,Ce,Ue)),(0,le.P)(dt=>!0!==dt,!0))}(Pt,Ue,dt,pe).pipe((0,ue.z)(ci=>ci&&function br(pe){return"boolean"==typeof pe}(ci)?function Fs(pe,Ce,re,Ue){return(0,e.D)(Ce).pipe((0,ie.b)(dt=>(0,u.z)(function Br(pe,Ce){return null!==pe&&Ce&&Ce(new Ai(pe)),(0,g.of)(!0)}(dt.route.parent,Ue),function Vo(pe,Ce){return null!==pe&&Ce&&Ce(new Zt(pe)),(0,g.of)(!0)}(dt.route,Ue),function ts(pe,Ce,re){const Ue=Ce[Ce.length-1],Lt=Ce.slice(0,Ce.length-1).reverse().map(Pt=>function Rt(pe){const Ce=pe.routeConfig?pe.routeConfig.canActivateChild:null;return Ce&&0!==Ce.length?{node:pe,guards:Ce}:null}(Pt)).filter(Pt=>null!==Pt).map(Pt=>(0,O.P)(()=>{const ci=Pt.guards.map(Di=>{const rn=sr(Pt.node)??re,on=gi(Di,rn);return oe(function Xr(pe){return pe&&Zn(pe.canActivateChild)}(on)?on.canActivateChild(Ue,pe):rn.runInContext(()=>on(Ue,pe))).pipe((0,le.P)())});return(0,g.of)(ci).pipe(or())}));return(0,g.of)(Lt).pipe(or())}(pe,dt.path,re),function Hs(pe,Ce,re){const Ue=Ce.routeConfig?Ce.routeConfig.canActivate:null;if(!Ue||0===Ue.length)return(0,g.of)(!0);const dt=Ue.map(Lt=>(0,O.P)(()=>{const Pt=sr(Ce)??re,ci=gi(Lt,Pt);return oe(function Mn(pe){return pe&&Zn(pe.canActivate)}(ci)?ci.canActivate(Ce,pe):Pt.runInContext(()=>ci(Ce,pe))).pipe((0,le.P)())}));return(0,g.of)(dt).pipe(or())}(pe,dt.route,re))),(0,le.P)(dt=>!0!==dt,!0))}(Ue,Lt,pe,Ce):(0,g.of)(ci)),(0,Z.U)(ci=>({...re,guardsResult:ci})))})}(this.environmentInjector,Pt=>this.events.next(Pt)),(0,ce.b)(Pt=>{if(Ue.guardsResult=Pt.guardsResult,Qe(Pt.guardsResult))throw Rs(0,Pt.guardsResult);const ci=new Cn(Pt.id,this.urlSerializer.serialize(Pt.extractedUrl),this.urlSerializer.serialize(Pt.urlAfterRedirects),Pt.targetSnapshot,!!Pt.guardsResult);this.events.next(ci)}),(0,ee.h)(Pt=>!!Pt.guardsResult||(re.restoreHistory(Pt),this.cancelNavigationTransition(Pt,"",3,re),!1)),Xt(Pt=>{if(Pt.guards.canActivateChecks.length)return(0,g.of)(Pt).pipe((0,ce.b)(ci=>{const Di=new Gr(ci.id,this.urlSerializer.serialize(ci.extractedUrl),this.urlSerializer.serialize(ci.urlAfterRedirects),ci.targetSnapshot);this.events.next(Di)}),(0,Y.w)(ci=>{let Di=!1;return(0,g.of)(ci).pipe(function ni(pe,Ce){return(0,ue.z)(re=>{const{targetSnapshot:Ue,guards:{canActivateChecks:dt}}=re;if(!dt.length)return(0,g.of)(re);let Lt=0;return(0,e.D)(dt).pipe((0,ie.b)(Pt=>function He(pe,Ce,re,Ue){const dt=pe.routeConfig,Lt=pe._resolve;return void 0!==dt?.title&&!Je(dt)&&(Lt[Oe]=dt.title),function ut(pe,Ce,re,Ue){const dt=function Ct(pe){return[...Object.keys(pe),...Object.getOwnPropertySymbols(pe)]}(pe);if(0===dt.length)return(0,g.of)({});const Lt={};return(0,e.D)(dt).pipe((0,ue.z)(Pt=>function Nt(pe,Ce,re,Ue){const dt=sr(Ce)??Ue,Lt=gi(pe,dt);return oe(Lt.resolve?Lt.resolve(Ce,re):dt.runInContext(()=>Lt(Ce,re)))}(pe[Pt],Ce,re,Ue).pipe((0,le.P)(),(0,ce.b)(ci=>{Lt[Pt]=ci}))),r(1),(0,v.h)(Lt),(0,se.K)(Pt=>Ti(Pt)?L.E:(0,M._)(Pt)))}(Lt,pe,Ce,Ue).pipe((0,Z.U)(Pt=>(pe._resolvedData=Pt,pe.data=Yr(pe,re).resolve,dt&&Je(dt)&&(pe.data[Oe]=dt.title),null)))}(Pt.route,Ue,pe,Ce)),(0,ce.b)(()=>Lt++),r(1),(0,ue.z)(Pt=>Lt===dt.length?(0,g.of)(re):L.E))})}(re.paramsInheritanceStrategy,this.environmentInjector),(0,ce.b)({next:()=>Di=!0,complete:()=>{Di||(re.restoreHistory(ci),this.cancelNavigationTransition(ci,"",2,re))}}))}),(0,ce.b)(ci=>{const Di=new pr(ci.id,this.urlSerializer.serialize(ci.extractedUrl),this.urlSerializer.serialize(ci.urlAfterRedirects),ci.targetSnapshot);this.events.next(Di)}))}),Xt(Pt=>{const ci=Di=>{const rn=[];Di.routeConfig?.loadComponent&&!Di.routeConfig._loadedComponent&&rn.push(this.configLoader.loadComponent(Di.routeConfig).pipe((0,ce.b)(on=>{Di.component=on}),(0,Z.U)(()=>{})));for(const on of Di.children)rn.push(...ci(on));return rn};return(0,C.a)(ci(Pt.targetSnapshot.root)).pipe((0,c.d)(),(0,j.q)(1))}),Xt(()=>re.afterPreactivation()),(0,Z.U)(Pt=>{const ci=function zr(pe,Ce,re){const Ue=ls(pe,Ce._root,re?re._root:void 0);return new ir(Ue,Ce)}(re.routeReuseStrategy,Pt.targetSnapshot,Pt.currentRouterState);return Ue={...Pt,targetRouterState:ci}}),(0,ce.b)(Pt=>{re.currentUrlTree=Pt.urlAfterRedirects,re.rawUrlTree=re.urlHandlingStrategy.merge(Pt.urlAfterRedirects,Pt.rawUrl),re.routerState=Pt.targetRouterState,"deferred"===re.urlUpdateStrategy&&(Pt.extras.skipLocationChange||re.setBrowserUrl(re.rawUrlTree,Pt),re.browserUrlTree=Pt.urlAfterRedirects)}),((pe,Ce,re)=>(0,Z.U)(Ue=>(new Ga(Ce,Ue.targetRouterState,Ue.currentRouterState,re).activate(pe),Ue)))(this.rootContexts,re.routeReuseStrategy,Pt=>this.events.next(Pt)),(0,ce.b)({next:Pt=>{dt=!0,this.lastSuccessfulNavigation=this.currentNavigation,re.navigated=!0,this.events.next(new li(Pt.id,this.urlSerializer.serialize(Pt.extractedUrl),this.urlSerializer.serialize(re.currentUrlTree))),re.titleStrategy?.updateTitle(Pt.targetRouterState.snapshot),Pt.resolve(!0)},complete:()=>{dt=!0}}),(0,n.x)(()=>{dt||Lt||this.cancelNavigationTransition(Ue,"",1,re),this.currentNavigation?.id===Ue.id&&(this.currentNavigation=null)}),(0,se.K)(Pt=>{if(Lt=!0,ds(Pt)){wa(Pt)||(re.navigated=!0,re.restoreHistory(Ue,!0));const ci=new tn(Ue.id,this.urlSerializer.serialize(Ue.extractedUrl),Pt.message,Pt.cancellationCode);if(this.events.next(ci),wa(Pt)){const Di=re.urlHandlingStrategy.merge(Pt.url,re.rawUrlTree),rn={skipLocationChange:Ue.extras.skipLocationChange,replaceUrl:"eager"===re.urlUpdateStrategy||yr(Ue.source)};re.scheduleNavigation(Di,"imperative",null,rn,{resolve:Ue.resolve,reject:Ue.reject,promise:Ue.promise})}else Ue.resolve(!1)}else{re.restoreHistory(Ue,!0);const ci=new dn(Ue.id,this.urlSerializer.serialize(Ue.extractedUrl),Pt,Ue.targetSnapshot??void 0);this.events.next(ci);try{Ue.resolve(re.errorHandler(Pt))}catch(Di){Ue.reject(Di)}}return L.E}))}))}cancelNavigationTransition(re,Ue,dt,Lt){const Pt=new tn(re.id,this.urlSerializer.serialize(re.extractedUrl),Ue,dt);this.events.next(Pt),re.resolve(!1)}}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();function yr(pe){return"imperative"!==pe}let kr=(()=>{class pe{buildTitle(re){let Ue,dt=re.root;for(;void 0!==dt;)Ue=this.getResolvedTitleForRoute(dt)??Ue,dt=dt.children.find(Lt=>Lt.outlet===W);return Ue}getResolvedTitleForRoute(re){return re.data[Oe]}}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:function(){return(0,t.f3M)(ra)},providedIn:"root"}),pe})(),ra=(()=>{class pe extends kr{constructor(re){super(),this.title=re}updateTitle(re){const Ue=this.buildTitle(re);void 0!==Ue&&this.title.setTitle(Ue)}}return pe.\u0275fac=function(re){return new(re||pe)(t.LFG(z.Dx))},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})(),ea=(()=>{class pe{}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:function(){return(0,t.f3M)(Tr)},providedIn:"root"}),pe})();class Or{shouldDetach(Ce){return!1}store(Ce,re){}shouldAttach(Ce){return!1}retrieve(Ce){return null}shouldReuseRoute(Ce,re){return Ce.routeConfig===re.routeConfig}}let Tr=(()=>{class pe extends Or{}return pe.\u0275fac=function(){let Ce;return function(Ue){return(Ce||(Ce=t.n5z(pe)))(Ue||pe)}}(),pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();const gr=new t.OlP("",{providedIn:"root",factory:()=>({})});let rs=(()=>{class pe{}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:function(){return(0,t.f3M)(aa)},providedIn:"root"}),pe})(),aa=(()=>{class pe{shouldProcessUrl(re){return!0}extract(re){return re}merge(re,Ue){return re}}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();function ps(pe){throw pe}function nl(pe,Ce,re){return Ce.parse("/")}const Vs={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Fl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let va=(()=>{class pe{constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,t.f3M)(t.c2e),this.isNgZoneEnabled=!1,this.options=(0,t.f3M)(gr,{optional:!0})||{},this.errorHandler=this.options.errorHandler||ps,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||nl,this.navigated=!1,this.lastSuccessfulId=-1,this.afterPreactivation=()=>(0,g.of)(void 0),this.urlHandlingStrategy=(0,t.f3M)(rs),this.routeReuseStrategy=(0,t.f3M)(ea),this.urlCreationStrategy=(0,t.f3M)(qn),this.titleStrategy=(0,t.f3M)(kr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.config=Se((0,t.f3M)(yi,{optional:!0})??[]),this.navigationTransitions=(0,t.f3M)(Sn),this.urlSerializer=(0,t.f3M)(De),this.location=(0,t.f3M)(U.Ye),this.rootComponentType=null,this.isNgZoneEnabled=(0,t.f3M)(t.R0b)instanceof t.R0b&&t.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new ct,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=ur(this.currentUrlTree,this.rootComponentType),this.navigationTransitions.setupNavigations(this).subscribe(re=>{this.lastSuccessfulId=re.id,this.currentPageId=re.targetPageId},re=>{this.console.warn(`Unhandled Navigation Error: ${re}`)})}get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}resetRootComponentType(re){this.rootComponentType=re,this.routerState.root.component=this.rootComponentType}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(re=>{const Ue="popstate"===re.type?"popstate":"hashchange";"popstate"===Ue&&setTimeout(()=>{const dt={replaceUrl:!0},Lt=re.state?.navigationId?re.state:null;if(re.state){const ci={...re.state};delete ci.navigationId,delete ci.\u0275routerPageId,0!==Object.keys(ci).length&&(dt.state=ci)}const Pt=this.parseUrl(re.url);this.scheduleNavigation(Pt,Ue,Lt,dt)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(re){this.config=re.map($a),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(re,Ue={}){const{relativeTo:dt,queryParams:Lt,fragment:Pt,queryParamsHandling:ci,preserveFragment:Di}=Ue,rn=Di?this.currentUrlTree.fragment:Pt;let on=null;switch(ci){case"merge":on={...this.currentUrlTree.queryParams,...Lt};break;case"preserve":on=this.currentUrlTree.queryParams;break;default:on=Lt||null}return null!==on&&(on=this.removeEmptyProps(on)),this.urlCreationStrategy.createUrlTree(dt,this.routerState,this.currentUrlTree,re,on,rn??null)}navigateByUrl(re,Ue={skipLocationChange:!1}){const dt=Qe(re)?re:this.parseUrl(re),Lt=this.urlHandlingStrategy.merge(dt,this.rawUrlTree);return this.scheduleNavigation(Lt,"imperative",null,Ue)}navigate(re,Ue={skipLocationChange:!1}){return function rl(pe){for(let Ce=0;Ce<pe.length;Ce++){if(null==pe[Ce])throw new t.vHH(4008,!1)}}(re),this.navigateByUrl(this.createUrlTree(re,Ue),Ue)}serializeUrl(re){return this.urlSerializer.serialize(re)}parseUrl(re){let Ue;try{Ue=this.urlSerializer.parse(re)}catch(dt){Ue=this.malformedUriErrorHandler(dt,this.urlSerializer,re)}return Ue}isActive(re,Ue){let dt;if(dt=!0===Ue?{...Vs}:!1===Ue?{...Fl}:Ue,Qe(re))return Ze(this.currentUrlTree,re,dt);const Lt=this.parseUrl(re);return Ze(this.currentUrlTree,Lt,dt)}removeEmptyProps(re){return Object.keys(re).reduce((Ue,dt)=>{const Lt=re[dt];return null!=Lt&&(Ue[dt]=Lt),Ue},{})}scheduleNavigation(re,Ue,dt,Lt,Pt){if(this.disposed)return Promise.resolve(!1);let ci,Di,rn,on;return Pt?(ci=Pt.resolve,Di=Pt.reject,rn=Pt.promise):rn=new Promise((kn,Ar)=>{ci=kn,Di=Ar}),"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(dt=this.location.getState()),on=dt&&dt.\u0275routerPageId?dt.\u0275routerPageId:Lt.replaceUrl||Lt.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1):on=0,this.navigationTransitions.handleNavigationRequest({targetPageId:on,source:Ue,restoredState:dt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:re,extras:Lt,resolve:ci,reject:Di,promise:rn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),rn.catch(kn=>Promise.reject(kn))}setBrowserUrl(re,Ue){const dt=this.urlSerializer.serialize(re),Lt={...Ue.extras.state,...this.generateNgRouterState(Ue.id,Ue.targetPageId)};this.location.isCurrentPathEqualTo(dt)||Ue.extras.replaceUrl?this.location.replaceState(dt,"",Lt):this.location.go(dt,"",Lt)}restoreHistory(re,Ue=!1){if("computed"===this.canceledNavigationResolution){const dt=this.currentPageId-re.targetPageId;"popstate"!==re.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===dt?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===dt&&(this.resetState(re),this.browserUrlTree=re.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(dt)}else"replace"===this.canceledNavigationResolution&&(Ue&&this.resetState(re),this.resetUrlToCurrentUrlTree())}resetState(re){this.routerState=re.currentRouterState,this.currentUrlTree=re.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,re.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(re,Ue){return"computed"===this.canceledNavigationResolution?{navigationId:re,\u0275routerPageId:Ue}:{navigationId:re}}}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})(),lc=(()=>{class pe{constructor(re,Ue,dt,Lt,Pt,ci){this.router=re,this.route=Ue,this.tabIndexAttribute=dt,this.renderer=Lt,this.el=Pt,this.locationStrategy=ci,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new P.x;const Di=Pt.nativeElement.tagName;this.isAnchorElement="A"===Di||"AREA"===Di,this.isAnchorElement?this.subscription=re.events.subscribe(rn=>{rn instanceof li&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(re){this._preserveFragment=(0,t.D6c)(re)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(re){this._skipLocationChange=(0,t.D6c)(re)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(re){this._replaceUrl=(0,t.D6c)(re)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(re){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",re)}ngOnChanges(re){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(re){null!=re?(this.commands=Array.isArray(re)?re:[re],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(re,Ue,dt,Lt,Pt){return!!(null===this.urlTree||this.isAnchorElement&&(0!==re||Ue||dt||Lt||Pt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const re=null===this.href?null:(0,t.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",re)}applyAttributeValue(re,Ue){const dt=this.renderer,Lt=this.el.nativeElement;null!==Ue?dt.setAttribute(Lt,re,Ue):dt.removeAttribute(Lt,re)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return pe.\u0275fac=function(re){return new(re||pe)(t.Y36(va),t.Y36(Hr),t.$8M("tabindex"),t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(U.S$))},pe.\u0275dir=t.lG2({type:pe,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(re,Ue){1&re&&t.NdJ("click",function(Lt){return Ue.onClick(Lt.button,Lt.ctrlKey,Lt.shiftKey,Lt.altKey,Lt.metaKey)}),2&re&&t.uIk("target",Ue.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[t.TTD]}),pe})(),dc=(()=>{class pe{constructor(re,Ue,dt,Lt,Pt){this.router=re,this.element=Ue,this.renderer=dt,this.cdr=Lt,this.link=Pt,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new t.vpe,this.routerEventsSubscription=re.events.subscribe(ci=>{ci instanceof li&&this.update()})}ngAfterContentInit(){(0,g.of)(this.links.changes,(0,g.of)(null)).pipe((0,B.J)()).subscribe(re=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const re=[...this.links.toArray(),this.link].filter(Ue=>!!Ue).map(Ue=>Ue.onChanges);this.linkInputChangesSubscription=(0,e.D)(re).pipe((0,B.J)()).subscribe(Ue=>{this.isActive!==this.isLinkActive(this.router)(Ue)&&this.update()})}set routerLinkActive(re){const Ue=Array.isArray(re)?re:re.split(" ");this.classes=Ue.filter(dt=>!!dt)}ngOnChanges(re){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const re=this.hasActiveLinks();this.isActive!==re&&(this.isActive=re,this.cdr.markForCheck(),this.classes.forEach(Ue=>{re?this.renderer.addClass(this.element.nativeElement,Ue):this.renderer.removeClass(this.element.nativeElement,Ue)}),re&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(re))})}isLinkActive(re){const Ue=function al(pe){return!!pe.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return dt=>!!dt.urlTree&&re.isActive(dt.urlTree,Ue)}hasActiveLinks(){const re=this.isLinkActive(this.router);return this.link&&re(this.link)||this.links.some(re)}}return pe.\u0275fac=function(re){return new(re||pe)(t.Y36(va),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(lc,8))},pe.\u0275dir=t.lG2({type:pe,selectors:[["","routerLinkActive",""]],contentQueries:function(re,Ue,dt){if(1&re&&t.Suo(dt,lc,5),2&re){let Lt;t.iGM(Lt=t.CRH())&&(Ue.links=Lt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[t.TTD]}),pe})();class Dc{}let Hl=(()=>{class pe{constructor(re,Ue,dt,Lt,Pt){this.router=re,this.injector=dt,this.preloadingStrategy=Lt,this.loader=Pt}setUpPreloading(){this.subscription=this.router.events.pipe((0,ee.h)(re=>re instanceof li),(0,ie.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(re,Ue){const dt=[];for(const Lt of Ue){Lt.providers&&!Lt._injector&&(Lt._injector=(0,t.MMx)(Lt.providers,re,`Route: ${Lt.path}`));const Pt=Lt._injector??re,ci=Lt._loadedInjector??Pt;Lt.loadChildren&&!Lt._loadedRoutes&&void 0===Lt.canLoad||Lt.loadComponent&&!Lt._loadedComponent?dt.push(this.preloadConfig(Pt,Lt)):(Lt.children||Lt._loadedRoutes)&&dt.push(this.processRoutes(ci,Lt.children??Lt._loadedRoutes))}return(0,e.D)(dt).pipe((0,B.J)())}preloadConfig(re,Ue){return this.preloadingStrategy.preload(Ue,()=>{let dt;dt=Ue.loadChildren&&void 0===Ue.canLoad?this.loader.loadChildren(re,Ue):(0,g.of)(null);const Lt=dt.pipe((0,ue.z)(Pt=>null===Pt?(0,g.of)(void 0):(Ue._loadedRoutes=Pt.routes,Ue._loadedInjector=Pt.injector,this.processRoutes(Pt.injector??re,Pt.routes))));if(Ue.loadComponent&&!Ue._loadedComponent){const Pt=this.loader.loadComponent(Ue);return(0,e.D)([Lt,Pt]).pipe((0,B.J)())}return Lt})}}return pe.\u0275fac=function(re){return new(re||pe)(t.LFG(va),t.LFG(t.Sil),t.LFG(t.lqb),t.LFG(Dc),t.LFG(Oi))},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();const Ic=new t.OlP("");let sl=(()=>{class pe{constructor(re,Ue,dt,Lt,Pt={}){this.urlSerializer=re,this.transitions=Ue,this.viewportScroller=dt,this.zone=Lt,this.options=Pt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Pt.scrollPositionRestoration=Pt.scrollPositionRestoration||"disabled",Pt.anchorScrolling=Pt.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(re=>{re instanceof Qt?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=re.navigationTrigger,this.restoredId=re.restoredState?re.restoredState.navigationId:0):re instanceof li&&(this.lastId=re.id,this.scheduleScrollEvent(re,this.urlSerializer.parse(re.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(re=>{re instanceof pi&&(re.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(re.position):re.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(re.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(re,Ue){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new pi(re,"popstate"===this.lastSource?this.store[this.restoredId]:null,Ue))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return pe.\u0275fac=function(re){t.$Z()},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac}),pe})();function Mo(pe,Ce){return{\u0275kind:pe,\u0275providers:Ce}}function Oc(){const pe=(0,t.f3M)(t.zs3);return Ce=>{const re=pe.get(t.z2F);if(Ce!==re.components[0])return;const Ue=pe.get(va),dt=pe.get(cl);1===pe.get(Pc)&&Ue.initialNavigation(),pe.get(ao,null,t.XFs.Optional)?.setUpPreloading(),pe.get(Ic,null,t.XFs.Optional)?.init(),Ue.resetRootComponentType(re.componentTypes[0]),dt.closed||(dt.next(),dt.unsubscribe())}}const cl=new t.OlP("",{factory:()=>new P.x}),Pc=new t.OlP("",{providedIn:"root",factory:()=>1});const ao=new t.OlP("");function zl(pe){return Mo(0,[{provide:ao,useExisting:Hl},{provide:Dc,useExisting:pe}])}const hc=new t.OlP("ROUTER_FORROOT_GUARD"),xr=[U.Ye,{provide:De,useClass:ze},va,ka,{provide:Hr,useFactory:function ol(pe){return pe.routerState.root},deps:[va]},Oi,[]];function q2(){return new t.PXZ("Router",va)}let J2=(()=>{class pe{constructor(re){}static forRoot(re,Ue){return{ngModule:pe,providers:[xr,[],{provide:yi,multi:!0,useValue:re},{provide:hc,useFactory:so,deps:[[va,new t.FiY,new t.tp0]]},{provide:gr,useValue:Ue||{}},Ue?.useHash?{provide:U.S$,useClass:U.Do}:{provide:U.S$,useClass:U.b0},{provide:Ic,useFactory:()=>{const pe=(0,t.f3M)(U.EM),Ce=(0,t.f3M)(t.R0b),re=(0,t.f3M)(gr),Ue=(0,t.f3M)(Sn),dt=(0,t.f3M)(De);return re.scrollOffset&&pe.setOffset(re.scrollOffset),new sl(dt,Ue,pe,Ce,re)}},Ue?.preloadingStrategy?zl(Ue.preloadingStrategy).\u0275providers:[],{provide:t.PXZ,multi:!0,useFactory:q2},Ue?.initialNavigation?ed(Ue):[],[{provide:Eo,useFactory:Oc},{provide:t.tb,multi:!0,useExisting:Eo}]]}}static forChild(re){return{ngModule:pe,providers:[{provide:yi,multi:!0,useValue:re}]}}}return pe.\u0275fac=function(re){return new(re||pe)(t.LFG(hc,8))},pe.\u0275mod=t.oAB({type:pe}),pe.\u0275inj=t.cJS({imports:[Vr]}),pe})();function so(pe){return"guarded"}function ed(pe){return["disabled"===pe.initialNavigation?Mo(3,[{provide:t.ip1,multi:!0,useFactory:()=>{const Ce=(0,t.f3M)(va);return()=>{Ce.setUpLocationChangeListener()}}},{provide:Pc,useValue:2}]).\u0275providers:[],"enabledBlocking"===pe.initialNavigation?Mo(2,[{provide:Pc,useValue:0},{provide:t.ip1,multi:!0,deps:[t.zs3],useFactory:Ce=>{const re=Ce.get(U.V_,Promise.resolve());return()=>re.then(()=>new Promise(dt=>{const Lt=Ce.get(va),Pt=Ce.get(cl);(function Ue(dt){Ce.get(va).events.pipe((0,ee.h)(Pt=>Pt instanceof li||Pt instanceof tn||Pt instanceof dn),(0,Z.U)(Pt=>Pt instanceof li||Pt instanceof tn&&(0===Pt.code||1===Pt.code)&&null),(0,ee.h)(Pt=>null!==Pt),(0,j.q)(1)).subscribe(()=>{dt()})})(()=>{dt(!0)}),Lt.afterPreactivation=()=>(dt(!0),Pt.closed?(0,g.of)(void 0):Pt),Lt.initialNavigation()}))}}]).\u0275providers:[]]}const Eo=new t.OlP("")},2216:(Ge,Q,m)=>{"use strict";m.d(Q,{BN:()=>Yn,uH:()=>ni});var t=m(4650);function e(He,ut){var Ct=Object.keys(He);if(Object.getOwnPropertySymbols){var Nt=Object.getOwnPropertySymbols(He);ut&&(Nt=Nt.filter(function(Je){return Object.getOwnPropertyDescriptor(He,Je).enumerable})),Ct.push.apply(Ct,Nt)}return Ct}function g(He){for(var ut=1;ut<arguments.length;ut++){var Ct=null!=arguments[ut]?arguments[ut]:{};ut%2?e(Object(Ct),!0).forEach(function(Nt){d(He,Nt,Ct[Nt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(He,Object.getOwnPropertyDescriptors(Ct)):e(Object(Ct)).forEach(function(Nt){Object.defineProperty(He,Nt,Object.getOwnPropertyDescriptor(Ct,Nt))})}return He}function A(He){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(ut){return typeof ut}:function(ut){return ut&&"function"==typeof Symbol&&ut.constructor===Symbol&&ut!==Symbol.prototype?"symbol":typeof ut})(He)}function u(He,ut){for(var Ct=0;Ct<ut.length;Ct++){var Nt=ut[Ct];Nt.enumerable=Nt.enumerable||!1,Nt.configurable=!0,"value"in Nt&&(Nt.writable=!0),Object.defineProperty(He,Nt.key,Nt)}}function d(He,ut,Ct){return ut in He?Object.defineProperty(He,ut,{value:Ct,enumerable:!0,configurable:!0,writable:!0}):He[ut]=Ct,He}function L(He,ut){return function U(He){if(Array.isArray(He))return He}(He)||function Y(He,ut){var Ct=null==He?null:typeof Symbol<"u"&&He[Symbol.iterator]||He["@@iterator"];if(null!=Ct){var di,ti,Nt=[],Je=!0,Xt=!1;try{for(Ct=Ct.call(He);!(Je=(di=Ct.next()).done)&&(Nt.push(di.value),!ut||Nt.length!==ut);Je=!0);}catch(yi){Xt=!0,ti=yi}finally{try{!Je&&null!=Ct.return&&Ct.return()}finally{if(Xt)throw ti}}return Nt}}(He,ut)||j(He,ut)||function ue(){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 I(He){return function P(He){if(Array.isArray(He))return X(He)}(He)||function Z(He){if(typeof Symbol<"u"&&null!=He[Symbol.iterator]||null!=He["@@iterator"])return Array.from(He)}(He)||j(He)||function ee(){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(He,ut){if(He){if("string"==typeof He)return X(He,ut);var Ct=Object.prototype.toString.call(He).slice(8,-1);if("Object"===Ct&&He.constructor&&(Ct=He.constructor.name),"Map"===Ct||"Set"===Ct)return Array.from(He);if("Arguments"===Ct||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ct))return X(He,ut)}}function X(He,ut){(null==ut||ut>He.length)&&(ut=He.length);for(var Ct=0,Nt=new Array(ut);Ct<ut;Ct++)Nt[Ct]=He[Ct];return Nt}var le=function(){},ie={},ce={},se=null,he={mark:le,measure:le};try{typeof window<"u"&&(ie=window),typeof document<"u"&&(ce=document),typeof MutationObserver<"u"&&(se=MutationObserver),typeof performance<"u"&&(he=performance)}catch{}var b,B,z,W,Oe,i=(ie.navigator||{}).userAgent,r=void 0===i?"":i,h=ie,c=ce,y=se,S=he,v=!!c.documentElement&&!!c.head&&"function"==typeof c.addEventListener&&"function"==typeof c.createElement,n=~r.indexOf("MSIE")||~r.indexOf("Trident/"),it="___FONT_AWESOME___",Ie="svg-inline--fa",ve="data-fa-i2svg",fe="data-fa-pseudo-element",te="data-prefix",Ke="data-icon",Ae="fontawesome-i2svg",ye=["HTML","HEAD","STYLE","SCRIPT"],me=function(){try{return!0}catch{return!1}}(),Me="classic",Ze="sharp",q=[Me,Ze];function de(He){return new Proxy(He,{get:function(Ct,Nt){return Nt in Ct?Ct[Nt]:Ct[Me]}})}var xe=de((d(b={},Me,{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","fa-kit":"kit"}),d(b,Ze,{fa:"solid",fass:"solid","fa-solid":"solid"}),b)),ke=de((d(B={},Me,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),d(B,Ze,{solid:"fass"}),B)),ft=de((d(z={},Me,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),d(z,Ze,{fass:"fa-solid"}),z)),_t=de((d(W={},Me,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),d(W,Ze,{"fa-solid":"fass"}),W)),ct=/fa(s|r|l|t|d|b|k|ss)?[\-\ ]/,nt="fa-layers-text",Jt=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,vt=de((d(Oe={},Me,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),d(Oe,Ze,{900:"fass"}),Oe)),ne=[1,2,3,4,5,6,7,8,9,10],Ht=ne.concat([11,12,13,14,15,16,17,18,19,20]),De=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],wt=new Set;Object.keys(ke[Me]).map(wt.add.bind(wt)),Object.keys(ke[Ze]).map(wt.add.bind(wt));var Re=[].concat(q,I(wt),["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","duotone-group","swap-opacity","primary","secondary"]).concat(ne.map(function(He){return"".concat(He,"x")})).concat(Ht.map(function(He){return"w-".concat(He)})),tt=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(He){var ut=L(He,2),Nt=ut[1],Je=function It(He){return""===He||"false"!==He&&("true"===He||He)}(function Bt(He){var ut=c.querySelector("script["+He+"]");if(ut)return ut.getAttribute(He)}(ut[0]));null!=Je&&(tt[Nt]=Je)});var xt={styleDefault:"solid",familyDefault:"classic",cssPrefix:"fa",replacementClass:Ie,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};tt.familyPrefix&&(tt.cssPrefix=tt.familyPrefix);var we=g(g({},xt),tt);we.autoReplaceSvg||(we.observeMutations=!1);var J={};Object.keys(xt).forEach(function(He){Object.defineProperty(J,He,{enumerable:!0,set:function(Ct){we[He]=Ct,be.forEach(function(Nt){return Nt(J)})},get:function(){return we[He]}})}),Object.defineProperty(J,"familyPrefix",{enumerable:!0,set:function(ut){we.cssPrefix=ut,be.forEach(function(Ct){return Ct(J)})},get:function(){return we.cssPrefix}}),h.FontAwesomeConfig=J;var be=[],ii={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function ht(){for(var He=12,ut="";He-- >0;)ut+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return ut}function rt(He){for(var ut=[],Ct=(He||[]).length>>>0;Ct--;)ut[Ct]=He[Ct];return ut}function yt(He){return He.classList?rt(He.classList):(He.getAttribute("class")||"").split(" ").filter(function(ut){return ut})}function ri(He){return"".concat(He).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Vt(He){return Object.keys(He||{}).reduce(function(ut,Ct){return ut+"".concat(Ct,": ").concat(He[Ct].trim(),";")},"")}function Ft(He){return He.size!==ii.size||He.x!==ii.x||He.y!==ii.y||He.rotate!==ii.rotate||He.flipX||He.flipY}function Xe(){var ut=Ie,Ct=J.cssPrefix,Nt=J.replacementClass,Je=':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-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 transition-delay: 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, none));\n transform: rotate(var(--fa-rotate-angle, none));\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}';if("fa"!==Ct||Nt!==ut){var Xt=new RegExp("\\.".concat("fa","\\-"),"g"),di=new RegExp("\\--".concat("fa","\\-"),"g"),ti=new RegExp("\\.".concat(ut),"g");Je=Je.replace(Xt,".".concat(Ct,"-")).replace(di,"--".concat(Ct,"-")).replace(ti,".".concat(Nt))}return Je}var Et=!1;function mi(){J.autoAddCss&&!Et&&(function Gt(He){if(He&&v){var ut=c.createElement("style");ut.setAttribute("type","text/css"),ut.innerHTML=He;for(var Ct=c.head.childNodes,Nt=null,Je=Ct.length-1;Je>-1;Je--){var Xt=Ct[Je],di=(Xt.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(di)>-1&&(Nt=Xt)}c.head.insertBefore(ut,Nt)}}(Xe()),Et=!0)}var Li={mixout:function(){return{dom:{css:Xe,insertCss:mi}}},hooks:function(){return{beforeDOMElementCreation:function(){mi()},beforeI2svg:function(){mi()}}}},wi=h||{};wi[it]||(wi[it]={}),wi[it].styles||(wi[it].styles={}),wi[it].hooks||(wi[it].hooks={}),wi[it].shims||(wi[it].shims=[]);var Vi=wi[it],qe=[],ge=!1;function Dt(He){!v||(ge?setTimeout(He,0):qe.push(He))}function Kt(He){var ut=He.tag,Ct=He.attributes,Nt=void 0===Ct?{}:Ct,Je=He.children,Xt=void 0===Je?[]:Je;return"string"==typeof He?ri(He):"<".concat(ut," ").concat(function Ut(He){return Object.keys(He||{}).reduce(function(ut,Ct){return ut+"".concat(Ct,'="').concat(ri(He[Ct]),'" ')},"").trim()}(Nt),">").concat(Xt.map(Kt).join(""),"</").concat(ut,">")}function fi(He,ut,Ct){if(He&&He[ut]&&He[ut][Ct])return{prefix:ut,iconName:Ct,icon:He[ut][Ct]}}v&&((ge=(c.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(c.readyState))||c.addEventListener("DOMContentLoaded",function He(){c.removeEventListener("DOMContentLoaded",He),ge=1,qe.map(function(ut){return ut()})}));var Pi=function(ut,Ct,Nt,Je){var yi,Oi,Wi,Xt=Object.keys(ut),di=Xt.length,ti=void 0!==Je?function(ut,Ct){return function(Nt,Je,Xt,di){return ut.call(Ct,Nt,Je,Xt,di)}}(Ct,Je):Ct;for(void 0===Nt?(yi=1,Wi=ut[Xt[0]]):(yi=0,Wi=Nt);yi<di;yi++)Wi=ti(Wi,ut[Oi=Xt[yi]],Oi,ut);return Wi};function Wt(He){var ut=function Ui(He){for(var ut=[],Ct=0,Nt=He.length;Ct<Nt;){var Je=He.charCodeAt(Ct++);if(Je>=55296&&Je<=56319&&Ct<Nt){var Xt=He.charCodeAt(Ct++);56320==(64512&Xt)?ut.push(((1023&Je)<<10)+(1023&Xt)+65536):(ut.push(Je),Ct--)}else ut.push(Je)}return ut}(He);return 1===ut.length?ut[0].toString(16):null}function _e(He){return Object.keys(He).reduce(function(ut,Ct){var Nt=He[Ct];return Nt.icon?ut[Nt.iconName]=Nt.icon:ut[Ct]=Nt,ut},{})}function $e(He,ut){var Ct=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Nt=Ct.skipHooks,Je=void 0!==Nt&&Nt,Xt=_e(ut);"function"!=typeof Vi.hooks.addPack||Je?Vi.styles[He]=g(g({},Vi.styles[He]||{}),Xt):Vi.hooks.addPack(He,_e(ut)),"fas"===He&&$e("fa",ut)}var mt,ui,Qt,li=Vi.styles,tn=Vi.shims,dn=(d(mt={},Me,Object.values(ft[Me])),d(mt,Ze,Object.values(ft[Ze])),mt),Pn=null,lr={},Cn={},Gr={},pr={},Fr={},Wr=(d(ui={},Me,Object.keys(xe[Me])),d(ui,Ze,Object.keys(xe[Ze])),ui);function Ki(He,ut){var Ct=ut.split("-"),Nt=Ct[0],Je=Ct.slice(1).join("-");return Nt!==He||""===Je||function Ai(He){return~Re.indexOf(He)}(Je)?null:Je}var Zt=function(){var ut=function(Xt){return Pi(li,function(di,ti,yi){return di[yi]=Pi(ti,Xt,{}),di},{})};lr=ut(function(Je,Xt,di){return Xt[3]&&(Je[Xt[3]]=di),Xt[2]&&Xt[2].filter(function(yi){return"number"==typeof yi}).forEach(function(yi){Je[yi.toString(16)]=di}),Je}),Cn=ut(function(Je,Xt,di){return Je[di]=di,Xt[2]&&Xt[2].filter(function(yi){return"string"==typeof yi}).forEach(function(yi){Je[yi]=di}),Je}),Fr=ut(function(Je,Xt,di){var ti=Xt[2];return Je[di]=di,ti.forEach(function(yi){Je[yi]=di}),Je});var Ct="far"in li||J.autoFetchSvg,Nt=Pi(tn,function(Je,Xt){var di=Xt[0],ti=Xt[1],yi=Xt[2];return"far"===ti&&!Ct&&(ti="fas"),"string"==typeof di&&(Je.names[di]={prefix:ti,iconName:yi}),"number"==typeof di&&(Je.unicodes[di.toString(16)]={prefix:ti,iconName:yi}),Je},{names:{},unicodes:{}});Gr=Nt.names,pr=Nt.unicodes,Pn=Bn(J.styleDefault,{family:J.familyDefault})};function vi(He,ut){return(lr[He]||{})[ut]}function bi(He,ut){return(Fr[He]||{})[ut]}function Fi(He){return Gr[He]||{prefix:null,iconName:null}}function wn(){return Pn}function Bn(He){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ct=ut.family,Nt=void 0===Ct?Me:Ct,Je=xe[Nt][He],Xt=ke[Nt][He]||ke[Nt][Je],di=He in Vi.styles?He:null;return Xt||di||null}(function Fe(He){be.push(He)})(function(He){Pn=Bn(He.styleDefault,{family:J.familyDefault})}),Zt();var ar=(d(Qt={},Me,Object.keys(ft[Me])),d(Qt,Ze,Object.keys(ft[Ze])),Qt);function Nn(He){var ut,Ct=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Nt=Ct.skipLookups,Je=void 0!==Nt&&Nt,Xt=(d(ut={},Me,"".concat(J.cssPrefix,"-").concat(Me)),d(ut,Ze,"".concat(J.cssPrefix,"-").concat(Ze)),ut),di=null,ti=Me;(He.includes(Xt[Me])||He.some(function(Oi){return ar[Me].includes(Oi)}))&&(ti=Me),(He.includes(Xt[Ze])||He.some(function(Oi){return ar[Ze].includes(Oi)}))&&(ti=Ze);var yi=He.reduce(function(Oi,Wi){var sn=Ki(J.cssPrefix,Wi);if(li[Wi]?(Wi=dn[ti].includes(Wi)?_t[ti][Wi]:Wi,di=Wi,Oi.prefix=Wi):Wr[ti].indexOf(Wi)>-1?(di=Wi,Oi.prefix=Bn(Wi,{family:ti})):sn?Oi.iconName=sn:Wi!==J.replacementClass&&Wi!==Xt[Me]&&Wi!==Xt[Ze]&&Oi.rest.push(Wi),!Je&&Oi.prefix&&Oi.iconName){var un="fa"===di?Fi(Oi.iconName):{},Sn=bi(Oi.prefix,Oi.iconName);un.prefix&&(di=null),Oi.iconName=un.iconName||Sn||Oi.iconName,Oi.prefix=un.prefix||Oi.prefix,"far"===Oi.prefix&&!li.far&&li.fas&&!J.autoFetchSvg&&(Oi.prefix="fas")}return Oi},{prefix:null,iconName:null,rest:[]});return(He.includes("fa-brands")||He.includes("fab"))&&(yi.prefix="fab"),(He.includes("fa-duotone")||He.includes("fad"))&&(yi.prefix="fad"),!yi.prefix&&ti===Ze&&(li.fass||J.autoFetchSvg)&&(yi.prefix="fass",yi.iconName=bi(yi.prefix,yi.iconName)||yi.iconName),("fa"===yi.prefix||"fa"===di)&&(yi.prefix=wn()||"fas"),yi}var Fn=function(){function He(){(function C(He,ut){if(!(He instanceof ut))throw new TypeError("Cannot call a class as a function")})(this,He),this.definitions={}}return function O(He,ut,Ct){ut&&u(He.prototype,ut),Ct&&u(He,Ct),Object.defineProperty(He,"prototype",{writable:!1})}(He,[{key:"add",value:function(){for(var Ct=this,Nt=arguments.length,Je=new Array(Nt),Xt=0;Xt<Nt;Xt++)Je[Xt]=arguments[Xt];var di=Je.reduce(this._pullDefinitions,{});Object.keys(di).forEach(function(ti){Ct.definitions[ti]=g(g({},Ct.definitions[ti]||{}),di[ti]),$e(ti,di[ti]);var yi=ft[Me][ti];yi&&$e(yi,di[ti]),Zt()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(Ct,Nt){var Je=Nt.prefix&&Nt.iconName&&Nt.icon?{0:Nt}:Nt;return Object.keys(Je).map(function(Xt){var di=Je[Xt],ti=di.prefix,yi=di.iconName,Oi=di.icon,Wi=Oi[2];Ct[ti]||(Ct[ti]={}),Wi.length>0&&Wi.forEach(function(sn){"string"==typeof sn&&(Ct[ti][sn]=Oi)}),Ct[ti][yi]=Oi}),Ct}}]),He}(),ma=[],ir={},ur={},za=Object.keys(ur);function Yr(He,ut){for(var Ct=arguments.length,Nt=new Array(Ct>2?Ct-2:0),Je=2;Je<Ct;Je++)Nt[Je-2]=arguments[Je];var Xt=ir[He]||[];return Xt.forEach(function(di){ut=di.apply(null,[ut].concat(Nt))}),ut}function dr(He){for(var ut=arguments.length,Ct=new Array(ut>1?ut-1:0),Nt=1;Nt<ut;Nt++)Ct[Nt-1]=arguments[Nt];var Je=ir[He]||[];Je.forEach(function(Xt){Xt.apply(null,Ct)})}function Lr(){var He=arguments[0],ut=Array.prototype.slice.call(arguments,1);return ur[He]?ur[He].apply(null,ut):void 0}function Er(He){"fa"===He.prefix&&(He.prefix="fas");var ut=He.iconName,Ct=He.prefix||wn();if(ut)return ut=bi(Ct,ut)||ut,fi(os.definitions,Ct,ut)||fi(Vi.styles,Ct,ut)}var os=new Fn,Va={i2svg:function(){var ut=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v?(dr("beforeI2svg",ut),Lr("pseudoElements2svg",ut),Lr("i2svg",ut)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var ut=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Ct=ut.autoReplaceSvgRoot;!1===J.autoReplaceSvg&&(J.autoReplaceSvg=!0),J.observeMutations=!0,Dt(function(){ls({autoReplaceSvgRoot:Ct}),dr("watch",ut)})}},zr={noAuto:function(){J.autoReplaceSvg=!1,J.observeMutations=!1,dr("noAuto")},config:J,dom:Va,parse:{icon:function(ut){if(null===ut)return null;if("object"===A(ut)&&ut.prefix&&ut.iconName)return{prefix:ut.prefix,iconName:bi(ut.prefix,ut.iconName)||ut.iconName};if(Array.isArray(ut)&&2===ut.length){var Ct=0===ut[1].indexOf("fa-")?ut[1].slice(3):ut[1],Nt=Bn(ut[0]);return{prefix:Nt,iconName:bi(Nt,Ct)||Ct}}if("string"==typeof ut&&(ut.indexOf("".concat(J.cssPrefix,"-"))>-1||ut.match(ct))){var Je=Nn(ut.split(" "),{skipLookups:!0});return{prefix:Je.prefix||wn(),iconName:bi(Je.prefix,Je.iconName)||Je.iconName}}if("string"==typeof ut){var Xt=wn();return{prefix:Xt,iconName:bi(Xt,ut)||ut}}}},library:os,findIconDefinition:Er,toHtml:Kt},ls=function(){var ut=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Ct=ut.autoReplaceSvgRoot,Nt=void 0===Ct?c:Ct;(Object.keys(Vi.styles).length>0||J.autoFetchSvg)&&v&&J.autoReplaceSvg&&zr.dom.i2svg({node:Nt})};function Dr(He,ut){return Object.defineProperty(He,"abstract",{get:ut}),Object.defineProperty(He,"html",{get:function(){return He.abstract.map(function(Nt){return Kt(Nt)})}}),Object.defineProperty(He,"node",{get:function(){if(v){var Nt=c.createElement("div");return Nt.innerHTML=He.html,Nt.children}}}),He}function Rs(He){var ut=He.icons,Ct=ut.main,Nt=ut.mask,Je=He.prefix,Xt=He.iconName,di=He.transform,ti=He.symbol,yi=He.title,Oi=He.maskId,Wi=He.titleId,sn=He.extra,un=He.watchable,Sn=void 0!==un&&un,yr=Nt.found?Nt:Ct,kr=yr.width,ra=yr.height,ea="fak"===Je,Or=[J.replacementClass,Xt?"".concat(J.cssPrefix,"-").concat(Xt):""].filter(function(ps){return-1===sn.classes.indexOf(ps)}).filter(function(ps){return""!==ps||!!ps}).concat(sn.classes).join(" "),Tr={children:[],attributes:g(g({},sn.attributes),{},{"data-prefix":Je,"data-icon":Xt,class:Or,role:sn.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(kr," ").concat(ra)})},_a=ea&&!~sn.classes.indexOf("fa-fw")?{width:"".concat(kr/ra*16*.0625,"em")}:{};Sn&&(Tr.attributes[ve]=""),yi&&(Tr.children.push({tag:"title",attributes:{id:Tr.attributes["aria-labelledby"]||"title-".concat(Wi||ht())},children:[yi]}),delete Tr.attributes.title);var gr=g(g({},Tr),{},{prefix:Je,iconName:Xt,main:Ct,mask:Nt,maskId:Oi,transform:di,symbol:ti,styles:g(g({},_a),sn.styles)}),rs=Nt.found&&Ct.found?Lr("generateAbstractMask",gr)||{children:[],attributes:{}}:Lr("generateAbstractIcon",gr)||{children:[],attributes:{}},Za=rs.attributes;return gr.children=rs.children,gr.attributes=Za,ti?function qa(He){var Ct=He.iconName,Nt=He.children,Je=He.attributes,Xt=He.symbol,di=!0===Xt?"".concat(He.prefix,"-").concat(J.cssPrefix,"-").concat(Ct):Xt;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:g(g({},Je),{},{id:di}),children:Nt}]}]}(gr):function xs(He){var ut=He.children,Ct=He.main,Nt=He.mask,Je=He.attributes,Xt=He.styles,di=He.transform;if(Ft(di)&&Ct.found&&!Nt.found){var Oi={x:Ct.width/Ct.height/2,y:.5};Je.style=Vt(g(g({},Xt),{},{"transform-origin":"".concat(Oi.x+di.x/16,"em ").concat(Oi.y+di.y/16,"em")}))}return[{tag:"svg",attributes:Je,children:ut}]}(gr)}function Ns(He){var ut=He.content,Ct=He.width,Nt=He.height,Je=He.transform,Xt=He.title,di=He.extra,ti=He.watchable,yi=void 0!==ti&&ti,Oi=g(g(g({},di.attributes),Xt?{title:Xt}:{}),{},{class:di.classes.join(" ")});yi&&(Oi[ve]="");var Wi=g({},di.styles);Ft(Je)&&(Wi.transform=function Ve(He){var ut=He.transform,Ct=He.width,Je=He.height,Xt=void 0===Je?16:Je,di=He.startCentered,ti=void 0!==di&&di,yi="";return yi+=ti&&n?"translate(".concat(ut.x/16-(void 0===Ct?16:Ct)/2,"em, ").concat(ut.y/16-Xt/2,"em) "):ti?"translate(calc(-50% + ".concat(ut.x/16,"em), calc(-50% + ").concat(ut.y/16,"em)) "):"translate(".concat(ut.x/16,"em, ").concat(ut.y/16,"em) "),(yi+="scale(".concat(ut.size/16*(ut.flipX?-1:1),", ").concat(ut.size/16*(ut.flipY?-1:1),") "))+"rotate(".concat(ut.rotate,"deg) ")}({transform:Je,startCentered:!0,width:Ct,height:Nt}),Wi["-webkit-transform"]=Wi.transform);var sn=Vt(Wi);sn.length>0&&(Oi.style=sn);var un=[];return un.push({tag:"span",attributes:Oi,children:[ut]}),Xt&&un.push({tag:"span",attributes:{class:"sr-only"},children:[Xt]}),un}function wa(He){var ut=He.content,Ct=He.title,Nt=He.extra,Je=g(g(g({},Nt.attributes),Ct?{title:Ct}:{}),{},{class:Nt.classes.join(" ")}),Xt=Vt(Nt.styles);Xt.length>0&&(Je.style=Xt);var di=[];return di.push({tag:"span",attributes:Je,children:[ut]}),Ct&&di.push({tag:"span",attributes:{class:"sr-only"},children:[Ct]}),di}var ds=Vi.styles;function hs(He){var ut=He[0],Ct=He[1],Xt=L(He.slice(4),1)[0];return{found:!0,width:ut,height:Ct,icon:Array.isArray(Xt)?{tag:"g",attributes:{class:"".concat(J.cssPrefix,"-").concat("duotone-group")},children:[{tag:"path",attributes:{class:"".concat(J.cssPrefix,"-").concat("secondary"),fill:"currentColor",d:Xt[0]}},{tag:"path",attributes:{class:"".concat(J.cssPrefix,"-").concat("primary"),fill:"currentColor",d:Xt[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:Xt}}}}var ka={found:!1,width:512,height:512};function pa(He,ut){var Ct=ut;return"fa"===ut&&null!==J.styleDefault&&(ut=wn()),new Promise(function(Nt,Je){if(Lr("missingIconAbstract"),"fa"===Ct){var di=Fi(He)||{};He=di.iconName||He,ut=di.prefix||ut}if(He&&ut&&ds[ut]&&ds[ut][He])return Nt(hs(ds[ut][He]));(function Oa(He,ut){!me&&!J.showMissingIcons&&He&&console.error('Icon with name "'.concat(He,'" and prefix "').concat(ut,'" is missing.'))})(He,ut),Nt(g(g({},ka),{},{icon:J.showMissingIcons&&He&&Lr("missingIconAbstract")||{}}))})}var Ja=function(){},fr=J.measurePerformance&&S&&S.mark&&S.measure?S:{mark:Ja,measure:Ja},Vr='FA "6.2.1"',Ma_begin=function(ut){return fr.mark("".concat(Vr," ").concat(ut," begins")),function(){return function(ut){fr.mark("".concat(Vr," ").concat(ut," ends")),fr.measure("".concat(Vr," ").concat(ut),"".concat(Vr," ").concat(ut," begins"),"".concat(Vr," ").concat(ut," ends"))}(ut)}},us=function(){};function Zr(He){return"string"==typeof(He.getAttribute?He.getAttribute(ve):null)}function fs(He){return c.createElementNS("http://www.w3.org/2000/svg",He)}function $a(He){return c.createElement(He)}function $n(He){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ct=ut.ceFn,Nt=void 0===Ct?"svg"===He.tag?fs:$a:Ct;if("string"==typeof He)return c.createTextNode(He);var Je=Nt(He.tag);Object.keys(He.attributes||[]).forEach(function(di){Je.setAttribute(di,He.attributes[di])});var Xt=He.children||[];return Xt.forEach(function(di){Je.appendChild($n(di,{ceFn:Nt}))}),Je}var sr={replace:function(ut){var Ct=ut[0];if(Ct.parentNode)if(ut[1].forEach(function(Je){Ct.parentNode.insertBefore($n(Je),Ct)}),null===Ct.getAttribute(ve)&&J.keepOriginalSource){var Nt=c.createComment(function Ua(He){var ut=" ".concat(He.outerHTML," ");return"".concat(ut,"Font Awesome fontawesome.com ")}(Ct));Ct.parentNode.replaceChild(Nt,Ct)}else Ct.remove()},nest:function(ut){var Ct=ut[0],Nt=ut[1];if(~yt(Ct).indexOf(J.replacementClass))return sr.replace(ut);var Je=new RegExp("".concat(J.cssPrefix,"-.*"));if(delete Nt[0].attributes.id,Nt[0].attributes.class){var Xt=Nt[0].attributes.class.split(" ").reduce(function(ti,yi){return yi===J.replacementClass||yi.match(Je)?ti.toSvg.push(yi):ti.toNode.push(yi),ti},{toNode:[],toSvg:[]});Nt[0].attributes.class=Xt.toSvg.join(" "),0===Xt.toNode.length?Ct.removeAttribute("class"):Ct.setAttribute("class",Xt.toNode.join(" "))}var di=Nt.map(function(ti){return Kt(ti)}).join("\n");Ct.setAttribute(ve,""),Ct.innerHTML=di}};function Jn(He){He()}function Ga(He,ut){var Ct="function"==typeof ut?ut:us;if(0===He.length)Ct();else{var Nt=Jn;"async"===J.mutateApproach&&(Nt=h.requestAnimationFrame||Jn),Nt(function(){var Je=function Jr(){return!0===J.autoReplaceSvg?sr.replace:sr[J.autoReplaceSvg]||sr.replace}(),Xt=Ma_begin("mutate");He.map(Je),Xt(),Ct()})}}var Ea=!1;function hr(){Ea=!0}function es(){Ea=!1}var Rt=null;function gi(He){if(y&&J.observeMutations){var ut=He.treeCallback,Ct=void 0===ut?us:ut,Nt=He.nodeCallback,Je=void 0===Nt?us:Nt,Xt=He.pseudoElementsCallback,di=void 0===Xt?us:Xt,ti=He.observeMutationsRoot,yi=void 0===ti?c:ti;Rt=new y(function(Oi){if(!Ea){var Wi=wn();rt(Oi).forEach(function(sn){if("childList"===sn.type&&sn.addedNodes.length>0&&!Zr(sn.addedNodes[0])&&(J.searchPseudoElements&&di(sn.target),Ct(sn.target)),"attributes"===sn.type&&sn.target.parentNode&&J.searchPseudoElements&&di(sn.target.parentNode),"attributes"===sn.type&&Zr(sn.target)&&~De.indexOf(sn.attributeName))if("class"===sn.attributeName&&function Sa(He){var ut=He.getAttribute?He.getAttribute(te):null,Ct=He.getAttribute?He.getAttribute(Ke):null;return ut&&Ct}(sn.target)){var un=Nn(yt(sn.target)),yr=un.iconName;sn.target.setAttribute(te,un.prefix||Wi),yr&&sn.target.setAttribute(Ke,yr)}else(function Ba(He){return He&&He.classList&&He.classList.contains&&He.classList.contains(J.replacementClass)})(sn.target)&&Je(sn.target)})}}),v&&Rt.observe(yi,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ai(He){var ut=He.getAttribute("style"),Ct=[];return ut&&(Ct=ut.split(";").reduce(function(Nt,Je){var Xt=Je.split(":"),di=Xt[0],ti=Xt.slice(1);return di&&ti.length>0&&(Nt[di]=ti.join(":").trim()),Nt},{})),Ct}function Hi(He){var ut=He.getAttribute("data-prefix"),Ct=He.getAttribute("data-icon"),Nt=void 0!==He.innerText?He.innerText.trim():"",Je=Nn(yt(He));return Je.prefix||(Je.prefix=wn()),ut&&Ct&&(Je.prefix=ut,Je.iconName=Ct),Je.iconName&&Je.prefix||(Je.prefix&&Nt.length>0&&(Je.iconName=function pi(He,ut){return(Cn[He]||{})[ut]}(Je.prefix,He.innerText)||vi(Je.prefix,Wt(He.innerText))),!Je.iconName&&J.autoFetchSvg&&He.firstChild&&He.firstChild.nodeType===Node.TEXT_NODE&&(Je.iconName=He.firstChild.data)),Je}function nn(He){var ut=rt(He.attributes).reduce(function(Je,Xt){return"class"!==Je.name&&"style"!==Je.name&&(Je[Xt.name]=Xt.value),Je},{}),Ct=He.getAttribute("title"),Nt=He.getAttribute("data-fa-title-id");return J.autoA11y&&(Ct?ut["aria-labelledby"]="".concat(J.replacementClass,"-title-").concat(Nt||ht()):(ut["aria-hidden"]="true",ut.focusable="false")),ut}function br(He){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},Ct=Hi(He),Nt=Ct.iconName,Je=Ct.prefix,Xt=Ct.rest,di=nn(He),ti=Yr("parseNodeAttributes",{},He),yi=ut.styleParser?ai(He):[];return g({iconName:Nt,title:He.getAttribute("title"),titleId:He.getAttribute("data-fa-title-id"),prefix:Je,transform:ii,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:Xt,styles:yi,attributes:di}},ti)}var Ji=Vi.styles;function Mn(He){var ut="nest"===J.autoReplaceSvg?br(He,{styleParser:!1}):br(He);return~ut.extra.classes.indexOf(nt)?Lr("generateLayersText",He,ut):Lr("generateSvgReplacementMutation",He,ut)}var Xr=new Set;function st(He){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!v)return Promise.resolve();var Ct=c.documentElement.classList,Nt=function(sn){return Ct.add("".concat(Ae,"-").concat(sn))},Je=function(sn){return Ct.remove("".concat(Ae,"-").concat(sn))},Xt=J.autoFetchSvg?Xr:q.map(function(Wi){return"fa-".concat(Wi)}).concat(Object.keys(Ji));Xt.includes("fa")||Xt.push("fa");var di=[".".concat(nt,":not([").concat(ve,"])")].concat(Xt.map(function(Wi){return".".concat(Wi,":not([").concat(ve,"])")})).join(", ");if(0===di.length)return Promise.resolve();var ti=[];try{ti=rt(He.querySelectorAll(di))}catch{}if(!(ti.length>0))return Promise.resolve();Nt("pending"),Je("complete");var yi=Ma_begin("onTree"),Oi=ti.reduce(function(Wi,sn){try{var un=Mn(sn);un&&Wi.push(un)}catch(Sn){me||"MissingIcon"===Sn.name&&console.error(Sn)}return Wi},[]);return new Promise(function(Wi,sn){Promise.all(Oi).then(function(un){Ga(un,function(){Nt("active"),Nt("complete"),Je("pending"),"function"==typeof ut&&ut(),yi(),Wi()})}).catch(function(un){yi(),sn(un)})})}function et(He){var ut=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Mn(He).then(function(Ct){Ct&&Ga([Ct],ut)})}q.map(function(He){Xr.add("fa-".concat(He))}),Object.keys(xe[Me]).map(Xr.add.bind(Xr)),Object.keys(xe[Ze]).map(Xr.add.bind(Xr)),Xr=I(Xr);var Ot=function(ut){var Ct=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Nt=Ct.transform,Je=void 0===Nt?ii:Nt,Xt=Ct.symbol,di=void 0!==Xt&&Xt,ti=Ct.mask,yi=void 0===ti?null:ti,Oi=Ct.maskId,Wi=void 0===Oi?null:Oi,sn=Ct.title,un=void 0===sn?null:sn,Sn=Ct.titleId,yr=void 0===Sn?null:Sn,kr=Ct.classes,ra=void 0===kr?[]:kr,ea=Ct.attributes,Or=void 0===ea?{}:ea,Tr=Ct.styles,_a=void 0===Tr?{}:Tr;if(ut){var gr=ut.prefix,rs=ut.iconName,aa=ut.icon;return Dr(g({type:"icon"},ut),function(){return dr("beforeDOMElementCreation",{iconDefinition:ut,params:Ct}),J.autoA11y&&(un?Or["aria-labelledby"]="".concat(J.replacementClass,"-title-").concat(yr||ht()):(Or["aria-hidden"]="true",Or.focusable="false")),Rs({icons:{main:hs(aa),mask:yi?hs(yi.icon):{found:!1,width:null,height:null,icon:{}}},prefix:gr,iconName:rs,transform:g(g({},ii),Je),symbol:di,title:un,maskId:Wi,titleId:yr,extra:{attributes:Or,styles:_a,classes:ra}})})}},Ti={mixout:function(){return{icon:(He=Ot,function(ut){var Ct=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Nt=(ut||{}).icon?ut:Er(ut||{}),Je=Ct.mask;return Je&&(Je=(Je||{}).icon?Je:Er(Je||{})),He(Nt,g(g({},Ct),{},{mask:Je}))})};var He},hooks:function(){return{mutationObserverCallbacks:function(Ct){return Ct.treeCallback=st,Ct.nodeCallback=et,Ct}}},provides:function(ut){ut.i2svg=function(Ct){var Nt=Ct.node,Xt=Ct.callback;return st(void 0===Nt?c:Nt,void 0===Xt?function(){}:Xt)},ut.generateSvgReplacementMutation=function(Ct,Nt){var Je=Nt.iconName,Xt=Nt.title,di=Nt.titleId,ti=Nt.prefix,yi=Nt.transform,Oi=Nt.symbol,Wi=Nt.mask,sn=Nt.maskId,un=Nt.extra;return new Promise(function(Sn,yr){Promise.all([pa(Je,ti),Wi.iconName?pa(Wi.iconName,Wi.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(kr){var ra=L(kr,2);Sn([Ct,Rs({icons:{main:ra[0],mask:ra[1]},prefix:ti,iconName:Je,transform:yi,symbol:Oi,maskId:sn,title:Xt,titleId:di,extra:un,watchable:!0})])}).catch(yr)})},ut.generateAbstractIcon=function(Ct){var Oi,Nt=Ct.children,Je=Ct.attributes,Xt=Ct.main,di=Ct.transform,yi=Vt(Ct.styles);return yi.length>0&&(Je.style=yi),Ft(di)&&(Oi=Lr("generateAbstractTransformGrouping",{main:Xt,transform:di,containerWidth:Xt.width,iconWidth:Xt.width})),Nt.push(Oi||Xt.icon),{children:Nt,attributes:Je}}}},Zi={mixout:function(){return{layer:function(Ct){var Nt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Je=Nt.classes,Xt=void 0===Je?[]:Je;return Dr({type:"layer"},function(){dr("beforeDOMElementCreation",{assembler:Ct,params:Nt});var di=[];return Ct(function(ti){Array.isArray(ti)?ti.map(function(yi){di=di.concat(yi.abstract)}):di=di.concat(ti.abstract)}),[{tag:"span",attributes:{class:["".concat(J.cssPrefix,"-layers")].concat(I(Xt)).join(" ")},children:di}]})}}}},or={mixout:function(){return{counter:function(Ct){var Nt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Je=Nt.title,Xt=void 0===Je?null:Je,di=Nt.classes,ti=void 0===di?[]:di,yi=Nt.attributes,Oi=void 0===yi?{}:yi,Wi=Nt.styles,sn=void 0===Wi?{}:Wi;return Dr({type:"counter",content:Ct},function(){return dr("beforeDOMElementCreation",{content:Ct,params:Nt}),wa({content:Ct.toString(),title:Xt,extra:{attributes:Oi,styles:sn,classes:["".concat(J.cssPrefix,"-layers-counter")].concat(I(ti))}})})}}}},Ni={mixout:function(){return{text:function(Ct){var Nt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Je=Nt.transform,Xt=void 0===Je?ii:Je,di=Nt.title,ti=void 0===di?null:di,yi=Nt.classes,Oi=void 0===yi?[]:yi,Wi=Nt.attributes,sn=void 0===Wi?{}:Wi,un=Nt.styles,Sn=void 0===un?{}:un;return Dr({type:"text",content:Ct},function(){return dr("beforeDOMElementCreation",{content:Ct,params:Nt}),Ns({content:Ct,transform:g(g({},ii),Xt),title:ti,extra:{attributes:sn,styles:Sn,classes:["".concat(J.cssPrefix,"-layers-text")].concat(I(Oi))}})})}}},provides:function(ut){ut.generateLayersText=function(Ct,Nt){var Je=Nt.title,Xt=Nt.transform,di=Nt.extra,ti=null,yi=null;if(n){var Oi=parseInt(getComputedStyle(Ct).fontSize,10),Wi=Ct.getBoundingClientRect();ti=Wi.width/Oi,yi=Wi.height/Oi}return J.autoA11y&&!Je&&(di.attributes["aria-hidden"]="true"),Promise.resolve([Ct,Ns({content:Ct.innerHTML,width:ti,height:yi,transform:Xt,title:Je,extra:di,watchable:!0})])}}},Un=new RegExp('"',"ug"),Fs=[1105920,1112319];function Br(He,ut){var Ct="".concat("data-fa-pseudo-element-pending").concat(ut.replace(":","-"));return new Promise(function(Nt,Je){if(null!==He.getAttribute(Ct))return Nt();var di=rt(He.children).filter(function(aa){return aa.getAttribute(fe)===ut})[0],ti=h.getComputedStyle(He,ut),yi=ti.getPropertyValue("font-family").match(Jt),Oi=ti.getPropertyValue("font-weight"),Wi=ti.getPropertyValue("content");if(di&&!yi)return He.removeChild(di),Nt();if(yi&&"none"!==Wi&&""!==Wi){var sn=ti.getPropertyValue("content"),un=~["Sharp"].indexOf(yi[2])?Ze:Me,Sn=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(yi[2])?ke[un][yi[2].toLowerCase()]:vt[un][Oi],yr=function Vo(He){var ut=He.replace(Un,""),Ct=function si(He,ut){var Je,Ct=He.length,Nt=He.charCodeAt(ut);return Nt>=55296&&Nt<=56319&&Ct>ut+1&&(Je=He.charCodeAt(ut+1))>=56320&&Je<=57343?1024*(Nt-55296)+Je-56320+65536:Nt}(ut,0),Nt=Ct>=Fs[0]&&Ct<=Fs[1],Je=2===ut.length&&ut[0]===ut[1];return{value:Wt(Je?ut[0]:ut),isSecondary:Nt||Je}}(sn),kr=yr.value,ra=yr.isSecondary,ea=yi[0].startsWith("FontAwesome"),Or=vi(Sn,kr),Tr=Or;if(ea){var _a=function qi(He){var ut=pr[He],Ct=vi("fas",He);return ut||(Ct?{prefix:"fas",iconName:Ct}:null)||{prefix:null,iconName:null}}(kr);_a.iconName&&_a.prefix&&(Or=_a.iconName,Sn=_a.prefix)}if(!Or||ra||di&&di.getAttribute(te)===Sn&&di.getAttribute(Ke)===Tr)Nt();else{He.setAttribute(Ct,Tr),di&&He.removeChild(di);var gr=function Zn(){return{iconName:null,title:null,titleId:null,prefix:null,transform:ii,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),rs=gr.extra;rs.attributes[fe]=ut,pa(Or,Sn).then(function(aa){var Za=Rs(g(g({},gr),{},{icons:{main:aa,mask:{prefix:null,iconName:null,rest:[]}},prefix:Sn,iconName:Tr,extra:rs,watchable:!0})),ps=c.createElement("svg");"::before"===ut?He.insertBefore(ps,He.firstChild):He.appendChild(ps),ps.outerHTML=Za.map(function(nl){return Kt(nl)}).join("\n"),He.removeAttribute(Ct),Nt()}).catch(Je)}}else Nt()})}function Hs(He){return Promise.all([Br(He,"::before"),Br(He,"::after")])}function ts(He){return!(He.parentNode===document.head||~ye.indexOf(He.tagName.toUpperCase())||He.getAttribute(fe)||He.parentNode&&"svg"===He.parentNode.tagName)}function Ta(He){if(v)return new Promise(function(ut,Ct){var Nt=rt(He.querySelectorAll("*")).filter(ts).map(Hs),Je=Ma_begin("searchPseudoElements");hr(),Promise.all(Nt).then(function(){Je(),es(),ut()}).catch(function(){Je(),es(),Ct()})})}var ms=!1,io=function(ut){return ut.toLowerCase().split(" ").reduce(function(Nt,Je){var Xt=Je.toLowerCase().split("-"),di=Xt[0],ti=Xt.slice(1).join("-");if(di&&"h"===ti)return Nt.flipX=!0,Nt;if(di&&"v"===ti)return Nt.flipY=!0,Nt;if(ti=parseFloat(ti),isNaN(ti))return Nt;switch(di){case"grow":Nt.size=Nt.size+ti;break;case"shrink":Nt.size=Nt.size-ti;break;case"left":Nt.x=Nt.x-ti;break;case"right":Nt.x=Nt.x+ti;break;case"up":Nt.y=Nt.y-ti;break;case"down":Nt.y=Nt.y+ti;break;case"rotate":Nt.rotate=Nt.rotate+ti}return Nt},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},In={x:0,y:0,width:"100%",height:"100%"};function Ri(He){var ut=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return He.attributes&&(He.attributes.fill||ut)&&(He.attributes.fill="black"),He}!function Hr(He,ut){var Ct=ut.mixoutsTo;ma=He,ir={},Object.keys(ur).forEach(function(Nt){-1===za.indexOf(Nt)&&delete ur[Nt]}),ma.forEach(function(Nt){var Je=Nt.mixout?Nt.mixout():{};if(Object.keys(Je).forEach(function(di){"function"==typeof Je[di]&&(Ct[di]=Je[di]),"object"===A(Je[di])&&Object.keys(Je[di]).forEach(function(ti){Ct[di]||(Ct[di]={}),Ct[di][ti]=Je[di][ti]})}),Nt.hooks){var Xt=Nt.hooks();Object.keys(Xt).forEach(function(di){ir[di]||(ir[di]=[]),ir[di].push(Xt[di])})}Nt.provides&&Nt.provides(ur)})}([Li,Ti,Zi,or,Ni,{hooks:function(){return{mutationObserverCallbacks:function(Ct){return Ct.pseudoElementsCallback=Ta,Ct}}},provides:function(ut){ut.pseudoElements2svg=function(Ct){var Nt=Ct.node;J.searchPseudoElements&&Ta(void 0===Nt?c:Nt)}}},{mixout:function(){return{dom:{unwatch:function(){hr(),ms=!0}}}},hooks:function(){return{bootstrap:function(){gi(Yr("mutationObserverCallbacks",{}))},noAuto:function(){!function bt(){!Rt||Rt.disconnect()}()},watch:function(Ct){var Nt=Ct.observeMutationsRoot;ms?es():gi(Yr("mutationObserverCallbacks",{observeMutationsRoot:Nt}))}}}},{mixout:function(){return{parse:{transform:function(Ct){return io(Ct)}}}},hooks:function(){return{parseNodeAttributes:function(Ct,Nt){var Je=Nt.getAttribute("data-fa-transform");return Je&&(Ct.transform=io(Je)),Ct}}},provides:function(ut){ut.generateAbstractTransformGrouping=function(Ct){var Nt=Ct.main,Je=Ct.transform,di=Ct.iconWidth,ti={transform:"translate(".concat(Ct.containerWidth/2," 256)")},yi="translate(".concat(32*Je.x,", ").concat(32*Je.y,") "),Oi="scale(".concat(Je.size/16*(Je.flipX?-1:1),", ").concat(Je.size/16*(Je.flipY?-1:1),") "),Wi="rotate(".concat(Je.rotate," 0 0)"),Sn={outer:ti,inner:{transform:"".concat(yi," ").concat(Oi," ").concat(Wi)},path:{transform:"translate(".concat(di/2*-1," -256)")}};return{tag:"g",attributes:g({},Sn.outer),children:[{tag:"g",attributes:g({},Sn.inner),children:[{tag:Nt.icon.tag,children:Nt.icon.children,attributes:g(g({},Nt.icon.attributes),Sn.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(Ct,Nt){var Je=Nt.getAttribute("data-fa-mask"),Xt=Je?Nn(Je.split(" ").map(function(di){return di.trim()})):{prefix:null,iconName:null,rest:[]};return Xt.prefix||(Xt.prefix=wn()),Ct.mask=Xt,Ct.maskId=Nt.getAttribute("data-fa-mask-id"),Ct}}},provides:function(ut){ut.generateAbstractMask=function(Ct){var He,Nt=Ct.children,Je=Ct.attributes,Xt=Ct.main,di=Ct.mask,ti=Ct.maskId,Wi=Xt.icon,un=di.icon,Sn=function Qe(He){var ut=He.transform,Nt=He.iconWidth,Je={transform:"translate(".concat(He.containerWidth/2," 256)")},Xt="translate(".concat(32*ut.x,", ").concat(32*ut.y,") "),di="scale(".concat(ut.size/16*(ut.flipX?-1:1),", ").concat(ut.size/16*(ut.flipY?-1:1),") "),ti="rotate(".concat(ut.rotate," 0 0)");return{outer:Je,inner:{transform:"".concat(Xt," ").concat(di," ").concat(ti)},path:{transform:"translate(".concat(Nt/2*-1," -256)")}}}({transform:Ct.transform,containerWidth:di.width,iconWidth:Xt.width}),yr={tag:"rect",attributes:g(g({},In),{},{fill:"white"})},kr=Wi.children?{children:Wi.children.map(Ri)}:{},ra={tag:"g",attributes:g({},Sn.inner),children:[Ri(g({tag:Wi.tag,attributes:g(g({},Wi.attributes),Sn.path)},kr))]},ea={tag:"g",attributes:g({},Sn.outer),children:[ra]},Or="mask-".concat(ti||ht()),Tr="clip-".concat(ti||ht()),_a={tag:"mask",attributes:g(g({},In),{},{id:Or,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[yr,ea]},gr={tag:"defs",children:[{tag:"clipPath",attributes:{id:Tr},children:(He=un,"g"===He.tag?He.children:[He])},_a]};return Nt.push(gr,{tag:"rect",attributes:g({fill:"currentColor","clip-path":"url(#".concat(Tr,")"),mask:"url(#".concat(Or,")")},In)}),{children:Nt,attributes:Je}}}},{provides:function(ut){var Ct=!1;h.matchMedia&&(Ct=h.matchMedia("(prefers-reduced-motion: reduce)").matches),ut.missingIconAbstract=function(){var Nt=[],Je={fill:"currentColor"},Xt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Nt.push({tag:"path",attributes:g(g({},Je),{},{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 di=g(g({},Xt),{},{attributeName:"opacity"}),ti={tag:"circle",attributes:g(g({},Je),{},{cx:"256",cy:"364",r:"28"}),children:[]};return Ct||ti.children.push({tag:"animate",attributes:g(g({},Xt),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:g(g({},di),{},{values:"1;0;1;1;0;1;"})}),Nt.push(ti),Nt.push({tag:"path",attributes:g(g({},Je),{},{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:Ct?[]:[{tag:"animate",attributes:g(g({},di),{},{values:"1;0;0;0;0;1;"})}]}),Ct||Nt.push({tag:"path",attributes:g(g({},Je),{},{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:g(g({},di),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:Nt}}}},{hooks:function(){return{parseNodeAttributes:function(Ct,Nt){var Je=Nt.getAttribute("data-fa-symbol");return Ct.symbol=null!==Je&&(""===Je||Je),Ct}}}}],{mixoutsTo:zr});var js=zr.parse,ac=zr.icon,Co=m(1481);const wr=["*"],an=He=>{const ut={"fa-spin":He.spin,"fa-pulse":He.pulse,"fa-fw":He.fixedWidth,"fa-border":He.border,"fa-inverse":He.inverse,"fa-layers-counter":He.counter,"fa-flip-horizontal":"horizontal"===He.flip||"both"===He.flip,"fa-flip-vertical":"vertical"===He.flip||"both"===He.flip,[`fa-${He.size}`]:null!==He.size,[`fa-rotate-${He.rotate}`]:null!==He.rotate,[`fa-pull-${He.pull}`]:null!==He.pull,[`fa-stack-${He.stackItemSize}`]:null!=He.stackItemSize};return Object.keys(ut).map(Ct=>ut[Ct]?Ct:null).filter(Ct=>Ct)};let mr=(()=>{class He{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}}return He.\u0275fac=function(Ct){return new(Ct||He)},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),wo=(()=>{class He{constructor(){this.definitions={}}addIcons(...Ct){for(const Nt of Ct){Nt.prefix in this.definitions||(this.definitions[Nt.prefix]={}),this.definitions[Nt.prefix][Nt.iconName]=Nt;for(const Je of Nt.icon[2])"string"==typeof Je&&(this.definitions[Nt.prefix][Je]=Nt)}}addIconPacks(...Ct){for(const Nt of Ct){const Je=Object.keys(Nt).map(Xt=>Nt[Xt]);this.addIcons(...Je)}}getIconDefinition(Ct,Nt){return Ct in this.definitions&&Nt in this.definitions[Ct]?this.definitions[Ct][Nt]:null}}return He.\u0275fac=function(Ct){return new(Ct||He)},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),oc=(()=>{class He{constructor(){this.stackItemSize="1x"}ngOnChanges(Ct){if("size"in Ct)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>.')}}return He.\u0275fac=function(Ct){return new(Ct||He)},He.\u0275dir=t.lG2({type:He,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[t.TTD]}),He})(),cc=(()=>{class He{constructor(Ct,Nt){this.renderer=Ct,this.elementRef=Nt}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(Ct){"size"in Ct&&(null!=Ct.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${Ct.size.currentValue}`),null!=Ct.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${Ct.size.previousValue}`))}}return He.\u0275fac=function(Ct){return new(Ct||He)(t.Y36(t.Qsj),t.Y36(t.SBq))},He.\u0275cmp=t.Xpm({type:He,selectors:[["fa-stack"]],inputs:{size:"size"},features:[t.TTD],ngContentSelectors:wr,decls:1,vars:0,template:function(Ct,Nt){1&Ct&&(t.F$t(),t.Hsn(0))},encapsulation:2}),He})(),Yn=(()=>{class He{constructor(Ct,Nt,Je,Xt,di){this.sanitizer=Ct,this.config=Nt,this.iconLibrary=Je,this.stackItem=Xt,this.classes=[],null!=di&&null==Xt&&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(Ct){if(null==this.icon&&null==this.config.fallbackIcon)return(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})();if(Ct){const Je=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=Je){const Xt=this.buildParams();this.renderIcon(Je,Xt)}}}render(){this.ngOnChanges({})}findIconDefinition(Ct){const Nt=((He,ut)=>(He=>void 0!==He.prefix&&void 0!==He.iconName)(He)?He:Array.isArray(He)&&2===He.length?{prefix:He[0],iconName:He[1]}:"string"==typeof He?{prefix:ut,iconName:He}:void 0)(Ct,this.config.defaultPrefix);return"icon"in Nt?Nt:this.iconLibrary.getIconDefinition(Nt.prefix,Nt.iconName)??((He=>{throw new Error(`Could not find icon with iconName=${He.iconName} and prefix=${He.prefix} in the icon library.`)})(Nt),null)}buildParams(){const Ct={flip:this.flip,spin:this.spin,pulse:this.pulse,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},Nt="string"==typeof this.transform?js.transform(this.transform):this.transform;return{title:this.title,transform:Nt,classes:[...an(Ct),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(Ct,Nt){const Je=ac(Ct,Nt);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(Je.html.join("\n"))}}return He.\u0275fac=function(Ct){return new(Ct||He)(t.Y36(Co.H7),t.Y36(mr),t.Y36(wo),t.Y36(oc,8),t.Y36(cc,8))},He.\u0275cmp=t.Xpm({type:He,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(Ct,Nt){2&Ct&&(t.Ikx("innerHTML",Nt.renderedIconHTML,t.oJD),t.uIk("title",Nt.title))},inputs:{icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},features:[t.TTD],decls:0,vars:0,template:function(Ct,Nt){},encapsulation:2}),He})(),ni=(()=>{class He{}return He.\u0275fac=function(Ct){return new(Ct||He)},He.\u0275mod=t.oAB({type:He}),He.\u0275inj=t.cJS({}),He})()},2687:(Ge,Q,m)=>{"use strict";m.d(Q,{Acd:()=>cd,Aq:()=>Bs,B$L:()=>In,BDt:()=>ag,CgH:()=>fu,CvI:()=>lm,DL8:()=>K_,FJU:()=>f7,FVb:()=>sl,FlN:()=>op,FpQ:()=>J3,HLz:()=>T7,KOR:()=>_o,Krp:()=>$h,Mdf:()=>e4,N2j:()=>bi,NBC:()=>t_,OS1:()=>G2,Psp:()=>go,Pyt:()=>u7,Sbq:()=>Re,SoD:()=>hs,Ssp:()=>sv,SuH:()=>No,TmZ:()=>Q7,USL:()=>f_,Vei:()=>Xs,Vfw:()=>jf,X5K:()=>Y3,XsY:()=>sn,aj4:()=>Ya,b7W:()=>u8,byT:()=>un,co4:()=>dm,d63:()=>Ur,dLy:()=>N7,dT$:()=>w1,eHv:()=>rv,gNZ:()=>ys,hkK:()=>dn,hnx:()=>_v,kXW:()=>Rp,kZ_:()=>q7,koM:()=>wl,mh3:()=>vf,nNP:()=>r5,q7m:()=>R8,qO$:()=>S_,r8p:()=>d5,sqG:()=>qf,vqe:()=>F_,wn1:()=>k7,wyP:()=>c1,xf3:()=>e2});var Re={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"]},dn={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M352 128c0 70.7-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0s128 57.3 128 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"]},bi={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"]},hs={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"]},In={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"]},sn={prefix:"fas",iconName:"paintbrush",icon:[576,512,[128396,"paint-brush"],"f1fc","M371.3 367.1c27.3-3.9 51.9-19.4 67.2-42.9L600.2 74.1c12.6-19.5 9.4-45.3-7.6-61.2S549.7-4.4 531.1 9.6L294.4 187.2c-24 18-38.2 46.1-38.4 76.1L371.3 367.1zm-19.6 25.4l-116-104.4C175.9 290.3 128 339.6 128 400c0 3.9 .2 7.8 .6 11.6c1.8 17.5-10.2 36.4-27.8 36.4H96c-17.7 0-32 14.3-32 32s14.3 32 32 32H240c61.9 0 112-50.1 112-112c0-2.5-.1-5-.2-7.5z"]},un={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"]},sl={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 160c-44.2 0-80-35.8-80-80S99.8 0 144 0s80 35.8 80 80s-35.8 80-80 80zm368 0c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80zM0 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.3zM416 224c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zM128 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"]},Bs={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.5c5.2-11.8 8-24.8 8-38.5c0-53-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zm223.1 298L373 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.5z"]},cd={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"]},Ya={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"]},e2={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-64H64zM344 152c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm96-24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zM64 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-64H64zM344 408c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm104-24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]},wl={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"]},c1={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"]},Xs={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"]},Ur={prefix:"fas",iconName:"arrows-turn-right",icon:[512,512,[],"e4c0","M329.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.3L370.7 160H160c-35.3 0-64 28.7-64 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V224C32 153.3 89.3 96 160 96H370.7L329.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.3L274.7 416H128c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96H274.7l-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z"]},$h={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"]},go={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M96 96c-17.7 0-32 14.3-32 32s-14.3 32-32 32s-32-14.3-32-32C0 75 43 32 96 32h97c70.1 0 127 56.9 127 127c0 52.4-32.2 99.4-81 118.4l-63 24.5 0 18.1c0 17.7-14.3 32-32 32s-32-14.3-32-32V301.9c0-26.4 16.2-50.1 40.8-59.6l63-24.5C240 208.3 256 185 256 159c0-34.8-28.2-63-63-63H96zm48 384c-22.1 0-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40s-17.9 40-40 40z"]},w1={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"]},G2={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"]},_o={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"]},No={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"]},fu={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.5zM104 432c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z"]},Y3={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 336c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},vf={prefix:"fas",iconName:"code-branch",icon:[448,512,[],"f126","M80 104c13.3 0 24-10.7 24-24s-10.7-24-24-24S56 66.7 56 80s10.7 24 24 24zm80-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 0c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24zM80 456c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]},J3={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M416 256s96-96 96-160c0-53-43-96-96-96s-96 43-96 96c0 29.4 20.2 65.5 42.1 96H320c-53 0-96 43-96 96s43 96 96 96h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H188.6c-6.2 9.6-12.6 18.8-19 27.2c-10.7 14.2-21.3 26.9-30 36.8H416c53 0 96-43 96-96s-43-96-96-96H320c-17.7 0-32-14.3-32-32s14.3-32 32-32h96zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32zM149.9 448c21.9-30.5 42.1-66.6 42.1-96c0-53-43-96-96-96s-96 43-96 96c0 64 96 160 96 160s3.5-3.5 9.2-9.6c.4-.4 .7-.8 1.1-1.2c3.3-3.5 7.1-7.8 11.4-12.8c.2-.2 .4-.4 .6-.6c9.4-10.8 20.7-24.6 31.6-39.8zM96 384c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},e4={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 32zM432 256c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM288 192c0 35.3-28.7 64-64 64c-11.5 0-22.3-3-31.6-8.4c-.2 2.8-.4 5.5-.4 8.4c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6z"]},ys={prefix:"fas",iconName:"user-gear",icon:[640,512,["user-cog"],"f4fe","M224 256c-70.7 0-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128s-57.3 128-128 128zm-45.7 48h91.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.8v30.6c7.9 3.4 15.4 7.7 22.3 12.8l24.9-14.3c6.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-25 14.4c.4 4 .7 8.1 .7 12.3s-.2 8.2-.7 12.3l25 14.4c6.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-24.9-14.3c-6.9 5.1-14.3 9.4-22.3 12.8l0 30.6c0 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.8V454.8c-8-3.4-15.6-7.7-22.5-12.9l-24.7 14.3c-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.2l24.8-14.3c-.4-4.1-.7-8.2-.7-12.4s.2-8.3 .7-12.4L343.8 325c-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.4l24.8 14.3c6.9-5.1 14.5-9.4 22.5-12.9V218.2zm92.1 133.5c0-26.5-21.5-48-48.1-48s-48.1 21.5-48.1 48s21.5 48 48.1 48s48.1-21.5 48.1-48z"]},jf={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"]},qf={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 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-144c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]},op={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M112 96c0-17.7 14.3-32 32-32h16c17.7 0 32 14.3 32 32V224v64V416c0 17.7-14.3 32-32 32H144c-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-32h48V96zm416 0v32h48c17.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 32H528v32c0 17.7-14.3 32-32 32H480c-17.7 0-32-14.3-32-32V288 224 96c0-17.7 14.3-32 32-32h16c17.7 0 32 14.3 32 32zM416 224v64H224V224H416z"]},lm={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-64h64v64zM400 256c0 61.9-50.1 112-112 112s-112-50.1-112-112s50.1-112 112-112s112 50.1 112 112zM252 208c0 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"]},dm=lm,u8={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 336c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80z"]},Rp={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"]},R8={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 352H64zM432 456c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]},ag={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"]},u7={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 0zM512 384c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM64 64c35.3 0 64 28.7 64 64s-28.7 64-64 64s-64-28.7-64-64S28.7 64 64 64z"]},f7={prefix:"fas",iconName:"user-lock",icon:[640,512,[],"f502","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-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"]},T7={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM288 96c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM256 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 144c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM96 288c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm352-32c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},r5={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"]},k7={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 352c79.5 0 144-64.5 144-144s-64.5-144-144-144S64 128.5 64 208s64.5 144 144 144z"]},N7={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.2-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.2 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"]},Q7={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"]},q7={prefix:"fas",iconName:"copy",icon:[512,512,[],"f0c5","M224 0c-35.3 0-64 28.7-64 64V288c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H224zM64 160c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H288c35.3 0 64-28.7 64-64V384H288v64H64V224h64V160H64z"]},d5={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"]},t_={prefix:"fas",iconName:"xmark",icon:[320,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"]},f_={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 128c0-35.3-28.7-64-64-64S0 92.7 0 128s28.7 64 64 64s64-28.7 64-64zM384 384c0-35.3-28.7-64-64-64s-64 28.7-64 64s28.7 64 64 64s64-28.7 64-64z"]},S_={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"]},F_={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"]},K_={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 32zM125.8 177.3L51.1 320H204.9L130.2 177.3c-.4-.8-1.3-1.3-2.2-1.3s-1.7 .5-2.2 1.3zM128 128c18.8 0 36 10.4 44.7 27l77.8 148.5c3.1 5.8 6.1 14 5.5 23.8c-.7 12.1-4.8 35.2-24.8 55.1C210.9 402.6 178.2 416 128 416s-82.9-13.4-103.2-33.5c-20-20-24.2-43-24.8-55.1c-.6-9.8 2.5-18 5.5-23.8L83.3 155c8.7-16.6 25.9-27 44.7-27zm384 48c-.9 0-1.7 .5-2.2 1.3L435.1 320H588.9L514.2 177.3c-.4-.8-1.3-1.3-2.2-1.3zm-44.7-21c8.7-16.6 25.9-27 44.7-27s36 10.4 44.7 27l77.8 148.5c3.1 5.8 6.1 14 5.5 23.8c-.7 12.1-4.8 35.2-24.8 55.1C594.9 402.6 562.2 416 512 416s-82.9-13.4-103.2-33.5c-20-20-24.2-43-24.8-55.1c-.6-9.8 2.5-18 5.5-23.8L467.3 155z"]},rv={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 224c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},sv={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"]},_v={prefix:"fas",iconName:"user-clock",icon:[640,512,[],"f4fd","M224 256c-70.7 0-128-57.3-128-128S153.3 0 224 0s128 57.3 128 128s-57.3 128-128 128zm-45.7 48h91.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 304zM640 368c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM496 288c-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"]}},493:(Ge,Q,m)=>{"use strict";m.d(Q,{eX:()=>n,sQ:()=>nt,GW:()=>i,l4:()=>b});var t=m(6451),e=m(9751),g=m(7579),A=m(8502),o=m(515),C=m(9646),u=m(2843),O=m(576);class M{constructor(Re,tt,Bt){this.kind=Re,this.value=tt,this.error=Bt,this.hasValue="N"===Re}observe(Re){return w(this,Re)}do(Re,tt,Bt){const{kind:It,value:zt,error:xt}=this;return"N"===It?Re?.(zt):"E"===It?tt?.(xt):Bt?.()}accept(Re,tt,Bt){var It;return(0,O.m)(null===(It=Re)||void 0===It?void 0:It.next)?this.observe(Re):this.do(Re,tt,Bt)}toObservable(){const{kind:Re,value:tt,error:Bt}=this,It="N"===Re?(0,C.of)(tt):"E"===Re?(0,u._)(()=>Bt):"C"===Re?o.E:0;if(!It)throw new TypeError(`Unexpected notification kind ${Re}`);return It}static createNext(Re){return new M("N",Re)}static createError(Re){return new M("E",void 0,Re)}static createComplete(){return M.completeNotification}}function w(wt,Re){var tt,Bt,It;const{kind:zt,value:xt,error:we}=wt;if("string"!=typeof zt)throw new TypeError('Invalid notification, missing "kind"');"N"===zt?null===(tt=Re.next)||void 0===tt||tt.call(Re,xt):"E"===zt?null===(Bt=Re.error)||void 0===Bt||Bt.call(Re,we):null===(It=Re.complete)||void 0===It||It.call(Re)}M.completeNotification=new M("C");var L=m(4482),I=m(5403),U=m(4004),Z=m(262),Y=m(9300),j=m(8421);function X(wt,Re,tt,Bt){return(0,L.e)((It,zt)=>{let xt;Re&&"function"!=typeof Re?({duration:tt,element:xt,connector:Bt}=Re):xt=Re;const we=new Map,J=ei=>{we.forEach(ei),ei(zt)},be=ei=>J(ht=>ht.error(ei));let Fe=0,at=!1;const ii=new I.Q(zt,ei=>{try{const ht=wt(ei);let rt=we.get(ht);if(!rt){we.set(ht,rt=Bt?Bt():new g.x);const yt=function Gt(ei,ht){const rt=new e.y(yt=>{Fe++;const ri=ht.subscribe(yt);return()=>{ri.unsubscribe(),0==--Fe&&at&&ii.unsubscribe()}});return rt.key=ei,rt}(ht,rt);if(zt.next(yt),tt){const ri=(0,I.x)(rt,()=>{rt.complete(),ri?.unsubscribe()},void 0,void 0,()=>we.delete(ht));ii.add((0,j.Xf)(tt(yt)).subscribe(ri))}}rt.next(xt?xt(ei):ei)}catch(ht){be(ht)}},()=>J(ei=>ei.complete()),be,()=>we.clear(),()=>(at=!0,0===Fe));It.subscribe(ii)})}var ee=m(5577);function ue(wt,Re){return Re?tt=>tt.pipe(ue((Bt,It)=>(0,j.Xf)(wt(Bt,It)).pipe((0,U.U)((zt,xt)=>Re(Bt,zt,It,xt))))):(0,L.e)((tt,Bt)=>{let It=0,zt=null,xt=!1;tt.subscribe((0,I.x)(Bt,we=>{zt||(zt=(0,I.x)(Bt,void 0,()=>{zt=null,xt&&Bt.complete()}),(0,j.Xf)(wt(we,It++)).subscribe(zt))},()=>{xt=!0,!zt&&Bt.complete()}))})}var ie=m(5698),ce=m(4650),se=m(9653);const he={dispatch:!0,useEffectsErrorHandler:!0},E="__@ngrx/effects_create__";function i(wt,Re){const tt=wt(),Bt={...he,...Re};return Object.defineProperty(tt,E,{value:Bt}),tt}function y(wt){return Object.getPrototypeOf(wt)}function S(wt,Re,tt){const Bt=y(wt).constructor.name,It=function c(wt){return function r(wt){return Object.getOwnPropertyNames(wt).filter(Bt=>!(!wt[Bt]||!wt[Bt].hasOwnProperty(E))&&wt[Bt][E].hasOwnProperty("dispatch")).map(Bt=>({propertyName:Bt,...wt[Bt][E]}))}(wt)}(wt).map(({propertyName:zt,dispatch:xt,useEffectsErrorHandler:we})=>{const J="function"==typeof wt[zt]?wt[zt]():wt[zt],be=we?tt(J,Re):J;return!1===xt?be.pipe((0,A.l)()):be.pipe(function P(){return(0,L.e)((wt,Re)=>{wt.subscribe((0,I.x)(Re,tt=>{Re.next(M.createNext(tt))},()=>{Re.next(M.createComplete()),Re.complete()},tt=>{Re.next(M.createError(tt)),Re.complete()}))})}()).pipe((0,U.U)(at=>({effect:wt[zt],notification:at,propertyName:zt,sourceName:Bt,sourceInstance:wt})))});return(0,t.T)(...It)}function v(wt,Re,tt=10){return wt.pipe((0,Z.K)(Bt=>(Re&&Re.handleError(Bt),tt<=1?wt:v(wt,Re,tt-1))))}let n=(()=>{class wt extends e.y{constructor(tt){super(),tt&&(this.source=tt)}lift(tt){const Bt=new wt;return Bt.source=this,Bt.operator=tt,Bt}}return wt.\u0275fac=function(tt){return new(tt||wt)(ce.LFG(se.Y$))},wt.\u0275prov=ce.Yz7({token:wt,factory:wt.\u0275fac,providedIn:"root"}),wt})();function b(...wt){return(0,Y.h)(Re=>wt.some(tt=>"string"==typeof tt?tt===Re.type:tt.type===Re.type))}const B=new ce.OlP("@ngrx/effects Internal Root Guard"),z=new ce.OlP("@ngrx/effects User Provided Effects"),W=new ce.OlP("@ngrx/effects Internal Root Effects"),Oe=new ce.OlP("@ngrx/effects Root Effects"),it=new ce.OlP("@ngrx/effects Internal Feature Effects"),Ne=new ce.OlP("@ngrx/effects Feature Effects"),ot=new ce.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>v}),Ie="@ngrx/effects/init";function Ze(wt){return q(wt,"ngrxOnInitEffects")}function q(wt,Re){return wt&&Re in wt&&"function"==typeof wt[Re]}(0,se.PH)(Ie);let de=(()=>{class wt extends g.x{constructor(tt,Bt){super(),this.errorHandler=tt,this.effectsErrorHandler=Bt}addEffects(tt){this.next(tt)}toActions(){return this.pipe(X(y),(0,ee.z)(tt=>tt.pipe(X(xe))),(0,ee.z)(tt=>{const Bt=tt.pipe(ue(zt=>function ke(wt,Re){return tt=>{const Bt=S(tt,wt,Re);return function me(wt){return q(wt,"ngrxOnRunEffects")}(tt)?tt.ngrxOnRunEffects(Bt):Bt}}(this.errorHandler,this.effectsErrorHandler)(zt)),(0,U.U)(zt=>(function fe(wt,Re){if("N"===wt.notification.kind){const tt=wt.notification.value;!function Se(wt){return"function"!=typeof wt&&wt&&wt.type&&"string"==typeof wt.type}(tt)&&Re.handleError(new Error(`Effect ${function te({propertyName:wt,sourceInstance:Re,sourceName:tt}){const Bt="function"==typeof Re[wt];return`"${tt}.${String(wt)}${Bt?"()":""}"`}(wt)} dispatched an invalid action: ${function Ke(wt){try{return JSON.stringify(wt)}catch{return wt}}(tt)}`))}}(zt,this.errorHandler),zt.notification)),(0,Y.h)(zt=>"N"===zt.kind&&null!=zt.value),function le(){return(0,L.e)((wt,Re)=>{wt.subscribe((0,I.x)(Re,tt=>w(tt,Re)))})}()),It=tt.pipe((0,ie.q)(1),(0,Y.h)(Ze),(0,U.U)(zt=>zt.ngrxOnInitEffects()));return(0,t.T)(Bt,It)}))}}return wt.\u0275fac=function(tt){return new(tt||wt)(ce.LFG(ce.qLn),ce.LFG(ot))},wt.\u0275prov=ce.Yz7({token:wt,factory:wt.\u0275fac,providedIn:"root"}),wt})();function xe(wt){return function oe(wt){return q(wt,"ngrxOnIdentifyEffects")}(wt)?wt.ngrxOnIdentifyEffects():""}let ft=(()=>{class wt{constructor(tt,Bt){this.effectSources=tt,this.store=Bt,this.effectsSubscription=null}get isStarted(){return!!this.effectsSubscription}start(){this.effectsSubscription||(this.effectsSubscription=this.effectSources.toActions().subscribe(this.store))}ngOnDestroy(){this.effectsSubscription&&(this.effectsSubscription.unsubscribe(),this.effectsSubscription=null)}}return wt.\u0275fac=function(tt){return new(tt||wt)(ce.LFG(de),ce.LFG(se.yh))},wt.\u0275prov=ce.Yz7({token:wt,factory:wt.\u0275fac,providedIn:"root"}),wt})(),_t=(()=>{class wt{constructor(tt,Bt,It,zt,xt,we,J){this.sources=tt,Bt.start(),zt.forEach(be=>tt.addEffects(be)),It.dispatch({type:Ie})}addEffects(tt){this.sources.addEffects(tt)}}return wt.\u0275fac=function(tt){return new(tt||wt)(ce.LFG(de),ce.LFG(ft),ce.LFG(se.yh),ce.LFG(Oe),ce.LFG(se.cr,8),ce.LFG(se.CK,8),ce.LFG(B,8))},wt.\u0275mod=ce.oAB({type:wt}),wt.\u0275inj=ce.cJS({}),wt})(),ct=(()=>{class wt{constructor(tt,Bt,It,zt){Bt.forEach(xt=>xt.forEach(we=>tt.addEffects(we)))}}return wt.\u0275fac=function(tt){return new(tt||wt)(ce.LFG(_t),ce.LFG(Ne),ce.LFG(se.cr,8),ce.LFG(se.CK,8))},wt.\u0275mod=ce.oAB({type:wt}),wt.\u0275inj=ce.cJS({}),wt})(),nt=(()=>{class wt{static forFeature(...tt){const Bt=tt.flat();return{ngModule:ct,providers:[Bt,{provide:it,multi:!0,useValue:Bt},{provide:z,multi:!0,useValue:[]},{provide:Ne,multi:!0,useFactory:Jt,deps:[it,z]}]}}static forRoot(...tt){const Bt=tt.flat();return{ngModule:_t,providers:[Bt,{provide:W,useValue:[Bt]},{provide:B,useFactory:ne},{provide:z,multi:!0,useValue:[]},{provide:Oe,useFactory:Jt,deps:[W,z]}]}}}return wt.\u0275fac=function(tt){return new(tt||wt)},wt.\u0275mod=ce.oAB({type:wt}),wt.\u0275inj=ce.cJS({}),wt})();function Jt(wt,Re){const tt=[];for(const Bt of wt)tt.push(...Bt);for(const Bt of Re)tt.push(...Bt);return function vt(wt){return wt.map(Re=>(0,ce.f3M)(Re))}(tt)}function ne(){const wt=(0,ce.f3M)(ft,{optional:!0,skipSelf:!0}),Re=(0,ce.f3M)(W,{self:!0});if((1!==Re.length||0!==Re[0].length)&&wt)throw new TypeError("EffectsModule.forRoot() called twice. Feature modules should use EffectsModule.forFeature() instead.");return"guarded"}},825:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{FT:()=>StoreDevtoolsModule});var _angular_core__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(4650),_ngrx_store__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(9653),rxjs__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(515),rxjs__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(9751),rxjs__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(9646),rxjs__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(6451),rxjs__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(233),rxjs__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(4707),rxjs_operators__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(3099),rxjs_operators__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(9300),rxjs_operators__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(4004),rxjs_operators__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(4351),rxjs_operators__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(7414),rxjs_operators__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(8372),rxjs_operators__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(262),rxjs_operators__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(5698),rxjs_operators__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(2722),rxjs_operators__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(3900),rxjs_operators__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(5684),rxjs_operators__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(5363),rxjs_operators__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(1365),rxjs_operators__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(5026);const PERFORM_ACTION="PERFORM_ACTION",REFRESH="REFRESH",RESET="RESET",ROLLBACK="ROLLBACK",COMMIT="COMMIT",SWEEP="SWEEP",TOGGLE_ACTION="TOGGLE_ACTION",SET_ACTIONS_ACTIVE="SET_ACTIONS_ACTIVE",JUMP_TO_STATE="JUMP_TO_STATE",JUMP_TO_ACTION="JUMP_TO_ACTION",IMPORT_STATE="IMPORT_STATE",LOCK_CHANGES="LOCK_CHANGES",PAUSE_RECORDING="PAUSE_RECORDING";class PerformAction{constructor(Q,m){if(this.action=Q,this.timestamp=m,this.type=PERFORM_ACTION,typeof Q.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}}class Refresh{constructor(){this.type=REFRESH}}class Reset{constructor(Q){this.timestamp=Q,this.type=RESET}}class Rollback{constructor(Q){this.timestamp=Q,this.type=ROLLBACK}}class Commit{constructor(Q){this.timestamp=Q,this.type=COMMIT}}class Sweep{constructor(){this.type=SWEEP}}class ToggleAction{constructor(Q){this.id=Q,this.type=TOGGLE_ACTION}}class SetActionsActive{constructor(Q,m,t=!0){this.start=Q,this.end=m,this.active=t,this.type=SET_ACTIONS_ACTIVE}}class JumpToState{constructor(Q){this.index=Q,this.type=JUMP_TO_STATE}}class JumpToAction{constructor(Q){this.actionId=Q,this.type=JUMP_TO_ACTION}}class ImportState{constructor(Q){this.nextLiftedState=Q,this.type=IMPORT_STATE}}class LockChanges{constructor(Q){this.status=Q,this.type=LOCK_CHANGES}}class PauseRecording{constructor(Q){this.status=Q,this.type=PAUSE_RECORDING}}class StoreDevtoolsConfig{constructor(){this.maxAge=!1}}const STORE_DEVTOOLS_CONFIG=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Options"),INITIAL_OPTIONS=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Initial Config");function noMonitor(){return null}const DEFAULT_NAME="NgRx Store DevTools";function createConfig(Ge){const Q={maxAge:!1,monitor:noMonitor,actionSanitizer:void 0,stateSanitizer:void 0,name:DEFAULT_NAME,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}},m="function"==typeof Ge?Ge():Ge,g=Object.assign({},Q,{features:m.features||!!m.logOnly&&{pause:!0,export:!0,test:!0}||Q.features},m);if(g.maxAge&&g.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${g.maxAge}`);return g}function difference(Ge,Q){return Ge.filter(m=>Q.indexOf(m)<0)}function unliftState(Ge){const{computedStates:Q,currentStateIndex:m}=Ge;if(m>=Q.length){const{state:e}=Q[Q.length-1];return e}const{state:t}=Q[m];return t}function unliftAction(Ge){return Ge.actionsById[Ge.nextActionId-1]}function liftAction(Ge){return new PerformAction(Ge,+Date.now())}function sanitizeActions(Ge,Q){return Object.keys(Q).reduce((m,t)=>{const e=Number(t);return m[e]=sanitizeAction(Ge,Q[e],e),m},{})}function sanitizeAction(Ge,Q,m){return{...Q,action:Ge(Q.action,m)}}function sanitizeStates(Ge,Q){return Q.map((m,t)=>({state:sanitizeState(Ge,m.state,t),error:m.error}))}function sanitizeState(Ge,Q,m){return Ge(Q,m)}function shouldFilterActions(Ge){return Ge.predicate||Ge.actionsSafelist||Ge.actionsBlocklist}function filterLiftedState(Ge,Q,m,t){const e=[],g={},A=[];return Ge.stagedActionIds.forEach((o,C)=>{const u=Ge.actionsById[o];!u||C&&isActionFiltered(Ge.computedStates[C],u,Q,m,t)||(g[o]=u,e.push(o),A.push(Ge.computedStates[C]))}),{...Ge,stagedActionIds:e,actionsById:g,computedStates:A}}function isActionFiltered(Ge,Q,m,t,e){const g=m&&!m(Ge,Q.action),A=t&&!Q.action.type.match(t.map(C=>escapeRegExp(C)).join("|")),o=e&&Q.action.type.match(e.map(C=>escapeRegExp(C)).join("|"));return g||A||o}function escapeRegExp(Ge){return Ge.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let DevtoolsDispatcher=(()=>{class Ge extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{}return Ge.\u0275fac=function(){let Q;return function(t){return(Q||(Q=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(Ge)))(t||Ge)}}(),Ge.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:Ge,factory:Ge.\u0275fac}),Ge})();const ExtensionActionTypes={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},REDUX_DEVTOOLS_EXTENSION=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Redux Devtools Extension");let DevtoolsExtension=(()=>{class DevtoolsExtension{constructor(Ge,Q,m){this.config=Q,this.dispatcher=m,this.devtoolsExtension=Ge,this.createActionStreams()}notify(Ge,Q){if(this.devtoolsExtension)if(Ge.type===PERFORM_ACTION){if(Q.isLocked||Q.isPaused)return;const m=unliftState(Q);if(shouldFilterActions(this.config)&&isActionFiltered(m,Ge,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const t=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,m,Q.currentStateIndex):m,e=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,Ge,Q.nextActionId):Ge;this.sendToReduxDevtools(()=>this.extensionConnection.send(e,t))}else{const m={...Q,stagedActionIds:Q.stagedActionIds,actionsById:this.config.actionSanitizer?sanitizeActions(this.config.actionSanitizer,Q.actionsById):Q.actionsById,computedStates:this.config.stateSanitizer?sanitizeStates(this.config.stateSanitizer,Q.computedStates):Q.computedStates};this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,m,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(Ge=>{const Q=this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=Q,Q.init(),Q.subscribe(m=>Ge.next(m)),Q.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const Ge=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),Q=Ge.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(o=>o.type===ExtensionActionTypes.START)),m=Ge.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(o=>o.type===ExtensionActionTypes.STOP)),t=Ge.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(o=>o.type===ExtensionActionTypes.DISPATCH),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(o=>this.unwrapAction(o.payload)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(o=>o.type===IMPORT_STATE?this.dispatcher.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(C=>C.type===_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_8__.V)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_9__.b)(1e3),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(()=>o),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.K)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(o)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(o))),g=Ge.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(o=>o.type===ExtensionActionTypes.ACTION),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(o=>this.unwrapAction(o.payload))).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(m)),A=t.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(m));this.start$=Q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(m)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>g)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>A))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(Ge){const Q={name:Ge.name,features:Ge.features,serialize:Ge.serialize,autoPause:Ge.autoPause??!1,trace:Ge.trace??!1,traceLimit:Ge.traceLimit??75};return!1!==Ge.maxAge&&(Q.maxAge=Ge.maxAge),Q}sendToReduxDevtools(Ge){try{Ge()}catch(Q){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",Q)}}}return DevtoolsExtension.\u0275fac=function Ge(Q){return new(Q||DevtoolsExtension)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(REDUX_DEVTOOLS_EXTENSION),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher))},DevtoolsExtension.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:DevtoolsExtension,factory:DevtoolsExtension.\u0275fac}),DevtoolsExtension})();const INIT_ACTION={type:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg},RECOMPUTE="@ngrx/store-devtools/recompute",RECOMPUTE_ACTION={type:RECOMPUTE};function computeNextEntry(Ge,Q,m,t,e){if(t)return{state:m,error:"Interrupted by an error up the chain"};let A,g=m;try{g=Ge(m,Q)}catch(o){A=o.toString(),e.handleError(o)}return{state:g,error:A}}function recomputeStates(Ge,Q,m,t,e,g,A,o,C){if(Q>=Ge.length&&Ge.length===g.length)return Ge;const u=Ge.slice(0,Q),O=g.length-(C?1:0);for(let d=Q;d<O;d++){const M=g[d],w=e[M].action,L=u[d-1],I=L?L.state:t,P=L?L.error:void 0,Z=A.indexOf(M)>-1?L:computeNextEntry(m,w,I,P,o);u.push(Z)}return C&&u.push(Ge[Ge.length-1]),u}function liftInitialState(Ge,Q){return{monitorState:Q(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:Ge,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(Ge,Q,m,t,e={}){return g=>(A,o)=>{let{monitorState:C,actionsById:u,nextActionId:O,stagedActionIds:d,skippedActionIds:M,committedState:w,currentStateIndex:L,computedStates:I,isLocked:P,isPaused:U}=A||Q;function Z(X){let ee=X,ue=d.slice(1,ee+1);for(let le=0;le<ue.length;le++){if(I[le+1].error){ee=le,ue=d.slice(1,ee+1);break}delete u[ue[le]]}M=M.filter(le=>-1===ue.indexOf(le)),d=[0,...d.slice(ee+1)],w=I[ee].state,I=I.slice(ee),L=L>ee?L-ee:0}function Y(){u={0:liftAction(INIT_ACTION)},O=1,d=[0],M=[],w=I[L].state,L=0,I=[]}A||(u=Object.create(u));let j=0;switch(o.type){case LOCK_CHANGES:P=o.status,j=1/0;break;case PAUSE_RECORDING:U=o.status,U?(d=[...d,O],u[O]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),O++,j=d.length-1,I=I.concat(I[I.length-1]),L===d.length-2&&L++,j=1/0):Y();break;case RESET:u={0:liftAction(INIT_ACTION)},O=1,d=[0],M=[],w=Ge,L=0,I=[];break;case COMMIT:Y();break;case ROLLBACK:u={0:liftAction(INIT_ACTION)},O=1,d=[0],M=[],L=0,I=[];break;case TOGGLE_ACTION:{const{id:X}=o;M=-1===M.indexOf(X)?[X,...M]:M.filter(ue=>ue!==X),j=d.indexOf(X);break}case SET_ACTIONS_ACTIVE:{const{start:X,end:ee,active:ue}=o,le=[];for(let ie=X;ie<ee;ie++)le.push(ie);M=ue?difference(M,le):[...M,...le],j=d.indexOf(X);break}case JUMP_TO_STATE:L=o.index,j=1/0;break;case JUMP_TO_ACTION:{const X=d.indexOf(o.actionId);-1!==X&&(L=X),j=1/0;break}case SWEEP:d=difference(d,M),M=[],L=Math.min(L,d.length-1);break;case PERFORM_ACTION:{if(P)return A||Q;if(U||A&&isActionFiltered(A.computedStates[L],o,e.predicate,e.actionsSafelist,e.actionsBlocklist)){const ee=I[I.length-1];I=[...I.slice(0,-1),computeNextEntry(g,o.action,ee.state,ee.error,m)],j=1/0;break}e.maxAge&&d.length===e.maxAge&&Z(1),L===d.length-1&&L++;const X=O++;u[X]=o,d=[...d,X],j=d.length-1;break}case IMPORT_STATE:({monitorState:C,actionsById:u,nextActionId:O,stagedActionIds:d,skippedActionIds:M,committedState:w,currentStateIndex:L,computedStates:I,isLocked:P,isPaused:U}=o.nextLiftedState);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg:j=0,e.maxAge&&d.length>e.maxAge&&(I=recomputeStates(I,j,g,w,u,d,M,m,U),Z(d.length-e.maxAge),j=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(I.filter(ee=>ee.error).length>0)j=0,e.maxAge&&d.length>e.maxAge&&(I=recomputeStates(I,j,g,w,u,d,M,m,U),Z(d.length-e.maxAge),j=1/0);else{if(!U&&!P){L===d.length-1&&L++;const ee=O++;u[ee]=new PerformAction(o,+Date.now()),d=[...d,ee],j=d.length-1,I=recomputeStates(I,j,g,w,u,d,M,m,U)}I=I.map(ee=>({...ee,state:g(ee.state,RECOMPUTE_ACTION)})),L=d.length-1,e.maxAge&&d.length>e.maxAge&&Z(d.length-e.maxAge),j=1/0}break;default:j=1/0}return I=recomputeStates(I,j,g,w,u,d,M,m,U),C=t(C,o),{monitorState:C,actionsById:u,nextActionId:O,stagedActionIds:d,skippedActionIds:M,committedState:w,currentStateIndex:L,computedStates:I,isLocked:P,isPaused:U}}}let StoreDevtools=(()=>{class Ge{constructor(m,t,e,g,A,o,C,u){const O=liftInitialState(C,u.monitor),d=liftReducerWith(C,O,o,u.monitor,u),M=(0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)((0,rxjs__WEBPACK_IMPORTED_MODULE_15__.T)(t.asObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_16__.T)(1)),g.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),m,g.liftedActions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_17__.Q)(rxjs__WEBPACK_IMPORTED_MODULE_18__.N)),w=e.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(d)),L=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1),I=M.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(w),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:Y},[j,X])=>{let ee=X(Y,j);return j.type!==PERFORM_ACTION&&shouldFilterActions(u)&&(ee=filterLiftedState(ee,u.predicate,u.actionsSafelist,u.actionsBlocklist)),g.notify(j,ee),{state:ee,action:j}},{state:O,action:null})).subscribe(({state:Y,action:j})=>{L.next(Y),j.type===PERFORM_ACTION&&A.next(j.action)}),P=g.start$.subscribe(()=>{this.refresh()}),U=L.asObservable(),Z=U.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));this.extensionStartSubscription=P,this.stateSubscription=I,this.dispatcher=m,this.liftedState=U,this.state=Z}dispatch(m){this.dispatcher.next(m)}next(m){this.dispatcher.next(m)}error(m){}complete(){}performAction(m){this.dispatch(new PerformAction(m,+Date.now()))}refresh(){this.dispatch(new Refresh)}reset(){this.dispatch(new Reset(+Date.now()))}rollback(){this.dispatch(new Rollback(+Date.now()))}commit(){this.dispatch(new Commit(+Date.now()))}sweep(){this.dispatch(new Sweep)}toggleAction(m){this.dispatch(new ToggleAction(m))}jumpToAction(m){this.dispatch(new JumpToAction(m))}jumpToState(m){this.dispatch(new JumpToState(m))}importState(m){this.dispatch(new ImportState(m))}lockChanges(m){this.dispatch(new LockChanges(m))}pauseRecording(m){this.dispatch(new PauseRecording(m))}}return Ge.\u0275fac=function(m){return new(m||Ge)(_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsDispatcher),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.n$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(DevtoolsExtension),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y$),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_angular_core__WEBPACK_IMPORTED_MODULE_0__.qLn),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.Y6),_angular_core__WEBPACK_IMPORTED_MODULE_0__.LFG(STORE_DEVTOOLS_CONFIG))},Ge.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:Ge,factory:Ge.\u0275fac}),Ge})();const IS_EXTENSION_OR_MONITOR_PRESENT=new _angular_core__WEBPACK_IMPORTED_MODULE_0__.OlP("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function createIsExtensionOrMonitorPresent(Ge,Q){return Boolean(Ge)||Q.monitor!==noMonitor}function createReduxDevtoolsExtension(){const Ge="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[Ge]<"u"?window[Ge]:null}function provideStoreDevtools(Ge={}){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.MR2)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:Ge},{provide:IS_EXTENSION_OR_MONITOR_PRESENT,deps:[REDUX_DEVTOOLS_EXTENSION,STORE_DEVTOOLS_CONFIG],useFactory:createIsExtensionOrMonitorPresent},{provide:REDUX_DEVTOOLS_EXTENSION,useFactory:createReduxDevtoolsExtension},{provide:STORE_DEVTOOLS_CONFIG,deps:[INITIAL_OPTIONS],useFactory:createConfig},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.FR,deps:[StoreDevtools],useFactory:createStateObservable},{provide:_ngrx_store__WEBPACK_IMPORTED_MODULE_1__.mK,useExisting:DevtoolsDispatcher}])}function createStateObservable(Ge){return Ge.state}let StoreDevtoolsModule=(()=>{class Ge{static instrument(m={}){return{ngModule:Ge,providers:[provideStoreDevtools(m)]}}}return Ge.\u0275fac=function(m){return new(m||Ge)},Ge.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:Ge}),Ge.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({}),Ge})()},9653:(Ge,Q,m)=>{"use strict";m.d(Q,{UO:()=>ce,qg:()=>ie,Y6:()=>i,mK:()=>Me,n$:()=>me,Y$:()=>xe,FR:()=>ft,yh:()=>Jt,CK:()=>Fr,Aw:()=>Wr,cr:()=>pr,wb:()=>Ze,PH:()=>P,ZF:()=>Vt,Lq:()=>Ki,P1:()=>yt,on:()=>Ai,Ky:()=>U});var t=m(4650),e=m(1135),g=m(9751),A=m(7579),o=m(233),C=m(5363),u=m(1365),O=m(5026),d=m(4004),w=m(1884);const L={};function P(Zt,vi){if(L[Zt]=(L[Zt]||0)+1,"function"==typeof vi)return Y(Zt,(...bi)=>({...vi(...bi),type:Zt}));switch(vi?vi._as:"empty"){case"empty":return Y(Zt,()=>({type:Zt}));case"props":return Y(Zt,bi=>({...bi,type:Zt}));default:throw new Error("Unexpected config.")}}function U(){return{_as:"props",_p:void 0}}function Y(Zt,vi){return Object.defineProperty(vi,"type",{value:Zt,writable:!1})}const ie="@ngrx/store/init";let ce=(()=>{class Zt extends e.X{constructor(){super({type:ie})}next(pi){if("function"==typeof pi)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 pi>"u")throw new TypeError("Actions must be objects");if(typeof pi.type>"u")throw new TypeError("Actions must have a type property");super.next(pi)}complete(){}ngOnDestroy(){super.complete()}}return Zt.\u0275fac=function(pi){return new(pi||Zt)},Zt.\u0275prov=t.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})();const se=[ce],he=new t.OlP("@ngrx/store Internal Root Guard"),E=new t.OlP("@ngrx/store Internal Initial State"),i=new t.OlP("@ngrx/store Initial State"),r=new t.OlP("@ngrx/store Reducer Factory"),h=new t.OlP("@ngrx/store Internal Reducer Factory Provider"),c=new t.OlP("@ngrx/store Initial Reducers"),y=new t.OlP("@ngrx/store Internal Initial Reducers"),S=new t.OlP("@ngrx/store Store Features"),k=new t.OlP("@ngrx/store Internal Store Reducers"),v=new t.OlP("@ngrx/store Internal Feature Reducers"),n=new t.OlP("@ngrx/store Internal Feature Configs"),b=new t.OlP("@ngrx/store Internal Store Features"),B=new t.OlP("@ngrx/store Internal Feature Reducers Token"),z=new t.OlP("@ngrx/store Feature Reducers"),W=new t.OlP("@ngrx/store User Provided Meta Reducers"),Oe=new t.OlP("@ngrx/store Meta Reducers"),it=new t.OlP("@ngrx/store Internal Resolved Meta Reducers"),Ne=new t.OlP("@ngrx/store User Runtime Checks Config"),ot=new t.OlP("@ngrx/store Internal User Runtime Checks Config"),Ie=new t.OlP("@ngrx/store Internal Runtime Checks"),ve=new t.OlP("@ngrx/store Check if Action types are unique");function te(Zt,vi={}){const pi=Object.keys(Zt),bi={};for(let qi=0;qi<pi.length;qi++){const wn=pi[qi];"function"==typeof Zt[wn]&&(bi[wn]=Zt[wn])}const Fi=Object.keys(bi);return function(wn,qn){wn=void 0===wn?vi:wn;let Bn=!1;const ar={};for(let Nn=0;Nn<Fi.length;Nn++){const Fn=Fi[Nn],ir=wn[Fn],ur=(0,bi[Fn])(ir,qn);ar[Fn]=ur,Bn=Bn||ur!==ir}return Bn?ar:wn}}function Ae(...Zt){return function(vi){if(0===Zt.length)return vi;const pi=Zt[Zt.length-1];return Zt.slice(0,-1).reduceRight((Fi,qi)=>qi(Fi),pi(vi))}}function oe(Zt,vi){return Array.isArray(vi)&&vi.length>0&&(Zt=Ae.apply(null,[...vi,Zt])),(pi,bi)=>{const Fi=Zt(pi);return(qi,wn)=>Fi(qi=void 0===qi?bi:qi,wn)}}new t.OlP("@ngrx/store Root Store Provider"),new t.OlP("@ngrx/store Feature State Provider");class me extends g.y{}class Me extends ce{}const Ze="@ngrx/store/update-reducers";let q=(()=>{class Zt extends e.X{constructor(pi,bi,Fi,qi){super(qi(Fi,bi)),this.dispatcher=pi,this.initialState=bi,this.reducers=Fi,this.reducerFactory=qi}get currentReducers(){return this.reducers}addFeature(pi){this.addFeatures([pi])}addFeatures(pi){const bi=pi.reduce((Fi,{reducers:qi,reducerFactory:wn,metaReducers:qn,initialState:Bn,key:ar})=>{const Nn="function"==typeof qi?function ye(Zt){const vi=Array.isArray(Zt)&&Zt.length>0?Ae(...Zt):pi=>pi;return(pi,bi)=>(pi=vi(pi),(Fi,qi)=>pi(Fi=void 0===Fi?bi:Fi,qi))}(qn)(qi,Bn):oe(wn,qn)(qi,Bn);return Fi[ar]=Nn,Fi},{});this.addReducers(bi)}removeFeature(pi){this.removeFeatures([pi])}removeFeatures(pi){this.removeReducers(pi.map(bi=>bi.key))}addReducer(pi,bi){this.addReducers({[pi]:bi})}addReducers(pi){this.reducers={...this.reducers,...pi},this.updateReducers(Object.keys(pi))}removeReducer(pi){this.removeReducers([pi])}removeReducers(pi){pi.forEach(bi=>{this.reducers=function Ke(Zt,vi){return Object.keys(Zt).filter(pi=>pi!==vi).reduce((pi,bi)=>Object.assign(pi,{[bi]:Zt[bi]}),{})}(this.reducers,bi)}),this.updateReducers(pi)}updateReducers(pi){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Ze,features:pi})}ngOnDestroy(){this.complete()}}return Zt.\u0275fac=function(pi){return new(pi||Zt)(t.LFG(Me),t.LFG(i),t.LFG(c),t.LFG(r))},Zt.\u0275prov=t.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})();const de=[q,{provide:me,useExisting:q},{provide:Me,useExisting:ce}];let xe=(()=>{class Zt extends A.x{ngOnDestroy(){this.complete()}}return Zt.\u0275fac=function(){let vi;return function(bi){return(vi||(vi=t.n5z(Zt)))(bi||Zt)}}(),Zt.\u0275prov=t.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})();const ke=[xe];class ft extends g.y{}let _t=(()=>{class Zt extends e.X{constructor(pi,bi,Fi,qi){super(qi);const ar=pi.pipe((0,C.Q)(o.N)).pipe((0,u.M)(bi)).pipe((0,O.R)(ct,{state:qi}));this.stateSubscription=ar.subscribe(({state:Nn,action:Fn})=>{this.next(Nn),Fi.next(Fn)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return Zt.INIT=ie,Zt.\u0275fac=function(pi){return new(pi||Zt)(t.LFG(ce),t.LFG(me),t.LFG(xe),t.LFG(i))},Zt.\u0275prov=t.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})();function ct(Zt={state:void 0},[vi,pi]){const{state:bi}=Zt;return{state:pi(bi,vi),action:vi}}const nt=[_t,{provide:ft,useExisting:_t}];let Jt=(()=>{class Zt extends g.y{constructor(pi,bi,Fi){super(),this.actionsObserver=bi,this.reducerManager=Fi,this.source=pi}select(pi,...bi){return ne.call(null,pi,...bi)(this)}lift(pi){const bi=new Zt(this,this.actionsObserver,this.reducerManager);return bi.operator=pi,bi}dispatch(pi){this.actionsObserver.next(pi)}next(pi){this.actionsObserver.next(pi)}error(pi){this.actionsObserver.error(pi)}complete(){this.actionsObserver.complete()}addReducer(pi,bi){this.reducerManager.addReducer(pi,bi)}removeReducer(pi){this.reducerManager.removeReducer(pi)}}return Zt.\u0275fac=function(pi){return new(pi||Zt)(t.LFG(ft),t.LFG(ce),t.LFG(q))},Zt.\u0275prov=t.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})();const vt=[Jt];function ne(Zt,vi,...pi){return function(Fi){let qi;if("string"==typeof Zt){const wn=[vi,...pi].filter(Boolean);qi=Fi.pipe(function M(...Zt){const vi=Zt.length;if(0===vi)throw new Error("list of properties cannot be empty.");return(0,d.U)(pi=>{let bi=pi;for(let Fi=0;Fi<vi;Fi++){const qi=bi?.[Zt[Fi]];if(!(typeof qi<"u"))return;bi=qi}return bi})}(Zt,...wn))}else{if("function"!=typeof Zt)throw new TypeError(`Unexpected type '${typeof Zt}' in select operator, expected 'string' or 'function'`);qi=Fi.pipe((0,d.U)(wn=>Zt(wn,vi)))}return qi.pipe((0,w.x)())}}const Ht="https://ngrx.io/guide/store/configuration/runtime-checks";function De(Zt){return void 0===Zt}function ze(Zt){return null===Zt}function wt(Zt){return Array.isArray(Zt)}function It(Zt){return"object"==typeof Zt&&null!==Zt}function we(Zt){return"function"==typeof Zt}function Gt(Zt,vi){return Zt===vi}function ei(Zt,vi,pi){for(let bi=0;bi<Zt.length;bi++)if(!pi(Zt[bi],vi[bi]))return!0;return!1}function rt(Zt,vi=Gt,pi=Gt){let qi,bi=null,Fi=null;return{memoized:function ar(){if(void 0!==qi)return qi.result;if(!bi)return Fi=Zt.apply(null,arguments),bi=arguments,Fi;if(!ei(arguments,bi,vi))return Fi;const Nn=Zt.apply(null,arguments);return bi=arguments,pi(Fi,Nn)?Fi:(Fi=Nn,Nn)},reset:function wn(){bi=null,Fi=null},setResult:function qn(Nn){qi={result:Nn}},clearResult:function Bn(){qi=void 0}}}function yt(...Zt){return function Ut(Zt,vi={stateFn:ri}){return function(...pi){let bi=pi;if(Array.isArray(bi[0])){const[Nn,...Fn]=bi;bi=[...Nn,...Fn]}else 1===bi.length&&function Ft(Zt){return!!Zt&&"object"==typeof Zt&&Object.values(Zt).every(vi=>"function"==typeof vi)}(bi[0])&&(bi=function Qe(Zt){const vi=Object.values(Zt),pi=Object.keys(Zt);return[...vi,(...Fi)=>pi.reduce((qi,wn,qn)=>({...qi,[wn]:Fi[qn]}),{})]}(bi[0]));const Fi=bi.slice(0,bi.length-1),qi=bi[bi.length-1],wn=Fi.filter(Nn=>Nn.release&&"function"==typeof Nn.release),qn=Zt(function(...Nn){return qi.apply(null,Nn)}),Bn=rt(function(Nn,Fn){return vi.stateFn.apply(null,[Nn,Fi,Fn,qn])});return Object.assign(Bn.memoized,{release:function ar(){Bn.reset(),qn.reset(),wn.forEach(Nn=>Nn.release())},projector:qn.memoized,setResult:Bn.setResult,clearResult:Bn.clearResult})}}(rt)(...Zt)}function ri(Zt,vi,pi,bi){if(void 0===pi){const qi=vi.map(wn=>wn(Zt));return bi.memoized.apply(null,qi)}const Fi=vi.map(qi=>qi(Zt,pi));return bi.memoized.apply(null,[...Fi,pi])}function Vt(Zt){return yt(vi=>{const pi=vi[Zt];return(0,t.X6Q)()&&!(Zt in vi)&&console.warn(`@ngrx/store: The feature name "${Zt}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${Zt}', ...) or StoreModule.forFeature('${Zt}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),pi},vi=>vi)}function Et(Zt){return Zt instanceof t.OlP?(0,t.f3M)(Zt):Zt}function mi(Zt,vi){return vi.map((pi,bi)=>{if(Zt[bi]instanceof t.OlP){const Fi=(0,t.f3M)(Zt[bi]);return{key:pi.key,reducerFactory:Fi.reducerFactory?Fi.reducerFactory:te,metaReducers:Fi.metaReducers?Fi.metaReducers:[],initialState:Fi.initialState}}return pi})}function Li(Zt){return Zt.map(vi=>vi instanceof t.OlP?(0,t.f3M)(vi):vi)}function wi(Zt){return"function"==typeof Zt?Zt():Zt}function Vi(Zt,vi){return Zt.concat(vi)}function qe(){if((0,t.f3M)(Jt,{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 ge(Zt){Object.freeze(Zt);const vi=we(Zt);return Object.getOwnPropertyNames(Zt).forEach(pi=>{if(!pi.startsWith("\u0275")&&function be(Zt,vi){return Object.prototype.hasOwnProperty.call(Zt,vi)}(Zt,pi)&&(!vi||"caller"!==pi&&"callee"!==pi&&"arguments"!==pi)){const bi=Zt[pi];(It(bi)||we(bi))&&!Object.isFrozen(bi)&&ge(bi)}}),Zt}function Kt(Zt,vi=[]){return(De(Zt)||ze(Zt))&&0===vi.length?{path:["root"],value:Zt}:Object.keys(Zt).reduce((bi,Fi)=>{if(bi)return bi;const qi=Zt[Fi];return function J(Zt){return we(Zt)&&Zt.hasOwnProperty("\u0275cmp")}(qi)?bi:!(De(qi)||ze(qi)||function Bt(Zt){return"number"==typeof Zt}(qi)||function tt(Zt){return"boolean"==typeof Zt}(qi)||function Re(Zt){return"string"==typeof Zt}(qi)||wt(qi))&&(function xt(Zt){if(!function zt(Zt){return It(Zt)&&!wt(Zt)}(Zt))return!1;const vi=Object.getPrototypeOf(Zt);return vi===Object.prototype||null===vi}(qi)?Kt(qi,[...vi,Fi]):{path:[...vi,Fi],value:qi})},!1)}function fi(Zt,vi){if(!1===Zt)return;const pi=Zt.path.join("."),bi=new Error(`Detected unserializable ${vi} at "${pi}". ${Ht}#strict${vi}serializability`);throw bi.value=Zt.value,bi.unserializablePath=pi,bi}function Pi(Zt){return(0,t.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...Zt}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Ui({strictActionSerializability:Zt,strictStateSerializability:vi}){return pi=>Zt||vi?function Dt(Zt,vi){return function(pi,bi){vi.action(bi)&&fi(Kt(bi),"action");const Fi=Zt(pi,bi);return vi.state()&&fi(Kt(Fi),"state"),Fi}}(pi,{action:bi=>Zt&&!si(bi),state:()=>vi}):pi}function Wt({strictActionImmutability:Zt,strictStateImmutability:vi}){return pi=>Zt||vi?function Tt(Zt,vi){return function(pi,bi){const Fi=vi.action(bi)?ge(bi):bi,qi=Zt(pi,Fi);return vi.state()?ge(qi):qi}}(pi,{action:bi=>Zt&&!si(bi),state:()=>vi}):pi}function si(Zt){return Zt.type.startsWith("@ngrx")}function _e({strictActionWithinNgZone:Zt}){return vi=>Zt?function Mi(Zt,vi){return function(pi,bi){if(vi.action(bi)&&!t.R0b.isInAngularZone())throw new Error(`Action '${bi.type}' running outside NgZone. ${Ht}#strictactionwithinngzone`);return Zt(pi,bi)}}(vi,{action:pi=>Zt&&!si(pi)}):vi}function $e(Zt){return[{provide:ot,useValue:Zt},{provide:Ne,useFactory:mt,deps:[ot]},{provide:Ie,deps:[Ne],useFactory:Pi},{provide:Oe,multi:!0,deps:[Ie],useFactory:Wt},{provide:Oe,multi:!0,deps:[Ie],useFactory:Ui},{provide:Oe,multi:!0,deps:[Ie],useFactory:_e}]}function St(){return[{provide:ve,multi:!0,deps:[Ie],useFactory:ui}]}function mt(Zt){return Zt}function ui(Zt){if(!Zt.strictActionTypeUniqueness)return;const vi=Object.entries(L).filter(([,pi])=>pi>1).map(([pi])=>pi);if(vi.length)throw new Error(`Action types are registered more than once, ${vi.map(pi=>`"${pi}"`).join(", ")}. ${Ht}#strictactiontypeuniqueness`)}function li(Zt={},vi={}){return[{provide:he,useFactory:qe},{provide:E,useValue:vi.initialState},{provide:i,useFactory:wi,deps:[E]},{provide:y,useValue:Zt},{provide:k,useExisting:Zt instanceof t.OlP?Zt:y},{provide:c,deps:[y,[new t.tBr(k)]],useFactory:Et},{provide:W,useValue:vi.metaReducers?vi.metaReducers:[]},{provide:it,deps:[Oe,W],useFactory:Vi},{provide:h,useValue:vi.reducerFactory?vi.reducerFactory:te},{provide:r,deps:[h,it],useFactory:oe},se,de,ke,nt,vt,$e(vi.runtimeChecks),St()]}function Gr(Zt,vi,pi={}){return[{provide:n,multi:!0,useValue:Zt instanceof Object?{}:pi},{provide:S,multi:!0,useValue:{key:Zt instanceof Object?Zt.name:Zt,reducerFactory:pi instanceof t.OlP||!pi.reducerFactory?te:pi.reducerFactory,metaReducers:pi instanceof t.OlP||!pi.metaReducers?[]:pi.metaReducers,initialState:pi instanceof t.OlP||!pi.initialState?void 0:pi.initialState}},{provide:b,deps:[n,S],useFactory:mi},{provide:v,multi:!0,useValue:Zt instanceof Object?Zt.reducer:vi},{provide:B,multi:!0,useExisting:vi instanceof t.OlP?vi:v},{provide:z,multi:!0,deps:[v,[new t.tBr(B)]],useFactory:Li},St()]}let pr=(()=>{class Zt{constructor(pi,bi,Fi,qi,wn,qn){}}return Zt.\u0275fac=function(pi){return new(pi||Zt)(t.LFG(ce),t.LFG(me),t.LFG(xe),t.LFG(Jt),t.LFG(he,8),t.LFG(ve,8))},Zt.\u0275mod=t.oAB({type:Zt}),Zt.\u0275inj=t.cJS({}),Zt})(),Fr=(()=>{class Zt{constructor(pi,bi,Fi,qi,wn){this.features=pi,this.featureReducers=bi,this.reducerManager=Fi;const qn=pi.map((Bn,ar)=>{const Fn=bi.shift()[ar];return{...Bn,reducers:Fn,initialState:wi(Bn.initialState)}});Fi.addFeatures(qn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return Zt.\u0275fac=function(pi){return new(pi||Zt)(t.LFG(b),t.LFG(z),t.LFG(q),t.LFG(pr),t.LFG(ve,8))},Zt.\u0275mod=t.oAB({type:Zt}),Zt.\u0275inj=t.cJS({}),Zt})(),Wr=(()=>{class Zt{static forRoot(pi,bi){return{ngModule:pr,providers:[...li(pi,bi)]}}static forFeature(pi,bi,Fi={}){return{ngModule:Fr,providers:[...Gr(pi,bi,Fi)]}}}return Zt.\u0275fac=function(pi){return new(pi||Zt)},Zt.\u0275mod=t.oAB({type:Zt}),Zt.\u0275inj=t.cJS({}),Zt})();function Ai(...Zt){return{reducer:Zt.pop(),types:Zt.map(bi=>bi.type)}}function Ki(Zt,...vi){const pi=new Map;for(const bi of vi)for(const Fi of bi.types){const qi=pi.get(Fi);pi.set(Fi,qi?(qn,Bn)=>bi.reducer(qi(qn,Bn),Bn):bi.reducer)}return function(bi=Zt,Fi){const qi=pi.get(Fi.type);return qi?qi(bi,Fi):bi}}},2213:(Ge,Q,m)=>{"use strict";m.d(Q,{H5:()=>mf,K$:()=>K3,a4:()=>Pf});var t=m(4650),e=m(6895),g=m(655),A=m(4080),o=m(4968),C=m(8372),u=m(7340);function O(){}function d(f){return null==f?O:function(){return this.querySelector(f)}}function w(f){return"object"==typeof f&&"length"in f?f:Array.from(f)}function L(){return[]}function I(f){return null==f?L:function(){return this.querySelectorAll(f)}}function Z(f){return function(){return this.matches(f)}}function Y(f){return function(D){return D.matches(f)}}var j=Array.prototype.find;function ee(){return this.firstElementChild}var le=Array.prototype.filter;function ie(){return this.children}function E(f){return new Array(f.length)}function r(f,D){this.ownerDocument=f.ownerDocument,this.namespaceURI=f.namespaceURI,this._next=null,this._parent=f,this.__data__=D}function h(f){return function(){return f}}function c(f,D,a,x,V,K){for(var lt,Te=0,qt=D.length,jt=K.length;Te<jt;++Te)(lt=D[Te])?(lt.__data__=K[Te],x[Te]=lt):a[Te]=new r(f,K[Te]);for(;Te<qt;++Te)(lt=D[Te])&&(V[Te]=lt)}function y(f,D,a,x,V,K,Te){var lt,qt,Ii,jt=new Map,hi=D.length,Ci=K.length,Ei=new Array(hi);for(lt=0;lt<hi;++lt)(qt=D[lt])&&(Ei[lt]=Ii=Te.call(qt,qt.__data__,lt,D)+"",jt.has(Ii)?V[lt]=qt:jt.set(Ii,qt));for(lt=0;lt<Ci;++lt)Ii=Te.call(f,K[lt],lt,K)+"",(qt=jt.get(Ii))?(x[lt]=qt,qt.__data__=K[lt],jt.delete(Ii)):a[lt]=new r(f,K[lt]);for(lt=0;lt<hi;++lt)(qt=D[lt])&&jt.get(Ei[lt])===qt&&(V[lt]=qt)}function S(f){return f.__data__}function W(f,D){return f<D?-1:f>D?1:f>=D?0:NaN}r.prototype={constructor:r,appendChild:function(f){return this._parent.insertBefore(f,this._next)},insertBefore:function(f,D){return this._parent.insertBefore(f,D)},querySelector:function(f){return this._parent.querySelector(f)},querySelectorAll:function(f){return this._parent.querySelectorAll(f)}};var fe="http://www.w3.org/1999/xhtml";const Se={svg:"http://www.w3.org/2000/svg",xhtml:fe,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function te(f){var D=f+="",a=D.indexOf(":");return a>=0&&"xmlns"!==(D=f.slice(0,a))&&(f=f.slice(a+1)),Se.hasOwnProperty(D)?{space:Se[D],local:f}:f}function Ke(f){return function(){this.removeAttribute(f)}}function Ae(f){return function(){this.removeAttributeNS(f.space,f.local)}}function oe(f,D){return function(){this.setAttribute(f,D)}}function ye(f,D){return function(){this.setAttributeNS(f.space,f.local,D)}}function me(f,D){return function(){var a=D.apply(this,arguments);null==a?this.removeAttribute(f):this.setAttribute(f,a)}}function Me(f,D){return function(){var a=D.apply(this,arguments);null==a?this.removeAttributeNS(f.space,f.local):this.setAttributeNS(f.space,f.local,a)}}function q(f){return f.ownerDocument&&f.ownerDocument.defaultView||f.document&&f||f.defaultView}function de(f){return function(){this.style.removeProperty(f)}}function xe(f,D,a){return function(){this.style.setProperty(f,D,a)}}function ke(f,D,a){return function(){var x=D.apply(this,arguments);null==x?this.style.removeProperty(f):this.style.setProperty(f,x,a)}}function _t(f,D){return f.style.getPropertyValue(D)||q(f).getComputedStyle(f,null).getPropertyValue(D)}function ct(f){return function(){delete this[f]}}function nt(f,D){return function(){this[f]=D}}function Jt(f,D){return function(){var a=D.apply(this,arguments);null==a?delete this[f]:this[f]=a}}function ne(f){return f.trim().split(/^|\s+/)}function Ht(f){return f.classList||new De(f)}function De(f){this._node=f,this._names=ne(f.getAttribute("class")||"")}function ze(f,D){for(var a=Ht(f),x=-1,V=D.length;++x<V;)a.add(D[x])}function wt(f,D){for(var a=Ht(f),x=-1,V=D.length;++x<V;)a.remove(D[x])}function Re(f){return function(){ze(this,f)}}function tt(f){return function(){wt(this,f)}}function Bt(f,D){return function(){(D.apply(this,arguments)?ze:wt)(this,f)}}function zt(){this.textContent=""}function xt(f){return function(){this.textContent=f}}function we(f){return function(){var D=f.apply(this,arguments);this.textContent=D??""}}function be(){this.innerHTML=""}function Fe(f){return function(){this.innerHTML=f}}function at(f){return function(){var D=f.apply(this,arguments);this.innerHTML=D??""}}function Gt(){this.nextSibling&&this.parentNode.appendChild(this)}function ht(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function yt(f){return function(){var D=this.ownerDocument,a=this.namespaceURI;return a===fe&&D.documentElement.namespaceURI===fe?D.createElement(f):D.createElementNS(a,f)}}function ri(f){return function(){return this.ownerDocument.createElementNS(f.space,f.local)}}function Ut(f){var D=te(f);return(D.local?ri:yt)(D)}function Ft(){return null}function Ve(){var f=this.parentNode;f&&f.removeChild(this)}function Xe(){var f=this.cloneNode(!1),D=this.parentNode;return D?D.insertBefore(f,this.nextSibling):f}function Et(){var f=this.cloneNode(!0),D=this.parentNode;return D?D.insertBefore(f,this.nextSibling):f}function Vi(f){return f.trim().split(/^|\s+/).map(function(D){var a="",x=D.indexOf(".");return x>=0&&(a=D.slice(x+1),D=D.slice(0,x)),{type:D,name:a}})}function qe(f){return function(){var D=this.__on;if(D){for(var K,a=0,x=-1,V=D.length;a<V;++a)K=D[a],f.type&&K.type!==f.type||K.name!==f.name?D[++x]=K:this.removeEventListener(K.type,K.listener,K.options);++x?D.length=x:delete this.__on}}}function Tt(f,D,a){return function(){var V,x=this.__on,K=function wi(f){return function(D){f.call(this,D,this.__data__)}}(D);if(x)for(var Te=0,lt=x.length;Te<lt;++Te)if((V=x[Te]).type===f.type&&V.name===f.name)return this.removeEventListener(V.type,V.listener,V.options),this.addEventListener(V.type,V.listener=K,V.options=a),void(V.value=D);this.addEventListener(f.type,K,a),V={type:f.type,name:f.name,value:D,listener:K,options:a},x?x.push(V):this.__on=[V]}}function Dt(f,D,a){var x=q(f),V=x.CustomEvent;"function"==typeof V?V=new V(D,a):(V=x.document.createEvent("Event"),a?(V.initEvent(D,a.bubbles,a.cancelable),V.detail=a.detail):V.initEvent(D,!1,!1)),f.dispatchEvent(V)}function Kt(f,D){return function(){return Dt(this,f,D)}}function fi(f,D){return function(){return Dt(this,f,D.apply(this,arguments))}}De.prototype={add:function(f){this._names.indexOf(f)<0&&(this._names.push(f),this._node.setAttribute("class",this._names.join(" ")))},remove:function(f){var D=this._names.indexOf(f);D>=0&&(this._names.splice(D,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(f){return this._names.indexOf(f)>=0}};var Ui=[null];function Wt(f,D){this._groups=f,this._parents=D}function si(){return new Wt([[document.documentElement]],Ui)}Wt.prototype=si.prototype={constructor:Wt,select:function M(f){"function"!=typeof f&&(f=d(f));for(var D=this._groups,a=D.length,x=new Array(a),V=0;V<a;++V)for(var qt,jt,K=D[V],Te=K.length,lt=x[V]=new Array(Te),hi=0;hi<Te;++hi)(qt=K[hi])&&(jt=f.call(qt,qt.__data__,hi,K))&&("__data__"in qt&&(jt.__data__=qt.__data__),lt[hi]=jt);return new Wt(x,this._parents)},selectAll:function U(f){f="function"==typeof f?function P(f){return function(){var D=f.apply(this,arguments);return null==D?[]:w(D)}}(f):I(f);for(var D=this._groups,a=D.length,x=[],V=[],K=0;K<a;++K)for(var qt,Te=D[K],lt=Te.length,jt=0;jt<lt;++jt)(qt=Te[jt])&&(x.push(f.call(qt,qt.__data__,jt,Te)),V.push(qt));return new Wt(x,V)},selectChild:function ue(f){return this.select(null==f?ee:function X(f){return function(){return j.call(this.children,f)}}("function"==typeof f?f:Y(f)))},selectChildren:function se(f){return this.selectAll(null==f?ie:function ce(f){return function(){return le.call(this.children,f)}}("function"==typeof f?f:Y(f)))},filter:function he(f){"function"!=typeof f&&(f=Z(f));for(var D=this._groups,a=D.length,x=new Array(a),V=0;V<a;++V)for(var qt,K=D[V],Te=K.length,lt=x[V]=[],jt=0;jt<Te;++jt)(qt=K[jt])&&f.call(qt,qt.__data__,jt,K)&&lt.push(qt);return new Wt(x,this._parents)},data:function k(f,D){if(!arguments.length)return Array.from(this,S);var a=D?y:c,x=this._parents,V=this._groups;"function"!=typeof f&&(f=h(f));for(var K=V.length,Te=new Array(K),lt=new Array(K),qt=new Array(K),jt=0;jt<K;++jt){var hi=x[jt],Ci=V[jt],Ei=Ci.length,Ii=w(f.call(hi,hi&&hi.__data__,jt,x)),cn=Ii.length,bn=lt[jt]=new Array(cn),ki=Te[jt]=new Array(cn),mn=qt[jt]=new Array(Ei);a(hi,Ci,bn,ki,mn,Ii,D);for(var jn,Vn,xn=0,gn=0;xn<cn;++xn)if(jn=bn[xn]){for(xn>=gn&&(gn=xn+1);!(Vn=ki[gn])&&++gn<cn;);jn._next=Vn||null}}return(Te=new Wt(Te,x))._enter=lt,Te._exit=qt,Te},enter:function i(){return new Wt(this._enter||this._groups.map(E),this._parents)},exit:function v(){return new Wt(this._exit||this._groups.map(E),this._parents)},join:function n(f,D,a){var x=this.enter(),V=this,K=this.exit();return x="function"==typeof f?f(x):x.append(f+""),null!=D&&(V=D(V)),null==a?K.remove():a(K),x&&V?x.merge(V).order():V},merge:function b(f){if(!(f instanceof Wt))throw new Error("invalid merge");for(var D=this._groups,a=f._groups,x=D.length,K=Math.min(x,a.length),Te=new Array(x),lt=0;lt<K;++lt)for(var Ei,qt=D[lt],jt=a[lt],hi=qt.length,Ci=Te[lt]=new Array(hi),Ii=0;Ii<hi;++Ii)(Ei=qt[Ii]||jt[Ii])&&(Ci[Ii]=Ei);for(;lt<x;++lt)Te[lt]=D[lt];return new Wt(Te,this._parents)},selection:function _e(){return this},order:function B(){for(var f=this._groups,D=-1,a=f.length;++D<a;)for(var Te,x=f[D],V=x.length-1,K=x[V];--V>=0;)(Te=x[V])&&(K&&4^Te.compareDocumentPosition(K)&&K.parentNode.insertBefore(Te,K),K=Te);return this},sort:function z(f){function D(Ci,Ei){return Ci&&Ei?f(Ci.__data__,Ei.__data__):!Ci-!Ei}f||(f=W);for(var a=this._groups,x=a.length,V=new Array(x),K=0;K<x;++K){for(var jt,Te=a[K],lt=Te.length,qt=V[K]=new Array(lt),hi=0;hi<lt;++hi)(jt=Te[hi])&&(qt[hi]=jt);qt.sort(D)}return new Wt(V,this._parents).order()},call:function Oe(){var f=arguments[0];return arguments[0]=this,f.apply(null,arguments),this},nodes:function it(){return Array.from(this)},node:function Ne(){for(var f=this._groups,D=0,a=f.length;D<a;++D)for(var x=f[D],V=0,K=x.length;V<K;++V){var Te=x[V];if(Te)return Te}return null},size:function ot(){let f=0;for(const D of this)++f;return f},empty:function Ie(){return!this.node()},each:function ve(f){for(var D=this._groups,a=0,x=D.length;a<x;++a)for(var lt,V=D[a],K=0,Te=V.length;K<Te;++K)(lt=V[K])&&f.call(lt,lt.__data__,K,V);return this},attr:function Ze(f,D){var a=te(f);if(arguments.length<2){var x=this.node();return a.local?x.getAttributeNS(a.space,a.local):x.getAttribute(a)}return this.each((null==D?a.local?Ae:Ke:"function"==typeof D?a.local?Me:me:a.local?ye:oe)(a,D))},style:function ft(f,D,a){return arguments.length>1?this.each((null==D?de:"function"==typeof D?ke:xe)(f,D,a??"")):_t(this.node(),f)},property:function vt(f,D){return arguments.length>1?this.each((null==D?ct:"function"==typeof D?Jt:nt)(f,D)):this.node()[f]},classed:function It(f,D){var a=ne(f+"");if(arguments.length<2){for(var x=Ht(this.node()),V=-1,K=a.length;++V<K;)if(!x.contains(a[V]))return!1;return!0}return this.each(("function"==typeof D?Bt:D?Re:tt)(a,D))},text:function J(f){return arguments.length?this.each(null==f?zt:("function"==typeof f?we:xt)(f)):this.node().textContent},html:function ii(f){return arguments.length?this.each(null==f?be:("function"==typeof f?at:Fe)(f)):this.node().innerHTML},raise:function ei(){return this.each(Gt)},lower:function rt(){return this.each(ht)},append:function Vt(f){var D="function"==typeof f?f:Ut(f);return this.select(function(){return this.appendChild(D.apply(this,arguments))})},insert:function Qe(f,D){var a="function"==typeof f?f:Ut(f),x=null==D?Ft:"function"==typeof D?D:d(D);return this.select(function(){return this.insertBefore(a.apply(this,arguments),x.apply(this,arguments)||null)})},remove:function je(){return this.each(Ve)},clone:function mi(f){return this.select(f?Et:Xe)},datum:function Li(f){return arguments.length?this.property("__data__",f):this.node().__data__},on:function ge(f,D,a){var V,Te,x=Vi(f+""),K=x.length;if(!(arguments.length<2)){for(lt=D?Tt:qe,V=0;V<K;++V)this.each(lt(x[V],D,a));return this}var lt=this.node().__on;if(lt)for(var hi,qt=0,jt=lt.length;qt<jt;++qt)for(V=0,hi=lt[qt];V<K;++V)if((Te=x[V]).type===hi.type&&Te.name===hi.name)return hi.value},dispatch:function Mi(f,D){return this.each(("function"==typeof D?fi:Kt)(f,D))},[Symbol.iterator]:function*Pi(){for(var f=this._groups,D=0,a=f.length;D<a;++D)for(var Te,x=f[D],V=0,K=x.length;V<K;++V)(Te=x[V])&&(yield Te)}};const $e=si;var mt={value:()=>{}};function ui(){for(var x,f=0,D=arguments.length,a={};f<D;++f){if(!(x=arguments[f]+"")||x in a||/[\s.]/.test(x))throw new Error("illegal type: "+x);a[x]=[]}return new Qt(a)}function Qt(f){this._=f}function li(f,D){return f.trim().split(/^|\s+/).map(function(a){var x="",V=a.indexOf(".");if(V>=0&&(x=a.slice(V+1),a=a.slice(0,V)),a&&!D.hasOwnProperty(a))throw new Error("unknown type: "+a);return{type:a,name:x}})}function tn(f,D){for(var V,a=0,x=f.length;a<x;++a)if((V=f[a]).name===D)return V.value}function dn(f,D,a){for(var x=0,V=f.length;x<V;++x)if(f[x].name===D){f[x]=mt,f=f.slice(0,x).concat(f.slice(x+1));break}return null!=a&&f.push({name:D,value:a}),f}Qt.prototype=ui.prototype={constructor:Qt,on:function(f,D){var V,a=this._,x=li(f+"",a),K=-1,Te=x.length;if(!(arguments.length<2)){if(null!=D&&"function"!=typeof D)throw new Error("invalid callback: "+D);for(;++K<Te;)if(V=(f=x[K]).type)a[V]=dn(a[V],f.name,D);else if(null==D)for(V in a)a[V]=dn(a[V],f.name,null);return this}for(;++K<Te;)if((V=(f=x[K]).type)&&(V=tn(a[V],f.name)))return V},copy:function(){var f={},D=this._;for(var a in D)f[a]=D[a].slice();return new Qt(f)},call:function(f,D){if((V=arguments.length-2)>0)for(var V,K,a=new Array(V),x=0;x<V;++x)a[x]=arguments[x+2];if(!this._.hasOwnProperty(f))throw new Error("unknown type: "+f);for(x=0,V=(K=this._[f]).length;x<V;++x)K[x].value.apply(D,a)},apply:function(f,D,a){if(!this._.hasOwnProperty(f))throw new Error("unknown type: "+f);for(var x=this._[f],V=0,K=x.length;V<K;++V)x[V].value.apply(D,a)}};const Pn=ui;function Fr(f,D,a){f.prototype=D.prototype=a,a.constructor=f}function Wr(f,D){var a=Object.create(f.prototype);for(var x in D)a[x]=D[x];return a}function Ai(){}var Zt=1/.7,vi="\\s*([+-]?\\d+)\\s*",pi="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",bi="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Fi=/^#([0-9a-f]{3,8})$/,qi=new RegExp("^rgb\\("+[vi,vi,vi]+"\\)$"),wn=new RegExp("^rgb\\("+[bi,bi,bi]+"\\)$"),qn=new RegExp("^rgba\\("+[vi,vi,vi,pi]+"\\)$"),Bn=new RegExp("^rgba\\("+[bi,bi,bi,pi]+"\\)$"),ar=new RegExp("^hsl\\("+[pi,bi,bi]+"\\)$"),Nn=new RegExp("^hsla\\("+[pi,bi,bi,pi]+"\\)$"),Fn={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 ma(){return this.rgb().formatHex()}function ur(){return this.rgb().formatRgb()}function za(f){var D,a;return f=(f+"").trim().toLowerCase(),(D=Fi.exec(f))?(a=D[1].length,D=parseInt(D[1],16),6===a?Hr(D):3===a?new Er(D>>8&15|D>>4&240,D>>4&15|240&D,(15&D)<<4|15&D,1):8===a?Yr(D>>24&255,D>>16&255,D>>8&255,(255&D)/255):4===a?Yr(D>>12&15|D>>8&240,D>>8&15|D>>4&240,D>>4&15|240&D,((15&D)<<4|15&D)/255):null):(D=qi.exec(f))?new Er(D[1],D[2],D[3],1):(D=wn.exec(f))?new Er(255*D[1]/100,255*D[2]/100,255*D[3]/100,1):(D=qn.exec(f))?Yr(D[1],D[2],D[3],D[4]):(D=Bn.exec(f))?Yr(255*D[1]/100,255*D[2]/100,255*D[3]/100,D[4]):(D=ar.exec(f))?cs(D[1],D[2]/100,D[3]/100,1):(D=Nn.exec(f))?cs(D[1],D[2]/100,D[3]/100,D[4]):Fn.hasOwnProperty(f)?Hr(Fn[f]):"transparent"===f?new Er(NaN,NaN,NaN,0):null}function Hr(f){return new Er(f>>16&255,f>>8&255,255&f,1)}function Yr(f,D,a,x){return x<=0&&(f=D=a=NaN),new Er(f,D,a,x)}function dr(f){return f instanceof Ai||(f=za(f)),f?new Er((f=f.rgb()).r,f.g,f.b,f.opacity):new Er}function Lr(f,D,a,x){return 1===arguments.length?dr(f):new Er(f,D,a,x??1)}function Er(f,D,a,x){this.r=+f,this.g=+D,this.b=+a,this.opacity=+x}function os(){return"#"+Va(this.r)+Va(this.g)+Va(this.b)}function Ca(){var f=this.opacity;return(1===(f=isNaN(f)?1:Math.max(0,Math.min(1,f)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===f?")":", "+f+")")}function Va(f){return((f=Math.max(0,Math.min(255,Math.round(f)||0)))<16?"0":"")+f.toString(16)}function cs(f,D,a,x){return x<=0?f=D=a=NaN:a<=0||a>=1?f=D=NaN:D<=0&&(f=NaN),new Dr(f,D,a,x)}function zr(f){if(f instanceof Dr)return new Dr(f.h,f.s,f.l,f.opacity);if(f instanceof Ai||(f=za(f)),!f)return new Dr;if(f instanceof Dr)return f;var D=(f=f.rgb()).r/255,a=f.g/255,x=f.b/255,V=Math.min(D,a,x),K=Math.max(D,a,x),Te=NaN,lt=K-V,qt=(K+V)/2;return lt?(Te=D===K?(a-x)/lt+6*(a<x):a===K?(x-D)/lt+2:(D-a)/lt+4,lt/=qt<.5?K+V:2-K-V,Te*=60):lt=qt>0&&qt<1?0:Te,new Dr(Te,lt,qt,f.opacity)}function Dr(f,D,a,x){this.h=+f,this.s=+D,this.l=+a,this.opacity=+x}function xs(f,D,a){return 255*(f<60?D+(a-D)*f/60:f<180?a:f<240?D+(a-D)*(240-f)/60:D)}function qa(f,D,a,x,V){var K=f*f,Te=K*f;return((1-3*f+3*K-Te)*D+(4-6*K+3*Te)*a+(1+3*f+3*K-3*Te)*x+Te*V)/6}Fr(Ai,za,{copy:function(f){return Object.assign(new this.constructor,this,f)},displayable:function(){return this.rgb().displayable()},hex:ma,formatHex:ma,formatHsl:function ir(){return zr(this).formatHsl()},formatRgb:ur,toString:ur}),Fr(Er,Lr,Wr(Ai,{brighter:function(f){return f=null==f?Zt:Math.pow(Zt,f),new Er(this.r*f,this.g*f,this.b*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new Er(this.r*f,this.g*f,this.b*f,this.opacity)},rgb:function(){return this},displayable:function(){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:os,formatHex:os,formatRgb:Ca,toString:Ca})),Fr(Dr,function ls(f,D,a,x){return 1===arguments.length?zr(f):new Dr(f,D,a,x??1)},Wr(Ai,{brighter:function(f){return f=null==f?Zt:Math.pow(Zt,f),new Dr(this.h,this.s,this.l*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new Dr(this.h,this.s,this.l*f,this.opacity)},rgb:function(){var f=this.h%360+360*(this.h<0),D=isNaN(f)||isNaN(this.s)?0:this.s,a=this.l,x=a+(a<.5?a:1-a)*D,V=2*a-x;return new Er(xs(f>=240?f-240:f+120,V,x),xs(f,V,x),xs(f<120?f+240:f-120,V,x),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var f=this.opacity;return(1===(f=isNaN(f)?1:Math.max(0,Math.min(1,f)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===f?")":", "+f+")")}}));const wa=f=>()=>f;function pa(f,D){var a=D-f;return a?function ds(f,D){return function(a){return f+a*D}}(f,a):wa(isNaN(f)?D:f)}const Ja=function f(D){var a=function Oa(f){return 1==(f=+f)?pa:function(D,a){return a-D?function hs(f,D,a){return f=Math.pow(f,a),D=Math.pow(D,a)-f,a=1/a,function(x){return Math.pow(f+x*D,a)}}(D,a,f):wa(isNaN(D)?a:D)}}(D);function x(V,K){var Te=a((V=Lr(V)).r,(K=Lr(K)).r),lt=a(V.g,K.g),qt=a(V.b,K.b),jt=pa(V.opacity,K.opacity);return function(hi){return V.r=Te(hi),V.g=lt(hi),V.b=qt(hi),V.opacity=jt(hi),V+""}}return x.gamma=f,x}(1);function fr(f){return function(D){var Te,lt,a=D.length,x=new Array(a),V=new Array(a),K=new Array(a);for(Te=0;Te<a;++Te)lt=Lr(D[Te]),x[Te]=lt.r||0,V[Te]=lt.g||0,K[Te]=lt.b||0;return x=f(x),V=f(V),K=f(K),lt.opacity=1,function(qt){return lt.r=x(qt),lt.g=V(qt),lt.b=K(qt),lt+""}}}function Ma(f,D){var Te,a=D?D.length:0,x=f?Math.min(a,f.length):0,V=new Array(x),K=new Array(a);for(Te=0;Te<x;++Te)V[Te]=Jn(f[Te],D[Te]);for(;Te<a;++Te)K[Te]=D[Te];return function(lt){for(Te=0;Te<x;++Te)K[Te]=V[Te](lt);return K}}function us(f,D){var a=new Date;return f=+f,D=+D,function(x){return a.setTime(f*(1-x)+D*x),a}}function Zr(f,D){return f=+f,D=+D,function(a){return f*(1-a)+D*a}}function Sa(f,D){var V,a={},x={};for(V in(null===f||"object"!=typeof f)&&(f={}),(null===D||"object"!=typeof D)&&(D={}),D)V in f?a[V]=Jn(f[V],D[V]):x[V]=D[V];return function(K){for(V in a)x[V]=a[V](K);return x}}fr(function Rs(f){var D=f.length-1;return function(a){var x=a<=0?a=0:a>=1?(a=1,D-1):Math.floor(a*D),V=f[x],K=f[x+1];return qa((a-x/D)*D,x>0?f[x-1]:2*V-K,V,K,x<D-1?f[x+2]:2*K-V)}}),fr(function Ns(f){var D=f.length;return function(a){var x=Math.floor(((a%=1)<0?++a:a)*D);return qa((a-x/D)*D,f[(x+D-1)%D],f[x%D],f[(x+1)%D],f[(x+2)%D])}});var Ba=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Jr=new RegExp(Ba.source,"g");function $n(f,D){var x,V,K,a=Ba.lastIndex=Jr.lastIndex=0,Te=-1,lt=[],qt=[];for(f+="",D+="";(x=Ba.exec(f))&&(V=Jr.exec(D));)(K=V.index)>a&&(K=D.slice(a,K),lt[Te]?lt[Te]+=K:lt[++Te]=K),(x=x[0])===(V=V[0])?lt[Te]?lt[Te]+=V:lt[++Te]=V:(lt[++Te]=null,qt.push({i:Te,x:Zr(x,V)})),a=Jr.lastIndex;return a<D.length&&(K=D.slice(a),lt[Te]?lt[Te]+=K:lt[++Te]=K),lt.length<2?qt[0]?function $a(f){return function(D){return f(D)+""}}(qt[0].x):function fs(f){return function(){return f}}(D):(D=qt.length,function(jt){for(var Ci,hi=0;hi<D;++hi)lt[(Ci=qt[hi]).i]=Ci.x(jt);return lt.join("")})}function Ua(f,D){D||(D=[]);var V,a=f?Math.min(D.length,f.length):0,x=D.slice();return function(K){for(V=0;V<a;++V)x[V]=f[V]*(1-K)+D[V]*K;return x}}function Jn(f,D){var x,a=typeof D;return null==D||"boolean"===a?wa(D):("number"===a?Zr:"string"===a?(x=za(D))?(D=x,Ja):$n:D instanceof za?Ja:D instanceof Date?us:function sr(f){return ArrayBuffer.isView(f)&&!(f instanceof DataView)}(D)?Ua:Array.isArray(D)?Ma:"function"!=typeof D.valueOf&&"function"!=typeof D.toString||isNaN(D)?Sa:Zr)(f,D)}var bt,ai,hr=0,es=0,Rt=0,Hi=0,nn=0,Zn=0,br="object"==typeof performance&&performance.now?performance:Date,Ji="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(f){setTimeout(f,17)};function Mn(){return nn||(Ji(Xr),nn=br.now()+Zn)}function Xr(){nn=0}function st(){this._call=this._time=this._next=null}function et(f,D,a){var x=new st;return x.restart(f,D,a),x}function Ot(){nn=(Hi=br.now())+Zn,hr=es=0;try{!function We(){Mn(),++hr;for(var D,f=bt;f;)(D=nn-f._time)>=0&&f._call.call(null,D),f=f._next;--hr}()}finally{hr=0,function Zi(){for(var f,a,D=bt,x=1/0;D;)D._call?(x>D._time&&(x=D._time),f=D,D=D._next):(a=D._next,D._next=null,D=f?f._next=a:bt=a);ai=f,or(x)}(),nn=0}}function Ti(){var f=br.now(),D=f-Hi;D>1e3&&(Zn-=D,Hi=f)}function or(f){hr||(es&&(es=clearTimeout(es)),f-nn>24?(f<1/0&&(es=setTimeout(Ot,f-br.now()-Zn)),Rt&&(Rt=clearInterval(Rt))):(Rt||(Hi=br.now(),Rt=setInterval(Ti,1e3)),hr=1,Ji(Ot)))}function Ni(f,D,a){var x=new st;return x.restart(V=>{x.stop(),f(V+D)},D=null==D?0:+D,a),x}st.prototype=et.prototype={constructor:st,restart:function(f,D,a){if("function"!=typeof f)throw new TypeError("callback is not a function");a=(null==a?Mn():+a)+(null==D?0:+D),!this._next&&ai!==this&&(ai?ai._next=this:bt=this,ai=this),this._call=f,this._time=a,or()},stop:function(){this._call&&(this._call=null,this._time=1/0,or())}};var Un=Pn("start","end","cancel","interrupt"),Fs=[];function to(f,D,a,x,V,K){var Te=f.__transition;if(Te){if(a in Te)return}else f.__transition={};!function Ri(f,D,a){var V,x=f.__transition;function Te(jt){var hi,Ci,Ei,Ii;if(1!==a.state)return qt();for(hi in x)if((Ii=x[hi]).name===a.name){if(3===Ii.state)return Ni(Te);4===Ii.state?(Ii.state=6,Ii.timer.stop(),Ii.on.call("interrupt",f,f.__data__,Ii.index,Ii.group),delete x[hi]):+hi<D&&(Ii.state=6,Ii.timer.stop(),Ii.on.call("cancel",f,f.__data__,Ii.index,Ii.group),delete x[hi])}if(Ni(function(){3===a.state&&(a.state=4,a.timer.restart(lt,a.delay,a.time),lt(jt))}),a.state=2,a.on.call("start",f,f.__data__,a.index,a.group),2===a.state){for(a.state=3,V=new Array(Ei=a.tween.length),hi=0,Ci=-1;hi<Ei;++hi)(Ii=a.tween[hi].value.call(f,f.__data__,a.index,a.group))&&(V[++Ci]=Ii);V.length=Ci+1}}function lt(jt){for(var hi=jt<a.duration?a.ease.call(null,jt/a.duration):(a.timer.restart(qt),a.state=5,1),Ci=-1,Ei=V.length;++Ci<Ei;)V[Ci].call(f,hi);5===a.state&&(a.on.call("end",f,f.__data__,a.index,a.group),qt())}function qt(){for(var jt in a.state=6,a.timer.stop(),delete x[D],x)return;delete f.__transition}x[D]=a,a.timer=et(function K(jt){a.state=1,a.timer.restart(Te,a.delay,a.time),a.delay<=jt&&Te(jt-a.delay)},0,a.time)}(f,a,{name:D,index:x,group:V,on:Un,tween:Fs,time:K.time,delay:K.delay,duration:K.duration,ease:K.ease,timer:null,state:0})}function io(f,D){var a=In(f,D);if(a.state>0)throw new Error("too late; already scheduled");return a}function jr(f,D){var a=In(f,D);if(a.state>3)throw new Error("too late; already running");return a}function In(f,D){var a=f.__transition;if(!a||!(a=a[D]))throw new Error("transition not found");return a}var ro,Bi=180/Math.PI,no={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ws(f,D,a,x,V,K){var Te,lt,qt;return(Te=Math.sqrt(f*f+D*D))&&(f/=Te,D/=Te),(qt=f*a+D*x)&&(a-=f*qt,x-=D*qt),(lt=Math.sqrt(a*a+x*x))&&(a/=lt,x/=lt,qt/=lt),f*x<D*a&&(f=-f,D=-D,qt=-qt,Te=-Te),{translateX:V,translateY:K,rotate:Math.atan2(D,f)*Bi,skewX:Math.atan(qt)*Bi,scaleX:Te,scaleY:lt}}function Ms(f,D,a,x){function V(jt){return jt.length?jt.pop()+" ":""}return function(jt,hi){var Ci=[],Ei=[];return jt=f(jt),hi=f(hi),function K(jt,hi,Ci,Ei,Ii,cn){if(jt!==Ci||hi!==Ei){var bn=Ii.push("translate(",null,D,null,a);cn.push({i:bn-4,x:Zr(jt,Ci)},{i:bn-2,x:Zr(hi,Ei)})}else(Ci||Ei)&&Ii.push("translate("+Ci+D+Ei+a)}(jt.translateX,jt.translateY,hi.translateX,hi.translateY,Ci,Ei),function Te(jt,hi,Ci,Ei){jt!==hi?(jt-hi>180?hi+=360:hi-jt>180&&(jt+=360),Ei.push({i:Ci.push(V(Ci)+"rotate(",null,x)-2,x:Zr(jt,hi)})):hi&&Ci.push(V(Ci)+"rotate("+hi+x)}(jt.rotate,hi.rotate,Ci,Ei),function lt(jt,hi,Ci,Ei){jt!==hi?Ei.push({i:Ci.push(V(Ci)+"skewX(",null,x)-2,x:Zr(jt,hi)}):hi&&Ci.push(V(Ci)+"skewX("+hi+x)}(jt.skewX,hi.skewX,Ci,Ei),function qt(jt,hi,Ci,Ei,Ii,cn){if(jt!==Ci||hi!==Ei){var bn=Ii.push(V(Ii)+"scale(",null,",",null,")");cn.push({i:bn-4,x:Zr(jt,Ci)},{i:bn-2,x:Zr(hi,Ei)})}else(1!==Ci||1!==Ei)&&Ii.push(V(Ii)+"scale("+Ci+","+Ei+")")}(jt.scaleX,jt.scaleY,hi.scaleX,hi.scaleY,Ci,Ei),jt=hi=null,function(Ii){for(var ki,cn=-1,bn=Ei.length;++cn<bn;)Ci[(ki=Ei[cn]).i]=ki.x(Ii);return Ci.join("")}}}var js=Ms(function yo(f){const D=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(f+"");return D.isIdentity?no:ws(D.a,D.b,D.c,D.d,D.e,D.f)},"px, ","px)","deg)"),Ks=Ms(function Ys(f){return null!=f&&(ro||(ro=document.createElementNS("http://www.w3.org/2000/svg","g")),ro.setAttribute("transform",f),f=ro.transform.baseVal.consolidate())?ws((f=f.matrix).a,f.b,f.c,f.d,f.e,f.f):no},", ",")",")");function rc(f,D){var a,x;return function(){var V=jr(this,f),K=V.tween;if(K!==a)for(var Te=0,lt=(x=a=K).length;Te<lt;++Te)if(x[Te].name===D){(x=x.slice()).splice(Te,1);break}V.tween=x}}function ac(f,D,a){var x,V;if("function"!=typeof a)throw new Error;return function(){var K=jr(this,f),Te=K.tween;if(Te!==x){V=(x=Te).slice();for(var lt={name:D,value:a},qt=0,jt=V.length;qt<jt;++qt)if(V[qt].name===D){V[qt]=lt;break}qt===jt&&V.push(lt)}K.tween=V}}function Bo(f,D,a){var x=f._id;return f.each(function(){var V=jr(this,x);(V.value||(V.value={}))[D]=a.apply(this,arguments)}),function(V){return In(V,x).value[D]}}function xo(f,D,a){f.prototype=D.prototype=a,a.constructor=f}function Co(f,D){var a=Object.create(f.prototype);for(var x in D)a[x]=D[x];return a}function wr(){}var zs=1/.7,an="\\s*([+-]?\\d+)\\s*",Ir="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",$r="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",mr=/^#([0-9a-f]{3,8})$/,wo=new RegExp("^rgb\\("+[an,an,an]+"\\)$"),oc=new RegExp("^rgb\\("+[$r,$r,$r]+"\\)$"),cc=new RegExp("^rgba\\("+[an,an,an,Ir]+"\\)$"),Yn=new RegExp("^rgba\\("+[$r,$r,$r,Ir]+"\\)$"),Qi=new RegExp("^hsl\\("+[Ir,$r,$r]+"\\)$"),Pe=new RegExp("^hsla\\("+[Ir,$r,$r,Ir]+"\\)$"),gt={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 Le(){return this.rgb().formatHex()}function ni(){return this.rgb().formatRgb()}function He(f){var D,a;return f=(f+"").trim().toLowerCase(),(D=mr.exec(f))?(a=D[1].length,D=parseInt(D[1],16),6===a?ut(D):3===a?new Xt(D>>8&15|D>>4&240,D>>4&15|240&D,(15&D)<<4|15&D,1):8===a?Ct(D>>24&255,D>>16&255,D>>8&255,(255&D)/255):4===a?Ct(D>>12&15|D>>8&240,D>>8&15|D>>4&240,D>>4&15|240&D,((15&D)<<4|15&D)/255):null):(D=wo.exec(f))?new Xt(D[1],D[2],D[3],1):(D=oc.exec(f))?new Xt(255*D[1]/100,255*D[2]/100,255*D[3]/100,1):(D=cc.exec(f))?Ct(D[1],D[2],D[3],D[4]):(D=Yn.exec(f))?Ct(255*D[1]/100,255*D[2]/100,255*D[3]/100,D[4]):(D=Qi.exec(f))?Oi(D[1],D[2]/100,D[3]/100,1):(D=Pe.exec(f))?Oi(D[1],D[2]/100,D[3]/100,D[4]):gt.hasOwnProperty(f)?ut(gt[f]):"transparent"===f?new Xt(NaN,NaN,NaN,0):null}function ut(f){return new Xt(f>>16&255,f>>8&255,255&f,1)}function Ct(f,D,a,x){return x<=0&&(f=D=a=NaN),new Xt(f,D,a,x)}function Nt(f){return f instanceof wr||(f=He(f)),f?new Xt((f=f.rgb()).r,f.g,f.b,f.opacity):new Xt}function Xt(f,D,a,x){this.r=+f,this.g=+D,this.b=+a,this.opacity=+x}function di(){return"#"+yi(this.r)+yi(this.g)+yi(this.b)}function ti(){var f=this.opacity;return(1===(f=isNaN(f)?1:Math.max(0,Math.min(1,f)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===f?")":", "+f+")")}function yi(f){return((f=Math.max(0,Math.min(255,Math.round(f)||0)))<16?"0":"")+f.toString(16)}function Oi(f,D,a,x){return x<=0?f=D=a=NaN:a<=0||a>=1?f=D=NaN:D<=0&&(f=NaN),new un(f,D,a,x)}function Wi(f){if(f instanceof un)return new un(f.h,f.s,f.l,f.opacity);if(f instanceof wr||(f=He(f)),!f)return new un;if(f instanceof un)return f;var D=(f=f.rgb()).r/255,a=f.g/255,x=f.b/255,V=Math.min(D,a,x),K=Math.max(D,a,x),Te=NaN,lt=K-V,qt=(K+V)/2;return lt?(Te=D===K?(a-x)/lt+6*(a<x):a===K?(x-D)/lt+2:(D-a)/lt+4,lt/=qt<.5?K+V:2-K-V,Te*=60):lt=qt>0&&qt<1?0:Te,new un(Te,lt,qt,f.opacity)}function un(f,D,a,x){this.h=+f,this.s=+D,this.l=+a,this.opacity=+x}function Sn(f,D,a){return 255*(f<60?D+(a-D)*f/60:f<180?a:f<240?D+(a-D)*(240-f)/60:D)}function yr(f,D){var a;return("number"==typeof D?Zr:D instanceof He?Ja:(a=He(D))?(D=a,Ja):$n)(f,D)}function kr(f){return function(){this.removeAttribute(f)}}function ra(f){return function(){this.removeAttributeNS(f.space,f.local)}}function ea(f,D,a){var x,K,V=a+"";return function(){var Te=this.getAttribute(f);return Te===V?null:Te===x?K:K=D(x=Te,a)}}function Or(f,D,a){var x,K,V=a+"";return function(){var Te=this.getAttributeNS(f.space,f.local);return Te===V?null:Te===x?K:K=D(x=Te,a)}}function Tr(f,D,a){var x,V,K;return function(){var Te,qt,lt=a(this);return null==lt?void this.removeAttribute(f):(Te=this.getAttribute(f))===(qt=lt+"")?null:Te===x&&qt===V?K:(V=qt,K=D(x=Te,lt))}}function _a(f,D,a){var x,V,K;return function(){var Te,qt,lt=a(this);return null==lt?void this.removeAttributeNS(f.space,f.local):(Te=this.getAttributeNS(f.space,f.local))===(qt=lt+"")?null:Te===x&&qt===V?K:(V=qt,K=D(x=Te,lt))}}function rs(f,D){return function(a){this.setAttribute(f,D.call(this,a))}}function aa(f,D){return function(a){this.setAttributeNS(f.space,f.local,D.call(this,a))}}function Za(f,D){var a,x;function V(){var K=D.apply(this,arguments);return K!==x&&(a=(x=K)&&aa(f,K)),a}return V._value=D,V}function ps(f,D){var a,x;function V(){var K=D.apply(this,arguments);return K!==x&&(a=(x=K)&&rs(f,K)),a}return V._value=D,V}function Vs(f,D){return function(){io(this,f).delay=+D.apply(this,arguments)}}function Fl(f,D){return D=+D,function(){io(this,f).delay=D}}function rl(f,D){return function(){jr(this,f).duration=+D.apply(this,arguments)}}function lc(f,D){return D=+D,function(){jr(this,f).duration=D}}function al(f,D){if("function"!=typeof D)throw new Error;return function(){jr(this,f).ease=D}}function Bs(f,D,a){var x,V,K=function sl(f){return(f+"").trim().split(/^|\s+/).every(function(D){var a=D.indexOf(".");return a>=0&&(D=D.slice(0,a)),!D||"start"===D})}(D)?io:jr;return function(){var Te=K(this,f),lt=Te.on;lt!==x&&(V=(x=lt).copy()).on(D,a),Te.on=V}}xo(wr,He,{copy:function(f){return Object.assign(new this.constructor,this,f)},displayable:function(){return this.rgb().displayable()},hex:Le,formatHex:Le,formatHsl:function Mt(){return Wi(this).formatHsl()},formatRgb:ni,toString:ni}),xo(Xt,function Je(f,D,a,x){return 1===arguments.length?Nt(f):new Xt(f,D,a,x??1)},Co(wr,{brighter:function(f){return f=null==f?zs:Math.pow(zs,f),new Xt(this.r*f,this.g*f,this.b*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new Xt(this.r*f,this.g*f,this.b*f,this.opacity)},rgb:function(){return this},displayable:function(){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:di,formatHex:di,formatRgb:ti,toString:ti})),xo(un,function sn(f,D,a,x){return 1===arguments.length?Wi(f):new un(f,D,a,x??1)},Co(wr,{brighter:function(f){return f=null==f?zs:Math.pow(zs,f),new un(this.h,this.s,this.l*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new un(this.h,this.s,this.l*f,this.opacity)},rgb:function(){var f=this.h%360+360*(this.h<0),D=isNaN(f)||isNaN(this.s)?0:this.s,a=this.l,x=a+(a<.5?a:1-a)*D,V=2*a-x;return new Xt(Sn(f>=240?f-240:f+120,V,x),Sn(f,V,x),Sn(f<120?f+240:f-120,V,x),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var f=this.opacity;return(1===(f=isNaN(f)?1:Math.max(0,Math.min(1,f)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===f?")":", "+f+")")}}));var So=$e.prototype.constructor;function cl(f){return function(){this.style.removeProperty(f)}}function ao(f,D,a){return function(x){this.style.setProperty(f,D.call(this,x),a)}}function zl(f,D,a){var x,V;function K(){var Te=D.apply(this,arguments);return Te!==V&&(x=(V=Te)&&ao(f,Te,a)),x}return K._value=D,K}function xr(f){return function(D){this.textContent=f.call(this,D)}}function q2(f){var D,a;function x(){var V=f.apply(this,arguments);return V!==a&&(D=(a=V)&&xr(V)),D}return x._value=f,x}var R1=0;function so(f,D,a,x){this._groups=f,this._parents=D,this._name=a,this._id=x}function Eo(){return++R1}var Zo=$e.prototype;so.prototype=function ed(f){return $e().transition(f)}.prototype={constructor:so,select:function kc(f){var D=this._name,a=this._id;"function"!=typeof f&&(f=d(f));for(var x=this._groups,V=x.length,K=new Array(V),Te=0;Te<V;++Te)for(var hi,Ci,lt=x[Te],qt=lt.length,jt=K[Te]=new Array(qt),Ei=0;Ei<qt;++Ei)(hi=lt[Ei])&&(Ci=f.call(hi,hi.__data__,Ei,lt))&&("__data__"in hi&&(Ci.__data__=hi.__data__),jt[Ei]=Ci,to(jt[Ei],D,a,Ei,jt,In(hi,a)));return new so(K,this._parents,D,a)},selectAll:function gs(f){var D=this._name,a=this._id;"function"!=typeof f&&(f=I(f));for(var x=this._groups,V=x.length,K=[],Te=[],lt=0;lt<V;++lt)for(var hi,qt=x[lt],jt=qt.length,Ci=0;Ci<jt;++Ci)if(hi=qt[Ci]){for(var Ii,Ei=f.call(hi,hi.__data__,Ci,qt),cn=In(hi,a),bn=0,ki=Ei.length;bn<ki;++bn)(Ii=Ei[bn])&&to(Ii,D,a,bn,Ei,cn);K.push(Ei),Te.push(hi)}return new so(K,Te,D,a)},filter:function Hl(f){"function"!=typeof f&&(f=Z(f));for(var D=this._groups,a=D.length,x=new Array(a),V=0;V<a;++V)for(var qt,K=D[V],Te=K.length,lt=x[V]=[],jt=0;jt<Te;++jt)(qt=K[jt])&&f.call(qt,qt.__data__,jt,K)&&lt.push(qt);return new so(x,this._parents,this._name,this._id)},merge:function Ic(f){if(f._id!==this._id)throw new Error;for(var D=this._groups,a=f._groups,x=D.length,K=Math.min(x,a.length),Te=new Array(x),lt=0;lt<K;++lt)for(var Ei,qt=D[lt],jt=a[lt],hi=qt.length,Ci=Te[lt]=new Array(hi),Ii=0;Ii<hi;++Ii)(Ei=qt[Ii]||jt[Ii])&&(Ci[Ii]=Ei);for(;lt<x;++lt)Te[lt]=D[lt];return new so(Te,this._parents,this._name,this._id)},selection:function P1(){return new So(this._groups,this._parents)},transition:function X2(){for(var f=this._name,D=this._id,a=Eo(),x=this._groups,V=x.length,K=0;K<V;++K)for(var qt,Te=x[K],lt=Te.length,jt=0;jt<lt;++jt)if(qt=Te[jt]){var hi=In(qt,D);to(qt,f,a,jt,Te,{time:hi.time+hi.delay+hi.duration,delay:0,duration:hi.duration,ease:hi.ease})}return new so(x,this._parents,f,a)},call:Zo.call,nodes:Zo.nodes,node:Zo.node,size:Zo.size,empty:Zo.empty,each:Zo.each,on:function Uo(f,D){var a=this._id;return arguments.length<2?In(this.node(),a).on.on(f):this.each(Bs(a,f,D))},attr:function gr(f,D){var a=te(f),x="transform"===a?Ks:yr;return this.attrTween(f,"function"==typeof D?(a.local?_a:Tr)(a,x,Bo(this,"attr."+f,D)):null==D?(a.local?ra:kr)(a):(a.local?Or:ea)(a,x,D))},attrTween:function nl(f,D){var a="attr."+f;if(arguments.length<2)return(a=this.tween(a))&&a._value;if(null==D)return this.tween(a,null);if("function"!=typeof D)throw new Error;var x=te(f);return this.tween(a,(x.local?Za:ps)(x,D))},style:function Ss(f,D,a){var x="transform"==(f+="")?js:yr;return null==D?this.styleTween(f,function Oc(f,D){var a,x,V;return function(){var K=_t(this,f),Te=(this.style.removeProperty(f),_t(this,f));return K===Te?null:K===a&&Te===x?V:V=D(a=K,x=Te)}}(f,x)).on("end.style."+f,cl(f)):"function"==typeof D?this.styleTween(f,function Rc(f,D,a){var x,V,K;return function(){var Te=_t(this,f),lt=a(this),qt=lt+"";return null==lt&&(this.style.removeProperty(f),qt=lt=_t(this,f)),Te===qt?null:Te===x&&qt===V?K:(V=qt,K=D(x=Te,lt))}}(f,x,Bo(this,"style."+f,D))).each(function Go(f,D){var a,x,V,lt,K="style."+D,Te="end."+K;return function(){var qt=jr(this,f),jt=qt.on,hi=null==qt.value[K]?lt||(lt=cl(D)):void 0;(jt!==a||V!==hi)&&(x=(a=jt).copy()).on(Te,V=hi),qt.on=x}}(this._id,f)):this.styleTween(f,function Pc(f,D,a){var x,K,V=a+"";return function(){var Te=_t(this,f);return Te===V?null:Te===x?K:K=D(x=Te,a)}}(f,x,D),a).on("end.style."+f,null)},styleTween:function Vl(f,D,a){var x="style."+(f+="");if(arguments.length<2)return(x=this.tween(x))&&x._value;if(null==D)return this.tween(x,null);if("function"!=typeof D)throw new Error;return this.tween(x,zl(f,D,a??""))},text:function hc(f){return this.tween("text","function"==typeof f?function Q0(f){return function(){var D=f(this);this.textContent=D??""}}(Bo(this,"text",f)):function Es(f){return function(){this.textContent=f}}(null==f?"":f+""))},textTween:function J2(f){var D="text";if(arguments.length<1)return(D=this.tween(D))&&D._value;if(null==f)return this.tween(D,null);if("function"!=typeof f)throw new Error;return this.tween(D,q2(f))},remove:function Mo(){return this.on("end.remove",function ol(f){return function(){var D=this.parentNode;for(var a in this.__transition)if(+a!==f)return;D&&D.removeChild(this)}}(this._id))},tween:function sc(f,D){var a=this._id;if(f+="",arguments.length<2){for(var Te,x=In(this.node(),a).tween,V=0,K=x.length;V<K;++V)if((Te=x[V]).name===f)return Te.value;return null}return this.each((null==D?rc:ac)(a,f,D))},delay:function va(f){var D=this._id;return arguments.length?this.each(("function"==typeof f?Vs:Fl)(D,f)):In(this.node(),D).delay},duration:function dc(f){var D=this._id;return arguments.length?this.each(("function"==typeof f?rl:lc)(D,f)):In(this.node(),D).duration},ease:function Dc(f){var D=this._id;return arguments.length?this.each(al(D,f)):In(this.node(),D).ease},easeVarying:function O1(f){if("function"!=typeof f)throw new Error;return this.each(function k1(f,D){return function(){var a=D.apply(this,arguments);if("function"!=typeof a)throw new Error;jr(this,f).ease=a}}(this._id,f))},end:function $2(){var f,D,a=this,x=a._id,V=a.size();return new Promise(function(K,Te){var lt={value:Te},qt={value:function(){0==--V&&K()}};a.each(function(){var jt=jr(this,x),hi=jt.on;hi!==f&&((D=(f=hi).copy())._.cancel.push(lt),D._.interrupt.push(lt),D._.end.push(qt)),jt.on=D}),0===V&&K()})},[Symbol.iterator]:Zo[Symbol.iterator]};var re={time:null,delay:0,duration:250,ease:function Ce(f){return((f*=2)<=1?f*f*f:(f-=2)*f*f+2)/2}};function Ue(f,D){for(var a;!(a=f.__transition)||!(a=a[D]);)if(!(f=f.parentNode))throw new Error(`transition ${D} not found`);return a}$e.prototype.interrupt=function Cs(f){return this.each(function(){!function is(f,D){var x,V,Te,a=f.__transition,K=!0;if(a){for(Te in D=null==D?null:D+"",a)(x=a[Te]).name===D?(V=x.state>2&&x.state<5,x.state=6,x.timer.stop(),x.on.call(V?"interrupt":"cancel",f,f.__data__,x.index,x.group),delete a[Te]):K=!1;K&&delete f.__transition}}(this,f)})},$e.prototype.transition=function dt(f){var D,a;f instanceof so?(D=f._id,f=f._name):(D=Eo(),(a=re).time=Mn(),f=null==f?null:f+"");for(var x=this._groups,V=x.length,K=0;K<V;++K)for(var qt,Te=x[K],lt=Te.length,jt=0;jt<lt;++jt)(qt=Te[jt])&&to(qt,f,D,jt,Te,a||Ue(qt,D));return new so(x,this._parents,f,D)};Math;function uc(f){return{type:f}}function F1(f,D){return f<D?-1:f>D?1:f>=D?0:NaN}function nd(f){let D=f,a=f;function x(Te,lt,qt,jt){for(null==qt&&(qt=0),null==jt&&(jt=Te.length);qt<jt;){const hi=qt+jt>>>1;a(Te[hi],lt)<0?qt=hi+1:jt=hi}return qt}return 1===f.length&&(D=(Te,lt)=>f(Te)-lt,a=function rd(f){return(D,a)=>F1(f(D),a)}(f)),{left:x,center:function K(Te,lt,qt,jt){null==qt&&(qt=0),null==jt&&(jt=Te.length);const hi=x(Te,lt,qt,jt-1);return hi>qt&&D(Te[hi-1],lt)>-D(Te[hi],lt)?hi-1:hi},right:function V(Te,lt,qt,jt){for(null==qt&&(qt=0),null==jt&&(jt=Te.length);qt<jt;){const hi=qt+jt>>>1;a(Te[hi],lt)>0?jt=hi:qt=hi+1}return qt}}}["w","e"].map(uc),["n","s"].map(uc),["n","w","e","s","nw","ne","sw","se"].map(uc);var H1=Math.sqrt(50),ad=Math.sqrt(10),z1=Math.sqrt(2);function sd(f,D,a){var x=(D-f)/Math.max(0,a),V=Math.floor(Math.log(x)/Math.LN10),K=x/Math.pow(10,V);return V>=0?(K>=H1?10:K>=ad?5:K>=z1?2:1)*Math.pow(10,V):-Math.pow(10,-V)/(K>=H1?10:K>=ad?5:K>=z1?2:1)}function Vc(f,D,a){var x=Math.abs(D-f)/Math.max(0,a),V=Math.pow(10,Math.floor(Math.log(x)/Math.LN10)),K=x/V;return K>=H1?V*=10:K>=ad?V*=5:K>=z1&&(V*=2),D<f?-V:V}const co=1e3,Ts=6e4,lo=60*Ts,pc=24*lo,Gl=7*pc,$0=30*pc,V1=365*pc;var B1=new Date,hl=new Date;function oa(f,D,a,x){function V(K){return f(K=0===arguments.length?new Date:new Date(+K)),K}return V.floor=function(K){return f(K=new Date(+K)),K},V.ceil=function(K){return f(K=new Date(K-1)),D(K,1),f(K),K},V.round=function(K){var Te=V(K),lt=V.ceil(K);return K-Te<lt-K?Te:lt},V.offset=function(K,Te){return D(K=new Date(+K),null==Te?1:Math.floor(Te)),K},V.range=function(K,Te,lt){var jt,qt=[];if(K=V.ceil(K),lt=null==lt?1:Math.floor(lt),!(K<Te&&lt>0))return qt;do{qt.push(jt=new Date(+K)),D(K,lt),f(K)}while(jt<K&&K<Te);return qt},V.filter=function(K){return oa(function(Te){if(Te>=Te)for(;f(Te),!K(Te);)Te.setTime(Te-1)},function(Te,lt){if(Te>=Te)if(lt<0)for(;++lt<=0;)for(;D(Te,-1),!K(Te););else for(;--lt>=0;)for(;D(Te,1),!K(Te););})},a&&(V.count=function(K,Te){return B1.setTime(+K),hl.setTime(+Te),f(B1),f(hl),Math.floor(a(B1,hl))},V.every=function(K){return K=Math.floor(K),isFinite(K)&&K>0?K>1?V.filter(x?function(Te){return x(Te)%K==0}:function(Te){return V.count(0,Te)%K==0}):V:null}),V}var U1=oa(function(){},function(f,D){f.setTime(+f+D)},function(f,D){return D-f});U1.every=function(f){return f=Math.floor(f),isFinite(f)&&f>0?f>1?oa(function(D){D.setTime(Math.floor(D/f)*f)},function(D,a){D.setTime(+D+a*f)},function(D,a){return(a-D)/f}):U1:null};const G1=U1;const Zl=oa(function(f){f.setTime(f-f.getMilliseconds())},function(f,D){f.setTime(+f+D*co)},function(f,D){return(D-f)/co},function(f){return f.getUTCSeconds()});const gc=oa(function(f){f.setTime(f-f.getMilliseconds()-f.getSeconds()*co)},function(f,D){f.setTime(+f+D*Ts)},function(f,D){return(D-f)/Ts},function(f){return f.getMinutes()});const ul=oa(function(f){f.setTime(f-f.getMilliseconds()-f.getSeconds()*co-f.getMinutes()*Ts)},function(f,D){f.setTime(+f+D*lo)},function(f,D){return(D-f)/lo},function(f){return f.getHours()});const As=oa(f=>f.setHours(0,0,0,0),(f,D)=>f.setDate(f.getDate()+D),(f,D)=>(D-f-(D.getTimezoneOffset()-f.getTimezoneOffset())*Ts)/pc,f=>f.getDate()-1);function jo(f){return oa(function(D){D.setDate(D.getDate()-(D.getDay()+7-f)%7),D.setHours(0,0,0,0)},function(D,a){D.setDate(D.getDate()+7*a)},function(D,a){return(a-D-(a.getTimezoneOffset()-D.getTimezoneOffset())*Ts)/Gl})}var jl=jo(0),fl=jo(1),Uc=(jo(2),jo(3),jo(4));const W1=(jo(5),jo(6),oa(function(f){f.setDate(1),f.setHours(0,0,0,0)},function(f,D){f.setMonth(f.getMonth()+D)},function(f,D){return D.getMonth()-f.getMonth()+12*(D.getFullYear()-f.getFullYear())},function(f){return f.getMonth()}));var Y1=oa(function(f){f.setMonth(0,1),f.setHours(0,0,0,0)},function(f,D){f.setFullYear(f.getFullYear()+D)},function(f,D){return D.getFullYear()-f.getFullYear()},function(f){return f.getFullYear()});Y1.every=function(f){return isFinite(f=Math.floor(f))&&f>0?oa(function(D){D.setFullYear(Math.floor(D.getFullYear()/f)*f),D.setMonth(0,1),D.setHours(0,0,0,0)},function(D,a){D.setFullYear(D.getFullYear()+a*f)}):null};const To=Y1;const hd=oa(function(f){f.setUTCSeconds(0,0)},function(f,D){f.setTime(+f+D*Ts)},function(f,D){return(D-f)/Ts},function(f){return f.getUTCMinutes()});const ah=oa(function(f){f.setUTCMinutes(0,0,0)},function(f,D){f.setTime(+f+D*lo)},function(f,D){return(D-f)/lo},function(f){return f.getUTCHours()});const K1=oa(function(f){f.setUTCHours(0,0,0,0)},function(f,D){f.setUTCDate(f.getUTCDate()+D)},function(f,D){return(D-f)/pc},function(f){return f.getUTCDate()-1});function vc(f){return oa(function(D){D.setUTCDate(D.getUTCDate()-(D.getUTCDay()+7-f)%7),D.setUTCHours(0,0,0,0)},function(D,a){D.setUTCDate(D.getUTCDate()+7*a)},function(D,a){return(a-D)/Gl})}var ql=vc(0),Gc=vc(1),Qs=(vc(2),vc(3),vc(4));const X1=(vc(5),vc(6),oa(function(f){f.setUTCDate(1),f.setUTCHours(0,0,0,0)},function(f,D){f.setUTCMonth(f.getUTCMonth()+D)},function(f,D){return D.getUTCMonth()-f.getUTCMonth()+12*(D.getUTCFullYear()-f.getUTCFullYear())},function(f){return f.getUTCMonth()}));var Ko=oa(function(f){f.setUTCMonth(0,1),f.setUTCHours(0,0,0,0)},function(f,D){f.setUTCFullYear(f.getUTCFullYear()+D)},function(f,D){return D.getUTCFullYear()-f.getUTCFullYear()},function(f){return f.getUTCFullYear()});Ko.every=function(f){return isFinite(f=Math.floor(f))&&f>0?oa(function(D){D.setUTCFullYear(Math.floor(D.getUTCFullYear()/f)*f),D.setUTCMonth(0,1),D.setUTCHours(0,0,0,0)},function(D,a){D.setUTCFullYear(D.getUTCFullYear()+a*f)}):null};const Ao=Ko;function $1(f,D,a,x,V,K){const Te=[[Zl,1,co],[Zl,5,5e3],[Zl,15,15e3],[Zl,30,3e4],[K,1,Ts],[K,5,5*Ts],[K,15,15*Ts],[K,30,30*Ts],[V,1,lo],[V,3,3*lo],[V,6,6*lo],[V,12,12*lo],[x,1,pc],[x,2,2*pc],[a,1,Gl],[D,1,$0],[D,3,3*$0],[f,1,V1]];function qt(jt,hi,Ci){const Ei=Math.abs(hi-jt)/Ci,Ii=nd(([,,ki])=>ki).right(Te,Ei);if(Ii===Te.length)return f.every(Vc(jt/V1,hi/V1,Ci));if(0===Ii)return G1.every(Math.max(Vc(jt,hi,Ci),1));const[cn,bn]=Te[Ei/Te[Ii-1][2]<Te[Ii][2]/Ei?Ii-1:Ii];return cn.every(bn)}return[function lt(jt,hi,Ci){const Ei=hi<jt;Ei&&([jt,hi]=[hi,jt]);const Ii=Ci&&"function"==typeof Ci.range?Ci:qt(jt,hi,Ci),cn=Ii?Ii.range(jt,+hi+1):[];return Ei?cn.reverse():cn},qt]}const[sh,gd]=$1(Ao,X1,ql,K1,ah,hd),[bc,e2]=$1(To,W1,jl,As,ul,gc);function Qo(f){if(0<=f.y&&f.y<100){var D=new Date(-1,f.m,f.d,f.H,f.M,f.S,f.L);return D.setFullYear(f.y),D}return new Date(f.y,f.m,f.d,f.H,f.M,f.S,f.L)}function t2(f){if(0<=f.y&&f.y<100){var D=new Date(Date.UTC(-1,f.m,f.d,f.H,f.M,f.S,f.L));return D.setUTCFullYear(f.y),D}return new Date(Date.UTC(f.y,f.m,f.d,f.H,f.M,f.S,f.L))}function _l(f,D,a){return{y:f,m:D,d:a,H:0,M:0,S:0,L:0}}var _d={"-":"",_:" ",0:"0"},ba=/^\s*\d+/,vd=/^%/,n2=/[\\^$*+?|[\]().{}]/g;function nr(f,D,a){var x=f<0?"-":"",V=(x?-f:f)+"",K=V.length;return x+(K<a?new Array(a-K+1).join(D)+V:V)}function bd(f){return f.replace(n2,"\\$&")}function qo(f){return new RegExp("^(?:"+f.map(bd).join("|")+")","i")}function Lo(f){return new Map(f.map((D,a)=>[D.toLowerCase(),a]))}function yd(f,D,a){var x=ba.exec(D.slice(a,a+1));return x?(f.w=+x[0],a+x[0].length):-1}function $l(f,D,a){var x=ba.exec(D.slice(a,a+1));return x?(f.u=+x[0],a+x[0].length):-1}function r2(f,D,a){var x=ba.exec(D.slice(a,a+2));return x?(f.U=+x[0],a+x[0].length):-1}function a2(f,D,a){var x=ba.exec(D.slice(a,a+2));return x?(f.V=+x[0],a+x[0].length):-1}function vl(f,D,a){var x=ba.exec(D.slice(a,a+2));return x?(f.W=+x[0],a+x[0].length):-1}function xd(f,D,a){var x=ba.exec(D.slice(a,a+4));return x?(f.y=+x[0],a+x[0].length):-1}function s2(f,D,a){var x=ba.exec(D.slice(a,a+2));return x?(f.y=+x[0]+(+x[0]>68?1900:2e3),a+x[0].length):-1}function oh(f,D,a){var x=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(D.slice(a,a+6));return x?(f.Z=x[1]?0:-(x[2]+(x[3]||"00")),a+x[0].length):-1}function ch(f,D,a){var x=ba.exec(D.slice(a,a+1));return x?(f.q=3*x[0]-3,a+x[0].length):-1}function Cd(f,D,a){var x=ba.exec(D.slice(a,a+2));return x?(f.m=x[0]-1,a+x[0].length):-1}function o2(f,D,a){var x=ba.exec(D.slice(a,a+2));return x?(f.d=+x[0],a+x[0].length):-1}function c2(f,D,a){var x=ba.exec(D.slice(a,a+3));return x?(f.m=0,f.d=+x[0],a+x[0].length):-1}function bl(f,D,a){var x=ba.exec(D.slice(a,a+2));return x?(f.H=+x[0],a+x[0].length):-1}function e1(f,D,a){var x=ba.exec(D.slice(a,a+2));return x?(f.M=+x[0],a+x[0].length):-1}function yc(f,D,a){var x=ba.exec(D.slice(a,a+2));return x?(f.S=+x[0],a+x[0].length):-1}function lh(f,D,a){var x=ba.exec(D.slice(a,a+3));return x?(f.L=+x[0],a+x[0].length):-1}function wd(f,D,a){var x=ba.exec(D.slice(a,a+6));return x?(f.L=Math.floor(x[0]/1e3),a+x[0].length):-1}function Xu(f,D,a){var x=vd.exec(D.slice(a,a+1));return x?a+x[0].length:-1}function dh(f,D,a){var x=ba.exec(D.slice(a));return x?(f.Q=+x[0],a+x[0].length):-1}function t1(f,D,a){var x=ba.exec(D.slice(a));return x?(f.s=+x[0],a+x[0].length):-1}function Md(f,D){return nr(f.getDate(),D,2)}function Sd(f,D){return nr(f.getHours(),D,2)}function yl(f,D){return nr(f.getHours()%12||12,D,2)}function l2(f,D){return nr(1+As.count(To(f),f),D,3)}function d2(f,D){return nr(f.getMilliseconds(),D,3)}function Ed(f,D){return d2(f,D)+"000"}function h2(f,D){return nr(f.getMonth()+1,D,2)}function xc(f,D){return nr(f.getMinutes(),D,2)}function Td(f,D){return nr(f.getSeconds(),D,2)}function hh(f){var D=f.getDay();return 0===D?7:D}function Ad(f,D){return nr(jl.count(To(f)-1,f),D,2)}function Ld(f){var D=f.getDay();return D>=4||0===D?Uc(f):Uc.ceil(f)}function uh(f,D){return f=Ld(f),nr(Uc.count(To(f),f)+(4===To(f).getDay()),D,2)}function as(f){return f.getDay()}function Zc(f,D){return nr(fl.count(To(f)-1,f),D,2)}function fh(f,D){return nr(f.getFullYear()%100,D,2)}function Dd(f,D){return nr((f=Ld(f)).getFullYear()%100,D,2)}function mh(f,D){return nr(f.getFullYear()%1e4,D,4)}function ph(f,D){var a=f.getDay();return nr((f=a>=4||0===a?Uc(f):Uc.ceil(f)).getFullYear()%1e4,D,4)}function gh(f){var D=f.getTimezoneOffset();return(D>0?"-":(D*=-1,"+"))+nr(D/60|0,"0",2)+nr(D%60,"0",2)}function Id(f,D){return nr(f.getUTCDate(),D,2)}function kd(f,D){return nr(f.getUTCHours(),D,2)}function _h(f,D){return nr(f.getUTCHours()%12||12,D,2)}function vh(f,D){return nr(1+K1.count(Ao(f),f),D,3)}function Od(f,D){return nr(f.getUTCMilliseconds(),D,3)}function Pd(f,D){return Od(f,D)+"000"}function n1(f,D){return nr(f.getUTCMonth()+1,D,2)}function ho(f,D){return nr(f.getUTCMinutes(),D,2)}function xl(f,D){return nr(f.getUTCSeconds(),D,2)}function Rd(f){var D=f.getUTCDay();return 0===D?7:D}function Nd(f,D){return nr(ql.count(Ao(f)-1,f),D,2)}function r1(f){var D=f.getUTCDay();return D>=4||0===D?Qs(f):Qs.ceil(f)}function $u(f,D){return f=r1(f),nr(Qs.count(Ao(f),f)+(4===Ao(f).getUTCDay()),D,2)}function Fd(f){return f.getUTCDay()}function e3(f,D){return nr(Gc.count(Ao(f)-1,f),D,2)}function u2(f,D){return nr(f.getUTCFullYear()%100,D,2)}function a1(f,D){return nr((f=r1(f)).getUTCFullYear()%100,D,2)}function t3(f,D){return nr(f.getUTCFullYear()%1e4,D,4)}function n3(f,D){var a=f.getUTCDay();return nr((f=a>=4||0===a?Qs(f):Qs.ceil(f)).getUTCFullYear()%1e4,D,4)}function f2(){return"+0000"}function Hd(){return"%"}function zd(f){return+f}function Vd(f){return Math.floor(+f/1e3)}function Kr(f){return null===f?NaN:+f}!function Ud(f){(function Xl(f){var D=f.dateTime,a=f.date,x=f.time,V=f.periods,K=f.days,Te=f.shortDays,lt=f.months,qt=f.shortMonths,jt=qo(V),hi=Lo(V),Ci=qo(K),Ei=Lo(K),Ii=qo(Te),cn=Lo(Te),bn=qo(lt),ki=Lo(lt),mn=qo(qt),xn=Lo(qt),gn={a:function Nr(fn){return Te[fn.getDay()]},A:function Ps(fn){return K[fn.getDay()]},b:function Sr(fn){return qt[fn.getMonth()]},B:function Ha(fn){return lt[fn.getMonth()]},c:null,d:Md,e:Md,f:Ed,g:Dd,G:ph,H:Sd,I:yl,j:l2,L:d2,m:h2,M:xc,p:function la(fn){return V[+(fn.getHours()>=12)]},q:function da(fn){return 1+~~(fn.getMonth()/3)},Q:zd,s:Vd,S:Td,u:hh,U:Ad,V:uh,w:as,W:Zc,x:null,X:null,y:fh,Y:mh,Z:gh,"%":Hd},jn={a:function K2(fn){return Te[fn.getUTCDay()]},A:function nc(fn){return K[fn.getUTCDay()]},b:function L1(fn){return qt[fn.getUTCMonth()]},B:function Ol(fn){return lt[fn.getUTCMonth()]},c:null,d:Id,e:Id,f:Pd,g:a1,G:n3,H:kd,I:_h,j:vh,L:Od,m:n1,M:ho,p:function bs(fn){return V[+(fn.getUTCHours()>=12)]},q:function D1(fn){return 1+~~(fn.getUTCMonth()/3)},Q:zd,s:Vd,S:xl,u:Rd,U:Nd,V:$u,w:Fd,W:e3,x:null,X:null,y:u2,Y:t3,Z:f2,"%":Hd},Vn={a:function na(fn,Kn,rr){var Yi=Ii.exec(Kn.slice(rr));return Yi?(fn.w=cn.get(Yi[0].toLowerCase()),rr+Yi[0].length):-1},A:function Dn(fn,Kn,rr){var Yi=Ci.exec(Kn.slice(rr));return Yi?(fn.w=Ei.get(Yi[0].toLowerCase()),rr+Yi[0].length):-1},b:function Ka(fn,Kn,rr){var Yi=mn.exec(Kn.slice(rr));return Yi?(fn.m=xn.get(Yi[0].toLowerCase()),rr+Yi[0].length):-1},B:function vr(fn,Kn,rr){var Yi=bn.exec(Kn.slice(rr));return Yi?(fn.m=ki.get(Yi[0].toLowerCase()),rr+Yi[0].length):-1},c:function Rr(fn,Kn,rr){return Pr(fn,D,Kn,rr)},d:o2,e:o2,f:wd,g:s2,G:xd,H:bl,I:bl,j:c2,L:lh,m:Cd,M:e1,p:function Os(fn,Kn,rr){var Yi=jt.exec(Kn.slice(rr));return Yi?(fn.p=hi.get(Yi[0].toLowerCase()),rr+Yi[0].length):-1},q:ch,Q:dh,s:t1,S:yc,u:$l,U:r2,V:a2,w:yd,W:vl,x:function Qa(fn,Kn,rr){return Pr(fn,a,Kn,rr)},X:function qr(fn,Kn,rr){return Pr(fn,x,Kn,rr)},y:s2,Y:xd,Z:oh,"%":Xu};function Ln(fn,Kn){return function(rr){var ys,Wn,ua,Yi=[],ha=-1,Cr=0,ss=fn.length;for(rr instanceof Date||(rr=new Date(+rr));++ha<ss;)37===fn.charCodeAt(ha)&&(Yi.push(fn.slice(Cr,ha)),null!=(Wn=_d[ys=fn.charAt(++ha)])?ys=fn.charAt(++ha):Wn="e"===ys?" ":"0",(ua=Kn[ys])&&(ys=ua(rr,Wn)),Yi.push(ys),Cr=ha+1);return Yi.push(fn.slice(Cr,ha)),Yi.join("")}}function ia(fn,Kn){return function(rr){var Cr,ss,Yi=_l(1900,void 0,1);if(Pr(Yi,fn,rr+="",0)!=rr.length)return null;if("Q"in Yi)return new Date(Yi.Q);if("s"in Yi)return new Date(1e3*Yi.s+("L"in Yi?Yi.L:0));if(Kn&&!("Z"in Yi)&&(Yi.Z=0),"p"in Yi&&(Yi.H=Yi.H%12+12*Yi.p),void 0===Yi.m&&(Yi.m="q"in Yi?Yi.q:0),"V"in Yi){if(Yi.V<1||Yi.V>53)return null;"w"in Yi||(Yi.w=1),"Z"in Yi?(ss=(Cr=t2(_l(Yi.y,0,1))).getUTCDay(),Cr=ss>4||0===ss?Gc.ceil(Cr):Gc(Cr),Cr=K1.offset(Cr,7*(Yi.V-1)),Yi.y=Cr.getUTCFullYear(),Yi.m=Cr.getUTCMonth(),Yi.d=Cr.getUTCDate()+(Yi.w+6)%7):(ss=(Cr=Qo(_l(Yi.y,0,1))).getDay(),Cr=ss>4||0===ss?fl.ceil(Cr):fl(Cr),Cr=As.offset(Cr,7*(Yi.V-1)),Yi.y=Cr.getFullYear(),Yi.m=Cr.getMonth(),Yi.d=Cr.getDate()+(Yi.w+6)%7)}else("W"in Yi||"U"in Yi)&&("w"in Yi||(Yi.w="u"in Yi?Yi.u%7:"W"in Yi?1:0),ss="Z"in Yi?t2(_l(Yi.y,0,1)).getUTCDay():Qo(_l(Yi.y,0,1)).getDay(),Yi.m=0,Yi.d="W"in Yi?(Yi.w+6)%7+7*Yi.W-(ss+5)%7:Yi.w+7*Yi.U-(ss+6)%7);return"Z"in Yi?(Yi.H+=Yi.Z/100|0,Yi.M+=Yi.Z%100,t2(Yi)):Qo(Yi)}}function Pr(fn,Kn,rr,Yi){for(var ys,Wn,ha=0,Cr=Kn.length,ss=rr.length;ha<Cr;){if(Yi>=ss)return-1;if(37===(ys=Kn.charCodeAt(ha++))){if(ys=Kn.charAt(ha++),!(Wn=Vn[ys in _d?Kn.charAt(ha++):ys])||(Yi=Wn(fn,rr,Yi))<0)return-1}else if(ys!=rr.charCodeAt(Yi++))return-1}return Yi}return gn.x=Ln(a,gn),gn.X=Ln(x,gn),gn.c=Ln(D,gn),jn.x=Ln(a,jn),jn.X=Ln(x,jn),jn.c=Ln(D,jn),{format:function(fn){var Kn=Ln(fn+="",gn);return Kn.toString=function(){return fn},Kn},parse:function(fn){var Kn=ia(fn+="",!1);return Kn.toString=function(){return fn},Kn},utcFormat:function(fn){var Kn=Ln(fn+="",jn);return Kn.toString=function(){return fn},Kn},utcParse:function(fn){var Kn=ia(fn+="",!0);return Kn.toString=function(){return fn},Kn}}})(f)}({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 Wd=nd(F1).right,bh=(nd(Kr),Wd);function yh(f,D){return f=+f,D=+D,function(a){return Math.round(f*(1-a)+D*a)}}function xh(f){return+f}var La=[0,1];function Cl(f){return f}function Cc(f,D){return(D-=f=+f)?function(a){return(a-f)/D}:function r3(f){return function(){return f}}(isNaN(D)?NaN:.5)}function jd(f,D,a){var x=f[0],V=f[1],K=D[0],Te=D[1];return V<x?(x=Cc(V,x),K=a(Te,K)):(x=Cc(x,V),K=a(K,Te)),function(lt){return K(x(lt))}}function Kd(f,D,a){var x=Math.min(f.length,D.length)-1,V=new Array(x),K=new Array(x),Te=-1;for(f[x]<f[0]&&(f=f.slice().reverse(),D=D.slice().reverse());++Te<x;)V[Te]=Cc(f[Te],f[Te+1]),K[Te]=a(D[Te],D[Te+1]);return function(lt){var qt=bh(f,lt,1,x)-1;return K[qt](V[qt](lt))}}function o1(f,D){return D.domain(f.domain()).range(f.range()).interpolate(f.interpolate()).clamp(f.clamp()).unknown(f.unknown())}function _2(){return function Ch(){var x,V,K,lt,qt,jt,f=La,D=La,a=Jn,Te=Cl;function hi(){var Ei=Math.min(f.length,D.length);return Te!==Cl&&(Te=function g2(f,D){var a;return f>D&&(a=f,f=D,D=a),function(x){return Math.max(f,Math.min(D,x))}}(f[0],f[Ei-1])),lt=Ei>2?Kd:jd,qt=jt=null,Ci}function Ci(Ei){return null==Ei||isNaN(Ei=+Ei)?K:(qt||(qt=lt(f.map(x),D,a)))(x(Te(Ei)))}return Ci.invert=function(Ei){return Te(V((jt||(jt=lt(D,f.map(x),Zr)))(Ei)))},Ci.domain=function(Ei){return arguments.length?(f=Array.from(Ei,xh),hi()):f.slice()},Ci.range=function(Ei){return arguments.length?(D=Array.from(Ei),hi()):D.slice()},Ci.rangeRound=function(Ei){return D=Array.from(Ei),a=yh,hi()},Ci.clamp=function(Ei){return arguments.length?(Te=!!Ei||Cl,hi()):Te!==Cl},Ci.interpolate=function(Ei){return arguments.length?(a=Ei,hi()):a},Ci.unknown=function(Ei){return arguments.length?(K=Ei,Ci):K},function(Ei,Ii){return x=Ei,V=Ii,hi()}}()(Cl,Cl)}function Yc(f,D){switch(arguments.length){case 0:break;case 1:this.range(f);break;default:this.range(D).domain(f)}return this}var b2,qd=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Sl(f){if(!(D=qd.exec(f)))throw new Error("invalid format: "+f);var D;return new Do({fill:D[1],align:D[2],sign:D[3],symbol:D[4],zero:D[5],width:D[6],comma:D[7],precision:D[8]&&D[8].slice(1),trim:D[9],type:D[10]})}function Do(f){this.fill=void 0===f.fill?" ":f.fill+"",this.align=void 0===f.align?">":f.align+"",this.sign=void 0===f.sign?"-":f.sign+"",this.symbol=void 0===f.symbol?"":f.symbol+"",this.zero=!!f.zero,this.width=void 0===f.width?void 0:+f.width,this.comma=!!f.comma,this.precision=void 0===f.precision?void 0:+f.precision,this.trim=!!f.trim,this.type=void 0===f.type?"":f.type+""}function jc(f,D){if((a=(f=D?f.toExponential(D-1):f.toExponential()).indexOf("e"))<0)return null;var a,x=f.slice(0,a);return[x.length>1?x[0]+x.slice(2):x,+f.slice(a+1)]}function Io(f){return(f=jc(Math.abs(f)))?f[1]:NaN}function Xd(f,D){var a=jc(f,D);if(!a)return f+"";var x=a[0],V=a[1];return V<0?"0."+new Array(-V).join("0")+x:x.length>V+1?x.slice(0,V+1)+"."+x.slice(V+1):x+new Array(V-x.length+2).join("0")}Sl.prototype=Do.prototype,Do.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 $d={"%":(f,D)=>(100*f).toFixed(D),b:f=>Math.round(f).toString(2),c:f=>f+"",d:function Jd(f){return Math.abs(f=Math.round(f))>=1e21?f.toLocaleString("en").replace(/,/g,""):f.toString(10)},e:(f,D)=>f.toExponential(D),f:(f,D)=>f.toFixed(D),g:(f,D)=>f.toPrecision(D),o:f=>Math.round(f).toString(8),p:(f,D)=>Xd(100*f,D),r:Xd,s:function y2(f,D){var a=jc(f,D);if(!a)return f+"";var x=a[0],V=a[1],K=V-(b2=3*Math.max(-8,Math.min(8,Math.floor(V/3))))+1,Te=x.length;return K===Te?x:K>Te?x+new Array(K-Te+1).join("0"):K>0?x.slice(0,K)+"."+x.slice(K):"0."+new Array(1-K).join("0")+jc(f,Math.max(0,D+K-1))[0]},X:f=>Math.round(f).toString(16).toUpperCase(),x:f=>Math.round(f).toString(16)};function x2(f){return f}var l1,d1,t0,Mc=Array.prototype.map,e0=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function w2(f){var D=f.domain;return f.ticks=function(a){var x=D();return function X0(f,D,a){var x,K,Te,lt,V=-1;if(a=+a,(f=+f)==(D=+D)&&a>0)return[f];if((x=D<f)&&(K=f,f=D,D=K),0===(lt=sd(f,D,a))||!isFinite(lt))return[];if(lt>0){let qt=Math.round(f/lt),jt=Math.round(D/lt);for(qt*lt<f&&++qt,jt*lt>D&&--jt,Te=new Array(K=jt-qt+1);++V<K;)Te[V]=(qt+V)*lt}else{lt=-lt;let qt=Math.round(f*lt),jt=Math.round(D*lt);for(qt/lt<f&&++qt,jt/lt>D&&--jt,Te=new Array(K=jt-qt+1);++V<K;)Te[V]=(qt+V)/lt}return x&&Te.reverse(),Te}(x[0],x[x.length-1],a??10)},f.tickFormat=function(a,x){var V=D();return function C2(f,D,a,x){var K,V=Vc(f,D,a);switch((x=Sl(x??",f")).type){case"s":var Te=Math.max(Math.abs(f),Math.abs(D));return null==x.precision&&!isNaN(K=function wh(f,D){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Io(D)/3)))-Io(Math.abs(f)))}(V,Te))&&(x.precision=K),t0(x,Te);case"":case"e":case"g":case"p":case"r":null==x.precision&&!isNaN(K=function r0(f,D){return f=Math.abs(f),D=Math.abs(D)-f,Math.max(0,Io(D)-Io(f))+1}(V,Math.max(Math.abs(f),Math.abs(D))))&&(x.precision=K-("e"===x.type));break;case"f":case"%":null==x.precision&&!isNaN(K=function a0(f){return Math.max(0,-Io(Math.abs(f)))}(V))&&(x.precision=K-2*("%"===x.type))}return d1(x)}(V[0],V[V.length-1],a??10,x)},f.nice=function(a){null==a&&(a=10);var qt,jt,x=D(),V=0,K=x.length-1,Te=x[V],lt=x[K],hi=10;for(lt<Te&&(jt=Te,Te=lt,lt=jt,jt=V,V=K,K=jt);hi-- >0;){if((jt=sd(Te,lt,a))===qt)return x[V]=Te,x[K]=lt,D(x);if(jt>0)Te=Math.floor(Te/jt)*jt,lt=Math.ceil(lt/jt)*jt;else{if(!(jt<0))break;Te=Math.ceil(Te*jt)/jt,lt=Math.floor(lt*jt)/jt}qt=jt}return f},f}function qs(){var f=_2();return f.copy=function(){return o1(f,qs())},Yc.apply(f,arguments),w2(f)}function h1(f,D,a){f=+f,D=+D,a=(V=arguments.length)<2?(D=f,f=0,1):V<3?1:+a;for(var x=-1,V=0|Math.max(0,Math.ceil((D-f)/a)),K=new Array(V);++x<V;)K[x]=f+x*a;return K}!function n0(f){l1=function Mh(f){var D=void 0===f.grouping||void 0===f.thousands?x2:function c1(f,D){return function(a,x){for(var V=a.length,K=[],Te=0,lt=f[0],qt=0;V>0&&lt>0&&(qt+lt+1>x&&(lt=Math.max(1,x-qt)),K.push(a.substring(V-=lt,V+lt)),!((qt+=lt+1)>x));)lt=f[Te=(Te+1)%f.length];return K.reverse().join(D)}}(Mc.call(f.grouping,Number),f.thousands+""),a=void 0===f.currency?"":f.currency[0]+"",x=void 0===f.currency?"":f.currency[1]+"",V=void 0===f.decimal?".":f.decimal+"",K=void 0===f.numerals?x2:function El(f){return function(D){return D.replace(/[0-9]/g,function(a){return f[+a]})}}(Mc.call(f.numerals,String)),Te=void 0===f.percent?"%":f.percent+"",lt=void 0===f.minus?"\u2212":f.minus+"",qt=void 0===f.nan?"NaN":f.nan+"";function jt(Ci){var Ei=(Ci=Sl(Ci)).fill,Ii=Ci.align,cn=Ci.sign,bn=Ci.symbol,ki=Ci.zero,mn=Ci.width,xn=Ci.comma,gn=Ci.precision,jn=Ci.trim,Vn=Ci.type;"n"===Vn?(xn=!0,Vn="g"):$d[Vn]||(void 0===gn&&(gn=12),jn=!0,Vn="g"),(ki||"0"===Ei&&"="===Ii)&&(ki=!0,Ei="0",Ii="=");var Ln="$"===bn?a:"#"===bn&&/[boxX]/.test(Vn)?"0"+Vn.toLowerCase():"",ia="$"===bn?x:/[%p]/.test(Vn)?Te:"",Pr=$d[Vn],Os=/[defgprs%]/.test(Vn);function na(Dn){var Rr,Qa,qr,Ka=Ln,vr=ia;if("c"===Vn)vr=Pr(Dn)+vr,Dn="";else{var Nr=(Dn=+Dn)<0||1/Dn<0;if(Dn=isNaN(Dn)?qt:Pr(Math.abs(Dn),gn),jn&&(Dn=function wc(f){e:for(var V,D=f.length,a=1,x=-1;a<D;++a)switch(f[a]){case".":x=V=a;break;case"0":0===x&&(x=a),V=a;break;default:if(!+f[a])break e;x>0&&(x=0)}return x>0?f.slice(0,x)+f.slice(V+1):f}(Dn)),Nr&&0==+Dn&&"+"!==cn&&(Nr=!1),Ka=(Nr?"("===cn?cn:lt:"-"===cn||"("===cn?"":cn)+Ka,vr=("s"===Vn?e0[8+b2/3]:"")+vr+(Nr&&"("===cn?")":""),Os)for(Rr=-1,Qa=Dn.length;++Rr<Qa;)if(48>(qr=Dn.charCodeAt(Rr))||qr>57){vr=(46===qr?V+Dn.slice(Rr+1):Dn.slice(Rr))+vr,Dn=Dn.slice(0,Rr);break}}xn&&!ki&&(Dn=D(Dn,1/0));var Ps=Ka.length+Dn.length+vr.length,Sr=Ps<mn?new Array(mn-Ps+1).join(Ei):"";switch(xn&&ki&&(Dn=D(Sr+Dn,Sr.length?mn-vr.length:1/0),Sr=""),Ii){case"<":Dn=Ka+Dn+vr+Sr;break;case"=":Dn=Ka+Sr+Dn+vr;break;case"^":Dn=Sr.slice(0,Ps=Sr.length>>1)+Ka+Dn+vr+Sr.slice(Ps);break;default:Dn=Sr+Ka+Dn+vr}return K(Dn)}return gn=void 0===gn?6:/[gprs]/.test(Vn)?Math.max(1,Math.min(21,gn)):Math.max(0,Math.min(20,gn)),na.toString=function(){return Ci+""},na}return{format:jt,formatPrefix:function hi(Ci,Ei){var Ii=jt(((Ci=Sl(Ci)).type="f",Ci)),cn=3*Math.max(-8,Math.min(8,Math.floor(Io(Ei)/3))),bn=Math.pow(10,-cn),ki=e0[8+cn/3];return function(mn){return Ii(bn*mn)+ki}}}}(f),d1=l1.format,t0=l1.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});const Pa=Symbol("implicit");function Kc(){var f=new Map,D=[],a=[],x=Pa;function V(K){var Te=K+"",lt=f.get(Te);if(!lt){if(x!==Pa)return x;f.set(Te,lt=D.push(K))}return a[(lt-1)%a.length]}return V.domain=function(K){if(!arguments.length)return D.slice();D=[],f=new Map;for(const Te of K){const lt=Te+"";f.has(lt)||f.set(lt,D.push(Te))}return V},V.range=function(K){return arguments.length?(a=Array.from(K),V):a.slice()},V.unknown=function(K){return arguments.length?(x=K,V):x},V.copy=function(){return Kc(D,a).unknown(x)},Yc.apply(V,arguments),V}function Tl(){var K,Te,f=Kc().unknown(void 0),D=f.domain,a=f.range,x=0,V=1,lt=!1,qt=0,jt=0,hi=.5;function Ci(){var Ei=D().length,Ii=V<x,cn=Ii?V:x,bn=Ii?x:V;K=(bn-cn)/Math.max(1,Ei-qt+2*jt),lt&&(K=Math.floor(K)),cn+=(bn-cn-K*(Ei-qt))*hi,Te=K*(1-qt),lt&&(cn=Math.round(cn),Te=Math.round(Te));var ki=h1(Ei).map(function(mn){return cn+K*mn});return a(Ii?ki.reverse():ki)}return delete f.unknown,f.domain=function(Ei){return arguments.length?(D(Ei),Ci()):D()},f.range=function(Ei){return arguments.length?([x,V]=Ei,x=+x,V=+V,Ci()):[x,V]},f.rangeRound=function(Ei){return[x,V]=Ei,x=+x,V=+V,lt=!0,Ci()},f.bandwidth=function(){return Te},f.step=function(){return K},f.round=function(Ei){return arguments.length?(lt=!!Ei,Ci()):lt},f.padding=function(Ei){return arguments.length?(qt=Math.min(1,jt=+Ei),Ci()):qt},f.paddingInner=function(Ei){return arguments.length?(qt=Math.min(1,Ei),Ci()):qt},f.paddingOuter=function(Ei){return arguments.length?(jt=+Ei,Ci()):jt},f.align=function(Ei){return arguments.length?(hi=Math.max(0,Math.min(1,Ei)),Ci()):hi},f.copy=function(){return Tl(D(),[x,V]).round(lt).paddingInner(qt).paddingOuter(jt).align(hi)},Yc.apply(Ci(),arguments)}function s0(f,D,a=Kr){if(x=f.length){if((D=+D)<=0||x<2)return+a(f[0],0,f);if(D>=1)return+a(f[x-1],x-1,f);var x,V=(x-1)*D,K=Math.floor(V),Te=+a(f[K],K,f);return Te+(+a(f[K+1],K+1,f)-Te)*(V-K)}}function M2(){var x,f=[],D=[],a=[];function V(){var Te=0,lt=Math.max(1,D.length);for(a=new Array(lt-1);++Te<lt;)a[Te-1]=s0(f,Te/lt);return K}function K(Te){return null==Te||isNaN(Te=+Te)?x:D[bh(a,Te)]}return K.invertExtent=function(Te){var lt=D.indexOf(Te);return lt<0?[NaN,NaN]:[lt>0?a[lt-1]:f[0],lt<a.length?a[lt]:f[f.length-1]]},K.domain=function(Te){if(!arguments.length)return f.slice();f=[];for(let lt of Te)null!=lt&&!isNaN(lt=+lt)&&f.push(lt);return f.sort(F1),V()},K.range=function(Te){return arguments.length?(D=Array.from(Te),V()):D.slice()},K.unknown=function(Te){return arguments.length?(x=Te,K):x},K.quantiles=function(){return a.slice()},K.copy=function(){return M2().domain(f).range(D).unknown(x)},Yc.apply(K,arguments)}var Eh=m(5126);const u1=["caretElm"];function S2(f,D){}const Th=function(f){return{model:f}};function E2(f,D){if(1&f&&(t.TgZ(0,"span"),t.YNc(1,S2,0,0,"ng-template",5),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",a.template)("ngTemplateOutletContext",t.VKq(2,Th,a.context))}}function Qc(f,D){if(1&f&&t._UZ(0,"span",6),2&f){const a=t.oxw();t.Q6J("innerHTML",a.title,t.oJD)}}function Ah(f,D){if(1&f&&(t.TgZ(0,"header",4)(1,"span",5),t._uU(2),t.qZA()()),2&f){const a=t.oxw();t.xp6(2),t.Oqu(a.title)}}function Lh(f,D){if(1&f){const a=t.EpF();t.TgZ(0,"li",6)(1,"ngx-charts-legend-entry",7),t.NdJ("select",function(V){t.CHM(a);const K=t.oxw();return t.KtG(K.labelClick.emit(V))})("activate",function(V){t.CHM(a);const K=t.oxw();return t.KtG(K.activate(V))})("deactivate",function(V){t.CHM(a);const K=t.oxw();return t.KtG(K.deactivate(V))}),t.qZA()()}if(2&f){const a=D.$implicit,x=t.oxw();t.xp6(1),t.Q6J("label",a.label)("formattedLabel",a.formattedLabel)("color",a.color)("isActive",x.isActive(a))}}function o0(f,D){if(1&f&&(t.O4$(),t.kcU(),t._UZ(0,"ngx-charts-scale-legend",4)),2&f){const a=t.oxw();t.Q6J("horizontal",a.legendOptions&&a.legendOptions.position===a.LegendPosition.Below)("valueRange",a.legendOptions.domain)("colors",a.legendOptions.colors)("height",a.view[1])("width",a.legendWidth)}}function Dh(f,D){if(1&f){const a=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"ngx-charts-legend",5),t.NdJ("labelClick",function(V){t.CHM(a);const K=t.oxw();return t.KtG(K.legendLabelClick.emit(V))})("labelActivate",function(V){t.CHM(a);const K=t.oxw();return t.KtG(K.legendLabelActivate.emit(V))})("labelDeactivate",function(V){t.CHM(a);const K=t.oxw();return t.KtG(K.legendLabelDeactivate.emit(V))}),t.qZA()}if(2&f){const a=t.oxw();t.Q6J("horizontal",a.legendOptions&&a.legendOptions.position===a.LegendPosition.Below)("data",a.legendOptions.domain)("title",a.legendOptions.title)("colors",a.legendOptions.colors)("height",a.view[1])("width",a.legendWidth)("activeEntries",a.activeEntries)}}const T2=["*"],Ih=["ngx-charts-axis-label",""],f1=["ticksel"],qc=["ngx-charts-x-axis-ticks",""];function ko(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"g",3)(1,"title"),t._uU(2),t.qZA(),t.TgZ(3,"text",4),t._uU(4),t.qZA()()),2&f){const a=D.$implicit,x=t.oxw();t.uIk("transform",x.tickTransform(a)),t.xp6(2),t.Oqu(x.tickFormat(a)),t.xp6(1),t.Udp("font-size","12px"),t.uIk("text-anchor",x.textAnchor)("transform",x.textTransform),t.xp6(1),t.hij(" ",x.tickTrim(x.tickFormat(a))," ")}}function kh(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t._UZ(1,"line",6),t.qZA()),2&f){const a=t.oxw(2);t.uIk("transform",a.gridLineTransform()),t.xp6(1),t.uIk("y1",-a.gridLineHeight)}}function c0(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,kh,2,2,"g",5),t.qZA()),2&f){const a=D.$implicit,x=t.oxw();t.uIk("transform",x.tickTransform(a)),t.xp6(1),t.Q6J("ngIf",x.showGridLines)}}const l0=["ngx-charts-x-axis",""];function Oh(f,D){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("dimensionsChanged",function(V){t.CHM(a);const K=t.oxw();return t.KtG(K.emitTicksHeight(V))}),t.qZA()}if(2&f){const a=t.oxw();t.Q6J("trimTicks",a.trimTicks)("rotateTicks",a.rotateTicks)("maxTickLength",a.maxTickLength)("tickFormatting",a.tickFormatting)("tickArguments",a.tickArguments)("tickStroke",a.tickStroke)("scale",a.xScale)("orient",a.xOrient)("showGridLines",a.showGridLines)("gridLineHeight",a.dims.height)("width",a.dims.width)("tickValues",a.ticks)}}function d0(f,D){if(1&f&&(t.O4$(),t._UZ(0,"g",3)),2&f){const a=t.oxw();t.Q6J("label",a.labelText)("offset",a.labelOffset)("orient",a.orientation.Bottom)("height",a.dims.height)("width",a.dims.width)}}const Ph=["ngx-charts-y-axis-ticks",""];function h0(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"g",4)(1,"title"),t._uU(2),t.qZA(),t.TgZ(3,"text",5),t._uU(4),t.qZA()()),2&f){const a=D.$implicit,x=t.oxw();t.uIk("transform",x.transform(a)),t.xp6(2),t.Oqu(x.tickFormat(a)),t.xp6(1),t.Udp("font-size","12px"),t.uIk("dy",x.dy)("x",x.x1)("y",x.y1)("text-anchor",x.textAnchor),t.xp6(1),t.hij(" ",x.tickTrim(x.tickFormat(a))," ")}}function u0(f,D){if(1&f&&(t.O4$(),t._UZ(0,"path",6)),2&f){const a=t.oxw();t.uIk("d",a.referenceAreaPath)("transform",a.gridLineTransform())}}function Rh(f,D){if(1&f&&(t.O4$(),t._UZ(0,"line",9)),2&f){const a=t.oxw(3);t.uIk("x2",a.gridLineWidth)}}function f0(f,D){if(1&f&&(t.O4$(),t._UZ(0,"line",9)),2&f){const a=t.oxw(3);t.uIk("x2",-a.gridLineWidth)}}function Nh(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Rh,1,1,"line",8),t.YNc(2,f0,1,1,"line",8),t.qZA()),2&f){const a=t.oxw(2);t.uIk("transform",a.gridLineTransform()),t.xp6(1),t.Q6J("ngIf",a.orient===a.Orientation.Left),t.xp6(1),t.Q6J("ngIf",a.orient===a.Orientation.Right)}}function Fh(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Nh,3,3,"g",7),t.qZA()),2&f){const a=D.$implicit,x=t.oxw();t.uIk("transform",x.transform(a)),t.xp6(1),t.Q6J("ngIf",x.showGridLines)}}function Js(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"g")(1,"title"),t._uU(2),t.qZA(),t.TgZ(3,"text",11),t._uU(4),t.qZA()()),2&f){const a=t.oxw(2).$implicit,x=t.oxw();t.xp6(2),t.Oqu(x.tickTrim(x.tickFormat(a.value))),t.xp6(1),t.uIk("dy",x.dy)("y",-6)("x",x.gridLineWidth)("text-anchor",x.textAnchor),t.xp6(1),t.hij(" ",a.name," ")}}function m0(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t._UZ(1,"line",10),t.YNc(2,Js,5,6,"g",7),t.qZA()),2&f){const a=t.oxw().$implicit,x=t.oxw();t.uIk("transform",x.transform(a.value)),t.xp6(1),t.uIk("x2",x.gridLineWidth)("transform",x.gridLineTransform()),t.xp6(1),t.Q6J("ngIf",x.showRefLabels)}}function p0(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,m0,3,4,"g",7),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngIf",a.showRefLines)}}const Hh=["ngx-charts-y-axis",""];function zh(f,D){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("dimensionsChanged",function(V){t.CHM(a);const K=t.oxw();return t.KtG(K.emitTicksWidth(V))}),t.qZA()}if(2&f){const a=t.oxw();t.Q6J("trimTicks",a.trimTicks)("maxTickLength",a.maxTickLength)("tickFormatting",a.tickFormatting)("tickArguments",a.tickArguments)("tickValues",a.ticks)("tickStroke",a.tickStroke)("scale",a.yScale)("orient",a.yOrient)("showGridLines",a.showGridLines)("gridLineWidth",a.dims.width)("referenceLines",a.referenceLines)("showRefLines",a.showRefLines)("showRefLabels",a.showRefLabels)("height",a.dims.height)}}function g0(f,D){if(1&f&&(t.O4$(),t._UZ(0,"g",3)),2&f){const a=t.oxw();t.Q6J("label",a.labelText)("offset",a.labelOffset)("orient",a.yOrient)("height",a.dims.height)("width",a.dims.width)}}const Vh=["ngx-charts-svg-linear-gradient",""];function _0(f,D){if(1&f&&(t.O4$(),t._UZ(0,"stop")),2&f){const a=D.$implicit;t.Udp("stop-color",a.color)("stop-opacity",a.opacity),t.uIk("offset",a.offset+"%")}}const I2=["ngx-charts-grid-panel",""],Gh=["ngx-charts-grid-panel-series",""];function k2(f,D){if(1&f&&(t.O4$(),t._UZ(0,"g",1)),2&f){const a=D.$implicit;t.ekj("grid-panel",!0)("odd","odd"===a.class)("even","even"===a.class),t.Q6J("height",a.height)("width",a.width)("x",a.x)("y",a.y)}}const At=["tooltipTemplate"],ji=function(f,D){return[f,D]},ya=".ngx-charts-outer{-webkit-animation:chartFadeIn linear .6s;animation:chartFadeIn linear .6s}@-webkit-keyframes chartFadeIn{0%{opacity:0}20%{opacity:0}to{opacity:1}}@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 .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 .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 .card:focus{outline:none}.ngx-charts .bar.hidden,.ngx-charts .cell.hidden,.ngx-charts .arc.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",N2=["ngx-charts-bar",""];function pn(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"defs"),t._UZ(1,"g",2),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("orientation",a.orientation)("name",a.gradientId)("stops",a.gradientStops)}}const An=["ngx-charts-bar-label",""],Yh=["ngx-charts-series-vertical",""];function jh(f,D){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("select",function(V){t.CHM(a);const K=t.oxw(2);return t.KtG(K.onClick(V))})("activate",function(V){t.CHM(a);const K=t.oxw(2);return t.KtG(K.activate.emit(V))})("deactivate",function(V){t.CHM(a);const K=t.oxw(2);return t.KtG(K.deactivate.emit(V))}),t.qZA()}if(2&f){const a=D.$implicit,x=t.oxw(2);t.Q6J("@animationState","active")("@.disabled",!x.animations)("width",a.width)("height",a.height)("x",a.x)("y",a.y)("fill",a.color)("stops",a.gradientStops)("data",a.data)("orientation",x.barOrientation.Vertical)("roundEdges",a.roundEdges)("gradient",x.gradient)("ariaLabel",a.ariaLabel)("isActive",x.isActive(a.data))("tooltipDisabled",x.tooltipDisabled)("tooltipPlacement",x.tooltipPlacement)("tooltipType",x.tooltipType)("tooltipTitle",x.tooltipTemplate?void 0:a.tooltipText)("tooltipTemplate",x.tooltipTemplate)("tooltipContext",a.data)("noBarWhenZero",x.noBarWhenZero)("animations",x.animations)}}function T4(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,jh,1,22,"g",1),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngForOf",a.bars)("ngForTrackBy",a.trackBy)}}function d3(f,D){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("select",function(V){t.CHM(a);const K=t.oxw(2);return t.KtG(K.onClick(V))})("activate",function(V){t.CHM(a);const K=t.oxw(2);return t.KtG(K.activate.emit(V))})("deactivate",function(V){t.CHM(a);const K=t.oxw(2);return t.KtG(K.deactivate.emit(V))}),t.qZA()}if(2&f){const a=D.$implicit,x=t.oxw(2);t.Q6J("width",a.width)("height",a.height)("x",a.x)("y",a.y)("fill",a.color)("stops",a.gradientStops)("data",a.data)("orientation",x.barOrientation.Vertical)("roundEdges",a.roundEdges)("gradient",x.gradient)("ariaLabel",a.ariaLabel)("isActive",x.isActive(a.data))("tooltipDisabled",x.tooltipDisabled)("tooltipPlacement",x.tooltipPlacement)("tooltipType",x.tooltipType)("tooltipTitle",x.tooltipTemplate?void 0:a.tooltipText)("tooltipTemplate",x.tooltipTemplate)("tooltipContext",a.data)("noBarWhenZero",x.noBarWhenZero)("animations",x.animations)}}function A4(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,d3,1,20,"g",1),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngForOf",a.bars)("ngForTrackBy",a.trackBy)}}function h3(f,D){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",4),t.NdJ("dimensionsChanged",function(V){const Te=t.CHM(a).index,lt=t.oxw(2);return t.KtG(lt.dataLabelHeightChanged.emit({size:V,index:Te}))}),t.qZA()}if(2&f){const a=D.$implicit,x=t.oxw(2);t.Q6J("barX",a.x)("barY",a.y)("barWidth",a.width)("barHeight",a.height)("value",a.total)("valueFormatting",x.dataLabelFormatting)("orientation",x.barOrientation.Vertical)}}function L4(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,h3,1,7,"g",3),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngForOf",a.barsForDataLabels)("ngForTrackBy",a.trackDataLabelBy)}}function u3(f,D){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",5),t.NdJ("dimensionsChanged",function(V){t.CHM(a);const K=t.oxw();return t.KtG(K.updateXAxisHeight(V))}),t.qZA()}if(2&f){const a=t.oxw();t.Q6J("xScale",a.xScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)("xAxisOffset",a.dataLabelMaxHeight.negative)}}function Kh(f,D){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",6),t.NdJ("dimensionsChanged",function(V){t.CHM(a);const K=t.oxw();return t.KtG(K.updateYAxisWidth(V))}),t.qZA()}if(2&f){const a=t.oxw();t.Q6J("yScale",a.yScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)}}function D4(f,D){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",6),t.NdJ("dimensionsChanged",function(V){t.CHM(a);const K=t.oxw();return t.KtG(K.updateXAxisHeight(V))}),t.qZA()}if(2&f){const a=t.oxw();t.Q6J("xScale",a.groupScale)("dims",a.dims)("showLabel",a.showXAxisLabel)("labelText",a.xAxisLabel)("trimTicks",a.trimXAxisTicks)("rotateTicks",a.rotateXAxisTicks)("maxTickLength",a.maxXAxisTickLength)("tickFormatting",a.xAxisTickFormatting)("ticks",a.xAxisTicks)("xAxisOffset",a.dataLabelMaxHeight.negative)}}function Qh(f,D){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",7),t.NdJ("dimensionsChanged",function(V){t.CHM(a);const K=t.oxw();return t.KtG(K.updateYAxisWidth(V))}),t.qZA()}if(2&f){const a=t.oxw();t.Q6J("yScale",a.valueScale)("dims",a.dims)("showGridLines",a.showGridLines)("showLabel",a.showYAxisLabel)("labelText",a.yAxisLabel)("trimTicks",a.trimYAxisTicks)("maxTickLength",a.maxYAxisTickLength)("tickFormatting",a.yAxisTickFormatting)("ticks",a.yAxisTicks)}}function I4(f,D){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",9),t.NdJ("select",function(V){const Te=t.CHM(a).$implicit,lt=t.oxw(2);return t.KtG(lt.onClick(V,Te))})("activate",function(V){const Te=t.CHM(a).$implicit,lt=t.oxw(2);return t.KtG(lt.onActivate(V,Te))})("deactivate",function(V){const Te=t.CHM(a).$implicit,lt=t.oxw(2);return t.KtG(lt.onDeactivate(V,Te))})("dataLabelHeightChanged",function(V){const Te=t.CHM(a).index,lt=t.oxw(2);return t.KtG(lt.onDataLabelMaxHeightChanged(V,Te))}),t.qZA()}if(2&f){const a=D.$implicit,x=t.oxw(2);t.Q6J("@animationState","active")("activeEntries",x.activeEntries)("xScale",x.innerScale)("yScale",x.valueScale)("colors",x.colors)("series",a.series)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("seriesName",a.name)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero),t.uIk("transform",x.groupTransform(a))}}function k4(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,I4,1,17,"g",8),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function O4(f,D){if(1&f){const a=t.EpF();t.O4$(),t.TgZ(0,"g",9),t.NdJ("select",function(V){const Te=t.CHM(a).$implicit,lt=t.oxw(2);return t.KtG(lt.onClick(V,Te))})("activate",function(V){const Te=t.CHM(a).$implicit,lt=t.oxw(2);return t.KtG(lt.onActivate(V,Te))})("deactivate",function(V){const Te=t.CHM(a).$implicit,lt=t.oxw(2);return t.KtG(lt.onDeactivate(V,Te))})("dataLabelHeightChanged",function(V){const Te=t.CHM(a).index,lt=t.oxw(2);return t.KtG(lt.onDataLabelMaxHeightChanged(V,Te))}),t.qZA()}if(2&f){const a=D.$implicit,x=t.oxw(2);t.Q6J("activeEntries",x.activeEntries)("xScale",x.innerScale)("yScale",x.valueScale)("colors",x.colors)("series",a.series)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("seriesName",a.name)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero),t.uIk("transform",x.groupTransform(a))}}function Ro(f,D){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,O4,1,16,"g",8),t.qZA()),2&f){const a=t.oxw();t.xp6(1),t.Q6J("ngForOf",a.results)("ngForTrackBy",a.trackBy)}}function cu(f,D,a){a=a||{};let x,V,K,Te=null,lt=0;function qt(){lt=!1===a.leading?0:+new Date,Te=null,K=f.apply(x,V)}return function(){const jt=+new Date;!lt&&!1===a.leading&&(lt=jt);const hi=D-(jt-lt);return x=this,V=arguments,hi<=0?(clearTimeout(Te),Te=null,lt=jt,K=f.apply(x,V)):!Te&&!1!==a.trailing&&(Te=setTimeout(qt,hi)),K}}function lu(f,D){return function(x,V,K){return{configurable:!0,enumerable:K.enumerable,get:function(){return Object.defineProperty(this,V,{configurable:!0,enumerable:K.enumerable,value:cu(K.value,f,D)}),this[V]}}}}var Xn=(()=>{return(f=Xn||(Xn={})).Top="top",f.Bottom="bottom",f.Left="left",f.Right="right",f.Center="center",Xn;var f})();function D0(f,D,a){return a===Xn.Top?f.top-7:a===Xn.Bottom?f.top+f.height-D.height+7:a===Xn.Center?f.top+f.height/2-D.height/2:void 0}function du(f,D,a){return a===Xn.Left?f.left-7:a===Xn.Right?f.left+f.width-D.width+7:a===Xn.Center?f.left+f.width/2-D.width/2:void 0}class Gs{static calculateVerticalAlignment(D,a,x){let V=D0(D,a,x);return V+a.height>window.innerHeight&&(V=window.innerHeight-a.height),V}static calculateVerticalCaret(D,a,x,V){let K;V===Xn.Top&&(K=D.height/2-x.height/2+7),V===Xn.Bottom&&(K=a.height-D.height/2-x.height/2-7),V===Xn.Center&&(K=a.height/2-x.height/2);const Te=D0(D,a,V);return Te+a.height>window.innerHeight&&(K+=Te+a.height-window.innerHeight),K}static calculateHorizontalAlignment(D,a,x){let V=du(D,a,x);return V+a.width>window.innerWidth&&(V=window.innerWidth-a.width),V}static calculateHorizontalCaret(D,a,x,V){let K;V===Xn.Left&&(K=D.width/2-x.width/2+7),V===Xn.Right&&(K=a.width-D.width/2-x.width/2-7),V===Xn.Center&&(K=a.width/2-x.width/2);const Te=du(D,a,V);return Te+a.width>window.innerWidth&&(K+=Te+a.width-window.innerWidth),K}static shouldFlip(D,a,x,V){let K=!1;return x===Xn.Right&&D.left+D.width+a.width+V>window.innerWidth&&(K=!0),x===Xn.Left&&D.left-a.width-V<0&&(K=!0),x===Xn.Top&&D.top-a.height-V<0&&(K=!0),x===Xn.Bottom&&D.top+D.height+a.height+V>window.innerHeight&&(K=!0),K}static positionCaret(D,a,x,V,K){let Te=0,lt=0;return D===Xn.Right?(lt=-7,Te=Gs.calculateVerticalCaret(x,a,V,K)):D===Xn.Left?(lt=a.width,Te=Gs.calculateVerticalCaret(x,a,V,K)):D===Xn.Top?(Te=a.height,lt=Gs.calculateHorizontalCaret(x,a,V,K)):D===Xn.Bottom&&(Te=-7,lt=Gs.calculateHorizontalCaret(x,a,V,K)),{top:Te,left:lt}}static positionContent(D,a,x,V,K){let Te=0,lt=0;return D===Xn.Right?(lt=x.left+x.width+V,Te=Gs.calculateVerticalAlignment(x,a,K)):D===Xn.Left?(lt=x.left-a.width-V,Te=Gs.calculateVerticalAlignment(x,a,K)):D===Xn.Top?(Te=x.top-a.height-V,lt=Gs.calculateHorizontalAlignment(x,a,K)):D===Xn.Bottom&&(Te=x.top+x.height+V,lt=Gs.calculateHorizontalAlignment(x,a,K)),{top:Te,left:lt}}static determinePlacement(D,a,x,V){if(Gs.shouldFlip(x,a,D,V)){if(D===Xn.Right)return Xn.Left;if(D===Xn.Left)return Xn.Right;if(D===Xn.Top)return Xn.Bottom;if(D===Xn.Bottom)return Xn.Top}return D}}let O3=(()=>{class f{constructor(a,x,V){this.element=a,this.renderer=x,this.platformId=V}get cssClasses(){let a="ngx-charts-tooltip-content";return a+=` position-${this.placement}`,a+=` type-${this.type}`,a+=` ${this.cssClass}`,a}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,e.NF)(this.platformId))return;const a=this.element.nativeElement,x=this.host.nativeElement.getBoundingClientRect();if(!x.height&&!x.width)return;const V=a.getBoundingClientRect();this.checkFlip(x,V),this.positionContent(a,x,V),this.showCaret&&this.positionCaret(x,V),setTimeout(()=>this.renderer.addClass(a,"animate"),1)}positionContent(a,x,V){const{top:K,left:Te}=Gs.positionContent(this.placement,V,x,this.spacing,this.alignment);this.renderer.setStyle(a,"top",`${K}px`),this.renderer.setStyle(a,"left",`${Te}px`)}positionCaret(a,x){const V=this.caretElm.nativeElement,K=V.getBoundingClientRect(),{top:Te,left:lt}=Gs.positionCaret(this.placement,x,a,K,this.alignment);this.renderer.setStyle(V,"top",`${Te}px`),this.renderer.setStyle(V,"left",`${lt}px`)}checkFlip(a,x){this.placement=Gs.determinePlacement(this.placement,x,a,this.spacing)}onWindowResize(){this.position()}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-tooltip-content"]],viewQuery:function(a,x){if(1&a&&t.Gf(u1,5),2&a){let V;t.iGM(V=t.CRH())&&(x.caretElm=V.first)}},hostVars:2,hostBindings:function(a,x){1&a&&t.NdJ("resize",function(){return x.onWindowResize()},!1,t.Jf7),2&a&&t.Tol(x.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:[[3,"hidden"],["caretElm",""],[1,"tooltip-content"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"innerHTML"]],template:function(a,x){1&a&&(t.TgZ(0,"div"),t._UZ(1,"span",0,1),t.TgZ(3,"div",2),t.YNc(4,E2,2,4,"span",3),t.YNc(5,Qc,1,1,"span",4),t.qZA()()),2&a&&(t.xp6(1),t.Gre("tooltip-caret position-",x.placement,""),t.Q6J("hidden",!x.showCaret),t.xp6(3),t.Q6J("ngIf",!x.title),t.xp6(1),t.Q6J("ngIf",x.title))},dependencies:[e.O5,e.tP],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,g.gn)([lu(100)],f.prototype,"onWindowResize",null),f})();class P3{constructor(D){this.injectionService=D,this.defaults={},this.components=new Map}getByType(D=this.type){return this.components.get(D)}create(D){return this.createByType(this.type,D)}createByType(D,a){a=this.assignDefaults(a);const x=this.injectComponent(D,a);return this.register(D,x),x}destroy(D){const a=this.components.get(D.componentType);if(a&&a.length){const x=a.indexOf(D);x>-1&&(a[x].destroy(),a.splice(x,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(D){const a=this.components.get(D);if(a&&a.length){let x=a.length-1;for(;x>=0;)this.destroy(a[x--])}}injectComponent(D,a){return this.injectionService.appendComponent(D,a)}assignDefaults(D){const a={...this.defaults.inputs},x={...this.defaults.outputs};return!D.inputs&&!D.outputs&&(D={inputs:D}),a&&(D.inputs={...a,...D.inputs}),x&&(D.outputs={...x,...D.outputs}),D}register(D,a){this.components.has(D)||this.components.set(D,[]),this.components.get(D).push(a)}}let R3=(()=>{class f{constructor(a,x,V){this.applicationRef=a,this.componentFactoryResolver=x,this.injector=V}static setGlobalRootViewContainer(a){f.globalRootViewContainer=a}getRootViewContainer(){if(this._container)return this._container;if(f.globalRootViewContainer)return f.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(a){this._container=a}getComponentRootNode(a){return function I0(f){return f.element}(a)?a.element.nativeElement:a.hostView&&a.hostView.rootNodes.length>0?a.hostView.rootNodes[0]:a.location.nativeElement}getRootViewContainerNode(a){return this.getComponentRootNode(a)}projectComponentBindings(a,x){if(x){if(void 0!==x.inputs){const V=Object.getOwnPropertyNames(x.inputs);for(const K of V)a.instance[K]=x.inputs[K]}if(void 0!==x.outputs){const V=Object.getOwnPropertyNames(x.outputs);for(const K of V)a.instance[K]=x.outputs[K]}}return a}appendComponent(a,x={},V){V||(V=this.getRootViewContainer());const K=this.getComponentRootNode(V),Te=new A.u0(K,this.componentFactoryResolver,this.applicationRef,this.injector),lt=new A.C5(a),qt=Te.attach(lt);return this.projectComponentBindings(qt,x),qt}}return f.globalRootViewContainer=null,f.\u0275fac=function(a){return new(a||f)(t.LFG(t.z2F),t.LFG(t._Vd),t.LFG(t.zs3))},f.\u0275prov=t.Yz7({token:f,factory:f.\u0275fac}),f})(),k0=(()=>{class f extends P3{constructor(a){super(a),this.type=O3}}return f.\u0275fac=function(a){return new(a||f)(t.LFG(R3))},f.\u0275prov=t.Yz7({token:f,factory:f.\u0275fac}),f})();var _o=(()=>{return(f=_o||(_o={})).Right="right",f.Below="below",_o;var f})(),ec=(()=>{return(f=ec||(ec={})).ScaleLegend="scaleLegend",f.Legend="legend",ec;var f})(),En=(()=>{return(f=En||(En={})).Time="time",f.Linear="linear",f.Ordinal="ordinal",f.Quantile="quantile",En;var f})();let O0=(()=>{class f{constructor(){this.horizontal=!1}ngOnChanges(a){const x=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${x})`}gradientString(a,x){x.push(1);const V=[];return a.reverse().forEach((K,Te)=>{V.push(`${K} ${Math.round(100*x[Te])}%`)}),V.join(", ")}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},features:[t.TTD],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(a,x){1&a&&(t.TgZ(0,"div",0)(1,"div",1)(2,"span"),t._uU(3),t.qZA()(),t._UZ(4,"div",2),t.TgZ(5,"div",1)(6,"span"),t._uU(7),t.qZA()()()),2&a&&(t.Udp("height",x.horizontal?void 0:x.height,"px")("width",x.width,"px"),t.ekj("horizontal-legend",x.horizontal),t.xp6(3),t.Oqu(x.valueRange[1].toLocaleString()),t.xp6(1),t.Udp("background",x.gradient),t.xp6(3),t.Oqu(x.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}),f})();function Ll(f){return f instanceof Date?f.toLocaleDateString():f.toLocaleString()}let hu=(()=>{class f{constructor(){this.isActive=!1,this.select=new t.vpe,this.activate=new t.vpe,this.deactivate=new t.vpe,this.toggle=new t.vpe}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(a,x){1&a&&t.NdJ("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(){return x.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,"title","click"],[1,"legend-label-color",3,"click"],[1,"legend-label-text"]],template:function(a,x){1&a&&(t.TgZ(0,"span",0),t.NdJ("click",function(){return x.select.emit(x.formattedLabel)}),t.TgZ(1,"span",1),t.NdJ("click",function(){return x.toggle.emit(x.formattedLabel)}),t.qZA(),t.TgZ(2,"span",2),t._uU(3),t.qZA()()),2&a&&(t.ekj("active",x.isActive),t.Q6J("title",x.formattedLabel),t.xp6(1),t.Udp("background-color",x.color),t.xp6(2),t.hij(" ",x.trimmedLabel," "))},encapsulation:2,changeDetection:0}),f})(),R0=(()=>{class f{constructor(a){this.cd=a,this.horizontal=!1,this.labelClick=new t.vpe,this.labelActivate=new t.vpe,this.labelDeactivate=new t.vpe,this.legendEntries=[]}ngOnChanges(a){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const a=[];for(const x of this.data){const V=Ll(x);-1===a.findIndex(Te=>Te.label===V)&&a.push({label:x,formattedLabel:V,color:this.colors.getColor(x)})}return a}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(V=>a.label===V.name)}activate(a){this.labelActivate.emit(a)}deactivate(a){this.labelDeactivate.emit(a)}trackBy(a,x){return x.label}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.sBO))},f.\u0275cmp=t.Xpm({type:f,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:[t.TTD],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,"label","formattedLabel","color","isActive","select","activate","deactivate"]],template:function(a,x){1&a&&(t.TgZ(0,"div"),t.YNc(1,Ah,3,1,"header",0),t.TgZ(2,"div",1)(3,"ul",2),t.YNc(4,Lh,2,4,"li",3),t.qZA()()()),2&a&&(t.Udp("width",x.width,"px"),t.xp6(1),t.Q6J("ngIf",(null==x.title?null:x.title.length)>0),t.xp6(2),t.Udp("max-height",x.height-45,"px"),t.ekj("horizontal-legend",x.horizontal),t.xp6(1),t.Q6J("ngForOf",x.legendEntries)("ngForTrackBy",x.trackBy))},dependencies:[hu,e.O5,e.sg],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}),f})(),N0=(()=>{class f{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new t.vpe,this.legendLabelActivate=new t.vpe,this.legendLabelDeactivate=new t.vpe,this.LegendPosition=_o,this.LegendType=ec}ngOnChanges(a){this.update()}update(){let a=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===_o.Right)&&(a=this.legendType===ec.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-a)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==_o.Right?this.chartWidth:Math.floor(this.view[0]*a/12)}getLegendType(){return this.legendOptions.scaleType===En.Linear?ec.ScaleLegend:ec.Legend}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,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:[t._Bn([k0]),t.TTD],ngContentSelectors:T2,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,"horizontal","data","title","colors","height","width","activeEntries","labelClick","labelActivate","labelDeactivate"]],template:function(a,x){1&a&&(t.F$t(),t.TgZ(0,"div",0),t.O4$(),t.TgZ(1,"svg",1),t.Hsn(2),t.qZA(),t.YNc(3,o0,1,5,"ngx-charts-scale-legend",2),t.YNc(4,Dh,1,7,"ngx-charts-legend",3),t.qZA()),2&a&&(t.Udp("width",x.view[0],"px")("height",x.view[1],"px"),t.xp6(1),t.uIk("width",x.chartWidth)("height",x.view[1]),t.xp6(2),t.Q6J("ngIf",x.showLegend&&x.legendType===x.LegendType.ScaleLegend),t.xp6(1),t.Q6J("ngIf",x.showLegend&&x.legendType===x.LegendType.Legend))},dependencies:[O0,R0,e.O5],encapsulation:2,changeDetection:0}),f})(),N3=(()=>{class f{constructor(a,x){this.element=a,this.zone=x,this.visible=new t.vpe,this.isVisible=!1,this.runCheck()}destroy(){clearTimeout(this.timeout)}onVisibilityChange(){this.zone.run(()=>{this.isVisible=!0,this.visible.emit(!0)})}runCheck(){const a=()=>{if(!this.element)return;const{offsetHeight:x,offsetWidth:V}=this.element.nativeElement;x&&V?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>a(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>a())})}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.SBq),t.Y36(t.R0b))},f.\u0275dir=t.lG2({type:f,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),f})();function uu(f){return"[object Date]"===toString.call(f)}let No=(()=>{class f{constructor(a,x,V,K){this.chartElement=a,this.zone=x,this.cd=V,this.platformId=K,this.scheme="cool",this.schemeType=En.Ordinal,this.animations=!0,this.select=new t.vpe}ngOnInit(){(0,e.PM)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new N3(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(a){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 a=this.getContainerDims();a&&(this.width=a.width,this.height=a.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 a,x;const V=this.chartElement.nativeElement;if((0,e.NF)(this.platformId)&&null!==V.parentNode){const K=V.parentNode.getBoundingClientRect();a=K.width,x=K.height}return a&&x?{width:a,height:x}:null}formatDates(){for(let a=0;a<this.results.length;a++){const x=this.results[a];if(x.label=x.name,uu(x.label)&&(x.label=x.label.toLocaleDateString()),x.series)for(let V=0;V<x.series.length;V++){const K=x.series[V];K.label=K.name,uu(K.label)&&(K.label=K.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){if(!(0,e.NF)(this.platformId))return;const x=(0,o.R)(window,"resize").pipe((0,C.b)(200)).subscribe(V=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=x}cloneData(a){const x=[];for(const V of a){const K={name:V.name};if(void 0!==V.value&&(K.value=V.value),void 0!==V.series){K.series=[];for(const Te of V.series){const lt=Object.assign({},Te);K.series.push(lt)}}void 0!==V.extra&&(K.extra=JSON.parse(JSON.stringify(V.extra))),x.push(K)}return x}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},features:[t.TTD],decls:1,vars:0,template:function(a,x){1&a&&t._UZ(0,"div")},encapsulation:2}),f})();var Fa=(()=>{return(f=Fa||(Fa={})).Top="top",f.Bottom="bottom",f.Left="left",f.Right="right",Fa;var f})();let F3=(()=>{class f{constructor(a){this.textHeight=25,this.margin=5,this.element=a.nativeElement}ngOnChanges(a){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case Fa.Top:case Fa.Bottom:this.y=this.offset,this.x=this.width/2;break;case Fa.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case Fa.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.SBq))},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[t.TTD],attrs:Ih,decls:2,vars:6,template:function(a,x){1&a&&(t.O4$(),t.TgZ(0,"text"),t._uU(1),t.qZA()),2&a&&(t.uIk("stroke-width",x.strokeWidth)("x",x.x)("y",x.y)("text-anchor",x.textAnchor)("transform",x.transform),t.xp6(1),t.hij(" ",x.label," "))},encapsulation:2,changeDetection:0}),f})();function Z2(f,D=16){return"string"!=typeof f?"number"==typeof f?f+"":"":(f=f.trim()).length<=D?f:`${f.slice(0,D)}...`}function Xc(f,D){if(f.length>D){const a=[],x=Math.floor(f.length/D);for(let V=0;V<f.length;V++)V%x==0&&a.push(f[V]);f=a}return f}var Zs=(()=>{return(f=Zs||(Zs={})).Start="start",f.Middle="middle",f.End="end",Zs;var f})();let fu=(()=>{class f{constructor(a){this.platformId=a,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.dimensionsChanged=new t.vpe,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=Zs.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10}ngOnChanges(a){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,e.NF)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const a=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);a!==this.height&&(this.height=a,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const a=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:a.tickFormat?a.tickFormat.apply(a,this.tickArguments):function(V){return"Date"===V.constructor.name?V.toLocaleDateString():V.toLocaleString()};const x=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(V){return this.scale(V)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",x&&0!==x?(this.textTransform=`rotate(${x})`,this.textAnchor=Zs.End,this.verticalSpacing=10):this.textAnchor=Zs.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(a){let x=0;this.maxTicksLength=0;for(let jt=0;jt<a.length;jt++){const hi=this.tickFormat(a[jt]).toString();let Ci=hi.length;this.trimTicks&&(Ci=this.tickTrim(hi).length),Ci>this.maxTicksLength&&(this.maxTicksLength=Ci)}const Te=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let lt=Te;const qt=Math.floor(this.width/a.length);for(;lt>qt&&x>-90;)x-=30,lt=Math.cos(x*(Math.PI/180))*Te;return this.approxHeight=Math.max(Math.abs(Math.sin(x*(Math.PI/180))*Te),10),x}getTicks(){let a;const x=this.getMaxTicks(20),V=this.getMaxTicks(100);return this.tickValues?a=this.tickValues:this.scale.ticks?a=this.scale.ticks.apply(this.scale,[V]):(a=this.scale.domain(),a=Xc(a,x)),a}getMaxTicks(a){return Math.floor(this.width/a)}tickTransform(a){return"translate("+this.adjustedScale(a)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(a){return this.trimTicks?Z2(a,this.maxTickLength):a}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(a,x){if(1&a&&t.Gf(f1,5),2&a){let V;t.iGM(V=t.CRH())&&(x.ticksElement=V.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"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:qc,decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[4,"ngIf"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(a,x){1&a&&(t.O4$(),t.TgZ(0,"g",null,0),t.YNc(2,ko,5,7,"g",1),t.qZA(),t.YNc(3,c0,2,2,"g",2)),2&a&&(t.xp6(2),t.Q6J("ngForOf",x.ticks),t.xp6(1),t.Q6J("ngForOf",x.ticks))},dependencies:[e.sg,e.O5],encapsulation:2,changeDetection:0}),f})(),H0=(()=>{class f{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=Fa.Bottom,this.xAxisOffset=0,this.dimensionsChanged=new t.vpe,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5,this.orientation=Fa}ngOnChanges(a){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:a}){const x=a+25+5;x!==this.labelOffset&&(this.labelOffset=x,setTimeout(()=>{this.dimensionsChanged.emit({height:a})},0))}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(a,x){if(1&a&&t.Gf(fu,5),2&a){let V;t.iGM(V=t.CRH())&&(x.ticksComponent=V.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"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:l0,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(a,x){1&a&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Oh,1,12,"g",0),t.YNc(2,d0,1,5,"g",1),t.qZA()),2&a&&(t.uIk("class",x.xAxisClassName)("transform",x.transform),t.xp6(1),t.Q6J("ngIf",x.xScale),t.xp6(1),t.Q6J("ngIf",x.showLabel))},dependencies:[fu,F3,e.O5],encapsulation:2,changeDetection:0}),f})();function Dl(f,D,a,x,V,[K,Te,lt,qt]){let jt="";return jt=`M${[f+V,D]}`,jt+="h"+((a=0===(a=Math.floor(a))?1:a)-2*V),jt+=Te?`a${[V,V]} 0 0 1 ${[V,V]}`:`h${V}v${V}`,jt+="v"+((x=0===(x=Math.floor(x))?1:x)-2*V),jt+=qt?`a${[V,V]} 0 0 1 ${[-V,V]}`:`v${V}h${-V}`,jt+="h"+(2*V-a),jt+=lt?`a${[V,V]} 0 0 1 ${[-V,-V]}`:`h${-V}v${-V}`,jt+="v"+(2*V-x),jt+=K?`a${[V,V]} 0 0 1 ${[V,-V]}`:`v${-V}h${V}`,jt+="z",jt}let rf=(()=>{class f{constructor(a){this.platformId=a,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.dimensionsChanged=new t.vpe,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=Zs.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=Fa}ngOnChanges(a){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,e.NF)(this.platformId))return this.width=this.getApproximateAxisWidth(),void this.dimensionsChanged.emit({width:this.width});const a=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);a!==this.width&&(this.width=a,this.dimensionsChanged.emit({width:a}),setTimeout(()=>this.updateDims()))}update(){const a=this.scale,x=this.orient===Fa.Top||this.orient===Fa.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:a.tickFormat?a.tickFormat.apply(a,this.tickArguments):function(V){return"Date"===V.constructor.name?V.toLocaleDateString():V.toLocaleString()},this.adjustedScale=a.bandwidth?function(V){return a(V)+.5*a.bandwidth()}:a,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case Fa.Top:case Fa.Bottom:this.transform=function(V){return"translate("+this.adjustedScale(V)+",0)"},this.textAnchor=Zs.Middle,this.y2=this.innerTickSize*x,this.y1=this.tickSpacing*x,this.dy=x<0?"0em":".71em";break;case Fa.Left:this.transform=function(V){return"translate(0,"+this.adjustedScale(V)+")"},this.textAnchor=Zs.End,this.x2=this.innerTickSize*-x,this.x1=this.tickSpacing*-x,this.dy=".32em";break;case Fa.Right:this.transform=function(V){return"translate(0,"+this.adjustedScale(V)+")"},this.textAnchor=Zs.Start,this.x2=this.innerTickSize*-x,this.x1=this.tickSpacing*-x,this.dy=".32em"}setTimeout(()=>this.updateDims())}setReferencelines(){this.refMin=this.adjustedScale(Math.min.apply(null,this.referenceLines.map(a=>a.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(a=>a.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=Dl(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let a;const x=this.getMaxTicks(20),V=this.getMaxTicks(50);return this.tickValues?a=this.tickValues:this.scale.ticks?a=this.scale.ticks.apply(this.scale,[V]):(a=this.scale.domain(),a=Xc(a,x)),a}getMaxTicks(a){return Math.floor(this.height/a)}tickTransform(a){return`translate(${this.adjustedScale(a)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(a){return this.trimTicks?Z2(a,this.maxTickLength):a}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(V=>this.tickTrim(this.tickFormat(V)).length))}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(a,x){if(1&a&&t.Gf(f1,5),2&a){let V;t.iGM(V=t.CRH())&&(x.ticksElement=V.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"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:Ph,decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[1,"reference-area"],[4,"ngIf"],["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(a,x){1&a&&(t.O4$(),t.TgZ(0,"g",null,0),t.YNc(2,h0,5,9,"g",1),t.qZA(),t.YNc(3,u0,1,2,"path",2),t.YNc(4,Fh,2,2,"g",3),t.YNc(5,p0,2,1,"g",3)),2&a&&(t.xp6(2),t.Q6J("ngForOf",x.ticks),t.xp6(1),t.Q6J("ngIf",x.referenceLineLength>1&&x.refMax&&x.refMin&&x.showRefLines),t.xp6(1),t.Q6J("ngForOf",x.ticks),t.xp6(1),t.Q6J("ngForOf",x.referenceLines))},dependencies:[e.sg,e.O5],encapsulation:2,changeDetection:0}),f})(),H3=(()=>{class f{constructor(){this.showGridLines=!1,this.yOrient=Fa.Left,this.yAxisOffset=0,this.dimensionsChanged=new t.vpe,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(a){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===Fa.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:a}){a!==this.labelOffset&&this.yOrient===Fa.Right?(this.labelOffset=a+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:a})},0)):a!==this.labelOffset&&(this.labelOffset=a,setTimeout(()=>{this.dimensionsChanged.emit({width:a})},0))}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(a,x){if(1&a&&t.Gf(rf,5),2&a){let V;t.iGM(V=t.CRH())&&(x.ticksComponent=V.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"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:Hh,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","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(a,x){1&a&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,zh,1,14,"g",0),t.YNc(2,g0,1,5,"g",1),t.qZA()),2&a&&(t.uIk("class",x.yAxisClassName)("transform",x.transform),t.xp6(1),t.Q6J("ngIf",x.yScale),t.xp6(1),t.Q6J("ngIf",x.showLabel))},dependencies:[rf,F3,e.O5],encapsulation:2,changeDetection:0}),f})(),mu=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[e.ez]]}),f})();var $c=(()=>{return(f=$c||($c={})).popover="popover",f.tooltip="tooltip",$c;var f})(),el=(()=>{return(f=el||(el={}))[f.all="all"]="all",f[f.focus="focus"]="focus",f[f.mouseover="mouseover"]="mouseover",el;var f})();let xa=(()=>{class f{constructor(a,x,V){this.tooltipService=a,this.viewContainerRef=x,this.renderer=V,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=Xn.Top,this.tooltipAlignment=Xn.Center,this.tooltipType=$c.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=el.all,this.tooltipImmediateExit=!1,this.show=new t.vpe,this.hide=new t.vpe}get listensForFocus(){return this.tooltipShowEvent===el.all||this.tooltipShowEvent===el.focus}get listensForHover(){return this.tooltipShowEvent===el.all||this.tooltipShowEvent===el.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(a){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(a))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(a){if(this.component||this.tooltipDisabled)return;const x=a?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const V=this.createBoundOptions();this.component=this.tooltipService.create(V),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},x)}addHideListeners(a){this.mouseEnterContentEvent=this.renderer.listen(a,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(a,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",x=>{a.contains(x.target)||this.hideTooltip()}))}hideTooltip(a=!1){if(!this.component)return;const x=()=>{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),a?x():this.timeout=setTimeout(x,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 f.\u0275fac=function(a){return new(a||f)(t.Y36(k0),t.Y36(t.s_b),t.Y36(t.Qsj))},f.\u0275dir=t.lG2({type:f,selectors:[["","ngx-tooltip",""]],hostBindings:function(a,x){1&a&&t.NdJ("focusin",function(){return x.onFocus()})("blur",function(){return x.onBlur()})("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(K){return x.onMouseLeave(K.target)})("click",function(){return x.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"}}),f})(),z0=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({providers:[R3,k0],imports:[[e.ez]]}),f})();const z3={};function M1(){let f=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return f=`a${f}`,z3[f]?M1():(z3[f]=!0,f)}var ta=(()=>{return(f=ta||(ta={})).Vertical="vertical",f.Horizontal="horizontal",ta;var f})();let V0=(()=>{class f{constructor(){this.orientation=ta.Vertical}ngOnChanges(a){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===ta.Horizontal?this.x2="100%":this.orientation===ta.Vertical&&(this.y1="100%")}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[t.TTD],attrs:Vh,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(a,x){1&a&&(t.O4$(),t.TgZ(0,"linearGradient",0),t.YNc(1,_0,1,5,"stop",1),t.qZA()),2&a&&(t.Q6J("id",x.name),t.uIk("x1",x.x1)("y1",x.y1)("x2",x.x2)("y2",x.y2),t.xp6(1),t.Q6J("ngForOf",x.stops))},dependencies:[e.sg],encapsulation:2,changeDetection:0}),f})(),pu=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:I2,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(a,x){1&a&&(t.O4$(),t._UZ(0,"rect",0)),2&a&&t.uIk("height",x.height)("width",x.width)("x",x.x)("y",x.y)},encapsulation:2,changeDetection:0}),f})();var E1=(()=>{return(f=E1||(E1={})).Odd="odd",f.Even="even",E1;var f})();let bu,gu=(()=>{class f{ngOnChanges(a){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(a=>{let x,V,K,Te,lt,qt=E1.Odd;if(this.orient===ta.Vertical){const jt=this.xScale(a.name);Number.parseInt((jt/this.xScale.step()).toString(),10)%2==1&&(qt=E1.Even),x=this.xScale.bandwidth()*this.xScale.paddingInner(),V=this.xScale.bandwidth()+x,K=this.dims.height,Te=this.xScale(a.name)-x/2,lt=0}else if(this.orient===ta.Horizontal){const jt=this.yScale(a.name);Number.parseInt((jt/this.yScale.step()).toString(),10)%2==1&&(qt=E1.Even),x=this.yScale.bandwidth()*this.yScale.paddingInner(),V=this.dims.width,K=this.yScale.bandwidth()+x,Te=0,lt=this.yScale(a.name)-x/2}return{name:a.name,class:qt,height:K,width:V,x:Te,y:lt}})}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[t.TTD],attrs:Gh,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(a,x){1&a&&t.YNc(0,k2,1,10,"g",0),2&a&&t.Q6J("ngForOf",x.gridPanels)},dependencies:[pu,e.sg],encapsulation:2,changeDetection:0}),f})();typeof window<"u"?bu=window:typeof global<"u"&&(bu=global);let bo=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[e.ez,mu,z0],e.ez,mu,z0]}),f})();function xu({width:f,height:D,margins:a,showXAxis:x=!1,showYAxis:V=!1,xAxisHeight:K=0,yAxisWidth:Te=0,showXLabel:lt=!1,showYLabel:qt=!1,showLegend:jt=!1,legendType:hi=En.Ordinal,legendPosition:Ci=_o.Right,columns:Ei=12}){let Ii=a[3],cn=f,bn=D-a[0]-a[2];return jt&&Ci===_o.Right&&(Ei-=hi===En.Ordinal?2:1),cn=cn*Ei/12,cn=cn-a[1]-a[3],x&&(bn-=5,bn-=K,lt&&(bn-=30)),V&&(cn-=5,cn-=Te,Ii+=Te,Ii+=10,qt&&(cn-=30,Ii+=30)),cn=Math.max(0,cn),bn=Math.max(0,bn),{width:Math.floor(cn),height:Math.floor(bn),xOffset:Math.floor(Ii)}}const V3=[{name:"vivid",selectable:!0,group:En.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:En.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:En.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:En.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:En.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:En.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:En.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:En.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:En.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:En.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:En.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:En.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:En.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:En.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:En.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class B3{constructor(D,a,x,V){"string"==typeof D&&(D=V3.find(K=>K.name===D)),this.colorDomain=D.domain,this.scaleType=a,this.domain=x,this.customColors=V,this.scale=this.generateColorScheme(D,a,this.domain)}generateColorScheme(D,a,x){let V;switch("string"==typeof D&&(D=V3.find(K=>K.name===D)),a){case En.Quantile:V=M2().range(D.domain).domain(x);break;case En.Ordinal:V=Kc().range(D.domain).domain(x);break;case En.Linear:{const K=[...D.domain];1===K.length&&(K.push(K[0]),this.colorDomain=K);const Te=h1(0,1,1/K.length);V=qs().range(K).domain(Te)}}return V}getColor(D){if(null==D)throw new Error("Value can not be null");if(this.scaleType===En.Linear){const a=qs().domain(this.domain).range([0,1]);return this.scale(a(D))}{if("function"==typeof this.customColors)return this.customColors(D);const a=D.toString();let x;return this.customColors&&this.customColors.length>0&&(x=this.customColors.find(V=>V.name.toLowerCase()===a.toLowerCase())),x?x.value:this.scale(D)}}getLinearGradientStops(D,a){void 0===a&&(a=this.domain[0]);const x=qs().domain(this.domain).range([0,1]),V=Tl().domain(this.colorDomain).range([0,1]),K=this.getColor(D),Te=x(a),lt=this.getColor(a),qt=x(D);let jt=1,hi=Te;const Ci=[];for(Ci.push({color:lt,offset:Te,originalOffset:Te,opacity:1});hi<qt&&jt<this.colorDomain.length;){const Ei=this.colorDomain[jt],Ii=V(Ei);if(Ii<=Te)jt++;else{if(Ii.toFixed(4)>=(qt-V.bandwidth()).toFixed(4))break;Ci.push({color:Ei,offset:Ii,opacity:1}),hi=Ii,jt++}}if(Ci[Ci.length-1].offset<100&&Ci.push({color:K,offset:qt,opacity:1}),qt===Te)Ci[0].offset=0,Ci[1].offset=100;else if(100!==Ci[Ci.length-1].offset)for(const Ei of Ci)Ei.offset=(Ei.offset-Te)/(qt-Te)*100;return Ci}}let Z3=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[bo]]}),f})(),U0=(()=>{class f{constructor(a){this.roundEdges=!0,this.gradient=!1,this.offset=0,this.isActive=!1,this.animations=!0,this.noBarWhenZero=!0,this.select=new t.vpe,this.activate=new t.vpe,this.deactivate=new t.vpe,this.hasGradient=!1,this.hideBar=!1,this.element=a.nativeElement}ngOnChanges(a){a.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+M1().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 a=function St(f){return"string"==typeof f?new Wt([[document.querySelector(f)]],[document.documentElement]):new Wt([[f]],Ui)}(this.element).select(".bar"),x=this.getPath();this.animations?a.transition().duration(500).attr("d",x):a.attr("d",x)}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 x,a=this.getRadius();return this.roundEdges?this.orientation===ta.Vertical?(a=Math.min(this.height,a),x=Dl(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===ta.Horizontal&&(a=Math.min(this.width,a),x=Dl(this.x,this.y,1,this.height,0,this.edges)):this.orientation===ta.Vertical?x=Dl(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===ta.Horizontal&&(x=Dl(this.x,this.y,1,this.height,0,this.edges)),x}getPath(){let x,a=this.getRadius();return this.roundEdges?this.orientation===ta.Vertical?(a=Math.min(this.height,a),x=Dl(this.x,this.y,this.width,this.height,a,this.edges)):this.orientation===ta.Horizontal&&(a=Math.min(this.width,a),x=Dl(this.x,this.y,this.width,this.height,a,this.edges)):x=Dl(this.x,this.y,this.width,this.height,a,this.edges),x}getRadius(){let a=0;return this.roundEdges&&this.height>5&&this.width>5&&(a=Math.floor(Math.min(5,this.height/2,this.width/2))),a}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let a=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===ta.Vertical?a=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===ta.Horizontal&&(a=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),a}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===ta.Vertical&&0===this.height||this.orientation===ta.Horizontal&&0===this.width)}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.SBq))},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(a,x){1&a&&t.NdJ("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(){return x.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:[t.TTD],attrs:N2,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(a,x){1&a&&(t.YNc(0,pn,2,3,"defs",0),t.O4$(),t.TgZ(1,"path",1),t.NdJ("click",function(){return x.select.emit(x.data)}),t.qZA()),2&a&&(t.Q6J("ngIf",x.hasGradient),t.xp6(1),t.ekj("active",x.isActive)("hidden",x.hideBar),t.uIk("d",x.path)("aria-label",x.ariaLabel)("fill",x.hasGradient?x.gradientFill:x.fill))},dependencies:[V0,e.O5],encapsulation:2,changeDetection:0}),f})();var $s=(()=>{return(f=$s||($s={})).Standard="standard",f.Normalized="normalized",f.Stacked="stacked",$s;var f})(),Ho=(()=>{return(f=Ho||(Ho={})).positive="positive",f.negative="negative",Ho;var f})();let Mu=(()=>{class f{constructor(a){this.dimensionsChanged=new t.vpe,this.horizontalPadding=2,this.verticalPadding=5,this.element=a.nativeElement}ngOnChanges(a){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):Ll(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 f.\u0275fac=function(a){return new(a||f)(t.Y36(t.SBq))},f.\u0275cmp=t.Xpm({type:f,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:[t.TTD],attrs:An,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(a,x){1&a&&(t.O4$(),t.TgZ(0,"text",0),t._uU(1),t.qZA()),2&a&&(t.uIk("text-anchor",x.textAnchor)("transform",x.transform)("x",x.x)("y",x.y),t.xp6(1),t.hij(" ",x.formatedValue," "))},styles:[".textDataLabel[_ngcontent-%COMP%]{font-size:11px}"],changeDetection:0}),f})(),Su=(()=>{class f{constructor(a){this.platformId=a,this.type=$s.Standard,this.tooltipDisabled=!1,this.animations=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.select=new t.vpe,this.activate=new t.vpe,this.deactivate=new t.vpe,this.dataLabelHeightChanged=new t.vpe,this.barsForDataLabels=[],this.barOrientation=ta,this.isSSR=!1}ngOnInit(){(0,e.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(a){this.update()}update(){let a;this.updateTooltipSettings(),this.series.length&&(a=this.xScale.bandwidth()),a=Math.round(a);const x=Math.max(this.yScale.domain()[0],0),V={[Ho.positive]:0,[Ho.negative]:0};let Te,K=Ho.positive;this.type===$s.Normalized&&(Te=this.series.map(lt=>lt.value).reduce((lt,qt)=>lt+qt,0)),this.bars=this.series.map((lt,qt)=>{let jt=lt.value;const hi=this.getLabel(lt),Ci=Ll(hi);K=jt>0?Ho.positive:Ho.negative;const Ii={value:jt,label:hi,roundEdges:this.roundEdges,data:lt,width:a,formattedLabel:Ci,height:0,x:0,y:0};if(this.type===$s.Standard)Ii.height=Math.abs(this.yScale(jt)-this.yScale(x)),Ii.x=this.xScale(hi),Ii.y=this.yScale(jt<0?0:jt);else if(this.type===$s.Stacked){const bn=V[K],ki=bn+jt;V[K]+=jt,Ii.height=this.yScale(bn)-this.yScale(ki),Ii.x=0,Ii.y=this.yScale(ki),Ii.offset0=bn,Ii.offset1=ki}else if(this.type===$s.Normalized){let bn=V[K],ki=bn+jt;V[K]+=jt,Te>0?(bn=100*bn/Te,ki=100*ki/Te):(bn=0,ki=0),Ii.height=this.yScale(bn)-this.yScale(ki),Ii.x=0,Ii.y=this.yScale(ki),Ii.offset0=bn,Ii.offset1=ki,jt=(ki-bn).toFixed(2)+"%"}this.colors.scaleType===En.Ordinal?Ii.color=this.colors.getColor(hi):this.type===$s.Standard?(Ii.color=this.colors.getColor(jt),Ii.gradientStops=this.colors.getLinearGradientStops(jt)):(Ii.color=this.colors.getColor(Ii.offset1),Ii.gradientStops=this.colors.getLinearGradientStops(Ii.offset1,Ii.offset0));let cn=Ci;return Ii.ariaLabel=Ci+" "+jt.toLocaleString(),null!=this.seriesName&&(cn=`${this.seriesName} \u2022 ${Ci}`,Ii.data.series=this.seriesName,Ii.ariaLabel=this.seriesName+" "+Ii.ariaLabel),Ii.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${function P0(f){return f.toLocaleString().replace(/[&'`"<>]/g,D=>({"&":"&amp;","'":"&#x27;","`":"&#x60;",'"':"&quot;","<":"&lt;",">":"&gt;"}[D]))}(cn)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(jt):jt.toLocaleString()}</span>\n `,Ii}),this.updateDataLabels()}updateDataLabels(){if(this.type===$s.Stacked){this.barsForDataLabels=[];const a={};a.series=this.seriesName;const x=this.series.map(K=>K.value).reduce((K,Te)=>Te>0?K+Te:K,0),V=this.series.map(K=>K.value).reduce((K,Te)=>Te<0?K+Te:K,0);a.total=x+V,a.x=0,a.y=0,a.height=this.yScale(a.total>0?x:V),a.width=this.xScale.bandwidth(),this.barsForDataLabels.push(a)}else this.barsForDataLabels=this.series.map(a=>{const x={};return x.series=this.seriesName??a.label,x.total=a.value,x.x=this.xScale(a.label),x.y=this.yScale(0),x.height=this.yScale(x.total)-this.yScale(0),x.width=this.xScale.bandwidth(),x})}updateTooltipSettings(){this.tooltipPlacement=this.tooltipDisabled?void 0:Xn.Top,this.tooltipType=this.tooltipDisabled?void 0:$c.tooltip}isActive(a){return!!this.activeEntries&&void 0!==this.activeEntries.find(V=>a.name===V.name&&a.value===V.value)}onClick(a){this.select.emit(a)}getLabel(a){return a.label?a.label:a.name}trackBy(a,x){return x.label}trackDataLabelBy(a,x){return a+"#"+x.series+"#"+x.total}}return f.\u0275fac=function(a){return new(a||f)(t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,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:[t.TTD],attrs:Yh,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,"width","height","x","y","fill","stops","data","orientation","roundEdges","gradient","ariaLabel","isActive","tooltipDisabled","tooltipPlacement","tooltipType","tooltipTitle","tooltipTemplate","tooltipContext","noBarWhenZero","animations","select","activate","deactivate"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-bar-label","",3,"barX","barY","barWidth","barHeight","value","valueFormatting","orientation","dimensionsChanged"]],template:function(a,x){1&a&&(t.YNc(0,T4,2,2,"g",0),t.YNc(1,A4,2,2,"g",0),t.YNc(2,L4,2,2,"g",0)),2&a&&(t.Q6J("ngIf",!x.isSSR),t.xp6(1),t.Q6J("ngIf",x.isSSR),t.xp6(1),t.Q6J("ngIf",x.showDataLabel))},dependencies:[U0,Mu,e.O5,e.sg,xa],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1}),(0,u.jt)(500,(0,u.oB)({opacity:0}))])])]},changeDetection:0}),f})(),K3=(()=>{class f extends No{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=_o.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.activate=new t.vpe,this.deactivate=new t.vpe,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=xu({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 a=this.xDomain.length/(this.dims.width/this.barPadding+1);return Tl().range([0,this.dims.width]).paddingInner(a).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const a=qs().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?a.nice():a}getXDomain(){return this.results.map(a=>a.label)}getYDomain(){const a=this.results.map(K=>K.value);let x=this.yScaleMin?Math.min(this.yScaleMin,...a):Math.min(0,...a);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(x=Math.min(x,...this.yAxisTicks));let V=this.yScaleMax?Math.max(this.yScaleMax,...a):Math.max(0,...a);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(V=Math.max(V,...this.yAxisTicks)),[x,V]}onClick(a){this.select.emit(a)}setColors(){let a;a=this.schemeType===En.Ordinal?this.xDomain:this.yDomain,this.colors=new B3(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===En.Ordinal?(a.domain=this.xDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.yDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onDataLabelMaxHeightChanged(a){a.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,a.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,a.size.height),a.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(a,x=!1){a=this.results.find(K=>x?K.label===a.name:K.name===a.name),!(this.activeEntries.findIndex(K=>K.name===a.name&&K.value===a.value&&K.series===a.series)>-1)&&(this.activeEntries=[a,...this.activeEntries],this.activate.emit({value:a,entries:this.activeEntries}))}onDeactivate(a,x=!1){a=this.results.find(K=>x?K.label===a.name:K.name===a.name);const V=this.activeEntries.findIndex(K=>K.name===a.name&&K.value===a.value&&K.series===a.series);this.activeEntries.splice(V,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:a,entries:this.activeEntries})}}return f.\u0275fac=function(){let D;return function(x){return(D||(D=t.n5z(f)))(x||f)}}(),f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(a,x,V){if(1&a&&t.Suo(V,At,5),2&a){let K;t.iGM(K=t.CRH())&&(x.tooltipTemplate=K.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"},outputs:{activate:"activate",deactivate:"deactivate"},features:[t.qOj],decls:5,vars:25,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero","activate","deactivate","select","dataLabelHeightChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"]],template:function(a,x){1&a&&(t.TgZ(0,"ngx-charts-chart",0),t.NdJ("legendLabelClick",function(K){return x.onClick(K)})("legendLabelActivate",function(K){return x.onActivate(K,!0)})("legendLabelDeactivate",function(K){return x.onDeactivate(K,!0)}),t.O4$(),t.TgZ(1,"g",1),t.YNc(2,u3,1,11,"g",2),t.YNc(3,Kh,1,9,"g",3),t.TgZ(4,"g",4),t.NdJ("activate",function(K){return x.onActivate(K)})("deactivate",function(K){return x.onDeactivate(K)})("select",function(K){return x.onClick(K)})("dataLabelHeightChanged",function(K){return x.onDataLabelMaxHeightChanged(K)}),t.qZA()()()),2&a&&(t.Q6J("view",t.WLB(22,ji,x.width,x.height))("showLegend",x.legend)("legendOptions",x.legendOptions)("activeEntries",x.activeEntries)("animations",x.animations),t.xp6(1),t.uIk("transform",x.transform),t.xp6(1),t.Q6J("ngIf",x.xAxis),t.xp6(1),t.Q6J("ngIf",x.yAxis),t.xp6(1),t.Q6J("xScale",x.xScale)("yScale",x.yScale)("colors",x.colors)("series",x.results)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("activeEntries",x.activeEntries)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero))},dependencies:[N0,H0,H3,Su,e.O5],styles:[ya],encapsulation:2,changeDetection:0}),f})(),mf=(()=>{class f extends No{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=_o.Right,this.tooltipDisabled=!1,this.scaleType=En.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.activate=new t.vpe,this.deactivate=new t.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=ta,this.trackBy=(a,x)=>x.name}ngOnInit(){(0,e.PM)(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=xu({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(a,x){a.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,a.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,a.size.height),x===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const a=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return Tl().rangeRound([0,this.dims.width]).paddingInner(a).paddingOuter(a/2).domain(this.groupDomain)}getInnerScale(){const a=this.groupScale.bandwidth(),x=this.innerDomain.length/(a/this.barPadding+1);return Tl().rangeRound([0,a]).paddingInner(x).domain(this.innerDomain)}getValueScale(){const a=qs().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?a.nice():a}getGroupDomain(){const a=[];for(const x of this.results)a.includes(x.label)||a.push(x.label);return a}getInnerDomain(){const a=[];for(const x of this.results)for(const V of x.series)a.includes(V.label)||a.push(V.label);return a}getValueDomain(){const a=[];for(const K of this.results)for(const Te of K.series)a.includes(Te.value)||a.push(Te.value);return[Math.min(0,...a),this.yScaleMax?Math.max(this.yScaleMax,...a):Math.max(0,...a)]}groupTransform(a){return`translate(${this.groupScale(a.label)}, 0)`}onClick(a,x){x&&(a.series=x.name),this.select.emit(a)}setColors(){let a;a=this.schemeType===En.Ordinal?this.innerDomain:this.valueDomain,this.colors=new B3(this.scheme,this.schemeType,a,this.customColors)}getLegendOptions(){const a={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return a.scaleType===En.Ordinal?(a.domain=this.innerDomain,a.colors=this.colors,a.title=this.legendTitle):(a.domain=this.valueDomain,a.colors=this.colors.scale),a}updateYAxisWidth({width:a}){this.yAxisWidth=a,this.update()}updateXAxisHeight({height:a}){this.xAxisHeight=a,this.update()}onActivate(a,x,V=!1){const K=Object.assign({},a);x&&(K.series=x.name);const Te=this.results.map(lt=>lt.series).flat().filter(lt=>V?lt.label===K.name:lt.name===K.name&&lt.series===K.series);this.activeEntries=[...Te],this.activate.emit({value:K,entries:this.activeEntries})}onDeactivate(a,x,V=!1){const K=Object.assign({},a);x&&(K.series=x.name),this.activeEntries=this.activeEntries.filter(Te=>V?Te.label!==K.name:!(Te.name===K.name&&Te.series===K.series)),this.deactivate.emit({value:K,entries:this.activeEntries})}}return f.\u0275fac=function(){let D;return function(x){return(D||(D=t.n5z(f)))(x||f)}}(),f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(a,x,V){if(1&a&&t.Suo(V,At,5),2&a){let K;t.iGM(K=t.CRH())&&(x.tooltipTemplate=K.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"},outputs:{activate:"activate",deactivate:"deactivate"},features:[t.qOj],decls:7,vars:18,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[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","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["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,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged"]],template:function(a,x){1&a&&(t.TgZ(0,"ngx-charts-chart",0),t.NdJ("legendLabelActivate",function(K){return x.onActivate(K,void 0,!0)})("legendLabelDeactivate",function(K){return x.onDeactivate(K,void 0,!0)})("legendLabelClick",function(K){return x.onClick(K)}),t.O4$(),t.TgZ(1,"g",1),t._UZ(2,"g",2),t.YNc(3,D4,1,10,"g",3),t.YNc(4,Qh,1,9,"g",4),t.YNc(5,k4,2,2,"g",5),t.qZA(),t.YNc(6,Ro,2,2,"g",5),t.qZA()),2&a&&(t.Q6J("view",t.WLB(15,ji,x.width,x.height))("showLegend",x.legend)("legendOptions",x.legendOptions)("activeEntries",x.activeEntries)("animations",x.animations),t.xp6(1),t.uIk("transform",x.transform),t.xp6(1),t.Q6J("xScale",x.groupScale)("yScale",x.valueScale)("data",x.results)("dims",x.dims)("orient",x.barOrientation.Vertical),t.xp6(1),t.Q6J("ngIf",x.xAxis),t.xp6(1),t.Q6J("ngIf",x.yAxis),t.xp6(1),t.Q6J("ngIf",!x.isSSR),t.xp6(1),t.Q6J("ngIf",x.isSSR))},dependencies:[N0,gu,H0,H3,Su,e.O5,e.sg],styles:[ya],encapsulation:2,data:{animation:[(0,u.X$)("animationState",[(0,u.eR)(":leave",[(0,u.oB)({opacity:1,transform:"*"}),(0,u.jt)(500,(0,u.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}),f})(),Q3=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[bo]]}),f})();Eh();let _f=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[bo]]}),f})(),yf=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[bo]]}),f})(),q3=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[bo]]}),f})(),Eu=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[bo]]}),f})();Math;let G0=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[bo]]}),f})(),Lu=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[bo,G0,Eu]]}),f})(),Z0=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[bo]]}),f})(),Iu=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[bo]]}),f})(),kf=(()=>{class f{}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[bo,G0,Q3]]}),f})(),Pf=(()=>{class f{constructor(){!function Of(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return f.\u0275fac=function(a){return new(a||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[bo,Z3,Q3,_f,yf,q3,Eu,Lu,Z0,G0,Iu,kf]}),f})()},658:(Ge,Q,m)=>{"use strict";function t(L,I,P,U,Z,Y,j){try{var X=L[Y](j),ee=X.value}catch(ue){return void P(ue)}X.done?I(ee):Promise.resolve(ee).then(U,Z)}m.d(Q,{uU:()=>M,OF:()=>w});var g=m(4650),A=m(6895),o=m(3259);function C(L,I){if(1&L&&g._UZ(0,"canvas",1),2&L){const P=g.oxw();g.Q6J("qrCode",P.value)("qrCodeErrorCorrectionLevel",P.errorCorrectionLevel)("qrCodeCenterImageSrc",P.centerImageSrc)("qrCodeCenterImageWidth",P.centerImageSize)("qrCodeCenterImageHeight",P.centerImageSize)("qrCodeMargin",P.margin)("width",P.size)("height",P.size)("darkColor",P.darkColor)("lightColor",P.lightColor)}}const u=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;let O=(()=>{class L{constructor(P){this.viewContainerRef=P,this.errorCorrectionLevel=L.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var P=this;return function e(L){return function(){var I=this,P=arguments;return new Promise(function(U,Z){var Y=L.apply(I,P);function j(ee){t(Y,U,Z,j,X,"next",ee)}function X(ee){t(Y,U,Z,j,X,"throw",ee)}j(void 0)})}}(function*(){if(!P.value)return;P.version&&P.version>40?(console.warn("[qrCode] max version is 40, clamping"),P.version=40):P.version&&P.version<1?(console.warn("[qrCode] min version is 1, clamping"),P.version=1):void 0!==P.version&&isNaN(P.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),P.version=void 0);const U=P.viewContainerRef.element.nativeElement;if(!U)return;const Z=U.getContext("2d");Z&&Z.clearRect(0,0,Z.canvas.width,Z.canvas.height);const Y=P.errorCorrectionLevel??L.DEFAULT_ERROR_CORRECTION_LEVEL,j=u.test(P.darkColor)?P.darkColor:void 0,X=u.test(P.lightColor)?P.lightColor:void 0;(0,g.X6Q)()&&(!j&&P.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!X&&P.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield o.toCanvas(U,P.value,{version:P.version,errorCorrectionLevel:Y,width:P.width,margin:P.margin,color:{dark:j,light:X}});const ee=P.centerImageSrc,ue=d(P.centerImageWidth,L.DEFAULT_CENTER_IMAGE_SIZE),le=d(P.centerImageHeight,L.DEFAULT_CENTER_IMAGE_SIZE);if(ee&&Z){P.centerImage||(P.centerImage=new Image(ue,le));const ie=P.centerImage;ee!==P.centerImage.src&&(ie.src=ee),ue!==P.centerImage.width&&(ie.width=ue),le!==P.centerImage.height&&(ie.height=le);const ce=()=>{Z.drawImage(ie,U.width/2-ue/2,U.height/2-le/2,ue,le)};ie.onload=ce,ie.complete&&ce()}})()}}return L.DEFAULT_ERROR_CORRECTION_LEVEL="M",L.DEFAULT_CENTER_IMAGE_SIZE=40,L.\u0275fac=function(P){return new(P||L)(g.Y36(g.s_b))},L.\u0275dir=g.lG2({type:L,selectors:[["canvas","qrCode",""]],inputs:{value:["qrCode","value"],version:["qrCodeVersion","version"],errorCorrectionLevel:["qrCodeErrorCorrectionLevel","errorCorrectionLevel"],width:"width",height:"height",darkColor:"darkColor",lightColor:"lightColor",centerImageSrc:["qrCodeCenterImageSrc","centerImageSrc"],centerImageWidth:["qrCodeCenterImageWidth","centerImageWidth"],centerImageHeight:["qrCodeCenterImageHeight","centerImageHeight"],margin:["qrCodeMargin","margin"]},features:[g.TTD]}),L})();function d(L,I){return void 0===L||""===L?I:"string"==typeof L?parseInt(L,10):L}let M=(()=>{class L{}return L.\u0275fac=function(P){return new(P||L)},L.\u0275cmp=g.Xpm({type:L,selectors:[["qr-code"]],inputs:{value:"value",size:"size",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","darkColor","lightColor",4,"ngIf"],[3,"qrCode","qrCodeErrorCorrectionLevel","qrCodeCenterImageSrc","qrCodeCenterImageWidth","qrCodeCenterImageHeight","qrCodeMargin","width","height","darkColor","lightColor"]],template:function(P,U){1&P&&g.YNc(0,C,1,10,"canvas",0),2&P&&g.Q6J("ngIf",U.value)},dependencies:[A.O5,O],encapsulation:2}),L})(),w=(()=>{class L{}return L.\u0275fac=function(P){return new(P||L)},L.\u0275mod=g.oAB({type:L}),L.\u0275inj=g.cJS({imports:[A.ez]}),L})()},6839:(Ge,Q,m)=>{"use strict";m.d(Q,{op:()=>xt,Vv:()=>ii,$V:()=>at,Xd:()=>ei});var t=m(7579),e=m(4968),g=m(6451),A=m(3601),o=m(2722),C=m(1884),u=m(9718),O=m(4650),d=m(6895);function M(ht){return getComputedStyle(ht)}function w(ht,rt){for(var yt in rt){var ri=rt[yt];"number"==typeof ri&&(ri+="px"),ht.style[yt]=ri}return ht}function L(ht){var rt=document.createElement("div");return rt.className=ht,rt}var I=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function P(ht,rt){if(!I)throw new Error("No element matching method supported");return I.call(ht,rt)}function U(ht){ht.remove?ht.remove():ht.parentNode&&ht.parentNode.removeChild(ht)}function Z(ht,rt){return Array.prototype.filter.call(ht.children,function(yt){return P(yt,rt)})}var Y_element_thumb=function(ht){return"ps__thumb-"+ht},Y_element_rail=function(ht){return"ps__rail-"+ht},Y_element_consuming="ps__child--consume",Y_state_focus="ps--focus",Y_state_clicking="ps--clicking",Y_state_active=function(ht){return"ps--active-"+ht},Y_state_scrolling=function(ht){return"ps--scrolling-"+ht},j={x:null,y:null};function X(ht,rt){var yt=ht.element.classList,ri=Y_state_scrolling(rt);yt.contains(ri)?clearTimeout(j[rt]):yt.add(ri)}function ee(ht,rt){j[rt]=setTimeout(function(){return ht.isAlive&&ht.element.classList.remove(Y_state_scrolling(rt))},ht.settings.scrollingThreshold)}var le=function(rt){this.element=rt,this.handlers={}},ie={isEmpty:{configurable:!0}};le.prototype.bind=function(rt,yt){typeof this.handlers[rt]>"u"&&(this.handlers[rt]=[]),this.handlers[rt].push(yt),this.element.addEventListener(rt,yt,!1)},le.prototype.unbind=function(rt,yt){var ri=this;this.handlers[rt]=this.handlers[rt].filter(function(Ut){return!(!yt||Ut===yt)||(ri.element.removeEventListener(rt,Ut,!1),!1)})},le.prototype.unbindAll=function(){for(var rt in this.handlers)this.unbind(rt)},ie.isEmpty.get=function(){var ht=this;return Object.keys(this.handlers).every(function(rt){return 0===ht.handlers[rt].length})},Object.defineProperties(le.prototype,ie);var ce=function(){this.eventElements=[]};function se(ht){if("function"==typeof window.CustomEvent)return new CustomEvent(ht);var rt=document.createEvent("CustomEvent");return rt.initCustomEvent(ht,!1,!1,void 0),rt}function he(ht,rt,yt,ri,Ut){var Vt;if(void 0===ri&&(ri=!0),void 0===Ut&&(Ut=!1),"top"===rt)Vt=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==rt)throw new Error("A proper axis should be provided");Vt=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function E(ht,rt,yt,ri,Ut){var Vt=yt[0],Ft=yt[1],Qe=yt[2],Ve=yt[3],je=yt[4],Xe=yt[5];void 0===ri&&(ri=!0),void 0===Ut&&(Ut=!1);var Et=ht.element;ht.reach[Ve]=null,Et[Qe]<1&&(ht.reach[Ve]="start"),Et[Qe]>ht[Vt]-ht[Ft]-1&&(ht.reach[Ve]="end"),rt&&(Et.dispatchEvent(se("ps-scroll-"+Ve)),rt<0?Et.dispatchEvent(se("ps-scroll-"+je)):rt>0&&Et.dispatchEvent(se("ps-scroll-"+Xe)),ri&&function ue(ht,rt){X(ht,rt),ee(ht,rt)}(ht,Ve)),ht.reach[Ve]&&(rt||Ut)&&Et.dispatchEvent(se("ps-"+Ve+"-reach-"+ht.reach[Ve]))}(ht,yt,Vt,ri,Ut)}function i(ht){return parseInt(ht,10)||0}ce.prototype.eventElement=function(rt){var yt=this.eventElements.filter(function(ri){return ri.element===rt})[0];return yt||(yt=new le(rt),this.eventElements.push(yt)),yt},ce.prototype.bind=function(rt,yt,ri){this.eventElement(rt).bind(yt,ri)},ce.prototype.unbind=function(rt,yt,ri){var Ut=this.eventElement(rt);Ut.unbind(yt,ri),Ut.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(Ut),1)},ce.prototype.unbindAll=function(){this.eventElements.forEach(function(rt){return rt.unbindAll()}),this.eventElements=[]},ce.prototype.once=function(rt,yt,ri){var Ut=this.eventElement(rt),Vt=function(Ft){Ut.unbind(yt,Vt),ri(Ft)};Ut.bind(yt,Vt)};var c={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 y(ht){var rt=ht.element,yt=Math.floor(rt.scrollTop),ri=rt.getBoundingClientRect();ht.containerWidth=Math.round(ri.width),ht.containerHeight=Math.round(ri.height),ht.contentWidth=rt.scrollWidth,ht.contentHeight=rt.scrollHeight,rt.contains(ht.scrollbarXRail)||(Z(rt,Y_element_rail("x")).forEach(function(Ut){return U(Ut)}),rt.appendChild(ht.scrollbarXRail)),rt.contains(ht.scrollbarYRail)||(Z(rt,Y_element_rail("y")).forEach(function(Ut){return U(Ut)}),rt.appendChild(ht.scrollbarYRail)),!ht.settings.suppressScrollX&&ht.containerWidth+ht.settings.scrollXMarginOffset<ht.contentWidth?(ht.scrollbarXActive=!0,ht.railXWidth=ht.containerWidth-ht.railXMarginWidth,ht.railXRatio=ht.containerWidth/ht.railXWidth,ht.scrollbarXWidth=S(ht,i(ht.railXWidth*ht.containerWidth/ht.contentWidth)),ht.scrollbarXLeft=i((ht.negativeScrollAdjustment+rt.scrollLeft)*(ht.railXWidth-ht.scrollbarXWidth)/(ht.contentWidth-ht.containerWidth))):ht.scrollbarXActive=!1,!ht.settings.suppressScrollY&&ht.containerHeight+ht.settings.scrollYMarginOffset<ht.contentHeight?(ht.scrollbarYActive=!0,ht.railYHeight=ht.containerHeight-ht.railYMarginHeight,ht.railYRatio=ht.containerHeight/ht.railYHeight,ht.scrollbarYHeight=S(ht,i(ht.railYHeight*ht.containerHeight/ht.contentHeight)),ht.scrollbarYTop=i(yt*(ht.railYHeight-ht.scrollbarYHeight)/(ht.contentHeight-ht.containerHeight))):ht.scrollbarYActive=!1,ht.scrollbarXLeft>=ht.railXWidth-ht.scrollbarXWidth&&(ht.scrollbarXLeft=ht.railXWidth-ht.scrollbarXWidth),ht.scrollbarYTop>=ht.railYHeight-ht.scrollbarYHeight&&(ht.scrollbarYTop=ht.railYHeight-ht.scrollbarYHeight),function k(ht,rt){var yt={width:rt.railXWidth},ri=Math.floor(ht.scrollTop);yt.left=rt.isRtl?rt.negativeScrollAdjustment+ht.scrollLeft+rt.containerWidth-rt.contentWidth:ht.scrollLeft,rt.isScrollbarXUsingBottom?yt.bottom=rt.scrollbarXBottom-ri:yt.top=rt.scrollbarXTop+ri,w(rt.scrollbarXRail,yt);var Ut={top:ri,height:rt.railYHeight};rt.isScrollbarYUsingRight?Ut.right=rt.isRtl?rt.contentWidth-(rt.negativeScrollAdjustment+ht.scrollLeft)-rt.scrollbarYRight-rt.scrollbarYOuterWidth-9:rt.scrollbarYRight-ht.scrollLeft:Ut.left=rt.isRtl?rt.negativeScrollAdjustment+ht.scrollLeft+2*rt.containerWidth-rt.contentWidth-rt.scrollbarYLeft-rt.scrollbarYOuterWidth:rt.scrollbarYLeft+ht.scrollLeft,w(rt.scrollbarYRail,Ut),w(rt.scrollbarX,{left:rt.scrollbarXLeft,width:rt.scrollbarXWidth-rt.railBorderXWidth}),w(rt.scrollbarY,{top:rt.scrollbarYTop,height:rt.scrollbarYHeight-rt.railBorderYWidth})}(rt,ht),ht.scrollbarXActive?rt.classList.add(Y_state_active("x")):(rt.classList.remove(Y_state_active("x")),ht.scrollbarXWidth=0,ht.scrollbarXLeft=0,rt.scrollLeft=!0===ht.isRtl?ht.contentWidth:0),ht.scrollbarYActive?rt.classList.add(Y_state_active("y")):(rt.classList.remove(Y_state_active("y")),ht.scrollbarYHeight=0,ht.scrollbarYTop=0,rt.scrollTop=0)}function S(ht,rt){return ht.settings.minScrollbarLength&&(rt=Math.max(rt,ht.settings.minScrollbarLength)),ht.settings.maxScrollbarLength&&(rt=Math.min(rt,ht.settings.maxScrollbarLength)),rt}function b(ht,rt){var yt=rt[0],ri=rt[1],Ut=rt[2],Vt=rt[3],Ft=rt[4],Qe=rt[5],Ve=rt[6],je=rt[7],Xe=rt[8],Et=ht.element,mi=null,Li=null,wi=null;function Vi(ge){ge.touches&&ge.touches[0]&&(ge[Ut]=ge.touches[0].pageY),Et[Ve]=mi+wi*(ge[Ut]-Li),X(ht,je),y(ht),ge.stopPropagation(),ge.type.startsWith("touch")&&ge.changedTouches.length>1&&ge.preventDefault()}function qe(){ee(ht,je),ht[Xe].classList.remove(Y_state_clicking),ht.event.unbind(ht.ownerDocument,"mousemove",Vi)}function Tt(ge,Dt){mi=Et[Ve],Dt&&ge.touches&&(ge[Ut]=ge.touches[0].pageY),Li=ge[Ut],wi=(ht[ri]-ht[yt])/(ht[Vt]-ht[Qe]),Dt?ht.event.bind(ht.ownerDocument,"touchmove",Vi):(ht.event.bind(ht.ownerDocument,"mousemove",Vi),ht.event.once(ht.ownerDocument,"mouseup",qe),ge.preventDefault()),ht[Xe].classList.add(Y_state_clicking),ge.stopPropagation()}ht.event.bind(ht[Ft],"mousedown",function(ge){Tt(ge)}),ht.event.bind(ht[Ft],"touchstart",function(ge){Tt(ge,!0)})}var it={"click-rail":function v(ht){ht.event.bind(ht.scrollbarY,"mousedown",function(yt){return yt.stopPropagation()}),ht.event.bind(ht.scrollbarYRail,"mousedown",function(yt){var ri=yt.pageY-window.pageYOffset-ht.scrollbarYRail.getBoundingClientRect().top;ht.element.scrollTop+=(ri>ht.scrollbarYTop?1:-1)*ht.containerHeight,y(ht),yt.stopPropagation()}),ht.event.bind(ht.scrollbarX,"mousedown",function(yt){return yt.stopPropagation()}),ht.event.bind(ht.scrollbarXRail,"mousedown",function(yt){var ri=yt.pageX-window.pageXOffset-ht.scrollbarXRail.getBoundingClientRect().left;ht.element.scrollLeft+=(ri>ht.scrollbarXLeft?1:-1)*ht.containerWidth,y(ht),yt.stopPropagation()})},"drag-thumb":function n(ht){b(ht,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),b(ht,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function B(ht){var rt=ht.element;ht.event.bind(ht.ownerDocument,"keydown",function(Vt){if(!(Vt.isDefaultPrevented&&Vt.isDefaultPrevented()||Vt.defaultPrevented)&&(P(rt,":hover")||P(ht.scrollbarX,":focus")||P(ht.scrollbarY,":focus"))){var Ft=document.activeElement?document.activeElement:ht.ownerDocument.activeElement;if(Ft){if("IFRAME"===Ft.tagName)Ft=Ft.contentDocument.activeElement;else for(;Ft.shadowRoot;)Ft=Ft.shadowRoot.activeElement;if(function r(ht){return P(ht,"input,[contenteditable]")||P(ht,"select,[contenteditable]")||P(ht,"textarea,[contenteditable]")||P(ht,"button,[contenteditable]")}(Ft))return}var Qe=0,Ve=0;switch(Vt.which){case 37:Qe=Vt.metaKey?-ht.contentWidth:Vt.altKey?-ht.containerWidth:-30;break;case 38:Ve=Vt.metaKey?ht.contentHeight:Vt.altKey?ht.containerHeight:30;break;case 39:Qe=Vt.metaKey?ht.contentWidth:Vt.altKey?ht.containerWidth:30;break;case 40:Ve=Vt.metaKey?-ht.contentHeight:Vt.altKey?-ht.containerHeight:-30;break;case 32:Ve=Vt.shiftKey?ht.containerHeight:-ht.containerHeight;break;case 33:Ve=ht.containerHeight;break;case 34:Ve=-ht.containerHeight;break;case 36:Ve=ht.contentHeight;break;case 35:Ve=-ht.contentHeight;break;default:return}ht.settings.suppressScrollX&&0!==Qe||ht.settings.suppressScrollY&&0!==Ve||(rt.scrollTop-=Ve,rt.scrollLeft+=Qe,y(ht),function Ut(Vt,Ft){var Qe=Math.floor(rt.scrollTop);if(0===Vt){if(!ht.scrollbarYActive)return!1;if(0===Qe&&Ft>0||Qe>=ht.contentHeight-ht.containerHeight&&Ft<0)return!ht.settings.wheelPropagation}var Ve=rt.scrollLeft;if(0===Ft){if(!ht.scrollbarXActive)return!1;if(0===Ve&&Vt<0||Ve>=ht.contentWidth-ht.containerWidth&&Vt>0)return!ht.settings.wheelPropagation}return!0}(Qe,Ve)&&Vt.preventDefault())}})},wheel:function z(ht){var rt=ht.element;function Vt(Ft){var Qe=function ri(Ft){var Qe=Ft.deltaX,Ve=-1*Ft.deltaY;return(typeof Qe>"u"||typeof Ve>"u")&&(Qe=-1*Ft.wheelDeltaX/6,Ve=Ft.wheelDeltaY/6),Ft.deltaMode&&1===Ft.deltaMode&&(Qe*=10,Ve*=10),Qe!=Qe&&Ve!=Ve&&(Qe=0,Ve=Ft.wheelDelta),Ft.shiftKey?[-Ve,-Qe]:[Qe,Ve]}(Ft),Ve=Qe[0],je=Qe[1];if(!function Ut(Ft,Qe,Ve){if(!c.isWebKit&&rt.querySelector("select:focus"))return!0;if(!rt.contains(Ft))return!1;for(var je=Ft;je&&je!==rt;){if(je.classList.contains(Y_element_consuming))return!0;var Xe=M(je);if(Ve&&Xe.overflowY.match(/(scroll|auto)/)){var Et=je.scrollHeight-je.clientHeight;if(Et>0&&(je.scrollTop>0&&Ve<0||je.scrollTop<Et&&Ve>0))return!0}if(Qe&&Xe.overflowX.match(/(scroll|auto)/)){var mi=je.scrollWidth-je.clientWidth;if(mi>0&&(je.scrollLeft>0&&Qe<0||je.scrollLeft<mi&&Qe>0))return!0}je=je.parentNode}return!1}(Ft.target,Ve,je)){var Xe=!1;ht.settings.useBothWheelAxes?ht.scrollbarYActive&&!ht.scrollbarXActive?(je?rt.scrollTop-=je*ht.settings.wheelSpeed:rt.scrollTop+=Ve*ht.settings.wheelSpeed,Xe=!0):ht.scrollbarXActive&&!ht.scrollbarYActive&&(Ve?rt.scrollLeft+=Ve*ht.settings.wheelSpeed:rt.scrollLeft-=je*ht.settings.wheelSpeed,Xe=!0):(rt.scrollTop-=je*ht.settings.wheelSpeed,rt.scrollLeft+=Ve*ht.settings.wheelSpeed),y(ht),Xe=Xe||function yt(Ft,Qe){var Ve=Math.floor(rt.scrollTop),je=0===rt.scrollTop,Xe=Ve+rt.offsetHeight===rt.scrollHeight,Et=0===rt.scrollLeft,mi=rt.scrollLeft+rt.offsetWidth===rt.scrollWidth;return!(Math.abs(Qe)>Math.abs(Ft)?je||Xe:Et||mi)||!ht.settings.wheelPropagation}(Ve,je),Xe&&!Ft.ctrlKey&&(Ft.stopPropagation(),Ft.preventDefault())}}typeof window.onwheel<"u"?ht.event.bind(rt,"wheel",Vt):typeof window.onmousewheel<"u"&&ht.event.bind(rt,"mousewheel",Vt)},touch:function W(ht){if(c.supportsTouch||c.supportsIePointer){var rt=ht.element,Ut={},Vt=0,Ft={},Qe=null;c.supportsTouch?(ht.event.bind(rt,"touchstart",Xe),ht.event.bind(rt,"touchmove",mi),ht.event.bind(rt,"touchend",Li)):c.supportsIePointer&&(window.PointerEvent?(ht.event.bind(rt,"pointerdown",Xe),ht.event.bind(rt,"pointermove",mi),ht.event.bind(rt,"pointerup",Li)):window.MSPointerEvent&&(ht.event.bind(rt,"MSPointerDown",Xe),ht.event.bind(rt,"MSPointerMove",mi),ht.event.bind(rt,"MSPointerUp",Li)))}function ri(wi,Vi){rt.scrollTop-=Vi,rt.scrollLeft-=wi,y(ht)}function Ve(wi){return wi.targetTouches?wi.targetTouches[0]:wi}function je(wi){return!(wi.pointerType&&"pen"===wi.pointerType&&0===wi.buttons||!(wi.targetTouches&&1===wi.targetTouches.length||wi.pointerType&&"mouse"!==wi.pointerType&&wi.pointerType!==wi.MSPOINTER_TYPE_MOUSE))}function Xe(wi){if(je(wi)){var Vi=Ve(wi);Ut.pageX=Vi.pageX,Ut.pageY=Vi.pageY,Vt=(new Date).getTime(),null!==Qe&&clearInterval(Qe)}}function mi(wi){if(je(wi)){var Vi=Ve(wi),qe={pageX:Vi.pageX,pageY:Vi.pageY},Tt=qe.pageX-Ut.pageX,ge=qe.pageY-Ut.pageY;if(function Et(wi,Vi,qe){if(!rt.contains(wi))return!1;for(var Tt=wi;Tt&&Tt!==rt;){if(Tt.classList.contains(Y_element_consuming))return!0;var ge=M(Tt);if(qe&&ge.overflowY.match(/(scroll|auto)/)){var Dt=Tt.scrollHeight-Tt.clientHeight;if(Dt>0&&(Tt.scrollTop>0&&qe<0||Tt.scrollTop<Dt&&qe>0))return!0}if(Vi&&ge.overflowX.match(/(scroll|auto)/)){var Kt=Tt.scrollWidth-Tt.clientWidth;if(Kt>0&&(Tt.scrollLeft>0&&Vi<0||Tt.scrollLeft<Kt&&Vi>0))return!0}Tt=Tt.parentNode}return!1}(wi.target,Tt,ge))return;ri(Tt,ge),Ut=qe;var Dt=(new Date).getTime(),Kt=Dt-Vt;Kt>0&&(Ft.x=Tt/Kt,Ft.y=ge/Kt,Vt=Dt),function yt(wi,Vi){var qe=Math.floor(rt.scrollTop),Tt=rt.scrollLeft,ge=Math.abs(wi),Dt=Math.abs(Vi);if(Dt>ge){if(Vi<0&&qe===ht.contentHeight-ht.containerHeight||Vi>0&&0===qe)return 0===window.scrollY&&Vi>0&&c.isChrome}else if(ge>Dt&&(wi<0&&Tt===ht.contentWidth-ht.containerWidth||wi>0&&0===Tt))return!0;return!0}(Tt,ge)&&wi.preventDefault()}}function Li(){ht.settings.swipeEasing&&(clearInterval(Qe),Qe=setInterval(function(){ht.isInitialized?clearInterval(Qe):Ft.x||Ft.y?Math.abs(Ft.x)<.01&&Math.abs(Ft.y)<.01?clearInterval(Qe):ht.element?(ri(30*Ft.x,30*Ft.y),Ft.x*=.8,Ft.y*=.8):clearInterval(Qe):clearInterval(Qe)},10))}}},Ne=function(rt,yt){var ri=this;if(void 0===yt&&(yt={}),"string"==typeof rt&&(rt=document.querySelector(rt)),!rt||!rt.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var Ut in this.element=rt,rt.classList.add("ps"),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},yt)this.settings[Ut]=yt[Ut];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var Xe,je,Vt=function(){return rt.classList.add(Y_state_focus)},Ft=function(){return rt.classList.remove(Y_state_focus)};this.isRtl="rtl"===M(rt).direction,!0===this.isRtl&&rt.classList.add("ps__rtl"),this.isNegativeScroll=(je=rt.scrollLeft,rt.scrollLeft=-1,Xe=rt.scrollLeft<0,rt.scrollLeft=je,Xe),this.negativeScrollAdjustment=this.isNegativeScroll?rt.scrollWidth-rt.clientWidth:0,this.event=new ce,this.ownerDocument=rt.ownerDocument||document,this.scrollbarXRail=L(Y_element_rail("x")),rt.appendChild(this.scrollbarXRail),this.scrollbarX=L(Y_element_thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Vt),this.event.bind(this.scrollbarX,"blur",Ft),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Qe=M(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Qe.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=i(Qe.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=i(Qe.borderLeftWidth)+i(Qe.borderRightWidth),w(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=i(Qe.marginLeft)+i(Qe.marginRight),w(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=L(Y_element_rail("y")),rt.appendChild(this.scrollbarYRail),this.scrollbarY=L(Y_element_thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Vt),this.event.bind(this.scrollbarY,"blur",Ft),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var Ve=M(this.scrollbarYRail);this.scrollbarYRight=parseInt(Ve.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=i(Ve.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function h(ht){var rt=M(ht);return i(rt.width)+i(rt.paddingLeft)+i(rt.paddingRight)+i(rt.borderLeftWidth)+i(rt.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=i(Ve.borderTopWidth)+i(Ve.borderBottomWidth),w(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=i(Ve.marginTop)+i(Ve.marginBottom),w(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:rt.scrollLeft<=0?"start":rt.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:rt.scrollTop<=0?"start":rt.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(je){return it[je](ri)}),this.lastScrollTop=Math.floor(rt.scrollTop),this.lastScrollLeft=rt.scrollLeft,this.event.bind(this.element,"scroll",function(je){return ri.onScroll(je)}),y(this)};Ne.prototype.update=function(){!this.isAlive||(this.negativeScrollAdjustment=this.isNegativeScroll?this.element.scrollWidth-this.element.clientWidth:0,w(this.scrollbarXRail,{display:"block"}),w(this.scrollbarYRail,{display:"block"}),this.railXMarginWidth=i(M(this.scrollbarXRail).marginLeft)+i(M(this.scrollbarXRail).marginRight),this.railYMarginHeight=i(M(this.scrollbarYRail).marginTop)+i(M(this.scrollbarYRail).marginBottom),w(this.scrollbarXRail,{display:"none"}),w(this.scrollbarYRail,{display:"none"}),y(this),he(this,"top",0,!1,!0),he(this,"left",0,!1,!0),w(this.scrollbarXRail,{display:""}),w(this.scrollbarYRail,{display:""}))},Ne.prototype.onScroll=function(rt){!this.isAlive||(y(this),he(this,"top",this.element.scrollTop-this.lastScrollTop),he(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},Ne.prototype.destroy=function(){!this.isAlive||(this.event.unbindAll(),U(this.scrollbarX),U(this.scrollbarY),U(this.scrollbarXRail),U(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},Ne.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(rt){return!rt.match(/^ps([-_].+|)$/)}).join(" ")};const ot=Ne;var Ie=function(){if(typeof Map<"u")return Map;function ht(rt,yt){var ri=-1;return rt.some(function(Ut,Vt){return Ut[0]===yt&&(ri=Vt,!0)}),ri}return function(){function rt(){this.__entries__=[]}return Object.defineProperty(rt.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),rt.prototype.get=function(yt){var ri=ht(this.__entries__,yt),Ut=this.__entries__[ri];return Ut&&Ut[1]},rt.prototype.set=function(yt,ri){var Ut=ht(this.__entries__,yt);~Ut?this.__entries__[Ut][1]=ri:this.__entries__.push([yt,ri])},rt.prototype.delete=function(yt){var ri=this.__entries__,Ut=ht(ri,yt);~Ut&&ri.splice(Ut,1)},rt.prototype.has=function(yt){return!!~ht(this.__entries__,yt)},rt.prototype.clear=function(){this.__entries__.splice(0)},rt.prototype.forEach=function(yt,ri){void 0===ri&&(ri=null);for(var Ut=0,Vt=this.__entries__;Ut<Vt.length;Ut++){var Ft=Vt[Ut];yt.call(ri,Ft[1],Ft[0])}},rt}()}(),ve=typeof window<"u"&&typeof document<"u"&&window.document===document,fe=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),Se="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(fe):function(ht){return setTimeout(function(){return ht(Date.now())},1e3/60)},oe=["top","right","bottom","left","width","height","size","weight"],ye=typeof MutationObserver<"u",me=function(){function ht(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function Ke(ht,rt){var yt=!1,ri=!1,Ut=0;function Vt(){yt&&(yt=!1,ht()),ri&&Qe()}function Ft(){Se(Vt)}function Qe(){var Ve=Date.now();if(yt){if(Ve-Ut<2)return;ri=!0}else yt=!0,ri=!1,setTimeout(Ft,rt);Ut=Ve}return Qe}(this.refresh.bind(this),20)}return ht.prototype.addObserver=function(rt){~this.observers_.indexOf(rt)||this.observers_.push(rt),this.connected_||this.connect_()},ht.prototype.removeObserver=function(rt){var yt=this.observers_,ri=yt.indexOf(rt);~ri&&yt.splice(ri,1),!yt.length&&this.connected_&&this.disconnect_()},ht.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},ht.prototype.updateObservers_=function(){var rt=this.observers_.filter(function(yt){return yt.gatherActive(),yt.hasActive()});return rt.forEach(function(yt){return yt.broadcastActive()}),rt.length>0},ht.prototype.connect_=function(){!ve||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),ye?(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)},ht.prototype.disconnect_=function(){!ve||!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)},ht.prototype.onTransitionEnd_=function(rt){var yt=rt.propertyName,ri=void 0===yt?"":yt;oe.some(function(Vt){return!!~ri.indexOf(Vt)})&&this.refresh()},ht.getInstance=function(){return this.instance_||(this.instance_=new ht),this.instance_},ht.instance_=null,ht}(),Me=function(ht,rt){for(var yt=0,ri=Object.keys(rt);yt<ri.length;yt++){var Ut=ri[yt];Object.defineProperty(ht,Ut,{value:rt[Ut],enumerable:!1,writable:!1,configurable:!0})}return ht},Ze=function(ht){return ht&&ht.ownerDocument&&ht.ownerDocument.defaultView||fe},q=ne(0,0,0,0);function de(ht){return parseFloat(ht)||0}function xe(ht){for(var rt=[],yt=1;yt<arguments.length;yt++)rt[yt-1]=arguments[yt];return rt.reduce(function(ri,Ut){return ri+de(ht["border-"+Ut+"-width"])},0)}var ct=typeof SVGGraphicsElement<"u"?function(ht){return ht instanceof Ze(ht).SVGGraphicsElement}:function(ht){return ht instanceof Ze(ht).SVGElement&&"function"==typeof ht.getBBox};function Jt(ht){return ve?ct(ht)?function ft(ht){var rt=ht.getBBox();return ne(0,0,rt.width,rt.height)}(ht):function _t(ht){var rt=ht.clientWidth,yt=ht.clientHeight;if(!rt&&!yt)return q;var ri=Ze(ht).getComputedStyle(ht),Ut=function ke(ht){for(var yt={},ri=0,Ut=["top","right","bottom","left"];ri<Ut.length;ri++){var Vt=Ut[ri];yt[Vt]=de(ht["padding-"+Vt])}return yt}(ri),Vt=Ut.left+Ut.right,Ft=Ut.top+Ut.bottom,Qe=de(ri.width),Ve=de(ri.height);if("border-box"===ri.boxSizing&&(Math.round(Qe+Vt)!==rt&&(Qe-=xe(ri,"left","right")+Vt),Math.round(Ve+Ft)!==yt&&(Ve-=xe(ri,"top","bottom")+Ft)),!function nt(ht){return ht===Ze(ht).document.documentElement}(ht)){var je=Math.round(Qe+Vt)-rt,Xe=Math.round(Ve+Ft)-yt;1!==Math.abs(je)&&(Qe-=je),1!==Math.abs(Xe)&&(Ve-=Xe)}return ne(Ut.left,Ut.top,Qe,Ve)}(ht):q}function ne(ht,rt,yt,ri){return{x:ht,y:rt,width:yt,height:ri}}var Ht=function(){function ht(rt){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ne(0,0,0,0),this.target=rt}return ht.prototype.isActive=function(){var rt=Jt(this.target);return this.contentRect_=rt,rt.width!==this.broadcastWidth||rt.height!==this.broadcastHeight},ht.prototype.broadcastRect=function(){var rt=this.contentRect_;return this.broadcastWidth=rt.width,this.broadcastHeight=rt.height,rt},ht}(),De=function ht(rt,yt){var ri=function vt(ht){var rt=ht.x,yt=ht.y,ri=ht.width,Ut=ht.height,Vt=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,Ft=Object.create(Vt.prototype);return Me(Ft,{x:rt,y:yt,width:ri,height:Ut,top:yt,right:rt+ri,bottom:Ut+yt,left:rt}),Ft}(yt);Me(this,{target:rt,contentRect:ri})},ze=function(){function ht(rt,yt,ri){if(this.activeObservations_=[],this.observations_=new Ie,"function"!=typeof rt)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=rt,this.controller_=yt,this.callbackCtx_=ri}return ht.prototype.observe=function(rt){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(rt instanceof Ze(rt).Element))throw new TypeError('parameter 1 is not of type "Element".');var yt=this.observations_;yt.has(rt)||(yt.set(rt,new Ht(rt)),this.controller_.addObserver(this),this.controller_.refresh())}},ht.prototype.unobserve=function(rt){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(rt instanceof Ze(rt).Element))throw new TypeError('parameter 1 is not of type "Element".');var yt=this.observations_;!yt.has(rt)||(yt.delete(rt),yt.size||this.controller_.removeObserver(this))}},ht.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},ht.prototype.gatherActive=function(){var rt=this;this.clearActive(),this.observations_.forEach(function(yt){yt.isActive()&&rt.activeObservations_.push(yt)})},ht.prototype.broadcastActive=function(){if(this.hasActive()){var rt=this.callbackCtx_,yt=this.activeObservations_.map(function(ri){return new De(ri.target,ri.broadcastRect())});this.callback_.call(rt,yt,rt),this.clearActive()}},ht.prototype.clearActive=function(){this.activeObservations_.splice(0)},ht.prototype.hasActive=function(){return this.activeObservations_.length>0},ht}(),wt=typeof WeakMap<"u"?new WeakMap:new Ie,Re=function ht(rt){if(!(this instanceof ht))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var yt=me.getInstance(),ri=new ze(rt,yt,this);wt.set(this,ri)};["observe","unobserve","disconnect"].forEach(function(ht){Re.prototype[ht]=function(){var rt;return(rt=wt.get(this))[ht].apply(rt,arguments)}});const Bt=typeof fe.ResizeObserver<"u"?fe.ResizeObserver:Re;function It(ht,rt){if(1&ht&&(O.TgZ(0,"div",3),O._UZ(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),O.qZA()),2&ht){const yt=O.oxw();O.ekj("ps-at-top",yt.states.top)("ps-at-left",yt.states.left)("ps-at-right",yt.states.right)("ps-at-bottom",yt.states.bottom),O.xp6(1),O.ekj("ps-indicator-show",yt.indicatorY&&yt.interaction),O.xp6(1),O.ekj("ps-indicator-show",yt.indicatorX&&yt.interaction),O.xp6(1),O.ekj("ps-indicator-show",yt.indicatorX&&yt.interaction),O.xp6(1),O.ekj("ps-indicator-show",yt.indicatorY&&yt.interaction)}}const zt=["*"],xt=new O.OlP("PERFECT_SCROLLBAR_CONFIG");class we{constructor(rt,yt,ri,Ut){this.x=rt,this.y=yt,this.w=ri,this.h=Ut}}class J{constructor(rt,yt){this.x=rt,this.y=yt}}const be=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Fe{constructor(rt={}){this.assign(rt)}assign(rt={}){for(const yt in rt)this[yt]=rt[yt]}}let at=(()=>{class ht{constructor(yt,ri,Ut,Vt,Ft){this.zone=yt,this.differs=ri,this.elementRef=Ut,this.platformId=Vt,this.defaults=Ft,this.instance=null,this.ro=null,this.timeout=null,this.animation=null,this.configDiff=null,this.ngDestroy=new t.x,this.disabled=!1,this.psScrollY=new O.vpe,this.psScrollX=new O.vpe,this.psScrollUp=new O.vpe,this.psScrollDown=new O.vpe,this.psScrollLeft=new O.vpe,this.psScrollRight=new O.vpe,this.psYReachEnd=new O.vpe,this.psYReachStart=new O.vpe,this.psXReachEnd=new O.vpe,this.psXReachStart=new O.vpe}ngOnInit(){if(!this.disabled&&(0,d.NF)(this.platformId)){const yt=new Fe(this.defaults);yt.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new ot(this.elementRef.nativeElement,yt)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new Bt(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{be.forEach(ri=>{const Ut=ri.replace(/([A-Z])/g,Vt=>`-${Vt.toLowerCase()}`);(0,e.R)(this.elementRef.nativeElement,Ut).pipe((0,A.e)(20),(0,o.R)(this.ngDestroy)).subscribe(Vt=>{this[ri].emit(Vt)})})})}}ngOnDestroy(){(0,d.NF)(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.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(yt){yt.disabled&&!yt.disabled.isFirstChange()&&(0,d.NF)(this.platformId)&&yt.disabled.currentValue!==yt.disabled.previousValue&&(!0===yt.disabled.currentValue?this.ngOnDestroy():!1===yt.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(yt="scroll"){return new we(this.elementRef.nativeElement[yt+"Left"],this.elementRef.nativeElement[yt+"Top"],this.elementRef.nativeElement[yt+"Width"],this.elementRef.nativeElement[yt+"Height"])}position(yt=!1){return!yt&&this.instance?new J(this.instance.reach.x||0,this.instance.reach.y||0):new J(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(yt="any"){const ri=this.elementRef.nativeElement;return"any"===yt?ri.classList.contains("ps--active-x")||ri.classList.contains("ps--active-y"):"both"===yt?ri.classList.contains("ps--active-x")&&ri.classList.contains("ps--active-y"):ri.classList.contains("ps--active-"+yt)}scrollTo(yt,ri,Ut){this.disabled||(null==ri&&null==Ut?this.animateScrolling("scrollTop",yt,Ut):(null!=yt&&this.animateScrolling("scrollLeft",yt,Ut),null!=ri&&this.animateScrolling("scrollTop",ri,Ut)))}scrollToX(yt,ri){this.animateScrolling("scrollLeft",yt,ri)}scrollToY(yt,ri){this.animateScrolling("scrollTop",yt,ri)}scrollToTop(yt,ri){this.animateScrolling("scrollTop",yt||0,ri)}scrollToLeft(yt,ri){this.animateScrolling("scrollLeft",yt||0,ri)}scrollToRight(yt,ri){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(yt||0),ri)}scrollToBottom(yt,ri){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(yt||0),ri)}scrollToElement(yt,ri,Ut){if("string"==typeof yt&&(yt=this.elementRef.nativeElement.querySelector(yt)),yt){const Vt=yt.getBoundingClientRect(),Ft=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",Vt.left-Ft.left+this.elementRef.nativeElement.scrollLeft+(ri||0),Ut),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",Vt.top-Ft.top+this.elementRef.nativeElement.scrollTop+(ri||0),Ut)}}animateScrolling(yt,ri,Ut){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!Ut||typeof window>"u")this.elementRef.nativeElement[yt]=ri;else if(ri!==this.elementRef.nativeElement[yt]){let Vt=0,Ft=0,Qe=performance.now(),Ve=this.elementRef.nativeElement[yt];const je=(Ve-ri)/2,Xe=Et=>{Ft+=Math.PI/(Ut/(Et-Qe)),Vt=Math.round(ri+je+je*Math.cos(Ft)),this.elementRef.nativeElement[yt]===Ve&&(Ft>=Math.PI?this.animateScrolling(yt,ri,0):(this.elementRef.nativeElement[yt]=Vt,Ve=this.elementRef.nativeElement[yt],Qe=Et,this.animation=window.requestAnimationFrame(Xe)))};window.requestAnimationFrame(Xe)}}}return ht.\u0275fac=function(yt){return new(yt||ht)(O.Y36(O.R0b),O.Y36(O.aQg),O.Y36(O.SBq),O.Y36(O.Lbi),O.Y36(xt,8))},ht.\u0275dir=O.lG2({type:ht,selectors:[["","perfectScrollbar",""]],inputs:{disabled:"disabled",config:["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:[O.TTD]}),ht})(),ii=(()=>{class ht{constructor(yt,ri,Ut){this.zone=yt,this.cdRef=ri,this.platformId=Ut,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 t.x,this.stateUpdate=new t.x,this.disabled=!1,this.usePSClass=!0,this.autoPropagation=!1,this.scrollIndicators=!1,this.psScrollY=new O.vpe,this.psScrollX=new O.vpe,this.psScrollUp=new O.vpe,this.psScrollDown=new O.vpe,this.psScrollLeft=new O.vpe,this.psScrollRight=new O.vpe,this.psYReachEnd=new O.vpe,this.psYReachStart=new O.vpe,this.psXReachEnd=new O.vpe,this.psXReachStart=new O.vpe}ngOnInit(){(0,d.NF)(this.platformId)&&(this.stateUpdate.pipe((0,o.R)(this.ngDestroy),(0,C.x)((yt,ri)=>yt===ri&&!this.stateTimeout)).subscribe(yt=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===yt||"y"===yt?(this.interaction=!1,"x"===yt?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===yt&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===yt||"right"===yt?(this.states.left=!1,this.states.right=!1,this.states[yt]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===yt||"bottom"===yt)&&(this.states.top=!1,this.states.bottom=!1,this.states[yt]=!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 yt=this.directiveRef.elementRef.nativeElement;(0,e.R)(yt,"wheel").pipe((0,o.R)(this.ngDestroy)).subscribe(ri=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(ri,ri.deltaX,ri.deltaY)}),(0,e.R)(yt,"touchmove").pipe((0,o.R)(this.ngDestroy)).subscribe(ri=>{if(!this.disabled&&this.autoPropagation){const Ut=ri.touches[0].clientX,Vt=ri.touches[0].clientY;this.checkPropagation(ri,Ut-this.scrollPositionX,Vt-this.scrollPositionY),this.scrollPositionX=Ut,this.scrollPositionY=Vt}}),(0,g.T)((0,e.R)(yt,"ps-scroll-x").pipe((0,u.h)("x")),(0,e.R)(yt,"ps-scroll-y").pipe((0,u.h)("y")),(0,e.R)(yt,"ps-x-reach-end").pipe((0,u.h)("right")),(0,e.R)(yt,"ps-y-reach-end").pipe((0,u.h)("bottom")),(0,e.R)(yt,"ps-x-reach-start").pipe((0,u.h)("left")),(0,e.R)(yt,"ps-y-reach-start").pipe((0,u.h)("top"))).pipe((0,o.R)(this.ngDestroy)).subscribe(ri=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(ri)})}}),window.setTimeout(()=>{be.forEach(yt=>{this.directiveRef&&(this.directiveRef[yt]=this[yt])})},0))}ngOnDestroy(){(0,d.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,d.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const yt=this.directiveRef.elementRef.nativeElement;this.usePropagationX=yt.classList.contains("ps--active-x"),this.usePropagationY=yt.classList.contains("ps--active-y")}}checkPropagation(yt,ri,Ut){this.interaction=!0;const Vt=ri<0?-1:1,Ft=Ut<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Vt)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==Ft))&&(yt.preventDefault(),yt.stopPropagation()),ri&&(this.scrollDirectionX=Vt),Ut&&(this.scrollDirectionY=Ft),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return ht.\u0275fac=function(yt){return new(yt||ht)(O.Y36(O.R0b),O.Y36(O.sBO),O.Y36(O.Lbi))},ht.\u0275cmp=O.Xpm({type:ht,selectors:[["perfect-scrollbar"]],viewQuery:function(yt,ri){if(1&yt&&O.Gf(at,7),2&yt){let Ut;O.iGM(Ut=O.CRH())&&(ri.directiveRef=Ut.first)}},hostVars:4,hostBindings:function(yt,ri){2&yt&&O.ekj("ps-show-limits",ri.autoPropagation)("ps-show-active",ri.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(yt,ri){1&yt&&(O.F$t(),O.TgZ(0,"div",0)(1,"div",1),O.Hsn(2),O.qZA(),O.YNc(3,It,5,16,"div",2),O.qZA()),2&yt&&(O.ekj("ps",ri.usePSClass),O.Q6J("perfectScrollbar",ri.config)("disabled",ri.disabled),O.xp6(3),O.Q6J("ngIf",ri.scrollIndicators))},dependencies:[at,d.O5],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}),ht})(),ei=(()=>{class ht{}return ht.\u0275fac=function(yt){return new(yt||ht)},ht.\u0275mod=O.oAB({type:ht}),ht.\u0275inj=O.cJS({imports:[[d.ez],d.ez]}),ht})()},4946:Ge=>{"use strict";Ge.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"}}')},5207:Ge=>{"use strict";Ge.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"}}')},1308:Ge=>{"use strict";Ge.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"}')},9799:Ge=>{"use strict";Ge.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"}}')},8597:Ge=>{"use strict";Ge.exports={i8:"6.5.4"}},2562:Ge=>{"use strict";Ge.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"}')}},Ge=>{Ge(Ge.s=5415)}]);