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.3ccfe42677016a42.js

1 line
3.0 MiB

(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[179],{429:(Be,Q,m)=>{"use strict";m.d(Q,{$A:()=>Te,$W:()=>pe,BL:()=>V,CN:()=>d,CX:()=>M,EG:()=>U,EK:()=>S,El:()=>re,HI:()=>a,HJ:()=>k,I8:()=>O,JK:()=>Ke,Lu:()=>Z,Ly:()=>ge,Ni:()=>g,Nr:()=>me,OG:()=>z,QJ:()=>Re,RX:()=>I,Rd:()=>Ae,SN:()=>w,Sf:()=>Y,TM:()=>l,UH:()=>xe,UR:()=>D,VD:()=>Ie,WM:()=>we,WO:()=>y,Wi:()=>fe,X3:()=>se,YP:()=>ee,YX:()=>b,Z8:()=>oe,ZH:()=>lt,Zu:()=>rt,_9:()=>Qe,_E:()=>q,aL:()=>Ze,as:()=>v,cQ:()=>i,d7:()=>Ct,dh:()=>je,e9:()=>ye,eF:()=>P,eM:()=>vt,en:()=>Le,g3:()=>W,g6:()=>Oe,i9:()=>Nt,kL:()=>E,n7:()=>$e,oV:()=>f,oo:()=>s,pW:()=>n,pd:()=>h,u0:()=>We,uT:()=>at,v_:()=>Ve,wD:()=>C,xH:()=>A,xS:()=>K,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)()),s=(0,t.PH)(e.AB.SET_CHILD_NODE_SETTINGS_CLN,(0,t.Ky)()),C=(0,t.PH)(e.AB.FETCH_PAGE_SETTINGS_CLN),h=(0,t.PH)(e.AB.SET_PAGE_SETTINGS_CLN,(0,t.Ky)()),P=(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),I=(0,t.PH)(e.AB.SET_FEES_CLN,(0,t.Ky)()),k=(0,t.PH)(e.AB.FETCH_FEE_RATES_CLN,(0,t.Ky)()),O=(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)()),W=(0,t.PH)(e.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),K=(0,t.PH)(e.AB.SET_LOCAL_REMOTE_BALANCE_CLN,(0,t.Ky)()),q=(0,t.PH)(e.AB.GET_NEW_ADDRESS_CLN,(0,t.Ky)()),pe=((0,t.PH)(e.AB.SET_NEW_ADDRESS_CLN,(0,t.Ky)()),(0,t.PH)(e.AB.FETCH_PEERS_CLN)),oe=(0,t.PH)(e.AB.SET_PEERS_CLN,(0,t.Ky)()),re=(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)()),S=(0,t.PH)(e.AB.REMOVE_PEER_CLN,(0,t.Ky)()),i=(0,t.PH)(e.AB.FETCH_PAYMENTS_CLN),a=(0,t.PH)(e.AB.SET_PAYMENTS_CLN,(0,t.Ky)()),f=(0,t.PH)(e.AB.SEND_PAYMENT_CLN,(0,t.Ky)()),l=(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)()),E=(0,t.PH)(e.AB.SET_QUERY_ROUTES_CLN,(0,t.Ky)()),D=(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)()),V=(0,t.PH)(e.AB.CLOSE_CHANNEL_CLN,(0,t.Ky)()),z=(0,t.PH)(e.AB.REMOVE_CHANNEL_CLN,(0,t.Ky)()),Y=(0,t.PH)(e.AB.PEER_LOOKUP_CLN,(0,t.Ky)()),Te=(0,t.PH)(e.AB.CHANNEL_LOOKUP_CLN,(0,t.Ky)()),$e=(0,t.PH)(e.AB.INVOICE_LOOKUP_CLN,(0,t.Ky)()),Ve=(0,t.PH)(e.AB.SET_LOOKUP_CLN,(0,t.Ky)()),We=(0,t.PH)(e.AB.GET_FORWARDING_HISTORY_CLN,(0,t.Ky)()),Re=(0,t.PH)(e.AB.SET_FORWARDING_HISTORY_CLN,(0,t.Ky)()),we=(0,t.PH)(e.AB.FETCH_INVOICES_CLN,(0,t.Ky)()),me=(0,t.PH)(e.AB.SET_INVOICES_CLN,(0,t.Ky)()),Ae=(0,t.PH)(e.AB.SAVE_NEW_INVOICE_CLN,(0,t.Ky)()),ee=(0,t.PH)(e.AB.ADD_INVOICE_CLN,(0,t.Ky)()),Ze=(0,t.PH)(e.AB.UPDATE_INVOICE_CLN,(0,t.Ky)()),Oe=(0,t.PH)(e.AB.DELETE_EXPIRED_INVOICE_CLN,(0,t.Ky)()),fe=(0,t.PH)(e.AB.SET_CHANNEL_TRANSACTION_CLN,(0,t.Ky)()),ge=((0,t.PH)(e.AB.SET_CHANNEL_TRANSACTION_RES_CLN,(0,t.Ky)()),(0,t.PH)(e.AB.FETCH_UTXOS_CLN)),xe=(0,t.PH)(e.AB.SET_UTXOS_CLN,(0,t.Ky)()),vt=(0,t.PH)(e.AB.FETCH_OFFER_INVOICE_CLN,(0,t.Ky)()),Ie=(0,t.PH)(e.AB.SET_OFFER_INVOICE_CLN,(0,t.Ky)()),de=(0,t.PH)(e.AB.FETCH_OFFERS_CLN),rt=(0,t.PH)(e.AB.SET_OFFERS_CLN,(0,t.Ky)()),je=(0,t.PH)(e.AB.SAVE_NEW_OFFER_CLN,(0,t.Ky)()),lt=(0,t.PH)(e.AB.ADD_OFFER_CLN,(0,t.Ky)()),Nt=(0,t.PH)(e.AB.DISABLE_OFFER_CLN,(0,t.Ky)()),Ke=(0,t.PH)(e.AB.UPDATE_OFFER_CLN,(0,t.Ky)()),at=(0,t.PH)(e.AB.FETCH_OFFER_BOOKMARKS_CLN),Ct=(0,t.PH)(e.AB.SET_OFFER_BOOKMARKS_CLN,(0,t.Ky)()),ye=(0,t.PH)(e.AB.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,t.Ky)()),Qe=(0,t.PH)(e.AB.DELETE_OFFER_BOOKMARK_CLN,(0,t.Ky)()),Le=(0,t.PH)(e.AB.REMOVE_OFFER_BOOKMARK_CLN,(0,t.Ky)())},4947:(Be,Q,m)=>{"use strict";m.d(Q,{J:()=>ce});var t=m(493),e=m(7579),g=m(9646),A=m(5577),s=m(2722),C=m(4004),h=m(262),P=m(1786),d=m(5566),M=m(7731),w=m(7861),I=m(429),k=m(9828),O=m(1462),U=m(4650),Z=m(529),W=m(9653),K=m(5986),q=m(62),te=m(5043),pe=m(9116),oe=m(7998),re=m(6895);let ce=(()=>{class se{constructor(S,i,a,f,l,y,E,D,v){this.actions=S,this.httpClient=i,this.store=a,this.sessionService=f,this.commonService=l,this.logger=y,this.router=E,this.wsService=D,this.location=v,this.CHILD_API_URL=M.T5+"/cln",this.API_VERION="",this.NODE_VERISON="",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,I.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,s.R)(this.actions.pipe((0,t.l4)(M.pg.SET_SELECTED_NODE))),(0,C.U)(b=>(this.logger.info(b),this.API_VERION=b.api_version||"",this.NODE_VERISON=b.version||"",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,I.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,I.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,h.K)(b=>{const V=this.commonService.extractErrorCode(b),z="ETIMEDOUT"===V?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(b);return this.router.navigate(["/error"],{state:{errorCode:V,errorMessage:z}}),this.handleErrorWithoutAlert("FetchInfo",M.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:V,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,I.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,I.Ni)({payload:{action:"FetchFees",status:M.Bn.COMPLETED}})),{type:M.AB.SET_FEES_CLN,payload:n||{}})),(0,h.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,I.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,I.Ni)({payload:{action:"FetchFeeRates"+n.payload,status:M.Bn.COMPLETED}})),{type:M.AB.SET_FEE_RATES_CLN,payload:b||{}})),(0,h.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,I.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,I.Ni)({payload:{action:"FetchBalance",status:M.Bn.COMPLETED}})),{type:M.AB.SET_BALANCE_CLN,payload:n||{}})),(0,h.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,I.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,I.Ni)({payload:{action:"FetchLocalRemoteBalance",status:M.Bn.COMPLETED}})),{type:M.AB.SET_LOCAL_REMOTE_BALANCE_CLN,payload:n||{}})),(0,h.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,h.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,I.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,I.Ni)({payload:{action:"FetchPeers",status:M.Bn.COMPLETED}})),{type:M.AB.SET_PEERS_CLN,payload:n||[]})),(0,h.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,I.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,I.Ni)({payload:{action:"SaveNewPeer",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.CONNECT_PEER})),this.store.dispatch((0,I.Z8)({payload:b||[]})),{type:M.AB.NEWLY_ADDED_PEER_CLN,payload:{peer:b.find(V=>0===n.payload.id.indexOf(V.id?V.id:""))}})),(0,h.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,h.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,I.Ni)({payload:{action:"FetchChannels",status:M.Bn.INITIATED}}));const n=this.commonService.isVersionCompatible(this.NODE_VERISON,"23.02")&&this.commonService.isVersionCompatible(this.API_VERION,"0.10.3")?"/listPeerChannels":"/listChannels";return this.httpClient.get(this.CHILD_API_URL+M.vv.CHANNELS_API+n)}),(0,C.U)(n=>{this.logger.info(n),this.store.dispatch((0,I.Ni)({payload:{action:"FetchChannels",status:M.Bn.COMPLETED}}));const b={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return n.forEach(V=>{V.id&&(V.peer_id=V.id),V.connected&&(V.peer_connected=V.connected),"CHANNELD_NORMAL"===V.state?V.peer_connected?b.activeChannels.push(V):b.inactiveChannels.push(V):b.pendingChannels.push(V)}),{type:M.AB.SET_CHANNELS_CLN,payload:b}}),(0,h.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,I.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)(V=>(this.logger.info(V),this.store.dispatch((0,I.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,I.EG)()),this.store.dispatch((0,I.Ly)()),{type:M.AB.FETCH_CHANNELS_CLN})),(0,h.K)(V=>(this.handleErrorWithoutAlert("SaveNewChannel",M.m6.OPEN_CHANNEL,"Opening Channel Failed.",V),(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,h.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)(V=>(this.logger.info(V),this.store.dispatch((0,w.uO)({payload:n.payload.force?M.m6.FORCE_CLOSE_CHANNEL:M.m6.CLOSE_CHANNEL})),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.g3)()),this.store.dispatch((0,w.jW)({payload:"Channel Closed Successfully!"})),{type:M.AB.REMOVE_CHANNEL_CLN,payload:n.payload})),(0,h.K)(V=>(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,V),(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,I.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,I.Ni)({payload:{action:"FetchPayments",status:M.Bn.COMPLETED}})),{type:M.AB.SET_PAYMENTS_CLN,payload:n||[]})),(0,h.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,I.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,I.Ni)({payload:{action:"FetchOfferInvoice",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.FETCH_INVOICE})),this.store.dispatch((0,I.VD)({payload:b||{}}))},500)}),(0,h.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,I.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,I.Ni)({payload:{action:"SendPayment",status:M.Bn.COMPLETED}}));let V="Payment Sent Successfully!";b.saveToDBError&&(V="Payment Sent Successfully but Offer Saving to Database Failed."),b.saveToDBResponse&&"NA"!==b.saveToDBResponse&&(this.store.dispatch((0,I.e9)({payload:b.saveToDBResponse})),V="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.EG)()),this.store.dispatch((0,I.cQ)()),this.store.dispatch((0,w.uO)({payload:n.payload.uiMessage})),this.store.dispatch((0,w.jW)({payload:V})),this.store.dispatch((0,I.TM)({payload:b.paymentResponse}))},1e3)}),(0,h.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,I.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,I.Ni)({payload:{action:"GetQueryRoutes",status:M.Bn.COMPLETED}})),{type:M.AB.SET_QUERY_ROUTES_CLN,payload:b})),(0,h.K)(b=>(this.store.dispatch((0,I.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,I.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,I.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,h.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,I.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,I.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,h.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,I.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,I.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,I.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,I.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,h.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,I.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)(V=>(this.logger.info(V),this.store.dispatch((0,I.Ni)({payload:{action:"FetchForwardingHistory"+b,status:M.Bn.COMPLETED}})),n.payload.status===M.OO.FAILED?this.store.dispatch((0,I.QJ)({payload:{status:M.OO.FAILED,totalForwards:V.length,listForwards:V}})):n.payload.status===M.OO.LOCAL_FAILED?this.store.dispatch((0,I.QJ)({payload:{status:M.OO.LOCAL_FAILED,totalForwards:V.length,listForwards:V}})):n.payload.status===M.OO.SETTLED&&this.store.dispatch((0,I.QJ)({payload:{status:M.OO.SETTLED,totalForwards:V.length,listForwards:V}})),{type:M.pg.VOID})),(0,h.K)(V=>(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,V),(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)(V=>(this.logger.info(V),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,h.K)(V=>(this.handleErrorWithAlert("DeleteInvoices",M.m6.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+M.vv.INVOICES_API,V),(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,I.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,I.Ni)({payload:{action:"SaveNewInvoice",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.ADD_INVOICE})),b.amount_msat=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,h.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,I.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,issuer:n.payload.issuer}).pipe((0,C.U)(b=>(this.logger.info(b),this.store.dispatch((0,I.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:O.k}}}))},100),{type:M.AB.ADD_OFFER_CLN,payload:b})),(0,h.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,I.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)(Y=>(this.logger.info(Y),this.store.dispatch((0,I.Ni)({payload:{action:"FetchInvoices",status:M.Bn.COMPLETED}})),{type:M.AB.SET_INVOICES_CLN,payload:Y})),(0,h.K)(Y=>(this.handleErrorWithoutAlert("FetchInvoices",M.m6.NO_SPINNER,"Fetching Invoices Failed.",Y),(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,I.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,I.Ni)({payload:{action:"FetchOffers",status:M.Bn.COMPLETED}})),{type:M.AB.SET_OFFERS_CLN,payload:b.offers?b.offers:[]})),(0,h.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,I.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,I.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,h.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,I.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,I.Ni)({payload:{action:"FetchOfferBookmarks",status:M.Bn.COMPLETED}})),{type:M.AB.SET_OFFER_BOOKMARKS_CLN,payload:b||[]})),(0,h.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,I.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,I.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,h.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,I.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,I.Ni)({payload:{action:"SetChannelTransaction",status:M.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:M.m6.SEND_FUNDS})),this.store.dispatch((0,I.EG)()),this.store.dispatch((0,I.Ly)()),{type:M.AB.SET_CHANNEL_TRANSACTION_RES_CLN,payload:b})),(0,h.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,I.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,I.Ni)({payload:{action:"FetchUTXOs",status:M.Bn.COMPLETED}})),n.outputs.forEach(b=>{b.value&&(b.amount_msat=b.value)}),{type:M.AB.SET_UTXOS_CLN,payload:n.outputs||[]})),(0,h.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,I.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,I.Ni)({payload:{action:"FetchPageSettings",status:M.Bn.COMPLETED}})),{type:M.AB.SET_PAGE_SETTINGS_CLN,payload:n||[]})),(0,h.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,I.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,I.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,h.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(k.yA).pipe((0,s.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,s.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,I.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(S,i){this.sessionService.setItem("clnUnlocked","true");const a={identity_pubkey:S.id,alias:S.alias,testnet:"testnet"===S.network.toLowerCase(),chains:S.chains,uris:S.uris,version:S.version,api_version:S.api_version,numberOfPendingChannels:S.num_pending_channels};this.store.dispatch((0,w.ac)({payload:M.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,w._V)({payload:a}));let f=this.location.path();f.includes("/lnd/")?f=f?.replace("/lnd/","/cln/"):f.includes("/ecl/")&&(f=f?.replace("/ecl/","/cln/")),(f.includes("/login")||f.includes("/error")||""===f||"HOME"===i||f.includes("?access-key="))&&(f="/cln/home"),this.router.navigate([f]),this.store.dispatch((0,I.wD)()),this.store.dispatch((0,I.WM)({payload:{num_max_invoices:1e6,index_offset:0,reversed:!0}})),this.store.dispatch((0,I.SN)()),this.store.dispatch((0,I.UR)()),this.store.dispatch((0,I.EG)()),this.store.dispatch((0,I.g3)()),this.store.dispatch((0,I.HJ)({payload:"perkw"})),this.store.dispatch((0,I.HJ)({payload:"perkb"})),this.store.dispatch((0,I.$W)()),this.store.dispatch((0,I.Ly)()),this.store.dispatch((0,I.cQ)())}handleErrorWithoutAlert(S,i,a,f){if(this.logger.error("ERROR IN: "+S+"\n"+JSON.stringify(f)),401===f.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 l=this.commonService.extractErrorMessage(f,a);this.store.dispatch((0,I.Ni)({payload:{action:S,status:M.Bn.ERROR,statusCode:f.status.toString(),message:l}}))}}handleErrorWithAlert(S,i,a,f,l){if(this.logger.error(l),401===l.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(l);this.store.dispatch((0,w.qR)({payload:{data:{type:"ERROR",alertTitle:a,message:{code:l.status,message:y,URL:f},component:P.H}}})),this.store.dispatch((0,I.Ni)({payload:{action:S,status:M.Bn.ERROR,statusCode:l.status.toString(),message:y,URL:f}}))}}ngOnDestroy(){this.unSubs.forEach(S=>{S.next(null),S.complete()})}}return se.\u0275fac=function(S){return new(S||se)(U.LFG(t.eX),U.LFG(Z.eN),U.LFG(W.yh),U.LFG(K.m),U.LFG(q.v),U.LFG(te.mQ),U.LFG(pe.F0),U.LFG(oe.d),U.LFG(re.Ye))},se.\u0275prov=U.Yz7({token:se,factory:se.\u0275fac}),se})()},9828:(Be,Q,m)=>{"use strict";m.d(Q,{AS:()=>A,Ao:()=>re,Bo:()=>K,EQ:()=>he,Hz:()=>ce,JG:()=>M,OL:()=>pe,PP:()=>P,Rn:()=>Z,T4:()=>O,Wi:()=>d,Wj:()=>W,Y_:()=>se,ZW:()=>U,ey:()=>s,gc:()=>k,hx:()=>I,jK:()=>oe,lK:()=>te,lw:()=>g,xQ:()=>q,yA:()=>h,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})),s=(0,t.P1)(e,i=>i.information),h=((0,t.P1)(e,i=>i.apisCallStatus.FetchInfo),(0,t.P1)(e,i=>i.apisCallStatus)),P=(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})),I=(0,t.P1)(e,i=>({feeRatesPerKW:i.feeRatesPerKW,apiCallStatus:i.apisCallStatus.FetchFeeRatesperkw})),k=(0,t.P1)(e,i=>({listInvoices:i.invoices,apiCallStatus:i.apisCallStatus.FetchInvoices})),O=(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})),W=(0,t.P1)(e,i=>({localRemoteBalance:i.localRemoteBalance,apiCallStatus:i.apisCallStatus.FetchLocalRemoteBalance})),K=(0,t.P1)(e,i=>({forwardingHistory:i.forwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryS})),q=(0,t.P1)(e,i=>({failedForwardingHistory:i.failedForwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryF})),te=(0,t.P1)(e,i=>({localFailedForwardingHistory:i.localFailedForwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryL})),pe=(0,t.P1)(e,i=>({information:i.information,nodeSettings:i.nodeSettings,balance:i.balance})),oe=(0,t.P1)(e,i=>({information:i.information,balance:i.balance,numPeers:i.peers.length})),re=(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:(Be,Q,m)=>{"use strict";m.d(Q,{y:()=>Oe});var t=m(5412),e=m(2687),g=m(7579),A=m(2722),s=m(7731),C=m(9828),h=m(4650),P=m(5043),d=m(62),M=m(7009),w=m(9653),I=m(6895),k=m(2216),O=m(1576),U=m(5829),Z=m(4859),W=m(3546),K=m(4850),q=m(1572),te=m(266),pe=m(658),oe=m(5199),re=m(3390);function ce(fe,Se){if(1&fe&&h._UZ(0,"qr-code",33),2&fe){const ge=h.oxw();h.Q6J("value",(null==ge.invoice?null:ge.invoice.bolt11)||(null==ge.invoice?null:ge.invoice.bolt12))("size",ge.qrWidth)("errorCorrectionLevel","L")}}function se(fe,Se){1&fe&&(h.TgZ(0,"span",34),h._uU(1,"N/A"),h.qZA())}const he=function(fe){return{"mr-0":fe}};function S(fe,Se){if(1&fe&&h._UZ(0,"span",35),2&fe){const ge=h.oxw();h.Q6J("ngClass",h.VKq(1,he,ge.screenSize===ge.screenSizeEnum.XS))}}function i(fe,Se){if(1&fe&&h._UZ(0,"span",36),2&fe){const ge=h.oxw();h.Q6J("ngClass",h.VKq(1,he,ge.screenSize===ge.screenSizeEnum.XS))}}function a(fe,Se){if(1&fe&&h._UZ(0,"span",37),2&fe){const ge=h.oxw();h.Q6J("ngClass",h.VKq(1,he,ge.screenSize===ge.screenSizeEnum.XS))}}function f(fe,Se){if(1&fe&&h._UZ(0,"qr-code",33),2&fe){const ge=h.oxw();h.Q6J("value",(null==ge.invoice?null:ge.invoice.bolt11)||(null==ge.invoice?null:ge.invoice.bolt12))("size",ge.qrWidth)("errorCorrectionLevel","L")}}function l(fe,Se){1&fe&&(h.TgZ(0,"span",38),h._uU(1,"QR Code Not Applicable"),h.qZA())}function y(fe,Se){1&fe&&h._UZ(0,"mat-divider",39)}function E(fe,Se){if(1&fe&&(h.TgZ(0,"div",19)(1,"div",40),h._UZ(2,"fa-icon",41),h.TgZ(3,"span"),h._uU(4),h.qZA()()()),2&fe){const ge=h.oxw();h.xp6(2),h.Q6J("icon",ge.faExclamationTriangle),h.xp6(2),h.Oqu(null==ge.invoice?null:ge.invoice.warning_capacity)}}function D(fe,Se){1&fe&&(h.ynx(0),h._uU(1," (zero amount) "),h.BQk())}function v(fe,Se){1&fe&&h._UZ(0,"span",47)}const n=function(){return[]};function b(fe,Se){if(1&fe&&(h.TgZ(0,"div",43)(1,"div",44)(2,"span",45),h._uU(3),h.ALo(4,"number"),h.qZA(),h.YNc(5,v,1,0,"span",46),h.qZA()()),2&fe){const ge=h.oxw(2);h.xp6(3),h.hij("",h.lcZ(4,2,(null==ge.invoice?null:ge.invoice.amount_received_msat)/1e3)," Sats"),h.xp6(2),h.Q6J("ngForOf",h.DdM(4,n).constructor(35))}}function V(fe,Se){if(1&fe&&(h.TgZ(0,"div"),h._uU(1),h.ALo(2,"number"),h.qZA()),2&fe){const ge=h.oxw(2);h.xp6(1),h.hij("",h.lcZ(2,1,(null==ge.invoice?null:ge.invoice.amount_received_msat)/1e3)," Sats")}}function z(fe,Se){if(1&fe&&(h.ynx(0),h.YNc(1,b,6,5,"div",42),h.YNc(2,V,3,3,"div",23),h.BQk()),2&fe){const ge=h.oxw();h.xp6(1),h.Q6J("ngIf",ge.flgInvoicePaid),h.xp6(1),h.Q6J("ngIf",!ge.flgInvoicePaid)}}function Y(fe,Se){1&fe&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function Te(fe,Se){1&fe&&h._UZ(0,"mat-spinner",49),2&fe&&h.Q6J("diameter",20)}function $e(fe,Se){if(1&fe&&(h.ynx(0),h.YNc(1,Y,2,0,"span",23),h.YNc(2,Te,1,1,"mat-spinner",48),h.BQk()),2&fe){const ge=h.oxw();h.xp6(1),h.Q6J("ngIf","unpaid"!==(null==ge.invoice?null:ge.invoice.status)||!ge.flgVersionCompatible),h.xp6(1),h.Q6J("ngIf","unpaid"===(null==ge.invoice?null:ge.invoice.status)&&ge.flgVersionCompatible)}}function Ve(fe,Se){if(1&fe&&(h.TgZ(0,"div"),h._UZ(1,"mat-divider",25),h.TgZ(2,"div",19)(3,"div",26)(4,"h4",21),h._uU(5,"Payment Hash"),h.qZA(),h.TgZ(6,"span",24),h._uU(7),h.qZA()()(),h._UZ(8,"mat-divider",25),h.TgZ(9,"div",19)(10,"div",26)(11,"h4",21),h._uU(12,"Label"),h.qZA(),h.TgZ(13,"span",24),h._uU(14),h.qZA()()(),h._UZ(15,"mat-divider",25),h.qZA()),2&fe){const ge=h.oxw();h.xp6(7),h.Oqu(null==ge.invoice?null:ge.invoice.payment_hash),h.xp6(7),h.Oqu(null==ge.invoice?null:ge.invoice.label)}}function We(fe,Se){1&fe&&(h.TgZ(0,"p"),h._uU(1,"Show Advanced"),h.qZA())}function Re(fe,Se){1&fe&&(h.TgZ(0,"p"),h._uU(1,"Hide Advanced"),h.qZA())}function we(fe,Se){if(1&fe){const ge=h.EpF();h.TgZ(0,"button",50),h.NdJ("copied",function(vt){h.CHM(ge);const Ie=h.oxw();return h.KtG(Ie.onCopyPayment(vt))}),h._uU(1,"Copy Invoice"),h.qZA()}if(2&fe){const ge=h.oxw();h.Q6J("payload",(null==ge.invoice?null:ge.invoice.bolt11)||(null==ge.invoice?null:ge.invoice.bolt12))}}function me(fe,Se){if(1&fe){const ge=h.EpF();h.TgZ(0,"button",51),h.NdJ("click",function(){h.CHM(ge);const vt=h.oxw();return h.KtG(vt.onClose())}),h._uU(1,"OK"),h.qZA()}}const Ae=function(fe){return{"display-none":fe}},ee=function(fe){return{"xs-scroll-y":fe}},Ze=function(fe,Se){return{"mt-2":fe,"mt-1":Se}};let Oe=(()=>{class fe{constructor(ge,xe,vt,Ie,de,rt){this.dialogRef=ge,this.data=xe,this.logger=vt,this.commonService=Ie,this.snackBar=de,this.store=rt,this.faReceipt=e.dLy,this.faExclamationTriangle=e.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=s.cu,this.flgInvoicePaid=!1,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===s.cu.XS&&(this.qrWidth=220),this.store.select(C.gc).pipe((0,A.R)(this.unSubs[1])).subscribe(ge=>{const xe=this.invoice.status,Ie=(ge.listInvoices.invoices||[])?.find(de=>de.payment_hash===this.invoice.payment_hash)||null;Ie&&(this.invoice=Ie),xe!==this.invoice.status&&"paid"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(ge)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(ge){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+ge)}ngOnDestroy(){this.unSubs.forEach(ge=>{ge.next(null),ge.complete()})}}return fe.\u0275fac=function(ge){return new(ge||fe)(h.Y36(t.so),h.Y36(t.WI),h.Y36(P.mQ),h.Y36(d.v),h.Y36(M.ux),h.Y36(w.yh))},fe.\u0275cmp=h.Xpm({type:fe,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(ge,xe){if(1&ge&&(h.TgZ(0,"div",0)(1,"div",1),h.YNc(2,ce,1,3,"qr-code",2),h.YNc(3,se,2,0,"span",3),h.qZA(),h.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),h._UZ(7,"fa-icon",7),h.TgZ(8,"span",8),h._uU(9),h.YNc(10,S,1,3,"span",9),h.YNc(11,i,1,3,"span",10),h.YNc(12,a,1,3,"span",11),h.qZA()(),h.TgZ(13,"button",12),h.NdJ("click",function(){return xe.onClose()}),h._uU(14,"X"),h.qZA()(),h.TgZ(15,"mat-card-content",13)(16,"div",14)(17,"div",15),h.YNc(18,f,1,3,"qr-code",2),h.YNc(19,l,2,0,"span",16),h.qZA(),h.YNc(20,y,1,0,"mat-divider",17),h.YNc(21,E,5,2,"div",18),h.TgZ(22,"div",19)(23,"div",20)(24,"h4",21),h._uU(25),h.qZA(),h.TgZ(26,"span",22),h._uU(27),h.ALo(28,"number"),h.YNc(29,D,2,0,"ng-container",23),h.qZA()(),h.TgZ(30,"div",20)(31,"h4",21),h._uU(32,"Amount Received"),h.qZA(),h.TgZ(33,"span",24),h.YNc(34,z,3,2,"ng-container",23),h.YNc(35,$e,3,2,"ng-container",23),h.qZA()()(),h._UZ(36,"mat-divider",25),h.TgZ(37,"div",19)(38,"div",20)(39,"h4",21),h._uU(40,"Date Expiry"),h.qZA(),h.TgZ(41,"span",22),h._uU(42),h.ALo(43,"date"),h.qZA()(),h.TgZ(44,"div",20)(45,"h4",21),h._uU(46,"Date Settled"),h.qZA(),h.TgZ(47,"span",22),h._uU(48),h.ALo(49,"date"),h.qZA()()(),h._UZ(50,"mat-divider",25),h.TgZ(51,"div",19)(52,"div",26)(53,"h4",21),h._uU(54,"Description"),h.qZA(),h.TgZ(55,"span",22),h._uU(56),h.qZA()()(),h._UZ(57,"mat-divider",25),h.TgZ(58,"div",19)(59,"div",26)(60,"h4",21),h._uU(61),h.qZA(),h.TgZ(62,"span",24),h._uU(63),h.qZA()()(),h.YNc(64,Ve,16,2,"div",23),h.TgZ(65,"div",27)(66,"button",28),h.NdJ("click",function(){return xe.onShowAdvanced()}),h.YNc(67,We,2,0,"p",29),h.YNc(68,Re,2,0,"ng-template",null,30,h.W1O),h.qZA(),h.YNc(70,we,2,1,"button",31),h.YNc(71,me,2,0,"button",32),h.qZA()()()()()),2&ge){const vt=h.MAs(69);h.xp6(1),h.Q6J("fxLayoutAlign",null!=xe.invoice&&xe.invoice.bolt11&&""!==(null==xe.invoice?null:xe.invoice.bolt11)||null!=xe.invoice&&xe.invoice.bolt12&&""!==(null==xe.invoice?null:xe.invoice.bolt12)?"center start":"center center")("ngClass",h.VKq(40,Ae,xe.screenSize===xe.screenSizeEnum.XS||xe.screenSize===xe.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==xe.invoice?null:xe.invoice.bolt11)&&""!==(null==xe.invoice?null:xe.invoice.bolt11)||(null==xe.invoice?null:xe.invoice.bolt12)&&""!==(null==xe.invoice?null:xe.invoice.bolt12)),h.xp6(1),h.Q6J("ngIf",!(null!=xe.invoice&&xe.invoice.bolt11||null!=xe.invoice&&xe.invoice.bolt12)),h.xp6(4),h.Q6J("icon",xe.faReceipt),h.xp6(2),h.hij(" ",xe.screenSize===xe.screenSizeEnum.XS?xe.newlyAdded?"Created":"Invoice":xe.newlyAdded?"Invoice Created":"Invoice Information"," "),h.xp6(1),h.Q6J("ngIf","paid"===(null==xe.invoice?null:xe.invoice.status)),h.xp6(1),h.Q6J("ngIf","unpaid"===(null==xe.invoice?null:xe.invoice.status)),h.xp6(1),h.Q6J("ngIf","expired"===(null==xe.invoice?null:xe.invoice.status)),h.xp6(3),h.Q6J("ngClass",h.VKq(42,ee,xe.screenSize===xe.screenSizeEnum.XS)),h.xp6(2),h.Q6J("fxLayoutAlign",null!=xe.invoice&&xe.invoice.bolt11&&""!==(null==xe.invoice?null:xe.invoice.bolt11)||null!=xe.invoice&&xe.invoice.bolt12&&""!==(null==xe.invoice?null:xe.invoice.bolt12)?"center start":"center center")("ngClass",h.VKq(44,Ae,xe.screenSize!==xe.screenSizeEnum.XS&&xe.screenSize!==xe.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==xe.invoice?null:xe.invoice.bolt11)&&""!==(null==xe.invoice?null:xe.invoice.bolt11)||(null==xe.invoice?null:xe.invoice.bolt12)&&""!==(null==xe.invoice?null:xe.invoice.bolt12)),h.xp6(1),h.Q6J("ngIf",!(null!=xe.invoice&&xe.invoice.bolt11||null!=xe.invoice&&xe.invoice.bolt12)),h.xp6(1),h.Q6J("ngIf",xe.screenSize===xe.screenSizeEnum.XS||xe.screenSize===xe.screenSizeEnum.SM),h.xp6(1),h.Q6J("ngIf",null==xe.invoice?null:xe.invoice.warning_capacity),h.xp6(4),h.Oqu(xe.screenSize===xe.screenSizeEnum.XS?"Amount":"Amount Requested"),h.xp6(2),h.hij(" ",h.lcZ(28,32,(null==xe.invoice?null:xe.invoice.amount_msat)/1e3||0)," Sats"),h.xp6(2),h.Q6J("ngIf",!(null!=xe.invoice&&xe.invoice.amount_msat)||"0"===(null==xe.invoice?null:xe.invoice.amount_msat)),h.xp6(5),h.Q6J("ngIf","paid"===(null==xe.invoice?null:xe.invoice.status)),h.xp6(1),h.Q6J("ngIf","paid"!==(null==xe.invoice?null:xe.invoice.status)),h.xp6(7),h.Oqu(h.xi3(43,34,1e3*(null==xe.invoice?null:xe.invoice.expires_at),"dd/MMM/y HH:mm")),h.xp6(6),h.Oqu(h.xi3(49,37,1e3*(null==xe.invoice?null:xe.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),h.xp6(8),h.Oqu((null==xe.invoice?null:xe.invoice.description)||"-"),h.xp6(5),h.hij("",null!=xe.invoice&&xe.invoice.bolt12?"Bolt12":null!=xe.invoice&&xe.invoice.bolt11&&!xe.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),h.xp6(2),h.Oqu((null==xe.invoice?null:xe.invoice.bolt11)||(null==xe.invoice?null:xe.invoice.bolt12)),h.xp6(1),h.Q6J("ngIf",xe.showAdvanced),h.xp6(1),h.Q6J("ngClass",h.WLB(46,Ze,!xe.showAdvanced,xe.showAdvanced)),h.xp6(2),h.Q6J("ngIf",!xe.showAdvanced)("ngIfElse",vt),h.xp6(3),h.Q6J("ngIf",(null==xe.invoice?null:xe.invoice.bolt11)&&""!==(null==xe.invoice?null:xe.invoice.bolt11)||(null==xe.invoice?null:xe.invoice.bolt12)&&""!==(null==xe.invoice?null:xe.invoice.bolt12)),h.xp6(1),h.Q6J("ngIf",!(null!=xe.invoice&&xe.invoice.bolt11||null!=xe.invoice&&xe.invoice.bolt12))}},dependencies:[I.mk,I.sg,I.O5,k.BN,O.xw,O.Wh,O.yH,U.oO,Z.lW,W.dn,W.dk,K.d,q.Ou,te.gM,pe.uU,oe.y,re.h,I.JJ,I.uU]}),fe})()},1462:(Be,Q,m)=>{"use strict";m.d(Q,{k:()=>Y});var t=m(5412),e=m(2687),g=m(7579),A=m(2722),s=m(7731),C=m(4650),h=m(5043),P=m(62),d=m(7009),M=m(8104),w=m(6895),I=m(2216),k=m(1576),O=m(5829),U=m(4859),Z=m(3546),W=m(4850),K=m(658),q=m(5199),te=m(3390);function pe(Te,$e){if(1&Te&&C._UZ(0,"qr-code",28),2&Te){const Ve=C.oxw();C.Q6J("value",null==Ve.offer?null:Ve.offer.bolt12)("size",Ve.qrWidth)("errorCorrectionLevel","L")}}function oe(Te,$e){1&Te&&(C.TgZ(0,"span",29),C._uU(1,"N/A"),C.qZA())}function re(Te,$e){if(1&Te&&C._UZ(0,"qr-code",28),2&Te){const Ve=C.oxw();C.Q6J("value",null==Ve.offer?null:Ve.offer.bolt12)("size",Ve.qrWidth)("errorCorrectionLevel","L")}}function ce(Te,$e){1&Te&&(C.TgZ(0,"span",30),C._uU(1,"QR Code Not Applicable"),C.qZA())}function se(Te,$e){1&Te&&C._UZ(0,"mat-divider",31),2&Te&&C.Q6J("inset",!0)}function he(Te,$e){1&Te&&C._UZ(0,"mat-divider",19)}function S(Te,$e){if(1&Te&&(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&Te){const Ve=C.oxw(2);C.xp6(5),C.hij(" ",null!=Ve.offer&&Ve.offer.used?null!=Ve.offer&&Ve.offer.used?"Yes":"No":"N/K"," "),C.xp6(5),C.hij(" ",null!=Ve.offer&&Ve.offer.single_use?null!=Ve.offer&&Ve.offer.single_use?"Yes":"No":"N/K"," ")}}function i(Te,$e){1&Te&&C._UZ(0,"mat-divider",19)}function a(Te,$e){if(1&Te&&(C.TgZ(0,"div",15)(1,"div",20)(2,"h4",17),C._uU(3,"Issuer"),C.qZA(),C.TgZ(4,"span",34),C._uU(5),C.qZA()()()),2&Te){const Ve=C.oxw(2);C.xp6(5),C.Oqu(null==Ve.offerDecoded?null:Ve.offerDecoded.offer_issuer)}}function f(Te,$e){1&Te&&C._UZ(0,"mat-divider",19)}function l(Te,$e){if(1&Te&&(C.TgZ(0,"div",15)(1,"div",20)(2,"h4",17),C._uU(3,"Label"),C.qZA(),C.TgZ(4,"span",18),C._uU(5),C.qZA()()()),2&Te){const Ve=C.oxw(2);C.xp6(5),C.Oqu(Ve.offer.label)}}function y(Te,$e){if(1&Te&&(C.TgZ(0,"div"),C.YNc(1,he,1,0,"mat-divider",32),C.YNc(2,S,11,2,"div",33),C.YNc(3,i,1,0,"mat-divider",32),C.YNc(4,a,6,1,"div",33),C.YNc(5,f,1,0,"mat-divider",32),C.YNc(6,l,6,1,"div",33),C._UZ(7,"mat-divider",19),C.TgZ(8,"div",15)(9,"div",20)(10,"h4",17),C._uU(11,"Offer ID"),C.qZA(),C.TgZ(12,"span",18),C._uU(13),C.qZA()()(),C._UZ(14,"mat-divider",19),C.TgZ(15,"div",15)(16,"div",20)(17,"h4",17),C._uU(18,"Offer Node ID"),C.qZA(),C.TgZ(19,"span",18),C._uU(20),C.qZA()()(),C._UZ(21,"mat-divider",19),C.qZA()),2&Te){const Ve=C.oxw();C.xp6(1),C.Q6J("ngIf",(null==Ve.offer?null:Ve.offer.used)||(null==Ve.offer?null:Ve.offer.single_use)),C.xp6(1),C.Q6J("ngIf",(null==Ve.offer?null:Ve.offer.used)||(null==Ve.offer?null:Ve.offer.single_use)),C.xp6(1),C.Q6J("ngIf",null==Ve.offerDecoded?null:Ve.offerDecoded.issuer),C.xp6(1),C.Q6J("ngIf",null==Ve.offerDecoded?null:Ve.offerDecoded.issuer),C.xp6(1),C.Q6J("ngIf",Ve.offer.label),C.xp6(1),C.Q6J("ngIf",Ve.offer.label),C.xp6(7),C.Oqu(Ve.offerDecoded.offer_id),C.xp6(7),C.Oqu(null==Ve.offerDecoded?null:Ve.offerDecoded.offer_node_id)}}function E(Te,$e){1&Te&&(C.TgZ(0,"p"),C._uU(1,"Show Advanced"),C.qZA())}function D(Te,$e){1&Te&&(C.TgZ(0,"p"),C._uU(1,"Hide Advanced"),C.qZA())}function v(Te,$e){if(1&Te){const Ve=C.EpF();C.TgZ(0,"button",35),C.NdJ("copied",function(Re){C.CHM(Ve);const we=C.oxw();return C.KtG(we.onCopyOffer(Re))}),C._uU(1,"Copy Offer"),C.qZA()}if(2&Te){const Ve=C.oxw();C.Q6J("payload",null==Ve.offer?null:Ve.offer.bolt12)}}function n(Te,$e){if(1&Te){const Ve=C.EpF();C.TgZ(0,"button",36),C.NdJ("click",function(){C.CHM(Ve);const Re=C.oxw();return C.KtG(Re.onClose())}),C._uU(1,"OK"),C.qZA()}}const b=function(Te){return{"display-none":Te}},V=function(Te){return{"xs-scroll-y":Te}},z=function(Te,$e){return{"mt-2":Te,"mt-1":$e}};let Y=(()=>{class Te{constructor(Ve,We,Re,we,me,Ae){this.dialogRef=Ve,this.data=We,this.logger=Re,this.commonService=we,this.snackBar=me,this.dataService=Ae,this.faReceipt=e.dLy,this.faExclamationTriangle=e.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.offerDecoded={},this.qrWidth=240,this.screenSize="",this.screenSizeEnum=s.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===s.cu.XS&&(this.qrWidth=220),this.dataService.decodePayment(this.offer.bolt12,!0).pipe((0,A.R)(this.unSubs[1])).subscribe(Ve=>{this.offerDecoded=Ve,this.offerDecoded.offer_id&&!this.offerDecoded.offer_amount_msat&&(this.offerDecoded.offer_amount_msat=0)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyOffer(Ve){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+Ve)}ngOnDestroy(){this.unSubs.forEach(Ve=>{Ve.next(null),Ve.complete()})}}return Te.\u0275fac=function(Ve){return new(Ve||Te)(C.Y36(t.so),C.Y36(t.WI),C.Y36(h.mQ),C.Y36(P.v),C.Y36(d.ux),C.Y36(M.D))},Te.\u0275cmp=C.Xpm({type:Te,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(Ve,We){if(1&Ve&&(C.TgZ(0,"div",0)(1,"div",1),C.YNc(2,pe,1,3,"qr-code",2),C.YNc(3,oe,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 We.onClose()}),C._uU(11,"X"),C.qZA()(),C.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),C.YNc(15,re,1,3,"qr-code",2),C.YNc(16,ce,2,0,"span",13),C.qZA(),C.YNc(17,se,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,"Valid"),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"),C.qZA(),C.TgZ(42,"span",18),C._uU(43),C.qZA()()(),C.YNc(44,y,22,8,"div",21),C.TgZ(45,"div",22)(46,"button",23),C.NdJ("click",function(){return We.onShowAdvanced()}),C.YNc(47,E,2,0,"p",24),C.YNc(48,D,2,0,"ng-template",null,25,C.W1O),C.qZA(),C.YNc(50,v,2,1,"button",26),C.YNc(51,n,2,0,"button",27),C.qZA()()()()()),2&Ve){const Re=C.MAs(49);C.xp6(1),C.Q6J("fxLayoutAlign",null!=We.offer&&We.offer.bolt12&&""!==(null==We.offer?null:We.offer.bolt12)?"center start":"center center")("ngClass",C.VKq(24,b,We.screenSize===We.screenSizeEnum.XS||We.screenSize===We.screenSizeEnum.SM)),C.xp6(1),C.Q6J("ngIf",(null==We.offer?null:We.offer.bolt12)&&""!==(null==We.offer?null:We.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=We.offer&&We.offer.bolt12)||""===(null==We.offer?null:We.offer.bolt12)),C.xp6(4),C.Q6J("icon",We.faReceipt),C.xp6(2),C.Oqu(We.screenSize===We.screenSizeEnum.XS?We.newlyAdded?"Created":"Offer":We.newlyAdded?"Offer Created":"Offer Information"),C.xp6(3),C.Q6J("ngClass",C.VKq(26,V,We.screenSize===We.screenSizeEnum.XS)),C.xp6(2),C.Q6J("fxLayoutAlign",null!=We.offer&&We.offer.bolt12&&""!==(null==We.offer?null:We.offer.bolt12)?"center start":"center center")("ngClass",C.VKq(28,b,We.screenSize!==We.screenSizeEnum.XS&&We.screenSize!==We.screenSizeEnum.SM)),C.xp6(1),C.Q6J("ngIf",(null==We.offer?null:We.offer.bolt12)&&""!==(null==We.offer?null:We.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=We.offer&&We.offer.bolt12)||""===(null==We.offer?null:We.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",We.screenSize===We.screenSizeEnum.XS||We.screenSize===We.screenSizeEnum.SM),C.xp6(6),C.hij(" ",null!=We.offerDecoded&&We.offerDecoded.offer_amount_msat&&0!==(null==We.offerDecoded?null:We.offerDecoded.offer_amount_msat)?C.lcZ(24,22,(null==We.offerDecoded?null:We.offerDecoded.offer_amount_msat)/1e3):"Open Offer"," "),C.xp6(6),C.hij(" ",null!=We.offerDecoded&&We.offerDecoded.valid?null!=We.offerDecoded&&We.offerDecoded.valid?"Yes":"No":"N/K"," "),C.xp6(7),C.hij(" ",null==We.offerDecoded?null:We.offerDecoded.offer_description," "),C.xp6(7),C.Oqu(null==We.offer?null:We.offer.bolt12),C.xp6(1),C.Q6J("ngIf",We.showAdvanced),C.xp6(1),C.Q6J("ngClass",C.WLB(30,z,!We.showAdvanced,We.showAdvanced)),C.xp6(2),C.Q6J("ngIf",!We.showAdvanced)("ngIfElse",Re),C.xp6(3),C.Q6J("ngIf",(null==We.offer?null:We.offer.bolt12)&&""!==(null==We.offer?null:We.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=We.offer&&We.offer.bolt12)||""===(null==We.offer?null:We.offer.bolt12))}},dependencies:[w.mk,w.O5,I.BN,k.xw,k.Wh,k.yH,O.oO,U.lW,Z.dn,Z.dk,W.d,K.uU,q.y,te.h,w.JJ]}),Te})()},2994:(Be,Q,m)=>{"use strict";m.d(Q,{$W:()=>pe,BL:()=>y,Bw:()=>K,CX:()=>M,DJ:()=>fe,EK:()=>S,El:()=>re,Fd:()=>A,GD:()=>he,HG:()=>te,HI:()=>v,Iy:()=>$e,Lf:()=>Te,Nr:()=>Re,OG:()=>E,On:()=>q,QZ:()=>g,RX:()=>I,SN:()=>w,Sf:()=>ee,TM:()=>z,TW:()=>U,UR:()=>k,WM:()=>We,WO:()=>n,YP:()=>me,YX:()=>f,Z$:()=>we,Z8:()=>oe,Zr:()=>s,_E:()=>i,aL:()=>Ae,cQ:()=>D,eF:()=>P,eN:()=>O,i:()=>Z,iL:()=>W,iz:()=>d,kL:()=>b,mC:()=>Y,n7:()=>Ze,oV:()=>V,pW:()=>l,pd:()=>h,ti:()=>Se,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)()),s=(0,t.PH)(e.lr.SET_CHILD_NODE_SETTINGS_ECL,(0,t.Ky)()),C=(0,t.PH)(e.lr.FETCH_PAGE_SETTINGS_ECL),h=(0,t.PH)(e.lr.SET_PAGE_SETTINGS_ECL,(0,t.Ky)()),P=(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),I=(0,t.PH)(e.lr.SET_FEES_ECL,(0,t.Ky)()),k=(0,t.PH)(e.lr.FETCH_CHANNELS_ECL,(0,t.Ky)()),O=(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)()),W=(0,t.PH)(e.lr.FETCH_ONCHAIN_BALANCE_ECL),K=(0,t.PH)(e.lr.SET_ONCHAIN_BALANCE_ECL,(0,t.Ky)()),q=(0,t.PH)(e.lr.SET_LIGHTNING_BALANCE_ECL,(0,t.Ky)()),te=(0,t.PH)(e.lr.SET_CHANNELS_STATUS_ECL,(0,t.Ky)()),pe=(0,t.PH)(e.lr.FETCH_PEERS_ECL),oe=(0,t.PH)(e.lr.SET_PEERS_ECL,(0,t.Ky)()),re=(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)())),S=(0,t.PH)(e.lr.REMOVE_PEER_ECL,(0,t.Ky)()),i=(0,t.PH)(e.lr.GET_NEW_ADDRESS_ECL),f=((0,t.PH)(e.lr.SET_NEW_ADDRESS_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.SAVE_NEW_CHANNEL_ECL,(0,t.Ky)())),l=(0,t.PH)(e.lr.UPDATE_CHANNEL_ECL,(0,t.Ky)()),y=(0,t.PH)(e.lr.CLOSE_CHANNEL_ECL,(0,t.Ky)()),E=(0,t.PH)(e.lr.REMOVE_CHANNEL_ECL,(0,t.Ky)()),D=(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)()),V=(0,t.PH)(e.lr.SEND_PAYMENT_ECL,(0,t.Ky)()),z=(0,t.PH)(e.lr.SEND_PAYMENT_STATUS_ECL,(0,t.Ky)()),Y=(0,t.PH)(e.lr.FETCH_TRANSACTIONS_ECL),Te=(0,t.PH)(e.lr.SET_TRANSACTIONS_ECL,(0,t.Ky)()),$e=(0,t.PH)(e.lr.SEND_ONCHAIN_FUNDS_ECL,(0,t.Ky)()),We=((0,t.PH)(e.lr.SEND_ONCHAIN_FUNDS_RES_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.FETCH_INVOICES_ECL)),Re=(0,t.PH)(e.lr.SET_INVOICES_ECL,(0,t.Ky)()),we=(0,t.PH)(e.lr.CREATE_INVOICE_ECL,(0,t.Ky)()),me=(0,t.PH)(e.lr.ADD_INVOICE_ECL,(0,t.Ky)()),Ae=(0,t.PH)(e.lr.UPDATE_INVOICE_ECL,(0,t.Ky)()),ee=(0,t.PH)(e.lr.PEER_LOOKUP_ECL,(0,t.Ky)()),Ze=(0,t.PH)(e.lr.INVOICE_LOOKUP_ECL,(0,t.Ky)()),fe=((0,t.PH)(e.lr.SET_LOOKUP_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.UPDATE_CHANNEL_STATE_ECL,(0,t.Ky)())),Se=(0,t.PH)(e.lr.UPDATE_RELAYED_PAYMENT_ECL,(0,t.Ky)())},3289:(Be,Q,m)=>{"use strict";m.d(Q,{o:()=>re});var t=m(493),e=m(7579),g=m(9646),A=m(5577),s=m(2722),C=m(4004),h=m(262),P=m(1786),d=m(7731),M=m(7861),w=m(7766),I=m(2994),k=m(2501),O=m(4650),U=m(529),Z=m(9653),W=m(5986),K=m(62),q=m(5043),te=m(9116),pe=m(7998),oe=m(6895);let re=(()=>{class ce{constructor(he,S,i,a,f,l,y,E,D){this.actions=he,this.httpClient=S,this.store=i,this.sessionService=a,this.commonService=f,this.logger=l,this.router=y,this.wsService=E,this.location=D,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,I.QZ)({payload:{action:"FetchInfo",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.GETINFO_API).pipe((0,s.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,I.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,h.K)(n=>{const b=this.commonService.extractErrorCode(n),V=503===b?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(n);return this.router.navigate(["/error"],{state:{errorCode:b,errorMessage:V}}),this.handleErrorWithoutAlert("FetchInfo",d.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:b,error:V}),(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,I.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,I.QZ)({payload:{action:"FetchFees",status:d.Bn.COMPLETED}})),{type:d.lr.SET_FEES_ECL,payload:v||{}})),(0,h.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,I.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,I.QZ)({payload:{action:"FetchPayments",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAYMENTS_ECL,payload:v||{}})),(0,h.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,I.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,I.QZ)({payload:{action:"FetchChannels",status:d.Bn.COMPLETED}})),v.payload&&v.payload.fetchPayments&&this.store.dispatch((0,I.cQ)()),{type:d.pg.VOID})),(0,h.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,I.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,I.QZ)({payload:{action:"FetchOnchainBalance",status:d.Bn.COMPLETED}})),{type:d.lr.SET_ONCHAIN_BALANCE_ECL,payload:v||{}})),(0,h.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,I.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,I.QZ)({payload:{action:"FetchPeers",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PEERS_ECL,payload:v||[]})),(0,h.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,h.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,I.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,I.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,I.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,h.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,h.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,I.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,I.QZ)({payload:{action:"SaveNewChannel",status:d.Bn.COMPLETED}})),this.store.dispatch((0,I.$W)()),this.store.dispatch((0,I.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,h.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,h.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,I.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,h.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,h.K)(n=>(this.store.dispatch((0,I.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,I.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,h.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,I.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,I.QZ)({payload:{action:"FetchTransactions",status:d.Bn.COMPLETED}})),{type:d.lr.SET_TRANSACTIONS_ECL,payload:v||[]})),(0,h.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,I.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,I.QZ)({payload:{action:"SendOnchainFunds",status:d.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:d.m6.SEND_FUNDS})),this.store.dispatch((0,I.iL)()),{type:d.lr.SEND_ONCHAIN_FUNDS_RES_ECL,payload:n})),(0,h.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,I.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,I.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,h.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,I.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,I.QZ)({payload:{action:"FetchInvoices",status:d.Bn.COMPLETED}})),{type:d.lr.SET_INVOICES_ECL,payload:v})),(0,h.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,I.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,I.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,h.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,I.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,I.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:d.m6.SEARCHING_INVOICE})),this.store.dispatch((0,I.aL)({payload:n})),{type:d.lr.SET_LOOKUP_ECL,payload:n})),(0,h.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,I.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,I.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:v||[]})),(0,h.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,I.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,I.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,h.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,I.QZ)({payload:{action:"SendPayment",status:d.Bn.COMPLETED}})),this.store.dispatch((0,M.uO)({payload:d.m6.SEND_PAYMENT})),this.store.dispatch((0,I.TM)({payload:this.latestPaymentRes})),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,M.jW)({payload:v}))},this.store.select(k.yA).pipe((0,s.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,s.R)(this.unSubs[1])).subscribe(v=>{this.logger.info("Received new message from the service: "+JSON.stringify(v));let n="";if(v)switch(v.type){case d.$v.PAYMENT_SENT:v&&v.id&&this.latestPaymentRes===v.id&&(this.flgReceivedPaymentUpdateFromWS=!0,n="Payment Sent: "+(v.paymentHash?"with payment hash "+v.paymentHash:JSON.stringify(v)),this.handleSendPaymentStatus(n));break;case d.$v.PAYMENT_FAILED:v&&v.id&&this.latestPaymentRes===v.id&&(this.flgReceivedPaymentUpdateFromWS=!0,n="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(n));break;case d.$v.PAYMENT_RECEIVED:this.store.dispatch((0,I.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,I.ti)({payload:v}));break;case d.$v.CHANNEL_STATE_CHANGED:"NORMAL"===v.currentState||"CLOSED"===v.currentState?(this.rawChannelsList=this.rawChannelsList?.map(b=>(b.channelId===v.channelId&&b.nodeId===v.remoteNodeId&&(b.state=v.currentState),b)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,I.DJ)({payload:v}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(v))}})}setChannelsAndStatusAndBalances(){let he=0,S=0,i=0,a={localBalance:0,remoteBalance:0},f=[];const l=[],y=[],E={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((D,v)=>{D&&("NORMAL"===D.state?(he=(D.toLocal||0)+(D.toRemote||0),S+=D.toLocal||0,i+=D.toRemote||0,D.balancedness=0===he?1:+(1-Math.abs(((D.toLocal||0)-(D.toRemote||0))/he)).toFixed(3),f.push(D),E.active.channels=E.active.channels+1,E.active.capacity=E.active.capacity+(D.toLocal||0)):D.state?.includes("WAIT")||D.state?.includes("CLOSING")||D.state?.includes("SYNCING")?(D.state=D.state?.replace(/_/g," "),l.push(D),E.pending.channels=E.pending.channels+1,E.pending.capacity=E.pending.capacity+(D.toLocal||0)):(D.state=D.state?.replace(/_/g," "),y.push(D),E.inactive.channels=E.inactive.channels+1,E.inactive.capacity=E.inactive.capacity+(D.toLocal||0)))}),a={localBalance:S,remoteBalance:i},f=this.commonService.sortDescByKey(f,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(f)),this.logger.info("Pending Channels: "+JSON.stringify(l)),this.logger.info("Inactive Channels: "+JSON.stringify(y)),this.logger.info("Lightning Balances: "+JSON.stringify(a)),this.logger.info("Channels Status: "+JSON.stringify(E)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:f,pending:l,inactive:y,balances:a,status:E})),this.store.dispatch((0,I.eN)({payload:f})),this.store.dispatch((0,I.TW)({payload:l})),this.store.dispatch((0,I.i)({payload:y})),this.store.dispatch((0,I.On)({payload:a})),this.store.dispatch((0,I.HG)({payload:E}))}initializeRemainingData(he,S){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 a=this.location.path();a.includes("/lnd/")?a=a?.replace("/lnd/","/ecl/"):a.includes("/cln/")&&(a=a?.replace("/cln/","/ecl/")),(a.includes("/login")||a.includes("/error")||""===a||"HOME"===S||a.includes("?access-key="))&&(a="/ecl/home"),this.router.navigate([a]),this.store.dispatch((0,I.wD)()),this.store.dispatch((0,I.WM)()),this.store.dispatch((0,I.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,I.SN)()),this.store.dispatch((0,I.iL)()),this.store.dispatch((0,I.$W)())}handleErrorWithoutAlert(he,S,i,a){this.logger.error("ERROR IN: "+he+"\n"+JSON.stringify(a)),401===a.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:S})),this.store.dispatch((0,I.QZ)({payload:{action:he,status:d.Bn.ERROR,statusCode:a.status.toString(),message:this.commonService.extractErrorMessage(a,i)}})))}handleErrorWithAlert(he,S,i,a,f){if(this.logger.error(f),401===f.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:S}));const l=this.commonService.extractErrorMessage(f);this.store.dispatch((0,M.qR)({payload:{data:{type:"ERROR",alertTitle:i,message:{code:f.status,message:l,URL:a},component:P.H}}})),this.store.dispatch((0,I.QZ)({payload:{action:he,status:d.Bn.ERROR,statusCode:f.status.toString(),message:l,URL:a}}))}}ngOnDestroy(){this.unSubs.forEach(he=>{he.next(null),he.complete()})}}return ce.\u0275fac=function(he){return new(he||ce)(O.LFG(t.eX),O.LFG(U.eN),O.LFG(Z.yh),O.LFG(W.m),O.LFG(K.v),O.LFG(q.mQ),O.LFG(te.F0),O.LFG(pe.d),O.LFG(oe.Ye))},ce.\u0275prov=O.Yz7({token:ce,factory:ce.\u0275fac}),ce})()},2501:(Be,Q,m)=>{"use strict";m.d(Q,{Bo:()=>W,Ef:()=>Z,JG:()=>M,LR:()=>g,PP:()=>d,T$:()=>C,Xz:()=>O,dx:()=>U,kY:()=>K,nF:()=>A,yA:()=>P,yD:()=>s});var t=m(9653);const e=(0,t.ZF)("ecl"),g=(0,t.P1)(e,q=>q.nodeSettings),A=(0,t.P1)(e,q=>({pageSettings:q.pageSettings,apiCallStatus:q.apisCallStatus.FetchPageSettings})),s=(0,t.P1)(e,q=>q.information),C=(0,t.P1)(e,q=>({information:q.information,apiCallStatus:q.apisCallStatus.FetchInfo})),P=((0,t.P1)(e,q=>q.apisCallStatus.FetchInfo),(0,t.P1)(e,q=>q.apisCallStatus)),d=(0,t.P1)(e,q=>({payments:q.payments,apiCallStatus:q.apisCallStatus.FetchPayments})),M=(0,t.P1)(e,q=>({fees:q.fees,apiCallStatus:q.apisCallStatus.FetchFees})),O=((0,t.P1)(e,q=>({activeChannels:q.activeChannels,apiCallStatus:q.apisCallStatus.FetchChannels})),(0,t.P1)(e,q=>({pendingChannels:q.pendingChannels,apiCallStatus:q.apisCallStatus.FetchChannels})),(0,t.P1)(e,q=>({inactiveChannels:q.inactiveChannels,apiCallStatus:q.apisCallStatus.FetchChannels})),(0,t.P1)(e,q=>({activeChannels:q.activeChannels,pendingChannels:q.pendingChannels,inactiveChannels:q.inactiveChannels,lightningBalance:q.lightningBalance,channelsStatus:q.channelsStatus,apiCallStatus:q.apisCallStatus.FetchChannels}))),U=(0,t.P1)(e,q=>({transactions:q.transactions,apiCallStatus:q.apisCallStatus.FetchTransactions})),Z=(0,t.P1)(e,q=>({invoices:q.invoices,apiCallStatus:q.apisCallStatus.FetchInvoices})),W=(0,t.P1)(e,q=>({peers:q.peers,apiCallStatus:q.apisCallStatus.FetchPeers})),K=(0,t.P1)(e,q=>({onchainBalance:q.onchainBalance,apiCallStatus:q.apisCallStatus.FetchOnchainBalance}))},7766:(Be,Q,m)=>{"use strict";m.d(Q,{R:()=>Re});var t=m(5412),e=m(2687),g=m(7579),A=m(2722),s=m(7731),C=m(2501),h=m(4650),P=m(5043),d=m(62),M=m(7009),w=m(9653),I=m(6895),k=m(2216),O=m(1576),U=m(5829),Z=m(4859),W=m(3546),K=m(4850),q=m(1572),te=m(658),pe=m(5199),oe=m(3390);function re(we,me){if(1&we&&h._UZ(0,"qr-code",29),2&we){const Ae=h.oxw();h.Q6J("value",null==Ae.invoice?null:Ae.invoice.serialized)("size",Ae.qrWidth)("errorCorrectionLevel","L")}}function ce(we,me){1&we&&(h.TgZ(0,"span",30),h._uU(1,"N/A"),h.qZA())}function se(we,me){if(1&we&&h._UZ(0,"qr-code",29),2&we){const Ae=h.oxw();h.Q6J("value",null==Ae.invoice?null:Ae.invoice.serialized)("size",Ae.qrWidth)("errorCorrectionLevel","L")}}function he(we,me){1&we&&(h.TgZ(0,"span",31),h._uU(1,"QR Code Not Applicable"),h.qZA())}function S(we,me){1&we&&h._UZ(0,"mat-divider",32),2&we&&h.Q6J("inset",!0)}function i(we,me){1&we&&(h.ynx(0),h._uU(1," (zero amount) "),h.BQk())}function a(we,me){1&we&&h._UZ(0,"span",38)}const f=function(){return[]};function l(we,me){if(1&we&&(h.TgZ(0,"div",34)(1,"div",35)(2,"span",36),h._uU(3),h.ALo(4,"number"),h.qZA(),h.YNc(5,a,1,0,"span",37),h.qZA()()),2&we){const Ae=h.oxw(2);h.xp6(3),h.hij("",h.lcZ(4,2,null==Ae.invoice?null:Ae.invoice.amountSettled)," Sats"),h.xp6(2),h.Q6J("ngForOf",h.DdM(4,f).constructor(35))}}function y(we,me){if(1&we&&(h.TgZ(0,"div"),h._uU(1),h.ALo(2,"number"),h.qZA()),2&we){const Ae=h.oxw(2);h.xp6(1),h.hij("",h.lcZ(2,1,null==Ae.invoice?null:Ae.invoice.amountSettled)," Sats")}}function E(we,me){if(1&we&&(h.ynx(0),h.YNc(1,l,6,5,"div",33),h.YNc(2,y,3,3,"div",19),h.BQk()),2&we){const Ae=h.oxw();h.xp6(1),h.Q6J("ngIf",Ae.flgInvoicePaid),h.xp6(1),h.Q6J("ngIf",!Ae.flgInvoicePaid)}}function D(we,me){1&we&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function v(we,me){1&we&&h._UZ(0,"mat-spinner",40),2&we&&h.Q6J("diameter",20)}function n(we,me){if(1&we&&(h.ynx(0),h.YNc(1,D,2,0,"span",19),h.YNc(2,v,1,1,"mat-spinner",39),h.BQk()),2&we){const Ae=h.oxw();h.xp6(1),h.Q6J("ngIf","unpaid"!==(null==Ae.invoice?null:Ae.invoice.status)||!Ae.flgVersionCompatible),h.xp6(1),h.Q6J("ngIf","unpaid"===(null==Ae.invoice?null:Ae.invoice.status)&&Ae.flgVersionCompatible)}}function b(we,me){if(1&we&&(h.TgZ(0,"div"),h._UZ(1,"mat-divider",20),h.TgZ(2,"div",15)(3,"div",41)(4,"h4",17),h._uU(5,"Date Expiry"),h.qZA(),h.TgZ(6,"span",18),h._uU(7),h.ALo(8,"date"),h.qZA()(),h.TgZ(9,"div",42)(10,"h4",17),h._uU(11,"Date Settled"),h.qZA(),h.TgZ(12,"span",21),h._uU(13),h.ALo(14,"date"),h.qZA()()(),h._UZ(15,"mat-divider",20),h.TgZ(16,"div",15)(17,"div",22)(18,"h4",17),h._uU(19,"Payment Hash"),h.qZA(),h.TgZ(20,"span",21),h._uU(21),h.qZA()()(),h._UZ(22,"mat-divider",20),h.TgZ(23,"div",15)(24,"div",22)(25,"h4",17),h._uU(26,"Node ID"),h.qZA(),h.TgZ(27,"span",21),h._uU(28),h.qZA()()(),h._UZ(29,"mat-divider",20),h.qZA()),2&we){const Ae=h.oxw();h.xp6(7),h.Oqu(h.xi3(8,4,1e3*(null==Ae.invoice?null:Ae.invoice.expiresAt),"dd/MMM/y HH:mm")),h.xp6(6),h.Oqu(h.xi3(14,7,1e3*(null==Ae.invoice?null:Ae.invoice.receivedAt),"dd/MMM/y HH:mm")),h.xp6(8),h.Oqu(null==Ae.invoice?null:Ae.invoice.paymentHash),h.xp6(7),h.Oqu(null==Ae.invoice?null:Ae.invoice.nodeId)}}function V(we,me){1&we&&(h.TgZ(0,"p"),h._uU(1,"Show Advanced"),h.qZA())}function z(we,me){1&we&&(h.TgZ(0,"p"),h._uU(1,"Hide Advanced"),h.qZA())}function Y(we,me){if(1&we){const Ae=h.EpF();h.TgZ(0,"button",43),h.NdJ("copied",function(Ze){h.CHM(Ae);const Oe=h.oxw();return h.KtG(Oe.onCopyPayment(Ze))}),h._uU(1,"Copy Invoice"),h.qZA()}if(2&we){const Ae=h.oxw();h.Q6J("payload",null==Ae.invoice?null:Ae.invoice.serialized)}}function Te(we,me){if(1&we){const Ae=h.EpF();h.TgZ(0,"button",44),h.NdJ("click",function(){h.CHM(Ae);const Ze=h.oxw();return h.KtG(Ze.onClose())}),h._uU(1,"OK"),h.qZA()}}const $e=function(we){return{"display-none":we}},Ve=function(we){return{"xs-scroll-y":we}},We=function(we,me){return{"mt-2":we,"mt-1":me}};let Re=(()=>{class we{constructor(Ae,ee,Ze,Oe,fe,Se){this.dialogRef=Ae,this.data=ee,this.logger=Ze,this.commonService=Oe,this.snackBar=fe,this.store=Se,this.faReceipt=e.dLy,this.faExclamationTriangle=e.eHv,this.showAdvanced=!1,this.newlyAdded=!1,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=s.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===s.cu.XS&&(this.qrWidth=220),this.store.select(C.yD).pipe((0,A.R)(this.unSubs[0])).subscribe(Ae=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(Ae.version,"0.5.0")}),this.store.select(C.Ef).pipe((0,A.R)(this.unSubs[1])).subscribe(Ae=>{const ee=this.invoice.status,Oe=(Ae.invoices&&Ae.invoices.length>0?Ae.invoices:[])?.find(fe=>fe.paymentHash===this.invoice.paymentHash)||null;Oe&&(this.invoice=Oe),ee!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(Ae)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(Ae){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+Ae)}ngOnDestroy(){this.unSubs.forEach(Ae=>{Ae.next(null),Ae.complete()})}}return we.\u0275fac=function(Ae){return new(Ae||we)(h.Y36(t.so),h.Y36(t.WI),h.Y36(P.mQ),h.Y36(d.v),h.Y36(M.ux),h.Y36(w.yh))},we.\u0275cmp=h.Xpm({type:we,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(Ae,ee){if(1&Ae&&(h.TgZ(0,"div",0)(1,"div",1),h.YNc(2,re,1,3,"qr-code",2),h.YNc(3,ce,2,0,"span",3),h.qZA(),h.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),h._UZ(7,"fa-icon",7),h.TgZ(8,"span",8),h._uU(9),h.qZA()(),h.TgZ(10,"button",9),h.NdJ("click",function(){return ee.onClose()}),h._uU(11,"X"),h.qZA()(),h.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),h.YNc(15,se,1,3,"qr-code",2),h.YNc(16,he,2,0,"span",13),h.qZA(),h.YNc(17,S,1,1,"mat-divider",14),h.TgZ(18,"div",15)(19,"div",16)(20,"h4",17),h._uU(21,"Amount Requested"),h.qZA(),h.TgZ(22,"span",18),h._uU(23),h.ALo(24,"number"),h.YNc(25,i,2,0,"ng-container",19),h.qZA()(),h.TgZ(26,"div",16)(27,"h4",17),h._uU(28,"Amount Settled"),h.qZA(),h.TgZ(29,"span",18),h.YNc(30,E,3,2,"ng-container",19),h.YNc(31,n,3,2,"ng-container",19),h.qZA()()(),h._UZ(32,"mat-divider",20),h.TgZ(33,"div",15)(34,"div",16)(35,"h4",17),h._uU(36,"Date Created"),h.qZA(),h.TgZ(37,"span",21),h._uU(38),h.ALo(39,"date"),h.qZA()(),h.TgZ(40,"div",16)(41,"h4",17),h._uU(42,"Status"),h.qZA(),h.TgZ(43,"span",21),h._uU(44),h.ALo(45,"titlecase"),h.qZA()()(),h._UZ(46,"mat-divider",20),h.TgZ(47,"div",15)(48,"div",22)(49,"h4",17),h._uU(50,"Description"),h.qZA(),h.TgZ(51,"span",18),h._uU(52),h.qZA()()(),h._UZ(53,"mat-divider",20),h.TgZ(54,"div",15)(55,"div",22)(56,"h4",17),h._uU(57,"Invoice"),h.qZA(),h.TgZ(58,"span",21),h._uU(59),h.qZA()()(),h.YNc(60,b,30,10,"div",19),h.TgZ(61,"div",23)(62,"button",24),h.NdJ("click",function(){return ee.onShowAdvanced()}),h.YNc(63,V,2,0,"p",25),h.YNc(64,z,2,0,"ng-template",null,26,h.W1O),h.qZA(),h.YNc(66,Y,2,1,"button",27),h.YNc(67,Te,2,0,"button",28),h.qZA()()()()()),2&Ae){const Ze=h.MAs(65);h.xp6(1),h.Q6J("fxLayoutAlign",null!=ee.invoice&&ee.invoice.serialized&&""!==(null==ee.invoice?null:ee.invoice.serialized)?"center start":"center center")("ngClass",h.VKq(33,$e,ee.screenSize===ee.screenSizeEnum.XS||ee.screenSize===ee.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==ee.invoice?null:ee.invoice.serialized)&&""!==(null==ee.invoice?null:ee.invoice.serialized)),h.xp6(1),h.Q6J("ngIf",!(null!=ee.invoice&&ee.invoice.serialized)||""===(null==ee.invoice?null:ee.invoice.serialized)),h.xp6(4),h.Q6J("icon",ee.faReceipt),h.xp6(2),h.Oqu(ee.screenSize===ee.screenSizeEnum.XS?ee.newlyAdded?"Created":"Invoice":ee.newlyAdded?"Invoice Created":"Invoice Information"),h.xp6(3),h.Q6J("ngClass",h.VKq(35,Ve,ee.screenSize===ee.screenSizeEnum.XS)),h.xp6(2),h.Q6J("fxLayoutAlign",null!=ee.invoice&&ee.invoice.serialized&&""!==(null==ee.invoice?null:ee.invoice.serialized)?"center start":"center center")("ngClass",h.VKq(37,$e,ee.screenSize!==ee.screenSizeEnum.XS&&ee.screenSize!==ee.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==ee.invoice?null:ee.invoice.serialized)&&""!==(null==ee.invoice?null:ee.invoice.serialized)),h.xp6(1),h.Q6J("ngIf",!(null!=ee.invoice&&ee.invoice.serialized)||""===(null==ee.invoice?null:ee.invoice.serialized)),h.xp6(1),h.Q6J("ngIf",ee.screenSize===ee.screenSizeEnum.XS||ee.screenSize===ee.screenSizeEnum.SM),h.xp6(6),h.hij("",h.lcZ(24,26,(null==ee.invoice?null:ee.invoice.amount)||0)," Sats"),h.xp6(2),h.Q6J("ngIf",!(null!=ee.invoice&&ee.invoice.amount)||"0"===(null==ee.invoice?null:ee.invoice.amount)),h.xp6(5),h.Q6J("ngIf",null==ee.invoice?null:ee.invoice.amountSettled),h.xp6(1),h.Q6J("ngIf",!(null!=ee.invoice&&ee.invoice.amountSettled)),h.xp6(7),h.Oqu(h.xi3(39,28,1e3*(null==ee.invoice?null:ee.invoice.timestamp),"dd/MMM/y HH:mm")),h.xp6(6),h.Oqu(h.lcZ(45,31,null==ee.invoice?null:ee.invoice.status)),h.xp6(8),h.Oqu((null==ee.invoice?null:ee.invoice.description)||"-"),h.xp6(7),h.Oqu((null==ee.invoice?null:ee.invoice.serialized)||"N/A"),h.xp6(1),h.Q6J("ngIf",ee.showAdvanced),h.xp6(1),h.Q6J("ngClass",h.WLB(39,We,!ee.showAdvanced,ee.showAdvanced)),h.xp6(2),h.Q6J("ngIf",!ee.showAdvanced)("ngIfElse",Ze),h.xp6(3),h.Q6J("ngIf",(null==ee.invoice?null:ee.invoice.serialized)&&""!==(null==ee.invoice?null:ee.invoice.serialized)),h.xp6(1),h.Q6J("ngIf",!(null!=ee.invoice&&ee.invoice.serialized)||""===(null==ee.invoice?null:ee.invoice.serialized))}},dependencies:[I.mk,I.sg,I.O5,k.BN,O.xw,O.Wh,O.yH,U.oO,Z.lW,W.dn,W.dk,K.d,q.Ou,te.uU,pe.y,oe.h,I.JJ,I.rS,I.uU]}),we})()},6523:(Be,Q,m)=>{"use strict";m.d(Q,{$A:()=>Le,$W:()=>w,BL:()=>D,B_:()=>Te,Bl:()=>oe,CX:()=>M,Cp:()=>b,EK:()=>Z,El:()=>k,Fr:()=>Ut,HI:()=>Se,JT:()=>s,Jl:()=>re,Jo:()=>Ht,Lf:()=>ee,Ll:()=>A,Ly:()=>Ze,Nr:()=>Re,OG:()=>v,PC:()=>g,QJ:()=>Ye,RX:()=>pe,Rd:()=>W,Rv:()=>ce,SN:()=>te,Sf:()=>Qe,TW:()=>a,UH:()=>Oe,UR:()=>he,Vv:()=>n,WM:()=>We,WO:()=>zt,Wi:()=>je,YP:()=>q,YX:()=>E,Z7:()=>i,Z8:()=>I,Zh:()=>f,_E:()=>de,_L:()=>l,aL:()=>we,as:()=>S,cQ:()=>fe,dV:()=>vt,eF:()=>P,fu:()=>Nt,kL:()=>xt,ks:()=>se,mC:()=>Ae,n7:()=>J,oV:()=>ge,pW:()=>y,pd:()=>h,qY:()=>me,sQ:()=>d,tb:()=>Y,u0:()=>nt,vV:()=>$e,wD:()=>C,xG:()=>ye,y2:()=>at,yZ:()=>mt,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)()),s=(0,t.PH)(e.uR.SET_CHILD_NODE_SETTINGS_LND,(0,t.Ky)()),C=(0,t.PH)(e.uR.FETCH_PAGE_SETTINGS_LND),h=(0,t.PH)(e.uR.SET_PAGE_SETTINGS_LND,(0,t.Ky)()),P=(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),I=(0,t.PH)(e.uR.SET_PEERS_LND,(0,t.Ky)()),k=(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)()),W=(0,t.PH)(e.uR.SAVE_NEW_INVOICE_LND,(0,t.Ky)()),q=((0,t.PH)(e.uR.NEWLY_SAVED_INVOICE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.ADD_INVOICE_LND,(0,t.Ky)())),te=(0,t.PH)(e.uR.FETCH_FEES_LND),pe=(0,t.PH)(e.uR.SET_FEES_LND,(0,t.Ky)()),oe=(0,t.PH)(e.uR.FETCH_BLOCKCHAIN_BALANCE_LND),re=(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),S=(0,t.PH)(e.uR.SET_CHANNELS_LND,(0,t.Ky)()),i=(0,t.PH)(e.uR.FETCH_PENDING_CHANNELS_LND),a=(0,t.PH)(e.uR.SET_PENDING_CHANNELS_LND,(0,t.Ky)()),f=(0,t.PH)(e.uR.FETCH_CLOSED_CHANNELS_LND),l=(0,t.PH)(e.uR.SET_CLOSED_CHANNELS_LND,(0,t.Ky)()),y=(0,t.PH)(e.uR.UPDATE_CHANNEL_LND,(0,t.Ky)()),E=(0,t.PH)(e.uR.SAVE_NEW_CHANNEL_LND,(0,t.Ky)()),D=(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)()),Y=((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)),Te=(0,t.PH)(e.uR.SET_RESTORE_CHANNELS_LIST_LND,(0,t.Ky)()),$e=(0,t.PH)(e.uR.RESTORE_CHANNELS_LND,(0,t.Ky)()),We=((0,t.PH)(e.uR.RESTORE_CHANNELS_RES_LND,(0,t.Ky)()),(0,t.PH)(e.uR.FETCH_INVOICES_LND,(0,t.Ky)())),Re=(0,t.PH)(e.uR.SET_INVOICES_LND,(0,t.Ky)()),we=(0,t.PH)(e.uR.UPDATE_INVOICE_LND,(0,t.Ky)()),me=(0,t.PH)(e.uR.UPDATE_PAYMENT_LND,(0,t.Ky)()),Ae=(0,t.PH)(e.uR.FETCH_TRANSACTIONS_LND),ee=(0,t.PH)(e.uR.SET_TRANSACTIONS_LND,(0,t.Ky)()),Ze=(0,t.PH)(e.uR.FETCH_UTXOS_LND),Oe=(0,t.PH)(e.uR.SET_UTXOS_LND,(0,t.Ky)()),fe=(0,t.PH)(e.uR.FETCH_PAYMENTS_LND,(0,t.Ky)()),Se=(0,t.PH)(e.uR.SET_PAYMENTS_LND,(0,t.Ky)()),ge=(0,t.PH)(e.uR.SEND_PAYMENT_LND,(0,t.Ky)()),vt=((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)())),je=((0,t.PH)(e.uR.SET_NEW_ADDRESS_LND,(0,t.Ky)()),(0,t.PH)(e.uR.SET_CHANNEL_TRANSACTION_LND,(0,t.Ky)())),Nt=((0,t.PH)(e.uR.SET_CHANNEL_TRANSACTION_RES_LND,(0,t.Ky)()),(0,t.PH)(e.uR.GEN_SEED_LND,(0,t.Ky)())),at=((0,t.PH)(e.uR.GEN_SEED_RESPONSE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.INIT_WALLET_LND,(0,t.Ky)())),ye=((0,t.PH)(e.uR.INIT_WALLET_RESPONSE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.UNLOCK_WALLET_LND,(0,t.Ky)())),Qe=(0,t.PH)(e.uR.PEER_LOOKUP_LND,(0,t.Ky)()),Le=(0,t.PH)(e.uR.CHANNEL_LOOKUP_LND,(0,t.Ky)()),J=(0,t.PH)(e.uR.INVOICE_LOOKUP_LND,(0,t.Ky)()),mt=(0,t.PH)(e.uR.PAYMENT_LOOKUP_LND,(0,t.Ky)()),nt=((0,t.PH)(e.uR.SET_LOOKUP_LND,(0,t.Ky)()),(0,t.PH)(e.uR.GET_FORWARDING_HISTORY_LND,(0,t.Ky)())),Ye=(0,t.PH)(e.uR.SET_FORWARDING_HISTORY_LND,(0,t.Ky)()),zt=(0,t.PH)(e.uR.GET_QUERY_ROUTES_LND,(0,t.Ky)()),xt=(0,t.PH)(e.uR.SET_QUERY_ROUTES_LND,(0,t.Ky)()),Ht=(0,t.PH)(e.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),Ut=(0,t.PH)(e.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,t.Ky)())},711:(Be,Q,m)=>{"use strict";m.d(Q,{l:()=>se});var t=m(493),e=m(7579),g=m(9646),A=m(5577),s=m(2722),C=m(4004),h=m(262),P=m(1365),d=m(8627),M=m(1786),w=m(7731),I=m(7861),k=m(6523),O=m(6529),U=m(4650),Z=m(529),W=m(9653),K=m(5043),q=m(62),te=m(5986),pe=m(5412),oe=m(9116),re=m(7998),ce=m(6895);let se=(()=>{class he{constructor(i,a,f,l,y,E,D,v,n,b){this.actions=i,this.httpClient=a,this.store=f,this.logger=l,this.commonService=y,this.sessionService=E,this.dialog=D,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)(V=>(this.flgInitialized=!1,this.store.dispatch((0,I.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.ac)({payload:w.m6.GET_NODE_INFO})),this.store.dispatch((0,k.PC)({payload:{action:"FetchInfo",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.GETINFO_API).pipe((0,s.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,k.PC)({payload:{action:"FetchInfo",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.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,V.payload.loadPage),this.store.dispatch((0,k.PC)({payload:{action:"FetchInfo",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),{type:w.uR.SET_INFO_LND,payload:z||{}}):(this.store.dispatch((0,k.PC)({payload:{action:"FetchInfo",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.ts)()),this.sessionService.removeItem("lndUnlocked"),this.logger.info("Redirecting to Unlock"),this.router.navigate(["/lnd/wallet"]),{type:w.uR.SET_INFO_LND,payload:{}}))),(0,h.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,k.sQ)({payload:{loadPage:"HOME"}}))},2e3);else{const Y=this.commonService.extractErrorCode(z),Te=503===Y?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(z);this.router.navigate(["/error"],{state:{errorCode:Y,errorMessage:Te}}),this.handleErrorWithoutAlert("FetchInfo",w.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:Y,error:Te})}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,k.PC)({payload:{action:"FetchPeers",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.PEERS_API).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,k.PC)({payload:{action:"FetchPeers",status:w.Bn.COMPLETED}})),{type:w.uR.SET_PEERS_LND,payload:V||[]})),(0,h.K)(V=>(this.handleErrorWithoutAlert("FetchPeers",w.m6.NO_SPINNER,"Fetching Peers Failed.",V),(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)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.CONNECT_PEER})),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewPeer",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.PEERS_API,{pubkey:V.payload.pubkey,host:V.payload.host,perm:V.payload.perm}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewPeer",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:w.m6.CONNECT_PEER})),this.store.dispatch((0,k.Z8)({payload:z||[]})),{type:w.uR.NEWLY_ADDED_PEER_LND,payload:{peer:z[0]}})),(0,h.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)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+w.vv.PEERS_API+"/"+V.payload.pubkey).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.uO)({payload:w.m6.DISCONNECT_PEER})),this.store.dispatch((0,I.jW)({payload:"Peer Disconnected Successfully."})),{type:w.uR.REMOVE_PEER_LND,payload:{pubkey:V.payload.pubkey}})),(0,h.K)(z=>(this.handleErrorWithAlert("DetachPeer",w.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+w.vv.PEERS_API+"/"+V.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)(V=>(this.store.dispatch((0,I.ac)({payload:V.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewInvoice",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.INVOICES_API,{memo:V.payload.memo,value:V.payload.value,private:V.payload.private,expiry:V.payload.expiry,is_amp:V.payload.is_amp}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewInvoice",status:w.Bn.COMPLETED}})),this.store.dispatch((0,k.WM)({payload:{num_max_invoices:V.payload.pageSize,reversed:!0}})),V.payload.openModal?(z.memo=V.payload.memo,z.value=V.payload.value,z.expiry=V.payload.expiry,z.private=V.payload.private,z.is_amp=V.payload.is_amp,z.cltv_expiry="144",z.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,I.qR)({payload:{data:{invoice:z,newlyAdded:!0,component:d.v}}}))},200),{type:w.pg.CLOSE_SPINNER,payload:V.payload.uiMessage}):{type:w.uR.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:z.payment_request}})),(0,h.K)(z=>(this.handleErrorWithoutAlert("SaveNewInvoice",V.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)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.OPEN_CHANNEL})),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewChannel",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_API,{node_pubkey:V.payload.selectedPeerPubkey,local_funding_amount:V.payload.fundingAmount,private:V.payload.private,trans_type:V.payload.transType,trans_type_value:V.payload.transTypeValue,spend_unconfirmed:V.payload.spendUnconfirmed}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,k.PC)({payload:{action:"SaveNewChannel",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:w.m6.OPEN_CHANNEL})),this.store.dispatch((0,k.Bl)()),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.Vv)({payload:{uiMessage:w.m6.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:w.uR.FETCH_PENDING_CHANNELS_LND})),(0,h.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)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_API+"/chanPolicy",{baseFeeMsat:V.payload.baseFeeMsat,feeRate:V.payload.feeRate,timeLockDelta:V.payload.timeLockDelta,max_htlc_msat:V.payload.maxHtlcMsat,min_htlc_msat:V.payload.minHtlcMsat,chanPoint:V.payload.chanPoint}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.uO)({payload:w.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,I.jW)("all"===V.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:w.uR.FETCH_CHANNELS_LND})),(0,h.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)(V=>{this.store.dispatch((0,I.ac)({payload:V.payload.forcibly?w.m6.FORCE_CLOSE_CHANNEL:w.m6.CLOSE_CHANNEL}));let z=this.CHILD_API_URL+w.vv.CHANNELS_API+"/"+V.payload.channelPoint+"?force="+V.payload.forcibly;return V.payload.targetConf&&(z=z+"&target_conf="+V.payload.targetConf),V.payload.satPerByte&&(z=z+"&sat_per_byte="+V.payload.satPerByte),this.httpClient.delete(z).pipe((0,C.U)(Y=>(this.logger.info(Y),this.store.dispatch((0,I.uO)({payload:V.payload.forcibly?w.m6.FORCE_CLOSE_CHANNEL:w.m6.CLOSE_CHANNEL})),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.Z7)()),this.store.dispatch((0,k.Vv)({payload:{uiMessage:w.m6.NO_SPINNER,channelPoint:"ALL",showMessage:Y.message}})),{type:w.pg.VOID})),(0,h.K)(Y=>(this.handleErrorWithAlert("CloseChannel",V.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+"/"+V.payload.channelPoint+"?force="+V.payload.forcibly,Y),(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)(V=>(this.store.dispatch((0,I.ac)({payload:V.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"BackupChannels",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/"+V.payload.channelPoint).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,k.PC)({payload:{action:"BackupChannels",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:V.payload.uiMessage})),this.store.dispatch((0,I.jW)({payload:V.payload.showMessage+" "+z.message})),{type:w.uR.BACKUP_CHANNELS_RES_LND,payload:z.message})),(0,h.K)(z=>(this.handleErrorWithAlert("BackupChannels",V.payload.uiMessage,V.payload.showMessage+" Unable to Backup Channel. Try again later.",this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/"+V.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)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.VERIFY_CHANNEL})),this.store.dispatch((0,k.PC)({payload:{action:"VerifyChannel",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/verify/"+V.payload.channelPoint,{}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,k.PC)({payload:{action:"VerifyChannel",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:w.m6.VERIFY_CHANNEL})),this.store.dispatch((0,I.jW)({payload:z.message})),{type:w.uR.VERIFY_CHANNEL_RES_LND,payload:z.message})),(0,h.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/"+V.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)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.RESTORE_CHANNEL})),this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannels",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API+"/restore/"+V.payload.channelPoint,{}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannels",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:w.m6.RESTORE_CHANNEL})),this.store.dispatch((0,I.jW)({payload:z.message})),this.store.dispatch((0,k.B_)({payload:z.list})),{type:w.uR.RESTORE_CHANNELS_RES_LND,payload:z.message})),(0,h.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/"+V.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,k.PC)({payload:{action:"FetchFees",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.FEES_API))),(0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,k.PC)({payload:{action:"FetchFees",status:w.Bn.COMPLETED}})),V.forwarding_events_history&&(this.store.dispatch((0,k.QJ)({payload:V.forwarding_events_history})),delete V.forwarding_events_history),{type:w.uR.SET_FEES_LND,payload:V||{}})),(0,h.K)(V=>(this.handleErrorWithoutAlert("FetchFees",w.m6.NO_SPINNER,"Fetching Fees Failed.",V),(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,k.PC)({payload:{action:"FetchBalance",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.BALANCE_API))),(0,C.U)(V=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchBalance",status:w.Bn.COMPLETED}})),this.logger.info(V),{type:w.uR.SET_BLOCKCHAIN_BALANCE_LND,payload:V||{total_balance:""}})),(0,h.K)(V=>(this.handleErrorWithoutAlert("FetchBalance",w.m6.NO_SPINNER,"Fetching Blockchain Balance Failed.",V),(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,k.PC)({payload:{action:"FetchNetwork",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.NETWORK_API+"/info"))),(0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,k.PC)({payload:{action:"FetchNetwork",status:w.Bn.COMPLETED}})),{type:w.uR.SET_NETWORK_LND,payload:V||{}})),(0,h.K)(V=>(this.handleErrorWithoutAlert("FetchNetwork",w.m6.NO_SPINNER,"Fetching Network Failed.",V),(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,k.PC)({payload:{action:"FetchChannels",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.CHANNELS_API).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,k.PC)({payload:{action:"FetchChannels",status:w.Bn.COMPLETED}})),{type:w.uR.SET_CHANNELS_LND,payload:V.channels||[]})),(0,h.K)(V=>(this.handleErrorWithoutAlert("FetchChannels",w.m6.NO_SPINNER,"Fetching Channels Failed.",V),(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,k.PC)({payload:{action:"FetchPendingChannels",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.CHANNELS_API+"/pending").pipe((0,C.U)(V=>{this.logger.info(V),this.store.dispatch((0,k.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 V&&(z.total_limbo_balance=V.total_limbo_balance,V.pending_closing_channels&&(z.closing.num_channels=V.pending_closing_channels.length,z.total_channels=z.total_channels+V.pending_closing_channels.length,V.pending_closing_channels.forEach(Y=>{z.closing.limbo_balance=+z.closing.limbo_balance+(Y.channel.local_balance?+Y.channel.local_balance:0)})),V.pending_force_closing_channels&&(z.force_closing.num_channels=V.pending_force_closing_channels.length,z.total_channels=z.total_channels+V.pending_force_closing_channels.length,V.pending_force_closing_channels.forEach(Y=>{z.force_closing.limbo_balance=+z.force_closing.limbo_balance+(Y.channel.local_balance?+Y.channel.local_balance:0)})),V.pending_open_channels&&(z.open.num_channels=V.pending_open_channels.length,z.total_channels=z.total_channels+V.pending_open_channels.length,V.pending_open_channels.forEach(Y=>{z.open.limbo_balance=+z.open.limbo_balance+(Y.channel.local_balance?+Y.channel.local_balance:0)})),V.waiting_close_channels&&(z.waiting_close.num_channels=V.waiting_close_channels.length,z.total_channels=z.total_channels+V.waiting_close_channels.length,V.waiting_close_channels.forEach(Y=>{z.waiting_close.limbo_balance=+z.waiting_close.limbo_balance+(Y.channel.local_balance?+Y.channel.local_balance:0)}))),{type:w.uR.SET_PENDING_CHANNELS_LND,payload:V?{pendingChannels:V,pendingChannelsSummary:z}:{pendingChannels:{},pendingChannelsSummary:z}}}),(0,h.K)(V=>(this.handleErrorWithoutAlert("FetchPendingChannels",w.m6.NO_SPINNER,"Fetching Pending Channels Failed.",V),(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,k.PC)({payload:{action:"FetchClosedChannels",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.CHANNELS_API+"/closed").pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,k.PC)({payload:{action:"FetchClosedChannels",status:w.Bn.COMPLETED}})),{type:w.uR.SET_CLOSED_CHANNELS_LND,payload:V.channels||[]})),(0,h.K)(V=>(this.handleErrorWithoutAlert("FetchClosedChannels",w.m6.NO_SPINNER,"Fetching Closed Channels Failed.",V),(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)(V=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchInvoices",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.INVOICES_API+"?num_max_invoices="+(V.payload.num_max_invoices?V.payload.num_max_invoices:100)+"&index_offset="+(V.payload.index_offset?V.payload.index_offset:0)+"&reversed="+(!!V.payload.reversed&&V.payload.reversed)).pipe((0,C.U)($e=>(this.logger.info($e),this.store.dispatch((0,k.PC)({payload:{action:"FetchInvoices",status:w.Bn.COMPLETED}})),V.payload.reversed&&!V.payload.index_offset&&($e.total_invoices=+($e.last_index_offset||0)),{type:w.uR.SET_INVOICES_LND,payload:$e})),(0,h.K)($e=>(this.handleErrorWithoutAlert("FetchInvoices",w.m6.NO_SPINNER,"Fetching Invoices Failed.",$e),(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,k.PC)({payload:{action:"FetchTransactions",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.TRANSACTIONS_API))),(0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,k.PC)({payload:{action:"FetchTransactions",status:w.Bn.COMPLETED}})),{type:w.uR.SET_TRANSACTIONS_LND,payload:V||[]})),(0,h.K)(V=>(this.handleErrorWithoutAlert("FetchTransactions",w.m6.NO_SPINNER,"Fetching Transactions Failed.",V),(0,g.of)({type:w.pg.VOID}))))),this.utxosFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_UTXOS_LND),(0,P.M)(this.store.select(O.Q5)),(0,A.z)(([V,z])=>(this.store.dispatch((0,k.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)(V=>(this.logger.info(V),this.store.dispatch((0,k.PC)({payload:{action:"FetchUTXOs",status:w.Bn.COMPLETED}})),{type:w.uR.SET_UTXOS_LND,payload:V||[]})),(0,h.K)(V=>(this.handleErrorWithoutAlert("FetchUTXOs",w.m6.NO_SPINNER,"Fetching UTXOs Failed.",V),(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)(V=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchPayments",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.PAYMENTS_API+"?max_payments="+(V.payload.max_payments?V.payload.max_payments:100)+"&index_offset="+(V.payload.index_offset?V.payload.index_offset:0)+"&reversed="+(!!V.payload.reversed&&V.payload.reversed)).pipe((0,C.U)($e=>(this.logger.info($e),this.store.dispatch((0,k.PC)({payload:{action:"FetchPayments",status:w.Bn.COMPLETED}})),{type:w.uR.SET_PAYMENTS_LND,payload:$e})),(0,h.K)($e=>(this.handleErrorWithoutAlert("FetchPayments",w.m6.NO_SPINNER,"Fetching Payments Failed.",$e),(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)(V=>{this.store.dispatch((0,I.ac)({payload:V.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SendPayment",status:w.Bn.INITIATED}}));const z={};return z.paymentReq=V.payload.paymentReq,V.payload.paymentAmount&&(z.paymentAmount=V.payload.paymentAmount),V.payload.outgoingChannel&&(z.outgoingChannel=V.payload.outgoingChannel.chan_id),V.payload.allowSelfPayment&&(z.allowSelfPayment=V.payload.allowSelfPayment),V.payload.lastHopPubkey&&(z.lastHopPubkey=V.payload.lastHopPubkey),V.payload.feeLimitType&&V.payload.feeLimitType!==w.Vc[0].id&&(z.feeLimit={},z.feeLimit[V.payload.feeLimitType]=V.payload.feeLimit),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_API+"/transactions",z).pipe((0,C.U)(Y=>{if(this.logger.info(Y),this.store.dispatch((0,I.uO)({payload:V.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SendPayment",status:w.Bn.COMPLETED}})),Y.payment_error)return V.payload.allowSelfPayment?(this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),{type:w.uR.SEND_PAYMENT_STATUS_LND,payload:Y}):(V.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed.",Y.payment_error):this.handleErrorWithAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+w.vv.CHANNELS_API+"/transactions",Y.payment_error),{type:w.pg.VOID});if(this.store.dispatch((0,I.uO)({payload:V.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"SendPayment",status:w.Bn.COMPLETED}})),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.cQ)({payload:{max_payments:this.paymentsPageSize,reversed:!0}})),V.payload.allowSelfPayment)this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}}));else{let Te="Payment Sent Successfully.";Y.payment_route&&Y.payment_route.total_fees_msat&&(Te="Payment sent successfully with the total fee "+Y.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,I.jW)({payload:Te}))}return{type:w.uR.SEND_PAYMENT_STATUS_LND,payload:Y}}),(0,h.K)(Y=>(this.logger.error("Error: "+JSON.stringify(Y)),V.payload.allowSelfPayment?(this.handleErrorWithoutAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed.",Y),this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),(0,g.of)({type:w.uR.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(Y)}})):(V.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed.",Y):this.handleErrorWithAlert("SendPayment",V.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+w.vv.CHANNELS_API+"/transactions",Y),(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)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,k.PC)({payload:{action:"FetchGraphNode",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.NETWORK_API+"/node/"+V.payload.pubkey).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.uO)({payload:w.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,k.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,h.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)(V=>(this.logger.info(V.payload),V.payload))),{dispatch:!1}),this.getNewAddress=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GET_NEW_ADDRESS_LND),(0,A.z)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+w.vv.NEW_ADDRESS_API+"?type="+V.payload.addressId).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.uO)({payload:w.m6.GENERATE_NEW_ADDRESS})),{type:w.uR.SET_NEW_ADDRESS_LND,payload:z&&z.address?z.address:{}})),(0,h.K)(z=>(this.handleErrorWithAlert("GetNewAddress",w.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+w.vv.NEW_ADDRESS_API+"?type="+V.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)(V=>(this.logger.info(V.payload),V.payload))),{dispatch:!1}),this.SetChannelTransaction=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SET_CHANNEL_TRANSACTION_LND),(0,A.z)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.SEND_FUNDS})),this.store.dispatch((0,k.PC)({payload:{action:"SetChannelTransaction",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.TRANSACTIONS_API,{amount:V.payload.amount,address:V.payload.address,sendAll:V.payload.sendAll,fees:V.payload.fees,blocks:V.payload.blocks}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,k.PC)({payload:{action:"SetChannelTransaction",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:w.m6.SEND_FUNDS})),this.store.dispatch((0,k.mC)()),this.store.dispatch((0,k.Bl)()),this.store.dispatch((0,k.UR)()),{type:w.uR.SET_CHANNEL_TRANSACTION_RES_LND,payload:z})),(0,h.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)(V=>(this.store.dispatch((0,k.PC)({payload:{action:"FetchForwardingHistory",status:w.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+w.vv.SWITCH_API,{num_max_events:V.payload.num_max_events,index_offset:V.payload.index_offset,end_time:V.payload.end_time,start_time:V.payload.start_time}).pipe((0,C.U)(Y=>(this.logger.info(Y),this.store.dispatch((0,k.PC)({payload:{action:"FetchForwardingHistory",status:w.Bn.COMPLETED}})),{type:w.uR.SET_FORWARDING_HISTORY_LND,payload:Y})),(0,h.K)(Y=>(this.handleErrorWithAlert("FetchForwardingHistory",w.m6.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+w.vv.SWITCH_API,Y),(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)(V=>{let z=this.CHILD_API_URL+w.vv.NETWORK_API+"/routes/"+V.payload.destPubkey+"/"+V.payload.amount;return V.payload.outgoingChanId&&(z=z+"?outgoing_chan_id="+V.payload.outgoingChanId),this.httpClient.get(z).pipe((0,C.U)(Y=>(this.logger.info(Y),{type:w.uR.SET_QUERY_ROUTES_LND,payload:Y})),(0,h.K)(Y=>(this.store.dispatch((0,k.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",w.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+w.vv.NETWORK_API,Y),(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)(V=>V.payload)),{dispatch:!1}),this.genSeed=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GEN_SEED_LND),(0,A.z)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+w.vv.WALLET_API+"/genseed/"+V.payload).pipe((0,C.U)(z=>(this.logger.info("Generated GenSeed!"),this.logger.info(z),this.store.dispatch((0,I.uO)({payload:w.m6.GEN_SEED})),{type:w.uR.GEN_SEED_RESPONSE_LND,payload:z.cipher_seed_mnemonic})),(0,h.K)(z=>(this.handleErrorWithAlert("GenSeed",w.m6.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+w.vv.WALLET_API+"/genseed/"+V.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)(V=>(this.logger.info("Update Sel Node Successfull"),this.logger.info(V),{type:w.pg.VOID})),(0,h.K)(V=>(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",V),(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)(V=>V.payload)),{dispatch:!1}),this.initWalletRes=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.INIT_WALLET_RESPONSE_LND),(0,C.U)(V=>V.payload)),{dispatch:!1}),this.initWallet=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.INIT_WALLET_LND),(0,A.z)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.INITIALIZE_WALLET})),this.httpClient.post(this.CHILD_API_URL+w.vv.WALLET_API+"/wallet/initwallet",{wallet_password:V.payload.pwd,cipher_seed_mnemonic:V.payload.cipher?V.payload.cipher:"",aezeed_passphrase:V.payload.passphrase?V.payload.passphrase:""}).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.uO)({payload:w.m6.INITIALIZE_WALLET})),{type:w.uR.INIT_WALLET_RESPONSE_LND,payload:z})),(0,h.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)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.UNLOCK_WALLET})),this.httpClient.post(this.CHILD_API_URL+w.vv.WALLET_API+"/wallet/unlockwallet",{wallet_password:V.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,I.uO)({payload:w.m6.UNLOCK_WALLET})),this.store.dispatch((0,I.ac)({payload:w.m6.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,I.uO)({payload:w.m6.WAIT_SYNC_NODE})),this.store.dispatch((0,k.sQ)({payload:{loadPage:"HOME"}}))},5e3),{type:w.pg.VOID})),(0,h.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)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.SEARCHING_NODE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.NETWORK_API+"/node/"+V.payload).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.uO)({payload:w.m6.SEARCHING_NODE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),{type:w.uR.SET_LOOKUP_LND,payload:z})),(0,h.K)(z=>(this.handleErrorWithAlert("Lookup",w.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+w.vv.NETWORK_API+"/node/"+V.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)(V=>(this.store.dispatch((0,I.ac)({payload:V.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.NETWORK_API+"/edge/"+V.payload.channelID).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.uO)({payload:V.payload.uiMessage})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),{type:w.uR.SET_LOOKUP_LND,payload:z})),(0,h.K)(z=>(this.handleErrorWithAlert("Lookup",V.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+w.vv.NETWORK_API+"/edge/"+V.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)(V=>{this.store.dispatch((0,I.ac)({payload:w.m6.SEARCHING_INVOICE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:w.Bn.INITIATED}}));let z=this.CHILD_API_URL+w.vv.INVOICES_API+"/lookup";return z=V.payload.paymentAddress&&""!==V.payload.paymentAddress?z+"?payment_addr="+V.payload.paymentAddress:z+"?payment_hash="+V.payload.paymentHash,this.httpClient.get(z).pipe((0,C.U)(Y=>(this.logger.info(Y),this.store.dispatch((0,I.uO)({payload:w.m6.SEARCHING_INVOICE})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),this.store.dispatch((0,k.aL)({payload:Y})),{type:w.uR.SET_LOOKUP_LND,payload:Y})),(0,h.K)(Y=>(this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:w.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",w.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",Y),V.payload.openSnackBar&&this.store.dispatch((0,I.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,g.of)({type:w.uR.SET_LOOKUP_LND,payload:{error:Y}}))))}))),this.paymentLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.PAYMENT_LOOKUP_LND),(0,A.z)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.PAYMENTS_API+"/lookup/"+V.payload).pipe((0,C.U)(z=>(this.logger.info(z),this.store.dispatch((0,I.uO)({payload:w.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,k.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),this.store.dispatch((0,k.qY)({payload:z})),{type:w.uR.SET_LOOKUP_LND,payload:z})),(0,h.K)(z=>(this.store.dispatch((0,k.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)(V=>(this.logger.info(V.payload),V.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,k.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)(V=>(this.logger.info(V),this.store.dispatch((0,k.PC)({payload:{action:"RestoreChannelsList",status:w.Bn.COMPLETED}})),{type:w.uR.SET_RESTORE_CHANNELS_LIST_LND,payload:V||{all_restore_exists:!1,files:[]}})),(0,h.K)(V=>(this.handleErrorWithAlert("RestoreChannelsList",w.m6.NO_SPINNER,"Restore Channels List Failed",this.CHILD_API_URL+w.vv.CHANNELS_BACKUP_API,V),(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)(V=>(this.logger.info(V.payload),V.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,k.PC)({payload:{action:"FetchLightningTransactions",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.PAYMENTS_API+"/alltransactions").pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,k.PC)({payload:{action:"FetchLightningTransactions",status:w.Bn.COMPLETED}})),{type:w.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,payload:V})),(0,h.K)(V=>(this.handleErrorWithoutAlert("FetchLightningTransactions",w.m6.NO_SPINNER,"Fetching All Lightning Transaction Failed.",V),(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,k.PC)({payload:{action:"FetchPageSettings",status:w.Bn.INITIATED}})),this.httpClient.get(w.vv.PAGE_SETTINGS_API).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,k.PC)({payload:{action:"FetchPageSettings",status:w.Bn.COMPLETED}})),this.invoicesPageSize=(V&&Object.keys(V).length>0?V.find(z=>"transactions"===z.pageId)?.tables.find(z=>"invoices"===z.tableId):w.gK.find(z=>"transactions"===z.pageId)?.tables.find(z=>"invoices"===z.tableId)).recordsPerPage,this.paymentsPageSize=(V&&Object.keys(V).length>0?V.find(z=>"transactions"===z.pageId)?.tables.find(z=>"payments"===z.tableId):w.gK.find(z=>"transactions"===z.pageId)?.tables.find(z=>"payments"===z.tableId)).recordsPerPage,this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),{type:w.uR.SET_PAGE_SETTINGS_LND,payload:V||[]})),(0,h.K)(V=>(this.handleErrorWithoutAlert("FetchPageSettings",w.m6.NO_SPINNER,"Fetching Page Settings Failed.",V),(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)(V=>(this.store.dispatch((0,I.ac)({payload:w.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,k.PC)({payload:{action:"SavePageSettings",status:w.Bn.INITIATED}})),this.httpClient.post(w.vv.PAGE_SETTINGS_API,V.payload).pipe((0,C.U)(z=>{this.logger.info(z),this.store.dispatch((0,k.PC)({payload:{action:"SavePageSettings",status:w.Bn.COMPLETED}})),this.store.dispatch((0,I.uO)({payload:w.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,I.jW)({payload:"Page Layout Updated Successfully!"}));const Y=(z.find($e=>"transactions"===$e.pageId)?.tables.find($e=>"invoices"===$e.tableId)||w.gK.find($e=>"transactions"===$e.pageId)?.tables.find($e=>"invoices"===$e.tableId)).recordsPerPage,Te=(z.find($e=>"transactions"===$e.pageId)?.tables.find($e=>"payments"===$e.tableId)||w.gK.find($e=>"transactions"===$e.pageId)?.tables.find($e=>"payments"===$e.tableId)).recordsPerPage;return Y!==this.invoicesPageSize&&(this.invoicesPageSize=Y,this.store.dispatch((0,k.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}}))),Te!==this.paymentsPageSize&&(this.paymentsPageSize=Te),{type:w.uR.SET_PAGE_SETTINGS_LND,payload:z||[]}}),(0,h.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(O.yA).pipe((0,s.R)(this.unSubs[0])).subscribe(V=>{V.FetchInfo.status!==w.Bn.COMPLETED&&V.FetchInfo.status!==w.Bn.ERROR||V.FetchFees.status!==w.Bn.COMPLETED&&V.FetchFees.status!==w.Bn.ERROR||V.FetchBalanceBlockchain.status!==w.Bn.COMPLETED&&V.FetchBalanceBlockchain.status!==w.Bn.ERROR||V.FetchAllChannels.status!==w.Bn.COMPLETED&&V.FetchAllChannels.status!==w.Bn.ERROR||V.FetchPendingChannels.status!==w.Bn.COMPLETED&&V.FetchPendingChannels.status!==w.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,I.uO)({payload:w.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.lndWSMessages.pipe((0,s.R)(this.unSubs[1])).subscribe(V=>{this.logger.info("Received new message from the service: "+JSON.stringify(V)),V&&(V.type===w.g8.INVOICE?(this.logger.info(V),V&&V.result&&V.result.payment_request&&this.store.dispatch((0,k.aL)({payload:V.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(V)))})}initializeRemainingData(i,a){this.sessionService.setItem("lndUnlocked","true");const f={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,I.ac)({payload:w.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,I._V)({payload:f}));let l=this.location.path();l.includes("/cln/")?l=l?.replace("/cln/","/lnd/"):l.includes("/ecl/")&&(l=l?.replace("/ecl/","/lnd/")),(l.includes("/unlock")||l.includes("/login")||l.includes("/error")||""===l||"HOME"===a||l.includes("?access-key="))&&(l="/lnd/home"),this.router.navigate([l]),this.store.dispatch((0,k.wD)()),this.store.dispatch((0,k.Bl)()),this.store.dispatch((0,k.UR)()),this.store.dispatch((0,k.Z7)()),this.store.dispatch((0,k.Zh)()),this.store.dispatch((0,k.$W)()),this.store.dispatch((0,k.Rv)()),this.store.dispatch((0,k.SN)()),this.store.dispatch((0,k.cQ)({payload:{max_payments:1e5,reversed:!0}}))}handleErrorWithoutAlert(i,a,f,l){this.logger.error("ERROR IN: "+i+"\n"+JSON.stringify(l)),401===l.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.kS)()),this.store.dispatch((0,I.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,I.uO)({payload:a})),this.store.dispatch((0,k.PC)({payload:{action:i,status:w.Bn.ERROR,statusCode:l.status.toString(),message:this.commonService.extractErrorMessage(l,f)}})))}handleErrorWithAlert(i,a,f,l,y){if(this.logger.error(y),401===y.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,I.ts)()),this.store.dispatch((0,I.kS)()),this.store.dispatch((0,I.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,I.uO)({payload:a}));const E=this.commonService.extractErrorMessage(y);this.store.dispatch((0,I.qR)({payload:{data:{type:"ERROR",alertTitle:f,message:{code:y.status,message:E,URL:l},component:M.H}}})),this.store.dispatch((0,k.PC)({payload:{action:i,status:w.Bn.ERROR,statusCode:y.status.toString(),message:E,URL:l}}))}}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(W.yh),U.LFG(K.mQ),U.LFG(q.v),U.LFG(te.m),U.LFG(pe.uw),U.LFG(oe.F0),U.LFG(re.d),U.LFG(ce.Ye))},he.\u0275prov=U.Yz7({token:he,factory:he.\u0275fac}),he})()},6529:(Be,Q,m)=>{"use strict";m.d(Q,{$k:()=>g,Bo:()=>P,Ef:()=>k,JG:()=>M,N7:()=>pe,P2:()=>W,PP:()=>d,Pr:()=>A,Q5:()=>s,T4:()=>te,Wi:()=>w,ZW:()=>O,_f:()=>re,bx:()=>ce,dx:()=>I,l5:()=>oe,ni:()=>Z,qU:()=>K,yA:()=>h});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})),s=(0,t.P1)(e,se=>se.information),h=((0,t.P1)(e,se=>({information:se.information,apiCallStatus:se.apisCallStatus.FetchInfo})),(0,t.P1)(e,se=>se.apisCallStatus)),P=(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})),I=(0,t.P1)(e,se=>({transactions:se.transactions,apiCallStatus:se.apisCallStatus.FetchTransactions})),k=(0,t.P1)(e,se=>({listInvoices:se.listInvoices,apiCallStatus:se.apisCallStatus.FetchInvoices})),O=(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}))),W=(0,t.P1)(e,se=>({closedChannels:se.closedChannels,apiCallStatus:se.apisCallStatus.FetchClosedChannels})),K=(0,t.P1)(e,se=>({blockchainBalance:se.blockchainBalance,apiCallStatus:se.apisCallStatus.FetchBalanceBlockchain})),te=((0,t.P1)(e,se=>({lightningBalance:se.lightningBalance,apiCallStatus:se.apisCallStatus.FetchAllChannels})),(0,t.P1)(e,se=>({utxos:se.utxos,apiCallStatus:se.apisCallStatus.FetchUTXOs}))),pe=(0,t.P1)(e,se=>({networkInfo:se.networkInfo,apiCallStatus:se.apisCallStatus.FetchNetwork})),oe=(0,t.P1)(e,se=>({allLightningTransactions:se.allLightningTransactions,apiCallStatus:se.apisCallStatus.FetchLightningTransactions})),re=(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:(Be,Q,m)=>{"use strict";m.d(Q,{v:()=>rt});var t=m(5412),e=m(2687),g=m(7579),A=m(2722),s=m(7731),C=m(6529),h=m(4650),P=m(5043),d=m(62),M=m(7009),w=m(9653),I=m(6895),k=m(2216),O=m(1576),U=m(5829),Z=m(4859),W=m(3546),K=m(752),q=m(7392),te=m(4850),pe=m(1572),oe=m(266),re=m(658),ce=m(5199),se=m(3390);const he=["scrollContainer"];function S(je,lt){if(1&je&&h._UZ(0,"qr-code",33),2&je){const Nt=h.oxw();h.Q6J("value",null==Nt.invoice?null:Nt.invoice.payment_request)("size",Nt.qrWidth)("errorCorrectionLevel","L")}}function i(je,lt){1&je&&(h.TgZ(0,"span",34),h._uU(1,"N/A"),h.qZA())}function a(je,lt){if(1&je&&h._UZ(0,"qr-code",33),2&je){const Nt=h.oxw();h.Q6J("value",null==Nt.invoice?null:Nt.invoice.payment_request)("size",Nt.qrWidth)("errorCorrectionLevel","L")}}function f(je,lt){1&je&&(h.TgZ(0,"span",35),h._uU(1,"QR Code Not Applicable"),h.qZA())}function l(je,lt){1&je&&h._UZ(0,"mat-divider",22),2&je&&h.Q6J("inset",!0)}function y(je,lt){1&je&&(h.ynx(0),h._uU(1," (zero amount) "),h.BQk())}function E(je,lt){1&je&&h._UZ(0,"span",41)}const D=function(){return[]};function v(je,lt){if(1&je&&(h.TgZ(0,"div",37)(1,"div",38)(2,"span",39),h._uU(3),h.ALo(4,"number"),h.qZA(),h.YNc(5,E,1,0,"span",40),h.qZA()()),2&je){const Nt=h.oxw(2);h.xp6(3),h.hij("",h.lcZ(4,2,null==Nt.invoice?null:Nt.invoice.amt_paid_sat)," Sats"),h.xp6(2),h.Q6J("ngForOf",h.DdM(4,D).constructor(35))}}function n(je,lt){if(1&je&&(h.TgZ(0,"div"),h._uU(1),h.ALo(2,"number"),h.qZA()),2&je){const Nt=h.oxw(2);h.xp6(1),h.hij("",h.lcZ(2,1,null==Nt.invoice?null:Nt.invoice.amt_paid_sat)," Sats")}}function b(je,lt){if(1&je&&(h.ynx(0),h.YNc(1,v,6,5,"div",36),h.YNc(2,n,3,3,"div",21),h.BQk()),2&je){const Nt=h.oxw();h.xp6(1),h.Q6J("ngIf",Nt.flgInvoicePaid),h.xp6(1),h.Q6J("ngIf",!Nt.flgInvoicePaid)}}function V(je,lt){1&je&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function z(je,lt){1&je&&h._UZ(0,"mat-spinner",43),2&je&&h.Q6J("diameter",20)}function Y(je,lt){if(1&je&&(h.ynx(0),h.YNc(1,V,2,0,"span",21),h.YNc(2,z,1,1,"mat-spinner",42),h.BQk()),2&je){const Nt=h.oxw();h.xp6(1),h.Q6J("ngIf","OPEN"!==(null==Nt.invoice?null:Nt.invoice.state)||!Nt.flgVersionCompatible),h.xp6(1),h.Q6J("ngIf","OPEN"===(null==Nt.invoice?null:Nt.invoice.state)&&Nt.flgVersionCompatible)}}function Te(je,lt){1&je&&h.GkF(0)}function $e(je,lt){if(1&je&&(h.TgZ(0,"div"),h.YNc(1,Te,1,0,"ng-container",44),h.qZA()),2&je){h.oxw();const Nt=h.MAs(79);h.xp6(1),h.Q6J("ngTemplateOutlet",Nt)}}function Ve(je,lt){if(1&je){const Nt=h.EpF();h.TgZ(0,"div",45)(1,"button",46),h.NdJ("click",function(){h.CHM(Nt);const at=h.oxw();return h.KtG(at.onScrollDown())}),h.TgZ(2,"mat-icon",47),h._uU(3,"arrow_downward"),h.qZA()()()}}function We(je,lt){1&je&&(h.TgZ(0,"p"),h._uU(1,"Show Advanced"),h.qZA())}function Re(je,lt){1&je&&(h.TgZ(0,"p"),h._uU(1,"Hide Advanced"),h.qZA())}function we(je,lt){if(1&je){const Nt=h.EpF();h.TgZ(0,"button",48),h.NdJ("copied",function(at){h.CHM(Nt);const Ct=h.oxw();return h.KtG(Ct.onCopyPayment(at))}),h._uU(1),h.qZA()}if(2&je){const Nt=h.oxw();h.Q6J("payload",null==Nt.invoice?null:Nt.invoice.payment_request),h.xp6(1),h.Oqu(Nt.screenSize===Nt.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function me(je,lt){if(1&je){const Nt=h.EpF();h.TgZ(0,"button",49),h.NdJ("click",function(){h.CHM(Nt);const at=h.oxw();return h.KtG(at.onClose())}),h._uU(1,"OK"),h.qZA()}}const Ae=function(je){return{"mr-0":je}};function ee(je,lt){if(1&je&&h._UZ(0,"span",64),2&je){const Nt=h.oxw(4);h.Q6J("ngClass",h.VKq(1,Ae,Nt.screenSize===Nt.screenSizeEnum.XS))}}function Ze(je,lt){if(1&je&&h._UZ(0,"span",65),2&je){const Nt=h.oxw(4);h.Q6J("ngClass",h.VKq(1,Ae,Nt.screenSize===Nt.screenSizeEnum.XS))}}function Oe(je,lt){if(1&je&&h._UZ(0,"span",66),2&je){const Nt=h.oxw(4);h.Q6J("ngClass",h.VKq(1,Ae,Nt.screenSize===Nt.screenSizeEnum.XS))}}function fe(je,lt){if(1&je&&(h.TgZ(0,"div",53)(1,"div",58)(2,"span",59),h.YNc(3,ee,1,3,"span",60),h.YNc(4,Ze,1,3,"span",61),h.YNc(5,Oe,1,3,"span",62),h._uU(6),h.qZA(),h.TgZ(7,"span",63),h._uU(8),h.ALo(9,"number"),h.qZA()(),h._UZ(10,"mat-divider",22),h.qZA()),2&je){const Nt=lt.$implicit,Ke=h.oxw(3);h.xp6(3),h.Q6J("ngIf","SETTLED"===Nt.state),h.xp6(1),h.Q6J("ngIf","ACCEPTED"===Nt.state),h.xp6(1),h.Q6J("ngIf","CANCELED"===Nt.state),h.xp6(1),h.hij(" ",Nt.chan_id," "),h.xp6(2),h.Oqu(h.xi3(9,6,+Nt.amt_msat/1e3||0,Ke.getDecimalFormat(Nt))),h.xp6(2),h.Q6J("inset",!0)}}function Se(je,lt){if(1&je){const Nt=h.EpF();h.TgZ(0,"div",17)(1,"mat-expansion-panel",51),h.NdJ("opened",function(){h.CHM(Nt);const at=h.oxw(2);return h.KtG(at.flgOpened=!0)})("closed",function(){h.CHM(Nt);const at=h.oxw(2);return h.KtG(at.onExpansionClosed())}),h.TgZ(2,"mat-expansion-panel-header")(3,"mat-panel-title")(4,"h4",52),h._uU(5,"HTLCs"),h.qZA()()(),h.TgZ(6,"div",53)(7,"div",54)(8,"span",55),h._uU(9,"Channel ID"),h.qZA(),h.TgZ(10,"span",56),h._uU(11,"Amount (Sats)"),h.qZA()(),h._UZ(12,"mat-divider",22),h.YNc(13,fe,11,9,"div",57),h.qZA()()()}if(2&je){const Nt=h.oxw(2);h.xp6(12),h.Q6J("inset",!0),h.xp6(1),h.Q6J("ngForOf",null==Nt.invoice?null:Nt.invoice.htlcs)}}function ge(je,lt){1&je&&h._UZ(0,"mat-divider",22),2&je&&h.Q6J("inset",!0)}function xe(je,lt){if(1&je&&(h._UZ(0,"mat-divider",22),h.TgZ(1,"div",17)(2,"div",23)(3,"h4",19),h._uU(4,"Preimage"),h.qZA(),h.TgZ(5,"span",24),h._uU(6),h.qZA()()(),h._UZ(7,"mat-divider",22),h.TgZ(8,"div",17)(9,"div",18)(10,"h4",19),h._uU(11,"State"),h.qZA(),h.TgZ(12,"span",24),h._uU(13),h.qZA()(),h.TgZ(14,"div",18)(15,"h4",19),h._uU(16,"Expiry"),h.qZA(),h.TgZ(17,"span",24),h._uU(18),h.ALo(19,"date"),h.qZA()()(),h._UZ(20,"mat-divider",22),h.TgZ(21,"div",17)(22,"div",18)(23,"h4",19),h._uU(24,"Private Routing Hints"),h.qZA(),h.TgZ(25,"span",24),h._uU(26),h.qZA()(),h.TgZ(27,"div",18)(28,"h4",19),h._uU(29,"AMP Invoice"),h.qZA(),h.TgZ(30,"span",24),h._uU(31),h.qZA()()(),h._UZ(32,"mat-divider",22),h.YNc(33,Se,14,2,"div",50),h.YNc(34,ge,1,1,"mat-divider",14)),2&je){const Nt=h.oxw();h.Q6J("inset",!0),h.xp6(6),h.Oqu((null==Nt.invoice?null:Nt.invoice.r_preimage)||"-"),h.xp6(1),h.Q6J("inset",!0),h.xp6(6),h.Oqu(null==Nt.invoice?null:Nt.invoice.state),h.xp6(5),h.Oqu(h.xi3(19,11,1e3*(+(null==Nt.invoice?null:Nt.invoice.creation_date)+ +(null==Nt.invoice?null:Nt.invoice.expiry)),"dd/MMM/y HH:mm")),h.xp6(2),h.Q6J("inset",!0),h.xp6(6),h.Oqu(null!=Nt.invoice&&Nt.invoice.private?"Yes":"No"),h.xp6(5),h.Oqu(null!=Nt.invoice&&Nt.invoice.is_amp?"Yes":"No"),h.xp6(1),h.Q6J("inset",!0),h.xp6(1),h.Q6J("ngIf",(null==Nt.invoice?null:Nt.invoice.htlcs)&&(null==Nt.invoice?null:Nt.invoice.htlcs.length)>0),h.xp6(1),h.Q6J("ngIf",(null==Nt.invoice?null:Nt.invoice.htlcs)&&(null==Nt.invoice?null:Nt.invoice.htlcs.length)>0)}}const vt=function(je){return{"display-none":je}},Ie=function(je){return{"xs-scroll-y":je}},de=function(je){return{"h-50":je}};let rt=(()=>{class je{constructor(Nt,Ke,at,Ct,ye,Qe){this.dialogRef=Nt,this.data=Ke,this.logger=at,this.commonService=Ct,this.snackBar=ye,this.store=Qe,this.faReceipt=e.dLy,this.showAdvanced=!1,this.newlyAdded=!1,this.invoice=null,this.qrWidth=240,this.screenSize="",this.screenSizeEnum=s.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(Nt){Nt&&(this.scrollContainer=Nt)}ngOnInit(){this.invoice=JSON.parse(JSON.stringify(this.data.invoice)),this.newlyAdded=!!this.data.newlyAdded,this.screenSize=this.commonService.getScreenSize(),this.screenSize===s.cu.XS&&(this.qrWidth=220),this.store.select(C.Q5).pipe((0,A.R)(this.unSubs[0])).subscribe(Ke=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(Ke.version,"0.11.0")});const Nt=JSON.parse(JSON.stringify(this.invoice));this.store.select(C.Ef).pipe((0,A.R)(this.unSubs[1])).subscribe(Ke=>{const at=this.invoice?.state,ye=(Ke.listInvoices.invoices||[]).find(Qe=>Qe.r_hash===Nt.r_hash)||null;ye&&(this.invoice=ye),at!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(Ke)})}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(Nt){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+Nt)}getDecimalFormat(Nt){return Nt.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(Nt=>{Nt.next(null),Nt.complete()})}}return je.\u0275fac=function(Nt){return new(Nt||je)(h.Y36(t.so),h.Y36(t.WI),h.Y36(P.mQ),h.Y36(d.v),h.Y36(M.ux),h.Y36(w.yh))},je.\u0275cmp=h.Xpm({type:je,selectors:[["rtl-invoice-information"]],viewQuery:function(Nt,Ke){if(1&Nt&&h.Gf(he,5),2&Nt){let at;h.iGM(at=h.CRH())&&(Ke.container=at.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(Nt,Ke){if(1&Nt&&(h.TgZ(0,"div",0)(1,"div",1),h.YNc(2,S,1,3,"qr-code",2),h.YNc(3,i,2,0,"span",3),h.qZA(),h.TgZ(4,"div",4)(5,"mat-card-header",5)(6,"div",6),h._UZ(7,"fa-icon",7),h.TgZ(8,"span",8),h._uU(9),h.qZA()(),h.TgZ(10,"button",9),h.NdJ("click",function(){return Ke.onClose()}),h._uU(11,"X"),h.qZA()(),h.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),h.YNc(15,a,1,3,"qr-code",2),h.YNc(16,f,2,0,"span",13),h.qZA(),h.YNc(17,l,1,1,"mat-divider",14),h.TgZ(18,"div",15,16)(20,"div",17)(21,"div",18)(22,"h4",19),h._uU(23),h.qZA(),h.TgZ(24,"span",20),h._uU(25),h.ALo(26,"number"),h.YNc(27,y,2,0,"ng-container",21),h.qZA()(),h.TgZ(28,"div",18)(29,"h4",19),h._uU(30,"Amount Settled"),h.qZA(),h.TgZ(31,"span",20),h.YNc(32,b,3,2,"ng-container",21),h.YNc(33,Y,3,2,"ng-container",21),h.qZA()()(),h._UZ(34,"mat-divider",22),h.TgZ(35,"div",17)(36,"div",18)(37,"h4",19),h._uU(38,"Date Created"),h.qZA(),h.TgZ(39,"span",20),h._uU(40),h.ALo(41,"date"),h.qZA()(),h.TgZ(42,"div",18)(43,"h4",19),h._uU(44,"Date Settled"),h.qZA(),h.TgZ(45,"span",20),h._uU(46),h.ALo(47,"date"),h.qZA()()(),h._UZ(48,"mat-divider",22),h.TgZ(49,"div",17)(50,"div",23)(51,"h4",19),h._uU(52,"Memo"),h.qZA(),h.TgZ(53,"span",20),h._uU(54),h.qZA()()(),h._UZ(55,"mat-divider",22),h.TgZ(56,"div",17)(57,"div",23)(58,"h4",19),h._uU(59,"Payment Request"),h.qZA(),h.TgZ(60,"span",24),h._uU(61),h.qZA()()(),h._UZ(62,"mat-divider",22),h.TgZ(63,"div",17)(64,"div",23)(65,"h4",19),h._uU(66,"Payment Hash"),h.qZA(),h.TgZ(67,"span",24),h._uU(68),h.qZA()()(),h.YNc(69,$e,2,1,"div",21),h.qZA()()(),h.YNc(70,Ve,4,0,"div",25),h.TgZ(71,"div",26)(72,"button",27),h.NdJ("click",function(){return Ke.onShowAdvanced()}),h.YNc(73,We,2,0,"p",28),h.YNc(74,Re,2,0,"ng-template",null,29,h.W1O),h.qZA(),h.YNc(76,we,2,2,"button",30),h.YNc(77,me,2,0,"button",31),h.qZA()()(),h.YNc(78,xe,35,14,"ng-template",null,32,h.W1O)),2&Nt){const at=h.MAs(75);h.xp6(1),h.Q6J("fxLayoutAlign",null!=Ke.invoice&&Ke.invoice.payment_request&&""!==(null==Ke.invoice?null:Ke.invoice.payment_request)?"center start":"center center")("ngClass",h.VKq(41,vt,Ke.screenSize===Ke.screenSizeEnum.XS||Ke.screenSize===Ke.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==Ke.invoice?null:Ke.invoice.payment_request)&&""!==(null==Ke.invoice?null:Ke.invoice.payment_request)),h.xp6(1),h.Q6J("ngIf",!(null!=Ke.invoice&&Ke.invoice.payment_request)||""===(null==Ke.invoice?null:Ke.invoice.payment_request)),h.xp6(4),h.Q6J("icon",Ke.faReceipt),h.xp6(2),h.Oqu(Ke.screenSize===Ke.screenSizeEnum.XS?Ke.newlyAdded?"Created":"Invoice":Ke.newlyAdded?"Invoice Created":"Invoice Information"),h.xp6(3),h.Q6J("ngClass",h.VKq(43,Ie,Ke.screenSize===Ke.screenSizeEnum.XS)),h.xp6(2),h.Q6J("fxLayoutAlign",null!=Ke.invoice&&Ke.invoice.payment_request&&""!==(null==Ke.invoice?null:Ke.invoice.payment_request)?"center start":"center center")("ngClass",h.VKq(45,vt,Ke.screenSize!==Ke.screenSizeEnum.XS&&Ke.screenSize!==Ke.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==Ke.invoice?null:Ke.invoice.payment_request)&&""!==(null==Ke.invoice?null:Ke.invoice.payment_request)),h.xp6(1),h.Q6J("ngIf",!(null!=Ke.invoice&&Ke.invoice.payment_request)||""===(null==Ke.invoice?null:Ke.invoice.payment_request)),h.xp6(1),h.Q6J("ngIf",Ke.screenSize===Ke.screenSizeEnum.XS||Ke.screenSize===Ke.screenSizeEnum.SM),h.xp6(1),h.Q6J("ngClass",h.VKq(47,de,(null==Ke.invoice?null:Ke.invoice.htlcs)&&(null==Ke.invoice?null:Ke.invoice.htlcs.length)>0&&Ke.showAdvanced)),h.xp6(5),h.Oqu(Ke.screenSize===Ke.screenSizeEnum.XS?"Amount":"Amount Requested"),h.xp6(2),h.hij("",h.lcZ(26,33,(null==Ke.invoice?null:Ke.invoice.value)||0)," Sats"),h.xp6(2),h.Q6J("ngIf",!(null!=Ke.invoice&&Ke.invoice.value)||"0"===(null==Ke.invoice?null:Ke.invoice.value)),h.xp6(5),h.Q6J("ngIf",(null==Ke.invoice?null:Ke.invoice.amt_paid_sat)&&"OPEN"!==(null==Ke.invoice?null:Ke.invoice.state)),h.xp6(1),h.Q6J("ngIf",!(null!=Ke.invoice&&Ke.invoice.amt_paid_sat)||"0"===(null==Ke.invoice?null:Ke.invoice.amt_paid_sat)),h.xp6(1),h.Q6J("inset",!0),h.xp6(6),h.Oqu(h.xi3(41,35,1e3*(null==Ke.invoice?null:Ke.invoice.creation_date),"dd/MMM/y HH:mm")),h.xp6(6),h.Oqu(0!=+(null==Ke.invoice?null:Ke.invoice.settle_date)?h.xi3(47,38,1e3*+(null==Ke.invoice?null:Ke.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),h.xp6(2),h.Q6J("inset",!0),h.xp6(6),h.Oqu(null==Ke.invoice?null:Ke.invoice.memo),h.xp6(1),h.Q6J("inset",!0),h.xp6(6),h.Oqu((null==Ke.invoice?null:Ke.invoice.payment_request)||"N/A"),h.xp6(1),h.Q6J("inset",!0),h.xp6(6),h.Oqu((null==Ke.invoice?null:Ke.invoice.r_hash)||""),h.xp6(1),h.Q6J("ngIf",Ke.showAdvanced),h.xp6(1),h.Q6J("ngIf",(null==Ke.invoice?null:Ke.invoice.htlcs)&&(null==Ke.invoice?null:Ke.invoice.htlcs.length)>0&&Ke.showAdvanced&&Ke.flgOpened),h.xp6(3),h.Q6J("ngIf",!Ke.showAdvanced)("ngIfElse",at),h.xp6(3),h.Q6J("ngIf",(null==Ke.invoice?null:Ke.invoice.payment_request)&&""!==(null==Ke.invoice?null:Ke.invoice.payment_request)),h.xp6(1),h.Q6J("ngIf",!(null!=Ke.invoice&&Ke.invoice.payment_request)||""===(null==Ke.invoice?null:Ke.invoice.payment_request))}},dependencies:[I.mk,I.sg,I.O5,I.tP,k.BN,O.xw,O.Wh,O.yH,U.oO,Z.lW,Z.nh,W.dn,W.dk,K.ib,K.yz,K.yK,q.Hw,te.d,pe.Ou,oe.gM,re.uU,ce.y,se.h,I.JJ,I.uU]}),je})()},7772:(Be,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:(Be,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:(Be,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:(Be,Q,m)=>{"use strict";m.d(Q,{H:()=>w});var t=m(5412),e=m(4650),g=m(5043),A=m(6895),s=m(1576),C=m(4859),h=m(3546),P=m(4850),d=m(3390);function M(I,k){if(1&I&&(e.TgZ(0,"p",14),e._uU(1),e.qZA()),2&I){const O=e.oxw();e.xp6(1),e.Oqu(O.data.titleMessage)}}let w=(()=>{class I{constructor(O,U,Z){this.dialogRef=O,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 I.\u0275fac=function(O){return new(O||I)(e.Y36(t.so),e.Y36(t.WI),e.Y36(g.mQ))},I.\u0275cmp=e.Xpm({type:I,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(O,U){1&O&&(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&O&&(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,s.xw,s.Wh,s.yH,t.ZT,C.lW,h.dn,h.dk,P.d,d.h],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]}),I})()},2615:(Be,Q,m)=>{"use strict";m.d(Q,{a:()=>Bi});var t=m(4006),e=m(7579),g=m(2722),A=m(5412),s=m(2687),C=m(7772),h=m(7731),P=m(6529),d=m(4650),M=m(9653),w=m(9107),I=m(6895),k=m(5043),O=m(9116),U=m(62),Z=m(1576),W=m(5829),K=m(4859),q=m(3546),te=m(752),pe=m(7392),oe=m(4144),re=m(9549),ce=m(3162),se=m(1948),he=m(455),S=m(266),i=m(8425),a=m(3390),f=m(4850);function l(Je,Dt){1&Je&&d.GkF(0)}function y(Je,Dt){1&Je&&d.GkF(0)}const E=function(Je){return{"h-5":Je}};function D(Je,Dt){if(1&Je&&(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&Je){const be=d.oxw(),Tt=d.MAs(4);d.Q6J("expanded",be.panelExpanded)("ngClass",d.VKq(7,E,!be.flgShowPanel)),d.xp6(4),d.AsE("Quote for ",be.termCaption," amount (",d.lcZ(5,5,be.quote.amount)," Sats)"),d.xp6(2),d.Q6J("ngTemplateOutlet",Tt)}}function v(Je,Dt){if(1&Je&&(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&Je){const be=d.oxw(2);d.xp6(6),d.Oqu(d.lcZ(7,1,null==be.quote?null:be.quote.prepay_amt_sat))}}function n(Je,Dt){1&Je&&d._UZ(0,"mat-divider",13)}function b(Je,Dt){if(1&Je&&(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&Je){const be=d.oxw(2);d.xp6(7),d.Oqu(null==be.quote?null:be.quote.swap_payment_dest)}}function V(Je,Dt){if(1&Je&&(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&Je){const be=d.oxw();d.xp6(2),d.Q6J("fxFlex",null!=be.quote&&be.quote.prepay_amt_sat?"30":"50"),d.xp6(6),d.Oqu(d.lcZ(9,9,null==be.quote?null:be.quote.swap_fee_sat)),d.xp6(2),d.Q6J("fxFlex",null!=be.quote&&be.quote.prepay_amt_sat?"35":"50"),d.xp6(2),d.hij(" ",null!=be.quote&&be.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=be.quote&&be.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),d.xp6(4),d.Oqu(d.lcZ(17,11,null!=be.quote&&be.quote.htlc_sweep_fee_sat?be.quote.htlc_sweep_fee_sat:null!=be.quote&&be.quote.htlc_publish_fee_sat?be.quote.htlc_publish_fee_sat:0)),d.xp6(2),d.Q6J("ngIf",null==be.quote?null:be.quote.prepay_amt_sat),d.xp6(9),d.Oqu(d.lcZ(28,13,(null==be.quote?null:be.quote.amount)*((null!=be.quote&&be.quote.off_chain_swap_routing_fee_percentage?null==be.quote?null:be.quote.off_chain_swap_routing_fee_percentage:2)/100))),d.xp6(9),d.Q6J("ngIf",""!==(null==be.quote?null:be.quote.swap_payment_dest)),d.xp6(1),d.Q6J("ngIf",""!==(null==be.quote?null:be.quote.swap_payment_dest))}}let z=(()=>{class Je{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}}return Je.\u0275fac=function(be){return new(be||Je)},Je.\u0275cmp=d.Xpm({type:Je,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(be,Tt){if(1&be&&(d.YNc(0,l,1,0,"ng-container",0),d.YNc(1,D,7,9,"ng-template",null,1,d.W1O),d.YNc(3,V,38,15,"ng-template",null,2,d.W1O)),2&be){const Wt=d.MAs(2),ci=d.MAs(4);d.Q6J("ngTemplateOutlet",Tt.showPanel?Wt:ci)}},dependencies:[I.mk,I.O5,I.tP,Z.xw,Z.Wh,Z.yH,W.oO,te.ib,te.yz,te.yK,pe.Hw,f.d,S.gM,I.JJ]}),Je})();function Y(Je,Dt){1&Je&&d.GkF(0)}function Te(Je,Dt){if(1&Je&&(d.TgZ(0,"div",3)(1,"span",4),d._uU(2),d.qZA()()),2&Je){const be=d.oxw();d.xp6(2),d.Oqu(null!=be.loopStatus&&be.loopStatus.error?null==be.loopStatus?null:be.loopStatus.error:"Unknown Error.")}}function $e(Je,Dt){if(1&Je&&(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&Je){const be=d.oxw();d.xp6(6),d.Oqu(null==be.loopStatus?null:be.loopStatus.id_bytes),d.xp6(7),d.Oqu(null==be.loopStatus?null:be.loopStatus.htlc_address)}}let Ve=(()=>{class Je{constructor(){}}return Je.\u0275fac=function(be){return new(be||Je)},Je.\u0275cmp=d.Xpm({type:Je,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(be,Tt){if(1&be&&(d.YNc(0,Y,1,0,"ng-container",0),d.YNc(1,Te,3,1,"ng-template",null,1,d.W1O),d.YNc(3,$e,14,2,"ng-template",null,2,d.W1O)),2&be){const Wt=d.MAs(2),ci=d.MAs(4);d.Q6J("ngTemplateOutlet",null!=Tt.loopStatus&&Tt.loopStatus.error?Wt:ci)}},dependencies:[I.tP,Z.xw,Z.Wh,Z.yH,f.d]}),Je})();var We=m(113);function Re(Je,Dt){1&Je&&d.GkF(0)}const we=function(Je,Dt){return{"small-svg":Je,"large-svg":Dt}};function me(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Wt){d.CHM(be);const ci=d.oxw();return d.KtG(ci.onSwipe(Wt))}),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&Je){const be=d.oxw();d.Q6J("@sliderAnimation",be.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,we,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function Ae(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Wt){d.CHM(be);const ci=d.oxw();return d.KtG(ci.onSwipe(Wt))}),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&Je){const be=d.oxw();d.Q6J("@sliderAnimation",be.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,we,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function ee(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Wt){d.CHM(be);const ci=d.oxw();return d.KtG(ci.onSwipe(Wt))}),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&Je){const be=d.oxw();d.Q6J("@sliderAnimation",be.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,we,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function Ze(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Wt){d.CHM(be);const ci=d.oxw();return d.KtG(ci.onSwipe(Wt))}),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&Je){const be=d.oxw();d.Q6J("@sliderAnimation",be.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,we,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function Oe(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Wt){d.CHM(be);const ci=d.oxw();return d.KtG(ci.onSwipe(Wt))}),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&Je){const be=d.oxw();d.Q6J("@sliderAnimation",be.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,we,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}let fe=(()=>{class Je{constructor(be){this.commonService=be,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=h.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(be){2===be.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===be.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}return Je.\u0275fac=function(be){return new(be||Je)(d.Y36(U.v))},Je.\u0275cmp=d.Xpm({type:Je,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(be,Tt){if(1&be&&(d.YNc(0,Re,1,0,"ng-container",0),d.YNc(1,me,32,5,"ng-template",null,1,d.W1O),d.YNc(3,Ae,66,5,"ng-template",null,2,d.W1O),d.YNc(5,ee,93,5,"ng-template",null,3,d.W1O),d.YNc(7,Ze,54,5,"ng-template",null,4,d.W1O),d.YNc(9,Oe,51,5,"ng-template",null,5,d.W1O)),2&be){const Wt=d.MAs(2),ci=d.MAs(4),Ai=d.MAs(6),ki=d.MAs(8),Yi=d.MAs(10);d.Q6J("ngTemplateOutlet",1===Tt.stepNumber?Wt:2===Tt.stepNumber?ci:3===Tt.stepNumber?Ai:4===Tt.stepNumber?ki:Yi)}},dependencies:[I.mk,I.tP,Z.xw,Z.Wh,Z.yH,W.oO,q.$j,q.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:[We.l]}}),Je})();function Se(Je,Dt){1&Je&&d.GkF(0)}const ge=function(Je,Dt){return{"small-svg":Je,"large-svg":Dt}};function xe(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Wt){d.CHM(be);const ci=d.oxw();return d.KtG(ci.onSwipe(Wt))}),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&Je){const be=d.oxw();d.Q6J("@sliderAnimation",be.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ge,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function vt(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Wt){d.CHM(be);const ci=d.oxw();return d.KtG(ci.onSwipe(Wt))}),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&Je){const be=d.oxw();d.Q6J("@sliderAnimation",be.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ge,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function Ie(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Wt){d.CHM(be);const ci=d.oxw();return d.KtG(ci.onSwipe(Wt))}),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&Je){const be=d.oxw();d.Q6J("@sliderAnimation",be.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ge,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function de(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Wt){d.CHM(be);const ci=d.oxw();return d.KtG(ci.onSwipe(Wt))}),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&Je){const be=d.oxw();d.Q6J("@sliderAnimation",be.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ge,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}function rt(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(Wt){d.CHM(be);const ci=d.oxw();return d.KtG(ci.onSwipe(Wt))}),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&Je){const be=d.oxw();d.Q6J("@sliderAnimation",be.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ge,be.screenSize===be.screenSizeEnum.XS,be.screenSize!==be.screenSizeEnum.XS))}}let je=(()=>{class Je{constructor(be){this.commonService=be,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=h.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(be){2===be.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===be.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}return Je.\u0275fac=function(be){return new(be||Je)(d.Y36(U.v))},Je.\u0275cmp=d.Xpm({type:Je,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(be,Tt){if(1&be&&(d.YNc(0,Se,1,0,"ng-container",0),d.YNc(1,xe,32,5,"ng-template",null,1,d.W1O),d.YNc(3,vt,51,5,"ng-template",null,2,d.W1O),d.YNc(5,Ie,74,5,"ng-template",null,3,d.W1O),d.YNc(7,de,53,5,"ng-template",null,4,d.W1O),d.YNc(9,rt,66,5,"ng-template",null,5,d.W1O)),2&be){const Wt=d.MAs(2),ci=d.MAs(4),Ai=d.MAs(6),ki=d.MAs(8),Yi=d.MAs(10);d.Q6J("ngTemplateOutlet",1===Tt.stepNumber?Wt:2===Tt.stepNumber?ci:3===Tt.stepNumber?Ai:4===Tt.stepNumber?ki:Yi)}},dependencies:[I.mk,I.tP,Z.xw,Z.Wh,Z.yH,W.oO,q.$j,q.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:[We.l]}}),Je})();const lt=["stepper"];function Nt(Je,Dt){if(1&Je&&(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&Je){const be=d.oxw(2);d.xp6(4),d.Oqu(d.lcZ(5,2,be.channel.remote_alias)),d.xp6(5),d.Oqu(be.channel.chan_id)}}function Ke(Je,Dt){if(1&Je&&d._uU(0),2&Je){const be=d.oxw(2);d.Oqu(be.inputFormLabel)}}function at(Je,Dt){1&Je&&(d.TgZ(0,"mat-error"),d._uU(1,"Amount is required."),d.qZA())}function Ct(Je,Dt){if(1&Je&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&Je){const be=d.oxw(2);d.xp6(1),d.hij("Amount must be greater than or equal to ",d.lcZ(2,1,be.minQuote.amount),".")}}function ye(Je,Dt){if(1&Je&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&Je){const be=d.oxw(2);d.xp6(1),d.hij("Amount must be less than or equal to ",d.lcZ(2,1,be.maxQuote.amount),".")}}function Qe(Je,Dt){1&Je&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target is required."),d.qZA())}function Le(Je,Dt){1&Je&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target must be a positive number."),d.qZA())}function J(Je,Dt){1&Je&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage is required."),d.qZA())}function mt(Je,Dt){1&Je&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage must be a positive number."),d.qZA())}function St(Je,Dt){if(1&Je&&(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,J,2,0,"mat-error",25),d.YNc(5,mt,2,0,"mat-error",25),d.qZA()),2&Je){const be=d.oxw(2);d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==be.inputFormGroup.controls.routingFeePercent.errors?null:be.inputFormGroup.controls.routingFeePercent.errors.required),d.xp6(1),d.Q6J("ngIf",null==be.inputFormGroup.controls.routingFeePercent.errors?null:be.inputFormGroup.controls.routingFeePercent.errors.min)}}function nt(Je,Dt){1&Je&&(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 Ye(Je,Dt){if(1&Je&&d._uU(0),2&Je){const be=d.oxw(2);d.Oqu(be.quoteFormLabel)}}function zt(Je,Dt){1&Je&&(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 xt(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"button",57),d.NdJ("click",function(){d.CHM(be);const Wt=d.oxw(2);return d.KtG(Wt.onValidateAmount())}),d._uU(1,"Next"),d.qZA()}}function Ht(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"button",58),d.NdJ("click",function(){d.CHM(be);const Wt=d.oxw(2);return d.KtG(Wt.onLoop())}),d._uU(1),d.qZA()}if(2&Je){const be=d.oxw(2);d.xp6(1),d.hij("Initiate ",be.loopDirectionCaption,"")}}function Ut(Je,Dt){if(1&Je&&d._uU(0),2&Je){const be=d.oxw(3);d.Oqu(be.addressFormLabel)}}function De(Je,Dt){1&Je&&(d.TgZ(0,"mat-error"),d._uU(1,"Address is required."),d.qZA())}function X(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"mat-step",16)(1,"form",17),d.YNc(2,Ut,1,1,"ng-template",18),d.TgZ(3,"div",59)(4,"mat-radio-group",60),d.NdJ("change",function(Wt){d.CHM(be);const ci=d.oxw(2);return d.KtG(ci.onAddressTypeChange(Wt))}),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,De,2,0,"mat-error",25),d.qZA()(),d.TgZ(14,"div",29)(15,"button",65),d.NdJ("click",function(){d.CHM(be);const Wt=d.oxw(2);return d.KtG(Wt.onLoop())}),d._uU(16),d.qZA()()()()}if(2&Je){const be=d.oxw(2);d.Q6J("stepControl",be.addressFormGroup)("editable",be.flgEditable),d.xp6(1),d.Q6J("formGroup",be.addressFormGroup),d.xp6(11),d.Q6J("required","external"===be.addressFormGroup.controls.addressType.value),d.xp6(1),d.Q6J("ngIf",null==be.addressFormGroup.controls.address.errors?null:be.addressFormGroup.controls.address.errors.required),d.xp6(3),d.hij("Initiate ",be.loopDirectionCaption,"")}}function ue(Je,Dt){if(1&Je&&d._uU(0),2&Je){const be=d.oxw(2);d.hij("",be.loopDirectionCaption," Status")}}function Ee(Je,Dt){if(1&Je&&(d.TgZ(0,"mat-icon",66),d._uU(1),d.qZA()),2&Je){const be=d.oxw(2);d.xp6(1),d.Oqu(be.loopStatus&&null!=be.loopStatus&&be.loopStatus.id_bytes?"check":"close")}}function qe(Je,Dt){1&Je&&d._UZ(0,"div")}function Xt(Je,Dt){1&Je&&d._UZ(0,"mat-progress-bar",67)}function Vt(Je,Dt){if(1&Je&&(d.TgZ(0,"h4",68),d._uU(1),d.qZA()),2&Je){const be=d.oxw(2);d.xp6(1),d.Oqu(be.loopStatus&&be.loopStatus.error?be.loopDirectionCaption+" failed.":be.loopStatus&&be.loopStatus.id_bytes&&be.channel?be.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":be.loopDirectionCaption+" request placed successfully.")}}function ri(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"button",69),d.NdJ("click",function(){d.CHM(be);const Wt=d.oxw(2);return d.KtG(Wt.goToLoop())}),d._uU(1,"Check Status"),d.qZA()}}function pt(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"button",70),d.NdJ("click",function(){d.CHM(be);const Wt=d.oxw(2);return d.KtG(Wt.onRestart())}),d._uU(1,"Start Again"),d.qZA()}}function ot(Je,Dt){if(1&Je){const be=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(be);const Wt=d.oxw();return d.KtG(Wt.showInfo())}),d._uU(8,"?"),d.qZA(),d.TgZ(9,"button",10),d.NdJ("click",function(){d.CHM(be);const Wt=d.oxw();return d.KtG(Wt.onClose())}),d._uU(10,"X"),d.qZA()()(),d.TgZ(11,"mat-card-content",11)(12,"div",12),d.YNc(13,Nt,11,4,"div",13),d.TgZ(14,"mat-vertical-stepper",14,15),d.NdJ("selectionChange",function(Wt){d.CHM(be);const ci=d.oxw();return d.KtG(ci.stepSelectionChanged(Wt))}),d.TgZ(16,"mat-step",16)(17,"form",17),d.YNc(18,Ke,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,at,2,0,"mat-error",25),d.YNc(34,Ct,3,3,"mat-error",25),d.YNc(35,ye,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,Qe,2,0,"mat-error",25),d.YNc(41,Le,2,0,"mat-error",25),d.qZA(),d.YNc(42,St,6,3,"mat-form-field",27),d.qZA(),d.YNc(43,nt,5,0,"div",28),d.TgZ(44,"div",29)(45,"button",30),d.NdJ("click",function(){d.CHM(be);const Wt=d.oxw();return d.KtG(Wt.onEstimateQuote())}),d._uU(46,"Estimate Quote"),d.qZA()()()(),d.TgZ(47,"mat-step",16)(48,"form",17),d.YNc(49,Ye,1,1,"ng-template",18),d._UZ(50,"rtl-loop-quote",31),d.YNc(51,zt,4,0,"p",32),d.TgZ(52,"div",29),d.YNc(53,xt,2,0,"button",33),d.YNc(54,Ht,2,1,"button",34),d.qZA()()(),d.YNc(55,X,17,6,"mat-step",35),d.TgZ(56,"mat-step",36)(57,"form",17),d.YNc(58,ue,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,Ee,2,1,"mat-icon",40),d.qZA()()(),d.YNc(66,qe,1,0,"div",41),d.qZA(),d.YNc(67,Xt,1,0,"mat-progress-bar",42),d.qZA(),d.YNc(68,Vt,2,1,"h4",43),d.TgZ(69,"div",29),d.YNc(70,ri,2,0,"button",44),d.YNc(71,pt,2,0,"button",45),d.qZA()()()(),d.TgZ(72,"div",46)(73,"button",47),d._uU(74,"Close"),d.qZA()()()()()()}if(2&Je){const be=d.oxw(),Tt=d.MAs(2);d.Q6J("@opacityAnimation",void 0),d.xp6(3),d.Q6J("fxFlex",be.screenSize===be.screenSizeEnum.XS||be.screenSize===be.screenSizeEnum.SM?"83":"91"),d.xp6(2),d.Oqu(be.channel?"Channel "+be.loopDirectionCaption:be.loopDirectionCaption),d.xp6(1),d.Q6J("fxFlex",be.screenSize===be.screenSizeEnum.XS||be.screenSize===be.screenSizeEnum.SM?"17":"9"),d.xp6(7),d.Q6J("ngIf",be.channel),d.xp6(1),d.Q6J("linear",!0),d.xp6(2),d.Q6J("stepControl",be.inputFormGroup)("editable",be.flgEditable),d.xp6(1),d.Q6J("formGroup",be.inputFormGroup),d.xp6(3),d.Q6J("quote",be.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),d.xp6(1),d.Q6J("quote",be.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),d.xp6(2),d.Q6J("fxFlex",be.direction===be.LoopTypeEnum.LOOP_OUT?"35":"48"),d.xp6(3),d.Q6J("step",1e3),d.xp6(2),d.AsE("Range: ",d.lcZ(29,51,be.minQuote.amount),"-",d.lcZ(30,53,be.maxQuote.amount),""),d.xp6(5),d.Q6J("ngIf",null==be.inputFormGroup.controls.amount.errors?null:be.inputFormGroup.controls.amount.errors.required),d.xp6(1),d.Q6J("ngIf",null==be.inputFormGroup.controls.amount.errors?null:be.inputFormGroup.controls.amount.errors.min),d.xp6(1),d.Q6J("ngIf",null==be.inputFormGroup.controls.amount.errors?null:be.inputFormGroup.controls.amount.errors.max),d.xp6(1),d.Q6J("fxFlex",be.direction===be.LoopTypeEnum.LOOP_OUT?"30":"48"),d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==be.inputFormGroup.controls.sweepConfTarget.errors?null:be.inputFormGroup.controls.sweepConfTarget.errors.required),d.xp6(1),d.Q6J("ngIf",null==be.inputFormGroup.controls.sweepConfTarget.errors?null:be.inputFormGroup.controls.sweepConfTarget.errors.min),d.xp6(1),d.Q6J("ngIf",be.direction===be.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",be.direction===be.LoopTypeEnum.LOOP_OUT),d.xp6(4),d.Q6J("stepControl",be.quoteFormGroup)("editable",be.flgEditable),d.xp6(1),d.Q6J("formGroup",be.quoteFormGroup),d.xp6(2),d.Q6J("quote",be.quote)("showPanel",!1),d.xp6(1),d.Q6J("ngIf",be.inputFormGroup.controls.amount.value>be.localBalanceToCompare),d.xp6(2),d.Q6J("ngIf",be.direction===be.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",be.direction===be.LoopTypeEnum.LOOP_IN),d.xp6(1),d.Q6J("ngIf",be.direction===be.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("stepControl",be.statusFormGroup),d.xp6(1),d.Q6J("formGroup",be.statusFormGroup),d.xp6(3),d.Q6J("expanded",!!be.loopStatus),d.xp6(4),d.Oqu(be.loopStatus?be.loopStatus.id_bytes?be.loopDirectionCaption+" request details":be.loopDirectionCaption+" error details":"Waiting for "+be.loopDirectionCaption+" request..."),d.xp6(1),d.Q6J("ngIf",be.loopStatus),d.xp6(1),d.Q6J("ngIf",!be.loopStatus)("ngIfElse",Tt),d.xp6(1),d.Q6J("ngIf",!be.loopStatus),d.xp6(1),d.Q6J("ngIf",be.loopStatus),d.xp6(2),d.Q6J("ngIf",be.loopStatus&&be.loopStatus.id_bytes&&be.channel),d.xp6(1),d.Q6J("ngIf",be.loopStatus&&(be.loopStatus.error||!be.loopStatus.id_bytes)),d.xp6(2),d.Q6J("mat-dialog-close",!1)}}function ut(Je,Dt){if(1&Je&&d._UZ(0,"rtl-loop-status",71),2&Je){const be=d.oxw();d.Q6J("loopStatus",be.loopStatus)}}function wt(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"rtl-loop-out-info-graphics",88),d.NdJ("stepNumberChange",function(Wt){d.CHM(be);const ci=d.oxw(2);return d.KtG(ci.stepNumber=Wt)}),d.qZA()}if(2&Je){const be=d.oxw(2);d.Q6J("animationDirection",be.animationDirection)("stepNumber",be.stepNumber)}}function ft(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"rtl-loop-in-info-graphics",88),d.NdJ("stepNumberChange",function(Wt){d.CHM(be);const ci=d.oxw(2);return d.KtG(ci.stepNumber=Wt)}),d.qZA()}if(2&Je){const be=d.oxw(2);d.Q6J("animationDirection",be.animationDirection)("stepNumber",be.stepNumber)}}const Xe=function(Je,Dt){return{"dot-primary":Je,"dot-primary-lighter":Dt}};function gt(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"span",89),d.NdJ("click",function(){const ci=d.CHM(be).$implicit,Ai=d.oxw(2);return d.KtG(Ai.onStepChanged(ci))}),d._UZ(1,"p",90),d.qZA()}if(2&Je){const be=Dt.$implicit,Tt=d.oxw(2);d.xp6(1),d.Q6J("ngClass",d.WLB(1,Xe,Tt.stepNumber===be,Tt.stepNumber!==be))}}function _t(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"button",91),d.NdJ("click",function(){d.CHM(be);const Wt=d.oxw(2);return d.KtG(Wt.onReadMore())}),d._uU(1,"Read More"),d.qZA()}}function Fe(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"button",92),d.NdJ("click",function(){d.CHM(be);const Wt=d.oxw(2);return d.KtG(Wt.onStepChanged(4))}),d._uU(1,"Back"),d.qZA()}}function Mt(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"button",93),d.NdJ("click",function(){d.CHM(be);const Wt=d.oxw(2);return Wt.flgShowInfo=!1,d.KtG(Wt.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function Et(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"button",94),d.NdJ("click",function(){d.CHM(be);const Wt=d.oxw(2);return Wt.flgShowInfo=!1,d.KtG(Wt.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function Yt(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"button",95),d.NdJ("click",function(){d.CHM(be);const Wt=d.oxw(2);return d.KtG(Wt.onStepChanged(Wt.stepNumber-1))}),d._uU(1,"Back"),d.qZA()}}function Fi(Je,Dt){if(1&Je){const be=d.EpF();d.TgZ(0,"button",96),d.NdJ("click",function(){d.CHM(be);const Wt=d.oxw(2);return d.KtG(Wt.onStepChanged(Wt.stepNumber+1))}),d._uU(1,"Next"),d.qZA()}}const Ri=function(){return[1,2,3,4,5]};function Ci(Je,Dt){if(1&Je){const be=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(be);const Wt=d.oxw();return Wt.flgShowInfo=!1,d.KtG(Wt.stepNumber=1)}),d._uU(7,"X"),d.qZA()()(),d.TgZ(8,"mat-card-content",77),d.YNc(9,wt,1,2,"rtl-loop-out-info-graphics",78),d.YNc(10,ft,1,2,"rtl-loop-in-info-graphics",78),d.qZA(),d.TgZ(11,"div",79),d.YNc(12,gt,2,4,"span",80),d.qZA(),d.TgZ(13,"div",81),d.YNc(14,_t,2,0,"button",82),d.YNc(15,Fe,2,0,"button",83),d.YNc(16,Mt,2,0,"button",84),d.YNc(17,Et,2,0,"button",85),d.YNc(18,Yt,2,0,"button",86),d.YNc(19,Fi,2,0,"button",87),d.qZA()()()}if(2&Je){const be=d.oxw();d.Q6J("@opacityAnimation",void 0),d.xp6(9),d.Q6J("ngIf",be.direction===be.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",be.direction===be.LoopTypeEnum.LOOP_IN),d.xp6(2),d.Q6J("ngForOf",d.DdM(10,Ri)),d.xp6(2),d.Q6J("ngIf",5===be.stepNumber),d.xp6(1),d.Q6J("ngIf",5===be.stepNumber),d.xp6(1),d.Q6J("ngIf",5===be.stepNumber),d.xp6(1),d.Q6J("ngIf",be.stepNumber<5),d.xp6(1),d.Q6J("ngIf",be.stepNumber>1&&be.stepNumber<5),d.xp6(1),d.Q6J("ngIf",be.stepNumber<5)}}let Bi=(()=>{class Je{constructor(be,Tt,Wt,ci,Ai,ki,Yi,ji,tn){this.dialogRef=be,this.data=Tt,this.store=Wt,this.loopService=ci,this.formBuilder=Ai,this.decimalPipe=ki,this.logger=Yi,this.router=ji,this.commonService=tn,this.faInfoCircle=s.sqG,this.LoopTypeEnum=h.$I,this.direction=h.$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=h.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||h.$I.LOOP_OUT,this.loopDirectionCaption=this.direction===h.$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===h.$I.LOOP_OUT&&this.addressFormGroup.setErrors({Invalid:!0}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges(),this.store.select(P.ZW).pipe((0,g.R)(this.unSubs[6])).subscribe(be=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:be.lightningBalance&&be.lightningBalance.local?+be.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,g.R)(this.unSubs[4])).subscribe(be=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===h.$I.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,g.R)(this.unSubs[5])).subscribe(be=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(be){"external"===be.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(){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===h.$I.LOOP_OUT&&(!this.inputFormGroup.controls.routingFeePercent.value||this.inputFormGroup.controls.routingFeePercent.value<0)||this.direction===h.$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,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===h.$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:be=>{this.loopStatus=be,this.loopService.listSwaps(),this.flgEditable=!0},error:be=>{this.loopStatus={error:be},this.flgEditable=!0,this.logger.error(be)}});else{const be=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),Tt="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",Wt=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.loopService.loopOut(this.inputFormGroup.controls.amount.value,this.channel&&this.channel.chan_id?this.channel.chan_id:"",this.inputFormGroup.controls.sweepConfTarget.value,be,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),Wt,Tt).pipe((0,g.R)(this.unSubs[1])).subscribe({next:ci=>{this.loopStatus=ci,this.loopService.listSwaps(),this.flgEditable=!0},error:ci=>{this.loopStatus={error:ci},this.flgEditable=!0,this.logger.error(ci)}})}}onEstimateQuote(){if(!this.inputFormGroup.controls.amount.value||this.minQuote.amount&&this.inputFormGroup.controls.amount.value<this.minQuote.amount||this.maxQuote.amount&&this.inputFormGroup.controls.amount.value>this.maxQuote.amount||!this.inputFormGroup.controls.sweepConfTarget.value||this.inputFormGroup.controls.sweepConfTarget.value<2)return!0;const be=this.inputFormGroup.controls.fast.value?0:(new Date).getTime()+18e5;this.direction===h.$I.LOOP_IN?this.loopService.getLoopInQuote(this.inputFormGroup.controls.amount.value,this.inputFormGroup.controls.sweepConfTarget.value,be).pipe((0,g.R)(this.unSubs[2])).subscribe(Tt=>{this.quote=Tt,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,be).pipe((0,g.R)(this.unSubs[3])).subscribe(Tt=>{this.quote=Tt,this.quote.off_chain_swap_routing_fee_percentage=this.inputFormGroup.controls.routingFeePercent.value?this.inputFormGroup.controls.routingFeePercent.value:2}),this.stepper.selected?.stepControl.setErrors(null),this.stepper.next()}stepSelectionChanged(be){switch(be.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===h.$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===h.$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===h.$I.LOOP_OUT&&1!==be.selectedIndex&&be.selectedIndex<be.previouslySelectedIndex||this.direction===h.$I.LOOP_IN&&be.selectedIndex<be.previouslySelectedIndex)&&be.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===h.$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(be){this.animationDirection=be<this.stepNumber?"backward":"forward",this.stepNumber=be}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(be=>{be.next(null),be.complete()})}}return Je.\u0275fac=function(be){return new(be||Je)(d.Y36(A.so),d.Y36(A.WI),d.Y36(M.yh),d.Y36(w.W),d.Y36(t.QS),d.Y36(I.JJ),d.Y36(k.mQ),d.Y36(O.F0),d.Y36(U.v))},Je.\u0275cmp=d.Xpm({type:Je,selectors:[["rtl-loop-modal"]],viewQuery:function(be,Tt){if(1&be&&d.Gf(lt,5),2&be){let Wt;d.iGM(Wt=d.CRH())&&(Tt.stepper=Wt.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(be,Tt){1&be&&(d.YNc(0,ot,75,55,"div",0),d.YNc(1,ut,1,1,"ng-template",null,1,d.W1O),d.YNc(3,Ci,20,11,"div",2)),2&be&&(d.Q6J("ngIf",!Tt.flgShowInfo),d.xp6(3),d.Q6J("ngIf",Tt.flgShowInfo))},dependencies:[I.mk,I.sg,I.O5,t._Y,t.Fj,t.wV,t.JJ,t.JL,t.Q7,t.sg,t.u,Z.xw,Z.Wh,Z.yH,W.oO,A.ZT,K.lW,q.dn,q.dk,te.ib,te.yz,te.yK,pe.Hw,oe.Nt,re.KE,re.hX,re.bx,re.TO,re.R9,ce.pW,se.VQ,se.U0,he.Rr,S.gM,i.C0,i.VY,i.Vq,a.h,z,Ve,fe,je,I.JJ,I.rS],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem;overflow-x:hidden}"],data:{animation:[C._]}}),Je})()},9442:(Be,Q,m)=>{"use strict";m.d(Q,{w:()=>P});var t=m(2687),e=m(4650),g=m(9116),A=m(2216),s=m(1576),C=m(4859),h=m(3546);let P=(()=>{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,I){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 I.goToHelp()}),e._uU(12,"Go To Help"),e.qZA()()()()()()),2&w&&(e.xp6(1),e.Q6J("icon",I.faTimes))},dependencies:[A.BN,s.xw,s.Wh,s.yH,C.lW,h.a8,h.dn],encapsulation:2}),d})()},3390:(Be,Q,m)=>{"use strict";m.d(Q,{h:()=>e});var t=m(4650);let e=(()=>{class g{constructor(s){this.el=s}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}}return g.\u0275fac=function(s){return new(s||g)(t.Y36(t.SBq))},g.\u0275dir=t.lG2({type:g,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}}),g})()},5199:(Be,Q,m)=>{"use strict";m.d(Q,{y:()=>e});var t=m(4650);let e=(()=>{class g{constructor(){this.copied=new t.vpe}onClick(s){s.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(s){return new(s||g)},g.\u0275dir=t.lG2({type:g,selectors:[["","rtlClipboard",""]],hostBindings:function(s,C){1&s&&t.NdJ("click",function(P){return C.onClick(P)})},inputs:{payload:"payload"},outputs:{copied:"copied"}}),g})()},9843:(Be,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:(Be,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:(Be,Q,m)=>{"use strict";m.d(Q,{D3:()=>s,al:()=>e,h9:()=>g,i1:()=>A});var t=m(4650);let e=(()=>{class C{transform(P,d){return P?.replace(/^[0]+/g,"")}}return C.\u0275fac=function(P){return new(P||C)},C.\u0275pipe=t.Yjl({name:"removeleadingzeros",type:C,pure:!0}),C})(),g=(()=>{class C{transform(P,d){return P?.replace(/(?:^\w|[A-Z]|\b\w)/g,(M,w)=>M.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}}return C.\u0275fac=function(P){return new(P||C)},C.\u0275pipe=t.Yjl({name:"camelcase",type:C,pure:!0}),C})(),A=(()=>{class C{transform(P,d,M){return P.replace(/(?:^\w|[A-Z]|\b\w)/g,(w,I)=>" "+w.toUpperCase())}}return C.\u0275fac=function(P){return new(P||C)},C.\u0275pipe=t.Yjl({name:"camelCaseWithSpaces",type:C,pure:!0}),C})(),s=(()=>{class C{transform(P,d,M){return P=P?P.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "):"",d&&(P=P.replace(new RegExp(d,"g")," ")),M&&(P=P.replace(new RegExp(M,"g")," ")),P.replace(/(?:^\w|[A-Z]|\b\w)/g,(w,I)=>w.toUpperCase())}}return C.\u0275fac=function(P){return new(P||C)},C.\u0275pipe=t.Yjl({name:"camelcaseWithReplace",type:C,pure:!0}),C})()},1643:(Be,Q,m)=>{"use strict";m.d(Q,{QM:()=>C,a1:()=>s,eQ:()=>h,fY:()=>P});var t=m(4650),e=m(9116),g=m(5986),A=m(4004);function s(){return()=>{const d=(0,t.f3M)(e.F0),M=(0,t.f3M)(e.gz),w=(0,t.f3M)(g.m);return!(!w.getItem("token")||M.snapshot.url&&M.snapshot.url.length&&"settings"!==M.snapshot.url[0].path&&"auth"!==M.snapshot.url[0].path&&"true"===w.getItem("defaultPassword")&&(d.navigate(["/settings/auth"]),1))}}function C(){return()=>!!(0,t.f3M)(g.m).watchSession().pipe((0,A.U)(M=>M.lndUnlocked))}function h(){return()=>!!(0,t.f3M)(g.m).watchSession().pipe((0,A.U)(M=>M.clnUnlocked))}function P(){return()=>!!(0,t.f3M)(g.m).watchSession().pipe((0,A.U)(M=>M.eclUnlocked))}},62:(Be,Q,m)=>{"use strict";m.d(Q,{v:()=>w});var t=m(1135),e=m(9646),g=m(2843),A=m(5698),s=m(4004),C=m(262),h=m(7731),P=m(4650),d=m(8104),M=m(5043);let w=(()=>{class I{constructor(O,U){this.dataService=O,this.logger=U,this.currencyUnits=[],this.CurrencyUnitEnum=h.NT,this.conversionData={data:null,last_fetched:null},this.ratesAPIStatus=h.Bn.UN_INITIATED,this.screenSize=h.cu.MD,this.containerSize={width:0,height:0},this.containerSizeUpdated=new t.X(this.containerSize)}getScreenSize(){return this.screenSize}setScreenSize(O){this.screenSize=O}getContainerSize(){return this.containerSize}setContainerSize(O,U){this.containerSize={width:O,height:U},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(O,U,Z,W="asc"){return O.sort("number"===Z?"desc"===W?(K,q)=>+K[U]>+q[U]?-1:1:(K,q)=>+K[U]>+q[U]?1:-1:"desc"===W?(K,q)=>K[U]>q[U]?-1:1:(K,q)=>K[U]>q[U]?1:-1)}sortDescByKey(O,U){return O.sort((Z,W)=>{const K=+Z[U],q=+W[U];return K>q?-1:K<q?1:0})}sortAscByKey(O,U){return O.sort((Z,W)=>{const K=+Z[U],q=+W[U];return K<q?-1:K>q?1:0})}camelCase(O){return O?.replace(/(?:^\w|[A-Z]|\b\w)/g,(U,Z)=>U.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(O,U,Z){return U&&Z&&""!==U&&""!==Z&&(O=O?.replace(new RegExp(U,"g"),Z)),O.indexOf("!\n")>0||O.indexOf(".\n")>0?O.split("\n")?.reduce((W,K)=>W+K.charAt(0).toUpperCase()+K.substring(1).toLowerCase()+"\n",""):O.indexOf(" ")>0?O.split(" ")?.reduce((W,K)=>W+K.charAt(0).toUpperCase()+K.substring(1).toLowerCase()+" ",""):O.charAt(0).toUpperCase()+O.substring(1).toLowerCase()}convertCurrency(O,U,Z,W,K){const q=(new Date).valueOf();return K&&W&&this.ratesAPIStatus!==h.Bn.INITIATED&&(U===h.NT.OTHER||Z===h.NT.OTHER)?this.conversionData.data&&this.conversionData.last_fetched&&q<this.conversionData.last_fetched+3e5?(0,e.of)(this.convertWithFiat(O,U,W)):(this.ratesAPIStatus=h.Bn.INITIATED,this.dataService.getFiatRates().pipe((0,A.q)(1),(0,s.U)(te=>(this.ratesAPIStatus=h.Bn.COMPLETED,this.conversionData.data=te&&"object"==typeof te?te:te&&"string"==typeof te?JSON.parse(te):{},this.conversionData.last_fetched=q,this.convertWithFiat(O,U,W))),(0,C.K)(te=>(this.ratesAPIStatus=h.Bn.ERROR,(0,g._)(()=>this.extractErrorMessage(te,"Currency Conversion Error.")))))):(0,e.of)(this.convertWithoutFiat(O,U))}convertWithoutFiat(O,U){const Z={};switch(Z[h.NT.SATS]=0,Z[h.NT.BTC]=0,U){case h.NT.SATS:Z[h.NT.SATS]=O,Z[h.NT.BTC]=1e-8*O;break;case h.NT.BTC:Z[h.NT.SATS]=1e8*O,Z[h.NT.BTC]=O}return Z}convertWithFiat(O,U,Z){const W={unit:Z,symbol:this.conversionData.data[Z].symbol};switch(W[h.NT.SATS]=0,W[h.NT.BTC]=0,W[h.NT.OTHER]=0,U){case h.NT.SATS:W[h.NT.SATS]=O,W[h.NT.BTC]=1e-8*O,W[h.NT.OTHER]=1e-8*O*this.conversionData.data[Z].last;break;case h.NT.BTC:W[h.NT.SATS]=1e8*O,W[h.NT.BTC]=O,W[h.NT.OTHER]=O*this.conversionData.data[Z].last;break;case h.NT.OTHER:W[h.NT.SATS]=O/this.conversionData.data[Z].last*1e8,W[h.NT.BTC]=O/this.conversionData.data[Z].last,W[h.NT.OTHER]=O}return W}convertTime(O,U,Z){switch(U){case h.Qk.SECS:switch(Z){case h.Qk.MINS:O/=60;break;case h.Qk.HOURS:O/=h.k_;break;case h.Qk.DAYS:O/=24*h.k_}break;case h.Qk.MINS:switch(Z){case h.Qk.SECS:O*=60;break;case h.Qk.HOURS:O/=60;break;case h.Qk.DAYS:O/=1440}break;case h.Qk.HOURS:switch(Z){case h.Qk.SECS:O*=h.k_;break;case h.Qk.MINS:O*=60;break;case h.Qk.DAYS:O/=24}break;case h.Qk.DAYS:switch(Z){case h.Qk.SECS:O=O*h.k_*24;break;case h.Qk.MINS:O=60*O*24;break;case h.Qk.HOURS:O*=24}}return O}downloadFile(O,U,Z=".json",W=".csv"){let K=new Blob;K=".json"===Z?new Blob(["\ufeff"+this.convertToCSV(O)],{type:"text/csv;charset=utf-8;"}):new Blob([O.toString()],{type:"text/plain;charset=utf-8"});const q=document.createElement("a"),te=URL.createObjectURL(K);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&q.setAttribute("target","_blank"),q.setAttribute("href",te),q.setAttribute("download",U+W),q.style.visibility="hidden",document.body.appendChild(q),q.click(),document.body.removeChild(q)}convertToCSV(O){const U=[];let Z="",W="",K="";return"object"!=typeof O&&(O=JSON.parse(O)),O.forEach((te,pe)=>{for(const oe in te)U.findIndex(re=>re===oe)<0&&U.push(oe)}),K=U.join(",")+"\r\n",O.forEach(te=>{Z="",U.forEach(pe=>{te.hasOwnProperty(pe)?Array.isArray(te[pe])?(W="",te[pe].forEach((oe,re)=>{W+="object"==typeof oe?"("+JSON.stringify(oe)?.replace(/\,/g,";")+")":"("+oe+")"}),Z+=W+","):Z+="object"==typeof te[pe]?JSON.stringify(te[pe])?.replace(/\,/g,";")+",":te[pe]+",":Z+=","}),K+=Z.slice(0,-1)+"\r\n"}),K}isVersionCompatible(O,U){if(O){const Z=O.trim()?.replace("v","").split("-")[0].split(".")||[],W=U.split(".");return+Z[0]>+W[0]||+Z[0]==+W[0]&&+Z[1]>+W[1]||+Z[0]==+W[0]&&+Z[1]==+W[1]&&+Z[2]>=+W[2]}return!1}extractErrorMessage(O,U="Unknown Error."){const Z=this.titleCase(O.error&&O.error.text&&"string"==typeof O.error.text&&O.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":O.error&&O.error.error&&O.error.error.error&&O.error.error.error.error&&O.error.error.error.error.error&&"string"==typeof O.error.error.error.error.error?O.error.error.error.error.error:O.error&&O.error.error&&O.error.error.error&&O.error.error.error.error&&"string"==typeof O.error.error.error.error?O.error.error.error.error:O.error&&O.error.error&&O.error.error.error&&"string"==typeof O.error.error.error?O.error.error.error:O.error&&O.error.error&&"string"==typeof O.error.error?O.error.error:O.error&&"string"==typeof O.error?O.error:O.error&&O.error.error&&O.error.error.error&&O.error.error.error.error&&O.error.error.error.error.message&&"string"==typeof O.error.error.error.error.message?O.error.error.error.error.message:O.error&&O.error.error&&O.error.error.error&&O.error.error.error.message&&"string"==typeof O.error.error.error.message?O.error.error.error.message:O.error&&O.error.error&&O.error.error.message&&"string"==typeof O.error.error.message?O.error.error.message:O.error&&O.error.message&&"string"==typeof O.error.message?O.error.message:O.message&&"string"==typeof O.message?O.message:U);return this.logger.info("Error Message: "+Z),Z}extractErrorCode(O,U=500){const Z=O.error&&O.error.error&&O.error.error.message&&O.error.error.message.code?O.error.error.message.code:O.error&&O.error.error&&O.error.error.code?O.error.error.code:O.error&&O.error.code?O.error.code:O.code?O.code:O.status?O.status:U;return this.logger.info("Error Code: "+Z),Z}extractErrorNumber(O,U=500){const Z=O.error&&O.error.error&&O.error.error.errno?O.error.error.errno:O.error&&O.error.errno?O.error.errno:O.errno?O.errno:O.status?O.status:U;return this.logger.info("Error Number: "+Z),Z}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}}return I.\u0275fac=function(O){return new(O||I)(P.LFG(d.D),P.LFG(M.mQ))},I.\u0275prov=P.Yz7({token:I,factory:I.\u0275fac}),I})()},7731:(Be,Q,m)=>{"use strict";m.d(Q,{$I:()=>b,$Y:()=>s,$v:()=>pe,AB:()=>Ze,At:()=>at,Bn:()=>We,Df:()=>fe,Dr:()=>W,Er:()=>w,Fq:()=>n,Gi:()=>f,HW:()=>y,H_:()=>Se,IV:()=>O,IX:()=>we,JX:()=>$e,LO:()=>I,NT:()=>a,OJ:()=>he,OO:()=>vt,Pi:()=>lt,Qk:()=>S,Qw:()=>z,T5:()=>h,TJ:()=>U,Vc:()=>K,Xk:()=>Le,Xr:()=>me,Xz:()=>M,Zs:()=>v,_t:()=>Z,c3:()=>Qe,cu:()=>l,g8:()=>re,gB:()=>xe,gG:()=>Ke,gK:()=>Ct,gg:()=>Y,hG:()=>ye,hZ:()=>ge,hc:()=>V,kO:()=>Ve,k_:()=>A,lr:()=>Oe,m6:()=>Re,nM:()=>oe,n_:()=>se,ol:()=>ce,op:()=>Te,p7:()=>D,pg:()=>Ae,pt:()=>g,q4:()=>C,uA:()=>d,uR:()=>ee,vn:()=>q,vv:()=>P,wZ:()=>te,x$:()=>E,zZ:()=>Nt});var t=m(4650),e=m(8739);function g(J){const mt=new e.ye;return mt.itemsPerPageLabel=J+" per page:",mt}const A=3600,s=24*A*7,C="0.14.0-beta",h=(0,t.X6Q)()?"http://localhost:3000/rtl/api":"./api",P={AUTHENTICATE_API:h+"/authenticate",CONF_API:h+"/conf",PAGE_SETTINGS_API:h+"/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"},d=["Sats","BTC"],M={Sats:"1.0-0",BTC:"1.6-6",OTHER:"1.2-2"},w=[{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"}],I=["SECS","MINS","HOURS","DAYS"],O=10,U=[5,10,25,100],Z=[{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"}],W=[{id:"0",name:"Priority (Default)"},{id:"1",name:"Target Confirmation Blocks"},{id:"2",name:"Fee"}],K=[{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"}],q=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom (Sats/vByte)"}],te={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 pe=(()=>{return(J=pe||(pe={})).PAYMENT_RECEIVED="payment-received",J.PAYMENT_RELAYED="payment-relayed",J.PAYMENT_SENT="payment-sent",J.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",J.PAYMENT_FAILED="payment-failed",J.CHANNEL_OPENED="channel-opened",J.CHANNEL_STATE_CHANGED="channel-state-changed",J.CHANNEL_CLOSED="channel-closed",pe;var J})(),oe=(()=>{return(J=oe||(oe={})).INVOICE="invoice",J.BLOCK_HEIGHT="block-height",J.SEND_PAYMENT="send-payment",oe;var J})(),re=(()=>((re||(re={})).INVOICE="invoice",re))(),ce=(()=>{return(J=ce||(ce={})).OPERATOR="OPERATOR",J.MERCHANT="MERCHANT",J.ALL="ALL",ce;var J})(),se=(()=>{return(J=se||(se={})).INFORMATION="Information",J.WARNING="Warning",J.ERROR="Error",J.SUCCESS="Success",J.CONFIRM="Confirm",se;var J})(),he=(()=>{return(J=he||(he={})).JWT="JWT",J.PASSWORD="PASSWORD",he;var J})(),S=(()=>{return(J=S||(S={})).SECS="SECS",J.MINS="MINS",J.HOURS="HOURS",J.DAYS="DAYS",S;var J})(),a=(()=>{return(J=a||(a={})).SATS="Sats",J.BTC="BTC",J.OTHER="OTHER",a;var J})(),f=(()=>{return(J=f||(f={})).ARRAY="ARRAY",J.NUMBER="NUMBER",J.STRING="STRING",J.BOOLEAN="BOOLEAN",J.PASSWORD="PASSWORD",J.DATE="DATE",J.DATE_TIME="DATE_TIME",f;var J})(),l=(()=>{return(J=l||(l={})).XS="XS",J.SM="SM",J.MD="MD",J.LG="LG",J.XL="XL",l;var J})();const y={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"}},E={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 D=(()=>{return(J=D||(D={})).WIRE_INVALID_ONION_VERSION="Invalid Onion Version",J.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",J.WIRE_INVALID_ONION_KEY="Invalid Onion Key",J.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",J.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",J.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",J.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",J.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",J.WIRE_FEE_INSUFFICIENT="Insufficient Fee",J.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",J.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",J.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",J.WIRE_CHANNEL_DISABLED="Channel Disabled",J.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",J.WIRE_INVALID_REALM="Invalid Realm",J.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",J.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",J.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",J.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",J.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",J.WIRE_MPP_TIMEOUT="MPP Timeout",J.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",J.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",D;var J})(),v=(()=>{return(J=v||(v={})).CHANNELD_NORMAL="Active",J.OPENINGD="Opening",J.CHANNELD_AWAITING_LOCKIN="Pending Open",J.CHANNELD_SHUTTING_DOWN="Shutting Down",J.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",J.CLOSINGD_COMPLETE="Closed",J.AWAITING_UNILATERAL="Awaiting Unilateral Close",J.FUNDING_SPEND_SEEN="Funding Spend Seen",J.ONCHAIN="Onchain",J.DUALOPEND_OPEN_INIT="Dual Open Initialized",J.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",v;var J})(),n=(()=>{return(J=n||(n={})).INITIATED="Initiated",J.PREIMAGE_REVEALED="Preimage Revealed",J.HTLC_PUBLISHED="HTLC Published",J.SUCCESS="Successful",J.FAILED="Failed",J.INVOICE_SETTLED="Invoice Settled",n;var J})(),b=(()=>{return(J=b||(b={})).LOOP_OUT="LOOP_OUT",J.LOOP_IN="LOOP_IN",b;var J})(),V=(()=>{return(J=V||(V={})).SWAP_OUT="SWAP_OUT",J.SWAP_IN="SWAP_IN",V;var J})(),z=(()=>{return(J=z||(z={}))["swap.created"]="Swap Created",J["swap.expired"]="Swap Expired",J["invoice.set"]="Invoice Set",J["invoice.paid"]="Invoice Paid",J["invoice.pending"]="Invoice Pending",J["invoice.settled"]="Invoice Settled",J["invoice.failedToPay"]="Invoice Failed To Pay",J["channel.created"]="Channel Created",J["transaction.failed"]="Transaction Failed",J["transaction.mempool"]="Transaction Mempool",J["transaction.claimed"]="Transaction Claimed",J["transaction.refunded"]="Transaction Refunded",J["transaction.confirmed"]="Transaction Confirmed",J["swap.refunded"]="Swap Refunded",J["swap.abandoned"]="Swap Abandoned",z;var J})();const Y=[{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}],Te=["MONTHLY","YEARLY"];var $e=(()=>{return(J=$e||($e={})).LOOP="LOOP",J.BOLTZ="BOLTZ",J.OFFERS="OFFERS",J.PEERSWAP="PEERSWAP",$e;var J})();const Ve=["password","changeme","moneyprintergobrrr"];var We=(()=>{return(J=We||(We={})).UN_INITIATED="UN_INITIATED",J.INITIATED="INITIATED",J.COMPLETED="COMPLETED",J.ERROR="ERROR",We;var J})();const Re={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...",REBALANCE_CHANNEL:"Rebalancing Channel...",LOG_OUT:"Logging Out..."};var we=(()=>{return(J=we||(we={})).INVOICE="INVOICE",J.OFFER="OFFER",J.KEYSEND="KEYSEND",we;var J})(),me=(()=>{return(J=me||(me={})).FEES="FEES",J.EVENTS="EVENTS",me;var J})(),Ae=(()=>{return(J=Ae||(Ae={})).VOID="VOID",J.SET_API_URL_ECL="SET_API_URL_ECL",J.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",J.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",J.RESET_ROOT_STORE="RESET_ROOT_STORE",J.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",J.OPEN_SNACK_BAR="OPEN_SNACKBAR",J.OPEN_SPINNER="OPEN_SPINNER",J.CLOSE_SPINNER="CLOSE_SPINNER",J.OPEN_ALERT="OPEN_ALERT",J.CLOSE_ALERT="CLOSE_ALERT",J.OPEN_CONFIRMATION="OPEN_CONFIRMATION",J.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",J.SHOW_PUBKEY="SHOW_PUBKEY",J.FETCH_CONFIG="FETCH_CONFIG",J.SHOW_CONFIG="SHOW_CONFIG",J.FETCH_STORE="FETCH_STORE",J.SET_STORE="SET_STORE",J.FETCH_RTL_CONFIG="FETCH_RTL_CONFIG",J.SET_RTL_CONFIG="SET_RTL_CONFIG",J.SAVE_SSO="SAVE_SSO",J.SAVE_SETTINGS="SAVE_SETTINGS",J.TWO_FA_SAVE_SETTINGS="TWO_FA_SAVE_SETTINGS",J.SET_SELECTED_NODE="SET_SELECTED_NODE",J.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",J.UPDATE_SERVICE_SETTINGS="UPDATE_SERVICE_SETTINGS",J.SET_NODE_DATA="SET_NODE_DATA",J.IS_AUTHORIZED="IS_AUTHORIZED",J.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",J.LOGIN="LOGIN",J.VERIFY_TWO_FA="VERIFY_TWO_FA",J.LOGOUT="LOGOUT",J.RESET_PASSWORD="RESET_PASSWORD",J.RESET_PASSWORD_RES="RESET_PASSWORD_RES",J.FETCH_FILE="FETCH_FILE",J.SHOW_FILE="SHOW_FILE",Ae;var J})(),ee=(()=>{return(J=ee||(ee={})).RESET_LND_STORE="RESET_LND_STORE",J.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",J.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",J.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",J.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",J.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",J.FETCH_INFO_LND="FETCH_INFO_LND",J.SET_INFO_LND="SET_INFO_LND",J.FETCH_PEERS_LND="FETCH_PEERS_LND",J.SET_PEERS_LND="SET_PEERS_LND",J.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",J.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",J.DETACH_PEER_LND="DETACH_PEER_LND",J.REMOVE_PEER_LND="REMOVE_PEER_LND",J.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",J.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",J.ADD_INVOICE_LND="ADD_INVOICE_LND",J.FETCH_FEES_LND="FETCH_FEES_LND",J.SET_FEES_LND="SET_FEES_LND",J.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",J.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",J.FETCH_NETWORK_LND="FETCH_NETWORK_LND",J.SET_NETWORK_LND="SET_NETWORK_LND",J.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",J.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",J.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",J.SET_CHANNELS_LND="SET_CHANNELS_LND",J.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",J.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",J.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",J.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",J.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",J.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",J.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",J.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",J.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",J.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",J.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",J.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",J.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",J.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",J.FETCH_INVOICES_LND="FETCH_INVOICES_LND",J.SET_INVOICES_LND="SET_INVOICES_LND",J.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",J.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",J.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",J.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",J.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",J.FETCH_UTXOS_LND="FETCH_UTXOS_LND",J.SET_UTXOS_LND="SET_UTXOS_LND",J.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",J.SET_PAYMENTS_LND="SET_PAYMENTS_LND",J.SEND_PAYMENT_LND="SEND_PAYMENT_LND",J.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",J.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",J.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",J.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",J.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",J.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",J.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",J.GEN_SEED_LND="GEN_SEED_LND",J.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",J.INIT_WALLET_LND="INIT_WALLET_LND",J.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",J.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",J.PEER_LOOKUP_LND="PEER_LOOKUP_LND",J.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",J.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",J.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",J.SET_LOOKUP_LND="SET_LOOKUP_LND",J.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",J.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",J.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",J.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",J.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",J.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",ee;var J})(),Ze=(()=>{return(J=Ze||(Ze={})).RESET_CLN_STORE="RESET_CLN_STORE",J.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",J.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",J.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",J.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",J.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",J.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",J.SET_INFO_CLN="SET_INFO_CLN",J.FETCH_FEES_CLN="FETCH_FEES_CLN",J.SET_FEES_CLN="SET_FEES_CLN",J.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",J.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",J.FETCH_BALANCE_CLN="FETCH_BALANCE_CLN",J.SET_BALANCE_CLN="SET_BALANCE_CLN",J.FETCH_LOCAL_REMOTE_BALANCE_CLN="FETCH_LOCAL_REMOTE_BALANCE_CLN",J.SET_LOCAL_REMOTE_BALANCE_CLN="SET_LOCAL_REMOTE_BALANCE_CLN",J.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",J.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",J.FETCH_UTXOS_CLN="FETCH_UTXOS_CLN",J.SET_UTXOS_CLN="SET_UTXOS_CLN",J.FETCH_PEERS_CLN="FETCH_PEERS_CLN",J.SET_PEERS_CLN="SET_PEERS_CLN",J.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",J.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",J.ADD_PEER_CLN="ADD_PEER_CLN",J.DETACH_PEER_CLN="DETACH_PEER_CLN",J.REMOVE_PEER_CLN="REMOVE_PEER_CLN",J.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",J.SET_CHANNELS_CLN="SET_CHANNELS_CLN",J.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",J.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",J.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",J.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",J.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",J.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",J.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",J.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",J.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",J.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",J.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",J.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",J.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",J.SET_LOOKUP_CLN="SET_LOOKUP_CLN",J.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",J.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",J.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",J.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",J.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",J.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",J.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",J.SET_INVOICES_CLN="SET_INVOICES_CLN",J.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",J.ADD_INVOICE_CLN="ADD_INVOICE_CLN",J.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",J.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",J.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",J.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",J.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",J.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",J.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",J.SET_OFFERS_CLN="SET_OFFERS_CLN",J.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",J.ADD_OFFER_CLN="ADD_OFFER_CLN",J.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",J.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",J.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",J.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",J.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",J.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",J.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",Ze;var J})(),Oe=(()=>{return(J=Oe||(Oe={})).RESET_ECL_STORE="RESET_ECL_STORE",J.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",J.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",J.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",J.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",J.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",J.FETCH_INFO_ECL="FETCH_INFO_ECL",J.SET_INFO_ECL="SET_INFO_ECL",J.FETCH_FEES_ECL="FETCH_FEES_ECL",J.SET_FEES_ECL="SET_FEES_ECL",J.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",J.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",J.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",J.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",J.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",J.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",J.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",J.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",J.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",J.FETCH_PEERS_ECL="FETCH_PEERS_ECL",J.SET_PEERS_ECL="SET_PEERS_ECL",J.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",J.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",J.ADD_PEER_ECL="ADD_PEER_ECL",J.DETACH_PEER_ECL="DETACH_PEER_ECL",J.REMOVE_PEER_ECL="REMOVE_PEER_ECL",J.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",J.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",J.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",J.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",J.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",J.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",J.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",J.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",J.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",J.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",J.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",J.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",J.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",J.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",J.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",J.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",J.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",J.SET_INVOICES_ECL="SET_INVOICES_ECL",J.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",J.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",J.ADD_INVOICE_ECL="ADD_INVOICE_ECL",J.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",J.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",J.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",J.SET_LOOKUP_ECL="SET_LOOKUP_ECL",J.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",J.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",Oe;var J})();const fe=[{range:{min:0,max:1},description:"Requires or supports extra channel re-establish fields"},{range:{min:4,max:5},description:"Commits to a shutdown script pubkey when opening channel"},{range:{min:6,max:7},description:"More sophisticated gossip control"},{range:{min:8,max:9},description:"Requires/supports variable-length routing onion payloads"},{range:{min:10,max:11},description:"Gossip queries can include additional information"},{range:{min:12,max:13},description:"Static key for remote output"},{range:{min:14,max:15},description:"Node supports payment secret field"},{range:{min:16,max:17},description:"Node can receive basic multi-part payments"},{range:{min:18,max:19},description:"Node can create large channels"},{range:{min:20,max:21},description:"Anchor outputs"},{range:{min:22,max:23},description:"Anchor commitment type with zero fee HTLC transactions"},{range:{min:26,max:27},description:"Future segwit versions allowed in shutdown"},{range:{min:30,max:31},description:"AMP support"},{range:{min:44,max:45},description:"Explicit commitment type"}];var Se=(()=>{return(J=Se||(Se={})).gossip_queries_ex="Gossip queries including additional information",J.option_anchor_outputs="Anchor outputs",J.option_data_loss_protect="Extra channel re-establish fields",J.var_onion_optin="Variable-length routing onion payloads",J.option_static_remotekey="Static key for remote output",J.option_support_large_channel="Create large channels",J.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",J.payment_secret="Payment secret field",J.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",J.basic_mpp="Basic multi-part payments",J.gossip_queries="More sophisticated gossip control",J.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",J.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",J.amp="AMP",Se;var J})(),ge=(()=>{return(J=ge||(ge={}))["data-loss-protect"]="Extra channel re-establish fields",J["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",J["gossip-queries"]="More sophisticated gossip control",J["tlv-onion"]="Variable-length routing onion payloads",J["ext-gossip-queries"]="Gossip queries can include additional information",J["static-remote-key"]="Static key for remote output",J["payment-addr"]="Payment secret field",J["multi-path-payments"]="Basic multi-part payments",J["wumbo-channels"]="Wumbo Channels",J.anchors="Anchor outputs",J["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",J.amp="AMP",ge;var J})();const xe=[{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 vt=(()=>{return(J=vt||(vt={})).OFFERED="offered",J.SETTLED="settled",J.FAILED="failed",J.LOCAL_FAILED="local_failed",vt;var J})(),lt=(()=>{return(J=lt||(lt={})).ASCENDING="asc",J.DESCENDING="desc",lt;var J})();const Nt=["asc","desc"],Ke=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:O,sortBy:"blockheight",sortOrder:lt.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:O,sortBy:"blockheight",sortOrder:lt.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:O,sortBy:"msatoshi_to_us",sortOrder:lt.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:O,sortBy:"state",sortOrder:lt.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:O,sortBy:"alias",sortOrder:lt.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]},{tableId:"active_HTLCs",recordsPerPage:O,sortBy:"expiry",sortOrder:lt.DESCENDING,columnSelectionSM:["amount_msat","direction","expiry"],columnSelection:["amount_msat","direction","expiry","state"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:O,sortBy:"channel_opening_fee",sortOrder:lt.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:O,sortBy:"created_at",sortOrder:lt.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:O,sortBy:"expires_at",sortOrder:lt.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:O,sortBy:"offer_id",sortOrder:lt.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:O,sortBy:"lastUpdatedAt",sortOrder:lt.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:O,sortBy:"received_time",sortOrder:lt.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:O,sortBy:"total_fee",sortOrder:lt.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:O,sortBy:"received_time",sortOrder:lt.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:O,sortBy:"received_time",sortOrder:lt.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:O,sortBy:"received_time",sortOrder:lt.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:O,sortBy:"date",sortOrder:lt.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:O,sortBy:"msatoshi",sortOrder:lt.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]}],at={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"short_channel_id"},{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_inactive_channels:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"state"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"}]},peers:{maxColumns:3,allowedColumns:[{column:"alias"},{column:"id"},{column:"netaddr",label:"Network Address"}]},active_HTLCs:{maxColumns:7,allowedColumns:[{column:"amount_msat",label:"Amount (Sats)"},{column:"direction"},{column:"id",label:"HTLC ID"},{column:"state"},{column:"expiry"},{column:"payment_hash"},{column:"local_trimmed"}]}},liquidity_ads:{liquidity_ads:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"nodeid",label:"Node ID"},{column:"last_timestamp",label:"Last Announcement At"},{column:"compact_lease"},{column:"lease_fee"},{column:"routing_fee"},{column:"channel_opening_fee"},{column:"funding_weight"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"created_at",label:"Created At"},{column:"type"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"destination"},{column:"memo"},{column:"label"},{column:"msatoshi_sent",label:"Sats Sent"},{column:"msatoshi",label:"Sats Received"}]},invoices:{maxColumns:7,allowedColumns:[{column:"expires_at",label:"Expiry Date"},{column:"paid_at",label:"Date Settled"},{column:"type"},{column:"description"},{column:"label"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"msatoshi",label:"Amount"},{column:"msatoshi_received",label:"Amount Settled"}]},offers:{maxColumns:4,allowedColumns:[{column:"offer_id",label:"Offer ID"},{column:"single_use"},{column:"used"},{column:"bolt12",label:"Invoice"}]},offer_bookmarks:{maxColumns:6,allowedColumns:[{column:"lastUpdatedAt",label:"Updated At"},{column:"title"},{column:"description"},{column:"issuer"},{column:"bolt12",label:"Invoice"},{column:"amountMSat",label:"Amount"}]}},routing:{forwarding_history:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},routing_peers:{maxColumns:5,allowedColumns:[{column:"channel_id"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount",label:"Amount"},{column:"total_fee",label:"Fee"}]},failed:{maxColumns:7,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},local_failed:{maxColumns:6,allowedColumns:[{column:"received_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"in_msatoshi",label:"Amount In"},{column:"style"},{column:"failreason",label:"Fail Reason"}]}},reports:{routing:{maxColumns:8,allowedColumns:[{column:"received_time"},{column:"resolved_time"},{column:"in_channel",label:"In Channel ID"},{column:"in_channel_alias",label:"In Channel"},{column:"out_channel",label:"Out Channel ID"},{column:"out_channel_alias",label:"Out Channel"},{column:"payment_hash"},{column:"in_msatoshi",label:"Amount In"},{column:"out_msatoshi",label:"Amount Out"},{column:"fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"channel"},{column:"direction"},{column:"delay"},{column:"msatoshi",label:"Amount"}]}}},Ct=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:O,sortBy:"tx_id",sortOrder:lt.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:O,sortBy:"time_stamp",sortOrder:lt.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:O,sortBy:"tx_id",sortOrder:lt.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:O,sortBy:"balancedness",sortOrder:lt.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:lt.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:lt.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:lt.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:lt.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:O,sortBy:"close_type",sortOrder:lt.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:O,sortBy:"incoming",sortOrder:lt.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:O,sortBy:"alias",sortOrder:lt.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:O,sortBy:"creation_date",sortOrder:lt.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:O,sortBy:"creation_date",sortOrder:lt.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:O,sortBy:"timestamp",sortOrder:lt.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:O,sortBy:"total_amount",sortOrder:lt.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:O,sortBy:"remote_alias",sortOrder:lt.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:O,sortBy:"timestamp",sortOrder:lt.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:O,sortBy:"date",sortOrder:lt.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:O,sortBy:"hop_sequence",sortOrder:lt.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:O,sortBy:"initiation_time",sortOrder:lt.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:O,sortBy:"status",sortOrder:lt.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:O,sortBy:"status",sortOrder:lt.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],ye={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"tx_id",label:"Transaction ID"},{column:"output"},{column:"label"},{column:"address_type"},{column:"address"},{column:"amount_sat",label:"Amount"},{column:"confirmations"}]},transactions:{maxColumns:7,allowedColumns:[{column:"time_stamp",label:"Date/Time"},{column:"label"},{column:"block_hash"},{column:"tx_hash",label:"Transaction Hash"},{column:"amount"},{column:"total_fees",label:"Fees"},{column:"block_height"},{column:"num_confirmations",label:"Confirmations"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"tx_id",label:"Transaction ID"},{column:"output"},{column:"label"},{column:"address_type"},{column:"address"},{column:"amount_sat"},{column:"confirmations"}]}},peers_channels:{open:{maxColumns:8,allowedColumns:[{column:"remote_alias",label:"Peer"},{column:"remote_pubkey",label:"Pubkey"},{column:"channel_point"},{column:"chan_id",label:"Channel ID"},{column:"initiator"},{column:"static_remote_key"},{column:"uptime_str",label:"Uptime"},{column:"lifetime_str",label:"Lifetime"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"num_updates",label:"Updates"},{column:"unsettled_balance"},{column:"capacity"},{column:"local_chan_reserve_sat",label:"Local Reserve"},{column:"remote_chan_reserve_sat",label:"Remote Reserve"},{column:"total_satoshis_sent",label:"Sats Sent"},{column:"total_satoshis_received",label:"Sats Received"},{column:"local_balance"},{column:"remote_balance"},{column:"balancedness",label:"Balance Score"}]},pending_open:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"confirmation_height"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_force_closing:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"limbo_balance"},{column:"maturity_height"},{column:"blocks_til_maturity",label:"Blocks till Maturity"},{column:"recovered_balance"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_closing:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},pending_waiting_close:{maxColumns:7,disablePageSize:!0,allowedColumns:[{column:"closing_txid",label:"Closing Tx ID"},{column:"remote_alias",label:"Peer"},{column:"remote_node_pub",label:"Pubkey"},{column:"channel_point"},{column:"initiator"},{column:"commitment_type"},{column:"limbo_balance"},{column:"capacity"},{column:"local_balance"},{column:"remote_balance"}]},closed:{maxColumns:7,allowedColumns:[{column:"close_type"},{column:"remote_alias",label:"Peer"},{column:"remote_pubkey",label:"Pubkey"},{column:"channel_point"},{column:"chan_id",label:"Channel ID"},{column:"closing_tx_hash",label:"Closing Tx Hash"},{column:"chain_hash"},{column:"open_initiator"},{column:"close_initiator"},{column:"time_locked_balance",label:"Timelocked Balance"},{column:"capacity"},{column:"close_height"},{column:"settled_balance"}]},active_HTLCs:{maxColumns:7,allowedColumns:[{column:"amount"},{column:"incoming"},{column:"forwarding_channel"},{column:"htlc_index"},{column:"forwarding_htlc_index"},{column:"expiration_height"},{column:"hash_lock"}]},peers:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"pub_key",label:"Public Key"},{column:"address"},{column:"sync_type"},{column:"inbound"},{column:"bytes_sent"},{column:"bytes_recv",label:"Bytes Received"},{column:"sat_sent",label:"Sats Sent"},{column:"sat_recv",label:"Sats Received"},{column:"ping_time"}]}},transactions:{payments:{maxColumns:8,allowedColumns:[{column:"creation_date"},{column:"payment_hash"},{column:"payment_request"},{column:"payment_preimage"},{column:"description"},{column:"description_hash"},{column:"failure_reason"},{column:"payment_index"},{column:"fee"},{column:"value"},{column:"hops"}]},invoices:{maxColumns:9,allowedColumns:[{column:"private"},{column:"is_keysend",label:"Keysend"},{column:"is_amp",label:"AMP"},{column:"creation_date",label:"Date Created"},{column:"settle_date",label:"Date Settled"},{column:"memo"},{column:"r_preimage",label:"Preimage"},{column:"r_hash",label:"Preimage Hash"},{column:"payment_addr",label:"Payment Address"},{column:"payment_request"},{column:"description_hash"},{column:"expiry"},{column:"cltv_expiry"},{column:"add_index"},{column:"settle_index"},{column:"value",label:"Amount"},{column:"amt_paid_sat",label:"Amount Settled"}]}},routing:{forwarding_history:{maxColumns:6,allowedColumns:[{column:"timestamp"},{column:"alias_in",label:"Inbound Alias"},{column:"chan_id_in",label:"Inbound Channel"},{column:"alias_out",label:"Outbound Alias"},{column:"chan_id_out",label:"Outbound Channel"},{column:"amt_in",label:"Inbound Amount"},{column:"amt_out",label:"Outbound Amount"},{column:"fee_msat",label:"Fee"}]},routing_peers:{maxColumns:4,allowedColumns:[{column:"chan_id",label:"Channel ID"},{column:"alias",label:"Peer Alias"},{column:"events"},{column:"total_amount"}]},non_routing_peers:{maxColumns:8,allowedColumns:[{column:"chan_id",label:"Channel ID"},{column:"remote_alias",label:"Peer Alias"},{column:"remote_pubkey",label:"Peer Pubkey"},{column:"channel_point"},{column:"uptime_str",label:"Uptime"},{column:"lifetime_str",label:"Lifetime"},{column:"commit_fee"},{column:"commit_weight"},{column:"fee_per_kw",label:"Fee/KW"},{column:"num_updates",label:"Updates"},{column:"unsettled_balance"},{column:"capacity"},{column:"local_chan_reserve_sat",label:"Local Reserve"},{column:"remote_chan_reserve_sat",label:"Remote Reserve"},{column:"total_satoshis_sent",label:"Sats Sent"},{column:"total_satoshis_received",label:"Sats Received"},{column:"local_balance"},{column:"remote_balance"}]}},reports:{routing:{maxColumns:6,allowedColumns:[{column:"timestamp"},{column:"alias_in",label:"Inbound Alias"},{column:"chan_id_in",label:"Inbound Channel"},{column:"alias_out",label:"Outbound Alias"},{column:"chan_id_out",label:"Outbound Channel"},{column:"amt_in",label:"Inbound Amount"},{column:"amt_out",label:"Outbound Amount"},{column:"fee_msat",label:"Fee"}]},transactions:{maxColumns:5,allowedColumns:[{column:"date"},{column:"amount_paid"},{column:"num_payments",label:"# Payments"},{column:"amount_received"},{column:"num_invoices",label:"# Invoices"}]}},graph_lookup:{query_routes:{maxColumns:8,disablePageSize:!0,allowedColumns:[{column:"hop_sequence",label:"Hop"},{column:"pubkey_alias",label:"Peer"},{column:"pub_key",label:"Peer Pubkey"},{column:"chan_id",label:"Channel ID"},{column:"tlv_payload"},{column:"expiry"},{column:"chan_capacity",label:"Capacity"},{column:"amt_to_forward_msat",label:"Amount To Fwd"},{column:"fee_msat",label:"Fee"}]}},loop:{loop:{maxColumns:8,allowedColumns:[{column:"state"},{column:"initiation_time"},{column:"last_update_time"},{column:"amt",label:"Amount"},{column:"cost_server"},{column:"cost_offchain"},{column:"cost_onchain"},{column:"htlc_address"},{column:"id"},{column:"id_bytes",label:"ID (Bytes)"}]}},boltz:{swap_out:{maxColumns:7,allowedColumns:[{column:"status"},{column:"id",label:"Swap ID"},{column:"claimAddress",label:"Claim Address"},{column:"onchainAmount",label:"Onchain Amount"},{column:"error"},{column:"privateKey",label:"Private Key"},{column:"preimage"},{column:"redeemScript",label:"Redeem Script"},{column:"invoice"},{column:"timeoutBlockHeight",label:"Timeout Block Height"},{column:"lockupTransactionId",label:"Lockup Tx ID"},{column:"claimTransactionId",label:"Claim Tx ID"}]},swap_in:{maxColumns:7,allowedColumns:[{column:"status"},{column:"id",label:"Swap ID"},{column:"lockupAddress",label:"Lockup Address"},{column:"expectedAmount",label:"Expected Amount"},{column:"error"},{column:"privateKey",label:"Private Key"},{column:"preimage"},{column:"redeemScript",label:"Redeem Script"},{column:"invoice"},{column:"timeoutBlockHeight",label:"Timeout Block Height"},{column:"lockupTransactionId",label:"Lockup Tx ID"},{column:"refundTransactionId",label:"Refund Tx ID"}]}}},Qe=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:O,sortBy:"timestamp",sortOrder:lt.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:O,sortBy:"alias",sortOrder:lt.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:O,sortBy:"alias",sortOrder:lt.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:O,sortBy:"alias",sortOrder:lt.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:O,sortBy:"alias",sortOrder:lt.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:O,sortBy:"firstPartTimestamp",sortOrder:lt.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:O,sortBy:"receivedAt",sortOrder:lt.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:O,sortBy:"timestamp",sortOrder:lt.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:O,sortBy:"totalFee",sortOrder:lt.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:O,sortBy:"timestamp",sortOrder:lt.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:O,sortBy:"date",sortOrder:lt.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],Le={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:(Be,Q,m)=>{"use strict";m.d(Q,{D:()=>re});var t=m(529),e=m(1135),g=m(7579),A=m(2843),s=m(9646),C=m(590),h=m(5577),P=m(2722),d=m(4004),M=m(262),w=m(1365),I=m(7731),k=m(1786),O=m(7861),U=m(6523),Z=m(6529),W=m(9828),K=m(4650),q=m(9653),te=m(5043),pe=m(7009),oe=m(6895);let re=(()=>{class ce{constructor(he,S,i,a,f){this.httpClient=he,this.store=S,this.logger=i,this.snackBar=a,this.titleCasePipe=f,this.APIUrl=I.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=(l,y)=>(l&&l.length>0?l.forEach((E,D)=>{if(y&&y.length>0)for(let v=0;v<y.length;v++){if(y[v].short_channel_id&&y[v].short_channel_id===E.in_channel&&(E.in_channel_alias=y[v].alias?y[v].alias:E.in_channel,E.out_channel_alias)||y[v].short_channel_id&&y[v].short_channel_id?.toString()===E.out_channel&&(E.out_channel_alias=y[v].alias?y[v].alias:E.out_channel,E.in_channel_alias))return;v===y.length-1&&(E.in_channel_alias||(E.in_channel_alias=E.in_channel?E.in_channel:"-"),E.out_channel_alias||(E.out_channel_alias=E.out_channel?E.out_channel:"-"))}else E.in_channel_alias=E.in_channel?E.in_channel:"-",E.out_channel_alias=E.out_channel?E.out_channel:"-"}):l=[],l)}setLnImplementation(he){this.lnImplementation=he.toLowerCase(),this.lnImplementationUpdated.next(this.lnImplementation)}getFiatRates(){return this.httpClient.get(I.vv.CONF_API+"/rates")}decodePayment(he,S){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,h.z)(i=>{let a=this.APIUrl+"/"+i+I.vv.PAYMENTS_API+"/decode/"+he;return"cln"===i&&(a=this.APIUrl+"/"+i+I.vv.UTILITY_API+"/decode/"+he),this.store.dispatch((0,O.ac)({payload:I.m6.DECODE_PAYMENT})),this.httpClient.get(a).pipe((0,P.R)(this.unSubs[0]),(0,d.U)(f=>(this.store.dispatch((0,O.uO)({payload:I.m6.DECODE_PAYMENT})),f)),(0,M.K)(f=>(S?this.handleErrorWithoutAlert("Decode Payment",I.m6.DECODE_PAYMENT,f):this.handleErrorWithAlert("decodePaymentData",I.m6.DECODE_PAYMENT,"Decode Payment Failed",a,f),(0,A._)(()=>new Error(this.extractErrorMessage(f))))))}))}decodePayments(he){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,h.z)(S=>{let i="",a="";return"ecl"===S?(i=this.APIUrl+"/"+S+I.vv.PAYMENTS_API+"/getsentinfos",a=I.m6.GET_SENT_PAYMENTS):"cln"===S?(i=this.APIUrl+"/"+S+I.vv.UTILITY_API,a=I.m6.DECODE_PAYMENTS):(i=this.APIUrl+"/"+S+I.vv.PAYMENTS_API,a=I.m6.DECODE_PAYMENTS),this.store.dispatch((0,O.ac)({payload:a})),this.httpClient.post(i,{payments:he}).pipe((0,P.R)(this.unSubs[1]),(0,d.U)(f=>(this.store.dispatch((0,O.uO)({payload:a})),f)),(0,M.K)(f=>(this.handleErrorWithAlert("decodePaymentsData",a,a+" Failed",i,f),(0,A._)(()=>new Error(this.extractErrorMessage(f))))))}))}getAliasesFromPubkeys(he,S){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,h.z)(i=>{if(S){const a=(new t.LE).set("pubkeys",he);return this.httpClient.get(this.APIUrl+"/"+i+I.vv.NETWORK_API+"/nodes",{params:a})}return this.httpClient.get(this.APIUrl+"/"+i+I.vv.NETWORK_API+"/node/"+he)}))}signMessage(he){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,h.z)(S=>{let i=this.APIUrl+"/"+S+I.vv.MESSAGE_API+"/sign";return"cln"===S&&(i=this.APIUrl+"/"+S+I.vv.UTILITY_API+"/sign"),this.store.dispatch((0,O.ac)({payload:I.m6.SIGN_MESSAGE})),this.httpClient.post(i,{message:he}).pipe((0,P.R)(this.unSubs[2]),(0,d.U)(a=>(this.store.dispatch((0,O.uO)({payload:I.m6.SIGN_MESSAGE})),a)),(0,M.K)(a=>(this.handleErrorWithAlert("signMessageData",I.m6.SIGN_MESSAGE,"Sign Message Failed",i,a),(0,A._)(()=>new Error(this.extractErrorMessage(a))))))}))}verifyMessage(he,S){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,h.z)(i=>{let a=this.APIUrl+"/"+i+I.vv.MESSAGE_API+"/verify";return"cln"===i&&(a=this.APIUrl+"/"+i+I.vv.UTILITY_API+"/verify"),this.store.dispatch((0,O.ac)({payload:I.m6.VERIFY_MESSAGE})),this.httpClient.post(a,{message:he,signature:S}).pipe((0,P.R)(this.unSubs[3]),(0,d.U)(f=>(this.store.dispatch((0,O.uO)({payload:I.m6.VERIFY_MESSAGE})),f)),(0,M.K)(f=>(this.handleErrorWithAlert("verifyMessageData",I.m6.VERIFY_MESSAGE,"Verify Message Failed",a,f),(0,A._)(()=>new Error(this.extractErrorMessage(f))))))}))}bumpFee(he,S,i,a){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,h.z)(f=>{const l={txid:he,outputIndex:S};return i&&(l.targetConf=i),a&&(l.satPerByte=a),this.store.dispatch((0,O.ac)({payload:I.m6.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+f+I.vv.WALLET_API+"/bumpfee",l).pipe((0,P.R)(this.unSubs[4]),(0,d.U)(y=>(this.store.dispatch((0,O.uO)({payload:I.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",I.m6.BUMP_FEE,y),(0,A._)(()=>new Error(this.extractErrorMessage(y))))))}))}labelUTXO(he,S,i=!0){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,h.z)(a=>{const f={txid:he,label:S,overwrite:i};return this.store.dispatch((0,O.ac)({payload:I.m6.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+a+I.vv.WALLET_API+"/label",f).pipe((0,P.R)(this.unSubs[5]),(0,d.U)(l=>(this.store.dispatch((0,O.uO)({payload:I.m6.LABEL_UTXO})),l)),(0,M.K)(l=>(this.handleErrorWithoutAlert("Lease UTXO",I.m6.LABEL_UTXO,l),(0,A._)(()=>new Error(this.extractErrorMessage(l))))))}))}leaseUTXO(he,S){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,h.z)(i=>{const a={txid:he,outputIndex:S};return this.store.dispatch((0,O.ac)({payload:I.m6.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+i+I.vv.WALLET_API+"/lease",a).pipe((0,P.R)(this.unSubs[6]),(0,d.U)(f=>{this.store.dispatch((0,O.uO)({payload:I.m6.LEASE_UTXO})),this.store.dispatch((0,U.mC)()),this.store.dispatch((0,U.Ly)());const l=new Date(1e3*f.expiration);return Math.round(l.getTime())-60*l.getTimezoneOffset()}),(0,M.K)(f=>(this.handleErrorWithoutAlert("Lease UTXO",I.m6.LEASE_UTXO,f),(0,A._)(()=>new Error(this.extractErrorMessage(f))))))}))}getForwardingHistory(he,S,i,a){if("LND"===he){const f={end_time:i,start_time:S};return this.store.dispatch((0,O.ac)({payload:I.m6.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+I.vv.SWITCH_API,f).pipe((0,P.R)(this.unSubs[7]),(0,w.M)(this.store.select(Z._f)),(0,h.z)(([l,y])=>{if(l.forwarding_events){const E=[...y.channels,...y.closedChannels];l.forwarding_events.forEach(D=>{if(E&&E.length>0)for(let v=0;v<E.length;v++){if(E[v].chan_id?.toString()===D.chan_id_in&&(D.alias_in=E[v].remote_alias?E[v].remote_alias:D.chan_id_in,D.alias_out)||E[v].chan_id?.toString()===D.chan_id_out&&(D.alias_out=E[v].remote_alias?E[v].remote_alias:D.chan_id_out,D.alias_in))return;v===E.length-1&&(D.alias_in||(D.alias_in=D.chan_id_in),D.alias_out||(D.alias_out=D.chan_id_out))}else D.alias_in=D.chan_id_in,D.alias_out=D.chan_id_out})}else l={};return this.store.dispatch((0,O.uO)({payload:I.m6.GET_FORWARDING_HISTORY})),(0,s.of)(l)}),(0,M.K)(l=>(this.handleErrorWithAlert("getForwardingHistoryData",I.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+I.vv.SWITCH_API,l),(0,A._)(()=>new Error(this.extractErrorMessage(l))))))}return"CLN"===he?(this.store.dispatch((0,O.ac)({payload:I.m6.GET_FORWARDING_HISTORY})),this.httpClient.get(this.APIUrl+"/cln"+I.vv.CHANNELS_API+"/listForwards?status="+a).pipe((0,P.R)(this.unSubs[8]),(0,w.M)(this.store.select(W.ZW)),(0,h.z)(([f,l])=>{const y=this.mapAliases(f,[...l.activeChannels,...l.pendingChannels,...l.inactiveChannels]);return this.store.dispatch((0,O.uO)({payload:I.m6.GET_FORWARDING_HISTORY})),(0,s.of)(y)}),(0,M.K)(f=>(this.handleErrorWithAlert("getForwardingHistoryData",I.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+I.vv.CHANNELS_API+"/listForwards?status="+a+"&start="+S+"&end="+i,f),(0,A._)(()=>new Error(this.extractErrorMessage(f))))))):(0,s.of)({})}listNetworkNodes(he=""){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,h.z)(S=>(this.store.dispatch((0,O.ac)({payload:I.m6.LIST_NETWORK_NODES})),this.httpClient.get(this.APIUrl+"/"+S+I.vv.NETWORK_API+"/listNodes"+he).pipe((0,P.R)(this.unSubs[9]),(0,h.z)(i=>(this.store.dispatch((0,O.uO)({payload:I.m6.LIST_NETWORK_NODES})),(0,s.of)(i))),(0,M.K)(i=>(this.handleErrorWithoutAlert("List Network Nodes",I.m6.LIST_NETWORK_NODES,i),(0,A._)(()=>this.extractErrorMessage(i))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,h.z)(he=>(this.store.dispatch((0,O.ac)({payload:I.m6.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+he+I.vv.UTILITY_API+"/listConfigs").pipe((0,P.R)(this.unSubs[10]),(0,h.z)(S=>(this.store.dispatch((0,O.uO)({payload:I.m6.GET_LIST_CONFIGS})),(0,s.of)(S))),(0,M.K)(S=>(this.handleErrorWithoutAlert("List Configurations",I.m6.GET_LIST_CONFIGS,S),(0,A._)(()=>this.extractErrorMessage(S))))))))}getOrUpdateFunderPolicy(he,S,i,a,f,l){return this.lnImplementationUpdated.pipe((0,C.P)(),(0,h.z)(y=>{const E=he?{policy:he,policy_mod:S,lease_fee_base_msat:i,lease_fee_basis:a,channel_fee_max_base_msat:f,channel_fee_max_proportional_thousandths:l}:null;return this.store.dispatch((0,O.ac)({payload:I.m6.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+y+I.vv.CHANNELS_API+"/funderUpdate",E).pipe((0,P.R)(this.unSubs[11]),(0,d.U)(D=>(this.store.dispatch((0,O.uO)({payload:I.m6.GET_FUNDER_POLICY})),E&&this.store.dispatch((0,O.jW)({payload:"Funder Policy Updated Successfully with Compact Lease: "+D.compact_lease+"!"})),D)),(0,M.K)(D=>(this.handleErrorWithoutAlert("Funder Policy",I.m6.GET_FUNDER_POLICY,D),(0,A._)(()=>new Error(this.extractErrorMessage(D))))))}))}circularRebalance(he,S="",i="",a="",f="",l=[],y="shortChannelId"){return this.httpClient.post(this.APIUrl+"/"+this.lnImplementation+I.vv.CHANNELS_API+"/circularRebalance",{amountMsat:he,sourceShortChannelId:S,sourceNodeId:i,targetShortChannelId:a,targetNodeId:f,ignoreNodeIds:l,format:y}).pipe((0,P.R)(this.unSubs[12]),(0,d.U)(v=>v),(0,M.K)(v=>(this.handleErrorWithoutAlert("Rebalance Channel",I.m6.REBALANCE_CHANNEL,v),(0,A._)(()=>v.error))))}extractErrorMessage(he,S="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:S)}handleErrorWithoutAlert(he,S,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,O.ts)()),this.store.dispatch((0,O.kS)()),this.store.dispatch((0,O.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,O.uO)({payload:S})),this.store.dispatch((0,O.qi)({payload:{action:he,status:I.Bn.ERROR,statusCode:i.status.toString(),message:this.extractErrorMessage(i)}})))}handleErrorWithAlert(he,S,i,a,f){if(this.logger.error(f),401===f.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,O.ts)()),this.store.dispatch((0,O.kS)()),this.store.dispatch((0,O.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,O.uO)({payload:S}));const l=this.extractErrorMessage(f);this.store.dispatch((0,O.qR)({payload:{data:{type:"ERROR",alertTitle:i,message:{code:f.status?f.status:"Unknown Error",message:l,URL:a},component:k.H}}})),this.store.dispatch((0,O.qi)({payload:{action:he,status:I.Bn.ERROR,statusCode:f.status.toString(),message:l,URL:a}}))}}ngOnDestroy(){this.unSubs.forEach(he=>{he.next(null),he.complete()})}}return ce.\u0275fac=function(he){return new(he||ce)(K.LFG(t.eN),K.LFG(q.yh),K.LFG(te.mQ),K.LFG(pe.ux),K.LFG(oe.rS))},ce.\u0275prov=K.Yz7({token:ce,factory:ce.\u0275fac}),ce})()},5043:(Be,Q,m)=>{"use strict";m.d(Q,{LG:()=>C,mQ:()=>s});var t=m(4650);const e=(0,t.X6Q)(),g=()=>null;let s=(()=>{class h{invokeConsoleMethod(d,M){}}return h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=t.Yz7({token:h,factory:h.\u0275fac}),h})(),C=(()=>{class h{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 h.\u0275fac=function(d){return new(d||h)},h.\u0275prov=t.Yz7({token:h,factory:h.\u0275fac}),h})()},9107:(Be,Q,m)=>{"use strict";m.d(Q,{W:()=>Z});var t=m(529),e=m(1135),g=m(7579),A=m(9646),s=m(2843),C=m(2722),h=m(262),P=m(4004),d=m(7731),M=m(1786),w=m(7861),I=m(4650),k=m(5043),O=m(9653),U=m(62);let Z=(()=>{class W{constructor(q,te,pe,oe){this.httpClient=q,this.logger=te,this.store=pe,this.commonService=oe,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:q=>{this.store.dispatch((0,w.uO)({payload:d.m6.GET_LOOP_SWAPS})),this.swaps=q,this.swapsChanged.next(this.swaps)},error:q=>this.swapsChanged.error(this.handleErrorWithAlert(d.m6.GET_LOOP_SWAPS,this.loopUrl,q))})}loopOut(q,te,pe,oe,re,ce,se,he,S,i){const a={amount:q,targetConf:pe,swapRoutingFee:oe,minerFee:re,prepayRoutingFee:ce,prepayAmt:se,swapFee:he,swapPublicationDeadline:S,destAddress:i};return""!==te&&(a.chanId=te),this.loopUrl=d.T5+d.vv.LOOP_API+"/out",this.httpClient.post(this.loopUrl,a).pipe((0,h.K)(f=>this.handleErrorWithoutAlert("Loop Out for Channel: "+te,d.m6.NO_SPINNER,f)))}getLoopOutTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,h.K)(q=>this.handleErrorWithoutAlert("Loop Out Terms",d.m6.NO_SPINNER,q)))}getLoopOutQuote(q,te,pe){let oe=new t.LE;return oe=oe.append("targetConf",te.toString()),oe=oe.append("swapPublicationDeadline",pe.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/out/quote/"+q,this.store.dispatch((0,w.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:oe}).pipe((0,C.R)(this.unSubs[1]),(0,P.U)(re=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_QUOTE})),re)),(0,h.K)(re=>this.handleErrorWithoutAlert("Loop Out Quote",d.m6.GET_QUOTE,re)))}getLoopOutTermsAndQuotes(q){let te=new t.LE;return te=te.append("targetConf",q.toString()),te=te.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:te}).pipe((0,C.R)(this.unSubs[2]),(0,P.U)(pe=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_TERMS_QUOTES})),pe)),(0,h.K)(pe=>(0,A.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,pe))))}loopIn(q,te,pe,oe,re){const ce={amount:q,swapFee:te,minerFee:pe,lastHop:oe,externalHtlc:re};return this.loopUrl=d.T5+d.vv.LOOP_API+"/in",this.httpClient.post(this.loopUrl,ce).pipe((0,h.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,h.K)(q=>this.handleErrorWithoutAlert("Loop In Terms",d.m6.NO_SPINNER,q)))}getLoopInQuote(q,te,pe){let oe=new t.LE;return oe=oe.append("targetConf",te.toString()),oe=oe.append("swapPublicationDeadline",pe.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/in/quote/"+q,this.store.dispatch((0,w.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:oe}).pipe((0,C.R)(this.unSubs[3]),(0,P.U)(re=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_QUOTE})),re)),(0,h.K)(re=>this.handleErrorWithoutAlert("Loop In Qoute",d.m6.GET_QUOTE,re)))}getLoopInTermsAndQuotes(q){let te=new t.LE;return te=te.append("targetConf",q.toString()),te=te.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:te}).pipe((0,C.R)(this.unSubs[4]),(0,P.U)(pe=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_TERMS_QUOTES})),pe)),(0,h.K)(pe=>(0,A.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,pe))))}getSwap(q){return this.loopUrl=d.T5+d.vv.LOOP_API+"/swap/"+q,this.httpClient.get(this.loopUrl).pipe((0,h.K)(te=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+q,d.m6.NO_SPINNER,te)))}handleErrorWithoutAlert(q,te,pe){let oe="";return this.logger.error("ERROR IN: "+q+"\n"+JSON.stringify(pe)),this.store.dispatch((0,w.uO)({payload:te})),401===pe.status?(oe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.kS)())):503===pe.status?(oe="Unable to Connect to Loop Server.",this.store.dispatch((0,w.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:pe.status,message:"Unable to Connect to Loop Server",URL:q},component:M.H}}}))):oe=this.commonService.extractErrorMessage(pe),(0,s._)(()=>new Error(oe))}handleErrorWithAlert(q,te,pe){let oe="";if(this.logger.error(pe),this.store.dispatch((0,w.uO)({payload:q})),401===pe.status)oe="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.kS)());else if(503===pe.status)oe="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:pe.status,message:"Unable to Connect to Loop Server",URL:te},component:M.H}}}))},100);else{oe=this.commonService.extractErrorMessage(pe);const re=pe.error&&pe.error.error&&pe.error.error.code?pe.error.error.code:pe.error&&pe.error.code?pe.error.code:pe.code?pe.code:pe.status;setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{type:d.n_.ERROR,alertTitle:"ERROR",message:{code:re,message:oe,URL:te},component:M.H}}}))},100)}return{message:oe}}ngOnDestroy(){this.unSubs.forEach(q=>{q.next(null),q.complete()})}}return W.\u0275fac=function(q){return new(q||W)(I.LFG(t.eN),I.LFG(k.mQ),I.LFG(O.yh),I.LFG(U.v))},W.\u0275prov=I.Yz7({token:W,factory:W.\u0275fac}),W})()},5986:(Be,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,h){sessionStorage.setItem(C,h),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:(Be,Q,m)=>{"use strict";m.d(Q,{d:()=>O});var t=m(1135),e=m(7579),g=m(2722),A=m(930),s=m(9751),C=m(727),h=m(4707);const P={url:"",deserializer:U=>JSON.parse(U.data),serializer:U=>JSON.stringify(U)};class M extends e.u{constructor(Z,W){if(super(),this._socket=null,Z instanceof s.y)this.destination=W,this.source=Z;else{const K=this._config=Object.assign({},P);if(this._output=new e.x,"string"==typeof Z)K.url=Z;else for(const q in Z)Z.hasOwnProperty(q)&&(K[q]=Z[q]);if(!K.WebSocketCtor&&WebSocket)K.WebSocketCtor=WebSocket;else if(!K.WebSocketCtor)throw new Error("no WebSocket constructor can be found");this.destination=new h.t}}lift(Z){const W=new M(this._config,this.destination);return W.operator=Z,W.source=this,W}_resetState(){this._socket=null,this.source||(this.destination=new h.t),this._output=new e.x}multiplex(Z,W,K){const q=this;return new s.y(te=>{try{q.next(Z())}catch(oe){te.error(oe)}const pe=q.subscribe({next:oe=>{try{K(oe)&&te.next(oe)}catch(re){te.error(re)}},error:oe=>te.error(oe),complete:()=>te.complete()});return()=>{try{q.next(W())}catch(oe){te.error(oe)}pe.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:Z,protocol:W,url:K,binaryType:q}=this._config,te=this._output;let pe=null;try{pe=W?new Z(K,W):new Z(K),this._socket=pe,q&&(this._socket.binaryType=q)}catch(re){return void te.error(re)}const oe=new C.w0(()=>{this._socket=null,pe&&1===pe.readyState&&pe.close()});pe.onopen=re=>{const{_socket:ce}=this;if(!ce)return pe.close(),void this._resetState();const{openObserver:se}=this._config;se&&se.next(re);const he=this.destination;this.destination=A.Lv.create(S=>{if(1===pe.readyState)try{const{serializer:i}=this._config;pe.send(i(S))}catch(i){this.destination.error(i)}},S=>{const{closingObserver:i}=this._config;i&&i.next(void 0),S&&S.code?pe.close(S.code,S.reason):te.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:S}=this._config;S&&S.next(void 0),pe.close(),this._resetState()}),he&&he instanceof h.t&&oe.add(he.subscribe(this.destination))},pe.onerror=re=>{this._resetState(),te.error(re)},pe.onclose=re=>{pe===this._socket&&this._resetState();const{closeObserver:ce}=this._config;ce&&ce.next(re),re.wasClean?te.complete():te.error(re)},pe.onmessage=re=>{try{const{deserializer:ce}=this._config;te.next(ce(re))}catch(ce){te.error(ce)}}}_subscribe(Z){const{source:W}=this;return W?W.subscribe(Z):(this._socket||this._connectSocket(),this._output.subscribe(Z),Z.add(()=>{const{_socket:K}=this;0===this._output.observers.length&&(K&&(1===K.readyState||0===K.readyState)&&K.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),I=m(5043),k=m(5986);let O=(()=>{class U{constructor(W,K){this.logger=W,this.sessionService=K,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(W,K){(!this.socket||this.socket.closed)&&(this.wsUrl=W,this.nodeIndex=K,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new M({url:W,protocol:[this.sessionService.getItem("token")||"",K]}),this.subscribeToMessages())}reconnectOnError(){this.RECONNECT_TIMEOUT||this.socket&&!this.socket.closed||(this.RETRY_SECONDS=this.RETRY_SECONDS>=160?160:2*this.RETRY_SECONDS,this.RECONNECT_TIMEOUT=setTimeout(()=>{this.logger.info("Reconnecting Web Socket."),this.connectWebSocket(this.wsUrl,this.nodeIndex),this.RECONNECT_TIMEOUT=null},1e3*this.RETRY_SECONDS))}closeConnection(){this.socket&&(this.socket.complete(),this.socket=null)}subscribeToMessages(){this.socket?.pipe((0,g.R)(this.unSubs[1])).subscribe({next:W=>{if((W="string"==typeof W?JSON.parse(W):W).error)this.handleError(W.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(W)),W.source){case"LND":this.lndWSMessages.next(W);break;case"CLN":this.clWSMessages.next(W);break;case"ECL":this.eclWSMessages.next(W)}},error:W=>this.handleError(W),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(W){this.logger.error(W),this.clWSMessages.error(W),this.eclWSMessages.error(W),this.lndWSMessages.error(W),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(W){return new(W||U)(w.LFG(I.mQ),w.LFG(k.m))},U.\u0275prov=w.Yz7({token:U,factory:U.\u0275fac}),U})()},9470:(Be,Q,m)=>{"use strict";m.d(Q,{m:()=>Dr});var t=m(6895),e=m(9116),g=m(4006),A=m(529),s=m(2216),C=m(4650),h=m(2233),P=m(5829),d=m(1576);m(1281);let Tt=(()=>{class Rt{}return Rt.\u0275fac=function(yt){return new(yt||Rt)},Rt.\u0275mod=C.oAB({type:Rt}),Rt.\u0275inj=C.cJS({imports:[h.IR]}),Rt})(),ci=(()=>{class Rt{constructor(yt,oi){(0,t.PM)(oi)&&!yt&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(yt,oi=[]){return{ngModule:Rt,providers:yt.serverLoaded?[{provide:h.WU,useValue:{...h.g5,...yt}},{provide:h.Bs,useValue:oi,multi:!0},{provide:h.wY,useValue:!0}]:[{provide:h.WU,useValue:{...h.g5,...yt}},{provide:h.Bs,useValue:oi,multi:!0}]}}}return Rt.\u0275fac=function(yt){return new(yt||Rt)(C.LFG(h.wY),C.LFG(C.Lbi))},Rt.\u0275mod=C.oAB({type:Rt}),Rt.\u0275inj=C.cJS({imports:[d.ae,P.aT,Tt,d.ae,P.aT,Tt]}),Rt})();var Ai=m(2289),ki=m(3238),Yi=m(5412),ji=m(7957),tn=m(2673),Zt=m(4859);m(4761),m(5017);let Xn=(()=>{class Rt{}return Rt.\u0275fac=function(yt){return new(yt||Rt)},Rt.\u0275mod=C.oAB({type:Rt}),Rt.\u0275inj=C.cJS({imports:[ki.BQ,ki.si,ki.BQ]}),Rt})();var Ma=m(3546),Oa=m(6709),Wn=m(9602),Ua=m(752),qt=m(782),Jt=m(7392),ni=m(4144),ui=m(6338),Di=m(8255),Hi=m(8739),hn=m(3162),Gn=m(1572),Fn=m(1948),ba=m(4385),En=m(3267),Hn=m(455);m(7579);let mo=(()=>{class Rt{}return Rt.\u0275fac=function(yt){return new(yt||Rt)},Rt.\u0275mod=C.oAB({type:Rt}),Rt.\u0275inj=C.cJS({imports:[ki.BQ,t.ez,ki.si]}),Rt})();var Xa=m(7009),fr=m(6308),ra=m(8425),ja=m(671),Er=m(3848),Tr=m(3683),mr=m(266),po=m(5423),Pa=m(7331),$r=m(2213),eo=m(658),$a=m(6839),go=m(8184),to=m(3353);let Ra=(()=>{class Rt extends go.Xj{constructor(yt,oi){super(yt,oi)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}}return Rt.\u0275fac=function(yt){return new(yt||Rt)(C.Y36(t.K0),C.Y36(to.t4))},Rt.\u0275dir=C.lG2({type:Rt,features:[C.qOj]}),Rt})();var Ar=m(5043),qn=m(7731),Yn=m(9445);const rr={suppressScrollX:!1,suppressScrollY:!1};let Lr=(()=>{class Rt extends ki.LF{constructor(yt,oi){super(yt,oi)}format(yt,oi){if("input"===oi){let Li=yt.getDate().toString();return Li=+Li<10?"0"+Li:Li,Li+"/"+qn.gg[yt.getMonth()].name.toUpperCase()+"/"+yt.getFullYear()}return qn.gg[yt.getMonth()].name.toUpperCase()+" "+yt.getFullYear()}}return Rt.\u0275fac=function(yt){return new(yt||Rt)(C.LFG(ki.Ad,8),C.LFG(to.t4))},Rt.\u0275prov=C.Yz7({token:Rt,factory:Rt.\u0275fac}),Rt})();const ua={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 Dr=(()=>{class Rt{}return Rt.\u0275fac=function(yt){return new(yt||Rt)},Rt.\u0275mod=C.oAB({type:Rt}),Rt.\u0275inj=C.cJS({providers:[{provide:Ar.mQ,useClass:Ar.LG},{provide:$a.op,useValue:rr},{provide:Xa.Ve,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:Yi.Bq,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:ki._A,useClass:Lr},{provide:ki.sG,useValue:ua},{provide:go.Xj,useClass:Ra},t.JJ,t.rS,t.uU,Yn.al,Yn.h9,Yn.D3,Yn.i1],imports:[t.ez,g.u5,g.UX,s.uH,ci,Ai.xu,Yi.Is,Zt.ot,Xn,Ma.QW,Oa.p9,Ua.To,qt.N6,Wn.FA,ki.XK,Jt.Ps,ni.c,ui.ie,Di.Tx,hn.Cv,Gn.Cq,Fn.Fk,po.dp,Pa.Hi,ba.LD,En.SJ,Hn.rP,fr.JX,ja.p0,Tr.g0,mr.AV,tn.g,Hi.TU,ra.T5,mo,Er.Nh,Xa.ZX,ji.Bb,$r.a4,eo.OF,e.Bz,A.JF,$a.Xd,g.u5,g.UX,s.uH,ci,Ai.xu,Yi.Is,Zt.ot,Xn,Ma.QW,Oa.p9,Ua.To,qt.N6,Wn.FA,ki.XK,Jt.Ps,ni.c,ui.ie,Di.Tx,hn.Cv,Gn.Cq,Fn.Fk,po.dp,Pa.Hi,ba.LD,En.SJ,Hn.rP,fr.JX,ja.p0,Tr.g0,mr.AV,tn.g,Hi.TU,ra.T5,mo,Er.Nh,Xa.ZX,ji.Bb,$r.a4,eo.OF,$a.Xd]}),Rt})()},7861:(Be,Q,m)=>{"use strict";m.d(Q,{M6:()=>w,Q2:()=>U,QO:()=>l,Tm:()=>ce,Uy:()=>oe,XT:()=>te,_V:()=>he,ac:()=>P,c0:()=>a,c1:()=>I,dc:()=>v,ey:()=>q,fk:()=>re,jS:()=>se,jW:()=>h,kS:()=>i,lC:()=>A,qR:()=>M,qi:()=>s,tj:()=>O,ts:()=>C,tw:()=>W,uO:()=>d,vI:()=>K,x4:()=>E,yb:()=>k,zQ:()=>pe});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)()),s=(0,t.PH)(e.pg.UPDATE_API_CALL_STATUS_ROOT,(0,t.Ky)()),C=(0,t.PH)(e.pg.CLOSE_ALL_DIALOGS),h=(0,t.PH)(e.pg.OPEN_SNACK_BAR,(0,t.Ky)()),P=(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)()),I=(0,t.PH)(e.pg.OPEN_CONFIRMATION,(0,t.Ky)()),k=(0,t.PH)(e.pg.CLOSE_CONFIRMATION,(0,t.Ky)()),O=(0,t.PH)(e.pg.SHOW_PUBKEY),U=(0,t.PH)(e.pg.FETCH_CONFIG,(0,t.Ky)()),W=((0,t.PH)(e.pg.SHOW_CONFIG,(0,t.Ky)()),(0,t.PH)(e.pg.UPDATE_SELECTED_NODE_OPTIONS)),K=(0,t.PH)(e.pg.RESET_ROOT_STORE,(0,t.Ky)()),q=(0,t.PH)(e.pg.FETCH_RTL_CONFIG),te=(0,t.PH)(e.pg.SET_RTL_CONFIG,(0,t.Ky)()),pe=(0,t.PH)(e.pg.SAVE_SETTINGS,(0,t.Ky)()),oe=(0,t.PH)(e.pg.TWO_FA_SAVE_SETTINGS,(0,t.Ky)()),re=(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)),a=(0,t.PH)(e.pg.RESET_PASSWORD,(0,t.Ky)()),l=((0,t.PH)(e.pg.RESET_PASSWORD_RES,(0,t.Ky)()),(0,t.PH)(e.pg.IS_AUTHORIZED,(0,t.Ky)())),E=((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:(Be,Q,m)=>{"use strict";m.d(Q,{V:()=>Bt});var t=m(4650),e=m(493),g=m(7579),A=m(9646),s=m(9751),C=m(4128),h=m(4004),P=m(5698),d=m(1365),M=m(5577),w=m(262),I=m(2722),k=m(7731),O=m(5412),U=m(1576),Z=m(1572);let W=(()=>{class Ot{constructor($t,di){this.dialogRef=$t,this.data=di}}return Ot.\u0275fac=function($t){return new($t||Ot)(t.Y36(O.so),t.Y36(O.WI))},Ot.\u0275cmp=t.Xpm({type:Ot,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($t,di){1&$t&&(t.TgZ(0,"div",0),t._UZ(1,"mat-progress-spinner",1),t.TgZ(2,"h2"),t._uU(3),t.qZA()()),2&$t&&(t.xp6(3),t.Oqu(di.data.titleMessage))},dependencies:[U.xw,U.Wh,Z.Ou],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]}),Ot})();var K=m(5043),q=m(7009),te=m(62),pe=m(9116),oe=m(6895),re=m(5829),ce=m(4859),se=m(3546),he=m(7392),S=m(4850),i=m(266),a=m(658),f=m(6839),l=m(5199),y=m(3390);const E=["scrollContainer"];function D(Ot,_i){if(1&Ot&&t._UZ(0,"qr-code",15),2&Ot){const $t=t.oxw();t.Q6J("value",$t.showQRField)("size",200)("errorCorrectionLevel","L")}}function v(Ot,_i){1&Ot&&t.GkF(0)}const n=function(Ot){return{"h-40":Ot}};function b(Ot,_i){if(1&Ot&&(t.ynx(0),t.TgZ(1,"mat-card-content",16,17),t.YNc(3,v,1,0,"ng-container",18),t.qZA(),t.BQk()),2&Ot){const $t=t.oxw(),di=t.MAs(20);t.xp6(1),t.Q6J("ngClass",t.VKq(2,n,$t.data.scrollable)),t.xp6(2),t.Q6J("ngTemplateOutlet",di)}}function V(Ot,_i){1&Ot&&t.GkF(0)}function z(Ot,_i){if(1&Ot&&(t.ynx(0),t.TgZ(1,"mat-card-content",19),t.YNc(2,V,1,0,"ng-container",18),t.qZA(),t.BQk()),2&Ot){t.oxw();const $t=t.MAs(20);t.xp6(2),t.Q6J("ngTemplateOutlet",$t)}}function Y(Ot,_i){1&Ot&&(t.TgZ(0,"mat-icon",23),t._uU(1,"arrow_downward"),t.qZA())}function Te(Ot,_i){1&Ot&&(t.TgZ(0,"mat-icon",23),t._uU(1,"arrow_upward"),t.qZA())}function $e(Ot,_i){if(1&Ot){const $t=t.EpF();t.TgZ(0,"div",20)(1,"button",21),t.NdJ("click",function(){t.CHM($t);const Xi=t.oxw();return t.KtG(Xi.onScroll())}),t.YNc(2,Y,2,0,"mat-icon",22),t.YNc(3,Te,2,0,"mat-icon",22),t.qZA()()}if(2&Ot){const $t=t.oxw();t.xp6(2),t.Q6J("ngIf","DOWN"===$t.scrollDirection),t.xp6(1),t.Q6J("ngIf","UP"===$t.scrollDirection)}}function Ve(Ot,_i){1&Ot&&(t.TgZ(0,"button",24),t._uU(1,"OK"),t.qZA()),2&Ot&&t.Q6J("mat-dialog-close",!1)}function We(Ot,_i){1&Ot&&(t.TgZ(0,"button",25),t._uU(1,"Close"),t.qZA()),2&Ot&&t.Q6J("mat-dialog-close",!1)}function Re(Ot,_i){if(1&Ot){const $t=t.EpF();t.TgZ(0,"button",26),t.NdJ("copied",function(Xi){t.CHM($t);const Qi=t.oxw();return t.KtG(Qi.onCopyField(Xi))}),t._uU(1),t.qZA()}if(2&Ot){const $t=t.oxw();t.Q6J("payload",$t.showCopyField),t.xp6(1),t.hij("Copy ",$t.showCopyName,"")}}function we(Ot,_i){1&Ot&&(t.TgZ(0,"button",25),t._uU(1,"Close"),t.qZA()),2&Ot&&t.Q6J("mat-dialog-close",!1)}function me(Ot,_i){if(1&Ot){const $t=t.EpF();t.TgZ(0,"button",26),t.NdJ("copied",function(Xi){t.CHM($t);const Qi=t.oxw();return t.KtG(Qi.onCopyField(Xi))}),t._uU(1),t.qZA()}if(2&Ot){const $t=t.oxw();t.Q6J("payload",$t.showQRField),t.xp6(1),t.hij("Copy ",$t.showQRName,"")}}function Ae(Ot,_i){if(1&Ot&&t._UZ(0,"qr-code",15),2&Ot){const $t=t.oxw(2);t.Q6J("value",$t.showQRField)("size",200)("errorCorrectionLevel","L")}}function ee(Ot,_i){if(1&Ot&&(t.TgZ(0,"p",32),t._uU(1),t.qZA()),2&Ot){const $t=t.oxw(2);t.xp6(1),t.Oqu($t.data.titleMessage)}}function Ze(Ot,_i){1&Ot&&t._UZ(0,"span",46),2&Ot&&t.Q6J("innerHTML",_i.$implicit,t.oJD)}function Oe(Ot,_i){if(1&Ot&&(t.ynx(0),t.YNc(1,Ze,1,1,"span",45),t.BQk()),2&Ot){const $t=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngForOf",$t.value)}}function fe(Ot,_i){if(1&Ot&&(t.ynx(0),t._uU(1),t.ALo(2,"date"),t.BQk()),2&Ot){const $t=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,1e3*$t.value,"dd/MMM/y HH:mm"))}}function Se(Ot,_i){if(1&Ot&&(t.ynx(0),t._uU(1),t.ALo(2,"number"),t.BQk()),2&Ot){const $t=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,$t.value,$t.digitsInfo?$t.digitsInfo:"1.0-3"))}}function ge(Ot,_i){if(1&Ot&&(t.ynx(0),t._uU(1),t.BQk()),2&Ot){const $t=t.oxw(2).$implicit;t.xp6(1),t.Oqu($t.value?"True":"False")}}function xe(Ot,_i){1&Ot&&(t.TgZ(0,"mat-icon",51),t._uU(1,"info"),t.qZA())}const vt=function(Ot){return{"failed-status":Ot}};function Ie(Ot,_i){if(1&Ot&&(t.TgZ(0,"p",49),t._uU(1),t.YNc(2,xe,2,0,"mat-icon",50),t.qZA()),2&Ot){const $t=t.oxw(3).$implicit,di=t.oxw(4);t.Q6J("ngClass",t.VKq(3,vt,$t.value===di.LoopStateEnum.FAILED)),t.xp6(1),t.hij(" ",$t.value," "),t.xp6(1),t.Q6J("ngIf",$t.value===di.LoopStateEnum.FAILED)}}function de(Ot,_i){if(1&Ot){const $t=t.EpF();t.TgZ(0,"p",54),t.NdJ("click",function(){t.CHM($t);const Xi=t.oxw(8);return t.KtG(Xi.onGoToLink())}),t._uU(1),t.qZA()}if(2&Ot){const $t=t.oxw(4).$implicit,di=t.oxw(4);t.s9C("matTooltip","Go To "+di.goToName),t.xp6(1),t.hij(" ",$t.value," ")}}function rt(Ot,_i){if(1&Ot&&t._uU(0),2&Ot){const $t=t.oxw(4).$implicit;t.hij(" ",$t.value," ")}}function je(Ot,_i){if(1&Ot&&(t.YNc(0,de,2,2,"p",52),t.YNc(1,rt,1,1,"ng-template",null,53,t.W1O)),2&Ot){const $t=t.MAs(2),di=t.oxw(3).$implicit,Xi=t.oxw(4);t.Q6J("ngIf",di.value===Xi.goToFieldValue)("ngIfElse",$t)}}function lt(Ot,_i){if(1&Ot&&(t.ynx(0),t.YNc(1,Ie,3,5,"p",47),t.YNc(2,je,3,2,"ng-template",null,48,t.W1O),t.BQk()),2&Ot){const $t=t.MAs(3),di=t.oxw(2).$implicit,Xi=t.oxw(4);t.xp6(1),t.Q6J("ngIf","SWAP"===Xi.data.openedBy&&"state"===di.key)("ngIfElse",$t)}}function Nt(Ot,_i){if(1&Ot&&(t.TgZ(0,"span")(1,"span",42),t.YNc(2,Oe,2,1,"ng-container",43),t.YNc(3,fe,3,4,"ng-container",43),t.YNc(4,Se,3,4,"ng-container",43),t.YNc(5,ge,2,1,"ng-container",43),t.YNc(6,lt,4,2,"ng-container",44),t.qZA()()),2&Ot){const $t=t.oxw().$implicit,di=t.oxw(4);t.xp6(1),t.Q6J("ngSwitch",$t.type),t.xp6(1),t.Q6J("ngSwitchCase",di.dataTypeEnum.ARRAY),t.xp6(1),t.Q6J("ngSwitchCase",di.dataTypeEnum.DATE_TIME),t.xp6(1),t.Q6J("ngSwitchCase",di.dataTypeEnum.NUMBER),t.xp6(1),t.Q6J("ngSwitchCase",di.dataTypeEnum.BOOLEAN)}}function Ke(Ot,_i){1&Ot&&(t.TgZ(0,"span",55),t._uU(1,"\xa0"),t.qZA())}function at(Ot,_i){if(1&Ot&&(t.TgZ(0,"div",37)(1,"h4",38),t._uU(2),t.qZA(),t.YNc(3,Nt,7,5,"span",39),t.YNc(4,Ke,2,0,"ng-template",null,40,t.W1O),t._UZ(6,"mat-divider",41),t.qZA()),2&Ot){const $t=_i.$implicit,di=t.MAs(5);t.s9C("fxFlex.gt-md",$t.width),t.xp6(2),t.Oqu($t.title),t.xp6(1),t.Q6J("ngIf",$t&&(!!$t.value||0===$t.value))("ngIfElse",di)}}function Ct(Ot,_i){if(1&Ot&&(t.TgZ(0,"div")(1,"div",35),t.YNc(2,at,7,4,"div",36),t.qZA()()),2&Ot){const $t=_i.$implicit;t.xp6(2),t.Q6J("ngForOf",$t)}}function ye(Ot,_i){if(1&Ot&&(t.TgZ(0,"div",33),t.YNc(1,Ct,3,1,"div",34),t.qZA()),2&Ot){const $t=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",$t.messageObjs)}}const Qe=function(Ot){return{"display-none":Ot}};function Le(Ot,_i){if(1&Ot&&(t.TgZ(0,"div",27)(1,"div",28),t.YNc(2,Ae,1,3,"qr-code",2),t.qZA(),t.TgZ(3,"div",29),t.YNc(4,ee,2,1,"p",30),t.YNc(5,ye,2,1,"div",31),t.qZA()()),2&Ot){const $t=t.oxw();t.xp6(1),t.Q6J("ngClass",t.VKq(4,Qe,""===$t.showQRField||$t.screenSize!==$t.screenSizeEnum.XS&&$t.screenSize!==$t.screenSizeEnum.SM)),t.xp6(1),t.Q6J("ngIf",""!==$t.showQRField),t.xp6(2),t.Q6J("ngIf",$t.data.titleMessage),t.xp6(1),t.Q6J("ngIf",(null==$t.messageObjs?null:$t.messageObjs.length)>0)}}let J=(()=>{class Ot{constructor($t,di,Xi,Qi,Vn,Xn,Ma){this.dialogRef=$t,this.data=di,this.logger=Xi,this.snackBar=Qi,this.commonService=Vn,this.renderer=Xn,this.router=Ma,this.LoopStateEnum=k.Fq,this.goToFieldValue="",this.goToName="",this.goToLink="",this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=k.n_,this.dataTypeEnum=k.Gi,this.screenSize="",this.screenSizeEnum=k.cu,this.scrollDirection="DOWN",this.shouldScroll=!0}set container($t){$t&&(this.scrollContainer=$t,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",di=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",di=>{this.scrollDirection="DOWN"})))}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.messageObjs=this.data.message||[],this.goToFieldValue=this.data.goToFieldValue?this.data.goToFieldValue:"",this.goToName=this.data.goToName?this.data.goToName:"",this.goToLink=this.data.goToLink?this.data.goToLink:"",this.showQRField=this.data.showQRField?this.data.showQRField:"",this.showQRName=this.data.showQRName?this.data.showQRName:"",this.showCopyName=this.data.showCopyName?this.data.showCopyName:"",this.showCopyField=this.data.showCopyField?this.data.showCopyField:"",this.data.type===k.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($t){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+$t)}onClose(){this.dialogRef.close(!1)}onGoToLink(){this.router.navigateByUrl(this.goToLink,{state:{lookupType:"0",lookupValue:this.goToFieldValue}}),this.onClose()}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd()}}return Ot.\u0275fac=function($t){return new($t||Ot)(t.Y36(O.so),t.Y36(O.WI),t.Y36(K.mQ),t.Y36(q.ux),t.Y36(te.v),t.Y36(t.Qsj),t.Y36(pe.F0))},Ot.\u0275cmp=t.Xpm({type:Ot,selectors:[["rtl-alert-message"]],viewQuery:function($t,di){if(1&$t&&t.Gf(E,5),2&$t){let Xi;t.iGM(Xi=t.CRH())&&(di.container=Xi.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"],["fxLayout","row","class","go-to-link",3,"matTooltip","click",4,"ngIf","ngIfElse"],["noStyleChild",""],["fxLayout","row",1,"go-to-link",3,"matTooltip","click"],["fxFlex","100",1,"foreground-secondary-text"]],template:function($t,di){1&$t&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,D,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 di.onClose()}),t._uU(9,"X"),t.qZA()(),t.YNc(10,b,4,4,"ng-container",8),t.YNc(11,z,3,1,"ng-container",8),t.YNc(12,$e,4,2,"div",9),t.TgZ(13,"div",10),t.YNc(14,Ve,2,1,"button",11),t.YNc(15,We,2,1,"button",12),t.YNc(16,Re,2,2,"button",13),t.YNc(17,we,2,1,"button",12),t.YNc(18,me,2,2,"button",13),t.qZA()()(),t.YNc(19,Le,6,6,"ng-template",null,14,t.W1O)),2&$t&&(t.xp6(1),t.Q6J("ngClass",t.VKq(12,Qe,""===di.showQRField||di.screenSize===di.screenSizeEnum.XS||di.screenSize===di.screenSizeEnum.SM)),t.xp6(1),t.Q6J("ngIf",""!==di.showQRField),t.xp6(1),t.Q6J("fxFlex",""===di.showQRField||di.screenSize===di.screenSizeEnum.XS||di.screenSize===di.screenSizeEnum.SM?"100":"70"),t.xp6(4),t.Oqu(di.data.alertTitle||di.alertTypeEnum[di.data.type]),t.xp6(3),t.Q6J("ngIf",di.data.scrollable),t.xp6(1),t.Q6J("ngIf",!di.data.scrollable),t.xp6(1),t.Q6J("ngIf",di.data.scrollable&&di.shouldScroll),t.xp6(2),t.Q6J("ngIf",(!di.showQRField||""===di.showQRField)&&""===di.showCopyName),t.xp6(1),t.Q6J("ngIf",""!==di.showCopyName),t.xp6(1),t.Q6J("ngIf",""!==di.showCopyName),t.xp6(1),t.Q6J("ngIf",""!==di.showQRField),t.xp6(1),t.Q6J("ngIf",""!==di.showQRField))},dependencies:[oe.mk,oe.sg,oe.O5,oe.tP,oe.RF,oe.n9,oe.ED,U.xw,U.Wh,U.yH,re.oO,O.ZT,ce.lW,ce.nh,se.dn,se.dk,he.Hw,S.d,i.gM,a.uU,f.$V,l.y,y.h,oe.JJ,oe.uU],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]}),Ot})();var mt=m(2687),St=m(7861),nt=m(9653),Ye=m(4006),zt=m(2216),xt=m(4144),Ht=m(9549),Ut=m(6534);function De(Ot,_i){if(1&Ot&&(t.TgZ(0,"div",18),t._UZ(1,"fa-icon",19),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&Ot){const $t=t.oxw();t.xp6(1),t.Q6J("icon",$t.faExclamationTriangle),t.xp6(2),t.Oqu($t.warningMessage)}}function X(Ot,_i){if(1&Ot&&(t.TgZ(0,"div",20),t._UZ(1,"fa-icon",19),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&Ot){const $t=t.oxw();t.xp6(1),t.Q6J("icon",$t.faInfoCircle),t.xp6(2),t.Oqu($t.informationMessage)}}function ue(Ot,_i){if(1&Ot&&(t.TgZ(0,"p",21),t._uU(1),t.qZA()),2&Ot){const $t=t.oxw();t.xp6(1),t.Oqu($t.data.titleMessage)}}function Ee(Ot,_i){1&Ot&&t._UZ(0,"div",36),2&Ot&&t.Q6J("innerHTML",_i.$implicit,t.oJD)}function qe(Ot,_i){if(1&Ot&&(t.ynx(0,34),t.YNc(1,Ee,1,1,"div",35),t.BQk()),2&Ot){const $t=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngForOf",$t.value)}}function Xt(Ot,_i){if(1&Ot&&(t.ynx(0),t._uU(1),t.ALo(2,"date"),t.BQk()),2&Ot){const $t=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,1e3*$t.value,"dd/MMM/y HH:mm"))}}function Vt(Ot,_i){if(1&Ot&&(t.ynx(0),t._uU(1),t.ALo(2,"number"),t.BQk()),2&Ot){const $t=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,$t.value,"1.0-3"))}}function ri(Ot,_i){if(1&Ot&&(t.ynx(0),t._uU(1),t.BQk()),2&Ot){const $t=t.oxw(2).$implicit;t.xp6(1),t.Oqu(!0===$t.value?"True":"False")}}function pt(Ot,_i){if(1&Ot&&(t.ynx(0),t._uU(1),t.BQk()),2&Ot){const $t=t.oxw(2).$implicit;t.xp6(1),t.Oqu($t.value)}}function ot(Ot,_i){if(1&Ot&&(t.TgZ(0,"span")(1,"span",30),t.YNc(2,qe,2,1,"ng-container",31),t.YNc(3,Xt,3,4,"ng-container",32),t.YNc(4,Vt,3,4,"ng-container",32),t.YNc(5,ri,2,1,"ng-container",32),t.YNc(6,pt,2,1,"ng-container",33),t.qZA()()),2&Ot){const $t=t.oxw().$implicit,di=t.oxw(3);t.xp6(1),t.Q6J("ngSwitch",$t.type),t.xp6(1),t.Q6J("ngSwitchCase",di.dataTypeEnum.ARRAY),t.xp6(1),t.Q6J("ngSwitchCase",di.dataTypeEnum.DATE_TIME),t.xp6(1),t.Q6J("ngSwitchCase",di.dataTypeEnum.NUMBER),t.xp6(1),t.Q6J("ngSwitchCase",di.dataTypeEnum.BOOLEAN)}}function ut(Ot,_i){1&Ot&&(t.TgZ(0,"span",37),t._uU(1,"\xa0"),t.qZA())}function wt(Ot,_i){if(1&Ot&&(t.TgZ(0,"div",25)(1,"h4",26),t._uU(2),t.qZA(),t.YNc(3,ot,7,5,"span",27),t.YNc(4,ut,2,0,"ng-template",null,28,t.W1O),t._UZ(6,"mat-divider",29),t.qZA()),2&Ot){const $t=_i.$implicit,di=t.MAs(5);t.s9C("fxFlex.gt-md",$t.width),t.xp6(2),t.Oqu($t.title),t.xp6(1),t.Q6J("ngIf",$t&&(!!$t.value||0===$t.value))("ngIfElse",di)}}function ft(Ot,_i){if(1&Ot&&(t.TgZ(0,"div")(1,"div",23),t.YNc(2,wt,7,4,"div",24),t.qZA()()),2&Ot){const $t=_i.$implicit;t.xp6(2),t.Q6J("ngForOf",$t)}}function Xe(Ot,_i){if(1&Ot&&(t.TgZ(0,"div"),t.YNc(1,ft,3,1,"div",22),t.qZA()),2&Ot){const $t=t.oxw();t.xp6(1),t.Q6J("ngForOf",$t.messageObjs)}}function gt(Ot,_i){if(1&Ot&&(t.TgZ(0,"p",21),t._uU(1),t.qZA()),2&Ot){const $t=t.oxw(2);t.xp6(1),t.Oqu($t.data.titleMessage)}}function _t(Ot,_i){if(1&Ot&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&Ot){const $t=t.oxw(2).$implicit;t.xp6(1),t.hij("",$t.placeholder," is required.")}}function Fe(Ot,_i){if(1&Ot){const $t=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(Xi){t.CHM($t);const Qi=t.oxw().$implicit;return t.KtG(Qi.inputValue=Xi)}),t.ALo(4,"lowercase"),t.qZA(),t.YNc(5,_t,2,1,"mat-error",11),t.TgZ(6,"mat-hint"),t._uU(7),t.qZA()()}if(2&Ot){const $t=t.oxw(),di=$t.$implicit,Xi=$t.index;t.Q6J("fxFlex",di.width),t.xp6(2),t.Oqu(di.placeholder),t.xp6(1),t.MGl("name","input",Xi,""),t.Q6J("autoFocus",0===Xi)("min",di.min)("step",di.step)("type",t.lcZ(4,11,di.inputType))("tabindex",Xi+1)("ngModel",di.inputValue),t.xp6(2),t.Q6J("ngIf",!di.inputValue),t.xp6(2),t.Oqu(di.hintFunction?di.hintFunction(di.inputValue):di.hintText)}}function Mt(Ot,_i){if(1&Ot&&(t.ynx(0),t.YNc(1,Fe,8,13,"mat-form-field",40),t.BQk()),2&Ot){const $t=_i.$implicit,di=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!$t.advancedField||di.showAdvanced)}}function Et(Ot,_i){if(1&Ot&&(t.TgZ(0,"div",38),t.YNc(1,gt,2,1,"p",10),t.TgZ(2,"div",39),t.YNc(3,Mt,2,1,"ng-container",22),t.qZA()()),2&Ot){const $t=t.oxw();t.xp6(1),t.Q6J("ngIf",$t.data.titleMessage),t.xp6(2),t.Q6J("ngForOf",$t.getInputs)}}function Yt(Ot,_i){1&Ot&&(t.TgZ(0,"p"),t._uU(1,"Show Advanced"),t.qZA())}function Fi(Ot,_i){1&Ot&&(t.TgZ(0,"p"),t._uU(1,"Hide Advanced"),t.qZA())}function Ri(Ot,_i){if(1&Ot){const $t=t.EpF();t.TgZ(0,"button",43),t.NdJ("click",function(){t.CHM($t);const Xi=t.oxw();return t.KtG(Xi.onShowAdvanced())}),t.YNc(1,Yt,2,0,"p",27),t.YNc(2,Fi,2,0,"ng-template",null,44,t.W1O),t.qZA()}if(2&Ot){const $t=t.MAs(3),di=t.oxw();t.xp6(1),t.Q6J("ngIf",!di.showAdvanced)("ngIfElse",$t)}}function Ci(Ot,_i){if(1&Ot){const $t=t.EpF();t.TgZ(0,"button",45),t.NdJ("click",function(){t.CHM($t);const Xi=t.oxw();return t.KtG(Xi.onClose(Xi.getInputs))}),t._uU(1),t.qZA()}if(2&Ot){const $t=t.oxw();t.xp6(1),t.Oqu($t.yesBtnText)}}function Bi(Ot,_i){if(1&Ot){const $t=t.EpF();t.TgZ(0,"button",46),t.NdJ("click",function(){t.CHM($t);const Xi=t.oxw();return t.KtG(Xi.onClose(!0))}),t._uU(1),t.qZA()}if(2&Ot){const $t=t.oxw();t.xp6(1),t.Oqu($t.yesBtnText)}}let Je=(()=>{class Ot{constructor($t,di,Xi,Qi){this.dialogRef=$t,this.data=di,this.logger=Xi,this.store=Qi,this.faInfoCircle=mt.sqG,this.faExclamationTriangle=mt.eHv,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=k.n_,this.dataTypeEnum=k.Gi,this.getInputs=[{placeholder:"",inputType:k.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===k.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($t){if($t&&this.getInputs&&this.getInputs.some(di=>typeof di.inputValue>"u"))return!0;!this.showAdvanced&&$t.length&&($t=$t?.reduce((di,Xi)=>(Xi.advancedField||di.push(Xi),di),[])),this.store.dispatch((0,St.yb)({payload:$t}))}}return Ot.\u0275fac=function($t){return new($t||Ot)(t.Y36(O.so),t.Y36(O.WI),t.Y36(K.mQ),t.Y36(nt.yh))},Ot.\u0275cmp=t.Xpm({type:Ot,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($t,di){1&$t&&(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 di.onClose(!1)}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7),t.YNc(10,De,4,2,"div",8),t.YNc(11,X,4,2,"div",9),t.YNc(12,ue,2,1,"p",10),t.YNc(13,Xe,2,1,"div",11),t.YNc(14,Et,4,2,"div",12),t.TgZ(15,"div",13)(16,"button",14),t.NdJ("click",function(){return di.onClose(!1)}),t._uU(17),t.qZA(),t.YNc(18,Ri,4,2,"button",15),t.YNc(19,Ci,2,1,"button",16),t.YNc(20,Bi,2,1,"button",17),t.qZA()()()()()),2&$t&&(t.xp6(5),t.Oqu(di.data.alertTitle||di.alertTypeEnum[di.data.type]),t.xp6(5),t.Q6J("ngIf",di.warningMessage&&""!==di.warningMessage),t.xp6(1),t.Q6J("ngIf",di.informationMessage&&""!==di.informationMessage),t.xp6(1),t.Q6J("ngIf",di.data.titleMessage&&!di.flgShowInput),t.xp6(1),t.Q6J("ngIf",(null==di.messageObjs?null:di.messageObjs.length)>0),t.xp6(1),t.Q6J("ngIf",di.flgShowInput),t.xp6(3),t.Oqu(di.noBtnText),t.xp6(1),t.Q6J("ngIf",di.hasAdvanced),t.xp6(1),t.Q6J("ngIf",di.flgShowInput),t.xp6(1),t.Q6J("ngIf",!di.flgShowInput))},dependencies:[oe.sg,oe.O5,oe.RF,oe.n9,oe.ED,Ye._Y,Ye.Fj,Ye.JJ,Ye.JL,Ye.Q7,Ye.On,Ye.F,zt.BN,U.xw,U.Wh,U.yH,ce.lW,se.dn,se.dk,xt.Nt,Ht.KE,Ht.hX,Ht.bx,Ht.TO,S.d,y.h,Ut.q,oe.i8,oe.JJ,oe.uU]}),Ot})();var Dt=m(1786),be=m(4385),Tt=m(3238);function Wt(Ot,_i){if(1&Ot&&(t.TgZ(0,"mat-option",23),t._uU(1),t.qZA()),2&Ot){const $t=_i.$implicit;t.Q6J("value",$t),t.xp6(1),t.hij(" ",$t.infoName," ")}}function ci(Ot,_i){if(1&Ot){const $t=t.EpF();t.TgZ(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),t.NdJ("valueChange",function(Xi){t.CHM($t);const Qi=t.oxw();return t.KtG(Qi.selInfoType=Xi)}),t.YNc(3,Wt,2,2,"mat-option",22),t.qZA()()()}if(2&Ot){const $t=t.oxw();t.xp6(2),t.Q6J("value",$t.selInfoType),t.xp6(1),t.Q6J("ngForOf",$t.infoTypes)}}const Ai=function(Ot){return{"display-none":Ot}};let ki=(()=>{class Ot{constructor($t,di,Xi,Qi,Vn){this.dialogRef=$t,this.data=di,this.logger=Xi,this.snackBar=Qi,this.commonService=Vn,this.faReceipt=mt.dLy,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=k.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(($t,di)=>{this.infoTypes.push({infoID:di+1,infoKey:"node URI "+(di+1),infoName:"Node URI "+(di+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey($t){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+$t)}}return Ot.\u0275fac=function($t){return new($t||Ot)(t.Y36(O.so),t.Y36(O.WI),t.Y36(K.mQ),t.Y36(q.ux),t.Y36(te.v))},Ot.\u0275cmp=t.Xpm({type:Ot,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($t,di){1&$t&&(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 di.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,ci,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(Qi){return di.onCopyPubkey(Qi)}),t._uU(25),t.qZA()()()()()()),2&$t&&(t.xp6(1),t.Q6J("ngClass",t.VKq(15,Ai,di.screenSize===di.screenSizeEnum.XS||di.screenSize===di.screenSizeEnum.SM)),t.xp6(1),t.s9C("value",0===di.selInfoType.infoID?di.information.identity_pubkey:di.information.uris[di.selInfoType.infoID-1]),t.Q6J("size",di.qrWidth)("errorCorrectionLevel","L"),t.xp6(4),t.Q6J("icon",di.faReceipt),t.xp6(2),t.Oqu(di.selInfoType.infoName),t.xp6(5),t.Q6J("ngClass",t.VKq(17,Ai,di.screenSize!==di.screenSizeEnum.XS&&di.screenSize!==di.screenSizeEnum.SM)),t.xp6(1),t.s9C("value",0===di.selInfoType.infoID?di.information.identity_pubkey:di.information.uris[di.selInfoType.infoID-1]),t.Q6J("size",di.qrWidth)("errorCorrectionLevel","L"),t.xp6(1),t.Q6J("ngIf",di.information.uris&&di.information.uris.length>0),t.xp6(4),t.Oqu(di.selInfoType.infoName),t.xp6(2),t.Oqu(0===di.selInfoType.infoID?di.information.identity_pubkey:di.information.uris[di.selInfoType.infoID-1]),t.xp6(3),t.s9C("payload",0===di.selInfoType.infoID?di.information.identity_pubkey:di.information.uris[di.selInfoType.infoID-1]),t.xp6(1),t.hij("Copy ",di.selInfoType.infoKey,""))},dependencies:[oe.mk,oe.sg,oe.O5,zt.BN,U.xw,U.Wh,U.yH,re.oO,ce.lW,se.dn,se.dk,Ht.KE,S.d,be.gD,Tt.ey,a.uU,l.y,y.h]}),Ot})();var Yi=m(6523),ji=m(429),tn=m(2994),Zt=m(8377),Qt=m(529),_e=m(7998),ht=m(5986),Lt=m(8104);let Bt=(()=>{class Ot{constructor($t,di,Xi,Qi,Vn,Xn,Ma,Oa,Wn,Ua,qt){this.actions=$t,this.httpClient=di,this.store=Xi,this.logger=Qi,this.wsService=Vn,this.sessionService=Xn,this.commonService=Ma,this.dataService=Oa,this.dialog=Wn,this.snackBar=Ua,this.router=qt,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)(k.pg.CLOSE_ALL_DIALOGS),(0,h.U)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.OPEN_SNACK_BAR),(0,h.U)(Jt=>{"string"==typeof Jt.payload?this.snackBar.open(Jt.payload):this.snackBar.open(Jt.payload.message,"","ERROR"===Jt.payload.type?{duration:Jt.payload.duration?Jt.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===Jt.payload.type?{duration:Jt.payload.duration?Jt.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:Jt.payload.duration?Jt.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.OPEN_SPINNER),(0,h.U)(Jt=>{Jt.payload!==k.m6.NO_SPINNER&&(this.dialogRef=this.dialog.open(W,{panelClass:"spinner-dialog-panel",data:{titleMessage:Jt.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.CLOSE_SPINNER),(0,h.U)(Jt=>{if(Jt.payload!==k.m6.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===Jt.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(ni=>{ni.componentInstance&&ni.componentInstance.data&&ni.componentInstance.data.titleMessage&&ni.componentInstance.data.titleMessage===Jt.payload&&ni.close()})}catch(ni){this.logger.error(ni)}})),{dispatch:!1}),this.openAlert=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.OPEN_ALERT),(0,h.U)(Jt=>{const ni=JSON.parse(JSON.stringify(Jt.payload));ni.width||(ni.width=this.alertWidth),this.dialogRef=this.dialog.open(Jt.payload.data.component?Jt.payload.data.component:J,ni)})),{dispatch:!1}),this.closeAlert=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.CLOSE_ALERT),(0,h.U)(Jt=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Jt.payload),Jt.payload))),{dispatch:!1}),this.openConfirm=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.OPEN_CONFIRMATION),(0,h.U)(Jt=>{const ni=JSON.parse(JSON.stringify(Jt.payload));ni.width||(ni.width=this.confirmWidth),this.dialogRef=this.dialog.open(Je,ni)})),{dispatch:!1}),this.closeConfirm=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.CLOSE_CONFIRMATION),(0,P.q)(1),(0,h.U)(Jt=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Jt.payload),Jt.payload))),{dispatch:!1}),this.showNodePubkey=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.SHOW_PUBKEY),(0,d.M)(this.store.select(Zt.R4)),(0,M.z)(([Jt,ni])=>(this.sessionService.getItem("token")&&ni.identity_pubkey?this.store.dispatch((0,St.qR)({payload:{data:{information:ni,component:ki}}})):this.snackBar.open("Node Pubkey does not exist."),(0,A.of)({type:k.pg.VOID}))))),this.appConfigFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.FETCH_RTL_CONFIG),(0,M.z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===k.cu.XS||this.screenSize===k.cu.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===k.cu.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="50%",this.confirmWidth="53%"),this.store.dispatch((0,St.ac)({payload:k.m6.GET_RTL_CONFIG})),this.store.dispatch((0,St.qi)({payload:{action:"FetchRTLConfig",status:k.Bn.INITIATED}})),this.sessionService.getItem("token")?this.httpClient.get(k.vv.CONF_API+"/rtlconf"):this.httpClient.get(k.vv.CONF_API+"/rtlconfinit"))),(0,h.U)(Jt=>{this.logger.info(Jt),this.store.dispatch((0,St.uO)({payload:k.m6.GET_RTL_CONFIG})),this.store.dispatch((0,St.qi)({payload:{action:"FetchRTLConfig",status:k.Bn.COMPLETED}}));let ni=null;return Jt.nodes.forEach(ui=>{ui.settings.currencyUnits=[...k.uA,ui.settings?.currencyUnit?ui.settings?.currencyUnit:""],+(ui.index||-1)===Jt.selectedNodeIndex&&(ni=ui)}),ni?(this.store.dispatch((0,St.fk)({payload:{uiMessage:k.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:ni,isInitialSetup:!0}})),{type:k.pg.SET_RTL_CONFIG,payload:Jt}):{type:k.pg.VOID}}),(0,w.K)(Jt=>(this.handleErrorWithAlert("FetchRTLConfig",k.m6.GET_RTL_CONFIG,"Fetch RTL Config Failed!",k.vv.CONF_API,Jt),(0,A.of)({type:k.pg.VOID}))))),this.settingSave=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.SAVE_SETTINGS),(0,M.z)(Jt=>{this.store.dispatch((0,St.ac)({payload:Jt.payload.uiMessage})),this.store.dispatch((0,St.qi)({payload:{action:"UpdateSettings",status:k.Bn.INITIATED}}));let ni=new s.y;if(Jt.payload.settings&&Jt.payload.defaultNodeIndex){const ui=this.httpClient.post(k.vv.CONF_API,{updatedSettings:Jt.payload.settings}),Di=this.httpClient.post(k.vv.CONF_API+"/updateDefaultNode",{defaultNodeIndex:Jt.payload.defaultNodeIndex});ni=(0,C.D)([ui,Di])}else Jt.payload.settings&&!Jt.payload.defaultNodeIndex?ni=this.httpClient.post(k.vv.CONF_API,{updatedSettings:Jt.payload.settings}):!Jt.payload.settings&&Jt.payload.defaultNodeIndex&&(ni=this.httpClient.post(k.vv.CONF_API+"/updateDefaultNode",{defaultNodeIndex:Jt.payload.defaultNodeIndex}));return ni.pipe((0,h.U)(ui=>(this.logger.info(ui),this.store.dispatch((0,St.qi)({payload:{action:"UpdateSettings",status:k.Bn.COMPLETED}})),this.store.dispatch((0,St.uO)({payload:Jt.payload.uiMessage})),{type:k.pg.OPEN_SNACK_BAR,payload:ui.length?ui[0].message+".":ui.message+"."})),(0,w.K)(ui=>(this.handleErrorWithAlert("UpdateSettings",Jt.payload.uiMessage,"Update Settings Failed!",k.vv.CONF_API,ui.length?ui[0]:ui),(0,A.of)({type:k.pg.VOID}))))}))),this.updateServicesettings=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.UPDATE_SERVICE_SETTINGS),(0,M.z)(Jt=>(this.store.dispatch((0,St.ac)({payload:Jt.payload.uiMessage})),this.store.dispatch((0,St.qi)({payload:{action:"UpdateServiceSettings",status:k.Bn.INITIATED}})),this.httpClient.post(k.vv.CONF_API+"/updateServiceSettings",Jt.payload).pipe((0,h.U)(ni=>(this.logger.info(ni),this.store.dispatch((0,St.qi)({payload:{action:"UpdateServiceSettings",status:k.Bn.COMPLETED}})),this.store.dispatch((0,St.uO)({payload:Jt.payload.uiMessage})),this.store.dispatch((0,St.Tm)({payload:Jt.payload})),{type:k.pg.OPEN_SNACK_BAR,payload:ni.message+"."})),(0,w.K)(ni=>(this.handleErrorWithAlert("UpdateServiceSettings",Jt.payload.uiMessage,"Update Service Settings Failed!",k.vv.CONF_API,ni),(0,A.of)({type:k.pg.VOID})))))))),this.twoFASettingSave=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.TWO_FA_SAVE_SETTINGS),(0,M.z)(Jt=>(this.store.dispatch((0,St.ac)({payload:k.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,St.qi)({payload:{action:"Update2FASettings",status:k.Bn.INITIATED}})),this.httpClient.post(k.vv.CONF_API+"/update2FA",{secret2fa:Jt.payload.secret2fa}))),(0,d.M)(this.store.select(Zt.Yj)),(0,h.U)(([Jt,ni])=>{this.logger.info(Jt),ni.enable2FA=!ni.enable2FA,this.store.dispatch((0,St.qi)({payload:{action:"Update2FASettings",status:k.Bn.COMPLETED}})),this.store.dispatch((0,St.uO)({payload:k.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,St.XT)({payload:ni}))}),(0,w.K)(Jt=>(this.handleErrorWithAlert("Update2FASettings",k.m6.UPDATE_UI_SETTINGS,"Update 2FA Settings Failed!",k.vv.CONF_API,Jt),(0,A.of)({type:k.pg.VOID})))),{dispatch:!1}),this.configFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.FETCH_CONFIG),(0,M.z)(Jt=>(this.store.dispatch((0,St.ac)({payload:k.m6.OPEN_CONFIG_FILE})),this.store.dispatch((0,St.qi)({payload:{action:"fetchConfig",status:k.Bn.INITIATED}})),this.httpClient.get(k.vv.CONF_API+"/config/"+Jt.payload).pipe((0,h.U)(ni=>(this.store.dispatch((0,St.qi)({payload:{action:"fetchConfig",status:k.Bn.COMPLETED}})),this.store.dispatch((0,St.uO)({payload:k.m6.OPEN_CONFIG_FILE})),{type:k.pg.SHOW_CONFIG,payload:ni})),(0,w.K)(ni=>(this.handleErrorWithAlert("fetchConfig",k.m6.OPEN_CONFIG_FILE,"Fetch Config Failed!",k.vv.CONF_API+"/config/"+Jt.payload,ni),(0,A.of)({type:k.pg.VOID})))))))),this.showLnConfig=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.SHOW_CONFIG),(0,h.U)(Jt=>Jt.payload)),{dispatch:!1}),this.isAuthorized=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.IS_AUTHORIZED),(0,M.z)(Jt=>(this.store.dispatch((0,St.qi)({payload:{action:"IsAuthorized",status:k.Bn.INITIATED}})),this.httpClient.post(k.vv.AUTHENTICATE_API,{authenticateWith:Jt.payload&&""!==Jt.payload.trim()?k.OJ.PASSWORD:k.OJ.JWT,authenticationValue:Jt.payload&&""!==Jt.payload.trim()?Jt.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,h.U)(ni=>(this.logger.info(ni),this.store.dispatch((0,St.qi)({payload:{action:"IsAuthorized",status:k.Bn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:k.pg.IS_AUTHORIZED_RES,payload:ni})),(0,w.K)(ni=>(this.handleErrorWithAlert("IsAuthorized",k.m6.NO_SPINNER,"Authorization Failed",k.vv.AUTHENTICATE_API,ni),(0,A.of)({type:k.pg.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.IS_AUTHORIZED_RES),(0,h.U)(Jt=>Jt.payload)),{dispatch:!1}),this.authLogin=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.LOGIN),(0,d.M)(this.store.select(Zt.Yj)),(0,M.z)(([Jt,ni])=>(this.store.dispatch((0,Yi.Ll)({payload:null})),this.store.dispatch((0,ji.xH)({payload:null})),this.store.dispatch((0,tn.Fd)({payload:null})),this.store.dispatch((0,St.qi)({payload:{action:"Login",status:k.Bn.INITIATED}})),this.httpClient.post(k.vv.AUTHENTICATE_API,{authenticateWith:Jt.payload.password?k.OJ.PASSWORD:k.OJ.JWT,authenticationValue:Jt.payload.password?Jt.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:Jt.payload.twoFAToken?Jt.payload.twoFAToken:""}).pipe((0,h.U)(ui=>{this.logger.info(ui),this.store.dispatch((0,St.qi)({payload:{action:"Login",status:k.Bn.COMPLETED}})),this.setLoggedInDetails(Jt.payload.defaultPassword,ui)}),(0,w.K)(ui=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",k.m6.NO_SPINNER,ui),+ni.sso.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:ui.error&&ui.error.error?ui.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"]),(0,A.of)({type:k.pg.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.VERIFY_TWO_FA),(0,M.z)(Jt=>(this.store.dispatch((0,St.ac)({payload:k.m6.VERIFY_TOKEN})),this.store.dispatch((0,St.qi)({payload:{action:"VerifyToken",status:k.Bn.INITIATED}})),this.httpClient.post(k.vv.AUTHENTICATE_API+"/token",{authentication2FA:Jt.payload.token}).pipe((0,h.U)(ni=>{this.logger.info(ni),this.store.dispatch((0,St.uO)({payload:k.m6.VERIFY_TOKEN})),this.store.dispatch((0,St.qi)({payload:{action:"VerifyToken",status:k.Bn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,Jt.payload.authResponse)}),(0,w.K)(ni=>(this.handleErrorWithAlert("VerifyToken",k.m6.VERIFY_TOKEN,"Authorization Failed!",k.vv.AUTHENTICATE_API+"/token",ni),(0,A.of)({type:k.pg.VOID}))))))),{dispatch:!1}),this.logOut=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.LOGOUT),(0,M.z)(Jt=>(this.store.dispatch((0,St.ac)({payload:k.m6.LOG_OUT})),Jt.sso&&+Jt.sso.rtlSSO?window.location.href=Jt.sso.logoutRedirectLink:this.router.navigate(["./login"]),this.sessionService.clearAll(),this.store.dispatch((0,St._V)({payload:{}})),this.store.dispatch((0,St.uO)({payload:k.m6.LOG_OUT})),this.logger.info("Logged out from browser"),this.httpClient.get(k.vv.AUTHENTICATE_API+"/logout").pipe((0,h.U)(ni=>{this.logger.info(ni),this.store.dispatch((0,St.uO)({payload:k.m6.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,e.GW)(()=>this.actions.pipe((0,I.R)(this.unSubs[1]),(0,e.l4)(k.pg.RESET_PASSWORD),(0,M.z)(Jt=>(this.store.dispatch((0,St.qi)({payload:{action:"ResetPassword",status:k.Bn.INITIATED}})),this.httpClient.post(k.vv.AUTHENTICATE_API+"/reset",{currPassword:Jt.payload.currPassword,newPassword:Jt.payload.newPassword}).pipe((0,I.R)(this.unSubs[0]),(0,h.U)(ni=>(this.logger.info(ni),this.store.dispatch((0,St.qi)({payload:{action:"ResetPassword",status:k.Bn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,St.jW)({payload:"Password Reset Successful!"})),this.SetToken(ni.token),{type:k.pg.RESET_PASSWORD_RES,payload:ni.token})),(0,w.K)(ni=>(this.handleErrorWithAlert("ResetPassword",k.m6.NO_SPINNER,"Password Reset Failed!",k.vv.AUTHENTICATE_API+"/reset",ni),(0,A.of)({type:k.pg.VOID})))))))),this.setSelectedNode=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.SET_SELECTED_NODE),(0,M.z)(Jt=>(this.store.dispatch((0,St.ac)({payload:Jt.payload.uiMessage})),this.store.dispatch((0,St.qi)({payload:{action:"UpdateSelNode",status:k.Bn.INITIATED}})),this.httpClient.get(k.vv.CONF_API+"/updateSelNode/"+Jt.payload.currentLnNode?.index+"/"+Jt.payload.prevLnNodeIndex).pipe((0,h.U)(ni=>(this.logger.info(ni),this.store.dispatch((0,St.qi)({payload:{action:"UpdateSelNode",status:k.Bn.COMPLETED}})),this.store.dispatch((0,St.uO)({payload:Jt.payload.uiMessage})),this.initializeNode(Jt.payload.currentLnNode,Jt.payload.isInitialSetup),{type:k.pg.VOID})),(0,w.K)(ni=>(this.handleErrorWithAlert("UpdateSelNode",Jt.payload.uiMessage,"Update Selected Node Failed!",k.vv.CONF_API+"/updateSelNode",ni),(0,A.of)({type:k.pg.VOID})))))))),this.fetchFile=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.FETCH_FILE),(0,M.z)(Jt=>{this.store.dispatch((0,St.ac)({payload:k.m6.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,St.qi)({payload:{action:"FetchFile",status:k.Bn.INITIATED}}));const ni="?channel="+Jt.payload.channelPoint+(Jt.payload.path?"&path="+Jt.payload.path:"");return this.httpClient.get(k.vv.CONF_API+"/file"+ni).pipe((0,h.U)(ui=>(this.store.dispatch((0,St.qi)({payload:{action:"FetchFile",status:k.Bn.COMPLETED}})),this.store.dispatch((0,St.uO)({payload:k.m6.DOWNLOAD_BACKUP_FILE})),{type:k.pg.SHOW_FILE,payload:ui})),(0,w.K)(ui=>(this.handleErrorWithAlert("fetchFile",k.m6.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",k.vv.CONF_API+"/file"+ni,{status:this.commonService.extractErrorNumber(ui),error:{error:this.commonService.extractErrorCode(ui)}}),(0,A.of)({type:k.pg.VOID}))))}))),this.showFile=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(k.pg.SHOW_FILE),(0,h.U)(Jt=>Jt.payload)),{dispatch:!1})}initializeNode($t,di){this.logger.info("Initializing node from RTL Effects.");const Xi=di?"":"HOME",Qi={userPersona:$t.settings.userPersona,channelBackupPath:$t.settings.channelBackupPath,unannouncedChannels:!!$t.settings.unannouncedChannels,selCurrencyUnit:$t.settings.currencyUnit,currencyUnits:k.uA,fiatConversion:$t.settings.fiatConversion,lnImplementation:$t.lnImplementation,swapServerUrl:$t.settings.swapServerUrl,boltzServerUrl:$t.settings.boltzServerUrl,enableOffers:$t.settings.enableOffers,enablePeerswap:$t.settings.enablePeerswap};if($t.settings.fiatConversion&&$t.settings.currencyUnit&&(Qi.currencyUnits=[...k.uA,$t.settings.currencyUnit]),this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clnUnlocked"),this.sessionService.removeItem("eclUnlocked"),this.store.dispatch((0,St.vI)({payload:$t})),this.store.dispatch((0,Yi.Ll)({payload:Qi})),this.store.dispatch((0,ji.xH)({payload:Qi})),this.store.dispatch((0,tn.Fd)({payload:Qi})),this.sessionService.getItem("token")){const Vn=$t.lnImplementation?$t.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(Vn);const Xn=!(0,t.X6Q)()&&window.location.origin?window.location.origin+"/rtl/api":k.T5;switch(this.wsService.connectWebSocket(Xn?.replace(/^http/,"ws")+k.vv.Web_SOCKET_API,$t.index?$t.index.toString():"-1"),Vn){case"CLN":this.store.dispatch((0,ji.CN)({payload:{loadPage:Xi}}));break;case"ECL":this.store.dispatch((0,tn.iz)({payload:{loadPage:Xi}}));break;default:this.store.dispatch((0,Yi.sQ)({payload:{loadPage:Xi}}))}}}SetToken($t){$t?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",$t)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails($t,di){this.logger.info("Successfully Authorized!"),this.SetToken(di.token),this.sessionService.setItem("defaultPassword",$t),$t?(this.store.dispatch((0,St.jW)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,St.ey)())}handleErrorWithoutAlert($t,di,Xi){this.logger.error("ERROR IN: "+$t+"\n"+JSON.stringify(Xi)),401===Xi.status&&"Login"!==$t?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,St.ts)()),this.store.dispatch((0,St.kS)()),this.store.dispatch((0,St.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,St.uO)({payload:di})),this.store.dispatch((0,St.qi)({payload:{action:$t,status:k.Bn.ERROR,statusCode:Xi.status?Xi.status.toString():"",message:this.commonService.extractErrorMessage(Xi)}})))}handleErrorWithAlert($t,di,Xi,Qi,Vn){if(this.logger.error(Vn),0===Vn.status&&Vn.statusText&&"Unknown Error"===Vn.statusText&&(Vn={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===Vn.status&&"Login"!==$t)this.logger.info("Redirecting to Login"),this.store.dispatch((0,St.ts)()),this.store.dispatch((0,St.kS)()),this.store.dispatch((0,St.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,St.uO)({payload:di}));const Xn=this.commonService.extractErrorMessage(Vn);this.store.dispatch((0,St.qR)({payload:{data:{type:"ERROR",alertTitle:Xi,message:{code:Vn.status?Vn.status:"Unknown Error",message:Xn,URL:Qi},component:Dt.H}}})),this.store.dispatch((0,St.qi)({payload:{action:$t,status:k.Bn.ERROR,statusCode:Vn.status?Vn.status.toString():"",message:Xn,URL:Qi}}))}}ngOnDestroy(){this.unSubs.forEach($t=>{$t.next(null),$t.complete()})}}return Ot.\u0275fac=function($t){return new($t||Ot)(t.LFG(e.eX),t.LFG(Qt.eN),t.LFG(nt.yh),t.LFG(K.mQ),t.LFG(_e.d),t.LFG(ht.m),t.LFG(te.v),t.LFG(Lt.D),t.LFG(O.uw),t.LFG(q.ux),t.LFG(pe.F0))},Ot.\u0275prov=t.Yz7({token:Ot,factory:Ot.\u0275fac}),Ot})()},8377:(Be,Q,m)=>{"use strict";m.d(Q,{R4:()=>C,Sr:()=>P,Yj:()=>s,dT:()=>A,gW:()=>d,ul:()=>h});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)),s=(0,t.P1)(e,M=>M.appConfig),C=(0,t.P1)(e,M=>M.nodeData),h=(0,t.P1)(e,M=>M.apisCallStatus.Login),P=(0,t.P1)(e,M=>M.apisCallStatus.IsAuthorized),d=(0,t.P1)(e,M=>({nodeDate:M.nodeData,selNode:M.selNode}))},5415:(Be,Q,m)=>{"use strict";var t=m(1481),e=m(4650),g=m(7340);function s(R){return new e.vHH(3e3,!1)}function $e(){return typeof window<"u"&&typeof window.document<"u"}function Ve(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function We(R){switch(R.length){case 0:return new g.ZN;case 1:return R[0];default:return new g.ZE(R)}}function Re(R,N,_,F,ie=new Map,et=new Map){const Gt=[],ei=[];let li=-1,xi=null;if(F.forEach($i=>{const zi=$i.get("offset"),An=zi==li,kn=An&&xi||new Map;$i.forEach((pn,wn)=>{let $n=wn,_a=pn;if("offset"!==wn)switch($n=N.normalizePropertyName($n,Gt),_a){case g.k1:_a=ie.get(wn);break;case g.l3:_a=et.get(wn);break;default:_a=N.normalizeStyleValue(wn,$n,_a,Gt)}kn.set($n,_a)}),An||ei.push(kn),xi=kn,li=zi}),Gt.length)throw function a(R){return new e.vHH(3502,!1)}();return ei}function we(R,N,_,F){switch(N){case"start":R.onStart(()=>F(_&&me(_,"start",R)));break;case"done":R.onDone(()=>F(_&&me(_,"done",R)));break;case"destroy":R.onDestroy(()=>F(_&&me(_,"destroy",R)))}}function me(R,N,_){const et=Ae(R.element,R.triggerName,R.fromState,R.toState,N||R.phaseName,_.totalTime??R.totalTime,!!_.disabled),Gt=R._data;return null!=Gt&&(et._data=Gt),et}function Ae(R,N,_,F,ie="",et=0,Gt){return{element:R,triggerName:N,fromState:_,toState:F,phaseName:ie,totalTime:et,disabled:!!Gt}}function ee(R,N,_){let F=R.get(N);return F||R.set(N,F=_),F}function Ze(R){const N=R.indexOf(":");return[R.substring(1,N),R.slice(N+1)]}let Oe=(R,N)=>!1,fe=(R,N,_)=>[],Se=null;function ge(R){const N=R.parentNode||R.host;return N===Se?null:N}(Ve()||typeof Element<"u")&&($e()?(Se=(()=>document.documentElement)(),Oe=(R,N)=>{for(;N;){if(N===R)return!0;N=ge(N)}return!1}):Oe=(R,N)=>R.contains(N),fe=(R,N,_)=>{if(_)return Array.from(R.querySelectorAll(N));const F=R.querySelector(N);return F?[F]:[]});let Ie=null,de=!1;const Nt=Oe,Ke=fe;let Ct=(()=>{class R{validateStyleProperty(_){return function rt(R){Ie||(Ie=function lt(){return typeof document<"u"?document.body:null}()||{},de=!!Ie.style&&"WebkitAppearance"in Ie.style);let N=!0;return Ie.style&&!function vt(R){return"ebkit"==R.substring(1,6)}(R)&&(N=R in Ie.style,!N&&de&&(N="Webkit"+R.charAt(0).toUpperCase()+R.slice(1)in Ie.style)),N}(_)}matchesElement(_,F){return!1}containsElement(_,F){return Nt(_,F)}getParentElement(_){return ge(_)}query(_,F,ie){return Ke(_,F,ie)}computeStyle(_,F,ie){return ie||""}animate(_,F,ie,et,Gt,ei=[],li){return new g.ZN(ie,et)}}return R.\u0275fac=function(_){return new(_||R)},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})(),ye=(()=>{class R{}return R.NOOP=new Ct,R})();const Qe=1e3,mt="ng-enter",St="ng-leave",nt="ng-trigger",Ye=".ng-trigger",zt="ng-animating",xt=".ng-animating";function Ht(R){if("number"==typeof R)return R;const N=R.match(/^(-?[\.\d]+)(m?s)/);return!N||N.length<2?0:Ut(parseFloat(N[1]),N[2])}function Ut(R,N){return"s"===N?R*Qe:R}function De(R,N,_){return R.hasOwnProperty("duration")?R:function X(R,N,_){let ie,et=0,Gt="";if("string"==typeof R){const ei=R.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===ei)return N.push(s()),{duration:0,delay:0,easing:""};ie=Ut(parseFloat(ei[1]),ei[2]);const li=ei[3];null!=li&&(et=Ut(parseFloat(li),ei[4]));const xi=ei[5];xi&&(Gt=xi)}else ie=R;if(!_){let ei=!1,li=N.length;ie<0&&(N.push(function C(){return new e.vHH(3100,!1)}()),ei=!0),et<0&&(N.push(function h(){return new e.vHH(3101,!1)}()),ei=!0),ei&&N.splice(li,0,s())}return{duration:ie,delay:et,easing:Gt}}(R,N,_)}function ue(R,N={}){return Object.keys(R).forEach(_=>{N[_]=R[_]}),N}function Ee(R){const N=new Map;return Object.keys(R).forEach(_=>{N.set(_,R[_])}),N}function Vt(R,N=new Map,_){if(_)for(let[F,ie]of _)N.set(F,ie);for(let[F,ie]of R)N.set(F,ie);return N}function ri(R,N,_){return _?N+":"+_+";":""}function pt(R){let N="";for(let _=0;_<R.style.length;_++){const F=R.style.item(_);N+=ri(0,F,R.style.getPropertyValue(F))}for(const _ in R.style)R.style.hasOwnProperty(_)&&!_.startsWith("_")&&(N+=ri(0,Yt(_),R.style[_]));R.setAttribute("style",N)}function ot(R,N,_){R.style&&(N.forEach((F,ie)=>{const et=Et(ie);_&&!_.has(ie)&&_.set(ie,R.style[et]),R.style[et]=F}),Ve()&&pt(R))}function ut(R,N){R.style&&(N.forEach((_,F)=>{const ie=Et(F);R.style[ie]=""}),Ve()&&pt(R))}function wt(R){return Array.isArray(R)?1==R.length?R[0]:(0,g.vP)(R):R}const Xe=new RegExp("{{\\s*(.+?)\\s*}}","g");function gt(R){let N=[];if("string"==typeof R){let _;for(;_=Xe.exec(R);)N.push(_[1]);Xe.lastIndex=0}return N}function _t(R,N,_){const F=R.toString(),ie=F.replace(Xe,(et,Gt)=>{let ei=N[Gt];return null==ei&&(_.push(function d(R){return new e.vHH(3003,!1)}()),ei=""),ei.toString()});return ie==F?R:ie}function Fe(R){const N=[];let _=R.next();for(;!_.done;)N.push(_.value),_=R.next();return N}const Mt=/-+([a-z0-9])/g;function Et(R){return R.replace(Mt,(...N)=>N[1].toUpperCase())}function Yt(R){return R.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function Ci(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 Bi(R,N){return window.getComputedStyle(R)[N]}const ki="*";function Yi(R,N){const _=[];return"string"==typeof R?R.split(/\s*,\s*/).forEach(F=>function ji(R,N,_){if(":"==R[0]){const li=function tn(R,N){switch(R){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(_,F)=>parseFloat(F)>parseFloat(_);case":decrement":return(_,F)=>parseFloat(F)<parseFloat(_);default:return N.push(function se(R){return new e.vHH(3016,!1)}()),"* => *"}}(R,_);if("function"==typeof li)return void N.push(li);R=li}const F=R.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==F||F.length<4)return _.push(function ce(R){return new e.vHH(3015,!1)}()),N;const ie=F[1],et=F[2],Gt=F[3];N.push(_e(ie,Gt));"<"==et[0]&&!(ie==ki&&Gt==ki)&&N.push(_e(Gt,ie))}(F,_,N)):_.push(R),_}const Zt=new Set(["true","1"]),Qt=new Set(["false","0"]);function _e(R,N){const _=Zt.has(R)||Qt.has(R),F=Zt.has(N)||Qt.has(N);return(ie,et)=>{let Gt=R==ki||R==ie,ei=N==ki||N==et;return!Gt&&_&&"boolean"==typeof ie&&(Gt=ie?Zt.has(R):Qt.has(R)),!ei&&F&&"boolean"==typeof et&&(ei=et?Zt.has(N):Qt.has(N)),Gt&&ei}}const Lt=new RegExp("s*:selfs*,?","g");function Bt(R,N,_,F){return new _i(R).build(N,_,F)}class _i{constructor(N){this._driver=N}build(N,_,F){const ie=new Xi(_);return this._resetContextStyleTimingState(ie),Ci(this,wt(N),ie)}_resetContextStyleTimingState(N){N.currentQuerySelector="",N.collectedStyles=new Map,N.collectedStyles.set("",new Map),N.currentTime=0}visitTrigger(N,_){let F=_.queryCount=0,ie=_.depCount=0;const et=[],Gt=[];return"@"==N.name.charAt(0)&&_.errors.push(function I(){return new e.vHH(3006,!1)}()),N.definitions.forEach(ei=>{if(this._resetContextStyleTimingState(_),0==ei.type){const li=ei,xi=li.name;xi.toString().split(/\s*,\s*/).forEach($i=>{li.name=$i,et.push(this.visitState(li,_))}),li.name=xi}else if(1==ei.type){const li=this.visitTransition(ei,_);F+=li.queryCount,ie+=li.depCount,Gt.push(li)}else _.errors.push(function k(){return new e.vHH(3007,!1)}())}),{type:7,name:N.name,states:et,transitions:Gt,queryCount:F,depCount:ie,options:null}}visitState(N,_){const F=this.visitStyle(N.styles,_),ie=N.options&&N.options.params||null;if(F.containsDynamicStyles){const et=new Set,Gt=ie||{};F.styles.forEach(ei=>{ei instanceof Map&&ei.forEach(li=>{gt(li).forEach(xi=>{Gt.hasOwnProperty(xi)||et.add(xi)})})}),et.size&&(Fe(et.values()),_.errors.push(function O(R,N){return new e.vHH(3008,!1)}()))}return{type:0,name:N.name,style:F,options:ie?{params:ie}:null}}visitTransition(N,_){_.queryCount=0,_.depCount=0;const F=Ci(this,wt(N.animation),_);return{type:1,matchers:Yi(N.expr,_.errors),animation:F,queryCount:_.queryCount,depCount:_.depCount,options:Xn(N.options)}}visitSequence(N,_){return{type:2,steps:N.steps.map(F=>Ci(this,F,_)),options:Xn(N.options)}}visitGroup(N,_){const F=_.currentTime;let ie=0;const et=N.steps.map(Gt=>{_.currentTime=F;const ei=Ci(this,Gt,_);return ie=Math.max(ie,_.currentTime),ei});return _.currentTime=ie,{type:3,steps:et,options:Xn(N.options)}}visitAnimate(N,_){const F=function Vn(R,N){if(R.hasOwnProperty("duration"))return R;if("number"==typeof R)return Ma(De(R,N).duration,0,"");const _=R;if(_.split(/\s+/).some(et=>"{"==et.charAt(0)&&"{"==et.charAt(1))){const et=Ma(0,0,"");return et.dynamic=!0,et.strValue=_,et}const ie=De(_,N);return Ma(ie.duration,ie.delay,ie.easing)}(N.timings,_.errors);_.currentAnimateTimings=F;let ie,et=N.styles?N.styles:(0,g.oB)({});if(5==et.type)ie=this.visitKeyframes(et,_);else{let Gt=N.styles,ei=!1;if(!Gt){ei=!0;const xi={};F.easing&&(xi.easing=F.easing),Gt=(0,g.oB)(xi)}_.currentTime+=F.duration+F.delay;const li=this.visitStyle(Gt,_);li.isEmptyStep=ei,ie=li}return _.currentAnimateTimings=null,{type:4,timings:F,style:ie,options:null}}visitStyle(N,_){const F=this._makeStyleAst(N,_);return this._validateStyleAst(F,_),F}_makeStyleAst(N,_){const F=[],ie=Array.isArray(N.styles)?N.styles:[N.styles];for(let ei of ie)"string"==typeof ei?ei===g.l3?F.push(ei):_.errors.push(new e.vHH(3002,!1)):F.push(Ee(ei));let et=!1,Gt=null;return F.forEach(ei=>{if(ei instanceof Map&&(ei.has("easing")&&(Gt=ei.get("easing"),ei.delete("easing")),!et))for(let li of ei.values())if(li.toString().indexOf("{{")>=0){et=!0;break}}),{type:6,styles:F,easing:Gt,offset:N.offset,containsDynamicStyles:et,options:null}}_validateStyleAst(N,_){const F=_.currentAnimateTimings;let ie=_.currentTime,et=_.currentTime;F&&et>0&&(et-=F.duration+F.delay),N.styles.forEach(Gt=>{"string"!=typeof Gt&&Gt.forEach((ei,li)=>{const xi=_.collectedStyles.get(_.currentQuerySelector),$i=xi.get(li);let zi=!0;$i&&(et!=ie&&et>=$i.startTime&&ie<=$i.endTime&&(_.errors.push(function W(R,N,_,F,ie){return new e.vHH(3010,!1)}()),zi=!1),et=$i.startTime),zi&&xi.set(li,{startTime:et,endTime:ie}),_.options&&function ft(R,N,_){const F=N.params||{},ie=gt(R);ie.length&&ie.forEach(et=>{F.hasOwnProperty(et)||_.push(function P(R){return new e.vHH(3001,!1)}())})}(ei,_.options,_.errors)})})}visitKeyframes(N,_){const F={type:5,styles:[],options:null};if(!_.currentAnimateTimings)return _.errors.push(function K(){return new e.vHH(3011,!1)}()),F;let et=0;const Gt=[];let ei=!1,li=!1,xi=0;const $i=N.steps.map(_a=>{const Pr=this._makeStyleAst(_a,_);let Rr=null!=Pr.offset?Pr.offset:function Qi(R){if("string"==typeof R)return null;let N=null;if(Array.isArray(R))R.forEach(_=>{if(_ instanceof Map&&_.has("offset")){const F=_;N=parseFloat(F.get("offset")),F.delete("offset")}});else if(R instanceof Map&&R.has("offset")){const _=R;N=parseFloat(_.get("offset")),_.delete("offset")}return N}(Pr.styles),Nr=0;return null!=Rr&&(et++,Nr=Pr.offset=Rr),li=li||Nr<0||Nr>1,ei=ei||Nr<xi,xi=Nr,Gt.push(Nr),Pr});li&&_.errors.push(function q(){return new e.vHH(3012,!1)}()),ei&&_.errors.push(function te(){return new e.vHH(3200,!1)}());const zi=N.steps.length;let An=0;et>0&&et<zi?_.errors.push(function pe(){return new e.vHH(3202,!1)}()):0==et&&(An=1/(zi-1));const kn=zi-1,pn=_.currentTime,wn=_.currentAnimateTimings,$n=wn.duration;return $i.forEach((_a,Pr)=>{const Rr=An>0?Pr==kn?1:An*Pr:Gt[Pr],Nr=Rr*$n;_.currentTime=pn+wn.delay+Nr,wn.duration=Nr,this._validateStyleAst(_a,_),_a.offset=Rr,F.styles.push(_a)}),F}visitReference(N,_){return{type:8,animation:Ci(this,wt(N.animation),_),options:Xn(N.options)}}visitAnimateChild(N,_){return _.depCount++,{type:9,options:Xn(N.options)}}visitAnimateRef(N,_){return{type:10,animation:this.visitReference(N.animation,_),options:Xn(N.options)}}visitQuery(N,_){const F=_.currentQuerySelector,ie=N.options||{};_.queryCount++,_.currentQuery=N;const[et,Gt]=function $t(R){const N=!!R.split(/\s*,\s*/).find(_=>":self"==_);return N&&(R=R.replace(Lt,"")),R=R.replace(/@\*/g,Ye).replace(/@\w+/g,_=>Ye+"-"+_.slice(1)).replace(/:animating/g,xt),[R,N]}(N.selector);_.currentQuerySelector=F.length?F+" "+et:et,ee(_.collectedStyles,_.currentQuerySelector,new Map);const ei=Ci(this,wt(N.animation),_);return _.currentQuery=null,_.currentQuerySelector=F,{type:11,selector:et,limit:ie.limit||0,optional:!!ie.optional,includeSelf:Gt,animation:ei,originalSelector:N.selector,options:Xn(N.options)}}visitStagger(N,_){_.currentQuery||_.errors.push(function oe(){return new e.vHH(3013,!1)}());const F="full"===N.timings?{duration:0,delay:0,easing:"full"}:De(N.timings,_.errors,!0);return{type:12,animation:Ci(this,wt(N.animation),_),timings:F,options:null}}}class Xi{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 Xn(R){return R?(R=ue(R)).params&&(R.params=function di(R){return R?ue(R):null}(R.params)):R={},R}function Ma(R,N,_){return{duration:R,delay:N,easing:_}}function Oa(R,N,_,F,ie,et,Gt=null,ei=!1){return{type:1,element:R,keyframes:N,preStyleProps:_,postStyleProps:F,duration:ie,delay:et,totalTime:ie+et,easing:Gt,subTimeline:ei}}class Wn{constructor(){this._map=new Map}get(N){return this._map.get(N)||[]}append(N,_){let F=this._map.get(N);F||this._map.set(N,F=[]),F.push(..._)}has(N){return this._map.has(N)}clear(){this._map.clear()}}const Jt=new RegExp(":enter","g"),ui=new RegExp(":leave","g");function Di(R,N,_,F,ie,et=new Map,Gt=new Map,ei,li,xi=[]){return(new Hi).buildKeyframes(R,N,_,F,ie,et,Gt,ei,li,xi)}class Hi{buildKeyframes(N,_,F,ie,et,Gt,ei,li,xi,$i=[]){xi=xi||new Wn;const zi=new Gn(N,_,xi,ie,et,$i,[]);zi.options=li;const An=li.delay?Ht(li.delay):0;zi.currentTimeline.delayNextStep(An),zi.currentTimeline.setStyles([Gt],null,zi.errors,li),Ci(this,F,zi);const kn=zi.timelines.filter(pn=>pn.containsAnimation());if(kn.length&&ei.size){let pn;for(let wn=kn.length-1;wn>=0;wn--){const $n=kn[wn];if($n.element===_){pn=$n;break}}pn&&!pn.allowOnlyTimelineStyles()&&pn.setStyles([ei],null,zi.errors,li)}return kn.length?kn.map(pn=>pn.buildKeyframes()):[Oa(_,[],[],[],0,An,"",!1)]}visitTrigger(N,_){}visitState(N,_){}visitTransition(N,_){}visitAnimateChild(N,_){const F=_.subInstructions.get(_.element);if(F){const ie=_.createSubContext(N.options),et=_.currentTimeline.currentTime,Gt=this._visitSubInstructions(F,ie,ie.options);et!=Gt&&_.transformIntoNewTimeline(Gt)}_.previousNode=N}visitAnimateRef(N,_){const F=_.createSubContext(N.options);F.transformIntoNewTimeline(),this._applyAnimationRefDelays([N.options,N.animation.options],_,F),this.visitReference(N.animation,F),_.transformIntoNewTimeline(F.currentTimeline.currentTime),_.previousNode=N}_applyAnimationRefDelays(N,_,F){for(const ie of N){const et=ie?.delay;if(et){const Gt="number"==typeof et?et:Ht(_t(et,ie?.params??{},_.errors));F.delayNextStep(Gt)}}}_visitSubInstructions(N,_,F){let et=_.currentTimeline.currentTime;const Gt=null!=F.duration?Ht(F.duration):null,ei=null!=F.delay?Ht(F.delay):null;return 0!==Gt&&N.forEach(li=>{const xi=_.appendInstructionToTimeline(li,Gt,ei);et=Math.max(et,xi.duration+xi.delay)}),et}visitReference(N,_){_.updateOptions(N.options,!0),Ci(this,N.animation,_),_.previousNode=N}visitSequence(N,_){const F=_.subContextCount;let ie=_;const et=N.options;if(et&&(et.params||et.delay)&&(ie=_.createSubContext(et),ie.transformIntoNewTimeline(),null!=et.delay)){6==ie.previousNode.type&&(ie.currentTimeline.snapshotCurrentStyles(),ie.previousNode=hn);const Gt=Ht(et.delay);ie.delayNextStep(Gt)}N.steps.length&&(N.steps.forEach(Gt=>Ci(this,Gt,ie)),ie.currentTimeline.applyStylesToKeyframe(),ie.subContextCount>F&&ie.transformIntoNewTimeline()),_.previousNode=N}visitGroup(N,_){const F=[];let ie=_.currentTimeline.currentTime;const et=N.options&&N.options.delay?Ht(N.options.delay):0;N.steps.forEach(Gt=>{const ei=_.createSubContext(N.options);et&&ei.delayNextStep(et),Ci(this,Gt,ei),ie=Math.max(ie,ei.currentTimeline.currentTime),F.push(ei.currentTimeline)}),F.forEach(Gt=>_.currentTimeline.mergeTimelineCollectedStyles(Gt)),_.transformIntoNewTimeline(ie),_.previousNode=N}_visitTiming(N,_){if(N.dynamic){const F=N.strValue;return De(_.params?_t(F,_.params,_.errors):F,_.errors)}return{duration:N.duration,delay:N.delay,easing:N.easing}}visitAnimate(N,_){const F=_.currentAnimateTimings=this._visitTiming(N.timings,_),ie=_.currentTimeline;F.delay&&(_.incrementTime(F.delay),ie.snapshotCurrentStyles());const et=N.style;5==et.type?this.visitKeyframes(et,_):(_.incrementTime(F.duration),this.visitStyle(et,_),ie.applyStylesToKeyframe()),_.currentAnimateTimings=null,_.previousNode=N}visitStyle(N,_){const F=_.currentTimeline,ie=_.currentAnimateTimings;!ie&&F.hasCurrentStyleProperties()&&F.forwardFrame();const et=ie&&ie.easing||N.easing;N.isEmptyStep?F.applyEmptyStep(et):F.setStyles(N.styles,et,_.errors,_.options),_.previousNode=N}visitKeyframes(N,_){const F=_.currentAnimateTimings,ie=_.currentTimeline.duration,et=F.duration,ei=_.createSubContext().currentTimeline;ei.easing=F.easing,N.styles.forEach(li=>{ei.forwardTime((li.offset||0)*et),ei.setStyles(li.styles,li.easing,_.errors,_.options),ei.applyStylesToKeyframe()}),_.currentTimeline.mergeTimelineCollectedStyles(ei),_.transformIntoNewTimeline(ie+et),_.previousNode=N}visitQuery(N,_){const F=_.currentTimeline.currentTime,ie=N.options||{},et=ie.delay?Ht(ie.delay):0;et&&(6===_.previousNode.type||0==F&&_.currentTimeline.hasCurrentStyleProperties())&&(_.currentTimeline.snapshotCurrentStyles(),_.previousNode=hn);let Gt=F;const ei=_.invokeQuery(N.selector,N.originalSelector,N.limit,N.includeSelf,!!ie.optional,_.errors);_.currentQueryTotal=ei.length;let li=null;ei.forEach((xi,$i)=>{_.currentQueryIndex=$i;const zi=_.createSubContext(N.options,xi);et&&zi.delayNextStep(et),xi===_.element&&(li=zi.currentTimeline),Ci(this,N.animation,zi),zi.currentTimeline.applyStylesToKeyframe(),Gt=Math.max(Gt,zi.currentTimeline.currentTime)}),_.currentQueryIndex=0,_.currentQueryTotal=0,_.transformIntoNewTimeline(Gt),li&&(_.currentTimeline.mergeTimelineCollectedStyles(li),_.currentTimeline.snapshotCurrentStyles()),_.previousNode=N}visitStagger(N,_){const F=_.parentContext,ie=_.currentTimeline,et=N.timings,Gt=Math.abs(et.duration),ei=Gt*(_.currentQueryTotal-1);let li=Gt*_.currentQueryIndex;switch(et.duration<0?"reverse":et.easing){case"reverse":li=ei-li;break;case"full":li=F.currentStaggerTime}const $i=_.currentTimeline;li&&$i.delayNextStep(li);const zi=$i.currentTime;Ci(this,N.animation,_),_.previousNode=N,F.currentStaggerTime=ie.currentTime-zi+(ie.startTime-F.currentTimeline.startTime)}}const hn={};class Gn{constructor(N,_,F,ie,et,Gt,ei,li){this._driver=N,this.element=_,this.subInstructions=F,this._enterClassName=ie,this._leaveClassName=et,this.errors=Gt,this.timelines=ei,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=hn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=li||new Fn(this._driver,_,0),ei.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(N,_){if(!N)return;const F=N;let ie=this.options;null!=F.duration&&(ie.duration=Ht(F.duration)),null!=F.delay&&(ie.delay=Ht(F.delay));const et=F.params;if(et){let Gt=ie.params;Gt||(Gt=this.options.params={}),Object.keys(et).forEach(ei=>{(!_||!Gt.hasOwnProperty(ei))&&(Gt[ei]=_t(et[ei],Gt,this.errors))})}}_copyOptions(){const N={};if(this.options){const _=this.options.params;if(_){const F=N.params={};Object.keys(_).forEach(ie=>{F[ie]=_[ie]})}}return N}createSubContext(N=null,_,F){const ie=_||this.element,et=new Gn(this._driver,ie,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(ie,F||0));return et.previousNode=this.previousNode,et.currentAnimateTimings=this.currentAnimateTimings,et.options=this._copyOptions(),et.updateOptions(N),et.currentQueryIndex=this.currentQueryIndex,et.currentQueryTotal=this.currentQueryTotal,et.parentContext=this,this.subContextCount++,et}transformIntoNewTimeline(N){return this.previousNode=hn,this.currentTimeline=this.currentTimeline.fork(this.element,N),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(N,_,F){const ie={duration:_??N.duration,delay:this.currentTimeline.currentTime+(F??0)+N.delay,easing:""},et=new ba(this._driver,N.element,N.keyframes,N.preStyleProps,N.postStyleProps,ie,N.stretchStartingKeyframe);return this.timelines.push(et),ie}incrementTime(N){this.currentTimeline.forwardTime(this.currentTimeline.duration+N)}delayNextStep(N){N>0&&this.currentTimeline.delayNextStep(N)}invokeQuery(N,_,F,ie,et,Gt){let ei=[];if(ie&&ei.push(this.element),N.length>0){N=(N=N.replace(Jt,"."+this._enterClassName)).replace(ui,"."+this._leaveClassName);let xi=this._driver.query(this.element,N,1!=F);0!==F&&(xi=F<0?xi.slice(xi.length+F,xi.length):xi.slice(0,F)),ei.push(...xi)}return!et&&0==ei.length&&Gt.push(function re(R){return new e.vHH(3014,!1)}()),ei}}class Fn{constructor(N,_,F,ie){this._driver=N,this.element=_,this.startTime=F,this._elementTimelineStylesLookup=ie,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(_),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 Fn(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[_,F]of this._globalTimelineStyles)this._backFill.set(_,F||g.l3),this._currentKeyframe.set(_,g.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(N,_,F,ie){_&&this._previousKeyframe.set("easing",_);const et=ie&&ie.params||{},Gt=function Hn(R,N){const _=new Map;let F;return R.forEach(ie=>{if("*"===ie){F=F||N.keys();for(let et of F)_.set(et,g.l3)}else Vt(ie,_)}),_}(N,this._globalTimelineStyles);for(let[ei,li]of Gt){const xi=_t(li,et,F);this._pendingStyles.set(ei,xi),this._localTimelineStyles.has(ei)||this._backFill.set(ei,this._globalTimelineStyles.get(ei)??g.l3),this._updateStyle(ei,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((_,F)=>{const ie=this._styleSummary.get(F);(!ie||_.time>ie.time)&&this._updateStyle(F,_.value)})}buildKeyframes(){this.applyStylesToKeyframe();const N=new Set,_=new Set,F=1===this._keyframes.size&&0===this.duration;let ie=[];this._keyframes.forEach((ei,li)=>{const xi=Vt(ei,new Map,this._backFill);xi.forEach(($i,zi)=>{$i===g.k1?N.add(zi):$i===g.l3&&_.add(zi)}),F||xi.set("offset",li/this.duration),ie.push(xi)});const et=N.size?Fe(N.values()):[],Gt=_.size?Fe(_.values()):[];if(F){const ei=ie[0],li=new Map(ei);ei.set("offset",0),li.set("offset",1),ie=[ei,li]}return Oa(this.element,ie,et,Gt,this.duration,this.startTime,this.easing,!1)}}class ba extends Fn{constructor(N,_,F,ie,et,Gt,ei=!1){super(N,_,Gt.delay),this.keyframes=F,this.preStyleProps=ie,this.postStyleProps=et,this._stretchStartingKeyframe=ei,this.timings={duration:Gt.duration,delay:Gt.delay,easing:Gt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let N=this.keyframes,{delay:_,duration:F,easing:ie}=this.timings;if(this._stretchStartingKeyframe&&_){const et=[],Gt=F+_,ei=_/Gt,li=Vt(N[0]);li.set("offset",0),et.push(li);const xi=Vt(N[0]);xi.set("offset",En(ei)),et.push(xi);const $i=N.length-1;for(let zi=1;zi<=$i;zi++){let An=Vt(N[zi]);const kn=An.get("offset");An.set("offset",En((_+kn*F)/Gt)),et.push(An)}F=Gt,_=0,ie="",N=et}return Oa(this.element,N,this.preStyleProps,this.postStyleProps,F,_,ie,!0)}}function En(R,N=3){const _=Math.pow(10,N-1);return Math.round(R*_)/_}class zn{}const Sr=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 br extends zn{normalizePropertyName(N,_){return Et(N)}normalizeStyleValue(N,_,F,ie){let et="";const Gt=F.toString().trim();if(Sr.has(_)&&0!==F&&"0"!==F)if("number"==typeof F)et="px";else{const ei=F.match(/^[+-]?[\d\.]+([a-z]*)$/);ei&&0==ei[1].length&&ie.push(function w(R,N){return new e.vHH(3005,!1)}())}return Gt+et}}function Ja(R,N,_,F,ie,et,Gt,ei,li,xi,$i,zi,An){return{type:0,element:R,triggerName:N,isRemovalTransition:ie,fromState:_,fromStyles:et,toState:F,toStyles:Gt,timelines:ei,queriedElements:li,preStyleProps:xi,postStyleProps:$i,totalTime:zi,errors:An}}const Qn={};class Ga{constructor(N,_,F){this._triggerName=N,this.ast=_,this._stateStyles=F}match(N,_,F,ie){return function qr(R,N,_,F,ie){return R.some(et=>et(N,_,F,ie))}(this.ast.matchers,N,_,F,ie)}buildStyles(N,_,F){let ie=this._stateStyles.get("*");return void 0!==N&&(ie=this._stateStyles.get(N?.toString())||ie),ie?ie.buildStyles(_,F):new Map}build(N,_,F,ie,et,Gt,ei,li,xi,$i){const zi=[],An=this.ast.options&&this.ast.options.params||Qn,pn=this.buildStyles(F,ei&&ei.params||Qn,zi),wn=li&&li.params||Qn,$n=this.buildStyles(ie,wn,zi),_a=new Set,Pr=new Map,Rr=new Map,Nr="void"===ie,Kc={params:yr(wn,An),delay:this.ast.options?.delay},ps=$i?[]:Di(N,_,this.ast.animation,et,Gt,pn,$n,Kc,xi,zi);let Fr=0;if(ps.forEach(es=>{Fr=Math.max(es.duration+es.delay,Fr)}),zi.length)return Ja(_,this._triggerName,F,ie,Nr,pn,$n,[],[],Pr,Rr,Fr,zi);ps.forEach(es=>{const gs=es.element,Qc=ee(Pr,gs,new Set);es.preStyleProps.forEach(Mc=>Qc.add(Mc));const _s=ee(Rr,gs,new Set);es.postStyleProps.forEach(Mc=>_s.add(Mc)),gs!==_&&_a.add(gs)});const ac=Fe(_a.values());return Ja(_,this._triggerName,F,ie,Nr,pn,$n,ps,ac,Pr,Rr,Fr)}}function yr(R,N){const _=ue(N);for(const F in R)R.hasOwnProperty(F)&&null!=R[F]&&(_[F]=R[F]);return _}class Jr{constructor(N,_,F){this.styles=N,this.defaultParams=_,this.normalizer=F}buildStyles(N,_){const F=new Map,ie=ue(this.defaultParams);return Object.keys(N).forEach(et=>{const Gt=N[et];null!==Gt&&(ie[et]=Gt)}),this.styles.styles.forEach(et=>{"string"!=typeof et&&et.forEach((Gt,ei)=>{Gt&&(Gt=_t(Gt,ie,_));const li=this.normalizer.normalizePropertyName(ei,_);Gt=this.normalizer.normalizeStyleValue(ei,li,Gt,_),F.set(ei,Gt)})}),F}}class Ea{constructor(N,_,F){this.name=N,this.ast=_,this._normalizer=F,this.transitionFactories=[],this.states=new Map,_.states.forEach(ie=>{this.states.set(ie.name,new Jr(ie.style,ie.options&&ie.options.params||{},F))}),Za(this.states,"true","1"),Za(this.states,"false","0"),_.transitions.forEach(ie=>{this.transitionFactories.push(new Ga(N,ie,this.states))}),this.fallbackTransition=function So(R,N,_){return new Ga(R,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Gt,ei)=>!0],options:null,queryCount:0,depCount:0},N)}(N,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(N,_,F,ie){return this.transitionFactories.find(Gt=>Gt.match(N,_,F,ie))||null}matchStyles(N,_,F){return this.fallbackTransition.buildStyles(N,_,F)}}function Za(R,N,_){R.has(N)?R.has(_)||R.set(_,R.get(N)):R.has(_)&&R.set(N,R.get(_))}const Xr=new Wn;class co{constructor(N,_,F){this.bodyNode=N,this._driver=_,this._normalizer=F,this._animations=new Map,this._playersById=new Map,this.players=[]}register(N,_){const F=[],ie=[],et=Bt(this._driver,_,F,ie);if(F.length)throw function f(R){return new e.vHH(3503,!1)}();this._animations.set(N,et)}_buildPlayer(N,_,F){const ie=N.element,et=Re(0,this._normalizer,0,N.keyframes,_,F);return this._driver.animate(ie,et,N.duration,N.delay,N.easing,[],!0)}create(N,_,F={}){const ie=[],et=this._animations.get(N);let Gt;const ei=new Map;if(et?(Gt=Di(this._driver,_,et,mt,St,new Map,new Map,F,Xr,ie),Gt.forEach($i=>{const zi=ee(ei,$i.element,new Map);$i.postStyleProps.forEach(An=>zi.set(An,null))})):(ie.push(function l(){return new e.vHH(3300,!1)}()),Gt=[]),ie.length)throw function y(R){return new e.vHH(3504,!1)}();ei.forEach(($i,zi)=>{$i.forEach((An,kn)=>{$i.set(kn,this._driver.computeStyle(zi,kn,g.l3))})});const xi=We(Gt.map($i=>{const zi=ei.get($i.element);return this._buildPlayer($i,new Map,zi)}));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 F=this.players.indexOf(_);F>=0&&this.players.splice(F,1)}_getPlayer(N){const _=this._playersById.get(N);if(!_)throw function E(R){return new e.vHH(3301,!1)}();return _}listen(N,_,F,ie){const et=Ae(_,"","","");return we(this._getPlayer(N),F,et,ie),()=>{}}command(N,_,F,ie){if("register"==F)return void this.register(N,ie[0]);if("create"==F)return void this.create(N,_,ie[0]||{});const et=this._getPlayer(N);switch(F){case"play":et.play();break;case"pause":et.pause();break;case"reset":et.reset();break;case"restart":et.restart();break;case"finish":et.finish();break;case"init":et.init();break;case"setPosition":et.setPosition(parseFloat(ie[0]));break;case"destroy":this.destroy(N)}}}const lo="ng-animate-queued",Gr="ng-animate-disabled",mo=[],Xa={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},fr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ra="__ng_removed";class ja{get params(){return this.options.params}constructor(N,_=""){this.namespaceId=_;const F=N&&N.hasOwnProperty("value");if(this.value=function eo(R){return R??null}(F?N.value:N),F){const et=ue(N);delete et.value,this.options=et}else this.options={};this.options.params||(this.options.params={})}absorbOptions(N){const _=N.params;if(_){const F=this.options.params;Object.keys(_).forEach(ie=>{null==F[ie]&&(F[ie]=_[ie])})}}}const Er="void",Tr=new ja(Er);class mr{constructor(N,_,F){this.id=N,this.hostElement=_,this._engine=F,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+N,qn(_,this._hostClassName)}listen(N,_,F,ie){if(!this._triggers.has(_))throw function D(R,N){return new e.vHH(3302,!1)}();if(null==F||0==F.length)throw function v(R){return new e.vHH(3303,!1)}();if(!function go(R){return"start"==R||"done"==R}(F))throw function n(R,N){return new e.vHH(3400,!1)}();const et=ee(this._elementListeners,N,[]),Gt={name:_,phase:F,callback:ie};et.push(Gt);const ei=ee(this._engine.statesByElement,N,new Map);return ei.has(_)||(qn(N,nt),qn(N,nt+"-"+_),ei.set(_,Tr)),()=>{this._engine.afterFlush(()=>{const li=et.indexOf(Gt);li>=0&&et.splice(li,1),this._triggers.has(_)||ei.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,_,F,ie=!0){const et=this._getTrigger(_),Gt=new Pa(this.id,_,N);let ei=this._engine.statesByElement.get(N);ei||(qn(N,nt),qn(N,nt+"-"+_),this._engine.statesByElement.set(N,ei=new Map));let li=ei.get(_);const xi=new ja(F,this.id);if(!(F&&F.hasOwnProperty("value"))&&li&&xi.absorbOptions(li.options),ei.set(_,xi),li||(li=Tr),xi.value!==Er&&li.value===xi.value){if(!function Dr(R,N){const _=Object.keys(R),F=Object.keys(N);if(_.length!=F.length)return!1;for(let ie=0;ie<_.length;ie++){const et=_[ie];if(!N.hasOwnProperty(et)||R[et]!==N[et])return!1}return!0}(li.params,xi.params)){const wn=[],$n=et.matchStyles(li.value,li.params,wn),_a=et.matchStyles(xi.value,xi.params,wn);wn.length?this._engine.reportError(wn):this._engine.afterFlush(()=>{ut(N,$n),ot(N,_a)})}return}const An=ee(this._engine.playersByElement,N,[]);An.forEach(wn=>{wn.namespaceId==this.id&&wn.triggerName==_&&wn.queued&&wn.destroy()});let kn=et.matchTransition(li.value,xi.value,N,xi.params),pn=!1;if(!kn){if(!ie)return;kn=et.fallbackTransition,pn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:N,triggerName:_,transition:kn,fromState:li,toState:xi,player:Gt,isFallbackTransition:pn}),pn||(qn(N,lo),Gt.onStart(()=>{Yn(N,lo)})),Gt.onDone(()=>{let wn=this.players.indexOf(Gt);wn>=0&&this.players.splice(wn,1);const $n=this._engine.playersByElement.get(N);if($n){let _a=$n.indexOf(Gt);_a>=0&&$n.splice(_a,1)}}),this.players.push(Gt),An.push(Gt),Gt}deregister(N){this._triggers.delete(N),this._engine.statesByElement.forEach(_=>_.delete(N)),this._elementListeners.forEach((_,F)=>{this._elementListeners.set(F,_.filter(ie=>ie.name!=N))})}clearElementCache(N){this._engine.statesByElement.delete(N),this._elementListeners.delete(N);const _=this._engine.playersByElement.get(N);_&&(_.forEach(F=>F.destroy()),this._engine.playersByElement.delete(N))}_signalRemovalForInnerTriggers(N,_){const F=this._engine.driver.query(N,Ye,!0);F.forEach(ie=>{if(ie[ra])return;const et=this._engine.fetchNamespacesByElement(ie);et.size?et.forEach(Gt=>Gt.triggerLeaveAnimation(ie,_,!1,!0)):this.clearElementCache(ie)}),this._engine.afterFlushAnimationsDone(()=>F.forEach(ie=>this.clearElementCache(ie)))}triggerLeaveAnimation(N,_,F,ie){const et=this._engine.statesByElement.get(N),Gt=new Map;if(et){const ei=[];if(et.forEach((li,xi)=>{if(Gt.set(xi,li.value),this._triggers.has(xi)){const $i=this.trigger(N,xi,Er,ie);$i&&ei.push($i)}}),ei.length)return this._engine.markElementAsRemoved(this.id,N,!0,_,Gt),F&&We(ei).onDone(()=>this._engine.processLeaveNode(N)),!0}return!1}prepareLeaveAnimationListeners(N){const _=this._elementListeners.get(N),F=this._engine.statesByElement.get(N);if(_&&F){const ie=new Set;_.forEach(et=>{const Gt=et.name;if(ie.has(Gt))return;ie.add(Gt);const li=this._triggers.get(Gt).fallbackTransition,xi=F.get(Gt)||Tr,$i=new ja(Er),zi=new Pa(this.id,Gt,N);this._engine.totalQueuedPlayers++,this._queue.push({element:N,triggerName:Gt,transition:li,fromState:xi,toState:$i,player:zi,isFallbackTransition:!0})})}}removeNode(N,_){const F=this._engine;if(N.childElementCount&&this._signalRemovalForInnerTriggers(N,_),this.triggerLeaveAnimation(N,_,!0))return;let ie=!1;if(F.totalAnimations){const et=F.players.length?F.playersByQueriedElement.get(N):[];if(et&&et.length)ie=!0;else{let Gt=N;for(;Gt=Gt.parentNode;)if(F.statesByElement.get(Gt)){ie=!0;break}}}if(this.prepareLeaveAnimationListeners(N),ie)F.markElementAsRemoved(this.id,N,!1,_);else{const et=N[ra];(!et||et===Xa)&&(F.afterFlush(()=>this.clearElementCache(N)),F.destroyInnerAnimations(N),F._onRemovalComplete(N,_))}}insertNode(N,_){qn(N,this._hostClassName)}drainQueuedTransitions(N){const _=[];return this._queue.forEach(F=>{const ie=F.player;if(ie.destroyed)return;const et=F.element,Gt=this._elementListeners.get(et);Gt&&Gt.forEach(ei=>{if(ei.name==F.triggerName){const li=Ae(et,F.triggerName,F.fromState.value,F.toState.value);li._data=N,we(F.player,ei.phase,li,ei.callback)}}),ie.markedForDestroy?this._engine.afterFlush(()=>{ie.destroy()}):_.push(F)}),this._queue=[],_.sort((F,ie)=>{const et=F.transition.ast.depCount,Gt=ie.transition.ast.depCount;return 0==et||0==Gt?et-Gt:this._engine.driver.containsElement(F.element,ie.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(F=>F.element===N)||_,_}}class po{_onRemovalComplete(N,_){this.onRemovalComplete(N,_)}constructor(N,_,F){this.bodyNode=N,this.driver=_,this._normalizer=F,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=(ie,et)=>{}}get queuedPlayers(){const N=[];return this._namespaceList.forEach(_=>{_.players.forEach(F=>{F.queued&&N.push(F)})}),N}createNamespace(N,_){const F=new mr(N,_,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,_)?this._balanceNamespaceList(F,_):(this.newHostElements.set(_,F),this.collectEnterElement(_)),this._namespaceLookup[N]=F}_balanceNamespaceList(N,_){const F=this._namespaceList,ie=this.namespacesByHostElement;if(F.length-1>=0){let Gt=!1,ei=this.driver.getParentElement(_);for(;ei;){const li=ie.get(ei);if(li){const xi=F.indexOf(li);F.splice(xi+1,0,N),Gt=!0;break}ei=this.driver.getParentElement(ei)}Gt||F.unshift(N)}else F.push(N);return ie.set(_,N),N}register(N,_){let F=this._namespaceLookup[N];return F||(F=this.createNamespace(N,_)),F}registerTrigger(N,_,F){let ie=this._namespaceLookup[N];ie&&ie.register(_,F)&&this.totalAnimations++}destroy(N,_){if(!N)return;const F=this._fetchNamespace(N);this.afterFlush(()=>{this.namespacesByHostElement.delete(F.hostElement),delete this._namespaceLookup[N];const ie=this._namespaceList.indexOf(F);ie>=0&&this._namespaceList.splice(ie,1)}),this.afterFlushAnimationsDone(()=>F.destroy(_))}_fetchNamespace(N){return this._namespaceLookup[N]}fetchNamespacesByElement(N){const _=new Set,F=this.statesByElement.get(N);if(F)for(let ie of F.values())if(ie.namespaceId){const et=this._fetchNamespace(ie.namespaceId);et&&_.add(et)}return _}trigger(N,_,F,ie){if($a(_)){const et=this._fetchNamespace(N);if(et)return et.trigger(_,F,ie),!0}return!1}insertNode(N,_,F,ie){if(!$a(_))return;const et=_[ra];if(et&&et.setForRemoval){et.setForRemoval=!1,et.setForMove=!0;const Gt=this.collectedLeaveElements.indexOf(_);Gt>=0&&this.collectedLeaveElements.splice(Gt,1)}if(N){const Gt=this._fetchNamespace(N);Gt&&Gt.insertNode(_,F)}ie&&this.collectEnterElement(_)}collectEnterElement(N){this.collectedEnterElements.push(N)}markElementAsDisabled(N,_){_?this.disabledNodes.has(N)||(this.disabledNodes.add(N),qn(N,Gr)):this.disabledNodes.has(N)&&(this.disabledNodes.delete(N),Yn(N,Gr))}removeNode(N,_,F,ie){if($a(_)){const et=N?this._fetchNamespace(N):null;if(et?et.removeNode(_,ie):this.markElementAsRemoved(N,_,!1,ie),F){const Gt=this.namespacesByHostElement.get(_);Gt&&Gt.id!==N&&Gt.removeNode(_,ie)}}else this._onRemovalComplete(_,ie)}markElementAsRemoved(N,_,F,ie,et){this.collectedLeaveElements.push(_),_[ra]={namespaceId:N,setForRemoval:ie,hasAnimation:F,removedBeforeQueried:!1,previousTriggersValues:et}}listen(N,_,F,ie,et){return $a(_)?this._fetchNamespace(N).listen(_,F,ie,et):()=>{}}_buildInstruction(N,_,F,ie,et){return N.transition.build(this.driver,N.element,N.fromState.value,N.toState.value,F,ie,N.fromState.options,N.toState.options,_,et)}destroyInnerAnimations(N){let _=this.driver.query(N,Ye,!0);_.forEach(F=>this.destroyActiveAnimationsForElement(F)),0!=this.playersByQueriedElement.size&&(_=this.driver.query(N,xt,!0),_.forEach(F=>this.finishActiveQueriedAnimationOnElement(F)))}destroyActiveAnimationsForElement(N){const _=this.playersByElement.get(N);_&&_.forEach(F=>{F.queued?F.markedForDestroy=!0:F.destroy()})}finishActiveQueriedAnimationOnElement(N){const _=this.playersByQueriedElement.get(N);_&&_.forEach(F=>F.finish())}whenRenderingDone(){return new Promise(N=>{if(this.players.length)return We(this.players).onDone(()=>N());N()})}processLeaveNode(N){const _=N[ra];if(_&&_.setForRemoval){if(N[ra]=Xa,_.namespaceId){this.destroyInnerAnimations(N);const F=this._fetchNamespace(_.namespaceId);F&&F.clearElementCache(N)}this._onRemovalComplete(N,_.setForRemoval)}N.classList?.contains(Gr)&&this.markElementAsDisabled(N,!1),this.driver.query(N,".ng-animate-disabled",!0).forEach(F=>{this.markElementAsDisabled(F,!1)})}flush(N=-1){let _=[];if(this.newHostElements.size&&(this.newHostElements.forEach((F,ie)=>this._balanceNamespaceList(F,ie)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let F=0;F<this.collectedEnterElements.length;F++)qn(this.collectedEnterElements[F],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const F=[];try{_=this._flushAnimations(F,N)}finally{for(let ie=0;ie<F.length;ie++)F[ie]()}}else for(let F=0;F<this.collectedLeaveElements.length;F++)this.processLeaveNode(this.collectedLeaveElements[F]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(F=>F()),this._flushFns=[],this._whenQuietFns.length){const F=this._whenQuietFns;this._whenQuietFns=[],_.length?We(_).onDone(()=>{F.forEach(ie=>ie())}):F.forEach(ie=>ie())}}reportError(N){throw function V(R){return new e.vHH(3402,!1)}()}_flushAnimations(N,_){const F=new Wn,ie=[],et=new Map,Gt=[],ei=new Map,li=new Map,xi=new Map,$i=new Set;this.disabledNodes.forEach(fn=>{$i.add(fn);const Cn=this.driver.query(fn,".ng-animate-queued",!0);for(let Mn=0;Mn<Cn.length;Mn++)$i.add(Cn[Mn])});const zi=this.bodyNode,An=Array.from(this.statesByElement.keys()),kn=Ar(An,this.collectedEnterElements),pn=new Map;let wn=0;kn.forEach((fn,Cn)=>{const Mn=mt+wn++;pn.set(Cn,Mn),fn.forEach(ea=>qn(ea,Mn))});const $n=[],_a=new Set,Pr=new Set;for(let fn=0;fn<this.collectedLeaveElements.length;fn++){const Cn=this.collectedLeaveElements[fn],Mn=Cn[ra];Mn&&Mn.setForRemoval&&($n.push(Cn),_a.add(Cn),Mn.hasAnimation?this.driver.query(Cn,".ng-star-inserted",!0).forEach(ea=>_a.add(ea)):Pr.add(Cn))}const Rr=new Map,Nr=Ar(An,Array.from(_a));Nr.forEach((fn,Cn)=>{const Mn=St+wn++;Rr.set(Cn,Mn),fn.forEach(ea=>qn(ea,Mn))}),N.push(()=>{kn.forEach((fn,Cn)=>{const Mn=pn.get(Cn);fn.forEach(ea=>Yn(ea,Mn))}),Nr.forEach((fn,Cn)=>{const Mn=Rr.get(Cn);fn.forEach(ea=>Yn(ea,Mn))}),$n.forEach(fn=>{this.processLeaveNode(fn)})});const Kc=[],ps=[];for(let fn=this._namespaceList.length-1;fn>=0;fn--)this._namespaceList[fn].drainQueuedTransitions(_).forEach(Mn=>{const ea=Mn.player,Wa=Mn.element;if(Kc.push(ea),this.collectedEnterElements.length){const Hr=Wa[ra];if(Hr&&Hr.setForMove){if(Hr.previousTriggersValues&&Hr.previousTriggersValues.has(Mn.triggerName)){const Hs=Hr.previousTriggersValues.get(Mn.triggerName),yo=this.statesByElement.get(Mn.element);if(yo&&yo.has(Mn.triggerName)){const El=yo.get(Mn.triggerName);El.value=Hs,yo.set(Mn.triggerName,El)}}return void ea.destroy()}}const Oo=!zi||!this.driver.containsElement(zi,Wa),bo=Rr.get(Wa),vs=pn.get(Wa),Ha=this._buildInstruction(Mn,F,vs,bo,Oo);if(Ha.errors&&Ha.errors.length)return void ps.push(Ha);if(Oo)return ea.onStart(()=>ut(Wa,Ha.fromStyles)),ea.onDestroy(()=>ot(Wa,Ha.toStyles)),void ie.push(ea);if(Mn.isFallbackTransition)return ea.onStart(()=>ut(Wa,Ha.fromStyles)),ea.onDestroy(()=>ot(Wa,Ha.toStyles)),void ie.push(ea);const Pd=[];Ha.timelines.forEach(Hr=>{Hr.stretchStartingKeyframe=!0,this.disabledNodes.has(Hr.element)||Pd.push(Hr)}),Ha.timelines=Pd,F.append(Wa,Ha.timelines),Gt.push({instruction:Ha,player:ea,element:Wa}),Ha.queriedElements.forEach(Hr=>ee(ei,Hr,[]).push(ea)),Ha.preStyleProps.forEach((Hr,Hs)=>{if(Hr.size){let yo=li.get(Hs);yo||li.set(Hs,yo=new Set),Hr.forEach((El,b0)=>yo.add(b0))}}),Ha.postStyleProps.forEach((Hr,Hs)=>{let yo=xi.get(Hs);yo||xi.set(Hs,yo=new Set),Hr.forEach((El,b0)=>yo.add(b0))})});if(ps.length){const fn=[];ps.forEach(Cn=>{fn.push(function Y(R,N){return new e.vHH(3505,!1)}())}),Kc.forEach(Cn=>Cn.destroy()),this.reportError(fn)}const Fr=new Map,ac=new Map;Gt.forEach(fn=>{const Cn=fn.element;F.has(Cn)&&(ac.set(Cn,Cn),this._beforeAnimationBuild(fn.player.namespaceId,fn.instruction,Fr))}),ie.forEach(fn=>{const Cn=fn.element;this._getPreviousPlayers(Cn,!1,fn.namespaceId,fn.triggerName,null).forEach(ea=>{ee(Fr,Cn,[]).push(ea),ea.destroy()})});const es=$n.filter(fn=>Rt(fn,li,xi)),gs=new Map;Ra(gs,this.driver,Pr,xi,g.l3).forEach(fn=>{Rt(fn,li,xi)&&es.push(fn)});const _s=new Map;kn.forEach((fn,Cn)=>{Ra(_s,this.driver,new Set(fn),li,g.k1)}),es.forEach(fn=>{const Cn=gs.get(fn),Mn=_s.get(fn);gs.set(fn,new Map([...Array.from(Cn?.entries()??[]),...Array.from(Mn?.entries()??[])]))});const Mc=[],Wh=[],v0={};Gt.forEach(fn=>{const{element:Cn,player:Mn,instruction:ea}=fn;if(F.has(Cn)){if($i.has(Cn))return Mn.onDestroy(()=>ot(Cn,ea.toStyles)),Mn.disabled=!0,Mn.overrideTotalTime(ea.totalTime),void ie.push(Mn);let Wa=v0;if(ac.size>1){let bo=Cn;const vs=[];for(;bo=bo.parentNode;){const Ha=ac.get(bo);if(Ha){Wa=Ha;break}vs.push(bo)}vs.forEach(Ha=>ac.set(Ha,Wa))}const Oo=this._buildAnimation(Mn.namespaceId,ea,Fr,et,_s,gs);if(Mn.setRealPlayer(Oo),Wa===v0)Mc.push(Mn);else{const bo=this.playersByElement.get(Wa);bo&&bo.length&&(Mn.parentPlayer=We(bo)),ie.push(Mn)}}else ut(Cn,ea.fromStyles),Mn.onDestroy(()=>ot(Cn,ea.toStyles)),Wh.push(Mn),$i.has(Cn)&&ie.push(Mn)}),Wh.forEach(fn=>{const Cn=et.get(fn.element);if(Cn&&Cn.length){const Mn=We(Cn);fn.setRealPlayer(Mn)}}),ie.forEach(fn=>{fn.parentPlayer?fn.syncPlayerEvents(fn.parentPlayer):fn.destroy()});for(let fn=0;fn<$n.length;fn++){const Cn=$n[fn],Mn=Cn[ra];if(Yn(Cn,St),Mn&&Mn.hasAnimation)continue;let ea=[];if(ei.size){let Oo=ei.get(Cn);Oo&&Oo.length&&ea.push(...Oo);let bo=this.driver.query(Cn,xt,!0);for(let vs=0;vs<bo.length;vs++){let Ha=ei.get(bo[vs]);Ha&&Ha.length&&ea.push(...Ha)}}const Wa=ea.filter(Oo=>!Oo.destroyed);Wa.length?rr(this,Cn,Wa):this.processLeaveNode(Cn)}return $n.length=0,Mc.forEach(fn=>{this.players.push(fn),fn.onDone(()=>{fn.destroy();const Cn=this.players.indexOf(fn);this.players.splice(Cn,1)}),fn.play()}),Mc}elementContainsData(N,_){let F=!1;const ie=_[ra];return ie&&ie.setForRemoval&&(F=!0),this.playersByElement.has(_)&&(F=!0),this.playersByQueriedElement.has(_)&&(F=!0),this.statesByElement.has(_)&&(F=!0),this._fetchNamespace(N).elementContainsData(_)||F}afterFlush(N){this._flushFns.push(N)}afterFlushAnimationsDone(N){this._whenQuietFns.push(N)}_getPreviousPlayers(N,_,F,ie,et){let Gt=[];if(_){const ei=this.playersByQueriedElement.get(N);ei&&(Gt=ei)}else{const ei=this.playersByElement.get(N);if(ei){const li=!et||et==Er;ei.forEach(xi=>{xi.queued||!li&&xi.triggerName!=ie||Gt.push(xi)})}}return(F||ie)&&(Gt=Gt.filter(ei=>!(F&&F!=ei.namespaceId||ie&&ie!=ei.triggerName))),Gt}_beforeAnimationBuild(N,_,F){const et=_.element,Gt=_.isRemovalTransition?void 0:N,ei=_.isRemovalTransition?void 0:_.triggerName;for(const li of _.timelines){const xi=li.element,$i=xi!==et,zi=ee(F,xi,[]);this._getPreviousPlayers(xi,$i,Gt,ei,_.toState).forEach(kn=>{const pn=kn.getRealPlayer();pn.beforeDestroy&&pn.beforeDestroy(),kn.destroy(),zi.push(kn)})}ut(et,_.fromStyles)}_buildAnimation(N,_,F,ie,et,Gt){const ei=_.triggerName,li=_.element,xi=[],$i=new Set,zi=new Set,An=_.timelines.map(pn=>{const wn=pn.element;$i.add(wn);const $n=wn[ra];if($n&&$n.removedBeforeQueried)return new g.ZN(pn.duration,pn.delay);const _a=wn!==li,Pr=function Lr(R){const N=[];return ua(R,N),N}((F.get(wn)||mo).map(Fr=>Fr.getRealPlayer())).filter(Fr=>!!Fr.element&&Fr.element===wn),Rr=et.get(wn),Nr=Gt.get(wn),Kc=Re(0,this._normalizer,0,pn.keyframes,Rr,Nr),ps=this._buildPlayer(pn,Kc,Pr);if(pn.subTimeline&&ie&&zi.add(wn),_a){const Fr=new Pa(N,ei,wn);Fr.setRealPlayer(ps),xi.push(Fr)}return ps});xi.forEach(pn=>{ee(this.playersByQueriedElement,pn.element,[]).push(pn),pn.onDone(()=>function $r(R,N,_){let F=R.get(N);if(F){if(F.length){const ie=F.indexOf(_);F.splice(ie,1)}0==F.length&&R.delete(N)}return F}(this.playersByQueriedElement,pn.element,pn))}),$i.forEach(pn=>qn(pn,zt));const kn=We(An);return kn.onDestroy(()=>{$i.forEach(pn=>Yn(pn,zt)),ot(li,_.toStyles)}),zi.forEach(pn=>{ee(ie,pn,[]).push(kn)}),kn}_buildPlayer(N,_,F){return _.length>0?this.driver.animate(N.element,_,N.duration,N.delay,N.easing,F):new g.ZN(N.duration,N.delay)}}class Pa{constructor(N,_,F){this.namespaceId=N,this.triggerName=_,this.element=F,this._player=new g.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(N){this._containsRealPlayer||(this._player=N,this._queuedCallbacks.forEach((_,F)=>{_.forEach(ie=>we(N,F,void 0,ie))}),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,_){ee(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 $a(R){return R&&1===R.nodeType}function to(R,N){const _=R.style.display;return R.style.display=N??"none",_}function Ra(R,N,_,F,ie){const et=[];_.forEach(li=>et.push(to(li)));const Gt=[];F.forEach((li,xi)=>{const $i=new Map;li.forEach(zi=>{const An=N.computeStyle(xi,zi,ie);$i.set(zi,An),(!An||0==An.length)&&(xi[ra]=fr,Gt.push(xi))}),R.set(xi,$i)});let ei=0;return _.forEach(li=>to(li,et[ei++])),Gt}function Ar(R,N){const _=new Map;if(R.forEach(ei=>_.set(ei,[])),0==N.length)return _;const F=1,ie=new Set(N),et=new Map;function Gt(ei){if(!ei)return F;let li=et.get(ei);if(li)return li;const xi=ei.parentNode;return li=_.has(xi)?xi:ie.has(xi)?F:Gt(xi),et.set(ei,li),li}return N.forEach(ei=>{const li=Gt(ei);li!==F&&_.get(li).push(ei)}),_}function qn(R,N){R.classList?.add(N)}function Yn(R,N){R.classList?.remove(N)}function rr(R,N,_){We(_).onDone(()=>R.processLeaveNode(N))}function ua(R,N){for(let _=0;_<R.length;_++){const F=R[_];F instanceof g.ZE?ua(F.players,N):N.push(F)}}function Rt(R,N,_){const F=_.get(R);if(!F)return!1;let ie=N.get(R);return ie?F.forEach(et=>ie.add(et)):N.set(R,F),_.delete(R),!0}class fi{constructor(N,_,F){this.bodyNode=N,this._driver=_,this._normalizer=F,this._triggerCache={},this.onRemovalComplete=(ie,et)=>{},this._transitionEngine=new po(N,_,F),this._timelineEngine=new co(N,_,F),this._transitionEngine.onRemovalComplete=(ie,et)=>this.onRemovalComplete(ie,et)}registerTrigger(N,_,F,ie,et){const Gt=N+"-"+ie;let ei=this._triggerCache[Gt];if(!ei){const li=[],xi=[],$i=Bt(this._driver,et,li,xi);if(li.length)throw function i(R,N){return new e.vHH(3404,!1)}();ei=function Mo(R,N,_){return new Ea(R,N,_)}(ie,$i,this._normalizer),this._triggerCache[Gt]=ei}this._transitionEngine.registerTrigger(_,ie,ei)}register(N,_){this._transitionEngine.register(N,_)}destroy(N,_){this._transitionEngine.destroy(N,_)}onInsert(N,_,F,ie){this._transitionEngine.insertNode(N,_,F,ie)}onRemove(N,_,F,ie){this._transitionEngine.removeNode(N,_,ie||!1,F)}disableAnimations(N,_){this._transitionEngine.markElementAsDisabled(N,_)}process(N,_,F,ie){if("@"==F.charAt(0)){const[et,Gt]=Ze(F);this._timelineEngine.command(et,_,Gt,ie)}else this._transitionEngine.trigger(N,_,F,ie)}listen(N,_,F,ie,et){if("@"==F.charAt(0)){const[Gt,ei]=Ze(F);return this._timelineEngine.listen(Gt,_,ei,et)}return this._transitionEngine.listen(N,_,F,ie,et)}flush(N=-1){this._transitionEngine.flush(N)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let oi=(()=>{class R{constructor(_,F,ie){this._element=_,this._startStyles=F,this._endStyles=ie,this._state=0;let et=R.initialStylesByElement.get(_);et||R.initialStylesByElement.set(_,et=new Map),this._initialStyles=et}start(){this._state<1&&(this._startStyles&&ot(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(ot(this._element,this._initialStyles),this._endStyles&&(ot(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(R.initialStylesByElement.delete(this._element),this._startStyles&&(ut(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(ut(this._element,this._endStyles),this._endStyles=null),ot(this._element,this._initialStyles),this._state=3)}}return R.initialStylesByElement=new WeakMap,R})();function Li(R){let N=null;return R.forEach((_,F)=>{(function nn(R){return"display"===R||"position"===R})(F)&&(N=N||new Map,N.set(F,_))}),N}class ia{constructor(N,_,F,ie){this.element=N,this.keyframes=_,this.options=F,this._specialStyles=ie,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=F.duration,this._delay=F.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(F=>{_.push(Object.fromEntries(F))}),_}_triggerWebAnimation(N,_,F){return N.animate(this._convertKeyframesToObject(_),F)}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((F,ie)=>{"offset"!==ie&&N.set(ie,this._finished?F:Bi(this.element,ie))}),this.currentSnapshot=N}triggerCallback(N){const _="start"===N?this._onStartFns:this._onDoneFns;_.forEach(F=>F()),_.length=0}}class fa{validateStyleProperty(N){return!0}validateAnimatableStyleProperty(N){return!0}matchesElement(N,_){return!1}containsElement(N,_){return Nt(N,_)}getParentElement(N){return ge(N)}query(N,_,F){return Ke(N,_,F)}computeStyle(N,_,F){return window.getComputedStyle(N)[_]}animate(N,_,F,ie,et,Gt=[]){const li={duration:F,delay:ie,fill:0==ie?"both":"forwards"};et&&(li.easing=et);const xi=new Map,$i=Gt.filter(kn=>kn instanceof ia);(function Fi(R,N){return 0===R||0===N})(F,ie)&&$i.forEach(kn=>{kn.currentSnapshot.forEach((pn,wn)=>xi.set(wn,pn))});let zi=function qe(R){return R.length?R[0]instanceof Map?R:R.map(N=>Ee(N)):[]}(_).map(kn=>Vt(kn));zi=function Ri(R,N,_){if(_.size&&N.length){let F=N[0],ie=[];if(_.forEach((et,Gt)=>{F.has(Gt)||ie.push(Gt),F.set(Gt,et)}),ie.length)for(let et=1;et<N.length;et++){let Gt=N[et];ie.forEach(ei=>Gt.set(ei,Bi(R,ei)))}}return N}(N,zi,xi);const An=function yt(R,N){let _=null,F=null;return Array.isArray(N)&&N.length?(_=Li(N[0]),N.length>1&&(F=Li(N[N.length-1]))):N instanceof Map&&(_=Li(N)),_||F?new oi(R,_,F):null}(N,zi);return new ia(N,zi,li,An)}}var Gi=m(6895);let bn=(()=>{class R extends g._j{constructor(_,F){super(),this._nextAnimationId=0,this._renderer=_.createRenderer(F.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(_){const F=this._nextAnimationId.toString();this._nextAnimationId++;const ie=Array.isArray(_)?(0,g.vP)(_):_;return it(this._renderer,null,F,"register",[ie]),new er(F,this._renderer)}}return R.\u0275fac=function(_){return new(_||R)(e.LFG(e.FYo),e.LFG(Gi.K0))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})();class er 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,_,F,ie){this.id=N,this.element=_,this._renderer=ie,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",F)}_listen(N,_){return this._renderer.listen(this.element,`@@${this.id}:${N}`,_)}_command(N,..._){return it(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 it(R,N,_,F,ie){return R.setProperty(N,`@@${_}:${F}`,ie)}const It="@.disabled";let yi=(()=>{class R{constructor(_,F,ie){this.delegate=_,this.engine=F,this._zone=ie,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),F.onRemovalComplete=(et,Gt)=>{const ei=Gt?.parentNode(et);ei&&Gt.removeChild(ei,et)}}createRenderer(_,F){const et=this.delegate.createRenderer(_,F);if(!(_&&F&&F.data&&F.data.animation)){let $i=this._rendererCache.get(et);return $i||($i=new cn("",et,this.engine,()=>this._rendererCache.delete(et)),this._rendererCache.set(et,$i)),$i}const Gt=F.id,ei=F.id+"-"+this._currentId;this._currentId++,this.engine.register(ei,_);const li=$i=>{Array.isArray($i)?$i.forEach(li):this.engine.registerTrigger(Gt,ei,_,$i.name,$i)};return F.data.animation.forEach(li),new ma(this,ei,et,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(_,F,ie){_>=0&&_<this._microtaskId?this._zone.run(()=>F(ie)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(et=>{const[Gt,ei]=et;Gt(ei)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([F,ie]))}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(fi),e.LFG(e.R0b))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})();class cn{constructor(N,_,F,ie){this.namespaceId=N,this.delegate=_,this.engine=F,this._onDestroy=ie,this.destroyNode=this.delegate.destroyNode?et=>_.destroyNode(et):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,_,F,ie=!0){this.delegate.insertBefore(N,_,F),this.engine.onInsert(this.namespaceId,_,N,ie)}removeChild(N,_,F){this.engine.onRemove(this.namespaceId,_,this.delegate,F)}selectRootElement(N,_){return this.delegate.selectRootElement(N,_)}parentNode(N){return this.delegate.parentNode(N)}nextSibling(N){return this.delegate.nextSibling(N)}setAttribute(N,_,F,ie){this.delegate.setAttribute(N,_,F,ie)}removeAttribute(N,_,F){this.delegate.removeAttribute(N,_,F)}addClass(N,_){this.delegate.addClass(N,_)}removeClass(N,_){this.delegate.removeClass(N,_)}setStyle(N,_,F,ie){this.delegate.setStyle(N,_,F,ie)}removeStyle(N,_,F){this.delegate.removeStyle(N,_,F)}setProperty(N,_,F){"@"==_.charAt(0)&&_==It?this.disableAnimations(N,!!F):this.delegate.setProperty(N,_,F)}setValue(N,_){this.delegate.setValue(N,_)}listen(N,_,F){return this.delegate.listen(N,_,F)}disableAnimations(N,_){this.engine.disableAnimations(N,_)}}class ma extends cn{constructor(N,_,F,ie,et){super(_,F,ie,et),this.factory=N,this.namespaceId=_}setProperty(N,_,F){"@"==_.charAt(0)?"."==_.charAt(1)&&_==It?this.disableAnimations(N,F=void 0===F||!!F):this.engine.process(this.namespaceId,N,_.slice(1),F):this.delegate.setProperty(N,_,F)}listen(N,_,F){if("@"==_.charAt(0)){const ie=function Mi(R){switch(R){case"body":return document.body;case"document":return document;case"window":return window;default:return R}}(N);let et=_.slice(1),Gt="";return"@"!=et.charAt(0)&&([et,Gt]=function Tn(R){const N=R.indexOf(".");return[R.substring(0,N),R.slice(N+1)]}(et)),this.engine.listen(this.namespaceId,ie,et,Gt,ei=>{this.factory.scheduleListenerCallback(ei._data||-1,F,ei)})}return this.delegate.listen(N,_,F)}}const Yo=[{provide:g._j,useClass:bn},{provide:zn,useFactory:function Gs(){return new br}},{provide:fi,useClass:(()=>{class R extends fi{constructor(_,F,ie,et){super(_.body,F,ie)}ngOnDestroy(){this.flush()}}return R.\u0275fac=function(_){return new(_||R)(e.LFG(Gi.K0),e.LFG(ye),e.LFG(zn),e.LFG(e.z2F))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})()},{provide:e.FYo,useFactory:function Va(R,N,_){return new yi(R,N,_)},deps:[t.se,fi,e.R0b]}],io=[{provide:ye,useFactory:()=>new fa},{provide:e.QbO,useValue:"BrowserAnimations"},...Yo],pr=[{provide:ye,useClass:Ct},{provide:e.QbO,useValue:"NoopAnimations"},...Yo];let jo=(()=>{class R{static withConfig(_){return{ngModule:R,providers:_.disableAnimations?pr:io}}}return R.\u0275fac=function(_){return new(_||R)},R.\u0275mod=e.oAB({type:R}),R.\u0275inj=e.cJS({providers:io,imports:[t.b2]}),R})();var gr=m(529),Dn=m(2289),Oi=m(9653),Ka=m(493),_o=m(825),Ni=m(7579),zo=m(6451),Vo=m(4968),Zs=m(457),Ms=m(4986),os=m(2805);function Eo(R=0,N=Ms.z){return R<0&&(R=0),(0,os.H)(R,R,N)}var To=m(9646),ss=m(727),cc=m(4482),Qo=m(5403),Ws=m(8737),Ys=m(3269),Ss=m(9672),Na=m(9300),no=m(8505),Ao=m(3900),rn=m(2722),Da=m(8746),Qa=m(1884),pa=m(4004);class Ts{}let Tc=(()=>{class R{constructor(_,F){this._ngZone=F,this.timerStart$=new Ni.x,this.idleDetected$=new Ni.x,this.timeout$=new Ni.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,zo.T)((0,Vo.R)(window,"mousemove"),(0,Vo.R)(window,"resize"),(0,Vo.R)(document,"keydown"))),this.idle$=(0,Zs.D)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function Es(R,...N){var _,F;const ie=null!==(_=(0,Ys.yG)(N))&&void 0!==_?_:Ms.z,et=null!==(F=N[0])&&void 0!==F?F:null,Gt=N[1]||1/0;return(0,cc.e)((ei,li)=>{let xi=[],$i=!1;const zi=pn=>{const{buffer:wn,subs:$n}=pn;$n.unsubscribe(),(0,Ws.P)(xi,pn),li.next(wn),$i&&An()},An=()=>{if(xi){const pn=new ss.w0;li.add(pn);const $n={buffer:[],subs:pn};xi.push($n),(0,Ss.f)(pn,ie,()=>zi($n),R)}};null!==et&&et>=0?(0,Ss.f)(li,ie,An,et,!0):$i=!0,An();const kn=(0,Qo.x)(li,pn=>{const wn=xi.slice();for(const $n of wn){const{buffer:_a}=$n;_a.push(pn),Gt<=_a.length&&zi($n)}},()=>{for(;xi?.length;)li.next(xi.shift().buffer);kn?.unsubscribe(),li.complete(),li.unsubscribe()},void 0,()=>xi=null);ei.subscribe(kn)})}(this.idleSensitivityMillisec),(0,Na.h)(_=>!_.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,no.b)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,Ao.w)(()=>this._ngZone.runOutsideAngular(()=>Eo(1e3).pipe((0,rn.R)((0,zo.T)(this.activityEvents$,(0,os.H)(this.idleMillisec).pipe((0,no.b)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,Da.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,Qa.x)(),(0,Ao.w)(_=>_?this.timer$:(0,To.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,Na.h)(_=>!!_),(0,no.b)(()=>this.isTimeout=!0),(0,pa.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,To.of)(()=>new Date).pipe((0,pa.U)(F=>F()),(0,Ao.w)(F=>Eo(1e3).pipe((0,pa.U)(()=>Math.round(((new Date).valueOf()-F.valueOf())/1e3)),(0,no.b)(ie=>{ie>=_&&this.timeout$.next(!0)}))))})}setupPing(_){this.ping$=Eo(_).pipe((0,Na.h)(()=>!this.isTimeout))}}return R.\u0275fac=function(_){return new(_||R)(e.LFG(Ts,8),e.LFG(e.R0b))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),lc=(()=>{class R{static forRoot(_){return{ngModule:R,providers:[{provide:Ts,useValue:_}]}}}return R.\u0275fac=function(_){return new(_||R)},R.\u0275mod=e.oAB({type:R}),R.\u0275inj=e.cJS({imports:[[]]}),R})();var Zn=m(9116),qi=m(2687),xa=m(8377),Ta=m(2216),Ui=m(1576),jn=m(3546),He=m(3848);const ne=function(){return{initial:!1}};function $(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",11),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.activeLink=ie.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,ne)),e.xp6(1),e.Oqu(_.links[1].name)}}function Me(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.activeLink=ie.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 tt=(()=>{class R{constructor(_,F){this.store=_,this.router=F,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 Ni.x,new Ni.x,new Ni.x]}ngOnInit(){const _=this.links.find(F=>this.router.url.includes(F.link));this.activeLink=_?_.link:this.links[0].link,this.router.events.pipe((0,rn.R)(this.unSubs[0]),(0,Na.h)(F=>F instanceof Zn.Av)).subscribe({next:F=>{const ie=this.links.find(et=>F.urlAfterRedirects.includes(et.link));this.activeLink=ie?ie.link:this.links[0].link}}),this.store.select(xa.Yj).pipe((0,rn.R)(this.unSubs[1])).subscribe(F=>{this.appConfig=F}),this.store.select(xa.dT).pipe((0,rn.R)(this.unSubs[2])).subscribe(F=>{this.showBitcoind=!1,this.selNode=F,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(Oi.yh),e.Y36(Zn.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(_,F){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 F.activeLink=F.links[0].link}),e._uU(9),e.qZA(),e.YNc(10,$,2,5,"div",7),e.YNc(11,Me,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 ie=e.MAs(13);e.xp6(1),e.Q6J("icon",F.faUserCog),e.xp6(6),e.Q6J("tabPanel",ie),e.xp6(1),e.s9C("routerLink",F.links[0].link),e.Q6J("active",F.activeLink===F.links[0].link),e.xp6(1),e.Oqu(F.links[0].name),e.xp6(1),e.Q6J("ngIf",!+F.appConfig.sso.rtlSSO),e.xp6(1),e.Q6J("ngIf",F.showBitcoind)}},dependencies:[Gi.O5,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,jn.a8,jn.dn,He.BU,He.sW,He.Nj,Zn.lC,Zn.rH]}),R})();var Ne=m(7731),kt=m(7861),ai=m(5043),ii=m(4006),gi=m(4859),wi=m(9549),Ii=m(4385),Ki=m(3238),Zi=m(6839),ln=m(3390);function oa(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 ga(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(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.appConfig.defaultNodeIndex=ie)}),e.YNc(14,oa,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 ie=e.oxw();return e.KtG(ie.onResetSettings())}),e._uU(18,"Reset"),e.qZA(),e.TgZ(19,"button",16),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.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 Fa=(()=>{class R{constructor(_,F){this.logger=_,this.store=F,this.faInfoCircle=qi.sqG,this.faWindowRestore=qi.wyP,this.faPlus=qi.r8p,this.previousDefaultNode=0,this.unSubs=[new Ni.x,new Ni.x]}ngOnInit(){this.store.select(xa.Yj).pipe((0,rn.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,kt.zQ)({payload:{uiMessage:Ne.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(ai.mQ),e.Y36(Oi.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(_,F){1&_&&(e.TgZ(0,"div",0),e.YNc(1,ga,21,4,"form",1),e.qZA()),2&_&&(e.xp6(1),e.Q6J("ngIf",F.appConfig.nodes&&F.appConfig.nodes.length&&F.appConfig.nodes.length>0))},dependencies:[Gi.sg,Gi.O5,ii._Y,ii.JJ,ii.JL,ii.On,ii.F,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,gi.lW,wi.KE,Ii.gD,Ki.ey,Zi.$V,ln.h]}),R})();var la=m(8012),da=m(5698),sa=m(5412),Ia=m(5768),Aa=m(3093),xr=m(7009),or=m(4144),ao=m(8425),Wr=m(658),nl=m(5199);const Bo=["stepper"];function kl(R,N){if(1&R&&e._uU(0),2&R){const _=e.oxw();e.Oqu(_.passwordFormLabel)}}function Ac(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}function Cr(R,N){if(1&R&&e._uU(0),2&R){const _=e.oxw(2);e.Oqu(_.secretFormLabel)}}function Ol(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 As(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Secret Code is required."),e.qZA())}function Lc(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-step",10)(1,"form",22),e.YNc(2,Cr,1,1,"ng-template",23),e.TgZ(3,"div",24),e.YNc(4,Ol,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(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.onCopySecret(ie))}),e.qZA(),e.YNc(15,As,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 al(R,N){if(1&R&&e._uU(0),2&R){const _=e.oxw(2);e.Oqu(_.tokenFormLabel)}}function rl(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is required."),e.qZA())}function A1(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is invalid."),e.qZA())}function L1(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,rl,2,0,"mat-error",15),e.YNc(7,A1,2,0,"mat-error",15),e.qZA()(),e.TgZ(8,"div",31)(9,"button",38),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw(2);return e.KtG(ie.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 Pl(R,N){1&R&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"Success! You are all set."),e.qZA()())}function Dc(R,N){if(1&R&&(e.TgZ(0,"mat-step",34)(1,"form",35),e.YNc(2,al,1,1,"ng-template",12),e.YNc(3,L1,11,3,"div",36),e.YNc(4,Pl,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 js(R,N){if(1&R&&e._uU(0),2&R){const _=e.oxw(2);e.Oqu(_.disableFormLabel)}}function tr(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 ie=e.oxw(2);return e.KtG(ie.onVerifyToken())}),e._uU(7,"Disable"),e.qZA()()()}if(2&R){const _=e.oxw(2);e.xp6(2),e.Q6J("icon",_.faExclamationTriangle)}}function Rl(R,N){1&R&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"Two factor authentication removed from RTL."),e.qZA()())}function Ls(R,N){if(1&R&&(e.TgZ(0,"mat-step",34)(1,"form",35),e.YNc(2,js,1,1,"ng-template",12),e.YNc(3,tr,8,1,"div",36),e.YNc(4,Rl,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 D1=(()=>{class R{constructor(_,F,ie,et,Gt,ei){this.dialogRef=_,this.data=F,this.store=ie,this.formBuilder=et,this.rtlEffects=Gt,this.snackBar=ei,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:["",[ii.kI.required]],password:["",[ii.kI.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},ii.kI.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",ii.kI.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new Ni.x,new Ni.x]}ngOnInit(){this.appConfig=this.data.appConfig||null,this.showDisableStepper=!!this.appConfig?.enable2FA,this.secretFormGroup=this.formBuilder.group({secret:[{value:this.appConfig?.enable2FA?"":this.generateSecret(),disabled:!0},ii.kI.required]})}generateSecret(){const _=Ia.authenticator.generateSecret();return this.otpauth=Ia.authenticator.keyuri("","Ride The Lightning (RTL)",_),_}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,kt.QO)({payload:la(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,da.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(){if(this.appConfig?.enable2FA)this.store.dispatch((0,kt.Uy)({payload:{secret2fa:""}})),this.generateSecret(),this.isTokenValid=!0;else{if(!this.tokenFormGroup.controls.token.value)return!0;if(this.isTokenValid=Ia.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,kt.Uy)({payload:{secret2fa:this.secretFormGroup.controls.secret.value}})),this.tokenFormGroup.controls.token.setValue("")}this.flgValidated=!0,this.appConfig&&(this.appConfig.enable2FA=!this.appConfig?.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(sa.so),e.Y36(sa.WI),e.Y36(Oi.yh),e.Y36(ii.QS),e.Y36(Aa.V),e.Y36(xr.ux))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-two-factor-auth"]],viewQuery:function(_,F){if(1&_&&e.Gf(Bo,5),2&_){let ie;e.iGM(ie=e.CRH())&&(F.stepper=ie.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(_,F){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(et){return F.stepSelectionChanged(et)}),e.TgZ(12,"mat-step",10)(13,"form",11),e.YNc(14,kl,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,Ac,2,0,"mat-error",15),e.qZA()(),e.TgZ(21,"div",16)(22,"button",17),e.NdJ("click",function(){return F.onAuthenticate()}),e._uU(23,"Confirm"),e.qZA()()()(),e.YNc(24,Lc,19,8,"mat-step",18),e.YNc(25,Dc,5,4,"mat-step",19),e.YNc(26,Ls,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",F.passwordFormGroup)("editable",F.flgEditable),e.xp6(1),e.Q6J("formGroup",F.passwordFormGroup),e.xp6(7),e.Q6J("ngIf",null==F.passwordFormGroup||null==F.passwordFormGroup.controls||null==F.passwordFormGroup.controls.password||null==F.passwordFormGroup.controls.password.errors?null:F.passwordFormGroup.controls.password.errors.required),e.xp6(4),e.Q6J("ngIf",!F.showDisableStepper),e.xp6(1),e.Q6J("ngIf",!F.showDisableStepper),e.xp6(1),e.Q6J("ngIf",F.showDisableStepper),e.xp6(2),e.Q6J("mat-dialog-close",!1),e.xp6(1),e.Oqu(F.flgValidated&&F.isTokenValid?"Close":"Cancel"))},dependencies:[Gi.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.sg,ii.u,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,sa.ZT,gi.lW,jn.dn,jn.dk,or.Nt,wi.KE,wi.hX,wi.TO,wi.R9,ao.C0,ao.VY,ao.Vq,ao.Ic,Wr.uU,nl.y,ln.h]}),R})();var ro=m(5986),Ir=m(4850);const Ic=["authForm"];function ol(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Current password is required."),e.qZA())}function I1(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 k1(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 dc(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"form",11,12)(2,"div",13),e._UZ(3,"fa-icon",5),e.TgZ(4,"span",6),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",14),e.NdJ("ngModelChange",function(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.currPassword=ie)}),e.qZA(),e.YNc(10,ol,2,0,"mat-error",15),e.qZA(),e.TgZ(11,"mat-form-field")(12,"mat-label"),e._uU(13,"New Password"),e.qZA(),e.TgZ(14,"input",16),e.NdJ("ngModelChange",function(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.newPassword=ie)}),e.qZA(),e.YNc(15,I1,2,1,"mat-error",15),e.qZA(),e.TgZ(16,"mat-form-field")(17,"mat-label"),e._uU(18,"Confirm New Password"),e.qZA(),e.TgZ(19,"input",17),e.NdJ("ngModelChange",function(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.confirmPassword=ie)}),e.qZA(),e.YNc(20,k1,2,1,"mat-error",15),e.qZA(),e.TgZ(21,"div",18)(22,"button",19),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.onResetPassword())}),e._uU(23,"Reset"),e.qZA(),e.TgZ(24,"button",20),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.onChangePassword())}),e._uU(25,"Change Password"),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 Ds=(()=>{class R{constructor(_,F,ie,et,Gt){this.logger=_,this.store=F,this.actions=ie,this.router=et,this.sessionService=Gt,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 Ni.x,new Ni.x,new Ni.x]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(xa.Yj).pipe((0,rn.R)(this.unSubs[0])).subscribe(_=>{this.appConfig=_,this.logger.info(this.appConfig)}),this.store.select(xa.dT).pipe((0,rn.R)(this.unSubs[1])).subscribe(_=>{this.selNode=_}),this.actions.pipe((0,rn.R)(this.unSubs[2]),(0,Na.h)(_=>_.type===Ne.pg.RESET_PASSWORD_RES)).subscribe(_=>{if(Ne.kO.includes(this.currPassword.toLowerCase()))switch(this.selNode.lnImplementation?.toUpperCase()){case"CLN":this.router.navigate(["/cln/home"]);break;case"ECL":this.router.navigate(["/ecl/home"]);break;default:this.router.navigate(["/lnd/home"])}this.form&&this.form.resetForm()})}onChangePassword(){if(!this.currPassword||!this.newPassword||!this.confirmPassword||this.currPassword===this.newPassword||this.newPassword!==this.confirmPassword||Ne.kO.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,kt.c0)({payload:{currPassword:la(this.currPassword).toString(),newPassword:la(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):Ne.kO.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=Ne.kO?.reduce((F,ie,et)=>et<Ne.kO.length-1?F+ie+'" / "':F+ie+'".','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,kt.qR)({payload:{data:{appConfig:this.appConfig,component:D1}}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch((0,kt.fk)({payload:{uiMessage:Ne.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:this.selNode,isInitialSetup:!0}})),this.unSubs.forEach(_=>{_.next(),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(ai.mQ),e.Y36(Oi.yh),e.Y36(Ka.eX),e.Y36(Zn.F0),e.Y36(ro.m))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-auth-settings"]],viewQuery:function(_,F){if(1&_&&e.Gf(Ic,5),2&_){let ie;e.iGM(ie=e.CRH())&&(F.form=ie.first)}},decls:15,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"],[1,"my-2"],["fxLayout","column","fxLayoutAlign","start stretch"],[1,"mb-1","settings-container","page-sub-title-container","mt-1"],[1,"page-title-img","mr-1",3,"icon"],[1,"page-title"],[1,"alert","alert-info"],[1,"mt-1","mr-1","alert-icon",3,"icon"],[1,"mt-1"],["mat-flat-button","","color","primary","tabindex","6",1,"mb-2",3,"click"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"page-sub-title-container","mt-1"],["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"]],template:function(_,F){1&_&&(e.TgZ(0,"div",0),e.YNc(1,dc,26,7,"form",1),e._UZ(2,"mat-divider",2),e.TgZ(3,"div",3)(4,"div",4),e._UZ(5,"fa-icon",5),e.TgZ(6,"span",6),e._uU(7,"Two Factor Authentication"),e.qZA()(),e.TgZ(8,"div",7),e._UZ(9,"fa-icon",8),e.TgZ(10,"span"),e._uU(11,"Protect your account from unauthorized access by requiring a second authentication method in addition to your password."),e.qZA()(),e.TgZ(12,"div",9)(13,"button",10),e.NdJ("click",function(){return F.on2FAuth()}),e._uU(14),e.qZA()()()()),2&_&&(e.xp6(1),e.Q6J("ngIf",null==F.appConfig?null:F.appConfig.allowPasswordUpdate),e.xp6(4),e.Q6J("icon",F.faUserClock),e.xp6(4),e.Q6J("icon",F.faInfoCircle),e.xp6(5),e.Oqu(F.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[Gi.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,gi.lW,or.Nt,wi.KE,wi.hX,wi.TO,Ir.d,ln.h]}),R})();var oo=m(6338);function Is(R,N){1&R&&e._UZ(0,"mat-divider",7)}function Nl(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,Is,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 sl(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 cs(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 jd(R,N){1&R&&e._UZ(0,"mat-divider",15),2&R&&e.Q6J("inset",!0)}function cl(R,N){if(1&R&&(e.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),e.YNc(2,sl,2,1,"h2",10),e.qZA(),e.TgZ(3,"mat-card-subtitle",11),e.YNc(4,cs,2,1,"h4",12),e.qZA(),e.YNc(5,jd,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 La(R,N){if(1&R&&(e.TgZ(0,"div",8)(1,"mat-list"),e.YNc(2,cl,6,3,"mat-list-item",9),e.qZA()()),2&R){const _=e.oxw();e.xp6(2),e.Q6J("ngForOf",_.configData)}}let K0=(()=>{class R{constructor(_,F,ie){this.store=_,this.rtlEffects=F,this.router=ie,this.configData="",this.fileFormat="INI",this.faCog=qi.b7W,this.unSubs=[new Ni.x,new Ni.x]}ngOnInit(){this.store.dispatch((0,kt.Q2)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,rn.R)(this.unSubs[1])).subscribe(_=>{const F=_.data;this.fileFormat=_.format,this.configData=""===F||!F||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==F&&F&&"JSON"===this.fileFormat?F:"":F.split("\n")})}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Oi.yh),e.Y36(Aa.V),e.Y36(Zn.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(_,F){1&_&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,Nl,5,4,"div",2),e.YNc(3,La,3,1,"div",3),e.qZA()()),2&_&&(e.xp6(2),e.Q6J("ngIf",""!==F.configData&&"JSON"===F.fileFormat),e.xp6(1),e.Q6J("ngIf",""!==F.configData&&("INI"===F.fileFormat||"HOCON"===F.fileFormat)))},dependencies:[Gi.sg,Gi.O5,Ui.xw,Ui.Wh,Ui.yH,jn.$j,oo.i$,oo.Tg,Ir.d,Gi.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}),R})();function kc(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}let Q0=(()=>{class R{constructor(_,F,ie){this.dialogRef=_,this.store=F,this.rtlEffects=ie,this.password="",this.isAuthenticated=!1,this.unSubs=[new Ni.x,new Ni.x]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,da.q)(1)).subscribe(_=>{"ERROR"!==_?(this.isAuthenticated=!0,this.store.dispatch((0,kt.M6)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,kt.QO)({payload:la(this.password)}))}onClose(){this.store.dispatch((0,kt.M6)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(sa.so),e.Y36(Oi.yh),e.Y36(Aa.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(_,F){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 F.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(et){return F.password=et}),e.qZA(),e.YNc(14,kc,2,0,"mat-error",9),e.qZA(),e.TgZ(15,"div",10)(16,"button",11),e.NdJ("click",function(){return F.onAuthenticate()}),e._uU(17,"Confirm"),e.qZA()()()()()()),2&_&&(e.xp6(13),e.Q6J("ngModel",F.password),e.xp6(1),e.Q6J("ngIf",!F.password))},dependencies:[Gi.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,Ui.xw,Ui.Wh,Ui.yH,gi.lW,jn.dn,jn.dk,or.Nt,wi.KE,wi.hX,wi.TO,ln.h]}),R})();const O1=function(){return{initial:!1}};function P1(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",12),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.activeLink=ie.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,O1)),e.xp6(1),e.Oqu(_.links[2].name)}}function ls(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.activeLink=ie.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 Kd(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",13),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.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 Ks=(()=>{class R{constructor(_,F,ie,et){this.store=_,this.router=F,this.rtlEffects=ie,this.activatedRoute=et,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 Ni.x,new Ni.x,new Ni.x,new Ni.x,new Ni.x]}ngOnInit(){const _=this.links.find(F=>this.router.url.includes(F.link));this.activeLink=_?_.link:this.links[0].link,this.router.events.pipe((0,rn.R)(this.unSubs[0]),(0,Na.h)(F=>F instanceof Zn.Av)).subscribe({next:F=>{const ie=this.links.find(et=>F.urlAfterRedirects.includes(et.link));this.activeLink=ie?ie.link:this.links[0].link}}),this.store.select(xa.Yj).pipe((0,rn.R)(this.unSubs[1])).subscribe(F=>{this.appConfig=F}),this.store.select(xa.dT).pipe((0,rn.R)(this.unSubs[2])).subscribe(F=>{switch(this.showLnConfig=!1,this.selNode=F,this.selNode.lnImplementation?.toUpperCase()){case"CLN":this.lnImplementationStr="Core Lightning Config";break;case"ECL":this.lnImplementationStr="Eclair Config";break;default:this.lnImplementationStr="LND Config"}this.selNode.authentication&&this.selNode.authentication.configPath&&""!==this.selNode.authentication.configPath.trim()&&(this.links[4].name=this.lnImplementationStr,this.showLnConfig=!0)})}showLnConfigClicked(){this.appConfig.sso.rtlSSO?(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute})):(this.store.dispatch((0,kt.qR)({payload:{maxWidth:"50rem",data:{component:Q0}}})),this.rtlEffects.closeAlert.pipe((0,rn.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(Oi.yh),e.Y36(Zn.F0),e.Y36(Aa.V),e.Y36(Zn.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(_,F){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 F.activeLink=F.links[0].link}),e._uU(9),e.qZA(),e.TgZ(10,"div",6),e.NdJ("click",function(){return F.activeLink=F.links[1].link}),e._uU(11),e.qZA(),e.YNc(12,P1,2,5,"div",7),e.YNc(13,ls,2,3,"div",8),e.YNc(14,Kd,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 ie=e.MAs(16);e.xp6(1),e.Q6J("icon",F.faTools),e.xp6(6),e.Q6J("tabPanel",ie),e.xp6(1),e.s9C("routerLink",F.links[0].link),e.Q6J("active",F.activeLink===F.links[0].link),e.xp6(1),e.Oqu(F.links[0].name),e.xp6(1),e.s9C("routerLink",F.links[1].link),e.Q6J("active",F.activeLink===F.links[1].link),e.xp6(1),e.Oqu(F.links[1].name),e.xp6(1),e.Q6J("ngIf","LND"===(null==F.selNode||null==F.selNode.lnImplementation?null:F.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf","CLN"===(null==F.selNode||null==F.selNode.lnImplementation?null:F.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf",F.showLnConfig)}},dependencies:[Gi.O5,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,jn.a8,jn.dn,He.BU,He.sW,He.Nj,Zn.lC,Zn.rH]}),R})();function Qs(R,N){1&R&&e._UZ(0,"mat-divider",7)}function q0(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,Qs,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 sr(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 Oc(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 qs(R,N){1&R&&e._UZ(0,"mat-divider",15),2&R&&e.Q6J("inset",!0)}function R1(R,N){if(1&R&&(e.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),e.YNc(2,sr,2,1,"h2",10),e.qZA(),e.TgZ(3,"mat-card-subtitle",11),e.YNc(4,Oc,2,1,"h4",12),e.qZA(),e.YNc(5,qs,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 vo(R,N){if(1&R&&(e.TgZ(0,"div",8)(1,"mat-list"),e.YNc(2,R1,6,3,"mat-list-item",9),e.qZA()()),2&R){const _=e.oxw();e.xp6(2),e.Q6J("ngForOf",_.configData)}}let ve=(()=>{class R{constructor(_,F,ie){this.store=_,this.rtlEffects=F,this.router=ie,this.configData="",this.fileFormat="INI",this.faCog=qi.b7W,this.unSubs=[new Ni.x,new Ni.x]}ngOnInit(){this.store.dispatch((0,kt.Q2)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,rn.R)(this.unSubs[1])).subscribe(_=>{const F=_.data;this.fileFormat=_.format,this.configData=""===F||!F||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==F&&F&&"JSON"===this.fileFormat?F:"":F.split("\n")})}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Oi.yh),e.Y36(Aa.V),e.Y36(Zn.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(_,F){1&_&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,q0,5,4,"div",2),e.YNc(3,vo,3,1,"div",3),e.qZA()()),2&_&&(e.xp6(2),e.Q6J("ngIf",""!==F.configData&&"JSON"===F.fileFormat),e.xp6(1),e.Q6J("ngIf",""!==F.configData&&("INI"===F.fileFormat||"HOCON"===F.fileFormat)))},dependencies:[Gi.sg,Gi.O5,Ui.xw,Ui.Wh,Ui.yH,jn.$j,oo.i$,oo.Tg,Ir.d,Gi.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}),R})();var Ce=m(2994),ae=m(429),ze=m(6523),dt=m(62),At=m(5829),Ft=m(752),mi=m(1948),Ei=m(455);function en(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 on(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Currency unit is required."),e.qZA())}function In(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,F=e.oxw();e.Q6J("value",_)("checked",F.selNode.settings.userPersona===_),e.xp6(1),e.hij(" ",e.lcZ(2,3,_)," ")}}function na(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 qo=function(R){return{skin:!0,"selected-color":R}};function Lo(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"span",38)(1,"div",39),e.NdJ("click",function(){const et=e.CHM(_).$implicit,Gt=e.oxw();return e.KtG(Gt.changeThemeColor(et.id))}),e.ALo(2,"lowercase"),e.qZA(),e._uU(3),e.qZA()}if(2&R){const _=N.$implicit,F=e.oxw();e.xp6(1),e.Tol(e.lcZ(2,4,_.id)),e.Q6J("ngClass",e.VKq(6,qo,F.selectedThemeColor===_.id)),e.xp6(2),e.hij(" ",_.name," ")}}let Uo=(()=>{class R{constructor(_,F,ie){this.logger=_,this.commonService=F,this.store=ie,this.faExclamationTriangle=qi.eHv,this.faMoneyBillAlt=qi.co4,this.faPaintBrush=qi.XsY,this.faInfoCircle=qi.sqG,this.faEyeSlash=qi.Aq,this.userPersonas=[Ne.ol.OPERATOR,Ne.ol.MERCHANT],this.currencyUnits=Ne.Er,this.themeModes=Ne.wZ.modes,this.themeColors=Ne.wZ.themes,this.selectedThemeMode=Ne.wZ.modes[0],this.selectedThemeColor=Ne.wZ.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=Ne.cu,this.unSubs=[new Ni.x,new Ni.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(xa.dT).pipe((0,rn.R)(this.unSubs[0])).subscribe(_=>{this.selNode=_,this.selectedThemeMode=this.themeModes.find(F=>this.selNode.settings.themeMode===F.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=[...Ne.uA,_.value],this.store.dispatch((0,ze.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,ae.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,Ce.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(_,F){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,kt.zQ)({payload:{uiMessage:Ne.m6.UPDATE_NODE_SETTINGS,settings:this.selNode.settings}})),this.store.dispatch((0,ze.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,ae.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,Ce.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(F=>F.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,kt.fk)({payload:{uiMessage:Ne.m6.NO_SPINNER,prevLnNodeIndex:+_,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(ai.mQ),e.Y36(dt.v),e.Y36(Oi.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(_,F){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(et){return F.selNode.settings.unannouncedChannels=et})("change",function(){return!F.selNode.settings.unannouncedChannels}),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(et){return F.selNode.settings.fiatConversion=et})("change",function(){return!F.selNode.settings.currencyUnit}),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(et){return F.selNode.settings.currencyUnit=et})("selectionChange",function(et){return F.onCurrencyChange(et)}),e.YNc(41,en,2,2,"mat-option",17),e.qZA(),e.YNc(42,on,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(et){return F.selNode.settings.userPersona=et}),e.YNc(58,In,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(et){return F.selectedThemeMode=et})("change",function(){return F.chooseThemeMode()}),e.YNc(64,na,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,Lo,4,8,"span",30),e.qZA()()()()()()(),e.TgZ(72,"div",31)(73,"div",32)(74,"button",33),e.NdJ("click",function(){return F.onResetSettings()}),e._uU(75,"Reset"),e.qZA(),e.TgZ(76,"button",34),e.NdJ("click",function(){return F.onUpdateSettings()}),e._uU(77,"Update"),e.qZA()()()()),2&_&&(e.xp6(7),e.Q6J("icon",F.faEyeSlash),e.xp6(5),e.Q6J("icon",F.faInfoCircle),e.xp6(4),e.Q6J("ngModel",F.selNode.settings.unannouncedChannels),e.xp6(5),e.Q6J("icon",F.faMoneyBillAlt),e.xp6(5),e.Q6J("icon",F.faExclamationTriangle),e.xp6(8),e.Q6J("ngModel",F.selNode.settings.fiatConversion),e.xp6(5),e.Q6J("disabled",!F.selNode.settings.fiatConversion)("required",F.selNode.settings.fiatConversion)("ngModel",F.selNode.settings.currencyUnit),e.xp6(2),e.Q6J("ngForOf",F.currencyUnits),e.xp6(1),e.Q6J("ngIf",F.selNode.settings.fiatConversion&&!F.selNode.settings.currencyUnit),e.xp6(4),e.Q6J("icon",F.faPaintBrush),e.xp6(5),e.Q6J("icon",F.faInfoCircle),e.xp6(6),e.Q6J("ngModel",F.selNode.settings.userPersona),e.xp6(1),e.Q6J("ngForOf",F.userPersonas),e.xp6(5),e.Q6J("ngModel",F.selectedThemeMode),e.xp6(1),e.Q6J("ngForOf",F.themeModes),e.xp6(7),e.Q6J("ngForOf",F.themeColors))},dependencies:[Gi.mk,Gi.sg,Gi.O5,ii._Y,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,At.oO,gi.lW,Ft.pp,Ft.ib,Ft.yz,Ft.yK,wi.KE,wi.hX,wi.TO,Ir.d,mi.VQ,mi.U0,Ii.gD,Ki.ey,Ei.Rr,Zi.$V,ln.h,Gi.i8,Gi.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 wr=m(1365),Fl=m(9828),Yr=m(6529),hc=m(2501),ds=m(7392),Pc=m(266),Js=m(9445);const uc=function(R){return{error:R}};function Xs(R,N){if(1&R&&e.GkF(0,14),2&R){const _=e.oxw(),F=e.MAs(18);e.Q6J("ngTemplateOutlet",F)("ngTemplateOutletContext",e.VKq(2,uc,_.errorMessage))}}function J0(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 Qd(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,F=e.oxw(3);e.Q6J("value",_),e.xp6(1),e.hij(" ","ECL"===F.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 Hl(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,F=e.oxw(2).$implicit,ie=e.oxw(2);e.Q6J("value",_.column)("disabled",F.columnSelection.length<=2&&F.columnSelection.includes(_.column)),e.xp6(1),e.hij(" ",_.label?_.label:"ECL"===ie.selNode.lnImplementation?e.lcZ(2,3,_.column):e.xi3(3,5,_.column,"_")," ")}}function X0(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(ie){e.CHM(_);const et=e.oxw().$implicit;return e.KtG(et.columnSelection=ie)})("selectionChange",function(){e.CHM(_);const ie=e.oxw().$implicit,et=e.oxw(2);return e.KtG(et.oncolumnSelectionChange(ie))}),e.YNc(4,Hl,4,8,"mat-option",28),e.qZA()()}if(2&R){const _=e.oxw().$implicit,F=e.oxw().$implicit,ie=e.oxw();e.xp6(3),e.hYB("name","",F.pageId,"",_.tableId,"-columns-selection"),e.Q6J("ngModel",_.columnSelection),e.xp6(1),e.Q6J("ngForOf",ie.nodePageDefs[F.pageId][_.tableId].allowedColumns)}}function qd(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,F=e.oxw().$implicit,ie=e.oxw(2);e.Q6J("value",_.column)("disabled",F.columnSelectionSM.length<=1&&F.columnSelectionSM.includes(_.column)||F.columnSelectionSM.length>=3&&!F.columnSelectionSM.includes(_.column)),e.xp6(1),e.hij(" ",_.label?_.label:"ECL"===ie.selNode.lnImplementation?e.lcZ(2,3,_.column):e.xi3(3,5,_.column,"_")," ")}}const Ru=function(R){return{"ml-minus-1":R}};function Rc(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(ie){const Gt=e.CHM(_).$implicit;return e.KtG(Gt.recordsPerPage=ie)}),e.YNc(9,J0,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(ie){const Gt=e.CHM(_).$implicit;return e.KtG(Gt.sortBy=ie)}),e.YNc(14,Qd,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(ie){const Gt=e.CHM(_).$implicit;return e.KtG(Gt.sortOrder=ie)}),e.YNc(19,fc,2,2,"mat-option",22),e.qZA()(),e.YNc(20,X0,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(ie){const Gt=e.CHM(_).$implicit;return e.KtG(Gt.columnSelectionSM=ie)}),e.YNc(25,qd,4,8,"mat-option",28),e.qZA()(),e.TgZ(26,"button",29),e.NdJ("click",function(){const et=e.CHM(_).$implicit,Gt=e.oxw().$implicit,ei=e.oxw();return e.KtG(ei.onTableReset(Gt.pageId,et))}),e.TgZ(27,"mat-icon",30),e._uU(28,"restore"),e.qZA()()()()}if(2&R){const _=N.$implicit,F=e.oxw().$implicit,ie=e.oxw();e.xp6(3),e.hij("",e.xi3(4,20,_.tableId,"_"),":"),e.xp6(5),e.hYB("name","",F.pageId,"",_.tableId,"-page-size-options"),e.Q6J("disabled",ie.nodePageDefs[F.pageId][_.tableId].disablePageSize)("ngModel",_.recordsPerPage),e.xp6(1),e.Q6J("ngForOf",ie.pageSizeOptions),e.xp6(4),e.hYB("name","",F.pageId,"",_.tableId,"-sort-by"),e.Q6J("ngModel",_.sortBy),e.xp6(1),e.Q6J("ngForOf",_.columnSelection),e.xp6(4),e.hYB("name","",F.pageId,"",_.tableId,"-sort-order"),e.Q6J("ngModel",_.sortOrder),e.xp6(1),e.Q6J("ngForOf",ie.sortOrders),e.xp6(1),e.Q6J("ngIf",ie.screenSize!==ie.screenSizeEnum.XS),e.xp6(4),e.hYB("name","",F.pageId,"",_.tableId,"-columns-selection-sm"),e.Q6J("ngModel",_.columnSelectionSM),e.xp6(1),e.Q6J("ngForOf",ie.nodePageDefs[F.pageId][_.tableId].allowedColumns),e.xp6(2),e.Q6J("ngClass",e.VKq(23,Ru,ie.screenSize===ie.screenSizeEnum.XS||ie.screenSize===ie.screenSizeEnum.SM))}}function mc(R,N){if(1&R&&e.GkF(0,14),2&R){const _=e.oxw(2),F=e.MAs(18);e.Q6J("ngTemplateOutlet",F)("ngTemplateOutletContext",e.VKq(2,uc,_.errorMessage))}}const N1=function(R){return{"error-border":R}};function Jd(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,Rc,29,25,"div",16),e.YNc(6,mc,1,4,"ng-container",6),e.qZA()),2&R){const _=N.$implicit,F=e.oxw();e.Q6J("ngClass",e.VKq(7,N1,(null==F.errorMessage?null:F.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",F.errorMessage&&(null==F.errorMessage?null:F.errorMessage.page)===_.pageId)}}function Xd(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 F1(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 $d(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 H1=function(R){return{"error-border p-2":R}};function $0(R,N){if(1&R&&(e.TgZ(0,"div",35),e.YNc(1,Xd,3,3,"mat-panel-title",36),e.TgZ(2,"mat-list",37),e.YNc(3,F1,5,1,"mat-list-item",36),e.YNc(4,$d,6,4,"mat-list-item",38),e.qZA()()),2&R){const _=N.error,F=e.oxw();e.Q6J("ngClass",e.VKq(4,H1,"unknown"===F.errorMessage.page)),e.xp6(1),e.Q6J("ngIf","unknown"===F.errorMessage.page),e.xp6(2),e.Q6J("ngIf",_.message),e.xp6(1),e.Q6J("ngForOf",_.tables)}}let e2=(()=>{class R{constructor(_,F,ie,et){this.logger=_,this.commonService=F,this.store=ie,this.actions=et,this.faPenRuler=qi.SoD,this.faExclamationTriangle=qi.eHv,this.screenSize="",this.screenSizeEnum=Ne.cu,this.pageSizeOptions=Ne.TJ,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=Ne.zZ,this.apiCallStatus=null,this.apiCallStatusEnum=Ne.Bn,this.errorMessage=null,this.unSubs=[new Ni.x,new Ni.x,new Ni.x,new Ni.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(xa.dT).pipe((0,rn.R)(this.unSubs[0])).subscribe(_=>{switch(this.selNode=_,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],Ne.gG),this.defaultSettings=Object.assign([],Ne.gG),this.nodePageDefs=Ne.At,this.store.select(Fl.AS).pipe((0,rn.R)(this.unSubs[1]),(0,wr.M)(this.store.select(Fl.lw))).subscribe(([F,ie])=>{const et=JSON.parse(JSON.stringify(F.pageSettings));if(this.errorMessage=null,this.apiCallStatus=F.apiCallStatus,this.apiCallStatus.status===Ne.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=et,this.initialPageSettings=et;else{if(!ie?.enableOffers){const Gt=et.find(xi=>"transactions"===xi.pageId),ei=Gt?.tables.findIndex(xi=>"offers"===xi.tableId),li=Gt?.tables.findIndex(xi=>"offer_bookmarks"===xi.tableId);ei>-1&&Gt?.tables.splice(ei,1),li>-1&&Gt?.tables.splice(li,1)}if(!ie?.enablePeerswap){const Gt=et.findIndex(ei=>"peerswap"===ei.pageId);Gt>-1&&et.splice(Gt,1)}this.pageSettings=et,this.initialPageSettings=et}this.logger.info(et)}),this.actions.pipe((0,rn.R)(this.unSubs[2]),(0,Na.h)(F=>F.type===Ne.AB.UPDATE_API_CALL_STATUS_CLN||F.type===Ne.AB.SAVE_PAGE_SETTINGS_CLN)).subscribe(F=>{F.type===Ne.AB.UPDATE_API_CALL_STATUS_CLN&&F.payload.status===Ne.Bn.ERROR&&"SavePageSettings"===F.payload.action&&(this.errorMessage=JSON.parse(F.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],Ne.c3),this.defaultSettings=Object.assign([],Ne.c3),this.nodePageDefs=Ne.Xk,this.store.select(hc.nF).pipe((0,rn.R)(this.unSubs[1]),(0,wr.M)(this.store.select(hc.LR))).subscribe(([F,ie])=>{const et=JSON.parse(JSON.stringify(F.pageSettings));this.errorMessage=null,this.apiCallStatus=F.apiCallStatus,this.apiCallStatus.status===Ne.Bn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=et,this.initialPageSettings=et):(this.pageSettings=et,this.initialPageSettings=et),this.logger.info(et)}),this.actions.pipe((0,rn.R)(this.unSubs[2]),(0,Na.h)(F=>F.type===Ne.lr.UPDATE_API_CALL_STATUS_ECL||F.type===Ne.lr.SAVE_PAGE_SETTINGS_ECL)).subscribe(F=>{F.type===Ne.lr.UPDATE_API_CALL_STATUS_ECL&&F.payload.status===Ne.Bn.ERROR&&"SavePageSettings"===F.payload.action&&(this.errorMessage=JSON.parse(F.payload.message))});break;default:this.initialPageSettings=Object.assign([],Ne.gK),this.defaultSettings=Object.assign([],Ne.gK),this.nodePageDefs=Ne.hG,this.store.select(Yr.Pr).pipe((0,rn.R)(this.unSubs[1]),(0,wr.M)(this.store.select(Yr.$k))).subscribe(([F,ie])=>{const et=JSON.parse(JSON.stringify(F.pageSettings));if(this.errorMessage=null,this.apiCallStatus=F.apiCallStatus,this.apiCallStatus.status===Ne.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=et,this.initialPageSettings=et;else{if(!ie?.swapServerUrl||""===ie.swapServerUrl.trim()){const Gt=et.findIndex(ei=>"loop"===ei.pageId);Gt>-1&&et.splice(Gt,1)}if(!ie?.boltzServerUrl||""===ie.boltzServerUrl.trim()){const Gt=et.findIndex(ei=>"boltz"===ei.pageId);Gt>-1&&et.splice(Gt,1)}if(!ie?.enablePeerswap){const Gt=et.findIndex(ei=>"peerswap"===ei.pageId);Gt>-1&&et.splice(Gt,1)}this.pageSettings=et,this.initialPageSettings=et}this.logger.info(et)}),this.actions.pipe((0,rn.R)(this.unSubs[2]),(0,Na.h)(F=>F.type===Ne.uR.UPDATE_API_CALL_STATUS_LND||F.type===Ne.uR.SAVE_PAGE_SETTINGS_LND)).subscribe(F=>{F.type===Ne.uR.UPDATE_API_CALL_STATUS_LND&&F.payload.status===Ne.Bn.ERROR&&"SavePageSettings"===F.payload.action&&(this.errorMessage=JSON.parse(F.payload.message))})}})}oncolumnSelectionChange(_){_.columnSelection&&(!_.sortBy||!_.columnSelection.includes(_.sortBy))&&(_.sortBy=_.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((_,F)=>_||F.tables.reduce((ie,et)=>!(et.recordsPerPage&&et.sortBy&&et.sortOrder&&et.columnSelection&&et.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,ae.eF)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,Ce.eF)({payload:this.pageSettings}));break;default:this.store.dispatch((0,ze.eF)({payload:this.pageSettings}))}}onTableReset(_,F){const ie=this.pageSettings.findIndex(ei=>ei.pageId===_),et=this.pageSettings[ie].tables.findIndex(ei=>ei.tableId===F.tableId),Gt=this.defaultSettings.find(ei=>ei.pageId===_)?.tables.find(ei=>ei.tableId===F.tableId)||this.pageSettings.find(ei=>ei.pageId===_)?.tables.find(ei=>ei.tableId===F.tableId);this.pageSettings[ie].tables.splice(et,1,Gt)}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(ai.mQ),e.Y36(dt.v),e.Y36(Oi.yh),e.Y36(Ka.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(_,F){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,Xs,1,4,"ng-container",6),e.TgZ(8,"mat-accordion",7),e.YNc(9,Jd,7,9,"mat-expansion-panel",8),e.qZA()(),e.TgZ(10,"div",9)(11,"button",10),e.NdJ("click",function(){return F.onResetPageSettings("current")}),e._uU(12,"Reset"),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){return F.onResetPageSettings("default")}),e._uU(14,"Reset to Default"),e.qZA(),e.TgZ(15,"button",12),e.NdJ("click",function(){return F.onUpdatePageSettings()}),e._uU(16,"Save"),e.qZA()()(),e.YNc(17,$0,5,6,"ng-template",null,13,e.W1O)),2&_&&(e.xp6(4),e.Q6J("icon",F.faPenRuler),e.xp6(3),e.Q6J("ngIf",F.errorMessage&&"unknown"===F.errorMessage.page),e.xp6(2),e.Q6J("ngForOf",F.pageSettings))},dependencies:[Gi.mk,Gi.sg,Gi.O5,Gi.tP,ii._Y,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,At.oO,gi.lW,gi.RK,Ft.pp,Ft.ib,Ft.yz,Ft.yK,ds.Hw,wi.KE,wi.hX,oo.i$,oo.Tg,Ii.gD,Ki.ey,Pc.gM,Zi.$V,Gi.rS,Js.D3,Js.i1],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]}),R})();function Nc(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",10),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.activeLink=ie.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 hs=function(){return{initial:!1}};function Do(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",11),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.activeLink=ie.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,hs)),e.xp6(1),e.Oqu(_.links[1].name)}}function us(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",10),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.activeLink=ie.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(_,F,ie){this.store=_,this.router=F,this.activatedRoute=ie,this.faLayerGroup=qi.Krp,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"peerswap",name:"Peerswap"}],this.activeLink="",this.unSubs=[new Ni.x,new Ni.x,new Ni.x]}ngOnInit(){const _=this.links.find(F=>this.router.url.includes(F.link));this.activeLink=_?_.link:this.links[0].link,this.router.events.pipe((0,rn.R)(this.unSubs[0]),(0,Na.h)(F=>F instanceof Zn.Av)).subscribe({next:F=>{const ie=this.links.find(et=>F.urlAfterRedirects.includes(et.link));this.activeLink="CLN"===this.selNode.lnImplementation.toUpperCase()?this.links[2].link:ie?ie.link:this.links[0].link}}),this.store.select(xa.dT).pipe((0,rn.R)(this.unSubs[1])).subscribe(F=>{this.selNode=F,"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(Oi.yh),e.Y36(Zn.F0),e.Y36(Zn.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(_,F){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,Nc,2,3,"div",6),e.YNc(10,Do,2,5,"div",7),e.YNc(11,us,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 ie=e.MAs(13);e.xp6(2),e.Q6J("icon",F.faLayerGroup),e.xp6(6),e.Q6J("tabPanel",ie),e.xp6(1),e.Q6J("ngIf","LND"===(null==F.selNode||null==F.selNode.lnImplementation?null:F.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf","LND"===(null==F.selNode||null==F.selNode.lnImplementation?null:F.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf","CLN"===(null==F.selNode||null==F.selNode.lnImplementation?null:F.selNode.lnImplementation.toUpperCase()))}},dependencies:[Gi.O5,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,jn.a8,jn.dn,He.BU,He.sW,He.Nj,Zn.lC,Zn.rH]}),R})();const zl=["form"];function eh(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Loop server URL is required."),e.qZA())}function z1(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Specify the loop server url with 'https://'."),e.qZA())}function V1(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Loop macaroon path is required."),e.qZA())}let ll=(()=>{class R{constructor(_,F){this.logger=_,this.store=F,this.faInfoCircle=qi.sqG,this.enableLoop=!1,this.unSubs=[new Ni.x,new Ni.x]}ngOnInit(){this.store.select(xa.dT).pipe((0,rn.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,kt.jS)({payload:{uiMessage:Ne.m6.UPDATE_LOOP_SETTINGS,service:Ne.JX.LOOP,settings:{enable:this.enableLoop,serverUrl:this.selNode.settings.swapServerUrl,macaroonPath:this.selNode.authentication.swapMacaroonPath}}})),this.store.dispatch((0,ze.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,ae.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,Ce.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(ai.mQ),e.Y36(Oi.yh))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-loop-service-settings"]],viewQuery:function(_,F){if(1&_&&e.Gf(zl,7),2&_){let ie;e.iGM(ie=e.CRH())&&(F.form=ie.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(_,F){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(et){return F.enableLoop=et})("change",function(et){return F.onEnableServiceChanged(et)}),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(et){return F.selNode.settings.swapServerUrl=et}),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,eh,2,0,"mat-error",11),e.YNc(25,z1,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(et){return F.selNode.authentication.swapMacaroonPath=et}),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,V1,2,0,"mat-error",11),e.qZA()()(),e.TgZ(33,"div",13)(34,"button",14),e.NdJ("click",function(){return F.onReset()}),e._uU(35,"Reset"),e.qZA(),e.TgZ(36,"button",15),e.NdJ("click",function(){return F.onUpdateService()}),e._uU(37,"Update"),e.qZA()()()),2&_){const ie=e.MAs(21);e.xp6(2),e.Q6J("icon",F.faInfoCircle),e.xp6(13),e.Q6J("ngModel",F.enableLoop),e.xp6(5),e.Q6J("required",F.enableLoop)("disabled",!F.enableLoop)("ngModel",F.selNode.settings.swapServerUrl),e.xp6(4),e.Q6J("ngIf",!F.selNode.settings.swapServerUrl&&F.enableLoop),e.xp6(1),e.Q6J("ngIf",(null==ie||null==ie.errors?null:ie.errors.invalid)&&F.enableLoop),e.xp6(4),e.Q6J("required",F.enableLoop)("disabled",!F.enableLoop)("ngModel",F.selNode.authentication.swapMacaroonPath),e.xp6(3),e.Q6J("ngIf",!F.selNode.authentication.swapMacaroonPath&&F.enableLoop)}},dependencies:[Gi.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,gi.lW,or.Nt,wi.KE,wi.hX,wi.bx,wi.TO,Ei.Rr,Zi.$V,ln.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}),R})();const cr=["form"];function B1(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Boltz server URL is required."),e.qZA())}function U1(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Specify the boltz server url with 'https://'."),e.qZA())}function L3(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Boltz macaroon path is required."),e.qZA())}let t2=(()=>{class R{constructor(_,F){this.logger=_,this.store=F,this.faInfoCircle=qi.sqG,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new Ni.x,new Ni.x]}ngOnInit(){this.store.select(xa.dT).pipe((0,rn.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,kt.jS)({payload:{uiMessage:Ne.m6.UPDATE_BOLTZ_SETTINGS,service:Ne.JX.BOLTZ,settings:{enable:this.enableBoltz,serverUrl:this.serverUrl,macaroonPath:this.macaroonPath}}})),this.store.dispatch((0,ze.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,ae.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,Ce.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(ai.mQ),e.Y36(Oi.yh))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(_,F){if(1&_&&e.Gf(cr,7),2&_){let ie;e.iGM(ie=e.CRH())&&(F.form=ie.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(_,F){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(et){return F.enableBoltz=et})("change",function(et){return F.onEnableServiceChanged(et)}),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(et){return F.serverUrl=et}),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,B1,2,0,"mat-error",11),e.YNc(25,U1,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(et){return F.macaroonPath=et}),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,L3,2,0,"mat-error",11),e.qZA()()(),e.TgZ(33,"div",13)(34,"button",14),e.NdJ("click",function(){return F.onReset()}),e._uU(35,"Reset"),e.qZA(),e.TgZ(36,"button",15),e.NdJ("click",function(){return F.onUpdateService()}),e._uU(37,"Update"),e.qZA()()()),2&_){const ie=e.MAs(21);e.xp6(2),e.Q6J("icon",F.faInfoCircle),e.xp6(13),e.Q6J("ngModel",F.enableBoltz),e.xp6(5),e.Q6J("required",F.enableBoltz)("disabled",!F.enableBoltz)("ngModel",F.serverUrl),e.xp6(4),e.Q6J("ngIf",(!F.serverUrl||""===F.serverUrl.trim())&&F.enableBoltz),e.xp6(1),e.Q6J("ngIf",(null==ie||null==ie.errors?null:ie.errors.invalid)&&F.enableBoltz),e.xp6(4),e.Q6J("required",F.enableBoltz)("disabled",!F.enableBoltz)("ngModel",F.macaroonPath),e.xp6(3),e.Q6J("ngIf",!F.macaroonPath&&F.enableBoltz)}},dependencies:[Gi.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,gi.lW,or.Nt,wi.KE,wi.hX,wi.bx,wi.TO,Ei.Rr,Zi.$V,ln.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}),R})(),Vl=(()=>{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(_,F){1&_&&e._UZ(0,"router-outlet")},dependencies:[Zn.lC]}),R})();var Nu=m(2615),Bl=m(9107),gc=m(8739),Fc=m(6308),aa=m(671),dl=m(3162);function th(R,N){if(1&R&&(e.TgZ(0,"mat-option",37),e._uU(1),e.qZA()),2&R){const _=N.$implicit,F=e.oxw();e.Q6J("value",_),e.xp6(1),e.Oqu(F.getLabel(_))}}function Ul(R,N){1&R&&e._UZ(0,"mat-progress-bar",38)}function Io(R,N){1&R&&(e.TgZ(0,"th",39),e._uU(1,"State"),e.qZA())}function Fu(R,N){if(1&R&&(e.TgZ(0,"td",40),e._uU(1),e.qZA()),2&R){const _=N.$implicit,F=e.oxw();e.xp6(1),e.Oqu(F.LoopStateEnum[null==_?null:_.state])}}function $s(R,N){1&R&&(e.TgZ(0,"th",39),e._uU(1,"Initiation Time"),e.qZA())}function Gl(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 hl(R,N){1&R&&(e.TgZ(0,"th",39),e._uU(1,"Last Update Time"),e.qZA())}function G1(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 n2(R,N){1&R&&(e.TgZ(0,"th",41),e._uU(1,"Amount (Sats)"),e.qZA())}function Hc(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 ih(R,N){1&R&&(e.TgZ(0,"th",41),e._uU(1,"Cost Server (Sats)"),e.qZA())}function a2(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 Hu(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 ko(R,N){1&R&&(e.TgZ(0,"th",41),e._uU(1,"Cost Onchain (Sats)"),e.qZA())}function r2(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 nh(R,N){1&R&&(e.TgZ(0,"th",39),e._uU(1,"HTLC Address"),e.qZA())}const Zl=function(R){return{width:R}};function jr(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,F=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,Zl,F.screenSize===F.screenSizeEnum.XS?"6rem":F.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 Z1(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,F=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,Zl,F.screenSize===F.screenSizeEnum.XS?"6rem":F.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.id)}}function ah(R,N){1&R&&(e.TgZ(0,"th",39),e._uU(1,"ID (Bytes)"),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,F=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,Zl,F.screenSize===F.screenSizeEnum.XS?"6rem":F.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.id_bytes)}}function ks(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 ie=e.oxw();return e.KtG(ie.onDownloadCSV())}),e._uU(5,"Download CSV"),e.qZA()()()()}}function Vu(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"td",49)(1,"button",50),e.NdJ("click",function(ie){const Gt=e.CHM(_).$implicit,ei=e.oxw();return e.KtG(ei.onSwapClick(Gt,ie))}),e._uU(2,"View Info"),e.qZA()()}}function Y1(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 o2(R,N){if(1&R&&(e.TgZ(0,"td",51),e.YNc(1,Y1,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 s2(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 oh(R,N){1&R&&e._UZ(0,"tr",54)}function c2(R,N){1&R&&e._UZ(0,"tr",55)}const Wl=function(){return["all"]},j1=function(R){return{"overflow-auto error-border":R,"overflow-auto":!0}},ul=function(){return["no_swap"]};let vc=(()=>{class R{constructor(_,F,ie,et,Gt,ei){this.logger=_,this.commonService=F,this.store=ie,this.loopService=et,this.datePipe=Gt,this.camelCaseWithReplace=ei,this.selectedSwapType=Ne.$I.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Ne.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:Ne.IV,sortBy:"initiation_time",sortOrder:Ne.Pi.DESCENDING},this.LoopStateEnum=Ne.Fq,this.faHistory=qi.qO$,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new aa.by([]),this.selFilter="",this.pageSize=Ne.IV,this.pageSizeOptions=Ne.TJ,this.screenSize="",this.screenSizeEnum=Ne.cu,this.unSubs=[new Ni.x,new Ni.x,new Ni.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Yr.Pr).pipe((0,rn.R)(this.unSubs[0])).subscribe(_=>{this.tableSetting=_.pageSettings.find(F=>F.pageId===this.PAGE_ID)?.tables.find(F=>F.tableId===this.tableSetting.tableId)||Ne.gK.find(F=>F.pageId===this.PAGE_ID)?.tables.find(F=>F.tableId===this.tableSetting.tableId),this.displayedColumns=this.screenSize===Ne.cu.XS||this.screenSize===Ne.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:Ne.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===Ne.$I.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}applyFilter(){this.listSwaps.filter=this.selFilter.trim().toLowerCase()}getLabel(_){const F=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(ie=>ie.column===_);return F?F.label?F.label:this.camelCaseWithReplace.transform(F.column,"_"):this.commonService.titleCase(_)}setFilterPredicate(){this.listSwaps.filterPredicate=(_,F)=>{let ie="";switch(this.selFilterBy){case"all":ie=JSON.stringify(_).toLowerCase();break;case"state":ie=_?.state?this.LoopStateEnum[_?.state]:"";break;case"initiation_time":case"last_update_time":ie=this.datePipe.transform(new Date((_[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:ie=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===ie.indexOf(F):ie.includes(F)}}onSwapClick(_,F){this.loopService.getSwap(_.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,rn.R)(this.unSubs[1])).subscribe(ie=>{this.store.dispatch((0,kt.qR)({payload:{data:{type:Ne.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:Ne.Fq[ie.state||""],title:"Status",width:50,type:Ne.Gi.STRING},{key:"amt",value:ie.amt,title:"Amount (Sats)",width:50,type:Ne.Gi.NUMBER}],[{key:"initiation_time",value:(ie.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:Ne.Gi.DATE_TIME},{key:"last_update_time",value:(ie.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:Ne.Gi.DATE_TIME}],[{key:"cost_server",value:ie.cost_server,title:"Server Cost (Sats)",width:33,type:Ne.Gi.NUMBER},{key:"cost_offchain",value:ie.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:Ne.Gi.NUMBER},{key:"cost_onchain",value:ie.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:Ne.Gi.NUMBER}],[{key:"id_bytes",value:ie.id_bytes,title:"ID",width:100,type:Ne.Gi.STRING}],[{key:"htlc_address",value:ie.htlc_address,title:"HTLC Address",width:100,type:Ne.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(_){this.listSwaps=new aa.by([..._]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(F,ie)=>F[ie]&&isNaN(F[ie])?F[ie].toLocaleLowerCase():F[ie]?+F[ie]: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===Ne.$I.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(ai.mQ),e.Y36(dt.v),e.Y36(Oi.yh),e.Y36(Bl.W),e.Y36(Gi.uU),e.Y36(Js.D3))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-swaps"]],viewQuery:function(_,F){if(1&_&&(e.Gf(Fc.YE,5),e.Gf(gc.NW,5)),2&_){let ie;e.iGM(ie=e.CRH())&&(F.sort=ie.first),e.iGM(ie=e.CRH())&&(F.paginator=ie.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[e._Bn([{provide:Ii.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:gc.ye,useValue:(0,Ne.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(_,F){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(et){return F.selFilterBy=et})("selectionChange",function(){return F.selFilter="",F.applyFilter()}),e.TgZ(11,"perfect-scrollbar"),e.YNc(12,th,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(et){return F.selFilter=et})("input",function(){return F.applyFilter()})("keyup",function(){return F.applyFilter()}),e.qZA()()()(),e.TgZ(17,"div",10)(18,"div",11),e.YNc(19,Ul,1,0,"mat-progress-bar",12),e.TgZ(20,"table",13,14),e.ynx(22,15),e.YNc(23,Io,2,0,"th",16),e.YNc(24,Fu,2,1,"td",17),e.BQk(),e.ynx(25,18),e.YNc(26,$s,2,0,"th",16),e.YNc(27,Gl,3,4,"td",17),e.BQk(),e.ynx(28,19),e.YNc(29,hl,2,0,"th",16),e.YNc(30,G1,3,4,"td",17),e.BQk(),e.ynx(31,20),e.YNc(32,n2,2,0,"th",21),e.YNc(33,Hc,4,3,"td",17),e.BQk(),e.ynx(34,22),e.YNc(35,ih,2,0,"th",21),e.YNc(36,a2,4,3,"td",17),e.BQk(),e.ynx(37,23),e.YNc(38,Hu,2,0,"th",21),e.YNc(39,zu,4,3,"td",17),e.BQk(),e.ynx(40,24),e.YNc(41,ko,2,0,"th",21),e.YNc(42,r2,4,3,"td",17),e.BQk(),e.ynx(43,25),e.YNc(44,nh,2,0,"th",16),e.YNc(45,jr,4,4,"td",17),e.BQk(),e.ynx(46,26),e.YNc(47,_c,2,0,"th",16),e.YNc(48,Z1,4,4,"td",17),e.BQk(),e.ynx(49,27),e.YNc(50,ah,2,0,"th",16),e.YNc(51,W1,4,4,"td",17),e.BQk(),e.ynx(52,28),e.YNc(53,ks,6,0,"th",29),e.YNc(54,Vu,3,0,"td",30),e.BQk(),e.ynx(55,31),e.YNc(56,o2,2,1,"td",32),e.BQk(),e.YNc(57,s2,1,3,"tr",33),e.YNc(58,oh,1,0,"tr",34),e.YNc(59,c2,1,0,"tr",35),e.qZA(),e._UZ(60,"mat-paginator",36),e.qZA()()()),2&_&&(e.xp6(3),e.Q6J("icon",F.faHistory),e.xp6(2),e.hij("",F.swapCaption," History"),e.xp6(5),e.Q6J("ngModel",F.selFilterBy),e.xp6(2),e.Q6J("ngForOf",e.DdM(16,Wl).concat(F.displayedColumns.slice(0,-1))),e.xp6(4),e.Q6J("ngModel",F.selFilter),e.xp6(3),e.Q6J("ngIf",!0===F.flgLoading[0]),e.xp6(1),e.Q6J("matSortActive",F.tableSetting.sortBy)("matSortDirection",F.tableSetting.sortOrder)("dataSource",F.listSwaps)("ngClass",e.VKq(17,j1,"error"===F.flgLoading[0])),e.xp6(37),e.Q6J("matFooterRowDef",e.DdM(19,ul)),e.xp6(1),e.Q6J("matHeaderRowDef",F.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",F.displayedColumns),e.xp6(1),e.Q6J("pageSize",F.pageSize)("pageSizeOptions",F.pageSizeOptions)("showFirstLastButtons",F.screenSize!==F.screenSizeEnum.XS))},dependencies:[Gi.mk,Gi.sg,Gi.O5,Gi.PC,ii.Fj,ii.JJ,ii.On,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,At.oO,At.Zl,gi.lW,or.Nt,wi.KE,wi.hX,dl.pW,Ii.gD,Ii.$L,Ki.ey,Fc.YE,Fc.nU,aa.BZ,aa.fO,aa.as,aa.w1,aa.Dz,aa.nj,aa.mD,aa.Ke,aa.ge,aa.ev,aa.yh,aa.XQ,aa.Gk,aa.Q2,gc.NW,Zi.Vv,Zi.$V,Gi.JJ,Gi.uU]}),R})();const Yl=function(R){return["../",R]};function zc(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",11),e.NdJ("click",function(){const et=e.CHM(_).$implicit,Gt=e.oxw();return e.KtG(Gt.onSelectedIndexChange(et))}),e._uU(1),e.qZA()}if(2&R){const _=N.$implicit,F=e.oxw();e.Q6J("active",F.activeTab.link===_.link)("routerLink",e.VKq(3,Yl,_.link)),e.xp6(1),e.Oqu(_.name)}}let K1=(()=>{class R{constructor(_,F,ie){this.router=_,this.loopService=F,this.store=ie,this.faInfinity=qi.vqe,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=Ne.$I,this.selectedSwapType=Ne.$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 Ni.x,new Ni.x,new Ni.x,new Ni.x]}ngOnInit(){this.loopService.listSwaps();const _=this.links.find(F=>this.router.url.includes(F.link));this.activeTab=_||this.links[0],this.selectedSwapType=_&&"loopin"===_.link?Ne.$I.LOOP_IN:Ne.$I.LOOP_OUT,this.router.events.pipe((0,rn.R)(this.unSubs[0]),(0,Na.h)(F=>F instanceof Zn.Av)).subscribe({next:F=>{const ie=this.links.find(et=>F.urlAfterRedirects.includes(et.link));this.activeTab=ie||this.links[0],this.selectedSwapType=ie&&"loopin"===ie.link?Ne.$I.LOOP_IN:Ne.$I.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,rn.R)(this.unSubs[1])).subscribe({next:F=>{this.flgLoading[0]=!1,this.storedSwaps=F,this.filteredSwaps=this.storedSwaps?.filter(ie=>ie.type===this.selectedSwapType)},error:F=>{this.flgLoading[0]="error",this.emptyTableMessage=F.message?F.message:"No loop "+(this.selectedSwapType===Ne.$I.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(_){this.selectedSwapType="loopin"===_.link?Ne.$I.LOOP_IN:Ne.$I.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(F=>F.type===this.selectedSwapType)}onLoop(_){_===Ne.$I.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,rn.R)(this.unSubs[2])).subscribe({next:F=>{this.store.dispatch((0,kt.qR)({payload:{data:{minQuote:F[0],maxQuote:F[1],direction:_,component:Nu.a}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,rn.R)(this.unSubs[3])).subscribe({next:F=>{this.store.dispatch((0,kt.qR)({payload:{data:{minQuote:F[0],maxQuote:F[1],direction:_,component:Nu.a}}}))}})}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Zn.F0),e.Y36(Bl.W),e.Y36(Oi.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(_,F){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,zc,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 F.onLoop(F.selectedSwapType)}),e._uU(13),e.qZA()(),e._UZ(14,"rtl-swaps",10),e.qZA()()()),2&_){const ie=e.MAs(10);e.xp6(1),e.Q6J("icon",F.faInfinity),e.xp6(6),e.Q6J("tabPanel",ie),e.xp6(1),e.Q6J("ngForOf",F.links),e.xp6(5),e.hij("Start ",F.activeTab.name,""),e.xp6(1),e.Q6J("selectedSwapType",F.selectedSwapType)("swapsData",F.filteredSwaps)("flgLoading",F.flgLoading)("emptyTableMessage",F.emptyTableMessage)}},dependencies:[Gi.sg,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,gi.lW,jn.a8,jn.dn,He.BU,He.sW,He.Nj,Zn.rH,vc]}),R})();var Q1=m(7772),Jo=m(1135),jl=m(2843),fl=m(262),q1=m(1786);let ml=(()=>{class R{constructor(_,F,ie,et){this.httpClient=_,this.logger=F,this.store=ie,this.commonService=et,this.swapUrl="",this.swaps={},this.swapsChanged=new Jo.X({}),this.unSubs=[new Ni.x,new Ni.x,new Ni.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,kt.ac)({payload:Ne.m6.GET_BOLTZ_SWAPS})),this.swapUrl=Ne.T5+Ne.vv.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,rn.R)(this.unSubs[0])).subscribe({next:_=>{this.store.dispatch((0,kt.uO)({payload:Ne.m6.GET_BOLTZ_SWAPS})),this.swaps=_,this.swapsChanged.next(this.swaps)},error:_=>this.swapsChanged.error(this.handleErrorWithAlert(Ne.m6.GET_BOLTZ_SWAPS,this.swapUrl,_))})}swapInfo(_){return this.swapUrl=Ne.T5+Ne.vv.BOLTZ_API+"/swapInfo/"+_,this.httpClient.get(this.swapUrl).pipe((0,fl.K)(F=>(0,To.of)(this.handleErrorWithAlert(Ne.m6.NO_SPINNER,this.swapUrl,F))))}serviceInfo(){return this.store.dispatch((0,kt.ac)({payload:Ne.m6.GET_SERVICE_INFO})),this.swapUrl=Ne.T5+Ne.vv.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,rn.R)(this.unSubs[1]),(0,pa.U)(_=>(this.store.dispatch((0,kt.uO)({payload:Ne.m6.GET_SERVICE_INFO})),_)),(0,fl.K)(_=>(0,To.of)(this.handleErrorWithAlert(Ne.m6.GET_SERVICE_INFO,this.swapUrl,_))))}swapOut(_,F){const ie={amount:_,address:F};return this.swapUrl=Ne.T5+Ne.vv.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,ie).pipe((0,fl.K)(et=>this.handleErrorWithoutAlert("Swap Out for Address: "+F,Ne.m6.NO_SPINNER,et)))}swapIn(_){const F={amount:_};return this.swapUrl=Ne.T5+Ne.vv.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,F).pipe((0,fl.K)(ie=>this.handleErrorWithoutAlert("Swap In for Amount: "+_,Ne.m6.NO_SPINNER,ie)))}handleErrorWithoutAlert(_,F,ie){let et="";return this.logger.error("ERROR IN: "+_+"\n"+JSON.stringify(ie)),this.store.dispatch((0,kt.uO)({payload:F})),401===ie.status?(et="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,kt.kS)())):503===ie.status?(et="Unable to Connect to Boltz Server.",this.store.dispatch((0,kt.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:ie.status,message:"Unable to Connect to Boltz Server",URL:_},component:q1.H}}}))):et=this.commonService.extractErrorMessage(ie),(0,jl._)(()=>new Error(et))}handleErrorWithAlert(_,F,ie){let et="";if(401===ie.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,kt.kS)())),this.logger.error(ie),this.store.dispatch((0,kt.uO)({payload:_})),401===ie.status)et="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,kt.kS)());else if(503===ie.status)et="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,kt.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:ie.status,message:"Unable to Connect to Boltz Server",URL:F},component:q1.H}}}))},100);else{et=this.commonService.extractErrorMessage(ie);const Gt=ie.error&&ie.error.error&&ie.error.error.code?ie.error.error.code:ie.error&&ie.error.code?ie.error.code:ie.code?ie.code:ie.status;setTimeout(()=>{this.store.dispatch((0,kt.qR)({payload:{data:{type:Ne.n_.ERROR,alertTitle:"ERROR",message:{code:Gt,message:et,URL:F},component:q1.H}}}))},100)}return{message:et}}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.LFG(gr.eN),e.LFG(ai.mQ),e.LFG(Oi.yh),e.LFG(dt.v))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})();function Bu(R,N){1&R&&e.GkF(0)}function Uu(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 Gu(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 Zu(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 Wu=(()=>{class R{constructor(){this.swapStatus=null,this.direction=Ne.hc.SWAP_OUT,this.swapTypeEnum=Ne.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(_,F){if(1&_&&(e.YNc(0,Bu,1,0,"ng-container",0),e.YNc(1,Uu,3,1,"ng-template",null,1,e.W1O),e.YNc(3,Gu,25,6,"ng-template",null,2,e.W1O),e.YNc(5,Zu,27,6,"ng-template",null,3,e.W1O)),2&_){const ie=e.MAs(2),et=e.MAs(4),Gt=e.MAs(6);e.Q6J("ngTemplateOutlet",null!=F.swapStatus&&F.swapStatus.error?ie:F.direction===F.swapTypeEnum.SWAP_OUT?et:Gt)}},dependencies:[Gi.tP,Ui.xw,Ui.Wh,Ui.yH,Ir.d,Gi.JJ]}),R})(),l2=(()=>{class R{constructor(){this.serviceInfo={},this.direction=Ne.hc.SWAP_OUT,this.swapTypeEnum=Ne.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(_,F){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==F.serviceInfo||null==F.serviceInfo.limits?null:F.serviceInfo.limits.minimal)),e.xp6(6),e.Oqu(e.lcZ(18,7,null==F.serviceInfo||null==F.serviceInfo.limits?null:F.serviceInfo.limits.maximal)),e.xp6(8),e.Oqu(e.lcZ(26,9,null==F.serviceInfo||null==F.serviceInfo.fees?null:F.serviceInfo.fees.percentage)),e.xp6(6),e.Oqu(e.lcZ(32,11,F.direction===F.swapTypeEnum.SWAP_OUT?null==F.serviceInfo||null==F.serviceInfo.fees||null==F.serviceInfo.fees.miner?null:F.serviceInfo.fees.miner.reverse:null==F.serviceInfo||null==F.serviceInfo.fees||null==F.serviceInfo.fees.miner?null:F.serviceInfo.fees.miner.normal)))},dependencies:[Ui.xw,Ui.Wh,Ui.yH,Ft.ib,Ft.yz,Ft.yK,Ir.d,Gi.JJ]}),R})();var J1=m(113);function d2(R,N){1&R&&e.GkF(0)}const ec=function(R,N){return{"small-svg":R,"large-svg":N}};function Os(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.onSwipe(ie))}),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,ec,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function Yu(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.onSwipe(ie))}),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,ec,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function X1(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.onSwipe(ie))}),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,ec,_.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(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.onSwipe(ie))}),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,ec,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function h2(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.onSwipe(ie))}),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,ec,_.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=Ne.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(dt.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(_,F){if(1&_&&(e.YNc(0,d2,1,0,"ng-container",0),e.YNc(1,Os,18,5,"ng-template",null,1,e.W1O),e.YNc(3,Yu,15,5,"ng-template",null,2,e.W1O),e.YNc(5,X1,19,5,"ng-template",null,3,e.W1O),e.YNc(7,sh,17,5,"ng-template",null,4,e.W1O),e.YNc(9,h2,13,5,"ng-template",null,5,e.W1O)),2&_){const ie=e.MAs(2),et=e.MAs(4),Gt=e.MAs(6),ei=e.MAs(8),li=e.MAs(10);e.Q6J("ngTemplateOutlet",1===F.stepNumber?ie:2===F.stepNumber?et:3===F.stepNumber?Gt:4===F.stepNumber?ei:li)}},dependencies:[Gi.mk,Gi.tP,Ui.xw,Ui.Wh,Ui.yH,At.oO,jn.$j,jn.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:[J1.l]}}),R})();function $1(R,N){1&R&&e.GkF(0)}const tc=function(R,N){return{"small-svg":R,"large-svg":N}};function ed(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.onSwipe(ie))}),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,tc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function pl(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.onSwipe(ie))}),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,tc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function Kl(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.onSwipe(ie))}),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,tc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function u2(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.onSwipe(ie))}),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,tc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function _r(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.onSwipe(ie))}),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,tc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}let f2=(()=>{class R{constructor(_){this.commonService=_,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.vpe,this.screenSize="",this.screenSizeEnum=Ne.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(dt.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(_,F){if(1&_&&(e.YNc(0,$1,1,0,"ng-container",0),e.YNc(1,ed,18,5,"ng-template",null,1,e.W1O),e.YNc(3,pl,19,5,"ng-template",null,2,e.W1O),e.YNc(5,Kl,19,5,"ng-template",null,3,e.W1O),e.YNc(7,u2,17,5,"ng-template",null,4,e.W1O),e.YNc(9,_r,13,5,"ng-template",null,5,e.W1O)),2&_){const ie=e.MAs(2),et=e.MAs(4),Gt=e.MAs(6),ei=e.MAs(8),li=e.MAs(10);e.Q6J("ngTemplateOutlet",1===F.stepNumber?ie:2===F.stepNumber?et:3===F.stepNumber?Gt:4===F.stepNumber?ei:li)}},dependencies:[Gi.mk,Gi.tP,Ui.xw,Ui.Wh,Ui.yH,At.oO,jn.$j,jn.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:[J1.l]}}),R})();const td=["stepper"];function ca(R,N){if(1&R&&e._uU(0),2&R){const _=e.oxw(2);e.Oqu(_.inputFormLabel)}}function m2(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Amount is required."),e.qZA())}function ic(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 Ps(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 p2(R,N){1&R&&(e.TgZ(0,"button",40),e._uU(1,"Next"),e.qZA())}function Ql(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",41),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw(2);return e.KtG(ie.onSwap())}),e._uU(1),e.qZA()}if(2&R){const _=e.oxw(2);e.xp6(1),e.hij("Initiate ",_.swapDirectionCaption,"")}}function id(R,N){if(1&R&&e._uU(0),2&R){const _=e.oxw(3);e.Oqu(_.addressFormLabel)}}function nd(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Address is required."),e.qZA())}function gl(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-step",15)(1,"form",16),e.YNc(2,id,1,1,"ng-template",17),e.TgZ(3,"div",42)(4,"mat-radio-group",43),e.NdJ("change",function(ie){e.CHM(_);const et=e.oxw(2);return e.KtG(et.onAddressTypeChange(ie))}),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,nd,2,0,"mat-error",24),e.qZA()(),e.TgZ(14,"div",25)(15,"button",48),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw(2);return e.KtG(ie.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 g2(R,N){if(1&R&&e._uU(0),2&R){const _=e.oxw(2);e.hij("",_.swapDirectionCaption," Status")}}function ad(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 ch(R,N){1&R&&e._UZ(0,"div")}function lh(R,N){1&R&&e._UZ(0,"mat-progress-bar",50)}function _2(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 rd(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",52),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw(2);return e.KtG(ie.onRestart())}),e._uU(1,"Start Again"),e.qZA()}}function od(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 ie=e.oxw();return e.KtG(ie.showInfo())}),e._uU(8,"?"),e.qZA(),e.TgZ(9,"button",10),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.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(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.stepSelectionChanged(ie))}),e.TgZ(15,"mat-step",15)(16,"form",16),e.YNc(17,ca,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,m2,2,0,"mat-error",24),e.YNc(32,ic,3,3,"mat-error",24),e.YNc(33,Ps,3,3,"mat-error",24),e.qZA()(),e.TgZ(34,"div",25),e.YNc(35,p2,2,0,"button",26),e.YNc(36,Ql,2,1,"button",27),e.qZA()()(),e.YNc(37,gl,17,6,"mat-step",28),e.TgZ(38,"mat-step",29)(39,"form",16),e.YNc(40,g2,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,ad,2,1,"mat-icon",33),e.qZA()()(),e.YNc(48,ch,1,0,"div",34),e.qZA(),e.YNc(49,lh,1,0,"mat-progress-bar",35),e.qZA(),e.YNc(50,_2,2,1,"h4",36),e.TgZ(51,"div",25),e.YNc(52,rd,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(),F=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",F),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 _l(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 ql(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"rtl-boltz-swapout-info-graphics",70),e.NdJ("stepNumberChange",function(ie){e.CHM(_);const et=e.oxw(2);return e.KtG(et.stepNumber=ie)}),e.qZA()}if(2&R){const _=e.oxw(2);e.Q6J("animationDirection",_.animationDirection)("stepNumber",_.stepNumber)}}function Vc(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"rtl-boltz-swapin-info-graphics",70),e.NdJ("stepNumberChange",function(ie){e.CHM(_);const et=e.oxw(2);return e.KtG(et.stepNumber=ie)}),e.qZA()}if(2&R){const _=e.oxw(2);e.Q6J("animationDirection",_.animationDirection)("stepNumber",_.stepNumber)}}const dh=function(R,N){return{"dot-primary":R,"dot-primary-lighter":N}};function v2(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"span",71),e.NdJ("click",function(){const et=e.CHM(_).$implicit,Gt=e.oxw(2);return e.KtG(Gt.onStepChanged(et))}),e._UZ(1,"p",72),e.qZA()}if(2&R){const _=N.$implicit,F=e.oxw(2);e.xp6(1),e.Q6J("ngClass",e.WLB(1,dh,F.stepNumber===_,F.stepNumber!==_))}}function ju(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",73),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw(2);return e.KtG(ie.onReadMore())}),e._uU(1,"Read More"),e.qZA()}}function hh(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",74),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw(2);return e.KtG(ie.onStepChanged(4))}),e._uU(1,"Back"),e.qZA()}}function Jl(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",75),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw(2);return ie.flgShowInfo=!1,e.KtG(ie.stepNumber=1)}),e._uU(1,"Close"),e.qZA()}}function b2(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",76),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw(2);return ie.flgShowInfo=!1,e.KtG(ie.stepNumber=1)}),e._uU(1,"Close"),e.qZA()}}function y2(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",77),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw(2);return e.KtG(ie.onStepChanged(ie.stepNumber-1))}),e._uU(1,"Back"),e.qZA()}}function vl(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",78),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw(2);return e.KtG(ie.onStepChanged(ie.stepNumber+1))}),e._uU(1,"Next"),e.qZA()}}const sd=function(){return[1,2,3,4,5]};function cd(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 ie=e.oxw();return ie.flgShowInfo=!1,e.KtG(ie.stepNumber=1)}),e._uU(7,"X"),e.qZA()()(),e.TgZ(8,"mat-card-content",59),e.YNc(9,ql,1,2,"rtl-boltz-swapout-info-graphics",60),e.YNc(10,Vc,1,2,"rtl-boltz-swapin-info-graphics",60),e.qZA(),e.TgZ(11,"div",61),e.YNc(12,v2,2,4,"span",62),e.qZA(),e.TgZ(13,"div",63),e.YNc(14,ju,2,0,"button",64),e.YNc(15,hh,2,0,"button",65),e.YNc(16,Jl,2,0,"button",66),e.YNc(17,b2,2,0,"button",67),e.YNc(18,y2,2,0,"button",68),e.YNc(19,vl,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,sd)),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 x2=(()=>{class R{constructor(_,F,ie,et,Gt,ei,li){this.dialogRef=_,this.data=F,this.boltzService=ie,this.formBuilder=et,this.decimalPipe=Gt,this.logger=ei,this.commonService=li,this.faInfoCircle=qi.sqG,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=Ne.hc,this.direction=Ne.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=Ne.cu,this.animationDirection="forward",this.flgEditable=!0,this.unSubs=[new Ni.x,new Ni.x,new Ni.x,new Ni.x,new Ni.x,new Ni.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||Ne.hc.SWAP_OUT,this.swapDirectionCaption=this.direction===Ne.hc.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[ii.kI.required,ii.kI.min(this.serviceInfo.limits?.minimal||0),ii.kI.max(this.serviceInfo.limits?.maximal||0)]]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[ii.kI.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges()}ngAfterViewInit(){this.direction===Ne.hc.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===Ne.hc.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,rn.R)(this.unSubs[2])).subscribe(_=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(_){"external"===_.value?(this.addressFormGroup.controls.address.setValidators([ii.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(){if(!this.inputFormGroup.controls.amount.value||this.serviceInfo.limits?.minimal&&this.inputFormGroup.controls.amount.value<+this.serviceInfo.limits.minimal||this.serviceInfo.limits?.maximal&&this.inputFormGroup.controls.amount.value>+this.serviceInfo.limits.maximal||this.direction===Ne.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,this.stepper.selected?.stepControl.setErrors(null),this.stepper.next(),this.direction===Ne.hc.SWAP_IN?this.boltzService.swapIn(this.inputFormGroup.controls.amount.value).pipe((0,rn.R)(this.unSubs[3])).subscribe({next:_=>{this.swapStatus=_,this.boltzService.listSwaps(),this.flgEditable=!0},error:_=>{this.swapStatus={error:_},this.flgEditable=!0,this.logger.error(_)}}):this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,"external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"").pipe((0,rn.R)(this.unSubs[4])).subscribe({next:F=>{this.swapStatus=F,this.boltzService.listSwaps(),this.flgEditable=!0},error:F=>{this.swapStatus={error:F},this.flgEditable=!0,this.logger.error(F)}})}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===Ne.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(){this.stepper.reset(),this.flgEditable=!0,this.inputFormGroup.reset({amount:this.serviceInfo.limits?.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(sa.so),e.Y36(sa.WI),e.Y36(ml),e.Y36(ii.QS),e.Y36(Gi.JJ),e.Y36(ai.mQ),e.Y36(dt.v))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(_,F){if(1&_&&e.Gf(td,5),2&_){let ie;e.iGM(ie=e.CRH())&&(F.stepper=ie.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(_,F){1&_&&(e.YNc(0,od,56,34,"div",0),e.YNc(1,_l,1,2,"ng-template",null,1,e.W1O),e.YNc(3,cd,20,11,"div",2)),2&_&&(e.Q6J("ngIf",!F.flgShowInfo),e.xp6(3),e.Q6J("ngIf",F.flgShowInfo))},dependencies:[Gi.mk,Gi.sg,Gi.O5,ii._Y,ii.Fj,ii.wV,ii.JJ,ii.JL,ii.Q7,ii.sg,ii.u,Ui.xw,Ui.Wh,Ui.yH,At.oO,sa.ZT,gi.lW,jn.dn,jn.dk,Ft.ib,Ft.yz,Ft.yK,ds.Hw,or.Nt,wi.KE,wi.hX,wi.bx,wi.TO,wi.R9,dl.pW,mi.VQ,mi.U0,ao.C0,ao.VY,ao.Vq,ao.Ic,ln.h,Wu,l2,bc,f2,Gi.JJ],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem;overflow-x:hidden}"],data:{animation:[Q1._]}}),R})();function ld(R,N){if(1&R&&(e.TgZ(0,"mat-option",42),e._uU(1),e.qZA()),2&R){const _=N.$implicit,F=e.oxw();e.Q6J("value",_),e.xp6(1),e.Oqu(F.getLabel(_))}}function yc(R,N){1&R&&e._UZ(0,"mat-progress-bar",43)}function C2(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Status"),e.qZA())}function uh(R,N){if(1&R&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&R){const _=N.$implicit,F=e.oxw();e.xp6(1),e.Oqu(F.swapStateEnum[null==_?null:_.status])}}function w2(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Swap ID"),e.qZA())}function M2(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 fh(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Claim Address"),e.qZA())}const so=function(R){return{width:R}};function Bc(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,F=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,so,F.screenSize===F.screenSizeEnum.XS?"6rem":F.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.claimAddress)}}function mh(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Lockup Address"),e.qZA())}function S2(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,F=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,so,F.screenSize===F.screenSizeEnum.XS?"6rem":F.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.lockupAddress)}}function ph(R,N){1&R&&(e.TgZ(0,"th",48),e._uU(1,"Onchain Amount (Sats)"),e.qZA())}function gh(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 _h(R,N){1&R&&(e.TgZ(0,"th",48),e._uU(1,"Expected Amount (Sats)"),e.qZA())}function E2(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 T2(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Error"),e.qZA())}function vh(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,F=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,so,F.screenSize===F.screenSizeEnum.XS?"6rem":F.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.error)}}function bh(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Private Key"),e.qZA())}function A2(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,F=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,so,F.screenSize===F.screenSizeEnum.XS?"6rem":F.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.privateKey)}}function L2(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Preimage"),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,F=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,so,F.screenSize===F.screenSizeEnum.XS?"6rem":F.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.preimage)}}function fs(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Redeem Script"),e.qZA())}function bl(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,F=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,so,F.screenSize===F.screenSizeEnum.XS?"6rem":F.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.redeemScript)}}function D2(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Invoice"),e.qZA())}function I2(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,F=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,so,F.screenSize===F.screenSizeEnum.XS?"6rem":F.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.invoice)}}function $l(R,N){1&R&&(e.TgZ(0,"th",48),e._uU(1,"Timeout Block Height"),e.qZA())}function Ku(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 k2(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Lockup Tx ID"),e.qZA())}function Qu(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 dd(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Claim Tx ID"),e.qZA())}function e1(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 qu(R,N){1&R&&(e.TgZ(0,"th",44),e._uU(1,"Refund Tx ID"),e.qZA())}function Ju(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 hd(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 ie=e.oxw();return e.KtG(ie.onDownloadCSV())}),e._uU(5,"Download CSV"),e.qZA()()()()}}function O2(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"td",54)(1,"button",55),e.NdJ("click",function(ie){const Gt=e.CHM(_).$implicit,ei=e.oxw();return e.KtG(ei.onSwapClick(Gt,ie))}),e._uU(2,"View Info"),e.qZA()()}}function P2(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 R2(R,N){if(1&R&&(e.TgZ(0,"td",56),e.YNc(1,P2,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 Uc=function(R){return{"display-none":R}};function ud(R,N){if(1&R&&e._UZ(0,"tr",58),2&R){const _=e.oxw();e.Q6J("ngClass",e.VKq(1,Uc,(null==_.listSwaps?null:_.listSwaps.data)&&(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)>0))}}function t1(R,N){1&R&&e._UZ(0,"tr",59)}function N2(R,N){1&R&&e._UZ(0,"tr",60)}const fd=function(){return["all"]},F2=function(R){return{"overflow-auto error-border":R,"overflow-auto":!0}},qa=function(){return["no_swap"]};let H2=(()=>{class R{constructor(_,F,ie,et,Gt){this.logger=_,this.commonService=F,this.store=ie,this.boltzService=et,this.camelCaseWithReplace=Gt,this.selectedSwapType=Ne.hc.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Ne.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:Ne.IV,sortBy:"status",sortOrder:Ne.Pi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:Ne.IV,sortBy:"status",sortOrder:Ne.Pi.DESCENDING},this.swapStateEnum=Ne.Qw,this.swapTypeEnum=Ne.hc,this.faHistory=qi.qO$,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new aa.by([]),this.selFilter="",this.pageSize=Ne.IV,this.pageSizeOptions=Ne.TJ,this.screenSize="",this.screenSizeEnum=Ne.cu,this.unSubs=[new Ni.x,new Ni.x,new Ni.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Yr.Pr).pipe((0,rn.R)(this.unSubs[0])).subscribe(_=>{this.tableSettingSwapOut=_.pageSettings.find(F=>F.pageId===this.PAGE_ID)?.tables.find(F=>F.tableId===this.tableSettingSwapOut.tableId)||Ne.gK.find(F=>F.pageId===this.PAGE_ID)?.tables.find(F=>F.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=_.pageSettings.find(F=>F.pageId===this.PAGE_ID)?.tables.find(F=>F.tableId===this.tableSettingSwapIn.tableId)||Ne.gK.find(F=>F.pageId===this.PAGE_ID)?.tables.find(F=>F.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===Ne.hc.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}setTableColumns(){this.selectedSwapType===Ne.hc.SWAP_IN?(this.displayedColumns=this.screenSize===Ne.cu.XS||this.screenSize===Ne.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:Ne.IV):(this.displayedColumns=this.screenSize===Ne.cu.XS||this.screenSize===Ne.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:Ne.IV)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(_){const ie=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===Ne.hc.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(et=>et.column===_);return ie?ie.label?ie.label:this.camelCaseWithReplace.transform(ie.column,"_"):this.commonService.titleCase(_)}setFilterPredicate(){this.listSwaps.filterPredicate=(_,F)=>{let ie="";switch(this.selFilterBy){case"all":ie=JSON.stringify(_).toLowerCase();break;case"status":ie=_?.status?this.swapStateEnum[_?.status]:"";break;default:ie=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===ie.indexOf(F):ie.includes(F)}}onSwapClick(_,F){this.boltzService.swapInfo(_.id||"").pipe((0,rn.R)(this.unSubs[1])).subscribe(ie=>{this.store.dispatch((0,kt.qR)({payload:{data:{type:Ne.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:Ne.Qw[(ie=this.selectedSwapType===Ne.hc.SWAP_IN?ie.swap:ie.reverseSwap).status],title:"Status",width:50,type:Ne.Gi.STRING},{key:"id",value:ie.id,title:"ID",width:50,type:Ne.Gi.STRING}],[{key:"amount",value:ie.onchainAmount?ie.onchainAmount:ie.expectedAmount?ie.expectedAmount:0,title:ie.onchainAmount?"Onchain Amount (Sats)":ie.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:Ne.Gi.NUMBER},{key:"timeoutBlockHeight",value:ie.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:Ne.Gi.NUMBER}],[{key:"address",value:ie.claimAddress?ie.claimAddress:ie.lockupAddress?ie.lockupAddress:"",title:ie.claimAddress?"Claim Address":ie.lockupAddress?"Lockup Address":"Address",width:100,type:Ne.Gi.STRING}],[{key:"invoice",value:ie.invoice,title:"Invoice",width:100,type:Ne.Gi.STRING}],[{key:"privateKey",value:ie.privateKey,title:"Private Key",width:100,type:Ne.Gi.STRING}],[{key:"preimage",value:ie.preimage,title:"Preimage",width:100,type:Ne.Gi.STRING}],[{key:"redeemScript",value:ie.redeemScript,title:"Redeem Script",width:100,type:Ne.Gi.STRING}],[{key:"lockupTransactionId",value:ie.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:Ne.Gi.STRING},{key:"transactionId",value:ie.claimTransactionId?ie.claimTransactionId:ie.refundTransactionId?ie.refundTransactionId:"",title:ie.claimTransactionId?"Claim Transaction ID":ie.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:Ne.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(_){this.listSwaps=new aa.by(_?[..._]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(F,ie)=>F[ie]&&isNaN(F[ie])?F[ie].toLocaleLowerCase():F[ie]?+F[ie]: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===Ne.hc.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(ai.mQ),e.Y36(dt.v),e.Y36(Oi.yh),e.Y36(ml),e.Y36(Js.D3))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-boltz-swaps"]],viewQuery:function(_,F){if(1&_&&(e.Gf(Fc.YE,5),e.Gf(gc.NW,5)),2&_){let ie;e.iGM(ie=e.CRH())&&(F.sort=ie.first),e.iGM(ie=e.CRH())&&(F.paginator=ie.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[e._Bn([{provide:Ii.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:gc.ye,useValue:(0,Ne.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(_,F){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(et){return F.selFilterBy=et})("selectionChange",function(){return F.selFilter="",F.applyFilter()}),e.TgZ(11,"perfect-scrollbar"),e.YNc(12,ld,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(et){return F.selFilter=et})("input",function(){return F.applyFilter()})("keyup",function(){return F.applyFilter()}),e.qZA()()()(),e.TgZ(17,"div",10)(18,"div",11),e.YNc(19,yc,1,0,"mat-progress-bar",12),e.TgZ(20,"table",13,14),e.ynx(22,15),e.YNc(23,C2,2,0,"th",16),e.YNc(24,uh,2,1,"td",17),e.BQk(),e.ynx(25,18),e.YNc(26,w2,2,0,"th",16),e.YNc(27,M2,2,1,"td",17),e.BQk(),e.ynx(28,19),e.YNc(29,fh,2,0,"th",16),e.YNc(30,Bc,4,4,"td",17),e.BQk(),e.ynx(31,20),e.YNc(32,mh,2,0,"th",16),e.YNc(33,S2,4,4,"td",17),e.BQk(),e.ynx(34,21),e.YNc(35,ph,2,0,"th",22),e.YNc(36,gh,4,3,"td",17),e.BQk(),e.ynx(37,23),e.YNc(38,_h,2,0,"th",22),e.YNc(39,E2,4,3,"td",17),e.BQk(),e.ynx(40,24),e.YNc(41,T2,2,0,"th",16),e.YNc(42,vh,4,4,"td",17),e.BQk(),e.ynx(43,25),e.YNc(44,bh,2,0,"th",16),e.YNc(45,A2,4,4,"td",17),e.BQk(),e.ynx(46,26),e.YNc(47,L2,2,0,"th",16),e.YNc(48,Xl,4,4,"td",17),e.BQk(),e.ynx(49,27),e.YNc(50,fs,2,0,"th",16),e.YNc(51,bl,4,4,"td",17),e.BQk(),e.ynx(52,28),e.YNc(53,D2,2,0,"th",16),e.YNc(54,I2,4,4,"td",17),e.BQk(),e.ynx(55,29),e.YNc(56,$l,2,0,"th",22),e.YNc(57,Ku,4,3,"td",17),e.BQk(),e.ynx(58,30),e.YNc(59,k2,2,0,"th",16),e.YNc(60,Qu,2,1,"td",17),e.BQk(),e.ynx(61,31),e.YNc(62,dd,2,0,"th",16),e.YNc(63,e1,2,1,"td",17),e.BQk(),e.ynx(64,32),e.YNc(65,qu,2,0,"th",16),e.YNc(66,Ju,2,1,"td",17),e.BQk(),e.ynx(67,33),e.YNc(68,hd,6,0,"th",34),e.YNc(69,O2,3,0,"td",35),e.BQk(),e.ynx(70,36),e.YNc(71,R2,2,1,"td",37),e.BQk(),e.YNc(72,ud,1,3,"tr",38),e.YNc(73,t1,1,0,"tr",39),e.YNc(74,N2,1,0,"tr",40),e.qZA(),e._UZ(75,"mat-paginator",41),e.qZA()()()),2&_&&(e.xp6(3),e.Q6J("icon",F.faHistory),e.xp6(2),e.hij("",F.swapCaption," History"),e.xp6(5),e.Q6J("ngModel",F.selFilterBy),e.xp6(2),e.Q6J("ngForOf",e.DdM(16,fd).concat(F.displayedColumns.slice(0,-1))),e.xp6(4),e.Q6J("ngModel",F.selFilter),e.xp6(3),e.Q6J("ngIf",!0===F.flgLoading[0]),e.xp6(1),e.Q6J("matSortActive",F.selectedSwapType===F.swapTypeEnum.SWAP_IN?F.tableSettingSwapIn.sortBy:F.tableSettingSwapOut.sortBy)("matSortDirection",F.selectedSwapType===F.swapTypeEnum.SWAP_IN?F.tableSettingSwapIn.sortOrder:F.tableSettingSwapOut.sortOrder)("dataSource",F.listSwaps)("ngClass",e.VKq(17,F2,"error"===F.flgLoading[0])),e.xp6(52),e.Q6J("matFooterRowDef",e.DdM(19,qa)),e.xp6(1),e.Q6J("matHeaderRowDef",F.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",F.displayedColumns),e.xp6(1),e.Q6J("pageSize",F.pageSize)("pageSizeOptions",F.pageSizeOptions)("showFirstLastButtons",F.screenSize!==F.screenSizeEnum.XS))},dependencies:[Gi.mk,Gi.sg,Gi.O5,Gi.PC,ii.Fj,ii.JJ,ii.On,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,At.oO,At.Zl,gi.lW,or.Nt,wi.KE,wi.hX,dl.pW,Ii.gD,Ii.$L,Ki.ey,Fc.YE,Fc.nU,aa.BZ,aa.fO,aa.as,aa.w1,aa.Dz,aa.nj,aa.mD,aa.Ke,aa.ge,aa.ev,aa.yh,aa.XQ,aa.Gk,aa.Q2,gc.NW,Zi.Vv,Zi.$V,Gi.JJ]}),R})();const z2=function(R){return["../",R]};function V2(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"div",16),e.NdJ("click",function(){const et=e.CHM(_).$implicit,Gt=e.oxw();return e.KtG(Gt.onSelectedIndexChange(et))}),e._uU(1),e.qZA()}if(2&R){const _=N.$implicit,F=e.oxw();e.Q6J("active",F.activeTab.link===_.link)("routerLink",e.VKq(3,z2,_.link)),e.xp6(1),e.Oqu(_.name)}}let B2=(()=>{class R{constructor(_,F,ie){this.router=_,this.store=F,this.boltzService=ie,this.swapTypeEnum=Ne.hc,this.selectedSwapType=Ne.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 Ni.x,new Ni.x,new Ni.x,new Ni.x]}ngOnInit(){this.boltzService.listSwaps();const _=this.links.find(F=>this.router.url.includes(F.link));this.activeTab=_||this.links[0],this.selectedSwapType=_&&"swapin"===_.link?Ne.hc.SWAP_IN:Ne.hc.SWAP_OUT,this.router.events.pipe((0,rn.R)(this.unSubs[0]),(0,Na.h)(F=>F instanceof Zn.Av)).subscribe({next:F=>{const ie=this.links.find(et=>F.urlAfterRedirects.includes(et.link));this.activeTab=ie||this.links[0],this.selectedSwapType=ie&&"swapin"===ie.link?Ne.hc.SWAP_IN:Ne.hc.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,rn.R)(this.unSubs[1])).subscribe({next:F=>{this.swaps=F,this.swapsData=this.selectedSwapType===Ne.hc.SWAP_IN&&F.swaps?F.swaps:this.selectedSwapType===Ne.hc.SWAP_OUT&&F.reverseSwaps?F.reverseSwaps:[],this.flgLoading[0]=!1},error:F=>{this.flgLoading[0]="error",this.emptyTableMessage=F.message?F.message:"No swap "+(this.selectedSwapType===Ne.hc.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(_){"swapin"===_.link?(this.selectedSwapType=Ne.hc.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=Ne.hc.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(_){this.boltzService.serviceInfo().pipe((0,rn.R)(this.unSubs[2])).subscribe({next:F=>{this.store.dispatch((0,kt.qR)({payload:{data:{serviceInfo:F,direction:_,component:x2}}}))}})}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Zn.F0),e.Y36(Oi.yh),e.Y36(ml))},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(_,F){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,V2,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 F.onSwap(F.selectedSwapType)}),e._uU(18),e.qZA()(),e._UZ(19,"rtl-boltz-swaps",15),e.qZA()()()),2&_){const ie=e.MAs(15);e.xp6(12),e.Q6J("tabPanel",ie),e.xp6(1),e.Q6J("ngForOf",F.links),e.xp6(5),e.hij("Start ",F.activeTab.name,""),e.xp6(1),e.Q6J("selectedSwapType",F.selectedSwapType)("swapsData",F.swapsData)("flgLoading",F.flgLoading)("emptyTableMessage",F.emptyTableMessage)}},dependencies:[Gi.sg,Ui.xw,Ui.Wh,Ui.yH,gi.lW,jn.a8,jn.dn,He.BU,He.sW,He.Nj,Zn.rH,H2]}),R})();class Mr{constructor(N){this.help=N}}function yl(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,F=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",F.flgLoggedIn?_.help.link:"/login"),e.xp6(1),e.Oqu(F.flgLoggedIn?_.help.linkCaption:"Login to go to the page")}}function xc(R,N){if(1&R&&(e.TgZ(0,"div",6),e.YNc(1,yl,8,4,"mat-expansion-panel",7),e.qZA()),2&R){const _=N.$implicit,F=e.oxw();e.xp6(1),e.Q6J("ngIf","ALL"===_.help.lnImplementation||_.help.lnImplementation===F.selNode.lnImplementation)}}let md=(()=>{class R{constructor(_,F){this.store=_,this.sessionService=F,this.helpTopics=[],this.faQuestion=qi.Psp,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new Ni.x,new Ni.x,new Ni.x,new Ni.x]}ngOnInit(){this.store.select(xa.dT).pipe((0,rn.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,rn.R)(this.unSubs[1])).subscribe(_=>{this.flgLoggedIn=!!_.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new Mr({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 Mr({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 Mr({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 Mr({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 Mr({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 Mr({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 Mr({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 Mr({question:"Offers",answer:'Send offer payments, create offer invoices and bookmark paid offers on your node.\nGo to the "Transactions" page under the "Lightning" menu :\nPayment for bolt12 offer invoice can be done on "Payments" tab:\n 1. Click on "Send Payment" button.\n 2. Select "Offer" option on the modal.\n 2. Offer Request - Input offer request (Bolt12 format) in the input box.\n 3. Bookmark - Select the checkbox to bookmark this offer for future use.\nOffers tab is for creating bolt12 offer invoice on your node:\n 1. Click on "Create Offer" button.\n 2. Description - Description you want to provide on the offer invoice.\n 3. Amount - Amount for the offer invoice.\n 4. issuer - issuer of the offer.\nPaid offer bookmarks shows the list of paid offers saved for future payments.\n',link:this.LNPLink+"transactions/offers",linkCaption:"Offers",lnImplementation:"CLN"})),this.helpTopics.push(new Mr({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 Mr({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 Mr({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 Mr({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 Mr({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 Mr({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 Mr({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 Mr({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 Mr({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 Mr({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(Oi.yh),e.Y36(ro.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(_,F){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,xc,2,1,"div",5),e.qZA()()()),2&_&&(e.xp6(2),e.Q6J("icon",F.faQuestion),e.xp6(5),e.Q6J("ngForOf",F.helpTopics))},dependencies:[Gi.sg,Gi.O5,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,Ft.ib,Ft.yz,Ft.yK,Ft.u4,Zn.rH],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]}),R})();var U2=m(9841);function G2(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is required."),e.qZA())}let n1=(()=>{class R{constructor(_,F){this.dialogRef=_,this.store=F,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,kt.M6)({payload:{twoFAToken:this.token}}))}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(sa.so),e.Y36(Oi.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(_,F){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 F.onClose()}),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"form",7,8),e.NdJ("ngSubmit",function(){return F.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(et){return F.token=et}),e.qZA(),e.YNc(15,G2,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",F.token),e.xp6(1),e.Q6J("ngIf",!F.token))},dependencies:[Gi.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,Ui.xw,Ui.Wh,Ui.yH,gi.lW,jn.dn,jn.dk,or.Nt,wi.KE,wi.hX,wi.TO,ln.h]}),R})();function wh(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}function pd(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 Gc=function(R){return{"padding-gap-large":R}},Z2=function(R,N){return{"font-size-200":R,"font-size-300":N}};let gd=(()=>{class R{constructor(_,F,ie,et){this.logger=_,this.store=F,this.rtlEffects=ie,this.commonService=et,this.faUnlockAlt=qi.B$L,this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=Ne.cu,this.loginErrorMessage="",this.apiCallStatusEnum=Ne.Bn,this.unSubs=[new Ni.x,new Ni.x,new Ni.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,U2.a)([this.store.select(xa.ul),this.store.select(xa.Sr)]).pipe((0,rn.R)(this.unSubs[0])).subscribe(([_,F])=>{this.loginErrorMessage="",_.status===Ne.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof _.message?JSON.stringify(_.message):_.message),this.logger.error(_.message)),F.status===Ne.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof F.message?JSON.stringify(F.message):F.message),this.logger.error(F.message))}),this.store.select(xa.Yj).pipe((0,rn.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,kt.qR)({payload:{maxWidth:"35rem",data:{component:n1}}})),this.rtlEffects.closeAlert.pipe((0,da.q)(1)).subscribe(_=>{_&&this.store.dispatch((0,kt.x4)({payload:{password:la(this.password),defaultPassword:Ne.kO.includes(this.password.toLowerCase()),twoFAToken:_.twoFAToken}}))})):this.store.dispatch((0,kt.x4)({payload:{password:la(this.password),defaultPassword:Ne.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(ai.mQ),e.Y36(Oi.yh),e.Y36(Aa.V),e.Y36(dt.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(_,F){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(et){return F.password=et}),e.qZA(),e.TgZ(18,"button",14),e.NdJ("click",function(){return F.flgShow=!F.flgShow}),e.TgZ(19,"mat-icon"),e._uU(20),e.qZA()(),e.YNc(21,wh,2,0,"mat-error",15),e.qZA(),e.YNc(22,pd,4,1,"p",16),e.TgZ(23,"div",17)(24,"button",18),e.NdJ("click",function(){return F.resetData()}),e._uU(25,"Clear"),e.qZA(),e.TgZ(26,"button",19),e.NdJ("click",function(){return F.onLogin()}),e._uU(27,"Login"),e.qZA()()()()()()()()()),2&_&&(e.xp6(6),e.Q6J("ngClass",e.VKq(8,Gc,F.screenSize===F.screenSizeEnum.XS)),e.xp6(2),e.Q6J("ngClass",e.WLB(10,Z2,F.screenSize===F.screenSizeEnum.XS,F.screenSize!==F.screenSizeEnum.XS)),e.xp6(9),e.Q6J("type",F.flgShow?"text":"password")("ngModel",F.password),e.xp6(1),e.uIk("aria-label","Hide password"),e.xp6(2),e.Oqu(F.flgShow?"visibility_off":"visibility"),e.xp6(1),e.Q6J("ngIf",!F.password),e.xp6(1),e.Q6J("ngIf",""!==F.loginErrorMessage))},dependencies:[Gi.mk,Gi.O5,ii._Y,ii.Fj,ii.JJ,ii.JL,ii.Q7,ii.On,ii.F,Ui.xw,Ui.Wh,Ui.yH,At.oO,gi.lW,gi.RK,jn.a8,jn.dn,jn.dk,jn.n5,ds.Hw,or.Nt,wi.KE,wi.hX,wi.TO,wi.R9,ln.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 $u=m(9442);let xl=(()=>{class R{constructor(_,F){this.activatedRoute=_,this.router=F,this.error={errorCode:"",errorMessage:""},this.faTimes=qi.NBC,this.unsubs=[new Ni.x,new Ni.x]}ngOnInit(){this.activatedRoute.paramMap.pipe((0,rn.R)(this.unsubs[0])).subscribe(_=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(Zn.gz),e.Y36(Zn.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(_,F){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 F.goToHelp()}),e._uU(12,"Go To Help"),e.qZA()()()()()),2&_&&(e.xp6(4),e.Q6J("icon",F.faTimes),e.xp6(2),e.hij("Error ",F.error.errorCode,""),e.xp6(3),e.Oqu(F.error.errorMessage))},dependencies:[Ta.BN,Ui.xw,Ui.Wh,Ui.yH,gi.lW,jn.a8,jn.dn,jn.dk,jn.n5],encapsulation:2}),R})();var kr=m(1643),Cl=m(8104),W2=m(9843),wl=m(6534);function Rs(R,N){1&R&&e._UZ(0,"span",16)}function Y2(R,N){1&R&&e._UZ(0,"span",17)}function Zc(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(ie){e.CHM(_);const et=e.oxw(2);return e.KtG(et.enableOffers=ie)})("change",function(){e.CHM(_);const ie=e.oxw(2);return e.KtG(ie.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 Ns(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 Mh(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 a1(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 Ml(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 Cc(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 _d(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Lease base fee is required."),e.qZA())}function vd(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Lease base basis is required."),e.qZA())}function j2(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Max channel routing base fee is required."),e.qZA())}function K2(R,N){1&R&&(e.TgZ(0,"mat-error"),e._uU(1,"Max channel routing fee rate is required."),e.qZA())}const bd=function(R,N){return{"alert-danger":R,"alert-info":N}};function wc(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,bd,!!_.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 Q2(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(ie){e.CHM(_);const et=e.oxw(3);return e.KtG(et.selPolicyType=ie)})("selectionChange",function(){e.CHM(_);const ie=e.oxw(3);return e.KtG(ie.policyMod=null)}),e.YNc(10,Mh,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(ie){e.CHM(_);const et=e.oxw(3);return e.KtG(et.policyMod=ie)}),e.qZA(),e.TgZ(16,"mat-hint"),e._uU(17),e.qZA(),e.YNc(18,a1,2,1,"mat-error",26),e.YNc(19,Ml,2,2,"mat-error",26),e.YNc(20,Cc,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(ie){e.CHM(_);const et=e.oxw(3);return e.KtG(et.lease_fee_base_sat=ie)}),e.qZA(),e.YNc(26,_d,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(ie){e.CHM(_);const et=e.oxw(3);return e.KtG(et.lease_fee_basis=ie)}),e.qZA(),e.YNc(31,vd,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(ie){e.CHM(_);const et=e.oxw(3);return e.KtG(et.channelFeeMaxBaseSat=ie)}),e.qZA(),e.YNc(37,j2,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(ie){e.CHM(_);const et=e.oxw(3);return e.KtG(et.channelFeeMaxProportional=ie)}),e.qZA(),e.YNc(42,K2,2,0,"mat-error",26),e.qZA()(),e.YNc(43,wc,3,5,"h4",43),e.TgZ(44,"div",44)(45,"button",45),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw(3);return e.KtG(ie.onResetPolicy())}),e._uU(46,"Reset"),e.qZA(),e.TgZ(47,"button",46),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw(3);return e.KtG(ie.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 Sh(R,N){if(1&R&&(e.TgZ(0,"form",18,4),e.YNc(2,Ns,12,1,"div",26),e.YNc(3,Q2,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 r1(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-expansion-panel",9),e.NdJ("opened",function(){const et=e.CHM(_).index,Gt=e.oxw();return e.KtG(Gt.onPanelExpanded(et))}),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,Rs,1,0,"span",12),e.YNc(7,Y2,1,0,"span",13),e._uU(8),e.qZA()()(),e.TgZ(9,"div",14),e.YNc(10,Zc,29,5,"form",15),e.YNc(11,Sh,4,2,"form",15),e.qZA()()}if(2&R){const _=N.$implicit,F=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===F),e.xp6(1),e.Q6J("ngIf",1===F)}}let o1=(()=>{class R{constructor(_,F,ie,et){this.logger=_,this.store=F,this.dataService=ie,this.commonService=et,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=Ne.gB,this.selPolicyType=Ne.gB[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new Ni.x,new Ni.x,new Ni.x,new Ni.x,new Ni.x]}ngOnInit(){this.dataService.listConfigs().pipe((0,rn.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(xa.dT).pipe((0,rn.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(Fl.Rn).pipe((0,rn.R)(this.unSubs[2])).subscribe(_=>{this.policyTypes[2].max=_.balance.totalBalance||1e3})}onPanelExpanded(_){1===_&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,rn.R)(this.unSubs[3])).subscribe(F=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(F)),this.fundingPolicy=F,this.fundingPolicy.policy&&(this.selPolicyType=Ne.gB.find(ie=>ie.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,kt.jS)({payload:{uiMessage:Ne.m6.UPDATE_SETTING,service:Ne.JX.OFFERS,settings:{enableOffers:this.enableOffers}}})),this.store.dispatch((0,ze.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,ae.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,Ce.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,rn.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?Ne.gB.find(_=>_.id===this.fundingPolicy.policy)||this.policyTypes[0]:Ne.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(ai.mQ),e.Y36(Oi.yh),e.Y36(Cl.D),e.Y36(dt.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(_,F){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,r1,12,7,"mat-expansion-panel",8),e.qZA()()()),2&_&&(e.xp6(2),e.Q6J("icon",F.faInfoCircle),e.xp6(6),e.Q6J("icon",F.faCode),e.xp6(4),e.Q6J("ngForOf",F.features))},dependencies:[Gi.mk,Gi.sg,Gi.O5,ii._Y,ii.Fj,ii.wV,ii.JJ,ii.JL,ii.Q7,ii.qQ,ii.Fd,ii.On,ii.F,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,At.oO,gi.lW,Ft.pp,Ft.ib,Ft.yz,Ft.yK,or.Nt,wi.KE,wi.hX,wi.bx,wi.TO,Ir.d,Ii.gD,Ki.ey,Ei.Rr,Zi.$V,ln.h,W2.F,wl.q,Gi.rS],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]}),R})();const q2=[{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:[(0,kr.a1)()]},{path:"cln",loadChildren:()=>Promise.all([m.e(267),m.e(315)]).then(m.bind(m,6315)).then(R=>R.CLNModule),canActivate:[(0,kr.a1)()]},{path:"ecl",loadChildren:()=>Promise.all([m.e(267),m.e(167)]).then(m.bind(m,9676)).then(R=>R.ECLModule),canActivate:[(0,kr.a1)()]},{path:"settings",component:tt,canActivate:[(0,kr.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:Fa,canActivate:[(0,kr.a1)()]},{path:"auth",component:Ds,canActivate:[(0,kr.a1)()]},{path:"bconfig",component:K0,canActivate:[(0,kr.a1)()]}]},{path:"config",component:Ks,canActivate:[(0,kr.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:Uo,canActivate:[(0,kr.a1)()]},{path:"pglayout",component:e2,canActivate:[(0,kr.a1)()]},{path:"services",component:pc,canActivate:[(0,kr.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:ll,canActivate:[(0,kr.a1)()]},{path:"boltz",component:t2,canActivate:[(0,kr.a1)()]}]},{path:"experimental",component:o1,canActivate:[(0,kr.a1)()]},{path:"lnconfig",component:ve,canActivate:[(0,kr.a1)()]}]},{path:"services",component:Vl,canActivate:[(0,kr.a1)()],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:K1},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:B2}]},{path:"help",component:md},{path:"login",component:gd},{path:"error",component:xl},{path:"**",component:$u.w}],J2=Zn.Bz.forRoot(q2,{onSameUrlNavigation:"reload",scrollPositionRestoration:"enabled"});var X2=m(9470),$2=m(8878),yd=m(1572),xd=m(3267),Xo=m(3683),s1=m(7851),Or=m(5423);const ms={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.HLz,link:"/lnd/home",userPersona:Ne.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.nNP,link:"/lnd/onchain",userPersona:Ne.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.BDt,link:"/lnd/connections",userPersona:Ne.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.FVb,link:"/lnd/connections",userPersona:Ne.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:qi.Ssp,link:"/lnd/transactions",userPersona:Ne.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:qi.SuH,link:"/lnd/routing",userPersona:Ne.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:qi.koM,link:"/lnd/reports",userPersona:Ne.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.wn1,link:"/lnd/graph",userPersona:Ne.ol.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:qi.hkK,link:"/lnd/messages",userPersona:Ne.ol.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:qi.q7m,link:"/lnd/channelbackup",userPersona:Ne.ol.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:qi.TmZ,link:"/lnd/network",userPersona:Ne.ol.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:qi.xf3,link:"/lnd/network",userPersona:Ne.ol.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:qi.Krp,link:"/services/loop",userPersona:Ne.ol.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:qi.vqe,link:"/services/loop",userPersona:Ne.ol.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Ne.ol.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:qi.CgH,link:"/config",userPersona:Ne.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:qi.Psp,link:"/help",userPersona:Ne.ol.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.HLz,link:"/cln/home",userPersona:Ne.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.nNP,link:"/cln/onchain",userPersona:Ne.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.BDt,link:"/cln/connections",userPersona:Ne.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.FVb,link:"/cln/connections",userPersona:Ne.ol.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:qi.Acd,link:"/cln/liquidityads",userPersona:Ne.ol.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:qi.Ssp,link:"/cln/transactions",userPersona:Ne.ol.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:qi.SuH,link:"/cln/routing",userPersona:Ne.ol.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:qi.koM,link:"/cln/reports",userPersona:Ne.ol.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.wn1,link:"/cln/graph",userPersona:Ne.ol.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:qi.hkK,link:"/cln/messages",userPersona:Ne.ol.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:qi.USL,link:"/cln/rates",userPersona:Ne.ol.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:qi.xf3,link:"/cln/rates",userPersona:Ne.ol.MERCHANT}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:qi.CgH,link:"/config",userPersona:Ne.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:qi.Psp,link:"/help",userPersona:Ne.ol.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.HLz,link:"/ecl/home",userPersona:Ne.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.nNP,link:"/ecl/onchain",userPersona:Ne.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.BDt,link:"/ecl/connections",userPersona:Ne.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.FVb,link:"/ecl/connections",userPersona:Ne.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:qi.Ssp,link:"/ecl/transactions",userPersona:Ne.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:qi.SuH,link:"/ecl/routing",userPersona:Ne.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:qi.koM,link:"/ecl/reports",userPersona:Ne.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.wn1,link:"/ecl/graph",userPersona:Ne.ol.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:qi.CgH,link:"/config",userPersona:Ne.ol.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:qi.Psp,link:"/help",userPersona:Ne.ol.ALL}]};function Eh(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 ef(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-select",9),e.NdJ("selectionChange",function(ie){e.CHM(_);const et=e.oxw();return e.KtG(et.onNodeSelectionChange(ie.value))}),e.TgZ(1,"perfect-scrollbar"),e.YNc(2,Eh,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 e0(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 F=e.MAs(11);e.xp6(1),e.Q6J("ngTemplateOutlet","boltzIconBlock"===_.icon?F:null)}}function Cd(R,N){if(1&R&&e._UZ(0,"fa-icon",23),2&R){const _=e.oxw().$implicit;e.Q6J("icon",_.icon)}}function Th(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 c1(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-tree-node",15)(1,"div",16),e.NdJ("click",function(){const et=e.CHM(_).$implicit,Gt=e.oxw(2);return e.KtG(Gt.onChildNavClicked(et))}),e.TgZ(2,"div",17),e.YNc(3,e0,2,1,"span",18),e.YNc(4,Cd,1,1,"fa-icon",19),e.YNc(5,Th,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 wd(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 Ah(R,N){if(1&R&&e._UZ(0,"fa-icon",23),2&R){const _=e.oxw().$implicit;e.Q6J("icon",_.icon)}}function Md(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 Yc(R,N){if(1&R&&(e.TgZ(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),e.YNc(3,wd,2,1,"span",28),e.YNc(4,Ah,1,1,"fa-icon",19),e.YNc(5,Md,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,F=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(F.treeControlNested.isExpanded(_)?"arrow_drop_up":"arrow_drop_down"),e.xp6(1),e.ekj("tree-children-invisible",!F.treeControlNested.isExpanded(_))}}function Lh(R,N){if(1&R&&(e.TgZ(0,"mat-tree",5,12),e.YNc(2,c1,8,5,"mat-tree-node",13),e.YNc(3,Yc,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 Dh(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 t0(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 Ih(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 Sd(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-tree-node",16),e.NdJ("click",function(){const et=e.CHM(_).$implicit,Gt=e.oxw();return e.KtG(Gt.onShowData(et))}),e.YNc(1,Dh,2,1,"span",18),e.YNc(2,t0,1,2,"fa-icon",33),e.YNc(3,Ih,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 kh(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 l1(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 jc(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"mat-tree-node",16),e.NdJ("click",function(){const et=e.CHM(_).$implicit,Gt=e.oxw(2);return e.KtG(Gt.onClick(et))}),e.YNc(1,kh,2,1,"span",28),e.YNc(2,l1,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 Fs(R,N){if(1&R&&(e.TgZ(0,"mat-tree",5),e.YNc(1,jc,5,3,"mat-tree-node",6),e.qZA()),2&R){const _=e.oxw();e.Q6J("dataSource",_.navMenusLogout)("treeControl",_.treeControlLogout)}}function Oh(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 n0=(()=>{class R{constructor(_,F,ie,et,Gt,ei){this.logger=_,this.commonService=F,this.sessionService=ie,this.store=et,this.actions=Gt,this.rtlEffects=ei,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=Ne.ol,this.unSubs=[new Ni.x,new Ni.x,new Ni.x,new Ni.x,new Ni.x,new Ni.x],this.treeControlNested=new s1.VY(li=>li.children),this.treeControlLogout=new s1.VY(li=>li.children),this.treeControlShowData=new s1.VY(li=>li.children),this.navMenus=new Or.WX,this.navMenusLogout=new Or.WX,this.navMenusShowData=new Or.WX,this.hasChild=(li,xi)=>!!xi.children&&xi.children.length>0,this.version=Ne.q4,ms.LNDChildren&&200===ms.LNDChildren[ms.LNDChildren.length-1].id&&ms.LNDChildren.pop(),this.navMenus.data=ms.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const _=this.sessionService.getItem("token");this.showLogout=!!_,this.flgLoading=!!_,this.store.select(xa.Yj).pipe((0,rn.R)(this.unSubs[0])).subscribe(F=>{this.appConfig=F}),this.store.select(xa.gW).pipe((0,rn.R)(this.unSubs[1])).subscribe(F=>{if(this.information=F.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 ie=this.information.chains[0];this.informationChain.chain=ie.chain,this.informationChain.network=ie.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=F.selNode,this.settings=this.selNode?.settings||null,this.selConfigNodeIndex=+(F.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(F)}),this.sessionService.watchSession().pipe((0,rn.R)(this.unSubs[2])).subscribe(F=>{this.showLogout=!!F.token,this.flgLoading=!!F.token}),this.actions.pipe((0,rn.R)(this.unSubs[3]),(0,Na.h)(F=>F.type===Ne.pg.LOGOUT)).subscribe(F=>{this.showLogout=!1})}onClick(_){"Logout"===_.name&&(this.store.dispatch((0,kt.c1)({payload:{data:{type:Ne.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,rn.R)(this.unSubs[4])).subscribe(F=>{F&&(this.showLogout=!1,this.store.dispatch((0,kt.kS)()))})),this.ChildNavClicked.emit(_)}onChildNavClicked(_){this.ChildNavClicked.emit(_)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){let _=[];_=JSON.parse(JSON.stringify(ms.LNDChildren)),this.navMenus.data=_?.filter(F=>F.children&&F.children.length?(F.children=F.children?.filter(ie=>(ie.userPersona===Ne.ol.ALL||ie.userPersona===this.settings?.userPersona)&&"/services/loop"!==ie.link&&"/services/boltz"!==ie.link||"/services/loop"===ie.link&&this.settings?.swapServerUrl&&""!==this.settings.swapServerUrl.trim()||"/services/boltz"===ie.link&&this.settings?.boltzServerUrl&&""!==this.settings.boltzServerUrl.trim()),F.children.length>0):F.userPersona===Ne.ol.ALL||F.userPersona===this.settings?.userPersona)}loadCLNMenu(){let _=[];_=JSON.parse(JSON.stringify(ms.CLNChildren)),this.navMenus.data=_?.filter(F=>F.children&&F.children.length?(F.children=F.children?.filter(ie=>(ie.userPersona===Ne.ol.ALL||ie.userPersona===this.settings?.userPersona)&&"/services/peerswap"!==ie.link||"/services/peerswap"===ie.link&&this.settings?.enablePeerswap),F.children.length>0):F.userPersona===Ne.ol.ALL||F.userPersona===this.settings?.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(ms.ECLChildren))}onShowData(_){this.store.dispatch((0,kt.tj)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(_){const F=this.selConfigNodeIndex;this.selConfigNodeIndex=_;const ie=this.appConfig.nodes.find(et=>+et.index===_);this.store.dispatch((0,kt.fk)({payload:{uiMessage:Ne.m6.UPDATE_SELECTED_NODE,prevLnNodeIndex:+F,currentLnNode:ie||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(ai.mQ),e.Y36(dt.v),e.Y36(ro.m),e.Y36(Oi.yh),e.Y36(Ka.eX),e.Y36(Aa.V))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-side-navigation"]],viewQuery:function(_,F){if(1&_&&e.Gf(Or.gi,5),2&_){let ie;e.iGM(ie=e.CRH())&&(F.tree=ie.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(_,F){1&_&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,ef,3,2,"mat-select",2),e._UZ(3,"mat-divider",3),e.YNc(4,Lh,4,3,"mat-tree",4),e._UZ(5,"mat-divider",3),e.TgZ(6,"mat-tree",5),e.YNc(7,Sd,6,4,"mat-tree-node",6),e.qZA()(),e.TgZ(8,"div",7),e.YNc(9,Fs,2,2,"mat-tree",4),e.qZA()(),e.YNc(10,Oh,6,0,"ng-template",null,8,e.W1O)),2&_&&(e.xp6(2),e.Q6J("ngIf",F.appConfig.nodes.length>1),e.xp6(2),e.Q6J("ngIf",null==F.settings?null:F.settings.lnServerUrl),e.xp6(2),e.Q6J("dataSource",F.navMenusShowData)("treeControl",F.treeControlShowData),e.xp6(3),e.Q6J("ngIf",F.showLogout))},dependencies:[Gi.sg,Gi.O5,Gi.tP,Ta.BN,Ui.xw,Ui.Wh,Ui.yH,gi.RK,ds.Hw,Ir.d,Or.GZ,Or.fQ,Or.eu,Or.gi,Or.uo,Or.Ar,Ii.gD,Ki.ey,Pc.gM,Zn.rH,Zn.Od,Zi.Vv,Zi.$V],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]}),R})();var a0=m(8255);function Ph(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 r0(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 Rh(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 o0(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"p",15),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.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 s0=(()=>{class R{constructor(_,F,ie,et,Gt){this.logger=_,this.sessionService=F,this.store=ie,this.rtlEffects=et,this.actions=Gt,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 Ni.x,new Ni.x,new Ni.x,new Ni.x],this.version=Ne.q4}ngOnInit(){this.store.select(xa.R4).pipe((0,rn.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 F=this.information.chains[0];this.informationChain.chain=F.chain,this.informationChain.network=F.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(_)}),this.sessionService.watchSession().pipe((0,rn.R)(this.unSubs[1])).subscribe(_=>{this.showLogout=!!_.token,this.flgLoading=!!_.token}),this.actions.pipe((0,rn.R)(this.unSubs[2]),(0,Na.h)(_=>_.type===Ne.pg.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,kt.c1)({payload:{data:{type:Ne.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,rn.R)(this.unSubs[3])).subscribe(_=>{_&&(this.showLogout=!1,this.store.dispatch((0,kt.kS)()))})}ngOnDestroy(){this.unSubs.forEach(_=>{_.next(null),_.complete()})}}return R.\u0275fac=function(_){return new(_||R)(e.Y36(ai.mQ),e.Y36(ro.m),e.Y36(Oi.yh),e.Y36(Aa.V),e.Y36(Ka.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(_,F){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,Ph,4,2,"p",4),e.YNc(7,r0,4,1,"p",5),e.YNc(8,Rh,4,1,"p",6),e.YNc(9,o0,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 ie=e.MAs(1);e.Q6J("overlapTrigger",!1),e.xp6(3),e.Q6J("icon",F.faCodeBranch),e.xp6(2),e.hij("Version: ",F.version,""),e.xp6(1),e.Q6J("ngIf",null==F.information?null:F.information.api_version),e.xp6(1),e.Q6J("ngIf",F.showLogout),e.xp6(1),e.Q6J("ngIf",F.showLogout),e.xp6(1),e.Q6J("ngIf",F.showLogout),e.xp6(1),e.Q6J("matMenuTriggerFor",ie)}},dependencies:[Gi.O5,Ta.BN,gi.RK,ds.Hw,a0.VK,a0.OP,a0.p6,Zn.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 Nh=["sideNavigation"],c0=["sideNavContent"];function Fh(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",14),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.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 Hh(R,N){1&R&&(e.O4$(),e._UZ(0,"path",20))}function $o(R,N){1&R&&(e.O4$(),e._UZ(0,"path",21))}function l0(R,N){if(1&R){const _=e.EpF();e.TgZ(0,"button",16),e.NdJ("click",function(){e.CHM(_);const ie=e.oxw();return e.KtG(ie.flgSidenavPinned=!ie.flgSidenavPinned)}),e.O4$(),e.TgZ(1,"svg",17),e.YNc(2,Hh,1,0,"path",18),e.YNc(3,$o,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 d0(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 zh(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 Vh(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 h0=function(R,N){return[R,N]};let Bh=(()=>{class R{constructor(_,F,ie,et,Gt,ei,li,xi,$i){this.logger=_,this.commonService=F,this.store=ie,this.actions=et,this.userIdle=Gt,this.router=ei,this.sessionService=li,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 Ni.x,new Ni.x,new Ni.x,new Ni.x,new Ni.x,new Ni.x,new Ni.x,new Ni.x]}ngOnInit(){this.router.events.subscribe(_=>{_ instanceof Zn.m2&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([Dn.u3.XSmall,Dn.u3.TabletPortrait,Dn.u3.Small,Dn.u3.Medium,Dn.u3.Large,Dn.u3.XLarge]).pipe((0,rn.R)(this.unSubs[0])).subscribe(_=>{_.breakpoints[Dn.u3.XSmall]?(this.commonService.setScreenSize(Ne.cu.XS),this.smallScreen=!0):_.breakpoints[Dn.u3.TabletPortrait]?(this.commonService.setScreenSize(Ne.cu.SM),this.smallScreen=!0):_.breakpoints[Dn.u3.Small]||_.breakpoints[Dn.u3.Medium]?(this.commonService.setScreenSize(Ne.cu.MD),this.smallScreen=!1):_.breakpoints[Dn.u3.Large]?(this.commonService.setScreenSize(Ne.cu.LG),this.smallScreen=!1):(this.commonService.setScreenSize(Ne.cu.XL),this.smallScreen=!1)}),this.store.dispatch((0,kt.ey)()),this.accessKey=this.readAccessKey()||"",this.store.select(xa.dT).pipe((0,rn.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(xa.Yj).pipe((0,rn.R)(this.unSubs[2])).subscribe(_=>{this.appConfig=_}),this.store.select(xa.R4).pipe((0,rn.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,rn.R)(this.unSubs[4]),(0,Na.h)(_=>_.type===Ne.pg.SET_RTL_CONFIG||_.type===Ne.pg.LOGIN||_.type===Ne.pg.LOGOUT)).subscribe(_=>{_.type===Ne.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,kt.x4)({payload:{password:la(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"]))),_.type===Ne.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===Ne.pg.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,rn.R)(this.unSubs[5])).subscribe(_=>{this.logger.info("Counting Down: "+(11-_))}),this.userIdle.onTimeout().pipe((0,rn.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,kt.ts)()),this.store.dispatch((0,kt.qR)({payload:{data:{type:Ne.n_.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,kt.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(ai.mQ),e.Y36(dt.v),e.Y36(Oi.yh),e.Y36(Ka.eX),e.Y36(Tc),e.Y36(Zn.F0),e.Y36(ro.m),e.Y36(Dn.Yg),e.Y36(e.Qsj))},R.\u0275cmp=e.Xpm({type:R,selectors:[["rtl-app"]],viewQuery:function(_,F){if(1&_&&(e.Gf(Nh,5),e.Gf(c0,5)),2&_){let ie;e.iGM(ie=e.CRH())&&(F.sideNavigation=ie.first),e.iGM(ie=e.CRH())&&(F.sideNavContent=ie.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(_,F){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,Fh,3,2,"button",2),e.YNc(6,l0,4,3,"button",3),e.qZA(),e.TgZ(7,"div"),e.YNc(8,d0,2,1,"span",4),e.YNc(9,zh,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(et){return F.onNavigationClicked(et)}),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,Vh,4,0,"div",13),e.qZA()),2&_&&(e.Q6J("ngClass",e.WLB(12,h0,e.lcZ(1,8,F.settings.themeColor),e.lcZ(2,10,F.settings.themeMode))),e.xp6(5),e.Q6J("ngIf",F.flgLoggedIn),e.xp6(1),e.Q6J("ngIf",!F.smallScreen&&F.flgLoggedIn),e.xp6(2),e.Q6J("ngIf",F.smallScreen),e.xp6(1),e.Q6J("ngIf",!F.smallScreen),e.xp6(4),e.Q6J("opened",F.flgSideNavOpened&&F.flgLoggedIn)("mode",F.flgSidenavPinned&&!F.smallScreen?"side":"over"),e.xp6(9),e.Q6J("ngIf",!F.settings.themeColor))},dependencies:[Gi.mk,Gi.O5,Ui.xw,Ui.Wh,Ui.yH,At.oO,gi.RK,ds.Hw,yd.Ou,xd.JX,xd.TM,xd.Rh,Xo.Ye,Pc.gM,Zi.$V,n0,s0,Zn.lC,Gi.i8],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[$2.g]}}),R})(),u0=(()=>{class R{constructor(_){this.sessionService=_}intercept(_,F){if(this.sessionService.getItem("token")){const ie=_.clone({headers:_.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return F.handle(ie)}return F.handle(_)}}return R.\u0275fac=function(_){return new(_||R)(e.LFG(ro.m))},R.\u0275prov=e.Yz7({token:R,factory:R.\u0275fac}),R})();var Uh=m(7998),Gh=m(711),Ed=m(4947),Rn=m(3289);const Td={userPersona:"OPERATOR",themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1},Ad={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},Ld={apiURL:"",apisCallStatus:{Login:{status:Ne.Bn.UN_INITIATED},IsAuthorized:{status:Ne.Bn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:Td,authentication:Ad,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,sso:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,allowPasswordUpdate:!0,nodes:[{settings:Td,authentication:Ad}]},nodeData:{}},Zh=(0,Oi.Lq)(Ld,(0,Oi.on)(kt.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}),{...R,apisCallStatus:_}}),(0,Oi.on)(kt.vI,(R,{payload:N})=>({...Ld,apisCallStatus:R.apisCallStatus,appConfig:R.appConfig,selNode:N})),(0,Oi.on)(kt.fk,(R,{payload:N})=>({...R,selNode:N.currentLnNode})),(0,Oi.on)(kt.Tm,(R,{payload:N})=>{const _=JSON.parse(JSON.stringify(R.selNode));switch(N.service){case Ne.JX.BOLTZ:_.settings.boltzServerUrl=N.settings.boltzServerUrl;break;case Ne.JX.LOOP:_.settings.swapServerUrl=N.settings.swapServerUrl;break;case Ne.JX.OFFERS:_.settings.enableOffers=N.settings.enableOffers;break;case Ne.JX.PEERSWAP:_.settings.enablePeerswap=N.settings.enablePeerswap}return{...R,selNode:_}}),(0,Oi.on)(kt._V,(R,{payload:N})=>({...R,nodeData:N})),(0,Oi.on)(kt.XT,(R,{payload:N})=>({...R,appConfig:N}))),Dd={apisCallStatus:{FetchPageSettings:{status:Ne.Bn.UN_INITIATED},FetchInfo:{status:Ne.Bn.UN_INITIATED},FetchFees:{status:Ne.Bn.UN_INITIATED},FetchPeers:{status:Ne.Bn.UN_INITIATED},FetchClosedChannels:{status:Ne.Bn.UN_INITIATED},FetchPendingChannels:{status:Ne.Bn.UN_INITIATED},FetchAllChannels:{status:Ne.Bn.UN_INITIATED},FetchBalanceBlockchain:{status:Ne.Bn.UN_INITIATED},FetchInvoices:{status:Ne.Bn.UN_INITIATED},FetchPayments:{status:Ne.Bn.UN_INITIATED},FetchForwardingHistory:{status:Ne.Bn.UN_INITIATED},FetchUTXOs:{status:Ne.Bn.UN_INITIATED},FetchTransactions:{status:Ne.Bn.UN_INITIATED},FetchLightningTransactions:{status:Ne.Bn.UN_INITIATED},FetchNetwork:{status:Ne.Bn.UN_INITIATED}},nodeSettings:{userPersona:Ne.ol.OPERATOR,unannouncedChannels:!1,fiatConversion:!1,channelBackupPath:"",currencyUnits:[],selCurrencyUnit:"",lnImplementation:"",swapServerUrl:""},pageSettings:Ne.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 Id=!1,f0=!1;const m0=(0,Oi.Lq)(Dd,(0,Oi.on)(ze.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}),{...R,apisCallStatus:_}}),(0,Oi.on)(ze.JT,(R,{payload:N})=>({...R,nodeSettings:N})),(0,Oi.on)(ze.Ll,(R,{payload:N})=>({...Dd,nodeSettings:N})),(0,Oi.on)(ze.CX,(R,{payload:N})=>({...R,information:N})),(0,Oi.on)(ze.Z8,(R,{payload:N})=>({...R,peers:N})),(0,Oi.on)(ze.EK,(R,{payload:N})=>{const _=[...R.peers],F=R.peers.findIndex(ie=>ie.pub_key===N.pubkey);return F>-1&&_.splice(F,1),{...R,peers:_}}),(0,Oi.on)(ze.YP,(R,{payload:N})=>{const _=R.listInvoices;return _.invoices?.unshift(N),{...R,listInvoices:_}}),(0,Oi.on)(ze.aL,(R,{payload:N})=>{const _=R.listInvoices;return _.invoices=_.invoices?.map(F=>F.payment_request===N.payment_request?N:F),{...R,listInvoices:_}}),(0,Oi.on)(ze.qY,(R,{payload:N})=>{const _=R.listPayments;return _.payments=_.payments?.map(F=>F.payment_hash===N.payment_hash?N:F),{...R,listPayments:_}}),(0,Oi.on)(ze.RX,(R,{payload:N})=>({...R,fees:N})),(0,Oi.on)(ze._L,(R,{payload:N})=>({...R,closedChannels:N})),(0,Oi.on)(ze.TW,(R,{payload:N})=>({...R,pendingChannels:N.pendingChannels,pendingChannelsSummary:N.pendingChannelsSummary})),(0,Oi.on)(ze.as,(R,{payload:N})=>{let _=0,F=0,ie=0,et=0,Gt=0,ei=0;return N&&N.forEach(li=>{li.local_balance||(li.local_balance=0),!0===li.active?(Gt+=+li.local_balance,ie+=1,li.local_balance?_=+_+ +li.local_balance:li.local_balance=0,li.remote_balance?F=+F+ +li.remote_balance:li.remote_balance=0):(ei+=+li.local_balance,et+=1)}),{...R,channels:N,channelsSummary:{active:{num_channels:ie,capacity:Gt},inactive:{num_channels:et,capacity:ei}},lightningBalance:{local:_,remote:F}}}),(0,Oi.on)(ze.OG,(R,{payload:N})=>{const _=[...R.channels],F=R.channels.findIndex(ie=>ie.channel_point===N.channelPoint);return F>-1&&_.splice(F,1),{...R,channels:_}}),(0,Oi.on)(ze.Jl,(R,{payload:N})=>({...R,blockchainBalance:N})),(0,Oi.on)(ze.ks,(R,{payload:N})=>({...R,networkInfo:N})),(0,Oi.on)(ze.Nr,(R,{payload:N})=>(N.total_invoices||(N.total_invoices=R.listInvoices.total_invoices),{...R,listInvoices:N})),(0,Oi.on)(ze.Lf,(R,{payload:N})=>{if(Id=!0,N.length&&f0){const _=[...R.utxos];return _.forEach(F=>{const ie=N.find(et=>et.tx_hash===F.outpoint?.txid_str);F.label=ie&&ie.label?ie.label:""}),{...R,utxos:_,transactions:N}}return{...R,transactions:N}}),(0,Oi.on)(ze.UH,(R,{payload:N})=>{if(f0=!0,N.length&&Id){const _=[...R.transactions];N.forEach(F=>{const ie=_.find(et=>et.tx_hash===F.outpoint?.txid_str);F.label=ie&&ie.label?ie.label:""})}return{...R,utxos:N}}),(0,Oi.on)(ze.HI,(R,{payload:N})=>{const _={listInvoicesAll:R.allLightningTransactions.listInvoicesAll,listPaymentsAll:N};return{...R,listPayments:N,allLightningTransactions:_}}),(0,Oi.on)(ze.Fr,(R,{payload:N})=>{const _={listInvoicesAll:N.listInvoicesAll,listPaymentsAll:R.listPayments};return{...R,allLightningTransactions:_}}),(0,Oi.on)(ze.QJ,(R,{payload:N})=>{const _=[...R.channels,...R.closedChannels];let F=N.forwarding_events?JSON.parse(JSON.stringify(N)):{};return F.forwarding_events&&(F=p0(F,_)),{...R,forwardingHistory:F}}),(0,Oi.on)(ze.pd,(R,{payload:N})=>{const _=[];return Ne.gK.forEach(F=>{const ie=N&&N.length&&N.length>0?N.find(et=>et.pageId===F.pageId):null;if(ie){const et=JSON.parse(JSON.stringify(ie.tables));ie.tables=[],F.tables.forEach(Gt=>{const ei=et.find(li=>li.tableId===Gt.tableId)||null;ie.tables.push(ei||JSON.parse(JSON.stringify(Gt)))}),_.push(ie)}else _.push(JSON.parse(JSON.stringify(F)))}),{...R,pageSettings:_}})),p0=(R,N)=>(R.forwarding_events.forEach(_=>{if(N&&N.length>0)for(let F=0;F<N.length;F++){if(N[F].chan_id?.toString()===_.chan_id_in&&(_.alias_in=N[F].remote_alias?N[F].remote_alias:_.chan_id_in,_.alias_out)||N[F].chan_id?.toString()===_.chan_id_out&&(_.alias_out=N[F].remote_alias?N[F].remote_alias:_.chan_id_out,_.alias_in))return;F===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),g0={apisCallStatus:{FetchPageSettings:{status:Ne.Bn.UN_INITIATED},FetchInfo:{status:Ne.Bn.UN_INITIATED},FetchInvoices:{status:Ne.Bn.UN_INITIATED},FetchFees:{status:Ne.Bn.UN_INITIATED},FetchChannels:{status:Ne.Bn.UN_INITIATED},FetchBalance:{status:Ne.Bn.UN_INITIATED},FetchLocalRemoteBalance:{status:Ne.Bn.UN_INITIATED},FetchFeeRatesperkb:{status:Ne.Bn.UN_INITIATED},FetchFeeRatesperkw:{status:Ne.Bn.UN_INITIATED},FetchPeers:{status:Ne.Bn.UN_INITIATED},FetchUTXOs:{status:Ne.Bn.UN_INITIATED},FetchPayments:{status:Ne.Bn.UN_INITIATED},FetchForwardingHistoryS:{status:Ne.Bn.UN_INITIATED},FetchForwardingHistoryF:{status:Ne.Bn.UN_INITIATED},FetchForwardingHistoryL:{status:Ne.Bn.UN_INITIATED},FetchOffers:{status:Ne.Bn.UN_INITIATED},FetchOfferBookmarks:{status:Ne.Bn.UN_INITIATED}},nodeSettings:{userPersona:Ne.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[],enableOffers:!1,enablePeerswap:!1},pageSettings:Ne.gG,information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],activeChannels:[],pendingChannels:[],inactiveChannels:[],payments:[],forwardingHistory:{},failedForwardingHistory:{},localFailedForwardingHistory:{},invoices:{invoices:[]},utxos:[],offers:[],offersBookmarks:[]},tf=(0,Oi.Lq)(g0,(0,Oi.on)(ae.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}),{...R,apisCallStatus:_}}),(0,Oi.on)(ae.oo,(R,{payload:N})=>({...R,nodeSettings:N})),(0,Oi.on)(ae.xH,(R,{payload:N})=>({...g0,nodeSettings:N})),(0,Oi.on)(ae.CX,(R,{payload:N})=>({...R,information:N})),(0,Oi.on)(ae.RX,(R,{payload:N})=>({...R,fees:N})),(0,Oi.on)(ae.I8,(R,{payload:N})=>N.perkb?{...R,feeRatesPerKB:N}:N.perkw?{...R,feeRatesPerKW:N}:{...R}),(0,Oi.on)(ae.Lu,(R,{payload:N})=>({...R,balance:N})),(0,Oi.on)(ae.xS,(R,{payload:N})=>({...R,localRemoteBalance:N})),(0,Oi.on)(ae.Z8,(R,{payload:N})=>({...R,peers:N})),(0,Oi.on)(ae.X3,(R,{payload:N})=>({...R,peers:[...R.peers,N]})),(0,Oi.on)(ae.EK,(R,{payload:N})=>{const _=[...R.peers],F=R.peers.findIndex(ie=>ie.id===N.id);return F>-1&&_.splice(F,1),{...R,peers:_}}),(0,Oi.on)(ae.as,(R,{payload:N})=>({...R,activeChannels:N.activeChannels,pendingChannels:N.pendingChannels,inactiveChannels:N.inactiveChannels})),(0,Oi.on)(ae.OG,(R,{payload:N})=>{const _=[...R.peers];return _.forEach(F=>{F.id===N.id&&(F.connected=!1,delete F.netaddr)}),{...R,peers:_}}),(0,Oi.on)(ae.HI,(R,{payload:N})=>({...R,payments:N})),(0,Oi.on)(ae.QJ,(R,{payload:N})=>{const _=[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels],F=kd(N.listForwards,_);switch(N.listForwards=F,N.status){case Ne.OO.SETTLED:const ie=R.fees;return ie.totalTxCount=N.totalForwards||0,{...R,fees:ie,forwardingHistory:N};case Ne.OO.FAILED:return{...R,failedForwardingHistory:N};case Ne.OO.LOCAL_FAILED:return{...R,localFailedForwardingHistory:N};default:return{...R}}}),(0,Oi.on)(ae.YP,(R,{payload:N})=>{const _=R.invoices;return _.invoices?.unshift(N),{...R,invoices:_}}),(0,Oi.on)(ae.Nr,(R,{payload:N})=>({...R,invoices:N})),(0,Oi.on)(ae.aL,(R,{payload:N})=>{const _=R.invoices;return _.invoices=_.invoices?.map(F=>F.label===N.label?N:F),{...R,invoices:_}}),(0,Oi.on)(ae.UH,(R,{payload:N})=>({...R,utxos:N})),(0,Oi.on)(ae.Zu,(R,{payload:N})=>({...R,offers:N})),(0,Oi.on)(ae.ZH,(R,{payload:N})=>{const _=R.offers;return _?.unshift(N),{...R,offers:_}}),(0,Oi.on)(ae.JK,(R,{payload:N})=>{const _=[...R.offers],F=R.offers.findIndex(ie=>ie.offer_id===N.offer.offer_id);return F>-1&&_.splice(F,1,N.offer),{...R,offers:_}}),(0,Oi.on)(ae.d7,(R,{payload:N})=>({...R,offersBookmarks:N})),(0,Oi.on)(ae.e9,(R,{payload:N})=>{const _=[...R.offersBookmarks],F=_.findIndex(ie=>ie.bolt12===N.bolt12);if(F<0)_?.unshift(N);else{const ie={..._[F]};ie.title=N.title,ie.amountMSat=N.amountMSat,ie.lastUpdatedAt=N.lastUpdatedAt,ie.description=N.description,ie.issuer=N.issuer,_.splice(F,1,ie)}return{...R,offersBookmarks:_}}),(0,Oi.on)(ae.en,(R,{payload:N})=>{const _=[...R.offersBookmarks],F=R.offersBookmarks.findIndex(ie=>ie.bolt12===N.bolt12);return F>-1&&_.splice(F,1),{...R,offersBookmarks:_}}),(0,Oi.on)(ae.pd,(R,{payload:N})=>{const _=[];return Ne.gG.forEach(F=>{const ie=N&&N.length&&N.length>0?N.find(et=>et.pageId===F.pageId):null;if(ie){const et=JSON.parse(JSON.stringify(ie.tables));ie.tables=[],F.tables.forEach(Gt=>{const ei=et.find(li=>li.tableId===Gt.tableId)||null;ie.tables.push(ei||JSON.parse(JSON.stringify(Gt)))}),_.push(ie)}else _.push(JSON.parse(JSON.stringify(F)))}),{...R,pageSettings:_}})),kd=(R,N)=>(R&&R.length>0?R.forEach((_,F)=>{if(N&&N.length>0)for(let ie=0;ie<N.length;ie++){if(N[ie].short_channel_id&&N[ie].short_channel_id===_.in_channel&&(_.in_channel_alias=N[ie].alias?N[ie].alias:_.in_channel,_.out_channel_alias)||N[ie].short_channel_id&&N[ie].short_channel_id?.toString()===_.out_channel&&(_.out_channel_alias=N[ie].alias?N[ie].alias:_.out_channel,_.in_channel_alias))return;ie===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),Od={apisCallStatus:{FetchPageSettings:{status:Ne.Bn.UN_INITIATED},FetchInfo:{status:Ne.Bn.UN_INITIATED},FetchFees:{status:Ne.Bn.UN_INITIATED},FetchChannels:{status:Ne.Bn.UN_INITIATED},FetchOnchainBalance:{status:Ne.Bn.UN_INITIATED},FetchPeers:{status:Ne.Bn.UN_INITIATED},FetchPayments:{status:Ne.Bn.UN_INITIATED},FetchInvoices:{status:Ne.Bn.UN_INITIATED},FetchTransactions:{status:Ne.Bn.UN_INITIATED}},nodeSettings:{userPersona:Ne.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[]},pageSettings:Ne.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:[]},nc=(0,Oi.Lq)(Od,(0,Oi.on)(Ce.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}),{...R,apisCallStatus:_}}),(0,Oi.on)(Ce.Zr,(R,{payload:N})=>({...R,nodeSettings:N})),(0,Oi.on)(Ce.Fd,(R,{payload:N})=>({...Od,nodeSettings:N})),(0,Oi.on)(Ce.CX,(R,{payload:N})=>({...R,information:N})),(0,Oi.on)(Ce.RX,(R,{payload:N})=>({...R,fees:N})),(0,Oi.on)(Ce.eN,(R,{payload:N})=>({...R,activeChannels:N})),(0,Oi.on)(Ce.TW,(R,{payload:N})=>({...R,pendingChannels:N})),(0,Oi.on)(Ce.i,(R,{payload:N})=>({...R,inactiveChannels:N})),(0,Oi.on)(Ce.HG,(R,{payload:N})=>({...R,channelsStatus:N})),(0,Oi.on)(Ce.Bw,(R,{payload:N})=>({...R,onchainBalance:N})),(0,Oi.on)(Ce.On,(R,{payload:N})=>({...R,lightningBalance:N})),(0,Oi.on)(Ce.Z8,(R,{payload:N})=>({...R,peers:N})),(0,Oi.on)(Ce.EK,(R,{payload:N})=>{const _=[...R.peers],F=R.peers.findIndex(ie=>ie.nodeId===N.nodeId);return F>-1&&_.splice(F,1),{...R,peers:_}}),(0,Oi.on)(Ce.OG,(R,{payload:N})=>{const _=[...R.activeChannels],F=R.activeChannels.findIndex(ie=>ie.channelId===N.channelId);return F>-1&&_.splice(F,1),{...R,activeChannels:_}}),(0,Oi.on)(Ce.HI,(R,{payload:N})=>{if(N&&N.sent){const _=[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels];N.sent?.map(F=>{const ie=R.peers.find(et=>et.nodeId===F.recipientNodeId);return F.recipientNodeAlias=ie?ie.alias:F.recipientNodeId,F.parts&&F.parts?.map(et=>{const Gt=_.find(ei=>ei.channelId===et.toChannelId);return et.toChannelAlias=Gt?Gt.alias:et.toChannelId,F.parts}),N.sent})}if(N&&N.relayed){const _=[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels];N.relayed.forEach(F=>{F=_0(F,_)})}return{...R,payments:N}}),(0,Oi.on)(Ce.Lf,(R,{payload:N})=>({...R,transactions:N})),(0,Oi.on)(Ce.YP,(R,{payload:N})=>{const _=R.invoices;return _?.unshift(N),{...R,invoices:_}}),(0,Oi.on)(Ce.Nr,(R,{payload:N})=>({...R,invoices:N})),(0,Oi.on)(Ce.aL,(R,{payload:N})=>{let _=R.invoices;return _=_?.map(F=>{if(F.paymentHash===N.paymentHash){if(N.hasOwnProperty("type")){const ie=JSON.parse(JSON.stringify(F));return ie.amountSettled=N.parts&&N.parts.length&&N.parts.length>0&&N.parts[0].amount?(N.parts[0].amount||0)/1e3:0,ie.receivedAt=N.parts&&N.parts.length&&N.parts.length>0&&N.parts[0].timestamp?Math.round((N.parts[0].timestamp||0)/1e3):0,ie.status="received",ie}return N}return F}),{...R,invoices:_}}),(0,Oi.on)(Ce.DJ,(R,{payload:N})=>{let _=R.pendingChannels;return _=_?.map(F=>(F.channelId===N.channelId&&F.nodeId===N.remoteNodeId&&(N.currentState=N.currentState?.replace(/_/g," "),F.state=N.currentState),F)),{...R,pendingChannels:_}}),(0,Oi.on)(Ce.ti,(R,{payload:N})=>{const _=R.payments,F=_0(N,[...R.activeChannels,...R.pendingChannels,...R.inactiveChannels]);_.relayed?.unshift(F);const ie=(N.amountIn||0)-(N.amountOut||0),et={localBalance:R.lightningBalance.localBalance+ie,remoteBalance:R.lightningBalance.remoteBalance-ie},Gt=R.channelsStatus;Gt.active&&(Gt.active.capacity=(R.channelsStatus?.active?.capacity||0)+ie);const ei={daily_fee:(R.fees.daily_fee||0)+ie,daily_txs:(R.fees.daily_txs||0)+1,weekly_fee:(R.fees.weekly_fee||0)+ie,weekly_txs:(R.fees.weekly_txs||0)+1,monthly_fee:(R.fees.monthly_fee||0)+ie,monthly_txs:(R.fees.monthly_txs||0)+1},li=R.activeChannels;let xi=!1,$i=!1;for(const zi of li){if(zi.channelId===N.fromChannelId){xi=!0;const An=(zi.toLocal||0)+(zi.toRemote||0);zi.toLocal=(zi.toLocal||0)+F.amountIn,zi.toRemote=(zi.toRemote||0)-F.amountIn,zi.balancedness=0===An?1:+(1-Math.abs((zi.toLocal-zi.toRemote)/An)).toFixed(3)}if(zi.channelId===N.toChannelId){$i=!0;const An=(zi.toLocal||0)+(zi.toRemote||0);zi.toLocal=(zi.toLocal||0)-F.amountOut,zi.toRemote=(zi.toRemote||0)+F.amountOut,zi.balancedness=0===An?1:+(1-Math.abs((zi.toLocal-zi.toRemote)/An)).toFixed(3)}if($i&&xi)break}return{...R,payments:_,lightningBalance:et,channelStatus:Gt,fees:ei,activeChannels:li}}),(0,Oi.on)(Ce.pd,(R,{payload:N})=>{const _=[];return Ne.c3.forEach(F=>{const ie=N&&N.length&&N.length>0?N.find(et=>et.pageId===F.pageId):null;if(ie){const et=JSON.parse(JSON.stringify(ie.tables));ie.tables=[],F.tables.forEach(Gt=>{const ei=et.find(li=>li.tableId===Gt.tableId)||null;ie.tables.push(ei||JSON.parse(JSON.stringify(Gt)))}),_.push(ie)}else _.push(JSON.parse(JSON.stringify(F)))}),{...R,pageSettings:_}})),_0=(R,N)=>{if("payment-relayed"===R.type)if(N&&N.length>0)for(let _=0;_<N.length;_++){if(N[_].channelId?.toString()===R.fromChannelId&&(R.fromChannelAlias=N[_].alias?N[_].alias:R.fromChannelId,R.fromShortChannelId=N[_].shortChannelId?N[_].shortChannelId:"",R.toChannelAlias)||N[_].channelId?.toString()===R.toChannelId&&(R.toChannelAlias=N[_].alias?N[_].alias:R.toChannelId,R.toShortChannelId=N[_].shortChannelId?N[_].shortChannelId:"",R.fromChannelAlias))return R;_===N.length-1&&(R.fromChannelAlias||(R.fromChannelAlias=R.fromChannelId?.substring(0,17)+"...",R.fromShortChannelId=""),R.toChannelAlias||(R.toChannelAlias=R.toChannelId?.substring(0,17)+"...",R.toShortChannelId=""))}else R.fromChannelAlias=R.fromChannelId?.substring(0,17)+"...",R.fromShortChannelId="",R.toChannelAlias=R.toChannelId?.substring(0,17)+"...",R.toShortChannelId="";else if(R.type="trampoline-payment-relayed"){if(N&&N.length>0)for(let _=0;_<N.length;_++)R.incoming?.forEach(F=>{N[_].channelId?.toString()===F.channelId&&(F.channelAlias=N[_].alias?N[_].alias:F.channelId,F.shortChannelId=N[_].shortChannelId?N[_].shortChannelId:"")}),R.outgoing?.forEach(F=>{N[_].channelId?.toString()===F.channelId&&(F.channelAlias=N[_].alias?N[_].alias:F.channelId,F.shortChannelId=N[_].shortChannelId?N[_].shortChannelId:"")}),_===N.length-1&&(R.incoming&&R.incoming.length&&R.incoming.length>0&&!R.incoming[0].channelAlias&&R.incoming?.forEach(F=>{F.channelAlias=F.channelId?.substring(0,17)+"...",F.shortChannelId=""}),R.outgoing&&R.outgoing.length&&R.outgoing.length>0&&!R.outgoing[0].channelAlias&&R.outgoing?.forEach(F=>{F.channelAlias=F.channelId?.substring(0,17)+"...",F.shortChannelId=""}));else R.incoming?.forEach(_=>{_.channelAlias=_.channelId?.substring(0,17)+"...",_.shortChannelId=""}),R.outgoing?.forEach(_=>{_.channelAlias=_.channelId?.substring(0,17)+"...",_.shortChannelId=""});R.amountIn=R.incoming?.reduce((_,F)=>_+F.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=R.outgoing?.reduce((_,F)=>_+F.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 d1=!1;(0,e.X6Q)()&&(d1=!0);let h1=(()=>{class R{}return R.\u0275fac=function(_){return new(_||R)},R.\u0275mod=e.oAB({type:R,bootstrap:[Bh]}),R.\u0275inj=e.cJS({providers:[{provide:gr.TP,useClass:u0,multi:!0},ro.m,Cl.D,Uh.d,Bl.W,dt.v,ml],imports:[jo,X2.m,J2,Dn.xu,t.t6,lc.forRoot({idle:Ne.k_-10,timeout:10,ping:12e3}),Oi.Aw.forRoot({root:Zh,lnd:m0,cln:tf,ecl:nc},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),Ka.sQ.forRoot([Aa.V,Gh.l,Ed.J,Rn.o]),d1?_o.FT.instrument():[]]}),R})();t.q6().bootstrapModule(h1).catch(R=>console.error(R))},7854:(Be,Q)=>{"use strict";function m(we){return Object.keys(we).map(me=>we[me])}var we;Object.defineProperty(Q,"__esModule",{value:!0}),(we=Q.HashAlgorithms||(Q.HashAlgorithms={})).SHA1="sha1",we.SHA256="sha256",we.SHA512="sha512";const t=m(Q.HashAlgorithms);!function(we){we.ASCII="ascii",we.BASE64="base64",we.HEX="hex",we.LATIN1="latin1",we.UTF8="utf8"}(Q.KeyEncodings||(Q.KeyEncodings={}));const e=m(Q.KeyEncodings);!function(we){we.HOTP="hotp",we.TOTP="totp"}(Q.Strategy||(Q.Strategy={}));const g=m(Q.Strategy),A=()=>{throw new Error("Please provide an options.createDigest implementation.")};function s(we){return/^(\d+)$/.test(we)}function C(we,me,Ae){return we.length>=me?we:`${Array(me+1).join(Ae)}${we}`.slice(-1*me)}function h(we){const me=`otpauth://${we.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,Ae=[];if(g.indexOf(we.type)<0)throw new Error(`Expecting options.type to be one of ${g.join(", ")}. Received ${we.type}.`);if("hotp"===we.type){if(null==we.counter||"number"!=typeof we.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');Ae.push(`&counter=${we.counter}`)}return"totp"===we.type&&we.step&&Ae.push(`&period=${we.step}`),we.digits&&Ae.push(`&digits=${we.digits}`),we.algorithm&&Ae.push(`&algorithm=${we.algorithm.toUpperCase()}`),we.issuer&&Ae.push(`&issuer=${encodeURIComponent(we.issuer)}`),me.replace("{labelPrefix}",encodeURIComponent(we.issuer||we.accountName)).replace("{accountName}",encodeURIComponent(we.accountName)).replace("{secret}",we.secret).replace("{query}",Ae.join(""))}class P{constructor(me={}){this._defaultOptions=Object.freeze({...me}),this._options=Object.freeze({})}create(me={}){return new P(me)}clone(me={}){const Ae=this.create({...this._defaultOptions,...me});return Ae.options=this._options,Ae}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(me){this._options=Object.freeze({...this._options,...me})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function d(we){if("function"!=typeof we.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof we.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof we.digits)throw new Error("Expecting options.digits to be a number.");if(!we.algorithm||t.indexOf(we.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${t.join(", ")}. Received ${we.algorithm}.`);if(!we.encoding||e.indexOf(we.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${e.join(", ")}. Received ${we.encoding}.`)}const M=(we,me,Ae)=>Buffer.from(me,Ae).toString("hex");function w(){return{algorithm:Q.HashAlgorithms.SHA1,createHmacKey:M,createDigest:A,digits:6,encoding:Q.KeyEncodings.ASCII}}function I(we){const me={...w(),...we};return d(me),Object.freeze(me)}function k(we){return C(we.toString(16),16,"0")}function O(we,me){const Ae=Buffer.from(we,"hex"),ee=15&Ae[Ae.length-1],Oe=((127&Ae[ee])<<24|(255&Ae[ee+1])<<16|(255&Ae[ee+2])<<8|255&Ae[ee+3])%Math.pow(10,me);return C(String(Oe),me,"0")}function Z(we,me,Ae){const ee=Ae.digest||function U(we,me,Ae){const ee=k(me),Ze=Ae.createHmacKey(Ae.algorithm,we,Ae.encoding);return Ae.createDigest(Ae.algorithm,Ze,ee)}(we,me,Ae);return O(ee,Ae.digits)}function W(we,me,Ae,ee){return!!s(we)&&we===Z(me,Ae,ee)}function K(we,me,Ae,ee,Ze){return h({algorithm:Ze.algorithm,digits:Ze.digits,type:Q.Strategy.HOTP,accountName:we,counter:ee,issuer:me,secret:Ae})}class q extends P{create(me={}){return new q(me)}allOptions(){return I(this.options)}generate(me,Ae){return Z(me,Ae,this.allOptions())}check(me,Ae,ee){return W(me,Ae,ee,this.allOptions())}verify(me){if("object"!=typeof me)throw new Error("Expecting argument 0 of verify to be an object");return this.check(me.token,me.secret,me.counter)}keyuri(me,Ae,ee,Ze){return K(me,Ae,ee,Ze,this.allOptions())}}function te(we){if("number"==typeof we)return[Math.abs(we),Math.abs(we)];if(Array.isArray(we)){const[me,Ae]=we;if("number"==typeof me&&"number"==typeof Ae)return[Math.abs(me),Math.abs(Ae)]}throw new Error("Expecting options.window to be an number or [number, number].")}function pe(we){if(d(we),te(we.window),"number"!=typeof we.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof we.step)throw new Error("Expecting options.step to be a number.")}const oe=(we,me,Ae)=>{const ee=we.length,Ze=Buffer.from(we,me).toString("hex");if(ee<Ae){const Oe=new Array(Ae-ee+1).join(Ze);return Buffer.from(Oe,"hex").slice(0,Ae).toString("hex")}return Ze},re=(we,me,Ae)=>{switch(we){case Q.HashAlgorithms.SHA1:return oe(me,Ae,20);case Q.HashAlgorithms.SHA256:return oe(me,Ae,32);case Q.HashAlgorithms.SHA512:return oe(me,Ae,64);default:throw new Error(`Expecting algorithm to be one of ${t.join(", ")}. Received ${we}.`)}};function ce(){return{algorithm:Q.HashAlgorithms.SHA1,createDigest:A,createHmacKey:re,digits:6,encoding:Q.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function se(we){const me={...ce(),...we};return pe(me),Object.freeze(me)}function he(we,me){return Math.floor(we/me/1e3)}function S(we,me){return Z(we,he(me.epoch,me.step),me)}function i(we,me,Ae,ee){const Ze=[];if(0===ee)return Ze;for(let Oe=1;Oe<=ee;Oe++)Ze.push(we+me*Oe*Ae);return Ze}function a(we,me,Ae){const ee=te(Ae),Ze=1e3*me;return{current:we,past:i(we,-1,Ze,ee[0]),future:i(we,1,Ze,ee[1])}}function f(we,me,Ae){return!!s(we)&&we===S(me,Ae)}function l(we,me,Ae,ee){let Ze=null;return we.some((Oe,fe)=>!!f(me,Ae,{...ee,epoch:Oe})&&(Ze=fe+1,!0)),Ze}function y(we,me,Ae){if(f(we,me,Ae))return 0;const ee=a(Ae.epoch,Ae.step,Ae.window),Ze=l(ee.past,we,me,Ae);return null!==Ze?-1*Ze:l(ee.future,we,me,Ae)}function E(we,me){return Math.floor(we/1e3)%me}function D(we,me){return me-E(we,me)}function v(we,me,Ae,ee){return h({algorithm:ee.algorithm,digits:ee.digits,step:ee.step,type:Q.Strategy.TOTP,accountName:we,issuer:me,secret:Ae})}class n extends q{create(me={}){return new n(me)}allOptions(){return se(this.options)}generate(me){return S(me,this.allOptions())}checkDelta(me,Ae){return y(me,Ae,this.allOptions())}check(me,Ae){return"number"==typeof this.checkDelta(me,Ae)}verify(me){if("object"!=typeof me)throw new Error("Expecting argument 0 of verify to be an object");return this.check(me.token,me.secret)}timeRemaining(){const me=this.allOptions();return D(me.epoch,me.step)}timeUsed(){const me=this.allOptions();return E(me.epoch,me.step)}keyuri(me,Ae,ee){return v(me,Ae,ee,this.allOptions())}}function b(we){if(pe(we),"function"!=typeof we.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(we.keyEncoder&&"function"!=typeof we.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function V(){return{algorithm:Q.HashAlgorithms.SHA1,createDigest:A,createHmacKey:re,digits:6,encoding:Q.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function z(we){const me={...V(),...we};return b(me),Object.freeze(me)}function Y(we,me){return me.keyEncoder(we,me.encoding)}function Te(we,me){return me.keyDecoder(we,me.encoding)}function $e(we,me){return Y(me.createRandomBytes(we,me.encoding),me)}function Ve(we,me){return S(Te(we,me),me)}function We(we,me,Ae){return y(we,Te(me,Ae),Ae)}class Re extends n{create(me={}){return new Re(me)}allOptions(){return z(this.options)}generate(me){return Ve(me,this.allOptions())}checkDelta(me,Ae){return We(me,Ae,this.allOptions())}encode(me){return Y(me,this.allOptions())}decode(me){return Te(me,this.allOptions())}generateSecret(me=10){return $e(me,this.allOptions())}}Q.Authenticator=Re,Q.HASH_ALGORITHMS=t,Q.HOTP=q,Q.KEY_ENCODINGS=e,Q.OTP=P,Q.STRATEGY=g,Q.TOTP=n,Q.authenticatorCheckWithWindow=We,Q.authenticatorDecoder=Te,Q.authenticatorDefaultOptions=V,Q.authenticatorEncoder=Y,Q.authenticatorGenerateSecret=$e,Q.authenticatorOptionValidator=b,Q.authenticatorOptions=z,Q.authenticatorToken=Ve,Q.createDigestPlaceholder=A,Q.hotpCheck=W,Q.hotpCounter=k,Q.hotpCreateHmacKey=M,Q.hotpDefaultOptions=w,Q.hotpDigestToToken=O,Q.hotpKeyuri=K,Q.hotpOptions=I,Q.hotpOptionsValidator=d,Q.hotpToken=Z,Q.isTokenValid=s,Q.keyuri=h,Q.objectValues=m,Q.padStart=C,Q.totpCheck=f,Q.totpCheckByEpoch=l,Q.totpCheckWithWindow=y,Q.totpCounter=he,Q.totpCreateHmacKey=re,Q.totpDefaultOptions=ce,Q.totpEpochAvailable=a,Q.totpKeyuri=v,Q.totpOptions=se,Q.totpOptionsValidator=pe,Q.totpPadSecret=oe,Q.totpTimeRemaining=D,Q.totpTimeUsed=E,Q.totpToken=S},6098:(Be,Q,m)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});var e=function t(s){return s&&"object"==typeof s&&"default"in s?s.default:s}(m(1348));Q.createDigest=(s,C,h)=>e.createHmac(s,Buffer.from(C,"hex")).update(Buffer.from(h,"hex")).digest().toString("hex"),Q.createRandomBytes=(s,C)=>e.randomBytes(s).toString(C)},1415:(Be,Q,m)=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});var e=function t(s){return s&&"object"==typeof s&&"default"in s?s.default:s}(m(2167));Q.keyDecoder=(s,C)=>e.decode(s).toString(C),Q.keyEncoder=(s,C)=>e.encode(Buffer.from(s,C).toString("ascii")).toString().replace(/=/g,"")},842:(Be,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}),s=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=s},7977:(Be,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:(Be,Q,m)=>{"use strict";const t=m(1131),e=m(196),g=m(3894);function s(C,h){this.name=C,this.body=h,this.decoders={},this.encoders={}}Q.define=function(h,P){return new s(h,P)},s.prototype._createNamed=function(h){const P=this.name;function d(M){this._initNamed(M,P)}return g(d,h),d.prototype._initNamed=function(w,I){h.call(this,w,I)},new d(this)},s.prototype._getDecoder=function(h){return this.decoders.hasOwnProperty(h=h||"der")||(this.decoders[h]=this._createNamed(e[h])),this.decoders[h]},s.prototype.decode=function(h,P,d){return this._getDecoder(P).decode(h,d)},s.prototype._getEncoder=function(h){return this.encoders.hasOwnProperty(h=h||"der")||(this.encoders[h]=this._createNamed(t[h])),this.encoders[h]},s.prototype.encode=function(h,P,d){return this._getEncoder(P).encode(h,d)}},2769:(Be,Q,m)=>{"use strict";const t=m(3894),e=m(4919).b,g=m(2038).Buffer;function A(C,h){e.call(this,h),g.isBuffer(C)?(this.base=C,this.offset=0,this.length=C.length):this.error("Input not Buffer")}function s(C,h){if(Array.isArray(C))this.length=0,this.value=C.map(function(P){return s.isEncoderBuffer(P)||(P=new s(P,h)),this.length+=P.length,P},this);else if("number"==typeof C){if(!(0<=C&&C<=255))return h.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 h.error("Unsupported type: "+typeof C);this.value=C,this.length=C.length}}t(A,e),Q.C=A,A.isDecoderBuffer=function(h){return h instanceof A||"object"==typeof h&&g.isBuffer(h.base)&&"DecoderBuffer"===h.constructor.name&&"number"==typeof h.offset&&"number"==typeof h.length&&"function"==typeof h.save&&"function"==typeof h.restore&&"function"==typeof h.isEmpty&&"function"==typeof h.readUInt8&&"function"==typeof h.skip&&"function"==typeof h.raw},A.prototype.save=function(){return{offset:this.offset,reporter:e.prototype.save.call(this)}},A.prototype.restore=function(h){const P=new A(this.base);return P.offset=h.offset,P.length=this.offset,this.offset=h.offset,e.prototype.restore.call(this,h.reporter),P},A.prototype.isEmpty=function(){return this.offset===this.length},A.prototype.readUInt8=function(h){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(h||"DecoderBuffer overrun")},A.prototype.skip=function(h,P){if(!(this.offset+h<=this.length))return this.error(P||"DecoderBuffer overrun");const d=new A(this.base);return d._reporterState=this._reporterState,d.offset=this.offset,d.length=this.offset+h,this.offset+=h,d},A.prototype.raw=function(h){return this.base.slice(h?h.offset:this.offset,this.length)},Q.R=s,s.isEncoderBuffer=function(h){return h instanceof s||"object"==typeof h&&"EncoderBuffer"===h.constructor.name&&"number"==typeof h.length&&"function"==typeof h.join},s.prototype.join=function(h,P){return h||(h=g.alloc(this.length)),P||(P=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(d){d.join(h,P),P+=d.length}):("number"==typeof this.value?h[P]=this.value:"string"==typeof this.value?h.write(this.value,P):g.isBuffer(this.value)&&this.value.copy(h,P),P+=this.length)),h}},7813:(Be,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:(Be,Q,m)=>{"use strict";const t=m(4919).b,e=m(2769).R,g=m(2769).C,A=m(2391),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],C=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function P(M,w,I){const k={};this._baseState=k,k.name=I,k.enc=M,k.parent=w||null,k.children=null,k.tag=null,k.args=null,k.reverseArgs=null,k.choice=null,k.optional=!1,k.any=!1,k.obj=!1,k.use=null,k.useDecoder=null,k.key=null,k.default=null,k.explicit=null,k.implicit=null,k.contains=null,k.parent||(k.children=[],this._wrap())}Be.exports=P;const d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];P.prototype.clone=function(){const w=this._baseState,I={};d.forEach(function(O){I[O]=w[O]});const k=new this.constructor(I.parent);return k._baseState=I,k},P.prototype._wrap=function(){const w=this._baseState;C.forEach(function(I){this[I]=function(){const O=new this.constructor(this);return w.children.push(O),O[I].apply(O,arguments)}},this)},P.prototype._init=function(w){const I=this._baseState;A(null===I.parent),w.call(this),I.children=I.children.filter(function(k){return k._baseState.parent===this},this),A.equal(I.children.length,1,"Root node can have only one child")},P.prototype._useArgs=function(w){const I=this._baseState,k=w.filter(function(O){return O instanceof this.constructor},this);w=w.filter(function(O){return!(O instanceof this.constructor)},this),0!==k.length&&(A(null===I.children),I.children=k,k.forEach(function(O){O._baseState.parent=this},this)),0!==w.length&&(A(null===I.args),I.args=w,I.reverseArgs=w.map(function(O){if("object"!=typeof O||O.constructor!==Object)return O;const U={};return Object.keys(O).forEach(function(Z){Z==(0|Z)&&(Z|=0),U[O[Z]]=Z}),U}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(M){P.prototype[M]=function(){throw new Error(M+" not implemented for encoding: "+this._baseState.enc)}}),s.forEach(function(M){P.prototype[M]=function(){const I=this._baseState,k=Array.prototype.slice.call(arguments);return A(null===I.tag),I.tag=M,this._useArgs(k),this}}),P.prototype.use=function(w){A(w);const I=this._baseState;return A(null===I.use),I.use=w,this},P.prototype.optional=function(){return this._baseState.optional=!0,this},P.prototype.def=function(w){const I=this._baseState;return A(null===I.default),I.default=w,I.optional=!0,this},P.prototype.explicit=function(w){const I=this._baseState;return A(null===I.explicit&&null===I.implicit),I.explicit=w,this},P.prototype.implicit=function(w){const I=this._baseState;return A(null===I.explicit&&null===I.implicit),I.implicit=w,this},P.prototype.obj=function(){const w=this._baseState,I=Array.prototype.slice.call(arguments);return w.obj=!0,0!==I.length&&this._useArgs(I),this},P.prototype.key=function(w){const I=this._baseState;return A(null===I.key),I.key=w,this},P.prototype.any=function(){return this._baseState.any=!0,this},P.prototype.choice=function(w){const I=this._baseState;return A(null===I.choice),I.choice=w,this._useArgs(Object.keys(w).map(function(k){return w[k]})),this},P.prototype.contains=function(w){const I=this._baseState;return A(null===I.use),I.contains=w,this},P.prototype._decode=function(w,I){const k=this._baseState;if(null===k.parent)return w.wrapResult(k.children[0]._decode(w,I));let W,O=k.default,U=!0,Z=null;if(null!==k.key&&(Z=w.enterKey(k.key)),k.optional){let K=null;if(null!==k.explicit?K=k.explicit:null!==k.implicit?K=k.implicit:null!==k.tag&&(K=k.tag),null!==K||k.any){if(U=this._peekTag(w,K,k.any),w.isError(U))return U}else{const q=w.save();try{null===k.choice?this._decodeGeneric(k.tag,w,I):this._decodeChoice(w,I),U=!0}catch{U=!1}w.restore(q)}}if(k.obj&&U&&(W=w.enterObject()),U){if(null!==k.explicit){const q=this._decodeTag(w,k.explicit);if(w.isError(q))return q;w=q}const K=w.offset;if(null===k.use&&null===k.choice){let q;k.any&&(q=w.save());const te=this._decodeTag(w,null!==k.implicit?k.implicit:k.tag,k.any);if(w.isError(te))return te;k.any?O=w.raw(q):w=te}if(I&&I.track&&null!==k.tag&&I.track(w.path(),K,w.length,"tagged"),I&&I.track&&null!==k.tag&&I.track(w.path(),w.offset,w.length,"content"),k.any||(O=null===k.choice?this._decodeGeneric(k.tag,w,I):this._decodeChoice(w,I)),w.isError(O))return O;if(!k.any&&null===k.choice&&null!==k.children&&k.children.forEach(function(te){te._decode(w,I)}),k.contains&&("octstr"===k.tag||"bitstr"===k.tag)){const q=new g(O);O=this._getUse(k.contains,w._reporterState.obj)._decode(q,I)}}return k.obj&&U&&(O=w.leaveObject(W)),null===k.key||null===O&&!0!==U?null!==Z&&w.exitKey(Z):w.leaveKey(Z,k.key,O),O},P.prototype._decodeGeneric=function(w,I,k){const O=this._baseState;return"seq"===w||"set"===w?null:"seqof"===w||"setof"===w?this._decodeList(I,w,O.args[0],k):/str$/.test(w)?this._decodeStr(I,w,k):"objid"===w&&O.args?this._decodeObjid(I,O.args[0],O.args[1],k):"objid"===w?this._decodeObjid(I,null,null,k):"gentime"===w||"utctime"===w?this._decodeTime(I,w,k):"null_"===w?this._decodeNull(I,k):"bool"===w?this._decodeBool(I,k):"objDesc"===w?this._decodeStr(I,w,k):"int"===w||"enum"===w?this._decodeInt(I,O.args&&O.args[0],k):null!==O.use?this._getUse(O.use,I._reporterState.obj)._decode(I,k):I.error("unknown tag: "+w)},P.prototype._getUse=function(w,I){const k=this._baseState;return k.useDecoder=this._use(w,I),A(null===k.useDecoder._baseState.parent),k.useDecoder=k.useDecoder._baseState.children[0],k.implicit!==k.useDecoder._baseState.implicit&&(k.useDecoder=k.useDecoder.clone(),k.useDecoder._baseState.implicit=k.implicit),k.useDecoder},P.prototype._decodeChoice=function(w,I){const k=this._baseState;let O=null,U=!1;return Object.keys(k.choice).some(function(Z){const W=w.save(),K=k.choice[Z];try{const q=K._decode(w,I);if(w.isError(q))return!1;O={type:Z,value:q},U=!0}catch{return w.restore(W),!1}return!0},this),U?O:w.error("Choice not matched")},P.prototype._createEncoderBuffer=function(w){return new e(w,this.reporter)},P.prototype._encode=function(w,I,k){const O=this._baseState;if(null!==O.default&&O.default===w)return;const U=this._encodeValue(w,I,k);return void 0===U||this._skipDefault(U,I,k)?void 0:U},P.prototype._encodeValue=function(w,I,k){const O=this._baseState;if(null===O.parent)return O.children[0]._encode(w,I||new t);let U=null;if(this.reporter=I,O.optional&&void 0===w){if(null===O.default)return;w=O.default}let Z=null,W=!1;if(O.any)U=this._createEncoderBuffer(w);else if(O.choice)U=this._encodeChoice(w,I);else if(O.contains)Z=this._getUse(O.contains,k)._encode(w,I),W=!0;else if(O.children)Z=O.children.map(function(K){if("null_"===K._baseState.tag)return K._encode(null,I,w);if(null===K._baseState.key)return I.error("Child should have a key");const q=I.enterKey(K._baseState.key);if("object"!=typeof w)return I.error("Child expected, but input is not object");const te=K._encode(w[K._baseState.key],I,w);return I.leaveKey(q),te},this).filter(function(K){return K}),Z=this._createEncoderBuffer(Z);else if("seqof"===O.tag||"setof"===O.tag){if(!O.args||1!==O.args.length)return I.error("Too many args for : "+O.tag);if(!Array.isArray(w))return I.error("seqof/setof, but data is not Array");const K=this.clone();K._baseState.implicit=null,Z=this._createEncoderBuffer(w.map(function(q){return this._getUse(this._baseState.args[0],w)._encode(q,I)},K))}else null!==O.use?U=this._getUse(O.use,k)._encode(w,I):(Z=this._encodePrimitive(O.tag,w),W=!0);if(!O.any&&null===O.choice){const K=null!==O.implicit?O.implicit:O.tag,q=null===O.implicit?"universal":"context";null===K?null===O.use&&I.error("Tag could be omitted only for .use()"):null===O.use&&(U=this._encodeComposite(K,W,q,Z))}return null!==O.explicit&&(U=this._encodeComposite(O.explicit,!1,"context",U)),U},P.prototype._encodeChoice=function(w,I){const k=this._baseState,O=k.choice[w.type];return O||A(!1,w.type+" not found in "+JSON.stringify(Object.keys(k.choice))),O._encode(w.value,I)},P.prototype._encodePrimitive=function(w,I){const k=this._baseState;if(/str$/.test(w))return this._encodeStr(I,w);if("objid"===w&&k.args)return this._encodeObjid(I,k.reverseArgs[0],k.args[1]);if("objid"===w)return this._encodeObjid(I,null,null);if("gentime"===w||"utctime"===w)return this._encodeTime(I,w);if("null_"===w)return this._encodeNull();if("int"===w||"enum"===w)return this._encodeInt(I,k.args&&k.reverseArgs[0]);if("bool"===w)return this._encodeBool(I);if("objDesc"===w)return this._encodeStr(I,w);throw new Error("Unsupported tag: "+w)},P.prototype._isNumstr=function(w){return/^[0-9 ]*$/.test(w)},P.prototype._isPrintstr=function(w){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(w)}},4919:(Be,Q,m)=>{"use strict";const t=m(3894);function e(A){this._reporterState={obj:null,path:[],options:A||{},errors:[]}}function g(A,s){this.path=A,this.rethrow(s)}Q.b=e,e.prototype.isError=function(s){return s instanceof g},e.prototype.save=function(){const s=this._reporterState;return{obj:s.obj,pathLen:s.path.length}},e.prototype.restore=function(s){const C=this._reporterState;C.obj=s.obj,C.path=C.path.slice(0,s.pathLen)},e.prototype.enterKey=function(s){return this._reporterState.path.push(s)},e.prototype.exitKey=function(s){const C=this._reporterState;C.path=C.path.slice(0,s-1)},e.prototype.leaveKey=function(s,C,h){const P=this._reporterState;this.exitKey(s),null!==P.obj&&(P.obj[C]=h)},e.prototype.path=function(){return this._reporterState.path.join("/")},e.prototype.enterObject=function(){const s=this._reporterState,C=s.obj;return s.obj={},C},e.prototype.leaveObject=function(s){const C=this._reporterState,h=C.obj;return C.obj=s,h},e.prototype.error=function(s){let C;const h=this._reporterState,P=s instanceof g;if(C=P?s:new g(h.path.map(function(d){return"["+JSON.stringify(d)+"]"}).join(""),s.message||s,s.stack),!h.options.partial)throw C;return P||h.errors.push(C),C},e.prototype.wrapResult=function(s){const C=this._reporterState;return C.options.partial?{result:this.isError(s)?null:s,errors:C.errors}:s},t(g,Error),g.prototype.rethrow=function(s){if(this.message=s+" 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:(Be,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:(Be,Q,m)=>{"use strict";const t=Q;t._reverse=function(g){const A={};return Object.keys(g).forEach(function(s){(0|s)==s&&(s|=0),A[g[s]]=s}),A},t.der=m(5496)},7127:(Be,Q,m)=>{"use strict";const t=m(3894),e=m(3854),g=m(2769).C,A=m(1430),s=m(5496);function C(M){this.enc="der",this.name=M.name,this.entity=M,this.tree=new h,this.tree._init(M.body)}function h(M){A.call(this,"der",M)}function P(M,w){let I=M.readUInt8(w);if(M.isError(I))return I;const k=s.tagClass[I>>6],O=0==(32&I);if(31==(31&I)){let Z=I;for(I=0;128==(128&Z);){if(Z=M.readUInt8(w),M.isError(Z))return Z;I<<=7,I|=127&Z}}else I&=31;return{cls:k,primitive:O,tag:I,tagStr:s.tag[I]}}function d(M,w,I){let k=M.readUInt8(I);if(M.isError(k))return k;if(!w&&128===k)return null;if(!(128&k))return k;const O=127&k;if(O>4)return M.error("length octect is too long");k=0;for(let U=0;U<O;U++){k<<=8;const Z=M.readUInt8(I);if(M.isError(Z))return Z;k|=Z}return k}Be.exports=C,C.prototype.decode=function(w,I){return g.isDecoderBuffer(w)||(w=new g(w,I)),this.tree._decode(w,I)},t(h,A),h.prototype._peekTag=function(w,I,k){if(w.isEmpty())return!1;const O=w.save(),U=P(w,'Failed to peek tag: "'+I+'"');return w.isError(U)?U:(w.restore(O),U.tag===I||U.tagStr===I||U.tagStr+"of"===I||k)},h.prototype._decodeTag=function(w,I,k){const O=P(w,'Failed to decode tag of "'+I+'"');if(w.isError(O))return O;let U=d(w,O.primitive,'Failed to get length of "'+I+'"');if(w.isError(U))return U;if(!k&&O.tag!==I&&O.tagStr!==I&&O.tagStr+"of"!==I)return w.error('Failed to match tag: "'+I+'"');if(O.primitive||null!==U)return w.skip(U,'Failed to match body of: "'+I+'"');const Z=w.save(),W=this._skipUntilEnd(w,'Failed to skip indefinite length body: "'+this.tag+'"');return w.isError(W)?W:(U=w.offset-Z.offset,w.restore(Z),w.skip(U,'Failed to match body of: "'+I+'"'))},h.prototype._skipUntilEnd=function(w,I){for(;;){const k=P(w,I);if(w.isError(k))return k;const O=d(w,k.primitive,I);if(w.isError(O))return O;let U;if(U=k.primitive||null!==O?w.skip(O):this._skipUntilEnd(w,I),w.isError(U))return U;if("end"===k.tagStr)break}},h.prototype._decodeList=function(w,I,k,O){const U=[];for(;!w.isEmpty();){const Z=this._peekTag(w,"end");if(w.isError(Z))return Z;const W=k.decode(w,"der",O);if(w.isError(W)&&Z)break;U.push(W)}return U},h.prototype._decodeStr=function(w,I){if("bitstr"===I){const k=w.readUInt8();return w.isError(k)?k:{unused:k,data:w.raw()}}if("bmpstr"===I){const k=w.raw();if(k.length%2==1)return w.error("Decoding of string type: bmpstr length mismatch");let O="";for(let U=0;U<k.length/2;U++)O+=String.fromCharCode(k.readUInt16BE(2*U));return O}if("numstr"===I){const k=w.raw().toString("ascii");return this._isNumstr(k)?k:w.error("Decoding of string type: numstr unsupported characters")}if("octstr"===I)return w.raw();if("objDesc"===I)return w.raw();if("printstr"===I){const k=w.raw().toString("ascii");return this._isPrintstr(k)?k:w.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(I)?w.raw().toString():w.error("Decoding of string type: "+I+" unsupported")},h.prototype._decodeObjid=function(w,I,k){let O;const U=[];let Z=0,W=0;for(;!w.isEmpty();)W=w.readUInt8(),Z<<=7,Z|=127&W,128&W||(U.push(Z),Z=0);if(128&W&&U.push(Z),O=k?U:[U[0]/40|0,U[0]%40].concat(U.slice(1)),I){let te=I[O.join(" ")];void 0===te&&(te=I[O.join(".")]),void 0!==te&&(O=te)}return O},h.prototype._decodeTime=function(w,I){const k=w.raw().toString();let O,U,Z,W,K,q;if("gentime"===I)O=0|k.slice(0,4),U=0|k.slice(4,6),Z=0|k.slice(6,8),W=0|k.slice(8,10),K=0|k.slice(10,12),q=0|k.slice(12,14);else{if("utctime"!==I)return w.error("Decoding "+I+" time is not supported yet");O=0|k.slice(0,2),U=0|k.slice(2,4),Z=0|k.slice(4,6),W=0|k.slice(6,8),K=0|k.slice(8,10),q=0|k.slice(10,12),O=O<70?2e3+O:1900+O}return Date.UTC(O,U-1,Z,W,K,q,0)},h.prototype._decodeNull=function(){return null},h.prototype._decodeBool=function(w){const I=w.readUInt8();return w.isError(I)?I:0!==I},h.prototype._decodeInt=function(w,I){const k=w.raw();let O=new e(k);return I&&(O=I[O.toString(10)]||O),O},h.prototype._use=function(w,I){return"function"==typeof w&&(w=w(I)),w._getDecoder("der").tree}},196:(Be,Q,m)=>{"use strict";const t=Q;t.der=m(7127),t.pem=m(9617)},9617:(Be,Q,m)=>{"use strict";const t=m(3894),e=m(2038).Buffer,g=m(7127);function A(s){g.call(this,s),this.enc="pem"}t(A,g),Be.exports=A,A.prototype.decode=function(C,h){const P=C.toString().split(/[\r\n]+/g),d=h.label.toUpperCase(),M=/^-----(BEGIN|END) ([^-]+)-----$/;let w=-1,I=-1;for(let U=0;U<P.length;U++){const Z=P[U].match(M);if(null!==Z&&Z[2]===d){if(-1!==w){if("END"!==Z[1])break;I=U;break}if("BEGIN"!==Z[1])break;w=U}}if(-1===w||-1===I)throw new Error("PEM section not found for: "+d);const k=P.slice(w+1,I).join("");k.replace(/[^a-z0-9+/=]+/gi,"");const O=e.from(k,"base64");return g.prototype.decode.call(this,O,h)}},6374:(Be,Q,m)=>{"use strict";const t=m(3894),e=m(2038).Buffer,g=m(1430),A=m(5496);function s(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 h(d){return d<10?"0"+d:d}Be.exports=s,s.prototype.encode=function(M,w){return this.tree._encode(M,w).join()},t(C,g),C.prototype._encodeComposite=function(M,w,I,k){const O=function P(d,M,w,I){let k;if("seqof"===d?d="seq":"setof"===d&&(d="set"),A.tagByName.hasOwnProperty(d))k=A.tagByName[d];else{if("number"!=typeof d||(0|d)!==d)return I.error("Unknown tag: "+d);k=d}return k>=31?I.error("Multi-octet tag encoding unsupported"):(M||(k|=32),k|=A.tagClassByName[w||"universal"]<<6,k)}(M,w,I,this.reporter);if(k.length<128){const W=e.alloc(2);return W[0]=O,W[1]=k.length,this._createEncoderBuffer([W,k])}let U=1;for(let W=k.length;W>=256;W>>=8)U++;const Z=e.alloc(2+U);Z[0]=O,Z[1]=128|U;for(let W=1+U,K=k.length;K>0;W--,K>>=8)Z[W]=255&K;return this._createEncoderBuffer([Z,k])},C.prototype._encodeStr=function(M,w){if("bitstr"===w)return this._createEncoderBuffer([0|M.unused,M.data]);if("bmpstr"===w){const I=e.alloc(2*M.length);for(let k=0;k<M.length;k++)I.writeUInt16BE(M.charCodeAt(k),2*k);return this._createEncoderBuffer(I)}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,I){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(!I){if(M[1]>=40)return this.reporter.error("Second objid identifier OOB");M.splice(0,2,40*M[0]+M[1])}let k=0;for(let Z=0;Z<M.length;Z++){let W=M[Z];for(k++;W>=128;W>>=7)k++}const O=e.alloc(k);let U=O.length-1;for(let Z=M.length-1;Z>=0;Z--){let W=M[Z];for(O[U--]=127&W;(W>>=7)>0;)O[U--]=128|127&W}return this._createEncoderBuffer(O)},C.prototype._encodeTime=function(M,w){let I;const k=new Date(M);return"gentime"===w?I=[h(k.getUTCFullYear()),h(k.getUTCMonth()+1),h(k.getUTCDate()),h(k.getUTCHours()),h(k.getUTCMinutes()),h(k.getUTCSeconds()),"Z"].join(""):"utctime"===w?I=[h(k.getUTCFullYear()%100),h(k.getUTCMonth()+1),h(k.getUTCDate()),h(k.getUTCHours()),h(k.getUTCMinutes()),h(k.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+w+" time is not supported yet"),this._encodeStr(I,"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 O=M.toArray();!M.sign&&128&O[0]&&O.unshift(0),M=e.from(O)}if(e.isBuffer(M)){let O=M.length;0===M.length&&O++;const U=e.alloc(O);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 I=1;for(let O=M;O>=256;O>>=8)I++;const k=new Array(I);for(let O=k.length-1;O>=0;O--)k[O]=255&M,M>>=8;return 128&k[0]&&k.unshift(0),this._createEncoderBuffer(e.from(k))},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,I){const k=this._baseState;let O;if(null===k.default)return!1;const U=M.join();if(void 0===k.defaultBuffer&&(k.defaultBuffer=this._encodeValue(k.default,w,I).join()),U.length!==k.defaultBuffer.length)return!1;for(O=0;O<U.length;O++)if(U[O]!==k.defaultBuffer[O])return!1;return!0}},1131:(Be,Q,m)=>{"use strict";const t=Q;t.der=m(6374),t.pem=m(3530)},3530:(Be,Q,m)=>{"use strict";const t=m(3894),e=m(6374);function g(A){e.call(this,A),this.enc="pem"}t(g,e),Be.exports=g,g.prototype.encode=function(s,C){const P=e.prototype.encode.call(this,s).toString("base64"),d=["-----BEGIN "+C.label+"-----"];for(let M=0;M<P.length;M+=64)d.push(P.slice(M,M+64));return d.push("-----END "+C.label+"-----"),d.join("\n")}},3854:function(Be,Q,m){!function(t,e){"use strict";function g(S,i){if(!S)throw new Error(i||"Assertion failed")}function A(S,i){S.super_=i;var a=function(){};a.prototype=i.prototype,S.prototype=new a,S.prototype.constructor=S}function s(S,i,a){if(s.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===i||"be"===i)&&(a=i,i=10),this._init(S||0,i||10,a||"be"))}var C;"object"==typeof t?t.exports=s:e.BN=s,s.BN=s,s.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(950).Buffer}catch{}function h(S,i){var a=S.charCodeAt(i);return a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:a-48&15}function P(S,i,a){var f=h(S,a);return a-1>=i&&(f|=h(S,a-1)<<4),f}function d(S,i,a,f){for(var l=0,y=Math.min(S.length,a),E=i;E<y;E++){var D=S.charCodeAt(E)-48;l*=f,l+=D>=49?D-49+10:D>=17?D-17+10:D}return l}s.isBN=function(i){return i instanceof s||null!==i&&"object"==typeof i&&i.constructor.wordSize===s.wordSize&&Array.isArray(i.words)},s.max=function(i,a){return i.cmp(a)>0?i:a},s.min=function(i,a){return i.cmp(a)<0?i:a},s.prototype._init=function(i,a,f){if("number"==typeof i)return this._initNumber(i,a,f);if("object"==typeof i)return this._initArray(i,a,f);"hex"===a&&(a=16),g(a===(0|a)&&a>=2&&a<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===a?this._parseHex(i,l,f):(this._parseBase(i,a,l),"le"===f&&this._initArray(this.toArray(),a,f)))},s.prototype._initNumber=function(i,a,f){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"===f&&this._initArray(this.toArray(),a,f)},s.prototype._initArray=function(i,a,f){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 l=0;l<this.length;l++)this.words[l]=0;var y,E,D=0;if("be"===f)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(E=i[l]|i[l-1]<<8|i[l-2]<<16)<<D&67108863,this.words[y+1]=E>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);else if("le"===f)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(E=i[l]|i[l+1]<<8|i[l+2]<<16)<<D&67108863,this.words[y+1]=E>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);return this.strip()},s.prototype._parseHex=function(i,a,f){this.length=Math.ceil((i.length-a)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var D,y=0,E=0;if("be"===f)for(l=i.length-1;l>=a;l-=2)D=P(i,a,l)<<y,this.words[E]|=67108863&D,y>=18?(y-=18,this.words[E+=1]|=D>>>26):y+=8;else for(l=(i.length-a)%2==0?a+1:a;l<i.length;l+=2)D=P(i,a,l)<<y,this.words[E]|=67108863&D,y>=18?(y-=18,this.words[E+=1]|=D>>>26):y+=8;this.strip()},s.prototype._parseBase=function(i,a,f){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=a)l++;l--,y=y/a|0;for(var E=i.length-f,D=E%l,v=Math.min(E,E-D)+f,n=0,b=f;b<v;b+=l)n=d(i,b,b+l,a),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==D){var V=1;for(n=d(i,b,i.length,a),b=0;b<D;b++)V*=a;this.imuln(V),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},s.prototype.copy=function(i){i.words=new Array(this.length);for(var a=0;a<this.length;a++)i.words[a]=this.words[a];i.length=this.length,i.negative=this.negative,i.red=this.red},s.prototype.clone=function(){var i=new s(null);return this.copy(i),i},s.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.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],I=[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 O(S,i,a){a.negative=i.negative^S.negative;var f=S.length+i.length|0;a.length=f,f=f-1|0;var l=0|S.words[0],y=0|i.words[0],E=l*y,v=E/67108864|0;a.words[0]=67108863&E;for(var n=1;n<f;n++){for(var b=v>>>26,V=67108863&v,z=Math.min(n,i.length-1),Y=Math.max(0,n-S.length+1);Y<=z;Y++)b+=(E=(l=0|S.words[n-Y|0])*(y=0|i.words[Y])+V)/67108864|0,V=67108863&E;a.words[n]=0|V,v=0|b}return 0!==v?a.words[n]=0|v:a.length--,a.strip()}s.prototype.toString=function(i,a){var f;if(a=0|a||1,16===(i=i||10)||"hex"===i){f="";for(var l=0,y=0,E=0;E<this.length;E++){var D=this.words[E],v=(16777215&(D<<l|y)).toString(16);f=0!=(y=D>>>24-l&16777215)||E!==this.length-1?M[6-v.length]+v+f:v+f,(l+=2)>=26&&(l-=26,E--)}for(0!==y&&(f=y.toString(16)+f);f.length%a!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=I[i];f="";var V=this.clone();for(V.negative=0;!V.isZero();){var z=V.modn(b).toString(i);f=(V=V.idivn(b)).isZero()?z+f:M[n-z.length]+z+f}for(this.isZero()&&(f="0"+f);f.length%a!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}g(!1,"Base should be between 2 and 36")},s.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},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(i,a){return g(typeof C<"u"),this.toArrayLike(C,i,a)},s.prototype.toArray=function(i,a){return this.toArrayLike(Array,i,a)},s.prototype.toArrayLike=function(i,a,f){var l=this.byteLength(),y=f||Math.max(1,l);g(l<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var v,n,E="le"===a,D=new i(y),b=this.clone();if(E){for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),D[n]=v;for(;n<y;n++)D[n]=0}else{for(n=0;n<y-l;n++)D[n]=0;for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),D[y-n-1]=v}return D},s.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var a=i,f=0;return a>=4096&&(f+=13,a>>>=13),a>=64&&(f+=7,a>>>=7),a>=8&&(f+=4,a>>>=4),a>=2&&(f+=2,a>>>=2),f+a},s.prototype._zeroBits=function(i){if(0===i)return 26;var a=i,f=0;return 8191&a||(f+=13,a>>>=13),127&a||(f+=7,a>>>=7),15&a||(f+=4,a>>>=4),3&a||(f+=2,a>>>=2),1&a||f++,f},s.prototype.bitLength=function(){var a=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+a},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,a=0;a<this.length;a++){var f=this._zeroBits(this.words[a]);if(i+=f,26!==f)break}return i},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},s.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var a=0;a<i.length;a++)this.words[a]=this.words[a]|i.words[a];return this.strip()},s.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},s.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},s.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},s.prototype.iuand=function(i){var a;a=this.length>i.length?i:this;for(var f=0;f<a.length;f++)this.words[f]=this.words[f]&i.words[f];return this.length=a.length,this.strip()},s.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},s.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},s.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},s.prototype.iuxor=function(i){var a,f;this.length>i.length?(a=this,f=i):(a=i,f=this);for(var l=0;l<f.length;l++)this.words[l]=a.words[l]^f.words[l];if(this!==a)for(;l<a.length;l++)this.words[l]=a.words[l];return this.length=a.length,this.strip()},s.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},s.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},s.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},s.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var a=0|Math.ceil(i/26),f=i%26;this._expand(a),f>0&&a--;for(var l=0;l<a;l++)this.words[l]=67108863&~this.words[l];return f>0&&(this.words[l]=~this.words[l]&67108863>>26-f),this.strip()},s.prototype.notn=function(i){return this.clone().inotn(i)},s.prototype.setn=function(i,a){g("number"==typeof i&&i>=0);var f=i/26|0,l=i%26;return this._expand(f+1),this.words[f]=a?this.words[f]|1<<l:this.words[f]&~(1<<l),this.strip()},s.prototype.iadd=function(i){var a,f,l;if(0!==this.negative&&0===i.negative)return this.negative=0,a=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,a=this.isub(i),i.negative=1,a._normSign();this.length>i.length?(f=this,l=i):(f=i,l=this);for(var y=0,E=0;E<l.length;E++)this.words[E]=67108863&(a=(0|f.words[E])+(0|l.words[E])+y),y=a>>>26;for(;0!==y&&E<f.length;E++)this.words[E]=67108863&(a=(0|f.words[E])+y),y=a>>>26;if(this.length=f.length,0!==y)this.words[this.length]=y,this.length++;else if(f!==this)for(;E<f.length;E++)this.words[E]=f.words[E];return this},s.prototype.add=function(i){var a;return 0!==i.negative&&0===this.negative?(i.negative=0,a=this.sub(i),i.negative^=1,a):0===i.negative&&0!==this.negative?(this.negative=0,a=i.sub(this),this.negative=1,a):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},s.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var a=this.iadd(i);return i.negative=1,a._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,f=this.cmp(i);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(l=this,y=i):(l=i,y=this);for(var E=0,D=0;D<y.length;D++)E=(a=(0|l.words[D])-(0|y.words[D])+E)>>26,this.words[D]=67108863&a;for(;0!==E&&D<l.length;D++)E=(a=(0|l.words[D])+E)>>26,this.words[D]=67108863&a;if(0===E&&D<l.length&&l!==this)for(;D<l.length;D++)this.words[D]=l.words[D];return this.length=Math.max(this.length,D),l!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(i){return this.clone().isub(i)};var U=function(i,a,f){var v,n,b,l=i.words,y=a.words,E=f.words,D=0,V=0|l[0],z=8191&V,Y=V>>>13,Te=0|l[1],$e=8191&Te,Ve=Te>>>13,We=0|l[2],Re=8191&We,we=We>>>13,me=0|l[3],Ae=8191&me,ee=me>>>13,Ze=0|l[4],Oe=8191&Ze,fe=Ze>>>13,Se=0|l[5],ge=8191&Se,xe=Se>>>13,vt=0|l[6],Ie=8191&vt,de=vt>>>13,rt=0|l[7],je=8191&rt,lt=rt>>>13,Nt=0|l[8],Ke=8191&Nt,at=Nt>>>13,Ct=0|l[9],ye=8191&Ct,Qe=Ct>>>13,Le=0|y[0],J=8191&Le,mt=Le>>>13,St=0|y[1],nt=8191&St,Ye=St>>>13,zt=0|y[2],xt=8191&zt,Ht=zt>>>13,Ut=0|y[3],De=8191&Ut,X=Ut>>>13,ue=0|y[4],Ee=8191&ue,qe=ue>>>13,Xt=0|y[5],Vt=8191&Xt,ri=Xt>>>13,pt=0|y[6],ot=8191&pt,ut=pt>>>13,wt=0|y[7],ft=8191&wt,Xe=wt>>>13,gt=0|y[8],_t=8191&gt,Fe=gt>>>13,Mt=0|y[9],Et=8191&Mt,Yt=Mt>>>13;f.negative=i.negative^a.negative,f.length=19;var Fi=(D+(v=Math.imul(z,J))|0)+((8191&(n=(n=Math.imul(z,mt))+Math.imul(Y,J)|0))<<13)|0;D=((b=Math.imul(Y,mt))+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,v=Math.imul($e,J),n=(n=Math.imul($e,mt))+Math.imul(Ve,J)|0,b=Math.imul(Ve,mt);var Ri=(D+(v=v+Math.imul(z,nt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ye)|0)+Math.imul(Y,nt)|0))<<13)|0;D=((b=b+Math.imul(Y,Ye)|0)+(n>>>13)|0)+(Ri>>>26)|0,Ri&=67108863,v=Math.imul(Re,J),n=(n=Math.imul(Re,mt))+Math.imul(we,J)|0,b=Math.imul(we,mt),v=v+Math.imul($e,nt)|0,n=(n=n+Math.imul($e,Ye)|0)+Math.imul(Ve,nt)|0,b=b+Math.imul(Ve,Ye)|0;var Ci=(D+(v=v+Math.imul(z,xt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ht)|0)+Math.imul(Y,xt)|0))<<13)|0;D=((b=b+Math.imul(Y,Ht)|0)+(n>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,v=Math.imul(Ae,J),n=(n=Math.imul(Ae,mt))+Math.imul(ee,J)|0,b=Math.imul(ee,mt),v=v+Math.imul(Re,nt)|0,n=(n=n+Math.imul(Re,Ye)|0)+Math.imul(we,nt)|0,b=b+Math.imul(we,Ye)|0,v=v+Math.imul($e,xt)|0,n=(n=n+Math.imul($e,Ht)|0)+Math.imul(Ve,xt)|0,b=b+Math.imul(Ve,Ht)|0;var Bi=(D+(v=v+Math.imul(z,De)|0)|0)+((8191&(n=(n=n+Math.imul(z,X)|0)+Math.imul(Y,De)|0))<<13)|0;D=((b=b+Math.imul(Y,X)|0)+(n>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Oe,J),n=(n=Math.imul(Oe,mt))+Math.imul(fe,J)|0,b=Math.imul(fe,mt),v=v+Math.imul(Ae,nt)|0,n=(n=n+Math.imul(Ae,Ye)|0)+Math.imul(ee,nt)|0,b=b+Math.imul(ee,Ye)|0,v=v+Math.imul(Re,xt)|0,n=(n=n+Math.imul(Re,Ht)|0)+Math.imul(we,xt)|0,b=b+Math.imul(we,Ht)|0,v=v+Math.imul($e,De)|0,n=(n=n+Math.imul($e,X)|0)+Math.imul(Ve,De)|0,b=b+Math.imul(Ve,X)|0;var Je=(D+(v=v+Math.imul(z,Ee)|0)|0)+((8191&(n=(n=n+Math.imul(z,qe)|0)+Math.imul(Y,Ee)|0))<<13)|0;D=((b=b+Math.imul(Y,qe)|0)+(n>>>13)|0)+(Je>>>26)|0,Je&=67108863,v=Math.imul(ge,J),n=(n=Math.imul(ge,mt))+Math.imul(xe,J)|0,b=Math.imul(xe,mt),v=v+Math.imul(Oe,nt)|0,n=(n=n+Math.imul(Oe,Ye)|0)+Math.imul(fe,nt)|0,b=b+Math.imul(fe,Ye)|0,v=v+Math.imul(Ae,xt)|0,n=(n=n+Math.imul(Ae,Ht)|0)+Math.imul(ee,xt)|0,b=b+Math.imul(ee,Ht)|0,v=v+Math.imul(Re,De)|0,n=(n=n+Math.imul(Re,X)|0)+Math.imul(we,De)|0,b=b+Math.imul(we,X)|0,v=v+Math.imul($e,Ee)|0,n=(n=n+Math.imul($e,qe)|0)+Math.imul(Ve,Ee)|0,b=b+Math.imul(Ve,qe)|0;var Dt=(D+(v=v+Math.imul(z,Vt)|0)|0)+((8191&(n=(n=n+Math.imul(z,ri)|0)+Math.imul(Y,Vt)|0))<<13)|0;D=((b=b+Math.imul(Y,ri)|0)+(n>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Ie,J),n=(n=Math.imul(Ie,mt))+Math.imul(de,J)|0,b=Math.imul(de,mt),v=v+Math.imul(ge,nt)|0,n=(n=n+Math.imul(ge,Ye)|0)+Math.imul(xe,nt)|0,b=b+Math.imul(xe,Ye)|0,v=v+Math.imul(Oe,xt)|0,n=(n=n+Math.imul(Oe,Ht)|0)+Math.imul(fe,xt)|0,b=b+Math.imul(fe,Ht)|0,v=v+Math.imul(Ae,De)|0,n=(n=n+Math.imul(Ae,X)|0)+Math.imul(ee,De)|0,b=b+Math.imul(ee,X)|0,v=v+Math.imul(Re,Ee)|0,n=(n=n+Math.imul(Re,qe)|0)+Math.imul(we,Ee)|0,b=b+Math.imul(we,qe)|0,v=v+Math.imul($e,Vt)|0,n=(n=n+Math.imul($e,ri)|0)+Math.imul(Ve,Vt)|0,b=b+Math.imul(Ve,ri)|0;var be=(D+(v=v+Math.imul(z,ot)|0)|0)+((8191&(n=(n=n+Math.imul(z,ut)|0)+Math.imul(Y,ot)|0))<<13)|0;D=((b=b+Math.imul(Y,ut)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,v=Math.imul(je,J),n=(n=Math.imul(je,mt))+Math.imul(lt,J)|0,b=Math.imul(lt,mt),v=v+Math.imul(Ie,nt)|0,n=(n=n+Math.imul(Ie,Ye)|0)+Math.imul(de,nt)|0,b=b+Math.imul(de,Ye)|0,v=v+Math.imul(ge,xt)|0,n=(n=n+Math.imul(ge,Ht)|0)+Math.imul(xe,xt)|0,b=b+Math.imul(xe,Ht)|0,v=v+Math.imul(Oe,De)|0,n=(n=n+Math.imul(Oe,X)|0)+Math.imul(fe,De)|0,b=b+Math.imul(fe,X)|0,v=v+Math.imul(Ae,Ee)|0,n=(n=n+Math.imul(Ae,qe)|0)+Math.imul(ee,Ee)|0,b=b+Math.imul(ee,qe)|0,v=v+Math.imul(Re,Vt)|0,n=(n=n+Math.imul(Re,ri)|0)+Math.imul(we,Vt)|0,b=b+Math.imul(we,ri)|0,v=v+Math.imul($e,ot)|0,n=(n=n+Math.imul($e,ut)|0)+Math.imul(Ve,ot)|0,b=b+Math.imul(Ve,ut)|0;var Tt=(D+(v=v+Math.imul(z,ft)|0)|0)+((8191&(n=(n=n+Math.imul(z,Xe)|0)+Math.imul(Y,ft)|0))<<13)|0;D=((b=b+Math.imul(Y,Xe)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,v=Math.imul(Ke,J),n=(n=Math.imul(Ke,mt))+Math.imul(at,J)|0,b=Math.imul(at,mt),v=v+Math.imul(je,nt)|0,n=(n=n+Math.imul(je,Ye)|0)+Math.imul(lt,nt)|0,b=b+Math.imul(lt,Ye)|0,v=v+Math.imul(Ie,xt)|0,n=(n=n+Math.imul(Ie,Ht)|0)+Math.imul(de,xt)|0,b=b+Math.imul(de,Ht)|0,v=v+Math.imul(ge,De)|0,n=(n=n+Math.imul(ge,X)|0)+Math.imul(xe,De)|0,b=b+Math.imul(xe,X)|0,v=v+Math.imul(Oe,Ee)|0,n=(n=n+Math.imul(Oe,qe)|0)+Math.imul(fe,Ee)|0,b=b+Math.imul(fe,qe)|0,v=v+Math.imul(Ae,Vt)|0,n=(n=n+Math.imul(Ae,ri)|0)+Math.imul(ee,Vt)|0,b=b+Math.imul(ee,ri)|0,v=v+Math.imul(Re,ot)|0,n=(n=n+Math.imul(Re,ut)|0)+Math.imul(we,ot)|0,b=b+Math.imul(we,ut)|0,v=v+Math.imul($e,ft)|0,n=(n=n+Math.imul($e,Xe)|0)+Math.imul(Ve,ft)|0,b=b+Math.imul(Ve,Xe)|0;var Wt=(D+(v=v+Math.imul(z,_t)|0)|0)+((8191&(n=(n=n+Math.imul(z,Fe)|0)+Math.imul(Y,_t)|0))<<13)|0;D=((b=b+Math.imul(Y,Fe)|0)+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,v=Math.imul(ye,J),n=(n=Math.imul(ye,mt))+Math.imul(Qe,J)|0,b=Math.imul(Qe,mt),v=v+Math.imul(Ke,nt)|0,n=(n=n+Math.imul(Ke,Ye)|0)+Math.imul(at,nt)|0,b=b+Math.imul(at,Ye)|0,v=v+Math.imul(je,xt)|0,n=(n=n+Math.imul(je,Ht)|0)+Math.imul(lt,xt)|0,b=b+Math.imul(lt,Ht)|0,v=v+Math.imul(Ie,De)|0,n=(n=n+Math.imul(Ie,X)|0)+Math.imul(de,De)|0,b=b+Math.imul(de,X)|0,v=v+Math.imul(ge,Ee)|0,n=(n=n+Math.imul(ge,qe)|0)+Math.imul(xe,Ee)|0,b=b+Math.imul(xe,qe)|0,v=v+Math.imul(Oe,Vt)|0,n=(n=n+Math.imul(Oe,ri)|0)+Math.imul(fe,Vt)|0,b=b+Math.imul(fe,ri)|0,v=v+Math.imul(Ae,ot)|0,n=(n=n+Math.imul(Ae,ut)|0)+Math.imul(ee,ot)|0,b=b+Math.imul(ee,ut)|0,v=v+Math.imul(Re,ft)|0,n=(n=n+Math.imul(Re,Xe)|0)+Math.imul(we,ft)|0,b=b+Math.imul(we,Xe)|0,v=v+Math.imul($e,_t)|0,n=(n=n+Math.imul($e,Fe)|0)+Math.imul(Ve,_t)|0,b=b+Math.imul(Ve,Fe)|0;var ci=(D+(v=v+Math.imul(z,Et)|0)|0)+((8191&(n=(n=n+Math.imul(z,Yt)|0)+Math.imul(Y,Et)|0))<<13)|0;D=((b=b+Math.imul(Y,Yt)|0)+(n>>>13)|0)+(ci>>>26)|0,ci&=67108863,v=Math.imul(ye,nt),n=(n=Math.imul(ye,Ye))+Math.imul(Qe,nt)|0,b=Math.imul(Qe,Ye),v=v+Math.imul(Ke,xt)|0,n=(n=n+Math.imul(Ke,Ht)|0)+Math.imul(at,xt)|0,b=b+Math.imul(at,Ht)|0,v=v+Math.imul(je,De)|0,n=(n=n+Math.imul(je,X)|0)+Math.imul(lt,De)|0,b=b+Math.imul(lt,X)|0,v=v+Math.imul(Ie,Ee)|0,n=(n=n+Math.imul(Ie,qe)|0)+Math.imul(de,Ee)|0,b=b+Math.imul(de,qe)|0,v=v+Math.imul(ge,Vt)|0,n=(n=n+Math.imul(ge,ri)|0)+Math.imul(xe,Vt)|0,b=b+Math.imul(xe,ri)|0,v=v+Math.imul(Oe,ot)|0,n=(n=n+Math.imul(Oe,ut)|0)+Math.imul(fe,ot)|0,b=b+Math.imul(fe,ut)|0,v=v+Math.imul(Ae,ft)|0,n=(n=n+Math.imul(Ae,Xe)|0)+Math.imul(ee,ft)|0,b=b+Math.imul(ee,Xe)|0,v=v+Math.imul(Re,_t)|0,n=(n=n+Math.imul(Re,Fe)|0)+Math.imul(we,_t)|0,b=b+Math.imul(we,Fe)|0;var Ai=(D+(v=v+Math.imul($e,Et)|0)|0)+((8191&(n=(n=n+Math.imul($e,Yt)|0)+Math.imul(Ve,Et)|0))<<13)|0;D=((b=b+Math.imul(Ve,Yt)|0)+(n>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,v=Math.imul(ye,xt),n=(n=Math.imul(ye,Ht))+Math.imul(Qe,xt)|0,b=Math.imul(Qe,Ht),v=v+Math.imul(Ke,De)|0,n=(n=n+Math.imul(Ke,X)|0)+Math.imul(at,De)|0,b=b+Math.imul(at,X)|0,v=v+Math.imul(je,Ee)|0,n=(n=n+Math.imul(je,qe)|0)+Math.imul(lt,Ee)|0,b=b+Math.imul(lt,qe)|0,v=v+Math.imul(Ie,Vt)|0,n=(n=n+Math.imul(Ie,ri)|0)+Math.imul(de,Vt)|0,b=b+Math.imul(de,ri)|0,v=v+Math.imul(ge,ot)|0,n=(n=n+Math.imul(ge,ut)|0)+Math.imul(xe,ot)|0,b=b+Math.imul(xe,ut)|0,v=v+Math.imul(Oe,ft)|0,n=(n=n+Math.imul(Oe,Xe)|0)+Math.imul(fe,ft)|0,b=b+Math.imul(fe,Xe)|0,v=v+Math.imul(Ae,_t)|0,n=(n=n+Math.imul(Ae,Fe)|0)+Math.imul(ee,_t)|0,b=b+Math.imul(ee,Fe)|0;var ki=(D+(v=v+Math.imul(Re,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Re,Yt)|0)+Math.imul(we,Et)|0))<<13)|0;D=((b=b+Math.imul(we,Yt)|0)+(n>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(ye,De),n=(n=Math.imul(ye,X))+Math.imul(Qe,De)|0,b=Math.imul(Qe,X),v=v+Math.imul(Ke,Ee)|0,n=(n=n+Math.imul(Ke,qe)|0)+Math.imul(at,Ee)|0,b=b+Math.imul(at,qe)|0,v=v+Math.imul(je,Vt)|0,n=(n=n+Math.imul(je,ri)|0)+Math.imul(lt,Vt)|0,b=b+Math.imul(lt,ri)|0,v=v+Math.imul(Ie,ot)|0,n=(n=n+Math.imul(Ie,ut)|0)+Math.imul(de,ot)|0,b=b+Math.imul(de,ut)|0,v=v+Math.imul(ge,ft)|0,n=(n=n+Math.imul(ge,Xe)|0)+Math.imul(xe,ft)|0,b=b+Math.imul(xe,Xe)|0,v=v+Math.imul(Oe,_t)|0,n=(n=n+Math.imul(Oe,Fe)|0)+Math.imul(fe,_t)|0,b=b+Math.imul(fe,Fe)|0;var Yi=(D+(v=v+Math.imul(Ae,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Yt)|0)+Math.imul(ee,Et)|0))<<13)|0;D=((b=b+Math.imul(ee,Yt)|0)+(n>>>13)|0)+(Yi>>>26)|0,Yi&=67108863,v=Math.imul(ye,Ee),n=(n=Math.imul(ye,qe))+Math.imul(Qe,Ee)|0,b=Math.imul(Qe,qe),v=v+Math.imul(Ke,Vt)|0,n=(n=n+Math.imul(Ke,ri)|0)+Math.imul(at,Vt)|0,b=b+Math.imul(at,ri)|0,v=v+Math.imul(je,ot)|0,n=(n=n+Math.imul(je,ut)|0)+Math.imul(lt,ot)|0,b=b+Math.imul(lt,ut)|0,v=v+Math.imul(Ie,ft)|0,n=(n=n+Math.imul(Ie,Xe)|0)+Math.imul(de,ft)|0,b=b+Math.imul(de,Xe)|0,v=v+Math.imul(ge,_t)|0,n=(n=n+Math.imul(ge,Fe)|0)+Math.imul(xe,_t)|0,b=b+Math.imul(xe,Fe)|0;var ji=(D+(v=v+Math.imul(Oe,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Oe,Yt)|0)+Math.imul(fe,Et)|0))<<13)|0;D=((b=b+Math.imul(fe,Yt)|0)+(n>>>13)|0)+(ji>>>26)|0,ji&=67108863,v=Math.imul(ye,Vt),n=(n=Math.imul(ye,ri))+Math.imul(Qe,Vt)|0,b=Math.imul(Qe,ri),v=v+Math.imul(Ke,ot)|0,n=(n=n+Math.imul(Ke,ut)|0)+Math.imul(at,ot)|0,b=b+Math.imul(at,ut)|0,v=v+Math.imul(je,ft)|0,n=(n=n+Math.imul(je,Xe)|0)+Math.imul(lt,ft)|0,b=b+Math.imul(lt,Xe)|0,v=v+Math.imul(Ie,_t)|0,n=(n=n+Math.imul(Ie,Fe)|0)+Math.imul(de,_t)|0,b=b+Math.imul(de,Fe)|0;var tn=(D+(v=v+Math.imul(ge,Et)|0)|0)+((8191&(n=(n=n+Math.imul(ge,Yt)|0)+Math.imul(xe,Et)|0))<<13)|0;D=((b=b+Math.imul(xe,Yt)|0)+(n>>>13)|0)+(tn>>>26)|0,tn&=67108863,v=Math.imul(ye,ot),n=(n=Math.imul(ye,ut))+Math.imul(Qe,ot)|0,b=Math.imul(Qe,ut),v=v+Math.imul(Ke,ft)|0,n=(n=n+Math.imul(Ke,Xe)|0)+Math.imul(at,ft)|0,b=b+Math.imul(at,Xe)|0,v=v+Math.imul(je,_t)|0,n=(n=n+Math.imul(je,Fe)|0)+Math.imul(lt,_t)|0,b=b+Math.imul(lt,Fe)|0;var Zt=(D+(v=v+Math.imul(Ie,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Yt)|0)+Math.imul(de,Et)|0))<<13)|0;D=((b=b+Math.imul(de,Yt)|0)+(n>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v=Math.imul(ye,ft),n=(n=Math.imul(ye,Xe))+Math.imul(Qe,ft)|0,b=Math.imul(Qe,Xe),v=v+Math.imul(Ke,_t)|0,n=(n=n+Math.imul(Ke,Fe)|0)+Math.imul(at,_t)|0,b=b+Math.imul(at,Fe)|0;var Qt=(D+(v=v+Math.imul(je,Et)|0)|0)+((8191&(n=(n=n+Math.imul(je,Yt)|0)+Math.imul(lt,Et)|0))<<13)|0;D=((b=b+Math.imul(lt,Yt)|0)+(n>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v=Math.imul(ye,_t),n=(n=Math.imul(ye,Fe))+Math.imul(Qe,_t)|0,b=Math.imul(Qe,Fe);var _e=(D+(v=v+Math.imul(Ke,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ke,Yt)|0)+Math.imul(at,Et)|0))<<13)|0;D=((b=b+Math.imul(at,Yt)|0)+(n>>>13)|0)+(_e>>>26)|0,_e&=67108863;var ht=(D+(v=Math.imul(ye,Et))|0)+((8191&(n=(n=Math.imul(ye,Yt))+Math.imul(Qe,Et)|0))<<13)|0;return D=((b=Math.imul(Qe,Yt))+(n>>>13)|0)+(ht>>>26)|0,ht&=67108863,E[0]=Fi,E[1]=Ri,E[2]=Ci,E[3]=Bi,E[4]=Je,E[5]=Dt,E[6]=be,E[7]=Tt,E[8]=Wt,E[9]=ci,E[10]=Ai,E[11]=ki,E[12]=Yi,E[13]=ji,E[14]=tn,E[15]=Zt,E[16]=Qt,E[17]=_e,E[18]=ht,0!==D&&(E[19]=D,f.length++),f};function W(S,i,a){return(new K).mulp(S,i,a)}function K(S,i){this.x=S,this.y=i}Math.imul||(U=O),s.prototype.mulTo=function(i,a){var f,l=this.length+i.length;return f=10===this.length&&10===i.length?U(this,i,a):l<63?O(this,i,a):l<1024?function Z(S,i,a){a.negative=i.negative^S.negative,a.length=S.length+i.length;for(var f=0,l=0,y=0;y<a.length-1;y++){var E=l;l=0;for(var D=67108863&f,v=Math.min(y,i.length-1),n=Math.max(0,y-S.length+1);n<=v;n++){var Y=(0|S.words[y-n])*(0|i.words[n]),Te=67108863&Y;D=67108863&(Te=Te+D|0),l+=(E=(E=E+(Y/67108864|0)|0)+(Te>>>26)|0)>>>26,E&=67108863}a.words[y]=D,f=E,E=l}return 0!==f?a.words[y]=f:a.length--,a.strip()}(this,i,a):W(this,i,a),f},K.prototype.makeRBT=function(i){for(var a=new Array(i),f=s.prototype._countBits(i)-1,l=0;l<i;l++)a[l]=this.revBin(l,f,i);return a},K.prototype.revBin=function(i,a,f){if(0===i||i===f-1)return i;for(var l=0,y=0;y<a;y++)l|=(1&i)<<a-y-1,i>>=1;return l},K.prototype.permute=function(i,a,f,l,y,E){for(var D=0;D<E;D++)l[D]=a[i[D]],y[D]=f[i[D]]},K.prototype.transform=function(i,a,f,l,y,E){this.permute(E,i,a,f,l,y);for(var D=1;D<y;D<<=1)for(var v=D<<1,n=Math.cos(2*Math.PI/v),b=Math.sin(2*Math.PI/v),V=0;V<y;V+=v)for(var z=n,Y=b,Te=0;Te<D;Te++){var $e=f[V+Te],Ve=l[V+Te],We=f[V+Te+D],Re=l[V+Te+D],we=z*We-Y*Re;Re=z*Re+Y*We,f[V+Te]=$e+(We=we),l[V+Te]=Ve+Re,f[V+Te+D]=$e-We,l[V+Te+D]=Ve-Re,Te!==v&&(we=n*z-b*Y,Y=n*Y+b*z,z=we)}},K.prototype.guessLen13b=function(i,a){var f=1|Math.max(a,i),l=1&f,y=0;for(f=f/2|0;f;f>>>=1)y++;return 1<<y+1+l},K.prototype.conjugate=function(i,a,f){if(!(f<=1))for(var l=0;l<f/2;l++){var y=i[l];i[l]=i[f-l-1],i[f-l-1]=y,y=a[l],a[l]=-a[f-l-1],a[f-l-1]=-y}},K.prototype.normalize13b=function(i,a){for(var f=0,l=0;l<a/2;l++){var y=8192*Math.round(i[2*l+1]/a)+Math.round(i[2*l]/a)+f;i[l]=67108863&y,f=y<67108864?0:y/67108864|0}return i},K.prototype.convert13b=function(i,a,f,l){for(var y=0,E=0;E<a;E++)f[2*E]=8191&(y+=0|i[E]),f[2*E+1]=8191&(y>>>=13),y>>>=13;for(E=2*a;E<l;++E)f[E]=0;g(0===y),g(0==(-8192&y))},K.prototype.stub=function(i){for(var a=new Array(i),f=0;f<i;f++)a[f]=0;return a},K.prototype.mulp=function(i,a,f){var l=2*this.guessLen13b(i.length,a.length),y=this.makeRBT(l),E=this.stub(l),D=new Array(l),v=new Array(l),n=new Array(l),b=new Array(l),V=new Array(l),z=new Array(l),Y=f.words;Y.length=l,this.convert13b(i.words,i.length,D,l),this.convert13b(a.words,a.length,b,l),this.transform(D,E,v,n,l,y),this.transform(b,E,V,z,l,y);for(var Te=0;Te<l;Te++){var $e=v[Te]*V[Te]-n[Te]*z[Te];n[Te]=v[Te]*z[Te]+n[Te]*V[Te],v[Te]=$e}return this.conjugate(v,n,l),this.transform(v,n,Y,E,l,y),this.conjugate(Y,E,l),this.normalize13b(Y,l),f.negative=i.negative^a.negative,f.length=i.length+a.length,f.strip()},s.prototype.mul=function(i){var a=new s(null);return a.words=new Array(this.length+i.length),this.mulTo(i,a)},s.prototype.mulf=function(i){var a=new s(null);return a.words=new Array(this.length+i.length),W(this,i,a)},s.prototype.imul=function(i){return this.clone().mulTo(i,this)},s.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var a=0,f=0;f<this.length;f++){var l=(0|this.words[f])*i,y=(67108863&l)+(67108863&a);a>>=26,a+=l/67108864|0,a+=y>>>26,this.words[f]=67108863&y}return 0!==a&&(this.words[f]=a,this.length++),this},s.prototype.muln=function(i){return this.clone().imuln(i)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(i){var a=function k(S){for(var i=new Array(S.bitLength()),a=0;a<i.length;a++){var l=a%26;i[a]=(S.words[a/26|0]&1<<l)>>>l}return i}(i);if(0===a.length)return new s(1);for(var f=this,l=0;l<a.length&&0===a[l];l++,f=f.sqr());if(++l<a.length)for(var y=f.sqr();l<a.length;l++,y=y.sqr())0!==a[l]&&(f=f.mul(y));return f},s.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,a=i%26,f=(i-a)/26,l=67108863>>>26-a<<26-a;if(0!==a){var E=0;for(y=0;y<this.length;y++){var D=this.words[y]&l;this.words[y]=(0|this.words[y])-D<<a|E,E=D>>>26-a}E&&(this.words[y]=E,this.length++)}if(0!==f){for(y=this.length-1;y>=0;y--)this.words[y+f]=this.words[y];for(y=0;y<f;y++)this.words[y]=0;this.length+=f}return this.strip()},s.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},s.prototype.iushrn=function(i,a,f){var l;g("number"==typeof i&&i>=0),l=a?(a-a%26)/26:0;var y=i%26,E=Math.min((i-y)/26,this.length),D=67108863^67108863>>>y<<y,v=f;if(l-=E,l=Math.max(0,l),v){for(var n=0;n<E;n++)v.words[n]=this.words[n];v.length=E}if(0!==E)if(this.length>E)for(this.length-=E,n=0;n<this.length;n++)this.words[n]=this.words[n+E];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=l);n--){var V=0|this.words[n];this.words[n]=b<<26-y|V>>>y,b=V&D}return v&&0!==b&&(v.words[v.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(i,a,f){return g(0===this.negative),this.iushrn(i,a,f)},s.prototype.shln=function(i){return this.clone().ishln(i)},s.prototype.ushln=function(i){return this.clone().iushln(i)},s.prototype.shrn=function(i){return this.clone().ishrn(i)},s.prototype.ushrn=function(i){return this.clone().iushrn(i)},s.prototype.testn=function(i){g("number"==typeof i&&i>=0);var a=i%26,f=(i-a)/26;return!(this.length<=f||!(this.words[f]&1<<a))},s.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var a=i%26,f=(i-a)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==a&&f++,this.length=Math.min(f,this.length),0!==a&&(this.words[this.length-1]&=67108863^67108863>>>a<<a),this.strip())},s.prototype.maskn=function(i){return this.clone().imaskn(i)},s.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)},s.prototype._iaddn=function(i){this.words[0]+=i;for(var a=0;a<this.length&&this.words[a]>=67108864;a++)this.words[a]-=67108864,a===this.length-1?this.words[a+1]=1:this.words[a+1]++;return this.length=Math.max(this.length,a+1),this},s.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 a=0;a<this.length&&this.words[a]<0;a++)this.words[a]+=67108864,this.words[a+1]-=1;return this.strip()},s.prototype.addn=function(i){return this.clone().iaddn(i)},s.prototype.subn=function(i){return this.clone().isubn(i)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(i,a,f){var y;this._expand(i.length+f);var E,D=0;for(y=0;y<i.length;y++){E=(0|this.words[y+f])+D;var v=(0|i.words[y])*a;D=((E-=67108863&v)>>26)-(v/67108864|0),this.words[y+f]=67108863&E}for(;y<this.length-f;y++)D=(E=(0|this.words[y+f])+D)>>26,this.words[y+f]=67108863&E;if(0===D)return this.strip();for(g(-1===D),D=0,y=0;y<this.length;y++)D=(E=-(0|this.words[y])+D)>>26,this.words[y]=67108863&E;return this.negative=1,this.strip()},s.prototype._wordDiv=function(i,a){var f,l=this.clone(),y=i,E=0|y.words[y.length-1];0!=(f=26-this._countBits(E))&&(y=y.ushln(f),l.iushln(f),E=0|y.words[y.length-1]);var n,v=l.length-y.length;if("mod"!==a){(n=new s(null)).length=v+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var V=l.clone()._ishlnsubmul(y,1,v);0===V.negative&&(l=V,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var Y=67108864*(0|l.words[y.length+z])+(0|l.words[y.length+z-1]);for(Y=Math.min(Y/E|0,67108863),l._ishlnsubmul(y,Y,z);0!==l.negative;)Y--,l.negative=0,l._ishlnsubmul(y,1,z),l.isZero()||(l.negative^=1);n&&(n.words[z]=Y)}return n&&n.strip(),l.strip(),"div"!==a&&0!==f&&l.iushrn(f),{div:n||null,mod:l}},s.prototype.divmod=function(i,a,f){return g(!i.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===i.negative?(E=this.neg().divmod(i,a),"mod"!==a&&(l=E.div.neg()),"div"!==a&&(y=E.mod.neg(),f&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(E=this.divmod(i.neg(),a),"mod"!==a&&(l=E.div.neg()),{div:l,mod:E.mod}):this.negative&i.negative?(E=this.neg().divmod(i.neg(),a),"div"!==a&&(y=E.mod.neg(),f&&0!==y.negative&&y.isub(i)),{div:E.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new s(0),mod:this}:1===i.length?"div"===a?{div:this.divn(i.words[0]),mod:null}:"mod"===a?{div:null,mod:new s(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new s(this.modn(i.words[0]))}:this._wordDiv(i,a);var l,y,E},s.prototype.div=function(i){return this.divmod(i,"div",!1).div},s.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},s.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},s.prototype.divRound=function(i){var a=this.divmod(i);if(a.mod.isZero())return a.div;var f=0!==a.div.negative?a.mod.isub(i):a.mod,l=i.ushrn(1),y=i.andln(1),E=f.cmp(l);return E<0||1===y&&0===E?a.div:0!==a.div.negative?a.div.isubn(1):a.div.iaddn(1)},s.prototype.modn=function(i){g(i<=67108863);for(var a=(1<<26)%i,f=0,l=this.length-1;l>=0;l--)f=(a*f+(0|this.words[l]))%i;return f},s.prototype.idivn=function(i){g(i<=67108863);for(var a=0,f=this.length-1;f>=0;f--){var l=(0|this.words[f])+67108864*a;this.words[f]=l/i|0,a=l%i}return this.strip()},s.prototype.divn=function(i){return this.clone().idivn(i)},s.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var a=this,f=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),E=new s(0),D=new s(1),v=0;a.isEven()&&f.isEven();)a.iushrn(1),f.iushrn(1),++v;for(var n=f.clone(),b=a.clone();!a.isZero();){for(var V=0,z=1;!(a.words[0]&z)&&V<26;++V,z<<=1);if(V>0)for(a.iushrn(V);V-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(b)),l.iushrn(1),y.iushrn(1);for(var Y=0,Te=1;!(f.words[0]&Te)&&Y<26;++Y,Te<<=1);if(Y>0)for(f.iushrn(Y);Y-- >0;)(E.isOdd()||D.isOdd())&&(E.iadd(n),D.isub(b)),E.iushrn(1),D.iushrn(1);a.cmp(f)>=0?(a.isub(f),l.isub(E),y.isub(D)):(f.isub(a),E.isub(l),D.isub(y))}return{a:E,b:D,gcd:f.iushln(v)}},s.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var V,a=this,f=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),E=f.clone();a.cmpn(1)>0&&f.cmpn(1)>0;){for(var D=0,v=1;!(a.words[0]&v)&&D<26;++D,v<<=1);if(D>0)for(a.iushrn(D);D-- >0;)l.isOdd()&&l.iadd(E),l.iushrn(1);for(var n=0,b=1;!(f.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(f.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(E),y.iushrn(1);a.cmp(f)>=0?(a.isub(f),l.isub(y)):(f.isub(a),y.isub(l))}return(V=0===a.cmpn(1)?l:y).cmpn(0)<0&&V.iadd(i),V},s.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var a=this.clone(),f=i.clone();a.negative=0,f.negative=0;for(var l=0;a.isEven()&&f.isEven();l++)a.iushrn(1),f.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;f.isEven();)f.iushrn(1);var y=a.cmp(f);if(y<0){var E=a;a=f,f=E}else if(0===y||0===f.cmpn(1))break;a.isub(f)}return f.iushln(l)},s.prototype.invm=function(i){return this.egcd(i).a.umod(i)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(i){return this.words[0]&i},s.prototype.bincn=function(i){g("number"==typeof i);var a=i%26,f=(i-a)/26,l=1<<a;if(this.length<=f)return this._expand(f+1),this.words[f]|=l,this;for(var y=l,E=f;0!==y&&E<this.length;E++){var D=0|this.words[E];y=(D+=y)>>>26,this.words[E]=D&=67108863}return 0!==y&&(this.words[E]=y,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(i){var f,a=i<0;if(0!==this.negative&&!a)return-1;if(0===this.negative&&a)return 1;if(this.strip(),this.length>1)f=1;else{a&&(i=-i),g(i<=67108863,"Number is too big");var l=0|this.words[0];f=l===i?0:l<i?-1:1}return 0!==this.negative?0|-f:f},s.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var a=this.ucmp(i);return 0!==this.negative?0|-a:a},s.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var a=0,f=this.length-1;f>=0;f--){var l=0|this.words[f],y=0|i.words[f];if(l!==y){l<y?a=-1:l>y&&(a=1);break}}return a},s.prototype.gtn=function(i){return 1===this.cmpn(i)},s.prototype.gt=function(i){return 1===this.cmp(i)},s.prototype.gten=function(i){return this.cmpn(i)>=0},s.prototype.gte=function(i){return this.cmp(i)>=0},s.prototype.ltn=function(i){return-1===this.cmpn(i)},s.prototype.lt=function(i){return-1===this.cmp(i)},s.prototype.lten=function(i){return this.cmpn(i)<=0},s.prototype.lte=function(i){return this.cmp(i)<=0},s.prototype.eqn=function(i){return 0===this.cmpn(i)},s.prototype.eq=function(i){return 0===this.cmp(i)},s.red=function(i){return new se(i)},s.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)},s.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(i){return this.red=i,this},s.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},s.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},s.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},s.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},s.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},s.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},s.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},s.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},s.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var q={k256:null,p224:null,p192:null,p25519:null};function te(S,i){this.name=S,this.p=new s(i,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function pe(){te.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function oe(){te.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function re(){te.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){te.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(S){if("string"==typeof S){var i=s._prime(S);this.m=i.p,this.prime=i}else g(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){se.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(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)}te.prototype._tmp=function(){var i=new s(null);return i.words=new Array(Math.ceil(this.n/13)),i},te.prototype.ireduce=function(i){var f,a=i;do{this.split(a,this.tmp),f=(a=(a=this.imulK(a)).iadd(this.tmp)).bitLength()}while(f>this.n);var l=f<this.n?-1:a.ucmp(this.p);return 0===l?(a.words[0]=0,a.length=1):l>0?a.isub(this.p):void 0!==a.strip?a.strip():a._strip(),a},te.prototype.split=function(i,a){i.iushrn(this.n,0,a)},te.prototype.imulK=function(i){return i.imul(this.k)},A(pe,te),pe.prototype.split=function(i,a){for(var f=4194303,l=Math.min(i.length,9),y=0;y<l;y++)a.words[y]=i.words[y];if(a.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var E=i.words[9];for(a.words[a.length++]=E&f,y=10;y<i.length;y++){var D=0|i.words[y];i.words[y-10]=(D&f)<<4|E>>>22,E=D}i.words[y-10]=E>>>=22,i.length-=0===E&&i.length>10?10:9},pe.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var a=0,f=0;f<i.length;f++){var l=0|i.words[f];i.words[f]=67108863&(a+=977*l),a=64*l+(a/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},A(oe,te),A(re,te),A(ce,te),ce.prototype.imulK=function(i){for(var a=0,f=0;f<i.length;f++){var l=19*(0|i.words[f])+a,y=67108863&l;l>>>=26,i.words[f]=y,a=l}return 0!==a&&(i.words[i.length++]=a),i},s._prime=function(i){if(q[i])return q[i];var a;if("k256"===i)a=new pe;else if("p224"===i)a=new oe;else if("p192"===i)a=new re;else{if("p25519"!==i)throw new Error("Unknown prime "+i);a=new ce}return q[i]=a,a},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,a){g(0==(i.negative|a.negative),"red works only with positives"),g(i.red&&i.red===a.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,a){this._verify2(i,a);var f=i.add(a);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},se.prototype.iadd=function(i,a){this._verify2(i,a);var f=i.iadd(a);return f.cmp(this.m)>=0&&f.isub(this.m),f},se.prototype.sub=function(i,a){this._verify2(i,a);var f=i.sub(a);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},se.prototype.isub=function(i,a){this._verify2(i,a);var f=i.isub(a);return f.cmpn(0)<0&&f.iadd(this.m),f},se.prototype.shl=function(i,a){return this._verify1(i),this.imod(i.ushln(a))},se.prototype.imul=function(i,a){return this._verify2(i,a),this.imod(i.imul(a))},se.prototype.mul=function(i,a){return this._verify2(i,a),this.imod(i.mul(a))},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 a=this.m.andln(3);if(g(a%2==1),3===a){var f=this.m.add(new s(1)).iushrn(2);return this.pow(i,f)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);g(!l.isZero());var E=new s(1).toRed(this),D=E.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new s(2*n*n).toRed(this);0!==this.pow(n,v).cmp(D);)n.redIAdd(D);for(var b=this.pow(n,l),V=this.pow(i,l.addn(1).iushrn(1)),z=this.pow(i,l),Y=y;0!==z.cmp(E);){for(var Te=z,$e=0;0!==Te.cmp(E);$e++)Te=Te.redSqr();g($e<Y);var Ve=this.pow(b,new s(1).iushln(Y-$e-1));V=V.redMul(Ve),b=Ve.redSqr(),z=z.redMul(b),Y=$e}return V},se.prototype.invm=function(i){var a=i._invmp(this.m);return 0!==a.negative?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},se.prototype.pow=function(i,a){if(a.isZero())return new s(1).toRed(this);if(0===a.cmpn(1))return i.clone();var l=new Array(16);l[0]=new s(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var E=l[0],D=0,v=0,n=a.bitLength()%26;for(0===n&&(n=26),y=a.length-1;y>=0;y--){for(var b=a.words[y],V=n-1;V>=0;V--){var z=b>>V&1;E!==l[0]&&(E=this.sqr(E)),0!==z||0!==D?(D<<=1,D|=z,(4==++v||0===y&&0===V)&&(E=this.mul(E,l[D]),v=0,D=0)):v=0}n=26}return E},se.prototype.convertTo=function(i){var a=i.umod(this.m);return a===i?a.clone():a},se.prototype.convertFrom=function(i){var a=i.clone();return a.red=null,a},s.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 a=this.imod(i.mul(this.rinv));return a.red=null,a},he.prototype.imul=function(i,a){if(i.isZero()||a.isZero())return i.words[0]=0,i.length=1,i;var f=i.imul(a),l=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=f.isub(l).iushrn(this.shift),E=y;return y.cmp(this.m)>=0?E=y.isub(this.m):y.cmpn(0)<0&&(E=y.iadd(this.m)),E._forceRed(this)},he.prototype.mul=function(i,a){if(i.isZero()||a.isZero())return new s(0)._forceRed(this);var f=i.mul(a),l=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=f.isub(l).iushrn(this.shift),E=y;return y.cmp(this.m)>=0?E=y.isub(this.m):y.cmpn(0)<0&&(E=y.iadd(this.m)),E._forceRed(this)},he.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Be=m.nmd(Be),this)},5343:(Be,Q)=>{"use strict";Q.byteLength=function h(k){var O=C(k),Z=O[1];return 3*(O[0]+Z)/4-Z},Q.toByteArray=function d(k){var O,pe,U=C(k),Z=U[0],W=U[1],K=new e(function P(k,O,U){return 3*(O+U)/4-U}(0,Z,W)),q=0,te=W>0?Z-4:Z;for(pe=0;pe<te;pe+=4)O=t[k.charCodeAt(pe)]<<18|t[k.charCodeAt(pe+1)]<<12|t[k.charCodeAt(pe+2)]<<6|t[k.charCodeAt(pe+3)],K[q++]=O>>16&255,K[q++]=O>>8&255,K[q++]=255&O;return 2===W&&(O=t[k.charCodeAt(pe)]<<2|t[k.charCodeAt(pe+1)]>>4,K[q++]=255&O),1===W&&(O=t[k.charCodeAt(pe)]<<10|t[k.charCodeAt(pe+1)]<<4|t[k.charCodeAt(pe+2)]>>2,K[q++]=O>>8&255,K[q++]=255&O),K},Q.fromByteArray=function I(k){for(var O,U=k.length,Z=U%3,W=[],K=16383,q=0,te=U-Z;q<te;q+=K)W.push(w(k,q,q+K>te?te:q+K));return 1===Z?W.push(m[(O=k[U-1])>>2]+m[O<<4&63]+"=="):2===Z&&W.push(m[(O=(k[U-2]<<8)+k[U-1])>>10]+m[O>>4&63]+m[O<<2&63]+"="),W.join("")};for(var m=[],t=[],e=typeof Uint8Array<"u"?Uint8Array:Array,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",A=0,s=g.length;A<s;++A)m[A]=g[A],t[g.charCodeAt(A)]=A;function C(k){var O=k.length;if(O%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var U=k.indexOf("=");return-1===U&&(U=O),[U,U===O?0:4-U%4]}function M(k){return m[k>>18&63]+m[k>>12&63]+m[k>>6&63]+m[63&k]}function w(k,O,U){for(var W=[],K=O;K<U;K+=3)W.push(M((k[K]<<16&16711680)+(k[K+1]<<8&65280)+(255&k[K+2])));return W.join("")}t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63},8538:function(Be,Q,m){!function(t,e){"use strict";function g(f,l){if(!f)throw new Error(l||"Assertion failed")}function A(f,l){f.super_=l;var y=function(){};y.prototype=l.prototype,f.prototype=new y,f.prototype.constructor=f}function s(f,l,y){if(s.isBN(f))return f;this.negative=0,this.words=null,this.length=0,this.red=null,null!==f&&(("le"===l||"be"===l)&&(y=l,l=10),this._init(f||0,l||10,y||"be"))}var C;"object"==typeof t?t.exports=s:e.BN=s,s.BN=s,s.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(6601).Buffer}catch{}function h(f,l){var y=f.charCodeAt(l);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 "+f)}function P(f,l,y){var E=h(f,y);return y-1>=l&&(E|=h(f,y-1)<<4),E}function d(f,l,y,E){for(var D=0,v=0,n=Math.min(f.length,y),b=l;b<n;b++){var V=f.charCodeAt(b)-48;D*=E,v=V>=49?V-49+10:V>=17?V-17+10:V,g(V>=0&&v<E,"Invalid character"),D+=v}return D}function M(f,l){f.words=l.words,f.length=l.length,f.negative=l.negative,f.red=l.red}if(s.isBN=function(l){return l instanceof s||null!==l&&"object"==typeof l&&l.constructor.wordSize===s.wordSize&&Array.isArray(l.words)},s.max=function(l,y){return l.cmp(y)>0?l:y},s.min=function(l,y){return l.cmp(y)<0?l:y},s.prototype._init=function(l,y,E){if("number"==typeof l)return this._initNumber(l,y,E);if("object"==typeof l)return this._initArray(l,y,E);"hex"===y&&(y=16),g(y===(0|y)&&y>=2&&y<=36);var D=0;"-"===(l=l.toString().replace(/\s+/g,""))[0]&&(D++,this.negative=1),D<l.length&&(16===y?this._parseHex(l,D,E):(this._parseBase(l,y,D),"le"===E&&this._initArray(this.toArray(),y,E)))},s.prototype._initNumber=function(l,y,E){l<0&&(this.negative=1,l=-l),l<67108864?(this.words=[67108863&l],this.length=1):l<4503599627370496?(this.words=[67108863&l,l/67108864&67108863],this.length=2):(g(l<9007199254740992),this.words=[67108863&l,l/67108864&67108863,1],this.length=3),"le"===E&&this._initArray(this.toArray(),y,E)},s.prototype._initArray=function(l,y,E){if(g("number"==typeof l.length),l.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(l.length/3),this.words=new Array(this.length);for(var D=0;D<this.length;D++)this.words[D]=0;var v,n,b=0;if("be"===E)for(D=l.length-1,v=0;D>=0;D-=3)this.words[v]|=(n=l[D]|l[D-1]<<8|l[D-2]<<16)<<b&67108863,this.words[v+1]=n>>>26-b&67108863,(b+=24)>=26&&(b-=26,v++);else if("le"===E)for(D=0,v=0;D<l.length;D+=3)this.words[v]|=(n=l[D]|l[D+1]<<8|l[D+2]<<16)<<b&67108863,this.words[v+1]=n>>>26-b&67108863,(b+=24)>=26&&(b-=26,v++);return this._strip()},s.prototype._parseHex=function(l,y,E){this.length=Math.ceil((l.length-y)/6),this.words=new Array(this.length);for(var D=0;D<this.length;D++)this.words[D]=0;var b,v=0,n=0;if("be"===E)for(D=l.length-1;D>=y;D-=2)b=P(l,y,D)<<v,this.words[n]|=67108863&b,v>=18?(v-=18,this.words[n+=1]|=b>>>26):v+=8;else for(D=(l.length-y)%2==0?y+1:y;D<l.length;D+=2)b=P(l,y,D)<<v,this.words[n]|=67108863&b,v>=18?(v-=18,this.words[n+=1]|=b>>>26):v+=8;this._strip()},s.prototype._parseBase=function(l,y,E){this.words=[0],this.length=1;for(var D=0,v=1;v<=67108863;v*=y)D++;D--,v=v/y|0;for(var n=l.length-E,b=n%D,V=Math.min(n,n-b)+E,z=0,Y=E;Y<V;Y+=D)z=d(l,Y,Y+D,y),this.imuln(v),this.words[0]+z<67108864?this.words[0]+=z:this._iaddn(z);if(0!==b){var Te=1;for(z=d(l,Y,l.length,y),Y=0;Y<b;Y++)Te*=y;this.imuln(Te),this.words[0]+z<67108864?this.words[0]+=z:this._iaddn(z)}this._strip()},s.prototype.copy=function(l){l.words=new Array(this.length);for(var y=0;y<this.length;y++)l.words[y]=this.words[y];l.length=this.length,l.negative=this.negative,l.red=this.red},s.prototype._move=function(l){M(l,this)},s.prototype.clone=function(){var l=new s(null);return this.copy(l),l},s.prototype._expand=function(l){for(;this.length<l;)this.words[this.length++]=0;return this},s.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},typeof Symbol<"u"&&"function"==typeof Symbol.for)try{s.prototype[Symbol.for("nodejs.util.inspect.custom")]=w}catch{s.prototype.inspect=w}else s.prototype.inspect=w;function w(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var I=["","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"],k=[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],O=[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 W(f,l,y){y.negative=l.negative^f.negative;var E=f.length+l.length|0;y.length=E,E=E-1|0;var D=0|f.words[0],v=0|l.words[0],n=D*v,V=n/67108864|0;y.words[0]=67108863&n;for(var z=1;z<E;z++){for(var Y=V>>>26,Te=67108863&V,$e=Math.min(z,l.length-1),Ve=Math.max(0,z-f.length+1);Ve<=$e;Ve++)Y+=(n=(D=0|f.words[z-Ve|0])*(v=0|l.words[Ve])+Te)/67108864|0,Te=67108863&n;y.words[z]=0|Te,V=0|Y}return 0!==V?y.words[z]=0|V:y.length--,y._strip()}s.prototype.toString=function(l,y){var E;if(y=0|y||1,16===(l=l||10)||"hex"===l){E="";for(var D=0,v=0,n=0;n<this.length;n++){var b=this.words[n],V=(16777215&(b<<D|v)).toString(16);v=b>>>24-D&16777215,(D+=2)>=26&&(D-=26,n--),E=0!==v||n!==this.length-1?I[6-V.length]+V+E:V+E}for(0!==v&&(E=v.toString(16)+E);E.length%y!=0;)E="0"+E;return 0!==this.negative&&(E="-"+E),E}if(l===(0|l)&&l>=2&&l<=36){var z=k[l],Y=O[l];E="";var Te=this.clone();for(Te.negative=0;!Te.isZero();){var $e=Te.modrn(Y).toString(l);E=(Te=Te.idivn(Y)).isZero()?$e+E:I[z-$e.length]+$e+E}for(this.isZero()&&(E="0"+E);E.length%y!=0;)E="0"+E;return 0!==this.negative&&(E="-"+E),E}g(!1,"Base should be between 2 and 36")},s.prototype.toNumber=function(){var l=this.words[0];return 2===this.length?l+=67108864*this.words[1]:3===this.length&&1===this.words[2]?l+=4503599627370496+67108864*this.words[1]:this.length>2&&g(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-l:l},s.prototype.toJSON=function(){return this.toString(16,2)},C&&(s.prototype.toBuffer=function(l,y){return this.toArrayLike(C,l,y)}),s.prototype.toArray=function(l,y){return this.toArrayLike(Array,l,y)},s.prototype.toArrayLike=function(l,y,E){this._strip();var D=this.byteLength(),v=E||Math.max(1,D);g(D<=v,"byte array longer than desired length"),g(v>0,"Requested array length <= 0");var n=function(l,y){return l.allocUnsafe?l.allocUnsafe(y):new l(y)}(l,v);return this["_toArrayLike"+("le"===y?"LE":"BE")](n,D),n},s.prototype._toArrayLikeLE=function(l,y){for(var E=0,D=0,v=0,n=0;v<this.length;v++){var b=this.words[v]<<n|D;l[E++]=255&b,E<l.length&&(l[E++]=b>>8&255),E<l.length&&(l[E++]=b>>16&255),6===n?(E<l.length&&(l[E++]=b>>24&255),D=0,n=0):(D=b>>>24,n+=2)}if(E<l.length)for(l[E++]=D;E<l.length;)l[E++]=0},s.prototype._toArrayLikeBE=function(l,y){for(var E=l.length-1,D=0,v=0,n=0;v<this.length;v++){var b=this.words[v]<<n|D;l[E--]=255&b,E>=0&&(l[E--]=b>>8&255),E>=0&&(l[E--]=b>>16&255),6===n?(E>=0&&(l[E--]=b>>24&255),D=0,n=0):(D=b>>>24,n+=2)}if(E>=0)for(l[E--]=D;E>=0;)l[E--]=0},s.prototype._countBits=Math.clz32?function(l){return 32-Math.clz32(l)}:function(l){var y=l,E=0;return y>=4096&&(E+=13,y>>>=13),y>=64&&(E+=7,y>>>=7),y>=8&&(E+=4,y>>>=4),y>=2&&(E+=2,y>>>=2),E+y},s.prototype._zeroBits=function(l){if(0===l)return 26;var y=l,E=0;return 8191&y||(E+=13,y>>>=13),127&y||(E+=7,y>>>=7),15&y||(E+=4,y>>>=4),3&y||(E+=2,y>>>=2),1&y||E++,E},s.prototype.bitLength=function(){var y=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+y},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var l=0,y=0;y<this.length;y++){var E=this._zeroBits(this.words[y]);if(l+=E,26!==E)break}return l},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(l){return 0!==this.negative?this.abs().inotn(l).iaddn(1):this.clone()},s.prototype.fromTwos=function(l){return this.testn(l-1)?this.notn(l).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(l){for(;this.length<l.length;)this.words[this.length++]=0;for(var y=0;y<l.length;y++)this.words[y]=this.words[y]|l.words[y];return this._strip()},s.prototype.ior=function(l){return g(0==(this.negative|l.negative)),this.iuor(l)},s.prototype.or=function(l){return this.length>l.length?this.clone().ior(l):l.clone().ior(this)},s.prototype.uor=function(l){return this.length>l.length?this.clone().iuor(l):l.clone().iuor(this)},s.prototype.iuand=function(l){var y;y=this.length>l.length?l:this;for(var E=0;E<y.length;E++)this.words[E]=this.words[E]&l.words[E];return this.length=y.length,this._strip()},s.prototype.iand=function(l){return g(0==(this.negative|l.negative)),this.iuand(l)},s.prototype.and=function(l){return this.length>l.length?this.clone().iand(l):l.clone().iand(this)},s.prototype.uand=function(l){return this.length>l.length?this.clone().iuand(l):l.clone().iuand(this)},s.prototype.iuxor=function(l){var y,E;this.length>l.length?(y=this,E=l):(y=l,E=this);for(var D=0;D<E.length;D++)this.words[D]=y.words[D]^E.words[D];if(this!==y)for(;D<y.length;D++)this.words[D]=y.words[D];return this.length=y.length,this._strip()},s.prototype.ixor=function(l){return g(0==(this.negative|l.negative)),this.iuxor(l)},s.prototype.xor=function(l){return this.length>l.length?this.clone().ixor(l):l.clone().ixor(this)},s.prototype.uxor=function(l){return this.length>l.length?this.clone().iuxor(l):l.clone().iuxor(this)},s.prototype.inotn=function(l){g("number"==typeof l&&l>=0);var y=0|Math.ceil(l/26),E=l%26;this._expand(y),E>0&&y--;for(var D=0;D<y;D++)this.words[D]=67108863&~this.words[D];return E>0&&(this.words[D]=~this.words[D]&67108863>>26-E),this._strip()},s.prototype.notn=function(l){return this.clone().inotn(l)},s.prototype.setn=function(l,y){g("number"==typeof l&&l>=0);var E=l/26|0,D=l%26;return this._expand(E+1),this.words[E]=y?this.words[E]|1<<D:this.words[E]&~(1<<D),this._strip()},s.prototype.iadd=function(l){var y,E,D;if(0!==this.negative&&0===l.negative)return this.negative=0,y=this.isub(l),this.negative^=1,this._normSign();if(0===this.negative&&0!==l.negative)return l.negative=0,y=this.isub(l),l.negative=1,y._normSign();this.length>l.length?(E=this,D=l):(E=l,D=this);for(var v=0,n=0;n<D.length;n++)this.words[n]=67108863&(y=(0|E.words[n])+(0|D.words[n])+v),v=y>>>26;for(;0!==v&&n<E.length;n++)this.words[n]=67108863&(y=(0|E.words[n])+v),v=y>>>26;if(this.length=E.length,0!==v)this.words[this.length]=v,this.length++;else if(E!==this)for(;n<E.length;n++)this.words[n]=E.words[n];return this},s.prototype.add=function(l){var y;return 0!==l.negative&&0===this.negative?(l.negative=0,y=this.sub(l),l.negative^=1,y):0===l.negative&&0!==this.negative?(this.negative=0,y=l.sub(this),this.negative=1,y):this.length>l.length?this.clone().iadd(l):l.clone().iadd(this)},s.prototype.isub=function(l){if(0!==l.negative){l.negative=0;var y=this.iadd(l);return l.negative=1,y._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(l),this.negative=1,this._normSign();var D,v,E=this.cmp(l);if(0===E)return this.negative=0,this.length=1,this.words[0]=0,this;E>0?(D=this,v=l):(D=l,v=this);for(var n=0,b=0;b<v.length;b++)n=(y=(0|D.words[b])-(0|v.words[b])+n)>>26,this.words[b]=67108863&y;for(;0!==n&&b<D.length;b++)n=(y=(0|D.words[b])+n)>>26,this.words[b]=67108863&y;if(0===n&&b<D.length&&D!==this)for(;b<D.length;b++)this.words[b]=D.words[b];return this.length=Math.max(this.length,b),D!==this&&(this.negative=1),this._strip()},s.prototype.sub=function(l){return this.clone().isub(l)};var K=function(l,y,E){var V,z,Y,D=l.words,v=y.words,n=E.words,b=0,Te=0|D[0],$e=8191&Te,Ve=Te>>>13,We=0|D[1],Re=8191&We,we=We>>>13,me=0|D[2],Ae=8191&me,ee=me>>>13,Ze=0|D[3],Oe=8191&Ze,fe=Ze>>>13,Se=0|D[4],ge=8191&Se,xe=Se>>>13,vt=0|D[5],Ie=8191&vt,de=vt>>>13,rt=0|D[6],je=8191&rt,lt=rt>>>13,Nt=0|D[7],Ke=8191&Nt,at=Nt>>>13,Ct=0|D[8],ye=8191&Ct,Qe=Ct>>>13,Le=0|D[9],J=8191&Le,mt=Le>>>13,St=0|v[0],nt=8191&St,Ye=St>>>13,zt=0|v[1],xt=8191&zt,Ht=zt>>>13,Ut=0|v[2],De=8191&Ut,X=Ut>>>13,ue=0|v[3],Ee=8191&ue,qe=ue>>>13,Xt=0|v[4],Vt=8191&Xt,ri=Xt>>>13,pt=0|v[5],ot=8191&pt,ut=pt>>>13,wt=0|v[6],ft=8191&wt,Xe=wt>>>13,gt=0|v[7],_t=8191&gt,Fe=gt>>>13,Mt=0|v[8],Et=8191&Mt,Yt=Mt>>>13,Fi=0|v[9],Ri=8191&Fi,Ci=Fi>>>13;E.negative=l.negative^y.negative,E.length=19;var Bi=(b+(V=Math.imul($e,nt))|0)+((8191&(z=(z=Math.imul($e,Ye))+Math.imul(Ve,nt)|0))<<13)|0;b=((Y=Math.imul(Ve,Ye))+(z>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,V=Math.imul(Re,nt),z=(z=Math.imul(Re,Ye))+Math.imul(we,nt)|0,Y=Math.imul(we,Ye);var Je=(b+(V=V+Math.imul($e,xt)|0)|0)+((8191&(z=(z=z+Math.imul($e,Ht)|0)+Math.imul(Ve,xt)|0))<<13)|0;b=((Y=Y+Math.imul(Ve,Ht)|0)+(z>>>13)|0)+(Je>>>26)|0,Je&=67108863,V=Math.imul(Ae,nt),z=(z=Math.imul(Ae,Ye))+Math.imul(ee,nt)|0,Y=Math.imul(ee,Ye),V=V+Math.imul(Re,xt)|0,z=(z=z+Math.imul(Re,Ht)|0)+Math.imul(we,xt)|0,Y=Y+Math.imul(we,Ht)|0;var Dt=(b+(V=V+Math.imul($e,De)|0)|0)+((8191&(z=(z=z+Math.imul($e,X)|0)+Math.imul(Ve,De)|0))<<13)|0;b=((Y=Y+Math.imul(Ve,X)|0)+(z>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,V=Math.imul(Oe,nt),z=(z=Math.imul(Oe,Ye))+Math.imul(fe,nt)|0,Y=Math.imul(fe,Ye),V=V+Math.imul(Ae,xt)|0,z=(z=z+Math.imul(Ae,Ht)|0)+Math.imul(ee,xt)|0,Y=Y+Math.imul(ee,Ht)|0,V=V+Math.imul(Re,De)|0,z=(z=z+Math.imul(Re,X)|0)+Math.imul(we,De)|0,Y=Y+Math.imul(we,X)|0;var be=(b+(V=V+Math.imul($e,Ee)|0)|0)+((8191&(z=(z=z+Math.imul($e,qe)|0)+Math.imul(Ve,Ee)|0))<<13)|0;b=((Y=Y+Math.imul(Ve,qe)|0)+(z>>>13)|0)+(be>>>26)|0,be&=67108863,V=Math.imul(ge,nt),z=(z=Math.imul(ge,Ye))+Math.imul(xe,nt)|0,Y=Math.imul(xe,Ye),V=V+Math.imul(Oe,xt)|0,z=(z=z+Math.imul(Oe,Ht)|0)+Math.imul(fe,xt)|0,Y=Y+Math.imul(fe,Ht)|0,V=V+Math.imul(Ae,De)|0,z=(z=z+Math.imul(Ae,X)|0)+Math.imul(ee,De)|0,Y=Y+Math.imul(ee,X)|0,V=V+Math.imul(Re,Ee)|0,z=(z=z+Math.imul(Re,qe)|0)+Math.imul(we,Ee)|0,Y=Y+Math.imul(we,qe)|0;var Tt=(b+(V=V+Math.imul($e,Vt)|0)|0)+((8191&(z=(z=z+Math.imul($e,ri)|0)+Math.imul(Ve,Vt)|0))<<13)|0;b=((Y=Y+Math.imul(Ve,ri)|0)+(z>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,V=Math.imul(Ie,nt),z=(z=Math.imul(Ie,Ye))+Math.imul(de,nt)|0,Y=Math.imul(de,Ye),V=V+Math.imul(ge,xt)|0,z=(z=z+Math.imul(ge,Ht)|0)+Math.imul(xe,xt)|0,Y=Y+Math.imul(xe,Ht)|0,V=V+Math.imul(Oe,De)|0,z=(z=z+Math.imul(Oe,X)|0)+Math.imul(fe,De)|0,Y=Y+Math.imul(fe,X)|0,V=V+Math.imul(Ae,Ee)|0,z=(z=z+Math.imul(Ae,qe)|0)+Math.imul(ee,Ee)|0,Y=Y+Math.imul(ee,qe)|0,V=V+Math.imul(Re,Vt)|0,z=(z=z+Math.imul(Re,ri)|0)+Math.imul(we,Vt)|0,Y=Y+Math.imul(we,ri)|0;var Wt=(b+(V=V+Math.imul($e,ot)|0)|0)+((8191&(z=(z=z+Math.imul($e,ut)|0)+Math.imul(Ve,ot)|0))<<13)|0;b=((Y=Y+Math.imul(Ve,ut)|0)+(z>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,V=Math.imul(je,nt),z=(z=Math.imul(je,Ye))+Math.imul(lt,nt)|0,Y=Math.imul(lt,Ye),V=V+Math.imul(Ie,xt)|0,z=(z=z+Math.imul(Ie,Ht)|0)+Math.imul(de,xt)|0,Y=Y+Math.imul(de,Ht)|0,V=V+Math.imul(ge,De)|0,z=(z=z+Math.imul(ge,X)|0)+Math.imul(xe,De)|0,Y=Y+Math.imul(xe,X)|0,V=V+Math.imul(Oe,Ee)|0,z=(z=z+Math.imul(Oe,qe)|0)+Math.imul(fe,Ee)|0,Y=Y+Math.imul(fe,qe)|0,V=V+Math.imul(Ae,Vt)|0,z=(z=z+Math.imul(Ae,ri)|0)+Math.imul(ee,Vt)|0,Y=Y+Math.imul(ee,ri)|0,V=V+Math.imul(Re,ot)|0,z=(z=z+Math.imul(Re,ut)|0)+Math.imul(we,ot)|0,Y=Y+Math.imul(we,ut)|0;var ci=(b+(V=V+Math.imul($e,ft)|0)|0)+((8191&(z=(z=z+Math.imul($e,Xe)|0)+Math.imul(Ve,ft)|0))<<13)|0;b=((Y=Y+Math.imul(Ve,Xe)|0)+(z>>>13)|0)+(ci>>>26)|0,ci&=67108863,V=Math.imul(Ke,nt),z=(z=Math.imul(Ke,Ye))+Math.imul(at,nt)|0,Y=Math.imul(at,Ye),V=V+Math.imul(je,xt)|0,z=(z=z+Math.imul(je,Ht)|0)+Math.imul(lt,xt)|0,Y=Y+Math.imul(lt,Ht)|0,V=V+Math.imul(Ie,De)|0,z=(z=z+Math.imul(Ie,X)|0)+Math.imul(de,De)|0,Y=Y+Math.imul(de,X)|0,V=V+Math.imul(ge,Ee)|0,z=(z=z+Math.imul(ge,qe)|0)+Math.imul(xe,Ee)|0,Y=Y+Math.imul(xe,qe)|0,V=V+Math.imul(Oe,Vt)|0,z=(z=z+Math.imul(Oe,ri)|0)+Math.imul(fe,Vt)|0,Y=Y+Math.imul(fe,ri)|0,V=V+Math.imul(Ae,ot)|0,z=(z=z+Math.imul(Ae,ut)|0)+Math.imul(ee,ot)|0,Y=Y+Math.imul(ee,ut)|0,V=V+Math.imul(Re,ft)|0,z=(z=z+Math.imul(Re,Xe)|0)+Math.imul(we,ft)|0,Y=Y+Math.imul(we,Xe)|0;var Ai=(b+(V=V+Math.imul($e,_t)|0)|0)+((8191&(z=(z=z+Math.imul($e,Fe)|0)+Math.imul(Ve,_t)|0))<<13)|0;b=((Y=Y+Math.imul(Ve,Fe)|0)+(z>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,V=Math.imul(ye,nt),z=(z=Math.imul(ye,Ye))+Math.imul(Qe,nt)|0,Y=Math.imul(Qe,Ye),V=V+Math.imul(Ke,xt)|0,z=(z=z+Math.imul(Ke,Ht)|0)+Math.imul(at,xt)|0,Y=Y+Math.imul(at,Ht)|0,V=V+Math.imul(je,De)|0,z=(z=z+Math.imul(je,X)|0)+Math.imul(lt,De)|0,Y=Y+Math.imul(lt,X)|0,V=V+Math.imul(Ie,Ee)|0,z=(z=z+Math.imul(Ie,qe)|0)+Math.imul(de,Ee)|0,Y=Y+Math.imul(de,qe)|0,V=V+Math.imul(ge,Vt)|0,z=(z=z+Math.imul(ge,ri)|0)+Math.imul(xe,Vt)|0,Y=Y+Math.imul(xe,ri)|0,V=V+Math.imul(Oe,ot)|0,z=(z=z+Math.imul(Oe,ut)|0)+Math.imul(fe,ot)|0,Y=Y+Math.imul(fe,ut)|0,V=V+Math.imul(Ae,ft)|0,z=(z=z+Math.imul(Ae,Xe)|0)+Math.imul(ee,ft)|0,Y=Y+Math.imul(ee,Xe)|0,V=V+Math.imul(Re,_t)|0,z=(z=z+Math.imul(Re,Fe)|0)+Math.imul(we,_t)|0,Y=Y+Math.imul(we,Fe)|0;var ki=(b+(V=V+Math.imul($e,Et)|0)|0)+((8191&(z=(z=z+Math.imul($e,Yt)|0)+Math.imul(Ve,Et)|0))<<13)|0;b=((Y=Y+Math.imul(Ve,Yt)|0)+(z>>>13)|0)+(ki>>>26)|0,ki&=67108863,V=Math.imul(J,nt),z=(z=Math.imul(J,Ye))+Math.imul(mt,nt)|0,Y=Math.imul(mt,Ye),V=V+Math.imul(ye,xt)|0,z=(z=z+Math.imul(ye,Ht)|0)+Math.imul(Qe,xt)|0,Y=Y+Math.imul(Qe,Ht)|0,V=V+Math.imul(Ke,De)|0,z=(z=z+Math.imul(Ke,X)|0)+Math.imul(at,De)|0,Y=Y+Math.imul(at,X)|0,V=V+Math.imul(je,Ee)|0,z=(z=z+Math.imul(je,qe)|0)+Math.imul(lt,Ee)|0,Y=Y+Math.imul(lt,qe)|0,V=V+Math.imul(Ie,Vt)|0,z=(z=z+Math.imul(Ie,ri)|0)+Math.imul(de,Vt)|0,Y=Y+Math.imul(de,ri)|0,V=V+Math.imul(ge,ot)|0,z=(z=z+Math.imul(ge,ut)|0)+Math.imul(xe,ot)|0,Y=Y+Math.imul(xe,ut)|0,V=V+Math.imul(Oe,ft)|0,z=(z=z+Math.imul(Oe,Xe)|0)+Math.imul(fe,ft)|0,Y=Y+Math.imul(fe,Xe)|0,V=V+Math.imul(Ae,_t)|0,z=(z=z+Math.imul(Ae,Fe)|0)+Math.imul(ee,_t)|0,Y=Y+Math.imul(ee,Fe)|0,V=V+Math.imul(Re,Et)|0,z=(z=z+Math.imul(Re,Yt)|0)+Math.imul(we,Et)|0,Y=Y+Math.imul(we,Yt)|0;var Yi=(b+(V=V+Math.imul($e,Ri)|0)|0)+((8191&(z=(z=z+Math.imul($e,Ci)|0)+Math.imul(Ve,Ri)|0))<<13)|0;b=((Y=Y+Math.imul(Ve,Ci)|0)+(z>>>13)|0)+(Yi>>>26)|0,Yi&=67108863,V=Math.imul(J,xt),z=(z=Math.imul(J,Ht))+Math.imul(mt,xt)|0,Y=Math.imul(mt,Ht),V=V+Math.imul(ye,De)|0,z=(z=z+Math.imul(ye,X)|0)+Math.imul(Qe,De)|0,Y=Y+Math.imul(Qe,X)|0,V=V+Math.imul(Ke,Ee)|0,z=(z=z+Math.imul(Ke,qe)|0)+Math.imul(at,Ee)|0,Y=Y+Math.imul(at,qe)|0,V=V+Math.imul(je,Vt)|0,z=(z=z+Math.imul(je,ri)|0)+Math.imul(lt,Vt)|0,Y=Y+Math.imul(lt,ri)|0,V=V+Math.imul(Ie,ot)|0,z=(z=z+Math.imul(Ie,ut)|0)+Math.imul(de,ot)|0,Y=Y+Math.imul(de,ut)|0,V=V+Math.imul(ge,ft)|0,z=(z=z+Math.imul(ge,Xe)|0)+Math.imul(xe,ft)|0,Y=Y+Math.imul(xe,Xe)|0,V=V+Math.imul(Oe,_t)|0,z=(z=z+Math.imul(Oe,Fe)|0)+Math.imul(fe,_t)|0,Y=Y+Math.imul(fe,Fe)|0,V=V+Math.imul(Ae,Et)|0,z=(z=z+Math.imul(Ae,Yt)|0)+Math.imul(ee,Et)|0,Y=Y+Math.imul(ee,Yt)|0;var ji=(b+(V=V+Math.imul(Re,Ri)|0)|0)+((8191&(z=(z=z+Math.imul(Re,Ci)|0)+Math.imul(we,Ri)|0))<<13)|0;b=((Y=Y+Math.imul(we,Ci)|0)+(z>>>13)|0)+(ji>>>26)|0,ji&=67108863,V=Math.imul(J,De),z=(z=Math.imul(J,X))+Math.imul(mt,De)|0,Y=Math.imul(mt,X),V=V+Math.imul(ye,Ee)|0,z=(z=z+Math.imul(ye,qe)|0)+Math.imul(Qe,Ee)|0,Y=Y+Math.imul(Qe,qe)|0,V=V+Math.imul(Ke,Vt)|0,z=(z=z+Math.imul(Ke,ri)|0)+Math.imul(at,Vt)|0,Y=Y+Math.imul(at,ri)|0,V=V+Math.imul(je,ot)|0,z=(z=z+Math.imul(je,ut)|0)+Math.imul(lt,ot)|0,Y=Y+Math.imul(lt,ut)|0,V=V+Math.imul(Ie,ft)|0,z=(z=z+Math.imul(Ie,Xe)|0)+Math.imul(de,ft)|0,Y=Y+Math.imul(de,Xe)|0,V=V+Math.imul(ge,_t)|0,z=(z=z+Math.imul(ge,Fe)|0)+Math.imul(xe,_t)|0,Y=Y+Math.imul(xe,Fe)|0,V=V+Math.imul(Oe,Et)|0,z=(z=z+Math.imul(Oe,Yt)|0)+Math.imul(fe,Et)|0,Y=Y+Math.imul(fe,Yt)|0;var tn=(b+(V=V+Math.imul(Ae,Ri)|0)|0)+((8191&(z=(z=z+Math.imul(Ae,Ci)|0)+Math.imul(ee,Ri)|0))<<13)|0;b=((Y=Y+Math.imul(ee,Ci)|0)+(z>>>13)|0)+(tn>>>26)|0,tn&=67108863,V=Math.imul(J,Ee),z=(z=Math.imul(J,qe))+Math.imul(mt,Ee)|0,Y=Math.imul(mt,qe),V=V+Math.imul(ye,Vt)|0,z=(z=z+Math.imul(ye,ri)|0)+Math.imul(Qe,Vt)|0,Y=Y+Math.imul(Qe,ri)|0,V=V+Math.imul(Ke,ot)|0,z=(z=z+Math.imul(Ke,ut)|0)+Math.imul(at,ot)|0,Y=Y+Math.imul(at,ut)|0,V=V+Math.imul(je,ft)|0,z=(z=z+Math.imul(je,Xe)|0)+Math.imul(lt,ft)|0,Y=Y+Math.imul(lt,Xe)|0,V=V+Math.imul(Ie,_t)|0,z=(z=z+Math.imul(Ie,Fe)|0)+Math.imul(de,_t)|0,Y=Y+Math.imul(de,Fe)|0,V=V+Math.imul(ge,Et)|0,z=(z=z+Math.imul(ge,Yt)|0)+Math.imul(xe,Et)|0,Y=Y+Math.imul(xe,Yt)|0;var Zt=(b+(V=V+Math.imul(Oe,Ri)|0)|0)+((8191&(z=(z=z+Math.imul(Oe,Ci)|0)+Math.imul(fe,Ri)|0))<<13)|0;b=((Y=Y+Math.imul(fe,Ci)|0)+(z>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,V=Math.imul(J,Vt),z=(z=Math.imul(J,ri))+Math.imul(mt,Vt)|0,Y=Math.imul(mt,ri),V=V+Math.imul(ye,ot)|0,z=(z=z+Math.imul(ye,ut)|0)+Math.imul(Qe,ot)|0,Y=Y+Math.imul(Qe,ut)|0,V=V+Math.imul(Ke,ft)|0,z=(z=z+Math.imul(Ke,Xe)|0)+Math.imul(at,ft)|0,Y=Y+Math.imul(at,Xe)|0,V=V+Math.imul(je,_t)|0,z=(z=z+Math.imul(je,Fe)|0)+Math.imul(lt,_t)|0,Y=Y+Math.imul(lt,Fe)|0,V=V+Math.imul(Ie,Et)|0,z=(z=z+Math.imul(Ie,Yt)|0)+Math.imul(de,Et)|0,Y=Y+Math.imul(de,Yt)|0;var Qt=(b+(V=V+Math.imul(ge,Ri)|0)|0)+((8191&(z=(z=z+Math.imul(ge,Ci)|0)+Math.imul(xe,Ri)|0))<<13)|0;b=((Y=Y+Math.imul(xe,Ci)|0)+(z>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,V=Math.imul(J,ot),z=(z=Math.imul(J,ut))+Math.imul(mt,ot)|0,Y=Math.imul(mt,ut),V=V+Math.imul(ye,ft)|0,z=(z=z+Math.imul(ye,Xe)|0)+Math.imul(Qe,ft)|0,Y=Y+Math.imul(Qe,Xe)|0,V=V+Math.imul(Ke,_t)|0,z=(z=z+Math.imul(Ke,Fe)|0)+Math.imul(at,_t)|0,Y=Y+Math.imul(at,Fe)|0,V=V+Math.imul(je,Et)|0,z=(z=z+Math.imul(je,Yt)|0)+Math.imul(lt,Et)|0,Y=Y+Math.imul(lt,Yt)|0;var _e=(b+(V=V+Math.imul(Ie,Ri)|0)|0)+((8191&(z=(z=z+Math.imul(Ie,Ci)|0)+Math.imul(de,Ri)|0))<<13)|0;b=((Y=Y+Math.imul(de,Ci)|0)+(z>>>13)|0)+(_e>>>26)|0,_e&=67108863,V=Math.imul(J,ft),z=(z=Math.imul(J,Xe))+Math.imul(mt,ft)|0,Y=Math.imul(mt,Xe),V=V+Math.imul(ye,_t)|0,z=(z=z+Math.imul(ye,Fe)|0)+Math.imul(Qe,_t)|0,Y=Y+Math.imul(Qe,Fe)|0,V=V+Math.imul(Ke,Et)|0,z=(z=z+Math.imul(Ke,Yt)|0)+Math.imul(at,Et)|0,Y=Y+Math.imul(at,Yt)|0;var ht=(b+(V=V+Math.imul(je,Ri)|0)|0)+((8191&(z=(z=z+Math.imul(je,Ci)|0)+Math.imul(lt,Ri)|0))<<13)|0;b=((Y=Y+Math.imul(lt,Ci)|0)+(z>>>13)|0)+(ht>>>26)|0,ht&=67108863,V=Math.imul(J,_t),z=(z=Math.imul(J,Fe))+Math.imul(mt,_t)|0,Y=Math.imul(mt,Fe),V=V+Math.imul(ye,Et)|0,z=(z=z+Math.imul(ye,Yt)|0)+Math.imul(Qe,Et)|0,Y=Y+Math.imul(Qe,Yt)|0;var Lt=(b+(V=V+Math.imul(Ke,Ri)|0)|0)+((8191&(z=(z=z+Math.imul(Ke,Ci)|0)+Math.imul(at,Ri)|0))<<13)|0;b=((Y=Y+Math.imul(at,Ci)|0)+(z>>>13)|0)+(Lt>>>26)|0,Lt&=67108863,V=Math.imul(J,Et),z=(z=Math.imul(J,Yt))+Math.imul(mt,Et)|0,Y=Math.imul(mt,Yt);var Bt=(b+(V=V+Math.imul(ye,Ri)|0)|0)+((8191&(z=(z=z+Math.imul(ye,Ci)|0)+Math.imul(Qe,Ri)|0))<<13)|0;b=((Y=Y+Math.imul(Qe,Ci)|0)+(z>>>13)|0)+(Bt>>>26)|0,Bt&=67108863;var Ot=(b+(V=Math.imul(J,Ri))|0)+((8191&(z=(z=Math.imul(J,Ci))+Math.imul(mt,Ri)|0))<<13)|0;return b=((Y=Math.imul(mt,Ci))+(z>>>13)|0)+(Ot>>>26)|0,Ot&=67108863,n[0]=Bi,n[1]=Je,n[2]=Dt,n[3]=be,n[4]=Tt,n[5]=Wt,n[6]=ci,n[7]=Ai,n[8]=ki,n[9]=Yi,n[10]=ji,n[11]=tn,n[12]=Zt,n[13]=Qt,n[14]=_e,n[15]=ht,n[16]=Lt,n[17]=Bt,n[18]=Ot,0!==b&&(n[19]=b,E.length++),E};function q(f,l,y){y.negative=l.negative^f.negative,y.length=f.length+l.length;for(var E=0,D=0,v=0;v<y.length-1;v++){var n=D;D=0;for(var b=67108863&E,V=Math.min(v,l.length-1),z=Math.max(0,v-f.length+1);z<=V;z++){var Ve=(0|f.words[v-z])*(0|l.words[z]),We=67108863&Ve;b=67108863&(We=We+b|0),D+=(n=(n=n+(Ve/67108864|0)|0)+(We>>>26)|0)>>>26,n&=67108863}y.words[v]=b,E=n,n=D}return 0!==E?y.words[v]=E:y.length--,y._strip()}function te(f,l,y){return q(f,l,y)}function pe(f,l){this.x=f,this.y=l}Math.imul||(K=W),s.prototype.mulTo=function(l,y){var D=this.length+l.length;return 10===this.length&&10===l.length?K(this,l,y):D<63?W(this,l,y):D<1024?q(this,l,y):te(this,l,y)},pe.prototype.makeRBT=function(l){for(var y=new Array(l),E=s.prototype._countBits(l)-1,D=0;D<l;D++)y[D]=this.revBin(D,E,l);return y},pe.prototype.revBin=function(l,y,E){if(0===l||l===E-1)return l;for(var D=0,v=0;v<y;v++)D|=(1&l)<<y-v-1,l>>=1;return D},pe.prototype.permute=function(l,y,E,D,v,n){for(var b=0;b<n;b++)D[b]=y[l[b]],v[b]=E[l[b]]},pe.prototype.transform=function(l,y,E,D,v,n){this.permute(n,l,y,E,D,v);for(var b=1;b<v;b<<=1)for(var V=b<<1,z=Math.cos(2*Math.PI/V),Y=Math.sin(2*Math.PI/V),Te=0;Te<v;Te+=V)for(var $e=z,Ve=Y,We=0;We<b;We++){var Re=E[Te+We],we=D[Te+We],me=E[Te+We+b],Ae=D[Te+We+b],ee=$e*me-Ve*Ae;Ae=$e*Ae+Ve*me,E[Te+We]=Re+(me=ee),D[Te+We]=we+Ae,E[Te+We+b]=Re-me,D[Te+We+b]=we-Ae,We!==V&&(ee=z*$e-Y*Ve,Ve=z*Ve+Y*$e,$e=ee)}},pe.prototype.guessLen13b=function(l,y){var E=1|Math.max(y,l),D=1&E,v=0;for(E=E/2|0;E;E>>>=1)v++;return 1<<v+1+D},pe.prototype.conjugate=function(l,y,E){if(!(E<=1))for(var D=0;D<E/2;D++){var v=l[D];l[D]=l[E-D-1],l[E-D-1]=v,v=y[D],y[D]=-y[E-D-1],y[E-D-1]=-v}},pe.prototype.normalize13b=function(l,y){for(var E=0,D=0;D<y/2;D++){var v=8192*Math.round(l[2*D+1]/y)+Math.round(l[2*D]/y)+E;l[D]=67108863&v,E=v<67108864?0:v/67108864|0}return l},pe.prototype.convert13b=function(l,y,E,D){for(var v=0,n=0;n<y;n++)E[2*n]=8191&(v+=0|l[n]),E[2*n+1]=8191&(v>>>=13),v>>>=13;for(n=2*y;n<D;++n)E[n]=0;g(0===v),g(0==(-8192&v))},pe.prototype.stub=function(l){for(var y=new Array(l),E=0;E<l;E++)y[E]=0;return y},pe.prototype.mulp=function(l,y,E){var D=2*this.guessLen13b(l.length,y.length),v=this.makeRBT(D),n=this.stub(D),b=new Array(D),V=new Array(D),z=new Array(D),Y=new Array(D),Te=new Array(D),$e=new Array(D),Ve=E.words;Ve.length=D,this.convert13b(l.words,l.length,b,D),this.convert13b(y.words,y.length,Y,D),this.transform(b,n,V,z,D,v),this.transform(Y,n,Te,$e,D,v);for(var We=0;We<D;We++){var Re=V[We]*Te[We]-z[We]*$e[We];z[We]=V[We]*$e[We]+z[We]*Te[We],V[We]=Re}return this.conjugate(V,z,D),this.transform(V,z,Ve,n,D,v),this.conjugate(Ve,n,D),this.normalize13b(Ve,D),E.negative=l.negative^y.negative,E.length=l.length+y.length,E._strip()},s.prototype.mul=function(l){var y=new s(null);return y.words=new Array(this.length+l.length),this.mulTo(l,y)},s.prototype.mulf=function(l){var y=new s(null);return y.words=new Array(this.length+l.length),te(this,l,y)},s.prototype.imul=function(l){return this.clone().mulTo(l,this)},s.prototype.imuln=function(l){var y=l<0;y&&(l=-l),g("number"==typeof l),g(l<67108864);for(var E=0,D=0;D<this.length;D++){var v=(0|this.words[D])*l,n=(67108863&v)+(67108863&E);E>>=26,E+=v/67108864|0,E+=n>>>26,this.words[D]=67108863&n}return 0!==E&&(this.words[D]=E,this.length++),y?this.ineg():this},s.prototype.muln=function(l){return this.clone().imuln(l)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(l){var y=function Z(f){for(var l=new Array(f.bitLength()),y=0;y<l.length;y++)l[y]=f.words[y/26|0]>>>y%26&1;return l}(l);if(0===y.length)return new s(1);for(var E=this,D=0;D<y.length&&0===y[D];D++,E=E.sqr());if(++D<y.length)for(var v=E.sqr();D<y.length;D++,v=v.sqr())0!==y[D]&&(E=E.mul(v));return E},s.prototype.iushln=function(l){g("number"==typeof l&&l>=0);var v,y=l%26,E=(l-y)/26,D=67108863>>>26-y<<26-y;if(0!==y){var n=0;for(v=0;v<this.length;v++){var b=this.words[v]&D;this.words[v]=(0|this.words[v])-b<<y|n,n=b>>>26-y}n&&(this.words[v]=n,this.length++)}if(0!==E){for(v=this.length-1;v>=0;v--)this.words[v+E]=this.words[v];for(v=0;v<E;v++)this.words[v]=0;this.length+=E}return this._strip()},s.prototype.ishln=function(l){return g(0===this.negative),this.iushln(l)},s.prototype.iushrn=function(l,y,E){var D;g("number"==typeof l&&l>=0),D=y?(y-y%26)/26:0;var v=l%26,n=Math.min((l-v)/26,this.length),b=67108863^67108863>>>v<<v,V=E;if(D-=n,D=Math.max(0,D),V){for(var z=0;z<n;z++)V.words[z]=this.words[z];V.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 Y=0;for(z=this.length-1;z>=0&&(0!==Y||z>=D);z--){var Te=0|this.words[z];this.words[z]=Y<<26-v|Te>>>v,Y=Te&b}return V&&0!==Y&&(V.words[V.length++]=Y),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},s.prototype.ishrn=function(l,y,E){return g(0===this.negative),this.iushrn(l,y,E)},s.prototype.shln=function(l){return this.clone().ishln(l)},s.prototype.ushln=function(l){return this.clone().iushln(l)},s.prototype.shrn=function(l){return this.clone().ishrn(l)},s.prototype.ushrn=function(l){return this.clone().iushrn(l)},s.prototype.testn=function(l){g("number"==typeof l&&l>=0);var y=l%26,E=(l-y)/26;return!(this.length<=E||!(this.words[E]&1<<y))},s.prototype.imaskn=function(l){g("number"==typeof l&&l>=0);var y=l%26,E=(l-y)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=E?this:(0!==y&&E++,this.length=Math.min(E,this.length),0!==y&&(this.words[this.length-1]&=67108863^67108863>>>y<<y),this._strip())},s.prototype.maskn=function(l){return this.clone().imaskn(l)},s.prototype.iaddn=function(l){return g("number"==typeof l),g(l<67108864),l<0?this.isubn(-l):0!==this.negative?1===this.length&&(0|this.words[0])<=l?(this.words[0]=l-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(l),this.negative=1,this):this._iaddn(l)},s.prototype._iaddn=function(l){this.words[0]+=l;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},s.prototype.isubn=function(l){if(g("number"==typeof l),g(l<67108864),l<0)return this.iaddn(-l);if(0!==this.negative)return this.negative=0,this.iaddn(l),this.negative=1,this;if(this.words[0]-=l,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()},s.prototype.addn=function(l){return this.clone().iaddn(l)},s.prototype.subn=function(l){return this.clone().isubn(l)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(l,y,E){var v;this._expand(l.length+E);var n,b=0;for(v=0;v<l.length;v++){n=(0|this.words[v+E])+b;var V=(0|l.words[v])*y;b=((n-=67108863&V)>>26)-(V/67108864|0),this.words[v+E]=67108863&n}for(;v<this.length-E;v++)b=(n=(0|this.words[v+E])+b)>>26,this.words[v+E]=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()},s.prototype._wordDiv=function(l,y){var E,D=this.clone(),v=l,n=0|v.words[v.length-1];0!=(E=26-this._countBits(n))&&(v=v.ushln(E),D.iushln(E),n=0|v.words[v.length-1]);var z,V=D.length-v.length;if("mod"!==y){(z=new s(null)).length=V+1,z.words=new Array(z.length);for(var Y=0;Y<z.length;Y++)z.words[Y]=0}var Te=D.clone()._ishlnsubmul(v,1,V);0===Te.negative&&(D=Te,z&&(z.words[V]=1));for(var $e=V-1;$e>=0;$e--){var Ve=67108864*(0|D.words[v.length+$e])+(0|D.words[v.length+$e-1]);for(Ve=Math.min(Ve/n|0,67108863),D._ishlnsubmul(v,Ve,$e);0!==D.negative;)Ve--,D.negative=0,D._ishlnsubmul(v,1,$e),D.isZero()||(D.negative^=1);z&&(z.words[$e]=Ve)}return z&&z._strip(),D._strip(),"div"!==y&&0!==E&&D.iushrn(E),{div:z||null,mod:D}},s.prototype.divmod=function(l,y,E){return g(!l.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===l.negative?(n=this.neg().divmod(l,y),"mod"!==y&&(D=n.div.neg()),"div"!==y&&(v=n.mod.neg(),E&&0!==v.negative&&v.iadd(l)),{div:D,mod:v}):0===this.negative&&0!==l.negative?(n=this.divmod(l.neg(),y),"mod"!==y&&(D=n.div.neg()),{div:D,mod:n.mod}):this.negative&l.negative?(n=this.neg().divmod(l.neg(),y),"div"!==y&&(v=n.mod.neg(),E&&0!==v.negative&&v.isub(l)),{div:n.div,mod:v}):l.length>this.length||this.cmp(l)<0?{div:new s(0),mod:this}:1===l.length?"div"===y?{div:this.divn(l.words[0]),mod:null}:"mod"===y?{div:null,mod:new s(this.modrn(l.words[0]))}:{div:this.divn(l.words[0]),mod:new s(this.modrn(l.words[0]))}:this._wordDiv(l,y);var D,v,n},s.prototype.div=function(l){return this.divmod(l,"div",!1).div},s.prototype.mod=function(l){return this.divmod(l,"mod",!1).mod},s.prototype.umod=function(l){return this.divmod(l,"mod",!0).mod},s.prototype.divRound=function(l){var y=this.divmod(l);if(y.mod.isZero())return y.div;var E=0!==y.div.negative?y.mod.isub(l):y.mod,D=l.ushrn(1),v=l.andln(1),n=E.cmp(D);return n<0||1===v&&0===n?y.div:0!==y.div.negative?y.div.isubn(1):y.div.iaddn(1)},s.prototype.modrn=function(l){var y=l<0;y&&(l=-l),g(l<=67108863);for(var E=(1<<26)%l,D=0,v=this.length-1;v>=0;v--)D=(E*D+(0|this.words[v]))%l;return y?-D:D},s.prototype.modn=function(l){return this.modrn(l)},s.prototype.idivn=function(l){var y=l<0;y&&(l=-l),g(l<=67108863);for(var E=0,D=this.length-1;D>=0;D--){var v=(0|this.words[D])+67108864*E;this.words[D]=v/l|0,E=v%l}return this._strip(),y?this.ineg():this},s.prototype.divn=function(l){return this.clone().idivn(l)},s.prototype.egcd=function(l){g(0===l.negative),g(!l.isZero());var y=this,E=l.clone();y=0!==y.negative?y.umod(l):y.clone();for(var D=new s(1),v=new s(0),n=new s(0),b=new s(1),V=0;y.isEven()&&E.isEven();)y.iushrn(1),E.iushrn(1),++V;for(var z=E.clone(),Y=y.clone();!y.isZero();){for(var Te=0,$e=1;!(y.words[0]&$e)&&Te<26;++Te,$e<<=1);if(Te>0)for(y.iushrn(Te);Te-- >0;)(D.isOdd()||v.isOdd())&&(D.iadd(z),v.isub(Y)),D.iushrn(1),v.iushrn(1);for(var Ve=0,We=1;!(E.words[0]&We)&&Ve<26;++Ve,We<<=1);if(Ve>0)for(E.iushrn(Ve);Ve-- >0;)(n.isOdd()||b.isOdd())&&(n.iadd(z),b.isub(Y)),n.iushrn(1),b.iushrn(1);y.cmp(E)>=0?(y.isub(E),D.isub(n),v.isub(b)):(E.isub(y),n.isub(D),b.isub(v))}return{a:n,b,gcd:E.iushln(V)}},s.prototype._invmp=function(l){g(0===l.negative),g(!l.isZero());var Te,y=this,E=l.clone();y=0!==y.negative?y.umod(l):y.clone();for(var D=new s(1),v=new s(0),n=E.clone();y.cmpn(1)>0&&E.cmpn(1)>0;){for(var b=0,V=1;!(y.words[0]&V)&&b<26;++b,V<<=1);if(b>0)for(y.iushrn(b);b-- >0;)D.isOdd()&&D.iadd(n),D.iushrn(1);for(var z=0,Y=1;!(E.words[0]&Y)&&z<26;++z,Y<<=1);if(z>0)for(E.iushrn(z);z-- >0;)v.isOdd()&&v.iadd(n),v.iushrn(1);y.cmp(E)>=0?(y.isub(E),D.isub(v)):(E.isub(y),v.isub(D))}return(Te=0===y.cmpn(1)?D:v).cmpn(0)<0&&Te.iadd(l),Te},s.prototype.gcd=function(l){if(this.isZero())return l.abs();if(l.isZero())return this.abs();var y=this.clone(),E=l.clone();y.negative=0,E.negative=0;for(var D=0;y.isEven()&&E.isEven();D++)y.iushrn(1),E.iushrn(1);for(;;){for(;y.isEven();)y.iushrn(1);for(;E.isEven();)E.iushrn(1);var v=y.cmp(E);if(v<0){var n=y;y=E,E=n}else if(0===v||0===E.cmpn(1))break;y.isub(E)}return E.iushln(D)},s.prototype.invm=function(l){return this.egcd(l).a.umod(l)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(l){return this.words[0]&l},s.prototype.bincn=function(l){g("number"==typeof l);var y=l%26,E=(l-y)/26,D=1<<y;if(this.length<=E)return this._expand(E+1),this.words[E]|=D,this;for(var v=D,n=E;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},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(l){var E,y=l<0;if(0!==this.negative&&!y)return-1;if(0===this.negative&&y)return 1;if(this._strip(),this.length>1)E=1;else{y&&(l=-l),g(l<=67108863,"Number is too big");var D=0|this.words[0];E=D===l?0:D<l?-1:1}return 0!==this.negative?0|-E:E},s.prototype.cmp=function(l){if(0!==this.negative&&0===l.negative)return-1;if(0===this.negative&&0!==l.negative)return 1;var y=this.ucmp(l);return 0!==this.negative?0|-y:y},s.prototype.ucmp=function(l){if(this.length>l.length)return 1;if(this.length<l.length)return-1;for(var y=0,E=this.length-1;E>=0;E--){var D=0|this.words[E],v=0|l.words[E];if(D!==v){D<v?y=-1:D>v&&(y=1);break}}return y},s.prototype.gtn=function(l){return 1===this.cmpn(l)},s.prototype.gt=function(l){return 1===this.cmp(l)},s.prototype.gten=function(l){return this.cmpn(l)>=0},s.prototype.gte=function(l){return this.cmp(l)>=0},s.prototype.ltn=function(l){return-1===this.cmpn(l)},s.prototype.lt=function(l){return-1===this.cmp(l)},s.prototype.lten=function(l){return this.cmpn(l)<=0},s.prototype.lte=function(l){return this.cmp(l)<=0},s.prototype.eqn=function(l){return 0===this.cmpn(l)},s.prototype.eq=function(l){return 0===this.cmp(l)},s.red=function(l){return new i(l)},s.prototype.toRed=function(l){return g(!this.red,"Already a number in reduction context"),g(0===this.negative,"red works only with positives"),l.convertTo(this)._forceRed(l)},s.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(l){return this.red=l,this},s.prototype.forceRed=function(l){return g(!this.red,"Already a number in reduction context"),this._forceRed(l)},s.prototype.redAdd=function(l){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,l)},s.prototype.redIAdd=function(l){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,l)},s.prototype.redSub=function(l){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,l)},s.prototype.redISub=function(l){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,l)},s.prototype.redShl=function(l){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,l)},s.prototype.redMul=function(l){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.mul(this,l)},s.prototype.redIMul=function(l){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.imul(this,l)},s.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(l){return g(this.red&&!l.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,l)};var oe={k256:null,p224:null,p192:null,p25519:null};function re(f,l){this.name=f,this.p=new s(l,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function ce(){re.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function se(){re.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function he(){re.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){re.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function i(f){if("string"==typeof f){var l=s._prime(f);this.m=l.p,this.prime=l}else g(f.gtn(1),"modulus must be greater than 1"),this.m=f,this.prime=null}function a(f){i.call(this,f),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(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)}re.prototype._tmp=function(){var l=new s(null);return l.words=new Array(Math.ceil(this.n/13)),l},re.prototype.ireduce=function(l){var E,y=l;do{this.split(y,this.tmp),E=(y=(y=this.imulK(y)).iadd(this.tmp)).bitLength()}while(E>this.n);var D=E<this.n?-1:y.ucmp(this.p);return 0===D?(y.words[0]=0,y.length=1):D>0?y.isub(this.p):void 0!==y.strip?y.strip():y._strip(),y},re.prototype.split=function(l,y){l.iushrn(this.n,0,y)},re.prototype.imulK=function(l){return l.imul(this.k)},A(ce,re),ce.prototype.split=function(l,y){for(var E=4194303,D=Math.min(l.length,9),v=0;v<D;v++)y.words[v]=l.words[v];if(y.length=D,l.length<=9)return l.words[0]=0,void(l.length=1);var n=l.words[9];for(y.words[y.length++]=n&E,v=10;v<l.length;v++){var b=0|l.words[v];l.words[v-10]=(b&E)<<4|n>>>22,n=b}l.words[v-10]=n>>>=22,l.length-=0===n&&l.length>10?10:9},ce.prototype.imulK=function(l){l.words[l.length]=0,l.words[l.length+1]=0,l.length+=2;for(var y=0,E=0;E<l.length;E++){var D=0|l.words[E];l.words[E]=67108863&(y+=977*D),y=64*D+(y/67108864|0)}return 0===l.words[l.length-1]&&(l.length--,0===l.words[l.length-1]&&l.length--),l},A(se,re),A(he,re),A(S,re),S.prototype.imulK=function(l){for(var y=0,E=0;E<l.length;E++){var D=19*(0|l.words[E])+y,v=67108863&D;D>>>=26,l.words[E]=v,y=D}return 0!==y&&(l.words[l.length++]=y),l},s._prime=function(l){if(oe[l])return oe[l];var y;if("k256"===l)y=new ce;else if("p224"===l)y=new se;else if("p192"===l)y=new he;else{if("p25519"!==l)throw new Error("Unknown prime "+l);y=new S}return oe[l]=y,y},i.prototype._verify1=function(l){g(0===l.negative,"red works only with positives"),g(l.red,"red works only with red numbers")},i.prototype._verify2=function(l,y){g(0==(l.negative|y.negative),"red works only with positives"),g(l.red&&l.red===y.red,"red works only with red numbers")},i.prototype.imod=function(l){return this.prime?this.prime.ireduce(l)._forceRed(this):(M(l,l.umod(this.m)._forceRed(this)),l)},i.prototype.neg=function(l){return l.isZero()?l.clone():this.m.sub(l)._forceRed(this)},i.prototype.add=function(l,y){this._verify2(l,y);var E=l.add(y);return E.cmp(this.m)>=0&&E.isub(this.m),E._forceRed(this)},i.prototype.iadd=function(l,y){this._verify2(l,y);var E=l.iadd(y);return E.cmp(this.m)>=0&&E.isub(this.m),E},i.prototype.sub=function(l,y){this._verify2(l,y);var E=l.sub(y);return E.cmpn(0)<0&&E.iadd(this.m),E._forceRed(this)},i.prototype.isub=function(l,y){this._verify2(l,y);var E=l.isub(y);return E.cmpn(0)<0&&E.iadd(this.m),E},i.prototype.shl=function(l,y){return this._verify1(l),this.imod(l.ushln(y))},i.prototype.imul=function(l,y){return this._verify2(l,y),this.imod(l.imul(y))},i.prototype.mul=function(l,y){return this._verify2(l,y),this.imod(l.mul(y))},i.prototype.isqr=function(l){return this.imul(l,l.clone())},i.prototype.sqr=function(l){return this.mul(l,l)},i.prototype.sqrt=function(l){if(l.isZero())return l.clone();var y=this.m.andln(3);if(g(y%2==1),3===y){var E=this.m.add(new s(1)).iushrn(2);return this.pow(l,E)}for(var D=this.m.subn(1),v=0;!D.isZero()&&0===D.andln(1);)v++,D.iushrn(1);g(!D.isZero());var n=new s(1).toRed(this),b=n.redNeg(),V=this.m.subn(1).iushrn(1),z=this.m.bitLength();for(z=new s(2*z*z).toRed(this);0!==this.pow(z,V).cmp(b);)z.redIAdd(b);for(var Y=this.pow(z,D),Te=this.pow(l,D.addn(1).iushrn(1)),$e=this.pow(l,D),Ve=v;0!==$e.cmp(n);){for(var We=$e,Re=0;0!==We.cmp(n);Re++)We=We.redSqr();g(Re<Ve);var we=this.pow(Y,new s(1).iushln(Ve-Re-1));Te=Te.redMul(we),Y=we.redSqr(),$e=$e.redMul(Y),Ve=Re}return Te},i.prototype.invm=function(l){var y=l._invmp(this.m);return 0!==y.negative?(y.negative=0,this.imod(y).redNeg()):this.imod(y)},i.prototype.pow=function(l,y){if(y.isZero())return new s(1).toRed(this);if(0===y.cmpn(1))return l.clone();var D=new Array(16);D[0]=new s(1).toRed(this),D[1]=l;for(var v=2;v<D.length;v++)D[v]=this.mul(D[v-1],l);var n=D[0],b=0,V=0,z=y.bitLength()%26;for(0===z&&(z=26),v=y.length-1;v>=0;v--){for(var Y=y.words[v],Te=z-1;Te>=0;Te--){var $e=Y>>Te&1;n!==D[0]&&(n=this.sqr(n)),0!==$e||0!==b?(b<<=1,b|=$e,(4==++V||0===v&&0===Te)&&(n=this.mul(n,D[b]),V=0,b=0)):V=0}z=26}return n},i.prototype.convertTo=function(l){var y=l.umod(this.m);return y===l?y.clone():y},i.prototype.convertFrom=function(l){var y=l.clone();return y.red=null,y},s.mont=function(l){return new a(l)},A(a,i),a.prototype.convertTo=function(l){return this.imod(l.ushln(this.shift))},a.prototype.convertFrom=function(l){var y=this.imod(l.mul(this.rinv));return y.red=null,y},a.prototype.imul=function(l,y){if(l.isZero()||y.isZero())return l.words[0]=0,l.length=1,l;var E=l.imul(y),D=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=E.isub(D).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)},a.prototype.mul=function(l,y){if(l.isZero()||y.isZero())return new s(0)._forceRed(this);var E=l.mul(y),D=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),v=E.isub(D).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)},a.prototype.invm=function(l){return this.imod(l._invmp(this.m).mul(this.r2))._forceRed(this)}}(Be=m.nmd(Be),this)},7950:(Be,Q,m)=>{var t;function e(A){this.rand=A}if(Be.exports=function(s){return t||(t=new e(null)),t.generate(s)},Be.exports.Rand=e,e.prototype.generate=function(s){return this._rand(s)},e.prototype._rand=function(s){if(this.rand.getBytes)return this.rand.getBytes(s);for(var C=new Uint8Array(s),h=0;h<C.length;h++)C[h]=this.rand.getByte();return C},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?e.prototype._rand=function(s){var C=new Uint8Array(s);return self.crypto.getRandomValues(C),C}:self.msCrypto&&self.msCrypto.getRandomValues?e.prototype._rand=function(s){var C=new Uint8Array(s);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(s){return g.randomBytes(s)}}catch{}},1899:(Be,Q,m)=>{var t=m(3502).Buffer;function e(P){t.isBuffer(P)||(P=t.from(P));for(var d=P.length/4|0,M=new Array(d),w=0;w<d;w++)M[w]=P.readUInt32BE(4*w);return M}function g(P){for(;0<P.length;P++)P[0]=0}function A(P,d,M,w,I){for(var pe,oe,re,ce,k=M[0],O=M[1],U=M[2],Z=M[3],W=P[0]^d[0],K=P[1]^d[1],q=P[2]^d[2],te=P[3]^d[3],se=4,he=1;he<I;he++)pe=k[W>>>24]^O[K>>>16&255]^U[q>>>8&255]^Z[255&te]^d[se++],oe=k[K>>>24]^O[q>>>16&255]^U[te>>>8&255]^Z[255&W]^d[se++],re=k[q>>>24]^O[te>>>16&255]^U[W>>>8&255]^Z[255&K]^d[se++],ce=k[te>>>24]^O[W>>>16&255]^U[K>>>8&255]^Z[255&q]^d[se++],W=pe,K=oe,q=re,te=ce;return pe=(w[W>>>24]<<24|w[K>>>16&255]<<16|w[q>>>8&255]<<8|w[255&te])^d[se++],oe=(w[K>>>24]<<24|w[q>>>16&255]<<16|w[te>>>8&255]<<8|w[255&W])^d[se++],re=(w[q>>>24]<<24|w[te>>>16&255]<<16|w[W>>>8&255]<<8|w[255&K])^d[se++],ce=(w[te>>>24]<<24|w[W>>>16&255]<<16|w[K>>>8&255]<<8|w[255&q])^d[se++],[pe>>>=0,oe>>>=0,re>>>=0,ce>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],C=function(){for(var P=new Array(256),d=0;d<256;d++)P[d]=d<128?d<<1:d<<1^283;for(var M=[],w=[],I=[[],[],[],[]],k=[[],[],[],[]],O=0,U=0,Z=0;Z<256;++Z){var W=U^U<<1^U<<2^U<<3^U<<4;M[O]=W=W>>>8^255&W^99,w[W]=O;var K=P[O],q=P[K],te=P[q],pe=257*P[W]^16843008*W;I[0][O]=pe<<24|pe>>>8,I[1][O]=pe<<16|pe>>>16,I[2][O]=pe<<8|pe>>>24,I[3][O]=pe,k[0][W]=(pe=16843009*te^65537*q^257*K^16843008*O)<<24|pe>>>8,k[1][W]=pe<<16|pe>>>16,k[2][W]=pe<<8|pe>>>24,k[3][W]=pe,0===O?O=U=1:(O=K^P[P[P[te^K]]],U^=P[P[U]])}return{SBOX:M,INV_SBOX:w,SUB_MIX:I,INV_SUB_MIX:k}}();function h(P){this._key=e(P),this._reset()}h.blockSize=16,h.keySize=32,h.prototype.blockSize=h.blockSize,h.prototype.keySize=h.keySize,h.prototype._reset=function(){for(var P=this._key,d=P.length,M=d+6,w=4*(M+1),I=[],k=0;k<d;k++)I[k]=P[k];for(k=d;k<w;k++){var O=I[k-1];k%d==0?(O=C.SBOX[(O=O<<8|O>>>24)>>>24]<<24|C.SBOX[O>>>16&255]<<16|C.SBOX[O>>>8&255]<<8|C.SBOX[255&O],O^=s[k/d|0]<<24):d>6&&k%d==4&&(O=C.SBOX[O>>>24]<<24|C.SBOX[O>>>16&255]<<16|C.SBOX[O>>>8&255]<<8|C.SBOX[255&O]),I[k]=I[k-d]^O}for(var U=[],Z=0;Z<w;Z++){var W=w-Z,K=I[W-(Z%4?0:4)];U[Z]=Z<4||W<=4?K:C.INV_SUB_MIX[0][C.SBOX[K>>>24]]^C.INV_SUB_MIX[1][C.SBOX[K>>>16&255]]^C.INV_SUB_MIX[2][C.SBOX[K>>>8&255]]^C.INV_SUB_MIX[3][C.SBOX[255&K]]}this._nRounds=M,this._keySchedule=I,this._invKeySchedule=U},h.prototype.encryptBlockRaw=function(P){return A(P=e(P),this._keySchedule,C.SUB_MIX,C.SBOX,this._nRounds)},h.prototype.encryptBlock=function(P){var d=this.encryptBlockRaw(P),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},h.prototype.decryptBlock=function(P){var d=(P=e(P))[1];P[1]=P[3],P[3]=d;var M=A(P,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},h.prototype.scrub=function(){g(this._keySchedule),g(this._invKeySchedule),g(this._key)},Be.exports.AES=h},9382:(Be,Q,m)=>{var t=m(1899),e=m(3502).Buffer,g=m(1052),A=m(3894),s=m(8857),C=m(8789),h=m(7968);function M(w,I,k,O){g.call(this);var U=e.alloc(4,0);this._cipher=new t.AES(I);var Z=this._cipher.encryptBlock(U);this._ghash=new s(Z),k=function d(w,I,k){if(12===I.length)return w._finID=e.concat([I,e.from([0,0,0,1])]),e.concat([I,e.from([0,0,0,2])]);var O=new s(k),U=I.length,Z=U%16;O.update(I),Z&&O.update(e.alloc(Z=16-Z,0)),O.update(e.alloc(8,0));var W=8*U,K=e.alloc(8);K.writeUIntBE(W,0,8),O.update(K),w._finID=O.state;var q=e.from(w._finID);return h(q),q}(this,k,Z),this._prev=e.from(k),this._cache=e.allocUnsafe(0),this._secCache=e.allocUnsafe(0),this._decrypt=O,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 I=16-this._alen%16;I<16&&(I=e.alloc(I,0),this._ghash.update(I))}this._called=!0;var k=this._mode.encrypt(this,w);return this._ghash.update(this._decrypt?w:k),this._len+=w.length,k},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 P(w,I){var k=0;w.length!==I.length&&k++;for(var O=Math.min(w.length,I.length),U=0;U<O;++U)k+=w[U]^I[U];return k}(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(I){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=I},M.prototype.setAAD=function(I){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(I),this._alen+=I.length},Be.exports=M},4330:(Be,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:(Be,Q,m)=>{var t=m(9382),e=m(3502).Buffer,g=m(9171),A=m(8441),s=m(1052),C=m(1899),h=m(347);function d(O,U,Z){s.call(this),this._cache=new M,this._last=void 0,this._cipher=new C.AES(U),this._prev=e.from(Z),this._mode=O,this._autopadding=!0}function M(){this.cache=e.allocUnsafe(0)}function I(O,U,Z){var W=g[O.toLowerCase()];if(!W)throw new TypeError("invalid suite type");if("string"==typeof Z&&(Z=e.from(Z)),"GCM"!==W.mode&&Z.length!==W.iv)throw new TypeError("invalid iv length "+Z.length);if("string"==typeof U&&(U=e.from(U)),U.length!==W.key/8)throw new TypeError("invalid key length "+U.length);return"stream"===W.type?new A(W.module,U,Z,!0):"auth"===W.type?new t(W.module,U,Z,!0):new d(W.module,U,Z)}m(3894)(d,s),d.prototype._update=function(O){this._cache.add(O);for(var U,Z,W=[];U=this._cache.get(this._autopadding);)Z=this._mode.decrypt(this,U),W.push(Z);return e.concat(W)},d.prototype._final=function(){var O=this._cache.flush();if(this._autopadding)return function w(O){var U=O[15];if(U<1||U>16)throw new Error("unable to decrypt data");for(var Z=-1;++Z<U;)if(O[Z+(16-U)]!==U)throw new Error("unable to decrypt data");if(16!==U)return O.slice(0,16-U)}(this._mode.decrypt(this,O));if(O)throw new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(O){return this._autopadding=!!O,this},M.prototype.add=function(O){this.cache=e.concat([this.cache,O])},M.prototype.get=function(O){var U;if(O){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 k(O,U){var Z=g[O.toLowerCase()];if(!Z)throw new TypeError("invalid suite type");var W=h(U,!1,Z.key,Z.iv);return I(O,W.key,W.iv)},Q.createDecipheriv=I},6900:(Be,Q,m)=>{var t=m(9171),e=m(9382),g=m(3502).Buffer,A=m(8441),s=m(1052),C=m(1899),h=m(347);function d(O,U,Z){s.call(this),this._cache=new w,this._cipher=new C.AES(U),this._prev=g.from(Z),this._mode=O,this._autopadding=!0}m(3894)(d,s),d.prototype._update=function(O){this._cache.add(O);for(var U,Z,W=[];U=this._cache.get();)Z=this._mode.encrypt(this,U),W.push(Z);return g.concat(W)};var M=g.alloc(16,16);function w(){this.cache=g.allocUnsafe(0)}function I(O,U,Z){var W=t[O.toLowerCase()];if(!W)throw new TypeError("invalid suite type");if("string"==typeof U&&(U=g.from(U)),U.length!==W.key/8)throw new TypeError("invalid key length "+U.length);if("string"==typeof Z&&(Z=g.from(Z)),"GCM"!==W.mode&&Z.length!==W.iv)throw new TypeError("invalid iv length "+Z.length);return"stream"===W.type?new A(W.module,U,Z):"auth"===W.type?new e(W.module,U,Z):new d(W.module,U,Z)}d.prototype._final=function(){var O=this._cache.flush();if(this._autopadding)return O=this._mode.encrypt(this,O),this._cipher.scrub(),O;if(!O.equals(M))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(O){return this._autopadding=!!O,this},w.prototype.add=function(O){this.cache=g.concat([this.cache,O])},w.prototype.get=function(){if(this.cache.length>15){var O=this.cache.slice(0,16);return this.cache=this.cache.slice(16),O}return null},w.prototype.flush=function(){for(var O=16-this.cache.length,U=g.allocUnsafe(O),Z=-1;++Z<O;)U.writeUInt8(O,Z);return g.concat([this.cache,U])},Q.createCipheriv=I,Q.createCipher=function k(O,U){var Z=t[O.toLowerCase()];if(!Z)throw new TypeError("invalid suite type");var W=h(U,!1,Z.key,Z.iv);return I(O,W.key,W.iv)}},8857:(Be,Q,m)=>{var t=m(3502).Buffer,e=t.alloc(16,0);function A(C){var h=t.allocUnsafe(16);return h.writeUInt32BE(C[0]>>>0,0),h.writeUInt32BE(C[1]>>>0,4),h.writeUInt32BE(C[2]>>>0,8),h.writeUInt32BE(C[3]>>>0,12),h}function s(C){this.h=C,this.state=t.alloc(16,0),this.cache=t.allocUnsafe(0)}s.prototype.ghash=function(C){for(var h=-1;++h<C.length;)this.state[h]^=C[h];this._multiply()},s.prototype._multiply=function(){for(var P,M,C=function g(C){return[C.readUInt32BE(0),C.readUInt32BE(4),C.readUInt32BE(8),C.readUInt32BE(12)]}(this.h),h=[0,0,0,0],w=-1;++w<128;){for(0!=(this.state[~~(w/8)]&1<<7-w%8)&&(h[0]^=C[0],h[1]^=C[1],h[2]^=C[2],h[3]^=C[3]),M=0!=(1&C[3]),P=3;P>0;P--)C[P]=C[P]>>>1|(1&C[P-1])<<31;C[0]=C[0]>>>1,M&&(C[0]=C[0]^225<<24)}this.state=A(h)},s.prototype.update=function(C){this.cache=t.concat([this.cache,C]);for(var h;this.cache.length>=16;)h=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(h)},s.prototype.final=function(C,h){return this.cache.length&&this.ghash(t.concat([this.cache,e],16)),this.ghash(A([0,C,0,h])),this.state},Be.exports=s},7968:Be=>{Be.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:(Be,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 s=e._cipher.decryptBlock(g);return t(s,A)}},9885:(Be,Q,m)=>{var t=m(3502).Buffer,e=m(8789);function g(A,s,C){var h=s.length,P=e(s,A._cache);return A._cache=A._cache.slice(h),A._prev=t.concat([A._prev,C?s:P]),P}Q.encrypt=function(A,s,C){for(var P,h=t.allocUnsafe(0);s.length;){if(0===A._cache.length&&(A._cache=A._cipher.encryptBlock(A._prev),A._prev=t.allocUnsafe(0)),!(A._cache.length<=s.length)){h=t.concat([h,g(A,s,C)]);break}h=t.concat([h,g(A,s.slice(0,P=A._cache.length),C)]),s=s.slice(P)}return h}},6531:(Be,Q,m)=>{var t=m(3502).Buffer;function e(A,s,C){for(var w,I,P=-1,M=0;++P<8;)M+=(128&(I=A._cipher.encryptBlock(A._prev)[0]^(w=s&1<<7-P?128:0)))>>P%8,A._prev=g(A._prev,C?w:I);return M}function g(A,s){var C=A.length,h=-1,P=t.allocUnsafe(A.length);for(A=t.concat([A,t.from([s])]);++h<C;)P[h]=A[h]<<1|A[h+1]>>7;return P}Q.encrypt=function(A,s,C){for(var h=s.length,P=t.allocUnsafe(h),d=-1;++d<h;)P[d]=e(A,s[d],C);return P}},1641:(Be,Q,m)=>{var t=m(3502).Buffer;function e(g,A,s){var h=g._cipher.encryptBlock(g._prev)[0]^A;return g._prev=t.concat([g._prev.slice(1),t.from([s?A:h])]),h}Q.encrypt=function(g,A,s){for(var C=A.length,h=t.allocUnsafe(C),P=-1;++P<C;)h[P]=e(g,A[P],s);return h}},1150:(Be,Q,m)=>{var t=m(8789),e=m(3502).Buffer,g=m(7968);function A(C){var h=C._cipher.encryptBlockRaw(C._prev);return g(C._prev),h}Q.encrypt=function(C,h){var P=Math.ceil(h.length/16),d=C._cache.length;C._cache=e.concat([C._cache,e.allocUnsafe(16*P)]);for(var M=0;M<P;M++){var w=A(C),I=d+16*M;C._cache.writeUInt32BE(w[0],I+0),C._cache.writeUInt32BE(w[1],I+4),C._cache.writeUInt32BE(w[2],I+8),C._cache.writeUInt32BE(w[3],I+12)}var k=C._cache.slice(0,h.length);return C._cache=C._cache.slice(h.length),t(h,k)}},1704:(Be,Q)=>{Q.encrypt=function(m,t){return m._cipher.encryptBlock(t)},Q.decrypt=function(m,t){return m._cipher.decryptBlock(t)}},9171:(Be,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];Be.exports=e},6816:(Be,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 s=g._cache.slice(0,A.length);return g._cache=g._cache.slice(A.length),t(A,s)}},8441:(Be,Q,m)=>{var t=m(1899),e=m(3502).Buffer,g=m(1052);function s(C,h,P,d){g.call(this),this._cipher=new t.AES(h),this._prev=e.from(P),this._cache=e.allocUnsafe(0),this._secCache=e.allocUnsafe(0),this._decrypt=d,this._mode=C}m(3894)(s,g),s.prototype._update=function(C){return this._mode.encrypt(this,C,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},Be.exports=s},5255:(Be,Q,m)=>{var t=m(9004),e=m(4330),g=m(9171),A=m(1115),s=m(347);function P(w,I,k){if(w=w.toLowerCase(),g[w])return e.createCipheriv(w,I,k);if(A[w])return new t({key:I,iv:k,mode:w});throw new TypeError("invalid suite type")}function d(w,I,k){if(w=w.toLowerCase(),g[w])return e.createDecipheriv(w,I,k);if(A[w])return new t({key:I,iv:k,mode:w,decrypt:!0});throw new TypeError("invalid suite type")}Q.createCipher=Q.Cipher=function C(w,I){var k,O;if(w=w.toLowerCase(),g[w])k=g[w].key,O=g[w].iv;else{if(!A[w])throw new TypeError("invalid suite type");k=8*A[w].key,O=A[w].iv}var U=s(I,!1,k,O);return P(w,U.key,U.iv)},Q.createCipheriv=Q.Cipheriv=P,Q.createDecipher=Q.Decipher=function h(w,I){var k,O;if(w=w.toLowerCase(),g[w])k=g[w].key,O=g[w].iv;else{if(!A[w])throw new TypeError("invalid suite type");k=8*A[w].key,O=A[w].iv}var U=s(I,!1,k,O);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:(Be,Q,m)=>{var t=m(1052),e=m(3684),g=m(3894),A=m(3502).Buffer,s={"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(h){t.call(this);var M,P=h.mode.toLowerCase(),d=s[P];M=h.decrypt?"decrypt":"encrypt";var w=h.key;A.isBuffer(w)||(w=A.from(w)),("des-ede"===P||"des-ede-cbc"===P)&&(w=A.concat([w,w.slice(0,8)]));var I=h.iv;A.isBuffer(I)||(I=A.from(I)),this._des=d.create({key:w,iv:I,type:M})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],Be.exports=C,g(C,t),C.prototype._update=function(h){return A.from(this._des.update(h))},C.prototype._final=function(){return A.from(this._des.final())}},1115:(Be,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:(Be,Q,m)=>{var t=m(8538),e=m(3753);function A(C){var P,h=C.modulus.byteLength();do{P=new t(e(h))}while(P.cmp(C.modulus)>=0||!P.umod(C.prime1)||!P.umod(C.prime2));return P}function s(C,h){var P=function g(C){var h=A(C);return{blinder:h.toRed(t.mont(C.modulus)).redPow(new t(C.publicExponent)).fromRed(),unblinder:h.invm(C.modulus)}}(h),d=h.modulus.byteLength(),M=new t(C).mul(P.blinder).umod(h.modulus),w=M.toRed(t.mont(h.prime1)),I=M.toRed(t.mont(h.prime2)),k=h.coefficient,O=h.prime1,U=h.prime2,Z=w.redPow(h.exponent1).fromRed(),W=I.redPow(h.exponent2).fromRed(),K=Z.isub(W).imul(k).umod(O).imul(U);return W.iadd(K).imul(P.unblinder).umod(h.modulus).toArrayLike(Buffer,"be",d)}s.getr=A,Be.exports=s},7793:(Be,Q,m)=>{Be.exports=m(5207)},3923:(Be,Q,m)=>{var t=m(3502).Buffer,e=m(6386),g=m(5685),A=m(3894),s=m(9947),C=m(3946),h=m(5207);function P(I){g.Writable.call(this);var k=h[I];if(!k)throw new Error("Unknown message digest");this._hashType=k.hash,this._hash=e(k.hash),this._tag=k.id,this._signType=k.sign}function d(I){g.Writable.call(this);var k=h[I];if(!k)throw new Error("Unknown message digest");this._hash=e(k.hash),this._tag=k.id,this._signType=k.sign}function M(I){return new P(I)}function w(I){return new d(I)}Object.keys(h).forEach(function(I){h[I].id=t.from(h[I].id,"hex"),h[I.toLowerCase()]=h[I]}),A(P,g.Writable),P.prototype._write=function(k,O,U){this._hash.update(k),U()},P.prototype.update=function(k,O){return"string"==typeof k&&(k=t.from(k,O)),this._hash.update(k),this},P.prototype.sign=function(k,O){this.end();var U=this._hash.digest(),Z=s(U,k,this._hashType,this._signType,this._tag);return O?Z.toString(O):Z},A(d,g.Writable),d.prototype._write=function(k,O,U){this._hash.update(k),U()},d.prototype.update=function(k,O){return"string"==typeof k&&(k=t.from(k,O)),this._hash.update(k),this},d.prototype.verify=function(k,O,U){"string"==typeof O&&(O=t.from(O,U)),this.end();var Z=this._hash.digest();return C(O,Z,k,this._signType,this._tag)},Be.exports={Sign:M,Verify:w,createSign:M,createVerify:w}},9947:(Be,Q,m)=>{var t=m(3502).Buffer,e=m(4529),g=m(8466),A=m(7715).ec,s=m(8538),C=m(2772),h=m(1308);function I(W,K,q,te){if((W=t.from(W.toArray())).length<K.byteLength()){var pe=t.alloc(K.byteLength()-W.length);W=t.concat([pe,W])}var oe=q.length,re=function O(W,K){W=(W=k(W,K)).mod(K);var q=t.from(W.toArray());if(q.length<K.byteLength()){var te=t.alloc(K.byteLength()-q.length);q=t.concat([te,q])}return q}(q,K),ce=t.alloc(oe);ce.fill(1);var se=t.alloc(oe);return se=e(te,se).update(ce).update(t.from([0])).update(W).update(re).digest(),ce=e(te,se).update(ce).digest(),{k:se=e(te,se).update(ce).update(t.from([1])).update(W).update(re).digest(),v:ce=e(te,se).update(ce).digest()}}function k(W,K){var q=new s(W),te=(W.length<<3)-K.bitLength();return te>0&&q.ishrn(te),q}function U(W,K,q){var te,pe;do{for(te=t.alloc(0);8*te.length<W.bitLength();)K.v=e(q,K.k).update(K.v).digest(),te=t.concat([te,K.v]);pe=k(te,W),K.k=e(q,K.k).update(K.v).update(t.from([0])).digest(),K.v=e(q,K.k).update(K.v).digest()}while(-1!==pe.cmp(W));return pe}function Z(W,K,q,te){return W.toRed(s.mont(q)).redPow(K).fromRed().mod(te)}Be.exports=function P(W,K,q,te,pe){var oe=C(K);if(oe.curve){if("ecdsa"!==te&&"ecdsa/rsa"!==te)throw new Error("wrong private key type");return function d(W,K){var q=h[K.curve.join(".")];if(!q)throw new Error("unknown curve "+K.curve.join("."));var oe=new A(q).keyFromPrivate(K.privateKey).sign(W);return t.from(oe.toDER())}(W,oe)}if("dsa"===oe.type){if("dsa"!==te)throw new Error("wrong private key type");return function M(W,K,q){for(var se,te=K.params.priv_key,pe=K.params.p,oe=K.params.q,re=K.params.g,ce=new s(0),he=k(W,oe).mod(oe),S=!1,i=I(te,oe,W,q);!1===S;)ce=Z(re,se=U(oe,i,q),pe,oe),0===(S=se.invm(oe).imul(he.add(te.mul(ce))).mod(oe)).cmpn(0)&&(S=!1,ce=new s(0));return function w(W,K){W=W.toArray(),K=K.toArray(),128&W[0]&&(W=[0].concat(W)),128&K[0]&&(K=[0].concat(K));var te=[48,W.length+K.length+4,2,W.length];return te=te.concat(W,[2,K.length],K),t.from(te)}(ce,S)}(W,oe,q)}if("rsa"!==te&&"ecdsa/rsa"!==te)throw new Error("wrong private key type");W=t.concat([pe,W]);for(var re=oe.modulus.byteLength(),ce=[0,1];W.length+ce.length+1<re;)ce.push(255);ce.push(0);for(var se=-1;++se<W.length;)ce.push(W[se]);return g(ce,oe)},Be.exports.getKey=I,Be.exports.makeKey=U},3946:(Be,Q,m)=>{var t=m(3502).Buffer,e=m(8538),g=m(7715).ec,A=m(2772),s=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")}Be.exports=function C(M,w,I,k,O){var U=A(I);if("ec"===U.type){if("ecdsa"!==k&&"ecdsa/rsa"!==k)throw new Error("wrong public key type");return function h(M,w,I){var k=s[I.data.algorithm.curve.join(".")];if(!k)throw new Error("unknown curve "+I.data.algorithm.curve.join("."));return new g(k).verify(w,M,I.data.subjectPrivateKey.data)}(M,w,U)}if("dsa"===U.type){if("dsa"!==k)throw new Error("wrong public key type");return function P(M,w,I){var k=I.data.p,O=I.data.q,U=I.data.g,Z=I.data.pub_key,W=A.signature.decode(M,"der"),K=W.s,q=W.r;d(K,O),d(q,O);var te=e.mont(k),pe=K.invm(O);return 0===U.toRed(te).redPow(new e(w).mul(pe).mod(O)).fromRed().mul(Z.toRed(te).redPow(q.mul(pe).mod(O)).fromRed()).mod(k).mod(O).cmp(q)}(M,w,U)}if("rsa"!==k&&"ecdsa/rsa"!==k)throw new Error("wrong public key type");w=t.concat([O,w]);for(var Z=U.modulus.byteLength(),W=[1],K=0;w.length+W.length+2<Z;)W.push(255),K++;W.push(0);for(var q=-1;++q<w.length;)W.push(w[q]);W=t.from(W);var te=e.mont(U.modulus);M=(M=new e(M).toRed(te)).redPow(new e(U.publicExponent)),M=t.from(M.fromRed().toArray());var pe=K<8?1:0;for(Z=Math.min(M.length,W.length),M.length!==W.length&&(pe=1),q=-1;++q<Z;)pe|=M[q]^W[q];return 0===pe}},8789:Be=>{Be.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:(Be,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=h,Q.SlowBuffer=function K(fe){return+fe!=fe&&(fe=0),h.alloc(+fe)},Q.INSPECT_MAX_BYTES=50;var A=2147483647;function C(fe){if(fe>A)throw new RangeError('The value "'+fe+'" is invalid for option "size"');var Se=new Uint8Array(fe);return Object.setPrototypeOf(Se,h.prototype),Se}function h(fe,Se,ge){if("number"==typeof fe){if("string"==typeof Se)throw new TypeError('The "string" argument must be of type string. Received type number');return w(fe)}return P(fe,Se,ge)}function P(fe,Se,ge){if("string"==typeof fe)return function I(fe,Se){if(("string"!=typeof Se||""===Se)&&(Se="utf8"),!h.isEncoding(Se))throw new TypeError("Unknown encoding: "+Se);var ge=0|q(fe,Se),xe=C(ge),vt=xe.write(fe,Se);return vt!==ge&&(xe=xe.slice(0,vt)),xe}(fe,Se);if(ArrayBuffer.isView(fe))return function O(fe){if(ee(fe,Uint8Array)){var Se=new Uint8Array(fe);return U(Se.buffer,Se.byteOffset,Se.byteLength)}return k(fe)}(fe);if(null==fe)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof fe);if(ee(fe,ArrayBuffer)||fe&&ee(fe.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ee(fe,SharedArrayBuffer)||fe&&ee(fe.buffer,SharedArrayBuffer)))return U(fe,Se,ge);if("number"==typeof fe)throw new TypeError('The "value" argument must not be of type number. Received type number');var xe=fe.valueOf&&fe.valueOf();if(null!=xe&&xe!==fe)return h.from(xe,Se,ge);var vt=function Z(fe){if(h.isBuffer(fe)){var Se=0|W(fe.length),ge=C(Se);return 0===ge.length||fe.copy(ge,0,0,Se),ge}return void 0!==fe.length?"number"!=typeof fe.length||Ze(fe.length)?C(0):k(fe):"Buffer"===fe.type&&Array.isArray(fe.data)?k(fe.data):void 0}(fe);if(vt)return vt;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof fe[Symbol.toPrimitive])return h.from(fe[Symbol.toPrimitive]("string"),Se,ge);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof fe)}function d(fe){if("number"!=typeof fe)throw new TypeError('"size" argument must be of type number');if(fe<0)throw new RangeError('The value "'+fe+'" is invalid for option "size"')}function w(fe){return d(fe),C(fe<0?0:0|W(fe))}function k(fe){for(var Se=fe.length<0?0:0|W(fe.length),ge=C(Se),xe=0;xe<Se;xe+=1)ge[xe]=255&fe[xe];return ge}function U(fe,Se,ge){if(Se<0||fe.byteLength<Se)throw new RangeError('"offset" is outside of buffer bounds');if(fe.byteLength<Se+(ge||0))throw new RangeError('"length" is outside of buffer bounds');var xe;return xe=void 0===Se&&void 0===ge?new Uint8Array(fe):void 0===ge?new Uint8Array(fe,Se):new Uint8Array(fe,Se,ge),Object.setPrototypeOf(xe,h.prototype),xe}function W(fe){if(fe>=A)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+A.toString(16)+" bytes");return 0|fe}function q(fe,Se){if(h.isBuffer(fe))return fe.length;if(ArrayBuffer.isView(fe)||ee(fe,ArrayBuffer))return fe.byteLength;if("string"!=typeof fe)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof fe);var ge=fe.length,xe=arguments.length>2&&!0===arguments[2];if(!xe&&0===ge)return 0;for(var vt=!1;;)switch(Se){case"ascii":case"latin1":case"binary":return ge;case"utf8":case"utf-8":return We(fe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*ge;case"hex":return ge>>>1;case"base64":return me(fe).length;default:if(vt)return xe?-1:We(fe).length;Se=(""+Se).toLowerCase(),vt=!0}}function te(fe,Se,ge){var xe=!1;if((void 0===Se||Se<0)&&(Se=0),Se>this.length||((void 0===ge||ge>this.length)&&(ge=this.length),ge<=0)||(ge>>>=0)<=(Se>>>=0))return"";for(fe||(fe="utf8");;)switch(fe){case"hex":return v(this,Se,ge);case"utf8":case"utf-8":return f(this,Se,ge);case"ascii":return E(this,Se,ge);case"latin1":case"binary":return D(this,Se,ge);case"base64":return a(this,Se,ge);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,Se,ge);default:if(xe)throw new TypeError("Unknown encoding: "+fe);fe=(fe+"").toLowerCase(),xe=!0}}function pe(fe,Se,ge){var xe=fe[Se];fe[Se]=fe[ge],fe[ge]=xe}function oe(fe,Se,ge,xe,vt){if(0===fe.length)return-1;if("string"==typeof ge?(xe=ge,ge=0):ge>2147483647?ge=2147483647:ge<-2147483648&&(ge=-2147483648),Ze(ge=+ge)&&(ge=vt?0:fe.length-1),ge<0&&(ge=fe.length+ge),ge>=fe.length){if(vt)return-1;ge=fe.length-1}else if(ge<0){if(!vt)return-1;ge=0}if("string"==typeof Se&&(Se=h.from(Se,xe)),h.isBuffer(Se))return 0===Se.length?-1:re(fe,Se,ge,xe,vt);if("number"==typeof Se)return Se&=255,"function"==typeof Uint8Array.prototype.indexOf?vt?Uint8Array.prototype.indexOf.call(fe,Se,ge):Uint8Array.prototype.lastIndexOf.call(fe,Se,ge):re(fe,[Se],ge,xe,vt);throw new TypeError("val must be string, number or Buffer")}function re(fe,Se,ge,xe,vt){var lt,Ie=1,de=fe.length,rt=Se.length;if(void 0!==xe&&("ucs2"===(xe=String(xe).toLowerCase())||"ucs-2"===xe||"utf16le"===xe||"utf-16le"===xe)){if(fe.length<2||Se.length<2)return-1;Ie=2,de/=2,rt/=2,ge/=2}function je(Ct,ye){return 1===Ie?Ct[ye]:Ct.readUInt16BE(ye*Ie)}if(vt){var Nt=-1;for(lt=ge;lt<de;lt++)if(je(fe,lt)===je(Se,-1===Nt?0:lt-Nt)){if(-1===Nt&&(Nt=lt),lt-Nt+1===rt)return Nt*Ie}else-1!==Nt&&(lt-=lt-Nt),Nt=-1}else for(ge+rt>de&&(ge=de-rt),lt=ge;lt>=0;lt--){for(var Ke=!0,at=0;at<rt;at++)if(je(fe,lt+at)!==je(Se,at)){Ke=!1;break}if(Ke)return lt}return-1}function ce(fe,Se,ge,xe){ge=Number(ge)||0;var vt=fe.length-ge;xe?(xe=Number(xe))>vt&&(xe=vt):xe=vt;var Ie=Se.length;xe>Ie/2&&(xe=Ie/2);for(var de=0;de<xe;++de){var rt=parseInt(Se.substr(2*de,2),16);if(Ze(rt))return de;fe[ge+de]=rt}return de}function se(fe,Se,ge,xe){return Ae(We(Se,fe.length-ge),fe,ge,xe)}function he(fe,Se,ge,xe){return Ae(function Re(fe){for(var Se=[],ge=0;ge<fe.length;++ge)Se.push(255&fe.charCodeAt(ge));return Se}(Se),fe,ge,xe)}function S(fe,Se,ge,xe){return Ae(me(Se),fe,ge,xe)}function i(fe,Se,ge,xe){return Ae(function we(fe,Se){for(var ge,xe,Ie=[],de=0;de<fe.length&&!((Se-=2)<0);++de)xe=(ge=fe.charCodeAt(de))>>8,Ie.push(ge%256),Ie.push(xe);return Ie}(Se,fe.length-ge),fe,ge,xe)}function a(fe,Se,ge){return t.fromByteArray(0===Se&&ge===fe.length?fe:fe.slice(Se,ge))}function f(fe,Se,ge){ge=Math.min(fe.length,ge);for(var xe=[],vt=Se;vt<ge;){var je,lt,Nt,Ke,Ie=fe[vt],de=null,rt=Ie>239?4:Ie>223?3:Ie>191?2:1;if(vt+rt<=ge)switch(rt){case 1:Ie<128&&(de=Ie);break;case 2:128==(192&(je=fe[vt+1]))&&(Ke=(31&Ie)<<6|63&je)>127&&(de=Ke);break;case 3:lt=fe[vt+2],128==(192&(je=fe[vt+1]))&&128==(192&lt)&&(Ke=(15&Ie)<<12|(63&je)<<6|63&lt)>2047&&(Ke<55296||Ke>57343)&&(de=Ke);break;case 4:lt=fe[vt+2],Nt=fe[vt+3],128==(192&(je=fe[vt+1]))&&128==(192&lt)&&128==(192&Nt)&&(Ke=(15&Ie)<<18|(63&je)<<12|(63&lt)<<6|63&Nt)>65535&&Ke<1114112&&(de=Ke)}null===de?(de=65533,rt=1):de>65535&&(xe.push((de-=65536)>>>10&1023|55296),de=56320|1023&de),xe.push(de),vt+=rt}return function y(fe){var Se=fe.length;if(Se<=l)return String.fromCharCode.apply(String,fe);for(var ge="",xe=0;xe<Se;)ge+=String.fromCharCode.apply(String,fe.slice(xe,xe+=l));return ge}(xe)}Q.kMaxLength=A,!(h.TYPED_ARRAY_SUPPORT=function s(){try{var fe=new Uint8Array(1),Se={foo:function(){return 42}};return Object.setPrototypeOf(Se,Uint8Array.prototype),Object.setPrototypeOf(fe,Se),42===fe.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(h.prototype,"parent",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.buffer}}),Object.defineProperty(h.prototype,"offset",{enumerable:!0,get:function(){if(h.isBuffer(this))return this.byteOffset}}),h.poolSize=8192,h.from=function(fe,Se,ge){return P(fe,Se,ge)},Object.setPrototypeOf(h.prototype,Uint8Array.prototype),Object.setPrototypeOf(h,Uint8Array),h.alloc=function(fe,Se,ge){return function M(fe,Se,ge){return d(fe),fe<=0?C(fe):void 0!==Se?"string"==typeof ge?C(fe).fill(Se,ge):C(fe).fill(Se):C(fe)}(fe,Se,ge)},h.allocUnsafe=function(fe){return w(fe)},h.allocUnsafeSlow=function(fe){return w(fe)},h.isBuffer=function(Se){return null!=Se&&!0===Se._isBuffer&&Se!==h.prototype},h.compare=function(Se,ge){if(ee(Se,Uint8Array)&&(Se=h.from(Se,Se.offset,Se.byteLength)),ee(ge,Uint8Array)&&(ge=h.from(ge,ge.offset,ge.byteLength)),!h.isBuffer(Se)||!h.isBuffer(ge))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Se===ge)return 0;for(var xe=Se.length,vt=ge.length,Ie=0,de=Math.min(xe,vt);Ie<de;++Ie)if(Se[Ie]!==ge[Ie]){xe=Se[Ie],vt=ge[Ie];break}return xe<vt?-1:vt<xe?1:0},h.isEncoding=function(Se){switch(String(Se).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}},h.concat=function(Se,ge){if(!Array.isArray(Se))throw new TypeError('"list" argument must be an Array of Buffers');if(0===Se.length)return h.alloc(0);var xe;if(void 0===ge)for(ge=0,xe=0;xe<Se.length;++xe)ge+=Se[xe].length;var vt=h.allocUnsafe(ge),Ie=0;for(xe=0;xe<Se.length;++xe){var de=Se[xe];if(ee(de,Uint8Array))Ie+de.length>vt.length?h.from(de).copy(vt,Ie):Uint8Array.prototype.set.call(vt,de,Ie);else{if(!h.isBuffer(de))throw new TypeError('"list" argument must be an Array of Buffers');de.copy(vt,Ie)}Ie+=de.length}return vt},h.byteLength=q,h.prototype._isBuffer=!0,h.prototype.swap16=function(){var Se=this.length;if(Se%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var ge=0;ge<Se;ge+=2)pe(this,ge,ge+1);return this},h.prototype.swap32=function(){var Se=this.length;if(Se%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var ge=0;ge<Se;ge+=4)pe(this,ge,ge+3),pe(this,ge+1,ge+2);return this},h.prototype.swap64=function(){var Se=this.length;if(Se%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var ge=0;ge<Se;ge+=8)pe(this,ge,ge+7),pe(this,ge+1,ge+6),pe(this,ge+2,ge+5),pe(this,ge+3,ge+4);return this},h.prototype.toLocaleString=h.prototype.toString=function(){var Se=this.length;return 0===Se?"":0===arguments.length?f(this,0,Se):te.apply(this,arguments)},h.prototype.equals=function(Se){if(!h.isBuffer(Se))throw new TypeError("Argument must be a Buffer");return this===Se||0===h.compare(this,Se)},h.prototype.inspect=function(){var Se="",ge=Q.INSPECT_MAX_BYTES;return Se=this.toString("hex",0,ge).replace(/(.{2})/g,"$1 ").trim(),this.length>ge&&(Se+=" ... "),"<Buffer "+Se+">"},g&&(h.prototype[g]=h.prototype.inspect),h.prototype.compare=function(Se,ge,xe,vt,Ie){if(ee(Se,Uint8Array)&&(Se=h.from(Se,Se.offset,Se.byteLength)),!h.isBuffer(Se))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Se);if(void 0===ge&&(ge=0),void 0===xe&&(xe=Se?Se.length:0),void 0===vt&&(vt=0),void 0===Ie&&(Ie=this.length),ge<0||xe>Se.length||vt<0||Ie>this.length)throw new RangeError("out of range index");if(vt>=Ie&&ge>=xe)return 0;if(vt>=Ie)return-1;if(ge>=xe)return 1;if(this===Se)return 0;for(var de=(Ie>>>=0)-(vt>>>=0),rt=(xe>>>=0)-(ge>>>=0),je=Math.min(de,rt),lt=this.slice(vt,Ie),Nt=Se.slice(ge,xe),Ke=0;Ke<je;++Ke)if(lt[Ke]!==Nt[Ke]){de=lt[Ke],rt=Nt[Ke];break}return de<rt?-1:rt<de?1:0},h.prototype.includes=function(Se,ge,xe){return-1!==this.indexOf(Se,ge,xe)},h.prototype.indexOf=function(Se,ge,xe){return oe(this,Se,ge,xe,!0)},h.prototype.lastIndexOf=function(Se,ge,xe){return oe(this,Se,ge,xe,!1)},h.prototype.write=function(Se,ge,xe,vt){if(void 0===ge)vt="utf8",xe=this.length,ge=0;else if(void 0===xe&&"string"==typeof ge)vt=ge,xe=this.length,ge=0;else{if(!isFinite(ge))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");ge>>>=0,isFinite(xe)?(xe>>>=0,void 0===vt&&(vt="utf8")):(vt=xe,xe=void 0)}var Ie=this.length-ge;if((void 0===xe||xe>Ie)&&(xe=Ie),Se.length>0&&(xe<0||ge<0)||ge>this.length)throw new RangeError("Attempt to write outside buffer bounds");vt||(vt="utf8");for(var de=!1;;)switch(vt){case"hex":return ce(this,Se,ge,xe);case"utf8":case"utf-8":return se(this,Se,ge,xe);case"ascii":case"latin1":case"binary":return he(this,Se,ge,xe);case"base64":return S(this,Se,ge,xe);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i(this,Se,ge,xe);default:if(de)throw new TypeError("Unknown encoding: "+vt);vt=(""+vt).toLowerCase(),de=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var l=4096;function E(fe,Se,ge){var xe="";ge=Math.min(fe.length,ge);for(var vt=Se;vt<ge;++vt)xe+=String.fromCharCode(127&fe[vt]);return xe}function D(fe,Se,ge){var xe="";ge=Math.min(fe.length,ge);for(var vt=Se;vt<ge;++vt)xe+=String.fromCharCode(fe[vt]);return xe}function v(fe,Se,ge){var xe=fe.length;(!Se||Se<0)&&(Se=0),(!ge||ge<0||ge>xe)&&(ge=xe);for(var vt="",Ie=Se;Ie<ge;++Ie)vt+=Oe[fe[Ie]];return vt}function n(fe,Se,ge){for(var xe=fe.slice(Se,ge),vt="",Ie=0;Ie<xe.length-1;Ie+=2)vt+=String.fromCharCode(xe[Ie]+256*xe[Ie+1]);return vt}function b(fe,Se,ge){if(fe%1!=0||fe<0)throw new RangeError("offset is not uint");if(fe+Se>ge)throw new RangeError("Trying to access beyond buffer length")}function V(fe,Se,ge,xe,vt,Ie){if(!h.isBuffer(fe))throw new TypeError('"buffer" argument must be a Buffer instance');if(Se>vt||Se<Ie)throw new RangeError('"value" argument is out of bounds');if(ge+xe>fe.length)throw new RangeError("Index out of range")}function z(fe,Se,ge,xe,vt,Ie){if(ge+xe>fe.length)throw new RangeError("Index out of range");if(ge<0)throw new RangeError("Index out of range")}function Y(fe,Se,ge,xe,vt){return Se=+Se,ge>>>=0,vt||z(fe,0,ge,4),e.write(fe,Se,ge,xe,23,4),ge+4}function Te(fe,Se,ge,xe,vt){return Se=+Se,ge>>>=0,vt||z(fe,0,ge,8),e.write(fe,Se,ge,xe,52,8),ge+8}h.prototype.slice=function(Se,ge){var xe=this.length;(Se=~~Se)<0?(Se+=xe)<0&&(Se=0):Se>xe&&(Se=xe),(ge=void 0===ge?xe:~~ge)<0?(ge+=xe)<0&&(ge=0):ge>xe&&(ge=xe),ge<Se&&(ge=Se);var vt=this.subarray(Se,ge);return Object.setPrototypeOf(vt,h.prototype),vt},h.prototype.readUintLE=h.prototype.readUIntLE=function(Se,ge,xe){Se>>>=0,ge>>>=0,xe||b(Se,ge,this.length);for(var vt=this[Se],Ie=1,de=0;++de<ge&&(Ie*=256);)vt+=this[Se+de]*Ie;return vt},h.prototype.readUintBE=h.prototype.readUIntBE=function(Se,ge,xe){Se>>>=0,ge>>>=0,xe||b(Se,ge,this.length);for(var vt=this[Se+--ge],Ie=1;ge>0&&(Ie*=256);)vt+=this[Se+--ge]*Ie;return vt},h.prototype.readUint8=h.prototype.readUInt8=function(Se,ge){return Se>>>=0,ge||b(Se,1,this.length),this[Se]},h.prototype.readUint16LE=h.prototype.readUInt16LE=function(Se,ge){return Se>>>=0,ge||b(Se,2,this.length),this[Se]|this[Se+1]<<8},h.prototype.readUint16BE=h.prototype.readUInt16BE=function(Se,ge){return Se>>>=0,ge||b(Se,2,this.length),this[Se]<<8|this[Se+1]},h.prototype.readUint32LE=h.prototype.readUInt32LE=function(Se,ge){return Se>>>=0,ge||b(Se,4,this.length),(this[Se]|this[Se+1]<<8|this[Se+2]<<16)+16777216*this[Se+3]},h.prototype.readUint32BE=h.prototype.readUInt32BE=function(Se,ge){return Se>>>=0,ge||b(Se,4,this.length),16777216*this[Se]+(this[Se+1]<<16|this[Se+2]<<8|this[Se+3])},h.prototype.readIntLE=function(Se,ge,xe){Se>>>=0,ge>>>=0,xe||b(Se,ge,this.length);for(var vt=this[Se],Ie=1,de=0;++de<ge&&(Ie*=256);)vt+=this[Se+de]*Ie;return vt>=(Ie*=128)&&(vt-=Math.pow(2,8*ge)),vt},h.prototype.readIntBE=function(Se,ge,xe){Se>>>=0,ge>>>=0,xe||b(Se,ge,this.length);for(var vt=ge,Ie=1,de=this[Se+--vt];vt>0&&(Ie*=256);)de+=this[Se+--vt]*Ie;return de>=(Ie*=128)&&(de-=Math.pow(2,8*ge)),de},h.prototype.readInt8=function(Se,ge){return Se>>>=0,ge||b(Se,1,this.length),128&this[Se]?-1*(255-this[Se]+1):this[Se]},h.prototype.readInt16LE=function(Se,ge){Se>>>=0,ge||b(Se,2,this.length);var xe=this[Se]|this[Se+1]<<8;return 32768&xe?4294901760|xe:xe},h.prototype.readInt16BE=function(Se,ge){Se>>>=0,ge||b(Se,2,this.length);var xe=this[Se+1]|this[Se]<<8;return 32768&xe?4294901760|xe:xe},h.prototype.readInt32LE=function(Se,ge){return Se>>>=0,ge||b(Se,4,this.length),this[Se]|this[Se+1]<<8|this[Se+2]<<16|this[Se+3]<<24},h.prototype.readInt32BE=function(Se,ge){return Se>>>=0,ge||b(Se,4,this.length),this[Se]<<24|this[Se+1]<<16|this[Se+2]<<8|this[Se+3]},h.prototype.readFloatLE=function(Se,ge){return Se>>>=0,ge||b(Se,4,this.length),e.read(this,Se,!0,23,4)},h.prototype.readFloatBE=function(Se,ge){return Se>>>=0,ge||b(Se,4,this.length),e.read(this,Se,!1,23,4)},h.prototype.readDoubleLE=function(Se,ge){return Se>>>=0,ge||b(Se,8,this.length),e.read(this,Se,!0,52,8)},h.prototype.readDoubleBE=function(Se,ge){return Se>>>=0,ge||b(Se,8,this.length),e.read(this,Se,!1,52,8)},h.prototype.writeUintLE=h.prototype.writeUIntLE=function(Se,ge,xe,vt){Se=+Se,ge>>>=0,xe>>>=0,vt||V(this,Se,ge,xe,Math.pow(2,8*xe)-1,0);var de=1,rt=0;for(this[ge]=255&Se;++rt<xe&&(de*=256);)this[ge+rt]=Se/de&255;return ge+xe},h.prototype.writeUintBE=h.prototype.writeUIntBE=function(Se,ge,xe,vt){Se=+Se,ge>>>=0,xe>>>=0,vt||V(this,Se,ge,xe,Math.pow(2,8*xe)-1,0);var de=xe-1,rt=1;for(this[ge+de]=255&Se;--de>=0&&(rt*=256);)this[ge+de]=Se/rt&255;return ge+xe},h.prototype.writeUint8=h.prototype.writeUInt8=function(Se,ge,xe){return Se=+Se,ge>>>=0,xe||V(this,Se,ge,1,255,0),this[ge]=255&Se,ge+1},h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(Se,ge,xe){return Se=+Se,ge>>>=0,xe||V(this,Se,ge,2,65535,0),this[ge]=255&Se,this[ge+1]=Se>>>8,ge+2},h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(Se,ge,xe){return Se=+Se,ge>>>=0,xe||V(this,Se,ge,2,65535,0),this[ge]=Se>>>8,this[ge+1]=255&Se,ge+2},h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(Se,ge,xe){return Se=+Se,ge>>>=0,xe||V(this,Se,ge,4,4294967295,0),this[ge+3]=Se>>>24,this[ge+2]=Se>>>16,this[ge+1]=Se>>>8,this[ge]=255&Se,ge+4},h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(Se,ge,xe){return Se=+Se,ge>>>=0,xe||V(this,Se,ge,4,4294967295,0),this[ge]=Se>>>24,this[ge+1]=Se>>>16,this[ge+2]=Se>>>8,this[ge+3]=255&Se,ge+4},h.prototype.writeIntLE=function(Se,ge,xe,vt){if(Se=+Se,ge>>>=0,!vt){var Ie=Math.pow(2,8*xe-1);V(this,Se,ge,xe,Ie-1,-Ie)}var de=0,rt=1,je=0;for(this[ge]=255&Se;++de<xe&&(rt*=256);)Se<0&&0===je&&0!==this[ge+de-1]&&(je=1),this[ge+de]=(Se/rt>>0)-je&255;return ge+xe},h.prototype.writeIntBE=function(Se,ge,xe,vt){if(Se=+Se,ge>>>=0,!vt){var Ie=Math.pow(2,8*xe-1);V(this,Se,ge,xe,Ie-1,-Ie)}var de=xe-1,rt=1,je=0;for(this[ge+de]=255&Se;--de>=0&&(rt*=256);)Se<0&&0===je&&0!==this[ge+de+1]&&(je=1),this[ge+de]=(Se/rt>>0)-je&255;return ge+xe},h.prototype.writeInt8=function(Se,ge,xe){return Se=+Se,ge>>>=0,xe||V(this,Se,ge,1,127,-128),Se<0&&(Se=255+Se+1),this[ge]=255&Se,ge+1},h.prototype.writeInt16LE=function(Se,ge,xe){return Se=+Se,ge>>>=0,xe||V(this,Se,ge,2,32767,-32768),this[ge]=255&Se,this[ge+1]=Se>>>8,ge+2},h.prototype.writeInt16BE=function(Se,ge,xe){return Se=+Se,ge>>>=0,xe||V(this,Se,ge,2,32767,-32768),this[ge]=Se>>>8,this[ge+1]=255&Se,ge+2},h.prototype.writeInt32LE=function(Se,ge,xe){return Se=+Se,ge>>>=0,xe||V(this,Se,ge,4,2147483647,-2147483648),this[ge]=255&Se,this[ge+1]=Se>>>8,this[ge+2]=Se>>>16,this[ge+3]=Se>>>24,ge+4},h.prototype.writeInt32BE=function(Se,ge,xe){return Se=+Se,ge>>>=0,xe||V(this,Se,ge,4,2147483647,-2147483648),Se<0&&(Se=4294967295+Se+1),this[ge]=Se>>>24,this[ge+1]=Se>>>16,this[ge+2]=Se>>>8,this[ge+3]=255&Se,ge+4},h.prototype.writeFloatLE=function(Se,ge,xe){return Y(this,Se,ge,!0,xe)},h.prototype.writeFloatBE=function(Se,ge,xe){return Y(this,Se,ge,!1,xe)},h.prototype.writeDoubleLE=function(Se,ge,xe){return Te(this,Se,ge,!0,xe)},h.prototype.writeDoubleBE=function(Se,ge,xe){return Te(this,Se,ge,!1,xe)},h.prototype.copy=function(Se,ge,xe,vt){if(!h.isBuffer(Se))throw new TypeError("argument should be a Buffer");if(xe||(xe=0),!vt&&0!==vt&&(vt=this.length),ge>=Se.length&&(ge=Se.length),ge||(ge=0),vt>0&&vt<xe&&(vt=xe),vt===xe||0===Se.length||0===this.length)return 0;if(ge<0)throw new RangeError("targetStart out of bounds");if(xe<0||xe>=this.length)throw new RangeError("Index out of range");if(vt<0)throw new RangeError("sourceEnd out of bounds");vt>this.length&&(vt=this.length),Se.length-ge<vt-xe&&(vt=Se.length-ge+xe);var Ie=vt-xe;return this===Se&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(ge,xe,vt):Uint8Array.prototype.set.call(Se,this.subarray(xe,vt),ge),Ie},h.prototype.fill=function(Se,ge,xe,vt){if("string"==typeof Se){if("string"==typeof ge?(vt=ge,ge=0,xe=this.length):"string"==typeof xe&&(vt=xe,xe=this.length),void 0!==vt&&"string"!=typeof vt)throw new TypeError("encoding must be a string");if("string"==typeof vt&&!h.isEncoding(vt))throw new TypeError("Unknown encoding: "+vt);if(1===Se.length){var Ie=Se.charCodeAt(0);("utf8"===vt&&Ie<128||"latin1"===vt)&&(Se=Ie)}}else"number"==typeof Se?Se&=255:"boolean"==typeof Se&&(Se=Number(Se));if(ge<0||this.length<ge||this.length<xe)throw new RangeError("Out of range index");if(xe<=ge)return this;var de;if(ge>>>=0,xe=void 0===xe?this.length:xe>>>0,Se||(Se=0),"number"==typeof Se)for(de=ge;de<xe;++de)this[de]=Se;else{var rt=h.isBuffer(Se)?Se:h.from(Se,vt),je=rt.length;if(0===je)throw new TypeError('The value "'+Se+'" is invalid for argument "value"');for(de=0;de<xe-ge;++de)this[de+ge]=rt[de%je]}return this};var $e=/[^+/0-9A-Za-z-_]/g;function We(fe,Se){Se=Se||1/0;for(var ge,xe=fe.length,vt=null,Ie=[],de=0;de<xe;++de){if((ge=fe.charCodeAt(de))>55295&&ge<57344){if(!vt){if(ge>56319){(Se-=3)>-1&&Ie.push(239,191,189);continue}if(de+1===xe){(Se-=3)>-1&&Ie.push(239,191,189);continue}vt=ge;continue}if(ge<56320){(Se-=3)>-1&&Ie.push(239,191,189),vt=ge;continue}ge=65536+(vt-55296<<10|ge-56320)}else vt&&(Se-=3)>-1&&Ie.push(239,191,189);if(vt=null,ge<128){if((Se-=1)<0)break;Ie.push(ge)}else if(ge<2048){if((Se-=2)<0)break;Ie.push(ge>>6|192,63&ge|128)}else if(ge<65536){if((Se-=3)<0)break;Ie.push(ge>>12|224,ge>>6&63|128,63&ge|128)}else{if(!(ge<1114112))throw new Error("Invalid code point");if((Se-=4)<0)break;Ie.push(ge>>18|240,ge>>12&63|128,ge>>6&63|128,63&ge|128)}}return Ie}function me(fe){return t.toByteArray(function Ve(fe){if((fe=(fe=fe.split("=")[0]).trim().replace($e,"")).length<2)return"";for(;fe.length%4!=0;)fe+="=";return fe}(fe))}function Ae(fe,Se,ge,xe){for(var vt=0;vt<xe&&!(vt+ge>=Se.length||vt>=fe.length);++vt)Se[vt+ge]=fe[vt];return vt}function ee(fe,Se){return fe instanceof Se||null!=fe&&null!=fe.constructor&&null!=fe.constructor.name&&fe.constructor.name===Se.name}function Ze(fe){return fe!=fe}var Oe=function(){for(var fe="0123456789abcdef",Se=new Array(256),ge=0;ge<16;++ge)for(var xe=16*ge,vt=0;vt<16;++vt)Se[xe+vt]=fe[ge]+fe[vt];return Se}()},1052:(Be,Q,m)=>{var t=m(3502).Buffer,e=m(295).Transform,g=m(3054).s;function s(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)(s,e),s.prototype.update=function(C,h,P){"string"==typeof C&&(C=t.from(C,h));var d=this._update(C);return this.hashMode?this:(P&&(d=this._toString(d,P)),d)},s.prototype.setAutoPadding=function(){},s.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},s.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},s.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},s.prototype._transform=function(C,h,P){var d;try{this.hashMode?this._update(C):this.push(this._update(C))}catch(M){d=M}finally{P(d)}},s.prototype._flush=function(C){var h;try{this.push(this.__final())}catch(P){h=P}C(h)},s.prototype._finalOrDigest=function(C){var h=this.__final()||t.alloc(0);return C&&(h=this._toString(h,C,!0)),h},s.prototype._toString=function(C,h,P){if(this._decoder||(this._decoder=new g(h),this._encoding=h),this._encoding!==h)throw new Error("can't switch encodings");var d=this._decoder.write(C);return P&&(d+=this._decoder.end()),d},Be.exports=s},6128:function(Be){!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)})}};Be.exports?Be.exports=m:Q.convertHex=m}(this)},5612:function(Be){!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)))}},Be.exports?Be.exports=m:Q.convertString=m}(this)},4746:(Be,Q,m)=>{var t=m(7715),e=m(6422);Be.exports=function(h){return new A(h)};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 s(C,h,P){Array.isArray(C)||(C=C.toArray());var d=new Buffer(C);if(P&&d.length<P){var M=new Buffer(P-d.length);M.fill(0),d=Buffer.concat([M,d])}return h?d.toString(h):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,h){return this.keys=this.curve.genKeyPair(),this.getPublicKey(C,h)},A.prototype.computeSecret=function(C,h,P){return h=h||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,h)),s(this.curve.keyFromPublic(C).getPublic().mul(this.keys.getPrivate()).getX(),P,this.curveType.byteLength)},A.prototype.getPublicKey=function(C,h){var P=this.keys.getPublic("compressed"===h,!0);return"hybrid"===h&&(P[0]=P[P.length-1]%2?7:6),s(P,C)},A.prototype.getPrivateKey=function(C){return s(this.keys.getPrivate(),C)},A.prototype.setPublicKey=function(C,h){return h=h||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,h)),this.keys._importPublic(C),this},A.prototype.setPrivateKey=function(C,h){h=h||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,h));var P=new e(C);return P=P.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(P),this}},6422:function(Be,Q,m){!function(t,e){"use strict";function g(S,i){if(!S)throw new Error(i||"Assertion failed")}function A(S,i){S.super_=i;var a=function(){};a.prototype=i.prototype,S.prototype=new a,S.prototype.constructor=S}function s(S,i,a){if(s.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===i||"be"===i)&&(a=i,i=10),this._init(S||0,i||10,a||"be"))}var C;"object"==typeof t?t.exports=s:e.BN=s,s.BN=s,s.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(8623).Buffer}catch{}function h(S,i){var a=S.charCodeAt(i);return a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:a-48&15}function P(S,i,a){var f=h(S,a);return a-1>=i&&(f|=h(S,a-1)<<4),f}function d(S,i,a,f){for(var l=0,y=Math.min(S.length,a),E=i;E<y;E++){var D=S.charCodeAt(E)-48;l*=f,l+=D>=49?D-49+10:D>=17?D-17+10:D}return l}s.isBN=function(i){return i instanceof s||null!==i&&"object"==typeof i&&i.constructor.wordSize===s.wordSize&&Array.isArray(i.words)},s.max=function(i,a){return i.cmp(a)>0?i:a},s.min=function(i,a){return i.cmp(a)<0?i:a},s.prototype._init=function(i,a,f){if("number"==typeof i)return this._initNumber(i,a,f);if("object"==typeof i)return this._initArray(i,a,f);"hex"===a&&(a=16),g(a===(0|a)&&a>=2&&a<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===a?this._parseHex(i,l,f):(this._parseBase(i,a,l),"le"===f&&this._initArray(this.toArray(),a,f)))},s.prototype._initNumber=function(i,a,f){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"===f&&this._initArray(this.toArray(),a,f)},s.prototype._initArray=function(i,a,f){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 l=0;l<this.length;l++)this.words[l]=0;var y,E,D=0;if("be"===f)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(E=i[l]|i[l-1]<<8|i[l-2]<<16)<<D&67108863,this.words[y+1]=E>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);else if("le"===f)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(E=i[l]|i[l+1]<<8|i[l+2]<<16)<<D&67108863,this.words[y+1]=E>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);return this.strip()},s.prototype._parseHex=function(i,a,f){this.length=Math.ceil((i.length-a)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var D,y=0,E=0;if("be"===f)for(l=i.length-1;l>=a;l-=2)D=P(i,a,l)<<y,this.words[E]|=67108863&D,y>=18?(y-=18,this.words[E+=1]|=D>>>26):y+=8;else for(l=(i.length-a)%2==0?a+1:a;l<i.length;l+=2)D=P(i,a,l)<<y,this.words[E]|=67108863&D,y>=18?(y-=18,this.words[E+=1]|=D>>>26):y+=8;this.strip()},s.prototype._parseBase=function(i,a,f){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=a)l++;l--,y=y/a|0;for(var E=i.length-f,D=E%l,v=Math.min(E,E-D)+f,n=0,b=f;b<v;b+=l)n=d(i,b,b+l,a),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==D){var V=1;for(n=d(i,b,i.length,a),b=0;b<D;b++)V*=a;this.imuln(V),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},s.prototype.copy=function(i){i.words=new Array(this.length);for(var a=0;a<this.length;a++)i.words[a]=this.words[a];i.length=this.length,i.negative=this.negative,i.red=this.red},s.prototype.clone=function(){var i=new s(null);return this.copy(i),i},s.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.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],I=[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 O(S,i,a){a.negative=i.negative^S.negative;var f=S.length+i.length|0;a.length=f,f=f-1|0;var l=0|S.words[0],y=0|i.words[0],E=l*y,v=E/67108864|0;a.words[0]=67108863&E;for(var n=1;n<f;n++){for(var b=v>>>26,V=67108863&v,z=Math.min(n,i.length-1),Y=Math.max(0,n-S.length+1);Y<=z;Y++)b+=(E=(l=0|S.words[n-Y|0])*(y=0|i.words[Y])+V)/67108864|0,V=67108863&E;a.words[n]=0|V,v=0|b}return 0!==v?a.words[n]=0|v:a.length--,a.strip()}s.prototype.toString=function(i,a){var f;if(a=0|a||1,16===(i=i||10)||"hex"===i){f="";for(var l=0,y=0,E=0;E<this.length;E++){var D=this.words[E],v=(16777215&(D<<l|y)).toString(16);f=0!=(y=D>>>24-l&16777215)||E!==this.length-1?M[6-v.length]+v+f:v+f,(l+=2)>=26&&(l-=26,E--)}for(0!==y&&(f=y.toString(16)+f);f.length%a!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=I[i];f="";var V=this.clone();for(V.negative=0;!V.isZero();){var z=V.modn(b).toString(i);f=(V=V.idivn(b)).isZero()?z+f:M[n-z.length]+z+f}for(this.isZero()&&(f="0"+f);f.length%a!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}g(!1,"Base should be between 2 and 36")},s.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},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(i,a){return g(typeof C<"u"),this.toArrayLike(C,i,a)},s.prototype.toArray=function(i,a){return this.toArrayLike(Array,i,a)},s.prototype.toArrayLike=function(i,a,f){var l=this.byteLength(),y=f||Math.max(1,l);g(l<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var v,n,E="le"===a,D=new i(y),b=this.clone();if(E){for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),D[n]=v;for(;n<y;n++)D[n]=0}else{for(n=0;n<y-l;n++)D[n]=0;for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),D[y-n-1]=v}return D},s.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var a=i,f=0;return a>=4096&&(f+=13,a>>>=13),a>=64&&(f+=7,a>>>=7),a>=8&&(f+=4,a>>>=4),a>=2&&(f+=2,a>>>=2),f+a},s.prototype._zeroBits=function(i){if(0===i)return 26;var a=i,f=0;return 8191&a||(f+=13,a>>>=13),127&a||(f+=7,a>>>=7),15&a||(f+=4,a>>>=4),3&a||(f+=2,a>>>=2),1&a||f++,f},s.prototype.bitLength=function(){var a=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+a},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,a=0;a<this.length;a++){var f=this._zeroBits(this.words[a]);if(i+=f,26!==f)break}return i},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},s.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var a=0;a<i.length;a++)this.words[a]=this.words[a]|i.words[a];return this.strip()},s.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},s.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},s.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},s.prototype.iuand=function(i){var a;a=this.length>i.length?i:this;for(var f=0;f<a.length;f++)this.words[f]=this.words[f]&i.words[f];return this.length=a.length,this.strip()},s.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},s.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},s.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},s.prototype.iuxor=function(i){var a,f;this.length>i.length?(a=this,f=i):(a=i,f=this);for(var l=0;l<f.length;l++)this.words[l]=a.words[l]^f.words[l];if(this!==a)for(;l<a.length;l++)this.words[l]=a.words[l];return this.length=a.length,this.strip()},s.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},s.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},s.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},s.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var a=0|Math.ceil(i/26),f=i%26;this._expand(a),f>0&&a--;for(var l=0;l<a;l++)this.words[l]=67108863&~this.words[l];return f>0&&(this.words[l]=~this.words[l]&67108863>>26-f),this.strip()},s.prototype.notn=function(i){return this.clone().inotn(i)},s.prototype.setn=function(i,a){g("number"==typeof i&&i>=0);var f=i/26|0,l=i%26;return this._expand(f+1),this.words[f]=a?this.words[f]|1<<l:this.words[f]&~(1<<l),this.strip()},s.prototype.iadd=function(i){var a,f,l;if(0!==this.negative&&0===i.negative)return this.negative=0,a=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,a=this.isub(i),i.negative=1,a._normSign();this.length>i.length?(f=this,l=i):(f=i,l=this);for(var y=0,E=0;E<l.length;E++)this.words[E]=67108863&(a=(0|f.words[E])+(0|l.words[E])+y),y=a>>>26;for(;0!==y&&E<f.length;E++)this.words[E]=67108863&(a=(0|f.words[E])+y),y=a>>>26;if(this.length=f.length,0!==y)this.words[this.length]=y,this.length++;else if(f!==this)for(;E<f.length;E++)this.words[E]=f.words[E];return this},s.prototype.add=function(i){var a;return 0!==i.negative&&0===this.negative?(i.negative=0,a=this.sub(i),i.negative^=1,a):0===i.negative&&0!==this.negative?(this.negative=0,a=i.sub(this),this.negative=1,a):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},s.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var a=this.iadd(i);return i.negative=1,a._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,f=this.cmp(i);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(l=this,y=i):(l=i,y=this);for(var E=0,D=0;D<y.length;D++)E=(a=(0|l.words[D])-(0|y.words[D])+E)>>26,this.words[D]=67108863&a;for(;0!==E&&D<l.length;D++)E=(a=(0|l.words[D])+E)>>26,this.words[D]=67108863&a;if(0===E&&D<l.length&&l!==this)for(;D<l.length;D++)this.words[D]=l.words[D];return this.length=Math.max(this.length,D),l!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(i){return this.clone().isub(i)};var U=function(i,a,f){var v,n,b,l=i.words,y=a.words,E=f.words,D=0,V=0|l[0],z=8191&V,Y=V>>>13,Te=0|l[1],$e=8191&Te,Ve=Te>>>13,We=0|l[2],Re=8191&We,we=We>>>13,me=0|l[3],Ae=8191&me,ee=me>>>13,Ze=0|l[4],Oe=8191&Ze,fe=Ze>>>13,Se=0|l[5],ge=8191&Se,xe=Se>>>13,vt=0|l[6],Ie=8191&vt,de=vt>>>13,rt=0|l[7],je=8191&rt,lt=rt>>>13,Nt=0|l[8],Ke=8191&Nt,at=Nt>>>13,Ct=0|l[9],ye=8191&Ct,Qe=Ct>>>13,Le=0|y[0],J=8191&Le,mt=Le>>>13,St=0|y[1],nt=8191&St,Ye=St>>>13,zt=0|y[2],xt=8191&zt,Ht=zt>>>13,Ut=0|y[3],De=8191&Ut,X=Ut>>>13,ue=0|y[4],Ee=8191&ue,qe=ue>>>13,Xt=0|y[5],Vt=8191&Xt,ri=Xt>>>13,pt=0|y[6],ot=8191&pt,ut=pt>>>13,wt=0|y[7],ft=8191&wt,Xe=wt>>>13,gt=0|y[8],_t=8191&gt,Fe=gt>>>13,Mt=0|y[9],Et=8191&Mt,Yt=Mt>>>13;f.negative=i.negative^a.negative,f.length=19;var Fi=(D+(v=Math.imul(z,J))|0)+((8191&(n=(n=Math.imul(z,mt))+Math.imul(Y,J)|0))<<13)|0;D=((b=Math.imul(Y,mt))+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,v=Math.imul($e,J),n=(n=Math.imul($e,mt))+Math.imul(Ve,J)|0,b=Math.imul(Ve,mt);var Ri=(D+(v=v+Math.imul(z,nt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ye)|0)+Math.imul(Y,nt)|0))<<13)|0;D=((b=b+Math.imul(Y,Ye)|0)+(n>>>13)|0)+(Ri>>>26)|0,Ri&=67108863,v=Math.imul(Re,J),n=(n=Math.imul(Re,mt))+Math.imul(we,J)|0,b=Math.imul(we,mt),v=v+Math.imul($e,nt)|0,n=(n=n+Math.imul($e,Ye)|0)+Math.imul(Ve,nt)|0,b=b+Math.imul(Ve,Ye)|0;var Ci=(D+(v=v+Math.imul(z,xt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ht)|0)+Math.imul(Y,xt)|0))<<13)|0;D=((b=b+Math.imul(Y,Ht)|0)+(n>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,v=Math.imul(Ae,J),n=(n=Math.imul(Ae,mt))+Math.imul(ee,J)|0,b=Math.imul(ee,mt),v=v+Math.imul(Re,nt)|0,n=(n=n+Math.imul(Re,Ye)|0)+Math.imul(we,nt)|0,b=b+Math.imul(we,Ye)|0,v=v+Math.imul($e,xt)|0,n=(n=n+Math.imul($e,Ht)|0)+Math.imul(Ve,xt)|0,b=b+Math.imul(Ve,Ht)|0;var Bi=(D+(v=v+Math.imul(z,De)|0)|0)+((8191&(n=(n=n+Math.imul(z,X)|0)+Math.imul(Y,De)|0))<<13)|0;D=((b=b+Math.imul(Y,X)|0)+(n>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Oe,J),n=(n=Math.imul(Oe,mt))+Math.imul(fe,J)|0,b=Math.imul(fe,mt),v=v+Math.imul(Ae,nt)|0,n=(n=n+Math.imul(Ae,Ye)|0)+Math.imul(ee,nt)|0,b=b+Math.imul(ee,Ye)|0,v=v+Math.imul(Re,xt)|0,n=(n=n+Math.imul(Re,Ht)|0)+Math.imul(we,xt)|0,b=b+Math.imul(we,Ht)|0,v=v+Math.imul($e,De)|0,n=(n=n+Math.imul($e,X)|0)+Math.imul(Ve,De)|0,b=b+Math.imul(Ve,X)|0;var Je=(D+(v=v+Math.imul(z,Ee)|0)|0)+((8191&(n=(n=n+Math.imul(z,qe)|0)+Math.imul(Y,Ee)|0))<<13)|0;D=((b=b+Math.imul(Y,qe)|0)+(n>>>13)|0)+(Je>>>26)|0,Je&=67108863,v=Math.imul(ge,J),n=(n=Math.imul(ge,mt))+Math.imul(xe,J)|0,b=Math.imul(xe,mt),v=v+Math.imul(Oe,nt)|0,n=(n=n+Math.imul(Oe,Ye)|0)+Math.imul(fe,nt)|0,b=b+Math.imul(fe,Ye)|0,v=v+Math.imul(Ae,xt)|0,n=(n=n+Math.imul(Ae,Ht)|0)+Math.imul(ee,xt)|0,b=b+Math.imul(ee,Ht)|0,v=v+Math.imul(Re,De)|0,n=(n=n+Math.imul(Re,X)|0)+Math.imul(we,De)|0,b=b+Math.imul(we,X)|0,v=v+Math.imul($e,Ee)|0,n=(n=n+Math.imul($e,qe)|0)+Math.imul(Ve,Ee)|0,b=b+Math.imul(Ve,qe)|0;var Dt=(D+(v=v+Math.imul(z,Vt)|0)|0)+((8191&(n=(n=n+Math.imul(z,ri)|0)+Math.imul(Y,Vt)|0))<<13)|0;D=((b=b+Math.imul(Y,ri)|0)+(n>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Ie,J),n=(n=Math.imul(Ie,mt))+Math.imul(de,J)|0,b=Math.imul(de,mt),v=v+Math.imul(ge,nt)|0,n=(n=n+Math.imul(ge,Ye)|0)+Math.imul(xe,nt)|0,b=b+Math.imul(xe,Ye)|0,v=v+Math.imul(Oe,xt)|0,n=(n=n+Math.imul(Oe,Ht)|0)+Math.imul(fe,xt)|0,b=b+Math.imul(fe,Ht)|0,v=v+Math.imul(Ae,De)|0,n=(n=n+Math.imul(Ae,X)|0)+Math.imul(ee,De)|0,b=b+Math.imul(ee,X)|0,v=v+Math.imul(Re,Ee)|0,n=(n=n+Math.imul(Re,qe)|0)+Math.imul(we,Ee)|0,b=b+Math.imul(we,qe)|0,v=v+Math.imul($e,Vt)|0,n=(n=n+Math.imul($e,ri)|0)+Math.imul(Ve,Vt)|0,b=b+Math.imul(Ve,ri)|0;var be=(D+(v=v+Math.imul(z,ot)|0)|0)+((8191&(n=(n=n+Math.imul(z,ut)|0)+Math.imul(Y,ot)|0))<<13)|0;D=((b=b+Math.imul(Y,ut)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,v=Math.imul(je,J),n=(n=Math.imul(je,mt))+Math.imul(lt,J)|0,b=Math.imul(lt,mt),v=v+Math.imul(Ie,nt)|0,n=(n=n+Math.imul(Ie,Ye)|0)+Math.imul(de,nt)|0,b=b+Math.imul(de,Ye)|0,v=v+Math.imul(ge,xt)|0,n=(n=n+Math.imul(ge,Ht)|0)+Math.imul(xe,xt)|0,b=b+Math.imul(xe,Ht)|0,v=v+Math.imul(Oe,De)|0,n=(n=n+Math.imul(Oe,X)|0)+Math.imul(fe,De)|0,b=b+Math.imul(fe,X)|0,v=v+Math.imul(Ae,Ee)|0,n=(n=n+Math.imul(Ae,qe)|0)+Math.imul(ee,Ee)|0,b=b+Math.imul(ee,qe)|0,v=v+Math.imul(Re,Vt)|0,n=(n=n+Math.imul(Re,ri)|0)+Math.imul(we,Vt)|0,b=b+Math.imul(we,ri)|0,v=v+Math.imul($e,ot)|0,n=(n=n+Math.imul($e,ut)|0)+Math.imul(Ve,ot)|0,b=b+Math.imul(Ve,ut)|0;var Tt=(D+(v=v+Math.imul(z,ft)|0)|0)+((8191&(n=(n=n+Math.imul(z,Xe)|0)+Math.imul(Y,ft)|0))<<13)|0;D=((b=b+Math.imul(Y,Xe)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,v=Math.imul(Ke,J),n=(n=Math.imul(Ke,mt))+Math.imul(at,J)|0,b=Math.imul(at,mt),v=v+Math.imul(je,nt)|0,n=(n=n+Math.imul(je,Ye)|0)+Math.imul(lt,nt)|0,b=b+Math.imul(lt,Ye)|0,v=v+Math.imul(Ie,xt)|0,n=(n=n+Math.imul(Ie,Ht)|0)+Math.imul(de,xt)|0,b=b+Math.imul(de,Ht)|0,v=v+Math.imul(ge,De)|0,n=(n=n+Math.imul(ge,X)|0)+Math.imul(xe,De)|0,b=b+Math.imul(xe,X)|0,v=v+Math.imul(Oe,Ee)|0,n=(n=n+Math.imul(Oe,qe)|0)+Math.imul(fe,Ee)|0,b=b+Math.imul(fe,qe)|0,v=v+Math.imul(Ae,Vt)|0,n=(n=n+Math.imul(Ae,ri)|0)+Math.imul(ee,Vt)|0,b=b+Math.imul(ee,ri)|0,v=v+Math.imul(Re,ot)|0,n=(n=n+Math.imul(Re,ut)|0)+Math.imul(we,ot)|0,b=b+Math.imul(we,ut)|0,v=v+Math.imul($e,ft)|0,n=(n=n+Math.imul($e,Xe)|0)+Math.imul(Ve,ft)|0,b=b+Math.imul(Ve,Xe)|0;var Wt=(D+(v=v+Math.imul(z,_t)|0)|0)+((8191&(n=(n=n+Math.imul(z,Fe)|0)+Math.imul(Y,_t)|0))<<13)|0;D=((b=b+Math.imul(Y,Fe)|0)+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,v=Math.imul(ye,J),n=(n=Math.imul(ye,mt))+Math.imul(Qe,J)|0,b=Math.imul(Qe,mt),v=v+Math.imul(Ke,nt)|0,n=(n=n+Math.imul(Ke,Ye)|0)+Math.imul(at,nt)|0,b=b+Math.imul(at,Ye)|0,v=v+Math.imul(je,xt)|0,n=(n=n+Math.imul(je,Ht)|0)+Math.imul(lt,xt)|0,b=b+Math.imul(lt,Ht)|0,v=v+Math.imul(Ie,De)|0,n=(n=n+Math.imul(Ie,X)|0)+Math.imul(de,De)|0,b=b+Math.imul(de,X)|0,v=v+Math.imul(ge,Ee)|0,n=(n=n+Math.imul(ge,qe)|0)+Math.imul(xe,Ee)|0,b=b+Math.imul(xe,qe)|0,v=v+Math.imul(Oe,Vt)|0,n=(n=n+Math.imul(Oe,ri)|0)+Math.imul(fe,Vt)|0,b=b+Math.imul(fe,ri)|0,v=v+Math.imul(Ae,ot)|0,n=(n=n+Math.imul(Ae,ut)|0)+Math.imul(ee,ot)|0,b=b+Math.imul(ee,ut)|0,v=v+Math.imul(Re,ft)|0,n=(n=n+Math.imul(Re,Xe)|0)+Math.imul(we,ft)|0,b=b+Math.imul(we,Xe)|0,v=v+Math.imul($e,_t)|0,n=(n=n+Math.imul($e,Fe)|0)+Math.imul(Ve,_t)|0,b=b+Math.imul(Ve,Fe)|0;var ci=(D+(v=v+Math.imul(z,Et)|0)|0)+((8191&(n=(n=n+Math.imul(z,Yt)|0)+Math.imul(Y,Et)|0))<<13)|0;D=((b=b+Math.imul(Y,Yt)|0)+(n>>>13)|0)+(ci>>>26)|0,ci&=67108863,v=Math.imul(ye,nt),n=(n=Math.imul(ye,Ye))+Math.imul(Qe,nt)|0,b=Math.imul(Qe,Ye),v=v+Math.imul(Ke,xt)|0,n=(n=n+Math.imul(Ke,Ht)|0)+Math.imul(at,xt)|0,b=b+Math.imul(at,Ht)|0,v=v+Math.imul(je,De)|0,n=(n=n+Math.imul(je,X)|0)+Math.imul(lt,De)|0,b=b+Math.imul(lt,X)|0,v=v+Math.imul(Ie,Ee)|0,n=(n=n+Math.imul(Ie,qe)|0)+Math.imul(de,Ee)|0,b=b+Math.imul(de,qe)|0,v=v+Math.imul(ge,Vt)|0,n=(n=n+Math.imul(ge,ri)|0)+Math.imul(xe,Vt)|0,b=b+Math.imul(xe,ri)|0,v=v+Math.imul(Oe,ot)|0,n=(n=n+Math.imul(Oe,ut)|0)+Math.imul(fe,ot)|0,b=b+Math.imul(fe,ut)|0,v=v+Math.imul(Ae,ft)|0,n=(n=n+Math.imul(Ae,Xe)|0)+Math.imul(ee,ft)|0,b=b+Math.imul(ee,Xe)|0,v=v+Math.imul(Re,_t)|0,n=(n=n+Math.imul(Re,Fe)|0)+Math.imul(we,_t)|0,b=b+Math.imul(we,Fe)|0;var Ai=(D+(v=v+Math.imul($e,Et)|0)|0)+((8191&(n=(n=n+Math.imul($e,Yt)|0)+Math.imul(Ve,Et)|0))<<13)|0;D=((b=b+Math.imul(Ve,Yt)|0)+(n>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,v=Math.imul(ye,xt),n=(n=Math.imul(ye,Ht))+Math.imul(Qe,xt)|0,b=Math.imul(Qe,Ht),v=v+Math.imul(Ke,De)|0,n=(n=n+Math.imul(Ke,X)|0)+Math.imul(at,De)|0,b=b+Math.imul(at,X)|0,v=v+Math.imul(je,Ee)|0,n=(n=n+Math.imul(je,qe)|0)+Math.imul(lt,Ee)|0,b=b+Math.imul(lt,qe)|0,v=v+Math.imul(Ie,Vt)|0,n=(n=n+Math.imul(Ie,ri)|0)+Math.imul(de,Vt)|0,b=b+Math.imul(de,ri)|0,v=v+Math.imul(ge,ot)|0,n=(n=n+Math.imul(ge,ut)|0)+Math.imul(xe,ot)|0,b=b+Math.imul(xe,ut)|0,v=v+Math.imul(Oe,ft)|0,n=(n=n+Math.imul(Oe,Xe)|0)+Math.imul(fe,ft)|0,b=b+Math.imul(fe,Xe)|0,v=v+Math.imul(Ae,_t)|0,n=(n=n+Math.imul(Ae,Fe)|0)+Math.imul(ee,_t)|0,b=b+Math.imul(ee,Fe)|0;var ki=(D+(v=v+Math.imul(Re,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Re,Yt)|0)+Math.imul(we,Et)|0))<<13)|0;D=((b=b+Math.imul(we,Yt)|0)+(n>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(ye,De),n=(n=Math.imul(ye,X))+Math.imul(Qe,De)|0,b=Math.imul(Qe,X),v=v+Math.imul(Ke,Ee)|0,n=(n=n+Math.imul(Ke,qe)|0)+Math.imul(at,Ee)|0,b=b+Math.imul(at,qe)|0,v=v+Math.imul(je,Vt)|0,n=(n=n+Math.imul(je,ri)|0)+Math.imul(lt,Vt)|0,b=b+Math.imul(lt,ri)|0,v=v+Math.imul(Ie,ot)|0,n=(n=n+Math.imul(Ie,ut)|0)+Math.imul(de,ot)|0,b=b+Math.imul(de,ut)|0,v=v+Math.imul(ge,ft)|0,n=(n=n+Math.imul(ge,Xe)|0)+Math.imul(xe,ft)|0,b=b+Math.imul(xe,Xe)|0,v=v+Math.imul(Oe,_t)|0,n=(n=n+Math.imul(Oe,Fe)|0)+Math.imul(fe,_t)|0,b=b+Math.imul(fe,Fe)|0;var Yi=(D+(v=v+Math.imul(Ae,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Yt)|0)+Math.imul(ee,Et)|0))<<13)|0;D=((b=b+Math.imul(ee,Yt)|0)+(n>>>13)|0)+(Yi>>>26)|0,Yi&=67108863,v=Math.imul(ye,Ee),n=(n=Math.imul(ye,qe))+Math.imul(Qe,Ee)|0,b=Math.imul(Qe,qe),v=v+Math.imul(Ke,Vt)|0,n=(n=n+Math.imul(Ke,ri)|0)+Math.imul(at,Vt)|0,b=b+Math.imul(at,ri)|0,v=v+Math.imul(je,ot)|0,n=(n=n+Math.imul(je,ut)|0)+Math.imul(lt,ot)|0,b=b+Math.imul(lt,ut)|0,v=v+Math.imul(Ie,ft)|0,n=(n=n+Math.imul(Ie,Xe)|0)+Math.imul(de,ft)|0,b=b+Math.imul(de,Xe)|0,v=v+Math.imul(ge,_t)|0,n=(n=n+Math.imul(ge,Fe)|0)+Math.imul(xe,_t)|0,b=b+Math.imul(xe,Fe)|0;var ji=(D+(v=v+Math.imul(Oe,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Oe,Yt)|0)+Math.imul(fe,Et)|0))<<13)|0;D=((b=b+Math.imul(fe,Yt)|0)+(n>>>13)|0)+(ji>>>26)|0,ji&=67108863,v=Math.imul(ye,Vt),n=(n=Math.imul(ye,ri))+Math.imul(Qe,Vt)|0,b=Math.imul(Qe,ri),v=v+Math.imul(Ke,ot)|0,n=(n=n+Math.imul(Ke,ut)|0)+Math.imul(at,ot)|0,b=b+Math.imul(at,ut)|0,v=v+Math.imul(je,ft)|0,n=(n=n+Math.imul(je,Xe)|0)+Math.imul(lt,ft)|0,b=b+Math.imul(lt,Xe)|0,v=v+Math.imul(Ie,_t)|0,n=(n=n+Math.imul(Ie,Fe)|0)+Math.imul(de,_t)|0,b=b+Math.imul(de,Fe)|0;var tn=(D+(v=v+Math.imul(ge,Et)|0)|0)+((8191&(n=(n=n+Math.imul(ge,Yt)|0)+Math.imul(xe,Et)|0))<<13)|0;D=((b=b+Math.imul(xe,Yt)|0)+(n>>>13)|0)+(tn>>>26)|0,tn&=67108863,v=Math.imul(ye,ot),n=(n=Math.imul(ye,ut))+Math.imul(Qe,ot)|0,b=Math.imul(Qe,ut),v=v+Math.imul(Ke,ft)|0,n=(n=n+Math.imul(Ke,Xe)|0)+Math.imul(at,ft)|0,b=b+Math.imul(at,Xe)|0,v=v+Math.imul(je,_t)|0,n=(n=n+Math.imul(je,Fe)|0)+Math.imul(lt,_t)|0,b=b+Math.imul(lt,Fe)|0;var Zt=(D+(v=v+Math.imul(Ie,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Yt)|0)+Math.imul(de,Et)|0))<<13)|0;D=((b=b+Math.imul(de,Yt)|0)+(n>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v=Math.imul(ye,ft),n=(n=Math.imul(ye,Xe))+Math.imul(Qe,ft)|0,b=Math.imul(Qe,Xe),v=v+Math.imul(Ke,_t)|0,n=(n=n+Math.imul(Ke,Fe)|0)+Math.imul(at,_t)|0,b=b+Math.imul(at,Fe)|0;var Qt=(D+(v=v+Math.imul(je,Et)|0)|0)+((8191&(n=(n=n+Math.imul(je,Yt)|0)+Math.imul(lt,Et)|0))<<13)|0;D=((b=b+Math.imul(lt,Yt)|0)+(n>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v=Math.imul(ye,_t),n=(n=Math.imul(ye,Fe))+Math.imul(Qe,_t)|0,b=Math.imul(Qe,Fe);var _e=(D+(v=v+Math.imul(Ke,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ke,Yt)|0)+Math.imul(at,Et)|0))<<13)|0;D=((b=b+Math.imul(at,Yt)|0)+(n>>>13)|0)+(_e>>>26)|0,_e&=67108863;var ht=(D+(v=Math.imul(ye,Et))|0)+((8191&(n=(n=Math.imul(ye,Yt))+Math.imul(Qe,Et)|0))<<13)|0;return D=((b=Math.imul(Qe,Yt))+(n>>>13)|0)+(ht>>>26)|0,ht&=67108863,E[0]=Fi,E[1]=Ri,E[2]=Ci,E[3]=Bi,E[4]=Je,E[5]=Dt,E[6]=be,E[7]=Tt,E[8]=Wt,E[9]=ci,E[10]=Ai,E[11]=ki,E[12]=Yi,E[13]=ji,E[14]=tn,E[15]=Zt,E[16]=Qt,E[17]=_e,E[18]=ht,0!==D&&(E[19]=D,f.length++),f};function W(S,i,a){return(new K).mulp(S,i,a)}function K(S,i){this.x=S,this.y=i}Math.imul||(U=O),s.prototype.mulTo=function(i,a){var f,l=this.length+i.length;return f=10===this.length&&10===i.length?U(this,i,a):l<63?O(this,i,a):l<1024?function Z(S,i,a){a.negative=i.negative^S.negative,a.length=S.length+i.length;for(var f=0,l=0,y=0;y<a.length-1;y++){var E=l;l=0;for(var D=67108863&f,v=Math.min(y,i.length-1),n=Math.max(0,y-S.length+1);n<=v;n++){var Y=(0|S.words[y-n])*(0|i.words[n]),Te=67108863&Y;D=67108863&(Te=Te+D|0),l+=(E=(E=E+(Y/67108864|0)|0)+(Te>>>26)|0)>>>26,E&=67108863}a.words[y]=D,f=E,E=l}return 0!==f?a.words[y]=f:a.length--,a.strip()}(this,i,a):W(this,i,a),f},K.prototype.makeRBT=function(i){for(var a=new Array(i),f=s.prototype._countBits(i)-1,l=0;l<i;l++)a[l]=this.revBin(l,f,i);return a},K.prototype.revBin=function(i,a,f){if(0===i||i===f-1)return i;for(var l=0,y=0;y<a;y++)l|=(1&i)<<a-y-1,i>>=1;return l},K.prototype.permute=function(i,a,f,l,y,E){for(var D=0;D<E;D++)l[D]=a[i[D]],y[D]=f[i[D]]},K.prototype.transform=function(i,a,f,l,y,E){this.permute(E,i,a,f,l,y);for(var D=1;D<y;D<<=1)for(var v=D<<1,n=Math.cos(2*Math.PI/v),b=Math.sin(2*Math.PI/v),V=0;V<y;V+=v)for(var z=n,Y=b,Te=0;Te<D;Te++){var $e=f[V+Te],Ve=l[V+Te],We=f[V+Te+D],Re=l[V+Te+D],we=z*We-Y*Re;Re=z*Re+Y*We,f[V+Te]=$e+(We=we),l[V+Te]=Ve+Re,f[V+Te+D]=$e-We,l[V+Te+D]=Ve-Re,Te!==v&&(we=n*z-b*Y,Y=n*Y+b*z,z=we)}},K.prototype.guessLen13b=function(i,a){var f=1|Math.max(a,i),l=1&f,y=0;for(f=f/2|0;f;f>>>=1)y++;return 1<<y+1+l},K.prototype.conjugate=function(i,a,f){if(!(f<=1))for(var l=0;l<f/2;l++){var y=i[l];i[l]=i[f-l-1],i[f-l-1]=y,y=a[l],a[l]=-a[f-l-1],a[f-l-1]=-y}},K.prototype.normalize13b=function(i,a){for(var f=0,l=0;l<a/2;l++){var y=8192*Math.round(i[2*l+1]/a)+Math.round(i[2*l]/a)+f;i[l]=67108863&y,f=y<67108864?0:y/67108864|0}return i},K.prototype.convert13b=function(i,a,f,l){for(var y=0,E=0;E<a;E++)f[2*E]=8191&(y+=0|i[E]),f[2*E+1]=8191&(y>>>=13),y>>>=13;for(E=2*a;E<l;++E)f[E]=0;g(0===y),g(0==(-8192&y))},K.prototype.stub=function(i){for(var a=new Array(i),f=0;f<i;f++)a[f]=0;return a},K.prototype.mulp=function(i,a,f){var l=2*this.guessLen13b(i.length,a.length),y=this.makeRBT(l),E=this.stub(l),D=new Array(l),v=new Array(l),n=new Array(l),b=new Array(l),V=new Array(l),z=new Array(l),Y=f.words;Y.length=l,this.convert13b(i.words,i.length,D,l),this.convert13b(a.words,a.length,b,l),this.transform(D,E,v,n,l,y),this.transform(b,E,V,z,l,y);for(var Te=0;Te<l;Te++){var $e=v[Te]*V[Te]-n[Te]*z[Te];n[Te]=v[Te]*z[Te]+n[Te]*V[Te],v[Te]=$e}return this.conjugate(v,n,l),this.transform(v,n,Y,E,l,y),this.conjugate(Y,E,l),this.normalize13b(Y,l),f.negative=i.negative^a.negative,f.length=i.length+a.length,f.strip()},s.prototype.mul=function(i){var a=new s(null);return a.words=new Array(this.length+i.length),this.mulTo(i,a)},s.prototype.mulf=function(i){var a=new s(null);return a.words=new Array(this.length+i.length),W(this,i,a)},s.prototype.imul=function(i){return this.clone().mulTo(i,this)},s.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var a=0,f=0;f<this.length;f++){var l=(0|this.words[f])*i,y=(67108863&l)+(67108863&a);a>>=26,a+=l/67108864|0,a+=y>>>26,this.words[f]=67108863&y}return 0!==a&&(this.words[f]=a,this.length++),this},s.prototype.muln=function(i){return this.clone().imuln(i)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(i){var a=function k(S){for(var i=new Array(S.bitLength()),a=0;a<i.length;a++){var l=a%26;i[a]=(S.words[a/26|0]&1<<l)>>>l}return i}(i);if(0===a.length)return new s(1);for(var f=this,l=0;l<a.length&&0===a[l];l++,f=f.sqr());if(++l<a.length)for(var y=f.sqr();l<a.length;l++,y=y.sqr())0!==a[l]&&(f=f.mul(y));return f},s.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,a=i%26,f=(i-a)/26,l=67108863>>>26-a<<26-a;if(0!==a){var E=0;for(y=0;y<this.length;y++){var D=this.words[y]&l;this.words[y]=(0|this.words[y])-D<<a|E,E=D>>>26-a}E&&(this.words[y]=E,this.length++)}if(0!==f){for(y=this.length-1;y>=0;y--)this.words[y+f]=this.words[y];for(y=0;y<f;y++)this.words[y]=0;this.length+=f}return this.strip()},s.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},s.prototype.iushrn=function(i,a,f){var l;g("number"==typeof i&&i>=0),l=a?(a-a%26)/26:0;var y=i%26,E=Math.min((i-y)/26,this.length),D=67108863^67108863>>>y<<y,v=f;if(l-=E,l=Math.max(0,l),v){for(var n=0;n<E;n++)v.words[n]=this.words[n];v.length=E}if(0!==E)if(this.length>E)for(this.length-=E,n=0;n<this.length;n++)this.words[n]=this.words[n+E];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=l);n--){var V=0|this.words[n];this.words[n]=b<<26-y|V>>>y,b=V&D}return v&&0!==b&&(v.words[v.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(i,a,f){return g(0===this.negative),this.iushrn(i,a,f)},s.prototype.shln=function(i){return this.clone().ishln(i)},s.prototype.ushln=function(i){return this.clone().iushln(i)},s.prototype.shrn=function(i){return this.clone().ishrn(i)},s.prototype.ushrn=function(i){return this.clone().iushrn(i)},s.prototype.testn=function(i){g("number"==typeof i&&i>=0);var a=i%26,f=(i-a)/26;return!(this.length<=f||!(this.words[f]&1<<a))},s.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var a=i%26,f=(i-a)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==a&&f++,this.length=Math.min(f,this.length),0!==a&&(this.words[this.length-1]&=67108863^67108863>>>a<<a),this.strip())},s.prototype.maskn=function(i){return this.clone().imaskn(i)},s.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)},s.prototype._iaddn=function(i){this.words[0]+=i;for(var a=0;a<this.length&&this.words[a]>=67108864;a++)this.words[a]-=67108864,a===this.length-1?this.words[a+1]=1:this.words[a+1]++;return this.length=Math.max(this.length,a+1),this},s.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 a=0;a<this.length&&this.words[a]<0;a++)this.words[a]+=67108864,this.words[a+1]-=1;return this.strip()},s.prototype.addn=function(i){return this.clone().iaddn(i)},s.prototype.subn=function(i){return this.clone().isubn(i)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(i,a,f){var y;this._expand(i.length+f);var E,D=0;for(y=0;y<i.length;y++){E=(0|this.words[y+f])+D;var v=(0|i.words[y])*a;D=((E-=67108863&v)>>26)-(v/67108864|0),this.words[y+f]=67108863&E}for(;y<this.length-f;y++)D=(E=(0|this.words[y+f])+D)>>26,this.words[y+f]=67108863&E;if(0===D)return this.strip();for(g(-1===D),D=0,y=0;y<this.length;y++)D=(E=-(0|this.words[y])+D)>>26,this.words[y]=67108863&E;return this.negative=1,this.strip()},s.prototype._wordDiv=function(i,a){var f,l=this.clone(),y=i,E=0|y.words[y.length-1];0!=(f=26-this._countBits(E))&&(y=y.ushln(f),l.iushln(f),E=0|y.words[y.length-1]);var n,v=l.length-y.length;if("mod"!==a){(n=new s(null)).length=v+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var V=l.clone()._ishlnsubmul(y,1,v);0===V.negative&&(l=V,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var Y=67108864*(0|l.words[y.length+z])+(0|l.words[y.length+z-1]);for(Y=Math.min(Y/E|0,67108863),l._ishlnsubmul(y,Y,z);0!==l.negative;)Y--,l.negative=0,l._ishlnsubmul(y,1,z),l.isZero()||(l.negative^=1);n&&(n.words[z]=Y)}return n&&n.strip(),l.strip(),"div"!==a&&0!==f&&l.iushrn(f),{div:n||null,mod:l}},s.prototype.divmod=function(i,a,f){return g(!i.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===i.negative?(E=this.neg().divmod(i,a),"mod"!==a&&(l=E.div.neg()),"div"!==a&&(y=E.mod.neg(),f&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(E=this.divmod(i.neg(),a),"mod"!==a&&(l=E.div.neg()),{div:l,mod:E.mod}):this.negative&i.negative?(E=this.neg().divmod(i.neg(),a),"div"!==a&&(y=E.mod.neg(),f&&0!==y.negative&&y.isub(i)),{div:E.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new s(0),mod:this}:1===i.length?"div"===a?{div:this.divn(i.words[0]),mod:null}:"mod"===a?{div:null,mod:new s(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new s(this.modn(i.words[0]))}:this._wordDiv(i,a);var l,y,E},s.prototype.div=function(i){return this.divmod(i,"div",!1).div},s.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},s.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},s.prototype.divRound=function(i){var a=this.divmod(i);if(a.mod.isZero())return a.div;var f=0!==a.div.negative?a.mod.isub(i):a.mod,l=i.ushrn(1),y=i.andln(1),E=f.cmp(l);return E<0||1===y&&0===E?a.div:0!==a.div.negative?a.div.isubn(1):a.div.iaddn(1)},s.prototype.modn=function(i){g(i<=67108863);for(var a=(1<<26)%i,f=0,l=this.length-1;l>=0;l--)f=(a*f+(0|this.words[l]))%i;return f},s.prototype.idivn=function(i){g(i<=67108863);for(var a=0,f=this.length-1;f>=0;f--){var l=(0|this.words[f])+67108864*a;this.words[f]=l/i|0,a=l%i}return this.strip()},s.prototype.divn=function(i){return this.clone().idivn(i)},s.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var a=this,f=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),E=new s(0),D=new s(1),v=0;a.isEven()&&f.isEven();)a.iushrn(1),f.iushrn(1),++v;for(var n=f.clone(),b=a.clone();!a.isZero();){for(var V=0,z=1;!(a.words[0]&z)&&V<26;++V,z<<=1);if(V>0)for(a.iushrn(V);V-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(b)),l.iushrn(1),y.iushrn(1);for(var Y=0,Te=1;!(f.words[0]&Te)&&Y<26;++Y,Te<<=1);if(Y>0)for(f.iushrn(Y);Y-- >0;)(E.isOdd()||D.isOdd())&&(E.iadd(n),D.isub(b)),E.iushrn(1),D.iushrn(1);a.cmp(f)>=0?(a.isub(f),l.isub(E),y.isub(D)):(f.isub(a),E.isub(l),D.isub(y))}return{a:E,b:D,gcd:f.iushln(v)}},s.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var V,a=this,f=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),E=f.clone();a.cmpn(1)>0&&f.cmpn(1)>0;){for(var D=0,v=1;!(a.words[0]&v)&&D<26;++D,v<<=1);if(D>0)for(a.iushrn(D);D-- >0;)l.isOdd()&&l.iadd(E),l.iushrn(1);for(var n=0,b=1;!(f.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(f.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(E),y.iushrn(1);a.cmp(f)>=0?(a.isub(f),l.isub(y)):(f.isub(a),y.isub(l))}return(V=0===a.cmpn(1)?l:y).cmpn(0)<0&&V.iadd(i),V},s.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var a=this.clone(),f=i.clone();a.negative=0,f.negative=0;for(var l=0;a.isEven()&&f.isEven();l++)a.iushrn(1),f.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;f.isEven();)f.iushrn(1);var y=a.cmp(f);if(y<0){var E=a;a=f,f=E}else if(0===y||0===f.cmpn(1))break;a.isub(f)}return f.iushln(l)},s.prototype.invm=function(i){return this.egcd(i).a.umod(i)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(i){return this.words[0]&i},s.prototype.bincn=function(i){g("number"==typeof i);var a=i%26,f=(i-a)/26,l=1<<a;if(this.length<=f)return this._expand(f+1),this.words[f]|=l,this;for(var y=l,E=f;0!==y&&E<this.length;E++){var D=0|this.words[E];y=(D+=y)>>>26,this.words[E]=D&=67108863}return 0!==y&&(this.words[E]=y,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(i){var f,a=i<0;if(0!==this.negative&&!a)return-1;if(0===this.negative&&a)return 1;if(this.strip(),this.length>1)f=1;else{a&&(i=-i),g(i<=67108863,"Number is too big");var l=0|this.words[0];f=l===i?0:l<i?-1:1}return 0!==this.negative?0|-f:f},s.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var a=this.ucmp(i);return 0!==this.negative?0|-a:a},s.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var a=0,f=this.length-1;f>=0;f--){var l=0|this.words[f],y=0|i.words[f];if(l!==y){l<y?a=-1:l>y&&(a=1);break}}return a},s.prototype.gtn=function(i){return 1===this.cmpn(i)},s.prototype.gt=function(i){return 1===this.cmp(i)},s.prototype.gten=function(i){return this.cmpn(i)>=0},s.prototype.gte=function(i){return this.cmp(i)>=0},s.prototype.ltn=function(i){return-1===this.cmpn(i)},s.prototype.lt=function(i){return-1===this.cmp(i)},s.prototype.lten=function(i){return this.cmpn(i)<=0},s.prototype.lte=function(i){return this.cmp(i)<=0},s.prototype.eqn=function(i){return 0===this.cmpn(i)},s.prototype.eq=function(i){return 0===this.cmp(i)},s.red=function(i){return new se(i)},s.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)},s.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(i){return this.red=i,this},s.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},s.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},s.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},s.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},s.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},s.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},s.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},s.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},s.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var q={k256:null,p224:null,p192:null,p25519:null};function te(S,i){this.name=S,this.p=new s(i,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function pe(){te.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function oe(){te.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function re(){te.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){te.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(S){if("string"==typeof S){var i=s._prime(S);this.m=i.p,this.prime=i}else g(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){se.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(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)}te.prototype._tmp=function(){var i=new s(null);return i.words=new Array(Math.ceil(this.n/13)),i},te.prototype.ireduce=function(i){var f,a=i;do{this.split(a,this.tmp),f=(a=(a=this.imulK(a)).iadd(this.tmp)).bitLength()}while(f>this.n);var l=f<this.n?-1:a.ucmp(this.p);return 0===l?(a.words[0]=0,a.length=1):l>0?a.isub(this.p):void 0!==a.strip?a.strip():a._strip(),a},te.prototype.split=function(i,a){i.iushrn(this.n,0,a)},te.prototype.imulK=function(i){return i.imul(this.k)},A(pe,te),pe.prototype.split=function(i,a){for(var f=4194303,l=Math.min(i.length,9),y=0;y<l;y++)a.words[y]=i.words[y];if(a.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var E=i.words[9];for(a.words[a.length++]=E&f,y=10;y<i.length;y++){var D=0|i.words[y];i.words[y-10]=(D&f)<<4|E>>>22,E=D}i.words[y-10]=E>>>=22,i.length-=0===E&&i.length>10?10:9},pe.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var a=0,f=0;f<i.length;f++){var l=0|i.words[f];i.words[f]=67108863&(a+=977*l),a=64*l+(a/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},A(oe,te),A(re,te),A(ce,te),ce.prototype.imulK=function(i){for(var a=0,f=0;f<i.length;f++){var l=19*(0|i.words[f])+a,y=67108863&l;l>>>=26,i.words[f]=y,a=l}return 0!==a&&(i.words[i.length++]=a),i},s._prime=function(i){if(q[i])return q[i];var a;if("k256"===i)a=new pe;else if("p224"===i)a=new oe;else if("p192"===i)a=new re;else{if("p25519"!==i)throw new Error("Unknown prime "+i);a=new ce}return q[i]=a,a},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,a){g(0==(i.negative|a.negative),"red works only with positives"),g(i.red&&i.red===a.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,a){this._verify2(i,a);var f=i.add(a);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},se.prototype.iadd=function(i,a){this._verify2(i,a);var f=i.iadd(a);return f.cmp(this.m)>=0&&f.isub(this.m),f},se.prototype.sub=function(i,a){this._verify2(i,a);var f=i.sub(a);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},se.prototype.isub=function(i,a){this._verify2(i,a);var f=i.isub(a);return f.cmpn(0)<0&&f.iadd(this.m),f},se.prototype.shl=function(i,a){return this._verify1(i),this.imod(i.ushln(a))},se.prototype.imul=function(i,a){return this._verify2(i,a),this.imod(i.imul(a))},se.prototype.mul=function(i,a){return this._verify2(i,a),this.imod(i.mul(a))},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 a=this.m.andln(3);if(g(a%2==1),3===a){var f=this.m.add(new s(1)).iushrn(2);return this.pow(i,f)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);g(!l.isZero());var E=new s(1).toRed(this),D=E.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new s(2*n*n).toRed(this);0!==this.pow(n,v).cmp(D);)n.redIAdd(D);for(var b=this.pow(n,l),V=this.pow(i,l.addn(1).iushrn(1)),z=this.pow(i,l),Y=y;0!==z.cmp(E);){for(var Te=z,$e=0;0!==Te.cmp(E);$e++)Te=Te.redSqr();g($e<Y);var Ve=this.pow(b,new s(1).iushln(Y-$e-1));V=V.redMul(Ve),b=Ve.redSqr(),z=z.redMul(b),Y=$e}return V},se.prototype.invm=function(i){var a=i._invmp(this.m);return 0!==a.negative?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},se.prototype.pow=function(i,a){if(a.isZero())return new s(1).toRed(this);if(0===a.cmpn(1))return i.clone();var l=new Array(16);l[0]=new s(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var E=l[0],D=0,v=0,n=a.bitLength()%26;for(0===n&&(n=26),y=a.length-1;y>=0;y--){for(var b=a.words[y],V=n-1;V>=0;V--){var z=b>>V&1;E!==l[0]&&(E=this.sqr(E)),0!==z||0!==D?(D<<=1,D|=z,(4==++v||0===y&&0===V)&&(E=this.mul(E,l[D]),v=0,D=0)):v=0}n=26}return E},se.prototype.convertTo=function(i){var a=i.umod(this.m);return a===i?a.clone():a},se.prototype.convertFrom=function(i){var a=i.clone();return a.red=null,a},s.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 a=this.imod(i.mul(this.rinv));return a.red=null,a},he.prototype.imul=function(i,a){if(i.isZero()||a.isZero())return i.words[0]=0,i.length=1,i;var f=i.imul(a),l=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=f.isub(l).iushrn(this.shift),E=y;return y.cmp(this.m)>=0?E=y.isub(this.m):y.cmpn(0)<0&&(E=y.iadd(this.m)),E._forceRed(this)},he.prototype.mul=function(i,a){if(i.isZero()||a.isZero())return new s(0)._forceRed(this);var f=i.mul(a),l=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=f.isub(l).iushrn(this.shift),E=y;return y.cmp(this.m)>=0?E=y.isub(this.m):y.cmpn(0)<0&&(E=y.iadd(this.m)),E._forceRed(this)},he.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Be=m.nmd(Be),this)},6386:(Be,Q,m)=>{"use strict";var t=m(3894),e=m(8095),g=m(5634),A=m(5244),s=m(1052);function C(h){s.call(this,"digest"),this._hash=h}t(C,s),C.prototype._update=function(h){this._hash.update(h)},C.prototype._final=function(){return this._hash.digest()},Be.exports=function(P){return"md5"===(P=P.toLowerCase())?new e:"rmd160"===P||"ripemd160"===P?new g:new C(A(P))}},5640:(Be,Q,m)=>{var t=m(8095);Be.exports=function(e){return(new t).update(e).digest()}},4529:(Be,Q,m)=>{"use strict";var t=m(3894),e=m(7309),g=m(1052),A=m(3502).Buffer,s=m(5640),C=m(5634),h=m(5244),P=A.alloc(128);function d(M,w){g.call(this,"digest"),"string"==typeof w&&(w=A.from(w));var I="sha512"===M||"sha384"===M?128:64;this._alg=M,this._key=w,w.length>I?w=("rmd160"===M?new C:h(M)).update(w).digest():w.length<I&&(w=A.concat([w,P],I));for(var O=this._ipad=A.allocUnsafe(I),U=this._opad=A.allocUnsafe(I),Z=0;Z<I;Z++)O[Z]=54^w[Z],U[Z]=92^w[Z];this._hash="rmd160"===M?new C:h(M),this._hash.update(O)}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:h(this._alg)).update(this._opad).update(M).digest()},Be.exports=function(w,I){return"rmd160"===(w=w.toLowerCase())||"ripemd160"===w?new d("rmd160",I):"md5"===w?new e(s,I):new d(w,I)}},7309:(Be,Q,m)=>{"use strict";var t=m(3894),e=m(3502).Buffer,g=m(1052),A=e.alloc(128),s=64;function C(h,P){g.call(this,"digest"),"string"==typeof P&&(P=e.from(P)),this._alg=h,this._key=P,P.length>s?P=h(P):P.length<s&&(P=e.concat([P,A],s));for(var d=this._ipad=e.allocUnsafe(s),M=this._opad=e.allocUnsafe(s),w=0;w<s;w++)d[w]=54^P[w],M[w]=92^P[w];this._hash=[d]}t(C,g),C.prototype._update=function(h){this._hash.push(h)},C.prototype._final=function(){var h=this._alg(e.concat(this._hash));return this._alg(e.concat([this._opad,h]))},Be.exports=C},1348:(Be,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 s=m(5255);Q.Cipher=s.Cipher,Q.createCipher=s.createCipher,Q.Cipheriv=s.Cipheriv,Q.createCipheriv=s.createCipheriv,Q.Decipher=s.Decipher,Q.createDecipher=s.createDecipher,Q.Decipheriv=s.Decipheriv,Q.createDecipheriv=s.createDecipheriv,Q.getCiphers=s.getCiphers,Q.listCiphers=s.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 h=m(3923);Q.createSign=h.createSign,Q.Sign=h.Sign,Q.createVerify=h.createVerify,Q.Verify=h.Verify,Q.createECDH=m(4746);var P=m(3701);Q.publicEncrypt=P.publicEncrypt,Q.privateEncrypt=P.privateEncrypt,Q.publicDecrypt=P.publicDecrypt,Q.privateDecrypt=P.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:(Be,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:(Be,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 h=0;h<this.iv.length;h++)this.iv[h]=C[h]}Q.instantiate=function s(C){function h(w){C.call(this,w),this._cbcInit()}e(h,C);for(var P=Object.keys(g),d=0;d<P.length;d++){var M=P[d];h.prototype[M]=g[M]}return h.create=function(I){return new h(I)},h},g._cbcInit=function(){var h=new A(this.options.iv);this._cbcState=h},g._update=function(h,P,d,M){var I=this.constructor.super_.prototype,k=this._cbcState.iv;if("encrypt"===this.type){for(var O=0;O<this.blockSize;O++)k[O]^=h[P+O];for(I._update.call(this,k,0,d,M),O=0;O<this.blockSize;O++)k[O]=d[M+O]}else{for(I._update.call(this,h,P,d,M),O=0;O<this.blockSize;O++)d[M+O]^=k[O];for(O=0;O<this.blockSize;O++)k[O]=h[P+O]}}},8170:(Be,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}Be.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,s){for(var C=Math.min(this.buffer.length-this.bufferOff,A.length-s),h=0;h<C;h++)this.buffer[this.bufferOff+h]=A[s+h];return this.bufferOff+=C,C},e.prototype._flushBuffer=function(A,s){return this._update(this.buffer,0,A,s),this.bufferOff=0,this.blockSize},e.prototype._updateEncrypt=function(A){var s=0,C=0,P=new Array(((this.bufferOff+A.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(s+=this._buffer(A,s),this.bufferOff===this.buffer.length&&(C+=this._flushBuffer(P,C)));for(var d=A.length-(A.length-s)%this.blockSize;s<d;s+=this.blockSize)this._update(A,s,P,C),C+=this.blockSize;for(;s<A.length;s++,this.bufferOff++)this.buffer[this.bufferOff]=A[s];return P},e.prototype._updateDecrypt=function(A){for(var s=0,C=0,h=Math.ceil((this.bufferOff+A.length)/this.blockSize)-1,P=new Array(h*this.blockSize);h>0;h--)s+=this._buffer(A,s),C+=this._flushBuffer(P,C);return s+=this._buffer(A,s),P},e.prototype.final=function(A){var s,C;return A&&(s=this.update(A)),C="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),s?s.concat(C):C},e.prototype._pad=function(A,s){if(0===s)return!1;for(;s<A.length;)A[s++]=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:(Be,Q,m)=>{"use strict";var t=m(2391),e=m(3894),g=m(7451),A=m(8170);function s(){this.tmp=new Array(2),this.keys=null}function C(P){A.call(this,P);var d=new s;this._desState=d,this.deriveKeys(d,P.key)}e(C,A),Be.exports=C,C.create=function(d){return new C(d)};var h=[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),I=g.readUInt32BE(M,4);g.pc1(w,I,d.tmp,0),w=d.tmp[0],I=d.tmp[1];for(var k=0;k<d.keys.length;k+=2){var O=h[k>>>1];w=g.r28shl(w,O),I=g.r28shl(I,O),g.pc2(w,I,d.keys,k)}},C.prototype._update=function(d,M,w,I){var k=this._desState,O=g.readUInt32BE(d,M),U=g.readUInt32BE(d,M+4);g.ip(O,U,k.tmp,0),O=k.tmp[0],U=k.tmp[1],"encrypt"===this.type?this._encrypt(k,O,U,k.tmp,0):this._decrypt(k,O,U,k.tmp,0),U=k.tmp[1],g.writeUInt32BE(w,O=k.tmp[0],I),g.writeUInt32BE(w,U,I+4)},C.prototype._pad=function(d,M){for(var w=d.length-M,I=M;I<d.length;I++)d[I]=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,I,k){for(var O=M,U=w,Z=0;Z<d.keys.length;Z+=2){var W=d.keys[Z],K=d.keys[Z+1];g.expand(U,d.tmp,0);var q=g.substitute(W^=d.tmp[0],K^=d.tmp[1]),pe=U;U=(O^g.permute(q))>>>0,O=pe}g.rip(U,O,I,k)},C.prototype._decrypt=function(d,M,w,I,k){for(var O=w,U=M,Z=d.keys.length-2;Z>=0;Z-=2){var W=d.keys[Z],K=d.keys[Z+1];g.expand(O,d.tmp,0);var q=g.substitute(W^=d.tmp[0],K^=d.tmp[1]),pe=O;O=(U^g.permute(q))>>>0,U=pe}g.rip(O,U,I,k)}},1862:(Be,Q,m)=>{"use strict";var t=m(2391),e=m(3894),g=m(8170),A=m(4631);function s(h,P){t.equal(P.length,24,"Invalid key length");var d=P.slice(0,8),M=P.slice(8,16),w=P.slice(16,24);this.ciphers="encrypt"===h?[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(h){g.call(this,h);var P=new s(this.type,this.options.key);this._edeState=P}e(C,g),Be.exports=C,C.create=function(P){return new C(P)},C.prototype._update=function(P,d,M,w){var I=this._edeState;I.ciphers[0]._update(P,d,M,w),I.ciphers[1]._update(M,w,M,w),I.ciphers[2]._update(M,w,M,w)},C.prototype._pad=A.prototype._pad,C.prototype._unpad=A.prototype._unpad},7451:(Be,Q)=>{"use strict";Q.readUInt32BE=function(A,s){return(A[0+s]<<24|A[1+s]<<16|A[2+s]<<8|A[3+s])>>>0},Q.writeUInt32BE=function(A,s,C){A[0+C]=s>>>24,A[1+C]=s>>>16&255,A[2+C]=s>>>8&255,A[3+C]=255&s},Q.ip=function(A,s,C,h){for(var P=0,d=0,M=6;M>=0;M-=2){for(var w=0;w<=24;w+=8)P<<=1,P|=s>>>w+M&1;for(w=0;w<=24;w+=8)P<<=1,P|=A>>>w+M&1}for(M=6;M>=0;M-=2){for(w=1;w<=25;w+=8)d<<=1,d|=s>>>w+M&1;for(w=1;w<=25;w+=8)d<<=1,d|=A>>>w+M&1}C[h+0]=P>>>0,C[h+1]=d>>>0},Q.rip=function(A,s,C,h){for(var P=0,d=0,M=0;M<4;M++)for(var w=24;w>=0;w-=8)P<<=1,P|=s>>>w+M&1,P<<=1,P|=A>>>w+M&1;for(M=4;M<8;M++)for(w=24;w>=0;w-=8)d<<=1,d|=s>>>w+M&1,d<<=1,d|=A>>>w+M&1;C[h+0]=P>>>0,C[h+1]=d>>>0},Q.pc1=function(A,s,C,h){for(var P=0,d=0,M=7;M>=5;M--){for(var w=0;w<=24;w+=8)P<<=1,P|=s>>w+M&1;for(w=0;w<=24;w+=8)P<<=1,P|=A>>w+M&1}for(w=0;w<=24;w+=8)P<<=1,P|=s>>w+M&1;for(M=1;M<=3;M++){for(w=0;w<=24;w+=8)d<<=1,d|=s>>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[h+0]=P>>>0,C[h+1]=d>>>0},Q.r28shl=function(A,s){return A<<s&268435455|A>>>28-s};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,s,C,h){for(var P=0,d=0,M=m.length>>>1,w=0;w<M;w++)P<<=1,P|=A>>>m[w]&1;for(w=M;w<m.length;w++)d<<=1,d|=s>>>m[w]&1;C[h+0]=P>>>0,C[h+1]=d>>>0},Q.expand=function(A,s,C){var h=0,P=0;h=(1&A)<<5|A>>>27;for(var d=23;d>=15;d-=4)h<<=6,h|=A>>>d&63;for(d=11;d>=3;d-=4)P|=A>>>d&63,P<<=6;P|=(31&A)<<1|A>>>31,s[C+0]=h>>>0,s[C+1]=P>>>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,s){for(var C=0,h=0;h<4;h++)C<<=4,C|=t[64*h+(A>>>18-6*h&63)];for(h=0;h<4;h++)C<<=4,C|=t[256+64*h+(s>>>18-6*h&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 s=0,C=0;C<e.length;C++)s<<=1,s|=A>>>e[C]&1;return s>>>0},Q.padSplit=function(A,s,C){for(var h=A.toString(2);h.length<s;)h="0"+h;for(var P=[],d=0;d<s;d+=C)P.push(h.slice(d,d+C));return P.join(" ")}},8829:(Be,Q,m)=>{var t=m(5563),e=m(9799),g=m(1419),s={binary:!0,hex:!0,base64:!0};Q.DiffieHellmanGroup=Q.createDiffieHellmanGroup=Q.getDiffieHellman=function A(h){var P=new Buffer(e[h].prime,"hex"),d=new Buffer(e[h].gen,"hex");return new g(P,d)},Q.createDiffieHellman=Q.DiffieHellman=function C(h,P,d,M){return Buffer.isBuffer(P)||void 0===s[P]?C(h,"binary",P,d):(P=P||"binary",M=M||"binary",d=d||new Buffer([2]),Buffer.isBuffer(d)||(d=new Buffer(d,M)),"number"==typeof h?new g(t(h,d),d,!0):(Buffer.isBuffer(h)||(h=new Buffer(h,P)),new g(h,d,!0)))}},1419:(Be,Q,m)=>{var t=m(8313),g=new(m(7079)),A=new t(24),s=new t(11),C=new t(10),h=new t(3),P=new t(7),d=m(5563),M=m(3753);function w(W,K){return K=K||"utf8",Buffer.isBuffer(W)||(W=new Buffer(W,K)),this._pub=new t(W),this}function I(W,K){return K=K||"utf8",Buffer.isBuffer(W)||(W=new Buffer(W,K)),this._priv=new t(W),this}Be.exports=U;var k={};function U(W,K,q){this.setGenerator(K),this.__prime=new t(W),this._prime=t.mont(this.__prime),this._primeLen=W.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,q?(this.setPublicKey=w,this.setPrivateKey=I):this._primeCode=8}function Z(W,K){var q=new Buffer(W.toArray());return K?q.toString(K):q}Object.defineProperty(U.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function O(W,K){var q=K.toString("hex"),te=[q,W.toString(16)].join("_");if(te in k)return k[te];var oe,pe=0;if(W.isEven()||!d.simpleSieve||!d.fermatTest(W)||!g.test(W))return pe+=1,k[te]=pe+="02"===q||"05"===q?8:4,pe;switch(g.test(W.shrn(1))||(pe+=2),q){case"02":W.mod(A).cmp(s)&&(pe+=8);break;case"05":(oe=W.mod(C)).cmp(h)&&oe.cmp(P)&&(pe+=8);break;default:pe+=4}return k[te]=pe,pe}(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(W){var K=(W=(W=new t(W)).toRed(this._prime)).redPow(this._priv).fromRed(),q=new Buffer(K.toArray()),te=this.getPrime();if(q.length<te.length){var pe=new Buffer(te.length-q.length);pe.fill(0),q=Buffer.concat([pe,q])}return q},U.prototype.getPublicKey=function(K){return Z(this._pub,K)},U.prototype.getPrivateKey=function(K){return Z(this._priv,K)},U.prototype.getPrime=function(W){return Z(this.__prime,W)},U.prototype.getGenerator=function(W){return Z(this._gen,W)},U.prototype.setGenerator=function(W,K){return K=K||"utf8",Buffer.isBuffer(W)||(W=new Buffer(W,K)),this.__gen=W,this._gen=new t(W),this}},5563:(Be,Q,m)=>{var t=m(3753);Be.exports=pe,pe.simpleSieve=q,pe.fermatTest=te;var e=m(8313),g=new e(24),s=new(m(7079)),C=new e(1),h=new e(2),P=new e(5),w=(new e(16),new e(8),new e(10)),I=new e(3),O=(new e(7),new e(11)),U=new e(4),W=(new e(12),null);function q(oe){for(var re=function K(){if(null!==W)return W;var re=[];re[0]=2;for(var ce=1,se=3;se<1048576;se+=2){for(var he=Math.ceil(Math.sqrt(se)),S=0;S<ce&&re[S]<=he&&se%re[S]!=0;S++);ce!==S&&re[S]<=he||(re[ce++]=se)}return W=re,re}(),ce=0;ce<re.length;ce++)if(0===oe.modn(re[ce]))return 0===oe.cmpn(re[ce]);return!0}function te(oe){var re=e.mont(oe);return 0===h.toRed(re).redPow(oe.subn(1)).fromRed().cmpn(1)}function pe(oe,re){if(oe<16)return new e(2===re||5===re?[140,123]:[140,39]);re=new e(re);for(var ce,se;;){for(ce=new e(t(Math.ceil(oe/8)));ce.bitLength()>oe;)ce.ishrn(1);if(ce.isEven()&&ce.iadd(C),ce.testn(1)||ce.iadd(h),re.cmp(h)){if(!re.cmp(P))for(;ce.mod(w).cmp(I);)ce.iadd(U)}else for(;ce.mod(g).cmp(O);)ce.iadd(U);if(q(se=ce.shrn(1))&&q(ce)&&te(se)&&te(ce)&&s.test(se)&&s.test(ce))return ce}}},8313:function(Be,Q,m){!function(t,e){"use strict";function g(S,i){if(!S)throw new Error(i||"Assertion failed")}function A(S,i){S.super_=i;var a=function(){};a.prototype=i.prototype,S.prototype=new a,S.prototype.constructor=S}function s(S,i,a){if(s.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===i||"be"===i)&&(a=i,i=10),this._init(S||0,i||10,a||"be"))}var C;"object"==typeof t?t.exports=s:e.BN=s,s.BN=s,s.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(7748).Buffer}catch{}function h(S,i){var a=S.charCodeAt(i);return a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:a-48&15}function P(S,i,a){var f=h(S,a);return a-1>=i&&(f|=h(S,a-1)<<4),f}function d(S,i,a,f){for(var l=0,y=Math.min(S.length,a),E=i;E<y;E++){var D=S.charCodeAt(E)-48;l*=f,l+=D>=49?D-49+10:D>=17?D-17+10:D}return l}s.isBN=function(i){return i instanceof s||null!==i&&"object"==typeof i&&i.constructor.wordSize===s.wordSize&&Array.isArray(i.words)},s.max=function(i,a){return i.cmp(a)>0?i:a},s.min=function(i,a){return i.cmp(a)<0?i:a},s.prototype._init=function(i,a,f){if("number"==typeof i)return this._initNumber(i,a,f);if("object"==typeof i)return this._initArray(i,a,f);"hex"===a&&(a=16),g(a===(0|a)&&a>=2&&a<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===a?this._parseHex(i,l,f):(this._parseBase(i,a,l),"le"===f&&this._initArray(this.toArray(),a,f)))},s.prototype._initNumber=function(i,a,f){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"===f&&this._initArray(this.toArray(),a,f)},s.prototype._initArray=function(i,a,f){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 l=0;l<this.length;l++)this.words[l]=0;var y,E,D=0;if("be"===f)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(E=i[l]|i[l-1]<<8|i[l-2]<<16)<<D&67108863,this.words[y+1]=E>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);else if("le"===f)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(E=i[l]|i[l+1]<<8|i[l+2]<<16)<<D&67108863,this.words[y+1]=E>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);return this.strip()},s.prototype._parseHex=function(i,a,f){this.length=Math.ceil((i.length-a)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var D,y=0,E=0;if("be"===f)for(l=i.length-1;l>=a;l-=2)D=P(i,a,l)<<y,this.words[E]|=67108863&D,y>=18?(y-=18,this.words[E+=1]|=D>>>26):y+=8;else for(l=(i.length-a)%2==0?a+1:a;l<i.length;l+=2)D=P(i,a,l)<<y,this.words[E]|=67108863&D,y>=18?(y-=18,this.words[E+=1]|=D>>>26):y+=8;this.strip()},s.prototype._parseBase=function(i,a,f){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=a)l++;l--,y=y/a|0;for(var E=i.length-f,D=E%l,v=Math.min(E,E-D)+f,n=0,b=f;b<v;b+=l)n=d(i,b,b+l,a),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==D){var V=1;for(n=d(i,b,i.length,a),b=0;b<D;b++)V*=a;this.imuln(V),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},s.prototype.copy=function(i){i.words=new Array(this.length);for(var a=0;a<this.length;a++)i.words[a]=this.words[a];i.length=this.length,i.negative=this.negative,i.red=this.red},s.prototype.clone=function(){var i=new s(null);return this.copy(i),i},s.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.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],I=[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 O(S,i,a){a.negative=i.negative^S.negative;var f=S.length+i.length|0;a.length=f,f=f-1|0;var l=0|S.words[0],y=0|i.words[0],E=l*y,v=E/67108864|0;a.words[0]=67108863&E;for(var n=1;n<f;n++){for(var b=v>>>26,V=67108863&v,z=Math.min(n,i.length-1),Y=Math.max(0,n-S.length+1);Y<=z;Y++)b+=(E=(l=0|S.words[n-Y|0])*(y=0|i.words[Y])+V)/67108864|0,V=67108863&E;a.words[n]=0|V,v=0|b}return 0!==v?a.words[n]=0|v:a.length--,a.strip()}s.prototype.toString=function(i,a){var f;if(a=0|a||1,16===(i=i||10)||"hex"===i){f="";for(var l=0,y=0,E=0;E<this.length;E++){var D=this.words[E],v=(16777215&(D<<l|y)).toString(16);f=0!=(y=D>>>24-l&16777215)||E!==this.length-1?M[6-v.length]+v+f:v+f,(l+=2)>=26&&(l-=26,E--)}for(0!==y&&(f=y.toString(16)+f);f.length%a!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=I[i];f="";var V=this.clone();for(V.negative=0;!V.isZero();){var z=V.modn(b).toString(i);f=(V=V.idivn(b)).isZero()?z+f:M[n-z.length]+z+f}for(this.isZero()&&(f="0"+f);f.length%a!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}g(!1,"Base should be between 2 and 36")},s.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},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(i,a){return g(typeof C<"u"),this.toArrayLike(C,i,a)},s.prototype.toArray=function(i,a){return this.toArrayLike(Array,i,a)},s.prototype.toArrayLike=function(i,a,f){var l=this.byteLength(),y=f||Math.max(1,l);g(l<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var v,n,E="le"===a,D=new i(y),b=this.clone();if(E){for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),D[n]=v;for(;n<y;n++)D[n]=0}else{for(n=0;n<y-l;n++)D[n]=0;for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),D[y-n-1]=v}return D},s.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var a=i,f=0;return a>=4096&&(f+=13,a>>>=13),a>=64&&(f+=7,a>>>=7),a>=8&&(f+=4,a>>>=4),a>=2&&(f+=2,a>>>=2),f+a},s.prototype._zeroBits=function(i){if(0===i)return 26;var a=i,f=0;return 8191&a||(f+=13,a>>>=13),127&a||(f+=7,a>>>=7),15&a||(f+=4,a>>>=4),3&a||(f+=2,a>>>=2),1&a||f++,f},s.prototype.bitLength=function(){var a=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+a},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,a=0;a<this.length;a++){var f=this._zeroBits(this.words[a]);if(i+=f,26!==f)break}return i},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},s.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var a=0;a<i.length;a++)this.words[a]=this.words[a]|i.words[a];return this.strip()},s.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},s.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},s.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},s.prototype.iuand=function(i){var a;a=this.length>i.length?i:this;for(var f=0;f<a.length;f++)this.words[f]=this.words[f]&i.words[f];return this.length=a.length,this.strip()},s.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},s.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},s.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},s.prototype.iuxor=function(i){var a,f;this.length>i.length?(a=this,f=i):(a=i,f=this);for(var l=0;l<f.length;l++)this.words[l]=a.words[l]^f.words[l];if(this!==a)for(;l<a.length;l++)this.words[l]=a.words[l];return this.length=a.length,this.strip()},s.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},s.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},s.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},s.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var a=0|Math.ceil(i/26),f=i%26;this._expand(a),f>0&&a--;for(var l=0;l<a;l++)this.words[l]=67108863&~this.words[l];return f>0&&(this.words[l]=~this.words[l]&67108863>>26-f),this.strip()},s.prototype.notn=function(i){return this.clone().inotn(i)},s.prototype.setn=function(i,a){g("number"==typeof i&&i>=0);var f=i/26|0,l=i%26;return this._expand(f+1),this.words[f]=a?this.words[f]|1<<l:this.words[f]&~(1<<l),this.strip()},s.prototype.iadd=function(i){var a,f,l;if(0!==this.negative&&0===i.negative)return this.negative=0,a=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,a=this.isub(i),i.negative=1,a._normSign();this.length>i.length?(f=this,l=i):(f=i,l=this);for(var y=0,E=0;E<l.length;E++)this.words[E]=67108863&(a=(0|f.words[E])+(0|l.words[E])+y),y=a>>>26;for(;0!==y&&E<f.length;E++)this.words[E]=67108863&(a=(0|f.words[E])+y),y=a>>>26;if(this.length=f.length,0!==y)this.words[this.length]=y,this.length++;else if(f!==this)for(;E<f.length;E++)this.words[E]=f.words[E];return this},s.prototype.add=function(i){var a;return 0!==i.negative&&0===this.negative?(i.negative=0,a=this.sub(i),i.negative^=1,a):0===i.negative&&0!==this.negative?(this.negative=0,a=i.sub(this),this.negative=1,a):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},s.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var a=this.iadd(i);return i.negative=1,a._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,f=this.cmp(i);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(l=this,y=i):(l=i,y=this);for(var E=0,D=0;D<y.length;D++)E=(a=(0|l.words[D])-(0|y.words[D])+E)>>26,this.words[D]=67108863&a;for(;0!==E&&D<l.length;D++)E=(a=(0|l.words[D])+E)>>26,this.words[D]=67108863&a;if(0===E&&D<l.length&&l!==this)for(;D<l.length;D++)this.words[D]=l.words[D];return this.length=Math.max(this.length,D),l!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(i){return this.clone().isub(i)};var U=function(i,a,f){var v,n,b,l=i.words,y=a.words,E=f.words,D=0,V=0|l[0],z=8191&V,Y=V>>>13,Te=0|l[1],$e=8191&Te,Ve=Te>>>13,We=0|l[2],Re=8191&We,we=We>>>13,me=0|l[3],Ae=8191&me,ee=me>>>13,Ze=0|l[4],Oe=8191&Ze,fe=Ze>>>13,Se=0|l[5],ge=8191&Se,xe=Se>>>13,vt=0|l[6],Ie=8191&vt,de=vt>>>13,rt=0|l[7],je=8191&rt,lt=rt>>>13,Nt=0|l[8],Ke=8191&Nt,at=Nt>>>13,Ct=0|l[9],ye=8191&Ct,Qe=Ct>>>13,Le=0|y[0],J=8191&Le,mt=Le>>>13,St=0|y[1],nt=8191&St,Ye=St>>>13,zt=0|y[2],xt=8191&zt,Ht=zt>>>13,Ut=0|y[3],De=8191&Ut,X=Ut>>>13,ue=0|y[4],Ee=8191&ue,qe=ue>>>13,Xt=0|y[5],Vt=8191&Xt,ri=Xt>>>13,pt=0|y[6],ot=8191&pt,ut=pt>>>13,wt=0|y[7],ft=8191&wt,Xe=wt>>>13,gt=0|y[8],_t=8191&gt,Fe=gt>>>13,Mt=0|y[9],Et=8191&Mt,Yt=Mt>>>13;f.negative=i.negative^a.negative,f.length=19;var Fi=(D+(v=Math.imul(z,J))|0)+((8191&(n=(n=Math.imul(z,mt))+Math.imul(Y,J)|0))<<13)|0;D=((b=Math.imul(Y,mt))+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,v=Math.imul($e,J),n=(n=Math.imul($e,mt))+Math.imul(Ve,J)|0,b=Math.imul(Ve,mt);var Ri=(D+(v=v+Math.imul(z,nt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ye)|0)+Math.imul(Y,nt)|0))<<13)|0;D=((b=b+Math.imul(Y,Ye)|0)+(n>>>13)|0)+(Ri>>>26)|0,Ri&=67108863,v=Math.imul(Re,J),n=(n=Math.imul(Re,mt))+Math.imul(we,J)|0,b=Math.imul(we,mt),v=v+Math.imul($e,nt)|0,n=(n=n+Math.imul($e,Ye)|0)+Math.imul(Ve,nt)|0,b=b+Math.imul(Ve,Ye)|0;var Ci=(D+(v=v+Math.imul(z,xt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ht)|0)+Math.imul(Y,xt)|0))<<13)|0;D=((b=b+Math.imul(Y,Ht)|0)+(n>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,v=Math.imul(Ae,J),n=(n=Math.imul(Ae,mt))+Math.imul(ee,J)|0,b=Math.imul(ee,mt),v=v+Math.imul(Re,nt)|0,n=(n=n+Math.imul(Re,Ye)|0)+Math.imul(we,nt)|0,b=b+Math.imul(we,Ye)|0,v=v+Math.imul($e,xt)|0,n=(n=n+Math.imul($e,Ht)|0)+Math.imul(Ve,xt)|0,b=b+Math.imul(Ve,Ht)|0;var Bi=(D+(v=v+Math.imul(z,De)|0)|0)+((8191&(n=(n=n+Math.imul(z,X)|0)+Math.imul(Y,De)|0))<<13)|0;D=((b=b+Math.imul(Y,X)|0)+(n>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Oe,J),n=(n=Math.imul(Oe,mt))+Math.imul(fe,J)|0,b=Math.imul(fe,mt),v=v+Math.imul(Ae,nt)|0,n=(n=n+Math.imul(Ae,Ye)|0)+Math.imul(ee,nt)|0,b=b+Math.imul(ee,Ye)|0,v=v+Math.imul(Re,xt)|0,n=(n=n+Math.imul(Re,Ht)|0)+Math.imul(we,xt)|0,b=b+Math.imul(we,Ht)|0,v=v+Math.imul($e,De)|0,n=(n=n+Math.imul($e,X)|0)+Math.imul(Ve,De)|0,b=b+Math.imul(Ve,X)|0;var Je=(D+(v=v+Math.imul(z,Ee)|0)|0)+((8191&(n=(n=n+Math.imul(z,qe)|0)+Math.imul(Y,Ee)|0))<<13)|0;D=((b=b+Math.imul(Y,qe)|0)+(n>>>13)|0)+(Je>>>26)|0,Je&=67108863,v=Math.imul(ge,J),n=(n=Math.imul(ge,mt))+Math.imul(xe,J)|0,b=Math.imul(xe,mt),v=v+Math.imul(Oe,nt)|0,n=(n=n+Math.imul(Oe,Ye)|0)+Math.imul(fe,nt)|0,b=b+Math.imul(fe,Ye)|0,v=v+Math.imul(Ae,xt)|0,n=(n=n+Math.imul(Ae,Ht)|0)+Math.imul(ee,xt)|0,b=b+Math.imul(ee,Ht)|0,v=v+Math.imul(Re,De)|0,n=(n=n+Math.imul(Re,X)|0)+Math.imul(we,De)|0,b=b+Math.imul(we,X)|0,v=v+Math.imul($e,Ee)|0,n=(n=n+Math.imul($e,qe)|0)+Math.imul(Ve,Ee)|0,b=b+Math.imul(Ve,qe)|0;var Dt=(D+(v=v+Math.imul(z,Vt)|0)|0)+((8191&(n=(n=n+Math.imul(z,ri)|0)+Math.imul(Y,Vt)|0))<<13)|0;D=((b=b+Math.imul(Y,ri)|0)+(n>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Ie,J),n=(n=Math.imul(Ie,mt))+Math.imul(de,J)|0,b=Math.imul(de,mt),v=v+Math.imul(ge,nt)|0,n=(n=n+Math.imul(ge,Ye)|0)+Math.imul(xe,nt)|0,b=b+Math.imul(xe,Ye)|0,v=v+Math.imul(Oe,xt)|0,n=(n=n+Math.imul(Oe,Ht)|0)+Math.imul(fe,xt)|0,b=b+Math.imul(fe,Ht)|0,v=v+Math.imul(Ae,De)|0,n=(n=n+Math.imul(Ae,X)|0)+Math.imul(ee,De)|0,b=b+Math.imul(ee,X)|0,v=v+Math.imul(Re,Ee)|0,n=(n=n+Math.imul(Re,qe)|0)+Math.imul(we,Ee)|0,b=b+Math.imul(we,qe)|0,v=v+Math.imul($e,Vt)|0,n=(n=n+Math.imul($e,ri)|0)+Math.imul(Ve,Vt)|0,b=b+Math.imul(Ve,ri)|0;var be=(D+(v=v+Math.imul(z,ot)|0)|0)+((8191&(n=(n=n+Math.imul(z,ut)|0)+Math.imul(Y,ot)|0))<<13)|0;D=((b=b+Math.imul(Y,ut)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,v=Math.imul(je,J),n=(n=Math.imul(je,mt))+Math.imul(lt,J)|0,b=Math.imul(lt,mt),v=v+Math.imul(Ie,nt)|0,n=(n=n+Math.imul(Ie,Ye)|0)+Math.imul(de,nt)|0,b=b+Math.imul(de,Ye)|0,v=v+Math.imul(ge,xt)|0,n=(n=n+Math.imul(ge,Ht)|0)+Math.imul(xe,xt)|0,b=b+Math.imul(xe,Ht)|0,v=v+Math.imul(Oe,De)|0,n=(n=n+Math.imul(Oe,X)|0)+Math.imul(fe,De)|0,b=b+Math.imul(fe,X)|0,v=v+Math.imul(Ae,Ee)|0,n=(n=n+Math.imul(Ae,qe)|0)+Math.imul(ee,Ee)|0,b=b+Math.imul(ee,qe)|0,v=v+Math.imul(Re,Vt)|0,n=(n=n+Math.imul(Re,ri)|0)+Math.imul(we,Vt)|0,b=b+Math.imul(we,ri)|0,v=v+Math.imul($e,ot)|0,n=(n=n+Math.imul($e,ut)|0)+Math.imul(Ve,ot)|0,b=b+Math.imul(Ve,ut)|0;var Tt=(D+(v=v+Math.imul(z,ft)|0)|0)+((8191&(n=(n=n+Math.imul(z,Xe)|0)+Math.imul(Y,ft)|0))<<13)|0;D=((b=b+Math.imul(Y,Xe)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,v=Math.imul(Ke,J),n=(n=Math.imul(Ke,mt))+Math.imul(at,J)|0,b=Math.imul(at,mt),v=v+Math.imul(je,nt)|0,n=(n=n+Math.imul(je,Ye)|0)+Math.imul(lt,nt)|0,b=b+Math.imul(lt,Ye)|0,v=v+Math.imul(Ie,xt)|0,n=(n=n+Math.imul(Ie,Ht)|0)+Math.imul(de,xt)|0,b=b+Math.imul(de,Ht)|0,v=v+Math.imul(ge,De)|0,n=(n=n+Math.imul(ge,X)|0)+Math.imul(xe,De)|0,b=b+Math.imul(xe,X)|0,v=v+Math.imul(Oe,Ee)|0,n=(n=n+Math.imul(Oe,qe)|0)+Math.imul(fe,Ee)|0,b=b+Math.imul(fe,qe)|0,v=v+Math.imul(Ae,Vt)|0,n=(n=n+Math.imul(Ae,ri)|0)+Math.imul(ee,Vt)|0,b=b+Math.imul(ee,ri)|0,v=v+Math.imul(Re,ot)|0,n=(n=n+Math.imul(Re,ut)|0)+Math.imul(we,ot)|0,b=b+Math.imul(we,ut)|0,v=v+Math.imul($e,ft)|0,n=(n=n+Math.imul($e,Xe)|0)+Math.imul(Ve,ft)|0,b=b+Math.imul(Ve,Xe)|0;var Wt=(D+(v=v+Math.imul(z,_t)|0)|0)+((8191&(n=(n=n+Math.imul(z,Fe)|0)+Math.imul(Y,_t)|0))<<13)|0;D=((b=b+Math.imul(Y,Fe)|0)+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,v=Math.imul(ye,J),n=(n=Math.imul(ye,mt))+Math.imul(Qe,J)|0,b=Math.imul(Qe,mt),v=v+Math.imul(Ke,nt)|0,n=(n=n+Math.imul(Ke,Ye)|0)+Math.imul(at,nt)|0,b=b+Math.imul(at,Ye)|0,v=v+Math.imul(je,xt)|0,n=(n=n+Math.imul(je,Ht)|0)+Math.imul(lt,xt)|0,b=b+Math.imul(lt,Ht)|0,v=v+Math.imul(Ie,De)|0,n=(n=n+Math.imul(Ie,X)|0)+Math.imul(de,De)|0,b=b+Math.imul(de,X)|0,v=v+Math.imul(ge,Ee)|0,n=(n=n+Math.imul(ge,qe)|0)+Math.imul(xe,Ee)|0,b=b+Math.imul(xe,qe)|0,v=v+Math.imul(Oe,Vt)|0,n=(n=n+Math.imul(Oe,ri)|0)+Math.imul(fe,Vt)|0,b=b+Math.imul(fe,ri)|0,v=v+Math.imul(Ae,ot)|0,n=(n=n+Math.imul(Ae,ut)|0)+Math.imul(ee,ot)|0,b=b+Math.imul(ee,ut)|0,v=v+Math.imul(Re,ft)|0,n=(n=n+Math.imul(Re,Xe)|0)+Math.imul(we,ft)|0,b=b+Math.imul(we,Xe)|0,v=v+Math.imul($e,_t)|0,n=(n=n+Math.imul($e,Fe)|0)+Math.imul(Ve,_t)|0,b=b+Math.imul(Ve,Fe)|0;var ci=(D+(v=v+Math.imul(z,Et)|0)|0)+((8191&(n=(n=n+Math.imul(z,Yt)|0)+Math.imul(Y,Et)|0))<<13)|0;D=((b=b+Math.imul(Y,Yt)|0)+(n>>>13)|0)+(ci>>>26)|0,ci&=67108863,v=Math.imul(ye,nt),n=(n=Math.imul(ye,Ye))+Math.imul(Qe,nt)|0,b=Math.imul(Qe,Ye),v=v+Math.imul(Ke,xt)|0,n=(n=n+Math.imul(Ke,Ht)|0)+Math.imul(at,xt)|0,b=b+Math.imul(at,Ht)|0,v=v+Math.imul(je,De)|0,n=(n=n+Math.imul(je,X)|0)+Math.imul(lt,De)|0,b=b+Math.imul(lt,X)|0,v=v+Math.imul(Ie,Ee)|0,n=(n=n+Math.imul(Ie,qe)|0)+Math.imul(de,Ee)|0,b=b+Math.imul(de,qe)|0,v=v+Math.imul(ge,Vt)|0,n=(n=n+Math.imul(ge,ri)|0)+Math.imul(xe,Vt)|0,b=b+Math.imul(xe,ri)|0,v=v+Math.imul(Oe,ot)|0,n=(n=n+Math.imul(Oe,ut)|0)+Math.imul(fe,ot)|0,b=b+Math.imul(fe,ut)|0,v=v+Math.imul(Ae,ft)|0,n=(n=n+Math.imul(Ae,Xe)|0)+Math.imul(ee,ft)|0,b=b+Math.imul(ee,Xe)|0,v=v+Math.imul(Re,_t)|0,n=(n=n+Math.imul(Re,Fe)|0)+Math.imul(we,_t)|0,b=b+Math.imul(we,Fe)|0;var Ai=(D+(v=v+Math.imul($e,Et)|0)|0)+((8191&(n=(n=n+Math.imul($e,Yt)|0)+Math.imul(Ve,Et)|0))<<13)|0;D=((b=b+Math.imul(Ve,Yt)|0)+(n>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,v=Math.imul(ye,xt),n=(n=Math.imul(ye,Ht))+Math.imul(Qe,xt)|0,b=Math.imul(Qe,Ht),v=v+Math.imul(Ke,De)|0,n=(n=n+Math.imul(Ke,X)|0)+Math.imul(at,De)|0,b=b+Math.imul(at,X)|0,v=v+Math.imul(je,Ee)|0,n=(n=n+Math.imul(je,qe)|0)+Math.imul(lt,Ee)|0,b=b+Math.imul(lt,qe)|0,v=v+Math.imul(Ie,Vt)|0,n=(n=n+Math.imul(Ie,ri)|0)+Math.imul(de,Vt)|0,b=b+Math.imul(de,ri)|0,v=v+Math.imul(ge,ot)|0,n=(n=n+Math.imul(ge,ut)|0)+Math.imul(xe,ot)|0,b=b+Math.imul(xe,ut)|0,v=v+Math.imul(Oe,ft)|0,n=(n=n+Math.imul(Oe,Xe)|0)+Math.imul(fe,ft)|0,b=b+Math.imul(fe,Xe)|0,v=v+Math.imul(Ae,_t)|0,n=(n=n+Math.imul(Ae,Fe)|0)+Math.imul(ee,_t)|0,b=b+Math.imul(ee,Fe)|0;var ki=(D+(v=v+Math.imul(Re,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Re,Yt)|0)+Math.imul(we,Et)|0))<<13)|0;D=((b=b+Math.imul(we,Yt)|0)+(n>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(ye,De),n=(n=Math.imul(ye,X))+Math.imul(Qe,De)|0,b=Math.imul(Qe,X),v=v+Math.imul(Ke,Ee)|0,n=(n=n+Math.imul(Ke,qe)|0)+Math.imul(at,Ee)|0,b=b+Math.imul(at,qe)|0,v=v+Math.imul(je,Vt)|0,n=(n=n+Math.imul(je,ri)|0)+Math.imul(lt,Vt)|0,b=b+Math.imul(lt,ri)|0,v=v+Math.imul(Ie,ot)|0,n=(n=n+Math.imul(Ie,ut)|0)+Math.imul(de,ot)|0,b=b+Math.imul(de,ut)|0,v=v+Math.imul(ge,ft)|0,n=(n=n+Math.imul(ge,Xe)|0)+Math.imul(xe,ft)|0,b=b+Math.imul(xe,Xe)|0,v=v+Math.imul(Oe,_t)|0,n=(n=n+Math.imul(Oe,Fe)|0)+Math.imul(fe,_t)|0,b=b+Math.imul(fe,Fe)|0;var Yi=(D+(v=v+Math.imul(Ae,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Yt)|0)+Math.imul(ee,Et)|0))<<13)|0;D=((b=b+Math.imul(ee,Yt)|0)+(n>>>13)|0)+(Yi>>>26)|0,Yi&=67108863,v=Math.imul(ye,Ee),n=(n=Math.imul(ye,qe))+Math.imul(Qe,Ee)|0,b=Math.imul(Qe,qe),v=v+Math.imul(Ke,Vt)|0,n=(n=n+Math.imul(Ke,ri)|0)+Math.imul(at,Vt)|0,b=b+Math.imul(at,ri)|0,v=v+Math.imul(je,ot)|0,n=(n=n+Math.imul(je,ut)|0)+Math.imul(lt,ot)|0,b=b+Math.imul(lt,ut)|0,v=v+Math.imul(Ie,ft)|0,n=(n=n+Math.imul(Ie,Xe)|0)+Math.imul(de,ft)|0,b=b+Math.imul(de,Xe)|0,v=v+Math.imul(ge,_t)|0,n=(n=n+Math.imul(ge,Fe)|0)+Math.imul(xe,_t)|0,b=b+Math.imul(xe,Fe)|0;var ji=(D+(v=v+Math.imul(Oe,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Oe,Yt)|0)+Math.imul(fe,Et)|0))<<13)|0;D=((b=b+Math.imul(fe,Yt)|0)+(n>>>13)|0)+(ji>>>26)|0,ji&=67108863,v=Math.imul(ye,Vt),n=(n=Math.imul(ye,ri))+Math.imul(Qe,Vt)|0,b=Math.imul(Qe,ri),v=v+Math.imul(Ke,ot)|0,n=(n=n+Math.imul(Ke,ut)|0)+Math.imul(at,ot)|0,b=b+Math.imul(at,ut)|0,v=v+Math.imul(je,ft)|0,n=(n=n+Math.imul(je,Xe)|0)+Math.imul(lt,ft)|0,b=b+Math.imul(lt,Xe)|0,v=v+Math.imul(Ie,_t)|0,n=(n=n+Math.imul(Ie,Fe)|0)+Math.imul(de,_t)|0,b=b+Math.imul(de,Fe)|0;var tn=(D+(v=v+Math.imul(ge,Et)|0)|0)+((8191&(n=(n=n+Math.imul(ge,Yt)|0)+Math.imul(xe,Et)|0))<<13)|0;D=((b=b+Math.imul(xe,Yt)|0)+(n>>>13)|0)+(tn>>>26)|0,tn&=67108863,v=Math.imul(ye,ot),n=(n=Math.imul(ye,ut))+Math.imul(Qe,ot)|0,b=Math.imul(Qe,ut),v=v+Math.imul(Ke,ft)|0,n=(n=n+Math.imul(Ke,Xe)|0)+Math.imul(at,ft)|0,b=b+Math.imul(at,Xe)|0,v=v+Math.imul(je,_t)|0,n=(n=n+Math.imul(je,Fe)|0)+Math.imul(lt,_t)|0,b=b+Math.imul(lt,Fe)|0;var Zt=(D+(v=v+Math.imul(Ie,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Yt)|0)+Math.imul(de,Et)|0))<<13)|0;D=((b=b+Math.imul(de,Yt)|0)+(n>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v=Math.imul(ye,ft),n=(n=Math.imul(ye,Xe))+Math.imul(Qe,ft)|0,b=Math.imul(Qe,Xe),v=v+Math.imul(Ke,_t)|0,n=(n=n+Math.imul(Ke,Fe)|0)+Math.imul(at,_t)|0,b=b+Math.imul(at,Fe)|0;var Qt=(D+(v=v+Math.imul(je,Et)|0)|0)+((8191&(n=(n=n+Math.imul(je,Yt)|0)+Math.imul(lt,Et)|0))<<13)|0;D=((b=b+Math.imul(lt,Yt)|0)+(n>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v=Math.imul(ye,_t),n=(n=Math.imul(ye,Fe))+Math.imul(Qe,_t)|0,b=Math.imul(Qe,Fe);var _e=(D+(v=v+Math.imul(Ke,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ke,Yt)|0)+Math.imul(at,Et)|0))<<13)|0;D=((b=b+Math.imul(at,Yt)|0)+(n>>>13)|0)+(_e>>>26)|0,_e&=67108863;var ht=(D+(v=Math.imul(ye,Et))|0)+((8191&(n=(n=Math.imul(ye,Yt))+Math.imul(Qe,Et)|0))<<13)|0;return D=((b=Math.imul(Qe,Yt))+(n>>>13)|0)+(ht>>>26)|0,ht&=67108863,E[0]=Fi,E[1]=Ri,E[2]=Ci,E[3]=Bi,E[4]=Je,E[5]=Dt,E[6]=be,E[7]=Tt,E[8]=Wt,E[9]=ci,E[10]=Ai,E[11]=ki,E[12]=Yi,E[13]=ji,E[14]=tn,E[15]=Zt,E[16]=Qt,E[17]=_e,E[18]=ht,0!==D&&(E[19]=D,f.length++),f};function W(S,i,a){return(new K).mulp(S,i,a)}function K(S,i){this.x=S,this.y=i}Math.imul||(U=O),s.prototype.mulTo=function(i,a){var f,l=this.length+i.length;return f=10===this.length&&10===i.length?U(this,i,a):l<63?O(this,i,a):l<1024?function Z(S,i,a){a.negative=i.negative^S.negative,a.length=S.length+i.length;for(var f=0,l=0,y=0;y<a.length-1;y++){var E=l;l=0;for(var D=67108863&f,v=Math.min(y,i.length-1),n=Math.max(0,y-S.length+1);n<=v;n++){var Y=(0|S.words[y-n])*(0|i.words[n]),Te=67108863&Y;D=67108863&(Te=Te+D|0),l+=(E=(E=E+(Y/67108864|0)|0)+(Te>>>26)|0)>>>26,E&=67108863}a.words[y]=D,f=E,E=l}return 0!==f?a.words[y]=f:a.length--,a.strip()}(this,i,a):W(this,i,a),f},K.prototype.makeRBT=function(i){for(var a=new Array(i),f=s.prototype._countBits(i)-1,l=0;l<i;l++)a[l]=this.revBin(l,f,i);return a},K.prototype.revBin=function(i,a,f){if(0===i||i===f-1)return i;for(var l=0,y=0;y<a;y++)l|=(1&i)<<a-y-1,i>>=1;return l},K.prototype.permute=function(i,a,f,l,y,E){for(var D=0;D<E;D++)l[D]=a[i[D]],y[D]=f[i[D]]},K.prototype.transform=function(i,a,f,l,y,E){this.permute(E,i,a,f,l,y);for(var D=1;D<y;D<<=1)for(var v=D<<1,n=Math.cos(2*Math.PI/v),b=Math.sin(2*Math.PI/v),V=0;V<y;V+=v)for(var z=n,Y=b,Te=0;Te<D;Te++){var $e=f[V+Te],Ve=l[V+Te],We=f[V+Te+D],Re=l[V+Te+D],we=z*We-Y*Re;Re=z*Re+Y*We,f[V+Te]=$e+(We=we),l[V+Te]=Ve+Re,f[V+Te+D]=$e-We,l[V+Te+D]=Ve-Re,Te!==v&&(we=n*z-b*Y,Y=n*Y+b*z,z=we)}},K.prototype.guessLen13b=function(i,a){var f=1|Math.max(a,i),l=1&f,y=0;for(f=f/2|0;f;f>>>=1)y++;return 1<<y+1+l},K.prototype.conjugate=function(i,a,f){if(!(f<=1))for(var l=0;l<f/2;l++){var y=i[l];i[l]=i[f-l-1],i[f-l-1]=y,y=a[l],a[l]=-a[f-l-1],a[f-l-1]=-y}},K.prototype.normalize13b=function(i,a){for(var f=0,l=0;l<a/2;l++){var y=8192*Math.round(i[2*l+1]/a)+Math.round(i[2*l]/a)+f;i[l]=67108863&y,f=y<67108864?0:y/67108864|0}return i},K.prototype.convert13b=function(i,a,f,l){for(var y=0,E=0;E<a;E++)f[2*E]=8191&(y+=0|i[E]),f[2*E+1]=8191&(y>>>=13),y>>>=13;for(E=2*a;E<l;++E)f[E]=0;g(0===y),g(0==(-8192&y))},K.prototype.stub=function(i){for(var a=new Array(i),f=0;f<i;f++)a[f]=0;return a},K.prototype.mulp=function(i,a,f){var l=2*this.guessLen13b(i.length,a.length),y=this.makeRBT(l),E=this.stub(l),D=new Array(l),v=new Array(l),n=new Array(l),b=new Array(l),V=new Array(l),z=new Array(l),Y=f.words;Y.length=l,this.convert13b(i.words,i.length,D,l),this.convert13b(a.words,a.length,b,l),this.transform(D,E,v,n,l,y),this.transform(b,E,V,z,l,y);for(var Te=0;Te<l;Te++){var $e=v[Te]*V[Te]-n[Te]*z[Te];n[Te]=v[Te]*z[Te]+n[Te]*V[Te],v[Te]=$e}return this.conjugate(v,n,l),this.transform(v,n,Y,E,l,y),this.conjugate(Y,E,l),this.normalize13b(Y,l),f.negative=i.negative^a.negative,f.length=i.length+a.length,f.strip()},s.prototype.mul=function(i){var a=new s(null);return a.words=new Array(this.length+i.length),this.mulTo(i,a)},s.prototype.mulf=function(i){var a=new s(null);return a.words=new Array(this.length+i.length),W(this,i,a)},s.prototype.imul=function(i){return this.clone().mulTo(i,this)},s.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var a=0,f=0;f<this.length;f++){var l=(0|this.words[f])*i,y=(67108863&l)+(67108863&a);a>>=26,a+=l/67108864|0,a+=y>>>26,this.words[f]=67108863&y}return 0!==a&&(this.words[f]=a,this.length++),this},s.prototype.muln=function(i){return this.clone().imuln(i)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(i){var a=function k(S){for(var i=new Array(S.bitLength()),a=0;a<i.length;a++){var l=a%26;i[a]=(S.words[a/26|0]&1<<l)>>>l}return i}(i);if(0===a.length)return new s(1);for(var f=this,l=0;l<a.length&&0===a[l];l++,f=f.sqr());if(++l<a.length)for(var y=f.sqr();l<a.length;l++,y=y.sqr())0!==a[l]&&(f=f.mul(y));return f},s.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,a=i%26,f=(i-a)/26,l=67108863>>>26-a<<26-a;if(0!==a){var E=0;for(y=0;y<this.length;y++){var D=this.words[y]&l;this.words[y]=(0|this.words[y])-D<<a|E,E=D>>>26-a}E&&(this.words[y]=E,this.length++)}if(0!==f){for(y=this.length-1;y>=0;y--)this.words[y+f]=this.words[y];for(y=0;y<f;y++)this.words[y]=0;this.length+=f}return this.strip()},s.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},s.prototype.iushrn=function(i,a,f){var l;g("number"==typeof i&&i>=0),l=a?(a-a%26)/26:0;var y=i%26,E=Math.min((i-y)/26,this.length),D=67108863^67108863>>>y<<y,v=f;if(l-=E,l=Math.max(0,l),v){for(var n=0;n<E;n++)v.words[n]=this.words[n];v.length=E}if(0!==E)if(this.length>E)for(this.length-=E,n=0;n<this.length;n++)this.words[n]=this.words[n+E];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=l);n--){var V=0|this.words[n];this.words[n]=b<<26-y|V>>>y,b=V&D}return v&&0!==b&&(v.words[v.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(i,a,f){return g(0===this.negative),this.iushrn(i,a,f)},s.prototype.shln=function(i){return this.clone().ishln(i)},s.prototype.ushln=function(i){return this.clone().iushln(i)},s.prototype.shrn=function(i){return this.clone().ishrn(i)},s.prototype.ushrn=function(i){return this.clone().iushrn(i)},s.prototype.testn=function(i){g("number"==typeof i&&i>=0);var a=i%26,f=(i-a)/26;return!(this.length<=f||!(this.words[f]&1<<a))},s.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var a=i%26,f=(i-a)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==a&&f++,this.length=Math.min(f,this.length),0!==a&&(this.words[this.length-1]&=67108863^67108863>>>a<<a),this.strip())},s.prototype.maskn=function(i){return this.clone().imaskn(i)},s.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)},s.prototype._iaddn=function(i){this.words[0]+=i;for(var a=0;a<this.length&&this.words[a]>=67108864;a++)this.words[a]-=67108864,a===this.length-1?this.words[a+1]=1:this.words[a+1]++;return this.length=Math.max(this.length,a+1),this},s.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 a=0;a<this.length&&this.words[a]<0;a++)this.words[a]+=67108864,this.words[a+1]-=1;return this.strip()},s.prototype.addn=function(i){return this.clone().iaddn(i)},s.prototype.subn=function(i){return this.clone().isubn(i)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(i,a,f){var y;this._expand(i.length+f);var E,D=0;for(y=0;y<i.length;y++){E=(0|this.words[y+f])+D;var v=(0|i.words[y])*a;D=((E-=67108863&v)>>26)-(v/67108864|0),this.words[y+f]=67108863&E}for(;y<this.length-f;y++)D=(E=(0|this.words[y+f])+D)>>26,this.words[y+f]=67108863&E;if(0===D)return this.strip();for(g(-1===D),D=0,y=0;y<this.length;y++)D=(E=-(0|this.words[y])+D)>>26,this.words[y]=67108863&E;return this.negative=1,this.strip()},s.prototype._wordDiv=function(i,a){var f,l=this.clone(),y=i,E=0|y.words[y.length-1];0!=(f=26-this._countBits(E))&&(y=y.ushln(f),l.iushln(f),E=0|y.words[y.length-1]);var n,v=l.length-y.length;if("mod"!==a){(n=new s(null)).length=v+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var V=l.clone()._ishlnsubmul(y,1,v);0===V.negative&&(l=V,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var Y=67108864*(0|l.words[y.length+z])+(0|l.words[y.length+z-1]);for(Y=Math.min(Y/E|0,67108863),l._ishlnsubmul(y,Y,z);0!==l.negative;)Y--,l.negative=0,l._ishlnsubmul(y,1,z),l.isZero()||(l.negative^=1);n&&(n.words[z]=Y)}return n&&n.strip(),l.strip(),"div"!==a&&0!==f&&l.iushrn(f),{div:n||null,mod:l}},s.prototype.divmod=function(i,a,f){return g(!i.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===i.negative?(E=this.neg().divmod(i,a),"mod"!==a&&(l=E.div.neg()),"div"!==a&&(y=E.mod.neg(),f&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(E=this.divmod(i.neg(),a),"mod"!==a&&(l=E.div.neg()),{div:l,mod:E.mod}):this.negative&i.negative?(E=this.neg().divmod(i.neg(),a),"div"!==a&&(y=E.mod.neg(),f&&0!==y.negative&&y.isub(i)),{div:E.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new s(0),mod:this}:1===i.length?"div"===a?{div:this.divn(i.words[0]),mod:null}:"mod"===a?{div:null,mod:new s(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new s(this.modn(i.words[0]))}:this._wordDiv(i,a);var l,y,E},s.prototype.div=function(i){return this.divmod(i,"div",!1).div},s.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},s.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},s.prototype.divRound=function(i){var a=this.divmod(i);if(a.mod.isZero())return a.div;var f=0!==a.div.negative?a.mod.isub(i):a.mod,l=i.ushrn(1),y=i.andln(1),E=f.cmp(l);return E<0||1===y&&0===E?a.div:0!==a.div.negative?a.div.isubn(1):a.div.iaddn(1)},s.prototype.modn=function(i){g(i<=67108863);for(var a=(1<<26)%i,f=0,l=this.length-1;l>=0;l--)f=(a*f+(0|this.words[l]))%i;return f},s.prototype.idivn=function(i){g(i<=67108863);for(var a=0,f=this.length-1;f>=0;f--){var l=(0|this.words[f])+67108864*a;this.words[f]=l/i|0,a=l%i}return this.strip()},s.prototype.divn=function(i){return this.clone().idivn(i)},s.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var a=this,f=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),E=new s(0),D=new s(1),v=0;a.isEven()&&f.isEven();)a.iushrn(1),f.iushrn(1),++v;for(var n=f.clone(),b=a.clone();!a.isZero();){for(var V=0,z=1;!(a.words[0]&z)&&V<26;++V,z<<=1);if(V>0)for(a.iushrn(V);V-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(b)),l.iushrn(1),y.iushrn(1);for(var Y=0,Te=1;!(f.words[0]&Te)&&Y<26;++Y,Te<<=1);if(Y>0)for(f.iushrn(Y);Y-- >0;)(E.isOdd()||D.isOdd())&&(E.iadd(n),D.isub(b)),E.iushrn(1),D.iushrn(1);a.cmp(f)>=0?(a.isub(f),l.isub(E),y.isub(D)):(f.isub(a),E.isub(l),D.isub(y))}return{a:E,b:D,gcd:f.iushln(v)}},s.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var V,a=this,f=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),E=f.clone();a.cmpn(1)>0&&f.cmpn(1)>0;){for(var D=0,v=1;!(a.words[0]&v)&&D<26;++D,v<<=1);if(D>0)for(a.iushrn(D);D-- >0;)l.isOdd()&&l.iadd(E),l.iushrn(1);for(var n=0,b=1;!(f.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(f.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(E),y.iushrn(1);a.cmp(f)>=0?(a.isub(f),l.isub(y)):(f.isub(a),y.isub(l))}return(V=0===a.cmpn(1)?l:y).cmpn(0)<0&&V.iadd(i),V},s.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var a=this.clone(),f=i.clone();a.negative=0,f.negative=0;for(var l=0;a.isEven()&&f.isEven();l++)a.iushrn(1),f.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;f.isEven();)f.iushrn(1);var y=a.cmp(f);if(y<0){var E=a;a=f,f=E}else if(0===y||0===f.cmpn(1))break;a.isub(f)}return f.iushln(l)},s.prototype.invm=function(i){return this.egcd(i).a.umod(i)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(i){return this.words[0]&i},s.prototype.bincn=function(i){g("number"==typeof i);var a=i%26,f=(i-a)/26,l=1<<a;if(this.length<=f)return this._expand(f+1),this.words[f]|=l,this;for(var y=l,E=f;0!==y&&E<this.length;E++){var D=0|this.words[E];y=(D+=y)>>>26,this.words[E]=D&=67108863}return 0!==y&&(this.words[E]=y,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(i){var f,a=i<0;if(0!==this.negative&&!a)return-1;if(0===this.negative&&a)return 1;if(this.strip(),this.length>1)f=1;else{a&&(i=-i),g(i<=67108863,"Number is too big");var l=0|this.words[0];f=l===i?0:l<i?-1:1}return 0!==this.negative?0|-f:f},s.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var a=this.ucmp(i);return 0!==this.negative?0|-a:a},s.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var a=0,f=this.length-1;f>=0;f--){var l=0|this.words[f],y=0|i.words[f];if(l!==y){l<y?a=-1:l>y&&(a=1);break}}return a},s.prototype.gtn=function(i){return 1===this.cmpn(i)},s.prototype.gt=function(i){return 1===this.cmp(i)},s.prototype.gten=function(i){return this.cmpn(i)>=0},s.prototype.gte=function(i){return this.cmp(i)>=0},s.prototype.ltn=function(i){return-1===this.cmpn(i)},s.prototype.lt=function(i){return-1===this.cmp(i)},s.prototype.lten=function(i){return this.cmpn(i)<=0},s.prototype.lte=function(i){return this.cmp(i)<=0},s.prototype.eqn=function(i){return 0===this.cmpn(i)},s.prototype.eq=function(i){return 0===this.cmp(i)},s.red=function(i){return new se(i)},s.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)},s.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(i){return this.red=i,this},s.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},s.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},s.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},s.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},s.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},s.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},s.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},s.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},s.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var q={k256:null,p224:null,p192:null,p25519:null};function te(S,i){this.name=S,this.p=new s(i,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function pe(){te.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function oe(){te.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function re(){te.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){te.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(S){if("string"==typeof S){var i=s._prime(S);this.m=i.p,this.prime=i}else g(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){se.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(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)}te.prototype._tmp=function(){var i=new s(null);return i.words=new Array(Math.ceil(this.n/13)),i},te.prototype.ireduce=function(i){var f,a=i;do{this.split(a,this.tmp),f=(a=(a=this.imulK(a)).iadd(this.tmp)).bitLength()}while(f>this.n);var l=f<this.n?-1:a.ucmp(this.p);return 0===l?(a.words[0]=0,a.length=1):l>0?a.isub(this.p):void 0!==a.strip?a.strip():a._strip(),a},te.prototype.split=function(i,a){i.iushrn(this.n,0,a)},te.prototype.imulK=function(i){return i.imul(this.k)},A(pe,te),pe.prototype.split=function(i,a){for(var f=4194303,l=Math.min(i.length,9),y=0;y<l;y++)a.words[y]=i.words[y];if(a.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var E=i.words[9];for(a.words[a.length++]=E&f,y=10;y<i.length;y++){var D=0|i.words[y];i.words[y-10]=(D&f)<<4|E>>>22,E=D}i.words[y-10]=E>>>=22,i.length-=0===E&&i.length>10?10:9},pe.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var a=0,f=0;f<i.length;f++){var l=0|i.words[f];i.words[f]=67108863&(a+=977*l),a=64*l+(a/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},A(oe,te),A(re,te),A(ce,te),ce.prototype.imulK=function(i){for(var a=0,f=0;f<i.length;f++){var l=19*(0|i.words[f])+a,y=67108863&l;l>>>=26,i.words[f]=y,a=l}return 0!==a&&(i.words[i.length++]=a),i},s._prime=function(i){if(q[i])return q[i];var a;if("k256"===i)a=new pe;else if("p224"===i)a=new oe;else if("p192"===i)a=new re;else{if("p25519"!==i)throw new Error("Unknown prime "+i);a=new ce}return q[i]=a,a},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,a){g(0==(i.negative|a.negative),"red works only with positives"),g(i.red&&i.red===a.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,a){this._verify2(i,a);var f=i.add(a);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},se.prototype.iadd=function(i,a){this._verify2(i,a);var f=i.iadd(a);return f.cmp(this.m)>=0&&f.isub(this.m),f},se.prototype.sub=function(i,a){this._verify2(i,a);var f=i.sub(a);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},se.prototype.isub=function(i,a){this._verify2(i,a);var f=i.isub(a);return f.cmpn(0)<0&&f.iadd(this.m),f},se.prototype.shl=function(i,a){return this._verify1(i),this.imod(i.ushln(a))},se.prototype.imul=function(i,a){return this._verify2(i,a),this.imod(i.imul(a))},se.prototype.mul=function(i,a){return this._verify2(i,a),this.imod(i.mul(a))},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 a=this.m.andln(3);if(g(a%2==1),3===a){var f=this.m.add(new s(1)).iushrn(2);return this.pow(i,f)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);g(!l.isZero());var E=new s(1).toRed(this),D=E.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new s(2*n*n).toRed(this);0!==this.pow(n,v).cmp(D);)n.redIAdd(D);for(var b=this.pow(n,l),V=this.pow(i,l.addn(1).iushrn(1)),z=this.pow(i,l),Y=y;0!==z.cmp(E);){for(var Te=z,$e=0;0!==Te.cmp(E);$e++)Te=Te.redSqr();g($e<Y);var Ve=this.pow(b,new s(1).iushln(Y-$e-1));V=V.redMul(Ve),b=Ve.redSqr(),z=z.redMul(b),Y=$e}return V},se.prototype.invm=function(i){var a=i._invmp(this.m);return 0!==a.negative?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},se.prototype.pow=function(i,a){if(a.isZero())return new s(1).toRed(this);if(0===a.cmpn(1))return i.clone();var l=new Array(16);l[0]=new s(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var E=l[0],D=0,v=0,n=a.bitLength()%26;for(0===n&&(n=26),y=a.length-1;y>=0;y--){for(var b=a.words[y],V=n-1;V>=0;V--){var z=b>>V&1;E!==l[0]&&(E=this.sqr(E)),0!==z||0!==D?(D<<=1,D|=z,(4==++v||0===y&&0===V)&&(E=this.mul(E,l[D]),v=0,D=0)):v=0}n=26}return E},se.prototype.convertTo=function(i){var a=i.umod(this.m);return a===i?a.clone():a},se.prototype.convertFrom=function(i){var a=i.clone();return a.red=null,a},s.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 a=this.imod(i.mul(this.rinv));return a.red=null,a},he.prototype.imul=function(i,a){if(i.isZero()||a.isZero())return i.words[0]=0,i.length=1,i;var f=i.imul(a),l=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=f.isub(l).iushrn(this.shift),E=y;return y.cmp(this.m)>=0?E=y.isub(this.m):y.cmpn(0)<0&&(E=y.iadd(this.m)),E._forceRed(this)},he.prototype.mul=function(i,a){if(i.isZero()||a.isZero())return new s(0)._forceRed(this);var f=i.mul(a),l=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=f.isub(l).iushrn(this.shift),E=y;return y.cmp(this.m)>=0?E=y.isub(this.m):y.cmpn(0)<0&&(E=y.iadd(this.m)),E._forceRed(this)},he.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Be=m.nmd(Be),this)},4901:Be=>{"use strict";var Q={single_source_shortest_paths:function(m,t,e){var g={},A={};A[t]=0;var C,h,P,d,M,I,s=Q.PriorityQueue.make();for(s.push(t,0);!s.empty();)for(P in d=(C=s.pop()).cost,M=m[h=C.value]||{})M.hasOwnProperty(P)&&(I=d+M[P],(typeof A[P]>"u"||A[P]>I)&&(A[P]=I,s.push(P,I),g[P]=h));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}}};Be.exports=Q},7715:(Be,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:(Be,Q,m)=>{"use strict";var t=m(7433),e=m(1970),g=e.getNAF,A=e.getJSF,s=e.assert;function C(P,d){this.type=P,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 h(P,d){this.curve=P,this.type=d,this.precomputed=null}Be.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){s(d.precomputed);var w=d._getDoubles(),I=g(M,1,this._bitLength),k=(1<<w.step+1)-(w.step%2==0?2:1);k/=3;var U,Z,O=[];for(U=0;U<I.length;U+=w.step){Z=0;for(var W=U+w.step-1;W>=U;W--)Z=(Z<<1)+I[W];O.push(Z)}for(var K=this.jpoint(null,null,null),q=this.jpoint(null,null,null),te=k;te>0;te--){for(U=0;U<O.length;U++)(Z=O[U])===te?q=q.mixedAdd(w.points[U]):Z===-te&&(q=q.mixedAdd(w.points[U].neg()));K=K.add(q)}return K.toP()},C.prototype._wnafMul=function(d,M){for(var w=4,I=d._getNAFPoints(w),k=I.points,O=g(M,w=I.wnd,this._bitLength),U=this.jpoint(null,null,null),Z=O.length-1;Z>=0;Z--){for(var W=0;Z>=0&&0===O[Z];Z--)W++;if(Z>=0&&W++,U=U.dblp(W),Z<0)break;var K=O[Z];s(0!==K),U="affine"===d.type?U.mixedAdd(K>0?k[K-1>>1]:k[-K-1>>1].neg()):U.add(K>0?k[K-1>>1]:k[-K-1>>1].neg())}return"affine"===d.type?U.toP():U},C.prototype._wnafMulAdd=function(d,M,w,I,k){var K,q,te,O=this._wnafT1,U=this._wnafT2,Z=this._wnafT3,W=0;for(K=0;K<I;K++){var pe=(te=M[K])._getNAFPoints(d);O[K]=pe.wnd,U[K]=pe.points}for(K=I-1;K>=1;K-=2){var oe=K-1,re=K;if(1===O[oe]&&1===O[re]){var ce=[M[oe],null,null,M[re]];0===M[oe].y.cmp(M[re].y)?(ce[1]=M[oe].add(M[re]),ce[2]=M[oe].toJ().mixedAdd(M[re].neg())):0===M[oe].y.cmp(M[re].y.redNeg())?(ce[1]=M[oe].toJ().mixedAdd(M[re]),ce[2]=M[oe].add(M[re].neg())):(ce[1]=M[oe].toJ().mixedAdd(M[re]),ce[2]=M[oe].toJ().mixedAdd(M[re].neg()));var se=[-3,-1,-5,-7,0,7,5,1,3],he=A(w[oe],w[re]);for(W=Math.max(he[0].length,W),Z[oe]=new Array(W),Z[re]=new Array(W),q=0;q<W;q++)Z[oe][q]=se[3*(1+(0|he[0][q]))+(1+(0|he[1][q]))],Z[re][q]=0,U[oe]=ce}else Z[oe]=g(w[oe],O[oe],this._bitLength),Z[re]=g(w[re],O[re],this._bitLength),W=Math.max(Z[oe].length,W),W=Math.max(Z[re].length,W)}var a=this.jpoint(null,null,null),f=this._wnafT4;for(K=W;K>=0;K--){for(var l=0;K>=0;){var y=!0;for(q=0;q<I;q++)f[q]=0|Z[q][K],0!==f[q]&&(y=!1);if(!y)break;l++,K--}if(K>=0&&l++,a=a.dblp(l),K<0)break;for(q=0;q<I;q++){var E=f[q];0!==E&&(E>0?te=U[q][E-1>>1]:E<0&&(te=U[q][-E-1>>1].neg()),a="affine"===te.type?a.mixedAdd(te):a.add(te))}}for(K=0;K<I;K++)U[K]=null;return k?a:a.toP()},C.BasePoint=h,h.prototype.eq=function(){throw new Error("Not implemented")},h.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]?s(d[d.length-1]%2==0):7===d[0]&&s(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")},h.prototype.encodeCompressed=function(d){return this.encode(d,!0)},h.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))},h.prototype.encode=function(d,M){return e.encode(this._encode(M),d)},h.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},h.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)},h.prototype._getDoubles=function(d,M){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var w=[this],I=this,k=0;k<M;k+=d){for(var O=0;O<d;O++)I=I.dbl();w.push(I)}return{step:d,points:w}},h.prototype._getNAFPoints=function(d){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var M=[this],w=(1<<d)-1,I=1===w?null:this.dbl(),k=1;k<w;k++)M[k]=M[k-1].add(I);return{wnd:d,points:M}},h.prototype._getBeta=function(){return null},h.prototype.dblp=function(d){for(var M=this,w=0;w<d;w++)M=M.dbl();return M}},3835:(Be,Q,m)=>{"use strict";var t=m(1970),e=m(7433),g=m(3894),A=m(7902),s=t.assert;function C(P){this.twisted=1!=(0|P.a),this.mOneA=this.twisted&&-1==(0|P.a),this.extended=this.mOneA,A.call(this,"edwards",P),this.a=new e(P.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new e(P.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new e(P.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|P.c)}function h(P,d,M,w,I){A.BasePoint.call(this,P,"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=I&&new e(I,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.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),Be.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,I){return this.point(d,M,w,I)},C.prototype.pointFromX=function(d,M){(d=new e(d,16)).red||(d=d.toRed(this.red));var w=d.redSqr(),I=this.c2.redSub(this.a.redMul(w)),k=this.one.redSub(this.c2.redMul(this.d).redMul(w)),O=I.redMul(k.redInvm()),U=O.redSqrt();if(0!==U.redSqr().redSub(O).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(),I=w.redSub(this.c2),k=w.redMul(this.d).redMul(this.c2).redSub(this.a),O=I.redMul(k.redInvm());if(0===O.cmp(this.zero)){if(M)throw new Error("invalid point");return this.point(this.zero,d)}var U=O.redSqrt();if(0!==U.redSqr().redSub(O).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(),I=M.redMul(this.a).redAdd(w),k=this.c2.redMul(this.one.redAdd(this.d.redMul(M).redMul(w)));return 0===I.cmp(k)},g(h,A.BasePoint),C.prototype.pointFromJSON=function(d){return h.fromJSON(this,d)},C.prototype.point=function(d,M,w,I){return new h(this,d,M,w,I)},h.fromJSON=function(d,M){return new h(d,M[0],M[1],M[2])},h.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)+">"},h.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},h.prototype._extDbl=function(){var d=this.x.redSqr(),M=this.y.redSqr(),w=this.z.redSqr();w=w.redIAdd(w);var I=this.curve._mulA(d),k=this.x.redAdd(this.y).redSqr().redISub(d).redISub(M),O=I.redAdd(M),U=O.redSub(w),Z=I.redSub(M),W=k.redMul(U),K=O.redMul(Z),q=k.redMul(Z),te=U.redMul(O);return this.curve.point(W,K,te,q)},h.prototype._projDbl=function(){var I,k,O,U,Z,W,d=this.x.redAdd(this.y).redSqr(),M=this.x.redSqr(),w=this.y.redSqr();if(this.curve.twisted){var K=(U=this.curve._mulA(M)).redAdd(w);this.zOne?(I=d.redSub(M).redSub(w).redMul(K.redSub(this.curve.two)),k=K.redMul(U.redSub(w)),O=K.redSqr().redSub(K).redSub(K)):(Z=this.z.redSqr(),W=K.redSub(Z).redISub(Z),I=d.redSub(M).redISub(w).redMul(W),k=K.redMul(U.redSub(w)),O=K.redMul(W))}else U=M.redAdd(w),Z=this.curve._mulC(this.z).redSqr(),W=U.redSub(Z).redSub(Z),I=this.curve._mulC(d.redISub(U)).redMul(W),k=this.curve._mulC(U).redMul(M.redISub(w)),O=U.redMul(W);return this.curve.point(I,k,O)},h.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},h.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)),I=this.t.redMul(this.curve.dd).redMul(d.t),k=this.z.redMul(d.z.redAdd(d.z)),O=w.redSub(M),U=k.redSub(I),Z=k.redAdd(I),W=w.redAdd(M),K=O.redMul(U),q=Z.redMul(W),te=O.redMul(W),pe=U.redMul(Z);return this.curve.point(K,q,pe,te)},h.prototype._projAdd=function(d){var q,te,M=this.z.redMul(d.z),w=M.redSqr(),I=this.x.redMul(d.x),k=this.y.redMul(d.y),O=this.curve.d.redMul(I).redMul(k),U=w.redSub(O),Z=w.redAdd(O),W=this.x.redAdd(this.y).redMul(d.x.redAdd(d.y)).redISub(I).redISub(k),K=M.redMul(U).redMul(W);return this.curve.twisted?(q=M.redMul(Z).redMul(k.redSub(this.curve._mulA(I))),te=U.redMul(Z)):(q=M.redMul(Z).redMul(k.redSub(I)),te=this.curve._mulC(U).redMul(Z)),this.curve.point(K,q,te)},h.prototype.add=function(d){return this.isInfinity()?d:d.isInfinity()?this:this.curve.extended?this._extAdd(d):this._projAdd(d)},h.prototype.mul=function(d){return this._hasDoubles(d)?this.curve._fixedNafMul(this,d):this.curve._wnafMul(this,d)},h.prototype.mulAdd=function(d,M,w){return this.curve._wnafMulAdd(1,[this,M],[d,w],2,!1)},h.prototype.jmulAdd=function(d,M,w){return this.curve._wnafMulAdd(1,[this,M],[d,w],2,!0)},h.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},h.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},h.prototype.getX=function(){return this.normalize(),this.x.fromRed()},h.prototype.getY=function(){return this.normalize(),this.y.fromRed()},h.prototype.eq=function(d){return this===d||0===this.getX().cmp(d.getX())&&0===this.getY().cmp(d.getY())},h.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(),I=this.curve.redN.redMul(this.z);;){if(w.iadd(this.curve.n),w.cmp(this.curve.p)>=0)return!1;if(M.redIAdd(I),0===this.x.cmp(M))return!0}},h.prototype.toP=h.prototype.normalize,h.prototype.mixedAdd=h.prototype.add},6270:(Be,Q,m)=>{"use strict";var t=Q;t.base=m(7902),t.short=m(1781),t.mont=m(7064),t.edwards=m(3835)},7064:(Be,Q,m)=>{"use strict";var t=m(7433),e=m(3894),g=m(7902),A=m(1970);function s(h){g.call(this,"mont",h),this.a=new t(h.a,16).toRed(this.red),this.b=new t(h.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(h,P,d){g.BasePoint.call(this,h,"projective"),null===P&&null===d?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new t(P,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(s,g),Be.exports=s,s.prototype.validate=function(P){var d=P.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),s.prototype.decodePoint=function(P,d){return this.point(A.toArray(P,d),1)},s.prototype.point=function(P,d){return new C(this,P,d)},s.prototype.pointFromJSON=function(P){return C.fromJSON(this,P)},C.prototype.precompute=function(){},C.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},C.fromJSON=function(P,d){return new C(P,d[0],d[1]||P.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(),I=d.redSub(w),k=d.redMul(w),O=I.redMul(w.redAdd(this.curve.a24.redMul(I)));return this.curve.point(k,O)},C.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},C.prototype.diffAdd=function(P,d){var M=this.x.redAdd(this.z),w=this.x.redSub(this.z),I=P.x.redAdd(P.z),O=P.x.redSub(P.z).redMul(M),U=I.redMul(w),Z=d.z.redMul(O.redAdd(U).redSqr()),W=d.x.redMul(O.redISub(U).redSqr());return this.curve.point(Z,W)},C.prototype.mul=function(P){for(var d=P.clone(),M=this,w=this.curve.point(null,null),k=[];0!==d.cmpn(0);d.iushrn(1))k.push(d.andln(1));for(var O=k.length-1;O>=0;O--)0===k[O]?(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(P){return 0===this.getX().cmp(P.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:(Be,Q,m)=>{"use strict";var t=m(1970),e=m(7433),g=m(3894),A=m(7902),s=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 h(d,M,w,I){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),I&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function P(d,M,w,I){A.BasePoint.call(this,d,"jacobian"),null===M&&null===w&&null===I?(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(I,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}g(C,A),Be.exports=C,C.prototype._getEndomorphism=function(M){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var w,I;if(M.beta)w=new e(M.beta,16).toRed(this.red);else{var k=this._getEndoRoots(this.p);w=(w=k[0].cmp(k[1])<0?k[0]:k[1]).toRed(this.red)}if(M.lambda)I=new e(M.lambda,16);else{var O=this._getEndoRoots(this.n);0===this.g.mul(O[0]).x.cmp(this.g.x.redMul(w))?I=O[0]:s(0===this.g.mul(I=O[1]).x.cmp(this.g.x.redMul(w)))}return{beta:w,lambda:I,basis:M.basis?M.basis.map(function(Z){return{a:new e(Z.a,16),b:new e(Z.b,16)}}):this._getEndoBasis(I)}}},C.prototype._getEndoRoots=function(M){var w=M===this.p?this.red:e.mont(M),I=new e(2).toRed(w).redInvm(),k=I.redNeg(),O=new e(3).toRed(w).redNeg().redSqrt().redMul(I);return[k.redAdd(O).fromRed(),k.redSub(O).fromRed()]},C.prototype._getEndoBasis=function(M){for(var K,q,te,pe,oe,re,ce,he,S,w=this.n.ushrn(Math.floor(this.n.bitLength()/2)),I=M,k=this.n.clone(),O=new e(1),U=new e(0),Z=new e(0),W=new e(1),se=0;0!==I.cmpn(0);){var i=k.div(I);he=k.sub(i.mul(I)),S=Z.sub(i.mul(O));var a=W.sub(i.mul(U));if(!te&&he.cmp(w)<0)K=ce.neg(),q=O,te=he.neg(),pe=S;else if(te&&2==++se)break;ce=he,k=I,I=he,Z=O,O=S,W=U,U=a}oe=he.neg(),re=S;var f=te.sqr().add(pe.sqr());return oe.sqr().add(re.sqr()).cmp(f)>=0&&(oe=K,re=q),te.negative&&(te=te.neg(),pe=pe.neg()),oe.negative&&(oe=oe.neg(),re=re.neg()),[{a:te,b:pe},{a:oe,b:re}]},C.prototype._endoSplit=function(M){var w=this.endo.basis,I=w[0],k=w[1],O=k.b.mul(M).divRound(this.n),U=I.b.neg().mul(M).divRound(this.n),Z=O.mul(I.a),W=U.mul(k.a),K=O.mul(I.b),q=U.mul(k.b);return{k1:M.sub(Z).sub(W),k2:K.add(q).neg()}},C.prototype.pointFromX=function(M,w){(M=new e(M,16)).red||(M=M.toRed(this.red));var I=M.redSqr().redMul(M).redIAdd(M.redMul(this.a)).redIAdd(this.b),k=I.redSqrt();if(0!==k.redSqr().redSub(I).cmp(this.zero))throw new Error("invalid point");var O=k.fromRed().isOdd();return(w&&!O||!w&&O)&&(k=k.redNeg()),this.point(M,k)},C.prototype.validate=function(M){if(M.inf)return!0;var w=M.x,I=M.y,k=this.a.redMul(w),O=w.redSqr().redMul(w).redIAdd(k).redIAdd(this.b);return 0===I.redSqr().redISub(O).cmpn(0)},C.prototype._endoWnafMulAdd=function(M,w,I){for(var k=this._endoWnafT1,O=this._endoWnafT2,U=0;U<M.length;U++){var Z=this._endoSplit(w[U]),W=M[U],K=W._getBeta();Z.k1.negative&&(Z.k1.ineg(),W=W.neg(!0)),Z.k2.negative&&(Z.k2.ineg(),K=K.neg(!0)),k[2*U]=W,k[2*U+1]=K,O[2*U]=Z.k1,O[2*U+1]=Z.k2}for(var q=this._wnafMulAdd(1,k,O,2*U,I),te=0;te<2*U;te++)k[te]=null,O[te]=null;return q},g(h,A.BasePoint),C.prototype.point=function(M,w,I){return new h(this,M,w,I)},C.prototype.pointFromJSON=function(M,w){return h.fromJSON(this,M,w)},h.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 I=this.curve,k=function(O){return I.point(O.x.redMul(I.endo.beta),O.y)};M.beta=w,w.precomputed={beta:null,naf:M.naf&&{wnd:M.naf.wnd,points:M.naf.points.map(k)},doubles:M.doubles&&{step:M.doubles.step,points:M.doubles.points.map(k)}}}return w}},h.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]},h.fromJSON=function(M,w,I){"string"==typeof w&&(w=JSON.parse(w));var k=M.point(w[0],w[1],I);if(!w[2])return k;function O(Z){return M.point(Z[0],Z[1],I)}var U=w[2];return k.precomputed={beta:null,doubles:U.doubles&&{step:U.doubles.step,points:[k].concat(U.doubles.points.map(O))},naf:U.naf&&{wnd:U.naf.wnd,points:[k].concat(U.naf.points.map(O))}},k},h.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)+">"},h.prototype.isInfinity=function(){return this.inf},h.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 I=w.redSqr().redISub(this.x).redISub(M.x),k=w.redMul(this.x.redSub(I)).redISub(this.y);return this.curve.point(I,k)},h.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,I=this.x.redSqr(),k=M.redInvm(),O=I.redAdd(I).redIAdd(I).redIAdd(w).redMul(k),U=O.redSqr().redISub(this.x.redAdd(this.x)),Z=O.redMul(this.x.redSub(U)).redISub(this.y);return this.curve.point(U,Z)},h.prototype.getX=function(){return this.x.fromRed()},h.prototype.getY=function(){return this.y.fromRed()},h.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)},h.prototype.mulAdd=function(M,w,I){var k=[this,w],O=[M,I];return this.curve.endo?this.curve._endoWnafMulAdd(k,O):this.curve._wnafMulAdd(1,k,O,2)},h.prototype.jmulAdd=function(M,w,I){var k=[this,w],O=[M,I];return this.curve.endo?this.curve._endoWnafMulAdd(k,O,!0):this.curve._wnafMulAdd(1,k,O,2,!0)},h.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))},h.prototype.neg=function(M){if(this.inf)return this;var w=this.curve.point(this.x,this.y.redNeg());if(M&&this.precomputed){var I=this.precomputed,k=function(O){return O.neg()};w.precomputed={naf:I.naf&&{wnd:I.naf.wnd,points:I.naf.points.map(k)},doubles:I.doubles&&{step:I.doubles.step,points:I.doubles.points.map(k)}}}return w},h.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},g(P,A.BasePoint),C.prototype.jpoint=function(M,w,I){return new P(this,M,w,I)},P.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var M=this.z.redInvm(),w=M.redSqr(),I=this.x.redMul(w),k=this.y.redMul(w).redMul(M);return this.curve.point(I,k)},P.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},P.prototype.add=function(M){if(this.isInfinity())return M;if(M.isInfinity())return this;var w=M.z.redSqr(),I=this.z.redSqr(),k=this.x.redMul(w),O=M.x.redMul(I),U=this.y.redMul(w.redMul(M.z)),Z=M.y.redMul(I.redMul(this.z)),W=k.redSub(O),K=U.redSub(Z);if(0===W.cmpn(0))return 0!==K.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var q=W.redSqr(),te=q.redMul(W),pe=k.redMul(q),oe=K.redSqr().redIAdd(te).redISub(pe).redISub(pe),re=K.redMul(pe.redISub(oe)).redISub(U.redMul(te)),ce=this.z.redMul(M.z).redMul(W);return this.curve.jpoint(oe,re,ce)},P.prototype.mixedAdd=function(M){if(this.isInfinity())return M.toJ();if(M.isInfinity())return this;var w=this.z.redSqr(),I=this.x,k=M.x.redMul(w),O=this.y,U=M.y.redMul(w).redMul(this.z),Z=I.redSub(k),W=O.redSub(U);if(0===Z.cmpn(0))return 0!==W.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var K=Z.redSqr(),q=K.redMul(Z),te=I.redMul(K),pe=W.redSqr().redIAdd(q).redISub(te).redISub(te),oe=W.redMul(te.redISub(pe)).redISub(O.redMul(q)),re=this.z.redMul(Z);return this.curve.jpoint(pe,oe,re)},P.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 I=this;for(w=0;w<M;w++)I=I.dbl();return I}var k=this.curve.a,O=this.curve.tinv,U=this.x,Z=this.y,W=this.z,K=W.redSqr().redSqr(),q=Z.redAdd(Z);for(w=0;w<M;w++){var te=U.redSqr(),pe=q.redSqr(),oe=pe.redSqr(),re=te.redAdd(te).redIAdd(te).redIAdd(k.redMul(K)),ce=U.redMul(pe),se=re.redSqr().redISub(ce.redAdd(ce)),he=ce.redISub(se),S=re.redMul(he);S=S.redIAdd(S).redISub(oe);var i=q.redMul(W);w+1<M&&(K=K.redMul(oe)),U=se,W=i,q=S}return this.curve.jpoint(U,q.redMul(O),W)},P.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},P.prototype._zeroDbl=function(){var M,w,I;if(this.zOne){var k=this.x.redSqr(),O=this.y.redSqr(),U=O.redSqr(),Z=this.x.redAdd(O).redSqr().redISub(k).redISub(U);Z=Z.redIAdd(Z);var W=k.redAdd(k).redIAdd(k),K=W.redSqr().redISub(Z).redISub(Z),q=U.redIAdd(U);q=(q=q.redIAdd(q)).redIAdd(q),M=K,w=W.redMul(Z.redISub(K)).redISub(q),I=this.y.redAdd(this.y)}else{var te=this.x.redSqr(),pe=this.y.redSqr(),oe=pe.redSqr(),re=this.x.redAdd(pe).redSqr().redISub(te).redISub(oe);re=re.redIAdd(re);var ce=te.redAdd(te).redIAdd(te),se=ce.redSqr(),he=oe.redIAdd(oe);he=(he=he.redIAdd(he)).redIAdd(he),M=se.redISub(re).redISub(re),w=ce.redMul(re.redISub(M)).redISub(he),I=(I=this.y.redMul(this.z)).redIAdd(I)}return this.curve.jpoint(M,w,I)},P.prototype._threeDbl=function(){var M,w,I;if(this.zOne){var k=this.x.redSqr(),O=this.y.redSqr(),U=O.redSqr(),Z=this.x.redAdd(O).redSqr().redISub(k).redISub(U);Z=Z.redIAdd(Z);var W=k.redAdd(k).redIAdd(k).redIAdd(this.curve.a),K=W.redSqr().redISub(Z).redISub(Z);M=K;var q=U.redIAdd(U);q=(q=q.redIAdd(q)).redIAdd(q),w=W.redMul(Z.redISub(K)).redISub(q),I=this.y.redAdd(this.y)}else{var te=this.z.redSqr(),pe=this.y.redSqr(),oe=this.x.redMul(pe),re=this.x.redSub(te).redMul(this.x.redAdd(te));re=re.redAdd(re).redIAdd(re);var ce=oe.redIAdd(oe),se=(ce=ce.redIAdd(ce)).redAdd(ce);M=re.redSqr().redISub(se),I=this.y.redAdd(this.z).redSqr().redISub(pe).redISub(te);var he=pe.redSqr();he=(he=(he=he.redIAdd(he)).redIAdd(he)).redIAdd(he),w=re.redMul(ce.redISub(M)).redISub(he)}return this.curve.jpoint(M,w,I)},P.prototype._dbl=function(){var M=this.curve.a,w=this.x,I=this.y,k=this.z,O=k.redSqr().redSqr(),U=w.redSqr(),Z=I.redSqr(),W=U.redAdd(U).redIAdd(U).redIAdd(M.redMul(O)),K=w.redAdd(w),q=(K=K.redIAdd(K)).redMul(Z),te=W.redSqr().redISub(q.redAdd(q)),pe=q.redISub(te),oe=Z.redSqr();oe=(oe=(oe=oe.redIAdd(oe)).redIAdd(oe)).redIAdd(oe);var re=W.redMul(pe).redISub(oe),ce=I.redAdd(I).redMul(k);return this.curve.jpoint(te,re,ce)},P.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var M=this.x.redSqr(),w=this.y.redSqr(),I=this.z.redSqr(),k=w.redSqr(),O=M.redAdd(M).redIAdd(M),U=O.redSqr(),Z=this.x.redAdd(w).redSqr().redISub(M).redISub(k),W=(Z=(Z=(Z=Z.redIAdd(Z)).redAdd(Z).redIAdd(Z)).redISub(U)).redSqr(),K=k.redIAdd(k);K=(K=(K=K.redIAdd(K)).redIAdd(K)).redIAdd(K);var q=O.redIAdd(Z).redSqr().redISub(U).redISub(W).redISub(K),te=w.redMul(q);te=(te=te.redIAdd(te)).redIAdd(te);var pe=this.x.redMul(W).redISub(te);pe=(pe=pe.redIAdd(pe)).redIAdd(pe);var oe=this.y.redMul(q.redMul(K.redISub(q)).redISub(Z.redMul(W)));oe=(oe=(oe=oe.redIAdd(oe)).redIAdd(oe)).redIAdd(oe);var re=this.z.redAdd(Z).redSqr().redISub(I).redISub(W);return this.curve.jpoint(pe,oe,re)},P.prototype.mul=function(M,w){return M=new e(M,w),this.curve._wnafMul(this,M)},P.prototype.eq=function(M){if("affine"===M.type)return this.eq(M.toJ());if(this===M)return!0;var w=this.z.redSqr(),I=M.z.redSqr();if(0!==this.x.redMul(I).redISub(M.x.redMul(w)).cmpn(0))return!1;var k=w.redMul(this.z),O=I.redMul(M.z);return 0===this.y.redMul(O).redISub(M.y.redMul(k)).cmpn(0)},P.prototype.eqXToP=function(M){var w=this.z.redSqr(),I=M.toRed(this.curve.red).redMul(w);if(0===this.x.cmp(I))return!0;for(var k=M.clone(),O=this.curve.redN.redMul(w);;){if(k.iadd(this.curve.n),k.cmp(this.curve.p)>=0)return!1;if(I.redIAdd(O),0===this.x.cmp(I))return!0}},P.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)+">"},P.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},2916:(Be,Q,m)=>{"use strict";var P,t=Q,e=m(7084),g=m(6270),s=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,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function h(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,h("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"]}),h("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"]}),h("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"]}),h("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"]}),h("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"]}),h("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"]}),h("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{P=m(5150)}catch{P=void 0}h("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",P]})},7626:(Be,Q,m)=>{"use strict";var t=m(7433),e=m(2438),g=m(1970),A=m(2916),s=m(7950),C=g.assert,h=m(1259),P=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}Be.exports=d,d.prototype.keyPair=function(w){return new h(this,w)},d.prototype.keyFromPrivate=function(w,I){return h.fromPrivate(this,w,I)},d.prototype.keyFromPublic=function(w,I){return h.fromPublic(this,w,I)},d.prototype.genKeyPair=function(w){w||(w={});for(var I=new e({hash:this.hash,pers:w.pers,persEnc:w.persEnc||"utf8",entropy:w.entropy||s(this.hash.hmacStrength),entropyEnc:w.entropy&&w.entropyEnc||"utf8",nonce:this.n.toArray()}),k=this.n.byteLength(),O=this.n.sub(new t(2));;){var U=new t(I.generate(k));if(!(U.cmp(O)>0))return U.iaddn(1),this.keyFromPrivate(U)}},d.prototype._truncateToN=function(w,I){var k=8*w.byteLength()-this.n.bitLength();return k>0&&(w=w.ushrn(k)),!I&&w.cmp(this.n)>=0?w.sub(this.n):w},d.prototype.sign=function(w,I,k,O){"object"==typeof k&&(O=k,k=null),O||(O={}),I=this.keyFromPrivate(I,k),w=this._truncateToN(new t(w,16));for(var U=this.n.byteLength(),Z=I.getPrivate().toArray("be",U),W=w.toArray("be",U),K=new e({hash:this.hash,entropy:Z,nonce:W,pers:O.pers,persEnc:O.persEnc||"utf8"}),q=this.n.sub(new t(1)),te=0;;te++){var pe=O.k?O.k(te):new t(K.generate(this.n.byteLength()));if(!((pe=this._truncateToN(pe,!0)).cmpn(1)<=0||pe.cmp(q)>=0)){var oe=this.g.mul(pe);if(!oe.isInfinity()){var re=oe.getX(),ce=re.umod(this.n);if(0!==ce.cmpn(0)){var se=pe.invm(this.n).mul(ce.mul(I.getPrivate()).iadd(w));if(0!==(se=se.umod(this.n)).cmpn(0)){var he=(oe.getY().isOdd()?1:0)|(0!==re.cmp(ce)?2:0);return O.canonical&&se.cmp(this.nh)>0&&(se=this.n.sub(se),he^=1),new P({r:ce,s:se,recoveryParam:he})}}}}}},d.prototype.verify=function(w,I,k,O){w=this._truncateToN(new t(w,16)),k=this.keyFromPublic(k,O);var U=(I=new P(I,"hex")).r,Z=I.s;if(U.cmpn(1)<0||U.cmp(this.n)>=0||Z.cmpn(1)<0||Z.cmp(this.n)>=0)return!1;var te,W=Z.invm(this.n),K=W.mul(w).umod(this.n),q=W.mul(U).umod(this.n);return this.curve._maxwellTrick?!(te=this.g.jmulAdd(K,k.getPublic(),q)).isInfinity()&&te.eqXToP(U):!(te=this.g.mulAdd(K,k.getPublic(),q)).isInfinity()&&0===te.getX().umod(this.n).cmp(U)},d.prototype.recoverPubKey=function(M,w,I,k){C((3&I)===I,"The recovery param is more than two bits"),w=new P(w,k);var O=this.n,U=new t(M),Z=w.r,W=w.s,K=1&I,q=I>>1;if(Z.cmp(this.curve.p.umod(this.curve.n))>=0&&q)throw new Error("Unable to find sencond key candinate");Z=this.curve.pointFromX(q?Z.add(this.curve.n):Z,K);var te=w.r.invm(O),pe=O.sub(U).mul(te).umod(O),oe=W.mul(te).umod(O);return this.g.mulAdd(pe,Z,oe)},d.prototype.getKeyRecoveryParam=function(M,w,I,k){if(null!==(w=new P(w,k)).recoveryParam)return w.recoveryParam;for(var O=0;O<4;O++){var U;try{U=this.recoverPubKey(M,w,O)}catch{continue}if(U.eq(I))return O}throw new Error("Unable to find valid recovery factor")}},1259:(Be,Q,m)=>{"use strict";var t=m(7433),g=m(1970).assert;function A(s,C){this.ec=s,this.priv=null,this.pub=null,C.priv&&this._importPrivate(C.priv,C.privEnc),C.pub&&this._importPublic(C.pub,C.pubEnc)}Be.exports=A,A.fromPublic=function(C,h,P){return h instanceof A?h:new A(C,{pub:h,pubEnc:P})},A.fromPrivate=function(C,h,P){return h instanceof A?h:new A(C,{priv:h,privEnc:P})},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,h){return"string"==typeof C&&(h=C,C=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),h?this.pub.encode(h,C):this.pub},A.prototype.getPrivate=function(C){return"hex"===C?this.priv.toString(16,2):this.priv},A.prototype._importPrivate=function(C,h){this.priv=new t(C,h||16),this.priv=this.priv.umod(this.ec.curve.n)},A.prototype._importPublic=function(C,h){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,h)},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,h,P){return this.ec.sign(C,this,h,P)},A.prototype.verify=function(C,h){return this.ec.verify(C,h,this)},A.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},5957:(Be,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 s(){this.place=0}function C(d,M){var w=d[M.place++];if(!(128&w))return w;var I=15&w;if(0===I||I>4)return!1;for(var k=0,O=0,U=M.place;O<I;O++,U++)k<<=8,k|=d[U],k>>>=0;return!(k<=127)&&(M.place=U,k)}function h(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 P(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)}}Be.exports=A,A.prototype._importDER=function(M,w){M=e.toArray(M,w);var I=new s;if(48!==M[I.place++])return!1;var k=C(M,I);if(!1===k||k+I.place!==M.length||2!==M[I.place++])return!1;var O=C(M,I);if(!1===O)return!1;var U=M.slice(I.place,O+I.place);if(I.place+=O,2!==M[I.place++])return!1;var Z=C(M,I);if(!1===Z||M.length!==Z+I.place)return!1;var W=M.slice(I.place,Z+I.place);if(0===U[0]){if(!(128&U[1]))return!1;U=U.slice(1)}if(0===W[0]){if(!(128&W[1]))return!1;W=W.slice(1)}return this.r=new t(U),this.s=new t(W),this.recoveryParam=null,!0},A.prototype.toDER=function(M){var w=this.r.toArray(),I=this.s.toArray();for(128&w[0]&&(w=[0].concat(w)),128&I[0]&&(I=[0].concat(I)),w=h(w),I=h(I);!(I[0]||128&I[1]);)I=I.slice(1);var k=[2];P(k,w.length),(k=k.concat(w)).push(2),P(k,I.length);var O=k.concat(I),U=[48];return P(U,O.length),U=U.concat(O),e.encode(U,M)}},1885:(Be,Q,m)=>{"use strict";var t=m(7084),e=m(2916),g=m(1970),A=g.assert,s=g.parseBytes,C=m(7535),h=m(8241);function P(d){if(A("ed25519"===d,"only tested with ed25519 so far"),!(this instanceof P))return new P(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}Be.exports=P,P.prototype.sign=function(M,w){M=s(M);var I=this.keyFromSecret(w),k=this.hashInt(I.messagePrefix(),M),O=this.g.mul(k),U=this.encodePoint(O),Z=this.hashInt(U,I.pubBytes(),M).mul(I.priv()),W=k.add(Z).umod(this.curve.n);return this.makeSignature({R:O,S:W,Rencoded:U})},P.prototype.verify=function(M,w,I){M=s(M),w=this.makeSignature(w);var k=this.keyFromPublic(I),O=this.hashInt(w.Rencoded(),k.pubBytes(),M),U=this.g.mul(w.S());return w.R().add(k.pub().mul(O)).eq(U)},P.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)},P.prototype.keyFromPublic=function(M){return C.fromPublic(this,M)},P.prototype.keyFromSecret=function(M){return C.fromSecret(this,M)},P.prototype.makeSignature=function(M){return M instanceof h?M:new h(this,M)},P.prototype.encodePoint=function(M){var w=M.getY().toArray("le",this.encodingLength);return w[this.encodingLength-1]|=M.getX().isOdd()?128:0,w},P.prototype.decodePoint=function(M){var w=(M=g.parseBytes(M)).length-1,I=M.slice(0,w).concat(-129&M[w]),k=0!=(128&M[w]),O=g.intFromLE(I);return this.curve.pointFromY(O,k)},P.prototype.encodeInt=function(M){return M.toArray("le",this.encodingLength)},P.prototype.decodeInt=function(M){return g.intFromLE(M)},P.prototype.isPoint=function(M){return M instanceof this.pointClass}},7535:(Be,Q,m)=>{"use strict";var t=m(1970),e=t.assert,g=t.parseBytes,A=t.cachedProperty;function s(C,h){this.eddsa=C,this._secret=g(h.secret),C.isPoint(h.pub)?this._pub=h.pub:this._pubBytes=g(h.pub)}s.fromPublic=function(h,P){return P instanceof s?P:new s(h,{pub:P})},s.fromSecret=function(h,P){return P instanceof s?P:new s(h,{secret:P})},s.prototype.secret=function(){return this._secret},A(s,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),A(s,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),A(s,"privBytes",function(){var h=this.eddsa,P=this.hash(),d=h.encodingLength-1,M=P.slice(0,h.encodingLength);return M[0]&=248,M[d]&=127,M[d]|=64,M}),A(s,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),A(s,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),A(s,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),s.prototype.sign=function(h){return e(this._secret,"KeyPair can only verify"),this.eddsa.sign(h,this)},s.prototype.verify=function(h,P){return this.eddsa.verify(h,P,this)},s.prototype.getSecret=function(h){return e(this._secret,"KeyPair is public only"),t.encode(this.secret(),h)},s.prototype.getPublic=function(h){return t.encode(this.pubBytes(),h)},Be.exports=s},8241:(Be,Q,m)=>{"use strict";var t=m(7433),e=m(1970),g=e.assert,A=e.cachedProperty,s=e.parseBytes;function C(h,P){this.eddsa=h,"object"!=typeof P&&(P=s(P)),Array.isArray(P)&&(P={R:P.slice(0,h.encodingLength),S:P.slice(h.encodingLength)}),g(P.R&&P.S,"Signature without R or S"),h.isPoint(P.R)&&(this._R=P.R),P.S instanceof t&&(this._S=P.S),this._Rencoded=Array.isArray(P.R)?P.R:P.Rencoded,this._Sencoded=Array.isArray(P.S)?P.S:P.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()},Be.exports=C},5150:Be=>{Be.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:(Be,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 s(M,w,I){var k=new Array(Math.max(M.bitLength(),I)+1);k.fill(0);for(var O=1<<w+1,U=M.clone(),Z=0;Z<k.length;Z++){var W,K=U.andln(O-1);U.isOdd()?U.isubn(W=K>(O>>1)-1?(O>>1)-K:K):W=0,k[Z]=W,U.iushrn(1)}return k},t.getJSF=function C(M,w){var I=[[],[]];M=M.clone(),w=w.clone();for(var U,k=0,O=0;M.cmpn(-k)>0||w.cmpn(-O)>0;){var K,q,Z=M.andln(3)+k&3,W=w.andln(3)+O&3;3===Z&&(Z=-1),3===W&&(W=-1),K=1&Z?3!=(U=M.andln(7)+k&7)&&5!==U||2!==W?Z:-Z:0,I[0].push(K),q=1&W?3!=(U=w.andln(7)+O&7)&&5!==U||2!==Z?W:-W:0,I[1].push(q),2*k===K+1&&(k=1-k),2*O===q+1&&(O=1-O),M.iushrn(1),w.iushrn(1)}return I},t.cachedProperty=function h(M,w,I){var k="_"+w;M.prototype[w]=function(){return void 0!==this[k]?this[k]:this[k]=I.call(this)}},t.parseBytes=function P(M){return"string"==typeof M?t.toArray(M,"hex"):M},t.intFromLE=function d(M){return new e(M,"hex","le")}},7433:function(Be,Q,m){!function(t,e){"use strict";function g(S,i){if(!S)throw new Error(i||"Assertion failed")}function A(S,i){S.super_=i;var a=function(){};a.prototype=i.prototype,S.prototype=new a,S.prototype.constructor=S}function s(S,i,a){if(s.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===i||"be"===i)&&(a=i,i=10),this._init(S||0,i||10,a||"be"))}var C;"object"==typeof t?t.exports=s:e.BN=s,s.BN=s,s.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(5568).Buffer}catch{}function h(S,i){var a=S.charCodeAt(i);return a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:a-48&15}function P(S,i,a){var f=h(S,a);return a-1>=i&&(f|=h(S,a-1)<<4),f}function d(S,i,a,f){for(var l=0,y=Math.min(S.length,a),E=i;E<y;E++){var D=S.charCodeAt(E)-48;l*=f,l+=D>=49?D-49+10:D>=17?D-17+10:D}return l}s.isBN=function(i){return i instanceof s||null!==i&&"object"==typeof i&&i.constructor.wordSize===s.wordSize&&Array.isArray(i.words)},s.max=function(i,a){return i.cmp(a)>0?i:a},s.min=function(i,a){return i.cmp(a)<0?i:a},s.prototype._init=function(i,a,f){if("number"==typeof i)return this._initNumber(i,a,f);if("object"==typeof i)return this._initArray(i,a,f);"hex"===a&&(a=16),g(a===(0|a)&&a>=2&&a<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===a?this._parseHex(i,l,f):(this._parseBase(i,a,l),"le"===f&&this._initArray(this.toArray(),a,f)))},s.prototype._initNumber=function(i,a,f){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"===f&&this._initArray(this.toArray(),a,f)},s.prototype._initArray=function(i,a,f){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 l=0;l<this.length;l++)this.words[l]=0;var y,E,D=0;if("be"===f)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(E=i[l]|i[l-1]<<8|i[l-2]<<16)<<D&67108863,this.words[y+1]=E>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);else if("le"===f)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(E=i[l]|i[l+1]<<8|i[l+2]<<16)<<D&67108863,this.words[y+1]=E>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);return this.strip()},s.prototype._parseHex=function(i,a,f){this.length=Math.ceil((i.length-a)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var D,y=0,E=0;if("be"===f)for(l=i.length-1;l>=a;l-=2)D=P(i,a,l)<<y,this.words[E]|=67108863&D,y>=18?(y-=18,this.words[E+=1]|=D>>>26):y+=8;else for(l=(i.length-a)%2==0?a+1:a;l<i.length;l+=2)D=P(i,a,l)<<y,this.words[E]|=67108863&D,y>=18?(y-=18,this.words[E+=1]|=D>>>26):y+=8;this.strip()},s.prototype._parseBase=function(i,a,f){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=a)l++;l--,y=y/a|0;for(var E=i.length-f,D=E%l,v=Math.min(E,E-D)+f,n=0,b=f;b<v;b+=l)n=d(i,b,b+l,a),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==D){var V=1;for(n=d(i,b,i.length,a),b=0;b<D;b++)V*=a;this.imuln(V),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},s.prototype.copy=function(i){i.words=new Array(this.length);for(var a=0;a<this.length;a++)i.words[a]=this.words[a];i.length=this.length,i.negative=this.negative,i.red=this.red},s.prototype.clone=function(){var i=new s(null);return this.copy(i),i},s.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.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],I=[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 O(S,i,a){a.negative=i.negative^S.negative;var f=S.length+i.length|0;a.length=f,f=f-1|0;var l=0|S.words[0],y=0|i.words[0],E=l*y,v=E/67108864|0;a.words[0]=67108863&E;for(var n=1;n<f;n++){for(var b=v>>>26,V=67108863&v,z=Math.min(n,i.length-1),Y=Math.max(0,n-S.length+1);Y<=z;Y++)b+=(E=(l=0|S.words[n-Y|0])*(y=0|i.words[Y])+V)/67108864|0,V=67108863&E;a.words[n]=0|V,v=0|b}return 0!==v?a.words[n]=0|v:a.length--,a.strip()}s.prototype.toString=function(i,a){var f;if(a=0|a||1,16===(i=i||10)||"hex"===i){f="";for(var l=0,y=0,E=0;E<this.length;E++){var D=this.words[E],v=(16777215&(D<<l|y)).toString(16);f=0!=(y=D>>>24-l&16777215)||E!==this.length-1?M[6-v.length]+v+f:v+f,(l+=2)>=26&&(l-=26,E--)}for(0!==y&&(f=y.toString(16)+f);f.length%a!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=I[i];f="";var V=this.clone();for(V.negative=0;!V.isZero();){var z=V.modn(b).toString(i);f=(V=V.idivn(b)).isZero()?z+f:M[n-z.length]+z+f}for(this.isZero()&&(f="0"+f);f.length%a!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}g(!1,"Base should be between 2 and 36")},s.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},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(i,a){return g(typeof C<"u"),this.toArrayLike(C,i,a)},s.prototype.toArray=function(i,a){return this.toArrayLike(Array,i,a)},s.prototype.toArrayLike=function(i,a,f){var l=this.byteLength(),y=f||Math.max(1,l);g(l<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var v,n,E="le"===a,D=new i(y),b=this.clone();if(E){for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),D[n]=v;for(;n<y;n++)D[n]=0}else{for(n=0;n<y-l;n++)D[n]=0;for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),D[y-n-1]=v}return D},s.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var a=i,f=0;return a>=4096&&(f+=13,a>>>=13),a>=64&&(f+=7,a>>>=7),a>=8&&(f+=4,a>>>=4),a>=2&&(f+=2,a>>>=2),f+a},s.prototype._zeroBits=function(i){if(0===i)return 26;var a=i,f=0;return 8191&a||(f+=13,a>>>=13),127&a||(f+=7,a>>>=7),15&a||(f+=4,a>>>=4),3&a||(f+=2,a>>>=2),1&a||f++,f},s.prototype.bitLength=function(){var a=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+a},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,a=0;a<this.length;a++){var f=this._zeroBits(this.words[a]);if(i+=f,26!==f)break}return i},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},s.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var a=0;a<i.length;a++)this.words[a]=this.words[a]|i.words[a];return this.strip()},s.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},s.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},s.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},s.prototype.iuand=function(i){var a;a=this.length>i.length?i:this;for(var f=0;f<a.length;f++)this.words[f]=this.words[f]&i.words[f];return this.length=a.length,this.strip()},s.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},s.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},s.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},s.prototype.iuxor=function(i){var a,f;this.length>i.length?(a=this,f=i):(a=i,f=this);for(var l=0;l<f.length;l++)this.words[l]=a.words[l]^f.words[l];if(this!==a)for(;l<a.length;l++)this.words[l]=a.words[l];return this.length=a.length,this.strip()},s.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},s.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},s.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},s.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var a=0|Math.ceil(i/26),f=i%26;this._expand(a),f>0&&a--;for(var l=0;l<a;l++)this.words[l]=67108863&~this.words[l];return f>0&&(this.words[l]=~this.words[l]&67108863>>26-f),this.strip()},s.prototype.notn=function(i){return this.clone().inotn(i)},s.prototype.setn=function(i,a){g("number"==typeof i&&i>=0);var f=i/26|0,l=i%26;return this._expand(f+1),this.words[f]=a?this.words[f]|1<<l:this.words[f]&~(1<<l),this.strip()},s.prototype.iadd=function(i){var a,f,l;if(0!==this.negative&&0===i.negative)return this.negative=0,a=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,a=this.isub(i),i.negative=1,a._normSign();this.length>i.length?(f=this,l=i):(f=i,l=this);for(var y=0,E=0;E<l.length;E++)this.words[E]=67108863&(a=(0|f.words[E])+(0|l.words[E])+y),y=a>>>26;for(;0!==y&&E<f.length;E++)this.words[E]=67108863&(a=(0|f.words[E])+y),y=a>>>26;if(this.length=f.length,0!==y)this.words[this.length]=y,this.length++;else if(f!==this)for(;E<f.length;E++)this.words[E]=f.words[E];return this},s.prototype.add=function(i){var a;return 0!==i.negative&&0===this.negative?(i.negative=0,a=this.sub(i),i.negative^=1,a):0===i.negative&&0!==this.negative?(this.negative=0,a=i.sub(this),this.negative=1,a):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},s.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var a=this.iadd(i);return i.negative=1,a._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,f=this.cmp(i);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(l=this,y=i):(l=i,y=this);for(var E=0,D=0;D<y.length;D++)E=(a=(0|l.words[D])-(0|y.words[D])+E)>>26,this.words[D]=67108863&a;for(;0!==E&&D<l.length;D++)E=(a=(0|l.words[D])+E)>>26,this.words[D]=67108863&a;if(0===E&&D<l.length&&l!==this)for(;D<l.length;D++)this.words[D]=l.words[D];return this.length=Math.max(this.length,D),l!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(i){return this.clone().isub(i)};var U=function(i,a,f){var v,n,b,l=i.words,y=a.words,E=f.words,D=0,V=0|l[0],z=8191&V,Y=V>>>13,Te=0|l[1],$e=8191&Te,Ve=Te>>>13,We=0|l[2],Re=8191&We,we=We>>>13,me=0|l[3],Ae=8191&me,ee=me>>>13,Ze=0|l[4],Oe=8191&Ze,fe=Ze>>>13,Se=0|l[5],ge=8191&Se,xe=Se>>>13,vt=0|l[6],Ie=8191&vt,de=vt>>>13,rt=0|l[7],je=8191&rt,lt=rt>>>13,Nt=0|l[8],Ke=8191&Nt,at=Nt>>>13,Ct=0|l[9],ye=8191&Ct,Qe=Ct>>>13,Le=0|y[0],J=8191&Le,mt=Le>>>13,St=0|y[1],nt=8191&St,Ye=St>>>13,zt=0|y[2],xt=8191&zt,Ht=zt>>>13,Ut=0|y[3],De=8191&Ut,X=Ut>>>13,ue=0|y[4],Ee=8191&ue,qe=ue>>>13,Xt=0|y[5],Vt=8191&Xt,ri=Xt>>>13,pt=0|y[6],ot=8191&pt,ut=pt>>>13,wt=0|y[7],ft=8191&wt,Xe=wt>>>13,gt=0|y[8],_t=8191&gt,Fe=gt>>>13,Mt=0|y[9],Et=8191&Mt,Yt=Mt>>>13;f.negative=i.negative^a.negative,f.length=19;var Fi=(D+(v=Math.imul(z,J))|0)+((8191&(n=(n=Math.imul(z,mt))+Math.imul(Y,J)|0))<<13)|0;D=((b=Math.imul(Y,mt))+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,v=Math.imul($e,J),n=(n=Math.imul($e,mt))+Math.imul(Ve,J)|0,b=Math.imul(Ve,mt);var Ri=(D+(v=v+Math.imul(z,nt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ye)|0)+Math.imul(Y,nt)|0))<<13)|0;D=((b=b+Math.imul(Y,Ye)|0)+(n>>>13)|0)+(Ri>>>26)|0,Ri&=67108863,v=Math.imul(Re,J),n=(n=Math.imul(Re,mt))+Math.imul(we,J)|0,b=Math.imul(we,mt),v=v+Math.imul($e,nt)|0,n=(n=n+Math.imul($e,Ye)|0)+Math.imul(Ve,nt)|0,b=b+Math.imul(Ve,Ye)|0;var Ci=(D+(v=v+Math.imul(z,xt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ht)|0)+Math.imul(Y,xt)|0))<<13)|0;D=((b=b+Math.imul(Y,Ht)|0)+(n>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,v=Math.imul(Ae,J),n=(n=Math.imul(Ae,mt))+Math.imul(ee,J)|0,b=Math.imul(ee,mt),v=v+Math.imul(Re,nt)|0,n=(n=n+Math.imul(Re,Ye)|0)+Math.imul(we,nt)|0,b=b+Math.imul(we,Ye)|0,v=v+Math.imul($e,xt)|0,n=(n=n+Math.imul($e,Ht)|0)+Math.imul(Ve,xt)|0,b=b+Math.imul(Ve,Ht)|0;var Bi=(D+(v=v+Math.imul(z,De)|0)|0)+((8191&(n=(n=n+Math.imul(z,X)|0)+Math.imul(Y,De)|0))<<13)|0;D=((b=b+Math.imul(Y,X)|0)+(n>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Oe,J),n=(n=Math.imul(Oe,mt))+Math.imul(fe,J)|0,b=Math.imul(fe,mt),v=v+Math.imul(Ae,nt)|0,n=(n=n+Math.imul(Ae,Ye)|0)+Math.imul(ee,nt)|0,b=b+Math.imul(ee,Ye)|0,v=v+Math.imul(Re,xt)|0,n=(n=n+Math.imul(Re,Ht)|0)+Math.imul(we,xt)|0,b=b+Math.imul(we,Ht)|0,v=v+Math.imul($e,De)|0,n=(n=n+Math.imul($e,X)|0)+Math.imul(Ve,De)|0,b=b+Math.imul(Ve,X)|0;var Je=(D+(v=v+Math.imul(z,Ee)|0)|0)+((8191&(n=(n=n+Math.imul(z,qe)|0)+Math.imul(Y,Ee)|0))<<13)|0;D=((b=b+Math.imul(Y,qe)|0)+(n>>>13)|0)+(Je>>>26)|0,Je&=67108863,v=Math.imul(ge,J),n=(n=Math.imul(ge,mt))+Math.imul(xe,J)|0,b=Math.imul(xe,mt),v=v+Math.imul(Oe,nt)|0,n=(n=n+Math.imul(Oe,Ye)|0)+Math.imul(fe,nt)|0,b=b+Math.imul(fe,Ye)|0,v=v+Math.imul(Ae,xt)|0,n=(n=n+Math.imul(Ae,Ht)|0)+Math.imul(ee,xt)|0,b=b+Math.imul(ee,Ht)|0,v=v+Math.imul(Re,De)|0,n=(n=n+Math.imul(Re,X)|0)+Math.imul(we,De)|0,b=b+Math.imul(we,X)|0,v=v+Math.imul($e,Ee)|0,n=(n=n+Math.imul($e,qe)|0)+Math.imul(Ve,Ee)|0,b=b+Math.imul(Ve,qe)|0;var Dt=(D+(v=v+Math.imul(z,Vt)|0)|0)+((8191&(n=(n=n+Math.imul(z,ri)|0)+Math.imul(Y,Vt)|0))<<13)|0;D=((b=b+Math.imul(Y,ri)|0)+(n>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Ie,J),n=(n=Math.imul(Ie,mt))+Math.imul(de,J)|0,b=Math.imul(de,mt),v=v+Math.imul(ge,nt)|0,n=(n=n+Math.imul(ge,Ye)|0)+Math.imul(xe,nt)|0,b=b+Math.imul(xe,Ye)|0,v=v+Math.imul(Oe,xt)|0,n=(n=n+Math.imul(Oe,Ht)|0)+Math.imul(fe,xt)|0,b=b+Math.imul(fe,Ht)|0,v=v+Math.imul(Ae,De)|0,n=(n=n+Math.imul(Ae,X)|0)+Math.imul(ee,De)|0,b=b+Math.imul(ee,X)|0,v=v+Math.imul(Re,Ee)|0,n=(n=n+Math.imul(Re,qe)|0)+Math.imul(we,Ee)|0,b=b+Math.imul(we,qe)|0,v=v+Math.imul($e,Vt)|0,n=(n=n+Math.imul($e,ri)|0)+Math.imul(Ve,Vt)|0,b=b+Math.imul(Ve,ri)|0;var be=(D+(v=v+Math.imul(z,ot)|0)|0)+((8191&(n=(n=n+Math.imul(z,ut)|0)+Math.imul(Y,ot)|0))<<13)|0;D=((b=b+Math.imul(Y,ut)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,v=Math.imul(je,J),n=(n=Math.imul(je,mt))+Math.imul(lt,J)|0,b=Math.imul(lt,mt),v=v+Math.imul(Ie,nt)|0,n=(n=n+Math.imul(Ie,Ye)|0)+Math.imul(de,nt)|0,b=b+Math.imul(de,Ye)|0,v=v+Math.imul(ge,xt)|0,n=(n=n+Math.imul(ge,Ht)|0)+Math.imul(xe,xt)|0,b=b+Math.imul(xe,Ht)|0,v=v+Math.imul(Oe,De)|0,n=(n=n+Math.imul(Oe,X)|0)+Math.imul(fe,De)|0,b=b+Math.imul(fe,X)|0,v=v+Math.imul(Ae,Ee)|0,n=(n=n+Math.imul(Ae,qe)|0)+Math.imul(ee,Ee)|0,b=b+Math.imul(ee,qe)|0,v=v+Math.imul(Re,Vt)|0,n=(n=n+Math.imul(Re,ri)|0)+Math.imul(we,Vt)|0,b=b+Math.imul(we,ri)|0,v=v+Math.imul($e,ot)|0,n=(n=n+Math.imul($e,ut)|0)+Math.imul(Ve,ot)|0,b=b+Math.imul(Ve,ut)|0;var Tt=(D+(v=v+Math.imul(z,ft)|0)|0)+((8191&(n=(n=n+Math.imul(z,Xe)|0)+Math.imul(Y,ft)|0))<<13)|0;D=((b=b+Math.imul(Y,Xe)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,v=Math.imul(Ke,J),n=(n=Math.imul(Ke,mt))+Math.imul(at,J)|0,b=Math.imul(at,mt),v=v+Math.imul(je,nt)|0,n=(n=n+Math.imul(je,Ye)|0)+Math.imul(lt,nt)|0,b=b+Math.imul(lt,Ye)|0,v=v+Math.imul(Ie,xt)|0,n=(n=n+Math.imul(Ie,Ht)|0)+Math.imul(de,xt)|0,b=b+Math.imul(de,Ht)|0,v=v+Math.imul(ge,De)|0,n=(n=n+Math.imul(ge,X)|0)+Math.imul(xe,De)|0,b=b+Math.imul(xe,X)|0,v=v+Math.imul(Oe,Ee)|0,n=(n=n+Math.imul(Oe,qe)|0)+Math.imul(fe,Ee)|0,b=b+Math.imul(fe,qe)|0,v=v+Math.imul(Ae,Vt)|0,n=(n=n+Math.imul(Ae,ri)|0)+Math.imul(ee,Vt)|0,b=b+Math.imul(ee,ri)|0,v=v+Math.imul(Re,ot)|0,n=(n=n+Math.imul(Re,ut)|0)+Math.imul(we,ot)|0,b=b+Math.imul(we,ut)|0,v=v+Math.imul($e,ft)|0,n=(n=n+Math.imul($e,Xe)|0)+Math.imul(Ve,ft)|0,b=b+Math.imul(Ve,Xe)|0;var Wt=(D+(v=v+Math.imul(z,_t)|0)|0)+((8191&(n=(n=n+Math.imul(z,Fe)|0)+Math.imul(Y,_t)|0))<<13)|0;D=((b=b+Math.imul(Y,Fe)|0)+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,v=Math.imul(ye,J),n=(n=Math.imul(ye,mt))+Math.imul(Qe,J)|0,b=Math.imul(Qe,mt),v=v+Math.imul(Ke,nt)|0,n=(n=n+Math.imul(Ke,Ye)|0)+Math.imul(at,nt)|0,b=b+Math.imul(at,Ye)|0,v=v+Math.imul(je,xt)|0,n=(n=n+Math.imul(je,Ht)|0)+Math.imul(lt,xt)|0,b=b+Math.imul(lt,Ht)|0,v=v+Math.imul(Ie,De)|0,n=(n=n+Math.imul(Ie,X)|0)+Math.imul(de,De)|0,b=b+Math.imul(de,X)|0,v=v+Math.imul(ge,Ee)|0,n=(n=n+Math.imul(ge,qe)|0)+Math.imul(xe,Ee)|0,b=b+Math.imul(xe,qe)|0,v=v+Math.imul(Oe,Vt)|0,n=(n=n+Math.imul(Oe,ri)|0)+Math.imul(fe,Vt)|0,b=b+Math.imul(fe,ri)|0,v=v+Math.imul(Ae,ot)|0,n=(n=n+Math.imul(Ae,ut)|0)+Math.imul(ee,ot)|0,b=b+Math.imul(ee,ut)|0,v=v+Math.imul(Re,ft)|0,n=(n=n+Math.imul(Re,Xe)|0)+Math.imul(we,ft)|0,b=b+Math.imul(we,Xe)|0,v=v+Math.imul($e,_t)|0,n=(n=n+Math.imul($e,Fe)|0)+Math.imul(Ve,_t)|0,b=b+Math.imul(Ve,Fe)|0;var ci=(D+(v=v+Math.imul(z,Et)|0)|0)+((8191&(n=(n=n+Math.imul(z,Yt)|0)+Math.imul(Y,Et)|0))<<13)|0;D=((b=b+Math.imul(Y,Yt)|0)+(n>>>13)|0)+(ci>>>26)|0,ci&=67108863,v=Math.imul(ye,nt),n=(n=Math.imul(ye,Ye))+Math.imul(Qe,nt)|0,b=Math.imul(Qe,Ye),v=v+Math.imul(Ke,xt)|0,n=(n=n+Math.imul(Ke,Ht)|0)+Math.imul(at,xt)|0,b=b+Math.imul(at,Ht)|0,v=v+Math.imul(je,De)|0,n=(n=n+Math.imul(je,X)|0)+Math.imul(lt,De)|0,b=b+Math.imul(lt,X)|0,v=v+Math.imul(Ie,Ee)|0,n=(n=n+Math.imul(Ie,qe)|0)+Math.imul(de,Ee)|0,b=b+Math.imul(de,qe)|0,v=v+Math.imul(ge,Vt)|0,n=(n=n+Math.imul(ge,ri)|0)+Math.imul(xe,Vt)|0,b=b+Math.imul(xe,ri)|0,v=v+Math.imul(Oe,ot)|0,n=(n=n+Math.imul(Oe,ut)|0)+Math.imul(fe,ot)|0,b=b+Math.imul(fe,ut)|0,v=v+Math.imul(Ae,ft)|0,n=(n=n+Math.imul(Ae,Xe)|0)+Math.imul(ee,ft)|0,b=b+Math.imul(ee,Xe)|0,v=v+Math.imul(Re,_t)|0,n=(n=n+Math.imul(Re,Fe)|0)+Math.imul(we,_t)|0,b=b+Math.imul(we,Fe)|0;var Ai=(D+(v=v+Math.imul($e,Et)|0)|0)+((8191&(n=(n=n+Math.imul($e,Yt)|0)+Math.imul(Ve,Et)|0))<<13)|0;D=((b=b+Math.imul(Ve,Yt)|0)+(n>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,v=Math.imul(ye,xt),n=(n=Math.imul(ye,Ht))+Math.imul(Qe,xt)|0,b=Math.imul(Qe,Ht),v=v+Math.imul(Ke,De)|0,n=(n=n+Math.imul(Ke,X)|0)+Math.imul(at,De)|0,b=b+Math.imul(at,X)|0,v=v+Math.imul(je,Ee)|0,n=(n=n+Math.imul(je,qe)|0)+Math.imul(lt,Ee)|0,b=b+Math.imul(lt,qe)|0,v=v+Math.imul(Ie,Vt)|0,n=(n=n+Math.imul(Ie,ri)|0)+Math.imul(de,Vt)|0,b=b+Math.imul(de,ri)|0,v=v+Math.imul(ge,ot)|0,n=(n=n+Math.imul(ge,ut)|0)+Math.imul(xe,ot)|0,b=b+Math.imul(xe,ut)|0,v=v+Math.imul(Oe,ft)|0,n=(n=n+Math.imul(Oe,Xe)|0)+Math.imul(fe,ft)|0,b=b+Math.imul(fe,Xe)|0,v=v+Math.imul(Ae,_t)|0,n=(n=n+Math.imul(Ae,Fe)|0)+Math.imul(ee,_t)|0,b=b+Math.imul(ee,Fe)|0;var ki=(D+(v=v+Math.imul(Re,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Re,Yt)|0)+Math.imul(we,Et)|0))<<13)|0;D=((b=b+Math.imul(we,Yt)|0)+(n>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(ye,De),n=(n=Math.imul(ye,X))+Math.imul(Qe,De)|0,b=Math.imul(Qe,X),v=v+Math.imul(Ke,Ee)|0,n=(n=n+Math.imul(Ke,qe)|0)+Math.imul(at,Ee)|0,b=b+Math.imul(at,qe)|0,v=v+Math.imul(je,Vt)|0,n=(n=n+Math.imul(je,ri)|0)+Math.imul(lt,Vt)|0,b=b+Math.imul(lt,ri)|0,v=v+Math.imul(Ie,ot)|0,n=(n=n+Math.imul(Ie,ut)|0)+Math.imul(de,ot)|0,b=b+Math.imul(de,ut)|0,v=v+Math.imul(ge,ft)|0,n=(n=n+Math.imul(ge,Xe)|0)+Math.imul(xe,ft)|0,b=b+Math.imul(xe,Xe)|0,v=v+Math.imul(Oe,_t)|0,n=(n=n+Math.imul(Oe,Fe)|0)+Math.imul(fe,_t)|0,b=b+Math.imul(fe,Fe)|0;var Yi=(D+(v=v+Math.imul(Ae,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Yt)|0)+Math.imul(ee,Et)|0))<<13)|0;D=((b=b+Math.imul(ee,Yt)|0)+(n>>>13)|0)+(Yi>>>26)|0,Yi&=67108863,v=Math.imul(ye,Ee),n=(n=Math.imul(ye,qe))+Math.imul(Qe,Ee)|0,b=Math.imul(Qe,qe),v=v+Math.imul(Ke,Vt)|0,n=(n=n+Math.imul(Ke,ri)|0)+Math.imul(at,Vt)|0,b=b+Math.imul(at,ri)|0,v=v+Math.imul(je,ot)|0,n=(n=n+Math.imul(je,ut)|0)+Math.imul(lt,ot)|0,b=b+Math.imul(lt,ut)|0,v=v+Math.imul(Ie,ft)|0,n=(n=n+Math.imul(Ie,Xe)|0)+Math.imul(de,ft)|0,b=b+Math.imul(de,Xe)|0,v=v+Math.imul(ge,_t)|0,n=(n=n+Math.imul(ge,Fe)|0)+Math.imul(xe,_t)|0,b=b+Math.imul(xe,Fe)|0;var ji=(D+(v=v+Math.imul(Oe,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Oe,Yt)|0)+Math.imul(fe,Et)|0))<<13)|0;D=((b=b+Math.imul(fe,Yt)|0)+(n>>>13)|0)+(ji>>>26)|0,ji&=67108863,v=Math.imul(ye,Vt),n=(n=Math.imul(ye,ri))+Math.imul(Qe,Vt)|0,b=Math.imul(Qe,ri),v=v+Math.imul(Ke,ot)|0,n=(n=n+Math.imul(Ke,ut)|0)+Math.imul(at,ot)|0,b=b+Math.imul(at,ut)|0,v=v+Math.imul(je,ft)|0,n=(n=n+Math.imul(je,Xe)|0)+Math.imul(lt,ft)|0,b=b+Math.imul(lt,Xe)|0,v=v+Math.imul(Ie,_t)|0,n=(n=n+Math.imul(Ie,Fe)|0)+Math.imul(de,_t)|0,b=b+Math.imul(de,Fe)|0;var tn=(D+(v=v+Math.imul(ge,Et)|0)|0)+((8191&(n=(n=n+Math.imul(ge,Yt)|0)+Math.imul(xe,Et)|0))<<13)|0;D=((b=b+Math.imul(xe,Yt)|0)+(n>>>13)|0)+(tn>>>26)|0,tn&=67108863,v=Math.imul(ye,ot),n=(n=Math.imul(ye,ut))+Math.imul(Qe,ot)|0,b=Math.imul(Qe,ut),v=v+Math.imul(Ke,ft)|0,n=(n=n+Math.imul(Ke,Xe)|0)+Math.imul(at,ft)|0,b=b+Math.imul(at,Xe)|0,v=v+Math.imul(je,_t)|0,n=(n=n+Math.imul(je,Fe)|0)+Math.imul(lt,_t)|0,b=b+Math.imul(lt,Fe)|0;var Zt=(D+(v=v+Math.imul(Ie,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Yt)|0)+Math.imul(de,Et)|0))<<13)|0;D=((b=b+Math.imul(de,Yt)|0)+(n>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v=Math.imul(ye,ft),n=(n=Math.imul(ye,Xe))+Math.imul(Qe,ft)|0,b=Math.imul(Qe,Xe),v=v+Math.imul(Ke,_t)|0,n=(n=n+Math.imul(Ke,Fe)|0)+Math.imul(at,_t)|0,b=b+Math.imul(at,Fe)|0;var Qt=(D+(v=v+Math.imul(je,Et)|0)|0)+((8191&(n=(n=n+Math.imul(je,Yt)|0)+Math.imul(lt,Et)|0))<<13)|0;D=((b=b+Math.imul(lt,Yt)|0)+(n>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v=Math.imul(ye,_t),n=(n=Math.imul(ye,Fe))+Math.imul(Qe,_t)|0,b=Math.imul(Qe,Fe);var _e=(D+(v=v+Math.imul(Ke,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ke,Yt)|0)+Math.imul(at,Et)|0))<<13)|0;D=((b=b+Math.imul(at,Yt)|0)+(n>>>13)|0)+(_e>>>26)|0,_e&=67108863;var ht=(D+(v=Math.imul(ye,Et))|0)+((8191&(n=(n=Math.imul(ye,Yt))+Math.imul(Qe,Et)|0))<<13)|0;return D=((b=Math.imul(Qe,Yt))+(n>>>13)|0)+(ht>>>26)|0,ht&=67108863,E[0]=Fi,E[1]=Ri,E[2]=Ci,E[3]=Bi,E[4]=Je,E[5]=Dt,E[6]=be,E[7]=Tt,E[8]=Wt,E[9]=ci,E[10]=Ai,E[11]=ki,E[12]=Yi,E[13]=ji,E[14]=tn,E[15]=Zt,E[16]=Qt,E[17]=_e,E[18]=ht,0!==D&&(E[19]=D,f.length++),f};function W(S,i,a){return(new K).mulp(S,i,a)}function K(S,i){this.x=S,this.y=i}Math.imul||(U=O),s.prototype.mulTo=function(i,a){var f,l=this.length+i.length;return f=10===this.length&&10===i.length?U(this,i,a):l<63?O(this,i,a):l<1024?function Z(S,i,a){a.negative=i.negative^S.negative,a.length=S.length+i.length;for(var f=0,l=0,y=0;y<a.length-1;y++){var E=l;l=0;for(var D=67108863&f,v=Math.min(y,i.length-1),n=Math.max(0,y-S.length+1);n<=v;n++){var Y=(0|S.words[y-n])*(0|i.words[n]),Te=67108863&Y;D=67108863&(Te=Te+D|0),l+=(E=(E=E+(Y/67108864|0)|0)+(Te>>>26)|0)>>>26,E&=67108863}a.words[y]=D,f=E,E=l}return 0!==f?a.words[y]=f:a.length--,a.strip()}(this,i,a):W(this,i,a),f},K.prototype.makeRBT=function(i){for(var a=new Array(i),f=s.prototype._countBits(i)-1,l=0;l<i;l++)a[l]=this.revBin(l,f,i);return a},K.prototype.revBin=function(i,a,f){if(0===i||i===f-1)return i;for(var l=0,y=0;y<a;y++)l|=(1&i)<<a-y-1,i>>=1;return l},K.prototype.permute=function(i,a,f,l,y,E){for(var D=0;D<E;D++)l[D]=a[i[D]],y[D]=f[i[D]]},K.prototype.transform=function(i,a,f,l,y,E){this.permute(E,i,a,f,l,y);for(var D=1;D<y;D<<=1)for(var v=D<<1,n=Math.cos(2*Math.PI/v),b=Math.sin(2*Math.PI/v),V=0;V<y;V+=v)for(var z=n,Y=b,Te=0;Te<D;Te++){var $e=f[V+Te],Ve=l[V+Te],We=f[V+Te+D],Re=l[V+Te+D],we=z*We-Y*Re;Re=z*Re+Y*We,f[V+Te]=$e+(We=we),l[V+Te]=Ve+Re,f[V+Te+D]=$e-We,l[V+Te+D]=Ve-Re,Te!==v&&(we=n*z-b*Y,Y=n*Y+b*z,z=we)}},K.prototype.guessLen13b=function(i,a){var f=1|Math.max(a,i),l=1&f,y=0;for(f=f/2|0;f;f>>>=1)y++;return 1<<y+1+l},K.prototype.conjugate=function(i,a,f){if(!(f<=1))for(var l=0;l<f/2;l++){var y=i[l];i[l]=i[f-l-1],i[f-l-1]=y,y=a[l],a[l]=-a[f-l-1],a[f-l-1]=-y}},K.prototype.normalize13b=function(i,a){for(var f=0,l=0;l<a/2;l++){var y=8192*Math.round(i[2*l+1]/a)+Math.round(i[2*l]/a)+f;i[l]=67108863&y,f=y<67108864?0:y/67108864|0}return i},K.prototype.convert13b=function(i,a,f,l){for(var y=0,E=0;E<a;E++)f[2*E]=8191&(y+=0|i[E]),f[2*E+1]=8191&(y>>>=13),y>>>=13;for(E=2*a;E<l;++E)f[E]=0;g(0===y),g(0==(-8192&y))},K.prototype.stub=function(i){for(var a=new Array(i),f=0;f<i;f++)a[f]=0;return a},K.prototype.mulp=function(i,a,f){var l=2*this.guessLen13b(i.length,a.length),y=this.makeRBT(l),E=this.stub(l),D=new Array(l),v=new Array(l),n=new Array(l),b=new Array(l),V=new Array(l),z=new Array(l),Y=f.words;Y.length=l,this.convert13b(i.words,i.length,D,l),this.convert13b(a.words,a.length,b,l),this.transform(D,E,v,n,l,y),this.transform(b,E,V,z,l,y);for(var Te=0;Te<l;Te++){var $e=v[Te]*V[Te]-n[Te]*z[Te];n[Te]=v[Te]*z[Te]+n[Te]*V[Te],v[Te]=$e}return this.conjugate(v,n,l),this.transform(v,n,Y,E,l,y),this.conjugate(Y,E,l),this.normalize13b(Y,l),f.negative=i.negative^a.negative,f.length=i.length+a.length,f.strip()},s.prototype.mul=function(i){var a=new s(null);return a.words=new Array(this.length+i.length),this.mulTo(i,a)},s.prototype.mulf=function(i){var a=new s(null);return a.words=new Array(this.length+i.length),W(this,i,a)},s.prototype.imul=function(i){return this.clone().mulTo(i,this)},s.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var a=0,f=0;f<this.length;f++){var l=(0|this.words[f])*i,y=(67108863&l)+(67108863&a);a>>=26,a+=l/67108864|0,a+=y>>>26,this.words[f]=67108863&y}return 0!==a&&(this.words[f]=a,this.length++),this},s.prototype.muln=function(i){return this.clone().imuln(i)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(i){var a=function k(S){for(var i=new Array(S.bitLength()),a=0;a<i.length;a++){var l=a%26;i[a]=(S.words[a/26|0]&1<<l)>>>l}return i}(i);if(0===a.length)return new s(1);for(var f=this,l=0;l<a.length&&0===a[l];l++,f=f.sqr());if(++l<a.length)for(var y=f.sqr();l<a.length;l++,y=y.sqr())0!==a[l]&&(f=f.mul(y));return f},s.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,a=i%26,f=(i-a)/26,l=67108863>>>26-a<<26-a;if(0!==a){var E=0;for(y=0;y<this.length;y++){var D=this.words[y]&l;this.words[y]=(0|this.words[y])-D<<a|E,E=D>>>26-a}E&&(this.words[y]=E,this.length++)}if(0!==f){for(y=this.length-1;y>=0;y--)this.words[y+f]=this.words[y];for(y=0;y<f;y++)this.words[y]=0;this.length+=f}return this.strip()},s.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},s.prototype.iushrn=function(i,a,f){var l;g("number"==typeof i&&i>=0),l=a?(a-a%26)/26:0;var y=i%26,E=Math.min((i-y)/26,this.length),D=67108863^67108863>>>y<<y,v=f;if(l-=E,l=Math.max(0,l),v){for(var n=0;n<E;n++)v.words[n]=this.words[n];v.length=E}if(0!==E)if(this.length>E)for(this.length-=E,n=0;n<this.length;n++)this.words[n]=this.words[n+E];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=l);n--){var V=0|this.words[n];this.words[n]=b<<26-y|V>>>y,b=V&D}return v&&0!==b&&(v.words[v.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(i,a,f){return g(0===this.negative),this.iushrn(i,a,f)},s.prototype.shln=function(i){return this.clone().ishln(i)},s.prototype.ushln=function(i){return this.clone().iushln(i)},s.prototype.shrn=function(i){return this.clone().ishrn(i)},s.prototype.ushrn=function(i){return this.clone().iushrn(i)},s.prototype.testn=function(i){g("number"==typeof i&&i>=0);var a=i%26,f=(i-a)/26;return!(this.length<=f||!(this.words[f]&1<<a))},s.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var a=i%26,f=(i-a)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==a&&f++,this.length=Math.min(f,this.length),0!==a&&(this.words[this.length-1]&=67108863^67108863>>>a<<a),this.strip())},s.prototype.maskn=function(i){return this.clone().imaskn(i)},s.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)},s.prototype._iaddn=function(i){this.words[0]+=i;for(var a=0;a<this.length&&this.words[a]>=67108864;a++)this.words[a]-=67108864,a===this.length-1?this.words[a+1]=1:this.words[a+1]++;return this.length=Math.max(this.length,a+1),this},s.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 a=0;a<this.length&&this.words[a]<0;a++)this.words[a]+=67108864,this.words[a+1]-=1;return this.strip()},s.prototype.addn=function(i){return this.clone().iaddn(i)},s.prototype.subn=function(i){return this.clone().isubn(i)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(i,a,f){var y;this._expand(i.length+f);var E,D=0;for(y=0;y<i.length;y++){E=(0|this.words[y+f])+D;var v=(0|i.words[y])*a;D=((E-=67108863&v)>>26)-(v/67108864|0),this.words[y+f]=67108863&E}for(;y<this.length-f;y++)D=(E=(0|this.words[y+f])+D)>>26,this.words[y+f]=67108863&E;if(0===D)return this.strip();for(g(-1===D),D=0,y=0;y<this.length;y++)D=(E=-(0|this.words[y])+D)>>26,this.words[y]=67108863&E;return this.negative=1,this.strip()},s.prototype._wordDiv=function(i,a){var f,l=this.clone(),y=i,E=0|y.words[y.length-1];0!=(f=26-this._countBits(E))&&(y=y.ushln(f),l.iushln(f),E=0|y.words[y.length-1]);var n,v=l.length-y.length;if("mod"!==a){(n=new s(null)).length=v+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var V=l.clone()._ishlnsubmul(y,1,v);0===V.negative&&(l=V,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var Y=67108864*(0|l.words[y.length+z])+(0|l.words[y.length+z-1]);for(Y=Math.min(Y/E|0,67108863),l._ishlnsubmul(y,Y,z);0!==l.negative;)Y--,l.negative=0,l._ishlnsubmul(y,1,z),l.isZero()||(l.negative^=1);n&&(n.words[z]=Y)}return n&&n.strip(),l.strip(),"div"!==a&&0!==f&&l.iushrn(f),{div:n||null,mod:l}},s.prototype.divmod=function(i,a,f){return g(!i.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===i.negative?(E=this.neg().divmod(i,a),"mod"!==a&&(l=E.div.neg()),"div"!==a&&(y=E.mod.neg(),f&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(E=this.divmod(i.neg(),a),"mod"!==a&&(l=E.div.neg()),{div:l,mod:E.mod}):this.negative&i.negative?(E=this.neg().divmod(i.neg(),a),"div"!==a&&(y=E.mod.neg(),f&&0!==y.negative&&y.isub(i)),{div:E.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new s(0),mod:this}:1===i.length?"div"===a?{div:this.divn(i.words[0]),mod:null}:"mod"===a?{div:null,mod:new s(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new s(this.modn(i.words[0]))}:this._wordDiv(i,a);var l,y,E},s.prototype.div=function(i){return this.divmod(i,"div",!1).div},s.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},s.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},s.prototype.divRound=function(i){var a=this.divmod(i);if(a.mod.isZero())return a.div;var f=0!==a.div.negative?a.mod.isub(i):a.mod,l=i.ushrn(1),y=i.andln(1),E=f.cmp(l);return E<0||1===y&&0===E?a.div:0!==a.div.negative?a.div.isubn(1):a.div.iaddn(1)},s.prototype.modn=function(i){g(i<=67108863);for(var a=(1<<26)%i,f=0,l=this.length-1;l>=0;l--)f=(a*f+(0|this.words[l]))%i;return f},s.prototype.idivn=function(i){g(i<=67108863);for(var a=0,f=this.length-1;f>=0;f--){var l=(0|this.words[f])+67108864*a;this.words[f]=l/i|0,a=l%i}return this.strip()},s.prototype.divn=function(i){return this.clone().idivn(i)},s.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var a=this,f=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),E=new s(0),D=new s(1),v=0;a.isEven()&&f.isEven();)a.iushrn(1),f.iushrn(1),++v;for(var n=f.clone(),b=a.clone();!a.isZero();){for(var V=0,z=1;!(a.words[0]&z)&&V<26;++V,z<<=1);if(V>0)for(a.iushrn(V);V-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(b)),l.iushrn(1),y.iushrn(1);for(var Y=0,Te=1;!(f.words[0]&Te)&&Y<26;++Y,Te<<=1);if(Y>0)for(f.iushrn(Y);Y-- >0;)(E.isOdd()||D.isOdd())&&(E.iadd(n),D.isub(b)),E.iushrn(1),D.iushrn(1);a.cmp(f)>=0?(a.isub(f),l.isub(E),y.isub(D)):(f.isub(a),E.isub(l),D.isub(y))}return{a:E,b:D,gcd:f.iushln(v)}},s.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var V,a=this,f=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),E=f.clone();a.cmpn(1)>0&&f.cmpn(1)>0;){for(var D=0,v=1;!(a.words[0]&v)&&D<26;++D,v<<=1);if(D>0)for(a.iushrn(D);D-- >0;)l.isOdd()&&l.iadd(E),l.iushrn(1);for(var n=0,b=1;!(f.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(f.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(E),y.iushrn(1);a.cmp(f)>=0?(a.isub(f),l.isub(y)):(f.isub(a),y.isub(l))}return(V=0===a.cmpn(1)?l:y).cmpn(0)<0&&V.iadd(i),V},s.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var a=this.clone(),f=i.clone();a.negative=0,f.negative=0;for(var l=0;a.isEven()&&f.isEven();l++)a.iushrn(1),f.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;f.isEven();)f.iushrn(1);var y=a.cmp(f);if(y<0){var E=a;a=f,f=E}else if(0===y||0===f.cmpn(1))break;a.isub(f)}return f.iushln(l)},s.prototype.invm=function(i){return this.egcd(i).a.umod(i)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(i){return this.words[0]&i},s.prototype.bincn=function(i){g("number"==typeof i);var a=i%26,f=(i-a)/26,l=1<<a;if(this.length<=f)return this._expand(f+1),this.words[f]|=l,this;for(var y=l,E=f;0!==y&&E<this.length;E++){var D=0|this.words[E];y=(D+=y)>>>26,this.words[E]=D&=67108863}return 0!==y&&(this.words[E]=y,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(i){var f,a=i<0;if(0!==this.negative&&!a)return-1;if(0===this.negative&&a)return 1;if(this.strip(),this.length>1)f=1;else{a&&(i=-i),g(i<=67108863,"Number is too big");var l=0|this.words[0];f=l===i?0:l<i?-1:1}return 0!==this.negative?0|-f:f},s.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var a=this.ucmp(i);return 0!==this.negative?0|-a:a},s.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var a=0,f=this.length-1;f>=0;f--){var l=0|this.words[f],y=0|i.words[f];if(l!==y){l<y?a=-1:l>y&&(a=1);break}}return a},s.prototype.gtn=function(i){return 1===this.cmpn(i)},s.prototype.gt=function(i){return 1===this.cmp(i)},s.prototype.gten=function(i){return this.cmpn(i)>=0},s.prototype.gte=function(i){return this.cmp(i)>=0},s.prototype.ltn=function(i){return-1===this.cmpn(i)},s.prototype.lt=function(i){return-1===this.cmp(i)},s.prototype.lten=function(i){return this.cmpn(i)<=0},s.prototype.lte=function(i){return this.cmp(i)<=0},s.prototype.eqn=function(i){return 0===this.cmpn(i)},s.prototype.eq=function(i){return 0===this.cmp(i)},s.red=function(i){return new se(i)},s.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)},s.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(i){return this.red=i,this},s.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},s.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},s.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},s.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},s.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},s.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},s.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},s.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},s.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var q={k256:null,p224:null,p192:null,p25519:null};function te(S,i){this.name=S,this.p=new s(i,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function pe(){te.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function oe(){te.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function re(){te.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){te.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(S){if("string"==typeof S){var i=s._prime(S);this.m=i.p,this.prime=i}else g(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){se.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(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)}te.prototype._tmp=function(){var i=new s(null);return i.words=new Array(Math.ceil(this.n/13)),i},te.prototype.ireduce=function(i){var f,a=i;do{this.split(a,this.tmp),f=(a=(a=this.imulK(a)).iadd(this.tmp)).bitLength()}while(f>this.n);var l=f<this.n?-1:a.ucmp(this.p);return 0===l?(a.words[0]=0,a.length=1):l>0?a.isub(this.p):void 0!==a.strip?a.strip():a._strip(),a},te.prototype.split=function(i,a){i.iushrn(this.n,0,a)},te.prototype.imulK=function(i){return i.imul(this.k)},A(pe,te),pe.prototype.split=function(i,a){for(var f=4194303,l=Math.min(i.length,9),y=0;y<l;y++)a.words[y]=i.words[y];if(a.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var E=i.words[9];for(a.words[a.length++]=E&f,y=10;y<i.length;y++){var D=0|i.words[y];i.words[y-10]=(D&f)<<4|E>>>22,E=D}i.words[y-10]=E>>>=22,i.length-=0===E&&i.length>10?10:9},pe.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var a=0,f=0;f<i.length;f++){var l=0|i.words[f];i.words[f]=67108863&(a+=977*l),a=64*l+(a/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},A(oe,te),A(re,te),A(ce,te),ce.prototype.imulK=function(i){for(var a=0,f=0;f<i.length;f++){var l=19*(0|i.words[f])+a,y=67108863&l;l>>>=26,i.words[f]=y,a=l}return 0!==a&&(i.words[i.length++]=a),i},s._prime=function(i){if(q[i])return q[i];var a;if("k256"===i)a=new pe;else if("p224"===i)a=new oe;else if("p192"===i)a=new re;else{if("p25519"!==i)throw new Error("Unknown prime "+i);a=new ce}return q[i]=a,a},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,a){g(0==(i.negative|a.negative),"red works only with positives"),g(i.red&&i.red===a.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,a){this._verify2(i,a);var f=i.add(a);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},se.prototype.iadd=function(i,a){this._verify2(i,a);var f=i.iadd(a);return f.cmp(this.m)>=0&&f.isub(this.m),f},se.prototype.sub=function(i,a){this._verify2(i,a);var f=i.sub(a);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},se.prototype.isub=function(i,a){this._verify2(i,a);var f=i.isub(a);return f.cmpn(0)<0&&f.iadd(this.m),f},se.prototype.shl=function(i,a){return this._verify1(i),this.imod(i.ushln(a))},se.prototype.imul=function(i,a){return this._verify2(i,a),this.imod(i.imul(a))},se.prototype.mul=function(i,a){return this._verify2(i,a),this.imod(i.mul(a))},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 a=this.m.andln(3);if(g(a%2==1),3===a){var f=this.m.add(new s(1)).iushrn(2);return this.pow(i,f)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);g(!l.isZero());var E=new s(1).toRed(this),D=E.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new s(2*n*n).toRed(this);0!==this.pow(n,v).cmp(D);)n.redIAdd(D);for(var b=this.pow(n,l),V=this.pow(i,l.addn(1).iushrn(1)),z=this.pow(i,l),Y=y;0!==z.cmp(E);){for(var Te=z,$e=0;0!==Te.cmp(E);$e++)Te=Te.redSqr();g($e<Y);var Ve=this.pow(b,new s(1).iushln(Y-$e-1));V=V.redMul(Ve),b=Ve.redSqr(),z=z.redMul(b),Y=$e}return V},se.prototype.invm=function(i){var a=i._invmp(this.m);return 0!==a.negative?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},se.prototype.pow=function(i,a){if(a.isZero())return new s(1).toRed(this);if(0===a.cmpn(1))return i.clone();var l=new Array(16);l[0]=new s(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var E=l[0],D=0,v=0,n=a.bitLength()%26;for(0===n&&(n=26),y=a.length-1;y>=0;y--){for(var b=a.words[y],V=n-1;V>=0;V--){var z=b>>V&1;E!==l[0]&&(E=this.sqr(E)),0!==z||0!==D?(D<<=1,D|=z,(4==++v||0===y&&0===V)&&(E=this.mul(E,l[D]),v=0,D=0)):v=0}n=26}return E},se.prototype.convertTo=function(i){var a=i.umod(this.m);return a===i?a.clone():a},se.prototype.convertFrom=function(i){var a=i.clone();return a.red=null,a},s.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 a=this.imod(i.mul(this.rinv));return a.red=null,a},he.prototype.imul=function(i,a){if(i.isZero()||a.isZero())return i.words[0]=0,i.length=1,i;var f=i.imul(a),l=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=f.isub(l).iushrn(this.shift),E=y;return y.cmp(this.m)>=0?E=y.isub(this.m):y.cmpn(0)<0&&(E=y.iadd(this.m)),E._forceRed(this)},he.prototype.mul=function(i,a){if(i.isZero()||a.isZero())return new s(0)._forceRed(this);var f=i.mul(a),l=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=f.isub(l).iushrn(this.shift),E=y;return y.cmp(this.m)>=0?E=y.isub(this.m):y.cmpn(0)<0&&(E=y.iadd(this.m)),E._forceRed(this)},he.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Be=m.nmd(Be),this)},8419:Be=>{"use strict";Be.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 s=m.charCodeAt(g+1);s>=56320&&s<=57343&&(A=1024*(A-55296)+s-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:Be=>{"use strict";var t,Q="object"==typeof Reflect?Reflect:null,m=Q&&"function"==typeof Q.apply?Q.apply:function(te,pe,oe){return Function.prototype.apply.call(te,pe,oe)};t=Q&&"function"==typeof Q.ownKeys?Q.ownKeys:Object.getOwnPropertySymbols?function(te){return Object.getOwnPropertyNames(te).concat(Object.getOwnPropertySymbols(te))}:function(te){return Object.getOwnPropertyNames(te)};var g=Number.isNaN||function(te){return te!=te};function A(){A.init.call(this)}Be.exports=A,Be.exports.once=function Z(q,te){return new Promise(function(pe,oe){function re(se){q.removeListener(te,ce),oe(se)}function ce(){"function"==typeof q.removeListener&&q.removeListener("error",re),pe([].slice.call(arguments))}K(q,te,ce,{once:!0}),"error"!==te&&function W(q,te,pe){"function"==typeof q.on&&K(q,"error",te,pe)}(q,re,{once:!0})})},A.EventEmitter=A,A.prototype._events=void 0,A.prototype._eventsCount=0,A.prototype._maxListeners=void 0;var s=10;function C(q){if("function"!=typeof q)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof q)}function h(q){return void 0===q._maxListeners?A.defaultMaxListeners:q._maxListeners}function P(q,te,pe,oe){var re,ce,se;if(C(pe),void 0===(ce=q._events)?(ce=q._events=Object.create(null),q._eventsCount=0):(void 0!==ce.newListener&&(q.emit("newListener",te,pe.listener?pe.listener:pe),ce=q._events),se=ce[te]),void 0===se)se=ce[te]=pe,++q._eventsCount;else if("function"==typeof se?se=ce[te]=oe?[pe,se]:[se,pe]:oe?se.unshift(pe):se.push(pe),(re=h(q))>0&&se.length>re&&!se.warned){se.warned=!0;var he=new Error("Possible EventEmitter memory leak detected. "+se.length+" "+String(te)+" listeners added. Use emitter.setMaxListeners() to increase limit");he.name="MaxListenersExceededWarning",he.emitter=q,he.type=te,he.count=se.length,function e(q){console&&console.warn&&console.warn(q)}(he)}return q}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(q,te,pe){var oe={fired:!1,wrapFn:void 0,target:q,type:te,listener:pe},re=d.bind(oe);return re.listener=pe,oe.wrapFn=re,re}function w(q,te,pe){var oe=q._events;if(void 0===oe)return[];var re=oe[te];return void 0===re?[]:"function"==typeof re?pe?[re.listener||re]:[re]:pe?function U(q){for(var te=new Array(q.length),pe=0;pe<te.length;++pe)te[pe]=q[pe].listener||q[pe];return te}(re):k(re,re.length)}function I(q){var te=this._events;if(void 0!==te){var pe=te[q];if("function"==typeof pe)return 1;if(void 0!==pe)return pe.length}return 0}function k(q,te){for(var pe=new Array(te),oe=0;oe<te;++oe)pe[oe]=q[oe];return pe}function K(q,te,pe,oe){if("function"==typeof q.on)oe.once?q.once(te,pe):q.on(te,pe);else{if("function"!=typeof q.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof q);q.addEventListener(te,function re(ce){oe.once&&q.removeEventListener(te,re),pe(ce)})}}Object.defineProperty(A,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(q){if("number"!=typeof q||q<0||g(q))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+q+".");s=q}}),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(te){if("number"!=typeof te||te<0||g(te))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+te+".");return this._maxListeners=te,this},A.prototype.getMaxListeners=function(){return h(this)},A.prototype.emit=function(te){for(var pe=[],oe=1;oe<arguments.length;oe++)pe.push(arguments[oe]);var re="error"===te,ce=this._events;if(void 0!==ce)re=re&&void 0===ce.error;else if(!re)return!1;if(re){var se;if(pe.length>0&&(se=pe[0]),se instanceof Error)throw se;var he=new Error("Unhandled error."+(se?" ("+se.message+")":""));throw he.context=se,he}var S=ce[te];if(void 0===S)return!1;if("function"==typeof S)m(S,this,pe);else{var i=S.length,a=k(S,i);for(oe=0;oe<i;++oe)m(a[oe],this,pe)}return!0},A.prototype.on=A.prototype.addListener=function(te,pe){return P(this,te,pe,!1)},A.prototype.prependListener=function(te,pe){return P(this,te,pe,!0)},A.prototype.once=function(te,pe){return C(pe),this.on(te,M(this,te,pe)),this},A.prototype.prependOnceListener=function(te,pe){return C(pe),this.prependListener(te,M(this,te,pe)),this},A.prototype.off=A.prototype.removeListener=function(te,pe){var oe,re,ce,se,he;if(C(pe),void 0===(re=this._events))return this;if(void 0===(oe=re[te]))return this;if(oe===pe||oe.listener===pe)0==--this._eventsCount?this._events=Object.create(null):(delete re[te],re.removeListener&&this.emit("removeListener",te,oe.listener||pe));else if("function"!=typeof oe){for(ce=-1,se=oe.length-1;se>=0;se--)if(oe[se]===pe||oe[se].listener===pe){he=oe[se].listener,ce=se;break}if(ce<0)return this;0===ce?oe.shift():function O(q,te){for(;te+1<q.length;te++)q[te]=q[te+1];q.pop()}(oe,ce),1===oe.length&&(re[te]=oe[0]),void 0!==re.removeListener&&this.emit("removeListener",te,he||pe)}return this},A.prototype.removeAllListeners=function(te){var pe,oe,re;if(void 0===(oe=this._events))return this;if(void 0===oe.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==oe[te]&&(0==--this._eventsCount?this._events=Object.create(null):delete oe[te]),this;if(0===arguments.length){var se,ce=Object.keys(oe);for(re=0;re<ce.length;++re)"removeListener"!==(se=ce[re])&&this.removeAllListeners(se);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(pe=oe[te]))this.removeListener(te,pe);else if(void 0!==pe)for(re=pe.length-1;re>=0;re--)this.removeListener(te,pe[re]);return this},A.prototype.listeners=function(te){return w(this,te,!0)},A.prototype.rawListeners=function(te){return w(this,te,!1)},A.listenerCount=function(q,te){return"function"==typeof q.listenerCount?q.listenerCount(te):I.call(q,te)},A.prototype.listenerCount=I,A.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},347:(Be,Q,m)=>{var t=m(3502).Buffer,e=m(8095);Be.exports=function g(A,s,C,h){if(t.isBuffer(A)||(A=t.from(A,"binary")),s&&(t.isBuffer(s)||(s=t.from(s,"binary")),8!==s.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var P=C/8,d=t.alloc(P),M=t.alloc(h||0),w=t.alloc(0);P>0||h>0;){var I=new e;I.update(w),I.update(A),s&&I.update(s),w=I.digest();var k=0;if(P>0){var O=d.length-P;k=Math.min(P,w.length),w.copy(d,O,0,k),P-=k}if(k<w.length&&h>0){var U=M.length-h,Z=Math.min(h,w.length-k);w.copy(M,U,k,k+Z),h-=Z}}return w.fill(0),{key:d,iv:M}}},9650:(Be,Q,m)=>{"use strict";var t=m(3502).Buffer,e=m(5685).Transform;function s(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)(s,e),s.prototype._transform=function(C,h,P){var d=null;try{this.update(C,h)}catch(M){d=M}P(d)},s.prototype._flush=function(C){var h=null;try{this.push(this.digest())}catch(P){h=P}C(h)},s.prototype.update=function(C,h){if(function A(C,h){if(!t.isBuffer(C)&&"string"!=typeof C)throw new TypeError(h+" must be a string or a buffer")}(C,"Data"),this._finalized)throw new Error("Digest already called");t.isBuffer(C)||(C=t.from(C,h));for(var P=this._block,d=0;this._blockOffset+C.length-d>=this._blockSize;){for(var M=this._blockOffset;M<this._blockSize;)P[M++]=C[d++];this._update(),this._blockOffset=0}for(;d<C.length;)P[this._blockOffset++]=C[d++];for(var w=0,I=8*C.length;I>0;++w)this._length[w]+=I,(I=this._length[w]/4294967296|0)>0&&(this._length[w]-=4294967296*I);return this},s.prototype._update=function(){throw new Error("_update is not implemented")},s.prototype.digest=function(C){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var h=this._digest();void 0!==C&&(h=h.toString(C)),this._block.fill(0),this._blockOffset=0;for(var P=0;P<4;++P)this._length[P]=0;return h},s.prototype._digest=function(){throw new Error("_digest is not implemented")},Be.exports=s},7084:(Be,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:(Be,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(s,C){if(s=t.toArray(s,C),this.pending=this.pending?this.pending.concat(s):s,this.pendingTotal+=s.length,this.pending.length>=this._delta8){var h=(s=this.pending).length%this._delta8;this.pending=s.slice(s.length-h,s.length),0===this.pending.length&&(this.pending=null),s=t.join32(s,0,s.length-h,this.endian);for(var P=0;P<s.length;P+=this._delta32)this._update(s,P,P+this._delta32)}return this},g.prototype.digest=function(s){return this.update(this._pad()),e(null===this.pending),this._digest(s)},g.prototype._pad=function(){var s=this.pendingTotal,C=this._delta8,h=C-(s+this.padLength)%C,P=new Array(h+this.padLength);P[0]=128;for(var d=1;d<h;d++)P[d]=0;if(s<<=3,"big"===this.endian){for(var M=8;M<this.padLength;M++)P[d++]=0;P[d++]=0,P[d++]=0,P[d++]=0,P[d++]=0,P[d++]=s>>>24&255,P[d++]=s>>>16&255,P[d++]=s>>>8&255,P[d++]=255&s}else for(P[d++]=255&s,P[d++]=s>>>8&255,P[d++]=s>>>16&255,P[d++]=s>>>24&255,P[d++]=0,P[d++]=0,P[d++]=0,P[d++]=0,M=8;M<this.padLength;M++)P[d++]=0;return P}},2194:(Be,Q,m)=>{"use strict";var t=m(9299),e=m(2391);function g(A,s,C){if(!(this instanceof g))return new g(A,s,C);this.Hash=A,this.blockSize=A.blockSize/8,this.outSize=A.outSize/8,this.inner=null,this.outer=null,this._init(t.toArray(s,C))}Be.exports=g,g.prototype._init=function(s){s.length>this.blockSize&&(s=(new this.Hash).update(s).digest()),e(s.length<=this.blockSize);for(var C=s.length;C<this.blockSize;C++)s.push(0);for(C=0;C<s.length;C++)s[C]^=54;for(this.inner=(new this.Hash).update(s),C=0;C<s.length;C++)s[C]^=106;this.outer=(new this.Hash).update(s)},g.prototype.update=function(s,C){return this.inner.update(s,C),this},g.prototype.digest=function(s){return this.outer.update(this.inner.digest()),this.outer.digest(s)}},9458:(Be,Q,m)=>{"use strict";var t=m(9299),e=m(3800),g=t.rotl32,A=t.sum32,s=t.sum32_3,C=t.sum32_4,h=e.BlockHash;function P(){if(!(this instanceof P))return new P;h.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(Z,W,K,q){return Z<=15?W^K^q:Z<=31?W&K|~W&q:Z<=47?(W|~K)^q:Z<=63?W&q|K&~q:W^(K|~q)}function w(Z){return Z<=15?1352829926:Z<=31?1548603684:Z<=47?1836072691:Z<=63?2053994217:0}t.inherits(P,h),Q.ripemd160=P,P.blockSize=512,P.outSize=160,P.hmacStrength=192,P.padLength=64,P.prototype._update=function(W,K){for(var q=this.h[0],te=this.h[1],pe=this.h[2],oe=this.h[3],re=this.h[4],ce=q,se=te,he=pe,S=oe,i=re,a=0;a<80;a++){var f=A(g(C(q,d(a,te,pe,oe),W[I[a]+K],(Z=a)<=15?0:Z<=31?1518500249:Z<=47?1859775393:Z<=63?2400959708:2840853838),O[a]),re);q=re,re=oe,oe=g(pe,10),pe=te,te=f,f=A(g(C(ce,d(79-a,se,he,S),W[k[a]+K],w(a)),U[a]),i),ce=i,i=S,S=g(he,10),he=se,se=f}var Z;f=s(this.h[1],pe,S),this.h[1]=s(this.h[2],oe,i),this.h[2]=s(this.h[3],re,ce),this.h[3]=s(this.h[4],q,se),this.h[4]=s(this.h[0],te,he),this.h[0]=f},P.prototype._digest=function(W){return"hex"===W?t.toHex32(this.h,"little"):t.split32(this.h,"little")};var I=[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],k=[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],O=[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:(Be,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:(Be,Q,m)=>{"use strict";var t=m(9299),e=m(3800),g=m(3113),A=t.rotl32,s=t.sum32,C=t.sum32_5,h=g.ft_1,P=e.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function M(){if(!(this instanceof M))return new M;P.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}t.inherits(M,P),Be.exports=M,M.blockSize=512,M.outSize=160,M.hmacStrength=80,M.padLength=64,M.prototype._update=function(I,k){for(var O=this.W,U=0;U<16;U++)O[U]=I[k+U];for(;U<O.length;U++)O[U]=A(O[U-3]^O[U-8]^O[U-14]^O[U-16],1);var Z=this.h[0],W=this.h[1],K=this.h[2],q=this.h[3],te=this.h[4];for(U=0;U<O.length;U++){var pe=~~(U/20),oe=C(A(Z,5),h(pe,W,K,q),te,O[U],d[pe]);te=q,q=K,K=A(W,30),W=Z,Z=oe}this.h[0]=s(this.h[0],Z),this.h[1]=s(this.h[1],W),this.h[2]=s(this.h[2],K),this.h[3]=s(this.h[3],q),this.h[4]=s(this.h[4],te)},M.prototype._digest=function(I){return"hex"===I?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},55:(Be,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),Be.exports=g,g.blockSize=512,g.outSize=224,g.hmacStrength=192,g.padLength=64,g.prototype._digest=function(s){return"hex"===s?t.toHex32(this.h.slice(0,7),"big"):t.split32(this.h.slice(0,7),"big")}},9342:(Be,Q,m)=>{"use strict";var t=m(9299),e=m(3800),g=m(3113),A=m(2391),s=t.sum32,C=t.sum32_4,h=t.sum32_5,P=g.ch32,d=g.maj32,M=g.s0_256,w=g.s1_256,I=g.g0_256,k=g.g1_256,O=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;O.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=U,this.W=new Array(64)}t.inherits(Z,O),Be.exports=Z,Z.blockSize=512,Z.outSize=256,Z.hmacStrength=192,Z.padLength=64,Z.prototype._update=function(K,q){for(var te=this.W,pe=0;pe<16;pe++)te[pe]=K[q+pe];for(;pe<te.length;pe++)te[pe]=C(k(te[pe-2]),te[pe-7],I(te[pe-15]),te[pe-16]);var oe=this.h[0],re=this.h[1],ce=this.h[2],se=this.h[3],he=this.h[4],S=this.h[5],i=this.h[6],a=this.h[7];for(A(this.k.length===te.length),pe=0;pe<te.length;pe++){var f=h(a,w(he),P(he,S,i),this.k[pe],te[pe]),l=s(M(oe),d(oe,re,ce));a=i,i=S,S=he,he=s(se,f),se=ce,ce=re,re=oe,oe=s(f,l)}this.h[0]=s(this.h[0],oe),this.h[1]=s(this.h[1],re),this.h[2]=s(this.h[2],ce),this.h[3]=s(this.h[3],se),this.h[4]=s(this.h[4],he),this.h[5]=s(this.h[5],S),this.h[6]=s(this.h[6],i),this.h[7]=s(this.h[7],a)},Z.prototype._digest=function(K){return"hex"===K?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},8634:(Be,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),Be.exports=g,g.blockSize=1024,g.outSize=384,g.hmacStrength=192,g.padLength=128,g.prototype._digest=function(s){return"hex"===s?t.toHex32(this.h.slice(0,12),"big"):t.split32(this.h.slice(0,12),"big")}},39:(Be,Q,m)=>{"use strict";var t=m(9299),e=m(3800),g=m(2391),A=t.rotr64_hi,s=t.rotr64_lo,C=t.shr64_hi,h=t.shr64_lo,P=t.sum64,d=t.sum64_hi,M=t.sum64_lo,w=t.sum64_4_hi,I=t.sum64_4_lo,k=t.sum64_5_hi,O=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 W(){if(!(this instanceof W))return new W;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 K(f,l,y,E,D){var v=f&y^~f&D;return v<0&&(v+=4294967296),v}function q(f,l,y,E,D,v){var n=l&E^~l&v;return n<0&&(n+=4294967296),n}function te(f,l,y,E,D){var v=f&y^f&D^y&D;return v<0&&(v+=4294967296),v}function pe(f,l,y,E,D,v){var n=l&E^l&v^E&v;return n<0&&(n+=4294967296),n}function oe(f,l){var v=A(f,l,28)^A(l,f,2)^A(l,f,7);return v<0&&(v+=4294967296),v}function re(f,l){var v=s(f,l,28)^s(l,f,2)^s(l,f,7);return v<0&&(v+=4294967296),v}function ce(f,l){var v=A(f,l,14)^A(f,l,18)^A(l,f,9);return v<0&&(v+=4294967296),v}function se(f,l){var v=s(f,l,14)^s(f,l,18)^s(l,f,9);return v<0&&(v+=4294967296),v}function he(f,l){var v=A(f,l,1)^A(f,l,8)^C(f,l,7);return v<0&&(v+=4294967296),v}function S(f,l){var v=s(f,l,1)^s(f,l,8)^h(f,l,7);return v<0&&(v+=4294967296),v}function i(f,l){var v=A(f,l,19)^A(l,f,29)^C(f,l,6);return v<0&&(v+=4294967296),v}function a(f,l){var v=s(f,l,19)^s(l,f,29)^h(f,l,6);return v<0&&(v+=4294967296),v}t.inherits(W,U),Be.exports=W,W.blockSize=1024,W.outSize=512,W.hmacStrength=192,W.padLength=128,W.prototype._prepareBlock=function(l,y){for(var E=this.W,D=0;D<32;D++)E[D]=l[y+D];for(;D<E.length;D+=2){var v=i(E[D-4],E[D-3]),n=a(E[D-4],E[D-3]),b=E[D-14],V=E[D-13],z=he(E[D-30],E[D-29]),Y=S(E[D-30],E[D-29]),Te=E[D-32],$e=E[D-31];E[D]=w(v,n,b,V,z,Y,Te,$e),E[D+1]=I(v,n,b,V,z,Y,Te,$e)}},W.prototype._update=function(l,y){this._prepareBlock(l,y);var E=this.W,D=this.h[0],v=this.h[1],n=this.h[2],b=this.h[3],V=this.h[4],z=this.h[5],Y=this.h[6],Te=this.h[7],$e=this.h[8],Ve=this.h[9],We=this.h[10],Re=this.h[11],we=this.h[12],me=this.h[13],Ae=this.h[14],ee=this.h[15];g(this.k.length===E.length);for(var Ze=0;Ze<E.length;Ze+=2){var Oe=Ae,fe=ee,Se=ce($e,Ve),ge=se($e,Ve),xe=K($e,0,We,0,we),vt=q(0,Ve,0,Re,0,me),Ie=this.k[Ze],de=this.k[Ze+1],rt=E[Ze],je=E[Ze+1],lt=k(Oe,fe,Se,ge,xe,vt,Ie,de,rt,je),Nt=O(Oe,fe,Se,ge,xe,vt,Ie,de,rt,je);Oe=oe(D,v),fe=re(D,v),Se=te(D,0,n,0,V),ge=pe(0,v,0,b,0,z);var Ke=d(Oe,fe,Se,ge),at=M(Oe,fe,Se,ge);Ae=we,ee=me,we=We,me=Re,We=$e,Re=Ve,$e=d(Y,Te,lt,Nt),Ve=M(Te,Te,lt,Nt),Y=V,Te=z,V=n,z=b,n=D,b=v,D=d(lt,Nt,Ke,at),v=M(lt,Nt,Ke,at)}P(this.h,0,D,v),P(this.h,2,n,b),P(this.h,4,V,z),P(this.h,6,Y,Te),P(this.h,8,$e,Ve),P(this.h,10,We,Re),P(this.h,12,we,me),P(this.h,14,Ae,ee)},W.prototype._digest=function(l){return"hex"===l?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},3113:(Be,Q,m)=>{"use strict";var e=m(9299).rotr32;function A(w,I,k){return w&I^~w&k}function s(w,I,k){return w&I^w&k^I&k}function C(w,I,k){return w^I^k}Q.ft_1=function g(w,I,k,O){return 0===w?A(I,k,O):1===w||3===w?C(I,k,O):2===w?s(I,k,O):void 0},Q.ch32=A,Q.maj32=s,Q.p32=C,Q.s0_256=function h(w){return e(w,2)^e(w,13)^e(w,22)},Q.s1_256=function P(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:(Be,Q,m)=>{"use strict";var t=m(2391),e=m(3894);function g(a,f){return!(55296!=(64512&a.charCodeAt(f))||f<0||f+1>=a.length)&&56320==(64512&a.charCodeAt(f+1))}function C(a){return(a>>>24|a>>>8&65280|a<<8&16711680|(255&a)<<24)>>>0}function P(a){return 1===a.length?"0"+a:a}function d(a){return 7===a.length?"0"+a:6===a.length?"00"+a:5===a.length?"000"+a:4===a.length?"0000"+a:3===a.length?"00000"+a:2===a.length?"000000"+a:1===a.length?"0000000"+a:a}Q.inherits=e,Q.toArray=function A(a,f){if(Array.isArray(a))return a.slice();if(!a)return[];var l=[];if("string"==typeof a)if(f){if("hex"===f)for((a=a.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(a="0"+a),E=0;E<a.length;E+=2)l.push(parseInt(a[E]+a[E+1],16))}else for(var y=0,E=0;E<a.length;E++){var D=a.charCodeAt(E);D<128?l[y++]=D:D<2048?(l[y++]=D>>6|192,l[y++]=63&D|128):g(a,E)?(D=65536+((1023&D)<<10)+(1023&a.charCodeAt(++E)),l[y++]=D>>18|240,l[y++]=D>>12&63|128,l[y++]=D>>6&63|128,l[y++]=63&D|128):(l[y++]=D>>12|224,l[y++]=D>>6&63|128,l[y++]=63&D|128)}else for(E=0;E<a.length;E++)l[E]=0|a[E];return l},Q.toHex=function s(a){for(var f="",l=0;l<a.length;l++)f+=P(a[l].toString(16));return f},Q.htonl=C,Q.toHex32=function h(a,f){for(var l="",y=0;y<a.length;y++){var E=a[y];"little"===f&&(E=C(E)),l+=d(E.toString(16))}return l},Q.zero2=P,Q.zero8=d,Q.join32=function M(a,f,l,y){var E=l-f;t(E%4==0);for(var D=new Array(E/4),v=0,n=f;v<D.length;v++,n+=4)D[v]=("big"===y?a[n]<<24|a[n+1]<<16|a[n+2]<<8|a[n+3]:a[n+3]<<24|a[n+2]<<16|a[n+1]<<8|a[n])>>>0;return D},Q.split32=function w(a,f){for(var l=new Array(4*a.length),y=0,E=0;y<a.length;y++,E+=4){var D=a[y];"big"===f?(l[E]=D>>>24,l[E+1]=D>>>16&255,l[E+2]=D>>>8&255,l[E+3]=255&D):(l[E+3]=D>>>24,l[E+2]=D>>>16&255,l[E+1]=D>>>8&255,l[E]=255&D)}return l},Q.rotr32=function I(a,f){return a>>>f|a<<32-f},Q.rotl32=function k(a,f){return a<<f|a>>>32-f},Q.sum32=function O(a,f){return a+f>>>0},Q.sum32_3=function U(a,f,l){return a+f+l>>>0},Q.sum32_4=function Z(a,f,l,y){return a+f+l+y>>>0},Q.sum32_5=function W(a,f,l,y,E){return a+f+l+y+E>>>0},Q.sum64=function K(a,f,l,y){var v=y+a[f+1]>>>0;a[f]=(v<y?1:0)+l+a[f]>>>0,a[f+1]=v},Q.sum64_hi=function q(a,f,l,y){return(f+y>>>0<f?1:0)+a+l>>>0},Q.sum64_lo=function te(a,f,l,y){return f+y>>>0},Q.sum64_4_hi=function pe(a,f,l,y,E,D,v,n){var b=0,V=f;return b+=(V=V+y>>>0)<f?1:0,b+=(V=V+D>>>0)<D?1:0,a+l+E+v+(b+=(V=V+n>>>0)<n?1:0)>>>0},Q.sum64_4_lo=function oe(a,f,l,y,E,D,v,n){return f+y+D+n>>>0},Q.sum64_5_hi=function re(a,f,l,y,E,D,v,n,b,V){var z=0,Y=f;return z+=(Y=Y+y>>>0)<f?1:0,z+=(Y=Y+D>>>0)<D?1:0,z+=(Y=Y+n>>>0)<n?1:0,a+l+E+v+b+(z+=(Y=Y+V>>>0)<V?1:0)>>>0},Q.sum64_5_lo=function ce(a,f,l,y,E,D,v,n,b,V){return f+y+D+n+V>>>0},Q.rotr64_hi=function se(a,f,l){return(f<<32-l|a>>>l)>>>0},Q.rotr64_lo=function he(a,f,l){return(a<<32-l|f>>>l)>>>0},Q.shr64_hi=function S(a,f,l){return a>>>l},Q.shr64_lo=function i(a,f,l){return(a<<32-l|f>>>l)>>>0}},2438:(Be,Q,m)=>{"use strict";var t=m(7084),e=m(8195),g=m(2391);function A(s){if(!(this instanceof A))return new A(s);this.hash=s.hash,this.predResist=!!s.predResist,this.outLen=this.hash.outSize,this.minEntropy=s.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var C=e.toArray(s.entropy,s.entropyEnc||"hex"),h=e.toArray(s.nonce,s.nonceEnc||"hex"),P=e.toArray(s.pers,s.persEnc||"hex");g(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(C,h,P)}Be.exports=A,A.prototype._init=function(C,h,P){var d=C.concat(h).concat(P);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 h=this._hmac().update(this.V).update([0]);C&&(h=h.update(C)),this.K=h.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,h,P,d){"string"!=typeof h&&(d=P,P=h,h=null),C=e.toArray(C,h),P=e.toArray(P,d),g(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(C.concat(P||[])),this._reseed=1},A.prototype.generate=function(C,h,P,d){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof h&&(d=P,P=h,h=null),P&&(P=e.toArray(P,d||"hex"),this._update(P));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(P),this._reseed++,e.encode(w,h)}},8461:(Be,Q)=>{Q.read=function(m,t,e,g,A){var s,C,h=8*A-g-1,P=(1<<h)-1,d=P>>1,M=-7,w=e?A-1:0,I=e?-1:1,k=m[t+w];for(w+=I,s=k&(1<<-M)-1,k>>=-M,M+=h;M>0;s=256*s+m[t+w],w+=I,M-=8);for(C=s&(1<<-M)-1,s>>=-M,M+=g;M>0;C=256*C+m[t+w],w+=I,M-=8);if(0===s)s=1-d;else{if(s===P)return C?NaN:1/0*(k?-1:1);C+=Math.pow(2,g),s-=d}return(k?-1:1)*C*Math.pow(2,s-g)},Q.write=function(m,t,e,g,A,s){var C,h,P,d=8*s-A-1,M=(1<<d)-1,w=M>>1,I=23===A?Math.pow(2,-24)-Math.pow(2,-77):0,k=g?0:s-1,O=g?1:-1,U=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(h=isNaN(t)?1:0,C=M):(C=Math.floor(Math.log(t)/Math.LN2),t*(P=Math.pow(2,-C))<1&&(C--,P*=2),(t+=C+w>=1?I/P:I*Math.pow(2,1-w))*P>=2&&(C++,P/=2),C+w>=M?(h=0,C=M):C+w>=1?(h=(t*P-1)*Math.pow(2,A),C+=w):(h=t*Math.pow(2,w-1)*Math.pow(2,A),C=0));A>=8;m[e+k]=255&h,k+=O,h/=256,A-=8);for(C=C<<A|h,d+=A;d>0;m[e+k]=255&C,k+=O,C/=256,d-=8);m[e+k-O]|=128*U}},3894:Be=>{Be.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:(Be,Q,m)=>{"use strict";var t=m(3894),e=m(9650),g=m(3502).Buffer,A=new Array(16);function s(){e.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function C(w,I){return w<<I|w>>>32-I}function h(w,I,k,O,U,Z,W){return C(w+(I&k|~I&O)+U+Z|0,W)+I|0}function P(w,I,k,O,U,Z,W){return C(w+(I&O|k&~O)+U+Z|0,W)+I|0}function d(w,I,k,O,U,Z,W){return C(w+(I^k^O)+U+Z|0,W)+I|0}function M(w,I,k,O,U,Z,W){return C(w+(k^(I|~O))+U+Z|0,W)+I|0}t(s,e),s.prototype._update=function(){for(var w=A,I=0;I<16;++I)w[I]=this._block.readInt32LE(4*I);var k=this._a,O=this._b,U=this._c,Z=this._d;k=h(k,O,U,Z,w[0],3614090360,7),Z=h(Z,k,O,U,w[1],3905402710,12),U=h(U,Z,k,O,w[2],606105819,17),O=h(O,U,Z,k,w[3],3250441966,22),k=h(k,O,U,Z,w[4],4118548399,7),Z=h(Z,k,O,U,w[5],1200080426,12),U=h(U,Z,k,O,w[6],2821735955,17),O=h(O,U,Z,k,w[7],4249261313,22),k=h(k,O,U,Z,w[8],1770035416,7),Z=h(Z,k,O,U,w[9],2336552879,12),U=h(U,Z,k,O,w[10],4294925233,17),O=h(O,U,Z,k,w[11],2304563134,22),k=h(k,O,U,Z,w[12],1804603682,7),Z=h(Z,k,O,U,w[13],4254626195,12),U=h(U,Z,k,O,w[14],2792965006,17),k=P(k,O=h(O,U,Z,k,w[15],1236535329,22),U,Z,w[1],4129170786,5),Z=P(Z,k,O,U,w[6],3225465664,9),U=P(U,Z,k,O,w[11],643717713,14),O=P(O,U,Z,k,w[0],3921069994,20),k=P(k,O,U,Z,w[5],3593408605,5),Z=P(Z,k,O,U,w[10],38016083,9),U=P(U,Z,k,O,w[15],3634488961,14),O=P(O,U,Z,k,w[4],3889429448,20),k=P(k,O,U,Z,w[9],568446438,5),Z=P(Z,k,O,U,w[14],3275163606,9),U=P(U,Z,k,O,w[3],4107603335,14),O=P(O,U,Z,k,w[8],1163531501,20),k=P(k,O,U,Z,w[13],2850285829,5),Z=P(Z,k,O,U,w[2],4243563512,9),U=P(U,Z,k,O,w[7],1735328473,14),k=d(k,O=P(O,U,Z,k,w[12],2368359562,20),U,Z,w[5],4294588738,4),Z=d(Z,k,O,U,w[8],2272392833,11),U=d(U,Z,k,O,w[11],1839030562,16),O=d(O,U,Z,k,w[14],4259657740,23),k=d(k,O,U,Z,w[1],2763975236,4),Z=d(Z,k,O,U,w[4],1272893353,11),U=d(U,Z,k,O,w[7],4139469664,16),O=d(O,U,Z,k,w[10],3200236656,23),k=d(k,O,U,Z,w[13],681279174,4),Z=d(Z,k,O,U,w[0],3936430074,11),U=d(U,Z,k,O,w[3],3572445317,16),O=d(O,U,Z,k,w[6],76029189,23),k=d(k,O,U,Z,w[9],3654602809,4),Z=d(Z,k,O,U,w[12],3873151461,11),U=d(U,Z,k,O,w[15],530742520,16),k=M(k,O=d(O,U,Z,k,w[2],3299628645,23),U,Z,w[0],4096336452,6),Z=M(Z,k,O,U,w[7],1126891415,10),U=M(U,Z,k,O,w[14],2878612391,15),O=M(O,U,Z,k,w[5],4237533241,21),k=M(k,O,U,Z,w[12],1700485571,6),Z=M(Z,k,O,U,w[3],2399980690,10),U=M(U,Z,k,O,w[10],4293915773,15),O=M(O,U,Z,k,w[1],2240044497,21),k=M(k,O,U,Z,w[8],1873313359,6),Z=M(Z,k,O,U,w[15],4264355552,10),U=M(U,Z,k,O,w[6],2734768916,15),O=M(O,U,Z,k,w[13],1309151649,21),k=M(k,O,U,Z,w[4],4149444226,6),Z=M(Z,k,O,U,w[11],3174756917,10),U=M(U,Z,k,O,w[2],718787259,15),O=M(O,U,Z,k,w[9],3951481745,21),this._a=this._a+k|0,this._b=this._b+O|0,this._c=this._c+U|0,this._d=this._d+Z|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var 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},Be.exports=s},7079:(Be,Q,m)=>{var t=m(1378),e=m(7950);function g(A){this.rand=A||new e.Rand}Be.exports=g,g.create=function(s){return new g(s)},g.prototype._randbelow=function(s){var C=s.bitLength(),h=Math.ceil(C/8);do{var P=new t(this.rand.generate(h))}while(P.cmp(s)>=0);return P},g.prototype._randrange=function(s,C){var h=C.sub(s);return s.add(this._randbelow(h))},g.prototype.test=function(s,C,h){var P=s.bitLength(),d=t.mont(s),M=new t(1).toRed(d);C||(C=Math.max(1,P/48|0));for(var w=s.subn(1),I=0;!w.testn(I);I++);for(var k=s.shrn(I),O=w.toRed(d);C>0;C--){var Z=this._randrange(new t(2),w);h&&h(Z);var W=Z.toRed(d).redPow(k);if(0!==W.cmp(M)&&0!==W.cmp(O)){for(var K=1;K<I;K++){if(0===(W=W.redSqr()).cmp(M))return!1;if(0===W.cmp(O))break}if(K===I)return!1}}return!0},g.prototype.getDivisor=function(s,C){var h=s.bitLength(),P=t.mont(s),d=new t(1).toRed(P);C||(C=Math.max(1,h/48|0));for(var M=s.subn(1),w=0;!M.testn(w);w++);for(var I=s.shrn(w),k=M.toRed(P);C>0;C--){var O=this._randrange(new t(2),M),U=s.gcd(O);if(0!==U.cmpn(1))return U;var Z=O.toRed(P).redPow(I);if(0!==Z.cmp(d)&&0!==Z.cmp(k)){for(var W=1;W<w;W++){if(0===(Z=Z.redSqr()).cmp(d))return Z.fromRed().subn(1).gcd(s);if(0===Z.cmp(k))break}if(W===w)return(Z=Z.redSqr()).fromRed().subn(1).gcd(s)}}return!1}},1378:function(Be,Q,m){!function(t,e){"use strict";function g(S,i){if(!S)throw new Error(i||"Assertion failed")}function A(S,i){S.super_=i;var a=function(){};a.prototype=i.prototype,S.prototype=new a,S.prototype.constructor=S}function s(S,i,a){if(s.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===i||"be"===i)&&(a=i,i=10),this._init(S||0,i||10,a||"be"))}var C;"object"==typeof t?t.exports=s:e.BN=s,s.BN=s,s.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(6619).Buffer}catch{}function h(S,i){var a=S.charCodeAt(i);return a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:a-48&15}function P(S,i,a){var f=h(S,a);return a-1>=i&&(f|=h(S,a-1)<<4),f}function d(S,i,a,f){for(var l=0,y=Math.min(S.length,a),E=i;E<y;E++){var D=S.charCodeAt(E)-48;l*=f,l+=D>=49?D-49+10:D>=17?D-17+10:D}return l}s.isBN=function(i){return i instanceof s||null!==i&&"object"==typeof i&&i.constructor.wordSize===s.wordSize&&Array.isArray(i.words)},s.max=function(i,a){return i.cmp(a)>0?i:a},s.min=function(i,a){return i.cmp(a)<0?i:a},s.prototype._init=function(i,a,f){if("number"==typeof i)return this._initNumber(i,a,f);if("object"==typeof i)return this._initArray(i,a,f);"hex"===a&&(a=16),g(a===(0|a)&&a>=2&&a<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===a?this._parseHex(i,l,f):(this._parseBase(i,a,l),"le"===f&&this._initArray(this.toArray(),a,f)))},s.prototype._initNumber=function(i,a,f){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"===f&&this._initArray(this.toArray(),a,f)},s.prototype._initArray=function(i,a,f){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 l=0;l<this.length;l++)this.words[l]=0;var y,E,D=0;if("be"===f)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(E=i[l]|i[l-1]<<8|i[l-2]<<16)<<D&67108863,this.words[y+1]=E>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);else if("le"===f)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(E=i[l]|i[l+1]<<8|i[l+2]<<16)<<D&67108863,this.words[y+1]=E>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);return this.strip()},s.prototype._parseHex=function(i,a,f){this.length=Math.ceil((i.length-a)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var D,y=0,E=0;if("be"===f)for(l=i.length-1;l>=a;l-=2)D=P(i,a,l)<<y,this.words[E]|=67108863&D,y>=18?(y-=18,this.words[E+=1]|=D>>>26):y+=8;else for(l=(i.length-a)%2==0?a+1:a;l<i.length;l+=2)D=P(i,a,l)<<y,this.words[E]|=67108863&D,y>=18?(y-=18,this.words[E+=1]|=D>>>26):y+=8;this.strip()},s.prototype._parseBase=function(i,a,f){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=a)l++;l--,y=y/a|0;for(var E=i.length-f,D=E%l,v=Math.min(E,E-D)+f,n=0,b=f;b<v;b+=l)n=d(i,b,b+l,a),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==D){var V=1;for(n=d(i,b,i.length,a),b=0;b<D;b++)V*=a;this.imuln(V),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},s.prototype.copy=function(i){i.words=new Array(this.length);for(var a=0;a<this.length;a++)i.words[a]=this.words[a];i.length=this.length,i.negative=this.negative,i.red=this.red},s.prototype.clone=function(){var i=new s(null);return this.copy(i),i},s.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.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],I=[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 O(S,i,a){a.negative=i.negative^S.negative;var f=S.length+i.length|0;a.length=f,f=f-1|0;var l=0|S.words[0],y=0|i.words[0],E=l*y,v=E/67108864|0;a.words[0]=67108863&E;for(var n=1;n<f;n++){for(var b=v>>>26,V=67108863&v,z=Math.min(n,i.length-1),Y=Math.max(0,n-S.length+1);Y<=z;Y++)b+=(E=(l=0|S.words[n-Y|0])*(y=0|i.words[Y])+V)/67108864|0,V=67108863&E;a.words[n]=0|V,v=0|b}return 0!==v?a.words[n]=0|v:a.length--,a.strip()}s.prototype.toString=function(i,a){var f;if(a=0|a||1,16===(i=i||10)||"hex"===i){f="";for(var l=0,y=0,E=0;E<this.length;E++){var D=this.words[E],v=(16777215&(D<<l|y)).toString(16);f=0!=(y=D>>>24-l&16777215)||E!==this.length-1?M[6-v.length]+v+f:v+f,(l+=2)>=26&&(l-=26,E--)}for(0!==y&&(f=y.toString(16)+f);f.length%a!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=I[i];f="";var V=this.clone();for(V.negative=0;!V.isZero();){var z=V.modn(b).toString(i);f=(V=V.idivn(b)).isZero()?z+f:M[n-z.length]+z+f}for(this.isZero()&&(f="0"+f);f.length%a!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}g(!1,"Base should be between 2 and 36")},s.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},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(i,a){return g(typeof C<"u"),this.toArrayLike(C,i,a)},s.prototype.toArray=function(i,a){return this.toArrayLike(Array,i,a)},s.prototype.toArrayLike=function(i,a,f){var l=this.byteLength(),y=f||Math.max(1,l);g(l<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var v,n,E="le"===a,D=new i(y),b=this.clone();if(E){for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),D[n]=v;for(;n<y;n++)D[n]=0}else{for(n=0;n<y-l;n++)D[n]=0;for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),D[y-n-1]=v}return D},s.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var a=i,f=0;return a>=4096&&(f+=13,a>>>=13),a>=64&&(f+=7,a>>>=7),a>=8&&(f+=4,a>>>=4),a>=2&&(f+=2,a>>>=2),f+a},s.prototype._zeroBits=function(i){if(0===i)return 26;var a=i,f=0;return 8191&a||(f+=13,a>>>=13),127&a||(f+=7,a>>>=7),15&a||(f+=4,a>>>=4),3&a||(f+=2,a>>>=2),1&a||f++,f},s.prototype.bitLength=function(){var a=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+a},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,a=0;a<this.length;a++){var f=this._zeroBits(this.words[a]);if(i+=f,26!==f)break}return i},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},s.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var a=0;a<i.length;a++)this.words[a]=this.words[a]|i.words[a];return this.strip()},s.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},s.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},s.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},s.prototype.iuand=function(i){var a;a=this.length>i.length?i:this;for(var f=0;f<a.length;f++)this.words[f]=this.words[f]&i.words[f];return this.length=a.length,this.strip()},s.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},s.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},s.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},s.prototype.iuxor=function(i){var a,f;this.length>i.length?(a=this,f=i):(a=i,f=this);for(var l=0;l<f.length;l++)this.words[l]=a.words[l]^f.words[l];if(this!==a)for(;l<a.length;l++)this.words[l]=a.words[l];return this.length=a.length,this.strip()},s.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},s.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},s.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},s.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var a=0|Math.ceil(i/26),f=i%26;this._expand(a),f>0&&a--;for(var l=0;l<a;l++)this.words[l]=67108863&~this.words[l];return f>0&&(this.words[l]=~this.words[l]&67108863>>26-f),this.strip()},s.prototype.notn=function(i){return this.clone().inotn(i)},s.prototype.setn=function(i,a){g("number"==typeof i&&i>=0);var f=i/26|0,l=i%26;return this._expand(f+1),this.words[f]=a?this.words[f]|1<<l:this.words[f]&~(1<<l),this.strip()},s.prototype.iadd=function(i){var a,f,l;if(0!==this.negative&&0===i.negative)return this.negative=0,a=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,a=this.isub(i),i.negative=1,a._normSign();this.length>i.length?(f=this,l=i):(f=i,l=this);for(var y=0,E=0;E<l.length;E++)this.words[E]=67108863&(a=(0|f.words[E])+(0|l.words[E])+y),y=a>>>26;for(;0!==y&&E<f.length;E++)this.words[E]=67108863&(a=(0|f.words[E])+y),y=a>>>26;if(this.length=f.length,0!==y)this.words[this.length]=y,this.length++;else if(f!==this)for(;E<f.length;E++)this.words[E]=f.words[E];return this},s.prototype.add=function(i){var a;return 0!==i.negative&&0===this.negative?(i.negative=0,a=this.sub(i),i.negative^=1,a):0===i.negative&&0!==this.negative?(this.negative=0,a=i.sub(this),this.negative=1,a):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},s.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var a=this.iadd(i);return i.negative=1,a._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,f=this.cmp(i);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(l=this,y=i):(l=i,y=this);for(var E=0,D=0;D<y.length;D++)E=(a=(0|l.words[D])-(0|y.words[D])+E)>>26,this.words[D]=67108863&a;for(;0!==E&&D<l.length;D++)E=(a=(0|l.words[D])+E)>>26,this.words[D]=67108863&a;if(0===E&&D<l.length&&l!==this)for(;D<l.length;D++)this.words[D]=l.words[D];return this.length=Math.max(this.length,D),l!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(i){return this.clone().isub(i)};var U=function(i,a,f){var v,n,b,l=i.words,y=a.words,E=f.words,D=0,V=0|l[0],z=8191&V,Y=V>>>13,Te=0|l[1],$e=8191&Te,Ve=Te>>>13,We=0|l[2],Re=8191&We,we=We>>>13,me=0|l[3],Ae=8191&me,ee=me>>>13,Ze=0|l[4],Oe=8191&Ze,fe=Ze>>>13,Se=0|l[5],ge=8191&Se,xe=Se>>>13,vt=0|l[6],Ie=8191&vt,de=vt>>>13,rt=0|l[7],je=8191&rt,lt=rt>>>13,Nt=0|l[8],Ke=8191&Nt,at=Nt>>>13,Ct=0|l[9],ye=8191&Ct,Qe=Ct>>>13,Le=0|y[0],J=8191&Le,mt=Le>>>13,St=0|y[1],nt=8191&St,Ye=St>>>13,zt=0|y[2],xt=8191&zt,Ht=zt>>>13,Ut=0|y[3],De=8191&Ut,X=Ut>>>13,ue=0|y[4],Ee=8191&ue,qe=ue>>>13,Xt=0|y[5],Vt=8191&Xt,ri=Xt>>>13,pt=0|y[6],ot=8191&pt,ut=pt>>>13,wt=0|y[7],ft=8191&wt,Xe=wt>>>13,gt=0|y[8],_t=8191&gt,Fe=gt>>>13,Mt=0|y[9],Et=8191&Mt,Yt=Mt>>>13;f.negative=i.negative^a.negative,f.length=19;var Fi=(D+(v=Math.imul(z,J))|0)+((8191&(n=(n=Math.imul(z,mt))+Math.imul(Y,J)|0))<<13)|0;D=((b=Math.imul(Y,mt))+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,v=Math.imul($e,J),n=(n=Math.imul($e,mt))+Math.imul(Ve,J)|0,b=Math.imul(Ve,mt);var Ri=(D+(v=v+Math.imul(z,nt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ye)|0)+Math.imul(Y,nt)|0))<<13)|0;D=((b=b+Math.imul(Y,Ye)|0)+(n>>>13)|0)+(Ri>>>26)|0,Ri&=67108863,v=Math.imul(Re,J),n=(n=Math.imul(Re,mt))+Math.imul(we,J)|0,b=Math.imul(we,mt),v=v+Math.imul($e,nt)|0,n=(n=n+Math.imul($e,Ye)|0)+Math.imul(Ve,nt)|0,b=b+Math.imul(Ve,Ye)|0;var Ci=(D+(v=v+Math.imul(z,xt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ht)|0)+Math.imul(Y,xt)|0))<<13)|0;D=((b=b+Math.imul(Y,Ht)|0)+(n>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,v=Math.imul(Ae,J),n=(n=Math.imul(Ae,mt))+Math.imul(ee,J)|0,b=Math.imul(ee,mt),v=v+Math.imul(Re,nt)|0,n=(n=n+Math.imul(Re,Ye)|0)+Math.imul(we,nt)|0,b=b+Math.imul(we,Ye)|0,v=v+Math.imul($e,xt)|0,n=(n=n+Math.imul($e,Ht)|0)+Math.imul(Ve,xt)|0,b=b+Math.imul(Ve,Ht)|0;var Bi=(D+(v=v+Math.imul(z,De)|0)|0)+((8191&(n=(n=n+Math.imul(z,X)|0)+Math.imul(Y,De)|0))<<13)|0;D=((b=b+Math.imul(Y,X)|0)+(n>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Oe,J),n=(n=Math.imul(Oe,mt))+Math.imul(fe,J)|0,b=Math.imul(fe,mt),v=v+Math.imul(Ae,nt)|0,n=(n=n+Math.imul(Ae,Ye)|0)+Math.imul(ee,nt)|0,b=b+Math.imul(ee,Ye)|0,v=v+Math.imul(Re,xt)|0,n=(n=n+Math.imul(Re,Ht)|0)+Math.imul(we,xt)|0,b=b+Math.imul(we,Ht)|0,v=v+Math.imul($e,De)|0,n=(n=n+Math.imul($e,X)|0)+Math.imul(Ve,De)|0,b=b+Math.imul(Ve,X)|0;var Je=(D+(v=v+Math.imul(z,Ee)|0)|0)+((8191&(n=(n=n+Math.imul(z,qe)|0)+Math.imul(Y,Ee)|0))<<13)|0;D=((b=b+Math.imul(Y,qe)|0)+(n>>>13)|0)+(Je>>>26)|0,Je&=67108863,v=Math.imul(ge,J),n=(n=Math.imul(ge,mt))+Math.imul(xe,J)|0,b=Math.imul(xe,mt),v=v+Math.imul(Oe,nt)|0,n=(n=n+Math.imul(Oe,Ye)|0)+Math.imul(fe,nt)|0,b=b+Math.imul(fe,Ye)|0,v=v+Math.imul(Ae,xt)|0,n=(n=n+Math.imul(Ae,Ht)|0)+Math.imul(ee,xt)|0,b=b+Math.imul(ee,Ht)|0,v=v+Math.imul(Re,De)|0,n=(n=n+Math.imul(Re,X)|0)+Math.imul(we,De)|0,b=b+Math.imul(we,X)|0,v=v+Math.imul($e,Ee)|0,n=(n=n+Math.imul($e,qe)|0)+Math.imul(Ve,Ee)|0,b=b+Math.imul(Ve,qe)|0;var Dt=(D+(v=v+Math.imul(z,Vt)|0)|0)+((8191&(n=(n=n+Math.imul(z,ri)|0)+Math.imul(Y,Vt)|0))<<13)|0;D=((b=b+Math.imul(Y,ri)|0)+(n>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Ie,J),n=(n=Math.imul(Ie,mt))+Math.imul(de,J)|0,b=Math.imul(de,mt),v=v+Math.imul(ge,nt)|0,n=(n=n+Math.imul(ge,Ye)|0)+Math.imul(xe,nt)|0,b=b+Math.imul(xe,Ye)|0,v=v+Math.imul(Oe,xt)|0,n=(n=n+Math.imul(Oe,Ht)|0)+Math.imul(fe,xt)|0,b=b+Math.imul(fe,Ht)|0,v=v+Math.imul(Ae,De)|0,n=(n=n+Math.imul(Ae,X)|0)+Math.imul(ee,De)|0,b=b+Math.imul(ee,X)|0,v=v+Math.imul(Re,Ee)|0,n=(n=n+Math.imul(Re,qe)|0)+Math.imul(we,Ee)|0,b=b+Math.imul(we,qe)|0,v=v+Math.imul($e,Vt)|0,n=(n=n+Math.imul($e,ri)|0)+Math.imul(Ve,Vt)|0,b=b+Math.imul(Ve,ri)|0;var be=(D+(v=v+Math.imul(z,ot)|0)|0)+((8191&(n=(n=n+Math.imul(z,ut)|0)+Math.imul(Y,ot)|0))<<13)|0;D=((b=b+Math.imul(Y,ut)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,v=Math.imul(je,J),n=(n=Math.imul(je,mt))+Math.imul(lt,J)|0,b=Math.imul(lt,mt),v=v+Math.imul(Ie,nt)|0,n=(n=n+Math.imul(Ie,Ye)|0)+Math.imul(de,nt)|0,b=b+Math.imul(de,Ye)|0,v=v+Math.imul(ge,xt)|0,n=(n=n+Math.imul(ge,Ht)|0)+Math.imul(xe,xt)|0,b=b+Math.imul(xe,Ht)|0,v=v+Math.imul(Oe,De)|0,n=(n=n+Math.imul(Oe,X)|0)+Math.imul(fe,De)|0,b=b+Math.imul(fe,X)|0,v=v+Math.imul(Ae,Ee)|0,n=(n=n+Math.imul(Ae,qe)|0)+Math.imul(ee,Ee)|0,b=b+Math.imul(ee,qe)|0,v=v+Math.imul(Re,Vt)|0,n=(n=n+Math.imul(Re,ri)|0)+Math.imul(we,Vt)|0,b=b+Math.imul(we,ri)|0,v=v+Math.imul($e,ot)|0,n=(n=n+Math.imul($e,ut)|0)+Math.imul(Ve,ot)|0,b=b+Math.imul(Ve,ut)|0;var Tt=(D+(v=v+Math.imul(z,ft)|0)|0)+((8191&(n=(n=n+Math.imul(z,Xe)|0)+Math.imul(Y,ft)|0))<<13)|0;D=((b=b+Math.imul(Y,Xe)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,v=Math.imul(Ke,J),n=(n=Math.imul(Ke,mt))+Math.imul(at,J)|0,b=Math.imul(at,mt),v=v+Math.imul(je,nt)|0,n=(n=n+Math.imul(je,Ye)|0)+Math.imul(lt,nt)|0,b=b+Math.imul(lt,Ye)|0,v=v+Math.imul(Ie,xt)|0,n=(n=n+Math.imul(Ie,Ht)|0)+Math.imul(de,xt)|0,b=b+Math.imul(de,Ht)|0,v=v+Math.imul(ge,De)|0,n=(n=n+Math.imul(ge,X)|0)+Math.imul(xe,De)|0,b=b+Math.imul(xe,X)|0,v=v+Math.imul(Oe,Ee)|0,n=(n=n+Math.imul(Oe,qe)|0)+Math.imul(fe,Ee)|0,b=b+Math.imul(fe,qe)|0,v=v+Math.imul(Ae,Vt)|0,n=(n=n+Math.imul(Ae,ri)|0)+Math.imul(ee,Vt)|0,b=b+Math.imul(ee,ri)|0,v=v+Math.imul(Re,ot)|0,n=(n=n+Math.imul(Re,ut)|0)+Math.imul(we,ot)|0,b=b+Math.imul(we,ut)|0,v=v+Math.imul($e,ft)|0,n=(n=n+Math.imul($e,Xe)|0)+Math.imul(Ve,ft)|0,b=b+Math.imul(Ve,Xe)|0;var Wt=(D+(v=v+Math.imul(z,_t)|0)|0)+((8191&(n=(n=n+Math.imul(z,Fe)|0)+Math.imul(Y,_t)|0))<<13)|0;D=((b=b+Math.imul(Y,Fe)|0)+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,v=Math.imul(ye,J),n=(n=Math.imul(ye,mt))+Math.imul(Qe,J)|0,b=Math.imul(Qe,mt),v=v+Math.imul(Ke,nt)|0,n=(n=n+Math.imul(Ke,Ye)|0)+Math.imul(at,nt)|0,b=b+Math.imul(at,Ye)|0,v=v+Math.imul(je,xt)|0,n=(n=n+Math.imul(je,Ht)|0)+Math.imul(lt,xt)|0,b=b+Math.imul(lt,Ht)|0,v=v+Math.imul(Ie,De)|0,n=(n=n+Math.imul(Ie,X)|0)+Math.imul(de,De)|0,b=b+Math.imul(de,X)|0,v=v+Math.imul(ge,Ee)|0,n=(n=n+Math.imul(ge,qe)|0)+Math.imul(xe,Ee)|0,b=b+Math.imul(xe,qe)|0,v=v+Math.imul(Oe,Vt)|0,n=(n=n+Math.imul(Oe,ri)|0)+Math.imul(fe,Vt)|0,b=b+Math.imul(fe,ri)|0,v=v+Math.imul(Ae,ot)|0,n=(n=n+Math.imul(Ae,ut)|0)+Math.imul(ee,ot)|0,b=b+Math.imul(ee,ut)|0,v=v+Math.imul(Re,ft)|0,n=(n=n+Math.imul(Re,Xe)|0)+Math.imul(we,ft)|0,b=b+Math.imul(we,Xe)|0,v=v+Math.imul($e,_t)|0,n=(n=n+Math.imul($e,Fe)|0)+Math.imul(Ve,_t)|0,b=b+Math.imul(Ve,Fe)|0;var ci=(D+(v=v+Math.imul(z,Et)|0)|0)+((8191&(n=(n=n+Math.imul(z,Yt)|0)+Math.imul(Y,Et)|0))<<13)|0;D=((b=b+Math.imul(Y,Yt)|0)+(n>>>13)|0)+(ci>>>26)|0,ci&=67108863,v=Math.imul(ye,nt),n=(n=Math.imul(ye,Ye))+Math.imul(Qe,nt)|0,b=Math.imul(Qe,Ye),v=v+Math.imul(Ke,xt)|0,n=(n=n+Math.imul(Ke,Ht)|0)+Math.imul(at,xt)|0,b=b+Math.imul(at,Ht)|0,v=v+Math.imul(je,De)|0,n=(n=n+Math.imul(je,X)|0)+Math.imul(lt,De)|0,b=b+Math.imul(lt,X)|0,v=v+Math.imul(Ie,Ee)|0,n=(n=n+Math.imul(Ie,qe)|0)+Math.imul(de,Ee)|0,b=b+Math.imul(de,qe)|0,v=v+Math.imul(ge,Vt)|0,n=(n=n+Math.imul(ge,ri)|0)+Math.imul(xe,Vt)|0,b=b+Math.imul(xe,ri)|0,v=v+Math.imul(Oe,ot)|0,n=(n=n+Math.imul(Oe,ut)|0)+Math.imul(fe,ot)|0,b=b+Math.imul(fe,ut)|0,v=v+Math.imul(Ae,ft)|0,n=(n=n+Math.imul(Ae,Xe)|0)+Math.imul(ee,ft)|0,b=b+Math.imul(ee,Xe)|0,v=v+Math.imul(Re,_t)|0,n=(n=n+Math.imul(Re,Fe)|0)+Math.imul(we,_t)|0,b=b+Math.imul(we,Fe)|0;var Ai=(D+(v=v+Math.imul($e,Et)|0)|0)+((8191&(n=(n=n+Math.imul($e,Yt)|0)+Math.imul(Ve,Et)|0))<<13)|0;D=((b=b+Math.imul(Ve,Yt)|0)+(n>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,v=Math.imul(ye,xt),n=(n=Math.imul(ye,Ht))+Math.imul(Qe,xt)|0,b=Math.imul(Qe,Ht),v=v+Math.imul(Ke,De)|0,n=(n=n+Math.imul(Ke,X)|0)+Math.imul(at,De)|0,b=b+Math.imul(at,X)|0,v=v+Math.imul(je,Ee)|0,n=(n=n+Math.imul(je,qe)|0)+Math.imul(lt,Ee)|0,b=b+Math.imul(lt,qe)|0,v=v+Math.imul(Ie,Vt)|0,n=(n=n+Math.imul(Ie,ri)|0)+Math.imul(de,Vt)|0,b=b+Math.imul(de,ri)|0,v=v+Math.imul(ge,ot)|0,n=(n=n+Math.imul(ge,ut)|0)+Math.imul(xe,ot)|0,b=b+Math.imul(xe,ut)|0,v=v+Math.imul(Oe,ft)|0,n=(n=n+Math.imul(Oe,Xe)|0)+Math.imul(fe,ft)|0,b=b+Math.imul(fe,Xe)|0,v=v+Math.imul(Ae,_t)|0,n=(n=n+Math.imul(Ae,Fe)|0)+Math.imul(ee,_t)|0,b=b+Math.imul(ee,Fe)|0;var ki=(D+(v=v+Math.imul(Re,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Re,Yt)|0)+Math.imul(we,Et)|0))<<13)|0;D=((b=b+Math.imul(we,Yt)|0)+(n>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(ye,De),n=(n=Math.imul(ye,X))+Math.imul(Qe,De)|0,b=Math.imul(Qe,X),v=v+Math.imul(Ke,Ee)|0,n=(n=n+Math.imul(Ke,qe)|0)+Math.imul(at,Ee)|0,b=b+Math.imul(at,qe)|0,v=v+Math.imul(je,Vt)|0,n=(n=n+Math.imul(je,ri)|0)+Math.imul(lt,Vt)|0,b=b+Math.imul(lt,ri)|0,v=v+Math.imul(Ie,ot)|0,n=(n=n+Math.imul(Ie,ut)|0)+Math.imul(de,ot)|0,b=b+Math.imul(de,ut)|0,v=v+Math.imul(ge,ft)|0,n=(n=n+Math.imul(ge,Xe)|0)+Math.imul(xe,ft)|0,b=b+Math.imul(xe,Xe)|0,v=v+Math.imul(Oe,_t)|0,n=(n=n+Math.imul(Oe,Fe)|0)+Math.imul(fe,_t)|0,b=b+Math.imul(fe,Fe)|0;var Yi=(D+(v=v+Math.imul(Ae,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Yt)|0)+Math.imul(ee,Et)|0))<<13)|0;D=((b=b+Math.imul(ee,Yt)|0)+(n>>>13)|0)+(Yi>>>26)|0,Yi&=67108863,v=Math.imul(ye,Ee),n=(n=Math.imul(ye,qe))+Math.imul(Qe,Ee)|0,b=Math.imul(Qe,qe),v=v+Math.imul(Ke,Vt)|0,n=(n=n+Math.imul(Ke,ri)|0)+Math.imul(at,Vt)|0,b=b+Math.imul(at,ri)|0,v=v+Math.imul(je,ot)|0,n=(n=n+Math.imul(je,ut)|0)+Math.imul(lt,ot)|0,b=b+Math.imul(lt,ut)|0,v=v+Math.imul(Ie,ft)|0,n=(n=n+Math.imul(Ie,Xe)|0)+Math.imul(de,ft)|0,b=b+Math.imul(de,Xe)|0,v=v+Math.imul(ge,_t)|0,n=(n=n+Math.imul(ge,Fe)|0)+Math.imul(xe,_t)|0,b=b+Math.imul(xe,Fe)|0;var ji=(D+(v=v+Math.imul(Oe,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Oe,Yt)|0)+Math.imul(fe,Et)|0))<<13)|0;D=((b=b+Math.imul(fe,Yt)|0)+(n>>>13)|0)+(ji>>>26)|0,ji&=67108863,v=Math.imul(ye,Vt),n=(n=Math.imul(ye,ri))+Math.imul(Qe,Vt)|0,b=Math.imul(Qe,ri),v=v+Math.imul(Ke,ot)|0,n=(n=n+Math.imul(Ke,ut)|0)+Math.imul(at,ot)|0,b=b+Math.imul(at,ut)|0,v=v+Math.imul(je,ft)|0,n=(n=n+Math.imul(je,Xe)|0)+Math.imul(lt,ft)|0,b=b+Math.imul(lt,Xe)|0,v=v+Math.imul(Ie,_t)|0,n=(n=n+Math.imul(Ie,Fe)|0)+Math.imul(de,_t)|0,b=b+Math.imul(de,Fe)|0;var tn=(D+(v=v+Math.imul(ge,Et)|0)|0)+((8191&(n=(n=n+Math.imul(ge,Yt)|0)+Math.imul(xe,Et)|0))<<13)|0;D=((b=b+Math.imul(xe,Yt)|0)+(n>>>13)|0)+(tn>>>26)|0,tn&=67108863,v=Math.imul(ye,ot),n=(n=Math.imul(ye,ut))+Math.imul(Qe,ot)|0,b=Math.imul(Qe,ut),v=v+Math.imul(Ke,ft)|0,n=(n=n+Math.imul(Ke,Xe)|0)+Math.imul(at,ft)|0,b=b+Math.imul(at,Xe)|0,v=v+Math.imul(je,_t)|0,n=(n=n+Math.imul(je,Fe)|0)+Math.imul(lt,_t)|0,b=b+Math.imul(lt,Fe)|0;var Zt=(D+(v=v+Math.imul(Ie,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Yt)|0)+Math.imul(de,Et)|0))<<13)|0;D=((b=b+Math.imul(de,Yt)|0)+(n>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v=Math.imul(ye,ft),n=(n=Math.imul(ye,Xe))+Math.imul(Qe,ft)|0,b=Math.imul(Qe,Xe),v=v+Math.imul(Ke,_t)|0,n=(n=n+Math.imul(Ke,Fe)|0)+Math.imul(at,_t)|0,b=b+Math.imul(at,Fe)|0;var Qt=(D+(v=v+Math.imul(je,Et)|0)|0)+((8191&(n=(n=n+Math.imul(je,Yt)|0)+Math.imul(lt,Et)|0))<<13)|0;D=((b=b+Math.imul(lt,Yt)|0)+(n>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v=Math.imul(ye,_t),n=(n=Math.imul(ye,Fe))+Math.imul(Qe,_t)|0,b=Math.imul(Qe,Fe);var _e=(D+(v=v+Math.imul(Ke,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ke,Yt)|0)+Math.imul(at,Et)|0))<<13)|0;D=((b=b+Math.imul(at,Yt)|0)+(n>>>13)|0)+(_e>>>26)|0,_e&=67108863;var ht=(D+(v=Math.imul(ye,Et))|0)+((8191&(n=(n=Math.imul(ye,Yt))+Math.imul(Qe,Et)|0))<<13)|0;return D=((b=Math.imul(Qe,Yt))+(n>>>13)|0)+(ht>>>26)|0,ht&=67108863,E[0]=Fi,E[1]=Ri,E[2]=Ci,E[3]=Bi,E[4]=Je,E[5]=Dt,E[6]=be,E[7]=Tt,E[8]=Wt,E[9]=ci,E[10]=Ai,E[11]=ki,E[12]=Yi,E[13]=ji,E[14]=tn,E[15]=Zt,E[16]=Qt,E[17]=_e,E[18]=ht,0!==D&&(E[19]=D,f.length++),f};function W(S,i,a){return(new K).mulp(S,i,a)}function K(S,i){this.x=S,this.y=i}Math.imul||(U=O),s.prototype.mulTo=function(i,a){var f,l=this.length+i.length;return f=10===this.length&&10===i.length?U(this,i,a):l<63?O(this,i,a):l<1024?function Z(S,i,a){a.negative=i.negative^S.negative,a.length=S.length+i.length;for(var f=0,l=0,y=0;y<a.length-1;y++){var E=l;l=0;for(var D=67108863&f,v=Math.min(y,i.length-1),n=Math.max(0,y-S.length+1);n<=v;n++){var Y=(0|S.words[y-n])*(0|i.words[n]),Te=67108863&Y;D=67108863&(Te=Te+D|0),l+=(E=(E=E+(Y/67108864|0)|0)+(Te>>>26)|0)>>>26,E&=67108863}a.words[y]=D,f=E,E=l}return 0!==f?a.words[y]=f:a.length--,a.strip()}(this,i,a):W(this,i,a),f},K.prototype.makeRBT=function(i){for(var a=new Array(i),f=s.prototype._countBits(i)-1,l=0;l<i;l++)a[l]=this.revBin(l,f,i);return a},K.prototype.revBin=function(i,a,f){if(0===i||i===f-1)return i;for(var l=0,y=0;y<a;y++)l|=(1&i)<<a-y-1,i>>=1;return l},K.prototype.permute=function(i,a,f,l,y,E){for(var D=0;D<E;D++)l[D]=a[i[D]],y[D]=f[i[D]]},K.prototype.transform=function(i,a,f,l,y,E){this.permute(E,i,a,f,l,y);for(var D=1;D<y;D<<=1)for(var v=D<<1,n=Math.cos(2*Math.PI/v),b=Math.sin(2*Math.PI/v),V=0;V<y;V+=v)for(var z=n,Y=b,Te=0;Te<D;Te++){var $e=f[V+Te],Ve=l[V+Te],We=f[V+Te+D],Re=l[V+Te+D],we=z*We-Y*Re;Re=z*Re+Y*We,f[V+Te]=$e+(We=we),l[V+Te]=Ve+Re,f[V+Te+D]=$e-We,l[V+Te+D]=Ve-Re,Te!==v&&(we=n*z-b*Y,Y=n*Y+b*z,z=we)}},K.prototype.guessLen13b=function(i,a){var f=1|Math.max(a,i),l=1&f,y=0;for(f=f/2|0;f;f>>>=1)y++;return 1<<y+1+l},K.prototype.conjugate=function(i,a,f){if(!(f<=1))for(var l=0;l<f/2;l++){var y=i[l];i[l]=i[f-l-1],i[f-l-1]=y,y=a[l],a[l]=-a[f-l-1],a[f-l-1]=-y}},K.prototype.normalize13b=function(i,a){for(var f=0,l=0;l<a/2;l++){var y=8192*Math.round(i[2*l+1]/a)+Math.round(i[2*l]/a)+f;i[l]=67108863&y,f=y<67108864?0:y/67108864|0}return i},K.prototype.convert13b=function(i,a,f,l){for(var y=0,E=0;E<a;E++)f[2*E]=8191&(y+=0|i[E]),f[2*E+1]=8191&(y>>>=13),y>>>=13;for(E=2*a;E<l;++E)f[E]=0;g(0===y),g(0==(-8192&y))},K.prototype.stub=function(i){for(var a=new Array(i),f=0;f<i;f++)a[f]=0;return a},K.prototype.mulp=function(i,a,f){var l=2*this.guessLen13b(i.length,a.length),y=this.makeRBT(l),E=this.stub(l),D=new Array(l),v=new Array(l),n=new Array(l),b=new Array(l),V=new Array(l),z=new Array(l),Y=f.words;Y.length=l,this.convert13b(i.words,i.length,D,l),this.convert13b(a.words,a.length,b,l),this.transform(D,E,v,n,l,y),this.transform(b,E,V,z,l,y);for(var Te=0;Te<l;Te++){var $e=v[Te]*V[Te]-n[Te]*z[Te];n[Te]=v[Te]*z[Te]+n[Te]*V[Te],v[Te]=$e}return this.conjugate(v,n,l),this.transform(v,n,Y,E,l,y),this.conjugate(Y,E,l),this.normalize13b(Y,l),f.negative=i.negative^a.negative,f.length=i.length+a.length,f.strip()},s.prototype.mul=function(i){var a=new s(null);return a.words=new Array(this.length+i.length),this.mulTo(i,a)},s.prototype.mulf=function(i){var a=new s(null);return a.words=new Array(this.length+i.length),W(this,i,a)},s.prototype.imul=function(i){return this.clone().mulTo(i,this)},s.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var a=0,f=0;f<this.length;f++){var l=(0|this.words[f])*i,y=(67108863&l)+(67108863&a);a>>=26,a+=l/67108864|0,a+=y>>>26,this.words[f]=67108863&y}return 0!==a&&(this.words[f]=a,this.length++),this},s.prototype.muln=function(i){return this.clone().imuln(i)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(i){var a=function k(S){for(var i=new Array(S.bitLength()),a=0;a<i.length;a++){var l=a%26;i[a]=(S.words[a/26|0]&1<<l)>>>l}return i}(i);if(0===a.length)return new s(1);for(var f=this,l=0;l<a.length&&0===a[l];l++,f=f.sqr());if(++l<a.length)for(var y=f.sqr();l<a.length;l++,y=y.sqr())0!==a[l]&&(f=f.mul(y));return f},s.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,a=i%26,f=(i-a)/26,l=67108863>>>26-a<<26-a;if(0!==a){var E=0;for(y=0;y<this.length;y++){var D=this.words[y]&l;this.words[y]=(0|this.words[y])-D<<a|E,E=D>>>26-a}E&&(this.words[y]=E,this.length++)}if(0!==f){for(y=this.length-1;y>=0;y--)this.words[y+f]=this.words[y];for(y=0;y<f;y++)this.words[y]=0;this.length+=f}return this.strip()},s.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},s.prototype.iushrn=function(i,a,f){var l;g("number"==typeof i&&i>=0),l=a?(a-a%26)/26:0;var y=i%26,E=Math.min((i-y)/26,this.length),D=67108863^67108863>>>y<<y,v=f;if(l-=E,l=Math.max(0,l),v){for(var n=0;n<E;n++)v.words[n]=this.words[n];v.length=E}if(0!==E)if(this.length>E)for(this.length-=E,n=0;n<this.length;n++)this.words[n]=this.words[n+E];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=l);n--){var V=0|this.words[n];this.words[n]=b<<26-y|V>>>y,b=V&D}return v&&0!==b&&(v.words[v.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(i,a,f){return g(0===this.negative),this.iushrn(i,a,f)},s.prototype.shln=function(i){return this.clone().ishln(i)},s.prototype.ushln=function(i){return this.clone().iushln(i)},s.prototype.shrn=function(i){return this.clone().ishrn(i)},s.prototype.ushrn=function(i){return this.clone().iushrn(i)},s.prototype.testn=function(i){g("number"==typeof i&&i>=0);var a=i%26,f=(i-a)/26;return!(this.length<=f||!(this.words[f]&1<<a))},s.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var a=i%26,f=(i-a)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==a&&f++,this.length=Math.min(f,this.length),0!==a&&(this.words[this.length-1]&=67108863^67108863>>>a<<a),this.strip())},s.prototype.maskn=function(i){return this.clone().imaskn(i)},s.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)},s.prototype._iaddn=function(i){this.words[0]+=i;for(var a=0;a<this.length&&this.words[a]>=67108864;a++)this.words[a]-=67108864,a===this.length-1?this.words[a+1]=1:this.words[a+1]++;return this.length=Math.max(this.length,a+1),this},s.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 a=0;a<this.length&&this.words[a]<0;a++)this.words[a]+=67108864,this.words[a+1]-=1;return this.strip()},s.prototype.addn=function(i){return this.clone().iaddn(i)},s.prototype.subn=function(i){return this.clone().isubn(i)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(i,a,f){var y;this._expand(i.length+f);var E,D=0;for(y=0;y<i.length;y++){E=(0|this.words[y+f])+D;var v=(0|i.words[y])*a;D=((E-=67108863&v)>>26)-(v/67108864|0),this.words[y+f]=67108863&E}for(;y<this.length-f;y++)D=(E=(0|this.words[y+f])+D)>>26,this.words[y+f]=67108863&E;if(0===D)return this.strip();for(g(-1===D),D=0,y=0;y<this.length;y++)D=(E=-(0|this.words[y])+D)>>26,this.words[y]=67108863&E;return this.negative=1,this.strip()},s.prototype._wordDiv=function(i,a){var f,l=this.clone(),y=i,E=0|y.words[y.length-1];0!=(f=26-this._countBits(E))&&(y=y.ushln(f),l.iushln(f),E=0|y.words[y.length-1]);var n,v=l.length-y.length;if("mod"!==a){(n=new s(null)).length=v+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var V=l.clone()._ishlnsubmul(y,1,v);0===V.negative&&(l=V,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var Y=67108864*(0|l.words[y.length+z])+(0|l.words[y.length+z-1]);for(Y=Math.min(Y/E|0,67108863),l._ishlnsubmul(y,Y,z);0!==l.negative;)Y--,l.negative=0,l._ishlnsubmul(y,1,z),l.isZero()||(l.negative^=1);n&&(n.words[z]=Y)}return n&&n.strip(),l.strip(),"div"!==a&&0!==f&&l.iushrn(f),{div:n||null,mod:l}},s.prototype.divmod=function(i,a,f){return g(!i.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===i.negative?(E=this.neg().divmod(i,a),"mod"!==a&&(l=E.div.neg()),"div"!==a&&(y=E.mod.neg(),f&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(E=this.divmod(i.neg(),a),"mod"!==a&&(l=E.div.neg()),{div:l,mod:E.mod}):this.negative&i.negative?(E=this.neg().divmod(i.neg(),a),"div"!==a&&(y=E.mod.neg(),f&&0!==y.negative&&y.isub(i)),{div:E.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new s(0),mod:this}:1===i.length?"div"===a?{div:this.divn(i.words[0]),mod:null}:"mod"===a?{div:null,mod:new s(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new s(this.modn(i.words[0]))}:this._wordDiv(i,a);var l,y,E},s.prototype.div=function(i){return this.divmod(i,"div",!1).div},s.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},s.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},s.prototype.divRound=function(i){var a=this.divmod(i);if(a.mod.isZero())return a.div;var f=0!==a.div.negative?a.mod.isub(i):a.mod,l=i.ushrn(1),y=i.andln(1),E=f.cmp(l);return E<0||1===y&&0===E?a.div:0!==a.div.negative?a.div.isubn(1):a.div.iaddn(1)},s.prototype.modn=function(i){g(i<=67108863);for(var a=(1<<26)%i,f=0,l=this.length-1;l>=0;l--)f=(a*f+(0|this.words[l]))%i;return f},s.prototype.idivn=function(i){g(i<=67108863);for(var a=0,f=this.length-1;f>=0;f--){var l=(0|this.words[f])+67108864*a;this.words[f]=l/i|0,a=l%i}return this.strip()},s.prototype.divn=function(i){return this.clone().idivn(i)},s.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var a=this,f=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),E=new s(0),D=new s(1),v=0;a.isEven()&&f.isEven();)a.iushrn(1),f.iushrn(1),++v;for(var n=f.clone(),b=a.clone();!a.isZero();){for(var V=0,z=1;!(a.words[0]&z)&&V<26;++V,z<<=1);if(V>0)for(a.iushrn(V);V-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(b)),l.iushrn(1),y.iushrn(1);for(var Y=0,Te=1;!(f.words[0]&Te)&&Y<26;++Y,Te<<=1);if(Y>0)for(f.iushrn(Y);Y-- >0;)(E.isOdd()||D.isOdd())&&(E.iadd(n),D.isub(b)),E.iushrn(1),D.iushrn(1);a.cmp(f)>=0?(a.isub(f),l.isub(E),y.isub(D)):(f.isub(a),E.isub(l),D.isub(y))}return{a:E,b:D,gcd:f.iushln(v)}},s.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var V,a=this,f=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),E=f.clone();a.cmpn(1)>0&&f.cmpn(1)>0;){for(var D=0,v=1;!(a.words[0]&v)&&D<26;++D,v<<=1);if(D>0)for(a.iushrn(D);D-- >0;)l.isOdd()&&l.iadd(E),l.iushrn(1);for(var n=0,b=1;!(f.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(f.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(E),y.iushrn(1);a.cmp(f)>=0?(a.isub(f),l.isub(y)):(f.isub(a),y.isub(l))}return(V=0===a.cmpn(1)?l:y).cmpn(0)<0&&V.iadd(i),V},s.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var a=this.clone(),f=i.clone();a.negative=0,f.negative=0;for(var l=0;a.isEven()&&f.isEven();l++)a.iushrn(1),f.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;f.isEven();)f.iushrn(1);var y=a.cmp(f);if(y<0){var E=a;a=f,f=E}else if(0===y||0===f.cmpn(1))break;a.isub(f)}return f.iushln(l)},s.prototype.invm=function(i){return this.egcd(i).a.umod(i)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(i){return this.words[0]&i},s.prototype.bincn=function(i){g("number"==typeof i);var a=i%26,f=(i-a)/26,l=1<<a;if(this.length<=f)return this._expand(f+1),this.words[f]|=l,this;for(var y=l,E=f;0!==y&&E<this.length;E++){var D=0|this.words[E];y=(D+=y)>>>26,this.words[E]=D&=67108863}return 0!==y&&(this.words[E]=y,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(i){var f,a=i<0;if(0!==this.negative&&!a)return-1;if(0===this.negative&&a)return 1;if(this.strip(),this.length>1)f=1;else{a&&(i=-i),g(i<=67108863,"Number is too big");var l=0|this.words[0];f=l===i?0:l<i?-1:1}return 0!==this.negative?0|-f:f},s.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var a=this.ucmp(i);return 0!==this.negative?0|-a:a},s.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var a=0,f=this.length-1;f>=0;f--){var l=0|this.words[f],y=0|i.words[f];if(l!==y){l<y?a=-1:l>y&&(a=1);break}}return a},s.prototype.gtn=function(i){return 1===this.cmpn(i)},s.prototype.gt=function(i){return 1===this.cmp(i)},s.prototype.gten=function(i){return this.cmpn(i)>=0},s.prototype.gte=function(i){return this.cmp(i)>=0},s.prototype.ltn=function(i){return-1===this.cmpn(i)},s.prototype.lt=function(i){return-1===this.cmp(i)},s.prototype.lten=function(i){return this.cmpn(i)<=0},s.prototype.lte=function(i){return this.cmp(i)<=0},s.prototype.eqn=function(i){return 0===this.cmpn(i)},s.prototype.eq=function(i){return 0===this.cmp(i)},s.red=function(i){return new se(i)},s.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)},s.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(i){return this.red=i,this},s.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},s.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},s.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},s.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},s.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},s.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},s.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},s.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},s.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var q={k256:null,p224:null,p192:null,p25519:null};function te(S,i){this.name=S,this.p=new s(i,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function pe(){te.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function oe(){te.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function re(){te.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){te.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(S){if("string"==typeof S){var i=s._prime(S);this.m=i.p,this.prime=i}else g(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){se.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(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)}te.prototype._tmp=function(){var i=new s(null);return i.words=new Array(Math.ceil(this.n/13)),i},te.prototype.ireduce=function(i){var f,a=i;do{this.split(a,this.tmp),f=(a=(a=this.imulK(a)).iadd(this.tmp)).bitLength()}while(f>this.n);var l=f<this.n?-1:a.ucmp(this.p);return 0===l?(a.words[0]=0,a.length=1):l>0?a.isub(this.p):void 0!==a.strip?a.strip():a._strip(),a},te.prototype.split=function(i,a){i.iushrn(this.n,0,a)},te.prototype.imulK=function(i){return i.imul(this.k)},A(pe,te),pe.prototype.split=function(i,a){for(var f=4194303,l=Math.min(i.length,9),y=0;y<l;y++)a.words[y]=i.words[y];if(a.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var E=i.words[9];for(a.words[a.length++]=E&f,y=10;y<i.length;y++){var D=0|i.words[y];i.words[y-10]=(D&f)<<4|E>>>22,E=D}i.words[y-10]=E>>>=22,i.length-=0===E&&i.length>10?10:9},pe.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var a=0,f=0;f<i.length;f++){var l=0|i.words[f];i.words[f]=67108863&(a+=977*l),a=64*l+(a/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},A(oe,te),A(re,te),A(ce,te),ce.prototype.imulK=function(i){for(var a=0,f=0;f<i.length;f++){var l=19*(0|i.words[f])+a,y=67108863&l;l>>>=26,i.words[f]=y,a=l}return 0!==a&&(i.words[i.length++]=a),i},s._prime=function(i){if(q[i])return q[i];var a;if("k256"===i)a=new pe;else if("p224"===i)a=new oe;else if("p192"===i)a=new re;else{if("p25519"!==i)throw new Error("Unknown prime "+i);a=new ce}return q[i]=a,a},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,a){g(0==(i.negative|a.negative),"red works only with positives"),g(i.red&&i.red===a.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,a){this._verify2(i,a);var f=i.add(a);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},se.prototype.iadd=function(i,a){this._verify2(i,a);var f=i.iadd(a);return f.cmp(this.m)>=0&&f.isub(this.m),f},se.prototype.sub=function(i,a){this._verify2(i,a);var f=i.sub(a);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},se.prototype.isub=function(i,a){this._verify2(i,a);var f=i.isub(a);return f.cmpn(0)<0&&f.iadd(this.m),f},se.prototype.shl=function(i,a){return this._verify1(i),this.imod(i.ushln(a))},se.prototype.imul=function(i,a){return this._verify2(i,a),this.imod(i.imul(a))},se.prototype.mul=function(i,a){return this._verify2(i,a),this.imod(i.mul(a))},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 a=this.m.andln(3);if(g(a%2==1),3===a){var f=this.m.add(new s(1)).iushrn(2);return this.pow(i,f)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);g(!l.isZero());var E=new s(1).toRed(this),D=E.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new s(2*n*n).toRed(this);0!==this.pow(n,v).cmp(D);)n.redIAdd(D);for(var b=this.pow(n,l),V=this.pow(i,l.addn(1).iushrn(1)),z=this.pow(i,l),Y=y;0!==z.cmp(E);){for(var Te=z,$e=0;0!==Te.cmp(E);$e++)Te=Te.redSqr();g($e<Y);var Ve=this.pow(b,new s(1).iushln(Y-$e-1));V=V.redMul(Ve),b=Ve.redSqr(),z=z.redMul(b),Y=$e}return V},se.prototype.invm=function(i){var a=i._invmp(this.m);return 0!==a.negative?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},se.prototype.pow=function(i,a){if(a.isZero())return new s(1).toRed(this);if(0===a.cmpn(1))return i.clone();var l=new Array(16);l[0]=new s(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var E=l[0],D=0,v=0,n=a.bitLength()%26;for(0===n&&(n=26),y=a.length-1;y>=0;y--){for(var b=a.words[y],V=n-1;V>=0;V--){var z=b>>V&1;E!==l[0]&&(E=this.sqr(E)),0!==z||0!==D?(D<<=1,D|=z,(4==++v||0===y&&0===V)&&(E=this.mul(E,l[D]),v=0,D=0)):v=0}n=26}return E},se.prototype.convertTo=function(i){var a=i.umod(this.m);return a===i?a.clone():a},se.prototype.convertFrom=function(i){var a=i.clone();return a.red=null,a},s.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 a=this.imod(i.mul(this.rinv));return a.red=null,a},he.prototype.imul=function(i,a){if(i.isZero()||a.isZero())return i.words[0]=0,i.length=1,i;var f=i.imul(a),l=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=f.isub(l).iushrn(this.shift),E=y;return y.cmp(this.m)>=0?E=y.isub(this.m):y.cmpn(0)<0&&(E=y.iadd(this.m)),E._forceRed(this)},he.prototype.mul=function(i,a){if(i.isZero()||a.isZero())return new s(0)._forceRed(this);var f=i.mul(a),l=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=f.isub(l).iushrn(this.shift),E=y;return y.cmp(this.m)>=0?E=y.isub(this.m):y.cmpn(0)<0&&(E=y.iadd(this.m)),E._forceRed(this)},he.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Be=m.nmd(Be),this)},2391:Be=>{function Q(m,t){if(!m)throw new Error(t||"Assertion failed")}Be.exports=Q,Q.equal=function(t,e,g){if(t!=e)throw new Error(g||"Assertion failed: "+t+" != "+e)}},8195:(Be,Q)=>{"use strict";var m=Q;function e(A){return 1===A.length?"0"+A:A}function g(A){for(var s="",C=0;C<A.length;C++)s+=e(A[C].toString(16));return s}m.toArray=function t(A,s){if(Array.isArray(A))return A.slice();if(!A)return[];var C=[];if("string"!=typeof A){for(var h=0;h<A.length;h++)C[h]=0|A[h];return C}if("hex"===s)for((A=A.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(A="0"+A),h=0;h<A.length;h+=2)C.push(parseInt(A[h]+A[h+1],16));else for(h=0;h<A.length;h++){var P=A.charCodeAt(h),d=P>>8,M=255&P;d?C.push(d,M):C.push(M)}return C},m.zero2=e,m.toHex=g,m.encode=function(s,C){return"hex"===C?g(s):s}},5768:(Be,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:(Be,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(s),this.key("subjectPublicKey").bitstr())});Q.PublicKey=A;var s=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(s),this.key("subjectPrivateKey").octstr())});Q.PrivateKey=C;var h=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=h;var P=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=P,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:(Be,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())}),s=t.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(A),this.key("subjectPublicKey").bitstr())}),C=t.define("RelativeDistinguishedName",function(){this.setof(g)}),h=t.define("RDNSequence",function(){this.seqof(C)}),P=t.define("Name",function(){this.choice({rdnSequence:this.use(h)})}),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(P),this.key("validity").use(d),this.key("subject").use(P),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(M).optional())}),I=t.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(w),this.key("signatureAlgorithm").use(A),this.key("signatureValue").bitstr())});Be.exports=I},5269:(Be,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),s=m(4330),C=m(3502).Buffer;Be.exports=function(h,P){var w,d=h.toString(),M=d.match(t);if(M){var k="aes"+M[1],O=C.from(M[2],"hex"),U=C.from(M[3].replace(/[\r\n]/g,""),"base64"),Z=A(P,O.slice(0,8),parseInt(M[1],10)).key,W=[],K=s.createDecipheriv(k,Z,O);W.push(K.update(U)),W.push(K.final()),w=C.concat(W)}else{var I=d.match(g);w=C.from(I[2].replace(/[\r\n]/g,""),"base64")}return{tag:d.match(e)[1],data:w}}},2772:(Be,Q,m)=>{var t=m(2999),e=m(2562),g=m(5269),A=m(4330),s=m(9357),C=m(3502).Buffer;function h(d){var M;"object"==typeof d&&!C.isBuffer(d)&&(M=d.passphrase,d=d.key),"string"==typeof d&&(d=C.from(d));var O,U,w=g(d,M),I=w.tag,k=w.data;switch(I){case"CERTIFICATE":U=t.certificate.decode(k,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(U||(U=t.PublicKey.decode(k,"der")),O=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 "+O)}case"ENCRYPTED PRIVATE KEY":k=function P(d,M){var w=d.algorithm.decrypt.kde.kdeparams.salt,I=parseInt(d.algorithm.decrypt.kde.kdeparams.iters.toString(),10),k=e[d.algorithm.decrypt.cipher.algo.join(".")],O=d.algorithm.decrypt.cipher.iv,U=d.subjectPrivateKey,Z=parseInt(k.split("-")[1],10)/8,W=s.pbkdf2Sync(M,w,I,Z,"sha1"),K=A.createDecipheriv(k,W,O),q=[];return q.push(K.update(U)),q.push(K.final()),C.concat(q)}(k=t.EncryptedPrivateKey.decode(k,"der"),M);case"PRIVATE KEY":switch(O=(U=t.PrivateKey.decode(k,"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 "+O)}case"RSA PUBLIC KEY":return t.RSAPublicKey.decode(k,"der");case"RSA PRIVATE KEY":return t.RSAPrivateKey.decode(k,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:t.DSAPrivateKey.decode(k,"der")};case"EC PRIVATE KEY":return{curve:(k=t.ECPrivateKey.decode(k,"der")).parameters.value,privateKey:k.privateKey};default:throw new Error("unknown key type "+I)}}Be.exports=h,h.signature=t.signature},9357:(Be,Q,m)=>{Q.pbkdf2=m(415),Q.pbkdf2Sync=m(7472)},415:(Be,Q,m)=>{var C,w,t=m(3502).Buffer,e=m(2697),g=m(8867),A=m(7472),s=m(4566),h=global.crypto&&global.crypto.subtle,P={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 I(){return w||(w=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function k(U,Z,W,K,q){return h.importKey("raw",U,{name:"PBKDF2"},!1,["deriveBits"]).then(function(te){return h.deriveBits({name:"PBKDF2",salt:Z,iterations:W,hash:{name:q}},te,K<<3)}).then(function(te){return t.from(te)})}Be.exports=function(U,Z,W,K,q,te){"function"==typeof q&&(te=q,q=void 0);var pe=P[(q=q||"sha1").toLowerCase()];if(pe&&"function"==typeof global.Promise){if(e(W,K),U=s(U,g,"Password"),Z=s(Z,g,"Salt"),"function"!=typeof te)throw new Error("No callback provided to pbkdf2");!function O(U,Z){U.then(function(W){I()(function(){Z(null,W)})},function(W){I()(function(){Z(W)})})}(function M(U){if(global.process&&!global.process.browser||!h||!h.importKey||!h.deriveBits)return Promise.resolve(!1);if(void 0!==d[U])return d[U];var Z=k(C=C||t.alloc(8),C,10,128,U).then(function(){return!0}).catch(function(){return!1});return d[U]=Z,Z}(pe).then(function(oe){return oe?k(U,Z,W,K,pe):A(U,Z,W,K,q)}),te)}else I()(function(){var oe;try{oe=A(U,Z,W,K,q)}catch(re){return te(re)}te(null,oe)})}},8867:Be=>{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",Be.exports=Q},2697:Be=>{var Q=Math.pow(2,30)-1;Be.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:(Be,Q,m)=>{var t=m(5640),e=m(5634),g=m(5244),A=m(3502).Buffer,s=m(2697),C=m(8867),h=m(4566),P=A.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function M(k,O,U){var Z=function w(k){return"rmd160"===k||"ripemd160"===k?function U(Z){return(new e).update(Z).digest()}:"md5"===k?t:function O(Z){return g(k).update(Z).digest()}}(k),W="sha512"===k||"sha384"===k?128:64;O.length>W?O=Z(O):O.length<W&&(O=A.concat([O,P],W));for(var K=A.allocUnsafe(W+d[k]),q=A.allocUnsafe(W+d[k]),te=0;te<W;te++)K[te]=54^O[te],q[te]=92^O[te];var pe=A.allocUnsafe(W+U+4);K.copy(pe,0,0,W),this.ipad1=pe,this.ipad2=K,this.opad=q,this.alg=k,this.blocksize=W,this.hash=Z,this.size=d[k]}M.prototype.run=function(k,O){return k.copy(O,this.blocksize),this.hash(O).copy(this.opad,this.blocksize),this.hash(this.opad)},Be.exports=function I(k,O,U,Z,W){s(U,Z);var K=new M(W=W||"sha1",k=h(k,C,"Password"),(O=h(O,C,"Salt")).length),q=A.allocUnsafe(Z),te=A.allocUnsafe(O.length+4);O.copy(te,0,0,O.length);for(var pe=0,oe=d[W],re=Math.ceil(Z/oe),ce=1;ce<=re;ce++){te.writeUInt32BE(ce,O.length);for(var se=K.run(te,K.ipad1),he=se,S=1;S<U;S++){he=K.run(he,K.ipad2);for(var i=0;i<oe;i++)se[i]^=he[i]}se.copy(q,pe),pe+=oe}return q}},4566:(Be,Q,m)=>{var t=m(3502).Buffer;Be.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:(Be,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:(Be,Q,m)=>{var t=m(6386),e=m(3502).Buffer;function g(A){var s=e.allocUnsafe(4);return s.writeUInt32BE(A,0),s}Be.exports=function(A,s){for(var P,C=e.alloc(0),h=0;C.length<s;)P=g(h++),C=e.concat([C,t("sha1").update(A).update(P).digest()]);return C.slice(0,s)}},2057:function(Be,Q,m){!function(t,e){"use strict";function g(S,i){if(!S)throw new Error(i||"Assertion failed")}function A(S,i){S.super_=i;var a=function(){};a.prototype=i.prototype,S.prototype=new a,S.prototype.constructor=S}function s(S,i,a){if(s.isBN(S))return S;this.negative=0,this.words=null,this.length=0,this.red=null,null!==S&&(("le"===i||"be"===i)&&(a=i,i=10),this._init(S||0,i||10,a||"be"))}var C;"object"==typeof t?t.exports=s:e.BN=s,s.BN=s,s.wordSize=26;try{C=typeof window<"u"&&typeof window.Buffer<"u"?window.Buffer:m(7108).Buffer}catch{}function h(S,i){var a=S.charCodeAt(i);return a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:a-48&15}function P(S,i,a){var f=h(S,a);return a-1>=i&&(f|=h(S,a-1)<<4),f}function d(S,i,a,f){for(var l=0,y=Math.min(S.length,a),E=i;E<y;E++){var D=S.charCodeAt(E)-48;l*=f,l+=D>=49?D-49+10:D>=17?D-17+10:D}return l}s.isBN=function(i){return i instanceof s||null!==i&&"object"==typeof i&&i.constructor.wordSize===s.wordSize&&Array.isArray(i.words)},s.max=function(i,a){return i.cmp(a)>0?i:a},s.min=function(i,a){return i.cmp(a)<0?i:a},s.prototype._init=function(i,a,f){if("number"==typeof i)return this._initNumber(i,a,f);if("object"==typeof i)return this._initArray(i,a,f);"hex"===a&&(a=16),g(a===(0|a)&&a>=2&&a<=36);var l=0;"-"===(i=i.toString().replace(/\s+/g,""))[0]&&(l++,this.negative=1),l<i.length&&(16===a?this._parseHex(i,l,f):(this._parseBase(i,a,l),"le"===f&&this._initArray(this.toArray(),a,f)))},s.prototype._initNumber=function(i,a,f){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"===f&&this._initArray(this.toArray(),a,f)},s.prototype._initArray=function(i,a,f){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 l=0;l<this.length;l++)this.words[l]=0;var y,E,D=0;if("be"===f)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(E=i[l]|i[l-1]<<8|i[l-2]<<16)<<D&67108863,this.words[y+1]=E>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);else if("le"===f)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(E=i[l]|i[l+1]<<8|i[l+2]<<16)<<D&67108863,this.words[y+1]=E>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);return this.strip()},s.prototype._parseHex=function(i,a,f){this.length=Math.ceil((i.length-a)/6),this.words=new Array(this.length);for(var l=0;l<this.length;l++)this.words[l]=0;var D,y=0,E=0;if("be"===f)for(l=i.length-1;l>=a;l-=2)D=P(i,a,l)<<y,this.words[E]|=67108863&D,y>=18?(y-=18,this.words[E+=1]|=D>>>26):y+=8;else for(l=(i.length-a)%2==0?a+1:a;l<i.length;l+=2)D=P(i,a,l)<<y,this.words[E]|=67108863&D,y>=18?(y-=18,this.words[E+=1]|=D>>>26):y+=8;this.strip()},s.prototype._parseBase=function(i,a,f){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=a)l++;l--,y=y/a|0;for(var E=i.length-f,D=E%l,v=Math.min(E,E-D)+f,n=0,b=f;b<v;b+=l)n=d(i,b,b+l,a),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==D){var V=1;for(n=d(i,b,i.length,a),b=0;b<D;b++)V*=a;this.imuln(V),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n)}this.strip()},s.prototype.copy=function(i){i.words=new Array(this.length);for(var a=0;a<this.length;a++)i.words[a]=this.words[a];i.length=this.length,i.negative=this.negative,i.red=this.red},s.prototype.clone=function(){var i=new s(null);return this.copy(i),i},s.prototype._expand=function(i){for(;this.length<i;)this.words[this.length++]=0;return this},s.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},s.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},s.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],I=[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 O(S,i,a){a.negative=i.negative^S.negative;var f=S.length+i.length|0;a.length=f,f=f-1|0;var l=0|S.words[0],y=0|i.words[0],E=l*y,v=E/67108864|0;a.words[0]=67108863&E;for(var n=1;n<f;n++){for(var b=v>>>26,V=67108863&v,z=Math.min(n,i.length-1),Y=Math.max(0,n-S.length+1);Y<=z;Y++)b+=(E=(l=0|S.words[n-Y|0])*(y=0|i.words[Y])+V)/67108864|0,V=67108863&E;a.words[n]=0|V,v=0|b}return 0!==v?a.words[n]=0|v:a.length--,a.strip()}s.prototype.toString=function(i,a){var f;if(a=0|a||1,16===(i=i||10)||"hex"===i){f="";for(var l=0,y=0,E=0;E<this.length;E++){var D=this.words[E],v=(16777215&(D<<l|y)).toString(16);f=0!=(y=D>>>24-l&16777215)||E!==this.length-1?M[6-v.length]+v+f:v+f,(l+=2)>=26&&(l-=26,E--)}for(0!==y&&(f=y.toString(16)+f);f.length%a!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],b=I[i];f="";var V=this.clone();for(V.negative=0;!V.isZero();){var z=V.modn(b).toString(i);f=(V=V.idivn(b)).isZero()?z+f:M[n-z.length]+z+f}for(this.isZero()&&(f="0"+f);f.length%a!=0;)f="0"+f;return 0!==this.negative&&(f="-"+f),f}g(!1,"Base should be between 2 and 36")},s.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},s.prototype.toJSON=function(){return this.toString(16)},s.prototype.toBuffer=function(i,a){return g(typeof C<"u"),this.toArrayLike(C,i,a)},s.prototype.toArray=function(i,a){return this.toArrayLike(Array,i,a)},s.prototype.toArrayLike=function(i,a,f){var l=this.byteLength(),y=f||Math.max(1,l);g(l<=y,"byte array longer than desired length"),g(y>0,"Requested array length <= 0"),this.strip();var v,n,E="le"===a,D=new i(y),b=this.clone();if(E){for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),D[n]=v;for(;n<y;n++)D[n]=0}else{for(n=0;n<y-l;n++)D[n]=0;for(n=0;!b.isZero();n++)v=b.andln(255),b.iushrn(8),D[y-n-1]=v}return D},s.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var a=i,f=0;return a>=4096&&(f+=13,a>>>=13),a>=64&&(f+=7,a>>>=7),a>=8&&(f+=4,a>>>=4),a>=2&&(f+=2,a>>>=2),f+a},s.prototype._zeroBits=function(i){if(0===i)return 26;var a=i,f=0;return 8191&a||(f+=13,a>>>=13),127&a||(f+=7,a>>>=7),15&a||(f+=4,a>>>=4),3&a||(f+=2,a>>>=2),1&a||f++,f},s.prototype.bitLength=function(){var a=this._countBits(this.words[this.length-1]);return 26*(this.length-1)+a},s.prototype.zeroBits=function(){if(this.isZero())return 0;for(var i=0,a=0;a<this.length;a++){var f=this._zeroBits(this.words[a]);if(i+=f,26!==f)break}return i},s.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},s.prototype.toTwos=function(i){return 0!==this.negative?this.abs().inotn(i).iaddn(1):this.clone()},s.prototype.fromTwos=function(i){return this.testn(i-1)?this.notn(i).iaddn(1).ineg():this.clone()},s.prototype.isNeg=function(){return 0!==this.negative},s.prototype.neg=function(){return this.clone().ineg()},s.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},s.prototype.iuor=function(i){for(;this.length<i.length;)this.words[this.length++]=0;for(var a=0;a<i.length;a++)this.words[a]=this.words[a]|i.words[a];return this.strip()},s.prototype.ior=function(i){return g(0==(this.negative|i.negative)),this.iuor(i)},s.prototype.or=function(i){return this.length>i.length?this.clone().ior(i):i.clone().ior(this)},s.prototype.uor=function(i){return this.length>i.length?this.clone().iuor(i):i.clone().iuor(this)},s.prototype.iuand=function(i){var a;a=this.length>i.length?i:this;for(var f=0;f<a.length;f++)this.words[f]=this.words[f]&i.words[f];return this.length=a.length,this.strip()},s.prototype.iand=function(i){return g(0==(this.negative|i.negative)),this.iuand(i)},s.prototype.and=function(i){return this.length>i.length?this.clone().iand(i):i.clone().iand(this)},s.prototype.uand=function(i){return this.length>i.length?this.clone().iuand(i):i.clone().iuand(this)},s.prototype.iuxor=function(i){var a,f;this.length>i.length?(a=this,f=i):(a=i,f=this);for(var l=0;l<f.length;l++)this.words[l]=a.words[l]^f.words[l];if(this!==a)for(;l<a.length;l++)this.words[l]=a.words[l];return this.length=a.length,this.strip()},s.prototype.ixor=function(i){return g(0==(this.negative|i.negative)),this.iuxor(i)},s.prototype.xor=function(i){return this.length>i.length?this.clone().ixor(i):i.clone().ixor(this)},s.prototype.uxor=function(i){return this.length>i.length?this.clone().iuxor(i):i.clone().iuxor(this)},s.prototype.inotn=function(i){g("number"==typeof i&&i>=0);var a=0|Math.ceil(i/26),f=i%26;this._expand(a),f>0&&a--;for(var l=0;l<a;l++)this.words[l]=67108863&~this.words[l];return f>0&&(this.words[l]=~this.words[l]&67108863>>26-f),this.strip()},s.prototype.notn=function(i){return this.clone().inotn(i)},s.prototype.setn=function(i,a){g("number"==typeof i&&i>=0);var f=i/26|0,l=i%26;return this._expand(f+1),this.words[f]=a?this.words[f]|1<<l:this.words[f]&~(1<<l),this.strip()},s.prototype.iadd=function(i){var a,f,l;if(0!==this.negative&&0===i.negative)return this.negative=0,a=this.isub(i),this.negative^=1,this._normSign();if(0===this.negative&&0!==i.negative)return i.negative=0,a=this.isub(i),i.negative=1,a._normSign();this.length>i.length?(f=this,l=i):(f=i,l=this);for(var y=0,E=0;E<l.length;E++)this.words[E]=67108863&(a=(0|f.words[E])+(0|l.words[E])+y),y=a>>>26;for(;0!==y&&E<f.length;E++)this.words[E]=67108863&(a=(0|f.words[E])+y),y=a>>>26;if(this.length=f.length,0!==y)this.words[this.length]=y,this.length++;else if(f!==this)for(;E<f.length;E++)this.words[E]=f.words[E];return this},s.prototype.add=function(i){var a;return 0!==i.negative&&0===this.negative?(i.negative=0,a=this.sub(i),i.negative^=1,a):0===i.negative&&0!==this.negative?(this.negative=0,a=i.sub(this),this.negative=1,a):this.length>i.length?this.clone().iadd(i):i.clone().iadd(this)},s.prototype.isub=function(i){if(0!==i.negative){i.negative=0;var a=this.iadd(i);return i.negative=1,a._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(i),this.negative=1,this._normSign();var l,y,f=this.cmp(i);if(0===f)return this.negative=0,this.length=1,this.words[0]=0,this;f>0?(l=this,y=i):(l=i,y=this);for(var E=0,D=0;D<y.length;D++)E=(a=(0|l.words[D])-(0|y.words[D])+E)>>26,this.words[D]=67108863&a;for(;0!==E&&D<l.length;D++)E=(a=(0|l.words[D])+E)>>26,this.words[D]=67108863&a;if(0===E&&D<l.length&&l!==this)for(;D<l.length;D++)this.words[D]=l.words[D];return this.length=Math.max(this.length,D),l!==this&&(this.negative=1),this.strip()},s.prototype.sub=function(i){return this.clone().isub(i)};var U=function(i,a,f){var v,n,b,l=i.words,y=a.words,E=f.words,D=0,V=0|l[0],z=8191&V,Y=V>>>13,Te=0|l[1],$e=8191&Te,Ve=Te>>>13,We=0|l[2],Re=8191&We,we=We>>>13,me=0|l[3],Ae=8191&me,ee=me>>>13,Ze=0|l[4],Oe=8191&Ze,fe=Ze>>>13,Se=0|l[5],ge=8191&Se,xe=Se>>>13,vt=0|l[6],Ie=8191&vt,de=vt>>>13,rt=0|l[7],je=8191&rt,lt=rt>>>13,Nt=0|l[8],Ke=8191&Nt,at=Nt>>>13,Ct=0|l[9],ye=8191&Ct,Qe=Ct>>>13,Le=0|y[0],J=8191&Le,mt=Le>>>13,St=0|y[1],nt=8191&St,Ye=St>>>13,zt=0|y[2],xt=8191&zt,Ht=zt>>>13,Ut=0|y[3],De=8191&Ut,X=Ut>>>13,ue=0|y[4],Ee=8191&ue,qe=ue>>>13,Xt=0|y[5],Vt=8191&Xt,ri=Xt>>>13,pt=0|y[6],ot=8191&pt,ut=pt>>>13,wt=0|y[7],ft=8191&wt,Xe=wt>>>13,gt=0|y[8],_t=8191&gt,Fe=gt>>>13,Mt=0|y[9],Et=8191&Mt,Yt=Mt>>>13;f.negative=i.negative^a.negative,f.length=19;var Fi=(D+(v=Math.imul(z,J))|0)+((8191&(n=(n=Math.imul(z,mt))+Math.imul(Y,J)|0))<<13)|0;D=((b=Math.imul(Y,mt))+(n>>>13)|0)+(Fi>>>26)|0,Fi&=67108863,v=Math.imul($e,J),n=(n=Math.imul($e,mt))+Math.imul(Ve,J)|0,b=Math.imul(Ve,mt);var Ri=(D+(v=v+Math.imul(z,nt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ye)|0)+Math.imul(Y,nt)|0))<<13)|0;D=((b=b+Math.imul(Y,Ye)|0)+(n>>>13)|0)+(Ri>>>26)|0,Ri&=67108863,v=Math.imul(Re,J),n=(n=Math.imul(Re,mt))+Math.imul(we,J)|0,b=Math.imul(we,mt),v=v+Math.imul($e,nt)|0,n=(n=n+Math.imul($e,Ye)|0)+Math.imul(Ve,nt)|0,b=b+Math.imul(Ve,Ye)|0;var Ci=(D+(v=v+Math.imul(z,xt)|0)|0)+((8191&(n=(n=n+Math.imul(z,Ht)|0)+Math.imul(Y,xt)|0))<<13)|0;D=((b=b+Math.imul(Y,Ht)|0)+(n>>>13)|0)+(Ci>>>26)|0,Ci&=67108863,v=Math.imul(Ae,J),n=(n=Math.imul(Ae,mt))+Math.imul(ee,J)|0,b=Math.imul(ee,mt),v=v+Math.imul(Re,nt)|0,n=(n=n+Math.imul(Re,Ye)|0)+Math.imul(we,nt)|0,b=b+Math.imul(we,Ye)|0,v=v+Math.imul($e,xt)|0,n=(n=n+Math.imul($e,Ht)|0)+Math.imul(Ve,xt)|0,b=b+Math.imul(Ve,Ht)|0;var Bi=(D+(v=v+Math.imul(z,De)|0)|0)+((8191&(n=(n=n+Math.imul(z,X)|0)+Math.imul(Y,De)|0))<<13)|0;D=((b=b+Math.imul(Y,X)|0)+(n>>>13)|0)+(Bi>>>26)|0,Bi&=67108863,v=Math.imul(Oe,J),n=(n=Math.imul(Oe,mt))+Math.imul(fe,J)|0,b=Math.imul(fe,mt),v=v+Math.imul(Ae,nt)|0,n=(n=n+Math.imul(Ae,Ye)|0)+Math.imul(ee,nt)|0,b=b+Math.imul(ee,Ye)|0,v=v+Math.imul(Re,xt)|0,n=(n=n+Math.imul(Re,Ht)|0)+Math.imul(we,xt)|0,b=b+Math.imul(we,Ht)|0,v=v+Math.imul($e,De)|0,n=(n=n+Math.imul($e,X)|0)+Math.imul(Ve,De)|0,b=b+Math.imul(Ve,X)|0;var Je=(D+(v=v+Math.imul(z,Ee)|0)|0)+((8191&(n=(n=n+Math.imul(z,qe)|0)+Math.imul(Y,Ee)|0))<<13)|0;D=((b=b+Math.imul(Y,qe)|0)+(n>>>13)|0)+(Je>>>26)|0,Je&=67108863,v=Math.imul(ge,J),n=(n=Math.imul(ge,mt))+Math.imul(xe,J)|0,b=Math.imul(xe,mt),v=v+Math.imul(Oe,nt)|0,n=(n=n+Math.imul(Oe,Ye)|0)+Math.imul(fe,nt)|0,b=b+Math.imul(fe,Ye)|0,v=v+Math.imul(Ae,xt)|0,n=(n=n+Math.imul(Ae,Ht)|0)+Math.imul(ee,xt)|0,b=b+Math.imul(ee,Ht)|0,v=v+Math.imul(Re,De)|0,n=(n=n+Math.imul(Re,X)|0)+Math.imul(we,De)|0,b=b+Math.imul(we,X)|0,v=v+Math.imul($e,Ee)|0,n=(n=n+Math.imul($e,qe)|0)+Math.imul(Ve,Ee)|0,b=b+Math.imul(Ve,qe)|0;var Dt=(D+(v=v+Math.imul(z,Vt)|0)|0)+((8191&(n=(n=n+Math.imul(z,ri)|0)+Math.imul(Y,Vt)|0))<<13)|0;D=((b=b+Math.imul(Y,ri)|0)+(n>>>13)|0)+(Dt>>>26)|0,Dt&=67108863,v=Math.imul(Ie,J),n=(n=Math.imul(Ie,mt))+Math.imul(de,J)|0,b=Math.imul(de,mt),v=v+Math.imul(ge,nt)|0,n=(n=n+Math.imul(ge,Ye)|0)+Math.imul(xe,nt)|0,b=b+Math.imul(xe,Ye)|0,v=v+Math.imul(Oe,xt)|0,n=(n=n+Math.imul(Oe,Ht)|0)+Math.imul(fe,xt)|0,b=b+Math.imul(fe,Ht)|0,v=v+Math.imul(Ae,De)|0,n=(n=n+Math.imul(Ae,X)|0)+Math.imul(ee,De)|0,b=b+Math.imul(ee,X)|0,v=v+Math.imul(Re,Ee)|0,n=(n=n+Math.imul(Re,qe)|0)+Math.imul(we,Ee)|0,b=b+Math.imul(we,qe)|0,v=v+Math.imul($e,Vt)|0,n=(n=n+Math.imul($e,ri)|0)+Math.imul(Ve,Vt)|0,b=b+Math.imul(Ve,ri)|0;var be=(D+(v=v+Math.imul(z,ot)|0)|0)+((8191&(n=(n=n+Math.imul(z,ut)|0)+Math.imul(Y,ot)|0))<<13)|0;D=((b=b+Math.imul(Y,ut)|0)+(n>>>13)|0)+(be>>>26)|0,be&=67108863,v=Math.imul(je,J),n=(n=Math.imul(je,mt))+Math.imul(lt,J)|0,b=Math.imul(lt,mt),v=v+Math.imul(Ie,nt)|0,n=(n=n+Math.imul(Ie,Ye)|0)+Math.imul(de,nt)|0,b=b+Math.imul(de,Ye)|0,v=v+Math.imul(ge,xt)|0,n=(n=n+Math.imul(ge,Ht)|0)+Math.imul(xe,xt)|0,b=b+Math.imul(xe,Ht)|0,v=v+Math.imul(Oe,De)|0,n=(n=n+Math.imul(Oe,X)|0)+Math.imul(fe,De)|0,b=b+Math.imul(fe,X)|0,v=v+Math.imul(Ae,Ee)|0,n=(n=n+Math.imul(Ae,qe)|0)+Math.imul(ee,Ee)|0,b=b+Math.imul(ee,qe)|0,v=v+Math.imul(Re,Vt)|0,n=(n=n+Math.imul(Re,ri)|0)+Math.imul(we,Vt)|0,b=b+Math.imul(we,ri)|0,v=v+Math.imul($e,ot)|0,n=(n=n+Math.imul($e,ut)|0)+Math.imul(Ve,ot)|0,b=b+Math.imul(Ve,ut)|0;var Tt=(D+(v=v+Math.imul(z,ft)|0)|0)+((8191&(n=(n=n+Math.imul(z,Xe)|0)+Math.imul(Y,ft)|0))<<13)|0;D=((b=b+Math.imul(Y,Xe)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,v=Math.imul(Ke,J),n=(n=Math.imul(Ke,mt))+Math.imul(at,J)|0,b=Math.imul(at,mt),v=v+Math.imul(je,nt)|0,n=(n=n+Math.imul(je,Ye)|0)+Math.imul(lt,nt)|0,b=b+Math.imul(lt,Ye)|0,v=v+Math.imul(Ie,xt)|0,n=(n=n+Math.imul(Ie,Ht)|0)+Math.imul(de,xt)|0,b=b+Math.imul(de,Ht)|0,v=v+Math.imul(ge,De)|0,n=(n=n+Math.imul(ge,X)|0)+Math.imul(xe,De)|0,b=b+Math.imul(xe,X)|0,v=v+Math.imul(Oe,Ee)|0,n=(n=n+Math.imul(Oe,qe)|0)+Math.imul(fe,Ee)|0,b=b+Math.imul(fe,qe)|0,v=v+Math.imul(Ae,Vt)|0,n=(n=n+Math.imul(Ae,ri)|0)+Math.imul(ee,Vt)|0,b=b+Math.imul(ee,ri)|0,v=v+Math.imul(Re,ot)|0,n=(n=n+Math.imul(Re,ut)|0)+Math.imul(we,ot)|0,b=b+Math.imul(we,ut)|0,v=v+Math.imul($e,ft)|0,n=(n=n+Math.imul($e,Xe)|0)+Math.imul(Ve,ft)|0,b=b+Math.imul(Ve,Xe)|0;var Wt=(D+(v=v+Math.imul(z,_t)|0)|0)+((8191&(n=(n=n+Math.imul(z,Fe)|0)+Math.imul(Y,_t)|0))<<13)|0;D=((b=b+Math.imul(Y,Fe)|0)+(n>>>13)|0)+(Wt>>>26)|0,Wt&=67108863,v=Math.imul(ye,J),n=(n=Math.imul(ye,mt))+Math.imul(Qe,J)|0,b=Math.imul(Qe,mt),v=v+Math.imul(Ke,nt)|0,n=(n=n+Math.imul(Ke,Ye)|0)+Math.imul(at,nt)|0,b=b+Math.imul(at,Ye)|0,v=v+Math.imul(je,xt)|0,n=(n=n+Math.imul(je,Ht)|0)+Math.imul(lt,xt)|0,b=b+Math.imul(lt,Ht)|0,v=v+Math.imul(Ie,De)|0,n=(n=n+Math.imul(Ie,X)|0)+Math.imul(de,De)|0,b=b+Math.imul(de,X)|0,v=v+Math.imul(ge,Ee)|0,n=(n=n+Math.imul(ge,qe)|0)+Math.imul(xe,Ee)|0,b=b+Math.imul(xe,qe)|0,v=v+Math.imul(Oe,Vt)|0,n=(n=n+Math.imul(Oe,ri)|0)+Math.imul(fe,Vt)|0,b=b+Math.imul(fe,ri)|0,v=v+Math.imul(Ae,ot)|0,n=(n=n+Math.imul(Ae,ut)|0)+Math.imul(ee,ot)|0,b=b+Math.imul(ee,ut)|0,v=v+Math.imul(Re,ft)|0,n=(n=n+Math.imul(Re,Xe)|0)+Math.imul(we,ft)|0,b=b+Math.imul(we,Xe)|0,v=v+Math.imul($e,_t)|0,n=(n=n+Math.imul($e,Fe)|0)+Math.imul(Ve,_t)|0,b=b+Math.imul(Ve,Fe)|0;var ci=(D+(v=v+Math.imul(z,Et)|0)|0)+((8191&(n=(n=n+Math.imul(z,Yt)|0)+Math.imul(Y,Et)|0))<<13)|0;D=((b=b+Math.imul(Y,Yt)|0)+(n>>>13)|0)+(ci>>>26)|0,ci&=67108863,v=Math.imul(ye,nt),n=(n=Math.imul(ye,Ye))+Math.imul(Qe,nt)|0,b=Math.imul(Qe,Ye),v=v+Math.imul(Ke,xt)|0,n=(n=n+Math.imul(Ke,Ht)|0)+Math.imul(at,xt)|0,b=b+Math.imul(at,Ht)|0,v=v+Math.imul(je,De)|0,n=(n=n+Math.imul(je,X)|0)+Math.imul(lt,De)|0,b=b+Math.imul(lt,X)|0,v=v+Math.imul(Ie,Ee)|0,n=(n=n+Math.imul(Ie,qe)|0)+Math.imul(de,Ee)|0,b=b+Math.imul(de,qe)|0,v=v+Math.imul(ge,Vt)|0,n=(n=n+Math.imul(ge,ri)|0)+Math.imul(xe,Vt)|0,b=b+Math.imul(xe,ri)|0,v=v+Math.imul(Oe,ot)|0,n=(n=n+Math.imul(Oe,ut)|0)+Math.imul(fe,ot)|0,b=b+Math.imul(fe,ut)|0,v=v+Math.imul(Ae,ft)|0,n=(n=n+Math.imul(Ae,Xe)|0)+Math.imul(ee,ft)|0,b=b+Math.imul(ee,Xe)|0,v=v+Math.imul(Re,_t)|0,n=(n=n+Math.imul(Re,Fe)|0)+Math.imul(we,_t)|0,b=b+Math.imul(we,Fe)|0;var Ai=(D+(v=v+Math.imul($e,Et)|0)|0)+((8191&(n=(n=n+Math.imul($e,Yt)|0)+Math.imul(Ve,Et)|0))<<13)|0;D=((b=b+Math.imul(Ve,Yt)|0)+(n>>>13)|0)+(Ai>>>26)|0,Ai&=67108863,v=Math.imul(ye,xt),n=(n=Math.imul(ye,Ht))+Math.imul(Qe,xt)|0,b=Math.imul(Qe,Ht),v=v+Math.imul(Ke,De)|0,n=(n=n+Math.imul(Ke,X)|0)+Math.imul(at,De)|0,b=b+Math.imul(at,X)|0,v=v+Math.imul(je,Ee)|0,n=(n=n+Math.imul(je,qe)|0)+Math.imul(lt,Ee)|0,b=b+Math.imul(lt,qe)|0,v=v+Math.imul(Ie,Vt)|0,n=(n=n+Math.imul(Ie,ri)|0)+Math.imul(de,Vt)|0,b=b+Math.imul(de,ri)|0,v=v+Math.imul(ge,ot)|0,n=(n=n+Math.imul(ge,ut)|0)+Math.imul(xe,ot)|0,b=b+Math.imul(xe,ut)|0,v=v+Math.imul(Oe,ft)|0,n=(n=n+Math.imul(Oe,Xe)|0)+Math.imul(fe,ft)|0,b=b+Math.imul(fe,Xe)|0,v=v+Math.imul(Ae,_t)|0,n=(n=n+Math.imul(Ae,Fe)|0)+Math.imul(ee,_t)|0,b=b+Math.imul(ee,Fe)|0;var ki=(D+(v=v+Math.imul(Re,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Re,Yt)|0)+Math.imul(we,Et)|0))<<13)|0;D=((b=b+Math.imul(we,Yt)|0)+(n>>>13)|0)+(ki>>>26)|0,ki&=67108863,v=Math.imul(ye,De),n=(n=Math.imul(ye,X))+Math.imul(Qe,De)|0,b=Math.imul(Qe,X),v=v+Math.imul(Ke,Ee)|0,n=(n=n+Math.imul(Ke,qe)|0)+Math.imul(at,Ee)|0,b=b+Math.imul(at,qe)|0,v=v+Math.imul(je,Vt)|0,n=(n=n+Math.imul(je,ri)|0)+Math.imul(lt,Vt)|0,b=b+Math.imul(lt,ri)|0,v=v+Math.imul(Ie,ot)|0,n=(n=n+Math.imul(Ie,ut)|0)+Math.imul(de,ot)|0,b=b+Math.imul(de,ut)|0,v=v+Math.imul(ge,ft)|0,n=(n=n+Math.imul(ge,Xe)|0)+Math.imul(xe,ft)|0,b=b+Math.imul(xe,Xe)|0,v=v+Math.imul(Oe,_t)|0,n=(n=n+Math.imul(Oe,Fe)|0)+Math.imul(fe,_t)|0,b=b+Math.imul(fe,Fe)|0;var Yi=(D+(v=v+Math.imul(Ae,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Yt)|0)+Math.imul(ee,Et)|0))<<13)|0;D=((b=b+Math.imul(ee,Yt)|0)+(n>>>13)|0)+(Yi>>>26)|0,Yi&=67108863,v=Math.imul(ye,Ee),n=(n=Math.imul(ye,qe))+Math.imul(Qe,Ee)|0,b=Math.imul(Qe,qe),v=v+Math.imul(Ke,Vt)|0,n=(n=n+Math.imul(Ke,ri)|0)+Math.imul(at,Vt)|0,b=b+Math.imul(at,ri)|0,v=v+Math.imul(je,ot)|0,n=(n=n+Math.imul(je,ut)|0)+Math.imul(lt,ot)|0,b=b+Math.imul(lt,ut)|0,v=v+Math.imul(Ie,ft)|0,n=(n=n+Math.imul(Ie,Xe)|0)+Math.imul(de,ft)|0,b=b+Math.imul(de,Xe)|0,v=v+Math.imul(ge,_t)|0,n=(n=n+Math.imul(ge,Fe)|0)+Math.imul(xe,_t)|0,b=b+Math.imul(xe,Fe)|0;var ji=(D+(v=v+Math.imul(Oe,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Oe,Yt)|0)+Math.imul(fe,Et)|0))<<13)|0;D=((b=b+Math.imul(fe,Yt)|0)+(n>>>13)|0)+(ji>>>26)|0,ji&=67108863,v=Math.imul(ye,Vt),n=(n=Math.imul(ye,ri))+Math.imul(Qe,Vt)|0,b=Math.imul(Qe,ri),v=v+Math.imul(Ke,ot)|0,n=(n=n+Math.imul(Ke,ut)|0)+Math.imul(at,ot)|0,b=b+Math.imul(at,ut)|0,v=v+Math.imul(je,ft)|0,n=(n=n+Math.imul(je,Xe)|0)+Math.imul(lt,ft)|0,b=b+Math.imul(lt,Xe)|0,v=v+Math.imul(Ie,_t)|0,n=(n=n+Math.imul(Ie,Fe)|0)+Math.imul(de,_t)|0,b=b+Math.imul(de,Fe)|0;var tn=(D+(v=v+Math.imul(ge,Et)|0)|0)+((8191&(n=(n=n+Math.imul(ge,Yt)|0)+Math.imul(xe,Et)|0))<<13)|0;D=((b=b+Math.imul(xe,Yt)|0)+(n>>>13)|0)+(tn>>>26)|0,tn&=67108863,v=Math.imul(ye,ot),n=(n=Math.imul(ye,ut))+Math.imul(Qe,ot)|0,b=Math.imul(Qe,ut),v=v+Math.imul(Ke,ft)|0,n=(n=n+Math.imul(Ke,Xe)|0)+Math.imul(at,ft)|0,b=b+Math.imul(at,Xe)|0,v=v+Math.imul(je,_t)|0,n=(n=n+Math.imul(je,Fe)|0)+Math.imul(lt,_t)|0,b=b+Math.imul(lt,Fe)|0;var Zt=(D+(v=v+Math.imul(Ie,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ie,Yt)|0)+Math.imul(de,Et)|0))<<13)|0;D=((b=b+Math.imul(de,Yt)|0)+(n>>>13)|0)+(Zt>>>26)|0,Zt&=67108863,v=Math.imul(ye,ft),n=(n=Math.imul(ye,Xe))+Math.imul(Qe,ft)|0,b=Math.imul(Qe,Xe),v=v+Math.imul(Ke,_t)|0,n=(n=n+Math.imul(Ke,Fe)|0)+Math.imul(at,_t)|0,b=b+Math.imul(at,Fe)|0;var Qt=(D+(v=v+Math.imul(je,Et)|0)|0)+((8191&(n=(n=n+Math.imul(je,Yt)|0)+Math.imul(lt,Et)|0))<<13)|0;D=((b=b+Math.imul(lt,Yt)|0)+(n>>>13)|0)+(Qt>>>26)|0,Qt&=67108863,v=Math.imul(ye,_t),n=(n=Math.imul(ye,Fe))+Math.imul(Qe,_t)|0,b=Math.imul(Qe,Fe);var _e=(D+(v=v+Math.imul(Ke,Et)|0)|0)+((8191&(n=(n=n+Math.imul(Ke,Yt)|0)+Math.imul(at,Et)|0))<<13)|0;D=((b=b+Math.imul(at,Yt)|0)+(n>>>13)|0)+(_e>>>26)|0,_e&=67108863;var ht=(D+(v=Math.imul(ye,Et))|0)+((8191&(n=(n=Math.imul(ye,Yt))+Math.imul(Qe,Et)|0))<<13)|0;return D=((b=Math.imul(Qe,Yt))+(n>>>13)|0)+(ht>>>26)|0,ht&=67108863,E[0]=Fi,E[1]=Ri,E[2]=Ci,E[3]=Bi,E[4]=Je,E[5]=Dt,E[6]=be,E[7]=Tt,E[8]=Wt,E[9]=ci,E[10]=Ai,E[11]=ki,E[12]=Yi,E[13]=ji,E[14]=tn,E[15]=Zt,E[16]=Qt,E[17]=_e,E[18]=ht,0!==D&&(E[19]=D,f.length++),f};function W(S,i,a){return(new K).mulp(S,i,a)}function K(S,i){this.x=S,this.y=i}Math.imul||(U=O),s.prototype.mulTo=function(i,a){var f,l=this.length+i.length;return f=10===this.length&&10===i.length?U(this,i,a):l<63?O(this,i,a):l<1024?function Z(S,i,a){a.negative=i.negative^S.negative,a.length=S.length+i.length;for(var f=0,l=0,y=0;y<a.length-1;y++){var E=l;l=0;for(var D=67108863&f,v=Math.min(y,i.length-1),n=Math.max(0,y-S.length+1);n<=v;n++){var Y=(0|S.words[y-n])*(0|i.words[n]),Te=67108863&Y;D=67108863&(Te=Te+D|0),l+=(E=(E=E+(Y/67108864|0)|0)+(Te>>>26)|0)>>>26,E&=67108863}a.words[y]=D,f=E,E=l}return 0!==f?a.words[y]=f:a.length--,a.strip()}(this,i,a):W(this,i,a),f},K.prototype.makeRBT=function(i){for(var a=new Array(i),f=s.prototype._countBits(i)-1,l=0;l<i;l++)a[l]=this.revBin(l,f,i);return a},K.prototype.revBin=function(i,a,f){if(0===i||i===f-1)return i;for(var l=0,y=0;y<a;y++)l|=(1&i)<<a-y-1,i>>=1;return l},K.prototype.permute=function(i,a,f,l,y,E){for(var D=0;D<E;D++)l[D]=a[i[D]],y[D]=f[i[D]]},K.prototype.transform=function(i,a,f,l,y,E){this.permute(E,i,a,f,l,y);for(var D=1;D<y;D<<=1)for(var v=D<<1,n=Math.cos(2*Math.PI/v),b=Math.sin(2*Math.PI/v),V=0;V<y;V+=v)for(var z=n,Y=b,Te=0;Te<D;Te++){var $e=f[V+Te],Ve=l[V+Te],We=f[V+Te+D],Re=l[V+Te+D],we=z*We-Y*Re;Re=z*Re+Y*We,f[V+Te]=$e+(We=we),l[V+Te]=Ve+Re,f[V+Te+D]=$e-We,l[V+Te+D]=Ve-Re,Te!==v&&(we=n*z-b*Y,Y=n*Y+b*z,z=we)}},K.prototype.guessLen13b=function(i,a){var f=1|Math.max(a,i),l=1&f,y=0;for(f=f/2|0;f;f>>>=1)y++;return 1<<y+1+l},K.prototype.conjugate=function(i,a,f){if(!(f<=1))for(var l=0;l<f/2;l++){var y=i[l];i[l]=i[f-l-1],i[f-l-1]=y,y=a[l],a[l]=-a[f-l-1],a[f-l-1]=-y}},K.prototype.normalize13b=function(i,a){for(var f=0,l=0;l<a/2;l++){var y=8192*Math.round(i[2*l+1]/a)+Math.round(i[2*l]/a)+f;i[l]=67108863&y,f=y<67108864?0:y/67108864|0}return i},K.prototype.convert13b=function(i,a,f,l){for(var y=0,E=0;E<a;E++)f[2*E]=8191&(y+=0|i[E]),f[2*E+1]=8191&(y>>>=13),y>>>=13;for(E=2*a;E<l;++E)f[E]=0;g(0===y),g(0==(-8192&y))},K.prototype.stub=function(i){for(var a=new Array(i),f=0;f<i;f++)a[f]=0;return a},K.prototype.mulp=function(i,a,f){var l=2*this.guessLen13b(i.length,a.length),y=this.makeRBT(l),E=this.stub(l),D=new Array(l),v=new Array(l),n=new Array(l),b=new Array(l),V=new Array(l),z=new Array(l),Y=f.words;Y.length=l,this.convert13b(i.words,i.length,D,l),this.convert13b(a.words,a.length,b,l),this.transform(D,E,v,n,l,y),this.transform(b,E,V,z,l,y);for(var Te=0;Te<l;Te++){var $e=v[Te]*V[Te]-n[Te]*z[Te];n[Te]=v[Te]*z[Te]+n[Te]*V[Te],v[Te]=$e}return this.conjugate(v,n,l),this.transform(v,n,Y,E,l,y),this.conjugate(Y,E,l),this.normalize13b(Y,l),f.negative=i.negative^a.negative,f.length=i.length+a.length,f.strip()},s.prototype.mul=function(i){var a=new s(null);return a.words=new Array(this.length+i.length),this.mulTo(i,a)},s.prototype.mulf=function(i){var a=new s(null);return a.words=new Array(this.length+i.length),W(this,i,a)},s.prototype.imul=function(i){return this.clone().mulTo(i,this)},s.prototype.imuln=function(i){g("number"==typeof i),g(i<67108864);for(var a=0,f=0;f<this.length;f++){var l=(0|this.words[f])*i,y=(67108863&l)+(67108863&a);a>>=26,a+=l/67108864|0,a+=y>>>26,this.words[f]=67108863&y}return 0!==a&&(this.words[f]=a,this.length++),this},s.prototype.muln=function(i){return this.clone().imuln(i)},s.prototype.sqr=function(){return this.mul(this)},s.prototype.isqr=function(){return this.imul(this.clone())},s.prototype.pow=function(i){var a=function k(S){for(var i=new Array(S.bitLength()),a=0;a<i.length;a++){var l=a%26;i[a]=(S.words[a/26|0]&1<<l)>>>l}return i}(i);if(0===a.length)return new s(1);for(var f=this,l=0;l<a.length&&0===a[l];l++,f=f.sqr());if(++l<a.length)for(var y=f.sqr();l<a.length;l++,y=y.sqr())0!==a[l]&&(f=f.mul(y));return f},s.prototype.iushln=function(i){g("number"==typeof i&&i>=0);var y,a=i%26,f=(i-a)/26,l=67108863>>>26-a<<26-a;if(0!==a){var E=0;for(y=0;y<this.length;y++){var D=this.words[y]&l;this.words[y]=(0|this.words[y])-D<<a|E,E=D>>>26-a}E&&(this.words[y]=E,this.length++)}if(0!==f){for(y=this.length-1;y>=0;y--)this.words[y+f]=this.words[y];for(y=0;y<f;y++)this.words[y]=0;this.length+=f}return this.strip()},s.prototype.ishln=function(i){return g(0===this.negative),this.iushln(i)},s.prototype.iushrn=function(i,a,f){var l;g("number"==typeof i&&i>=0),l=a?(a-a%26)/26:0;var y=i%26,E=Math.min((i-y)/26,this.length),D=67108863^67108863>>>y<<y,v=f;if(l-=E,l=Math.max(0,l),v){for(var n=0;n<E;n++)v.words[n]=this.words[n];v.length=E}if(0!==E)if(this.length>E)for(this.length-=E,n=0;n<this.length;n++)this.words[n]=this.words[n+E];else this.words[0]=0,this.length=1;var b=0;for(n=this.length-1;n>=0&&(0!==b||n>=l);n--){var V=0|this.words[n];this.words[n]=b<<26-y|V>>>y,b=V&D}return v&&0!==b&&(v.words[v.length++]=b),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(i,a,f){return g(0===this.negative),this.iushrn(i,a,f)},s.prototype.shln=function(i){return this.clone().ishln(i)},s.prototype.ushln=function(i){return this.clone().iushln(i)},s.prototype.shrn=function(i){return this.clone().ishrn(i)},s.prototype.ushrn=function(i){return this.clone().iushrn(i)},s.prototype.testn=function(i){g("number"==typeof i&&i>=0);var a=i%26,f=(i-a)/26;return!(this.length<=f||!(this.words[f]&1<<a))},s.prototype.imaskn=function(i){g("number"==typeof i&&i>=0);var a=i%26,f=(i-a)/26;return g(0===this.negative,"imaskn works only with positive numbers"),this.length<=f?this:(0!==a&&f++,this.length=Math.min(f,this.length),0!==a&&(this.words[this.length-1]&=67108863^67108863>>>a<<a),this.strip())},s.prototype.maskn=function(i){return this.clone().imaskn(i)},s.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)},s.prototype._iaddn=function(i){this.words[0]+=i;for(var a=0;a<this.length&&this.words[a]>=67108864;a++)this.words[a]-=67108864,a===this.length-1?this.words[a+1]=1:this.words[a+1]++;return this.length=Math.max(this.length,a+1),this},s.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 a=0;a<this.length&&this.words[a]<0;a++)this.words[a]+=67108864,this.words[a+1]-=1;return this.strip()},s.prototype.addn=function(i){return this.clone().iaddn(i)},s.prototype.subn=function(i){return this.clone().isubn(i)},s.prototype.iabs=function(){return this.negative=0,this},s.prototype.abs=function(){return this.clone().iabs()},s.prototype._ishlnsubmul=function(i,a,f){var y;this._expand(i.length+f);var E,D=0;for(y=0;y<i.length;y++){E=(0|this.words[y+f])+D;var v=(0|i.words[y])*a;D=((E-=67108863&v)>>26)-(v/67108864|0),this.words[y+f]=67108863&E}for(;y<this.length-f;y++)D=(E=(0|this.words[y+f])+D)>>26,this.words[y+f]=67108863&E;if(0===D)return this.strip();for(g(-1===D),D=0,y=0;y<this.length;y++)D=(E=-(0|this.words[y])+D)>>26,this.words[y]=67108863&E;return this.negative=1,this.strip()},s.prototype._wordDiv=function(i,a){var f,l=this.clone(),y=i,E=0|y.words[y.length-1];0!=(f=26-this._countBits(E))&&(y=y.ushln(f),l.iushln(f),E=0|y.words[y.length-1]);var n,v=l.length-y.length;if("mod"!==a){(n=new s(null)).length=v+1,n.words=new Array(n.length);for(var b=0;b<n.length;b++)n.words[b]=0}var V=l.clone()._ishlnsubmul(y,1,v);0===V.negative&&(l=V,n&&(n.words[v]=1));for(var z=v-1;z>=0;z--){var Y=67108864*(0|l.words[y.length+z])+(0|l.words[y.length+z-1]);for(Y=Math.min(Y/E|0,67108863),l._ishlnsubmul(y,Y,z);0!==l.negative;)Y--,l.negative=0,l._ishlnsubmul(y,1,z),l.isZero()||(l.negative^=1);n&&(n.words[z]=Y)}return n&&n.strip(),l.strip(),"div"!==a&&0!==f&&l.iushrn(f),{div:n||null,mod:l}},s.prototype.divmod=function(i,a,f){return g(!i.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===i.negative?(E=this.neg().divmod(i,a),"mod"!==a&&(l=E.div.neg()),"div"!==a&&(y=E.mod.neg(),f&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(E=this.divmod(i.neg(),a),"mod"!==a&&(l=E.div.neg()),{div:l,mod:E.mod}):this.negative&i.negative?(E=this.neg().divmod(i.neg(),a),"div"!==a&&(y=E.mod.neg(),f&&0!==y.negative&&y.isub(i)),{div:E.div,mod:y}):i.length>this.length||this.cmp(i)<0?{div:new s(0),mod:this}:1===i.length?"div"===a?{div:this.divn(i.words[0]),mod:null}:"mod"===a?{div:null,mod:new s(this.modn(i.words[0]))}:{div:this.divn(i.words[0]),mod:new s(this.modn(i.words[0]))}:this._wordDiv(i,a);var l,y,E},s.prototype.div=function(i){return this.divmod(i,"div",!1).div},s.prototype.mod=function(i){return this.divmod(i,"mod",!1).mod},s.prototype.umod=function(i){return this.divmod(i,"mod",!0).mod},s.prototype.divRound=function(i){var a=this.divmod(i);if(a.mod.isZero())return a.div;var f=0!==a.div.negative?a.mod.isub(i):a.mod,l=i.ushrn(1),y=i.andln(1),E=f.cmp(l);return E<0||1===y&&0===E?a.div:0!==a.div.negative?a.div.isubn(1):a.div.iaddn(1)},s.prototype.modn=function(i){g(i<=67108863);for(var a=(1<<26)%i,f=0,l=this.length-1;l>=0;l--)f=(a*f+(0|this.words[l]))%i;return f},s.prototype.idivn=function(i){g(i<=67108863);for(var a=0,f=this.length-1;f>=0;f--){var l=(0|this.words[f])+67108864*a;this.words[f]=l/i|0,a=l%i}return this.strip()},s.prototype.divn=function(i){return this.clone().idivn(i)},s.prototype.egcd=function(i){g(0===i.negative),g(!i.isZero());var a=this,f=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),E=new s(0),D=new s(1),v=0;a.isEven()&&f.isEven();)a.iushrn(1),f.iushrn(1),++v;for(var n=f.clone(),b=a.clone();!a.isZero();){for(var V=0,z=1;!(a.words[0]&z)&&V<26;++V,z<<=1);if(V>0)for(a.iushrn(V);V-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(b)),l.iushrn(1),y.iushrn(1);for(var Y=0,Te=1;!(f.words[0]&Te)&&Y<26;++Y,Te<<=1);if(Y>0)for(f.iushrn(Y);Y-- >0;)(E.isOdd()||D.isOdd())&&(E.iadd(n),D.isub(b)),E.iushrn(1),D.iushrn(1);a.cmp(f)>=0?(a.isub(f),l.isub(E),y.isub(D)):(f.isub(a),E.isub(l),D.isub(y))}return{a:E,b:D,gcd:f.iushln(v)}},s.prototype._invmp=function(i){g(0===i.negative),g(!i.isZero());var V,a=this,f=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),E=f.clone();a.cmpn(1)>0&&f.cmpn(1)>0;){for(var D=0,v=1;!(a.words[0]&v)&&D<26;++D,v<<=1);if(D>0)for(a.iushrn(D);D-- >0;)l.isOdd()&&l.iadd(E),l.iushrn(1);for(var n=0,b=1;!(f.words[0]&b)&&n<26;++n,b<<=1);if(n>0)for(f.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(E),y.iushrn(1);a.cmp(f)>=0?(a.isub(f),l.isub(y)):(f.isub(a),y.isub(l))}return(V=0===a.cmpn(1)?l:y).cmpn(0)<0&&V.iadd(i),V},s.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var a=this.clone(),f=i.clone();a.negative=0,f.negative=0;for(var l=0;a.isEven()&&f.isEven();l++)a.iushrn(1),f.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;f.isEven();)f.iushrn(1);var y=a.cmp(f);if(y<0){var E=a;a=f,f=E}else if(0===y||0===f.cmpn(1))break;a.isub(f)}return f.iushln(l)},s.prototype.invm=function(i){return this.egcd(i).a.umod(i)},s.prototype.isEven=function(){return 0==(1&this.words[0])},s.prototype.isOdd=function(){return 1==(1&this.words[0])},s.prototype.andln=function(i){return this.words[0]&i},s.prototype.bincn=function(i){g("number"==typeof i);var a=i%26,f=(i-a)/26,l=1<<a;if(this.length<=f)return this._expand(f+1),this.words[f]|=l,this;for(var y=l,E=f;0!==y&&E<this.length;E++){var D=0|this.words[E];y=(D+=y)>>>26,this.words[E]=D&=67108863}return 0!==y&&(this.words[E]=y,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(i){var f,a=i<0;if(0!==this.negative&&!a)return-1;if(0===this.negative&&a)return 1;if(this.strip(),this.length>1)f=1;else{a&&(i=-i),g(i<=67108863,"Number is too big");var l=0|this.words[0];f=l===i?0:l<i?-1:1}return 0!==this.negative?0|-f:f},s.prototype.cmp=function(i){if(0!==this.negative&&0===i.negative)return-1;if(0===this.negative&&0!==i.negative)return 1;var a=this.ucmp(i);return 0!==this.negative?0|-a:a},s.prototype.ucmp=function(i){if(this.length>i.length)return 1;if(this.length<i.length)return-1;for(var a=0,f=this.length-1;f>=0;f--){var l=0|this.words[f],y=0|i.words[f];if(l!==y){l<y?a=-1:l>y&&(a=1);break}}return a},s.prototype.gtn=function(i){return 1===this.cmpn(i)},s.prototype.gt=function(i){return 1===this.cmp(i)},s.prototype.gten=function(i){return this.cmpn(i)>=0},s.prototype.gte=function(i){return this.cmp(i)>=0},s.prototype.ltn=function(i){return-1===this.cmpn(i)},s.prototype.lt=function(i){return-1===this.cmp(i)},s.prototype.lten=function(i){return this.cmpn(i)<=0},s.prototype.lte=function(i){return this.cmp(i)<=0},s.prototype.eqn=function(i){return 0===this.cmpn(i)},s.prototype.eq=function(i){return 0===this.cmp(i)},s.red=function(i){return new se(i)},s.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)},s.prototype.fromRed=function(){return g(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},s.prototype._forceRed=function(i){return this.red=i,this},s.prototype.forceRed=function(i){return g(!this.red,"Already a number in reduction context"),this._forceRed(i)},s.prototype.redAdd=function(i){return g(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},s.prototype.redIAdd=function(i){return g(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},s.prototype.redSub=function(i){return g(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},s.prototype.redISub=function(i){return g(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},s.prototype.redShl=function(i){return g(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},s.prototype.redMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},s.prototype.redIMul=function(i){return g(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},s.prototype.redSqr=function(){return g(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return g(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return g(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return g(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return g(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(i){return g(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var q={k256:null,p224:null,p192:null,p25519:null};function te(S,i){this.name=S,this.p=new s(i,16),this.n=this.p.bitLength(),this.k=new s(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function pe(){te.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function oe(){te.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function re(){te.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function ce(){te.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function se(S){if("string"==typeof S){var i=s._prime(S);this.m=i.p,this.prime=i}else g(S.gtn(1),"modulus must be greater than 1"),this.m=S,this.prime=null}function he(S){se.call(this,S),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new s(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)}te.prototype._tmp=function(){var i=new s(null);return i.words=new Array(Math.ceil(this.n/13)),i},te.prototype.ireduce=function(i){var f,a=i;do{this.split(a,this.tmp),f=(a=(a=this.imulK(a)).iadd(this.tmp)).bitLength()}while(f>this.n);var l=f<this.n?-1:a.ucmp(this.p);return 0===l?(a.words[0]=0,a.length=1):l>0?a.isub(this.p):void 0!==a.strip?a.strip():a._strip(),a},te.prototype.split=function(i,a){i.iushrn(this.n,0,a)},te.prototype.imulK=function(i){return i.imul(this.k)},A(pe,te),pe.prototype.split=function(i,a){for(var f=4194303,l=Math.min(i.length,9),y=0;y<l;y++)a.words[y]=i.words[y];if(a.length=l,i.length<=9)return i.words[0]=0,void(i.length=1);var E=i.words[9];for(a.words[a.length++]=E&f,y=10;y<i.length;y++){var D=0|i.words[y];i.words[y-10]=(D&f)<<4|E>>>22,E=D}i.words[y-10]=E>>>=22,i.length-=0===E&&i.length>10?10:9},pe.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var a=0,f=0;f<i.length;f++){var l=0|i.words[f];i.words[f]=67108863&(a+=977*l),a=64*l+(a/67108864|0)}return 0===i.words[i.length-1]&&(i.length--,0===i.words[i.length-1]&&i.length--),i},A(oe,te),A(re,te),A(ce,te),ce.prototype.imulK=function(i){for(var a=0,f=0;f<i.length;f++){var l=19*(0|i.words[f])+a,y=67108863&l;l>>>=26,i.words[f]=y,a=l}return 0!==a&&(i.words[i.length++]=a),i},s._prime=function(i){if(q[i])return q[i];var a;if("k256"===i)a=new pe;else if("p224"===i)a=new oe;else if("p192"===i)a=new re;else{if("p25519"!==i)throw new Error("Unknown prime "+i);a=new ce}return q[i]=a,a},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,a){g(0==(i.negative|a.negative),"red works only with positives"),g(i.red&&i.red===a.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,a){this._verify2(i,a);var f=i.add(a);return f.cmp(this.m)>=0&&f.isub(this.m),f._forceRed(this)},se.prototype.iadd=function(i,a){this._verify2(i,a);var f=i.iadd(a);return f.cmp(this.m)>=0&&f.isub(this.m),f},se.prototype.sub=function(i,a){this._verify2(i,a);var f=i.sub(a);return f.cmpn(0)<0&&f.iadd(this.m),f._forceRed(this)},se.prototype.isub=function(i,a){this._verify2(i,a);var f=i.isub(a);return f.cmpn(0)<0&&f.iadd(this.m),f},se.prototype.shl=function(i,a){return this._verify1(i),this.imod(i.ushln(a))},se.prototype.imul=function(i,a){return this._verify2(i,a),this.imod(i.imul(a))},se.prototype.mul=function(i,a){return this._verify2(i,a),this.imod(i.mul(a))},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 a=this.m.andln(3);if(g(a%2==1),3===a){var f=this.m.add(new s(1)).iushrn(2);return this.pow(i,f)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);g(!l.isZero());var E=new s(1).toRed(this),D=E.redNeg(),v=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new s(2*n*n).toRed(this);0!==this.pow(n,v).cmp(D);)n.redIAdd(D);for(var b=this.pow(n,l),V=this.pow(i,l.addn(1).iushrn(1)),z=this.pow(i,l),Y=y;0!==z.cmp(E);){for(var Te=z,$e=0;0!==Te.cmp(E);$e++)Te=Te.redSqr();g($e<Y);var Ve=this.pow(b,new s(1).iushln(Y-$e-1));V=V.redMul(Ve),b=Ve.redSqr(),z=z.redMul(b),Y=$e}return V},se.prototype.invm=function(i){var a=i._invmp(this.m);return 0!==a.negative?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},se.prototype.pow=function(i,a){if(a.isZero())return new s(1).toRed(this);if(0===a.cmpn(1))return i.clone();var l=new Array(16);l[0]=new s(1).toRed(this),l[1]=i;for(var y=2;y<l.length;y++)l[y]=this.mul(l[y-1],i);var E=l[0],D=0,v=0,n=a.bitLength()%26;for(0===n&&(n=26),y=a.length-1;y>=0;y--){for(var b=a.words[y],V=n-1;V>=0;V--){var z=b>>V&1;E!==l[0]&&(E=this.sqr(E)),0!==z||0!==D?(D<<=1,D|=z,(4==++v||0===y&&0===V)&&(E=this.mul(E,l[D]),v=0,D=0)):v=0}n=26}return E},se.prototype.convertTo=function(i){var a=i.umod(this.m);return a===i?a.clone():a},se.prototype.convertFrom=function(i){var a=i.clone();return a.red=null,a},s.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 a=this.imod(i.mul(this.rinv));return a.red=null,a},he.prototype.imul=function(i,a){if(i.isZero()||a.isZero())return i.words[0]=0,i.length=1,i;var f=i.imul(a),l=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=f.isub(l).iushrn(this.shift),E=y;return y.cmp(this.m)>=0?E=y.isub(this.m):y.cmpn(0)<0&&(E=y.iadd(this.m)),E._forceRed(this)},he.prototype.mul=function(i,a){if(i.isZero()||a.isZero())return new s(0)._forceRed(this);var f=i.mul(a),l=f.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=f.isub(l).iushrn(this.shift),E=y;return y.cmp(this.m)>=0?E=y.isub(this.m):y.cmpn(0)<0&&(E=y.iadd(this.m)),E._forceRed(this)},he.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Be=m.nmd(Be),this)},6705:(Be,Q,m)=>{var t=m(2772),e=m(6945),g=m(9401),A=m(2057),s=m(8466),C=m(6386),h=m(8651),P=m(3502).Buffer;Be.exports=function(k,O,U){var Z;Z=k.padding?k.padding:U?1:4;var q,W=t(k),K=W.modulus.byteLength();if(O.length>K||new A(O).cmp(W.modulus)>=0)throw new Error("decryption error");q=U?h(new A(O),W):s(O,W);var te=P.alloc(K-q.length);if(q=P.concat([te,q],K),4===Z)return function d(I,k){var O=I.modulus.byteLength(),U=C("sha1").update(P.alloc(0)).digest(),Z=U.length;if(0!==k[0])throw new Error("decryption error");var W=k.slice(1,Z+1),K=k.slice(Z+1),q=g(W,e(K,Z)),te=g(K,e(q,O-Z-1));if(function w(I,k){I=P.from(I),k=P.from(k);var O=0,U=I.length;I.length!==k.length&&(O++,U=Math.min(I.length,k.length));for(var Z=-1;++Z<U;)O+=I[Z]^k[Z];return O}(U,te.slice(0,Z)))throw new Error("decryption error");for(var pe=Z;0===te[pe];)pe++;if(1!==te[pe++])throw new Error("decryption error");return te.slice(pe)}(W,q);if(1===Z)return function M(I,k,O){for(var U=k.slice(0,2),Z=2,W=0;0!==k[Z++];)if(Z>=k.length){W++;break}var K=k.slice(2,Z-1);if(("0002"!==U.toString("hex")&&!O||"0001"!==U.toString("hex")&&O)&&W++,K.length<8&&W++,W)throw new Error("decryption error");return k.slice(Z)}(0,q,U);if(3===Z)return q;throw new Error("unknown padding")}},6562:(Be,Q,m)=>{var t=m(2772),e=m(3753),g=m(6386),A=m(6945),s=m(9401),C=m(2057),h=m(8651),P=m(8466),d=m(3502).Buffer;Be.exports=function(O,U,Z){var W;W=O.padding?O.padding:Z?1:4;var q,K=t(O);if(4===W)q=function M(k,O){var U=k.modulus.byteLength(),Z=O.length,W=g("sha1").update(d.alloc(0)).digest(),K=W.length,q=2*K;if(Z>U-q-2)throw new Error("message too long");var te=d.alloc(U-Z-q-2),pe=U-K-1,oe=e(K),re=s(d.concat([W,te,d.alloc(1,1),O],pe),A(oe,pe)),ce=s(oe,A(re,K));return new C(d.concat([d.alloc(1),ce,re],U))}(K,U);else if(1===W)q=function w(k,O,U){var K,Z=O.length,W=k.modulus.byteLength();if(Z>W-11)throw new Error("message too long");return K=U?d.alloc(W-Z-3,255):function I(k){for(var K,O=d.allocUnsafe(k),U=0,Z=e(2*k),W=0;U<k;)W===Z.length&&(Z=e(2*k),W=0),(K=Z[W++])&&(O[U++]=K);return O}(W-Z-3),new C(d.concat([d.from([0,U?1:2]),K,d.alloc(1),O],W))}(K,U,Z);else{if(3!==W)throw new Error("unknown padding");if((q=new C(U)).cmp(K.modulus)>=0)throw new Error("data too long for modulus")}return Z?P(q,K):h(q,K)}},8651:(Be,Q,m)=>{var t=m(2057),e=m(3502).Buffer;Be.exports=function g(A,s){return e.from(A.toRed(t.mont(s.modulus)).redPow(new t(s.publicExponent)).fromRed().toArray())}},9401:Be=>{Be.exports=function(m,t){for(var e=m.length,g=-1;++g<e;)m[g]^=t[g];return m}},3259:(Be,Q,m)=>{const t=m(8695),e=m(1465),g=m(3210),A=m(2334);function s(C,h,P,d,M){const w=[].slice.call(arguments,1),I=w.length,k="function"==typeof w[I-1];if(!k&&!t())throw new Error("Callback required as last argument");if(!k){if(I<1)throw new Error("Too few arguments provided");return 1===I?(P=h,h=d=void 0):2===I&&!h.getContext&&(d=P,P=h,h=void 0),new Promise(function(O,U){try{const Z=e.create(P,d);O(C(Z,h,d))}catch(Z){U(Z)}})}if(I<2)throw new Error("Too few arguments provided");2===I?(M=P,P=h,h=d=void 0):3===I&&(h.getContext&&typeof M>"u"?(M=d,d=void 0):(M=d,d=P,P=h,h=void 0));try{const O=e.create(P,d);M(null,C(O,h,d))}catch(O){M(O)}}Q.create=e.create,Q.toCanvas=s.bind(null,g.render),Q.toDataURL=s.bind(null,g.renderToDataURL),Q.toString=s.bind(null,function(C,h,P){return A.render(C,P)})},8695:Be=>{Be.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6221:(Be,Q,m)=>{const t=m(4792).getSymbolSize;Q.getRowColCoords=function(g){if(1===g)return[];const A=Math.floor(g/7)+2,s=t(g),C=145===s?26:2*Math.ceil((s-13)/(2*A-2)),h=[s-7];for(let P=1;P<A-1;P++)h[P]=h[P-1]-C;return h.push(6),h.reverse()},Q.getPositions=function(g){const A=[],s=Q.getRowColCoords(g),C=s.length;for(let h=0;h<C;h++)for(let P=0;P<C;P++)0===h&&0===P||0===h&&P===C-1||h===C-1&&0===P||A.push([s[h],s[P]]);return A}},2424:(Be,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(s){return 11*Math.floor(s/2)+s%2*6},g.prototype.getLength=function(){return this.data.length},g.prototype.getBitsLength=function(){return g.getBitsLength(this.data.length)},g.prototype.write=function(s){let C;for(C=0;C+2<=this.data.length;C+=2){let h=45*e.indexOf(this.data[C]);h+=e.indexOf(this.data[C+1]),s.put(h,11)}this.data.length%2&&s.put(e.indexOf(this.data[C]),6)},Be.exports=g},2118:Be=>{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++}},Be.exports=Q},4425:Be=>{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]},Be.exports=Q},5663:(Be,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(s){return 8*s},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 s=0,C=this.data.length;s<C;s++)A.put(this.data[s],8)},Be.exports=g},4655:(Be,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(s,C){switch(C){case t.L:return e[4*(s-1)+0];case t.M:return e[4*(s-1)+1];case t.Q:return e[4*(s-1)+2];case t.H:return e[4*(s-1)+3];default:return}},Q.getTotalCodewordsCount=function(s,C){switch(C){case t.L:return g[4*(s-1)+0];case t.M:return g[4*(s-1)+1];case t.Q:return g[4*(s-1)+2];case t.H:return g[4*(s-1)+3];default:return}}},2259:(Be,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:(Be,Q,m)=>{const t=m(4792).getSymbolSize;Q.getPositions=function(A){const s=t(A);return[[0,0],[s-7,0],[0,s-7]]}},7078:(Be,Q,m)=>{const t=m(4792),A=t.getBCHDigit(1335);Q.getEncodedBits=function(C,h){const P=C.bit<<3|h;let d=P<<10;for(;t.getBCHDigit(d)-A>=0;)d^=1335<<t.getBCHDigit(d)-A;return 21522^(P<<10|d)}},5339:(Be,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:(Be,Q,m)=>{const t=m(4016),e=m(4792);function g(A){this.mode=t.KANJI,this.data=A}g.getBitsLength=function(s){return 13*s},g.prototype.getLength=function(){return this.data.length},g.prototype.getBitsLength=function(){return g.getBitsLength(this.data.length)},g.prototype.write=function(A){let s;for(s=0;s<this.data.length;s++){let C=e.toSJIS(this.data[s]);if(C>=33088&&C<=40956)C-=33088;else{if(!(C>=57408&&C<=60351))throw new Error("Invalid SJIS character: "+this.data[s]+"\nMake sure your charset is UTF-8");C-=49472}C=192*(C>>>8&255)+(255&C),A.put(C,13)}},Be.exports=g},3667:(Be,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 s=0,C=0,h=0,P=null,d=null;for(let M=0;M<A;M++){C=h=0,P=d=null;for(let w=0;w<A;w++){let I=g.get(M,w);I===P?C++:(C>=5&&(s+=C-5+3),P=I,C=1),I=g.get(w,M),I===d?h++:(h>=5&&(s+=h-5+3),d=I,h=1)}C>=5&&(s+=C-5+3),h>=5&&(s+=h-5+3)}return s},Q.getPenaltyN2=function(g){const A=g.size;let s=0;for(let C=0;C<A-1;C++)for(let h=0;h<A-1;h++){const P=g.get(C,h)+g.get(C,h+1)+g.get(C+1,h)+g.get(C+1,h+1);(4===P||0===P)&&s++}return 3*s},Q.getPenaltyN3=function(g){const A=g.size;let s=0,C=0,h=0;for(let P=0;P<A;P++){C=h=0;for(let d=0;d<A;d++)C=C<<1&2047|g.get(P,d),d>=10&&(1488===C||93===C)&&s++,h=h<<1&2047|g.get(d,P),d>=10&&(1488===h||93===h)&&s++}return 40*s},Q.getPenaltyN4=function(g){let A=0;const s=g.data.length;for(let h=0;h<s;h++)A+=g.data[h];return 10*Math.abs(Math.ceil(100*A/s/5)-10)},Q.applyMask=function(g,A){const s=A.size;for(let C=0;C<s;C++)for(let h=0;h<s;h++)A.isReserved(h,C)||A.xor(h,C,t(g,h,C))},Q.getBestMask=function(g,A){const s=Object.keys(Q.Patterns).length;let C=0,h=1/0;for(let P=0;P<s;P++){A(P),Q.applyMask(P,g);const d=Q.getPenaltyN1(g)+Q.getPenaltyN2(g)+Q.getPenaltyN3(g)+Q.getPenaltyN4(g);Q.applyMask(P,g),d<h&&(h=d,C=P)}return C}},4016:(Be,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(s,C){if(!s.ccBits)throw new Error("Invalid mode: "+s);if(!t.isValid(C))throw new Error("Invalid version: "+C);return C>=1&&C<10?s.ccBits[0]:C<27?s.ccBits[1]:s.ccBits[2]},Q.getBestModeForData=function(s){return e.testNumeric(s)?Q.NUMERIC:e.testAlphanumeric(s)?Q.ALPHANUMERIC:e.testKanji(s)?Q.KANJI:Q.BYTE},Q.toString=function(s){if(s&&s.id)return s.id;throw new Error("Invalid mode")},Q.isValid=function(s){return s&&s.bit&&s.ccBits},Q.from=function(s,C){if(Q.isValid(s))return s;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)}}(s)}catch{return C}}},7783:(Be,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 s,C,h;for(s=0;s+3<=this.data.length;s+=3)C=this.data.substr(s,3),h=parseInt(C,10),A.put(h,10);const P=this.data.length-s;P>0&&(C=this.data.substr(s),h=parseInt(C,10),A.put(h,3*P+1))},Be.exports=e},1106:(Be,Q,m)=>{const t=m(5339);Q.mul=function(g,A){const s=new Uint8Array(g.length+A.length-1);for(let C=0;C<g.length;C++)for(let h=0;h<A.length;h++)s[C+h]^=t.mul(g[C],A[h]);return s},Q.mod=function(g,A){let s=new Uint8Array(g);for(;s.length-A.length>=0;){const C=s[0];for(let P=0;P<A.length;P++)s[P]^=t.mul(A[P],C);let h=0;for(;h<s.length&&0===s[h];)h++;s=s.slice(h)}return s},Q.generateECPolynomial=function(g){let A=new Uint8Array([1]);for(let s=0;s<g;s++)A=Q.mul(A,new Uint8Array([1,t.exp(s)]));return A}},1465:(Be,Q,m)=>{const t=m(4792),e=m(2259),g=m(2118),A=m(4425),s=m(6221),C=m(3114),h=m(3667),P=m(4655),d=m(2636),M=m(2088),w=m(7078),I=m(4016),k=m(2033);function K(re,ce,se){const he=re.size,S=w.getEncodedBits(ce,se);let i,a;for(i=0;i<15;i++)a=1==(S>>i&1),re.set(i<6?i:i<8?i+1:he-15+i,8,a,!0),re.set(8,i<8?he-i-1:i<9?15-i-1+1:15-i-1,a,!0);re.set(he-8,8,1,!0)}function oe(re,ce,se,he){let S;if(Array.isArray(re))S=k.fromArray(re);else{if("string"!=typeof re)throw new Error("Invalid data");{let y=ce;if(!y){const E=k.rawSplit(re);y=M.getBestVersionForData(E,se)}S=k.fromString(re,y||40)}}const i=M.getBestVersionForData(S,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 a=function te(re,ce,se){const he=new g;se.forEach(function(l){he.put(l.mode.bit,4),he.put(l.getLength(),I.getCharCountIndicator(l.mode,re)),l.write(he)});const a=8*(t.getSymbolTotalCodewords(re)-P.getTotalCodewordsCount(re,ce));for(he.getLengthInBits()+4<=a&&he.put(0,4);he.getLengthInBits()%8!=0;)he.putBit(0);const f=(a-he.getLengthInBits())/8;for(let l=0;l<f;l++)he.put(l%2?17:236,8);return function pe(re,ce,se){const he=t.getSymbolTotalCodewords(ce),i=he-P.getTotalCodewordsCount(ce,se),a=P.getBlocksCount(ce,se),l=a-he%a,y=Math.floor(he/a),E=Math.floor(i/a),D=E+1,v=y-E,n=new d(v);let b=0;const V=new Array(a),z=new Array(a);let Y=0;const Te=new Uint8Array(re.buffer);for(let we=0;we<a;we++){const me=we<l?E:D;V[we]=Te.slice(b,b+me),z[we]=n.encode(V[we]),b+=me,Y=Math.max(Y,me)}const $e=new Uint8Array(he);let We,Re,Ve=0;for(We=0;We<Y;We++)for(Re=0;Re<a;Re++)We<V[Re].length&&($e[Ve++]=V[Re][We]);for(We=0;We<v;We++)for(Re=0;Re<a;Re++)$e[Ve++]=z[Re][We];return $e}(he,re,ce)}(ce,se,S),f=t.getSymbolSize(ce),l=new A(f);return function O(re,ce){const se=re.size,he=C.getPositions(ce);for(let S=0;S<he.length;S++){const i=he[S][0],a=he[S][1];for(let f=-1;f<=7;f++)if(!(i+f<=-1||se<=i+f))for(let l=-1;l<=7;l++)a+l<=-1||se<=a+l||re.set(i+f,a+l,f>=0&&f<=6&&(0===l||6===l)||l>=0&&l<=6&&(0===f||6===f)||f>=2&&f<=4&&l>=2&&l<=4,!0)}}(l,ce),function U(re){const ce=re.size;for(let se=8;se<ce-8;se++){const he=se%2==0;re.set(se,6,he,!0),re.set(6,se,he,!0)}}(l),function Z(re,ce){const se=s.getPositions(ce);for(let he=0;he<se.length;he++){const S=se[he][0],i=se[he][1];for(let a=-2;a<=2;a++)for(let f=-2;f<=2;f++)re.set(S+a,i+f,-2===a||2===a||-2===f||2===f||0===a&&0===f,!0)}}(l,ce),K(l,se,0),ce>=7&&function W(re,ce){const se=re.size,he=M.getEncodedBits(ce);let S,i,a;for(let f=0;f<18;f++)S=Math.floor(f/3),i=f%3+se-8-3,a=1==(he>>f&1),re.set(S,i,a,!0),re.set(i,S,a,!0)}(l,ce),function q(re,ce){const se=re.size;let he=-1,S=se-1,i=7,a=0;for(let f=se-1;f>0;f-=2)for(6===f&&f--;;){for(let l=0;l<2;l++)if(!re.isReserved(S,f-l)){let y=!1;a<ce.length&&(y=1==(ce[a]>>>i&1)),re.set(S,f-l,y),i--,-1===i&&(a++,i=7)}if(S+=he,S<0||se<=S){S-=he,he=-he;break}}}(l,a),isNaN(he)&&(he=h.getBestMask(l,K.bind(null,l,se))),h.applyMask(he,l),K(l,se,he),{modules:l,version:ce,errorCorrectionLevel:se,maskPattern:he,segments:S}}Q.create=function(ce,se){if(typeof ce>"u"||""===ce)throw new Error("No input text");let S,i,he=e.M;return typeof se<"u"&&(he=e.from(se.errorCorrectionLevel,e.M),S=M.from(se.version),i=h.from(se.maskPattern),se.toSJISFunc&&t.setToSJISFunction(se.toSJISFunc)),oe(ce,S,he,i)}},2636:(Be,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 s=new Uint8Array(A.length+this.degree);s.set(A);const C=t.mod(s,this.genPoly),h=this.degree-C.length;if(h>0){const P=new Uint8Array(this.degree);return P.set(C,h),P}return C},Be.exports=e},2699:(Be,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+"$"),s=new RegExp("^"+m+"$"),C=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Q.testKanji=function(P){return A.test(P)},Q.testNumeric=function(P){return s.test(P)},Q.testAlphanumeric=function(P){return C.test(P)}},2033:(Be,Q,m)=>{const t=m(4016),e=m(7783),g=m(2424),A=m(5663),s=m(449),C=m(2699),h=m(4792),P=m(4901);function d(W){return unescape(encodeURIComponent(W)).length}function M(W,K,q){const te=[];let pe;for(;null!==(pe=W.exec(q));)te.push({data:pe[0],index:pe.index,mode:K,length:pe[0].length});return te}function w(W){const K=M(C.NUMERIC,t.NUMERIC,W),q=M(C.ALPHANUMERIC,t.ALPHANUMERIC,W);let te,pe;return h.isKanjiModeEnabled()?(te=M(C.BYTE,t.BYTE,W),pe=M(C.KANJI,t.KANJI,W)):(te=M(C.BYTE_KANJI,t.BYTE,W),pe=[]),K.concat(q,te,pe).sort(function(re,ce){return re.index-ce.index}).map(function(re){return{data:re.data,mode:re.mode,length:re.length}})}function I(W,K){switch(K){case t.NUMERIC:return e.getBitsLength(W);case t.ALPHANUMERIC:return g.getBitsLength(W);case t.KANJI:return s.getBitsLength(W);case t.BYTE:return A.getBitsLength(W)}}function Z(W,K){let q;const te=t.getBestModeForData(W);if(q=t.from(K,te),q!==t.BYTE&&q.bit<te.bit)throw new Error('"'+W+'" cannot be encoded with mode '+t.toString(q)+".\n Suggested mode is: "+t.toString(te));switch(q===t.KANJI&&!h.isKanjiModeEnabled()&&(q=t.BYTE),q){case t.NUMERIC:return new e(W);case t.ALPHANUMERIC:return new g(W);case t.KANJI:return new s(W);case t.BYTE:return new A(W)}}Q.fromArray=function(K){return K.reduce(function(q,te){return"string"==typeof te?q.push(Z(te,null)):te.data&&q.push(Z(te.data,te.mode)),q},[])},Q.fromString=function(K,q){const pe=function O(W){const K=[];for(let q=0;q<W.length;q++){const te=W[q];switch(te.mode){case t.NUMERIC:K.push([te,{data:te.data,mode:t.ALPHANUMERIC,length:te.length},{data:te.data,mode:t.BYTE,length:te.length}]);break;case t.ALPHANUMERIC:K.push([te,{data:te.data,mode:t.BYTE,length:te.length}]);break;case t.KANJI:K.push([te,{data:te.data,mode:t.BYTE,length:d(te.data)}]);break;case t.BYTE:K.push([{data:te.data,mode:t.BYTE,length:d(te.data)}])}}return K}(w(K,h.isKanjiModeEnabled())),oe=function U(W,K){const q={},te={start:{}};let pe=["start"];for(let oe=0;oe<W.length;oe++){const re=W[oe],ce=[];for(let se=0;se<re.length;se++){const he=re[se],S=""+oe+se;ce.push(S),q[S]={node:he,lastCount:0},te[S]={};for(let i=0;i<pe.length;i++){const a=pe[i];q[a]&&q[a].node.mode===he.mode?(te[a][S]=I(q[a].lastCount+he.length,he.mode)-I(q[a].lastCount,he.mode),q[a].lastCount+=he.length):(q[a]&&(q[a].lastCount=he.length),te[a][S]=I(he.length,he.mode)+4+t.getCharCountIndicator(he.mode,K))}}pe=ce}for(let oe=0;oe<pe.length;oe++)te[pe[oe]].end=0;return{map:te,table:q}}(pe,q),re=P.find_path(oe.map,"start","end"),ce=[];for(let se=1;se<re.length-1;se++)ce.push(oe.table[re[se]].node);return Q.fromArray(function k(W){return W.reduce(function(K,q){const te=K.length-1>=0?K[K.length-1]:null;return te&&te.mode===q.mode?(K[K.length-1].data+=q.data,K):(K.push(q),K)},[])}(ce))},Q.rawSplit=function(K){return Q.fromArray(w(K,h.isKanjiModeEnabled()))}},4792:(Be,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:(Be,Q)=>{Q.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},2088:(Be,Q,m)=>{const t=m(4792),e=m(4655),g=m(2259),A=m(4016),s=m(4406),h=t.getBCHDigit(7973);function d(I,k){return A.getCharCountIndicator(I,k)+4}function M(I,k){let O=0;return I.forEach(function(U){const Z=d(U.mode,k);O+=Z+U.getBitsLength()}),O}Q.from=function(k,O){return s.isValid(k)?parseInt(k,10):O},Q.getCapacity=function(k,O,U){if(!s.isValid(k))throw new Error("Invalid QR Code version");typeof U>"u"&&(U=A.BYTE);const K=8*(t.getSymbolTotalCodewords(k)-e.getTotalCodewordsCount(k,O));if(U===A.MIXED)return K;const q=K-d(U,k);switch(U){case A.NUMERIC:return Math.floor(q/10*3);case A.ALPHANUMERIC:return Math.floor(q/11*2);case A.KANJI:return Math.floor(q/13);default:return Math.floor(q/8)}},Q.getBestVersionForData=function(k,O){let U;const Z=g.from(O,g.M);if(Array.isArray(k)){if(k.length>1)return function w(I,k){for(let O=1;O<=40;O++)if(M(I,O)<=Q.getCapacity(O,k,A.MIXED))return O}(k,Z);if(0===k.length)return 1;U=k[0]}else U=k;return function P(I,k,O){for(let U=1;U<=40;U++)if(k<=Q.getCapacity(U,O,I))return U}(U.mode,U.getLength(),Z)},Q.getEncodedBits=function(k){if(!s.isValid(k)||k<7)throw new Error("Invalid QR Code version");let O=k<<12;for(;t.getBCHDigit(O)-h>=0;)O^=7973<<t.getBCHDigit(O)-h;return k<<12|O}},3210:(Be,Q,m)=>{const t=m(6355);Q.render=function(s,C,h){let P=h,d=C;typeof P>"u"&&(!C||!C.getContext)&&(P=C,C=void 0),C||(d=function g(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),P=t.getOptions(P);const M=t.getImageWidth(s.modules.size,P),w=d.getContext("2d"),I=w.createImageData(M,M);return t.qrToImageData(I.data,s,P),function e(A,s,C){A.clearRect(0,0,s.width,s.height),s.style||(s.style={}),s.height=C,s.width=C,s.style.height=C+"px",s.style.width=C+"px"}(w,d,M),w.putImageData(I,0,0),d},Q.renderToDataURL=function(s,C,h){let P=h;return typeof P>"u"&&(!C||!C.getContext)&&(P=C,C=void 0),P||(P={}),Q.render(s,C,P).toDataURL(P.type||"image/png",(P.rendererOpts||{}).quality)}},2334:(Be,Q,m)=>{const t=m(6355);function e(s,C){const h=s.a/255,P=C+'="'+s.hex+'"';return h<1?P+" "+C+'-opacity="'+h.toFixed(2).slice(1)+'"':P}function g(s,C,h){let P=s+C;return typeof h<"u"&&(P+=" "+h),P}Q.render=function(C,h,P){const d=t.getOptions(h),M=C.modules.size,w=C.modules.data,I=M+2*d.margin,k=d.color.light.a?"<path "+e(d.color.light,"fill")+' d="M0 0h'+I+"v"+I+'H0z"/>':"",O="<path "+e(d.color.dark,"stroke")+' d="'+function A(s,C,h){let P="",d=0,M=!1,w=0;for(let I=0;I<s.length;I++){const k=Math.floor(I%C),O=Math.floor(I/C);!k&&!M&&(M=!0),s[I]?(w++,I>0&&k>0&&s[I-1]||(P+=M?g("M",k+h,.5+O+h):g("m",d,0),d=0,M=!1),k+1<C&&s[I+1]||(P+=g("h",w),w=0)):d++}return P}(w,M,d.margin)+'"/>',W='<svg xmlns="http://www.w3.org/2000/svg" '+(d.width?'width="'+d.width+'" height="'+d.width+'" ':"")+'viewBox="0 0 '+I+" "+I+'" shape-rendering="crispEdges">'+k+O+"</svg>\n";return"function"==typeof P&&P(null,W),W}},6355:(Be,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 s=g.modules.size,C=g.modules.data,h=Q.getScale(s,A),P=Math.floor((s+2*A.margin)*h),d=A.margin*h,M=[A.color.light,A.color.dark];for(let w=0;w<P;w++)for(let I=0;I<P;I++){let k=4*(w*P+I),O=A.color.light;w>=d&&I>=d&&w<P-d&&I<P-d&&(O=M[C[Math.floor((w-d)/h)*s+Math.floor((I-d)/h)]?1:0]),e[k++]=O.r,e[k++]=O.g,e[k++]=O.b,e[k]=O.a}}},3753:(Be,Q,m)=>{"use strict";var t=65536,A=m(3502).Buffer,s=global.crypto||global.msCrypto;Be.exports=s&&s.getRandomValues?function C(h,P){if(h>4294967295)throw new RangeError("requested too many random bytes");var d=A.allocUnsafe(h);if(h>0)if(h>t)for(var M=0;M<h;M+=t)s.getRandomValues(d.slice(M,M+t));else s.getRandomValues(d);return"function"==typeof P?process.nextTick(function(){P(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:(Be,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,s=e.kMaxLength,C=global.crypto||global.msCrypto,h=Math.pow(2,32)-1;function P(k,O){if("number"!=typeof k||k!=k)throw new TypeError("offset must be a number");if(k>h||k<0)throw new TypeError("offset must be a uint32");if(k>s||k>O)throw new RangeError("offset out of range")}function d(k,O,U){if("number"!=typeof k||k!=k)throw new TypeError("size must be a number");if(k>h||k<0)throw new TypeError("size must be a uint32");if(k+O>U||k>s)throw new RangeError("buffer too small")}function w(k,O,U,Z){if(process.browser){var K=new Uint8Array(k.buffer,O,U);return C.getRandomValues(K),Z?void process.nextTick(function(){Z(null,k)}):k}if(!Z)return g(U).copy(k,O),k;g(U,function(te,pe){if(te)return Z(te);pe.copy(k,O),Z(null,k)})}C&&C.getRandomValues||!process.browser?(Q.randomFill=function M(k,O,U,Z){if(!(A.isBuffer(k)||k instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof O)Z=O,O=0,U=k.length;else if("function"==typeof U)Z=U,U=k.length-O;else if("function"!=typeof Z)throw new TypeError('"cb" argument must be a function');return P(O,k.length),d(U,O,k.length),w(k,O,U,Z)},Q.randomFillSync=function I(k,O,U){if(typeof O>"u"&&(O=0),!(A.isBuffer(k)||k instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return P(O,k.length),void 0===U&&(U=k.length-O),d(U,O,k.length),w(k,O,U)}):(Q.randomFill=t,Q.randomFillSync=t)},891:Be=>{"use strict";var m={};function t(C,h,P){P||(P=Error);var M=function(w){function I(k,O,U){return w.call(this,function d(w,I,k){return"string"==typeof h?h:h(w,I,k)}(k,O,U))||this}return function Q(C,h){C.prototype=Object.create(h.prototype),C.prototype.constructor=C,C.__proto__=h}(I,w),I}(P);M.prototype.name=P.name,M.prototype.code=C,m[C]=M}function e(C,h){if(Array.isArray(C)){var P=C.length;return C=C.map(function(d){return String(d)}),P>2?"one of ".concat(h," ").concat(C.slice(0,P-1).join(", "),", or ")+C[P-1]:2===P?"one of ".concat(h," ").concat(C[0]," or ").concat(C[1]):"of ".concat(h," ").concat(C[0])}return"of ".concat(h," ").concat(String(C))}t("ERR_INVALID_OPT_VALUE",function(C,h){return'The value "'+h+'" is invalid for option "'+C+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(C,h,P){var d,M;if("string"==typeof h&&function g(C,h,P){return C.substr(!P||P<0?0:+P,h.length)===h}(h,"not ")?(d="must not be",h=h.replace(/^not /,"")):d="must be",function A(C,h,P){return(void 0===P||P>C.length)&&(P=C.length),C.substring(P-h.length,P)===h}(C," argument"))M="The ".concat(C," ").concat(d," ").concat(e(h,"type"));else{var w=function s(C,h,P){return"number"!=typeof P&&(P=0),!(P+h.length>C.length)&&-1!==C.indexOf(h,P)}(C,".")?"property":"argument";M='The "'.concat(C,'" ').concat(w," ").concat(d," ").concat(e(h,"type"))}return M+". Received type ".concat(typeof P)},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"),Be.exports.q=m},1339:(Be,Q,m)=>{"use strict";var t=Object.keys||function(M){var w=[];for(var I in M)w.push(I);return w};Be.exports=h;var e=m(3154),g=m(520);m(3894)(h,e);for(var A=t(g.prototype),s=0;s<A.length;s++){var C=A[s];h.prototype[C]||(h.prototype[C]=g.prototype[C])}function h(M){if(!(this instanceof h))return new h(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",P)))}function P(){this._writableState.ended||process.nextTick(d,this)}function d(M){M.end()}Object.defineProperty(h.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(h.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(h.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(h.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:(Be,Q,m)=>{"use strict";Be.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,s){s(null,g)}},3154:(Be,Q,m)=>{"use strict";var t;Be.exports=S,S.ReadableState=he,m(9069);var M,g=function(Ze,Oe){return Ze.listeners(Oe).length},A=m(4970),s=m(3172).Buffer,C=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},d=m(4616);M=d&&d.debuglog?d.debuglog("stream"):function(){};var te,pe,oe,w=m(5019),I=m(1920),O=m(7102).getHighWaterMark,U=m(891).q,Z=U.ERR_INVALID_ARG_TYPE,W=U.ERR_STREAM_PUSH_AFTER_EOF,K=U.ERR_METHOD_NOT_IMPLEMENTED,q=U.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;m(3894)(S,A);var re=I.errorOrDestroy,ce=["error","close","destroy","pause","resume"];function he(ee,Ze,Oe){t=t||m(1339),"boolean"!=typeof Oe&&(Oe=Ze instanceof t),this.objectMode=!!(ee=ee||{}).objectMode,Oe&&(this.objectMode=this.objectMode||!!ee.readableObjectMode),this.highWaterMark=O(this,ee,"readableHighWaterMark",Oe),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!==ee.emitClose,this.autoDestroy=!!ee.autoDestroy,this.destroyed=!1,this.defaultEncoding=ee.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ee.encoding&&(te||(te=m(3054).s),this.decoder=new te(ee.encoding),this.encoding=ee.encoding)}function S(ee){if(t=t||m(1339),!(this instanceof S))return new S(ee);this._readableState=new he(ee,this,this instanceof t),this.readable=!0,ee&&("function"==typeof ee.read&&(this._read=ee.read),"function"==typeof ee.destroy&&(this._destroy=ee.destroy)),A.call(this)}function i(ee,Ze,Oe,fe,Se){M("readableAddChunk",Ze);var xe,ge=ee._readableState;if(null===Ze)ge.reading=!1,function D(ee,Ze){if(M("onEofChunk"),!Ze.ended){if(Ze.decoder){var Oe=Ze.decoder.end();Oe&&Oe.length&&(Ze.buffer.push(Oe),Ze.length+=Ze.objectMode?1:Oe.length)}Ze.ended=!0,Ze.sync?v(ee):(Ze.needReadable=!1,Ze.emittedReadable||(Ze.emittedReadable=!0,n(ee)))}}(ee,ge);else if(Se||(xe=function f(ee,Ze){var Oe;return!function P(ee){return s.isBuffer(ee)||ee instanceof C}(Ze)&&"string"!=typeof Ze&&void 0!==Ze&&!ee.objectMode&&(Oe=new Z("chunk",["string","Buffer","Uint8Array"],Ze)),Oe}(ge,Ze)),xe)re(ee,xe);else if(ge.objectMode||Ze&&Ze.length>0)if("string"!=typeof Ze&&!ge.objectMode&&Object.getPrototypeOf(Ze)!==s.prototype&&(Ze=function h(ee){return s.from(ee)}(Ze)),fe)ge.endEmitted?re(ee,new q):a(ee,ge,Ze,!0);else if(ge.ended)re(ee,new W);else{if(ge.destroyed)return!1;ge.reading=!1,ge.decoder&&!Oe?(Ze=ge.decoder.write(Ze),ge.objectMode||0!==Ze.length?a(ee,ge,Ze,!1):b(ee,ge)):a(ee,ge,Ze,!1)}else fe||(ge.reading=!1,b(ee,ge));return!ge.ended&&(ge.length<ge.highWaterMark||0===ge.length)}function a(ee,Ze,Oe,fe){Ze.flowing&&0===Ze.length&&!Ze.sync?(Ze.awaitDrain=0,ee.emit("data",Oe)):(Ze.length+=Ze.objectMode?1:Oe.length,fe?Ze.buffer.unshift(Oe):Ze.buffer.push(Oe),Ze.needReadable&&v(ee)),b(ee,Ze)}Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(Ze){this._readableState&&(this._readableState.destroyed=Ze)}}),S.prototype.destroy=I.destroy,S.prototype._undestroy=I.undestroy,S.prototype._destroy=function(ee,Ze){Ze(ee)},S.prototype.push=function(ee,Ze){var fe,Oe=this._readableState;return Oe.objectMode?fe=!0:"string"==typeof ee&&((Ze=Ze||Oe.defaultEncoding)!==Oe.encoding&&(ee=s.from(ee,Ze),Ze=""),fe=!0),i(this,ee,Ze,!1,fe)},S.prototype.unshift=function(ee){return i(this,ee,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(ee){te||(te=m(3054).s);var Ze=new te(ee);this._readableState.decoder=Ze,this._readableState.encoding=this._readableState.decoder.encoding;for(var Oe=this._readableState.buffer.head,fe="";null!==Oe;)fe+=Ze.write(Oe.data),Oe=Oe.next;return this._readableState.buffer.clear(),""!==fe&&this._readableState.buffer.push(fe),this._readableState.length=fe.length,this};var l=1073741824;function E(ee,Ze){return ee<=0||0===Ze.length&&Ze.ended?0:Ze.objectMode?1:ee!=ee?Ze.flowing&&Ze.length?Ze.buffer.head.data.length:Ze.length:(ee>Ze.highWaterMark&&(Ze.highWaterMark=function y(ee){return ee>=l?ee=l:(ee--,ee|=ee>>>1,ee|=ee>>>2,ee|=ee>>>4,ee|=ee>>>8,ee|=ee>>>16,ee++),ee}(ee)),ee<=Ze.length?ee:Ze.ended?Ze.length:(Ze.needReadable=!0,0))}function v(ee){var Ze=ee._readableState;M("emitReadable",Ze.needReadable,Ze.emittedReadable),Ze.needReadable=!1,Ze.emittedReadable||(M("emitReadable",Ze.flowing),Ze.emittedReadable=!0,process.nextTick(n,ee))}function n(ee){var Ze=ee._readableState;M("emitReadable_",Ze.destroyed,Ze.length,Ze.ended),!Ze.destroyed&&(Ze.length||Ze.ended)&&(ee.emit("readable"),Ze.emittedReadable=!1),Ze.needReadable=!Ze.flowing&&!Ze.ended&&Ze.length<=Ze.highWaterMark,We(ee)}function b(ee,Ze){Ze.readingMore||(Ze.readingMore=!0,process.nextTick(V,ee,Ze))}function V(ee,Ze){for(;!Ze.reading&&!Ze.ended&&(Ze.length<Ze.highWaterMark||Ze.flowing&&0===Ze.length);){var Oe=Ze.length;if(M("maybeReadMore read 0"),ee.read(0),Oe===Ze.length)break}Ze.readingMore=!1}function Y(ee){var Ze=ee._readableState;Ze.readableListening=ee.listenerCount("readable")>0,Ze.resumeScheduled&&!Ze.paused?Ze.flowing=!0:ee.listenerCount("data")>0&&ee.resume()}function Te(ee){M("readable nexttick read 0"),ee.read(0)}function Ve(ee,Ze){M("resume",Ze.reading),Ze.reading||ee.read(0),Ze.resumeScheduled=!1,ee.emit("resume"),We(ee),Ze.flowing&&!Ze.reading&&ee.read(0)}function We(ee){var Ze=ee._readableState;for(M("flow",Ze.flowing);Ze.flowing&&null!==ee.read(););}function Re(ee,Ze){return 0===Ze.length?null:(Ze.objectMode?Oe=Ze.buffer.shift():!ee||ee>=Ze.length?(Oe=Ze.decoder?Ze.buffer.join(""):1===Ze.buffer.length?Ze.buffer.first():Ze.buffer.concat(Ze.length),Ze.buffer.clear()):Oe=Ze.buffer.consume(ee,Ze.decoder),Oe);var Oe}function we(ee){var Ze=ee._readableState;M("endReadable",Ze.endEmitted),Ze.endEmitted||(Ze.ended=!0,process.nextTick(me,Ze,ee))}function me(ee,Ze){if(M("endReadableNT",ee.endEmitted,ee.length),!ee.endEmitted&&0===ee.length&&(ee.endEmitted=!0,Ze.readable=!1,Ze.emit("end"),ee.autoDestroy)){var Oe=Ze._writableState;(!Oe||Oe.autoDestroy&&Oe.finished)&&Ze.destroy()}}function Ae(ee,Ze){for(var Oe=0,fe=ee.length;Oe<fe;Oe++)if(ee[Oe]===Ze)return Oe;return-1}S.prototype.read=function(ee){M("read",ee),ee=parseInt(ee,10);var Ze=this._readableState,Oe=ee;if(0!==ee&&(Ze.emittedReadable=!1),0===ee&&Ze.needReadable&&((0!==Ze.highWaterMark?Ze.length>=Ze.highWaterMark:Ze.length>0)||Ze.ended))return M("read: emitReadable",Ze.length,Ze.ended),0===Ze.length&&Ze.ended?we(this):v(this),null;if(0===(ee=E(ee,Ze))&&Ze.ended)return 0===Ze.length&&we(this),null;var Se,fe=Ze.needReadable;return M("need readable",fe),(0===Ze.length||Ze.length-ee<Ze.highWaterMark)&&M("length less than watermark",fe=!0),Ze.ended||Ze.reading?M("reading or ended",fe=!1):fe&&(M("do read"),Ze.reading=!0,Ze.sync=!0,0===Ze.length&&(Ze.needReadable=!0),this._read(Ze.highWaterMark),Ze.sync=!1,Ze.reading||(ee=E(Oe,Ze))),null===(Se=ee>0?Re(ee,Ze):null)?(Ze.needReadable=Ze.length<=Ze.highWaterMark,ee=0):(Ze.length-=ee,Ze.awaitDrain=0),0===Ze.length&&(Ze.ended||(Ze.needReadable=!0),Oe!==ee&&Ze.ended&&we(this)),null!==Se&&this.emit("data",Se),Se},S.prototype._read=function(ee){re(this,new K("_read()"))},S.prototype.pipe=function(ee,Ze){var Oe=this,fe=this._readableState;switch(fe.pipesCount){case 0:fe.pipes=ee;break;case 1:fe.pipes=[fe.pipes,ee];break;default:fe.pipes.push(ee)}fe.pipesCount+=1,M("pipe count=%d opts=%j",fe.pipesCount,Ze);var ge=Ze&&!1===Ze.end||ee===process.stdout||ee===process.stderr?at:vt;function vt(){M("onend"),ee.end()}fe.endEmitted?process.nextTick(ge):Oe.once("end",ge),ee.on("unpipe",function xe(Ct,ye){M("onunpipe"),Ct===Oe&&ye&&!1===ye.hasUnpiped&&(ye.hasUnpiped=!0,function rt(){M("cleanup"),ee.removeListener("close",Nt),ee.removeListener("finish",Ke),ee.removeListener("drain",Ie),ee.removeListener("error",lt),ee.removeListener("unpipe",xe),Oe.removeListener("end",vt),Oe.removeListener("end",at),Oe.removeListener("data",je),de=!0,fe.awaitDrain&&(!ee._writableState||ee._writableState.needDrain)&&Ie()}())});var Ie=function z(ee){return function(){var Oe=ee._readableState;M("pipeOnDrain",Oe.awaitDrain),Oe.awaitDrain&&Oe.awaitDrain--,0===Oe.awaitDrain&&g(ee,"data")&&(Oe.flowing=!0,We(ee))}}(Oe);ee.on("drain",Ie);var de=!1;function je(Ct){M("ondata");var ye=ee.write(Ct);M("dest.write",ye),!1===ye&&((1===fe.pipesCount&&fe.pipes===ee||fe.pipesCount>1&&-1!==Ae(fe.pipes,ee))&&!de&&(M("false write response, pause",fe.awaitDrain),fe.awaitDrain++),Oe.pause())}function lt(Ct){M("onerror",Ct),at(),ee.removeListener("error",lt),0===g(ee,"error")&&re(ee,Ct)}function Nt(){ee.removeListener("finish",Ke),at()}function Ke(){M("onfinish"),ee.removeListener("close",Nt),at()}function at(){M("unpipe"),Oe.unpipe(ee)}return Oe.on("data",je),function se(ee,Ze,Oe){if("function"==typeof ee.prependListener)return ee.prependListener(Ze,Oe);ee._events&&ee._events[Ze]?Array.isArray(ee._events[Ze])?ee._events[Ze].unshift(Oe):ee._events[Ze]=[Oe,ee._events[Ze]]:ee.on(Ze,Oe)}(ee,"error",lt),ee.once("close",Nt),ee.once("finish",Ke),ee.emit("pipe",Oe),fe.flowing||(M("pipe resume"),Oe.resume()),ee},S.prototype.unpipe=function(ee){var Ze=this._readableState,Oe={hasUnpiped:!1};if(0===Ze.pipesCount)return this;if(1===Ze.pipesCount)return ee&&ee!==Ze.pipes||(ee||(ee=Ze.pipes),Ze.pipes=null,Ze.pipesCount=0,Ze.flowing=!1,ee&&ee.emit("unpipe",this,Oe)),this;if(!ee){var fe=Ze.pipes,Se=Ze.pipesCount;Ze.pipes=null,Ze.pipesCount=0,Ze.flowing=!1;for(var ge=0;ge<Se;ge++)fe[ge].emit("unpipe",this,{hasUnpiped:!1});return this}var xe=Ae(Ze.pipes,ee);return-1===xe||(Ze.pipes.splice(xe,1),Ze.pipesCount-=1,1===Ze.pipesCount&&(Ze.pipes=Ze.pipes[0]),ee.emit("unpipe",this,Oe)),this},S.prototype.addListener=S.prototype.on=function(ee,Ze){var Oe=A.prototype.on.call(this,ee,Ze),fe=this._readableState;return"data"===ee?(fe.readableListening=this.listenerCount("readable")>0,!1!==fe.flowing&&this.resume()):"readable"===ee&&!fe.endEmitted&&!fe.readableListening&&(fe.readableListening=fe.needReadable=!0,fe.flowing=!1,fe.emittedReadable=!1,M("on readable",fe.length,fe.reading),fe.length?v(this):fe.reading||process.nextTick(Te,this)),Oe},S.prototype.removeListener=function(ee,Ze){var Oe=A.prototype.removeListener.call(this,ee,Ze);return"readable"===ee&&process.nextTick(Y,this),Oe},S.prototype.removeAllListeners=function(ee){var Ze=A.prototype.removeAllListeners.apply(this,arguments);return("readable"===ee||void 0===ee)&&process.nextTick(Y,this),Ze},S.prototype.resume=function(){var ee=this._readableState;return ee.flowing||(M("resume"),ee.flowing=!ee.readableListening,function $e(ee,Ze){Ze.resumeScheduled||(Ze.resumeScheduled=!0,process.nextTick(Ve,ee,Ze))}(this,ee)),ee.paused=!1,this},S.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},S.prototype.wrap=function(ee){var Ze=this,Oe=this._readableState,fe=!1;for(var Se in ee.on("end",function(){if(M("wrapped end"),Oe.decoder&&!Oe.ended){var xe=Oe.decoder.end();xe&&xe.length&&Ze.push(xe)}Ze.push(null)}),ee.on("data",function(xe){M("wrapped data"),Oe.decoder&&(xe=Oe.decoder.write(xe)),Oe.objectMode&&null==xe||!(Oe.objectMode||xe&&xe.length)||Ze.push(xe)||(fe=!0,ee.pause())}),ee)void 0===this[Se]&&"function"==typeof ee[Se]&&(this[Se]=function(vt){return function(){return ee[vt].apply(ee,arguments)}}(Se));for(var ge=0;ge<ce.length;ge++)ee.on(ce[ge],this.emit.bind(this,ce[ge]));return this._read=function(xe){M("wrapped _read",xe),fe&&(fe=!1,ee.resume())},this},"function"==typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return void 0===pe&&(pe=m(3872)),pe(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Ze){this._readableState&&(this._readableState.flowing=Ze)}}),S._fromList=Re,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(S.from=function(ee,Ze){return void 0===oe&&(oe=m(7412)),oe(S,ee,Ze)})},6025:(Be,Q,m)=>{"use strict";Be.exports=P;var t=m(891).q,e=t.ERR_METHOD_NOT_IMPLEMENTED,g=t.ERR_MULTIPLE_CALLBACK,A=t.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=t.ERR_TRANSFORM_WITH_LENGTH_0,C=m(1339);function h(w,I){var k=this._transformState;k.transforming=!1;var O=k.writecb;if(null===O)return this.emit("error",new g);k.writechunk=null,k.writecb=null,null!=I&&this.push(I),O(w);var U=this._readableState;U.reading=!1,(U.needReadable||U.length<U.highWaterMark)&&this._read(U.highWaterMark)}function P(w){if(!(this instanceof P))return new P(w);C.call(this,w),this._transformState={afterTransform:h.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(I,k){M(w,I,k)})}function M(w,I,k){if(I)return w.emit("error",I);if(null!=k&&w.push(k),w._writableState.length)throw new s;if(w._transformState.transforming)throw new A;return w.push(null)}m(3894)(P,C),P.prototype.push=function(w,I){return this._transformState.needTransform=!1,C.prototype.push.call(this,w,I)},P.prototype._transform=function(w,I,k){k(new e("_transform()"))},P.prototype._write=function(w,I,k){var O=this._transformState;if(O.writecb=k,O.writechunk=w,O.writeencoding=I,!O.transforming){var U=this._readableState;(O.needTransform||U.needReadable||U.length<U.highWaterMark)&&this._read(U.highWaterMark)}},P.prototype._read=function(w){var I=this._transformState;null===I.writechunk||I.transforming?I.needTransform=!0:(I.transforming=!0,this._transform(I.writechunk,I.writeencoding,I.afterTransform))},P.prototype._destroy=function(w,I){C.prototype._destroy.call(this,w,function(k){I(k)})}},520:(Be,Q,m)=>{"use strict";function e(We){var Re=this;this.next=null,this.entry=null,this.finish=function(){!function Ve(We,Re,we){var me=We.entry;for(We.entry=null;me;){var Ae=me.callback;Re.pendingcb--,Ae(we),me=me.next}Re.corkedRequestsFree.next=We}(Re,We)}}var g;Be.exports=he,he.WritableState=ce;var se,A={deprecate:m(4364)},s=m(4970),C=m(3172).Buffer,h=(typeof global<"u"?global:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},M=m(1920),I=m(7102).getHighWaterMark,k=m(891).q,O=k.ERR_INVALID_ARG_TYPE,U=k.ERR_METHOD_NOT_IMPLEMENTED,Z=k.ERR_MULTIPLE_CALLBACK,W=k.ERR_STREAM_CANNOT_PIPE,K=k.ERR_STREAM_DESTROYED,q=k.ERR_STREAM_NULL_VALUES,te=k.ERR_STREAM_WRITE_AFTER_END,pe=k.ERR_UNKNOWN_ENCODING,oe=M.errorOrDestroy;function re(){}function ce(We,Re,we){g=g||m(1339),"boolean"!=typeof we&&(we=Re instanceof g),this.objectMode=!!(We=We||{}).objectMode,we&&(this.objectMode=this.objectMode||!!We.writableObjectMode),this.highWaterMark=I(this,We,"writableHighWaterMark",we),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===We.decodeStrings),this.defaultEncoding=We.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Ae){!function D(We,Re){var we=We._writableState,me=we.sync,Ae=we.writecb;if("function"!=typeof Ae)throw new Z;if(function E(We){We.writing=!1,We.writecb=null,We.length-=We.writelen,We.writelen=0}(we),Re)!function y(We,Re,we,me,Ae){--Re.pendingcb,we?(process.nextTick(Ae,me),process.nextTick(Te,We,Re),We._writableState.errorEmitted=!0,oe(We,me)):(Ae(me),We._writableState.errorEmitted=!0,oe(We,me),Te(We,Re))}(We,we,me,Re,Ae);else{var ee=V(we)||We.destroyed;!ee&&!we.corked&&!we.bufferProcessing&&we.bufferedRequest&&b(We,we),me?process.nextTick(v,We,we,ee,Ae):v(We,we,ee,Ae)}}(Re,Ae)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==We.emitClose,this.autoDestroy=!!We.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function he(We){var Re=this instanceof(g=g||m(1339));if(!Re&&!se.call(he,this))return new he(We);this._writableState=new ce(We,this,Re),this.writable=!0,We&&("function"==typeof We.write&&(this._write=We.write),"function"==typeof We.writev&&(this._writev=We.writev),"function"==typeof We.destroy&&(this._destroy=We.destroy),"function"==typeof We.final&&(this._final=We.final)),s.call(this)}function l(We,Re,we,me,Ae,ee,Ze){Re.writelen=me,Re.writecb=Ze,Re.writing=!0,Re.sync=!0,Re.destroyed?Re.onwrite(new K("write")):we?We._writev(Ae,Re.onwrite):We._write(Ae,ee,Re.onwrite),Re.sync=!1}function v(We,Re,we,me){we||function n(We,Re){0===Re.length&&Re.needDrain&&(Re.needDrain=!1,We.emit("drain"))}(We,Re),Re.pendingcb--,me(),Te(We,Re)}function b(We,Re){Re.bufferProcessing=!0;var we=Re.bufferedRequest;if(We._writev&&we&&we.next){var Ae=new Array(Re.bufferedRequestCount),ee=Re.corkedRequestsFree;ee.entry=we;for(var Ze=0,Oe=!0;we;)Ae[Ze]=we,we.isBuf||(Oe=!1),we=we.next,Ze+=1;Ae.allBuffers=Oe,l(We,Re,!0,Re.length,Ae,"",ee.finish),Re.pendingcb++,Re.lastBufferedRequest=null,ee.next?(Re.corkedRequestsFree=ee.next,ee.next=null):Re.corkedRequestsFree=new e(Re),Re.bufferedRequestCount=0}else{for(;we;){var fe=we.chunk;if(l(We,Re,!1,Re.objectMode?1:fe.length,fe,we.encoding,we.callback),we=we.next,Re.bufferedRequestCount--,Re.writing)break}null===we&&(Re.lastBufferedRequest=null)}Re.bufferedRequest=we,Re.bufferProcessing=!1}function V(We){return We.ending&&0===We.length&&null===We.bufferedRequest&&!We.finished&&!We.writing}function z(We,Re){We._final(function(we){Re.pendingcb--,we&&oe(We,we),Re.prefinished=!0,We.emit("prefinish"),Te(We,Re)})}function Te(We,Re){var we=V(Re);if(we&&(function Y(We,Re){!Re.prefinished&&!Re.finalCalled&&("function"!=typeof We._final||Re.destroyed?(Re.prefinished=!0,We.emit("prefinish")):(Re.pendingcb++,Re.finalCalled=!0,process.nextTick(z,We,Re)))}(We,Re),0===Re.pendingcb&&(Re.finished=!0,We.emit("finish"),Re.autoDestroy))){var me=We._readableState;(!me||me.autoDestroy&&me.endEmitted)&&We.destroy()}return we}m(3894)(he,s),ce.prototype.getBuffer=function(){for(var Re=this.bufferedRequest,we=[];Re;)we.push(Re),Re=Re.next;return we},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(Re){return!!se.call(this,Re)||this===he&&Re&&Re._writableState instanceof ce}})):se=function(Re){return Re instanceof this},he.prototype.pipe=function(){oe(this,new W)},he.prototype.write=function(We,Re,we){var me=this._writableState,Ae=!1,ee=!me.objectMode&&function d(We){return C.isBuffer(We)||We instanceof h}(We);return ee&&!C.isBuffer(We)&&(We=function P(We){return C.from(We)}(We)),"function"==typeof Re&&(we=Re,Re=null),ee?Re="buffer":Re||(Re=me.defaultEncoding),"function"!=typeof we&&(we=re),me.ending?function S(We,Re){var we=new te;oe(We,we),process.nextTick(Re,we)}(this,we):(ee||function i(We,Re,we,me){var Ae;return null===we?Ae=new q:"string"!=typeof we&&!Re.objectMode&&(Ae=new O("chunk",["string","Buffer"],we)),!Ae||(oe(We,Ae),process.nextTick(me,Ae),!1)}(this,me,We,we))&&(me.pendingcb++,Ae=function f(We,Re,we,me,Ae,ee){if(!we){var Ze=function a(We,Re,we){return!We.objectMode&&!1!==We.decodeStrings&&"string"==typeof Re&&(Re=C.from(Re,we)),Re}(Re,me,Ae);me!==Ze&&(we=!0,Ae="buffer",me=Ze)}var Oe=Re.objectMode?1:me.length;Re.length+=Oe;var fe=Re.length<Re.highWaterMark;if(fe||(Re.needDrain=!0),Re.writing||Re.corked){var Se=Re.lastBufferedRequest;Re.lastBufferedRequest={chunk:me,encoding:Ae,isBuf:we,callback:ee,next:null},Se?Se.next=Re.lastBufferedRequest:Re.bufferedRequest=Re.lastBufferedRequest,Re.bufferedRequestCount+=1}else l(We,Re,!1,Oe,me,Ae,ee);return fe}(this,me,ee,We,Re,we)),Ae},he.prototype.cork=function(){this._writableState.corked++},he.prototype.uncork=function(){var We=this._writableState;We.corked&&(We.corked--,!We.writing&&!We.corked&&!We.bufferProcessing&&We.bufferedRequest&&b(this,We))},he.prototype.setDefaultEncoding=function(Re){if("string"==typeof Re&&(Re=Re.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Re+"").toLowerCase())>-1))throw new pe(Re);return this._writableState.defaultEncoding=Re,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(We,Re,we){we(new U("_write()"))},he.prototype._writev=null,he.prototype.end=function(We,Re,we){var me=this._writableState;return"function"==typeof We?(we=We,We=null,Re=null):"function"==typeof Re&&(we=Re,Re=null),null!=We&&this.write(We,Re),me.corked&&(me.corked=1,this.uncork()),me.ending||function $e(We,Re,we){Re.ending=!0,Te(We,Re),we&&(Re.finished?process.nextTick(we):We.once("finish",we)),Re.ended=!0,We.writable=!1}(this,me,we),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(Re){this._writableState&&(this._writableState.destroyed=Re)}}),he.prototype.destroy=M.destroy,he.prototype._undestroy=M.undestroy,he.prototype._destroy=function(We,Re){Re(We)}},3872:(Be,Q,m)=>{"use strict";var t;function e(te,pe,oe){return pe=function g(te){var pe=function A(te,pe){if("object"!=typeof te||null===te)return te;var oe=te[Symbol.toPrimitive];if(void 0!==oe){var re=oe.call(te,pe||"default");if("object"!=typeof re)return re;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===pe?String:Number)(te)}(te,"string");return"symbol"==typeof pe?pe:String(pe)}(pe),pe in te?Object.defineProperty(te,pe,{value:oe,enumerable:!0,configurable:!0,writable:!0}):te[pe]=oe,te}var s=m(7542),C=Symbol("lastResolve"),h=Symbol("lastReject"),P=Symbol("error"),d=Symbol("ended"),M=Symbol("lastPromise"),w=Symbol("handlePromise"),I=Symbol("stream");function k(te,pe){return{value:te,done:pe}}function O(te){var pe=te[C];if(null!==pe){var oe=te[I].read();null!==oe&&(te[M]=null,te[C]=null,te[h]=null,pe(k(oe,!1)))}}function U(te){process.nextTick(O,te)}var W=Object.getPrototypeOf(function(){}),K=Object.setPrototypeOf((e(t={get stream(){return this[I]},next:function(){var pe=this,oe=this[P];if(null!==oe)return Promise.reject(oe);if(this[d])return Promise.resolve(k(void 0,!0));if(this[I].destroyed)return new Promise(function(he,S){process.nextTick(function(){pe[P]?S(pe[P]):he(k(void 0,!0))})});var ce,re=this[M];if(re)ce=new Promise(function Z(te,pe){return function(oe,re){te.then(function(){pe[d]?oe(k(void 0,!0)):pe[w](oe,re)},re)}}(re,this));else{var se=this[I].read();if(null!==se)return Promise.resolve(k(se,!1));ce=new Promise(this[w])}return this[M]=ce,ce}},Symbol.asyncIterator,function(){return this}),e(t,"return",function(){var pe=this;return new Promise(function(oe,re){pe[I].destroy(null,function(ce){ce?re(ce):oe(k(void 0,!0))})})}),t),W);Be.exports=function(pe){var oe,re=Object.create(K,(e(oe={},I,{value:pe,writable:!0}),e(oe,C,{value:null,writable:!0}),e(oe,h,{value:null,writable:!0}),e(oe,P,{value:null,writable:!0}),e(oe,d,{value:pe._readableState.endEmitted,writable:!0}),e(oe,w,{value:function(se,he){var S=re[I].read();S?(re[M]=null,re[C]=null,re[h]=null,se(k(S,!1))):(re[C]=se,re[h]=he)},writable:!0}),oe));return re[M]=null,s(pe,function(ce){if(ce&&"ERR_STREAM_PREMATURE_CLOSE"!==ce.code){var se=re[h];return null!==se&&(re[M]=null,re[C]=null,re[h]=null,se(ce)),void(re[P]=ce)}var he=re[C];null!==he&&(re[M]=null,re[C]=null,re[h]=null,he(k(void 0,!0))),re[d]=!0}),pe.on("readable",U.bind(null,re)),re}},5019:(Be,Q,m)=>{"use strict";function t(U,Z){var W=Object.keys(U);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(U);Z&&(K=K.filter(function(q){return Object.getOwnPropertyDescriptor(U,q).enumerable})),W.push.apply(W,K)}return W}function e(U){for(var Z=1;Z<arguments.length;Z++){var W=null!=arguments[Z]?arguments[Z]:{};Z%2?t(Object(W),!0).forEach(function(K){g(U,K,W[K])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(W)):t(Object(W)).forEach(function(K){Object.defineProperty(U,K,Object.getOwnPropertyDescriptor(W,K))})}return U}function g(U,Z,W){return(Z=h(Z))in U?Object.defineProperty(U,Z,{value:W,enumerable:!0,configurable:!0,writable:!0}):U[Z]=W,U}function s(U,Z){for(var W=0;W<Z.length;W++){var K=Z[W];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(U,h(K.key),K)}}function h(U){var Z=function P(U,Z){if("object"!=typeof U||null===U)return U;var W=U[Symbol.toPrimitive];if(void 0!==W){var K=W.call(U,Z||"default");if("object"!=typeof K)return K;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===Z?String:Number)(U)}(U,"string");return"symbol"==typeof Z?Z:String(Z)}var M=m(3172).Buffer,I=m(2361).inspect,k=I&&I.custom||"inspect";function O(U,Z,W){M.prototype.copy.call(U,Z,W)}Be.exports=function(){function U(){(function A(U,Z){if(!(U instanceof Z))throw new TypeError("Cannot call a class as a function")})(this,U),this.head=null,this.tail=null,this.length=0}return function C(U,Z,W){Z&&s(U.prototype,Z),W&&s(U,W),Object.defineProperty(U,"prototype",{writable:!1})}(U,[{key:"push",value:function(W){var K={data:W,next:null};this.length>0?this.tail.next=K:this.head=K,this.tail=K,++this.length}},{key:"unshift",value:function(W){var K={data:W,next:this.head};0===this.length&&(this.tail=K),this.head=K,++this.length}},{key:"shift",value:function(){if(0!==this.length){var W=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,W}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(W){if(0===this.length)return"";for(var K=this.head,q=""+K.data;K=K.next;)q+=W+K.data;return q}},{key:"concat",value:function(W){if(0===this.length)return M.alloc(0);for(var K=M.allocUnsafe(W>>>0),q=this.head,te=0;q;)O(q.data,K,te),te+=q.data.length,q=q.next;return K}},{key:"consume",value:function(W,K){var q;return W<this.head.data.length?(q=this.head.data.slice(0,W),this.head.data=this.head.data.slice(W)):q=W===this.head.data.length?this.shift():K?this._getString(W):this._getBuffer(W),q}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(W){var K=this.head,q=1,te=K.data;for(W-=te.length;K=K.next;){var pe=K.data,oe=W>pe.length?pe.length:W;if(te+=oe===pe.length?pe:pe.slice(0,W),0==(W-=oe)){oe===pe.length?(++q,this.head=K.next?K.next:this.tail=null):(this.head=K,K.data=pe.slice(oe));break}++q}return this.length-=q,te}},{key:"_getBuffer",value:function(W){var K=M.allocUnsafe(W),q=this.head,te=1;for(q.data.copy(K),W-=q.data.length;q=q.next;){var pe=q.data,oe=W>pe.length?pe.length:W;if(pe.copy(K,K.length-W,0,oe),0==(W-=oe)){oe===pe.length?(++te,this.head=q.next?q.next:this.tail=null):(this.head=q,q.data=pe.slice(oe));break}++te}return this.length-=te,K}},{key:k,value:function(W,K){return I(this,e(e({},K),{},{depth:0,customInspect:!1}))}}]),U}()},1920:Be=>{"use strict";function m(s,C){g(s,C),t(s)}function t(s){s._writableState&&!s._writableState.emitClose||s._readableState&&!s._readableState.emitClose||s.emit("close")}function g(s,C){s.emit("error",C)}Be.exports={destroy:function Q(s,C){var h=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(C?C(s):s&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(g,this,s)):process.nextTick(g,this,s)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(s||null,function(M){!C&&M?h._writableState?h._writableState.errorEmitted?process.nextTick(t,h):(h._writableState.errorEmitted=!0,process.nextTick(m,h,M)):process.nextTick(m,h,M):C?(process.nextTick(t,h),C(M)):process.nextTick(t,h)}),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(s,C){var h=s._readableState,P=s._writableState;h&&h.autoDestroy||P&&P.autoDestroy?s.destroy(C):s.emit("error",C)}}},7542:(Be,Q,m)=>{"use strict";var t=m(891).q.ERR_STREAM_PREMATURE_CLOSE;function g(){}Be.exports=function s(C,h,P){if("function"==typeof h)return s(C,null,h);h||(h={}),P=function e(C){var h=!1;return function(){if(!h){h=!0;for(var P=arguments.length,d=new Array(P),M=0;M<P;M++)d[M]=arguments[M];C.apply(this,d)}}}(P||g);var d=h.readable||!1!==h.readable&&C.readable,M=h.writable||!1!==h.writable&&C.writable,w=function(){C.writable||k()},I=C._writableState&&C._writableState.finished,k=function(){M=!1,I=!0,d||P.call(C)},O=C._readableState&&C._readableState.endEmitted,U=function(){d=!1,O=!0,M||P.call(C)},Z=function(te){P.call(C,te)},W=function(){var te;return d&&!O?((!C._readableState||!C._readableState.ended)&&(te=new t),P.call(C,te)):M&&!I?((!C._writableState||!C._writableState.ended)&&(te=new t),P.call(C,te)):void 0},K=function(){C.req.on("finish",k)};return function A(C){return C.setHeader&&"function"==typeof C.abort}(C)?(C.on("complete",k),C.on("abort",W),C.req?K():C.on("request",K)):M&&!C._writableState&&(C.on("end",w),C.on("close",w)),C.on("end",U),C.on("finish",k),!1!==h.error&&C.on("error",Z),C.on("close",W),function(){C.removeListener("complete",k),C.removeListener("abort",W),C.removeListener("request",K),C.req&&C.req.removeListener("finish",k),C.removeListener("end",w),C.removeListener("close",w),C.removeListener("finish",k),C.removeListener("end",U),C.removeListener("error",Z),C.removeListener("close",W)}}},7412:Be=>{Be.exports=function(){throw new Error("Readable.from is not available in the browser")}},954:(Be,Q,m)=>{"use strict";var t,g=m(891).q,A=g.ERR_MISSING_ARGS,s=g.ERR_STREAM_DESTROYED;function C(k){if(k)throw k}function d(k){k()}function M(k,O){return k.pipe(O)}Be.exports=function I(){for(var k=arguments.length,O=new Array(k),U=0;U<k;U++)O[U]=arguments[U];var Z=function w(k){return k.length&&"function"==typeof k[k.length-1]?k.pop():C}(O);if(Array.isArray(O[0])&&(O=O[0]),O.length<2)throw new A("streams");var W,K=O.map(function(q,te){var pe=te<O.length-1;return function P(k,O,U,Z){Z=function e(k){var O=!1;return function(){O||(O=!0,k.apply(void 0,arguments))}}(Z);var W=!1;k.on("close",function(){W=!0}),void 0===t&&(t=m(7542)),t(k,{readable:O,writable:U},function(q){if(q)return Z(q);W=!0,Z()});var K=!1;return function(q){if(!W&&!K){if(K=!0,function h(k){return k.setHeader&&"function"==typeof k.abort}(k))return k.abort();if("function"==typeof k.destroy)return k.destroy();Z(q||new s("pipe"))}}}(q,pe,te>0,function(re){W||(W=re),re&&K.forEach(d),!pe&&(K.forEach(d),Z(W))})});return O.reduce(M)}},7102:(Be,Q,m)=>{"use strict";var t=m(891).q.ERR_INVALID_OPT_VALUE;Be.exports={getHighWaterMark:function g(A,s,C,h){var P=function e(A,s,C){return null!=A.highWaterMark?A.highWaterMark:s?A[C]:null}(s,h,C);if(null!=P){if(!isFinite(P)||Math.floor(P)!==P||P<0)throw new t(h?C:"highWaterMark",P);return Math.floor(P)}return A.objectMode?16:16384}}},4970:(Be,Q,m)=>{Be.exports=m(9069).EventEmitter},5685:(Be,Q,m)=>{(Q=Be.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:Be=>{"use strict";function Q(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}Be.exports=function m(e){return(e=e||{}).circles?function t(e){var g=[],A=[];return e.proto?function h(P){if("object"!=typeof P||null===P)return P;if(P instanceof Date)return new Date(P);if(Array.isArray(P))return s(P,h);if(P instanceof Map)return new Map(s(Array.from(P),h));if(P instanceof Set)return new Set(s(Array.from(P),h));var d={};for(var M in g.push(P),A.push(d),P){var w=P[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(s(Array.from(w),h));else if(w instanceof Set)d[M]=new Set(s(Array.from(w),h));else if(ArrayBuffer.isView(w))d[M]=Q(w);else{var I=g.indexOf(w);d[M]=-1!==I?A[I]:h(w)}}return g.pop(),A.pop(),d}:function C(P){if("object"!=typeof P||null===P)return P;if(P instanceof Date)return new Date(P);if(Array.isArray(P))return s(P,C);if(P instanceof Map)return new Map(s(Array.from(P),C));if(P instanceof Set)return new Set(s(Array.from(P),C));var d={};for(var M in g.push(P),A.push(d),P)if(!1!==Object.hasOwnProperty.call(P,M)){var w=P[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(s(Array.from(w),C));else if(w instanceof Set)d[M]=new Set(s(Array.from(w),C));else if(ArrayBuffer.isView(w))d[M]=Q(w);else{var I=g.indexOf(w);d[M]=-1!==I?A[I]:C(w)}}return g.pop(),A.pop(),d};function s(P,d){for(var M=Object.keys(P),w=new Array(M.length),I=0;I<M.length;I++){var k=M[I],O=P[k];if("object"!=typeof O||null===O)w[k]=O;else if(O instanceof Date)w[k]=new Date(O);else if(ArrayBuffer.isView(O))w[k]=Q(O);else{var U=g.indexOf(O);w[k]=-1!==U?A[U]:d(O)}}return w}}(e):e.proto?function s(C){if("object"!=typeof C||null===C)return C;if(C instanceof Date)return new Date(C);if(Array.isArray(C))return g(C,s);if(C instanceof Map)return new Map(g(Array.from(C),s));if(C instanceof Set)return new Set(g(Array.from(C),s));var h={};for(var P in C){var d=C[P];h[P]="object"!=typeof d||null===d?d:d instanceof Date?new Date(d):d instanceof Map?new Map(g(Array.from(d),s)):d instanceof Set?new Set(g(Array.from(d),s)):ArrayBuffer.isView(d)?Q(d):s(d)}return h}: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 h={};for(var P in C)if(!1!==Object.hasOwnProperty.call(C,P)){var d=C[P];h[P]="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 h};function g(C,h){for(var P=Object.keys(C),d=new Array(P.length),M=0;M<P.length;M++){var w=P[M],I=C[w];d[w]="object"!=typeof I||null===I?I:I instanceof Date?new Date(I):ArrayBuffer.isView(I)?Q(I):h(I)}return d}}},5634:(Be,Q,m)=>{"use strict";var t=m(3172).Buffer,e=m(3894),g=m(9650),A=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],C=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],h=[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],P=[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 I(K,q){return K<<q|K>>>32-q}function k(K,q,te,pe,oe,re,ce,se){return I(K+(q^te^pe)+re+ce|0,se)+oe|0}function O(K,q,te,pe,oe,re,ce,se){return I(K+(q&te|~q&pe)+re+ce|0,se)+oe|0}function U(K,q,te,pe,oe,re,ce,se){return I(K+((q|~te)^pe)+re+ce|0,se)+oe|0}function Z(K,q,te,pe,oe,re,ce,se){return I(K+(q&pe|te&~pe)+re+ce|0,se)+oe|0}function W(K,q,te,pe,oe,re,ce,se){return I(K+(q^(te|~pe))+re+ce|0,se)+oe|0}e(w,g),w.prototype._update=function(){for(var K=A,q=0;q<16;++q)K[q]=this._block.readInt32LE(4*q);for(var te=0|this._a,pe=0|this._b,oe=0|this._c,re=0|this._d,ce=0|this._e,se=0|this._a,he=0|this._b,S=0|this._c,i=0|this._d,a=0|this._e,f=0;f<80;f+=1){var l,y;f<16?(l=k(te,pe,oe,re,ce,K[s[f]],d[0],h[f]),y=W(se,he,S,i,a,K[C[f]],M[0],P[f])):f<32?(l=O(te,pe,oe,re,ce,K[s[f]],d[1],h[f]),y=Z(se,he,S,i,a,K[C[f]],M[1],P[f])):f<48?(l=U(te,pe,oe,re,ce,K[s[f]],d[2],h[f]),y=U(se,he,S,i,a,K[C[f]],M[2],P[f])):f<64?(l=Z(te,pe,oe,re,ce,K[s[f]],d[3],h[f]),y=O(se,he,S,i,a,K[C[f]],M[3],P[f])):(l=W(te,pe,oe,re,ce,K[s[f]],d[4],h[f]),y=k(se,he,S,i,a,K[C[f]],M[4],P[f])),te=ce,ce=re,re=I(oe,10),oe=pe,pe=l,se=a,a=i,i=I(S,10),S=he,he=y}var E=this._b+oe+i|0;this._b=this._c+re+a|0,this._c=this._d+ce+se|0,this._d=this._e+te+he|0,this._e=this._a+pe+S|0,this._a=E},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 K=t.alloc?t.alloc(20):new t(20);return K.writeInt32LE(this._a,0),K.writeInt32LE(this._b,4),K.writeInt32LE(this._c,8),K.writeInt32LE(this._d,12),K.writeInt32LE(this._e,16),K},Be.exports=w},1135:(Be,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 s=super._subscribe(A);return!s.closed&&A.next(this._value),s}getValue(){const{hasError:A,thrownError:s,_value:C}=this;if(A)throw s;return this._throwIfClosed(),C}next(A){super.next(this._value=A)}}},9751:(Be,Q,m)=>{"use strict";m.d(Q,{y:()=>P});var t=m(930),e=m(727),g=m(8822),A=m(9635),s=m(2416),C=m(576),h=m(2806);let P=(()=>{class I{constructor(O){O&&(this._subscribe=O)}lift(O){const U=new I;return U.source=this,U.operator=O,U}subscribe(O,U,Z){const W=function w(I){return I&&I instanceof t.Lv||function M(I){return I&&(0,C.m)(I.next)&&(0,C.m)(I.error)&&(0,C.m)(I.complete)}(I)&&(0,e.Nn)(I)}(O)?O:new t.Hp(O,U,Z);return(0,h.x)(()=>{const{operator:K,source:q}=this;W.add(K?K.call(W,q):q?this._subscribe(W):this._trySubscribe(W))}),W}_trySubscribe(O){try{return this._subscribe(O)}catch(U){O.error(U)}}forEach(O,U){return new(U=d(U))((Z,W)=>{const K=new t.Hp({next:q=>{try{O(q)}catch(te){W(te),K.unsubscribe()}},error:W,complete:Z});this.subscribe(K)})}_subscribe(O){var U;return null===(U=this.source)||void 0===U?void 0:U.subscribe(O)}[g.L](){return this}pipe(...O){return(0,A.U)(O)(this)}toPromise(O){return new(O=d(O))((U,Z)=>{let W;this.subscribe(K=>W=K,K=>Z(K),()=>U(W))})}}return I.create=k=>new I(k),I})();function d(I){var k;return null!==(k=I??s.v.Promise)&&void 0!==k?k:Promise}},4707:(Be,Q,m)=>{"use strict";m.d(Q,{t:()=>g});var t=m(7579),e=m(6063);class g extends t.x{constructor(s=1/0,C=1/0,h=e.l){super(),this._bufferSize=s,this._windowTime=C,this._timestampProvider=h,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=C===1/0,this._bufferSize=Math.max(1,s),this._windowTime=Math.max(1,C)}next(s){const{isStopped:C,_buffer:h,_infiniteTimeWindow:P,_timestampProvider:d,_windowTime:M}=this;C||(h.push(s),!P&&h.push(d.now()+M)),this._trimBuffer(),super.next(s)}_subscribe(s){this._throwIfClosed(),this._trimBuffer();const C=this._innerSubscribe(s),{_infiniteTimeWindow:h,_buffer:P}=this,d=P.slice();for(let M=0;M<d.length&&!s.closed;M+=h?1:2)s.next(d[M]);return this._checkFinalizedStatuses(s),C}_trimBuffer(){const{_bufferSize:s,_timestampProvider:C,_buffer:h,_infiniteTimeWindow:P}=this,d=(P?1:2)*s;if(s<1/0&&d<h.length&&h.splice(0,h.length-d),!P){const M=C.now();let w=0;for(let I=1;I<h.length&&h[I]<=M;I+=2)w=I;w&&h.splice(0,w+1)}}}},7579:(Be,Q,m)=>{"use strict";m.d(Q,{u:()=>P,x:()=>h});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 s=m(8737),C=m(2806);let h=(()=>{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 I=new P(this,this);return I.operator=w,I}_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 I of this.currentObservers)I.next(w)}})}error(w){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=w;const{observers:I}=this;for(;I.length;)I.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:I,isStopped:k,observers:O}=this;return I||k?e.Lc:(this.currentObservers=null,O.push(w),new e.w0(()=>{this.currentObservers=null,(0,s.P)(O,w)}))}_checkFinalizedStatuses(w){const{hasError:I,thrownError:k,isStopped:O}=this;I?w.error(k):O&&w.complete()}asObservable(){const w=new t.y;return w.source=this,w}}return d.create=(M,w)=>new P(M,w),d})();class P extends h{constructor(M,w){super(),this.destination=M,this.source=w}next(M){var w,I;null===(I=null===(w=this.destination)||void 0===w?void 0:w.next)||void 0===I||I.call(w,M)}error(M){var w,I;null===(I=null===(w=this.destination)||void 0===w?void 0:w.error)||void 0===I||I.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,I;return null!==(I=null===(w=this.source)||void 0===w?void 0:w.subscribe(M))&&void 0!==I?I:e.Lc}}},930:(Be,Q,m)=>{"use strict";m.d(Q,{Hp:()=>Z,Lv:()=>I});var t=m(576),e=m(727),g=m(2416),A=m(7849),s=m(5032);const C=d("C",void 0,void 0);function d(pe,oe,re){return{kind:pe,value:oe,error:re}}var M=m(3410),w=m(2806);class I extends e.w0{constructor(oe){super(),this.isStopped=!1,oe?(this.destination=oe,(0,e.Nn)(oe)&&oe.add(this)):this.destination=te}static create(oe,re,ce){return new Z(oe,re,ce)}next(oe){this.isStopped?q(function P(pe){return d("N",pe,void 0)}(oe),this):this._next(oe)}error(oe){this.isStopped?q(function h(pe){return d("E",void 0,pe)}(oe),this):(this.isStopped=!0,this._error(oe))}complete(){this.isStopped?q(C,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(oe){this.destination.next(oe)}_error(oe){try{this.destination.error(oe)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const k=Function.prototype.bind;function O(pe,oe){return k.call(pe,oe)}class U{constructor(oe){this.partialObserver=oe}next(oe){const{partialObserver:re}=this;if(re.next)try{re.next(oe)}catch(ce){W(ce)}}error(oe){const{partialObserver:re}=this;if(re.error)try{re.error(oe)}catch(ce){W(ce)}else W(oe)}complete(){const{partialObserver:oe}=this;if(oe.complete)try{oe.complete()}catch(re){W(re)}}}class Z extends I{constructor(oe,re,ce){let se;if(super(),(0,t.m)(oe)||!oe)se={next:oe??void 0,error:re??void 0,complete:ce??void 0};else{let he;this&&g.v.useDeprecatedNextContext?(he=Object.create(oe),he.unsubscribe=()=>this.unsubscribe(),se={next:oe.next&&O(oe.next,he),error:oe.error&&O(oe.error,he),complete:oe.complete&&O(oe.complete,he)}):se=oe}this.destination=new U(se)}}function W(pe){g.v.useDeprecatedSynchronousErrorHandling?(0,w.O)(pe):(0,A.h)(pe)}function q(pe,oe){const{onStoppedNotification:re}=g.v;re&&M.z.setTimeout(()=>re(pe,oe))}const te={closed:!0,next:s.Z,error:function K(pe){throw pe},complete:s.Z}},727:(Be,Q,m)=>{"use strict";m.d(Q,{Lc:()=>C,w0:()=>s,Nn:()=>h});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((I,k)=>`${k+1}) ${I.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=w});var A=m(8737);class s{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 O of w)O.remove(this);else w.remove(this);const{initialTeardown:I}=this;if((0,t.m)(I))try{I()}catch(O){M=O instanceof g?O.errors:[O]}const{_finalizers:k}=this;if(k){this._finalizers=null;for(const O of k)try{P(O)}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)P(M);else{if(M instanceof s){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 s&&M._removeParent(this)}}s.EMPTY=(()=>{const d=new s;return d.closed=!0,d})();const C=s.EMPTY;function h(d){return d instanceof s||d&&"closed"in d&&(0,t.m)(d.remove)&&(0,t.m)(d.add)&&(0,t.m)(d.unsubscribe)}function P(d){(0,t.m)(d)?d():d.unsubscribe()}},2416:(Be,Q,m)=>{"use strict";m.d(Q,{v:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(Be,Q,m)=>{"use strict";m.d(Q,{c:()=>C});var t=m(9751),e=m(727),g=m(8343),A=m(5403),s=m(4482);class C extends t.y{constructor(P,d){super(),this.source=P,this.subjectFactory=d,this._subject=null,this._refCount=0,this._connection=null,(0,s.A)(P)&&(this.lift=P.lift)}_subscribe(P){return this.getSubject().subscribe(P)}getSubject(){const P=this._subject;return(!P||P.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:P}=this;this._subject=this._connection=null,P?.unsubscribe()}connect(){let P=this._connection;if(!P){P=this._connection=new e.w0;const d=this.getSubject();P.add(this.source.subscribe((0,A.x)(d,void 0,()=>{this._teardown(),d.complete()},M=>{this._teardown(),d.error(M)},()=>this._teardown()))),P.closed&&(this._connection=null,P=e.w0.EMPTY)}return P}refCount(){return(0,g.x)()(this)}}},9841:(Be,Q,m)=>{"use strict";m.d(Q,{a:()=>M});var t=m(9751),e=m(4742),g=m(457),A=m(4671),s=m(3268),C=m(3269),h=m(1810),P=m(5403),d=m(9672);function M(...k){const O=(0,C.yG)(k),U=(0,C.jO)(k),{args:Z,keys:W}=(0,e.D)(k);if(0===Z.length)return(0,g.D)([],O);const K=new t.y(function w(k,O,U=A.y){return Z=>{I(O,()=>{const{length:W}=k,K=new Array(W);let q=W,te=W;for(let pe=0;pe<W;pe++)I(O,()=>{const oe=(0,g.D)(k[pe],O);let re=!1;oe.subscribe((0,P.x)(Z,ce=>{K[pe]=ce,re||(re=!0,te--),te||Z.next(U(K.slice()))},()=>{--q||Z.complete()}))},Z)},Z)}}(Z,O,W?q=>(0,h.n)(W,q):A.y));return U?K.pipe((0,s.Z)(U)):K}function I(k,O,U){k?(0,d.f)(U,k,O):O()}},7272:(Be,Q,m)=>{"use strict";m.d(Q,{z:()=>s});var t=m(8189),g=m(3269),A=m(457);function s(...C){return function e(){return(0,t.J)(1)}()((0,A.D)(C,(0,g.yG)(C)))}},9770:(Be,Q,m)=>{"use strict";m.d(Q,{P:()=>g});var t=m(9751),e=m(8421);function g(A){return new t.y(s=>{(0,e.Xf)(A()).subscribe(s)})}},515:(Be,Q,m)=>{"use strict";m.d(Q,{E:()=>e});const e=new(m(9751).y)(s=>s.complete())},4128:(Be,Q,m)=>{"use strict";m.d(Q,{D:()=>P});var t=m(9751),e=m(4742),g=m(8421),A=m(3269),s=m(5403),C=m(3268),h=m(1810);function P(...d){const M=(0,A.jO)(d),{args:w,keys:I}=(0,e.D)(d),k=new t.y(O=>{const{length:U}=w;if(!U)return void O.complete();const Z=new Array(U);let W=U,K=U;for(let q=0;q<U;q++){let te=!1;(0,g.Xf)(w[q]).subscribe((0,s.x)(O,pe=>{te||(te=!0,K--),Z[q]=pe},()=>W--,void 0,()=>{(!W||!te)&&(K||O.next(I?(0,h.n)(I,Z):Z),O.complete())}))}});return M?k.pipe((0,C.Z)(M)):k}},457:(Be,Q,m)=>{"use strict";m.d(Q,{D:()=>re});var t=m(8421),e=m(5363),g=m(4482);function A(ce,se=0){return(0,g.e)((he,S)=>{S.add(ce.schedule(()=>he.subscribe(S),se))})}var h=m(9751),d=m(2202),M=m(576),w=m(9672);function k(ce,se){if(!ce)throw new Error("Iterable cannot be null");return new h.y(he=>{(0,w.f)(he,se,()=>{const S=ce[Symbol.asyncIterator]();(0,w.f)(he,se,()=>{S.next().then(i=>{i.done?he.complete():he.next(i.value)})},0,!0)})})}var O=m(3670),U=m(8239),Z=m(1144),W=m(6495),K=m(2206),q=m(4532),te=m(3260);function re(ce,se){return se?function oe(ce,se){if(null!=ce){if((0,O.c)(ce))return function s(ce,se){return(0,t.Xf)(ce).pipe(A(se),(0,e.Q)(se))}(ce,se);if((0,Z.z)(ce))return function P(ce,se){return new h.y(he=>{let S=0;return se.schedule(function(){S===ce.length?he.complete():(he.next(ce[S++]),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,K.D)(ce))return k(ce,se);if((0,W.T)(ce))return function I(ce,se){return new h.y(he=>{let S;return(0,w.f)(he,se,()=>{S=ce[d.h](),(0,w.f)(he,se,()=>{let i,a;try{({value:i,done:a}=S.next())}catch(f){return void he.error(f)}a?he.complete():he.next(i)},0,!0)}),()=>(0,M.m)(S?.return)&&S.return()})}(ce,se);if((0,te.L)(ce))return function pe(ce,se){return k((0,te.Q)(ce),se)}(ce,se)}throw(0,q.z)(ce)}(ce,se):(0,t.Xf)(ce)}},4968:(Be,Q,m)=>{"use strict";m.d(Q,{R:()=>M});var t=m(8421),e=m(9751),g=m(5577),A=m(1144),s=m(576),C=m(3268);const h=["addListener","removeListener"],P=["addEventListener","removeEventListener"],d=["on","off"];function M(U,Z,W,K){if((0,s.m)(W)&&(K=W,W=void 0),K)return M(U,Z,W).pipe((0,C.Z)(K));const[q,te]=function O(U){return(0,s.m)(U.addEventListener)&&(0,s.m)(U.removeEventListener)}(U)?P.map(pe=>oe=>U[pe](Z,oe,W)):function I(U){return(0,s.m)(U.addListener)&&(0,s.m)(U.removeListener)}(U)?h.map(w(U,Z)):function k(U){return(0,s.m)(U.on)&&(0,s.m)(U.off)}(U)?d.map(w(U,Z)):[];if(!q&&(0,A.z)(U))return(0,g.z)(pe=>M(pe,Z,W))((0,t.Xf)(U));if(!q)throw new TypeError("Invalid event target");return new e.y(pe=>{const oe=(...re)=>pe.next(1<re.length?re:re[0]);return q(oe),()=>te(oe)})}function w(U,Z){return W=>K=>U[W](Z,K)}},8421:(Be,Q,m)=>{"use strict";m.d(Q,{Xf:()=>k});var t=m(655),e=m(1144),g=m(8239),A=m(9751),s=m(3670),C=m(2206),h=m(4532),P=m(6495),d=m(3260),M=m(576),w=m(7849),I=m(8822);function k(pe){if(pe instanceof A.y)return pe;if(null!=pe){if((0,s.c)(pe))return function O(pe){return new A.y(oe=>{const re=pe[I.L]();if((0,M.m)(re.subscribe))return re.subscribe(oe);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(pe);if((0,e.z)(pe))return function U(pe){return new A.y(oe=>{for(let re=0;re<pe.length&&!oe.closed;re++)oe.next(pe[re]);oe.complete()})}(pe);if((0,g.t)(pe))return function Z(pe){return new A.y(oe=>{pe.then(re=>{oe.closed||(oe.next(re),oe.complete())},re=>oe.error(re)).then(null,w.h)})}(pe);if((0,C.D)(pe))return K(pe);if((0,P.T)(pe))return function W(pe){return new A.y(oe=>{for(const re of pe)if(oe.next(re),oe.closed)return;oe.complete()})}(pe);if((0,d.L)(pe))return function q(pe){return K((0,d.Q)(pe))}(pe)}throw(0,h.z)(pe)}function K(pe){return new A.y(oe=>{(function te(pe,oe){var re,ce,se,he;return(0,t.mG)(this,void 0,void 0,function*(){try{for(re=(0,t.KL)(pe);!(ce=yield re.next()).done;)if(oe.next(ce.value),oe.closed)return}catch(S){se={error:S}}finally{try{ce&&!ce.done&&(he=re.return)&&(yield he.call(re))}finally{if(se)throw se.error}}oe.complete()})})(pe,oe).catch(re=>oe.error(re))})}},6451:(Be,Q,m)=>{"use strict";m.d(Q,{T:()=>C});var t=m(8189),e=m(8421),g=m(515),A=m(3269),s=m(457);function C(...h){const P=(0,A.yG)(h),d=(0,A._6)(h,1/0),M=h;return M.length?1===M.length?(0,e.Xf)(M[0]):(0,t.J)(d)((0,s.D)(M,P)):g.E}},9646:(Be,Q,m)=>{"use strict";m.d(Q,{of:()=>g});var t=m(3269),e=m(457);function g(...A){const s=(0,t.yG)(A);return(0,e.D)(A,s)}},2843:(Be,Q,m)=>{"use strict";m.d(Q,{_:()=>g});var t=m(9751),e=m(576);function g(A,s){const C=(0,e.m)(A)?A:()=>A,h=P=>P.error(C());return new t.y(s?P=>s.schedule(h,0,P):h)}},2805:(Be,Q,m)=>{"use strict";m.d(Q,{H:()=>s});var t=m(9751),e=m(4986),g=m(3532),A=m(1165);function s(C=0,h,P=e.P){let d=-1;return null!=h&&((0,g.K)(h)?P=h:d=h),new t.y(M=>{let w=(0,A.q)(C)?+C-P.now():C;w<0&&(w=0);let I=0;return P.schedule(function(){M.closed||(M.next(I++),0<=d?this.schedule(void 0,d):M.complete())},w)})}},5403:(Be,Q,m)=>{"use strict";m.d(Q,{Q:()=>g,x:()=>e});var t=m(930);function e(A,s,C,h,P){return new g(A,s,C,h,P)}class g extends t.Lv{constructor(s,C,h,P,d,M){super(s),this.onFinalize=d,this.shouldUnsubscribe=M,this._next=C?function(w){try{C(w)}catch(I){s.error(I)}}:super._next,this._error=P?function(w){try{P(w)}catch(I){s.error(I)}finally{this.unsubscribe()}}:super._error,this._complete=h?function(){try{h()}catch(w){s.error(w)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var s;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:C}=this;super.unsubscribe(),!C&&(null===(s=this.onFinalize)||void 0===s||s.call(this))}}}},3601:(Be,Q,m)=>{"use strict";m.d(Q,{e:()=>h});var t=m(4986),e=m(4482),g=m(8421),A=m(5403),C=m(2805);function h(P,d=t.z){return function s(P){return(0,e.e)((d,M)=>{let w=!1,I=null,k=null,O=!1;const U=()=>{if(k?.unsubscribe(),k=null,w){w=!1;const W=I;I=null,M.next(W)}O&&M.complete()},Z=()=>{k=null,O&&M.complete()};d.subscribe((0,A.x)(M,W=>{w=!0,I=W,k||(0,g.Xf)(P(W)).subscribe(k=(0,A.x)(M,U,Z))},()=>{O=!0,(!w||!k||k.closed)&&M.complete()}))})}(()=>(0,C.H)(P,d))}},262:(Be,Q,m)=>{"use strict";m.d(Q,{K:()=>A});var t=m(8421),e=m(5403),g=m(4482);function A(s){return(0,g.e)((C,h)=>{let M,P=null,d=!1;P=C.subscribe((0,e.x)(h,void 0,void 0,w=>{M=(0,t.Xf)(s(w,A(s)(C))),P?(P.unsubscribe(),P=null,M.subscribe(h)):d=!0})),d&&(P.unsubscribe(),P=null,M.subscribe(h))})}},4351:(Be,Q,m)=>{"use strict";m.d(Q,{b:()=>g});var t=m(5577),e=m(576);function g(A,s){return(0,e.m)(s)?(0,t.z)(A,s,1):(0,t.z)(A,1)}},8372:(Be,Q,m)=>{"use strict";m.d(Q,{b:()=>A});var t=m(4986),e=m(4482),g=m(5403);function A(s,C=t.z){return(0,e.e)((h,P)=>{let d=null,M=null,w=null;const I=()=>{if(d){d.unsubscribe(),d=null;const O=M;M=null,P.next(O)}};function k(){const O=w+s,U=C.now();if(U<O)return d=this.schedule(void 0,O-U),void P.add(d);I()}h.subscribe((0,g.x)(P,O=>{M=O,w=C.now(),d||(d=C.schedule(k,s),P.add(d))},()=>{I(),P.complete()},void 0,()=>{M=d=null}))})}},6590:(Be,Q,m)=>{"use strict";m.d(Q,{d:()=>g});var t=m(4482),e=m(5403);function g(A){return(0,t.e)((s,C)=>{let h=!1;s.subscribe((0,e.x)(C,P=>{h=!0,C.next(P)},()=>{h||C.next(A),C.complete()}))})}},4086:(Be,Q,m)=>{"use strict";m.d(Q,{g:()=>d});var t=m(4986),e=m(7272),g=m(5698),A=m(8502),s=m(9718),C=m(5577);function h(M,w){return w?I=>(0,e.z)(w.pipe((0,g.q)(1),(0,A.l)()),I.pipe(h(M))):(0,C.z)((I,k)=>M(I,k).pipe((0,g.q)(1),(0,s.h)(I)))}var P=m(2805);function d(M,w=t.z){const I=(0,P.H)(M,w);return h(()=>I)}},1884:(Be,Q,m)=>{"use strict";m.d(Q,{x:()=>A});var t=m(4671),e=m(4482),g=m(5403);function A(C,h=t.y){return C=C??s,(0,e.e)((P,d)=>{let M,w=!0;P.subscribe((0,g.x)(d,I=>{const k=h(I);(w||!C(M,k))&&(w=!1,M=k,d.next(I))}))})}function s(C,h){return C===h}},9300:(Be,Q,m)=>{"use strict";m.d(Q,{h:()=>g});var t=m(4482),e=m(5403);function g(A,s){return(0,t.e)((C,h)=>{let P=0;C.subscribe((0,e.x)(h,d=>A.call(s,d,P++)&&h.next(d)))})}},8746:(Be,Q,m)=>{"use strict";m.d(Q,{x:()=>e});var t=m(4482);function e(g){return(0,t.e)((A,s)=>{try{A.subscribe(s)}finally{s.add(g)}})}},590:(Be,Q,m)=>{"use strict";m.d(Q,{P:()=>h});var t=m(6805),e=m(9300),g=m(5698),A=m(6590),s=m(8068),C=m(4671);function h(P,d){const M=arguments.length>=2;return w=>w.pipe(P?(0,e.h)((I,k)=>P(I,k,w)):C.y,(0,g.q)(1),M?(0,A.d)(d):(0,s.T)(()=>new t.K))}},8502:(Be,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)((s,C)=>{s.subscribe((0,e.x)(C,g.Z))})}},4004:(Be,Q,m)=>{"use strict";m.d(Q,{U:()=>g});var t=m(4482),e=m(5403);function g(A,s){return(0,t.e)((C,h)=>{let P=0;C.subscribe((0,e.x)(h,d=>{h.next(A.call(s,d,P++))}))})}},9718:(Be,Q,m)=>{"use strict";m.d(Q,{h:()=>e});var t=m(4004);function e(g){return(0,t.U)(()=>g)}},8189:(Be,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:(Be,Q,m)=>{"use strict";m.d(Q,{z:()=>P});var t=m(4004),e=m(8421),g=m(4482),A=m(9672),s=m(5403),h=m(576);function P(d,M,w=1/0){return(0,h.m)(M)?P((I,k)=>(0,t.U)((O,U)=>M(I,O,k,U))((0,e.Xf)(d(I,k))),w):("number"==typeof M&&(w=M),(0,g.e)((I,k)=>function C(d,M,w,I,k,O,U,Z){const W=[];let K=0,q=0,te=!1;const pe=()=>{te&&!W.length&&!K&&M.complete()},oe=ce=>K<I?re(ce):W.push(ce),re=ce=>{O&&M.next(ce),K++;let se=!1;(0,e.Xf)(w(ce,q++)).subscribe((0,s.x)(M,he=>{k?.(he),O?oe(he):M.next(he)},()=>{se=!0},void 0,()=>{if(se)try{for(K--;W.length&&K<I;){const he=W.shift();U?(0,A.f)(M,U,()=>re(he)):re(he)}pe()}catch(he){M.error(he)}}))};return d.subscribe((0,s.x)(M,oe,()=>{te=!0,pe()})),()=>{Z?.()}}(I,k,d,w)))}},5363:(Be,Q,m)=>{"use strict";m.d(Q,{Q:()=>A});var t=m(9672),e=m(4482),g=m(5403);function A(s,C=0){return(0,e.e)((h,P)=>{h.subscribe((0,g.x)(P,d=>(0,t.f)(P,s,()=>P.next(d),C),()=>(0,t.f)(P,s,()=>P.complete(),C),d=>(0,t.f)(P,s,()=>P.error(d),C)))})}},8343:(Be,Q,m)=>{"use strict";m.d(Q,{x:()=>g});var t=m(4482),e=m(5403);function g(){return(0,t.e)((A,s)=>{let C=null;A._refCount++;const h=(0,e.x)(s,void 0,void 0,void 0,()=>{if(!A||A._refCount<=0||0<--A._refCount)return void(C=null);const P=A._connection,d=C;C=null,P&&(!d||P===d)&&P.unsubscribe(),s.unsubscribe()});A.subscribe(h),h.closed||(C=A.connect())})}},5026:(Be,Q,m)=>{"use strict";m.d(Q,{R:()=>A});var t=m(4482),e=m(5403);function A(s,C){return(0,t.e)(function g(s,C,h,P,d){return(M,w)=>{let I=h,k=C,O=0;M.subscribe((0,e.x)(w,U=>{const Z=O++;k=I?s(k,U,Z):(I=!0,U),P&&w.next(k)},d&&(()=>{I&&w.next(k),w.complete()})))}}(s,C,arguments.length>=2,!0))}},3099:(Be,Q,m)=>{"use strict";m.d(Q,{B:()=>s});var t=m(8421),e=m(7579),g=m(930),A=m(4482);function s(h={}){const{connector:P=(()=>new e.x),resetOnError:d=!0,resetOnComplete:M=!0,resetOnRefCountZero:w=!0}=h;return I=>{let k,O,U,Z=0,W=!1,K=!1;const q=()=>{O?.unsubscribe(),O=void 0},te=()=>{q(),k=U=void 0,W=K=!1},pe=()=>{const oe=k;te(),oe?.unsubscribe()};return(0,A.e)((oe,re)=>{Z++,!K&&!W&&q();const ce=U=U??P();re.add(()=>{Z--,0===Z&&!K&&!W&&(O=C(pe,w))}),ce.subscribe(re),!k&&Z>0&&(k=new g.Hp({next:se=>ce.next(se),error:se=>{K=!0,q(),O=C(te,d,se),ce.error(se)},complete:()=>{W=!0,q(),O=C(te,M),ce.complete()}}),(0,t.Xf)(oe).subscribe(k))})(I)}}function C(h,P,...d){if(!0===P)return void h();if(!1===P)return;const M=new g.Hp({next:()=>{M.unsubscribe(),h()}});return P(...d).subscribe(M)}},5684:(Be,Q,m)=>{"use strict";m.d(Q,{T:()=>e});var t=m(9300);function e(g){return(0,t.h)((A,s)=>g<=s)}},8675:(Be,Q,m)=>{"use strict";m.d(Q,{O:()=>A});var t=m(7272),e=m(3269),g=m(4482);function A(...s){const C=(0,e.yG)(s);return(0,g.e)((h,P)=>{(C?(0,t.z)(s,h,C):(0,t.z)(s,h)).subscribe(P)})}},3900:(Be,Q,m)=>{"use strict";m.d(Q,{w:()=>A});var t=m(8421),e=m(4482),g=m(5403);function A(s,C){return(0,e.e)((h,P)=>{let d=null,M=0,w=!1;const I=()=>w&&!d&&P.complete();h.subscribe((0,g.x)(P,k=>{d?.unsubscribe();let O=0;const U=M++;(0,t.Xf)(s(k,U)).subscribe(d=(0,g.x)(P,Z=>P.next(C?C(k,Z,U,O++):Z),()=>{d=null,I()}))},()=>{w=!0,I()}))})}},5698:(Be,Q,m)=>{"use strict";m.d(Q,{q:()=>A});var t=m(515),e=m(4482),g=m(5403);function A(s){return s<=0?()=>t.E:(0,e.e)((C,h)=>{let P=0;C.subscribe((0,g.x)(h,d=>{++P<=s&&(h.next(d),s<=P&&h.complete())}))})}},2722:(Be,Q,m)=>{"use strict";m.d(Q,{R:()=>s});var t=m(4482),e=m(5403),g=m(8421),A=m(5032);function s(C){return(0,t.e)((h,P)=>{(0,g.Xf)(C).subscribe((0,e.x)(P,()=>P.complete(),A.Z)),!P.closed&&h.subscribe(P)})}},2529:(Be,Q,m)=>{"use strict";m.d(Q,{o:()=>g});var t=m(4482),e=m(5403);function g(A,s=!1){return(0,t.e)((C,h)=>{let P=0;C.subscribe((0,e.x)(h,d=>{const M=A(d,P++);(M||s)&&h.next(d),!M&&h.complete()}))})}},8505:(Be,Q,m)=>{"use strict";m.d(Q,{b:()=>s});var t=m(576),e=m(4482),g=m(5403),A=m(4671);function s(C,h,P){const d=(0,t.m)(C)||h||P?{next:C,error:h,complete:P}:C;return d?(0,e.e)((M,w)=>{var I;null===(I=d.subscribe)||void 0===I||I.call(d);let k=!0;M.subscribe((0,g.x)(w,O=>{var U;null===(U=d.next)||void 0===U||U.call(d,O),w.next(O)},()=>{var O;k=!1,null===(O=d.complete)||void 0===O||O.call(d),w.complete()},O=>{var U;k=!1,null===(U=d.error)||void 0===U||U.call(d,O),w.error(O)},()=>{var O,U;k&&(null===(O=d.unsubscribe)||void 0===O||O.call(d)),null===(U=d.finalize)||void 0===U||U.call(d)}))}):A.y}},8068:(Be,Q,m)=>{"use strict";m.d(Q,{T:()=>A});var t=m(6805),e=m(4482),g=m(5403);function A(C=s){return(0,e.e)((h,P)=>{let d=!1;h.subscribe((0,g.x)(P,M=>{d=!0,P.next(M)},()=>d?P.complete():P.error(C())))})}function s(){return new t.K}},7414:(Be,Q,m)=>{"use strict";m.d(Q,{V:()=>d});var t=m(4986),e=m(1165),g=m(4482),A=m(8421),s=m(3888),C=m(5403),h=m(9672);const P=(0,s.d)(w=>function(k=null){w(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=k});function d(w,I){const{first:k,each:O,with:U=M,scheduler:Z=I??t.z,meta:W=null}=(0,e.q)(w)?{first:w}:"number"==typeof w?{each:w}:w;if(null==k&&null==O)throw new TypeError("No timeout provided.");return(0,g.e)((K,q)=>{let te,pe,oe=null,re=0;const ce=se=>{pe=(0,h.f)(q,Z,()=>{try{te.unsubscribe(),(0,A.Xf)(U({meta:W,lastValue:oe,seen:re})).subscribe(q)}catch(he){q.error(he)}},se)};te=K.subscribe((0,C.x)(q,se=>{pe?.unsubscribe(),re++,q.next(oe=se),O>0&&ce(O)},void 0,void 0,()=>{pe?.closed||pe?.unsubscribe(),oe=null})),!re&&ce(null!=k?"number"==typeof k?k:+k-Z.now():O)})}function M(w){throw new P(w)}},1365:(Be,Q,m)=>{"use strict";m.d(Q,{M:()=>h});var t=m(4482),e=m(5403),g=m(8421),A=m(4671),s=m(5032),C=m(3269);function h(...P){const d=(0,C.jO)(P);return(0,t.e)((M,w)=>{const I=P.length,k=new Array(I);let O=P.map(()=>!1),U=!1;for(let Z=0;Z<I;Z++)(0,g.Xf)(P[Z]).subscribe((0,e.x)(w,W=>{k[Z]=W,!U&&!O[Z]&&(O[Z]=!0,(U=O.every(A.y))&&(O=null))},s.Z));M.subscribe((0,e.x)(w,Z=>{if(U){const W=[Z,...k];w.next(d?d(...W):W)}}))})}},4408:(Be,Q,m)=>{"use strict";m.d(Q,{o:()=>s});var t=m(727);class e extends t.w0{constructor(h,P){super()}schedule(h,P=0){return this}}const g={setInterval(C,h,...P){const{delegate:d}=g;return d?.setInterval?d.setInterval(C,h,...P):setInterval(C,h,...P)},clearInterval(C){const{delegate:h}=g;return(h?.clearInterval||clearInterval)(C)},delegate:void 0};var A=m(8737);class s extends e{constructor(h,P){super(h,P),this.scheduler=h,this.work=P,this.pending=!1}schedule(h,P=0){var d;if(this.closed)return this;this.state=h;const M=this.id,w=this.scheduler;return null!=M&&(this.id=this.recycleAsyncId(w,M,P)),this.pending=!0,this.delay=P,this.id=null!==(d=this.id)&&void 0!==d?d:this.requestAsyncId(w,this.id,P),this}requestAsyncId(h,P,d=0){return g.setInterval(h.flush.bind(h,this),d)}recycleAsyncId(h,P,d=0){if(null!=d&&this.delay===d&&!1===this.pending)return P;null!=P&&g.clearInterval(P)}execute(h,P){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const d=this._execute(h,P);if(d)return d;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(h,P){let M,d=!1;try{this.work(h)}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:h,scheduler:P}=this,{actions:d}=P;this.work=this.state=this.scheduler=null,this.pending=!1,(0,A.P)(d,this),null!=h&&(this.id=this.recycleAsyncId(P,h,null)),this.delay=null,super.unsubscribe()}}}},7565:(Be,Q,m)=>{"use strict";m.d(Q,{v:()=>g});var t=m(6063);class e{constructor(s,C=e.now){this.schedulerActionCtor=s,this.now=C}schedule(s,C=0,h){return new this.schedulerActionCtor(this,s).schedule(h,C)}}e.now=t.l.now;class g extends e{constructor(s,C=e.now){super(s,C),this.actions=[],this._active=!1}flush(s){const{actions:C}=this;if(this._active)return void C.push(s);let h;this._active=!0;do{if(h=s.execute(s.state,s.delay))break}while(s=C.shift());if(this._active=!1,h){for(;s=C.shift();)s.unsubscribe();throw h}}}},3101:(Be,Q,m)=>{"use strict";m.d(Q,{E:()=>O});var t=m(4408);let g,e=1;const A={};function s(Z){return Z in A&&(delete A[Z],!0)}const C={setImmediate(Z){const W=e++;return A[W]=!0,g||(g=Promise.resolve()),g.then(()=>s(W)&&Z()),W},clearImmediate(Z){s(Z)}},{setImmediate:P,clearImmediate:d}=C,M={setImmediate(...Z){const{delegate:W}=M;return(W?.setImmediate||P)(...Z)},clearImmediate(Z){const{delegate:W}=M;return(W?.clearImmediate||d)(Z)},delegate:void 0};var I=m(7565);const O=new class k extends I.v{flush(W){this._active=!0;const K=this._scheduled;this._scheduled=void 0;const{actions:q}=this;let te;W=W||q.shift();do{if(te=W.execute(W.state,W.delay))break}while((W=q[0])&&W.id===K&&q.shift());if(this._active=!1,te){for(;(W=q[0])&&W.id===K&&q.shift();)W.unsubscribe();throw te}}}(class w extends t.o{constructor(W,K){super(W,K),this.scheduler=W,this.work=K}requestAsyncId(W,K,q=0){return null!==q&&q>0?super.requestAsyncId(W,K,q):(W.actions.push(this),W._scheduled||(W._scheduled=M.setImmediate(W.flush.bind(W,void 0))))}recycleAsyncId(W,K,q=0){var te;if(null!=q?q>0:this.delay>0)return super.recycleAsyncId(W,K,q);const{actions:pe}=W;null!=K&&(null===(te=pe[pe.length-1])||void 0===te?void 0:te.id)!==K&&(M.clearImmediate(K),W._scheduled=void 0)}})},4986:(Be,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:(Be,Q,m)=>{"use strict";m.d(Q,{l:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},233:(Be,Q,m)=>{"use strict";m.d(Q,{N:()=>s});var t=m(4408),g=m(7565);const s=new class A extends g.v{}(class e extends t.o{constructor(P,d){super(P,d),this.scheduler=P,this.work=d}schedule(P,d=0){return d>0?super.schedule(P,d):(this.delay=d,this.state=P,this.scheduler.flush(this),this)}execute(P,d){return d>0||this.closed?super.execute(P,d):this._execute(P,d)}requestAsyncId(P,d,M=0){return null!=M&&M>0||null==M&&this.delay>0?super.requestAsyncId(P,d,M):(P.flush(this),0)}})},3410:(Be,Q,m)=>{"use strict";m.d(Q,{z:()=>t});const t={setTimeout(e,g,...A){const{delegate:s}=t;return s?.setTimeout?s.setTimeout(e,g,...A):setTimeout(e,g,...A)},clearTimeout(e){const{delegate:g}=t;return(g?.clearTimeout||clearTimeout)(e)},delegate:void 0}},2202:(Be,Q,m)=>{"use strict";m.d(Q,{h:()=>e});const e=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Be,Q,m)=>{"use strict";m.d(Q,{L:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(Be,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:(Be,Q,m)=>{"use strict";m.d(Q,{_6:()=>C,jO:()=>A,yG:()=>s});var t=m(576),e=m(3532);function g(h){return h[h.length-1]}function A(h){return(0,t.m)(g(h))?h.pop():void 0}function s(h){return(0,e.K)(g(h))?h.pop():void 0}function C(h,P){return"number"==typeof g(h)?h.pop():P}},4742:(Be,Q,m)=>{"use strict";m.d(Q,{D:()=>s});const{isArray:t}=Array,{getPrototypeOf:e,prototype:g,keys:A}=Object;function s(h){if(1===h.length){const P=h[0];if(t(P))return{args:P,keys:null};if(function C(h){return h&&"object"==typeof h&&e(h)===g}(P)){const d=A(P);return{args:d.map(M=>P[M]),keys:d}}}return{args:h,keys:null}}},8737:(Be,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:(Be,Q,m)=>{"use strict";function t(e){const A=e(s=>{Error.call(s),s.stack=(new Error).stack});return A.prototype=Object.create(Error.prototype),A.prototype.constructor=A,A}m.d(Q,{d:()=>t})},1810:(Be,Q,m)=>{"use strict";function t(e,g){return e.reduce((A,s,C)=>(A[s]=g[C],A),{})}m.d(Q,{n:()=>t})},2806:(Be,Q,m)=>{"use strict";m.d(Q,{O:()=>A,x:()=>g});var t=m(2416);let e=null;function g(s){if(t.v.useDeprecatedSynchronousErrorHandling){const C=!e;if(C&&(e={errorThrown:!1,error:null}),s(),C){const{errorThrown:h,error:P}=e;if(e=null,h)throw P}}else s()}function A(s){t.v.useDeprecatedSynchronousErrorHandling&&e&&(e.errorThrown=!0,e.error=s)}},9672:(Be,Q,m)=>{"use strict";function t(e,g,A,s=0,C=!1){const h=g.schedule(function(){A(),C?e.add(this.schedule(null,s)):this.unsubscribe()},s);if(e.add(h),!C)return h}m.d(Q,{f:()=>t})},4671:(Be,Q,m)=>{"use strict";function t(e){return e}m.d(Q,{y:()=>t})},1144:(Be,Q,m)=>{"use strict";m.d(Q,{z:()=>t});const t=e=>e&&"number"==typeof e.length&&"function"!=typeof e},2206:(Be,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:(Be,Q,m)=>{"use strict";function t(e){return e instanceof Date&&!isNaN(e)}m.d(Q,{q:()=>t})},576:(Be,Q,m)=>{"use strict";function t(e){return"function"==typeof e}m.d(Q,{m:()=>t})},3670:(Be,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:(Be,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:(Be,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:(Be,Q,m)=>{"use strict";m.d(Q,{t:()=>e});var t=m(576);function e(g){return(0,t.m)(g?.then)}},3260:(Be,Q,m)=>{"use strict";m.d(Q,{L:()=>A,Q:()=>g});var t=m(655),e=m(576);function g(s){return(0,t.FC)(this,arguments,function*(){const h=s.getReader();try{for(;;){const{value:P,done:d}=yield(0,t.qq)(h.read());if(d)return yield(0,t.qq)(void 0);yield yield(0,t.qq)(P)}}finally{h.releaseLock()}})}function A(s){return(0,e.m)(s?.getReader)}},3532:(Be,Q,m)=>{"use strict";m.d(Q,{K:()=>e});var t=m(576);function e(g){return g&&(0,t.m)(g.schedule)}},4482:(Be,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 s=>{if(e(s))return s.lift(function(C){try{return A(C,this)}catch(h){this.error(h)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Be,Q,m)=>{"use strict";m.d(Q,{Z:()=>A});var t=m(4004);const{isArray:e}=Array;function A(s){return(0,t.U)(C=>function g(s,C){return e(C)?s(...C):s(C)}(s,C))}},5032:(Be,Q,m)=>{"use strict";function t(){}m.d(Q,{Z:()=>t})},9635:(Be,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((h,P)=>P(h),C)}}},7849:(Be,Q,m)=>{"use strict";m.d(Q,{h:()=>g});var t=m(2416),e=m(3410);function g(A){e.z.setTimeout(()=>{const{onUnhandledError:s}=t.v;if(!s)throw A;s(A)})}},4532:(Be,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:(Be,Q,m)=>{var t=m(3172),e=t.Buffer;function g(s,C){for(var h in s)C[h]=s[h]}function A(s,C,h){return e(s,C,h)}e.from&&e.alloc&&e.allocUnsafe&&e.allocUnsafeSlow?Be.exports=t:(g(t,Q),Q.Buffer=A),A.prototype=Object.create(e.prototype),g(e,A),A.from=function(s,C,h){if("number"==typeof s)throw new TypeError("Argument must not be a number");return e(s,C,h)},A.alloc=function(s,C,h){if("number"!=typeof s)throw new TypeError("Argument must be a number");var P=e(s);return void 0!==C?"string"==typeof h?P.fill(C,h):P.fill(C):P.fill(0),P},A.allocUnsafe=function(s){if("number"!=typeof s)throw new TypeError("Argument must be a number");return e(s)},A.allocUnsafeSlow=function(s){if("number"!=typeof s)throw new TypeError("Argument must be a number");return t.SlowBuffer(s)}},2038:(Be,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 s=g.Buffer={};for(A in e)e.hasOwnProperty(A)&&("allocUnsafe"===A||"allocUnsafeSlow"===A||(s[A]=e[A]));if(g.Buffer.prototype=e.prototype,(!s.from||s.from===Uint8Array.from)&&(s.from=function(C,h,P){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,h,P)}),s.alloc||(s.alloc=function(C,h,P){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 h&&0!==h.length?"string"==typeof P?d.fill(h,P):d.fill(h):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)),Be.exports=g},6692:(Be,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 s=this._block,C=this._blockSize,h=g.length,P=this._len,d=0;d<h;){for(var M=P%C,w=Math.min(h-d,C-M),I=0;I<w;I++)s[M+I]=g[d+I];d+=w,(P+=w)%C==0&&this._update(s)}return this._len+=h,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 s=8*this._len;if(s<=4294967295)this._block.writeUInt32BE(s,this._blockSize-4);else{var C=(4294967295&s)>>>0;this._block.writeUInt32BE((s-C)/4294967296,this._blockSize-8),this._block.writeUInt32BE(C,this._blockSize-4)}this._update(this._block);var P=this._hash();return g?P.toString(g):P},e.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Be.exports=e},5244:(Be,Q,m)=>{var t=Be.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:(Be,Q,m)=>{var t=m(3894),e=m(6692),g=m(3502).Buffer,A=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function C(){this.init(),this._w=s,e.call(this,64,56)}function h(M){return M<<5|M>>>27}function P(M){return M<<30|M>>>2}function d(M,w,I,k){return 0===M?w&I|~w&k:2===M?w&I|w&k|I&k:w^I^k}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,I=0|this._a,k=0|this._b,O=0|this._c,U=0|this._d,Z=0|this._e,W=0;W<16;++W)w[W]=M.readInt32BE(4*W);for(;W<80;++W)w[W]=w[W-3]^w[W-8]^w[W-14]^w[W-16];for(var K=0;K<80;++K){var q=~~(K/20),te=h(I)+d(q,k,O,U)+Z+w[K]+A[q]|0;Z=U,U=O,O=P(k),k=I,I=te}this._a=I+this._a|0,this._b=k+this._b|0,this._c=O+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},Be.exports=C},7736:(Be,Q,m)=>{var t=m(3894),e=m(6692),g=m(3502).Buffer,A=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function C(){this.init(),this._w=s,e.call(this,64,56)}function h(w){return w<<1|w>>>31}function P(w){return w<<5|w>>>27}function d(w){return w<<30|w>>>2}function M(w,I,k,O){return 0===w?I&k|~I&O:2===w?I&k|I&O|k&O:I^k^O}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 I=this._w,k=0|this._a,O=0|this._b,U=0|this._c,Z=0|this._d,W=0|this._e,K=0;K<16;++K)I[K]=w.readInt32BE(4*K);for(;K<80;++K)I[K]=h(I[K-3]^I[K-8]^I[K-14]^I[K-16]);for(var q=0;q<80;++q){var te=~~(q/20),pe=P(k)+M(te,O,U,Z)+W+I[q]+A[te]|0;W=Z,Z=U,U=d(O),O=k,k=pe}this._a=k+this._a|0,this._b=O+this._b|0,this._c=U+this._c|0,this._d=Z+this._d|0,this._e=W+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},Be.exports=C},5044:(Be,Q,m)=>{var t=m(3894),e=m(5014),g=m(6692),A=m(3502).Buffer,s=new Array(64);function C(){this.init(),this._w=s,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 h=A.allocUnsafe(28);return h.writeInt32BE(this._a,0),h.writeInt32BE(this._b,4),h.writeInt32BE(this._c,8),h.writeInt32BE(this._d,12),h.writeInt32BE(this._e,16),h.writeInt32BE(this._f,20),h.writeInt32BE(this._g,24),h},Be.exports=C},5014:(Be,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],s=new Array(64);function C(){this.init(),this._w=s,e.call(this,64,56)}function h(k,O,U){return U^k&(O^U)}function P(k,O,U){return k&O|U&(k|O)}function d(k){return(k>>>2|k<<30)^(k>>>13|k<<19)^(k>>>22|k<<10)}function M(k){return(k>>>6|k<<26)^(k>>>11|k<<21)^(k>>>25|k<<7)}function w(k){return(k>>>7|k<<25)^(k>>>18|k<<14)^k>>>3}function I(k){return(k>>>17|k<<15)^(k>>>19|k<<13)^k>>>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(k){for(var O=this._w,U=0|this._a,Z=0|this._b,W=0|this._c,K=0|this._d,q=0|this._e,te=0|this._f,pe=0|this._g,oe=0|this._h,re=0;re<16;++re)O[re]=k.readInt32BE(4*re);for(;re<64;++re)O[re]=I(O[re-2])+O[re-7]+w(O[re-15])+O[re-16]|0;for(var ce=0;ce<64;++ce){var se=oe+M(q)+h(q,te,pe)+A[ce]+O[ce]|0,he=d(U)+P(U,Z,W)|0;oe=pe,pe=te,te=q,q=K+se|0,K=W,W=Z,Z=U,U=se+he|0}this._a=U+this._a|0,this._b=Z+this._b|0,this._c=W+this._c|0,this._d=K+this._d|0,this._e=q+this._e|0,this._f=te+this._f|0,this._g=pe+this._g|0,this._h=oe+this._h|0},C.prototype._hash=function(){var k=g.allocUnsafe(32);return k.writeInt32BE(this._a,0),k.writeInt32BE(this._b,4),k.writeInt32BE(this._c,8),k.writeInt32BE(this._d,12),k.writeInt32BE(this._e,16),k.writeInt32BE(this._f,20),k.writeInt32BE(this._g,24),k.writeInt32BE(this._h,28),k},Be.exports=C},6540:(Be,Q,m)=>{var t=m(3894),e=m(117),g=m(6692),A=m(3502).Buffer,s=new Array(160);function C(){this.init(),this._w=s,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 h=A.allocUnsafe(48);function P(d,M,w){h.writeInt32BE(d,w),h.writeInt32BE(M,w+4)}return P(this._ah,this._al,0),P(this._bh,this._bl,8),P(this._ch,this._cl,16),P(this._dh,this._dl,24),P(this._eh,this._el,32),P(this._fh,this._fl,40),h},Be.exports=C},117:(Be,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],s=new Array(160);function C(){this.init(),this._w=s,e.call(this,128,112)}function h(Z,W,K){return K^Z&(W^K)}function P(Z,W,K){return Z&W|K&(Z|W)}function d(Z,W){return(Z>>>28|W<<4)^(W>>>2|Z<<30)^(W>>>7|Z<<25)}function M(Z,W){return(Z>>>14|W<<18)^(Z>>>18|W<<14)^(W>>>9|Z<<23)}function w(Z,W){return(Z>>>1|W<<31)^(Z>>>8|W<<24)^Z>>>7}function I(Z,W){return(Z>>>1|W<<31)^(Z>>>8|W<<24)^(Z>>>7|W<<25)}function k(Z,W){return(Z>>>19|W<<13)^(W>>>29|Z<<3)^Z>>>6}function O(Z,W){return(Z>>>19|W<<13)^(W>>>29|Z<<3)^(Z>>>6|W<<26)}function U(Z,W){return Z>>>0<W>>>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 W=this._w,K=0|this._ah,q=0|this._bh,te=0|this._ch,pe=0|this._dh,oe=0|this._eh,re=0|this._fh,ce=0|this._gh,se=0|this._hh,he=0|this._al,S=0|this._bl,i=0|this._cl,a=0|this._dl,f=0|this._el,l=0|this._fl,y=0|this._gl,E=0|this._hl,D=0;D<32;D+=2)W[D]=Z.readInt32BE(4*D),W[D+1]=Z.readInt32BE(4*D+4);for(;D<160;D+=2){var v=W[D-30],n=W[D-30+1],b=w(v,n),V=I(n,v),z=k(v=W[D-4],n=W[D-4+1]),Y=O(n,v),Ve=W[D-32],We=W[D-32+1],Re=V+W[D-14+1]|0,we=b+W[D-14]+U(Re,V)|0;we=(we=we+z+U(Re=Re+Y|0,Y)|0)+Ve+U(Re=Re+We|0,We)|0,W[D]=we,W[D+1]=Re}for(var me=0;me<160;me+=2){we=W[me],Re=W[me+1];var Ae=P(K,q,te),ee=P(he,S,i),Ze=d(K,he),Oe=d(he,K),fe=M(oe,f),Se=M(f,oe),ge=A[me],xe=A[me+1],vt=h(oe,re,ce),Ie=h(f,l,y),de=E+Se|0,rt=se+fe+U(de,E)|0;rt=(rt=(rt=rt+vt+U(de=de+Ie|0,Ie)|0)+ge+U(de=de+xe|0,xe)|0)+we+U(de=de+Re|0,Re)|0;var je=Oe+ee|0,lt=Ze+Ae+U(je,Oe)|0;se=ce,E=y,ce=re,y=l,re=oe,l=f,oe=pe+rt+U(f=a+de|0,a)|0,pe=te,a=i,te=q,i=S,q=K,S=he,K=rt+lt+U(he=de+je|0,de)|0}this._al=this._al+he|0,this._bl=this._bl+S|0,this._cl=this._cl+i|0,this._dl=this._dl+a|0,this._el=this._el+f|0,this._fl=this._fl+l|0,this._gl=this._gl+y|0,this._hl=this._hl+E|0,this._ah=this._ah+K+U(this._al,he)|0,this._bh=this._bh+q+U(this._bl,S)|0,this._ch=this._ch+te+U(this._cl,i)|0,this._dh=this._dh+pe+U(this._dl,a)|0,this._eh=this._eh+oe+U(this._el,f)|0,this._fh=this._fh+re+U(this._fl,l)|0,this._gh=this._gh+ce+U(this._gl,y)|0,this._hh=this._hh+se+U(this._hl,E)|0},C.prototype._hash=function(){var Z=g.allocUnsafe(64);function W(K,q,te){Z.writeInt32BE(K,te),Z.writeInt32BE(q,te+4)}return W(this._ah,this._al,0),W(this._bh,this._bl,8),W(this._ch,this._cl,16),W(this._dh,this._dl,24),W(this._eh,this._el,32),W(this._fh,this._fl,40),W(this._gh,this._gl,48),W(this._hh,this._hl,56),Z},Be.exports=C},8012:function(Be,Q,m){!function(t){"use strict";var e={};Be.exports?(e.bytesToHex=m(6128).bytesToHex,e.convertString=m(5612),Be.exports=P):(e.bytesToHex=t.convertHex.bytesToHex,e.convertString=t.convertString,t.sha256=P);var g=[];!function(){function d(k){for(var O=Math.sqrt(k),U=2;U<=O;U++)if(!(k%U))return!1;return!0}for(var w=2,I=0;I<64;)d(w)&&(g[I]=4294967296*((k=Math.pow(w,1/3))-(0|k))|0,I++),w++;var k}();var A=function(d){for(var M=[],w=0,I=0;w<d.length;w++,I+=8)M[I>>>5]|=d[w]<<24-I%32;return M},s=function(d){for(var M=[],w=0;w<32*d.length;w+=8)M.push(d[w>>>5]>>>24-w%32&255);return M},C=[],h=function(d,M,w){for(var I=d[0],k=d[1],O=d[2],U=d[3],Z=d[4],W=d[5],K=d[6],q=d[7],te=0;te<64;te++){if(te<16)C[te]=0|M[w+te];else{var pe=C[te-15],re=C[te-2];C[te]=((pe<<25|pe>>>7)^(pe<<14|pe>>>18)^pe>>>3)+C[te-7]+((re<<15|re>>>17)^(re<<13|re>>>19)^re>>>10)+C[te-16]}var he=I&k^I&O^k&O,a=q+((Z<<26|Z>>>6)^(Z<<21|Z>>>11)^(Z<<7|Z>>>25))+(Z&W^~Z&K)+g[te]+C[te];q=K,K=W,W=Z,Z=U+a|0,U=O,O=k,k=I,I=a+(((I<<30|I>>>2)^(I<<19|I>>>13)^(I<<10|I>>>22))+he)|0}d[0]=d[0]+I|0,d[1]=d[1]+k|0,d[2]=d[2]+O|0,d[3]=d[3]+U|0,d[4]=d[4]+Z|0,d[5]=d[5]+W|0,d[6]=d[6]+K|0,d[7]=d[7]+q|0};function P(d,M){d.constructor===String&&(d=e.convertString.UTF8.stringToBytes(d));var w=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],I=A(d),k=8*d.length;I[k>>5]|=128<<24-k%32,I[15+(k+64>>9<<4)]=k;for(var O=0;O<I.length;O+=16)h(w,I,O);var U=s(w);return M&&M.asBytes?U:M&&M.asString?e.convertString.bytesToString(U):e.bytesToHex(U)}P.x2=function(d,M){return P(P(d,{asBytes:!0}),M)}}(this)},295:(Be,Q,m)=>{Be.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,s){var C=this;function h(O){A.writable&&!1===A.write(O)&&C.pause&&C.pause()}function P(){C.readable&&C.resume&&C.resume()}C.on("data",h),A.on("drain",P),!A._isStdio&&(!s||!1!==s.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 I(O){if(k(),0===t.listenerCount(this,"error"))throw O}function k(){C.removeListener("data",h),A.removeListener("drain",P),C.removeListener("end",M),C.removeListener("close",w),C.removeListener("error",I),A.removeListener("error",I),C.removeListener("end",k),C.removeListener("close",k),A.removeListener("close",k)}return C.on("error",I),A.on("error",I),C.on("end",k),C.on("close",k),A.on("close",k),A.emit("pipe",C),A}},3054:(Be,Q,m)=>{"use strict";var t=m(3502).Buffer,e=t.isEncoding||function(K){switch((K=""+K)&&K.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 s(K){var q;switch(this.encoding=function A(K){var q=function g(K){if(!K)return"utf8";for(var q;;)switch(K){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 K;default:if(q)return;K=(""+K).toLowerCase(),q=!0}}(K);if("string"!=typeof q&&(t.isEncoding===e||!e(K)))throw new Error("Unknown encoding: "+K);return q||K}(K),this.encoding){case"utf16le":this.text=I,this.end=k,q=4;break;case"utf8":this.fillLast=d,q=4;break;case"base64":this.text=O,this.end=U,q=3;break;default:return this.write=Z,void(this.end=W)}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(q)}function C(K){return K<=127?0:K>>5==6?2:K>>4==14?3:K>>3==30?4:K>>6==2?-1:-2}function d(K){var q=this.lastTotal-this.lastNeed,te=function P(K,q,te){if(128!=(192&q[0]))return K.lastNeed=0,"\ufffd";if(K.lastNeed>1&&q.length>1){if(128!=(192&q[1]))return K.lastNeed=1,"\ufffd";if(K.lastNeed>2&&q.length>2&&128!=(192&q[2]))return K.lastNeed=2,"\ufffd"}}(this,K);return void 0!==te?te:this.lastNeed<=K.length?(K.copy(this.lastChar,q,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(K.copy(this.lastChar,q,0,K.length),void(this.lastNeed-=K.length))}function I(K,q){if((K.length-q)%2==0){var te=K.toString("utf16le",q);if(te){var pe=te.charCodeAt(te.length-1);if(pe>=55296&&pe<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=K[K.length-2],this.lastChar[1]=K[K.length-1],te.slice(0,-1)}return te}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=K[K.length-1],K.toString("utf16le",q,K.length-1)}function k(K){var q=K&&K.length?this.write(K):"";return this.lastNeed?q+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):q}function O(K,q){var te=(K.length-q)%3;return 0===te?K.toString("base64",q):(this.lastNeed=3-te,this.lastTotal=3,1===te?this.lastChar[0]=K[K.length-1]:(this.lastChar[0]=K[K.length-2],this.lastChar[1]=K[K.length-1]),K.toString("base64",q,K.length-te))}function U(K){var q=K&&K.length?this.write(K):"";return this.lastNeed?q+this.lastChar.toString("base64",0,3-this.lastNeed):q}function Z(K){return K.toString(this.encoding)}function W(K){return K&&K.length?this.write(K):""}Q.s=s,s.prototype.write=function(K){if(0===K.length)return"";var q,te;if(this.lastNeed){if(void 0===(q=this.fillLast(K)))return"";te=this.lastNeed,this.lastNeed=0}else te=0;return te<K.length?q?q+this.text(K,te):this.text(K,te):q||""},s.prototype.end=function w(K){var q=K&&K.length?this.write(K):"";return this.lastNeed?q+"\ufffd":q},s.prototype.text=function M(K,q){var te=function h(K,q,te){var pe=q.length-1;if(pe<te)return 0;var oe=C(q[pe]);return oe>=0?(oe>0&&(K.lastNeed=oe-1),oe):--pe<te||-2===oe?0:(oe=C(q[pe]))>=0?(oe>0&&(K.lastNeed=oe-2),oe):--pe<te||-2===oe?0:(oe=C(q[pe]))>=0?(oe>0&&(2===oe?oe=0:K.lastNeed=oe-3),oe):0}(this,K,q);if(!this.lastNeed)return K.toString("utf8",q);this.lastTotal=te;var pe=K.length-(te-this.lastNeed);return K.copy(this.lastChar,0,pe),K.toString("utf8",q,pe)},s.prototype.fillLast=function(K){if(this.lastNeed<=K.length)return K.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);K.copy(this.lastChar,this.lastTotal-this.lastNeed,0,K.length),this.lastNeed-=K.length}},2167:(Be,Q,m)=>{var t=m(4606);Q.encode=t.encode,Q.decode=t.decode},4606:(Be,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,s=0,C=0,h=0,P=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?(h=(h=d&255>>C)<<(C=(C+5)%8)|(A+1<g.length?g[A+1]:0)>>8-C,A++):(h=d>>8-(C+5)&31,0==(C=(C+5)%8)&&A++),P[s]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(h),s++}for(A=s;A<P.length;A++)P[A]=61;return P},Q.decode=function(g){var C,A=0,s=0,h=0;Buffer.isBuffer(g)||(g=new Buffer(g));for(var P=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");s=t[M],A<=3?0==(A=(A+5)%8)?(P[h]=C|=s,h++,C=0):C|=255&s<<8-A:(P[h]=C|=255&s>>>(A=(A+5)%8),h++,C=255&s<<8-A)}return P.slice(0,h)}},4364:Be=>{function m(t){try{if(!global.localStorage)return!1}catch{return!1}var e=global.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}Be.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:(Be,Q,m)=>{"use strict";function s(E,D,v,n){var z,b=arguments.length,V=b<3?D:null===n?n=Object.getOwnPropertyDescriptor(D,v):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)V=Reflect.decorate(E,D,v,n);else for(var Y=E.length-1;Y>=0;Y--)(z=E[Y])&&(V=(b<3?z(V):b>3?z(D,v,V):z(D,v))||V);return b>3&&V&&Object.defineProperty(D,v,V),V}function I(E,D,v,n){return new(v||(v=Promise))(function(V,z){function Y(Ve){try{$e(n.next(Ve))}catch(We){z(We)}}function Te(Ve){try{$e(n.throw(Ve))}catch(We){z(We)}}function $e(Ve){Ve.done?V(Ve.value):function b(V){return V instanceof v?V:new v(function(z){z(V)})}(Ve.value).then(Y,Te)}$e((n=n.apply(E,D||[])).next())})}function pe(E){return this instanceof pe?(this.v=E,this):new pe(E)}function oe(E,D,v){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var b,n=v.apply(E,D||[]),V=[];return b={},z("next"),z("throw"),z("return"),b[Symbol.asyncIterator]=function(){return this},b;function z(Re){n[Re]&&(b[Re]=function(we){return new Promise(function(me,Ae){V.push([Re,we,me,Ae])>1||Y(Re,we)})})}function Y(Re,we){try{!function Te(Re){Re.value instanceof pe?Promise.resolve(Re.value.v).then($e,Ve):We(V[0][2],Re)}(n[Re](we))}catch(me){We(V[0][3],me)}}function $e(Re){Y("next",Re)}function Ve(Re){Y("throw",Re)}function We(Re,we){Re(we),V.shift(),V.length&&Y(V[0][0],V[0][1])}}function ce(E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var v,D=E[Symbol.asyncIterator];return D?D.call(E):(E=function Z(E){var D="function"==typeof Symbol&&Symbol.iterator,v=D&&E[D],n=0;if(v)return v.call(E);if(E&&"number"==typeof E.length)return{next:function(){return E&&n>=E.length&&(E=void 0),{value:E&&E[n++],done:!E}}};throw new TypeError(D?"Object is not iterable.":"Symbol.iterator is not defined.")}(E),v={},n("next"),n("throw"),n("return"),v[Symbol.asyncIterator]=function(){return this},v);function n(V){v[V]=E[V]&&function(z){return new Promise(function(Y,Te){!function b(V,z,Y,Te){Promise.resolve(Te).then(function($e){V({value:$e,done:Y})},z)}(Y,Te,(z=E[V](z)).done,z.value)})}}}m.d(Q,{FC:()=>oe,KL:()=>ce,gn:()=>s,mG:()=>I,qq:()=>pe})},950:()=>{},6601:()=>{},8623:()=>{},7748:()=>{},5568:()=>{},6619:()=>{},7108:()=>{},2361:()=>{},4616:()=>{},7340:(Be,Q,m)=>{"use strict";m.d(Q,{F4:()=>M,IO:()=>U,LC:()=>e,SB:()=>d,X$:()=>A,ZE:()=>q,ZN:()=>K,_j:()=>t,eR:()=>w,jt:()=>s,k1:()=>te,l3:()=>g,oB:()=>P,pV:()=>k,ru:()=>C,vP:()=>h});class t{}class e{}const g="*";function A(pe,oe){return{type:7,name:pe,definitions:oe,options:{}}}function s(pe,oe=null){return{type:4,styles:oe,timings:pe}}function C(pe,oe=null){return{type:3,steps:pe,options:oe}}function h(pe,oe=null){return{type:2,steps:pe,options:oe}}function P(pe){return{type:6,styles:pe,offset:null}}function d(pe,oe,re){return{type:0,name:pe,styles:oe,options:re}}function M(pe){return{type:5,steps:pe}}function w(pe,oe,re=null){return{type:1,expr:pe,animation:oe,options:re}}function k(pe=null){return{type:9,options:pe}}function U(pe,oe,re=null){return{type:11,selector:pe,animation:oe,options:re}}function W(pe){Promise.resolve().then(pe)}class K{constructor(oe=0,re=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=oe+re}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}onStart(oe){this._originalOnStartFns.push(oe),this._onStartFns.push(oe)}onDone(oe){this._originalOnDoneFns.push(oe),this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){W(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(oe=>oe()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(oe){this._position=this.totalTime?oe*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(oe){const re="start"==oe?this._onStartFns:this._onDoneFns;re.forEach(ce=>ce()),re.length=0}}class q{constructor(oe){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=oe;let re=0,ce=0,se=0;const he=this.players.length;0==he?W(()=>this._onFinish()):this.players.forEach(S=>{S.onDone(()=>{++re==he&&this._onFinish()}),S.onDestroy(()=>{++ce==he&&this._onDestroy()}),S.onStart(()=>{++se==he&&this._onStart()})}),this.totalTime=this.players.reduce((S,i)=>Math.max(S,i.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(oe=>oe()),this._onDoneFns=[])}init(){this.players.forEach(oe=>oe.init())}onStart(oe){this._onStartFns.push(oe)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(oe=>oe()),this._onStartFns=[])}onDone(oe){this._onDoneFns.push(oe)}onDestroy(oe){this._onDestroyFns.push(oe)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(oe=>oe.play())}pause(){this.players.forEach(oe=>oe.pause())}restart(){this.players.forEach(oe=>oe.restart())}finish(){this._onFinish(),this.players.forEach(oe=>oe.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(oe=>oe.destroy()),this._onDestroyFns.forEach(oe=>oe()),this._onDestroyFns=[])}reset(){this.players.forEach(oe=>oe.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(oe){const re=oe*this.totalTime;this.players.forEach(ce=>{const se=ce.totalTime?Math.min(1,re/ce.totalTime):1;ce.setPosition(se)})}getPosition(){const oe=this.players.reduce((re,ce)=>null===re||ce.totalTime>re.totalTime?ce:re,null);return null!=oe?oe.getPosition():0}beforeDestroy(){this.players.forEach(oe=>{oe.beforeDestroy&&oe.beforeDestroy()})}triggerCallback(oe){const re="start"==oe?this._onStartFns:this._onDoneFns;re.forEach(ce=>ce()),re.length=0}}const te="!"},4761:(Be,Q,m)=>{"use strict";m.d(Q,{$s:()=>i,Em:()=>E,Kd:()=>Qe,X6:()=>vt,ic:()=>v,kH:()=>nt,mK:()=>Ze,qV:()=>ee,qm:()=>Ht,rt:()=>Ut,s1:()=>y,tE:()=>St,yG:()=>Ie});var t=m(6895),e=m(4650),g=m(3353),A=m(7579),s=m(727),C=m(1135),h=m(9646),P=m(9521),d=m(8505),M=m(8372),w=m(9300),I=m(4004),k=m(5698),O=m(5684),U=m(1884),Z=m(2722),W=m(1281),K=m(9643),q=m(2289);function re(De,X){return(De.getAttribute(X)||"").match(/\S+/g)||[]}const se="cdk-describedby-message",he="cdk-describedby-host";let S=0,i=(()=>{class De{constructor(ue,Ee){this._platform=Ee,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+S++,this._document=ue,this._id=(0,e.f3M)(e.AFp)+"-"+S++}describe(ue,Ee,qe){if(!this._canBeDescribed(ue,Ee))return;const Xt=a(Ee,qe);"string"!=typeof Ee?(f(Ee,this._id),this._messageRegistry.set(Xt,{messageElement:Ee,referenceCount:0})):this._messageRegistry.has(Xt)||this._createMessageElement(Ee,qe),this._isElementDescribedByMessage(ue,Xt)||this._addMessageReference(ue,Xt)}removeDescription(ue,Ee,qe){if(!Ee||!this._isElementNode(ue))return;const Xt=a(Ee,qe);if(this._isElementDescribedByMessage(ue,Xt)&&this._removeMessageReference(ue,Xt),"string"==typeof Ee){const Vt=this._messageRegistry.get(Xt);Vt&&0===Vt.referenceCount&&this._deleteMessageElement(Xt)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const ue=this._document.querySelectorAll(`[${he}="${this._id}"]`);for(let Ee=0;Ee<ue.length;Ee++)this._removeCdkDescribedByReferenceIds(ue[Ee]),ue[Ee].removeAttribute(he);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(ue,Ee){const qe=this._document.createElement("div");f(qe,this._id),qe.textContent=ue,Ee&&qe.setAttribute("role",Ee),this._createMessagesContainer(),this._messagesContainer.appendChild(qe),this._messageRegistry.set(a(ue,Ee),{messageElement:qe,referenceCount:0})}_deleteMessageElement(ue){this._messageRegistry.get(ue)?.messageElement?.remove(),this._messageRegistry.delete(ue)}_createMessagesContainer(){if(this._messagesContainer)return;const ue="cdk-describedby-message-container",Ee=this._document.querySelectorAll(`.${ue}[platform="server"]`);for(let Xt=0;Xt<Ee.length;Xt++)Ee[Xt].remove();const qe=this._document.createElement("div");qe.style.visibility="hidden",qe.classList.add(ue),qe.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&qe.setAttribute("platform","server"),this._document.body.appendChild(qe),this._messagesContainer=qe}_removeCdkDescribedByReferenceIds(ue){const Ee=re(ue,"aria-describedby").filter(qe=>0!=qe.indexOf(se));ue.setAttribute("aria-describedby",Ee.join(" "))}_addMessageReference(ue,Ee){const qe=this._messageRegistry.get(Ee);(function pe(De,X,ue){const Ee=re(De,X);Ee.some(qe=>qe.trim()==ue.trim())||(Ee.push(ue.trim()),De.setAttribute(X,Ee.join(" ")))})(ue,"aria-describedby",qe.messageElement.id),ue.setAttribute(he,this._id),qe.referenceCount++}_removeMessageReference(ue,Ee){const qe=this._messageRegistry.get(Ee);qe.referenceCount--,function oe(De,X,ue){const qe=re(De,X).filter(Xt=>Xt!=ue.trim());qe.length?De.setAttribute(X,qe.join(" ")):De.removeAttribute(X)}(ue,"aria-describedby",qe.messageElement.id),ue.removeAttribute(he)}_isElementDescribedByMessage(ue,Ee){const qe=re(ue,"aria-describedby"),Xt=this._messageRegistry.get(Ee),Vt=Xt&&Xt.messageElement.id;return!!Vt&&-1!=qe.indexOf(Vt)}_canBeDescribed(ue,Ee){if(!this._isElementNode(ue))return!1;if(Ee&&"object"==typeof Ee)return!0;const qe=null==Ee?"":`${Ee}`.trim(),Xt=ue.getAttribute("aria-label");return!(!qe||Xt&&Xt.trim()===qe)}_isElementNode(ue){return ue.nodeType===this._document.ELEMENT_NODE}}return De.\u0275fac=function(ue){return new(ue||De)(e.LFG(t.K0),e.LFG(g.t4))},De.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();function a(De,X){return"string"==typeof De?`${X||""}/${De}`:De}function f(De,X){De.id||(De.id=`${se}-${X}-${S++}`)}class l{constructor(X){this._items=X,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new A.x,this._typeaheadSubscription=s.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=ue=>ue.disabled,this._pressedLetters=[],this.tabOut=new A.x,this.change=new A.x,X instanceof e.n_E&&(this._itemChangesSubscription=X.changes.subscribe(ue=>{if(this._activeItem){const qe=ue.toArray().indexOf(this._activeItem);qe>-1&&qe!==this._activeItemIndex&&(this._activeItemIndex=qe)}}))}skipPredicate(X){return this._skipPredicateFn=X,this}withWrap(X=!0){return this._wrap=X,this}withVerticalOrientation(X=!0){return this._vertical=X,this}withHorizontalOrientation(X){return this._horizontal=X,this}withAllowedModifierKeys(X){return this._allowedModifierKeys=X,this}withTypeAhead(X=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,d.b)(ue=>this._pressedLetters.push(ue)),(0,M.b)(X),(0,w.h)(()=>this._pressedLetters.length>0),(0,I.U)(()=>this._pressedLetters.join(""))).subscribe(ue=>{const Ee=this._getItemsArray();for(let qe=1;qe<Ee.length+1;qe++){const Xt=(this._activeItemIndex+qe)%Ee.length,Vt=Ee[Xt];if(!this._skipPredicateFn(Vt)&&0===Vt.getLabel().toUpperCase().trim().indexOf(ue)){this.setActiveItem(Xt);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(X=!0){return this._homeAndEnd=X,this}withPageUpDown(X=!0,ue=10){return this._pageUpAndDown={enabled:X,delta:ue},this}setActiveItem(X){const ue=this._activeItem;this.updateActiveItem(X),this._activeItem!==ue&&this.change.next(this._activeItemIndex)}onKeydown(X){const ue=X.keyCode,qe=["altKey","ctrlKey","metaKey","shiftKey"].every(Xt=>!X[Xt]||this._allowedModifierKeys.indexOf(Xt)>-1);switch(ue){case P.Mf:return void this.tabOut.next();case P.JH:if(this._vertical&&qe){this.setNextItemActive();break}return;case P.LH:if(this._vertical&&qe){this.setPreviousItemActive();break}return;case P.SV:if(this._horizontal&&qe){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case P.oh:if(this._horizontal&&qe){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case P.Sd:if(this._homeAndEnd&&qe){this.setFirstItemActive();break}return;case P.uR:if(this._homeAndEnd&&qe){this.setLastItemActive();break}return;case P.Ku:if(this._pageUpAndDown.enabled&&qe){const Xt=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(Xt>0?Xt:0,1);break}return;case P.VM:if(this._pageUpAndDown.enabled&&qe){const Xt=this._activeItemIndex+this._pageUpAndDown.delta,Vt=this._getItemsArray().length;this._setActiveItemByIndex(Xt<Vt?Xt:Vt-1,-1);break}return;default:return void((qe||(0,P.Vb)(X,"shiftKey"))&&(X.key&&1===X.key.length?this._letterKeyStream.next(X.key.toLocaleUpperCase()):(ue>=P.A&&ue<=P.Z||ue>=P.xE&&ue<=P.aO)&&this._letterKeyStream.next(String.fromCharCode(ue))))}this._pressedLetters=[],X.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(X){const ue=this._getItemsArray(),Ee="number"==typeof X?X:ue.indexOf(X);this._activeItem=ue[Ee]??null,this._activeItemIndex=Ee}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(X){this._wrap?this._setActiveInWrapMode(X):this._setActiveInDefaultMode(X)}_setActiveInWrapMode(X){const ue=this._getItemsArray();for(let Ee=1;Ee<=ue.length;Ee++){const qe=(this._activeItemIndex+X*Ee+ue.length)%ue.length;if(!this._skipPredicateFn(ue[qe]))return void this.setActiveItem(qe)}}_setActiveInDefaultMode(X){this._setActiveItemByIndex(this._activeItemIndex+X,X)}_setActiveItemByIndex(X,ue){const Ee=this._getItemsArray();if(Ee[X]){for(;this._skipPredicateFn(Ee[X]);)if(!Ee[X+=ue])return;this.setActiveItem(X)}}_getItemsArray(){return this._items instanceof e.n_E?this._items.toArray():this._items}}class y extends l{setActiveItem(X){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(X),this.activeItem&&this.activeItem.setActiveStyles()}}class E extends l{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(X){return this._origin=X,this}setActiveItem(X){super.setActiveItem(X),this.activeItem&&this.activeItem.focus(this._origin)}}let v=(()=>{class De{constructor(ue){this._platform=ue}isDisabled(ue){return ue.hasAttribute("disabled")}isVisible(ue){return function b(De){return!!(De.offsetWidth||De.offsetHeight||"function"==typeof De.getClientRects&&De.getClientRects().length)}(ue)&&"visible"===getComputedStyle(ue).visibility}isTabbable(ue){if(!this._platform.isBrowser)return!1;const Ee=function n(De){try{return De.frameElement}catch{return null}}(function me(De){return De.ownerDocument&&De.ownerDocument.defaultView||window}(ue));if(Ee&&(-1===We(Ee)||!this.isVisible(Ee)))return!1;let qe=ue.nodeName.toLowerCase(),Xt=We(ue);return ue.hasAttribute("contenteditable")?-1!==Xt:!("iframe"===qe||"object"===qe||this._platform.WEBKIT&&this._platform.IOS&&!function Re(De){let X=De.nodeName.toLowerCase(),ue="input"===X&&De.type;return"text"===ue||"password"===ue||"select"===X||"textarea"===X}(ue))&&("audio"===qe?!!ue.hasAttribute("controls")&&-1!==Xt:"video"===qe?-1!==Xt&&(null!==Xt||this._platform.FIREFOX||ue.hasAttribute("controls")):ue.tabIndex>=0)}isFocusable(ue,Ee){return function we(De){return!function z(De){return function Te(De){return"input"==De.nodeName.toLowerCase()}(De)&&"hidden"==De.type}(De)&&(function V(De){let X=De.nodeName.toLowerCase();return"input"===X||"select"===X||"button"===X||"textarea"===X}(De)||function Y(De){return function $e(De){return"a"==De.nodeName.toLowerCase()}(De)&&De.hasAttribute("href")}(De)||De.hasAttribute("contenteditable")||Ve(De))}(ue)&&!this.isDisabled(ue)&&(Ee?.ignoreVisibility||this.isVisible(ue))}}return De.\u0275fac=function(ue){return new(ue||De)(e.LFG(g.t4))},De.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();function Ve(De){if(!De.hasAttribute("tabindex")||void 0===De.tabIndex)return!1;let X=De.getAttribute("tabindex");return!(!X||isNaN(parseInt(X,10)))}function We(De){if(!Ve(De))return null;const X=parseInt(De.getAttribute("tabindex")||"",10);return isNaN(X)?-1:X}class Ae{get enabled(){return this._enabled}set enabled(X){this._enabled=X,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(X,this._startAnchor),this._toggleAnchorTabIndex(X,this._endAnchor))}constructor(X,ue,Ee,qe,Xt=!1){this._element=X,this._checker=ue,this._ngZone=Ee,this._document=qe,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,Xt||this.attachAnchors()}destroy(){const X=this._startAnchor,ue=this._endAnchor;X&&(X.removeEventListener("focus",this.startAnchorListener),X.remove()),ue&&(ue.removeEventListener("focus",this.endAnchorListener),ue.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(X){return new Promise(ue=>{this._executeOnStable(()=>ue(this.focusInitialElement(X)))})}focusFirstTabbableElementWhenReady(X){return new Promise(ue=>{this._executeOnStable(()=>ue(this.focusFirstTabbableElement(X)))})}focusLastTabbableElementWhenReady(X){return new Promise(ue=>{this._executeOnStable(()=>ue(this.focusLastTabbableElement(X)))})}_getRegionBoundary(X){const ue=this._element.querySelectorAll(`[cdk-focus-region-${X}], [cdkFocusRegion${X}], [cdk-focus-${X}]`);return"start"==X?ue.length?ue[0]:this._getFirstTabbableElement(this._element):ue.length?ue[ue.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(X){const ue=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(ue){if(!this._checker.isFocusable(ue)){const Ee=this._getFirstTabbableElement(ue);return Ee?.focus(X),!!Ee}return ue.focus(X),!0}return this.focusFirstTabbableElement(X)}focusFirstTabbableElement(X){const ue=this._getRegionBoundary("start");return ue&&ue.focus(X),!!ue}focusLastTabbableElement(X){const ue=this._getRegionBoundary("end");return ue&&ue.focus(X),!!ue}hasAttached(){return this._hasAttached}_getFirstTabbableElement(X){if(this._checker.isFocusable(X)&&this._checker.isTabbable(X))return X;const ue=X.children;for(let Ee=0;Ee<ue.length;Ee++){const qe=ue[Ee].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(ue[Ee]):null;if(qe)return qe}return null}_getLastTabbableElement(X){if(this._checker.isFocusable(X)&&this._checker.isTabbable(X))return X;const ue=X.children;for(let Ee=ue.length-1;Ee>=0;Ee--){const qe=ue[Ee].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(ue[Ee]):null;if(qe)return qe}return null}_createAnchor(){const X=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,X),X.classList.add("cdk-visually-hidden"),X.classList.add("cdk-focus-trap-anchor"),X.setAttribute("aria-hidden","true"),X}_toggleAnchorTabIndex(X,ue){X?ue.setAttribute("tabindex","0"):ue.removeAttribute("tabindex")}toggleAnchors(X){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(X,this._startAnchor),this._toggleAnchorTabIndex(X,this._endAnchor))}_executeOnStable(X){this._ngZone.isStable?X():this._ngZone.onStable.pipe((0,k.q)(1)).subscribe(X)}}let ee=(()=>{class De{constructor(ue,Ee,qe){this._checker=ue,this._ngZone=Ee,this._document=qe}create(ue,Ee=!1){return new Ae(ue,this._checker,this._ngZone,this._document,Ee)}}return De.\u0275fac=function(ue){return new(ue||De)(e.LFG(v),e.LFG(e.R0b),e.LFG(t.K0))},De.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),Ze=(()=>{class De{get enabled(){return this.focusTrap.enabled}set enabled(ue){this.focusTrap.enabled=(0,W.Ig)(ue)}get autoCapture(){return this._autoCapture}set autoCapture(ue){this._autoCapture=(0,W.Ig)(ue)}constructor(ue,Ee,qe){this._elementRef=ue,this._focusTrapFactory=Ee,this._previouslyFocusedElement=null,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}ngOnDestroy(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}ngAfterContentInit(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}ngDoCheck(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}ngOnChanges(ue){const Ee=ue.autoCapture;Ee&&!Ee.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,g.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return De.\u0275fac=function(ue){return new(ue||De)(e.Y36(e.SBq),e.Y36(ee),e.Y36(t.K0))},De.\u0275dir=e.lG2({type:De,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[e.TTD]}),De})();function vt(De){return 0===De.buttons||0===De.offsetX&&0===De.offsetY}function Ie(De){const X=De.touches&&De.touches[0]||De.changedTouches&&De.changedTouches[0];return!(!X||-1!==X.identifier||null!=X.radiusX&&1!==X.radiusX||null!=X.radiusY&&1!==X.radiusY)}const de=new e.OlP("cdk-input-modality-detector-options"),rt={ignoreKeys:[P.zL,P.jx,P.b2,P.MW,P.JU]},lt=(0,g.i$)({passive:!0,capture:!0});let Nt=(()=>{class De{get mostRecentModality(){return this._modality.value}constructor(ue,Ee,qe,Xt){this._platform=ue,this._mostRecentTarget=null,this._modality=new C.X(null),this._lastTouchMs=0,this._onKeydown=Vt=>{this._options?.ignoreKeys?.some(ri=>ri===Vt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,g.sA)(Vt))},this._onMousedown=Vt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(vt(Vt)?"keyboard":"mouse"),this._mostRecentTarget=(0,g.sA)(Vt))},this._onTouchstart=Vt=>{Ie(Vt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,g.sA)(Vt))},this._options={...rt,...Xt},this.modalityDetected=this._modality.pipe((0,O.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,U.x)()),ue.isBrowser&&Ee.runOutsideAngular(()=>{qe.addEventListener("keydown",this._onKeydown,lt),qe.addEventListener("mousedown",this._onMousedown,lt),qe.addEventListener("touchstart",this._onTouchstart,lt)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,lt),document.removeEventListener("mousedown",this._onMousedown,lt),document.removeEventListener("touchstart",this._onTouchstart,lt))}}return De.\u0275fac=function(ue){return new(ue||De)(e.LFG(g.t4),e.LFG(e.R0b),e.LFG(t.K0),e.LFG(de,8))},De.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();const Ke=new e.OlP("liveAnnouncerElement",{providedIn:"root",factory:function at(){return null}}),Ct=new e.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ye=0,Qe=(()=>{class De{constructor(ue,Ee,qe,Xt){this._ngZone=Ee,this._defaultOptions=Xt,this._document=qe,this._liveElement=ue||this._createLiveElement()}announce(ue,...Ee){const qe=this._defaultOptions;let Xt,Vt;return 1===Ee.length&&"number"==typeof Ee[0]?Vt=Ee[0]:[Xt,Vt]=Ee,this.clear(),clearTimeout(this._previousTimeout),Xt||(Xt=qe&&qe.politeness?qe.politeness:"polite"),null==Vt&&qe&&(Vt=qe.duration),this._liveElement.setAttribute("aria-live",Xt),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ri=>this._currentResolve=ri)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=ue,"number"==typeof Vt&&(this._previousTimeout=setTimeout(()=>this.clear(),Vt)),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 ue="cdk-live-announcer-element",Ee=this._document.getElementsByClassName(ue),qe=this._document.createElement("div");for(let Xt=0;Xt<Ee.length;Xt++)Ee[Xt].remove();return qe.classList.add(ue),qe.classList.add("cdk-visually-hidden"),qe.setAttribute("aria-atomic","true"),qe.setAttribute("aria-live","polite"),qe.id="cdk-live-announcer-"+ye++,this._document.body.appendChild(qe),qe}_exposeAnnouncerToModals(ue){const Ee=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let qe=0;qe<Ee.length;qe++){const Xt=Ee[qe],Vt=Xt.getAttribute("aria-owns");Vt?-1===Vt.indexOf(ue)&&Xt.setAttribute("aria-owns",Vt+" "+ue):Xt.setAttribute("aria-owns",ue)}}}return De.\u0275fac=function(ue){return new(ue||De)(e.LFG(Ke,8),e.LFG(e.R0b),e.LFG(t.K0),e.LFG(Ct,8))},De.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();const J=new e.OlP("cdk-focus-monitor-default-options"),mt=(0,g.i$)({passive:!0,capture:!0});let St=(()=>{class De{constructor(ue,Ee,qe,Xt,Vt){this._ngZone=ue,this._platform=Ee,this._inputModalityDetector=qe,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=ri=>{for(let ot=(0,g.sA)(ri);ot;ot=ot.parentElement)"focus"===ri.type?this._onFocus(ri,ot):this._onBlur(ri,ot)},this._document=Xt,this._detectionMode=Vt?.detectionMode||0}monitor(ue,Ee=!1){const qe=(0,W.fI)(ue);if(!this._platform.isBrowser||1!==qe.nodeType)return(0,h.of)(null);const Xt=(0,g.kV)(qe)||this._getDocument(),Vt=this._elementInfo.get(qe);if(Vt)return Ee&&(Vt.checkChildren=!0),Vt.subject;const ri={checkChildren:Ee,subject:new A.x,rootNode:Xt};return this._elementInfo.set(qe,ri),this._registerGlobalListeners(ri),ri.subject}stopMonitoring(ue){const Ee=(0,W.fI)(ue),qe=this._elementInfo.get(Ee);qe&&(qe.subject.complete(),this._setClasses(Ee),this._elementInfo.delete(Ee),this._removeGlobalListeners(qe))}focusVia(ue,Ee,qe){const Xt=(0,W.fI)(ue);Xt===this._getDocument().activeElement?this._getClosestElementsInfo(Xt).forEach(([ri,pt])=>this._originChanged(ri,Ee,pt)):(this._setOrigin(Ee),"function"==typeof Xt.focus&&Xt.focus(qe))}ngOnDestroy(){this._elementInfo.forEach((ue,Ee)=>this.stopMonitoring(Ee))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(ue){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(ue)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:ue&&this._isLastInteractionFromInputLabel(ue)?"mouse":"program"}_shouldBeAttributedToTouch(ue){return 1===this._detectionMode||!!ue?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(ue,Ee){ue.classList.toggle("cdk-focused",!!Ee),ue.classList.toggle("cdk-touch-focused","touch"===Ee),ue.classList.toggle("cdk-keyboard-focused","keyboard"===Ee),ue.classList.toggle("cdk-mouse-focused","mouse"===Ee),ue.classList.toggle("cdk-program-focused","program"===Ee)}_setOrigin(ue,Ee=!1){this._ngZone.runOutsideAngular(()=>{this._origin=ue,this._originFromTouchInteraction="touch"===ue&&Ee,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(ue,Ee){const qe=this._elementInfo.get(Ee),Xt=(0,g.sA)(ue);!qe||!qe.checkChildren&&Ee!==Xt||this._originChanged(Ee,this._getFocusOrigin(Xt),qe)}_onBlur(ue,Ee){const qe=this._elementInfo.get(Ee);!qe||qe.checkChildren&&ue.relatedTarget instanceof Node&&Ee.contains(ue.relatedTarget)||(this._setClasses(Ee),this._emitOrigin(qe,null))}_emitOrigin(ue,Ee){ue.subject.observers.length&&this._ngZone.run(()=>ue.subject.next(Ee))}_registerGlobalListeners(ue){if(!this._platform.isBrowser)return;const Ee=ue.rootNode,qe=this._rootNodeFocusListenerCount.get(Ee)||0;qe||this._ngZone.runOutsideAngular(()=>{Ee.addEventListener("focus",this._rootNodeFocusAndBlurListener,mt),Ee.addEventListener("blur",this._rootNodeFocusAndBlurListener,mt)}),this._rootNodeFocusListenerCount.set(Ee,qe+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,Z.R)(this._stopInputModalityDetector)).subscribe(Xt=>{this._setOrigin(Xt,!0)}))}_removeGlobalListeners(ue){const Ee=ue.rootNode;if(this._rootNodeFocusListenerCount.has(Ee)){const qe=this._rootNodeFocusListenerCount.get(Ee);qe>1?this._rootNodeFocusListenerCount.set(Ee,qe-1):(Ee.removeEventListener("focus",this._rootNodeFocusAndBlurListener,mt),Ee.removeEventListener("blur",this._rootNodeFocusAndBlurListener,mt),this._rootNodeFocusListenerCount.delete(Ee))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(ue,Ee,qe){this._setClasses(ue,Ee),this._emitOrigin(qe,Ee),this._lastFocusOrigin=Ee}_getClosestElementsInfo(ue){const Ee=[];return this._elementInfo.forEach((qe,Xt)=>{(Xt===ue||qe.checkChildren&&Xt.contains(ue))&&Ee.push([Xt,qe])}),Ee}_isLastInteractionFromInputLabel(ue){const{_mostRecentTarget:Ee,mostRecentModality:qe}=this._inputModalityDetector;if("mouse"!==qe||!Ee||Ee===ue||"INPUT"!==ue.nodeName&&"TEXTAREA"!==ue.nodeName||ue.disabled)return!1;const Xt=ue.labels;if(Xt)for(let Vt=0;Vt<Xt.length;Vt++)if(Xt[Vt].contains(Ee))return!0;return!1}}return De.\u0275fac=function(ue){return new(ue||De)(e.LFG(e.R0b),e.LFG(g.t4),e.LFG(Nt),e.LFG(t.K0,8),e.LFG(J,8))},De.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),nt=(()=>{class De{constructor(ue,Ee){this._elementRef=ue,this._focusMonitor=Ee,this._focusOrigin=null,this.cdkFocusChange=new e.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const ue=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(ue,1===ue.nodeType&&ue.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Ee=>{this._focusOrigin=Ee,this.cdkFocusChange.emit(Ee)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return De.\u0275fac=function(ue){return new(ue||De)(e.Y36(e.SBq),e.Y36(St))},De.\u0275dir=e.lG2({type:De,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),De})();const Ye="cdk-high-contrast-black-on-white",zt="cdk-high-contrast-white-on-black",xt="cdk-high-contrast-active";let Ht=(()=>{class De{constructor(ue,Ee){this._platform=ue,this._document=Ee,this._breakpointSubscription=(0,e.f3M)(q.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const ue=this._document.createElement("div");ue.style.backgroundColor="rgb(1,2,3)",ue.style.position="absolute",this._document.body.appendChild(ue);const Ee=this._document.defaultView||window,qe=Ee&&Ee.getComputedStyle?Ee.getComputedStyle(ue):null,Xt=(qe&&qe.backgroundColor||"").replace(/ /g,"");switch(ue.remove(),Xt){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 ue=this._document.body.classList;ue.remove(xt,Ye,zt),this._hasCheckedHighContrastMode=!0;const Ee=this.getHighContrastMode();1===Ee?ue.add(xt,Ye):2===Ee&&ue.add(xt,zt)}}}return De.\u0275fac=function(ue){return new(ue||De)(e.LFG(g.t4),e.LFG(t.K0))},De.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),Ut=(()=>{class De{constructor(ue){ue._applyBodyHighContrastModeCssClasses()}}return De.\u0275fac=function(ue){return new(ue||De)(e.LFG(Ht))},De.\u0275mod=e.oAB({type:De}),De.\u0275inj=e.cJS({imports:[K.Q8]}),De})()},445:(Be,Q,m)=>{"use strict";m.d(Q,{Is:()=>h,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)}}),s=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let h=(()=>{class M{constructor(I){this.value="ltr",this.change=new t.vpe,I&&(this.value=function C(M){const w=M?.toLowerCase()||"";return"auto"===w&&typeof navigator<"u"&&navigator?.language?s.test(navigator.language)?"rtl":"ltr":"rtl"===w?"rtl":"ltr"}((I.body?I.body.dir:null)||(I.documentElement?I.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return M.\u0275fac=function(I){return new(I||M)(t.LFG(g,8))},M.\u0275prov=t.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),d=(()=>{class M{}return M.\u0275fac=function(I){return new(I||M)},M.\u0275mod=t.oAB({type:M}),M.\u0275inj=t.cJS({}),M})()},1281:(Be,Q,m)=>{"use strict";m.d(Q,{Eq:()=>s,HM:()=>C,Ig:()=>e,du:()=>P,fI:()=>h,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 s(d){return Array.isArray(d)?d:[d]}function C(d){return null==d?"":"string"==typeof d?d:`${d}px`}function h(d){return d instanceof t.SBq?d.nativeElement:d}function P(d,M=/\s+/){const w=[];if(null!=d){const I=Array.isArray(d)?d:`${d}`.split(M);for(const k of I){const O=`${k}`.trim();O&&w.push(O)}}return w}},5017:(Be,Q,m)=>{"use strict";m.d(Q,{A8:()=>w,Ov:()=>d,Z9:()=>s,eX:()=>P,k:()=>I,o2:()=>A,yy:()=>h});var t=m(4033),e=m(7579),g=m(4650);class A{}function s(k){return k&&"function"==typeof k.connect&&!(k instanceof t.c)}class h{applyChanges(O,U,Z,W,K){O.forEachOperation((q,te,pe)=>{let oe,re;if(null==q.previousIndex){const ce=Z(q,te,pe);oe=U.createEmbeddedView(ce.templateRef,ce.context,ce.index),re=1}else null==pe?(U.remove(te),re=3):(oe=U.get(te),U.move(oe,pe),re=2);K&&K({context:oe?.context,operation:re,record:q})})}detach(){}}class P{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(O,U,Z,W,K){O.forEachOperation((q,te,pe)=>{let oe,re;null==q.previousIndex?(oe=this._insertView(()=>Z(q,te,pe),pe,U,W(q)),re=oe?1:0):null==pe?(this._detachAndCacheView(te,U),re=3):(oe=this._moveView(te,pe,U,W(q)),re=2),K&&K({context:oe?.context,operation:re,record:q})})}detach(){for(const O of this._viewCache)O.destroy();this._viewCache=[]}_insertView(O,U,Z,W){const K=this._insertViewFromCache(U,Z);if(K)return void(K.context.$implicit=W);const q=O();return Z.createEmbeddedView(q.templateRef,q.context,q.index)}_detachAndCacheView(O,U){const Z=U.detach(O);this._maybeCacheView(Z,U)}_moveView(O,U,Z,W){const K=Z.get(O);return Z.move(K,U),K.context.$implicit=W,K}_maybeCacheView(O,U){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(O);else{const Z=U.indexOf(O);-1===Z?O.destroy():U.remove(Z)}}_insertViewFromCache(O,U){const Z=this._viewCache.pop();return Z&&U.insert(Z,O),Z||null}}class d{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(O=!1,U,Z=!0,W){this._multiple=O,this._emitChanges=Z,this.compareWith=W,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new e.x,U&&U.length&&(O?U.forEach(K=>this._markSelected(K)):this._markSelected(U[0]),this._selectedToEmit.length=0)}select(...O){this._verifyValueAssignment(O),O.forEach(Z=>this._markSelected(Z));const U=this._hasQueuedChanges();return this._emitChangeEvent(),U}deselect(...O){this._verifyValueAssignment(O),O.forEach(Z=>this._unmarkSelected(Z));const U=this._hasQueuedChanges();return this._emitChangeEvent(),U}setSelection(...O){this._verifyValueAssignment(O);const U=this.selected,Z=new Set(O);O.forEach(K=>this._markSelected(K)),U.filter(K=>!Z.has(K)).forEach(K=>this._unmarkSelected(K));const W=this._hasQueuedChanges();return this._emitChangeEvent(),W}toggle(O){return this.isSelected(O)?this.deselect(O):this.select(O)}clear(O=!0){this._unmarkAll();const U=this._hasQueuedChanges();return O&&this._emitChangeEvent(),U}isSelected(O){return this._selection.has(this._getConcreteValue(O))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(O){this._multiple&&this.selected&&this._selected.sort(O)}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(O){O=this._getConcreteValue(O),this.isSelected(O)||(this._multiple||this._unmarkAll(),this.isSelected(O)||this._selection.add(O),this._emitChanges&&this._selectedToEmit.push(O))}_unmarkSelected(O){O=this._getConcreteValue(O),this.isSelected(O)&&(this._selection.delete(O),this._emitChanges&&this._deselectedToEmit.push(O))}_unmarkAll(){this.isEmpty()||this._selection.forEach(O=>this._unmarkSelected(O))}_verifyValueAssignment(O){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(O){if(this.compareWith){for(let U of this._selection)if(this.compareWith(O,U))return U;return O}return O}}let w=(()=>{class k{constructor(){this._listeners=[]}notify(U,Z){for(let W of this._listeners)W(U,Z)}listen(U){return this._listeners.push(U),()=>{this._listeners=this._listeners.filter(Z=>U!==Z)}}ngOnDestroy(){this._listeners=[]}}return k.\u0275fac=function(U){return new(U||k)},k.\u0275prov=g.Yz7({token:k,factory:k.\u0275fac,providedIn:"root"}),k})();const I=new g.OlP("_ViewRepeater")},9521:(Be,Q,m)=>{"use strict";m.d(Q,{A:()=>z,JH:()=>te,JU:()=>C,K5:()=>s,Ku:()=>k,LH:()=>K,L_:()=>I,MW:()=>Ct,Mf:()=>g,SV:()=>q,Sd:()=>Z,VM:()=>O,Vb:()=>_i,Z:()=>at,ZH:()=>e,aO:()=>D,b2:()=>Ot,hY:()=>w,jx:()=>h,oh:()=>W,uR:()=>U,xE:()=>se,yY:()=>ce,zL:()=>P});const e=8,g=9,s=13,C=16,h=17,P=18,w=27,I=32,k=33,O=34,U=35,Z=36,W=37,K=38,q=39,te=40,ce=46,se=48,D=57,z=65,at=90,Ct=91,Ot=224;function _i($t,...di){return di.length?di.some(Xi=>$t[Xi]):$t.altKey||$t.shiftKey||$t.ctrlKey||$t.metaKey}},2289:(Be,Q,m)=>{"use strict";m.d(Q,{Yg:()=>te,u3:()=>oe,xu:()=>O});var t=m(4650),e=m(1281),g=m(7579),A=m(9841),s=m(7272),C=m(9751),h=m(5698),P=m(5684),d=m(8372),M=m(4004),w=m(8675),I=m(2722),k=m(3353);let O=(()=>{class re{}return re.\u0275fac=function(se){return new(se||re)},re.\u0275mod=t.oAB({type:re}),re.\u0275inj=t.cJS({}),re})();const U=new Set;let Z,W=(()=>{class re{constructor(se){this._platform=se,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):q}matchMedia(se){return(this._platform.WEBKIT||this._platform.BLINK)&&function K(re){if(!U.has(re))try{Z||(Z=document.createElement("style"),Z.setAttribute("type","text/css"),document.head.appendChild(Z)),Z.sheet&&(Z.sheet.insertRule(`@media ${re} {body{ }}`,0),U.add(re))}catch(ce){console.error(ce)}}(se),this._matchMedia(se)}}return re.\u0275fac=function(se){return new(se||re)(t.LFG(k.t4))},re.\u0275prov=t.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})();function q(re){return{matches:"all"===re||""===re,media:re,addListener:()=>{},removeListener:()=>{}}}let te=(()=>{class re{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 pe((0,e.Eq)(se)).some(S=>this._registerQuery(S).mql.matches)}observe(se){const S=pe((0,e.Eq)(se)).map(a=>this._registerQuery(a).observable);let i=(0,A.a)(S);return i=(0,s.z)(i.pipe((0,h.q)(1)),i.pipe((0,P.T)(1),(0,d.b)(0))),i.pipe((0,M.U)(a=>{const f={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:y})=>{f.matches=f.matches||l,f.breakpoints[y]=l}),f}))}_registerQuery(se){if(this._queries.has(se))return this._queries.get(se);const he=this._mediaMatcher.matchMedia(se),i={observable:new C.y(a=>{const f=l=>this._zone.run(()=>a.next(l));return he.addListener(f),()=>{he.removeListener(f)}}).pipe((0,w.O)(he),(0,M.U)(({matches:a})=>({query:se,matches:a})),(0,I.R)(this._destroySubject)),mql:he};return this._queries.set(se,i),i}}return re.\u0275fac=function(se){return new(se||re)(t.LFG(W),t.LFG(t.R0b))},re.\u0275prov=t.Yz7({token:re,factory:re.\u0275fac,providedIn:"root"}),re})();function pe(re){return re.map(ce=>ce.split(",")).reduce((ce,se)=>ce.concat(se)).map(ce=>ce.trim())}const oe={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:(Be,Q,m)=>{"use strict";m.d(Q,{Q8:()=>d,wD:()=>P});var t=m(1281),e=m(4650),g=m(9751),A=m(7579),s=m(8372);let C=(()=>{class M{create(I){return typeof MutationObserver>"u"?null:new MutationObserver(I)}}return M.\u0275fac=function(I){return new(I||M)},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),h=(()=>{class M{constructor(I){this._mutationObserverFactory=I,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((I,k)=>this._cleanupObserver(k))}observe(I){const k=(0,t.fI)(I);return new g.y(O=>{const Z=this._observeElement(k).subscribe(O);return()=>{Z.unsubscribe(),this._unobserveElement(k)}})}_observeElement(I){if(this._observedElements.has(I))this._observedElements.get(I).count++;else{const k=new A.x,O=this._mutationObserverFactory.create(U=>k.next(U));O&&O.observe(I,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(I,{observer:O,stream:k,count:1})}return this._observedElements.get(I).stream}_unobserveElement(I){this._observedElements.has(I)&&(this._observedElements.get(I).count--,this._observedElements.get(I).count||this._cleanupObserver(I))}_cleanupObserver(I){if(this._observedElements.has(I)){const{observer:k,stream:O}=this._observedElements.get(I);k&&k.disconnect(),O.complete(),this._observedElements.delete(I)}}}return M.\u0275fac=function(I){return new(I||M)(e.LFG(C))},M.\u0275prov=e.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),M})(),P=(()=>{class M{get disabled(){return this._disabled}set disabled(I){this._disabled=(0,t.Ig)(I),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(I){this._debounce=(0,t.su)(I),this._subscribe()}constructor(I,k,O){this._contentObserver=I,this._elementRef=k,this._ngZone=O,this.event=new e.vpe,this._disabled=!1,this._currentSubscription=null}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const I=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?I.pipe((0,s.b)(this.debounce)):I).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return M.\u0275fac=function(I){return new(I||M)(e.Y36(h),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(I){return new(I||M)},M.\u0275mod=e.oAB({type:M}),M.\u0275inj=e.cJS({providers:[C]}),M})()},8184:(Be,Q,m)=>{"use strict";m.d(Q,{Iu:()=>v,U8:()=>xe,X_:()=>se,Xj:()=>D,_G:()=>V,aV:()=>Ae,pI:()=>fe,xu:()=>Oe});var t=m(531),e=m(6895),g=m(4650),A=m(1281),s=m(3353),C=m(9300),h=m(5698),P=m(2722),d=m(2529),M=m(445),w=m(4080),I=m(7579),k=m(727),O=m(6451),U=m(9521);const Z=(0,s.Mq)();class W{constructor(de,rt){this._viewportRuler=de,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=rt}attach(){}enable(){if(this._canBeEnabled()){const de=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=de.style.left||"",this._previousHTMLStyles.top=de.style.top||"",de.style.left=(0,A.HM)(-this._previousScrollPosition.left),de.style.top=(0,A.HM)(-this._previousScrollPosition.top),de.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const de=this._document.documentElement,je=de.style,lt=this._document.body.style,Nt=je.scrollBehavior||"",Ke=lt.scrollBehavior||"";this._isEnabled=!1,je.left=this._previousHTMLStyles.left,je.top=this._previousHTMLStyles.top,de.classList.remove("cdk-global-scrollblock"),Z&&(je.scrollBehavior=lt.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Z&&(je.scrollBehavior=Nt,lt.scrollBehavior=Ke)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const rt=this._document.body,je=this._viewportRuler.getViewportSize();return rt.scrollHeight>je.height||rt.scrollWidth>je.width}}class q{constructor(de,rt,je,lt){this._scrollDispatcher=de,this._ngZone=rt,this._viewportRuler=je,this._config=lt,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(de){this._overlayRef=de}enable(){if(this._scrollSubscription)return;const de=this._scrollDispatcher.scrolled(0).pipe((0,C.h)(rt=>!rt||!this._overlayRef.overlayElement.contains(rt.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=de.subscribe(()=>{const rt=this._viewportRuler.getViewportScrollPosition().top;Math.abs(rt-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=de.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class te{enable(){}disable(){}attach(){}}function pe(Ie,de){return de.some(rt=>Ie.bottom<rt.top||Ie.top>rt.bottom||Ie.right<rt.left||Ie.left>rt.right)}function oe(Ie,de){return de.some(rt=>Ie.top<rt.top||Ie.bottom>rt.bottom||Ie.left<rt.left||Ie.right>rt.right)}class re{constructor(de,rt,je,lt){this._scrollDispatcher=de,this._viewportRuler=rt,this._ngZone=je,this._config=lt,this._scrollSubscription=null}attach(de){this._overlayRef=de}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 rt=this._overlayRef.overlayElement.getBoundingClientRect(),{width:je,height:lt}=this._viewportRuler.getViewportSize();pe(rt,[{width:je,height:lt,bottom:lt,right:je,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 ce=(()=>{class Ie{constructor(rt,je,lt,Nt){this._scrollDispatcher=rt,this._viewportRuler=je,this._ngZone=lt,this.noop=()=>new te,this.close=Ke=>new q(this._scrollDispatcher,this._ngZone,this._viewportRuler,Ke),this.block=()=>new W(this._viewportRuler,this._document),this.reposition=Ke=>new re(this._scrollDispatcher,this._viewportRuler,this._ngZone,Ke),this._document=Nt}}return Ie.\u0275fac=function(rt){return new(rt||Ie)(g.LFG(t.mF),g.LFG(t.rL),g.LFG(g.R0b),g.LFG(e.K0))},Ie.\u0275prov=g.Yz7({token:Ie,factory:Ie.\u0275fac,providedIn:"root"}),Ie})();class se{constructor(de){if(this.scrollStrategy=new te,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,de){const rt=Object.keys(de);for(const je of rt)void 0!==de[je]&&(this[je]=de[je])}}}class i{constructor(de,rt){this.connectionPair=de,this.scrollableViewProperties=rt}}let l=(()=>{class Ie{constructor(rt){this._attachedOverlays=[],this._document=rt}ngOnDestroy(){this.detach()}add(rt){this.remove(rt),this._attachedOverlays.push(rt)}remove(rt){const je=this._attachedOverlays.indexOf(rt);je>-1&&this._attachedOverlays.splice(je,1),0===this._attachedOverlays.length&&this.detach()}}return Ie.\u0275fac=function(rt){return new(rt||Ie)(g.LFG(e.K0))},Ie.\u0275prov=g.Yz7({token:Ie,factory:Ie.\u0275fac,providedIn:"root"}),Ie})(),y=(()=>{class Ie extends l{constructor(rt,je){super(rt),this._ngZone=je,this._keydownListener=lt=>{const Nt=this._attachedOverlays;for(let Ke=Nt.length-1;Ke>-1;Ke--)if(Nt[Ke]._keydownEvents.observers.length>0){const at=Nt[Ke]._keydownEvents;this._ngZone?this._ngZone.run(()=>at.next(lt)):at.next(lt);break}}}add(rt){super.add(rt),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 Ie.\u0275fac=function(rt){return new(rt||Ie)(g.LFG(e.K0),g.LFG(g.R0b,8))},Ie.\u0275prov=g.Yz7({token:Ie,factory:Ie.\u0275fac,providedIn:"root"}),Ie})(),E=(()=>{class Ie extends l{constructor(rt,je,lt){super(rt),this._platform=je,this._ngZone=lt,this._cursorStyleIsSet=!1,this._pointerDownListener=Nt=>{this._pointerDownEventTarget=(0,s.sA)(Nt)},this._clickListener=Nt=>{const Ke=(0,s.sA)(Nt),at="click"===Nt.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:Ke;this._pointerDownEventTarget=null;const Ct=this._attachedOverlays.slice();for(let ye=Ct.length-1;ye>-1;ye--){const Qe=Ct[ye];if(Qe._outsidePointerEvents.observers.length<1||!Qe.hasAttached())continue;if(Qe.overlayElement.contains(Ke)||Qe.overlayElement.contains(at))break;const Le=Qe._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>Le.next(Nt)):Le.next(Nt)}}}add(rt){if(super.add(rt),!this._isAttached){const je=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(je)):this._addEventListeners(je),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=je.style.cursor,je.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const rt=this._document.body;rt.removeEventListener("pointerdown",this._pointerDownListener,!0),rt.removeEventListener("click",this._clickListener,!0),rt.removeEventListener("auxclick",this._clickListener,!0),rt.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(rt.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(rt){rt.addEventListener("pointerdown",this._pointerDownListener,!0),rt.addEventListener("click",this._clickListener,!0),rt.addEventListener("auxclick",this._clickListener,!0),rt.addEventListener("contextmenu",this._clickListener,!0)}}return Ie.\u0275fac=function(rt){return new(rt||Ie)(g.LFG(e.K0),g.LFG(s.t4),g.LFG(g.R0b,8))},Ie.\u0275prov=g.Yz7({token:Ie,factory:Ie.\u0275fac,providedIn:"root"}),Ie})(),D=(()=>{class Ie{constructor(rt,je){this._platform=je,this._document=rt}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const rt="cdk-overlay-container";if(this._platform.isBrowser||(0,s.Oy)()){const lt=this._document.querySelectorAll(`.${rt}[platform="server"], .${rt}[platform="test"]`);for(let Nt=0;Nt<lt.length;Nt++)lt[Nt].remove()}const je=this._document.createElement("div");je.classList.add(rt),(0,s.Oy)()?je.setAttribute("platform","test"):this._platform.isBrowser||je.setAttribute("platform","server"),this._document.body.appendChild(je),this._containerElement=je}}return Ie.\u0275fac=function(rt){return new(rt||Ie)(g.LFG(e.K0),g.LFG(s.t4))},Ie.\u0275prov=g.Yz7({token:Ie,factory:Ie.\u0275fac,providedIn:"root"}),Ie})();class v{constructor(de,rt,je,lt,Nt,Ke,at,Ct,ye,Qe=!1){this._portalOutlet=de,this._host=rt,this._pane=je,this._config=lt,this._ngZone=Nt,this._keyboardDispatcher=Ke,this._document=at,this._location=Ct,this._outsideClickDispatcher=ye,this._animationsDisabled=Qe,this._backdropElement=null,this._backdropClick=new I.x,this._attachments=new I.x,this._detachments=new I.x,this._locationChanges=k.w0.EMPTY,this._backdropClickHandler=Le=>this._backdropClick.next(Le),this._backdropTransitionendHandler=Le=>{this._disposeBackdrop(Le.target)},this._keydownEvents=new I.x,this._outsidePointerEvents=new I.x,lt.scrollStrategy&&(this._scrollStrategy=lt.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=lt.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(de){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const rt=this._portalOutlet.attach(de);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,h.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 rt?.onDestroy&&rt.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),rt}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const de=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),de}dispose(){const de=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,de&&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(de){de!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=de,this.hasAttached()&&(de.attach(this),this.updatePosition()))}updateSize(de){this._config={...this._config,...de},this._updateElementSize()}setDirection(de){this._config={...this._config,direction:de},this._updateElementDirection()}addPanelClass(de){this._pane&&this._toggleClasses(this._pane,de,!0)}removePanelClass(de){this._pane&&this._toggleClasses(this._pane,de,!1)}getDirection(){const de=this._config.direction;return de?"string"==typeof de?de:de.value:"ltr"}updateScrollStrategy(de){de!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=de,this.hasAttached()&&(de.attach(this),de.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const de=this._pane.style;de.width=(0,A.HM)(this._config.width),de.height=(0,A.HM)(this._config.height),de.minWidth=(0,A.HM)(this._config.minWidth),de.minHeight=(0,A.HM)(this._config.minHeight),de.maxWidth=(0,A.HM)(this._config.maxWidth),de.maxHeight=(0,A.HM)(this._config.maxHeight)}_togglePointerEvents(de){this._pane.style.pointerEvents=de?"":"none"}_attachBackdrop(){const de="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(de)})}):this._backdropElement.classList.add(de)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const de=this._backdropElement;if(de){if(this._animationsDisabled)return void this._disposeBackdrop(de);de.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{de.addEventListener("transitionend",this._backdropTransitionendHandler)}),de.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(de)},500))}}_toggleClasses(de,rt,je){const lt=(0,A.Eq)(rt||[]).filter(Nt=>!!Nt);lt.length&&(je?de.classList.add(...lt):de.classList.remove(...lt))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const de=this._ngZone.onStable.pipe((0,P.R)((0,O.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()),de.unsubscribe())})})}_disposeScrollStrategy(){const de=this._scrollStrategy;de&&(de.disable(),de.detach&&de.detach())}_disposeBackdrop(de){de&&(de.removeEventListener("click",this._backdropClickHandler),de.removeEventListener("transitionend",this._backdropTransitionendHandler),de.remove(),this._backdropElement===de&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const n="cdk-overlay-connected-position-bounding-box",b=/([A-Za-z%]+)$/;class V{get positions(){return this._preferredPositions}constructor(de,rt,je,lt,Nt){this._viewportRuler=rt,this._document=je,this._platform=lt,this._overlayContainer=Nt,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 I.x,this._resizeSubscription=k.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(de)}attach(de){this._validatePositions(),de.hostElement.classList.add(n),this._overlayRef=de,this._boundingBox=de.hostElement,this._pane=de.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 de=this._originRect,rt=this._overlayRect,je=this._viewportRect,lt=this._containerRect,Nt=[];let Ke;for(let at of this._preferredPositions){let Ct=this._getOriginPoint(de,lt,at),ye=this._getOverlayPoint(Ct,rt,at),Qe=this._getOverlayFit(ye,rt,je,at);if(Qe.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(at,Ct);this._canFitWithFlexibleDimensions(Qe,ye,je)?Nt.push({position:at,origin:Ct,overlayRect:rt,boundingBoxRect:this._calculateBoundingBoxRect(Ct,at)}):(!Ke||Ke.overlayFit.visibleArea<Qe.visibleArea)&&(Ke={overlayFit:Qe,overlayPoint:ye,originPoint:Ct,position:at,overlayRect:rt})}if(Nt.length){let at=null,Ct=-1;for(const ye of Nt){const Qe=ye.boundingBoxRect.width*ye.boundingBoxRect.height*(ye.position.weight||1);Qe>Ct&&(Ct=Qe,at=ye)}return this._isPushed=!1,void this._applyPosition(at.position,at.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(Ke.position,Ke.originPoint);this._applyPosition(Ke.position,Ke.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&z(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(n),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const de=this._lastPosition;if(de){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const rt=this._getOriginPoint(this._originRect,this._containerRect,de);this._applyPosition(de,rt)}else this.apply()}withScrollableContainers(de){return this._scrollables=de,this}withPositions(de){return this._preferredPositions=de,-1===de.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(de){return this._viewportMargin=de,this}withFlexibleDimensions(de=!0){return this._hasFlexibleDimensions=de,this}withGrowAfterOpen(de=!0){return this._growAfterOpen=de,this}withPush(de=!0){return this._canPush=de,this}withLockedPosition(de=!0){return this._positionLocked=de,this}setOrigin(de){return this._origin=de,this}withDefaultOffsetX(de){return this._offsetX=de,this}withDefaultOffsetY(de){return this._offsetY=de,this}withTransformOriginOn(de){return this._transformOriginSelector=de,this}_getOriginPoint(de,rt,je){let lt,Nt;if("center"==je.originX)lt=de.left+de.width/2;else{const Ke=this._isRtl()?de.right:de.left,at=this._isRtl()?de.left:de.right;lt="start"==je.originX?Ke:at}return rt.left<0&&(lt-=rt.left),Nt="center"==je.originY?de.top+de.height/2:"top"==je.originY?de.top:de.bottom,rt.top<0&&(Nt-=rt.top),{x:lt,y:Nt}}_getOverlayPoint(de,rt,je){let lt,Nt;return lt="center"==je.overlayX?-rt.width/2:"start"===je.overlayX?this._isRtl()?-rt.width:0:this._isRtl()?0:-rt.width,Nt="center"==je.overlayY?-rt.height/2:"top"==je.overlayY?0:-rt.height,{x:de.x+lt,y:de.y+Nt}}_getOverlayFit(de,rt,je,lt){const Nt=Te(rt);let{x:Ke,y:at}=de,Ct=this._getOffset(lt,"x"),ye=this._getOffset(lt,"y");Ct&&(Ke+=Ct),ye&&(at+=ye);let J=0-at,mt=at+Nt.height-je.height,St=this._subtractOverflows(Nt.width,0-Ke,Ke+Nt.width-je.width),nt=this._subtractOverflows(Nt.height,J,mt),Ye=St*nt;return{visibleArea:Ye,isCompletelyWithinViewport:Nt.width*Nt.height===Ye,fitsInViewportVertically:nt===Nt.height,fitsInViewportHorizontally:St==Nt.width}}_canFitWithFlexibleDimensions(de,rt,je){if(this._hasFlexibleDimensions){const lt=je.bottom-rt.y,Nt=je.right-rt.x,Ke=Y(this._overlayRef.getConfig().minHeight),at=Y(this._overlayRef.getConfig().minWidth);return(de.fitsInViewportVertically||null!=Ke&&Ke<=lt)&&(de.fitsInViewportHorizontally||null!=at&&at<=Nt)}return!1}_pushOverlayOnScreen(de,rt,je){if(this._previousPushAmount&&this._positionLocked)return{x:de.x+this._previousPushAmount.x,y:de.y+this._previousPushAmount.y};const lt=Te(rt),Nt=this._viewportRect,Ke=Math.max(de.x+lt.width-Nt.width,0),at=Math.max(de.y+lt.height-Nt.height,0),Ct=Math.max(Nt.top-je.top-de.y,0),ye=Math.max(Nt.left-je.left-de.x,0);let Qe=0,Le=0;return Qe=lt.width<=Nt.width?ye||-Ke:de.x<this._viewportMargin?Nt.left-je.left-de.x:0,Le=lt.height<=Nt.height?Ct||-at:de.y<this._viewportMargin?Nt.top-je.top-de.y:0,this._previousPushAmount={x:Qe,y:Le},{x:de.x+Qe,y:de.y+Le}}_applyPosition(de,rt){if(this._setTransformOrigin(de),this._setOverlayElementStyles(rt,de),this._setBoundingBoxStyles(rt,de),de.panelClass&&this._addPanelClasses(de.panelClass),this._lastPosition=de,this._positionChanges.observers.length){const je=this._getScrollVisibility(),lt=new i(de,je);this._positionChanges.next(lt)}this._isInitialRender=!1}_setTransformOrigin(de){if(!this._transformOriginSelector)return;const rt=this._boundingBox.querySelectorAll(this._transformOriginSelector);let je,lt=de.overlayY;je="center"===de.overlayX?"center":this._isRtl()?"start"===de.overlayX?"right":"left":"start"===de.overlayX?"left":"right";for(let Nt=0;Nt<rt.length;Nt++)rt[Nt].style.transformOrigin=`${je} ${lt}`}_calculateBoundingBoxRect(de,rt){const je=this._viewportRect,lt=this._isRtl();let Nt,Ke,at,Qe,Le,J;if("top"===rt.overlayY)Ke=de.y,Nt=je.height-Ke+this._viewportMargin;else if("bottom"===rt.overlayY)at=je.height-de.y+2*this._viewportMargin,Nt=je.height-at+this._viewportMargin;else{const mt=Math.min(je.bottom-de.y+je.top,de.y),St=this._lastBoundingBoxSize.height;Nt=2*mt,Ke=de.y-mt,Nt>St&&!this._isInitialRender&&!this._growAfterOpen&&(Ke=de.y-St/2)}if("end"===rt.overlayX&&!lt||"start"===rt.overlayX&&lt)J=je.width-de.x+this._viewportMargin,Qe=de.x-this._viewportMargin;else if("start"===rt.overlayX&&!lt||"end"===rt.overlayX&&lt)Le=de.x,Qe=je.right-de.x;else{const mt=Math.min(je.right-de.x+je.left,de.x),St=this._lastBoundingBoxSize.width;Qe=2*mt,Le=de.x-mt,Qe>St&&!this._isInitialRender&&!this._growAfterOpen&&(Le=de.x-St/2)}return{top:Ke,left:Le,bottom:at,right:J,width:Qe,height:Nt}}_setBoundingBoxStyles(de,rt){const je=this._calculateBoundingBoxRect(de,rt);!this._isInitialRender&&!this._growAfterOpen&&(je.height=Math.min(je.height,this._lastBoundingBoxSize.height),je.width=Math.min(je.width,this._lastBoundingBoxSize.width));const lt={};if(this._hasExactPosition())lt.top=lt.left="0",lt.bottom=lt.right=lt.maxHeight=lt.maxWidth="",lt.width=lt.height="100%";else{const Nt=this._overlayRef.getConfig().maxHeight,Ke=this._overlayRef.getConfig().maxWidth;lt.height=(0,A.HM)(je.height),lt.top=(0,A.HM)(je.top),lt.bottom=(0,A.HM)(je.bottom),lt.width=(0,A.HM)(je.width),lt.left=(0,A.HM)(je.left),lt.right=(0,A.HM)(je.right),lt.alignItems="center"===rt.overlayX?"center":"end"===rt.overlayX?"flex-end":"flex-start",lt.justifyContent="center"===rt.overlayY?"center":"bottom"===rt.overlayY?"flex-end":"flex-start",Nt&&(lt.maxHeight=(0,A.HM)(Nt)),Ke&&(lt.maxWidth=(0,A.HM)(Ke))}this._lastBoundingBoxSize=je,z(this._boundingBox.style,lt)}_resetBoundingBoxStyles(){z(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){z(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(de,rt){const je={},lt=this._hasExactPosition(),Nt=this._hasFlexibleDimensions,Ke=this._overlayRef.getConfig();if(lt){const Qe=this._viewportRuler.getViewportScrollPosition();z(je,this._getExactOverlayY(rt,de,Qe)),z(je,this._getExactOverlayX(rt,de,Qe))}else je.position="static";let at="",Ct=this._getOffset(rt,"x"),ye=this._getOffset(rt,"y");Ct&&(at+=`translateX(${Ct}px) `),ye&&(at+=`translateY(${ye}px)`),je.transform=at.trim(),Ke.maxHeight&&(lt?je.maxHeight=(0,A.HM)(Ke.maxHeight):Nt&&(je.maxHeight="")),Ke.maxWidth&&(lt?je.maxWidth=(0,A.HM)(Ke.maxWidth):Nt&&(je.maxWidth="")),z(this._pane.style,je)}_getExactOverlayY(de,rt,je){let lt={top:"",bottom:""},Nt=this._getOverlayPoint(rt,this._overlayRect,de);return this._isPushed&&(Nt=this._pushOverlayOnScreen(Nt,this._overlayRect,je)),"bottom"===de.overlayY?lt.bottom=this._document.documentElement.clientHeight-(Nt.y+this._overlayRect.height)+"px":lt.top=(0,A.HM)(Nt.y),lt}_getExactOverlayX(de,rt,je){let Ke,lt={left:"",right:""},Nt=this._getOverlayPoint(rt,this._overlayRect,de);return this._isPushed&&(Nt=this._pushOverlayOnScreen(Nt,this._overlayRect,je)),Ke=this._isRtl()?"end"===de.overlayX?"left":"right":"end"===de.overlayX?"right":"left","right"===Ke?lt.right=this._document.documentElement.clientWidth-(Nt.x+this._overlayRect.width)+"px":lt.left=(0,A.HM)(Nt.x),lt}_getScrollVisibility(){const de=this._getOriginRect(),rt=this._pane.getBoundingClientRect(),je=this._scrollables.map(lt=>lt.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:oe(de,je),isOriginOutsideView:pe(de,je),isOverlayClipped:oe(rt,je),isOverlayOutsideView:pe(rt,je)}}_subtractOverflows(de,...rt){return rt.reduce((je,lt)=>je-Math.max(lt,0),de)}_getNarrowedViewportRect(){const de=this._document.documentElement.clientWidth,rt=this._document.documentElement.clientHeight,je=this._viewportRuler.getViewportScrollPosition();return{top:je.top+this._viewportMargin,left:je.left+this._viewportMargin,right:je.left+de-this._viewportMargin,bottom:je.top+rt-this._viewportMargin,width:de-2*this._viewportMargin,height:rt-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(de,rt){return"x"===rt?null==de.offsetX?this._offsetX:de.offsetX:null==de.offsetY?this._offsetY:de.offsetY}_validatePositions(){}_addPanelClasses(de){this._pane&&(0,A.Eq)(de).forEach(rt=>{""!==rt&&-1===this._appliedPanelClasses.indexOf(rt)&&(this._appliedPanelClasses.push(rt),this._pane.classList.add(rt))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(de=>{this._pane.classList.remove(de)}),this._appliedPanelClasses=[])}_getOriginRect(){const de=this._origin;if(de instanceof g.SBq)return de.nativeElement.getBoundingClientRect();if(de instanceof Element)return de.getBoundingClientRect();const rt=de.width||0,je=de.height||0;return{top:de.y,bottom:de.y+je,left:de.x,right:de.x+rt,height:je,width:rt}}}function z(Ie,de){for(let rt in de)de.hasOwnProperty(rt)&&(Ie[rt]=de[rt]);return Ie}function Y(Ie){if("number"!=typeof Ie&&null!=Ie){const[de,rt]=Ie.split(b);return rt&&"px"!==rt?null:parseFloat(de)}return Ie||null}function Te(Ie){return{top:Math.floor(Ie.top),right:Math.floor(Ie.right),bottom:Math.floor(Ie.bottom),left:Math.floor(Ie.left),width:Math.floor(Ie.width),height:Math.floor(Ie.height)}}const We="cdk-global-overlay-wrapper";class Re{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(de){const rt=de.getConfig();this._overlayRef=de,this._width&&!rt.width&&de.updateSize({width:this._width}),this._height&&!rt.height&&de.updateSize({height:this._height}),de.hostElement.classList.add(We),this._isDisposed=!1}top(de=""){return this._bottomOffset="",this._topOffset=de,this._alignItems="flex-start",this}left(de=""){return this._xOffset=de,this._xPosition="left",this}bottom(de=""){return this._topOffset="",this._bottomOffset=de,this._alignItems="flex-end",this}right(de=""){return this._xOffset=de,this._xPosition="right",this}start(de=""){return this._xOffset=de,this._xPosition="start",this}end(de=""){return this._xOffset=de,this._xPosition="end",this}width(de=""){return this._overlayRef?this._overlayRef.updateSize({width:de}):this._width=de,this}height(de=""){return this._overlayRef?this._overlayRef.updateSize({height:de}):this._height=de,this}centerHorizontally(de=""){return this.left(de),this._xPosition="center",this}centerVertically(de=""){return this.top(de),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const de=this._overlayRef.overlayElement.style,rt=this._overlayRef.hostElement.style,je=this._overlayRef.getConfig(),{width:lt,height:Nt,maxWidth:Ke,maxHeight:at}=je,Ct=!("100%"!==lt&&"100vw"!==lt||Ke&&"100%"!==Ke&&"100vw"!==Ke),ye=!("100%"!==Nt&&"100vh"!==Nt||at&&"100%"!==at&&"100vh"!==at),Qe=this._xPosition,Le=this._xOffset,J="rtl"===this._overlayRef.getConfig().direction;let mt="",St="",nt="";Ct?nt="flex-start":"center"===Qe?(nt="center",J?St=Le:mt=Le):J?"left"===Qe||"end"===Qe?(nt="flex-end",mt=Le):("right"===Qe||"start"===Qe)&&(nt="flex-start",St=Le):"left"===Qe||"start"===Qe?(nt="flex-start",mt=Le):("right"===Qe||"end"===Qe)&&(nt="flex-end",St=Le),de.position=this._cssPosition,de.marginLeft=Ct?"0":mt,de.marginTop=ye?"0":this._topOffset,de.marginBottom=this._bottomOffset,de.marginRight=Ct?"0":St,rt.justifyContent=nt,rt.alignItems=ye?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const de=this._overlayRef.overlayElement.style,rt=this._overlayRef.hostElement,je=rt.style;rt.classList.remove(We),je.justifyContent=je.alignItems=de.marginTop=de.marginBottom=de.marginLeft=de.marginRight=de.position="",this._overlayRef=null,this._isDisposed=!0}}let we=(()=>{class Ie{constructor(rt,je,lt,Nt){this._viewportRuler=rt,this._document=je,this._platform=lt,this._overlayContainer=Nt}global(){return new Re}flexibleConnectedTo(rt){return new V(rt,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Ie.\u0275fac=function(rt){return new(rt||Ie)(g.LFG(t.rL),g.LFG(e.K0),g.LFG(s.t4),g.LFG(D))},Ie.\u0275prov=g.Yz7({token:Ie,factory:Ie.\u0275fac,providedIn:"root"}),Ie})(),me=0,Ae=(()=>{class Ie{constructor(rt,je,lt,Nt,Ke,at,Ct,ye,Qe,Le,J,mt){this.scrollStrategies=rt,this._overlayContainer=je,this._componentFactoryResolver=lt,this._positionBuilder=Nt,this._keyboardDispatcher=Ke,this._injector=at,this._ngZone=Ct,this._document=ye,this._directionality=Qe,this._location=Le,this._outsideClickDispatcher=J,this._animationsModuleType=mt}create(rt){const je=this._createHostElement(),lt=this._createPaneElement(je),Nt=this._createPortalOutlet(lt),Ke=new se(rt);return Ke.direction=Ke.direction||this._directionality.value,new v(Nt,je,lt,Ke,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(rt){const je=this._document.createElement("div");return je.id="cdk-overlay-"+me++,je.classList.add("cdk-overlay-pane"),rt.appendChild(je),je}_createHostElement(){const rt=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(rt),rt}_createPortalOutlet(rt){return this._appRef||(this._appRef=this._injector.get(g.z2F)),new w.u0(rt,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Ie.\u0275fac=function(rt){return new(rt||Ie)(g.LFG(ce),g.LFG(D),g.LFG(g._Vd),g.LFG(we),g.LFG(y),g.LFG(g.zs3),g.LFG(g.R0b),g.LFG(e.K0),g.LFG(M.Is),g.LFG(e.Ye),g.LFG(E),g.LFG(g.QbO,8))},Ie.\u0275prov=g.Yz7({token:Ie,factory:Ie.\u0275fac,providedIn:"root"}),Ie})();const ee=[{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"}],Ze=new g.OlP("cdk-connected-overlay-scroll-strategy");let Oe=(()=>{class Ie{constructor(rt){this.elementRef=rt}}return Ie.\u0275fac=function(rt){return new(rt||Ie)(g.Y36(g.SBq))},Ie.\u0275dir=g.lG2({type:Ie,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),Ie})(),fe=(()=>{class Ie{get offsetX(){return this._offsetX}set offsetX(rt){this._offsetX=rt,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(rt){this._offsetY=rt,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(rt){this._hasBackdrop=(0,A.Ig)(rt)}get lockPosition(){return this._lockPosition}set lockPosition(rt){this._lockPosition=(0,A.Ig)(rt)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(rt){this._flexibleDimensions=(0,A.Ig)(rt)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(rt){this._growAfterOpen=(0,A.Ig)(rt)}get push(){return this._push}set push(rt){this._push=(0,A.Ig)(rt)}constructor(rt,je,lt,Nt,Ke){this._overlay=rt,this._dir=Ke,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=k.w0.EMPTY,this._attachSubscription=k.w0.EMPTY,this._detachSubscription=k.w0.EMPTY,this._positionSubscription=k.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 w.UE(je,lt),this._scrollStrategyFactory=Nt,this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(rt){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),rt.origin&&this.open&&this._position.apply()),rt.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ee);const rt=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=rt.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=rt.detachments().subscribe(()=>this.detach.emit()),rt.keydownEvents().subscribe(je=>{this.overlayKeydown.next(je),je.keyCode===U.hY&&!this.disableClose&&!(0,U.Vb)(je)&&(je.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(je=>{this.overlayOutsideClick.next(je)})}_buildConfig(){const rt=this._position=this.positionStrategy||this._createPositionStrategy(),je=new se({direction:this._dir,positionStrategy:rt,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(je.width=this.width),(this.height||0===this.height)&&(je.height=this.height),(this.minWidth||0===this.minWidth)&&(je.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(je.minHeight=this.minHeight),this.backdropClass&&(je.backdropClass=this.backdropClass),this.panelClass&&(je.panelClass=this.panelClass),je}_updatePositionStrategy(rt){const je=this.positions.map(lt=>({originX:lt.originX,originY:lt.originY,overlayX:lt.overlayX,overlayY:lt.overlayY,offsetX:lt.offsetX||this.offsetX,offsetY:lt.offsetY||this.offsetY,panelClass:lt.panelClass||void 0}));return rt.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(je).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const rt=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(rt),rt}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Oe?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(rt=>{this.backdropClick.emit(rt)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,d.o)(()=>this.positionChange.observers.length>0)).subscribe(rt=>{this.positionChange.emit(rt),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Ie.\u0275fac=function(rt){return new(rt||Ie)(g.Y36(Ae),g.Y36(g.Rgc),g.Y36(g.s_b),g.Y36(Ze),g.Y36(M.Is,8))},Ie.\u0275dir=g.lG2({type:Ie,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],standalone:!0,features:[g.TTD]}),Ie})();const ge={provide:Ze,deps:[Ae],useFactory:function Se(Ie){return()=>Ie.scrollStrategies.reposition()}};let xe=(()=>{class Ie{}return Ie.\u0275fac=function(rt){return new(rt||Ie)},Ie.\u0275mod=g.oAB({type:Ie}),Ie.\u0275inj=g.cJS({providers:[Ae,ge],imports:[M.vT,w.eL,t.Cl,t.Cl]}),Ie})()},3353:(Be,Q,m)=>{"use strict";m.d(Q,{Mq:()=>O,Oy:()=>pe,_i:()=>U,ht:()=>q,i$:()=>w,kV:()=>K,qK:()=>P,sA:()=>te,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 oe{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 oe.\u0275fac=function(ce){return new(ce||oe)(t.LFG(t.Lbi))},oe.\u0275prov=t.Yz7({token:oe,factory:oe.\u0275fac,providedIn:"root"}),oe})();const h=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function P(){if(C)return C;if("object"!=typeof document||!document)return C=new Set(h),C;let oe=document.createElement("input");return C=new Set(h.filter(re=>(oe.setAttribute("type",re),oe.type===re))),C}let d,I,k,Z;function w(oe){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}()?oe:!!oe.capture}function O(){if(null==k){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return k=!1,k;if("scrollBehavior"in document.documentElement.style)k=!0;else{const oe=Element.prototype.scrollTo;k=!!oe&&!/\{\s*\[native code\]\s*\}/.test(oe.toString())}}return k}function U(){if("object"!=typeof document||!document)return 0;if(null==I){const oe=document.createElement("div"),re=oe.style;oe.dir="rtl",re.width="1px",re.overflow="auto",re.visibility="hidden",re.pointerEvents="none",re.position="absolute";const ce=document.createElement("div"),se=ce.style;se.width="2px",se.height="1px",oe.appendChild(ce),document.body.appendChild(oe),I=0,0===oe.scrollLeft&&(oe.scrollLeft=1,I=0===oe.scrollLeft?1:2),oe.remove()}return I}function K(oe){if(function W(){if(null==Z){const oe=typeof document<"u"?document.head:null;Z=!(!oe||!oe.createShadowRoot&&!oe.attachShadow)}return Z}()){const re=oe.getRootNode?oe.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&re instanceof ShadowRoot)return re}return null}function q(){let oe=typeof document<"u"&&document?document.activeElement:null;for(;oe&&oe.shadowRoot;){const re=oe.shadowRoot.activeElement;if(re===oe)break;oe=re}return oe}function te(oe){return oe.composedPath?oe.composedPath()[0]:oe.target}function pe(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(Be,Q,m)=>{"use strict";m.d(Q,{C5:()=>M,Pl:()=>q,UE:()=>w,eL:()=>pe,en:()=>k,ig:()=>W,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,S,i){super(),this.component=ce,this.viewContainerRef=se,this.injector=he,this.componentFactoryResolver=S,this.projectableNodes=i}}class w extends d{constructor(ce,se,he,S){super(),this.templateRef=ce,this.viewContainerRef=se,this.context=he,this.injector=S}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 I extends d{constructor(ce){super(),this.element=ce instanceof t.SBq?ce.nativeElement:ce}}class k{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 I?(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 k{constructor(ce,se,he,S,i){super(),this.outletElement=ce,this._componentFactoryResolver=se,this._appRef=he,this._defaultInjector=S,this.attachDomPortal=a=>{const f=a.element,l=this._document.createComment("dom-portal");f.parentNode.insertBefore(l,f),this.outletElement.appendChild(f),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(f,l)})},this._document=i}attachComponentPortal(ce){const he=(ce.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ce.component);let S;return ce.viewContainerRef?(S=ce.viewContainerRef.createComponent(he,ce.viewContainerRef.length,ce.injector||ce.viewContainerRef.injector,ce.projectableNodes||void 0),this.setDisposeFn(()=>S.destroy())):(S=he.create(ce.injector||this._defaultInjector||t.zs3.NULL),this._appRef.attachView(S.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(S.hostView),S.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(S)),this._attachedPortal=ce,S}attachTemplatePortal(ce){let se=ce.viewContainerRef,he=se.createEmbeddedView(ce.templateRef,ce.context,{injector:ce.injector});return he.rootNodes.forEach(S=>this.outletElement.appendChild(S)),he.detectChanges(),this.setDisposeFn(()=>{let S=se.indexOf(he);-1!==S&&se.remove(S)}),this._attachedPortal=ce,he}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(ce){return ce.hostView.rootNodes[0]}}let W=(()=>{class re extends w{constructor(se,he){super(se,he)}}return re.\u0275fac=function(se){return new(se||re)(t.Y36(t.Rgc),t.Y36(t.s_b))},re.\u0275dir=t.lG2({type:re,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[t.qOj]}),re})(),q=(()=>{class re extends k{constructor(se,he,S){super(),this._componentFactoryResolver=se,this._viewContainerRef=he,this._isInitialized=!1,this.attached=new t.vpe,this.attachDomPortal=i=>{const a=i.element,f=this._document.createComment("dom-portal");i.setAttachedHost(this),a.parentNode.insertBefore(f,a),this._getRootNode().appendChild(a),this._attachedPortal=i,super.setDisposeFn(()=>{f.parentNode&&f.parentNode.replaceChild(a,f)})},this._document=S}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),a=he.createComponent(i,he.length,se.injector||he.injector,se.projectableNodes||void 0);return he!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=se,this._attachedRef=a,this.attached.emit(a),a}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 re.\u0275fac=function(se){return new(se||re)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36(e.K0))},re.\u0275dir=t.lG2({type:re,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[t.qOj]}),re})(),pe=(()=>{class re{}return re.\u0275fac=function(se){return new(se||re)},re.\u0275mod=t.oAB({type:re}),re.\u0275inj=t.cJS({}),re})()},531:(Be,Q,m)=>{"use strict";m.d(Q,{PQ:()=>l,ZD:()=>Ve,mF:()=>f,Cl:()=>We,rL:()=>E});var t=m(1281),e=m(4650),g=m(7579),A=m(9646),s=m(9751),C=m(4968),h=m(4408),P=m(727);const d={schedule(Re){let we=requestAnimationFrame,me=cancelAnimationFrame;const{delegate:Ae}=d;Ae&&(we=Ae.requestAnimationFrame,me=Ae.cancelAnimationFrame);const ee=we(Ze=>{me=void 0,Re(Ze)});return new P.w0(()=>me?.(ee))},requestAnimationFrame(...Re){const{delegate:we}=d;return(we?.requestAnimationFrame||requestAnimationFrame)(...Re)},cancelAnimationFrame(...Re){const{delegate:we}=d;return(we?.cancelAnimationFrame||cancelAnimationFrame)(...Re)},delegate:void 0};var w=m(7565);const k=new class I extends w.v{flush(we){this._active=!0;const me=this._scheduled;this._scheduled=void 0;const{actions:Ae}=this;let ee;we=we||Ae.shift();do{if(ee=we.execute(we.state,we.delay))break}while((we=Ae[0])&&we.id===me&&Ae.shift());if(this._active=!1,ee){for(;(we=Ae[0])&&we.id===me&&Ae.shift();)we.unsubscribe();throw ee}}}(class M extends h.o{constructor(we,me){super(we,me),this.scheduler=we,this.work=me}requestAsyncId(we,me,Ae=0){return null!==Ae&&Ae>0?super.requestAsyncId(we,me,Ae):(we.actions.push(this),we._scheduled||(we._scheduled=d.requestAnimationFrame(()=>we.flush(void 0))))}recycleAsyncId(we,me,Ae=0){var ee;if(null!=Ae?Ae>0:this.delay>0)return super.recycleAsyncId(we,me,Ae);const{actions:Ze}=we;null!=me&&(null===(ee=Ze[Ze.length-1])||void 0===ee?void 0:ee.id)!==me&&(d.cancelAnimationFrame(me),we._scheduled=void 0)}});var U=m(3101),Z=m(3601),W=m(9300),K=m(2722),q=m(8675),te=m(3353),pe=m(6895),oe=m(445);const re=["contentWrapper"],ce=["*"],se=new e.OlP("VIRTUAL_SCROLL_STRATEGY");let f=(()=>{class Re{constructor(me,Ae,ee){this._ngZone=me,this._platform=Ae,this._scrolled=new g.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=ee}register(me){this.scrollContainers.has(me)||this.scrollContainers.set(me,me.elementScrolled().subscribe(()=>this._scrolled.next(me)))}deregister(me){const Ae=this.scrollContainers.get(me);Ae&&(Ae.unsubscribe(),this.scrollContainers.delete(me))}scrolled(me=20){return this._platform.isBrowser?new s.y(Ae=>{this._globalSubscription||this._addGlobalListener();const ee=me>0?this._scrolled.pipe((0,Z.e)(me)).subscribe(Ae):this._scrolled.subscribe(Ae);return this._scrolledCount++,()=>{ee.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,A.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((me,Ae)=>this.deregister(Ae)),this._scrolled.complete()}ancestorScrolled(me,Ae){const ee=this.getAncestorScrollContainers(me);return this.scrolled(Ae).pipe((0,W.h)(Ze=>!Ze||ee.indexOf(Ze)>-1))}getAncestorScrollContainers(me){const Ae=[];return this.scrollContainers.forEach((ee,Ze)=>{this._scrollableContainsElement(Ze,me)&&Ae.push(Ze)}),Ae}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(me,Ae){let ee=(0,t.fI)(Ae),Ze=me.getElementRef().nativeElement;do{if(ee==Ze)return!0}while(ee=ee.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const me=this._getWindow();return(0,C.R)(me.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Re.\u0275fac=function(me){return new(me||Re)(e.LFG(e.R0b),e.LFG(te.t4),e.LFG(pe.K0,8))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})(),l=(()=>{class Re{constructor(me,Ae,ee,Ze){this.elementRef=me,this.scrollDispatcher=Ae,this.ngZone=ee,this.dir=Ze,this._destroyed=new g.x,this._elementScrolled=new s.y(Oe=>this.ngZone.runOutsideAngular(()=>(0,C.R)(this.elementRef.nativeElement,"scroll").pipe((0,K.R)(this._destroyed)).subscribe(Oe)))}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(me){const Ae=this.elementRef.nativeElement,ee=this.dir&&"rtl"==this.dir.value;null==me.left&&(me.left=ee?me.end:me.start),null==me.right&&(me.right=ee?me.start:me.end),null!=me.bottom&&(me.top=Ae.scrollHeight-Ae.clientHeight-me.bottom),ee&&0!=(0,te._i)()?(null!=me.left&&(me.right=Ae.scrollWidth-Ae.clientWidth-me.left),2==(0,te._i)()?me.left=me.right:1==(0,te._i)()&&(me.left=me.right?-me.right:me.right)):null!=me.right&&(me.left=Ae.scrollWidth-Ae.clientWidth-me.right),this._applyScrollToOptions(me)}_applyScrollToOptions(me){const Ae=this.elementRef.nativeElement;(0,te.Mq)()?Ae.scrollTo(me):(null!=me.top&&(Ae.scrollTop=me.top),null!=me.left&&(Ae.scrollLeft=me.left))}measureScrollOffset(me){const Ae="left",Ze=this.elementRef.nativeElement;if("top"==me)return Ze.scrollTop;if("bottom"==me)return Ze.scrollHeight-Ze.clientHeight-Ze.scrollTop;const Oe=this.dir&&"rtl"==this.dir.value;return"start"==me?me=Oe?"right":Ae:"end"==me&&(me=Oe?Ae:"right"),Oe&&2==(0,te._i)()?me==Ae?Ze.scrollWidth-Ze.clientWidth-Ze.scrollLeft:Ze.scrollLeft:Oe&&1==(0,te._i)()?me==Ae?Ze.scrollLeft+Ze.scrollWidth-Ze.clientWidth:-Ze.scrollLeft:me==Ae?Ze.scrollLeft:Ze.scrollWidth-Ze.clientWidth-Ze.scrollLeft}}return Re.\u0275fac=function(me){return new(me||Re)(e.Y36(e.SBq),e.Y36(f),e.Y36(e.R0b),e.Y36(oe.Is,8))},Re.\u0275dir=e.lG2({type:Re,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),Re})(),E=(()=>{class Re{constructor(me,Ae,ee){this._platform=me,this._change=new g.x,this._changeListener=Ze=>{this._change.next(Ze)},this._document=ee,Ae.runOutsideAngular(()=>{if(me.isBrowser){const Ze=this._getWindow();Ze.addEventListener("resize",this._changeListener),Ze.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const me=this._getWindow();me.removeEventListener("resize",this._changeListener),me.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const me={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),me}getViewportRect(){const me=this.getViewportScrollPosition(),{width:Ae,height:ee}=this.getViewportSize();return{top:me.top,left:me.left,bottom:me.top+ee,right:me.left+Ae,height:ee,width:Ae}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const me=this._document,Ae=this._getWindow(),ee=me.documentElement,Ze=ee.getBoundingClientRect();return{top:-Ze.top||me.body.scrollTop||Ae.scrollY||ee.scrollTop||0,left:-Ze.left||me.body.scrollLeft||Ae.scrollX||ee.scrollLeft||0}}change(me=20){return me>0?this._change.pipe((0,Z.e)(me)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const me=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:me.innerWidth,height:me.innerHeight}:{width:0,height:0}}}return Re.\u0275fac=function(me){return new(me||Re)(e.LFG(te.t4),e.LFG(e.R0b),e.LFG(pe.K0,8))},Re.\u0275prov=e.Yz7({token:Re,factory:Re.\u0275fac,providedIn:"root"}),Re})();const D=new e.OlP("VIRTUAL_SCROLLABLE");let v=(()=>{class Re extends l{constructor(me,Ae,ee,Ze){super(me,Ae,ee,Ze)}measureViewportSize(me){const Ae=this.elementRef.nativeElement;return"horizontal"===me?Ae.clientWidth:Ae.clientHeight}}return Re.\u0275fac=function(me){return new(me||Re)(e.Y36(e.SBq),e.Y36(f),e.Y36(e.R0b),e.Y36(oe.Is,8))},Re.\u0275dir=e.lG2({type:Re,features:[e.qOj]}),Re})();const b=typeof requestAnimationFrame<"u"?k:U.E;let V=(()=>{class Re extends v{get orientation(){return this._orientation}set orientation(me){this._orientation!==me&&(this._orientation=me,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(me){this._appendOnly=(0,t.Ig)(me)}constructor(me,Ae,ee,Ze,Oe,fe,Se,ge){super(me,fe,ee,Oe),this.elementRef=me,this._changeDetectorRef=Ae,this._scrollStrategy=Ze,this.scrollable=ge,this._platform=(0,e.f3M)(te.t4),this._detachedSubject=new g.x,this._renderedRangeSubject=new g.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new s.y(xe=>this._scrollStrategy.scrolledIndexChange.subscribe(vt=>Promise.resolve().then(()=>this.ngZone.run(()=>xe.next(vt))))),this.renderedRangeStream=this._renderedRangeSubject,this._totalContentSize=0,this._totalContentWidth="",this._totalContentHeight="",this._renderedRange={start:0,end:0},this._dataLength=0,this._viewportSize=0,this._renderedContentOffset=0,this._renderedContentOffsetNeedsRewrite=!1,this._isChangeDetectionPending=!1,this._runAfterChangeDetection=[],this._viewportChanges=P.w0.EMPTY,this._viewportChanges=Se.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this)}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe((0,q.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(me){this.ngZone.runOutsideAngular(()=>{this._forOf=me,this._forOf.dataStream.pipe((0,K.R)(this._detachedSubject)).subscribe(Ae=>{const ee=Ae.length;ee!==this._dataLength&&(this._dataLength=ee,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(me){return this.getElementRef().nativeElement.getBoundingClientRect()[me]}setTotalContentSize(me){this._totalContentSize!==me&&(this._totalContentSize=me,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(me){(function n(Re,we){return Re.start==we.start&&Re.end==we.end})(this._renderedRange,me)||(this.appendOnly&&(me={start:0,end:Math.max(this._renderedRange.end,me.end)}),this._renderedRangeSubject.next(this._renderedRange=me),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(me,Ae="to-start"){me=this.appendOnly&&"to-start"===Ae?0:me;const Ze="horizontal"==this.orientation,Oe=Ze?"X":"Y";let Se=`translate${Oe}(${Number((Ze&&this.dir&&"rtl"==this.dir.value?-1:1)*me)}px)`;this._renderedContentOffset=me,"to-end"===Ae&&(Se+=` translate${Oe}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=Se&&(this._renderedContentTransform=Se,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(me,Ae="auto"){const ee={behavior:Ae};"horizontal"===this.orientation?ee.start=me:ee.top=me,this.scrollable.scrollTo(ee)}scrollToIndex(me,Ae="auto"){this._scrollStrategy.scrollToIndex(me,Ae)}measureScrollOffset(me){let Ae;return Ae=this.scrollable==this?ee=>super.measureScrollOffset(ee):ee=>this.scrollable.measureScrollOffset(ee),Math.max(0,Ae(me??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(me){let Ae;const Oe="rtl"==this.dir?.value;Ae="start"==me?Oe?"right":"left":"end"==me?Oe?"left":"right":me||("horizontal"===this.orientation?"left":"top");const fe=this.scrollable.measureBoundingClientRectWithScrollOffset(Ae);return this.elementRef.nativeElement.getBoundingClientRect()[Ae]-fe}measureRenderedContentSize(){const me=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?me.offsetWidth:me.offsetHeight}measureRangeSize(me){return this._forOf?this._forOf.measureRangeSize(me,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(me){me&&this._runAfterChangeDetection.push(me),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 me=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const Ae of me)Ae()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return Re.\u0275fac=function(me){return new(me||Re)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(se,8),e.Y36(oe.Is,8),e.Y36(f),e.Y36(E),e.Y36(D,8))},Re.\u0275cmp=e.Xpm({type:Re,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(me,Ae){if(1&me&&e.Gf(re,7),2&me){let ee;e.iGM(ee=e.CRH())&&(Ae._contentWrapper=ee.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(me,Ae){2&me&&e.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===Ae.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==Ae.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[e._Bn([{provide:l,useFactory:(we,me)=>we||me,deps:[[new e.FiY,new e.tBr(D)],Re]}]),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(me,Ae){1&me&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA(),e._UZ(3,"div",2)),2&me&&(e.xp6(3),e.Udp("width",Ae._totalContentWidth)("height",Ae._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}),Re})(),Ve=(()=>{class Re{}return Re.\u0275fac=function(me){return new(me||Re)},Re.\u0275mod=e.oAB({type:Re}),Re.\u0275inj=e.cJS({}),Re})(),We=(()=>{class Re{}return Re.\u0275fac=function(me){return new(me||Re)},Re.\u0275mod=e.oAB({type:Re}),Re.\u0275inj=e.cJS({imports:[oe.vT,Ve,V,oe.vT,Ve]}),Re})()},2138:(Be,Q,m)=>{"use strict";m.d(Q,{B8:()=>te,KL:()=>k,U5:()=>re,be:()=>q,gx:()=>K,po:()=>oe,st:()=>pe,u6:()=>O});var t=m(4761),e=m(445),g=m(1281),A=m(9521),s=m(4650),C=m(3353),h=m(7579),P=m(9646),d=m(8675),M=m(2722);function w(ce,se){1&ce&&s.Hsn(0)}const I=["*"];let k=(()=>{class ce{constructor(he){this._elementRef=he}focus(){this._elementRef.nativeElement.focus()}}return ce.\u0275fac=function(he){return new(he||ce)(s.Y36(s.SBq))},ce.\u0275dir=s.lG2({type:ce,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),ce})(),O=(()=>{class ce{constructor(he){this.template=he}}return ce.\u0275fac=function(he){return new(he||ce)(s.Y36(s.Rgc))},ce.\u0275dir=s.lG2({type:ce,selectors:[["","cdkStepLabel",""]]}),ce})(),U=0;const K=new s.OlP("STEPPER_GLOBAL_OPTIONS");let q=(()=>{class ce{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}constructor(he,S){this._stepper=he,this.interacted=!1,this.interactedStream=new s.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=S||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this.interacted=!1,null!=this._completedOverride&&(this._completedOverride=!1),null!=this._customError&&(this._customError=!1),this.stepControl&&this.stepControl.reset()}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError}}return ce.\u0275fac=function(he){return new(he||ce)(s.Y36((0,s.Gpc)(()=>te)),s.Y36(K,8))},ce.\u0275cmp=s.Xpm({type:ce,selectors:[["cdk-step"]],contentQueries:function(he,S,i){if(1&he&&s.Suo(i,O,5),2&he){let a;s.iGM(a=s.CRH())&&(S.stepLabel=a.first)}},viewQuery:function(he,S){if(1&he&&s.Gf(s.Rgc,7),2&he){let i;s.iGM(i=s.CRH())&&(S.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:[s.TTD],ngContentSelectors:I,decls:1,vars:0,template:function(he,S){1&he&&(s.F$t(),s.YNc(0,w,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),ce})(),te=(()=>{class ce{get linear(){return this._linear}set linear(he){this._linear=(0,g.Ig)(he)}get selectedIndex(){return this._selectedIndex}set selectedIndex(he){const S=(0,g.su)(he);this.steps&&this._steps?(this._isValidIndex(S),this.selected?._markAsInteracted(),this._selectedIndex!==S&&!this._anyControlsInvalidOrPending(S)&&(S>=this._selectedIndex||this.steps.toArray()[S].editable)&&this._updateSelectedItemIndex(S)):this._selectedIndex=S}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)}constructor(he,S,i){this._dir=he,this._changeDetectorRef=S,this._elementRef=i,this._destroyed=new h.x,this.steps=new s.n_E,this._sortedHeaders=new s.n_E,this._linear=!1,this._selectedIndex=0,this.selectionChange=new s.vpe,this._orientation="horizontal",this._groupId=U++}ngAfterContentInit(){this._steps.changes.pipe((0,d.O)(this._steps),(0,M.R)(this._destroyed)).subscribe(he=>{this.steps.reset(he.filter(S=>S._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((S,i)=>S._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,P.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 S=he-this._selectedIndex;return S<0?"rtl"===this._layoutDirection()?"next":"previous":S>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(he,S="number"){const i=this.steps.toArray()[he],a=this._isCurrentStep(he);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,a):this._getGuidelineLogic(i,a,S)}_getDefaultIndicatorLogic(he,S){return he._showError()&&he.hasError&&!S?"error":!he.completed||S?"number":he.editable?"edit":"done"}_getGuidelineLogic(he,S,i="number"){return he._showError()&&he.hasError&&!S?"error":he.completed&&!S?"done":he.completed&&S?i:he.editable&&S?"edit":i}_isCurrentStep(he){return this._selectedIndex===he}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(he){const S=this.steps.toArray();this.selectionChange.emit({selectedIndex:he,previouslySelectedIndex:this._selectedIndex,selectedStep:S[he],previouslySelectedStep:S[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(he):this._keyManager.updateActiveItem(he),this._selectedIndex=he,this._stateChanged()}_onKeydown(he){const S=(0,A.Vb)(he),i=he.keyCode,a=this._keyManager;null==a.activeItemIndex||S||i!==A.L_&&i!==A.K5?a.setFocusOrigin("keyboard").onKeydown(he):(this.selectedIndex=a.activeItemIndex,he.preventDefault())}_anyControlsInvalidOrPending(he){return!!(this._linear&&he>=0)&&this.steps.toArray().slice(0,he).some(S=>{const i=S.stepControl;return(i?i.invalid||i.pending||!S.interacted:!S.completed)&&!S.optional&&!S._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const he=this._elementRef.nativeElement,S=(0,C.ht)();return he===S||he.contains(S)}_isValidIndex(he){return he>-1&&(!this.steps||he<this.steps.length)}}return ce.\u0275fac=function(he){return new(he||ce)(s.Y36(e.Is,8),s.Y36(s.sBO),s.Y36(s.SBq))},ce.\u0275dir=s.lG2({type:ce,selectors:[["","cdkStepper",""]],contentQueries:function(he,S,i){if(1&he&&(s.Suo(i,q,5),s.Suo(i,k,5)),2&he){let a;s.iGM(a=s.CRH())&&(S._steps=a),s.iGM(a=s.CRH())&&(S._stepHeader=a)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),ce})(),pe=(()=>{class ce{constructor(he){this._stepper=he,this.type="submit"}}return ce.\u0275fac=function(he){return new(he||ce)(s.Y36(te))},ce.\u0275dir=s.lG2({type:ce,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(he,S){1&he&&s.NdJ("click",function(){return S._stepper.next()}),2&he&&s.Ikx("type",S.type)},inputs:{type:"type"}}),ce})(),oe=(()=>{class ce{constructor(he){this._stepper=he,this.type="button"}}return ce.\u0275fac=function(he){return new(he||ce)(s.Y36(te))},ce.\u0275dir=s.lG2({type:ce,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(he,S){1&he&&s.NdJ("click",function(){return S._stepper.previous()}),2&he&&s.Ikx("type",S.type)},inputs:{type:"type"}}),ce})(),re=(()=>{class ce{}return ce.\u0275fac=function(he){return new(he||ce)},ce.\u0275mod=s.oAB({type:ce}),ce.\u0275inj=s.cJS({imports:[e.vT]}),ce})()},7851:(Be,Q,m)=>{"use strict";m.d(Q,{HI:()=>U,Hs:()=>se,Ud:()=>l,VY:()=>O,XJ:()=>f,Xx:()=>i,_0:()=>ce,cu:()=>Z,nZ:()=>E,rO:()=>K});var t=m(5017),e=m(5191),g=m(7579),A=m(1135),s=m(9646),C=m(5698),h=m(9300),P=m(2722),d=m(4650),M=m(1281),w=m(445);class I{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 O extends I{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(V=>this._getDescendants(v,V)):(0,e.b)(b)&&b.pipe((0,C.q)(1),(0,h.h)(Boolean)).subscribe(V=>{for(const z of V)this._getDescendants(v,z)})}}const U=new d.OlP("CDK_TREE_NODE_OUTLET_NODE");let Z=(()=>{class D{constructor(n,b){this.viewContainer=n,this._node=b}}return D.\u0275fac=function(n){return new(n||D)(d.Y36(d.s_b),d.Y36(U,8))},D.\u0275dir=d.lG2({type:D,selectors:[["","cdkTreeNodeOutlet",""]]}),D})();class W{constructor(v){this.$implicit=v}}let K=(()=>{class D{constructor(n){this.template=n}}return D.\u0275fac=function(n){return new(n||D)(d.Y36(d.Rgc))},D.\u0275dir=d.lG2({type:D,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:["cdkTreeNodeDefWhen","when"]}}),D})(),ce=(()=>{class D{get dataSource(){return this._dataSource}set dataSource(n){this._dataSource!==n&&this._switchDataSource(n)}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})}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,s.of)(this._dataSource)),n&&(this._dataSubscription=n.pipe((0,P.R)(this._onDestroy)).subscribe(b=>this.renderNodeChanges(b)))}renderNodeChanges(n,b=this._dataDiffer,V=this._nodeOutlet.viewContainer,z){const Y=b.diff(n);Y&&(Y.forEachOperation((Te,$e,Ve)=>{if(null==Te.previousIndex)this.insertNode(n[Ve],Ve,V,z);else if(null==Ve)V.remove($e),this._levels.delete(Te.item);else{const We=V.get($e);V.move(We,Ve)}}),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,V,z){const Y=this._getNodeDef(n,b),Te=new W(n);Te.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,Te.level),(V||this._nodeOutlet.viewContainer).createEmbeddedView(Y.template,Te,b),se.mostRecentTreeNode&&(se.mostRecentTreeNode.data=n)}}return D.\u0275fac=function(n){return new(n||D)(d.Y36(d.ZZ4),d.Y36(d.sBO))},D.\u0275cmp=d.Xpm({type:D,selectors:[["cdk-tree"]],contentQueries:function(n,b,V){if(1&n&&d.Suo(V,K,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 V;d.iGM(V=d.CRH())&&(b._nodeOutlet=V.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}),D})(),se=(()=>{class D{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}constructor(n,b){this._elementRef=n,this._tree=b,this._destroyed=new g.x,this._dataChanges=new g.x,D.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function he(D){let v=D.parentElement;for(;v&&!S(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(){D.mostRecentTreeNode===this&&(D.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}focus(){this._elementRef.nativeElement.focus()}_setRoleFromData(){this.role="treeitem"}}return D.mostRecentTreeNode=null,D.\u0275fac=function(n){return new(n||D)(d.Y36(d.SBq),d.Y36(ce))},D.\u0275dir=d.lG2({type:D,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"]}),D})();function S(D){const v=D.classList;return!(!v?.contains("cdk-nested-tree-node")&&!v?.contains("cdk-tree"))}let i=(()=>{class D extends se{constructor(n,b,V){super(n,b),this._differs=V}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,P.R)(this._destroyed)).subscribe(b=>this.updateChildrenNodes(b)),this.nodeOutlet.changes.pipe((0,P.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 D.\u0275fac=function(n){return new(n||D)(d.Y36(d.SBq),d.Y36(ce),d.Y36(d.ZZ4))},D.\u0275dir=d.lG2({type:D,selectors:[["cdk-nested-tree-node"]],contentQueries:function(n,b,V){if(1&n&&d.Suo(V,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:D},{provide:U,useExisting:D}]),d.qOj]}),D})();const a=/([A-Za-z%]+)$/;let f=(()=>{class D{get level(){return this._level}set level(n){this._setLevelInput(n)}get indent(){return this._indent}set indent(n){this._setIndentInput(n)}constructor(n,b,V,z){this._treeNode=n,this._tree=b,this._element=V,this._dir=z,this._destroyed=new g.x,this.indentUnits="px",this._indent=40,this._setPadding(),z&&z.change.pipe((0,P.R)(this._destroyed)).subscribe(()=>this._setPadding(!0)),n._dataChanges.subscribe(()=>this._setPadding())}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 V=this._element.nativeElement,z=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",Y="paddingLeft"===z?"paddingRight":"paddingLeft";V.style[z]=b||"",V.style[Y]="",this._currentPadding=b}}_setLevelInput(n){this._level=(0,M.su)(n,null),this._setPadding()}_setIndentInput(n){let b=n,V="px";if("string"==typeof n){const z=n.split(a);b=z[0],V=z[1]||V}this.indentUnits=V,this._indent=(0,M.su)(b),this._setPadding()}}return D.\u0275fac=function(n){return new(n||D)(d.Y36(se),d.Y36(ce),d.Y36(d.SBq),d.Y36(w.Is,8))},D.\u0275dir=d.lG2({type:D,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:["cdkTreeNodePadding","level"],indent:["cdkTreeNodePaddingIndent","indent"]}}),D})(),l=(()=>{class D{get recursive(){return this._recursive}set recursive(n){this._recursive=(0,M.Ig)(n)}constructor(n,b){this._tree=n,this._treeNode=b,this._recursive=!1}_toggle(n){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),n.stopPropagation()}}return D.\u0275fac=function(n){return new(n||D)(d.Y36(ce),d.Y36(se))},D.\u0275dir=d.lG2({type:D,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(n,b){1&n&&d.NdJ("click",function(z){return b._toggle(z)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),D})(),E=(()=>{class D{}return D.\u0275fac=function(n){return new(n||D)},D.\u0275mod=d.oAB({type:D}),D.\u0275inj=d.cJS({}),D})()},6895:(Be,Q,m)=>{"use strict";m.d(Q,{Do:()=>q,ED:()=>Wn,EM:()=>mr,HT:()=>A,JF:()=>$a,JJ:()=>So,K0:()=>C,Mx:()=>tn,NF:()=>fr,Nd:()=>Mo,O5:()=>Xi,OU:()=>ho,Ov:()=>En,PC:()=>ni,PM:()=>ra,RF:()=>Ma,S$:()=>Z,Ts:()=>yr,V_:()=>d,Ye:()=>te,b0:()=>K,bD:()=>Zr,ez:()=>uo,gd:()=>ta,i8:()=>Hn,mk:()=>_e,n9:()=>Oa,q:()=>g,rS:()=>zn,sg:()=>_i,tP:()=>ui,uU:()=>Qn,w_:()=>s});var t=m(4650);let e=null;function g(){return e}function A(He){e||(e=He)}class s{}const C=new t.OlP("DocumentToken");let h=(()=>{class He{historyGo($){throw new Error("Not implemented")}}return He.\u0275fac=function($){return new($||He)},He.\u0275prov=t.Yz7({token:He,factory:function(){return function P(){return(0,t.LFG)(M)}()},providedIn:"platform"}),He})();const d=new t.OlP("Location Initialized");let M=(()=>{class He extends h{constructor($){super(),this._doc=$,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return g().getBaseHref(this._doc)}onPopState($){const Me=g().getGlobalEventTarget(this._doc,"window");return Me.addEventListener("popstate",$,!1),()=>Me.removeEventListener("popstate",$)}onHashChange($){const Me=g().getGlobalEventTarget(this._doc,"window");return Me.addEventListener("hashchange",$,!1),()=>Me.removeEventListener("hashchange",$)}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($){this._location.pathname=$}pushState($,Me,tt){w()?this._history.pushState($,Me,tt):this._location.hash=tt}replaceState($,Me,tt){w()?this._history.replaceState($,Me,tt):this._location.hash=tt}forward(){this._history.forward()}back(){this._history.back()}historyGo($=0){this._history.go($)}getState(){return this._history.state}}return He.\u0275fac=function($){return new($||He)(t.LFG(C))},He.\u0275prov=t.Yz7({token:He,factory:function(){return function I(){return new M((0,t.LFG)(C))}()},providedIn:"platform"}),He})();function w(){return!!window.history.pushState}function k(He,ne){if(0==He.length)return ne;if(0==ne.length)return He;let $=0;return He.endsWith("/")&&$++,ne.startsWith("/")&&$++,2==$?He+ne.substring(1):1==$?He+ne:He+"/"+ne}function O(He){const ne=He.match(/#|\?|$/),$=ne&&ne.index||He.length;return He.slice(0,$-("/"===He[$-1]?1:0))+He.slice($)}function U(He){return He&&"?"!==He[0]?"?"+He:He}let Z=(()=>{class He{historyGo($){throw new Error("Not implemented")}}return He.\u0275fac=function($){return new($||He)},He.\u0275prov=t.Yz7({token:He,factory:function(){return(0,t.f3M)(K)},providedIn:"root"}),He})();const W=new t.OlP("appBaseHref");let K=(()=>{class He extends Z{constructor($,Me){super(),this._platformLocation=$,this._removeListenerFns=[],this._baseHref=Me??this._platformLocation.getBaseHrefFromDOM()??(0,t.f3M)(C).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState($){this._removeListenerFns.push(this._platformLocation.onPopState($),this._platformLocation.onHashChange($))}getBaseHref(){return this._baseHref}prepareExternalUrl($){return k(this._baseHref,$)}path($=!1){const Me=this._platformLocation.pathname+U(this._platformLocation.search),tt=this._platformLocation.hash;return tt&&$?`${Me}${tt}`:Me}pushState($,Me,tt,Ne){const kt=this.prepareExternalUrl(tt+U(Ne));this._platformLocation.pushState($,Me,kt)}replaceState($,Me,tt,Ne){const kt=this.prepareExternalUrl(tt+U(Ne));this._platformLocation.replaceState($,Me,kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo($=0){this._platformLocation.historyGo?.($)}}return He.\u0275fac=function($){return new($||He)(t.LFG(h),t.LFG(W,8))},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac,providedIn:"root"}),He})(),q=(()=>{class He extends Z{constructor($,Me){super(),this._platformLocation=$,this._baseHref="",this._removeListenerFns=[],null!=Me&&(this._baseHref=Me)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState($){this._removeListenerFns.push(this._platformLocation.onPopState($),this._platformLocation.onHashChange($))}getBaseHref(){return this._baseHref}path($=!1){let Me=this._platformLocation.hash;return null==Me&&(Me="#"),Me.length>0?Me.substring(1):Me}prepareExternalUrl($){const Me=k(this._baseHref,$);return Me.length>0?"#"+Me:Me}pushState($,Me,tt,Ne){let kt=this.prepareExternalUrl(tt+U(Ne));0==kt.length&&(kt=this._platformLocation.pathname),this._platformLocation.pushState($,Me,kt)}replaceState($,Me,tt,Ne){let kt=this.prepareExternalUrl(tt+U(Ne));0==kt.length&&(kt=this._platformLocation.pathname),this._platformLocation.replaceState($,Me,kt)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo($=0){this._platformLocation.historyGo?.($)}}return He.\u0275fac=function($){return new($||He)(t.LFG(h),t.LFG(W,8))},He.\u0275prov=t.Yz7({token:He,factory:He.\u0275fac}),He})(),te=(()=>{class He{constructor($){this._subject=new t.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=$;const Me=this._locationStrategy.getBaseHref();this._basePath=function ce(He){if(new RegExp("^(https?:)?//").test(He)){const[,$]=He.split(/\/\/[^\/]+/);return $}return He}(O(re(Me))),this._locationStrategy.onPopState(tt=>{this._subject.emit({url:this.path(!0),pop:!0,state:tt.state,type:tt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path($=!1){return this.normalize(this._locationStrategy.path($))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo($,Me=""){return this.path()==this.normalize($+U(Me))}normalize($){return He.stripTrailingSlash(function oe(He,ne){if(!He||!ne.startsWith(He))return ne;const $=ne.substring(He.length);return""===$||["/",";","?","#"].includes($[0])?$:ne}(this._basePath,re($)))}prepareExternalUrl($){return $&&"/"!==$[0]&&($="/"+$),this._locationStrategy.prepareExternalUrl($)}go($,Me="",tt=null){this._locationStrategy.pushState(tt,"",$,Me),this._notifyUrlChangeListeners(this.prepareExternalUrl($+U(Me)),tt)}replaceState($,Me="",tt=null){this._locationStrategy.replaceState(tt,"",$,Me),this._notifyUrlChangeListeners(this.prepareExternalUrl($+U(Me)),tt)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo($=0){this._locationStrategy.historyGo?.($)}onUrlChange($){return this._urlChangeListeners.push($),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Me=>{this._notifyUrlChangeListeners(Me.url,Me.state)})),()=>{const Me=this._urlChangeListeners.indexOf($);this._urlChangeListeners.splice(Me,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners($="",Me){this._urlChangeListeners.forEach(tt=>tt($,Me))}subscribe($,Me,tt){return this._subject.subscribe({next:$,error:Me,complete:tt})}}return He.normalizeQueryParams=U,He.joinWithSlash=k,He.stripTrailingSlash=O,He.\u0275fac=function($){return new($||He)(t.LFG(Z))},He.\u0275prov=t.Yz7({token:He,factory:function(){return function pe(){return new te((0,t.LFG)(Z))}()},providedIn:"root"}),He})();function re(He){return He.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))(),a=(()=>((a=a||{})[a.Narrow=0]="Narrow",a[a.Abbreviated=1]="Abbreviated",a[a.Wide=2]="Wide",a[a.Short=3]="Short",a))(),f=(()=>((f=f||{})[f.Short=0]="Short",f[f.Medium=1]="Medium",f[f.Long=2]="Long",f[f.Full=3]="Full",f))(),l=(()=>((l=l||{})[l.Decimal=0]="Decimal",l[l.Group=1]="Group",l[l.List=2]="List",l[l.PercentSign=3]="PercentSign",l[l.PlusSign=4]="PlusSign",l[l.MinusSign=5]="MinusSign",l[l.Exponential=6]="Exponential",l[l.SuperscriptingExponent=7]="SuperscriptingExponent",l[l.PerMille=8]="PerMille",l[l.Infinity=9]="Infinity",l[l.NaN=10]="NaN",l[l.TimeSeparator=11]="TimeSeparator",l[l.CurrencyDecimal=12]="CurrencyDecimal",l[l.CurrencyGroup=13]="CurrencyGroup",l))();function Y(He,ne){return ge((0,t.cg1)(He)[t.wAp.DateFormat],ne)}function Te(He,ne){return ge((0,t.cg1)(He)[t.wAp.TimeFormat],ne)}function $e(He,ne){return ge((0,t.cg1)(He)[t.wAp.DateTimeFormat],ne)}function Ve(He,ne){const $=(0,t.cg1)(He),Me=$[t.wAp.NumberSymbols][ne];if(typeof Me>"u"){if(ne===l.CurrencyDecimal)return $[t.wAp.NumberSymbols][l.Decimal];if(ne===l.CurrencyGroup)return $[t.wAp.NumberSymbols][l.Group]}return Me}function Ze(He){if(!He[t.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${He[t.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function ge(He,ne){for(let $=ne;$>-1;$--)if(typeof He[$]<"u")return He[$];throw new Error("Locale data API: locale data undefined")}function xe(He){const[ne,$]=He.split(":");return{hours:+ne,minutes:+$}}const rt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,je={},lt=/((?:[^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 Nt=(()=>((Nt=Nt||{})[Nt.Short=0]="Short",Nt[Nt.ShortGMT=1]="ShortGMT",Nt[Nt.Long=2]="Long",Nt[Nt.Extended=3]="Extended",Nt))(),Ke=(()=>((Ke=Ke||{})[Ke.FullYear=0]="FullYear",Ke[Ke.Month=1]="Month",Ke[Ke.Date=2]="Date",Ke[Ke.Hours=3]="Hours",Ke[Ke.Minutes=4]="Minutes",Ke[Ke.Seconds=5]="Seconds",Ke[Ke.FractionalSeconds=6]="FractionalSeconds",Ke[Ke.Day=7]="Day",Ke))(),at=(()=>((at=at||{})[at.DayPeriods=0]="DayPeriods",at[at.Days=1]="Days",at[at.Months=2]="Months",at[at.Eras=3]="Eras",at))();function Ct(He,ne,$,Me){let tt=function ot(He){if(wt(He))return He;if("number"==typeof He&&!isNaN(He))return new Date(He);if("string"==typeof He){if(He=He.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(He)){const[tt,Ne=1,kt=1]=He.split("-").map(ai=>+ai);return ye(tt,Ne-1,kt)}const $=parseFloat(He);if(!isNaN(He-$))return new Date($);let Me;if(Me=He.match(rt))return function ut(He){const ne=new Date(0);let $=0,Me=0;const tt=He[8]?ne.setUTCFullYear:ne.setFullYear,Ne=He[8]?ne.setUTCHours:ne.setHours;He[9]&&($=Number(He[9]+He[10]),Me=Number(He[9]+He[11])),tt.call(ne,Number(He[1]),Number(He[2])-1,Number(He[3]));const kt=Number(He[4]||0)-$,ai=Number(He[5]||0)-Me,ii=Number(He[6]||0),gi=Math.floor(1e3*parseFloat("0."+(He[7]||0)));return Ne.call(ne,kt,ai,ii,gi),ne}(Me)}const ne=new Date(He);if(!wt(ne))throw new Error(`Unable to convert "${He}" into a date`);return ne}(He);ne=Qe($,ne)||ne;let ai,kt=[];for(;ne;){if(ai=lt.exec(ne),!ai){kt.push(ne);break}{kt=kt.concat(ai.slice(1));const wi=kt.pop();if(!wi)break;ne=wi}}let ii=tt.getTimezoneOffset();Me&&(ii=Vt(Me,ii),tt=function pt(He,ne,$){const Me=$?-1:1,tt=He.getTimezoneOffset();return function ri(He,ne){return(He=new Date(He.getTime())).setMinutes(He.getMinutes()+ne),He}(He,Me*(Vt(ne,tt)-tt))}(tt,Me,!0));let gi="";return kt.forEach(wi=>{const Ii=function Xt(He){if(qe[He])return qe[He];let ne;switch(He){case"G":case"GG":case"GGG":ne=Ye(at.Eras,a.Abbreviated);break;case"GGGG":ne=Ye(at.Eras,a.Wide);break;case"GGGGG":ne=Ye(at.Eras,a.Narrow);break;case"y":ne=St(Ke.FullYear,1,0,!1,!0);break;case"yy":ne=St(Ke.FullYear,2,0,!0,!0);break;case"yyy":ne=St(Ke.FullYear,3,0,!1,!0);break;case"yyyy":ne=St(Ke.FullYear,4,0,!1,!0);break;case"Y":ne=Ee(1);break;case"YY":ne=Ee(2,!0);break;case"YYY":ne=Ee(3);break;case"YYYY":ne=Ee(4);break;case"M":case"L":ne=St(Ke.Month,1,1);break;case"MM":case"LL":ne=St(Ke.Month,2,1);break;case"MMM":ne=Ye(at.Months,a.Abbreviated);break;case"MMMM":ne=Ye(at.Months,a.Wide);break;case"MMMMM":ne=Ye(at.Months,a.Narrow);break;case"LLL":ne=Ye(at.Months,a.Abbreviated,i.Standalone);break;case"LLLL":ne=Ye(at.Months,a.Wide,i.Standalone);break;case"LLLLL":ne=Ye(at.Months,a.Narrow,i.Standalone);break;case"w":ne=ue(1);break;case"ww":ne=ue(2);break;case"W":ne=ue(1,!0);break;case"d":ne=St(Ke.Date,1);break;case"dd":ne=St(Ke.Date,2);break;case"c":case"cc":ne=St(Ke.Day,1);break;case"ccc":ne=Ye(at.Days,a.Abbreviated,i.Standalone);break;case"cccc":ne=Ye(at.Days,a.Wide,i.Standalone);break;case"ccccc":ne=Ye(at.Days,a.Narrow,i.Standalone);break;case"cccccc":ne=Ye(at.Days,a.Short,i.Standalone);break;case"E":case"EE":case"EEE":ne=Ye(at.Days,a.Abbreviated);break;case"EEEE":ne=Ye(at.Days,a.Wide);break;case"EEEEE":ne=Ye(at.Days,a.Narrow);break;case"EEEEEE":ne=Ye(at.Days,a.Short);break;case"a":case"aa":case"aaa":ne=Ye(at.DayPeriods,a.Abbreviated);break;case"aaaa":ne=Ye(at.DayPeriods,a.Wide);break;case"aaaaa":ne=Ye(at.DayPeriods,a.Narrow);break;case"b":case"bb":case"bbb":ne=Ye(at.DayPeriods,a.Abbreviated,i.Standalone,!0);break;case"bbbb":ne=Ye(at.DayPeriods,a.Wide,i.Standalone,!0);break;case"bbbbb":ne=Ye(at.DayPeriods,a.Narrow,i.Standalone,!0);break;case"B":case"BB":case"BBB":ne=Ye(at.DayPeriods,a.Abbreviated,i.Format,!0);break;case"BBBB":ne=Ye(at.DayPeriods,a.Wide,i.Format,!0);break;case"BBBBB":ne=Ye(at.DayPeriods,a.Narrow,i.Format,!0);break;case"h":ne=St(Ke.Hours,1,-12);break;case"hh":ne=St(Ke.Hours,2,-12);break;case"H":ne=St(Ke.Hours,1);break;case"HH":ne=St(Ke.Hours,2);break;case"m":ne=St(Ke.Minutes,1);break;case"mm":ne=St(Ke.Minutes,2);break;case"s":ne=St(Ke.Seconds,1);break;case"ss":ne=St(Ke.Seconds,2);break;case"S":ne=St(Ke.FractionalSeconds,1);break;case"SS":ne=St(Ke.FractionalSeconds,2);break;case"SSS":ne=St(Ke.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":ne=xt(Nt.Short);break;case"ZZZZZ":ne=xt(Nt.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":ne=xt(Nt.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":ne=xt(Nt.Long);break;default:return null}return qe[He]=ne,ne}(wi);gi+=Ii?Ii(tt,$,ii):"''"===wi?"'":wi.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),gi}function ye(He,ne,$){const Me=new Date(0);return Me.setFullYear(He,ne,$),Me.setHours(0,0,0),Me}function Qe(He,ne){const $=function E(He){return(0,t.cg1)(He)[t.wAp.LocaleId]}(He);if(je[$]=je[$]||{},je[$][ne])return je[$][ne];let Me="";switch(ne){case"shortDate":Me=Y(He,f.Short);break;case"mediumDate":Me=Y(He,f.Medium);break;case"longDate":Me=Y(He,f.Long);break;case"fullDate":Me=Y(He,f.Full);break;case"shortTime":Me=Te(He,f.Short);break;case"mediumTime":Me=Te(He,f.Medium);break;case"longTime":Me=Te(He,f.Long);break;case"fullTime":Me=Te(He,f.Full);break;case"short":const tt=Qe(He,"shortTime"),Ne=Qe(He,"shortDate");Me=Le($e(He,f.Short),[tt,Ne]);break;case"medium":const kt=Qe(He,"mediumTime"),ai=Qe(He,"mediumDate");Me=Le($e(He,f.Medium),[kt,ai]);break;case"long":const ii=Qe(He,"longTime"),gi=Qe(He,"longDate");Me=Le($e(He,f.Long),[ii,gi]);break;case"full":const wi=Qe(He,"fullTime"),Ii=Qe(He,"fullDate");Me=Le($e(He,f.Full),[wi,Ii])}return Me&&(je[$][ne]=Me),Me}function Le(He,ne){return ne&&(He=He.replace(/\{([^}]+)}/g,function($,Me){return null!=ne&&Me in ne?ne[Me]:$})),He}function J(He,ne,$="-",Me,tt){let Ne="";(He<0||tt&&He<=0)&&(tt?He=1-He:(He=-He,Ne=$));let kt=String(He);for(;kt.length<ne;)kt="0"+kt;return Me&&(kt=kt.slice(kt.length-ne)),Ne+kt}function St(He,ne,$=0,Me=!1,tt=!1){return function(Ne,kt){let ai=function nt(He,ne){switch(He){case Ke.FullYear:return ne.getFullYear();case Ke.Month:return ne.getMonth();case Ke.Date:return ne.getDate();case Ke.Hours:return ne.getHours();case Ke.Minutes:return ne.getMinutes();case Ke.Seconds:return ne.getSeconds();case Ke.FractionalSeconds:return ne.getMilliseconds();case Ke.Day:return ne.getDay();default:throw new Error(`Unknown DateType value "${He}".`)}}(He,Ne);if(($>0||ai>-$)&&(ai+=$),He===Ke.Hours)0===ai&&-12===$&&(ai=12);else if(He===Ke.FractionalSeconds)return function mt(He,ne){return J(He,3).substring(0,ne)}(ai,ne);const ii=Ve(kt,l.MinusSign);return J(ai,ne,ii,Me,tt)}}function Ye(He,ne,$=i.Format,Me=!1){return function(tt,Ne){return function zt(He,ne,$,Me,tt,Ne){switch($){case at.Months:return function n(He,ne,$){const Me=(0,t.cg1)(He),Ne=ge([Me[t.wAp.MonthsFormat],Me[t.wAp.MonthsStandalone]],ne);return ge(Ne,$)}(ne,tt,Me)[He.getMonth()];case at.Days:return function v(He,ne,$){const Me=(0,t.cg1)(He),Ne=ge([Me[t.wAp.DaysFormat],Me[t.wAp.DaysStandalone]],ne);return ge(Ne,$)}(ne,tt,Me)[He.getDay()];case at.DayPeriods:const kt=He.getHours(),ai=He.getMinutes();if(Ne){const gi=function Oe(He){const ne=(0,t.cg1)(He);return Ze(ne),(ne[t.wAp.ExtraData][2]||[]).map(Me=>"string"==typeof Me?xe(Me):[xe(Me[0]),xe(Me[1])])}(ne),wi=function fe(He,ne,$){const Me=(0,t.cg1)(He);Ze(Me);const Ne=ge([Me[t.wAp.ExtraData][0],Me[t.wAp.ExtraData][1]],ne)||[];return ge(Ne,$)||[]}(ne,tt,Me),Ii=gi.findIndex(Ki=>{if(Array.isArray(Ki)){const[Zi,ln]=Ki,oa=kt>=Zi.hours&&ai>=Zi.minutes,ga=kt<ln.hours||kt===ln.hours&&ai<ln.minutes;if(Zi.hours<ln.hours){if(oa&&ga)return!0}else if(oa||ga)return!0}else if(Ki.hours===kt&&Ki.minutes===ai)return!0;return!1});if(-1!==Ii)return wi[Ii]}return function D(He,ne,$){const Me=(0,t.cg1)(He),Ne=ge([Me[t.wAp.DayPeriodsFormat],Me[t.wAp.DayPeriodsStandalone]],ne);return ge(Ne,$)}(ne,tt,Me)[kt<12?0:1];case at.Eras:return function b(He,ne){return ge((0,t.cg1)(He)[t.wAp.Eras],ne)}(ne,Me)[He.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${$}`)}}(tt,Ne,He,ne,$,Me)}}function xt(He){return function(ne,$,Me){const tt=-1*Me,Ne=Ve($,l.MinusSign),kt=tt>0?Math.floor(tt/60):Math.ceil(tt/60);switch(He){case Nt.Short:return(tt>=0?"+":"")+J(kt,2,Ne)+J(Math.abs(tt%60),2,Ne);case Nt.ShortGMT:return"GMT"+(tt>=0?"+":"")+J(kt,1,Ne);case Nt.Long:return"GMT"+(tt>=0?"+":"")+J(kt,2,Ne)+":"+J(Math.abs(tt%60),2,Ne);case Nt.Extended:return 0===Me?"Z":(tt>=0?"+":"")+J(kt,2,Ne)+":"+J(Math.abs(tt%60),2,Ne);default:throw new Error(`Unknown zone width "${He}"`)}}}const Ht=0,Ut=4;function X(He){return ye(He.getFullYear(),He.getMonth(),He.getDate()+(Ut-He.getDay()))}function ue(He,ne=!1){return function($,Me){let tt;if(ne){const Ne=new Date($.getFullYear(),$.getMonth(),1).getDay()-1,kt=$.getDate();tt=1+Math.floor((kt+Ne)/7)}else{const Ne=X($),kt=function De(He){const ne=ye(He,Ht,1).getDay();return ye(He,0,1+(ne<=Ut?Ut:Ut+7)-ne)}(Ne.getFullYear()),ai=Ne.getTime()-kt.getTime();tt=1+Math.round(ai/6048e5)}return J(tt,He,Ve(Me,l.MinusSign))}}function Ee(He,ne=!1){return function($,Me){return J(X($).getFullYear(),He,Ve(Me,l.MinusSign),ne)}}const qe={};function Vt(He,ne){He=He.replace(/:/g,"");const $=Date.parse("Jan 01, 1970 00:00:00 "+He)/6e4;return isNaN($)?ne:$}function wt(He){return He instanceof Date&&!isNaN(He.valueOf())}const ft=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Xe=22,gt=".",_t="0",Fe=";",Mt=",",Et="#";function ci(He){const ne=parseInt(He);if(isNaN(ne))throw new Error("Invalid integer literal when parsing "+He);return ne}function tn(He,ne){ne=encodeURIComponent(ne);for(const $ of He.split(";")){const Me=$.indexOf("="),[tt,Ne]=-1==Me?[$,""]:[$.slice(0,Me),$.slice(Me+1)];if(tt.trim()===ne)return decodeURIComponent(Ne)}return null}const Zt=/\s+/,Qt=[];let _e=(()=>{class He{constructor($,Me,tt,Ne){this._iterableDiffers=$,this._keyValueDiffers=Me,this._ngEl=tt,this._renderer=Ne,this.initialClasses=Qt,this.stateMap=new Map}set klass($){this.initialClasses=null!=$?$.trim().split(Zt):Qt}set ngClass($){this.rawClass="string"==typeof $?$.trim().split(Zt):$}ngDoCheck(){for(const Me of this.initialClasses)this._updateState(Me,!0);const $=this.rawClass;if(Array.isArray($)||$ instanceof Set)for(const Me of $)this._updateState(Me,!0);else if(null!=$)for(const Me of Object.keys($))this._updateState(Me,Boolean($[Me]));this._applyStateDiff()}_updateState($,Me){const tt=this.stateMap.get($);void 0!==tt?(tt.enabled!==Me&&(tt.changed=!0,tt.enabled=Me),tt.touched=!0):this.stateMap.set($,{enabled:Me,changed:!0,touched:!0})}_applyStateDiff(){for(const $ of this.stateMap){const Me=$[0],tt=$[1];tt.changed?(this._toggleClass(Me,tt.enabled),tt.changed=!1):tt.touched||(tt.enabled&&this._toggleClass(Me,!1),this.stateMap.delete(Me)),tt.touched=!1}}_toggleClass($,Me){($=$.trim()).length>0&&$.split(Zt).forEach(tt=>{Me?this._renderer.addClass(this._ngEl.nativeElement,tt):this._renderer.removeClass(this._ngEl.nativeElement,tt)})}}return He.\u0275fac=function($){return new($||He)(t.Y36(t.ZZ4),t.Y36(t.aQg),t.Y36(t.SBq),t.Y36(t.Qsj))},He.\u0275dir=t.lG2({type:He,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),He})();class Ot{constructor(ne,$,Me,tt){this.$implicit=ne,this.ngForOf=$,this.index=Me,this.count=tt}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 _i=(()=>{class He{set ngForOf($){this._ngForOf=$,this._ngForOfDirty=!0}set ngForTrackBy($){this._trackByFn=$}get ngForTrackBy(){return this._trackByFn}constructor($,Me,tt){this._viewContainer=$,this._template=Me,this._differs=tt,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate($){$&&(this._template=$)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const $=this._ngForOf;!this._differ&&$&&(this._differ=this._differs.find($).create(this.ngForTrackBy))}if(this._differ){const $=this._differ.diff(this._ngForOf);$&&this._applyChanges($)}}_applyChanges($){const Me=this._viewContainer;$.forEachOperation((tt,Ne,kt)=>{if(null==tt.previousIndex)Me.createEmbeddedView(this._template,new Ot(tt.item,this._ngForOf,-1,-1),null===kt?void 0:kt);else if(null==kt)Me.remove(null===Ne?void 0:Ne);else if(null!==Ne){const ai=Me.get(Ne);Me.move(ai,kt),$t(ai,tt)}});for(let tt=0,Ne=Me.length;tt<Ne;tt++){const ai=Me.get(tt).context;ai.index=tt,ai.count=Ne,ai.ngForOf=this._ngForOf}$.forEachIdentityChange(tt=>{$t(Me.get(tt.currentIndex),tt)})}static ngTemplateContextGuard($,Me){return!0}}return He.\u0275fac=function($){return new($||He)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(t.ZZ4))},He.\u0275dir=t.lG2({type:He,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),He})();function $t(He,ne){He.context.$implicit=ne.item}let Xi=(()=>{class He{constructor($,Me){this._viewContainer=$,this._context=new Qi,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Me}set ngIf($){this._context.$implicit=this._context.ngIf=$,this._updateView()}set ngIfThen($){Vn("ngIfThen",$),this._thenTemplateRef=$,this._thenViewRef=null,this._updateView()}set ngIfElse($){Vn("ngIfElse",$),this._elseTemplateRef=$,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard($,Me){return!0}}return He.\u0275fac=function($){return new($||He)(t.Y36(t.s_b),t.Y36(t.Rgc))},He.\u0275dir=t.lG2({type:He,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),He})();class Qi{constructor(){this.$implicit=null,this.ngIf=null}}function Vn(He,ne){if(ne&&!ne.createEmbeddedView)throw new Error(`${He} must be a TemplateRef, but received '${(0,t.AaK)(ne)}'.`)}class Xn{constructor(ne,$){this._viewContainerRef=ne,this._templateRef=$,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(ne){ne&&!this._created?this.create():!ne&&this._created&&this.destroy()}}let Ma=(()=>{class He{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch($){this._ngSwitch=$,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault($){this._defaultViews.push($)}_matchCase($){const Me=$==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Me,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Me}_updateDefaultCases($){if(this._defaultViews.length>0&&$!==this._defaultUsed){this._defaultUsed=$;for(const Me of this._defaultViews)Me.enforceState($)}}}return He.\u0275fac=function($){return new($||He)},He.\u0275dir=t.lG2({type:He,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),He})(),Oa=(()=>{class He{constructor($,Me,tt){this.ngSwitch=tt,tt._addCase(),this._view=new Xn($,Me)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return He.\u0275fac=function($){return new($||He)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(Ma,9))},He.\u0275dir=t.lG2({type:He,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),He})(),Wn=(()=>{class He{constructor($,Me,tt){tt._addDefault(new Xn($,Me))}}return He.\u0275fac=function($){return new($||He)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(Ma,9))},He.\u0275dir=t.lG2({type:He,selectors:[["","ngSwitchDefault",""]],standalone:!0}),He})(),ni=(()=>{class He{constructor($,Me,tt){this._ngEl=$,this._differs=Me,this._renderer=tt,this._ngStyle=null,this._differ=null}set ngStyle($){this._ngStyle=$,!this._differ&&$&&(this._differ=this._differs.find($).create())}ngDoCheck(){if(this._differ){const $=this._differ.diff(this._ngStyle);$&&this._applyChanges($)}}_setStyle($,Me){const[tt,Ne]=$.split("."),kt=-1===tt.indexOf("-")?void 0:t.JOm.DashCase;null!=Me?this._renderer.setStyle(this._ngEl.nativeElement,tt,Ne?`${Me}${Ne}`:Me,kt):this._renderer.removeStyle(this._ngEl.nativeElement,tt,kt)}_applyChanges($){$.forEachRemovedItem(Me=>this._setStyle(Me.key,null)),$.forEachAddedItem(Me=>this._setStyle(Me.key,Me.currentValue)),$.forEachChangedItem(Me=>this._setStyle(Me.key,Me.currentValue))}}return He.\u0275fac=function($){return new($||He)(t.Y36(t.SBq),t.Y36(t.aQg),t.Y36(t.Qsj))},He.\u0275dir=t.lG2({type:He,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),He})(),ui=(()=>{class He{constructor($){this._viewContainerRef=$,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges($){if($.ngTemplateOutlet||$.ngTemplateOutletInjector){const Me=this._viewContainerRef;if(this._viewRef&&Me.remove(Me.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:tt,ngTemplateOutletContext:Ne,ngTemplateOutletInjector:kt}=this;this._viewRef=Me.createEmbeddedView(tt,Ne,kt?{injector:kt}:void 0)}else this._viewRef=null}else this._viewRef&&$.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return He.\u0275fac=function($){return new($||He)(t.Y36(t.s_b))},He.\u0275dir=t.lG2({type:He,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[t.TTD]}),He})();function Hi(He,ne){return new t.vHH(2100,!1)}class hn{createSubscription(ne,$){return ne.subscribe({next:$,error:Me=>{throw Me}})}dispose(ne){ne.unsubscribe()}}class Gn{createSubscription(ne,$){return ne.then($,Me=>{throw Me})}dispose(ne){}}const Fn=new Gn,ba=new hn;let En=(()=>{class He{constructor($){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=$}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform($){return this._obj?$!==this._obj?(this._dispose(),this.transform($)):this._latestValue:($&&this._subscribe($),this._latestValue)}_subscribe($){this._obj=$,this._strategy=this._selectStrategy($),this._subscription=this._strategy.createSubscription($,Me=>this._updateLatestValue($,Me))}_selectStrategy($){if((0,t.QGY)($))return Fn;if((0,t.F4k)($))return ba;throw Hi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue($,Me){$===this._obj&&(this._latestValue=Me,this._ref.markForCheck())}}return He.\u0275fac=function($){return new($||He)(t.Y36(t.sBO,16))},He.\u0275pipe=t.Yjl({name:"async",type:He,pure:!1,standalone:!0}),He})(),Hn=(()=>{class He{transform($){if(null==$)return null;if("string"!=typeof $)throw Hi();return $.toLowerCase()}}return He.\u0275fac=function($){return new($||He)},He.\u0275pipe=t.Yjl({name:"lowercase",type:He,pure:!0,standalone:!0}),He})();const Qr=/(?:[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 zn=(()=>{class He{transform($){if(null==$)return null;if("string"!=typeof $)throw Hi();return $.replace(Qr,Me=>Me[0].toUpperCase()+Me.slice(1).toLowerCase())}}return He.\u0275fac=function($){return new($||He)},He.\u0275pipe=t.Yjl({name:"titlecase",type:He,pure:!0,standalone:!0}),He})(),ta=(()=>{class He{transform($){if(null==$)return null;if("string"!=typeof $)throw Hi();return $.toUpperCase()}}return He.\u0275fac=function($){return new($||He)},He.\u0275pipe=t.Yjl({name:"uppercase",type:He,pure:!0,standalone:!0}),He})();const br=new t.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),Ja=new t.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Qn=(()=>{class He{constructor($,Me,tt){this.locale=$,this.defaultTimezone=Me,this.defaultOptions=tt}transform($,Me,tt,Ne){if(null==$||""===$||$!=$)return null;try{return Ct($,Me??this.defaultOptions?.dateFormat??"mediumDate",Ne||this.locale,tt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(kt){throw Hi()}}}return He.\u0275fac=function($){return new($||He)(t.Y36(t.soG,16),t.Y36(br,24),t.Y36(Ja,24))},He.\u0275pipe=t.Yjl({name:"date",type:He,pure:!0,standalone:!0}),He})(),yr=(()=>{class He{transform($){return JSON.stringify($,null,2)}}return He.\u0275fac=function($){return new($||He)},He.\u0275pipe=t.Yjl({name:"json",type:He,pure:!1,standalone:!0}),He})(),Mo=(()=>{class He{constructor($){this.differs=$,this.keyValues=[],this.compareFn=Ea}transform($,Me=Ea){if(!$||!($ instanceof Map)&&"object"!=typeof $)return null;this.differ||(this.differ=this.differs.find($).create());const tt=this.differ.diff($),Ne=Me!==this.compareFn;return tt&&(this.keyValues=[],tt.forEachItem(kt=>{this.keyValues.push(function Jr(He,ne){return{key:He,value:ne}}(kt.key,kt.currentValue))})),(tt||Ne)&&(this.keyValues.sort(Me),this.compareFn=Me),this.keyValues}}return He.\u0275fac=function($){return new($||He)(t.Y36(t.aQg,16))},He.\u0275pipe=t.Yjl({name:"keyvalue",type:He,pure:!1,standalone:!0}),He})();function Ea(He,ne){const $=He.key,Me=ne.key;if($===Me)return 0;if(void 0===$)return 1;if(void 0===Me)return-1;if(null===$)return 1;if(null===Me)return-1;if("string"==typeof $&&"string"==typeof Me)return $<Me?-1:1;if("number"==typeof $&&"number"==typeof Me)return $-Me;if("boolean"==typeof $&&"boolean"==typeof Me)return $<Me?-1:1;const tt=String($),Ne=String(Me);return tt==Ne?0:tt<Ne?-1:1}let So=(()=>{class He{constructor($){this._locale=$}transform($,Me,tt){if(!function co(He){return!(null==He||""===He||He!=He)}($))return null;tt=tt||this._locale;try{return function Je(He,ne,$){return function Ri(He,ne,$,Me,tt,Ne,kt=!1){let ai="",ii=!1;if(isFinite(He)){let gi=function Tt(He){let Me,tt,Ne,kt,ai,ne=Math.abs(He)+"",$=0;for((tt=ne.indexOf(gt))>-1&&(ne=ne.replace(gt,"")),(Ne=ne.search(/e/i))>0?(tt<0&&(tt=Ne),tt+=+ne.slice(Ne+1),ne=ne.substring(0,Ne)):tt<0&&(tt=ne.length),Ne=0;ne.charAt(Ne)===_t;Ne++);if(Ne===(ai=ne.length))Me=[0],tt=1;else{for(ai--;ne.charAt(ai)===_t;)ai--;for(tt-=Ne,Me=[],kt=0;Ne<=ai;Ne++,kt++)Me[kt]=Number(ne.charAt(Ne))}return tt>Xe&&(Me=Me.splice(0,Xe-1),$=tt-1,tt=1),{digits:Me,exponent:$,integerLen:tt}}(He);kt&&(gi=function be(He){if(0===He.digits[0])return He;const ne=He.digits.length-He.integerLen;return He.exponent?He.exponent+=2:(0===ne?He.digits.push(0,0):1===ne&&He.digits.push(0),He.integerLen+=2),He}(gi));let wi=ne.minInt,Ii=ne.minFrac,Ki=ne.maxFrac;if(Ne){const la=Ne.match(ft);if(null===la)throw new Error(`${Ne} is not a valid digit info`);const da=la[1],sa=la[3],Ia=la[5];null!=da&&(wi=ci(da)),null!=sa&&(Ii=ci(sa)),null!=Ia?Ki=ci(Ia):null!=sa&&Ii>Ki&&(Ki=Ii)}!function Wt(He,ne,$){if(ne>$)throw new Error(`The minimum number of digits after fraction (${ne}) is higher than the maximum (${$}).`);let Me=He.digits,tt=Me.length-He.integerLen;const Ne=Math.min(Math.max(ne,tt),$);let kt=Ne+He.integerLen,ai=Me[kt];if(kt>0){Me.splice(Math.max(He.integerLen,kt));for(let Ii=kt;Ii<Me.length;Ii++)Me[Ii]=0}else{tt=Math.max(0,tt),He.integerLen=1,Me.length=Math.max(1,kt=Ne+1),Me[0]=0;for(let Ii=1;Ii<kt;Ii++)Me[Ii]=0}if(ai>=5)if(kt-1<0){for(let Ii=0;Ii>kt;Ii--)Me.unshift(0),He.integerLen++;Me.unshift(1),He.integerLen++}else Me[kt-1]++;for(;tt<Math.max(0,Ne);tt++)Me.push(0);let ii=0!==Ne;const gi=ne+He.integerLen,wi=Me.reduceRight(function(Ii,Ki,Zi,ln){return ln[Zi]=(Ki+=Ii)<10?Ki:Ki-10,ii&&(0===ln[Zi]&&Zi>=gi?ln.pop():ii=!1),Ki>=10?1:0},0);wi&&(Me.unshift(wi),He.integerLen++)}(gi,Ii,Ki);let Zi=gi.digits,ln=gi.integerLen;const oa=gi.exponent;let ga=[];for(ii=Zi.every(la=>!la);ln<wi;ln++)Zi.unshift(0);for(;ln<0;ln++)Zi.unshift(0);ln>0?ga=Zi.splice(ln,Zi.length):(ga=Zi,Zi=[0]);const Fa=[];for(Zi.length>=ne.lgSize&&Fa.unshift(Zi.splice(-ne.lgSize,Zi.length).join(""));Zi.length>ne.gSize;)Fa.unshift(Zi.splice(-ne.gSize,Zi.length).join(""));Zi.length&&Fa.unshift(Zi.join("")),ai=Fa.join(Ve($,Me)),ga.length&&(ai+=Ve($,tt)+ga.join("")),oa&&(ai+=Ve($,l.Exponential)+"+"+oa)}else ai=Ve($,l.Infinity);return ai=He<0&&!ii?ne.negPre+ai+ne.negSuf:ne.posPre+ai+ne.posSuf,ai}(He,function Dt(He,ne="-"){const $={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Me=He.split(Fe),tt=Me[0],Ne=Me[1],kt=-1!==tt.indexOf(gt)?tt.split(gt):[tt.substring(0,tt.lastIndexOf(_t)+1),tt.substring(tt.lastIndexOf(_t)+1)],ai=kt[0],ii=kt[1]||"";$.posPre=ai.substring(0,ai.indexOf(Et));for(let wi=0;wi<ii.length;wi++){const Ii=ii.charAt(wi);Ii===_t?$.minFrac=$.maxFrac=wi+1:Ii===Et?$.maxFrac=wi+1:$.posSuf+=Ii}const gi=ai.split(Mt);if($.gSize=gi[1]?gi[1].length:0,$.lgSize=gi[2]||gi[1]?(gi[2]||gi[1]).length:0,Ne){const wi=tt.length-$.posPre.length-$.posSuf.length,Ii=Ne.indexOf(Et);$.negPre=Ne.substring(0,Ii).replace(/'/g,""),$.negSuf=Ne.slice(Ii+wi).replace(/'/g,"")}else $.negPre=ne+$.posPre,$.negSuf=$.posSuf;return $}(function We(He,ne){return(0,t.cg1)(He)[t.wAp.NumberFormats][ne]}(ne,he.Decimal),Ve(ne,l.MinusSign)),ne,l.Group,l.Decimal,$)}(function lo(He){if("string"==typeof He&&!isNaN(Number(He)-parseFloat(He)))return Number(He);if("number"!=typeof He)throw new Error(`${He} is not a number`);return He}($),tt,Me)}catch(Ne){throw Hi()}}}return He.\u0275fac=function($){return new($||He)(t.Y36(t.soG,16))},He.\u0275pipe=t.Yjl({name:"number",type:He,pure:!0,standalone:!0}),He})();let ho=(()=>{class He{transform($,Me,tt){if(null==$)return null;if(!this.supports($))throw Hi();return $.slice(Me,tt)}supports($){return"string"==typeof $||Array.isArray($)}}return He.\u0275fac=function($){return new($||He)},He.\u0275pipe=t.Yjl({name:"slice",type:He,pure:!1,standalone:!0}),He})(),uo=(()=>{class He{}return He.\u0275fac=function($){return new($||He)},He.\u0275mod=t.oAB({type:He}),He.\u0275inj=t.cJS({}),He})();const Zr="browser",fo="server";function fr(He){return He===Zr}function ra(He){return He===fo}let mr=(()=>{class He{}return He.\u0275prov=(0,t.Yz7)({token:He,providedIn:"root",factory:()=>new po((0,t.LFG)(C),window)}),He})();class po{constructor(ne,$){this.document=ne,this.window=$,this.offset=()=>[0,0]}setOffset(ne){this.offset=Array.isArray(ne)?()=>ne:ne}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(ne){this.supportsScrolling()&&this.window.scrollTo(ne[0],ne[1])}scrollToAnchor(ne){if(!this.supportsScrolling())return;const $=function $r(He,ne){const $=He.getElementById(ne)||He.getElementsByName(ne)[0];if($)return $;if("function"==typeof He.createTreeWalker&&He.body&&(He.body.createShadowRoot||He.body.attachShadow)){const Me=He.createTreeWalker(He.body,NodeFilter.SHOW_ELEMENT);let tt=Me.currentNode;for(;tt;){const Ne=tt.shadowRoot;if(Ne){const kt=Ne.getElementById(ne)||Ne.querySelector(`[name="${ne}"]`);if(kt)return kt}tt=Me.nextNode()}}return null}(this.document,ne);$&&(this.scrollToElement($),$.focus())}setHistoryScrollRestoration(ne){if(this.supportScrollRestoration()){const $=this.window.history;$&&$.scrollRestoration&&($.scrollRestoration=ne)}}scrollToElement(ne){const $=ne.getBoundingClientRect(),Me=$.left+this.window.pageXOffset,tt=$.top+this.window.pageYOffset,Ne=this.offset();this.window.scrollTo(Me-Ne[0],tt-Ne[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const ne=Pa(this.window.history)||Pa(Object.getPrototypeOf(this.window.history));return!(!ne||!ne.writable&&!ne.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Pa(He){return Object.getOwnPropertyDescriptor(He,"scrollRestoration")}class $a{}},529:(Be,Q,m)=>{"use strict";m.d(Q,{JF:()=>xt,LE:()=>K,TP:()=>b,eN:()=>E});var t=m(6895),e=m(4650),g=m(9646),A=m(9751),s=m(4351),C=m(9300),h=m(4004);class P{}class d{}class M{constructor(X){this.normalizedNames=new Map,this.lazyUpdate=null,X?this.lazyInit="string"==typeof X?()=>{this.headers=new Map,X.split("\n").forEach(ue=>{const Ee=ue.indexOf(":");if(Ee>0){const qe=ue.slice(0,Ee),Xt=qe.toLowerCase(),Vt=ue.slice(Ee+1).trim();this.maybeSetNormalizedName(qe,Xt),this.headers.has(Xt)?this.headers.get(Xt).push(Vt):this.headers.set(Xt,[Vt])}})}:()=>{this.headers=new Map,Object.entries(X).forEach(([ue,Ee])=>{let qe;if(qe="string"==typeof Ee?[Ee]:"number"==typeof Ee?[Ee.toString()]:Ee.map(Xt=>Xt.toString()),qe.length>0){const Xt=ue.toLowerCase();this.headers.set(Xt,qe),this.maybeSetNormalizedName(ue,Xt)}})}:this.headers=new Map}has(X){return this.init(),this.headers.has(X.toLowerCase())}get(X){this.init();const ue=this.headers.get(X.toLowerCase());return ue&&ue.length>0?ue[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(X){return this.init(),this.headers.get(X.toLowerCase())||null}append(X,ue){return this.clone({name:X,value:ue,op:"a"})}set(X,ue){return this.clone({name:X,value:ue,op:"s"})}delete(X,ue){return this.clone({name:X,value:ue,op:"d"})}maybeSetNormalizedName(X,ue){this.normalizedNames.has(ue)||this.normalizedNames.set(ue,X)}init(){this.lazyInit&&(this.lazyInit instanceof M?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(X=>this.applyUpdate(X)),this.lazyUpdate=null))}copyFrom(X){X.init(),Array.from(X.headers.keys()).forEach(ue=>{this.headers.set(ue,X.headers.get(ue)),this.normalizedNames.set(ue,X.normalizedNames.get(ue))})}clone(X){const ue=new M;return ue.lazyInit=this.lazyInit&&this.lazyInit instanceof M?this.lazyInit:this,ue.lazyUpdate=(this.lazyUpdate||[]).concat([X]),ue}applyUpdate(X){const ue=X.name.toLowerCase();switch(X.op){case"a":case"s":let Ee=X.value;if("string"==typeof Ee&&(Ee=[Ee]),0===Ee.length)return;this.maybeSetNormalizedName(X.name,ue);const qe=("a"===X.op?this.headers.get(ue):void 0)||[];qe.push(...Ee),this.headers.set(ue,qe);break;case"d":const Xt=X.value;if(Xt){let Vt=this.headers.get(ue);if(!Vt)return;Vt=Vt.filter(ri=>-1===Xt.indexOf(ri)),0===Vt.length?(this.headers.delete(ue),this.normalizedNames.delete(ue)):this.headers.set(ue,Vt)}else this.headers.delete(ue),this.normalizedNames.delete(ue)}}forEach(X){this.init(),Array.from(this.normalizedNames.keys()).forEach(ue=>X(this.normalizedNames.get(ue),this.headers.get(ue)))}}class I{encodeKey(X){return Z(X)}encodeValue(X){return Z(X)}decodeKey(X){return decodeURIComponent(X)}decodeValue(X){return decodeURIComponent(X)}}const O=/%(\d[a-f0-9])/gi,U={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Z(De){return encodeURIComponent(De).replace(O,(X,ue)=>U[ue]??X)}function W(De){return`${De}`}class K{constructor(X={}){if(this.updates=null,this.cloneFrom=null,this.encoder=X.encoder||new I,X.fromString){if(X.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function k(De,X){const ue=new Map;return De.length>0&&De.replace(/^\?/,"").split("&").forEach(qe=>{const Xt=qe.indexOf("="),[Vt,ri]=-1==Xt?[X.decodeKey(qe),""]:[X.decodeKey(qe.slice(0,Xt)),X.decodeValue(qe.slice(Xt+1))],pt=ue.get(Vt)||[];pt.push(ri),ue.set(Vt,pt)}),ue}(X.fromString,this.encoder)}else X.fromObject?(this.map=new Map,Object.keys(X.fromObject).forEach(ue=>{const Ee=X.fromObject[ue],qe=Array.isArray(Ee)?Ee.map(W):[W(Ee)];this.map.set(ue,qe)})):this.map=null}has(X){return this.init(),this.map.has(X)}get(X){this.init();const ue=this.map.get(X);return ue?ue[0]:null}getAll(X){return this.init(),this.map.get(X)||null}keys(){return this.init(),Array.from(this.map.keys())}append(X,ue){return this.clone({param:X,value:ue,op:"a"})}appendAll(X){const ue=[];return Object.keys(X).forEach(Ee=>{const qe=X[Ee];Array.isArray(qe)?qe.forEach(Xt=>{ue.push({param:Ee,value:Xt,op:"a"})}):ue.push({param:Ee,value:qe,op:"a"})}),this.clone(ue)}set(X,ue){return this.clone({param:X,value:ue,op:"s"})}delete(X,ue){return this.clone({param:X,value:ue,op:"d"})}toString(){return this.init(),this.keys().map(X=>{const ue=this.encoder.encodeKey(X);return this.map.get(X).map(Ee=>ue+"="+this.encoder.encodeValue(Ee)).join("&")}).filter(X=>""!==X).join("&")}clone(X){const ue=new K({encoder:this.encoder});return ue.cloneFrom=this.cloneFrom||this,ue.updates=(this.updates||[]).concat(X),ue}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(X=>this.map.set(X,this.cloneFrom.map.get(X))),this.updates.forEach(X=>{switch(X.op){case"a":case"s":const ue=("a"===X.op?this.map.get(X.param):void 0)||[];ue.push(W(X.value)),this.map.set(X.param,ue);break;case"d":if(void 0===X.value){this.map.delete(X.param);break}{let Ee=this.map.get(X.param)||[];const qe=Ee.indexOf(W(X.value));-1!==qe&&Ee.splice(qe,1),Ee.length>0?this.map.set(X.param,Ee):this.map.delete(X.param)}}}),this.cloneFrom=this.updates=null)}}class te{constructor(){this.map=new Map}set(X,ue){return this.map.set(X,ue),this}get(X){return this.map.has(X)||this.map.set(X,X.defaultValue()),this.map.get(X)}delete(X){return this.map.delete(X),this}has(X){return this.map.has(X)}keys(){return this.map.keys()}}function oe(De){return typeof ArrayBuffer<"u"&&De instanceof ArrayBuffer}function re(De){return typeof Blob<"u"&&De instanceof Blob}function ce(De){return typeof FormData<"u"&&De instanceof FormData}class he{constructor(X,ue,Ee,qe){let Xt;if(this.url=ue,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=X.toUpperCase(),function pe(De){switch(De){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||qe?(this.body=void 0!==Ee?Ee:null,Xt=qe):Xt=Ee,Xt&&(this.reportProgress=!!Xt.reportProgress,this.withCredentials=!!Xt.withCredentials,Xt.responseType&&(this.responseType=Xt.responseType),Xt.headers&&(this.headers=Xt.headers),Xt.context&&(this.context=Xt.context),Xt.params&&(this.params=Xt.params)),this.headers||(this.headers=new M),this.context||(this.context=new te),this.params){const Vt=this.params.toString();if(0===Vt.length)this.urlWithParams=ue;else{const ri=ue.indexOf("?");this.urlWithParams=ue+(-1===ri?"?":ri<ue.length-1?"&":"")+Vt}}else this.params=new K,this.urlWithParams=ue}serializeBody(){return null===this.body?null:oe(this.body)||re(this.body)||ce(this.body)||function se(De){return typeof URLSearchParams<"u"&&De instanceof URLSearchParams}(this.body)||"string"==typeof this.body?this.body:this.body instanceof K?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:re(this.body)?this.body.type||null:oe(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof K?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(X={}){const ue=X.method||this.method,Ee=X.url||this.url,qe=X.responseType||this.responseType,Xt=void 0!==X.body?X.body:this.body,Vt=void 0!==X.withCredentials?X.withCredentials:this.withCredentials,ri=void 0!==X.reportProgress?X.reportProgress:this.reportProgress;let pt=X.headers||this.headers,ot=X.params||this.params;const ut=X.context??this.context;return void 0!==X.setHeaders&&(pt=Object.keys(X.setHeaders).reduce((wt,ft)=>wt.set(ft,X.setHeaders[ft]),pt)),X.setParams&&(ot=Object.keys(X.setParams).reduce((wt,ft)=>wt.set(ft,X.setParams[ft]),ot)),new he(ue,Ee,Xt,{params:ot,headers:pt,context:ut,reportProgress:ri,responseType:qe,withCredentials:Vt})}}var S=(()=>((S=S||{})[S.Sent=0]="Sent",S[S.UploadProgress=1]="UploadProgress",S[S.ResponseHeader=2]="ResponseHeader",S[S.DownloadProgress=3]="DownloadProgress",S[S.Response=4]="Response",S[S.User=5]="User",S))();class i{constructor(X,ue=200,Ee="OK"){this.headers=X.headers||new M,this.status=void 0!==X.status?X.status:ue,this.statusText=X.statusText||Ee,this.url=X.url||null,this.ok=this.status>=200&&this.status<300}}class a extends i{constructor(X={}){super(X),this.type=S.ResponseHeader}clone(X={}){return new a({headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class f extends i{constructor(X={}){super(X),this.type=S.Response,this.body=void 0!==X.body?X.body:null}clone(X={}){return new f({body:void 0!==X.body?X.body:this.body,headers:X.headers||this.headers,status:void 0!==X.status?X.status:this.status,statusText:X.statusText||this.statusText,url:X.url||this.url||void 0})}}class l extends i{constructor(X){super(X,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${X.url||"(unknown url)"}`:`Http failure response for ${X.url||"(unknown url)"}: ${X.status} ${X.statusText}`,this.error=X.error||null}}function y(De,X){return{body:X,headers:De.headers,context:De.context,observe:De.observe,params:De.params,reportProgress:De.reportProgress,responseType:De.responseType,withCredentials:De.withCredentials}}let E=(()=>{class De{constructor(ue){this.handler=ue}request(ue,Ee,qe={}){let Xt;if(ue instanceof he)Xt=ue;else{let pt,ot;pt=qe.headers instanceof M?qe.headers:new M(qe.headers),qe.params&&(ot=qe.params instanceof K?qe.params:new K({fromObject:qe.params})),Xt=new he(ue,Ee,void 0!==qe.body?qe.body:null,{headers:pt,context:qe.context,params:ot,reportProgress:qe.reportProgress,responseType:qe.responseType||"json",withCredentials:qe.withCredentials})}const Vt=(0,g.of)(Xt).pipe((0,s.b)(pt=>this.handler.handle(pt)));if(ue instanceof he||"events"===qe.observe)return Vt;const ri=Vt.pipe((0,C.h)(pt=>pt instanceof f));switch(qe.observe||"body"){case"body":switch(Xt.responseType){case"arraybuffer":return ri.pipe((0,h.U)(pt=>{if(null!==pt.body&&!(pt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return pt.body}));case"blob":return ri.pipe((0,h.U)(pt=>{if(null!==pt.body&&!(pt.body instanceof Blob))throw new Error("Response is not a Blob.");return pt.body}));case"text":return ri.pipe((0,h.U)(pt=>{if(null!==pt.body&&"string"!=typeof pt.body)throw new Error("Response is not a string.");return pt.body}));default:return ri.pipe((0,h.U)(pt=>pt.body))}case"response":return ri;default:throw new Error(`Unreachable: unhandled observe type ${qe.observe}}`)}}delete(ue,Ee={}){return this.request("DELETE",ue,Ee)}get(ue,Ee={}){return this.request("GET",ue,Ee)}head(ue,Ee={}){return this.request("HEAD",ue,Ee)}jsonp(ue,Ee){return this.request("JSONP",ue,{params:(new K).append(Ee,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(ue,Ee={}){return this.request("OPTIONS",ue,Ee)}patch(ue,Ee,qe={}){return this.request("PATCH",ue,y(qe,Ee))}post(ue,Ee,qe={}){return this.request("POST",ue,y(qe,Ee))}put(ue,Ee,qe={}){return this.request("PUT",ue,y(qe,Ee))}}return De.\u0275fac=function(ue){return new(ue||De)(e.LFG(P))},De.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac}),De})();function D(De,X){return X(De)}function v(De,X){return(ue,Ee)=>X.intercept(ue,{handle:qe=>De(qe,Ee)})}const b=new e.OlP("HTTP_INTERCEPTORS"),V=new e.OlP("HTTP_INTERCEPTOR_FNS");function z(){let De=null;return(X,ue)=>(null===De&&(De=((0,e.f3M)(b,{optional:!0})??[]).reduceRight(v,D)),De(X,ue))}let Y=(()=>{class De extends P{constructor(ue,Ee){super(),this.backend=ue,this.injector=Ee,this.chain=null}handle(ue){if(null===this.chain){const Ee=Array.from(new Set(this.injector.get(V)));this.chain=Ee.reduceRight((qe,Xt)=>function n(De,X,ue){return(Ee,qe)=>ue.runInContext(()=>X(Ee,Xt=>De(Xt,qe)))}(qe,Xt,this.injector),D)}return this.chain(ue,Ee=>this.backend.handle(Ee))}}return De.\u0275fac=function(ue){return new(ue||De)(e.LFG(d),e.LFG(e.lqb))},De.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac}),De})();const fe=/^\)\]\}',?\n/;let ge=(()=>{class De{constructor(ue){this.xhrFactory=ue}handle(ue){if("JSONP"===ue.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new A.y(Ee=>{const qe=this.xhrFactory.build();if(qe.open(ue.method,ue.urlWithParams),ue.withCredentials&&(qe.withCredentials=!0),ue.headers.forEach((Xe,gt)=>qe.setRequestHeader(Xe,gt.join(","))),ue.headers.has("Accept")||qe.setRequestHeader("Accept","application/json, text/plain, */*"),!ue.headers.has("Content-Type")){const Xe=ue.detectContentTypeHeader();null!==Xe&&qe.setRequestHeader("Content-Type",Xe)}if(ue.responseType){const Xe=ue.responseType.toLowerCase();qe.responseType="json"!==Xe?Xe:"text"}const Xt=ue.serializeBody();let Vt=null;const ri=()=>{if(null!==Vt)return Vt;const Xe=qe.statusText||"OK",gt=new M(qe.getAllResponseHeaders()),_t=function Se(De){return"responseURL"in De&&De.responseURL?De.responseURL:/^X-Request-URL:/m.test(De.getAllResponseHeaders())?De.getResponseHeader("X-Request-URL"):null}(qe)||ue.url;return Vt=new a({headers:gt,status:qe.status,statusText:Xe,url:_t}),Vt},pt=()=>{let{headers:Xe,status:gt,statusText:_t,url:Fe}=ri(),Mt=null;204!==gt&&(Mt=typeof qe.response>"u"?qe.responseText:qe.response),0===gt&&(gt=Mt?200:0);let Et=gt>=200&&gt<300;if("json"===ue.responseType&&"string"==typeof Mt){const Yt=Mt;Mt=Mt.replace(fe,"");try{Mt=""!==Mt?JSON.parse(Mt):null}catch(Fi){Mt=Yt,Et&&(Et=!1,Mt={error:Fi,text:Mt})}}Et?(Ee.next(new f({body:Mt,headers:Xe,status:gt,statusText:_t,url:Fe||void 0})),Ee.complete()):Ee.error(new l({error:Mt,headers:Xe,status:gt,statusText:_t,url:Fe||void 0}))},ot=Xe=>{const{url:gt}=ri(),_t=new l({error:Xe,status:qe.status||0,statusText:qe.statusText||"Unknown Error",url:gt||void 0});Ee.error(_t)};let ut=!1;const wt=Xe=>{ut||(Ee.next(ri()),ut=!0);let gt={type:S.DownloadProgress,loaded:Xe.loaded};Xe.lengthComputable&&(gt.total=Xe.total),"text"===ue.responseType&&qe.responseText&&(gt.partialText=qe.responseText),Ee.next(gt)},ft=Xe=>{let gt={type:S.UploadProgress,loaded:Xe.loaded};Xe.lengthComputable&&(gt.total=Xe.total),Ee.next(gt)};return qe.addEventListener("load",pt),qe.addEventListener("error",ot),qe.addEventListener("timeout",ot),qe.addEventListener("abort",ot),ue.reportProgress&&(qe.addEventListener("progress",wt),null!==Xt&&qe.upload&&qe.upload.addEventListener("progress",ft)),qe.send(Xt),Ee.next({type:S.Sent}),()=>{qe.removeEventListener("error",ot),qe.removeEventListener("abort",ot),qe.removeEventListener("load",pt),qe.removeEventListener("timeout",ot),ue.reportProgress&&(qe.removeEventListener("progress",wt),null!==Xt&&qe.upload&&qe.upload.removeEventListener("progress",ft)),qe.readyState!==qe.DONE&&qe.abort()}})}}return De.\u0275fac=function(ue){return new(ue||De)(e.LFG(t.JF))},De.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac}),De})();const xe=new e.OlP("XSRF_ENABLED"),Ie=new e.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),rt=new e.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class je{}let lt=(()=>{class De{constructor(ue,Ee,qe){this.doc=ue,this.platform=Ee,this.cookieName=qe,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const ue=this.doc.cookie||"";return ue!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,t.Mx)(ue,this.cookieName),this.lastCookieString=ue),this.lastToken}}return De.\u0275fac=function(ue){return new(ue||De)(e.LFG(t.K0),e.LFG(e.Lbi),e.LFG(Ie))},De.\u0275prov=e.Yz7({token:De,factory:De.\u0275fac}),De})();function Nt(De,X){const ue=De.url.toLowerCase();if(!(0,e.f3M)(xe)||"GET"===De.method||"HEAD"===De.method||ue.startsWith("http://")||ue.startsWith("https://"))return X(De);const Ee=(0,e.f3M)(je).getToken(),qe=(0,e.f3M)(rt);return null!=Ee&&!De.headers.has(qe)&&(De=De.clone({headers:De.headers.set(qe,Ee)})),X(De)}var at=(()=>((at=at||{})[at.Interceptors=0]="Interceptors",at[at.LegacyInterceptors=1]="LegacyInterceptors",at[at.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",at[at.NoXsrfProtection=3]="NoXsrfProtection",at[at.JsonpSupport=4]="JsonpSupport",at[at.RequestsMadeViaParent=5]="RequestsMadeViaParent",at))();function Ct(De,X){return{\u0275kind:De,\u0275providers:X}}function ye(...De){const X=[E,ge,Y,{provide:P,useExisting:Y},{provide:d,useExisting:ge},{provide:V,useValue:Nt,multi:!0},{provide:xe,useValue:!0},{provide:je,useClass:lt}];for(const ue of De)X.push(...ue.\u0275providers);return(0,e.MR2)(X)}const Le=new e.OlP("LEGACY_INTERCEPTOR_FN");let xt=(()=>{class De{}return De.\u0275fac=function(ue){return new(ue||De)},De.\u0275mod=e.oAB({type:De}),De.\u0275inj=e.cJS({providers:[ye(Ct(at.LegacyInterceptors,[{provide:Le,useFactory:z},{provide:V,useExisting:Le,multi:!0}]))]}),De})()},4650:(Be,Q,m)=>{"use strict";m.d(Q,{$8M:()=>dc,$WT:()=>Ai,$Z:()=>Mc,AFp:()=>F6,ALo:()=>r6,AaK:()=>P,AsE:()=>H0,BQk:()=>A0,CHM:()=>Ho,CRH:()=>p6,CZH:()=>ku,CqO:()=>u4,D6c:()=>gg,DdM:()=>qp,Dn7:()=>om,EJc:()=>m8,EiD:()=>N2,EpF:()=>d4,F$t:()=>ou,F4k:()=>h4,FYo:()=>ms,FiY:()=>Js,Gf:()=>f6,GfV:()=>Cd,GkF:()=>au,Gpc:()=>w,Gre:()=>x4,HOy:()=>Jf,Hsn:()=>g4,Ikx:()=>a3,JOm:()=>Io,JVY:()=>S2,JZr:()=>Z,Jf7:()=>Sd,KtG:()=>Gs,L6k:()=>ph,LAX:()=>_h,LFG:()=>xt,Lbi:()=>V6,Lck:()=>Eg,MAs:()=>l4,MGl:()=>L0,MMx:()=>$4,MR2:()=>wh,NdJ:()=>ru,O4$:()=>Ts,OlP:()=>La,Oqu:()=>Wo,P3R:()=>Ch,PXZ:()=>T8,Q6J:()=>Tf,QGY:()=>If,QbO:()=>u8,Qsj:()=>Eh,R0b:()=>sc,RDi:()=>b2,Rgc:()=>Lu,SBq:()=>Wc,Sil:()=>_8,Suo:()=>m6,TTD:()=>Tr,TgZ:()=>T0,Tol:()=>y1,Udp:()=>is,VKq:()=>nm,W1O:()=>y6,WFA:()=>kf,WLB:()=>Jp,X6Q:()=>k8,XFs:()=>xe,Xpm:()=>Et,Xts:()=>md,Y36:()=>_s,YKP:()=>Vp,YNc:()=>Ef,Yjl:()=>be,Yz7:()=>Ve,Z0I:()=>me,ZZ4:()=>A3,_Bn:()=>zp,_UZ:()=>Lf,_Vd:()=>Xo,_c5:()=>Y8,_uU:()=>qf,aQg:()=>Bm,c2e:()=>B6,cJS:()=>Re,cg1:()=>r3,d8E:()=>Cu,dDg:()=>Q6,dqk:()=>lt,eBb:()=>gh,eFA:()=>eg,eJc:()=>pm,ekj:()=>Bd,eoX:()=>q6,f3M:()=>Ut,g9A:()=>z6,h0i:()=>W0,hGG:()=>j8,hYB:()=>D0,hij:()=>w1,iGM:()=>u6,ifc:()=>pt,ip1:()=>N6,jDz:()=>Up,kEZ:()=>am,kL8:()=>N4,kcU:()=>lc,lG2:()=>Dt,lcZ:()=>o6,lnq:()=>Ud,lqb:()=>Cc,lri:()=>j6,mCW:()=>Xl,n5z:()=>Ic,n_E:()=>u3,oAB:()=>Ci,oJD:()=>H2,oxw:()=>p4,pB0:()=>E2,q3G:()=>qa,qLn:()=>Yc,qOj:()=>vf,qZA:()=>iu,qzn:()=>Bc,rWj:()=>K6,s9C:()=>Pf,sBO:()=>P8,s_b:()=>Du,soG:()=>Ou,tBr:()=>Pc,tb:()=>X6,tp0:()=>Xs,uIk:()=>eu,vHH:()=>W,vpe:()=>Ec,wAp:()=>Ln,xi3:()=>s6,xp6:()=>Td,ynx:()=>nu,z2F:()=>w3,z3N:()=>so,zSh:()=>Zc,zs3:()=>nc});var t=m(7579),e=m(727),g=m(9751),A=m(6451),s=m(3099);function C(o){for(let c in o)if(o[c]===C)return c;throw Error("Could not find renamed property on target object.")}function h(o,c){for(const p in c)c.hasOwnProperty(p)&&!o.hasOwnProperty(p)&&(o[p]=c[p])}function P(o){if("string"==typeof o)return o;if(Array.isArray(o))return"["+o.map(P).join(", ")+"]";if(null==o)return""+o;if(o.overriddenName)return`${o.overriddenName}`;if(o.name)return`${o.name}`;const c=o.toString();if(null==c)return""+c;const p=c.indexOf("\n");return-1===p?c:c.substring(0,p)}function d(o,c){return null==o||""===o?null===c?"":c:null==c||""===c?o:o+" "+c}const M=C({__forward_ref__:C});function w(o){return o.__forward_ref__=w,o.toString=function(){return P(this())},o}function I(o){return k(o)?o():o}function k(o){return"function"==typeof o&&o.hasOwnProperty(M)&&o.__forward_ref__===w}function O(o){return o&&!!o.\u0275providers}const Z="https://g.co/ng/security#xss";class W extends Error{constructor(c,p){super(K(c,p)),this.code=c}}function K(o,c){return`NG0${Math.abs(o)}${c?": "+c.trim():""}`}function q(o){return"string"==typeof o?o:null==o?"":String(o)}function ce(o,c){throw new W(-201,!1)}function V(o,c){null==o&&function z(o,c,p,T){throw new Error(`ASSERTION ERROR: ${o}`+(null==T?"":` [Expected=> ${p} ${T} ${c} <=Actual]`))}(c,o,null,"!=")}function Ve(o){return{token:o.token,providedIn:o.providedIn||null,factory:o.factory,value:void 0}}function Re(o){return{providers:o.providers||[],imports:o.imports||[]}}function we(o){return Ae(o,Oe)||Ae(o,Se)}function me(o){return null!==we(o)}function Ae(o,c){return o.hasOwnProperty(c)?o[c]:null}function Ze(o){return o&&(o.hasOwnProperty(fe)||o.hasOwnProperty(ge))?o[fe]:null}const Oe=C({\u0275prov:C}),fe=C({\u0275inj:C}),Se=C({ngInjectableDef:C}),ge=C({ngInjectorDef:C});var xe=(()=>((xe=xe||{})[xe.Default=0]="Default",xe[xe.Host=1]="Host",xe[xe.Self=2]="Self",xe[xe.SkipSelf=4]="SkipSelf",xe[xe.Optional=8]="Optional",xe))();let vt;function de(o){const c=vt;return vt=o,c}function rt(o,c,p){const T=we(o);return T&&"root"==T.providedIn?void 0===T.value?T.value=T.factory():T.value:p&xe.Optional?null:void 0!==c?c:void ce(P(o))}const lt=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),Ct={},ye="__NG_DI_FLAG__",Qe="ngTempTokenPath",Le="ngTokenPath",J=/\n/gm,mt="\u0275",St="__source";let nt;function Ye(o){const c=nt;return nt=o,c}function zt(o,c=xe.Default){if(void 0===nt)throw new W(-203,!1);return null===nt?rt(o,void 0,c):nt.get(o,c&xe.Optional?null:void 0,c)}function xt(o,c=xe.Default){return(function Ie(){return vt}()||zt)(I(o),c)}function Ut(o,c=xe.Default){return xt(o,De(c))}function De(o){return typeof o>"u"||"number"==typeof o?o:0|(o.optional&&8)|(o.host&&1)|(o.self&&2)|(o.skipSelf&&4)}function X(o){const c=[];for(let p=0;p<o.length;p++){const T=I(o[p]);if(Array.isArray(T)){if(0===T.length)throw new W(900,!1);let H,G=xe.Default;for(let le=0;le<T.length;le++){const Pe=T[le],Ge=Ee(Pe);"number"==typeof Ge?-1===Ge?H=Pe.token:G|=Ge:H=Pe}c.push(xt(H,G))}else c.push(xt(T))}return c}function ue(o,c){return o[ye]=c,o.prototype[ye]=c,o}function Ee(o){return o[ye]}function Vt(o){return{toString:o}.toString()}var ri=(()=>((ri=ri||{})[ri.OnPush=0]="OnPush",ri[ri.Default=1]="Default",ri))(),pt=(()=>{return(o=pt||(pt={}))[o.Emulated=0]="Emulated",o[o.None=2]="None",o[o.ShadowDom=3]="ShadowDom",pt;var o})();const ot={},ut=[],wt=C({\u0275cmp:C}),ft=C({\u0275dir:C}),Xe=C({\u0275pipe:C}),gt=C({\u0275mod:C}),_t=C({\u0275fac:C}),Fe=C({__NG_ELEMENT_ID__:C});let Mt=0;function Et(o){return Vt(()=>{const c=Yi(o),p={...c,decls:o.decls,vars:o.vars,template:o.template,consts:o.consts||null,ngContentSelectors:o.ngContentSelectors,onPush:o.changeDetection===ri.OnPush,directiveDefs:null,pipeDefs:null,dependencies:c.standalone&&o.dependencies||null,getStandaloneInjector:null,data:o.data||{},encapsulation:o.encapsulation||pt.Emulated,id:"c"+Mt++,styles:o.styles||ut,_:null,schemas:o.schemas||null,tView:null};ji(p);const T=o.dependencies;return p.directiveDefs=tn(T,!1),p.pipeDefs=tn(T,!0),p})}function Fi(o){return Tt(o)||Wt(o)}function Ri(o){return null!==o}function Ci(o){return Vt(()=>({type:o.type,bootstrap:o.bootstrap||ut,declarations:o.declarations||ut,imports:o.imports||ut,exports:o.exports||ut,transitiveCompileScopes:null,schemas:o.schemas||null,id:o.id||null}))}function Je(o,c){if(null==o)return ot;const p={};for(const T in o)if(o.hasOwnProperty(T)){let H=o[T],G=H;Array.isArray(H)&&(G=H[1],H=H[0]),p[H]=T,c&&(c[H]=G)}return p}function Dt(o){return Vt(()=>{const c=Yi(o);return ji(c),c})}function be(o){return{type:o.type,name:o.name,factory:null,pure:!1!==o.pure,standalone:!0===o.standalone,onDestroy:o.type.prototype.ngOnDestroy||null}}function Tt(o){return o[wt]||null}function Wt(o){return o[ft]||null}function ci(o){return o[Xe]||null}function Ai(o){const c=Tt(o)||Wt(o)||ci(o);return null!==c&&c.standalone}function ki(o,c){const p=o[gt]||null;if(!p&&!0===c)throw new Error(`Type ${P(o)} does not have '\u0275mod' property.`);return p}function Yi(o){const c={};return{type:o.type,providersResolver:null,factory:null,hostBindings:o.hostBindings||null,hostVars:o.hostVars||0,hostAttrs:o.hostAttrs||null,contentQueries:o.contentQueries||null,declaredInputs:c,exportAs:o.exportAs||null,standalone:!0===o.standalone,selectors:o.selectors||ut,viewQuery:o.viewQuery||null,features:o.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:Je(o.inputs,c),outputs:Je(o.outputs)}}function ji(o){o.features?.forEach(c=>c(o))}function tn(o,c){if(!o)return null;const p=c?ci:Fi;return()=>("function"==typeof o?o():o).map(T=>p(T)).filter(Ri)}const Zt=0,Qt=1,_e=2,ht=3,Lt=4,Bt=5,Ot=6,_i=7,$t=8,di=9,Xi=10,Qi=11,Vn=12,Xn=13,Ma=14,Oa=15,Wn=16,Ua=17,qt=18,Jt=19,ni=20,ui=21,Di=22,hn=1,Gn=2,Fn=7,ba=8,En=9,Hn=10;function zn(o){return Array.isArray(o)&&"object"==typeof o[hn]}function ta(o){return Array.isArray(o)&&!0===o[hn]}function Sr(o){return 0!=(4&o.flags)}function br(o){return o.componentOffset>-1}function Ja(o){return 1==(1&o.flags)}function Qn(o){return!!o.template}function Ga(o){return 0!=(256&o[_e])}function ja(o,c){return o.hasOwnProperty(_t)?o[_t]:null}class Er{constructor(c,p,T){this.previousValue=c,this.currentValue=p,this.firstChange=T}isFirstChange(){return this.firstChange}}function Tr(){return mr}function mr(o){return o.type.prototype.ngOnChanges&&(o.setInput=Pa),po}function po(){const o=eo(this),c=o?.current;if(c){const p=o.previous;if(p===ot)o.previous=c;else for(let T in c)p[T]=c[T];o.current=null,this.ngOnChanges(c)}}function Pa(o,c,p,T){const H=this.declaredInputs[p],G=eo(o)||function $a(o,c){return o[$r]=c}(o,{previous:ot,current:null}),le=G.current||(G.current={}),Pe=G.previous,Ge=Pe[H];le[H]=new Er(Ge&&Ge.currentValue,c,Pe===ot),o[T]=c}Tr.ngInherit=!0;const $r="__ngSimpleChanges__";function eo(o){return o[$r]||null}const Ra=function(o,c,p){},Ar="svg";function Yn(o){for(;Array.isArray(o);)o=o[Zt];return o}function Lr(o,c){return Yn(c[o])}function ua(o,c){return Yn(c[o.index])}function Rt(o,c){return o.data[c]}function fi(o,c){return o[c]}function yt(o,c){const p=c[o];return zn(p)?p:p[Zt]}function Li(o){return 64==(64&o[_e])}function ia(o,c){return null==c?null:o[c]}function fa(o){o[qt]=0}function Gi(o,c){o[Bt]+=c;let p=o,T=o[ht];for(;null!==T&&(1===c&&1===p[Bt]||-1===c&&0===p[Bt]);)T[Bt]+=c,p=T,T=T[ht]}const bn={lFrame:Ss(null),bindingsEnabled:!0};function yi(){return bn.bindingsEnabled}function Mi(){return bn.lFrame.lView}function Tn(){return bn.lFrame.tView}function Ho(o){return bn.lFrame.contextLView=o,o[$t]}function Gs(o){return bn.lFrame.contextLView=null,o}function Va(){let o=Yo();for(;null!==o&&64===o.type;)o=o.parent;return o}function Yo(){return bn.lFrame.currentTNode}function pr(o,c){const p=bn.lFrame;p.currentTNode=o,p.isParent=c}function jo(){return bn.lFrame.isParent}function Ko(){bn.lFrame.isParent=!1}function Dn(){const o=bn.lFrame;let c=o.bindingRootIndex;return-1===c&&(c=o.bindingRootIndex=o.tView.bindingStartIndex),c}function Oi(){return bn.lFrame.bindingIndex}function _o(){return bn.lFrame.bindingIndex++}function Ni(o){const c=bn.lFrame,p=c.bindingIndex;return c.bindingIndex=c.bindingIndex+o,p}function Zs(o,c){const p=bn.lFrame;p.bindingIndex=p.bindingRootIndex=o,os(c)}function os(o){bn.lFrame.currentDirectiveIndex=o}function Eo(o){const c=bn.lFrame.currentDirectiveIndex;return-1===c?null:o[c]}function To(){return bn.lFrame.currentQueryIndex}function ss(o){bn.lFrame.currentQueryIndex=o}function cc(o){const c=o[Qt];return 2===c.type?c.declTNode:1===c.type?o[Ot]:null}function Qo(o,c,p){if(p&xe.SkipSelf){let H=c,G=o;for(;!(H=H.parent,null!==H||p&xe.Host||(H=cc(G),null===H||(G=G[Oa],10&H.type))););if(null===H)return!1;c=H,o=G}const T=bn.lFrame=Ys();return T.currentTNode=c,T.lView=o,!0}function Ws(o){const c=Ys(),p=o[Qt];bn.lFrame=c,c.currentTNode=p.firstChild,c.lView=o,c.tView=p,c.contextLView=o,c.bindingIndex=p.bindingStartIndex,c.inI18n=!1}function Ys(){const o=bn.lFrame,c=null===o?null:o.child;return null===c?Ss(o):c}function Ss(o){const c={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:o,child:null,inI18n:!1};return null!==o&&(o.child=c),c}function Es(){const o=bn.lFrame;return bn.lFrame=o.parent,o.currentTNode=null,o.lView=null,o}const Na=Es;function no(){const o=Es();o.isParent=!0,o.tView=null,o.selectedIndex=-1,o.contextLView=null,o.elementDepthCount=0,o.currentDirectiveIndex=-1,o.currentNamespace=null,o.bindingRootIndex=-1,o.bindingIndex=-1,o.currentQueryIndex=0}function Da(){return bn.lFrame.selectedIndex}function Qa(o){bn.lFrame.selectedIndex=o}function pa(){const o=bn.lFrame;return Rt(o.tView,o.selectedIndex)}function Ts(){bn.lFrame.currentNamespace=Ar}function lc(){!function Zn(){bn.lFrame.currentNamespace=null}()}function Ta(o,c){for(let p=c.directiveStart,T=c.directiveEnd;p<T;p++){const G=o.data[p].type.prototype,{ngAfterContentInit:le,ngAfterContentChecked:Pe,ngAfterViewInit:Ge,ngAfterViewChecked:bt,ngOnDestroy:Pt}=G;le&&(o.contentHooks??(o.contentHooks=[])).push(-p,le),Pe&&((o.contentHooks??(o.contentHooks=[])).push(p,Pe),(o.contentCheckHooks??(o.contentCheckHooks=[])).push(p,Pe)),Ge&&(o.viewHooks??(o.viewHooks=[])).push(-p,Ge),bt&&((o.viewHooks??(o.viewHooks=[])).push(p,bt),(o.viewCheckHooks??(o.viewCheckHooks=[])).push(p,bt)),null!=Pt&&(o.destroyHooks??(o.destroyHooks=[])).push(p,Pt)}}function Ui(o,c,p){ne(o,c,3,p)}function jn(o,c,p,T){(3&o[_e])===p&&ne(o,c,p,T)}function He(o,c){let p=o[_e];(3&p)===c&&(p&=2047,p+=1,o[_e]=p)}function ne(o,c,p,T){const G=T??-1,le=c.length-1;let Pe=0;for(let Ge=void 0!==T?65535&o[qt]:0;Ge<le;Ge++)if("number"==typeof c[Ge+1]){if(Pe=c[Ge],null!=T&&Pe>=T)break}else c[Ge]<0&&(o[qt]+=65536),(Pe<G||-1==G)&&($(o,p,c,Ge),o[qt]=(4294901760&o[qt])+Ge+2),Ge++}function $(o,c,p,T){const H=p[T]<0,G=p[T+1],Pe=o[H?-p[T]:p[T]];if(H){if(o[_e]>>11<o[qt]>>16&&(3&o[_e])===c){o[_e]+=2048,Ra(4,Pe,G);try{G.call(Pe)}finally{Ra(5,Pe,G)}}}else{Ra(4,Pe,G);try{G.call(Pe)}finally{Ra(5,Pe,G)}}}const Me=-1;class tt{constructor(c,p,T){this.factory=c,this.resolving=!1,this.canSeeViewProviders=p,this.injectImpl=T}}function Zi(o,c,p){let T=0;for(;T<p.length;){const H=p[T];if("number"==typeof H){if(0!==H)break;T++;const G=p[T++],le=p[T++],Pe=p[T++];o.setAttribute(c,le,Pe,G)}else{const G=H,le=p[++T];oa(G)?o.setProperty(c,G,le):o.setAttribute(c,G,le),T++}}return T}function ln(o){return 3===o||4===o||6===o}function oa(o){return 64===o.charCodeAt(0)}function ga(o,c){if(null!==c&&0!==c.length)if(null===o||0===o.length)o=c.slice();else{let p=-1;for(let T=0;T<c.length;T++){const H=c[T];"number"==typeof H?p=H:0===p||Fa(o,p,H,null,-1===p||2===p?c[++T]:null)}}return o}function Fa(o,c,p,T,H){let G=0,le=o.length;if(-1===c)le=-1;else for(;G<o.length;){const Pe=o[G++];if("number"==typeof Pe){if(Pe===c){le=-1;break}if(Pe>c){le=G-1;break}}}for(;G<o.length;){const Pe=o[G];if("number"==typeof Pe)break;if(Pe===p){if(null===T)return void(null!==H&&(o[G+1]=H));if(T===o[G+1])return void(o[G+2]=H)}G++,null!==T&&G++,null!==H&&G++}-1!==le&&(o.splice(le,0,c),G=le+1),o.splice(G++,0,p),null!==T&&o.splice(G++,0,T),null!==H&&o.splice(G++,0,H)}function la(o){return o!==Me}function da(o){return 32767&o}function Ia(o,c){let p=function sa(o){return o>>16}(o),T=c;for(;p>0;)T=T[Oa],p--;return T}let Aa=!0;function xr(o){const c=Aa;return Aa=o,c}const ao=255,Wr=5;let nl=0;const Bo={};function Ac(o,c){const p=Ol(o,c);if(-1!==p)return p;const T=c[Qt];T.firstCreatePass&&(o.injectorIndex=c.length,Cr(T.data,o),Cr(c,null),Cr(T.blueprint,null));const H=As(o,c),G=o.injectorIndex;if(la(H)){const le=da(H),Pe=Ia(H,c),Ge=Pe[Qt].data;for(let bt=0;bt<8;bt++)c[G+bt]=Pe[le+bt]|Ge[le+bt]}return c[G+8]=H,G}function Cr(o,c){o.push(0,0,0,0,0,0,0,0,c)}function Ol(o,c){return-1===o.injectorIndex||o.parent&&o.parent.injectorIndex===o.injectorIndex||null===c[o.injectorIndex+8]?-1:o.injectorIndex}function As(o,c){if(o.parent&&-1!==o.parent.injectorIndex)return o.parent.injectorIndex;let p=0,T=null,H=c;for(;null!==H;){if(T=k1(H),null===T)return Me;if(p++,H=H[Oa],-1!==T.injectorIndex)return T.injectorIndex|p<<16}return Me}function Lc(o,c,p){!function kl(o,c,p){let T;"string"==typeof p?T=p.charCodeAt(0)||0:p.hasOwnProperty(Fe)&&(T=p[Fe]),null==T&&(T=p[Fe]=nl++);const H=T&ao;c.data[o+(H>>Wr)]|=1<<H}(o,c,p)}function rl(o,c,p){if(p&xe.Optional||void 0!==o)return o;ce()}function A1(o,c,p,T){if(p&xe.Optional&&void 0===T&&(T=null),!(p&(xe.Self|xe.Host))){const H=o[di],G=de(void 0);try{return H?H.get(c,T,p&xe.Optional):rt(c,T,p&xe.Optional)}finally{de(G)}}return rl(T,0,p)}function L1(o,c,p,T=xe.Default,H){if(null!==o){if(1024&c[_e]){const le=function I1(o,c,p,T,H){let G=o,le=c;for(;null!==G&&null!==le&&1024&le[_e]&&!(256&le[_e]);){const Pe=Pl(G,le,p,T|xe.Self,Bo);if(Pe!==Bo)return Pe;let Ge=G.parent;if(!Ge){const bt=le[ui];if(bt){const Pt=bt.get(p,Bo,T);if(Pt!==Bo)return Pt}Ge=k1(le),le=le[Oa]}G=Ge}return H}(o,c,p,T,Bo);if(le!==Bo)return le}const G=Pl(o,c,p,T,Bo);if(G!==Bo)return G}return A1(c,p,T,H)}function Pl(o,c,p,T,H){const G=function Rl(o){if("string"==typeof o)return o.charCodeAt(0)||0;const c=o.hasOwnProperty(Fe)?o[Fe]:void 0;return"number"==typeof c?c>=0?c&ao:Ir:c}(p);if("function"==typeof G){if(!Qo(c,o,T))return T&xe.Host?rl(H,0,T):A1(c,p,T,H);try{const le=G(T);if(null!=le||T&xe.Optional)return le;ce()}finally{Na()}}else if("number"==typeof G){let le=null,Pe=Ol(o,c),Ge=Me,bt=T&xe.Host?c[Wn][Ot]:null;for((-1===Pe||T&xe.SkipSelf)&&(Ge=-1===Pe?As(o,c):c[Pe+8],Ge!==Me&&D1(T,!1)?(le=c[Qt],Pe=da(Ge),c=Ia(Ge,c)):Pe=-1);-1!==Pe;){const Pt=c[Qt];if(Ls(G,Pe,Pt.data)){const ti=Dc(Pe,c,p,le,T,bt);if(ti!==Bo)return ti}Ge=c[Pe+8],Ge!==Me&&D1(T,c[Qt].data[Pe+8]===bt)&&Ls(G,Pe,c)?(le=Pt,Pe=da(Ge),c=Ia(Ge,c)):Pe=-1}}return H}function Dc(o,c,p,T,H,G){const le=c[Qt],Pe=le.data[o+8],Pt=js(Pe,le,p,null==T?br(Pe)&&Aa:T!=le&&0!=(3&Pe.type),H&xe.Host&&G===Pe);return null!==Pt?tr(c,le,Pt,Pe):Bo}function js(o,c,p,T,H){const G=o.providerIndexes,le=c.data,Pe=1048575&G,Ge=o.directiveStart,Pt=G>>20,hi=H?Pe+Pt:o.directiveEnd;for(let vi=T?Pe:Pe+Pt;vi<hi;vi++){const Pi=le[vi];if(vi<Ge&&p===Pi||vi>=Ge&&Pi.type===p)return vi}if(H){const vi=le[Ge];if(vi&&Qn(vi)&&vi.type===p)return Ge}return null}function tr(o,c,p,T){let H=o[p];const G=c.data;if(function Ne(o){return o instanceof tt}(H)){const le=H;le.resolving&&function pe(o,c){const p=c?`. Dependency path: ${c.join(" > ")} > ${o}`:"";throw new W(-200,`Circular dependency in DI detected for ${o}${p}`)}(function te(o){return"function"==typeof o?o.name||o.toString():"object"==typeof o&&null!=o&&"function"==typeof o.type?o.type.name||o.type.toString():q(o)}(G[p]));const Pe=xr(le.canSeeViewProviders);le.resolving=!0;const Ge=le.injectImpl?de(le.injectImpl):null;Qo(o,T,xe.Default);try{H=o[p]=le.factory(void 0,G,o,T),c.firstCreatePass&&p>=T.directiveStart&&function xa(o,c,p){const{ngOnChanges:T,ngOnInit:H,ngDoCheck:G}=c.type.prototype;if(T){const le=mr(c);(p.preOrderHooks??(p.preOrderHooks=[])).push(o,le),(p.preOrderCheckHooks??(p.preOrderCheckHooks=[])).push(o,le)}H&&(p.preOrderHooks??(p.preOrderHooks=[])).push(0-o,H),G&&((p.preOrderHooks??(p.preOrderHooks=[])).push(o,G),(p.preOrderCheckHooks??(p.preOrderCheckHooks=[])).push(o,G))}(p,G[p],c)}finally{null!==Ge&&de(Ge),xr(Pe),le.resolving=!1,Na()}}return H}function Ls(o,c,p){return!!(p[c+(o>>Wr)]&1<<o)}function D1(o,c){return!(o&xe.Self||o&xe.Host&&c)}class ro{constructor(c,p){this._tNode=c,this._lView=p}get(c,p,T){return L1(this._tNode,this._lView,c,De(T),p)}}function Ir(){return new ro(Va(),Mi())}function Ic(o){return Vt(()=>{const c=o.prototype.constructor,p=c[_t]||ol(c),T=Object.prototype;let H=Object.getPrototypeOf(o.prototype).constructor;for(;H&&H!==T;){const G=H[_t]||ol(H);if(G&&G!==p)return G;H=Object.getPrototypeOf(H)}return G=>new G})}function ol(o){return k(o)?()=>{const c=ol(I(o));return c&&c()}:ja(o)}function k1(o){const c=o[Qt],p=c.type;return 2===p?c.declTNode:1===p?o[Ot]:null}function dc(o){return function al(o,c){if("class"===c)return o.classes;if("style"===c)return o.styles;const p=o.attrs;if(p){const T=p.length;let H=0;for(;H<T;){const G=p[H];if(ln(G))break;if(0===G)H+=2;else if("number"==typeof G)for(H++;H<T&&"string"==typeof p[H];)H++;else{if(G===c)return p[H+1];H+=2}}}return null}(Va(),o)}const oo="__parameters__";function cs(o,c,p){return Vt(()=>{const T=function sl(o){return function(...p){if(o){const T=o(...p);for(const H in T)this[H]=T[H]}}}(c);function H(...G){if(this instanceof H)return T.apply(this,G),this;const le=new H(...G);return Pe.annotation=le,Pe;function Pe(Ge,bt,Pt){const ti=Ge.hasOwnProperty(oo)?Ge[oo]:Object.defineProperty(Ge,oo,{value:[]})[oo];for(;ti.length<=Pt;)ti.push(null);return(ti[Pt]=ti[Pt]||[]).push(le),Ge}}return p&&(H.prototype=Object.create(p.prototype)),H.prototype.ngMetadataName=o,H.annotationCls=H,H})}class La{constructor(c,p){this._desc=c,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof p?this.__NG_ELEMENT_ID__=p:void 0!==p&&(this.\u0275prov=Ve({token:this,providedIn:p.providedIn||"root",factory:p.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function ve(o,c){o.forEach(p=>Array.isArray(p)?ve(p,c):c(p))}function Ce(o,c,p){c>=o.length?o.push(p):o.splice(c,0,p)}function ae(o,c){return c>=o.length-1?o.pop():o.splice(c,1)[0]}function ze(o,c){const p=[];for(let T=0;T<o;T++)p.push(c);return p}function Ei(o,c,p){let T=on(o,c);return T>=0?o[1|T]=p:(T=~T,function Ft(o,c,p,T){let H=o.length;if(H==c)o.push(p,T);else if(1===H)o.push(T,o[0]),o[0]=p;else{for(H--,o.push(o[H-1],o[H]);H>c;)o[H]=o[H-2],H--;o[c]=p,o[c+1]=T}}(o,T,c,p)),T}function en(o,c){const p=on(o,c);if(p>=0)return o[1|p]}function on(o,c){return function na(o,c,p){let T=0,H=o.length>>p;for(;H!==T;){const G=T+(H-T>>1),le=o[G<<p];if(c===le)return G<<p;le>c?H=G:T=G+1}return~(H<<p)}(o,c,1)}const Pc=ue(cs("Inject",o=>({token:o})),-1),Js=ue(cs("Optional"),8),Xs=ue(cs("SkipSelf"),4);var Io=(()=>((Io=Io||{})[Io.Important=1]="Important",Io[Io.DashCase=2]="DashCase",Io))();const G1=new Map;let n2=0;const Zl="__ngContext__";function jr(o,c){zn(c)?(o[Zl]=c[ni],function ih(o){G1.set(o[ni],o)}(c)):o[Zl]=c}let c2;function Wl(o,c){return c2(o,c)}function ul(o){const c=o[ht];return ta(c)?c[ht]:c}function zc(o){return Q1(o[Xn])}function K1(o){return Q1(o[Lt])}function Q1(o){for(;null!==o&&!ta(o);)o=o[Lt];return o}function Jo(o,c,p,T,H){if(null!=T){let G,le=!1;ta(T)?G=T:zn(T)&&(le=!0,T=T[Zt]);const Pe=Yn(T);0===o&&null!==p?null==H?$1(c,p,Pe):bc(c,p,Pe,H||null,!0):1===o&&null!==p?bc(c,p,Pe,H||null,!0):2===o?function id(o,c,p){const T=Kl(o,c);T&&function ed(o,c,p,T){o.removeChild(c,p,T)}(o,T,c,p)}(c,Pe,le):3===o&&c.destroyNode(Pe),null!=G&&function ch(o,c,p,T,H){const G=p[Fn];G!==Yn(p)&&Jo(c,o,T,G,H);for(let Pe=Hn;Pe<p.length;Pe++){const Ge=p[Pe];gl(Ge[Qt],Ge,o,c,T,G)}}(c,o,G,p,H)}}function ml(o,c,p){return o.createElement(c,p)}function J1(o,c){const p=o[En],T=p.indexOf(c),H=c[ht];512&c[_e]&&(c[_e]&=-513,Gi(H,-1)),p.splice(T,1)}function d2(o,c){if(o.length<=Hn)return;const p=Hn+c,T=o[p];if(T){const H=T[Ua];null!==H&&H!==o&&J1(H,T),c>0&&(o[p-1][Lt]=T[Lt]);const G=ae(o,Hn+c);!function Bu(o,c){gl(o,c,c[Qi],2,null,null),c[Zt]=null,c[Ot]=null}(T[Qt],T);const le=G[Jt];null!==le&&le.detachView(G[Qt]),T[ht]=null,T[Lt]=null,T[_e]&=-65}return T}function ec(o,c){if(!(128&c[_e])){const p=c[Qi];p.destroyNode&&gl(o,c,p,3,null,null),function Zu(o){let c=o[Xn];if(!c)return Os(o[Qt],o);for(;c;){let p=null;if(zn(c))p=c[Xn];else{const T=c[Hn];T&&(p=T)}if(!p){for(;c&&!c[Lt]&&c!==o;)zn(c)&&Os(c[Qt],c),c=c[ht];null===c&&(c=o),zn(c)&&Os(c[Qt],c),p=c&&c[Lt]}c=p}}(c)}}function Os(o,c){if(!(128&c[_e])){c[_e]&=-65,c[_e]|=128,function X1(o,c){let p;if(null!=o&&null!=(p=o.destroyHooks))for(let T=0;T<p.length;T+=2){const H=c[p[T]];if(!(H instanceof tt)){const G=p[T+1];if(Array.isArray(G))for(let le=0;le<G.length;le+=2){const Pe=H[G[le]],Ge=G[le+1];Ra(4,Pe,Ge);try{Ge.call(Pe)}finally{Ra(5,Pe,Ge)}}else{Ra(4,H,G);try{G.call(H)}finally{Ra(5,H,G)}}}}}(o,c),function Yu(o,c){const p=o.cleanup,T=c[_i];let H=-1;if(null!==p)for(let G=0;G<p.length-1;G+=2)if("string"==typeof p[G]){const le=p[G+3];le>=0?T[H=le]():T[H=-le].unsubscribe(),G+=2}else{const le=T[H=p[G+1]];p[G].call(le)}if(null!==T){for(let G=H+1;G<T.length;G++)(0,T[G])();c[_i]=null}}(o,c),1===c[Qt].type&&c[Qi].destroy();const p=c[Ua];if(null!==p&&ta(c[ht])){p!==c[ht]&&J1(p,c);const T=c[Jt];null!==T&&T.detachView(o)}!function Hu(o){G1.delete(o[ni])}(c)}}function sh(o,c,p){return function h2(o,c,p){let T=c;for(;null!==T&&40&T.type;)T=(c=T).parent;if(null===T)return p[Zt];{const{componentOffset:H}=T;if(H>-1){const{encapsulation:G}=o.data[T.directiveStart+H];if(G===pt.None||G===pt.Emulated)return null}return ua(T,p)}}(o,c.parent,p)}function bc(o,c,p,T,H){o.insertBefore(c,p,T,H)}function $1(o,c,p){o.appendChild(c,p)}function tc(o,c,p,T,H){null!==T?bc(o,c,p,T,H):$1(o,c,p)}function Kl(o,c){return o.parentNode(c)}function _r(o,c,p){return td(o,c,p)}let ca,_l,Jl,vl,td=function f2(o,c,p){return 40&o.type?ua(o,p):null};function ic(o,c,p,T){const H=sh(o,T,c),G=c[Qi],Pe=_r(T.parent||c[Ot],T,c);if(null!=H)if(Array.isArray(p))for(let Ge=0;Ge<p.length;Ge++)tc(G,H,p[Ge],Pe,!1);else tc(G,H,p,Pe,!1);void 0!==ca&&ca(G,T,c,p,H)}function Ps(o,c){if(null!==c){const p=c.type;if(3&p)return ua(c,o);if(4&p)return Ql(-1,o[c.index]);if(8&p){const T=c.child;if(null!==T)return Ps(o,T);{const H=o[c.index];return ta(H)?Ql(-1,H):Yn(H)}}if(32&p)return Wl(c,o)()||Yn(o[c.index]);{const T=p2(o,c);return null!==T?Array.isArray(T)?T[0]:Ps(ul(o[Wn]),T):Ps(o,c.next)}}return null}function p2(o,c){return null!==c?o[Wn][Ot].projection[c.projection]:null}function Ql(o,c){const p=Hn+o+1;if(p<c.length){const T=c[p],H=T[Qt].firstChild;if(null!==H)return Ps(T,H)}return c[Fn]}function nd(o,c,p,T,H,G,le){for(;null!=p;){const Pe=T[p.index],Ge=p.type;if(le&&0===c&&(Pe&&jr(Yn(Pe),T),p.flags|=2),32!=(32&p.flags))if(8&Ge)nd(o,c,p.child,T,H,G,!1),Jo(c,o,H,Pe,G);else if(32&Ge){const bt=Wl(p,T);let Pt;for(;Pt=bt();)Jo(c,o,H,Pt,G);Jo(c,o,H,Pe,G)}else 16&Ge?ad(o,c,T,p,H,G):Jo(c,o,H,Pe,G);p=le?p.projectionNext:p.next}}function gl(o,c,p,T,H,G){nd(p,T,o.firstChild,c,H,G,!1)}function ad(o,c,p,T,H,G){const le=p[Wn],Ge=le[Ot].projection[T.projection];if(Array.isArray(Ge))for(let bt=0;bt<Ge.length;bt++)Jo(c,o,H,Ge[bt],G);else nd(o,c,Ge,le[ht],H,G,!0)}function rd(o,c,p){""===p?o.removeAttribute(c,"class"):o.setAttribute(c,"class",p)}function od(o,c,p){const{mergedAttrs:T,classes:H,styles:G}=p;null!==T&&Zi(o,c,T),null!==H&&rd(o,c,H),null!==G&&function _2(o,c,p){o.setAttribute(c,"style",p)}(o,c,G)}function Vc(o){return function ql(){if(void 0===_l&&(_l=null,lt.trustedTypes))try{_l=lt.trustedTypes.createPolicy("angular",{createHTML:o=>o,createScript:o=>o,createScriptURL:o=>o})}catch{}return _l}()?.createHTML(o)||o}function b2(o){Jl=o}function sd(){if(void 0===vl&&(vl=null,lt.trustedTypes))try{vl=lt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:o=>o,createScript:o=>o,createScriptURL:o=>o})}catch{}return vl}function cd(o){return sd()?.createHTML(o)||o}function ld(o){return sd()?.createScriptURL(o)||o}class yc{constructor(c){this.changingThisBreaksApplicationSecurity=c}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${Z})`}}class C2 extends yc{getTypeName(){return"HTML"}}class uh extends yc{getTypeName(){return"Style"}}class w2 extends yc{getTypeName(){return"Script"}}class M2 extends yc{getTypeName(){return"URL"}}class fh extends yc{getTypeName(){return"ResourceURL"}}function so(o){return o instanceof yc?o.changingThisBreaksApplicationSecurity:o}function Bc(o,c){const p=function mh(o){return o instanceof yc&&o.getTypeName()||null}(o);if(null!=p&&p!==c){if("ResourceURL"===p&&"URL"===c)return!0;throw new Error(`Required a safe ${c}, got a ${p} (see ${Z})`)}return p===c}function S2(o){return new C2(o)}function ph(o){return new uh(o)}function gh(o){return new w2(o)}function _h(o){return new M2(o)}function E2(o){return new fh(o)}class vh{constructor(c){this.inertDocumentHelper=c}getInertBodyElement(c){c="<body><remove></remove>"+c;try{const p=(new window.DOMParser).parseFromString(Vc(c),"text/html").body;return null===p?this.inertDocumentHelper.getInertBodyElement(c):(p.removeChild(p.firstChild),p)}catch{return null}}}class bh{constructor(c){this.defaultDoc=c,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(c){const p=this.inertDocument.createElement("template");return p.innerHTML=Vc(c),p}}const L2=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function Xl(o){return(o=String(o)).match(L2)?o:"unsafe:"+o}function fs(o){const c={};for(const p of o.split(","))c[p]=!0;return c}function bl(...o){const c={};for(const p of o)for(const T in p)p.hasOwnProperty(T)&&(c[T]=!0);return c}const D2=fs("area,br,col,hr,img,wbr"),I2=fs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),$l=fs("rp,rt"),dd=bl(D2,bl(I2,fs("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")),bl($l,fs("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")),bl($l,I2)),e1=fs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),hd=bl(e1,fs("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"),fs("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")),O2=fs("script,style,template");class P2{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(c){let p=c.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 H=this.checkClobberedElement(p,p.nextSibling);if(H){p=H;break}p=this.checkClobberedElement(p,p.parentNode)}return this.buf.join("")}startElement(c){const p=c.nodeName.toLowerCase();if(!dd.hasOwnProperty(p))return this.sanitizedSomething=!0,!O2.hasOwnProperty(p);this.buf.push("<"),this.buf.push(p);const T=c.attributes;for(let H=0;H<T.length;H++){const G=T.item(H),le=G.name,Pe=le.toLowerCase();if(!hd.hasOwnProperty(Pe)){this.sanitizedSomething=!0;continue}let Ge=G.value;e1[Pe]&&(Ge=Xl(Ge)),this.buf.push(" ",le,'="',ud(Ge),'"')}return this.buf.push(">"),!0}endElement(c){const p=c.nodeName.toLowerCase();dd.hasOwnProperty(p)&&!D2.hasOwnProperty(p)&&(this.buf.push("</"),this.buf.push(p),this.buf.push(">"))}chars(c){this.buf.push(ud(c))}checkClobberedElement(c,p){if(p&&(c.compareDocumentPosition(p)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${c.outerHTML}`);return p}}const R2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Uc=/([^\#-~ |!])/g;function ud(o){return o.replace(/&/g,"&amp;").replace(R2,function(c){return"&#"+(1024*(c.charCodeAt(0)-55296)+(c.charCodeAt(1)-56320)+65536)+";"}).replace(Uc,function(c){return"&#"+c.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let t1;function N2(o,c){let p=null;try{t1=t1||function T2(o){const c=new bh(o);return function A2(){try{return!!(new window.DOMParser).parseFromString(Vc(""),"text/html")}catch{return!1}}()?new vh(c):c}(o);let T=c?String(c):"";p=t1.getInertBodyElement(T);let H=5,G=T;do{if(0===H)throw new Error("Failed to sanitize html because the input is unstable");H--,T=G,G=p.innerHTML,p=t1.getInertBodyElement(T)}while(T!==G);return Vc((new P2).sanitizeChildren(fd(p)||p))}finally{if(p){const T=fd(p)||p;for(;T.firstChild;)T.removeChild(T.firstChild)}}}function fd(o){return"content"in o&&function F2(o){return o.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===o.nodeName}(o)?o.content:null}var qa=(()=>((qa=qa||{})[qa.NONE=0]="NONE",qa[qa.HTML=1]="HTML",qa[qa.STYLE=2]="STYLE",qa[qa.SCRIPT=3]="SCRIPT",qa[qa.URL=4]="URL",qa[qa.RESOURCE_URL=5]="RESOURCE_URL",qa))();function H2(o){const c=xc();return c?cd(c.sanitize(qa.HTML,o)||""):Bc(o,"HTML")?cd(so(o)):N2(function y2(){return void 0!==Jl?Jl:typeof document<"u"?document:void 0}(),q(o))}function V2(o){const c=xc();return c?c.sanitize(qa.URL,o)||"":Bc(o,"URL")?so(o):Xl(q(o))}function B2(o){const c=xc();if(c)return ld(c.sanitize(qa.RESOURCE_URL,o)||"");if(Bc(o,"ResourceURL"))return ld(so(o));throw new W(904,!1)}function Ch(o,c,p){return function Xu(o,c){return"src"===c&&("embed"===o||"frame"===o||"iframe"===o||"media"===o||"script"===o)||"href"===c&&("base"===o||"link"===o)?B2:V2}(c,p)(o)}function xc(){const o=Mi();return o&&o[Vn]}const md=new La("ENVIRONMENT_INITIALIZER"),U2=new La("INJECTOR",-1),G2=new La("INJECTOR_DEF_TYPES");class n1{get(c,p=Ct){if(p===Ct){const T=new Error(`NullInjectorError: No provider for ${P(c)}!`);throw T.name="NullInjectorError",T}return p}}function wh(o){return{\u0275providers:o}}function pd(...o){return{\u0275providers:Gc(0,o),\u0275fromNgModule:!0}}function Gc(o,...c){const p=[],T=new Set;let H;return ve(c,G=>{const le=G;gd(le,p,[],T)&&(H||(H=[]),H.push(le))}),void 0!==H&&Z2(H,p),p}function Z2(o,c){for(let p=0;p<o.length;p++){const{providers:H}=o[p];xl(H,G=>{c.push(G)})}}function gd(o,c,p,T){if(!(o=I(o)))return!1;let H=null,G=Ze(o);const le=!G&&Tt(o);if(G||le){if(le&&!le.standalone)return!1;H=o}else{const Ge=o.ngModule;if(G=Ze(Ge),!G)return!1;H=Ge}const Pe=T.has(H);if(le){if(Pe)return!1;if(T.add(H),le.dependencies){const Ge="function"==typeof le.dependencies?le.dependencies():le.dependencies;for(const bt of Ge)gd(bt,c,p,T)}}else{if(!G)return!1;{if(null!=G.imports&&!Pe){let bt;T.add(H);try{ve(G.imports,Pt=>{gd(Pt,c,p,T)&&(bt||(bt=[]),bt.push(Pt))})}finally{}void 0!==bt&&Z2(bt,c)}if(!Pe){const bt=ja(H)||(()=>new H);c.push({provide:H,useFactory:bt,deps:ut},{provide:G2,useValue:H,multi:!0},{provide:md,useValue:()=>xt(H),multi:!0})}const Ge=G.providers;null==Ge||Pe||xl(Ge,Pt=>{c.push(Pt)})}}return H!==o&&void 0!==o.providers}function xl(o,c){for(let p of o)O(p)&&(p=p.\u0275providers),Array.isArray(p)?xl(p,c):c(p)}const kr=C({provide:String,useValue:C});function Cl(o){return null!==o&&"object"==typeof o&&kr in o}function Rs(o){return"function"==typeof o}const Zc=new La("Set Injector scope."),Ns={},Mh={};let a1;function Ml(){return void 0===a1&&(a1=new n1),a1}class Cc{}class _d extends Cc{get destroyed(){return this._destroyed}constructor(c,p,T,H){super(),this.parent=p,this.source=T,this.scopes=H,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,o1(c,le=>this.processProvider(le)),this.records.set(U2,wc(void 0,this)),H.has("environment")&&this.records.set(Cc,wc(void 0,this));const G=this.records.get(Zc);null!=G&&"string"==typeof G.value&&this.scopes.add(G.value),this.injectorDefTypes=new Set(this.get(G2.multi,ut,xe.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const c of this._ngOnDestroyHooks)c.ngOnDestroy();for(const c of this._onDestroyHooks)c()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),this._onDestroyHooks.length=0}}onDestroy(c){this._onDestroyHooks.push(c)}runInContext(c){this.assertNotDestroyed();const p=Ye(this),T=de(void 0);try{return c()}finally{Ye(p),de(T)}}get(c,p=Ct,T=xe.Default){this.assertNotDestroyed(),T=De(T);const H=Ye(this),G=de(void 0);try{if(!(T&xe.SkipSelf)){let Pe=this.records.get(c);if(void 0===Pe){const Ge=function r1(o){return"function"==typeof o||"object"==typeof o&&o instanceof La}(c)&&we(c);Pe=Ge&&this.injectableDefInScope(Ge)?wc(vd(c),Ns):null,this.records.set(c,Pe)}if(null!=Pe)return this.hydrate(c,Pe)}return(T&xe.Self?Ml():this.parent).get(c,p=T&xe.Optional&&p===Ct?null:p)}catch(le){if("NullInjectorError"===le.name){if((le[Qe]=le[Qe]||[]).unshift(P(c)),H)throw le;return function qe(o,c,p,T){const H=o[Qe];throw c[St]&&H.unshift(c[St]),o.message=function Xt(o,c,p,T=null){o=o&&"\n"===o.charAt(0)&&o.charAt(1)==mt?o.slice(2):o;let H=P(c);if(Array.isArray(c))H=c.map(P).join(" -> ");else if("object"==typeof c){let G=[];for(let le in c)if(c.hasOwnProperty(le)){let Pe=c[le];G.push(le+":"+("string"==typeof Pe?JSON.stringify(Pe):P(Pe)))}H=`{${G.join(", ")}}`}return`${p}${T?"("+T+")":""}[${H}]: ${o.replace(J,"\n ")}`}("\n"+o.message,H,p,T),o[Le]=H,o[Qe]=null,o}(le,c,"R3InjectorError",this.source)}throw le}finally{de(G),Ye(H)}}resolveInjectorInitializers(){const c=Ye(this),p=de(void 0);try{const T=this.get(md.multi,ut,xe.Self);for(const H of T)H()}finally{Ye(c),de(p)}}toString(){const c=[],p=this.records;for(const T of p.keys())c.push(P(T));return`R3Injector[${c.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new W(205,!1)}processProvider(c){let p=Rs(c=I(c))?c:I(c&&c.provide);const T=function K2(o){return Cl(o)?wc(void 0,o.useValue):wc(bd(o),Ns)}(c);if(Rs(c)||!0!==c.multi)this.records.get(p);else{let H=this.records.get(p);H||(H=wc(void 0,Ns,!0),H.factory=()=>X(H.multi),this.records.set(p,H)),p=c,H.multi.push(c)}this.records.set(p,T)}hydrate(c,p){return p.value===Ns&&(p.value=Mh,p.value=p.factory()),"object"==typeof p.value&&p.value&&function Sh(o){return null!==o&&"object"==typeof o&&"function"==typeof o.ngOnDestroy}(p.value)&&this._ngOnDestroyHooks.add(p.value),p.value}injectableDefInScope(c){if(!c.providedIn)return!1;const p=I(c.providedIn);return"string"==typeof p?"any"===p||this.scopes.has(p):this.injectorDefTypes.has(p)}}function vd(o){const c=we(o),p=null!==c?c.factory:ja(o);if(null!==p)return p;if(o instanceof La)throw new W(204,!1);if(o instanceof Function)return function j2(o){const c=o.length;if(c>0)throw ze(c,"?"),new W(204,!1);const p=function ee(o){return o&&(o[Oe]||o[Se])||null}(o);return null!==p?()=>p.factory(o):()=>new o}(o);throw new W(204,!1)}function bd(o,c,p){let T;if(Rs(o)){const H=I(o);return ja(H)||vd(H)}if(Cl(o))T=()=>I(o.useValue);else if(function wl(o){return!(!o||!o.useFactory)}(o))T=()=>o.useFactory(...X(o.deps||[]));else if(function W2(o){return!(!o||!o.useExisting)}(o))T=()=>xt(I(o.useExisting));else{const H=I(o&&(o.useClass||o.provide));if(!function Q2(o){return!!o.deps}(o))return ja(H)||vd(H);T=()=>new H(...X(o.deps))}return T}function wc(o,c,p=!1){return{factory:o,value:c,multi:p?[]:void 0}}function o1(o,c){for(const p of o)Array.isArray(p)?o1(p,c):p&&O(p)?o1(p.\u0275providers,c):c(p)}class q2{}class J2{}class xd{resolveComponentFactory(c){throw function X2(o){const c=Error(`No component factory found for ${P(o)}. Did you add it to @NgModule.entryComponents?`);return c.ngComponent=o,c}(c)}}let Xo=(()=>{class o{}return o.NULL=new xd,o})();function s1(){return Or(Va(),Mi())}function Or(o,c){return new Wc(ua(o,c))}let Wc=(()=>{class o{constructor(p){this.nativeElement=p}}return o.__NG_ELEMENT_ID__=s1,o})();function Sl(o){return o instanceof Wc?o.nativeElement:o}class ms{}let Eh=(()=>{class o{}return o.__NG_ELEMENT_ID__=()=>function ef(){const o=Mi(),p=yt(Va().index,o);return(zn(p)?p:o)[Qi]}(),o})(),e0=(()=>{class o{}return o.\u0275prov=Ve({token:o,providedIn:"root",factory:()=>null}),o})();class Cd{constructor(c){this.full=c,this.major=c.split(".")[0],this.minor=c.split(".")[1],this.patch=c.split(".").slice(2).join(".")}}const Th=new Cd("15.2.9"),c1={},wd="ngOriginalError";function Md(o){return o[wd]}class Yc{constructor(){this._console=console}handleError(c){const p=this._findOriginalError(c);this._console.error("ERROR",c),p&&this._console.error("ORIGINAL ERROR",p)}_findOriginalError(c){let p=c&&Md(c);for(;p&&Md(p);)p=Md(p);return p||null}}function Sd(o){return o.ownerDocument.defaultView}function Fs(o){return o instanceof Function?o():o}function o0(o,c,p){let T=o.length;for(;;){const H=o.indexOf(c,p);if(-1===H)return H;if(0===H||o.charCodeAt(H-1)<=32){const G=c.length;if(H+G===T||o.charCodeAt(H+G)<=32)return H}p=H+1}}const s0="ng-template";function Nh(o,c,p){let T=0,H=!0;for(;T<o.length;){let G=o[T++];if("string"==typeof G&&H){const le=o[T++];if(p&&"class"===G&&-1!==o0(le.toLowerCase(),c,0))return!0}else{if(1===G){for(;T<o.length&&"string"==typeof(G=o[T++]);)if(G.toLowerCase()===c)return!0;return!1}"number"==typeof G&&(H=!1)}}return!1}function c0(o){return 4===o.type&&o.value!==s0}function Fh(o,c,p){return c===(4!==o.type||p?o.value:s0)}function Hh(o,c,p){let T=4;const H=o.attrs||[],G=function Vh(o){for(let c=0;c<o.length;c++)if(ln(o[c]))return c;return o.length}(H);let le=!1;for(let Pe=0;Pe<c.length;Pe++){const Ge=c[Pe];if("number"!=typeof Ge){if(!le)if(4&T){if(T=2|1&T,""!==Ge&&!Fh(o,Ge,p)||""===Ge&&1===c.length){if($o(T))return!1;le=!0}}else{const bt=8&T?Ge:c[++Pe];if(8&T&&null!==o.attrs){if(!Nh(o.attrs,bt,p)){if($o(T))return!1;le=!0}continue}const ti=l0(8&T?"class":Ge,H,c0(o),p);if(-1===ti){if($o(T))return!1;le=!0;continue}if(""!==bt){let hi;hi=ti>G?"":H[ti+1].toLowerCase();const vi=8&T?hi:null;if(vi&&-1!==o0(vi,bt,0)||2&T&&bt!==hi){if($o(T))return!1;le=!0}}}}else{if(!le&&!$o(T)&&!$o(Ge))return!1;if(le&&$o(Ge))continue;le=!1,T=Ge|1&T}}return $o(T)||le}function $o(o){return 0==(1&o)}function l0(o,c,p,T){if(null===c)return-1;let H=0;if(T||!p){let G=!1;for(;H<c.length;){const le=c[H];if(le===o)return H;if(3===le||6===le)G=!0;else{if(1===le||2===le){let Pe=c[++H];for(;"string"==typeof Pe;)Pe=c[++H];continue}if(4===le)break;if(0===le){H+=4;continue}}H+=G?1:2}return-1}return function h0(o,c){let p=o.indexOf(4);if(p>-1)for(p++;p<o.length;){const T=o[p];if("number"==typeof T)return-1;if(T===c)return p;p++}return-1}(c,o)}function d0(o,c,p=!1){for(let T=0;T<c.length;T++)if(Hh(o,c[T],p))return!0;return!1}function Bh(o,c){e:for(let p=0;p<c.length;p++){const T=c[p];if(o.length===T.length){for(let H=0;H<o.length;H++)if(o[H]!==T[H])continue e;return!0}}return!1}function u0(o,c){return o?":not("+c.trim()+")":c}function Uh(o){let c=o[0],p=1,T=2,H="",G=!1;for(;p<o.length;){let le=o[p];if("string"==typeof le)if(2&T){const Pe=o[++p];H+="["+le+(Pe.length>0?'="'+Pe+'"':"")+"]"}else 8&T?H+="."+le:4&T&&(H+=" "+le);else""!==H&&!$o(le)&&(c+=u0(G,H),H=""),T=le,G=G||!$o(T);p++}return""!==H&&(c+=u0(G,H)),c}const Rn={};function Td(o){Ad(Tn(),Mi(),Da()+o,!1)}function Ad(o,c,p,T){if(!T)if(3==(3&c[_e])){const G=o.preOrderCheckHooks;null!==G&&Ui(c,G,p)}else{const G=o.preOrderHooks;null!==G&&jn(c,G,0,p)}Qa(p)}function kd(o,c=null,p=null,T){const H=Od(o,c,p,T);return H.resolveInjectorInitializers(),H}function Od(o,c=null,p=null,T,H=new Set){const G=[p||ut,pd(o)];return T=T||("object"==typeof o?void 0:P(o)),new _d(G,c||Ml(),T||null,H)}let nc=(()=>{class o{static create(p,T){if(Array.isArray(p))return kd({name:""},T,p,"");{const H=p.name??"";return kd({name:H},p.parent,p.providers,H)}}}return o.THROW_IF_NOT_FOUND=Ct,o.NULL=new n1,o.\u0275prov=Ve({token:o,providedIn:"any",factory:()=>xt(U2)}),o.__NG_ELEMENT_ID__=-1,o})();function _s(o,c=xe.Default){const p=Mi();return null===p?xt(o,c):L1(Va(),p,I(o),c)}function Mc(){throw new Error("invalid")}function v0(o,c){const p=o.contentQueries;if(null!==p)for(let T=0;T<p.length;T+=2){const G=p[T+1];if(-1!==G){const le=o.data[G];ss(p[T]),le.contentQueries(2,c[G],G)}}}function Mn(o,c,p,T,H,G,le,Pe,Ge,bt,Pt){const ti=c.blueprint.slice();return ti[Zt]=H,ti[_e]=76|T,(null!==Pt||o&&1024&o[_e])&&(ti[_e]|=1024),fa(ti),ti[ht]=ti[Oa]=o,ti[$t]=p,ti[Xi]=le||o&&o[Xi],ti[Qi]=Pe||o&&o[Qi],ti[Vn]=Ge||o&&o[Vn]||null,ti[di]=bt||o&&o[di]||null,ti[Ot]=G,ti[ni]=function Hc(){return n2++}(),ti[ui]=Pt,ti[Wn]=2==c.type?o[Wn]:ti,ti}function ea(o,c,p,T,H){let G=o.data[c];if(null===G)G=function Wa(o,c,p,T,H){const G=Yo(),le=jo(),Ge=o.data[c]=function nf(o,c,p,T,H,G){return{type:p,index:T,insertBeforeIndex:null,injectorIndex:c?c.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:H,attrs:G,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:c,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,le?G:G&&G.parent,p,c,T,H);return null===o.firstChild&&(o.firstChild=Ge),null!==G&&(le?null==G.child&&null!==Ge.parent&&(G.child=Ge):null===G.next&&(G.next=Ge,Ge.prev=G)),Ge}(o,c,p,T,H),function zo(){return bn.lFrame.inI18n}()&&(G.flags|=32);else if(64&G.type){G.type=p,G.value=T,G.attrs=H;const le=function io(){const o=bn.lFrame,c=o.currentTNode;return o.isParent?c:c.parent}();G.injectorIndex=null===le?-1:le.injectorIndex}return pr(G,!0),G}function Oo(o,c,p,T){if(0===p)return-1;const H=c.length;for(let G=0;G<p;G++)c.push(T),o.blueprint.push(T),o.data.push(null);return H}function bo(o,c,p){Ws(c);try{const T=o.viewQuery;null!==T&&Qh(1,T,p);const H=o.template;null!==H&&Ha(o,c,H,1,p),o.firstCreatePass&&(o.firstCreatePass=!1),o.staticContentQueries&&v0(o,c),o.staticViewQueries&&Qh(2,o.viewQuery,p);const G=o.components;null!==G&&function Cn(o,c){for(let p=0;p<c.length;p++)Kh(o,c[p])}(c,G)}catch(T){throw o.firstCreatePass&&(o.incompleteFirstPass=!0,o.firstCreatePass=!1),T}finally{c[_e]&=-5,no()}}function vs(o,c,p,T){const H=c[_e];if(128!=(128&H)){Ws(c);try{fa(c),function Ka(o){return bn.lFrame.bindingIndex=o}(o.bindingStartIndex),null!==p&&Ha(o,c,p,2,T);const le=3==(3&H);if(le){const bt=o.preOrderCheckHooks;null!==bt&&Ui(c,bt,null)}else{const bt=o.preOrderHooks;null!==bt&&jn(c,bt,0,null),He(c,0)}if(function B3(o){for(let c=zc(o);null!==c;c=K1(c)){if(!c[Gn])continue;const p=c[En];for(let T=0;T<p.length;T++){const H=p[T];512&H[_e]||Gi(H[ht],1),H[_e]|=512}}}(c),function ff(o){for(let c=zc(o);null!==c;c=K1(c))for(let p=Hn;p<c.length;p++){const T=c[p],H=T[Qt];Li(T)&&vs(H,T,H.template,T[$t])}}(c),null!==o.contentQueries&&v0(o,c),le){const bt=o.contentCheckHooks;null!==bt&&Ui(c,bt)}else{const bt=o.contentHooks;null!==bt&&jn(c,bt,1),He(c,1)}!function Wh(o,c){const p=o.hostBindingOpCodes;if(null!==p)try{for(let T=0;T<p.length;T++){const H=p[T];if(H<0)Qa(~H);else{const G=H,le=p[++T],Pe=p[++T];Zs(le,G),Pe(2,c[G])}}}finally{Qa(-1)}}(o,c);const Pe=o.components;null!==Pe&&function fn(o,c){for(let p=0;p<c.length;p++)U3(o,c[p])}(c,Pe);const Ge=o.viewQuery;if(null!==Ge&&Qh(2,Ge,T),le){const bt=o.viewCheckHooks;null!==bt&&Ui(c,bt)}else{const bt=o.viewHooks;null!==bt&&jn(c,bt,2),He(c,2)}!0===o.firstUpdatePass&&(o.firstUpdatePass=!1),c[_e]&=-41,512&c[_e]&&(c[_e]&=-513,Gi(c[ht],-1))}finally{no()}}}function Ha(o,c,p,T,H){const G=Da(),le=2&T;try{Qa(-1),le&&c.length>Di&&Ad(o,c,Di,!1),Ra(le?2:0,H),p(T,H)}finally{Qa(G),Ra(le?3:1,H)}}function Pd(o,c,p){if(Sr(c)){const H=c.directiveEnd;for(let G=c.directiveStart;G<H;G++){const le=o.data[G];le.contentQueries&&le.contentQueries(1,p[G],G)}}}function Rd(o,c,p){yi()&&(function Qm(o,c,p,T){const H=p.directiveStart,G=p.directiveEnd;br(p)&&function z3(o,c,p){const T=ua(c,o),H=Hs(p),G=o[Xi],le=y0(o,Mn(o,H,null,p.onPush?32:16,T,c,G,G.createRenderer(T,p),null,null,null));o[c.index]=le}(c,p,o.data[H+p.componentOffset]),o.firstCreatePass||Ac(p,c),jr(T,c);const le=p.initialInputs;for(let Pe=H;Pe<G;Pe++){const Ge=o.data[Pe],bt=tr(c,o,Pe,p);jr(bt,c),null!==le&&hf(0,Pe-H,bt,Ge,0,le),Qn(Ge)&&(yt(p.index,c)[$t]=tr(c,o,Pe,p))}}(o,c,p,ua(p,c)),64==(64&p.flags)&&cf(o,c,p))}function Hr(o,c,p=ua){const T=c.localNames;if(null!==T){let H=c.index+1;for(let G=0;G<T.length;G+=2){const le=T[G+1],Pe=-1===le?p(c,o):o[le];o[H++]=Pe}}}function Hs(o){const c=o.tView;return null===c||c.incompleteFirstPass?o.tView=yo(1,null,o.template,o.decls,o.vars,o.directiveDefs,o.pipeDefs,o.viewQuery,o.schemas,o.consts):c}function yo(o,c,p,T,H,G,le,Pe,Ge,bt){const Pt=Di+T,ti=Pt+H,hi=function El(o,c){const p=[];for(let T=0;T<c;T++)p.push(T<o?null:Rn);return p}(Pt,ti),vi="function"==typeof bt?bt():bt;return hi[Qt]={type:o,blueprint:hi,template:p,queries:null,viewQuery:Pe,declTNode:c,data:hi.slice().fill(null,Pt),bindingStartIndex:Pt,expandoStartIndex:ti,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof G?G():G,pipeRegistry:"function"==typeof le?le():le,firstChild:null,schemas:Ge,consts:vi,incompleteFirstPass:!1}}function I3(o,c,p,T){const H=mf(c);null===p?H.push(T):(H.push(p),o.firstCreatePass&&pf(o).push(T,H.length-1))}function k3(o,c,p,T){for(let H in o)if(o.hasOwnProperty(H)){p=null===p?{}:p;const G=o[H];null===T?O3(p,c,H,G):T.hasOwnProperty(H)&&O3(p,c,T[H],G)}return p}function O3(o,c,p,T){o.hasOwnProperty(p)?o[p].push(c,T):o[p]=[c,T]}function Go(o,c,p,T,H,G,le,Pe){const Ge=ua(c,p);let Pt,bt=c.inputs;!Pe&&null!=bt&&(Pt=bt[T])?(qh(o,p,Pt,T,H),br(c)&&function P3(o,c){const p=yt(c,o);16&p[_e]||(p[_e]|=32)}(p,c.index)):3&c.type&&(T=function Ym(o){return"class"===o?"className":"for"===o?"htmlFor":"formaction"===o?"formAction":"innerHtml"===o?"innerHTML":"readonly"===o?"readOnly":"tabindex"===o?"tabIndex":o}(T),H=null!=le?le(H,c.value||"",T):H,G.setProperty(Ge,T,H))}function af(o,c,p,T){if(yi()){const H=null===T?null:{"":-1},G=function N3(o,c){const p=o.directiveRegistry;let T=null,H=null;if(p)for(let G=0;G<p.length;G++){const le=p[G];if(d0(c,le.selectors,!1))if(T||(T=[]),Qn(le))if(null!==le.findHostDirectiveDefs){const Pe=[];H=H||new Map,le.findHostDirectiveDefs(le,Pe,H),T.unshift(...Pe,le),lf(o,c,Pe.length)}else T.unshift(le),lf(o,c,0);else H=H||new Map,le.findHostDirectiveDefs?.(le,T,H),T.push(le)}return null===T?null:[T,H]}(o,p);let le,Pe;null===G?le=Pe=null:[le,Pe]=G,null!==le&&rf(o,c,p,le,H,Pe),H&&function F3(o,c,p){if(c){const T=o.localNames=[];for(let H=0;H<c.length;H+=2){const G=p[c[H+1]];if(null==G)throw new W(-301,!1);T.push(c[H],G)}}}(p,T,H)}p.mergedAttrs=ga(p.mergedAttrs,p.attrs)}function rf(o,c,p,T,H,G){for(let bt=0;bt<T.length;bt++)Lc(Ac(p,c),o,T[bt].type);!function H3(o,c,p){o.flags|=1,o.directiveStart=c,o.directiveEnd=c+p,o.providerIndexes=c}(p,o.data.length,T.length);for(let bt=0;bt<T.length;bt++){const Pt=T[bt];Pt.providersResolver&&Pt.providersResolver(Pt)}let le=!1,Pe=!1,Ge=Oo(o,c,T.length,null);for(let bt=0;bt<T.length;bt++){const Pt=T[bt];p.mergedAttrs=ga(p.mergedAttrs,Pt.hostAttrs),Jm(o,p,c,Ge,Pt),df(Ge,Pt,H),null!==Pt.contentQueries&&(p.flags|=4),(null!==Pt.hostBindings||null!==Pt.hostAttrs||0!==Pt.hostVars)&&(p.flags|=64);const ti=Pt.type.prototype;!le&&(ti.ngOnChanges||ti.ngOnInit||ti.ngDoCheck)&&((o.preOrderHooks??(o.preOrderHooks=[])).push(p.index),le=!0),!Pe&&(ti.ngOnChanges||ti.ngDoCheck)&&((o.preOrderCheckHooks??(o.preOrderCheckHooks=[])).push(p.index),Pe=!0),Ge++}!function Wm(o,c,p){const H=c.directiveEnd,G=o.data,le=c.attrs,Pe=[];let Ge=null,bt=null;for(let Pt=c.directiveStart;Pt<H;Pt++){const ti=G[Pt],hi=p?p.get(ti):null,Pi=hi?hi.outputs:null;Ge=k3(ti.inputs,Pt,Ge,hi?hi.inputs:null),bt=k3(ti.outputs,Pt,bt,Pi);const Ji=null===Ge||null===le||c0(c)?null:V3(Ge,Pt,le);Pe.push(Ji)}null!==Ge&&(Ge.hasOwnProperty("class")&&(c.flags|=8),Ge.hasOwnProperty("style")&&(c.flags|=16)),c.initialInputs=Pe,c.inputs=Ge,c.outputs=bt}(o,p,G)}function cf(o,c,p){const T=p.directiveStart,H=p.directiveEnd,G=p.index,le=function Ms(){return bn.lFrame.currentDirectiveIndex}();try{Qa(G);for(let Pe=T;Pe<H;Pe++){const Ge=o.data[Pe],bt=c[Pe];os(Pe),(null!==Ge.hostBindings||0!==Ge.hostVars||null!==Ge.hostAttrs)&&qm(Ge,bt)}}finally{Qa(-1),os(le)}}function qm(o,c){null!==o.hostBindings&&o.hostBindings(1,c)}function lf(o,c,p){c.componentOffset=p,(o.components??(o.components=[])).push(c.index)}function df(o,c,p){if(p){if(c.exportAs)for(let T=0;T<c.exportAs.length;T++)p[c.exportAs[T]]=o;Qn(c)&&(p[""]=o)}}function Jm(o,c,p,T,H){o.data[T]=H;const G=H.factory||(H.factory=ja(H.type)),le=new tt(G,Qn(H),_s);o.blueprint[T]=le,p[T]=le,function Km(o,c,p,T,H){const G=H.hostBindings;if(G){let le=o.hostBindingOpCodes;null===le&&(le=o.hostBindingOpCodes=[]);const Pe=~c.index;(function sf(o){let c=o.length;for(;c>0;){const p=o[--c];if("number"==typeof p&&p<0)return p}return 0})(le)!=Pe&&le.push(Pe),le.push(p,T,G)}}(o,c,T,Oo(o,p,H.hostVars,Rn),H)}function zs(o,c,p,T,H,G){const le=ua(o,c);!function Yh(o,c,p,T,H,G,le){if(null==G)o.removeAttribute(c,H,p);else{const Pe=null==le?q(G):le(G,T||"",H);o.setAttribute(c,H,Pe,p)}}(c[Qi],le,G,o.value,p,T,H)}function hf(o,c,p,T,H,G){const le=G[c];if(null!==le){const Pe=T.setInput;for(let Ge=0;Ge<le.length;){const bt=le[Ge++],Pt=le[Ge++],ti=le[Ge++];null!==Pe?T.setInput(p,ti,bt,Pt):p[Pt]=ti}}}function V3(o,c,p){let T=null,H=0;for(;H<p.length;){const G=p[H];if(0!==G)if(5!==G){if("number"==typeof G)break;if(o.hasOwnProperty(G)){null===T&&(T=[]);const le=o[G];for(let Pe=0;Pe<le.length;Pe+=2)if(le[Pe]===c){T.push(G,le[Pe+1],p[H+1]);break}}H+=2}else H+=2;else H+=4}return T}function uf(o,c,p,T){return[o,!0,!1,c,null,0,T,p,null,null]}function U3(o,c){const p=yt(c,o);if(Li(p)){const T=p[Qt];48&p[_e]?vs(T,p,T.template,p[$t]):p[Bt]>0&&jh(p)}}function jh(o){for(let T=zc(o);null!==T;T=K1(T))for(let H=Hn;H<T.length;H++){const G=T[H];if(Li(G))if(512&G[_e]){const le=G[Qt];vs(le,G,le.template,G[$t])}else G[Bt]>0&&jh(G)}const p=o[Qt].components;if(null!==p)for(let T=0;T<p.length;T++){const H=yt(p[T],o);Li(H)&&H[Bt]>0&&jh(H)}}function Kh(o,c){const p=yt(c,o),T=p[Qt];(function G3(o,c){for(let p=c.length;p<o.blueprint.length;p++)c.push(o.blueprint[p])})(T,p),bo(T,p,p[$t])}function y0(o,c){return o[Xn]?o[Ma][Lt]=c:o[Xn]=c,o[Ma]=c,c}function x0(o){for(;o;){o[_e]|=32;const c=ul(o);if(Ga(o)&&!c)return o;o=c}return null}function C0(o,c,p,T=!0){const H=c[Xi];H.begin&&H.begin();try{vs(o,c,o.template,p)}catch(le){throw T&&W3(c,le),le}finally{H.end&&H.end()}}function Qh(o,c,p){ss(0),c(o,p)}function mf(o){return o[_i]||(o[_i]=[])}function pf(o){return o.cleanup||(o.cleanup=[])}function Z3(o,c,p){return(null===o||Qn(o))&&(p=function rr(o){for(;Array.isArray(o);){if("object"==typeof o[hn])return o;o=o[Zt]}return null}(p[c.index])),p[Qi]}function W3(o,c){const p=o[di],T=p?p.get(Yc,null):null;T&&T.handleError(c)}function qh(o,c,p,T,H){for(let G=0;G<p.length;){const le=p[G++],Pe=p[G++],Ge=c[le],bt=o.data[le];null!==bt.setInput?bt.setInput(Ge,H,T,Pe):Ge[Pe]=H}}function Sc(o,c,p){const T=Lr(c,o);!function fl(o,c,p){o.setValue(c,p)}(o[Qi],T,p)}function Jh(o,c,p){let T=p?o.styles:null,H=p?o.classes:null,G=0;if(null!==c)for(let le=0;le<c.length;le++){const Pe=c[le];"number"==typeof Pe?G=Pe:1==G?H=d(H,Pe):2==G&&(T=d(T,Pe+": "+c[++le]+";"))}p?o.styles=T:o.stylesWithoutHost=T,p?o.classes=H:o.classesWithoutHost=H}function w0(o,c,p,T,H=!1){for(;null!==p;){const G=c[p.index];if(null!==G&&T.push(Yn(G)),ta(G))for(let Pe=Hn;Pe<G.length;Pe++){const Ge=G[Pe],bt=Ge[Qt].firstChild;null!==bt&&w0(Ge[Qt],Ge,bt,T)}const le=p.type;if(8&le)w0(o,c,p.child,T);else if(32&le){const Pe=Wl(p,c);let Ge;for(;Ge=Pe();)T.push(Ge)}else if(16&le){const Pe=p2(c,p);if(Array.isArray(Pe))T.push(...Pe);else{const Ge=ul(c[Wn]);w0(Ge[Qt],Ge,Pe,T,!0)}}p=H?p.projectionNext:p.next}return T}class Nd{get rootNodes(){const c=this._lView,p=c[Qt];return w0(p,c,p.firstChild,[])}constructor(c,p){this._lView=c,this._cdRefInjectingView=p,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[$t]}set context(c){this._lView[$t]=c}get destroyed(){return 128==(128&this._lView[_e])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const c=this._lView[ht];if(ta(c)){const p=c[ba],T=p?p.indexOf(this):-1;T>-1&&(d2(c,T),ae(p,T))}this._attachedToViewContainer=!1}ec(this._lView[Qt],this._lView)}onDestroy(c){I3(this._lView[Qt],this._lView,null,c)}markForCheck(){x0(this._cdRefInjectingView||this._lView)}detach(){this._lView[_e]&=-65}reattach(){this._lView[_e]|=64}detectChanges(){C0(this._lView[Qt],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new W(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Gu(o,c){gl(o,c,c[Qi],2,null,null)}(this._lView[Qt],this._lView)}attachToAppRef(c){if(this._attachedToViewContainer)throw new W(902,!1);this._appRef=c}}class $m extends Nd{constructor(c){super(c),this._view=c}detectChanges(){const c=this._view;C0(c[Qt],c,c[$t],!1)}checkNoChanges(){}get context(){return null}}class gf extends Xo{constructor(c){super(),this.ngModule=c}resolveComponentFactory(c){const p=Tt(c);return new M0(p,this.ngModule)}}function Y3(o){const c=[];for(let p in o)o.hasOwnProperty(p)&&c.push({propName:o[p],templateName:p});return c}class j3{constructor(c,p){this.injector=c,this.parentInjector=p}get(c,p,T){T=De(T);const H=this.injector.get(c,c1,T);return H!==c1||p===c1?H:this.parentInjector.get(c,p,T)}}class M0 extends J2{get inputs(){return Y3(this.componentDef.inputs)}get outputs(){return Y3(this.componentDef.outputs)}constructor(c,p){super(),this.componentDef=c,this.ngModule=p,this.componentType=c.type,this.selector=function Gh(o){return o.map(Uh).join(",")}(c.selectors),this.ngContentSelectors=c.ngContentSelectors?c.ngContentSelectors:[],this.isBoundToModule=!!p}create(c,p,T,H){let G=(H=H||this.ngModule)instanceof Cc?H:H?.injector;G&&null!==this.componentDef.getStandaloneInjector&&(G=this.componentDef.getStandaloneInjector(G)||G);const le=G?new j3(c,G):c,Pe=le.get(ms,null);if(null===Pe)throw new W(407,!1);const Ge=le.get(e0,null),bt=Pe.createRenderer(null,this.componentDef),Pt=this.componentDef.selectors[0][0]||"div",ti=T?function b0(o,c,p){return o.selectRootElement(c,p===pt.ShadowDom)}(bt,T,this.componentDef.encapsulation):ml(bt,Pt,function ep(o){const c=o.toLowerCase();return"svg"===c?Ar:"math"===c?"math":null}(Pt)),hi=this.componentDef.onPush?288:272,vi=yo(0,null,null,1,0,null,null,null,null,null),Pi=Mn(null,vi,null,hi,null,null,Pe,bt,Ge,le,null);let Ji,sn;Ws(Pi);try{const gn=this.componentDef;let Pn,Vi=null;gn.findHostDirectiveDefs?(Pn=[],Vi=new Map,gn.findHostDirectiveDefs(gn,Pn,Vi),Pn.push(gn)):Pn=[gn];const Un=function ip(o,c){const p=o[Qt],T=Di;return o[T]=c,ea(p,T,2,"#host",null)}(Pi,ti),ur=function np(o,c,p,T,H,G,le,Pe){const Ge=H[Qt];!function ap(o,c,p,T){for(const H of o)c.mergedAttrs=ga(c.mergedAttrs,H.hostAttrs);null!==c.mergedAttrs&&(Jh(c,c.mergedAttrs,!0),null!==p&&od(T,p,c))}(T,o,c,le);const bt=G.createRenderer(c,p),Pt=Mn(H,Hs(p),null,p.onPush?32:16,H[o.index],o,G,bt,Pe||null,null,null);return Ge.firstCreatePass&&lf(Ge,o,T.length-1),y0(H,Pt),H[o.index]=Pt}(Un,ti,gn,Pn,Pi,Pe,bt);sn=Rt(vi,Di),ti&&function rp(o,c,p,T){if(T)Zi(o,p,["ng-version",Th.full]);else{const{attrs:H,classes:G}=function Ed(o){const c=[],p=[];let T=1,H=2;for(;T<o.length;){let G=o[T];if("string"==typeof G)2===H?""!==G&&c.push(G,o[++T]):8===H&&p.push(G);else{if(!$o(H))break;H=G}T++}return{attrs:c,classes:p}}(c.selectors[0]);H&&Zi(o,p,H),G&&G.length>0&&rd(o,p,G.join(" "))}}(bt,gn,ti,T),void 0!==p&&function _f(o,c,p){const T=o.projection=[];for(let H=0;H<c.length;H++){const G=p[H];T.push(null!=G?Array.from(G):null)}}(sn,this.ngContentSelectors,p),Ji=function Q3(o,c,p,T,H,G){const le=Va(),Pe=H[Qt],Ge=ua(le,H);rf(Pe,H,le,p,null,T);for(let Pt=0;Pt<p.length;Pt++)jr(tr(H,Pe,le.directiveStart+Pt,le),H);cf(Pe,H,le),Ge&&jr(Ge,H);const bt=tr(H,Pe,le.directiveStart+le.componentOffset,le);if(o[$t]=H[$t]=bt,null!==G)for(const Pt of G)Pt(bt,c);return Pd(Pe,le,o),bt}(ur,gn,Pn,Vi,Pi,[op]),bo(vi,Pi,null)}finally{no()}return new K3(this.componentType,Ji,Or(sn,Pi),Pi,sn)}}class K3 extends q2{constructor(c,p,T,H,G){super(),this.location=T,this._rootLView=H,this._tNode=G,this.instance=p,this.hostView=this.changeDetectorRef=new $m(H),this.componentType=c}setInput(c,p){const T=this._tNode.inputs;let H;if(null!==T&&(H=T[c])){const G=this._rootLView;qh(G[Qt],G,H,c,p),x0(yt(this._tNode.index,G))}}get injector(){return new ro(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(c){this.hostView.onDestroy(c)}}function op(){const o=Va();Ta(Mi()[Qt],o)}function vf(o){let c=function q3(o){return Object.getPrototypeOf(o.prototype).constructor}(o.type),p=!0;const T=[o];for(;c;){let H;if(Qn(o))H=c.\u0275cmp||c.\u0275dir;else{if(c.\u0275cmp)throw new W(903,!1);H=c.\u0275dir}if(H){if(p){T.push(H);const le=o;le.inputs=Xh(o.inputs),le.declaredInputs=Xh(o.declaredInputs),le.outputs=Xh(o.outputs);const Pe=H.hostBindings;Pe&&cp(o,Pe);const Ge=H.viewQuery,bt=H.contentQueries;if(Ge&&X3(o,Ge),bt&&sp(o,bt),h(o.inputs,H.inputs),h(o.declaredInputs,H.declaredInputs),h(o.outputs,H.outputs),Qn(H)&&H.data.animation){const Pt=o.data;Pt.animation=(Pt.animation||[]).concat(H.data.animation)}}const G=H.features;if(G)for(let le=0;le<G.length;le++){const Pe=G[le];Pe&&Pe.ngInherit&&Pe(o),Pe===vf&&(p=!1)}}c=Object.getPrototypeOf(c)}!function J3(o){let c=0,p=null;for(let T=o.length-1;T>=0;T--){const H=o[T];H.hostVars=c+=H.hostVars,H.hostAttrs=ga(H.hostAttrs,p=ga(p,H.hostAttrs))}}(T)}function Xh(o){return o===ot?{}:o===ut?[]:o}function X3(o,c){const p=o.viewQuery;o.viewQuery=p?(T,H)=>{c(T,H),p(T,H)}:c}function sp(o,c){const p=o.contentQueries;o.contentQueries=p?(T,H,G)=>{c(T,H,G),p(T,H,G)}:c}function cp(o,c){const p=o.hostBindings;o.hostBindings=p?(T,H)=>{c(T,H),p(T,H)}:c}function Fd(o){return!!$h(o)&&(Array.isArray(o)||!(o instanceof Map)&&Symbol.iterator in o)}function $h(o){return null!==o&&("function"==typeof o||"object"==typeof o)}function rc(o,c,p){return o[c]=p}function Po(o,c,p){return!Object.is(o[c],p)&&(o[c]=p,!0)}function u1(o,c,p,T){const H=Po(o,c,p);return Po(o,c+1,T)||H}function E0(o,c,p,T,H){const G=u1(o,c,p,T);return Po(o,c+2,H)||G}function eu(o,c,p,T){const H=Mi();return Po(H,_o(),c)&&(Tn(),zs(pa(),H,o,c,p,T)),eu}function m1(o,c,p,T){return Po(o,_o(),p)?c+q(p)+T:Rn}function p1(o,c,p,T,H,G){const Pe=u1(o,Oi(),p,H);return Ni(2),Pe?c+q(p)+T+q(H)+G:Rn}function zd(o,c,p,T,H,G,le,Pe,Ge,bt){const ti=function Vs(o,c,p,T,H,G){const le=u1(o,c,p,T);return u1(o,c+2,H,G)||le}(o,Oi(),p,H,le,Ge);return Ni(4),ti?c+q(p)+T+q(H)+G+q(le)+Pe+q(Ge)+bt:Rn}function Ef(o,c,p,T,H,G,le,Pe){const Ge=Mi(),bt=Tn(),Pt=o+Di,ti=bt.firstCreatePass?function s4(o,c,p,T,H,G,le,Pe,Ge){const bt=c.consts,Pt=ea(c,o,4,le||null,ia(bt,Pe));af(c,p,Pt,ia(bt,Ge)),Ta(c,Pt);const ti=Pt.tView=yo(2,Pt,T,H,G,c.directiveRegistry,c.pipeRegistry,null,c.schemas,bt);return null!==c.queries&&(c.queries.template(c,Pt),ti.queries=c.queries.embeddedTView(Pt)),Pt}(Pt,bt,Ge,c,p,T,H,G,le):bt.data[Pt];pr(ti,!1);const hi=Ge[Qi].createComment("");ic(bt,Ge,hi,ti),jr(hi,Ge),y0(Ge,Ge[Pt]=uf(hi,Ge,hi,ti)),Ja(ti)&&Rd(bt,Ge,ti),null!=le&&Hr(Ge,ti,Pe)}function l4(o){return fi(function ws(){return bn.lFrame.contextLView}(),Di+o)}function Tf(o,c,p){const T=Mi();return Po(T,_o(),c)&&Go(Tn(),pa(),T,o,c,T[Qi],p,!1),Tf}function Af(o,c,p,T,H){const le=H?"class":"style";qh(o,p,c.inputs[le],le,T)}function T0(o,c,p,T){const H=Mi(),G=Tn(),le=Di+o,Pe=H[Qi],Ge=G.firstCreatePass?function pp(o,c,p,T,H,G){const le=c.consts,Ge=ea(c,o,2,T,ia(le,H));return af(c,p,Ge,ia(le,G)),null!==Ge.attrs&&Jh(Ge,Ge.attrs,!1),null!==Ge.mergedAttrs&&Jh(Ge,Ge.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,Ge),Ge}(le,G,H,c,p,T):G.data[le],bt=H[le]=ml(Pe,c,function qi(){return bn.lFrame.currentNamespace}()),Pt=Ja(Ge);return pr(Ge,!0),od(Pe,bt,Ge),32!=(32&Ge.flags)&&ic(G,H,bt,Ge),0===function it(){return bn.lFrame.elementDepthCount}()&&jr(bt,H),function Ue(){bn.lFrame.elementDepthCount++}(),Pt&&(Rd(G,H,Ge),Pd(G,Ge,H)),null!==T&&Hr(H,Ge),T0}function iu(){let o=Va();jo()?Ko():(o=o.parent,pr(o,!1));const c=o;!function It(){bn.lFrame.elementDepthCount--}();const p=Tn();return p.firstCreatePass&&(Ta(p,o),Sr(o)&&p.queries.elementEnd(o)),null!=c.classesWithoutHost&&function gi(o){return 0!=(8&o.flags)}(c)&&Af(p,c,Mi(),c.classesWithoutHost,!0),null!=c.stylesWithoutHost&&function wi(o){return 0!=(16&o.flags)}(c)&&Af(p,c,Mi(),c.stylesWithoutHost,!1),iu}function Lf(o,c,p,T){return T0(o,c,p,T),iu(),Lf}function nu(o,c,p){const T=Mi(),H=Tn(),G=o+Di,le=H.firstCreatePass?function Df(o,c,p,T,H){const G=c.consts,le=ia(G,T),Pe=ea(c,o,8,"ng-container",le);return null!==le&&Jh(Pe,le,!0),af(c,p,Pe,ia(G,H)),null!==c.queries&&c.queries.elementStart(c,Pe),Pe}(G,H,T,c,p):H.data[G];pr(le,!0);const Pe=T[G]=T[Qi].createComment("");return ic(H,T,Pe,le),jr(Pe,T),Ja(le)&&(Rd(H,T,le),Pd(H,le,T)),null!=p&&Hr(T,le),nu}function A0(){let o=Va();const c=Tn();return jo()?Ko():(o=o.parent,pr(o,!1)),c.firstCreatePass&&(Ta(c,o),Sr(o)&&c.queries.elementEnd(o)),A0}function au(o,c,p){return nu(o,c,p),A0(),au}function d4(){return Mi()}function If(o){return!!o&&"function"==typeof o.then}function h4(o){return!!o&&"function"==typeof o.subscribe}const u4=h4;function ru(o,c,p,T){const H=Mi(),G=Tn(),le=Va();return f4(G,H,H[Qi],le,o,c,T),ru}function kf(o,c){const p=Va(),T=Mi(),H=Tn();return f4(H,T,Z3(Eo(H.data),p,T),p,o,c),kf}function f4(o,c,p,T,H,G,le){const Pe=Ja(T),bt=o.firstCreatePass&&pf(o),Pt=c[$t],ti=mf(c);let hi=!0;if(3&T.type||le){const Ji=ua(T,c),sn=le?le(Ji):Ji,gn=ti.length,Pn=le?Un=>le(Yn(Un[T.index])):T.index;let Vi=null;if(!le&&Pe&&(Vi=function gp(o,c,p,T){const H=o.cleanup;if(null!=H)for(let G=0;G<H.length-1;G+=2){const le=H[G];if(le===p&&H[G+1]===T){const Pe=c[_i],Ge=H[G+2];return Pe.length>Ge?Pe[Ge]:null}"string"==typeof le&&(G+=2)}return null}(o,c,H,T.index)),null!==Vi)(Vi.__ngLastListenerFn__||Vi).__ngNextListenerFn__=G,Vi.__ngLastListenerFn__=G,hi=!1;else{G=m4(T,c,Pt,G,!1);const Un=p.listen(sn,H,G);ti.push(G,Un),bt&&bt.push(H,Pn,gn,gn+1)}}else G=m4(T,c,Pt,G,!1);const vi=T.outputs;let Pi;if(hi&&null!==vi&&(Pi=vi[H])){const Ji=Pi.length;if(Ji)for(let sn=0;sn<Ji;sn+=2){const ur=c[Pi[sn]][Pi[sn+1]].subscribe(G),Ur=ti.length;ti.push(G,ur),bt&&bt.push(H,T.index,Ur,-(Ur+1))}}}function Of(o,c,p,T){try{return Ra(6,c,p),!1!==p(T)}catch(H){return W3(o,H),!1}finally{Ra(7,c,p)}}function m4(o,c,p,T,H){return function G(le){if(le===Function)return T;x0(o.componentOffset>-1?yt(o.index,c):c);let Ge=Of(c,p,T,le),bt=G.__ngNextListenerFn__;for(;bt;)Ge=Of(c,p,bt,le)&&Ge,bt=bt.__ngNextListenerFn__;return H&&!1===Ge&&(le.preventDefault(),le.returnValue=!1),Ge}}function p4(o=1){return function Ao(o){return(bn.lFrame.contextLView=function rn(o,c){for(;o>0;)c=c[Oa],o--;return c}(o,bn.lFrame.contextLView))[$t]}(o)}function _p(o,c){let p=null;const T=function zh(o){const c=o.attrs;if(null!=c){const p=c.indexOf(5);if(!(1&p))return c[p+1]}return null}(o);for(let H=0;H<c.length;H++){const G=c[H];if("*"!==G){if(null===T?d0(o,G,!0):Bh(T,G))return H}else p=H}return p}function ou(o){const c=Mi()[Wn][Ot];if(!c.projection){const T=c.projection=ze(o?o.length:1,null),H=T.slice();let G=c.child;for(;null!==G;){const le=o?_p(G,o):0;null!==le&&(H[le]?H[le].projectionNext=G:T[le]=G,H[le]=G),G=G.next}}}function g4(o,c=0,p){const T=Mi(),H=Tn(),G=ea(H,Di+o,16,null,p||null);null===G.projection&&(G.projection=c),Ko(),32!=(32&G.flags)&&function g2(o,c,p){ad(c[Qi],0,c,p,sh(o,p,c),_r(p.parent||c[Ot],p,c))}(H,T,G)}function Pf(o,c,p){return L0(o,"",c,"",p),Pf}function L0(o,c,p,T,H){const G=Mi(),le=m1(G,c,p,T);return le!==Rn&&Go(Tn(),pa(),G,o,le,G[Qi],H,!1),L0}function D0(o,c,p,T,H,G,le){const Pe=Mi(),Ge=p1(Pe,c,p,T,H,G);return Ge!==Rn&&Go(Tn(),pa(),Pe,o,Ge,Pe[Qi],le,!1),D0}function I0(o,c){return o<<17|c<<2}function qc(o){return o>>17&32767}function bs(o){return 2|o}function ts(o){return(131068&o)>>2}function xn(o,c){return-131069&o|c<<2}function Jc(o){return 1|o}function zf(o,c,p,T,H){const G=o[p+1],le=null===c;let Pe=T?qc(G):ts(G),Ge=!1;for(;0!==Pe&&(!1===Ge||le);){const Pt=o[Pe+1];uu(o[Pe],c)&&(Ge=!0,o[Pe+1]=T?Jc(Pt):bs(Pt)),Pe=T?qc(Pt):ts(Pt)}Ge&&(o[p+1]=T?bs(G):Jc(G))}function uu(o,c){return null===o||null==c||(Array.isArray(o)?o[1]:o)===c||!(!Array.isArray(o)||"string"!=typeof c)&&on(o,c)>=0}const Kr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function O0(o){return o.substring(Kr.key,Kr.keyEnd)}function P0(o,c){const p=Kr.textEnd;return p===c?-1:(c=Kr.keyEnd=function Vf(o,c,p){for(;c<p&&o.charCodeAt(c)>32;)c++;return c}(o,Kr.key=c,p),Xc(o,c,p))}function Xc(o,c,p){for(;c<p&&o.charCodeAt(c)<=32;)c++;return c}function is(o,c,p){return Zo(o,c,p,!1),is}function Bd(o,c){return Zo(o,c,null,!0),Bd}function y1(o){xs(Qf,Ca,o,!0)}function Ca(o,c){for(let p=function fu(o){return function ys(o){Kr.key=0,Kr.keyEnd=0,Kr.value=0,Kr.valueEnd=0,Kr.textEnd=o.length}(o),P0(o,Xc(o,0,Kr.textEnd))}(c);p>=0;p=P0(c,p))Ei(o,O0(c),!0)}function Zo(o,c,p,T){const H=Mi(),G=Tn(),le=Ni(2);G.firstUpdatePass&&Gf(G,o,le,T),c!==Rn&&Po(H,le,c)&&bu(G,G.data[Da()],H,H[Qi],o,H[le+1]=function vp(o,c){return null==o||""===o||("string"==typeof c?o+=c:"object"==typeof o&&(o=P(so(o)))),o}(c,p),T,le)}function xs(o,c,p,T){const H=Tn(),G=Ni(2);H.firstUpdatePass&&Gf(H,null,G,T);const le=Mi();if(p!==Rn&&Po(le,G,p)){const Pe=H.data[Da()];if(v4(Pe,T)&&!Tl(H,G)){let Ge=T?Pe.classesWithoutHost:Pe.stylesWithoutHost;null!==Ge&&(p=d(Ge,p||"")),Af(H,Pe,le,p,T)}else!function vu(o,c,p,T,H,G,le,Pe){H===Rn&&(H=ut);let Ge=0,bt=0,Pt=0<H.length?H[0]:null,ti=0<G.length?G[0]:null;for(;null!==Pt||null!==ti;){const hi=Ge<H.length?H[Ge+1]:void 0,vi=bt<G.length?G[bt+1]:void 0;let Ji,Pi=null;Pt===ti?(Ge+=2,bt+=2,hi!==vi&&(Pi=ti,Ji=vi)):null===ti||null!==Pt&&Pt<ti?(Ge+=2,Pi=Pt):(bt+=2,Pi=ti,Ji=vi),null!==Pi&&bu(o,c,p,T,Pi,Ji,le,Pe),Pt=Ge<H.length?H[Ge]:null,ti=bt<G.length?G[bt]:null}}(H,Pe,le,le[Qi],le[G+1],le[G+1]=function jf(o,c,p){if(null==p||""===p)return ut;const T=[],H=so(p);if(Array.isArray(H))for(let G=0;G<H.length;G++)o(T,H[G],!0);else if("object"==typeof H)for(const G in H)H.hasOwnProperty(G)&&o(T,G,H[G]);else"string"==typeof H&&c(T,H);return T}(o,c,p),T,G)}}function Tl(o,c){return c>=o.expandoStartIndex}function Gf(o,c,p,T){const H=o.data;if(null===H[p+1]){const G=H[Da()],le=Tl(o,p);v4(G,T)&&null===c&&!le&&(c=!1),c=function Zf(o,c,p,T){const H=Eo(o);let G=T?c.residualClasses:c.residualStyles;if(null===H)0===(T?c.classBindings:c.styleBindings)&&(p=C1(p=_u(null,o,c,p,T),c.attrs,T),G=null);else{const le=c.directiveStylingLast;if(-1===le||o[le]!==H)if(p=_u(H,o,c,p,T),null===G){let Ge=function x1(o,c,p){const T=p?c.classBindings:c.styleBindings;if(0!==ts(T))return o[qc(T)]}(o,c,T);void 0!==Ge&&Array.isArray(Ge)&&(Ge=_u(null,o,c,Ge[1],T),Ge=C1(Ge,c.attrs,T),function Wf(o,c,p,T){o[qc(p?c.classBindings:c.styleBindings)]=T}(o,c,T,Ge))}else G=function Yf(o,c,p){let T;const H=c.directiveEnd;for(let G=1+c.directiveStylingLast;G<H;G++)T=C1(T,o[G].hostAttrs,p);return C1(T,c.attrs,p)}(o,c,T)}return void 0!==G&&(T?c.residualClasses=G:c.residualStyles=G),p}(H,G,c,T),function Hf(o,c,p,T,H,G){let le=G?c.classBindings:c.styleBindings,Pe=qc(le),Ge=ts(le);o[T]=p;let Pt,bt=!1;if(Array.isArray(p)?(Pt=p[1],(null===Pt||on(p,Pt)>0)&&(bt=!0)):Pt=p,H)if(0!==Ge){const hi=qc(o[Pe+1]);o[T+1]=I0(hi,Pe),0!==hi&&(o[hi+1]=xn(o[hi+1],T)),o[Pe+1]=function k0(o,c){return 131071&o|c<<17}(o[Pe+1],T)}else o[T+1]=I0(Pe,0),0!==Pe&&(o[Pe+1]=xn(o[Pe+1],T)),Pe=T;else o[T+1]=I0(Ge,0),0===Pe?Pe=T:o[Ge+1]=xn(o[Ge+1],T),Ge=T;bt&&(o[T+1]=bs(o[T+1])),zf(o,Pt,T,!0),zf(o,Pt,T,!1),function hu(o,c,p,T,H){const G=H?o.residualClasses:o.residualStyles;null!=G&&"string"==typeof c&&on(G,c)>=0&&(p[T+1]=Jc(p[T+1]))}(c,Pt,o,T,G),le=I0(Pe,Ge),G?c.classBindings=le:c.styleBindings=le}(H,G,c,p,le,T)}}function _u(o,c,p,T,H){let G=null;const le=p.directiveEnd;let Pe=p.directiveStylingLast;for(-1===Pe?Pe=p.directiveStart:Pe++;Pe<le&&(G=c[Pe],T=C1(T,G.hostAttrs,H),G!==o);)Pe++;return null!==o&&(p.directiveStylingLast=Pe),T}function C1(o,c,p){const T=p?1:2;let H=-1;if(null!==c)for(let G=0;G<c.length;G++){const le=c[G];"number"==typeof le?H=le:H===T&&(Array.isArray(o)||(o=void 0===o?[]:["",o]),Ei(o,le,!!p||c[++G]))}return void 0===o?null:o}function Qf(o,c,p){const T=String(c);""!==T&&!T.includes(" ")&&Ei(o,T,p)}function bu(o,c,p,T,H,G,le,Pe){if(!(3&c.type))return;const Ge=o.data,bt=Ge[Pe+1],Pt=function Ff(o){return 1==(1&o)}(bt)?N0(Ge,c,p,H,ts(bt),le):void 0;F0(Pt)||(F0(G)||function lu(o){return 2==(2&o)}(bt)&&(G=N0(Ge,null,p,H,Pe,le)),function lh(o,c,p,T,H){if(c)H?o.addClass(p,T):o.removeClass(p,T);else{let G=-1===T.indexOf("-")?void 0:Io.DashCase;null==H?o.removeStyle(p,T,G):("string"==typeof H&&H.endsWith("!important")&&(H=H.slice(0,-10),G|=Io.Important),o.setStyle(p,T,H,G))}}(T,le,Lr(Da(),p),H,G))}function N0(o,c,p,T,H,G){const le=null===c;let Pe;for(;H>0;){const Ge=o[H],bt=Array.isArray(Ge),Pt=bt?Ge[1]:Ge,ti=null===Pt;let hi=p[H+1];hi===Rn&&(hi=ti?ut:void 0);let vi=ti?en(hi,T):Pt===T?hi:void 0;if(bt&&!F0(vi)&&(vi=en(Ge,T)),F0(vi)&&(Pe=vi,le))return Pe;const Pi=o[H+1];H=le?qc(Pi):ts(Pi)}if(null!==c){let Ge=G?c.residualClasses:c.residualStyles;null!=Ge&&(Pe=en(Ge,T))}return Pe}function F0(o){return void 0!==o}function v4(o,c){return 0!=(o.flags&(c?8:16))}function qf(o,c=""){const p=Mi(),T=Tn(),H=o+Di,G=T.firstCreatePass?ea(T,H,1,c,null):T.data[H],le=p[H]=function jl(o,c){return o.createText(c)}(p[Qi],c);ic(T,p,le,G),pr(G,!1)}function Wo(o){return w1("",o,""),Wo}function w1(o,c,p){const T=Mi(),H=m1(T,o,c,p);return H!==Rn&&Sc(T,Da(),H),w1}function H0(o,c,p,T,H){const G=Mi(),le=p1(G,o,c,p,T,H);return le!==Rn&&Sc(G,Da(),le),H0}function Ud(o,c,p,T,H,G,le){const Pe=Mi(),Ge=function Hd(o,c,p,T,H,G,le,Pe){const bt=E0(o,Oi(),p,H,le);return Ni(3),bt?c+q(p)+T+q(H)+G+q(le)+Pe:Rn}(Pe,o,c,p,T,H,G,le);return Ge!==Rn&&Sc(Pe,Da(),Ge),Ud}function Jf(o,c,p,T,H,G,le,Pe,Ge){const bt=Mi(),Pt=zd(bt,o,c,p,T,H,G,le,Pe,Ge);return Pt!==Rn&&Sc(bt,Da(),Pt),Jf}function x4(o,c,p){xs(Ei,Ca,m1(Mi(),o,c,p),!0)}function a3(o,c,p){const T=Mi();return Po(T,_o(),c)&&Go(Tn(),pa(),T,o,c,T[Qi],p,!0),a3}function Cu(o,c,p){const T=Mi();if(Po(T,_o(),c)){const G=Tn(),le=pa();Go(G,le,T,o,c,Z3(Eo(G.data),le,T),p,!0)}return Cu}const Al=void 0;var Ep=["en",[["a","p"],["AM","PM"],Al],[["AM","PM"],Al,Al],[["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"]],Al,[["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"]],Al,[["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}",Al,"{1} 'at' {0}",Al],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function R4(o){const p=Math.floor(Math.abs(o)),T=o.toString().replace(/^[^.]*\.?/,"").length;return 1===p&&0===T?1:5}];let M1={};function r3(o){const c=function F4(o){return o.toLowerCase().replace(/_/g,"-")}(o);let p=wu(c);if(p)return p;const T=c.split("-")[0];if(p=wu(T),p)return p;if("en"===T)return Ep;throw new W(701,!1)}function N4(o){return r3(o)[Ln.PluralCase]}function wu(o){return o in M1||(M1[o]=lt.ng&&lt.ng.common&&lt.ng.common.locales&&lt.ng.common.locales[o]),M1[o]}var Ln=(()=>((Ln=Ln||{})[Ln.LocaleId=0]="LocaleId",Ln[Ln.DayPeriodsFormat=1]="DayPeriodsFormat",Ln[Ln.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ln[Ln.DaysFormat=3]="DaysFormat",Ln[Ln.DaysStandalone=4]="DaysStandalone",Ln[Ln.MonthsFormat=5]="MonthsFormat",Ln[Ln.MonthsStandalone=6]="MonthsStandalone",Ln[Ln.Eras=7]="Eras",Ln[Ln.FirstDayOfWeek=8]="FirstDayOfWeek",Ln[Ln.WeekendRange=9]="WeekendRange",Ln[Ln.DateFormat=10]="DateFormat",Ln[Ln.TimeFormat=11]="TimeFormat",Ln[Ln.DateTimeFormat=12]="DateTimeFormat",Ln[Ln.NumberSymbols=13]="NumberSymbols",Ln[Ln.NumberFormats=14]="NumberFormats",Ln[Ln.CurrencyCode=15]="CurrencyCode",Ln[Ln.CurrencySymbol=16]="CurrencySymbol",Ln[Ln.CurrencyName=17]="CurrencyName",Ln[Ln.Currencies=18]="Currencies",Ln[Ln.Directionality=19]="Directionality",Ln[Ln.PluralCase=20]="PluralCase",Ln[Ln.ExtraData=21]="ExtraData",Ln))();const Gd="en-US";let z4=Gd;function d3(o,c,p,T,H){if(o=I(o),Array.isArray(o))for(let G=0;G<o.length;G++)d3(o[G],c,p,T,H);else{const G=Tn(),le=Mi();let Pe=Rs(o)?o:I(o.provide),Ge=bd(o);const bt=Va(),Pt=1048575&bt.providerIndexes,ti=bt.directiveStart,hi=bt.providerIndexes>>20;if(Rs(o)||!o.multi){const vi=new tt(Ge,H,_s),Pi=q4(Pe,c,H?Pt:Pt+hi,ti);-1===Pi?(Lc(Ac(bt,le),G,Pe),Q4(G,o,c.length),c.push(Pe),bt.directiveStart++,bt.directiveEnd++,H&&(bt.providerIndexes+=1048576),p.push(vi),le.push(vi)):(p[Pi]=vi,le[Pi]=vi)}else{const vi=q4(Pe,c,Pt+hi,ti),Pi=q4(Pe,c,Pt,Pt+hi),sn=Pi>=0&&p[Pi];if(H&&!sn||!H&&!(vi>=0&&p[vi])){Lc(Ac(bt,le),G,Pe);const gn=function Hp(o,c,p,T,H){const G=new tt(o,p,_s);return G.multi=[],G.index=c,G.componentProviders=0,h3(G,H,T&&!p),G}(H?Sg:Mg,p.length,H,T,Ge);!H&&sn&&(p[Pi].providerFactory=gn),Q4(G,o,c.length,0),c.push(Pe),bt.directiveStart++,bt.directiveEnd++,H&&(bt.providerIndexes+=1048576),p.push(gn),le.push(gn)}else Q4(G,o,vi>-1?vi:Pi,h3(p[H?Pi:vi],Ge,!H&&T));!H&&T&&sn&&p[Pi].componentProviders++}}}function Q4(o,c,p,T){const H=Rs(c),G=function Y2(o){return!!o.useClass}(c);if(H||G){const Ge=(G?I(c.useClass):c).prototype.ngOnDestroy;if(Ge){const bt=o.destroyHooks||(o.destroyHooks=[]);if(!H&&c.multi){const Pt=bt.indexOf(p);-1===Pt?bt.push(p,[T,Ge]):bt[Pt+1].push(T,Ge)}else bt.push(p,Ge)}}}function h3(o,c,p){return p&&o.componentProviders++,o.multi.push(c)-1}function q4(o,c,p,T){for(let H=p;H<T;H++)if(c[H]===o)return H;return-1}function Mg(o,c,p,T){return J4(this.multi,[])}function Sg(o,c,p,T){const H=this.multi;let G;if(this.providerFactory){const le=this.providerFactory.componentProviders,Pe=tr(p,p[Qt],this.providerFactory.index,T);G=Pe.slice(0,le),J4(H,G);for(let Ge=le;Ge<Pe.length;Ge++)G.push(Pe[Ge])}else G=[],J4(H,G);return G}function J4(o,c){for(let p=0;p<o.length;p++)c.push((0,o[p])());return c}function zp(o,c=[]){return p=>{p.providersResolver=(T,H)=>function wg(o,c,p){const T=Tn();if(T.firstCreatePass){const H=Qn(o);d3(p,T.data,T.blueprint,H,!0),d3(c,T.data,T.blueprint,H,!1)}}(T,H?H(o):o,c)}}class W0{}class Vp{}function Eg(o,c){return new Bp(o,c??null)}class Bp extends W0{constructor(c,p){super(),this._parent=p,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new gf(this);const T=ki(c);this._bootstrapComponents=Fs(T.bootstrap),this._r3Injector=Od(c,p,[{provide:W0,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver}],P(c),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(c)}get injector(){return this._r3Injector}destroy(){const c=this._r3Injector;!c.destroyed&&c.destroy(),this.destroyCbs.forEach(p=>p()),this.destroyCbs=null}onDestroy(c){this.destroyCbs.push(c)}}class X4 extends Vp{constructor(c){super(),this.moduleType=c}create(c){return new Bp(this.moduleType,c)}}class Tg extends W0{constructor(c,p,T){super(),this.componentFactoryResolver=new gf(this),this.instance=null;const H=new _d([...c,{provide:W0,useValue:this},{provide:Xo,useValue:this.componentFactoryResolver}],p||Ml(),T,new Set(["environment"]));this.injector=H,H.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(c){this.injector.onDestroy(c)}}function $4(o,c,p=null){return new Tg(o,c,p).injector}let Ag=(()=>{class o{constructor(p){this._injector=p,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(p){if(!p.standalone)return null;if(!this.cachedInjectors.has(p.id)){const T=Gc(0,p.type),H=T.length>0?$4([T],this._injector,`Standalone[${p.type.name}]`):null;this.cachedInjectors.set(p.id,H)}return this.cachedInjectors.get(p.id)}ngOnDestroy(){try{for(const p of this.cachedInjectors.values())null!==p&&p.destroy()}finally{this.cachedInjectors.clear()}}}return o.\u0275prov=Ve({token:o,providedIn:"environment",factory:()=>new o(xt(Cc))}),o})();function Up(o){o.getStandaloneInjector=c=>c.get(Ag).getOrCreateStandaloneInjector(o)}function qp(o,c,p){const T=Dn()+o,H=Mi();return H[T]===Rn?rc(H,T,p?c.call(p):c()):function S0(o,c){return o[c]}(H,T)}function nm(o,c,p,T){return e6(Mi(),Dn(),o,c,p,T)}function Jp(o,c,p,T,H){return t6(Mi(),Dn(),o,c,p,T,H)}function am(o,c,p,T,H,G){return i6(Mi(),Dn(),o,c,p,T,H,G)}function Tu(o,c){const p=o[c];return p===Rn?void 0:p}function e6(o,c,p,T,H,G){const le=c+p;return Po(o,le,H)?rc(o,le+1,G?T.call(G,H):T(H)):Tu(o,le+1)}function t6(o,c,p,T,H,G,le){const Pe=c+p;return u1(o,Pe,H,G)?rc(o,Pe+2,le?T.call(le,H,G):T(H,G)):Tu(o,Pe+2)}function i6(o,c,p,T,H,G,le,Pe){const Ge=c+p;return E0(o,Ge,H,G,le)?rc(o,Ge+3,Pe?T.call(Pe,H,G,le):T(H,G,le)):Tu(o,Ge+3)}function r6(o,c){const p=Tn();let T;const H=o+Di;p.firstCreatePass?(T=function rm(o,c){if(c)for(let p=c.length-1;p>=0;p--){const T=c[p];if(o===T.name)return T}}(c,p.pipeRegistry),p.data[H]=T,T.onDestroy&&(p.destroyHooks??(p.destroyHooks=[])).push(H,T.onDestroy)):T=p.data[H];const G=T.factory||(T.factory=ja(T.type)),le=de(_s);try{const Pe=xr(!1),Ge=G();return xr(Pe),function c4(o,c,p,T){p>=o.data.length&&(o.data[p]=null,o.blueprint[p]=null),c[p]=T}(p,Mi(),H,Ge),Ge}finally{de(le)}}function o6(o,c,p){const T=o+Di,H=Mi(),G=fi(H,T);return Au(H,T)?e6(H,Dn(),c,G.transform,p,G):G.transform(p)}function s6(o,c,p,T){const H=o+Di,G=Mi(),le=fi(G,H);return Au(G,H)?t6(G,Dn(),c,le.transform,p,T,le):le.transform(p,T)}function om(o,c,p,T,H){const G=o+Di,le=Mi(),Pe=fi(le,G);return Au(le,G)?i6(le,Dn(),c,Pe.transform,p,T,H,Pe):Pe.transform(p,T,H)}function Au(o,c){return o[Qt].data[c].pure}function sm(o){return c=>{setTimeout(o,void 0,c)}}const Ec=class zg extends t.x{constructor(c=!1){super(),this.__isAsync=c}emit(c){super.next(c)}subscribe(c,p,T){let H=c,G=p||(()=>null),le=T;if(c&&"object"==typeof c){const Ge=c;H=Ge.next?.bind(Ge),G=Ge.error?.bind(Ge),le=Ge.complete?.bind(Ge)}this.__isAsync&&(G=sm(G),H&&(H=sm(H)),le&&(le=sm(le)));const Pe=super.subscribe({next:H,error:G,complete:le});return c instanceof e.w0&&c.add(Pe),Pe}};function Vg(){return this._results[Symbol.iterator]()}class u3{get changes(){return this._changes||(this._changes=new Ec)}constructor(c=!1){this._emitDistinctChangesOnly=c,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const p=u3.prototype;p[Symbol.iterator]||(p[Symbol.iterator]=Vg)}get(c){return this._results[c]}map(c){return this._results.map(c)}filter(c){return this._results.filter(c)}find(c){return this._results.find(c)}reduce(c,p){return this._results.reduce(c,p)}forEach(c){this._results.forEach(c)}some(c){return this._results.some(c)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(c,p){const T=this;T.dirty=!1;const H=function vo(o){return o.flat(Number.POSITIVE_INFINITY)}(c);(this._changesDetected=!function R1(o,c,p){if(o.length!==c.length)return!1;for(let T=0;T<o.length;T++){let H=o[T],G=c[T];if(p&&(H=p(H),G=p(G)),G!==H)return!1}return!0}(T._results,H,p))&&(T._results=H,T.length=H.length,T.last=H[this.length-1],T.first=H[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Lu=(()=>{class o{}return o.__NG_ELEMENT_ID__=Gg,o})();const Bg=Lu,Ug=class extends Bg{constructor(c,p,T){super(),this._declarationLView=c,this._declarationTContainer=p,this.elementRef=T}createEmbeddedView(c,p){const T=this._declarationTContainer.tView,H=Mn(this._declarationLView,T,c,16,null,T.declTNode,null,null,null,null,p||null);H[Ua]=this._declarationLView[this._declarationTContainer.index];const le=this._declarationLView[Jt];return null!==le&&(H[Jt]=le.createEmbeddedView(T)),bo(T,H,c),new Nd(H)}};function Gg(){return f3(Va(),Mi())}function f3(o,c){return 4&o.type?new Ug(c,o,Or(o,c)):null}let Du=(()=>{class o{}return o.__NG_ELEMENT_ID__=Zg,o})();function Zg(){return lm(Va(),Mi())}const Wg=Du,cm=class extends Wg{constructor(c,p,T){super(),this._lContainer=c,this._hostTNode=p,this._hostLView=T}get element(){return Or(this._hostTNode,this._hostLView)}get injector(){return new ro(this._hostTNode,this._hostLView)}get parentInjector(){const c=As(this._hostTNode,this._hostLView);if(la(c)){const p=Ia(c,this._hostLView),T=da(c);return new ro(p[Qt].data[T+8],p)}return new ro(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(c){const p=l6(this._lContainer);return null!==p&&p[c]||null}get length(){return this._lContainer.length-Hn}createEmbeddedView(c,p,T){let H,G;"number"==typeof T?H=T:null!=T&&(H=T.index,G=T.injector);const le=c.createEmbeddedView(p||{},G);return this.insert(le,H),le}createComponent(c,p,T,H,G){const le=c&&!function qs(o){return"function"==typeof o}(c);let Pe;if(le)Pe=p;else{const ti=p||{};Pe=ti.index,T=ti.injector,H=ti.projectableNodes,G=ti.environmentInjector||ti.ngModuleRef}const Ge=le?c:new M0(Tt(c)),bt=T||this.parentInjector;if(!G&&null==Ge.ngModule){const hi=(le?bt:this.parentInjector).get(Cc,null);hi&&(G=hi)}const Pt=Ge.create(bt,H,void 0,G);return this.insert(Pt.hostView,Pe),Pt}insert(c,p){const T=c._lView,H=T[Qt];if(function nn(o){return ta(o[ht])}(T)){const Pt=this.indexOf(c);if(-1!==Pt)this.detach(Pt);else{const ti=T[ht],hi=new cm(ti,ti[Ot],ti[ht]);hi.detach(hi.indexOf(c))}}const G=this._adjustIndex(p),le=this._lContainer;!function Wu(o,c,p,T){const H=Hn+T,G=p.length;T>0&&(p[H-1][Lt]=c),T<G-Hn?(c[Lt]=p[H],Ce(p,Hn+T,c)):(p.push(c),c[Lt]=null),c[ht]=p;const le=c[Ua];null!==le&&p!==le&&function l2(o,c){const p=o[En];c[Wn]!==c[ht][ht][Wn]&&(o[Gn]=!0),null===p?o[En]=[c]:p.push(c)}(le,c);const Pe=c[Jt];null!==Pe&&Pe.insertView(o),c[_e]|=64}(H,T,le,G);const Pe=Ql(G,le),Ge=T[Qi],bt=Kl(Ge,le[Fn]);return null!==bt&&function Uu(o,c,p,T,H,G){T[Zt]=H,T[Ot]=c,gl(o,T,p,1,H,G)}(H,le[Ot],Ge,T,bt,Pe),c.attachToViewContainerRef(),Ce(m3(le),G,c),c}move(c,p){return this.insert(c,p)}indexOf(c){const p=l6(this._lContainer);return null!==p?p.indexOf(c):-1}remove(c){const p=this._adjustIndex(c,-1),T=d2(this._lContainer,p);T&&(ae(m3(this._lContainer),p),ec(T[Qt],T))}detach(c){const p=this._adjustIndex(c,-1),T=d2(this._lContainer,p);return T&&null!=ae(m3(this._lContainer),p)?new Nd(T):null}_adjustIndex(c,p=0){return c??this.length+p}};function l6(o){return o[ba]}function m3(o){return o[ba]||(o[ba]=[])}function lm(o,c){let p;const T=c[o.index];if(ta(T))p=T;else{let H;if(8&o.type)H=Yn(T);else{const G=c[Qi];H=G.createComment("");const le=ua(o,c);bc(G,Kl(G,le),H,function u2(o,c){return o.nextSibling(c)}(G,le),!1)}c[o.index]=p=uf(T,c,H,o),y0(c,p)}return new cm(p,o,c)}class dm{constructor(c){this.queryList=c,this.matches=null}clone(){return new dm(this.queryList)}setDirty(){this.queryList.setDirty()}}class p3{constructor(c=[]){this.queries=c}createEmbeddedView(c){const p=c.queries;if(null!==p){const T=null!==c.contentQueries?c.contentQueries[0]:p.length,H=[];for(let G=0;G<T;G++){const le=p.getByIndex(G);H.push(this.queries[le.indexInDeclarationView].clone())}return new p3(H)}return null}insertView(c){this.dirtyQueriesWithMatches(c)}detachView(c){this.dirtyQueriesWithMatches(c)}dirtyQueriesWithMatches(c){for(let p=0;p<this.queries.length;p++)null!==b6(c,p).matches&&this.queries[p].setDirty()}}class d6{constructor(c,p,T=null){this.predicate=c,this.flags=p,this.read=T}}class hm{constructor(c=[]){this.queries=c}elementStart(c,p){for(let T=0;T<this.queries.length;T++)this.queries[T].elementStart(c,p)}elementEnd(c){for(let p=0;p<this.queries.length;p++)this.queries[p].elementEnd(c)}embeddedTView(c){let p=null;for(let T=0;T<this.length;T++){const H=null!==p?p.length:0,G=this.getByIndex(T).embeddedTView(c,H);G&&(G.indexInDeclarationView=T,null!==p?p.push(G):p=[G])}return null!==p?new hm(p):null}template(c,p){for(let T=0;T<this.queries.length;T++)this.queries[T].template(c,p)}getByIndex(c){return this.queries[c]}get length(){return this.queries.length}track(c){this.queries.push(c)}}class um{constructor(c,p=-1){this.metadata=c,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=p}elementStart(c,p){this.isApplyingToNode(p)&&this.matchTNode(c,p)}elementEnd(c){this._declarationNodeIndex===c.index&&(this._appliesToNextNode=!1)}template(c,p){this.elementStart(c,p)}embeddedTView(c,p){return this.isApplyingToNode(c)?(this.crossesNgTemplate=!0,this.addMatch(-c.index,p),new um(this.metadata)):null}isApplyingToNode(c){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const p=this._declarationNodeIndex;let T=c.parent;for(;null!==T&&8&T.type&&T.index!==p;)T=T.parent;return p===(null!==T?T.index:-1)}return this._appliesToNextNode}matchTNode(c,p){const T=this.metadata.predicate;if(Array.isArray(T))for(let H=0;H<T.length;H++){const G=T[H];this.matchTNodeWithReadOption(c,p,Yg(p,G)),this.matchTNodeWithReadOption(c,p,js(p,c,G,!1,!1))}else T===Lu?4&p.type&&this.matchTNodeWithReadOption(c,p,-1):this.matchTNodeWithReadOption(c,p,js(p,c,T,!1,!1))}matchTNodeWithReadOption(c,p,T){if(null!==T){const H=this.metadata.read;if(null!==H)if(H===Wc||H===Du||H===Lu&&4&p.type)this.addMatch(p.index,-2);else{const G=js(p,c,H,!1,!1);null!==G&&this.addMatch(p.index,G)}else this.addMatch(p.index,T)}}addMatch(c,p){null===this.matches?this.matches=[c,p]:this.matches.push(c,p)}}function Yg(o,c){const p=o.localNames;if(null!==p)for(let T=0;T<p.length;T+=2)if(p[T]===c)return p[T+1];return null}function fm(o,c,p,T){return-1===p?function jg(o,c){return 11&o.type?Or(o,c):4&o.type?f3(o,c):null}(c,o):-2===p?function Kg(o,c,p){return p===Wc?Or(c,o):p===Lu?f3(c,o):p===Du?lm(c,o):void 0}(o,c,T):tr(o,o[Qt],p,c)}function h6(o,c,p,T){const H=c[Jt].queries[T];if(null===H.matches){const G=o.data,le=p.matches,Pe=[];for(let Ge=0;Ge<le.length;Ge+=2){const bt=le[Ge];Pe.push(bt<0?null:fm(c,G[bt],le[Ge+1],p.metadata.read))}H.matches=Pe}return H.matches}function g3(o,c,p,T){const H=o.queries.getByIndex(p),G=H.matches;if(null!==G){const le=h6(o,c,H,p);for(let Pe=0;Pe<G.length;Pe+=2){const Ge=G[Pe];if(Ge>0)T.push(le[Pe/2]);else{const bt=G[Pe+1],Pt=c[-Ge];for(let ti=Hn;ti<Pt.length;ti++){const hi=Pt[ti];hi[Ua]===hi[ht]&&g3(hi[Qt],hi,bt,T)}if(null!==Pt[En]){const ti=Pt[En];for(let hi=0;hi<ti.length;hi++){const vi=ti[hi];g3(vi[Qt],vi,bt,T)}}}}}return T}function u6(o){const c=Mi(),p=Tn(),T=To();ss(T+1);const H=b6(p,T);if(o.dirty&&function oi(o){return 4==(4&o[_e])}(c)===(2==(2&H.metadata.flags))){if(null===H.matches)o.reset([]);else{const G=H.crossesNgTemplate?g3(p,c,T,[]):h6(p,c,H,T);o.reset(G,Sl),o.notifyOnChanges()}return!0}return!1}function f6(o,c,p){const T=Tn();T.firstCreatePass&&(v6(T,new d6(o,c,p),-1),2==(2&c)&&(T.staticViewQueries=!0)),_6(T,Mi(),c)}function m6(o,c,p,T){const H=Tn();if(H.firstCreatePass){const G=Va();v6(H,new d6(c,p,T),G.index),function Qg(o,c){const p=o.contentQueries||(o.contentQueries=[]);c!==(p.length?p[p.length-1]:-1)&&p.push(o.queries.length-1,c)}(H,o),2==(2&p)&&(H.staticContentQueries=!0)}_6(H,Mi(),p)}function p6(){return function g6(o,c){return o[Jt].queries[c].queryList}(Mi(),To())}function _6(o,c,p){const T=new u3(4==(4&p));I3(o,c,T,T.destroy),null===c[Jt]&&(c[Jt]=new p3),c[Jt].queries.push(new dm(T))}function v6(o,c,p){null===o.queries&&(o.queries=new hm),o.queries.track(new um(c,p))}function b6(o,c){return o.queries.getByIndex(c)}function y6(o,c){return f3(o,c)}function pm(o){return!!ki(o)}function y3(...o){}const N6=new La("Application Initializer");let ku=(()=>{class o{constructor(p){this.appInits=p,this.resolve=y3,this.reject=y3,this.initialized=!1,this.done=!1,this.donePromise=new Promise((T,H)=>{this.resolve=T,this.reject=H})}runInitializers(){if(this.initialized)return;const p=[],T=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let H=0;H<this.appInits.length;H++){const G=this.appInits[H]();if(If(G))p.push(G);else if(u4(G)){const le=new Promise((Pe,Ge)=>{G.subscribe({complete:Pe,error:Ge})});p.push(le)}}Promise.all(p).then(()=>{T()}).catch(H=>{this.reject(H)}),0===p.length&&T(),this.initialized=!0}}return o.\u0275fac=function(p){return new(p||o)(xt(N6,8))},o.\u0275prov=Ve({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const F6=new La("AppId",{providedIn:"root",factory:function H6(){return`${Sm()}${Sm()}${Sm()}`}});function Sm(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const z6=new La("Platform Initializer"),V6=new La("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),u8=new La("AnimationModuleType");let B6=(()=>{class o{log(p){console.log(p)}warn(p){console.warn(p)}}return o.\u0275fac=function(p){return new(p||o)},o.\u0275prov=Ve({token:o,factory:o.\u0275fac,providedIn:"platform"}),o})();const Ou=new La("LocaleId",{providedIn:"root",factory:()=>Ut(Ou,xe.Optional|xe.SkipSelf)||function f8(){return typeof $localize<"u"&&$localize.locale||Gd}()}),m8=new La("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class g8{constructor(c,p){this.ngModuleFactory=c,this.componentFactories=p}}let _8=(()=>{class o{compileModuleSync(p){return new X4(p)}compileModuleAsync(p){return Promise.resolve(this.compileModuleSync(p))}compileModuleAndAllComponentsSync(p){const T=this.compileModuleSync(p),G=Fs(ki(p).declarations).reduce((le,Pe)=>{const Ge=Tt(Pe);return Ge&&le.push(new M0(Ge)),le},[]);return new g8(T,G)}compileModuleAndAllComponentsAsync(p){return Promise.resolve(this.compileModuleAndAllComponentsSync(p))}clearCache(){}clearCacheFor(p){}getModuleId(p){}}return o.\u0275fac=function(p){return new(p||o)},o.\u0275prov=Ve({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const y8=(()=>Promise.resolve(0))();function Tm(o){typeof Zone>"u"?y8.then(()=>{o&&o.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",o)}class sc{constructor({enableLongStackTrace:c=!1,shouldCoalesceEventChangeDetection:p=!1,shouldCoalesceRunChangeDetection:T=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ec(!1),this.onMicrotaskEmpty=new Ec(!1),this.onStable=new Ec(!1),this.onError=new Ec(!1),typeof Zone>"u")throw new W(908,!1);Zone.assertZonePatched();const H=this;H._nesting=0,H._outer=H._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(H._inner=H._inner.fork(new Zone.TaskTrackingZoneSpec)),c&&Zone.longStackTraceZoneSpec&&(H._inner=H._inner.fork(Zone.longStackTraceZoneSpec)),H.shouldCoalesceEventChangeDetection=!T&&p,H.shouldCoalesceRunChangeDetection=T,H.lastRequestAnimationFrameId=-1,H.nativeRequestAnimationFrame=function x8(){let o=lt.requestAnimationFrame,c=lt.cancelAnimationFrame;if(typeof Zone<"u"&&o&&c){const p=o[Zone.__symbol__("OriginalDelegate")];p&&(o=p);const T=c[Zone.__symbol__("OriginalDelegate")];T&&(c=T)}return{nativeRequestAnimationFrame:o,nativeCancelAnimationFrame:c}}().nativeRequestAnimationFrame,function M8(o){const c=()=>{!function G6(o){o.isCheckStableRunning||-1!==o.lastRequestAnimationFrameId||(o.lastRequestAnimationFrameId=o.nativeRequestAnimationFrame.call(lt,()=>{o.fakeTopEventTask||(o.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{o.lastRequestAnimationFrameId=-1,Lm(o),o.isCheckStableRunning=!0,Am(o),o.isCheckStableRunning=!1},void 0,()=>{},()=>{})),o.fakeTopEventTask.invoke()}),Lm(o))}(o)};o._inner=o._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(p,T,H,G,le,Pe)=>{try{return Z6(o),p.invokeTask(H,G,le,Pe)}finally{(o.shouldCoalesceEventChangeDetection&&"eventTask"===G.type||o.shouldCoalesceRunChangeDetection)&&c(),W6(o)}},onInvoke:(p,T,H,G,le,Pe,Ge)=>{try{return Z6(o),p.invoke(H,G,le,Pe,Ge)}finally{o.shouldCoalesceRunChangeDetection&&c(),W6(o)}},onHasTask:(p,T,H,G)=>{p.hasTask(H,G),T===H&&("microTask"==G.change?(o._hasPendingMicrotasks=G.microTask,Lm(o),Am(o)):"macroTask"==G.change&&(o.hasPendingMacrotasks=G.macroTask))},onHandleError:(p,T,H,G)=>(p.handleError(H,G),o.runOutsideAngular(()=>o.onError.emit(G)),!1)})}(H)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!sc.isInAngularZone())throw new W(909,!1)}static assertNotInAngularZone(){if(sc.isInAngularZone())throw new W(909,!1)}run(c,p,T){return this._inner.run(c,p,T)}runTask(c,p,T,H){const G=this._inner,le=G.scheduleEventTask("NgZoneEvent: "+H,c,w8,y3,y3);try{return G.runTask(le,p,T)}finally{G.cancelTask(le)}}runGuarded(c,p,T){return this._inner.runGuarded(c,p,T)}runOutsideAngular(c){return this._outer.run(c)}}const w8={};function Am(o){if(0==o._nesting&&!o.hasPendingMicrotasks&&!o.isStable)try{o._nesting++,o.onMicrotaskEmpty.emit(null)}finally{if(o._nesting--,!o.hasPendingMicrotasks)try{o.runOutsideAngular(()=>o.onStable.emit(null))}finally{o.isStable=!0}}}function Lm(o){o.hasPendingMicrotasks=!!(o._hasPendingMicrotasks||(o.shouldCoalesceEventChangeDetection||o.shouldCoalesceRunChangeDetection)&&-1!==o.lastRequestAnimationFrameId)}function Z6(o){o._nesting++,o.isStable&&(o.isStable=!1,o.onUnstable.emit(null))}function W6(o){o._nesting--,Am(o)}class Y6{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ec,this.onMicrotaskEmpty=new Ec,this.onStable=new Ec,this.onError=new Ec}run(c,p,T){return c.apply(p,T)}runGuarded(c,p,T){return c.apply(p,T)}runOutsideAngular(c){return c()}runTask(c,p,T,H){return c.apply(p,T)}}const j6=new La(""),K6=new La("");let Dm,Q6=(()=>{class o{constructor(p,T,H){this._ngZone=p,this.registry=T,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,Dm||(function S8(o){Dm=o}(H),H.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:()=>{sc.assertNotInAngularZone(),Tm(()=>{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())Tm(()=>{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,H){let G=-1;T&&T>0&&(G=setTimeout(()=>{this._callbacks=this._callbacks.filter(le=>le.timeoutId!==G),p(this._didWork,this.getPendingTasks())},T)),this._callbacks.push({doneCb:p,timeoutId:G,updateCb:H})}whenStable(p,T,H){if(H&&!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,H),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(p){this.registry.registerApplication(p,this)}unregisterApplication(p){this.registry.unregisterApplication(p)}findProviders(p,T,H){return[]}}return o.\u0275fac=function(p){return new(p||o)(xt(sc),xt(q6),xt(K6))},o.\u0275prov=Ve({token:o,factory:o.\u0275fac}),o})(),q6=(()=>{class o{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 Dm?.findTestabilityInTree(this,p,T)??null}}return o.\u0275fac=function(p){return new(p||o)},o.\u0275prov=Ve({token:o,factory:o.\u0275fac,providedIn:"platform"}),o})();const Il=!1;let T1=null;const J6=new La("AllowMultipleToken"),x3=new La("PlatformDestroyListeners"),X6=new La("appBootstrapListener");class T8{constructor(c,p){this.name=c,this.token=p}}function eg(o,c,p=[]){const T=`Platform: ${c}`,H=new La(T);return(G=[])=>{let le=C3();if(!le||le.injector.get(J6,!1)){const Pe=[...p,...G,{provide:H,useValue:!0}];o?o(Pe):function A8(o){if(T1&&!T1.get(J6,!1))throw new W(400,!1);T1=o;const c=o.get(ig);(function Im(o){const c=o.get(z6,null);c&&c.forEach(p=>p())})(o)}(function tg(o=[],c){return nc.create({name:c,providers:[{provide:Zc,useValue:"platform"},{provide:x3,useValue:new Set([()=>T1=null])},...o]})}(Pe,T))}return function D8(o){const c=C3();if(!c)throw new W(401,!1);return c}()}}function C3(){return T1?.get(ig)??null}let ig=(()=>{class o{constructor(p){this._injector=p,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(p,T){const H=function ag(o,c){let p;return p="noop"===o?new Y6:("zone.js"===o?void 0:o)||new sc(c),p}(T?.ngZone,function ng(o){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!o||!o.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!o||!o.ngZoneRunCoalescing)||!1}}(T)),G=[{provide:sc,useValue:H}];return H.run(()=>{const le=nc.create({providers:G,parent:this.injector,name:p.moduleType.name}),Pe=p.create(le),Ge=Pe.injector.get(Yc,null);if(!Ge)throw new W(402,!1);return H.runOutsideAngular(()=>{const bt=H.onError.subscribe({next:Pt=>{Ge.handleError(Pt)}});Pe.onDestroy(()=>{Pu(this._modules,Pe),bt.unsubscribe()})}),function rg(o,c,p){try{const T=p();return If(T)?T.catch(H=>{throw c.runOutsideAngular(()=>o.handleError(H)),H}):T}catch(T){throw c.runOutsideAngular(()=>o.handleError(T)),T}}(Ge,H,()=>{const bt=Pe.injector.get(ku);return bt.runInitializers(),bt.donePromise.then(()=>(function o3(o){V(o,"Expected localeId to be defined"),"string"==typeof o&&(z4=o.toLowerCase().replace(/_/g,"-"))}(Pe.injector.get(Ou,Gd)||Gd),this._moduleDoBootstrap(Pe),Pe))})})}bootstrapModule(p,T=[]){const H=og({},T);return function E8(o,c,p){const T=new X4(p);return Promise.resolve(T)}(0,0,p).then(G=>this.bootstrapModuleFactory(G,H))}_moduleDoBootstrap(p){const T=p.injector.get(w3);if(p._bootstrapComponents.length>0)p._bootstrapComponents.forEach(H=>T.bootstrap(H));else{if(!p.instance.ngDoBootstrap)throw new W(-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 W(404,!1);this._modules.slice().forEach(T=>T.destroy()),this._destroyListeners.forEach(T=>T());const p=this._injector.get(x3,null);p&&(p.forEach(T=>T()),p.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return o.\u0275fac=function(p){return new(p||o)(xt(nc))},o.\u0275prov=Ve({token:o,factory:o.\u0275fac,providedIn:"platform"}),o})();function og(o,c){return Array.isArray(c)?c.reduce(og,o):{...o,...c}}let w3=(()=>{class o{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(p,T,H){this._zone=p,this._injector=T,this._exceptionHandler=H,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(Pe=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Pe.next(this._stable),Pe.complete()})}),le=new g.y(Pe=>{let Ge;this._zone.runOutsideAngular(()=>{Ge=this._zone.onStable.subscribe(()=>{sc.assertNotInAngularZone(),Tm(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Pe.next(!0))})})});const bt=this._zone.onUnstable.subscribe(()=>{sc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Pe.next(!1)}))});return()=>{Ge.unsubscribe(),bt.unsubscribe()}});this.isStable=(0,A.T)(G,le.pipe((0,s.B)()))}bootstrap(p,T){const H=p instanceof J2;if(!this._injector.get(ku).done){!H&&Ai(p);throw new W(405,Il)}let le;le=H?p:this._injector.get(Xo).resolveComponentFactory(p),this.componentTypes.push(le.componentType);const Pe=function $6(o){return o.isBoundToModule}(le)?void 0:this._injector.get(W0),bt=le.create(nc.NULL,[],T||le.selector,Pe),Pt=bt.location.nativeElement,ti=bt.injector.get(j6,null);return ti?.registerApplication(Pt),bt.onDestroy(()=>{this.detachView(bt.hostView),Pu(this.components,bt),ti?.unregisterApplication(Pt)}),this._loadComponent(bt),bt}tick(){if(this._runningTick)throw new W(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;Pu(this._views,T),T.detachFromAppRef()}_loadComponent(p){this.attachView(p.hostView),this.tick(),this.components.push(p);const T=this._injector.get(X6,[]);T.push(...this._bootstrapListeners),T.forEach(H=>H(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),()=>Pu(this._destroyListeners,p)}destroy(){if(this._destroyed)throw new W(406,!1);const p=this._injector;p.destroy&&!p.destroyed&&p.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return o.\u0275fac=function(p){return new(p||o)(xt(sc),xt(Cc),xt(Yc))},o.\u0275prov=Ve({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function Pu(o,c){const p=o.indexOf(c);p>-1&&o.splice(p,1)}function k8(){return!1}let P8=(()=>{class o{}return o.__NG_ELEMENT_ID__=cg,o})();function cg(o){return function R8(o,c,p){if(br(o)&&!p){const T=yt(o.index,c);return new Nd(T,T)}return 47&o.type?new Nd(c[Wn],c):null}(Va(),Mi(),16==(16&o))}class ug{constructor(){}supports(c){return Fd(c)}create(c){return new z8(c)}}const H8=(o,c)=>c;class z8{constructor(c){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=c||H8}forEachItem(c){let p;for(p=this._itHead;null!==p;p=p._next)c(p)}forEachOperation(c){let p=this._itHead,T=this._removalsHead,H=0,G=null;for(;p||T;){const le=!T||p&&p.currentIndex<Hm(T,H,G)?p:T,Pe=Hm(le,H,G),Ge=le.currentIndex;if(le===T)H--,T=T._nextRemoved;else if(p=p._next,null==le.previousIndex)H++;else{G||(G=[]);const bt=Pe-H,Pt=Ge-H;if(bt!=Pt){for(let hi=0;hi<bt;hi++){const vi=hi<G.length?G[hi]:G[hi]=0,Pi=vi+hi;Pt<=Pi&&Pi<bt&&(G[hi]=vi+1)}G[le.previousIndex]=Pt-bt}}Pe!==Ge&&c(le,Pe,Ge)}}forEachPreviousItem(c){let p;for(p=this._previousItHead;null!==p;p=p._nextPrevious)c(p)}forEachAddedItem(c){let p;for(p=this._additionsHead;null!==p;p=p._nextAdded)c(p)}forEachMovedItem(c){let p;for(p=this._movesHead;null!==p;p=p._nextMoved)c(p)}forEachRemovedItem(c){let p;for(p=this._removalsHead;null!==p;p=p._nextRemoved)c(p)}forEachIdentityChange(c){let p;for(p=this._identityChangesHead;null!==p;p=p._nextIdentityChange)c(p)}diff(c){if(null==c&&(c=[]),!Fd(c))throw new W(900,!1);return this.check(c)?this:null}onDestroy(){}check(c){this._reset();let H,G,le,p=this._itHead,T=!1;if(Array.isArray(c)){this.length=c.length;for(let Pe=0;Pe<this.length;Pe++)G=c[Pe],le=this._trackByFn(Pe,G),null!==p&&Object.is(p.trackById,le)?(T&&(p=this._verifyReinsertion(p,G,le,Pe)),Object.is(p.item,G)||this._addIdentityChange(p,G)):(p=this._mismatch(p,G,le,Pe),T=!0),p=p._next}else H=0,function mp(o,c){if(Array.isArray(o))for(let p=0;p<o.length;p++)c(o[p]);else{const p=o[Symbol.iterator]();let T;for(;!(T=p.next()).done;)c(T.value)}}(c,Pe=>{le=this._trackByFn(H,Pe),null!==p&&Object.is(p.trackById,le)?(T&&(p=this._verifyReinsertion(p,Pe,le,H)),Object.is(p.item,Pe)||this._addIdentityChange(p,Pe)):(p=this._mismatch(p,Pe,le,H),T=!0),p=p._next,H++}),this.length=H;return this._truncate(p),this.collection=c,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let c;for(c=this._previousItHead=this._itHead;null!==c;c=c._next)c._nextPrevious=c._next;for(c=this._additionsHead;null!==c;c=c._nextAdded)c.previousIndex=c.currentIndex;for(this._additionsHead=this._additionsTail=null,c=this._movesHead;null!==c;c=c._nextMoved)c.previousIndex=c.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(c,p,T,H){let G;return null===c?G=this._itTail:(G=c._prev,this._remove(c)),null!==(c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(T,null))?(Object.is(c.item,p)||this._addIdentityChange(c,p),this._reinsertAfter(c,G,H)):null!==(c=null===this._linkedRecords?null:this._linkedRecords.get(T,H))?(Object.is(c.item,p)||this._addIdentityChange(c,p),this._moveAfter(c,G,H)):c=this._addAfter(new V8(p,T),G,H),c}_verifyReinsertion(c,p,T,H){let G=null===this._unlinkedRecords?null:this._unlinkedRecords.get(T,null);return null!==G?c=this._reinsertAfter(G,c._prev,H):c.currentIndex!=H&&(c.currentIndex=H,this._addToMoves(c,H)),c}_truncate(c){for(;null!==c;){const p=c._next;this._addToRemovals(this._unlink(c)),c=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(c,p,T){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(c);const H=c._prevRemoved,G=c._nextRemoved;return null===H?this._removalsHead=G:H._nextRemoved=G,null===G?this._removalsTail=H:G._prevRemoved=H,this._insertAfter(c,p,T),this._addToMoves(c,T),c}_moveAfter(c,p,T){return this._unlink(c),this._insertAfter(c,p,T),this._addToMoves(c,T),c}_addAfter(c,p,T){return this._insertAfter(c,p,T),this._additionsTail=null===this._additionsTail?this._additionsHead=c:this._additionsTail._nextAdded=c,c}_insertAfter(c,p,T){const H=null===p?this._itHead:p._next;return c._next=H,c._prev=p,null===H?this._itTail=c:H._prev=c,null===p?this._itHead=c:p._next=c,null===this._linkedRecords&&(this._linkedRecords=new fg),this._linkedRecords.put(c),c.currentIndex=T,c}_remove(c){return this._addToRemovals(this._unlink(c))}_unlink(c){null!==this._linkedRecords&&this._linkedRecords.remove(c);const p=c._prev,T=c._next;return null===p?this._itHead=T:p._next=T,null===T?this._itTail=p:T._prev=p,c}_addToMoves(c,p){return c.previousIndex===p||(this._movesTail=null===this._movesTail?this._movesHead=c:this._movesTail._nextMoved=c),c}_addToRemovals(c){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fg),this._unlinkedRecords.put(c),c.currentIndex=null,c._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=c,c._prevRemoved=null):(c._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=c),c}_addIdentityChange(c,p){return c.item=p,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=c:this._identityChangesTail._nextIdentityChange=c,c}}class V8{constructor(c,p){this.item=c,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 B8{constructor(){this._head=null,this._tail=null}add(c){null===this._head?(this._head=this._tail=c,c._nextDup=null,c._prevDup=null):(this._tail._nextDup=c,c._prevDup=this._tail,c._nextDup=null,this._tail=c)}get(c,p){let T;for(T=this._head;null!==T;T=T._nextDup)if((null===p||p<=T.currentIndex)&&Object.is(T.trackById,c))return T;return null}remove(c){const p=c._prevDup,T=c._nextDup;return null===p?this._head=T:p._nextDup=T,null===T?this._tail=p:T._prevDup=p,null===this._head}}class fg{constructor(){this.map=new Map}put(c){const p=c.trackById;let T=this.map.get(p);T||(T=new B8,this.map.set(p,T)),T.add(c)}get(c,p){const H=this.map.get(c);return H?H.get(c,p):null}remove(c){const p=c.trackById;return this.map.get(p).remove(c)&&this.map.delete(p),c}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Hm(o,c,p){const T=o.previousIndex;if(null===T)return T;let H=0;return p&&T<p.length&&(H=p[T]),T+c+H}class mg{constructor(){}supports(c){return c instanceof Map||$h(c)}create(){return new zm}}class zm{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(c){let p;for(p=this._mapHead;null!==p;p=p._next)c(p)}forEachPreviousItem(c){let p;for(p=this._previousMapHead;null!==p;p=p._nextPrevious)c(p)}forEachChangedItem(c){let p;for(p=this._changesHead;null!==p;p=p._nextChanged)c(p)}forEachAddedItem(c){let p;for(p=this._additionsHead;null!==p;p=p._nextAdded)c(p)}forEachRemovedItem(c){let p;for(p=this._removalsHead;null!==p;p=p._nextRemoved)c(p)}diff(c){if(c){if(!(c instanceof Map||$h(c)))throw new W(900,!1)}else c=new Map;return this.check(c)?this:null}onDestroy(){}check(c){this._reset();let p=this._mapHead;if(this._appendAfter=null,this._forEach(c,(T,H)=>{if(p&&p.key===H)this._maybeAddToChanges(p,T),this._appendAfter=p,p=p._next;else{const G=this._getOrCreateRecordForKey(H,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(c,p){if(c){const T=c._prev;return p._next=c,p._prev=T,c._prev=p,T&&(T._next=p),c===this._mapHead&&(this._mapHead=p),this._appendAfter=c,c}return this._appendAfter?(this._appendAfter._next=p,p._prev=this._appendAfter):this._mapHead=p,this._appendAfter=p,null}_getOrCreateRecordForKey(c,p){if(this._records.has(c)){const H=this._records.get(c);this._maybeAddToChanges(H,p);const G=H._prev,le=H._next;return G&&(G._next=le),le&&(le._prev=G),H._next=null,H._prev=null,H}const T=new U8(c);return this._records.set(c,T),T.currentValue=p,this._addToAdditions(T),T}_reset(){if(this.isDirty){let c;for(this._previousMapHead=this._mapHead,c=this._previousMapHead;null!==c;c=c._next)c._nextPrevious=c._next;for(c=this._changesHead;null!==c;c=c._nextChanged)c.previousValue=c.currentValue;for(c=this._additionsHead;null!=c;c=c._nextAdded)c.previousValue=c.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(c,p){Object.is(p,c.currentValue)||(c.previousValue=c.currentValue,c.currentValue=p,this._addToChanges(c))}_addToAdditions(c){null===this._additionsHead?this._additionsHead=this._additionsTail=c:(this._additionsTail._nextAdded=c,this._additionsTail=c)}_addToChanges(c){null===this._changesHead?this._changesHead=this._changesTail=c:(this._changesTail._nextChanged=c,this._changesTail=c)}_forEach(c,p){c instanceof Map?c.forEach(p):Object.keys(c).forEach(T=>p(c[T],T))}}class U8{constructor(c){this.key=c,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 pg(){return new A3([new ug])}let A3=(()=>{class o{constructor(p){this.factories=p}static create(p,T){if(null!=T){const H=T.factories.slice();p=p.concat(H)}return new o(p)}static extend(p){return{provide:o,useFactory:T=>o.create(p,T||pg()),deps:[[o,new Xs,new Js]]}}find(p){const T=this.factories.find(H=>H.supports(p));if(null!=T)return T;throw new W(901,!1)}}return o.\u0275prov=Ve({token:o,providedIn:"root",factory:pg}),o})();function Vm(){return new Bm([new mg])}let Bm=(()=>{class o{constructor(p){this.factories=p}static create(p,T){if(T){const H=T.factories.slice();p=p.concat(H)}return new o(p)}static extend(p){return{provide:o,useFactory:T=>o.create(p,T||Vm()),deps:[[o,new Xs,new Js]]}}find(p){const T=this.factories.find(H=>H.supports(p));if(T)return T;throw new W(901,!1)}}return o.\u0275prov=Ve({token:o,providedIn:"root",factory:Vm}),o})();const Y8=eg(null,"core",[]);let j8=(()=>{class o{constructor(p){}}return o.\u0275fac=function(p){return new(p||o)(xt(w3))},o.\u0275mod=Ci({type:o}),o.\u0275inj=Re({}),o})();function gg(o){return"boolean"==typeof o?o:null!=o&&"false"!==o}},5863:(Be,Q,m)=>{"use strict";function t(M){for(let w in M){let I=M[w]??"";switch(w){case"display":M.display="flex"===I?["-webkit-flex","flex"]:"inline-flex"===I?["-webkit-inline-flex","inline-flex"]:I;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]=I;break;case"flex-direction":M["-webkit-flex-direction"]=I,M["flex-direction"]=I;break;case"order":M.order=M["-webkit-"+w]=isNaN(+I)?"0":I}}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,I,k]=s(M);return function P(M,w=null,I=!1){return{display:I?"inline-flex":"flex","box-sizing":"border-box","flex-direction":M,"flex-wrap":w||null}}(w,I,k)}function s(M){M=M?.toLowerCase()??"";let[w,I,k]=M.split(" ");return g.find(O=>O===w)||(w=g[0]),I===e&&(I=k!==e?k:"",k=e),[w,h(I),!!k]}function C(M){let[w]=s(M);return w.indexOf("row")>-1}function h(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 I of w)if(null!=I)for(let k in I)I.hasOwnProperty(k)&&(M[k]=I[k]);return M}},2233:(Be,Q,m)=>{"use strict";m.d(Q,{Bs:()=>q,FL:()=>J,IR:()=>k,Ot:()=>ye,QI:()=>pe,RK:()=>oe,WU:()=>W,g5:()=>Z,iR:()=>Ie,wY:()=>K,yB:()=>xe});var t=m(4650),e=m(6895),g=m(1135),A=m(9751),s=m(6451),C=m(7579),h=m(5863),P=m(9300),d=m(8505);const w={provide:t.tb,useFactory:function M(mt,St){return()=>{if((0,e.NF)(St)){const nt=Array.from(mt.querySelectorAll(`[class*=${I}]`)),Ye=/\bflex-layout-.+?\b/g;nt.forEach(zt=>{zt.classList.contains(`${I}ssr`)&&zt.parentNode?zt.parentNode.removeChild(zt):zt.className.replace(Ye,"")})}}},deps:[e.K0,t.Lbi],multi:!0},I="flex-layout-";let k=(()=>{class mt{}return mt.\u0275fac=function(nt){return new(nt||mt)},mt.\u0275mod=t.oAB({type:mt}),mt.\u0275inj=t.cJS({providers:[w]}),mt})();class O{constructor(St=!1,nt="all",Ye="",zt="",xt=0){this.matches=St,this.mediaQuery=nt,this.mqAlias=Ye,this.suffix=zt,this.priority=xt,this.property=""}clone(){return new O(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let U=(()=>{class mt{constructor(){this.stylesheet=new Map}addStyleToElement(nt,Ye,zt){const xt=this.stylesheet.get(nt);xt?xt.set(Ye,zt):this.stylesheet.set(nt,new Map([[Ye,zt]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(nt,Ye){const zt=this.stylesheet.get(nt);let xt="";if(zt){const Ht=zt.get(Ye);("number"==typeof Ht||"string"==typeof Ht)&&(xt=Ht+"")}return xt}}return mt.\u0275fac=function(nt){return new(nt||mt)},mt.\u0275prov=t.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();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},W=new t.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>Z}),K=new t.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),q=new t.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function te(mt,St){return mt=mt?.clone()??new O,St&&(mt.mqAlias=St.alias,mt.mediaQuery=St.mediaQuery,mt.suffix=St.suffix,mt.priority=St.priority),mt}class pe{constructor(){this.shouldCache=!0}sideEffect(St,nt,Ye){}}let oe=(()=>{class mt{constructor(nt,Ye,zt,xt){this._serverStylesheet=nt,this._serverModuleLoaded=Ye,this._platformId=zt,this.layoutConfig=xt}applyStyleToElement(nt,Ye,zt=null){let xt={};"string"==typeof Ye&&(xt[Ye]=zt,Ye=xt),xt=this.layoutConfig.disableVendorPrefixes?Ye:(0,h.GK)(Ye),this._applyMultiValueStyleToElement(xt,nt)}applyStyleToElements(nt,Ye=[]){const zt=this.layoutConfig.disableVendorPrefixes?nt:(0,h.GK)(nt);Ye.forEach(xt=>{this._applyMultiValueStyleToElement(zt,xt)})}getFlowDirection(nt){const Ye="flex-direction";let zt=this.lookupStyle(nt,Ye);return[zt||"row",this.lookupInlineStyle(nt,Ye)||(0,e.PM)(this._platformId)&&this._serverModuleLoaded?zt:""]}hasWrap(nt){return"wrap"===this.lookupStyle(nt,"flex-wrap")}lookupAttributeValue(nt,Ye){return nt.getAttribute(Ye)??""}lookupInlineStyle(nt,Ye){return(0,e.NF)(this._platformId)?nt.style.getPropertyValue(Ye):function re(mt,St){return he(mt)[St]??""}(nt,Ye)}lookupStyle(nt,Ye,zt=!1){let xt="";return nt&&((xt=this.lookupInlineStyle(nt,Ye))||((0,e.NF)(this._platformId)?zt||(xt=getComputedStyle(nt).getPropertyValue(Ye)):this._serverModuleLoaded&&(xt=this._serverStylesheet.getStyleForElement(nt,Ye)))),xt?xt.trim():""}_applyMultiValueStyleToElement(nt,Ye){Object.keys(nt).sort().forEach(zt=>{const xt=nt[zt],Ht=Array.isArray(xt)?xt:[xt];Ht.sort();for(let Ut of Ht)Ut=Ut?Ut+"":"",(0,e.NF)(this._platformId)||!this._serverModuleLoaded?(0,e.NF)(this._platformId)?Ye.style.setProperty(zt,Ut):ce(Ye,zt,Ut):this._serverStylesheet.addStyleToElement(Ye,zt,Ut)})}}return mt.\u0275fac=function(nt){return new(nt||mt)(t.LFG(U),t.LFG(K),t.LFG(t.Lbi),t.LFG(W))},mt.\u0275prov=t.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();function ce(mt,St,nt){St=St.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const Ye=he(mt);Ye[St]=nt??"",function se(mt,St){let nt="";for(const Ye in St)St[Ye]&&(nt+=`${Ye}:${St[Ye]};`);mt.setAttribute("style",nt)}(mt,Ye)}function he(mt){const St={},nt=mt.getAttribute("style");if(nt){const Ye=nt.split(/;+/g);for(let zt=0;zt<Ye.length;zt++){const xt=Ye[zt].trim();if(xt.length>0){const Ht=xt.indexOf(":");if(-1===Ht)throw new Error(`Invalid CSS style: ${xt}`);St[xt.substr(0,Ht).trim()]=xt.substr(Ht+1).trim()}}}return St}function S(mt,St){return(St&&St.priority||0)-(mt&&mt.priority||0)}function i(mt,St){return(mt.priority||0)-(St.priority||0)}let a=(()=>{class mt{constructor(nt,Ye,zt){this._zone=nt,this._platformId=Ye,this._document=zt,this.source=new g.X(new O(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const nt=[];return this.registry.forEach((Ye,zt)=>{Ye.matches&&nt.push(zt)}),nt}isActive(nt){return this.registry.get(nt)?.matches??this.registerQuery(nt).some(zt=>zt.matches)}observe(nt,Ye=!1){if(nt&&nt.length){const zt=this._observable$.pipe((0,P.h)(Ht=>!Ye||nt.indexOf(Ht.mediaQuery)>-1)),xt=new A.y(Ht=>{const Ut=this.registerQuery(nt);if(Ut.length){const De=Ut.pop();Ut.forEach(X=>{Ht.next(X)}),this.source.next(De)}Ht.complete()});return(0,s.T)(xt,zt)}return this._observable$}registerQuery(nt){const Ye=Array.isArray(nt)?nt:[nt],zt=[];return function l(mt,St){const nt=mt.filter(Ye=>!f[Ye]);if(nt.length>0){const Ye=nt.join(", ");try{const zt=St.createElement("style");zt.setAttribute("type","text/css"),zt.styleSheet||zt.appendChild(St.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${Ye} {.fx-query-test{ }}\n`)),St.head.appendChild(zt),nt.forEach(xt=>f[xt]=zt)}catch(zt){console.error(zt)}}}(Ye,this._document),Ye.forEach(xt=>{const Ht=De=>{this._zone.run(()=>this.source.next(new O(De.matches,xt)))};let Ut=this.registry.get(xt);Ut||(Ut=this.buildMQL(xt),Ut.addListener(Ht),this.pendingRemoveListenerFns.push(()=>Ut.removeListener(Ht)),this.registry.set(xt,Ut)),Ut.matches&&zt.push(new O(!0,xt))}),zt}ngOnDestroy(){let nt;for(;nt=this.pendingRemoveListenerFns.pop();)nt()}buildMQL(nt){return function E(mt,St){return St&&window.matchMedia("all").addListener?window.matchMedia(mt):function y(mt){const St=new EventTarget;return St.matches="all"===mt||""===mt,St.media=mt,St.addListener=()=>{},St.removeListener=()=>{},St.addEventListener=()=>{},St.dispatchEvent=()=>!1,St.onchange=null,St}(mt)}(nt,(0,e.NF)(this._platformId))}}return mt.\u0275fac=function(nt){return new(nt||mt)(t.LFG(t.R0b),t.LFG(t.Lbi),t.LFG(e.K0))},mt.\u0275prov=t.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const f={},D=[{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)",V="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",z="(orientation: portrait) and (min-width: 840px)",Y="(orientation: landscape) and (min-width: 1280px)",Te={HANDSET:`${v}, ${n}`,TABLET:`${b} , ${V}`,WEB:`${z}, ${Y} `,HANDSET_PORTRAIT:`${v}`,TABLET_PORTRAIT:`${b} `,WEB_PORTRAIT:`${z}`,HANDSET_LANDSCAPE:`${n}`,TABLET_LANDSCAPE:`${V}`,WEB_LANDSCAPE:`${Y}`},$e=[{alias:"handset",priority:2e3,mediaQuery:Te.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:Te.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:Te.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:Te.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:Te.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:Te.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:Te.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:Te.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:Te.WEB_PORTRAIT,overlapping:!0}],Ve=/(\.|-|_)/g;function We(mt){let St=mt.length>0?mt.charAt(0):"",nt=mt.length>1?mt.slice(1):"";return St.toUpperCase()+nt}const Ae=new t.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const mt=(0,t.f3M)(q),St=(0,t.f3M)(W),nt=[].concat.apply([],(mt||[]).map(zt=>Array.isArray(zt)?zt:[zt]));return function me(mt,St=[]){const nt={};return mt.forEach(Ye=>{nt[Ye.alias]=Ye}),St.forEach(Ye=>{nt[Ye.alias]?(0,h.kt)(nt[Ye.alias],Ye):nt[Ye.alias]=Ye}),function we(mt){return mt.forEach(St=>{St.suffix||(St.suffix=function Re(mt){return mt.replace(Ve,"|").split("|").map(We).join("")}(St.alias),St.overlapping=!!St.overlapping)}),mt}(Object.keys(nt).map(Ye=>nt[Ye]))}((St.disableDefaultBps?[]:D).concat(St.addOrientationBps?$e:[]),nt)}});let ee=(()=>{class mt{constructor(nt){this.findByMap=new Map,this.items=[...nt].sort(i)}findByAlias(nt){return nt?this.findWithPredicate(nt,Ye=>Ye.alias===nt):null}findByQuery(nt){return this.findWithPredicate(nt,Ye=>Ye.mediaQuery===nt)}get overlappings(){return this.items.filter(nt=>nt.overlapping)}get aliases(){return this.items.map(nt=>nt.alias)}get suffixes(){return this.items.map(nt=>nt?.suffix??"")}findWithPredicate(nt,Ye){let zt=this.findByMap.get(nt);return zt||(zt=this.items.find(Ye)??null,this.findByMap.set(nt,zt)),zt??null}}return mt.\u0275fac=function(nt){return new(nt||mt)(t.LFG(Ae))},mt.\u0275prov=t.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();const Ze="print",Oe={alias:Ze,mediaQuery:Ze,priority:1e3};let fe=(()=>{class mt{constructor(nt,Ye,zt){this.breakpoints=nt,this.layoutConfig=Ye,this._document=zt,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new Se,this.deactivations=[]}withPrintQuery(nt){return[...nt,Ze]}isPrintEvent(nt){return nt.mediaQuery.startsWith(Ze)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(nt=>this.breakpoints.findByAlias(nt)).filter(nt=>null!==nt)}getEventBreakpoints({mediaQuery:nt}){const Ye=this.breakpoints.findByQuery(nt);return(Ye?[...this.printBreakPoints,Ye]:this.printBreakPoints).sort(S)}updateEvent(nt){let Ye=this.breakpoints.findByQuery(nt.mediaQuery);return this.isPrintEvent(nt)&&(Ye=this.getEventBreakpoints(nt)[0],nt.mediaQuery=Ye?.mediaQuery??""),te(nt,Ye)}registerBeforeAfterPrintHooks(nt){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const Ye=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(nt,this.getEventBreakpoints(new O(!0,Ze))),nt.updateStyles())},zt=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(nt),nt.updateStyles())};this._document.defaultView.addEventListener("beforeprint",Ye),this._document.defaultView.addEventListener("afterprint",zt),this.beforePrintEventListeners.push(Ye),this.afterPrintEventListeners.push(zt)}interceptEvents(nt){return Ye=>{this.isPrintEvent(Ye)?Ye.matches&&!this.isPrinting?(this.startPrinting(nt,this.getEventBreakpoints(Ye)),nt.updateStyles()):!Ye.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(nt),nt.updateStyles()):this.collectActivations(nt,Ye)}}blockPropagation(){return nt=>!(this.isPrinting||this.isPrintEvent(nt))}startPrinting(nt,Ye){this.isPrinting=!0,this.formerActivations=nt.activatedBreakpoints,nt.activatedBreakpoints=this.queue.addPrintBreakpoints(Ye)}stopPrinting(nt){nt.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(nt,Ye){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!Ye.matches){const zt=this.breakpoints.findByQuery(Ye.mediaQuery);if(zt){const xt=this.formerActivations&&this.formerActivations.includes(zt),Ht=!this.formerActivations&&nt.activatedBreakpoints.includes(zt);(xt||Ht)&&(this.deactivations.push(zt),this.deactivations.sort(S))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(nt=>this._document.defaultView.removeEventListener("beforeprint",nt)),this.afterPrintEventListeners.forEach(nt=>this._document.defaultView.removeEventListener("afterprint",nt)))}}return mt.\u0275fac=function(nt){return new(nt||mt)(t.LFG(ee),t.LFG(W),t.LFG(e.K0))},mt.\u0275prov=t.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();class Se{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(St){return St.push(Oe),St.sort(S),St.forEach(nt=>this.addBreakpoint(nt)),this.printBreakpoints}addBreakpoint(St){St&&void 0===this.printBreakpoints.find(Ye=>Ye.mediaQuery===St.mediaQuery)&&(this.printBreakpoints=function ge(mt){return mt?.mediaQuery.startsWith(Ze)??!1}(St)?[St,...this.printBreakpoints]:[...this.printBreakpoints,St])}clear(){this.printBreakpoints=[]}}let xe=(()=>{class mt{constructor(nt,Ye,zt){this.matchMedia=nt,this.breakpoints=Ye,this.hook=zt,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(nt){this._activatedBreakpoints=[...nt]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(nt){this._useFallbacks=nt}onMediaChange(nt){const Ye=this.findByQuery(nt.mediaQuery);if(Ye){nt=te(nt,Ye);const zt=this.activatedBreakpoints.indexOf(Ye);nt.matches&&-1===zt?(this._activatedBreakpoints.push(Ye),this._activatedBreakpoints.sort(S),this.updateStyles()):!nt.matches&&-1!==zt&&(this._activatedBreakpoints.splice(zt,1),this._activatedBreakpoints.sort(S),this.updateStyles())}}init(nt,Ye,zt,xt,Ht=[]){vt(this.updateMap,nt,Ye,zt),vt(this.clearMap,nt,Ye,xt),this.buildElementKeyMap(nt,Ye),this.watchExtraTriggers(nt,Ye,Ht)}getValue(nt,Ye,zt){const xt=this.elementMap.get(nt);if(xt){const Ht=void 0!==zt?xt.get(zt):this.getActivatedValues(xt,Ye);if(Ht)return Ht.get(Ye)}}hasValue(nt,Ye){const zt=this.elementMap.get(nt);if(zt){const xt=this.getActivatedValues(zt,Ye);if(xt)return void 0!==xt.get(Ye)||!1}return!1}setValue(nt,Ye,zt,xt){let Ht=this.elementMap.get(nt);if(Ht){const De=(Ht.get(xt)??new Map).set(Ye,zt);Ht.set(xt,De),this.elementMap.set(nt,Ht)}else Ht=(new Map).set(xt,(new Map).set(Ye,zt)),this.elementMap.set(nt,Ht);const Ut=this.getValue(nt,Ye);void 0!==Ut&&this.updateElement(nt,Ye,Ut)}trackValue(nt,Ye){return this.subject.asObservable().pipe((0,P.h)(zt=>zt.element===nt&&zt.key===Ye))}updateStyles(){this.elementMap.forEach((nt,Ye)=>{const zt=new Set(this.elementKeyMap.get(Ye));let xt=this.getActivatedValues(nt);xt&&xt.forEach((Ht,Ut)=>{this.updateElement(Ye,Ut,Ht),zt.delete(Ut)}),zt.forEach(Ht=>{if(xt=this.getActivatedValues(nt,Ht),xt){const Ut=xt.get(Ht);this.updateElement(Ye,Ht,Ut)}else this.clearElement(Ye,Ht)})})}clearElement(nt,Ye){const zt=this.clearMap.get(nt);if(zt){const xt=zt.get(Ye);xt&&(xt(),this.subject.next({element:nt,key:Ye,value:""}))}}updateElement(nt,Ye,zt){const xt=this.updateMap.get(nt);if(xt){const Ht=xt.get(Ye);Ht&&(Ht(zt),this.subject.next({element:nt,key:Ye,value:zt}))}}releaseElement(nt){const Ye=this.watcherMap.get(nt);Ye&&(Ye.forEach(xt=>xt.unsubscribe()),this.watcherMap.delete(nt));const zt=this.elementMap.get(nt);zt&&(zt.forEach((xt,Ht)=>zt.delete(Ht)),this.elementMap.delete(nt))}triggerUpdate(nt,Ye){const zt=this.elementMap.get(nt);if(zt){const xt=this.getActivatedValues(zt,Ye);xt&&(Ye?this.updateElement(nt,Ye,xt.get(Ye)):xt.forEach((Ht,Ut)=>this.updateElement(nt,Ut,Ht)))}}buildElementKeyMap(nt,Ye){let zt=this.elementKeyMap.get(nt);zt||(zt=new Set,this.elementKeyMap.set(nt,zt)),zt.add(Ye)}watchExtraTriggers(nt,Ye,zt){if(zt&&zt.length){let xt=this.watcherMap.get(nt);if(xt||(xt=new Map,this.watcherMap.set(nt,xt)),!xt.get(Ye)){const Ut=(0,s.T)(...zt).subscribe(()=>{const De=this.getValue(nt,Ye);this.updateElement(nt,Ye,De)});xt.set(Ye,Ut)}}}findByQuery(nt){return this.breakpoints.findByQuery(nt)}getActivatedValues(nt,Ye){for(let xt=0;xt<this.activatedBreakpoints.length;xt++){const Ut=nt.get(this.activatedBreakpoints[xt].alias);if(Ut&&(void 0===Ye||Ut.has(Ye)&&null!=Ut.get(Ye)))return Ut}if(!this._useFallbacks)return;const zt=nt.get("");return void 0===Ye||zt&&zt.has(Ye)?zt:void 0}observeActivations(){const nt=this.breakpoints.items.map(Ye=>Ye.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(nt)).pipe((0,d.b)(this.hook.interceptEvents(this)),(0,P.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return mt.\u0275fac=function(nt){return new(nt||mt)(t.LFG(a),t.LFG(ee),t.LFG(fe))},mt.\u0275prov=t.Yz7({token:mt,factory:mt.\u0275fac,providedIn:"root"}),mt})();function vt(mt,St,nt,Ye){if(void 0!==Ye){const zt=mt.get(St)??new Map;zt.set(nt,Ye),mt.set(St,zt)}}let Ie=(()=>{class mt{constructor(nt,Ye,zt,xt){this.elementRef=nt,this.styleBuilder=Ye,this.styler=zt,this.marshal=xt,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(nt){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,nt,this.marshal.activatedAlias)}ngOnChanges(nt){Object.keys(nt).forEach(Ye=>{if(-1!==this.inputs.indexOf(Ye)){const zt=Ye.split(".").slice(1).join(".");this.setValue(nt[Ye].currentValue,zt)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(nt=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),nt)}addStyles(nt,Ye){const zt=this.styleBuilder,xt=zt.shouldCache;let Ht=this.styleCache.get(nt);(!Ht||!xt)&&(Ht=zt.buildStyles(nt,Ye),xt&&this.styleCache.set(nt,Ht)),this.mru={...Ht},this.applyStyleToElement(Ht),zt.sideEffect(nt,Ht,Ye)}clearStyles(){Object.keys(this.mru).forEach(nt=>{this.mru[nt]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(nt,Ye=!1){if(nt){const[zt,xt]=this.styler.getFlowDirection(nt);if(!xt&&Ye){const Ht=(0,h.Ar)(zt);this.styler.applyStyleToElements(Ht,[nt])}return zt.trim()}return"row"}hasWrap(nt){return this.styler.hasWrap(nt)}applyStyleToElement(nt,Ye,zt=this.nativeElement){this.styler.applyStyleToElement(zt,nt,Ye)}setValue(nt,Ye){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,nt,Ye)}updateWithValue(nt){this.currentValue!==nt&&(this.addStyles(nt),this.currentValue=nt)}}return mt.\u0275fac=function(nt){return new(nt||mt)(t.Y36(t.SBq),t.Y36(pe),t.Y36(oe),t.Y36(xe))},mt.\u0275dir=t.lG2({type:mt,features:[t.TTD]}),mt})();class rt extends EventTarget{constructor(St){super(),this._mediaQuery=St,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(St=>{St.call(this,{matches:this.matches,media:this.media})})),this}deactivate(){return this._isActive&&(this._isActive=!1,this._listeners.forEach(St=>{St.call(this,{matches:this.matches,media:this.media})})),this}addListener(St){-1===this._listeners.indexOf(St)&&this._listeners.push(St),this._isActive&&St.call(this,{matches:this.matches,media:this.media})}removeListener(St){}dispatchEvent(St){return!1}}function ye(mt,St="1",nt="1"){let Ye=[St,nt,mt],zt=mt.indexOf("calc");if(zt>0){Ye[2]=Qe(mt.substring(zt).trim());let xt=mt.substr(0,zt).trim().split(" ");2==xt.length&&(Ye[0]=xt[0],Ye[1]=xt[1])}else if(0==zt)Ye[2]=Qe(mt.trim());else{let xt=mt.split(" ");Ye=3===xt.length?xt:[St,nt,mt]}return Ye}function Qe(mt){return mt.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}const Le="x";function J(mt,St){if(void 0===St)return mt;const nt=Ye=>{const zt=+Ye.slice(0,-Le.length);return mt.endsWith(Le)&&!isNaN(zt)?`${zt*St.value}${St.unit}`:mt};return mt.includes(" ")?mt.split(" ").map(nt).join(" "):nt(mt)}},5829:(Be,Q,m)=>{"use strict";m.d(Q,{Zl:()=>E,aT:()=>n,oO:()=>Z});var t=m(4650),e=m(2233),g=m(6895),C=(m(1281),m(2722),m(1481));let k=(()=>{class b extends e.iR{constructor(z,Y,Te,$e,Ve,We,Re){super(z,null,Y,Te),this.ngClassInstance=Re,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new g.mk($e,Ve,z,We)),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 O=["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 k{constructor(){super(...arguments),this.inputs=O}}return b.\u0275fac=function(){let V;return function(Y){return(V||(V=t.n5z(b)))(Y||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 re{constructor(V,z,Y=!0){this.key=V,this.value=z,this.key=Y?V.replace(/['"]/g,"").trim():V.trim(),this.value=Y?z.replace(/['"]/g,"").trim():z.trim(),this.value=this.value.replace(/;/,"")}}function ce(b){let V=typeof b;return"object"===V?b.constructor===Array?"array":b.constructor===Set?"set":"object":V}function i(b){const[V,...z]=b.split(":");return new re(V,z.join(":"))}function a(b,V){return V.key&&(b[V.key]=V.value),b}let f=(()=>{class b extends e.iR{constructor(z,Y,Te,$e,Ve,We,Re,we,me){super(z,null,Y,Te),this.sanitizer=$e,this.ngStyleInstance=Re,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new g.PC(z,Ve,We)),this.init();const Ae=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(Ae),this.isServer=we&&(0,g.PM)(me)}updateWithValue(z){const Y=this.buildStyleMap(z);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...Y},this.isServer&&this.applyStyleToElement(Y),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(z){const Y=Te=>this.sanitizer.sanitize(t.q3G.STYLE,Te)??"";if(z)switch(ce(z)){case"string":return D(function se(b,V=";"){return String(b).trim().split(V).map(z=>z.trim()).filter(z=>""!==z)}(z),Y);case"array":return D(z,Y);default:return function S(b,V){let z=[];return"set"===ce(b)?b.forEach(Y=>z.push(Y)):Object.keys(b).forEach(Y=>{z.push(`${Y}:${b[Y]}`)}),function he(b,V){return b.map(i).filter(Y=>!!Y).map(Y=>(V&&(Y.value=V(Y.value)),Y)).reduce(a,{})}(z,V)}(z,Y)}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 l=["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 E=(()=>{class b extends f{constructor(){super(...arguments),this.inputs=l}}return b.\u0275fac=function(){let V;return function(Y){return(V||(V=t.n5z(b)))(Y||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 D(b,V){return b.map(i).filter(Y=>!!Y).map(Y=>(V&&(Y.value=V(Y.value)),Y)).reduce(a,{})}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:(Be,Q,m)=>{"use strict";m.d(Q,{Wh:()=>ye,ae:()=>Ht,xw:()=>w,yH:()=>y});var t=m(4650),e=m(445),g=m(2233),A=m(5863),C=(m(7579),m(2722));let h=(()=>{class Ut extends g.QI{buildStyles(X,{display:ue}){const Ee=(0,A.Ar)(X);return{...Ee,display:"none"===ue?ue:Ee.display}}}return Ut.\u0275fac=function(){let De;return function(ue){return(De||(De=t.n5z(Ut)))(ue||Ut)}}(),Ut.\u0275prov=t.Yz7({token:Ut,factory:Ut.\u0275fac,providedIn:"root"}),Ut})();const P=["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 Ut extends g.iR{constructor(X,ue,Ee,qe,Xt){super(X,Ee,ue,qe),this._config=Xt,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(X){const Ee=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=I.get(Ee)??new Map,I.set(Ee,this.styleCache),this.currentValue!==X&&(this.addStyles(X,{display:Ee}),this.currentValue=X)}}return Ut.\u0275fac=function(X){return new(X||Ut)(t.Y36(t.SBq),t.Y36(g.RK),t.Y36(h),t.Y36(g.yB),t.Y36(g.WU))},Ut.\u0275dir=t.lG2({type:Ut,features:[t.qOj]}),Ut})(),w=(()=>{class Ut extends M{constructor(){super(...arguments),this.inputs=P}}return Ut.\u0275fac=function(){let De;return function(ue){return(De||(De=t.n5z(Ut)))(ue||Ut)}}(),Ut.\u0275dir=t.lG2({type:Ut,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]}),Ut})();const I=new Map;let i=(()=>{class Ut extends g.QI{constructor(X){super(),this.layoutConfig=X}buildStyles(X,ue){let[Ee,qe,...Xt]=X.split(" "),Vt=Xt.join(" ");const ri=ue.direction.indexOf("column")>-1?"column":"row",pt=(0,A.tj)(ri)?"max-width":"max-height",ot=(0,A.tj)(ri)?"min-width":"min-height",ut=String(Vt).indexOf("calc")>-1,wt=ut||"auto"===Vt,ft=String(Vt).indexOf("%")>-1&&!ut,Xe=String(Vt).indexOf("px")>-1||String(Vt).indexOf("rem")>-1||String(Vt).indexOf("em")>-1||String(Vt).indexOf("vw")>-1||String(Vt).indexOf("vh")>-1;let gt=ut||Xe;Ee="0"==Ee?0:Ee,qe="0"==qe?0:qe;const _t=!Ee&&!qe;let Fe={};const Mt={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Vt||""){case"":Vt="row"===ri?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":Ee=0,Vt="auto";break;case"grow":Vt="100%";break;case"noshrink":qe=0,Vt="auto";break;case"auto":break;case"none":Ee=0,qe=0,Vt="auto";break;default:!gt&&!ft&&!isNaN(Vt)&&(Vt+="%"),"0%"===Vt&&(gt=!0),"0px"===Vt&&(Vt="0%"),Fe=(0,A.kt)(Mt,ut?{"flex-grow":Ee,"flex-shrink":qe,"flex-basis":gt?Vt:"100%"}:{flex:`${Ee} ${qe} ${gt?Vt:"100%"}`})}return Fe.flex||Fe["flex-grow"]||(Fe=(0,A.kt)(Mt,ut?{"flex-grow":Ee,"flex-shrink":qe,"flex-basis":Vt}:{flex:`${Ee} ${qe} ${Vt}`})),"0%"!==Vt&&"0px"!==Vt&&"0.000000001px"!==Vt&&"auto"!==Vt&&(Fe[ot]=_t||gt&&Ee?Vt:null,Fe[pt]=_t||!wt&&qe?Vt:null),Fe[ot]||Fe[pt]?ue.hasWrap&&(Fe[ut?"flex-basis":"flex"]=Fe[pt]?ut?Fe[pt]:`${Ee} ${qe} ${Fe[pt]}`:ut?Fe[ot]:`${Ee} ${qe} ${Fe[ot]}`):Fe=(0,A.kt)(Mt,ut?{"flex-grow":Ee,"flex-shrink":qe,"flex-basis":Vt}:{flex:`${Ee} ${qe} ${Vt}`}),(0,A.kt)(Fe,{"box-sizing":"border-box"})}}return Ut.\u0275fac=function(X){return new(X||Ut)(t.LFG(g.WU))},Ut.\u0275prov=t.Yz7({token:Ut,factory:Ut.\u0275fac,providedIn:"root"}),Ut})();const a=["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 l=(()=>{class Ut extends g.iR{constructor(X,ue,Ee,qe,Xt){super(X,qe,ue,Xt),this.layoutConfig=Ee,this.marshal=Xt,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(X){this.flexShrink=X||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(X){this.flexGrow=X||"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(X){const Ee=X.value.split(" ");this.direction=Ee[0],this.wrap=void 0!==Ee[1]&&"wrap"===Ee[1],this.triggerUpdate()}updateWithValue(X){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 Ee=this.direction,qe=Ee.startsWith("row"),Xt=this.wrap;qe&&Xt?this.styleCache=v:qe&&!Xt?this.styleCache=E:!qe&&Xt?this.styleCache=n:!qe&&!Xt&&(this.styleCache=D);const Vt=String(X).replace(";",""),ri=(0,g.Ot)(Vt,this.flexGrow,this.flexShrink);this.addStyles(ri.join(" "),{direction:Ee,hasWrap:Xt})}triggerReflow(){const X=this.activatedValue;if(void 0!==X){const ue=(0,g.Ot)(X+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,ue.join(" "))}}}return Ut.\u0275fac=function(X){return new(X||Ut)(t.Y36(t.SBq),t.Y36(g.RK),t.Y36(g.WU),t.Y36(i),t.Y36(g.yB))},Ut.\u0275dir=t.lG2({type:Ut,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[t.qOj]}),Ut})(),y=(()=>{class Ut extends l{constructor(){super(...arguments),this.inputs=a}}return Ut.\u0275fac=function(){let De;return function(ue){return(De||(De=t.n5z(Ut)))(ue||Ut)}}(),Ut.\u0275dir=t.lG2({type:Ut,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]}),Ut})();const E=new Map,D=new Map,v=new Map,n=new Map;let Nt=(()=>{class Ut extends g.QI{buildStyles(X,ue){const Ee={},[qe,Xt]=X.split(" ");switch(qe){case"center":Ee["justify-content"]="center";break;case"space-around":Ee["justify-content"]="space-around";break;case"space-between":Ee["justify-content"]="space-between";break;case"space-evenly":Ee["justify-content"]="space-evenly";break;case"end":case"flex-end":Ee["justify-content"]="flex-end";break;default:Ee["justify-content"]="flex-start"}switch(Xt){case"start":case"flex-start":Ee["align-items"]=Ee["align-content"]="flex-start";break;case"center":Ee["align-items"]=Ee["align-content"]="center";break;case"end":case"flex-end":Ee["align-items"]=Ee["align-content"]="flex-end";break;case"space-between":Ee["align-content"]="space-between",Ee["align-items"]="stretch";break;case"space-around":Ee["align-content"]="space-around",Ee["align-items"]="stretch";break;case"baseline":Ee["align-content"]="stretch",Ee["align-items"]="baseline";break;default:Ee["align-items"]=Ee["align-content"]="stretch"}return(0,A.kt)(Ee,{display:ue.inline?"inline-flex":"flex","flex-direction":ue.layout,"box-sizing":"border-box","max-width":"stretch"===Xt?(0,A.tj)(ue.layout)?null:"100%":null,"max-height":"stretch"===Xt&&(0,A.tj)(ue.layout)?"100%":null})}}return Ut.\u0275fac=function(){let De;return function(ue){return(De||(De=t.n5z(Ut)))(ue||Ut)}}(),Ut.\u0275prov=t.Yz7({token:Ut,factory:Ut.\u0275fac,providedIn:"root"}),Ut})();const Ke=["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 Ct=(()=>{class Ut extends g.iR{constructor(X,ue,Ee,qe){super(X,Ee,ue,qe),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(X){const ue=this.layout||"row",Ee=this.inline;"row"===ue&&Ee?this.styleCache=St:"row"!==ue||Ee?"row-reverse"===ue&&Ee?this.styleCache=Ye:"row-reverse"!==ue||Ee?"column"===ue&&Ee?this.styleCache=nt:"column"!==ue||Ee?"column-reverse"===ue&&Ee?this.styleCache=zt:"column-reverse"===ue&&!Ee&&(this.styleCache=mt):this.styleCache=Le:this.styleCache=J:this.styleCache=Qe,this.addStyles(X,{layout:ue,inline:Ee})}onLayoutChange(X){const ue=X.value.split(" ");this.layout=ue[0],this.inline=X.value.includes("inline"),A.iQ.find(Ee=>Ee===this.layout)||(this.layout="row"),this.triggerUpdate()}}return Ut.\u0275fac=function(X){return new(X||Ut)(t.Y36(t.SBq),t.Y36(g.RK),t.Y36(Nt),t.Y36(g.yB))},Ut.\u0275dir=t.lG2({type:Ut,features:[t.qOj]}),Ut})(),ye=(()=>{class Ut extends Ct{constructor(){super(...arguments),this.inputs=Ke}}return Ut.\u0275fac=function(){let De;return function(ue){return(De||(De=t.n5z(Ut)))(ue||Ut)}}(),Ut.\u0275dir=t.lG2({type:Ut,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]}),Ut})();const Qe=new Map,Le=new Map,J=new Map,mt=new Map,St=new Map,nt=new Map,Ye=new Map,zt=new Map;let Ht=(()=>{class Ut{}return Ut.\u0275fac=function(X){return new(X||Ut)},Ut.\u0275mod=t.oAB({type:Ut}),Ut.\u0275inj=t.cJS({imports:[g.IR,e.vT]}),Ut})()},4006:(Be,Q,m)=>{"use strict";m.d(Q,{Cf:()=>K,F:()=>Ot,Fd:()=>Er,Fj:()=>O,JJ:()=>ge,JL:()=>xe,JU:()=>P,On:()=>ui,Q7:()=>$r,QS:()=>fa,UX:()=>er,Zs:()=>eo,_Y:()=>Di,a5:()=>Ze,kI:()=>pe,oH:()=>br,p4:()=>Xi,qQ:()=>mr,qu:()=>nn,sg:()=>Qn,u:()=>Ea,u5:()=>bn,wV:()=>hn});var t=m(4650),e=m(6895),g=m(457),A=m(4128),s=m(4004);let C=(()=>{class st{constructor(Ue,It){this._renderer=Ue,this._elementRef=It,this.onChange=yi=>{},this.onTouched=()=>{}}setProperty(Ue,It){this._renderer.setProperty(this._elementRef.nativeElement,Ue,It)}registerOnTouched(Ue){this.onTouched=Ue}registerOnChange(Ue){this.onChange=Ue}setDisabledState(Ue){this.setProperty("disabled",Ue)}}return st.\u0275fac=function(Ue){return new(Ue||st)(t.Y36(t.Qsj),t.Y36(t.SBq))},st.\u0275dir=t.lG2({type:st}),st})(),h=(()=>{class st extends C{}return st.\u0275fac=function(){let it;return function(It){return(it||(it=t.n5z(st)))(It||st)}}(),st.\u0275dir=t.lG2({type:st,features:[t.qOj]}),st})();const P=new t.OlP("NgValueAccessor"),w={provide:P,useExisting:(0,t.Gpc)(()=>O),multi:!0},k=new t.OlP("CompositionEventMode");let O=(()=>{class st extends C{constructor(Ue,It,yi){super(Ue,It),this._compositionMode=yi,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function I(){const st=(0,e.q)()?(0,e.q)().getUserAgent():"";return/android (\d+)/.test(st.toLowerCase())}())}writeValue(Ue){this.setProperty("value",Ue??"")}_handleInput(Ue){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(Ue)}_compositionStart(){this._composing=!0}_compositionEnd(Ue){this._composing=!1,this._compositionMode&&this.onChange(Ue)}}return st.\u0275fac=function(Ue){return new(Ue||st)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(k,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(Ue,It){1&Ue&&t.NdJ("input",function(cn){return It._handleInput(cn.target.value)})("blur",function(){return It.onTouched()})("compositionstart",function(){return It._compositionStart()})("compositionend",function(cn){return It._compositionEnd(cn.target.value)})},features:[t._Bn([w]),t.qOj]}),st})();const U=!1;function Z(st){return null==st||("string"==typeof st||Array.isArray(st))&&0===st.length}function W(st){return null!=st&&"number"==typeof st.length}const K=new t.OlP("NgValidators"),q=new t.OlP("NgAsyncValidators"),te=/^(?=.{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 pe{static min(it){return oe(it)}static max(it){return re(it)}static required(it){return ce(it)}static requiredTrue(it){return se(it)}static email(it){return function he(st){return Z(st.value)||te.test(st.value)?null:{email:!0}}(it)}static minLength(it){return function S(st){return it=>Z(it.value)||!W(it.value)?null:it.value.length<st?{minlength:{requiredLength:st,actualLength:it.value.length}}:null}(it)}static maxLength(it){return function i(st){return it=>W(it.value)&&it.value.length>st?{maxlength:{requiredLength:st,actualLength:it.value.length}}:null}(it)}static pattern(it){return function a(st){if(!st)return f;let it,Ue;return"string"==typeof st?(Ue="","^"!==st.charAt(0)&&(Ue+="^"),Ue+=st,"$"!==st.charAt(st.length-1)&&(Ue+="$"),it=new RegExp(Ue)):(Ue=st.toString(),it=st),It=>{if(Z(It.value))return null;const yi=It.value;return it.test(yi)?null:{pattern:{requiredPattern:Ue,actualValue:yi}}}}(it)}static nullValidator(it){return null}static compose(it){return b(it)}static composeAsync(it){return z(it)}}function oe(st){return it=>{if(Z(it.value)||Z(st))return null;const Ue=parseFloat(it.value);return!isNaN(Ue)&&Ue<st?{min:{min:st,actual:it.value}}:null}}function re(st){return it=>{if(Z(it.value)||Z(st))return null;const Ue=parseFloat(it.value);return!isNaN(Ue)&&Ue>st?{max:{max:st,actual:it.value}}:null}}function ce(st){return Z(st.value)?{required:!0}:null}function se(st){return!0===st.value?null:{required:!0}}function f(st){return null}function l(st){return null!=st}function y(st){const it=(0,t.QGY)(st)?(0,g.D)(st):st;if(U&&!(0,t.CqO)(it)){let Ue="Expected async validator to return Promise or Observable.";throw"object"==typeof st&&(Ue+=" Are you using a synchronous validator where an async validator is expected?"),new t.vHH(-1101,Ue)}return it}function E(st){let it={};return st.forEach(Ue=>{it=null!=Ue?{...it,...Ue}:it}),0===Object.keys(it).length?null:it}function D(st,it){return it.map(Ue=>Ue(st))}function n(st){return st.map(it=>function v(st){return!st.validate}(it)?it:Ue=>it.validate(Ue))}function b(st){if(!st)return null;const it=st.filter(l);return 0==it.length?null:function(Ue){return E(D(Ue,it))}}function V(st){return null!=st?b(n(st)):null}function z(st){if(!st)return null;const it=st.filter(l);return 0==it.length?null:function(Ue){const It=D(Ue,it).map(y);return(0,A.D)(It).pipe((0,s.U)(E))}}function Y(st){return null!=st?z(n(st)):null}function Te(st,it){return null===st?[it]:Array.isArray(st)?[...st,it]:[st,it]}function $e(st){return st._rawValidators}function Ve(st){return st._rawAsyncValidators}function We(st){return st?Array.isArray(st)?st:[st]:[]}function Re(st,it){return Array.isArray(st)?st.includes(it):st===it}function we(st,it){const Ue=We(it);return We(st).forEach(yi=>{Re(Ue,yi)||Ue.push(yi)}),Ue}function me(st,it){return We(it).filter(Ue=>!Re(st,Ue))}class Ae{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(it){this._rawValidators=it||[],this._composedValidatorFn=V(this._rawValidators)}_setAsyncValidators(it){this._rawAsyncValidators=it||[],this._composedAsyncValidatorFn=Y(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(it){this._onDestroyCallbacks.push(it)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(it=>it()),this._onDestroyCallbacks=[]}reset(it){this.control&&this.control.reset(it)}hasError(it,Ue){return!!this.control&&this.control.hasError(it,Ue)}getError(it,Ue){return this.control?this.control.getError(it,Ue):null}}class ee extends Ae{get formDirective(){return null}get path(){return null}}class Ze extends Ae{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Oe{constructor(it){this._cd=it}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 ge=(()=>{class st extends Oe{constructor(Ue){super(Ue)}}return st.\u0275fac=function(Ue){return new(Ue||st)(t.Y36(Ze,2))},st.\u0275dir=t.lG2({type:st,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(Ue,It){2&Ue&&t.ekj("ng-untouched",It.isUntouched)("ng-touched",It.isTouched)("ng-pristine",It.isPristine)("ng-dirty",It.isDirty)("ng-valid",It.isValid)("ng-invalid",It.isInvalid)("ng-pending",It.isPending)},features:[t.qOj]}),st})(),xe=(()=>{class st extends Oe{constructor(Ue){super(Ue)}}return st.\u0275fac=function(Ue){return new(Ue||st)(t.Y36(ee,10))},st.\u0275dir=t.lG2({type:st,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(Ue,It){2&Ue&&t.ekj("ng-untouched",It.isUntouched)("ng-touched",It.isTouched)("ng-pristine",It.isPristine)("ng-dirty",It.isDirty)("ng-valid",It.isValid)("ng-invalid",It.isInvalid)("ng-pending",It.isPending)("ng-submitted",It.isSubmitted)},features:[t.qOj]}),st})();function J(st,it){return st?`with name: '${it}'`:`at index: ${it}`}const Ye=!1,zt="VALID",xt="INVALID",Ht="PENDING",Ut="DISABLED";function De(st){return(qe(st)?st.validators:st)||null}function ue(st,it){return(qe(it)?it.asyncValidators:st)||null}function qe(st){return null!=st&&!Array.isArray(st)&&"object"==typeof st}function Xt(st,it,Ue){const It=st.controls;if(!(it?Object.keys(It):It).length)throw new t.vHH(1e3,Ye?function mt(st){return`\n There are no form controls registered with this ${st?"group":"array"} yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n `}(it):"");if(!It[Ue])throw new t.vHH(1001,Ye?function St(st,it){return`Cannot find form control ${J(st,it)}`}(it,Ue):"")}function Vt(st,it,Ue){st._forEachChild((It,yi)=>{if(void 0===Ue[yi])throw new t.vHH(1002,Ye?function nt(st,it){return`Must supply a value for form control ${J(st,it)}`}(it,yi):"")})}class ri{constructor(it,Ue){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(it),this._assignAsyncValidators(Ue)}get validator(){return this._composedValidatorFn}set validator(it){this._rawValidators=this._composedValidatorFn=it}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(it){this._rawAsyncValidators=this._composedAsyncValidatorFn=it}get parent(){return this._parent}get valid(){return this.status===zt}get invalid(){return this.status===xt}get pending(){return this.status==Ht}get disabled(){return this.status===Ut}get enabled(){return this.status!==Ut}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(it){this._assignValidators(it)}setAsyncValidators(it){this._assignAsyncValidators(it)}addValidators(it){this.setValidators(we(it,this._rawValidators))}addAsyncValidators(it){this.setAsyncValidators(we(it,this._rawAsyncValidators))}removeValidators(it){this.setValidators(me(it,this._rawValidators))}removeAsyncValidators(it){this.setAsyncValidators(me(it,this._rawAsyncValidators))}hasValidator(it){return Re(this._rawValidators,it)}hasAsyncValidator(it){return Re(this._rawAsyncValidators,it)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(it={}){this.touched=!0,this._parent&&!it.onlySelf&&this._parent.markAsTouched(it)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(it=>it.markAllAsTouched())}markAsUntouched(it={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(Ue=>{Ue.markAsUntouched({onlySelf:!0})}),this._parent&&!it.onlySelf&&this._parent._updateTouched(it)}markAsDirty(it={}){this.pristine=!1,this._parent&&!it.onlySelf&&this._parent.markAsDirty(it)}markAsPristine(it={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(Ue=>{Ue.markAsPristine({onlySelf:!0})}),this._parent&&!it.onlySelf&&this._parent._updatePristine(it)}markAsPending(it={}){this.status=Ht,!1!==it.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!it.onlySelf&&this._parent.markAsPending(it)}disable(it={}){const Ue=this._parentMarkedDirty(it.onlySelf);this.status=Ut,this.errors=null,this._forEachChild(It=>{It.disable({...it,onlySelf:!0})}),this._updateValue(),!1!==it.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...it,skipPristineCheck:Ue}),this._onDisabledChange.forEach(It=>It(!0))}enable(it={}){const Ue=this._parentMarkedDirty(it.onlySelf);this.status=zt,this._forEachChild(It=>{It.enable({...it,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:it.emitEvent}),this._updateAncestors({...it,skipPristineCheck:Ue}),this._onDisabledChange.forEach(It=>It(!1))}_updateAncestors(it){this._parent&&!it.onlySelf&&(this._parent.updateValueAndValidity(it),it.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(it){this._parent=it}getRawValue(){return this.value}updateValueAndValidity(it={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===zt||this.status===Ht)&&this._runAsyncValidator(it.emitEvent)),!1!==it.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!it.onlySelf&&this._parent.updateValueAndValidity(it)}_updateTreeValidity(it={emitEvent:!0}){this._forEachChild(Ue=>Ue._updateTreeValidity(it)),this.updateValueAndValidity({onlySelf:!0,emitEvent:it.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ut:zt}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(it){if(this.asyncValidator){this.status=Ht,this._hasOwnPendingAsyncValidator=!0;const Ue=y(this.asyncValidator(this));this._asyncValidationSubscription=Ue.subscribe(It=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(It,{emitEvent:it})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(it,Ue={}){this.errors=it,this._updateControlsErrors(!1!==Ue.emitEvent)}get(it){let Ue=it;return null==Ue||(Array.isArray(Ue)||(Ue=Ue.split(".")),0===Ue.length)?null:Ue.reduce((It,yi)=>It&&It._find(yi),this)}getError(it,Ue){const It=Ue?this.get(Ue):this;return It&&It.errors?It.errors[it]:null}hasError(it,Ue){return!!this.getError(it,Ue)}get root(){let it=this;for(;it._parent;)it=it._parent;return it}_updateControlsErrors(it){this.status=this._calculateStatus(),it&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(it)}_initObservables(){this.valueChanges=new t.vpe,this.statusChanges=new t.vpe}_calculateStatus(){return this._allControlsDisabled()?Ut:this.errors?xt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Ht)?Ht:this._anyControlsHaveStatus(xt)?xt:zt}_anyControlsHaveStatus(it){return this._anyControls(Ue=>Ue.status===it)}_anyControlsDirty(){return this._anyControls(it=>it.dirty)}_anyControlsTouched(){return this._anyControls(it=>it.touched)}_updatePristine(it={}){this.pristine=!this._anyControlsDirty(),this._parent&&!it.onlySelf&&this._parent._updatePristine(it)}_updateTouched(it={}){this.touched=this._anyControlsTouched(),this._parent&&!it.onlySelf&&this._parent._updateTouched(it)}_registerOnCollectionChange(it){this._onCollectionChange=it}_setUpdateStrategy(it){qe(it)&&null!=it.updateOn&&(this._updateOn=it.updateOn)}_parentMarkedDirty(it){return!it&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(it){return null}_assignValidators(it){this._rawValidators=Array.isArray(it)?it.slice():it,this._composedValidatorFn=function X(st){return Array.isArray(st)?V(st):st||null}(this._rawValidators)}_assignAsyncValidators(it){this._rawAsyncValidators=Array.isArray(it)?it.slice():it,this._composedAsyncValidatorFn=function Ee(st){return Array.isArray(st)?Y(st):st||null}(this._rawAsyncValidators)}}class pt extends ri{constructor(it,Ue,It){super(De(Ue),ue(It,Ue)),this.controls=it,this._initObservables(),this._setUpdateStrategy(Ue),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(it,Ue){return this.controls[it]?this.controls[it]:(this.controls[it]=Ue,Ue.setParent(this),Ue._registerOnCollectionChange(this._onCollectionChange),Ue)}addControl(it,Ue,It={}){this.registerControl(it,Ue),this.updateValueAndValidity({emitEvent:It.emitEvent}),this._onCollectionChange()}removeControl(it,Ue={}){this.controls[it]&&this.controls[it]._registerOnCollectionChange(()=>{}),delete this.controls[it],this.updateValueAndValidity({emitEvent:Ue.emitEvent}),this._onCollectionChange()}setControl(it,Ue,It={}){this.controls[it]&&this.controls[it]._registerOnCollectionChange(()=>{}),delete this.controls[it],Ue&&this.registerControl(it,Ue),this.updateValueAndValidity({emitEvent:It.emitEvent}),this._onCollectionChange()}contains(it){return this.controls.hasOwnProperty(it)&&this.controls[it].enabled}setValue(it,Ue={}){Vt(this,!0,it),Object.keys(it).forEach(It=>{Xt(this,!0,It),this.controls[It].setValue(it[It],{onlySelf:!0,emitEvent:Ue.emitEvent})}),this.updateValueAndValidity(Ue)}patchValue(it,Ue={}){null!=it&&(Object.keys(it).forEach(It=>{const yi=this.controls[It];yi&&yi.patchValue(it[It],{onlySelf:!0,emitEvent:Ue.emitEvent})}),this.updateValueAndValidity(Ue))}reset(it={},Ue={}){this._forEachChild((It,yi)=>{It.reset(it[yi],{onlySelf:!0,emitEvent:Ue.emitEvent})}),this._updatePristine(Ue),this._updateTouched(Ue),this.updateValueAndValidity(Ue)}getRawValue(){return this._reduceChildren({},(it,Ue,It)=>(it[It]=Ue.getRawValue(),it))}_syncPendingControls(){let it=this._reduceChildren(!1,(Ue,It)=>!!It._syncPendingControls()||Ue);return it&&this.updateValueAndValidity({onlySelf:!0}),it}_forEachChild(it){Object.keys(this.controls).forEach(Ue=>{const It=this.controls[Ue];It&&it(It,Ue)})}_setUpControls(){this._forEachChild(it=>{it.setParent(this),it._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(it){for(const[Ue,It]of Object.entries(this.controls))if(this.contains(Ue)&&it(It))return!0;return!1}_reduceValue(){return this._reduceChildren({},(Ue,It,yi)=>((It.enabled||this.disabled)&&(Ue[yi]=It.value),Ue))}_reduceChildren(it,Ue){let It=it;return this._forEachChild((yi,cn)=>{It=Ue(It,yi,cn)}),It}_allControlsDisabled(){for(const it of Object.keys(this.controls))if(this.controls[it].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(it){return this.controls.hasOwnProperty(it)?this.controls[it]:null}}class wt extends pt{}const Xe=new t.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>gt}),gt="always";function _t(st,it){return[...it.path,st]}function Fe(st,it,Ue=gt){Fi(st,it),it.valueAccessor.writeValue(st.value),(st.disabled||"always"===Ue)&&it.valueAccessor.setDisabledState?.(st.disabled),function Ci(st,it){it.valueAccessor.registerOnChange(Ue=>{st._pendingValue=Ue,st._pendingChange=!0,st._pendingDirty=!0,"change"===st.updateOn&&Je(st,it)})}(st,it),function Dt(st,it){const Ue=(It,yi)=>{it.valueAccessor.writeValue(It),yi&&it.viewToModelUpdate(It)};st.registerOnChange(Ue),it._registerOnDestroy(()=>{st._unregisterOnChange(Ue)})}(st,it),function Bi(st,it){it.valueAccessor.registerOnTouched(()=>{st._pendingTouched=!0,"blur"===st.updateOn&&st._pendingChange&&Je(st,it),"submit"!==st.updateOn&&st.markAsTouched()})}(st,it),function Yt(st,it){if(it.valueAccessor.setDisabledState){const Ue=It=>{it.valueAccessor.setDisabledState(It)};st.registerOnDisabledChange(Ue),it._registerOnDestroy(()=>{st._unregisterOnDisabledChange(Ue)})}}(st,it)}function Mt(st,it,Ue=!0){const It=()=>{};it.valueAccessor&&(it.valueAccessor.registerOnChange(It),it.valueAccessor.registerOnTouched(It)),Ri(st,it),st&&(it._invokeOnDestroyCallbacks(),st._registerOnCollectionChange(()=>{}))}function Et(st,it){st.forEach(Ue=>{Ue.registerOnValidatorChange&&Ue.registerOnValidatorChange(it)})}function Fi(st,it){const Ue=$e(st);null!==it.validator?st.setValidators(Te(Ue,it.validator)):"function"==typeof Ue&&st.setValidators([Ue]);const It=Ve(st);null!==it.asyncValidator?st.setAsyncValidators(Te(It,it.asyncValidator)):"function"==typeof It&&st.setAsyncValidators([It]);const yi=()=>st.updateValueAndValidity();Et(it._rawValidators,yi),Et(it._rawAsyncValidators,yi)}function Ri(st,it){let Ue=!1;if(null!==st){if(null!==it.validator){const yi=$e(st);if(Array.isArray(yi)&&yi.length>0){const cn=yi.filter(ma=>ma!==it.validator);cn.length!==yi.length&&(Ue=!0,st.setValidators(cn))}}if(null!==it.asyncValidator){const yi=Ve(st);if(Array.isArray(yi)&&yi.length>0){const cn=yi.filter(ma=>ma!==it.asyncValidator);cn.length!==yi.length&&(Ue=!0,st.setAsyncValidators(cn))}}}const It=()=>{};return Et(it._rawValidators,It),Et(it._rawAsyncValidators,It),Ue}function Je(st,it){st._pendingDirty&&st.markAsDirty(),st.setValue(st._pendingValue,{emitModelToViewChange:!1}),it.viewToModelUpdate(st._pendingValue),st._pendingChange=!1}function be(st,it){Fi(st,it)}function ji(st,it){if(!st.hasOwnProperty("model"))return!1;const Ue=st.model;return!!Ue.isFirstChange()||!Object.is(it,Ue.currentValue)}function Zt(st,it){st._syncPendingControls(),it.forEach(Ue=>{const It=Ue.control;"submit"===It.updateOn&&It._pendingChange&&(Ue.viewToModelUpdate(It._pendingValue),It._pendingChange=!1)})}function Qt(st,it){if(!it)return null;let Ue,It,yi;return Array.isArray(it),it.forEach(cn=>{cn.constructor===O?Ue=cn:function tn(st){return Object.getPrototypeOf(st.constructor)===h}(cn)?It=cn:yi=cn}),yi||It||Ue||null}const Lt={provide:ee,useExisting:(0,t.Gpc)(()=>Ot)},Bt=(()=>Promise.resolve())();let Ot=(()=>{class st extends ee{constructor(Ue,It,yi){super(),this.callSetDisabledState=yi,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.vpe,this.form=new pt({},V(Ue),Y(It))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(Ue){Bt.then(()=>{const It=this._findContainer(Ue.path);Ue.control=It.registerControl(Ue.name,Ue.control),Fe(Ue.control,Ue,this.callSetDisabledState),Ue.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(Ue)})}getControl(Ue){return this.form.get(Ue.path)}removeControl(Ue){Bt.then(()=>{const It=this._findContainer(Ue.path);It&&It.removeControl(Ue.name),this._directives.delete(Ue)})}addFormGroup(Ue){Bt.then(()=>{const It=this._findContainer(Ue.path),yi=new pt({});be(yi,Ue),It.registerControl(Ue.name,yi),yi.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(Ue){Bt.then(()=>{const It=this._findContainer(Ue.path);It&&It.removeControl(Ue.name)})}getFormGroup(Ue){return this.form.get(Ue.path)}updateModel(Ue,It){Bt.then(()=>{this.form.get(Ue.path).setValue(It)})}setValue(Ue){this.control.setValue(Ue)}onSubmit(Ue){return this.submitted=!0,Zt(this.form,this._directives),this.ngSubmit.emit(Ue),"dialog"===Ue?.target?.method}onReset(){this.resetForm()}resetForm(Ue){this.form.reset(Ue),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(Ue){return Ue.pop(),Ue.length?this.form.get(Ue):this.form}}return st.\u0275fac=function(Ue){return new(Ue||st)(t.Y36(K,10),t.Y36(q,10),t.Y36(Xe,8))},st.\u0275dir=t.lG2({type:st,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(Ue,It){1&Ue&&t.NdJ("submit",function(cn){return It.onSubmit(cn)})("reset",function(){return It.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([Lt]),t.qOj]}),st})();function _i(st,it){const Ue=st.indexOf(it);Ue>-1&&st.splice(Ue,1)}function $t(st){return"object"==typeof st&&null!==st&&2===Object.keys(st).length&&"value"in st&&"disabled"in st}const di=class extends ri{constructor(it=null,Ue,It){super(De(Ue),ue(It,Ue)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(it),this._setUpdateStrategy(Ue),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),qe(Ue)&&(Ue.nonNullable||Ue.initialValueIsDefault)&&(this.defaultValue=$t(it)?it.value:it)}setValue(it,Ue={}){this.value=this._pendingValue=it,this._onChange.length&&!1!==Ue.emitModelToViewChange&&this._onChange.forEach(It=>It(this.value,!1!==Ue.emitViewToModelChange)),this.updateValueAndValidity(Ue)}patchValue(it,Ue={}){this.setValue(it,Ue)}reset(it=this.defaultValue,Ue={}){this._applyFormState(it),this.markAsPristine(Ue),this.markAsUntouched(Ue),this.setValue(this.value,Ue),this._pendingChange=!1}_updateValue(){}_anyControls(it){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(it){this._onChange.push(it)}_unregisterOnChange(it){_i(this._onChange,it)}registerOnDisabledChange(it){this._onDisabledChange.push(it)}_unregisterOnDisabledChange(it){_i(this._onDisabledChange,it)}_forEachChild(it){}_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(it){$t(it)?(this.value=this._pendingValue=it.value,it.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=it}},Xi=di,Jt={provide:Ze,useExisting:(0,t.Gpc)(()=>ui)},ni=(()=>Promise.resolve())();let ui=(()=>{class st extends Ze{constructor(Ue,It,yi,cn,ma,Mi){super(),this._changeDetectorRef=ma,this.callSetDisabledState=Mi,this.control=new di,this._registered=!1,this.update=new t.vpe,this._parent=Ue,this._setValidators(It),this._setAsyncValidators(yi),this.valueAccessor=Qt(0,cn)}ngOnChanges(Ue){if(this._checkForErrors(),!this._registered||"name"in Ue){if(this._registered&&(this._checkName(),this.formDirective)){const It=Ue.name.previousValue;this.formDirective.removeControl({name:It,path:this._getPath(It)})}this._setUpControl()}"isDisabled"in Ue&&this._updateDisabled(Ue),ji(Ue,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(Ue){this.viewModel=Ue,this.update.emit(Ue)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Fe(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(Ue){ni.then(()=>{this.control.setValue(Ue,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(Ue){const It=Ue.isDisabled.currentValue,yi=0!==It&&(0,t.D6c)(It);ni.then(()=>{yi&&!this.control.disabled?this.control.disable():!yi&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(Ue){return this._parent?_t(Ue,this._parent):[Ue]}}return st.\u0275fac=function(Ue){return new(Ue||st)(t.Y36(ee,9),t.Y36(K,10),t.Y36(q,10),t.Y36(P,10),t.Y36(t.sBO,8),t.Y36(Xe,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([Jt]),t.qOj,t.TTD]}),st})(),Di=(()=>{class st{}return st.\u0275fac=function(Ue){return new(Ue||st)},st.\u0275dir=t.lG2({type:st,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),st})();const Hi={provide:P,useExisting:(0,t.Gpc)(()=>hn),multi:!0};let hn=(()=>{class st extends h{writeValue(Ue){this.setProperty("value",Ue??"")}registerOnChange(Ue){this.onChange=It=>{Ue(""==It?null:parseFloat(It))}}}return st.\u0275fac=function(){let it;return function(It){return(it||(it=t.n5z(st)))(It||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(Ue,It){1&Ue&&t.NdJ("input",function(cn){return It.onChange(cn.target.value)})("blur",function(){return It.onTouched()})},features:[t._Bn([Hi]),t.qOj]}),st})(),ba=(()=>{class st{}return st.\u0275fac=function(Ue){return new(Ue||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({}),st})();const ta=new t.OlP("NgModelWithFormControlWarning"),Sr={provide:Ze,useExisting:(0,t.Gpc)(()=>br)};let br=(()=>{class st extends Ze{set isDisabled(Ue){}constructor(Ue,It,yi,cn,ma){super(),this._ngModelWarningConfig=cn,this.callSetDisabledState=ma,this.update=new t.vpe,this._ngModelWarningSent=!1,this._setValidators(Ue),this._setAsyncValidators(It),this.valueAccessor=Qt(0,yi)}ngOnChanges(Ue){if(this._isControlChanged(Ue)){const It=Ue.form.previousValue;It&&Mt(It,this,!1),Fe(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ji(Ue,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Mt(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(Ue){this.viewModel=Ue,this.update.emit(Ue)}_isControlChanged(Ue){return Ue.hasOwnProperty("form")}}return st._ngModelWarningSentOnce=!1,st.\u0275fac=function(Ue){return new(Ue||st)(t.Y36(K,10),t.Y36(q,10),t.Y36(P,10),t.Y36(ta,8),t.Y36(Xe,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([Sr]),t.qOj,t.TTD]}),st})();const Ja={provide:ee,useExisting:(0,t.Gpc)(()=>Qn)};let Qn=(()=>{class st extends ee{constructor(Ue,It,yi){super(),this.callSetDisabledState=yi,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.vpe,this._setValidators(Ue),this._setAsyncValidators(It)}ngOnChanges(Ue){this._checkFormPresent(),Ue.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ri(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(Ue){const It=this.form.get(Ue.path);return Fe(It,Ue,this.callSetDisabledState),It.updateValueAndValidity({emitEvent:!1}),this.directives.push(Ue),It}getControl(Ue){return this.form.get(Ue.path)}removeControl(Ue){Mt(Ue.control||null,Ue,!1),function _e(st,it){const Ue=st.indexOf(it);Ue>-1&&st.splice(Ue,1)}(this.directives,Ue)}addFormGroup(Ue){this._setUpFormContainer(Ue)}removeFormGroup(Ue){this._cleanUpFormContainer(Ue)}getFormGroup(Ue){return this.form.get(Ue.path)}addFormArray(Ue){this._setUpFormContainer(Ue)}removeFormArray(Ue){this._cleanUpFormContainer(Ue)}getFormArray(Ue){return this.form.get(Ue.path)}updateModel(Ue,It){this.form.get(Ue.path).setValue(It)}onSubmit(Ue){return this.submitted=!0,Zt(this.form,this.directives),this.ngSubmit.emit(Ue),"dialog"===Ue?.target?.method}onReset(){this.resetForm()}resetForm(Ue){this.form.reset(Ue),this.submitted=!1}_updateDomValue(){this.directives.forEach(Ue=>{const It=Ue.control,yi=this.form.get(Ue.path);It!==yi&&(Mt(It||null,Ue),(st=>st instanceof di)(yi)&&(Fe(yi,Ue,this.callSetDisabledState),Ue.control=yi))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(Ue){const It=this.form.get(Ue.path);be(It,Ue),It.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(Ue){if(this.form){const It=this.form.get(Ue.path);It&&function Tt(st,it){return Ri(st,it)}(It,Ue)&&It.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Fi(this.form,this),this._oldForm&&Ri(this._oldForm,this)}_checkFormPresent(){}}return st.\u0275fac=function(Ue){return new(Ue||st)(t.Y36(K,10),t.Y36(q,10),t.Y36(Xe,8))},st.\u0275dir=t.lG2({type:st,selectors:[["","formGroup",""]],hostBindings:function(Ue,It){1&Ue&&t.NdJ("submit",function(cn){return It.onSubmit(cn)})("reset",function(){return It.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([Ja]),t.qOj,t.TTD]}),st})();const Mo={provide:Ze,useExisting:(0,t.Gpc)(()=>Ea)};let Ea=(()=>{class st extends Ze{set isDisabled(Ue){}constructor(Ue,It,yi,cn,ma){super(),this._ngModelWarningConfig=ma,this._added=!1,this.update=new t.vpe,this._ngModelWarningSent=!1,this._parent=Ue,this._setValidators(It),this._setAsyncValidators(yi),this.valueAccessor=Qt(0,cn)}ngOnChanges(Ue){this._added||this._setUpControl(),ji(Ue,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(Ue){this.viewModel=Ue,this.update.emit(Ue)}get path(){return _t(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(Ue){return new(Ue||st)(t.Y36(ee,13),t.Y36(K,10),t.Y36(q,10),t.Y36(P,10),t.Y36(ta,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([Mo]),t.qOj,t.TTD]}),st})();function fr(st){return"number"==typeof st?st:parseFloat(st)}let ra=(()=>{class st{constructor(){this._validator=f}ngOnChanges(Ue){if(this.inputName in Ue){const It=this.normalizeInput(Ue[this.inputName].currentValue);this._enabled=this.enabled(It),this._validator=this._enabled?this.createValidator(It):f,this._onChange&&this._onChange()}}validate(Ue){return this._validator(Ue)}registerOnValidatorChange(Ue){this._onChange=Ue}enabled(Ue){return null!=Ue}}return st.\u0275fac=function(Ue){return new(Ue||st)},st.\u0275dir=t.lG2({type:st,features:[t.TTD]}),st})();const ja={provide:K,useExisting:(0,t.Gpc)(()=>Er),multi:!0};let Er=(()=>{class st extends ra{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=Ue=>fr(Ue),this.createValidator=Ue=>re(Ue)}}return st.\u0275fac=function(){let it;return function(It){return(it||(it=t.n5z(st)))(It||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(Ue,It){2&Ue&&t.uIk("max",It._enabled?It.max:null)},inputs:{max:"max"},features:[t._Bn([ja]),t.qOj]}),st})();const Tr={provide:K,useExisting:(0,t.Gpc)(()=>mr),multi:!0};let mr=(()=>{class st extends ra{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=Ue=>fr(Ue),this.createValidator=Ue=>oe(Ue)}}return st.\u0275fac=function(){let it;return function(It){return(it||(it=t.n5z(st)))(It||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(Ue,It){2&Ue&&t.uIk("min",It._enabled?It.min:null)},inputs:{min:"min"},features:[t._Bn([Tr]),t.qOj]}),st})();const po={provide:K,useExisting:(0,t.Gpc)(()=>$r),multi:!0},Pa={provide:K,useExisting:(0,t.Gpc)(()=>eo),multi:!0};let $r=(()=>{class st extends ra{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.D6c,this.createValidator=Ue=>ce}enabled(Ue){return Ue}}return st.\u0275fac=function(){let it;return function(It){return(it||(it=t.n5z(st)))(It||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(Ue,It){2&Ue&&t.uIk("required",It._enabled?"":null)},inputs:{required:"required"},features:[t._Bn([po]),t.qOj]}),st})(),eo=(()=>{class st extends $r{constructor(){super(...arguments),this.createValidator=Ue=>se}}return st.\u0275fac=function(){let it;return function(It){return(it||(it=t.n5z(st)))(It||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(Ue,It){2&Ue&&t.uIk("required",It._enabled?"":null)},features:[t._Bn([Pa]),t.qOj]}),st})(),Rt=(()=>{class st{}return st.\u0275fac=function(Ue){return new(Ue||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({imports:[ba]}),st})();class fi extends ri{constructor(it,Ue,It){super(De(Ue),ue(It,Ue)),this.controls=it,this._initObservables(),this._setUpdateStrategy(Ue),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(it){return this.controls[this._adjustIndex(it)]}push(it,Ue={}){this.controls.push(it),this._registerControl(it),this.updateValueAndValidity({emitEvent:Ue.emitEvent}),this._onCollectionChange()}insert(it,Ue,It={}){this.controls.splice(it,0,Ue),this._registerControl(Ue),this.updateValueAndValidity({emitEvent:It.emitEvent})}removeAt(it,Ue={}){let It=this._adjustIndex(it);It<0&&(It=0),this.controls[It]&&this.controls[It]._registerOnCollectionChange(()=>{}),this.controls.splice(It,1),this.updateValueAndValidity({emitEvent:Ue.emitEvent})}setControl(it,Ue,It={}){let yi=this._adjustIndex(it);yi<0&&(yi=0),this.controls[yi]&&this.controls[yi]._registerOnCollectionChange(()=>{}),this.controls.splice(yi,1),Ue&&(this.controls.splice(yi,0,Ue),this._registerControl(Ue)),this.updateValueAndValidity({emitEvent:It.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(it,Ue={}){Vt(this,!1,it),it.forEach((It,yi)=>{Xt(this,!1,yi),this.at(yi).setValue(It,{onlySelf:!0,emitEvent:Ue.emitEvent})}),this.updateValueAndValidity(Ue)}patchValue(it,Ue={}){null!=it&&(it.forEach((It,yi)=>{this.at(yi)&&this.at(yi).patchValue(It,{onlySelf:!0,emitEvent:Ue.emitEvent})}),this.updateValueAndValidity(Ue))}reset(it=[],Ue={}){this._forEachChild((It,yi)=>{It.reset(it[yi],{onlySelf:!0,emitEvent:Ue.emitEvent})}),this._updatePristine(Ue),this._updateTouched(Ue),this.updateValueAndValidity(Ue)}getRawValue(){return this.controls.map(it=>it.getRawValue())}clear(it={}){this.controls.length<1||(this._forEachChild(Ue=>Ue._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:it.emitEvent}))}_adjustIndex(it){return it<0?it+this.length:it}_syncPendingControls(){let it=this.controls.reduce((Ue,It)=>!!It._syncPendingControls()||Ue,!1);return it&&this.updateValueAndValidity({onlySelf:!0}),it}_forEachChild(it){this.controls.forEach((Ue,It)=>{it(Ue,It)})}_updateValue(){this.value=this.controls.filter(it=>it.enabled||this.disabled).map(it=>it.value)}_anyControls(it){return this.controls.some(Ue=>Ue.enabled&&it(Ue))}_setUpControls(){this._forEachChild(it=>this._registerControl(it))}_allControlsDisabled(){for(const it of this.controls)if(it.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(it){it.setParent(this),it._registerOnCollectionChange(this._onCollectionChange)}_find(it){return this.at(it)??null}}function Li(st){return!!st&&(void 0!==st.asyncValidators||void 0!==st.validators||void 0!==st.updateOn)}let nn=(()=>{class st{constructor(){this.useNonNullable=!1}get nonNullable(){const Ue=new st;return Ue.useNonNullable=!0,Ue}group(Ue,It=null){const yi=this._reduceControls(Ue);let cn={};return Li(It)?cn=It:null!==It&&(cn.validators=It.validator,cn.asyncValidators=It.asyncValidator),new pt(yi,cn)}record(Ue,It=null){const yi=this._reduceControls(Ue);return new wt(yi,It)}control(Ue,It,yi){let cn={};return this.useNonNullable?(Li(It)?cn=It:(cn.validators=It,cn.asyncValidators=yi),new di(Ue,{...cn,nonNullable:!0})):new di(Ue,It,yi)}array(Ue,It,yi){const cn=Ue.map(ma=>this._createControl(ma));return new fi(cn,It,yi)}_reduceControls(Ue){const It={};return Object.keys(Ue).forEach(yi=>{It[yi]=this._createControl(Ue[yi])}),It}_createControl(Ue){return Ue instanceof di||Ue instanceof ri?Ue:Array.isArray(Ue)?this.control(Ue[0],Ue.length>1?Ue[1]:null,Ue.length>2?Ue[2]:null):this.control(Ue)}}return st.\u0275fac=function(Ue){return new(Ue||st)},st.\u0275prov=t.Yz7({token:st,factory:st.\u0275fac,providedIn:"root"}),st})(),fa=(()=>{class st extends nn{group(Ue,It=null){return super.group(Ue,It)}control(Ue,It,yi){return super.control(Ue,It,yi)}array(Ue,It,yi){return super.array(Ue,It,yi)}}return st.\u0275fac=function(){let it;return function(It){return(it||(it=t.n5z(st)))(It||st)}}(),st.\u0275prov=t.Yz7({token:st,factory:st.\u0275fac,providedIn:"root"}),st})(),bn=(()=>{class st{static withConfig(Ue){return{ngModule:st,providers:[{provide:Xe,useValue:Ue.callSetDisabledState??gt}]}}}return st.\u0275fac=function(Ue){return new(Ue||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({imports:[Rt]}),st})(),er=(()=>{class st{static withConfig(Ue){return{ngModule:st,providers:[{provide:ta,useValue:Ue.warnOnNgModelWithFormControl??"always"},{provide:Xe,useValue:Ue.callSetDisabledState??gt}]}}}return st.\u0275fac=function(Ue){return new(Ue||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({imports:[Rt]}),st})()},7957:(Be,Q,m)=>{"use strict";m.d(Q,{Bb:()=>Ae,XC:()=>V,ZL:()=>me});var t=m(4650),e=m(3238),g=m(6895),A=m(531),s=m(8184),C=m(4761),h=m(1281),P=m(3353),d=m(7340),M=m(727),w=m(7579),I=m(9770),k=m(6451),O=m(9646),U=m(4968),Z=m(9521),W=m(4080),K=m(4006),q=m(9549),te=m(8675),pe=m(3900),oe=m(5698),re=m(9300),ce=m(4004),se=m(8505),he=m(4086),S=m(445);const i=["panel"];function a(ee,Ze){if(1&ee&&(t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA()),2&ee){const Oe=Ze.id,fe=t.oxw();t.Q6J("id",fe.id)("ngClass",fe._classList)("@panelAnimation",fe.isOpen?"visible":"hidden"),t.uIk("aria-label",fe.ariaLabel||null)("aria-labelledby",fe._getPanelAriaLabelledby(Oe))}}const f=["*"],l=(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 E{constructor(Ze,Oe){this.source=Ze,this.option=Oe}}const D=(0,e.Kr)(class{}),v=new t.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function n(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1}}});let b=(()=>{class ee extends D{get isOpen(){return this._isOpen&&this.showPanel}_setColor(Oe){this._color=Oe,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(Oe){this._autoActiveFirstOption=(0,h.Ig)(Oe)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(Oe){this._autoSelectActiveOption=(0,h.Ig)(Oe)}set classList(Oe){this._classList=Oe&&Oe.length?(0,h.du)(Oe).reduce((fe,Se)=>(fe[Se]=!0,fe),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(Oe,fe,Se,ge){super(),this._changeDetectorRef=Oe,this._elementRef=fe,this._defaults=Se,this._activeOptionChanges=M.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this._autoActiveFirstOption=!!this._defaults.autoActiveFirstOption,this._autoSelectActiveOption=!!this._defaults.autoSelectActiveOption,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=ge?.SAFARI||!1}ngAfterContentInit(){this._keyManager=new C.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(Oe=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Oe]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(Oe){this.panel&&(this.panel.nativeElement.scrollTop=Oe)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Oe){const fe=new E(this,Oe);this.optionSelected.emit(fe)}_getPanelAriaLabelledby(Oe){return this.ariaLabel?null:this.ariaLabelledby?(Oe?Oe+" ":"")+this.ariaLabelledby:Oe}_setVisibilityClasses(Oe){Oe[this._visibleClass]=this.showPanel,Oe[this._hiddenClass]=!this.showPanel}_setThemeClasses(Oe){Oe["mat-primary"]="primary"===this._color,Oe["mat-warn"]="warn"===this._color,Oe["mat-accent"]="accent"===this._color}}return ee.\u0275fac=function(Oe){return new(Oe||ee)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(v),t.Y36(P.t4))},ee.\u0275dir=t.lG2({type:ee,viewQuery:function(Oe,fe){if(1&Oe&&(t.Gf(t.Rgc,7),t.Gf(i,5)),2&Oe){let Se;t.iGM(Se=t.CRH())&&(fe.template=Se.first),t.iGM(Se=t.CRH())&&(fe.panel=Se.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]}),ee})(),V=(()=>{class ee extends b{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden",this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Oe){this._hideSingleSelectionIndicator=(0,h.Ig)(Oe),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const Oe of this.options)Oe._changeDetectorRef.markForCheck()}}return ee.\u0275fac=function(){let Ze;return function(fe){return(Ze||(Ze=t.n5z(ee)))(fe||ee)}}(),ee.\u0275cmp=t.Xpm({type:ee,selectors:[["mat-autocomplete"]],contentQueries:function(Oe,fe,Se){if(1&Oe&&(t.Suo(Se,e.K7,5),t.Suo(Se,e.ey,5)),2&Oe){let ge;t.iGM(ge=t.CRH())&&(fe.optionGroups=ge),t.iGM(ge=t.CRH())&&(fe.options=ge)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matAutocomplete"],features:[t._Bn([{provide:e.HF,useExisting:ee}]),t.qOj],ngContentSelectors:f,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(Oe,fe){1&Oe&&(t.F$t(),t.YNc(0,a,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:[l]},changeDetection:0}),ee})();const Te={provide:K.JU,useExisting:(0,t.Gpc)(()=>me),multi:!0},Ve=new t.OlP("mat-autocomplete-scroll-strategy"),Re={provide:Ve,deps:[s.aV],useFactory:function We(ee){return()=>ee.scrollStrategies.reposition()}};let we=(()=>{class ee{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(Oe){this._autocompleteDisabled=(0,h.Ig)(Oe)}constructor(Oe,fe,Se,ge,xe,vt,Ie,de,rt,je,lt){this._element=Oe,this._overlay=fe,this._viewContainerRef=Se,this._zone=ge,this._changeDetectorRef=xe,this._dir=Ie,this._formField=de,this._document=rt,this._viewportRuler=je,this._defaults=lt,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,I.P)(()=>{const Nt=this.autocomplete?this.autocomplete.options:null;return Nt?Nt.changes.pipe((0,te.O)(Nt),(0,pe.w)(()=>(0,k.T)(...Nt.map(Ke=>Ke.onSelectionChange)))):this._zone.onStable.pipe((0,oe.q)(1),(0,pe.w)(()=>this.optionSelections))}),this._scrollStrategy=vt}ngAfterViewInit(){const Oe=this._getWindow();typeof Oe<"u"&&this._zone.runOutsideAngular(()=>Oe.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Oe){Oe.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Oe=this._getWindow();typeof Oe<"u"&&Oe.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,k.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,re.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,re.h)(()=>this._overlayAttached)):(0,O.of)()).pipe((0,ce.U)(Oe=>Oe instanceof e.rN?Oe:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,k.T)((0,U.R)(this._document,"click"),(0,U.R)(this._document,"auxclick"),(0,U.R)(this._document,"touchend")).pipe((0,re.h)(Oe=>{const fe=(0,P.sA)(Oe),Se=this._formField?this._formField._elementRef.nativeElement:null,ge=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&fe!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Se||!Se.contains(fe))&&(!ge||!ge.contains(fe))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(fe)}))}writeValue(Oe){Promise.resolve(null).then(()=>this._assignOptionValue(Oe))}registerOnChange(Oe){this._onChange=Oe}registerOnTouched(Oe){this._onTouched=Oe}setDisabledState(Oe){this._element.nativeElement.disabled=Oe}_handleKeydown(Oe){const fe=Oe.keyCode,Se=(0,Z.Vb)(Oe);if(fe===Z.hY&&!Se&&Oe.preventDefault(),this.activeOption&&fe===Z.K5&&this.panelOpen&&!Se)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Oe.preventDefault();else if(this.autocomplete){const ge=this.autocomplete._keyManager.activeItem,xe=fe===Z.LH||fe===Z.JH;fe===Z.Mf||xe&&!Se&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Oe):xe&&this._canOpen()&&this.openPanel(),(xe||this.autocomplete._keyManager.activeItem!==ge)&&(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(Oe){let fe=Oe.target,Se=fe.value;"number"===fe.type&&(Se=""==Se?null:parseFloat(Se)),this._previousValue!==Se&&(this._previousValue=Se,this._pendingAutoselectedOption=null,this._onChange(Se),this._canOpen()&&this._document.activeElement===Oe.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(Oe=!1){this._formField&&"auto"===this._formField.floatLabel&&(Oe?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Oe=this._zone.onStable.pipe((0,oe.q)(1)),fe=this.autocomplete.options.changes.pipe((0,se.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,he.g)(0));return(0,k.T)(Oe,fe).pipe((0,pe.w)(()=>(this._zone.run(()=>{const Se=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),Se!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,oe.q)(1)).subscribe(Se=>this._setValueAndClose(Se))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Oe){const fe=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Oe):Oe;this._updateNativeInputValue(fe??"")}_updateNativeInputValue(Oe){this._formField?this._formField._control.value=Oe:this._element.nativeElement.value=Oe,this._previousValue=Oe}_setValueAndClose(Oe){const fe=Oe?Oe.source:this._pendingAutoselectedOption;fe&&(this._clearPreviousSelectedOption(fe),this._assignOptionValue(fe.value),this._onChange(fe.value),this.autocomplete._emitSelectEvent(fe),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(Oe){this.autocomplete.options.forEach(fe=>{fe!==Oe&&fe.selected&&fe.deselect()})}_attachOverlay(){let Oe=this._overlayRef;Oe?(this._positionStrategy.setOrigin(this._getConnectedElement()),Oe.updateSize({width:this._getPanelWidth()})):(this._portal=new W.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Oe=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Oe,this._handleOverlayEvents(Oe),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Oe&&Oe.updateSize({width:this._getPanelWidth()})})),Oe&&!Oe.hasAttached()&&(Oe.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const fe=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this.panelOpen&&fe!==this.panelOpen&&this.autocomplete.opened.emit()}_getOverlayConfig(){return new s.X_({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){const Oe=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Oe),this._positionStrategy=Oe,Oe}_setStrategyPositions(Oe){const fe=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Se=this._aboveClass,ge=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Se},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Se}];let xe;xe="above"===this.position?ge:"below"===this.position?fe:[...fe,...ge],Oe.withPositions(xe)}_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 Oe=this.autocomplete;Oe.autoActiveFirstOption?Oe._keyManager.setFirstItemActive():Oe._keyManager.setActiveItem(-1)}_canOpen(){const Oe=this._element.nativeElement;return!Oe.readOnly&&!Oe.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(Oe){const fe=this.autocomplete,Se=(0,e.CB)(Oe,fe.options,fe.optionGroups);if(0===Oe&&1===Se)fe._setScrollTop(0);else if(fe.panel){const ge=fe.options.toArray()[Oe];if(ge){const xe=ge._getHostElement(),vt=(0,e.jH)(xe.offsetTop,xe.offsetHeight,fe._getScrollTop(),fe.panel.nativeElement.offsetHeight);fe._setScrollTop(vt)}}}_handleOverlayEvents(Oe){Oe.keydownEvents().subscribe(fe=>{(fe.keyCode===Z.hY&&!(0,Z.Vb)(fe)||fe.keyCode===Z.LH&&(0,Z.Vb)(fe,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),fe.stopPropagation(),fe.preventDefault())}),Oe.outsidePointerEvents().subscribe()}}return ee.\u0275fac=function(Oe){return new(Oe||ee)(t.Y36(t.SBq),t.Y36(s.aV),t.Y36(t.s_b),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(Ve),t.Y36(S.Is,8),t.Y36(q.G_,9),t.Y36(g.K0,8),t.Y36(A.rL),t.Y36(v,8))},ee.\u0275dir=t.lG2({type:ee,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[t.TTD]}),ee})(),me=(()=>{class ee extends we{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return ee.\u0275fac=function(){let Ze;return function(fe){return(Ze||(Ze=t.n5z(ee)))(fe||ee)}}(),ee.\u0275dir=t.lG2({type:ee,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(Oe,fe){1&Oe&&t.NdJ("focusin",function(){return fe._handleFocus()})("blur",function(){return fe._onTouched()})("input",function(ge){return fe._handleInput(ge)})("keydown",function(ge){return fe._handleKeydown(ge)})("click",function(){return fe._handleClick()}),2&Oe&&t.uIk("autocomplete",fe.autocompleteAttribute)("role",fe.autocompleteDisabled?null:"combobox")("aria-autocomplete",fe.autocompleteDisabled?null:"list")("aria-activedescendant",fe.panelOpen&&fe.activeOption?fe.activeOption.id:null)("aria-expanded",fe.autocompleteDisabled?null:fe.panelOpen.toString())("aria-owns",fe.autocompleteDisabled||!fe.panelOpen||null==fe.autocomplete?null:fe.autocomplete.id)("aria-haspopup",fe.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[t._Bn([Te]),t.qOj]}),ee})(),Ae=(()=>{class ee{}return ee.\u0275fac=function(Oe){return new(Oe||ee)},ee.\u0275mod=t.oAB({type:ee}),ee.\u0275inj=t.cJS({providers:[Re],imports:[s.U8,e.Ng,e.BQ,g.ez,A.ZD,e.Ng,e.BQ]}),ee})()},2673:(Be,Q,m)=>{"use strict";m.d(Q,{g:()=>d,k:()=>P});var t=m(4650),e=m(3238),g=m(4761),A=m(1281);let s=0;const C=(0,e.Id)(class{}),h="mat-badge-content";let P=(()=>{class M extends C{get color(){return this._color}set color(I){this._setColor(I),this._color=I}get overlap(){return this._overlap}set overlap(I){this._overlap=(0,A.Ig)(I)}get content(){return this._content}set content(I){this._updateRenderedContent(I)}get description(){return this._description}set description(I){this._updateHostAriaDescription(I)}get hidden(){return this._hidden}set hidden(I){this._hidden=(0,A.Ig)(I)}constructor(I,k,O,U,Z){super(),this._ngZone=I,this._elementRef=k,this._ariaDescriber=O,this._renderer=U,this._animationMode=Z,this._color="primary",this._overlap=!0,this.position="above after",this.size="medium",this._id=s++,this._isInitialized=!1}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 I=this._renderer.createElement("span"),k="mat-badge-active";return I.setAttribute("id",`mat-badge-content-${this._id}`),I.setAttribute("aria-hidden","true"),I.classList.add(h),"NoopAnimations"===this._animationMode&&I.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(I),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{I.classList.add(k)})}):I.classList.add(k),I}_updateRenderedContent(I){const k=`${I??""}`.trim();this._isInitialized&&k&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=k),this._content=k}_updateHostAriaDescription(I){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),I&&this._ariaDescriber.describe(this._elementRef.nativeElement,I),this._description=I}_setColor(I){const k=this._elementRef.nativeElement.classList;k.remove(`mat-badge-${this._color}`),I&&k.add(`mat-badge-${I}`)}_clearExistingBadges(){const I=this._elementRef.nativeElement.querySelectorAll(`:scope > .${h}`);for(const k of Array.from(I))k!==this._badgeElement&&k.remove()}}return M.\u0275fac=function(I){return new(I||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(I,k){2&I&&t.ekj("mat-badge-overlap",k.overlap)("mat-badge-above",k.isAbove())("mat-badge-below",!k.isAbove())("mat-badge-before",!k.isAfter())("mat-badge-after",k.isAfter())("mat-badge-small","small"===k.size)("mat-badge-medium","medium"===k.size)("mat-badge-large","large"===k.size)("mat-badge-hidden",k.hidden||!k.content)("mat-badge-disabled",k.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(I){return new(I||M)},M.\u0275mod=t.oAB({type:M}),M.\u0275inj=t.cJS({imports:[g.rt,e.BQ,e.BQ]}),M})()},4859:(Be,Q,m)=>{"use strict";m.d(Q,{RK:()=>D,lW:()=>ce,nh:()=>l,ot:()=>n});var t=m(3353),e=m(4650),g=m(4761),A=m(3238);const s=["mat-button",""],C=[[["",8,"material-icons",3,"iconPositionEnd",""],["mat-icon",3,"iconPositionEnd",""],["","matButtonIcon","",3,"iconPositionEnd",""]],"*",[["","iconPositionEnd","",8,"material-icons"],["mat-icon","iconPositionEnd",""],["","matButtonIcon","","iconPositionEnd",""]]],h=[".material-icons:not([iconPositionEnd]), mat-icon:not([iconPositionEnd]), [matButtonIcon]:not([iconPositionEnd])","*",".material-icons[iconPositionEnd], mat-icon[iconPositionEnd], [matButtonIcon][iconPositionEnd]"],w=["mat-mini-fab",""],k=["mat-icon-button",""],O=["*"],K=[{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"]}],q=(0,A.pj)((0,A.Id)((0,A.Kr)(class{constructor(b){this._elementRef=b}})));let te=(()=>{class b extends q{constructor(z,Y,Te,$e){super(z),this._platform=Y,this._ngZone=Te,this._animationMode=$e,this._focusMonitor=(0,e.f3M)(g.tE),this._isFab=!1;const Ve=z.nativeElement.classList;for(const We of K)this._hasHostAttributes(We.selector)&&We.mdcClasses.forEach(Re=>{Ve.add(Re)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(z="program",Y){z?this._focusMonitor.focusVia(this._elementRef.nativeElement,z,Y):this._elementRef.nativeElement.focus(Y)}_hasHostAttributes(...z){return z.some(Y=>this._elementRef.nativeElement.hasAttribute(Y))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return b.\u0275fac=function(z){e.$Z()},b.\u0275dir=e.lG2({type:b,viewQuery:function(z,Y){if(1&z&&e.Gf(A.wG,5),2&z){let Te;e.iGM(Te=e.CRH())&&(Y.ripple=Te.first)}},features:[e.qOj]}),b})(),ce=(()=>{class b extends te{constructor(z,Y,Te,$e){super(z,Y,Te,$e)}}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,Y){2&z&&(e.uIk("disabled",Y.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===Y._animationMode)("mat-unthemed",!Y.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:s,ngContentSelectors:h,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,Y){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",!Y._isFab)("mdc-fab__ripple",Y._isFab),e.xp6(6),e.Q6J("matRippleDisabled",Y._isRippleDisabled())("matRippleTrigger",Y._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:S});function S(){return{color:"accent"}}const i=S();let l=(()=>{class b extends te{constructor(z,Y,Te,$e,Ve){super(z,Y,Te,$e),this._options=Ve,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,Y){2&z&&(e.uIk("disabled",Y.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===Y._animationMode)("mat-unthemed",!Y.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:w,ngContentSelectors:h,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,Y){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",!Y._isFab)("mdc-fab__ripple",Y._isFab),e.xp6(6),e.Q6J("matRippleDisabled",Y._isRippleDisabled())("matRippleTrigger",Y._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})(),D=(()=>{class b extends te{constructor(z,Y,Te,$e){super(z,Y,Te,$e)}}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,Y){2&z&&(e.uIk("disabled",Y.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===Y._animationMode)("mat-unthemed",!Y.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:k,ngContentSelectors:O,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,Y){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",Y._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",Y._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:(Be,Q,m)=>{"use strict";m.d(Q,{$j:()=>O,QW:()=>se,a8:()=>M,dk:()=>Z,dn:()=>k,n5:()=>w});var t=m(4650),e=m(6895),g=m(3238);const A=["*"],h=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],P=["[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,a){2&i&&t.ekj("mat-mdc-card-outlined","outlined"===a.appearance)("mdc-card--outlined","outlined"===a.appearance)},inputs:{appearance:"appearance"},exportAs:["matCard"],ngContentSelectors:A,decls:1,vars:0,template:function(i,a){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})(),k=(()=>{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})(),O=(()=>{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:P,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,a){1&i&&(t.F$t(h),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:(Be,Q,m)=>{"use strict";m.d(Q,{oG:()=>Z,p9:()=>te});var t=m(4650),e=m(4006),g=m(3238),A=m(1281);const s=["input"],C=["label"],h=["*"],P=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 I=0;const k=d(),O=(0,g.sb)((0,g.pj)((0,g.Kr)((0,g.Id)(class{constructor(pe){this._elementRef=pe}}))));let U=(()=>{class pe extends O{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(re){this._required=(0,A.Ig)(re)}constructor(re,ce,se,he,S,i,a){super(ce),this._changeDetectorRef=se,this._ngZone=he,this._animationMode=i,this._options=a,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||k,this.color=this.defaultColor=this._options.color||k.color,this.tabIndex=parseInt(S)||0,this.id=this._uniqueId=`${re}${++I}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(re){const ce=(0,A.Ig)(re);ce!=this.checked&&(this._checked=ce,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(re){const ce=(0,A.Ig)(re);ce!==this.disabled&&(this._disabled=ce,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(re){const ce=re!=this._indeterminate;this._indeterminate=(0,A.Ig)(re),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(re){this.checked=!!re}registerOnChange(re){this._controlValueAccessorChangeFn=re}registerOnTouched(re){this._onTouched=re}setDisabledState(re){this.disabled=re}_transitionCheckState(re){let ce=this._currentCheckState,se=this._getAnimationTargetElement();if(ce!==re&&se&&(this._currentAnimationClass&&se.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(ce,re),this._currentCheckState=re,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 re=this._options?.clickAction;this.disabled||"noop"===re?!this.disabled&&"noop"===re&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==re&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(re){re.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(re,ce){if("NoopAnimations"===this._animationMode)return"";switch(re){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(re){const ce=this._inputElement;ce&&(ce.nativeElement.indeterminate=re)}}return pe.\u0275fac=function(re){t.$Z()},pe.\u0275dir=t.lG2({type:pe,viewQuery:function(re,ce){if(1&re&&(t.Gf(s,5),t.Gf(C,5),t.Gf(g.wG,5)),2&re){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]}),pe})(),Z=(()=>{class pe extends U{constructor(re,ce,se,he,S,i){super("mat-mdc-checkbox-",re,ce,se,he,S,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(re){const ce=new w;return ce.source=this,ce.checked=re,ce}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(re){re.target&&this._labelElement.nativeElement.contains(re.target)&&re.stopPropagation()}}return pe.\u0275fac=function(re){return new(re||pe)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.$8M("tabindex"),t.Y36(t.QbO,8),t.Y36(P,8))},pe.\u0275cmp=t.Xpm({type:pe,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(re,ce){2&re&&(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:h,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","indeterminate","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(re,ce){if(1&re&&(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._onTouchTargetClick()}),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&re){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)("indeterminate",ce.indeterminate)("disabled",ce.disabled)("id",ce.inputId)("required",ce.required)("tabIndex",ce.tabIndex),t.uIk("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}),pe})(),q=(()=>{class pe{}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275mod=t.oAB({type:pe}),pe.\u0275inj=t.cJS({}),pe})(),te=(()=>{class pe{}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275mod=t.oAB({type:pe}),pe.\u0275inj=t.cJS({imports:[g.BQ,g.si,q,g.BQ,q]}),pe})()},7331:(Be,Q,m)=>{"use strict";m.d(Q,{HS:()=>me,Hi:()=>Ct});var t=m(1281),e=m(4650),g=m(6895),A=m(3238),s=m(4761),C=m(7579),h=m(6451),P=m(5698),I=(m(2722),m(8675),m(3900),m(9521));function Z(ye,Qe){1&ye&&(e.TgZ(0,"span",8),e.Hsn(1,1),e.qZA())}function W(ye,Qe){1&ye&&(e.TgZ(0,"span",9),e.Hsn(1,2),e.qZA())}m(445),m(4006),m(9549);const K=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],q=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],D=new e.OlP("mat-chips-default-options"),v=new e.OlP("MatChipAvatar"),n=new e.OlP("MatChipTrailingIcon"),b=new e.OlP("MatChipRemove"),V=new e.OlP("MatChip");class z{}const Y=(0,A.sb)(z,-1);let Te=(()=>{class ye extends Y{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(Le){this._disabled=(0,t.Ig)(Le)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(Le,J){super(),this._elementRef=Le,this._parentChip=J,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===Le.nativeElement.nodeName&&Le.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(Le){!this.disabled&&this.isInteractive&&this._isPrimary&&(Le.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(Le){(Le.keyCode===I.K5||Le.keyCode===I.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(Le.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return ye.\u0275fac=function(Le){return new(Le||ye)(e.Y36(e.SBq),e.Y36(V))},ye.\u0275dir=e.lG2({type:ye,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(Le,J){1&Le&&e.NdJ("click",function(St){return J._handleClick(St)})("keydown",function(St){return J._handleKeydown(St)}),2&Le&&(e.uIk("tabindex",J._getTabindex())("disabled",J._getDisabledAttribute())("aria-disabled",J.disabled),e.ekj("mdc-evolution-chip__action--primary",J._isPrimary)("mdc-evolution-chip__action--presentational",!J.isInteractive)("mdc-evolution-chip__action--trailing",!J._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[e.qOj]}),ye})(),Re=0;const we=(0,A.sb)((0,A.pj)((0,A.Kr)((0,A.Id)(class{constructor(ye){this._elementRef=ye}})),"primary"),-1);let me=(()=>{class ye extends we{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(Le){this._value=Le}get removable(){return this._removable}set removable(Le){this._removable=(0,t.Ig)(Le)}get highlighted(){return this._highlighted}set highlighted(Le){this._highlighted=(0,t.Ig)(Le)}constructor(Le,J,mt,St,nt,Ye,zt,xt){super(J),this._changeDetectorRef=Le,this._ngZone=mt,this._focusMonitor=St,this._globalRippleOptions=zt,this._isRippleCentered=!1,this._onFocus=new C.x,this._onBlur=new C.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+Re++,this.ariaLabel=null,this.ariaDescription=null,this._ariaDescriptionId=`${this.id}-aria-description`,this._removable=!0,this._highlighted=!1,this.removed=new e.vpe,this.destroyed=new e.vpe,this.basicChipAttrName="mat-basic-chip",this._document=nt,this._animationsDisabled="NoopAnimations"===Ye,null!=xt&&(this.tabIndex=parseInt(xt)??this.defaultTabIndex),this._monitorFocus()}ngOnInit(){const Le=this._elementRef.nativeElement;this._isBasicChip=Le.hasAttribute(this.basicChipAttrName)||Le.tagName.toLowerCase()===this.basicChipAttrName}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngAfterContentInit(){this._actionChanges=(0,h.T)(this._allLeadingIcons.changes,this._allTrailingIcons.changes,this._allRemoveIcons.changes).subscribe(()=>this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._actionChanges?.unsubscribe(),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(Le){(Le.keyCode===I.ZH||Le.keyCode===I.yY)&&(Le.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(Le){return this._getActions().find(J=>{const mt=J._elementRef.nativeElement;return mt===Le||mt.contains(Le)})}_getActions(){const Le=[];return this.primaryAction&&Le.push(this.primaryAction),this.removeIcon&&Le.push(this.removeIcon),this.trailingIcon&&Le.push(this.trailingIcon),Le}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(Le=>{const J=null!==Le;J!==this._hasFocusInternal&&(this._hasFocusInternal=J,J?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,P.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return ye.\u0275fac=function(Le){return new(Le||ye)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(s.tE),e.Y36(g.K0),e.Y36(e.QbO,8),e.Y36(A.Y2,8),e.$8M("tabindex"))},ye.\u0275cmp=e.Xpm({type:ye,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(Le,J,mt){if(1&Le&&(e.Suo(mt,v,5),e.Suo(mt,n,5),e.Suo(mt,b,5),e.Suo(mt,v,5),e.Suo(mt,n,5),e.Suo(mt,b,5)),2&Le){let St;e.iGM(St=e.CRH())&&(J.leadingIcon=St.first),e.iGM(St=e.CRH())&&(J.trailingIcon=St.first),e.iGM(St=e.CRH())&&(J.removeIcon=St.first),e.iGM(St=e.CRH())&&(J._allLeadingIcons=St),e.iGM(St=e.CRH())&&(J._allTrailingIcons=St),e.iGM(St=e.CRH())&&(J._allRemoveIcons=St)}},viewQuery:function(Le,J){if(1&Le&&(e.Gf(A.wG,5),e.Gf(Te,5)),2&Le){let mt;e.iGM(mt=e.CRH())&&(J.ripple=mt.first),e.iGM(mt=e.CRH())&&(J.primaryAction=mt.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(Le,J){1&Le&&e.NdJ("keydown",function(St){return J._handleKeydown(St)}),2&Le&&(e.Ikx("id",J.id),e.uIk("role",J.role)("tabindex",J.role?J.tabIndex:null)("aria-label",J.ariaLabel),e.ekj("mdc-evolution-chip",!J._isBasicChip)("mdc-evolution-chip--disabled",J.disabled)("mdc-evolution-chip--with-trailing-action",J._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",J.leadingIcon)("mdc-evolution-chip--with-primary-icon",J.leadingIcon)("mdc-evolution-chip--with-avatar",J.leadingIcon)("mat-mdc-chip-with-avatar",J.leadingIcon)("mat-mdc-chip-highlighted",J.highlighted)("mat-mdc-chip-disabled",J.disabled)("mat-mdc-basic-chip",J._isBasicChip)("mat-mdc-standard-chip",!J._isBasicChip)("mat-mdc-chip-with-trailing-icon",J._hasTrailingIcon())("_mat-animation-noopable",J._animationsDisabled))},inputs:{color:"color",disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",role:"role",id:"id",ariaLabel:["aria-label","ariaLabel"],ariaDescription:["aria-description","ariaDescription"],value:"value",removable:"removable",highlighted:"highlighted"},outputs:{removed:"removed",destroyed:"destroyed"},exportAs:["matChip"],features:[e._Bn([{provide:V,useExisting:ye}]),e.qOj],ngContentSelectors:q,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(Le,J){1&Le&&(e.F$t(K),e._UZ(0,"span",0)(1,"span",1),e.TgZ(2,"span",2)(3,"span",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,W,2,0,"span",7)),2&Le&&(e.Q6J("matRippleDisabled",J._isRippleDisabled())("matRippleCentered",J._isRippleCentered)("matRippleTrigger",J._elementRef.nativeElement),e.xp6(3),e.Q6J("isInteractive",!1),e.xp6(1),e.Q6J("ngIf",J.leadingIcon),e.xp6(4),e.Q6J("ngIf",J._hasTrailingIcon()))},dependencies:[g.O5,A.wG,Te],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.mdc-evolution-chip--selected.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-basic-chip .mdc-evolution-chip__action--primary{font:inherit}.mat-mdc-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip: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;z-index:0}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{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}),ye})(),Ct=(()=>{class ye{}return ye.\u0275fac=function(Le){return new(Le||ye)},ye.\u0275mod=e.oAB({type:ye}),ye.\u0275inj=e.cJS({providers:[A.rD,{provide:D,useValue:{separatorKeyCodes:[I.K5]}}],imports:[A.BQ,g.ez,A.si,A.BQ]}),ye})()},3238:(Be,Q,m)=>{"use strict";m.d(Q,{yN:()=>te,mZ:()=>pe,_A:()=>n,rD:()=>Re,sG:()=>b,Ad:()=>D,K7:()=>J,HF:()=>Ct,Y2:()=>je,BQ:()=>ce,uc:()=>ee,XK:()=>Ve,ey:()=>zt,Ng:()=>Ut,rN:()=>nt,us:()=>at,wG:()=>lt,si:()=>Nt,LF:()=>Y,IR:()=>de,CB:()=>xt,jH:()=>Ht,pj:()=>a,Kr:()=>f,Id:()=>i,FD:()=>y,dB:()=>E,sb:()=>l});var t=m(4650),e=m(4761),g=m(445),s=m(6895),C=m(3353),h=m(1281),P=m(9751),d=m(7579),M=m(9521);const k=["text"];function O(De,X){if(1&De&&t._UZ(0,"mat-pseudo-checkbox",6),2&De){const ue=t.oxw();t.Q6J("state",ue.selected?"checked":"unchecked")("disabled",ue.disabled)}}function U(De,X){if(1&De&&t._UZ(0,"mat-pseudo-checkbox",7),2&De){const ue=t.oxw();t.Q6J("disabled",ue.disabled)}}function Z(De,X){if(1&De&&(t.TgZ(0,"span",8),t._uU(1),t.qZA()),2&De){const ue=t.oxw();t.xp6(1),t.hij("(",ue.group.label,")")}}const W=[[["mat-icon"]],"*"],K=["mat-icon","*"];let te=(()=>{class De{}return De.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",De.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",De.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",De.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",De})(),pe=(()=>{class De{}return De.COMPLEX="375ms",De.ENTERING="225ms",De.EXITING="195ms",De})();const re=new t.OlP("mat-sanity-checks",{providedIn:"root",factory:function oe(){return!0}});let ce=(()=>{class De{constructor(ue,Ee,qe){this._sanityChecks=Ee,this._document=qe,this._hasDoneGlobalChecks=!1,ue._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(ue){return!(0,C.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[ue])}}return De.\u0275fac=function(ue){return new(ue||De)(t.LFG(e.qm),t.LFG(re,8),t.LFG(s.K0))},De.\u0275mod=t.oAB({type:De}),De.\u0275inj=t.cJS({imports:[g.vT,g.vT]}),De})();function i(De){return class extends De{get disabled(){return this._disabled}set disabled(X){this._disabled=(0,h.Ig)(X)}constructor(...X){super(...X),this._disabled=!1}}}function a(De,X){return class extends De{get color(){return this._color}set color(ue){const Ee=ue||this.defaultColor;Ee!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),Ee&&this._elementRef.nativeElement.classList.add(`mat-${Ee}`),this._color=Ee)}constructor(...ue){super(...ue),this.defaultColor=X,this.color=X}}}function f(De){return class extends De{get disableRipple(){return this._disableRipple}set disableRipple(X){this._disableRipple=(0,h.Ig)(X)}constructor(...X){super(...X),this._disableRipple=!1}}}function l(De,X=0){return class extends De{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(ue){this._tabIndex=null!=ue?(0,h.su)(ue):this.defaultTabIndex}constructor(...ue){super(...ue),this._tabIndex=X,this.defaultTabIndex=X}}}function y(De){return class extends De{updateErrorState(){const X=this.errorState,Xt=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);Xt!==X&&(this.errorState=Xt,this.stateChanges.next())}constructor(...X){super(...X),this.errorState=!1}}}function E(De){return class extends De{constructor(...X){super(...X),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new P.y(ue=>{this._isInitialized?this._notifySubscriber(ue):this._pendingSubscribers.push(ue)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(X){X.next(),X.complete()}}}const D=new t.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function v(){return(0,t.f3M)(t.soG)}});class n{constructor(){this._localeChanges=new d.x,this.localeChanges=this._localeChanges}getValidDateOrNull(X){return this.isDateInstance(X)&&this.isValid(X)?X:null}deserialize(X){return null==X||this.isDateInstance(X)&&this.isValid(X)?X:this.invalid()}setLocale(X){this.locale=X,this._localeChanges.next()}compareDate(X,ue){return this.getYear(X)-this.getYear(ue)||this.getMonth(X)-this.getMonth(ue)||this.getDate(X)-this.getDate(ue)}sameDate(X,ue){if(X&&ue){let Ee=this.isValid(X),qe=this.isValid(ue);return Ee&&qe?!this.compareDate(X,ue):Ee==qe}return X==ue}clampDate(X,ue,Ee){return ue&&this.compareDate(X,ue)<0?ue:Ee&&this.compareDate(X,Ee)>0?Ee:X}}const b=new t.OlP("mat-date-formats"),V=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function z(De,X){const ue=Array(De);for(let Ee=0;Ee<De;Ee++)ue[Ee]=X(Ee);return ue}let Y=(()=>{class De extends n{constructor(ue,Ee){super(),this.useUtcForDisplay=!1,super.setLocale(ue)}getYear(ue){return ue.getFullYear()}getMonth(ue){return ue.getMonth()}getDate(ue){return ue.getDate()}getDayOfWeek(ue){return ue.getDay()}getMonthNames(ue){const Ee=new Intl.DateTimeFormat(this.locale,{month:ue,timeZone:"utc"});return z(12,qe=>this._format(Ee,new Date(2017,qe,1)))}getDateNames(){const ue=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return z(31,Ee=>this._format(ue,new Date(2017,0,Ee+1)))}getDayOfWeekNames(ue){const Ee=new Intl.DateTimeFormat(this.locale,{weekday:ue,timeZone:"utc"});return z(7,qe=>this._format(Ee,new Date(2017,0,qe+1)))}getYearName(ue){const Ee=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(Ee,ue)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(ue){return this.getDate(this._createDateWithOverflow(this.getYear(ue),this.getMonth(ue)+1,0))}clone(ue){return new Date(ue.getTime())}createDate(ue,Ee,qe){let Xt=this._createDateWithOverflow(ue,Ee,qe);return Xt.getMonth(),Xt}today(){return new Date}parse(ue,Ee){return"number"==typeof ue?new Date(ue):ue?new Date(Date.parse(ue)):null}format(ue,Ee){if(!this.isValid(ue))throw Error("NativeDateAdapter: Cannot format invalid date.");const qe=new Intl.DateTimeFormat(this.locale,{...Ee,timeZone:"utc"});return this._format(qe,ue)}addCalendarYears(ue,Ee){return this.addCalendarMonths(ue,12*Ee)}addCalendarMonths(ue,Ee){let qe=this._createDateWithOverflow(this.getYear(ue),this.getMonth(ue)+Ee,this.getDate(ue));return this.getMonth(qe)!=((this.getMonth(ue)+Ee)%12+12)%12&&(qe=this._createDateWithOverflow(this.getYear(qe),this.getMonth(qe),0)),qe}addCalendarDays(ue,Ee){return this._createDateWithOverflow(this.getYear(ue),this.getMonth(ue),this.getDate(ue)+Ee)}toIso8601(ue){return[ue.getUTCFullYear(),this._2digit(ue.getUTCMonth()+1),this._2digit(ue.getUTCDate())].join("-")}deserialize(ue){if("string"==typeof ue){if(!ue)return null;if(V.test(ue)){let Ee=new Date(ue);if(this.isValid(Ee))return Ee}}return super.deserialize(ue)}isDateInstance(ue){return ue instanceof Date}isValid(ue){return!isNaN(ue.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(ue,Ee,qe){const Xt=new Date;return Xt.setFullYear(ue,Ee,qe),Xt.setHours(0,0,0,0),Xt}_2digit(ue){return("00"+ue).slice(-2)}_format(ue,Ee){const qe=new Date;return qe.setUTCFullYear(Ee.getFullYear(),Ee.getMonth(),Ee.getDate()),qe.setUTCHours(Ee.getHours(),Ee.getMinutes(),Ee.getSeconds(),Ee.getMilliseconds()),ue.format(qe)}}return De.\u0275fac=function(ue){return new(ue||De)(t.LFG(D,8),t.LFG(C.t4))},De.\u0275prov=t.Yz7({token:De,factory:De.\u0275fac}),De})();const Te={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 $e=(()=>{class De{}return De.\u0275fac=function(ue){return new(ue||De)},De.\u0275mod=t.oAB({type:De}),De.\u0275inj=t.cJS({providers:[{provide:n,useClass:Y}]}),De})(),Ve=(()=>{class De{}return De.\u0275fac=function(ue){return new(ue||De)},De.\u0275mod=t.oAB({type:De}),De.\u0275inj=t.cJS({providers:[{provide:b,useValue:Te}],imports:[$e]}),De})(),Re=(()=>{class De{isErrorState(ue,Ee){return!!(ue&&ue.invalid&&(ue.touched||Ee&&Ee.submitted))}}return De.\u0275fac=function(ue){return new(ue||De)},De.\u0275prov=t.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})(),ee=(()=>{class De{}return De.\u0275fac=function(ue){return new(ue||De)},De.\u0275mod=t.oAB({type:De}),De.\u0275inj=t.cJS({imports:[ce,ce]}),De})();class Ze{constructor(X,ue,Ee,qe=!1){this._renderer=X,this.element=ue,this.config=Ee,this._animationForciblyDisabledThroughCss=qe,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Oe=(0,C.i$)({passive:!0,capture:!0});class fe{constructor(){this._events=new Map,this._delegateEventHandler=X=>{const ue=(0,C.sA)(X);ue&&this._events.get(X.type)?.forEach((Ee,qe)=>{(qe===ue||qe.contains(ue))&&Ee.forEach(Xt=>Xt.handleEvent(X))})}}addHandler(X,ue,Ee,qe){const Xt=this._events.get(ue);if(Xt){const Vt=Xt.get(Ee);Vt?Vt.add(qe):Xt.set(Ee,new Set([qe]))}else this._events.set(ue,new Map([[Ee,new Set([qe])]])),X.runOutsideAngular(()=>{document.addEventListener(ue,this._delegateEventHandler,Oe)})}removeHandler(X,ue,Ee){const qe=this._events.get(X);if(!qe)return;const Xt=qe.get(ue);Xt&&(Xt.delete(Ee),0===Xt.size&&qe.delete(ue),0===qe.size&&(this._events.delete(X),document.removeEventListener(X,this._delegateEventHandler,Oe)))}}const Se={enterDuration:225,exitDuration:150},xe=(0,C.i$)({passive:!0,capture:!0}),vt=["mousedown","touchstart"],Ie=["mouseup","mouseleave","touchend","touchcancel"];class de{constructor(X,ue,Ee,qe){this._target=X,this._ngZone=ue,this._platform=qe,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,qe.isBrowser&&(this._containerElement=(0,h.fI)(Ee))}fadeInRipple(X,ue,Ee={}){const qe=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),Xt={...Se,...Ee.animation};Ee.centered&&(X=qe.left+qe.width/2,ue=qe.top+qe.height/2);const Vt=Ee.radius||function rt(De,X,ue){const Ee=Math.max(Math.abs(De-ue.left),Math.abs(De-ue.right)),qe=Math.max(Math.abs(X-ue.top),Math.abs(X-ue.bottom));return Math.sqrt(Ee*Ee+qe*qe)}(X,ue,qe),ri=X-qe.left,pt=ue-qe.top,ot=Xt.enterDuration,ut=document.createElement("div");ut.classList.add("mat-ripple-element"),ut.style.left=ri-Vt+"px",ut.style.top=pt-Vt+"px",ut.style.height=2*Vt+"px",ut.style.width=2*Vt+"px",null!=Ee.color&&(ut.style.backgroundColor=Ee.color),ut.style.transitionDuration=`${ot}ms`,this._containerElement.appendChild(ut);const wt=window.getComputedStyle(ut),Xe=wt.transitionDuration,gt="none"===wt.transitionProperty||"0s"===Xe||"0s, 0s"===Xe||0===qe.width&&0===qe.height,_t=new Ze(this,ut,Ee,gt);ut.style.transform="scale3d(1, 1, 1)",_t.state=0,Ee.persistent||(this._mostRecentTransientRipple=_t);let Fe=null;return!gt&&(ot||Xt.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const Mt=()=>this._finishRippleTransition(_t),Et=()=>this._destroyRipple(_t);ut.addEventListener("transitionend",Mt),ut.addEventListener("transitioncancel",Et),Fe={onTransitionEnd:Mt,onTransitionCancel:Et}}),this._activeRipples.set(_t,Fe),(gt||!ot)&&this._finishRippleTransition(_t),_t}fadeOutRipple(X){if(2===X.state||3===X.state)return;const ue=X.element,Ee={...Se,...X.config.animation};ue.style.transitionDuration=`${Ee.exitDuration}ms`,ue.style.opacity="0",X.state=2,(X._animationForciblyDisabledThroughCss||!Ee.exitDuration)&&this._finishRippleTransition(X)}fadeOutAll(){this._getActiveRipples().forEach(X=>X.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(X=>{X.config.persistent||X.fadeOut()})}setupTriggerEvents(X){const ue=(0,h.fI)(X);!this._platform.isBrowser||!ue||ue===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=ue,vt.forEach(Ee=>{de._eventManager.addHandler(this._ngZone,Ee,ue,this)}))}handleEvent(X){"mousedown"===X.type?this._onMousedown(X):"touchstart"===X.type?this._onTouchStart(X):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ie.forEach(ue=>{this._triggerElement.addEventListener(ue,this,xe)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(X){0===X.state?this._startFadeOutTransition(X):2===X.state&&this._destroyRipple(X)}_startFadeOutTransition(X){const ue=X===this._mostRecentTransientRipple,{persistent:Ee}=X.config;X.state=1,!Ee&&(!ue||!this._isPointerDown)&&X.fadeOut()}_destroyRipple(X){const ue=this._activeRipples.get(X)??null;this._activeRipples.delete(X),this._activeRipples.size||(this._containerRect=null),X===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),X.state=3,null!==ue&&(X.element.removeEventListener("transitionend",ue.onTransitionEnd),X.element.removeEventListener("transitioncancel",ue.onTransitionCancel)),X.element.remove()}_onMousedown(X){const ue=(0,e.X6)(X),Ee=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!ue&&!Ee&&(this._isPointerDown=!0,this.fadeInRipple(X.clientX,X.clientY,this._target.rippleConfig))}_onTouchStart(X){if(!this._target.rippleDisabled&&!(0,e.yG)(X)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const ue=X.changedTouches;for(let Ee=0;Ee<ue.length;Ee++)this.fadeInRipple(ue[Ee].clientX,ue[Ee].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(X=>{!X.config.persistent&&(1===X.state||X.config.terminateOnPointerUp&&0===X.state)&&X.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const X=this._triggerElement;X&&(vt.forEach(ue=>de._eventManager.removeHandler(ue,X,this)),this._pointerUpEventsRegistered&&Ie.forEach(ue=>X.removeEventListener(ue,this,xe)))}}de._eventManager=new fe;const je=new t.OlP("mat-ripple-global-options");let lt=(()=>{class De{get disabled(){return this._disabled}set disabled(ue){ue&&this.fadeOutAllNonPersistent(),this._disabled=ue,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(ue){this._trigger=ue,this._setupTriggerEventsIfEnabled()}constructor(ue,Ee,qe,Xt,Vt){this._elementRef=ue,this._animationMode=Vt,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=Xt||{},this._rippleRenderer=new de(this,Ee,ue,qe)}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(ue,Ee=0,qe){return"number"==typeof ue?this._rippleRenderer.fadeInRipple(ue,Ee,{...this.rippleConfig,...qe}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...ue})}}return De.\u0275fac=function(ue){return new(ue||De)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(C.t4),t.Y36(je,8),t.Y36(t.QbO,8))},De.\u0275dir=t.lG2({type:De,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(ue,Ee){2&ue&&t.ekj("mat-ripple-unbounded",Ee.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"]}),De})(),Nt=(()=>{class De{}return De.\u0275fac=function(ue){return new(ue||De)},De.\u0275mod=t.oAB({type:De}),De.\u0275inj=t.cJS({imports:[ce,ce]}),De})(),Ke=(()=>{class De{constructor(ue){this._animationMode=ue,this.state="unchecked",this.disabled=!1,this.appearance="full"}}return De.\u0275fac=function(ue){return new(ue||De)(t.Y36(t.QbO,8))},De.\u0275cmp=t.Xpm({type:De,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:12,hostBindings:function(ue,Ee){2&ue&&t.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===Ee.state)("mat-pseudo-checkbox-checked","checked"===Ee.state)("mat-pseudo-checkbox-disabled",Ee.disabled)("mat-pseudo-checkbox-minimal","minimal"===Ee.appearance)("mat-pseudo-checkbox-full","full"===Ee.appearance)("_mat-animation-noopable","NoopAnimations"===Ee._animationMode)},inputs:{state:"state",disabled:"disabled",appearance:"appearance"},decls:0,vars:0,template:function(ue,Ee){},styles:['.mat-pseudo-checkbox{border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox-full{border:2px solid}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-checked::after{width:14px;height:6px;transform-origin:center;top:-4.2426406871px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-minimal.mat-pseudo-checkbox-indeterminate::after{top:8px;width:16px}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-checked::after{width:10px;height:4px;transform-origin:center;top:-2.8284271247px;left:0;bottom:0;right:0;margin:auto}.mat-pseudo-checkbox-full.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}'],encapsulation:2,changeDetection:0}),De})(),at=(()=>{class De{}return De.\u0275fac=function(ue){return new(ue||De)},De.\u0275mod=t.oAB({type:De}),De.\u0275inj=t.cJS({imports:[ce]}),De})();const Ct=new t.OlP("MAT_OPTION_PARENT_COMPONENT"),J=new t.OlP("MatOptgroup");let St=0;class nt{constructor(X,ue=!1){this.source=X,this.isUserInput=ue}}let Ye=(()=>{class De{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(ue){this._disabled=(0,h.Ig)(ue)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get hideSingleSelectionIndicator(){return!(!this._parent||!this._parent.hideSingleSelectionIndicator)}constructor(ue,Ee,qe,Xt){this._element=ue,this._changeDetectorRef=Ee,this._parent=qe,this.group=Xt,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+St++,this.onSelectionChange=new t.vpe,this._stateChanges=new d.x}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(ue,Ee){const qe=this._getHostElement();"function"==typeof qe.focus&&qe.focus(Ee)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(ue){(ue.keyCode===M.K5||ue.keyCode===M.L_)&&!(0,M.Vb)(ue)&&(this._selectViaInteraction(),ue.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const ue=this.viewValue;ue!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=ue)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(ue=!1){this.onSelectionChange.emit(new nt(this,ue))}}return De.\u0275fac=function(ue){t.$Z()},De.\u0275dir=t.lG2({type:De,viewQuery:function(ue,Ee){if(1&ue&&t.Gf(k,7),2&ue){let qe;t.iGM(qe=t.CRH())&&(Ee._text=qe.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),De})(),zt=(()=>{class De extends Ye{constructor(ue,Ee,qe,Xt){super(ue,Ee,qe,Xt)}}return De.\u0275fac=function(ue){return new(ue||De)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(Ct,8),t.Y36(J,8))},De.\u0275cmp=t.Xpm({type:De,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mdc-list-item"],hostVars:11,hostBindings:function(ue,Ee){1&ue&&t.NdJ("click",function(){return Ee._selectViaInteraction()})("keydown",function(Xt){return Ee._handleKeydown(Xt)}),2&ue&&(t.Ikx("id",Ee.id),t.uIk("aria-selected",Ee.selected)("aria-disabled",Ee.disabled.toString()),t.ekj("mdc-list-item--selected",Ee.selected)("mat-mdc-option-multiple",Ee.multiple)("mat-mdc-option-active",Ee.active)("mdc-list-item--disabled",Ee.disabled))},exportAs:["matOption"],features:[t.qOj],ngContentSelectors:K,decls:8,vars:5,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","mat-mdc-option-pseudo-checkbox","state","checked","appearance","minimal",3,"disabled",4,"ngIf"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],["state","checked","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"cdk-visually-hidden"]],template:function(ue,Ee){1&ue&&(t.F$t(W),t.YNc(0,O,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,1,1,"mat-pseudo-checkbox",3),t.YNc(6,Z,2,1,"span",4),t._UZ(7,"div",5)),2&ue&&(t.Q6J("ngIf",Ee.multiple),t.xp6(5),t.Q6J("ngIf",!Ee.multiple&&Ee.selected&&!Ee.hideSingleSelectionIndicator),t.xp6(1),t.Q6J("ngIf",Ee.group&&Ee.group._inert),t.xp6(1),t.Q6J("matRippleTrigger",Ee._getHostElement())("matRippleDisabled",Ee.disabled||Ee.disableRipple))},dependencies:[lt,s.O5,Ke],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-full{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-full{margin-right:0;margin-left:16px}.mat-mdc-option .mat-pseudo-checkbox-minimal{margin-left:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox-minimal{margin-right:16px;margin-left:0}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit;margin-right:auto}[dir=rtl] .mat-mdc-option .mdc-list-item__primary-text{margin-right:0;margin-left:auto}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),De})();function xt(De,X,ue){if(ue.length){let Ee=X.toArray(),qe=ue.toArray(),Xt=0;for(let Vt=0;Vt<De+1;Vt++)Ee[Vt].group&&Ee[Vt].group===qe[Xt]&&Xt++;return Xt}return 0}function Ht(De,X,ue,Ee){return De<ue?De:De+X>ue+Ee?Math.max(0,De-Ee+X):ue}let Ut=(()=>{class De{}return De.\u0275fac=function(ue){return new(ue||De)},De.\u0275mod=t.oAB({type:De}),De.\u0275inj=t.cJS({imports:[Nt,s.ez,ce,at]}),De})()},9602:(Be,Q,m)=>{"use strict";m.d(Q,{FA:()=>tn,Mq:()=>ot,hl:()=>_t,nW:()=>Mt});var t=m(4761),e=m(8184),g=m(4080),A=m(6895),s=m(4650),C=m(4859),h=m(531),P=m(3238),d=m(7579),M=m(727),w=m(6451),I=m(9646),k=m(9521),O=m(445),U=m(3353),Z=m(5698),W=m(8675),K=m(9300),q=m(1281),te=m(7340),pe=m(4006),oe=m(9549),re=m(4144);const ce=["mat-calendar-body",""];function se(Zt,Qt){if(1&Zt&&(s.TgZ(0,"tr",3)(1,"td",4),s._uU(2),s.qZA()()),2&Zt){const _e=s.oxw();s.xp6(1),s.Udp("padding-top",_e._cellPadding)("padding-bottom",_e._cellPadding),s.uIk("colspan",_e.numCols),s.xp6(1),s.hij(" ",_e.label," ")}}function he(Zt,Qt){if(1&Zt&&(s.TgZ(0,"td",4),s._uU(1),s.qZA()),2&Zt){const _e=s.oxw(2);s.Udp("padding-top",_e._cellPadding)("padding-bottom",_e._cellPadding),s.uIk("colspan",_e._firstRowOffset),s.xp6(1),s.hij(" ",_e._firstRowOffset>=_e.labelMinRequiredCells?_e.label:""," ")}}function S(Zt,Qt){if(1&Zt){const _e=s.EpF();s.TgZ(0,"td",8)(1,"button",9),s.NdJ("click",function(Lt){const Ot=s.CHM(_e).$implicit,_i=s.oxw(2);return s.KtG(_i._cellClicked(Ot,Lt))})("focus",function(Lt){const Ot=s.CHM(_e).$implicit,_i=s.oxw(2);return s.KtG(_i._emitActiveDateChange(Ot,Lt))}),s.TgZ(2,"span",10),s._uU(3),s.qZA(),s._UZ(4,"span",11),s.qZA()()}if(2&Zt){const _e=Qt.$implicit,ht=Qt.index,Lt=s.oxw().index,Bt=s.oxw();s.Udp("width",Bt._cellWidth)("padding-top",Bt._cellPadding)("padding-bottom",Bt._cellPadding),s.uIk("data-mat-row",Lt)("data-mat-col",ht),s.xp6(1),s.ekj("mat-calendar-body-disabled",!_e.enabled)("mat-calendar-body-active",Bt._isActiveCell(Lt,ht))("mat-calendar-body-range-start",Bt._isRangeStart(_e.compareValue))("mat-calendar-body-range-end",Bt._isRangeEnd(_e.compareValue))("mat-calendar-body-in-range",Bt._isInRange(_e.compareValue))("mat-calendar-body-comparison-bridge-start",Bt._isComparisonBridgeStart(_e.compareValue,Lt,ht))("mat-calendar-body-comparison-bridge-end",Bt._isComparisonBridgeEnd(_e.compareValue,Lt,ht))("mat-calendar-body-comparison-start",Bt._isComparisonStart(_e.compareValue))("mat-calendar-body-comparison-end",Bt._isComparisonEnd(_e.compareValue))("mat-calendar-body-in-comparison-range",Bt._isInComparisonRange(_e.compareValue))("mat-calendar-body-preview-start",Bt._isPreviewStart(_e.compareValue))("mat-calendar-body-preview-end",Bt._isPreviewEnd(_e.compareValue))("mat-calendar-body-in-preview",Bt._isInPreview(_e.compareValue)),s.Q6J("ngClass",_e.cssClasses)("tabindex",Bt._isActiveCell(Lt,ht)?0:-1),s.uIk("aria-label",_e.ariaLabel)("aria-disabled",!_e.enabled||null)("aria-pressed",Bt._isSelected(_e.compareValue))("aria-current",Bt.todayValue===_e.compareValue?"date":null)("aria-describedby",Bt._getDescribedby(_e.compareValue)),s.xp6(1),s.ekj("mat-calendar-body-selected",Bt._isSelected(_e.compareValue))("mat-calendar-body-comparison-identical",Bt._isComparisonIdentical(_e.compareValue))("mat-calendar-body-today",Bt.todayValue===_e.compareValue),s.xp6(1),s.hij(" ",_e.displayValue," ")}}function i(Zt,Qt){if(1&Zt&&(s.TgZ(0,"tr",5),s.YNc(1,he,2,6,"td",6),s.YNc(2,S,5,48,"td",7),s.qZA()),2&Zt){const _e=Qt.$implicit,ht=Qt.index,Lt=s.oxw();s.xp6(1),s.Q6J("ngIf",0===ht&&Lt._firstRowOffset),s.xp6(1),s.Q6J("ngForOf",_e)}}function a(Zt,Qt){if(1&Zt&&(s.TgZ(0,"th",5)(1,"span",6),s._uU(2),s.qZA(),s.TgZ(3,"span",7),s._uU(4),s.qZA()()),2&Zt){const _e=Qt.$implicit;s.xp6(2),s.Oqu(_e.long),s.xp6(2),s.Oqu(_e.narrow)}}const f=["*"];function l(Zt,Qt){}function y(Zt,Qt){if(1&Zt){const _e=s.EpF();s.TgZ(0,"mat-month-view",5),s.NdJ("activeDateChange",function(Lt){s.CHM(_e);const Bt=s.oxw();return s.KtG(Bt.activeDate=Lt)})("_userSelection",function(Lt){s.CHM(_e);const Bt=s.oxw();return s.KtG(Bt._dateSelected(Lt))})("dragStarted",function(Lt){s.CHM(_e);const Bt=s.oxw();return s.KtG(Bt._dragStarted(Lt))})("dragEnded",function(Lt){s.CHM(_e);const Bt=s.oxw();return s.KtG(Bt._dragEnded(Lt))}),s.qZA()}if(2&Zt){const _e=s.oxw();s.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)("activeDrag",_e._activeDrag)}}function E(Zt,Qt){if(1&Zt){const _e=s.EpF();s.TgZ(0,"mat-year-view",6),s.NdJ("activeDateChange",function(Lt){s.CHM(_e);const Bt=s.oxw();return s.KtG(Bt.activeDate=Lt)})("monthSelected",function(Lt){s.CHM(_e);const Bt=s.oxw();return s.KtG(Bt._monthSelectedInYearView(Lt))})("selectedChange",function(Lt){s.CHM(_e);const Bt=s.oxw();return s.KtG(Bt._goToDateInView(Lt,"month"))}),s.qZA()}if(2&Zt){const _e=s.oxw();s.Q6J("activeDate",_e.activeDate)("selected",_e.selected)("dateFilter",_e.dateFilter)("maxDate",_e.maxDate)("minDate",_e.minDate)("dateClass",_e.dateClass)}}function D(Zt,Qt){if(1&Zt){const _e=s.EpF();s.TgZ(0,"mat-multi-year-view",7),s.NdJ("activeDateChange",function(Lt){s.CHM(_e);const Bt=s.oxw();return s.KtG(Bt.activeDate=Lt)})("yearSelected",function(Lt){s.CHM(_e);const Bt=s.oxw();return s.KtG(Bt._yearSelectedInMultiYearView(Lt))})("selectedChange",function(Lt){s.CHM(_e);const Bt=s.oxw();return s.KtG(Bt._goToDateInView(Lt,"year"))}),s.qZA()}if(2&Zt){const _e=s.oxw();s.Q6J("activeDate",_e.activeDate)("selected",_e.selected)("dateFilter",_e.dateFilter)("maxDate",_e.maxDate)("minDate",_e.minDate)("dateClass",_e.dateClass)}}function v(Zt,Qt){}const n=["button"];function b(Zt,Qt){1&Zt&&(s.O4$(),s.TgZ(0,"svg",3),s._UZ(1,"path",4),s.qZA())}const V=[[["","matDatepickerToggleIcon",""]]],z=["[matDatepickerToggleIcon]"];let We=(()=>{class Zt{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,ht){return`${_e} \u2013 ${ht}`}formatYearRangeLabel(_e,ht){return`${_e} to ${ht}`}}return Zt.\u0275fac=function(_e){return new(_e||Zt)},Zt.\u0275prov=s.Yz7({token:Zt,factory:Zt.\u0275fac,providedIn:"root"}),Zt})();class Re{constructor(Qt,_e,ht,Lt,Bt={},Ot=Qt,_i){this.value=Qt,this.displayValue=_e,this.ariaLabel=ht,this.enabled=Lt,this.cssClasses=Bt,this.compareValue=Ot,this.rawValue=_i}}let we=1,me=(()=>{class Zt{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(_e,ht){this._elementRef=_e,this._ngZone=ht,this._platform=(0,s.f3M)(U.t4),this._focusActiveCellAfterViewChecked=!1,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new s.vpe,this.previewChange=new s.vpe,this.activeDateChange=new s.vpe,this.dragStarted=new s.vpe,this.dragEnded=new s.vpe,this._didDragSinceMouseDown=!1,this._enterHandler=Lt=>{if(this._skipNextFocus&&"focus"===Lt.type)this._skipNextFocus=!1;else if(Lt.target&&this.isRange){const Bt=this._getCellFromElement(Lt.target);Bt&&this._ngZone.run(()=>this.previewChange.emit({value:Bt.enabled?Bt:null,event:Lt}))}},this._touchmoveHandler=Lt=>{if(!this.isRange)return;const Bt=Se(Lt),Ot=Bt?this._getCellFromElement(Bt):null;Bt!==Lt.target&&(this._didDragSinceMouseDown=!0),ee(Lt.target)&&Lt.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:Ot?.enabled?Ot:null,event:Lt}))},this._leaveHandler=Lt=>{null!==this.previewEnd&&this.isRange&&("blur"!==Lt.type&&(this._didDragSinceMouseDown=!0),Lt.target&&this._getCellFromElement(Lt.target)&&(!Lt.relatedTarget||!this._getCellFromElement(Lt.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:Lt})))},this._mousedownHandler=Lt=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const Bt=Lt.target&&this._getCellFromElement(Lt.target);!Bt||!this._isInRange(Bt.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:Bt.rawValue,event:Lt})})},this._mouseupHandler=Lt=>{if(!this.isRange)return;const Bt=ee(Lt.target);Bt?Bt.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const Ot=this._getCellFromElement(Bt);this.dragEnded.emit({value:Ot?.rawValue??null,event:Lt})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:Lt})})},this._touchendHandler=Lt=>{const Bt=Se(Lt);Bt&&this._mouseupHandler({target:Bt})},this._id="mat-calendar-body-"+we++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,ht.runOutsideAngular(()=>{const Lt=_e.nativeElement;Lt.addEventListener("mouseenter",this._enterHandler,!0),Lt.addEventListener("touchmove",this._touchmoveHandler,!0),Lt.addEventListener("focus",this._enterHandler,!0),Lt.addEventListener("mouseleave",this._leaveHandler,!0),Lt.addEventListener("blur",this._leaveHandler,!0),Lt.addEventListener("mousedown",this._mousedownHandler),Lt.addEventListener("touchstart",this._mousedownHandler),this._platform.isBrowser&&(window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler))})}_cellClicked(_e,ht){this._didDragSinceMouseDown||_e.enabled&&this.selectedValueChange.emit({value:_e.value,event:ht})}_emitActiveDateChange(_e,ht){_e.enabled&&this.activeDateChange.emit({value:_e.value,event:ht})}_isSelected(_e){return this.startValue===_e||this.endValue===_e}ngOnChanges(_e){const ht=_e.numCols,{rows:Lt,numCols:Bt}=this;(_e.rows||ht)&&(this._firstRowOffset=Lt&&Lt.length&&Lt[0].length?Bt-Lt[0].length:0),(_e.cellAspectRatio||ht||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Bt+"%"),(ht||!this._cellWidth)&&(this._cellWidth=100/Bt+"%")}ngOnDestroy(){const _e=this._elementRef.nativeElement;_e.removeEventListener("mouseenter",this._enterHandler,!0),_e.removeEventListener("touchmove",this._touchmoveHandler,!0),_e.removeEventListener("focus",this._enterHandler,!0),_e.removeEventListener("mouseleave",this._leaveHandler,!0),_e.removeEventListener("blur",this._leaveHandler,!0),_e.removeEventListener("mousedown",this._mousedownHandler),_e.removeEventListener("touchstart",this._mousedownHandler),this._platform.isBrowser&&(window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler))}_isActiveCell(_e,ht){let Lt=_e*this.numCols+ht;return _e&&(Lt-=this._firstRowOffset),Lt==this.activeCell}_focusActiveCell(_e=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,Z.q)(1)).subscribe(()=>{setTimeout(()=>{const ht=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");ht&&(_e||(this._skipNextFocus=!0),ht.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(_e){return Ze(_e,this.startValue,this.endValue)}_isRangeEnd(_e){return Oe(_e,this.startValue,this.endValue)}_isInRange(_e){return fe(_e,this.startValue,this.endValue,this.isRange)}_isComparisonStart(_e){return Ze(_e,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(_e,ht,Lt){if(!this._isComparisonStart(_e)||this._isRangeStart(_e)||!this._isInRange(_e))return!1;let Bt=this.rows[ht][Lt-1];if(!Bt){const Ot=this.rows[ht-1];Bt=Ot&&Ot[Ot.length-1]}return Bt&&!this._isRangeEnd(Bt.compareValue)}_isComparisonBridgeEnd(_e,ht,Lt){if(!this._isComparisonEnd(_e)||this._isRangeEnd(_e)||!this._isInRange(_e))return!1;let Bt=this.rows[ht][Lt+1];if(!Bt){const Ot=this.rows[ht+1];Bt=Ot&&Ot[0]}return Bt&&!this._isRangeStart(Bt.compareValue)}_isComparisonEnd(_e){return Oe(_e,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(_e){return fe(_e,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(_e){return this.comparisonStart===this.comparisonEnd&&_e===this.comparisonStart}_isPreviewStart(_e){return Ze(_e,this.previewStart,this.previewEnd)}_isPreviewEnd(_e){return Oe(_e,this.previewStart,this.previewEnd)}_isInPreview(_e){return fe(_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){const ht=ee(_e);if(ht){const Lt=ht.getAttribute("data-mat-row"),Bt=ht.getAttribute("data-mat-col");if(Lt&&Bt)return this.rows[parseInt(Lt)][parseInt(Bt)]}return null}}return Zt.\u0275fac=function(_e){return new(_e||Zt)(s.Y36(s.SBq),s.Y36(s.R0b))},Zt.\u0275cmp=s.Xpm({type:Zt,selectors:[["","mat-calendar-body",""]],hostAttrs:[1,"mat-calendar-body"],inputs:{label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",previewStart:"previewStart",previewEnd:"previewEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange",activeDateChange:"activeDateChange",dragStarted:"dragStarted",dragEnded:"dragEnded"},exportAs:["matCalendarBody"],features:[s.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,ht){1&_e&&(s.YNc(0,se,3,6,"tr",0),s.YNc(1,i,3,2,"tr",1),s.TgZ(2,"label",2),s._uU(3),s.qZA(),s.TgZ(4,"label",2),s._uU(5),s.qZA()),2&_e&&(s.Q6J("ngIf",ht._firstRowOffset<ht.labelMinRequiredCells),s.xp6(1),s.Q6J("ngForOf",ht.rows),s.xp6(1),s.Q6J("id",ht._startDateLabelId),s.xp6(1),s.hij(" ",ht.startDateAccessibleName,"\n"),s.xp6(1),s.Q6J("id",ht._endDateLabelId),s.xp6(1),s.hij(" ",ht.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;display:block;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .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}),Zt})();function Ae(Zt){return"TD"===Zt?.nodeName}function ee(Zt){let Qt;return Ae(Zt)?Qt=Zt:Ae(Zt.parentNode)?Qt=Zt.parentNode:Ae(Zt.parentNode?.parentNode)&&(Qt=Zt.parentNode.parentNode),null!=Qt?.getAttribute("data-mat-row")?Qt:null}function Ze(Zt,Qt,_e){return null!==_e&&Qt!==_e&&Zt<_e&&Zt===Qt}function Oe(Zt,Qt,_e){return null!==Qt&&Qt!==_e&&Zt>=Qt&&Zt===_e}function fe(Zt,Qt,_e,ht){return ht&&null!==Qt&&null!==_e&&Qt!==_e&&Zt>=Qt&&Zt<=_e}function Se(Zt){const Qt=Zt.changedTouches[0];return document.elementFromPoint(Qt.clientX,Qt.clientY)}class ge{constructor(Qt,_e){this.start=Qt,this.end=_e}}let xe=(()=>{class Zt{constructor(_e,ht){this.selection=_e,this._adapter=ht,this._selectionChanged=new d.x,this.selectionChanged=this._selectionChanged,this.selection=_e}updateSelection(_e,ht){const Lt=this.selection;this.selection=_e,this._selectionChanged.next({selection:_e,source:ht,oldValue:Lt})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(_e){return this._adapter.isDateInstance(_e)&&this._adapter.isValid(_e)}}return Zt.\u0275fac=function(_e){s.$Z()},Zt.\u0275prov=s.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})(),vt=(()=>{class Zt extends xe{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 Zt(this._adapter);return _e.updateSelection(this.selection,this),_e}}return Zt.\u0275fac=function(_e){return new(_e||Zt)(s.LFG(P._A))},Zt.\u0275prov=s.Yz7({token:Zt,factory:Zt.\u0275fac}),Zt})();const rt={provide:xe,deps:[[new s.FiY,new s.tp0,xe],P._A],useFactory:function de(Zt,Qt){return Zt||new vt(Qt)}},Nt=new s.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let Qe=(()=>{class Zt{get activeDate(){return this._activeDate}set activeDate(_e){const ht=this._activeDate,Lt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Lt,this.minDate,this.maxDate),this._hasSameMonthAndYear(ht,this._activeDate)||this._init()}get selected(){return this._selected}set selected(_e){this._selected=_e instanceof ge?_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))}constructor(_e,ht,Lt,Bt,Ot){this._changeDetectorRef=_e,this._dateFormats=ht,this._dateAdapter=Lt,this._dir=Bt,this._rangeStrategy=Ot,this._rerenderSubscription=M.w0.EMPTY,this.activeDrag=null,this.selectedChange=new s.vpe,this._userSelection=new s.vpe,this.dragStarted=new s.vpe,this.dragEnded=new s.vpe,this.activeDateChange=new s.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,W.O)(null)).subscribe(()=>this._init())}ngOnChanges(_e){const ht=_e.comparisonStart||_e.comparisonEnd;ht&&!ht.firstChange&&this._setRanges(this.selected),_e.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(_e){const ht=_e.value,Lt=this._getDateFromDayOfMonth(ht);let Bt,Ot;this._selected instanceof ge?(Bt=this._getDateInCurrentMonth(this._selected.start),Ot=this._getDateInCurrentMonth(this._selected.end)):Bt=Ot=this._getDateInCurrentMonth(this._selected),(Bt!==ht||Ot!==ht)&&this.selectedChange.emit(Lt),this._userSelection.emit({value:Lt,event:_e.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(_e){const Lt=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(_e.value),this._dateAdapter.compareDate(Lt,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(_e){const ht=this._activeDate,Lt=this._isRtl();switch(_e.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Lt?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,Lt?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case k.Ku:this.activeDate=_e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case k.VM:this.activeDate=_e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case k.K5:case k.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&_e.preventDefault());case k.hY:return void(null!=this._previewEnd&&!(0,k.Vb)(_e)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:_e}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:_e})),_e.preventDefault(),_e.stopPropagation()));default:return}this._dateAdapter.compareDate(ht,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),_e.preventDefault()}_handleCalendarBodyKeyup(_e){(_e.keyCode===k.L_||_e.keyCode===k.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:ht}){if(this._rangeStrategy){const Lt=ht?ht.rawValue:null,Bt=this._rangeStrategy.createPreview(Lt,this.selected,_e);if(this._previewStart=this._getCellCompareValue(Bt.start),this._previewEnd=this._getCellCompareValue(Bt.end),this.activeDrag&&Lt){const Ot=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,Lt,_e);Ot&&(this._previewStart=this._getCellCompareValue(Ot.start),this._previewEnd=this._getCellCompareValue(Ot.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(_e){if(this.activeDrag)if(_e.value){const ht=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,_e.value,_e.event);this.dragEnded.emit({value:ht??null,event:_e.event})}else this.dragEnded.emit({value:null,event:_e.event})}_getDateFromDayOfMonth(_e){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),_e)}_initWeekdays(){const _e=this._dateAdapter.getFirstDayOfWeek(),ht=this._dateAdapter.getDayOfWeekNames("narrow");let Bt=this._dateAdapter.getDayOfWeekNames("long").map((Ot,_i)=>({long:Ot,narrow:ht[_i]}));this._weekdays=Bt.slice(_e).concat(Bt.slice(0,_e))}_createWeekCells(){const _e=this._dateAdapter.getNumDaysInMonth(this.activeDate),ht=this._dateAdapter.getDateNames();this._weeks=[[]];for(let Lt=0,Bt=this._firstWeekOffset;Lt<_e;Lt++,Bt++){7==Bt&&(this._weeks.push([]),Bt=0);const Ot=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),Lt+1),_i=this._shouldEnableDate(Ot),$t=this._dateAdapter.format(Ot,this._dateFormats.display.dateA11yLabel),di=this.dateClass?this.dateClass(Ot,"month"):void 0;this._weeks[this._weeks.length-1].push(new Re(Lt+1,ht[Lt],$t,_i,di,this._getCellCompareValue(Ot),Ot))}}_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,ht){return!(!_e||!ht||this._dateAdapter.getMonth(_e)!=this._dateAdapter.getMonth(ht)||this._dateAdapter.getYear(_e)!=this._dateAdapter.getYear(ht))}_getCellCompareValue(_e){if(_e){const ht=this._dateAdapter.getYear(_e),Lt=this._dateAdapter.getMonth(_e),Bt=this._dateAdapter.getDate(_e);return new Date(ht,Lt,Bt).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(_e){_e instanceof ge?(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)}_clearPreview(){this._previewStart=this._previewEnd=null}}return Zt.\u0275fac=function(_e){return new(_e||Zt)(s.Y36(s.sBO),s.Y36(P.sG,8),s.Y36(P._A,8),s.Y36(O.Is,8),s.Y36(Nt,8))},Zt.\u0275cmp=s.Xpm({type:Zt,selectors:[["mat-month-view"]],viewQuery:function(_e,ht){if(1&_e&&s.Gf(me,5),2&_e){let Lt;s.iGM(Lt=s.CRH())&&(ht._matCalendarBody=Lt.first)}},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName",activeDrag:"activeDrag"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",dragStarted:"dragStarted",dragEnded:"dragEnded",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[s.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","dragStarted","dragEnded","keyup","keydown"],["scope","col"],[1,"cdk-visually-hidden"],["aria-hidden","true"]],template:function(_e,ht){1&_e&&(s.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),s.YNc(3,a,5,2,"th",2),s.qZA(),s.TgZ(4,"tr"),s._UZ(5,"th",3),s.qZA()(),s.TgZ(6,"tbody",4),s.NdJ("selectedValueChange",function(Bt){return ht._dateSelected(Bt)})("activeDateChange",function(Bt){return ht._updateActiveDate(Bt)})("previewChange",function(Bt){return ht._previewChanged(Bt)})("dragStarted",function(Bt){return ht.dragStarted.emit(Bt)})("dragEnded",function(Bt){return ht._dragEnded(Bt)})("keyup",function(Bt){return ht._handleCalendarBodyKeyup(Bt)})("keydown",function(Bt){return ht._handleCalendarBodyKeydown(Bt)}),s.qZA()()),2&_e&&(s.xp6(3),s.Q6J("ngForOf",ht._weekdays),s.xp6(3),s.Q6J("label",ht._monthLabel)("rows",ht._weeks)("todayValue",ht._todayDate)("startValue",ht._rangeStart)("endValue",ht._rangeEnd)("comparisonStart",ht._comparisonRangeStart)("comparisonEnd",ht._comparisonRangeEnd)("previewStart",ht._previewStart)("previewEnd",ht._previewEnd)("isRange",ht._isRange)("labelMinRequiredCells",3)("activeCell",ht._dateAdapter.getDate(ht.activeDate)-1)("startDateAccessibleName",ht.startDateAccessibleName)("endDateAccessibleName",ht.endDateAccessibleName))},dependencies:[A.sg,me],encapsulation:2,changeDetection:0}),Zt})();const Le=24;let mt=(()=>{class Zt{get activeDate(){return this._activeDate}set activeDate(_e){let ht=this._activeDate;const Lt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Lt,this.minDate,this.maxDate),St(this._dateAdapter,ht,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(_e){this._selected=_e instanceof ge?_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))}constructor(_e,ht,Lt){this._changeDetectorRef=_e,this._dateAdapter=ht,this._dir=Lt,this._rerenderSubscription=M.w0.EMPTY,this.selectedChange=new s.vpe,this.yearSelected=new s.vpe,this.activeDateChange=new s.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,W.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const ht=this._dateAdapter.getYear(this._activeDate)-nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let Lt=0,Bt=[];Lt<Le;Lt++)Bt.push(ht+Lt),4==Bt.length&&(this._years.push(Bt.map(Ot=>this._createCellForYear(Ot))),Bt=[]);this._changeDetectorRef.markForCheck()}_yearSelected(_e){const ht=_e.value,Lt=this._dateAdapter.createDate(ht,0,1),Bt=this._getDateFromYear(ht);this.yearSelected.emit(Lt),this.selectedChange.emit(Bt)}_updateActiveDate(_e){const Lt=this._activeDate;this.activeDate=this._getDateFromYear(_e.value),this._dateAdapter.compareDate(Lt,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(_e){const ht=this._activeDate,Lt=this._isRtl();switch(_e.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Lt?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Lt?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,Le-nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_e.altKey?10*-Le:-Le);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_e.altKey?10*Le:Le);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(ht,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),_e.preventDefault()}_handleCalendarBodyKeyup(_e){(_e.keyCode===k.L_||_e.keyCode===k.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:_e}),this._selectionKeyPressed=!1)}_getActiveCell(){return nt(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(_e){const ht=this._dateAdapter.getMonth(this.activeDate),Lt=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(_e,ht,1));return this._dateAdapter.createDate(_e,ht,Math.min(this._dateAdapter.getDate(this.activeDate),Lt))}_createCellForYear(_e){const ht=this._dateAdapter.createDate(_e,0,1),Lt=this._dateAdapter.getYearName(ht),Bt=this.dateClass?this.dateClass(ht,"multi-year"):void 0;return new Re(_e,Lt,Lt,this._shouldEnableYear(_e),Bt)}_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 Lt=this._dateAdapter.createDate(_e,0,1);this._dateAdapter.getYear(Lt)==_e;Lt=this._dateAdapter.addCalendarDays(Lt,1))if(this.dateFilter(Lt))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(_e){if(this._selectedYear=null,_e instanceof ge){const ht=_e.start||_e.end;ht&&(this._selectedYear=this._dateAdapter.getYear(ht))}else _e&&(this._selectedYear=this._dateAdapter.getYear(_e))}}return Zt.\u0275fac=function(_e){return new(_e||Zt)(s.Y36(s.sBO),s.Y36(P._A,8),s.Y36(O.Is,8))},Zt.\u0275cmp=s.Xpm({type:Zt,selectors:[["mat-multi-year-view"]],viewQuery:function(_e,ht){if(1&_e&&s.Gf(me,5),2&_e){let Lt;s.iGM(Lt=s.CRH())&&(ht._matCalendarBody=Lt.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,ht){1&_e&&(s.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),s._UZ(3,"th",2),s.qZA()(),s.TgZ(4,"tbody",3),s.NdJ("selectedValueChange",function(Bt){return ht._yearSelected(Bt)})("activeDateChange",function(Bt){return ht._updateActiveDate(Bt)})("keyup",function(Bt){return ht._handleCalendarBodyKeyup(Bt)})("keydown",function(Bt){return ht._handleCalendarBodyKeydown(Bt)}),s.qZA()()),2&_e&&(s.xp6(4),s.Q6J("rows",ht._years)("todayValue",ht._todayYear)("startValue",ht._selectedYear)("endValue",ht._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",ht._getActiveCell()))},dependencies:[me],encapsulation:2,changeDetection:0}),Zt})();function St(Zt,Qt,_e,ht,Lt){const Bt=Zt.getYear(Qt),Ot=Zt.getYear(_e),_i=Ye(Zt,ht,Lt);return Math.floor((Bt-_i)/Le)===Math.floor((Ot-_i)/Le)}function nt(Zt,Qt,_e,ht){return function zt(Zt,Qt){return(Zt%Qt+Qt)%Qt}(Zt.getYear(Qt)-Ye(Zt,_e,ht),Le)}function Ye(Zt,Qt,_e){let ht=0;return _e?ht=Zt.getYear(_e)-Le+1:Qt&&(ht=Zt.getYear(Qt)),ht}let xt=(()=>{class Zt{get activeDate(){return this._activeDate}set activeDate(_e){let ht=this._activeDate;const Lt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(Lt,this.minDate,this.maxDate),this._dateAdapter.getYear(ht)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(_e){this._selected=_e instanceof ge?_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))}constructor(_e,ht,Lt,Bt){this._changeDetectorRef=_e,this._dateFormats=ht,this._dateAdapter=Lt,this._dir=Bt,this._rerenderSubscription=M.w0.EMPTY,this.selectedChange=new s.vpe,this.monthSelected=new s.vpe,this.activeDateChange=new s.vpe,this._activeDate=this._dateAdapter.today()}ngAfterContentInit(){this._rerenderSubscription=this._dateAdapter.localeChanges.pipe((0,W.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(_e){const ht=_e.value,Lt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),ht,1);this.monthSelected.emit(Lt);const Bt=this._getDateFromMonth(ht);this.selectedChange.emit(Bt)}_updateActiveDate(_e){const Lt=this._activeDate;this.activeDate=this._getDateFromMonth(_e.value),this._dateAdapter.compareDate(Lt,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(_e){const ht=this._activeDate,Lt=this._isRtl();switch(_e.keyCode){case k.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Lt?1:-1);break;case k.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,Lt?-1:1);break;case k.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case k.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case k.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case k.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case k.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_e.altKey?-10:-1);break;case k.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,_e.altKey?10:1);break;case k.K5:case k.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(ht,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),_e.preventDefault()}_handleCalendarBodyKeyup(_e){(_e.keyCode===k.L_||_e.keyCode===k.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(ht=>ht.map(Lt=>this._createCellForMonth(Lt,_e[Lt]))),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 ht=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),_e,1),Lt=this._dateAdapter.getNumDaysInMonth(ht);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),_e,Math.min(this._dateAdapter.getDate(this.activeDate),Lt))}_createCellForMonth(_e,ht){const Lt=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),_e,1),Bt=this._dateAdapter.format(Lt,this._dateFormats.display.monthYearA11yLabel),Ot=this.dateClass?this.dateClass(Lt,"year"):void 0;return new Re(_e,ht.toLocaleUpperCase(),Bt,this._shouldEnableMonth(_e),Ot)}_shouldEnableMonth(_e){const ht=this._dateAdapter.getYear(this.activeDate);if(null==_e||this._isYearAndMonthAfterMaxDate(ht,_e)||this._isYearAndMonthBeforeMinDate(ht,_e))return!1;if(!this.dateFilter)return!0;for(let Bt=this._dateAdapter.createDate(ht,_e,1);this._dateAdapter.getMonth(Bt)==_e;Bt=this._dateAdapter.addCalendarDays(Bt,1))if(this.dateFilter(Bt))return!0;return!1}_isYearAndMonthAfterMaxDate(_e,ht){if(this.maxDate){const Lt=this._dateAdapter.getYear(this.maxDate),Bt=this._dateAdapter.getMonth(this.maxDate);return _e>Lt||_e===Lt&&ht>Bt}return!1}_isYearAndMonthBeforeMinDate(_e,ht){if(this.minDate){const Lt=this._dateAdapter.getYear(this.minDate),Bt=this._dateAdapter.getMonth(this.minDate);return _e<Lt||_e===Lt&&ht<Bt}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(_e){this._selectedMonth=_e instanceof ge?this._getMonthInCurrentYear(_e.start)||this._getMonthInCurrentYear(_e.end):this._getMonthInCurrentYear(_e)}}return Zt.\u0275fac=function(_e){return new(_e||Zt)(s.Y36(s.sBO),s.Y36(P.sG,8),s.Y36(P._A,8),s.Y36(O.Is,8))},Zt.\u0275cmp=s.Xpm({type:Zt,selectors:[["mat-year-view"]],viewQuery:function(_e,ht){if(1&_e&&s.Gf(me,5),2&_e){let Lt;s.iGM(Lt=s.CRH())&&(ht._matCalendarBody=Lt.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,ht){1&_e&&(s.TgZ(0,"table",0)(1,"thead",1)(2,"tr"),s._UZ(3,"th",2),s.qZA()(),s.TgZ(4,"tbody",3),s.NdJ("selectedValueChange",function(Bt){return ht._monthSelected(Bt)})("activeDateChange",function(Bt){return ht._updateActiveDate(Bt)})("keyup",function(Bt){return ht._handleCalendarBodyKeyup(Bt)})("keydown",function(Bt){return ht._handleCalendarBodyKeydown(Bt)}),s.qZA()()),2&_e&&(s.xp6(4),s.Q6J("label",ht._yearLabel)("rows",ht._months)("todayValue",ht._todayMonth)("startValue",ht._selectedMonth)("endValue",ht._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",ht._dateAdapter.getMonth(ht.activeDate)))},dependencies:[me],encapsulation:2,changeDetection:0}),Zt})(),Ht=1,Ut=(()=>{class Zt{constructor(_e,ht,Lt,Bt,Ot){this._intl=_e,this.calendar=ht,this._dateAdapter=Lt,this._dateFormats=Bt,this._id="mat-calendar-header-"+Ht++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>Ot.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:-Le)}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:Le)}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,ht){return"month"==this.calendar.currentView?this._dateAdapter.getYear(_e)==this._dateAdapter.getYear(ht)&&this._dateAdapter.getMonth(_e)==this._dateAdapter.getMonth(ht):"year"==this.calendar.currentView?this._dateAdapter.getYear(_e)==this._dateAdapter.getYear(ht):St(this._dateAdapter,_e,ht,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const ht=this._dateAdapter.getYear(this.calendar.activeDate)-nt(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),Lt=ht+Le-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(ht,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(Lt,0,1))]}}return Zt.\u0275fac=function(_e){return new(_e||Zt)(s.Y36(We),s.Y36((0,s.Gpc)(()=>De)),s.Y36(P._A,8),s.Y36(P.sG,8),s.Y36(s.sBO))},Zt.\u0275cmp=s.Xpm({type:Zt,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:f,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,ht){1&_e&&(s.F$t(),s.TgZ(0,"div",0)(1,"div",1)(2,"button",2),s.NdJ("click",function(){return ht.currentPeriodClicked()}),s.TgZ(3,"span",3),s._uU(4),s.qZA(),s.O4$(),s.TgZ(5,"svg",4),s._UZ(6,"polygon",5),s.qZA()(),s.kcU(),s._UZ(7,"div",6),s.Hsn(8),s.TgZ(9,"button",7),s.NdJ("click",function(){return ht.previousClicked()}),s.qZA(),s.TgZ(10,"button",8),s.NdJ("click",function(){return ht.nextClicked()}),s.qZA()()(),s.TgZ(11,"label",9),s._uU(12),s.qZA()),2&_e&&(s.xp6(2),s.uIk("aria-label",ht.periodButtonLabel)("aria-describedby",ht._periodButtonLabelId),s.xp6(2),s.Oqu(ht.periodButtonText),s.xp6(1),s.ekj("mat-calendar-invert","month"!==ht.calendar.currentView),s.xp6(4),s.Q6J("disabled",!ht.previousEnabled()),s.uIk("aria-label",ht.prevButtonLabel),s.xp6(1),s.Q6J("disabled",!ht.nextEnabled()),s.uIk("aria-label",ht.nextButtonLabel),s.xp6(1),s.Q6J("id",ht._periodButtonLabelId),s.xp6(1),s.Oqu(ht.periodButtonDescription))},dependencies:[C.lW,C.RK],encapsulation:2,changeDetection:0}),Zt})(),De=(()=>{class Zt{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 ge?_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 ht=this._currentView!==_e?_e:null;this._currentView=_e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),ht&&this.viewChanged.emit(ht)}constructor(_e,ht,Lt,Bt){this._dateAdapter=ht,this._dateFormats=Lt,this._changeDetectorRef=Bt,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new s.vpe,this.yearSelected=new s.vpe,this.monthSelected=new s.vpe,this.viewChanged=new s.vpe(!0),this._userSelection=new s.vpe,this._userDragDrop=new s.vpe,this._activeDrag=null,this.stateChanges=new d.x,this._intlChanges=_e.changes.subscribe(()=>{Bt.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new g.C5(this.headerComponent||Ut),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 ht=_e.minDate&&!this._dateAdapter.sameDate(_e.minDate.previousValue,_e.minDate.currentValue)?_e.minDate:void 0,Lt=_e.maxDate&&!this._dateAdapter.sameDate(_e.maxDate.previousValue,_e.maxDate.currentValue)?_e.maxDate:void 0,Bt=ht||Lt||_e.dateFilter;if(Bt&&!Bt.firstChange){const Ot=this._getCurrentViewComponent();Ot&&(this._changeDetectorRef.detectChanges(),Ot._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(_e){const ht=_e.value;(this.selected instanceof ge||ht&&!this._dateAdapter.sameDate(ht,this.selected))&&this.selectedChange.emit(ht),this._userSelection.emit(_e)}_yearSelectedInMultiYearView(_e){this.yearSelected.emit(_e)}_monthSelectedInYearView(_e){this.monthSelected.emit(_e)}_goToDateInView(_e,ht){this.activeDate=_e,this.currentView=ht}_dragStarted(_e){this._activeDrag=_e}_dragEnded(_e){this._activeDrag&&(_e.value&&this._userDragDrop.emit(_e),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Zt.\u0275fac=function(_e){return new(_e||Zt)(s.Y36(We),s.Y36(P._A,8),s.Y36(P.sG,8),s.Y36(s.sBO))},Zt.\u0275cmp=s.Xpm({type:Zt,selectors:[["mat-calendar"]],viewQuery:function(_e,ht){if(1&_e&&(s.Gf(Qe,5),s.Gf(xt,5),s.Gf(mt,5)),2&_e){let Lt;s.iGM(Lt=s.CRH())&&(ht.monthView=Lt.first),s.iGM(Lt=s.CRH())&&(ht.yearView=Lt.first),s.iGM(Lt=s.CRH())&&(ht.multiYearView=Lt.first)}},hostAttrs:[1,"mat-calendar"],inputs:{headerComponent:"headerComponent",startAt:"startAt",startView:"startView",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd",startDateAccessibleName:"startDateAccessibleName",endDateAccessibleName:"endDateAccessibleName"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection",_userDragDrop:"_userDragDrop"},exportAs:["matCalendar"],features:[s._Bn([rt]),s.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","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded",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","activeDrag","activeDateChange","_userSelection","dragStarted","dragEnded"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(_e,ht){1&_e&&(s.YNc(0,l,0,0,"ng-template",0),s.TgZ(1,"div",1),s.YNc(2,y,1,11,"mat-month-view",2),s.YNc(3,E,1,6,"mat-year-view",3),s.YNc(4,D,1,6,"mat-multi-year-view",4),s.qZA()),2&_e&&(s.Q6J("cdkPortalOutlet",ht._calendarHeaderPortal),s.xp6(1),s.Q6J("ngSwitch",ht.currentView),s.xp6(1),s.Q6J("ngSwitchCase","month"),s.xp6(1),s.Q6J("ngSwitchCase","year"),s.xp6(1),s.Q6J("ngSwitchCase","multi-year"))},dependencies:[A.RF,A.n9,t.kH,g.Pl,Qe,xt,mt],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}),Zt})();const X={transformPanel:(0,te.X$)("transformPanel",[(0,te.eR)("void => enter-dropdown",(0,te.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,te.F4)([(0,te.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,te.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,te.eR)("void => enter-dialog",(0,te.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,te.F4)([(0,te.oB)({opacity:0,transform:"scale(0.7)"}),(0,te.oB)({transform:"none",opacity:1})]))),(0,te.eR)("* => void",(0,te.jt)("100ms linear",(0,te.oB)({opacity:0})))]),fadeInCalendar:(0,te.X$)("fadeInCalendar",[(0,te.SB)("void",(0,te.oB)({opacity:0})),(0,te.SB)("enter",(0,te.oB)({opacity:1})),(0,te.eR)("void => *",(0,te.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let ue=0;const Ee=new s.OlP("mat-datepicker-scroll-strategy"),Xt={provide:Ee,deps:[e.aV],useFactory:function qe(Zt){return()=>Zt.scrollStrategies.reposition()}},Vt=(0,P.pj)(class{constructor(Zt){this._elementRef=Zt}});let ri=(()=>{class Zt extends Vt{constructor(_e,ht,Lt,Bt,Ot,_i){super(_e),this._changeDetectorRef=ht,this._globalModel=Lt,this._dateAdapter=Bt,this._rangeSelectionStrategy=Ot,this._subscriptions=new M.w0,this._animationDone=new d.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=_i.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 ht=this._model.selection,Lt=_e.value,Bt=ht instanceof ge;if(Bt&&this._rangeSelectionStrategy){const Ot=this._rangeSelectionStrategy.selectionFinished(Lt,ht,_e.event);this._model.updateSelection(Ot,this)}else Lt&&(Bt||!this._dateAdapter.sameDate(Lt,ht))&&this._model.add(Lt);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(_e){this._model.updateSelection(_e.value,this)}_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,ht){this._model=_e?this._globalModel.clone():this._globalModel,this._actionsPortal=_e,ht&&this._changeDetectorRef.detectChanges()}}return Zt.\u0275fac=function(_e){return new(_e||Zt)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(xe),s.Y36(P._A),s.Y36(Nt,8),s.Y36(We))},Zt.\u0275cmp=s.Xpm({type:Zt,selectors:[["mat-datepicker-content"]],viewQuery:function(_e,ht){if(1&_e&&s.Gf(De,5),2&_e){let Lt;s.iGM(Lt=s.CRH())&&(ht._calendar=Lt.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(_e,ht){1&_e&&s.WFA("@transformPanel.start",function(Bt){return ht._handleAnimationEvent(Bt)})("@transformPanel.done",function(Bt){return ht._handleAnimationEvent(Bt)}),2&_e&&(s.d8E("@transformPanel",ht._animationState),s.ekj("mat-datepicker-content-touch",ht.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[s.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","_userDragDrop"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(_e,ht){if(1&_e&&(s.TgZ(0,"div",0)(1,"mat-calendar",1),s.NdJ("yearSelected",function(Bt){return ht.datepicker._selectYear(Bt)})("monthSelected",function(Bt){return ht.datepicker._selectMonth(Bt)})("viewChanged",function(Bt){return ht.datepicker._viewChanged(Bt)})("_userSelection",function(Bt){return ht._handleUserSelection(Bt)})("_userDragDrop",function(Bt){return ht._handleUserDragDrop(Bt)}),s.qZA(),s.YNc(2,v,0,0,"ng-template",2),s.TgZ(3,"button",3),s.NdJ("focus",function(){return ht._closeButtonFocused=!0})("blur",function(){return ht._closeButtonFocused=!1})("click",function(){return ht.datepicker.close()}),s._uU(4),s.qZA()()),2&_e){let Lt;s.ekj("mat-datepicker-content-container-with-custom-header",ht.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",ht._actionsPortal),s.uIk("aria-modal",!0)("aria-labelledby",null!==(Lt=ht._dialogLabelId)&&void 0!==Lt?Lt:void 0),s.xp6(1),s.Q6J("id",ht.datepicker.id)("ngClass",ht.datepicker.panelClass)("startAt",ht.datepicker.startAt)("startView",ht.datepicker.startView)("minDate",ht.datepicker._getMinDate())("maxDate",ht.datepicker._getMaxDate())("dateFilter",ht.datepicker._getDateFilter())("headerComponent",ht.datepicker.calendarHeaderComponent)("selected",ht._getSelected())("dateClass",ht.datepicker.dateClass)("comparisonStart",ht.comparisonStart)("comparisonEnd",ht.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",ht.startDateAccessibleName)("endDateAccessibleName",ht.endDateAccessibleName),s.xp6(1),s.Q6J("cdkPortalOutlet",ht._actionsPortal),s.xp6(1),s.ekj("cdk-visually-hidden",!ht._closeButtonFocused),s.Q6J("color",ht.color||"primary"),s.xp6(1),s.Oqu(ht._closeButtonText)}},dependencies:[A.mk,C.lW,t.mK,g.Pl,De],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:[X.transformPanel,X.fadeInCalendar]},changeDetection:0}),Zt})(),pt=(()=>{class Zt{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,q.Ig)(_e)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(_e){const ht=(0,q.Ig)(_e);ht!==this._disabled&&(this._disabled=ht,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(_e){this._restoreFocus=(0,q.Ig)(_e)}get panelClass(){return this._panelClass}set panelClass(_e){this._panelClass=(0,q.du)(_e)}get opened(){return this._opened}set opened(_e){(0,q.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}constructor(_e,ht,Lt,Bt,Ot,_i,$t){this._overlay=_e,this._ngZone=ht,this._viewContainerRef=Lt,this._dateAdapter=Ot,this._dir=_i,this._model=$t,this._inputStateChanges=M.w0.EMPTY,this._document=(0,s.f3M)(A.K0),this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new s.vpe,this.monthSelected=new s.vpe,this.viewChanged=new s.vpe(!0),this.openedStream=new s.vpe,this.closedStream=new s.vpe,this._opened=!1,this.id="mat-datepicker-"+ue++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new d.x,this._scrollStrategy=Bt}ngOnChanges(_e){const ht=_e.xPosition||_e.yPosition;if(ht&&!ht.firstChange&&this._overlayRef){const Lt=this._overlayRef.getConfig().positionStrategy;Lt instanceof e._G&&(this._setConnectedPositions(Lt),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,U.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,ht=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:Lt,location:Bt}=this._componentRef;Lt._startExitAnimation(),Lt._animationDone.pipe((0,Z.q)(1)).subscribe(()=>{const Ot=this._document.activeElement;_e&&(!Ot||Ot===this._document.activeElement||Bt.nativeElement.contains(Ot))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}_e?setTimeout(ht):ht()}_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,ht=new g.C5(ri,this._viewContainerRef),Lt=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(Lt).subscribe(Bt=>{Bt&&Bt.preventDefault(),this.close()}),Lt.keydownEvents().subscribe(Bt=>{const Ot=Bt.keyCode;(Ot===k.LH||Ot===k.JH||Ot===k.oh||Ot===k.SV||Ot===k.Ku||Ot===k.VM)&&Bt.preventDefault()}),this._componentRef=Lt.attach(ht),this._forwardContentValues(this._componentRef.instance),_e||this._ngZone.onStable.pipe((0,Z.q)(1)).subscribe(()=>Lt.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 ht="end"===this.xPosition?"end":"start",Lt="start"===ht?"end":"start",Bt="above"===this.yPosition?"bottom":"top",Ot="top"===Bt?"bottom":"top";return _e.withPositions([{originX:ht,originY:Ot,overlayX:ht,overlayY:Bt},{originX:ht,originY:Bt,overlayX:ht,overlayY:Ot},{originX:Lt,originY:Ot,overlayX:Lt,overlayY:Bt},{originX:Lt,originY:Bt,overlayX:Lt,overlayY:Ot}])}_getCloseStream(_e){const ht=["ctrlKey","shiftKey","metaKey"];return(0,w.T)(_e.backdropClick(),_e.detachments(),_e.keydownEvents().pipe((0,K.h)(Lt=>Lt.keyCode===k.hY&&!(0,k.Vb)(Lt)||this.datepickerInput&&(0,k.Vb)(Lt,"altKey")&&Lt.keyCode===k.LH&&ht.every(Bt=>!(0,k.Vb)(Lt,Bt)))))}}return Zt.\u0275fac=function(_e){return new(_e||Zt)(s.Y36(e.aV),s.Y36(s.R0b),s.Y36(s.s_b),s.Y36(Ee),s.Y36(P._A,8),s.Y36(O.Is,8),s.Y36(xe))},Zt.\u0275dir=s.lG2({type:Zt,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:[s.TTD]}),Zt})(),ot=(()=>{class Zt extends pt{}return Zt.\u0275fac=function(){let Qt;return function(ht){return(Qt||(Qt=s.n5z(Zt)))(ht||Zt)}}(),Zt.\u0275cmp=s.Xpm({type:Zt,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[s._Bn([rt,{provide:pt,useExisting:Zt}]),s.qOj],decls:0,vars:0,template:function(_e,ht){},encapsulation:2,changeDetection:0}),Zt})();class ut{constructor(Qt,_e){this.target=Qt,this.targetElement=_e,this.value=this.target.value}}let wt=(()=>{class Zt{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 ht=(0,q.Ig)(_e),Lt=this._elementRef.nativeElement;this._disabled!==ht&&(this._disabled=ht,this.stateChanges.next(void 0)),ht&&this._isInitialized&&Lt.blur&&Lt.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(ht=>{if(this._shouldHandleChangeEvent(ht)){const Lt=this._getValueFromModel(ht.selection);this._lastValueValid=this._isValidValue(Lt),this._cvaOnChange(Lt),this._onTouched(),this._formatValue(Lt),this.dateInput.emit(new ut(this,this._elementRef.nativeElement)),this.dateChange.emit(new ut(this,this._elementRef.nativeElement))}})}constructor(_e,ht,Lt){this._elementRef=_e,this._dateAdapter=ht,this._dateFormats=Lt,this.dateChange=new s.vpe,this.dateInput=new s.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=Bt=>{const Ot=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Bt.value));return!Ot||this._matchesFilter(Ot)?null:{matDatepickerFilter:!0}},this._minValidator=Bt=>{const Ot=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Bt.value)),_i=this._getMinDate();return!_i||!Ot||this._dateAdapter.compareDate(_i,Ot)<=0?null:{matDatepickerMin:{min:_i,actual:Ot}}},this._maxValidator=Bt=>{const Ot=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Bt.value)),_i=this._getMaxDate();return!_i||!Ot||this._dateAdapter.compareDate(_i,Ot)>=0?null:{matDatepickerMax:{max:_i,actual:Ot}}},this._lastValueValid=!1,this._localeSubscription=ht.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(_e){(function ft(Zt,Qt){const _e=Object.keys(Zt);for(let ht of _e){const{previousValue:Lt,currentValue:Bt}=Zt[ht];if(!Qt.isDateInstance(Lt)||!Qt.isDateInstance(Bt))return!0;if(!Qt.sameDate(Lt,Bt))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){(0,k.Vb)(_e,"altKey")&&_e.keyCode===k.JH&&["ctrlKey","shiftKey","metaKey"].every(Bt=>!(0,k.Vb)(_e,Bt))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),_e.preventDefault())}_onInput(_e){const ht=this._lastValueValid;let Lt=this._dateAdapter.parse(_e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(Lt),Lt=this._dateAdapter.getValidDateOrNull(Lt);const Bt=!this._dateAdapter.sameDate(Lt,this.value);!Lt||Bt?this._cvaOnChange(Lt):(_e&&!this.value&&this._cvaOnChange(Lt),ht!==this._lastValueValid&&this._validatorOnChange()),Bt&&(this._assignValue(Lt),this.dateInput.emit(new ut(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new ut(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 ht=this._getDateFilter();return!ht||ht(_e)}}return Zt.\u0275fac=function(_e){return new(_e||Zt)(s.Y36(s.SBq),s.Y36(P._A,8),s.Y36(P.sG,8))},Zt.\u0275dir=s.lG2({type:Zt,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[s.TTD]}),Zt})();const Xe={provide:pe.JU,useExisting:(0,s.Gpc)(()=>_t),multi:!0},gt={provide:pe.Cf,useExisting:(0,s.Gpc)(()=>_t),multi:!0};let _t=(()=>{class Zt extends wt{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 ht=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e));this._dateAdapter.sameDate(ht,this._min)||(this._min=ht,this._validatorOnChange())}get max(){return this._max}set max(_e){const ht=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(_e));this._dateAdapter.sameDate(ht,this._max)||(this._max=ht,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(_e){const ht=this._matchesFilter(this.value);this._dateFilter=_e,this._matchesFilter(this.value)!==ht&&this._validatorOnChange()}constructor(_e,ht,Lt,Bt){super(_e,ht,Lt),this._formField=Bt,this._closedSubscription=M.w0.EMPTY,this._validator=pe.kI.compose(super._getValidators())}getConnectedOverlayOrigin(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}getOverlayLabelId(){return this._formField?this._formField.getLabelId():this._elementRef.nativeElement.getAttribute("aria-labelledby")}getThemePalette(){return this._formField?this._formField.color:void 0}getStartValue(){return this.value}ngOnDestroy(){super.ngOnDestroy(),this._closedSubscription.unsubscribe()}_openPopup(){this._datepicker&&this._datepicker.open()}_getValueFromModel(_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 Zt.\u0275fac=function(_e){return new(_e||Zt)(s.Y36(s.SBq),s.Y36(P._A,8),s.Y36(P.sG,8),s.Y36(oe.G_,8))},Zt.\u0275dir=s.lG2({type:Zt,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(_e,ht){1&_e&&s.NdJ("input",function(Bt){return ht._onInput(Bt.target.value)})("change",function(){return ht._onChange()})("blur",function(){return ht._onBlur()})("keydown",function(Bt){return ht._onKeydown(Bt)}),2&_e&&(s.Ikx("disabled",ht.disabled),s.uIk("aria-haspopup",ht._datepicker?"dialog":null)("aria-owns",(null==ht._datepicker?null:ht._datepicker.opened)&&ht._datepicker.id||null)("min",ht.min?ht._dateAdapter.toIso8601(ht.min):null)("max",ht.max?ht._dateAdapter.toIso8601(ht.max):null)("data-mat-calendar",ht._datepicker?ht._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[s._Bn([Xe,gt,{provide:re.Jk,useExisting:Zt}]),s.qOj]}),Zt})(),Fe=(()=>{class Zt{}return Zt.\u0275fac=function(_e){return new(_e||Zt)},Zt.\u0275dir=s.lG2({type:Zt,selectors:[["","matDatepickerToggleIcon",""]]}),Zt})(),Mt=(()=>{class Zt{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(_e){this._disabled=(0,q.Ig)(_e)}constructor(_e,ht,Lt){this._intl=_e,this._changeDetectorRef=ht,this._stateChanges=M.w0.EMPTY;const Bt=Number(Lt);this.tabIndex=Bt||0===Bt?Bt:null}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,I.of)(),ht=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,I.of)(),Lt=this.datepicker?(0,w.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,I.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,w.T)(this._intl.changes,_e,ht,Lt).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Zt.\u0275fac=function(_e){return new(_e||Zt)(s.Y36(We),s.Y36(s.sBO),s.$8M("tabindex"))},Zt.\u0275cmp=s.Xpm({type:Zt,selectors:[["mat-datepicker-toggle"]],contentQueries:function(_e,ht,Lt){if(1&_e&&s.Suo(Lt,Fe,5),2&_e){let Bt;s.iGM(Bt=s.CRH())&&(ht._customIcon=Bt.first)}},viewQuery:function(_e,ht){if(1&_e&&s.Gf(n,5),2&_e){let Lt;s.iGM(Lt=s.CRH())&&(ht._button=Lt.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(_e,ht){1&_e&&s.NdJ("click",function(Bt){return ht._open(Bt)}),2&_e&&(s.uIk("tabindex",null)("data-mat-calendar",ht.datepicker?ht.datepicker.id:null),s.ekj("mat-datepicker-toggle-active",ht.datepicker&&ht.datepicker.opened)("mat-accent",ht.datepicker&&"accent"===ht.datepicker.color)("mat-warn",ht.datepicker&&"warn"===ht.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[s.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,ht){1&_e&&(s.F$t(V),s.TgZ(0,"button",0,1),s.YNc(2,b,2,0,"svg",2),s.Hsn(3),s.qZA()),2&_e&&(s.Q6J("disabled",ht.disabled)("disableRipple",ht.disableRipple),s.uIk("aria-haspopup",ht.datepicker?"dialog":null)("aria-label",ht.ariaLabel||ht._intl.openCalendarLabel)("tabindex",ht.disabled?-1:ht.tabIndex),s.xp6(2),s.Q6J("ngIf",!ht._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}),Zt})(),tn=(()=>{class Zt{}return Zt.\u0275fac=function(_e){return new(_e||Zt)},Zt.\u0275mod=s.oAB({type:Zt}),Zt.\u0275inj=s.cJS({providers:[We,Xt],imports:[A.ez,C.ot,e.U8,t.rt,g.eL,P.BQ,h.ZD]}),Zt})()},5412:(Be,Q,m)=>{"use strict";m.d(Q,{WI:()=>we,Bq:()=>me,uw:()=>ge,ZT:()=>vt,Is:()=>lt,so:()=>We});var t=m(8184),e=m(6895),g=m(4650),A=m(4761),s=m(3353),C=m(4080),h=m(9521),P=m(7579),d=m(9770),M=m(9646),w=m(445),I=m(8675);function k(at,Ct){}class O{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0,this.closeOnOverlayDetachments=!0}}let Z=(()=>{class at extends C.en{constructor(ye,Qe,Le,J,mt,St,nt,Ye){super(),this._elementRef=ye,this._focusTrapFactory=Qe,this._config=J,this._interactivityChecker=mt,this._ngZone=St,this._overlayRef=nt,this._focusMonitor=Ye,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=zt=>{this._portalOutlet.hasAttached();const xt=this._portalOutlet.attachDomPortal(zt);return this._contentAttached(),xt},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=Le}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(ye){this._portalOutlet.hasAttached();const Qe=this._portalOutlet.attachComponentPortal(ye);return this._contentAttached(),Qe}attachTemplatePortal(ye){this._portalOutlet.hasAttached();const Qe=this._portalOutlet.attachTemplatePortal(ye);return this._contentAttached(),Qe}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ye,Qe){this._interactivityChecker.isFocusable(ye)||(ye.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const Le=()=>{ye.removeEventListener("blur",Le),ye.removeEventListener("mousedown",Le),ye.removeAttribute("tabindex")};ye.addEventListener("blur",Le),ye.addEventListener("mousedown",Le)})),ye.focus(Qe)}_focusByCssSelector(ye,Qe){let Le=this._elementRef.nativeElement.querySelector(ye);Le&&this._forceFocus(Le,Qe)}_trapFocus(){const ye=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||ye.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Qe=>{Qe||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const ye=this._config.restoreFocus;let Qe=null;if("string"==typeof ye?Qe=this._document.querySelector(ye):"boolean"==typeof ye?Qe=ye?this._elementFocusedBeforeDialogWasOpened:null:ye&&(Qe=ye),this._config.restoreFocus&&Qe&&"function"==typeof Qe.focus){const Le=(0,s.ht)(),J=this._elementRef.nativeElement;(!Le||Le===this._document.body||Le===J||J.contains(Le))&&(this._focusMonitor?(this._focusMonitor.focusVia(Qe,this._closeInteractionType),this._closeInteractionType=null):Qe.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const ye=this._elementRef.nativeElement,Qe=(0,s.ht)();return ye===Qe||ye.contains(Qe)}_initializeFocusTrap(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=(0,s.ht)())}_handleBackdropClicks(){this._overlayRef.backdropClick().subscribe(()=>{this._config.disableClose&&this._recaptureFocus()})}}return at.\u0275fac=function(ye){return new(ye||at)(g.Y36(g.SBq),g.Y36(A.qV),g.Y36(e.K0,8),g.Y36(O),g.Y36(A.ic),g.Y36(g.R0b),g.Y36(t.Iu),g.Y36(A.tE))},at.\u0275cmp=g.Xpm({type:at,selectors:[["cdk-dialog-container"]],viewQuery:function(ye,Qe){if(1&ye&&g.Gf(C.Pl,7),2&ye){let Le;g.iGM(Le=g.CRH())&&(Qe._portalOutlet=Le.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(ye,Qe){2&ye&&g.uIk("id",Qe._config.id||null)("role",Qe._config.role)("aria-modal",Qe._config.ariaModal)("aria-labelledby",Qe._config.ariaLabel?null:Qe._ariaLabelledBy)("aria-label",Qe._config.ariaLabel)("aria-describedby",Qe._config.ariaDescribedBy||null)},features:[g.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ye,Qe){1&ye&&g.YNc(0,k,0,0,"ng-template",0)},dependencies:[C.Pl],styles:[".cdk-dialog-container{display:block;width:100%;height:100%;min-height:inherit;max-height:inherit}"],encapsulation:2}),at})();class W{constructor(Ct,ye){this.overlayRef=Ct,this.config=ye,this.closed=new P.x,this.disableClose=ye.disableClose,this.backdropClick=Ct.backdropClick(),this.keydownEvents=Ct.keydownEvents(),this.outsidePointerEvents=Ct.outsidePointerEvents(),this.id=ye.id,this.keydownEvents.subscribe(Qe=>{Qe.keyCode===h.hY&&!this.disableClose&&!(0,h.Vb)(Qe)&&(Qe.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})}),this._detachSubscription=Ct.detachments().subscribe(()=>{!1!==ye.closeOnOverlayDetachments&&this.close()})}close(Ct,ye){if(this.containerInstance){const Qe=this.closed;this.containerInstance._closeInteractionType=ye?.focusOrigin||"program",this._detachSubscription.unsubscribe(),this.overlayRef.dispose(),Qe.next(Ct),Qe.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(Ct="",ye=""){return this.overlayRef.updateSize({width:Ct,height:ye}),this}addPanelClass(Ct){return this.overlayRef.addPanelClass(Ct),this}removePanelClass(Ct){return this.overlayRef.removePanelClass(Ct),this}}const K=new g.OlP("DialogScrollStrategy"),q=new g.OlP("DialogData"),te=new g.OlP("DefaultDialogConfig"),oe={provide:K,deps:[t.aV],useFactory:function pe(at){return()=>at.scrollStrategies.block()}};let re=0,ce=(()=>{class at{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(ye,Qe,Le,J,mt,St){this._overlay=ye,this._injector=Qe,this._defaultOptions=Le,this._parentDialog=J,this._overlayContainer=mt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new P.x,this._afterOpenedAtThisLevel=new P.x,this._ariaHiddenElements=new Map,this.afterAllClosed=(0,d.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,I.O)(void 0))),this._scrollStrategy=St}open(ye,Qe){(Qe={...this._defaultOptions||new O,...Qe}).id=Qe.id||"cdk-dialog-"+re++,Qe.id&&this.getDialogById(Qe.id);const J=this._getOverlayConfig(Qe),mt=this._overlay.create(J),St=new W(mt,Qe),nt=this._attachContainer(mt,St,Qe);return St.containerInstance=nt,this._attachDialogContent(ye,St,nt,Qe),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(St),St.closed.subscribe(()=>this._removeOpenDialog(St,!0)),this.afterOpened.next(St),St}closeAll(){se(this.openDialogs,ye=>ye.close())}getDialogById(ye){return this.openDialogs.find(Qe=>Qe.id===ye)}ngOnDestroy(){se(this._openDialogsAtThisLevel,ye=>{!1===ye.config.closeOnDestroy&&this._removeOpenDialog(ye,!1)}),se(this._openDialogsAtThisLevel,ye=>ye.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(ye){const Qe=new t.X_({positionStrategy:ye.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:ye.scrollStrategy||this._scrollStrategy(),panelClass:ye.panelClass,hasBackdrop:ye.hasBackdrop,direction:ye.direction,minWidth:ye.minWidth,minHeight:ye.minHeight,maxWidth:ye.maxWidth,maxHeight:ye.maxHeight,width:ye.width,height:ye.height,disposeOnNavigation:ye.closeOnNavigation});return ye.backdropClass&&(Qe.backdropClass=ye.backdropClass),Qe}_attachContainer(ye,Qe,Le){const J=Le.injector||Le.viewContainerRef?.injector,mt=[{provide:O,useValue:Le},{provide:W,useValue:Qe},{provide:t.Iu,useValue:ye}];let St;Le.container?"function"==typeof Le.container?St=Le.container:(St=Le.container.type,mt.push(...Le.container.providers(Le))):St=Z;const nt=new C.C5(St,Le.viewContainerRef,g.zs3.create({parent:J||this._injector,providers:mt}),Le.componentFactoryResolver);return ye.attach(nt).instance}_attachDialogContent(ye,Qe,Le,J){if(ye instanceof g.Rgc){const mt=this._createInjector(J,Qe,Le,void 0);let St={$implicit:J.data,dialogRef:Qe};J.templateContext&&(St={...St,..."function"==typeof J.templateContext?J.templateContext():J.templateContext}),Le.attachTemplatePortal(new C.UE(ye,null,St,mt))}else{const mt=this._createInjector(J,Qe,Le,this._injector),St=Le.attachComponentPortal(new C.C5(ye,J.viewContainerRef,mt,J.componentFactoryResolver));Qe.componentInstance=St.instance}}_createInjector(ye,Qe,Le,J){const mt=ye.injector||ye.viewContainerRef?.injector,St=[{provide:q,useValue:ye.data},{provide:W,useValue:Qe}];return ye.providers&&("function"==typeof ye.providers?St.push(...ye.providers(Qe,ye,Le)):St.push(...ye.providers)),ye.direction&&(!mt||!mt.get(w.Is,null,{optional:!0}))&&St.push({provide:w.Is,useValue:{value:ye.direction,change:(0,M.of)()}}),g.zs3.create({parent:mt||J,providers:St})}_removeOpenDialog(ye,Qe){const Le=this.openDialogs.indexOf(ye);Le>-1&&(this.openDialogs.splice(Le,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((J,mt)=>{J?mt.setAttribute("aria-hidden",J):mt.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),Qe&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const ye=this._overlayContainer.getContainerElement();if(ye.parentElement){const Qe=ye.parentElement.children;for(let Le=Qe.length-1;Le>-1;Le--){const J=Qe[Le];J!==ye&&"SCRIPT"!==J.nodeName&&"STYLE"!==J.nodeName&&!J.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(J,J.getAttribute("aria-hidden")),J.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const ye=this._parentDialog;return ye?ye._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return at.\u0275fac=function(ye){return new(ye||at)(g.LFG(t.aV),g.LFG(g.zs3),g.LFG(te,8),g.LFG(at,12),g.LFG(t.Xj),g.LFG(K))},at.\u0275prov=g.Yz7({token:at,factory:at.\u0275fac}),at})();function se(at,Ct){let ye=at.length;for(;ye--;)Ct(at[ye])}let he=(()=>{class at{}return at.\u0275fac=function(ye){return new(ye||at)},at.\u0275mod=g.oAB({type:at}),at.\u0275inj=g.cJS({providers:[ce,oe],imports:[t.U8,C.eL,A.rt,C.eL]}),at})();var S=m(1281),i=m(6451),a=m(9300),f=m(5698),l=m(3238);function E(at,Ct){}m(7340);class D{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}}const v="mdc-dialog--open",n="mdc-dialog--opening",b="mdc-dialog--closing";let Y=(()=>{class at extends Z{constructor(ye,Qe,Le,J,mt,St,nt,Ye){super(ye,Qe,Le,J,mt,St,nt,Ye),this._animationStateChanged=new g.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(ye){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ye})}}return at.\u0275fac=function(ye){return new(ye||at)(g.Y36(g.SBq),g.Y36(A.qV),g.Y36(e.K0,8),g.Y36(D),g.Y36(A.ic),g.Y36(g.R0b),g.Y36(t.Iu),g.Y36(A.tE))},at.\u0275cmp=g.Xpm({type:at,selectors:[["ng-component"]],features:[g.qOj],decls:0,vars:0,template:function(ye,Qe){},encapsulation:2}),at})();const Te="--mat-dialog-transition-duration";function $e(at){return null==at?null:"number"==typeof at?at:at.endsWith("ms")?(0,S.su)(at.substring(0,at.length-2)):at.endsWith("s")?1e3*(0,S.su)(at.substring(0,at.length-1)):"0"===at?0:null}let Ve=(()=>{class at extends Y{constructor(ye,Qe,Le,J,mt,St,nt,Ye,zt){super(ye,Qe,Le,J,mt,St,nt,zt),this._animationMode=Ye,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?$e(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?$e(this._config.exitAnimationDuration)??75: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(Te,`${this._openAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(n,v)),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(v),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(v),this._animationsEnabled?(this._hostElement.style.setProperty(Te,`${this._openAnimationDuration}ms`),this._requestAnimationFrame(()=>this._hostElement.classList.add(b)),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(n,b)}_waitForAnimationToComplete(ye,Qe){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(Qe,ye)}_requestAnimationFrame(ye){this._ngZone.runOutsideAngular(()=>{"function"==typeof requestAnimationFrame?requestAnimationFrame(ye):ye()})}}return at.\u0275fac=function(ye){return new(ye||at)(g.Y36(g.SBq),g.Y36(A.qV),g.Y36(e.K0,8),g.Y36(D),g.Y36(A.ic),g.Y36(g.R0b),g.Y36(t.Iu),g.Y36(g.QbO,8),g.Y36(A.tE))},at.\u0275cmp=g.Xpm({type:at,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(ye,Qe){2&ye&&(g.Ikx("id",Qe._config.id),g.uIk("aria-modal",Qe._config.ariaModal)("role",Qe._config.role)("aria-labelledby",Qe._config.ariaLabel?null:Qe._ariaLabelledBy)("aria-label",Qe._config.ariaLabel)("aria-describedby",Qe._config.ariaDescribedBy||null),g.ekj("_mat-animation-noopable",!Qe._animationsEnabled))},features:[g.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(ye,Qe){1&ye&&(g.TgZ(0,"div",0)(1,"div",1),g.YNc(2,E,0,0,"ng-template",2),g.qZA()())},dependencies:[C.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}),at})();class We{constructor(Ct,ye,Qe){this._ref=Ct,this._containerInstance=Qe,this._afterOpened=new P.x,this._beforeClosed=new P.x,this._state=0,this.disableClose=ye.disableClose,this.id=Ct.id,Qe._animationStateChanged.pipe((0,a.h)(Le=>"opened"===Le.state),(0,f.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),Qe._animationStateChanged.pipe((0,a.h)(Le=>"closed"===Le.state),(0,f.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),Ct.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,i.T)(this.backdropClick(),this.keydownEvents().pipe((0,a.h)(Le=>Le.keyCode===h.hY&&!this.disableClose&&!(0,h.Vb)(Le)))).subscribe(Le=>{this.disableClose||(Le.preventDefault(),Re(this,"keydown"===Le.type?"keyboard":"mouse"))})}close(Ct){this._result=Ct,this._containerInstance._animationStateChanged.pipe((0,a.h)(ye=>"closing"===ye.state),(0,f.q)(1)).subscribe(ye=>{this._beforeClosed.next(Ct),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),ye.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 ye=this._ref.config.positionStrategy;return Ct&&(Ct.left||Ct.right)?Ct.left?ye.left(Ct.left):ye.right(Ct.right):ye.centerHorizontally(),Ct&&(Ct.top||Ct.bottom)?Ct.top?ye.top(Ct.top):ye.bottom(Ct.bottom):ye.centerVertically(),this._ref.updatePosition(),this}updateSize(Ct="",ye=""){return this._ref.updateSize(Ct,ye),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 Re(at,Ct,ye){return at._closeInteractionType=Ct,at.close(ye)}const we=new g.OlP("MatMdcDialogData"),me=new g.OlP("mat-mdc-dialog-default-options"),Ae=new g.OlP("mat-mdc-dialog-scroll-strategy"),Ze={provide:Ae,deps:[t.aV],useFactory:function ee(at){return()=>at.scrollStrategies.block()}};let fe=0,Se=(()=>{class at{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const ye=this._parentDialog;return ye?ye._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(ye,Qe,Le,J,mt,St,nt,Ye,zt,xt){this._overlay=ye,this._defaultOptions=Le,this._parentDialog=J,this._dialogRefConstructor=nt,this._dialogContainerType=Ye,this._dialogDataToken=zt,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new P.x,this._afterOpenedAtThisLevel=new P.x,this._idPrefix="mat-dialog-",this.dialogConfigClass=D,this.afterAllClosed=(0,d.P)(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe((0,I.O)(void 0))),this._scrollStrategy=St,this._dialog=Qe.get(ce)}open(ye,Qe){let Le;(Qe={...this._defaultOptions||new D,...Qe}).id=Qe.id||`${this._idPrefix}${fe++}`,Qe.scrollStrategy=Qe.scrollStrategy||this._scrollStrategy();const J=this._dialog.open(ye,{...Qe,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,closeOnOverlayDetachments:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:Qe},{provide:O,useValue:Qe}]},templateContext:()=>({dialogRef:Le}),providers:(mt,St,nt)=>(Le=new this._dialogRefConstructor(mt,Qe,nt),Le.updatePosition(Qe?.position),[{provide:this._dialogContainerType,useValue:nt},{provide:this._dialogDataToken,useValue:St.data},{provide:this._dialogRefConstructor,useValue:Le}])});return Le.componentInstance=J.componentInstance,this.openDialogs.push(Le),this.afterOpened.next(Le),Le.afterClosed().subscribe(()=>{const mt=this.openDialogs.indexOf(Le);mt>-1&&(this.openDialogs.splice(mt,1),this.openDialogs.length||this._getAfterAllClosed().next())}),Le}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(ye){return this.openDialogs.find(Qe=>Qe.id===ye)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(ye){let Qe=ye.length;for(;Qe--;)ye[Qe].close()}}return at.\u0275fac=function(ye){g.$Z()},at.\u0275prov=g.Yz7({token:at,factory:at.\u0275fac}),at})(),ge=(()=>{class at extends Se{constructor(ye,Qe,Le,J,mt,St,nt,Ye){super(ye,Qe,J,St,nt,mt,We,Ve,we,Ye),this._idPrefix="mat-mdc-dialog-"}}return at.\u0275fac=function(ye){return new(ye||at)(g.LFG(t.aV),g.LFG(g.zs3),g.LFG(e.Ye,8),g.LFG(me,8),g.LFG(Ae),g.LFG(at,12),g.LFG(t.Xj),g.LFG(g.QbO,8))},at.\u0275prov=g.Yz7({token:at,factory:at.\u0275fac}),at})(),vt=(()=>{class at{constructor(ye,Qe,Le){this.dialogRef=ye,this._elementRef=Qe,this._dialog=Le,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function je(at,Ct){let ye=at.nativeElement.parentElement;for(;ye&&!ye.classList.contains("mat-mdc-dialog-container");)ye=ye.parentElement;return ye?Ct.find(Qe=>Qe.id===ye.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(ye){const Qe=ye._matDialogClose||ye._matDialogCloseResult;Qe&&(this.dialogResult=Qe.currentValue)}_onButtonClick(ye){Re(this.dialogRef,0===ye.screenX&&0===ye.screenY?"keyboard":"mouse",this.dialogResult)}}return at.\u0275fac=function(ye){return new(ye||at)(g.Y36(We,8),g.Y36(g.SBq),g.Y36(ge))},at.\u0275dir=g.lG2({type:at,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(ye,Qe){1&ye&&g.NdJ("click",function(J){return Qe._onButtonClick(J)}),2&ye&&g.uIk("aria-label",Qe.ariaLabel||null)("type",Qe.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[g.TTD]}),at})(),lt=(()=>{class at{}return at.\u0275fac=function(ye){return new(ye||at)},at.\u0275mod=g.oAB({type:at}),at.\u0275inj=g.cJS({providers:[ge,Ze],imports:[he,t.U8,C.eL,l.BQ,l.BQ]}),at})()},4850:(Be,Q,m)=>{"use strict";m.d(Q,{d:()=>A,t:()=>s});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(P){this._vertical=(0,e.Ig)(P)}get inset(){return this._inset}set inset(P){this._inset=(0,e.Ig)(P)}}return C.\u0275fac=function(P){return new(P||C)},C.\u0275cmp=t.Xpm({type:C,selectors:[["mat-divider"]],hostAttrs:["role","separator",1,"mat-divider"],hostVars:7,hostBindings:function(P,d){2&P&&(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(P,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})(),s=(()=>{class C{}return C.\u0275fac=function(P){return new(P||C)},C.\u0275mod=t.oAB({type:C}),C.\u0275inj=t.cJS({imports:[g.BQ,g.BQ]}),C})()},752:(Be,Q,m)=>{"use strict";m.d(Q,{pp:()=>Re,To:()=>we,ib:()=>V,u4:()=>Ve,yz:()=>$e,yK:()=>We});var t=m(4650),e=m(5017),g=m(1281),A=m(7579),s=m(727);let C=0;const h=new t.OlP("CdkAccordion");let P=(()=>{class me{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(ee){this._multi=(0,g.Ig)(ee)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(ee){this._stateChanges.next(ee)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return me.\u0275fac=function(ee){return new(ee||me)},me.\u0275dir=t.lG2({type:me,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[t._Bn([{provide:h,useExisting:me}]),t.TTD]}),me})(),d=0,M=(()=>{class me{get expanded(){return this._expanded}set expanded(ee){ee=(0,g.Ig)(ee),this._expanded!==ee&&(this._expanded=ee,this.expandedChange.emit(ee),ee?(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(ee){this._disabled=(0,g.Ig)(ee)}constructor(ee,Ze,Oe){this.accordion=ee,this._changeDetectorRef=Ze,this._expansionDispatcher=Oe,this._openCloseAllSubscription=s.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=Oe.listen((fe,Se)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===Se&&this.id!==fe&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}ngOnDestroy(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}toggle(){this.disabled||(this.expanded=!this.expanded)}close(){this.disabled||(this.expanded=!1)}open(){this.disabled||(this.expanded=!0)}_subscribeToOpenCloseAllActions(){return this.accordion._openCloseAllActions.subscribe(ee=>{this.disabled||(this.expanded=ee)})}}return me.\u0275fac=function(ee){return new(ee||me)(t.Y36(h,12),t.Y36(t.sBO),t.Y36(e.A8))},me.\u0275dir=t.lG2({type:me,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:h,useValue:void 0}])]}),me})(),w=(()=>{class me{}return me.\u0275fac=function(ee){return new(ee||me)},me.\u0275mod=t.oAB({type:me}),me.\u0275inj=t.cJS({}),me})();var I=m(4080),k=m(6895),O=m(3238),U=m(4761),Z=m(1884),W=m(8675),K=m(9300),q=m(5698),te=m(9521),pe=m(515),oe=m(6451),re=m(7340);const ce=["body"];function se(me,Ae){}const he=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],S=["mat-expansion-panel-header","*","mat-action-row"];function i(me,Ae){if(1&me&&t._UZ(0,"span",2),2&me){const ee=t.oxw();t.Q6J("@indicatorRotate",ee._getExpandedState())}}const a=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],f=["mat-panel-title","mat-panel-description","*"],l=new t.OlP("MAT_ACCORDION"),y="225ms cubic-bezier(0.4,0.0,0.2,1)",E={indicatorRotate:(0,re.X$)("indicatorRotate",[(0,re.SB)("collapsed, void",(0,re.oB)({transform:"rotate(0deg)"})),(0,re.SB)("expanded",(0,re.oB)({transform:"rotate(180deg)"})),(0,re.eR)("expanded <=> collapsed, void => collapsed",(0,re.jt)(y))]),bodyExpansion:(0,re.X$)("bodyExpansion",[(0,re.SB)("collapsed, void",(0,re.oB)({height:"0px",visibility:"hidden"})),(0,re.SB)("expanded",(0,re.oB)({height:"*",visibility:"visible"})),(0,re.eR)("expanded <=> collapsed, void => collapsed",(0,re.jt)(y))])},D=new t.OlP("MAT_EXPANSION_PANEL");let v=(()=>{class me{constructor(ee,Ze){this._template=ee,this._expansionPanel=Ze}}return me.\u0275fac=function(ee){return new(ee||me)(t.Y36(t.Rgc),t.Y36(D,8))},me.\u0275dir=t.lG2({type:me,selectors:[["ng-template","matExpansionPanelContent",""]]}),me})(),n=0;const b=new t.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let V=(()=>{class me extends M{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(ee){this._hideToggle=(0,g.Ig)(ee)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(ee){this._togglePosition=ee}constructor(ee,Ze,Oe,fe,Se,ge,xe){super(ee,Ze,Oe),this._viewContainerRef=fe,this._animationMode=ge,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=ee,this._document=Se,this._bodyAnimationDone.pipe((0,Z.x)((vt,Ie)=>vt.fromState===Ie.fromState&&vt.toState===Ie.toState)).subscribe(vt=>{"void"!==vt.fromState&&("expanded"===vt.toState?this.afterExpand.emit():"collapsed"===vt.toState&&this.afterCollapse.emit())}),xe&&(this.hideToggle=xe.hideToggle)}_hasSpacing(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe((0,W.O)(null),(0,K.h)(()=>this.expanded&&!this._portal),(0,q.q)(1)).subscribe(()=>{this._portal=new I.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(ee){this._inputChanges.next(ee)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const ee=this._document.activeElement,Ze=this._body.nativeElement;return ee===Ze||Ze.contains(ee)}return!1}}return me.\u0275fac=function(ee){return new(ee||me)(t.Y36(l,12),t.Y36(t.sBO),t.Y36(e.A8),t.Y36(t.s_b),t.Y36(k.K0),t.Y36(t.QbO,8),t.Y36(b,8))},me.\u0275cmp=t.Xpm({type:me,selectors:[["mat-expansion-panel"]],contentQueries:function(ee,Ze,Oe){if(1&ee&&t.Suo(Oe,v,5),2&ee){let fe;t.iGM(fe=t.CRH())&&(Ze._lazyContent=fe.first)}},viewQuery:function(ee,Ze){if(1&ee&&t.Gf(ce,5),2&ee){let Oe;t.iGM(Oe=t.CRH())&&(Ze._body=Oe.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(ee,Ze){2&ee&&t.ekj("mat-expanded",Ze.expanded)("_mat-animation-noopable","NoopAnimations"===Ze._animationMode)("mat-expansion-panel-spacing",Ze._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:l,useValue:void 0},{provide:D,useExisting:me}]),t.qOj,t.TTD],ngContentSelectors:S,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(ee,Ze){1&ee&&(t.F$t(he),t.Hsn(0),t.TgZ(1,"div",0,1),t.NdJ("@bodyExpansion.done",function(fe){return Ze._bodyAnimationDone.next(fe)}),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&ee&&(t.xp6(1),t.Q6J("@bodyExpansion",Ze._getExpandedState())("id",Ze.id),t.uIk("aria-labelledby",Ze._headerId),t.xp6(4),t.Q6J("cdkPortalOutlet",Ze._portal))},dependencies:[I.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:[E.bodyExpansion]},changeDetection:0}),me})();class Y{}const Te=(0,O.sb)(Y);let $e=(()=>{class me extends Te{constructor(ee,Ze,Oe,fe,Se,ge,xe){super(),this.panel=ee,this._element=Ze,this._focusMonitor=Oe,this._changeDetectorRef=fe,this._animationMode=ge,this._parentChangeSubscription=s.w0.EMPTY;const vt=ee.accordion?ee.accordion._stateChanges.pipe((0,K.h)(Ie=>!(!Ie.hideToggle&&!Ie.togglePosition))):pe.E;this.tabIndex=parseInt(xe||"")||0,this._parentChangeSubscription=(0,oe.T)(ee.opened,ee.closed,vt,ee._inputChanges.pipe((0,K.h)(Ie=>!!(Ie.hideToggle||Ie.disabled||Ie.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),ee.closed.pipe((0,K.h)(()=>ee._containsFocus())).subscribe(()=>Oe.focusVia(Ze,"program")),Se&&(this.expandedHeight=Se.expandedHeight,this.collapsedHeight=Se.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 ee=this._isExpanded();return ee&&this.expandedHeight?this.expandedHeight:!ee&&this.collapsedHeight?this.collapsedHeight:null}_keydown(ee){switch(ee.keyCode){case te.L_:case te.K5:(0,te.Vb)(ee)||(ee.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(ee))}}focus(ee,Ze){ee?this._focusMonitor.focusVia(this._element,ee,Ze):this._element.nativeElement.focus(Ze)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(ee=>{ee&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return me.\u0275fac=function(ee){return new(ee||me)(t.Y36(V,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"))},me.\u0275cmp=t.Xpm({type:me,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(ee,Ze){1&ee&&t.NdJ("click",function(){return Ze._toggle()})("keydown",function(fe){return Ze._keydown(fe)}),2&ee&&(t.uIk("id",Ze.panel._headerId)("tabindex",Ze.tabIndex)("aria-controls",Ze._getPanelId())("aria-expanded",Ze._isExpanded())("aria-disabled",Ze.panel.disabled),t.Udp("height",Ze._getHeaderHeight()),t.ekj("mat-expanded",Ze._isExpanded())("mat-expansion-toggle-indicator-after","after"===Ze._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Ze._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Ze._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[t.qOj],ngContentSelectors:f,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(ee,Ze){1&ee&&(t.F$t(a),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&ee&&(t.ekj("mat-content-hide-toggle",!Ze._showToggle()),t.xp6(4),t.Q6J("ngIf",Ze._showToggle()))},dependencies:[k.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:[E.indicatorRotate]},changeDetection:0}),me})(),Ve=(()=>{class me{}return me.\u0275fac=function(ee){return new(ee||me)},me.\u0275dir=t.lG2({type:me,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),me})(),We=(()=>{class me{}return me.\u0275fac=function(ee){return new(ee||me)},me.\u0275dir=t.lG2({type:me,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),me})(),Re=(()=>{class me extends P{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(ee){this._hideToggle=(0,g.Ig)(ee)}ngAfterContentInit(){this._headers.changes.pipe((0,W.O)(this._headers)).subscribe(ee=>{this._ownHeaders.reset(ee.filter(Ze=>Ze.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new U.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(ee){this._keyManager.onKeydown(ee)}_handleHeaderFocus(ee){this._keyManager.updateActiveItem(ee)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}return me.\u0275fac=function(){let Ae;return function(Ze){return(Ae||(Ae=t.n5z(me)))(Ze||me)}}(),me.\u0275dir=t.lG2({type:me,selectors:[["mat-accordion"]],contentQueries:function(ee,Ze,Oe){if(1&ee&&t.Suo(Oe,$e,5),2&ee){let fe;t.iGM(fe=t.CRH())&&(Ze._headers=fe)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(ee,Ze){2&ee&&t.ekj("mat-accordion-multi",Ze.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[t._Bn([{provide:l,useExisting:me}]),t.qOj]}),me})(),we=(()=>{class me{}return me.\u0275fac=function(ee){return new(ee||me)},me.\u0275mod=t.oAB({type:me}),me.\u0275inj=t.cJS({imports:[k.ez,O.BQ,w,I.eL]}),me})()},9549:(Be,Q,m)=>{"use strict";m.d(Q,{Eo:()=>Se,G_:()=>Ie,KE:()=>at,R9:()=>Re,TO:()=>z,bx:()=>Te,hX:()=>n,lN:()=>Ct});var t=m(4650),e=m(445),g=m(3353),A=m(7579),s=m(6451),C=m(2722),h=m(6895),P=m(1281),d=m(7340),M=m(9643),w=m(3238);const I=["matFormFieldNotchedOutline",""],k=["*"],O=["textField"],U=["iconPrefixContainer"],Z=["textPrefixContainer"];function W(ye,Qe){1&ye&&t._UZ(0,"span",19)}function K(ye,Qe){if(1&ye){const Le=t.EpF();t.TgZ(0,"label",17),t.NdJ("cdkObserveContent",function(){t.CHM(Le);const mt=t.oxw(2);return t.KtG(mt._refreshOutlineNotchWidth())}),t.Hsn(1,1),t.YNc(2,W,1,0,"span",18),t.qZA()}if(2&ye){const Le=t.oxw(2);t.Q6J("floating",Le._shouldLabelFloat())("cdkObserveContentDisabled",!Le._hasOutline())("id",Le._labelId),t.uIk("for",Le._control.id)("aria-owns",Le._control.id),t.xp6(2),t.Q6J("ngIf",!Le.hideRequiredMarker&&Le._control.required)}}function q(ye,Qe){if(1&ye&&t.YNc(0,K,3,6,"label",16),2&ye){const Le=t.oxw();t.Q6J("ngIf",Le._hasFloatingLabel())}}function te(ye,Qe){1&ye&&t._UZ(0,"div",20)}function pe(ye,Qe){}function oe(ye,Qe){if(1&ye&&t.YNc(0,pe,0,0,"ng-template",22),2&ye){t.oxw(2);const Le=t.MAs(1);t.Q6J("ngTemplateOutlet",Le)}}function re(ye,Qe){if(1&ye&&(t.TgZ(0,"div",21),t.YNc(1,oe,1,1,"ng-template",9),t.qZA()),2&ye){const Le=t.oxw();t.Q6J("matFormFieldNotchedOutlineOpen",Le._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",Le._labelWidth),t.xp6(1),t.Q6J("ngIf",!Le._forceDisplayInfixLabel())}}function ce(ye,Qe){1&ye&&(t.TgZ(0,"div",23,24),t.Hsn(2,2),t.qZA())}function se(ye,Qe){1&ye&&(t.TgZ(0,"div",25,26),t.Hsn(2,3),t.qZA())}function he(ye,Qe){}function S(ye,Qe){if(1&ye&&t.YNc(0,he,0,0,"ng-template",22),2&ye){t.oxw();const Le=t.MAs(1);t.Q6J("ngTemplateOutlet",Le)}}function i(ye,Qe){1&ye&&(t.TgZ(0,"div",27),t.Hsn(1,4),t.qZA())}function a(ye,Qe){1&ye&&(t.TgZ(0,"div",28),t.Hsn(1,5),t.qZA())}function f(ye,Qe){1&ye&&t._UZ(0,"div",29)}function l(ye,Qe){if(1&ye&&(t.TgZ(0,"div",30),t.Hsn(1,6),t.qZA()),2&ye){const Le=t.oxw();t.Q6J("@transitionMessages",Le._subscriptAnimationState)}}function y(ye,Qe){if(1&ye&&(t.TgZ(0,"mat-hint",34),t._uU(1),t.qZA()),2&ye){const Le=t.oxw(2);t.Q6J("id",Le._hintLabelId),t.xp6(1),t.Oqu(Le.hintLabel)}}function E(ye,Qe){if(1&ye&&(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&ye){const Le=t.oxw();t.Q6J("@transitionMessages",Le._subscriptAnimationState),t.xp6(1),t.Q6J("ngIf",Le.hintLabel)}}const D=["*",[["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 ye{}return ye.\u0275fac=function(Le){return new(Le||ye)},ye.\u0275dir=t.lG2({type:ye,selectors:[["mat-label"]]}),ye})(),b=0;const V=new t.OlP("MatError");let z=(()=>{class ye{constructor(Le,J){this.id="mat-mdc-error-"+b++,Le||J.nativeElement.setAttribute("aria-live","polite")}}return ye.\u0275fac=function(Le){return new(Le||ye)(t.$8M("aria-live"),t.Y36(t.SBq))},ye.\u0275dir=t.lG2({type:ye,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(Le,J){2&Le&&t.Ikx("id",J.id)},inputs:{id:"id"},features:[t._Bn([{provide:V,useExisting:ye}])]}),ye})(),Y=0,Te=(()=>{class ye{constructor(){this.align="start",this.id="mat-mdc-hint-"+Y++}}return ye.\u0275fac=function(Le){return new(Le||ye)},ye.\u0275dir=t.lG2({type:ye,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(Le,J){2&Le&&(t.Ikx("id",J.id),t.uIk("align",null),t.ekj("mat-mdc-form-field-hint-end","end"===J.align))},inputs:{align:"align",id:"id"}}),ye})();const $e=new t.OlP("MatPrefix"),We=new t.OlP("MatSuffix");let Re=(()=>{class ye{constructor(){this._isText=!1}set _isTextSelector(Le){this._isText=!0}}return ye.\u0275fac=function(Le){return new(Le||ye)},ye.\u0275dir=t.lG2({type:ye,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[t._Bn([{provide:We,useExisting:ye}])]}),ye})(),we=(()=>{class ye{constructor(Le){this._elementRef=Le,this.floating=!1}getWidth(){return function me(ye){if(null!==ye.offsetParent)return ye.scrollWidth;const Le=ye.cloneNode(!0);Le.style.setProperty("position","absolute"),Le.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(Le);const J=Le.scrollWidth;return Le.remove(),J}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return ye.\u0275fac=function(Le){return new(Le||ye)(t.Y36(t.SBq))},ye.\u0275dir=t.lG2({type:ye,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(Le,J){2&Le&&t.ekj("mdc-floating-label--float-above",J.floating)},inputs:{floating:"floating"}}),ye})();const Ae="mdc-line-ripple--active",ee="mdc-line-ripple--deactivating";let Ze=(()=>{class ye{constructor(Le,J){this._elementRef=Le,this._handleTransitionEnd=mt=>{const St=this._elementRef.nativeElement.classList,nt=St.contains(ee);"opacity"===mt.propertyName&&nt&&St.remove(Ae,ee)},J.runOutsideAngular(()=>{Le.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const Le=this._elementRef.nativeElement.classList;Le.remove(ee),Le.add(Ae)}deactivate(){this._elementRef.nativeElement.classList.add(ee)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return ye.\u0275fac=function(Le){return new(Le||ye)(t.Y36(t.SBq),t.Y36(t.R0b))},ye.\u0275dir=t.lG2({type:ye,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),ye})(),Oe=(()=>{class ye{constructor(Le,J){this._elementRef=Le,this._ngZone=J,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const Le=this._elementRef.nativeElement.querySelector(".mdc-floating-label");Le?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(Le.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>Le.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 ye.\u0275fac=function(Le){return new(Le||ye)(t.Y36(t.SBq),t.Y36(t.R0b))},ye.\u0275cmp=t.Xpm({type:ye,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(Le,J){2&Le&&t.ekj("mdc-notched-outline--notched",J.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:I,ngContentSelectors:k,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(Le,J){1&Le&&(t.F$t(),t._UZ(0,"div",0),t.TgZ(1,"div",1),t.Hsn(2),t.qZA(),t._UZ(3,"div",2)),2&Le&&(t.xp6(1),t.Udp("width",J._getNotchWidth()))},encapsulation:2,changeDetection:0}),ye})();const fe={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 Se=(()=>{class ye{}return ye.\u0275fac=function(Le){return new(Le||ye)},ye.\u0275dir=t.lG2({type:ye}),ye})();const Ie=new t.OlP("MatFormField"),de=new t.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let rt=0,at=(()=>{class ye{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(Le){this._hideRequiredMarker=(0,P.Ig)(Le)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(Le){Le!==this._floatLabel&&(this._floatLabel=Le,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(Le){const J=this._appearance;this._appearance=Le||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==J&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(Le){this._subscriptSizing=Le||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(Le){this._hintLabel=Le,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(Le){this._explicitFormFieldControl=Le}constructor(Le,J,mt,St,nt,Ye,zt,xt){this._elementRef=Le,this._changeDetectorRef=J,this._ngZone=mt,this._dir=St,this._platform=nt,this._defaults=Ye,this._animationMode=zt,this._document=xt,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-"+rt++,this._hintLabelId="mat-mdc-hint-"+rt++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new A.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Ye&&(Ye.appearance&&(this.appearance=Ye.appearance),this._hideRequiredMarker=Boolean(Ye?.hideRequiredMarker),Ye.color&&(this.color=Ye.color))}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 Le=this._control;Le.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${Le.controlType}`),Le.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),Le.ngControl&&Le.ngControl.valueChanges&&Le.ngControl.valueChanges.pipe((0,C.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(Le=>!Le._isText),this._hasTextPrefix=!!this._prefixChildren.find(Le=>Le._isText),this._hasIconSuffix=!!this._suffixChildren.find(Le=>!Le._isText),this._hasTextSuffix=!!this._suffixChildren.find(Le=>Le._isText)}_initializePrefixAndSuffix(){this._checkPrefixAndSuffixTypes(),(0,s.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(Le){const J=this._control?this._control.ngControl:null;return J&&J[Le]}_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 Le=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&Le.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const J=this._hintChildren?this._hintChildren.find(St=>"start"===St.align):null,mt=this._hintChildren?this._hintChildren.find(St=>"end"===St.align):null;J?Le.push(J.id):this._hintLabel&&Le.push(this._hintLabelId),mt&&Le.push(mt.id)}else this._errorChildren&&Le.push(...this._errorChildren.map(J=>J.id));this._control.setDescribedByIds(Le)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const Le=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(Le.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const J=this._iconPrefixContainer?.nativeElement,mt=this._textPrefixContainer?.nativeElement,St=J?.getBoundingClientRect().width??0,nt=mt?.getBoundingClientRect().width??0;Le.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${St+nt}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const Le=this._elementRef.nativeElement;if(Le.getRootNode){const J=Le.getRootNode();return J&&J!==Le}return document.documentElement.contains(Le)}}return ye.\u0275fac=function(Le){return new(Le||ye)(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(h.K0))},ye.\u0275cmp=t.Xpm({type:ye,selectors:[["mat-form-field"]],contentQueries:function(Le,J,mt){if(1&Le&&(t.Suo(mt,n,5),t.Suo(mt,n,7),t.Suo(mt,Se,5),t.Suo(mt,$e,5),t.Suo(mt,We,5),t.Suo(mt,V,5),t.Suo(mt,Te,5)),2&Le){let St;t.iGM(St=t.CRH())&&(J._labelChildNonStatic=St.first),t.iGM(St=t.CRH())&&(J._labelChildStatic=St.first),t.iGM(St=t.CRH())&&(J._formFieldControl=St.first),t.iGM(St=t.CRH())&&(J._prefixChildren=St),t.iGM(St=t.CRH())&&(J._suffixChildren=St),t.iGM(St=t.CRH())&&(J._errorChildren=St),t.iGM(St=t.CRH())&&(J._hintChildren=St)}},viewQuery:function(Le,J){if(1&Le&&(t.Gf(O,5),t.Gf(U,5),t.Gf(Z,5),t.Gf(we,5),t.Gf(Oe,5),t.Gf(Ze,5)),2&Le){let mt;t.iGM(mt=t.CRH())&&(J._textField=mt.first),t.iGM(mt=t.CRH())&&(J._iconPrefixContainer=mt.first),t.iGM(mt=t.CRH())&&(J._textPrefixContainer=mt.first),t.iGM(mt=t.CRH())&&(J._floatingLabel=mt.first),t.iGM(mt=t.CRH())&&(J._notchedOutline=mt.first),t.iGM(mt=t.CRH())&&(J._lineRipple=mt.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(Le,J){2&Le&&t.ekj("mat-mdc-form-field-label-always-float",J._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",J._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",J._hasIconSuffix)("mat-form-field-invalid",J._control.errorState)("mat-form-field-disabled",J._control.disabled)("mat-form-field-autofilled",J._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===J._animationMode)("mat-form-field-appearance-fill","fill"==J.appearance)("mat-form-field-appearance-outline","outline"==J.appearance)("mat-form-field-hide-placeholder",J._hasFloatingLabel()&&!J._shouldLabelFloat())("mat-focused",J._control.focused)("mat-primary","accent"!==J.color&&"warn"!==J.color)("mat-accent","accent"===J.color)("mat-warn","warn"===J.color)("ng-untouched",J._shouldForward("untouched"))("ng-touched",J._shouldForward("touched"))("ng-pristine",J._shouldForward("pristine"))("ng-dirty",J._shouldForward("dirty"))("ng-valid",J._shouldForward("valid"))("ng-invalid",J._shouldForward("invalid"))("ng-pending",J._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[t._Bn([{provide:Ie,useExisting:ye}])],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(Le,J){1&Le&&(t.F$t(D),t.YNc(0,q,1,1,"ng-template",null,0,t.W1O),t.TgZ(2,"div",1,2),t.NdJ("click",function(St){return J._control.onContainerClick&&J._control.onContainerClick(St)}),t.YNc(4,te,1,0,"div",3),t.TgZ(5,"div",4),t.YNc(6,re,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,S,1,1,"ng-template",9),t.Hsn(11),t.qZA(),t.YNc(12,i,2,0,"div",10),t.YNc(13,a,2,0,"div",11),t.qZA(),t.YNc(14,f,1,0,"div",12),t.qZA(),t.TgZ(15,"div",13),t.YNc(16,l,2,1,"div",14),t.YNc(17,E,5,2,"div",15),t.qZA()),2&Le&&(t.xp6(2),t.ekj("mdc-text-field--filled",!J._hasOutline())("mdc-text-field--outlined",J._hasOutline())("mdc-text-field--no-label",!J._hasFloatingLabel())("mdc-text-field--disabled",J._control.disabled)("mdc-text-field--invalid",J._control.errorState),t.xp6(2),t.Q6J("ngIf",!J._hasOutline()&&!J._control.disabled),t.xp6(2),t.Q6J("ngIf",J._hasOutline()),t.xp6(1),t.Q6J("ngIf",J._hasIconPrefix),t.xp6(1),t.Q6J("ngIf",J._hasTextPrefix),t.xp6(2),t.Q6J("ngIf",!J._hasOutline()||J._forceDisplayInfixLabel()),t.xp6(2),t.Q6J("ngIf",J._hasTextSuffix),t.xp6(1),t.Q6J("ngIf",J._hasIconSuffix),t.xp6(1),t.Q6J("ngIf",!J._hasOutline()),t.xp6(1),t.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===J.subscriptSizing),t.Q6J("ngSwitch",J._getDisplayedMessages()),t.xp6(1),t.Q6J("ngSwitchCase","error"),t.xp6(1),t.Q6J("ngSwitchCase","hint"))},dependencies:[h.O5,h.tP,h.RF,h.n9,M.wD,Te,we,Oe,Ze],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:not(.mdc-floating-label--hide-required-marker)::after{margin-left:1px;margin-right:0px;content:"*"}[dir=rtl] .mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)::after,.mdc-floating-label--required:not(.mdc-floating-label--hide-required-marker)[dir=rtl]::after{margin-left:0;margin-right:1px}.mdc-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-input-control[type=date],.mat-mdc-form-field-input-control[type=datetime],.mat-mdc-form-field-input-control[type=datetime-local],.mat-mdc-form-field-input-control[type=month],.mat-mdc-form-field-input-control[type=week],.mat-mdc-form-field-input-control[type=time]{line-height:1}.mat-mdc-form-field-input-control::-webkit-datetime-edit{line-height:1;padding:0;margin-bottom:-2px}.mat-mdc-form-field{--mat-mdc-form-field-floating-label-scale: 0.75;display:inline-flex;flex-direction:column;min-width:0;text-align:left}[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:[fe.transitionMessages]},changeDetection:0}),ye})(),Ct=(()=>{class ye{}return ye.\u0275fac=function(Le){return new(Le||ye)},ye.\u0275mod=t.oAB({type:ye}),ye.\u0275inj=t.cJS({imports:[w.BQ,h.ez,M.Q8,w.BQ]}),ye})()},782:(Be,Q,m)=>{"use strict";m.d(Q,{DX:()=>I,Il:()=>se,N6:()=>he});var t=m(4650),e=m(3238),g=m(1281),A=m(445);const s=["*"];class d{constructor(){this.columnIndex=0,this.rowIndex=0}get rowCount(){return this.rowIndex+1}get rowspan(){const a=Math.max(...this.tracker);return a>1?this.rowCount+a-1:this.rowCount}update(a,f){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(a),this.tracker.fill(0,0,this.tracker.length),this.positions=f.map(l=>this._trackTile(l))}_trackTile(a){const f=this._findMatchingGap(a.colspan);return this._markTilePosition(f,a),this.columnIndex=f+a.colspan,new M(this.rowIndex,f)}_findMatchingGap(a){let f=-1,l=-1;do{this.columnIndex+a>this.tracker.length?(this._nextRow(),f=this.tracker.indexOf(0,this.columnIndex),l=this._findGapEndIndex(f)):(f=this.tracker.indexOf(0,this.columnIndex),-1!=f?(l=this._findGapEndIndex(f),this.columnIndex=f+1):(this._nextRow(),f=this.tracker.indexOf(0,this.columnIndex),l=this._findGapEndIndex(f)))}while(l-f<a||0==l);return Math.max(f,0)}_nextRow(){this.columnIndex=0,this.rowIndex++;for(let a=0;a<this.tracker.length;a++)this.tracker[a]=Math.max(0,this.tracker[a]-1)}_findGapEndIndex(a){for(let f=a+1;f<this.tracker.length;f++)if(0!=this.tracker[f])return f;return this.tracker.length}_markTilePosition(a,f){for(let l=0;l<f.colspan;l++)this.tracker[a+l]=f.rowspan}}class M{constructor(a,f){this.row=a,this.col=f}}const w=new t.OlP("MAT_GRID_LIST");let I=(()=>{class i{constructor(f,l){this._element=f,this._gridList=l,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(f){this._rowspan=Math.round((0,g.su)(f))}get colspan(){return this._colspan}set colspan(f){this._colspan=Math.round((0,g.su)(f))}_setStyle(f,l){this._element.nativeElement.style[f]=l}}return i.\u0275fac=function(f){return new(f||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(f,l){2&f&&t.uIk("rowspan",l.rowspan)("colspan",l.colspan)},inputs:{rowspan:"rowspan",colspan:"colspan"},exportAs:["matGridTile"],ngContentSelectors:s,decls:2,vars:0,consts:[[1,"mat-grid-tile-content"]],template:function(f,l){1&f&&(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 W=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class K{constructor(){this._rows=0,this._rowspan=0}init(a,f,l,y){this._gutterSize=re(a),this._rows=f.rowCount,this._rowspan=f.rowspan,this._cols=l,this._direction=y}getBaseTileSize(a,f){return`(${a}% - (${this._gutterSize} * ${f}))`}getTilePosition(a,f){return 0===f?"0":oe(`(${a} + ${this._gutterSize}) * ${f}`)}getTileSize(a,f){return`(${a} * ${f}) + (${f-1} * ${this._gutterSize})`}setStyle(a,f,l){let y=100/this._cols,E=(this._cols-1)/this._cols;this.setColStyles(a,l,y,E),this.setRowStyles(a,f,y,E)}setColStyles(a,f,l,y){let E=this.getBaseTileSize(l,y);a._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(E,f)),a._setStyle("width",oe(this.getTileSize(E,a.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(a){return`${this._rowspan} * ${this.getTileSize(a,1)}`}getComputedHeight(){return null}}class q extends K{constructor(a){super(),this.fixedRowHeight=a}init(a,f,l,y){super.init(a,f,l,y),this.fixedRowHeight=re(this.fixedRowHeight),W.test(this.fixedRowHeight)}setRowStyles(a,f){a._setStyle("top",this.getTilePosition(this.fixedRowHeight,f)),a._setStyle("height",oe(this.getTileSize(this.fixedRowHeight,a.rowspan)))}getComputedHeight(){return["height",oe(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(a){a._setListStyle(["height",null]),a._tiles&&a._tiles.forEach(f=>{f._setStyle("top",null),f._setStyle("height",null)})}}class te extends K{constructor(a){super(),this._parseRatio(a)}setRowStyles(a,f,l,y){this.baseTileHeight=this.getBaseTileSize(l/this.rowHeightRatio,y),a._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,f)),a._setStyle("paddingTop",oe(this.getTileSize(this.baseTileHeight,a.rowspan)))}getComputedHeight(){return["paddingBottom",oe(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(a){a._setListStyle(["paddingBottom",null]),a._tiles.forEach(f=>{f._setStyle("marginTop",null),f._setStyle("paddingTop",null)})}_parseRatio(a){const f=a.split(":");this.rowHeightRatio=parseFloat(f[0])/parseFloat(f[1])}}class pe extends K{setRowStyles(a,f){let E=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);a._setStyle("top",this.getTilePosition(E,f)),a._setStyle("height",oe(this.getTileSize(E,a.rowspan)))}reset(a){a._tiles&&a._tiles.forEach(f=>{f._setStyle("top",null),f._setStyle("height",null)})}}function oe(i){return`calc(${i})`}function re(i){return i.match(/([A-Za-z%]+)$/)?i:`${i}px`}let se=(()=>{class i{constructor(f,l){this._element=f,this._dir=l,this._gutter="1px"}get cols(){return this._cols}set cols(f){this._cols=Math.max(1,Math.round((0,g.su)(f)))}get gutterSize(){return this._gutter}set gutterSize(f){this._gutter=`${f??""}`}get rowHeight(){return this._rowHeight}set rowHeight(f){const l=`${f??""}`;l!==this._rowHeight&&(this._rowHeight=l,this._setTileStyler(this._rowHeight))}ngOnInit(){this._checkCols(),this._checkRowHeight()}ngAfterContentChecked(){this._layoutTiles()}_checkCols(){}_checkRowHeight(){this._rowHeight||this._setTileStyler("1:1")}_setTileStyler(f){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===f?new pe:f&&f.indexOf(":")>-1?new te(f):new q(f)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new d);const f=this._tileCoordinator,l=this._tiles.filter(E=>!E._gridList||E._gridList===this),y=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,l),this._tileStyler.init(this.gutterSize,f,this.cols,y),l.forEach((E,D)=>{const v=f.positions[D];this._tileStyler.setStyle(E,v.row,v.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(f){f&&(this._element.nativeElement.style[f[0]]=f[1])}}return i.\u0275fac=function(f){return new(f||i)(t.Y36(t.SBq),t.Y36(A.Is,8))},i.\u0275cmp=t.Xpm({type:i,selectors:[["mat-grid-list"]],contentQueries:function(f,l,y){if(1&f&&t.Suo(y,I,5),2&f){let E;t.iGM(E=t.CRH())&&(l._tiles=E)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(f,l){2&f&&t.uIk("cols",l.cols)},inputs:{cols:"cols",gutterSize:"gutterSize",rowHeight:"rowHeight"},exportAs:["matGridList"],features:[t._Bn([{provide:w,useExisting:i}])],ngContentSelectors:s,decls:2,vars:0,template:function(f,l){1&f&&(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(f){return new(f||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[e.uc,e.BQ,e.uc,e.BQ]}),i})()},7392:(Be,Q,m)=>{"use strict";m.d(Q,{Hw:()=>z,Ps:()=>Y});var t=m(4650),e=m(3238),g=m(1281),A=m(6895),s=m(9646),C=m(2843),h=m(4128),P=m(727),d=m(8505),M=m(4004),w=m(262),I=m(8746),k=m(3099),O=m(5698),U=m(529),Z=m(1481);const W=["*"];let K;function te(Te){return function q(){if(void 0===K&&(K=null,typeof window<"u")){const Te=window;void 0!==Te.trustedTypes&&(K=Te.trustedTypes.createPolicy("angular#components",{createHTML:$e=>$e}))}return K}()?.createHTML(Te)||Te}function pe(Te){return Error(`Unable to find icon with the name "${Te}"`)}function re(Te){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${Te}".`)}function ce(Te){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${Te}".`)}class se{constructor($e,Ve,We){this.url=$e,this.svgText=Ve,this.options=We}}let he=(()=>{class Te{constructor(Ve,We,Re,we){this._httpClient=Ve,this._sanitizer=We,this._errorHandler=we,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=Re}addSvgIcon(Ve,We,Re){return this.addSvgIconInNamespace("",Ve,We,Re)}addSvgIconLiteral(Ve,We,Re){return this.addSvgIconLiteralInNamespace("",Ve,We,Re)}addSvgIconInNamespace(Ve,We,Re,we){return this._addSvgIconConfig(Ve,We,new se(Re,null,we))}addSvgIconResolver(Ve){return this._resolvers.push(Ve),this}addSvgIconLiteralInNamespace(Ve,We,Re,we){const me=this._sanitizer.sanitize(t.q3G.HTML,Re);if(!me)throw ce(Re);const Ae=te(me);return this._addSvgIconConfig(Ve,We,new se("",Ae,we))}addSvgIconSet(Ve,We){return this.addSvgIconSetInNamespace("",Ve,We)}addSvgIconSetLiteral(Ve,We){return this.addSvgIconSetLiteralInNamespace("",Ve,We)}addSvgIconSetInNamespace(Ve,We,Re){return this._addSvgIconSetConfig(Ve,new se(We,null,Re))}addSvgIconSetLiteralInNamespace(Ve,We,Re){const we=this._sanitizer.sanitize(t.q3G.HTML,We);if(!we)throw ce(We);const me=te(we);return this._addSvgIconSetConfig(Ve,new se("",me,Re))}registerFontClassAlias(Ve,We=Ve){return this._fontCssClassesByAlias.set(Ve,We),this}classNameForFontAlias(Ve){return this._fontCssClassesByAlias.get(Ve)||Ve}setDefaultFontSetClass(...Ve){return this._defaultFontSetClass=Ve,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(Ve){const We=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,Ve);if(!We)throw re(Ve);const Re=this._cachedIconsByUrl.get(We);return Re?(0,s.of)(a(Re)):this._loadSvgIconFromConfig(new se(Ve,null)).pipe((0,d.b)(we=>this._cachedIconsByUrl.set(We,we)),(0,M.U)(we=>a(we)))}getNamedSvgIcon(Ve,We=""){const Re=f(We,Ve);let we=this._svgIconConfigs.get(Re);if(we)return this._getSvgFromConfig(we);if(we=this._getIconConfigFromResolvers(We,Ve),we)return this._svgIconConfigs.set(Re,we),this._getSvgFromConfig(we);const me=this._iconSetConfigs.get(We);return me?this._getSvgFromIconSetConfigs(Ve,me):(0,C._)(pe(Re))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(Ve){return Ve.svgText?(0,s.of)(a(this._svgElementFromConfig(Ve))):this._loadSvgIconFromConfig(Ve).pipe((0,M.U)(We=>a(We)))}_getSvgFromIconSetConfigs(Ve,We){const Re=this._extractIconWithNameFromAnySet(Ve,We);if(Re)return(0,s.of)(Re);const we=We.filter(me=>!me.svgText).map(me=>this._loadSvgIconSetFromConfig(me).pipe((0,w.K)(Ae=>{const Ze=`Loading icon set URL: ${this._sanitizer.sanitize(t.q3G.RESOURCE_URL,me.url)} failed: ${Ae.message}`;return this._errorHandler.handleError(new Error(Ze)),(0,s.of)(null)})));return(0,h.D)(we).pipe((0,M.U)(()=>{const me=this._extractIconWithNameFromAnySet(Ve,We);if(!me)throw pe(Ve);return me}))}_extractIconWithNameFromAnySet(Ve,We){for(let Re=We.length-1;Re>=0;Re--){const we=We[Re];if(we.svgText&&we.svgText.toString().indexOf(Ve)>-1){const me=this._svgElementFromConfig(we),Ae=this._extractSvgIconFromSet(me,Ve,we.options);if(Ae)return Ae}}return null}_loadSvgIconFromConfig(Ve){return this._fetchIcon(Ve).pipe((0,d.b)(We=>Ve.svgText=We),(0,M.U)(()=>this._svgElementFromConfig(Ve)))}_loadSvgIconSetFromConfig(Ve){return Ve.svgText?(0,s.of)(null):this._fetchIcon(Ve).pipe((0,d.b)(We=>Ve.svgText=We))}_extractSvgIconFromSet(Ve,We,Re){const we=Ve.querySelector(`[id="${We}"]`);if(!we)return null;const me=we.cloneNode(!0);if(me.removeAttribute("id"),"svg"===me.nodeName.toLowerCase())return this._setSvgAttributes(me,Re);if("symbol"===me.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(me),Re);const Ae=this._svgElementFromString(te("<svg></svg>"));return Ae.appendChild(me),this._setSvgAttributes(Ae,Re)}_svgElementFromString(Ve){const We=this._document.createElement("DIV");We.innerHTML=Ve;const Re=We.querySelector("svg");if(!Re)throw Error("<svg> tag not found");return Re}_toSvgElement(Ve){const We=this._svgElementFromString(te("<svg></svg>")),Re=Ve.attributes;for(let we=0;we<Re.length;we++){const{name:me,value:Ae}=Re[we];"id"!==me&&We.setAttribute(me,Ae)}for(let we=0;we<Ve.childNodes.length;we++)Ve.childNodes[we].nodeType===this._document.ELEMENT_NODE&&We.appendChild(Ve.childNodes[we].cloneNode(!0));return We}_setSvgAttributes(Ve,We){return Ve.setAttribute("fit",""),Ve.setAttribute("height","100%"),Ve.setAttribute("width","100%"),Ve.setAttribute("preserveAspectRatio","xMidYMid meet"),Ve.setAttribute("focusable","false"),We&&We.viewBox&&Ve.setAttribute("viewBox",We.viewBox),Ve}_fetchIcon(Ve){const{url:We,options:Re}=Ve,we=Re?.withCredentials??!1;if(!this._httpClient)throw function oe(){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==We)throw Error(`Cannot fetch icon from URL "${We}".`);const me=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,We);if(!me)throw re(We);const Ae=this._inProgressUrlFetches.get(me);if(Ae)return Ae;const ee=this._httpClient.get(me,{responseType:"text",withCredentials:we}).pipe((0,M.U)(Ze=>te(Ze)),(0,I.x)(()=>this._inProgressUrlFetches.delete(me)),(0,k.B)());return this._inProgressUrlFetches.set(me,ee),ee}_addSvgIconConfig(Ve,We,Re){return this._svgIconConfigs.set(f(Ve,We),Re),this}_addSvgIconSetConfig(Ve,We){const Re=this._iconSetConfigs.get(Ve);return Re?Re.push(We):this._iconSetConfigs.set(Ve,[We]),this}_svgElementFromConfig(Ve){if(!Ve.svgElement){const We=this._svgElementFromString(Ve.svgText);this._setSvgAttributes(We,Ve.options),Ve.svgElement=We}return Ve.svgElement}_getIconConfigFromResolvers(Ve,We){for(let Re=0;Re<this._resolvers.length;Re++){const we=this._resolvers[Re](We,Ve);if(we)return l(we)?new se(we.url,null,we.options):new se(we,null)}}}return Te.\u0275fac=function(Ve){return new(Ve||Te)(t.LFG(U.eN,8),t.LFG(Z.H7),t.LFG(A.K0,8),t.LFG(t.qLn))},Te.\u0275prov=t.Yz7({token:Te,factory:Te.\u0275fac,providedIn:"root"}),Te})();function a(Te){return Te.cloneNode(!0)}function f(Te,$e){return Te+":"+$e}function l(Te){return!(!Te.url||!Te.options)}const y=(0,e.pj)(class{constructor(Te){this._elementRef=Te}}),E=new t.OlP("MAT_ICON_DEFAULT_OPTIONS"),D=new t.OlP("mat-icon-location",{providedIn:"root",factory:function v(){const Te=(0,t.f3M)(A.K0),$e=Te?Te.location:null;return{getPathname:()=>$e?$e.pathname+$e.search:""}}}),n=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],b=n.map(Te=>`[${Te}]`).join(", "),V=/^url\(['"]?#(.*?)['"]?\)$/;let z=(()=>{class Te extends y{get inline(){return this._inline}set inline(Ve){this._inline=(0,g.Ig)(Ve)}get svgIcon(){return this._svgIcon}set svgIcon(Ve){Ve!==this._svgIcon&&(Ve?this._updateSvgIcon(Ve):this._svgIcon&&this._clearSvgElement(),this._svgIcon=Ve)}get fontSet(){return this._fontSet}set fontSet(Ve){const We=this._cleanupFontValue(Ve);We!==this._fontSet&&(this._fontSet=We,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(Ve){const We=this._cleanupFontValue(Ve);We!==this._fontIcon&&(this._fontIcon=We,this._updateFontIconClasses())}constructor(Ve,We,Re,we,me,Ae){super(Ve),this._iconRegistry=We,this._location=we,this._errorHandler=me,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=P.w0.EMPTY,Ae&&(Ae.color&&(this.color=this.defaultColor=Ae.color),Ae.fontSet&&(this.fontSet=Ae.fontSet)),Re||Ve.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(Ve){if(!Ve)return["",""];const We=Ve.split(":");switch(We.length){case 1:return["",We[0]];case 2:return We;default:throw Error(`Invalid icon name: "${Ve}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const Ve=this._elementsWithExternalReferences;if(Ve&&Ve.size){const We=this._location.getPathname();We!==this._previousPath&&(this._previousPath=We,this._prependPathToReferences(We))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(Ve){this._clearSvgElement();const We=this._location.getPathname();this._previousPath=We,this._cacheChildrenWithExternalReferences(Ve),this._prependPathToReferences(We),this._elementRef.nativeElement.appendChild(Ve)}_clearSvgElement(){const Ve=this._elementRef.nativeElement;let We=Ve.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();We--;){const Re=Ve.childNodes[We];(1!==Re.nodeType||"svg"===Re.nodeName.toLowerCase())&&Re.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const Ve=this._elementRef.nativeElement,We=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Re=>Re.length>0);this._previousFontSetClass.forEach(Re=>Ve.classList.remove(Re)),We.forEach(Re=>Ve.classList.add(Re)),this._previousFontSetClass=We,this.fontIcon!==this._previousFontIconClass&&!We.includes("mat-ligature-font")&&(this._previousFontIconClass&&Ve.classList.remove(this._previousFontIconClass),this.fontIcon&&Ve.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(Ve){return"string"==typeof Ve?Ve.trim().split(" ")[0]:Ve}_prependPathToReferences(Ve){const We=this._elementsWithExternalReferences;We&&We.forEach((Re,we)=>{Re.forEach(me=>{we.setAttribute(me.name,`url('${Ve}#${me.value}')`)})})}_cacheChildrenWithExternalReferences(Ve){const We=Ve.querySelectorAll(b),Re=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let we=0;we<We.length;we++)n.forEach(me=>{const Ae=We[we],ee=Ae.getAttribute(me),Ze=ee?ee.match(V):null;if(Ze){let Oe=Re.get(Ae);Oe||(Oe=[],Re.set(Ae,Oe)),Oe.push({name:me,value:Ze[1]})}})}_updateSvgIcon(Ve){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),Ve){const[We,Re]=this._splitIconName(Ve);We&&(this._svgNamespace=We),Re&&(this._svgName=Re),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Re,We).pipe((0,O.q)(1)).subscribe(we=>this._setSvgElement(we),we=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${We}:${Re}! ${we.message}`))})}}}return Te.\u0275fac=function(Ve){return new(Ve||Te)(t.Y36(t.SBq),t.Y36(he),t.$8M("aria-hidden"),t.Y36(D),t.Y36(t.qLn),t.Y36(E,8))},Te.\u0275cmp=t.Xpm({type:Te,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(Ve,We){2&Ve&&(t.uIk("data-mat-icon-type",We._usingFontIcon()?"font":"svg")("data-mat-icon-name",We._svgName||We.fontIcon)("data-mat-icon-namespace",We._svgNamespace||We.fontSet)("fontIcon",We._usingFontIcon()?We.fontIcon:null),t.ekj("mat-icon-inline",We.inline)("mat-icon-no-color","primary"!==We.color&&"accent"!==We.color&&"warn"!==We.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[t.qOj],ngContentSelectors:W,decls:1,vars:0,template:function(Ve,We){1&Ve&&(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}),Te})(),Y=(()=>{class Te{}return Te.\u0275fac=function(Ve){return new(Ve||Te)},Te.\u0275mod=t.oAB({type:Te}),Te.\u0275inj=t.cJS({imports:[e.BQ,e.BQ]}),Te})()},4144:(Be,Q,m)=>{"use strict";m.d(Q,{Jk:()=>U,Nt:()=>q,c:()=>te});var t=m(1281),e=m(3353),g=m(4650),A=m(515),s=m(7579);const C=(0,e.i$)({passive:!0});let h=(()=>{class pe{constructor(re,ce){this._platform=re,this._ngZone=ce,this._monitoredElements=new Map}monitor(re){if(!this._platform.isBrowser)return A.E;const ce=(0,t.fI)(re),se=this._monitoredElements.get(ce);if(se)return se.subject;const he=new s.x,S="cdk-text-field-autofilled",i=a=>{"cdk-text-field-autofill-start"!==a.animationName||ce.classList.contains(S)?"cdk-text-field-autofill-end"===a.animationName&&ce.classList.contains(S)&&(ce.classList.remove(S),this._ngZone.run(()=>he.next({target:a.target,isAutofilled:!1}))):(ce.classList.add(S),this._ngZone.run(()=>he.next({target:a.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(re){const ce=(0,t.fI)(re),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((re,ce)=>this.stopMonitoring(ce))}}return pe.\u0275fac=function(re){return new(re||pe)(g.LFG(e.t4),g.LFG(g.R0b))},pe.\u0275prov=g.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})(),M=(()=>{class pe{}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275mod=g.oAB({type:pe}),pe.\u0275inj=g.cJS({}),pe})();var w=m(4006),I=m(3238),k=m(9549);const U=new g.OlP("MAT_INPUT_VALUE_ACCESSOR"),Z=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let W=0;const K=(0,I.FD)(class{constructor(pe,oe,re,ce){this._defaultErrorStateMatcher=pe,this._parentForm=oe,this._parentFormGroup=re,this.ngControl=ce,this.stateChanges=new s.x}});let q=(()=>{class pe extends K{get disabled(){return this._disabled}set disabled(re){this._disabled=(0,t.Ig)(re),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(re){this._id=re||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(w.kI.required)??!1}set required(re){this._required=(0,t.Ig)(re)}get type(){return this._type}set type(re){this._type=re||"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(re){re!==this.value&&(this._inputValueAccessor.value=re,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(re){this._readonly=(0,t.Ig)(re)}constructor(re,ce,se,he,S,i,a,f,l,y){super(i,he,S,se),this._elementRef=re,this._platform=ce,this._autofillMonitor=f,this._formField=y,this._uid="mat-input-"+W++,this.focused=!1,this.stateChanges=new s.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 E=this._elementRef.nativeElement,D=E.nodeName.toLowerCase();this._inputValueAccessor=a||E,this._previousNativeValue=this.value,this.id=this.id,ce.IOS&&l.runOutsideAngular(()=>{re.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===D,this._isTextarea="textarea"===D,this._isInFormField=!!y,this._isNativeSelect&&(this.controlType=E.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(re=>{this.autofilled=re.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(re){this._elementRef.nativeElement.focus(re)}_focusChanged(re){re!==this.focused&&(this.focused=re,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const re=this._elementRef.nativeElement.value;this._previousNativeValue!==re&&(this._previousNativeValue=re,this.stateChanges.next())}_dirtyCheckPlaceholder(){const re=this._getPlaceholder();if(re!==this._previousPlaceholder){const ce=this._elementRef.nativeElement;this._previousPlaceholder=re,re?ce.setAttribute("placeholder",re):ce.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){Z.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let re=this._elementRef.nativeElement.validity;return re&&re.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const re=this._elementRef.nativeElement,ce=re.options[0];return this.focused||re.multiple||!this.empty||!!(re.selectedIndex>-1&&ce&&ce.label)}return this.focused||!this.empty}setDescribedByIds(re){re.length?this._elementRef.nativeElement.setAttribute("aria-describedby",re.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const re=this._elementRef.nativeElement;return this._isNativeSelect&&(re.multiple||re.size>1)}}return pe.\u0275fac=function(re){return new(re||pe)(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(I.rD),g.Y36(U,10),g.Y36(h),g.Y36(g.R0b),g.Y36(k.G_,8))},pe.\u0275dir=g.lG2({type:pe,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(re,ce){1&re&&g.NdJ("focus",function(){return ce._focusChanged(!0)})("blur",function(){return ce._focusChanged(!1)})("input",function(){return ce._onInput()}),2&re&&(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:k.Eo,useExisting:pe}]),g.qOj,g.TTD]}),pe})(),te=(()=>{class pe{}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275mod=g.oAB({type:pe}),pe.\u0275inj=g.cJS({imports:[I.BQ,k.lN,k.lN,M,I.BQ]}),pe})()},6338:(Be,Q,m)=>{"use strict";m.d(Q,{Tg:()=>Se,i$:()=>fe,ie:()=>Nt});var t=m(4650),e=m(1281),g=m(3353),A=m(3238),s=m(727),C=m(6451),P=(m(7579),m(9643)),d=m(6895),M=m(4850);m(4761),m(5017),m(9521),m(4006),m(2722);const Z=["*"],K=["unscopedContent"],q=["text"],te=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],pe=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],z=new t.OlP("ListOption");let Y=(()=>{class Ke{constructor(Ct){this._elementRef=Ct}}return Ke.\u0275fac=function(Ct){return new(Ct||Ke)(t.Y36(t.SBq))},Ke.\u0275dir=t.lG2({type:Ke,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),Ke})(),Te=(()=>{class Ke{constructor(Ct){this._elementRef=Ct}}return Ke.\u0275fac=function(Ct){return new(Ct||Ke)(t.Y36(t.SBq))},Ke.\u0275dir=t.lG2({type:Ke,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),Ke})(),$e=(()=>{class Ke{}return Ke.\u0275fac=function(Ct){return new(Ct||Ke)},Ke.\u0275dir=t.lG2({type:Ke,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),Ke})(),Ve=(()=>{class Ke{constructor(Ct){this._listOption=Ct}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}}return Ke.\u0275fac=function(Ct){return new(Ct||Ke)(t.Y36(z,8))},Ke.\u0275dir=t.lG2({type:Ke,hostVars:4,hostBindings:function(Ct,ye){2&Ct&&t.ekj("mdc-list-item__start",ye._isAlignedAtStart())("mdc-list-item__end",!ye._isAlignedAtStart())}}),Ke})(),We=(()=>{class Ke extends Ve{}return Ke.\u0275fac=function(){let at;return function(ye){return(at||(at=t.n5z(Ke)))(ye||Ke)}}(),Ke.\u0275dir=t.lG2({type:Ke,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[t.qOj]}),Ke})(),Re=(()=>{class Ke extends Ve{}return Ke.\u0275fac=function(){let at;return function(ye){return(at||(at=t.n5z(Ke)))(ye||Ke)}}(),Ke.\u0275dir=t.lG2({type:Ke,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[t.qOj]}),Ke})();const we=new t.OlP("MAT_LIST_CONFIG");let me=(()=>{class Ke{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,t.f3M)(we,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(Ct){this._disableRipple=(0,e.Ig)(Ct)}get disabled(){return this._disabled}set disabled(Ct){this._disabled=(0,e.Ig)(Ct)}}return Ke.\u0275fac=function(Ct){return new(Ct||Ke)},Ke.\u0275dir=t.lG2({type:Ke,hostVars:1,hostBindings:function(Ct,ye){2&Ct&&t.uIk("aria-disabled",ye.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),Ke})(),Ae=(()=>{class Ke{set lines(Ct){this._explicitLines=(0,e.su)(Ct,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(Ct){this._disableRipple=(0,e.Ig)(Ct)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(Ct){this._disabled=(0,e.Ig)(Ct)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(Ct,ye,Qe,Le,J,mt){this._elementRef=Ct,this._ngZone=ye,this._listBase=Qe,this._platform=Le,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new s.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=J||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement="button"===this._hostElement.nodeName.toLowerCase(),this._noopAnimations="NoopAnimations"===mt,Qe&&!Qe._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),null!==this._rippleRenderer&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!(!this._avatars.length&&!this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new 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(Ct){if(!this._lines||!this._titles||!this._unscopedContent)return;Ct&&this._checkDomForUnscopedTextContent();const ye=this._explicitLines??this._inferLinesFromContent(),Qe=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",ye<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",ye<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===ye),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===ye),this._hasUnscopedTextContent){const Le=0===this._titles.length&&1===ye;Qe.classList.toggle("mdc-list-item__primary-text",Le),Qe.classList.toggle("mdc-list-item__secondary-text",!Le)}else Qe.classList.remove("mdc-list-item__primary-text"),Qe.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let Ct=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(Ct+=1),Ct}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(Ct=>Ct.nodeType!==Ct.COMMENT_NODE).some(Ct=>!(!Ct.textContent||!Ct.textContent.trim()))}}return Ke.\u0275fac=function(Ct){return new(Ct||Ke)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(me,8),t.Y36(g.t4),t.Y36(A.Y2,8),t.Y36(t.QbO,8))},Ke.\u0275dir=t.lG2({type:Ke,contentQueries:function(Ct,ye,Qe){if(1&Ct&&(t.Suo(Qe,We,4),t.Suo(Qe,Re,4)),2&Ct){let Le;t.iGM(Le=t.CRH())&&(ye._avatars=Le),t.iGM(Le=t.CRH())&&(ye._icons=Le)}},hostVars:4,hostBindings:function(Ct,ye){2&Ct&&(t.uIk("aria-disabled",ye.disabled)("disabled",ye._isButtonElement&&ye.disabled||null),t.ekj("mdc-list-item--disabled",ye.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),Ke})(),fe=(()=>{class Ke extends me{}return Ke.\u0275fac=function(){let at;return function(ye){return(at||(at=t.n5z(Ke)))(ye||Ke)}}(),Ke.\u0275cmp=t.Xpm({type:Ke,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[t._Bn([{provide:me,useExisting:Ke}]),t.qOj],ngContentSelectors:Z,decls:1,vars:0,template:function(Ct,ye){1&Ct&&(t.F$t(),t.Hsn(0))},styles:['@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);line-height:var(--mdc-typography-caption-line-height);font-weight:var(--mdc-typography-caption-font-weight);letter-spacing:var(--mdc-typography-caption-letter-spacing);text-decoration:var(--mdc-typography-caption-text-decoration);text-transform:var(--mdc-typography-caption-text-transform)}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.mdc-list-item{background-color:var(--mdc-list-list-item-container-color)}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item--with-one-line{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-avatar,.mdc-list-item--with-one-line.mdc-list-item--with-leading-icon,.mdc-list-item--with-one-line.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-one-line.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-one-line.mdc-list-item--with-leading-radio,.mdc-list-item--with-one-line.mdc-list-item--with-leading-switch{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-one-line.mdc-list-item--with-leading-image,.mdc-list-item--with-one-line.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-two-lines.mdc-list-item--with-leading-avatar,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-icon,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-thumbnail,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-checkbox,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-radio,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-switch,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-image,.mdc-list-item--with-two-lines.mdc-list-item--with-leading-video{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item--with-three-lines{border-radius:var(--mdc-list-list-item-container-shape)}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item__primary-text{color:var(--mdc-list-list-item-label-text-color)}.mdc-list-item__primary-text{font-family:var(--mdc-list-list-item-label-text-font);line-height:var(--mdc-list-list-item-label-text-line-height);font-size:var(--mdc-list-list-item-label-text-size);font-weight:var(--mdc-list-list-item-label-text-weight);letter-spacing:var(--mdc-list-list-item-label-text-tracking)}.mdc-list-item__secondary-text{color:var(--mdc-list-list-item-supporting-text-color)}.mdc-list-item__secondary-text{font-family:var(--mdc-list-list-item-supporting-text-font);line-height:var(--mdc-list-list-item-supporting-text-line-height);font-size:var(--mdc-list-list-item-supporting-text-size);font-weight:var(--mdc-list-list-item-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-supporting-text-tracking)}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color)}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start>i{font-size:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-icon .mdc-list-item__start .mdc-list-item__icon{font-size:var(--mdc-list-list-item-leading-icon-size);width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color)}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font);line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height);font-size:var(--mdc-list-list-item-trailing-supporting-text-size);font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight);letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color)}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end>i{font-size:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon .mdc-list-item__end .mdc-list-item__icon{font-size:var(--mdc-list-list-item-trailing-icon-size);width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color)}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text,.mdc-list-item--disabled .mdc-list-item__overline-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color)}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color)}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color)}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color);opacity:var(--mdc-list-list-item-hover-state-layer-opacity)}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color);opacity:var(--mdc-list-list-item-disabled-state-layer-opacity)}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color);opacity:var(--mdc-list-list-item-focus-state-layer-opacity)}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape);background-color:var(--mdc-list-list-item-leading-avatar-color)}.mat-mdc-list-base{--mdc-list-list-item-container-shape:0;--mdc-list-list-item-leading-avatar-shape:50%;--mdc-list-list-item-container-color:transparent;--mdc-list-list-item-selected-container-color:transparent;--mdc-list-list-item-leading-avatar-color:transparent;--mdc-list-list-item-leading-icon-size:24px;--mdc-list-list-item-leading-avatar-size:40px;--mdc-list-list-item-trailing-icon-size:24px;--mdc-list-list-item-disabled-state-layer-color:transparent;--mdc-list-list-item-disabled-state-layer-opacity:0;--mdc-list-list-item-disabled-label-text-opacity:0.38;--mdc-list-list-item-disabled-leading-icon-opacity:0.38;--mdc-list-list-item-disabled-trailing-icon-opacity:0.38}.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}),Ke})(),Se=(()=>{class Ke extends Ae{get activated(){return this._activated}set activated(Ct){this._activated=(0,e.Ig)(Ct)}constructor(Ct,ye,Qe,Le,J,mt){super(Ct,ye,Qe,Le,J,mt),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}return Ke.\u0275fac=function(Ct){return new(Ct||Ke)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(me,8),t.Y36(g.t4),t.Y36(A.Y2,8),t.Y36(t.QbO,8))},Ke.\u0275cmp=t.Xpm({type:Ke,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(Ct,ye,Qe){if(1&Ct&&(t.Suo(Qe,Te,5),t.Suo(Qe,Y,5),t.Suo(Qe,$e,5)),2&Ct){let Le;t.iGM(Le=t.CRH())&&(ye._lines=Le),t.iGM(Le=t.CRH())&&(ye._titles=Le),t.iGM(Le=t.CRH())&&(ye._meta=Le)}},viewQuery:function(Ct,ye){if(1&Ct&&(t.Gf(K,5),t.Gf(q,5)),2&Ct){let Qe;t.iGM(Qe=t.CRH())&&(ye._unscopedContent=Qe.first),t.iGM(Qe=t.CRH())&&(ye._itemText=Qe.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(Ct,ye){2&Ct&&(t.uIk("aria-current",ye._getAriaCurrent()),t.ekj("mdc-list-item--activated",ye.activated)("mdc-list-item--with-leading-avatar",0!==ye._avatars.length)("mdc-list-item--with-leading-icon",0!==ye._icons.length)("mdc-list-item--with-trailing-meta",0!==ye._meta.length)("_mat-animation-noopable",ye._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[t.qOj],ngContentSelectors:pe,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(Ct,ye){1&Ct&&(t.F$t(te),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 ye._updateItemLines(!0)}),t.Hsn(6,3),t.qZA()(),t.Hsn(7,4),t.Hsn(8,5),t._UZ(9,"div",3))},dependencies:[P.wD],encapsulation:2,changeDetection:0}),Ke})(),Nt=(()=>{class Ke{}return Ke.\u0275fac=function(Ct){return new(Ct||Ke)},Ke.\u0275mod=t.oAB({type:Ke}),Ke.\u0275inj=t.cJS({imports:[P.Q8,d.ez,A.BQ,A.si,A.us,M.t]}),Ke})()},8255:(Be,Q,m)=>{"use strict";m.d(Q,{OP:()=>y,Tx:()=>ge,VK:()=>we,p6:()=>Se});var t=m(4650),e=m(4761),g=m(1281),A=m(9521),s=m(7579),C=m(6451),h=m(727),P=m(9646),d=m(3101),M=m(8675),w=m(3900),I=m(5698),k=m(2722),O=m(9300),U=m(4086),Z=m(3238),W=m(6895),K=m(4080),q=m(7340),te=m(445),pe=m(8184),oe=m(3353),re=m(531);const ce=["mat-menu-item",""];function se(xe,vt){1&xe&&(t.O4$(),t.TgZ(0,"svg",3),t._UZ(1,"polygon",4),t.qZA())}const he=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],S=["mat-icon, [matMenuItemIcon]","*"];function i(xe,vt){if(1&xe){const Ie=t.EpF();t.TgZ(0,"div",0),t.NdJ("keydown",function(rt){t.CHM(Ie);const je=t.oxw();return t.KtG(je._handleKeydown(rt))})("click",function(){t.CHM(Ie);const rt=t.oxw();return t.KtG(rt.closed.emit("click"))})("@transformMenu.start",function(rt){t.CHM(Ie);const je=t.oxw();return t.KtG(je._onAnimationStart(rt))})("@transformMenu.done",function(rt){t.CHM(Ie);const je=t.oxw();return t.KtG(je._onAnimationDone(rt))}),t.TgZ(1,"div",1),t.Hsn(2),t.qZA()()}if(2&xe){const Ie=t.oxw();t.Q6J("id",Ie.panelId)("ngClass",Ie._classList)("@transformMenu",Ie._panelAnimationState),t.uIk("aria-label",Ie.ariaLabel||null)("aria-labelledby",Ie.ariaLabelledby||null)("aria-describedby",Ie.ariaDescribedby||null)}}const a=["*"],f=new t.OlP("MAT_MENU_PANEL"),l=(0,Z.Kr)((0,Z.Id)(class{}));let y=(()=>{class xe extends l{constructor(Ie,de,rt,je,lt){super(),this._elementRef=Ie,this._document=de,this._focusMonitor=rt,this._parentMenu=je,this._changeDetectorRef=lt,this.role="menuitem",this._hovered=new s.x,this._focused=new s.x,this._highlighted=!1,this._triggersSubmenu=!1,je?.addItem?.(this)}focus(Ie,de){this._focusMonitor&&Ie?this._focusMonitor.focusVia(this._getHostElement(),Ie,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(Ie){this.disabled&&(Ie.preventDefault(),Ie.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const Ie=this._elementRef.nativeElement.cloneNode(!0),de=Ie.querySelectorAll("mat-icon, .material-icons");for(let rt=0;rt<de.length;rt++)de[rt].remove();return Ie.textContent?.trim()||""}_setHighlighted(Ie){this._highlighted=Ie,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(Ie){this._triggersSubmenu=Ie,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return xe.\u0275fac=function(Ie){return new(Ie||xe)(t.Y36(t.SBq),t.Y36(W.K0),t.Y36(e.tE),t.Y36(f,8),t.Y36(t.sBO))},xe.\u0275cmp=t.Xpm({type:xe,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(Ie,de){1&Ie&&t.NdJ("click",function(je){return de._checkDisabled(je)})("mouseenter",function(){return de._handleMouseEnter()}),2&Ie&&(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:S,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(Ie,de){1&Ie&&(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&Ie&&(t.xp6(3),t.Q6J("matRippleDisabled",de.disableRipple||de.disabled)("matRippleTrigger",de._getHostElement()),t.xp6(1),t.Q6J("ngIf",de._triggersSubmenu))},dependencies:[W.O5,Z.wG],encapsulation:2,changeDetection:0}),xe})();const n=new t.OlP("MatMenuContent"),z={transformMenu:(0,q.X$)("transformMenu",[(0,q.SB)("void",(0,q.oB)({opacity:0,transform:"scale(0.8)"})),(0,q.eR)("void => enter",(0,q.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,q.oB)({opacity:1,transform:"scale(1)"}))),(0,q.eR)("* => void",(0,q.jt)("100ms 25ms linear",(0,q.oB)({opacity:0})))]),fadeInItems:(0,q.X$)("fadeInItems",[(0,q.SB)("showing",(0,q.oB)({opacity:1})),(0,q.eR)("void => *",[(0,q.oB)({opacity:0}),(0,q.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let $e=0;const Ve=new t.OlP("mat-menu-default-options",{providedIn:"root",factory:function We(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Re=(()=>{class xe{get xPosition(){return this._xPosition}set xPosition(Ie){this._xPosition=Ie,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(Ie){this._yPosition=Ie,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(Ie){this._overlapTrigger=(0,g.Ig)(Ie)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(Ie){this._hasBackdrop=(0,g.Ig)(Ie)}set panelClass(Ie){const de=this._previousPanelClass;de&&de.length&&de.split(" ").forEach(rt=>{this._classList[rt]=!1}),this._previousPanelClass=Ie,Ie&&Ie.length&&(Ie.split(" ").forEach(rt=>{this._classList[rt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(Ie){this.panelClass=Ie}constructor(Ie,de,rt,je){this._elementRef=Ie,this._ngZone=de,this._defaultOptions=rt,this._changeDetectorRef=je,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new t.n_E,this._classList={},this._panelAnimationState="void",this._animationDone=new s.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-"+$e++}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)(Ie=>(0,C.T)(...Ie.map(de=>de._focused)))).subscribe(Ie=>this._keyManager.updateActiveItem(Ie)),this._directDescendantItems.changes.subscribe(Ie=>{const de=this._keyManager;if("enter"===this._panelAnimationState&&de.activeItem?._hasFocus()){const rt=Ie.toArray(),je=Math.max(0,Math.min(rt.length-1,de.activeItemIndex||0));rt[je]&&!rt[je].disabled?de.setActiveItem(je):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(rt=>rt._hovered))))}addItem(Ie){}removeItem(Ie){}_handleKeydown(Ie){const de=Ie.keyCode,rt=this._keyManager;switch(de){case A.hY:(0,A.Vb)(Ie)||(Ie.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)&&rt.setFocusOrigin("keyboard"),void rt.onKeydown(Ie)}Ie.stopPropagation()}focusFirstItem(Ie="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,I.q)(1)).subscribe(()=>{let de=null;if(this._directDescendantItems.length&&(de=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!de||!de.contains(document.activeElement)){const rt=this._keyManager;rt.setFocusOrigin(Ie).setFirstItemActive(),!rt.activeItem&&de&&de.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(Ie){const de=Math.min(this._baseElevation+Ie,24),rt=`${this._elevationPrefix}${de}`,je=Object.keys(this._classList).find(lt=>lt.startsWith(this._elevationPrefix));(!je||je===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[rt]=!0,this._previousElevation=rt)}setPositionClasses(Ie=this.xPosition,de=this.yPosition){const rt=this._classList;rt["mat-menu-before"]="before"===Ie,rt["mat-menu-after"]="after"===Ie,rt["mat-menu-above"]="above"===de,rt["mat-menu-below"]="below"===de,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(Ie){this._animationDone.next(Ie),this._isAnimating=!1}_onAnimationStart(Ie){this._isAnimating=!0,"enter"===Ie.toState&&0===this._keyManager.activeItemIndex&&(Ie.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,M.O)(this._allItems)).subscribe(Ie=>{this._directDescendantItems.reset(Ie.filter(de=>de._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return xe.\u0275fac=function(Ie){return new(Ie||xe)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(Ve),t.Y36(t.sBO))},xe.\u0275dir=t.lG2({type:xe,contentQueries:function(Ie,de,rt){if(1&Ie&&(t.Suo(rt,n,5),t.Suo(rt,y,5),t.Suo(rt,y,4)),2&Ie){let je;t.iGM(je=t.CRH())&&(de.lazyContent=je.first),t.iGM(je=t.CRH())&&(de._allItems=je),t.iGM(je=t.CRH())&&(de.items=je)}},viewQuery:function(Ie,de){if(1&Ie&&t.Gf(t.Rgc,5),2&Ie){let rt;t.iGM(rt=t.CRH())&&(de.templateRef=rt.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"}}),xe})(),we=(()=>{class xe extends Re{constructor(Ie,de,rt,je){super(Ie,de,rt,je),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return xe.\u0275fac=function(Ie){return new(Ie||xe)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(Ve),t.Y36(t.sBO))},xe.\u0275cmp=t.Xpm({type:xe,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(Ie,de){2&Ie&&t.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[t._Bn([{provide:f,useExisting:xe}]),t.qOj],ngContentSelectors:a,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(Ie,de){1&Ie&&(t.F$t(),t.YNc(0,i,3,6,"ng-template"))},dependencies:[W.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}.mat-mdc-menu-panel.ng-animating{pointer-events: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}),xe})();const me=new t.OlP("mat-menu-scroll-strategy"),ee={provide:me,deps:[pe.aV],useFactory:function Ae(xe){return()=>xe.scrollStrategies.reposition()}},Ze=(0,oe.i$)({passive:!0});let fe=(()=>{class xe{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(Ie){this.menu=Ie}get menu(){return this._menu}set menu(Ie){Ie!==this._menu&&(this._menu=Ie,this._menuCloseSubscription.unsubscribe(),Ie&&(this._menuCloseSubscription=Ie.close.subscribe(de=>{this._destroyMenu(de),("click"===de||"tab"===de)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(de)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(Ie,de,rt,je,lt,Nt,Ke,at,Ct){this._overlay=Ie,this._element=de,this._viewContainerRef=rt,this._menuItemInstance=Nt,this._dir=Ke,this._focusMonitor=at,this._ngZone=Ct,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=h.w0.EMPTY,this._hoverSubscription=h.w0.EMPTY,this._menuCloseSubscription=h.w0.EMPTY,this._changeDetectorRef=(0,t.f3M)(t.sBO),this._handleTouchStart=ye=>{(0,e.yG)(ye)||(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=je,this._parentMaterialMenu=lt instanceof Re?lt:void 0,de.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ze)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ze),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 Ie=this.menu;if(this._menuOpen||!Ie)return;const de=this._createOverlay(Ie),rt=de.getConfig(),je=rt.positionStrategy;this._setPosition(Ie,je),rt.hasBackdrop=null==Ie.hasBackdrop?!this.triggersSubmenu():Ie.hasBackdrop,de.attach(this._getPortal(Ie)),Ie.lazyContent&&Ie.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(Ie),Ie instanceof Re&&(Ie._startAnimation(),Ie._directDescendantItems.changes.pipe((0,k.R)(Ie.close)).subscribe(()=>{je.withLockedPosition(!1).reapplyLastPosition(),je.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(Ie,de){this._focusMonitor&&Ie?this._focusMonitor.focusVia(this._element,Ie,de):this._element.nativeElement.focus(de)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(Ie){if(!this._overlayRef||!this.menuOpen)return;const de=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===Ie||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,de instanceof Re?(de._resetAnimation(),de.lazyContent?de._animationDone.pipe((0,O.h)(rt=>"void"===rt.toState),(0,I.q)(1),(0,k.R)(de.lazyContent._attached)).subscribe({next:()=>de.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),de?.lazyContent?.detach())}_initMenu(Ie){Ie.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,Ie.direction=this.dir,this._setMenuElevation(Ie),Ie.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(Ie){if(Ie.setElevation){let de=0,rt=Ie.parentMenu;for(;rt;)de++,rt=rt.parentMenu;Ie.setElevation(de)}}_setIsMenuOpen(Ie){Ie!==this._menuOpen&&(this._menuOpen=Ie,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(Ie),this._changeDetectorRef.markForCheck())}_createOverlay(Ie){if(!this._overlayRef){const de=this._getOverlayConfig(Ie);this._subscribeToPositions(Ie,de.positionStrategy),this._overlayRef=this._overlay.create(de),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(Ie){return new pe.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:Ie.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:Ie.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(Ie,de){Ie.setPositionClasses&&de.positionChanges.subscribe(rt=>{const je="start"===rt.connectionPair.overlayX?"after":"before",lt="top"===rt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>Ie.setPositionClasses(je,lt)):Ie.setPositionClasses(je,lt)})}_setPosition(Ie,de){let[rt,je]="before"===Ie.xPosition?["end","start"]:["start","end"],[lt,Nt]="above"===Ie.yPosition?["bottom","top"]:["top","bottom"],[Ke,at]=[lt,Nt],[Ct,ye]=[rt,je],Qe=0;if(this.triggersSubmenu()){if(ye=rt="before"===Ie.xPosition?"start":"end",je=Ct="end"===rt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const Le=this._parentMaterialMenu.items.first;this._parentInnerPadding=Le?Le._getHostElement().offsetTop:0}Qe="bottom"===lt?this._parentInnerPadding:-this._parentInnerPadding}}else Ie.overlapTrigger||(Ke="top"===lt?"bottom":"top",at="top"===Nt?"bottom":"top");de.withPositions([{originX:rt,originY:Ke,overlayX:Ct,overlayY:lt,offsetY:Qe},{originX:je,originY:Ke,overlayX:ye,overlayY:lt,offsetY:Qe},{originX:rt,originY:at,overlayX:Ct,overlayY:Nt,offsetY:-Qe},{originX:je,originY:at,overlayX:ye,overlayY:Nt,offsetY:-Qe}])}_menuClosingActions(){const Ie=this._overlayRef.backdropClick(),de=this._overlayRef.detachments(),rt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,P.of)(),je=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,O.h)(lt=>lt!==this._menuItemInstance),(0,O.h)(()=>this._menuOpen)):(0,P.of)();return(0,C.T)(Ie,rt,je,de)}_handleMousedown(Ie){(0,e.X6)(Ie)||(this._openedBy=0===Ie.button?"mouse":void 0,this.triggersSubmenu()&&Ie.preventDefault())}_handleKeydown(Ie){const de=Ie.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(Ie){this.triggersSubmenu()?(Ie.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,O.h)(Ie=>Ie===this._menuItemInstance&&!Ie.disabled),(0,U.g)(0,d.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Re&&this.menu._isAnimating?this.menu._animationDone.pipe((0,I.q)(1),(0,U.g)(0,d.E),(0,k.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(Ie){return(!this._portal||this._portal.templateRef!==Ie.templateRef)&&(this._portal=new K.UE(Ie.templateRef,this._viewContainerRef)),this._portal}}return xe.\u0275fac=function(Ie){return new(Ie||xe)(t.Y36(pe.aV),t.Y36(t.SBq),t.Y36(t.s_b),t.Y36(me),t.Y36(f,8),t.Y36(y,10),t.Y36(te.Is,8),t.Y36(e.tE),t.Y36(t.R0b))},xe.\u0275dir=t.lG2({type:xe,hostVars:3,hostBindings:function(Ie,de){1&Ie&&t.NdJ("click",function(je){return de._handleClick(je)})("mousedown",function(je){return de._handleMousedown(je)})("keydown",function(je){return de._handleKeydown(je)}),2&Ie&&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"}}),xe})(),Se=(()=>{class xe extends fe{}return xe.\u0275fac=function(){let vt;return function(de){return(vt||(vt=t.n5z(xe)))(de||xe)}}(),xe.\u0275dir=t.lG2({type:xe,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[t.qOj]}),xe})(),ge=(()=>{class xe{}return xe.\u0275fac=function(Ie){return new(Ie||xe)},xe.\u0275mod=t.oAB({type:xe}),xe.\u0275inj=t.cJS({providers:[ee],imports:[W.ez,Z.si,Z.BQ,pe.U8,re.ZD,Z.BQ]}),xe})()},8739:(Be,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),s=m(4385),C=m(266),h=m(3238),P=m(1281),d=m(9549);function M(S,i){if(1&S&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&S){const a=i.$implicit;e.Q6J("value",a),e.xp6(1),e.hij(" ",a," ")}}function w(S,i){if(1&S){const a=e.EpF();e.TgZ(0,"mat-form-field",16)(1,"mat-select",17),e.NdJ("selectionChange",function(l){e.CHM(a);const y=e.oxw(2);return e.KtG(y._changePageSize(l.value))}),e.YNc(2,M,2,2,"mat-option",18),e.qZA()()}if(2&S){const a=e.oxw(2);e.Q6J("appearance",a._formFieldAppearance)("color",a.color),e.xp6(1),e.Q6J("value",a.pageSize)("disabled",a.disabled)("aria-labelledby",a._pageSizeLabelId)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering),e.xp6(1),e.Q6J("ngForOf",a._displayedPageSizeOptions)}}function I(S,i){if(1&S&&(e.TgZ(0,"div",20),e._uU(1),e.qZA()),2&S){const a=e.oxw(2);e.xp6(1),e.Oqu(a.pageSize)}}function k(S,i){if(1&S&&(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,I,2,1,"div",15),e.qZA()),2&S){const a=e.oxw();e.xp6(1),e.s9C("id",a._pageSizeLabelId),e.xp6(1),e.hij(" ",a._intl.itemsPerPageLabel," "),e.xp6(1),e.Q6J("ngIf",a._displayedPageSizeOptions.length>1),e.xp6(1),e.Q6J("ngIf",a._displayedPageSizeOptions.length<=1)}}function O(S,i){if(1&S){const a=e.EpF();e.TgZ(0,"button",21),e.NdJ("click",function(){e.CHM(a);const l=e.oxw();return e.KtG(l.firstPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",22),e.qZA()()}if(2&S){const a=e.oxw();e.Q6J("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),e.uIk("aria-label",a._intl.firstPageLabel)}}function U(S,i){if(1&S){const a=e.EpF();e.O4$(),e.kcU(),e.TgZ(0,"button",23),e.NdJ("click",function(){e.CHM(a);const l=e.oxw();return e.KtG(l.lastPage())}),e.O4$(),e.TgZ(1,"svg",7),e._UZ(2,"path",24),e.qZA()()}if(2&S){const a=e.oxw();e.Q6J("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),e.uIk("aria-label",a._intl.lastPageLabel)}}let Z=(()=>{class S{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=(a,f,l)=>{if(0==l||0==f)return`0 of ${l}`;const y=a*f;return`${y+1} \u2013 ${y<(l=Math.max(l,0))?Math.min(y+f,l):y+f} of ${l}`}}}return S.\u0275fac=function(a){return new(a||S)},S.\u0275prov=e.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})();const K={provide:Z,deps:[[new e.FiY,new e.tp0,Z]],useFactory:function W(S){return S||new Z}},pe=new e.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),oe=(0,h.Id)((0,h.dB)(class{}));let re=(()=>{class S extends oe{get pageIndex(){return this._pageIndex}set pageIndex(a){this._pageIndex=Math.max((0,P.su)(a),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(a){this._length=(0,P.su)(a),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(a){this._pageSize=Math.max((0,P.su)(a),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(a){this._pageSizeOptions=(a||[]).map(f=>(0,P.su)(f)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(a){this._hidePageSize=(0,P.Ig)(a)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(a){this._showFirstLastButtons=(0,P.Ig)(a)}constructor(a,f,l){if(super(),this._intl=a,this._changeDetectorRef=f,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.selectConfig={},this.page=new e.vpe,this._intlChanges=a.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),l){const{pageSize:y,pageSizeOptions:E,hidePageSize:D,showFirstLastButtons:v}=l;null!=y&&(this._pageSize=y),null!=E&&(this._pageSizeOptions=E),null!=D&&(this._hidePageSize=D),null!=v&&(this._showFirstLastButtons=v)}}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const a=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(a)}previousPage(){if(!this.hasPreviousPage())return;const a=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(a)}firstPage(){if(!this.hasPreviousPage())return;const a=this.pageIndex;this.pageIndex=0,this._emitPageEvent(a)}lastPage(){if(!this.hasNextPage())return;const a=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(a)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const a=this.getNumberOfPages()-1;return this.pageIndex<a&&0!=this.pageSize}getNumberOfPages(){return this.pageSize?Math.ceil(this.length/this.pageSize):0}_changePageSize(a){const l=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/a)||0,this.pageSize=a,this._emitPageEvent(l)}_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((a,f)=>a-f),this._changeDetectorRef.markForCheck())}_emitPageEvent(a){this.page.emit({previousPageIndex:a,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return S.\u0275fac=function(a){e.$Z()},S.\u0275dir=e.lG2({type:S,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[e.qOj]}),S})(),ce=0,se=(()=>{class S extends re{constructor(a,f,l){super(a,f,l),this._pageSizeLabelId="mat-paginator-page-size-label-"+ce++,this._formFieldAppearance=l?.formFieldAppearance||"outline"}}return S.\u0275fac=function(a){return new(a||S)(e.Y36(Z),e.Y36(e.sBO),e.Y36(pe,8))},S.\u0275cmp=e.Xpm({type:S,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"],["hideSingleSelectionIndicator","",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(a,f){1&a&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,k,5,4,"div",2),e.TgZ(3,"div",3)(4,"div",4),e._uU(5),e.qZA(),e.YNc(6,O,3,5,"button",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return f.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 f.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&a&&(e.xp6(2),e.Q6J("ngIf",!f.hidePageSize),e.xp6(3),e.hij(" ",f._intl.getRangeLabel(f.pageIndex,f.pageSize,f.length)," "),e.xp6(1),e.Q6J("ngIf",f.showFirstLastButtons),e.xp6(1),e.Q6J("matTooltip",f._intl.previousPageLabel)("matTooltipDisabled",f._previousButtonsDisabled())("matTooltipPosition","above")("disabled",f._previousButtonsDisabled()),e.uIk("aria-label",f._intl.previousPageLabel),e.xp6(3),e.Q6J("matTooltip",f._intl.nextPageLabel)("matTooltipDisabled",f._nextButtonsDisabled())("matTooltipPosition","above")("disabled",f._nextButtonsDisabled()),e.uIk("aria-label",f._intl.nextPageLabel),e.xp6(3),e.Q6J("ngIf",f.showFirstLastButtons))},dependencies:[t.sg,t.O5,A.RK,d.KE,s.gD,h.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}),S})(),he=(()=>{class S{}return S.\u0275fac=function(a){return new(a||S)},S.\u0275mod=e.oAB({type:S}),S.\u0275inj=e.cJS({providers:[K],imports:[t.ez,A.ot,s.LD,C.AV]}),S})()},3162:(Be,Q,m)=>{"use strict";m.d(Q,{Cv:()=>w,pW:()=>d});var t=m(4650),g=(m(6895),m(3238)),A=m(1281);const s=new t.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),P=(0,g.pj)(class{constructor(I){this._elementRef=I}},"primary");let d=(()=>{class I extends P{constructor(O,U,Z,W,K){super(O),this._ngZone=U,this._changeDetectorRef=Z,this._animationMode=W,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new t.vpe,this._mode="determinate",this._transitionendHandler=q=>{0===this.animationEnd.observers.length||!q.target||!q.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===W,K&&(K.color&&(this.color=this.defaultColor=K.color),this.mode=K.mode||this.mode)}get value(){return this._value}set value(O){this._value=M((0,A.su)(O)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(O){this._bufferValue=M((0,A.su)(O)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(O){this._mode=O,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 I.\u0275fac=function(O){return new(O||I)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(t.QbO,8),t.Y36(s,8))},I.\u0275cmp=t.Xpm({type:I,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(O,U){2&O&&(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(O,U){1&O&&(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&O&&(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}),I})();function M(I,k=0,O=100){return Math.max(k,Math.min(O,I))}let w=(()=>{class I{}return I.\u0275fac=function(O){return new(O||I)},I.\u0275mod=t.oAB({type:I}),I.\u0275inj=t.cJS({imports:[g.BQ]}),I})()},1572:(Be,Q,m)=>{"use strict";m.d(Q,{Cq:()=>O,Ou:()=>I});var t=m(4650),e=m(3238),g=m(1281),A=m(6895);const s=["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 W=t.oxw();t.uIk("viewBox",W._viewBox()),t.xp6(1),t.Udp("stroke-dasharray",W._strokeCircumference(),"px")("stroke-dashoffset",W._strokeCircumference()/2,"px")("stroke-width",W._circleStrokeWidth(),"%"),t.uIk("r",W._circleRadius())}}const h=(0,e.pj)(class{constructor(U){this._elementRef=U}},"primary"),P=new t.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function d(){return{diameter:M}}}),M=100;let I=(()=>{class U extends h{constructor(W,K,q){super(W),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=M,this._noopAnimations="NoopAnimations"===K&&!!q&&!q._forceAnimations,q&&(q.color&&(this.color=this.defaultColor=q.color),q.diameter&&(this.diameter=q.diameter),q.strokeWidth&&(this.strokeWidth=q.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(W){this._value=Math.max(0,Math.min(100,(0,g.su)(W)))}get diameter(){return this._diameter}set diameter(W){this._diameter=(0,g.su)(W)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(W){this._strokeWidth=(0,g.su)(W)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const W=2*this._circleRadius()+this.strokeWidth;return`0 0 ${W} ${W}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return U.\u0275fac=function(W){return new(W||U)(t.Y36(t.SBq),t.Y36(t.QbO,8),t.Y36(P))},U.\u0275cmp=t.Xpm({type:U,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(W,K){if(1&W&&t.Gf(s,5),2&W){let q;t.iGM(q=t.CRH())&&(K._determinateCircle=q.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(W,K){2&W&&(t.uIk("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow","determinate"===K.mode?K.value:null)("mode",K.mode),t.Udp("width",K.diameter,"px")("height",K.diameter,"px"),t.ekj("_mat-animation-noopable",K._noopAnimations)("mdc-circular-progress--indeterminate","indeterminate"===K.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(W,K){if(1&W&&(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&W){const q=t.MAs(1);t.xp6(4),t.uIk("viewBox",K._viewBox()),t.xp6(1),t.Udp("stroke-dasharray",K._strokeCircumference(),"px")("stroke-dashoffset",K._strokeDashOffset(),"px")("stroke-width",K._circleStrokeWidth(),"%"),t.uIk("r",K._circleRadius()),t.xp6(4),t.Q6J("ngTemplateOutlet",q),t.xp6(2),t.Q6J("ngTemplateOutlet",q),t.xp6(2),t.Q6J("ngTemplateOutlet",q)}},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})(),O=(()=>{class U{}return U.\u0275fac=function(W){return new(W||U)},U.\u0275mod=t.oAB({type:U}),U.\u0275inj=t.cJS({imports:[A.ez,e.BQ]}),U})()},1948:(Be,Q,m)=>{"use strict";m.d(Q,{Fk:()=>oe,U0:()=>pe,VQ:()=>te});var t=m(4650),e=m(3238),g=m(4761),A=m(1281),s=m(5017),C=m(4006),h=m(6895);const P=["input"],d=["*"];let M=0;class w{constructor(ce,se){this.source=ce,this.value=se}}const I={provide:C.JU,useExisting:(0,t.Gpc)(()=>te),multi:!0},k=new t.OlP("MatRadioGroup"),O=new t.OlP("mat-radio-default-options",{providedIn:"root",factory:function U(){return{color:"accent"}}});let Z=(()=>{class re{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()}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}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 re.\u0275fac=function(se){return new(se||re)(t.Y36(t.sBO))},re.\u0275dir=t.lG2({type:re,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),re})();class W{constructor(ce){this._elementRef=ce}}const K=(0,e.Kr)((0,e.sb)(W));let q=(()=>{class re extends K{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`}constructor(se,he,S,i,a,f,l,y){super(he),this._changeDetector=S,this._focusMonitor=i,this._radioDispatcher=a,this._providerOverride=l,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"===f,y&&(this.tabIndex=(0,A.su)(y,0))}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())}}_onTouchTargetClick(se){this._onInputInteraction(se),this.disabled||this._inputElement.nativeElement.focus()}_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 S=this._inputElement?.nativeElement;S&&(S.setAttribute("tabindex",he+""),this._previousTabIndex=he)}}}return re.\u0275fac=function(se){t.$Z()},re.\u0275dir=t.lG2({type:re,viewQuery:function(se,he){if(1&se&&t.Gf(P,5),2&se){let S;t.iGM(S=t.CRH())&&(he._inputElement=S.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]}),re})(),te=(()=>{class re extends Z{}return re.\u0275fac=function(){let ce;return function(he){return(ce||(ce=t.n5z(re)))(he||re)}}(),re.\u0275dir=t.lG2({type:re,selectors:[["mat-radio-group"]],contentQueries:function(se,he,S){if(1&se&&t.Suo(S,pe,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([I,{provide:k,useExisting:re}]),t.qOj]}),re})(),pe=(()=>{class re extends q{constructor(se,he,S,i,a,f,l,y){super(se,he,S,i,a,f,l,y)}}return re.\u0275fac=function(se){return new(se||re)(t.Y36(k,8),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(g.tE),t.Y36(s.A8),t.Y36(t.QbO,8),t.Y36(O,8),t.$8M("tabindex"))},re.\u0275cmp=t.Xpm({type:re,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._onTouchTargetClick(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 S=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",S)("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}),re})(),oe=(()=>{class re{}return re.\u0275fac=function(se){return new(se||re)},re.\u0275mod=t.oAB({type:re}),re.\u0275inj=t.cJS({imports:[e.BQ,h.ez,e.si,e.BQ]}),re})()},4385:(Be,Q,m)=>{"use strict";m.d(Q,{$L:()=>we,LD:()=>Ae,PG:()=>Y,gD:()=>me});var t=m(8184),e=m(6895),g=m(4650),A=m(3238),s=m(9549),C=m(531),h=m(4761),P=m(445),d=m(1281),M=m(5017),w=m(9521),I=m(4006),k=m(7579),O=m(9770),U=m(6451),Z=m(8675),W=m(3900),K=m(5698),q=m(9300),te=m(4004),pe=m(1884),oe=m(2722),re=m(7340);const ce=["trigger"],se=["panel"];function he(ee,Ze){if(1&ee&&(g.TgZ(0,"span",10),g._uU(1),g.qZA()),2&ee){const Oe=g.oxw();g.xp6(1),g.Oqu(Oe.placeholder)}}function S(ee,Ze){if(1&ee&&(g.TgZ(0,"span",14),g._uU(1),g.qZA()),2&ee){const Oe=g.oxw(2);g.xp6(1),g.Oqu(Oe.triggerValue)}}function i(ee,Ze){1&ee&&g.Hsn(0,0,["*ngSwitchCase","true"])}function a(ee,Ze){if(1&ee&&(g.TgZ(0,"span",11),g.YNc(1,S,2,1,"span",12),g.YNc(2,i,1,0,"ng-content",13),g.qZA()),2&ee){const Oe=g.oxw();g.Q6J("ngSwitch",!!Oe.customTrigger),g.xp6(2),g.Q6J("ngSwitchCase",!0)}}function f(ee,Ze){if(1&ee){const Oe=g.EpF();g.O4$(),g.kcU(),g.TgZ(0,"div",15,16),g.NdJ("@transformPanel.done",function(Se){g.CHM(Oe);const ge=g.oxw();return g.KtG(ge._panelDoneAnimatingStream.next(Se.toState))})("keydown",function(Se){g.CHM(Oe);const ge=g.oxw();return g.KtG(ge._handleKeydown(Se))}),g.Hsn(2,1),g.qZA()}if(2&ee){const Oe=g.oxw();g.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Oe._getPanelTheme(),""),g.Q6J("ngClass",Oe.panelClass)("@transformPanel","showing"),g.uIk("id",Oe.id+"-panel")("aria-multiselectable",Oe.multiple)("aria-label",Oe.ariaLabel||null)("aria-labelledby",Oe._getPanelAriaLabelledby())}}const l=[[["mat-select-trigger"]],"*"],y=["mat-select-trigger","*"],E={transformPanelWrap:(0,re.X$)("transformPanelWrap",[(0,re.eR)("* => void",(0,re.IO)("@transformPanel",[(0,re.pV)()],{optional:!0}))]),transformPanel:(0,re.X$)("transformPanel",[(0,re.SB)("void",(0,re.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,re.eR)("void => showing",(0,re.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,re.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,re.eR)("* => void",(0,re.jt)("100ms linear",(0,re.oB)({opacity:0})))])};let b=0;const V=new g.OlP("mat-select-scroll-strategy"),Y=new g.OlP("MAT_SELECT_CONFIG"),Te={provide:V,deps:[t.aV],useFactory:function z(ee){return()=>ee.scrollStrategies.reposition()}},$e=new g.OlP("MatSelectTrigger");class Ve{constructor(Ze,Oe){this.source=Ze,this.value=Oe}}const We=(0,A.Kr)((0,A.sb)((0,A.Id)((0,A.FD)(class{constructor(ee,Ze,Oe,fe,Se){this._elementRef=ee,this._defaultErrorStateMatcher=Ze,this._parentForm=Oe,this._parentFormGroup=fe,this.ngControl=Se,this.stateChanges=new k.x}}))));let Re=(()=>{class ee extends We{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Oe){this._placeholder=Oe,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(I.kI.required)??!1}set required(Oe){this._required=(0,d.Ig)(Oe),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Oe){this._multiple=(0,d.Ig)(Oe)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Oe){this._disableOptionCentering=(0,d.Ig)(Oe)}get compareWith(){return this._compareWith}set compareWith(Oe){this._compareWith=Oe,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Oe){this._assignValue(Oe)&&this._onChange(Oe)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Oe){this._typeaheadDebounceInterval=(0,d.su)(Oe)}get id(){return this._id}set id(Oe){this._id=Oe||this._uid,this.stateChanges.next()}constructor(Oe,fe,Se,ge,xe,vt,Ie,de,rt,je,lt,Nt,Ke,at){super(xe,ge,Ie,de,je),this._viewportRuler=Oe,this._changeDetectorRef=fe,this._ngZone=Se,this._dir=vt,this._parentFormField=rt,this._liveAnnouncer=Ke,this._defaultOptions=at,this._panelOpen=!1,this._compareWith=(Ct,ye)=>Ct===ye,this._uid="mat-select-"+b++,this._triggerAriaLabelledBy=null,this._destroy=new k.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+b++,this._panelDoneAnimatingStream=new k.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,O.P)(()=>{const Ct=this.options;return Ct?Ct.changes.pipe((0,Z.O)(Ct),(0,W.w)(()=>(0,U.T)(...Ct.map(ye=>ye.onSelectionChange)))):this._ngZone.onStable.pipe((0,K.q)(1),(0,W.w)(()=>this.optionSelectionChanges))}),this.openedChange=new g.vpe,this._openedStream=this.openedChange.pipe((0,q.h)(Ct=>Ct),(0,te.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,q.h)(Ct=>!Ct),(0,te.U)(()=>{})),this.selectionChange=new g.vpe,this.valueChange=new g.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=at?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=at.typeaheadDebounceInterval),this._scrollStrategyFactory=Nt,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(lt)||0,this.id=this.id}ngOnInit(){this._selectionModel=new M.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,pe.x)(),(0,oe.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,oe.R)(this._destroy)).subscribe(Oe=>{Oe.added.forEach(fe=>fe.select()),Oe.removed.forEach(fe=>fe.deselect())}),this.options.changes.pipe((0,Z.O)(null),(0,oe.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Oe=this._getTriggerAriaLabelledby(),fe=this.ngControl;if(Oe!==this._triggerAriaLabelledBy){const Se=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Oe,Oe?Se.setAttribute("aria-labelledby",Oe):Se.removeAttribute("aria-labelledby")}fe&&(this._previousControl!==fe.control&&(void 0!==this._previousControl&&null!==fe.disabled&&fe.disabled!==this.disabled&&(this.disabled=fe.disabled),this._previousControl=fe.control),this.updateErrorState())}ngOnChanges(Oe){(Oe.disabled||Oe.userAriaDescribedBy)&&this.stateChanges.next(),Oe.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(Oe){this._assignValue(Oe)}registerOnChange(Oe){this._onChange=Oe}registerOnTouched(Oe){this._onTouched=Oe}setDisabledState(Oe){this.disabled=Oe,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 Oe=this._selectionModel.selected.map(fe=>fe.viewValue);return this._isRtl()&&Oe.reverse(),Oe.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Oe){this.disabled||(this.panelOpen?this._handleOpenKeydown(Oe):this._handleClosedKeydown(Oe))}_handleClosedKeydown(Oe){const fe=Oe.keyCode,Se=fe===w.JH||fe===w.LH||fe===w.oh||fe===w.SV,ge=fe===w.K5||fe===w.L_,xe=this._keyManager;if(!xe.isTyping()&&ge&&!(0,w.Vb)(Oe)||(this.multiple||Oe.altKey)&&Se)Oe.preventDefault(),this.open();else if(!this.multiple){const vt=this.selected;xe.onKeydown(Oe);const Ie=this.selected;Ie&&vt!==Ie&&this._liveAnnouncer.announce(Ie.viewValue,1e4)}}_handleOpenKeydown(Oe){const fe=this._keyManager,Se=Oe.keyCode,ge=Se===w.JH||Se===w.LH,xe=fe.isTyping();if(ge&&Oe.altKey)Oe.preventDefault(),this.close();else if(xe||Se!==w.K5&&Se!==w.L_||!fe.activeItem||(0,w.Vb)(Oe))if(!xe&&this._multiple&&Se===w.A&&Oe.ctrlKey){Oe.preventDefault();const vt=this.options.some(Ie=>!Ie.disabled&&!Ie.selected);this.options.forEach(Ie=>{Ie.disabled||(vt?Ie.select():Ie.deselect())})}else{const vt=fe.activeItemIndex;fe.onKeydown(Oe),this._multiple&&ge&&Oe.shiftKey&&fe.activeItem&&fe.activeItemIndex!==vt&&fe.activeItem._selectViaInteraction()}else Oe.preventDefault(),fe.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe((0,K.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(Oe){if(this.options.forEach(fe=>fe.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Oe)Array.isArray(Oe),Oe.forEach(fe=>this._selectOptionByValue(fe)),this._sortValues();else{const fe=this._selectOptionByValue(Oe);fe?this._keyManager.updateActiveItem(fe):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Oe){const fe=this.options.find(Se=>{if(this._selectionModel.isSelected(Se))return!1;try{return null!=Se.value&&this._compareWith(Se.value,Oe)}catch{return!1}});return fe&&this._selectionModel.select(fe),fe}_assignValue(Oe){return!!(Oe!==this._value||this._multiple&&Array.isArray(Oe))&&(this.options&&this._setSelectionByValue(Oe),this._value=Oe,!0)}_initKeyManager(){this._keyManager=new h.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 Oe=(0,U.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,oe.R)(Oe)).subscribe(fe=>{this._onSelect(fe.source,fe.isUserInput),fe.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,U.T)(...this.options.map(fe=>fe._stateChanges)).pipe((0,oe.R)(Oe)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Oe,fe){const Se=this._selectionModel.isSelected(Oe);null!=Oe.value||this._multiple?(Se!==Oe.selected&&(Oe.selected?this._selectionModel.select(Oe):this._selectionModel.deselect(Oe)),fe&&this._keyManager.setActiveItem(Oe),this.multiple&&(this._sortValues(),fe&&this.focus())):(Oe.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Oe.value)),Se!==this._selectionModel.isSelected(Oe)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Oe=this.options.toArray();this._selectionModel.sort((fe,Se)=>this.sortComparator?this.sortComparator(fe,Se,Oe):Oe.indexOf(fe)-Oe.indexOf(Se)),this.stateChanges.next()}}_propagateChanges(Oe){let fe=null;fe=this.multiple?this.selected.map(Se=>Se.value):this.selected?this.selected.value:Oe,this._value=fe,this.valueChange.emit(fe),this._onChange(fe),this.selectionChange.emit(this._getChangeEvent(fe)),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(Oe){this._elementRef.nativeElement.focus(Oe)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Oe?Oe+" ":"")+this.ariaLabelledby:Oe}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Oe=this._parentFormField?.getLabelId();let fe=(Oe?Oe+" ":"")+this._valueId;return this.ariaLabelledby&&(fe+=" "+this.ariaLabelledby),fe}_panelDoneAnimating(Oe){this.openedChange.emit(Oe)}setDescribedByIds(Oe){Oe.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Oe.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return ee.\u0275fac=function(Oe){return new(Oe||ee)(g.Y36(C.rL),g.Y36(g.sBO),g.Y36(g.R0b),g.Y36(A.rD),g.Y36(g.SBq),g.Y36(P.Is,8),g.Y36(I.F,8),g.Y36(I.sg,8),g.Y36(s.G_,8),g.Y36(I.a5,10),g.$8M("tabindex"),g.Y36(V),g.Y36(h.Kd),g.Y36(Y,8))},ee.\u0275dir=g.lG2({type:ee,viewQuery:function(Oe,fe){if(1&Oe&&(g.Gf(ce,5),g.Gf(se,5),g.Gf(t.pI,5)),2&Oe){let Se;g.iGM(Se=g.CRH())&&(fe.trigger=Se.first),g.iGM(Se=g.CRH())&&(fe.panel=Se.first),g.iGM(Se=g.CRH())&&(fe._overlayDir=Se.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]}),ee})(),we=(()=>{class ee{}return ee.\u0275fac=function(Oe){return new(Oe||ee)},ee.\u0275dir=g.lG2({type:ee,selectors:[["mat-select-trigger"]],features:[g._Bn([{provide:$e,useExisting:ee}])]}),ee})(),me=(()=>{class ee extends Re{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"}],this._hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,oe.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(Oe){const fe=this.options.toArray()[Oe];if(fe){const Se=this.panel.nativeElement,ge=(0,A.CB)(Oe,this.options,this.optionGroups),xe=fe._getHostElement();Se.scrollTop=0===Oe&&1===ge?0:(0,A.jH)(xe.offsetTop,xe.offsetHeight,Se.scrollTop,Se.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Oe){return new Ve(this,Oe)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof t.xu?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(Oe){this._hideSingleSelectionIndicator=(0,d.Ig)(Oe),this._syncParentProperties()}_syncParentProperties(){if(this.options)for(const Oe of this.options)Oe._changeDetectorRef.markForCheck()}}return ee.\u0275fac=function(){let Ze;return function(fe){return(Ze||(Ze=g.n5z(ee)))(fe||ee)}}(),ee.\u0275cmp=g.Xpm({type:ee,selectors:[["mat-select"]],contentQueries:function(Oe,fe,Se){if(1&Oe&&(g.Suo(Se,$e,5),g.Suo(Se,A.ey,5),g.Suo(Se,A.K7,5)),2&Oe){let ge;g.iGM(ge=g.CRH())&&(fe.customTrigger=ge.first),g.iGM(ge=g.CRH())&&(fe.options=ge),g.iGM(ge=g.CRH())&&(fe.optionGroups=ge)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(Oe,fe){1&Oe&&g.NdJ("keydown",function(ge){return fe._handleKeydown(ge)})("focus",function(){return fe._onFocus()})("blur",function(){return fe._onBlur()}),2&Oe&&(g.uIk("id",fe.id)("tabindex",fe.tabIndex)("aria-controls",fe.panelOpen?fe.id+"-panel":null)("aria-expanded",fe.panelOpen)("aria-label",fe.ariaLabel||null)("aria-required",fe.required.toString())("aria-disabled",fe.disabled.toString())("aria-invalid",fe.errorState)("aria-activedescendant",fe._getAriaActiveDescendant()),g.ekj("mat-mdc-select-disabled",fe.disabled)("mat-mdc-select-invalid",fe.errorState)("mat-mdc-select-required",fe.required)("mat-mdc-select-empty",fe.empty)("mat-mdc-select-multiple",fe.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",hideSingleSelectionIndicator:"hideSingleSelectionIndicator"},exportAs:["matSelect"],features:[g._Bn([{provide:s.Eo,useExisting:ee},{provide:A.HF,useExisting:ee}]),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(Oe,fe){if(1&Oe&&(g.F$t(l),g.TgZ(0,"div",0,1),g.NdJ("click",function(){return fe.toggle()}),g.TgZ(3,"div",2),g.YNc(4,he,2,1,"span",3),g.YNc(5,a,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,f,3,9,"ng-template",9),g.NdJ("backdropClick",function(){return fe.close()})("attach",function(){return fe._onAttached()})("detach",function(){return fe.close()})),2&Oe){const Se=g.MAs(1);g.uIk("aria-owns",fe.panelOpen?fe.id+"-panel":null),g.xp6(3),g.Q6J("ngSwitch",fe.empty),g.uIk("id",fe._valueId),g.xp6(1),g.Q6J("ngSwitchCase",!0),g.xp6(1),g.Q6J("ngSwitchCase",!1),g.xp6(5),g.Q6J("cdkConnectedOverlayPanelClass",fe._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",fe._scrollStrategy)("cdkConnectedOverlayOrigin",fe._preferredOverlayOrigin||Se)("cdkConnectedOverlayOpen",fe.panelOpen)("cdkConnectedOverlayPositions",fe._positions)("cdkConnectedOverlayWidth",fe._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:[E.transformPanel]},changeDetection:0}),ee})(),Ae=(()=>{class ee{}return ee.\u0275fac=function(Oe){return new(Oe||ee)},ee.\u0275mod=g.oAB({type:ee}),ee.\u0275inj=g.cJS({providers:[Te],imports:[e.ez,t.U8,A.Ng,A.BQ,C.ZD,s.lN,A.Ng,A.BQ]}),ee})()},3267:(Be,Q,m)=>{"use strict";m.d(Q,{JX:()=>$e,Rh:()=>Te,SJ:()=>We,TM:()=>Ve});var t=m(531),e=m(6895),g=m(4650),A=m(3238),s=m(4761),C=m(445),h=m(1281),P=m(9521),d=m(3353),M=m(7579),w=m(4968),I=m(6451),k=m(9300),O=m(4004),U=m(9718),Z=m(2722),W=m(1884),K=m(5698),q=m(8675),te=m(8372),pe=m(7340);const oe=["*"],re=["content"];function ce(Re,we){if(1&Re){const me=g.EpF();g.TgZ(0,"div",2),g.NdJ("click",function(){g.CHM(me);const ee=g.oxw();return g.KtG(ee._onBackdropClicked())}),g.qZA()}if(2&Re){const me=g.oxw();g.ekj("mat-drawer-shown",me._isShowingBackdrop())}}function se(Re,we){1&Re&&(g.TgZ(0,"mat-drawer-content"),g.Hsn(1,2),g.qZA())}const he=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],S=["mat-drawer","mat-drawer-content","*"];function i(Re,we){if(1&Re){const me=g.EpF();g.TgZ(0,"div",2),g.NdJ("click",function(){g.CHM(me);const ee=g.oxw();return g.KtG(ee._onBackdropClicked())}),g.qZA()}if(2&Re){const me=g.oxw();g.ekj("mat-drawer-shown",me._isShowingBackdrop())}}function a(Re,we){1&Re&&(g.TgZ(0,"mat-sidenav-content"),g.Hsn(1,2),g.qZA())}const f=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],l=["mat-sidenav","mat-sidenav-content","*"],E={transformDrawer:(0,pe.X$)("transform",[(0,pe.SB)("open, open-instant",(0,pe.oB)({transform:"none",visibility:"visible"})),(0,pe.SB)("void",(0,pe.oB)({"box-shadow":"none",visibility:"hidden"})),(0,pe.eR)("void => open-instant",(0,pe.jt)("0ms")),(0,pe.eR)("void <=> open, open-instant => void",(0,pe.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 V=(()=>{class Re extends t.PQ{constructor(me,Ae,ee,Ze,Oe){super(ee,Ze,Oe),this._changeDetectorRef=me,this._container=Ae}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return Re.\u0275fac=function(me){return new(me||Re)(g.Y36(g.sBO),g.Y36((0,g.Gpc)(()=>Y)),g.Y36(g.SBq),g.Y36(t.mF),g.Y36(g.R0b))},Re.\u0275cmp=g.Xpm({type:Re,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(me,Ae){2&me&&g.Udp("margin-left",Ae._container._contentMargins.left,"px")("margin-right",Ae._container._contentMargins.right,"px")},features:[g._Bn([{provide:t.PQ,useExisting:Re}]),g.qOj],ngContentSelectors:oe,decls:1,vars:0,template:function(me,Ae){1&me&&(g.F$t(),g.Hsn(0))},encapsulation:2,changeDetection:0}),Re})(),z=(()=>{class Re{get position(){return this._position}set position(me){(me="end"===me?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(me),this._position=me,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(me){this._mode=me,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(me){this._disableClose=(0,h.Ig)(me)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(me){("true"===me||"false"===me||null==me)&&(me=(0,h.Ig)(me)),this._autoFocus=me}get opened(){return this._opened}set opened(me){this.toggle((0,h.Ig)(me))}constructor(me,Ae,ee,Ze,Oe,fe,Se,ge){this._elementRef=me,this._focusTrapFactory=Ae,this._focusMonitor=ee,this._platform=Ze,this._ngZone=Oe,this._interactivityChecker=fe,this._doc=Se,this._container=ge,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,k.h)(xe=>xe),(0,O.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,k.h)(xe=>xe.fromState!==xe.toState&&0===xe.toState.indexOf("open")),(0,U.h)(void 0)),this._closedStream=this.openedChange.pipe((0,k.h)(xe=>!xe),(0,O.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,k.h)(xe=>xe.fromState!==xe.toState&&"void"===xe.toState),(0,U.h)(void 0)),this._destroyed=new M.x,this.onPositionChanged=new g.vpe,this._modeChanged=new M.x,this.openedChange.subscribe(xe=>{xe?(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,k.h)(xe=>xe.keyCode===P.hY&&!this.disableClose&&!(0,P.Vb)(xe)),(0,Z.R)(this._destroyed)).subscribe(xe=>this._ngZone.run(()=>{this.close(),xe.stopPropagation(),xe.preventDefault()}))}),this._animationEnd.pipe((0,W.x)((xe,vt)=>xe.fromState===vt.fromState&&xe.toState===vt.toState)).subscribe(xe=>{const{fromState:vt,toState:Ie}=xe;(0===Ie.indexOf("open")&&"void"===vt||"void"===Ie&&0===vt.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(me,Ae){this._interactivityChecker.isFocusable(me)||(me.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const ee=()=>{me.removeEventListener("blur",ee),me.removeEventListener("mousedown",ee),me.removeAttribute("tabindex")};me.addEventListener("blur",ee),me.addEventListener("mousedown",ee)})),me.focus(Ae)}_focusByCssSelector(me,Ae){let ee=this._elementRef.nativeElement.querySelector(me);ee&&this._forceFocus(ee,Ae)}_takeFocus(){if(!this._focusTrap)return;const me=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(Ae=>{!Ae&&"function"==typeof this._elementRef.nativeElement.focus&&me.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(me){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,me):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const me=this._doc.activeElement;return!!me&&this._elementRef.nativeElement.contains(me)}ngAfterViewInit(){this._isAttached=!0,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(me){return this.toggle(!0,me)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(me=!this.opened,Ae){me&&Ae&&(this._openedVia=Ae);const ee=this._setOpen(me,!me&&this._isFocusWithinDrawer(),this._openedVia||"program");return me||(this._openedVia=null),ee}_setOpen(me,Ae,ee){return this._opened=me,me?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",Ae&&this._restoreFocus(ee)),this._updateFocusTrapState(),new Promise(Ze=>{this.openedChange.pipe((0,K.q)(1)).subscribe(Oe=>Ze(Oe?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(me){const Ae=this._elementRef.nativeElement,ee=Ae.parentNode;"end"===me?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),ee.insertBefore(this._anchor,Ae)),ee.appendChild(Ae)):this._anchor&&this._anchor.parentNode.insertBefore(Ae,this._anchor)}}return Re.\u0275fac=function(me){return new(me||Re)(g.Y36(g.SBq),g.Y36(s.qV),g.Y36(s.tE),g.Y36(d.t4),g.Y36(g.R0b),g.Y36(s.ic),g.Y36(e.K0,8),g.Y36(n,8))},Re.\u0275cmp=g.Xpm({type:Re,selectors:[["mat-drawer"]],viewQuery:function(me,Ae){if(1&me&&g.Gf(re,5),2&me){let ee;g.iGM(ee=g.CRH())&&(Ae._content=ee.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(me,Ae){1&me&&g.WFA("@transform.start",function(Ze){return Ae._animationStarted.next(Ze)})("@transform.done",function(Ze){return Ae._animationEnd.next(Ze)}),2&me&&(g.uIk("align",null),g.d8E("@transform",Ae._animationState),g.ekj("mat-drawer-end","end"===Ae.position)("mat-drawer-over","over"===Ae.mode)("mat-drawer-push","push"===Ae.mode)("mat-drawer-side","side"===Ae.mode)("mat-drawer-opened",Ae.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:oe,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(me,Ae){1&me&&(g.F$t(),g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA())},dependencies:[t.PQ],encapsulation:2,data:{animation:[E.transformDrawer]},changeDetection:0}),Re})(),Y=(()=>{class Re{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(me){this._autosize=(0,h.Ig)(me)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(me){this._backdropOverride=null==me?null:(0,h.Ig)(me)}get scrollable(){return this._userContent||this._content}constructor(me,Ae,ee,Ze,Oe,fe=!1,Se){this._dir=me,this._element=Ae,this._ngZone=ee,this._changeDetectorRef=Ze,this._animationMode=Se,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,me&&me.change.pipe((0,Z.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Oe.change().pipe((0,Z.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=fe}ngAfterContentInit(){this._allDrawers.changes.pipe((0,q.O)(this._allDrawers),(0,Z.R)(this._destroyed)).subscribe(me=>{this._drawers.reset(me.filter(Ae=>!Ae._container||Ae._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,q.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(me=>{this._watchDrawerToggle(me),this._watchDrawerPosition(me),this._watchDrawerMode(me)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,te.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(me=>me.open())}close(){this._drawers.forEach(me=>me.close())}updateContentMargins(){let me=0,Ae=0;if(this._left&&this._left.opened)if("side"==this._left.mode)me+=this._left._getWidth();else if("push"==this._left.mode){const ee=this._left._getWidth();me+=ee,Ae-=ee}if(this._right&&this._right.opened)if("side"==this._right.mode)Ae+=this._right._getWidth();else if("push"==this._right.mode){const ee=this._right._getWidth();Ae+=ee,me-=ee}me=me||null,Ae=Ae||null,(me!==this._contentMargins.left||Ae!==this._contentMargins.right)&&(this._contentMargins={left:me,right:Ae},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(me){me._animationStarted.pipe((0,k.h)(Ae=>Ae.fromState!==Ae.toState),(0,Z.R)(this._drawers.changes)).subscribe(Ae=>{"open-instant"!==Ae.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==me.mode&&me.openedChange.pipe((0,Z.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(me.opened))}_watchDrawerPosition(me){me&&me.onPositionChanged.pipe((0,Z.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,K.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(me){me&&me._modeChanged.pipe((0,Z.R)((0,I.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(me){const Ae=this._element.nativeElement.classList,ee="mat-drawer-container-has-open";me?Ae.add(ee):Ae.remove(ee)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(me=>{"end"==me.position?this._end=me:this._start=me}),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(me=>me&&!me.disableClose&&this._canHaveBackdrop(me)).forEach(me=>me._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(me){return"side"!==me.mode||!!this._backdropOverride}_isDrawerOpen(me){return null!=me&&me.opened}}return Re.\u0275fac=function(me){return new(me||Re)(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))},Re.\u0275cmp=g.Xpm({type:Re,selectors:[["mat-drawer-container"]],contentQueries:function(me,Ae,ee){if(1&me&&(g.Suo(ee,V,5),g.Suo(ee,z,5)),2&me){let Ze;g.iGM(Ze=g.CRH())&&(Ae._content=Ze.first),g.iGM(Ze=g.CRH())&&(Ae._allDrawers=Ze)}},viewQuery:function(me,Ae){if(1&me&&g.Gf(V,5),2&me){let ee;g.iGM(ee=g.CRH())&&(Ae._userContent=ee.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(me,Ae){2&me&&g.ekj("mat-drawer-container-explicit-backdrop",Ae._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[g._Bn([{provide:n,useExisting:Re}])],ngContentSelectors:S,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(me,Ae){1&me&&(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&me&&(g.Q6J("ngIf",Ae.hasBackdrop),g.xp6(3),g.Q6J("ngIf",!Ae._content))},dependencies:[e.O5,V],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}),Re})(),Te=(()=>{class Re extends V{constructor(me,Ae,ee,Ze,Oe){super(me,Ae,ee,Ze,Oe)}}return Re.\u0275fac=function(me){return new(me||Re)(g.Y36(g.sBO),g.Y36((0,g.Gpc)(()=>Ve)),g.Y36(g.SBq),g.Y36(t.mF),g.Y36(g.R0b))},Re.\u0275cmp=g.Xpm({type:Re,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(me,Ae){2&me&&g.Udp("margin-left",Ae._container._contentMargins.left,"px")("margin-right",Ae._container._contentMargins.right,"px")},features:[g._Bn([{provide:t.PQ,useExisting:Re}]),g.qOj],ngContentSelectors:oe,decls:1,vars:0,template:function(me,Ae){1&me&&(g.F$t(),g.Hsn(0))},encapsulation:2,changeDetection:0}),Re})(),$e=(()=>{class Re extends z{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(me){this._fixedInViewport=(0,h.Ig)(me)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(me){this._fixedTopGap=(0,h.su)(me)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(me){this._fixedBottomGap=(0,h.su)(me)}}return Re.\u0275fac=function(){let we;return function(Ae){return(we||(we=g.n5z(Re)))(Ae||Re)}}(),Re.\u0275cmp=g.Xpm({type:Re,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(me,Ae){2&me&&(g.uIk("align",null),g.Udp("top",Ae.fixedInViewport?Ae.fixedTopGap:null,"px")("bottom",Ae.fixedInViewport?Ae.fixedBottomGap:null,"px"),g.ekj("mat-drawer-end","end"===Ae.position)("mat-drawer-over","over"===Ae.mode)("mat-drawer-push","push"===Ae.mode)("mat-drawer-side","side"===Ae.mode)("mat-drawer-opened",Ae.opened)("mat-sidenav-fixed",Ae.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[g.qOj],ngContentSelectors:oe,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(me,Ae){1&me&&(g.F$t(),g.TgZ(0,"div",0,1),g.Hsn(2),g.qZA())},dependencies:[t.PQ],encapsulation:2,data:{animation:[E.transformDrawer]},changeDetection:0}),Re})(),Ve=(()=>{class Re extends Y{}return Re.\u0275fac=function(){let we;return function(Ae){return(we||(we=g.n5z(Re)))(Ae||Re)}}(),Re.\u0275cmp=g.Xpm({type:Re,selectors:[["mat-sidenav-container"]],contentQueries:function(me,Ae,ee){if(1&me&&(g.Suo(ee,Te,5),g.Suo(ee,$e,5)),2&me){let Ze;g.iGM(Ze=g.CRH())&&(Ae._content=Ze.first),g.iGM(Ze=g.CRH())&&(Ae._allDrawers=Ze)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(me,Ae){2&me&&g.ekj("mat-drawer-container-explicit-backdrop",Ae._backdropOverride)},exportAs:["matSidenavContainer"],features:[g._Bn([{provide:n,useExisting:Re}]),g.qOj],ngContentSelectors:l,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(me,Ae){1&me&&(g.F$t(f),g.YNc(0,i,1,2,"div",0),g.Hsn(1),g.Hsn(2,1),g.YNc(3,a,2,0,"mat-sidenav-content",1)),2&me&&(g.Q6J("ngIf",Ae.hasBackdrop),g.xp6(3),g.Q6J("ngIf",!Ae._content))},dependencies:[e.O5,Te],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}),Re})(),We=(()=>{class Re{}return Re.\u0275fac=function(me){return new(me||Re)},Re.\u0275mod=g.oAB({type:Re}),Re.\u0275inj=g.cJS({imports:[e.ez,A.BQ,t.ZD,t.ZD,A.BQ]}),Re})()},455:(Be,Q,m)=>{"use strict";m.d(Q,{Rr:()=>U,rP:()=>q});var t=m(4650),e=m(4006),g=m(4761),A=m(3238),s=m(1281),C=m(6895);const h=["switch"],P=["*"],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(pe,oe){this.source=pe,this.checked=oe}}let I=0;const k=(0,A.sb)((0,A.pj)((0,A.Kr)((0,A.Id)(class{constructor(te){this._elementRef=te}}))));let O=(()=>{class te extends k{get required(){return this._required}set required(oe){this._required=(0,s.Ig)(oe)}get checked(){return this._checked}set checked(oe){this._checked=(0,s.Ig)(oe),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(oe,re,ce,se,he,S,i){super(oe),this._focusMonitor=re,this._changeDetectorRef=ce,this.defaults=he,this._onChange=a=>{},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"===S,this.id=this._uniqueId=`${i}${++I}`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(oe=>{"keyboard"===oe||"program"===oe?(this._focused=!0,this._changeDetectorRef.markForCheck()):oe||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(oe){this.checked=!!oe}registerOnChange(oe){this._onChange=oe}registerOnTouched(oe){this._onTouched=oe}setDisabledState(oe){this.disabled=oe,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 te.\u0275fac=function(oe){t.$Z()},te.\u0275dir=t.lG2({type:te,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]}),te})(),U=(()=>{class te extends O{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(oe,re,ce,se,he,S){super(oe,re,ce,se,he,S,"mat-mdc-slide-toggle-"),this._labelId=this._uniqueId+"-label"}_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(oe){return new w(this,oe)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return te.\u0275fac=function(oe){return new(oe||te)(t.Y36(t.SBq),t.Y36(g.tE),t.Y36(t.sBO),t.$8M("tabindex"),t.Y36(d),t.Y36(t.QbO,8))},te.\u0275cmp=t.Xpm({type:te,selectors:[["mat-slide-toggle"]],viewQuery:function(oe,re){if(1&oe&&t.Gf(h,5),2&oe){let ce;t.iGM(ce=t.CRH())&&(re._switchElement=ce.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(oe,re){2&oe&&(t.Ikx("id",re.id),t.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),t.ekj("mat-mdc-slide-toggle-focused",re._focused)("mat-mdc-slide-toggle-checked",re.checked)("_mat-animation-noopable",re._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[t._Bn([M]),t.qOj],ngContentSelectors:P,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(oe,re){if(1&oe&&(t.F$t(),t.TgZ(0,"div",0)(1,"button",1,2),t.NdJ("click",function(){return re._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&oe){const ce=t.MAs(2);t.ekj("mdc-form-field--align-end","before"==re.labelPosition),t.xp6(1),t.ekj("mdc-switch--selected",re.checked)("mdc-switch--unselected",!re.checked)("mdc-switch--checked",re.checked)("mdc-switch--disabled",re.disabled),t.Q6J("tabIndex",re.tabIndex)("disabled",re.disabled),t.uIk("id",re.buttonId)("name",re.name)("aria-label",re.ariaLabel)("aria-labelledby",re._getAriaLabelledBy())("aria-describedby",re.ariaDescribedby)("aria-required",re.required||null)("aria-checked",re.checked),t.xp6(8),t.Q6J("matRippleTrigger",ce)("matRippleDisabled",re.disableRipple||re.disabled)("matRippleCentered",!0),t.xp6(6),t.Q6J("for",re.buttonId),t.uIk("id",re._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}),te})(),K=(()=>{class te{}return te.\u0275fac=function(oe){return new(oe||te)},te.\u0275mod=t.oAB({type:te}),te.\u0275inj=t.cJS({}),te})(),q=(()=>{class te{}return te.\u0275fac=function(oe){return new(oe||te)},te.\u0275mod=t.oAB({type:te}),te.\u0275inj=t.cJS({imports:[K,A.BQ,A.si,C.ez,K,A.BQ]}),te})()},7009:(Be,Q,m)=>{"use strict";m.d(Q,{Ve:()=>l,ZX:()=>a,ux:()=>E});var t=m(4650),e=m(7579),g=m(6895),A=m(4859),s=m(7340),C=m(4080),h=m(3353),P=m(5698),d=m(2722),M=m(4761),w=m(2289),I=m(8184),k=m(3238);function O(D,v){if(1&D){const n=t.EpF();t.TgZ(0,"div",2)(1,"button",3),t.NdJ("click",function(){t.CHM(n);const V=t.oxw();return t.KtG(V.action())}),t._uU(2),t.qZA()()}if(2&D){const n=t.oxw();t.xp6(2),t.hij(" ",n.data.action," ")}}const U=["label"];function Z(D,v){}const W=Math.pow(2,31)-1;class K{constructor(v,n){this._overlayRef=n,this._afterDismissed=new e.x,this._afterOpened=new e.x,this._onAction=new e.x,this._dismissedByAction=!1,this.containerInstance=v,v._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(v){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(v,W))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const q=new t.OlP("MatSnackBarData");class te{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let pe=(()=>{class D{}return D.\u0275fac=function(n){return new(n||D)},D.\u0275dir=t.lG2({type:D,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),D})(),oe=(()=>{class D{}return D.\u0275fac=function(n){return new(n||D)},D.\u0275dir=t.lG2({type:D,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),D})(),re=(()=>{class D{}return D.\u0275fac=function(n){return new(n||D)},D.\u0275dir=t.lG2({type:D,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),D})(),ce=(()=>{class D{constructor(n,b){this.snackBarRef=n,this.data=b}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return D.\u0275fac=function(n){return new(n||D)(t.Y36(K),t.Y36(q))},D.\u0275cmp=t.Xpm({type:D,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(n,b){1&n&&(t.TgZ(0,"div",0),t._uU(1),t.qZA(),t.YNc(2,O,3,1,"div",1)),2&n&&(t.xp6(1),t.hij(" ",b.data.message,"\n"),t.xp6(1),t.Q6J("ngIf",b.hasAction))},dependencies:[g.O5,A.lW,pe,oe,re],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),D})();const se={snackBarState:(0,s.X$)("state",[(0,s.SB)("void, hidden",(0,s.oB)({transform:"scale(0.8)",opacity:0})),(0,s.SB)("visible",(0,s.oB)({transform:"scale(1)",opacity:1})),(0,s.eR)("* => visible",(0,s.jt)("150ms cubic-bezier(0, 0, 0.2, 1)")),(0,s.eR)("* => void, * => hidden",(0,s.jt)("75ms cubic-bezier(0.4, 0.0, 1, 1)",(0,s.oB)({opacity:0})))])};let he=0,S=(()=>{class D extends C.en{constructor(n,b,V,z,Y){super(),this._ngZone=n,this._elementRef=b,this._changeDetectorRef=V,this._platform=z,this.snackBarConfig=Y,this._document=(0,t.f3M)(g.K0),this._trackedModals=new Set,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._liveElementId="mat-snack-bar-container-live-"+he++,this.attachDomPortal=Te=>{this._assertNotAttached();const $e=this._portalOutlet.attachDomPortal(Te);return this._afterPortalAttached(),$e},this._live="assertive"!==Y.politeness||Y.announcementMessage?"off"===Y.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(n){this._assertNotAttached();const b=this._portalOutlet.attachComponentPortal(n);return this._afterPortalAttached(),b}attachTemplatePortal(n){this._assertNotAttached();const b=this._portalOutlet.attachTemplatePortal(n);return this._afterPortalAttached(),b}onAnimationEnd(n){const{fromState:b,toState:V}=n;if(("void"===V&&"void"!==b||"hidden"===V)&&this._completeExit(),"visible"===V){const z=this._onEnter;this._ngZone.run(()=>{z.next(),z.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._clearFromModals(),this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,P.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const n=this._elementRef.nativeElement,b=this.snackBarConfig.panelClass;b&&(Array.isArray(b)?b.forEach(V=>n.classList.add(V)):n.classList.add(b)),this._exposeToModals()}_exposeToModals(){const n=this._liveElementId,b=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let V=0;V<b.length;V++){const z=b[V],Y=z.getAttribute("aria-owns");this._trackedModals.add(z),Y?-1===Y.indexOf(n)&&z.setAttribute("aria-owns",Y+" "+n):z.setAttribute("aria-owns",n)}}_clearFromModals(){this._trackedModals.forEach(n=>{const b=n.getAttribute("aria-owns");if(b){const V=b.replace(this._liveElementId,"").trim();V.length>0?n.setAttribute("aria-owns",V):n.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const n=this._elementRef.nativeElement.querySelector("[aria-hidden]"),b=this._elementRef.nativeElement.querySelector("[aria-live]");if(n&&b){let V=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&n.contains(document.activeElement)&&(V=document.activeElement),n.removeAttribute("aria-hidden"),b.appendChild(n),V?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return D.\u0275fac=function(n){return new(n||D)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(h.t4),t.Y36(te))},D.\u0275dir=t.lG2({type:D,viewQuery:function(n,b){if(1&n&&t.Gf(C.Pl,7),2&n){let V;t.iGM(V=t.CRH())&&(b._portalOutlet=V.first)}},features:[t.qOj]}),D})(),i=(()=>{class D extends S{_afterPortalAttached(){super._afterPortalAttached();const n=this._label.nativeElement,b="mdc-snackbar__label";n.classList.toggle(b,!n.querySelector(`.${b}`))}}return D.\u0275fac=function(){let v;return function(b){return(v||(v=t.n5z(D)))(b||D)}}(),D.\u0275cmp=t.Xpm({type:D,selectors:[["mat-snack-bar-container"]],viewQuery:function(n,b){if(1&n&&t.Gf(U,7),2&n){let V;t.iGM(V=t.CRH())&&(b._label=V.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(n,b){1&n&&t.WFA("@state.done",function(z){return b.onAnimationEnd(z)}),2&n&&t.d8E("@state",b._animationState)},features:[t.qOj],decls:6,vars:3,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(n,b){1&n&&(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&n&&(t.xp6(5),t.uIk("aria-live",b._live)("role",b._role)("id",b._liveElementId))},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%}}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container{width:100vw}}.mat-mdc-snack-bar-container .mdc-snackbar__surface{max-width:672px}.mat-mdc-snack-bar-container .mdc-snackbar__surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12)}.mat-mdc-snack-bar-container .mdc-snackbar__dismiss .mdc-button__icon{font-size:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-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, var(--mdc-snackbar-icon-size, 24px));height:var(--mdc-icon-button-icon-size, var(--mdc-snackbar-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)}.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-container .mdc-snackbar__label::before{display:none}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-handset .mdc-snackbar__surface{width:100%}'],encapsulation:2,data:{animation:[se.snackBarState]}}),D})(),a=(()=>{class D{}return D.\u0275fac=function(n){return new(n||D)},D.\u0275mod=t.oAB({type:D}),D.\u0275inj=t.cJS({imports:[I.U8,C.eL,g.ez,A.ot,k.BQ,k.BQ]}),D})();const l=new t.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function f(){return new te}});let y=(()=>{class D{get _openedSnackBarRef(){const n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}constructor(n,b,V,z,Y,Te){this._overlay=n,this._live=b,this._injector=V,this._breakpointObserver=z,this._parentSnackBar=Y,this._defaultConfig=Te,this._snackBarRefAtThisLevel=null}openFromComponent(n,b){return this._attach(n,b)}openFromTemplate(n,b){return this._attach(n,b)}open(n,b="",V){const z={...this._defaultConfig,...V};return z.data={message:n,action:b},z.announcementMessage===n&&(z.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,z)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(n,b){const z=t.zs3.create({parent:b&&b.viewContainerRef&&b.viewContainerRef.injector||this._injector,providers:[{provide:te,useValue:b}]}),Y=new C.C5(this.snackBarContainerComponent,b.viewContainerRef,z),Te=n.attach(Y);return Te.instance.snackBarConfig=b,Te.instance}_attach(n,b){const V={...new te,...this._defaultConfig,...b},z=this._createOverlay(V),Y=this._attachSnackBarContainer(z,V),Te=new K(Y,z);if(n instanceof t.Rgc){const $e=new C.UE(n,null,{$implicit:V.data,snackBarRef:Te});Te.instance=Y.attachTemplatePortal($e)}else{const $e=this._createInjector(V,Te),Ve=new C.C5(n,void 0,$e),We=Y.attachComponentPortal(Ve);Te.instance=We.instance}return this._breakpointObserver.observe(w.u3.HandsetPortrait).pipe((0,d.R)(z.detachments())).subscribe($e=>{z.overlayElement.classList.toggle(this.handsetCssClass,$e.matches)}),V.announcementMessage&&Y._onAnnounce.subscribe(()=>{this._live.announce(V.announcementMessage,V.politeness)}),this._animateSnackBar(Te,V),this._openedSnackBarRef=Te,this._openedSnackBarRef}_animateSnackBar(n,b){n.afterDismissed().subscribe(()=>{this._openedSnackBarRef==n&&(this._openedSnackBarRef=null),b.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter(),b.duration&&b.duration>0&&n.afterOpened().subscribe(()=>n._dismissAfter(b.duration))}_createOverlay(n){const b=new I.X_;b.direction=n.direction;let V=this._overlay.position().global();const z="rtl"===n.direction,Y="left"===n.horizontalPosition||"start"===n.horizontalPosition&&!z||"end"===n.horizontalPosition&&z,Te=!Y&&"center"!==n.horizontalPosition;return Y?V.left("0"):Te?V.right("0"):V.centerHorizontally(),"top"===n.verticalPosition?V.top("0"):V.bottom("0"),b.positionStrategy=V,this._overlay.create(b)}_createInjector(n,b){return t.zs3.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:K,useValue:b},{provide:q,useValue:n.data}]})}}return D.\u0275fac=function(n){return new(n||D)(t.LFG(I.aV),t.LFG(M.Kd),t.LFG(t.zs3),t.LFG(w.Yg),t.LFG(D,12),t.LFG(l))},D.\u0275prov=t.Yz7({token:D,factory:D.\u0275fac}),D})(),E=(()=>{class D extends y{constructor(n,b,V,z,Y,Te){super(n,b,V,z,Y,Te),this.simpleSnackBarComponent=ce,this.snackBarContainerComponent=i,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return D.\u0275fac=function(n){return new(n||D)(t.LFG(I.aV),t.LFG(M.Kd),t.LFG(t.zs3),t.LFG(w.Yg),t.LFG(D,12),t.LFG(l))},D.\u0275prov=t.Yz7({token:D,factory:D.\u0275fac,providedIn:a}),D})()},6308:(Be,Q,m)=>{"use strict";m.d(Q,{JX:()=>i,YE:()=>q,nU:()=>S});var t=m(4650),e=m(4761),g=m(1281),A=m(9521),s=m(3238),C=m(7579),h=m(6451),P=m(7340),d=m(6895);const M=["mat-sort-header",""];function w(a,f){if(1&a){const l=t.EpF();t.TgZ(0,"div",3),t.NdJ("@arrowPosition.start",function(){t.CHM(l);const E=t.oxw();return t.KtG(E._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){t.CHM(l);const E=t.oxw();return t.KtG(E._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&a){const l=t.oxw();t.Q6J("@arrowOpacity",l._getArrowViewState())("@arrowPosition",l._getArrowViewState())("@allowChildren",l._getArrowDirectionState()),t.xp6(2),t.Q6J("@indicator",l._getArrowDirectionState()),t.xp6(1),t.Q6J("@leftPointer",l._getArrowDirectionState()),t.xp6(1),t.Q6J("@rightPointer",l._getArrowDirectionState())}}const I=["*"],W=new t.OlP("MAT_SORT_DEFAULT_OPTIONS"),K=(0,s.dB)((0,s.Id)(class{}));let q=(()=>{class a extends K{get direction(){return this._direction}set direction(l){this._direction=l}get disableClear(){return this._disableClear}set disableClear(l){this._disableClear=(0,g.Ig)(l)}constructor(l){super(),this._defaultOptions=l,this.sortables=new Map,this._stateChanges=new C.x,this.start="asc",this._direction="",this.sortChange=new t.vpe}register(l){this.sortables.set(l.id,l)}deregister(l){this.sortables.delete(l.id)}sort(l){this.active!=l.id?(this.active=l.id,this.direction=l.start?l.start:this.start):this.direction=this.getNextSortDirection(l),this.sortChange.emit({active:this.active,direction:this.direction})}getNextSortDirection(l){if(!l)return"";let E=function te(a,f){let l=["asc","desc"];return"desc"==a&&l.reverse(),f||l.push(""),l}(l.start||this.start,l?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),D=E.indexOf(this.direction)+1;return D>=E.length&&(D=0),E[D]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return a.\u0275fac=function(l){return new(l||a)(t.Y36(W,8))},a.\u0275dir=t.lG2({type:a,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]}),a})();const pe=s.mZ.ENTERING+" "+s.yN.STANDARD_CURVE,oe={indicator:(0,P.X$)("indicator",[(0,P.SB)("active-asc, asc",(0,P.oB)({transform:"translateY(0px)"})),(0,P.SB)("active-desc, desc",(0,P.oB)({transform:"translateY(10px)"})),(0,P.eR)("active-asc <=> active-desc",(0,P.jt)(pe))]),leftPointer:(0,P.X$)("leftPointer",[(0,P.SB)("active-asc, asc",(0,P.oB)({transform:"rotate(-45deg)"})),(0,P.SB)("active-desc, desc",(0,P.oB)({transform:"rotate(45deg)"})),(0,P.eR)("active-asc <=> active-desc",(0,P.jt)(pe))]),rightPointer:(0,P.X$)("rightPointer",[(0,P.SB)("active-asc, asc",(0,P.oB)({transform:"rotate(45deg)"})),(0,P.SB)("active-desc, desc",(0,P.oB)({transform:"rotate(-45deg)"})),(0,P.eR)("active-asc <=> active-desc",(0,P.jt)(pe))]),arrowOpacity:(0,P.X$)("arrowOpacity",[(0,P.SB)("desc-to-active, asc-to-active, active",(0,P.oB)({opacity:1})),(0,P.SB)("desc-to-hint, asc-to-hint, hint",(0,P.oB)({opacity:.54})),(0,P.SB)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",(0,P.oB)({opacity:0})),(0,P.eR)("* => asc, * => desc, * => active, * => hint, * => void",(0,P.jt)("0ms")),(0,P.eR)("* <=> *",(0,P.jt)(pe))]),arrowPosition:(0,P.X$)("arrowPosition",[(0,P.eR)("* => desc-to-hint, * => desc-to-active",(0,P.jt)(pe,(0,P.F4)([(0,P.oB)({transform:"translateY(-25%)"}),(0,P.oB)({transform:"translateY(0)"})]))),(0,P.eR)("* => hint-to-desc, * => active-to-desc",(0,P.jt)(pe,(0,P.F4)([(0,P.oB)({transform:"translateY(0)"}),(0,P.oB)({transform:"translateY(25%)"})]))),(0,P.eR)("* => asc-to-hint, * => asc-to-active",(0,P.jt)(pe,(0,P.F4)([(0,P.oB)({transform:"translateY(25%)"}),(0,P.oB)({transform:"translateY(0)"})]))),(0,P.eR)("* => hint-to-asc, * => active-to-asc",(0,P.jt)(pe,(0,P.F4)([(0,P.oB)({transform:"translateY(0)"}),(0,P.oB)({transform:"translateY(-25%)"})]))),(0,P.SB)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",(0,P.oB)({transform:"translateY(0)"})),(0,P.SB)("hint-to-desc, active-to-desc, desc",(0,P.oB)({transform:"translateY(-25%)"})),(0,P.SB)("hint-to-asc, active-to-asc, asc",(0,P.oB)({transform:"translateY(25%)"}))]),allowChildren:(0,P.X$)("allowChildren",[(0,P.eR)("* <=> *",[(0,P.IO)("@*",(0,P.pV)(),{optional:!0})])])};let re=(()=>{class a{constructor(){this.changes=new C.x}}return a.\u0275fac=function(l){return new(l||a)},a.\u0275prov=t.Yz7({token:a,factory:a.\u0275fac,providedIn:"root"}),a})();const se={provide:re,deps:[[new t.FiY,new t.tp0,re]],useFactory:function ce(a){return a||new re}},he=(0,s.Id)(class{});let S=(()=>{class a extends he{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(l){this._updateSortActionDescription(l)}get disableClear(){return this._disableClear}set disableClear(l){this._disableClear=(0,g.Ig)(l)}constructor(l,y,E,D,v,n,b,V){super(),this._intl=l,this._changeDetectorRef=y,this._sort=E,this._columnDef=D,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",V?.arrowPosition&&(this.arrowPosition=V?.arrowPosition),this._handleStateChanges()}ngOnInit(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this),this._sortButton=this._elementRef.nativeElement.querySelector(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(l=>{const y=!!l;y!==this._showIndicatorHint&&(this._setIndicatorHintVisible(y),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}_setIndicatorHintVisible(l){this._isDisabled()&&l||(this._showIndicatorHint=l,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(l){this._viewState=l||{},this._disableViewStateAnimation&&(this._viewState={toState:l.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(l){!this._isDisabled()&&(l.keyCode===A.L_||l.keyCode===A.K5)&&(l.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 l=this._viewState.fromState;return(l?`${l}-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(l){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,l)),this._sortActionDescription=l}_handleStateChanges(){this._rerenderSubscription=(0,h.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 a.\u0275fac=function(l){return new(l||a)(t.Y36(re),t.Y36(t.sBO),t.Y36(q,8),t.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),t.Y36(e.tE),t.Y36(t.SBq),t.Y36(e.$s,8),t.Y36(W,8))},a.\u0275cmp=t.Xpm({type:a,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(l,y){1&l&&t.NdJ("click",function(){return y._handleClick()})("keydown",function(D){return y._handleKeydown(D)})("mouseenter",function(){return y._setIndicatorHintVisible(!0)})("mouseleave",function(){return y._setIndicatorHintVisible(!1)}),2&l&&(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:I,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(l,y){1&l&&(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&l&&(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:[oe.indicator,oe.leftPointer,oe.rightPointer,oe.arrowOpacity,oe.arrowPosition,oe.allowChildren]},changeDetection:0}),a})(),i=(()=>{class a{}return a.\u0275fac=function(l){return new(l||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({providers:[se],imports:[d.ez,s.BQ]}),a})()},8425:(Be,Q,m)=>{"use strict";m.d(Q,{C0:()=>Oe,Ic:()=>Se,T5:()=>xe,VY:()=>Y,Vq:()=>fe,fd:()=>ge,z9:()=>ee});var t=m(4080),e=m(2138),g=m(6895),A=m(4650),s=m(3238),C=m(7392),h=m(4761),P=m(7579),d=m(727),M=m(445),w=m(3900),I=m(4004),k=m(8675),O=m(2722),U=m(1884),Z=m(7340);function W(vt,Ie){if(1&vt&&A.GkF(0,8),2&vt){const de=A.oxw();A.Q6J("ngTemplateOutlet",de.iconOverrides[de.state])("ngTemplateOutletContext",de._getIconContext())}}function K(vt,Ie){if(1&vt&&(A.TgZ(0,"span",13),A._uU(1),A.qZA()),2&vt){const de=A.oxw(2);A.xp6(1),A.Oqu(de._getDefaultTextForState(de.state))}}function q(vt,Ie){if(1&vt&&(A.TgZ(0,"span",14),A._uU(1),A.qZA()),2&vt){const de=A.oxw(2);A.xp6(1),A.Oqu(de._intl.completedLabel)}}function te(vt,Ie){if(1&vt&&(A.TgZ(0,"span",14),A._uU(1),A.qZA()),2&vt){const de=A.oxw(2);A.xp6(1),A.Oqu(de._intl.editableLabel)}}function pe(vt,Ie){if(1&vt&&(A.TgZ(0,"mat-icon",13),A._uU(1),A.qZA()),2&vt){const de=A.oxw(2);A.xp6(1),A.Oqu(de._getDefaultTextForState(de.state))}}function oe(vt,Ie){if(1&vt&&(A.ynx(0,9),A.YNc(1,K,2,1,"span",10),A.YNc(2,q,2,1,"span",11),A.YNc(3,te,2,1,"span",11),A.YNc(4,pe,2,1,"mat-icon",12),A.BQk()),2&vt){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 re(vt,Ie){if(1&vt&&(A.TgZ(0,"div",15),A.GkF(1,16),A.qZA()),2&vt){const de=A.oxw();A.xp6(1),A.Q6J("ngTemplateOutlet",de._templateLabel().template)}}function ce(vt,Ie){if(1&vt&&(A.TgZ(0,"div",15),A._uU(1),A.qZA()),2&vt){const de=A.oxw();A.xp6(1),A.Oqu(de.label)}}function se(vt,Ie){if(1&vt&&(A.TgZ(0,"div",17),A._uU(1),A.qZA()),2&vt){const de=A.oxw();A.xp6(1),A.Oqu(de._intl.optionalLabel)}}function he(vt,Ie){if(1&vt&&(A.TgZ(0,"div",18),A._uU(1),A.qZA()),2&vt){const de=A.oxw();A.xp6(1),A.Oqu(de.errorMessage)}}function S(vt,Ie){}function i(vt,Ie){if(1&vt&&(A.Hsn(0),A.YNc(1,S,0,0,"ng-template",0)),2&vt){const de=A.oxw();A.xp6(1),A.Q6J("cdkPortalOutlet",de._portal)}}const a=["*"];function f(vt,Ie){1&vt&&A._UZ(0,"div",11)}const l=function(vt,Ie){return{step:vt,i:Ie}};function y(vt,Ie){if(1&vt&&(A.ynx(0),A.GkF(1,9),A.YNc(2,f,1,0,"div",10),A.BQk()),2&vt){const de=Ie.$implicit,rt=Ie.index,je=Ie.last;A.oxw(2);const lt=A.MAs(4);A.xp6(1),A.Q6J("ngTemplateOutlet",lt)("ngTemplateOutletContext",A.WLB(3,l,de,rt)),A.xp6(1),A.Q6J("ngIf",!je)}}const E=function(vt){return{animationDuration:vt}},D=function(vt,Ie){return{value:vt,params:Ie}};function v(vt,Ie){if(1&vt){const de=A.EpF();A.TgZ(0,"div",12),A.NdJ("@horizontalStepTransition.done",function(je){A.CHM(de);const lt=A.oxw(2);return A.KtG(lt._animationDone.next(je))}),A.GkF(1,13),A.qZA()}if(2&vt){const de=Ie.$implicit,rt=Ie.index,je=A.oxw(2);A.ekj("mat-horizontal-stepper-content-inactive",je.selectedIndex!==rt),A.Q6J("@horizontalStepTransition",A.WLB(8,D,je._getAnimationDirection(rt),A.VKq(6,E,je._getAnimationDuration())))("id",je._getStepContentId(rt)),A.uIk("aria-labelledby",je._getStepLabelId(rt)),A.xp6(1),A.Q6J("ngTemplateOutlet",de.content)}}function n(vt,Ie){if(1&vt&&(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&vt){const de=A.oxw();A.xp6(2),A.Q6J("ngForOf",de.steps),A.xp6(2),A.Q6J("ngForOf",de.steps)}}function b(vt,Ie){if(1&vt){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(je){A.CHM(de);const lt=A.oxw(2);return A.KtG(lt._animationDone.next(je))}),A.TgZ(4,"div",18),A.GkF(5,13),A.qZA()()()()}if(2&vt){const de=Ie.$implicit,rt=Ie.index,je=Ie.last,lt=A.oxw(2),Nt=A.MAs(4);A.xp6(1),A.Q6J("ngTemplateOutlet",Nt)("ngTemplateOutletContext",A.WLB(10,l,de,rt)),A.xp6(1),A.ekj("mat-stepper-vertical-line",!je),A.xp6(1),A.ekj("mat-vertical-stepper-content-inactive",lt.selectedIndex!==rt),A.Q6J("@verticalStepTransition",A.WLB(15,D,lt._getAnimationDirection(rt),A.VKq(13,E,lt._getAnimationDuration())))("id",lt._getStepContentId(rt)),A.uIk("aria-labelledby",lt._getStepLabelId(rt)),A.xp6(2),A.Q6J("ngTemplateOutlet",de.content)}}function V(vt,Ie){if(1&vt&&(A.ynx(0),A.YNc(1,b,6,18,"div",14),A.BQk()),2&vt){const de=A.oxw();A.xp6(1),A.Q6J("ngForOf",de.steps)}}function z(vt,Ie){if(1&vt){const de=A.EpF();A.TgZ(0,"mat-step-header",19),A.NdJ("click",function(){const lt=A.CHM(de).step;return A.KtG(lt.select())})("keydown",function(je){A.CHM(de);const lt=A.oxw();return A.KtG(lt._onKeydown(je))}),A.qZA()}if(2&vt){const de=Ie.step,rt=Ie.i,je=A.oxw();A.ekj("mat-horizontal-stepper-header","horizontal"===je.orientation)("mat-vertical-stepper-header","vertical"===je.orientation),A.Q6J("tabIndex",je._getFocusIndex()===rt?0:-1)("id",je._getStepLabelId(rt))("index",rt)("state",je._getIndicatorType(rt,de.state))("label",de.stepLabel||de.label)("selected",je.selectedIndex===rt)("active",je._stepIsNavigable(rt,de))("optional",de.optional)("errorMessage",de.errorMessage)("iconOverrides",je._iconOverrides)("disableRipple",je.disableRipple||!je._stepIsNavigable(rt,de))("color",de.color||je.color),A.uIk("aria-posinset",rt+1)("aria-setsize",je.steps.length)("aria-controls",je._getStepContentId(rt))("aria-selected",je.selectedIndex==rt)("aria-label",de.ariaLabel||null)("aria-labelledby",!de.ariaLabel&&de.ariaLabelledby?de.ariaLabelledby:null)("aria-disabled",!je._stepIsNavigable(rt,de)||null)}}let Y=(()=>{class vt extends e.u6{}return vt.\u0275fac=function(){let Ie;return function(rt){return(Ie||(Ie=A.n5z(vt)))(rt||vt)}}(),vt.\u0275dir=A.lG2({type:vt,selectors:[["","matStepLabel",""]],features:[A.qOj]}),vt})(),Te=(()=>{class vt{constructor(){this.changes=new P.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return vt.\u0275fac=function(de){return new(de||vt)},vt.\u0275prov=A.Yz7({token:vt,factory:vt.\u0275fac,providedIn:"root"}),vt})();const Ve={provide:Te,deps:[[new A.FiY,new A.tp0,Te]],useFactory:function $e(vt){return vt||new Te}},We=(0,s.pj)(class extends e.KL{constructor(Ie){super(Ie)}},"primary");let Re=(()=>{class vt extends We{constructor(de,rt,je,lt){super(je),this._intl=de,this._focusMonitor=rt,this._intlSubscription=de.changes.subscribe(()=>lt.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(de,rt){de?this._focusMonitor.focusVia(this._elementRef,de,rt):this._elementRef.nativeElement.focus(rt)}_stringLabel(){return this.label instanceof Y?null:this.label}_templateLabel(){return this.label instanceof Y?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 vt.\u0275fac=function(de){return new(de||vt)(A.Y36(Te),A.Y36(h.tE),A.Y36(A.SBq),A.Y36(A.sBO))},vt.\u0275cmp=A.Xpm({type:vt,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,rt){1&de&&(A._UZ(0,"div",0),A.TgZ(1,"div")(2,"div",1),A.YNc(3,W,1,2,"ng-container",2),A.YNc(4,oe,5,4,"ng-container",3),A.qZA()(),A.TgZ(5,"div",4),A.YNc(6,re,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",rt._getHostElement())("matRippleDisabled",rt.disableRipple),A.xp6(1),A.Gre("mat-step-icon-state-",rt.state," mat-step-icon"),A.ekj("mat-step-icon-selected",rt.selected),A.xp6(1),A.Q6J("ngSwitch",!(!rt.iconOverrides||!rt.iconOverrides[rt.state])),A.xp6(1),A.Q6J("ngSwitchCase",!0),A.xp6(2),A.ekj("mat-step-label-active",rt.active)("mat-step-label-selected",rt.selected)("mat-step-label-error","error"==rt.state),A.xp6(1),A.Q6J("ngIf",rt._templateLabel()),A.xp6(1),A.Q6J("ngIf",rt._stringLabel()),A.xp6(1),A.Q6J("ngIf",rt.optional&&"error"!=rt.state),A.xp6(1),A.Q6J("ngIf","error"==rt.state))},dependencies:[g.O5,g.tP,g.RF,g.n9,g.ED,C.Hw,s.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}),vt})();const Ae={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 ee=(()=>{class vt{constructor(de){this.templateRef=de}}return vt.\u0275fac=function(de){return new(de||vt)(A.Y36(A.Rgc))},vt.\u0275dir=A.lG2({type:vt,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),vt})(),Ze=(()=>{class vt{constructor(de){this._template=de}}return vt.\u0275fac=function(de){return new(de||vt)(A.Y36(A.Rgc))},vt.\u0275dir=A.lG2({type:vt,selectors:[["ng-template","matStepContent",""]]}),vt})(),Oe=(()=>{class vt extends e.be{constructor(de,rt,je,lt){super(de,lt),this._errorStateMatcher=rt,this._viewContainerRef=je,this._isSelected=d.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,w.w)(()=>this._stepper.selectionChange.pipe((0,I.U)(de=>de.selectedStep===this),(0,k.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,rt){return this._errorStateMatcher.isErrorState(de,rt)||!!(de&&de.invalid&&this.interacted)}}return vt.\u0275fac=function(de){return new(de||vt)(A.Y36((0,A.Gpc)(()=>fe)),A.Y36(s.rD,4),A.Y36(A.s_b),A.Y36(e.gx,8))},vt.\u0275cmp=A.Xpm({type:vt,selectors:[["mat-step"]],contentQueries:function(de,rt,je){if(1&de&&(A.Suo(je,Y,5),A.Suo(je,Ze,5)),2&de){let lt;A.iGM(lt=A.CRH())&&(rt.stepLabel=lt.first),A.iGM(lt=A.CRH())&&(rt._lazyContent=lt.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[A._Bn([{provide:s.rD,useExisting:vt},{provide:e.be,useExisting:vt}]),A.qOj],ngContentSelectors:a,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(de,rt){1&de&&(A.F$t(),A.YNc(0,i,2,1,"ng-template"))},dependencies:[t.Pl],encapsulation:2,changeDetection:0}),vt})(),fe=(()=>{class vt extends e.B8{get animationDuration(){return this._animationDuration}set animationDuration(de){this._animationDuration=/^\d+$/.test(de)?de+"ms":de}constructor(de,rt,je){super(de,rt,je),this.steps=new A.n_E,this.animationDone=new A.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new P.x,this._animationDuration="";const lt=je.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===lt?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:de,templateRef:rt})=>this._iconOverrides[de]=rt),this.steps.changes.pipe((0,O.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,U.x)((de,rt)=>de.fromState===rt.fromState&&de.toState===rt.toState),(0,O.R)(this._destroyed)).subscribe(de=>{"current"===de.toState&&this.animationDone.emit()})}_stepIsNavigable(de,rt){return rt.completed||this.selectedIndex===de||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}}return vt.\u0275fac=function(de){return new(de||vt)(A.Y36(M.Is,8),A.Y36(A.sBO),A.Y36(A.SBq))},vt.\u0275cmp=A.Xpm({type:vt,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(de,rt,je){if(1&de&&(A.Suo(je,Oe,5),A.Suo(je,ee,5)),2&de){let lt;A.iGM(lt=A.CRH())&&(rt._steps=lt),A.iGM(lt=A.CRH())&&(rt._icons=lt)}},viewQuery:function(de,rt){if(1&de&&A.Gf(Re,5),2&de){let je;A.iGM(je=A.CRH())&&(rt._stepHeader=je)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(de,rt){2&de&&(A.uIk("aria-orientation",rt.orientation),A.ekj("mat-stepper-horizontal","horizontal"===rt.orientation)("mat-stepper-vertical","vertical"===rt.orientation)("mat-stepper-label-position-end","horizontal"===rt.orientation&&"end"==rt.labelPosition)("mat-stepper-label-position-bottom","horizontal"===rt.orientation&&"bottom"==rt.labelPosition)("mat-stepper-header-position-bottom","bottom"===rt.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:vt}]),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,rt){1&de&&(A.ynx(0,0),A.YNc(1,n,5,2,"div",1),A.YNc(2,V,2,1,"ng-container",2),A.BQk(),A.YNc(3,z,1,23,"ng-template",null,3,A.W1O)),2&de&&(A.Q6J("ngSwitch",rt.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,Re],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:[Ae.horizontalStepTransition,Ae.verticalStepTransition]},changeDetection:0}),vt})(),Se=(()=>{class vt extends e.st{}return vt.\u0275fac=function(){let Ie;return function(rt){return(Ie||(Ie=A.n5z(vt)))(rt||vt)}}(),vt.\u0275dir=A.lG2({type:vt,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(de,rt){2&de&&A.Ikx("type",rt.type)},inputs:{type:"type"},features:[A.qOj]}),vt})(),ge=(()=>{class vt extends e.po{}return vt.\u0275fac=function(){let Ie;return function(rt){return(Ie||(Ie=A.n5z(vt)))(rt||vt)}}(),vt.\u0275dir=A.lG2({type:vt,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(de,rt){2&de&&A.Ikx("type",rt.type)},inputs:{type:"type"},features:[A.qOj]}),vt})(),xe=(()=>{class vt{}return vt.\u0275fac=function(de){return new(de||vt)},vt.\u0275mod=A.oAB({type:vt}),vt.\u0275inj=A.cJS({providers:[Ve,s.rD],imports:[s.BQ,g.ez,t.eL,e.U5,C.Ps,s.si,s.BQ]}),vt})()},671:(Be,Q,m)=>{"use strict";m.d(Q,{ev:()=>ut,Dz:()=>qe,w1:()=>ri,yh:()=>ot,mD:()=>Vt,Q2:()=>_t,Ke:()=>ft,ge:()=>pt,fO:()=>Xt,XQ:()=>gt,as:()=>wt,Gk:()=>Fe,nj:()=>Xe,BZ:()=>Ee,by:()=>Bi,p0:()=>Fi});var t=m(4650),e=m(445),g=m(1281),A=m(5017),s=m(3353),C=m(531),h=m(6895),P=m(7579),d=m(457),M=m(1135),w=m(5191),I=m(9646),k=m(2722),O=m(5698);const U=[[["caption"]],[["colgroup"],["col"]]],Z=["caption","colgroup, col"];function q(Je){return class extends Je{get sticky(){return this._sticky}set sticky(Dt){const be=this._sticky;this._sticky=(0,g.Ig)(Dt),this._hasStickyChanged=be!==this._sticky}hasStickyChanged(){const Dt=this._hasStickyChanged;return this._hasStickyChanged=!1,Dt}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...Dt){super(...Dt),this._sticky=!1,this._hasStickyChanged=!1}}}const te=new t.OlP("CDK_TABLE");let oe=(()=>{class Je{constructor(be){this.template=be}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkCellDef",""]]}),Je})(),re=(()=>{class Je{constructor(be){this.template=be}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkHeaderCellDef",""]]}),Je})(),ce=(()=>{class Je{constructor(be){this.template=be}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkFooterCellDef",""]]}),Je})();class se{}const he=q(se);let S=(()=>{class Je extends he{get name(){return this._name}set name(be){this._setNameInput(be)}get stickyEnd(){return this._stickyEnd}set stickyEnd(be){const Tt=this._stickyEnd;this._stickyEnd=(0,g.Ig)(be),this._hasStickyChanged=Tt!==this._stickyEnd}constructor(be){super(),this._table=be,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(be){be&&(this._name=be,this.cssClassFriendlyName=be.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(te,8))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkColumnDef",""]],contentQueries:function(be,Tt,Wt){if(1&be&&(t.Suo(Wt,oe,5),t.Suo(Wt,re,5),t.Suo(Wt,ce,5)),2&be){let ci;t.iGM(ci=t.CRH())&&(Tt.cell=ci.first),t.iGM(ci=t.CRH())&&(Tt.headerCell=ci.first),t.iGM(ci=t.CRH())&&(Tt.footerCell=ci.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[t._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Je}]),t.qOj]}),Je})();class i{constructor(Dt,be){be.nativeElement.classList.add(...Dt._columnCssClassName)}}let a=(()=>{class Je extends i{constructor(be,Tt){super(be,Tt)}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(S),t.Y36(t.SBq))},Je.\u0275dir=t.lG2({type:Je,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[t.qOj]}),Je})(),f=(()=>{class Je extends i{constructor(be,Tt){if(super(be,Tt),1===be._table?._elementRef.nativeElement.nodeType){const Wt=be._table._elementRef.nativeElement.getAttribute("role");Tt.nativeElement.setAttribute("role","grid"===Wt||"treegrid"===Wt?"gridcell":"cell")}}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(S),t.Y36(t.SBq))},Je.\u0275dir=t.lG2({type:Je,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[t.qOj]}),Je})(),l=(()=>{class Je extends i{constructor(be,Tt){if(super(be,Tt),1===be._table?._elementRef.nativeElement.nodeType){const Wt=be._table._elementRef.nativeElement.getAttribute("role");Tt.nativeElement.setAttribute("role","grid"===Wt||"treegrid"===Wt?"gridcell":"cell")}}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(S),t.Y36(t.SBq))},Je.\u0275dir=t.lG2({type:Je,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[t.qOj]}),Je})();class y{constructor(){this.tasks=[],this.endTasks=[]}}const E=new t.OlP("_COALESCED_STYLE_SCHEDULER");let D=(()=>{class Je{constructor(be){this._ngZone=be,this._currentSchedule=null,this._destroyed=new P.x}schedule(be){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(be)}scheduleEnd(be){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(be)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new y,this._getScheduleObservable().pipe((0,k.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const be=this._currentSchedule;this._currentSchedule=new y;for(const Tt of be.tasks)Tt();for(const Tt of be.endTasks)Tt()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,d.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,O.q)(1))}}return Je.\u0275fac=function(be){return new(be||Je)(t.LFG(t.R0b))},Je.\u0275prov=t.Yz7({token:Je,factory:Je.\u0275fac}),Je})(),n=(()=>{class Je{constructor(be,Tt){this.template=be,this._differs=Tt}ngOnChanges(be){if(!this._columnsDiffer){const Tt=be.columns&&be.columns.currentValue||[];this._columnsDiffer=this._differs.find(Tt).create(),this._columnsDiffer.diff(Tt)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(be){return this instanceof z?be.headerCell.template:this instanceof $e?be.footerCell.template:be.cell.template}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc),t.Y36(t.ZZ4))},Je.\u0275dir=t.lG2({type:Je,features:[t.TTD]}),Je})();class b extends n{}const V=q(b);let z=(()=>{class Je extends V{constructor(be,Tt,Wt){super(be,Tt),this._table=Wt}ngOnChanges(be){super.ngOnChanges(be)}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(te,8))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[t.qOj,t.TTD]}),Je})();class Y extends n{}const Te=q(Y);let $e=(()=>{class Je extends Te{constructor(be,Tt,Wt){super(be,Tt),this._table=Wt}ngOnChanges(be){super.ngOnChanges(be)}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(te,8))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[t.qOj,t.TTD]}),Je})(),Ve=(()=>{class Je extends n{constructor(be,Tt,Wt){super(be,Tt),this._table=Wt}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(te,8))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[t.qOj]}),Je})(),We=(()=>{class Je{constructor(be){this._viewContainer=be,Je.mostRecentCellOutlet=this}ngOnDestroy(){Je.mostRecentCellOutlet===this&&(Je.mostRecentCellOutlet=null)}}return Je.mostRecentCellOutlet=null,Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.s_b))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","cdkCellOutlet",""]]}),Je})(),Re=(()=>{class Je{}return Je.\u0275fac=function(be){return new(be||Je)},Je.\u0275cmp=t.Xpm({type:Je,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(be,Tt){1&be&&t.GkF(0,0)},dependencies:[We],encapsulation:2}),Je})(),we=(()=>{class Je{}return Je.\u0275fac=function(be){return new(be||Je)},Je.\u0275cmp=t.Xpm({type:Je,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(be,Tt){1&be&&t.GkF(0,0)},dependencies:[We],encapsulation:2}),Je})(),me=(()=>{class Je{}return Je.\u0275fac=function(be){return new(be||Je)},Je.\u0275cmp=t.Xpm({type:Je,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(be,Tt){1&be&&t.GkF(0,0)},dependencies:[We],encapsulation:2}),Je})(),Ae=(()=>{class Je{constructor(be){this.templateRef=be,this._contentClassName="cdk-no-data-row"}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.Rgc))},Je.\u0275dir=t.lG2({type:Je,selectors:[["ng-template","cdkNoDataRow",""]]}),Je})();const ee=["top","bottom","left","right"];class Ze{constructor(Dt,be,Tt,Wt,ci=!0,Ai=!0,ki){this._isNativeHtmlTable=Dt,this._stickCellCss=be,this.direction=Tt,this._coalescedStyleScheduler=Wt,this._isBrowser=ci,this._needsPositionStickyOnElement=Ai,this._positionListener=ki,this._cachedCellWidths=[],this._borderCellCss={top:`${be}-border-elem-top`,bottom:`${be}-border-elem-bottom`,left:`${be}-border-elem-left`,right:`${be}-border-elem-right`}}clearStickyPositioning(Dt,be){const Tt=[];for(const Wt of Dt)if(Wt.nodeType===Wt.ELEMENT_NODE){Tt.push(Wt);for(let ci=0;ci<Wt.children.length;ci++)Tt.push(Wt.children[ci])}this._coalescedStyleScheduler.schedule(()=>{for(const Wt of Tt)this._removeStickyStyle(Wt,be)})}updateStickyColumns(Dt,be,Tt,Wt=!0){if(!Dt.length||!this._isBrowser||!be.some(Qt=>Qt)&&!Tt.some(Qt=>Qt))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const ci=Dt[0],Ai=ci.children.length,ki=this._getCellWidths(ci,Wt),Yi=this._getStickyStartColumnPositions(ki,be),ji=this._getStickyEndColumnPositions(ki,Tt),tn=be.lastIndexOf(!0),Zt=Tt.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Qt="rtl"===this.direction,_e=Qt?"right":"left",ht=Qt?"left":"right";for(const Lt of Dt)for(let Bt=0;Bt<Ai;Bt++){const Ot=Lt.children[Bt];be[Bt]&&this._addStickyStyle(Ot,_e,Yi[Bt],Bt===tn),Tt[Bt]&&this._addStickyStyle(Ot,ht,ji[Bt],Bt===Zt)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===tn?[]:ki.slice(0,tn+1).map((Lt,Bt)=>be[Bt]?Lt:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Zt?[]:ki.slice(Zt).map((Lt,Bt)=>Tt[Bt+Zt]?Lt:null).reverse()}))})}stickRows(Dt,be,Tt){if(!this._isBrowser)return;const Wt="bottom"===Tt?Dt.slice().reverse():Dt,ci="bottom"===Tt?be.slice().reverse():be,Ai=[],ki=[],Yi=[];for(let tn=0,Zt=0;tn<Wt.length;tn++){if(!ci[tn])continue;Ai[tn]=Zt;const Qt=Wt[tn];Yi[tn]=this._isNativeHtmlTable?Array.from(Qt.children):[Qt];const _e=Qt.getBoundingClientRect().height;Zt+=_e,ki[tn]=_e}const ji=ci.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let tn=0;tn<Wt.length;tn++){if(!ci[tn])continue;const Zt=Ai[tn],Qt=tn===ji;for(const _e of Yi[tn])this._addStickyStyle(_e,Tt,Zt,Qt)}"top"===Tt?this._positionListener?.stickyHeaderRowsUpdated({sizes:ki,offsets:Ai,elements:Yi}):this._positionListener?.stickyFooterRowsUpdated({sizes:ki,offsets:Ai,elements:Yi})})}updateStickyFooterContainer(Dt,be){if(!this._isNativeHtmlTable)return;const Tt=Dt.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{be.some(Wt=>!Wt)?this._removeStickyStyle(Tt,["bottom"]):this._addStickyStyle(Tt,"bottom",0,!1)})}_removeStickyStyle(Dt,be){for(const Wt of be)Dt.style[Wt]="",Dt.classList.remove(this._borderCellCss[Wt]);ee.some(Wt=>-1===be.indexOf(Wt)&&Dt.style[Wt])?Dt.style.zIndex=this._getCalculatedZIndex(Dt):(Dt.style.zIndex="",this._needsPositionStickyOnElement&&(Dt.style.position=""),Dt.classList.remove(this._stickCellCss))}_addStickyStyle(Dt,be,Tt,Wt){Dt.classList.add(this._stickCellCss),Wt&&Dt.classList.add(this._borderCellCss[be]),Dt.style[be]=`${Tt}px`,Dt.style.zIndex=this._getCalculatedZIndex(Dt),this._needsPositionStickyOnElement&&(Dt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Dt){const be={top:100,bottom:10,left:1,right:1};let Tt=0;for(const Wt of ee)Dt.style[Wt]&&(Tt+=be[Wt]);return Tt?`${Tt}`:""}_getCellWidths(Dt,be=!0){if(!be&&this._cachedCellWidths.length)return this._cachedCellWidths;const Tt=[],Wt=Dt.children;for(let ci=0;ci<Wt.length;ci++)Tt.push(Wt[ci].getBoundingClientRect().width);return this._cachedCellWidths=Tt,Tt}_getStickyStartColumnPositions(Dt,be){const Tt=[];let Wt=0;for(let ci=0;ci<Dt.length;ci++)be[ci]&&(Tt[ci]=Wt,Wt+=Dt[ci]);return Tt}_getStickyEndColumnPositions(Dt,be){const Tt=[];let Wt=0;for(let ci=Dt.length;ci>0;ci--)be[ci]&&(Tt[ci]=Wt,Wt+=Dt[ci]);return Tt}}const rt=new t.OlP("CDK_SPL");let lt=(()=>{class Je{constructor(be,Tt){this.viewContainer=be,this.elementRef=Tt}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.s_b),t.Y36(t.SBq))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","rowOutlet",""]]}),Je})(),Nt=(()=>{class Je{constructor(be,Tt){this.viewContainer=be,this.elementRef=Tt}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.s_b),t.Y36(t.SBq))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","headerRowOutlet",""]]}),Je})(),Ke=(()=>{class Je{constructor(be,Tt){this.viewContainer=be,this.elementRef=Tt}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.s_b),t.Y36(t.SBq))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","footerRowOutlet",""]]}),Je})(),at=(()=>{class Je{constructor(be,Tt){this.viewContainer=be,this.elementRef=Tt}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.s_b),t.Y36(t.SBq))},Je.\u0275dir=t.lG2({type:Je,selectors:[["","noDataRowOutlet",""]]}),Je})(),Qe=(()=>{class Je{get trackBy(){return this._trackByFn}set trackBy(be){this._trackByFn=be}get dataSource(){return this._dataSource}set dataSource(be){this._dataSource!==be&&this._switchDataSource(be)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(be){this._multiTemplateDataRows=(0,g.Ig)(be),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(be){this._fixedLayout=(0,g.Ig)(be),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(be,Tt,Wt,ci,Ai,ki,Yi,ji,tn,Zt,Qt,_e){this._differs=be,this._changeDetectorRef=Tt,this._elementRef=Wt,this._dir=Ai,this._platform=Yi,this._viewRepeater=ji,this._coalescedStyleScheduler=tn,this._viewportRuler=Zt,this._stickyPositioningListener=Qt,this._ngZone=_e,this._onDestroy=new P.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}),ci||this._elementRef.nativeElement.setAttribute("role","table"),this._document=ki,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((be,Tt)=>this.trackBy?this.trackBy(Tt.dataIndex,Tt.data):Tt),this._viewportRuler.change().pipe((0,k.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Tt=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Tt,this._forceRecalculateCellWidths=Tt,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(be=>{be.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 be=this._dataDiffer.diff(this._renderRows);if(!be)return this._updateNoDataRow(),void this.contentChanged.next();const Tt=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(be,Tt,(Wt,ci,Ai)=>this._getEmbeddedViewArgs(Wt.item,Ai),Wt=>Wt.item.data,Wt=>{1===Wt.operation&&Wt.context&&this._renderCellTemplateForItem(Wt.record.item.rowDef,Wt.context)}),this._updateRowIndexContext(),be.forEachIdentityChange(Wt=>{Tt.get(Wt.currentIndex).context.$implicit=Wt.item.data}),this._updateNoDataRow(),this._ngZone&&t.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,O.q)(1),(0,k.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(be){this._customColumnDefs.add(be)}removeColumnDef(be){this._customColumnDefs.delete(be)}addRowDef(be){this._customRowDefs.add(be)}removeRowDef(be){this._customRowDefs.delete(be)}addHeaderRowDef(be){this._customHeaderRowDefs.add(be),this._headerRowDefChanged=!0}removeHeaderRowDef(be){this._customHeaderRowDefs.delete(be),this._headerRowDefChanged=!0}addFooterRowDef(be){this._customFooterRowDefs.add(be),this._footerRowDefChanged=!0}removeFooterRowDef(be){this._customFooterRowDefs.delete(be),this._footerRowDefChanged=!0}setNoDataRow(be){this._customNoDataRow=be}updateStickyHeaderRowStyles(){const be=this._getRenderedRows(this._headerRowOutlet),Wt=this._elementRef.nativeElement.querySelector("thead");Wt&&(Wt.style.display=be.length?"":"none");const ci=this._headerRowDefs.map(Ai=>Ai.sticky);this._stickyStyler.clearStickyPositioning(be,["top"]),this._stickyStyler.stickRows(be,ci,"top"),this._headerRowDefs.forEach(Ai=>Ai.resetStickyChanged())}updateStickyFooterRowStyles(){const be=this._getRenderedRows(this._footerRowOutlet),Wt=this._elementRef.nativeElement.querySelector("tfoot");Wt&&(Wt.style.display=be.length?"":"none");const ci=this._footerRowDefs.map(Ai=>Ai.sticky);this._stickyStyler.clearStickyPositioning(be,["bottom"]),this._stickyStyler.stickRows(be,ci,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,ci),this._footerRowDefs.forEach(Ai=>Ai.resetStickyChanged())}updateStickyColumnStyles(){const be=this._getRenderedRows(this._headerRowOutlet),Tt=this._getRenderedRows(this._rowOutlet),Wt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...be,...Tt,...Wt],["left","right"]),this._stickyColumnStylesNeedReset=!1),be.forEach((ci,Ai)=>{this._addStickyColumnStyles([ci],this._headerRowDefs[Ai])}),this._rowDefs.forEach(ci=>{const Ai=[];for(let ki=0;ki<Tt.length;ki++)this._renderRows[ki].rowDef===ci&&Ai.push(Tt[ki]);this._addStickyColumnStyles(Ai,ci)}),Wt.forEach((ci,Ai)=>{this._addStickyColumnStyles([ci],this._footerRowDefs[Ai])}),Array.from(this._columnDefsByName.values()).forEach(ci=>ci.resetStickyChanged())}_getAllRenderRows(){const be=[],Tt=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let Wt=0;Wt<this._data.length;Wt++){let ci=this._data[Wt];const Ai=this._getRenderRowsForData(ci,Wt,Tt.get(ci));this._cachedRenderRowsMap.has(ci)||this._cachedRenderRowsMap.set(ci,new WeakMap);for(let ki=0;ki<Ai.length;ki++){let Yi=Ai[ki];const ji=this._cachedRenderRowsMap.get(Yi.data);ji.has(Yi.rowDef)?ji.get(Yi.rowDef).push(Yi):ji.set(Yi.rowDef,[Yi]),be.push(Yi)}}return be}_getRenderRowsForData(be,Tt,Wt){return this._getRowDefs(be,Tt).map(Ai=>{const ki=Wt&&Wt.has(Ai)?Wt.get(Ai):[];if(ki.length){const Yi=ki.shift();return Yi.dataIndex=Tt,Yi}return{data:be,rowDef:Ai,dataIndex:Tt}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Le(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Tt=>{this._columnDefsByName.has(Tt.name),this._columnDefsByName.set(Tt.name,Tt)})}_cacheRowDefs(){this._headerRowDefs=Le(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Le(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Le(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const be=this._rowDefs.filter(Tt=>!Tt.when);this._defaultRowDef=be[0]}_renderUpdatedColumns(){const be=(Ai,ki)=>Ai||!!ki.getColumnsDiff(),Tt=this._rowDefs.reduce(be,!1);Tt&&this._forceRenderDataRows();const Wt=this._headerRowDefs.reduce(be,!1);Wt&&this._forceRenderHeaderRows();const ci=this._footerRowDefs.reduce(be,!1);return ci&&this._forceRenderFooterRows(),Tt||Wt||ci}_switchDataSource(be){this._data=[],(0,A.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),be||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=be}_observeRenderChanges(){if(!this.dataSource)return;let be;(0,A.Z9)(this.dataSource)?be=this.dataSource.connect(this):(0,w.b)(this.dataSource)?be=this.dataSource:Array.isArray(this.dataSource)&&(be=(0,I.of)(this.dataSource)),this._renderChangeSubscription=be.pipe((0,k.R)(this._onDestroy)).subscribe(Tt=>{this._data=Tt||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((be,Tt)=>this._renderRow(this._headerRowOutlet,be,Tt)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((be,Tt)=>this._renderRow(this._footerRowOutlet,be,Tt)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(be,Tt){const Wt=Array.from(Tt.columns||[]).map(ki=>this._columnDefsByName.get(ki)),ci=Wt.map(ki=>ki.sticky),Ai=Wt.map(ki=>ki.stickyEnd);this._stickyStyler.updateStickyColumns(be,ci,Ai,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(be){const Tt=[];for(let Wt=0;Wt<be.viewContainer.length;Wt++){const ci=be.viewContainer.get(Wt);Tt.push(ci.rootNodes[0])}return Tt}_getRowDefs(be,Tt){if(1==this._rowDefs.length)return[this._rowDefs[0]];let Wt=[];if(this.multiTemplateDataRows)Wt=this._rowDefs.filter(ci=>!ci.when||ci.when(Tt,be));else{let ci=this._rowDefs.find(Ai=>Ai.when&&Ai.when(Tt,be))||this._defaultRowDef;ci&&Wt.push(ci)}return Wt}_getEmbeddedViewArgs(be,Tt){return{templateRef:be.rowDef.template,context:{$implicit:be.data},index:Tt}}_renderRow(be,Tt,Wt,ci={}){const Ai=be.viewContainer.createEmbeddedView(Tt.template,ci,Wt);return this._renderCellTemplateForItem(Tt,ci),Ai}_renderCellTemplateForItem(be,Tt){for(let Wt of this._getCellTemplates(be))We.mostRecentCellOutlet&&We.mostRecentCellOutlet._viewContainer.createEmbeddedView(Wt,Tt);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const be=this._rowOutlet.viewContainer;for(let Tt=0,Wt=be.length;Tt<Wt;Tt++){const Ai=be.get(Tt).context;Ai.count=Wt,Ai.first=0===Tt,Ai.last=Tt===Wt-1,Ai.even=Tt%2==0,Ai.odd=!Ai.even,this.multiTemplateDataRows?(Ai.dataIndex=this._renderRows[Tt].dataIndex,Ai.renderIndex=Tt):Ai.index=this._renderRows[Tt].dataIndex}}_getCellTemplates(be){return be&&be.columns?Array.from(be.columns,Tt=>{const Wt=this._columnDefsByName.get(Tt);return be.extractCellTemplate(Wt)}):[]}_applyNativeTableSections(){const be=this._document.createDocumentFragment(),Tt=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const Wt of Tt){const ci=this._document.createElement(Wt.tag);ci.setAttribute("role","rowgroup");for(const Ai of Wt.outlets)ci.appendChild(Ai.elementRef.nativeElement);be.appendChild(ci)}this._elementRef.nativeElement.appendChild(be)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const be=(Tt,Wt)=>Tt||Wt.hasStickyChanged();this._headerRowDefs.reduce(be,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(be,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(be,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Ze(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,I.of)()).pipe((0,k.R)(this._onDestroy)).subscribe(Tt=>{this._stickyStyler.direction=Tt,this.updateStickyColumnStyles()})}_getOwnDefs(be){return be.filter(Tt=>!Tt._table||Tt._table===this)}_updateNoDataRow(){const be=this._customNoDataRow||this._noDataRow;if(!be)return;const Tt=0===this._rowOutlet.viewContainer.length;if(Tt===this._isShowingNoDataRow)return;const Wt=this._noDataRowOutlet.viewContainer;if(Tt){const ci=Wt.createEmbeddedView(be.templateRef),Ai=ci.rootNodes[0];1===ci.rootNodes.length&&Ai?.nodeType===this._document.ELEMENT_NODE&&(Ai.setAttribute("role","row"),Ai.classList.add(be._contentClassName))}else Wt.clear();this._isShowingNoDataRow=Tt}}return Je.\u0275fac=function(be){return new(be||Je)(t.Y36(t.ZZ4),t.Y36(t.sBO),t.Y36(t.SBq),t.$8M("role"),t.Y36(e.Is,8),t.Y36(h.K0),t.Y36(s.t4),t.Y36(A.k),t.Y36(E),t.Y36(C.rL),t.Y36(rt,12),t.Y36(t.R0b,8))},Je.\u0275cmp=t.Xpm({type:Je,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(be,Tt,Wt){if(1&be&&(t.Suo(Wt,Ae,5),t.Suo(Wt,S,5),t.Suo(Wt,Ve,5),t.Suo(Wt,z,5),t.Suo(Wt,$e,5)),2&be){let ci;t.iGM(ci=t.CRH())&&(Tt._noDataRow=ci.first),t.iGM(ci=t.CRH())&&(Tt._contentColumnDefs=ci),t.iGM(ci=t.CRH())&&(Tt._contentRowDefs=ci),t.iGM(ci=t.CRH())&&(Tt._contentHeaderRowDefs=ci),t.iGM(ci=t.CRH())&&(Tt._contentFooterRowDefs=ci)}},viewQuery:function(be,Tt){if(1&be&&(t.Gf(lt,7),t.Gf(Nt,7),t.Gf(Ke,7),t.Gf(at,7)),2&be){let Wt;t.iGM(Wt=t.CRH())&&(Tt._rowOutlet=Wt.first),t.iGM(Wt=t.CRH())&&(Tt._headerRowOutlet=Wt.first),t.iGM(Wt=t.CRH())&&(Tt._footerRowOutlet=Wt.first),t.iGM(Wt=t.CRH())&&(Tt._noDataRowOutlet=Wt.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(be,Tt){2&be&&t.ekj("cdk-table-fixed-layout",Tt.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[t._Bn([{provide:te,useExisting:Je},{provide:A.k,useClass:A.yy},{provide:E,useClass:D},{provide:rt,useValue:null}])],ngContentSelectors:Z,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(be,Tt){1&be&&(t.F$t(U),t.Hsn(0),t.Hsn(1,1),t.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[lt,Nt,Ke,at],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),Je})();function Le(Je,Dt){return Je.concat(Array.from(Dt))}let St=(()=>{class Je{}return Je.\u0275fac=function(be){return new(be||Je)},Je.\u0275mod=t.oAB({type:Je}),Je.\u0275inj=t.cJS({imports:[C.Cl]}),Je})();var nt=m(3238),Ye=m(6451),zt=m(9841),xt=m(4004);const Ht=[[["caption"]],[["colgroup"],["col"]]],Ut=["caption","colgroup, col"];let Ee=(()=>{class Je extends Qe{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 Je.\u0275fac=function(){let Dt;return function(Tt){return(Dt||(Dt=t.n5z(Je)))(Tt||Je)}}(),Je.\u0275cmp=t.Xpm({type:Je,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(be,Tt){2&be&&t.ekj("mdc-table-fixed-layout",Tt.fixedLayout)},exportAs:["matTable"],features:[t._Bn([{provide:Qe,useExisting:Je},{provide:te,useExisting:Je},{provide:E,useClass:D},{provide:A.k,useClass:A.yy},{provide:rt,useValue:null}]),t.qOj],ngContentSelectors:Ut,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(be,Tt){1&be&&(t.F$t(Ht),t.Hsn(0),t.Hsn(1,1),t.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[lt,Nt,Ke,at],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}),Je})(),qe=(()=>{class Je extends oe{}return Je.\u0275fac=function(){let Dt;return function(Tt){return(Dt||(Dt=t.n5z(Je)))(Tt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["","matCellDef",""]],features:[t._Bn([{provide:oe,useExisting:Je}]),t.qOj]}),Je})(),Xt=(()=>{class Je extends re{}return Je.\u0275fac=function(){let Dt;return function(Tt){return(Dt||(Dt=t.n5z(Je)))(Tt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["","matHeaderCellDef",""]],features:[t._Bn([{provide:re,useExisting:Je}]),t.qOj]}),Je})(),Vt=(()=>{class Je extends ce{}return Je.\u0275fac=function(){let Dt;return function(Tt){return(Dt||(Dt=t.n5z(Je)))(Tt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["","matFooterCellDef",""]],features:[t._Bn([{provide:ce,useExisting:Je}]),t.qOj]}),Je})(),ri=(()=>{class Je extends S{get name(){return this._name}set name(be){this._setNameInput(be)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return Je.\u0275fac=function(){let Dt;return function(Tt){return(Dt||(Dt=t.n5z(Je)))(Tt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[t._Bn([{provide:S,useExisting:Je},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Je}]),t.qOj]}),Je})(),pt=(()=>{class Je extends a{}return Je.\u0275fac=function(){let Dt;return function(Tt){return(Dt||(Dt=t.n5z(Je)))(Tt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[t.qOj]}),Je})(),ot=(()=>{class Je extends f{}return Je.\u0275fac=function(){let Dt;return function(Tt){return(Dt||(Dt=t.n5z(Je)))(Tt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[t.qOj]}),Je})(),ut=(()=>{class Je extends l{}return Je.\u0275fac=function(){let Dt;return function(Tt){return(Dt||(Dt=t.n5z(Je)))(Tt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[t.qOj]}),Je})(),wt=(()=>{class Je extends z{}return Je.\u0275fac=function(){let Dt;return function(Tt){return(Dt||(Dt=t.n5z(Je)))(Tt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[t._Bn([{provide:z,useExisting:Je}]),t.qOj]}),Je})(),ft=(()=>{class Je extends $e{}return Je.\u0275fac=function(){let Dt;return function(Tt){return(Dt||(Dt=t.n5z(Je)))(Tt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[t._Bn([{provide:$e,useExisting:Je}]),t.qOj]}),Je})(),Xe=(()=>{class Je extends Ve{}return Je.\u0275fac=function(){let Dt;return function(Tt){return(Dt||(Dt=t.n5z(Je)))(Tt||Je)}}(),Je.\u0275dir=t.lG2({type:Je,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[t._Bn([{provide:Ve,useExisting:Je}]),t.qOj]}),Je})(),gt=(()=>{class Je extends Re{}return Je.\u0275fac=function(){let Dt;return function(Tt){return(Dt||(Dt=t.n5z(Je)))(Tt||Je)}}(),Je.\u0275cmp=t.Xpm({type:Je,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:Re,useExisting:Je}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(be,Tt){1&be&&t.GkF(0,0)},dependencies:[We],encapsulation:2}),Je})(),_t=(()=>{class Je extends we{}return Je.\u0275fac=function(){let Dt;return function(Tt){return(Dt||(Dt=t.n5z(Je)))(Tt||Je)}}(),Je.\u0275cmp=t.Xpm({type:Je,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:we,useExisting:Je}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(be,Tt){1&be&&t.GkF(0,0)},dependencies:[We],encapsulation:2}),Je})(),Fe=(()=>{class Je extends me{}return Je.\u0275fac=function(){let Dt;return function(Tt){return(Dt||(Dt=t.n5z(Je)))(Tt||Je)}}(),Je.\u0275cmp=t.Xpm({type:Je,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[t._Bn([{provide:me,useExisting:Je}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(be,Tt){1&be&&t.GkF(0,0)},dependencies:[We],encapsulation:2}),Je})(),Fi=(()=>{class Je{}return Je.\u0275fac=function(be){return new(be||Je)},Je.\u0275mod=t.oAB({type:Je}),Je.\u0275inj=t.cJS({imports:[nt.BQ,St,nt.BQ]}),Je})();class Ci extends A.o2{get data(){return this._data.value}set data(Dt){Dt=Array.isArray(Dt)?Dt:[],this._data.next(Dt),this._renderChangesSubscription||this._filterData(Dt)}get filter(){return this._filter.value}set filter(Dt){this._filter.next(Dt),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Dt){this._sort=Dt,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Dt){this._paginator=Dt,this._updateChangeSubscription()}constructor(Dt=[]){super(),this._renderData=new M.X([]),this._filter=new M.X(""),this._internalPageChanges=new P.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(be,Tt)=>{const Wt=be[Tt];if((0,g.t6)(Wt)){const ci=Number(Wt);return ci<9007199254740991?ci:Wt}return Wt},this.sortData=(be,Tt)=>{const Wt=Tt.active,ci=Tt.direction;return Wt&&""!=ci?be.sort((Ai,ki)=>{let Yi=this.sortingDataAccessor(Ai,Wt),ji=this.sortingDataAccessor(ki,Wt);const tn=typeof Yi,Zt=typeof ji;tn!==Zt&&("number"===tn&&(Yi+=""),"number"===Zt&&(ji+=""));let Qt=0;return null!=Yi&&null!=ji?Yi>ji?Qt=1:Yi<ji&&(Qt=-1):null!=Yi?Qt=1:null!=ji&&(Qt=-1),Qt*("asc"==ci?1:-1)}):be},this.filterPredicate=(be,Tt)=>{const Wt=Object.keys(be).reduce((Ai,ki)=>Ai+be[ki]+"\u25ec","").toLowerCase(),ci=Tt.trim().toLowerCase();return-1!=Wt.indexOf(ci)},this._data=new M.X(Dt),this._updateChangeSubscription()}_updateChangeSubscription(){const Dt=this._sort?(0,Ye.T)(this._sort.sortChange,this._sort.initialized):(0,I.of)(null),be=this._paginator?(0,Ye.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,I.of)(null),Wt=(0,zt.a)([this._data,this._filter]).pipe((0,xt.U)(([ki])=>this._filterData(ki))),ci=(0,zt.a)([Wt,Dt]).pipe((0,xt.U)(([ki])=>this._orderData(ki))),Ai=(0,zt.a)([ci,be]).pipe((0,xt.U)(([ki])=>this._pageData(ki)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=Ai.subscribe(ki=>this._renderData.next(ki))}_filterData(Dt){return this.filteredData=null==this.filter||""===this.filter?Dt:Dt.filter(be=>this.filterPredicate(be,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Dt){return this.sort?this.sortData(Dt.slice(),this.sort):Dt}_pageData(Dt){if(!this.paginator)return Dt;const be=this.paginator.pageIndex*this.paginator.pageSize;return Dt.slice(be,be+this.paginator.pageSize)}_updatePaginator(Dt){Promise.resolve().then(()=>{const be=this.paginator;if(be&&(be.length=Dt,be.pageIndex>0)){const Tt=Math.ceil(be.length/be.pageSize)-1||0,Wt=Math.min(be.pageIndex,Tt);Wt!==be.pageIndex&&(be.pageIndex=Wt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class Bi extends Ci{}},3848:(Be,Q,m)=>{"use strict";m.d(Q,{BU:()=>ut,Nh:()=>Xe,Nj:()=>wt,SP:()=>Ee,sW:()=>ft,uD:()=>vt,uX:()=>mt});var t=m(6895),e=m(4650),g=m(3238),A=m(4080),s=m(9643),C=m(4761),h=m(445),P=m(727),d=m(7579),M=m(4968),w=m(9646),I=m(6451),k=m(515),O=m(9751),U=m(2805),Z=m(1135),W=m(8675),K=m(1884),q=m(2722),te=m(5698),pe=m(3900),oe=m(5684),re=m(9300),ce=m(7340),se=m(1281),he=m(531),S=m(3353),i=m(9521);function a(gt,_t){}const f=function(gt){return{animationDuration:gt}},l=function(gt,_t){return{value:gt,params:_t}};function y(gt,_t){1&gt&&e.Hsn(0)}const E=["*"],D=["tabListContainer"],v=["tabList"],n=["tabListInner"],b=["nextPaginator"],V=["previousPaginator"],z=["tabBodyWrapper"],Y=["tabHeader"];function Te(gt,_t){}function $e(gt,_t){if(1&gt&&e.YNc(0,Te,0,0,"ng-template",14),2&gt){const Fe=e.oxw().$implicit;e.Q6J("cdkPortalOutlet",Fe.templateLabel)}}function Ve(gt,_t){if(1&gt&&e._uU(0),2&gt){const Fe=e.oxw().$implicit;e.Oqu(Fe.textLabel)}}function We(gt,_t){if(1&gt){const Fe=e.EpF();e.TgZ(0,"div",6,7),e.NdJ("click",function(){const Et=e.CHM(Fe),Yt=Et.$implicit,Fi=Et.index,Ri=e.oxw(),Ci=e.MAs(1);return e.KtG(Ri._handleClick(Yt,Ci,Fi))})("cdkFocusChange",function(Et){const Fi=e.CHM(Fe).index,Ri=e.oxw();return e.KtG(Ri._tabFocusChanged(Et,Fi))}),e._UZ(2,"span",8)(3,"div",9),e.TgZ(4,"span",10)(5,"span",11),e.YNc(6,$e,1,1,"ng-template",12),e.YNc(7,Ve,1,1,"ng-template",null,13,e.W1O),e.qZA()()()}if(2&gt){const Fe=_t.$implicit,Mt=_t.index,Et=e.MAs(1),Yt=e.MAs(8),Fi=e.oxw();e.ekj("mdc-tab--active",Fi.selectedIndex===Mt),e.Q6J("id",Fi._getTabLabelId(Mt))("ngClass",Fe.labelClass)("disabled",Fe.disabled)("fitInkBarToContent",Fi.fitInkBarToContent),e.uIk("tabIndex",Fi._getTabIndex(Mt))("aria-posinset",Mt+1)("aria-setsize",Fi._tabs.length)("aria-controls",Fi._getTabContentId(Mt))("aria-selected",Fi.selectedIndex===Mt)("aria-label",Fe.ariaLabel||null)("aria-labelledby",!Fe.ariaLabel&&Fe.ariaLabelledby?Fe.ariaLabelledby:null),e.xp6(3),e.Q6J("matRippleTrigger",Et)("matRippleDisabled",Fe.disabled||Fi.disableRipple),e.xp6(3),e.Q6J("ngIf",Fe.templateLabel)("ngIfElse",Yt)}}function Re(gt,_t){if(1&gt){const Fe=e.EpF();e.TgZ(0,"mat-tab-body",15),e.NdJ("_onCentered",function(){e.CHM(Fe);const Et=e.oxw();return e.KtG(Et._removeTabBodyWrapperHeight())})("_onCentering",function(Et){e.CHM(Fe);const Yt=e.oxw();return e.KtG(Yt._setTabBodyWrapperHeight(Et))}),e.qZA()}if(2&gt){const Fe=_t.$implicit,Mt=_t.index,Et=e.oxw();e.ekj("mat-mdc-tab-body-active",Et.selectedIndex===Mt),e.Q6J("id",Et._getTabContentId(Mt))("ngClass",Fe.bodyClass)("content",Fe.content)("position",Fe.position)("origin",Fe.origin)("animationDuration",Et.animationDuration)("preserveContent",Et.preserveContent),e.uIk("tabindex",null!=Et.contentTabIndex&&Et.selectedIndex===Mt?Et.contentTabIndex:null)("aria-labelledby",Et._getTabLabelId(Mt))}}const we=["mat-tab-nav-bar",""],me=["mat-tab-link",""],Ae={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 ee=(()=>{class gt extends A.Pl{constructor(Fe,Mt,Et,Yt){super(Fe,Mt,Yt),this._host=Et,this._centeringSub=P.w0.EMPTY,this._leavingSub=P.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,W.O)(this._host._isCenterPosition(this._host._position))).subscribe(Fe=>{Fe&&!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 gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36((0,e.Gpc)(()=>Oe)),e.Y36(t.K0))},gt.\u0275dir=e.lG2({type:gt,selectors:[["","matTabBodyHost",""]],features:[e.qOj]}),gt})(),Ze=(()=>{class gt{set position(Fe){this._positionIndex=Fe,this._computePositionAnimationState()}constructor(Fe,Mt,Et){this._elementRef=Fe,this._dir=Mt,this._dirChangeSubscription=P.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,Mt&&(this._dirChangeSubscription=Mt.change.subscribe(Yt=>{this._computePositionAnimationState(Yt),Et.markForCheck()})),this._translateTabComplete.pipe((0,K.x)((Yt,Fi)=>Yt.fromState===Fi.fromState&&Yt.toState===Fi.toState)).subscribe(Yt=>{this._isCenterPosition(Yt.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(Yt.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(Fe){const Mt=this._isCenterPosition(Fe.toState);this._beforeCentering.emit(Mt),Mt&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(Fe){return"center"==Fe||"left-origin-center"==Fe||"right-origin-center"==Fe}_computePositionAnimationState(Fe=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==Fe?"left":"right":this._positionIndex>0?"ltr"==Fe?"right":"left":"center"}_computePositionFromOrigin(Fe){const Mt=this._getLayoutDirection();return"ltr"==Mt&&Fe<=0||"rtl"==Mt&&Fe>0?"left-origin-center":"right-origin-center"}}return gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(e.SBq),e.Y36(h.Is,8),e.Y36(e.sBO))},gt.\u0275dir=e.lG2({type:gt,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),gt})(),Oe=(()=>{class gt extends Ze{constructor(Fe,Mt,Et){super(Fe,Mt,Et)}}return gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(e.SBq),e.Y36(h.Is,8),e.Y36(e.sBO))},gt.\u0275cmp=e.Xpm({type:gt,selectors:[["mat-tab-body"]],viewQuery:function(Fe,Mt){if(1&Fe&&e.Gf(A.Pl,5),2&Fe){let Et;e.iGM(Et=e.CRH())&&(Mt._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(Fe,Mt){1&Fe&&(e.TgZ(0,"div",0,1),e.NdJ("@translateTab.start",function(Yt){return Mt._onTranslateTabStarted(Yt)})("@translateTab.done",function(Yt){return Mt._translateTabComplete.next(Yt)}),e.YNc(2,a,0,0,"ng-template",2),e.qZA()),2&Fe&&e.Q6J("@translateTab",e.WLB(3,l,Mt._position,e.VKq(1,f,Mt.animationDuration)))},dependencies:[ee],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:[Ae.translateTab]}}),gt})();const fe=new e.OlP("MatTabContent");let Se=(()=>{class gt{constructor(Fe){this.template=Fe}}return gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(e.Rgc))},gt.\u0275dir=e.lG2({type:gt,selectors:[["","matTabContent",""]],features:[e._Bn([{provide:fe,useExisting:gt}])]}),gt})();const ge=new e.OlP("MatTabLabel"),xe=new e.OlP("MAT_TAB");let vt=(()=>{class gt extends A.ig{constructor(Fe,Mt,Et){super(Fe,Mt),this._closestTab=Et}}return gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(e.Rgc),e.Y36(e.s_b),e.Y36(xe,8))},gt.\u0275dir=e.lG2({type:gt,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[e._Bn([{provide:ge,useExisting:gt}]),e.qOj]}),gt})();const Ie="mdc-tab-indicator--active",de="mdc-tab-indicator--no-transition";class rt{constructor(_t){this._items=_t}hide(){this._items.forEach(_t=>_t.deactivateInkBar())}alignToElement(_t){const Fe=this._items.find(Et=>Et.elementRef.nativeElement===_t),Mt=this._currentItem;if(Mt?.deactivateInkBar(),Fe){const Et=Mt?.elementRef.nativeElement.getBoundingClientRect?.();Fe.activateInkBar(Et),this._currentItem=Fe}}}function je(gt){return class extends gt{constructor(..._t){super(..._t),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(_t){const Fe=(0,se.Ig)(_t);this._fitToContent!==Fe&&(this._fitToContent=Fe,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(_t){const Fe=this.elementRef.nativeElement;if(!_t||!Fe.getBoundingClientRect||!this._inkBarContentElement)return void Fe.classList.add(Ie);const Mt=Fe.getBoundingClientRect(),Et=_t.width/Mt.width,Yt=_t.left-Mt.left;Fe.classList.add(de),this._inkBarContentElement.style.setProperty("transform",`translateX(${Yt}px) scaleX(${Et})`),Fe.getBoundingClientRect(),Fe.classList.remove(de),Fe.classList.add(Ie),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(Ie)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const _t=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=_t.createElement("span"),this._inkBarContentElement=_t.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 Ke=(0,g.Id)(class{}),Ct=je((()=>{class gt extends Ke{constructor(Fe){super(),this.elementRef=Fe}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(e.SBq))},gt.\u0275dir=e.lG2({type:gt,features:[e.qOj]}),gt})());let ye=(()=>{class gt extends Ct{}return gt.\u0275fac=function(){let _t;return function(Mt){return(_t||(_t=e.n5z(gt)))(Mt||gt)}}(),gt.\u0275dir=e.lG2({type:gt,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(Fe,Mt){2&Fe&&(e.uIk("aria-disabled",!!Mt.disabled),e.ekj("mat-mdc-tab-disabled",Mt.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[e.qOj]}),gt})();const Qe=(0,g.Id)(class{}),Le=new e.OlP("MAT_TAB_GROUP");let J=(()=>{class gt extends Qe{get content(){return this._contentPortal}constructor(Fe,Mt){super(),this._viewContainerRef=Fe,this._closestTabGroup=Mt,this.textLabel="",this._contentPortal=null,this._stateChanges=new d.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(Fe){(Fe.hasOwnProperty("textLabel")||Fe.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new A.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(Fe){Fe&&Fe._closestTab===this&&(this._templateLabel=Fe)}}return gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(e.s_b),e.Y36(Le,8))},gt.\u0275dir=e.lG2({type:gt,viewQuery:function(Fe,Mt){if(1&Fe&&e.Gf(e.Rgc,7),2&Fe){let Et;e.iGM(Et=e.CRH())&&(Mt._implicitContent=Et.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[e.qOj,e.TTD]}),gt})(),mt=(()=>{class gt extends J{get templateLabel(){return this._templateLabel}set templateLabel(Fe){this._setTemplateLabelInput(Fe)}}return gt.\u0275fac=function(){let _t;return function(Mt){return(_t||(_t=e.n5z(gt)))(Mt||gt)}}(),gt.\u0275cmp=e.Xpm({type:gt,selectors:[["mat-tab"]],contentQueries:function(Fe,Mt,Et){if(1&Fe&&(e.Suo(Et,Se,7,e.Rgc),e.Suo(Et,vt,5)),2&Fe){let Yt;e.iGM(Yt=e.CRH())&&(Mt._explicitContent=Yt.first),e.iGM(Yt=e.CRH())&&(Mt.templateLabel=Yt.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[e._Bn([{provide:xe,useExisting:gt}]),e.qOj],ngContentSelectors:E,decls:1,vars:0,template:function(Fe,Mt){1&Fe&&(e.F$t(),e.YNc(0,y,1,0,"ng-template"))},encapsulation:2}),gt})();const St=(0,S.i$)({passive:!0});let zt=(()=>{class gt{get disablePagination(){return this._disablePagination}set disablePagination(Fe){this._disablePagination=(0,se.Ig)(Fe)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Fe){Fe=(0,se.su)(Fe),this._selectedIndex!=Fe&&(this._selectedIndexChanged=!0,this._selectedIndex=Fe,this._keyManager&&this._keyManager.updateActiveItem(Fe))}constructor(Fe,Mt,Et,Yt,Fi,Ri,Ci){this._elementRef=Fe,this._changeDetectorRef=Mt,this._viewportRuler=Et,this._dir=Yt,this._ngZone=Fi,this._platform=Ri,this._animationMode=Ci,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,Fi.runOutsideAngular(()=>{(0,M.R)(Fe.nativeElement,"mouseleave").pipe((0,q.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,M.R)(this._previousPaginator.nativeElement,"touchstart",St).pipe((0,q.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,M.R)(this._nextPaginator.nativeElement,"touchstart",St).pipe((0,q.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const Fe=this._dir?this._dir.change:(0,w.of)("ltr"),Mt=this._viewportRuler.change(150),Et=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new C.Em(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe((0,te.q)(1)).subscribe(Et),(0,I.T)(Fe,Mt,this._items.changes,this._itemsResized()).pipe((0,q.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(Yt=>{this.indexFocused.emit(Yt),this._setTabFocus(Yt)})}_itemsResized(){return"function"!=typeof ResizeObserver?k.E:this._items.changes.pipe((0,W.O)(this._items),(0,pe.w)(Fe=>new O.y(Mt=>this._ngZone.runOutsideAngular(()=>{const Et=new ResizeObserver(Yt=>Mt.next(Yt));return Fe.forEach(Yt=>Et.observe(Yt.elementRef.nativeElement)),()=>{Et.disconnect()}}))),(0,oe.T)(1),(0,re.h)(Fe=>Fe.some(Mt=>Mt.contentRect.width>0&&Mt.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(Fe){if(!(0,i.Vb)(Fe))switch(Fe.keyCode){case i.K5:case i.L_:if(this.focusIndex!==this.selectedIndex){const Mt=this._items.get(this.focusIndex);Mt&&!Mt.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(Fe))}break;default:this._keyManager.onKeydown(Fe)}}_onContentChanges(){const Fe=this._elementRef.nativeElement.textContent;Fe!==this._currentTextContent&&(this._currentTextContent=Fe||"",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(Fe){!this._isValidIndex(Fe)||this.focusIndex===Fe||!this._keyManager||this._keyManager.setActiveItem(Fe)}_isValidIndex(Fe){return!this._items||!!this._items.toArray()[Fe]}_setTabFocus(Fe){if(this._showPaginationControls&&this._scrollToLabel(Fe),this._items&&this._items.length){this._items.toArray()[Fe].focus();const Mt=this._tabListContainer.nativeElement;Mt.scrollLeft="ltr"==this._getLayoutDirection()?0:Mt.scrollWidth-Mt.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const Fe=this.scrollDistance,Mt="ltr"===this._getLayoutDirection()?-Fe:Fe;this._tabList.nativeElement.style.transform=`translateX(${Math.round(Mt)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(Fe){this._scrollTo(Fe)}_scrollHeader(Fe){return this._scrollTo(this._scrollDistance+("before"==Fe?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(Fe){this._stopInterval(),this._scrollHeader(Fe)}_scrollToLabel(Fe){if(this.disablePagination)return;const Mt=this._items?this._items.toArray()[Fe]:null;if(!Mt)return;const Et=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:Yt,offsetWidth:Fi}=Mt.elementRef.nativeElement;let Ri,Ci;"ltr"==this._getLayoutDirection()?(Ri=Yt,Ci=Ri+Fi):(Ci=this._tabListInner.nativeElement.offsetWidth-Yt,Ri=Ci-Fi);const Bi=this.scrollDistance,Je=this.scrollDistance+Et;Ri<Bi?this.scrollDistance-=Bi-Ri:Ci>Je&&(this.scrollDistance+=Math.min(Ci-Je,Ri-Bi))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const Fe=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;Fe||(this.scrollDistance=0),Fe!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=Fe}}_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 Fe=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,Mt=Fe?Fe.elementRef.nativeElement:null;Mt?this._inkBar.alignToElement(Mt):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(Fe,Mt){Mt&&null!=Mt.button&&0!==Mt.button||(this._stopInterval(),(0,U.H)(650,100).pipe((0,q.R)((0,I.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Et,distance:Yt}=this._scrollHeader(Fe);(0===Yt||Yt>=Et)&&this._stopInterval()}))}_scrollTo(Fe){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const Mt=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(Mt,Fe)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:Mt,distance:this._scrollDistance}}}return gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(he.rL),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(S.t4),e.Y36(e.QbO,8))},gt.\u0275dir=e.lG2({type:gt,inputs:{disablePagination:"disablePagination"}}),gt})(),xt=(()=>{class gt extends zt{get disableRipple(){return this._disableRipple}set disableRipple(Fe){this._disableRipple=(0,se.Ig)(Fe)}constructor(Fe,Mt,Et,Yt,Fi,Ri,Ci){super(Fe,Mt,Et,Yt,Fi,Ri,Ci),this._disableRipple=!1}_itemSelected(Fe){Fe.preventDefault()}}return gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(he.rL),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(S.t4),e.Y36(e.QbO,8))},gt.\u0275dir=e.lG2({type:gt,inputs:{disableRipple:"disableRipple"},features:[e.qOj]}),gt})(),Ht=(()=>{class gt extends xt{constructor(Fe,Mt,Et,Yt,Fi,Ri,Ci){super(Fe,Mt,Et,Yt,Fi,Ri,Ci)}ngAfterContentInit(){this._inkBar=new rt(this._items),super.ngAfterContentInit()}}return gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(he.rL),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(S.t4),e.Y36(e.QbO,8))},gt.\u0275cmp=e.Xpm({type:gt,selectors:[["mat-tab-header"]],contentQueries:function(Fe,Mt,Et){if(1&Fe&&e.Suo(Et,ye,4),2&Fe){let Yt;e.iGM(Yt=e.CRH())&&(Mt._items=Yt)}},viewQuery:function(Fe,Mt){if(1&Fe&&(e.Gf(D,7),e.Gf(v,7),e.Gf(n,7),e.Gf(b,5),e.Gf(V,5)),2&Fe){let Et;e.iGM(Et=e.CRH())&&(Mt._tabListContainer=Et.first),e.iGM(Et=e.CRH())&&(Mt._tabList=Et.first),e.iGM(Et=e.CRH())&&(Mt._tabListInner=Et.first),e.iGM(Et=e.CRH())&&(Mt._nextPaginator=Et.first),e.iGM(Et=e.CRH())&&(Mt._previousPaginator=Et.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(Fe,Mt){2&Fe&&e.ekj("mat-mdc-tab-header-pagination-controls-enabled",Mt._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Mt._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[e.qOj],ngContentSelectors:E,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(Fe,Mt){1&Fe&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return Mt._handlePaginatorClick("before")})("mousedown",function(Yt){return Mt._handlePaginatorPress("before",Yt)})("touchend",function(){return Mt._stopInterval()}),e._UZ(2,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.NdJ("keydown",function(Yt){return Mt._handleKeydown(Yt)}),e.TgZ(5,"div",5,6),e.NdJ("cdkObserveContent",function(){return Mt._onContentChanges()}),e.TgZ(7,"div",7,8),e.Hsn(9),e.qZA()()(),e.TgZ(10,"button",9,10),e.NdJ("mousedown",function(Yt){return Mt._handlePaginatorPress("after",Yt)})("click",function(){return Mt._handlePaginatorClick("after")})("touchend",function(){return Mt._stopInterval()}),e._UZ(12,"div",2),e.qZA()),2&Fe&&(e.ekj("mat-mdc-tab-header-pagination-disabled",Mt._disableScrollBefore),e.Q6J("matRippleDisabled",Mt._disableScrollBefore||Mt.disableRipple)("disabled",Mt._disableScrollBefore||null),e.xp6(3),e.ekj("_mat-animation-noopable","NoopAnimations"===Mt._animationMode),e.xp6(7),e.ekj("mat-mdc-tab-header-pagination-disabled",Mt._disableScrollAfter),e.Q6J("matRippleDisabled",Mt._disableScrollAfter||Mt.disableRipple)("disabled",Mt._disableScrollAfter||null))},dependencies:[g.wG,s.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}),gt})();const Ut=new e.OlP("MAT_TABS_CONFIG");let De=0;const X=(0,g.pj)((0,g.Kr)(class{constructor(gt){this._elementRef=gt}}),"primary");let ue=(()=>{class gt extends X{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(Fe){this._dynamicHeight=(0,se.Ig)(Fe)}get selectedIndex(){return this._selectedIndex}set selectedIndex(Fe){this._indexToSelect=(0,se.su)(Fe,null)}get animationDuration(){return this._animationDuration}set animationDuration(Fe){this._animationDuration=/^\d+$/.test(Fe+"")?Fe+"ms":Fe}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(Fe){this._contentTabIndex=(0,se.su)(Fe,null)}get disablePagination(){return this._disablePagination}set disablePagination(Fe){this._disablePagination=(0,se.Ig)(Fe)}get preserveContent(){return this._preserveContent}set preserveContent(Fe){this._preserveContent=(0,se.Ig)(Fe)}get backgroundColor(){return this._backgroundColor}set backgroundColor(Fe){const Mt=this._elementRef.nativeElement.classList;Mt.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Fe&&Mt.add("mat-tabs-with-background",`mat-background-${Fe}`),this._backgroundColor=Fe}constructor(Fe,Mt,Et,Yt){super(Fe),this._changeDetectorRef=Mt,this._animationMode=Yt,this._tabs=new e.n_E,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=P.w0.EMPTY,this._tabLabelSubscription=P.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=De++,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}ngAfterContentChecked(){const Fe=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=Fe){const Mt=null==this._selectedIndex;if(!Mt){this.selectedTabChange.emit(this._createChangeEvent(Fe));const Et=this._tabBodyWrapper.nativeElement;Et.style.minHeight=Et.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Et,Yt)=>Et.isActive=Yt===Fe),Mt||(this.selectedIndexChange.emit(Fe),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((Mt,Et)=>{Mt.position=Et-Fe,null!=this._selectedIndex&&0==Mt.position&&!Mt.origin&&(Mt.origin=Fe-this._selectedIndex)}),this._selectedIndex!==Fe&&(this._selectedIndex=Fe,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const Fe=this._clampTabIndex(this._indexToSelect);if(Fe===this._selectedIndex){const Mt=this._tabs.toArray();let Et;for(let Yt=0;Yt<Mt.length;Yt++)if(Mt[Yt].isActive){this._indexToSelect=this._selectedIndex=Yt,this._lastFocusedTabIndex=null,Et=Mt[Yt];break}!Et&&Mt[Fe]&&Promise.resolve().then(()=>{Mt[Fe].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(Fe))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,W.O)(this._allTabs)).subscribe(Fe=>{this._tabs.reset(Fe.filter(Mt=>Mt._closestTabGroup===this||!Mt._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(Fe){const Mt=this._tabHeader;Mt&&(Mt.focusIndex=Fe)}_focusChanged(Fe){this._lastFocusedTabIndex=Fe,this.focusChange.emit(this._createChangeEvent(Fe))}_createChangeEvent(Fe){const Mt=new qe;return Mt.index=Fe,this._tabs&&this._tabs.length&&(Mt.tab=this._tabs.toArray()[Fe]),Mt}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,I.T)(...this._tabs.map(Fe=>Fe._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(Fe){return Math.min(this._tabs.length-1,Math.max(Fe||0,0))}_getTabLabelId(Fe){return`mat-tab-label-${this._groupId}-${Fe}`}_getTabContentId(Fe){return`mat-tab-content-${this._groupId}-${Fe}`}_setTabBodyWrapperHeight(Fe){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const Mt=this._tabBodyWrapper.nativeElement;Mt.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(Mt.style.height=Fe+"px")}_removeTabBodyWrapperHeight(){const Fe=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=Fe.clientHeight,Fe.style.height="",this.animationDone.emit()}_handleClick(Fe,Mt,Et){Mt.focusIndex=Et,Fe.disabled||(this.selectedIndex=Et)}_getTabIndex(Fe){return Fe===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(Fe,Mt){Fe&&"mouse"!==Fe&&"touch"!==Fe&&(this._tabHeader.focusIndex=Mt)}}return gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ut,8),e.Y36(e.QbO,8))},gt.\u0275dir=e.lG2({type:gt,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]}),gt})(),Ee=(()=>{class gt extends ue{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(Fe){this._fitInkBarToContent=(0,se.Ig)(Fe),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(Fe){this._stretchTabs=(0,se.Ig)(Fe)}constructor(Fe,Mt,Et,Yt){super(Fe,Mt,Et,Yt),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!Et||null==Et.fitInkBarToContent)&&Et.fitInkBarToContent}}return gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(Ut,8),e.Y36(e.QbO,8))},gt.\u0275cmp=e.Xpm({type:gt,selectors:[["mat-tab-group"]],contentQueries:function(Fe,Mt,Et){if(1&Fe&&e.Suo(Et,mt,5),2&Fe){let Yt;e.iGM(Yt=e.CRH())&&(Mt._allTabs=Yt)}},viewQuery:function(Fe,Mt){if(1&Fe&&(e.Gf(z,5),e.Gf(Y,5)),2&Fe){let Et;e.iGM(Et=e.CRH())&&(Mt._tabBodyWrapper=Et.first),e.iGM(Et=e.CRH())&&(Mt._tabHeader=Et.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(Fe,Mt){2&Fe&&e.ekj("mat-mdc-tab-group-dynamic-height",Mt.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===Mt.headerPosition)("mat-mdc-tab-group-stretch-tabs",Mt.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[e._Bn([{provide:Le,useExisting:gt}]),e.qOj],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","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(Fe,Mt){1&Fe&&(e.TgZ(0,"mat-tab-header",0,1),e.NdJ("indexFocused",function(Yt){return Mt._focusChanged(Yt)})("selectFocusedIndex",function(Yt){return Mt.selectedIndex=Yt}),e.YNc(2,We,9,17,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.YNc(5,Re,1,11,"mat-tab-body",5),e.qZA()),2&Fe&&(e.Q6J("selectedIndex",Mt.selectedIndex||0)("disableRipple",Mt.disableRipple)("disablePagination",Mt.disablePagination),e.xp6(2),e.Q6J("ngForOf",Mt._tabs),e.xp6(1),e.ekj("_mat-animation-noopable","NoopAnimations"===Mt._animationMode),e.xp6(2),e.Q6J("ngForOf",Mt._tabs))},dependencies:[t.mk,t.sg,t.O5,A.Pl,g.wG,C.kH,Oe,ye,Ht],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;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12}.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}.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}),gt})();class qe{}let Xt=0,Vt=(()=>{class gt extends zt{get backgroundColor(){return this._backgroundColor}set backgroundColor(Fe){const Mt=this._elementRef.nativeElement.classList;Mt.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),Fe&&Mt.add("mat-tabs-with-background",`mat-background-${Fe}`),this._backgroundColor=Fe}get disableRipple(){return this._disableRipple}set disableRipple(Fe){this._disableRipple=(0,se.Ig)(Fe)}constructor(Fe,Mt,Et,Yt,Fi,Ri,Ci){super(Fe,Yt,Fi,Mt,Et,Ri,Ci),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,W.O)(null),(0,q.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const Fe=this._items.toArray();for(let Mt=0;Mt<Fe.length;Mt++)if(Fe[Mt].active)return this.selectedIndex=Mt,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=Fe[Mt].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(e.SBq),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(he.rL),e.Y36(S.t4),e.Y36(e.QbO,8))},gt.\u0275dir=e.lG2({type:gt,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[e.qOj]}),gt})();const ri=(0,g.sb)((0,g.Kr)((0,g.Id)(class{}))),ot=je((()=>{class gt extends ri{get active(){return this._isActive}set active(Fe){const Mt=(0,se.Ig)(Fe);Mt!==this._isActive&&(this._isActive=Mt,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(Fe,Mt,Et,Yt,Fi,Ri){super(),this._tabNavBar=Fe,this.elementRef=Mt,this._focusMonitor=Fi,this._isActive=!1,this.id="mat-tab-link-"+Xt++,this.rippleConfig=Et||{},this.tabIndex=parseInt(Yt)||0,"NoopAnimations"===Ri&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0})}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(Fe){this._tabNavBar.tabPanel&&Fe.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 gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(Vt),e.Y36(e.SBq),e.Y36(g.Y2,8),e.$8M("tabindex"),e.Y36(C.tE),e.Y36(e.QbO,8))},gt.\u0275dir=e.lG2({type:gt,inputs:{active:"active",id:"id"},features:[e.qOj]}),gt})());let ut=(()=>{class gt extends Vt{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(Fe){this._fitInkBarToContent.next((0,se.Ig)(Fe)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(Fe){this._stretchTabs=(0,se.Ig)(Fe)}constructor(Fe,Mt,Et,Yt,Fi,Ri,Ci,Bi){super(Fe,Mt,Et,Yt,Fi,Ri,Ci),this._fitInkBarToContent=new Z.X(!1),this._stretchTabs=!0,this.disablePagination=!(!Bi||null==Bi.disablePagination)&&Bi.disablePagination,this.fitInkBarToContent=!(!Bi||null==Bi.fitInkBarToContent)&&Bi.fitInkBarToContent}ngAfterContentInit(){this._inkBar=new rt(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}}return gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(e.SBq),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(he.rL),e.Y36(S.t4),e.Y36(e.QbO,8),e.Y36(Ut,8))},gt.\u0275cmp=e.Xpm({type:gt,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(Fe,Mt,Et){if(1&Fe&&e.Suo(Et,wt,5),2&Fe){let Yt;e.iGM(Yt=e.CRH())&&(Mt._items=Yt)}},viewQuery:function(Fe,Mt){if(1&Fe&&(e.Gf(D,7),e.Gf(v,7),e.Gf(n,7),e.Gf(b,5),e.Gf(V,5)),2&Fe){let Et;e.iGM(Et=e.CRH())&&(Mt._tabListContainer=Et.first),e.iGM(Et=e.CRH())&&(Mt._tabList=Et.first),e.iGM(Et=e.CRH())&&(Mt._tabListInner=Et.first),e.iGM(Et=e.CRH())&&(Mt._nextPaginator=Et.first),e.iGM(Et=e.CRH())&&(Mt._previousPaginator=Et.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(Fe,Mt){2&Fe&&(e.uIk("role",Mt._getRole()),e.ekj("mat-mdc-tab-header-pagination-controls-enabled",Mt._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==Mt._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",Mt.stretchTabs)("mat-primary","warn"!==Mt.color&&"accent"!==Mt.color)("mat-accent","accent"===Mt.color)("mat-warn","warn"===Mt.color)("_mat-animation-noopable","NoopAnimations"===Mt._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabNavBar","matTabNav"],features:[e.qOj],attrs:we,ngContentSelectors:E,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(Fe,Mt){1&Fe&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return Mt._handlePaginatorClick("before")})("mousedown",function(Yt){return Mt._handlePaginatorPress("before",Yt)})("touchend",function(){return Mt._stopInterval()}),e._UZ(2,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.NdJ("keydown",function(Yt){return Mt._handleKeydown(Yt)}),e.TgZ(5,"div",5,6),e.NdJ("cdkObserveContent",function(){return Mt._onContentChanges()}),e.TgZ(7,"div",7,8),e.Hsn(9),e.qZA()()(),e.TgZ(10,"button",9,10),e.NdJ("mousedown",function(Yt){return Mt._handlePaginatorPress("after",Yt)})("click",function(){return Mt._handlePaginatorClick("after")})("touchend",function(){return Mt._stopInterval()}),e._UZ(12,"div",2),e.qZA()),2&Fe&&(e.ekj("mat-mdc-tab-header-pagination-disabled",Mt._disableScrollBefore),e.Q6J("matRippleDisabled",Mt._disableScrollBefore||Mt.disableRipple)("disabled",Mt._disableScrollBefore||null),e.xp6(10),e.ekj("mat-mdc-tab-header-pagination-disabled",Mt._disableScrollAfter),e.Q6J("matRippleDisabled",Mt._disableScrollAfter||Mt.disableRipple)("disabled",Mt._disableScrollAfter||null))},dependencies:[g.wG,s.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}),gt})(),wt=(()=>{class gt extends ot{constructor(Fe,Mt,Et,Yt,Fi,Ri){super(Fe,Mt,Et,Yt,Fi,Ri),this._destroyed=new d.x,Fe._fitInkBarToContent.pipe((0,q.R)(this._destroyed)).subscribe(Ci=>{this.fitInkBarToContent=Ci})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}return gt.\u0275fac=function(Fe){return new(Fe||gt)(e.Y36(ut),e.Y36(e.SBq),e.Y36(g.Y2,8),e.$8M("tabindex"),e.Y36(C.tE),e.Y36(e.QbO,8))},gt.\u0275cmp=e.Xpm({type:gt,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(Fe,Mt){1&Fe&&e.NdJ("focus",function(){return Mt._handleFocus()})("keydown",function(Yt){return Mt._handleKeydown(Yt)}),2&Fe&&(e.uIk("aria-controls",Mt._getAriaControls())("aria-current",Mt._getAriaCurrent())("aria-disabled",Mt.disabled)("aria-selected",Mt._getAriaSelected())("id",Mt.id)("tabIndex",Mt._getTabIndex())("role",Mt._getRole()),e.ekj("mat-mdc-tab-disabled",Mt.disabled)("mdc-tab--active",Mt.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[e.qOj],attrs:me,ngContentSelectors:E,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(Fe,Mt){1&Fe&&(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&Fe&&(e.xp6(1),e.Q6J("matRippleTrigger",Mt.elementRef.nativeElement)("matRippleDisabled",Mt.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;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12}.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}),gt})(),ft=(()=>{class gt{constructor(){this.id="mat-tab-nav-panel-"+Xt++}}return gt.\u0275fac=function(Fe){return new(Fe||gt)},gt.\u0275cmp=e.Xpm({type:gt,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(Fe,Mt){2&Fe&&e.uIk("aria-labelledby",Mt._activeTabId)("id",Mt.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:E,decls:1,vars:0,template:function(Fe,Mt){1&Fe&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),gt})(),Xe=(()=>{class gt{}return gt.\u0275fac=function(Fe){return new(Fe||gt)},gt.\u0275mod=e.oAB({type:gt}),gt.\u0275inj=e.cJS({imports:[t.ez,g.BQ,A.eL,g.si,s.Q8,C.rt,g.BQ]}),gt})()},3683:(Be,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 s=["*",[["mat-toolbar-row"]]],C=["*","mat-toolbar-row"],h=(0,e.pj)(class{constructor(I){this._elementRef=I}});let P=(()=>{class I{}return I.\u0275fac=function(O){return new(O||I)},I.\u0275dir=t.lG2({type:I,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),I})(),d=(()=>{class I extends h{constructor(O,U,Z){super(O),this._platform=U,this._document=Z}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return I.\u0275fac=function(O){return new(O||I)(t.Y36(t.SBq),t.Y36(g.t4),t.Y36(A.K0))},I.\u0275cmp=t.Xpm({type:I,selectors:[["mat-toolbar"]],contentQueries:function(O,U,Z){if(1&O&&t.Suo(Z,P,5),2&O){let W;t.iGM(W=t.CRH())&&(U._toolbarRows=W)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(O,U){2&O&&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(O,U){1&O&&(t.F$t(s),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}),I})(),w=(()=>{class I{}return I.\u0275fac=function(O){return new(O||I)},I.\u0275mod=t.oAB({type:I}),I.\u0275inj=t.cJS({imports:[e.BQ,e.BQ]}),I})()},266:(Be,Q,m)=>{"use strict";m.d(Q,{AV:()=>b,gM:()=>E});var t=m(2722),e=m(5698),g=m(1281),A=m(9521),s=m(4650),C=m(6895),h=m(3353),P=m(4761),d=m(445),M=m(8184),w=m(531),I=m(4080),k=m(7579),U=(m(7340),m(3238));const Z=["tooltip"],q=new s.OlP("mat-tooltip-scroll-strategy"),pe={provide:q,deps:[M.aV],useFactory:function te(V){return()=>V.scrollStrategies.reposition({scrollThrottle:20})}},re=new s.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function oe(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),se="tooltip-panel",he=(0,h.i$)({passive:!0});let y=(()=>{class V{get position(){return this._position}set position(Y){Y!==this._position&&(this._position=Y,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(Y){this._positionAtOrigin=(0,g.Ig)(Y),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(Y){this._disabled=(0,g.Ig)(Y),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(Y){this._showDelay=(0,g.su)(Y)}get hideDelay(){return this._hideDelay}set hideDelay(Y){this._hideDelay=(0,g.su)(Y),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(Y){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=Y?String(Y).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(Y){this._tooltipClass=Y,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(Y,Te,$e,Ve,We,Re,we,me,Ae,ee,Ze,Oe){this._overlay=Y,this._elementRef=Te,this._scrollDispatcher=$e,this._viewContainerRef=Ve,this._ngZone=We,this._platform=Re,this._ariaDescriber=we,this._focusMonitor=me,this._dir=ee,this._defaultOptions=Ze,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 k.x,this._scrollStrategy=Ae,this._document=Oe,Ze&&(Ze.position&&(this.position=Ze.position),Ze.positionAtOrigin&&(this.positionAtOrigin=Ze.positionAtOrigin),Ze.touchGestures&&(this.touchGestures=Ze.touchGestures)),ee.change.pipe((0,t.R)(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe((0,t.R)(this._destroyed)).subscribe(Y=>{Y?"keyboard"===Y&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const Y=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([Te,$e])=>{Y.removeEventListener(Te,$e,he)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(Y,this.message,"tooltip"),this._focusMonitor.stopMonitoring(Y)}show(Y=this.showDelay,Te){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const $e=this._createOverlay(Te);this._detach(),this._portal=this._portal||new I.C5(this._tooltipComponent,this._viewContainerRef);const Ve=this._tooltipInstance=$e.attach(this._portal).instance;Ve._triggerElement=this._elementRef.nativeElement,Ve._mouseLeaveHideDelay=this._hideDelay,Ve.afterHidden().pipe((0,t.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),Ve.show(Y)}hide(Y=this.hideDelay){const Te=this._tooltipInstance;Te&&(Te.isVisible()?Te.hide(Y):(Te._cancelPendingAnimations(),this._detach()))}toggle(Y){this._isTooltipVisible()?this.hide():this.show(void 0,Y)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(Y){if(this._overlayRef){const Ve=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!Y)&&Ve._origin instanceof s.SBq)return this._overlayRef;this._detach()}const Te=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),$e=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&Y||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(Te);return $e.positionChanges.pipe((0,t.R)(this._destroyed)).subscribe(Ve=>{this._updateCurrentPositionClass(Ve.connectionPair),this._tooltipInstance&&Ve.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:$e,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(Ve=>{this._isTooltipVisible()&&Ve.keyCode===A.hY&&!(0,A.Vb)(Ve)&&(Ve.preventDefault(),Ve.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(Y){const Te=Y.getConfig().positionStrategy,$e=this._getOrigin(),Ve=this._getOverlayPosition();Te.withPositions([this._addOffset({...$e.main,...Ve.main}),this._addOffset({...$e.fallback,...Ve.fallback})])}_addOffset(Y){return Y}_getOrigin(){const Y=!this._dir||"ltr"==this._dir.value,Te=this.position;let $e;"above"==Te||"below"==Te?$e={originX:"center",originY:"above"==Te?"top":"bottom"}:"before"==Te||"left"==Te&&Y||"right"==Te&&!Y?$e={originX:"start",originY:"center"}:("after"==Te||"right"==Te&&Y||"left"==Te&&!Y)&&($e={originX:"end",originY:"center"});const{x:Ve,y:We}=this._invertPosition($e.originX,$e.originY);return{main:$e,fallback:{originX:Ve,originY:We}}}_getOverlayPosition(){const Y=!this._dir||"ltr"==this._dir.value,Te=this.position;let $e;"above"==Te?$e={overlayX:"center",overlayY:"bottom"}:"below"==Te?$e={overlayX:"center",overlayY:"top"}:"before"==Te||"left"==Te&&Y||"right"==Te&&!Y?$e={overlayX:"end",overlayY:"center"}:("after"==Te||"right"==Te&&Y||"left"==Te&&!Y)&&($e={overlayX:"start",overlayY:"center"});const{x:Ve,y:We}=this._invertPosition($e.overlayX,$e.overlayY);return{main:$e,fallback:{overlayX:Ve,overlayY:We}}}_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(Y){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=Y,this._tooltipInstance._markForCheck())}_invertPosition(Y,Te){return"above"===this.position||"below"===this.position?"top"===Te?Te="bottom":"bottom"===Te&&(Te="top"):"end"===Y?Y="start":"start"===Y&&(Y="end"),{x:Y,y:Te}}_updateCurrentPositionClass(Y){const{overlayY:Te,originX:$e,originY:Ve}=Y;let We;if(We="center"===Te?this._dir&&"rtl"===this._dir.value?"end"===$e?"left":"right":"start"===$e?"left":"right":"bottom"===Te&&"top"===Ve?"above":"below",We!==this._currentPosition){const Re=this._overlayRef;if(Re){const we=`${this._cssClassPrefix}-${se}-`;Re.removePanelClass(we+this._currentPosition),Re.addPanelClass(we+We)}this._currentPosition=We}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",Y=>{let Te;this._setupPointerExitEventsIfNeeded(),void 0!==Y.x&&void 0!==Y.y&&(Te=Y),this.show(void 0,Te)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",Y=>{const Te=Y.targetTouches?.[0],$e=Te?{x:Te.clientX,y:Te.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,$e),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const Y=[];if(this._platformSupportsMouseEvents())Y.push(["mouseleave",Te=>{const $e=Te.relatedTarget;(!$e||!this._overlayRef?.overlayElement.contains($e))&&this.hide()}],["wheel",Te=>this._wheelListener(Te)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const Te=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};Y.push(["touchend",Te],["touchcancel",Te])}this._addListeners(Y),this._passiveListeners.push(...Y)}_addListeners(Y){Y.forEach(([Te,$e])=>{this._elementRef.nativeElement.addEventListener(Te,$e,he)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(Y){if(this._isTooltipVisible()){const Te=this._document.elementFromPoint(Y.clientX,Y.clientY),$e=this._elementRef.nativeElement;Te!==$e&&!$e.contains(Te)&&this.hide()}}_disableNativeGesturesIfNecessary(){const Y=this.touchGestures;if("off"!==Y){const Te=this._elementRef.nativeElement,$e=Te.style;("on"===Y||"INPUT"!==Te.nodeName&&"TEXTAREA"!==Te.nodeName)&&($e.userSelect=$e.msUserSelect=$e.webkitUserSelect=$e.MozUserSelect="none"),("on"===Y||!Te.draggable)&&($e.webkitUserDrag="none"),$e.touchAction="none",$e.webkitTapHighlightColor="transparent"}}}return V.\u0275fac=function(Y){s.$Z()},V.\u0275dir=s.lG2({type:V,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"]}}),V})(),E=(()=>{class V extends y{constructor(Y,Te,$e,Ve,We,Re,we,me,Ae,ee,Ze,Oe){super(Y,Te,$e,Ve,We,Re,we,me,Ae,ee,Ze,Oe),this._tooltipComponent=v,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(Y){const $e=!this._dir||"ltr"==this._dir.value;return"top"===Y.originY?Y.offsetY=-8:"bottom"===Y.originY?Y.offsetY=8:"start"===Y.originX?Y.offsetX=$e?-8:8:"end"===Y.originX&&(Y.offsetX=$e?8:-8),Y}}return V.\u0275fac=function(Y){return new(Y||V)(s.Y36(M.aV),s.Y36(s.SBq),s.Y36(w.mF),s.Y36(s.s_b),s.Y36(s.R0b),s.Y36(h.t4),s.Y36(P.$s),s.Y36(P.tE),s.Y36(q),s.Y36(d.Is,8),s.Y36(re,8),s.Y36(C.K0))},V.\u0275dir=s.lG2({type:V,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[s.qOj]}),V})(),D=(()=>{class V{constructor(Y,Te){this._changeDetectorRef=Y,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new k.x,this._animationsDisabled="NoopAnimations"===Te}show(Y){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},Y)}hide(Y){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},Y)}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:Y}){(!Y||!this._triggerElement.contains(Y))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:Y}){(Y===this._showAnimation||Y===this._hideAnimation)&&this._finalizeAnimation(Y===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(Y){Y?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(Y){const Te=this._tooltip.nativeElement,$e=this._showAnimation,Ve=this._hideAnimation;if(Te.classList.remove(Y?Ve:$e),Te.classList.add(Y?$e:Ve),this._isVisible=Y,Y&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const We=getComputedStyle(Te);("0s"===We.getPropertyValue("animation-duration")||"none"===We.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}Y&&this._onShow(),this._animationsDisabled&&(Te.classList.add("_mat-animation-noopable"),this._finalizeAnimation(Y))}}return V.\u0275fac=function(Y){return new(Y||V)(s.Y36(s.sBO),s.Y36(s.QbO,8))},V.\u0275dir=s.lG2({type:V}),V})(),v=(()=>{class V extends D{constructor(Y,Te,$e){super(Y,$e),this._elementRef=Te,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const Y=this._elementRef.nativeElement.getBoundingClientRect();return Y.height>24&&Y.width>=200}}return V.\u0275fac=function(Y){return new(Y||V)(s.Y36(s.sBO),s.Y36(s.SBq),s.Y36(s.QbO,8))},V.\u0275cmp=s.Xpm({type:V,selectors:[["mat-tooltip-component"]],viewQuery:function(Y,Te){if(1&Y&&s.Gf(Z,7),2&Y){let $e;s.iGM($e=s.CRH())&&(Te._tooltip=$e.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(Y,Te){1&Y&&s.NdJ("mouseleave",function(Ve){return Te._handleMouseLeave(Ve)}),2&Y&&s.Udp("zoom",Te.isVisible()?1:null)},features:[s.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(Y,Te){1&Y&&(s.TgZ(0,"div",0,1),s.NdJ("animationend",function(Ve){return Te._handleAnimationEnd(Ve)}),s.TgZ(2,"div",2),s._uU(3),s.qZA()()),2&Y&&(s.ekj("mdc-tooltip--multiline",Te._isMultiline),s.Q6J("ngClass",Te.tooltipClass),s.xp6(3),s.Oqu(Te.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:0;right:0;bottom:0;left:0;z-index:-1;position:absolute}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip::before{top:-8px}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip::before{bottom:-8px}.mat-mdc-tooltip-panel-right .mat-mdc-tooltip::before{left:-8px}.mat-mdc-tooltip-panel-left .mat-mdc-tooltip::before{right:-8px}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-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}),V})(),b=(()=>{class V{}return V.\u0275fac=function(Y){return new(Y||V)},V.\u0275mod=s.oAB({type:V}),V.\u0275inj=s.cJS({providers:[pe],imports:[P.rt,C.ez,M.U8,U.BQ,U.BQ,w.ZD]}),V})()},5423:(Be,Q,m)=>{"use strict";m.d(Q,{Ar:()=>O,GZ:()=>I,WX:()=>pe,dp:()=>K,eu:()=>Z,fQ:()=>w,gi:()=>U,uo:()=>M});var t=m(7851),e=m(4650),g=m(3238),A=m(1281),s=m(5017),C=m(1135),h=m(6451),P=m(4004);const d=(0,g.sb)((0,g.Id)(t.Hs));let M=(()=>{class oe extends d{constructor(ce,se,he){super(ce,se),this.tabIndex=Number(he)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return oe.\u0275fac=function(ce){return new(ce||oe)(e.Y36(e.SBq),e.Y36(t._0),e.$8M("tabindex"))},oe.\u0275dir=e.lG2({type:oe,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:oe}]),e.qOj]}),oe})(),w=(()=>{class oe extends t.rO{}return oe.\u0275fac=function(){let re;return function(se){return(re||(re=e.n5z(oe)))(se||oe)}}(),oe.\u0275dir=e.lG2({type:oe,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[e._Bn([{provide:t.rO,useExisting:oe}]),e.qOj]}),oe})(),I=(()=>{class oe extends t.Xx{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}constructor(ce,se,he,S){super(ce,se,he),this._disabled=!1,this.tabIndex=Number(S)||0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return oe.\u0275fac=function(ce){return new(ce||oe)(e.Y36(e.SBq),e.Y36(t._0),e.Y36(e.ZZ4),e.$8M("tabindex"))},oe.\u0275dir=e.lG2({type:oe,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:oe},{provide:t.Hs,useExisting:oe},{provide:t.HI,useExisting:oe}]),e.qOj]}),oe})(),O=(()=>{class oe{constructor(ce,se){this.viewContainer=ce,this._node=se}}return oe.\u0275fac=function(ce){return new(ce||oe)(e.Y36(e.s_b),e.Y36(t.HI,8))},oe.\u0275dir=e.lG2({type:oe,selectors:[["","matTreeNodeOutlet",""]],features:[e._Bn([{provide:t.cu,useExisting:oe}])]}),oe})(),U=(()=>{class oe extends t._0{}return oe.\u0275fac=function(){let re;return function(se){return(re||(re=e.n5z(oe)))(se||oe)}}(),oe.\u0275cmp=e.Xpm({type:oe,selectors:[["mat-tree"]],viewQuery:function(ce,se){if(1&ce&&e.Gf(O,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:oe}]),e.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(ce,se){1&ce&&e.GkF(0,0)},dependencies:[O],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}),oe})(),Z=(()=>{class oe extends t.Ud{}return oe.\u0275fac=function(){let re;return function(se){return(re||(re=e.n5z(oe)))(se||oe)}}(),oe.\u0275dir=e.lG2({type:oe,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[e._Bn([{provide:t.Ud,useExisting:oe}]),e.qOj]}),oe})(),K=(()=>{class oe{}return oe.\u0275fac=function(ce){return new(ce||oe)},oe.\u0275mod=e.oAB({type:oe}),oe.\u0275inj=e.cJS({imports:[t.nZ,g.BQ,g.BQ]}),oe})();class pe extends s.o2{constructor(){super(...arguments),this._data=new C.X([])}get data(){return this._data.value}set data(re){this._data.next(re)}connect(re){return(0,h.T)(re.viewChange,this._data).pipe((0,P.U)(()=>this.data))}disconnect(){}}},1481:(Be,Q,m)=>{"use strict";m.d(Q,{Dx:()=>Nt,H7:()=>ri,b2:()=>Ie,q6:()=>Se,se:()=>l,t6:()=>Vt});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(ft,Xe,gt){return ft.addEventListener(Xe,gt,!1),()=>{ft.removeEventListener(Xe,gt,!1)}}dispatchEvent(ft,Xe){ft.dispatchEvent(Xe)}remove(ft){ft.parentNode&&ft.parentNode.removeChild(ft)}createElement(ft,Xe){return(Xe=Xe||this.getDefaultDocument()).createElement(ft)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(ft){return ft.nodeType===Node.ELEMENT_NODE}isShadowRoot(ft){return ft instanceof DocumentFragment}getGlobalEventTarget(ft,Xe){return"window"===Xe?window:"document"===Xe?ft:"body"===Xe?ft.body:null}getBaseHref(ft){const Xe=function C(){return s=s||document.querySelector("base"),s?s.getAttribute("href"):null}();return null==Xe?null:function P(wt){h=h||document.createElement("a"),h.setAttribute("href",wt);const ft=h.pathname;return"/"===ft.charAt(0)?ft:`/${ft}`}(Xe)}resetBaseElement(){s=null}getUserAgent(){return window.navigator.userAgent}getCookie(ft){return(0,t.Mx)(document.cookie,ft)}}let h,s=null;const d=new e.OlP("TRANSITION_ID"),w=[{provide:e.ip1,useFactory:function M(wt,ft,Xe){return()=>{Xe.get(e.CZH).donePromise.then(()=>{const gt=(0,t.q)(),_t=ft.querySelectorAll(`style[ng-transition="${wt}"]`);for(let Fe=0;Fe<_t.length;Fe++)gt.remove(_t[Fe])})}},deps:[d,t.K0,e.zs3],multi:!0}];let k=(()=>{class wt{build(){return new XMLHttpRequest}}return wt.\u0275fac=function(Xe){return new(Xe||wt)},wt.\u0275prov=e.Yz7({token:wt,factory:wt.\u0275fac}),wt})();const O=new e.OlP("EventManagerPlugins");let U=(()=>{class wt{constructor(Xe,gt){this._zone=gt,this._eventNameToPlugin=new Map,Xe.forEach(_t=>{_t.manager=this}),this._plugins=Xe.slice().reverse()}addEventListener(Xe,gt,_t){return this._findPluginFor(gt).addEventListener(Xe,gt,_t)}addGlobalEventListener(Xe,gt,_t){return this._findPluginFor(gt).addGlobalEventListener(Xe,gt,_t)}getZone(){return this._zone}_findPluginFor(Xe){const gt=this._eventNameToPlugin.get(Xe);if(gt)return gt;const _t=this._plugins;for(let Fe=0;Fe<_t.length;Fe++){const Mt=_t[Fe];if(Mt.supports(Xe))return this._eventNameToPlugin.set(Xe,Mt),Mt}throw new Error(`No event manager plugin found for event ${Xe}`)}}return wt.\u0275fac=function(Xe){return new(Xe||wt)(e.LFG(O),e.LFG(e.R0b))},wt.\u0275prov=e.Yz7({token:wt,factory:wt.\u0275fac}),wt})();class Z{constructor(ft){this._doc=ft}addGlobalEventListener(ft,Xe,gt){const _t=(0,t.q)().getGlobalEventTarget(this._doc,ft);if(!_t)throw new Error(`Unsupported event target ${_t} for event ${Xe}`);return this.addEventListener(_t,Xe,gt)}}let W=(()=>{class wt{constructor(){this.usageCount=new Map}addStyles(Xe){for(const gt of Xe)1===this.changeUsageCount(gt,1)&&this.onStyleAdded(gt)}removeStyles(Xe){for(const gt of Xe)0===this.changeUsageCount(gt,-1)&&this.onStyleRemoved(gt)}onStyleRemoved(Xe){}onStyleAdded(Xe){}getAllStyles(){return this.usageCount.keys()}changeUsageCount(Xe,gt){const _t=this.usageCount;let Fe=_t.get(Xe)??0;return Fe+=gt,Fe>0?_t.set(Xe,Fe):_t.delete(Xe),Fe}ngOnDestroy(){for(const Xe of this.getAllStyles())this.onStyleRemoved(Xe);this.usageCount.clear()}}return wt.\u0275fac=function(Xe){return new(Xe||wt)},wt.\u0275prov=e.Yz7({token:wt,factory:wt.\u0275fac}),wt})(),K=(()=>{class wt extends W{constructor(Xe){super(),this.doc=Xe,this.styleRef=new Map,this.hostNodes=new Set,this.resetHostNodes()}onStyleAdded(Xe){for(const gt of this.hostNodes)this.addStyleToHost(gt,Xe)}onStyleRemoved(Xe){const gt=this.styleRef;gt.get(Xe)?.forEach(Fe=>Fe.remove()),gt.delete(Xe)}ngOnDestroy(){super.ngOnDestroy(),this.styleRef.clear(),this.resetHostNodes()}addHost(Xe){this.hostNodes.add(Xe);for(const gt of this.getAllStyles())this.addStyleToHost(Xe,gt)}removeHost(Xe){this.hostNodes.delete(Xe)}addStyleToHost(Xe,gt){const _t=this.doc.createElement("style");_t.textContent=gt,Xe.appendChild(_t);const Fe=this.styleRef.get(gt);Fe?Fe.push(_t):this.styleRef.set(gt,[_t])}resetHostNodes(){const Xe=this.hostNodes;Xe.clear(),Xe.add(this.doc.head)}}return wt.\u0275fac=function(Xe){return new(Xe||wt)(e.LFG(t.K0))},wt.\u0275prov=e.Yz7({token:wt,factory:wt.\u0275fac}),wt})();const q={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/"},te=/%COMP%/g,he=new e.OlP("RemoveStylesOnCompDestory",{providedIn:"root",factory:()=>!1});function a(wt,ft){return ft.flat(100).map(Xe=>Xe.replace(te,wt))}function f(wt){return ft=>{if("__ngUnwrap__"===ft)return wt;!1===wt(ft)&&(ft.preventDefault(),ft.returnValue=!1)}}let l=(()=>{class wt{constructor(Xe,gt,_t,Fe){this.eventManager=Xe,this.sharedStylesHost=gt,this.appId=_t,this.removeStylesOnCompDestory=Fe,this.rendererByCompId=new Map,this.defaultRenderer=new y(Xe)}createRenderer(Xe,gt){if(!Xe||!gt)return this.defaultRenderer;const _t=this.getOrCreateRenderer(Xe,gt);return _t instanceof V?_t.applyToHost(Xe):_t instanceof b&&_t.applyStyles(),_t}getOrCreateRenderer(Xe,gt){const _t=this.rendererByCompId;let Fe=_t.get(gt.id);if(!Fe){const Mt=this.eventManager,Et=this.sharedStylesHost,Yt=this.removeStylesOnCompDestory;switch(gt.encapsulation){case e.ifc.Emulated:Fe=new V(Mt,Et,gt,this.appId,Yt);break;case e.ifc.ShadowDom:return new n(Mt,Et,Xe,gt);default:Fe=new b(Mt,Et,gt,Yt)}Fe.onDestroy=()=>_t.delete(gt.id),_t.set(gt.id,Fe)}return Fe}ngOnDestroy(){this.rendererByCompId.clear()}begin(){}end(){}}return wt.\u0275fac=function(Xe){return new(Xe||wt)(e.LFG(U),e.LFG(K),e.LFG(e.AFp),e.LFG(he))},wt.\u0275prov=e.Yz7({token:wt,factory:wt.\u0275fac}),wt})();class y{constructor(ft){this.eventManager=ft,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(ft,Xe){return Xe?document.createElementNS(q[Xe]||Xe,ft):document.createElement(ft)}createComment(ft){return document.createComment(ft)}createText(ft){return document.createTextNode(ft)}appendChild(ft,Xe){(v(ft)?ft.content:ft).appendChild(Xe)}insertBefore(ft,Xe,gt){ft&&(v(ft)?ft.content:ft).insertBefore(Xe,gt)}removeChild(ft,Xe){ft&&ft.removeChild(Xe)}selectRootElement(ft,Xe){let gt="string"==typeof ft?document.querySelector(ft):ft;if(!gt)throw new Error(`The selector "${ft}" did not match any elements`);return Xe||(gt.textContent=""),gt}parentNode(ft){return ft.parentNode}nextSibling(ft){return ft.nextSibling}setAttribute(ft,Xe,gt,_t){if(_t){Xe=_t+":"+Xe;const Fe=q[_t];Fe?ft.setAttributeNS(Fe,Xe,gt):ft.setAttribute(Xe,gt)}else ft.setAttribute(Xe,gt)}removeAttribute(ft,Xe,gt){if(gt){const _t=q[gt];_t?ft.removeAttributeNS(_t,Xe):ft.removeAttribute(`${gt}:${Xe}`)}else ft.removeAttribute(Xe)}addClass(ft,Xe){ft.classList.add(Xe)}removeClass(ft,Xe){ft.classList.remove(Xe)}setStyle(ft,Xe,gt,_t){_t&(e.JOm.DashCase|e.JOm.Important)?ft.style.setProperty(Xe,gt,_t&e.JOm.Important?"important":""):ft.style[Xe]=gt}removeStyle(ft,Xe,gt){gt&e.JOm.DashCase?ft.style.removeProperty(Xe):ft.style[Xe]=""}setProperty(ft,Xe,gt){ft[Xe]=gt}setValue(ft,Xe){ft.nodeValue=Xe}listen(ft,Xe,gt){return"string"==typeof ft?this.eventManager.addGlobalEventListener(ft,Xe,f(gt)):this.eventManager.addEventListener(ft,Xe,f(gt))}}function v(wt){return"TEMPLATE"===wt.tagName&&void 0!==wt.content}class n extends y{constructor(ft,Xe,gt,_t){super(ft),this.sharedStylesHost=Xe,this.hostEl=gt,this.shadowRoot=gt.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Fe=a(_t.id,_t.styles);for(const Mt of Fe){const Et=document.createElement("style");Et.textContent=Mt,this.shadowRoot.appendChild(Et)}}nodeOrShadowRoot(ft){return ft===this.hostEl?this.shadowRoot:ft}appendChild(ft,Xe){return super.appendChild(this.nodeOrShadowRoot(ft),Xe)}insertBefore(ft,Xe,gt){return super.insertBefore(this.nodeOrShadowRoot(ft),Xe,gt)}removeChild(ft,Xe){return super.removeChild(this.nodeOrShadowRoot(ft),Xe)}parentNode(ft){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(ft)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class b extends y{constructor(ft,Xe,gt,_t,Fe=gt.id){super(ft),this.sharedStylesHost=Xe,this.removeStylesOnCompDestory=_t,this.rendererUsageCount=0,this.styles=a(Fe,gt.styles)}applyStyles(){this.sharedStylesHost.addStyles(this.styles),this.rendererUsageCount++}destroy(){this.removeStylesOnCompDestory&&(this.sharedStylesHost.removeStyles(this.styles),this.rendererUsageCount--,0===this.rendererUsageCount&&this.onDestroy?.())}}class V extends b{constructor(ft,Xe,gt,_t,Fe){const Mt=_t+"-"+gt.id;super(ft,Xe,gt,Fe,Mt),this.contentAttr=function S(wt){return"_ngcontent-%COMP%".replace(te,wt)}(Mt),this.hostAttr=function i(wt){return"_nghost-%COMP%".replace(te,wt)}(Mt)}applyToHost(ft){this.applyStyles(),this.setAttribute(ft,this.hostAttr,"")}createElement(ft,Xe){const gt=super.createElement(ft,Xe);return super.setAttribute(gt,this.contentAttr,""),gt}}let z=(()=>{class wt extends Z{constructor(Xe){super(Xe)}supports(Xe){return!0}addEventListener(Xe,gt,_t){return Xe.addEventListener(gt,_t,!1),()=>this.removeEventListener(Xe,gt,_t)}removeEventListener(Xe,gt,_t){return Xe.removeEventListener(gt,_t)}}return wt.\u0275fac=function(Xe){return new(Xe||wt)(e.LFG(t.K0))},wt.\u0275prov=e.Yz7({token:wt,factory:wt.\u0275fac}),wt})();const Y=["alt","control","meta","shift"],Te={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},$e={alt:wt=>wt.altKey,control:wt=>wt.ctrlKey,meta:wt=>wt.metaKey,shift:wt=>wt.shiftKey};let Ve=(()=>{class wt extends Z{constructor(Xe){super(Xe)}supports(Xe){return null!=wt.parseEventName(Xe)}addEventListener(Xe,gt,_t){const Fe=wt.parseEventName(gt),Mt=wt.eventCallback(Fe.fullKey,_t,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,t.q)().onAndCancel(Xe,Fe.domEventName,Mt))}static parseEventName(Xe){const gt=Xe.toLowerCase().split("."),_t=gt.shift();if(0===gt.length||"keydown"!==_t&&"keyup"!==_t)return null;const Fe=wt._normalizeKey(gt.pop());let Mt="",Et=gt.indexOf("code");if(Et>-1&&(gt.splice(Et,1),Mt="code."),Y.forEach(Fi=>{const Ri=gt.indexOf(Fi);Ri>-1&&(gt.splice(Ri,1),Mt+=Fi+".")}),Mt+=Fe,0!=gt.length||0===Fe.length)return null;const Yt={};return Yt.domEventName=_t,Yt.fullKey=Mt,Yt}static matchEventFullKeyCode(Xe,gt){let _t=Te[Xe.key]||Xe.key,Fe="";return gt.indexOf("code.")>-1&&(_t=Xe.code,Fe="code."),!(null==_t||!_t)&&(_t=_t.toLowerCase()," "===_t?_t="space":"."===_t&&(_t="dot"),Y.forEach(Mt=>{Mt!==_t&&(0,$e[Mt])(Xe)&&(Fe+=Mt+".")}),Fe+=_t,Fe===gt)}static eventCallback(Xe,gt,_t){return Fe=>{wt.matchEventFullKeyCode(Fe,Xe)&&_t.runGuarded(()=>gt(Fe))}}static _normalizeKey(Xe){return"esc"===Xe?"escape":Xe}}return wt.\u0275fac=function(Xe){return new(Xe||wt)(e.LFG(t.K0))},wt.\u0275prov=e.Yz7({token:wt,factory:wt.\u0275fac}),wt})();const Se=(0,e.eFA)(e._c5,"browser",[{provide:e.Lbi,useValue:t.bD},{provide:e.g9A,useValue:function ee(){A.makeCurrent()},multi:!0},{provide:t.K0,useFactory:function Oe(){return(0,e.RDi)(document),document},deps:[]}]),ge=new e.OlP(""),xe=[{provide:e.rWj,useClass:class I{addToWindow(ft){e.dqk.getAngularTestability=(gt,_t=!0)=>{const Fe=ft.findTestabilityInTree(gt,_t);if(null==Fe)throw new Error("Could not find testability for element.");return Fe},e.dqk.getAllAngularTestabilities=()=>ft.getAllTestabilities(),e.dqk.getAllAngularRootElements=()=>ft.getAllRootElements(),e.dqk.frameworkStabilizers||(e.dqk.frameworkStabilizers=[]),e.dqk.frameworkStabilizers.push(gt=>{const _t=e.dqk.getAllAngularTestabilities();let Fe=_t.length,Mt=!1;const Et=function(Yt){Mt=Mt||Yt,Fe--,0==Fe&&gt(Mt)};_t.forEach(function(Yt){Yt.whenStable(Et)})})}findTestabilityInTree(ft,Xe,gt){return null==Xe?null:ft.getTestability(Xe)??(gt?(0,t.q)().isShadowRoot(Xe)?this.findTestabilityInTree(ft,Xe.host,!0):this.findTestabilityInTree(ft,Xe.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]}],vt=[{provide:e.zSh,useValue:"root"},{provide:e.qLn,useFactory:function Ze(){return new e.qLn},deps:[]},{provide:O,useClass:z,multi:!0,deps:[t.K0,e.R0b,e.Lbi]},{provide:O,useClass:Ve,multi:!0,deps:[t.K0]},{provide:l,useClass:l,deps:[U,K,e.AFp,he]},{provide:e.FYo,useExisting:l},{provide:W,useExisting:K},{provide:K,useClass:K,deps:[t.K0]},{provide:U,useClass:U,deps:[O,e.R0b]},{provide:t.JF,useClass:k,deps:[]},[]];let Ie=(()=>{class wt{constructor(Xe){}static withServerTransition(Xe){return{ngModule:wt,providers:[{provide:e.AFp,useValue:Xe.appId},{provide:d,useExisting:e.AFp},w]}}}return wt.\u0275fac=function(Xe){return new(Xe||wt)(e.LFG(ge,12))},wt.\u0275mod=e.oAB({type:wt}),wt.\u0275inj=e.cJS({providers:[...vt,...xe],imports:[t.ez,e.hGG]}),wt})(),Nt=(()=>{class wt{constructor(Xe){this._doc=Xe}getTitle(){return this._doc.title}setTitle(Xe){this._doc.title=Xe||""}}return wt.\u0275fac=function(Xe){return new(Xe||wt)(e.LFG(t.K0))},wt.\u0275prov=e.Yz7({token:wt,factory:function(Xe){let gt=null;return gt=Xe?new Xe:function lt(){return new Nt((0,e.LFG)(t.K0))}(),gt},providedIn:"root"}),wt})();typeof window<"u"&&window;const X={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},ue=new e.OlP("HammerGestureConfig"),Ee=new e.OlP("HammerLoader");let qe=(()=>{class wt{constructor(){this.events=[],this.overrides={}}buildHammer(Xe){const gt=new Hammer(Xe,this.options);gt.get("pinch").set({enable:!0}),gt.get("rotate").set({enable:!0});for(const _t in this.overrides)gt.get(_t).set(this.overrides[_t]);return gt}}return wt.\u0275fac=function(Xe){return new(Xe||wt)},wt.\u0275prov=e.Yz7({token:wt,factory:wt.\u0275fac}),wt})(),Xt=(()=>{class wt extends Z{constructor(Xe,gt,_t,Fe){super(Xe),this._config=gt,this.console=_t,this.loader=Fe,this._loaderPromise=null}supports(Xe){return!(!X.hasOwnProperty(Xe.toLowerCase())&&!this.isCustomEvent(Xe)||!window.Hammer&&!this.loader)}addEventListener(Xe,gt,_t){const Fe=this.manager.getZone();if(gt=gt.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||Fe.runOutsideAngular(()=>this.loader());let Mt=!1,Et=()=>{Mt=!0};return Fe.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Mt||(Et=this.addEventListener(Xe,gt,_t)):Et=()=>{}}).catch(()=>{Et=()=>{}})),()=>{Et()}}return Fe.runOutsideAngular(()=>{const Mt=this._config.buildHammer(Xe),Et=function(Yt){Fe.runGuarded(function(){_t(Yt)})};return Mt.on(gt,Et),()=>{Mt.off(gt,Et),"function"==typeof Mt.destroy&&Mt.destroy()}})}isCustomEvent(Xe){return this._config.events.indexOf(Xe)>-1}}return wt.\u0275fac=function(Xe){return new(Xe||wt)(e.LFG(t.K0),e.LFG(ue),e.LFG(e.c2e),e.LFG(Ee,8))},wt.\u0275prov=e.Yz7({token:wt,factory:wt.\u0275fac}),wt})(),Vt=(()=>{class wt{}return wt.\u0275fac=function(Xe){return new(Xe||wt)},wt.\u0275mod=e.oAB({type:wt}),wt.\u0275inj=e.cJS({providers:[{provide:O,useClass:Xt,multi:!0,deps:[t.K0,ue,e.c2e,[new e.FiY,Ee]]},{provide:ue,useClass:qe,deps:[]}]}),wt})(),ri=(()=>{class wt{}return wt.\u0275fac=function(Xe){return new(Xe||wt)},wt.\u0275prov=e.Yz7({token:wt,factory:function(Xe){let gt=null;return gt=Xe?new(Xe||wt):e.LFG(ot),gt},providedIn:"root"}),wt})(),ot=(()=>{class wt extends ri{constructor(Xe){super(),this._doc=Xe}sanitize(Xe,gt){if(null==gt)return null;switch(Xe){case e.q3G.NONE:return gt;case e.q3G.HTML:return(0,e.qzn)(gt,"HTML")?(0,e.z3N)(gt):(0,e.EiD)(this._doc,String(gt)).toString();case e.q3G.STYLE:return(0,e.qzn)(gt,"Style")?(0,e.z3N)(gt):gt;case e.q3G.SCRIPT:if((0,e.qzn)(gt,"Script"))return(0,e.z3N)(gt);throw new Error("unsafe value used in a script context");case e.q3G.URL:return(0,e.qzn)(gt,"URL")?(0,e.z3N)(gt):(0,e.mCW)(String(gt));case e.q3G.RESOURCE_URL:if((0,e.qzn)(gt,"ResourceURL"))return(0,e.z3N)(gt);throw new Error(`unsafe value used in a resource URL context (see ${e.JZr})`);default:throw new Error(`Unexpected SecurityContext ${Xe} (see ${e.JZr})`)}}bypassSecurityTrustHtml(Xe){return(0,e.JVY)(Xe)}bypassSecurityTrustStyle(Xe){return(0,e.L6k)(Xe)}bypassSecurityTrustScript(Xe){return(0,e.eBb)(Xe)}bypassSecurityTrustUrl(Xe){return(0,e.LAX)(Xe)}bypassSecurityTrustResourceUrl(Xe){return(0,e.pB0)(Xe)}}return wt.\u0275fac=function(Xe){return new(Xe||wt)(e.LFG(t.K0))},wt.\u0275prov=e.Yz7({token:wt,factory:function(Xe){let gt=null;return gt=Xe?new Xe:function pt(wt){return new ot(wt.get(t.K0))}(e.LFG(e.zs3)),gt},providedIn:"root"}),wt})()},9116:(Be,Q,m)=>{"use strict";m.d(Q,{gz:()=>Qn,gk:()=>$t,m2:()=>_i,Q3:()=>Xi,OD:()=>Ot,Av:()=>Oa,F0:()=>Cr,rH:()=>As,Od:()=>Lc,Bz:()=>Kd,lC:()=>ra});var t=m(4650),e=m(457),g=m(9646),A=m(1135),s=m(6805),C=m(9841),h=m(7272),P=m(9770),d=m(9635),M=m(2843),w=m(9751),I=m(515),k=m(4033),O=m(7579),U=m(6895),Z=m(4004),W=m(3900),K=m(5698),q=m(8675),te=m(9300),pe=m(5577),oe=m(590),re=m(4351),ce=m(8505),se=m(262),he=m(5026),S=m(4482),i=m(5403);function a(ve){return ve<=0?()=>I.E:(0,S.e)((Ce,ae)=>{let ze=[];Ce.subscribe((0,i.x)(ae,dt=>{ze.push(dt),ve<ze.length&&ze.shift()},()=>{for(const dt of ze)ae.next(dt);ae.complete()},void 0,()=>{ze=null}))})}var f=m(8068),l=m(6590),y=m(4671);function E(ve,Ce){const ae=arguments.length>=2;return ze=>ze.pipe(ve?(0,te.h)((dt,At)=>ve(dt,At,ze)):y.y,a(1),ae?(0,l.d)(Ce):(0,f.T)(()=>new s.K))}var D=m(2529),v=m(9718),n=m(8746),b=m(8343),V=m(8189),z=m(1481);const Y="primary",Te=Symbol("RouteTitle");class $e{constructor(Ce){this.params=Ce||{}}has(Ce){return Object.prototype.hasOwnProperty.call(this.params,Ce)}get(Ce){if(this.has(Ce)){const ae=this.params[Ce];return Array.isArray(ae)?ae[0]:ae}return null}getAll(Ce){if(this.has(Ce)){const ae=this.params[Ce];return Array.isArray(ae)?ae:[ae]}return[]}get keys(){return Object.keys(this.params)}}function Ve(ve){return new $e(ve)}function We(ve,Ce,ae){const ze=ae.path.split("/");if(ze.length>ve.length||"full"===ae.pathMatch&&(Ce.hasChildren()||ze.length<ve.length))return null;const dt={};for(let At=0;At<ze.length;At++){const Ft=ze[At],mi=ve[At];if(Ft.startsWith(":"))dt[Ft.substring(1)]=mi;else if(Ft!==mi.path)return null}return{consumed:ve.slice(0,ze.length),posParams:dt}}function we(ve,Ce){const ae=ve?Object.keys(ve):void 0,ze=Ce?Object.keys(Ce):void 0;if(!ae||!ze||ae.length!=ze.length)return!1;let dt;for(let At=0;At<ae.length;At++)if(dt=ae[At],!me(ve[dt],Ce[dt]))return!1;return!0}function me(ve,Ce){if(Array.isArray(ve)&&Array.isArray(Ce)){if(ve.length!==Ce.length)return!1;const ae=[...ve].sort(),ze=[...Ce].sort();return ae.every((dt,At)=>ze[At]===dt)}return ve===Ce}function Ae(ve){return Array.prototype.concat.apply([],ve)}function ee(ve){return ve.length>0?ve[ve.length-1]:null}function Oe(ve,Ce){for(const ae in ve)ve.hasOwnProperty(ae)&&Ce(ve[ae],ae)}function fe(ve){return(0,t.CqO)(ve)?ve:(0,t.QGY)(ve)?(0,e.D)(Promise.resolve(ve)):(0,g.of)(ve)}const Se=!1,ge={exact:function de(ve,Ce,ae){if(!Qe(ve.segments,Ce.segments)||!Nt(ve.segments,Ce.segments,ae)||ve.numberOfChildren!==Ce.numberOfChildren)return!1;for(const ze in Ce.children)if(!ve.children[ze]||!de(ve.children[ze],Ce.children[ze],ae))return!1;return!0},subset:je},xe={exact:function Ie(ve,Ce){return we(ve,Ce)},subset:function rt(ve,Ce){return Object.keys(Ce).length<=Object.keys(ve).length&&Object.keys(Ce).every(ae=>me(ve[ae],Ce[ae]))},ignored:()=>!0};function vt(ve,Ce,ae){return ge[ae.paths](ve.root,Ce.root,ae.matrixParams)&&xe[ae.queryParams](ve.queryParams,Ce.queryParams)&&!("exact"===ae.fragment&&ve.fragment!==Ce.fragment)}function je(ve,Ce,ae){return lt(ve,Ce,Ce.segments,ae)}function lt(ve,Ce,ae,ze){if(ve.segments.length>ae.length){const dt=ve.segments.slice(0,ae.length);return!(!Qe(dt,ae)||Ce.hasChildren()||!Nt(dt,ae,ze))}if(ve.segments.length===ae.length){if(!Qe(ve.segments,ae)||!Nt(ve.segments,ae,ze))return!1;for(const dt in Ce.children)if(!ve.children[dt]||!je(ve.children[dt],Ce.children[dt],ze))return!1;return!0}{const dt=ae.slice(0,ve.segments.length),At=ae.slice(ve.segments.length);return!!(Qe(ve.segments,dt)&&Nt(ve.segments,dt,ze)&&ve.children[Y])&&lt(ve.children[Y],Ce,At,ze)}}function Nt(ve,Ce,ae){return Ce.every((ze,dt)=>xe[ae](ve[dt].parameters,ze.parameters))}class Ke{constructor(Ce=new at([],{}),ae={},ze=null){this.root=Ce,this.queryParams=ae,this.fragment=ze}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ve(this.queryParams)),this._queryParamMap}toString(){return St.serialize(this)}}class at{constructor(Ce,ae){this.segments=Ce,this.children=ae,this.parent=null,Oe(ae,(ze,dt)=>ze.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return nt(this)}}class Ct{constructor(Ce,ae){this.path=Ce,this.parameters=ae}get parameterMap(){return this._parameterMap||(this._parameterMap=Ve(this.parameters)),this._parameterMap}toString(){return ue(this)}}function Qe(ve,Ce){return ve.length===Ce.length&&ve.every((ae,ze)=>ae.path===Ce[ze].path)}let J=(()=>{class ve{}return ve.\u0275fac=function(ae){return new(ae||ve)},ve.\u0275prov=t.Yz7({token:ve,factory:function(){return new mt},providedIn:"root"}),ve})();class mt{parse(Ce){const ae=new wt(Ce);return new Ke(ae.parseRootSegment(),ae.parseQueryParams(),ae.parseFragment())}serialize(Ce){const ae=`/${Ye(Ce.root,!0)}`,ze=function qe(ve){const Ce=Object.keys(ve).map(ae=>{const ze=ve[ae];return Array.isArray(ze)?ze.map(dt=>`${xt(ae)}=${xt(dt)}`).join("&"):`${xt(ae)}=${xt(ze)}`}).filter(ae=>!!ae);return Ce.length?`?${Ce.join("&")}`:""}(Ce.queryParams);return`${ae}${ze}${"string"==typeof Ce.fragment?`#${function Ht(ve){return encodeURI(ve)}(Ce.fragment)}`:""}`}}const St=new mt;function nt(ve){return ve.segments.map(Ce=>ue(Ce)).join("/")}function Ye(ve,Ce){if(!ve.hasChildren())return nt(ve);if(Ce){const ae=ve.children[Y]?Ye(ve.children[Y],!1):"",ze=[];return Oe(ve.children,(dt,At)=>{At!==Y&&ze.push(`${At}:${Ye(dt,!1)}`)}),ze.length>0?`${ae}(${ze.join("//")})`:ae}{const ae=function Le(ve,Ce){let ae=[];return Oe(ve.children,(ze,dt)=>{dt===Y&&(ae=ae.concat(Ce(ze,dt)))}),Oe(ve.children,(ze,dt)=>{dt!==Y&&(ae=ae.concat(Ce(ze,dt)))}),ae}(ve,(ze,dt)=>dt===Y?[Ye(ve.children[Y],!1)]:[`${dt}:${Ye(ze,!1)}`]);return 1===Object.keys(ve.children).length&&null!=ve.children[Y]?`${nt(ve)}/${ae[0]}`:`${nt(ve)}/(${ae.join("//")})`}}function zt(ve){return encodeURIComponent(ve).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function xt(ve){return zt(ve).replace(/%3B/gi,";")}function Ut(ve){return zt(ve).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function De(ve){return decodeURIComponent(ve)}function X(ve){return De(ve.replace(/\+/g,"%20"))}function ue(ve){return`${Ut(ve.path)}${function Ee(ve){return Object.keys(ve).map(Ce=>`;${Ut(Ce)}=${Ut(ve[Ce])}`).join("")}(ve.parameters)}`}const Xt=/^[^\/()?;=#]+/;function Vt(ve){const Ce=ve.match(Xt);return Ce?Ce[0]:""}const ri=/^[^=?&#]+/,ot=/^[^&#]+/;class wt{constructor(Ce){this.url=Ce,this.remaining=Ce}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new at([],{}):new at([],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 ae={};this.peekStartsWith("/(")&&(this.capture("/"),ae=this.parseParens(!0));let ze={};return this.peekStartsWith("(")&&(ze=this.parseParens(!1)),(Ce.length>0||Object.keys(ae).length>0)&&(ze[Y]=new at(Ce,ae)),ze}parseSegment(){const Ce=Vt(this.remaining);if(""===Ce&&this.peekStartsWith(";"))throw new t.vHH(4009,Se);return this.capture(Ce),new Ct(De(Ce),this.parseMatrixParams())}parseMatrixParams(){const Ce={};for(;this.consumeOptional(";");)this.parseParam(Ce);return Ce}parseParam(Ce){const ae=Vt(this.remaining);if(!ae)return;this.capture(ae);let ze="";if(this.consumeOptional("=")){const dt=Vt(this.remaining);dt&&(ze=dt,this.capture(ze))}Ce[De(ae)]=De(ze)}parseQueryParam(Ce){const ae=function pt(ve){const Ce=ve.match(ri);return Ce?Ce[0]:""}(this.remaining);if(!ae)return;this.capture(ae);let ze="";if(this.consumeOptional("=")){const Ft=function ut(ve){const Ce=ve.match(ot);return Ce?Ce[0]:""}(this.remaining);Ft&&(ze=Ft,this.capture(ze))}const dt=X(ae),At=X(ze);if(Ce.hasOwnProperty(dt)){let Ft=Ce[dt];Array.isArray(Ft)||(Ft=[Ft],Ce[dt]=Ft),Ft.push(At)}else Ce[dt]=At}parseParens(Ce){const ae={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const ze=Vt(this.remaining),dt=this.remaining[ze.length];if("/"!==dt&&")"!==dt&&";"!==dt)throw new t.vHH(4010,Se);let At;ze.indexOf(":")>-1?(At=ze.slice(0,ze.indexOf(":")),this.capture(At),this.capture(":")):Ce&&(At=Y);const Ft=this.parseChildren();ae[At]=1===Object.keys(Ft).length?Ft[Y]:new at([],Ft),this.consumeOptional("//")}return ae}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,Se)}}function ft(ve){return ve.segments.length>0?new at([],{[Y]:ve}):ve}function Xe(ve){const Ce={};for(const ze of Object.keys(ve.children)){const At=Xe(ve.children[ze]);(At.segments.length>0||At.hasChildren())&&(Ce[ze]=At)}return function gt(ve){if(1===ve.numberOfChildren&&ve.children[Y]){const Ce=ve.children[Y];return new at(ve.segments.concat(Ce.segments),Ce.children)}return ve}(new at(ve.segments,Ce))}function _t(ve){return ve instanceof Ke}const Fe=!1;function Fi(ve,Ce,ae,ze,dt){if(0===ae.length)return Bi(Ce.root,Ce.root,Ce.root,ze,dt);const At=function be(ve){if("string"==typeof ve[0]&&1===ve.length&&"/"===ve[0])return new Dt(!0,0,ve);let Ce=0,ae=!1;const ze=ve.reduce((dt,At,Ft)=>{if("object"==typeof At&&null!=At){if(At.outlets){const mi={};return Oe(At.outlets,(Ei,en)=>{mi[en]="string"==typeof Ei?Ei.split("/"):Ei}),[...dt,{outlets:mi}]}if(At.segmentPath)return[...dt,At.segmentPath]}return"string"!=typeof At?[...dt,At]:0===Ft?(At.split("/").forEach((mi,Ei)=>{0==Ei&&"."===mi||(0==Ei&&""===mi?ae=!0:".."===mi?Ce++:""!=mi&&dt.push(mi))}),dt):[...dt,At]},[]);return new Dt(ae,Ce,ze)}(ae);return At.toRoot()?Bi(Ce.root,Ce.root,new at([],{}),ze,dt):function Ft(Ei){const en=function ci(ve,Ce,ae,ze){if(ve.isAbsolute)return new Tt(Ce.root,!0,0);if(-1===ze)return new Tt(ae,ae===Ce.root,0);return function Ai(ve,Ce,ae){let ze=ve,dt=Ce,At=ae;for(;At>dt;){if(At-=dt,ze=ze.parent,!ze)throw new t.vHH(4005,Fe&&"Invalid number of '../'");dt=ze.segments.length}return new Tt(ze,!1,dt-At)}(ae,ze+(Ri(ve.commands[0])?0:1),ve.numberOfDoubleDots)}(At,Ce,ve.snapshot?._urlSegment,Ei),on=en.processChildren?ji(en.segmentGroup,en.index,At.commands):Yi(en.segmentGroup,en.index,At.commands);return Bi(Ce.root,en.segmentGroup,on,ze,dt)}(ve.snapshot?._lastPathIndex)}function Ri(ve){return"object"==typeof ve&&null!=ve&&!ve.outlets&&!ve.segmentPath}function Ci(ve){return"object"==typeof ve&&null!=ve&&ve.outlets}function Bi(ve,Ce,ae,ze,dt){let Ft,At={};ze&&Oe(ze,(Ei,en)=>{At[en]=Array.isArray(Ei)?Ei.map(on=>`${on}`):`${Ei}`}),Ft=ve===Ce?ae:Je(ve,Ce,ae);const mi=ft(Xe(Ft));return new Ke(mi,At,dt)}function Je(ve,Ce,ae){const ze={};return Oe(ve.children,(dt,At)=>{ze[At]=dt===Ce?ae:Je(dt,Ce,ae)}),new at(ve.segments,ze)}class Dt{constructor(Ce,ae,ze){if(this.isAbsolute=Ce,this.numberOfDoubleDots=ae,this.commands=ze,Ce&&ze.length>0&&Ri(ze[0]))throw new t.vHH(4003,Fe&&"Root segment cannot have matrix parameters");const dt=ze.find(Ci);if(dt&&dt!==ee(ze))throw new t.vHH(4004,Fe&&"{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Tt{constructor(Ce,ae,ze){this.segmentGroup=Ce,this.processChildren=ae,this.index=ze}}function Yi(ve,Ce,ae){if(ve||(ve=new at([],{})),0===ve.segments.length&&ve.hasChildren())return ji(ve,Ce,ae);const ze=function tn(ve,Ce,ae){let ze=0,dt=Ce;const At={match:!1,pathIndex:0,commandIndex:0};for(;dt<ve.segments.length;){if(ze>=ae.length)return At;const Ft=ve.segments[dt],mi=ae[ze];if(Ci(mi))break;const Ei=`${mi}`,en=ze<ae.length-1?ae[ze+1]:null;if(dt>0&&void 0===Ei)break;if(Ei&&en&&"object"==typeof en&&void 0===en.outlets){if(!ht(Ei,en,Ft))return At;ze+=2}else{if(!ht(Ei,{},Ft))return At;ze++}dt++}return{match:!0,pathIndex:dt,commandIndex:ze}}(ve,Ce,ae),dt=ae.slice(ze.commandIndex);if(ze.match&&ze.pathIndex<ve.segments.length){const At=new at(ve.segments.slice(0,ze.pathIndex),{});return At.children[Y]=new at(ve.segments.slice(ze.pathIndex),ve.children),ji(At,0,dt)}return ze.match&&0===dt.length?new at(ve.segments,{}):ze.match&&!ve.hasChildren()?Zt(ve,Ce,ae):ze.match?ji(ve,0,dt):Zt(ve,Ce,ae)}function ji(ve,Ce,ae){if(0===ae.length)return new at(ve.segments,{});{const ze=function ki(ve){return Ci(ve[0])?ve[0].outlets:{[Y]:ve}}(ae),dt={};if(!ze[Y]&&ve.children[Y]&&1===ve.numberOfChildren&&0===ve.children[Y].segments.length){const At=ji(ve.children[Y],Ce,ae);return new at(ve.segments,At.children)}return Oe(ze,(At,Ft)=>{"string"==typeof At&&(At=[At]),null!==At&&(dt[Ft]=Yi(ve.children[Ft],Ce,At))}),Oe(ve.children,(At,Ft)=>{void 0===ze[Ft]&&(dt[Ft]=At)}),new at(ve.segments,dt)}}function Zt(ve,Ce,ae){const ze=ve.segments.slice(0,Ce);let dt=0;for(;dt<ae.length;){const At=ae[dt];if(Ci(At)){const Ei=Qt(At.outlets);return new at(ze,Ei)}if(0===dt&&Ri(ae[0])){ze.push(new Ct(ve.segments[Ce].path,_e(ae[0]))),dt++;continue}const Ft=Ci(At)?At.outlets[Y]:`${At}`,mi=dt<ae.length-1?ae[dt+1]:null;Ft&&mi&&Ri(mi)?(ze.push(new Ct(Ft,_e(mi))),dt+=2):(ze.push(new Ct(Ft,{})),dt++)}return new at(ze,{})}function Qt(ve){const Ce={};return Oe(ve,(ae,ze)=>{"string"==typeof ae&&(ae=[ae]),null!==ae&&(Ce[ze]=Zt(new at([],{}),0,ae))}),Ce}function _e(ve){const Ce={};return Oe(ve,(ae,ze)=>Ce[ze]=`${ae}`),Ce}function ht(ve,Ce,ae){return ve==ae.path&&we(Ce,ae.parameters)}const Lt="imperative";class Bt{constructor(Ce,ae){this.id=Ce,this.url=ae}}class Ot extends Bt{constructor(Ce,ae,ze="imperative",dt=null){super(Ce,ae),this.type=0,this.navigationTrigger=ze,this.restoredState=dt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class _i extends Bt{constructor(Ce,ae,ze){super(Ce,ae),this.urlAfterRedirects=ze,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class $t extends Bt{constructor(Ce,ae,ze,dt){super(Ce,ae),this.reason=ze,this.code=dt,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class di extends Bt{constructor(Ce,ae,ze,dt){super(Ce,ae),this.reason=ze,this.code=dt,this.type=16}}class Xi extends Bt{constructor(Ce,ae,ze,dt){super(Ce,ae),this.error=ze,this.target=dt,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class Qi extends Bt{constructor(Ce,ae,ze,dt){super(Ce,ae),this.urlAfterRedirects=ze,this.state=dt,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Vn extends Bt{constructor(Ce,ae,ze,dt){super(Ce,ae),this.urlAfterRedirects=ze,this.state=dt,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Xn extends Bt{constructor(Ce,ae,ze,dt,At){super(Ce,ae),this.urlAfterRedirects=ze,this.state=dt,this.shouldActivate=At,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ma extends Bt{constructor(Ce,ae,ze,dt){super(Ce,ae),this.urlAfterRedirects=ze,this.state=dt,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Oa extends Bt{constructor(Ce,ae,ze,dt){super(Ce,ae),this.urlAfterRedirects=ze,this.state=dt,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Wn{constructor(Ce){this.route=Ce,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ua{constructor(Ce){this.route=Ce,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class qt{constructor(Ce){this.snapshot=Ce,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Jt{constructor(Ce){this.snapshot=Ce,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ni{constructor(Ce){this.snapshot=Ce,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ui{constructor(Ce){this.snapshot=Ce,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Di{constructor(Ce,ae,ze){this.routerEvent=Ce,this.position=ae,this.anchor=ze,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Gn=(()=>{class ve{createUrlTree(ae,ze,dt,At,Ft,mi){return Fi(ae||ze.root,dt,At,Ft,mi)}}return ve.\u0275fac=function(ae){return new(ae||ve)},ve.\u0275prov=t.Yz7({token:ve,factory:ve.\u0275fac}),ve})(),ba=(()=>{class ve{}return ve.\u0275fac=function(ae){return new(ae||ve)},ve.\u0275prov=t.Yz7({token:ve,factory:function(Ce){return Gn.\u0275fac(Ce)},providedIn:"root"}),ve})();class En{constructor(Ce){this._root=Ce}get root(){return this._root.value}parent(Ce){const ae=this.pathFromRoot(Ce);return ae.length>1?ae[ae.length-2]:null}children(Ce){const ae=Hn(Ce,this._root);return ae?ae.children.map(ze=>ze.value):[]}firstChild(Ce){const ae=Hn(Ce,this._root);return ae&&ae.children.length>0?ae.children[0].value:null}siblings(Ce){const ae=Qr(Ce,this._root);return ae.length<2?[]:ae[ae.length-2].children.map(dt=>dt.value).filter(dt=>dt!==Ce)}pathFromRoot(Ce){return Qr(Ce,this._root).map(ae=>ae.value)}}function Hn(ve,Ce){if(ve===Ce.value)return Ce;for(const ae of Ce.children){const ze=Hn(ve,ae);if(ze)return ze}return null}function Qr(ve,Ce){if(ve===Ce.value)return[Ce];for(const ae of Ce.children){const ze=Qr(ve,ae);if(ze.length)return ze.unshift(Ce),ze}return[]}class zn{constructor(Ce,ae){this.value=Ce,this.children=ae}toString(){return`TreeNode(${this.value})`}}function ta(ve){const Ce={};return ve&&ve.children.forEach(ae=>Ce[ae.value.outlet]=ae),Ce}class Sr extends En{constructor(Ce,ae){super(Ce),this.snapshot=ae,Jr(this,Ce)}toString(){return this.snapshot.toString()}}function br(ve,Ce){const ae=function Ja(ve,Ce){const Ft=new qr([],{},{},"",{},Y,Ce,null,ve.root,-1,{});return new yr("",new zn(Ft,[]))}(ve,Ce),ze=new A.X([new Ct("",{})]),dt=new A.X({}),At=new A.X({}),Ft=new A.X({}),mi=new A.X(""),Ei=new Qn(ze,dt,Ft,mi,At,Y,Ce,ae.root);return Ei.snapshot=ae.root,new Sr(new zn(Ei,[]),ae)}class Qn{constructor(Ce,ae,ze,dt,At,Ft,mi,Ei){this.url=Ce,this.params=ae,this.queryParams=ze,this.fragment=dt,this.data=At,this.outlet=Ft,this.component=mi,this.title=this.data?.pipe((0,Z.U)(en=>en[Te]))??(0,g.of)(void 0),this._futureSnapshot=Ei}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=>Ve(Ce)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,Z.U)(Ce=>Ve(Ce)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ga(ve,Ce="emptyOnly"){const ae=ve.pathFromRoot;let ze=0;if("always"!==Ce)for(ze=ae.length-1;ze>=1;){const dt=ae[ze],At=ae[ze-1];if(dt.routeConfig&&""===dt.routeConfig.path)ze--;else{if(At.component)break;ze--}}return function za(ve){return ve.reduce((Ce,ae)=>({params:{...Ce.params,...ae.params},data:{...Ce.data,...ae.data},resolve:{...ae.data,...Ce.resolve,...ae.routeConfig?.data,...ae._resolvedData}}),{params:{},data:{},resolve:{}})}(ae.slice(ze))}class qr{get title(){return this.data?.[Te]}constructor(Ce,ae,ze,dt,At,Ft,mi,Ei,en,on,In){this.url=Ce,this.params=ae,this.queryParams=ze,this.fragment=dt,this.data=At,this.outlet=Ft,this.component=mi,this.routeConfig=Ei,this._urlSegment=en,this._lastPathIndex=on,this._resolve=In}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=Ve(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ve(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(ze=>ze.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class yr extends En{constructor(Ce,ae){super(ae),this.url=Ce,Jr(this,ae)}toString(){return Mo(this._root)}}function Jr(ve,Ce){Ce.value._routerState=ve,Ce.children.forEach(ae=>Jr(ve,ae))}function Mo(ve){const Ce=ve.children.length>0?` { ${ve.children.map(Mo).join(", ")} } `:"";return`${ve.value}${Ce}`}function Ea(ve){if(ve.snapshot){const Ce=ve.snapshot,ae=ve._futureSnapshot;ve.snapshot=ae,we(Ce.queryParams,ae.queryParams)||ve.queryParams.next(ae.queryParams),Ce.fragment!==ae.fragment&&ve.fragment.next(ae.fragment),we(Ce.params,ae.params)||ve.params.next(ae.params),function Re(ve,Ce){if(ve.length!==Ce.length)return!1;for(let ae=0;ae<ve.length;++ae)if(!we(ve[ae],Ce[ae]))return!1;return!0}(Ce.url,ae.url)||ve.url.next(ae.url),we(Ce.data,ae.data)||ve.data.next(ae.data)}else ve.snapshot=ve._futureSnapshot,ve.data.next(ve._futureSnapshot.data)}function So(ve,Ce){const ae=we(ve.params,Ce.params)&&function ye(ve,Ce){return Qe(ve,Ce)&&ve.every((ae,ze)=>we(ae.parameters,Ce[ze].parameters))}(ve.url,Ce.url);return ae&&!(!ve.parent!=!Ce.parent)&&(!ve.parent||So(ve.parent,Ce.parent))}function Xr(ve,Ce,ae){if(ae&&ve.shouldReuseRoute(Ce.value,ae.value.snapshot)){const ze=ae.value;ze._futureSnapshot=Ce.value;const dt=function co(ve,Ce,ae){return Ce.children.map(ze=>{for(const dt of ae.children)if(ve.shouldReuseRoute(ze.value,dt.value.snapshot))return Xr(ve,ze,dt);return Xr(ve,ze)})}(ve,Ce,ae);return new zn(ze,dt)}{if(ve.shouldAttach(Ce.value)){const At=ve.retrieve(Ce.value);if(null!==At){const Ft=At.route;return Ft.value._futureSnapshot=Ce.value,Ft.children=Ce.children.map(mi=>Xr(ve,mi)),Ft}}const ze=function lo(ve){return new Qn(new A.X(ve.url),new A.X(ve.params),new A.X(ve.queryParams),new A.X(ve.fragment),new A.X(ve.data),ve.outlet,ve.component,ve)}(Ce.value),dt=Ce.children.map(At=>Xr(ve,At));return new zn(ze,dt)}}const ho="ngNavigationCancelingError";function Gr(ve,Ce){const{redirectTo:ae,navigationBehaviorOptions:ze}=_t(Ce)?{redirectTo:Ce,navigationBehaviorOptions:void 0}:Ce,dt=uo(!1,0,Ce);return dt.url=ae,dt.navigationBehaviorOptions=ze,dt}function uo(ve,Ce,ae){const ze=new Error("NavigationCancelingError: "+(ve||""));return ze[ho]=!0,ze.cancellationCode=Ce,ae&&(ze.url=ae),ze}function Zr(ve){return fo(ve)&&_t(ve.url)}function fo(ve){return ve&&ve[ho]}class mo{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new Xa,this.attachRef=null}}let Xa=(()=>{class ve{constructor(){this.contexts=new Map}onChildOutletCreated(ae,ze){const dt=this.getOrCreateContext(ae);dt.outlet=ze,this.contexts.set(ae,dt)}onChildOutletDestroyed(ae){const ze=this.getContext(ae);ze&&(ze.outlet=null,ze.attachRef=null)}onOutletDeactivated(){const ae=this.contexts;return this.contexts=new Map,ae}onOutletReAttached(ae){this.contexts=ae}getOrCreateContext(ae){let ze=this.getContext(ae);return ze||(ze=new mo,this.contexts.set(ae,ze)),ze}getContext(ae){return this.contexts.get(ae)||null}}return ve.\u0275fac=function(ae){return new(ae||ve)},ve.\u0275prov=t.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();const fr=!1;let ra=(()=>{class ve{constructor(){this.activated=null,this._activatedRoute=null,this.name=Y,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)(Xa),this.location=(0,t.f3M)(t.s_b),this.changeDetector=(0,t.f3M)(t.sBO),this.environmentInjector=(0,t.f3M)(t.lqb)}ngOnChanges(ae){if(ae.name){const{firstChange:ze,previousValue:dt}=ae.name;if(ze)return;this.isTrackedInParentContexts(dt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(dt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(ae){return this.parentContexts.getContext(ae)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const ae=this.parentContexts.getContext(this.name);ae?.route&&(ae.attachRef?this.attach(ae.attachRef,ae.route):this.activateWith(ae.route,ae.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new t.vHH(4012,fr);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new t.vHH(4012,fr);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new t.vHH(4012,fr);this.location.detach();const ae=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(ae.instance),ae}attach(ae,ze){this.activated=ae,this._activatedRoute=ze,this.location.insert(ae.hostView),this.attachEvents.emit(ae.instance)}deactivate(){if(this.activated){const ae=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(ae)}}activateWith(ae,ze){if(this.isActivated)throw new t.vHH(4013,fr);this._activatedRoute=ae;const dt=this.location,Ft=ae.snapshot.component,mi=this.parentContexts.getOrCreateContext(this.name).children,Ei=new ja(ae,mi,dt.injector);if(ze&&function Er(ve){return!!ve.resolveComponentFactory}(ze)){const en=ze.resolveComponentFactory(Ft);this.activated=dt.createComponent(en,dt.length,Ei)}else this.activated=dt.createComponent(Ft,{index:dt.length,injector:Ei,environmentInjector:ze??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return ve.\u0275fac=function(ae){return new(ae||ve)},ve.\u0275dir=t.lG2({type:ve,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.TTD]}),ve})();class ja{constructor(Ce,ae,ze){this.route=Ce,this.childContexts=ae,this.parent=ze}get(Ce,ae){return Ce===Qn?this.route:Ce===Xa?this.childContexts:this.parent.get(Ce,ae)}}let Tr=(()=>{class ve{}return ve.\u0275fac=function(ae){return new(ae||ve)},ve.\u0275cmp=t.Xpm({type:ve,selectors:[["ng-component"]],standalone:!0,features:[t.jDz],decls:1,vars:0,template:function(ae,ze){1&ae&&t._UZ(0,"router-outlet")},dependencies:[ra],encapsulation:2}),ve})();function mr(ve,Ce){return ve.providers&&!ve._injector&&(ve._injector=(0,t.MMx)(ve.providers,Ce,`Route: ${ve.path}`)),ve._injector??Ce}function Ar(ve){const Ce=ve.children&&ve.children.map(Ar),ae=Ce?{...ve,children:Ce}:{...ve};return!ae.component&&!ae.loadComponent&&(Ce||ae.loadChildren)&&ae.outlet&&ae.outlet!==Y&&(ae.component=Tr),ae}function qn(ve){return ve.outlet||Y}function Yn(ve,Ce){const ae=ve.filter(ze=>qn(ze)===Ce);return ae.push(...ve.filter(ze=>qn(ze)!==Ce)),ae}function rr(ve){if(!ve)return null;if(ve.routeConfig?._injector)return ve.routeConfig._injector;for(let Ce=ve.parent;Ce;Ce=Ce.parent){const ae=Ce.routeConfig;if(ae?._loadedInjector)return ae._loadedInjector;if(ae?._injector)return ae._injector}return null}class ua{constructor(Ce,ae,ze,dt){this.routeReuseStrategy=Ce,this.futureState=ae,this.currState=ze,this.forwardEvent=dt}activate(Ce){const ae=this.futureState._root,ze=this.currState?this.currState._root:null;this.deactivateChildRoutes(ae,ze,Ce),Ea(this.futureState.root),this.activateChildRoutes(ae,ze,Ce)}deactivateChildRoutes(Ce,ae,ze){const dt=ta(ae);Ce.children.forEach(At=>{const Ft=At.value.outlet;this.deactivateRoutes(At,dt[Ft],ze),delete dt[Ft]}),Oe(dt,(At,Ft)=>{this.deactivateRouteAndItsChildren(At,ze)})}deactivateRoutes(Ce,ae,ze){const dt=Ce.value,At=ae?ae.value:null;if(dt===At)if(dt.component){const Ft=ze.getContext(dt.outlet);Ft&&this.deactivateChildRoutes(Ce,ae,Ft.children)}else this.deactivateChildRoutes(Ce,ae,ze);else At&&this.deactivateRouteAndItsChildren(ae,ze)}deactivateRouteAndItsChildren(Ce,ae){Ce.value.component&&this.routeReuseStrategy.shouldDetach(Ce.value.snapshot)?this.detachAndStoreRouteSubtree(Ce,ae):this.deactivateRouteAndOutlet(Ce,ae)}detachAndStoreRouteSubtree(Ce,ae){const ze=ae.getContext(Ce.value.outlet),dt=ze&&Ce.value.component?ze.children:ae,At=ta(Ce);for(const Ft of Object.keys(At))this.deactivateRouteAndItsChildren(At[Ft],dt);if(ze&&ze.outlet){const Ft=ze.outlet.detach(),mi=ze.children.onOutletDeactivated();this.routeReuseStrategy.store(Ce.value.snapshot,{componentRef:Ft,route:Ce,contexts:mi})}}deactivateRouteAndOutlet(Ce,ae){const ze=ae.getContext(Ce.value.outlet),dt=ze&&Ce.value.component?ze.children:ae,At=ta(Ce);for(const Ft of Object.keys(At))this.deactivateRouteAndItsChildren(At[Ft],dt);ze&&(ze.outlet&&(ze.outlet.deactivate(),ze.children.onOutletDeactivated()),ze.attachRef=null,ze.resolver=null,ze.route=null)}activateChildRoutes(Ce,ae,ze){const dt=ta(ae);Ce.children.forEach(At=>{this.activateRoutes(At,dt[At.value.outlet],ze),this.forwardEvent(new ui(At.value.snapshot))}),Ce.children.length&&this.forwardEvent(new Jt(Ce.value.snapshot))}activateRoutes(Ce,ae,ze){const dt=Ce.value,At=ae?ae.value:null;if(Ea(dt),dt===At)if(dt.component){const Ft=ze.getOrCreateContext(dt.outlet);this.activateChildRoutes(Ce,ae,Ft.children)}else this.activateChildRoutes(Ce,ae,ze);else if(dt.component){const Ft=ze.getOrCreateContext(dt.outlet);if(this.routeReuseStrategy.shouldAttach(dt.snapshot)){const mi=this.routeReuseStrategy.retrieve(dt.snapshot);this.routeReuseStrategy.store(dt.snapshot,null),Ft.children.onOutletReAttached(mi.contexts),Ft.attachRef=mi.componentRef,Ft.route=mi.route.value,Ft.outlet&&Ft.outlet.attach(mi.componentRef,mi.route.value),Ea(mi.route.value),this.activateChildRoutes(Ce,null,Ft.children)}else{const mi=rr(dt.snapshot),Ei=mi?.get(t._Vd)??null;Ft.attachRef=null,Ft.route=dt,Ft.resolver=Ei,Ft.injector=mi,Ft.outlet&&Ft.outlet.activateWith(dt,Ft.injector),this.activateChildRoutes(Ce,null,Ft.children)}}else this.activateChildRoutes(Ce,null,ze)}}class Dr{constructor(Ce){this.path=Ce,this.route=this.path[this.path.length-1]}}class Rt{constructor(Ce,ae){this.component=Ce,this.route=ae}}function fi(ve,Ce,ae){const ze=ve._root;return Li(ze,Ce?Ce._root:null,ae,[ze.value])}function oi(ve,Ce){const ae=Symbol(),ze=Ce.get(ve,ae);return ze===ae?"function"!=typeof ve||(0,t.Z0I)(ve)?Ce.get(ve):ve:ze}function Li(ve,Ce,ae,ze,dt={canDeactivateChecks:[],canActivateChecks:[]}){const At=ta(Ce);return ve.children.forEach(Ft=>{(function nn(ve,Ce,ae,ze,dt={canDeactivateChecks:[],canActivateChecks:[]}){const At=ve.value,Ft=Ce?Ce.value:null,mi=ae?ae.getContext(ve.value.outlet):null;if(Ft&&At.routeConfig===Ft.routeConfig){const Ei=function ia(ve,Ce,ae){if("function"==typeof ae)return ae(ve,Ce);switch(ae){case"pathParamsChange":return!Qe(ve.url,Ce.url);case"pathParamsOrQueryParamsChange":return!Qe(ve.url,Ce.url)||!we(ve.queryParams,Ce.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!So(ve,Ce)||!we(ve.queryParams,Ce.queryParams);default:return!So(ve,Ce)}}(Ft,At,At.routeConfig.runGuardsAndResolvers);Ei?dt.canActivateChecks.push(new Dr(ze)):(At.data=Ft.data,At._resolvedData=Ft._resolvedData),Li(ve,Ce,At.component?mi?mi.children:null:ae,ze,dt),Ei&&mi&&mi.outlet&&mi.outlet.isActivated&&dt.canDeactivateChecks.push(new Rt(mi.outlet.component,Ft))}else Ft&&fa(Ce,mi,dt),dt.canActivateChecks.push(new Dr(ze)),Li(ve,null,At.component?mi?mi.children:null:ae,ze,dt)})(Ft,At[Ft.value.outlet],ae,ze.concat([Ft.value]),dt),delete At[Ft.value.outlet]}),Oe(At,(Ft,mi)=>fa(Ft,ae.getContext(mi),dt)),dt}function fa(ve,Ce,ae){const ze=ta(ve),dt=ve.value;Oe(ze,(At,Ft)=>{fa(At,dt.component?Ce?Ce.children.getContext(Ft):null:Ce,ae)}),ae.canDeactivateChecks.push(new Rt(dt.component&&Ce&&Ce.outlet&&Ce.outlet.isActivated?Ce.outlet.component:null,dt))}function Gi(ve){return"function"==typeof ve}function ma(ve){return ve instanceof s.K||"EmptyError"===ve?.name}const Mi=Symbol("INITIAL_VALUE");function Tn(){return(0,W.w)(ve=>(0,C.a)(ve.map(Ce=>Ce.pipe((0,K.q)(1),(0,q.O)(Mi)))).pipe((0,Z.U)(Ce=>{for(const ae of Ce)if(!0!==ae){if(ae===Mi)return Mi;if(!1===ae||ae instanceof Ke)return ae}return!0}),(0,te.h)(Ce=>Ce!==Mi),(0,K.q)(1)))}function rs(ve){return(0,d.z)((0,ce.b)(Ce=>{if(_t(Ce))throw Gr(0,Ce)}),(0,Z.U)(Ce=>!0===Ce))}const Dn={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Oi(ve,Ce,ae,ze,dt){const At=Ka(ve,Ce,ae);return At.matched?function gr(ve,Ce,ae,ze){const dt=Ce.canMatch;if(!dt||0===dt.length)return(0,g.of)(!0);const At=dt.map(Ft=>{const mi=oi(Ft,ve);return fe(function It(ve){return ve&&Gi(ve.canMatch)}(mi)?mi.canMatch(Ce,ae):ve.runInContext(()=>mi(Ce,ae)))});return(0,g.of)(At).pipe(Tn(),rs())}(ze=mr(Ce,ze),Ce,ae).pipe((0,Z.U)(Ft=>!0===Ft?At:{...Dn})):(0,g.of)(At)}function Ka(ve,Ce,ae){if(""===Ce.path)return"full"===Ce.pathMatch&&(ve.hasChildren()||ae.length>0)?{...Dn}:{matched:!0,consumedSegments:[],remainingSegments:ae,parameters:{},positionalParamSegments:{}};const dt=(Ce.matcher||We)(ae,ve,Ce);if(!dt)return{...Dn};const At={};Oe(dt.posParams,(mi,Ei)=>{At[Ei]=mi.path});const Ft=dt.consumed.length>0?{...At,...dt.consumed[dt.consumed.length-1].parameters}:At;return{matched:!0,consumedSegments:dt.consumed,remainingSegments:ae.slice(dt.consumed.length),parameters:Ft,positionalParamSegments:dt.posParams??{}}}function _o(ve,Ce,ae,ze){if(ae.length>0&&function Vo(ve,Ce,ae){return ae.some(ze=>Ms(ve,Ce,ze)&&qn(ze)!==Y)}(ve,ae,ze)){const At=new at(Ce,function zo(ve,Ce,ae,ze){const dt={};dt[Y]=ze,ze._sourceSegment=ve,ze._segmentIndexShift=Ce.length;for(const At of ae)if(""===At.path&&qn(At)!==Y){const Ft=new at([],{});Ft._sourceSegment=ve,Ft._segmentIndexShift=Ce.length,dt[qn(At)]=Ft}return dt}(ve,Ce,ze,new at(ae,ve.children)));return At._sourceSegment=ve,At._segmentIndexShift=Ce.length,{segmentGroup:At,slicedSegments:[]}}if(0===ae.length&&function Zs(ve,Ce,ae){return ae.some(ze=>Ms(ve,Ce,ze))}(ve,ae,ze)){const At=new at(ve.segments,function Ni(ve,Ce,ae,ze,dt){const At={};for(const Ft of ze)if(Ms(ve,ae,Ft)&&!dt[qn(Ft)]){const mi=new at([],{});mi._sourceSegment=ve,mi._segmentIndexShift=Ce.length,At[qn(Ft)]=mi}return{...dt,...At}}(ve,Ce,ae,ze,ve.children));return At._sourceSegment=ve,At._segmentIndexShift=Ce.length,{segmentGroup:At,slicedSegments:ae}}const dt=new at(ve.segments,ve.children);return dt._sourceSegment=ve,dt._segmentIndexShift=Ce.length,{segmentGroup:dt,slicedSegments:ae}}function Ms(ve,Ce,ae){return(!(ve.hasChildren()||Ce.length>0)||"full"!==ae.pathMatch)&&""===ae.path}function os(ve,Ce,ae,ze){return!!(qn(ve)===ze||ze!==Y&&Ms(Ce,ae,ve))&&("**"===ve.path||Ka(Ce,ve,ae).matched)}function Eo(ve,Ce,ae){return 0===Ce.length&&!ve.children[ae]}const To=!1;class ss{constructor(Ce){this.segmentGroup=Ce||null}}class cc{constructor(Ce){this.urlTree=Ce}}function Qo(ve){return(0,M._)(new ss(ve))}function Ws(ve){return(0,M._)(new cc(ve))}class Na{constructor(Ce,ae,ze,dt,At){this.injector=Ce,this.configLoader=ae,this.urlSerializer=ze,this.urlTree=dt,this.config=At,this.allowRedirects=!0}apply(){const Ce=_o(this.urlTree.root,[],[],this.config).segmentGroup,ae=new at(Ce.segments,Ce.children);return this.expandSegmentGroup(this.injector,this.config,ae,Y).pipe((0,Z.U)(At=>this.createUrlTree(Xe(At),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,se.K)(At=>{if(At instanceof cc)return this.allowRedirects=!1,this.match(At.urlTree);throw At instanceof ss?this.noMatchError(At):At}))}match(Ce){return this.expandSegmentGroup(this.injector,this.config,Ce.root,Y).pipe((0,Z.U)(dt=>this.createUrlTree(Xe(dt),Ce.queryParams,Ce.fragment))).pipe((0,se.K)(dt=>{throw dt instanceof ss?this.noMatchError(dt):dt}))}noMatchError(Ce){return new t.vHH(4002,To)}createUrlTree(Ce,ae,ze){const dt=ft(Ce);return new Ke(dt,ae,ze)}expandSegmentGroup(Ce,ae,ze,dt){return 0===ze.segments.length&&ze.hasChildren()?this.expandChildren(Ce,ae,ze).pipe((0,Z.U)(At=>new at([],At))):this.expandSegment(Ce,ze,ae,ze.segments,dt,!0)}expandChildren(Ce,ae,ze){const dt=[];for(const At of Object.keys(ze.children))"primary"===At?dt.unshift(At):dt.push(At);return(0,e.D)(dt).pipe((0,re.b)(At=>{const Ft=ze.children[At],mi=Yn(ae,At);return this.expandSegmentGroup(Ce,mi,Ft,At).pipe((0,Z.U)(Ei=>({segment:Ei,outlet:At})))}),(0,he.R)((At,Ft)=>(At[Ft.outlet]=Ft.segment,At),{}),E())}expandSegment(Ce,ae,ze,dt,At,Ft){return(0,e.D)(ze).pipe((0,re.b)(mi=>this.expandSegmentAgainstRoute(Ce,ae,ze,mi,dt,At,Ft).pipe((0,se.K)(en=>{if(en instanceof ss)return(0,g.of)(null);throw en}))),(0,oe.P)(mi=>!!mi),(0,se.K)((mi,Ei)=>{if(ma(mi))return Eo(ae,dt,At)?(0,g.of)(new at([],{})):Qo(ae);throw mi}))}expandSegmentAgainstRoute(Ce,ae,ze,dt,At,Ft,mi){return os(dt,ae,At,Ft)?void 0===dt.redirectTo?this.matchSegmentAgainstRoute(Ce,ae,dt,At,Ft):mi&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(Ce,ae,ze,dt,At,Ft):Qo(ae):Qo(ae)}expandSegmentAgainstRouteUsingRedirect(Ce,ae,ze,dt,At,Ft){return"**"===dt.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(Ce,ze,dt,Ft):this.expandRegularSegmentAgainstRouteUsingRedirect(Ce,ae,ze,dt,At,Ft)}expandWildCardWithParamsAgainstRouteUsingRedirect(Ce,ae,ze,dt){const At=this.applyRedirectCommands([],ze.redirectTo,{});return ze.redirectTo.startsWith("/")?Ws(At):this.lineralizeSegments(ze,At).pipe((0,pe.z)(Ft=>{const mi=new at(Ft,{});return this.expandSegment(Ce,mi,ae,Ft,dt,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(Ce,ae,ze,dt,At,Ft){const{matched:mi,consumedSegments:Ei,remainingSegments:en,positionalParamSegments:on}=Ka(ae,dt,At);if(!mi)return Qo(ae);const In=this.applyRedirectCommands(Ei,dt.redirectTo,on);return dt.redirectTo.startsWith("/")?Ws(In):this.lineralizeSegments(dt,In).pipe((0,pe.z)(na=>this.expandSegment(Ce,ae,ze,na.concat(en),Ft,!1)))}matchSegmentAgainstRoute(Ce,ae,ze,dt,At){return"**"===ze.path?(Ce=mr(ze,Ce),ze.loadChildren?(ze._loadedRoutes?(0,g.of)({routes:ze._loadedRoutes,injector:ze._loadedInjector}):this.configLoader.loadChildren(Ce,ze)).pipe((0,Z.U)(mi=>(ze._loadedRoutes=mi.routes,ze._loadedInjector=mi.injector,new at(dt,{})))):(0,g.of)(new at(dt,{}))):Oi(ae,ze,dt,Ce).pipe((0,W.w)(({matched:Ft,consumedSegments:mi,remainingSegments:Ei})=>Ft?this.getChildConfig(Ce=ze._injector??Ce,ze,dt).pipe((0,pe.z)(on=>{const In=on.injector??Ce,na=on.routes,{segmentGroup:qo,slicedSegments:Lo}=_o(ae,mi,Ei,na),Uo=new at(qo.segments,qo.children);if(0===Lo.length&&Uo.hasChildren())return this.expandChildren(In,na,Uo).pipe((0,Z.U)(hc=>new at(mi,hc)));if(0===na.length&&0===Lo.length)return(0,g.of)(new at(mi,{}));const wr=qn(ze)===At;return this.expandSegment(In,Uo,na,Lo,wr?Y:At,!0).pipe((0,Z.U)(Yr=>new at(mi.concat(Yr.segments),Yr.children)))})):Qo(ae)))}getChildConfig(Ce,ae,ze){return ae.children?(0,g.of)({routes:ae.children,injector:Ce}):ae.loadChildren?void 0!==ae._loadedRoutes?(0,g.of)({routes:ae._loadedRoutes,injector:ae._loadedInjector}):function ws(ve,Ce,ae,ze){const dt=Ce.canLoad;if(void 0===dt||0===dt.length)return(0,g.of)(!0);const At=dt.map(Ft=>{const mi=oi(Ft,ve);return fe(function er(ve){return ve&&Gi(ve.canLoad)}(mi)?mi.canLoad(Ce,ae):ve.runInContext(()=>mi(Ce,ae)))});return(0,g.of)(At).pipe(Tn(),rs())}(Ce,ae,ze).pipe((0,pe.z)(dt=>dt?this.configLoader.loadChildren(Ce,ae).pipe((0,ce.b)(At=>{ae._loadedRoutes=At.routes,ae._loadedInjector=At.injector})):function Ss(ve){return(0,M._)(uo(To,3))}())):(0,g.of)({routes:[],injector:Ce})}lineralizeSegments(Ce,ae){let ze=[],dt=ae.root;for(;;){if(ze=ze.concat(dt.segments),0===dt.numberOfChildren)return(0,g.of)(ze);if(dt.numberOfChildren>1||!dt.children[Y])return Ce.redirectTo,(0,M._)(new t.vHH(4e3,To));dt=dt.children[Y]}}applyRedirectCommands(Ce,ae,ze){return this.applyRedirectCreateUrlTree(ae,this.urlSerializer.parse(ae),Ce,ze)}applyRedirectCreateUrlTree(Ce,ae,ze,dt){const At=this.createSegmentGroup(Ce,ae.root,ze,dt);return new Ke(At,this.createQueryParams(ae.queryParams,this.urlTree.queryParams),ae.fragment)}createQueryParams(Ce,ae){const ze={};return Oe(Ce,(dt,At)=>{if("string"==typeof dt&&dt.startsWith(":")){const mi=dt.substring(1);ze[At]=ae[mi]}else ze[At]=dt}),ze}createSegmentGroup(Ce,ae,ze,dt){const At=this.createSegments(Ce,ae.segments,ze,dt);let Ft={};return Oe(ae.children,(mi,Ei)=>{Ft[Ei]=this.createSegmentGroup(Ce,mi,ze,dt)}),new at(At,Ft)}createSegments(Ce,ae,ze,dt){return ae.map(At=>At.path.startsWith(":")?this.findPosParam(Ce,At,dt):this.findOrReturn(At,ze))}findPosParam(Ce,ae,ze){const dt=ze[ae.path.substring(1)];if(!dt)throw new t.vHH(4001,To);return dt}findOrReturn(Ce,ae){let ze=0;for(const dt of ae){if(dt.path===Ce.path)return ae.splice(ze),dt;ze++}return Ce}}class rn{}class pa{constructor(Ce,ae,ze,dt,At,Ft,mi){this.injector=Ce,this.rootComponentType=ae,this.config=ze,this.urlTree=dt,this.url=At,this.paramsInheritanceStrategy=Ft,this.urlSerializer=mi}recognize(){const Ce=_o(this.urlTree.root,[],[],this.config.filter(ae=>void 0===ae.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,Ce,Y).pipe((0,Z.U)(ae=>{if(null===ae)return null;const ze=new qr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Y,this.rootComponentType,null,this.urlTree.root,-1,{}),dt=new zn(ze,ae),At=new yr(this.url,dt);return this.inheritParamsAndData(At._root),At}))}inheritParamsAndData(Ce){const ae=Ce.value,ze=Ga(ae,this.paramsInheritanceStrategy);ae.params=Object.freeze(ze.params),ae.data=Object.freeze(ze.data),Ce.children.forEach(dt=>this.inheritParamsAndData(dt))}processSegmentGroup(Ce,ae,ze,dt){return 0===ze.segments.length&&ze.hasChildren()?this.processChildren(Ce,ae,ze):this.processSegment(Ce,ae,ze,ze.segments,dt)}processChildren(Ce,ae,ze){return(0,e.D)(Object.keys(ze.children)).pipe((0,re.b)(dt=>{const At=ze.children[dt],Ft=Yn(ae,dt);return this.processSegmentGroup(Ce,Ft,At,dt)}),(0,he.R)((dt,At)=>dt&&At?(dt.push(...At),dt):null),(0,D.o)(dt=>null!==dt),(0,l.d)(null),E(),(0,Z.U)(dt=>{if(null===dt)return null;const At=Zn(dt);return function Ts(ve){ve.sort((Ce,ae)=>Ce.value.outlet===Y?-1:ae.value.outlet===Y?1:Ce.value.outlet.localeCompare(ae.value.outlet))}(At),At}))}processSegment(Ce,ae,ze,dt,At){return(0,e.D)(ae).pipe((0,re.b)(Ft=>this.processSegmentAgainstRoute(Ft._injector??Ce,Ft,ze,dt,At)),(0,oe.P)(Ft=>!!Ft),(0,se.K)(Ft=>{if(ma(Ft))return Eo(ze,dt,At)?(0,g.of)([]):(0,g.of)(null);throw Ft}))}processSegmentAgainstRoute(Ce,ae,ze,dt,At){if(ae.redirectTo||!os(ae,ze,dt,At))return(0,g.of)(null);let Ft;if("**"===ae.path){const mi=dt.length>0?ee(dt).parameters:{},Ei=Ta(ze)+dt.length,en=new qr(dt,mi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,jn(ae),qn(ae),ae.component??ae._loadedComponent??null,ae,xa(ze),Ei,He(ae));Ft=(0,g.of)({snapshot:en,consumedSegments:[],remainingSegments:[]})}else Ft=Oi(ze,ae,dt,Ce).pipe((0,Z.U)(({matched:mi,consumedSegments:Ei,remainingSegments:en,parameters:on})=>{if(!mi)return null;const In=Ta(ze)+Ei.length;return{snapshot:new qr(Ei,on,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,jn(ae),qn(ae),ae.component??ae._loadedComponent??null,ae,xa(ze),In,He(ae)),consumedSegments:Ei,remainingSegments:en}}));return Ft.pipe((0,W.w)(mi=>{if(null===mi)return(0,g.of)(null);const{snapshot:Ei,consumedSegments:en,remainingSegments:on}=mi;Ce=ae._injector??Ce;const In=ae._loadedInjector??Ce,na=function Tc(ve){return ve.children?ve.children:ve.loadChildren?ve._loadedRoutes:[]}(ae),{segmentGroup:qo,slicedSegments:Lo}=_o(ze,en,on,na.filter(wr=>void 0===wr.redirectTo));if(0===Lo.length&&qo.hasChildren())return this.processChildren(In,na,qo).pipe((0,Z.U)(wr=>null===wr?null:[new zn(Ei,wr)]));if(0===na.length&&0===Lo.length)return(0,g.of)([new zn(Ei,[])]);const Uo=qn(ae)===At;return this.processSegment(In,na,qo,Lo,Uo?Y:At).pipe((0,Z.U)(wr=>null===wr?null:[new zn(Ei,wr)]))}))}}function lc(ve){const Ce=ve.value.routeConfig;return Ce&&""===Ce.path&&void 0===Ce.redirectTo}function Zn(ve){const Ce=[],ae=new Set;for(const ze of ve){if(!lc(ze)){Ce.push(ze);continue}const dt=Ce.find(At=>ze.value.routeConfig===At.value.routeConfig);void 0!==dt?(dt.children.push(...ze.children),ae.add(dt)):Ce.push(ze)}for(const ze of ae){const dt=Zn(ze.children);Ce.push(new zn(ze.value,dt))}return Ce.filter(ze=>!ae.has(ze))}function xa(ve){let Ce=ve;for(;Ce._sourceSegment;)Ce=Ce._sourceSegment;return Ce}function Ta(ve){let Ce=ve,ae=Ce._segmentIndexShift??0;for(;Ce._sourceSegment;)Ce=Ce._sourceSegment,ae+=Ce._segmentIndexShift??0;return ae-1}function jn(ve){return ve.data||{}}function He(ve){return ve.resolve||{}}function ai(ve){return"string"==typeof ve.title||null===ve.title}function ii(ve){return(0,W.w)(Ce=>{const ae=ve(Ce);return ae?(0,e.D)(ae).pipe((0,Z.U)(()=>Ce)):(0,g.of)(Ce)})}const wi=new t.OlP("ROUTES");let Ii=(()=>{class ve{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,t.f3M)(t.Sil)}loadComponent(ae){if(this.componentLoaders.get(ae))return this.componentLoaders.get(ae);if(ae._loadedComponent)return(0,g.of)(ae._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(ae);const ze=fe(ae.loadComponent()).pipe((0,Z.U)(Zi),(0,ce.b)(At=>{this.onLoadEndListener&&this.onLoadEndListener(ae),ae._loadedComponent=At}),(0,n.x)(()=>{this.componentLoaders.delete(ae)})),dt=new k.c(ze,()=>new O.x).pipe((0,b.x)());return this.componentLoaders.set(ae,dt),dt}loadChildren(ae,ze){if(this.childrenLoaders.get(ze))return this.childrenLoaders.get(ze);if(ze._loadedRoutes)return(0,g.of)({routes:ze._loadedRoutes,injector:ze._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(ze);const At=this.loadModuleFactoryOrRoutes(ze.loadChildren).pipe((0,Z.U)(mi=>{this.onLoadEndListener&&this.onLoadEndListener(ze);let Ei,en,on=!1;Array.isArray(mi)?en=mi:(Ei=mi.create(ae).injector,en=Ae(Ei.get(wi,[],t.XFs.Self|t.XFs.Optional)));return{routes:en.map(Ar),injector:Ei}}),(0,n.x)(()=>{this.childrenLoaders.delete(ze)})),Ft=new k.c(At,()=>new O.x).pipe((0,b.x)());return this.childrenLoaders.set(ze,Ft),Ft}loadModuleFactoryOrRoutes(ae){return fe(ae()).pipe((0,Z.U)(Zi),(0,pe.z)(ze=>ze instanceof t.YKP||Array.isArray(ze)?(0,g.of)(ze):(0,e.D)(this.compiler.compileModuleAsync(ze))))}}return ve.\u0275fac=function(ae){return new(ae||ve)},ve.\u0275prov=t.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();function Zi(ve){return function Ki(ve){return ve&&"object"==typeof ve&&"default"in ve}(ve)?ve.default:ve}let oa=(()=>{class ve{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new O.x,this.configLoader=(0,t.f3M)(Ii),this.environmentInjector=(0,t.f3M)(t.lqb),this.urlSerializer=(0,t.f3M)(J),this.rootContexts=(0,t.f3M)(Xa),this.navigationId=0,this.afterPreactivation=()=>(0,g.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=dt=>this.events.next(new Ua(dt)),this.configLoader.onLoadStartListener=dt=>this.events.next(new Wn(dt))}complete(){this.transitions?.complete()}handleNavigationRequest(ae){const ze=++this.navigationId;this.transitions?.next({...this.transitions.value,...ae,id:ze})}setupNavigations(ae){return this.transitions=new A.X({id:0,targetPageId:0,currentUrlTree:ae.currentUrlTree,currentRawUrl:ae.currentUrlTree,extractedUrl:ae.urlHandlingStrategy.extract(ae.currentUrlTree),urlAfterRedirects:ae.urlHandlingStrategy.extract(ae.currentUrlTree),rawUrl:ae.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Lt,restoredState:null,currentSnapshot:ae.routerState.snapshot,targetSnapshot:null,currentRouterState:ae.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,te.h)(ze=>0!==ze.id),(0,Z.U)(ze=>({...ze,extractedUrl:ae.urlHandlingStrategy.extract(ze.rawUrl)})),(0,W.w)(ze=>{let dt=!1,At=!1;return(0,g.of)(ze).pipe((0,ce.b)(Ft=>{this.currentNavigation={id:Ft.id,initialUrl:Ft.rawUrl,extractedUrl:Ft.extractedUrl,trigger:Ft.source,extras:Ft.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,W.w)(Ft=>{const mi=ae.browserUrlTree.toString(),Ei=!ae.navigated||Ft.extractedUrl.toString()!==mi||mi!==ae.currentUrlTree.toString();if(!Ei&&"reload"!==(Ft.extras.onSameUrlNavigation??ae.onSameUrlNavigation)){const on="";return this.events.next(new di(Ft.id,ae.serializeUrl(ze.rawUrl),on,0)),ae.rawUrlTree=Ft.rawUrl,Ft.resolve(null),I.E}if(ae.urlHandlingStrategy.shouldProcessUrl(Ft.rawUrl))return ga(Ft.source)&&(ae.browserUrlTree=Ft.extractedUrl),(0,g.of)(Ft).pipe((0,W.w)(on=>{const In=this.transitions?.getValue();return this.events.next(new Ot(on.id,this.urlSerializer.serialize(on.extractedUrl),on.source,on.restoredState)),In!==this.transitions?.getValue()?I.E:Promise.resolve(on)}),function no(ve,Ce,ae,ze){return(0,W.w)(dt=>function Es(ve,Ce,ae,ze,dt){return new Na(ve,Ce,ae,ze,dt).apply()}(ve,Ce,ae,dt.extractedUrl,ze).pipe((0,Z.U)(At=>({...dt,urlAfterRedirects:At}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,ae.config),(0,ce.b)(on=>{this.currentNavigation={...this.currentNavigation,finalUrl:on.urlAfterRedirects},ze.urlAfterRedirects=on.urlAfterRedirects}),function ne(ve,Ce,ae,ze,dt){return(0,pe.z)(At=>function Qa(ve,Ce,ae,ze,dt,At,Ft="emptyOnly"){return new pa(ve,Ce,ae,ze,dt,Ft,At).recognize().pipe((0,W.w)(mi=>null===mi?function Da(ve){return new w.y(Ce=>Ce.error(ve))}(new rn):(0,g.of)(mi)))}(ve,Ce,ae,At.urlAfterRedirects,ze.serialize(At.urlAfterRedirects),ze,dt).pipe((0,Z.U)(Ft=>({...At,targetSnapshot:Ft}))))}(this.environmentInjector,this.rootComponentType,ae.config,this.urlSerializer,ae.paramsInheritanceStrategy),(0,ce.b)(on=>{if(ze.targetSnapshot=on.targetSnapshot,"eager"===ae.urlUpdateStrategy){if(!on.extras.skipLocationChange){const na=ae.urlHandlingStrategy.merge(on.urlAfterRedirects,on.rawUrl);ae.setBrowserUrl(na,on)}ae.browserUrlTree=on.urlAfterRedirects}const In=new Qi(on.id,this.urlSerializer.serialize(on.extractedUrl),this.urlSerializer.serialize(on.urlAfterRedirects),on.targetSnapshot);this.events.next(In)}));if(Ei&&ae.urlHandlingStrategy.shouldProcessUrl(ae.rawUrlTree)){const{id:on,extractedUrl:In,source:na,restoredState:qo,extras:Lo}=Ft,Uo=new Ot(on,this.urlSerializer.serialize(In),na,qo);this.events.next(Uo);const wr=br(In,this.rootComponentType).snapshot;return ze={...Ft,targetSnapshot:wr,urlAfterRedirects:In,extras:{...Lo,skipLocationChange:!1,replaceUrl:!1}},(0,g.of)(ze)}{const on="";return this.events.next(new di(Ft.id,ae.serializeUrl(ze.extractedUrl),on,1)),ae.rawUrlTree=Ft.rawUrl,Ft.resolve(null),I.E}}),(0,ce.b)(Ft=>{const mi=new Vn(Ft.id,this.urlSerializer.serialize(Ft.extractedUrl),this.urlSerializer.serialize(Ft.urlAfterRedirects),Ft.targetSnapshot);this.events.next(mi)}),(0,Z.U)(Ft=>ze={...Ft,guards:fi(Ft.targetSnapshot,Ft.currentSnapshot,this.rootContexts)}),function Ho(ve,Ce){return(0,pe.z)(ae=>{const{targetSnapshot:ze,currentSnapshot:dt,guards:{canActivateChecks:At,canDeactivateChecks:Ft}}=ae;return 0===Ft.length&&0===At.length?(0,g.of)({...ae,guardsResult:!0}):function Gs(ve,Ce,ae,ze){return(0,e.D)(ve).pipe((0,pe.z)(dt=>function Ko(ve,Ce,ae,ze,dt){const At=Ce&&Ce.routeConfig?Ce.routeConfig.canDeactivate:null;if(!At||0===At.length)return(0,g.of)(!0);const Ft=At.map(mi=>{const Ei=rr(Ce)??dt,en=oi(mi,Ei);return fe(function Ue(ve){return ve&&Gi(ve.canDeactivate)}(en)?en.canDeactivate(ve,Ce,ae,ze):Ei.runInContext(()=>en(ve,Ce,ae,ze))).pipe((0,oe.P)())});return(0,g.of)(Ft).pipe(Tn())}(dt.component,dt.route,ae,Ce,ze)),(0,oe.P)(dt=>!0!==dt,!0))}(Ft,ze,dt,ve).pipe((0,pe.z)(mi=>mi&&function bn(ve){return"boolean"==typeof ve}(mi)?function Va(ve,Ce,ae,ze){return(0,e.D)(Ce).pipe((0,re.b)(dt=>(0,h.z)(function io(ve,Ce){return null!==ve&&Ce&&Ce(new qt(ve)),(0,g.of)(!0)}(dt.route.parent,ze),function Yo(ve,Ce){return null!==ve&&Ce&&Ce(new ni(ve)),(0,g.of)(!0)}(dt.route,ze),function jo(ve,Ce,ae){const ze=Ce[Ce.length-1],At=Ce.slice(0,Ce.length-1).reverse().map(Ft=>function yt(ve){const Ce=ve.routeConfig?ve.routeConfig.canActivateChild:null;return Ce&&0!==Ce.length?{node:ve,guards:Ce}:null}(Ft)).filter(Ft=>null!==Ft).map(Ft=>(0,P.P)(()=>{const mi=Ft.guards.map(Ei=>{const en=rr(Ft.node)??ae,on=oi(Ei,en);return fe(function it(ve){return ve&&Gi(ve.canActivateChild)}(on)?on.canActivateChild(ze,ve):en.runInContext(()=>on(ze,ve))).pipe((0,oe.P)())});return(0,g.of)(mi).pipe(Tn())}));return(0,g.of)(At).pipe(Tn())}(ve,dt.path,ae),function pr(ve,Ce,ae){const ze=Ce.routeConfig?Ce.routeConfig.canActivate:null;if(!ze||0===ze.length)return(0,g.of)(!0);const dt=ze.map(At=>(0,P.P)(()=>{const Ft=rr(Ce)??ae,mi=oi(At,Ft);return fe(function st(ve){return ve&&Gi(ve.canActivate)}(mi)?mi.canActivate(Ce,ve):Ft.runInContext(()=>mi(Ce,ve))).pipe((0,oe.P)())}));return(0,g.of)(dt).pipe(Tn())}(ve,dt.route,ae))),(0,oe.P)(dt=>!0!==dt,!0))}(ze,At,ve,Ce):(0,g.of)(mi)),(0,Z.U)(mi=>({...ae,guardsResult:mi})))})}(this.environmentInjector,Ft=>this.events.next(Ft)),(0,ce.b)(Ft=>{if(ze.guardsResult=Ft.guardsResult,_t(Ft.guardsResult))throw Gr(0,Ft.guardsResult);const mi=new Xn(Ft.id,this.urlSerializer.serialize(Ft.extractedUrl),this.urlSerializer.serialize(Ft.urlAfterRedirects),Ft.targetSnapshot,!!Ft.guardsResult);this.events.next(mi)}),(0,te.h)(Ft=>!!Ft.guardsResult||(ae.restoreHistory(Ft),this.cancelNavigationTransition(Ft,"",3),!1)),ii(Ft=>{if(Ft.guards.canActivateChecks.length)return(0,g.of)(Ft).pipe((0,ce.b)(mi=>{const Ei=new Ma(mi.id,this.urlSerializer.serialize(mi.extractedUrl),this.urlSerializer.serialize(mi.urlAfterRedirects),mi.targetSnapshot);this.events.next(Ei)}),(0,W.w)(mi=>{let Ei=!1;return(0,g.of)(mi).pipe(function $(ve,Ce){return(0,pe.z)(ae=>{const{targetSnapshot:ze,guards:{canActivateChecks:dt}}=ae;if(!dt.length)return(0,g.of)(ae);let At=0;return(0,e.D)(dt).pipe((0,re.b)(Ft=>function Me(ve,Ce,ae,ze){const dt=ve.routeConfig,At=ve._resolve;return void 0!==dt?.title&&!ai(dt)&&(At[Te]=dt.title),function tt(ve,Ce,ae,ze){const dt=function Ne(ve){return[...Object.keys(ve),...Object.getOwnPropertySymbols(ve)]}(ve);if(0===dt.length)return(0,g.of)({});const At={};return(0,e.D)(dt).pipe((0,pe.z)(Ft=>function kt(ve,Ce,ae,ze){const dt=rr(Ce)??ze,At=oi(ve,dt);return fe(At.resolve?At.resolve(Ce,ae):dt.runInContext(()=>At(Ce,ae)))}(ve[Ft],Ce,ae,ze).pipe((0,oe.P)(),(0,ce.b)(mi=>{At[Ft]=mi}))),a(1),(0,v.h)(At),(0,se.K)(Ft=>ma(Ft)?I.E:(0,M._)(Ft)))}(At,ve,Ce,ze).pipe((0,Z.U)(Ft=>(ve._resolvedData=Ft,ve.data=Ga(ve,ae).resolve,dt&&ai(dt)&&(ve.data[Te]=dt.title),null)))}(Ft.route,ze,ve,Ce)),(0,ce.b)(()=>At++),a(1),(0,pe.z)(Ft=>At===dt.length?(0,g.of)(ae):I.E))})}(ae.paramsInheritanceStrategy,this.environmentInjector),(0,ce.b)({next:()=>Ei=!0,complete:()=>{Ei||(ae.restoreHistory(mi),this.cancelNavigationTransition(mi,"",2))}}))}),(0,ce.b)(mi=>{const Ei=new Oa(mi.id,this.urlSerializer.serialize(mi.extractedUrl),this.urlSerializer.serialize(mi.urlAfterRedirects),mi.targetSnapshot);this.events.next(Ei)}))}),ii(Ft=>{const mi=Ei=>{const en=[];Ei.routeConfig?.loadComponent&&!Ei.routeConfig._loadedComponent&&en.push(this.configLoader.loadComponent(Ei.routeConfig).pipe((0,ce.b)(on=>{Ei.component=on}),(0,Z.U)(()=>{})));for(const on of Ei.children)en.push(...mi(on));return en};return(0,C.a)(mi(Ft.targetSnapshot.root)).pipe((0,l.d)(),(0,K.q)(1))}),ii(()=>this.afterPreactivation()),(0,Z.U)(Ft=>{const mi=function Za(ve,Ce,ae){const ze=Xr(ve,Ce._root,ae?ae._root:void 0);return new Sr(ze,Ce)}(ae.routeReuseStrategy,Ft.targetSnapshot,Ft.currentRouterState);return ze={...Ft,targetRouterState:mi}}),(0,ce.b)(Ft=>{ae.currentUrlTree=Ft.urlAfterRedirects,ae.rawUrlTree=ae.urlHandlingStrategy.merge(Ft.urlAfterRedirects,Ft.rawUrl),ae.routerState=Ft.targetRouterState,"deferred"===ae.urlUpdateStrategy&&(Ft.extras.skipLocationChange||ae.setBrowserUrl(ae.rawUrlTree,Ft),ae.browserUrlTree=Ft.urlAfterRedirects)}),((ve,Ce,ae)=>(0,Z.U)(ze=>(new ua(Ce,ze.targetRouterState,ze.currentRouterState,ae).activate(ve),ze)))(this.rootContexts,ae.routeReuseStrategy,Ft=>this.events.next(Ft)),(0,K.q)(1),(0,ce.b)({next:Ft=>{dt=!0,this.lastSuccessfulNavigation=this.currentNavigation,ae.navigated=!0,this.events.next(new _i(Ft.id,this.urlSerializer.serialize(Ft.extractedUrl),this.urlSerializer.serialize(ae.currentUrlTree))),ae.titleStrategy?.updateTitle(Ft.targetRouterState.snapshot),Ft.resolve(!0)},complete:()=>{dt=!0}}),(0,n.x)(()=>{dt||At||this.cancelNavigationTransition(ze,"",1),this.currentNavigation?.id===ze.id&&(this.currentNavigation=null)}),(0,se.K)(Ft=>{if(At=!0,fo(Ft)){Zr(Ft)||(ae.navigated=!0,ae.restoreHistory(ze,!0));const mi=new $t(ze.id,this.urlSerializer.serialize(ze.extractedUrl),Ft.message,Ft.cancellationCode);if(this.events.next(mi),Zr(Ft)){const Ei=ae.urlHandlingStrategy.merge(Ft.url,ae.rawUrlTree),en={skipLocationChange:ze.extras.skipLocationChange,replaceUrl:"eager"===ae.urlUpdateStrategy||ga(ze.source)};ae.scheduleNavigation(Ei,Lt,null,en,{resolve:ze.resolve,reject:ze.reject,promise:ze.promise})}else ze.resolve(!1)}else{ae.restoreHistory(ze,!0);const mi=new Xi(ze.id,this.urlSerializer.serialize(ze.extractedUrl),Ft,ze.targetSnapshot??void 0);this.events.next(mi);try{ze.resolve(ae.errorHandler(Ft))}catch(Ei){ze.reject(Ei)}}return I.E}))}))}cancelNavigationTransition(ae,ze,dt){const At=new $t(ae.id,this.urlSerializer.serialize(ae.extractedUrl),ze,dt);this.events.next(At),ae.resolve(!1)}}return ve.\u0275fac=function(ae){return new(ae||ve)},ve.\u0275prov=t.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();function ga(ve){return ve!==Lt}let Fa=(()=>{class ve{buildTitle(ae){let ze,dt=ae.root;for(;void 0!==dt;)ze=this.getResolvedTitleForRoute(dt)??ze,dt=dt.children.find(At=>At.outlet===Y);return ze}getResolvedTitleForRoute(ae){return ae.data[Te]}}return ve.\u0275fac=function(ae){return new(ae||ve)},ve.\u0275prov=t.Yz7({token:ve,factory:function(){return(0,t.f3M)(la)},providedIn:"root"}),ve})(),la=(()=>{class ve extends Fa{constructor(ae){super(),this.title=ae}updateTitle(ae){const ze=this.buildTitle(ae);void 0!==ze&&this.title.setTitle(ze)}}return ve.\u0275fac=function(ae){return new(ae||ve)(t.LFG(z.Dx))},ve.\u0275prov=t.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})(),da=(()=>{class ve{}return ve.\u0275fac=function(ae){return new(ae||ve)},ve.\u0275prov=t.Yz7({token:ve,factory:function(){return(0,t.f3M)(Ia)},providedIn:"root"}),ve})();class sa{shouldDetach(Ce){return!1}store(Ce,ae){}shouldAttach(Ce){return!1}retrieve(Ce){return null}shouldReuseRoute(Ce,ae){return Ce.routeConfig===ae.routeConfig}}let Ia=(()=>{class ve extends sa{}return ve.\u0275fac=function(){let Ce;return function(ze){return(Ce||(Ce=t.n5z(ve)))(ze||ve)}}(),ve.\u0275prov=t.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();const xr=new t.OlP("",{providedIn:"root",factory:()=>({})});let or=(()=>{class ve{}return ve.\u0275fac=function(ae){return new(ae||ve)},ve.\u0275prov=t.Yz7({token:ve,factory:function(){return(0,t.f3M)(ao)},providedIn:"root"}),ve})(),ao=(()=>{class ve{shouldProcessUrl(ae){return!0}extract(ae){return ae}merge(ae,ze){return ae}}return ve.\u0275fac=function(ae){return new(ae||ve)},ve.\u0275prov=t.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();function nl(ve){throw ve}function Bo(ve,Ce,ae){return Ce.parse("/")}const kl={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Ac={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Cr=(()=>{class ve{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){if("computed"===this.canceledNavigationResolution)return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,t.f3M)(t.c2e),this.isNgZoneEnabled=!1,this.options=(0,t.f3M)(xr,{optional:!0})||{},this.errorHandler=this.options.errorHandler||nl,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||Bo,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,t.f3M)(or),this.routeReuseStrategy=(0,t.f3M)(da),this.urlCreationStrategy=(0,t.f3M)(ba),this.titleStrategy=(0,t.f3M)(Fa),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=Ae((0,t.f3M)(wi,{optional:!0})??[]),this.navigationTransitions=(0,t.f3M)(oa),this.urlSerializer=(0,t.f3M)(J),this.location=(0,t.f3M)(U.Ye),this.isNgZoneEnabled=(0,t.f3M)(t.R0b)instanceof t.R0b&&t.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new Ke,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=br(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(ae=>{this.lastSuccessfulId=ae.id,this.currentPageId=this.browserPageId??0},ae=>{this.console.warn(`Unhandled Navigation Error: ${ae}`)})}resetRootComponentType(ae){this.routerState.root.component=ae,this.navigationTransitions.rootComponentType=ae}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const ae=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),Lt,ae)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(ae=>{const ze="popstate"===ae.type?"popstate":"hashchange";"popstate"===ze&&setTimeout(()=>{this.navigateToSyncWithBrowser(ae.url,ze,ae.state)},0)}))}navigateToSyncWithBrowser(ae,ze,dt){const At={replaceUrl:!0},Ft=dt?.navigationId?dt:null;if(dt){const Ei={...dt};delete Ei.navigationId,delete Ei.\u0275routerPageId,0!==Object.keys(Ei).length&&(At.state=Ei)}const mi=this.parseUrl(ae);this.scheduleNavigation(mi,ze,Ft,At)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(ae){this.config=ae.map(Ar),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(ae,ze={}){const{relativeTo:dt,queryParams:At,fragment:Ft,queryParamsHandling:mi,preserveFragment:Ei}=ze,en=Ei?this.currentUrlTree.fragment:Ft;let on=null;switch(mi){case"merge":on={...this.currentUrlTree.queryParams,...At};break;case"preserve":on=this.currentUrlTree.queryParams;break;default:on=At||null}return null!==on&&(on=this.removeEmptyProps(on)),this.urlCreationStrategy.createUrlTree(dt,this.routerState,this.currentUrlTree,ae,on,en??null)}navigateByUrl(ae,ze={skipLocationChange:!1}){const dt=_t(ae)?ae:this.parseUrl(ae),At=this.urlHandlingStrategy.merge(dt,this.rawUrlTree);return this.scheduleNavigation(At,Lt,null,ze)}navigate(ae,ze={skipLocationChange:!1}){return function Ol(ve){for(let Ce=0;Ce<ve.length;Ce++){const ae=ve[Ce];if(null==ae)throw new t.vHH(4008,false)}}(ae),this.navigateByUrl(this.createUrlTree(ae,ze),ze)}serializeUrl(ae){return this.urlSerializer.serialize(ae)}parseUrl(ae){let ze;try{ze=this.urlSerializer.parse(ae)}catch(dt){ze=this.malformedUriErrorHandler(dt,this.urlSerializer,ae)}return ze}isActive(ae,ze){let dt;if(dt=!0===ze?{...kl}:!1===ze?{...Ac}:ze,_t(ae))return vt(this.currentUrlTree,ae,dt);const At=this.parseUrl(ae);return vt(this.currentUrlTree,At,dt)}removeEmptyProps(ae){return Object.keys(ae).reduce((ze,dt)=>{const At=ae[dt];return null!=At&&(ze[dt]=At),ze},{})}scheduleNavigation(ae,ze,dt,At,Ft){if(this.disposed)return Promise.resolve(!1);let mi,Ei,en,on;return Ft?(mi=Ft.resolve,Ei=Ft.reject,en=Ft.promise):en=new Promise((In,na)=>{mi=In,Ei=na}),on="computed"===this.canceledNavigationResolution?dt&&dt.\u0275routerPageId?dt.\u0275routerPageId:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:on,source:ze,restoredState:dt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:ae,extras:At,resolve:mi,reject:Ei,promise:en,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),en.catch(In=>Promise.reject(In))}setBrowserUrl(ae,ze){const dt=this.urlSerializer.serialize(ae);if(this.location.isCurrentPathEqualTo(dt)||ze.extras.replaceUrl){const Ft={...ze.extras.state,...this.generateNgRouterState(ze.id,this.browserPageId)};this.location.replaceState(dt,"",Ft)}else{const At={...ze.extras.state,...this.generateNgRouterState(ze.id,ze.targetPageId)};this.location.go(dt,"",At)}}restoreHistory(ae,ze=!1){if("computed"===this.canceledNavigationResolution){const At=this.currentPageId-(this.browserPageId??this.currentPageId);0!==At?this.location.historyGo(At):this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===At&&(this.resetState(ae),this.browserUrlTree=ae.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(ze&&this.resetState(ae),this.resetUrlToCurrentUrlTree())}resetState(ae){this.routerState=ae.currentRouterState,this.currentUrlTree=ae.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,ae.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(ae,ze){return"computed"===this.canceledNavigationResolution?{navigationId:ae,\u0275routerPageId:ze}:{navigationId:ae}}}return ve.\u0275fac=function(ae){return new(ae||ve)},ve.\u0275prov=t.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})(),As=(()=>{class ve{constructor(ae,ze,dt,At,Ft,mi){this.router=ae,this.route=ze,this.tabIndexAttribute=dt,this.renderer=At,this.el=Ft,this.locationStrategy=mi,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new O.x;const Ei=Ft.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Ei||"area"===Ei,this.isAnchorElement?this.subscription=ae.events.subscribe(en=>{en instanceof _i&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(ae){this._preserveFragment=(0,t.D6c)(ae)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(ae){this._skipLocationChange=(0,t.D6c)(ae)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(ae){this._replaceUrl=(0,t.D6c)(ae)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(ae){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ae)}ngOnChanges(ae){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(ae){null!=ae?(this.commands=Array.isArray(ae)?ae:[ae],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(ae,ze,dt,At,Ft){return!!(null===this.urlTree||this.isAnchorElement&&(0!==ae||ze||dt||At||Ft||"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 ae=null===this.href?null:(0,t.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",ae)}applyAttributeValue(ae,ze){const dt=this.renderer,At=this.el.nativeElement;null!==ze?dt.setAttribute(At,ae,ze):dt.removeAttribute(At,ae)}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 ve.\u0275fac=function(ae){return new(ae||ve)(t.Y36(Cr),t.Y36(Qn),t.$8M("tabindex"),t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(U.S$))},ve.\u0275dir=t.lG2({type:ve,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(ae,ze){1&ae&&t.NdJ("click",function(At){return ze.onClick(At.button,At.ctrlKey,At.shiftKey,At.altKey,At.metaKey)}),2&ae&&t.uIk("target",ze.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]}),ve})(),Lc=(()=>{class ve{get isActive(){return this._isActive}constructor(ae,ze,dt,At,Ft){this.router=ae,this.element=ze,this.renderer=dt,this.cdr=At,this.link=Ft,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new t.vpe,this.routerEventsSubscription=ae.events.subscribe(mi=>{mi instanceof _i&&this.update()})}ngAfterContentInit(){(0,g.of)(this.links.changes,(0,g.of)(null)).pipe((0,V.J)()).subscribe(ae=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const ae=[...this.links.toArray(),this.link].filter(ze=>!!ze).map(ze=>ze.onChanges);this.linkInputChangesSubscription=(0,e.D)(ae).pipe((0,V.J)()).subscribe(ze=>{this._isActive!==this.isLinkActive(this.router)(ze)&&this.update()})}set routerLinkActive(ae){const ze=Array.isArray(ae)?ae:ae.split(" ");this.classes=ze.filter(dt=>!!dt)}ngOnChanges(ae){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const ae=this.hasActiveLinks();this._isActive!==ae&&(this._isActive=ae,this.cdr.markForCheck(),this.classes.forEach(ze=>{ae?this.renderer.addClass(this.element.nativeElement,ze):this.renderer.removeClass(this.element.nativeElement,ze)}),ae&&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(ae))})}isLinkActive(ae){const ze=function al(ve){return!!ve.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return dt=>!!dt.urlTree&&ae.isActive(dt.urlTree,ze)}hasActiveLinks(){const ae=this.isLinkActive(this.router);return this.link&&ae(this.link)||this.links.some(ae)}}return ve.\u0275fac=function(ae){return new(ae||ve)(t.Y36(Cr),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(As,8))},ve.\u0275dir=t.lG2({type:ve,selectors:[["","routerLinkActive",""]],contentQueries:function(ae,ze,dt){if(1&ae&&t.Suo(dt,As,5),2&ae){let At;t.iGM(At=t.CRH())&&(ze.links=At)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[t.TTD]}),ve})();class rl{}let Pl=(()=>{class ve{constructor(ae,ze,dt,At,Ft){this.router=ae,this.injector=dt,this.preloadingStrategy=At,this.loader=Ft}setUpPreloading(){this.subscription=this.router.events.pipe((0,te.h)(ae=>ae instanceof _i),(0,re.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ae,ze){const dt=[];for(const At of ze){At.providers&&!At._injector&&(At._injector=(0,t.MMx)(At.providers,ae,`Route: ${At.path}`));const Ft=At._injector??ae,mi=At._loadedInjector??Ft;(At.loadChildren&&!At._loadedRoutes&&void 0===At.canLoad||At.loadComponent&&!At._loadedComponent)&&dt.push(this.preloadConfig(Ft,At)),(At.children||At._loadedRoutes)&&dt.push(this.processRoutes(mi,At.children??At._loadedRoutes))}return(0,e.D)(dt).pipe((0,V.J)())}preloadConfig(ae,ze){return this.preloadingStrategy.preload(ze,()=>{let dt;dt=ze.loadChildren&&void 0===ze.canLoad?this.loader.loadChildren(ae,ze):(0,g.of)(null);const At=dt.pipe((0,pe.z)(Ft=>null===Ft?(0,g.of)(void 0):(ze._loadedRoutes=Ft.routes,ze._loadedInjector=Ft.injector,this.processRoutes(Ft.injector??ae,Ft.routes))));if(ze.loadComponent&&!ze._loadedComponent){const Ft=this.loader.loadComponent(ze);return(0,e.D)([At,Ft]).pipe((0,V.J)())}return At})}}return ve.\u0275fac=function(ae){return new(ae||ve)(t.LFG(Cr),t.LFG(t.Sil),t.LFG(t.lqb),t.LFG(rl),t.LFG(Ii))},ve.\u0275prov=t.Yz7({token:ve,factory:ve.\u0275fac,providedIn:"root"}),ve})();const Dc=new t.OlP("");let js=(()=>{class ve{constructor(ae,ze,dt,At,Ft={}){this.urlSerializer=ae,this.transitions=ze,this.viewportScroller=dt,this.zone=At,this.options=Ft,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Ft.scrollPositionRestoration=Ft.scrollPositionRestoration||"disabled",Ft.anchorScrolling=Ft.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(ae=>{ae instanceof Ot?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ae.navigationTrigger,this.restoredId=ae.restoredState?ae.restoredState.navigationId:0):ae instanceof _i&&(this.lastId=ae.id,this.scheduleScrollEvent(ae,this.urlSerializer.parse(ae.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ae=>{ae instanceof Di&&(ae.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ae.position):ae.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ae.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ae,ze){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Di(ae,"popstate"===this.lastSource?this.store[this.restoredId]:null,ze))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return ve.\u0275fac=function(ae){t.$Z()},ve.\u0275prov=t.Yz7({token:ve,factory:ve.\u0275fac}),ve})();var tr=(()=>((tr=tr||{})[tr.COMPLETE=0]="COMPLETE",tr[tr.FAILED=1]="FAILED",tr[tr.REDIRECTING=2]="REDIRECTING",tr))();const Ls=!1;function Ir(ve,Ce){return{\u0275kind:ve,\u0275providers:Ce}}const Ic=new t.OlP("",{providedIn:"root",factory:()=>!1});function dc(){const ve=(0,t.f3M)(t.zs3);return Ce=>{const ae=ve.get(t.z2F);if(Ce!==ae.components[0])return;const ze=ve.get(Cr),dt=ve.get(Ds);1===ve.get(oo)&&ze.initialNavigation(),ve.get(cs,null,t.XFs.Optional)?.setUpPreloading(),ve.get(Dc,null,t.XFs.Optional)?.init(),ze.resetRootComponentType(ae.componentTypes[0]),dt.closed||(dt.next(),dt.complete(),dt.unsubscribe())}}const Ds=new t.OlP(Ls?"bootstrap done indicator":"",{factory:()=>new O.x}),oo=new t.OlP(Ls?"initial navigation":"",{providedIn:"root",factory:()=>1});function sl(){let ve=[];return ve=Ls?[{provide:t.Xts,multi:!0,useFactory:()=>{const Ce=(0,t.f3M)(Cr);return()=>Ce.events.subscribe(ae=>{console.group?.(`Router Event: ${ae.constructor.name}`),console.log(function Hi(ve){if(!("type"in ve))return`Unknown Router Event: ${ve.constructor.name}`;switch(ve.type){case 14:return`ActivationEnd(path: '${ve.snapshot.routeConfig?.path||""}')`;case 13:return`ActivationStart(path: '${ve.snapshot.routeConfig?.path||""}')`;case 12:return`ChildActivationEnd(path: '${ve.snapshot.routeConfig?.path||""}')`;case 11:return`ChildActivationStart(path: '${ve.snapshot.routeConfig?.path||""}')`;case 8:return`GuardsCheckEnd(id: ${ve.id}, url: '${ve.url}', urlAfterRedirects: '${ve.urlAfterRedirects}', state: ${ve.state}, shouldActivate: ${ve.shouldActivate})`;case 7:return`GuardsCheckStart(id: ${ve.id}, url: '${ve.url}', urlAfterRedirects: '${ve.urlAfterRedirects}', state: ${ve.state})`;case 2:return`NavigationCancel(id: ${ve.id}, url: '${ve.url}')`;case 16:return`NavigationSkipped(id: ${ve.id}, url: '${ve.url}')`;case 1:return`NavigationEnd(id: ${ve.id}, url: '${ve.url}', urlAfterRedirects: '${ve.urlAfterRedirects}')`;case 3:return`NavigationError(id: ${ve.id}, url: '${ve.url}', error: ${ve.error})`;case 0:return`NavigationStart(id: ${ve.id}, url: '${ve.url}')`;case 6:return`ResolveEnd(id: ${ve.id}, url: '${ve.url}', urlAfterRedirects: '${ve.urlAfterRedirects}', state: ${ve.state})`;case 5:return`ResolveStart(id: ${ve.id}, url: '${ve.url}', urlAfterRedirects: '${ve.urlAfterRedirects}', state: ${ve.state})`;case 10:return`RouteConfigLoadEnd(path: ${ve.route.path})`;case 9:return`RouteConfigLoadStart(path: ${ve.route.path})`;case 4:return`RoutesRecognized(id: ${ve.id}, url: '${ve.url}', urlAfterRedirects: '${ve.urlAfterRedirects}', state: ${ve.state})`;case 15:return`Scroll(anchor: '${ve.anchor}', position: '${ve.position?`${ve.position[0]}, ${ve.position[1]}`:null}')`}}(ae)),console.log(ae),console.groupEnd?.()})}}]:[],Ir(1,ve)}const cs=new t.OlP(Ls?"router preloader":"");function jd(ve){return Ir(0,[{provide:cs,useExisting:Pl},{provide:rl,useExisting:ve}])}const kc=!1,O1=new t.OlP(kc?"router duplicate forRoot guard":"ROUTER_FORROOT_GUARD"),P1=[U.Ye,{provide:J,useClass:mt},Cr,Xa,{provide:Qn,useFactory:function ro(ve){return ve.routerState.root},deps:[Cr]},Ii,kc?{provide:Ic,useValue:!0}:[]];function ls(){return new t.PXZ("Router",Cr)}let Kd=(()=>{class ve{constructor(ae){}static forRoot(ae,ze){return{ngModule:ve,providers:[P1,kc&&ze?.enableTracing?sl().\u0275providers:[],{provide:wi,multi:!0,useValue:ae},{provide:O1,useFactory:sr,deps:[[Cr,new t.FiY,new t.tp0]]},{provide:xr,useValue:ze||{}},ze?.useHash?{provide:U.S$,useClass:U.Do}:{provide:U.S$,useClass:U.b0},{provide:Dc,useFactory:()=>{const ve=(0,t.f3M)(U.EM),Ce=(0,t.f3M)(t.R0b),ae=(0,t.f3M)(xr),ze=(0,t.f3M)(oa),dt=(0,t.f3M)(J);return ae.scrollOffset&&ve.setOffset(ae.scrollOffset),new js(dt,ze,ve,Ce,ae)}},ze?.preloadingStrategy?jd(ze.preloadingStrategy).\u0275providers:[],{provide:t.PXZ,multi:!0,useFactory:ls},ze?.initialNavigation?Oc(ze):[],[{provide:qs,useFactory:dc},{provide:t.tb,multi:!0,useExisting:qs}]]}}static forChild(ae){return{ngModule:ve,providers:[{provide:wi,multi:!0,useValue:ae}]}}}return ve.\u0275fac=function(ae){return new(ae||ve)(t.LFG(O1,8))},ve.\u0275mod=t.oAB({type:ve}),ve.\u0275inj=t.cJS({imports:[Tr]}),ve})();function sr(ve){if(kc&&ve)throw new t.vHH(4007,"The Router was provided more than once. This can happen if 'forRoot' is used outside of the root injector. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Oc(ve){return["disabled"===ve.initialNavigation?Ir(3,[{provide:t.ip1,multi:!0,useFactory:()=>{const Ce=(0,t.f3M)(Cr);return()=>{Ce.setUpLocationChangeListener()}}},{provide:oo,useValue:2}]).\u0275providers:[],"enabledBlocking"===ve.initialNavigation?Ir(2,[{provide:oo,useValue:0},{provide:t.ip1,multi:!0,deps:[t.zs3],useFactory:Ce=>{const ae=Ce.get(U.V_,Promise.resolve());return()=>ae.then(()=>new Promise(ze=>{const dt=Ce.get(Cr),At=Ce.get(Ds);(function Rl(ve,Ce){ve.events.pipe((0,te.h)(ae=>ae instanceof _i||ae instanceof $t||ae instanceof Xi||ae instanceof di),(0,Z.U)(ae=>ae instanceof _i||ae instanceof di?tr.COMPLETE:ae instanceof $t&&(0===ae.code||1===ae.code)?tr.REDIRECTING:tr.FAILED),(0,te.h)(ae=>ae!==tr.REDIRECTING),(0,K.q)(1)).subscribe(()=>{Ce()})})(dt,()=>{ze(!0)}),Ce.get(oa).afterPreactivation=()=>(ze(!0),At.closed?(0,g.of)(void 0):At),dt.initialNavigation()}))}}]).\u0275providers:[]]}const qs=new t.OlP(kc?"Router Initializer":"")},2216:(Be,Q,m)=>{"use strict";m.d(Q,{BN:()=>Zn,uH:()=>He});var t=m(4650);function e(ne,$){var Me=Object.keys(ne);if(Object.getOwnPropertySymbols){var tt=Object.getOwnPropertySymbols(ne);$&&(tt=tt.filter(function(Ne){return Object.getOwnPropertyDescriptor(ne,Ne).enumerable})),Me.push.apply(Me,tt)}return Me}function g(ne){for(var $=1;$<arguments.length;$++){var Me=null!=arguments[$]?arguments[$]:{};$%2?e(Object(Me),!0).forEach(function(tt){d(ne,tt,Me[tt])}):Object.getOwnPropertyDescriptors?Object.defineProperties(ne,Object.getOwnPropertyDescriptors(Me)):e(Object(Me)).forEach(function(tt){Object.defineProperty(ne,tt,Object.getOwnPropertyDescriptor(Me,tt))})}return ne}function A(ne){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function($){return typeof $}:function($){return $&&"function"==typeof Symbol&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $})(ne)}function h(ne,$){for(var Me=0;Me<$.length;Me++){var tt=$[Me];tt.enumerable=tt.enumerable||!1,tt.configurable=!0,"value"in tt&&(tt.writable=!0),Object.defineProperty(ne,tt.key,tt)}}function d(ne,$,Me){return $ in ne?Object.defineProperty(ne,$,{value:Me,enumerable:!0,configurable:!0,writable:!0}):ne[$]=Me,ne}function I(ne,$){return function U(ne){if(Array.isArray(ne))return ne}(ne)||function W(ne,$){var Me=null==ne?null:typeof Symbol<"u"&&ne[Symbol.iterator]||ne["@@iterator"];if(null!=Me){var ai,ii,tt=[],Ne=!0,kt=!1;try{for(Me=Me.call(ne);!(Ne=(ai=Me.next()).done)&&(tt.push(ai.value),!$||tt.length!==$);Ne=!0);}catch(gi){kt=!0,ii=gi}finally{try{!Ne&&null!=Me.return&&Me.return()}finally{if(kt)throw ii}}return tt}}(ne,$)||K(ne,$)||function pe(){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 k(ne){return function O(ne){if(Array.isArray(ne))return q(ne)}(ne)||function Z(ne){if(typeof Symbol<"u"&&null!=ne[Symbol.iterator]||null!=ne["@@iterator"])return Array.from(ne)}(ne)||K(ne)||function te(){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 K(ne,$){if(ne){if("string"==typeof ne)return q(ne,$);var Me=Object.prototype.toString.call(ne).slice(8,-1);if("Object"===Me&&ne.constructor&&(Me=ne.constructor.name),"Map"===Me||"Set"===Me)return Array.from(ne);if("Arguments"===Me||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Me))return q(ne,$)}}function q(ne,$){(null==$||$>ne.length)&&($=ne.length);for(var Me=0,tt=new Array($);Me<$;Me++)tt[Me]=ne[Me];return tt}var oe=function(){},re={},ce={},se=null,he={mark:oe,measure:oe};try{typeof window<"u"&&(re=window),typeof document<"u"&&(ce=document),typeof MutationObserver<"u"&&(se=MutationObserver),typeof performance<"u"&&(he=performance)}catch{}var b,V,z,Y,Te,i=(re.navigator||{}).userAgent,a=void 0===i?"":i,f=re,l=ce,y=se,E=he,v=!!l.documentElement&&!!l.head&&"function"==typeof l.addEventListener&&"function"==typeof l.createElement,n=~a.indexOf("MSIE")||~a.indexOf("Trident/"),$e="___FONT_AWESOME___",Ve=16,We="fa",Re="svg-inline--fa",we="data-fa-i2svg",me="data-fa-pseudo-element",Ae="data-fa-pseudo-element-pending",ee="data-prefix",Ze="data-icon",Oe="fontawesome-i2svg",fe="async",Se=["HTML","HEAD","STYLE","SCRIPT"],ge=function(){try{return!0}catch{return!1}}(),xe="classic",vt="sharp",Ie=[xe,vt];function de(ne){return new Proxy(ne,{get:function(Me,tt){return tt in Me?Me[tt]:Me[xe]}})}var rt=de((d(b={},xe,{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,vt,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light"}),b)),je=de((d(V={},xe,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),d(V,vt,{solid:"fass",regular:"fasr",light:"fasl"}),V)),lt=de((d(z={},xe,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),d(z,vt,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light"}),z)),Nt=de((d(Y={},xe,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),d(Y,vt,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl"}),Y)),Ke=/fa(s|r|l|t|d|b|k|ss|sr|sl)?[\-\ ]/,at="fa-layers-text",Ct=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,ye=de((d(Te={},xe,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),d(Te,vt,{900:"fass",400:"fasr",300:"fasl"}),Te)),Qe=[1,2,3,4,5,6,7,8,9,10],Le=Qe.concat([11,12,13,14,15,16,17,18,19,20]),J=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],mt={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},St=new Set;Object.keys(je[xe]).map(St.add.bind(St)),Object.keys(je[vt]).map(St.add.bind(St));var nt=[].concat(Ie,k(St),["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",mt.GROUP,mt.SWAP_OPACITY,mt.PRIMARY,mt.SECONDARY]).concat(Qe.map(function(ne){return"".concat(ne,"x")})).concat(Le.map(function(ne){return"w-".concat(ne)})),Ye=f.FontAwesomeConfig||{};l&&"function"==typeof l.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(ne){var $=I(ne,2),tt=$[1],Ne=function xt(ne){return""===ne||"false"!==ne&&("true"===ne||ne)}(function zt(ne){var $=l.querySelector("script["+ne+"]");if($)return $.getAttribute(ne)}($[0]));null!=Ne&&(Ye[tt]=Ne)});var Ut={styleDefault:"solid",familyDefault:"classic",cssPrefix:We,replacementClass:Re,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ye.familyPrefix&&(Ye.cssPrefix=Ye.familyPrefix);var De=g(g({},Ut),Ye);De.autoReplaceSvg||(De.observeMutations=!1);var X={};Object.keys(Ut).forEach(function(ne){Object.defineProperty(X,ne,{enumerable:!0,set:function(Me){De[ne]=Me,ue.forEach(function(tt){return tt(X)})},get:function(){return De[ne]}})}),Object.defineProperty(X,"familyPrefix",{enumerable:!0,set:function($){De.cssPrefix=$,ue.forEach(function(Me){return Me(X)})},get:function(){return De.cssPrefix}}),f.FontAwesomeConfig=X;var ue=[],qe=Ve,Xt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1},ri="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function pt(){for(var ne=12,$="";ne-- >0;)$+=ri[62*Math.random()|0];return $}function ot(ne){for(var $=[],Me=(ne||[]).length>>>0;Me--;)$[Me]=ne[Me];return $}function ut(ne){return ne.classList?ot(ne.classList):(ne.getAttribute("class")||"").split(" ").filter(function($){return $})}function wt(ne){return"".concat(ne).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Xe(ne){return Object.keys(ne||{}).reduce(function($,Me){return $+"".concat(Me,": ").concat(ne[Me].trim(),";")},"")}function gt(ne){return ne.size!==Xt.size||ne.x!==Xt.x||ne.y!==Xt.y||ne.rotate!==Xt.rotate||ne.flipX||ne.flipY}var Mt=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, 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}';function Et(){var ne=We,$=Re,Me=X.cssPrefix,tt=X.replacementClass,Ne=Mt;if(Me!==ne||tt!==$){var kt=new RegExp("\\.".concat(ne,"\\-"),"g"),ai=new RegExp("\\--".concat(ne,"\\-"),"g"),ii=new RegExp("\\.".concat($),"g");Ne=Ne.replace(kt,".".concat(Me,"-")).replace(ai,"--".concat(Me,"-")).replace(ii,".".concat(tt))}return Ne}var Yt=!1;function Fi(){X.autoAddCss&&!Yt&&(function Vt(ne){if(ne&&v){var $=l.createElement("style");$.setAttribute("type","text/css"),$.innerHTML=ne;for(var Me=l.head.childNodes,tt=null,Ne=Me.length-1;Ne>-1;Ne--){var kt=Me[Ne],ai=(kt.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(ai)>-1&&(tt=kt)}l.head.insertBefore($,tt)}}(Et()),Yt=!0)}var Ri={mixout:function(){return{dom:{css:Et,insertCss:Fi}}},hooks:function(){return{beforeDOMElementCreation:function(){Fi()},beforeI2svg:function(){Fi()}}}},Ci=f||{};Ci[$e]||(Ci[$e]={}),Ci[$e].styles||(Ci[$e].styles={}),Ci[$e].hooks||(Ci[$e].hooks={}),Ci[$e].shims||(Ci[$e].shims=[]);var Bi=Ci[$e],Je=[],be=!1;function Wt(ne){var $=ne.tag,Me=ne.attributes,tt=void 0===Me?{}:Me,Ne=ne.children,kt=void 0===Ne?[]:Ne;return"string"==typeof ne?wt(ne):"<".concat($," ").concat(function ft(ne){return Object.keys(ne||{}).reduce(function($,Me){return $+"".concat(Me,'="').concat(wt(ne[Me]),'" ')},"").trim()}(tt),">").concat(kt.map(Wt).join(""),"</").concat($,">")}function ci(ne,$,Me){if(ne&&ne[$]&&ne[$][Me])return{prefix:$,iconName:Me,icon:ne[$][Me]}}v&&((be=(l.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(l.readyState))||l.addEventListener("DOMContentLoaded",function ne(){l.removeEventListener("DOMContentLoaded",ne),be=1,Je.map(function($){return $()})}));var ki=function($,Me,tt,Ne){var gi,wi,Ii,kt=Object.keys($),ai=kt.length,ii=void 0!==Ne?function($,Me){return function(tt,Ne,kt,ai){return $.call(Me,tt,Ne,kt,ai)}}(Me,Ne):Me;for(void 0===tt?(gi=1,Ii=$[kt[0]]):(gi=0,Ii=tt);gi<ai;gi++)Ii=ii(Ii,$[wi=kt[gi]],wi,$);return Ii};function ji(ne){var $=function Yi(ne){for(var $=[],Me=0,tt=ne.length;Me<tt;){var Ne=ne.charCodeAt(Me++);if(Ne>=55296&&Ne<=56319&&Me<tt){var kt=ne.charCodeAt(Me++);56320==(64512&kt)?$.push(((1023&Ne)<<10)+(1023&kt)+65536):($.push(Ne),Me--)}else $.push(Ne)}return $}(ne);return 1===$.length?$[0].toString(16):null}function Zt(ne){return Object.keys(ne).reduce(function($,Me){var tt=ne[Me];return tt.icon?$[tt.iconName]=tt.icon:$[Me]=tt,$},{})}function Qt(ne,$){var tt=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,Ne=void 0!==tt&&tt,kt=Zt($);"function"!=typeof Bi.hooks.addPack||Ne?Bi.styles[ne]=g(g({},Bi.styles[ne]||{}),kt):Bi.hooks.addPack(ne,Zt($)),"fas"===ne&&Qt("fa",$)}var ht,Lt,Bt,Ot=Bi.styles,_i=Bi.shims,$t=(d(ht={},xe,Object.values(lt[xe])),d(ht,vt,Object.values(lt[vt])),ht),di=null,Xi={},Qi={},Vn={},Xn={},Ma={},Oa=(d(Lt={},xe,Object.keys(rt[xe])),d(Lt,vt,Object.keys(rt[vt])),Lt);var qt=function(){var $=function(kt){return ki(Ot,function(ai,ii,gi){return ai[gi]=ki(ii,kt,{}),ai},{})};Xi=$(function(Ne,kt,ai){return kt[3]&&(Ne[kt[3]]=ai),kt[2]&&kt[2].filter(function(gi){return"number"==typeof gi}).forEach(function(gi){Ne[gi.toString(16)]=ai}),Ne}),Qi=$(function(Ne,kt,ai){return Ne[ai]=ai,kt[2]&&kt[2].filter(function(gi){return"string"==typeof gi}).forEach(function(gi){Ne[gi]=ai}),Ne}),Ma=$(function(Ne,kt,ai){var ii=kt[2];return Ne[ai]=ai,ii.forEach(function(gi){Ne[gi]=ai}),Ne});var Me="far"in Ot||X.autoFetchSvg,tt=ki(_i,function(Ne,kt){var ai=kt[0],ii=kt[1],gi=kt[2];return"far"===ii&&!Me&&(ii="fas"),"string"==typeof ai&&(Ne.names[ai]={prefix:ii,iconName:gi}),"number"==typeof ai&&(Ne.unicodes[ai.toString(16)]={prefix:ii,iconName:gi}),Ne},{names:{},unicodes:{}});Vn=tt.names,Xn=tt.unicodes,di=Fn(X.styleDefault,{family:X.familyDefault})};function Jt(ne,$){return(Xi[ne]||{})[$]}function ui(ne,$){return(Ma[ne]||{})[$]}function Di(ne){return Vn[ne]||{prefix:null,iconName:null}}function hn(){return di}(function Ee(ne){ue.push(ne)})(function(ne){di=Fn(ne.styleDefault,{family:X.familyDefault})}),qt();var Gn=function(){return{prefix:null,iconName:null,rest:[]}};function Fn(ne){var Me=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,tt=void 0===Me?xe:Me;return je[tt][ne]||je[tt][rt[tt][ne]]||(ne in Bi.styles?ne:null)||null}var ba=(d(Bt={},xe,Object.keys(lt[xe])),d(Bt,vt,Object.keys(lt[vt])),Bt);function En(ne){var $,tt=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,Ne=void 0!==tt&&tt,kt=(d($={},xe,"".concat(X.cssPrefix,"-").concat(xe)),d($,vt,"".concat(X.cssPrefix,"-").concat(vt)),$),ai=null,ii=xe;(ne.includes(kt[xe])||ne.some(function(wi){return ba[xe].includes(wi)}))&&(ii=xe),(ne.includes(kt[vt])||ne.some(function(wi){return ba[vt].includes(wi)}))&&(ii=vt);var gi=ne.reduce(function(wi,Ii){var Ki=function Ua(ne,$){var Me=$.split("-"),tt=Me[0],Ne=Me.slice(1).join("-");return tt!==ne||""===Ne||function Wn(ne){return~nt.indexOf(ne)}(Ne)?null:Ne}(X.cssPrefix,Ii);if(Ot[Ii]?(Ii=$t[ii].includes(Ii)?Nt[ii][Ii]:Ii,ai=Ii,wi.prefix=Ii):Oa[ii].indexOf(Ii)>-1?(ai=Ii,wi.prefix=Fn(Ii,{family:ii})):Ki?wi.iconName=Ki:Ii!==X.replacementClass&&Ii!==kt[xe]&&Ii!==kt[vt]&&wi.rest.push(Ii),!Ne&&wi.prefix&&wi.iconName){var Zi="fa"===ai?Di(wi.iconName):{},ln=ui(wi.prefix,wi.iconName);Zi.prefix&&(ai=null),wi.iconName=Zi.iconName||ln||wi.iconName,wi.prefix=Zi.prefix||wi.prefix,"far"===wi.prefix&&!Ot.far&&Ot.fas&&!X.autoFetchSvg&&(wi.prefix="fas")}return wi},Gn());return(ne.includes("fa-brands")||ne.includes("fab"))&&(gi.prefix="fab"),(ne.includes("fa-duotone")||ne.includes("fad"))&&(gi.prefix="fad"),!gi.prefix&&ii===vt&&(Ot.fass||X.autoFetchSvg)&&(gi.prefix="fass",gi.iconName=ui(gi.prefix,gi.iconName)||gi.iconName),("fa"===gi.prefix||"fa"===ai)&&(gi.prefix=hn()||"fas"),gi}var Hn=function(){function ne(){(function C(ne,$){if(!(ne instanceof $))throw new TypeError("Cannot call a class as a function")})(this,ne),this.definitions={}}return function P(ne,$,Me){$&&h(ne.prototype,$),Me&&h(ne,Me),Object.defineProperty(ne,"prototype",{writable:!1})}(ne,[{key:"add",value:function(){for(var Me=this,tt=arguments.length,Ne=new Array(tt),kt=0;kt<tt;kt++)Ne[kt]=arguments[kt];var ai=Ne.reduce(this._pullDefinitions,{});Object.keys(ai).forEach(function(ii){Me.definitions[ii]=g(g({},Me.definitions[ii]||{}),ai[ii]),Qt(ii,ai[ii]);var gi=lt[xe][ii];gi&&Qt(gi,ai[ii]),qt()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(Me,tt){var Ne=tt.prefix&&tt.iconName&&tt.icon?{0:tt}:tt;return Object.keys(Ne).map(function(kt){var ai=Ne[kt],ii=ai.prefix,gi=ai.iconName,wi=ai.icon,Ii=wi[2];Me[ii]||(Me[ii]={}),Ii.length>0&&Ii.forEach(function(Ki){"string"==typeof Ki&&(Me[ii][Ki]=wi)}),Me[ii][gi]=wi}),Me}}]),ne}(),Qr=[],zn={},ta={},Sr=Object.keys(ta);function Ja(ne,$){for(var Me=arguments.length,tt=new Array(Me>2?Me-2:0),Ne=2;Ne<Me;Ne++)tt[Ne-2]=arguments[Ne];return(zn[ne]||[]).forEach(function(ai){$=ai.apply(null,[$].concat(tt))}),$}function Qn(ne){for(var $=arguments.length,Me=new Array($>1?$-1:0),tt=1;tt<$;tt++)Me[tt-1]=arguments[tt];(zn[ne]||[]).forEach(function(kt){kt.apply(null,Me)})}function Ga(){var ne=arguments[0],$=Array.prototype.slice.call(arguments,1);return ta[ne]?ta[ne].apply(null,$):void 0}function za(ne){"fa"===ne.prefix&&(ne.prefix="fas");var $=ne.iconName,Me=ne.prefix||hn();if($)return $=ui(Me,$)||$,ci(qr.definitions,Me,$)||ci(Bi.styles,Me,$)}var qr=new Hn,Jr={i2svg:function(){var $=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v?(Qn("beforeI2svg",$),Ga("pseudoElements2svg",$),Ga("i2svg",$)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var $=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Me=$.autoReplaceSvgRoot;!1===X.autoReplaceSvg&&(X.autoReplaceSvg=!0),X.observeMutations=!0,function Tt(ne){v&&(be?setTimeout(ne,0):Je.push(ne))}(function(){So({autoReplaceSvgRoot:Me}),Qn("watch",$)})}},Ea={noAuto:function(){X.autoReplaceSvg=!1,X.observeMutations=!1,Qn("noAuto")},config:X,dom:Jr,parse:{icon:function($){if(null===$)return null;if("object"===A($)&&$.prefix&&$.iconName)return{prefix:$.prefix,iconName:ui($.prefix,$.iconName)||$.iconName};if(Array.isArray($)&&2===$.length){var Me=0===$[1].indexOf("fa-")?$[1].slice(3):$[1],tt=Fn($[0]);return{prefix:tt,iconName:ui(tt,Me)||Me}}if("string"==typeof $&&($.indexOf("".concat(X.cssPrefix,"-"))>-1||$.match(Ke))){var Ne=En($.split(" "),{skipLookups:!0});return{prefix:Ne.prefix||hn(),iconName:ui(Ne.prefix,Ne.iconName)||Ne.iconName}}if("string"==typeof $){var kt=hn();return{prefix:kt,iconName:ui(kt,$)||$}}}},library:qr,findIconDefinition:za,toHtml:Wt},So=function(){var Me=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,tt=void 0===Me?l:Me;(Object.keys(Bi.styles).length>0||X.autoFetchSvg)&&v&&X.autoReplaceSvg&&Ea.dom.i2svg({node:tt})};function Za(ne,$){return Object.defineProperty(ne,"abstract",{get:$}),Object.defineProperty(ne,"html",{get:function(){return ne.abstract.map(function(tt){return Wt(tt)})}}),Object.defineProperty(ne,"node",{get:function(){if(v){var tt=l.createElement("div");return tt.innerHTML=ne.html,tt.children}}}),ne}function lo(ne){var $=ne.icons,Me=$.main,tt=$.mask,Ne=ne.prefix,kt=ne.iconName,ai=ne.transform,ii=ne.symbol,gi=ne.title,wi=ne.maskId,Ii=ne.titleId,Ki=ne.extra,Zi=ne.watchable,ln=void 0!==Zi&&Zi,oa=tt.found?tt:Me,ga=oa.width,Fa=oa.height,la="fak"===Ne,da=[X.replacementClass,kt?"".concat(X.cssPrefix,"-").concat(kt):""].filter(function(Wr){return-1===Ki.classes.indexOf(Wr)}).filter(function(Wr){return""!==Wr||!!Wr}).concat(Ki.classes).join(" "),sa={children:[],attributes:g(g({},Ki.attributes),{},{"data-prefix":Ne,"data-icon":kt,class:da,role:Ki.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(ga," ").concat(Fa)})},Ia=la&&!~Ki.classes.indexOf("fa-fw")?{width:"".concat(ga/Fa*16*.0625,"em")}:{};ln&&(sa.attributes[we]=""),gi&&(sa.children.push({tag:"title",attributes:{id:sa.attributes["aria-labelledby"]||"title-".concat(Ii||pt())},children:[gi]}),delete sa.attributes.title);var Aa=g(g({},sa),{},{prefix:Ne,iconName:kt,main:Me,mask:tt,maskId:wi,transform:ai,symbol:ii,styles:g(g({},Ia),Ki.styles)}),xr=tt.found&&Me.found?Ga("generateAbstractMask",Aa)||{children:[],attributes:{}}:Ga("generateAbstractIcon",Aa)||{children:[],attributes:{}},ao=xr.attributes;return Aa.children=xr.children,Aa.attributes=ao,ii?function co(ne){var Me=ne.iconName,tt=ne.children,Ne=ne.attributes,kt=ne.symbol,ai=!0===kt?"".concat(ne.prefix,"-").concat(X.cssPrefix,"-").concat(Me):kt;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:g(g({},Ne),{},{id:ai}),children:tt}]}]}(Aa):function Xr(ne){var $=ne.children,Me=ne.main,tt=ne.mask,Ne=ne.attributes,kt=ne.styles,ai=ne.transform;if(gt(ai)&&Me.found&&!tt.found){var wi={x:Me.width/Me.height/2,y:.5};Ne.style=Xe(g(g({},kt),{},{"transform-origin":"".concat(wi.x+ai.x/16,"em ").concat(wi.y+ai.y/16,"em")}))}return[{tag:"svg",attributes:Ne,children:$}]}(Aa)}function ho(ne){var $=ne.content,Me=ne.width,tt=ne.height,Ne=ne.transform,kt=ne.title,ai=ne.extra,ii=ne.watchable,gi=void 0!==ii&&ii,wi=g(g(g({},ai.attributes),kt?{title:kt}:{}),{},{class:ai.classes.join(" ")});gi&&(wi[we]="");var Ii=g({},ai.styles);gt(Ne)&&(Ii.transform=function Fe(ne){var $=ne.transform,Me=ne.width,Ne=ne.height,kt=void 0===Ne?Ve:Ne,ai=ne.startCentered,ii=void 0!==ai&&ai,gi="";return gi+=ii&&n?"translate(".concat($.x/qe-(void 0===Me?Ve:Me)/2,"em, ").concat($.y/qe-kt/2,"em) "):ii?"translate(calc(-50% + ".concat($.x/qe,"em), calc(-50% + ").concat($.y/qe,"em)) "):"translate(".concat($.x/qe,"em, ").concat($.y/qe,"em) "),(gi+="scale(".concat($.size/qe*($.flipX?-1:1),", ").concat($.size/qe*($.flipY?-1:1),") "))+"rotate(".concat($.rotate,"deg) ")}({transform:Ne,startCentered:!0,width:Me,height:tt}),Ii["-webkit-transform"]=Ii.transform);var Ki=Xe(Ii);Ki.length>0&&(wi.style=Ki);var Zi=[];return Zi.push({tag:"span",attributes:wi,children:[$]}),kt&&Zi.push({tag:"span",attributes:{class:"sr-only"},children:[kt]}),Zi}var uo=Bi.styles;function Zr(ne){var $=ne[0],Me=ne[1],kt=I(ne.slice(4),1)[0];return{found:!0,width:$,height:Me,icon:Array.isArray(kt)?{tag:"g",attributes:{class:"".concat(X.cssPrefix,"-").concat(mt.GROUP)},children:[{tag:"path",attributes:{class:"".concat(X.cssPrefix,"-").concat(mt.SECONDARY),fill:"currentColor",d:kt[0]}},{tag:"path",attributes:{class:"".concat(X.cssPrefix,"-").concat(mt.PRIMARY),fill:"currentColor",d:kt[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:kt}}}}var fo={found:!1,width:512,height:512};function Xa(ne,$){var Me=$;return"fa"===$&&null!==X.styleDefault&&($=hn()),new Promise(function(tt,Ne){if(Ga("missingIconAbstract"),"fa"===Me){var ai=Di(ne)||{};ne=ai.iconName||ne,$=ai.prefix||$}if(ne&&$&&uo[$]&&uo[$][ne])return tt(Zr(uo[$][ne]));(function mo(ne,$){!ge&&!X.showMissingIcons&&ne&&console.error('Icon with name "'.concat(ne,'" and prefix "').concat($,'" is missing.'))})(ne,$),tt(g(g({},fo),{},{icon:X.showMissingIcons&&ne&&Ga("missingIconAbstract")||{}}))})}var fr=function(){},ra=X.measurePerformance&&E&&E.mark&&E.measure?E:{mark:fr,measure:fr},ja='FA "6.4.0"',Tr=function($){ra.mark("".concat(ja," ").concat($," ends")),ra.measure("".concat(ja," ").concat($),"".concat(ja," ").concat($," begins"),"".concat(ja," ").concat($," ends"))},mr={begin:function($){return ra.mark("".concat(ja," ").concat($," begins")),function(){return Tr($)}},end:Tr},po=function(){};function Pa(ne){return"string"==typeof(ne.getAttribute?ne.getAttribute(we):null)}function go(ne){return l.createElementNS("http://www.w3.org/2000/svg",ne)}function to(ne){return l.createElement(ne)}function Ra(ne){var Me=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,tt=void 0===Me?"svg"===ne.tag?go:to:Me;if("string"==typeof ne)return l.createTextNode(ne);var Ne=tt(ne.tag);return Object.keys(ne.attributes||[]).forEach(function(ai){Ne.setAttribute(ai,ne.attributes[ai])}),(ne.children||[]).forEach(function(ai){Ne.appendChild(Ra(ai,{ceFn:tt}))}),Ne}var qn={replace:function($){var Me=$[0];if(Me.parentNode)if($[1].forEach(function(Ne){Me.parentNode.insertBefore(Ra(Ne),Me)}),null===Me.getAttribute(we)&&X.keepOriginalSource){var tt=l.createComment(function Ar(ne){var $=" ".concat(ne.outerHTML," ");return"".concat($,"Font Awesome fontawesome.com ")}(Me));Me.parentNode.replaceChild(tt,Me)}else Me.remove()},nest:function($){var Me=$[0],tt=$[1];if(~ut(Me).indexOf(X.replacementClass))return qn.replace($);var Ne=new RegExp("".concat(X.cssPrefix,"-.*"));if(delete tt[0].attributes.id,tt[0].attributes.class){var kt=tt[0].attributes.class.split(" ").reduce(function(ii,gi){return gi===X.replacementClass||gi.match(Ne)?ii.toSvg.push(gi):ii.toNode.push(gi),ii},{toNode:[],toSvg:[]});tt[0].attributes.class=kt.toSvg.join(" "),0===kt.toNode.length?Me.removeAttribute("class"):Me.setAttribute("class",kt.toNode.join(" "))}var ai=tt.map(function(ii){return Wt(ii)}).join("\n");Me.setAttribute(we,""),Me.innerHTML=ai}};function Yn(ne){ne()}function rr(ne,$){var Me="function"==typeof $?$:po;if(0===ne.length)Me();else{var tt=Yn;X.mutateApproach===fe&&(tt=f.requestAnimationFrame||Yn),tt(function(){var Ne=function $a(){return!0===X.autoReplaceSvg?qn.replace:qn[X.autoReplaceSvg]||qn.replace}(),kt=mr.begin("mutate");ne.map(Ne),kt(),Me()})}}var Lr=!1;function ua(){Lr=!0}function Dr(){Lr=!1}var Rt=null;function fi(ne){if(y&&X.observeMutations){var $=ne.treeCallback,Me=void 0===$?po:$,tt=ne.nodeCallback,Ne=void 0===tt?po:tt,kt=ne.pseudoElementsCallback,ai=void 0===kt?po:kt,ii=ne.observeMutationsRoot,gi=void 0===ii?l:ii;Rt=new y(function(wi){if(!Lr){var Ii=hn();ot(wi).forEach(function(Ki){if("childList"===Ki.type&&Ki.addedNodes.length>0&&!Pa(Ki.addedNodes[0])&&(X.searchPseudoElements&&ai(Ki.target),Me(Ki.target)),"attributes"===Ki.type&&Ki.target.parentNode&&X.searchPseudoElements&&ai(Ki.target.parentNode),"attributes"===Ki.type&&Pa(Ki.target)&&~J.indexOf(Ki.attributeName))if("class"===Ki.attributeName&&function $r(ne){var $=ne.getAttribute?ne.getAttribute(ee):null,Me=ne.getAttribute?ne.getAttribute(Ze):null;return $&&Me}(Ki.target)){var Zi=En(ut(Ki.target)),oa=Zi.iconName;Ki.target.setAttribute(ee,Zi.prefix||Ii),oa&&Ki.target.setAttribute(Ze,oa)}else(function eo(ne){return ne&&ne.classList&&ne.classList.contains&&ne.classList.contains(X.replacementClass)})(Ki.target)&&Ne(Ki.target)})}}),v&&Rt.observe(gi,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function fa(ne){var $=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},Me=function Li(ne){var $=ne.getAttribute("data-prefix"),Me=ne.getAttribute("data-icon"),tt=void 0!==ne.innerText?ne.innerText.trim():"",Ne=En(ut(ne));return Ne.prefix||(Ne.prefix=hn()),$&&Me&&(Ne.prefix=$,Ne.iconName=Me),Ne.iconName&&Ne.prefix||(Ne.prefix&&tt.length>0&&(Ne.iconName=function ni(ne,$){return(Qi[ne]||{})[$]}(Ne.prefix,ne.innerText)||Jt(Ne.prefix,ji(ne.innerText))),!Ne.iconName&&X.autoFetchSvg&&ne.firstChild&&ne.firstChild.nodeType===Node.TEXT_NODE&&(Ne.iconName=ne.firstChild.data)),Ne}(ne),tt=Me.iconName,Ne=Me.prefix,kt=Me.rest,ai=function nn(ne){var $=ot(ne.attributes).reduce(function(Ne,kt){return"class"!==Ne.name&&"style"!==Ne.name&&(Ne[kt.name]=kt.value),Ne},{}),Me=ne.getAttribute("title"),tt=ne.getAttribute("data-fa-title-id");return X.autoA11y&&(Me?$["aria-labelledby"]="".concat(X.replacementClass,"-title-").concat(tt||pt()):($["aria-hidden"]="true",$.focusable="false")),$}(ne),ii=Ja("parseNodeAttributes",{},ne),gi=$.styleParser?function oi(ne){var $=ne.getAttribute("style"),Me=[];return $&&(Me=$.split(";").reduce(function(tt,Ne){var kt=Ne.split(":"),ai=kt[0],ii=kt.slice(1);return ai&&ii.length>0&&(tt[ai]=ii.join(":").trim()),tt},{})),Me}(ne):[];return g({iconName:tt,title:ne.getAttribute("title"),titleId:ne.getAttribute("data-fa-title-id"),prefix:Ne,transform:Xt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:kt,styles:gi,attributes:ai}},ii)}var Gi=Bi.styles;function bn(ne){var $="nest"===X.autoReplaceSvg?fa(ne,{styleParser:!1}):fa(ne);return~$.extra.classes.indexOf(at)?Ga("generateLayersText",ne,$):Ga("generateSvgReplacementMutation",ne,$)}var er=new Set;function st(ne){var $=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!v)return Promise.resolve();var Me=l.documentElement.classList,tt=function(Ki){return Me.add("".concat(Oe,"-").concat(Ki))},Ne=function(Ki){return Me.remove("".concat(Oe,"-").concat(Ki))},kt=X.autoFetchSvg?er:Ie.map(function(Ii){return"fa-".concat(Ii)}).concat(Object.keys(Gi));kt.includes("fa")||kt.push("fa");var ai=[".".concat(at,":not([").concat(we,"])")].concat(kt.map(function(Ii){return".".concat(Ii,":not([").concat(we,"])")})).join(", ");if(0===ai.length)return Promise.resolve();var ii=[];try{ii=ot(ne.querySelectorAll(ai))}catch{}if(!(ii.length>0))return Promise.resolve();tt("pending"),Ne("complete");var gi=mr.begin("onTree"),wi=ii.reduce(function(Ii,Ki){try{var Zi=bn(Ki);Zi&&Ii.push(Zi)}catch(ln){ge||"MissingIcon"===ln.name&&console.error(ln)}return Ii},[]);return new Promise(function(Ii,Ki){Promise.all(wi).then(function(Zi){rr(Zi,function(){tt("active"),tt("complete"),Ne("pending"),"function"==typeof $&&$(),gi(),Ii()})}).catch(function(Zi){gi(),Ki(Zi)})})}function it(ne){var $=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;bn(ne).then(function(Me){Me&&rr([Me],$)})}Ie.map(function(ne){er.add("fa-".concat(ne))}),Object.keys(rt[xe]).map(er.add.bind(er)),Object.keys(rt[vt]).map(er.add.bind(er)),er=k(er);var It=function($){var Me=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},tt=Me.transform,Ne=void 0===tt?Xt:tt,kt=Me.symbol,ai=void 0!==kt&&kt,ii=Me.mask,gi=void 0===ii?null:ii,wi=Me.maskId,Ii=void 0===wi?null:wi,Ki=Me.title,Zi=void 0===Ki?null:Ki,ln=Me.titleId,oa=void 0===ln?null:ln,ga=Me.classes,Fa=void 0===ga?[]:ga,la=Me.attributes,da=void 0===la?{}:la,sa=Me.styles,Ia=void 0===sa?{}:sa;if($){var Aa=$.prefix,xr=$.iconName,or=$.icon;return Za(g({type:"icon"},$),function(){return Qn("beforeDOMElementCreation",{iconDefinition:$,params:Me}),X.autoA11y&&(Zi?da["aria-labelledby"]="".concat(X.replacementClass,"-title-").concat(oa||pt()):(da["aria-hidden"]="true",da.focusable="false")),lo({icons:{main:Zr(or),mask:gi?Zr(gi.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Aa,iconName:xr,transform:g(g({},Xt),Ne),symbol:ai,title:Zi,maskId:Ii,titleId:oa,extra:{attributes:da,styles:Ia,classes:Fa}})})}},yi={mixout:function(){return{icon:(ne=It,function($){var Me=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},tt=($||{}).icon?$:za($||{}),Ne=Me.mask;return Ne&&(Ne=(Ne||{}).icon?Ne:za(Ne||{})),ne(tt,g(g({},Me),{},{mask:Ne}))})};var ne},hooks:function(){return{mutationObserverCallbacks:function(Me){return Me.treeCallback=st,Me.nodeCallback=it,Me}}},provides:function($){$.i2svg=function(Me){var tt=Me.node,kt=Me.callback;return st(void 0===tt?l:tt,void 0===kt?function(){}:kt)},$.generateSvgReplacementMutation=function(Me,tt){var Ne=tt.iconName,kt=tt.title,ai=tt.titleId,ii=tt.prefix,gi=tt.transform,wi=tt.symbol,Ii=tt.mask,Ki=tt.maskId,Zi=tt.extra;return new Promise(function(ln,oa){Promise.all([Xa(Ne,ii),Ii.iconName?Xa(Ii.iconName,Ii.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(ga){var Fa=I(ga,2);ln([Me,lo({icons:{main:Fa[0],mask:Fa[1]},prefix:ii,iconName:Ne,transform:gi,symbol:wi,maskId:Ki,title:kt,titleId:ai,extra:Zi,watchable:!0})])}).catch(oa)})},$.generateAbstractIcon=function(Me){var wi,tt=Me.children,Ne=Me.attributes,kt=Me.main,ai=Me.transform,gi=Xe(Me.styles);return gi.length>0&&(Ne.style=gi),gt(ai)&&(wi=Ga("generateAbstractTransformGrouping",{main:kt,transform:ai,containerWidth:kt.width,iconWidth:kt.width})),tt.push(wi||kt.icon),{children:tt,attributes:Ne}}}},cn={mixout:function(){return{layer:function(Me){var tt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ne=tt.classes,kt=void 0===Ne?[]:Ne;return Za({type:"layer"},function(){Qn("beforeDOMElementCreation",{assembler:Me,params:tt});var ai=[];return Me(function(ii){Array.isArray(ii)?ii.map(function(gi){ai=ai.concat(gi.abstract)}):ai=ai.concat(ii.abstract)}),[{tag:"span",attributes:{class:["".concat(X.cssPrefix,"-layers")].concat(k(kt)).join(" ")},children:ai}]})}}}},ma={mixout:function(){return{counter:function(Me){var tt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ne=tt.title,kt=void 0===Ne?null:Ne,ai=tt.classes,ii=void 0===ai?[]:ai,gi=tt.attributes,wi=void 0===gi?{}:gi,Ii=tt.styles,Ki=void 0===Ii?{}:Ii;return Za({type:"counter",content:Me},function(){return Qn("beforeDOMElementCreation",{content:Me,params:tt}),function Gr(ne){var $=ne.content,Me=ne.title,tt=ne.extra,Ne=g(g(g({},tt.attributes),Me?{title:Me}:{}),{},{class:tt.classes.join(" ")}),kt=Xe(tt.styles);kt.length>0&&(Ne.style=kt);var ai=[];return ai.push({tag:"span",attributes:Ne,children:[$]}),Me&&ai.push({tag:"span",attributes:{class:"sr-only"},children:[Me]}),ai}({content:Me.toString(),title:kt,extra:{attributes:wi,styles:Ki,classes:["".concat(X.cssPrefix,"-layers-counter")].concat(k(ii))}})})}}}},Mi={mixout:function(){return{text:function(Me){var tt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ne=tt.transform,kt=void 0===Ne?Xt:Ne,ai=tt.title,ii=void 0===ai?null:ai,gi=tt.classes,wi=void 0===gi?[]:gi,Ii=tt.attributes,Ki=void 0===Ii?{}:Ii,Zi=tt.styles,ln=void 0===Zi?{}:Zi;return Za({type:"text",content:Me},function(){return Qn("beforeDOMElementCreation",{content:Me,params:tt}),ho({content:Me,transform:g(g({},Xt),kt),title:ii,extra:{attributes:Ki,styles:ln,classes:["".concat(X.cssPrefix,"-layers-text")].concat(k(wi))}})})}}},provides:function($){$.generateLayersText=function(Me,tt){var Ne=tt.title,kt=tt.transform,ai=tt.extra,ii=null,gi=null;if(n){var wi=parseInt(getComputedStyle(Me).fontSize,10),Ii=Me.getBoundingClientRect();ii=Ii.width/wi,gi=Ii.height/wi}return X.autoA11y&&!Ne&&(ai.attributes["aria-hidden"]="true"),Promise.resolve([Me,ho({content:Me.innerHTML,width:ii,height:gi,transform:kt,title:Ne,extra:ai,watchable:!0})])}}},Tn=new RegExp('"',"ug"),Ho=[1105920,1112319];function Va(ne,$){var Me="".concat(Ae).concat($.replace(":","-"));return new Promise(function(tt,Ne){if(null!==ne.getAttribute(Me))return tt();var ai=ot(ne.children).filter(function(or){return or.getAttribute(me)===$})[0],ii=f.getComputedStyle(ne,$),gi=ii.getPropertyValue("font-family").match(Ct),wi=ii.getPropertyValue("font-weight"),Ii=ii.getPropertyValue("content");if(ai&&!gi)return ne.removeChild(ai),tt();if(gi&&"none"!==Ii&&""!==Ii){var Ki=ii.getPropertyValue("content"),Zi=~["Sharp"].indexOf(gi[2])?vt:xe,ln=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(gi[2])?je[Zi][gi[2].toLowerCase()]:ye[Zi][wi],oa=function Gs(ne){var $=ne.replace(Tn,""),Me=function tn(ne,$){var Ne,Me=ne.length,tt=ne.charCodeAt($);return tt>=55296&&tt<=56319&&Me>$+1&&(Ne=ne.charCodeAt($+1))>=56320&&Ne<=57343?1024*(tt-55296)+Ne-56320+65536:tt}($,0),tt=Me>=Ho[0]&&Me<=Ho[1],Ne=2===$.length&&$[0]===$[1];return{value:ji(Ne?$[0]:$),isSecondary:tt||Ne}}(Ki),ga=oa.value,Fa=oa.isSecondary,la=gi[0].startsWith("FontAwesome"),da=Jt(ln,ga),sa=da;if(la){var Ia=function Hi(ne){var $=Xn[ne],Me=Jt("fas",ne);return $||(Me?{prefix:"fas",iconName:Me}:null)||{prefix:null,iconName:null}}(ga);Ia.iconName&&Ia.prefix&&(da=Ia.iconName,ln=Ia.prefix)}if(!da||Fa||ai&&ai.getAttribute(ee)===ln&&ai.getAttribute(Ze)===sa)tt();else{ne.setAttribute(Me,sa),ai&&ne.removeChild(ai);var Aa=function ia(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Xt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),xr=Aa.extra;xr.attributes[me]=$,Xa(da,ln).then(function(or){var ao=lo(g(g({},Aa),{},{icons:{main:or,mask:Gn()},prefix:ln,iconName:sa,extra:xr,watchable:!0})),Wr=l.createElement("svg");"::before"===$?ne.insertBefore(Wr,ne.firstChild):ne.appendChild(Wr),Wr.outerHTML=ao.map(function(nl){return Wt(nl)}).join("\n"),ne.removeAttribute(Me),tt()}).catch(Ne)}}else tt()})}function Yo(ne){return Promise.all([Va(ne,"::before"),Va(ne,"::after")])}function io(ne){return!(ne.parentNode===document.head||~Se.indexOf(ne.tagName.toUpperCase())||ne.getAttribute(me)||ne.parentNode&&"svg"===ne.parentNode.tagName)}function pr(ne){if(v)return new Promise(function($,Me){var tt=ot(ne.querySelectorAll("*")).filter(io).map(Yo),Ne=mr.begin("searchPseudoElements");ua(),Promise.all(tt).then(function(){Ne(),Dr(),$()}).catch(function(){Ne(),Dr(),Me()})})}var Ko=!1,rs=function($){return $.toLowerCase().split(" ").reduce(function(tt,Ne){var kt=Ne.toLowerCase().split("-"),ai=kt[0],ii=kt.slice(1).join("-");if(ai&&"h"===ii)return tt.flipX=!0,tt;if(ai&&"v"===ii)return tt.flipY=!0,tt;if(ii=parseFloat(ii),isNaN(ii))return tt;switch(ai){case"grow":tt.size=tt.size+ii;break;case"shrink":tt.size=tt.size-ii;break;case"left":tt.x=tt.x-ii;break;case"right":tt.x=tt.x+ii;break;case"up":tt.y=tt.y-ii;break;case"down":tt.y=tt.y+ii;break;case"rotate":tt.rotate=tt.rotate+ii}return tt},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Dn={x:0,y:0,width:"100%",height:"100%"};function Oi(ne){return ne.attributes&&(ne.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(ne.attributes.fill="black"),ne}!function br(ne,$){var Me=$.mixoutsTo;Qr=ne,zn={},Object.keys(ta).forEach(function(tt){-1===Sr.indexOf(tt)&&delete ta[tt]}),Qr.forEach(function(tt){var Ne=tt.mixout?tt.mixout():{};if(Object.keys(Ne).forEach(function(ai){"function"==typeof Ne[ai]&&(Me[ai]=Ne[ai]),"object"===A(Ne[ai])&&Object.keys(Ne[ai]).forEach(function(ii){Me[ai]||(Me[ai]={}),Me[ai][ii]=Ne[ai][ii]})}),tt.hooks){var kt=tt.hooks();Object.keys(kt).forEach(function(ai){zn[ai]||(zn[ai]=[]),zn[ai].push(kt[ai])})}tt.provides&&tt.provides(ta)})}([Ri,yi,cn,ma,Mi,{hooks:function(){return{mutationObserverCallbacks:function(Me){return Me.pseudoElementsCallback=pr,Me}}},provides:function($){$.pseudoElements2svg=function(Me){var tt=Me.node;X.searchPseudoElements&&pr(void 0===tt?l:tt)}}},{mixout:function(){return{dom:{unwatch:function(){ua(),Ko=!0}}}},hooks:function(){return{bootstrap:function(){fi(Ja("mutationObserverCallbacks",{}))},noAuto:function(){!function yt(){Rt&&Rt.disconnect()}()},watch:function(Me){var tt=Me.observeMutationsRoot;Ko?Dr():fi(Ja("mutationObserverCallbacks",{observeMutationsRoot:tt}))}}}},{mixout:function(){return{parse:{transform:function(Me){return rs(Me)}}}},hooks:function(){return{parseNodeAttributes:function(Me,tt){var Ne=tt.getAttribute("data-fa-transform");return Ne&&(Me.transform=rs(Ne)),Me}}},provides:function($){$.generateAbstractTransformGrouping=function(Me){var tt=Me.main,Ne=Me.transform,ai=Me.iconWidth,ii={transform:"translate(".concat(Me.containerWidth/2," 256)")},gi="translate(".concat(32*Ne.x,", ").concat(32*Ne.y,") "),wi="scale(".concat(Ne.size/16*(Ne.flipX?-1:1),", ").concat(Ne.size/16*(Ne.flipY?-1:1),") "),Ii="rotate(".concat(Ne.rotate," 0 0)"),ln={outer:ii,inner:{transform:"".concat(gi," ").concat(wi," ").concat(Ii)},path:{transform:"translate(".concat(ai/2*-1," -256)")}};return{tag:"g",attributes:g({},ln.outer),children:[{tag:"g",attributes:g({},ln.inner),children:[{tag:tt.icon.tag,children:tt.icon.children,attributes:g(g({},tt.icon.attributes),ln.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(Me,tt){var Ne=tt.getAttribute("data-fa-mask"),kt=Ne?En(Ne.split(" ").map(function(ai){return ai.trim()})):Gn();return kt.prefix||(kt.prefix=hn()),Me.mask=kt,Me.maskId=tt.getAttribute("data-fa-mask-id"),Me}}},provides:function($){$.generateAbstractMask=function(Me){var ne,tt=Me.children,Ne=Me.attributes,kt=Me.main,ai=Me.mask,ii=Me.maskId,Ii=kt.icon,Zi=ai.icon,ln=function _t(ne){var $=ne.transform,tt=ne.iconWidth,Ne={transform:"translate(".concat(ne.containerWidth/2," 256)")},kt="translate(".concat(32*$.x,", ").concat(32*$.y,") "),ai="scale(".concat($.size/16*($.flipX?-1:1),", ").concat($.size/16*($.flipY?-1:1),") "),ii="rotate(".concat($.rotate," 0 0)");return{outer:Ne,inner:{transform:"".concat(kt," ").concat(ai," ").concat(ii)},path:{transform:"translate(".concat(tt/2*-1," -256)")}}}({transform:Me.transform,containerWidth:ai.width,iconWidth:kt.width}),oa={tag:"rect",attributes:g(g({},Dn),{},{fill:"white"})},ga=Ii.children?{children:Ii.children.map(Oi)}:{},Fa={tag:"g",attributes:g({},ln.inner),children:[Oi(g({tag:Ii.tag,attributes:g(g({},Ii.attributes),ln.path)},ga))]},la={tag:"g",attributes:g({},ln.outer),children:[Fa]},da="mask-".concat(ii||pt()),sa="clip-".concat(ii||pt()),Ia={tag:"mask",attributes:g(g({},Dn),{},{id:da,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[oa,la]},Aa={tag:"defs",children:[{tag:"clipPath",attributes:{id:sa},children:(ne=Zi,"g"===ne.tag?ne.children:[ne])},Ia]};return tt.push(Aa,{tag:"rect",attributes:g({fill:"currentColor","clip-path":"url(#".concat(sa,")"),mask:"url(#".concat(da,")")},Dn)}),{children:tt,attributes:Ne}}}},{provides:function($){var Me=!1;f.matchMedia&&(Me=f.matchMedia("(prefers-reduced-motion: reduce)").matches),$.missingIconAbstract=function(){var tt=[],Ne={fill:"currentColor"},kt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};tt.push({tag:"path",attributes:g(g({},Ne),{},{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 ai=g(g({},kt),{},{attributeName:"opacity"}),ii={tag:"circle",attributes:g(g({},Ne),{},{cx:"256",cy:"364",r:"28"}),children:[]};return Me||ii.children.push({tag:"animate",attributes:g(g({},kt),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:g(g({},ai),{},{values:"1;0;1;1;0;1;"})}),tt.push(ii),tt.push({tag:"path",attributes:g(g({},Ne),{},{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:Me?[]:[{tag:"animate",attributes:g(g({},ai),{},{values:"1;0;0;0;0;1;"})}]}),Me||tt.push({tag:"path",attributes:g(g({},Ne),{},{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({},ai),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:tt}}}},{hooks:function(){return{parseNodeAttributes:function(Me,tt){var Ne=tt.getAttribute("data-fa-symbol");return Me.symbol=null!==Ne&&(""===Ne||Ne),Me}}}}],{mixoutsTo:Ea});var To=Ea.parse,Qo=Ea.icon,Es=m(1481);const Na=["*"],rn=ne=>{const $={[`fa-${ne.animation}`]:null!=ne.animation&&!ne.animation.startsWith("spin"),"fa-spin":"spin"===ne.animation||"spin-reverse"===ne.animation,"fa-spin-pulse":"spin-pulse"===ne.animation||"spin-pulse-reverse"===ne.animation,"fa-spin-reverse":"spin-reverse"===ne.animation||"spin-pulse-reverse"===ne.animation,"fa-pulse":"spin-pulse"===ne.animation||"spin-pulse-reverse"===ne.animation,"fa-fw":ne.fixedWidth,"fa-border":ne.border,"fa-inverse":ne.inverse,"fa-layers-counter":ne.counter,"fa-flip-horizontal":"horizontal"===ne.flip||"both"===ne.flip,"fa-flip-vertical":"vertical"===ne.flip||"both"===ne.flip,[`fa-${ne.size}`]:null!==ne.size,[`fa-rotate-${ne.rotate}`]:null!==ne.rotate,[`fa-pull-${ne.pull}`]:null!==ne.pull,[`fa-stack-${ne.stackItemSize}`]:null!=ne.stackItemSize};return Object.keys($).map(Me=>$[Me]?Me:null).filter(Me=>Me)};let pa=(()=>{class ne{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}}return ne.\u0275fac=function(Me){return new(Me||ne)},ne.\u0275prov=t.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})(),Ts=(()=>{class ne{constructor(){this.definitions={}}addIcons(...Me){for(const tt of Me){tt.prefix in this.definitions||(this.definitions[tt.prefix]={}),this.definitions[tt.prefix][tt.iconName]=tt;for(const Ne of tt.icon[2])"string"==typeof Ne&&(this.definitions[tt.prefix][Ne]=tt)}}addIconPacks(...Me){for(const tt of Me){const Ne=Object.keys(tt).map(kt=>tt[kt]);this.addIcons(...Ne)}}getIconDefinition(Me,tt){return Me in this.definitions&&tt in this.definitions[Me]?this.definitions[Me][tt]:null}}return ne.\u0275fac=function(Me){return new(Me||ne)},ne.\u0275prov=t.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})(),Tc=(()=>{class ne{constructor(){this.stackItemSize="1x"}ngOnChanges(Me){if("size"in Me)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 ne.\u0275fac=function(Me){return new(Me||ne)},ne.\u0275dir=t.lG2({type:ne,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[t.TTD]}),ne})(),lc=(()=>{class ne{constructor(Me,tt){this.renderer=Me,this.elementRef=tt}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(Me){"size"in Me&&(null!=Me.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${Me.size.currentValue}`),null!=Me.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${Me.size.previousValue}`))}}return ne.\u0275fac=function(Me){return new(Me||ne)(t.Y36(t.Qsj),t.Y36(t.SBq))},ne.\u0275cmp=t.Xpm({type:ne,selectors:[["fa-stack"]],inputs:{size:"size"},features:[t.TTD],ngContentSelectors:Na,decls:1,vars:0,template:function(Me,tt){1&Me&&(t.F$t(),t.Hsn(0))},encapsulation:2}),ne})(),Zn=(()=>{class ne{constructor(Me,tt,Ne,kt,ai){this.sanitizer=Me,this.config=tt,this.iconLibrary=Ne,this.stackItem=kt,this.classes=[],null!=ai&&null==kt&&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>.')}set spin(Me){this.animation=Me?"spin":void 0}set pulse(Me){this.animation=Me?"spin-pulse":void 0}ngOnChanges(Me){if(null!=this.icon||null!=this.config.fallbackIcon){if(Me){const Ne=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=Ne){const kt=this.buildParams();this.renderIcon(Ne,kt)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(Me){const tt=((ne,$)=>(ne=>void 0!==ne.prefix&&void 0!==ne.iconName)(ne)?ne:"string"==typeof ne?{prefix:$,iconName:ne}:{prefix:ne[0],iconName:ne[1]})(Me,this.config.defaultPrefix);return"icon"in tt?tt:this.iconLibrary.getIconDefinition(tt.prefix,tt.iconName)??((ne=>{throw new Error(`Could not find icon with iconName=${ne.iconName} and prefix=${ne.prefix} in the icon library.`)})(tt),null)}buildParams(){const Me={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},tt="string"==typeof this.transform?To.transform(this.transform):this.transform;return{title:this.title,transform:tt,classes:[...rn(Me),...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(Me,tt){const Ne=Qo(Me,tt);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(Ne.html.join("\n"))}}return ne.\u0275fac=function(Me){return new(Me||ne)(t.Y36(Es.H7),t.Y36(pa),t.Y36(Ts),t.Y36(Tc,8),t.Y36(lc,8))},ne.\u0275cmp=t.Xpm({type:ne,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(Me,tt){2&Me&&(t.Ikx("innerHTML",tt.renderedIconHTML,t.oJD),t.uIk("title",tt.title))},inputs:{icon:"icon",title:"title",animation:"animation",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(Me,tt){},encapsulation:2}),ne})(),He=(()=>{class ne{}return ne.\u0275fac=function(Me){return new(Me||ne)},ne.\u0275mod=t.oAB({type:ne}),ne.\u0275inj=t.cJS({}),ne})()},2687:(Be,Q,m)=>{"use strict";m.d(Q,{Acd:()=>n2,Aq:()=>js,B$L:()=>Dn,BDt:()=>c,CgH:()=>du,CvI:()=>b3,DL8:()=>Y7,FJU:()=>h_,FVb:()=>Dc,FlN:()=>vm,FpQ:()=>t3,HLz:()=>S_,KOR:()=>L0,Krp:()=>qh,Mdf:()=>o3,N2j:()=>ui,NBC:()=>$_,OS1:()=>Df,Psp:()=>f1,Pyt:()=>d_,Sbq:()=>nt,SoD:()=>Zr,Ssp:()=>av,SuH:()=>k0,TmZ:()=>j_,USL:()=>h7,Vei:()=>es,Vfw:()=>c6,X5K:()=>$f,XsY:()=>Ki,aj4:()=>jr,b7W:()=>d8,byT:()=>Zi,co4:()=>I6,d63:()=>Ha,dLy:()=>P_,dT$:()=>xf,eHv:()=>iv,gNZ:()=>dr,hkK:()=>$t,hnx:()=>pv,kXW:()=>Q6,kZ_:()=>K_,koM:()=>xl,mh3:()=>E4,nNP:()=>t5,q7m:()=>O8,qO$:()=>w7,r8p:()=>c5,sqG:()=>lm,vqe:()=>R7,wn1:()=>D_,wyP:()=>a1,xf3:()=>$1});var nt={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"]},$t={prefix:"fas",iconName:"user-check",icon:[640,512,[],"f4fc","M96 128a128 128 0 1 1 256 0A128 128 0 1 1 96 128zM0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3zM625 177L497 305c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L591 143c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},ui={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"]},Zr={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"]},Dn={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"]},Ki={prefix:"fas",iconName:"paintbrush",icon:[576,512,[128396,"paint-brush"],"f1fc","M339.3 367.1c27.3-3.9 51.9-19.4 67.2-42.9L568.2 74.1c12.6-19.5 9.4-45.3-7.6-61.2S517.7-4.4 499.1 9.6L262.4 187.2c-24 18-38.2 46.1-38.4 76.1L339.3 367.1zm-19.6 25.4l-116-104.4C143.9 290.3 96 339.6 96 400c0 3.9 .2 7.8 .6 11.6C98.4 429.1 86.4 448 68.8 448H64c-17.7 0-32 14.3-32 32s14.3 32 32 32H208c61.9 0 112-50.1 112-112c0-2.5-.1-5-.2-7.5z"]},Zi={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"]},Dc={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]},js={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"]},n2={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"]},jr={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"]},$1={prefix:"fas",iconName:"server",icon:[512,512,[],"f233","M64 32C28.7 32 0 60.7 0 96v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm48 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zM64 288c-35.3 0-64 28.7-64 64v64c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V352c0-35.3-28.7-64-64-64H64zm280 72a24 24 0 1 1 0 48 24 24 0 1 1 0-48zm56 24a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},xl={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"]},a1={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"]},es={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"]},Ha={prefix:"fas",iconName:"arrows-turn-right",icon:[448,512,[],"e4c0","M297.4 9.4c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L338.7 160H128c-35.3 0-64 28.7-64 64v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V224C0 153.3 57.3 96 128 96H338.7L297.4 54.6c-12.5-12.5-12.5-32.8 0-45.3zm-96 256c12.5-12.5 32.8-12.5 45.3 0l96 96c12.5 12.5 12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416H96c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96H242.7l-41.4-41.4c-12.5-12.5-12.5-32.8 0-45.3z"]},qh={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"]},f1={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M80 160c0-35.3 28.7-64 64-64h32c35.3 0 64 28.7 64 64v3.6c0 21.8-11.1 42.1-29.4 53.8l-42.2 27.1c-25.2 16.2-40.4 44.1-40.4 74V320c0 17.7 14.3 32 32 32s32-14.3 32-32v-1.4c0-8.2 4.2-15.8 11-20.2l42.2-27.1c36.6-23.6 58.8-64.1 58.8-107.7V160c0-70.7-57.3-128-128-128H144C73.3 32 16 89.3 16 160c0 17.7 14.3 32 32 32s32-14.3 32-32zm80 320a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]},xf={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"]},Df={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"]},L0={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"]},k0={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"]},du={prefix:"fas",iconName:"screwdriver-wrench",icon:[512,512,["tools"],"f7d9","M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM56 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"]},$f={prefix:"fas",iconName:"wallet",icon:[512,512,[],"f555","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V192c0-35.3-28.7-64-64-64H80c-8.8 0-16-7.2-16-16s7.2-16 16-16H448c17.7 0 32-14.3 32-32s-14.3-32-32-32H64zM416 272a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},E4={prefix:"fas",iconName:"code-branch",icon:[448,512,[],"f126","M80 104a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm80-24c0 32.8-19.7 61-48 73.3v87.8c18.8-10.9 40.7-17.1 64-17.1h96c35.3 0 64-28.7 64-64v-6.7C307.7 141 288 112.8 288 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V160c0 70.7-57.3 128-128 128H176c-35.3 0-64 28.7-64 64v6.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V352 153.3C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0a24 24 0 1 0 -48 0 24 24 0 1 0 48 0zM80 456a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"]},t3={prefix:"fas",iconName:"route",icon:[512,512,[],"f4d7","M512 96c0 50.2-59.1 125.1-84.6 155c-3.8 4.4-9.4 6.1-14.5 5H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c53 0 96 43 96 96s-43 96-96 96H139.6c8.7-9.9 19.3-22.6 30-36.8c6.3-8.4 12.8-17.6 19-27.2H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320c-53 0-96-43-96-96s43-96 96-96h39.8c-21-31.5-39.8-67.7-39.8-96c0-53 43-96 96-96s96 43 96 96zM117.1 489.1c-3.8 4.3-7.2 8.1-10.1 11.3l-1.8 2-.2-.2c-6 4.6-14.6 4-20-1.8C59.8 473 0 402.5 0 352c0-53 43-96 96-96s96 43 96 96c0 30-21.1 67-43.5 97.9c-10.7 14.7-21.7 28-30.8 38.5l-.6 .7zM128 352a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM416 128a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"]},o3={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},dr={prefix:"fas",iconName:"user-gear",icon:[640,512,["user-cog"],"f4fe","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304h91.4c11.8 0 23.4 1.2 34.5 3.3c-2.1 18.5 7.4 35.6 21.8 44.8c-16.6 10.6-26.7 31.6-20 53.3c4 12.9 9.4 25.5 16.4 37.6s15.2 23.1 24.4 33c15.7 16.9 39.6 18.4 57.2 8.7v.9c0 9.2 2.7 18.5 7.9 26.3H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM436 218.2c0-7 4.5-13.3 11.3-14.8c10.5-2.4 21.5-3.7 32.7-3.7s22.2 1.3 32.7 3.7c6.8 1.5 11.3 7.8 11.3 14.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.5a48.1 48.1 0 1 0 -96.1 0 48.1 48.1 0 1 0 96.1 0z"]},c6={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"]},lm={prefix:"fas",iconName:"circle-info",icon:[512,512,["info-circle"],"f05a","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z"]},vm={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M96 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32V224v64V448c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32V384H64c-17.7 0-32-14.3-32-32V288c-17.7 0-32-14.3-32-32s14.3-32 32-32V160c0-17.7 14.3-32 32-32H96V64zm448 0v64h32c17.7 0 32 14.3 32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32v64c0 17.7-14.3 32-32 32H544v64c0 17.7-14.3 32-32 32H480c-17.7 0-32-14.3-32-32V288 224 64c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32zM416 224v64H224V224H416z"]},b3={prefix:"fas",iconName:"money-bill-1",icon:[576,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm64 320H64V320c35.3 0 64 28.7 64 64zM64 192V128h64c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM176 256a112 112 0 1 1 224 0 112 112 0 1 1 -224 0zm76-48c0 9.7 6.9 17.7 16 19.6V276h-4c-11 0-20 9-20 20s9 20 20 20h24 24c11 0 20-9 20-20s-9-20-20-20h-4V208c0-11-9-20-20-20H272c-11 0-20 9-20 20z"]},I6=b3,d8={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},Q6={prefix:"fas",iconName:"network-wired",icon:[640,512,[],"f6ff","M256 64H384v64H256V64zM240 0c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48h48v32H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96v32H80c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48H240c26.5 0 48-21.5 48-48V368c0-26.5-21.5-48-48-48H192V288H448v32H400c-26.5 0-48 21.5-48 48v96c0 26.5 21.5 48 48 48H560c26.5 0 48-21.5 48-48V368c0-26.5-21.5-48-48-48H512V288h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H352V192h48c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H240zM96 448V384H224v64H96zm320-64H544v64H416V384z"]},O8={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zm368 56a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},c={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"]},d_={prefix:"fas",iconName:"arrows-turn-to-dots",icon:[512,512,[],"e4c1","M249.4 25.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3L269.3 96 416 96c53 0 96 43 96 96v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V192c0-17.7-14.3-32-32-32l-146.7 0 25.4 25.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-80-80c-12.5-12.5-12.5-32.8 0-45.3l80-80zm13.3 256l80 80c12.5 12.5 12.5 32.8 0 45.3l-80 80c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 416 96 416c-17.7 0-32 14.3-32 32v32c0 17.7-14.3 32-32 32s-32-14.3-32-32V448c0-53 43-96 96-96l146.7 0-25.4-25.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0zM384 384a64 64 0 1 1 128 0 64 64 0 1 1 -128 0zM64 192A64 64 0 1 1 64 64a64 64 0 1 1 0 128z"]},h_={prefix:"fas",iconName:"user-lock",icon:[640,512,[],"f502","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H392.6c-5.4-9.4-8.6-20.3-8.6-32V352c0-2.1 .1-4.2 .3-6.3c-31-26-71-41.7-114.6-41.7H178.3zM528 240c17.7 0 32 14.3 32 32v48H496V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7 0-32 14.3-32 32V480c0 17.7 14.3 32 32 32H608c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32V272c0-44.2-35.8-80-80-80s-80 35.8-80 80z"]},S_={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM288 96a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM256 416c35.3 0 64-28.7 64-64c0-17.4-6.9-33.1-18.1-44.6L366 161.7c5.3-12.1-.2-26.3-12.3-31.6s-26.3 .2-31.6 12.3L257.9 288c-.6 0-1.3 0-1.9 0c-35.3 0-64 28.7-64 64s28.7 64 64 64zM176 144a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zM96 288a32 32 0 1 0 0-64 32 32 0 1 0 0 64zm352-32a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},t5={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"]},D_={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},P_={prefix:"fas",iconName:"receipt",icon:[384,512,[129534],"f543","M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.3-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6s14 12.4 14 21.8V488c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6L304 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L192 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488V24C0 14.6 5.5 6.1 14 2.2zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96zM80 352c0 8.8 7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96z"]},j_={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"]},K_={prefix:"fas",iconName:"copy",icon:[512,512,[],"f0c5","M272 0H396.1c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9V336c0 26.5-21.5 48-48 48H272c-26.5 0-48-21.5-48-48V48c0-26.5 21.5-48 48-48zM48 128H192v64H64V448H256V416h64v48c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V176c0-26.5 21.5-48 48-48z"]},c5={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"]},$_={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},h7={prefix:"fas",iconName:"percent",icon:[384,512,[62101,62785,"percentage"],"25","M374.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-320 320c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l320-320zM128 128A64 64 0 1 0 0 128a64 64 0 1 0 128 0zM384 384a64 64 0 1 0 -128 0 64 64 0 1 0 128 0z"]},w7={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"]},R7={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"]},Y7={prefix:"fas",iconName:"scale-balanced",icon:[640,512,[9878,"balance-scale"],"f24e","M384 32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H398.4c-5.2 25.8-22.9 47.1-46.4 57.3V448H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H320 128c-17.7 0-32-14.3-32-32s14.3-32 32-32H288V153.3c-23.5-10.3-41.2-31.6-46.4-57.3H128c-17.7 0-32-14.3-32-32s14.3-32 32-32H256c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288H584.4L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320H199.3L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z"]},iv={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},av={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"]},pv={prefix:"fas",iconName:"user-clock",icon:[640,512,[],"f4fd","M224 0a128 128 0 1 1 0 256A128 128 0 1 1 224 0zM178.3 304h91.4c20.6 0 40.4 3.5 58.8 9.9C323 331 320 349.1 320 368c0 59.5 29.5 112.1 74.8 144H29.7C13.3 512 0 498.7 0 482.3C0 383.8 79.8 304 178.3 304zM352 368a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-80c-8.8 0-16 7.2-16 16v64c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16H512V304c0-8.8-7.2-16-16-16z"]}},493:(Be,Q,m)=>{"use strict";m.d(Q,{eX:()=>z,sQ:()=>Qe,GW:()=>i,l4:()=>Y});var t=m(6451),e=m(9751),g=m(7579),A=m(8502),s=m(515),C=m(9646),h=m(2843),P=m(576);class M{constructor(zt,xt,Ht){this.kind=zt,this.value=xt,this.error=Ht,this.hasValue="N"===zt}observe(zt){return w(this,zt)}do(zt,xt,Ht){const{kind:Ut,value:De,error:X}=this;return"N"===Ut?zt?.(De):"E"===Ut?xt?.(X):Ht?.()}accept(zt,xt,Ht){var Ut;return(0,P.m)(null===(Ut=zt)||void 0===Ut?void 0:Ut.next)?this.observe(zt):this.do(zt,xt,Ht)}toObservable(){const{kind:zt,value:xt,error:Ht}=this,Ut="N"===zt?(0,C.of)(xt):"E"===zt?(0,h._)(()=>Ht):"C"===zt?s.E:0;if(!Ut)throw new TypeError(`Unexpected notification kind ${zt}`);return Ut}static createNext(zt){return new M("N",zt)}static createError(zt){return new M("E",void 0,zt)}static createComplete(){return M.completeNotification}}function w(Ye,zt){var xt,Ht,Ut;const{kind:De,value:X,error:ue}=Ye;if("string"!=typeof De)throw new TypeError('Invalid notification, missing "kind"');"N"===De?null===(xt=zt.next)||void 0===xt||xt.call(zt,X):"E"===De?null===(Ht=zt.error)||void 0===Ht||Ht.call(zt,ue):null===(Ut=zt.complete)||void 0===Ut||Ut.call(zt)}M.completeNotification=new M("C");var I=m(4482),k=m(5403),U=m(4004),Z=m(262),W=m(9300),K=m(8421);function q(Ye,zt,xt,Ht){return(0,I.e)((Ut,De)=>{let X;zt&&"function"!=typeof zt?({duration:xt,element:X,connector:Ht}=zt):X=zt;const ue=new Map,Ee=ot=>{ue.forEach(ot),ot(De)},qe=ot=>Ee(ut=>ut.error(ot));let Xt=0,Vt=!1;const ri=new k.Q(De,ot=>{try{const ut=Ye(ot);let wt=ue.get(ut);if(!wt){ue.set(ut,wt=Ht?Ht():new g.x);const ft=function pt(ot,ut){const wt=new e.y(ft=>{Xt++;const Xe=ut.subscribe(ft);return()=>{Xe.unsubscribe(),0==--Xt&&Vt&&ri.unsubscribe()}});return wt.key=ot,wt}(ut,wt);if(De.next(ft),xt){const Xe=(0,k.x)(wt,()=>{wt.complete(),Xe?.unsubscribe()},void 0,void 0,()=>ue.delete(ut));ri.add((0,K.Xf)(xt(ft)).subscribe(Xe))}}wt.next(X?X(ot):ot)}catch(ut){qe(ut)}},()=>Ee(ot=>ot.complete()),qe,()=>ue.clear(),()=>(Vt=!0,0===Xt));Ut.subscribe(ri)})}var te=m(5577);function pe(Ye,zt){return zt?xt=>xt.pipe(pe((Ht,Ut)=>(0,K.Xf)(Ye(Ht,Ut)).pipe((0,U.U)((De,X)=>zt(Ht,De,Ut,X))))):(0,I.e)((xt,Ht)=>{let Ut=0,De=null,X=!1;xt.subscribe((0,k.x)(Ht,ue=>{De||(De=(0,k.x)(Ht,void 0,()=>{De=null,X&&Ht.complete()}),(0,K.Xf)(Ye(ue,Ut++)).subscribe(De))},()=>{X=!0,!De&&Ht.complete()}))})}var re=m(5698),ce=m(4650),se=m(9653);const he={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},S="__@ngrx/effects_create__";function i(Ye,zt={}){const xt=zt.functional?Ye:Ye(),Ht={...he,...zt};return Object.defineProperty(xt,S,{value:Ht}),xt}function y(Ye){return Object.getPrototypeOf(Ye)}function D(Ye){return"function"==typeof Ye}function v(Ye){return Ye.filter(D)}function n(Ye,zt,xt){const Ht=y(Ye).constructor.name,Ut=function l(Ye){return function a(Ye){return Object.getOwnPropertyNames(Ye).filter(Ht=>!(!Ye[Ht]||!Ye[Ht].hasOwnProperty(S))&&Ye[Ht][S].hasOwnProperty("dispatch")).map(Ht=>({propertyName:Ht,...Ye[Ht][S]}))}(Ye)}(Ye).map(({propertyName:De,dispatch:X,useEffectsErrorHandler:ue})=>{const Ee="function"==typeof Ye[De]?Ye[De]():Ye[De],qe=ue?xt(Ee,zt):Ee;return!1===X?qe.pipe((0,A.l)()):qe.pipe(function O(){return(0,I.e)((Ye,zt)=>{Ye.subscribe((0,k.x)(zt,xt=>{zt.next(M.createNext(xt))},()=>{zt.next(M.createComplete()),zt.complete()},xt=>{zt.next(M.createError(xt)),zt.complete()}))})}()).pipe((0,U.U)(Vt=>({effect:Ye[De],notification:Vt,propertyName:De,sourceName:Ht,sourceInstance:Ye})))});return(0,t.T)(...Ut)}const b=10;function V(Ye,zt,xt=b){return Ye.pipe((0,Z.K)(Ht=>(zt&&zt.handleError(Ht),xt<=1?Ye:V(Ye,zt,xt-1))))}let z=(()=>{class Ye extends e.y{constructor(xt){super(),xt&&(this.source=xt)}lift(xt){const Ht=new Ye;return Ht.source=this,Ht.operator=xt,Ht}}return Ye.\u0275fac=function(xt){return new(xt||Ye)(ce.LFG(se.Y$))},Ye.\u0275prov=ce.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye})();function Y(...Ye){return(0,W.h)(zt=>Ye.some(xt=>"string"==typeof xt?xt===zt.type:xt.type===zt.type))}const Te=new ce.OlP("@ngrx/effects Internal Root Guard"),$e=new ce.OlP("@ngrx/effects User Provided Effects"),Ve=new ce.OlP("@ngrx/effects Internal Root Effects"),We=new ce.OlP("@ngrx/effects Internal Root Effects Instances"),Re=new ce.OlP("@ngrx/effects Internal Feature Effects"),we=new ce.OlP("@ngrx/effects Internal Feature Effects Instance Groups"),me=new ce.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>V}),Ae="@ngrx/effects/init";(0,se.PH)(Ae);const ge="ngrxOnIdentifyEffects",de="ngrxOnInitEffects";function rt(Ye){return je(Ye,de)}function je(Ye,zt){return Ye&&zt in Ye&&"function"==typeof Ye[zt]}let lt=(()=>{class Ye extends g.x{constructor(xt,Ht){super(),this.errorHandler=xt,this.effectsErrorHandler=Ht}addEffects(xt){this.next(xt)}toActions(){return this.pipe(q(xt=>function E(Ye){return"Object"!==Ye.constructor.name&&"Function"!==Ye.constructor.name}(xt)?y(xt):xt),(0,te.z)(xt=>xt.pipe(q(Nt))),(0,te.z)(xt=>{const Ht=xt.pipe(pe(De=>function Ke(Ye,zt){return xt=>{const Ht=n(xt,Ye,zt);return function Ie(Ye){return je(Ye,"ngrxOnRunEffects")}(xt)?xt.ngrxOnRunEffects(Ht):Ht}}(this.errorHandler,this.effectsErrorHandler)(De)),(0,U.U)(De=>(function Ze(Ye,zt){if("N"===Ye.notification.kind){const xt=Ye.notification.value;!function Oe(Ye){return"function"!=typeof Ye&&Ye&&Ye.type&&"string"==typeof Ye.type}(xt)&&zt.handleError(new Error(`Effect ${function fe({propertyName:Ye,sourceInstance:zt,sourceName:xt}){const Ht="function"==typeof zt[Ye];return`"${xt}.${String(Ye)}${Ht?"()":""}"`}(Ye)} dispatched an invalid action: ${function Se(Ye){try{return JSON.stringify(Ye)}catch{return Ye}}(xt)}`))}}(De,this.errorHandler),De.notification)),(0,W.h)(De=>"N"===De.kind&&null!=De.value),function oe(){return(0,I.e)((Ye,zt)=>{Ye.subscribe((0,k.x)(zt,xt=>w(xt,zt)))})}()),Ut=xt.pipe((0,re.q)(1),(0,W.h)(rt),(0,U.U)(De=>De.ngrxOnInitEffects()));return(0,t.T)(Ht,Ut)}))}}return Ye.\u0275fac=function(xt){return new(xt||Ye)(ce.LFG(ce.qLn),ce.LFG(me))},Ye.\u0275prov=ce.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye})();function Nt(Ye){return function xe(Ye){return je(Ye,ge)}(Ye)?Ye.ngrxOnIdentifyEffects():""}let at=(()=>{class Ye{constructor(xt,Ht){this.effectSources=xt,this.store=Ht,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 Ye.\u0275fac=function(xt){return new(xt||Ye)(ce.LFG(lt),ce.LFG(se.yh))},Ye.\u0275prov=ce.Yz7({token:Ye,factory:Ye.\u0275fac,providedIn:"root"}),Ye})(),Ct=(()=>{class Ye{constructor(xt,Ht,Ut,De,X,ue,Ee){this.sources=xt,Ht.start();for(const qe of De)xt.addEffects(qe);Ut.dispatch({type:Ae})}addEffects(xt){this.sources.addEffects(xt)}}return Ye.\u0275fac=function(xt){return new(xt||Ye)(ce.LFG(lt),ce.LFG(at),ce.LFG(se.yh),ce.LFG(We),ce.LFG(se.cr,8),ce.LFG(se.CK,8),ce.LFG(Te,8))},Ye.\u0275mod=ce.oAB({type:Ye}),Ye.\u0275inj=ce.cJS({}),Ye})(),ye=(()=>{class Ye{constructor(xt,Ht,Ut,De){const X=Ht.flat();for(const ue of X)xt.addEffects(ue)}}return Ye.\u0275fac=function(xt){return new(xt||Ye)(ce.LFG(Ct),ce.LFG(we),ce.LFG(se.cr,8),ce.LFG(se.CK,8))},Ye.\u0275mod=ce.oAB({type:Ye}),Ye.\u0275inj=ce.cJS({}),Ye})(),Qe=(()=>{class Ye{static forFeature(...xt){const Ht=xt.flat(),Ut=v(Ht);return{ngModule:ye,providers:[Ut,{provide:Re,multi:!0,useValue:Ht},{provide:$e,multi:!0,useValue:[]},{provide:we,multi:!0,useFactory:Le,deps:[Re,$e]}]}}static forRoot(...xt){const Ht=xt.flat(),Ut=v(Ht);return{ngModule:Ct,providers:[Ut,{provide:Ve,useValue:[Ht]},{provide:Te,useFactory:J},{provide:$e,multi:!0,useValue:[]},{provide:We,useFactory:Le,deps:[Ve,$e]}]}}}return Ye.\u0275fac=function(xt){return new(xt||Ye)},Ye.\u0275mod=ce.oAB({type:Ye}),Ye.\u0275inj=ce.cJS({}),Ye})();function Le(Ye,zt){const xt=[];for(const Ht of Ye)xt.push(...Ht);for(const Ht of zt)xt.push(...Ht);return xt.map(Ht=>D(Ht)?(0,ce.f3M)(Ht):Ht)}function J(){const Ye=(0,ce.f3M)(at,{optional:!0,skipSelf:!0}),zt=(0,ce.f3M)(Ve,{self:!0});if((1!==zt.length||0!==zt[0].length)&&Ye)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(Be){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 Be?Be():Be,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(Be,Q){return Be.filter(m=>Q.indexOf(m)<0)}function unliftState(Be){const{computedStates:Q,currentStateIndex:m}=Be;if(m>=Q.length){const{state:e}=Q[Q.length-1];return e}const{state:t}=Q[m];return t}function unliftAction(Be){return Be.actionsById[Be.nextActionId-1]}function liftAction(Be){return new PerformAction(Be,+Date.now())}function sanitizeActions(Be,Q){return Object.keys(Q).reduce((m,t)=>{const e=Number(t);return m[e]=sanitizeAction(Be,Q[e],e),m},{})}function sanitizeAction(Be,Q,m){return{...Q,action:Be(Q.action,m)}}function sanitizeStates(Be,Q){return Q.map((m,t)=>({state:sanitizeState(Be,m.state,t),error:m.error}))}function sanitizeState(Be,Q,m){return Be(Q,m)}function shouldFilterActions(Be){return Be.predicate||Be.actionsSafelist||Be.actionsBlocklist}function filterLiftedState(Be,Q,m,t){const e=[],g={},A=[];return Be.stagedActionIds.forEach((s,C)=>{const h=Be.actionsById[s];h&&(C&&isActionFiltered(Be.computedStates[C],h,Q,m,t)||(g[s]=h,e.push(s),A.push(Be.computedStates[C])))}),{...Be,stagedActionIds:e,actionsById:g,computedStates:A}}function isActionFiltered(Be,Q,m,t,e){const g=m&&!m(Be,Q.action),A=t&&!Q.action.type.match(t.map(C=>escapeRegExp(C)).join("|")),s=e&&Q.action.type.match(e.map(C=>escapeRegExp(C)).join("|"));return g||A||s}function escapeRegExp(Be){return Be.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let DevtoolsDispatcher=(()=>{class Be extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{}return Be.\u0275fac=function(){let Q;return function(t){return(Q||(Q=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(Be)))(t||Be)}}(),Be.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:Be,factory:Be.\u0275fac}),Be})();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(Be,Q,m){this.config=Q,this.dispatcher=m,this.devtoolsExtension=Be,this.createActionStreams()}notify(Be,Q){if(this.devtoolsExtension)if(Be.type===PERFORM_ACTION){if(Q.isLocked||Q.isPaused)return;const m=unliftState(Q);if(shouldFilterActions(this.config)&&isActionFiltered(m,Be,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,Be,Q.nextActionId):Be;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(Be=>{const Q=this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=Q,Q.init(),Q.subscribe(m=>Be.next(m)),Q.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const Be=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),Q=Be.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(s=>s.type===ExtensionActionTypes.START)),m=Be.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(s=>s.type===ExtensionActionTypes.STOP)),t=Be.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(s=>s.type===ExtensionActionTypes.DISPATCH),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(s=>this.unwrapAction(s.payload)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.b)(s=>s.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)(()=>s),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_10__.K)(()=>(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(s)),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_12__.q)(1)):(0,rxjs__WEBPACK_IMPORTED_MODULE_11__.of)(s))),g=Be.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(s=>s.type===ExtensionActionTypes.ACTION),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(s=>this.unwrapAction(s.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(Be){const Q={name:Be.name,features:Be.features,serialize:Be.serialize,autoPause:Be.autoPause??!1,trace:Be.trace??!1,traceLimit:Be.traceLimit??75};return!1!==Be.maxAge&&(Q.maxAge=Be.maxAge),Q}sendToReduxDevtools(Be){try{Be()}catch(Q){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",Q)}}}return DevtoolsExtension.\u0275fac=function Be(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(Be,Q,m,t,e){if(t)return{state:m,error:"Interrupted by an error up the chain"};let A,g=m;try{g=Be(m,Q)}catch(s){A=s.toString(),e.handleError(s)}return{state:g,error:A}}function recomputeStates(Be,Q,m,t,e,g,A,s,C){if(Q>=Be.length&&Be.length===g.length)return Be;const h=Be.slice(0,Q),P=g.length-(C?1:0);for(let d=Q;d<P;d++){const M=g[d],w=e[M].action,I=h[d-1],k=I?I.state:t,O=I?I.error:void 0,Z=A.indexOf(M)>-1?I:computeNextEntry(m,w,k,O,s);h.push(Z)}return C&&h.push(Be[Be.length-1]),h}function liftInitialState(Be,Q){return{monitorState:Q(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:Be,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(Be,Q,m,t,e={}){return g=>(A,s)=>{let{monitorState:C,actionsById:h,nextActionId:P,stagedActionIds:d,skippedActionIds:M,committedState:w,currentStateIndex:I,computedStates:k,isLocked:O,isPaused:U}=A||Q;function Z(q){let te=q,pe=d.slice(1,te+1);for(let oe=0;oe<pe.length;oe++){if(k[oe+1].error){te=oe,pe=d.slice(1,te+1);break}delete h[pe[oe]]}M=M.filter(oe=>-1===pe.indexOf(oe)),d=[0,...d.slice(te+1)],w=k[te].state,k=k.slice(te),I=I>te?I-te:0}function W(){h={0:liftAction(INIT_ACTION)},P=1,d=[0],M=[],w=k[I].state,I=0,k=[]}A||(h=Object.create(h));let K=0;switch(s.type){case LOCK_CHANGES:O=s.status,K=1/0;break;case PAUSE_RECORDING:U=s.status,U?(d=[...d,P],h[P]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),P++,K=d.length-1,k=k.concat(k[k.length-1]),I===d.length-2&&I++,K=1/0):W();break;case RESET:h={0:liftAction(INIT_ACTION)},P=1,d=[0],M=[],w=Be,I=0,k=[];break;case COMMIT:W();break;case ROLLBACK:h={0:liftAction(INIT_ACTION)},P=1,d=[0],M=[],I=0,k=[];break;case TOGGLE_ACTION:{const{id:q}=s;M=-1===M.indexOf(q)?[q,...M]:M.filter(pe=>pe!==q),K=d.indexOf(q);break}case SET_ACTIONS_ACTIVE:{const{start:q,end:te,active:pe}=s,oe=[];for(let re=q;re<te;re++)oe.push(re);M=pe?difference(M,oe):[...M,...oe],K=d.indexOf(q);break}case JUMP_TO_STATE:I=s.index,K=1/0;break;case JUMP_TO_ACTION:{const q=d.indexOf(s.actionId);-1!==q&&(I=q),K=1/0;break}case SWEEP:d=difference(d,M),M=[],I=Math.min(I,d.length-1);break;case PERFORM_ACTION:{if(O)return A||Q;if(U||A&&isActionFiltered(A.computedStates[I],s,e.predicate,e.actionsSafelist,e.actionsBlocklist)){const te=k[k.length-1];k=[...k.slice(0,-1),computeNextEntry(g,s.action,te.state,te.error,m)],K=1/0;break}e.maxAge&&d.length===e.maxAge&&Z(1),I===d.length-1&&I++;const q=P++;h[q]=s,d=[...d,q],K=d.length-1;break}case IMPORT_STATE:({monitorState:C,actionsById:h,nextActionId:P,stagedActionIds:d,skippedActionIds:M,committedState:w,currentStateIndex:I,computedStates:k,isLocked:O,isPaused:U}=s.nextLiftedState);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg:K=0,e.maxAge&&d.length>e.maxAge&&(k=recomputeStates(k,K,g,w,h,d,M,m,U),Z(d.length-e.maxAge),K=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(k.filter(te=>te.error).length>0)K=0,e.maxAge&&d.length>e.maxAge&&(k=recomputeStates(k,K,g,w,h,d,M,m,U),Z(d.length-e.maxAge),K=1/0);else{if(!U&&!O){I===d.length-1&&I++;const te=P++;h[te]=new PerformAction(s,+Date.now()),d=[...d,te],K=d.length-1,k=recomputeStates(k,K,g,w,h,d,M,m,U)}k=k.map(te=>({...te,state:g(te.state,RECOMPUTE_ACTION)})),I=d.length-1,e.maxAge&&d.length>e.maxAge&&Z(d.length-e.maxAge),K=1/0}break;default:K=1/0}return k=recomputeStates(k,K,g,w,h,d,M,m,U),C=t(C,s),{monitorState:C,actionsById:h,nextActionId:P,stagedActionIds:d,skippedActionIds:M,committedState:w,currentStateIndex:I,computedStates:k,isLocked:O,isPaused:U}}}let StoreDevtools=(()=>{class Be{constructor(m,t,e,g,A,s,C,h){const P=liftInitialState(C,h.monitor),d=liftReducerWith(C,P,s,h.monitor,h),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)),I=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1),k=M.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(w),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:W},[K,q])=>{let te=q(W,K);return K.type!==PERFORM_ACTION&&shouldFilterActions(h)&&(te=filterLiftedState(te,h.predicate,h.actionsSafelist,h.actionsBlocklist)),g.notify(K,te),{state:te,action:K}},{state:P,action:null})).subscribe(({state:W,action:K})=>{I.next(W),K.type===PERFORM_ACTION&&A.next(K.action)}),O=g.start$.subscribe(()=>{this.refresh()}),U=I.asObservable(),Z=U.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));this.extensionStartSubscription=O,this.stateSubscription=k,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 Be.\u0275fac=function(m){return new(m||Be)(_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))},Be.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:Be,factory:Be.\u0275fac}),Be})();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(Be,Q){return Boolean(Be)||Q.monitor!==noMonitor}function createReduxDevtoolsExtension(){const Be="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[Be]<"u"?window[Be]:null}function provideStoreDevtools(Be={}){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.MR2)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:Be},{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(Be){return Be.state}let StoreDevtoolsModule=(()=>{class Be{static instrument(m={}){return{ngModule:Be,providers:[provideStoreDevtools(m)]}}}return Be.\u0275fac=function(m){return new(m||Be)},Be.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:Be}),Be.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({}),Be})()},9653:(Be,Q,m)=>{"use strict";m.d(Q,{UO:()=>ce,qg:()=>re,Y6:()=>i,mK:()=>xe,n$:()=>ge,Y$:()=>rt,FR:()=>lt,yh:()=>Ct,CK:()=>Ma,Aw:()=>Oa,cr:()=>Xn,wb:()=>vt,PH:()=>O,ZF:()=>Xe,Lq:()=>Ua,P1:()=>ut,on:()=>Wn,Ky:()=>U});var t=m(4650),e=m(1135),g=m(9751),A=m(7579),s=m(233),C=m(5363),h=m(1365),P=m(5026),d=m(4004),w=m(1884);const I={};function O(qt,Jt){if(I[qt]=(I[qt]||0)+1,"function"==typeof Jt)return W(qt,(...ui)=>({...Jt(...ui),type:qt}));switch(Jt?Jt._as:"empty"){case"empty":return W(qt,()=>({type:qt}));case"props":return W(qt,ui=>({...ui,type:qt}));default:throw new Error("Unexpected config.")}}function U(){return{_as:"props",_p:void 0}}function W(qt,Jt){return Object.defineProperty(Jt,"type",{value:qt,writable:!1})}const re="@ngrx/store/init";let ce=(()=>{class qt extends e.X{constructor(){super({type:re})}next(ni){if("function"==typeof ni)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 ni>"u")throw new TypeError("Actions must be objects");if(typeof ni.type>"u")throw new TypeError("Actions must have a type property");super.next(ni)}complete(){}ngOnDestroy(){super.complete()}}return qt.\u0275fac=function(ni){return new(ni||qt)},qt.\u0275prov=t.Yz7({token:qt,factory:qt.\u0275fac}),qt})();const se=[ce],he=new t.OlP("@ngrx/store Internal Root Guard"),S=new t.OlP("@ngrx/store Internal Initial State"),i=new t.OlP("@ngrx/store Initial State"),a=new t.OlP("@ngrx/store Reducer Factory"),f=new t.OlP("@ngrx/store Internal Reducer Factory Provider"),l=new t.OlP("@ngrx/store Initial Reducers"),y=new t.OlP("@ngrx/store Internal Initial Reducers"),E=new t.OlP("@ngrx/store Store Features"),D=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"),V=new t.OlP("@ngrx/store Internal Feature Reducers Token"),z=new t.OlP("@ngrx/store Feature Reducers"),Y=new t.OlP("@ngrx/store User Provided Meta Reducers"),Te=new t.OlP("@ngrx/store Meta Reducers"),$e=new t.OlP("@ngrx/store Internal Resolved Meta Reducers"),Ve=new t.OlP("@ngrx/store User Runtime Checks Config"),We=new t.OlP("@ngrx/store Internal User Runtime Checks Config"),Re=new t.OlP("@ngrx/store Internal Runtime Checks"),we=new t.OlP("@ngrx/store Check if Action types are unique");function ee(qt,Jt={}){const ni=Object.keys(qt),ui={};for(let Hi=0;Hi<ni.length;Hi++){const hn=ni[Hi];"function"==typeof qt[hn]&&(ui[hn]=qt[hn])}const Di=Object.keys(ui);return function(hn,Gn){hn=void 0===hn?Jt:hn;let Fn=!1;const ba={};for(let En=0;En<Di.length;En++){const Hn=Di[En],zn=hn[Hn],ta=(0,ui[Hn])(zn,Gn);ba[Hn]=ta,Fn=Fn||ta!==zn}return Fn?ba:hn}}function Oe(...qt){return function(Jt){if(0===qt.length)return Jt;const ni=qt[qt.length-1];return qt.slice(0,-1).reduceRight((Di,Hi)=>Hi(Di),ni(Jt))}}function fe(qt,Jt){return Array.isArray(Jt)&&Jt.length>0&&(qt=Oe.apply(null,[...Jt,qt])),(ni,ui)=>{const Di=qt(ni);return(Hi,hn)=>Di(Hi=void 0===Hi?ui:Hi,hn)}}new t.OlP("@ngrx/store Root Store Provider"),new t.OlP("@ngrx/store Feature State Provider");class ge extends g.y{}class xe extends ce{}const vt="@ngrx/store/update-reducers";let Ie=(()=>{class qt extends e.X{constructor(ni,ui,Di,Hi){super(Hi(Di,ui)),this.dispatcher=ni,this.initialState=ui,this.reducers=Di,this.reducerFactory=Hi}get currentReducers(){return this.reducers}addFeature(ni){this.addFeatures([ni])}addFeatures(ni){const ui=ni.reduce((Di,{reducers:Hi,reducerFactory:hn,metaReducers:Gn,initialState:Fn,key:ba})=>{const En="function"==typeof Hi?function Se(qt){const Jt=Array.isArray(qt)&&qt.length>0?Oe(...qt):ni=>ni;return(ni,ui)=>(ni=Jt(ni),(Di,Hi)=>ni(Di=void 0===Di?ui:Di,Hi))}(Gn)(Hi,Fn):fe(hn,Gn)(Hi,Fn);return Di[ba]=En,Di},{});this.addReducers(ui)}removeFeature(ni){this.removeFeatures([ni])}removeFeatures(ni){this.removeReducers(ni.map(ui=>ui.key))}addReducer(ni,ui){this.addReducers({[ni]:ui})}addReducers(ni){this.reducers={...this.reducers,...ni},this.updateReducers(Object.keys(ni))}removeReducer(ni){this.removeReducers([ni])}removeReducers(ni){ni.forEach(ui=>{this.reducers=function Ze(qt,Jt){return Object.keys(qt).filter(ni=>ni!==Jt).reduce((ni,ui)=>Object.assign(ni,{[ui]:qt[ui]}),{})}(this.reducers,ui)}),this.updateReducers(ni)}updateReducers(ni){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:vt,features:ni})}ngOnDestroy(){this.complete()}}return qt.\u0275fac=function(ni){return new(ni||qt)(t.LFG(xe),t.LFG(i),t.LFG(l),t.LFG(a))},qt.\u0275prov=t.Yz7({token:qt,factory:qt.\u0275fac}),qt})();const de=[Ie,{provide:ge,useExisting:Ie},{provide:xe,useExisting:ce}];let rt=(()=>{class qt extends A.x{ngOnDestroy(){this.complete()}}return qt.\u0275fac=function(){let Jt;return function(ui){return(Jt||(Jt=t.n5z(qt)))(ui||qt)}}(),qt.\u0275prov=t.Yz7({token:qt,factory:qt.\u0275fac}),qt})();const je=[rt];class lt extends g.y{}let Nt=(()=>{class qt extends e.X{constructor(ni,ui,Di,Hi){super(Hi);const ba=ni.pipe((0,C.Q)(s.N)).pipe((0,h.M)(ui)).pipe((0,P.R)(Ke,{state:Hi}));this.stateSubscription=ba.subscribe(({state:En,action:Hn})=>{this.next(En),Di.next(Hn)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return qt.INIT=re,qt.\u0275fac=function(ni){return new(ni||qt)(t.LFG(ce),t.LFG(ge),t.LFG(rt),t.LFG(i))},qt.\u0275prov=t.Yz7({token:qt,factory:qt.\u0275fac}),qt})();function Ke(qt={state:void 0},[Jt,ni]){const{state:ui}=qt;return{state:ni(ui,Jt),action:Jt}}const at=[Nt,{provide:lt,useExisting:Nt}];let Ct=(()=>{class qt extends g.y{constructor(ni,ui,Di){super(),this.actionsObserver=ui,this.reducerManager=Di,this.source=ni}select(ni,...ui){return Qe.call(null,ni,...ui)(this)}lift(ni){const ui=new qt(this,this.actionsObserver,this.reducerManager);return ui.operator=ni,ui}dispatch(ni){this.actionsObserver.next(ni)}next(ni){this.actionsObserver.next(ni)}error(ni){this.actionsObserver.error(ni)}complete(){this.actionsObserver.complete()}addReducer(ni,ui){this.reducerManager.addReducer(ni,ui)}removeReducer(ni){this.reducerManager.removeReducer(ni)}}return qt.\u0275fac=function(ni){return new(ni||qt)(t.LFG(lt),t.LFG(ce),t.LFG(Ie))},qt.\u0275prov=t.Yz7({token:qt,factory:qt.\u0275fac}),qt})();const ye=[Ct];function Qe(qt,Jt,...ni){return function(Di){let Hi;if("string"==typeof qt){const hn=[Jt,...ni].filter(Boolean);Hi=Di.pipe(function M(...qt){const Jt=qt.length;if(0===Jt)throw new Error("list of properties cannot be empty.");return(0,d.U)(ni=>{let ui=ni;for(let Di=0;Di<Jt;Di++){const Hi=ui?.[qt[Di]];if(!(typeof Hi<"u"))return;ui=Hi}return ui})}(qt,...hn))}else{if("function"!=typeof qt)throw new TypeError(`Unexpected type '${typeof qt}' in select operator, expected 'string' or 'function'`);Hi=Di.pipe((0,d.U)(hn=>qt(hn,Jt)))}return Hi.pipe((0,w.x)())}}const Le="https://ngrx.io/guide/store/configuration/runtime-checks";function J(qt){return void 0===qt}function mt(qt){return null===qt}function St(qt){return Array.isArray(qt)}function xt(qt){return"object"==typeof qt&&null!==qt}function De(qt){return"function"==typeof qt}let Ee=!1;function Vt(qt,Jt){return qt===Jt}function ot(qt,Jt=Vt,ni=Vt){let Hi,ui=null,Di=null;return{memoized:function ba(){if(void 0!==Hi)return Hi.result;if(!ui)return Di=qt.apply(null,arguments),ui=arguments,Di;if(!function ri(qt,Jt,ni){for(let ui=0;ui<qt.length;ui++)if(!ni(qt[ui],Jt[ui]))return!0;return!1}(arguments,ui,Jt))return Di;const En=qt.apply(null,arguments);return ui=arguments,ni(Di,En)?Di:(Di=En,En)},reset:function hn(){ui=null,Di=null},setResult:function Gn(En){Hi={result:En}},clearResult:function Fn(){Hi=void 0}}}function ut(...qt){return function ft(qt,Jt={stateFn:wt}){return function(...ni){let ui=ni;if(Array.isArray(ui[0])){const[En,...Hn]=ui;ui=[...En,...Hn]}else 1===ui.length&&function gt(qt){return!!qt&&"object"==typeof qt&&Object.values(qt).every(Jt=>"function"==typeof Jt)}(ui[0])&&(ui=function _t(qt){const Jt=Object.values(qt),ni=Object.keys(qt);return[...Jt,(...Di)=>ni.reduce((Hi,hn,Gn)=>({...Hi,[hn]:Di[Gn]}),{})]}(ui[0]));const Di=ui.slice(0,ui.length-1),Hi=ui[ui.length-1],hn=Di.filter(En=>En.release&&"function"==typeof En.release),Gn=qt(function(...En){return Hi.apply(null,En)}),Fn=ot(function(En,Hn){return Jt.stateFn.apply(null,[En,Di,Hn,Gn])});return Object.assign(Fn.memoized,{release:function ba(){Fn.reset(),Gn.reset(),hn.forEach(En=>En.release())},projector:Gn.memoized,setResult:Fn.setResult,clearResult:Fn.clearResult})}}(ot)(...qt)}function wt(qt,Jt,ni,ui){if(void 0===ni){const Hi=Jt.map(hn=>hn(qt));return ui.memoized.apply(null,Hi)}const Di=Jt.map(Hi=>Hi(qt,ni));return ui.memoized.apply(null,[...Di,ni])}function Xe(qt){return ut(Jt=>{const ni=Jt[qt];return!function Xt(){return Ee}()&&(0,t.X6Q)()&&!(qt in Jt)&&console.warn(`@ngrx/store: The feature name "${qt}" does not exist in the state, therefore createFeatureSelector cannot access it. Be sure it is imported in a loaded module using StoreModule.forRoot('${qt}', ...) or StoreModule.forFeature('${qt}', ...). If the default state is intended to be undefined, as is the case with router state, this development-only warning message can be ignored.`),ni},Jt=>Jt)}function Yt(qt){return qt instanceof t.OlP?(0,t.f3M)(qt):qt}function Fi(qt,Jt){return Jt.map((ni,ui)=>{if(qt[ui]instanceof t.OlP){const Di=(0,t.f3M)(qt[ui]);return{key:ni.key,reducerFactory:Di.reducerFactory?Di.reducerFactory:ee,metaReducers:Di.metaReducers?Di.metaReducers:[],initialState:Di.initialState}}return ni})}function Ri(qt){return qt.map(Jt=>Jt instanceof t.OlP?(0,t.f3M)(Jt):Jt)}function Ci(qt){return"function"==typeof qt?qt():qt}function Bi(qt,Jt){return qt.concat(Jt)}function Je(){if((0,t.f3M)(Ct,{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 be(qt){Object.freeze(qt);const Jt=De(qt);return Object.getOwnPropertyNames(qt).forEach(ni=>{if(!ni.startsWith("\u0275")&&function ue(qt,Jt){return Object.prototype.hasOwnProperty.call(qt,Jt)}(qt,ni)&&(!Jt||"caller"!==ni&&"callee"!==ni&&"arguments"!==ni)){const ui=qt[ni];(xt(ui)||De(ui))&&!Object.isFrozen(ui)&&be(ui)}}),qt}function Wt(qt,Jt=[]){return(J(qt)||mt(qt))&&0===Jt.length?{path:["root"],value:qt}:Object.keys(qt).reduce((ui,Di)=>{if(ui)return ui;const Hi=qt[Di];return function X(qt){return De(qt)&&qt.hasOwnProperty("\u0275cmp")}(Hi)?ui:!(J(Hi)||mt(Hi)||function zt(qt){return"number"==typeof qt}(Hi)||function Ye(qt){return"boolean"==typeof qt}(Hi)||function nt(qt){return"string"==typeof qt}(Hi)||St(Hi))&&(function Ut(qt){if(!function Ht(qt){return xt(qt)&&!St(qt)}(qt))return!1;const Jt=Object.getPrototypeOf(qt);return Jt===Object.prototype||null===Jt}(Hi)?Wt(Hi,[...Jt,Di]):{path:[...Jt,Di],value:Hi})},!1)}function ci(qt,Jt){if(!1===qt)return;const ni=qt.path.join("."),ui=new Error(`Detected unserializable ${Jt} at "${ni}". ${Le}#strict${Jt}serializability`);throw ui.value=qt.value,ui.unserializablePath=ni,ui}function ki(qt){return(0,t.X6Q)()?{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!0,strictActionImmutability:!0,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1,...qt}:{strictStateSerializability:!1,strictActionSerializability:!1,strictStateImmutability:!1,strictActionImmutability:!1,strictActionWithinNgZone:!1,strictActionTypeUniqueness:!1}}function Yi({strictActionSerializability:qt,strictStateSerializability:Jt}){return ni=>qt||Jt?function Tt(qt,Jt){return function(ni,ui){Jt.action(ui)&&ci(Wt(ui),"action");const Di=qt(ni,ui);return Jt.state()&&ci(Wt(Di),"state"),Di}}(ni,{action:ui=>qt&&!tn(ui),state:()=>Jt}):ni}function ji({strictActionImmutability:qt,strictStateImmutability:Jt}){return ni=>qt||Jt?function Dt(qt,Jt){return function(ni,ui){const Di=Jt.action(ui)?be(ui):ui,Hi=qt(ni,Di);return Jt.state()?be(Hi):Hi}}(ni,{action:ui=>qt&&!tn(ui),state:()=>Jt}):ni}function tn(qt){return qt.type.startsWith("@ngrx")}function Zt({strictActionWithinNgZone:qt}){return Jt=>qt?function Ai(qt,Jt){return function(ni,ui){if(Jt.action(ui)&&!t.R0b.isInAngularZone())throw new Error(`Action '${ui.type}' running outside NgZone. ${Le}#strictactionwithinngzone`);return qt(ni,ui)}}(Jt,{action:ni=>qt&&!tn(ni)}):Jt}function Qt(qt){return[{provide:We,useValue:qt},{provide:Ve,useFactory:ht,deps:[We]},{provide:Re,deps:[Ve],useFactory:ki},{provide:Te,multi:!0,deps:[Re],useFactory:ji},{provide:Te,multi:!0,deps:[Re],useFactory:Yi},{provide:Te,multi:!0,deps:[Re],useFactory:Zt}]}function _e(){return[{provide:we,multi:!0,deps:[Re],useFactory:Lt}]}function ht(qt){return qt}function Lt(qt){if(!qt.strictActionTypeUniqueness)return;const Jt=Object.entries(I).filter(([,ni])=>ni>1).map(([ni])=>ni);if(Jt.length)throw new Error(`Action types are registered more than once, ${Jt.map(ni=>`"${ni}"`).join(", ")}. ${Le}#strictactiontypeuniqueness`)}function Ot(qt={},Jt={}){return[{provide:he,useFactory:Je},{provide:S,useValue:Jt.initialState},{provide:i,useFactory:Ci,deps:[S]},{provide:y,useValue:qt},{provide:D,useExisting:qt instanceof t.OlP?qt:y},{provide:l,deps:[y,[new t.tBr(D)]],useFactory:Yt},{provide:Y,useValue:Jt.metaReducers?Jt.metaReducers:[]},{provide:$e,deps:[Te,Y],useFactory:Bi},{provide:f,useValue:Jt.reducerFactory?Jt.reducerFactory:ee},{provide:a,deps:[f,$e],useFactory:fe},se,de,je,at,ye,Qt(Jt.runtimeChecks),_e()]}function Vn(qt,Jt,ni={}){return[{provide:n,multi:!0,useValue:qt instanceof Object?{}:ni},{provide:E,multi:!0,useValue:{key:qt instanceof Object?qt.name:qt,reducerFactory:ni instanceof t.OlP||!ni.reducerFactory?ee:ni.reducerFactory,metaReducers:ni instanceof t.OlP||!ni.metaReducers?[]:ni.metaReducers,initialState:ni instanceof t.OlP||!ni.initialState?void 0:ni.initialState}},{provide:b,deps:[n,E],useFactory:Fi},{provide:v,multi:!0,useValue:qt instanceof Object?qt.reducer:Jt},{provide:V,multi:!0,useExisting:Jt instanceof t.OlP?Jt:v},{provide:z,multi:!0,deps:[v,[new t.tBr(V)]],useFactory:Ri},_e()]}let Xn=(()=>{class qt{constructor(ni,ui,Di,Hi,hn,Gn){}}return qt.\u0275fac=function(ni){return new(ni||qt)(t.LFG(ce),t.LFG(ge),t.LFG(rt),t.LFG(Ct),t.LFG(he,8),t.LFG(we,8))},qt.\u0275mod=t.oAB({type:qt}),qt.\u0275inj=t.cJS({}),qt})(),Ma=(()=>{class qt{constructor(ni,ui,Di,Hi,hn){this.features=ni,this.featureReducers=ui,this.reducerManager=Di;const Gn=ni.map((Fn,ba)=>{const Hn=ui.shift()[ba];return{...Fn,reducers:Hn,initialState:Ci(Fn.initialState)}});Di.addFeatures(Gn)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return qt.\u0275fac=function(ni){return new(ni||qt)(t.LFG(b),t.LFG(z),t.LFG(Ie),t.LFG(Xn),t.LFG(we,8))},qt.\u0275mod=t.oAB({type:qt}),qt.\u0275inj=t.cJS({}),qt})(),Oa=(()=>{class qt{static forRoot(ni,ui){return{ngModule:Xn,providers:[...Ot(ni,ui)]}}static forFeature(ni,ui,Di={}){return{ngModule:Ma,providers:[...Vn(ni,ui,Di)]}}}return qt.\u0275fac=function(ni){return new(ni||qt)},qt.\u0275mod=t.oAB({type:qt}),qt.\u0275inj=t.cJS({}),qt})();function Wn(...qt){return{reducer:qt.pop(),types:qt.map(ui=>ui.type)}}function Ua(qt,...Jt){const ni=new Map;for(const ui of Jt)for(const Di of ui.types){const Hi=ni.get(Di);ni.set(Di,Hi?(Gn,Fn)=>ui.reducer(Hi(Gn,Fn),Fn):ui.reducer)}return function(ui=qt,Di){const Hi=ni.get(Di.type);return Hi?Hi(ui,Di):ui}}},2213:(Be,Q,m)=>{"use strict";m.d(Q,{H5:()=>A4,K$:()=>T4,a4:()=>Eu});var t=m(4650),e=m(6895),g=m(655),A=m(4080),s=m(4968),C=m(8372),h=m(7340);function P(){}function d(u){return null==u?P:function(){return this.querySelector(u)}}function w(u){return"object"==typeof u&&"length"in u?u:Array.from(u)}function I(){return[]}function k(u){return null==u?I:function(){return this.querySelectorAll(u)}}function Z(u){return function(){return this.matches(u)}}function W(u){return function(L){return L.matches(u)}}var K=Array.prototype.find;function te(){return this.firstElementChild}var oe=Array.prototype.filter;function re(){return this.children}function S(u){return new Array(u.length)}function a(u,L){this.ownerDocument=u.ownerDocument,this.namespaceURI=u.namespaceURI,this._next=null,this._parent=u,this.__data__=L}function l(u,L,r,x,B,j){for(var ct,ke=0,Kt=L.length,jt=j.length;ke<jt;++ke)(ct=L[ke])?(ct.__data__=j[ke],x[ke]=ct):r[ke]=new a(u,j[ke]);for(;ke<Kt;++ke)(ct=L[ke])&&(B[ke]=ct)}function y(u,L,r,x,B,j,ke){var ct,Kt,Si,jt=new Map,si=L.length,pi=j.length,bi=new Array(si);for(ct=0;ct<si;++ct)(Kt=L[ct])&&(bi[ct]=Si=ke.call(Kt,Kt.__data__,ct,L)+"",jt.has(Si)?B[ct]=Kt:jt.set(Si,Kt));for(ct=0;ct<pi;++ct)Si=ke.call(u,j[ct],ct,j)+"",(Kt=jt.get(Si))?(x[ct]=Kt,Kt.__data__=j[ct],jt.delete(Si)):r[ct]=new a(u,j[ct]);for(ct=0;ct<si;++ct)(Kt=L[ct])&&jt.get(bi[ct])===Kt&&(B[ct]=Kt)}function E(u){return u.__data__}function Y(u,L){return u<L?-1:u>L?1:u>=L?0:NaN}a.prototype={constructor:a,appendChild:function(u){return this._parent.insertBefore(u,this._next)},insertBefore:function(u,L){return this._parent.insertBefore(u,L)},querySelector:function(u){return this._parent.querySelector(u)},querySelectorAll:function(u){return this._parent.querySelectorAll(u)}};var me="http://www.w3.org/1999/xhtml";const Ae={svg:"http://www.w3.org/2000/svg",xhtml:me,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ee(u){var L=u+="",r=L.indexOf(":");return r>=0&&"xmlns"!==(L=u.slice(0,r))&&(u=u.slice(r+1)),Ae.hasOwnProperty(L)?{space:Ae[L],local:u}:u}function Ze(u){return function(){this.removeAttribute(u)}}function Oe(u){return function(){this.removeAttributeNS(u.space,u.local)}}function fe(u,L){return function(){this.setAttribute(u,L)}}function Se(u,L){return function(){this.setAttributeNS(u.space,u.local,L)}}function ge(u,L){return function(){var r=L.apply(this,arguments);null==r?this.removeAttribute(u):this.setAttribute(u,r)}}function xe(u,L){return function(){var r=L.apply(this,arguments);null==r?this.removeAttributeNS(u.space,u.local):this.setAttributeNS(u.space,u.local,r)}}function Ie(u){return u.ownerDocument&&u.ownerDocument.defaultView||u.document&&u||u.defaultView}function de(u){return function(){this.style.removeProperty(u)}}function rt(u,L,r){return function(){this.style.setProperty(u,L,r)}}function je(u,L,r){return function(){var x=L.apply(this,arguments);null==x?this.style.removeProperty(u):this.style.setProperty(u,x,r)}}function Nt(u,L){return u.style.getPropertyValue(L)||Ie(u).getComputedStyle(u,null).getPropertyValue(L)}function Ke(u){return function(){delete this[u]}}function at(u,L){return function(){this[u]=L}}function Ct(u,L){return function(){var r=L.apply(this,arguments);null==r?delete this[u]:this[u]=r}}function Qe(u){return u.trim().split(/^|\s+/)}function Le(u){return u.classList||new J(u)}function J(u){this._node=u,this._names=Qe(u.getAttribute("class")||"")}function mt(u,L){for(var r=Le(u),x=-1,B=L.length;++x<B;)r.add(L[x])}function St(u,L){for(var r=Le(u),x=-1,B=L.length;++x<B;)r.remove(L[x])}function nt(u){return function(){mt(this,u)}}function Ye(u){return function(){St(this,u)}}function zt(u,L){return function(){(L.apply(this,arguments)?mt:St)(this,u)}}function Ht(){this.textContent=""}function Ut(u){return function(){this.textContent=u}}function De(u){return function(){var L=u.apply(this,arguments);this.textContent=L??""}}function ue(){this.innerHTML=""}function Ee(u){return function(){this.innerHTML=u}}function qe(u){return function(){var L=u.apply(this,arguments);this.innerHTML=L??""}}function Vt(){this.nextSibling&&this.parentNode.appendChild(this)}function pt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function ut(u){return function(){var L=this.ownerDocument,r=this.namespaceURI;return r===me&&L.documentElement.namespaceURI===me?L.createElement(u):L.createElementNS(r,u)}}function wt(u){return function(){return this.ownerDocument.createElementNS(u.space,u.local)}}function ft(u){var L=ee(u);return(L.local?wt:ut)(L)}function gt(){return null}function Fe(){var u=this.parentNode;u&&u.removeChild(this)}function Et(){var u=this.cloneNode(!1),L=this.parentNode;return L?L.insertBefore(u,this.nextSibling):u}function Yt(){var u=this.cloneNode(!0),L=this.parentNode;return L?L.insertBefore(u,this.nextSibling):u}function Je(u){return function(){var L=this.__on;if(L){for(var j,r=0,x=-1,B=L.length;r<B;++r)j=L[r],u.type&&j.type!==u.type||j.name!==u.name?L[++x]=j:this.removeEventListener(j.type,j.listener,j.options);++x?L.length=x:delete this.__on}}}function Dt(u,L,r){return function(){var B,x=this.__on,j=function Ci(u){return function(L){u.call(this,L,this.__data__)}}(L);if(x)for(var ke=0,ct=x.length;ke<ct;++ke)if((B=x[ke]).type===u.type&&B.name===u.name)return this.removeEventListener(B.type,B.listener,B.options),this.addEventListener(B.type,B.listener=j,B.options=r),void(B.value=L);this.addEventListener(u.type,j,r),B={type:u.type,name:u.name,value:L,listener:j,options:r},x?x.push(B):this.__on=[B]}}function Tt(u,L,r){var x=Ie(u),B=x.CustomEvent;"function"==typeof B?B=new B(L,r):(B=x.document.createEvent("Event"),r?(B.initEvent(L,r.bubbles,r.cancelable),B.detail=r.detail):B.initEvent(L,!1,!1)),u.dispatchEvent(B)}function Wt(u,L){return function(){return Tt(this,u,L)}}function ci(u,L){return function(){return Tt(this,u,L.apply(this,arguments))}}J.prototype={add:function(u){this._names.indexOf(u)<0&&(this._names.push(u),this._node.setAttribute("class",this._names.join(" ")))},remove:function(u){var L=this._names.indexOf(u);L>=0&&(this._names.splice(L,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(u){return this._names.indexOf(u)>=0}};var Yi=[null];function ji(u,L){this._groups=u,this._parents=L}function tn(){return new ji([[document.documentElement]],Yi)}ji.prototype=tn.prototype={constructor:ji,select:function M(u){"function"!=typeof u&&(u=d(u));for(var L=this._groups,r=L.length,x=new Array(r),B=0;B<r;++B)for(var Kt,jt,j=L[B],ke=j.length,ct=x[B]=new Array(ke),si=0;si<ke;++si)(Kt=j[si])&&(jt=u.call(Kt,Kt.__data__,si,j))&&("__data__"in Kt&&(jt.__data__=Kt.__data__),ct[si]=jt);return new ji(x,this._parents)},selectAll:function U(u){u="function"==typeof u?function O(u){return function(){var L=u.apply(this,arguments);return null==L?[]:w(L)}}(u):k(u);for(var L=this._groups,r=L.length,x=[],B=[],j=0;j<r;++j)for(var Kt,ke=L[j],ct=ke.length,jt=0;jt<ct;++jt)(Kt=ke[jt])&&(x.push(u.call(Kt,Kt.__data__,jt,ke)),B.push(Kt));return new ji(x,B)},selectChild:function pe(u){return this.select(null==u?te:function q(u){return function(){return K.call(this.children,u)}}("function"==typeof u?u:W(u)))},selectChildren:function se(u){return this.selectAll(null==u?re:function ce(u){return function(){return oe.call(this.children,u)}}("function"==typeof u?u:W(u)))},filter:function he(u){"function"!=typeof u&&(u=Z(u));for(var L=this._groups,r=L.length,x=new Array(r),B=0;B<r;++B)for(var Kt,j=L[B],ke=j.length,ct=x[B]=[],jt=0;jt<ke;++jt)(Kt=j[jt])&&u.call(Kt,Kt.__data__,jt,j)&&ct.push(Kt);return new ji(x,this._parents)},data:function D(u,L){if(!arguments.length)return Array.from(this,E);var r=L?y:l,x=this._parents,B=this._groups;"function"!=typeof u&&(u=function f(u){return function(){return u}}(u));for(var j=B.length,ke=new Array(j),ct=new Array(j),Kt=new Array(j),jt=0;jt<j;++jt){var si=x[jt],pi=B[jt],bi=pi.length,Si=w(u.call(si,si&&si.__data__,jt,x)),an=Si.length,vn=ct[jt]=new Array(an),Ti=ke[jt]=new Array(an);r(si,pi,vn,Ti,Kt[jt]=new Array(bi),Si,L);for(var Bn,On,_n=0,un=0;_n<an;++_n)if(Bn=vn[_n]){for(_n>=un&&(un=_n+1);!(On=Ti[un])&&++un<an;);Bn._next=On||null}}return(ke=new ji(ke,x))._enter=ct,ke._exit=Kt,ke},enter:function i(){return new ji(this._enter||this._groups.map(S),this._parents)},exit:function v(){return new ji(this._exit||this._groups.map(S),this._parents)},join:function n(u,L,r){var x=this.enter(),B=this,j=this.exit();return x="function"==typeof u?u(x):x.append(u+""),null!=L&&(B=L(B)),null==r?j.remove():r(j),x&&B?x.merge(B).order():B},merge:function b(u){if(!(u instanceof ji))throw new Error("invalid merge");for(var L=this._groups,r=u._groups,x=L.length,j=Math.min(x,r.length),ke=new Array(x),ct=0;ct<j;++ct)for(var bi,Kt=L[ct],jt=r[ct],si=Kt.length,pi=ke[ct]=new Array(si),Si=0;Si<si;++Si)(bi=Kt[Si]||jt[Si])&&(pi[Si]=bi);for(;ct<x;++ct)ke[ct]=L[ct];return new ji(ke,this._parents)},selection:function Zt(){return this},order:function V(){for(var u=this._groups,L=-1,r=u.length;++L<r;)for(var ke,x=u[L],B=x.length-1,j=x[B];--B>=0;)(ke=x[B])&&(j&&4^ke.compareDocumentPosition(j)&&j.parentNode.insertBefore(ke,j),j=ke);return this},sort:function z(u){function L(pi,bi){return pi&&bi?u(pi.__data__,bi.__data__):!pi-!bi}u||(u=Y);for(var r=this._groups,x=r.length,B=new Array(x),j=0;j<x;++j){for(var jt,ke=r[j],ct=ke.length,Kt=B[j]=new Array(ct),si=0;si<ct;++si)(jt=ke[si])&&(Kt[si]=jt);Kt.sort(L)}return new ji(B,this._parents).order()},call:function Te(){var u=arguments[0];return arguments[0]=this,u.apply(null,arguments),this},nodes:function $e(){return Array.from(this)},node:function Ve(){for(var u=this._groups,L=0,r=u.length;L<r;++L)for(var x=u[L],B=0,j=x.length;B<j;++B){var ke=x[B];if(ke)return ke}return null},size:function We(){let u=0;for(const L of this)++u;return u},empty:function Re(){return!this.node()},each:function we(u){for(var L=this._groups,r=0,x=L.length;r<x;++r)for(var ct,B=L[r],j=0,ke=B.length;j<ke;++j)(ct=B[j])&&u.call(ct,ct.__data__,j,B);return this},attr:function vt(u,L){var r=ee(u);if(arguments.length<2){var x=this.node();return r.local?x.getAttributeNS(r.space,r.local):x.getAttribute(r)}return this.each((null==L?r.local?Oe:Ze:"function"==typeof L?r.local?xe:ge:r.local?Se:fe)(r,L))},style:function lt(u,L,r){return arguments.length>1?this.each((null==L?de:"function"==typeof L?je:rt)(u,L,r??"")):Nt(this.node(),u)},property:function ye(u,L){return arguments.length>1?this.each((null==L?Ke:"function"==typeof L?Ct:at)(u,L)):this.node()[u]},classed:function xt(u,L){var r=Qe(u+"");if(arguments.length<2){for(var x=Le(this.node()),B=-1,j=r.length;++B<j;)if(!x.contains(r[B]))return!1;return!0}return this.each(("function"==typeof L?zt:L?nt:Ye)(r,L))},text:function X(u){return arguments.length?this.each(null==u?Ht:("function"==typeof u?De:Ut)(u)):this.node().textContent},html:function Xt(u){return arguments.length?this.each(null==u?ue:("function"==typeof u?qe:Ee)(u)):this.node().innerHTML},raise:function ri(){return this.each(Vt)},lower:function ot(){return this.each(pt)},append:function Xe(u){var L="function"==typeof u?u:ft(u);return this.select(function(){return this.appendChild(L.apply(this,arguments))})},insert:function _t(u,L){var r="function"==typeof u?u:ft(u),x=null==L?gt:"function"==typeof L?L:d(L);return this.select(function(){return this.insertBefore(r.apply(this,arguments),x.apply(this,arguments)||null)})},remove:function Mt(){return this.each(Fe)},clone:function Fi(u){return this.select(u?Yt:Et)},datum:function Ri(u){return arguments.length?this.property("__data__",u):this.node().__data__},on:function be(u,L,r){var B,ke,x=function Bi(u){return u.trim().split(/^|\s+/).map(function(L){var r="",x=L.indexOf(".");return x>=0&&(r=L.slice(x+1),L=L.slice(0,x)),{type:L,name:r}})}(u+""),j=x.length;if(!(arguments.length<2)){for(ct=L?Dt:Je,B=0;B<j;++B)this.each(ct(x[B],L,r));return this}var ct=this.node().__on;if(ct)for(var si,Kt=0,jt=ct.length;Kt<jt;++Kt)for(B=0,si=ct[Kt];B<j;++B)if((ke=x[B]).type===si.type&&ke.name===si.name)return si.value},dispatch:function Ai(u,L){return this.each(("function"==typeof L?ci:Wt)(u,L))},[Symbol.iterator]:function*ki(){for(var u=this._groups,L=0,r=u.length;L<r;++L)for(var ke,x=u[L],B=0,j=x.length;B<j;++B)(ke=x[B])&&(yield ke)}};const Qt=tn;var ht={value:()=>{}};function Lt(){for(var x,u=0,L=arguments.length,r={};u<L;++u){if(!(x=arguments[u]+"")||x in r||/[\s.]/.test(x))throw new Error("illegal type: "+x);r[x]=[]}return new Bt(r)}function Bt(u){this._=u}function _i(u,L){for(var B,r=0,x=u.length;r<x;++r)if((B=u[r]).name===L)return B.value}function $t(u,L,r){for(var x=0,B=u.length;x<B;++x)if(u[x].name===L){u[x]=ht,u=u.slice(0,x).concat(u.slice(x+1));break}return null!=r&&u.push({name:L,value:r}),u}Bt.prototype=Lt.prototype={constructor:Bt,on:function(u,L){var B,r=this._,x=function Ot(u,L){return u.trim().split(/^|\s+/).map(function(r){var x="",B=r.indexOf(".");if(B>=0&&(x=r.slice(B+1),r=r.slice(0,B)),r&&!L.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:x}})}(u+"",r),j=-1,ke=x.length;if(!(arguments.length<2)){if(null!=L&&"function"!=typeof L)throw new Error("invalid callback: "+L);for(;++j<ke;)if(B=(u=x[j]).type)r[B]=$t(r[B],u.name,L);else if(null==L)for(B in r)r[B]=$t(r[B],u.name,null);return this}for(;++j<ke;)if((B=(u=x[j]).type)&&(B=_i(r[B],u.name)))return B},copy:function(){var u={},L=this._;for(var r in L)u[r]=L[r].slice();return new Bt(u)},call:function(u,L){if((B=arguments.length-2)>0)for(var B,j,r=new Array(B),x=0;x<B;++x)r[x]=arguments[x+2];if(!this._.hasOwnProperty(u))throw new Error("unknown type: "+u);for(x=0,B=(j=this._[u]).length;x<B;++x)j[x].value.apply(L,r)},apply:function(u,L,r){if(!this._.hasOwnProperty(u))throw new Error("unknown type: "+u);for(var x=this._[u],B=0,j=x.length;B<j;++B)x[B].value.apply(L,r)}};const di=Lt;function Ma(u,L,r){u.prototype=L.prototype=r,r.constructor=u}function Oa(u,L){var r=Object.create(u.prototype);for(var x in L)r[x]=L[x];return r}function Wn(){}var qt=1/.7,Jt="\\s*([+-]?\\d+)\\s*",ni="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",ui="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Di=/^#([0-9a-f]{3,8})$/,Hi=new RegExp("^rgb\\("+[Jt,Jt,Jt]+"\\)$"),hn=new RegExp("^rgb\\("+[ui,ui,ui]+"\\)$"),Gn=new RegExp("^rgba\\("+[Jt,Jt,Jt,ni]+"\\)$"),Fn=new RegExp("^rgba\\("+[ui,ui,ui,ni]+"\\)$"),ba=new RegExp("^hsl\\("+[ni,ui,ui]+"\\)$"),En=new RegExp("^hsla\\("+[ni,ui,ui,ni]+"\\)$"),Hn={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 Qr(){return this.rgb().formatHex()}function ta(){return this.rgb().formatRgb()}function Sr(u){var L,r;return u=(u+"").trim().toLowerCase(),(L=Di.exec(u))?(r=L[1].length,L=parseInt(L[1],16),6===r?br(L):3===r?new za(L>>8&15|L>>4&240,L>>4&15|240&L,(15&L)<<4|15&L,1):8===r?Ja(L>>24&255,L>>16&255,L>>8&255,(255&L)/255):4===r?Ja(L>>12&15|L>>8&240,L>>8&15|L>>4&240,L>>4&15|240&L,((15&L)<<4|15&L)/255):null):(L=Hi.exec(u))?new za(L[1],L[2],L[3],1):(L=hn.exec(u))?new za(255*L[1]/100,255*L[2]/100,255*L[3]/100,1):(L=Gn.exec(u))?Ja(L[1],L[2],L[3],L[4]):(L=Fn.exec(u))?Ja(255*L[1]/100,255*L[2]/100,255*L[3]/100,L[4]):(L=ba.exec(u))?Mo(L[1],L[2]/100,L[3]/100,1):(L=En.exec(u))?Mo(L[1],L[2]/100,L[3]/100,L[4]):Hn.hasOwnProperty(u)?br(Hn[u]):"transparent"===u?new za(NaN,NaN,NaN,0):null}function br(u){return new za(u>>16&255,u>>8&255,255&u,1)}function Ja(u,L,r,x){return x<=0&&(u=L=r=NaN),new za(u,L,r,x)}function Ga(u,L,r,x){return 1===arguments.length?function Qn(u){return u instanceof Wn||(u=Sr(u)),u?new za((u=u.rgb()).r,u.g,u.b,u.opacity):new za}(u):new za(u,L,r,x??1)}function za(u,L,r,x){this.r=+u,this.g=+L,this.b=+r,this.opacity=+x}function qr(){return"#"+Jr(this.r)+Jr(this.g)+Jr(this.b)}function yr(){var u=this.opacity;return(1===(u=isNaN(u)?1:Math.max(0,Math.min(1,u)))?"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===u?")":", "+u+")")}function Jr(u){return((u=Math.max(0,Math.min(255,Math.round(u)||0)))<16?"0":"")+u.toString(16)}function Mo(u,L,r,x){return x<=0?u=L=r=NaN:r<=0||r>=1?u=L=NaN:L<=0&&(u=NaN),new Za(u,L,r,x)}function Ea(u){if(u instanceof Za)return new Za(u.h,u.s,u.l,u.opacity);if(u instanceof Wn||(u=Sr(u)),!u)return new Za;if(u instanceof Za)return u;var L=(u=u.rgb()).r/255,r=u.g/255,x=u.b/255,B=Math.min(L,r,x),j=Math.max(L,r,x),ke=NaN,ct=j-B,Kt=(j+B)/2;return ct?(ke=L===j?(r-x)/ct+6*(r<x):r===j?(x-L)/ct+2:(L-r)/ct+4,ct/=Kt<.5?j+B:2-j-B,ke*=60):ct=Kt>0&&Kt<1?0:ke,new Za(ke,ct,Kt,u.opacity)}function Za(u,L,r,x){this.h=+u,this.s=+L,this.l=+r,this.opacity=+x}function Xr(u,L,r){return 255*(u<60?L+(r-L)*u/60:u<180?r:u<240?L+(r-L)*(240-u)/60:L)}function co(u,L,r,x,B){var j=u*u,ke=j*u;return((1-3*u+3*j-ke)*L+(4-6*j+3*ke)*r+(1+3*u+3*j-3*ke)*x+ke*B)/6}Ma(Wn,Sr,{copy:function(u){return Object.assign(new this.constructor,this,u)},displayable:function(){return this.rgb().displayable()},hex:Qr,formatHex:Qr,formatHsl:function zn(){return Ea(this).formatHsl()},formatRgb:ta,toString:ta}),Ma(za,Ga,Oa(Wn,{brighter:function(u){return u=null==u?qt:Math.pow(qt,u),new za(this.r*u,this.g*u,this.b*u,this.opacity)},darker:function(u){return u=null==u?.7:Math.pow(.7,u),new za(this.r*u,this.g*u,this.b*u,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:qr,formatHex:qr,formatRgb:yr,toString:yr})),Ma(Za,function So(u,L,r,x){return 1===arguments.length?Ea(u):new Za(u,L,r,x??1)},Oa(Wn,{brighter:function(u){return u=null==u?qt:Math.pow(qt,u),new Za(this.h,this.s,this.l*u,this.opacity)},darker:function(u){return u=null==u?.7:Math.pow(.7,u),new Za(this.h,this.s,this.l*u,this.opacity)},rgb:function(){var u=this.h%360+360*(this.h<0),L=isNaN(u)||isNaN(this.s)?0:this.s,r=this.l,x=r+(r<.5?r:1-r)*L,B=2*r-x;return new za(Xr(u>=240?u-240:u+120,B,x),Xr(u,B,x),Xr(u<120?u+240:u-120,B,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 u=this.opacity;return(1===(u=isNaN(u)?1:Math.max(0,Math.min(1,u)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===u?")":", "+u+")")}}));const Gr=u=>()=>u;function Xa(u,L){var r=L-u;return r?function uo(u,L){return function(r){return u+r*L}}(u,r):Gr(isNaN(u)?L:u)}const fr=function u(L){var r=function mo(u){return 1==(u=+u)?Xa:function(L,r){return r-L?function Zr(u,L,r){return u=Math.pow(u,r),L=Math.pow(L,r)-u,r=1/r,function(x){return Math.pow(u+x*L,r)}}(L,r,u):Gr(isNaN(L)?r:L)}}(L);function x(B,j){var ke=r((B=Ga(B)).r,(j=Ga(j)).r),ct=r(B.g,j.g),Kt=r(B.b,j.b),jt=Xa(B.opacity,j.opacity);return function(si){return B.r=ke(si),B.g=ct(si),B.b=Kt(si),B.opacity=jt(si),B+""}}return x.gamma=u,x}(1);function ra(u){return function(L){var ke,ct,r=L.length,x=new Array(r),B=new Array(r),j=new Array(r);for(ke=0;ke<r;++ke)ct=Ga(L[ke]),x[ke]=ct.r||0,B[ke]=ct.g||0,j[ke]=ct.b||0;return x=u(x),B=u(B),j=u(j),ct.opacity=1,function(Kt){return ct.r=x(Kt),ct.g=B(Kt),ct.b=j(Kt),ct+""}}}function mr(u,L){var ke,r=L?L.length:0,x=u?Math.min(r,u.length):0,B=new Array(x),j=new Array(r);for(ke=0;ke<x;++ke)B[ke]=Yn(u[ke],L[ke]);for(;ke<r;++ke)j[ke]=L[ke];return function(ct){for(ke=0;ke<x;++ke)j[ke]=B[ke](ct);return j}}function po(u,L){var r=new Date;return u=+u,L=+L,function(x){return r.setTime(u*(1-x)+L*x),r}}function Pa(u,L){return u=+u,L=+L,function(r){return u*(1-r)+L*r}}function $r(u,L){var B,r={},x={};for(B in(null===u||"object"!=typeof u)&&(u={}),(null===L||"object"!=typeof L)&&(L={}),L)B in u?r[B]=Yn(u[B],L[B]):x[B]=L[B];return function(j){for(B in r)x[B]=r[B](j);return x}}ra(function lo(u){var L=u.length-1;return function(r){var x=r<=0?r=0:r>=1?(r=1,L-1):Math.floor(r*L),B=u[x],j=u[x+1];return co((r-x/L)*L,x>0?u[x-1]:2*B-j,B,j,x<L-1?u[x+2]:2*j-B)}}),ra(function ho(u){var L=u.length;return function(r){var x=Math.floor(((r%=1)<0?++r:r)*L);return co((r-x/L)*L,u[(x+L-1)%L],u[x%L],u[(x+1)%L],u[(x+2)%L])}});var eo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,$a=new RegExp(eo.source,"g");function Ra(u,L){var x,B,j,r=eo.lastIndex=$a.lastIndex=0,ke=-1,ct=[],Kt=[];for(u+="",L+="";(x=eo.exec(u))&&(B=$a.exec(L));)(j=B.index)>r&&(j=L.slice(r,j),ct[ke]?ct[ke]+=j:ct[++ke]=j),(x=x[0])===(B=B[0])?ct[ke]?ct[ke]+=B:ct[++ke]=B:(ct[++ke]=null,Kt.push({i:ke,x:Pa(x,B)})),r=$a.lastIndex;return r<L.length&&(j=L.slice(r),ct[ke]?ct[ke]+=j:ct[++ke]=j),ct.length<2?Kt[0]?function to(u){return function(L){return u(L)+""}}(Kt[0].x):function go(u){return function(){return u}}(L):(L=Kt.length,function(jt){for(var pi,si=0;si<L;++si)ct[(pi=Kt[si]).i]=pi.x(jt);return ct.join("")})}function Ar(u,L){L||(L=[]);var B,r=u?Math.min(L.length,u.length):0,x=L.slice();return function(j){for(B=0;B<r;++B)x[B]=u[B]*(1-j)+L[B]*j;return x}}function Yn(u,L){var x,r=typeof L;return null==L||"boolean"===r?Gr(L):("number"===r?Pa:"string"===r?(x=Sr(L))?(L=x,fr):Ra:L instanceof Sr?fr:L instanceof Date?po:function qn(u){return ArrayBuffer.isView(u)&&!(u instanceof DataView)}(L)?Ar:Array.isArray(L)?mr:"function"!=typeof L.valueOf&&"function"!=typeof L.toString||isNaN(L)?$r:Pa)(u,L)}var yt,oi,ua=0,Dr=0,Rt=0,fi=1e3,Li=0,nn=0,ia=0,fa="object"==typeof performance&&performance.now?performance:Date,Gi="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(u){setTimeout(u,17)};function bn(){return nn||(Gi(er),nn=fa.now()+ia)}function er(){nn=0}function st(){this._call=this._time=this._next=null}function it(u,L,r){var x=new st;return x.restart(u,L,r),x}function It(){nn=(Li=fa.now())+ia,ua=Dr=0;try{!function Ue(){bn(),++ua;for(var L,u=yt;u;)(L=nn-u._time)>=0&&u._call.call(null,L),u=u._next;--ua}()}finally{ua=0,function cn(){for(var u,r,L=yt,x=1/0;L;)L._call?(x>L._time&&(x=L._time),u=L,L=L._next):(r=L._next,L._next=null,L=u?u._next=r:yt=r);oi=u,ma(x)}(),nn=0}}function yi(){var u=fa.now(),L=u-Li;L>fi&&(ia-=L,Li=u)}function ma(u){ua||(Dr&&(Dr=clearTimeout(Dr)),u-nn>24?(u<1/0&&(Dr=setTimeout(It,u-fa.now()-ia)),Rt&&(Rt=clearInterval(Rt))):(Rt||(Li=fa.now(),Rt=setInterval(yi,fi)),ua=1,Gi(It)))}function Mi(u,L,r){var x=new st;return x.restart(B=>{x.stop(),u(B+L)},L=null==L?0:+L,r),x}st.prototype=it.prototype={constructor:st,restart:function(u,L,r){if("function"!=typeof u)throw new TypeError("callback is not a function");r=(null==r?bn():+r)+(null==L?0:+L),!this._next&&oi!==this&&(oi?oi._next=this:yt=this,oi=this),this._call=u,this._time=r,ma()},stop:function(){this._call&&(this._call=null,this._time=1/0,ma())}};var Tn=di("start","end","cancel","interrupt"),Ho=[],Gs=0,Va=1,Yo=2,io=3,pr=4,jo=5,Ko=6;function ws(u,L,r,x,B,j){var ke=u.__transition;if(ke){if(r in ke)return}else u.__transition={};!function Oi(u,L,r){var B,x=u.__transition;function ke(jt){var si,pi,bi,Si;if(r.state!==Va)return Kt();for(si in x)if((Si=x[si]).name===r.name){if(Si.state===io)return Mi(ke);Si.state===pr?(Si.state=Ko,Si.timer.stop(),Si.on.call("interrupt",u,u.__data__,Si.index,Si.group),delete x[si]):+si<L&&(Si.state=Ko,Si.timer.stop(),Si.on.call("cancel",u,u.__data__,Si.index,Si.group),delete x[si])}if(Mi(function(){r.state===io&&(r.state=pr,r.timer.restart(ct,r.delay,r.time),ct(jt))}),r.state=Yo,r.on.call("start",u,u.__data__,r.index,r.group),r.state===Yo){for(r.state=io,B=new Array(bi=r.tween.length),si=0,pi=-1;si<bi;++si)(Si=r.tween[si].value.call(u,u.__data__,r.index,r.group))&&(B[++pi]=Si);B.length=pi+1}}function ct(jt){for(var si=jt<r.duration?r.ease.call(null,jt/r.duration):(r.timer.restart(Kt),r.state=jo,1),pi=-1,bi=B.length;++pi<bi;)B[pi].call(u,si);r.state===jo&&(r.on.call("end",u,u.__data__,r.index,r.group),Kt())}function Kt(){for(var jt in r.state=Ko,r.timer.stop(),delete x[L],x)return;delete u.__transition}x[L]=r,r.timer=it(function j(jt){r.state=Va,r.timer.restart(ke,r.delay,r.time),r.delay<=jt&&ke(jt-r.delay)},0,r.time)}(u,r,{name:L,index:x,group:B,on:Tn,tween:Ho,time:j.time,delay:j.delay,duration:j.duration,ease:j.ease,timer:null,state:Gs})}function rs(u,L){var r=Dn(u,L);if(r.state>Gs)throw new Error("too late; already scheduled");return r}function gr(u,L){var r=Dn(u,L);if(r.state>io)throw new Error("too late; already running");return r}function Dn(u,L){var r=u.__transition;if(!r||!(r=r[L]))throw new Error("transition not found");return r}var Zs,Ni=180/Math.PI,zo={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Vo(u,L,r,x,B,j){var ke,ct,Kt;return(ke=Math.sqrt(u*u+L*L))&&(u/=ke,L/=ke),(Kt=u*r+L*x)&&(r-=u*Kt,x-=L*Kt),(ct=Math.sqrt(r*r+x*x))&&(r/=ct,x/=ct,Kt/=ct),u*x<L*r&&(u=-u,L=-L,Kt=-Kt,ke=-ke),{translateX:B,translateY:j,rotate:Math.atan2(L,u)*Ni,skewX:Math.atan(Kt)*Ni,scaleX:ke,scaleY:ct}}function Eo(u,L,r,x){function B(jt){return jt.length?jt.pop()+" ":""}return function(jt,si){var pi=[],bi=[];return jt=u(jt),si=u(si),function j(jt,si,pi,bi,Si,an){if(jt!==pi||si!==bi){var vn=Si.push("translate(",null,L,null,r);an.push({i:vn-4,x:Pa(jt,pi)},{i:vn-2,x:Pa(si,bi)})}else(pi||bi)&&Si.push("translate("+pi+L+bi+r)}(jt.translateX,jt.translateY,si.translateX,si.translateY,pi,bi),function ke(jt,si,pi,bi){jt!==si?(jt-si>180?si+=360:si-jt>180&&(jt+=360),bi.push({i:pi.push(B(pi)+"rotate(",null,x)-2,x:Pa(jt,si)})):si&&pi.push(B(pi)+"rotate("+si+x)}(jt.rotate,si.rotate,pi,bi),function ct(jt,si,pi,bi){jt!==si?bi.push({i:pi.push(B(pi)+"skewX(",null,x)-2,x:Pa(jt,si)}):si&&pi.push(B(pi)+"skewX("+si+x)}(jt.skewX,si.skewX,pi,bi),function Kt(jt,si,pi,bi,Si,an){if(jt!==pi||si!==bi){var vn=Si.push(B(Si)+"scale(",null,",",null,")");an.push({i:vn-4,x:Pa(jt,pi)},{i:vn-2,x:Pa(si,bi)})}else(1!==pi||1!==bi)&&Si.push(B(Si)+"scale("+pi+","+bi+")")}(jt.scaleX,jt.scaleY,si.scaleX,si.scaleY,pi,bi),jt=si=null,function(Si){for(var Ti,an=-1,vn=bi.length;++an<vn;)pi[(Ti=bi[an]).i]=Ti.x(Si);return pi.join("")}}}var To=Eo(function Ms(u){const L=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(u+"");return L.isIdentity?zo:Vo(L.a,L.b,L.c,L.d,L.e,L.f)},"px, ","px)","deg)"),ss=Eo(function os(u){return null!=u&&(Zs||(Zs=document.createElementNS("http://www.w3.org/2000/svg","g")),Zs.setAttribute("transform",u),u=Zs.transform.baseVal.consolidate())?Vo((u=u.matrix).a,u.b,u.c,u.d,u.e,u.f):zo},", ",")",")");function cc(u,L){var r,x;return function(){var B=gr(this,u),j=B.tween;if(j!==r)for(var ke=0,ct=(x=r=j).length;ke<ct;++ke)if(x[ke].name===L){(x=x.slice()).splice(ke,1);break}B.tween=x}}function Qo(u,L,r){var x,B;if("function"!=typeof r)throw new Error;return function(){var j=gr(this,u),ke=j.tween;if(ke!==x){B=(x=ke).slice();for(var ct={name:L,value:r},Kt=0,jt=B.length;Kt<jt;++Kt)if(B[Kt].name===L){B[Kt]=ct;break}Kt===jt&&B.push(ct)}j.tween=B}}function Ys(u,L,r){var x=u._id;return u.each(function(){var B=gr(this,x);(B.value||(B.value={}))[L]=r.apply(this,arguments)}),function(B){return Dn(B,x).value[L]}}function Ss(u,L,r){u.prototype=L.prototype=r,r.constructor=u}function Es(u,L){var r=Object.create(u.prototype);for(var x in L)r[x]=L[x];return r}function Na(){}var Ao=1/.7,rn="\\s*([+-]?\\d+)\\s*",Da="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Qa="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",pa=/^#([0-9a-f]{3,8})$/,Ts=new RegExp("^rgb\\("+[rn,rn,rn]+"\\)$"),Tc=new RegExp("^rgb\\("+[Qa,Qa,Qa]+"\\)$"),lc=new RegExp("^rgba\\("+[rn,rn,rn,Da]+"\\)$"),Zn=new RegExp("^rgba\\("+[Qa,Qa,Qa,Da]+"\\)$"),qi=new RegExp("^hsl\\("+[Da,Qa,Qa]+"\\)$"),xa=new RegExp("^hsla\\("+[Da,Qa,Qa,Da]+"\\)$"),Ta={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 Ui(){return this.rgb().formatHex()}function He(){return this.rgb().formatRgb()}function ne(u){var L,r;return u=(u+"").trim().toLowerCase(),(L=pa.exec(u))?(r=L[1].length,L=parseInt(L[1],16),6===r?$(L):3===r?new kt(L>>8&15|L>>4&240,L>>4&15|240&L,(15&L)<<4|15&L,1):8===r?Me(L>>24&255,L>>16&255,L>>8&255,(255&L)/255):4===r?Me(L>>12&15|L>>8&240,L>>8&15|L>>4&240,L>>4&15|240&L,((15&L)<<4|15&L)/255):null):(L=Ts.exec(u))?new kt(L[1],L[2],L[3],1):(L=Tc.exec(u))?new kt(255*L[1]/100,255*L[2]/100,255*L[3]/100,1):(L=lc.exec(u))?Me(L[1],L[2],L[3],L[4]):(L=Zn.exec(u))?Me(255*L[1]/100,255*L[2]/100,255*L[3]/100,L[4]):(L=qi.exec(u))?wi(L[1],L[2]/100,L[3]/100,1):(L=xa.exec(u))?wi(L[1],L[2]/100,L[3]/100,L[4]):Ta.hasOwnProperty(u)?$(Ta[u]):"transparent"===u?new kt(NaN,NaN,NaN,0):null}function $(u){return new kt(u>>16&255,u>>8&255,255&u,1)}function Me(u,L,r,x){return x<=0&&(u=L=r=NaN),new kt(u,L,r,x)}function kt(u,L,r,x){this.r=+u,this.g=+L,this.b=+r,this.opacity=+x}function ai(){return"#"+gi(this.r)+gi(this.g)+gi(this.b)}function ii(){var u=this.opacity;return(1===(u=isNaN(u)?1:Math.max(0,Math.min(1,u)))?"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===u?")":", "+u+")")}function gi(u){return((u=Math.max(0,Math.min(255,Math.round(u)||0)))<16?"0":"")+u.toString(16)}function wi(u,L,r,x){return x<=0?u=L=r=NaN:r<=0||r>=1?u=L=NaN:L<=0&&(u=NaN),new Zi(u,L,r,x)}function Ii(u){if(u instanceof Zi)return new Zi(u.h,u.s,u.l,u.opacity);if(u instanceof Na||(u=ne(u)),!u)return new Zi;if(u instanceof Zi)return u;var L=(u=u.rgb()).r/255,r=u.g/255,x=u.b/255,B=Math.min(L,r,x),j=Math.max(L,r,x),ke=NaN,ct=j-B,Kt=(j+B)/2;return ct?(ke=L===j?(r-x)/ct+6*(r<x):r===j?(x-L)/ct+2:(L-r)/ct+4,ct/=Kt<.5?j+B:2-j-B,ke*=60):ct=Kt>0&&Kt<1?0:ke,new Zi(ke,ct,Kt,u.opacity)}function Zi(u,L,r,x){this.h=+u,this.s=+L,this.l=+r,this.opacity=+x}function ln(u,L,r){return 255*(u<60?L+(r-L)*u/60:u<180?r:u<240?L+(r-L)*(240-u)/60:L)}function oa(u,L){var r;return("number"==typeof L?Pa:L instanceof ne?fr:(r=ne(L))?(L=r,fr):Ra)(u,L)}function ga(u){return function(){this.removeAttribute(u)}}function Fa(u){return function(){this.removeAttributeNS(u.space,u.local)}}function la(u,L,r){var x,j,B=r+"";return function(){var ke=this.getAttribute(u);return ke===B?null:ke===x?j:j=L(x=ke,r)}}function da(u,L,r){var x,j,B=r+"";return function(){var ke=this.getAttributeNS(u.space,u.local);return ke===B?null:ke===x?j:j=L(x=ke,r)}}function sa(u,L,r){var x,B,j;return function(){var ke,Kt,ct=r(this);return null==ct?void this.removeAttribute(u):(ke=this.getAttribute(u))===(Kt=ct+"")?null:ke===x&&Kt===B?j:(B=Kt,j=L(x=ke,ct))}}function Ia(u,L,r){var x,B,j;return function(){var ke,Kt,ct=r(this);return null==ct?void this.removeAttributeNS(u.space,u.local):(ke=this.getAttributeNS(u.space,u.local))===(Kt=ct+"")?null:ke===x&&Kt===B?j:(B=Kt,j=L(x=ke,ct))}}function ao(u,L){var r,x;function B(){var j=L.apply(this,arguments);return j!==x&&(r=(x=j)&&function or(u,L){return function(r){this.setAttributeNS(u.space,u.local,L.call(this,r))}}(u,j)),r}return B._value=L,B}function Wr(u,L){var r,x;function B(){var j=L.apply(this,arguments);return j!==x&&(r=(x=j)&&function xr(u,L){return function(r){this.setAttribute(u,L.call(this,r))}}(u,j)),r}return B._value=L,B}function Bo(u,L){return function(){rs(this,u).delay=+L.apply(this,arguments)}}function kl(u,L){return L=+L,function(){rs(this,u).delay=L}}function Cr(u,L){return function(){gr(this,u).duration=+L.apply(this,arguments)}}function Ol(u,L){return L=+L,function(){gr(this,u).duration=L}}Ss(Na,ne,{copy:function(u){return Object.assign(new this.constructor,this,u)},displayable:function(){return this.rgb().displayable()},hex:Ui,formatHex:Ui,formatHsl:function jn(){return Ii(this).formatHsl()},formatRgb:He,toString:He}),Ss(kt,function Ne(u,L,r,x){return 1===arguments.length?function tt(u){return u instanceof Na||(u=ne(u)),u?new kt((u=u.rgb()).r,u.g,u.b,u.opacity):new kt}(u):new kt(u,L,r,x??1)},Es(Na,{brighter:function(u){return u=null==u?Ao:Math.pow(Ao,u),new kt(this.r*u,this.g*u,this.b*u,this.opacity)},darker:function(u){return u=null==u?.7:Math.pow(.7,u),new kt(this.r*u,this.g*u,this.b*u,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:ai,formatHex:ai,formatRgb:ii,toString:ii})),Ss(Zi,function Ki(u,L,r,x){return 1===arguments.length?Ii(u):new Zi(u,L,r,x??1)},Es(Na,{brighter:function(u){return u=null==u?Ao:Math.pow(Ao,u),new Zi(this.h,this.s,this.l*u,this.opacity)},darker:function(u){return u=null==u?.7:Math.pow(.7,u),new Zi(this.h,this.s,this.l*u,this.opacity)},rgb:function(){var u=this.h%360+360*(this.h<0),L=isNaN(u)||isNaN(this.s)?0:this.s,r=this.l,x=r+(r<.5?r:1-r)*L,B=2*r-x;return new kt(ln(u>=240?u-240:u+120,B,x),ln(u,B,x),ln(u<120?u+240:u-120,B,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 u=this.opacity;return(1===(u=isNaN(u)?1:Math.max(0,Math.min(1,u)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===u?")":", "+u+")")}}));var Ir=Qt.prototype.constructor;function I1(u){return function(){this.style.removeProperty(u)}}var P1=0;function ls(u,L,r,x){this._groups=u,this._parents=L,this._name=r,this._id=x}function Ks(){return++P1}var Qs=Qt.prototype;ls.prototype=function Kd(u){return Qt().transition(u)}.prototype={constructor:ls,select:function D1(u){var L=this._name,r=this._id;"function"!=typeof u&&(u=d(u));for(var x=this._groups,B=x.length,j=new Array(B),ke=0;ke<B;++ke)for(var si,pi,ct=x[ke],Kt=ct.length,jt=j[ke]=new Array(Kt),bi=0;bi<Kt;++bi)(si=ct[bi])&&(pi=u.call(si,si.__data__,bi,ct))&&("__data__"in si&&(pi.__data__=si.__data__),jt[bi]=pi,ws(jt[bi],L,r,bi,jt,Dn(si,r)));return new ls(j,this._parents,L,r)},selectAll:function ro(u){var L=this._name,r=this._id;"function"!=typeof u&&(u=k(u));for(var x=this._groups,B=x.length,j=[],ke=[],ct=0;ct<B;++ct)for(var si,Kt=x[ct],jt=Kt.length,pi=0;pi<jt;++pi)if(si=Kt[pi]){for(var Si,bi=u.call(si,si.__data__,pi,Kt),an=Dn(si,r),vn=0,Ti=bi.length;vn<Ti;++vn)(Si=bi[vn])&&ws(Si,L,r,vn,bi,an);j.push(bi),ke.push(si)}return new ls(j,ke,L,r)},filter:function L1(u){"function"!=typeof u&&(u=Z(u));for(var L=this._groups,r=L.length,x=new Array(r),B=0;B<r;++B)for(var Kt,j=L[B],ke=j.length,ct=x[B]=[],jt=0;jt<ke;++jt)(Kt=j[jt])&&u.call(Kt,Kt.__data__,jt,j)&&ct.push(Kt);return new ls(x,this._parents,this._name,this._id)},merge:function Pl(u){if(u._id!==this._id)throw new Error;for(var L=this._groups,r=u._groups,x=L.length,j=Math.min(x,r.length),ke=new Array(x),ct=0;ct<j;++ct)for(var bi,Kt=L[ct],jt=r[ct],si=Kt.length,pi=ke[ct]=new Array(si),Si=0;Si<si;++Si)(bi=Kt[Si]||jt[Si])&&(pi[Si]=bi);for(;ct<x;++ct)ke[ct]=L[ct];return new ls(ke,this._parents,this._name,this._id)},selection:function Ic(){return new Ir(this._groups,this._parents)},transition:function Q0(){for(var u=this._name,L=this._id,r=Ks(),x=this._groups,B=x.length,j=0;j<B;++j)for(var Kt,ke=x[j],ct=ke.length,jt=0;jt<ct;++jt)if(Kt=ke[jt]){var si=Dn(Kt,L);ws(Kt,u,r,jt,ke,{time:si.time+si.delay+si.duration,delay:0,duration:si.duration,ease:si.ease})}return new ls(x,this._parents,u,r)},call:Qs.call,nodes:Qs.nodes,node:Qs.node,size:Qs.size,empty:Qs.empty,each:Qs.each,on:function tr(u,L){var r=this._id;return arguments.length<2?Dn(this.node(),r).on.on(u):this.each(function js(u,L,r){var x,B,j=function Dc(u){return(u+"").trim().split(/^|\s+/).every(function(L){var r=L.indexOf(".");return r>=0&&(L=L.slice(0,r)),!L||"start"===L})}(L)?rs:gr;return function(){var ke=j(this,u),ct=ke.on;ct!==x&&(B=(x=ct).copy()).on(L,r),ke.on=B}}(r,u,L))},attr:function Aa(u,L){var r=ee(u),x="transform"===r?ss:oa;return this.attrTween(u,"function"==typeof L?(r.local?Ia:sa)(r,x,Ys(this,"attr."+u,L)):null==L?(r.local?Fa:ga)(r):(r.local?da:la)(r,x,L))},attrTween:function nl(u,L){var r="attr."+u;if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==L)return this.tween(r,null);if("function"!=typeof L)throw new Error;var x=ee(u);return this.tween(r,(x.local?ao:Wr)(x,L))},style:function oo(u,L,r){var x="transform"==(u+="")?To:oa;return null==L?this.styleTween(u,function ol(u,L){var r,x,B;return function(){var j=Nt(this,u),ke=(this.style.removeProperty(u),Nt(this,u));return j===ke?null:j===r&&ke===x?B:B=L(r=j,x=ke)}}(u,x)).on("end.style."+u,I1(u)):"function"==typeof L?this.styleTween(u,function dc(u,L,r){var x,B,j;return function(){var ke=Nt(this,u),ct=r(this),Kt=ct+"";return null==ct&&(this.style.removeProperty(u),Kt=ct=Nt(this,u)),ke===Kt?null:ke===x&&Kt===B?j:(B=Kt,j=L(x=ke,ct))}}(u,x,Ys(this,"style."+u,L))).each(function Ds(u,L){var r,x,B,ct,j="style."+L,ke="end."+j;return function(){var Kt=gr(this,u),jt=Kt.on,si=null==Kt.value[j]?ct||(ct=I1(L)):void 0;(jt!==r||B!==si)&&(x=(r=jt).copy()).on(ke,B=si),Kt.on=x}}(this._id,u)):this.styleTween(u,function k1(u,L,r){var x,j,B=r+"";return function(){var ke=Nt(this,u);return ke===B?null:ke===x?j:j=L(x=ke,r)}}(u,x,L),r).on("end.style."+u,null)},styleTween:function sl(u,L,r){var x="style."+(u+="");if(arguments.length<2)return(x=this.tween(x))&&x._value;if(null==L)return this.tween(x,null);if("function"!=typeof L)throw new Error;return this.tween(x,function Nl(u,L,r){var x,B;function j(){var ke=L.apply(this,arguments);return ke!==B&&(x=(B=ke)&&function Is(u,L,r){return function(x){this.style.setProperty(u,L.call(this,x),r)}}(u,ke,r)),x}return j._value=L,j}(u,L,r??""))},text:function cl(u){return this.tween("text","function"==typeof u?function jd(u){return function(){var L=u(this);this.textContent=L??""}}(Ys(this,"text",u)):function cs(u){return function(){this.textContent=u}}(null==u?"":u+""))},textTween:function kc(u){var L="text";if(arguments.length<1)return(L=this.tween(L))&&L._value;if(null==u)return this.tween(L,null);if("function"!=typeof u)throw new Error;return this.tween(L,function K0(u){var L,r;function x(){var B=u.apply(this,arguments);return B!==r&&(L=(r=B)&&function La(u){return function(L){this.textContent=u.call(this,L)}}(B)),L}return x._value=u,x}(u))},remove:function Ls(){return this.on("end.remove",function Rl(u){return function(){var L=this.parentNode;for(var r in this.__transition)if(+r!==u)return;L&&L.removeChild(this)}}(this._id))},tween:function Ws(u,L){var r=this._id;if(u+="",arguments.length<2){for(var ke,x=Dn(this.node(),r).tween,B=0,j=x.length;B<j;++B)if((ke=x[B]).name===u)return ke.value;return null}return this.each((null==L?cc:Qo)(r,u,L))},delay:function Ac(u){var L=this._id;return arguments.length?this.each(("function"==typeof u?Bo:kl)(L,u)):Dn(this.node(),L).delay},duration:function As(u){var L=this._id;return arguments.length?this.each(("function"==typeof u?Cr:Ol)(L,u)):Dn(this.node(),L).duration},ease:function al(u){var L=this._id;return arguments.length?this.each(function Lc(u,L){if("function"!=typeof L)throw new Error;return function(){gr(this,u).ease=L}}(L,u)):Dn(this.node(),L).ease},easeVarying:function A1(u){if("function"!=typeof u)throw new Error;return this.each(function rl(u,L){return function(){var r=L.apply(this,arguments);if("function"!=typeof r)throw new Error;gr(this,u).ease=r}}(this._id,u))},end:function O1(){var u,L,r=this,x=r._id,B=r.size();return new Promise(function(j,ke){var ct={value:ke},Kt={value:function(){0==--B&&j()}};r.each(function(){var jt=gr(this,x),si=jt.on;si!==u&&((L=(u=si).copy())._.cancel.push(ct),L._.interrupt.push(ct),L._.end.push(Kt)),jt.on=L}),0===B&&j()})},[Symbol.iterator]:Qs[Symbol.iterator]};var qs={time:null,delay:0,duration:250,ease:function Oc(u){return((u*=2)<=1?u*u*u:(u-=2)*u*u+2)/2}};function R1(u,L){for(var r;!(r=u.__transition)||!(r=r[L]);)if(!(u=u.parentNode))throw new Error(`transition ${L} not found`);return r}Qt.prototype.interrupt=function _o(u){return this.each(function(){!function Ka(u,L){var x,B,ke,r=u.__transition,j=!0;if(r){for(ke in L=null==L?null:L+"",r)(x=r[ke]).name===L?(B=x.state>Yo&&x.state<jo,x.state=Ko,x.timer.stop(),x.on.call(B?"interrupt":"cancel",u,u.__data__,x.index,x.group),delete r[ke]):j=!1;j&&delete u.__transition}}(this,u)})},Qt.prototype.transition=function vo(u){var L,r;u instanceof ls?(L=u._id,u=u._name):(L=Ks(),(r=qs).time=bn(),u=null==u?null:u+"");for(var x=this._groups,B=x.length,j=0;j<B;++j)for(var Kt,ke=x[j],ct=ke.length,jt=0;jt<ct;++jt)(Kt=ke[jt])&&ws(Kt,u,L,jt,ke,r||R1(Kt,L));return new ls(x,this._parents,u,L)};Math;function uc(u){return{type:u}}function N1(u,L){return u<L?-1:u>L?1:u>=L?0:NaN}function Jd(u){let L=u,r=u;function x(ke,ct,Kt,jt){for(null==Kt&&(Kt=0),null==jt&&(jt=ke.length);Kt<jt;){const si=Kt+jt>>>1;r(ke[si],ct)<0?Kt=si+1:jt=si}return Kt}return 1===u.length&&(L=(ke,ct)=>u(ke)-ct,r=function Xd(u){return(L,r)=>N1(u(L),r)}(u)),{left:x,center:function j(ke,ct,Kt,jt){null==Kt&&(Kt=0),null==jt&&(jt=ke.length);const si=x(ke,ct,Kt,jt-1);return si>Kt&&L(ke[si-1],ct)>-L(ke[si],ct)?si-1:si},right:function B(ke,ct,Kt,jt){for(null==Kt&&(Kt=0),null==jt&&(jt=ke.length);Kt<jt;){const si=Kt+jt>>>1;r(ke[si],ct)>0?jt=si:Kt=si+1}return Kt}}}["w","e"].map(uc),["n","s"].map(uc),["n","w","e","s","nw","ne","sw","se"].map(uc);var F1=Math.sqrt(50),$d=Math.sqrt(10),H1=Math.sqrt(2);function e2(u,L,r){var x=(L-u)/Math.max(0,r),B=Math.floor(Math.log(x)/Math.LN10),j=x/Math.pow(10,B);return B>=0?(j>=F1?10:j>=$d?5:j>=H1?2:1)*Math.pow(10,B):-Math.pow(10,-B)/(j>=F1?10:j>=$d?5:j>=H1?2:1)}function Nc(u,L,r){var x=Math.abs(L-u)/Math.max(0,r),B=Math.pow(10,Math.floor(Math.log(x)/Math.LN10)),j=x/B;return j>=F1?B*=10:j>=$d?B*=5:j>=H1&&(B*=2),L<u?-B:B}const hs=1e3,Do=60*hs,us=60*Do,pc=24*us,zl=7*pc,eh=30*pc,z1=365*pc;var V1=new Date,ll=new Date;function cr(u,L,r,x){function B(j){return u(j=0===arguments.length?new Date:new Date(+j)),j}return B.floor=function(j){return u(j=new Date(+j)),j},B.ceil=function(j){return u(j=new Date(j-1)),L(j,1),u(j),j},B.round=function(j){var ke=B(j),ct=B.ceil(j);return j-ke<ct-j?ke:ct},B.offset=function(j,ke){return L(j=new Date(+j),null==ke?1:Math.floor(ke)),j},B.range=function(j,ke,ct){var jt,Kt=[];if(j=B.ceil(j),ct=null==ct?1:Math.floor(ct),!(j<ke&&ct>0))return Kt;do{Kt.push(jt=new Date(+j)),L(j,ct),u(j)}while(jt<j&&j<ke);return Kt},B.filter=function(j){return cr(function(ke){if(ke>=ke)for(;u(ke),!j(ke);)ke.setTime(ke-1)},function(ke,ct){if(ke>=ke)if(ct<0)for(;++ct<=0;)for(;L(ke,-1),!j(ke););else for(;--ct>=0;)for(;L(ke,1),!j(ke););})},r&&(B.count=function(j,ke){return V1.setTime(+j),ll.setTime(+ke),u(V1),u(ll),Math.floor(r(V1,ll))},B.every=function(j){return j=Math.floor(j),isFinite(j)&&j>0?j>1?B.filter(x?function(ke){return x(ke)%j==0}:function(ke){return B.count(0,ke)%j==0}):B:null}),B}var B1=cr(function(){},function(u,L){u.setTime(+u+L)},function(u,L){return L-u});B1.every=function(u){return u=Math.floor(u),isFinite(u)&&u>0?u>1?cr(function(L){L.setTime(Math.floor(L/u)*u)},function(L,r){L.setTime(+L+r*u)},function(L,r){return(r-L)/u}):B1:null};const U1=B1;const Vl=cr(function(u){u.setTime(u-u.getMilliseconds())},function(u,L){u.setTime(+u+L*hs)},function(u,L){return(L-u)/hs},function(u){return u.getUTCSeconds()});const gc=cr(function(u){u.setTime(u-u.getMilliseconds()-u.getSeconds()*hs)},function(u,L){u.setTime(+u+L*Do)},function(u,L){return(L-u)/Do},function(u){return u.getMinutes()});const dl=cr(function(u){u.setTime(u-u.getMilliseconds()-u.getSeconds()*hs-u.getMinutes()*Do)},function(u,L){u.setTime(+u+L*us)},function(u,L){return(L-u)/us},function(u){return u.getHours()});const Io=cr(u=>u.setHours(0,0,0,0),(u,L)=>u.setDate(u.getDate()+L),(u,L)=>(L-u-(L.getTimezoneOffset()-u.getTimezoneOffset())*Do)/pc,u=>u.getDate()-1);function $s(u){return cr(function(L){L.setDate(L.getDate()-(L.getDay()+7-u)%7),L.setHours(0,0,0,0)},function(L,r){L.setDate(L.getDate()+7*r)},function(L,r){return(r-L-(r.getTimezoneOffset()-L.getTimezoneOffset())*Do)/zl})}var Gl=$s(0),hl=$s(1),Hc=($s(2),$s(3),$s(4));const Z1=($s(5),$s(6),cr(function(u){u.setDate(1),u.setHours(0,0,0,0)},function(u,L){u.setMonth(u.getMonth()+L)},function(u,L){return L.getMonth()-u.getMonth()+12*(L.getFullYear()-u.getFullYear())},function(u){return u.getMonth()}));var W1=cr(function(u){u.setMonth(0,1),u.setHours(0,0,0,0)},function(u,L){u.setFullYear(u.getFullYear()+L)},function(u,L){return L.getFullYear()-u.getFullYear()},function(u){return u.getFullYear()});W1.every=function(u){return isFinite(u=Math.floor(u))&&u>0?cr(function(L){L.setFullYear(Math.floor(L.getFullYear()/u)*u),L.setMonth(0,1),L.setHours(0,0,0,0)},function(L,r){L.setFullYear(L.getFullYear()+r*u)}):null};const ks=W1;const o2=cr(function(u){u.setUTCSeconds(0,0)},function(u,L){u.setTime(+u+L*Do)},function(u,L){return(L-u)/Do},function(u){return u.getUTCMinutes()});const oh=cr(function(u){u.setUTCMinutes(0,0,0)},function(u,L){u.setTime(+u+L*us)},function(u,L){return(L-u)/us},function(u){return u.getUTCHours()});const j1=cr(function(u){u.setUTCHours(0,0,0,0)},function(u,L){u.setUTCDate(u.getUTCDate()+L)},function(u,L){return(L-u)/pc},function(u){return u.getUTCDate()-1});function vc(u){return cr(function(L){L.setUTCDate(L.getUTCDate()-(L.getUTCDay()+7-u)%7),L.setUTCHours(0,0,0,0)},function(L,r){L.setUTCDate(L.getUTCDate()+7*r)},function(L,r){return(r-L)/zl})}var Yl=vc(0),zc=vc(1),Jo=(vc(2),vc(3),vc(4));const J1=(vc(5),vc(6),cr(function(u){u.setUTCDate(1),u.setUTCHours(0,0,0,0)},function(u,L){u.setUTCMonth(u.getUTCMonth()+L)},function(u,L){return L.getUTCMonth()-u.getUTCMonth()+12*(L.getUTCFullYear()-u.getUTCFullYear())},function(u){return u.getUTCMonth()}));var ec=cr(function(u){u.setUTCMonth(0,1),u.setUTCHours(0,0,0,0)},function(u,L){u.setUTCFullYear(u.getUTCFullYear()+L)},function(u,L){return L.getUTCFullYear()-u.getUTCFullYear()},function(u){return u.getUTCFullYear()});ec.every=function(u){return isFinite(u=Math.floor(u))&&u>0?cr(function(L){L.setUTCFullYear(Math.floor(L.getUTCFullYear()/u)*u),L.setUTCMonth(0,1),L.setUTCHours(0,0,0,0)},function(L,r){L.setUTCFullYear(L.getUTCFullYear()+r*u)}):null};const Os=ec;function X1(u,L,r,x,B,j){const ke=[[Vl,1,hs],[Vl,5,5*hs],[Vl,15,15*hs],[Vl,30,30*hs],[j,1,Do],[j,5,5*Do],[j,15,15*Do],[j,30,30*Do],[B,1,us],[B,3,3*us],[B,6,6*us],[B,12,12*us],[x,1,pc],[x,2,2*pc],[r,1,zl],[L,1,eh],[L,3,3*eh],[u,1,z1]];function Kt(jt,si,pi){const bi=Math.abs(si-jt)/pi,Si=Jd(([,,Ti])=>Ti).right(ke,bi);if(Si===ke.length)return u.every(Nc(jt/z1,si/z1,pi));if(0===Si)return U1.every(Math.max(Nc(jt,si,pi),1));const[an,vn]=ke[bi/ke[Si-1][2]<ke[Si][2]/bi?Si-1:Si];return an.every(vn)}return[function ct(jt,si,pi){const bi=si<jt;bi&&([jt,si]=[si,jt]);const Si=pi&&"function"==typeof pi.range?pi:Kt(jt,si,pi),an=Si?Si.range(jt,+si+1):[];return bi?an.reverse():an},Kt]}const[sh,h2]=X1(Os,J1,Yl,j1,oh,o2),[bc,$1]=X1(ks,Z1,Gl,Io,dl,gc);function tc(u){if(0<=u.y&&u.y<100){var L=new Date(-1,u.m,u.d,u.H,u.M,u.S,u.L);return L.setFullYear(u.y),L}return new Date(u.y,u.m,u.d,u.H,u.M,u.S,u.L)}function ed(u){if(0<=u.y&&u.y<100){var L=new Date(Date.UTC(-1,u.m,u.d,u.H,u.M,u.S,u.L));return L.setUTCFullYear(u.y),L}return new Date(Date.UTC(u.y,u.m,u.d,u.H,u.M,u.S,u.L))}function pl(u,L,r){return{y:u,m:L,d:r,H:0,M:0,S:0,L:0}}var u2={"-":"",_:" ",0:"0"},_r=/^\s*\d+/,f2=/^%/,td=/[\\^$*+?|[\]().{}]/g;function ca(u,L,r){var x=u<0?"-":"",B=(x?-u:u)+"",j=B.length;return x+(j<r?new Array(r-j+1).join(L)+B:B)}function m2(u){return u.replace(td,"\\$&")}function ic(u){return new RegExp("^(?:"+u.map(m2).join("|")+")","i")}function Ps(u){return new Map(u.map((L,r)=>[L.toLowerCase(),r]))}function p2(u,L,r){var x=_r.exec(L.slice(r,r+1));return x?(u.w=+x[0],r+x[0].length):-1}function Ql(u,L,r){var x=_r.exec(L.slice(r,r+1));return x?(u.u=+x[0],r+x[0].length):-1}function id(u,L,r){var x=_r.exec(L.slice(r,r+2));return x?(u.U=+x[0],r+x[0].length):-1}function nd(u,L,r){var x=_r.exec(L.slice(r,r+2));return x?(u.V=+x[0],r+x[0].length):-1}function gl(u,L,r){var x=_r.exec(L.slice(r,r+2));return x?(u.W=+x[0],r+x[0].length):-1}function g2(u,L,r){var x=_r.exec(L.slice(r,r+4));return x?(u.y=+x[0],r+x[0].length):-1}function ad(u,L,r){var x=_r.exec(L.slice(r,r+2));return x?(u.y=+x[0]+(+x[0]>68?1900:2e3),r+x[0].length):-1}function ch(u,L,r){var x=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(L.slice(r,r+6));return x?(u.Z=x[1]?0:-(x[2]+(x[3]||"00")),r+x[0].length):-1}function lh(u,L,r){var x=_r.exec(L.slice(r,r+1));return x?(u.q=3*x[0]-3,r+x[0].length):-1}function _2(u,L,r){var x=_r.exec(L.slice(r,r+2));return x?(u.m=x[0]-1,r+x[0].length):-1}function rd(u,L,r){var x=_r.exec(L.slice(r,r+2));return x?(u.d=+x[0],r+x[0].length):-1}function od(u,L,r){var x=_r.exec(L.slice(r,r+3));return x?(u.m=0,u.d=+x[0],r+x[0].length):-1}function _l(u,L,r){var x=_r.exec(L.slice(r,r+2));return x?(u.H=+x[0],r+x[0].length):-1}function ql(u,L,r){var x=_r.exec(L.slice(r,r+2));return x?(u.M=+x[0],r+x[0].length):-1}function Vc(u,L,r){var x=_r.exec(L.slice(r,r+2));return x?(u.S=+x[0],r+x[0].length):-1}function dh(u,L,r){var x=_r.exec(L.slice(r,r+3));return x?(u.L=+x[0],r+x[0].length):-1}function v2(u,L,r){var x=_r.exec(L.slice(r,r+6));return x?(u.L=Math.floor(x[0]/1e3),r+x[0].length):-1}function ju(u,L,r){var x=f2.exec(L.slice(r,r+1));return x?r+x[0].length:-1}function hh(u,L,r){var x=_r.exec(L.slice(r));return x?(u.Q=+x[0],r+x[0].length):-1}function Jl(u,L,r){var x=_r.exec(L.slice(r));return x?(u.s=+x[0],r+x[0].length):-1}function b2(u,L){return ca(u.getDate(),L,2)}function y2(u,L){return ca(u.getHours(),L,2)}function vl(u,L){return ca(u.getHours()%12||12,L,2)}function sd(u,L){return ca(1+Io.count(ks(u),u),L,3)}function cd(u,L){return ca(u.getMilliseconds(),L,3)}function x2(u,L){return cd(u,L)+"000"}function ld(u,L){return ca(u.getMonth()+1,L,2)}function yc(u,L){return ca(u.getMinutes(),L,2)}function C2(u,L){return ca(u.getSeconds(),L,2)}function uh(u){var L=u.getDay();return 0===L?7:L}function w2(u,L){return ca(Gl.count(ks(u)-1,u),L,2)}function M2(u){var L=u.getDay();return L>=4||0===L?Hc(u):Hc.ceil(u)}function fh(u,L){return u=M2(u),ca(Hc.count(ks(u),u)+(4===ks(u).getDay()),L,2)}function so(u){return u.getDay()}function Bc(u,L){return ca(hl.count(ks(u)-1,u),L,2)}function mh(u,L){return ca(u.getFullYear()%100,L,2)}function S2(u,L){return ca((u=M2(u)).getFullYear()%100,L,2)}function ph(u,L){return ca(u.getFullYear()%1e4,L,4)}function gh(u,L){var r=u.getDay();return ca((u=r>=4||0===r?Hc(u):Hc.ceil(u)).getFullYear()%1e4,L,4)}function _h(u){var L=u.getTimezoneOffset();return(L>0?"-":(L*=-1,"+"))+ca(L/60|0,"0",2)+ca(L%60,"0",2)}function E2(u,L){return ca(u.getUTCDate(),L,2)}function T2(u,L){return ca(u.getUTCHours(),L,2)}function vh(u,L){return ca(u.getUTCHours()%12||12,L,2)}function bh(u,L){return ca(1+j1.count(Os(u),u),L,3)}function A2(u,L){return ca(u.getUTCMilliseconds(),L,3)}function L2(u,L){return A2(u,L)+"000"}function Xl(u,L){return ca(u.getUTCMonth()+1,L,2)}function fs(u,L){return ca(u.getUTCMinutes(),L,2)}function bl(u,L){return ca(u.getUTCSeconds(),L,2)}function D2(u){var L=u.getUTCDay();return 0===L?7:L}function I2(u,L){return ca(Yl.count(Os(u)-1,u),L,2)}function $l(u){var L=u.getUTCDay();return L>=4||0===L?Jo(u):Jo.ceil(u)}function Ku(u,L){return u=$l(u),ca(Jo.count(Os(u),u)+(4===Os(u).getUTCDay()),L,2)}function k2(u){return u.getUTCDay()}function Qu(u,L){return ca(zc.count(Os(u)-1,u),L,2)}function dd(u,L){return ca(u.getUTCFullYear()%100,L,2)}function e1(u,L){return ca((u=$l(u)).getUTCFullYear()%100,L,2)}function qu(u,L){return ca(u.getUTCFullYear()%1e4,L,4)}function Ju(u,L){var r=u.getUTCDay();return ca((u=r>=4||0===r?Jo(u):Jo.ceil(u)).getUTCFullYear()%1e4,L,4)}function hd(){return"+0000"}function O2(){return"%"}function P2(u){return+u}function R2(u){return Math.floor(+u/1e3)}function qa(u){return null===u?NaN:+u}!function F2(u){(function Kl(u){var L=u.dateTime,r=u.date,x=u.time,B=u.periods,j=u.days,ke=u.shortDays,ct=u.months,Kt=u.shortMonths,jt=ic(B),si=Ps(B),pi=ic(j),bi=Ps(j),Si=ic(ke),an=Ps(ke),vn=ic(ct),Ti=Ps(ct),mn=ic(Kt),_n=Ps(Kt),un={a:function Ya(dn){return ke[dn.getDay()]},A:function xo(dn){return j[dn.getDay()]},b:function Sa(dn){return Kt[dn.getMonth()]},B:function Br(dn){return ct[dn.getMonth()]},c:null,d:b2,e:b2,f:x2,g:S2,G:gh,H:y2,I:vl,j:sd,L:cd,m:ld,M:yc,p:function lr(dn){return B[+(dn.getHours()>=12)]},q:function dr(dn){return 1+~~(dn.getMonth()/3)},Q:P2,s:R2,S:C2,u:uh,U:w2,V:fh,w:so,W:Bc,x:null,X:null,y:mh,Y:ph,Z:_h,"%":O2},Bn={a:function tl(dn){return ke[dn.getUTCDay()]},A:function S1(dn){return j[dn.getUTCDay()]},b:function Ll(dn){return Kt[dn.getUTCMonth()]},B:function E1(dn){return ct[dn.getUTCMonth()]},c:null,d:E2,e:E2,f:L2,g:e1,G:Ju,H:T2,I:vh,j:bh,L:A2,m:Xl,M:fs,p:function Co(dn){return B[+(dn.getUTCHours()>=12)]},q:function Z0(dn){return 1+~~(dn.getUTCMonth()/3)},Q:P2,s:R2,S:bl,u:D2,U:I2,V:Ku,w:k2,W:Qu,x:null,X:null,y:dd,Y:qu,Z:hd,"%":O2},On={a:function nr(dn,Kn,ha){var Wi=Si.exec(Kn.slice(ha));return Wi?(dn.w=an.get(Wi[0].toLowerCase()),ha+Wi[0].length):-1},A:function Sn(dn,Kn,ha){var Wi=pi.exec(Kn.slice(ha));return Wi?(dn.w=bi.get(Wi[0].toLowerCase()),ha+Wi[0].length):-1},b:function Vr(dn,Kn,ha){var Wi=mn.exec(Kn.slice(ha));return Wi?(dn.m=_n.get(Wi[0].toLowerCase()),ha+Wi[0].length):-1},B:function ya(dn,Kn,ha){var Wi=vn.exec(Kn.slice(ha));return Wi?(dn.m=Ti.get(Wi[0].toLowerCase()),ha+Wi[0].length):-1},c:function ka(dn,Kn,ha){return va(dn,L,Kn,ha)},d:rd,e:rd,f:v2,g:ad,G:g2,H:_l,I:_l,j:od,L:dh,m:_2,M:ql,p:function No(dn,Kn,ha){var Wi=jt.exec(Kn.slice(ha));return Wi?(dn.p=si.get(Wi[0].toLowerCase()),ha+Wi[0].length):-1},q:lh,Q:hh,s:Jl,S:Vc,u:Ql,U:id,V:nd,w:p2,W:gl,x:function ns(dn,Kn,ha){return va(dn,r,Kn,ha)},X:function Ba(dn,Kn,ha){return va(dn,x,Kn,ha)},y:ad,Y:g2,Z:ch,"%":ju};function yn(dn,Kn){return function(ha){var Fo,Nn,ar,Wi=[],hr=-1,wa=0,wo=dn.length;for(ha instanceof Date||(ha=new Date(+ha));++hr<wo;)37===dn.charCodeAt(hr)&&(Wi.push(dn.slice(wa,hr)),null!=(Nn=u2[Fo=dn.charAt(++hr)])?Fo=dn.charAt(++hr):Nn="e"===Fo?" ":"0",(ar=Kn[Fo])&&(Fo=ar(ha,Nn)),Wi.push(Fo),wa=hr+1);return Wi.push(dn.slice(wa,hr)),Wi.join("")}}function ir(dn,Kn){return function(ha){var wa,wo,Wi=pl(1900,void 0,1);if(va(Wi,dn,ha+="",0)!=ha.length)return null;if("Q"in Wi)return new Date(Wi.Q);if("s"in Wi)return new Date(1e3*Wi.s+("L"in Wi?Wi.L:0));if(Kn&&!("Z"in Wi)&&(Wi.Z=0),"p"in Wi&&(Wi.H=Wi.H%12+12*Wi.p),void 0===Wi.m&&(Wi.m="q"in Wi?Wi.q:0),"V"in Wi){if(Wi.V<1||Wi.V>53)return null;"w"in Wi||(Wi.w=1),"Z"in Wi?(wo=(wa=ed(pl(Wi.y,0,1))).getUTCDay(),wa=wo>4||0===wo?zc.ceil(wa):zc(wa),wa=j1.offset(wa,7*(Wi.V-1)),Wi.y=wa.getUTCFullYear(),Wi.m=wa.getUTCMonth(),Wi.d=wa.getUTCDate()+(Wi.w+6)%7):(wo=(wa=tc(pl(Wi.y,0,1))).getDay(),wa=wo>4||0===wo?hl.ceil(wa):hl(wa),wa=Io.offset(wa,7*(Wi.V-1)),Wi.y=wa.getFullYear(),Wi.m=wa.getMonth(),Wi.d=wa.getDate()+(Wi.w+6)%7)}else("W"in Wi||"U"in Wi)&&("w"in Wi||(Wi.w="u"in Wi?Wi.u%7:"W"in Wi?1:0),wo="Z"in Wi?ed(pl(Wi.y,0,1)).getUTCDay():tc(pl(Wi.y,0,1)).getDay(),Wi.m=0,Wi.d="W"in Wi?(Wi.w+6)%7+7*Wi.W-(wo+5)%7:Wi.w+7*Wi.U-(wo+6)%7);return"Z"in Wi?(Wi.H+=Wi.Z/100|0,Wi.M+=Wi.Z%100,ed(Wi)):tc(Wi)}}function va(dn,Kn,ha,Wi){for(var Fo,Nn,hr=0,wa=Kn.length,wo=ha.length;hr<wa;){if(Wi>=wo)return-1;if(37===(Fo=Kn.charCodeAt(hr++))){if(Fo=Kn.charAt(hr++),!(Nn=On[Fo in u2?Kn.charAt(hr++):Fo])||(Wi=Nn(dn,ha,Wi))<0)return-1}else if(Fo!=ha.charCodeAt(Wi++))return-1}return Wi}return un.x=yn(r,un),un.X=yn(x,un),un.c=yn(L,un),Bn.x=yn(r,Bn),Bn.X=yn(x,Bn),Bn.c=yn(L,Bn),{format:function(dn){var Kn=yn(dn+="",un);return Kn.toString=function(){return dn},Kn},parse:function(dn){var Kn=ir(dn+="",!1);return Kn.toString=function(){return dn},Kn},utcFormat:function(dn){var Kn=yn(dn+="",Bn);return Kn.toString=function(){return dn},Kn},utcParse:function(dn){var Kn=ir(dn+="",!0);return Kn.toString=function(){return dn},Kn}}})(u)}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const V2=Jd(N1).right,yh=(Jd(qa),V2);function xh(u,L){return u=+u,L=+L,function(r){return Math.round(u*(1-r)+L*r)}}function Ch(u){return+u}var Mr=[0,1];function yl(u){return u}function xc(u,L){return(L-=u=+u)?function(r){return(r-u)/L}:function Xu(u){return function(){return u}}(isNaN(L)?NaN:.5)}function U2(u,L,r){var x=u[0],B=u[1],j=L[0],ke=L[1];return B<x?(x=xc(B,x),j=r(ke,j)):(x=xc(x,B),j=r(j,ke)),function(ct){return j(x(ct))}}function G2(u,L,r){var x=Math.min(u.length,L.length)-1,B=new Array(x),j=new Array(x),ke=-1;for(u[x]<u[0]&&(u=u.slice().reverse(),L=L.slice().reverse());++ke<x;)B[ke]=xc(u[ke],u[ke+1]),j[ke]=r(L[ke],L[ke+1]);return function(ct){var Kt=yh(u,ct,1,x)-1;return j[Kt](B[Kt](ct))}}function pd(){return function wh(){var x,B,j,ct,Kt,jt,u=Mr,L=Mr,r=Yn,ke=yl;function si(){var bi=Math.min(u.length,L.length);return ke!==yl&&(ke=function md(u,L){var r;return u>L&&(r=u,u=L,L=r),function(x){return Math.max(u,Math.min(L,x))}}(u[0],u[bi-1])),ct=bi>2?G2:U2,Kt=jt=null,pi}function pi(bi){return null==bi||isNaN(bi=+bi)?j:(Kt||(Kt=ct(u.map(x),L,r)))(x(ke(bi)))}return pi.invert=function(bi){return ke(B((jt||(jt=ct(L,u.map(x),Pa)))(bi)))},pi.domain=function(bi){return arguments.length?(u=Array.from(bi,Ch),si()):u.slice()},pi.range=function(bi){return arguments.length?(L=Array.from(bi),si()):L.slice()},pi.rangeRound=function(bi){return L=Array.from(bi),r=xh,si()},pi.clamp=function(bi){return arguments.length?(ke=!!bi||yl,si()):ke!==yl},pi.interpolate=function(bi){return arguments.length?(r=bi,si()):r},pi.unknown=function(bi){return arguments.length?(j=bi,pi):j},function(bi,Si){return x=bi,B=Si,si()}}()(yl,yl)}function Gc(u,L){switch(arguments.length){case 0:break;case 1:this.range(u);break;default:this.range(L).domain(u)}return this}var _d,W2=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function wl(u){if(!(L=W2.exec(u)))throw new Error("invalid format: "+u);var L;return new Rs({fill:L[1],align:L[2],sign:L[3],symbol:L[4],zero:L[5],width:L[6],comma:L[7],precision:L[8]&&L[8].slice(1),trim:L[9],type:L[10]})}function Rs(u){this.fill=void 0===u.fill?" ":u.fill+"",this.align=void 0===u.align?">":u.align+"",this.sign=void 0===u.sign?"-":u.sign+"",this.symbol=void 0===u.symbol?"":u.symbol+"",this.zero=!!u.zero,this.width=void 0===u.width?void 0:+u.width,this.comma=!!u.comma,this.precision=void 0===u.precision?void 0:+u.precision,this.trim=!!u.trim,this.type=void 0===u.type?"":u.type+""}function Zc(u,L){if((r=(u=L?u.toExponential(L-1):u.toExponential()).indexOf("e"))<0)return null;var r,x=u.slice(0,r);return[x.length>1?x[0]+x.slice(2):x,+u.slice(r+1)]}function Ns(u){return(u=Zc(Math.abs(u)))?u[1]:NaN}function j2(u,L){var r=Zc(u,L);if(!r)return u+"";var x=r[0],B=r[1];return B<0?"0."+new Array(-B).join("0")+x:x.length>B+1?x.slice(0,B+1)+"."+x.slice(B+1):x+new Array(B-x.length+2).join("0")}wl.prototype=Rs.prototype,Rs.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 K2={"%":(u,L)=>(100*u).toFixed(L),b:u=>Math.round(u).toString(2),c:u=>u+"",d:function Y2(u){return Math.abs(u=Math.round(u))>=1e21?u.toLocaleString("en").replace(/,/g,""):u.toString(10)},e:(u,L)=>u.toExponential(L),f:(u,L)=>u.toFixed(L),g:(u,L)=>u.toPrecision(L),o:u=>Math.round(u).toString(8),p:(u,L)=>j2(100*u,L),r:j2,s:function vd(u,L){var r=Zc(u,L);if(!r)return u+"";var x=r[0],B=r[1],j=B-(_d=3*Math.max(-8,Math.min(8,Math.floor(B/3))))+1,ke=x.length;return j===ke?x:j>ke?x+new Array(j-ke+1).join("0"):j>0?x.slice(0,j)+"."+x.slice(j):"0."+new Array(1-j).join("0")+Zc(u,Math.max(0,L+j-1))[0]},X:u=>Math.round(u).toString(16).toUpperCase(),x:u=>Math.round(u).toString(16)};function bd(u){return u}var r1,o1,q2,wc=Array.prototype.map,Q2=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function xd(u){var L=u.domain;return u.ticks=function(r){var x=L();return function $0(u,L,r){var x,j,ke,ct,B=-1;if(r=+r,(u=+u)==(L=+L)&&r>0)return[u];if((x=L<u)&&(j=u,u=L,L=j),0===(ct=e2(u,L,r))||!isFinite(ct))return[];if(ct>0){let Kt=Math.round(u/ct),jt=Math.round(L/ct);for(Kt*ct<u&&++Kt,jt*ct>L&&--jt,ke=new Array(j=jt-Kt+1);++B<j;)ke[B]=(Kt+B)*ct}else{ct=-ct;let Kt=Math.round(u*ct),jt=Math.round(L*ct);for(Kt/ct<u&&++Kt,jt/ct>L&&--jt,ke=new Array(j=jt-Kt+1);++B<j;)ke[B]=(Kt+B)/ct}return x&&ke.reverse(),ke}(x[0],x[x.length-1],r??10)},u.tickFormat=function(r,x){var B=L();return function yd(u,L,r,x){var j,B=Nc(u,L,r);switch((x=wl(x??",f")).type){case"s":var ke=Math.max(Math.abs(u),Math.abs(L));return null==x.precision&&!isNaN(j=function Mh(u,L){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ns(L)/3)))-Ns(Math.abs(u)))}(B,ke))&&(x.precision=j),q2(x,ke);case"":case"e":case"g":case"p":case"r":null==x.precision&&!isNaN(j=function X2(u,L){return u=Math.abs(u),L=Math.abs(L)-u,Math.max(0,Ns(L)-Ns(u))+1}(B,Math.max(Math.abs(u),Math.abs(L))))&&(x.precision=j-("e"===x.type));break;case"f":case"%":null==x.precision&&!isNaN(j=function $2(u){return Math.max(0,-Ns(Math.abs(u)))}(B))&&(x.precision=j-2*("%"===x.type))}return o1(x)}(B[0],B[B.length-1],r??10,x)},u.nice=function(r){null==r&&(r=10);var Kt,jt,x=L(),B=0,j=x.length-1,ke=x[B],ct=x[j],si=10;for(ct<ke&&(jt=ke,ke=ct,ct=jt,jt=B,B=j,j=jt);si-- >0;){if((jt=e2(ke,ct,r))===Kt)return x[B]=ke,x[j]=ct,L(x);if(jt>0)ke=Math.floor(ke/jt)*jt,ct=Math.ceil(ct/jt)*jt;else{if(!(jt<0))break;ke=Math.ceil(ke*jt)/jt,ct=Math.floor(ct*jt)/jt}Kt=jt}return u},u}function Xo(){var u=pd();return u.copy=function(){return function n1(u,L){return L.domain(u.domain()).range(u.range()).interpolate(u.interpolate()).clamp(u.clamp()).unknown(u.unknown())}(u,Xo())},Gc.apply(u,arguments),xd(u)}function s1(u,L,r){u=+u,L=+L,r=(B=arguments.length)<2?(L=u,u=0,1):B<3?1:+r;for(var x=-1,B=0|Math.max(0,Math.ceil((L-u)/r)),j=new Array(B);++x<B;)j[x]=u+x*r;return j}!function J2(u){r1=function Sh(u){var L=void 0===u.grouping||void 0===u.thousands?bd:function a1(u,L){return function(r,x){for(var B=r.length,j=[],ke=0,ct=u[0],Kt=0;B>0&&ct>0&&(Kt+ct+1>x&&(ct=Math.max(1,x-Kt)),j.push(r.substring(B-=ct,B+ct)),!((Kt+=ct+1)>x));)ct=u[ke=(ke+1)%u.length];return j.reverse().join(L)}}(wc.call(u.grouping,Number),u.thousands+""),r=void 0===u.currency?"":u.currency[0]+"",x=void 0===u.currency?"":u.currency[1]+"",B=void 0===u.decimal?".":u.decimal+"",j=void 0===u.numerals?bd:function Ml(u){return function(L){return L.replace(/[0-9]/g,function(r){return u[+r]})}}(wc.call(u.numerals,String)),ke=void 0===u.percent?"%":u.percent+"",ct=void 0===u.minus?"\u2212":u.minus+"",Kt=void 0===u.nan?"NaN":u.nan+"";function jt(pi){var bi=(pi=wl(pi)).fill,Si=pi.align,an=pi.sign,vn=pi.symbol,Ti=pi.zero,mn=pi.width,_n=pi.comma,un=pi.precision,Bn=pi.trim,On=pi.type;"n"===On?(_n=!0,On="g"):K2[On]||(void 0===un&&(un=12),Bn=!0,On="g"),(Ti||"0"===bi&&"="===Si)&&(Ti=!0,bi="0",Si="=");var yn="$"===vn?r:"#"===vn&&/[boxX]/.test(On)?"0"+On.toLowerCase():"",ir="$"===vn?x:/[%p]/.test(On)?ke:"",va=K2[On],No=/[defgprs%]/.test(On);function nr(Sn){var ka,ns,Ba,Vr=yn,ya=ir;if("c"===On)ya=va(Sn)+ya,Sn="";else{var Ya=(Sn=+Sn)<0||1/Sn<0;if(Sn=isNaN(Sn)?Kt:va(Math.abs(Sn),un),Bn&&(Sn=function Cc(u){e:for(var B,L=u.length,r=1,x=-1;r<L;++r)switch(u[r]){case".":x=B=r;break;case"0":0===x&&(x=r),B=r;break;default:if(!+u[r])break e;x>0&&(x=0)}return x>0?u.slice(0,x)+u.slice(B+1):u}(Sn)),Ya&&0==+Sn&&"+"!==an&&(Ya=!1),Vr=(Ya?"("===an?an:ct:"-"===an||"("===an?"":an)+Vr,ya=("s"===On?Q2[8+_d/3]:"")+ya+(Ya&&"("===an?")":""),No)for(ka=-1,ns=Sn.length;++ka<ns;)if(48>(Ba=Sn.charCodeAt(ka))||Ba>57){ya=(46===Ba?B+Sn.slice(ka+1):Sn.slice(ka))+ya,Sn=Sn.slice(0,ka);break}}_n&&!Ti&&(Sn=L(Sn,1/0));var xo=Vr.length+Sn.length+ya.length,Sa=xo<mn?new Array(mn-xo+1).join(bi):"";switch(_n&&Ti&&(Sn=L(Sa+Sn,Sa.length?mn-ya.length:1/0),Sa=""),Si){case"<":Sn=Vr+Sn+ya+Sa;break;case"=":Sn=Vr+Sa+Sn+ya;break;case"^":Sn=Sa.slice(0,xo=Sa.length>>1)+Vr+Sn+ya+Sa.slice(xo);break;default:Sn=Sa+Vr+Sn+ya}return j(Sn)}return un=void 0===un?6:/[gprs]/.test(On)?Math.max(1,Math.min(21,un)):Math.max(0,Math.min(20,un)),nr.toString=function(){return pi+""},nr}return{format:jt,formatPrefix:function si(pi,bi){var Si=jt(((pi=wl(pi)).type="f",pi)),an=3*Math.max(-8,Math.min(8,Math.floor(Ns(bi)/3))),vn=Math.pow(10,-an),Ti=Q2[8+an/3];return function(mn){return Si(vn*mn)+Ti}}}}(u),o1=r1.format,q2=r1.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});const Or=Symbol("implicit");function Wc(){var u=new Map,L=[],r=[],x=Or;function B(j){var ke=j+"",ct=u.get(ke);if(!ct){if(x!==Or)return x;u.set(ke,ct=L.push(j))}return r[(ct-1)%r.length]}return B.domain=function(j){if(!arguments.length)return L.slice();L=[],u=new Map;for(const ke of j){const ct=ke+"";u.has(ct)||u.set(ct,L.push(ke))}return B},B.range=function(j){return arguments.length?(r=Array.from(j),B):r.slice()},B.unknown=function(j){return arguments.length?(x=j,B):x},B.copy=function(){return Wc(L,r).unknown(x)},Gc.apply(B,arguments),B}function Sl(){var j,ke,u=Wc().unknown(void 0),L=u.domain,r=u.range,x=0,B=1,ct=!1,Kt=0,jt=0,si=.5;function pi(){var bi=L().length,Si=B<x,an=Si?B:x,vn=Si?x:B;j=(vn-an)/Math.max(1,bi-Kt+2*jt),ct&&(j=Math.floor(j)),an+=(vn-an-j*(bi-Kt))*si,ke=j*(1-Kt),ct&&(an=Math.round(an),ke=Math.round(ke));var Ti=s1(bi).map(function(mn){return an+j*mn});return r(Si?Ti.reverse():Ti)}return delete u.unknown,u.domain=function(bi){return arguments.length?(L(bi),pi()):L()},u.range=function(bi){return arguments.length?([x,B]=bi,x=+x,B=+B,pi()):[x,B]},u.rangeRound=function(bi){return[x,B]=bi,x=+x,B=+B,ct=!0,pi()},u.bandwidth=function(){return ke},u.step=function(){return j},u.round=function(bi){return arguments.length?(ct=!!bi,pi()):ct},u.padding=function(bi){return arguments.length?(Kt=Math.min(1,jt=+bi),pi()):Kt},u.paddingInner=function(bi){return arguments.length?(Kt=Math.min(1,bi),pi()):Kt},u.paddingOuter=function(bi){return arguments.length?(jt=+bi,pi()):jt},u.align=function(bi){return arguments.length?(si=Math.max(0,Math.min(1,bi)),pi()):si},u.copy=function(){return Sl(L(),[x,B]).round(ct).paddingInner(Kt).paddingOuter(jt).align(si)},Gc.apply(pi(),arguments)}function e0(u,L,r=qa){if(x=u.length){if((L=+L)<=0||x<2)return+r(u[0],0,u);if(L>=1)return+r(u[x-1],x-1,u);var x,B=(x-1)*L,j=Math.floor(B),ke=+r(u[j],j,u);return ke+(+r(u[j+1],j+1,u)-ke)*(B-j)}}function Cd(){var x,u=[],L=[],r=[];function B(){var ke=0,ct=Math.max(1,L.length);for(r=new Array(ct-1);++ke<ct;)r[ke-1]=e0(u,ke/ct);return j}function j(ke){return null==ke||isNaN(ke=+ke)?x:L[yh(r,ke)]}return j.invertExtent=function(ke){var ct=L.indexOf(ke);return ct<0?[NaN,NaN]:[ct>0?r[ct-1]:u[0],ct<r.length?r[ct]:u[u.length-1]]},j.domain=function(ke){if(!arguments.length)return u.slice();u=[];for(let ct of ke)null!=ct&&!isNaN(ct=+ct)&&u.push(ct);return u.sort(N1),B()},j.range=function(ke){return arguments.length?(L=Array.from(ke),B()):L.slice()},j.unknown=function(ke){return arguments.length?(x=ke,j):x},j.quantiles=function(){return r.slice()},j.copy=function(){return Cd().domain(u).range(L).unknown(x)},Gc.apply(j,arguments)}var Th=m(5126);const c1=["caretElm"];function wd(u,L){}const Ah=function(u){return{model:u}};function Md(u,L){if(1&u&&(t.TgZ(0,"span"),t.YNc(1,wd,0,0,"ng-template",5),t.qZA()),2&u){const r=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",r.template)("ngTemplateOutletContext",t.VKq(2,Ah,r.context))}}function Yc(u,L){if(1&u&&t._UZ(0,"span",6),2&u){const r=t.oxw();t.Q6J("innerHTML",r.title,t.oJD)}}function Lh(u,L){if(1&u&&(t.TgZ(0,"header",4)(1,"span",5),t._uU(2),t.qZA()()),2&u){const r=t.oxw();t.xp6(2),t.Oqu(r.title)}}function Dh(u,L){if(1&u){const r=t.EpF();t.TgZ(0,"li",6)(1,"ngx-charts-legend-entry",7),t.NdJ("select",function(B){t.CHM(r);const j=t.oxw();return t.KtG(j.labelClick.emit(B))})("activate",function(B){t.CHM(r);const j=t.oxw();return t.KtG(j.activate(B))})("deactivate",function(B){t.CHM(r);const j=t.oxw();return t.KtG(j.deactivate(B))}),t.qZA()()}if(2&u){const r=L.$implicit,x=t.oxw();t.xp6(1),t.Q6J("label",r.label)("formattedLabel",r.formattedLabel)("color",r.color)("isActive",x.isActive(r))}}function t0(u,L){if(1&u&&(t.O4$(),t.kcU(),t._UZ(0,"ngx-charts-scale-legend",4)),2&u){const r=t.oxw();t.Q6J("horizontal",r.legendOptions&&r.legendOptions.position===r.LegendPosition.Below)("valueRange",r.legendOptions.domain)("colors",r.legendOptions.colors)("height",r.view[1])("width",r.legendWidth)}}function Ih(u,L){if(1&u){const r=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"ngx-charts-legend",5),t.NdJ("labelClick",function(B){t.CHM(r);const j=t.oxw();return t.KtG(j.legendLabelClick.emit(B))})("labelActivate",function(B){t.CHM(r);const j=t.oxw();return t.KtG(j.legendLabelActivate.emit(B))})("labelDeactivate",function(B){t.CHM(r);const j=t.oxw();return t.KtG(j.legendLabelDeactivate.emit(B))}),t.qZA()}if(2&u){const r=t.oxw();t.Q6J("horizontal",r.legendOptions&&r.legendOptions.position===r.LegendPosition.Below)("data",r.legendOptions.domain)("title",r.legendOptions.title)("colors",r.legendOptions.colors)("height",r.view[1])("width",r.legendWidth)("activeEntries",r.activeEntries)}}const Sd=["*"],kh=["ngx-charts-axis-label",""],l1=["ticksel"],jc=["ngx-charts-x-axis-ticks",""];function Fs(u,L){1&u&&(t.O4$(),t.GkF(0))}function Oh(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"tspan",10),t._uU(1),t.qZA()),2&u){const r=L.$implicit;t.uIk("y",12*L.index),t.xp6(1),t.hij(" ",r," ")}}function n0(u,L){if(1&u&&(t.O4$(),t.ynx(0),t.YNc(1,Oh,2,2,"tspan",9),t.BQk()),2&u){const r=L.ngIf;t.xp6(1),t.Q6J("ngForOf",r)}}function a0(u,L){if(1&u&&(t.O4$(),t.YNc(0,n0,2,1,"ng-container",4)),2&u){const r=t.oxw(2).$implicit,x=t.oxw();t.Q6J("ngIf",x.tickChunks(r))}}function Ph(u,L){if(1&u&&(t.O4$(),t._uU(0)),2&u){const r=t.oxw().ngIf,x=t.oxw(2);t.hij(" ",x.tickTrim(r)," ")}}function r0(u,L){if(1&u&&(t.O4$(),t.ynx(0),t.TgZ(1,"title"),t._uU(2),t.qZA(),t.TgZ(3,"text",5),t.YNc(4,Fs,1,0,"ng-container",6),t.qZA(),t.YNc(5,a0,1,1,"ng-template",null,7,t.W1O),t.YNc(7,Ph,1,1,"ng-template",null,8,t.W1O),t.BQk()),2&u){const r=L.ngIf,x=t.MAs(6),B=t.MAs(8),j=t.oxw(2);t.xp6(2),t.Oqu(r),t.xp6(1),t.uIk("text-anchor",j.textAnchor)("transform",j.textTransform),t.xp6(1),t.Q6J("ngIf",j.isWrapTicksSupported)("ngIfThen",x)("ngIfElse",B)}}function Rh(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"g",3),t.YNc(1,r0,9,6,"ng-container",4),t.qZA()),2&u){const r=L.$implicit,x=t.oxw();t.uIk("transform",x.tickTransform(r)),t.xp6(1),t.Q6J("ngIf",x.tickFormat(r))}}function o0(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"g"),t._UZ(1,"line",11),t.qZA()),2&u){const r=t.oxw(2);t.uIk("transform",r.gridLineTransform()),t.xp6(1),t.uIk("y1",-r.gridLineHeight)}}function s0(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,o0,2,2,"g",4),t.qZA()),2&u){const r=L.$implicit,x=t.oxw();t.uIk("transform",x.tickTransform(r)),t.xp6(1),t.Q6J("ngIf",x.showGridLines)}}const Nh=["ngx-charts-x-axis",""];function c0(u,L){if(1&u){const r=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("dimensionsChanged",function(B){t.CHM(r);const j=t.oxw();return t.KtG(j.emitTicksHeight(B))}),t.qZA()}if(2&u){const r=t.oxw();t.Q6J("trimTicks",r.trimTicks)("rotateTicks",r.rotateTicks)("maxTickLength",r.maxTickLength)("tickFormatting",r.tickFormatting)("tickArguments",r.tickArguments)("tickStroke",r.tickStroke)("scale",r.xScale)("orient",r.xOrient)("showGridLines",r.showGridLines)("gridLineHeight",r.dims.height)("width",r.dims.width)("tickValues",r.ticks)("wrapTicks",r.wrapTicks)}}function Fh(u,L){if(1&u&&(t.O4$(),t._UZ(0,"g",3)),2&u){const r=t.oxw();t.Q6J("label",r.labelText)("offset",r.labelOffset)("orient",r.orientation.Bottom)("height",r.dims.height)("width",r.dims.width)}}const Hh=["ngx-charts-y-axis-ticks",""];function $o(u,L){1&u&&(t.O4$(),t.GkF(0))}function l0(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"tspan",12),t._uU(1),t.qZA()),2&u){const r=L.$implicit,x=L.index,B=t.oxw(6);t.uIk("y",x*(8+B.tickSpacing)),t.xp6(1),t.hij(" ",r," ")}}function d0(u,L){if(1&u&&(t.O4$(),t.ynx(0),t.YNc(1,l0,2,2,"tspan",11),t.BQk()),2&u){const r=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",r)}}function zh(u,L){if(1&u&&(t.O4$(),t.ynx(0),t.YNc(1,d0,2,1,"ng-container",10),t.BQk()),2&u){const r=L.ngIf;t.oxw(2);const x=t.MAs(8);t.xp6(1),t.Q6J("ngIf",r.length>1)("ngIfElse",x)}}function Vh(u,L){if(1&u&&(t.O4$(),t.YNc(0,zh,2,2,"ng-container",5)),2&u){const r=t.oxw(2).$implicit,x=t.oxw();t.Q6J("ngIf",x.tickChunks(r))}}function h0(u,L){if(1&u&&(t.O4$(),t._uU(0)),2&u){const r=t.oxw().ngIf,x=t.oxw(2);t.hij(" ",x.tickTrim(r)," ")}}function Bh(u,L){if(1&u&&(t.O4$(),t.ynx(0),t.TgZ(1,"title"),t._uU(2),t.qZA(),t.TgZ(3,"text",6),t.YNc(4,$o,1,0,"ng-container",7),t.qZA(),t.YNc(5,Vh,1,1,"ng-template",null,8,t.W1O),t.YNc(7,h0,1,1,"ng-template",null,9,t.W1O),t.BQk()),2&u){const r=L.ngIf,x=t.MAs(6),B=t.MAs(8),j=t.oxw(2);t.xp6(2),t.Oqu(r),t.xp6(1),t.Udp("font-size","12px"),t.uIk("dy",j.dy)("x",j.x1)("y",j.y1)("text-anchor",j.textAnchor),t.xp6(1),t.Q6J("ngIf",j.wrapTicks)("ngIfThen",x)("ngIfElse",B)}}function u0(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"g",4),t.YNc(1,Bh,9,10,"ng-container",5),t.qZA()),2&u){const r=L.$implicit,x=t.oxw();t.uIk("transform",x.transform(r)),t.xp6(1),t.Q6J("ngIf",x.tickFormat(r))}}function Uh(u,L){if(1&u&&(t.O4$(),t._UZ(0,"path",13)),2&u){const r=t.oxw();t.uIk("d",r.referenceAreaPath)("transform",r.gridLineTransform())}}function Gh(u,L){if(1&u&&(t.O4$(),t._UZ(0,"line",15)),2&u){const r=t.oxw(3);t.uIk("x2",r.gridLineWidth)}}function Ed(u,L){if(1&u&&(t.O4$(),t._UZ(0,"line",15)),2&u){const r=t.oxw(3);t.uIk("x2",-r.gridLineWidth)}}function Rn(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Gh,1,1,"line",14),t.YNc(2,Ed,1,1,"line",14),t.qZA()),2&u){const r=t.oxw(2);t.uIk("transform",r.gridLineTransform()),t.xp6(1),t.Q6J("ngIf",r.orient===r.Orientation.Left),t.xp6(1),t.Q6J("ngIf",r.orient===r.Orientation.Right)}}function Td(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Rn,3,3,"g",5),t.qZA()),2&u){const r=L.$implicit,x=t.oxw();t.uIk("transform",x.transform(r)),t.xp6(1),t.Q6J("ngIf",x.showGridLines)}}function Ad(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"g")(1,"title"),t._uU(2),t.qZA(),t.TgZ(3,"text",17),t._uU(4),t.qZA()()),2&u){const r=t.oxw(2).$implicit,x=t.oxw();t.xp6(2),t.Oqu(x.tickTrim(x.tickFormat(r.value))),t.xp6(1),t.uIk("dy",x.dy)("y",-6)("x",x.gridLineWidth)("text-anchor",x.textAnchor),t.xp6(1),t.hij(" ",r.name," ")}}function Ld(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"g"),t._UZ(1,"line",16),t.YNc(2,Ad,5,6,"g",5),t.qZA()),2&u){const r=t.oxw().$implicit,x=t.oxw();t.uIk("transform",x.transform(r.value)),t.xp6(1),t.uIk("x2",x.gridLineWidth)("transform",x.gridLineTransform()),t.xp6(1),t.Q6J("ngIf",x.showRefLabels)}}function Zh(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Ld,3,4,"g",5),t.qZA()),2&u){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.showRefLines)}}const Dd=["ngx-charts-y-axis",""];function Id(u,L){if(1&u){const r=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("dimensionsChanged",function(B){t.CHM(r);const j=t.oxw();return t.KtG(j.emitTicksWidth(B))}),t.qZA()}if(2&u){const r=t.oxw();t.Q6J("trimTicks",r.trimTicks)("maxTickLength",r.maxTickLength)("tickFormatting",r.tickFormatting)("tickArguments",r.tickArguments)("tickValues",r.ticks)("tickStroke",r.tickStroke)("scale",r.yScale)("orient",r.yOrient)("showGridLines",r.showGridLines)("gridLineWidth",r.dims.width)("referenceLines",r.referenceLines)("showRefLines",r.showRefLines)("showRefLabels",r.showRefLabels)("height",r.dims.height)("wrapTicks",r.wrapTicks)}}function f0(u,L){if(1&u&&(t.O4$(),t._UZ(0,"g",3)),2&u){const r=t.oxw();t.Q6J("label",r.labelText)("offset",r.labelOffset)("orient",r.yOrient)("height",r.dims.height)("width",r.dims.width)}}const m0=["ngx-charts-svg-linear-gradient",""];function p0(u,L){if(1&u&&(t.O4$(),t._UZ(0,"stop")),2&u){const r=L.$implicit;t.Udp("stop-color",r.color)("stop-opacity",r.opacity),t.uIk("offset",r.offset+"%")}}const d1=["ngx-charts-grid-panel",""],h1=["ngx-charts-grid-panel-series",""];function R(u,L){if(1&u&&(t.O4$(),t._UZ(0,"g",1)),2&u){const r=L.$implicit;t.ekj("grid-panel",!0)("odd","odd"===r.class)("even","even"===r.class),t.Q6J("height",r.height)("width",r.width)("x",r.x)("y",r.y)}}const Rr=["tooltipTemplate"],Qc=function(u,L){return[u,L]},Wa=".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",Hs=["ngx-charts-bar",""];function yo(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"defs"),t._UZ(1,"g",2),t.qZA()),2&u){const r=t.oxw();t.xp6(1),t.Q6J("orientation",r.orientation)("name",r.gradientId)("stops",r.gradientStops)}}const El=["ngx-charts-bar-label",""],z3=["ngx-charts-series-vertical",""];function zs(u,L){if(1&u){const r=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("select",function(B){t.CHM(r);const j=t.oxw(2);return t.KtG(j.onClick(B))})("activate",function(B){t.CHM(r);const j=t.oxw(2);return t.KtG(j.activate.emit(B))})("deactivate",function(B){t.CHM(r);const j=t.oxw(2);return t.KtG(j.deactivate.emit(B))}),t.qZA()}if(2&u){const r=L.$implicit,x=t.oxw(2);t.Q6J("@animationState","active")("@.disabled",!x.animations)("width",r.width)("height",r.height)("x",r.x)("y",r.y)("fill",r.color)("stops",r.gradientStops)("data",r.data)("orientation",x.barOrientation.Vertical)("roundEdges",r.roundEdges)("gradient",x.gradient)("ariaLabel",r.ariaLabel)("isActive",x.isActive(r.data))("tooltipDisabled",x.tooltipDisabled)("tooltipPlacement",x.tooltipPlacement)("tooltipType",x.tooltipType)("tooltipTitle",x.tooltipTemplate?void 0:r.tooltipText)("tooltipTemplate",x.tooltipTemplate)("tooltipContext",r.data)("noBarWhenZero",x.noBarWhenZero)("animations",x.animations)}}function Yh(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,zs,1,22,"g",1),t.qZA()),2&u){const r=t.oxw();t.xp6(1),t.Q6J("ngForOf",r.bars)("ngForTrackBy",r.trackBy)}}function hf(u,L){if(1&u){const r=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("select",function(B){t.CHM(r);const j=t.oxw(2);return t.KtG(j.onClick(B))})("activate",function(B){t.CHM(r);const j=t.oxw(2);return t.KtG(j.activate.emit(B))})("deactivate",function(B){t.CHM(r);const j=t.oxw(2);return t.KtG(j.deactivate.emit(B))}),t.qZA()}if(2&u){const r=L.$implicit,x=t.oxw(2);t.Q6J("width",r.width)("height",r.height)("x",r.x)("y",r.y)("fill",r.color)("stops",r.gradientStops)("data",r.data)("orientation",x.barOrientation.Vertical)("roundEdges",r.roundEdges)("gradient",x.gradient)("ariaLabel",r.ariaLabel)("isActive",x.isActive(r.data))("tooltipDisabled",x.tooltipDisabled)("tooltipPlacement",x.tooltipPlacement)("tooltipType",x.tooltipType)("tooltipTitle",x.tooltipTemplate?void 0:r.tooltipText)("tooltipTemplate",x.tooltipTemplate)("tooltipContext",r.data)("noBarWhenZero",x.noBarWhenZero)("animations",x.animations)}}function V3(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,hf,1,20,"g",1),t.qZA()),2&u){const r=t.oxw();t.xp6(1),t.Q6J("ngForOf",r.bars)("ngForTrackBy",r.trackBy)}}function uf(u,L){if(1&u){const r=t.EpF();t.O4$(),t.TgZ(0,"g",4),t.NdJ("dimensionsChanged",function(B){const ke=t.CHM(r).index,ct=t.oxw(2);return t.KtG(ct.dataLabelHeightChanged.emit({size:B,index:ke}))}),t.qZA()}if(2&u){const r=L.$implicit,x=t.oxw(2);t.Q6J("barX",r.x)("barY",r.y)("barWidth",r.width)("barHeight",r.height)("value",r.total)("valueFormatting",x.dataLabelFormatting)("orientation",x.barOrientation.Vertical)}}function ff(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,uf,1,7,"g",3),t.qZA()),2&u){const r=t.oxw();t.xp6(1),t.Q6J("ngForOf",r.barsForDataLabels)("ngForTrackBy",r.trackDataLabelBy)}}function B3(u,L){if(1&u){const r=t.EpF();t.O4$(),t.TgZ(0,"g",5),t.NdJ("dimensionsChanged",function(B){t.CHM(r);const j=t.oxw();return t.KtG(j.updateXAxisHeight(B))}),t.qZA()}if(2&u){const r=t.oxw();t.Q6J("xScale",r.xScale)("dims",r.dims)("showGridLines",r.showGridLines)("showLabel",r.showXAxisLabel)("labelText",r.xAxisLabel)("trimTicks",r.trimXAxisTicks)("rotateTicks",r.rotateXAxisTicks)("maxTickLength",r.maxXAxisTickLength)("tickFormatting",r.xAxisTickFormatting)("ticks",r.xAxisTicks)("xAxisOffset",r.dataLabelMaxHeight.negative)("wrapTicks",r.wrapTicks)}}function U3(u,L){if(1&u){const r=t.EpF();t.O4$(),t.TgZ(0,"g",6),t.NdJ("dimensionsChanged",function(B){t.CHM(r);const j=t.oxw();return t.KtG(j.updateYAxisWidth(B))}),t.qZA()}if(2&u){const r=t.oxw();t.Q6J("yScale",r.yScale)("dims",r.dims)("showGridLines",r.showGridLines)("showLabel",r.showYAxisLabel)("labelText",r.yAxisLabel)("trimTicks",r.trimYAxisTicks)("maxTickLength",r.maxYAxisTickLength)("tickFormatting",r.yAxisTickFormatting)("ticks",r.yAxisTicks)("wrapTicks",r.wrapTicks)}}function jh(u,L){if(1&u){const r=t.EpF();t.O4$(),t.TgZ(0,"g",6),t.NdJ("dimensionsChanged",function(B){t.CHM(r);const j=t.oxw();return t.KtG(j.updateXAxisHeight(B))}),t.qZA()}if(2&u){const r=t.oxw();t.Q6J("xScale",r.groupScale)("dims",r.dims)("showLabel",r.showXAxisLabel)("labelText",r.xAxisLabel)("trimTicks",r.trimXAxisTicks)("rotateTicks",r.rotateXAxisTicks)("maxTickLength",r.maxXAxisTickLength)("tickFormatting",r.xAxisTickFormatting)("ticks",r.xAxisTicks)("xAxisOffset",r.dataLabelMaxHeight.negative)("wrapTicks",r.wrapTicks)}}function Kh(u,L){if(1&u){const r=t.EpF();t.O4$(),t.TgZ(0,"g",7),t.NdJ("dimensionsChanged",function(B){t.CHM(r);const j=t.oxw();return t.KtG(j.updateYAxisWidth(B))}),t.qZA()}if(2&u){const r=t.oxw();t.Q6J("yScale",r.valueScale)("dims",r.dims)("showGridLines",r.showGridLines)("showLabel",r.showYAxisLabel)("labelText",r.yAxisLabel)("trimTicks",r.trimYAxisTicks)("maxTickLength",r.maxYAxisTickLength)("tickFormatting",r.yAxisTickFormatting)("ticks",r.yAxisTicks)("wrapTicks",r.wrapTicks)}}function G3(u,L){if(1&u){const r=t.EpF();t.O4$(),t.TgZ(0,"g",9),t.NdJ("select",function(B){const ke=t.CHM(r).$implicit,ct=t.oxw(2);return t.KtG(ct.onClick(B,ke))})("activate",function(B){const ke=t.CHM(r).$implicit,ct=t.oxw(2);return t.KtG(ct.onActivate(B,ke))})("deactivate",function(B){const ke=t.CHM(r).$implicit,ct=t.oxw(2);return t.KtG(ct.onDeactivate(B,ke))})("dataLabelHeightChanged",function(B){const ke=t.CHM(r).index,ct=t.oxw(2);return t.KtG(ct.onDataLabelMaxHeightChanged(B,ke))}),t.qZA()}if(2&u){const r=L.$implicit,x=t.oxw(2);t.Q6J("@animationState","active")("activeEntries",x.activeEntries)("xScale",x.innerScale)("yScale",x.valueScale)("colors",x.colors)("series",r.series)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("seriesName",r.name)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero),t.uIk("transform",x.groupTransform(r))}}function y0(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,G3,1,17,"g",8),t.qZA()),2&u){const r=t.oxw();t.xp6(1),t.Q6J("ngForOf",r.results)("ngForTrackBy",r.trackBy)}}function x0(u,L){if(1&u){const r=t.EpF();t.O4$(),t.TgZ(0,"g",9),t.NdJ("select",function(B){const ke=t.CHM(r).$implicit,ct=t.oxw(2);return t.KtG(ct.onClick(B,ke))})("activate",function(B){const ke=t.CHM(r).$implicit,ct=t.oxw(2);return t.KtG(ct.onActivate(B,ke))})("deactivate",function(B){const ke=t.CHM(r).$implicit,ct=t.oxw(2);return t.KtG(ct.onDeactivate(B,ke))})("dataLabelHeightChanged",function(B){const ke=t.CHM(r).index,ct=t.oxw(2);return t.KtG(ct.onDataLabelMaxHeightChanged(B,ke))}),t.qZA()}if(2&u){const r=L.$implicit,x=t.oxw(2);t.Q6J("activeEntries",x.activeEntries)("xScale",x.innerScale)("yScale",x.valueScale)("colors",x.colors)("series",r.series)("dims",x.dims)("gradient",x.gradient)("tooltipDisabled",x.tooltipDisabled)("tooltipTemplate",x.tooltipTemplate)("showDataLabel",x.showDataLabel)("dataLabelFormatting",x.dataLabelFormatting)("seriesName",r.name)("roundEdges",x.roundEdges)("animations",x.animations)("noBarWhenZero",x.noBarWhenZero),t.uIk("transform",x.groupTransform(r))}}function C0(u,L){if(1&u&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,x0,1,16,"g",8),t.qZA()),2&u){const r=t.oxw();t.xp6(1),t.Q6J("ngForOf",r.results)("ngForTrackBy",r.trackBy)}}function D0(u,L,r){r=r||{};let x,B,j,ke=null,ct=0;function Kt(){ct=!1===r.leading?0:+new Date,ke=null,j=u.apply(x,B)}return function(){const jt=+new Date;!ct&&!1===r.leading&&(ct=jt);const si=L-(jt-ct);return x=this,B=arguments,si<=0?(clearTimeout(ke),ke=null,ct=jt,j=u.apply(x,B)):!ke&&!1!==r.trailing&&(ke=setTimeout(Kt,si)),j}}function Rf(u,L){return function(x,B,j){return{configurable:!0,enumerable:j.enumerable,get:function(){return Object.defineProperty(this,B,{configurable:!0,enumerable:j.enumerable,value:D0(j.value,u,L)}),this[B]}}}}var Jn=(()=>{return(u=Jn||(Jn={})).Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",u.Center="center",Jn;var u})();const oc=7;function su(u,L,r){return r===Jn.Top?u.top-oc:r===Jn.Bottom?u.top+u.height-L.height+oc:r===Jn.Center?u.top+u.height/2-L.height/2:void 0}function cu(u,L,r){return r===Jn.Left?u.left-oc:r===Jn.Right?u.left+u.width-L.width+oc:r===Jn.Center?u.left+u.width/2-L.width/2:void 0}class Ro{static calculateVerticalAlignment(L,r,x){let B=su(L,r,x);return B+r.height>window.innerHeight&&(B=window.innerHeight-r.height),B}static calculateVerticalCaret(L,r,x,B){let j;B===Jn.Top&&(j=L.height/2-x.height/2+oc),B===Jn.Bottom&&(j=r.height-L.height/2-x.height/2-oc),B===Jn.Center&&(j=r.height/2-x.height/2);const ke=su(L,r,B);return ke+r.height>window.innerHeight&&(j+=ke+r.height-window.innerHeight),j}static calculateHorizontalAlignment(L,r,x){let B=cu(L,r,x);return B+r.width>window.innerWidth&&(B=window.innerWidth-r.width),B}static calculateHorizontalCaret(L,r,x,B){let j;B===Jn.Left&&(j=L.width/2-x.width/2+oc),B===Jn.Right&&(j=r.width-L.width/2-x.width/2-oc),B===Jn.Center&&(j=r.width/2-x.width/2);const ke=cu(L,r,B);return ke+r.width>window.innerWidth&&(j+=ke+r.width-window.innerWidth),j}static shouldFlip(L,r,x,B){let j=!1;return x===Jn.Right&&L.left+L.width+r.width+B>window.innerWidth&&(j=!0),x===Jn.Left&&L.left-r.width-B<0&&(j=!0),x===Jn.Top&&L.top-r.height-B<0&&(j=!0),x===Jn.Bottom&&L.top+L.height+r.height+B>window.innerHeight&&(j=!0),j}static positionCaret(L,r,x,B,j){let ke=0,ct=0;return L===Jn.Right?(ct=-7,ke=Ro.calculateVerticalCaret(x,r,B,j)):L===Jn.Left?(ct=r.width,ke=Ro.calculateVerticalCaret(x,r,B,j)):L===Jn.Top?(ke=r.height,ct=Ro.calculateHorizontalCaret(x,r,B,j)):L===Jn.Bottom&&(ke=-7,ct=Ro.calculateHorizontalCaret(x,r,B,j)),{top:ke,left:ct}}static positionContent(L,r,x,B,j){let ke=0,ct=0;return L===Jn.Right?(ct=x.left+x.width+B,ke=Ro.calculateVerticalAlignment(x,r,j)):L===Jn.Left?(ct=x.left-r.width-B,ke=Ro.calculateVerticalAlignment(x,r,j)):L===Jn.Top?(ke=x.top-r.height-B,ct=Ro.calculateHorizontalAlignment(x,r,j)):L===Jn.Bottom&&(ke=x.top+x.height+B,ct=Ro.calculateHorizontalAlignment(x,r,j)),{top:ke,left:ct}}static determinePlacement(L,r,x,B){if(Ro.shouldFlip(x,r,L,B)){if(L===Jn.Right)return Jn.Left;if(L===Jn.Left)return Jn.Right;if(L===Jn.Top)return Jn.Bottom;if(L===Jn.Bottom)return Jn.Top}return L}}let Nf=(()=>{class u{constructor(r,x,B){this.element=r,this.renderer=x,this.platformId=B}get cssClasses(){let r="ngx-charts-tooltip-content";return r+=` position-${this.placement}`,r+=` type-${this.type}`,r+=` ${this.cssClass}`,r}ngAfterViewInit(){setTimeout(this.position.bind(this))}position(){if(!(0,e.NF)(this.platformId))return;const r=this.element.nativeElement,x=this.host.nativeElement.getBoundingClientRect();if(!x.height&&!x.width)return;const B=r.getBoundingClientRect();this.checkFlip(x,B),this.positionContent(r,x,B),this.showCaret&&this.positionCaret(x,B),setTimeout(()=>this.renderer.addClass(r,"animate"),1)}positionContent(r,x,B){const{top:j,left:ke}=Ro.positionContent(this.placement,B,x,this.spacing,this.alignment);this.renderer.setStyle(r,"top",`${j}px`),this.renderer.setStyle(r,"left",`${ke}px`)}positionCaret(r,x){const B=this.caretElm.nativeElement,j=B.getBoundingClientRect(),{top:ke,left:ct}=Ro.positionCaret(this.placement,x,r,j,this.alignment);this.renderer.setStyle(B,"top",`${ke}px`),this.renderer.setStyle(B,"left",`${ct}px`)}checkFlip(r,x){this.placement=Ro.determinePlacement(this.placement,x,r,this.spacing)}onWindowResize(){this.position()}}return u.\u0275fac=function(r){return new(r||u)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.Lbi))},u.\u0275cmp=t.Xpm({type:u,selectors:[["ngx-tooltip-content"]],viewQuery:function(r,x){if(1&r&&t.Gf(c1,5),2&r){let B;t.iGM(B=t.CRH())&&(x.caretElm=B.first)}},hostVars:2,hostBindings:function(r,x){1&r&&t.NdJ("resize",function(){return x.onWindowResize()},!1,t.Jf7),2&r&&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(r,x){1&r&&(t.TgZ(0,"div"),t._UZ(1,"span",0,1),t.TgZ(3,"div",2),t.YNc(4,Md,2,4,"span",3),t.YNc(5,Yc,1,1,"span",4),t.qZA()()),2&r&&(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)([Rf(100)],u.prototype,"onWindowResize",null),u})();class I0{constructor(L){this.injectionService=L,this.defaults={},this.components=new Map}getByType(L=this.type){return this.components.get(L)}create(L){return this.createByType(this.type,L)}createByType(L,r){r=this.assignDefaults(r);const x=this.injectComponent(L,r);return this.register(L,x),x}destroy(L){const r=this.components.get(L.componentType);if(r&&r.length){const x=r.indexOf(L);x>-1&&(r[x].destroy(),r.splice(x,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(L){const r=this.components.get(L);if(r&&r.length){let x=r.length-1;for(;x>=0;)this.destroy(r[x--])}}injectComponent(L,r){return this.injectionService.appendComponent(L,r)}assignDefaults(L){const r={...this.defaults.inputs},x={...this.defaults.outputs};return!L.inputs&&!L.outputs&&(L={inputs:L}),r&&(L.inputs={...r,...L.inputs}),x&&(L.outputs={...x,...L.outputs}),L}register(L,r){this.components.has(L)||this.components.set(L,[]),this.components.get(L).push(r)}}let lu=(()=>{class u{constructor(r,x,B){this.applicationRef=r,this.componentFactoryResolver=x,this.injector=B}static setGlobalRootViewContainer(r){u.globalRootViewContainer=r}getRootViewContainer(){if(this._container)return this._container;if(u.globalRootViewContainer)return u.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(r){this._container=r}getComponentRootNode(r){return function qc(u){return u.element}(r)?r.element.nativeElement:r.hostView&&r.hostView.rootNodes.length>0?r.hostView.rootNodes[0]:r.location.nativeElement}getRootViewContainerNode(r){return this.getComponentRootNode(r)}projectComponentBindings(r,x){if(x){if(void 0!==x.inputs){const B=Object.getOwnPropertyNames(x.inputs);for(const j of B)r.instance[j]=x.inputs[j]}if(void 0!==x.outputs){const B=Object.getOwnPropertyNames(x.outputs);for(const j of B)r.instance[j]=x.outputs[j]}}return r}appendComponent(r,x={},B){B||(B=this.getRootViewContainer());const j=this.getComponentRootNode(B),ke=new A.u0(j,this.componentFactoryResolver,this.applicationRef,this.injector),ct=new A.C5(r),Kt=ke.attach(ct);return this.projectComponentBindings(Kt,x),Kt}}return u.globalRootViewContainer=null,u.\u0275fac=function(r){return new(r||u)(t.LFG(t.z2F),t.LFG(t._Vd),t.LFG(t.zs3))},u.\u0275prov=t.Yz7({token:u,factory:u.\u0275fac}),u})(),k0=(()=>{class u extends I0{constructor(r){super(r),this.type=Nf}}return u.\u0275fac=function(r){return new(r||u)(t.LFG(lu))},u.\u0275prov=t.Yz7({token:u,factory:u.\u0275fac}),u})();var bs=(()=>{return(u=bs||(bs={})).Right="right",u.Below="below",bs;var u})(),ts=(()=>{return(u=ts||(ts={})).ScaleLegend="scaleLegend",u.Legend="legend",ts;var u})(),xn=(()=>{return(u=xn||(xn={})).Time="time",u.Linear="linear",u.Ordinal="ordinal",u.Quantile="quantile",xn;var u})();let Ff=(()=>{class u{constructor(){this.horizontal=!1}ngOnChanges(r){const x=this.gradientString(this.colors.range(),this.colors.domain());this.gradient=`linear-gradient(to ${this.horizontal?"right":"bottom"}, ${x})`}gradientString(r,x){x.push(1);const B=[];return r.reverse().forEach((j,ke)=>{B.push(`${j} ${Math.round(100*x[ke])}%`)}),B.join(", ")}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=t.Xpm({type:u,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(r,x){1&r&&(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&r&&(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}),u})();function Jc(u){return u instanceof Date?u.toLocaleDateString():u.toLocaleString()}let _4=(()=>{class u{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 u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=t.Xpm({type:u,selectors:[["ngx-charts-legend-entry"]],hostBindings:function(r,x){1&r&&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(r,x){1&r&&(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&r&&(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}),u})(),Hf=(()=>{class u{constructor(r){this.cd=r,this.horizontal=!1,this.labelClick=new t.vpe,this.labelActivate=new t.vpe,this.labelDeactivate=new t.vpe,this.legendEntries=[]}ngOnChanges(r){this.update()}update(){this.cd.markForCheck(),this.legendEntries=this.getLegendEntries()}getLegendEntries(){const r=[];for(const x of this.data){const B=Jc(x);-1===r.findIndex(ke=>ke.label===B)&&r.push({label:x,formattedLabel:B,color:this.colors.getColor(x)})}return r}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(B=>r.label===B.name)}activate(r){this.labelActivate.emit(r)}deactivate(r){this.labelDeactivate.emit(r)}trackBy(r,x){return x.label}}return u.\u0275fac=function(r){return new(r||u)(t.Y36(t.sBO))},u.\u0275cmp=t.Xpm({type:u,selectors:[["ngx-charts-legend"]],inputs:{data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries",horizontal:"horizontal"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[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(r,x){1&r&&(t.TgZ(0,"div"),t.YNc(1,Lh,3,1,"header",0),t.TgZ(2,"div",1)(3,"ul",2),t.YNc(4,Dh,2,4,"li",3),t.qZA()()()),2&r&&(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:[_4,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}),u})(),hu=(()=>{class u{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new t.vpe,this.legendLabelActivate=new t.vpe,this.legendLabelDeactivate=new t.vpe,this.LegendPosition=bs,this.LegendType=ts}ngOnChanges(r){this.update()}update(){let r=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===bs.Right)&&(r=this.legendType===ts.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-r)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==bs.Right?this.chartWidth:Math.floor(this.view[0]*r/12)}getLegendType(){return this.legendOptions.scaleType===xn.Linear?ts.ScaleLegend:ts.Legend}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=t.Xpm({type:u,selectors:[["ngx-charts-chart"]],inputs:{view:"view",showLegend:"showLegend",legendOptions:"legendOptions",legendType:"legendType",activeEntries:"activeEntries",animations:"animations"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[t._Bn([k0]),t.TTD],ngContentSelectors:Sd,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(r,x){1&r&&(t.F$t(),t.TgZ(0,"div",0),t.O4$(),t.TgZ(1,"svg",1),t.Hsn(2),t.qZA(),t.YNc(3,t0,1,5,"ngx-charts-scale-legend",2),t.YNc(4,Ih,1,7,"ngx-charts-legend",3),t.qZA()),2&r&&(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:[Ff,Hf,e.O5],encapsulation:2,changeDetection:0}),u})(),zf=(()=>{class u{constructor(r,x){this.element=r,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 r=()=>{if(!this.element)return;const{offsetHeight:x,offsetWidth:B}=this.element.nativeElement;x&&B?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r())})}}return u.\u0275fac=function(r){return new(r||u)(t.Y36(t.SBq),t.Y36(t.R0b))},u.\u0275dir=t.lG2({type:u,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),u})();function uu(u){return"[object Date]"===toString.call(u)}let O0=(()=>{class u{constructor(r,x,B,j){this.chartElement=r,this.zone=x,this.cd=B,this.platformId=j,this.scheme="cool",this.schemeType=xn.Ordinal,this.animations=!0,this.select=new t.vpe}ngOnInit(){(0,e.PM)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new zf(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(r){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 r=this.getContainerDims();r&&(this.width=r.width,this.height=r.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 r,x;const B=this.chartElement.nativeElement;if((0,e.NF)(this.platformId)&&null!==B.parentNode){const j=B.parentNode.getBoundingClientRect();r=j.width,x=j.height}return r&&x?{width:r,height:x}:null}formatDates(){for(let r=0;r<this.results.length;r++){const x=this.results[r];if(x.label=x.name,uu(x.label)&&(x.label=x.label.toLocaleDateString()),x.series)for(let B=0;B<x.series.length;B++){const j=x.series[B];j.label=j.name,uu(j.label)&&(j.label=j.label.toLocaleDateString())}}}unbindEvents(){this.resizeSubscription&&this.resizeSubscription.unsubscribe()}bindWindowResizeEvent(){if(!(0,e.NF)(this.platformId))return;const x=(0,s.R)(window,"resize").pipe((0,C.b)(200)).subscribe(B=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=x}cloneData(r){const x=[];for(const B of r){const j={name:B.name};if(void 0!==B.value&&(j.value=B.value),void 0!==B.series){j.series=[];for(const ke of B.series){const ct=Object.assign({},ke);j.series.push(ct)}}void 0!==B.extra&&(j.extra=JSON.parse(JSON.stringify(B.extra))),x.push(j)}return x}}return u.\u0275fac=function(r){return new(r||u)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(t.Lbi))},u.\u0275cmp=t.Xpm({type:u,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(r,x){1&r&&t._UZ(0,"div")},encapsulation:2}),u})();var zr=(()=>{return(u=zr||(zr={})).Top="top",u.Bottom="bottom",u.Left="left",u.Right="right",zr;var u})();let fu=(()=>{class u{constructor(r){this.textHeight=25,this.margin=5,this.element=r.nativeElement}ngOnChanges(r){this.update()}update(){switch(this.strokeWidth="0.01",this.textAnchor="middle",this.transform="",this.orient){case zr.Top:case zr.Bottom:this.y=this.offset,this.x=this.width/2;break;case zr.Left:this.y=-(this.offset+this.textHeight+this.margin),this.x=-this.height/2,this.transform="rotate(270)";break;case zr.Right:this.y=this.offset+this.margin,this.x=-this.height/2,this.transform="rotate(270)"}}}return u.\u0275fac=function(r){return new(r||u)(t.Y36(t.SBq))},u.\u0275cmp=t.Xpm({type:u,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[t.TTD],attrs:kh,decls:2,vars:6,template:function(r,x){1&r&&(t.O4$(),t.TgZ(0,"text"),t._uU(1),t.qZA()),2&r&&(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}),u})();function P0(u,L=16){return"string"!=typeof u?"number"==typeof u?u+"":"":(u=u.trim()).length<=L?u:`${u.slice(0,L)}...`}function mu(u,L){if(u.length>L){const r=[],x=Math.floor(u.length/L);for(let B=0;B<u.length;B++)B%x==0&&r.push(u[B]);u=r}return u}function pu(u,L,r){let x=(u||"").toString().split(/\s+/).reduce((B,j)=>{const ke=(B.pop()||"")+" ";return ke.length+j.length>L?[...B,ke.trim(),j.trim()]:[...B,ke+j]},[]);return x.length>r&&(x=x.splice(0,r),x[x.length-1]+="..."),x}var ys=(()=>{return(u=ys||(ys={})).Start="start",u.Middle="middle",u.End="end",ys;var u})();let Xc=(()=>{class u{constructor(r){this.platformId=r,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.wrapTicks=!1,this.dimensionsChanged=new t.vpe,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=ys.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10,this.maxPossibleLengthForTick=16}get isWrapTicksSupported(){return this.wrapTicks&&this.scale.step}ngOnChanges(r){this.update()}ngAfterViewInit(){setTimeout(()=>this.updateDims())}updateDims(){if(!(0,e.NF)(this.platformId))return void this.dimensionsChanged.emit({height:this.approxHeight});const r=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().height,10);r!==this.height&&(this.height=r,this.dimensionsChanged.emit({height:this.height}),setTimeout(()=>this.updateDims()))}update(){const r=this.scale;this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:r.tickFormat?r.tickFormat.apply(r,this.tickArguments):function(B){return"Date"===B.constructor.name?B.toLocaleDateString():B.toLocaleString()};const x=this.rotateTicks?this.getRotationAngle(this.ticks):null;if(this.adjustedScale=this.scale.bandwidth?function(B){return this.scale(B)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",x&&0!==x?(this.textTransform=`rotate(${x})`,this.textAnchor=ys.End,this.verticalSpacing=10):this.textAnchor=ys.Middle,this.isWrapTicksSupported){if(!(0,e.NF)(this.platformId)&&(0===x||null===x)){const B=this.ticks.reduce((ke,ct)=>ct.length>ke.length?ct:ke,""),j=this.tickChunks(B);this.approxHeight=10*(j.length||1)}this.maxPossibleLengthForTick=this.getMaxPossibleLengthForTick(this.ticks)}setTimeout(()=>this.updateDims())}getRotationAngle(r){let x=0;this.maxTicksLength=0;for(let jt=0;jt<r.length;jt++){const si=this.tickFormat(r[jt]).toString();let pi=si.length;this.trimTicks&&(pi=this.tickTrim(si).length),pi>this.maxTicksLength&&(this.maxTicksLength=pi)}const ke=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let ct=ke;const Kt=Math.floor(this.width/r.length);for(;ct>Kt&&x>-90;)x-=30,ct=Math.cos(x*(Math.PI/180))*ke;return this.approxHeight=Math.max(Math.abs(Math.sin(x*(Math.PI/180))*ke),10),x}getTicks(){let r;const x=this.getMaxTicks(20),B=this.getMaxTicks(100);return this.tickValues?r=this.tickValues:this.scale.ticks?r=this.scale.ticks.apply(this.scale,[B]):(r=this.scale.domain(),r=mu(r,x)),r}getMaxTicks(r){return Math.floor(this.width/r)}tickTransform(r){return"translate("+this.adjustedScale(r)+","+this.verticalSpacing+")"}gridLineTransform(){return`translate(0,${-this.verticalSpacing-5})`}tickTrim(r){return this.trimTicks?P0(r,this.maxTickLength):r}getMaxPossibleLengthForTick(r){if(this.scale.bandwidth){const B=Math.floor(this.scale.bandwidth()/7),ke=r.reduce((ct,Kt)=>Kt.length>ct.length?Kt:ct,"").slice(0,B);return Math.max(ke.length,this.maxTickLength)}return this.maxTickLength}tickChunks(r){if(r.toString().length>this.maxTickLength&&this.scale.bandwidth){let B=this.rotateTicks?Math.floor(this.scale.step()/14):5;if(B<=1)return[this.tickTrim(r)];const j=Math.max(this.maxPossibleLengthForTick,this.maxTickLength);return B=Math.min(B,5),pu(r,j,B<1?1:B)}return[this.tickTrim(r)]}}return u.\u0275fac=function(r){return new(r||u)(t.Y36(t.Lbi))},u.\u0275cmp=t.Xpm({type:u,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(r,x){if(1&r&&t.Gf(l1,5),2&r){let B;t.iGM(B=t.CRH())&&(x.ticksElement=B.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:jc,decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01","font-size","12px"],[4,"ngIf","ngIfThen","ngIfElse"],["tmplMultilineTick",""],["tmplSinglelineTick",""],["x","0",4,"ngFor","ngForOf"],["x","0"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(r,x){1&r&&(t.O4$(),t.TgZ(0,"g",null,0),t.YNc(2,Rh,2,2,"g",1),t.qZA(),t.YNc(3,s0,2,2,"g",2)),2&r&&(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}),u})(),Vf=(()=>{class u{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=zr.Bottom,this.xAxisOffset=0,this.wrapTicks=!1,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=zr}ngOnChanges(r){this.update()}update(){this.transform=`translate(0,${this.xAxisOffset+this.padding+this.dims.height})`,typeof this.xAxisTickCount<"u"&&(this.tickArguments=[this.xAxisTickCount])}emitTicksHeight({height:r}){const x=r+25+5;x!==this.labelOffset&&(this.labelOffset=x,setTimeout(()=>{this.dimensionsChanged.emit({height:r})},0))}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=t.Xpm({type:u,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(r,x){if(1&r&&t.Gf(Xc,5),2&r){let B;t.iGM(B=t.CRH())&&(x.ticksComponent=B.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",xAxisOffset:"xAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:Nh,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","wrapTicks","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(r,x){1&r&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,c0,1,13,"g",0),t.YNc(2,Fh,1,5,"g",1),t.qZA()),2&r&&(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:[Xc,fu,e.O5],encapsulation:2,changeDetection:0}),u})();function $c(u,L,r,x,B,[j,ke,ct,Kt]){let jt="";return jt=`M${[u+B,L]}`,jt+="h"+((r=0===(r=Math.floor(r))?1:r)-2*B),jt+=ke?`a${[B,B]} 0 0 1 ${[B,B]}`:`h${B}v${B}`,jt+="v"+((x=0===(x=Math.floor(x))?1:x)-2*B),jt+=Kt?`a${[B,B]} 0 0 1 ${[-B,B]}`:`v${B}h${-B}`,jt+="h"+(2*B-r),jt+=ct?`a${[B,B]} 0 0 1 ${[-B,-B]}`:`h${-B}v${-B}`,jt+="v"+(2*B-x),jt+=j?`a${[B,B]} 0 0 1 ${[B,-B]}`:`v${-B}h${B}`,jt+="z",jt}let R0=(()=>{class u{constructor(r){this.platformId=r,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.showRefLabels=!1,this.showRefLines=!1,this.wrapTicks=!1,this.dimensionsChanged=new t.vpe,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=ys.Middle,this.width=0,this.outerTickSize=6,this.rotateLabels=!1,this.referenceLineLength=0,this.Orientation=zr}ngOnChanges(r){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 r=parseInt(this.ticksElement.nativeElement.getBoundingClientRect().width,10);r!==this.width&&(this.width=r,this.dimensionsChanged.emit({width:r}),setTimeout(()=>this.updateDims()))}update(){const r=this.scale,x=this.orient===zr.Top||this.orient===zr.Right?-1:1;switch(this.tickSpacing=Math.max(this.innerTickSize,0)+this.tickPadding,this.ticks=this.getTicks(),this.tickFormat=this.tickFormatting?this.tickFormatting:r.tickFormat?r.tickFormat.apply(r,this.tickArguments):function(B){return"Date"===B.constructor.name?B.toLocaleDateString():B.toLocaleString()},this.adjustedScale=r.bandwidth?B=>{const j=r(B)+.5*r.bandwidth();if(this.wrapTicks&&B.toString().length>this.maxTickLength){const ke=this.tickChunks(B).length;if(1===ke)return j;const jt=.5*r.bandwidth()-8*ke*.5;return r(B)+jt}return j}:r,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case zr.Top:case zr.Bottom:this.transform=function(B){return"translate("+this.adjustedScale(B)+",0)"},this.textAnchor=ys.Middle,this.y2=this.innerTickSize*x,this.y1=this.tickSpacing*x,this.dy=x<0?"0em":".71em";break;case zr.Left:this.transform=function(B){return"translate(0,"+this.adjustedScale(B)+")"},this.textAnchor=ys.End,this.x2=this.innerTickSize*-x,this.x1=this.tickSpacing*-x,this.dy=".32em";break;case zr.Right:this.transform=function(B){return"translate(0,"+this.adjustedScale(B)+")"},this.textAnchor=ys.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(r=>r.value))),this.refMax=this.adjustedScale(Math.max.apply(null,this.referenceLines.map(r=>r.value))),this.referenceLineLength=this.referenceLines.length,this.referenceAreaPath=$c(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let r;const x=this.getMaxTicks(20),B=this.getMaxTicks(50);return this.tickValues?r=this.tickValues:this.scale.ticks?r=this.scale.ticks.apply(this.scale,[B]):(r=this.scale.domain(),r=mu(r,x)),r}getMaxTicks(r){return Math.floor(this.height/r)}tickTransform(r){return`translate(${this.adjustedScale(r)},${this.verticalSpacing})`}gridLineTransform(){return"translate(5,0)"}tickTrim(r){return this.trimTicks?P0(r,this.maxTickLength):r}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(B=>this.tickTrim(this.tickFormat(B)).length))}tickChunks(r){if(r.toString().length>this.maxTickLength&&this.scale.bandwidth){const x=this.maxTickLength,B=Math.floor(this.scale.bandwidth()/15);return B<=1?[this.tickTrim(r)]:pu(r,x,Math.min(B,5))}return[this.tickFormat(r)]}}return u.\u0275fac=function(r){return new(r||u)(t.Y36(t.Lbi))},u.\u0275cmp=t.Xpm({type:u,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(r,x){if(1&r&&t.Gf(l1,5),2&r){let B;t.iGM(B=t.CRH())&&(x.ticksElement=B.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:Hh,decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],[4,"ngIf"],["stroke-width","0.01"],[4,"ngIf","ngIfThen","ngIfElse"],["tmplMultilineTick",""],["tmplSinglelineTick",""],[4,"ngIf","ngIfElse"],["x","0",4,"ngFor","ngForOf"],["x","0"],[1,"reference-area"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(r,x){1&r&&(t.O4$(),t.TgZ(0,"g",null,0),t.YNc(2,u0,2,2,"g",1),t.qZA(),t.YNc(3,Uh,1,2,"path",2),t.YNc(4,Td,2,2,"g",3),t.YNc(5,Zh,2,1,"g",3)),2&r&&(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}),u})(),Bf=(()=>{class u{constructor(){this.showGridLines=!1,this.yOrient=zr.Left,this.yAxisOffset=0,this.wrapTicks=!1,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(r){this.update()}update(){this.offset=-(this.yAxisOffset+this.padding),this.yOrient===zr.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:r}){r!==this.labelOffset&&this.yOrient===zr.Right?(this.labelOffset=r+this.labelOffset,setTimeout(()=>{this.dimensionsChanged.emit({width:r})},0)):r!==this.labelOffset&&(this.labelOffset=r,setTimeout(()=>{this.dimensionsChanged.emit({width:r})},0))}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=t.Xpm({type:u,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(r,x){if(1&r&&t.Gf(R0,5),2&r){let B;t.iGM(B=t.CRH())&&(x.ticksComponent=B.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset",wrapTicks:"wrapTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:Dd,decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","wrapTicks","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(r,x){1&r&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Id,1,15,"g",0),t.YNc(2,f0,1,5,"g",1),t.qZA()),2&r&&(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:[R0,fu,e.O5],encapsulation:2,changeDetection:0}),u})(),gu=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[e.ez]]}),u})();var b1=(()=>{return(u=b1||(b1={})).popover="popover",u.tooltip="tooltip",b1;var u})(),is=(()=>{return(u=is||(is={}))[u.all="all"]="all",u[u.focus="focus"]="focus",u[u.mouseover="mouseover"]="mouseover",is;var u})();let Bd=(()=>{class u{constructor(r,x,B){this.tooltipService=r,this.viewContainerRef=x,this.renderer=B,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=Jn.Top,this.tooltipAlignment=Jn.Center,this.tooltipType=b1.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=is.all,this.tooltipImmediateExit=!1,this.show=new t.vpe,this.hide=new t.vpe}get listensForFocus(){return this.tooltipShowEvent===is.all||this.tooltipShowEvent===is.focus}get listensForHover(){return this.tooltipShowEvent===is.all||this.tooltipShowEvent===is.mouseover}ngOnDestroy(){this.hideTooltip(!0)}onFocus(){this.listensForFocus&&this.showTooltip()}onBlur(){this.listensForFocus&&this.hideTooltip(!0)}onMouseEnter(){this.listensForHover&&this.showTooltip()}onMouseLeave(r){if(this.listensForHover&&this.tooltipCloseOnMouseLeave){if(clearTimeout(this.timeout),this.component&&this.component.instance.element.nativeElement.contains(r))return;this.hideTooltip(this.tooltipImmediateExit)}}onMouseClick(){this.listensForHover&&this.hideTooltip(!0)}showTooltip(r){if(this.component||this.tooltipDisabled)return;const x=r?0:this.tooltipShowTimeout+(navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)?400:0);clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.tooltipService.destroyAll();const B=this.createBoundOptions();this.component=this.tooltipService.create(B),setTimeout(()=>{this.component&&this.addHideListeners(this.component.instance.element.nativeElement)},10),this.show.emit(!0)},x)}addHideListeners(r){this.mouseEnterContentEvent=this.renderer.listen(r,"mouseenter",()=>{clearTimeout(this.timeout)}),this.tooltipCloseOnMouseLeave&&(this.mouseLeaveContentEvent=this.renderer.listen(r,"mouseleave",()=>{this.hideTooltip(this.tooltipImmediateExit)})),this.tooltipCloseOnClickOutside&&(this.documentClickEvent=this.renderer.listen("window","click",x=>{r.contains(x.target)||this.hideTooltip()}))}hideTooltip(r=!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),r?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 u.\u0275fac=function(r){return new(r||u)(t.Y36(k0),t.Y36(t.s_b),t.Y36(t.Qsj))},u.\u0275dir=t.lG2({type:u,selectors:[["","ngx-tooltip",""]],hostBindings:function(r,x){1&r&&t.NdJ("focusin",function(){return x.onFocus()})("blur",function(){return x.onBlur()})("mouseenter",function(){return x.onMouseEnter()})("mouseleave",function(j){return x.onMouseLeave(j.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"}}),u})(),Bs=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({providers:[lu,k0],imports:[[e.ez]]}),u})();const Uf={};function y1(){let u=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return u=`a${u}`,Uf[u]?y1():(Uf[u]=!0,u)}var Ca=(()=>{return(u=Ca||(Ca={})).Vertical="vertical",u.Horizontal="horizontal",Ca;var u})();let Zo=(()=>{class u{constructor(){this.orientation=Ca.Vertical}ngOnChanges(r){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===Ca.Horizontal?this.x2="100%":this.orientation===Ca.Vertical&&(this.y1="100%")}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=t.Xpm({type:u,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[t.TTD],attrs:m0,decls:2,vars:6,consts:[[3,"id"],[3,"stop-color","stop-opacity",4,"ngFor","ngForOf"]],template:function(r,x){1&r&&(t.O4$(),t.TgZ(0,"linearGradient",0),t.YNc(1,p0,1,5,"stop",1),t.qZA()),2&r&&(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}),u})(),Zf=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=t.Xpm({type:u,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:d1,decls:1,vars:4,consts:[["stroke","none",1,"gridpanel"]],template:function(r,x){1&r&&(t.O4$(),t._UZ(0,"rect",0)),2&r&&t.uIk("height",x.height)("width",x.width)("x",x.x)("y",x.y)},encapsulation:2,changeDetection:0}),u})();var x1=(()=>{return(u=x1||(x1={})).Odd="odd",u.Even="even",x1;var u})();let vu,Wf=(()=>{class u{ngOnChanges(r){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(r=>{let x,B,j,ke,ct,Kt=x1.Odd;if(this.orient===Ca.Vertical){const jt=this.xScale(r.name);Number.parseInt((jt/this.xScale.step()).toString(),10)%2==1&&(Kt=x1.Even),x=this.xScale.bandwidth()*this.xScale.paddingInner(),B=this.xScale.bandwidth()+x,j=this.dims.height,ke=this.xScale(r.name)-x/2,ct=0}else if(this.orient===Ca.Horizontal){const jt=this.yScale(r.name);Number.parseInt((jt/this.yScale.step()).toString(),10)%2==1&&(Kt=x1.Even),x=this.yScale.bandwidth()*this.yScale.paddingInner(),B=this.dims.width,j=this.yScale.bandwidth()+x,ke=0,ct=this.yScale(r.name)-x/2}return{name:r.name,class:Kt,height:j,width:B,x:ke,y:ct}})}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275cmp=t.Xpm({type:u,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[t.TTD],attrs:h1,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(r,x){1&r&&t.YNc(0,R,1,10,"g",0),2&r&&t.Q6J("ngForOf",x.gridPanels)},dependencies:[Zf,e.sg],encapsulation:2,changeDetection:0}),u})();typeof window<"u"?vu=window:typeof global<"u"&&(vu=global);let Wo=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[e.ez,gu,Bs],e.ez,gu,Bs]}),u})();function w1({width:u,height:L,margins:r,showXAxis:x=!1,showYAxis:B=!1,xAxisHeight:j=0,yAxisWidth:ke=0,showXLabel:ct=!1,showYLabel:Kt=!1,showLegend:jt=!1,legendType:si=xn.Ordinal,legendPosition:pi=bs.Right,columns:bi=12}){let Si=r[3],an=u,vn=L-r[0]-r[2];return jt&&pi===bs.Right&&(bi-=si===xn.Ordinal?2:1),an=an*bi/12,an=an-r[1]-r[3],x&&(vn-=5,vn-=j,ct&&(vn-=30)),B&&(an-=5,an-=ke,Si+=ke,Si+=10,Kt&&(an-=30,Si+=30)),an=Math.max(0,an),vn=Math.max(0,vn),{width:Math.floor(an),height:Math.floor(vn),xOffset:Math.floor(Si)}}const H0=[{name:"vivid",selectable:!0,group:xn.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:xn.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:xn.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:xn.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:xn.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:xn.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:xn.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:xn.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:xn.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:xn.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:xn.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:xn.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:xn.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:xn.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:xn.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class Ud{constructor(L,r,x,B){"string"==typeof L&&(L=H0.find(j=>j.name===L)),this.colorDomain=L.domain,this.scaleType=r,this.domain=x,this.customColors=B,this.scale=this.generateColorScheme(L,r,this.domain)}generateColorScheme(L,r,x){let B;switch("string"==typeof L&&(L=H0.find(j=>j.name===L)),r){case xn.Quantile:B=Cd().range(L.domain).domain(x);break;case xn.Ordinal:B=Wc().range(L.domain).domain(x);break;case xn.Linear:{const j=[...L.domain];1===j.length&&(j.push(j[0]),this.colorDomain=j);const ke=s1(0,1,1/j.length);B=Xo().range(j).domain(ke)}}return B}getColor(L){if(null==L)throw new Error("Value can not be null");if(this.scaleType===xn.Linear){const r=Xo().domain(this.domain).range([0,1]);return this.scale(r(L))}{if("function"==typeof this.customColors)return this.customColors(L);const r=L.toString();let x;return this.customColors&&this.customColors.length>0&&(x=this.customColors.find(B=>B.name.toLowerCase()===r.toLowerCase())),x?x.value:this.scale(L)}}getLinearGradientStops(L,r){void 0===r&&(r=this.domain[0]);const x=Xo().domain(this.domain).range([0,1]),B=Sl().domain(this.colorDomain).range([0,1]),j=this.getColor(L),ke=x(r),ct=this.getColor(r),Kt=x(L);let jt=1,si=ke;const pi=[];for(pi.push({color:ct,offset:ke,originalOffset:ke,opacity:1});si<Kt&&jt<this.colorDomain.length;){const bi=this.colorDomain[jt],Si=B(bi);if(Si<=ke)jt++;else{if(Si.toFixed(4)>=(Kt-B.bandwidth()).toFixed(4))break;pi.push({color:bi,offset:Si,opacity:1}),si=Si,jt++}}if(pi[pi.length-1].offset<100&&pi.push({color:j,offset:Kt,opacity:1}),Kt===ke)pi[0].offset=0,pi[1].offset=100;else if(100!==pi[pi.length-1].offset)for(const bi of pi)bi.offset=(bi.offset-ke)/(Kt-ke)*100;return pi}}let w4=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[Wo]]}),u})(),M4=(()=>{class u{constructor(r){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=r.nativeElement}ngOnChanges(r){r.roundEdges&&this.loadAnimation(),this.update()}update(){this.gradientId="grad"+y1().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 r=function _e(u){return"string"==typeof u?new ji([[document.querySelector(u)]],[document.documentElement]):new ji([[u]],Yi)}(this.element).select(".bar"),x=this.getPath();this.animations?r.transition().duration(500).attr("d",x):r.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,r=this.getRadius();return this.roundEdges?this.orientation===Ca.Vertical?(r=Math.min(this.height,r),x=$c(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===Ca.Horizontal&&(r=Math.min(this.width,r),x=$c(this.x,this.y,1,this.height,0,this.edges)):this.orientation===Ca.Vertical?x=$c(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===Ca.Horizontal&&(x=$c(this.x,this.y,1,this.height,0,this.edges)),x}getPath(){let x,r=this.getRadius();return this.roundEdges?this.orientation===Ca.Vertical?(r=Math.min(this.height,r),x=$c(this.x,this.y,this.width,this.height,r,this.edges)):this.orientation===Ca.Horizontal&&(r=Math.min(this.width,r),x=$c(this.x,this.y,this.width,this.height,r,this.edges)):x=$c(this.x,this.y,this.width,this.height,r,this.edges),x}getRadius(){let r=0;return this.roundEdges&&this.height>5&&this.width>5&&(r=Math.floor(Math.min(5,this.height/2,this.width/2))),r}getStartOpacity(){return this.roundEdges?.2:.5}get edges(){let r=[!1,!1,!1,!1];return this.roundEdges&&(this.orientation===Ca.Vertical?r=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===Ca.Horizontal&&(r=this.data.value>0?[!1,!0,!1,!0]:[!0,!1,!0,!1])),r}onMouseEnter(){this.activate.emit(this.data)}onMouseLeave(){this.deactivate.emit(this.data)}checkToHideBar(){this.hideBar=this.noBarWhenZero&&(this.orientation===Ca.Vertical&&0===this.height||this.orientation===Ca.Horizontal&&0===this.width)}}return u.\u0275fac=function(r){return new(r||u)(t.Y36(t.SBq))},u.\u0275cmp=t.Xpm({type:u,selectors:[["g","ngx-charts-bar",""]],hostBindings:function(r,x){1&r&&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:Hs,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(r,x){1&r&&(t.YNc(0,yo,2,3,"defs",0),t.O4$(),t.TgZ(1,"path",1),t.NdJ("click",function(){return x.select.emit(x.data)}),t.qZA()),2&r&&(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:[Zo,e.O5],encapsulation:2,changeDetection:0}),u})();var Us=(()=>{return(u=Us||(Us={})).Standard="standard",u.Normalized="normalized",u.Stacked="stacked",Us;var u})(),el=(()=>{return(u=el||(el={})).positive="positive",u.negative="negative",el;var u})();let S4=(()=>{class u{constructor(r){this.dimensionsChanged=new t.vpe,this.horizontalPadding=2,this.verticalPadding=5,this.element=r.nativeElement}ngOnChanges(r){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):Jc(this.value),"horizontal"===this.orientation?(this.x=this.barX+this.barWidth,this.value<0?(this.x=this.x-this.horizontalPadding,this.textAnchor="end"):(this.x=this.x+this.horizontalPadding,this.textAnchor="start"),this.y=this.barY+this.barHeight/2):(this.x=this.barX+this.barWidth/2,this.y=this.barY+this.barHeight,this.value<0?(this.y=this.y+this.verticalPadding,this.textAnchor="end"):(this.y=this.y-this.verticalPadding,this.textAnchor="start"),this.transform=`rotate(-45, ${this.x} , ${this.y})`)}}return u.\u0275fac=function(r){return new(r||u)(t.Y36(t.SBq))},u.\u0275cmp=t.Xpm({type:u,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:El,decls:2,vars:5,consts:[["alignment-baseline","middle",1,"textDataLabel"]],template:function(r,x){1&r&&(t.O4$(),t.TgZ(0,"text",0),t._uU(1),t.qZA()),2&r&&(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}),u})(),yu=(()=>{class u{constructor(r){this.platformId=r,this.type=Us.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=Ca,this.isSSR=!1}ngOnInit(){(0,e.PM)(this.platformId)&&(this.isSSR=!0)}ngOnChanges(r){this.update()}update(){let r;this.updateTooltipSettings(),this.series.length&&(r=this.xScale.bandwidth()),r=Math.round(r);const x=Math.max(this.yScale.domain()[0],0),B={[el.positive]:0,[el.negative]:0};let ke,j=el.positive;this.type===Us.Normalized&&(ke=this.series.map(ct=>ct.value).reduce((ct,Kt)=>ct+Kt,0)),this.bars=this.series.map((ct,Kt)=>{let jt=ct.value;const si=this.getLabel(ct),pi=Jc(si);j=jt>0?el.positive:el.negative;const Si={value:jt,label:si,roundEdges:this.roundEdges,data:ct,width:r,formattedLabel:pi,height:0,x:0,y:0};if(this.type===Us.Standard)Si.height=Math.abs(this.yScale(jt)-this.yScale(x)),Si.x=this.xScale(si),Si.y=this.yScale(jt<0?0:jt);else if(this.type===Us.Stacked){const vn=B[j],Ti=vn+jt;B[j]+=jt,Si.height=this.yScale(vn)-this.yScale(Ti),Si.x=0,Si.y=this.yScale(Ti),Si.offset0=vn,Si.offset1=Ti}else if(this.type===Us.Normalized){let vn=B[j],Ti=vn+jt;B[j]+=jt,ke>0?(vn=100*vn/ke,Ti=100*Ti/ke):(vn=0,Ti=0),Si.height=this.yScale(vn)-this.yScale(Ti),Si.x=0,Si.y=this.yScale(Ti),Si.offset0=vn,Si.offset1=Ti,jt=(Ti-vn).toFixed(2)+"%"}this.colors.scaleType===xn.Ordinal?Si.color=this.colors.getColor(si):this.type===Us.Standard?(Si.color=this.colors.getColor(jt),Si.gradientStops=this.colors.getLinearGradientStops(jt)):(Si.color=this.colors.getColor(Si.offset1),Si.gradientStops=this.colors.getLinearGradientStops(Si.offset1,Si.offset0));let an=pi;return Si.ariaLabel=pi+" "+jt.toLocaleString(),null!=this.seriesName&&(an=`${this.seriesName} \u2022 ${pi}`,Si.data.series=this.seriesName,Si.ariaLabel=this.seriesName+" "+Si.ariaLabel),Si.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${function du(u){return u.toLocaleString().replace(/[&'`"<>]/g,L=>({"&":"&amp;","'":"&#x27;","`":"&#x60;",'"':"&quot;","<":"&lt;",">":"&gt;"}[L]))}(an)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(jt):jt.toLocaleString()}</span>\n `,Si}),this.updateDataLabels()}updateDataLabels(){if(this.type===Us.Stacked){this.barsForDataLabels=[];const r={};r.series=this.seriesName;const x=this.series.map(j=>j.value).reduce((j,ke)=>ke>0?j+ke:j,0),B=this.series.map(j=>j.value).reduce((j,ke)=>ke<0?j+ke:j,0);r.total=x+B,r.x=0,r.y=0,r.height=this.yScale(r.total>0?x:B),r.width=this.xScale.bandwidth(),this.barsForDataLabels.push(r)}else this.barsForDataLabels=this.series.map(r=>{const x={};return x.series=this.seriesName??r.label,x.total=r.value,x.x=this.xScale(r.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:Jn.Top,this.tooltipType=this.tooltipDisabled?void 0:b1.tooltip}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(B=>r.name===B.name&&r.value===B.value)}onClick(r){this.select.emit(r)}getLabel(r){return r.label?r.label:r.name}trackBy(r,x){return x.label}trackDataLabelBy(r,x){return r+"#"+x.series+"#"+x.total}}return u.\u0275fac=function(r){return new(r||u)(t.Y36(t.Lbi))},u.\u0275cmp=t.Xpm({type:u,selectors:[["g","ngx-charts-series-vertical",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelHeightChanged:"dataLabelHeightChanged"},features:[t.TTD],attrs:z3,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(r,x){1&r&&(t.YNc(0,Yh,2,2,"g",0),t.YNc(1,V3,2,2,"g",0),t.YNc(2,ff,2,2,"g",0)),2&r&&(t.Q6J("ngIf",!x.isSSR),t.xp6(1),t.Q6J("ngIf",x.isSSR),t.xp6(1),t.Q6J("ngIf",x.showDataLabel))},dependencies:[M4,S4,e.O5,e.sg,Bd],encapsulation:2,data:{animation:[(0,h.X$)("animationState",[(0,h.eR)(":leave",[(0,h.oB)({opacity:1}),(0,h.jt)(500,(0,h.oB)({opacity:0}))])])]},changeDetection:0}),u})(),T4=(()=>{class u extends O0{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bs.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new 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=w1({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 r=this.xDomain.length/(this.dims.width/this.barPadding+1);return Sl().range([0,this.dims.width]).paddingInner(r).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const r=Xo().range([this.dims.height,0]).domain(this.yDomain);return this.roundDomains?r.nice():r}getXDomain(){return this.results.map(r=>r.label)}getYDomain(){const r=this.results.map(j=>j.value);let x=this.yScaleMin?Math.min(this.yScaleMin,...r):Math.min(0,...r);this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(x=Math.min(x,...this.yAxisTicks));let B=this.yScaleMax?Math.max(this.yScaleMax,...r):Math.max(0,...r);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(B=Math.max(B,...this.yAxisTicks)),[x,B]}onClick(r){this.select.emit(r)}setColors(){let r;r=this.schemeType===xn.Ordinal?this.xDomain:this.yDomain,this.colors=new Ud(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===xn.Ordinal?(r.domain=this.xDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.yDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onDataLabelMaxHeightChanged(r){r.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,r.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,r.size.height),r.index===this.results.length-1&&setTimeout(()=>this.update())}onActivate(r,x=!1){r=this.results.find(j=>x?j.label===r.name:j.name===r.name),!(this.activeEntries.findIndex(j=>j.name===r.name&&j.value===r.value&&j.series===r.series)>-1)&&(this.activeEntries=[r,...this.activeEntries],this.activate.emit({value:r,entries:this.activeEntries}))}onDeactivate(r,x=!1){r=this.results.find(j=>x?j.label===r.name:j.name===r.name);const B=this.activeEntries.findIndex(j=>j.name===r.name&&j.value===r.value&&j.series===r.series);this.activeEntries.splice(B,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}}return u.\u0275fac=function(){let L;return function(x){return(L||(L=t.n5z(u)))(x||u)}}(),u.\u0275cmp=t.Xpm({type:u,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(r,x,B){if(1&r&&t.Suo(B,Rr,5),2&r){let j;t.iGM(j=t.CRH())&&(x.tooltipTemplate=j.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",yScaleMin:"yScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},features:[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","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"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","wrapTicks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged"]],template:function(r,x){1&r&&(t.TgZ(0,"ngx-charts-chart",0),t.NdJ("legendLabelClick",function(j){return x.onClick(j)})("legendLabelActivate",function(j){return x.onActivate(j,!0)})("legendLabelDeactivate",function(j){return x.onDeactivate(j,!0)}),t.O4$(),t.TgZ(1,"g",1),t.YNc(2,B3,1,12,"g",2),t.YNc(3,U3,1,10,"g",3),t.TgZ(4,"g",4),t.NdJ("activate",function(j){return x.onActivate(j)})("deactivate",function(j){return x.onDeactivate(j)})("select",function(j){return x.onClick(j)})("dataLabelHeightChanged",function(j){return x.onDataLabelMaxHeightChanged(j)}),t.qZA()()()),2&r&&(t.Q6J("view",t.WLB(22,Qc,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:[hu,Vf,Bf,yu,e.O5],styles:[Wa],encapsulation:2,changeDetection:0}),u})(),A4=(()=>{class u extends O0{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=bs.Right,this.tooltipDisabled=!1,this.scaleType=xn.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.wrapTicks=!1,this.activate=new 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=Ca,this.trackBy=(r,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=w1({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(r,x){r.size.negative?this.dataLabelMaxHeight.negative=Math.max(this.dataLabelMaxHeight.negative,r.size.height):this.dataLabelMaxHeight.positive=Math.max(this.dataLabelMaxHeight.positive,r.size.height),x===this.results.length-1&&setTimeout(()=>this.update())}getGroupScale(){const r=this.groupDomain.length/(this.dims.height/this.groupPadding+1);return Sl().rangeRound([0,this.dims.width]).paddingInner(r).paddingOuter(r/2).domain(this.groupDomain)}getInnerScale(){const r=this.groupScale.bandwidth(),x=this.innerDomain.length/(r/this.barPadding+1);return Sl().rangeRound([0,r]).paddingInner(x).domain(this.innerDomain)}getValueScale(){const r=Xo().range([this.dims.height,0]).domain(this.valueDomain);return this.roundDomains?r.nice():r}getGroupDomain(){const r=[];for(const x of this.results)r.includes(x.label)||r.push(x.label);return r}getInnerDomain(){const r=[];for(const x of this.results)for(const B of x.series)r.includes(B.label)||r.push(B.label);return r}getValueDomain(){const r=[];for(const j of this.results)for(const ke of j.series)r.includes(ke.value)||r.push(ke.value);return[Math.min(0,...r),this.yScaleMax?Math.max(this.yScaleMax,...r):Math.max(0,...r)]}groupTransform(r){return`translate(${this.groupScale(r.label)}, 0)`}onClick(r,x){x&&(r.series=x.name),this.select.emit(r)}setColors(){let r;r=this.schemeType===xn.Ordinal?this.innerDomain:this.valueDomain,this.colors=new Ud(this.scheme,this.schemeType,r,this.customColors)}getLegendOptions(){const r={scaleType:this.schemeType,colors:void 0,domain:[],title:void 0,position:this.legendPosition};return r.scaleType===xn.Ordinal?(r.domain=this.innerDomain,r.colors=this.colors,r.title=this.legendTitle):(r.domain=this.valueDomain,r.colors=this.colors.scale),r}updateYAxisWidth({width:r}){this.yAxisWidth=r,this.update()}updateXAxisHeight({height:r}){this.xAxisHeight=r,this.update()}onActivate(r,x,B=!1){const j=Object.assign({},r);x&&(j.series=x.name);const ke=this.results.map(ct=>ct.series).flat().filter(ct=>B?ct.label===j.name:ct.name===j.name&&ct.series===j.series);this.activeEntries=[...ke],this.activate.emit({value:j,entries:this.activeEntries})}onDeactivate(r,x,B=!1){const j=Object.assign({},r);x&&(j.series=x.name),this.activeEntries=this.activeEntries.filter(ke=>B?ke.label!==j.name:!(ke.name===j.name&&ke.series===j.series)),this.deactivate.emit({value:j,entries:this.activeEntries})}}return u.\u0275fac=function(){let L;return function(x){return(L||(L=t.n5z(u)))(x||u)}}(),u.\u0275cmp=t.Xpm({type:u,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(r,x,B){if(1&r&&t.Suo(B,Rr,5),2&r){let j;t.iGM(j=t.CRH())&&(x.tooltipTemplate=j.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",scaleType:"scaleType",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero",wrapTicks:"wrapTicks"},outputs:{activate:"activate",deactivate:"deactivate"},features:[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","wrapTicks","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","wrapTicks","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","wrapTicks","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(r,x){1&r&&(t.TgZ(0,"ngx-charts-chart",0),t.NdJ("legendLabelActivate",function(j){return x.onActivate(j,void 0,!0)})("legendLabelDeactivate",function(j){return x.onDeactivate(j,void 0,!0)})("legendLabelClick",function(j){return x.onClick(j)}),t.O4$(),t.TgZ(1,"g",1),t._UZ(2,"g",2),t.YNc(3,jh,1,11,"g",3),t.YNc(4,Kh,1,10,"g",4),t.YNc(5,y0,2,2,"g",5),t.qZA(),t.YNc(6,C0,2,2,"g",5),t.qZA()),2&r&&(t.Q6J("view",t.WLB(15,Qc,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:[hu,Wf,Vf,Bf,yu,e.O5,e.sg],styles:[Wa],encapsulation:2,data:{animation:[(0,h.X$)("animationState",[(0,h.eR)(":leave",[(0,h.oB)({opacity:1,transform:"*"}),(0,h.jt)(500,(0,h.oB)({opacity:0,transform:"scale(0)"}))])])]},changeDetection:0}),u})(),xu=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[Wo]]}),u})();Th();let n3=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[Wo]]}),u})(),Al=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[Wo]]}),u})(),Tp=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[Wo]]}),u})(),wu=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[Wo]]}),u})();Math;let B0=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[Wo]]}),u})(),s3=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[Wo,B0,wu]]}),u})(),Z4=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[Wo]]}),u})(),Su=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[Wo]]}),u})(),l3=(()=>{class u{}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[Wo,B0,xu]]}),u})(),Eu=(()=>{class u{constructor(){!function j4(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return u.\u0275fac=function(r){return new(r||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[Wo,w4,xu,n3,Al,Tp,wu,s3,Z4,B0,Su,l3]}),u})()},658:(Be,Q,m)=>{"use strict";function t(I,k,O,U,Z,W,K){try{var q=I[W](K),te=q.value}catch(pe){return void O(pe)}q.done?k(te):Promise.resolve(te).then(U,Z)}m.d(Q,{uU:()=>M,OF:()=>w});var g=m(4650),A=m(6895),s=m(3259);function C(I,k){if(1&I&&g._UZ(0,"canvas",1),2&I){const O=g.oxw();g.Q6J("qrCode",O.value)("qrCodeErrorCorrectionLevel",O.errorCorrectionLevel)("qrCodeCenterImageSrc",O.centerImageSrc)("qrCodeCenterImageWidth",O.centerImageSize)("qrCodeCenterImageHeight",O.centerImageSize)("qrCodeMargin",O.margin)("width",O.size)("height",O.size)("darkColor",O.darkColor)("lightColor",O.lightColor)}}const h=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;let P=(()=>{class I{constructor(O){this.viewContainerRef=O,this.errorCorrectionLevel=I.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var O=this;return function e(I){return function(){var k=this,O=arguments;return new Promise(function(U,Z){var W=I.apply(k,O);function K(te){t(W,U,Z,K,q,"next",te)}function q(te){t(W,U,Z,K,q,"throw",te)}K(void 0)})}}(function*(){if(!O.value)return;O.version&&O.version>40?(console.warn("[qrCode] max version is 40, clamping"),O.version=40):O.version&&O.version<1?(console.warn("[qrCode] min version is 1, clamping"),O.version=1):void 0!==O.version&&isNaN(O.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),O.version=void 0);const U=O.viewContainerRef.element.nativeElement;if(!U)return;const Z=U.getContext("2d");Z&&Z.clearRect(0,0,Z.canvas.width,Z.canvas.height);const W=O.errorCorrectionLevel??I.DEFAULT_ERROR_CORRECTION_LEVEL,K=h.test(O.darkColor)?O.darkColor:void 0,q=h.test(O.lightColor)?O.lightColor:void 0;(0,g.X6Q)()&&(!K&&O.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!q&&O.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield s.toCanvas(U,O.value,{version:O.version,errorCorrectionLevel:W,width:O.width,margin:O.margin,color:{dark:K,light:q}});const te=O.centerImageSrc,pe=d(O.centerImageWidth,I.DEFAULT_CENTER_IMAGE_SIZE),oe=d(O.centerImageHeight,I.DEFAULT_CENTER_IMAGE_SIZE);if(te&&Z){O.centerImage||(O.centerImage=new Image(pe,oe));const re=O.centerImage;te!==O.centerImage.src&&(re.src=te),pe!==O.centerImage.width&&(re.width=pe),oe!==O.centerImage.height&&(re.height=oe);const ce=()=>{Z.drawImage(re,U.width/2-pe/2,U.height/2-oe/2,pe,oe)};re.onload=ce,re.complete&&ce()}})()}}return I.DEFAULT_ERROR_CORRECTION_LEVEL="M",I.DEFAULT_CENTER_IMAGE_SIZE=40,I.\u0275fac=function(O){return new(O||I)(g.Y36(g.s_b))},I.\u0275dir=g.lG2({type:I,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]}),I})();function d(I,k){return void 0===I||""===I?k:"string"==typeof I?parseInt(I,10):I}let M=(()=>{class I{}return I.\u0275fac=function(O){return new(O||I)},I.\u0275cmp=g.Xpm({type:I,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(O,U){1&O&&g.YNc(0,C,1,10,"canvas",0),2&O&&g.Q6J("ngIf",U.value)},dependencies:[A.O5,P],encapsulation:2}),I})(),w=(()=>{class I{}return I.\u0275fac=function(O){return new(O||I)},I.\u0275mod=g.oAB({type:I}),I.\u0275inj=g.cJS({imports:[A.ez]}),I})()},6839:(Be,Q,m)=>{"use strict";m.d(Q,{op:()=>Ut,Vv:()=>Xt,$V:()=>qe,Xd:()=>ri});var t=m(7579),e=m(4968),g=m(6451),A=m(3601),s=m(2722),C=m(1884),h=m(9718),P=m(4650),d=m(6895);function M(pt){return getComputedStyle(pt)}function w(pt,ot){for(var ut in ot){var wt=ot[ut];"number"==typeof wt&&(wt+="px"),pt.style[ut]=wt}return pt}function I(pt){var ot=document.createElement("div");return ot.className=pt,ot}var k=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function O(pt,ot){if(!k)throw new Error("No element matching method supported");return k.call(pt,ot)}function U(pt){pt.remove?pt.remove():pt.parentNode&&pt.parentNode.removeChild(pt)}function Z(pt,ot){return Array.prototype.filter.call(pt.children,function(ut){return O(ut,ot)})}var W={main:"ps",rtl:"ps__rtl",element:{thumb:function(pt){return"ps__thumb-"+pt},rail:function(pt){return"ps__rail-"+pt},consuming:"ps__child--consume"},state:{focus:"ps--focus",clicking:"ps--clicking",active:function(pt){return"ps--active-"+pt},scrolling:function(pt){return"ps--scrolling-"+pt}}},K={x:null,y:null};function q(pt,ot){var ut=pt.element.classList,wt=W.state.scrolling(ot);ut.contains(wt)?clearTimeout(K[ot]):ut.add(wt)}function te(pt,ot){K[ot]=setTimeout(function(){return pt.isAlive&&pt.element.classList.remove(W.state.scrolling(ot))},pt.settings.scrollingThreshold)}var oe=function(ot){this.element=ot,this.handlers={}},re={isEmpty:{configurable:!0}};oe.prototype.bind=function(ot,ut){typeof this.handlers[ot]>"u"&&(this.handlers[ot]=[]),this.handlers[ot].push(ut),this.element.addEventListener(ot,ut,!1)},oe.prototype.unbind=function(ot,ut){var wt=this;this.handlers[ot]=this.handlers[ot].filter(function(ft){return!(!ut||ft===ut)||(wt.element.removeEventListener(ot,ft,!1),!1)})},oe.prototype.unbindAll=function(){for(var ot in this.handlers)this.unbind(ot)},re.isEmpty.get=function(){var pt=this;return Object.keys(this.handlers).every(function(ot){return 0===pt.handlers[ot].length})},Object.defineProperties(oe.prototype,re);var ce=function(){this.eventElements=[]};function se(pt){if("function"==typeof window.CustomEvent)return new CustomEvent(pt);var ot=document.createEvent("CustomEvent");return ot.initCustomEvent(pt,!1,!1,void 0),ot}function he(pt,ot,ut,wt,ft){var Xe;if(void 0===wt&&(wt=!0),void 0===ft&&(ft=!1),"top"===ot)Xe=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==ot)throw new Error("A proper axis should be provided");Xe=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function S(pt,ot,ut,wt,ft){var Xe=ut[0],gt=ut[1],_t=ut[2],Fe=ut[3],Mt=ut[4],Et=ut[5];void 0===wt&&(wt=!0),void 0===ft&&(ft=!1);var Yt=pt.element;pt.reach[Fe]=null,Yt[_t]<1&&(pt.reach[Fe]="start"),Yt[_t]>pt[Xe]-pt[gt]-1&&(pt.reach[Fe]="end"),ot&&(Yt.dispatchEvent(se("ps-scroll-"+Fe)),ot<0?Yt.dispatchEvent(se("ps-scroll-"+Mt)):ot>0&&Yt.dispatchEvent(se("ps-scroll-"+Et)),wt&&function pe(pt,ot){q(pt,ot),te(pt,ot)}(pt,Fe)),pt.reach[Fe]&&(ot||ft)&&Yt.dispatchEvent(se("ps-"+Fe+"-reach-"+pt.reach[Fe]))}(pt,ut,Xe,wt,ft)}function i(pt){return parseInt(pt,10)||0}ce.prototype.eventElement=function(ot){var ut=this.eventElements.filter(function(wt){return wt.element===ot})[0];return ut||(ut=new oe(ot),this.eventElements.push(ut)),ut},ce.prototype.bind=function(ot,ut,wt){this.eventElement(ot).bind(ut,wt)},ce.prototype.unbind=function(ot,ut,wt){var ft=this.eventElement(ot);ft.unbind(ut,wt),ft.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(ft),1)},ce.prototype.unbindAll=function(){this.eventElements.forEach(function(ot){return ot.unbindAll()}),this.eventElements=[]},ce.prototype.once=function(ot,ut,wt){var ft=this.eventElement(ot),Xe=function(gt){ft.unbind(ut,Xe),wt(gt)};ft.bind(ut,Xe)};var l={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(pt){var ot=pt.element,ut=Math.floor(ot.scrollTop),wt=ot.getBoundingClientRect();pt.containerWidth=Math.round(wt.width),pt.containerHeight=Math.round(wt.height),pt.contentWidth=ot.scrollWidth,pt.contentHeight=ot.scrollHeight,ot.contains(pt.scrollbarXRail)||(Z(ot,W.element.rail("x")).forEach(function(ft){return U(ft)}),ot.appendChild(pt.scrollbarXRail)),ot.contains(pt.scrollbarYRail)||(Z(ot,W.element.rail("y")).forEach(function(ft){return U(ft)}),ot.appendChild(pt.scrollbarYRail)),!pt.settings.suppressScrollX&&pt.containerWidth+pt.settings.scrollXMarginOffset<pt.contentWidth?(pt.scrollbarXActive=!0,pt.railXWidth=pt.containerWidth-pt.railXMarginWidth,pt.railXRatio=pt.containerWidth/pt.railXWidth,pt.scrollbarXWidth=E(pt,i(pt.railXWidth*pt.containerWidth/pt.contentWidth)),pt.scrollbarXLeft=i((pt.negativeScrollAdjustment+ot.scrollLeft)*(pt.railXWidth-pt.scrollbarXWidth)/(pt.contentWidth-pt.containerWidth))):pt.scrollbarXActive=!1,!pt.settings.suppressScrollY&&pt.containerHeight+pt.settings.scrollYMarginOffset<pt.contentHeight?(pt.scrollbarYActive=!0,pt.railYHeight=pt.containerHeight-pt.railYMarginHeight,pt.railYRatio=pt.containerHeight/pt.railYHeight,pt.scrollbarYHeight=E(pt,i(pt.railYHeight*pt.containerHeight/pt.contentHeight)),pt.scrollbarYTop=i(ut*(pt.railYHeight-pt.scrollbarYHeight)/(pt.contentHeight-pt.containerHeight))):pt.scrollbarYActive=!1,pt.scrollbarXLeft>=pt.railXWidth-pt.scrollbarXWidth&&(pt.scrollbarXLeft=pt.railXWidth-pt.scrollbarXWidth),pt.scrollbarYTop>=pt.railYHeight-pt.scrollbarYHeight&&(pt.scrollbarYTop=pt.railYHeight-pt.scrollbarYHeight),function D(pt,ot){var ut={width:ot.railXWidth},wt=Math.floor(pt.scrollTop);ut.left=ot.isRtl?ot.negativeScrollAdjustment+pt.scrollLeft+ot.containerWidth-ot.contentWidth:pt.scrollLeft,ot.isScrollbarXUsingBottom?ut.bottom=ot.scrollbarXBottom-wt:ut.top=ot.scrollbarXTop+wt,w(ot.scrollbarXRail,ut);var ft={top:wt,height:ot.railYHeight};ot.isScrollbarYUsingRight?ft.right=ot.isRtl?ot.contentWidth-(ot.negativeScrollAdjustment+pt.scrollLeft)-ot.scrollbarYRight-ot.scrollbarYOuterWidth-9:ot.scrollbarYRight-pt.scrollLeft:ft.left=ot.isRtl?ot.negativeScrollAdjustment+pt.scrollLeft+2*ot.containerWidth-ot.contentWidth-ot.scrollbarYLeft-ot.scrollbarYOuterWidth:ot.scrollbarYLeft+pt.scrollLeft,w(ot.scrollbarYRail,ft),w(ot.scrollbarX,{left:ot.scrollbarXLeft,width:ot.scrollbarXWidth-ot.railBorderXWidth}),w(ot.scrollbarY,{top:ot.scrollbarYTop,height:ot.scrollbarYHeight-ot.railBorderYWidth})}(ot,pt),pt.scrollbarXActive?ot.classList.add(W.state.active("x")):(ot.classList.remove(W.state.active("x")),pt.scrollbarXWidth=0,pt.scrollbarXLeft=0,ot.scrollLeft=!0===pt.isRtl?pt.contentWidth:0),pt.scrollbarYActive?ot.classList.add(W.state.active("y")):(ot.classList.remove(W.state.active("y")),pt.scrollbarYHeight=0,pt.scrollbarYTop=0,ot.scrollTop=0)}function E(pt,ot){return pt.settings.minScrollbarLength&&(ot=Math.max(ot,pt.settings.minScrollbarLength)),pt.settings.maxScrollbarLength&&(ot=Math.min(ot,pt.settings.maxScrollbarLength)),ot}function b(pt,ot){var ut=ot[0],wt=ot[1],ft=ot[2],Xe=ot[3],gt=ot[4],_t=ot[5],Fe=ot[6],Mt=ot[7],Et=ot[8],Yt=pt.element,Fi=null,Ri=null,Ci=null;function Bi(be){be.touches&&be.touches[0]&&(be[ft]=be.touches[0].pageY),Yt[Fe]=Fi+Ci*(be[ft]-Ri),q(pt,Mt),y(pt),be.stopPropagation(),be.type.startsWith("touch")&&be.changedTouches.length>1&&be.preventDefault()}function Je(){te(pt,Mt),pt[Et].classList.remove(W.state.clicking),pt.event.unbind(pt.ownerDocument,"mousemove",Bi)}function Dt(be,Tt){Fi=Yt[Fe],Tt&&be.touches&&(be[ft]=be.touches[0].pageY),Ri=be[ft],Ci=(pt[wt]-pt[ut])/(pt[Xe]-pt[_t]),Tt?pt.event.bind(pt.ownerDocument,"touchmove",Bi):(pt.event.bind(pt.ownerDocument,"mousemove",Bi),pt.event.once(pt.ownerDocument,"mouseup",Je),be.preventDefault()),pt[Et].classList.add(W.state.clicking),be.stopPropagation()}pt.event.bind(pt[gt],"mousedown",function(be){Dt(be)}),pt.event.bind(pt[gt],"touchstart",function(be){Dt(be,!0)})}var $e={"click-rail":function v(pt){pt.event.bind(pt.scrollbarY,"mousedown",function(ut){return ut.stopPropagation()}),pt.event.bind(pt.scrollbarYRail,"mousedown",function(ut){var wt=ut.pageY-window.pageYOffset-pt.scrollbarYRail.getBoundingClientRect().top;pt.element.scrollTop+=(wt>pt.scrollbarYTop?1:-1)*pt.containerHeight,y(pt),ut.stopPropagation()}),pt.event.bind(pt.scrollbarX,"mousedown",function(ut){return ut.stopPropagation()}),pt.event.bind(pt.scrollbarXRail,"mousedown",function(ut){var wt=ut.pageX-window.pageXOffset-pt.scrollbarXRail.getBoundingClientRect().left;pt.element.scrollLeft+=(wt>pt.scrollbarXLeft?1:-1)*pt.containerWidth,y(pt),ut.stopPropagation()})},"drag-thumb":function n(pt){b(pt,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),b(pt,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function V(pt){var ot=pt.element;pt.event.bind(pt.ownerDocument,"keydown",function(Xe){if(!(Xe.isDefaultPrevented&&Xe.isDefaultPrevented()||Xe.defaultPrevented)&&(O(ot,":hover")||O(pt.scrollbarX,":focus")||O(pt.scrollbarY,":focus"))){var gt=document.activeElement?document.activeElement:pt.ownerDocument.activeElement;if(gt){if("IFRAME"===gt.tagName)gt=gt.contentDocument.activeElement;else for(;gt.shadowRoot;)gt=gt.shadowRoot.activeElement;if(function a(pt){return O(pt,"input,[contenteditable]")||O(pt,"select,[contenteditable]")||O(pt,"textarea,[contenteditable]")||O(pt,"button,[contenteditable]")}(gt))return}var _t=0,Fe=0;switch(Xe.which){case 37:_t=Xe.metaKey?-pt.contentWidth:Xe.altKey?-pt.containerWidth:-30;break;case 38:Fe=Xe.metaKey?pt.contentHeight:Xe.altKey?pt.containerHeight:30;break;case 39:_t=Xe.metaKey?pt.contentWidth:Xe.altKey?pt.containerWidth:30;break;case 40:Fe=Xe.metaKey?-pt.contentHeight:Xe.altKey?-pt.containerHeight:-30;break;case 32:Fe=Xe.shiftKey?pt.containerHeight:-pt.containerHeight;break;case 33:Fe=pt.containerHeight;break;case 34:Fe=-pt.containerHeight;break;case 36:Fe=pt.contentHeight;break;case 35:Fe=-pt.contentHeight;break;default:return}pt.settings.suppressScrollX&&0!==_t||pt.settings.suppressScrollY&&0!==Fe||(ot.scrollTop-=Fe,ot.scrollLeft+=_t,y(pt),function ft(Xe,gt){var _t=Math.floor(ot.scrollTop);if(0===Xe){if(!pt.scrollbarYActive)return!1;if(0===_t&&gt>0||_t>=pt.contentHeight-pt.containerHeight&&gt<0)return!pt.settings.wheelPropagation}var Fe=ot.scrollLeft;if(0===gt){if(!pt.scrollbarXActive)return!1;if(0===Fe&&Xe<0||Fe>=pt.contentWidth-pt.containerWidth&&Xe>0)return!pt.settings.wheelPropagation}return!0}(_t,Fe)&&Xe.preventDefault())}})},wheel:function z(pt){var ot=pt.element;function Xe(gt){var _t=function wt(gt){var _t=gt.deltaX,Fe=-1*gt.deltaY;return(typeof _t>"u"||typeof Fe>"u")&&(_t=-1*gt.wheelDeltaX/6,Fe=gt.wheelDeltaY/6),gt.deltaMode&&1===gt.deltaMode&&(_t*=10,Fe*=10),_t!=_t&&Fe!=Fe&&(_t=0,Fe=gt.wheelDelta),gt.shiftKey?[-Fe,-_t]:[_t,Fe]}(gt),Fe=_t[0],Mt=_t[1];if(!function ft(gt,_t,Fe){if(!l.isWebKit&&ot.querySelector("select:focus"))return!0;if(!ot.contains(gt))return!1;for(var Mt=gt;Mt&&Mt!==ot;){if(Mt.classList.contains(W.element.consuming))return!0;var Et=M(Mt);if(Fe&&Et.overflowY.match(/(scroll|auto)/)){var Yt=Mt.scrollHeight-Mt.clientHeight;if(Yt>0&&(Mt.scrollTop>0&&Fe<0||Mt.scrollTop<Yt&&Fe>0))return!0}if(_t&&Et.overflowX.match(/(scroll|auto)/)){var Fi=Mt.scrollWidth-Mt.clientWidth;if(Fi>0&&(Mt.scrollLeft>0&&_t<0||Mt.scrollLeft<Fi&&_t>0))return!0}Mt=Mt.parentNode}return!1}(gt.target,Fe,Mt)){var Et=!1;pt.settings.useBothWheelAxes?pt.scrollbarYActive&&!pt.scrollbarXActive?(Mt?ot.scrollTop-=Mt*pt.settings.wheelSpeed:ot.scrollTop+=Fe*pt.settings.wheelSpeed,Et=!0):pt.scrollbarXActive&&!pt.scrollbarYActive&&(Fe?ot.scrollLeft+=Fe*pt.settings.wheelSpeed:ot.scrollLeft-=Mt*pt.settings.wheelSpeed,Et=!0):(ot.scrollTop-=Mt*pt.settings.wheelSpeed,ot.scrollLeft+=Fe*pt.settings.wheelSpeed),y(pt),Et=Et||function ut(gt,_t){var Fe=Math.floor(ot.scrollTop),Mt=0===ot.scrollTop,Et=Fe+ot.offsetHeight===ot.scrollHeight,Yt=0===ot.scrollLeft,Fi=ot.scrollLeft+ot.offsetWidth===ot.scrollWidth;return!(Math.abs(_t)>Math.abs(gt)?Mt||Et:Yt||Fi)||!pt.settings.wheelPropagation}(Fe,Mt),Et&&!gt.ctrlKey&&(gt.stopPropagation(),gt.preventDefault())}}typeof window.onwheel<"u"?pt.event.bind(ot,"wheel",Xe):typeof window.onmousewheel<"u"&&pt.event.bind(ot,"mousewheel",Xe)},touch:function Y(pt){if(l.supportsTouch||l.supportsIePointer){var ot=pt.element,ft={},Xe=0,gt={},_t=null;l.supportsTouch?(pt.event.bind(ot,"touchstart",Et),pt.event.bind(ot,"touchmove",Fi),pt.event.bind(ot,"touchend",Ri)):l.supportsIePointer&&(window.PointerEvent?(pt.event.bind(ot,"pointerdown",Et),pt.event.bind(ot,"pointermove",Fi),pt.event.bind(ot,"pointerup",Ri)):window.MSPointerEvent&&(pt.event.bind(ot,"MSPointerDown",Et),pt.event.bind(ot,"MSPointerMove",Fi),pt.event.bind(ot,"MSPointerUp",Ri)))}function wt(Ci,Bi){ot.scrollTop-=Bi,ot.scrollLeft-=Ci,y(pt)}function Fe(Ci){return Ci.targetTouches?Ci.targetTouches[0]:Ci}function Mt(Ci){return!(Ci.pointerType&&"pen"===Ci.pointerType&&0===Ci.buttons||!(Ci.targetTouches&&1===Ci.targetTouches.length||Ci.pointerType&&"mouse"!==Ci.pointerType&&Ci.pointerType!==Ci.MSPOINTER_TYPE_MOUSE))}function Et(Ci){if(Mt(Ci)){var Bi=Fe(Ci);ft.pageX=Bi.pageX,ft.pageY=Bi.pageY,Xe=(new Date).getTime(),null!==_t&&clearInterval(_t)}}function Fi(Ci){if(Mt(Ci)){var Bi=Fe(Ci),Je={pageX:Bi.pageX,pageY:Bi.pageY},Dt=Je.pageX-ft.pageX,be=Je.pageY-ft.pageY;if(function Yt(Ci,Bi,Je){if(!ot.contains(Ci))return!1;for(var Dt=Ci;Dt&&Dt!==ot;){if(Dt.classList.contains(W.element.consuming))return!0;var be=M(Dt);if(Je&&be.overflowY.match(/(scroll|auto)/)){var Tt=Dt.scrollHeight-Dt.clientHeight;if(Tt>0&&(Dt.scrollTop>0&&Je<0||Dt.scrollTop<Tt&&Je>0))return!0}if(Bi&&be.overflowX.match(/(scroll|auto)/)){var Wt=Dt.scrollWidth-Dt.clientWidth;if(Wt>0&&(Dt.scrollLeft>0&&Bi<0||Dt.scrollLeft<Wt&&Bi>0))return!0}Dt=Dt.parentNode}return!1}(Ci.target,Dt,be))return;wt(Dt,be),ft=Je;var Tt=(new Date).getTime(),Wt=Tt-Xe;Wt>0&&(gt.x=Dt/Wt,gt.y=be/Wt,Xe=Tt),function ut(Ci,Bi){var Je=Math.floor(ot.scrollTop),Dt=ot.scrollLeft,be=Math.abs(Ci),Tt=Math.abs(Bi);if(Tt>be){if(Bi<0&&Je===pt.contentHeight-pt.containerHeight||Bi>0&&0===Je)return 0===window.scrollY&&Bi>0&&l.isChrome}else if(be>Tt&&(Ci<0&&Dt===pt.contentWidth-pt.containerWidth||Ci>0&&0===Dt))return!0;return!0}(Dt,be)&&Ci.preventDefault()}}function Ri(){pt.settings.swipeEasing&&(clearInterval(_t),_t=setInterval(function(){pt.isInitialized?clearInterval(_t):gt.x||gt.y?Math.abs(gt.x)<.01&&Math.abs(gt.y)<.01?clearInterval(_t):pt.element?(wt(30*gt.x,30*gt.y),gt.x*=.8,gt.y*=.8):clearInterval(_t):clearInterval(_t)},10))}}},Ve=function(ot,ut){var wt=this;if(void 0===ut&&(ut={}),"string"==typeof ot&&(ot=document.querySelector(ot)),!ot||!ot.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var ft in this.element=ot,ot.classList.add(W.main),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},ut)this.settings[ft]=ut[ft];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var Et,Mt,Xe=function(){return ot.classList.add(W.state.focus)},gt=function(){return ot.classList.remove(W.state.focus)};this.isRtl="rtl"===M(ot).direction,!0===this.isRtl&&ot.classList.add(W.rtl),this.isNegativeScroll=(Mt=ot.scrollLeft,ot.scrollLeft=-1,Et=ot.scrollLeft<0,ot.scrollLeft=Mt,Et),this.negativeScrollAdjustment=this.isNegativeScroll?ot.scrollWidth-ot.clientWidth:0,this.event=new ce,this.ownerDocument=ot.ownerDocument||document,this.scrollbarXRail=I(W.element.rail("x")),ot.appendChild(this.scrollbarXRail),this.scrollbarX=I(W.element.thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",Xe),this.event.bind(this.scrollbarX,"blur",gt),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var _t=M(this.scrollbarXRail);this.scrollbarXBottom=parseInt(_t.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=i(_t.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=i(_t.borderLeftWidth)+i(_t.borderRightWidth),w(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=i(_t.marginLeft)+i(_t.marginRight),w(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=I(W.element.rail("y")),ot.appendChild(this.scrollbarYRail),this.scrollbarY=I(W.element.thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",Xe),this.event.bind(this.scrollbarY,"blur",gt),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var Fe=M(this.scrollbarYRail);this.scrollbarYRight=parseInt(Fe.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=i(Fe.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function f(pt){var ot=M(pt);return i(ot.width)+i(ot.paddingLeft)+i(ot.paddingRight)+i(ot.borderLeftWidth)+i(ot.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=i(Fe.borderTopWidth)+i(Fe.borderBottomWidth),w(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=i(Fe.marginTop)+i(Fe.marginBottom),w(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:ot.scrollLeft<=0?"start":ot.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:ot.scrollTop<=0?"start":ot.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(Mt){return $e[Mt](wt)}),this.lastScrollTop=Math.floor(ot.scrollTop),this.lastScrollLeft=ot.scrollLeft,this.event.bind(this.element,"scroll",function(Mt){return wt.onScroll(Mt)}),y(this)};Ve.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:""}))},Ve.prototype.onScroll=function(ot){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)},Ve.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)},Ve.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(ot){return!ot.match(/^ps([-_].+|)$/)}).join(" ")};const We=Ve;var Re=function(){if(typeof Map<"u")return Map;function pt(ot,ut){var wt=-1;return ot.some(function(ft,Xe){return ft[0]===ut&&(wt=Xe,!0)}),wt}return function(){function ot(){this.__entries__=[]}return Object.defineProperty(ot.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),ot.prototype.get=function(ut){var wt=pt(this.__entries__,ut),ft=this.__entries__[wt];return ft&&ft[1]},ot.prototype.set=function(ut,wt){var ft=pt(this.__entries__,ut);~ft?this.__entries__[ft][1]=wt:this.__entries__.push([ut,wt])},ot.prototype.delete=function(ut){var wt=this.__entries__,ft=pt(wt,ut);~ft&&wt.splice(ft,1)},ot.prototype.has=function(ut){return!!~pt(this.__entries__,ut)},ot.prototype.clear=function(){this.__entries__.splice(0)},ot.prototype.forEach=function(ut,wt){void 0===wt&&(wt=null);for(var ft=0,Xe=this.__entries__;ft<Xe.length;ft++){var gt=Xe[ft];ut.call(wt,gt[1],gt[0])}},ot}()}(),we=typeof window<"u"&&typeof document<"u"&&window.document===document,me=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),Ae="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(me):function(pt){return setTimeout(function(){return pt(Date.now())},1e3/60)},ee=2,Oe=20,fe=["top","right","bottom","left","width","height","size","weight"],Se=typeof MutationObserver<"u",ge=function(){function pt(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function Ze(pt,ot){var ut=!1,wt=!1,ft=0;function Xe(){ut&&(ut=!1,pt()),wt&&_t()}function gt(){Ae(Xe)}function _t(){var Fe=Date.now();if(ut){if(Fe-ft<ee)return;wt=!0}else ut=!0,wt=!1,setTimeout(gt,ot);ft=Fe}return _t}(this.refresh.bind(this),Oe)}return pt.prototype.addObserver=function(ot){~this.observers_.indexOf(ot)||this.observers_.push(ot),this.connected_||this.connect_()},pt.prototype.removeObserver=function(ot){var ut=this.observers_,wt=ut.indexOf(ot);~wt&&ut.splice(wt,1),!ut.length&&this.connected_&&this.disconnect_()},pt.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},pt.prototype.updateObservers_=function(){var ot=this.observers_.filter(function(ut){return ut.gatherActive(),ut.hasActive()});return ot.forEach(function(ut){return ut.broadcastActive()}),ot.length>0},pt.prototype.connect_=function(){!we||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Se?(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)},pt.prototype.disconnect_=function(){!we||!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)},pt.prototype.onTransitionEnd_=function(ot){var ut=ot.propertyName,wt=void 0===ut?"":ut;fe.some(function(Xe){return!!~wt.indexOf(Xe)})&&this.refresh()},pt.getInstance=function(){return this.instance_||(this.instance_=new pt),this.instance_},pt.instance_=null,pt}(),xe=function(pt,ot){for(var ut=0,wt=Object.keys(ot);ut<wt.length;ut++){var ft=wt[ut];Object.defineProperty(pt,ft,{value:ot[ft],enumerable:!1,writable:!1,configurable:!0})}return pt},vt=function(pt){return pt&&pt.ownerDocument&&pt.ownerDocument.defaultView||me},Ie=Qe(0,0,0,0);function de(pt){return parseFloat(pt)||0}function rt(pt){for(var ot=[],ut=1;ut<arguments.length;ut++)ot[ut-1]=arguments[ut];return ot.reduce(function(wt,ft){return wt+de(pt["border-"+ft+"-width"])},0)}var Ke=typeof SVGGraphicsElement<"u"?function(pt){return pt instanceof vt(pt).SVGGraphicsElement}:function(pt){return pt instanceof vt(pt).SVGElement&&"function"==typeof pt.getBBox};function Ct(pt){return we?Ke(pt)?function lt(pt){var ot=pt.getBBox();return Qe(0,0,ot.width,ot.height)}(pt):function Nt(pt){var ot=pt.clientWidth,ut=pt.clientHeight;if(!ot&&!ut)return Ie;var wt=vt(pt).getComputedStyle(pt),ft=function je(pt){for(var ut={},wt=0,ft=["top","right","bottom","left"];wt<ft.length;wt++){var Xe=ft[wt];ut[Xe]=de(pt["padding-"+Xe])}return ut}(wt),Xe=ft.left+ft.right,gt=ft.top+ft.bottom,_t=de(wt.width),Fe=de(wt.height);if("border-box"===wt.boxSizing&&(Math.round(_t+Xe)!==ot&&(_t-=rt(wt,"left","right")+Xe),Math.round(Fe+gt)!==ut&&(Fe-=rt(wt,"top","bottom")+gt)),!function at(pt){return pt===vt(pt).document.documentElement}(pt)){var Mt=Math.round(_t+Xe)-ot,Et=Math.round(Fe+gt)-ut;1!==Math.abs(Mt)&&(_t-=Mt),1!==Math.abs(Et)&&(Fe-=Et)}return Qe(ft.left,ft.top,_t,Fe)}(pt):Ie}function Qe(pt,ot,ut,wt){return{x:pt,y:ot,width:ut,height:wt}}var Le=function(){function pt(ot){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=Qe(0,0,0,0),this.target=ot}return pt.prototype.isActive=function(){var ot=Ct(this.target);return this.contentRect_=ot,ot.width!==this.broadcastWidth||ot.height!==this.broadcastHeight},pt.prototype.broadcastRect=function(){var ot=this.contentRect_;return this.broadcastWidth=ot.width,this.broadcastHeight=ot.height,ot},pt}(),J=function pt(ot,ut){var wt=function ye(pt){var ot=pt.x,ut=pt.y,wt=pt.width,ft=pt.height,Xe=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,gt=Object.create(Xe.prototype);return xe(gt,{x:ot,y:ut,width:wt,height:ft,top:ut,right:ot+wt,bottom:ft+ut,left:ot}),gt}(ut);xe(this,{target:ot,contentRect:wt})},mt=function(){function pt(ot,ut,wt){if(this.activeObservations_=[],this.observations_=new Re,"function"!=typeof ot)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=ot,this.controller_=ut,this.callbackCtx_=wt}return pt.prototype.observe=function(ot){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(ot instanceof vt(ot).Element))throw new TypeError('parameter 1 is not of type "Element".');var ut=this.observations_;ut.has(ot)||(ut.set(ot,new Le(ot)),this.controller_.addObserver(this),this.controller_.refresh())}},pt.prototype.unobserve=function(ot){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(ot instanceof vt(ot).Element))throw new TypeError('parameter 1 is not of type "Element".');var ut=this.observations_;ut.has(ot)&&(ut.delete(ot),ut.size||this.controller_.removeObserver(this))}},pt.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},pt.prototype.gatherActive=function(){var ot=this;this.clearActive(),this.observations_.forEach(function(ut){ut.isActive()&&ot.activeObservations_.push(ut)})},pt.prototype.broadcastActive=function(){if(this.hasActive()){var ot=this.callbackCtx_,ut=this.activeObservations_.map(function(wt){return new J(wt.target,wt.broadcastRect())});this.callback_.call(ot,ut,ot),this.clearActive()}},pt.prototype.clearActive=function(){this.activeObservations_.splice(0)},pt.prototype.hasActive=function(){return this.activeObservations_.length>0},pt}(),St=typeof WeakMap<"u"?new WeakMap:new Re,nt=function pt(ot){if(!(this instanceof pt))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var ut=ge.getInstance(),wt=new mt(ot,ut,this);St.set(this,wt)};["observe","unobserve","disconnect"].forEach(function(pt){nt.prototype[pt]=function(){var ot;return(ot=St.get(this))[pt].apply(ot,arguments)}});const zt=typeof me.ResizeObserver<"u"?me.ResizeObserver:nt;function xt(pt,ot){if(1&pt&&(P.TgZ(0,"div",3),P._UZ(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),P.qZA()),2&pt){const ut=P.oxw();P.ekj("ps-at-top",ut.states.top)("ps-at-left",ut.states.left)("ps-at-right",ut.states.right)("ps-at-bottom",ut.states.bottom),P.xp6(1),P.ekj("ps-indicator-show",ut.indicatorY&&ut.interaction),P.xp6(1),P.ekj("ps-indicator-show",ut.indicatorX&&ut.interaction),P.xp6(1),P.ekj("ps-indicator-show",ut.indicatorX&&ut.interaction),P.xp6(1),P.ekj("ps-indicator-show",ut.indicatorY&&ut.interaction)}}const Ht=["*"],Ut=new P.OlP("PERFECT_SCROLLBAR_CONFIG");class De{constructor(ot,ut,wt,ft){this.x=ot,this.y=ut,this.w=wt,this.h=ft}}class X{constructor(ot,ut){this.x=ot,this.y=ut}}const ue=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Ee{constructor(ot={}){this.assign(ot)}assign(ot={}){for(const ut in ot)this[ut]=ot[ut]}}let qe=(()=>{class pt{constructor(ut,wt,ft,Xe,gt){this.zone=ut,this.differs=wt,this.elementRef=ft,this.platformId=Xe,this.defaults=gt,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 P.vpe,this.psScrollX=new P.vpe,this.psScrollUp=new P.vpe,this.psScrollDown=new P.vpe,this.psScrollLeft=new P.vpe,this.psScrollRight=new P.vpe,this.psYReachEnd=new P.vpe,this.psYReachStart=new P.vpe,this.psXReachEnd=new P.vpe,this.psXReachStart=new P.vpe}ngOnInit(){if(!this.disabled&&(0,d.NF)(this.platformId)){const ut=new Ee(this.defaults);ut.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new We(this.elementRef.nativeElement,ut)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new zt(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{ue.forEach(wt=>{const ft=wt.replace(/([A-Z])/g,Xe=>`-${Xe.toLowerCase()}`);(0,e.R)(this.elementRef.nativeElement,ft).pipe((0,A.e)(20),(0,s.R)(this.ngDestroy)).subscribe(Xe=>{this[wt].emit(Xe)})})})}}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(ut){ut.disabled&&!ut.disabled.isFirstChange()&&(0,d.NF)(this.platformId)&&ut.disabled.currentValue!==ut.disabled.previousValue&&(!0===ut.disabled.currentValue?this.ngOnDestroy():!1===ut.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(ut="scroll"){return new De(this.elementRef.nativeElement[ut+"Left"],this.elementRef.nativeElement[ut+"Top"],this.elementRef.nativeElement[ut+"Width"],this.elementRef.nativeElement[ut+"Height"])}position(ut=!1){return!ut&&this.instance?new X(this.instance.reach.x||0,this.instance.reach.y||0):new X(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(ut="any"){const wt=this.elementRef.nativeElement;return"any"===ut?wt.classList.contains("ps--active-x")||wt.classList.contains("ps--active-y"):"both"===ut?wt.classList.contains("ps--active-x")&&wt.classList.contains("ps--active-y"):wt.classList.contains("ps--active-"+ut)}scrollTo(ut,wt,ft){this.disabled||(null==wt&&null==ft?this.animateScrolling("scrollTop",ut,ft):(null!=ut&&this.animateScrolling("scrollLeft",ut,ft),null!=wt&&this.animateScrolling("scrollTop",wt,ft)))}scrollToX(ut,wt){this.animateScrolling("scrollLeft",ut,wt)}scrollToY(ut,wt){this.animateScrolling("scrollTop",ut,wt)}scrollToTop(ut,wt){this.animateScrolling("scrollTop",ut||0,wt)}scrollToLeft(ut,wt){this.animateScrolling("scrollLeft",ut||0,wt)}scrollToRight(ut,wt){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(ut||0),wt)}scrollToBottom(ut,wt){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(ut||0),wt)}scrollToElement(ut,wt,ft){if("string"==typeof ut&&(ut=this.elementRef.nativeElement.querySelector(ut)),ut){const Xe=ut.getBoundingClientRect(),gt=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",Xe.left-gt.left+this.elementRef.nativeElement.scrollLeft+(wt||0),ft),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",Xe.top-gt.top+this.elementRef.nativeElement.scrollTop+(wt||0),ft)}}animateScrolling(ut,wt,ft){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!ft||typeof window>"u")this.elementRef.nativeElement[ut]=wt;else if(wt!==this.elementRef.nativeElement[ut]){let Xe=0,gt=0,_t=performance.now(),Fe=this.elementRef.nativeElement[ut];const Mt=(Fe-wt)/2,Et=Yt=>{gt+=Math.PI/(ft/(Yt-_t)),Xe=Math.round(wt+Mt+Mt*Math.cos(gt)),this.elementRef.nativeElement[ut]===Fe&&(gt>=Math.PI?this.animateScrolling(ut,wt,0):(this.elementRef.nativeElement[ut]=Xe,Fe=this.elementRef.nativeElement[ut],_t=Yt,this.animation=window.requestAnimationFrame(Et)))};window.requestAnimationFrame(Et)}}}return pt.\u0275fac=function(ut){return new(ut||pt)(P.Y36(P.R0b),P.Y36(P.aQg),P.Y36(P.SBq),P.Y36(P.Lbi),P.Y36(Ut,8))},pt.\u0275dir=P.lG2({type:pt,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:[P.TTD]}),pt})(),Xt=(()=>{class pt{constructor(ut,wt,ft){this.zone=ut,this.cdRef=wt,this.platformId=ft,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 P.vpe,this.psScrollX=new P.vpe,this.psScrollUp=new P.vpe,this.psScrollDown=new P.vpe,this.psScrollLeft=new P.vpe,this.psScrollRight=new P.vpe,this.psYReachEnd=new P.vpe,this.psYReachStart=new P.vpe,this.psXReachEnd=new P.vpe,this.psXReachStart=new P.vpe}ngOnInit(){(0,d.NF)(this.platformId)&&(this.stateUpdate.pipe((0,s.R)(this.ngDestroy),(0,C.x)((ut,wt)=>ut===wt&&!this.stateTimeout)).subscribe(ut=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===ut||"y"===ut?(this.interaction=!1,"x"===ut?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===ut&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===ut||"right"===ut?(this.states.left=!1,this.states.right=!1,this.states[ut]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===ut||"bottom"===ut)&&(this.states.top=!1,this.states.bottom=!1,this.states[ut]=!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 ut=this.directiveRef.elementRef.nativeElement;(0,e.R)(ut,"wheel").pipe((0,s.R)(this.ngDestroy)).subscribe(wt=>{!this.disabled&&this.autoPropagation&&this.checkPropagation(wt,wt.deltaX,wt.deltaY)}),(0,e.R)(ut,"touchmove").pipe((0,s.R)(this.ngDestroy)).subscribe(wt=>{if(!this.disabled&&this.autoPropagation){const ft=wt.touches[0].clientX,Xe=wt.touches[0].clientY;this.checkPropagation(wt,ft-this.scrollPositionX,Xe-this.scrollPositionY),this.scrollPositionX=ft,this.scrollPositionY=Xe}}),(0,g.T)((0,e.R)(ut,"ps-scroll-x").pipe((0,h.h)("x")),(0,e.R)(ut,"ps-scroll-y").pipe((0,h.h)("y")),(0,e.R)(ut,"ps-x-reach-end").pipe((0,h.h)("right")),(0,e.R)(ut,"ps-y-reach-end").pipe((0,h.h)("bottom")),(0,e.R)(ut,"ps-x-reach-start").pipe((0,h.h)("left")),(0,e.R)(ut,"ps-y-reach-start").pipe((0,h.h)("top"))).pipe((0,s.R)(this.ngDestroy)).subscribe(wt=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next(wt)})}}),window.setTimeout(()=>{ue.forEach(ut=>{this.directiveRef&&(this.directiveRef[ut]=this[ut])})},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 ut=this.directiveRef.elementRef.nativeElement;this.usePropagationX=ut.classList.contains("ps--active-x"),this.usePropagationY=ut.classList.contains("ps--active-y")}}checkPropagation(ut,wt,ft){this.interaction=!0;const Xe=wt<0?-1:1,gt=ft<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==Xe)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==gt))&&(ut.preventDefault(),ut.stopPropagation()),wt&&(this.scrollDirectionX=Xe),ft&&(this.scrollDirectionY=gt),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return pt.\u0275fac=function(ut){return new(ut||pt)(P.Y36(P.R0b),P.Y36(P.sBO),P.Y36(P.Lbi))},pt.\u0275cmp=P.Xpm({type:pt,selectors:[["perfect-scrollbar"]],viewQuery:function(ut,wt){if(1&ut&&P.Gf(qe,7),2&ut){let ft;P.iGM(ft=P.CRH())&&(wt.directiveRef=ft.first)}},hostVars:4,hostBindings:function(ut,wt){2&ut&&P.ekj("ps-show-limits",wt.autoPropagation)("ps-show-active",wt.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:Ht,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(ut,wt){1&ut&&(P.F$t(),P.TgZ(0,"div",0)(1,"div",1),P.Hsn(2),P.qZA(),P.YNc(3,xt,5,16,"div",2),P.qZA()),2&ut&&(P.ekj("ps",wt.usePSClass),P.Q6J("perfectScrollbar",wt.config)("disabled",wt.disabled),P.xp6(3),P.Q6J("ngIf",wt.scrollIndicators))},dependencies:[qe,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}),pt})(),ri=(()=>{class pt{}return pt.\u0275fac=function(ut){return new(ut||pt)},pt.\u0275mod=P.oAB({type:pt}),pt.\u0275inj=P.cJS({imports:[[d.ez],d.ez]}),pt})()},4946:Be=>{"use strict";Be.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:Be=>{"use strict";Be.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:Be=>{"use strict";Be.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:Be=>{"use strict";Be.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:Be=>{"use strict";Be.exports={i8:"6.5.4"}},2562:Be=>{"use strict";Be.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"}')}},Be=>{Be(Be.s=5415)}]);