mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-10-31 09:20:27 +00:00
bd72be79bb
Lint errors fix
1 line
3.0 MiB
1 line
3.0 MiB
(self.webpackChunkRTLApp=self.webpackChunkRTLApp||[]).push([[179],{429:(Ue,q,p)=>{"use strict";p.d(q,{$A:()=>De,$W:()=>ue,BL:()=>B,CN:()=>d,CX:()=>S,EG:()=>z,EK:()=>A,El:()=>ne,HI:()=>a,HJ:()=>E,I8:()=>R,JK:()=>_t,Lu:()=>U,Ly:()=>te,Ni:()=>b,Nr:()=>ce,OG:()=>V,QJ:()=>Le,RX:()=>O,Rd:()=>ve,SN:()=>w,Sf:()=>X,TM:()=>l,UH:()=>Ze,UR:()=>D,VD:()=>ae,WM:()=>ye,WO:()=>y,Wi:()=>de,X3:()=>ee,YP:()=>oe,YX:()=>v,Z8:()=>he,ZH:()=>ut,Zu:()=>pt,_9:()=>He,_E:()=>$,aL:()=>Ke,as:()=>m,cQ:()=>i,d7:()=>St,dh:()=>$e,e9:()=>ke,eF:()=>P,eM:()=>Ge,en:()=>wt,g3:()=>Y,g6:()=>Ae,i9:()=>At,kL:()=>T,n7:()=>tt,oV:()=>u,oo:()=>s,pW:()=>n,pd:()=>h,u0:()=>ze,uT:()=>lt,v_:()=>je,wD:()=>C,xH:()=>I,xS:()=>K,yl:()=>ge,z:()=>me});var t=p(9653),e=p(7731);const b=(0,t.PH)(e.AB.UPDATE_API_CALL_STATUS_CLN,(0,t.Ky)()),I=(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)()),S=(0,t.PH)(e.AB.SET_INFO_CLN,(0,t.Ky)()),w=(0,t.PH)(e.AB.FETCH_FEES_CLN),O=(0,t.PH)(e.AB.SET_FEES_CLN,(0,t.Ky)()),E=(0,t.PH)(e.AB.FETCH_FEE_RATES_CLN,(0,t.Ky)()),R=(0,t.PH)(e.AB.SET_FEE_RATES_CLN,(0,t.Ky)()),z=(0,t.PH)(e.AB.FETCH_BALANCE_CLN),U=(0,t.PH)(e.AB.SET_BALANCE_CLN,(0,t.Ky)()),Y=(0,t.PH)(e.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),K=(0,t.PH)(e.AB.SET_LOCAL_REMOTE_BALANCE_CLN,(0,t.Ky)()),$=(0,t.PH)(e.AB.GET_NEW_ADDRESS_CLN,(0,t.Ky)()),ue=((0,t.PH)(e.AB.SET_NEW_ADDRESS_CLN,(0,t.Ky)()),(0,t.PH)(e.AB.FETCH_PEERS_CLN)),he=(0,t.PH)(e.AB.SET_PEERS_CLN,(0,t.Ky)()),ne=(0,t.PH)(e.AB.SAVE_NEW_PEER_CLN,(0,t.Ky)()),ee=((0,t.PH)(e.AB.NEWLY_ADDED_PEER_CLN,(0,t.Ky)()),(0,t.PH)(e.AB.ADD_PEER_CLN,(0,t.Ky)())),me=(0,t.PH)(e.AB.DETACH_PEER_CLN,(0,t.Ky)()),A=(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)()),u=(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)()),T=(0,t.PH)(e.AB.SET_QUERY_ROUTES_CLN,(0,t.Ky)()),D=(0,t.PH)(e.AB.FETCH_CHANNELS_CLN),m=(0,t.PH)(e.AB.SET_CHANNELS_CLN,(0,t.Ky)()),n=(0,t.PH)(e.AB.UPDATE_CHANNEL_CLN,(0,t.Ky)()),v=(0,t.PH)(e.AB.SAVE_NEW_CHANNEL_CLN,(0,t.Ky)()),B=(0,t.PH)(e.AB.CLOSE_CHANNEL_CLN,(0,t.Ky)()),V=(0,t.PH)(e.AB.REMOVE_CHANNEL_CLN,(0,t.Ky)()),X=(0,t.PH)(e.AB.PEER_LOOKUP_CLN,(0,t.Ky)()),De=(0,t.PH)(e.AB.CHANNEL_LOOKUP_CLN,(0,t.Ky)()),tt=(0,t.PH)(e.AB.INVOICE_LOOKUP_CLN,(0,t.Ky)()),je=(0,t.PH)(e.AB.SET_LOOKUP_CLN,(0,t.Ky)()),ze=(0,t.PH)(e.AB.GET_FORWARDING_HISTORY_CLN,(0,t.Ky)()),Le=(0,t.PH)(e.AB.SET_FORWARDING_HISTORY_CLN,(0,t.Ky)()),ye=(0,t.PH)(e.AB.FETCH_INVOICES_CLN,(0,t.Ky)()),ce=(0,t.PH)(e.AB.SET_INVOICES_CLN,(0,t.Ky)()),ve=(0,t.PH)(e.AB.SAVE_NEW_INVOICE_CLN,(0,t.Ky)()),oe=(0,t.PH)(e.AB.ADD_INVOICE_CLN,(0,t.Ky)()),Ke=(0,t.PH)(e.AB.UPDATE_INVOICE_CLN,(0,t.Ky)()),Ae=(0,t.PH)(e.AB.DELETE_EXPIRED_INVOICE_CLN,(0,t.Ky)()),de=(0,t.PH)(e.AB.SET_CHANNEL_TRANSACTION_CLN,(0,t.Ky)()),te=((0,t.PH)(e.AB.SET_CHANNEL_TRANSACTION_RES_CLN,(0,t.Ky)()),(0,t.PH)(e.AB.FETCH_UTXOS_CLN)),Ze=(0,t.PH)(e.AB.SET_UTXOS_CLN,(0,t.Ky)()),Ge=(0,t.PH)(e.AB.FETCH_OFFER_INVOICE_CLN,(0,t.Ky)()),ae=(0,t.PH)(e.AB.SET_OFFER_INVOICE_CLN,(0,t.Ky)()),ge=(0,t.PH)(e.AB.FETCH_OFFERS_CLN),pt=(0,t.PH)(e.AB.SET_OFFERS_CLN,(0,t.Ky)()),$e=(0,t.PH)(e.AB.SAVE_NEW_OFFER_CLN,(0,t.Ky)()),ut=(0,t.PH)(e.AB.ADD_OFFER_CLN,(0,t.Ky)()),At=(0,t.PH)(e.AB.DISABLE_OFFER_CLN,(0,t.Ky)()),_t=(0,t.PH)(e.AB.UPDATE_OFFER_CLN,(0,t.Ky)()),lt=(0,t.PH)(e.AB.FETCH_OFFER_BOOKMARKS_CLN),St=(0,t.PH)(e.AB.SET_OFFER_BOOKMARKS_CLN,(0,t.Ky)()),ke=(0,t.PH)(e.AB.ADD_UPDATE_OFFER_BOOKMARK_CLN,(0,t.Ky)()),He=(0,t.PH)(e.AB.DELETE_OFFER_BOOKMARK_CLN,(0,t.Ky)()),wt=(0,t.PH)(e.AB.REMOVE_OFFER_BOOKMARK_CLN,(0,t.Ky)())},4947:(Ue,q,p)=>{"use strict";p.d(q,{J:()=>le});var t=p(493),e=p(7579),b=p(9646),I=p(5577),s=p(2722),C=p(4004),h=p(262),P=p(1786),d=p(5566),S=p(7731),w=p(7861),O=p(429),E=p(9828),R=p(1462),z=p(4650),U=p(529),Y=p(9653),K=p(5986),$=p(62),ie=p(5043),ue=p(9116),he=p(7998),ne=p(6895);class le{constructor(me,A,i,a,u,l,y,T,D){this.actions=me,this.httpClient=A,this.store=i,this.sessionService=a,this.commonService=u,this.logger=l,this.router=y,this.wsService=T,this.location=D,this.CHILD_API_URL=S.T5+"/cln",this.flgInitialized=!1,this.unSubs=[new e.x,new e.x,new e.x],this.infoFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_INFO_CLN),(0,I.z)(m=>(this.flgInitialized=!1,this.store.dispatch((0,w.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,O.Ni)({payload:{action:"FetchInfo",status:S.Bn.INITIATED}})),this.store.dispatch((0,w.ac)({payload:S.m6.GET_NODE_INFO})),this.httpClient.get(this.CHILD_API_URL+S.vv.GETINFO_API).pipe((0,s.R)(this.actions.pipe((0,t.l4)(S.pg.SET_SELECTED_NODE))),(0,C.U)(n=>(this.logger.info(n),n.chains&&n.chains.length&&n.chains[0]&&"object"==typeof n.chains[0]&&n.chains[0].hasOwnProperty("chain")&&n?.chains[0].chain&&n?.chains[0].chain.toLowerCase().indexOf("bitcoin")<0&&n?.chains[0].chain.toLowerCase().indexOf("liquid")<0?(this.store.dispatch((0,O.Ni)({payload:{action:"FetchInfo",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.GET_NODE_INFO})),this.store.dispatch((0,w.ts)()),setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{type:S.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}}))},500),{type:S.pg.LOGOUT}):(this.initializeRemainingData(n,m.payload.loadPage),this.store.dispatch((0,O.Ni)({payload:{action:"FetchInfo",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.GET_NODE_INFO})),{type:S.AB.SET_INFO_CLN,payload:n||{}}))),(0,h.K)(n=>{const v=this.commonService.extractErrorCode(n),B="ETIMEDOUT"===v?"Unable to Connect to Core Lightning Server.":this.commonService.extractErrorMessage(n);return this.router.navigate(["/error"],{state:{errorCode:v,errorMessage:B}}),this.handleErrorWithoutAlert("FetchInfo",S.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:v,error:B}),(0,b.of)({type:S.pg.VOID})})))))),this.fetchFeesCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_FEES_CLN),(0,I.z)(()=>(this.store.dispatch((0,O.Ni)({payload:{action:"FetchFees",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.FEES_API))),(0,C.U)(m=>(this.logger.info(m),this.store.dispatch((0,O.Ni)({payload:{action:"FetchFees",status:S.Bn.COMPLETED}})),{type:S.AB.SET_FEES_CLN,payload:m||{}})),(0,h.K)(m=>(this.handleErrorWithoutAlert("FetchFees",S.m6.NO_SPINNER,"Fetching Fees Failed.",m),(0,b.of)({type:S.pg.VOID}))))),this.fetchFeeRatesCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_FEE_RATES_CLN),(0,I.z)(m=>(this.store.dispatch((0,O.Ni)({payload:{action:"FetchFeeRates"+m.payload,status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.NETWORK_API+"/feeRates/"+m.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"FetchFeeRates"+m.payload,status:S.Bn.COMPLETED}})),{type:S.AB.SET_FEE_RATES_CLN,payload:n||{}})),(0,h.K)(n=>(this.handleErrorWithoutAlert("FetchFeeRates"+m.payload,S.m6.NO_SPINNER,"Fetching Fee Rates Failed.",n),(0,b.of)({type:S.pg.VOID})))))))),this.fetchBalanceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_BALANCE_CLN),(0,I.z)(()=>(this.store.dispatch((0,O.Ni)({payload:{action:"FetchBalance",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.BALANCE_API))),(0,C.U)(m=>(this.logger.info(m),this.store.dispatch((0,O.Ni)({payload:{action:"FetchBalance",status:S.Bn.COMPLETED}})),{type:S.AB.SET_BALANCE_CLN,payload:m||{}})),(0,h.K)(m=>(this.handleErrorWithoutAlert("FetchBalance",S.m6.NO_SPINNER,"Fetching Balances Failed.",m),(0,b.of)({type:S.pg.VOID}))))),this.fetchLocalRemoteBalanceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_LOCAL_REMOTE_BALANCE_CLN),(0,I.z)(()=>(this.store.dispatch((0,O.Ni)({payload:{action:"FetchLocalRemoteBalance",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.CHANNELS_API+"/localRemoteBalance"))),(0,C.U)(m=>(this.logger.info(m),this.store.dispatch((0,O.Ni)({payload:{action:"FetchLocalRemoteBalance",status:S.Bn.COMPLETED}})),{type:S.AB.SET_LOCAL_REMOTE_BALANCE_CLN,payload:m||{}})),(0,h.K)(m=>(this.handleErrorWithoutAlert("FetchLocalRemoteBalance",S.m6.NO_SPINNER,"Fetching Balances Failed.",m),(0,b.of)({type:S.pg.VOID}))))),this.getNewAddressCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.GET_NEW_ADDRESS_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:S.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+S.vv.ON_CHAIN_API+"?type="+m.payload.addressCode).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.uO)({payload:S.m6.GENERATE_NEW_ADDRESS})),{type:S.AB.SET_NEW_ADDRESS_CLN,payload:n&&n.address?n.address:{}})),(0,h.K)(n=>(this.handleErrorWithAlert("GenerateNewAddress",S.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+S.vv.ON_CHAIN_API+"?type="+m.payload.addressId,n),(0,b.of)({type:S.pg.VOID})))))))),this.setNewAddressCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SET_NEW_ADDRESS_CLN),(0,C.U)(m=>(this.logger.info(m.payload),m.payload))),{dispatch:!1}),this.peersFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_PEERS_CLN),(0,I.z)(()=>(this.store.dispatch((0,O.Ni)({payload:{action:"FetchPeers",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.PEERS_API).pipe((0,C.U)(m=>(this.logger.info(m),this.store.dispatch((0,O.Ni)({payload:{action:"FetchPeers",status:S.Bn.COMPLETED}})),{type:S.AB.SET_PEERS_CLN,payload:m||[]})),(0,h.K)(m=>(this.handleErrorWithoutAlert("FetchPeers",S.m6.NO_SPINNER,"Fetching Peers Failed.",m),(0,b.of)({type:S.pg.VOID})))))))),this.saveNewPeerCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_NEW_PEER_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:S.m6.CONNECT_PEER})),this.store.dispatch((0,O.Ni)({payload:{action:"SaveNewPeer",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.PEERS_API,{id:m.payload.id}).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"SaveNewPeer",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.CONNECT_PEER})),this.store.dispatch((0,O.Z8)({payload:n||[]})),{type:S.AB.NEWLY_ADDED_PEER_CLN,payload:{peer:n.find(v=>0===m.payload.id.indexOf(v.id?v.id:""))}})),(0,h.K)(n=>(this.handleErrorWithoutAlert("SaveNewPeer",S.m6.CONNECT_PEER,"Peer Connection Failed.",n),(0,b.of)({type:S.pg.VOID})))))))),this.detachPeerCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.DETACH_PEER_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:S.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+S.vv.PEERS_API+"/"+m.payload.id+"?force="+m.payload.force).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.uO)({payload:S.m6.DISCONNECT_PEER})),this.store.dispatch((0,w.jW)({payload:"Peer Disconnected Successfully!"})),{type:S.AB.REMOVE_PEER_CLN,payload:{id:m.payload.id}})),(0,h.K)(n=>(this.handleErrorWithAlert("PeerDisconnect",S.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+S.vv.PEERS_API+"/"+m.payload.id,n),(0,b.of)({type:S.pg.VOID})))))))),this.channelsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_CHANNELS_CLN),(0,I.z)(()=>(this.store.dispatch((0,O.Ni)({payload:{action:"FetchChannels",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.CHANNELS_API+"/listChannels"))),(0,C.U)(m=>{this.logger.info(m),this.store.dispatch((0,O.Ni)({payload:{action:"FetchChannels",status:S.Bn.COMPLETED}}));const n={activeChannels:[],pendingChannels:[],inactiveChannels:[]};return m.forEach(v=>{"CHANNELD_NORMAL"===v.state?v.connected?n.activeChannels.push(v):n.inactiveChannels.push(v):n.pendingChannels.push(v)}),{type:S.AB.SET_CHANNELS_CLN,payload:n}}),(0,h.K)(m=>(this.handleErrorWithoutAlert("FetchChannels",S.m6.NO_SPINNER,"Fetching Channels Failed.",m),(0,b.of)({type:S.pg.VOID}))))),this.openNewChannelCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_NEW_CHANNEL_CLN),(0,I.z)(m=>{this.store.dispatch((0,w.ac)({payload:S.m6.OPEN_CHANNEL})),this.store.dispatch((0,O.Ni)({payload:{action:"SaveNewChannel",status:S.Bn.INITIATED}}));const n={id:m.payload.peerId,satoshis:m.payload.satoshis,feeRate:m.payload.feeRate,announce:m.payload.announce};return m.payload.minconf&&(n.minconf=m.payload.minconf),m.payload.utxos&&(n.utxos=m.payload.utxos),m.payload.requestAmount&&(n.request_amt=m.payload.requestAmount),m.payload.compactLease&&(n.compact_lease=m.payload.compactLease),this.httpClient.post(this.CHILD_API_URL+S.vv.CHANNELS_API,n).pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,O.Ni)({payload:{action:"SaveNewChannel",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.OPEN_CHANNEL})),this.store.dispatch((0,w.jW)({payload:"Channel Added Successfully!"})),this.store.dispatch((0,O.EG)()),this.store.dispatch((0,O.Ly)()),{type:S.AB.FETCH_CHANNELS_CLN})),(0,h.K)(v=>(this.handleErrorWithoutAlert("SaveNewChannel",S.m6.OPEN_CHANNEL,"Opening Channel Failed.",v),(0,b.of)({type:S.pg.VOID}))))}))),this.updateChannelCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.UPDATE_CHANNEL_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:S.m6.UPDATE_CHAN_POLICY})),this.httpClient.post(this.CHILD_API_URL+S.vv.CHANNELS_API+"/setChannelFee",{id:m.payload.channelId,base:m.payload.baseFeeMsat,ppm:m.payload.feeRate}).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,w.uO)({payload:S.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,w.jW)("all"===m.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:S.AB.FETCH_CHANNELS_CLN})),(0,h.K)(n=>(this.handleErrorWithAlert("UpdateChannel",S.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+S.vv.CHANNELS_API,n),(0,b.of)({type:S.pg.VOID})))))))),this.closeChannelCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.CLOSE_CHANNEL_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:m.payload.force?S.m6.FORCE_CLOSE_CHANNEL:S.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+S.vv.CHANNELS_API+"/"+m.payload.channelId+(m.payload.force?"?force="+m.payload.force:"")).pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,w.uO)({payload:m.payload.force?S.m6.FORCE_CLOSE_CHANNEL:S.m6.CLOSE_CHANNEL})),this.store.dispatch((0,O.UR)()),this.store.dispatch((0,O.g3)()),this.store.dispatch((0,w.jW)({payload:"Channel Closed Successfully!"})),{type:S.AB.REMOVE_CHANNEL_CLN,payload:m.payload})),(0,h.K)(v=>(this.handleErrorWithAlert("CloseChannel",m.payload.force?S.m6.FORCE_CLOSE_CHANNEL:S.m6.CLOSE_CHANNEL,"Unable to Close Channel. Try again later.",this.CHILD_API_URL+S.vv.CHANNELS_API,v),(0,b.of)({type:S.pg.VOID})))))))),this.paymentsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_PAYMENTS_CLN),(0,I.z)(()=>(this.store.dispatch((0,O.Ni)({payload:{action:"FetchPayments",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.PAYMENTS_API))),(0,C.U)(m=>(this.logger.info(m),this.store.dispatch((0,O.Ni)({payload:{action:"FetchPayments",status:S.Bn.COMPLETED}})),{type:S.AB.SET_PAYMENTS_CLN,payload:m||[]})),(0,h.K)(m=>(this.handleErrorWithoutAlert("FetchPayments",S.m6.NO_SPINNER,"Fetching Payments Failed.",m),(0,b.of)({type:S.pg.VOID}))))),this.fetchOfferInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_OFFER_INVOICE_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:S.m6.FETCH_INVOICE})),this.store.dispatch((0,O.Ni)({payload:{action:"FetchOfferInvoice",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.OFFERS_API+"/fetchOfferInvoice",m.payload).pipe((0,C.U)(n=>{this.logger.info(n),setTimeout(()=>{this.store.dispatch((0,O.Ni)({payload:{action:"FetchOfferInvoice",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.FETCH_INVOICE})),this.store.dispatch((0,O.VD)({payload:n||{}}))},500)}),(0,h.K)(n=>(this.handleErrorWithoutAlert("FetchOfferInvoice",S.m6.FETCH_INVOICE,"Offer Invoice Fetch Failed",n),(0,b.of)({type:S.pg.VOID}))))))),{dispatch:!1}),this.setOfferInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SET_OFFER_INVOICE_CLN),(0,C.U)(m=>(this.logger.info(m.payload),m.payload))),{dispatch:!1}),this.sendPaymentCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SEND_PAYMENT_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:m.payload.uiMessage})),this.store.dispatch((0,O.Ni)({payload:{action:"SendPayment",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.PAYMENTS_API,m.payload).pipe((0,C.U)(n=>{this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"SendPayment",status:S.Bn.COMPLETED}}));let v="Payment Sent Successfully!";n.saveToDBError&&(v="Payment Sent Successfully but Offer Saving to Database Failed."),n.saveToDBResponse&&"NA"!==n.saveToDBResponse&&(this.store.dispatch((0,O.e9)({payload:n.saveToDBResponse})),v="Payment Sent Successfully and Offer Saved to Database."),setTimeout(()=>{this.store.dispatch((0,O.UR)()),this.store.dispatch((0,O.EG)()),this.store.dispatch((0,O.cQ)()),this.store.dispatch((0,w.uO)({payload:m.payload.uiMessage})),this.store.dispatch((0,w.jW)({payload:v})),this.store.dispatch((0,O.TM)({payload:n.paymentResponse}))},1e3)}),(0,h.K)(n=>(this.logger.error("Error: "+JSON.stringify(n)),m.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",m.payload.uiMessage,"Send Payment Failed.",n):this.handleErrorWithAlert("SendPayment",m.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+S.vv.PAYMENTS_API,n),(0,b.of)({type:S.pg.VOID}))))))),{dispatch:!1}),this.queryRoutesFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.GET_QUERY_ROUTES_CLN),(0,I.z)(m=>(this.store.dispatch((0,O.Ni)({payload:{action:"GetQueryRoutes",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.NETWORK_API+"/getRoute/"+m.payload.destPubkey+"/"+m.payload.amount).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"GetQueryRoutes",status:S.Bn.COMPLETED}})),{type:S.AB.SET_QUERY_ROUTES_CLN,payload:n})),(0,h.K)(n=>(this.store.dispatch((0,O.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",S.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+S.vv.NETWORK_API+"/getRoute/"+m.payload.destPubkey+"/"+m.payload.amount,n),(0,b.of)({type:S.pg.VOID})))))))),this.setQueryRoutesCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SET_QUERY_ROUTES_CLN),(0,C.U)(m=>m.payload)),{dispatch:!1}),this.peerLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.PEER_LOOKUP_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:S.m6.SEARCHING_NODE})),this.store.dispatch((0,O.Ni)({payload:{action:"Lookup",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.NETWORK_API+"/listNode/"+m.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"Lookup",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.SEARCHING_NODE})),{type:S.AB.SET_LOOKUP_CLN,payload:n})),(0,h.K)(n=>(this.handleErrorWithAlert("Lookup",S.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+S.vv.NETWORK_API+"/listNode/"+m.payload,n),(0,b.of)({type:S.pg.VOID})))))))),this.channelLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.CHANNEL_LOOKUP_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:m.payload.uiMessage})),this.store.dispatch((0,O.Ni)({payload:{action:"Lookup",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.NETWORK_API+"/listChannel/"+m.payload.shortChannelID).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"Lookup",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:m.payload.uiMessage})),{type:S.AB.SET_LOOKUP_CLN,payload:n})),(0,h.K)(n=>(m.payload.showError?this.handleErrorWithAlert("Lookup",m.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+S.vv.NETWORK_API+"/listChannel/"+m.payload.shortChannelID,n):this.store.dispatch((0,w.uO)({payload:m.payload.uiMessage})),this.store.dispatch((0,O.v_)({payload:[]})),(0,b.of)({type:S.pg.VOID})))))))),this.invoiceLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.INVOICE_LOOKUP_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:S.m6.SEARCHING_INVOICE})),this.store.dispatch((0,O.Ni)({payload:{action:"Lookup",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.INVOICES_API+"?label="+m.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"Lookup",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.SEARCHING_INVOICE})),n.invoices&&n.invoices.length&&n.invoices.length>0&&this.store.dispatch((0,O.aL)({payload:n.invoices[0]})),{type:S.AB.SET_LOOKUP_CLN,payload:n.invoices&&n.invoices.length&&n.invoices.length>0?n.invoices[0]:n})),(0,h.K)(n=>(this.handleErrorWithoutAlert("Lookup",S.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",n),this.store.dispatch((0,w.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,b.of)({type:S.pg.VOID})))))))),this.setLookupCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SET_LOOKUP_CLN),(0,C.U)(m=>(this.logger.info(m.payload),m.payload))),{dispatch:!1}),this.fetchForwardingHistoryCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.GET_FORWARDING_HISTORY_CLN),(0,I.z)(m=>{const n=m.payload.status.charAt(0).toUpperCase();return this.store.dispatch((0,O.Ni)({payload:{action:"FetchForwardingHistory"+n,status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.CHANNELS_API+"/listForwards?status="+m.payload.status).pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,O.Ni)({payload:{action:"FetchForwardingHistory"+n,status:S.Bn.COMPLETED}})),m.payload.status===S.OO.FAILED?this.store.dispatch((0,O.QJ)({payload:{status:S.OO.FAILED,totalForwards:v.length,listForwards:v}})):m.payload.status===S.OO.LOCAL_FAILED?this.store.dispatch((0,O.QJ)({payload:{status:S.OO.LOCAL_FAILED,totalForwards:v.length,listForwards:v}})):m.payload.status===S.OO.SETTLED&&this.store.dispatch((0,O.QJ)({payload:{status:S.OO.SETTLED,totalForwards:v.length,listForwards:v}})),{type:S.pg.VOID})),(0,h.K)(v=>(this.handleErrorWithAlert("FetchForwardingHistory"+n,S.m6.NO_SPINNER,"Get "+m.payload.status+" Forwarding History Failed",this.CHILD_API_URL+S.vv.CHANNELS_API+"/listForwards?status="+m.payload.status,v),(0,b.of)({type:S.pg.VOID}))))}))),this.deleteExpiredInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.DELETE_EXPIRED_INVOICE_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:S.m6.DELETE_INVOICE})),this.httpClient.delete(this.CHILD_API_URL+S.vv.INVOICES_API+(m.payload?"?maxexpiry="+m.payload:"")).pipe((0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,w.uO)({payload:S.m6.DELETE_INVOICE})),this.store.dispatch((0,w.jW)({payload:"Invoices Deleted Successfully!"})),{type:S.AB.FETCH_INVOICES_CLN,payload:{num_max_invoices:1e6,reversed:!0}})),(0,h.K)(v=>(this.handleErrorWithAlert("DeleteInvoices",S.m6.DELETE_INVOICE,"Delete Invoice Failed",this.CHILD_API_URL+S.vv.INVOICES_API,v),(0,b.of)({type:S.pg.VOID})))))))),this.saveNewInvoiceCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_NEW_INVOICE_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:S.m6.ADD_INVOICE})),this.store.dispatch((0,O.Ni)({payload:{action:"SaveNewInvoice",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.INVOICES_API,{label:m.payload.label,amount:m.payload.amount,description:m.payload.description,expiry:m.payload.expiry,private:m.payload.private}).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"SaveNewInvoice",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.ADD_INVOICE})),n.msatoshi=m.payload.amount,n.label=m.payload.label,n.expires_at=Math.round((new Date).getTime()/1e3+m.payload.expiry),n.description=m.payload.description,n.status="unpaid",setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{invoice:n,newlyAdded:!0,component:d.y}}}))},200),{type:S.AB.ADD_INVOICE_CLN,payload:n})),(0,h.K)(n=>(this.handleErrorWithoutAlert("SaveNewInvoice",S.m6.ADD_INVOICE,"Add Invoice Failed.",n),(0,b.of)({type:S.pg.VOID})))))))),this.saveNewOfferCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_NEW_OFFER_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:S.m6.CREATE_OFFER})),this.store.dispatch((0,O.Ni)({payload:{action:"SaveNewOffer",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.OFFERS_API,{amount:m.payload.amount,description:m.payload.description,issuer:m.payload.issuer}).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"SaveNewOffer",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.CREATE_OFFER})),setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{offer:n,newlyAdded:!0,component:R.k}}}))},100),{type:S.AB.ADD_OFFER_CLN,payload:n})),(0,h.K)(n=>(this.handleErrorWithoutAlert("SaveNewOffer",S.m6.CREATE_OFFER,"Create Offer Failed.",n),(0,b.of)({type:S.pg.VOID})))))))),this.invoicesFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_INVOICES_CLN),(0,I.z)(m=>(this.store.dispatch((0,O.Ni)({payload:{action:"FetchInvoices",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.INVOICES_API+"?num_max_invoices="+(m.payload.num_max_invoices?m.payload.num_max_invoices:1e6)+"&index_offset="+(m.payload.index_offset?m.payload.index_offset:0)+"&reversed="+(!m.payload.reversed||m.payload.reversed)).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,O.Ni)({payload:{action:"FetchInvoices",status:S.Bn.COMPLETED}})),{type:S.AB.SET_INVOICES_CLN,payload:V})),(0,h.K)(V=>(this.handleErrorWithoutAlert("FetchInvoices",S.m6.NO_SPINNER,"Fetching Invoices Failed.",V),(0,b.of)({type:S.pg.VOID})))))))),this.offersFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_OFFERS_CLN),(0,I.z)(m=>(this.store.dispatch((0,O.Ni)({payload:{action:"FetchOffers",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.OFFERS_API).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"FetchOffers",status:S.Bn.COMPLETED}})),{type:S.AB.SET_OFFERS_CLN,payload:n.offers?n.offers:[]})),(0,h.K)(n=>(this.handleErrorWithoutAlert("FetchOffers",S.m6.NO_SPINNER,"Fetching Offers Failed.",n),(0,b.of)({type:S.pg.VOID})))))))),this.offersDisableCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.DISABLE_OFFER_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:S.m6.DISABLE_OFFER})),this.store.dispatch((0,O.Ni)({payload:{action:"DisableOffer",status:S.Bn.INITIATED}})),this.httpClient.delete(this.CHILD_API_URL+S.vv.OFFERS_API+"/"+m.payload.offer_id).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"DisableOffer",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.DISABLE_OFFER})),this.store.dispatch((0,w.jW)({payload:"Offer Disabled Successfully!"})),{type:S.AB.UPDATE_OFFER_CLN,payload:{offer:n}})),(0,h.K)(n=>(this.handleErrorWithoutAlert("DisableOffer",S.m6.DISABLE_OFFER,"Disabling Offer Failed.",n),(0,b.of)({type:S.pg.VOID})))))))),this.offerBookmarksFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_OFFER_BOOKMARKS_CLN),(0,I.z)(m=>(this.store.dispatch((0,O.Ni)({payload:{action:"FetchOfferBookmarks",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.OFFERS_API+"/offerbookmarks").pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"FetchOfferBookmarks",status:S.Bn.COMPLETED}})),{type:S.AB.SET_OFFER_BOOKMARKS_CLN,payload:n||[]})),(0,h.K)(n=>(this.handleErrorWithoutAlert("FetchOfferBookmarks",S.m6.NO_SPINNER,"Fetching Offer Bookmarks Failed.",n),(0,b.of)({type:S.pg.VOID})))))))),this.peidOffersDeleteCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.DELETE_OFFER_BOOKMARK_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:S.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,O.Ni)({payload:{action:"DeleteOfferBookmark",status:S.Bn.INITIATED}})),this.httpClient.delete(this.CHILD_API_URL+S.vv.OFFERS_API+"/offerbookmark/"+m.payload.bolt12).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"DeleteOfferBookmark",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.DELETE_OFFER_BOOKMARK})),this.store.dispatch((0,w.jW)({payload:"Offer Bookmark Deleted Successfully!"})),{type:S.AB.REMOVE_OFFER_BOOKMARK_CLN,payload:{bolt12:m.payload.bolt12}})),(0,h.K)(n=>(this.handleErrorWithAlert("DeleteOfferBookmark",S.m6.DELETE_OFFER_BOOKMARK,"Deleting Offer Bookmark Failed.",this.CHILD_API_URL+S.vv.OFFERS_API+"/offerbookmark/"+m.payload.bolt12,n),(0,b.of)({type:S.pg.VOID})))))))),this.SetChannelTransactionCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SET_CHANNEL_TRANSACTION_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:S.m6.SEND_FUNDS})),this.store.dispatch((0,O.Ni)({payload:{action:"SetChannelTransaction",status:S.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+S.vv.ON_CHAIN_API,m.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"SetChannelTransaction",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.SEND_FUNDS})),this.store.dispatch((0,O.EG)()),this.store.dispatch((0,O.Ly)()),{type:S.AB.SET_CHANNEL_TRANSACTION_RES_CLN,payload:n})),(0,h.K)(n=>(this.handleErrorWithoutAlert("SetChannelTransaction",S.m6.SEND_FUNDS,"Sending Fund Failed.",n),(0,b.of)({type:S.pg.VOID})))))))),this.utxosFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_UTXOS_CLN),(0,I.z)(()=>(this.store.dispatch((0,O.Ni)({payload:{action:"FetchUTXOs",status:S.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+S.vv.ON_CHAIN_API+"/utxos"))),(0,C.U)(m=>(this.logger.info(m),this.store.dispatch((0,O.Ni)({payload:{action:"FetchUTXOs",status:S.Bn.COMPLETED}})),{type:S.AB.SET_UTXOS_CLN,payload:m.outputs||[]})),(0,h.K)(m=>(this.handleErrorWithoutAlert("FetchUTXOs",S.m6.NO_SPINNER,"Fetching UTXOs Failed.",m),(0,b.of)({type:S.pg.VOID}))))),this.pageSettingsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.FETCH_PAGE_SETTINGS_CLN),(0,I.z)(()=>(this.store.dispatch((0,O.Ni)({payload:{action:"FetchPageSettings",status:S.Bn.INITIATED}})),this.httpClient.get(S.vv.PAGE_SETTINGS_API).pipe((0,C.U)(m=>(this.logger.info(m),this.store.dispatch((0,O.Ni)({payload:{action:"FetchPageSettings",status:S.Bn.COMPLETED}})),{type:S.AB.SET_PAGE_SETTINGS_CLN,payload:m||[]})),(0,h.K)(m=>(this.handleErrorWithoutAlert("FetchPageSettings",S.m6.NO_SPINNER,"Fetching Page Settings Failed.",m),(0,b.of)({type:S.pg.VOID})))))))),this.savePageSettingsCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(S.AB.SAVE_PAGE_SETTINGS_CLN),(0,I.z)(m=>(this.store.dispatch((0,w.ac)({payload:S.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,O.Ni)({payload:{action:"SavePageSettings",status:S.Bn.INITIATED}})),this.httpClient.post(S.vv.PAGE_SETTINGS_API,m.payload).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.Ni)({payload:{action:"SavePageSettings",status:S.Bn.COMPLETED}})),this.store.dispatch((0,w.uO)({payload:S.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,w.jW)({payload:"Page Layout Updated Successfully!"})),{type:S.AB.SET_PAGE_SETTINGS_CLN,payload:n||[]})),(0,h.K)(n=>(this.handleErrorWithAlert("SavePageSettings",S.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",S.vv.PAGE_SETTINGS_API,n),(0,b.of)({type:S.pg.VOID})))))))),this.store.select(E.yA).pipe((0,s.R)(this.unSubs[0])).subscribe(m=>{m.FetchInfo.status!==S.Bn.COMPLETED&&m.FetchInfo.status!==S.Bn.ERROR||m.FetchFees.status!==S.Bn.COMPLETED&&m.FetchFees.status!==S.Bn.ERROR||m.FetchChannels.status!==S.Bn.COMPLETED&&m.FetchChannels.status!==S.Bn.ERROR||m.FetchBalance.status!==S.Bn.COMPLETED&&m.FetchBalance.status!==S.Bn.ERROR||m.FetchLocalRemoteBalance.status!==S.Bn.COMPLETED&&m.FetchLocalRemoteBalance.status!==S.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,w.uO)({payload:S.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.clWSMessages.pipe((0,s.R)(this.unSubs[1])).subscribe(m=>{if(this.logger.info("Received new message from the service: "+JSON.stringify(m)),m)switch(m.event){case S.nM.INVOICE:this.logger.info(m),m&&m.data&&m.data.label&&this.store.dispatch((0,O.aL)({payload:m.data}));break;case S.nM.SEND_PAYMENT:case S.nM.BLOCK_HEIGHT:this.logger.info(m);break;default:this.logger.info("Received Event from WS: "+JSON.stringify(m))}})}initializeRemainingData(me,A){this.sessionService.setItem("clUnlocked","true");const i={identity_pubkey:me.id,alias:me.alias,testnet:"testnet"===me.network.toLowerCase(),chains:me.chains,uris:me.uris,version:me.version,api_version:me.api_version,numberOfPendingChannels:me.num_pending_channels};this.store.dispatch((0,w.ac)({payload:S.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,w._V)({payload:i}));let a=this.location.path();a.includes("/lnd/")?a=a?.replace("/lnd/","/cln/"):a.includes("/ecl/")&&(a=a?.replace("/ecl/","/cln/")),(a.includes("/login")||a.includes("/error")||""===a||"HOME"===A||a.includes("?access-key="))&&(a="/cln/home"),this.router.navigate([a]),this.store.dispatch((0,O.wD)()),this.store.dispatch((0,O.WM)({payload:{num_max_invoices:1e6,index_offset:0,reversed:!0}})),this.store.dispatch((0,O.SN)()),this.store.dispatch((0,O.UR)()),this.store.dispatch((0,O.EG)()),this.store.dispatch((0,O.g3)()),this.store.dispatch((0,O.HJ)({payload:"perkw"})),this.store.dispatch((0,O.HJ)({payload:"perkb"})),this.store.dispatch((0,O.$W)()),this.store.dispatch((0,O.Ly)()),this.store.dispatch((0,O.cQ)())}handleErrorWithoutAlert(me,A,i,a){if(this.logger.error("ERROR IN: "+me+"\n"+JSON.stringify(a)),401===a.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:A}));const u=this.commonService.extractErrorMessage(a,i);this.store.dispatch((0,O.Ni)({payload:{action:me,status:S.Bn.ERROR,statusCode:a.status.toString(),message:u}}))}}handleErrorWithAlert(me,A,i,a,u){if(this.logger.error(u),401===u.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:A}));const l=this.commonService.extractErrorMessage(u);this.store.dispatch((0,w.qR)({payload:{data:{type:"ERROR",alertTitle:i,message:{code:u.status,message:l,URL:a},component:P.H}}})),this.store.dispatch((0,O.Ni)({payload:{action:me,status:S.Bn.ERROR,statusCode:u.status.toString(),message:l,URL:a}}))}}ngOnDestroy(){this.unSubs.forEach(me=>{me.next(null),me.complete()})}}le.\u0275fac=function(me){return new(me||le)(z.LFG(t.eX),z.LFG(U.eN),z.LFG(Y.yh),z.LFG(K.m),z.LFG($.v),z.LFG(ie.mQ),z.LFG(ue.F0),z.LFG(he.d),z.LFG(ne.Ye))},le.\u0275prov=z.Yz7({token:le,factory:le.\u0275fac})},9828:(Ue,q,p)=>{"use strict";p.d(q,{AS:()=>I,Ao:()=>ne,Bo:()=>K,EQ:()=>me,Hz:()=>le,JG:()=>S,OL:()=>ue,PP:()=>P,Rn:()=>U,T4:()=>R,Wi:()=>d,Wj:()=>Y,Y_:()=>ee,ZW:()=>z,ey:()=>s,gc:()=>E,hx:()=>O,jK:()=>he,lK:()=>ie,lw:()=>b,xQ:()=>$,yA:()=>h,zm:()=>w});var t=p(9653);const e=(0,t.ZF)("cln"),b=(0,t.P1)(e,i=>i.nodeSettings),I=(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})),S=(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})),O=(0,t.P1)(e,i=>({feeRatesPerKW:i.feeRatesPerKW,apiCallStatus:i.apisCallStatus.FetchFeeRatesperkw})),E=(0,t.P1)(e,i=>({listInvoices:i.invoices,apiCallStatus:i.apisCallStatus.FetchInvoices})),R=(0,t.P1)(e,i=>({utxos:i.utxos,apiCallStatus:i.apisCallStatus.FetchUTXOs})),z=(0,t.P1)(e,i=>({activeChannels:i.activeChannels,pendingChannels:i.pendingChannels,inactiveChannels:i.inactiveChannels,apiCallStatus:i.apisCallStatus.FetchChannels})),U=(0,t.P1)(e,i=>({balance:i.balance,apiCallStatus:i.apisCallStatus.FetchBalance})),Y=(0,t.P1)(e,i=>({localRemoteBalance:i.localRemoteBalance,apiCallStatus:i.apisCallStatus.FetchLocalRemoteBalance})),K=(0,t.P1)(e,i=>({forwardingHistory:i.forwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryS})),$=(0,t.P1)(e,i=>({failedForwardingHistory:i.failedForwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryF})),ie=(0,t.P1)(e,i=>({localFailedForwardingHistory:i.localFailedForwardingHistory,apiCallStatus:i.apisCallStatus.FetchForwardingHistoryL})),ue=(0,t.P1)(e,i=>({information:i.information,nodeSettings:i.nodeSettings,balance:i.balance})),he=(0,t.P1)(e,i=>({information:i.information,balance:i.balance,numPeers:i.peers.length})),ne=(0,t.P1)(e,i=>({information:i.information,balance:i.balance})),le=(0,t.P1)(e,i=>({information:i.information,nodeSettings:i.nodeSettings,apisCallStatus:[i.apisCallStatus.FetchInfo,i.apisCallStatus.FetchForwardingHistoryS]})),ee=(0,t.P1)(e,i=>({offers:i.offers,apiCallStatus:i.apisCallStatus.FetchOffers})),me=(0,t.P1)(e,i=>({offersBookmarks:i.offersBookmarks,apiCallStatus:i.apisCallStatus.FetchOfferBookmarks}))},5566:(Ue,q,p)=>{"use strict";p.d(q,{y:()=>Ae});var t=p(5412),e=p(2687),b=p(7579),I=p(2722),s=p(7731),C=p(9828),h=p(4650),P=p(5043),d=p(62),S=p(7009),w=p(9653),O=p(6895),E=p(2216),R=p(1576),z=p(5829),U=p(4859),Y=p(3546),K=p(4850),$=p(1572),ie=p(266),ue=p(658),he=p(5199),ne=p(3390);function le(de,Ce){if(1&de&&h._UZ(0,"qr-code",33),2&de){const te=h.oxw();h.Q6J("value",(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12))("size",te.qrWidth)("errorCorrectionLevel","L")}}function ee(de,Ce){1&de&&(h.TgZ(0,"span",34),h._uU(1,"N/A"),h.qZA())}const me=function(de){return{"mr-0":de}};function A(de,Ce){if(1&de&&h._UZ(0,"span",35),2&de){const te=h.oxw();h.Q6J("ngClass",h.VKq(1,me,te.screenSize===te.screenSizeEnum.XS))}}function i(de,Ce){if(1&de&&h._UZ(0,"span",36),2&de){const te=h.oxw();h.Q6J("ngClass",h.VKq(1,me,te.screenSize===te.screenSizeEnum.XS))}}function a(de,Ce){if(1&de&&h._UZ(0,"span",37),2&de){const te=h.oxw();h.Q6J("ngClass",h.VKq(1,me,te.screenSize===te.screenSizeEnum.XS))}}function u(de,Ce){if(1&de&&h._UZ(0,"qr-code",33),2&de){const te=h.oxw();h.Q6J("value",(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12))("size",te.qrWidth)("errorCorrectionLevel","L")}}function l(de,Ce){1&de&&(h.TgZ(0,"span",38),h._uU(1,"QR Code Not Applicable"),h.qZA())}function y(de,Ce){1&de&&h._UZ(0,"mat-divider",39)}function T(de,Ce){if(1&de&&(h.TgZ(0,"div",19)(1,"div",40),h._UZ(2,"fa-icon",41),h.TgZ(3,"span"),h._uU(4),h.qZA()()()),2&de){const te=h.oxw();h.xp6(2),h.Q6J("icon",te.faExclamationTriangle),h.xp6(2),h.Oqu(null==te.invoice?null:te.invoice.warning_capacity)}}function D(de,Ce){1&de&&(h.ynx(0),h._uU(1," (zero amount) "),h.BQk())}function m(de,Ce){1&de&&h._UZ(0,"span",47)}const n=function(){return[]};function v(de,Ce){if(1&de&&(h.TgZ(0,"div",43)(1,"div",44)(2,"span",45),h._uU(3),h.ALo(4,"number"),h.qZA(),h.YNc(5,m,1,0,"span",46),h.qZA()()),2&de){const te=h.oxw(2);h.xp6(3),h.hij("",h.lcZ(4,2,(null==te.invoice?null:te.invoice.msatoshi_received)/1e3)," Sats"),h.xp6(2),h.Q6J("ngForOf",h.DdM(4,n).constructor(35))}}function B(de,Ce){if(1&de&&(h.TgZ(0,"div"),h._uU(1),h.ALo(2,"number"),h.qZA()),2&de){const te=h.oxw(2);h.xp6(1),h.hij("",h.lcZ(2,1,(null==te.invoice?null:te.invoice.msatoshi_received)/1e3)," Sats")}}function V(de,Ce){if(1&de&&(h.ynx(0),h.YNc(1,v,6,5,"div",42),h.YNc(2,B,3,3,"div",23),h.BQk()),2&de){const te=h.oxw();h.xp6(1),h.Q6J("ngIf",te.flgInvoicePaid),h.xp6(1),h.Q6J("ngIf",!te.flgInvoicePaid)}}function X(de,Ce){1&de&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function De(de,Ce){1&de&&h._UZ(0,"mat-spinner",49),2&de&&h.Q6J("diameter",20)}function tt(de,Ce){if(1&de&&(h.ynx(0),h.YNc(1,X,2,0,"span",23),h.YNc(2,De,1,1,"mat-spinner",48),h.BQk()),2&de){const te=h.oxw();h.xp6(1),h.Q6J("ngIf","unpaid"!==(null==te.invoice?null:te.invoice.status)||!te.flgVersionCompatible),h.xp6(1),h.Q6J("ngIf","unpaid"===(null==te.invoice?null:te.invoice.status)&&te.flgVersionCompatible)}}function je(de,Ce){if(1&de&&(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&de){const te=h.oxw();h.xp6(7),h.Oqu(null==te.invoice?null:te.invoice.payment_hash),h.xp6(7),h.Oqu(null==te.invoice?null:te.invoice.label)}}function ze(de,Ce){1&de&&(h.TgZ(0,"p"),h._uU(1,"Show Advanced"),h.qZA())}function Le(de,Ce){1&de&&(h.TgZ(0,"p"),h._uU(1,"Hide Advanced"),h.qZA())}function ye(de,Ce){if(1&de){const te=h.EpF();h.TgZ(0,"button",50),h.NdJ("copied",function(Ge){h.CHM(te);const ae=h.oxw();return h.KtG(ae.onCopyPayment(Ge))}),h._uU(1,"Copy Invoice"),h.qZA()}if(2&de){const te=h.oxw();h.Q6J("payload",(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12))}}function ce(de,Ce){if(1&de){const te=h.EpF();h.TgZ(0,"button",51),h.NdJ("click",function(){h.CHM(te);const Ge=h.oxw();return h.KtG(Ge.onClose())}),h._uU(1,"OK"),h.qZA()}}const ve=function(de){return{"display-none":de}},oe=function(de){return{"xs-scroll-y":de}},Ke=function(de,Ce){return{"mt-2":de,"mt-1":Ce}};class Ae{constructor(Ce,te,Ze,Ge,ae,ge){this.dialogRef=Ce,this.data=te,this.logger=Ze,this.commonService=Ge,this.snackBar=ae,this.store=ge,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 b.x,new b.x,new b.x,new b.x,new b.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.ey).pipe((0,I.R)(this.unSubs[0])).subscribe(Ce=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(Ce.api_version,"0.6.0")}),this.store.select(C.gc).pipe((0,I.R)(this.unSubs[1])).subscribe(Ce=>{const te=this.invoice.status,Ge=(Ce.listInvoices.invoices||[])?.find(ae=>ae.payment_hash===this.invoice.payment_hash)||null;Ge&&(this.invoice=Ge),te!==this.invoice.status&&"paid"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(Ce)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(Ce){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+Ce)}ngOnDestroy(){this.unSubs.forEach(Ce=>{Ce.next(null),Ce.complete()})}}Ae.\u0275fac=function(Ce){return new(Ce||Ae)(h.Y36(t.so),h.Y36(t.WI),h.Y36(P.mQ),h.Y36(d.v),h.Y36(S.ux),h.Y36(w.yh))},Ae.\u0275cmp=h.Xpm({type:Ae,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(Ce,te){if(1&Ce&&(h.TgZ(0,"div",0)(1,"div",1),h.YNc(2,le,1,3,"qr-code",2),h.YNc(3,ee,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,A,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 te.onClose()}),h._uU(14,"X"),h.qZA()(),h.TgZ(15,"mat-card-content",13)(16,"div",14)(17,"div",15),h.YNc(18,u,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,T,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,V,3,2,"ng-container",23),h.YNc(35,tt,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,je,16,2,"div",23),h.TgZ(65,"div",27)(66,"button",28),h.NdJ("click",function(){return te.onShowAdvanced()}),h.YNc(67,ze,2,0,"p",29),h.YNc(68,Le,2,0,"ng-template",null,30,h.W1O),h.qZA(),h.YNc(70,ye,2,1,"button",31),h.YNc(71,ce,2,0,"button",32),h.qZA()()()()()),2&Ce){const Ze=h.MAs(69);h.xp6(1),h.Q6J("fxLayoutAlign",null!=te.invoice&&te.invoice.bolt11&&""!==(null==te.invoice?null:te.invoice.bolt11)||null!=te.invoice&&te.invoice.bolt12&&""!==(null==te.invoice?null:te.invoice.bolt12)?"center start":"center center")("ngClass",h.VKq(40,ve,te.screenSize===te.screenSizeEnum.XS||te.screenSize===te.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==te.invoice?null:te.invoice.bolt11)&&""!==(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12)&&""!==(null==te.invoice?null:te.invoice.bolt12)),h.xp6(1),h.Q6J("ngIf",!(null!=te.invoice&&te.invoice.bolt11||null!=te.invoice&&te.invoice.bolt12)),h.xp6(4),h.Q6J("icon",te.faReceipt),h.xp6(2),h.hij(" ",te.screenSize===te.screenSizeEnum.XS?te.newlyAdded?"Created":"Invoice":te.newlyAdded?"Invoice Created":"Invoice Information"," "),h.xp6(1),h.Q6J("ngIf","paid"===(null==te.invoice?null:te.invoice.status)),h.xp6(1),h.Q6J("ngIf","unpaid"===(null==te.invoice?null:te.invoice.status)),h.xp6(1),h.Q6J("ngIf","expired"===(null==te.invoice?null:te.invoice.status)),h.xp6(3),h.Q6J("ngClass",h.VKq(42,oe,te.screenSize===te.screenSizeEnum.XS)),h.xp6(2),h.Q6J("fxLayoutAlign",null!=te.invoice&&te.invoice.bolt11&&""!==(null==te.invoice?null:te.invoice.bolt11)||null!=te.invoice&&te.invoice.bolt12&&""!==(null==te.invoice?null:te.invoice.bolt12)?"center start":"center center")("ngClass",h.VKq(44,ve,te.screenSize!==te.screenSizeEnum.XS&&te.screenSize!==te.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==te.invoice?null:te.invoice.bolt11)&&""!==(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12)&&""!==(null==te.invoice?null:te.invoice.bolt12)),h.xp6(1),h.Q6J("ngIf",!(null!=te.invoice&&te.invoice.bolt11||null!=te.invoice&&te.invoice.bolt12)),h.xp6(1),h.Q6J("ngIf",te.screenSize===te.screenSizeEnum.XS||te.screenSize===te.screenSizeEnum.SM),h.xp6(1),h.Q6J("ngIf",null==te.invoice?null:te.invoice.warning_capacity),h.xp6(4),h.Oqu(te.screenSize===te.screenSizeEnum.XS?"Amount":"Amount Requested"),h.xp6(2),h.hij(" ",h.lcZ(28,32,(null==te.invoice?null:te.invoice.msatoshi)/1e3||0)," Sats"),h.xp6(2),h.Q6J("ngIf",!(null!=te.invoice&&te.invoice.msatoshi)||"0"===(null==te.invoice?null:te.invoice.msatoshi)),h.xp6(5),h.Q6J("ngIf","paid"===(null==te.invoice?null:te.invoice.status)),h.xp6(1),h.Q6J("ngIf","paid"!==(null==te.invoice?null:te.invoice.status)),h.xp6(7),h.Oqu(h.xi3(43,34,1e3*(null==te.invoice?null:te.invoice.expires_at),"dd/MMM/y HH:mm")),h.xp6(6),h.Oqu(h.xi3(49,37,1e3*(null==te.invoice?null:te.invoice.paid_at),"dd/MMM/y HH:mm")||"-"),h.xp6(8),h.Oqu((null==te.invoice?null:te.invoice.description)||"-"),h.xp6(5),h.hij("",null!=te.invoice&&te.invoice.bolt12?"Bolt12":null!=te.invoice&&te.invoice.bolt11&&!te.invoice.label.includes("keysend-")?"Bolt11":"Keysend"," Invoice"),h.xp6(2),h.Oqu((null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12)),h.xp6(1),h.Q6J("ngIf",te.showAdvanced),h.xp6(1),h.Q6J("ngClass",h.WLB(46,Ke,!te.showAdvanced,te.showAdvanced)),h.xp6(2),h.Q6J("ngIf",!te.showAdvanced)("ngIfElse",Ze),h.xp6(3),h.Q6J("ngIf",(null==te.invoice?null:te.invoice.bolt11)&&""!==(null==te.invoice?null:te.invoice.bolt11)||(null==te.invoice?null:te.invoice.bolt12)&&""!==(null==te.invoice?null:te.invoice.bolt12)),h.xp6(1),h.Q6J("ngIf",!(null!=te.invoice&&te.invoice.bolt11||null!=te.invoice&&te.invoice.bolt12))}},dependencies:[O.mk,O.sg,O.O5,E.BN,R.xw,R.Wh,R.yH,z.oO,U.lW,Y.dn,Y.dk,K.d,$.Ou,ie.gM,ue.uU,he.y,ne.h,O.JJ,O.uU]})},1462:(Ue,q,p)=>{"use strict";p.d(q,{k:()=>De});var t=p(5412),e=p(2687),b=p(7579),I=p(2722),s=p(7731),C=p(4650),h=p(5043),P=p(62),d=p(7009),S=p(9653),w=p(8104),O=p(6895),E=p(2216),R=p(1576),z=p(5829),U=p(4859),Y=p(3546),K=p(4850),$=p(658),ie=p(5199),ue=p(3390);function he(tt,je){if(1&tt&&C._UZ(0,"qr-code",28),2&tt){const ze=C.oxw();C.Q6J("value",null==ze.offer?null:ze.offer.bolt12)("size",ze.qrWidth)("errorCorrectionLevel","L")}}function ne(tt,je){1&tt&&(C.TgZ(0,"span",29),C._uU(1,"N/A"),C.qZA())}function le(tt,je){if(1&tt&&C._UZ(0,"qr-code",28),2&tt){const ze=C.oxw();C.Q6J("value",null==ze.offer?null:ze.offer.bolt12)("size",ze.qrWidth)("errorCorrectionLevel","L")}}function ee(tt,je){1&tt&&(C.TgZ(0,"span",30),C._uU(1,"QR Code Not Applicable"),C.qZA())}function me(tt,je){1&tt&&C._UZ(0,"mat-divider",31),2&tt&&C.Q6J("inset",!0)}function A(tt,je){1&tt&&C._UZ(0,"mat-divider",19)}function i(tt,je){if(1&tt&&(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&tt){const ze=C.oxw(2);C.xp6(5),C.hij(" ",null!=ze.offer&&ze.offer.used?null!=ze.offer&&ze.offer.used?"Yes":"No":"N/K"," "),C.xp6(5),C.hij(" ",null!=ze.offer&&ze.offer.single_use?null!=ze.offer&&ze.offer.single_use?"Yes":"No":"N/K"," ")}}function a(tt,je){1&tt&&C._UZ(0,"mat-divider",19)}function u(tt,je){if(1&tt&&(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&tt){const ze=C.oxw(2);C.xp6(5),C.Oqu(null==ze.offerDecoded?null:ze.offerDecoded.offer_issuer)}}function l(tt,je){1&tt&&C._UZ(0,"mat-divider",19)}function y(tt,je){if(1&tt&&(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&tt){const ze=C.oxw(2);C.xp6(5),C.Oqu(ze.offer.label)}}function T(tt,je){if(1&tt&&(C.TgZ(0,"div"),C.YNc(1,A,1,0,"mat-divider",32),C.YNc(2,i,11,2,"div",33),C.YNc(3,a,1,0,"mat-divider",32),C.YNc(4,u,6,1,"div",33),C.YNc(5,l,1,0,"mat-divider",32),C.YNc(6,y,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&tt){const ze=C.oxw();C.xp6(1),C.Q6J("ngIf",(null==ze.offer?null:ze.offer.used)||(null==ze.offer?null:ze.offer.single_use)),C.xp6(1),C.Q6J("ngIf",(null==ze.offer?null:ze.offer.used)||(null==ze.offer?null:ze.offer.single_use)),C.xp6(1),C.Q6J("ngIf",null==ze.offerDecoded?null:ze.offerDecoded.issuer),C.xp6(1),C.Q6J("ngIf",null==ze.offerDecoded?null:ze.offerDecoded.issuer),C.xp6(1),C.Q6J("ngIf",ze.offer.label),C.xp6(1),C.Q6J("ngIf",ze.offer.label),C.xp6(7),C.Oqu(ze.offerDecoded.offer_id),C.xp6(7),C.Oqu(null==ze.offerDecoded?null:ze.offerDecoded.offer_node_id)}}function D(tt,je){1&tt&&(C.TgZ(0,"p"),C._uU(1,"Show Advanced"),C.qZA())}function m(tt,je){1&tt&&(C.TgZ(0,"p"),C._uU(1,"Hide Advanced"),C.qZA())}function n(tt,je){if(1&tt){const ze=C.EpF();C.TgZ(0,"button",35),C.NdJ("copied",function(ye){C.CHM(ze);const ce=C.oxw();return C.KtG(ce.onCopyOffer(ye))}),C._uU(1,"Copy Offer"),C.qZA()}if(2&tt){const ze=C.oxw();C.Q6J("payload",null==ze.offer?null:ze.offer.bolt12)}}function v(tt,je){if(1&tt){const ze=C.EpF();C.TgZ(0,"button",36),C.NdJ("click",function(){C.CHM(ze);const ye=C.oxw();return C.KtG(ye.onClose())}),C._uU(1,"OK"),C.qZA()}}const B=function(tt){return{"display-none":tt}},V=function(tt){return{"xs-scroll-y":tt}},X=function(tt,je){return{"mt-2":tt,"mt-1":je}};class De{constructor(je,ze,Le,ye,ce,ve,oe){this.dialogRef=je,this.data=ze,this.logger=Le,this.commonService=ye,this.snackBar=ce,this.store=ve,this.dataService=oe,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 b.x,new b.x,new b.x,new b.x,new b.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,I.R)(this.unSubs[1])).subscribe(je=>{this.offerDecoded=je,this.offerDecoded.offer_id&&!this.offerDecoded.offer_amount_msat?(this.offerDecoded.offer_amount_msat="0msat",this.offerDecoded.offer_amount=0):this.offerDecoded.offer_amount=this.offerDecoded.offer_amount?+this.offerDecoded.offer_amount:this.offerDecoded.offer_amount_msat?+this.offerDecoded.offer_amount_msat.slice(0,-4):null})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyOffer(je){this.snackBar.open("Offer copied."),this.logger.info("Copied Text: "+je)}ngOnDestroy(){this.unSubs.forEach(je=>{je.next(null),je.complete()})}}De.\u0275fac=function(je){return new(je||De)(C.Y36(t.so),C.Y36(t.WI),C.Y36(h.mQ),C.Y36(P.v),C.Y36(d.ux),C.Y36(S.yh),C.Y36(w.D))},De.\u0275cmp=C.Xpm({type:De,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(je,ze){if(1&je&&(C.TgZ(0,"div",0)(1,"div",1),C.YNc(2,he,1,3,"qr-code",2),C.YNc(3,ne,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 ze.onClose()}),C._uU(11,"X"),C.qZA()(),C.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),C.YNc(15,le,1,3,"qr-code",2),C.YNc(16,ee,2,0,"span",13),C.qZA(),C.YNc(17,me,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,T,22,8,"div",21),C.TgZ(45,"div",22)(46,"button",23),C.NdJ("click",function(){return ze.onShowAdvanced()}),C.YNc(47,D,2,0,"p",24),C.YNc(48,m,2,0,"ng-template",null,25,C.W1O),C.qZA(),C.YNc(50,n,2,1,"button",26),C.YNc(51,v,2,0,"button",27),C.qZA()()()()()),2&je){const Le=C.MAs(49);C.xp6(1),C.Q6J("fxLayoutAlign",null!=ze.offer&&ze.offer.bolt12&&""!==(null==ze.offer?null:ze.offer.bolt12)?"center start":"center center")("ngClass",C.VKq(24,B,ze.screenSize===ze.screenSizeEnum.XS||ze.screenSize===ze.screenSizeEnum.SM)),C.xp6(1),C.Q6J("ngIf",(null==ze.offer?null:ze.offer.bolt12)&&""!==(null==ze.offer?null:ze.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=ze.offer&&ze.offer.bolt12)||""===(null==ze.offer?null:ze.offer.bolt12)),C.xp6(4),C.Q6J("icon",ze.faReceipt),C.xp6(2),C.Oqu(ze.screenSize===ze.screenSizeEnum.XS?ze.newlyAdded?"Created":"Offer":ze.newlyAdded?"Offer Created":"Offer Information"),C.xp6(3),C.Q6J("ngClass",C.VKq(26,V,ze.screenSize===ze.screenSizeEnum.XS)),C.xp6(2),C.Q6J("fxLayoutAlign",null!=ze.offer&&ze.offer.bolt12&&""!==(null==ze.offer?null:ze.offer.bolt12)?"center start":"center center")("ngClass",C.VKq(28,B,ze.screenSize!==ze.screenSizeEnum.XS&&ze.screenSize!==ze.screenSizeEnum.SM)),C.xp6(1),C.Q6J("ngIf",(null==ze.offer?null:ze.offer.bolt12)&&""!==(null==ze.offer?null:ze.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=ze.offer&&ze.offer.bolt12)||""===(null==ze.offer?null:ze.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",ze.screenSize===ze.screenSizeEnum.XS||ze.screenSize===ze.screenSizeEnum.SM),C.xp6(6),C.hij(" ",null!=ze.offerDecoded&&ze.offerDecoded.offer_amount_msat&&0!==(null==ze.offerDecoded?null:ze.offerDecoded.offer_amount)?C.lcZ(24,22,(null==ze.offerDecoded?null:ze.offerDecoded.offer_amount)/1e3):"Open Offer"," "),C.xp6(6),C.hij(" ",null!=ze.offerDecoded&&ze.offerDecoded.valid?null!=ze.offerDecoded&&ze.offerDecoded.valid?"Yes":"No":"N/K"," "),C.xp6(7),C.hij(" ",null==ze.offerDecoded?null:ze.offerDecoded.offer_description," "),C.xp6(7),C.Oqu(null==ze.offer?null:ze.offer.bolt12),C.xp6(1),C.Q6J("ngIf",ze.showAdvanced),C.xp6(1),C.Q6J("ngClass",C.WLB(30,X,!ze.showAdvanced,ze.showAdvanced)),C.xp6(2),C.Q6J("ngIf",!ze.showAdvanced)("ngIfElse",Le),C.xp6(3),C.Q6J("ngIf",(null==ze.offer?null:ze.offer.bolt12)&&""!==(null==ze.offer?null:ze.offer.bolt12)),C.xp6(1),C.Q6J("ngIf",!(null!=ze.offer&&ze.offer.bolt12)||""===(null==ze.offer?null:ze.offer.bolt12))}},dependencies:[O.mk,O.O5,E.BN,R.xw,R.Wh,R.yH,z.oO,U.lW,Y.dn,Y.dk,K.d,$.uU,ie.y,ue.h,O.JJ]})},2994:(Ue,q,p)=>{"use strict";p.d(q,{$W:()=>ue,BL:()=>y,Bw:()=>K,CX:()=>S,DJ:()=>de,EK:()=>A,El:()=>ne,Fd:()=>I,GD:()=>me,HG:()=>ie,HI:()=>m,Iy:()=>tt,Lf:()=>De,Nr:()=>Le,OG:()=>T,On:()=>$,QZ:()=>b,RX:()=>O,SN:()=>w,Sf:()=>oe,TM:()=>V,TW:()=>z,UR:()=>E,WM:()=>ze,WO:()=>n,YP:()=>ce,YX:()=>u,Z$:()=>ye,Z8:()=>he,Zr:()=>s,_E:()=>i,aL:()=>ve,cQ:()=>D,eF:()=>P,eN:()=>R,i:()=>U,iL:()=>Y,iz:()=>d,kL:()=>v,mC:()=>X,n7:()=>Ke,oV:()=>B,pW:()=>l,pd:()=>h,ti:()=>Ce,wD:()=>C});var t=p(9653),e=p(7731);const b=(0,t.PH)(e.lr.UPDATE_API_CALL_STATUS_ECL,(0,t.Ky)()),I=(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)()),S=(0,t.PH)(e.lr.SET_INFO_ECL,(0,t.Ky)()),w=(0,t.PH)(e.lr.FETCH_FEES_ECL),O=(0,t.PH)(e.lr.SET_FEES_ECL,(0,t.Ky)()),E=(0,t.PH)(e.lr.FETCH_CHANNELS_ECL,(0,t.Ky)()),R=(0,t.PH)(e.lr.SET_ACTIVE_CHANNELS_ECL,(0,t.Ky)()),z=(0,t.PH)(e.lr.SET_PENDING_CHANNELS_ECL,(0,t.Ky)()),U=(0,t.PH)(e.lr.SET_INACTIVE_CHANNELS_ECL,(0,t.Ky)()),Y=(0,t.PH)(e.lr.FETCH_ONCHAIN_BALANCE_ECL),K=(0,t.PH)(e.lr.SET_ONCHAIN_BALANCE_ECL,(0,t.Ky)()),$=(0,t.PH)(e.lr.SET_LIGHTNING_BALANCE_ECL,(0,t.Ky)()),ie=(0,t.PH)(e.lr.SET_CHANNELS_STATUS_ECL,(0,t.Ky)()),ue=(0,t.PH)(e.lr.FETCH_PEERS_ECL),he=(0,t.PH)(e.lr.SET_PEERS_ECL,(0,t.Ky)()),ne=(0,t.PH)(e.lr.SAVE_NEW_PEER_ECL,(0,t.Ky)()),me=((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)())),A=(0,t.PH)(e.lr.REMOVE_PEER_ECL,(0,t.Ky)()),i=(0,t.PH)(e.lr.GET_NEW_ADDRESS_ECL),u=((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)()),T=(0,t.PH)(e.lr.REMOVE_CHANNEL_ECL,(0,t.Ky)()),D=(0,t.PH)(e.lr.FETCH_PAYMENTS_ECL),m=(0,t.PH)(e.lr.SET_PAYMENTS_ECL,(0,t.Ky)()),n=(0,t.PH)(e.lr.GET_QUERY_ROUTES_ECL,(0,t.Ky)()),v=(0,t.PH)(e.lr.SET_QUERY_ROUTES_ECL,(0,t.Ky)()),B=(0,t.PH)(e.lr.SEND_PAYMENT_ECL,(0,t.Ky)()),V=(0,t.PH)(e.lr.SEND_PAYMENT_STATUS_ECL,(0,t.Ky)()),X=(0,t.PH)(e.lr.FETCH_TRANSACTIONS_ECL),De=(0,t.PH)(e.lr.SET_TRANSACTIONS_ECL,(0,t.Ky)()),tt=(0,t.PH)(e.lr.SEND_ONCHAIN_FUNDS_ECL,(0,t.Ky)()),ze=((0,t.PH)(e.lr.SEND_ONCHAIN_FUNDS_RES_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.FETCH_INVOICES_ECL)),Le=(0,t.PH)(e.lr.SET_INVOICES_ECL,(0,t.Ky)()),ye=(0,t.PH)(e.lr.CREATE_INVOICE_ECL,(0,t.Ky)()),ce=(0,t.PH)(e.lr.ADD_INVOICE_ECL,(0,t.Ky)()),ve=(0,t.PH)(e.lr.UPDATE_INVOICE_ECL,(0,t.Ky)()),oe=(0,t.PH)(e.lr.PEER_LOOKUP_ECL,(0,t.Ky)()),Ke=(0,t.PH)(e.lr.INVOICE_LOOKUP_ECL,(0,t.Ky)()),de=((0,t.PH)(e.lr.SET_LOOKUP_ECL,(0,t.Ky)()),(0,t.PH)(e.lr.UPDATE_CHANNEL_STATE_ECL,(0,t.Ky)())),Ce=(0,t.PH)(e.lr.UPDATE_RELAYED_PAYMENT_ECL,(0,t.Ky)())},3289:(Ue,q,p)=>{"use strict";p.d(q,{o:()=>ne});var t=p(493),e=p(7579),b=p(9646),I=p(5577),s=p(2722),C=p(4004),h=p(262),P=p(1786),d=p(7731),S=p(7861),w=p(7766),O=p(2994),E=p(2501),R=p(4650),z=p(529),U=p(9653),Y=p(5986),K=p(62),$=p(5043),ie=p(9116),ue=p(7998),he=p(6895);class ne{constructor(ee,me,A,i,a,u,l,y,T){this.actions=ee,this.httpClient=me,this.store=A,this.sessionService=i,this.commonService=a,this.logger=u,this.router=l,this.wsService=y,this.location=T,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,I.z)(D=>(this.flgInitialized=!1,this.store.dispatch((0,S.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,S.ac)({payload:d.m6.GET_NODE_INFO})),this.store.dispatch((0,O.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)(m=>(this.logger.info(m),this.initializeRemainingData(m,D.payload.loadPage),this.store.dispatch((0,O.QZ)({payload:{action:"FetchInfo",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.GET_NODE_INFO})),{type:d.lr.SET_INFO_ECL,payload:m||{}})),(0,h.K)(m=>{const n=this.commonService.extractErrorCode(m),v=503===n?"Unable to Connect to Eclair Server.":this.commonService.extractErrorMessage(m);return this.router.navigate(["/error"],{state:{errorCode:n,errorMessage:v}}),this.handleErrorWithoutAlert("FetchInfo",d.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:n,error:v}),(0,b.of)({type:d.pg.VOID})})))))),this.fetchFees=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_FEES_ECL),(0,I.z)(()=>(this.store.dispatch((0,O.QZ)({payload:{action:"FetchFees",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.FEES_API+"/fees").pipe((0,C.U)(D=>(this.logger.info(D),this.store.dispatch((0,O.QZ)({payload:{action:"FetchFees",status:d.Bn.COMPLETED}})),{type:d.lr.SET_FEES_ECL,payload:D||{}})),(0,h.K)(D=>(this.handleErrorWithoutAlert("FetchFees",d.m6.NO_SPINNER,"Fetching Fees Failed.",D),(0,b.of)({type:d.pg.VOID})))))))),this.fetchPayments=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_PAYMENTS_ECL),(0,I.z)(()=>(this.store.dispatch((0,O.QZ)({payload:{action:"FetchPayments",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.FEES_API+"/payments").pipe((0,C.U)(D=>(this.logger.info(D),this.store.dispatch((0,O.QZ)({payload:{action:"FetchPayments",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAYMENTS_ECL,payload:D||{}})),(0,h.K)(D=>(this.handleErrorWithoutAlert("FetchPayments",d.m6.NO_SPINNER,"Fetching Payments Failed.",D),(0,b.of)({type:d.pg.VOID})))))))),this.channelsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_CHANNELS_ECL),(0,I.z)(D=>(this.store.dispatch((0,O.QZ)({payload:{action:"FetchChannels",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.CHANNELS_API).pipe((0,C.U)(m=>(this.logger.info(m),this.rawChannelsList=m,this.setChannelsAndStatusAndBalances(),this.store.dispatch((0,O.QZ)({payload:{action:"FetchChannels",status:d.Bn.COMPLETED}})),D.payload&&D.payload.fetchPayments&&this.store.dispatch((0,O.cQ)()),{type:d.pg.VOID})),(0,h.K)(m=>(this.handleErrorWithoutAlert("FetchChannels",d.m6.NO_SPINNER,"Fetching Channels Failed.",m),(0,b.of)({type:d.pg.VOID})))))))),this.fetchOnchainBalance=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_ONCHAIN_BALANCE_ECL),(0,I.z)(()=>(this.store.dispatch((0,O.QZ)({payload:{action:"FetchOnchainBalance",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API+"/balance"))),(0,C.U)(D=>(this.logger.info(D),this.store.dispatch((0,O.QZ)({payload:{action:"FetchOnchainBalance",status:d.Bn.COMPLETED}})),{type:d.lr.SET_ONCHAIN_BALANCE_ECL,payload:D||{}})),(0,h.K)(D=>(this.handleErrorWithoutAlert("FetchOnchainBalance",d.m6.NO_SPINNER,"Fetching Onchain Balances Failed.",D),(0,b.of)({type:d.pg.VOID}))))),this.peersFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_PEERS_ECL),(0,I.z)(()=>(this.store.dispatch((0,O.QZ)({payload:{action:"FetchPeers",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.PEERS_API).pipe((0,C.U)(D=>(this.logger.info(D),this.store.dispatch((0,O.QZ)({payload:{action:"FetchPeers",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PEERS_ECL,payload:D||[]})),(0,h.K)(D=>(this.handleErrorWithoutAlert("FetchPeers",d.m6.NO_SPINNER,"Fetching Peers Failed.",D),(0,b.of)({type:d.pg.VOID})))))))),this.getNewAddress=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.GET_NEW_ADDRESS_ECL),(0,I.z)(()=>(this.store.dispatch((0,S.ac)({payload:d.m6.GENERATE_NEW_ADDRESS})),this.httpClient.get(this.CHILD_API_URL+d.vv.ON_CHAIN_API).pipe((0,C.U)(D=>(this.logger.info(D),this.store.dispatch((0,S.uO)({payload:d.m6.GENERATE_NEW_ADDRESS})),{type:d.lr.SET_NEW_ADDRESS_ECL,payload:D})),(0,h.K)(D=>(this.handleErrorWithAlert("GetNewAddress",d.m6.GENERATE_NEW_ADDRESS,"Generate New Address Failed",this.CHILD_API_URL+d.vv.ON_CHAIN_API,D),(0,b.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)(D=>(this.logger.info(D.payload),D.payload))),{dispatch:!1}),this.saveNewPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SAVE_NEW_PEER_ECL),(0,I.z)(D=>(this.store.dispatch((0,S.ac)({payload:d.m6.CONNECT_PEER})),this.store.dispatch((0,O.QZ)({payload:{action:"SaveNewPeer",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.PEERS_API+(D.payload.id.includes("@")?"?uri=":"?nodeId=")+D.payload.id,{}).pipe((0,C.U)(m=>(this.logger.info(m),this.store.dispatch((0,O.QZ)({payload:{action:"SaveNewPeer",status:d.Bn.COMPLETED}})),m=m||[],this.store.dispatch((0,S.uO)({payload:d.m6.CONNECT_PEER})),this.store.dispatch((0,O.Z8)({payload:m})),{type:d.lr.NEWLY_ADDED_PEER_ECL,payload:{peer:m.find(n=>n.nodeId===(D.payload.id.includes("@")?D.payload.id.substring(0,D.payload.id.indexOf("@")):D.payload.id))}})),(0,h.K)(m=>(this.handleErrorWithoutAlert("SaveNewPeer",d.m6.CONNECT_PEER,"Peer Connection Failed.",m),(0,b.of)({type:d.pg.VOID})))))))),this.detachPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.DETACH_PEER_ECL),(0,I.z)(D=>(this.store.dispatch((0,S.ac)({payload:d.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+d.vv.PEERS_API+"/"+D.payload.nodeId).pipe((0,C.U)(m=>(this.logger.info(m),this.store.dispatch((0,S.uO)({payload:d.m6.DISCONNECT_PEER})),this.store.dispatch((0,S.jW)({payload:"Disconnecting Peer!"})),{type:d.lr.REMOVE_PEER_ECL,payload:{nodeId:D.payload.nodeId}})),(0,h.K)(m=>(this.handleErrorWithAlert("DisconnectPeer",d.m6.DISCONNECT_PEER,"Unable to Detach Peer. Try again later.",this.CHILD_API_URL+d.vv.PEERS_API+"/"+D.payload.nodeId,m),(0,b.of)({type:d.pg.VOID})))))))),this.openNewChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SAVE_NEW_CHANNEL_ECL),(0,I.z)(D=>{this.store.dispatch((0,S.ac)({payload:d.m6.OPEN_CHANNEL})),this.store.dispatch((0,O.QZ)({payload:{action:"SaveNewChannel",status:d.Bn.INITIATED}}));const m={nodeId:D.payload.nodeId,fundingSatoshis:D.payload.amount,announceChannel:!D.payload.private};return D.payload.feeRate&&D.payload.feeRate>0&&(m.fundingFeerateSatByte=D.payload.feeRate),this.httpClient.post(this.CHILD_API_URL+d.vv.CHANNELS_API,m).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,O.QZ)({payload:{action:"SaveNewChannel",status:d.Bn.COMPLETED}})),this.store.dispatch((0,O.$W)()),this.store.dispatch((0,O.iL)()),this.store.dispatch((0,S.uO)({payload:d.m6.OPEN_CHANNEL})),this.store.dispatch((0,S.jW)({payload:"Channel Added Successfully!"})),{type:d.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,h.K)(n=>(this.handleErrorWithoutAlert("SaveNewChannel",d.m6.OPEN_CHANNEL,"Opening Channel Failed.",n),(0,b.of)({type:d.pg.VOID}))))}))),this.updateChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.UPDATE_CHANNEL_ECL),(0,I.z)(D=>{this.store.dispatch((0,S.ac)({payload:d.m6.UPDATE_CHAN_POLICY}));let m="?feeBaseMsat="+D.payload.baseFeeMsat+"&feeProportionalMillionths="+D.payload.feeRate;return m=D.payload.nodeIds?m+"&nodeIds="+D.payload.nodeIds:D.payload.nodeId?m+"&nodeId="+D.payload.nodeId:D.payload.channelIds?m+"&channelIds="+D.payload.channelIds:m+"&channelId="+D.payload.channelId,this.httpClient.post(this.CHILD_API_URL+d.vv.CHANNELS_API+"/updateRelayFee"+m,{}).pipe((0,C.U)(n=>(this.logger.info(n),this.store.dispatch((0,S.uO)({payload:d.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,S.jW)(D.payload.nodeIds||D.payload.channelIds?{payload:"Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:d.lr.FETCH_CHANNELS_ECL,payload:{fetchPayments:!1}})),(0,h.K)(n=>(this.handleErrorWithAlert("UpdateChannels",d.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+d.vv.CHANNELS_API,n),(0,b.of)({type:d.pg.VOID}))))}))),this.closeChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.CLOSE_CHANNEL_ECL),(0,I.z)(D=>(this.store.dispatch((0,S.ac)({payload:D.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL})),this.httpClient.delete(this.CHILD_API_URL+d.vv.CHANNELS_API+"?channelId="+D.payload.channelId+"&force="+D.payload.force).pipe((0,C.U)(m=>(this.logger.info(m),setTimeout(()=>{this.store.dispatch((0,S.uO)({payload:D.payload.force?d.m6.FORCE_CLOSE_CHANNEL:d.m6.CLOSE_CHANNEL})),this.store.dispatch((0,O.UR)({payload:{fetchPayments:!1}})),this.store.dispatch((0,S.jW)({payload:D.payload.force?"Channel Force Closed Successfully!":"Channel Closed Successfully!"}))},2e3),{type:d.pg.VOID})),(0,h.K)(m=>(this.handleErrorWithAlert("CloseChannel",D.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,m),(0,b.of)({type:d.pg.VOID})))))))),this.queryRoutesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.GET_QUERY_ROUTES_ECL),(0,I.z)(D=>this.httpClient.get(this.CHILD_API_URL+d.vv.PAYMENTS_API+"/route?nodeId="+D.payload.nodeId+"&amountMsat="+D.payload.amount).pipe((0,C.U)(m=>(this.logger.info(m),{type:d.lr.SET_QUERY_ROUTES_ECL,payload:m})),(0,h.K)(m=>(this.store.dispatch((0,O.kL)({payload:[]})),this.handleErrorWithAlert("GetQueryRoutes",d.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+d.vv.PAYMENTS_API+"/route?nodeId="+D.payload.nodeId+"&amountMsat="+D.payload.amount,m),(0,b.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)(D=>D.payload)),{dispatch:!1}),this.sendPayment=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SEND_PAYMENT_ECL),(0,I.z)(D=>(this.flgReceivedPaymentUpdateFromWS=!1,this.latestPaymentRes="",this.store.dispatch((0,S.ac)({payload:d.m6.SEND_PAYMENT})),this.store.dispatch((0,O.QZ)({payload:{action:"SendPayment",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.PAYMENTS_API,D.payload).pipe((0,C.U)(m=>(this.logger.info(m),this.latestPaymentRes=m,setTimeout(()=>{this.flgReceivedPaymentUpdateFromWS||this.handleSendPaymentStatus("Payment Submitted!")},3e3),{type:d.pg.VOID})),(0,h.K)(m=>(this.logger.error("Error: "+JSON.stringify(m)),D.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",d.m6.SEND_PAYMENT,"Send Payment Failed.",m):this.handleErrorWithAlert("SendPayment",d.m6.SEND_PAYMENT,"Send Payment Failed",this.CHILD_API_URL+d.vv.PAYMENTS_API,m),(0,b.of)({type:d.pg.VOID})))))))),this.transactionsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_TRANSACTIONS_ECL),(0,I.z)(()=>(this.store.dispatch((0,O.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)(D=>(this.logger.info(D),this.store.dispatch((0,O.QZ)({payload:{action:"FetchTransactions",status:d.Bn.COMPLETED}})),{type:d.lr.SET_TRANSACTIONS_ECL,payload:D||[]})),(0,h.K)(D=>(this.handleErrorWithoutAlert("FetchTransactions",d.m6.NO_SPINNER,"Fetching Transactions Failed.",D),(0,b.of)({type:d.pg.VOID}))))),this.SendOnchainFunds=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SEND_ONCHAIN_FUNDS_ECL),(0,I.z)(D=>(this.store.dispatch((0,S.ac)({payload:d.m6.SEND_FUNDS})),this.store.dispatch((0,O.QZ)({payload:{action:"SendOnchainFunds",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.ON_CHAIN_API,D.payload).pipe((0,C.U)(m=>(this.logger.info(m),this.store.dispatch((0,O.QZ)({payload:{action:"SendOnchainFunds",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.SEND_FUNDS})),this.store.dispatch((0,O.iL)()),{type:d.lr.SEND_ONCHAIN_FUNDS_RES_ECL,payload:m})),(0,h.K)(m=>(this.handleErrorWithoutAlert("SendOnchainFunds",d.m6.SEND_FUNDS,"Sending Fund Failed.",m),(0,b.of)({type:d.pg.VOID})))))))),this.createInvoice=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.CREATE_INVOICE_ECL),(0,I.z)(D=>(this.store.dispatch((0,S.ac)({payload:d.m6.CREATE_INVOICE})),this.store.dispatch((0,O.QZ)({payload:{action:"CreateInvoice",status:d.Bn.INITIATED}})),this.httpClient.post(this.CHILD_API_URL+d.vv.INVOICES_API,D.payload).pipe((0,C.U)(m=>(this.logger.info(m),this.store.dispatch((0,O.QZ)({payload:{action:"CreateInvoice",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.CREATE_INVOICE})),m.timestamp=Math.round((new Date).getTime()/1e3),m.expiresAt=Math.round(m.timestamp+D.payload.expireIn),m.description=D.payload.description,m.status="unpaid",setTimeout(()=>{this.store.dispatch((0,S.qR)({payload:{data:{invoice:m,newlyAdded:!0,component:w.R}}}))},200),{type:d.lr.ADD_INVOICE_ECL,payload:m})),(0,h.K)(m=>(this.handleErrorWithoutAlert("CreateInvoice",d.m6.CREATE_INVOICE,"Create Invoice Failed.",m),(0,b.of)({type:d.pg.VOID})))))))),this.invoicesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_INVOICES_ECL),(0,I.z)(()=>(this.store.dispatch((0,O.QZ)({payload:{action:"FetchInvoices",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.INVOICES_API).pipe((0,C.U)(D=>(this.logger.info(D),this.store.dispatch((0,O.QZ)({payload:{action:"FetchInvoices",status:d.Bn.COMPLETED}})),{type:d.lr.SET_INVOICES_ECL,payload:D})),(0,h.K)(D=>(this.handleErrorWithoutAlert("FetchInvoices",d.m6.NO_SPINNER,"Fetching Invoices Failed.",D),(0,b.of)({type:d.pg.VOID})))))))),this.peerLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.PEER_LOOKUP_ECL),(0,I.z)(D=>(this.store.dispatch((0,S.ac)({payload:d.m6.SEARCHING_NODE})),this.store.dispatch((0,O.QZ)({payload:{action:"Lookup",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.NETWORK_API+"/nodes/"+D.payload).pipe((0,C.U)(m=>(this.logger.info(m),this.store.dispatch((0,O.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.SEARCHING_NODE})),{type:d.lr.SET_LOOKUP_ECL,payload:m})),(0,h.K)(m=>(this.handleErrorWithAlert("Lookup",d.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+d.vv.NETWORK_API+"/nodes/"+D.payload,m),(0,b.of)({type:d.pg.VOID})))))))),this.invoiceLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.INVOICE_LOOKUP_ECL),(0,I.z)(D=>(this.store.dispatch((0,S.ac)({payload:d.m6.SEARCHING_INVOICE})),this.store.dispatch((0,O.QZ)({payload:{action:"Lookup",status:d.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+d.vv.INVOICES_API+"/"+D.payload).pipe((0,C.U)(m=>(this.logger.info(m),this.store.dispatch((0,O.QZ)({payload:{action:"Lookup",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.SEARCHING_INVOICE})),this.store.dispatch((0,O.aL)({payload:m})),{type:d.lr.SET_LOOKUP_ECL,payload:m})),(0,h.K)(m=>(this.handleErrorWithoutAlert("Lookup",d.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",m),this.store.dispatch((0,S.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,b.of)({type:d.pg.VOID})))))))),this.setLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SET_LOOKUP_ECL),(0,C.U)(D=>(this.logger.info(D.payload),D.payload))),{dispatch:!1}),this.pageSettingsFetchCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.FETCH_PAGE_SETTINGS_ECL),(0,I.z)(()=>(this.store.dispatch((0,O.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.INITIATED}})),this.httpClient.get(d.vv.PAGE_SETTINGS_API).pipe((0,C.U)(D=>(this.logger.info(D),this.store.dispatch((0,O.QZ)({payload:{action:"FetchPageSettings",status:d.Bn.COMPLETED}})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:D||[]})),(0,h.K)(D=>(this.handleErrorWithoutAlert("FetchPageSettings",d.m6.NO_SPINNER,"Fetching Page Settings Failed.",D),(0,b.of)({type:d.pg.VOID})))))))),this.savePageSettingsCL=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(d.lr.SAVE_PAGE_SETTINGS_ECL),(0,I.z)(D=>(this.store.dispatch((0,S.ac)({payload:d.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,O.QZ)({payload:{action:"SavePageSettings",status:d.Bn.INITIATED}})),this.httpClient.post(d.vv.PAGE_SETTINGS_API,D.payload).pipe((0,C.U)(m=>(this.logger.info(m),this.store.dispatch((0,O.QZ)({payload:{action:"SavePageSettings",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,S.jW)({payload:"Page Layout Updated Successfully!"})),{type:d.lr.SET_PAGE_SETTINGS_ECL,payload:m||[]})),(0,h.K)(m=>(this.handleErrorWithAlert("SavePageSettings",d.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",d.vv.PAGE_SETTINGS_API,m),(0,b.of)({type:d.pg.VOID})))))))),this.handleSendPaymentStatus=D=>{this.store.dispatch((0,O.QZ)({payload:{action:"SendPayment",status:d.Bn.COMPLETED}})),this.store.dispatch((0,S.uO)({payload:d.m6.SEND_PAYMENT})),this.store.dispatch((0,O.TM)({payload:this.latestPaymentRes})),this.store.dispatch((0,O.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,S.jW)({payload:D}))},this.store.select(E.yA).pipe((0,s.R)(this.unSubs[0])).subscribe(D=>{D.FetchInfo.status!==d.Bn.COMPLETED&&D.FetchInfo.status!==d.Bn.ERROR||D.FetchFees.status!==d.Bn.COMPLETED&&D.FetchFees.status!==d.Bn.ERROR||D.FetchOnchainBalance.status!==d.Bn.COMPLETED&&D.FetchOnchainBalance.status!==d.Bn.ERROR||D.FetchChannels.status!==d.Bn.COMPLETED&&D.FetchChannels.status!==d.Bn.ERROR||this.flgInitialized||(this.store.dispatch((0,S.uO)({payload:d.m6.INITALIZE_NODE_DATA})),this.flgInitialized=!0)}),this.wsService.eclWSMessages.pipe((0,s.R)(this.unSubs[1])).subscribe(D=>{this.logger.info("Received new message from the service: "+JSON.stringify(D));let m="";if(D)switch(D.type){case d.$v.PAYMENT_SENT:D&&D.id&&this.latestPaymentRes===D.id&&(this.flgReceivedPaymentUpdateFromWS=!0,m="Payment Sent: "+(D.paymentHash?"with payment hash "+D.paymentHash:JSON.stringify(D)),this.handleSendPaymentStatus(m));break;case d.$v.PAYMENT_FAILED:D&&D.id&&this.latestPaymentRes===D.id&&(this.flgReceivedPaymentUpdateFromWS=!0,m="Payment Failed: "+(D.failures&&D.failures.length&&D.failures.length>0&&D.failures[0].t?D.failures[0].t:D.failures&&D.failures.length&&D.failures.length>0&&D.failures[0].e&&D.failures[0].e.failureMessage?D.failures[0].e.failureMessage:JSON.stringify(D)),this.handleSendPaymentStatus(m));break;case d.$v.PAYMENT_RECEIVED:this.store.dispatch((0,O.aL)({payload:D}));break;case d.$v.PAYMENT_RELAYED:delete D.source,D.amountIn=Math.round((D.amountIn||0)/1e3),D.amountOut=Math.round((D.amountOut||0)/1e3),D.timestamp.unix&&(D.timestamp=1e3*D.timestamp.unix),this.store.dispatch((0,O.ti)({payload:D}));break;case d.$v.CHANNEL_STATE_CHANGED:"NORMAL"===D.currentState||"CLOSED"===D.currentState?(this.rawChannelsList=this.rawChannelsList?.map(n=>(n.channelId===D.channelId&&n.nodeId===D.remoteNodeId&&(n.state=D.currentState),n)),this.setChannelsAndStatusAndBalances()):this.store.dispatch((0,O.DJ)({payload:D}));break;default:this.logger.info("Received Event from WS: "+JSON.stringify(D))}})}setChannelsAndStatusAndBalances(){let ee=0,me=0,A=0,i={localBalance:0,remoteBalance:0},a=[];const u=[],l=[],y={active:{channels:0,capacity:0},inactive:{channels:0,capacity:0},pending:{channels:0,capacity:0}};this.rawChannelsList.forEach((T,D)=>{T&&("NORMAL"===T.state?(ee=(T.toLocal||0)+(T.toRemote||0),me+=T.toLocal||0,A+=T.toRemote||0,T.balancedness=0===ee?1:+(1-Math.abs(((T.toLocal||0)-(T.toRemote||0))/ee)).toFixed(3),a.push(T),y.active.channels=y.active.channels+1,y.active.capacity=y.active.capacity+(T.toLocal||0)):T.state?.includes("WAIT")||T.state?.includes("CLOSING")||T.state?.includes("SYNCING")?(T.state=T.state?.replace(/_/g," "),u.push(T),y.pending.channels=y.pending.channels+1,y.pending.capacity=y.pending.capacity+(T.toLocal||0)):(T.state=T.state?.replace(/_/g," "),l.push(T),y.inactive.channels=y.inactive.channels+1,y.inactive.capacity=y.inactive.capacity+(T.toLocal||0)))}),i={localBalance:me,remoteBalance:A},a=this.commonService.sortDescByKey(a,"balancedness"),this.logger.info("Active Channels: "+JSON.stringify(a)),this.logger.info("Pending Channels: "+JSON.stringify(u)),this.logger.info("Inactive Channels: "+JSON.stringify(l)),this.logger.info("Lightning Balances: "+JSON.stringify(i)),this.logger.info("Channels Status: "+JSON.stringify(y)),this.logger.info("Channel, status and balances: "+JSON.stringify({active:a,pending:u,inactive:l,balances:i,status:y})),this.store.dispatch((0,O.eN)({payload:a})),this.store.dispatch((0,O.TW)({payload:u})),this.store.dispatch((0,O.i)({payload:l})),this.store.dispatch((0,O.On)({payload:i})),this.store.dispatch((0,O.HG)({payload:y}))}initializeRemainingData(ee,me){this.sessionService.setItem("eclUnlocked","true");const A={identity_pubkey:ee.nodeId,alias:ee.alias,testnet:"testnet"===ee.network,chains:ee.publicAddresses,uris:ee.uris,version:ee.version,numberOfPendingChannels:0};this.store.dispatch((0,S.ac)({payload:d.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,S._V)({payload:A}));let i=this.location.path();i.includes("/lnd/")?i=i?.replace("/lnd/","/ecl/"):i.includes("/cln/")&&(i=i?.replace("/cln/","/ecl/")),(i.includes("/login")||i.includes("/error")||""===i||"HOME"===me||i.includes("?access-key="))&&(i="/ecl/home"),this.router.navigate([i]),this.store.dispatch((0,O.wD)()),this.store.dispatch((0,O.WM)()),this.store.dispatch((0,O.UR)({payload:{fetchPayments:!0}})),this.store.dispatch((0,O.SN)()),this.store.dispatch((0,O.iL)()),this.store.dispatch((0,O.$W)())}handleErrorWithoutAlert(ee,me,A,i){this.logger.error("ERROR IN: "+ee+"\n"+JSON.stringify(i)),401===i.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,S.ts)()),this.store.dispatch((0,S.kS)()),this.store.dispatch((0,S.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,S.uO)({payload:me})),this.store.dispatch((0,O.QZ)({payload:{action:ee,status:d.Bn.ERROR,statusCode:i.status.toString(),message:this.commonService.extractErrorMessage(i,A)}})))}handleErrorWithAlert(ee,me,A,i,a){if(this.logger.error(a),401===a.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,S.ts)()),this.store.dispatch((0,S.kS)()),this.store.dispatch((0,S.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,S.uO)({payload:me}));const u=this.commonService.extractErrorMessage(a);this.store.dispatch((0,S.qR)({payload:{data:{type:"ERROR",alertTitle:A,message:{code:a.status,message:u,URL:i},component:P.H}}})),this.store.dispatch((0,O.QZ)({payload:{action:ee,status:d.Bn.ERROR,statusCode:a.status.toString(),message:u,URL:i}}))}}ngOnDestroy(){this.unSubs.forEach(ee=>{ee.next(null),ee.complete()})}}ne.\u0275fac=function(ee){return new(ee||ne)(R.LFG(t.eX),R.LFG(z.eN),R.LFG(U.yh),R.LFG(Y.m),R.LFG(K.v),R.LFG($.mQ),R.LFG(ie.F0),R.LFG(ue.d),R.LFG(he.Ye))},ne.\u0275prov=R.Yz7({token:ne,factory:ne.\u0275fac})},2501:(Ue,q,p)=>{"use strict";p.d(q,{Bo:()=>Y,Ef:()=>U,JG:()=>S,LR:()=>b,PP:()=>d,T$:()=>C,Xz:()=>R,dx:()=>z,kY:()=>K,nF:()=>I,yA:()=>P,yD:()=>s});var t=p(9653);const e=(0,t.ZF)("ecl"),b=(0,t.P1)(e,$=>$.nodeSettings),I=(0,t.P1)(e,$=>({pageSettings:$.pageSettings,apiCallStatus:$.apisCallStatus.FetchPageSettings})),s=(0,t.P1)(e,$=>$.information),C=(0,t.P1)(e,$=>({information:$.information,apiCallStatus:$.apisCallStatus.FetchInfo})),P=((0,t.P1)(e,$=>$.apisCallStatus.FetchInfo),(0,t.P1)(e,$=>$.apisCallStatus)),d=(0,t.P1)(e,$=>({payments:$.payments,apiCallStatus:$.apisCallStatus.FetchPayments})),S=(0,t.P1)(e,$=>({fees:$.fees,apiCallStatus:$.apisCallStatus.FetchFees})),R=((0,t.P1)(e,$=>({activeChannels:$.activeChannels,apiCallStatus:$.apisCallStatus.FetchChannels})),(0,t.P1)(e,$=>({pendingChannels:$.pendingChannels,apiCallStatus:$.apisCallStatus.FetchChannels})),(0,t.P1)(e,$=>({inactiveChannels:$.inactiveChannels,apiCallStatus:$.apisCallStatus.FetchChannels})),(0,t.P1)(e,$=>({activeChannels:$.activeChannels,pendingChannels:$.pendingChannels,inactiveChannels:$.inactiveChannels,lightningBalance:$.lightningBalance,channelsStatus:$.channelsStatus,apiCallStatus:$.apisCallStatus.FetchChannels}))),z=(0,t.P1)(e,$=>({transactions:$.transactions,apiCallStatus:$.apisCallStatus.FetchTransactions})),U=(0,t.P1)(e,$=>({invoices:$.invoices,apiCallStatus:$.apisCallStatus.FetchInvoices})),Y=(0,t.P1)(e,$=>({peers:$.peers,apiCallStatus:$.apisCallStatus.FetchPeers})),K=(0,t.P1)(e,$=>({onchainBalance:$.onchainBalance,apiCallStatus:$.apisCallStatus.FetchOnchainBalance}))},7766:(Ue,q,p)=>{"use strict";p.d(q,{R:()=>Le});var t=p(5412),e=p(2687),b=p(7579),I=p(2722),s=p(7731),C=p(2501),h=p(4650),P=p(5043),d=p(62),S=p(7009),w=p(9653),O=p(6895),E=p(2216),R=p(1576),z=p(5829),U=p(4859),Y=p(3546),K=p(4850),$=p(1572),ie=p(658),ue=p(5199),he=p(3390);function ne(ye,ce){if(1&ye&&h._UZ(0,"qr-code",29),2&ye){const ve=h.oxw();h.Q6J("value",null==ve.invoice?null:ve.invoice.serialized)("size",ve.qrWidth)("errorCorrectionLevel","L")}}function le(ye,ce){1&ye&&(h.TgZ(0,"span",30),h._uU(1,"N/A"),h.qZA())}function ee(ye,ce){if(1&ye&&h._UZ(0,"qr-code",29),2&ye){const ve=h.oxw();h.Q6J("value",null==ve.invoice?null:ve.invoice.serialized)("size",ve.qrWidth)("errorCorrectionLevel","L")}}function me(ye,ce){1&ye&&(h.TgZ(0,"span",31),h._uU(1,"QR Code Not Applicable"),h.qZA())}function A(ye,ce){1&ye&&h._UZ(0,"mat-divider",32),2&ye&&h.Q6J("inset",!0)}function i(ye,ce){1&ye&&(h.ynx(0),h._uU(1," (zero amount) "),h.BQk())}function a(ye,ce){1&ye&&h._UZ(0,"span",38)}const u=function(){return[]};function l(ye,ce){if(1&ye&&(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&ye){const ve=h.oxw(2);h.xp6(3),h.hij("",h.lcZ(4,2,null==ve.invoice?null:ve.invoice.amountSettled)," Sats"),h.xp6(2),h.Q6J("ngForOf",h.DdM(4,u).constructor(35))}}function y(ye,ce){if(1&ye&&(h.TgZ(0,"div"),h._uU(1),h.ALo(2,"number"),h.qZA()),2&ye){const ve=h.oxw(2);h.xp6(1),h.hij("",h.lcZ(2,1,null==ve.invoice?null:ve.invoice.amountSettled)," Sats")}}function T(ye,ce){if(1&ye&&(h.ynx(0),h.YNc(1,l,6,5,"div",33),h.YNc(2,y,3,3,"div",19),h.BQk()),2&ye){const ve=h.oxw();h.xp6(1),h.Q6J("ngIf",ve.flgInvoicePaid),h.xp6(1),h.Q6J("ngIf",!ve.flgInvoicePaid)}}function D(ye,ce){1&ye&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function m(ye,ce){1&ye&&h._UZ(0,"mat-spinner",40),2&ye&&h.Q6J("diameter",20)}function n(ye,ce){if(1&ye&&(h.ynx(0),h.YNc(1,D,2,0,"span",19),h.YNc(2,m,1,1,"mat-spinner",39),h.BQk()),2&ye){const ve=h.oxw();h.xp6(1),h.Q6J("ngIf","unpaid"!==(null==ve.invoice?null:ve.invoice.status)||!ve.flgVersionCompatible),h.xp6(1),h.Q6J("ngIf","unpaid"===(null==ve.invoice?null:ve.invoice.status)&&ve.flgVersionCompatible)}}function v(ye,ce){if(1&ye&&(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&ye){const ve=h.oxw();h.xp6(7),h.Oqu(h.xi3(8,4,1e3*(null==ve.invoice?null:ve.invoice.expiresAt),"dd/MMM/y HH:mm")),h.xp6(6),h.Oqu(h.xi3(14,7,1e3*(null==ve.invoice?null:ve.invoice.receivedAt),"dd/MMM/y HH:mm")),h.xp6(8),h.Oqu(null==ve.invoice?null:ve.invoice.paymentHash),h.xp6(7),h.Oqu(null==ve.invoice?null:ve.invoice.nodeId)}}function B(ye,ce){1&ye&&(h.TgZ(0,"p"),h._uU(1,"Show Advanced"),h.qZA())}function V(ye,ce){1&ye&&(h.TgZ(0,"p"),h._uU(1,"Hide Advanced"),h.qZA())}function X(ye,ce){if(1&ye){const ve=h.EpF();h.TgZ(0,"button",43),h.NdJ("copied",function(Ke){h.CHM(ve);const Ae=h.oxw();return h.KtG(Ae.onCopyPayment(Ke))}),h._uU(1,"Copy Invoice"),h.qZA()}if(2&ye){const ve=h.oxw();h.Q6J("payload",null==ve.invoice?null:ve.invoice.serialized)}}function De(ye,ce){if(1&ye){const ve=h.EpF();h.TgZ(0,"button",44),h.NdJ("click",function(){h.CHM(ve);const Ke=h.oxw();return h.KtG(Ke.onClose())}),h._uU(1,"OK"),h.qZA()}}const tt=function(ye){return{"display-none":ye}},je=function(ye){return{"xs-scroll-y":ye}},ze=function(ye,ce){return{"mt-2":ye,"mt-1":ce}};class Le{constructor(ce,ve,oe,Ke,Ae,de){this.dialogRef=ce,this.data=ve,this.logger=oe,this.commonService=Ke,this.snackBar=Ae,this.store=de,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 b.x,new b.x,new b.x,new b.x,new b.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,I.R)(this.unSubs[0])).subscribe(ce=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(ce.version,"0.5.0")}),this.store.select(C.Ef).pipe((0,I.R)(this.unSubs[1])).subscribe(ce=>{const ve=this.invoice.status,Ke=(ce.invoices&&ce.invoices.length>0?ce.invoices:[])?.find(Ae=>Ae.paymentHash===this.invoice.paymentHash)||null;Ke&&(this.invoice=Ke),ve!==this.invoice.status&&"received"===this.invoice.status&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(ce)})}onClose(){this.dialogRef.close(!1)}onShowAdvanced(){this.showAdvanced=!this.showAdvanced}onCopyPayment(ce){this.snackBar.open("Invoice copied."),this.logger.info("Copied Text: "+ce)}ngOnDestroy(){this.unSubs.forEach(ce=>{ce.next(null),ce.complete()})}}Le.\u0275fac=function(ce){return new(ce||Le)(h.Y36(t.so),h.Y36(t.WI),h.Y36(P.mQ),h.Y36(d.v),h.Y36(S.ux),h.Y36(w.yh))},Le.\u0275cmp=h.Xpm({type:Le,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(ce,ve){if(1&ce&&(h.TgZ(0,"div",0)(1,"div",1),h.YNc(2,ne,1,3,"qr-code",2),h.YNc(3,le,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 ve.onClose()}),h._uU(11,"X"),h.qZA()(),h.TgZ(12,"mat-card-content",10)(13,"div",11)(14,"div",12),h.YNc(15,ee,1,3,"qr-code",2),h.YNc(16,me,2,0,"span",13),h.qZA(),h.YNc(17,A,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,T,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,v,30,10,"div",19),h.TgZ(61,"div",23)(62,"button",24),h.NdJ("click",function(){return ve.onShowAdvanced()}),h.YNc(63,B,2,0,"p",25),h.YNc(64,V,2,0,"ng-template",null,26,h.W1O),h.qZA(),h.YNc(66,X,2,1,"button",27),h.YNc(67,De,2,0,"button",28),h.qZA()()()()()),2&ce){const oe=h.MAs(65);h.xp6(1),h.Q6J("fxLayoutAlign",null!=ve.invoice&&ve.invoice.serialized&&""!==(null==ve.invoice?null:ve.invoice.serialized)?"center start":"center center")("ngClass",h.VKq(33,tt,ve.screenSize===ve.screenSizeEnum.XS||ve.screenSize===ve.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==ve.invoice?null:ve.invoice.serialized)&&""!==(null==ve.invoice?null:ve.invoice.serialized)),h.xp6(1),h.Q6J("ngIf",!(null!=ve.invoice&&ve.invoice.serialized)||""===(null==ve.invoice?null:ve.invoice.serialized)),h.xp6(4),h.Q6J("icon",ve.faReceipt),h.xp6(2),h.Oqu(ve.screenSize===ve.screenSizeEnum.XS?ve.newlyAdded?"Created":"Invoice":ve.newlyAdded?"Invoice Created":"Invoice Information"),h.xp6(3),h.Q6J("ngClass",h.VKq(35,je,ve.screenSize===ve.screenSizeEnum.XS)),h.xp6(2),h.Q6J("fxLayoutAlign",null!=ve.invoice&&ve.invoice.serialized&&""!==(null==ve.invoice?null:ve.invoice.serialized)?"center start":"center center")("ngClass",h.VKq(37,tt,ve.screenSize!==ve.screenSizeEnum.XS&&ve.screenSize!==ve.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==ve.invoice?null:ve.invoice.serialized)&&""!==(null==ve.invoice?null:ve.invoice.serialized)),h.xp6(1),h.Q6J("ngIf",!(null!=ve.invoice&&ve.invoice.serialized)||""===(null==ve.invoice?null:ve.invoice.serialized)),h.xp6(1),h.Q6J("ngIf",ve.screenSize===ve.screenSizeEnum.XS||ve.screenSize===ve.screenSizeEnum.SM),h.xp6(6),h.hij("",h.lcZ(24,26,(null==ve.invoice?null:ve.invoice.amount)||0)," Sats"),h.xp6(2),h.Q6J("ngIf",!(null!=ve.invoice&&ve.invoice.amount)||"0"===(null==ve.invoice?null:ve.invoice.amount)),h.xp6(5),h.Q6J("ngIf",null==ve.invoice?null:ve.invoice.amountSettled),h.xp6(1),h.Q6J("ngIf",!(null!=ve.invoice&&ve.invoice.amountSettled)),h.xp6(7),h.Oqu(h.xi3(39,28,1e3*(null==ve.invoice?null:ve.invoice.timestamp),"dd/MMM/y HH:mm")),h.xp6(6),h.Oqu(h.lcZ(45,31,null==ve.invoice?null:ve.invoice.status)),h.xp6(8),h.Oqu((null==ve.invoice?null:ve.invoice.description)||"-"),h.xp6(7),h.Oqu((null==ve.invoice?null:ve.invoice.serialized)||"N/A"),h.xp6(1),h.Q6J("ngIf",ve.showAdvanced),h.xp6(1),h.Q6J("ngClass",h.WLB(39,ze,!ve.showAdvanced,ve.showAdvanced)),h.xp6(2),h.Q6J("ngIf",!ve.showAdvanced)("ngIfElse",oe),h.xp6(3),h.Q6J("ngIf",(null==ve.invoice?null:ve.invoice.serialized)&&""!==(null==ve.invoice?null:ve.invoice.serialized)),h.xp6(1),h.Q6J("ngIf",!(null!=ve.invoice&&ve.invoice.serialized)||""===(null==ve.invoice?null:ve.invoice.serialized))}},dependencies:[O.mk,O.sg,O.O5,E.BN,R.xw,R.Wh,R.yH,z.oO,U.lW,Y.dn,Y.dk,K.d,$.Ou,ie.uU,ue.y,he.h,O.JJ,O.rS,O.uU]})},6523:(Ue,q,p)=>{"use strict";p.d(q,{$A:()=>wt,$W:()=>w,BL:()=>D,B_:()=>De,Bl:()=>he,CX:()=>S,Cp:()=>v,EK:()=>U,El:()=>E,Fr:()=>bt,HI:()=>Ce,JT:()=>s,Jl:()=>ne,Jo:()=>It,Lf:()=>oe,Ll:()=>I,Ly:()=>Ke,Nr:()=>Le,OG:()=>m,PC:()=>b,QJ:()=>Qe,RX:()=>ue,Rd:()=>Y,Rv:()=>le,SN:()=>ie,Sf:()=>He,TW:()=>a,UH:()=>Ae,UR:()=>me,Vv:()=>n,WM:()=>ze,WO:()=>Ht,Wi:()=>$e,YP:()=>$,YX:()=>T,Z7:()=>i,Z8:()=>O,Zh:()=>u,_E:()=>ge,_L:()=>l,aL:()=>ye,as:()=>A,cQ:()=>de,dV:()=>Ge,eF:()=>P,fu:()=>At,kL:()=>Et,ks:()=>ee,mC:()=>ve,n7:()=>W,oV:()=>te,pW:()=>y,pd:()=>h,qY:()=>ce,sQ:()=>d,tb:()=>X,u0:()=>qe,vV:()=>tt,wD:()=>C,xG:()=>ke,y2:()=>lt,yZ:()=>Fe,z:()=>z});var t=p(9653),e=p(7731);const b=(0,t.PH)(e.uR.UPDATE_API_CALL_STATUS_LND,(0,t.Ky)()),I=(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)()),S=(0,t.PH)(e.uR.SET_INFO_LND,(0,t.Ky)()),w=(0,t.PH)(e.uR.FETCH_PEERS_LND),O=(0,t.PH)(e.uR.SET_PEERS_LND,(0,t.Ky)()),E=(0,t.PH)(e.uR.SAVE_NEW_PEER_LND,(0,t.Ky)()),z=((0,t.PH)(e.uR.NEWLY_ADDED_PEER_LND,(0,t.Ky)()),(0,t.PH)(e.uR.DETACH_PEER_LND,(0,t.Ky)())),U=(0,t.PH)(e.uR.REMOVE_PEER_LND,(0,t.Ky)()),Y=(0,t.PH)(e.uR.SAVE_NEW_INVOICE_LND,(0,t.Ky)()),$=((0,t.PH)(e.uR.NEWLY_SAVED_INVOICE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.ADD_INVOICE_LND,(0,t.Ky)())),ie=(0,t.PH)(e.uR.FETCH_FEES_LND),ue=(0,t.PH)(e.uR.SET_FEES_LND,(0,t.Ky)()),he=(0,t.PH)(e.uR.FETCH_BLOCKCHAIN_BALANCE_LND),ne=(0,t.PH)(e.uR.SET_BLOCKCHAIN_BALANCE_LND,(0,t.Ky)()),le=(0,t.PH)(e.uR.FETCH_NETWORK_LND),ee=(0,t.PH)(e.uR.SET_NETWORK_LND,(0,t.Ky)()),me=(0,t.PH)(e.uR.FETCH_CHANNELS_LND),A=(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)()),u=(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)()),T=(0,t.PH)(e.uR.SAVE_NEW_CHANNEL_LND,(0,t.Ky)()),D=(0,t.PH)(e.uR.CLOSE_CHANNEL_LND,(0,t.Ky)()),m=(0,t.PH)(e.uR.REMOVE_CHANNEL_LND,(0,t.Ky)()),n=(0,t.PH)(e.uR.BACKUP_CHANNELS_LND,(0,t.Ky)()),v=(0,t.PH)(e.uR.VERIFY_CHANNEL_LND,(0,t.Ky)()),X=((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)),De=(0,t.PH)(e.uR.SET_RESTORE_CHANNELS_LIST_LND,(0,t.Ky)()),tt=(0,t.PH)(e.uR.RESTORE_CHANNELS_LND,(0,t.Ky)()),ze=((0,t.PH)(e.uR.RESTORE_CHANNELS_RES_LND,(0,t.Ky)()),(0,t.PH)(e.uR.FETCH_INVOICES_LND,(0,t.Ky)())),Le=(0,t.PH)(e.uR.SET_INVOICES_LND,(0,t.Ky)()),ye=(0,t.PH)(e.uR.UPDATE_INVOICE_LND,(0,t.Ky)()),ce=(0,t.PH)(e.uR.UPDATE_PAYMENT_LND,(0,t.Ky)()),ve=(0,t.PH)(e.uR.FETCH_TRANSACTIONS_LND),oe=(0,t.PH)(e.uR.SET_TRANSACTIONS_LND,(0,t.Ky)()),Ke=(0,t.PH)(e.uR.FETCH_UTXOS_LND),Ae=(0,t.PH)(e.uR.SET_UTXOS_LND,(0,t.Ky)()),de=(0,t.PH)(e.uR.FETCH_PAYMENTS_LND,(0,t.Ky)()),Ce=(0,t.PH)(e.uR.SET_PAYMENTS_LND,(0,t.Ky)()),te=(0,t.PH)(e.uR.SEND_PAYMENT_LND,(0,t.Ky)()),Ge=((0,t.PH)(e.uR.SEND_PAYMENT_STATUS_LND,(0,t.Ky)()),(0,t.PH)(e.uR.FETCH_GRAPH_NODE_LND,(0,t.Ky)())),ge=((0,t.PH)(e.uR.SET_GRAPH_NODE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.GET_NEW_ADDRESS_LND,(0,t.Ky)())),$e=((0,t.PH)(e.uR.SET_NEW_ADDRESS_LND,(0,t.Ky)()),(0,t.PH)(e.uR.SET_CHANNEL_TRANSACTION_LND,(0,t.Ky)())),At=((0,t.PH)(e.uR.SET_CHANNEL_TRANSACTION_RES_LND,(0,t.Ky)()),(0,t.PH)(e.uR.GEN_SEED_LND,(0,t.Ky)())),lt=((0,t.PH)(e.uR.GEN_SEED_RESPONSE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.INIT_WALLET_LND,(0,t.Ky)())),ke=((0,t.PH)(e.uR.INIT_WALLET_RESPONSE_LND,(0,t.Ky)()),(0,t.PH)(e.uR.UNLOCK_WALLET_LND,(0,t.Ky)())),He=(0,t.PH)(e.uR.PEER_LOOKUP_LND,(0,t.Ky)()),wt=(0,t.PH)(e.uR.CHANNEL_LOOKUP_LND,(0,t.Ky)()),W=(0,t.PH)(e.uR.INVOICE_LOOKUP_LND,(0,t.Ky)()),Fe=(0,t.PH)(e.uR.PAYMENT_LOOKUP_LND,(0,t.Ky)()),qe=((0,t.PH)(e.uR.SET_LOOKUP_LND,(0,t.Ky)()),(0,t.PH)(e.uR.GET_FORWARDING_HISTORY_LND,(0,t.Ky)())),Qe=(0,t.PH)(e.uR.SET_FORWARDING_HISTORY_LND,(0,t.Ky)()),Ht=(0,t.PH)(e.uR.GET_QUERY_ROUTES_LND,(0,t.Ky)()),Et=(0,t.PH)(e.uR.SET_QUERY_ROUTES_LND,(0,t.Ky)()),It=(0,t.PH)(e.uR.GET_ALL_LIGHTNING_TRANSATIONS_LND),bt=(0,t.PH)(e.uR.SET_ALL_LIGHTNING_TRANSATIONS_LND,(0,t.Ky)())},711:(Ue,q,p)=>{"use strict";p.d(q,{l:()=>ee});var t=p(493),e=p(7579),b=p(9646),I=p(5577),s=p(2722),C=p(4004),h=p(262),P=p(1365),d=p(8627),S=p(1786),w=p(7731),O=p(7861),E=p(6523),R=p(6529),z=p(4650),U=p(529),Y=p(9653),K=p(5043),$=p(62),ie=p(5986),ue=p(5412),he=p(9116),ne=p(7998),le=p(6895);class ee{constructor(A,i,a,u,l,y,T,D,m,n){this.actions=A,this.httpClient=i,this.store=a,this.logger=u,this.commonService=l,this.sessionService=y,this.dialog=T,this.router=D,this.wsService=m,this.location=n,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,I.z)(v=>(this.flgInitialized=!1,this.store.dispatch((0,O.lC)({payload:this.CHILD_API_URL})),this.store.dispatch((0,O.ts)()),this.store.dispatch((0,O.ac)({payload:w.m6.GET_NODE_INFO})),this.store.dispatch((0,E.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)(B=>(this.logger.info(B),B.chains&&B.chains.length&&B.chains[0]&&("string"==typeof B.chains[0]&&B.chains[0].toLowerCase().indexOf("bitcoin")<0||"object"==typeof B.chains[0]&&B.chains[0].hasOwnProperty("chain")&&B.chains[0].chain&&B.chains[0].chain.toLowerCase().indexOf("bitcoin")<0)?(this.store.dispatch((0,E.PC)({payload:{action:"FetchInfo",status:w.Bn.COMPLETED}})),this.store.dispatch((0,O.ts)()),this.store.dispatch((0,O.qR)({payload:{data:{type:w.n_.ERROR,alertTitle:"Shitcoin Found",titleMessage:"Sorry Not Sorry, RTL is Bitcoin Only!"}}})),{type:w.pg.LOGOUT}):B.identity_pubkey?(B.lnImplementation="LND",this.initializeRemainingData(B,v.payload.loadPage),this.store.dispatch((0,E.PC)({payload:{action:"FetchInfo",status:w.Bn.COMPLETED}})),this.store.dispatch((0,O.ts)()),{type:w.uR.SET_INFO_LND,payload:B||{}}):(this.store.dispatch((0,E.PC)({payload:{action:"FetchInfo",status:w.Bn.COMPLETED}})),this.store.dispatch((0,O.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)(B=>{if("string"==typeof B.error.error&&B.error.error.includes("Not Found")||"string"==typeof B.error.error&&B.error.error.includes("wallet locked")||502===B.status&&!B.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.",B);else if("string"==typeof B.error.error&&B.error.error.includes("starting up")&&500===B.status)setTimeout(()=>{this.store.dispatch((0,E.sQ)({payload:{loadPage:"HOME"}}))},2e3);else{const V=this.commonService.extractErrorCode(B),X=503===V?"Unable to Connect to LND Server.":this.commonService.extractErrorMessage(B);this.router.navigate(["/error"],{state:{errorCode:V,errorMessage:X}}),this.handleErrorWithoutAlert("FetchInfo",w.m6.GET_NODE_INFO,"Fetching Node Info Failed.",{status:V,error:X})}return(0,b.of)({type:w.pg.VOID})})))))),this.peersFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_PEERS_LND),(0,I.z)(()=>(this.store.dispatch((0,E.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,E.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,b.of)({type:w.pg.VOID})))))))),this.saveNewPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SAVE_NEW_PEER_LND),(0,I.z)(v=>(this.store.dispatch((0,O.ac)({payload:w.m6.CONNECT_PEER})),this.store.dispatch((0,E.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)(B=>(this.logger.info(B),this.store.dispatch((0,E.PC)({payload:{action:"SaveNewPeer",status:w.Bn.COMPLETED}})),this.store.dispatch((0,O.uO)({payload:w.m6.CONNECT_PEER})),this.store.dispatch((0,E.Z8)({payload:B||[]})),{type:w.uR.NEWLY_ADDED_PEER_LND,payload:{peer:B[0]}})),(0,h.K)(B=>(this.handleErrorWithoutAlert("SaveNewPeer",w.m6.CONNECT_PEER,"Peer Connection Failed.",B),(0,b.of)({type:w.pg.VOID})))))))),this.detachPeer=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.DETACH_PEER_LND),(0,I.z)(v=>(this.store.dispatch((0,O.ac)({payload:w.m6.DISCONNECT_PEER})),this.httpClient.delete(this.CHILD_API_URL+w.vv.PEERS_API+"/"+v.payload.pubkey).pipe((0,C.U)(B=>(this.logger.info(B),this.store.dispatch((0,O.uO)({payload:w.m6.DISCONNECT_PEER})),this.store.dispatch((0,O.jW)({payload:"Peer Disconnected Successfully."})),{type:w.uR.REMOVE_PEER_LND,payload:{pubkey:v.payload.pubkey}})),(0,h.K)(B=>(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,B),(0,b.of)({type:w.pg.VOID})))))))),this.saveNewInvoice=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SAVE_NEW_INVOICE_LND),(0,I.z)(v=>(this.store.dispatch((0,O.ac)({payload:v.payload.uiMessage})),this.store.dispatch((0,E.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)(B=>(this.logger.info(B),this.store.dispatch((0,E.PC)({payload:{action:"SaveNewInvoice",status:w.Bn.COMPLETED}})),this.store.dispatch((0,E.WM)({payload:{num_max_invoices:v.payload.pageSize,reversed:!0}})),v.payload.openModal?(B.memo=v.payload.memo,B.value=v.payload.value,B.expiry=v.payload.expiry,B.private=v.payload.private,B.is_amp=v.payload.is_amp,B.cltv_expiry="144",B.creation_date=Math.round((new Date).getTime()/1e3).toString(),setTimeout(()=>{this.store.dispatch((0,O.qR)({payload:{data:{invoice:B,newlyAdded:!0,component:d.v}}}))},200),{type:w.pg.CLOSE_SPINNER,payload:v.payload.uiMessage}):{type:w.uR.NEWLY_SAVED_INVOICE_LND,payload:{paymentRequest:B.payment_request}})),(0,h.K)(B=>(this.handleErrorWithoutAlert("SaveNewInvoice",v.payload.uiMessage,"Add Invoice Failed.",B),(0,b.of)({type:w.pg.VOID})))))))),this.openNewChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SAVE_NEW_CHANNEL_LND),(0,I.z)(v=>(this.store.dispatch((0,O.ac)({payload:w.m6.OPEN_CHANNEL})),this.store.dispatch((0,E.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)(B=>(this.logger.info(B),this.store.dispatch((0,E.PC)({payload:{action:"SaveNewChannel",status:w.Bn.COMPLETED}})),this.store.dispatch((0,O.uO)({payload:w.m6.OPEN_CHANNEL})),this.store.dispatch((0,E.Bl)()),this.store.dispatch((0,E.UR)()),this.store.dispatch((0,E.Vv)({payload:{uiMessage:w.m6.NO_SPINNER,channelPoint:"ALL",showMessage:"Channel Added Successfully!"}})),{type:w.uR.FETCH_PENDING_CHANNELS_LND})),(0,h.K)(B=>(this.handleErrorWithoutAlert("SaveNewChannel",w.m6.OPEN_CHANNEL,"Opening Channel Failed.",B),(0,b.of)({type:w.pg.VOID})))))))),this.updateChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.UPDATE_CHANNEL_LND),(0,I.z)(v=>(this.store.dispatch((0,O.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)(B=>(this.logger.info(B),this.store.dispatch((0,O.uO)({payload:w.m6.UPDATE_CHAN_POLICY})),this.store.dispatch((0,O.jW)("all"===v.payload.chanPoint?{payload:"All Channels Updated Successfully."}:{payload:"Channel Updated Successfully!"})),{type:w.uR.FETCH_CHANNELS_LND})),(0,h.K)(B=>(this.handleErrorWithAlert("UpdateChannels",w.m6.UPDATE_CHAN_POLICY,"Update Channel Failed",this.CHILD_API_URL+w.vv.CHANNELS_API+"/chanPolicy",B),(0,b.of)({type:w.pg.VOID})))))))),this.closeChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.CLOSE_CHANNEL_LND),(0,I.z)(v=>{this.store.dispatch((0,O.ac)({payload:v.payload.forcibly?w.m6.FORCE_CLOSE_CHANNEL:w.m6.CLOSE_CHANNEL}));let B=this.CHILD_API_URL+w.vv.CHANNELS_API+"/"+v.payload.channelPoint+"?force="+v.payload.forcibly;return v.payload.targetConf&&(B=B+"&target_conf="+v.payload.targetConf),v.payload.satPerByte&&(B=B+"&sat_per_byte="+v.payload.satPerByte),this.httpClient.delete(B).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,O.uO)({payload:v.payload.forcibly?w.m6.FORCE_CLOSE_CHANNEL:w.m6.CLOSE_CHANNEL})),this.store.dispatch((0,E.UR)()),this.store.dispatch((0,E.Z7)()),this.store.dispatch((0,E.Vv)({payload:{uiMessage:w.m6.NO_SPINNER,channelPoint:"ALL",showMessage:V.message}})),{type:w.pg.VOID})),(0,h.K)(V=>(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,V),(0,b.of)({type:w.pg.VOID}))))}))),this.backupChannels=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.BACKUP_CHANNELS_LND),(0,I.z)(v=>(this.store.dispatch((0,O.ac)({payload:v.payload.uiMessage})),this.store.dispatch((0,E.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)(B=>(this.logger.info(B),this.store.dispatch((0,E.PC)({payload:{action:"BackupChannels",status:w.Bn.COMPLETED}})),this.store.dispatch((0,O.uO)({payload:v.payload.uiMessage})),this.store.dispatch((0,O.jW)({payload:v.payload.showMessage+" "+B.message})),{type:w.uR.BACKUP_CHANNELS_RES_LND,payload:B.message})),(0,h.K)(B=>(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,B),(0,b.of)({type:w.pg.VOID})))))))),this.verifyChannel=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.VERIFY_CHANNEL_LND),(0,I.z)(v=>(this.store.dispatch((0,O.ac)({payload:w.m6.VERIFY_CHANNEL})),this.store.dispatch((0,E.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)(B=>(this.logger.info(B),this.store.dispatch((0,E.PC)({payload:{action:"VerifyChannel",status:w.Bn.COMPLETED}})),this.store.dispatch((0,O.uO)({payload:w.m6.VERIFY_CHANNEL})),this.store.dispatch((0,O.jW)({payload:B.message})),{type:w.uR.VERIFY_CHANNEL_RES_LND,payload:B.message})),(0,h.K)(B=>(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,B),(0,b.of)({type:w.pg.VOID})))))))),this.restoreChannels=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.RESTORE_CHANNELS_LND),(0,I.z)(v=>(this.store.dispatch((0,O.ac)({payload:w.m6.RESTORE_CHANNEL})),this.store.dispatch((0,E.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)(B=>(this.logger.info(B),this.store.dispatch((0,E.PC)({payload:{action:"RestoreChannels",status:w.Bn.COMPLETED}})),this.store.dispatch((0,O.uO)({payload:w.m6.RESTORE_CHANNEL})),this.store.dispatch((0,O.jW)({payload:B.message})),this.store.dispatch((0,E.B_)({payload:B.list})),{type:w.uR.RESTORE_CHANNELS_RES_LND,payload:B.message})),(0,h.K)(B=>(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,B),(0,b.of)({type:w.pg.VOID})))))))),this.fetchFees=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_FEES_LND),(0,I.z)(()=>(this.store.dispatch((0,E.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,E.PC)({payload:{action:"FetchFees",status:w.Bn.COMPLETED}})),v.forwarding_events_history&&(this.store.dispatch((0,E.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,b.of)({type:w.pg.VOID}))))),this.balanceBlockchainFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_BLOCKCHAIN_BALANCE_LND),(0,I.z)(()=>(this.store.dispatch((0,E.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,E.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,b.of)({type:w.pg.VOID}))))),this.networkInfoFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_NETWORK_LND),(0,I.z)(()=>(this.store.dispatch((0,E.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,E.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,b.of)({type:w.pg.VOID}))))),this.channelsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_CHANNELS_LND),(0,I.z)(()=>(this.store.dispatch((0,E.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,E.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,b.of)({type:w.pg.VOID})))))))),this.channelsPendingFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_PENDING_CHANNELS_LND),(0,I.z)(()=>(this.store.dispatch((0,E.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,E.PC)({payload:{action:"FetchPendingChannels",status:w.Bn.COMPLETED}}));const B={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&&(B.total_limbo_balance=v.total_limbo_balance,v.pending_closing_channels&&(B.closing.num_channels=v.pending_closing_channels.length,B.total_channels=B.total_channels+v.pending_closing_channels.length,v.pending_closing_channels.forEach(V=>{B.closing.limbo_balance=+B.closing.limbo_balance+(V.channel.local_balance?+V.channel.local_balance:0)})),v.pending_force_closing_channels&&(B.force_closing.num_channels=v.pending_force_closing_channels.length,B.total_channels=B.total_channels+v.pending_force_closing_channels.length,v.pending_force_closing_channels.forEach(V=>{B.force_closing.limbo_balance=+B.force_closing.limbo_balance+(V.channel.local_balance?+V.channel.local_balance:0)})),v.pending_open_channels&&(B.open.num_channels=v.pending_open_channels.length,B.total_channels=B.total_channels+v.pending_open_channels.length,v.pending_open_channels.forEach(V=>{B.open.limbo_balance=+B.open.limbo_balance+(V.channel.local_balance?+V.channel.local_balance:0)})),v.waiting_close_channels&&(B.waiting_close.num_channels=v.waiting_close_channels.length,B.total_channels=B.total_channels+v.waiting_close_channels.length,v.waiting_close_channels.forEach(V=>{B.waiting_close.limbo_balance=+B.waiting_close.limbo_balance+(V.channel.local_balance?+V.channel.local_balance:0)}))),{type:w.uR.SET_PENDING_CHANNELS_LND,payload:v?{pendingChannels:v,pendingChannelsSummary:B}:{pendingChannels:{},pendingChannelsSummary:B}}}),(0,h.K)(v=>(this.handleErrorWithoutAlert("FetchPendingChannels",w.m6.NO_SPINNER,"Fetching Pending Channels Failed.",v),(0,b.of)({type:w.pg.VOID})))))))),this.channelsClosedFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_CLOSED_CHANNELS_LND),(0,I.z)(()=>(this.store.dispatch((0,E.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,E.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,b.of)({type:w.pg.VOID})))))))),this.invoicesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_INVOICES_LND),(0,I.z)(v=>(this.store.dispatch((0,E.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)(De=>(this.logger.info(De),this.store.dispatch((0,E.PC)({payload:{action:"FetchInvoices",status:w.Bn.COMPLETED}})),v.payload.reversed&&!v.payload.index_offset&&(De.total_invoices=+(De.last_index_offset||0)),{type:w.uR.SET_INVOICES_LND,payload:De})),(0,h.K)(De=>(this.handleErrorWithoutAlert("FetchInvoices",w.m6.NO_SPINNER,"Fetching Invoices Failed.",De),(0,b.of)({type:w.pg.VOID})))))))),this.transactionsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_TRANSACTIONS_LND),(0,I.z)(()=>(this.store.dispatch((0,E.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,E.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,b.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(R.Q5)),(0,I.z)(([v,B])=>(this.store.dispatch((0,E.PC)({payload:{action:"FetchUTXOs",status:w.Bn.INITIATED}})),this.httpClient.get(this.CHILD_API_URL+w.vv.WALLET_API+"/getUTXOs?max_confs="+(B&&B.block_height?B.block_height:1e9)))),(0,C.U)(v=>(this.logger.info(v),this.store.dispatch((0,E.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,b.of)({type:w.pg.VOID}))))),this.paymentsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_PAYMENTS_LND),(0,I.z)(v=>(this.store.dispatch((0,E.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)(De=>(this.logger.info(De),this.store.dispatch((0,E.PC)({payload:{action:"FetchPayments",status:w.Bn.COMPLETED}})),{type:w.uR.SET_PAYMENTS_LND,payload:De})),(0,h.K)(De=>(this.handleErrorWithoutAlert("FetchPayments",w.m6.NO_SPINNER,"Fetching Payments Failed.",De),(0,b.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,I.z)(v=>{this.store.dispatch((0,O.ac)({payload:v.payload.uiMessage})),this.store.dispatch((0,E.PC)({payload:{action:"SendPayment",status:w.Bn.INITIATED}}));const B={};return B.paymentReq=v.payload.paymentReq,v.payload.paymentAmount&&(B.paymentAmount=v.payload.paymentAmount),v.payload.outgoingChannel&&(B.outgoingChannel=v.payload.outgoingChannel.chan_id),v.payload.allowSelfPayment&&(B.allowSelfPayment=v.payload.allowSelfPayment),v.payload.lastHopPubkey&&(B.lastHopPubkey=v.payload.lastHopPubkey),v.payload.feeLimitType&&v.payload.feeLimitType!==w.Vc[0].id&&(B.feeLimit={},B.feeLimit[v.payload.feeLimitType]=v.payload.feeLimit),this.httpClient.post(this.CHILD_API_URL+w.vv.CHANNELS_API+"/transactions",B).pipe((0,C.U)(V=>{if(this.logger.info(V),this.store.dispatch((0,O.uO)({payload:v.payload.uiMessage})),this.store.dispatch((0,E.PC)({payload:{action:"SendPayment",status:w.Bn.COMPLETED}})),V.payment_error)return v.payload.allowSelfPayment?(this.store.dispatch((0,E.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),{type:w.uR.SEND_PAYMENT_STATUS_LND,payload:V}):(v.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",v.payload.uiMessage,"Send Payment Failed.",V.payment_error):this.handleErrorWithAlert("SendPayment",v.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+w.vv.CHANNELS_API+"/transactions",V.payment_error),{type:w.pg.VOID});if(this.store.dispatch((0,O.uO)({payload:v.payload.uiMessage})),this.store.dispatch((0,E.PC)({payload:{action:"SendPayment",status:w.Bn.COMPLETED}})),this.store.dispatch((0,E.UR)()),this.store.dispatch((0,E.cQ)({payload:{max_payments:this.paymentsPageSize,reversed:!0}})),v.payload.allowSelfPayment)this.store.dispatch((0,E.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}}));else{let X="Payment Sent Successfully.";V.payment_route&&V.payment_route.total_fees_msat&&(X="Payment sent successfully with the total fee "+V.payment_route.total_fees_msat+" (mSats)."),this.store.dispatch((0,O.jW)({payload:X}))}return{type:w.uR.SEND_PAYMENT_STATUS_LND,payload:V}}),(0,h.K)(V=>(this.logger.error("Error: "+JSON.stringify(V)),v.payload.allowSelfPayment?(this.handleErrorWithoutAlert("SendPayment",v.payload.uiMessage,"Send Payment Failed.",V),this.store.dispatch((0,E.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}})),(0,b.of)({type:w.uR.SEND_PAYMENT_STATUS_LND,payload:{error:this.commonService.extractErrorMessage(V)}})):(v.payload.fromDialog?this.handleErrorWithoutAlert("SendPayment",v.payload.uiMessage,"Send Payment Failed.",V):this.handleErrorWithAlert("SendPayment",v.payload.uiMessage,"Send Payment Failed",this.CHILD_API_URL+w.vv.CHANNELS_API+"/transactions",V),(0,b.of)({type:w.pg.VOID})))))}))),this.graphNodeFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_GRAPH_NODE_LND),(0,I.z)(v=>(this.store.dispatch((0,O.ac)({payload:w.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,E.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)(B=>(this.logger.info(B),this.store.dispatch((0,O.uO)({payload:w.m6.GET_NODE_ADDRESS})),this.store.dispatch((0,E.PC)({payload:{action:"FetchGraphNode",status:w.Bn.COMPLETED}})),{type:w.uR.SET_GRAPH_NODE_LND,payload:B&&B.node?{node:B.node}:{node:null}})),(0,h.K)(B=>(this.handleErrorWithoutAlert("FetchGraphNode",w.m6.GET_NODE_ADDRESS,"Fetching Graph Node Failed.",B),(0,b.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,I.z)(v=>(this.store.dispatch((0,O.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)(B=>(this.logger.info(B),this.store.dispatch((0,O.uO)({payload:w.m6.GENERATE_NEW_ADDRESS})),{type:w.uR.SET_NEW_ADDRESS_LND,payload:B&&B.address?B.address:{}})),(0,h.K)(B=>(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,B),(0,b.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,I.z)(v=>(this.store.dispatch((0,O.ac)({payload:w.m6.SEND_FUNDS})),this.store.dispatch((0,E.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)(B=>(this.logger.info(B),this.store.dispatch((0,E.PC)({payload:{action:"SetChannelTransaction",status:w.Bn.COMPLETED}})),this.store.dispatch((0,O.uO)({payload:w.m6.SEND_FUNDS})),this.store.dispatch((0,E.mC)()),this.store.dispatch((0,E.Bl)()),this.store.dispatch((0,E.UR)()),{type:w.uR.SET_CHANNEL_TRANSACTION_RES_LND,payload:B})),(0,h.K)(B=>(this.handleErrorWithoutAlert("SetChannelTransaction",w.m6.SEND_FUNDS,"Sending Fund Failed.",B),(0,b.of)({type:w.pg.VOID})))))))),this.fetchForwardingHistory=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GET_FORWARDING_HISTORY_LND),(0,I.z)(v=>(this.store.dispatch((0,E.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)(V=>(this.logger.info(V),this.store.dispatch((0,E.PC)({payload:{action:"FetchForwardingHistory",status:w.Bn.COMPLETED}})),{type:w.uR.SET_FORWARDING_HISTORY_LND,payload:V})),(0,h.K)(V=>(this.handleErrorWithAlert("FetchForwardingHistory",w.m6.NO_SPINNER,"Get Forwarding History Failed",this.CHILD_API_URL+w.vv.SWITCH_API,V),(0,b.of)({type:w.pg.VOID})))))))),this.queryRoutesFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.GET_QUERY_ROUTES_LND),(0,I.z)(v=>{let B=this.CHILD_API_URL+w.vv.NETWORK_API+"/routes/"+v.payload.destPubkey+"/"+v.payload.amount;return v.payload.outgoingChanId&&(B=B+"?outgoing_chan_id="+v.payload.outgoingChanId),this.httpClient.get(B).pipe((0,C.U)(V=>(this.logger.info(V),{type:w.uR.SET_QUERY_ROUTES_LND,payload:V})),(0,h.K)(V=>(this.store.dispatch((0,E.kL)({payload:{routes:[]}})),this.handleErrorWithAlert("GetQueryRoutes",w.m6.NO_SPINNER,"Get Query Routes Failed",this.CHILD_API_URL+w.vv.NETWORK_API,V),(0,b.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,I.z)(v=>(this.store.dispatch((0,O.ac)({payload:w.m6.GEN_SEED})),this.httpClient.get(this.CHILD_API_URL+w.vv.WALLET_API+"/genseed/"+v.payload).pipe((0,C.U)(B=>(this.logger.info("Generated GenSeed!"),this.logger.info(B),this.store.dispatch((0,O.uO)({payload:w.m6.GEN_SEED})),{type:w.uR.GEN_SEED_RESPONSE_LND,payload:B.cipher_seed_mnemonic})),(0,h.K)(B=>(this.handleErrorWithAlert("GenSeed",w.m6.GEN_SEED,"Genseed Generation Failed",this.CHILD_API_URL+w.vv.WALLET_API+"/genseed/"+v.payload,B),(0,b.of)({type:w.pg.VOID})))))))),this.updateSelNodeOptions=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.pg.UPDATE_SELECTED_NODE_OPTIONS),(0,I.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,b.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,I.z)(v=>(this.store.dispatch((0,O.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)(B=>(this.logger.info(B),this.store.dispatch((0,O.uO)({payload:w.m6.INITIALIZE_WALLET})),{type:w.uR.INIT_WALLET_RESPONSE_LND,payload:B})),(0,h.K)(B=>(this.handleErrorWithAlert("InitWallet",w.m6.INITIALIZE_WALLET,"Wallet Initialization Failed",this.CHILD_API_URL+w.vv.WALLET_API+"/initwallet",B),(0,b.of)({type:w.pg.VOID})))))))),this.unlockWallet=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.UNLOCK_WALLET_LND),(0,I.z)(v=>(this.store.dispatch((0,O.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)(B=>(this.logger.info(B),this.logger.info("Successfully Unlocked!"),this.sessionService.setItem("lndUnlocked","true"),this.store.dispatch((0,O.uO)({payload:w.m6.UNLOCK_WALLET})),this.store.dispatch((0,O.ac)({payload:w.m6.WAIT_SYNC_NODE})),setTimeout(()=>{this.store.dispatch((0,O.uO)({payload:w.m6.WAIT_SYNC_NODE})),this.store.dispatch((0,E.sQ)({payload:{loadPage:"HOME"}}))},5e3),{type:w.pg.VOID})),(0,h.K)(B=>(this.handleErrorWithAlert("UnlockWallet",w.m6.UNLOCK_WALLET,"Unlock Wallet Failed",this.CHILD_API_URL+w.vv.WALLET_API+"/unlockwallet",B),(0,b.of)({type:w.pg.VOID}))))))),{dispatch:!1}),this.peerLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.PEER_LOOKUP_LND),(0,I.z)(v=>(this.store.dispatch((0,O.ac)({payload:w.m6.SEARCHING_NODE})),this.store.dispatch((0,E.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)(B=>(this.logger.info(B),this.store.dispatch((0,O.uO)({payload:w.m6.SEARCHING_NODE})),this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),{type:w.uR.SET_LOOKUP_LND,payload:B})),(0,h.K)(B=>(this.handleErrorWithAlert("Lookup",w.m6.SEARCHING_NODE,"Peer Lookup Failed",this.CHILD_API_URL+w.vv.NETWORK_API+"/node/"+v.payload,B),(0,b.of)({type:w.pg.VOID})))))))),this.channelLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.CHANNEL_LOOKUP_LND),(0,I.z)(v=>(this.store.dispatch((0,O.ac)({payload:v.payload.uiMessage})),this.store.dispatch((0,E.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)(B=>(this.logger.info(B),this.store.dispatch((0,O.uO)({payload:v.payload.uiMessage})),this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),{type:w.uR.SET_LOOKUP_LND,payload:B})),(0,h.K)(B=>(this.handleErrorWithAlert("Lookup",v.payload.uiMessage,"Channel Lookup Failed",this.CHILD_API_URL+w.vv.NETWORK_API+"/edge/"+v.payload.channelID,B),(0,b.of)({type:w.pg.VOID})))))))),this.invoiceLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.INVOICE_LOOKUP_LND),(0,I.z)(v=>{this.store.dispatch((0,O.ac)({payload:w.m6.SEARCHING_INVOICE})),this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.INITIATED}}));let B=this.CHILD_API_URL+w.vv.INVOICES_API+"/lookup";return B=v.payload.paymentAddress&&""!==v.payload.paymentAddress?B+"?payment_addr="+v.payload.paymentAddress:B+"?payment_hash="+v.payload.paymentHash,this.httpClient.get(B).pipe((0,C.U)(V=>(this.logger.info(V),this.store.dispatch((0,O.uO)({payload:w.m6.SEARCHING_INVOICE})),this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),this.store.dispatch((0,E.aL)({payload:V})),{type:w.uR.SET_LOOKUP_LND,payload:V})),(0,h.K)(V=>(this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",w.m6.SEARCHING_INVOICE,"Invoice Lookup Failed",V),v.payload.openSnackBar&&this.store.dispatch((0,O.jW)({payload:{message:"Invoice Refresh Failed.",type:"ERROR"}})),(0,b.of)({type:w.uR.SET_LOOKUP_LND,payload:{error:V}}))))}))),this.paymentLookup=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.PAYMENT_LOOKUP_LND),(0,I.z)(v=>(this.store.dispatch((0,O.ac)({payload:w.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,E.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)(B=>(this.logger.info(B),this.store.dispatch((0,O.uO)({payload:w.m6.SEARCHING_PAYMENT})),this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.COMPLETED}})),this.store.dispatch((0,E.qY)({payload:B})),{type:w.uR.SET_LOOKUP_LND,payload:B})),(0,h.K)(B=>(this.store.dispatch((0,E.PC)({payload:{action:"Lookup",status:w.Bn.ERROR}})),this.handleErrorWithoutAlert("Lookup",w.m6.SEARCHING_PAYMENT,"Payment Lookup Failed",B),(0,b.of)({type:w.uR.SET_LOOKUP_LND,payload:{error:B}})))))))),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,I.z)(()=>(this.store.dispatch((0,E.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,E.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,b.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,I.z)(()=>(this.store.dispatch((0,E.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,E.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,b.of)({type:w.pg.VOID})))))))),this.pageSettingsFetch=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.FETCH_PAGE_SETTINGS_LND),(0,I.z)(()=>(this.store.dispatch((0,E.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,E.PC)({payload:{action:"FetchPageSettings",status:w.Bn.COMPLETED}})),this.invoicesPageSize=(v&&Object.keys(v).length>0?v.find(B=>"transactions"===B.pageId)?.tables.find(B=>"invoices"===B.tableId):w.gK.find(B=>"transactions"===B.pageId)?.tables.find(B=>"invoices"===B.tableId)).recordsPerPage,this.paymentsPageSize=(v&&Object.keys(v).length>0?v.find(B=>"transactions"===B.pageId)?.tables.find(B=>"payments"===B.tableId):w.gK.find(B=>"transactions"===B.pageId)?.tables.find(B=>"payments"===B.tableId)).recordsPerPage,this.store.dispatch((0,E.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,b.of)({type:w.pg.VOID})))))))),this.savePageSettings=(0,t.GW)(()=>this.actions.pipe((0,t.l4)(w.uR.SAVE_PAGE_SETTINGS_LND),(0,I.z)(v=>(this.store.dispatch((0,O.ac)({payload:w.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,E.PC)({payload:{action:"SavePageSettings",status:w.Bn.INITIATED}})),this.httpClient.post(w.vv.PAGE_SETTINGS_API,v.payload).pipe((0,C.U)(B=>{this.logger.info(B),this.store.dispatch((0,E.PC)({payload:{action:"SavePageSettings",status:w.Bn.COMPLETED}})),this.store.dispatch((0,O.uO)({payload:w.m6.UPDATE_PAGE_SETTINGS})),this.store.dispatch((0,O.jW)({payload:"Page Layout Updated Successfully!"}));const V=(B.find(De=>"transactions"===De.pageId)?.tables.find(De=>"invoices"===De.tableId)||w.gK.find(De=>"transactions"===De.pageId)?.tables.find(De=>"invoices"===De.tableId)).recordsPerPage,X=(B.find(De=>"transactions"===De.pageId)?.tables.find(De=>"payments"===De.tableId)||w.gK.find(De=>"transactions"===De.pageId)?.tables.find(De=>"payments"===De.tableId)).recordsPerPage;return V!==this.invoicesPageSize&&(this.invoicesPageSize=V,this.store.dispatch((0,E.WM)({payload:{num_max_invoices:this.invoicesPageSize,reversed:!0}}))),X!==this.paymentsPageSize&&(this.paymentsPageSize=X),{type:w.uR.SET_PAGE_SETTINGS_LND,payload:B||[]}}),(0,h.K)(B=>(this.handleErrorWithAlert("SavePageSettings",w.m6.UPDATE_PAGE_SETTINGS,"Page Settings Update Failed.",w.vv.PAGE_SETTINGS_API,B),(0,b.of)({type:w.pg.VOID})))))))),this.store.select(R.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,O.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,E.aL)({payload:v.result}))):this.logger.info("Received Event from WS: "+JSON.stringify(v)))})}initializeRemainingData(A,i){this.sessionService.setItem("lndUnlocked","true");const a={identity_pubkey:A.identity_pubkey,alias:A.alias,testnet:A.testnet,chains:A.chains,uris:A.uris,version:A.version?A.version.split(" ")[0]:""};this.store.dispatch((0,O.ac)({payload:w.m6.INITALIZE_NODE_DATA})),this.store.dispatch((0,O._V)({payload:a}));let u=this.location.path();u.includes("/cln/")?u=u?.replace("/cln/","/lnd/"):u.includes("/ecl/")&&(u=u?.replace("/ecl/","/lnd/")),(u.includes("/unlock")||u.includes("/login")||u.includes("/error")||""===u||"HOME"===i||u.includes("?access-key="))&&(u="/lnd/home"),this.router.navigate([u]),this.store.dispatch((0,E.wD)()),this.store.dispatch((0,E.Bl)()),this.store.dispatch((0,E.UR)()),this.store.dispatch((0,E.Z7)()),this.store.dispatch((0,E.Zh)()),this.store.dispatch((0,E.$W)()),this.store.dispatch((0,E.Rv)()),this.store.dispatch((0,E.SN)()),this.store.dispatch((0,E.cQ)({payload:{max_payments:1e5,reversed:!0}}))}handleErrorWithoutAlert(A,i,a,u){this.logger.error("ERROR IN: "+A+"\n"+JSON.stringify(u)),401===u.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:i})),this.store.dispatch((0,E.PC)({payload:{action:A,status:w.Bn.ERROR,statusCode:u.status.toString(),message:this.commonService.extractErrorMessage(u,a)}})))}handleErrorWithAlert(A,i,a,u,l){if(this.logger.error(l),401===l.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:i}));const y=this.commonService.extractErrorMessage(l);this.store.dispatch((0,O.qR)({payload:{data:{type:"ERROR",alertTitle:a,message:{code:l.status,message:y,URL:u},component:S.H}}})),this.store.dispatch((0,E.PC)({payload:{action:A,status:w.Bn.ERROR,statusCode:l.status.toString(),message:y,URL:u}}))}}ngOnDestroy(){this.unSubs.forEach(A=>{A.next(null),A.complete()})}}ee.\u0275fac=function(A){return new(A||ee)(z.LFG(t.eX),z.LFG(U.eN),z.LFG(Y.yh),z.LFG(K.mQ),z.LFG($.v),z.LFG(ie.m),z.LFG(ue.uw),z.LFG(he.F0),z.LFG(ne.d),z.LFG(le.Ye))},ee.\u0275prov=z.Yz7({token:ee,factory:ee.\u0275fac})},6529:(Ue,q,p)=>{"use strict";p.d(q,{$k:()=>b,Bo:()=>P,Ef:()=>E,JG:()=>S,N7:()=>ue,P2:()=>Y,PP:()=>d,Pr:()=>I,Q5:()=>s,T4:()=>ie,Wi:()=>w,ZW:()=>R,_f:()=>ne,bx:()=>le,dx:()=>O,l5:()=>he,ni:()=>U,qU:()=>K,yA:()=>h});var t=p(9653);const e=(0,t.ZF)("lnd"),b=(0,t.P1)(e,ee=>ee.nodeSettings),I=(0,t.P1)(e,ee=>({pageSettings:ee.pageSettings,apiCallStatus:ee.apisCallStatus.FetchPageSettings})),s=(0,t.P1)(e,ee=>ee.information),h=((0,t.P1)(e,ee=>({information:ee.information,apiCallStatus:ee.apisCallStatus.FetchInfo})),(0,t.P1)(e,ee=>ee.apisCallStatus)),P=(0,t.P1)(e,ee=>({forwardingHistory:ee.forwardingHistory,apiCallStatus:ee.apisCallStatus.FetchForwardingHistory})),d=(0,t.P1)(e,ee=>({listPayments:ee.listPayments,apiCallStatus:ee.apisCallStatus.FetchPayments})),S=(0,t.P1)(e,ee=>({fees:ee.fees,apiCallStatus:ee.apisCallStatus.FetchFees})),w=(0,t.P1)(e,ee=>({peers:ee.peers,apiCallStatus:ee.apisCallStatus.FetchPeers})),O=(0,t.P1)(e,ee=>({transactions:ee.transactions,apiCallStatus:ee.apisCallStatus.FetchTransactions})),E=(0,t.P1)(e,ee=>({listInvoices:ee.listInvoices,apiCallStatus:ee.apisCallStatus.FetchInvoices})),R=(0,t.P1)(e,ee=>({channels:ee.channels,channelsSummary:ee.channelsSummary,lightningBalance:ee.lightningBalance,apiCallStatus:ee.apisCallStatus.FetchAllChannels})),U=((0,t.P1)(e,ee=>({channelsSummary:ee.channelsSummary,pendingChannels:ee.pendingChannels,closedChannels:ee.closedChannels,apiCallStatus:ee.apisCallStatus.FetchAllChannels})),(0,t.P1)(e,ee=>({pendingChannels:ee.pendingChannels,pendingChannelsSummary:ee.pendingChannelsSummary,apiCallStatus:ee.apisCallStatus.FetchPendingChannels}))),Y=(0,t.P1)(e,ee=>({closedChannels:ee.closedChannels,apiCallStatus:ee.apisCallStatus.FetchClosedChannels})),K=(0,t.P1)(e,ee=>({blockchainBalance:ee.blockchainBalance,apiCallStatus:ee.apisCallStatus.FetchBalanceBlockchain})),ie=((0,t.P1)(e,ee=>({lightningBalance:ee.lightningBalance,apiCallStatus:ee.apisCallStatus.FetchAllChannels})),(0,t.P1)(e,ee=>({utxos:ee.utxos,apiCallStatus:ee.apisCallStatus.FetchUTXOs}))),ue=(0,t.P1)(e,ee=>({networkInfo:ee.networkInfo,apiCallStatus:ee.apisCallStatus.FetchNetwork})),he=(0,t.P1)(e,ee=>({allLightningTransactions:ee.allLightningTransactions,apiCallStatus:ee.apisCallStatus.FetchLightningTransactions})),ne=(0,t.P1)(e,ee=>({channels:ee.channels,pendingChannels:ee.pendingChannels,closedChannels:ee.closedChannels})),le=(0,t.P1)(e,ee=>({information:ee.information,nodeSettings:ee.nodeSettings,apiCallStatus:ee.apisCallStatus.FetchInfo}))},8627:(Ue,q,p)=>{"use strict";p.d(q,{v:()=>pt});var t=p(5412),e=p(2687),b=p(7579),I=p(2722),s=p(7731),C=p(6529),h=p(4650),P=p(5043),d=p(62),S=p(7009),w=p(9653),O=p(6895),E=p(2216),R=p(1576),z=p(5829),U=p(4859),Y=p(3546),K=p(752),$=p(7392),ie=p(4850),ue=p(1572),he=p(266),ne=p(658),le=p(5199),ee=p(3390);const me=["scrollContainer"];function A($e,ut){if(1&$e&&h._UZ(0,"qr-code",33),2&$e){const At=h.oxw();h.Q6J("value",null==At.invoice?null:At.invoice.payment_request)("size",At.qrWidth)("errorCorrectionLevel","L")}}function i($e,ut){1&$e&&(h.TgZ(0,"span",34),h._uU(1,"N/A"),h.qZA())}function a($e,ut){if(1&$e&&h._UZ(0,"qr-code",33),2&$e){const At=h.oxw();h.Q6J("value",null==At.invoice?null:At.invoice.payment_request)("size",At.qrWidth)("errorCorrectionLevel","L")}}function u($e,ut){1&$e&&(h.TgZ(0,"span",35),h._uU(1,"QR Code Not Applicable"),h.qZA())}function l($e,ut){1&$e&&h._UZ(0,"mat-divider",22),2&$e&&h.Q6J("inset",!0)}function y($e,ut){1&$e&&(h.ynx(0),h._uU(1," (zero amount) "),h.BQk())}function T($e,ut){1&$e&&h._UZ(0,"span",41)}const D=function(){return[]};function m($e,ut){if(1&$e&&(h.TgZ(0,"div",37)(1,"div",38)(2,"span",39),h._uU(3),h.ALo(4,"number"),h.qZA(),h.YNc(5,T,1,0,"span",40),h.qZA()()),2&$e){const At=h.oxw(2);h.xp6(3),h.hij("",h.lcZ(4,2,null==At.invoice?null:At.invoice.amt_paid_sat)," Sats"),h.xp6(2),h.Q6J("ngForOf",h.DdM(4,D).constructor(35))}}function n($e,ut){if(1&$e&&(h.TgZ(0,"div"),h._uU(1),h.ALo(2,"number"),h.qZA()),2&$e){const At=h.oxw(2);h.xp6(1),h.hij("",h.lcZ(2,1,null==At.invoice?null:At.invoice.amt_paid_sat)," Sats")}}function v($e,ut){if(1&$e&&(h.ynx(0),h.YNc(1,m,6,5,"div",36),h.YNc(2,n,3,3,"div",21),h.BQk()),2&$e){const At=h.oxw();h.xp6(1),h.Q6J("ngIf",At.flgInvoicePaid),h.xp6(1),h.Q6J("ngIf",!At.flgInvoicePaid)}}function B($e,ut){1&$e&&(h.TgZ(0,"span"),h._uU(1,"-"),h.qZA())}function V($e,ut){1&$e&&h._UZ(0,"mat-spinner",43),2&$e&&h.Q6J("diameter",20)}function X($e,ut){if(1&$e&&(h.ynx(0),h.YNc(1,B,2,0,"span",21),h.YNc(2,V,1,1,"mat-spinner",42),h.BQk()),2&$e){const At=h.oxw();h.xp6(1),h.Q6J("ngIf","OPEN"!==(null==At.invoice?null:At.invoice.state)||!At.flgVersionCompatible),h.xp6(1),h.Q6J("ngIf","OPEN"===(null==At.invoice?null:At.invoice.state)&&At.flgVersionCompatible)}}function De($e,ut){1&$e&&h.GkF(0)}function tt($e,ut){if(1&$e&&(h.TgZ(0,"div"),h.YNc(1,De,1,0,"ng-container",44),h.qZA()),2&$e){h.oxw();const At=h.MAs(79);h.xp6(1),h.Q6J("ngTemplateOutlet",At)}}function je($e,ut){if(1&$e){const At=h.EpF();h.TgZ(0,"div",45)(1,"button",46),h.NdJ("click",function(){h.CHM(At);const lt=h.oxw();return h.KtG(lt.onScrollDown())}),h.TgZ(2,"mat-icon",47),h._uU(3,"arrow_downward"),h.qZA()()()}}function ze($e,ut){1&$e&&(h.TgZ(0,"p"),h._uU(1,"Show Advanced"),h.qZA())}function Le($e,ut){1&$e&&(h.TgZ(0,"p"),h._uU(1,"Hide Advanced"),h.qZA())}function ye($e,ut){if(1&$e){const At=h.EpF();h.TgZ(0,"button",48),h.NdJ("copied",function(lt){h.CHM(At);const St=h.oxw();return h.KtG(St.onCopyPayment(lt))}),h._uU(1),h.qZA()}if(2&$e){const At=h.oxw();h.Q6J("payload",null==At.invoice?null:At.invoice.payment_request),h.xp6(1),h.Oqu(At.screenSize===At.screenSizeEnum.XS?"Copy Payment":"Copy Payment Request")}}function ce($e,ut){if(1&$e){const At=h.EpF();h.TgZ(0,"button",49),h.NdJ("click",function(){h.CHM(At);const lt=h.oxw();return h.KtG(lt.onClose())}),h._uU(1,"OK"),h.qZA()}}const ve=function($e){return{"mr-0":$e}};function oe($e,ut){if(1&$e&&h._UZ(0,"span",64),2&$e){const At=h.oxw(4);h.Q6J("ngClass",h.VKq(1,ve,At.screenSize===At.screenSizeEnum.XS))}}function Ke($e,ut){if(1&$e&&h._UZ(0,"span",65),2&$e){const At=h.oxw(4);h.Q6J("ngClass",h.VKq(1,ve,At.screenSize===At.screenSizeEnum.XS))}}function Ae($e,ut){if(1&$e&&h._UZ(0,"span",66),2&$e){const At=h.oxw(4);h.Q6J("ngClass",h.VKq(1,ve,At.screenSize===At.screenSizeEnum.XS))}}function de($e,ut){if(1&$e&&(h.TgZ(0,"div",53)(1,"div",58)(2,"span",59),h.YNc(3,oe,1,3,"span",60),h.YNc(4,Ke,1,3,"span",61),h.YNc(5,Ae,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&$e){const At=ut.$implicit,_t=h.oxw(3);h.xp6(3),h.Q6J("ngIf","SETTLED"===At.state),h.xp6(1),h.Q6J("ngIf","ACCEPTED"===At.state),h.xp6(1),h.Q6J("ngIf","CANCELED"===At.state),h.xp6(1),h.hij(" ",At.chan_id," "),h.xp6(2),h.Oqu(h.xi3(9,6,+At.amt_msat/1e3||0,_t.getDecimalFormat(At))),h.xp6(2),h.Q6J("inset",!0)}}function Ce($e,ut){if(1&$e){const At=h.EpF();h.TgZ(0,"div",17)(1,"mat-expansion-panel",51),h.NdJ("opened",function(){h.CHM(At);const lt=h.oxw(2);return h.KtG(lt.flgOpened=!0)})("closed",function(){h.CHM(At);const lt=h.oxw(2);return h.KtG(lt.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,de,11,9,"div",57),h.qZA()()()}if(2&$e){const At=h.oxw(2);h.xp6(12),h.Q6J("inset",!0),h.xp6(1),h.Q6J("ngForOf",null==At.invoice?null:At.invoice.htlcs)}}function te($e,ut){1&$e&&h._UZ(0,"mat-divider",22),2&$e&&h.Q6J("inset",!0)}function Ze($e,ut){if(1&$e&&(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,Ce,14,2,"div",50),h.YNc(34,te,1,1,"mat-divider",14)),2&$e){const At=h.oxw();h.Q6J("inset",!0),h.xp6(6),h.Oqu((null==At.invoice?null:At.invoice.r_preimage)||"-"),h.xp6(1),h.Q6J("inset",!0),h.xp6(6),h.Oqu(null==At.invoice?null:At.invoice.state),h.xp6(5),h.Oqu(h.xi3(19,11,1e3*(+(null==At.invoice?null:At.invoice.creation_date)+ +(null==At.invoice?null:At.invoice.expiry)),"dd/MMM/y HH:mm")),h.xp6(2),h.Q6J("inset",!0),h.xp6(6),h.Oqu(null!=At.invoice&&At.invoice.private?"Yes":"No"),h.xp6(5),h.Oqu(null!=At.invoice&&At.invoice.is_amp?"Yes":"No"),h.xp6(1),h.Q6J("inset",!0),h.xp6(1),h.Q6J("ngIf",(null==At.invoice?null:At.invoice.htlcs)&&(null==At.invoice?null:At.invoice.htlcs.length)>0),h.xp6(1),h.Q6J("ngIf",(null==At.invoice?null:At.invoice.htlcs)&&(null==At.invoice?null:At.invoice.htlcs.length)>0)}}const Ge=function($e){return{"display-none":$e}},ae=function($e){return{"xs-scroll-y":$e}},ge=function($e){return{"h-50":$e}};class pt{constructor(ut,At,_t,lt,St,ke){this.dialogRef=ut,this.data=At,this.logger=_t,this.commonService=lt,this.snackBar=St,this.store=ke,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 b.x,new b.x,new b.x,new b.x,new b.x]}set container(ut){ut&&(this.scrollContainer=ut)}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,I.R)(this.unSubs[0])).subscribe(At=>{this.flgVersionCompatible=this.commonService.isVersionCompatible(At.version,"0.11.0")});const ut=JSON.parse(JSON.stringify(this.invoice));this.store.select(C.Ef).pipe((0,I.R)(this.unSubs[1])).subscribe(At=>{const _t=this.invoice?.state,St=(At.listInvoices.invoices||[]).find(ke=>ke.r_hash===ut.r_hash)||null;St&&(this.invoice=St),_t!==this.invoice?.state&&"SETTLED"===this.invoice?.state&&(this.flgInvoicePaid=!0,setTimeout(()=>{this.flgInvoicePaid=!1},4e3)),this.logger.info(At)})}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(ut){this.snackBar.open("Payment request copied."),this.logger.info("Copied Text: "+ut)}getDecimalFormat(ut){return ut.amt_msat<1e3?"1.0-4":"1.0-0"}ngOnDestroy(){this.unSubs.forEach(ut=>{ut.next(null),ut.complete()})}}pt.\u0275fac=function(ut){return new(ut||pt)(h.Y36(t.so),h.Y36(t.WI),h.Y36(P.mQ),h.Y36(d.v),h.Y36(S.ux),h.Y36(w.yh))},pt.\u0275cmp=h.Xpm({type:pt,selectors:[["rtl-invoice-information"]],viewQuery:function(ut,At){if(1&ut&&h.Gf(me,5),2&ut){let _t;h.iGM(_t=h.CRH())&&(At.container=_t.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(ut,At){if(1&ut&&(h.TgZ(0,"div",0)(1,"div",1),h.YNc(2,A,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 At.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,u,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,v,3,2,"ng-container",21),h.YNc(33,X,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,tt,2,1,"div",21),h.qZA()()(),h.YNc(70,je,4,0,"div",25),h.TgZ(71,"div",26)(72,"button",27),h.NdJ("click",function(){return At.onShowAdvanced()}),h.YNc(73,ze,2,0,"p",28),h.YNc(74,Le,2,0,"ng-template",null,29,h.W1O),h.qZA(),h.YNc(76,ye,2,2,"button",30),h.YNc(77,ce,2,0,"button",31),h.qZA()()(),h.YNc(78,Ze,35,14,"ng-template",null,32,h.W1O)),2&ut){const _t=h.MAs(75);h.xp6(1),h.Q6J("fxLayoutAlign",null!=At.invoice&&At.invoice.payment_request&&""!==(null==At.invoice?null:At.invoice.payment_request)?"center start":"center center")("ngClass",h.VKq(41,Ge,At.screenSize===At.screenSizeEnum.XS||At.screenSize===At.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==At.invoice?null:At.invoice.payment_request)&&""!==(null==At.invoice?null:At.invoice.payment_request)),h.xp6(1),h.Q6J("ngIf",!(null!=At.invoice&&At.invoice.payment_request)||""===(null==At.invoice?null:At.invoice.payment_request)),h.xp6(4),h.Q6J("icon",At.faReceipt),h.xp6(2),h.Oqu(At.screenSize===At.screenSizeEnum.XS?At.newlyAdded?"Created":"Invoice":At.newlyAdded?"Invoice Created":"Invoice Information"),h.xp6(3),h.Q6J("ngClass",h.VKq(43,ae,At.screenSize===At.screenSizeEnum.XS)),h.xp6(2),h.Q6J("fxLayoutAlign",null!=At.invoice&&At.invoice.payment_request&&""!==(null==At.invoice?null:At.invoice.payment_request)?"center start":"center center")("ngClass",h.VKq(45,Ge,At.screenSize!==At.screenSizeEnum.XS&&At.screenSize!==At.screenSizeEnum.SM)),h.xp6(1),h.Q6J("ngIf",(null==At.invoice?null:At.invoice.payment_request)&&""!==(null==At.invoice?null:At.invoice.payment_request)),h.xp6(1),h.Q6J("ngIf",!(null!=At.invoice&&At.invoice.payment_request)||""===(null==At.invoice?null:At.invoice.payment_request)),h.xp6(1),h.Q6J("ngIf",At.screenSize===At.screenSizeEnum.XS||At.screenSize===At.screenSizeEnum.SM),h.xp6(1),h.Q6J("ngClass",h.VKq(47,ge,(null==At.invoice?null:At.invoice.htlcs)&&(null==At.invoice?null:At.invoice.htlcs.length)>0&&At.showAdvanced)),h.xp6(5),h.Oqu(At.screenSize===At.screenSizeEnum.XS?"Amount":"Amount Requested"),h.xp6(2),h.hij("",h.lcZ(26,33,(null==At.invoice?null:At.invoice.value)||0)," Sats"),h.xp6(2),h.Q6J("ngIf",!(null!=At.invoice&&At.invoice.value)||"0"===(null==At.invoice?null:At.invoice.value)),h.xp6(5),h.Q6J("ngIf",(null==At.invoice?null:At.invoice.amt_paid_sat)&&"OPEN"!==(null==At.invoice?null:At.invoice.state)),h.xp6(1),h.Q6J("ngIf",!(null!=At.invoice&&At.invoice.amt_paid_sat)||"0"===(null==At.invoice?null:At.invoice.amt_paid_sat)),h.xp6(1),h.Q6J("inset",!0),h.xp6(6),h.Oqu(h.xi3(41,35,1e3*(null==At.invoice?null:At.invoice.creation_date),"dd/MMM/y HH:mm")),h.xp6(6),h.Oqu(0!=+(null==At.invoice?null:At.invoice.settle_date)?h.xi3(47,38,1e3*+(null==At.invoice?null:At.invoice.settle_date),"dd/MMM/y HH:mm"):"-"),h.xp6(2),h.Q6J("inset",!0),h.xp6(6),h.Oqu(null==At.invoice?null:At.invoice.memo),h.xp6(1),h.Q6J("inset",!0),h.xp6(6),h.Oqu((null==At.invoice?null:At.invoice.payment_request)||"N/A"),h.xp6(1),h.Q6J("inset",!0),h.xp6(6),h.Oqu((null==At.invoice?null:At.invoice.r_hash)||""),h.xp6(1),h.Q6J("ngIf",At.showAdvanced),h.xp6(1),h.Q6J("ngIf",(null==At.invoice?null:At.invoice.htlcs)&&(null==At.invoice?null:At.invoice.htlcs.length)>0&&At.showAdvanced&&At.flgOpened),h.xp6(3),h.Q6J("ngIf",!At.showAdvanced)("ngIfElse",_t),h.xp6(3),h.Q6J("ngIf",(null==At.invoice?null:At.invoice.payment_request)&&""!==(null==At.invoice?null:At.invoice.payment_request)),h.xp6(1),h.Q6J("ngIf",!(null!=At.invoice&&At.invoice.payment_request)||""===(null==At.invoice?null:At.invoice.payment_request))}},dependencies:[O.mk,O.sg,O.O5,O.tP,E.BN,R.xw,R.Wh,R.yH,z.oO,U.lW,U.nh,Y.dn,Y.dk,K.ib,K.yz,K.yK,$.Hw,ie.d,ue.Ou,he.gM,ne.uU,le.y,ee.h,O.JJ,O.uU]})},7772:(Ue,q,p)=>{"use strict";p.d(q,{J:()=>b,_:()=>e});var t=p(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}))])])],b=[(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:(Ue,q,p)=>{"use strict";p.d(q,{g:()=>e});var t=p(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:(Ue,q,p)=>{"use strict";p.d(q,{l:()=>e});var t=p(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:(Ue,q,p)=>{"use strict";p.d(q,{H:()=>w});var t=p(5412),e=p(4650),b=p(5043),I=p(6895),s=p(1576),C=p(4859),h=p(3546),P=p(4850),d=p(3390);function S(O,E){if(1&O&&(e.TgZ(0,"p",14),e._uU(1),e.qZA()),2&O){const R=e.oxw();e.xp6(1),e.Oqu(R.data.titleMessage)}}class w{constructor(E,R,z){this.dialogRef=E,this.data=R,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)}}w.\u0275fac=function(E){return new(E||w)(e.Y36(t.so),e.Y36(t.WI),e.Y36(b.mQ))},w.\u0275cmp=e.Xpm({type:w,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(E,R){1&E&&(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 R.onClose()}),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"div",7),e.YNc(10,S,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&E&&(e.xp6(5),e.Oqu(R.data.alertTitle||"ERROR"),e.xp6(5),e.Q6J("ngIf",R.data.titleMessage),e.xp6(4),e.Oqu(R.data.message.code),e.xp6(5),e.Oqu(R.errorMessage),e.xp6(5),e.Oqu(R.data.message.URL),e.xp6(3),e.Q6J("mat-dialog-close",!1))},dependencies:[I.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}"]})},2615:(Ue,q,p)=>{"use strict";p.d(q,{a:()=>Ni});var t=p(4006),e=p(7579),b=p(2722),I=p(5412),s=p(2687),C=p(7772),h=p(7731),P=p(6529),d=p(4650),S=p(9653),w=p(9107),O=p(6895),E=p(5043),R=p(9116),z=p(62),U=p(1576),Y=p(5829),K=p(4859),$=p(3546),ie=p(752),ue=p(7392),he=p(4144),ne=p(9549),le=p(3162),ee=p(1948),me=p(455),A=p(266),i=p(8425),a=p(3390),u=p(4850);function l(Xe,Tt){1&Xe&&d.GkF(0)}function y(Xe,Tt){1&Xe&&d.GkF(0)}const T=function(Xe){return{"h-5":Xe}};function D(Xe,Tt){if(1&Xe&&(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&Xe){const xe=d.oxw(),Rt=d.MAs(4);d.Q6J("expanded",xe.panelExpanded)("ngClass",d.VKq(7,T,!xe.flgShowPanel)),d.xp6(4),d.AsE("Quote for ",xe.termCaption," amount (",d.lcZ(5,5,xe.quote.amount)," Sats)"),d.xp6(2),d.Q6J("ngTemplateOutlet",Rt)}}function m(Xe,Tt){if(1&Xe&&(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&Xe){const xe=d.oxw(2);d.xp6(6),d.Oqu(d.lcZ(7,1,null==xe.quote?null:xe.quote.prepay_amt_sat))}}function n(Xe,Tt){1&Xe&&d._UZ(0,"mat-divider",13)}function v(Xe,Tt){if(1&Xe&&(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&Xe){const xe=d.oxw(2);d.xp6(7),d.Oqu(null==xe.quote?null:xe.quote.swap_payment_dest)}}function B(Xe,Tt){if(1&Xe&&(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,m,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,v,8,1,"div",18),d.qZA()),2&Xe){const xe=d.oxw();d.xp6(2),d.Q6J("fxFlex",null!=xe.quote&&xe.quote.prepay_amt_sat?"30":"50"),d.xp6(6),d.Oqu(d.lcZ(9,9,null==xe.quote?null:xe.quote.swap_fee_sat)),d.xp6(2),d.Q6J("fxFlex",null!=xe.quote&&xe.quote.prepay_amt_sat?"35":"50"),d.xp6(2),d.hij(" ",null!=xe.quote&&xe.quote.htlc_sweep_fee_sat?"HTLC Sweep Fee (Sats)":null!=xe.quote&&xe.quote.htlc_publish_fee_sat?"HTLC Publish Fee (Sats)":""," "),d.xp6(4),d.Oqu(d.lcZ(17,11,null!=xe.quote&&xe.quote.htlc_sweep_fee_sat?xe.quote.htlc_sweep_fee_sat:null!=xe.quote&&xe.quote.htlc_publish_fee_sat?xe.quote.htlc_publish_fee_sat:0)),d.xp6(2),d.Q6J("ngIf",null==xe.quote?null:xe.quote.prepay_amt_sat),d.xp6(9),d.Oqu(d.lcZ(28,13,(null==xe.quote?null:xe.quote.amount)*((null!=xe.quote&&xe.quote.off_chain_swap_routing_fee_percentage?null==xe.quote?null:xe.quote.off_chain_swap_routing_fee_percentage:2)/100))),d.xp6(9),d.Q6J("ngIf",""!==(null==xe.quote?null:xe.quote.swap_payment_dest)),d.xp6(1),d.Q6J("ngIf",""!==(null==xe.quote?null:xe.quote.swap_payment_dest))}}class V{constructor(){this.quote={},this.termCaption="",this.showPanel=!0,this.panelExpanded=!1,this.flgShowPanel=!1}ngOnInit(){setTimeout(()=>{this.flgShowPanel=!0},1200)}}function X(Xe,Tt){1&Xe&&d.GkF(0)}function De(Xe,Tt){if(1&Xe&&(d.TgZ(0,"div",3)(1,"span",4),d._uU(2),d.qZA()()),2&Xe){const xe=d.oxw();d.xp6(2),d.Oqu(null!=xe.loopStatus&&xe.loopStatus.error?null==xe.loopStatus?null:xe.loopStatus.error:"Unknown Error.")}}function tt(Xe,Tt){if(1&Xe&&(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&Xe){const xe=d.oxw();d.xp6(6),d.Oqu(null==xe.loopStatus?null:xe.loopStatus.id_bytes),d.xp6(7),d.Oqu(null==xe.loopStatus?null:xe.loopStatus.htlc_address)}}V.\u0275fac=function(Tt){return new(Tt||V)},V.\u0275cmp=d.Xpm({type:V,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(Tt,xe){if(1&Tt&&(d.YNc(0,l,1,0,"ng-container",0),d.YNc(1,D,7,9,"ng-template",null,1,d.W1O),d.YNc(3,B,38,15,"ng-template",null,2,d.W1O)),2&Tt){const Rt=d.MAs(2),jt=d.MAs(4);d.Q6J("ngTemplateOutlet",xe.showPanel?Rt:jt)}},dependencies:[O.mk,O.O5,O.tP,U.xw,U.Wh,U.yH,Y.oO,ie.ib,ie.yz,ie.yK,ue.Hw,u.d,A.gM,O.JJ]});class je{constructor(){}}je.\u0275fac=function(Tt){return new(Tt||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(Tt,xe){if(1&Tt&&(d.YNc(0,X,1,0,"ng-container",0),d.YNc(1,De,3,1,"ng-template",null,1,d.W1O),d.YNc(3,tt,14,2,"ng-template",null,2,d.W1O)),2&Tt){const Rt=d.MAs(2),jt=d.MAs(4);d.Q6J("ngTemplateOutlet",null!=xe.loopStatus&&xe.loopStatus.error?Rt:jt)}},dependencies:[O.tP,U.xw,U.Wh,U.yH,u.d]});var ze=p(113);function Le(Xe,Tt){1&Xe&&d.GkF(0)}const ye=function(Xe,Tt){return{"small-svg":Xe,"large-svg":Tt}};function ce(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(jt){d.CHM(xe);const li=d.oxw();return d.KtG(li.onSwipe(jt))}),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&Xe){const xe=d.oxw();d.Q6J("@sliderAnimation",xe.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ye,xe.screenSize===xe.screenSizeEnum.XS,xe.screenSize!==xe.screenSizeEnum.XS))}}function ve(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(jt){d.CHM(xe);const li=d.oxw();return d.KtG(li.onSwipe(jt))}),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&Xe){const xe=d.oxw();d.Q6J("@sliderAnimation",xe.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ye,xe.screenSize===xe.screenSizeEnum.XS,xe.screenSize!==xe.screenSizeEnum.XS))}}function oe(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(jt){d.CHM(xe);const li=d.oxw();return d.KtG(li.onSwipe(jt))}),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&Xe){const xe=d.oxw();d.Q6J("@sliderAnimation",xe.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ye,xe.screenSize===xe.screenSizeEnum.XS,xe.screenSize!==xe.screenSizeEnum.XS))}}function Ke(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(jt){d.CHM(xe);const li=d.oxw();return d.KtG(li.onSwipe(jt))}),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&Xe){const xe=d.oxw();d.Q6J("@sliderAnimation",xe.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ye,xe.screenSize===xe.screenSizeEnum.XS,xe.screenSize!==xe.screenSizeEnum.XS))}}function Ae(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(jt){d.CHM(xe);const li=d.oxw();return d.KtG(li.onSwipe(jt))}),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&Xe){const xe=d.oxw();d.Q6J("@sliderAnimation",xe.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,ye,xe.screenSize===xe.screenSizeEnum.XS,xe.screenSize!==xe.screenSizeEnum.XS))}}class de{constructor(Tt){this.commonService=Tt,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=h.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Tt){2===Tt.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Tt.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}function Ce(Xe,Tt){1&Xe&&d.GkF(0)}de.\u0275fac=function(Tt){return new(Tt||de)(d.Y36(z.v))},de.\u0275cmp=d.Xpm({type:de,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(Tt,xe){if(1&Tt&&(d.YNc(0,Le,1,0,"ng-container",0),d.YNc(1,ce,32,5,"ng-template",null,1,d.W1O),d.YNc(3,ve,66,5,"ng-template",null,2,d.W1O),d.YNc(5,oe,93,5,"ng-template",null,3,d.W1O),d.YNc(7,Ke,54,5,"ng-template",null,4,d.W1O),d.YNc(9,Ae,51,5,"ng-template",null,5,d.W1O)),2&Tt){const Rt=d.MAs(2),jt=d.MAs(4),li=d.MAs(6),bi=d.MAs(8),Li=d.MAs(10);d.Q6J("ngTemplateOutlet",1===xe.stepNumber?Rt:2===xe.stepNumber?jt:3===xe.stepNumber?li:4===xe.stepNumber?bi:Li)}},dependencies:[O.mk,O.tP,U.xw,U.Wh,U.yH,Y.oO,$.$j,$.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:[ze.l]}});const te=function(Xe,Tt){return{"small-svg":Xe,"large-svg":Tt}};function Ze(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(jt){d.CHM(xe);const li=d.oxw();return d.KtG(li.onSwipe(jt))}),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&Xe){const xe=d.oxw();d.Q6J("@sliderAnimation",xe.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,te,xe.screenSize===xe.screenSizeEnum.XS,xe.screenSize!==xe.screenSizeEnum.XS))}}function Ge(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(jt){d.CHM(xe);const li=d.oxw();return d.KtG(li.onSwipe(jt))}),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&Xe){const xe=d.oxw();d.Q6J("@sliderAnimation",xe.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,te,xe.screenSize===xe.screenSizeEnum.XS,xe.screenSize!==xe.screenSizeEnum.XS))}}function ae(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(jt){d.CHM(xe);const li=d.oxw();return d.KtG(li.onSwipe(jt))}),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&Xe){const xe=d.oxw();d.Q6J("@sliderAnimation",xe.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,te,xe.screenSize===xe.screenSizeEnum.XS,xe.screenSize!==xe.screenSizeEnum.XS))}}function ge(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(jt){d.CHM(xe);const li=d.oxw();return d.KtG(li.onSwipe(jt))}),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&Xe){const xe=d.oxw();d.Q6J("@sliderAnimation",xe.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,te,xe.screenSize===xe.screenSizeEnum.XS,xe.screenSize!==xe.screenSizeEnum.XS))}}function pt(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"div",6),d.NdJ("swipe",function(jt){d.CHM(xe);const li=d.oxw();return d.KtG(li.onSwipe(jt))}),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&Xe){const xe=d.oxw();d.Q6J("@sliderAnimation",xe.animationDirection),d.xp6(1),d.Q6J("ngClass",d.WLB(2,te,xe.screenSize===xe.screenSizeEnum.XS,xe.screenSize!==xe.screenSizeEnum.XS))}}class $e{constructor(Tt){this.commonService=Tt,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new d.vpe,this.screenSize="",this.screenSizeEnum=h.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(Tt){2===Tt.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===Tt.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}$e.\u0275fac=function(Tt){return new(Tt||$e)(d.Y36(z.v))},$e.\u0275cmp=d.Xpm({type:$e,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(Tt,xe){if(1&Tt&&(d.YNc(0,Ce,1,0,"ng-container",0),d.YNc(1,Ze,32,5,"ng-template",null,1,d.W1O),d.YNc(3,Ge,51,5,"ng-template",null,2,d.W1O),d.YNc(5,ae,74,5,"ng-template",null,3,d.W1O),d.YNc(7,ge,53,5,"ng-template",null,4,d.W1O),d.YNc(9,pt,66,5,"ng-template",null,5,d.W1O)),2&Tt){const Rt=d.MAs(2),jt=d.MAs(4),li=d.MAs(6),bi=d.MAs(8),Li=d.MAs(10);d.Q6J("ngTemplateOutlet",1===xe.stepNumber?Rt:2===xe.stepNumber?jt:3===xe.stepNumber?li:4===xe.stepNumber?bi:Li)}},dependencies:[O.mk,O.tP,U.xw,U.Wh,U.yH,Y.oO,$.$j,$.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:[ze.l]}});const ut=["stepper"];function At(Xe,Tt){if(1&Xe&&(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&Xe){const xe=d.oxw(2);d.xp6(4),d.Oqu(d.lcZ(5,2,xe.channel.remote_alias)),d.xp6(5),d.Oqu(xe.channel.chan_id)}}function _t(Xe,Tt){if(1&Xe&&d._uU(0),2&Xe){const xe=d.oxw(2);d.Oqu(xe.inputFormLabel)}}function lt(Xe,Tt){1&Xe&&(d.TgZ(0,"mat-error"),d._uU(1,"Amount is required."),d.qZA())}function St(Xe,Tt){if(1&Xe&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&Xe){const xe=d.oxw(2);d.xp6(1),d.hij("Amount must be greater than or equal to ",d.lcZ(2,1,xe.minQuote.amount),".")}}function ke(Xe,Tt){if(1&Xe&&(d.TgZ(0,"mat-error"),d._uU(1),d.ALo(2,"number"),d.qZA()),2&Xe){const xe=d.oxw(2);d.xp6(1),d.hij("Amount must be less than or equal to ",d.lcZ(2,1,xe.maxQuote.amount),".")}}function He(Xe,Tt){1&Xe&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target is required."),d.qZA())}function wt(Xe,Tt){1&Xe&&(d.TgZ(0,"mat-error"),d._uU(1,"Confirmation target must be a positive number."),d.qZA())}function W(Xe,Tt){1&Xe&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage is required."),d.qZA())}function Fe(Xe,Tt){1&Xe&&(d.TgZ(0,"mat-error"),d._uU(1,"Percentage must be a positive number."),d.qZA())}function Ft(Xe,Tt){if(1&Xe&&(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,W,2,0,"mat-error",25),d.YNc(5,Fe,2,0,"mat-error",25),d.qZA()),2&Xe){const xe=d.oxw(2);d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==xe.inputFormGroup.controls.routingFeePercent.errors?null:xe.inputFormGroup.controls.routingFeePercent.errors.required),d.xp6(1),d.Q6J("ngIf",null==xe.inputFormGroup.controls.routingFeePercent.errors?null:xe.inputFormGroup.controls.routingFeePercent.errors.min)}}function qe(Xe,Tt){1&Xe&&(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 Qe(Xe,Tt){if(1&Xe&&d._uU(0),2&Xe){const xe=d.oxw(2);d.Oqu(xe.quoteFormLabel)}}function Ht(Xe,Tt){1&Xe&&(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 Et(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"button",57),d.NdJ("click",function(){d.CHM(xe);const jt=d.oxw(2);return d.KtG(jt.onValidateAmount())}),d._uU(1,"Next"),d.qZA()}}function It(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"button",58),d.NdJ("click",function(){d.CHM(xe);const jt=d.oxw(2);return d.KtG(jt.onLoop())}),d._uU(1),d.qZA()}if(2&Xe){const xe=d.oxw(2);d.xp6(1),d.hij("Initiate ",xe.loopDirectionCaption,"")}}function bt(Xe,Tt){if(1&Xe&&d._uU(0),2&Xe){const xe=d.oxw(3);d.Oqu(xe.addressFormLabel)}}function we(Xe,Tt){1&Xe&&(d.TgZ(0,"mat-error"),d._uU(1,"Address is required."),d.qZA())}function J(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"mat-step",16)(1,"form",17),d.YNc(2,bt,1,1,"ng-template",18),d.TgZ(3,"div",59)(4,"mat-radio-group",60),d.NdJ("change",function(jt){d.CHM(xe);const li=d.oxw(2);return d.KtG(li.onAddressTypeChange(jt))}),d.TgZ(5,"mat-radio-button",61),d._uU(6,"Node Local Address"),d.qZA(),d.TgZ(7,"mat-radio-button",62),d._uU(8,"External Address"),d.qZA()(),d.TgZ(9,"mat-form-field",63)(10,"mat-label"),d._uU(11,"Address"),d.qZA(),d._UZ(12,"input",64),d.YNc(13,we,2,0,"mat-error",25),d.qZA()(),d.TgZ(14,"div",29)(15,"button",65),d.NdJ("click",function(){d.CHM(xe);const jt=d.oxw(2);return d.KtG(jt.onLoop())}),d._uU(16),d.qZA()()()()}if(2&Xe){const xe=d.oxw(2);d.Q6J("stepControl",xe.addressFormGroup)("editable",xe.flgEditable),d.xp6(1),d.Q6J("formGroup",xe.addressFormGroup),d.xp6(11),d.Q6J("required","external"===xe.addressFormGroup.controls.addressType.value),d.xp6(1),d.Q6J("ngIf",null==xe.addressFormGroup.controls.address.errors?null:xe.addressFormGroup.controls.address.errors.required),d.xp6(3),d.hij("Initiate ",xe.loopDirectionCaption,"")}}function be(Xe,Tt){if(1&Xe&&d._uU(0),2&Xe){const xe=d.oxw(2);d.hij("",xe.loopDirectionCaption," Status")}}function Ve(Xe,Tt){if(1&Xe&&(d.TgZ(0,"mat-icon",66),d._uU(1),d.qZA()),2&Xe){const xe=d.oxw(2);d.xp6(1),d.Oqu(xe.loopStatus&&null!=xe.loopStatus&&xe.loopStatus.id_bytes?"check":"close")}}function ot(Xe,Tt){1&Xe&&d._UZ(0,"div")}function ei(Xe,Tt){1&Xe&&d._UZ(0,"mat-progress-bar",67)}function Bt(Xe,Tt){if(1&Xe&&(d.TgZ(0,"h4",68),d._uU(1),d.qZA()),2&Xe){const xe=d.oxw(2);d.xp6(1),d.Oqu(xe.loopStatus&&xe.loopStatus.error?xe.loopDirectionCaption+" failed.":xe.loopStatus&&xe.loopStatus.id_bytes&&xe.channel?xe.loopDirectionCaption+" request placed successfully. You can check the status of the request on the 'Loop' menu.":xe.loopDirectionCaption+" request placed successfully.")}}function ti(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"button",69),d.NdJ("click",function(){d.CHM(xe);const jt=d.oxw(2);return d.KtG(jt.goToLoop())}),d._uU(1,"Check Status"),d.qZA()}}function mt(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"button",70),d.NdJ("click",function(){d.CHM(xe);const jt=d.oxw(2);return d.KtG(jt.onRestart())}),d._uU(1,"Start Again"),d.qZA()}}function nt(Xe,Tt){if(1&Xe){const xe=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(xe);const jt=d.oxw();return d.KtG(jt.showInfo())}),d._uU(8,"?"),d.qZA(),d.TgZ(9,"button",10),d.NdJ("click",function(){d.CHM(xe);const jt=d.oxw();return d.KtG(jt.onClose())}),d._uU(10,"X"),d.qZA()()(),d.TgZ(11,"mat-card-content",11)(12,"div",12),d.YNc(13,At,11,4,"div",13),d.TgZ(14,"mat-vertical-stepper",14,15),d.NdJ("selectionChange",function(jt){d.CHM(xe);const li=d.oxw();return d.KtG(li.stepSelectionChanged(jt))}),d.TgZ(16,"mat-step",16)(17,"form",17),d.YNc(18,_t,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,lt,2,0,"mat-error",25),d.YNc(34,St,3,3,"mat-error",25),d.YNc(35,ke,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,He,2,0,"mat-error",25),d.YNc(41,wt,2,0,"mat-error",25),d.qZA(),d.YNc(42,Ft,6,3,"mat-form-field",27),d.qZA(),d.YNc(43,qe,5,0,"div",28),d.TgZ(44,"div",29)(45,"button",30),d.NdJ("click",function(){d.CHM(xe);const jt=d.oxw();return d.KtG(jt.onEstimateQuote())}),d._uU(46,"Estimate Quote"),d.qZA()()()(),d.TgZ(47,"mat-step",16)(48,"form",17),d.YNc(49,Qe,1,1,"ng-template",18),d._UZ(50,"rtl-loop-quote",31),d.YNc(51,Ht,4,0,"p",32),d.TgZ(52,"div",29),d.YNc(53,Et,2,0,"button",33),d.YNc(54,It,2,1,"button",34),d.qZA()()(),d.YNc(55,J,17,6,"mat-step",35),d.TgZ(56,"mat-step",36)(57,"form",17),d.YNc(58,be,1,1,"ng-template",18),d.TgZ(59,"div",37)(60,"mat-expansion-panel",38)(61,"mat-expansion-panel-header")(62,"mat-panel-title")(63,"span",39),d._uU(64),d.YNc(65,Ve,2,1,"mat-icon",40),d.qZA()()(),d.YNc(66,ot,1,0,"div",41),d.qZA(),d.YNc(67,ei,1,0,"mat-progress-bar",42),d.qZA(),d.YNc(68,Bt,2,1,"h4",43),d.TgZ(69,"div",29),d.YNc(70,ti,2,0,"button",44),d.YNc(71,mt,2,0,"button",45),d.qZA()()()(),d.TgZ(72,"div",46)(73,"button",47),d._uU(74,"Close"),d.qZA()()()()()()}if(2&Xe){const xe=d.oxw(),Rt=d.MAs(2);d.Q6J("@opacityAnimation",void 0),d.xp6(3),d.Q6J("fxFlex",xe.screenSize===xe.screenSizeEnum.XS||xe.screenSize===xe.screenSizeEnum.SM?"83":"91"),d.xp6(2),d.Oqu(xe.channel?"Channel "+xe.loopDirectionCaption:xe.loopDirectionCaption),d.xp6(1),d.Q6J("fxFlex",xe.screenSize===xe.screenSizeEnum.XS||xe.screenSize===xe.screenSizeEnum.SM?"17":"9"),d.xp6(7),d.Q6J("ngIf",xe.channel),d.xp6(1),d.Q6J("linear",!0),d.xp6(2),d.Q6J("stepControl",xe.inputFormGroup)("editable",xe.flgEditable),d.xp6(1),d.Q6J("formGroup",xe.inputFormGroup),d.xp6(3),d.Q6J("quote",xe.minQuote)("termCaption","min")("panelExpanded",!1)("showPanel",!0),d.xp6(1),d.Q6J("quote",xe.maxQuote)("termCaption","max")("panelExpanded",!1)("showPanel",!0),d.xp6(2),d.Q6J("fxFlex",xe.direction===xe.LoopTypeEnum.LOOP_OUT?"35":"48"),d.xp6(3),d.Q6J("step",1e3),d.xp6(2),d.AsE("Range: ",d.lcZ(29,51,xe.minQuote.amount),"-",d.lcZ(30,53,xe.maxQuote.amount),""),d.xp6(5),d.Q6J("ngIf",null==xe.inputFormGroup.controls.amount.errors?null:xe.inputFormGroup.controls.amount.errors.required),d.xp6(1),d.Q6J("ngIf",null==xe.inputFormGroup.controls.amount.errors?null:xe.inputFormGroup.controls.amount.errors.min),d.xp6(1),d.Q6J("ngIf",null==xe.inputFormGroup.controls.amount.errors?null:xe.inputFormGroup.controls.amount.errors.max),d.xp6(1),d.Q6J("fxFlex",xe.direction===xe.LoopTypeEnum.LOOP_OUT?"30":"48"),d.xp6(3),d.Q6J("step",1),d.xp6(1),d.Q6J("ngIf",null==xe.inputFormGroup.controls.sweepConfTarget.errors?null:xe.inputFormGroup.controls.sweepConfTarget.errors.required),d.xp6(1),d.Q6J("ngIf",null==xe.inputFormGroup.controls.sweepConfTarget.errors?null:xe.inputFormGroup.controls.sweepConfTarget.errors.min),d.xp6(1),d.Q6J("ngIf",xe.direction===xe.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",xe.direction===xe.LoopTypeEnum.LOOP_OUT),d.xp6(4),d.Q6J("stepControl",xe.quoteFormGroup)("editable",xe.flgEditable),d.xp6(1),d.Q6J("formGroup",xe.quoteFormGroup),d.xp6(2),d.Q6J("quote",xe.quote)("showPanel",!1),d.xp6(1),d.Q6J("ngIf",xe.inputFormGroup.controls.amount.value>xe.localBalanceToCompare),d.xp6(2),d.Q6J("ngIf",xe.direction===xe.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",xe.direction===xe.LoopTypeEnum.LOOP_IN),d.xp6(1),d.Q6J("ngIf",xe.direction===xe.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("stepControl",xe.statusFormGroup),d.xp6(1),d.Q6J("formGroup",xe.statusFormGroup),d.xp6(3),d.Q6J("expanded",!!xe.loopStatus),d.xp6(4),d.Oqu(xe.loopStatus?xe.loopStatus.id_bytes?xe.loopDirectionCaption+" request details":xe.loopDirectionCaption+" error details":"Waiting for "+xe.loopDirectionCaption+" request..."),d.xp6(1),d.Q6J("ngIf",xe.loopStatus),d.xp6(1),d.Q6J("ngIf",!xe.loopStatus)("ngIfElse",Rt),d.xp6(1),d.Q6J("ngIf",!xe.loopStatus),d.xp6(1),d.Q6J("ngIf",xe.loopStatus),d.xp6(2),d.Q6J("ngIf",xe.loopStatus&&xe.loopStatus.id_bytes&&xe.channel),d.xp6(1),d.Q6J("ngIf",xe.loopStatus&&(xe.loopStatus.error||!xe.loopStatus.id_bytes)),d.xp6(2),d.Q6J("mat-dialog-close",!1)}}function yt(Xe,Tt){if(1&Xe&&d._UZ(0,"rtl-loop-status",71),2&Xe){const xe=d.oxw();d.Q6J("loopStatus",xe.loopStatus)}}function $t(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"rtl-loop-out-info-graphics",88),d.NdJ("stepNumberChange",function(jt){d.CHM(xe);const li=d.oxw(2);return d.KtG(li.stepNumber=jt)}),d.qZA()}if(2&Xe){const xe=d.oxw(2);d.Q6J("animationDirection",xe.animationDirection)("stepNumber",xe.stepNumber)}}function Vt(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"rtl-loop-in-info-graphics",88),d.NdJ("stepNumberChange",function(jt){d.CHM(xe);const li=d.oxw(2);return d.KtG(li.stepNumber=jt)}),d.qZA()}if(2&Xe){const xe=d.oxw(2);d.Q6J("animationDirection",xe.animationDirection)("stepNumber",xe.stepNumber)}}const ft=function(Xe,Tt){return{"dot-primary":Xe,"dot-primary-lighter":Tt}};function Pt(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"span",89),d.NdJ("click",function(){const li=d.CHM(xe).$implicit,bi=d.oxw(2);return d.KtG(bi.onStepChanged(li))}),d._UZ(1,"p",90),d.qZA()}if(2&Xe){const xe=Tt.$implicit,Rt=d.oxw(2);d.xp6(1),d.Q6J("ngClass",d.WLB(1,ft,Rt.stepNumber===xe,Rt.stepNumber!==xe))}}function Pe(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"button",91),d.NdJ("click",function(){d.CHM(xe);const jt=d.oxw(2);return d.KtG(jt.onReadMore())}),d._uU(1,"Read More"),d.qZA()}}function it(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"button",92),d.NdJ("click",function(){d.CHM(xe);const jt=d.oxw(2);return d.KtG(jt.onStepChanged(4))}),d._uU(1,"Back"),d.qZA()}}function at(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"button",93),d.NdJ("click",function(){d.CHM(xe);const jt=d.oxw(2);return jt.flgShowInfo=!1,d.KtG(jt.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function ht(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"button",94),d.NdJ("click",function(){d.CHM(xe);const jt=d.oxw(2);return jt.flgShowInfo=!1,d.KtG(jt.stepNumber=1)}),d._uU(1,"Close"),d.qZA()}}function Lt(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"button",95),d.NdJ("click",function(){d.CHM(xe);const jt=d.oxw(2);return d.KtG(jt.onStepChanged(jt.stepNumber-1))}),d._uU(1,"Back"),d.qZA()}}function ui(Xe,Tt){if(1&Xe){const xe=d.EpF();d.TgZ(0,"button",96),d.NdJ("click",function(){d.CHM(xe);const jt=d.oxw(2);return d.KtG(jt.onStepChanged(jt.stepNumber+1))}),d._uU(1,"Next"),d.qZA()}}const Ti=function(){return[1,2,3,4,5]};function yi(Xe,Tt){if(1&Xe){const xe=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(xe);const jt=d.oxw();return jt.flgShowInfo=!1,d.KtG(jt.stepNumber=1)}),d._uU(7,"X"),d.qZA()()(),d.TgZ(8,"mat-card-content",77),d.YNc(9,$t,1,2,"rtl-loop-out-info-graphics",78),d.YNc(10,Vt,1,2,"rtl-loop-in-info-graphics",78),d.qZA(),d.TgZ(11,"div",79),d.YNc(12,Pt,2,4,"span",80),d.qZA(),d.TgZ(13,"div",81),d.YNc(14,Pe,2,0,"button",82),d.YNc(15,it,2,0,"button",83),d.YNc(16,at,2,0,"button",84),d.YNc(17,ht,2,0,"button",85),d.YNc(18,Lt,2,0,"button",86),d.YNc(19,ui,2,0,"button",87),d.qZA()()()}if(2&Xe){const xe=d.oxw();d.Q6J("@opacityAnimation",void 0),d.xp6(9),d.Q6J("ngIf",xe.direction===xe.LoopTypeEnum.LOOP_OUT),d.xp6(1),d.Q6J("ngIf",xe.direction===xe.LoopTypeEnum.LOOP_IN),d.xp6(2),d.Q6J("ngForOf",d.DdM(10,Ti)),d.xp6(2),d.Q6J("ngIf",5===xe.stepNumber),d.xp6(1),d.Q6J("ngIf",5===xe.stepNumber),d.xp6(1),d.Q6J("ngIf",5===xe.stepNumber),d.xp6(1),d.Q6J("ngIf",xe.stepNumber<5),d.xp6(1),d.Q6J("ngIf",xe.stepNumber>1&&xe.stepNumber<5),d.xp6(1),d.Q6J("ngIf",xe.stepNumber<5)}}class Ni{constructor(Tt,xe,Rt,jt,li,bi,Li,Gi,ji){this.dialogRef=Tt,this.data=xe,this.store=Rt,this.loopService=jt,this.formBuilder=li,this.decimalPipe=bi,this.logger=Li,this.router=Gi,this.commonService=ji,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,b.R)(this.unSubs[6])).subscribe(Tt=>{this.localBalanceToCompare=this.channel&&this.channel.local_balance?+this.channel.local_balance:Tt.lightningBalance&&Tt.lightningBalance.local?+Tt.lightningBalance.local:null})}onFormValueChanges(){this.inputFormGroup.valueChanges.pipe((0,b.R)(this.unSubs[4])).subscribe(Tt=>{this.inputFormGroup.setErrors({Invalid:!0})}),this.direction===h.$I.LOOP_OUT&&this.addressFormGroup.valueChanges.pipe((0,b.R)(this.unSubs[5])).subscribe(Tt=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(Tt){"external"===Tt.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,b.R)(this.unSubs[0])).subscribe({next:Tt=>{this.loopStatus=Tt,this.loopService.listSwaps(),this.flgEditable=!0},error:Tt=>{this.loopStatus={error:Tt},this.flgEditable=!0,this.logger.error(Tt)}});else{const Tt=Math.ceil(this.inputFormGroup.controls.amount.value*(this.inputFormGroup.controls.routingFeePercent.value/100)),xe="external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"",Rt=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,Tt,+(this.quote.htlc_sweep_fee_sat||0),this.prepayRoutingFee,+(this.quote.prepay_amt_sat||0),+(this.quote.swap_fee_sat||0),Rt,xe).pipe((0,b.R)(this.unSubs[1])).subscribe({next:jt=>{this.loopStatus=jt,this.loopService.listSwaps(),this.flgEditable=!0},error:jt=>{this.loopStatus={error:jt},this.flgEditable=!0,this.logger.error(jt)}})}}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 Tt=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,Tt).pipe((0,b.R)(this.unSubs[2])).subscribe(xe=>{this.quote=xe,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,Tt).pipe((0,b.R)(this.unSubs[3])).subscribe(xe=>{this.quote=xe,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(Tt){switch(Tt.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!==Tt.selectedIndex&&Tt.selectedIndex<Tt.previouslySelectedIndex||this.direction===h.$I.LOOP_IN&&Tt.selectedIndex<Tt.previouslySelectedIndex)&&Tt.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(Tt){this.animationDirection=Tt<this.stepNumber?"backward":"forward",this.stepNumber=Tt}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(Tt=>{Tt.next(null),Tt.complete()})}}Ni.\u0275fac=function(Tt){return new(Tt||Ni)(d.Y36(I.so),d.Y36(I.WI),d.Y36(S.yh),d.Y36(w.W),d.Y36(t.QS),d.Y36(O.JJ),d.Y36(E.mQ),d.Y36(R.F0),d.Y36(z.v))},Ni.\u0275cmp=d.Xpm({type:Ni,selectors:[["rtl-loop-modal"]],viewQuery:function(Tt,xe){if(1&Tt&&d.Gf(ut,5),2&Tt){let Rt;d.iGM(Rt=d.CRH())&&(xe.stepper=Rt.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(Tt,xe){1&Tt&&(d.YNc(0,nt,75,55,"div",0),d.YNc(1,yt,1,1,"ng-template",null,1,d.W1O),d.YNc(3,yi,20,11,"div",2)),2&Tt&&(d.Q6J("ngIf",!xe.flgShowInfo),d.xp6(3),d.Q6J("ngIf",xe.flgShowInfo))},dependencies:[O.mk,O.sg,O.O5,t._Y,t.Fj,t.wV,t.JJ,t.JL,t.Q7,t.sg,t.u,U.xw,U.Wh,U.yH,Y.oO,I.ZT,K.lW,$.dn,$.dk,ie.ib,ie.yz,ie.yK,ue.Hw,he.Nt,ne.KE,ne.hX,ne.bx,ne.TO,ne.R9,le.pW,ee.VQ,ee.U0,me.Rr,A.gM,i.C0,i.VY,i.Vq,a.h,V,je,de,$e,O.JJ,O.rS],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem}"],data:{animation:[C._]}})},9442:(Ue,q,p)=>{"use strict";p.d(q,{w:()=>P});var t=p(2687),e=p(4650),b=p(9116),I=p(2216),s=p(1576),C=p(4859),h=p(3546);class P{constructor(S){this.router=S,this.faTimes=t.NBC}goToHelp(){this.router.navigate(["/help"])}}P.\u0275fac=function(S){return new(S||P)(e.Y36(b.F0))},P.\u0275cmp=e.Xpm({type:P,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(S,w){1&S&&(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 w.goToHelp()}),e._uU(12,"Go To Help"),e.qZA()()()()()()),2&S&&(e.xp6(1),e.Q6J("icon",w.faTimes))},dependencies:[I.BN,s.xw,s.Wh,s.yH,C.lW,h.a8,h.dn],encapsulation:2})},3390:(Ue,q,p)=>{"use strict";p.d(q,{h:()=>e});var t=p(4650);class e{constructor(I){this.el=I}ngAfterContentInit(){setTimeout(()=>{this.el.nativeElement.focus()},500)}}e.\u0275fac=function(I){return new(I||e)(t.Y36(t.SBq))},e.\u0275dir=t.lG2({type:e,selectors:[["","autoFocus",""]],inputs:{appAutoFocus:"appAutoFocus"}})},5199:(Ue,q,p)=>{"use strict";p.d(q,{y:()=>e});var t=p(4650);class e{constructor(){this.copied=new t.vpe}onClick(I){I.preventDefault(),this.payload&&navigator.clipboard&&navigator.clipboard.writeText(this.payload.toString()).then(()=>{this.copied.emit(this.payload.toString())},s=>{this.copied.emit("Error could not copy text: "+JSON.stringify(s))})}}e.\u0275fac=function(I){return new(I||e)},e.\u0275dir=t.lG2({type:e,selectors:[["","rtlClipboard",""]],hostBindings:function(I,s){1&I&&t.NdJ("click",function(h){return s.onClick(h)})},inputs:{payload:"payload"},outputs:{copied:"copied"}})},9843:(Ue,q,p)=>{"use strict";p.d(q,{F:()=>b});var t=p(4006),e=p(4650);class b{validate(s){return this.max?t.kI.max(+this.max)(s):null}}b.\u0275fac=function(s){return new(s||b)},b.\u0275dir=e.lG2({type:b,selectors:[["input","max",""]],inputs:{max:"max"},features:[e._Bn([{provide:t.Cf,useExisting:b,multi:!0}])]})},6534:(Ue,q,p)=>{"use strict";p.d(q,{q:()=>b});var t=p(4006),e=p(4650);class b{validate(s){return this.min?t.kI.min(+this.min)(s):null}}b.\u0275fac=function(s){return new(s||b)},b.\u0275dir=e.lG2({type:b,selectors:[["input","min",""]],inputs:{min:"min"},features:[e._Bn([{provide:t.Cf,useExisting:b,multi:!0}])]})},9445:(Ue,q,p)=>{"use strict";p.d(q,{D3:()=>s,al:()=>e,h9:()=>b,i1:()=>I});var t=p(4650);class e{transform(h,P){return h?.replace(/^[0]+/g,"")}}e.\u0275fac=function(h){return new(h||e)},e.\u0275pipe=t.Yjl({name:"removeleadingzeros",type:e,pure:!0});class b{transform(h,P){return h?.replace(/(?:^\w|[A-Z]|\b\w)/g,(d,S)=>d.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}}b.\u0275fac=function(h){return new(h||b)},b.\u0275pipe=t.Yjl({name:"camelcase",type:b,pure:!0});class I{transform(h,P,d){return h.replace(/(?:^\w|[A-Z]|\b\w)/g,(S,w)=>" "+S.toUpperCase())}}I.\u0275fac=function(h){return new(h||I)},I.\u0275pipe=t.Yjl({name:"camelCaseWithSpaces",type:I,pure:!0});class s{transform(h,P,d){return h=h?.toLowerCase().replace(/\s+/g,"")?.replace(/-/g," "),P&&(h=h.replace(new RegExp(P,"g")," ")),d&&(h=h.replace(new RegExp(d,"g")," ")),h.replace(/(?:^\w|[A-Z]|\b\w)/g,(S,w)=>S.toUpperCase())}}s.\u0275fac=function(h){return new(h||s)},s.\u0275pipe=t.Yjl({name:"camelcaseWithReplace",type:s,pure:!0})},1643:(Ue,q,p)=>{"use strict";p.d(q,{QM:()=>C,a1:()=>s,eQ:()=>h,fY:()=>P});var t=p(4004),e=p(4650),b=p(9116),I=p(5986);class s{constructor(S,w){this.router=S,this.sessionService=w}canActivate(S){return!(!this.sessionService.getItem("token")||"settings"!==S.url[0].path&&"auth"!==S.url[0].path&&"true"===this.sessionService.getItem("defaultPassword")&&(this.router.navigate(["/settings/auth"]),1))}}s.\u0275fac=function(S){return new(S||s)(e.LFG(b.F0),e.LFG(I.m))},s.\u0275prov=e.Yz7({token:s,factory:s.\u0275fac});class C{constructor(S){this.sessionService=S}canActivate(){return!!this.sessionService.watchSession().pipe((0,t.U)(S=>S.lndUnlocked))}}C.\u0275fac=function(S){return new(S||C)(e.LFG(I.m))},C.\u0275prov=e.Yz7({token:C,factory:C.\u0275fac});class h{constructor(S){this.sessionService=S}canActivate(){return!!this.sessionService.watchSession().pipe((0,t.U)(S=>S.clUnlocked))}}h.\u0275fac=function(S){return new(S||h)(e.LFG(I.m))},h.\u0275prov=e.Yz7({token:h,factory:h.\u0275fac});class P{constructor(S){this.sessionService=S}canActivate(){return!!this.sessionService.watchSession().pipe((0,t.U)(S=>S.eclUnlocked))}}P.\u0275fac=function(S){return new(S||P)(e.LFG(I.m))},P.\u0275prov=e.Yz7({token:P,factory:P.\u0275fac})},62:(Ue,q,p)=>{"use strict";p.d(q,{v:()=>w});var t=p(1135),e=p(9646),b=p(2843),I=p(5698),s=p(4004),C=p(262),h=p(7731),P=p(4650),d=p(8104),S=p(5043);class w{constructor(E,R){this.dataService=E,this.logger=R,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(E){this.screenSize=E}getContainerSize(){return this.containerSize}setContainerSize(E,R){this.containerSize={width:E,height:R},this.logger.info("Container Size: "+JSON.stringify(this.containerSize)),this.containerSizeUpdated.next(this.containerSize)}sortByKey(E,R,z,U="asc"){return E.sort("number"===z?"desc"===U?(Y,K)=>+Y[R]>+K[R]?-1:1:(Y,K)=>+Y[R]>+K[R]?1:-1:"desc"===U?(Y,K)=>Y[R]>K[R]?-1:1:(Y,K)=>Y[R]>K[R]?1:-1)}sortDescByKey(E,R){return E.sort((z,U)=>{const Y=+z[R],K=+U[R];return Y>K?-1:Y<K?1:0})}sortAscByKey(E,R){return E.sort((z,U)=>{const Y=+z[R],K=+U[R];return Y<K?-1:Y>K?1:0})}camelCase(E){return E?.replace(/(?:^\w|[A-Z]|\b\w)/g,(R,z)=>R.toUpperCase())?.replace(/\s+/g,"")?.replace(/-/g," ")}titleCase(E,R,z){return R&&z&&""!==R&&""!==z&&(E=E?.replace(new RegExp(R,"g"),z)),E.indexOf("!\n")>0||E.indexOf(".\n")>0?E.split("\n")?.reduce((U,Y)=>U+Y.charAt(0).toUpperCase()+Y.substring(1).toLowerCase()+"\n",""):E.indexOf(" ")>0?E.split(" ")?.reduce((U,Y)=>U+Y.charAt(0).toUpperCase()+Y.substring(1).toLowerCase()+" ",""):E.charAt(0).toUpperCase()+E.substring(1).toLowerCase()}convertCurrency(E,R,z,U,Y){const K=(new Date).valueOf();return Y&&U&&this.ratesAPIStatus!==h.Bn.INITIATED&&(R===h.NT.OTHER||z===h.NT.OTHER)?this.conversionData.data&&this.conversionData.last_fetched&&K<this.conversionData.last_fetched+3e5?(0,e.of)(this.convertWithFiat(E,R,U)):(this.ratesAPIStatus=h.Bn.INITIATED,this.dataService.getFiatRates().pipe((0,I.q)(1),(0,s.U)($=>(this.ratesAPIStatus=h.Bn.COMPLETED,this.conversionData.data=$&&"object"==typeof $?$:$&&"string"==typeof $?JSON.parse($):{},this.conversionData.last_fetched=K,this.convertWithFiat(E,R,U))),(0,C.K)($=>(this.ratesAPIStatus=h.Bn.ERROR,(0,b._)(()=>this.extractErrorMessage($,"Currency Conversion Error.")))))):(0,e.of)(this.convertWithoutFiat(E,R))}convertWithoutFiat(E,R){const z={};switch(z[h.NT.SATS]=0,z[h.NT.BTC]=0,R){case h.NT.SATS:z[h.NT.SATS]=E,z[h.NT.BTC]=1e-8*E;break;case h.NT.BTC:z[h.NT.SATS]=1e8*E,z[h.NT.BTC]=E}return z}convertWithFiat(E,R,z){const U={unit:z,symbol:this.conversionData.data[z].symbol};switch(U[h.NT.SATS]=0,U[h.NT.BTC]=0,U[h.NT.OTHER]=0,R){case h.NT.SATS:U[h.NT.SATS]=E,U[h.NT.BTC]=1e-8*E,U[h.NT.OTHER]=1e-8*E*this.conversionData.data[z].last;break;case h.NT.BTC:U[h.NT.SATS]=1e8*E,U[h.NT.BTC]=E,U[h.NT.OTHER]=E*this.conversionData.data[z].last;break;case h.NT.OTHER:U[h.NT.SATS]=E/this.conversionData.data[z].last*1e8,U[h.NT.BTC]=E/this.conversionData.data[z].last,U[h.NT.OTHER]=E}return U}convertTime(E,R,z){switch(R){case h.Qk.SECS:switch(z){case h.Qk.MINS:E/=60;break;case h.Qk.HOURS:E/=h.k_;break;case h.Qk.DAYS:E/=24*h.k_}break;case h.Qk.MINS:switch(z){case h.Qk.SECS:E*=60;break;case h.Qk.HOURS:E/=60;break;case h.Qk.DAYS:E/=1440}break;case h.Qk.HOURS:switch(z){case h.Qk.SECS:E*=h.k_;break;case h.Qk.MINS:E*=60;break;case h.Qk.DAYS:E/=24}break;case h.Qk.DAYS:switch(z){case h.Qk.SECS:E=E*h.k_*24;break;case h.Qk.MINS:E=60*E*24;break;case h.Qk.HOURS:E*=24}}return E}downloadFile(E,R,z=".json",U=".csv"){let Y=new Blob;Y=".json"===z?new Blob(["\ufeff"+this.convertToCSV(E)],{type:"text/csv;charset=utf-8;"}):new Blob([E.toString()],{type:"text/plain;charset=utf-8"});const K=document.createElement("a"),$=URL.createObjectURL(Y);-1!==navigator.userAgent.indexOf("Safari")&&-1===navigator.userAgent.indexOf("Chrome")&&K.setAttribute("target","_blank"),K.setAttribute("href",$),K.setAttribute("download",R+U),K.style.visibility="hidden",document.body.appendChild(K),K.click(),document.body.removeChild(K)}convertToCSV(E){const R=[];let z="",U="",Y="";return"object"!=typeof E&&(E=JSON.parse(E)),E.forEach(($,ie)=>{for(const ue in $)R.findIndex(he=>he===ue)<0&&R.push(ue)}),Y=R.join(",")+"\r\n",E.forEach($=>{z="",R.forEach(ie=>{$.hasOwnProperty(ie)?Array.isArray($[ie])?(U="",$[ie].forEach((ue,he)=>{U+="object"==typeof ue?"("+JSON.stringify(ue)?.replace(/\,/g,";")+")":"("+ue+")"}),z+=U+","):z+="object"==typeof $[ie]?JSON.stringify($[ie])?.replace(/\,/g,";")+",":$[ie]+",":z+=","}),Y+=z.slice(0,-1)+"\r\n"}),Y}isVersionCompatible(E,R){if(E){const z=E.trim()?.replace("v","").split("-")[0].split(".")||[],U=R.split(".");return+z[0]>+U[0]||+z[0]==+U[0]&&+z[1]>+U[1]||+z[0]==+U[0]&&+z[1]==+U[1]&&+z[2]>=+U[2]}return!1}extractErrorMessage(E,R="Unknown Error."){const z=this.titleCase(E.error&&E.error.text&&"string"==typeof E.error.text&&E.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":E.error&&E.error.error&&E.error.error.error&&E.error.error.error.error&&E.error.error.error.error.error&&"string"==typeof E.error.error.error.error.error?E.error.error.error.error.error:E.error&&E.error.error&&E.error.error.error&&E.error.error.error.error&&"string"==typeof E.error.error.error.error?E.error.error.error.error:E.error&&E.error.error&&E.error.error.error&&"string"==typeof E.error.error.error?E.error.error.error:E.error&&E.error.error&&"string"==typeof E.error.error?E.error.error:E.error&&"string"==typeof E.error?E.error:E.error&&E.error.error&&E.error.error.error&&E.error.error.error.error&&E.error.error.error.error.message&&"string"==typeof E.error.error.error.error.message?E.error.error.error.error.message:E.error&&E.error.error&&E.error.error.error&&E.error.error.error.message&&"string"==typeof E.error.error.error.message?E.error.error.error.message:E.error&&E.error.error&&E.error.error.message&&"string"==typeof E.error.error.message?E.error.error.message:E.error&&E.error.message&&"string"==typeof E.error.message?E.error.message:E.message&&"string"==typeof E.message?E.message:R);return this.logger.info("Error Message: "+z),z}extractErrorCode(E,R=500){const z=E.error&&E.error.error&&E.error.error.message&&E.error.error.message.code?E.error.error.message.code:E.error&&E.error.error&&E.error.error.code?E.error.error.code:E.error&&E.error.code?E.error.code:E.code?E.code:E.status?E.status:R;return this.logger.info("Error Code: "+z),z}extractErrorNumber(E,R=500){const z=E.error&&E.error.error&&E.error.error.errno?E.error.error.errno:E.error&&E.error.errno?E.error.errno:E.errno?E.errno:E.status?E.status:R;return this.logger.info("Error Number: "+z),z}ngOnDestroy(){this.containerSizeUpdated.next(null),this.containerSizeUpdated.complete()}}w.\u0275fac=function(E){return new(E||w)(P.LFG(d.D),P.LFG(S.mQ))},w.\u0275prov=P.Yz7({token:w,factory:w.\u0275fac})},7731:(Ue,q,p)=>{"use strict";p.d(q,{$I:()=>v,$Y:()=>s,$v:()=>ue,AB:()=>Ke,At:()=>lt,Bn:()=>ze,Df:()=>de,Dr:()=>Y,Er:()=>w,Fq:()=>n,Gi:()=>u,HW:()=>y,H_:()=>Ce,IV:()=>R,IX:()=>ye,JX:()=>tt,LO:()=>O,NT:()=>a,OJ:()=>me,OO:()=>Ge,Pi:()=>ut,Qk:()=>A,Qw:()=>V,T5:()=>h,TJ:()=>z,Vc:()=>K,Xk:()=>wt,Xr:()=>ce,Xz:()=>S,Zs:()=>m,_t:()=>U,c3:()=>He,cu:()=>l,g8:()=>ne,gB:()=>Ze,gG:()=>_t,gK:()=>St,gg:()=>X,hG:()=>ke,hZ:()=>te,hc:()=>B,kO:()=>je,k_:()=>I,lr:()=>Ae,m6:()=>Le,nM:()=>he,n_:()=>ee,ol:()=>le,op:()=>De,p7:()=>D,pg:()=>ve,pt:()=>b,q4:()=>C,uA:()=>d,uR:()=>oe,vn:()=>$,vv:()=>P,wZ:()=>ie,x$:()=>T,zZ:()=>At});var t=p(4650),e=p(8739);function b(W){const Fe=new e.ye;return Fe.itemsPerPageLabel=W+" per page:",Fe}const I=3600,s=24*I*7,C="0.13.7-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"],S={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"}],O=["SECS","MINS","HOURS","DAYS"],R=10,z=[5,10,25,100],U=[{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"}],Y=[{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"}],$=[{feeRateId:"urgent",feeRateType:"Urgent"},{feeRateId:"normal",feeRateType:"Normal"},{feeRateId:"slow",feeRateType:"Slow"},{feeRateId:"customperkb",feeRateType:"Custom (Sats/vByte)"}],ie={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 ue=(()=>{return(W=ue||(ue={})).PAYMENT_RECEIVED="payment-received",W.PAYMENT_RELAYED="payment-relayed",W.PAYMENT_SENT="payment-sent",W.PAYMENT_SETTLING_ONCHAIN="payment-settling-onchain",W.PAYMENT_FAILED="payment-failed",W.CHANNEL_OPENED="channel-opened",W.CHANNEL_STATE_CHANGED="channel-state-changed",W.CHANNEL_CLOSED="channel-closed",ue;var W})(),he=(()=>{return(W=he||(he={})).INVOICE="invoice",W.BLOCK_HEIGHT="block-height",W.SEND_PAYMENT="send-payment",he;var W})(),ne=(()=>((ne||(ne={})).INVOICE="invoice",ne))(),le=(()=>{return(W=le||(le={})).OPERATOR="OPERATOR",W.MERCHANT="MERCHANT",W.ALL="ALL",le;var W})(),ee=(()=>{return(W=ee||(ee={})).INFORMATION="Information",W.WARNING="Warning",W.ERROR="Error",W.SUCCESS="Success",W.CONFIRM="Confirm",ee;var W})(),me=(()=>{return(W=me||(me={})).JWT="JWT",W.PASSWORD="PASSWORD",me;var W})(),A=(()=>{return(W=A||(A={})).SECS="SECS",W.MINS="MINS",W.HOURS="HOURS",W.DAYS="DAYS",A;var W})(),a=(()=>{return(W=a||(a={})).SATS="Sats",W.BTC="BTC",W.OTHER="OTHER",a;var W})(),u=(()=>{return(W=u||(u={})).ARRAY="ARRAY",W.NUMBER="NUMBER",W.STRING="STRING",W.BOOLEAN="BOOLEAN",W.PASSWORD="PASSWORD",W.DATE="DATE",W.DATE_TIME="DATE_TIME",u;var W})(),l=(()=>{return(W=l||(l={})).XS="XS",W.SM="SM",W.MD="MD",W.LG="LG",W.XL="XL",l;var W})();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"}},T={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(W=D||(D={})).WIRE_INVALID_ONION_VERSION="Invalid Onion Version",W.WIRE_INVALID_ONION_HMAC="Invalid Onion HMAC",W.WIRE_INVALID_ONION_KEY="Invalid Onion Key",W.WIRE_TEMPORARY_CHANNEL_FAILURE="Temporary Channel Failure",W.WIRE_PERMANENT_CHANNEL_FAILURE="Permanent Channel Failure",W.WIRE_REQUIRED_CHANNEL_FEATURE_MISSING="Missing Required Channel Feature",W.WIRE_UNKNOWN_NEXT_PEER="Unknown Next Peer",W.WIRE_AMOUNT_BELOW_MINIMUM="Amount Below Minimum",W.WIRE_FEE_INSUFFICIENT="Insufficient Fee",W.WIRE_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",W.WIRE_EXPIRY_TOO_FAR="Expiry Too Far",W.WIRE_EXPIRY_TOO_SOON="Expiry Too Soon",W.WIRE_CHANNEL_DISABLED="Channel Disabled",W.WIRE_INVALID_ONION_PAYLOAD="Invalid Onion Payload",W.WIRE_INVALID_REALM="Invalid Realm",W.WIRE_PERMANENT_NODE_FAILURE="Permanent Node Failure",W.WIRE_TEMPORARY_NODE_FAILURE="Temporary Node Failure",W.WIRE_REQUIRED_NODE_FEATURE_MISSING="Missing Required Node Feature",W.WIRE_INVALID_ONION_BLINDING="Invalid Onion Binding",W.WIRE_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS="Incorrect or Unknow Payment Details",W.WIRE_MPP_TIMEOUT="MPP Timeout",W.WIRE_FINAL_INCORRECT_CLTV_EXPIRY="Incorrect CLTV Expiry",W.WIRE_FINAL_INCORRECT_HTLC_AMOUNT="Incorrect HTLC Amount",D;var W})(),m=(()=>{return(W=m||(m={})).CHANNELD_NORMAL="Active",W.OPENINGD="Opening",W.CHANNELD_AWAITING_LOCKIN="Pending Open",W.CHANNELD_SHUTTING_DOWN="Shutting Down",W.CLOSINGD_SIGEXCHANGE="Closing: Sig Exchange",W.CLOSINGD_COMPLETE="Closed",W.AWAITING_UNILATERAL="Awaiting Unilateral Close",W.FUNDING_SPEND_SEEN="Funding Spend Seen",W.ONCHAIN="Onchain",W.DUALOPEND_OPEN_INIT="Dual Open Initialized",W.DUALOPEND_AWAITING_LOCKIN="Dual Pending Open",m;var W})(),n=(()=>{return(W=n||(n={})).INITIATED="Initiated",W.PREIMAGE_REVEALED="Preimage Revealed",W.HTLC_PUBLISHED="HTLC Published",W.SUCCESS="Successful",W.FAILED="Failed",W.INVOICE_SETTLED="Invoice Settled",n;var W})(),v=(()=>{return(W=v||(v={})).LOOP_OUT="LOOP_OUT",W.LOOP_IN="LOOP_IN",v;var W})(),B=(()=>{return(W=B||(B={})).SWAP_OUT="SWAP_OUT",W.SWAP_IN="SWAP_IN",B;var W})(),V=(()=>{return(W=V||(V={}))["swap.created"]="Swap Created",W["swap.expired"]="Swap Expired",W["invoice.set"]="Invoice Set",W["invoice.paid"]="Invoice Paid",W["invoice.pending"]="Invoice Pending",W["invoice.settled"]="Invoice Settled",W["invoice.failedToPay"]="Invoice Failed To Pay",W["channel.created"]="Channel Created",W["transaction.failed"]="Transaction Failed",W["transaction.mempool"]="Transaction Mempool",W["transaction.claimed"]="Transaction Claimed",W["transaction.refunded"]="Transaction Refunded",W["transaction.confirmed"]="Transaction Confirmed",W["swap.refunded"]="Swap Refunded",W["swap.abandoned"]="Swap Abandoned",V;var W})();const X=[{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}],De=["MONTHLY","YEARLY"];var tt=(()=>{return(W=tt||(tt={})).LOOP="LOOP",W.BOLTZ="BOLTZ",W.OFFERS="OFFERS",W.PEERSWAP="PEERSWAP",tt;var W})();const je=["password","changeme","moneyprintergobrrr"];var ze=(()=>{return(W=ze||(ze={})).UN_INITIATED="UN_INITIATED",W.INITIATED="INITIATED",W.COMPLETED="COMPLETED",W.ERROR="ERROR",ze;var W})();const Le={NO_SPINNER:"No Spinner...",GET_NODE_INFO:"Getting Node Information...",INITALIZE_NODE_DATA:"Initializing Node Data...",GENERATE_NEW_ADDRESS:"Getting New Address...",SEND_FUNDS:"Sending Funds...",UPDATE_CHAN_POLICY:"Updating Channel Policy...",GET_CHAN_POLICY:"Fetching Channel Policy...",GET_REMOTE_POLICY:"Fetching Remote Policy...",CLOSE_CHANNEL:"Closing Channel...",FORCE_CLOSE_CHANNEL:"Force Closing Channel...",OPEN_CHANNEL:"Opening Channel...",CONNECT_PEER:"Connecting Peer...",DISCONNECT_PEER:"Disconnecting Peer...",ADD_INVOICE:"Adding Invoice...",CREATE_INVOICE:"Creating Invoice...",DELETE_INVOICE:"Deleting Invoices...",DECODE_PAYMENT:"Decoding Payment...",DECODE_OFFER:"Decoding Offer...",DECODE_PAYMENTS:"Decoding Payments...",FETCH_INVOICE:"Fetching Invoice...",GET_SENT_PAYMENTS:"Getting Sent Payments...",SEND_PAYMENT:"Sending Payment...",SEND_KEYSEND:"Sending Keysend Payment...",SEARCHING_NODE:"Searching Node...",SEARCHING_CHANNEL:"Searching Channel...",SEARCHING_INVOICE:"Searching Invoice...",SEARCHING_PAYMENT:"Searching Payment...",BACKUP_CHANNEL:"Backup Channels...",VERIFY_CHANNEL:"Verify Channel...",DOWNLOAD_BACKUP_FILE:"Downloading Backup File...",RESTORE_CHANNEL:"Restoring Channels...",GET_TERMS_QUOTES:"Getting Terms and Quotes...",LABEL_UTXO:"Labelling UTXO...",GET_NODE_ADDRESS:"Getting Node Address...",GEN_SEED:"Generating Seed...",INITIALIZE_WALLET:"Initializing Wallet...",UNLOCK_WALLET:"Unlocking Wallet...",WAIT_SYNC_NODE:"Waiting for Node Sync...",UPDATE_BOLTZ_SETTINGS:"Updating Boltz Service Settings...",UPDATE_LOOP_SETTINGS:"Updating Loop Service Settings...",UPDATE_PEERSWAP_SETTINGS:"Updating Peerswap Service Settings...",UPDATE_SETTING:"Updating Setting...",UPDATE_UI_SETTINGS:"Updating Settings...",UPDATE_NODE_SETTINGS:"Updating Node Settings...",UPDATE_SELECTED_NODE:"Updating Selected Node...",OPEN_CONFIG_FILE:"Opening Config File...",GET_SERVICE_INFO:"Getting Service Info...",GET_QUOTE:"Getting Quotes...",UPDATE_DEFAULT_NODE_SETTING:"Updating Defaule Node Settings...",GET_BOLTZ_SWAPS:"Getting Boltz Swaps...",SIGN_MESSAGE:"Signing Message...",VERIFY_MESSAGE:"Verifying Message...",BUMP_FEE:"Bumping Fee...",LEASE_UTXO:"Leasing UTXO...",GET_LOOP_SWAPS:"Getting List Swaps...",GET_FORWARDING_HISTORY:"Getting Forwarding History...",GET_LOOKUP_DETAILS:"Getting Lookup Details...",GET_RTL_CONFIG:"Getting RTL Config...",VERIFY_TOKEN:"Verify Token...",DISABLE_OFFER:"Disabling Offer...",CREATE_OFFER:"Creating Offer...",DELETE_OFFER_BOOKMARK:"Deleting Bookmark...",GET_FUNDER_POLICY:"Getting Or Updating Funder Policy...",GET_LIST_CONFIGS:"Getting Configurations List...",LIST_NETWORK_NODES:"Getting Network Nodes List...",GET_PAGE_SETTINGS:"Getting Page Settings...",SET_PAGE_SETTINGS:"Setting Page Settings...",UPDATE_PAGE_SETTINGS:"Updating Page Layout...",LOG_OUT:"Logging Out..."};var ye=(()=>{return(W=ye||(ye={})).INVOICE="INVOICE",W.OFFER="OFFER",W.KEYSEND="KEYSEND",ye;var W})(),ce=(()=>{return(W=ce||(ce={})).FEES="FEES",W.EVENTS="EVENTS",ce;var W})(),ve=(()=>{return(W=ve||(ve={})).VOID="VOID",W.SET_API_URL_ECL="SET_API_URL_ECL",W.UPDATE_SELECTED_NODE_OPTIONS="UPDATE_SELECTED_NODE_OPTIONS",W.UPDATE_API_CALL_STATUS_ROOT="UPDATE_API_CALL_STATUS_ROOT",W.RESET_ROOT_STORE="RESET_ROOT_STORE",W.CLOSE_ALL_DIALOGS="CLOSE_ALL_DIALOGS",W.OPEN_SNACK_BAR="OPEN_SNACKBAR",W.OPEN_SPINNER="OPEN_SPINNER",W.CLOSE_SPINNER="CLOSE_SPINNER",W.OPEN_ALERT="OPEN_ALERT",W.CLOSE_ALERT="CLOSE_ALERT",W.OPEN_CONFIRMATION="OPEN_CONFIRMATION",W.CLOSE_CONFIRMATION="CLOSE_CONFIRMATION",W.SHOW_PUBKEY="SHOW_PUBKEY",W.FETCH_CONFIG="FETCH_CONFIG",W.SHOW_CONFIG="SHOW_CONFIG",W.FETCH_STORE="FETCH_STORE",W.SET_STORE="SET_STORE",W.FETCH_RTL_CONFIG="FETCH_RTL_CONFIG",W.SET_RTL_CONFIG="SET_RTL_CONFIG",W.SAVE_SSO="SAVE_SSO",W.SAVE_SETTINGS="SAVE_SETTINGS",W.TWO_FA_SAVE_SETTINGS="TWO_FA_SAVE_SETTINGS",W.SET_SELECTED_NODE="SET_SELECTED_NODE",W.UPDATE_ROOT_NODE_SETTINGS="UPDATE_ROOT_NODE_SETTINGS",W.UPDATE_SERVICE_SETTINGS="UPDATE_SERVICE_SETTINGS",W.SET_NODE_DATA="SET_NODE_DATA",W.IS_AUTHORIZED="IS_AUTHORIZED",W.IS_AUTHORIZED_RES="IS_AUTHORIZED_RES",W.LOGIN="LOGIN",W.VERIFY_TWO_FA="VERIFY_TWO_FA",W.LOGOUT="LOGOUT",W.RESET_PASSWORD="RESET_PASSWORD",W.RESET_PASSWORD_RES="RESET_PASSWORD_RES",W.FETCH_FILE="FETCH_FILE",W.SHOW_FILE="SHOW_FILE",ve;var W})(),oe=(()=>{return(W=oe||(oe={})).RESET_LND_STORE="RESET_LND_STORE",W.UPDATE_API_CALL_STATUS_LND="UPDATE_API_CALL_STATUS_LND",W.SET_CHILD_NODE_SETTINGS_LND="SET_CHILD_NODE_SETTINGS_LND",W.FETCH_PAGE_SETTINGS_LND="FETCH_PAGE_SETTINGS_LND",W.SET_PAGE_SETTINGS_LND="SET_PAGE_SETTINGS_LND",W.SAVE_PAGE_SETTINGS_LND="SAVE_PAGE_SETTINGS_LND",W.FETCH_INFO_LND="FETCH_INFO_LND",W.SET_INFO_LND="SET_INFO_LND",W.FETCH_PEERS_LND="FETCH_PEERS_LND",W.SET_PEERS_LND="SET_PEERS_LND",W.SAVE_NEW_PEER_LND="SAVE_NEW_PEER_LND",W.NEWLY_ADDED_PEER_LND="NEWLY_ADDED_PEER_LND",W.DETACH_PEER_LND="DETACH_PEER_LND",W.REMOVE_PEER_LND="REMOVE_PEER_LND",W.SAVE_NEW_INVOICE_LND="SAVE_NEW_INVOICE_LND",W.NEWLY_SAVED_INVOICE_LND="NEWLY_SAVED_INVOICE_LND",W.ADD_INVOICE_LND="ADD_INVOICE_LND",W.FETCH_FEES_LND="FETCH_FEES_LND",W.SET_FEES_LND="SET_FEES_LND",W.FETCH_BLOCKCHAIN_BALANCE_LND="FETCH_BLOCKCHAIN_BALANCE_LND",W.SET_BLOCKCHAIN_BALANCE_LND="SET_BLOCKCHAIN_BALANCE_LND",W.FETCH_NETWORK_LND="FETCH_NETWORK_LND",W.SET_NETWORK_LND="SET_NETWORK_LND",W.FETCH_CHANNELS_LND="FETCH_CHANNELS_LND",W.FETCH_PENDING_CHANNELS_LND="FETCH_PENDING_CHANNELS_LND",W.FETCH_CLOSED_CHANNELS_LND="FETCH_CLOSED_CHANNELS_LND",W.SET_CHANNELS_LND="SET_CHANNELS_LND",W.SET_PENDING_CHANNELS_LND="SET_PENDING_CHANNELS_LND",W.SET_CLOSED_CHANNELS_LND="SET_CLOSED_CHANNELS_LND",W.UPDATE_CHANNEL_LND="UPDATE_CHANNEL_LND",W.SAVE_NEW_CHANNEL_LND="SAVE_NEW_CHANNEL_LND",W.CLOSE_CHANNEL_LND="CLOSE_CHANNEL_LND",W.REMOVE_CHANNEL_LND="REMOVE_CHANNEL_LND",W.BACKUP_CHANNELS_LND="BACKUP_CHANNELS_LND",W.VERIFY_CHANNEL_LND="VERIFY_CHANNEL_LND",W.BACKUP_CHANNELS_RES_LND="BACKUP_CHANNELS_RES_LND",W.VERIFY_CHANNEL_RES_LND="VERIFY_CHANNEL_RES_LND",W.RESTORE_CHANNELS_LIST_LND="RESTORE_CHANNELS_LIST_LND",W.SET_RESTORE_CHANNELS_LIST_LND="SET_RESTORE_CHANNELS_LIST_LND",W.RESTORE_CHANNELS_LND="RESTORE_CHANNELS_LND",W.RESTORE_CHANNELS_RES_LND="RESTORE_CHANNELS_RES_LND",W.FETCH_INVOICES_LND="FETCH_INVOICES_LND",W.SET_INVOICES_LND="SET_INVOICES_LND",W.UPDATE_INVOICE_LND="UPDATE_INVOICE_LND",W.UPDATE_PAYMENT_LND="UPDATE_PAYMENT_LND",W.SET_TOTAL_INVOICES_LND="SET_TOTAL_INVOICES_LND",W.FETCH_TRANSACTIONS_LND="FETCH_TRANSACTIONS_LND",W.SET_TRANSACTIONS_LND="SET_TRANSACTIONS_LND",W.FETCH_UTXOS_LND="FETCH_UTXOS_LND",W.SET_UTXOS_LND="SET_UTXOS_LND",W.FETCH_PAYMENTS_LND="FETCH_PAYMENTS_LND",W.SET_PAYMENTS_LND="SET_PAYMENTS_LND",W.SEND_PAYMENT_LND="SEND_PAYMENT_LND",W.SEND_PAYMENT_STATUS_LND="SEND_PAYMENT_STATUS_LND",W.FETCH_GRAPH_NODE_LND="FETCH_GRAPH_NODE_LND",W.SET_GRAPH_NODE_LND="SET_GRAPH_NODE_LND",W.GET_NEW_ADDRESS_LND="GET_NEW_ADDRESS_LND",W.SET_NEW_ADDRESS_LND="SET_NEW_ADDRESS_LND",W.SET_CHANNEL_TRANSACTION_LND="SET_CHANNEL_TRANSACTION_LND",W.SET_CHANNEL_TRANSACTION_RES_LND="SET_CHANNEL_TRANSACTION_RES_LND",W.GEN_SEED_LND="GEN_SEED_LND",W.GEN_SEED_RESPONSE_LND="GEN_SEED_RESPONSE_LND",W.INIT_WALLET_LND="INIT_WALLET_LND",W.INIT_WALLET_RESPONSE_LND="INIT_WALLET_RESPONSE_LND",W.UNLOCK_WALLET_LND="UNLOCK_WALLET_LND",W.PEER_LOOKUP_LND="PEER_LOOKUP_LND",W.CHANNEL_LOOKUP_LND="CHANNEL_LOOKUP_LND",W.INVOICE_LOOKUP_LND="INVOICE_LOOKUP_LND",W.PAYMENT_LOOKUP_LND="PAYMENT_LOOKUP_LND",W.SET_LOOKUP_LND="SET_LOOKUP_LND",W.GET_FORWARDING_HISTORY_LND="GET_FORWARDING_HISTORY_LND",W.SET_FORWARDING_HISTORY_LND="SET_FORWARDING_HISTORY_LND",W.GET_QUERY_ROUTES_LND="GET_QUERY_ROUTES_LND",W.SET_QUERY_ROUTES_LND="SET_QUERY_ROUTES_LND",W.GET_ALL_LIGHTNING_TRANSATIONS_LND="GET_ALL_LIGHTNING_TRANSATIONS_LND",W.SET_ALL_LIGHTNING_TRANSATIONS_LND="SET_ALL_LIGHTNING_TRANSATIONS_LND",oe;var W})(),Ke=(()=>{return(W=Ke||(Ke={})).RESET_CLN_STORE="RESET_CLN_STORE",W.UPDATE_API_CALL_STATUS_CLN="UPDATE_API_CALL_STATUS_CLN",W.SET_CHILD_NODE_SETTINGS_CLN="SET_CHILD_NODE_SETTINGS_CLN",W.FETCH_PAGE_SETTINGS_CLN="FETCH_PAGE_SETTINGS_CLN",W.SET_PAGE_SETTINGS_CLN="SET_PAGE_SETTINGS_CLN",W.SAVE_PAGE_SETTINGS_CLN="SAVE_PAGE_SETTINGS_CLN",W.FETCH_INFO_CLN="FETCH_INFO_CL_CLN",W.SET_INFO_CLN="SET_INFO_CLN",W.FETCH_FEES_CLN="FETCH_FEES_CLN",W.SET_FEES_CLN="SET_FEES_CLN",W.FETCH_FEE_RATES_CLN="FETCH_FEE_RATES_CLN",W.SET_FEE_RATES_CLN="SET_FEE_RATES_CLN",W.FETCH_BALANCE_CLN="FETCH_BALANCE_CLN",W.SET_BALANCE_CLN="SET_BALANCE_CLN",W.FETCH_LOCAL_REMOTE_BALANCE_CLN="FETCH_LOCAL_REMOTE_BALANCE_CLN",W.SET_LOCAL_REMOTE_BALANCE_CLN="SET_LOCAL_REMOTE_BALANCE_CLN",W.GET_NEW_ADDRESS_CLN="GET_NEW_ADDRESS_CLN",W.SET_NEW_ADDRESS_CLN="SET_NEW_ADDRESS_CLN",W.FETCH_UTXOS_CLN="FETCH_UTXOS_CLN",W.SET_UTXOS_CLN="SET_UTXOS_CLN",W.FETCH_PEERS_CLN="FETCH_PEERS_CLN",W.SET_PEERS_CLN="SET_PEERS_CLN",W.SAVE_NEW_PEER_CLN="SAVE_NEW_PEER_CLN",W.NEWLY_ADDED_PEER_CLN="NEWLY_ADDED_PEER_CLN",W.ADD_PEER_CLN="ADD_PEER_CLN",W.DETACH_PEER_CLN="DETACH_PEER_CLN",W.REMOVE_PEER_CLN="REMOVE_PEER_CLN",W.FETCH_CHANNELS_CLN="FETCH_CHANNELS_CLN",W.SET_CHANNELS_CLN="SET_CHANNELS_CLN",W.UPDATE_CHANNEL_CLN="UPDATE_CHANNEL_CLN",W.SAVE_NEW_CHANNEL_CLN="SAVE_NEW_CHANNEL_CLN",W.CLOSE_CHANNEL_CLN="CLOSE_CHANNEL_CLN",W.REMOVE_CHANNEL_CLN="REMOVE_CHANNEL_CLN",W.FETCH_PAYMENTS_CLN="FETCH_PAYMENTS_CLN",W.SET_PAYMENTS_CLN="SET_PAYMENTS_CLN",W.SEND_PAYMENT_CLN="SEND_PAYMENT_CLN",W.SEND_PAYMENT_STATUS_CLN="SEND_PAYMENT_STATUS_CLN",W.GET_QUERY_ROUTES_CLN="GET_QUERY_ROUTES_CLN",W.SET_QUERY_ROUTES_CLN="SET_QUERY_ROUTES_CLN",W.PEER_LOOKUP_CLN="PEER_LOOKUP_CLN",W.CHANNEL_LOOKUP_CLN="CHANNEL_LOOKUP_CLN",W.INVOICE_LOOKUP_CLN="INVOICE_LOOKUP_CLN",W.SET_LOOKUP_CLN="SET_LOOKUP_CLN",W.GET_FORWARDING_HISTORY_CLN="GET_FORWARDING_HISTORY_CLN",W.SET_FORWARDING_HISTORY_CLN="SET_FORWARDING_HISTORY_CLN",W.GET_FAILED_FORWARDING_HISTORY_CLN="GET_FAILED_FORWARDING_HISTORY_CLN",W.SET_FAILED_FORWARDING_HISTORY_CLN="SET_FAILED_FORWARDING_HISTORY_CLN",W.GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="GET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",W.SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN="SET_LOCAL_FAILED_FORWARDING_HISTORY_CLN",W.FETCH_INVOICES_CLN="FETCH_INVOICES_CLN",W.SET_INVOICES_CLN="SET_INVOICES_CLN",W.SAVE_NEW_INVOICE_CLN="SAVE_NEW_INVOICE_CLN",W.ADD_INVOICE_CLN="ADD_INVOICE_CLN",W.UPDATE_INVOICE_CLN="UPDATE_INVOICE_CLN",W.DELETE_EXPIRED_INVOICE_CLN="DELETE_EXPIRED_INVOICE_CLN",W.SET_CHANNEL_TRANSACTION_CLN="SET_CHANNEL_TRANSACTION_CLN",W.SET_CHANNEL_TRANSACTION_RES_CLN="SET_CHANNEL_TRANSACTION_RES_CLN",W.FETCH_OFFER_INVOICE_CLN="FETCH_OFFER_INVOICE_CLN",W.SET_OFFER_INVOICE_CLN="SET_OFFER_INVOICE_CLN",W.FETCH_OFFERS_CLN="FETCH_OFFERS_CLN",W.SET_OFFERS_CLN="SET_OFFERS_CLN",W.SAVE_NEW_OFFER_CLN="SAVE_NEW_OFFER_CLN",W.ADD_OFFER_CLN="ADD_OFFER_CLN",W.DISABLE_OFFER_CLN="DISABLE_OFFER_CLN",W.UPDATE_OFFER_CLN="UPDATE_OFFER_CLN",W.FETCH_OFFER_BOOKMARKS_CLN="FETCH_OFFER_BOOKMARKS_CLN",W.SET_OFFER_BOOKMARKS_CLN="SET_OFFER_BOOKMARKS_CLN",W.ADD_UPDATE_OFFER_BOOKMARK_CLN="ADD_UPDATE_OFFER_BOOKMARK_CLN",W.DELETE_OFFER_BOOKMARK_CLN="DELETE_OFFER_BOOKMARK_CLN",W.REMOVE_OFFER_BOOKMARK_CLN="REMOVE_OFFER_BOOKMARK_CL",Ke;var W})(),Ae=(()=>{return(W=Ae||(Ae={})).RESET_ECL_STORE="RESET_ECL_STORE",W.UPDATE_API_CALL_STATUS_ECL="UPDATE_API_CALL_STATUS_ECL",W.SET_CHILD_NODE_SETTINGS_ECL="SET_CHILD_NODE_SETTINGS_ECL",W.FETCH_PAGE_SETTINGS_ECL="FETCH_PAGE_SETTINGS_ECL",W.SET_PAGE_SETTINGS_ECL="SET_PAGE_SETTINGS_ECL",W.SAVE_PAGE_SETTINGS_ECL="SAVE_PAGE_SETTINGS_ECL",W.FETCH_INFO_ECL="FETCH_INFO_ECL",W.SET_INFO_ECL="SET_INFO_ECL",W.FETCH_FEES_ECL="FETCH_FEES_ECL",W.SET_FEES_ECL="SET_FEES_ECL",W.FETCH_CHANNELS_ECL="FETCH_CHANNELS_ECL",W.SET_ACTIVE_CHANNELS_ECL="SET_ACTIVE_CHANNELS_ECL",W.SET_PENDING_CHANNELS_ECL="SET_PENDING_CHANNELS_ECL",W.SET_INACTIVE_CHANNELS_ECL="SET_INACTIVE_CHANNELS_ECL",W.FETCH_ONCHAIN_BALANCE_ECL="FETCH_ONCHAIN_BALANCE_ECL",W.SET_ONCHAIN_BALANCE_ECL="SET_ONCHAIN_BALANCE_ECL",W.FETCH_LIGHTNING_BALANCE_ECL="FETCH_LIGHTNING_BALANCE_ECL",W.SET_LIGHTNING_BALANCE_ECL="SET_LIGHTNING_BALANCE_ECL",W.SET_CHANNELS_STATUS_ECL="SET_CHANNELS_STATUS_ECL",W.FETCH_PEERS_ECL="FETCH_PEERS_ECL",W.SET_PEERS_ECL="SET_PEERS_ECL",W.SAVE_NEW_PEER_ECL="SAVE_NEW_PEER_ECL",W.NEWLY_ADDED_PEER_ECL="NEWLY_ADDED_PEER_ECL",W.ADD_PEER_ECL="ADD_PEER_ECL",W.DETACH_PEER_ECL="DETACH_PEER_ECL",W.REMOVE_PEER_ECL="REMOVE_PEER_ECL",W.GET_NEW_ADDRESS_ECL="GET_NEW_ADDRESS_ECL",W.SET_NEW_ADDRESS_ECL="SET_NEW_ADDRESS_ECL",W.SAVE_NEW_CHANNEL_ECL="SAVE_NEW_CHANNEL_ECL",W.UPDATE_CHANNEL_ECL="UPDATE_CHANNEL_ECL",W.CLOSE_CHANNEL_ECL="CLOSE_CHANNEL_ECL",W.REMOVE_CHANNEL_ECL="REMOVE_CHANNEL_ECL",W.FETCH_PAYMENTS_ECL="FETCH_PAYMENTS_ECL",W.SET_PAYMENTS_ECL="SET_PAYMENTS_ECL",W.GET_QUERY_ROUTES_ECL="GET_QUERY_ROUTES_ECL",W.SET_QUERY_ROUTES_ECL="SET_QUERY_ROUTES_ECL",W.SEND_PAYMENT_ECL="SEND_PAYMENT_ECL",W.SEND_PAYMENT_STATUS_ECL="SEND_PAYMENT_STATUS_ECL",W.FETCH_TRANSACTIONS_ECL="FETCH_TRANSACTIONS_ECL",W.SET_TRANSACTIONS_ECL="SET_TRANSACTIONS_ECL",W.SEND_ONCHAIN_FUNDS_ECL="SEND_ONCHAIN_FUNDS_ECL",W.SEND_ONCHAIN_FUNDS_RES_ECL="SEND_ONCHAIN_FUNDS_RES_ECL",W.FETCH_INVOICES_ECL="FETCH_INVOICES_ECL",W.SET_INVOICES_ECL="SET_INVOICES_ECL",W.SET_TOTAL_INVOICES_ECL="SET_TOTAL_INVOICES_ECL",W.CREATE_INVOICE_ECL="CREATE_INVOICE_ECL",W.ADD_INVOICE_ECL="ADD_INVOICE_ECL",W.UPDATE_INVOICE_ECL="UPDATE_INVOICE_ECL",W.PEER_LOOKUP_ECL="PEER_LOOKUP_ECL",W.INVOICE_LOOKUP_ECL="INVOICE_LOOKUP_ECL",W.SET_LOOKUP_ECL="SET_LOOKUP_ECL",W.UPDATE_CHANNEL_STATE_ECL="UPDATE_CHANNEL_STATE_ECL",W.UPDATE_RELAYED_PAYMENT_ECL="UPDATE_RELAYED_PAYMENT_ECL",Ae;var W})();const de=[{range:{min:0,max:1},description:"Requires or supports extra channel re-establish fields"},{range:{min:4,max:5},description:"Commits to a shutdown script pubkey when opening channel"},{range:{min:6,max:7},description:"More sophisticated gossip control"},{range:{min:8,max:9},description:"Requires/supports variable-length routing onion payloads"},{range:{min:10,max:11},description:"Gossip queries can include additional information"},{range:{min:12,max:13},description:"Static key for remote output"},{range:{min:14,max:15},description:"Node supports payment secret field"},{range:{min:16,max:17},description:"Node can receive basic multi-part payments"},{range:{min:18,max:19},description:"Node can create large channels"},{range:{min:20,max:21},description:"Anchor outputs"},{range:{min:22,max:23},description:"Anchor commitment type with zero fee HTLC transactions"},{range:{min:26,max:27},description:"Future segwit versions allowed in shutdown"}];var Ce=(()=>{return(W=Ce||(Ce={})).gossip_queries_ex="Gossip queries including additional information",W.option_anchor_outputs="Anchor outputs",W.option_data_loss_protect="Extra channel re-establish fields",W.var_onion_optin="Variable-length routing onion payloads",W.option_static_remotekey="Static key for remote output",W.option_support_large_channel="Create large channels",W.option_anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",W.payment_secret="Payment secret field",W.option_shutdown_anysegwit="Future segwit versions allowed in shutdown",W.basic_mpp="Basic multi-part payments",W.gossip_queries="More sophisticated gossip control",W.option_upfront_shutdown_script="Shutdown script pubkey when opening channel",W.anchors_zero_fee_htlc_tx="Anchor commitment type with zero fee HTLC transactions",W.amp="AMP",Ce;var W})(),te=(()=>{return(W=te||(te={}))["data-loss-protect"]="Extra channel re-establish fields",W["upfront-shutdown-script"]="Shutdown script pubkey when opening channel",W["gossip-queries"]="More sophisticated gossip control",W["tlv-onion"]="Variable-length routing onion payloads",W["ext-gossip-queries"]="Gossip queries can include additional information",W["static-remote-key"]="Static key for remote output",W["payment-addr"]="Payment secret field",W["multi-path-payments"]="Basic multi-part payments",W["wumbo-channels"]="Wumbo Channels",W.anchors="Anchor outputs",W["anchors-zero-fee-htlc-tx"]="Anchor commitment type with zero fee HTLC transactions",W.amp="AMP",te;var W})();const Ze=[{id:"match",placeholder:"Policy Match (%age)",min:0,max:200},{id:"available",placeholder:"Policy Available (%age)",min:0,max:100},{id:"fixed",placeholder:"Fixed Policy (Sats)",min:0,max:100}];var Ge=(()=>{return(W=Ge||(Ge={})).OFFERED="offered",W.SETTLED="settled",W.FAILED="failed",W.LOCAL_FAILED="local_failed",Ge;var W})(),ut=(()=>{return(W=ut||(ut={})).ASCENDING="asc",W.DESCENDING="desc",ut;var W})();const At=["asc","desc"],_t=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:R,sortBy:"blockheight",sortOrder:ut.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]},{tableId:"dust_utxos",recordsPerPage:R,sortBy:"blockheight",sortOrder:ut.DESCENDING,columnSelectionSM:["txid","value"],columnSelection:["txid","output","value","blockheight"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:R,sortBy:"msatoshi_to_us",sortOrder:ut.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:R,sortBy:"state",sortOrder:ut.DESCENDING,columnSelectionSM:["alias","state"],columnSelection:["alias","connected","state","msatoshi_total"]},{tableId:"peers",recordsPerPage:R,sortBy:"alias",sortOrder:ut.ASCENDING,columnSelectionSM:["alias","id"],columnSelection:["alias","id","netaddr"]}]},{pageId:"liquidity_ads",tables:[{tableId:"liquidity_ads",recordsPerPage:R,sortBy:"channel_opening_fee",sortOrder:ut.ASCENDING,columnSelectionSM:["alias","channel_opening_fee"],columnSelection:["alias","last_timestamp","lease_fee","routing_fee","channel_opening_fee"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:R,sortBy:"created_at",sortOrder:ut.DESCENDING,columnSelectionSM:["created_at","msatoshi"],columnSelection:["created_at","type","payment_hash","msatoshi_sent","msatoshi"]},{tableId:"invoices",recordsPerPage:R,sortBy:"expires_at",sortOrder:ut.DESCENDING,columnSelectionSM:["expires_at","msatoshi"],columnSelection:["expires_at","paid_at","type","description","msatoshi","msatoshi_received"]},{tableId:"offers",recordsPerPage:R,sortBy:"offer_id",sortOrder:ut.DESCENDING,columnSelectionSM:["offer_id","single_use"],columnSelection:["offer_id","single_use","used"]},{tableId:"offer_bookmarks",recordsPerPage:R,sortBy:"lastUpdatedAt",sortOrder:ut.DESCENDING,columnSelectionSM:["lastUpdatedAt","amountMSat"],columnSelection:["lastUpdatedAt","title","description","amountMSat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:R,sortBy:"received_time",sortOrder:ut.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:R,sortBy:"total_fee",sortOrder:ut.DESCENDING,columnSelectionSM:["alias","events","total_fee"],columnSelection:["channel_id","alias","events","total_amount","total_fee"]},{tableId:"failed",recordsPerPage:R,sortBy:"received_time",sortOrder:ut.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:R,sortBy:"received_time",sortOrder:ut.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:R,sortBy:"received_time",sortOrder:ut.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:R,sortBy:"date",sortOrder:ut.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:R,sortBy:"msatoshi",sortOrder:ut.DESCENDING,columnSelectionSM:["alias","direction","msatoshi"],columnSelection:["alias","channel","direction","delay","msatoshi"]}]},{pageId:"peerswap",tables:[{tableId:"swaps",recordsPerPage:R,sortBy:"created_at",sortOrder:ut.DESCENDING,columnSelectionSM:["id","state","amount"],columnSelection:["id","alias","short_channel_id","created_at","state","amount"]}]}],lt={on_chain:{utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]},dust_utxos:{maxColumns:7,allowedColumns:[{column:"txid",label:"Transaction ID"},{column:"address"},{column:"scriptpubkey",label:"Script Pubkey"},{column:"output"},{column:"value"},{column:"blockheight"},{column:"reserved"}]}},peers_channels:{open_channels:{maxColumns:8,allowedColumns:[{column:"short_channel_id"},{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"},{column:"balancedness",label:"Balance Score"}]},pending_inactive_channels:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"id"},{column:"channel_id"},{column:"funding_txid",label:"Funding Transaction ID"},{column:"connected"},{column:"state"},{column:"our_channel_reserve_satoshis",label:"Local Reserve"},{column:"their_channel_reserve_satoshis",label:"Remote Reserve"},{column:"msatoshi_total",label:"Total"},{column:"spendable_msatoshi",label:"Spendable"},{column:"msatoshi_to_us",label:"Local Balance"},{column:"msatoshi_to_them",label:"Remote Balance"}]},peers:{maxColumns:3,allowedColumns:[{column:"alias"},{column:"id"},{column:"netaddr",label:"Network Address"}]}},liquidity_ads:{liquidity_ads:{maxColumns:8,allowedColumns:[{column:"alias"},{column:"nodeid",label:"Node ID"},{column:"last_timestamp",label:"Last Announcement At"},{column:"compact_lease"},{column:"lease_fee"},{column:"routing_fee"},{column:"channel_opening_fee"},{column:"funding_weight"}]}},transactions:{payments:{maxColumns:7,allowedColumns:[{column:"created_at",label:"Created At"},{column:"type"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"destination"},{column:"memo"},{column:"label"},{column:"msatoshi_sent",label:"Sats Sent"},{column:"msatoshi",label:"Sats Received"}]},invoices:{maxColumns:7,allowedColumns:[{column:"expires_at",label:"Expiry Date"},{column:"paid_at",label:"Date Settled"},{column:"type"},{column:"description"},{column:"label"},{column:"payment_hash"},{column:"bolt11",label:"Invoice"},{column:"msatoshi",label:"Amount"},{column:"msatoshi_received",label:"Amount Settled"}]},offers:{maxColumns:4,allowedColumns:[{column:"offer_id",label:"Offer ID"},{column:"single_use"},{column:"used"},{column:"bolt12",label:"Invoice"}]},offer_bookmarks:{maxColumns:6,allowedColumns:[{column:"lastUpdatedAt",label:"Updated At"},{column:"title"},{column:"description"},{column:"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"}]}},peerswap:{swaps:{maxColumns:6,allowedColumns:[{column:"id"},{column:"alias"},{column:"short_channel_id"},{column:"created_at"},{column:"state"},{column:"amount"}]}}},St=[{pageId:"on_chain",tables:[{tableId:"utxos",recordsPerPage:R,sortBy:"tx_id",sortOrder:ut.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]},{tableId:"transactions",recordsPerPage:R,sortBy:"time_stamp",sortOrder:ut.DESCENDING,columnSelectionSM:["time_stamp","amount","num_confirmations"],columnSelection:["time_stamp","label","amount","total_fees","block_height","num_confirmations"]},{tableId:"dust_utxos",recordsPerPage:R,sortBy:"tx_id",sortOrder:ut.DESCENDING,columnSelectionSM:["output","amount_sat"],columnSelection:["tx_id","output","label","amount_sat","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open",recordsPerPage:R,sortBy:"balancedness",sortOrder:ut.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:ut.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","commit_fee","commit_weight","capacity"]},{tableId:"pending_force_closing",sortBy:"limbo_balance",sortOrder:ut.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","recovered_balance","limbo_balance","capacity"]},{tableId:"pending_closing",sortBy:"capacity",sortOrder:ut.DESCENDING,columnSelectionSM:["remote_alias","capacity"],columnSelection:["remote_alias","local_balance","remote_balance","capacity"]},{tableId:"pending_waiting_close",sortBy:"limbo_balance",sortOrder:ut.DESCENDING,columnSelectionSM:["remote_alias","limbo_balance"],columnSelection:["remote_alias","limbo_balance","local_balance","remote_balance"]},{tableId:"closed",recordsPerPage:R,sortBy:"close_type",sortOrder:ut.DESCENDING,columnSelectionSM:["remote_alias","settled_balance"],columnSelection:["close_type","remote_alias","capacity","close_height","settled_balance"]},{tableId:"active_HTLCs",recordsPerPage:R,sortBy:"incoming",sortOrder:ut.ASCENDING,columnSelectionSM:["amount","incoming","expiration_height"],columnSelection:["amount","incoming","expiration_height","hash_lock"]},{tableId:"peers",recordsPerPage:R,sortBy:"alias",sortOrder:ut.DESCENDING,columnSelectionSM:["alias","sat_sent","sat_recv"],columnSelection:["alias","pub_key","sat_sent","sat_recv","ping_time"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:R,sortBy:"creation_date",sortOrder:ut.DESCENDING,columnSelectionSM:["creation_date","fee","value"],columnSelection:["creation_date","payment_hash","fee","value","hops"]},{tableId:"invoices",recordsPerPage:R,sortBy:"creation_date",sortOrder:ut.DESCENDING,columnSelectionSM:["creation_date","settle_date","value"],columnSelection:["creation_date","settle_date","memo","value","amt_paid_sat"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:R,sortBy:"timestamp",sortOrder:ut.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"routing_peers",recordsPerPage:R,sortBy:"total_amount",sortOrder:ut.DESCENDING,columnSelectionSM:["alias","events","total_amount"],columnSelection:["chan_id","alias","events","total_amount"]},{tableId:"non_routing_peers",recordsPerPage:R,sortBy:"remote_alias",sortOrder:ut.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:R,sortBy:"timestamp",sortOrder:ut.DESCENDING,columnSelectionSM:["timestamp","amt_in","amt_out"],columnSelection:["timestamp","alias_in","alias_out","amt_in","amt_out","fee_msat"]},{tableId:"transactions",recordsPerPage:R,sortBy:"date",sortOrder:ut.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:R,sortBy:"hop_sequence",sortOrder:ut.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:R,sortBy:"initiation_time",sortOrder:ut.DESCENDING,columnSelectionSM:["state","amt"],columnSelection:["state","initiation_time","amt","cost_server","cost_offchain","cost_onchain"]}]},{pageId:"boltz",tables:[{tableId:"swap_out",recordsPerPage:R,sortBy:"status",sortOrder:ut.DESCENDING,columnSelectionSM:["status","id","onchainAmount"],columnSelection:["status","id","claimAddress","onchainAmount","timeoutBlockHeight"]},{tableId:"swap_in",recordsPerPage:R,sortBy:"status",sortOrder:ut.DESCENDING,columnSelectionSM:["status","id","expectedAmount"],columnSelection:["status","id","lockupAddress","expectedAmount","timeoutBlockHeight"]}]}],ke={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"}]}}},He=[{pageId:"on_chain",tables:[{tableId:"transaction",recordsPerPage:R,sortBy:"timestamp",sortOrder:ut.DESCENDING,columnSelectionSM:["timestamp","amount"],columnSelection:["timestamp","address","amount","fees","confirmations"]}]},{pageId:"peers_channels",tables:[{tableId:"open_channels",recordsPerPage:R,sortBy:"alias",sortOrder:ut.DESCENDING,columnSelectionSM:["alias","toLocal","toRemote"],columnSelection:["shortChannelId","alias","feeBaseMsat","feeProportionalMillionths","toLocal","toRemote","balancedness"]},{tableId:"pending_channels",recordsPerPage:R,sortBy:"alias",sortOrder:ut.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","alias","toLocal","toRemote"]},{tableId:"inactive_channels",recordsPerPage:R,sortBy:"alias",sortOrder:ut.DESCENDING,columnSelectionSM:["state","alias","toLocal"],columnSelection:["state","shortChannelId","alias","toLocal","toRemote","balancedness"]},{tableId:"peers",recordsPerPage:R,sortBy:"alias",sortOrder:ut.ASCENDING,columnSelectionSM:["alias","nodeId"],columnSelection:["alias","nodeId","address","channels"]}]},{pageId:"transactions",tables:[{tableId:"payments",recordsPerPage:R,sortBy:"firstPartTimestamp",sortOrder:ut.DESCENDING,columnSelectionSM:["firstPartTimestamp","recipientAmount"],columnSelection:["firstPartTimestamp","id","recipientNodeAlias","recipientAmount"]},{tableId:"invoices",recordsPerPage:R,sortBy:"receivedAt",sortOrder:ut.DESCENDING,columnSelectionSM:["timestamp","amount","amountSettled"],columnSelection:["timestamp","receivedAt","description","amount","amountSettled"]}]},{pageId:"routing",tables:[{tableId:"forwarding_history",recordsPerPage:R,sortBy:"timestamp",sortOrder:ut.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"routing_peers",recordsPerPage:R,sortBy:"totalFee",sortOrder:ut.DESCENDING,columnSelectionSM:["alias","events","totalFee"],columnSelection:["channelId","alias","events","totalAmount","totalFee"]}]},{pageId:"reports",tables:[{tableId:"routing",recordsPerPage:R,sortBy:"timestamp",sortOrder:ut.DESCENDING,columnSelectionSM:["timestamp","amountIn","fee"],columnSelection:["timestamp","fromChannelAlias","toChannelAlias","amountIn","amountOut","fee"]},{tableId:"transactions",recordsPerPage:R,sortBy:"date",sortOrder:ut.DESCENDING,columnSelectionSM:["date","amount_paid","amount_received"],columnSelection:["date","amount_paid","num_payments","amount_received","num_invoices"]}]}],wt={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:(Ue,q,p)=>{"use strict";p.d(q,{D:()=>ne});var t=p(529),e=p(1135),b=p(7579),I=p(2843),s=p(9646),C=p(590),h=p(5577),P=p(2722),d=p(4004),S=p(262),w=p(1365),O=p(7731),E=p(1786),R=p(7861),z=p(6523),U=p(6529),Y=p(9828),K=p(4650),$=p(9653),ie=p(5043),ue=p(7009),he=p(6895);class ne{constructor(ee,me,A,i,a){this.httpClient=ee,this.store=me,this.logger=A,this.snackBar=i,this.titleCasePipe=a,this.APIUrl=O.T5,this.lnImplementation="",this.lnImplementationUpdated=new e.X(null),this.unSubs=[new b.x,new b.x,new b.x,new b.x,new b.x,new b.x,new b.x,new b.x,new b.x,new b.x,new b.x,new b.x,new b.x],this.mapAliases=(u,l)=>(u&&u.length>0?u.forEach((y,T)=>{if(l&&l.length>0)for(let D=0;D<l.length;D++){if(l[D].short_channel_id&&l[D].short_channel_id===y.in_channel&&(y.in_channel_alias=l[D].alias?l[D].alias:y.in_channel,y.out_channel_alias)||l[D].short_channel_id&&l[D].short_channel_id?.toString()===y.out_channel&&(y.out_channel_alias=l[D].alias?l[D].alias:y.out_channel,y.in_channel_alias))return;D===l.length-1&&(y.in_channel_alias||(y.in_channel_alias=y.in_channel?y.in_channel:"-"),y.out_channel_alias||(y.out_channel_alias=y.out_channel?y.out_channel:"-"))}else y.in_channel_alias=y.in_channel?y.in_channel:"-",y.out_channel_alias=y.out_channel?y.out_channel:"-"}):u=[],u)}setLnImplementation(ee){this.lnImplementation=ee.toLowerCase(),this.lnImplementationUpdated.next(this.lnImplementation)}getFiatRates(){return this.httpClient.get(O.vv.CONF_API+"/rates")}decodePayment(ee,me){return this.lnImplementationUpdated.pipe((0,C.P)(A=>null!==A),(0,h.z)(A=>{let i=this.APIUrl+"/"+A+O.vv.PAYMENTS_API+"/decode/"+ee;return"cln"===A&&(i=this.APIUrl+"/"+A+O.vv.UTILITY_API+"/decode/"+ee),this.store.dispatch((0,R.ac)({payload:O.m6.DECODE_PAYMENT})),this.httpClient.get(i).pipe((0,P.R)(this.unSubs[0]),(0,d.U)(a=>(this.store.dispatch((0,R.uO)({payload:O.m6.DECODE_PAYMENT})),a)),(0,S.K)(a=>(me?this.handleErrorWithoutAlert("Decode Payment",O.m6.DECODE_PAYMENT,a):this.handleErrorWithAlert("decodePaymentData",O.m6.DECODE_PAYMENT,"Decode Payment Failed",i,a),(0,I._)(()=>new Error(this.extractErrorMessage(a))))))}))}decodePayments(ee){return this.lnImplementationUpdated.pipe((0,C.P)(me=>null!==me),(0,h.z)(me=>{let A="",i="";return"ecl"===me?(A=this.APIUrl+"/"+me+O.vv.PAYMENTS_API+"/getsentinfos",i=O.m6.GET_SENT_PAYMENTS):"cln"===me?(A=this.APIUrl+"/"+me+O.vv.UTILITY_API,i=O.m6.DECODE_PAYMENTS):(A=this.APIUrl+"/"+me+O.vv.PAYMENTS_API,i=O.m6.DECODE_PAYMENTS),this.store.dispatch((0,R.ac)({payload:i})),this.httpClient.post(A,{payments:ee}).pipe((0,P.R)(this.unSubs[1]),(0,d.U)(a=>(this.store.dispatch((0,R.uO)({payload:i})),a)),(0,S.K)(a=>(this.handleErrorWithAlert("decodePaymentsData",i,i+" Failed",A,a),(0,I._)(()=>new Error(this.extractErrorMessage(a))))))}))}getAliasesFromPubkeys(ee,me){return this.lnImplementationUpdated.pipe((0,C.P)(A=>null!==A),(0,h.z)(A=>{if(me){const i=(new t.LE).set("pubkeys",ee);return this.httpClient.get(this.APIUrl+"/"+A+O.vv.NETWORK_API+"/nodes",{params:i})}return this.httpClient.get(this.APIUrl+"/"+A+O.vv.NETWORK_API+"/node/"+ee)}))}signMessage(ee){return this.lnImplementationUpdated.pipe((0,C.P)(me=>null!==me),(0,h.z)(me=>{let A=this.APIUrl+"/"+me+O.vv.MESSAGE_API+"/sign";return"cln"===me&&(A=this.APIUrl+"/"+me+O.vv.UTILITY_API+"/sign"),this.store.dispatch((0,R.ac)({payload:O.m6.SIGN_MESSAGE})),this.httpClient.post(A,{message:ee}).pipe((0,P.R)(this.unSubs[2]),(0,d.U)(i=>(this.store.dispatch((0,R.uO)({payload:O.m6.SIGN_MESSAGE})),i)),(0,S.K)(i=>(this.handleErrorWithAlert("signMessageData",O.m6.SIGN_MESSAGE,"Sign Message Failed",A,i),(0,I._)(()=>new Error(this.extractErrorMessage(i))))))}))}verifyMessage(ee,me){return this.lnImplementationUpdated.pipe((0,C.P)(A=>null!==A),(0,h.z)(A=>{let i=this.APIUrl+"/"+A+O.vv.MESSAGE_API+"/verify";return"cln"===A&&(i=this.APIUrl+"/"+A+O.vv.UTILITY_API+"/verify"),this.store.dispatch((0,R.ac)({payload:O.m6.VERIFY_MESSAGE})),this.httpClient.post(i,{message:ee,signature:me}).pipe((0,P.R)(this.unSubs[3]),(0,d.U)(a=>(this.store.dispatch((0,R.uO)({payload:O.m6.VERIFY_MESSAGE})),a)),(0,S.K)(a=>(this.handleErrorWithAlert("verifyMessageData",O.m6.VERIFY_MESSAGE,"Verify Message Failed",i,a),(0,I._)(()=>new Error(this.extractErrorMessage(a))))))}))}bumpFee(ee,me,A,i){return this.lnImplementationUpdated.pipe((0,C.P)(a=>null!==a),(0,h.z)(a=>{const u={txid:ee,outputIndex:me};return A&&(u.targetConf=A),i&&(u.satPerByte=i),this.store.dispatch((0,R.ac)({payload:O.m6.BUMP_FEE})),this.httpClient.post(this.APIUrl+"/"+a+O.vv.WALLET_API+"/bumpfee",u).pipe((0,P.R)(this.unSubs[4]),(0,d.U)(l=>(this.store.dispatch((0,R.uO)({payload:O.m6.BUMP_FEE})),this.snackBar.open("Successfully bumped the fee. Use the block explorer to verify transaction."),l)),(0,S.K)(l=>(this.handleErrorWithoutAlert("Bump Fee",O.m6.BUMP_FEE,l),(0,I._)(()=>new Error(this.extractErrorMessage(l))))))}))}labelUTXO(ee,me,A=!0){return this.lnImplementationUpdated.pipe((0,C.P)(i=>null!==i),(0,h.z)(i=>{const a={txid:ee,label:me,overwrite:A};return this.store.dispatch((0,R.ac)({payload:O.m6.LABEL_UTXO})),this.httpClient.post(this.APIUrl+"/"+i+O.vv.WALLET_API+"/label",a).pipe((0,P.R)(this.unSubs[5]),(0,d.U)(u=>(this.store.dispatch((0,R.uO)({payload:O.m6.LABEL_UTXO})),u)),(0,S.K)(u=>(this.handleErrorWithoutAlert("Lease UTXO",O.m6.LABEL_UTXO,u),(0,I._)(()=>new Error(this.extractErrorMessage(u))))))}))}leaseUTXO(ee,me){return this.lnImplementationUpdated.pipe((0,C.P)(A=>null!==A),(0,h.z)(A=>{const i={txid:ee,outputIndex:me};return this.store.dispatch((0,R.ac)({payload:O.m6.LEASE_UTXO})),this.httpClient.post(this.APIUrl+"/"+A+O.vv.WALLET_API+"/lease",i).pipe((0,P.R)(this.unSubs[6]),(0,d.U)(a=>{this.store.dispatch((0,R.uO)({payload:O.m6.LEASE_UTXO})),this.store.dispatch((0,z.mC)()),this.store.dispatch((0,z.Ly)());const u=new Date(1e3*a.expiration),l=Math.round(u.getTime())-60*u.getTimezoneOffset();this.snackBar.open("The UTXO has been leased till "+new Date(l).toString().substring(4,21).replace(" ","/").replace(" ","/").toUpperCase()+".")}),(0,S.K)(a=>(this.handleErrorWithoutAlert("Lease UTXO",O.m6.LEASE_UTXO,a),(0,I._)(()=>new Error(this.extractErrorMessage(a))))))}))}getForwardingHistory(ee,me,A,i){if("LND"===ee){const a={end_time:A,start_time:me};return this.store.dispatch((0,R.ac)({payload:O.m6.GET_FORWARDING_HISTORY})),this.httpClient.post(this.APIUrl+"/lnd"+O.vv.SWITCH_API,a).pipe((0,P.R)(this.unSubs[7]),(0,w.M)(this.store.select(U._f)),(0,h.z)(([u,l])=>{if(u.forwarding_events){const y=[...l.channels,...l.closedChannels];u.forwarding_events.forEach(T=>{if(y&&y.length>0)for(let D=0;D<y.length;D++){if(y[D].chan_id?.toString()===T.chan_id_in&&(T.alias_in=y[D].remote_alias?y[D].remote_alias:T.chan_id_in,T.alias_out)||y[D].chan_id?.toString()===T.chan_id_out&&(T.alias_out=y[D].remote_alias?y[D].remote_alias:T.chan_id_out,T.alias_in))return;D===y.length-1&&(T.alias_in||(T.alias_in=T.chan_id_in),T.alias_out||(T.alias_out=T.chan_id_out))}else T.alias_in=T.chan_id_in,T.alias_out=T.chan_id_out})}else u={};return this.store.dispatch((0,R.uO)({payload:O.m6.GET_FORWARDING_HISTORY})),(0,s.of)(u)}),(0,S.K)(u=>(this.handleErrorWithAlert("getForwardingHistoryData",O.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/lnd"+O.vv.SWITCH_API,u),(0,I._)(()=>new Error(this.extractErrorMessage(u))))))}return"CLN"===ee?(this.store.dispatch((0,R.ac)({payload:O.m6.GET_FORWARDING_HISTORY})),this.httpClient.get(this.APIUrl+"/cln"+O.vv.CHANNELS_API+"/listForwards?status="+i).pipe((0,P.R)(this.unSubs[8]),(0,w.M)(this.store.select(Y.ZW)),(0,h.z)(([a,u])=>{const l=this.mapAliases(a,[...u.activeChannels,...u.pendingChannels,...u.inactiveChannels]);return this.store.dispatch((0,R.uO)({payload:O.m6.GET_FORWARDING_HISTORY})),(0,s.of)(l)}),(0,S.K)(a=>(this.handleErrorWithAlert("getForwardingHistoryData",O.m6.GET_FORWARDING_HISTORY,"Forwarding History Failed",this.APIUrl+"/cln"+O.vv.CHANNELS_API+"/listForwards?status="+i+"&start="+me+"&end="+A,a),(0,I._)(()=>new Error(this.extractErrorMessage(a))))))):(0,s.of)({})}listNetworkNodes(ee=""){return this.lnImplementationUpdated.pipe((0,C.P)(me=>null!==me),(0,h.z)(me=>(this.store.dispatch((0,R.ac)({payload:O.m6.LIST_NETWORK_NODES})),this.httpClient.get(this.APIUrl+"/"+me+O.vv.NETWORK_API+"/listNodes"+ee).pipe((0,P.R)(this.unSubs[9]),(0,h.z)(A=>(this.store.dispatch((0,R.uO)({payload:O.m6.LIST_NETWORK_NODES})),(0,s.of)(A))),(0,S.K)(A=>(this.handleErrorWithoutAlert("List Network Nodes",O.m6.LIST_NETWORK_NODES,A),(0,I._)(()=>this.extractErrorMessage(A))))))))}listConfigs(){return this.lnImplementationUpdated.pipe((0,C.P)(ee=>null!==ee),(0,h.z)(ee=>(this.store.dispatch((0,R.ac)({payload:O.m6.GET_LIST_CONFIGS})),this.httpClient.get(this.APIUrl+"/"+ee+O.vv.UTILITY_API+"/listConfigs").pipe((0,P.R)(this.unSubs[10]),(0,h.z)(me=>(this.store.dispatch((0,R.uO)({payload:O.m6.GET_LIST_CONFIGS})),(0,s.of)(me))),(0,S.K)(me=>(this.handleErrorWithoutAlert("List Configurations",O.m6.GET_LIST_CONFIGS,me),(0,I._)(()=>this.extractErrorMessage(me))))))))}getOrUpdateFunderPolicy(ee,me,A,i,a,u){return this.lnImplementationUpdated.pipe((0,C.P)(l=>null!==l),(0,h.z)(l=>{const y=ee?{policy:ee,policy_mod:me,lease_fee_base_msat:A,lease_fee_basis:i,channel_fee_max_base_msat:a,channel_fee_max_proportional_thousandths:u}:null;return this.store.dispatch((0,R.ac)({payload:O.m6.GET_FUNDER_POLICY})),this.httpClient.post(this.APIUrl+"/"+l+O.vv.CHANNELS_API+"/funderUpdate",y).pipe((0,P.R)(this.unSubs[11]),(0,d.U)(T=>(this.store.dispatch((0,R.uO)({payload:O.m6.GET_FUNDER_POLICY})),y&&this.store.dispatch((0,R.jW)({payload:"Funder Policy Updated Successfully with Compact Lease: "+T.compact_lease+"!"})),T)),(0,S.K)(T=>(this.handleErrorWithoutAlert("Funder Policy",O.m6.GET_FUNDER_POLICY,T),(0,I._)(()=>new Error(this.extractErrorMessage(T))))))}))}extractErrorMessage(ee,me="Unknown Error."){return this.titleCasePipe.transform(ee.error.text&&"string"==typeof ee.error.text&&ee.error.text.includes('<!DOCTYPE html><html lang="en">')?"API Route Does Not Exist.":ee.error&&ee.error.error&&ee.error.error.error&&ee.error.error.error.error&&ee.error.error.error.error.error&&"string"==typeof ee.error.error.error.error.error?ee.error.error.error.error.error:ee.error&&ee.error.error&&ee.error.error.error&&ee.error.error.error.error&&"string"==typeof ee.error.error.error.error?ee.error.error.error.error:ee.error&&ee.error.error&&ee.error.error.error&&"string"==typeof ee.error.error.error?ee.error.error.error:ee.error&&ee.error.error&&"string"==typeof ee.error.error?ee.error.error:ee.error&&"string"==typeof ee.error?ee.error:ee.error&&ee.error.error&&ee.error.error.error&&ee.error.error.error.error&&ee.error.error.error.error.message&&"string"==typeof ee.error.error.error.error.message?ee.error.error.error.error.message:ee.error&&ee.error.error&&ee.error.error.error&&ee.error.error.error.message&&"string"==typeof ee.error.error.error.message?ee.error.error.error.message:ee.error&&ee.error.error&&ee.error.error.message&&"string"==typeof ee.error.error.message?ee.error.error.message:ee.error&&ee.error.message&&"string"==typeof ee.error.message?ee.error.message:ee.message&&"string"==typeof ee.message?ee.message:me)}handleErrorWithoutAlert(ee,me,A){A.error.text&&"string"==typeof A.error.text&&A.error.text.includes('<!DOCTYPE html><html lang="en">')&&(A={status:403,error:{message:"API Route Does Not Exist."}}),this.logger.error("ERROR IN: "+ee+"\n"+JSON.stringify(A)),401===A.status?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,R.ts)()),this.store.dispatch((0,R.kS)()),this.store.dispatch((0,R.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,R.uO)({payload:me})),this.store.dispatch((0,R.qi)({payload:{action:ee,status:O.Bn.ERROR,statusCode:A.status.toString(),message:this.extractErrorMessage(A)}})))}handleErrorWithAlert(ee,me,A,i,a){if(this.logger.error(a),401===a.status)this.logger.info("Redirecting to Login"),this.store.dispatch((0,R.ts)()),this.store.dispatch((0,R.kS)()),this.store.dispatch((0,R.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,R.uO)({payload:me}));const u=this.extractErrorMessage(a);this.store.dispatch((0,R.qR)({payload:{data:{type:"ERROR",alertTitle:A,message:{code:a.status?a.status:"Unknown Error",message:u,URL:i},component:E.H}}})),this.store.dispatch((0,R.qi)({payload:{action:ee,status:O.Bn.ERROR,statusCode:a.status.toString(),message:u,URL:i}}))}}ngOnDestroy(){this.unSubs.forEach(ee=>{ee.next(null),ee.complete()})}}ne.\u0275fac=function(ee){return new(ee||ne)(K.LFG(t.eN),K.LFG($.yh),K.LFG(ie.mQ),K.LFG(ue.ux),K.LFG(he.rS))},ne.\u0275prov=K.Yz7({token:ne,factory:ne.\u0275fac})},5043:(Ue,q,p)=>{"use strict";p.d(q,{LG:()=>C,mQ:()=>s});var t=p(4650);const e=(0,t.X6Q)(),b=()=>null;class s{invokeConsoleMethod(P,d){}}s.\u0275fac=function(P){return new(P||s)},s.\u0275prov=t.Yz7({token:s,factory:s.\u0275fac});class C{get info(){return e?console.log.bind(console):b}get warn(){return e?console.warn.bind(console):b}get error(){return e?console.error.bind(console):b}invokeConsoleMethod(P,d){(console[P]||console.log||b).apply(console,[d])}}C.\u0275fac=function(P){return new(P||C)},C.\u0275prov=t.Yz7({token:C,factory:C.\u0275fac})},9107:(Ue,q,p)=>{"use strict";p.d(q,{W:()=>U});var t=p(529),e=p(1135),b=p(7579),I=p(9646),s=p(2843),C=p(2722),h=p(262),P=p(4004),d=p(7731),S=p(1786),w=p(7861),O=p(4650),E=p(5043),R=p(9653),z=p(62);class U{constructor(K,$,ie,ue){this.httpClient=K,this.logger=$,this.store=ie,this.commonService=ue,this.loopUrl="",this.swaps=[],this.swapsChanged=new e.X([]),this.unSubs=[new b.x,new b.x,new b.x,new b.x,new b.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:K=>{this.store.dispatch((0,w.uO)({payload:d.m6.GET_LOOP_SWAPS})),this.swaps=K,this.swapsChanged.next(this.swaps)},error:K=>this.swapsChanged.error(this.handleErrorWithAlert(d.m6.GET_LOOP_SWAPS,this.loopUrl,K))})}loopOut(K,$,ie,ue,he,ne,le,ee,me,A){const i={amount:K,targetConf:ie,swapRoutingFee:ue,minerFee:he,prepayRoutingFee:ne,prepayAmt:le,swapFee:ee,swapPublicationDeadline:me,destAddress:A};return""!==$&&(i.chanId=$),this.loopUrl=d.T5+d.vv.LOOP_API+"/out",this.httpClient.post(this.loopUrl,i).pipe((0,h.K)(a=>this.handleErrorWithoutAlert("Loop Out for Channel: "+$,d.m6.NO_SPINNER,a)))}getLoopOutTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/out/terms",this.httpClient.get(this.loopUrl).pipe((0,h.K)(K=>this.handleErrorWithoutAlert("Loop Out Terms",d.m6.NO_SPINNER,K)))}getLoopOutQuote(K,$,ie){let ue=new t.LE;return ue=ue.append("targetConf",$.toString()),ue=ue.append("swapPublicationDeadline",ie.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/out/quote/"+K,this.store.dispatch((0,w.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:ue}).pipe((0,C.R)(this.unSubs[1]),(0,P.U)(he=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_QUOTE})),he)),(0,h.K)(he=>this.handleErrorWithoutAlert("Loop Out Quote",d.m6.GET_QUOTE,he)))}getLoopOutTermsAndQuotes(K){let $=new t.LE;return $=$.append("targetConf",K.toString()),$=$.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:$}).pipe((0,C.R)(this.unSubs[2]),(0,P.U)(ie=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_TERMS_QUOTES})),ie)),(0,h.K)(ie=>(0,I.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,ie))))}loopIn(K,$,ie,ue,he){const ne={amount:K,swapFee:$,minerFee:ie,lastHop:ue,externalHtlc:he};return this.loopUrl=d.T5+d.vv.LOOP_API+"/in",this.httpClient.post(this.loopUrl,ne).pipe((0,h.K)(le=>this.handleErrorWithoutAlert("Loop In",d.m6.NO_SPINNER,le)))}getLoopInTerms(){return this.loopUrl=d.T5+d.vv.LOOP_API+"/in/terms",this.httpClient.get(this.loopUrl).pipe((0,h.K)(K=>this.handleErrorWithoutAlert("Loop In Terms",d.m6.NO_SPINNER,K)))}getLoopInQuote(K,$,ie){let ue=new t.LE;return ue=ue.append("targetConf",$.toString()),ue=ue.append("swapPublicationDeadline",ie.toString()),this.loopUrl=d.T5+d.vv.LOOP_API+"/in/quote/"+K,this.store.dispatch((0,w.ac)({payload:d.m6.GET_QUOTE})),this.httpClient.get(this.loopUrl,{params:ue}).pipe((0,C.R)(this.unSubs[3]),(0,P.U)(he=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_QUOTE})),he)),(0,h.K)(he=>this.handleErrorWithoutAlert("Loop In Qoute",d.m6.GET_QUOTE,he)))}getLoopInTermsAndQuotes(K){let $=new t.LE;return $=$.append("targetConf",K.toString()),$=$.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:$}).pipe((0,C.R)(this.unSubs[4]),(0,P.U)(ie=>(this.store.dispatch((0,w.uO)({payload:d.m6.GET_TERMS_QUOTES})),ie)),(0,h.K)(ie=>(0,I.of)(this.handleErrorWithAlert(d.m6.GET_TERMS_QUOTES,this.loopUrl,ie))))}getSwap(K){return this.loopUrl=d.T5+d.vv.LOOP_API+"/swap/"+K,this.httpClient.get(this.loopUrl).pipe((0,h.K)($=>this.handleErrorWithoutAlert("Loop Get Swap for ID: "+K,d.m6.NO_SPINNER,$)))}handleErrorWithoutAlert(K,$,ie){let ue="";return this.logger.error("ERROR IN: "+K+"\n"+JSON.stringify(ie)),this.store.dispatch((0,w.uO)({payload:$})),401===ie.status?(ue="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.kS)())):503===ie.status?(ue="Unable to Connect to Loop Server.",this.store.dispatch((0,w.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ie.status,message:"Unable to Connect to Loop Server",URL:K},component:S.H}}}))):ue=this.commonService.extractErrorMessage(ie),(0,s._)(()=>new Error(ue))}handleErrorWithAlert(K,$,ie){let ue="";if(this.logger.error(ie),this.store.dispatch((0,w.uO)({payload:K})),401===ie.status)ue="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,w.kS)());else if(503===ie.status)ue="Unable to Connect to Loop Server.",setTimeout(()=>{this.store.dispatch((0,w.qR)({payload:{data:{type:"ERROR",alertTitle:"Loop Not Connected",message:{code:ie.status,message:"Unable to Connect to Loop Server",URL:$},component:S.H}}}))},100);else{ue=this.commonService.extractErrorMessage(ie);const he=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,w.qR)({payload:{data:{type:d.n_.ERROR,alertTitle:"ERROR",message:{code:he,message:ue,URL:$},component:S.H}}}))},100)}return{message:ue}}ngOnDestroy(){this.unSubs.forEach(K=>{K.next(null),K.complete()})}}U.\u0275fac=function(K){return new(K||U)(O.LFG(t.eN),O.LFG(E.mQ),O.LFG(R.yh),O.LFG(z.v))},U.\u0275prov=O.Yz7({token:U,factory:U.\u0275fac})},5986:(Ue,q,p)=>{"use strict";p.d(q,{m:()=>b});var t=p(7579),e=p(4650);class b{constructor(){this.sessionSub=new t.x}watchSession(){return this.sessionSub.asObservable()}getItem(s){return sessionStorage.getItem(s)}getAllItems(){return sessionStorage}setItem(s,C){sessionStorage.setItem(s,C),this.sessionSub.next(sessionStorage)}removeItem(s){sessionStorage.removeItem(s),this.sessionSub.next(sessionStorage)}clearAll(){sessionStorage.clear(),this.sessionSub.next(sessionStorage)}}b.\u0275fac=function(s){return new(s||b)},b.\u0275prov=e.Yz7({token:b,factory:b.\u0275fac})},7998:(Ue,q,p)=>{"use strict";p.d(q,{d:()=>R});var t=p(1135),e=p(7579),b=p(2722),I=p(930),s=p(9751),C=p(727),h=p(4707);const P={url:"",deserializer:z=>JSON.parse(z.data),serializer:z=>JSON.stringify(z)};class S extends e.u{constructor(U,Y){if(super(),this._socket=null,U instanceof s.y)this.destination=Y,this.source=U;else{const K=this._config=Object.assign({},P);if(this._output=new e.x,"string"==typeof U)K.url=U;else for(const $ in U)U.hasOwnProperty($)&&(K[$]=U[$]);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(U){const Y=new S(this._config,this.destination);return Y.operator=U,Y.source=this,Y}_resetState(){this._socket=null,this.source||(this.destination=new h.t),this._output=new e.x}multiplex(U,Y,K){const $=this;return new s.y(ie=>{try{$.next(U())}catch(he){ie.error(he)}const ue=$.subscribe({next:he=>{try{K(he)&&ie.next(he)}catch(ne){ie.error(ne)}},error:he=>ie.error(he),complete:()=>ie.complete()});return()=>{try{$.next(Y())}catch(he){ie.error(he)}ue.unsubscribe()}})}_connectSocket(){const{WebSocketCtor:U,protocol:Y,url:K,binaryType:$}=this._config,ie=this._output;let ue=null;try{ue=Y?new U(K,Y):new U(K),this._socket=ue,$&&(this._socket.binaryType=$)}catch(ne){return void ie.error(ne)}const he=new C.w0(()=>{this._socket=null,ue&&1===ue.readyState&&ue.close()});ue.onopen=ne=>{const{_socket:le}=this;if(!le)return ue.close(),void this._resetState();const{openObserver:ee}=this._config;ee&&ee.next(ne);const me=this.destination;this.destination=I.Lv.create(A=>{if(1===ue.readyState)try{const{serializer:i}=this._config;ue.send(i(A))}catch(i){this.destination.error(i)}},A=>{const{closingObserver:i}=this._config;i&&i.next(void 0),A&&A.code?ue.close(A.code,A.reason):ie.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:A}=this._config;A&&A.next(void 0),ue.close(),this._resetState()}),me&&me instanceof h.t&&he.add(me.subscribe(this.destination))},ue.onerror=ne=>{this._resetState(),ie.error(ne)},ue.onclose=ne=>{ue===this._socket&&this._resetState();const{closeObserver:le}=this._config;le&&le.next(ne),ne.wasClean?ie.complete():ie.error(ne)},ue.onmessage=ne=>{try{const{deserializer:le}=this._config;ie.next(le(ne))}catch(le){ie.error(le)}}}_subscribe(U){const{source:Y}=this;return Y?Y.subscribe(U):(this._socket||this._connectSocket(),this._output.subscribe(U),U.add(()=>{const{_socket:K}=this;0===this._output.observers.length&&(K&&(1===K.readyState||0===K.readyState)&&K.close(),this._resetState())}),U)}unsubscribe(){const{_socket:U}=this;U&&(1===U.readyState||0===U.readyState)&&U.close(),this._resetState(),super.unsubscribe()}}var w=p(4650),O=p(5043),E=p(5986);class R{constructor(U,Y){this.logger=U,this.sessionService=Y,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(U,Y){(!this.socket||this.socket.closed)&&(this.wsUrl=U,this.nodeIndex=Y,this.logger.info("Websocket Url: "+this.wsUrl),this.socket=new S({url:U,protocol:[this.sessionService.getItem("token")||"",Y]}),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,b.R)(this.unSubs[1])).subscribe({next:U=>{if((U="string"==typeof U?JSON.parse(U):U).error)this.handleError(U.error);else switch(this.logger.info("Next Message from WS:"+JSON.stringify(U)),U.source){case"LND":this.lndWSMessages.next(U);break;case"CLN":this.clWSMessages.next(U);break;case"ECL":this.eclWSMessages.next(U)}},error:U=>this.handleError(U),complete:()=>{this.logger.info("Web Socket Closed")}})}handleError(U){this.logger.error(U),this.clWSMessages.error(U),this.eclWSMessages.error(U),this.lndWSMessages.error(U),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()}}R.\u0275fac=function(U){return new(U||R)(w.LFG(O.mQ),w.LFG(E.m))},R.\u0275prov=w.Yz7({token:R,factory:R.\u0275fac})},9470:(Ue,q,p)=>{"use strict";p.d(q,{m:()=>Ka});var t=p(6895),e=p(9116),b=p(4006),I=p(529),s=p(2216),C=p(4650),h=p(2233),P=p(5829),d=p(1576);p(1281);let Rt=(()=>{class zt{}return zt.\u0275fac=function(Mt){return new(Mt||zt)},zt.\u0275mod=C.oAB({type:zt}),zt.\u0275inj=C.cJS({imports:[h.IR]}),zt})(),li=(()=>{class zt{constructor(Mt,ni){(0,t.PM)(ni)&&!Mt&&console.warn("Warning: Flex Layout loaded on the server without FlexLayoutServerModule")}static withConfig(Mt,ni=[]){return{ngModule:zt,providers:Mt.serverLoaded?[{provide:h.WU,useValue:{...h.g5,...Mt}},{provide:h.Bs,useValue:ni,multi:!0},{provide:h.wY,useValue:!0}]:[{provide:h.WU,useValue:{...h.g5,...Mt}},{provide:h.Bs,useValue:ni,multi:!0}]}}}return zt.\u0275fac=function(Mt){return new(Mt||zt)(C.LFG(h.wY),C.LFG(C.Lbi))},zt.\u0275mod=C.oAB({type:zt}),zt.\u0275inj=C.cJS({imports:[d.ae,P.aT,Rt,d.ae,P.aT,Rt]}),zt})();var bi=p(2289),Li=p(3238),Gi=p(5412),ji=p(7957),$i=p(2673),Gt=p(4859);p(4761),p(5017);let ga=(()=>{class zt{}return zt.\u0275fac=function(Mt){return new(Mt||zt)},zt.\u0275mod=C.oAB({type:zt}),zt.\u0275inj=C.cJS({imports:[Li.BQ,Li.si,Li.BQ]}),zt})();var ka=p(3546),Di=p(6709),Hi=p(9602),Mn=p(752),Qt=p(782),fi=p(7392),hi=p(4144),mi=p(6338),ki=p(8255),Vi=p(8739),fn=p(3162),Un=p(1572),Bn=p(1948),_a=p(4385),Dn=p(3267),Hn=p(455);p(7579);let fo=(()=>{class zt{}return zt.\u0275fac=function(Mt){return new(Mt||zt)},zt.\u0275mod=C.oAB({type:zt}),zt.\u0275inj=C.cJS({imports:[Li.BQ,t.ez,Li.si]}),zt})();var ir=p(7009),pr=p(6308),ra=p(8425),Ya=p(671),Ir=p(3848),kr=p(3683),gr=p(266),mo=p(5423),Pa=p(7331),Jr=p(2213),Xr=p(658),nr=p(6839),po=p(8184),$r=p(3353);class ba extends po.Xj{constructor(oi,Mt){super(oi,Mt)}_createContainer(){super._createContainer(),this._containerElement&&(document.querySelector("#rtl-container")||document.body).appendChild(this._containerElement)}ngOnDestroy(){super.ngOnDestroy()}}ba.\u0275fac=function(oi){return new(oi||ba)(C.Y36(t.K0),C.Y36($r.t4))},ba.\u0275dir=C.lG2({type:ba,features:[C.qOj]});var Or=p(5043),Qn=p(7731),Yn=p(9445);class ja extends Li.LF{constructor(oi,Mt){super(oi,Mt)}format(oi,Mt){if("input"===Mt){let ni=oi.getDate().toString();return ni=+ni<10?"0"+ni:ni,ni+"/"+Qn.gg[oi.getMonth()].name.toUpperCase()+"/"+oi.getFullYear()}return Qn.gg[oi.getMonth()].name.toUpperCase()+" "+oi.getFullYear()}}ja.\u0275fac=function(oi){return new(oi||ja)(C.LFG(Li.Ad,8),C.LFG($r.t4))},ja.\u0275prov=C.Yz7({token:ja,factory:ja.\u0275fac});class Ka{}Ka.\u0275fac=function(oi){return new(oi||Ka)},Ka.\u0275mod=C.oAB({type:Ka}),Ka.\u0275inj=C.cJS({providers:[{provide:Or.mQ,useClass:Or.LG},{provide:nr.op,useValue:{suppressScrollX:!1,suppressScrollY:!1}},{provide:ir.Ve,useValue:{duration:2e3,verticalPosition:"bottom",panelClass:"rtl-snack-bar"}},{provide:Gi.Bq,useValue:{hasBackdrop:!0,autoFocus:!0,disableClose:!0,role:"dialog"}},{provide:Li._A,useClass:ja},{provide:Li.sG,useValue:{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"}}}},{provide:po.Xj,useClass:ba},t.JJ,t.rS,t.uU,Yn.al,Yn.h9,Yn.D3,Yn.i1],imports:[t.ez,b.u5,b.UX,s.uH,li,bi.xu,Gi.Is,Gt.ot,ga,ka.QW,Di.p9,Mn.To,Qt.N6,Hi.FA,Li.XK,fi.Ps,hi.c,mi.ie,ki.Tx,fn.Cv,Un.Cq,Bn.Fk,mo.dp,Pa.Hi,_a.LD,Dn.SJ,Hn.rP,pr.JX,Ya.p0,kr.g0,gr.AV,$i.g,Vi.TU,ra.T5,fo,Ir.Nh,ir.ZX,ji.Bb,Jr.a4,Xr.OF,e.Bz,I.JF,nr.Xd,b.u5,b.UX,s.uH,li,bi.xu,Gi.Is,Gt.ot,ga,ka.QW,Di.p9,Mn.To,Qt.N6,Hi.FA,Li.XK,fi.Ps,hi.c,mi.ie,ki.Tx,fn.Cv,Un.Cq,Bn.Fk,mo.dp,Pa.Hi,_a.LD,Dn.SJ,Hn.rP,pr.JX,Ya.p0,kr.g0,gr.AV,$i.g,Vi.TU,ra.T5,fo,Ir.Nh,ir.ZX,ji.Bb,Jr.a4,Xr.OF,nr.Xd]})},7861:(Ue,q,p)=>{"use strict";p.d(q,{M6:()=>w,Q2:()=>z,QO:()=>l,Tm:()=>le,Uy:()=>he,XT:()=>ie,_V:()=>me,ac:()=>P,c0:()=>a,c1:()=>O,dc:()=>m,ey:()=>$,fk:()=>ne,jS:()=>ee,jW:()=>h,kS:()=>i,lC:()=>I,qR:()=>S,qi:()=>s,tj:()=>R,ts:()=>C,tw:()=>Y,uO:()=>d,vI:()=>K,x4:()=>T,yb:()=>E,zQ:()=>ue});var t=p(9653),e=p(7731);(0,t.PH)(e.pg.VOID);const I=(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)()),S=(0,t.PH)(e.pg.OPEN_ALERT,(0,t.Ky)()),w=(0,t.PH)(e.pg.CLOSE_ALERT,(0,t.Ky)()),O=(0,t.PH)(e.pg.OPEN_CONFIRMATION,(0,t.Ky)()),E=(0,t.PH)(e.pg.CLOSE_CONFIRMATION,(0,t.Ky)()),R=(0,t.PH)(e.pg.SHOW_PUBKEY),z=(0,t.PH)(e.pg.FETCH_CONFIG,(0,t.Ky)()),Y=((0,t.PH)(e.pg.SHOW_CONFIG,(0,t.Ky)()),(0,t.PH)(e.pg.UPDATE_SELECTED_NODE_OPTIONS)),K=(0,t.PH)(e.pg.RESET_ROOT_STORE,(0,t.Ky)()),$=(0,t.PH)(e.pg.FETCH_RTL_CONFIG),ie=(0,t.PH)(e.pg.SET_RTL_CONFIG,(0,t.Ky)()),ue=(0,t.PH)(e.pg.SAVE_SETTINGS,(0,t.Ky)()),he=(0,t.PH)(e.pg.TWO_FA_SAVE_SETTINGS,(0,t.Ky)()),ne=(0,t.PH)(e.pg.SET_SELECTED_NODE,(0,t.Ky)()),le=(0,t.PH)(e.pg.UPDATE_ROOT_NODE_SETTINGS,(0,t.Ky)()),ee=(0,t.PH)(e.pg.UPDATE_SERVICE_SETTINGS,(0,t.Ky)()),me=(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)())),T=((0,t.PH)(e.pg.IS_AUTHORIZED_RES,(0,t.Ky)()),(0,t.PH)(e.pg.LOGIN,(0,t.Ky)())),m=((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:(Ue,q,p)=>{"use strict";p.d(q,{V:()=>fe});var t=p(4650),e=p(493),b=p(7579),I=p(9646),s=p(9751),C=p(4128),h=p(4004),P=p(5698),d=p(1365),S=p(5577),w=p(262),O=p(2722),E=p(7731),R=p(5412),z=p(1576),U=p(1572);class Y{constructor(ct,Je){this.dialogRef=ct,this.data=Je}}Y.\u0275fac=function(ct){return new(ct||Y)(t.Y36(R.so),t.Y36(R.WI))},Y.\u0275cmp=t.Xpm({type:Y,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(ct,Je){1&ct&&(t.TgZ(0,"div",0),t._UZ(1,"mat-progress-spinner",1),t.TgZ(2,"h2"),t._uU(3),t.qZA()()),2&ct&&(t.xp6(3),t.Oqu(Je.data.titleMessage))},dependencies:[z.xw,z.Wh,U.Ou],styles:["h2[_ngcontent-%COMP%]{text-align:center}"]});var K=p(5043),$=p(7009),ie=p(62),ue=p(6895),he=p(5829),ne=p(4859),le=p(3546),ee=p(7392),me=p(4850),A=p(658),i=p(6839),a=p(5199),u=p(3390);const l=["scrollContainer"];function y(Oe,ct){if(1&Oe&&t._UZ(0,"qr-code",15),2&Oe){const Je=t.oxw();t.Q6J("value",Je.showQRField)("size",200)("errorCorrectionLevel","L")}}function T(Oe,ct){1&Oe&&t.GkF(0)}const D=function(Oe){return{"h-40":Oe}};function m(Oe,ct){if(1&Oe&&(t.ynx(0),t.TgZ(1,"mat-card-content",16,17),t.YNc(3,T,1,0,"ng-container",18),t.qZA(),t.BQk()),2&Oe){const Je=t.oxw(),ii=t.MAs(20);t.xp6(1),t.Q6J("ngClass",t.VKq(2,D,Je.data.scrollable)),t.xp6(2),t.Q6J("ngTemplateOutlet",ii)}}function n(Oe,ct){1&Oe&&t.GkF(0)}function v(Oe,ct){if(1&Oe&&(t.ynx(0),t.TgZ(1,"mat-card-content",19),t.YNc(2,n,1,0,"ng-container",18),t.qZA(),t.BQk()),2&Oe){t.oxw();const Je=t.MAs(20);t.xp6(2),t.Q6J("ngTemplateOutlet",Je)}}function B(Oe,ct){1&Oe&&(t.TgZ(0,"mat-icon",23),t._uU(1,"arrow_downward"),t.qZA())}function V(Oe,ct){1&Oe&&(t.TgZ(0,"mat-icon",23),t._uU(1,"arrow_upward"),t.qZA())}function X(Oe,ct){if(1&Oe){const Je=t.EpF();t.TgZ(0,"div",20)(1,"button",21),t.NdJ("click",function(){t.CHM(Je);const Oi=t.oxw();return t.KtG(Oi.onScroll())}),t.YNc(2,B,2,0,"mat-icon",22),t.YNc(3,V,2,0,"mat-icon",22),t.qZA()()}if(2&Oe){const Je=t.oxw();t.xp6(2),t.Q6J("ngIf","DOWN"===Je.scrollDirection),t.xp6(1),t.Q6J("ngIf","UP"===Je.scrollDirection)}}function De(Oe,ct){1&Oe&&(t.TgZ(0,"button",24),t._uU(1,"OK"),t.qZA()),2&Oe&&t.Q6J("mat-dialog-close",!1)}function tt(Oe,ct){1&Oe&&(t.TgZ(0,"button",25),t._uU(1,"Close"),t.qZA()),2&Oe&&t.Q6J("mat-dialog-close",!1)}function je(Oe,ct){if(1&Oe){const Je=t.EpF();t.TgZ(0,"button",26),t.NdJ("copied",function(Oi){t.CHM(Je);const Xi=t.oxw();return t.KtG(Xi.onCopyField(Oi))}),t._uU(1),t.qZA()}if(2&Oe){const Je=t.oxw();t.Q6J("payload",Je.showCopyField),t.xp6(1),t.hij("Copy ",Je.showCopyName,"")}}function ze(Oe,ct){1&Oe&&(t.TgZ(0,"button",25),t._uU(1,"Close"),t.qZA()),2&Oe&&t.Q6J("mat-dialog-close",!1)}function Le(Oe,ct){if(1&Oe){const Je=t.EpF();t.TgZ(0,"button",26),t.NdJ("copied",function(Oi){t.CHM(Je);const Xi=t.oxw();return t.KtG(Xi.onCopyField(Oi))}),t._uU(1),t.qZA()}if(2&Oe){const Je=t.oxw();t.Q6J("payload",Je.showQRField),t.xp6(1),t.hij("Copy ",Je.showQRName,"")}}function ye(Oe,ct){if(1&Oe&&t._UZ(0,"qr-code",15),2&Oe){const Je=t.oxw(2);t.Q6J("value",Je.showQRField)("size",200)("errorCorrectionLevel","L")}}function ce(Oe,ct){if(1&Oe&&(t.TgZ(0,"p",32),t._uU(1),t.qZA()),2&Oe){const Je=t.oxw(2);t.xp6(1),t.Oqu(Je.data.titleMessage)}}function ve(Oe,ct){1&Oe&&t._UZ(0,"span",46),2&Oe&&t.Q6J("innerHTML",ct.$implicit,t.oJD)}function oe(Oe,ct){if(1&Oe&&(t.ynx(0),t.YNc(1,ve,1,1,"span",45),t.BQk()),2&Oe){const Je=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngForOf",Je.value)}}function Ke(Oe,ct){if(1&Oe&&(t.ynx(0),t._uU(1),t.ALo(2,"date"),t.BQk()),2&Oe){const Je=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,1e3*Je.value,"dd/MMM/y HH:mm"))}}function Ae(Oe,ct){if(1&Oe&&(t.ynx(0),t._uU(1),t.ALo(2,"number"),t.BQk()),2&Oe){const Je=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,Je.value,Je.digitsInfo?Je.digitsInfo:"1.0-3"))}}function de(Oe,ct){if(1&Oe&&(t.ynx(0),t._uU(1),t.BQk()),2&Oe){const Je=t.oxw(2).$implicit;t.xp6(1),t.Oqu(Je.value?"True":"False")}}function Ce(Oe,ct){1&Oe&&(t.TgZ(0,"mat-icon",51),t._uU(1,"info"),t.qZA())}const te=function(Oe){return{"failed-status":Oe}};function Ze(Oe,ct){if(1&Oe&&(t.TgZ(0,"p",49),t._uU(1),t.YNc(2,Ce,2,0,"mat-icon",50),t.qZA()),2&Oe){const Je=t.oxw(3).$implicit,ii=t.oxw(4);t.Q6J("ngClass",t.VKq(3,te,Je.value===ii.LoopStateEnum.FAILED)),t.xp6(1),t.hij(" ",Je.value," "),t.xp6(1),t.Q6J("ngIf",Je.value===ii.LoopStateEnum.FAILED)}}function Ge(Oe,ct){if(1&Oe&&t._uU(0),2&Oe){const Je=t.oxw(3).$implicit;t.Oqu(Je.value)}}function ae(Oe,ct){if(1&Oe&&(t.ynx(0),t.YNc(1,Ze,3,5,"p",47),t.YNc(2,Ge,1,1,"ng-template",null,48,t.W1O),t.BQk()),2&Oe){const Je=t.MAs(3),ii=t.oxw(2).$implicit,Oi=t.oxw(4);t.xp6(1),t.Q6J("ngIf","SWAP"===Oi.data.openedBy&&"state"===ii.key)("ngIfElse",Je)}}function ge(Oe,ct){if(1&Oe&&(t.TgZ(0,"span")(1,"span",42),t.YNc(2,oe,2,1,"ng-container",43),t.YNc(3,Ke,3,4,"ng-container",43),t.YNc(4,Ae,3,4,"ng-container",43),t.YNc(5,de,2,1,"ng-container",43),t.YNc(6,ae,4,2,"ng-container",44),t.qZA()()),2&Oe){const Je=t.oxw().$implicit,ii=t.oxw(4);t.xp6(1),t.Q6J("ngSwitch",Je.type),t.xp6(1),t.Q6J("ngSwitchCase",ii.dataTypeEnum.ARRAY),t.xp6(1),t.Q6J("ngSwitchCase",ii.dataTypeEnum.DATE_TIME),t.xp6(1),t.Q6J("ngSwitchCase",ii.dataTypeEnum.NUMBER),t.xp6(1),t.Q6J("ngSwitchCase",ii.dataTypeEnum.BOOLEAN)}}function pt(Oe,ct){1&Oe&&(t.TgZ(0,"span",52),t._uU(1,"\xa0"),t.qZA())}function $e(Oe,ct){if(1&Oe&&(t.TgZ(0,"div",37)(1,"h4",38),t._uU(2),t.qZA(),t.YNc(3,ge,7,5,"span",39),t.YNc(4,pt,2,0,"ng-template",null,40,t.W1O),t._UZ(6,"mat-divider",41),t.qZA()),2&Oe){const Je=ct.$implicit,ii=t.MAs(5);t.s9C("fxFlex.gt-md",Je.width),t.xp6(2),t.Oqu(Je.title),t.xp6(1),t.Q6J("ngIf",Je&&(!!Je.value||0===Je.value))("ngIfElse",ii)}}function ut(Oe,ct){if(1&Oe&&(t.TgZ(0,"div")(1,"div",35),t.YNc(2,$e,7,4,"div",36),t.qZA()()),2&Oe){const Je=ct.$implicit;t.xp6(2),t.Q6J("ngForOf",Je)}}function At(Oe,ct){if(1&Oe&&(t.TgZ(0,"div",33),t.YNc(1,ut,3,1,"div",34),t.qZA()),2&Oe){const Je=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",Je.messageObjs)}}const _t=function(Oe){return{"display-none":Oe}};function lt(Oe,ct){if(1&Oe&&(t.TgZ(0,"div",27)(1,"div",28),t.YNc(2,ye,1,3,"qr-code",2),t.qZA(),t.TgZ(3,"div",29),t.YNc(4,ce,2,1,"p",30),t.YNc(5,At,2,1,"div",31),t.qZA()()),2&Oe){const Je=t.oxw();t.xp6(1),t.Q6J("ngClass",t.VKq(4,_t,""===Je.showQRField||Je.screenSize!==Je.screenSizeEnum.XS&&Je.screenSize!==Je.screenSizeEnum.SM)),t.xp6(1),t.Q6J("ngIf",""!==Je.showQRField),t.xp6(2),t.Q6J("ngIf",Je.data.titleMessage),t.xp6(1),t.Q6J("ngIf",(null==Je.messageObjs?null:Je.messageObjs.length)>0)}}class St{constructor(ct,Je,ii,Oi,Xi,Rn){this.dialogRef=ct,this.data=Je,this.logger=ii,this.snackBar=Oi,this.commonService=Xi,this.renderer=Rn,this.LoopStateEnum=E.Fq,this.showQRField="",this.showQRName="",this.showCopyName="",this.showCopyField="",this.errorMessage="",this.messageObjs=[],this.alertTypeEnum=E.n_,this.dataTypeEnum=E.Gi,this.screenSize="",this.screenSizeEnum=E.cu,this.scrollDirection="DOWN",this.shouldScroll=!0}set container(ct){ct&&(this.scrollContainer=ct,this.scrollContainer&&this.scrollContainer.nativeElement&&(this.unlistenEnd=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-end",Je=>{this.scrollDirection="UP"}),this.unlistenStart=this.renderer.listen(this.scrollContainer.nativeElement,"ps-y-reach-start",Je=>{this.scrollDirection="DOWN"})))}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.messageObjs=this.data.message||[],this.showQRField=this.data.showQRField?this.data.showQRField:"",this.showQRName=this.data.showQRName?this.data.showQRName:"",this.showCopyName=this.data.showCopyName?this.data.showCopyName:"",this.showCopyField=this.data.showCopyField?this.data.showCopyField:"",this.data.type===E.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(ct){this.snackBar.open((this.showQRName?this.showQRName:this.showCopyName)+" copied."),this.logger.info("Copied Text: "+ct)}onClose(){this.dialogRef.close(!1)}ngOnDestroy(){this.unlistenStart&&this.unlistenStart(),this.unlistenEnd&&this.unlistenEnd()}}St.\u0275fac=function(ct){return new(ct||St)(t.Y36(R.so),t.Y36(R.WI),t.Y36(K.mQ),t.Y36($.ux),t.Y36(ie.v),t.Y36(t.Qsj))},St.\u0275cmp=t.Xpm({type:St,selectors:[["rtl-alert-message"]],viewQuery:function(ct,Je){if(1&ct&&t.Gf(l,5),2&ct){let ii;t.iGM(ii=t.CRH())&&(Je.container=ii.first)}},decls:21,vars:14,consts:[["fxLayout","column","fxLayout.gt-sm","row","fxLayoutAlign","space-between stretch"],["fxFlex","30","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","ml-1",3,"ngClass"],[3,"value","size","errorCorrectionLevel",4,"ngIf"],[3,"fxFlex"],["fxLayout","row","fxLayoutAlign","space-between center",1,"modal-info-header"],["fxFlex","95","fxLayoutAlign","start start"],[1,"page-title"],["tabindex","3","fxFlex","5","fxLayoutAlign","center center","mat-button","",1,"btn-close-x","p-0",3,"click"],[4,"ngIf"],["fxLayout","row","fxLayoutAlign","start end","class","btn-sticky-container padding-gap-x-large",4,"ngIf"],["fxLayout","row","fxLayoutAlign","end center",1,"padding-gap-x-large","padding-gap-bottom-large"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close",4,"ngIf"],["class","mr-1","fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",3,"mat-dialog-close",4,"ngIf"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied",4,"ngIf"],["contentBlock",""],[3,"value","size","errorCorrectionLevel"],[1,"padding-gap-x-large",3,"perfectScrollbar","ngClass"],["scrollContainer",""],[4,"ngTemplateOutlet"],[1,"padding-gap-x-large"],["fxLayout","row","fxLayoutAlign","start end",1,"btn-sticky-container","padding-gap-x-large"],["mat-mini-fab","","aria-label","Scroll","fxLayoutAlign","center center",3,"click"],["fxLayoutAlign","center center",4,"ngIf"],["fxLayoutAlign","center center"],["tabindex","1","autoFocus","","mat-button","","color","primary","type","submit","default","",3,"mat-dialog-close"],["fxLayoutAlign","center center","tabindex","1","mat-button","","color","primary","type","button","default","",1,"mr-1",3,"mat-dialog-close"],["autoFocus","","mat-button","","color","primary","tabindex","2","type","submit","rtlClipboard","",3,"payload","copied"],["fxLayout","column"],["fxFlex","50","fxLayoutAlign","center start",1,"modal-qr-code-container","padding-gap-large","mb-1",3,"ngClass"],["fxLayout","column","fxFlex","100"],["fxLayoutAlign","start center","class","pb-2",4,"ngIf"],["fxFlex","100",4,"ngIf"],["fxLayoutAlign","start center",1,"pb-2"],["fxFlex","100"],[4,"ngFor","ngForOf"],["fxLayout","row wrap","fxFlex","100","fxLayoutAlign","start center","fxLayoutAlign.gt-md","space-between start"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md",4,"ngFor","ngForOf"],["fxLayout","column","fxFlex","100",3,"fxFlex.gt-md"],["fxLayoutAlign","start",1,"font-bold-500"],[4,"ngIf","ngIfElse"],["emptyField",""],[1,"w-100","my-1"],["fxLayout","column","fxFlex","100","fxLayoutAlign","start stretch",1,"foreground-secondary-text",3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","display-block w-100",3,"innerHTML",4,"ngFor","ngForOf"],[1,"display-block","w-100",3,"innerHTML"],["fxLayout","row",3,"ngClass",4,"ngIf","ngIfElse"],["noStyleBlock",""],["fxLayout","row",3,"ngClass"],["fxLayoutAlign","end end","class","icon-failed-status",4,"ngIf"],["fxLayoutAlign","end end",1,"icon-failed-status"],["fxFlex","100",1,"foreground-secondary-text"]],template:function(ct,Je){1&ct&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,y,1,3,"qr-code",2),t.qZA(),t.TgZ(3,"div",3)(4,"mat-card-header",4)(5,"div",5)(6,"span",6),t._uU(7),t.qZA()(),t.TgZ(8,"button",7),t.NdJ("click",function(){return Je.onClose()}),t._uU(9,"X"),t.qZA()(),t.YNc(10,m,4,4,"ng-container",8),t.YNc(11,v,3,1,"ng-container",8),t.YNc(12,X,4,2,"div",9),t.TgZ(13,"div",10),t.YNc(14,De,2,1,"button",11),t.YNc(15,tt,2,1,"button",12),t.YNc(16,je,2,2,"button",13),t.YNc(17,ze,2,1,"button",12),t.YNc(18,Le,2,2,"button",13),t.qZA()()(),t.YNc(19,lt,6,6,"ng-template",null,14,t.W1O)),2&ct&&(t.xp6(1),t.Q6J("ngClass",t.VKq(12,_t,""===Je.showQRField||Je.screenSize===Je.screenSizeEnum.XS||Je.screenSize===Je.screenSizeEnum.SM)),t.xp6(1),t.Q6J("ngIf",""!==Je.showQRField),t.xp6(1),t.Q6J("fxFlex",""===Je.showQRField||Je.screenSize===Je.screenSizeEnum.XS||Je.screenSize===Je.screenSizeEnum.SM?"100":"70"),t.xp6(4),t.Oqu(Je.data.alertTitle||Je.alertTypeEnum[Je.data.type]),t.xp6(3),t.Q6J("ngIf",Je.data.scrollable),t.xp6(1),t.Q6J("ngIf",!Je.data.scrollable),t.xp6(1),t.Q6J("ngIf",Je.data.scrollable&&Je.shouldScroll),t.xp6(2),t.Q6J("ngIf",(!Je.showQRField||""===Je.showQRField)&&""===Je.showCopyName),t.xp6(1),t.Q6J("ngIf",""!==Je.showCopyName),t.xp6(1),t.Q6J("ngIf",""!==Je.showCopyName),t.xp6(1),t.Q6J("ngIf",""!==Je.showQRField),t.xp6(1),t.Q6J("ngIf",""!==Je.showQRField))},dependencies:[ue.mk,ue.sg,ue.O5,ue.tP,ue.RF,ue.n9,ue.ED,z.xw,z.Wh,z.yH,he.oO,R.ZT,ne.lW,ne.nh,le.dn,le.dk,ee.Hw,me.d,A.uU,i.$V,a.y,u.h,ue.JJ,ue.uU],styles:[".display-block[_ngcontent-%COMP%]{display:block}"]});var ke=p(2687),He=p(7861),wt=p(9653),W=p(4006),Fe=p(2216),Ft=p(4144),qe=p(9549),Qe=p(6534);function Ht(Oe,ct){if(1&Oe&&(t.TgZ(0,"div",18),t._UZ(1,"fa-icon",19),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&Oe){const Je=t.oxw();t.xp6(1),t.Q6J("icon",Je.faExclamationTriangle),t.xp6(2),t.Oqu(Je.warningMessage)}}function Et(Oe,ct){if(1&Oe&&(t.TgZ(0,"div",20),t._UZ(1,"fa-icon",19),t.TgZ(2,"span"),t._uU(3),t.qZA()()),2&Oe){const Je=t.oxw();t.xp6(1),t.Q6J("icon",Je.faInfoCircle),t.xp6(2),t.Oqu(Je.informationMessage)}}function It(Oe,ct){if(1&Oe&&(t.TgZ(0,"p",21),t._uU(1),t.qZA()),2&Oe){const Je=t.oxw();t.xp6(1),t.Oqu(Je.data.titleMessage)}}function bt(Oe,ct){1&Oe&&t._UZ(0,"div",36),2&Oe&&t.Q6J("innerHTML",ct.$implicit,t.oJD)}function we(Oe,ct){if(1&Oe&&(t.ynx(0,34),t.YNc(1,bt,1,1,"div",35),t.BQk()),2&Oe){const Je=t.oxw(2).$implicit;t.xp6(1),t.Q6J("ngForOf",Je.value)}}function J(Oe,ct){if(1&Oe&&(t.ynx(0),t._uU(1),t.ALo(2,"date"),t.BQk()),2&Oe){const Je=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,1e3*Je.value,"dd/MMM/y HH:mm"))}}function be(Oe,ct){if(1&Oe&&(t.ynx(0),t._uU(1),t.ALo(2,"number"),t.BQk()),2&Oe){const Je=t.oxw(2).$implicit;t.xp6(1),t.Oqu(t.xi3(2,1,Je.value,"1.0-3"))}}function Ve(Oe,ct){if(1&Oe&&(t.ynx(0),t._uU(1),t.BQk()),2&Oe){const Je=t.oxw(2).$implicit;t.xp6(1),t.Oqu(!0===Je.value?"True":"False")}}function ot(Oe,ct){if(1&Oe&&(t.ynx(0),t._uU(1),t.BQk()),2&Oe){const Je=t.oxw(2).$implicit;t.xp6(1),t.Oqu(Je.value)}}function ei(Oe,ct){if(1&Oe&&(t.TgZ(0,"span")(1,"span",30),t.YNc(2,we,2,1,"ng-container",31),t.YNc(3,J,3,4,"ng-container",32),t.YNc(4,be,3,4,"ng-container",32),t.YNc(5,Ve,2,1,"ng-container",32),t.YNc(6,ot,2,1,"ng-container",33),t.qZA()()),2&Oe){const Je=t.oxw().$implicit,ii=t.oxw(3);t.xp6(1),t.Q6J("ngSwitch",Je.type),t.xp6(1),t.Q6J("ngSwitchCase",ii.dataTypeEnum.ARRAY),t.xp6(1),t.Q6J("ngSwitchCase",ii.dataTypeEnum.DATE_TIME),t.xp6(1),t.Q6J("ngSwitchCase",ii.dataTypeEnum.NUMBER),t.xp6(1),t.Q6J("ngSwitchCase",ii.dataTypeEnum.BOOLEAN)}}function Bt(Oe,ct){1&Oe&&(t.TgZ(0,"span",37),t._uU(1,"\xa0"),t.qZA())}function ti(Oe,ct){if(1&Oe&&(t.TgZ(0,"div",25)(1,"h4",26),t._uU(2),t.qZA(),t.YNc(3,ei,7,5,"span",27),t.YNc(4,Bt,2,0,"ng-template",null,28,t.W1O),t._UZ(6,"mat-divider",29),t.qZA()),2&Oe){const Je=ct.$implicit,ii=t.MAs(5);t.s9C("fxFlex.gt-md",Je.width),t.xp6(2),t.Oqu(Je.title),t.xp6(1),t.Q6J("ngIf",Je&&(!!Je.value||0===Je.value))("ngIfElse",ii)}}function mt(Oe,ct){if(1&Oe&&(t.TgZ(0,"div")(1,"div",23),t.YNc(2,ti,7,4,"div",24),t.qZA()()),2&Oe){const Je=ct.$implicit;t.xp6(2),t.Q6J("ngForOf",Je)}}function nt(Oe,ct){if(1&Oe&&(t.TgZ(0,"div"),t.YNc(1,mt,3,1,"div",22),t.qZA()),2&Oe){const Je=t.oxw();t.xp6(1),t.Q6J("ngForOf",Je.messageObjs)}}function yt(Oe,ct){if(1&Oe&&(t.TgZ(0,"p",21),t._uU(1),t.qZA()),2&Oe){const Je=t.oxw(2);t.xp6(1),t.Oqu(Je.data.titleMessage)}}function $t(Oe,ct){if(1&Oe&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&Oe){const Je=t.oxw(2).$implicit;t.xp6(1),t.hij("",Je.placeholder," is required.")}}function Vt(Oe,ct){if(1&Oe){const Je=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(Oi){t.CHM(Je);const Xi=t.oxw().$implicit;return t.KtG(Xi.inputValue=Oi)}),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&Oe){const Je=t.oxw(),ii=Je.$implicit,Oi=Je.index;t.Q6J("fxFlex",ii.width),t.xp6(2),t.Oqu(ii.placeholder),t.xp6(1),t.MGl("name","input",Oi,""),t.Q6J("autoFocus",0===Oi)("min",ii.min)("step",ii.step)("type",t.lcZ(4,11,ii.inputType))("tabindex",Oi+1)("ngModel",ii.inputValue),t.xp6(2),t.Q6J("ngIf",!ii.inputValue),t.xp6(2),t.Oqu(ii.hintFunction?ii.hintFunction(ii.inputValue):ii.hintText)}}function ft(Oe,ct){if(1&Oe&&(t.ynx(0),t.YNc(1,Vt,8,13,"mat-form-field",40),t.BQk()),2&Oe){const Je=ct.$implicit,ii=t.oxw(2);t.xp6(1),t.Q6J("ngIf",!Je.advancedField||ii.showAdvanced)}}function Pt(Oe,ct){if(1&Oe&&(t.TgZ(0,"div",38),t.YNc(1,yt,2,1,"p",10),t.TgZ(2,"div",39),t.YNc(3,ft,2,1,"ng-container",22),t.qZA()()),2&Oe){const Je=t.oxw();t.xp6(1),t.Q6J("ngIf",Je.data.titleMessage),t.xp6(2),t.Q6J("ngForOf",Je.getInputs)}}function Pe(Oe,ct){1&Oe&&(t.TgZ(0,"p"),t._uU(1,"Show Advanced"),t.qZA())}function it(Oe,ct){1&Oe&&(t.TgZ(0,"p"),t._uU(1,"Hide Advanced"),t.qZA())}function at(Oe,ct){if(1&Oe){const Je=t.EpF();t.TgZ(0,"button",43),t.NdJ("click",function(){t.CHM(Je);const Oi=t.oxw();return t.KtG(Oi.onShowAdvanced())}),t.YNc(1,Pe,2,0,"p",27),t.YNc(2,it,2,0,"ng-template",null,44,t.W1O),t.qZA()}if(2&Oe){const Je=t.MAs(3),ii=t.oxw();t.xp6(1),t.Q6J("ngIf",!ii.showAdvanced)("ngIfElse",Je)}}function ht(Oe,ct){if(1&Oe){const Je=t.EpF();t.TgZ(0,"button",45),t.NdJ("click",function(){t.CHM(Je);const Oi=t.oxw();return t.KtG(Oi.onClose(Oi.getInputs))}),t._uU(1),t.qZA()}if(2&Oe){const Je=t.oxw();t.xp6(1),t.Oqu(Je.yesBtnText)}}function Lt(Oe,ct){if(1&Oe){const Je=t.EpF();t.TgZ(0,"button",46),t.NdJ("click",function(){t.CHM(Je);const Oi=t.oxw();return t.KtG(Oi.onClose(!0))}),t._uU(1),t.qZA()}if(2&Oe){const Je=t.oxw();t.xp6(1),t.Oqu(Je.yesBtnText)}}class ui{constructor(ct,Je,ii,Oi){this.dialogRef=ct,this.data=Je,this.logger=ii,this.store=Oi,this.faInfoCircle=ke.sqG,this.faExclamationTriangle=ke.eHv,this.informationMessage="",this.warningMessage="",this.noBtnText="No",this.yesBtnText="Yes",this.messageObjs=[],this.flgShowInput=!1,this.hasAdvanced=!1,this.alertTypeEnum=E.n_,this.dataTypeEnum=E.Gi,this.getInputs=[{placeholder:"",inputType:E.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===E.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(ct){if(ct&&this.getInputs&&this.getInputs.some(Je=>typeof Je.inputValue>"u"))return!0;!this.showAdvanced&&ct.length&&(ct=ct?.reduce((Je,ii)=>(ii.advancedField||Je.push(ii),Je),[])),this.store.dispatch((0,He.yb)({payload:ct}))}}ui.\u0275fac=function(ct){return new(ct||ui)(t.Y36(R.so),t.Y36(R.WI),t.Y36(K.mQ),t.Y36(wt.yh))},ui.\u0275cmp=t.Xpm({type:ui,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(ct,Je){1&ct&&(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 Je.onClose(!1)}),t._uU(7,"X"),t.qZA()(),t.TgZ(8,"mat-card-content",6)(9,"form",7),t.YNc(10,Ht,4,2,"div",8),t.YNc(11,Et,4,2,"div",9),t.YNc(12,It,2,1,"p",10),t.YNc(13,nt,2,1,"div",11),t.YNc(14,Pt,4,2,"div",12),t.TgZ(15,"div",13)(16,"button",14),t.NdJ("click",function(){return Je.onClose(!1)}),t._uU(17),t.qZA(),t.YNc(18,at,4,2,"button",15),t.YNc(19,ht,2,1,"button",16),t.YNc(20,Lt,2,1,"button",17),t.qZA()()()()()),2&ct&&(t.xp6(5),t.Oqu(Je.data.alertTitle||Je.alertTypeEnum[Je.data.type]),t.xp6(5),t.Q6J("ngIf",Je.warningMessage&&""!==Je.warningMessage),t.xp6(1),t.Q6J("ngIf",Je.informationMessage&&""!==Je.informationMessage),t.xp6(1),t.Q6J("ngIf",Je.data.titleMessage&&!Je.flgShowInput),t.xp6(1),t.Q6J("ngIf",(null==Je.messageObjs?null:Je.messageObjs.length)>0),t.xp6(1),t.Q6J("ngIf",Je.flgShowInput),t.xp6(3),t.Oqu(Je.noBtnText),t.xp6(1),t.Q6J("ngIf",Je.hasAdvanced),t.xp6(1),t.Q6J("ngIf",Je.flgShowInput),t.xp6(1),t.Q6J("ngIf",!Je.flgShowInput))},dependencies:[ue.sg,ue.O5,ue.RF,ue.n9,ue.ED,W._Y,W.Fj,W.JJ,W.JL,W.Q7,W.On,W.F,Fe.BN,z.xw,z.Wh,z.yH,ne.lW,le.dn,le.dk,Ft.Nt,qe.KE,qe.hX,qe.bx,qe.TO,me.d,u.h,Qe.q,ue.i8,ue.JJ,ue.uU]});var Ti=p(1786),yi=p(4385),Ni=p(3238);function Xe(Oe,ct){if(1&Oe&&(t.TgZ(0,"mat-option",23),t._uU(1),t.qZA()),2&Oe){const Je=ct.$implicit;t.Q6J("value",Je),t.xp6(1),t.hij(" ",Je.infoName," ")}}function Tt(Oe,ct){if(1&Oe){const Je=t.EpF();t.TgZ(0,"div",13)(1,"mat-form-field",20)(2,"mat-select",21),t.NdJ("valueChange",function(Oi){t.CHM(Je);const Xi=t.oxw();return t.KtG(Xi.selInfoType=Oi)}),t.YNc(3,Xe,2,2,"mat-option",22),t.qZA()()()}if(2&Oe){const Je=t.oxw();t.xp6(2),t.Q6J("value",Je.selInfoType),t.xp6(1),t.Q6J("ngForOf",Je.infoTypes)}}const xe=function(Oe){return{"display-none":Oe}};class Rt{constructor(ct,Je,ii,Oi,Xi){this.dialogRef=ct,this.data=Je,this.logger=ii,this.snackBar=Oi,this.commonService=Xi,this.faReceipt=ke.dLy,this.infoTypes=[{infoID:0,infoKey:"node pubkey",infoName:"Node pubkey"}],this.selInfoType=this.infoTypes[0],this.qrWidth=210,this.screenSize="",this.screenSizeEnum=E.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((ct,Je)=>{this.infoTypes.push({infoID:Je+1,infoKey:"node URI "+(Je+1),infoName:"Node URI "+(Je+1)})})),this.screenSize=this.commonService.getScreenSize()}onClose(){this.dialogRef.close(!1)}onCopyPubkey(ct){this.snackBar.open(this.selInfoType.infoName+" copied."),this.logger.info("Copied Text: "+ct)}}Rt.\u0275fac=function(ct){return new(ct||Rt)(t.Y36(R.so),t.Y36(R.WI),t.Y36(K.mQ),t.Y36($.ux),t.Y36(ie.v))},Rt.\u0275cmp=t.Xpm({type:Rt,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(ct,Je){1&ct&&(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 Je.onClose()}),t._uU(10,"X"),t.qZA()(),t.TgZ(11,"mat-card-content",9)(12,"div",10)(13,"div",11),t._UZ(14,"qr-code",2),t.qZA(),t.YNc(15,Tt,4,2,"div",12),t.TgZ(16,"div",13)(17,"div",14)(18,"h4",15),t._uU(19),t.qZA(),t.TgZ(20,"span",16),t._uU(21),t.qZA()()(),t._UZ(22,"mat-divider",17),t.TgZ(23,"div",18)(24,"button",19),t.NdJ("copied",function(Oi){return Je.onCopyPubkey(Oi)}),t._uU(25),t.qZA()()()()()()),2&ct&&(t.xp6(1),t.Q6J("ngClass",t.VKq(15,xe,Je.screenSize===Je.screenSizeEnum.XS||Je.screenSize===Je.screenSizeEnum.SM)),t.xp6(1),t.s9C("value",0===Je.selInfoType.infoID?Je.information.identity_pubkey:Je.information.uris[Je.selInfoType.infoID-1]),t.Q6J("size",Je.qrWidth)("errorCorrectionLevel","L"),t.xp6(4),t.Q6J("icon",Je.faReceipt),t.xp6(2),t.Oqu(Je.selInfoType.infoName),t.xp6(5),t.Q6J("ngClass",t.VKq(17,xe,Je.screenSize!==Je.screenSizeEnum.XS&&Je.screenSize!==Je.screenSizeEnum.SM)),t.xp6(1),t.s9C("value",0===Je.selInfoType.infoID?Je.information.identity_pubkey:Je.information.uris[Je.selInfoType.infoID-1]),t.Q6J("size",Je.qrWidth)("errorCorrectionLevel","L"),t.xp6(1),t.Q6J("ngIf",Je.information.uris&&Je.information.uris.length>0),t.xp6(4),t.Oqu(Je.selInfoType.infoName),t.xp6(2),t.Oqu(0===Je.selInfoType.infoID?Je.information.identity_pubkey:Je.information.uris[Je.selInfoType.infoID-1]),t.xp6(3),t.s9C("payload",0===Je.selInfoType.infoID?Je.information.identity_pubkey:Je.information.uris[Je.selInfoType.infoID-1]),t.xp6(1),t.hij("Copy ",Je.selInfoType.infoKey,""))},dependencies:[ue.mk,ue.sg,ue.O5,Fe.BN,z.xw,z.Wh,z.yH,he.oO,ne.lW,le.dn,le.dk,qe.KE,me.d,yi.gD,Ni.ey,A.uU,a.y,u.h]});var jt=p(6523),li=p(429),bi=p(2994),Li=p(8377),Gi=p(529),ji=p(7998),$i=p(5986),Gt=p(8104),Kt=p(9116);class fe{constructor(ct,Je,ii,Oi,Xi,Rn,pa,hn,Ua,ga,ka){this.actions=ct,this.httpClient=Je,this.store=ii,this.logger=Oi,this.wsService=Xi,this.sessionService=Rn,this.commonService=pa,this.dataService=hn,this.dialog=Ua,this.snackBar=ga,this.router=ka,this.screenSize="",this.alertWidth="55%",this.confirmWidth="70%",this.unSubs=[new b.x,new b.x],this.closeAllDialogs=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.CLOSE_ALL_DIALOGS),(0,h.U)(()=>{this.dialog.closeAll()})),{dispatch:!1}),this.openSnackBar=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.OPEN_SNACK_BAR),(0,h.U)(Di=>{"string"==typeof Di.payload?this.snackBar.open(Di.payload):this.snackBar.open(Di.payload.message,"","ERROR"===Di.payload.type?{duration:Di.payload.duration?Di.payload.duration:2e3,panelClass:"rtl-warn-snack-bar"}:"WARN"===Di.payload.type?{duration:Di.payload.duration?Di.payload.duration:2e3,panelClass:"rtl-accent-snack-bar"}:{duration:Di.payload.duration?Di.payload.duration:2e3,panelClass:"rtl-snack-bar"})})),{dispatch:!1}),this.openSpinner=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.OPEN_SPINNER),(0,h.U)(Di=>{Di.payload!==E.m6.NO_SPINNER&&(this.dialogRef=this.dialog.open(Y,{panelClass:"spinner-dialog-panel",data:{titleMessage:Di.payload}}))})),{dispatch:!1}),this.closeSpinner=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.CLOSE_SPINNER),(0,h.U)(Di=>{if(Di.payload!==E.m6.NO_SPINNER)try{this.dialogRef&&this.dialogRef.componentInstance&&this.dialogRef.componentInstance.data&&this.dialogRef.componentInstance.data.titleMessage&&this.dialogRef.componentInstance.data.titleMessage===Di.payload?this.dialogRef.close():this.dialog.openDialogs.forEach(Hi=>{Hi.componentInstance&&Hi.componentInstance.data&&Hi.componentInstance.data.titleMessage&&Hi.componentInstance.data.titleMessage===Di.payload&&Hi.close()})}catch(Hi){this.logger.error(Hi)}})),{dispatch:!1}),this.openAlert=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.OPEN_ALERT),(0,h.U)(Di=>{const Hi=JSON.parse(JSON.stringify(Di.payload));Hi.width||(Hi.width=this.alertWidth),this.dialogRef=this.dialog.open(Di.payload.data.component?Di.payload.data.component:St,Hi)})),{dispatch:!1}),this.closeAlert=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.CLOSE_ALERT),(0,h.U)(Di=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Di.payload),Di.payload))),{dispatch:!1}),this.openConfirm=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.OPEN_CONFIRMATION),(0,h.U)(Di=>{const Hi=JSON.parse(JSON.stringify(Di.payload));Hi.width||(Hi.width=this.confirmWidth),this.dialogRef=this.dialog.open(ui,Hi)})),{dispatch:!1}),this.closeConfirm=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.CLOSE_CONFIRMATION),(0,P.q)(1),(0,h.U)(Di=>(this.dialogRef&&this.dialogRef.close(),this.logger.info(Di.payload),Di.payload))),{dispatch:!1}),this.showNodePubkey=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SHOW_PUBKEY),(0,d.M)(this.store.select(Li.R4)),(0,S.z)(([Di,Hi])=>(this.sessionService.getItem("token")&&Hi.identity_pubkey?this.store.dispatch((0,He.qR)({payload:{data:{information:Hi,component:Rt}}})):this.snackBar.open("Node Pubkey does not exist."),(0,I.of)({type:E.pg.VOID}))))),this.appConfigFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.FETCH_RTL_CONFIG),(0,S.z)(()=>(this.screenSize=this.commonService.getScreenSize(),this.screenSize===E.cu.XS||this.screenSize===E.cu.SM?(this.alertWidth="95%",this.confirmWidth="95%"):this.screenSize===E.cu.MD?(this.alertWidth="80%",this.confirmWidth="80%"):(this.alertWidth="50%",this.confirmWidth="53%"),this.store.dispatch((0,He.ac)({payload:E.m6.GET_RTL_CONFIG})),this.store.dispatch((0,He.qi)({payload:{action:"FetchRTLConfig",status:E.Bn.INITIATED}})),this.sessionService.getItem("token")?this.httpClient.get(E.vv.CONF_API+"/rtlconf"):this.httpClient.get(E.vv.CONF_API+"/rtlconfinit"))),(0,h.U)(Di=>{this.logger.info(Di),this.store.dispatch((0,He.uO)({payload:E.m6.GET_RTL_CONFIG})),this.store.dispatch((0,He.qi)({payload:{action:"FetchRTLConfig",status:E.Bn.COMPLETED}}));let Hi=null;return Di.nodes.forEach(Mn=>{Mn.settings.currencyUnits=[...E.uA,Mn.settings?.currencyUnit?Mn.settings?.currencyUnit:""],+(Mn.index||-1)===Di.selectedNodeIndex&&(Hi=Mn)}),Hi?(this.store.dispatch((0,He.fk)({payload:{uiMessage:E.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:Hi,isInitialSetup:!0}})),{type:E.pg.SET_RTL_CONFIG,payload:Di}):{type:E.pg.VOID}}),(0,w.K)(Di=>(this.handleErrorWithAlert("FetchRTLConfig",E.m6.GET_RTL_CONFIG,"Fetch RTL Config Failed!",E.vv.CONF_API,Di),(0,I.of)({type:E.pg.VOID}))))),this.settingSave=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SAVE_SETTINGS),(0,S.z)(Di=>{this.store.dispatch((0,He.ac)({payload:Di.payload.uiMessage})),this.store.dispatch((0,He.qi)({payload:{action:"UpdateSettings",status:E.Bn.INITIATED}}));let Hi=new s.y;if(Di.payload.settings&&Di.payload.defaultNodeIndex){const Mn=this.httpClient.post(E.vv.CONF_API,{updatedSettings:Di.payload.settings}),Qt=this.httpClient.post(E.vv.CONF_API+"/updateDefaultNode",{defaultNodeIndex:Di.payload.defaultNodeIndex});Hi=(0,C.D)([Mn,Qt])}else Di.payload.settings&&!Di.payload.defaultNodeIndex?Hi=this.httpClient.post(E.vv.CONF_API,{updatedSettings:Di.payload.settings}):!Di.payload.settings&&Di.payload.defaultNodeIndex&&(Hi=this.httpClient.post(E.vv.CONF_API+"/updateDefaultNode",{defaultNodeIndex:Di.payload.defaultNodeIndex}));return Hi.pipe((0,h.U)(Mn=>(this.logger.info(Mn),this.store.dispatch((0,He.qi)({payload:{action:"UpdateSettings",status:E.Bn.COMPLETED}})),this.store.dispatch((0,He.uO)({payload:Di.payload.uiMessage})),{type:E.pg.OPEN_SNACK_BAR,payload:Mn.length?Mn[0].message+".":Mn.message+"."})),(0,w.K)(Mn=>(this.handleErrorWithAlert("UpdateSettings",Di.payload.uiMessage,"Update Settings Failed!",E.vv.CONF_API,Mn.length?Mn[0]:Mn),(0,I.of)({type:E.pg.VOID}))))}))),this.updateServicesettings=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.UPDATE_SERVICE_SETTINGS),(0,S.z)(Di=>(this.store.dispatch((0,He.ac)({payload:Di.payload.uiMessage})),this.store.dispatch((0,He.qi)({payload:{action:"UpdateServiceSettings",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.CONF_API+"/updateServiceSettings",Di.payload).pipe((0,h.U)(Hi=>(this.logger.info(Hi),this.store.dispatch((0,He.qi)({payload:{action:"UpdateServiceSettings",status:E.Bn.COMPLETED}})),this.store.dispatch((0,He.uO)({payload:Di.payload.uiMessage})),this.store.dispatch((0,He.Tm)({payload:Di.payload})),{type:E.pg.OPEN_SNACK_BAR,payload:Hi.message+"."})),(0,w.K)(Hi=>(this.handleErrorWithAlert("UpdateServiceSettings",Di.payload.uiMessage,"Update Service Settings Failed!",E.vv.CONF_API,Hi),(0,I.of)({type:E.pg.VOID})))))))),this.twoFASettingSave=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.TWO_FA_SAVE_SETTINGS),(0,S.z)(Di=>(this.store.dispatch((0,He.ac)({payload:E.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,He.qi)({payload:{action:"Update2FASettings",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.CONF_API+"/update2FA",{secret2fa:Di.payload.secret2fa}))),(0,d.M)(this.store.select(Li.Yj)),(0,h.U)(([Di,Hi])=>{this.logger.info(Di),Hi.enable2FA=!Hi.enable2FA,this.store.dispatch((0,He.qi)({payload:{action:"Update2FASettings",status:E.Bn.COMPLETED}})),this.store.dispatch((0,He.uO)({payload:E.m6.UPDATE_UI_SETTINGS})),this.store.dispatch((0,He.XT)({payload:Hi}))}),(0,w.K)(Di=>(this.handleErrorWithAlert("Update2FASettings",E.m6.UPDATE_UI_SETTINGS,"Update 2FA Settings Failed!",E.vv.CONF_API,Di),(0,I.of)({type:E.pg.VOID})))),{dispatch:!1}),this.configFetch=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.FETCH_CONFIG),(0,S.z)(Di=>(this.store.dispatch((0,He.ac)({payload:E.m6.OPEN_CONFIG_FILE})),this.store.dispatch((0,He.qi)({payload:{action:"fetchConfig",status:E.Bn.INITIATED}})),this.httpClient.get(E.vv.CONF_API+"/config/"+Di.payload).pipe((0,h.U)(Hi=>(this.store.dispatch((0,He.qi)({payload:{action:"fetchConfig",status:E.Bn.COMPLETED}})),this.store.dispatch((0,He.uO)({payload:E.m6.OPEN_CONFIG_FILE})),{type:E.pg.SHOW_CONFIG,payload:Hi})),(0,w.K)(Hi=>(this.handleErrorWithAlert("fetchConfig",E.m6.OPEN_CONFIG_FILE,"Fetch Config Failed!",E.vv.CONF_API+"/config/"+Di.payload,Hi),(0,I.of)({type:E.pg.VOID})))))))),this.showLnConfig=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SHOW_CONFIG),(0,h.U)(Di=>Di.payload)),{dispatch:!1}),this.isAuthorized=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.IS_AUTHORIZED),(0,S.z)(Di=>(this.store.dispatch((0,He.qi)({payload:{action:"IsAuthorized",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.AUTHENTICATE_API,{authenticateWith:Di.payload&&""!==Di.payload.trim()?E.OJ.PASSWORD:E.OJ.JWT,authenticationValue:Di.payload&&""!==Di.payload.trim()?Di.payload:this.sessionService.getItem("token")?this.sessionService.getItem("token"):""}).pipe((0,h.U)(Hi=>(this.logger.info(Hi),this.store.dispatch((0,He.qi)({payload:{action:"IsAuthorized",status:E.Bn.COMPLETED}})),this.logger.info("Successfully Authorized!"),{type:E.pg.IS_AUTHORIZED_RES,payload:Hi})),(0,w.K)(Hi=>(this.handleErrorWithAlert("IsAuthorized",E.m6.NO_SPINNER,"Authorization Failed",E.vv.AUTHENTICATE_API,Hi),(0,I.of)({type:E.pg.IS_AUTHORIZED_RES,payload:"ERROR"})))))))),this.isAuthorizedRes=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.IS_AUTHORIZED_RES),(0,h.U)(Di=>Di.payload)),{dispatch:!1}),this.authLogin=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.LOGIN),(0,d.M)(this.store.select(Li.Yj)),(0,S.z)(([Di,Hi])=>(this.store.dispatch((0,jt.Ll)({payload:null})),this.store.dispatch((0,li.xH)({payload:null})),this.store.dispatch((0,bi.Fd)({payload:null})),this.store.dispatch((0,He.qi)({payload:{action:"Login",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.AUTHENTICATE_API,{authenticateWith:Di.payload.password?E.OJ.PASSWORD:E.OJ.JWT,authenticationValue:Di.payload.password?Di.payload.password:this.sessionService.getItem("token")?this.sessionService.getItem("token"):"",twoFAToken:Di.payload.twoFAToken?Di.payload.twoFAToken:""}).pipe((0,h.U)(Mn=>{this.logger.info(Mn),this.store.dispatch((0,He.qi)({payload:{action:"Login",status:E.Bn.COMPLETED}})),this.setLoggedInDetails(Di.payload.defaultPassword,Mn)}),(0,w.K)(Mn=>(this.logger.info("Redirecting to Login Error Page"),this.handleErrorWithoutAlert("Login",E.m6.NO_SPINNER,Mn),+Hi.sso.rtlSSO?this.router.navigate(["/error"],{state:{errorCode:"406",errorMessage:Mn.error&&Mn.error.error?Mn.error.error:"Single Sign On Failed!"}}):this.router.navigate(["./login"]),(0,I.of)({type:E.pg.VOID}))))))),{dispatch:!1}),this.tokenVerify=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.VERIFY_TWO_FA),(0,S.z)(Di=>(this.store.dispatch((0,He.ac)({payload:E.m6.VERIFY_TOKEN})),this.store.dispatch((0,He.qi)({payload:{action:"VerifyToken",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.AUTHENTICATE_API+"/token",{authentication2FA:Di.payload.token}).pipe((0,h.U)(Hi=>{this.logger.info(Hi),this.store.dispatch((0,He.uO)({payload:E.m6.VERIFY_TOKEN})),this.store.dispatch((0,He.qi)({payload:{action:"VerifyToken",status:E.Bn.COMPLETED}})),this.logger.info("Token Successfully Verified!"),this.setLoggedInDetails(!1,Di.payload.authResponse)}),(0,w.K)(Hi=>(this.handleErrorWithAlert("VerifyToken",E.m6.VERIFY_TOKEN,"Authorization Failed!",E.vv.AUTHENTICATE_API+"/token",Hi),(0,I.of)({type:E.pg.VOID}))))))),{dispatch:!1}),this.logOut=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.LOGOUT),(0,S.z)(Di=>(this.store.dispatch((0,He.ac)({payload:E.m6.LOG_OUT})),Di.sso&&+Di.sso.rtlSSO?window.location.href=Di.sso.logoutRedirectLink:this.router.navigate(["./login"]),this.sessionService.clearAll(),this.store.dispatch((0,He._V)({payload:{}})),this.store.dispatch((0,He.uO)({payload:E.m6.LOG_OUT})),this.logger.info("Logged out from browser"),this.httpClient.get(E.vv.AUTHENTICATE_API+"/logout").pipe((0,h.U)(Hi=>{this.logger.info(Hi),this.store.dispatch((0,He.uO)({payload:E.m6.LOG_OUT})),this.logger.info("Logged out from server")}))))),{dispatch:!1}),this.resetPassword=(0,e.GW)(()=>this.actions.pipe((0,O.R)(this.unSubs[1]),(0,e.l4)(E.pg.RESET_PASSWORD),(0,S.z)(Di=>(this.store.dispatch((0,He.qi)({payload:{action:"ResetPassword",status:E.Bn.INITIATED}})),this.httpClient.post(E.vv.AUTHENTICATE_API+"/reset",{currPassword:Di.payload.currPassword,newPassword:Di.payload.newPassword}).pipe((0,O.R)(this.unSubs[0]),(0,h.U)(Hi=>(this.logger.info(Hi),this.store.dispatch((0,He.qi)({payload:{action:"ResetPassword",status:E.Bn.COMPLETED}})),this.sessionService.setItem("defaultPassword",!1),this.logger.info("Password Reset Successful!"),this.store.dispatch((0,He.jW)({payload:"Password Reset Successful!"})),this.SetToken(Hi.token),{type:E.pg.RESET_PASSWORD_RES,payload:Hi.token})),(0,w.K)(Hi=>(this.handleErrorWithAlert("ResetPassword",E.m6.NO_SPINNER,"Password Reset Failed!",E.vv.AUTHENTICATE_API+"/reset",Hi),(0,I.of)({type:E.pg.VOID})))))))),this.setSelectedNode=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SET_SELECTED_NODE),(0,S.z)(Di=>(this.store.dispatch((0,He.ac)({payload:Di.payload.uiMessage})),this.store.dispatch((0,He.qi)({payload:{action:"UpdateSelNode",status:E.Bn.INITIATED}})),this.httpClient.get(E.vv.CONF_API+"/updateSelNode/"+Di.payload.currentLnNode?.index+"/"+Di.payload.prevLnNodeIndex).pipe((0,h.U)(Hi=>(this.logger.info(Hi),this.store.dispatch((0,He.qi)({payload:{action:"UpdateSelNode",status:E.Bn.COMPLETED}})),this.store.dispatch((0,He.uO)({payload:Di.payload.uiMessage})),this.initializeNode(Di.payload.currentLnNode,Di.payload.isInitialSetup),{type:E.pg.VOID})),(0,w.K)(Hi=>(this.handleErrorWithAlert("UpdateSelNode",Di.payload.uiMessage,"Update Selected Node Failed!",E.vv.CONF_API+"/updateSelNode",Hi),(0,I.of)({type:E.pg.VOID})))))))),this.fetchFile=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.FETCH_FILE),(0,S.z)(Di=>{this.store.dispatch((0,He.ac)({payload:E.m6.DOWNLOAD_BACKUP_FILE})),this.store.dispatch((0,He.qi)({payload:{action:"FetchFile",status:E.Bn.INITIATED}}));const Hi="?channel="+Di.payload.channelPoint+(Di.payload.path?"&path="+Di.payload.path:"");return this.httpClient.get(E.vv.CONF_API+"/file"+Hi).pipe((0,h.U)(Mn=>(this.store.dispatch((0,He.qi)({payload:{action:"FetchFile",status:E.Bn.COMPLETED}})),this.store.dispatch((0,He.uO)({payload:E.m6.DOWNLOAD_BACKUP_FILE})),{type:E.pg.SHOW_FILE,payload:Mn})),(0,w.K)(Mn=>(this.handleErrorWithAlert("fetchFile",E.m6.DOWNLOAD_BACKUP_FILE,"Download Backup File Failed!",E.vv.CONF_API+"/file"+Hi,{status:this.commonService.extractErrorNumber(Mn),error:{error:this.commonService.extractErrorCode(Mn)}}),(0,I.of)({type:E.pg.VOID}))))}))),this.showFile=(0,e.GW)(()=>this.actions.pipe((0,e.l4)(E.pg.SHOW_FILE),(0,h.U)(Di=>Di.payload)),{dispatch:!1})}initializeNode(ct,Je){this.logger.info("Initializing node from RTL Effects.");const ii=Je?"":"HOME",Oi={userPersona:ct.settings.userPersona,channelBackupPath:ct.settings.channelBackupPath,unannouncedChannels:!!ct.settings.unannouncedChannels,selCurrencyUnit:ct.settings.currencyUnit,currencyUnits:E.uA,fiatConversion:ct.settings.fiatConversion,lnImplementation:ct.lnImplementation,swapServerUrl:ct.settings.swapServerUrl,boltzServerUrl:ct.settings.boltzServerUrl,enableOffers:ct.settings.enableOffers,enablePeerswap:ct.settings.enablePeerswap};if(ct.settings.fiatConversion&&ct.settings.currencyUnit&&(Oi.currencyUnits=[...E.uA,ct.settings.currencyUnit]),this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("clUnlocked"),this.sessionService.removeItem("eclUnlocked"),this.store.dispatch((0,He.vI)({payload:ct})),this.store.dispatch((0,jt.Ll)({payload:Oi})),this.store.dispatch((0,li.xH)({payload:Oi})),this.store.dispatch((0,bi.Fd)({payload:Oi})),this.sessionService.getItem("token")){const Xi=ct.lnImplementation?ct.lnImplementation.toUpperCase():"LND";this.dataService.setLnImplementation(Xi);const Rn=!(0,t.X6Q)()&&window.location.origin?window.location.origin+"/rtl/api":E.T5;switch(this.wsService.connectWebSocket(Rn?.replace(/^http/,"ws")+E.vv.Web_SOCKET_API,ct.index?ct.index.toString():"-1"),Xi){case"CLN":this.store.dispatch((0,li.CN)({payload:{loadPage:ii}}));break;case"ECL":this.store.dispatch((0,bi.iz)({payload:{loadPage:ii}}));break;default:this.store.dispatch((0,jt.sQ)({payload:{loadPage:ii}}))}}}SetToken(ct){ct?(this.sessionService.setItem("lndUnlocked","true"),this.sessionService.setItem("token",ct)):(this.sessionService.removeItem("lndUnlocked"),this.sessionService.removeItem("token"))}setLoggedInDetails(ct,Je){this.logger.info("Successfully Authorized!"),this.SetToken(Je.token),this.sessionService.setItem("defaultPassword",ct),ct?(this.store.dispatch((0,He.jW)({payload:"Reset your password."})),this.router.navigate(["/settings/auth"])):this.store.dispatch((0,He.ey)())}handleErrorWithoutAlert(ct,Je,ii){this.logger.error("ERROR IN: "+ct+"\n"+JSON.stringify(ii)),401===ii.status&&"Login"!==ct?(this.logger.info("Redirecting to Login"),this.store.dispatch((0,He.ts)()),this.store.dispatch((0,He.kS)()),this.store.dispatch((0,He.jW)({payload:"Authentication Failed. Redirecting to Login."}))):(this.store.dispatch((0,He.uO)({payload:Je})),this.store.dispatch((0,He.qi)({payload:{action:ct,status:E.Bn.ERROR,statusCode:ii.status?ii.status.toString():"",message:this.commonService.extractErrorMessage(ii)}})))}handleErrorWithAlert(ct,Je,ii,Oi,Xi){if(this.logger.error(Xi),0===Xi.status&&Xi.statusText&&"Unknown Error"===Xi.statusText&&(Xi={status:400,error:{message:"Unknown Error / CORS Origin Not Allowed"}}),401===Xi.status&&"Login"!==ct)this.logger.info("Redirecting to Login"),this.store.dispatch((0,He.ts)()),this.store.dispatch((0,He.kS)()),this.store.dispatch((0,He.jW)({payload:"Authentication Failed. Redirecting to Login."}));else{this.store.dispatch((0,He.uO)({payload:Je}));const Rn=this.commonService.extractErrorMessage(Xi);this.store.dispatch((0,He.qR)({payload:{data:{type:"ERROR",alertTitle:ii,message:{code:Xi.status?Xi.status:"Unknown Error",message:Rn,URL:Oi},component:Ti.H}}})),this.store.dispatch((0,He.qi)({payload:{action:ct,status:E.Bn.ERROR,statusCode:Xi.status?Xi.status.toString():"",message:Rn,URL:Oi}}))}}ngOnDestroy(){this.unSubs.forEach(ct=>{ct.next(null),ct.complete()})}}fe.\u0275fac=function(ct){return new(ct||fe)(t.LFG(e.eX),t.LFG(Gi.eN),t.LFG(wt.yh),t.LFG(K.mQ),t.LFG(ji.d),t.LFG($i.m),t.LFG(ie.v),t.LFG(Gt.D),t.LFG(R.uw),t.LFG($.ux),t.LFG(Kt.F0))},fe.\u0275prov=t.Yz7({token:fe,factory:fe.\u0275fac})},8377:(Ue,q,p)=>{"use strict";p.d(q,{R4:()=>C,Sr:()=>P,Yj:()=>s,dT:()=>I,gW:()=>d,ul:()=>h});var t=p(9653);const e=(0,t.ZF)("root"),I=((0,t.P1)(e,S=>S.apiURL),(0,t.P1)(e,S=>S.selNode)),s=(0,t.P1)(e,S=>S.appConfig),C=(0,t.P1)(e,S=>S.nodeData),h=(0,t.P1)(e,S=>S.apisCallStatus.Login),P=(0,t.P1)(e,S=>S.apisCallStatus.IsAuthorized),d=(0,t.P1)(e,S=>({nodeDate:S.nodeData,selNode:S.selNode}))},5415:(Ue,q,p)=>{"use strict";var t=p(1481),e=p(4650),b=p(7340);function s(F){return new e.vHH(3e3,!1)}function tt(){return typeof window<"u"&&typeof window.document<"u"}function je(){return typeof process<"u"&&"[object process]"==={}.toString.call(process)}function ze(F){switch(F.length){case 0:return new b.ZN;case 1:return F[0];default:return new b.ZE(F)}}function Le(F,M,_,Z,_e=new Map,xt=new Map){const Ut=[],Xt=[];let ci=-1,Mi=null;if(Z.forEach(en=>{const Bi=en.get("offset"),kn=Bi==ci,On=kn&&Mi||new Map;en.forEach((dn,Sn)=>{let na=Sn,va=dn;if("offset"!==Sn)switch(na=M.normalizePropertyName(na,Ut),va){case b.k1:va=_e.get(Sn);break;case b.l3:va=xt.get(Sn);break;default:va=M.normalizeStyleValue(Sn,na,va,Ut)}On.set(na,va)}),kn||Xt.push(On),Mi=On,ci=Bi}),Ut.length)throw function a(F){return new e.vHH(3502,!1)}();return Xt}function ye(F,M,_,Z){switch(M){case"start":F.onStart(()=>Z(_&&ce(_,"start",F)));break;case"done":F.onDone(()=>Z(_&&ce(_,"done",F)));break;case"destroy":F.onDestroy(()=>Z(_&&ce(_,"destroy",F)))}}function ce(F,M,_){const xt=ve(F.element,F.triggerName,F.fromState,F.toState,M||F.phaseName,_.totalTime??F.totalTime,!!_.disabled),Ut=F._data;return null!=Ut&&(xt._data=Ut),xt}function ve(F,M,_,Z,_e="",xt=0,Ut){return{element:F,triggerName:M,fromState:_,toState:Z,phaseName:_e,totalTime:xt,disabled:!!Ut}}function oe(F,M,_){let Z=F.get(M);return Z||F.set(M,Z=_),Z}function Ke(F){const M=F.indexOf(":");return[F.substring(1,M),F.slice(M+1)]}let Ae=(F,M)=>!1,de=(F,M,_)=>[],Ce=null;function te(F){const M=F.parentNode||F.host;return M===Ce?null:M}(je()||typeof Element<"u")&&(tt()?(Ce=(()=>document.documentElement)(),Ae=(F,M)=>{for(;M;){if(M===F)return!0;M=te(M)}return!1}):Ae=(F,M)=>F.contains(M),de=(F,M,_)=>{if(_)return Array.from(F.querySelectorAll(M));const Z=F.querySelector(M);return Z?[Z]:[]});let ae=null,ge=!1;const At=Ae,_t=de;let St=(()=>{class F{validateStyleProperty(_){return function pt(F){ae||(ae=function ut(){return typeof document<"u"?document.body:null}()||{},ge=!!ae.style&&"WebkitAppearance"in ae.style);let M=!0;return ae.style&&!function Ge(F){return"ebkit"==F.substring(1,6)}(F)&&(M=F in ae.style,!M&&ge&&(M="Webkit"+F.charAt(0).toUpperCase()+F.slice(1)in ae.style)),M}(_)}matchesElement(_,Z){return!1}containsElement(_,Z){return At(_,Z)}getParentElement(_){return te(_)}query(_,Z,_e){return _t(_,Z,_e)}computeStyle(_,Z,_e){return _e||""}animate(_,Z,_e,xt,Ut,Xt=[],ci){return new b.ZN(_e,xt)}}return F.\u0275fac=function(_){return new(_||F)},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac}),F})(),ke=(()=>{class F{}return F.NOOP=new St,F})();const Fe="ng-enter",Ft="ng-leave",qe="ng-trigger",Qe=".ng-trigger",Ht="ng-animating",Et=".ng-animating";function It(F){if("number"==typeof F)return F;const M=F.match(/^(-?[\.\d]+)(m?s)/);return!M||M.length<2?0:bt(parseFloat(M[1]),M[2])}function bt(F,M){return"s"===M?1e3*F:F}function we(F,M,_){return F.hasOwnProperty("duration")?F:function J(F,M,_){let _e,xt=0,Ut="";if("string"==typeof F){const Xt=F.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Xt)return M.push(s()),{duration:0,delay:0,easing:""};_e=bt(parseFloat(Xt[1]),Xt[2]);const ci=Xt[3];null!=ci&&(xt=bt(parseFloat(ci),Xt[4]));const Mi=Xt[5];Mi&&(Ut=Mi)}else _e=F;if(!_){let Xt=!1,ci=M.length;_e<0&&(M.push(function C(){return new e.vHH(3100,!1)}()),Xt=!0),xt<0&&(M.push(function h(){return new e.vHH(3101,!1)}()),Xt=!0),Xt&&M.splice(ci,0,s())}return{duration:_e,delay:xt,easing:Ut}}(F,M,_)}function be(F,M={}){return Object.keys(F).forEach(_=>{M[_]=F[_]}),M}function Ve(F){const M=new Map;return Object.keys(F).forEach(_=>{M.set(_,F[_])}),M}function Bt(F,M=new Map,_){if(_)for(let[Z,_e]of _)M.set(Z,_e);for(let[Z,_e]of F)M.set(Z,_e);return M}function ti(F,M,_){return _?M+":"+_+";":""}function mt(F){let M="";for(let _=0;_<F.style.length;_++){const Z=F.style.item(_);M+=ti(0,Z,F.style.getPropertyValue(Z))}for(const _ in F.style)F.style.hasOwnProperty(_)&&!_.startsWith("_")&&(M+=ti(0,Lt(_),F.style[_]));F.setAttribute("style",M)}function nt(F,M,_){F.style&&(M.forEach((Z,_e)=>{const xt=ht(_e);_&&!_.has(_e)&&_.set(_e,F.style[xt]),F.style[xt]=Z}),je()&&mt(F))}function yt(F,M){F.style&&(M.forEach((_,Z)=>{const _e=ht(Z);F.style[_e]=""}),je()&&mt(F))}function $t(F){return Array.isArray(F)?1==F.length?F[0]:(0,b.vP)(F):F}const ft=new RegExp("{{\\s*(.+?)\\s*}}","g");function Pt(F){let M=[];if("string"==typeof F){let _;for(;_=ft.exec(F);)M.push(_[1]);ft.lastIndex=0}return M}function Pe(F,M,_){const Z=F.toString(),_e=Z.replace(ft,(xt,Ut)=>{let Xt=M[Ut];return null==Xt&&(_.push(function d(F){return new e.vHH(3003,!1)}()),Xt=""),Xt.toString()});return _e==Z?F:_e}function it(F){const M=[];let _=F.next();for(;!_.done;)M.push(_.value),_=F.next();return M}const at=/-+([a-z0-9])/g;function ht(F){return F.replace(at,(...M)=>M[1].toUpperCase())}function Lt(F){return F.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function yi(F,M,_){switch(M.type){case 7:return F.visitTrigger(M,_);case 0:return F.visitState(M,_);case 1:return F.visitTransition(M,_);case 2:return F.visitSequence(M,_);case 3:return F.visitGroup(M,_);case 4:return F.visitAnimate(M,_);case 5:return F.visitKeyframes(M,_);case 6:return F.visitStyle(M,_);case 8:return F.visitReference(M,_);case 9:return F.visitAnimateChild(M,_);case 10:return F.visitAnimateRef(M,_);case 11:return F.visitQuery(M,_);case 12:return F.visitStagger(M,_);default:throw function S(F){return new e.vHH(3004,!1)}()}}function Ni(F,M){return window.getComputedStyle(F)[M]}function Gi(F,M){const _=[];return"string"==typeof F?F.split(/\s*,\s*/).forEach(Z=>function ji(F,M,_){if(":"==F[0]){const ci=function $i(F,M){switch(F){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(_,Z)=>parseFloat(Z)>parseFloat(_);case":decrement":return(_,Z)=>parseFloat(Z)<parseFloat(_);default:return M.push(function ee(F){return new e.vHH(3016,!1)}()),"* => *"}}(F,_);if("function"==typeof ci)return void M.push(ci);F=ci}const Z=F.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==Z||Z.length<4)return _.push(function le(F){return new e.vHH(3015,!1)}()),M;const _e=Z[1],xt=Z[2],Ut=Z[3];M.push(fe(_e,Ut));"<"==xt[0]&&!("*"==_e&&"*"==Ut)&&M.push(fe(Ut,_e))}(Z,_,M)):_.push(F),_}const Gt=new Set(["true","1"]),Kt=new Set(["false","0"]);function fe(F,M){const _=Gt.has(F)||Kt.has(F),Z=Gt.has(M)||Kt.has(M);return(_e,xt)=>{let Ut="*"==F||F==_e,Xt="*"==M||M==xt;return!Ut&&_&&"boolean"==typeof _e&&(Ut=_e?Gt.has(F):Kt.has(F)),!Xt&&Z&&"boolean"==typeof xt&&(Xt=xt?Gt.has(M):Kt.has(M)),Ut&&Xt}}const ct=new RegExp("s*:selfs*,?","g");function Je(F,M,_,Z){return new Oi(F).build(M,_,Z)}class Oi{constructor(M){this._driver=M}build(M,_,Z){const _e=new pa(_);return this._resetContextStyleTimingState(_e),yi(this,$t(M),_e)}_resetContextStyleTimingState(M){M.currentQuerySelector="",M.collectedStyles=new Map,M.collectedStyles.set("",new Map),M.currentTime=0}visitTrigger(M,_){let Z=_.queryCount=0,_e=_.depCount=0;const xt=[],Ut=[];return"@"==M.name.charAt(0)&&_.errors.push(function O(){return new e.vHH(3006,!1)}()),M.definitions.forEach(Xt=>{if(this._resetContextStyleTimingState(_),0==Xt.type){const ci=Xt,Mi=ci.name;Mi.toString().split(/\s*,\s*/).forEach(en=>{ci.name=en,xt.push(this.visitState(ci,_))}),ci.name=Mi}else if(1==Xt.type){const ci=this.visitTransition(Xt,_);Z+=ci.queryCount,_e+=ci.depCount,Ut.push(ci)}else _.errors.push(function E(){return new e.vHH(3007,!1)}())}),{type:7,name:M.name,states:xt,transitions:Ut,queryCount:Z,depCount:_e,options:null}}visitState(M,_){const Z=this.visitStyle(M.styles,_),_e=M.options&&M.options.params||null;if(Z.containsDynamicStyles){const xt=new Set,Ut=_e||{};Z.styles.forEach(Xt=>{Xt instanceof Map&&Xt.forEach(ci=>{Pt(ci).forEach(Mi=>{Ut.hasOwnProperty(Mi)||xt.add(Mi)})})}),xt.size&&(it(xt.values()),_.errors.push(function R(F,M){return new e.vHH(3008,!1)}()))}return{type:0,name:M.name,style:Z,options:_e?{params:_e}:null}}visitTransition(M,_){_.queryCount=0,_.depCount=0;const Z=yi(this,$t(M.animation),_);return{type:1,matchers:Gi(M.expr,_.errors),animation:Z,queryCount:_.queryCount,depCount:_.depCount,options:ga(M.options)}}visitSequence(M,_){return{type:2,steps:M.steps.map(Z=>yi(this,Z,_)),options:ga(M.options)}}visitGroup(M,_){const Z=_.currentTime;let _e=0;const xt=M.steps.map(Ut=>{_.currentTime=Z;const Xt=yi(this,Ut,_);return _e=Math.max(_e,_.currentTime),Xt});return _.currentTime=_e,{type:3,steps:xt,options:ga(M.options)}}visitAnimate(M,_){const Z=function Ua(F,M){if(F.hasOwnProperty("duration"))return F;if("number"==typeof F)return ka(we(F,M).duration,0,"");const _=F;if(_.split(/\s+/).some(xt=>"{"==xt.charAt(0)&&"{"==xt.charAt(1))){const xt=ka(0,0,"");return xt.dynamic=!0,xt.strValue=_,xt}const _e=we(_,M);return ka(_e.duration,_e.delay,_e.easing)}(M.timings,_.errors);_.currentAnimateTimings=Z;let _e,xt=M.styles?M.styles:(0,b.oB)({});if(5==xt.type)_e=this.visitKeyframes(xt,_);else{let Ut=M.styles,Xt=!1;if(!Ut){Xt=!0;const Mi={};Z.easing&&(Mi.easing=Z.easing),Ut=(0,b.oB)(Mi)}_.currentTime+=Z.duration+Z.delay;const ci=this.visitStyle(Ut,_);ci.isEmptyStep=Xt,_e=ci}return _.currentAnimateTimings=null,{type:4,timings:Z,style:_e,options:null}}visitStyle(M,_){const Z=this._makeStyleAst(M,_);return this._validateStyleAst(Z,_),Z}_makeStyleAst(M,_){const Z=[],_e=Array.isArray(M.styles)?M.styles:[M.styles];for(let Xt of _e)"string"==typeof Xt?Xt===b.l3?Z.push(Xt):_.errors.push(new e.vHH(3002,!1)):Z.push(Ve(Xt));let xt=!1,Ut=null;return Z.forEach(Xt=>{if(Xt instanceof Map&&(Xt.has("easing")&&(Ut=Xt.get("easing"),Xt.delete("easing")),!xt))for(let ci of Xt.values())if(ci.toString().indexOf("{{")>=0){xt=!0;break}}),{type:6,styles:Z,easing:Ut,offset:M.offset,containsDynamicStyles:xt,options:null}}_validateStyleAst(M,_){const Z=_.currentAnimateTimings;let _e=_.currentTime,xt=_.currentTime;Z&&xt>0&&(xt-=Z.duration+Z.delay),M.styles.forEach(Ut=>{"string"!=typeof Ut&&Ut.forEach((Xt,ci)=>{const Mi=_.collectedStyles.get(_.currentQuerySelector),en=Mi.get(ci);let Bi=!0;en&&(xt!=_e&&xt>=en.startTime&&_e<=en.endTime&&(_.errors.push(function Y(F,M,_,Z,_e){return new e.vHH(3010,!1)}()),Bi=!1),xt=en.startTime),Bi&&Mi.set(ci,{startTime:xt,endTime:_e}),_.options&&function Vt(F,M,_){const Z=M.params||{},_e=Pt(F);_e.length&&_e.forEach(xt=>{Z.hasOwnProperty(xt)||_.push(function P(F){return new e.vHH(3001,!1)}())})}(Xt,_.options,_.errors)})})}visitKeyframes(M,_){const Z={type:5,styles:[],options:null};if(!_.currentAnimateTimings)return _.errors.push(function K(){return new e.vHH(3011,!1)}()),Z;let xt=0;const Ut=[];let Xt=!1,ci=!1,Mi=0;const en=M.steps.map(va=>{const Nr=this._makeStyleAst(va,_);let Yr=null!=Nr.offset?Nr.offset:function hn(F){if("string"==typeof F)return null;let M=null;if(Array.isArray(F))F.forEach(_=>{if(_ instanceof Map&&_.has("offset")){const Z=_;M=parseFloat(Z.get("offset")),Z.delete("offset")}});else if(F instanceof Map&&F.has("offset")){const _=F;M=parseFloat(_.get("offset")),_.delete("offset")}return M}(Nr.styles),Fr=0;return null!=Yr&&(xt++,Fr=Nr.offset=Yr),ci=ci||Fr<0||Fr>1,Xt=Xt||Fr<Mi,Mi=Fr,Ut.push(Fr),Nr});ci&&_.errors.push(function $(){return new e.vHH(3012,!1)}()),Xt&&_.errors.push(function ie(){return new e.vHH(3200,!1)}());const Bi=M.steps.length;let kn=0;xt>0&&xt<Bi?_.errors.push(function ue(){return new e.vHH(3202,!1)}()):0==xt&&(kn=1/(Bi-1));const On=Bi-1,dn=_.currentTime,Sn=_.currentAnimateTimings,na=Sn.duration;return en.forEach((va,Nr)=>{const Yr=kn>0?Nr==On?1:kn*Nr:Ut[Nr],Fr=Yr*na;_.currentTime=dn+Sn.delay+Fr,Sn.duration=Fr,this._validateStyleAst(va,_),va.offset=Yr,Z.styles.push(va)}),Z}visitReference(M,_){return{type:8,animation:yi(this,$t(M.animation),_),options:ga(M.options)}}visitAnimateChild(M,_){return _.depCount++,{type:9,options:ga(M.options)}}visitAnimateRef(M,_){return{type:10,animation:this.visitReference(M.animation,_),options:ga(M.options)}}visitQuery(M,_){const Z=_.currentQuerySelector,_e=M.options||{};_.queryCount++,_.currentQuery=M;const[xt,Ut]=function Xi(F){const M=!!F.split(/\s*,\s*/).find(_=>":self"==_);return M&&(F=F.replace(ct,"")),F=F.replace(/@\*/g,Qe).replace(/@\w+/g,_=>Qe+"-"+_.slice(1)).replace(/:animating/g,Et),[F,M]}(M.selector);_.currentQuerySelector=Z.length?Z+" "+xt:xt,oe(_.collectedStyles,_.currentQuerySelector,new Map);const Xt=yi(this,$t(M.animation),_);return _.currentQuery=null,_.currentQuerySelector=Z,{type:11,selector:xt,limit:_e.limit||0,optional:!!_e.optional,includeSelf:Ut,animation:Xt,originalSelector:M.selector,options:ga(M.options)}}visitStagger(M,_){_.currentQuery||_.errors.push(function he(){return new e.vHH(3013,!1)}());const Z="full"===M.timings?{duration:0,delay:0,easing:"full"}:we(M.timings,_.errors,!0);return{type:12,animation:yi(this,$t(M.animation),_),timings:Z,options:null}}}class pa{constructor(M){this.errors=M,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 ga(F){return F?(F=be(F)).params&&(F.params=function Rn(F){return F?be(F):null}(F.params)):F={},F}function ka(F,M,_){return{duration:F,delay:M,easing:_}}function Di(F,M,_,Z,_e,xt,Ut=null,Xt=!1){return{type:1,element:F,keyframes:M,preStyleProps:_,postStyleProps:Z,duration:_e,delay:xt,totalTime:_e+xt,easing:Ut,subTimeline:Xt}}class Hi{constructor(){this._map=new Map}get(M){return this._map.get(M)||[]}append(M,_){let Z=this._map.get(M);Z||this._map.set(M,Z=[]),Z.push(..._)}has(M){return this._map.has(M)}clear(){this._map.clear()}}const fi=new RegExp(":enter","g"),mi=new RegExp(":leave","g");function ki(F,M,_,Z,_e,xt=new Map,Ut=new Map,Xt,ci,Mi=[]){return(new Vi).buildKeyframes(F,M,_,Z,_e,xt,Ut,Xt,ci,Mi)}class Vi{buildKeyframes(M,_,Z,_e,xt,Ut,Xt,ci,Mi,en=[]){Mi=Mi||new Hi;const Bi=new Un(M,_,Mi,_e,xt,en,[]);Bi.options=ci;const kn=ci.delay?It(ci.delay):0;Bi.currentTimeline.delayNextStep(kn),Bi.currentTimeline.setStyles([Ut],null,Bi.errors,ci),yi(this,Z,Bi);const On=Bi.timelines.filter(dn=>dn.containsAnimation());if(On.length&&Xt.size){let dn;for(let Sn=On.length-1;Sn>=0;Sn--){const na=On[Sn];if(na.element===_){dn=na;break}}dn&&!dn.allowOnlyTimelineStyles()&&dn.setStyles([Xt],null,Bi.errors,ci)}return On.length?On.map(dn=>dn.buildKeyframes()):[Di(_,[],[],[],0,kn,"",!1)]}visitTrigger(M,_){}visitState(M,_){}visitTransition(M,_){}visitAnimateChild(M,_){const Z=_.subInstructions.get(_.element);if(Z){const _e=_.createSubContext(M.options),xt=_.currentTimeline.currentTime,Ut=this._visitSubInstructions(Z,_e,_e.options);xt!=Ut&&_.transformIntoNewTimeline(Ut)}_.previousNode=M}visitAnimateRef(M,_){const Z=_.createSubContext(M.options);Z.transformIntoNewTimeline(),this._applyAnimationRefDelays([M.options,M.animation.options],_,Z),this.visitReference(M.animation,Z),_.transformIntoNewTimeline(Z.currentTimeline.currentTime),_.previousNode=M}_applyAnimationRefDelays(M,_,Z){for(const _e of M){const xt=_e?.delay;if(xt){const Ut="number"==typeof xt?xt:It(Pe(xt,_e?.params??{},_.errors));Z.delayNextStep(Ut)}}}_visitSubInstructions(M,_,Z){let xt=_.currentTimeline.currentTime;const Ut=null!=Z.duration?It(Z.duration):null,Xt=null!=Z.delay?It(Z.delay):null;return 0!==Ut&&M.forEach(ci=>{const Mi=_.appendInstructionToTimeline(ci,Ut,Xt);xt=Math.max(xt,Mi.duration+Mi.delay)}),xt}visitReference(M,_){_.updateOptions(M.options,!0),yi(this,M.animation,_),_.previousNode=M}visitSequence(M,_){const Z=_.subContextCount;let _e=_;const xt=M.options;if(xt&&(xt.params||xt.delay)&&(_e=_.createSubContext(xt),_e.transformIntoNewTimeline(),null!=xt.delay)){6==_e.previousNode.type&&(_e.currentTimeline.snapshotCurrentStyles(),_e.previousNode=fn);const Ut=It(xt.delay);_e.delayNextStep(Ut)}M.steps.length&&(M.steps.forEach(Ut=>yi(this,Ut,_e)),_e.currentTimeline.applyStylesToKeyframe(),_e.subContextCount>Z&&_e.transformIntoNewTimeline()),_.previousNode=M}visitGroup(M,_){const Z=[];let _e=_.currentTimeline.currentTime;const xt=M.options&&M.options.delay?It(M.options.delay):0;M.steps.forEach(Ut=>{const Xt=_.createSubContext(M.options);xt&&Xt.delayNextStep(xt),yi(this,Ut,Xt),_e=Math.max(_e,Xt.currentTimeline.currentTime),Z.push(Xt.currentTimeline)}),Z.forEach(Ut=>_.currentTimeline.mergeTimelineCollectedStyles(Ut)),_.transformIntoNewTimeline(_e),_.previousNode=M}_visitTiming(M,_){if(M.dynamic){const Z=M.strValue;return we(_.params?Pe(Z,_.params,_.errors):Z,_.errors)}return{duration:M.duration,delay:M.delay,easing:M.easing}}visitAnimate(M,_){const Z=_.currentAnimateTimings=this._visitTiming(M.timings,_),_e=_.currentTimeline;Z.delay&&(_.incrementTime(Z.delay),_e.snapshotCurrentStyles());const xt=M.style;5==xt.type?this.visitKeyframes(xt,_):(_.incrementTime(Z.duration),this.visitStyle(xt,_),_e.applyStylesToKeyframe()),_.currentAnimateTimings=null,_.previousNode=M}visitStyle(M,_){const Z=_.currentTimeline,_e=_.currentAnimateTimings;!_e&&Z.hasCurrentStyleProperties()&&Z.forwardFrame();const xt=_e&&_e.easing||M.easing;M.isEmptyStep?Z.applyEmptyStep(xt):Z.setStyles(M.styles,xt,_.errors,_.options),_.previousNode=M}visitKeyframes(M,_){const Z=_.currentAnimateTimings,_e=_.currentTimeline.duration,xt=Z.duration,Xt=_.createSubContext().currentTimeline;Xt.easing=Z.easing,M.styles.forEach(ci=>{Xt.forwardTime((ci.offset||0)*xt),Xt.setStyles(ci.styles,ci.easing,_.errors,_.options),Xt.applyStylesToKeyframe()}),_.currentTimeline.mergeTimelineCollectedStyles(Xt),_.transformIntoNewTimeline(_e+xt),_.previousNode=M}visitQuery(M,_){const Z=_.currentTimeline.currentTime,_e=M.options||{},xt=_e.delay?It(_e.delay):0;xt&&(6===_.previousNode.type||0==Z&&_.currentTimeline.hasCurrentStyleProperties())&&(_.currentTimeline.snapshotCurrentStyles(),_.previousNode=fn);let Ut=Z;const Xt=_.invokeQuery(M.selector,M.originalSelector,M.limit,M.includeSelf,!!_e.optional,_.errors);_.currentQueryTotal=Xt.length;let ci=null;Xt.forEach((Mi,en)=>{_.currentQueryIndex=en;const Bi=_.createSubContext(M.options,Mi);xt&&Bi.delayNextStep(xt),Mi===_.element&&(ci=Bi.currentTimeline),yi(this,M.animation,Bi),Bi.currentTimeline.applyStylesToKeyframe(),Ut=Math.max(Ut,Bi.currentTimeline.currentTime)}),_.currentQueryIndex=0,_.currentQueryTotal=0,_.transformIntoNewTimeline(Ut),ci&&(_.currentTimeline.mergeTimelineCollectedStyles(ci),_.currentTimeline.snapshotCurrentStyles()),_.previousNode=M}visitStagger(M,_){const Z=_.parentContext,_e=_.currentTimeline,xt=M.timings,Ut=Math.abs(xt.duration),Xt=Ut*(_.currentQueryTotal-1);let ci=Ut*_.currentQueryIndex;switch(xt.duration<0?"reverse":xt.easing){case"reverse":ci=Xt-ci;break;case"full":ci=Z.currentStaggerTime}const en=_.currentTimeline;ci&&en.delayNextStep(ci);const Bi=en.currentTime;yi(this,M.animation,_),_.previousNode=M,Z.currentStaggerTime=_e.currentTime-Bi+(_e.startTime-Z.currentTimeline.startTime)}}const fn={};class Un{constructor(M,_,Z,_e,xt,Ut,Xt,ci){this._driver=M,this.element=_,this.subInstructions=Z,this._enterClassName=_e,this._leaveClassName=xt,this.errors=Ut,this.timelines=Xt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=fn,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=ci||new Bn(this._driver,_,0),Xt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(M,_){if(!M)return;const Z=M;let _e=this.options;null!=Z.duration&&(_e.duration=It(Z.duration)),null!=Z.delay&&(_e.delay=It(Z.delay));const xt=Z.params;if(xt){let Ut=_e.params;Ut||(Ut=this.options.params={}),Object.keys(xt).forEach(Xt=>{(!_||!Ut.hasOwnProperty(Xt))&&(Ut[Xt]=Pe(xt[Xt],Ut,this.errors))})}}_copyOptions(){const M={};if(this.options){const _=this.options.params;if(_){const Z=M.params={};Object.keys(_).forEach(_e=>{Z[_e]=_[_e]})}}return M}createSubContext(M=null,_,Z){const _e=_||this.element,xt=new Un(this._driver,_e,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(_e,Z||0));return xt.previousNode=this.previousNode,xt.currentAnimateTimings=this.currentAnimateTimings,xt.options=this._copyOptions(),xt.updateOptions(M),xt.currentQueryIndex=this.currentQueryIndex,xt.currentQueryTotal=this.currentQueryTotal,xt.parentContext=this,this.subContextCount++,xt}transformIntoNewTimeline(M){return this.previousNode=fn,this.currentTimeline=this.currentTimeline.fork(this.element,M),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(M,_,Z){const _e={duration:_??M.duration,delay:this.currentTimeline.currentTime+(Z??0)+M.delay,easing:""},xt=new _a(this._driver,M.element,M.keyframes,M.preStyleProps,M.postStyleProps,_e,M.stretchStartingKeyframe);return this.timelines.push(xt),_e}incrementTime(M){this.currentTimeline.forwardTime(this.currentTimeline.duration+M)}delayNextStep(M){M>0&&this.currentTimeline.delayNextStep(M)}invokeQuery(M,_,Z,_e,xt,Ut){let Xt=[];if(_e&&Xt.push(this.element),M.length>0){M=(M=M.replace(fi,"."+this._enterClassName)).replace(mi,"."+this._leaveClassName);let Mi=this._driver.query(this.element,M,1!=Z);0!==Z&&(Mi=Z<0?Mi.slice(Mi.length+Z,Mi.length):Mi.slice(0,Z)),Xt.push(...Mi)}return!xt&&0==Xt.length&&Ut.push(function ne(F){return new e.vHH(3014,!1)}()),Xt}}class Bn{constructor(M,_,Z,_e){this._driver=M,this.element=_,this.startTime=Z,this._elementTimelineStylesLookup=_e,this.duration=0,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(_),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(_,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(M){const _=1===this._keyframes.size&&this._pendingStyles.size;this.duration||_?(this.forwardTime(this.currentTime+M),_&&this.snapshotCurrentStyles()):this.startTime+=M}fork(M,_){return this.applyStylesToKeyframe(),new Bn(this._driver,M,_||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(M){this.applyStylesToKeyframe(),this.duration=M,this._loadKeyframe()}_updateStyle(M,_){this._localTimelineStyles.set(M,_),this._globalTimelineStyles.set(M,_),this._styleSummary.set(M,{time:this.currentTime,value:_})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(M){M&&this._previousKeyframe.set("easing",M);for(let[_,Z]of this._globalTimelineStyles)this._backFill.set(_,Z||b.l3),this._currentKeyframe.set(_,b.l3);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(M,_,Z,_e){_&&this._previousKeyframe.set("easing",_);const xt=_e&&_e.params||{},Ut=function Hn(F,M){const _=new Map;let Z;return F.forEach(_e=>{if("*"===_e){Z=Z||M.keys();for(let xt of Z)_.set(xt,b.l3)}else Bt(_e,_)}),_}(M,this._globalTimelineStyles);for(let[Xt,ci]of Ut){const Mi=Pe(ci,xt,Z);this._pendingStyles.set(Xt,Mi),this._localTimelineStyles.has(Xt)||this._backFill.set(Xt,this._globalTimelineStyles.get(Xt)??b.l3),this._updateStyle(Xt,Mi)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((M,_)=>{this._currentKeyframe.set(_,M)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((M,_)=>{this._currentKeyframe.has(_)||this._currentKeyframe.set(_,M)}))}snapshotCurrentStyles(){for(let[M,_]of this._localTimelineStyles)this._pendingStyles.set(M,_),this._updateStyle(M,_)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const M=[];for(let _ in this._currentKeyframe)M.push(_);return M}mergeTimelineCollectedStyles(M){M._styleSummary.forEach((_,Z)=>{const _e=this._styleSummary.get(Z);(!_e||_.time>_e.time)&&this._updateStyle(Z,_.value)})}buildKeyframes(){this.applyStylesToKeyframe();const M=new Set,_=new Set,Z=1===this._keyframes.size&&0===this.duration;let _e=[];this._keyframes.forEach((Xt,ci)=>{const Mi=Bt(Xt,new Map,this._backFill);Mi.forEach((en,Bi)=>{en===b.k1?M.add(Bi):en===b.l3&&_.add(Bi)}),Z||Mi.set("offset",ci/this.duration),_e.push(Mi)});const xt=M.size?it(M.values()):[],Ut=_.size?it(_.values()):[];if(Z){const Xt=_e[0],ci=new Map(Xt);Xt.set("offset",0),ci.set("offset",1),_e=[Xt,ci]}return Di(this.element,_e,xt,Ut,this.duration,this.startTime,this.easing,!1)}}class _a extends Bn{constructor(M,_,Z,_e,xt,Ut,Xt=!1){super(M,_,Ut.delay),this.keyframes=Z,this.preStyleProps=_e,this.postStyleProps=xt,this._stretchStartingKeyframe=Xt,this.timings={duration:Ut.duration,delay:Ut.delay,easing:Ut.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let M=this.keyframes,{delay:_,duration:Z,easing:_e}=this.timings;if(this._stretchStartingKeyframe&&_){const xt=[],Ut=Z+_,Xt=_/Ut,ci=Bt(M[0]);ci.set("offset",0),xt.push(ci);const Mi=Bt(M[0]);Mi.set("offset",Dn(Xt)),xt.push(Mi);const en=M.length-1;for(let Bi=1;Bi<=en;Bi++){let kn=Bt(M[Bi]);const On=kn.get("offset");kn.set("offset",Dn((_+On*Z)/Ut)),xt.push(kn)}Z=Ut,_=0,_e="",M=xt}return Di(this.element,M,this.preStyleProps,this.postStyleProps,Z,_,_e,!0)}}function Dn(F,M=3){const _=Math.pow(10,M-1);return Math.round(F*_)/_}class zn{}const Lr=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 Sr extends zn{normalizePropertyName(M,_){return ht(M)}normalizeStyleValue(M,_,Z,_e){let xt="";const Ut=Z.toString().trim();if(Lr.has(_)&&0!==Z&&"0"!==Z)if("number"==typeof Z)xt="px";else{const Xt=Z.match(/^[+-]?[\d\.]+([a-z]*)$/);Xt&&0==Xt[1].length&&_e.push(function w(F,M){return new e.vHH(3005,!1)}())}return Ut+xt}}function tr(F,M,_,Z,_e,xt,Ut,Xt,ci,Mi,en,Bi,kn){return{type:0,element:F,triggerName:M,isRemovalTransition:_e,fromState:_,fromStyles:xt,toState:Z,toStyles:Ut,timelines:Xt,queriedElements:ci,preStyleProps:Mi,postStyleProps:en,totalTime:Bi,errors:kn}}const Kn={};class Ga{constructor(M,_,Z){this._triggerName=M,this.ast=_,this._stateStyles=Z}match(M,_,Z,_e){return function Kr(F,M,_,Z,_e){return F.some(xt=>xt(M,_,Z,_e))}(this.ast.matchers,M,_,Z,_e)}buildStyles(M,_,Z){let _e=this._stateStyles.get("*");return void 0!==M&&(_e=this._stateStyles.get(M?.toString())||_e),_e?_e.buildStyles(_,Z):new Map}build(M,_,Z,_e,xt,Ut,Xt,ci,Mi,en){const Bi=[],kn=this.ast.options&&this.ast.options.params||Kn,dn=this.buildStyles(Z,Xt&&Xt.params||Kn,Bi),Sn=ci&&ci.params||Kn,na=this.buildStyles(_e,Sn,Bi),va=new Set,Nr=new Map,Yr=new Map,Fr="void"===_e,Nc={params:Er(Sn,kn),delay:this.ast.options?.delay},vs=en?[]:ki(M,_,this.ast.animation,xt,Ut,dn,na,Nc,Mi,Bi);let Cr=0;if(vs.forEach(is=>{Cr=Math.max(is.duration+is.delay,Cr)}),Bi.length)return tr(_,this._triggerName,Z,_e,Fr,dn,na,[],[],Nr,Yr,Cr,Bi);vs.forEach(is=>{const Ws=is.element,Wh=oe(Nr,Ws,new Set);is.preStyleProps.forEach(fc=>Wh.add(fc));const bs=oe(Yr,Ws,new Set);is.postStyleProps.forEach(fc=>bs.add(fc)),Ws!==_&&va.add(Ws)});const Fc=it(va.values());return tr(_,this._triggerName,Z,_e,Fr,dn,na,vs,Fc,Nr,Yr,Cr)}}function Er(F,M){const _=be(M);for(const Z in F)F.hasOwnProperty(Z)&&null!=F[Z]&&(_[Z]=F[Z]);return _}class Qr{constructor(M,_,Z){this.styles=M,this.defaultParams=_,this.normalizer=Z}buildStyles(M,_){const Z=new Map,_e=be(this.defaultParams);return Object.keys(M).forEach(xt=>{const Ut=M[xt];null!==Ut&&(_e[xt]=Ut)}),this.styles.styles.forEach(xt=>{"string"!=typeof xt&&xt.forEach((Ut,Xt)=>{Ut&&(Ut=Pe(Ut,_e,_));const ci=this.normalizer.normalizePropertyName(Xt,_);Ut=this.normalizer.normalizeStyleValue(Xt,ci,Ut,_),Z.set(Xt,Ut)})}),Z}}class Ma{constructor(M,_,Z){this.name=M,this.ast=_,this._normalizer=Z,this.transitionFactories=[],this.states=new Map,_.states.forEach(_e=>{this.states.set(_e.name,new Qr(_e.style,_e.options&&_e.options.params||{},Z))}),Za(this.states,"true","1"),Za(this.states,"false","0"),_.transitions.forEach(_e=>{this.transitionFactories.push(new Ga(M,_e,this.states))}),this.fallbackTransition=function Mo(F,M,_){return new Ga(F,{type:1,animation:{type:2,steps:[],options:null},matchers:[(Ut,Xt)=>!0],options:null,queryCount:0,depCount:0},M)}(M,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(M,_,Z,_e){return this.transitionFactories.find(Ut=>Ut.match(M,_,Z,_e))||null}matchStyles(M,_,Z){return this.fallbackTransition.buildStyles(M,_,Z)}}function Za(F,M,_){F.has(M)?F.has(_)||F.set(_,F.get(M)):F.has(_)&&F.set(M,F.get(_))}const qr=new Hi;class so{constructor(M,_,Z){this.bodyNode=M,this._driver=_,this._normalizer=Z,this._animations=new Map,this._playersById=new Map,this.players=[]}register(M,_){const Z=[],xt=Je(this._driver,_,Z,[]);if(Z.length)throw function u(F){return new e.vHH(3503,!1)}();this._animations.set(M,xt)}_buildPlayer(M,_,Z){const _e=M.element,xt=Le(0,this._normalizer,0,M.keyframes,_,Z);return this._driver.animate(_e,xt,M.duration,M.delay,M.easing,[],!0)}create(M,_,Z={}){const _e=[],xt=this._animations.get(M);let Ut;const Xt=new Map;if(xt?(Ut=ki(this._driver,_,xt,Fe,Ft,new Map,new Map,Z,qr,_e),Ut.forEach(en=>{const Bi=oe(Xt,en.element,new Map);en.postStyleProps.forEach(kn=>Bi.set(kn,null))})):(_e.push(function l(){return new e.vHH(3300,!1)}()),Ut=[]),_e.length)throw function y(F){return new e.vHH(3504,!1)}();Xt.forEach((en,Bi)=>{en.forEach((kn,On)=>{en.set(On,this._driver.computeStyle(Bi,On,b.l3))})});const Mi=ze(Ut.map(en=>{const Bi=Xt.get(en.element);return this._buildPlayer(en,new Map,Bi)}));return this._playersById.set(M,Mi),Mi.onDestroy(()=>this.destroy(M)),this.players.push(Mi),Mi}destroy(M){const _=this._getPlayer(M);_.destroy(),this._playersById.delete(M);const Z=this.players.indexOf(_);Z>=0&&this.players.splice(Z,1)}_getPlayer(M){const _=this._playersById.get(M);if(!_)throw function T(F){return new e.vHH(3301,!1)}();return _}listen(M,_,Z,_e){const xt=ve(_,"","","");return ye(this._getPlayer(M),Z,xt,_e),()=>{}}command(M,_,Z,_e){if("register"==Z)return void this.register(M,_e[0]);if("create"==Z)return void this.create(M,_,_e[0]||{});const xt=this._getPlayer(M);switch(Z){case"play":xt.play();break;case"pause":xt.pause();break;case"reset":xt.reset();break;case"restart":xt.restart();break;case"finish":xt.finish();break;case"init":xt.init();break;case"setPosition":xt.setPosition(parseFloat(_e[0]));break;case"destroy":this.destroy(M)}}}const co="ng-animate-queued",Gr="ng-animate-disabled",fo=[],ir={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},pr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ra="__ng_removed";class Ya{get params(){return this.options.params}constructor(M,_=""){this.namespaceId=_;const Z=M&&M.hasOwnProperty("value");if(this.value=function Xr(F){return F??null}(Z?M.value:M),Z){const xt=be(M);delete xt.value,this.options=xt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(M){const _=M.params;if(_){const Z=this.options.params;Object.keys(_).forEach(_e=>{null==Z[_e]&&(Z[_e]=_[_e])})}}}const Ir="void",kr=new Ya(Ir);class gr{constructor(M,_,Z){this.id=M,this.hostElement=_,this._engine=Z,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+M,Qn(_,this._hostClassName)}listen(M,_,Z,_e){if(!this._triggers.has(_))throw function D(F,M){return new e.vHH(3302,!1)}();if(null==Z||0==Z.length)throw function m(F){return new e.vHH(3303,!1)}();if(!function po(F){return"start"==F||"done"==F}(Z))throw function n(F,M){return new e.vHH(3400,!1)}();const xt=oe(this._elementListeners,M,[]),Ut={name:_,phase:Z,callback:_e};xt.push(Ut);const Xt=oe(this._engine.statesByElement,M,new Map);return Xt.has(_)||(Qn(M,qe),Qn(M,qe+"-"+_),Xt.set(_,kr)),()=>{this._engine.afterFlush(()=>{const ci=xt.indexOf(Ut);ci>=0&&xt.splice(ci,1),this._triggers.has(_)||Xt.delete(_)})}}register(M,_){return!this._triggers.has(M)&&(this._triggers.set(M,_),!0)}_getTrigger(M){const _=this._triggers.get(M);if(!_)throw function v(F){return new e.vHH(3401,!1)}();return _}trigger(M,_,Z,_e=!0){const xt=this._getTrigger(_),Ut=new Pa(this.id,_,M);let Xt=this._engine.statesByElement.get(M);Xt||(Qn(M,qe),Qn(M,qe+"-"+_),this._engine.statesByElement.set(M,Xt=new Map));let ci=Xt.get(_);const Mi=new Ya(Z,this.id);if(!(Z&&Z.hasOwnProperty("value"))&&ci&&Mi.absorbOptions(ci.options),Xt.set(_,Mi),ci||(ci=kr),Mi.value!==Ir&&ci.value===Mi.value){if(!function Ka(F,M){const _=Object.keys(F),Z=Object.keys(M);if(_.length!=Z.length)return!1;for(let _e=0;_e<_.length;_e++){const xt=_[_e];if(!M.hasOwnProperty(xt)||F[xt]!==M[xt])return!1}return!0}(ci.params,Mi.params)){const Sn=[],na=xt.matchStyles(ci.value,ci.params,Sn),va=xt.matchStyles(Mi.value,Mi.params,Sn);Sn.length?this._engine.reportError(Sn):this._engine.afterFlush(()=>{yt(M,na),nt(M,va)})}return}const kn=oe(this._engine.playersByElement,M,[]);kn.forEach(Sn=>{Sn.namespaceId==this.id&&Sn.triggerName==_&&Sn.queued&&Sn.destroy()});let On=xt.matchTransition(ci.value,Mi.value,M,Mi.params),dn=!1;if(!On){if(!_e)return;On=xt.fallbackTransition,dn=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:_,transition:On,fromState:ci,toState:Mi,player:Ut,isFallbackTransition:dn}),dn||(Qn(M,co),Ut.onStart(()=>{Yn(M,co)})),Ut.onDone(()=>{let Sn=this.players.indexOf(Ut);Sn>=0&&this.players.splice(Sn,1);const na=this._engine.playersByElement.get(M);if(na){let va=na.indexOf(Ut);va>=0&&na.splice(va,1)}}),this.players.push(Ut),kn.push(Ut),Ut}deregister(M){this._triggers.delete(M),this._engine.statesByElement.forEach(_=>_.delete(M)),this._elementListeners.forEach((_,Z)=>{this._elementListeners.set(Z,_.filter(_e=>_e.name!=M))})}clearElementCache(M){this._engine.statesByElement.delete(M),this._elementListeners.delete(M);const _=this._engine.playersByElement.get(M);_&&(_.forEach(Z=>Z.destroy()),this._engine.playersByElement.delete(M))}_signalRemovalForInnerTriggers(M,_){const Z=this._engine.driver.query(M,Qe,!0);Z.forEach(_e=>{if(_e[ra])return;const xt=this._engine.fetchNamespacesByElement(_e);xt.size?xt.forEach(Ut=>Ut.triggerLeaveAnimation(_e,_,!1,!0)):this.clearElementCache(_e)}),this._engine.afterFlushAnimationsDone(()=>Z.forEach(_e=>this.clearElementCache(_e)))}triggerLeaveAnimation(M,_,Z,_e){const xt=this._engine.statesByElement.get(M),Ut=new Map;if(xt){const Xt=[];if(xt.forEach((ci,Mi)=>{if(Ut.set(Mi,ci.value),this._triggers.has(Mi)){const en=this.trigger(M,Mi,Ir,_e);en&&Xt.push(en)}}),Xt.length)return this._engine.markElementAsRemoved(this.id,M,!0,_,Ut),Z&&ze(Xt).onDone(()=>this._engine.processLeaveNode(M)),!0}return!1}prepareLeaveAnimationListeners(M){const _=this._elementListeners.get(M),Z=this._engine.statesByElement.get(M);if(_&&Z){const _e=new Set;_.forEach(xt=>{const Ut=xt.name;if(_e.has(Ut))return;_e.add(Ut);const ci=this._triggers.get(Ut).fallbackTransition,Mi=Z.get(Ut)||kr,en=new Ya(Ir),Bi=new Pa(this.id,Ut,M);this._engine.totalQueuedPlayers++,this._queue.push({element:M,triggerName:Ut,transition:ci,fromState:Mi,toState:en,player:Bi,isFallbackTransition:!0})})}}removeNode(M,_){const Z=this._engine;if(M.childElementCount&&this._signalRemovalForInnerTriggers(M,_),this.triggerLeaveAnimation(M,_,!0))return;let _e=!1;if(Z.totalAnimations){const xt=Z.players.length?Z.playersByQueriedElement.get(M):[];if(xt&&xt.length)_e=!0;else{let Ut=M;for(;Ut=Ut.parentNode;)if(Z.statesByElement.get(Ut)){_e=!0;break}}}if(this.prepareLeaveAnimationListeners(M),_e)Z.markElementAsRemoved(this.id,M,!1,_);else{const xt=M[ra];(!xt||xt===ir)&&(Z.afterFlush(()=>this.clearElementCache(M)),Z.destroyInnerAnimations(M),Z._onRemovalComplete(M,_))}}insertNode(M,_){Qn(M,this._hostClassName)}drainQueuedTransitions(M){const _=[];return this._queue.forEach(Z=>{const _e=Z.player;if(_e.destroyed)return;const xt=Z.element,Ut=this._elementListeners.get(xt);Ut&&Ut.forEach(Xt=>{if(Xt.name==Z.triggerName){const ci=ve(xt,Z.triggerName,Z.fromState.value,Z.toState.value);ci._data=M,ye(Z.player,Xt.phase,ci,Xt.callback)}}),_e.markedForDestroy?this._engine.afterFlush(()=>{_e.destroy()}):_.push(Z)}),this._queue=[],_.sort((Z,_e)=>{const xt=Z.transition.ast.depCount,Ut=_e.transition.ast.depCount;return 0==xt||0==Ut?xt-Ut:this._engine.driver.containsElement(Z.element,_e.element)?1:-1})}destroy(M){this.players.forEach(_=>_.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,M)}elementContainsData(M){let _=!1;return this._elementListeners.has(M)&&(_=!0),_=!!this._queue.find(Z=>Z.element===M)||_,_}}class mo{_onRemovalComplete(M,_){this.onRemovalComplete(M,_)}constructor(M,_,Z){this.bodyNode=M,this.driver=_,this._normalizer=Z,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=(_e,xt)=>{}}get queuedPlayers(){const M=[];return this._namespaceList.forEach(_=>{_.players.forEach(Z=>{Z.queued&&M.push(Z)})}),M}createNamespace(M,_){const Z=new gr(M,_,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,_)?this._balanceNamespaceList(Z,_):(this.newHostElements.set(_,Z),this.collectEnterElement(_)),this._namespaceLookup[M]=Z}_balanceNamespaceList(M,_){const Z=this._namespaceList,_e=this.namespacesByHostElement;if(Z.length-1>=0){let Ut=!1,Xt=this.driver.getParentElement(_);for(;Xt;){const ci=_e.get(Xt);if(ci){const Mi=Z.indexOf(ci);Z.splice(Mi+1,0,M),Ut=!0;break}Xt=this.driver.getParentElement(Xt)}Ut||Z.unshift(M)}else Z.push(M);return _e.set(_,M),M}register(M,_){let Z=this._namespaceLookup[M];return Z||(Z=this.createNamespace(M,_)),Z}registerTrigger(M,_,Z){let _e=this._namespaceLookup[M];_e&&_e.register(_,Z)&&this.totalAnimations++}destroy(M,_){if(!M)return;const Z=this._fetchNamespace(M);this.afterFlush(()=>{this.namespacesByHostElement.delete(Z.hostElement),delete this._namespaceLookup[M];const _e=this._namespaceList.indexOf(Z);_e>=0&&this._namespaceList.splice(_e,1)}),this.afterFlushAnimationsDone(()=>Z.destroy(_))}_fetchNamespace(M){return this._namespaceLookup[M]}fetchNamespacesByElement(M){const _=new Set,Z=this.statesByElement.get(M);if(Z)for(let _e of Z.values())if(_e.namespaceId){const xt=this._fetchNamespace(_e.namespaceId);xt&&_.add(xt)}return _}trigger(M,_,Z,_e){if(nr(_)){const xt=this._fetchNamespace(M);if(xt)return xt.trigger(_,Z,_e),!0}return!1}insertNode(M,_,Z,_e){if(!nr(_))return;const xt=_[ra];if(xt&&xt.setForRemoval){xt.setForRemoval=!1,xt.setForMove=!0;const Ut=this.collectedLeaveElements.indexOf(_);Ut>=0&&this.collectedLeaveElements.splice(Ut,1)}if(M){const Ut=this._fetchNamespace(M);Ut&&Ut.insertNode(_,Z)}_e&&this.collectEnterElement(_)}collectEnterElement(M){this.collectedEnterElements.push(M)}markElementAsDisabled(M,_){_?this.disabledNodes.has(M)||(this.disabledNodes.add(M),Qn(M,Gr)):this.disabledNodes.has(M)&&(this.disabledNodes.delete(M),Yn(M,Gr))}removeNode(M,_,Z,_e){if(nr(_)){const xt=M?this._fetchNamespace(M):null;if(xt?xt.removeNode(_,_e):this.markElementAsRemoved(M,_,!1,_e),Z){const Ut=this.namespacesByHostElement.get(_);Ut&&Ut.id!==M&&Ut.removeNode(_,_e)}}else this._onRemovalComplete(_,_e)}markElementAsRemoved(M,_,Z,_e,xt){this.collectedLeaveElements.push(_),_[ra]={namespaceId:M,setForRemoval:_e,hasAnimation:Z,removedBeforeQueried:!1,previousTriggersValues:xt}}listen(M,_,Z,_e,xt){return nr(_)?this._fetchNamespace(M).listen(_,Z,_e,xt):()=>{}}_buildInstruction(M,_,Z,_e,xt){return M.transition.build(this.driver,M.element,M.fromState.value,M.toState.value,Z,_e,M.fromState.options,M.toState.options,_,xt)}destroyInnerAnimations(M){let _=this.driver.query(M,Qe,!0);_.forEach(Z=>this.destroyActiveAnimationsForElement(Z)),0!=this.playersByQueriedElement.size&&(_=this.driver.query(M,Et,!0),_.forEach(Z=>this.finishActiveQueriedAnimationOnElement(Z)))}destroyActiveAnimationsForElement(M){const _=this.playersByElement.get(M);_&&_.forEach(Z=>{Z.queued?Z.markedForDestroy=!0:Z.destroy()})}finishActiveQueriedAnimationOnElement(M){const _=this.playersByQueriedElement.get(M);_&&_.forEach(Z=>Z.finish())}whenRenderingDone(){return new Promise(M=>{if(this.players.length)return ze(this.players).onDone(()=>M());M()})}processLeaveNode(M){const _=M[ra];if(_&&_.setForRemoval){if(M[ra]=ir,_.namespaceId){this.destroyInnerAnimations(M);const Z=this._fetchNamespace(_.namespaceId);Z&&Z.clearElementCache(M)}this._onRemovalComplete(M,_.setForRemoval)}M.classList?.contains(Gr)&&this.markElementAsDisabled(M,!1),this.driver.query(M,".ng-animate-disabled",!0).forEach(Z=>{this.markElementAsDisabled(Z,!1)})}flush(M=-1){let _=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Z,_e)=>this._balanceNamespaceList(Z,_e)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Z=0;Z<this.collectedEnterElements.length;Z++)Qn(this.collectedEnterElements[Z],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const Z=[];try{_=this._flushAnimations(Z,M)}finally{for(let _e=0;_e<Z.length;_e++)Z[_e]()}}else for(let Z=0;Z<this.collectedLeaveElements.length;Z++)this.processLeaveNode(this.collectedLeaveElements[Z]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(Z=>Z()),this._flushFns=[],this._whenQuietFns.length){const Z=this._whenQuietFns;this._whenQuietFns=[],_.length?ze(_).onDone(()=>{Z.forEach(_e=>_e())}):Z.forEach(_e=>_e())}}reportError(M){throw function B(F){return new e.vHH(3402,!1)}()}_flushAnimations(M,_){const Z=new Hi,_e=[],xt=new Map,Ut=[],Xt=new Map,ci=new Map,Mi=new Map,en=new Set;this.disabledNodes.forEach(mn=>{en.add(mn);const Cn=this.driver.query(mn,".ng-animate-queued",!0);for(let En=0;En<Cn.length;En++)en.add(Cn[En])});const Bi=this.bodyNode,kn=Array.from(this.statesByElement.keys()),On=Or(kn,this.collectedEnterElements),dn=new Map;let Sn=0;On.forEach((mn,Cn)=>{const En=Fe+Sn++;dn.set(Cn,En),mn.forEach(Xn=>Qn(Xn,En))});const na=[],va=new Set,Nr=new Set;for(let mn=0;mn<this.collectedLeaveElements.length;mn++){const Cn=this.collectedLeaveElements[mn],En=Cn[ra];En&&En.setForRemoval&&(na.push(Cn),va.add(Cn),En.hasAnimation?this.driver.query(Cn,".ng-star-inserted",!0).forEach(Xn=>va.add(Xn)):Nr.add(Cn))}const Yr=new Map,Fr=Or(kn,Array.from(va));Fr.forEach((mn,Cn)=>{const En=Ft+Sn++;Yr.set(Cn,En),mn.forEach(Xn=>Qn(Xn,En))}),M.push(()=>{On.forEach((mn,Cn)=>{const En=dn.get(Cn);mn.forEach(Xn=>Yn(Xn,En))}),Fr.forEach((mn,Cn)=>{const En=Yr.get(Cn);mn.forEach(Xn=>Yn(Xn,En))}),na.forEach(mn=>{this.processLeaveNode(mn)})});const Nc=[],vs=[];for(let mn=this._namespaceList.length-1;mn>=0;mn--)this._namespaceList[mn].drainQueuedTransitions(_).forEach(En=>{const Xn=En.player,Xa=En.element;if(Nc.push(Xn),this.collectedEnterElements.length){const Hr=Xa[ra];if(Hr&&Hr.setForMove){if(Hr.previousTriggersValues&&Hr.previousTriggersValues.has(En.triggerName)){const Ys=Hr.previousTriggersValues.get(En.triggerName),Oo=this.statesByElement.get(En.element);if(Oo&&Oo.has(En.triggerName)){const I1=Oo.get(En.triggerName);I1.value=Ys,Oo.set(En.triggerName,I1)}}return void Xn.destroy()}}const ko=!Bi||!this.driver.containsElement(Bi,Xa),bo=Yr.get(Xa),ys=dn.get(Xa),Va=this._buildInstruction(En,Z,ys,bo,ko);if(Va.errors&&Va.errors.length)return void vs.push(Va);if(ko)return Xn.onStart(()=>yt(Xa,Va.fromStyles)),Xn.onDestroy(()=>nt(Xa,Va.toStyles)),void _e.push(Xn);if(En.isFallbackTransition)return Xn.onStart(()=>yt(Xa,Va.fromStyles)),Xn.onDestroy(()=>nt(Xa,Va.toStyles)),void _e.push(Xn);const qd=[];Va.timelines.forEach(Hr=>{Hr.stretchStartingKeyframe=!0,this.disabledNodes.has(Hr.element)||qd.push(Hr)}),Va.timelines=qd,Z.append(Xa,Va.timelines),Ut.push({instruction:Va,player:Xn,element:Xa}),Va.queriedElements.forEach(Hr=>oe(Xt,Hr,[]).push(Xn)),Va.preStyleProps.forEach((Hr,Ys)=>{if(Hr.size){let Oo=ci.get(Ys);Oo||ci.set(Ys,Oo=new Set),Hr.forEach((I1,E0)=>Oo.add(E0))}}),Va.postStyleProps.forEach((Hr,Ys)=>{let Oo=Mi.get(Ys);Oo||Mi.set(Ys,Oo=new Set),Hr.forEach((I1,E0)=>Oo.add(E0))})});if(vs.length){const mn=[];vs.forEach(Cn=>{mn.push(function X(F,M){return new e.vHH(3505,!1)}())}),Nc.forEach(Cn=>Cn.destroy()),this.reportError(mn)}const Cr=new Map,Fc=new Map;Ut.forEach(mn=>{const Cn=mn.element;Z.has(Cn)&&(Fc.set(Cn,Cn),this._beforeAnimationBuild(mn.player.namespaceId,mn.instruction,Cr))}),_e.forEach(mn=>{const Cn=mn.element;this._getPreviousPlayers(Cn,!1,mn.namespaceId,mn.triggerName,null).forEach(Xn=>{oe(Cr,Cn,[]).push(Xn),Xn.destroy()})});const is=na.filter(mn=>zt(mn,ci,Mi)),Ws=new Map;ba(Ws,this.driver,Nr,Mi,b.l3).forEach(mn=>{zt(mn,ci,Mi)&&is.push(mn)});const bs=new Map;On.forEach((mn,Cn)=>{ba(bs,this.driver,new Set(mn),ci,b.k1)}),is.forEach(mn=>{const Cn=Ws.get(mn),En=bs.get(mn);Ws.set(mn,new Map([...Array.from(Cn?.entries()??[]),...Array.from(En?.entries()??[])]))});const fc=[],Yh=[],Qd={};Ut.forEach(mn=>{const{element:Cn,player:En,instruction:Xn}=mn;if(Z.has(Cn)){if(en.has(Cn))return En.onDestroy(()=>nt(Cn,Xn.toStyles)),En.disabled=!0,En.overrideTotalTime(Xn.totalTime),void _e.push(En);let Xa=Qd;if(Fc.size>1){let bo=Cn;const ys=[];for(;bo=bo.parentNode;){const Va=Fc.get(bo);if(Va){Xa=Va;break}ys.push(bo)}ys.forEach(Va=>Fc.set(Va,Xa))}const ko=this._buildAnimation(En.namespaceId,Xn,Cr,xt,bs,Ws);if(En.setRealPlayer(ko),Xa===Qd)fc.push(En);else{const bo=this.playersByElement.get(Xa);bo&&bo.length&&(En.parentPlayer=ze(bo)),_e.push(En)}}else yt(Cn,Xn.fromStyles),En.onDestroy(()=>nt(Cn,Xn.toStyles)),Yh.push(En),en.has(Cn)&&_e.push(En)}),Yh.forEach(mn=>{const Cn=xt.get(mn.element);if(Cn&&Cn.length){const En=ze(Cn);mn.setRealPlayer(En)}}),_e.forEach(mn=>{mn.parentPlayer?mn.syncPlayerEvents(mn.parentPlayer):mn.destroy()});for(let mn=0;mn<na.length;mn++){const Cn=na[mn],En=Cn[ra];if(Yn(Cn,Ft),En&&En.hasAnimation)continue;let Xn=[];if(Xt.size){let ko=Xt.get(Cn);ko&&ko.length&&Xn.push(...ko);let bo=this.driver.query(Cn,Et,!0);for(let ys=0;ys<bo.length;ys++){let Va=Xt.get(bo[ys]);Va&&Va.length&&Xn.push(...Va)}}const Xa=Xn.filter(ko=>!ko.destroyed);Xa.length?_r(this,Cn,Xa):this.processLeaveNode(Cn)}return na.length=0,fc.forEach(mn=>{this.players.push(mn),mn.onDone(()=>{mn.destroy();const Cn=this.players.indexOf(mn);this.players.splice(Cn,1)}),mn.play()}),fc}elementContainsData(M,_){let Z=!1;const _e=_[ra];return _e&&_e.setForRemoval&&(Z=!0),this.playersByElement.has(_)&&(Z=!0),this.playersByQueriedElement.has(_)&&(Z=!0),this.statesByElement.has(_)&&(Z=!0),this._fetchNamespace(M).elementContainsData(_)||Z}afterFlush(M){this._flushFns.push(M)}afterFlushAnimationsDone(M){this._whenQuietFns.push(M)}_getPreviousPlayers(M,_,Z,_e,xt){let Ut=[];if(_){const Xt=this.playersByQueriedElement.get(M);Xt&&(Ut=Xt)}else{const Xt=this.playersByElement.get(M);if(Xt){const ci=!xt||xt==Ir;Xt.forEach(Mi=>{Mi.queued||!ci&&Mi.triggerName!=_e||Ut.push(Mi)})}}return(Z||_e)&&(Ut=Ut.filter(Xt=>!(Z&&Z!=Xt.namespaceId||_e&&_e!=Xt.triggerName))),Ut}_beforeAnimationBuild(M,_,Z){const xt=_.element,Ut=_.isRemovalTransition?void 0:M,Xt=_.isRemovalTransition?void 0:_.triggerName;for(const ci of _.timelines){const Mi=ci.element,en=Mi!==xt,Bi=oe(Z,Mi,[]);this._getPreviousPlayers(Mi,en,Ut,Xt,_.toState).forEach(On=>{const dn=On.getRealPlayer();dn.beforeDestroy&&dn.beforeDestroy(),On.destroy(),Bi.push(On)})}yt(xt,_.fromStyles)}_buildAnimation(M,_,Z,_e,xt,Ut){const Xt=_.triggerName,ci=_.element,Mi=[],en=new Set,Bi=new Set,kn=_.timelines.map(dn=>{const Sn=dn.element;en.add(Sn);const na=Sn[ra];if(na&&na.removedBeforeQueried)return new b.ZN(dn.duration,dn.delay);const va=Sn!==ci,Nr=function ja(F){const M=[];return ca(F,M),M}((Z.get(Sn)||fo).map(Cr=>Cr.getRealPlayer())).filter(Cr=>!!Cr.element&&Cr.element===Sn),Yr=xt.get(Sn),Fr=Ut.get(Sn),Nc=Le(0,this._normalizer,0,dn.keyframes,Yr,Fr),vs=this._buildPlayer(dn,Nc,Nr);if(dn.subTimeline&&_e&&Bi.add(Sn),va){const Cr=new Pa(M,Xt,Sn);Cr.setRealPlayer(vs),Mi.push(Cr)}return vs});Mi.forEach(dn=>{oe(this.playersByQueriedElement,dn.element,[]).push(dn),dn.onDone(()=>function Jr(F,M,_){let Z=F.get(M);if(Z){if(Z.length){const _e=Z.indexOf(_);Z.splice(_e,1)}0==Z.length&&F.delete(M)}return Z}(this.playersByQueriedElement,dn.element,dn))}),en.forEach(dn=>Qn(dn,Ht));const On=ze(kn);return On.onDestroy(()=>{en.forEach(dn=>Yn(dn,Ht)),nt(ci,_.toStyles)}),Bi.forEach(dn=>{oe(_e,dn,[]).push(On)}),On}_buildPlayer(M,_,Z){return _.length>0?this.driver.animate(M.element,_,M.duration,M.delay,M.easing,Z):new b.ZN(M.duration,M.delay)}}class Pa{constructor(M,_,Z){this.namespaceId=M,this.triggerName=_,this.element=Z,this._player=new b.ZN,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(M){this._containsRealPlayer||(this._player=M,this._queuedCallbacks.forEach((_,Z)=>{_.forEach(_e=>ye(M,Z,void 0,_e))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(M.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(M){this.totalTime=M}syncPlayerEvents(M){const _=this._player;_.triggerCallback&&M.onStart(()=>_.triggerCallback("start")),M.onDone(()=>this.finish()),M.onDestroy(()=>this.destroy())}_queueEvent(M,_){oe(this._queuedCallbacks,M,[]).push(_)}onDone(M){this.queued&&this._queueEvent("done",M),this._player.onDone(M)}onStart(M){this.queued&&this._queueEvent("start",M),this._player.onStart(M)}onDestroy(M){this.queued&&this._queueEvent("destroy",M),this._player.onDestroy(M)}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(M){this.queued||this._player.setPosition(M)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(M){const _=this._player;_.triggerCallback&&_.triggerCallback(M)}}function nr(F){return F&&1===F.nodeType}function $r(F,M){const _=F.style.display;return F.style.display=M??"none",_}function ba(F,M,_,Z,_e){const xt=[];_.forEach(ci=>xt.push($r(ci)));const Ut=[];Z.forEach((ci,Mi)=>{const en=new Map;ci.forEach(Bi=>{const kn=M.computeStyle(Mi,Bi,_e);en.set(Bi,kn),(!kn||0==kn.length)&&(Mi[ra]=pr,Ut.push(Mi))}),F.set(Mi,en)});let Xt=0;return _.forEach(ci=>$r(ci,xt[Xt++])),Ut}function Or(F,M){const _=new Map;if(F.forEach(Xt=>_.set(Xt,[])),0==M.length)return _;const _e=new Set(M),xt=new Map;function Ut(Xt){if(!Xt)return 1;let ci=xt.get(Xt);if(ci)return ci;const Mi=Xt.parentNode;return ci=_.has(Mi)?Mi:_e.has(Mi)?1:Ut(Mi),xt.set(Xt,ci),ci}return M.forEach(Xt=>{const ci=Ut(Xt);1!==ci&&_.get(ci).push(Xt)}),_}function Qn(F,M){F.classList?.add(M)}function Yn(F,M){F.classList?.remove(M)}function _r(F,M,_){ze(_).onDone(()=>F.processLeaveNode(M))}function ca(F,M){for(let _=0;_<F.length;_++){const Z=F[_];Z instanceof b.ZE?ca(Z.players,M):M.push(Z)}}function zt(F,M,_){const Z=_.get(F);if(!Z)return!1;let _e=M.get(F);return _e?Z.forEach(xt=>_e.add(xt)):M.set(F,Z),_.delete(F),!0}class oi{constructor(M,_,Z){this.bodyNode=M,this._driver=_,this._normalizer=Z,this._triggerCache={},this.onRemovalComplete=(_e,xt)=>{},this._transitionEngine=new mo(M,_,Z),this._timelineEngine=new so(M,_,Z),this._transitionEngine.onRemovalComplete=(_e,xt)=>this.onRemovalComplete(_e,xt)}registerTrigger(M,_,Z,_e,xt){const Ut=M+"-"+_e;let Xt=this._triggerCache[Ut];if(!Xt){const ci=[],en=Je(this._driver,xt,ci,[]);if(ci.length)throw function i(F,M){return new e.vHH(3404,!1)}();Xt=function wo(F,M,_){return new Ma(F,M,_)}(_e,en,this._normalizer),this._triggerCache[Ut]=Xt}this._transitionEngine.registerTrigger(_,_e,Xt)}register(M,_){this._transitionEngine.register(M,_)}destroy(M,_){this._transitionEngine.destroy(M,_)}onInsert(M,_,Z,_e){this._transitionEngine.insertNode(M,_,Z,_e)}onRemove(M,_,Z,_e){this._transitionEngine.removeNode(M,_,_e||!1,Z)}disableAnimations(M,_){this._transitionEngine.markElementAsDisabled(M,_)}process(M,_,Z,_e){if("@"==Z.charAt(0)){const[xt,Ut]=Ke(Z);this._timelineEngine.command(xt,_,Ut,_e)}else this._transitionEngine.trigger(M,_,Z,_e)}listen(M,_,Z,_e,xt){if("@"==Z.charAt(0)){const[Ut,Xt]=Ke(Z);return this._timelineEngine.listen(Ut,_,Xt,xt)}return this._transitionEngine.listen(M,_,Z,_e,xt)}flush(M=-1){this._transitionEngine.flush(M)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let ni=(()=>{class F{constructor(_,Z,_e){this._element=_,this._startStyles=Z,this._endStyles=_e,this._state=0;let xt=F.initialStylesByElement.get(_);xt||F.initialStylesByElement.set(_,xt=new Map),this._initialStyles=xt}start(){this._state<1&&(this._startStyles&&nt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(nt(this._element,this._initialStyles),this._endStyles&&(nt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(F.initialStylesByElement.delete(this._element),this._startStyles&&(yt(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(yt(this._element,this._endStyles),this._endStyles=null),nt(this._element,this._initialStyles),this._state=3)}}return F.initialStylesByElement=new WeakMap,F})();function Pi(F){let M=null;return F.forEach((_,Z)=>{(function nn(F){return"display"===F||"position"===F})(Z)&&(M=M||new Map,M.set(Z,_))}),M}class ea{constructor(M,_,Z,_e){this.element=M,this.keyframes=_,this.options=Z,this._specialStyles=_e,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=Z.duration,this._delay=Z.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(M=>M()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const M=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,M,this.options),this._finalKeyframe=M.length?M[M.length-1]:new Map,this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(M){const _=[];return M.forEach(Z=>{_.push(Object.fromEntries(Z))}),_}_triggerWebAnimation(M,_,Z){return M.animate(this._convertKeyframesToObject(_),Z)}onStart(M){this._originalOnStartFns.push(M),this._onStartFns.push(M)}onDone(M){this._originalOnDoneFns.push(M),this._onDoneFns.push(M)}onDestroy(M){this._onDestroyFns.push(M)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(M=>M()),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(M=>M()),this._onDestroyFns=[])}setPosition(M){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=M*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const M=new Map;this.hasStarted()&&this._finalKeyframe.forEach((Z,_e)=>{"offset"!==_e&&M.set(_e,this._finished?Z:Ni(this.element,_e))}),this.currentSnapshot=M}triggerCallback(M){const _="start"===M?this._onStartFns:this._onDoneFns;_.forEach(Z=>Z()),_.length=0}}class la{validateStyleProperty(M){return!0}validateAnimatableStyleProperty(M){return!0}matchesElement(M,_){return!1}containsElement(M,_){return At(M,_)}getParentElement(M){return te(M)}query(M,_,Z){return _t(M,_,Z)}computeStyle(M,_,Z){return window.getComputedStyle(M)[_]}animate(M,_,Z,_e,xt,Ut=[]){const ci={duration:Z,delay:_e,fill:0==_e?"both":"forwards"};xt&&(ci.easing=xt);const Mi=new Map,en=Ut.filter(On=>On instanceof ea);(function ui(F,M){return 0===F||0===M})(Z,_e)&&en.forEach(On=>{On.currentSnapshot.forEach((dn,Sn)=>Mi.set(Sn,dn))});let Bi=function ot(F){return F.length?F[0]instanceof Map?F:F.map(M=>Ve(M)):[]}(_).map(On=>Bt(On));Bi=function Ti(F,M,_){if(_.size&&M.length){let Z=M[0],_e=[];if(_.forEach((xt,Ut)=>{Z.has(Ut)||_e.push(Ut),Z.set(Ut,xt)}),_e.length)for(let xt=1;xt<M.length;xt++){let Ut=M[xt];_e.forEach(Xt=>Ut.set(Xt,Ni(F,Xt)))}}return M}(M,Bi,Mi);const kn=function Mt(F,M){let _=null,Z=null;return Array.isArray(M)&&M.length?(_=Pi(M[0]),M.length>1&&(Z=Pi(M[M.length-1]))):M instanceof Map&&(_=Pi(M)),_||Z?new ni(F,_,Z):null}(M,Bi);return new ea(M,Bi,ci,kn)}}var Yi=p(6895);let bn=(()=>{class F extends b._j{constructor(_,Z){super(),this._nextAnimationId=0,this._renderer=_.createRenderer(Z.body,{id:"0",encapsulation:e.ifc.None,styles:[],data:{animation:[]}})}build(_){const Z=this._nextAnimationId.toString();this._nextAnimationId++;const _e=Array.isArray(_)?(0,b.vP)(_):_;return et(this._renderer,null,Z,"register",[_e]),new ar(Z,this._renderer)}}return F.\u0275fac=function(_){return new(_||F)(e.LFG(e.FYo),e.LFG(Yi.K0))},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac}),F})();class ar extends b.LC{constructor(M,_){super(),this._id=M,this._renderer=_}create(M,_){return new st(this._id,M,_||{},this._renderer)}}class st{constructor(M,_,Z,_e){this.id=M,this.element=_,this._renderer=_e,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",Z)}_listen(M,_){return this._renderer.listen(this.element,`@@${this.id}:${M}`,_)}_command(M,..._){return et(this._renderer,this.element,this.id,M,_)}onDone(M){this._listen("done",M)}onStart(M){this._listen("start",M)}onDestroy(M){this._listen("destroy",M)}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(M){this._command("setPosition",M)}getPosition(){return this._renderer.engine.players[+this.id]?.getPosition()??0}}function et(F,M,_,Z,_e){return F.setProperty(M,`@@${_}:${Z}`,_e)}const Ot="@.disabled";let xi=(()=>{class F{constructor(_,Z,_e){this.delegate=_,this.engine=Z,this._zone=_e,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),Z.onRemovalComplete=(xt,Ut)=>{const Xt=Ut?.parentNode(xt);Xt&&Ut.removeChild(Xt,xt)}}createRenderer(_,Z){const xt=this.delegate.createRenderer(_,Z);if(!(_&&Z&&Z.data&&Z.data.animation)){let en=this._rendererCache.get(xt);return en||(en=new cn("",xt,this.engine,()=>this._rendererCache.delete(xt)),this._rendererCache.set(xt,en)),en}const Ut=Z.id,Xt=Z.id+"-"+this._currentId;this._currentId++,this.engine.register(Xt,_);const ci=en=>{Array.isArray(en)?en.forEach(ci):this.engine.registerTrigger(Ut,Xt,_,en.name,en)};return Z.data.animation.forEach(ci),new ha(this,Xt,xt,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(_,Z,_e){_>=0&&_<this._microtaskId?this._zone.run(()=>Z(_e)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(xt=>{const[Ut,Xt]=xt;Ut(Xt)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([Z,_e]))}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 F.\u0275fac=function(_){return new(_||F)(e.LFG(e.FYo),e.LFG(oi),e.LFG(e.R0b))},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac}),F})();class cn{constructor(M,_,Z,_e){this.namespaceId=M,this.delegate=_,this.engine=Z,this._onDestroy=_e,this.destroyNode=this.delegate.destroyNode?xt=>_.destroyNode(xt):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy(),this._onDestroy?.()}createElement(M,_){return this.delegate.createElement(M,_)}createComment(M){return this.delegate.createComment(M)}createText(M){return this.delegate.createText(M)}appendChild(M,_){this.delegate.appendChild(M,_),this.engine.onInsert(this.namespaceId,_,M,!1)}insertBefore(M,_,Z,_e=!0){this.delegate.insertBefore(M,_,Z),this.engine.onInsert(this.namespaceId,_,M,_e)}removeChild(M,_,Z){this.engine.onRemove(this.namespaceId,_,this.delegate,Z)}selectRootElement(M,_){return this.delegate.selectRootElement(M,_)}parentNode(M){return this.delegate.parentNode(M)}nextSibling(M){return this.delegate.nextSibling(M)}setAttribute(M,_,Z,_e){this.delegate.setAttribute(M,_,Z,_e)}removeAttribute(M,_,Z){this.delegate.removeAttribute(M,_,Z)}addClass(M,_){this.delegate.addClass(M,_)}removeClass(M,_){this.delegate.removeClass(M,_)}setStyle(M,_,Z,_e){this.delegate.setStyle(M,_,Z,_e)}removeStyle(M,_,Z){this.delegate.removeStyle(M,_,Z)}setProperty(M,_,Z){"@"==_.charAt(0)&&_==Ot?this.disableAnimations(M,!!Z):this.delegate.setProperty(M,_,Z)}setValue(M,_){this.delegate.setValue(M,_)}listen(M,_,Z){return this.delegate.listen(M,_,Z)}disableAnimations(M,_){this.engine.disableAnimations(M,_)}}class ha extends cn{constructor(M,_,Z,_e,xt){super(_,Z,_e,xt),this.factory=M,this.namespaceId=_}setProperty(M,_,Z){"@"==_.charAt(0)?"."==_.charAt(1)&&_==Ot?this.disableAnimations(M,Z=void 0===Z||!!Z):this.engine.process(this.namespaceId,M,_.slice(1),Z):this.delegate.setProperty(M,_,Z)}listen(M,_,Z){if("@"==_.charAt(0)){const _e=function wi(F){switch(F){case"body":return document.body;case"document":return document;case"window":return window;default:return F}}(M);let xt=_.slice(1),Ut="";return"@"!=xt.charAt(0)&&([xt,Ut]=function Ln(F){const M=F.indexOf(".");return[F.substring(0,M),F.slice(M+1)]}(xt)),this.engine.listen(this.namespaceId,_e,xt,Ut,Xt=>{this.factory.scheduleListenerCallback(Xt._data||-1,Z,Xt)})}return this.delegate.listen(M,_,Z)}}const Yo=[{provide:b._j,useClass:bn},{provide:zn,useFactory:function Js(){return new Sr}},{provide:oi,useClass:(()=>{class F extends oi{constructor(_,Z,_e,xt){super(_.body,Z,_e)}ngOnDestroy(){this.flush()}}return F.\u0275fac=function(_){return new(_||F)(e.LFG(Yi.K0),e.LFG(ke),e.LFG(zn),e.LFG(e.z2F))},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac}),F})()},{provide:e.FYo,useFactory:function Ha(F,M,_){return new xi(F,M,_)},deps:[t.se,oi,e.R0b]}],eo=[{provide:ke,useFactory:()=>new la},{provide:e.QbO,useValue:"BrowserAnimations"},...Yo],vr=[{provide:ke,useClass:St},{provide:e.QbO,useValue:"NoopAnimations"},...Yo];let jo=(()=>{class F{static withConfig(_){return{ngModule:F,providers:_.disableAnimations?vr:eo}}}return F.\u0275fac=function(_){return new(_||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({providers:eo,imports:[t.b2]}),F})();var br=p(529),In=p(2289),Ii=p(9653),Qa=p(493),go=p(825),zi=p(7579),No=p(6451),Fo=p(4968),Xs=p(457),Es=p(4986),os=p(2805);function So(F=0,M=Es.z){return F<0&&(F=0),(0,os.H)(F,F,M)}var Eo=p(9646),ss=p(727),bc=p(4482),Qo=p(5403),$s=p(8737),ec=p(3269),Ts=p(9672),Ra=p(9300),to=p(8505),To=p(3900),an=p(2722),Oa=p(8746),qa=p(1884),ua=p(4004);class Ds{}let Gc=(()=>{class F{constructor(_,Z){this._ngZone=Z,this.timerStart$=new zi.x,this.idleDetected$=new zi.x,this.timeout$=new zi.x,this.idleMillisec=6e5,this.idleSensitivityMillisec=1e3,this.timeout=300,this.pingMillisec=12e4,this.isTimeout=!1,this.isInactivityTimer=!1,this.isIdleDetected=!1,_&&this.setConfig(_)}startWatching(){this.activityEvents$||(this.activityEvents$=(0,No.T)((0,Fo.R)(window,"mousemove"),(0,Fo.R)(window,"resize"),(0,Fo.R)(document,"keydown"))),this.idle$=(0,Xs.D)(this.activityEvents$),this.idleSubscription&&this.idleSubscription.unsubscribe(),this.idleSubscription=this.idle$.pipe(function As(F,...M){var _,Z;const _e=null!==(_=(0,ec.yG)(M))&&void 0!==_?_:Es.z,xt=null!==(Z=M[0])&&void 0!==Z?Z:null,Ut=M[1]||1/0;return(0,bc.e)((Xt,ci)=>{let Mi=[],en=!1;const Bi=dn=>{const{buffer:Sn,subs:na}=dn;na.unsubscribe(),(0,$s.P)(Mi,dn),ci.next(Sn),en&&kn()},kn=()=>{if(Mi){const dn=new ss.w0;ci.add(dn);const na={buffer:[],subs:dn};Mi.push(na),(0,Ts.f)(dn,_e,()=>Bi(na),F)}};null!==xt&&xt>=0?(0,Ts.f)(ci,_e,kn,xt,!0):en=!0,kn();const On=(0,Qo.x)(ci,dn=>{const Sn=Mi.slice();for(const na of Sn){const{buffer:va}=na;va.push(dn),Ut<=va.length&&Bi(na)}},()=>{for(;Mi?.length;)ci.next(Mi.shift().buffer);On?.unsubscribe(),ci.complete(),ci.unsubscribe()},void 0,()=>Mi=null);Xt.subscribe(On)})}(this.idleSensitivityMillisec),(0,Ra.h)(_=>!_.length&&!this.isIdleDetected&&!this.isInactivityTimer),(0,to.b)(()=>{this.isIdleDetected=!0,this.idleDetected$.next(!0)}),(0,To.w)(()=>this._ngZone.runOutsideAngular(()=>So(1e3).pipe((0,an.R)((0,No.T)(this.activityEvents$,(0,os.H)(this.idleMillisec).pipe((0,to.b)(()=>{this.isInactivityTimer=!0,this.timerStart$.next(!0)})))),(0,Oa.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,To.w)(_=>_?this.timer$:(0,Eo.of)(null)))}onIdleStatusChanged(){return this.idleDetected$.asObservable()}onTimeout(){return this.timeout$.pipe((0,Ra.h)(_=>!!_),(0,to.b)(()=>this.isTimeout=!0),(0,ua.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,Eo.of)(()=>new Date).pipe((0,ua.U)(Z=>Z()),(0,To.w)(Z=>So(1e3).pipe((0,ua.U)(()=>Math.round(((new Date).valueOf()-Z.valueOf())/1e3)),(0,to.b)(_e=>{_e>=_&&this.timeout$.next(!0)}))))})}setupPing(_){this.ping$=So(_).pipe((0,Ra.h)(()=>!this.isTimeout))}}return F.\u0275fac=function(_){return new(_||F)(e.LFG(Ds,8),e.LFG(e.R0b))},F.\u0275prov=e.Yz7({token:F,factory:F.\u0275fac,providedIn:"root"}),F})(),yc=(()=>{class F{static forRoot(_){return{ngModule:F,providers:[{provide:Ds,useValue:_}]}}}return F.\u0275fac=function(_){return new(_||F)},F.\u0275mod=e.oAB({type:F}),F.\u0275inj=e.cJS({imports:[[]]}),F})();var Gn=p(9116),qi=p(2687),ya=p(8377),Sa=p(2216),Wi=p(1576),Ie=p(3546),vt=p(3848);const j=function(){return{initial:!1}};function Se(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",11),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.activeLink=_e.links[1].link)}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.s9C("routerLink",_.links[1].link),e.Q6J("active",_.activeLink===_.links[1].link)("state",e.DdM(4,j)),e.xp6(1),e.Oqu(_.links[1].name)}}function Be(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.activeLink=_e.links[2].link)}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.s9C("routerLink",_.links[2].link),e.Q6J("active",_.activeLink===_.links[2].link),e.xp6(1),e.Oqu(_.links[2].name)}}class Ct{constructor(M,_){this.store=M,this.router=_,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 zi.x,new zi.x,new zi.x]}ngOnInit(){const M=this.links.find(_=>this.router.url.includes(_.link));this.activeLink=M?M.link:this.links[0].link,this.router.events.pipe((0,an.R)(this.unSubs[0]),(0,Ra.h)(_=>_ instanceof Gn.Av)).subscribe({next:_=>{const Z=this.links.find(_e=>_.urlAfterRedirects.includes(_e.link));this.activeLink=Z?Z.link:this.links[0].link}}),this.store.select(ya.Yj).pipe((0,an.R)(this.unSubs[1])).subscribe(_=>{this.appConfig=_}),this.store.select(ya.dT).pipe((0,an.R)(this.unSubs[2])).subscribe(_=>{this.showBitcoind=!1,this.selNode=_,this.selNode.settings&&this.selNode.settings.bitcoindConfigPath&&""!==this.selNode.settings.bitcoindConfigPath.trim()&&(this.showBitcoind=!0)})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}Ct.\u0275fac=function(M){return new(M||Ct)(e.Y36(Ii.yh),e.Y36(Gn.F0))},Ct.\u0275cmp=e.Xpm({type:Ct,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(M,_){if(1&M&&(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 _.activeLink=_.links[0].link}),e._uU(9),e.qZA(),e.YNc(10,Se,2,5,"div",7),e.YNc(11,Be,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&M){const Z=e.MAs(13);e.xp6(1),e.Q6J("icon",_.faUserCog),e.xp6(6),e.Q6J("tabPanel",Z),e.xp6(1),e.s9C("routerLink",_.links[0].link),e.Q6J("active",_.activeLink===_.links[0].link),e.xp6(1),e.Oqu(_.links[0].name),e.xp6(1),e.Q6J("ngIf",!+_.appConfig.sso.rtlSSO),e.xp6(1),e.Q6J("ngIf",_.showBitcoind)}},dependencies:[Yi.O5,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,Ie.a8,Ie.dn,vt.BU,vt.sW,vt.Nj,Gn.lC,Gn.rH]});var Re=p(7731),Zt=p(7861),ri=p(5043),Jt=p(4006),pi=p(4859),Ci=p(9549),Fi=p(4385),Zi=p(3238),tn=p(6839),xn=p(3390);function ta(F,M){if(1&F&&(e.TgZ(0,"mat-option",17),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.Q6J("value",_.index),e.xp6(1),e.AsE(" ",_.lnNode," (",_.lnImplementation,") ")}}function fa(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"form",2,3)(2,"div",4),e._UZ(3,"fa-icon",5),e.TgZ(4,"span",6),e._uU(5,"Default Node"),e.qZA()(),e.TgZ(6,"div",7)(7,"div",8),e._UZ(8,"fa-icon",9),e.TgZ(9,"span"),e._uU(10,"The setting will apply after RTL server restarts."),e.qZA()(),e.TgZ(11,"div",10)(12,"mat-form-field",11)(13,"mat-select",12),e.NdJ("ngModelChange",function(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.appConfig.defaultNodeIndex=_e)}),e.YNc(14,ta,2,3,"mat-option",13),e.qZA()()(),e.TgZ(15,"div",14)(16,"div",10)(17,"button",15),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.onResetSettings())}),e._uU(18,"Reset"),e.qZA(),e.TgZ(19,"button",16),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.onUpdateSettings())}),e._uU(20,"Update"),e.qZA()()()()()}if(2&F){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)}}class ma{constructor(M,_){this.logger=M,this.store=_,this.faInfoCircle=qi.sqG,this.faWindowRestore=qi.wyP,this.faPlus=qi.r8p,this.previousDefaultNode=0,this.unSubs=[new zi.x,new zi.x]}ngOnInit(){this.store.select(ya.Yj).pipe((0,an.R)(this.unSubs[0])).subscribe(M=>{this.appConfig=M,this.previousDefaultNode=this.appConfig.defaultNodeIndex,this.logger.info(M)})}onAddNewNode(){this.logger.warn("ADD NEW NODE")}onUpdateSettings(){this.store.dispatch((0,Zt.zQ)({payload:{uiMessage:Re.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(M=>{M.next(),M.complete()})}}ma.\u0275fac=function(M){return new(M||ma)(e.Y36(ri.mQ),e.Y36(Ii.yh))},ma.\u0275cmp=e.Xpm({type:ma,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(M,_){1&M&&(e.TgZ(0,"div",0),e.YNc(1,fa,21,4,"form",1),e.qZA()),2&M&&(e.xp6(1),e.Q6J("ngIf",_.appConfig.nodes&&_.appConfig.nodes.length&&_.appConfig.nodes.length>0))},dependencies:[Yi.sg,Yi.O5,Jt._Y,Jt.JJ,Jt.JL,Jt.On,Jt.F,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,pi.lW,Ci.KE,Fi.gD,Zi.ey,tn.$V,xn.h]});var Ea=p(8012),xa=p(5698),Ca=p(5412),yr=p(5768),Ta=p(3093),io=p(7009),Wa=p(4144),no=p(8425),_o=p(658),Zc=p(5199);const Ho=["stepper"];function e1(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw();e.Oqu(_.passwordFormLabel)}}function Wc(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}function Sl(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.Oqu(_.secretFormLabel)}}function Pr(F,M){if(1&F&&e._UZ(0,"qr-code",33),2&F){const _=e.oxw(2);e.Q6J("value",_.otpauth)("size",180)("errorCorrectionLevel","L")}}function Yc(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Secret Code is required."),e.qZA())}function tc(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-step",10)(1,"form",22),e.YNc(2,Sl,1,1,"ng-template",23),e.TgZ(3,"div",24),e.YNc(4,Pr,1,3,"qr-code",25),e.qZA(),e.TgZ(5,"div",26),e._UZ(6,"fa-icon",27),e.TgZ(7,"span"),e._uU(8,"You can use a compatible authentication app to get an authentication code when you log in to RTL. e.g.: Google Authenticator."),e.qZA()(),e.TgZ(9,"div",28)(10,"mat-form-field",13)(11,"mat-label"),e._uU(12,"Secret Code"),e.qZA(),e._UZ(13,"input",29),e.TgZ(14,"fa-icon",30),e.NdJ("copied",function(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.onCopySecret(_e))}),e.qZA(),e.YNc(15,Yc,2,0,"mat-error",15),e.qZA()(),e.TgZ(16,"div",31)(17,"button",32),e._uU(18,"Next"),e.qZA()()()()}if(2&F){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 jc(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.Oqu(_.tokenFormLabel)}}function t1(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is required."),e.qZA())}function El(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is invalid."),e.qZA())}function K1(F,M){if(1&F){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,t1,2,0,"mat-error",15),e.YNc(7,El,2,0,"mat-error",15),e.qZA()(),e.TgZ(8,"div",31)(9,"button",38),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw(2);return e.KtG(_e.onVerifyToken())}),e._uU(10),e.qZA()()()}if(2&F){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 Q1(F,M){1&F&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"Success! You are all set."),e.qZA()())}function n1(F,M){if(1&F&&(e.TgZ(0,"mat-step",34)(1,"form",35),e.YNc(2,jc,1,1,"ng-template",12),e.YNc(3,K1,11,3,"div",36),e.YNc(4,Q1,3,0,"div",15),e.qZA()()),2&F){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 Ls(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.Oqu(_.disableFormLabel)}}function cs(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",7)(1,"div",39),e._UZ(2,"fa-icon",27),e.TgZ(3,"span"),e._uU(4,"You are about to disable two-factor authentication security from RTL. Are you sure you want to turn it off?"),e.qZA()(),e.TgZ(5,"div",31)(6,"button",38),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw(2);return e.KtG(_e.onVerifyToken())}),e._uU(7,"Disable"),e.qZA()()()}if(2&F){const _=e.oxw(2);e.xp6(2),e.Q6J("icon",_.faExclamationTriangle)}}function Is(F,M){1&F&&(e.TgZ(0,"div")(1,"strong"),e._uU(2,"Two factor authentication removed from RTL."),e.qZA()())}function q1(F,M){if(1&F&&(e.TgZ(0,"mat-step",34)(1,"form",35),e.YNc(2,Ls,1,1,"ng-template",12),e.YNc(3,cs,8,1,"div",36),e.YNc(4,Is,3,0,"div",15),e.qZA()()),2&F){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)}}class ks{constructor(M,_,Z,_e,xt,Ut){this.dialogRef=M,this.data=_,this.store=Z,this.formBuilder=_e,this.rtlEffects=xt,this.snackBar=Ut,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:["",[Jt.kI.required]],password:["",[Jt.kI.required]]}),this.secretFormGroup=this.formBuilder.group({secret:[{value:"",disabled:!0},Jt.kI.required]}),this.tokenFormGroup=this.formBuilder.group({token:["",Jt.kI.required]}),this.disableFormGroup=this.formBuilder.group({}),this.unSubs=[new zi.x,new zi.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},Jt.kI.required]})}generateSecret(){const M=yr.authenticator.generateSecret();return this.otpauth=yr.authenticator.keyuri("","Ride The Lightning (RTL)",M),M}onAuthenticate(){if(!this.passwordFormGroup.controls.password.value)return!0;this.flgValidated=!1,this.store.dispatch((0,Zt.QO)({payload:Ea(this.passwordFormGroup.controls.password.value).toString()})),this.rtlEffects.isAuthorizedRes.pipe((0,xa.q)(1)).subscribe(M=>{"ERROR"!==M?(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(M){this.snackBar.open("Secret code "+this.secretFormGroup.controls.secret.value+" copied.")}onVerifyToken(){if(this.appConfig?.enable2FA)this.store.dispatch((0,Zt.Uy)({payload:{secret2fa:""}})),this.generateSecret(),this.isTokenValid=!0;else{if(!this.tokenFormGroup.controls.token.value)return!0;if(this.isTokenValid=yr.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,Zt.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(M){switch(M.selectedIndex){case 0:default:this.passwordFormLabel="Authenticate with your RTL password";break;case 1:case 2:this.passwordFormLabel="User authenticated successfully"}M.selectedIndex<M.previouslySelectedIndex&&0===M.selectedIndex&&this.passwordFormGroup.controls.hiddenPassword.setValue("")}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(),M.complete()})}}ks.\u0275fac=function(M){return new(M||ks)(e.Y36(Ca.so),e.Y36(Ca.WI),e.Y36(Ii.yh),e.Y36(Jt.QS),e.Y36(Ta.V),e.Y36(io.ux))},ks.\u0275cmp=e.Xpm({type:ks,selectors:[["rtl-two-factor-auth"]],viewQuery:function(M,_){if(1&M&&e.Gf(Ho,5),2&M){let Z;e.iGM(Z=e.CRH())&&(_.stepper=Z.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(M,_){1&M&&(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(_e){return _.stepSelectionChanged(_e)}),e.TgZ(12,"mat-step",10)(13,"form",11),e.YNc(14,e1,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,Wc,2,0,"mat-error",15),e.qZA()(),e.TgZ(21,"div",16)(22,"button",17),e.NdJ("click",function(){return _.onAuthenticate()}),e._uU(23,"Confirm"),e.qZA()()()(),e.YNc(24,tc,19,8,"mat-step",18),e.YNc(25,n1,5,4,"mat-step",19),e.YNc(26,q1,5,4,"mat-step",19),e.qZA(),e.TgZ(27,"div",20)(28,"button",21),e._uU(29),e.qZA()()()()()()),2&M&&(e.xp6(6),e.Q6J("mat-dialog-close",!1),e.xp6(4),e.Q6J("linear",!0),e.xp6(2),e.Q6J("stepControl",_.passwordFormGroup)("editable",_.flgEditable),e.xp6(1),e.Q6J("formGroup",_.passwordFormGroup),e.xp6(7),e.Q6J("ngIf",null==_.passwordFormGroup||null==_.passwordFormGroup.controls||null==_.passwordFormGroup.controls.password||null==_.passwordFormGroup.controls.password.errors?null:_.passwordFormGroup.controls.password.errors.required),e.xp6(4),e.Q6J("ngIf",!_.showDisableStepper),e.xp6(1),e.Q6J("ngIf",!_.showDisableStepper),e.xp6(1),e.Q6J("ngIf",_.showDisableStepper),e.xp6(2),e.Q6J("mat-dialog-close",!1),e.xp6(1),e.Oqu(_.flgValidated&&_.isTokenValid?"Close":"Cancel"))},dependencies:[Yi.O5,Jt._Y,Jt.Fj,Jt.JJ,Jt.JL,Jt.Q7,Jt.sg,Jt.u,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,Ca.ZT,pi.lW,Ie.dn,Ie.dk,Wa.Nt,Ci.KE,Ci.hX,Ci.TO,Ci.R9,no.C0,no.VY,no.Vq,no.Ic,_o.uU,Zc.y,xn.h]});var lr=p(5986),zo=p(4850);const a1=["authForm"];function r1(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Current password is required."),e.qZA())}function J1(F,M){if(1&F&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&F){const _=e.oxw(2);e.xp6(1),e.Oqu(_.errorMsg)}}function Tl(F,M){if(1&F&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&F){const _=e.oxw(2);e.xp6(1),e.Oqu(_.errorConfirmMsg)}}function xc(F,M){if(1&F){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(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.currPassword=_e)}),e.qZA(),e.YNc(10,r1,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(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.newPassword=_e)}),e.qZA(),e.YNc(15,J1,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(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.confirmPassword=_e)}),e.qZA(),e.YNc(20,Tl,2,1,"mat-error",15),e.qZA(),e.TgZ(21,"div",18)(22,"button",19),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.onResetPassword())}),e._uU(23,"Reset"),e.qZA(),e.TgZ(24,"button",20),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.onChangePassword())}),e._uU(25,"Change Password"),e.qZA()()()}if(2&F){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())}}class vo{constructor(M,_,Z,_e,xt){this.logger=M,this.store=_,this.actions=Z,this.router=_e,this.sessionService=xt,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 zi.x,new zi.x,new zi.x]}ngOnInit(){this.initializeNodeData="true"===this.sessionService.getItem("defaultPassword"),this.store.select(ya.Yj).pipe((0,an.R)(this.unSubs[0])).subscribe(M=>{this.appConfig=M,this.logger.info(this.appConfig)}),this.store.select(ya.dT).pipe((0,an.R)(this.unSubs[1])).subscribe(M=>{this.selNode=M}),this.actions.pipe((0,an.R)(this.unSubs[2]),(0,Ra.h)(M=>M.type===Re.pg.RESET_PASSWORD_RES)).subscribe(M=>{if(Re.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||Re.kO.includes(this.newPassword.toLowerCase()))return!0;this.store.dispatch((0,Zt.c0)({payload:{currPassword:Ea(this.currPassword).toString(),newPassword:Ea(this.newPassword).toString()}}))}matchOldAndNewPasswords(){let M=!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.",M=!0):Re.kO.includes(this.newPassword.toLowerCase())?(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg=Re.kO?.reduce((_,Z,_e)=>_e<Re.kO.length-1?_+Z+'" / "':_+Z+'".','Password cannot be "'),M=!0):(this.form.controls.newpassword.setErrors(null),this.errorMsg="",M=!1):(this.form.controls.newpassword.setErrors({invalid:!0}),this.errorMsg="New password is required.",M=!0)),M}matchNewPasswords(){let M=!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.",M=!0):(this.form.controls.confirmpassword.setErrors(null),this.errorConfirmMsg="",M=!1):(this.form.controls.confirmpassword.setErrors({invalid:!0}),this.errorConfirmMsg="Confirm password is required.",M=!0)),M}on2FAuth(){this.store.dispatch((0,Zt.qR)({payload:{data:{appConfig:this.appConfig,component:ks}}}))}onResetPassword(){this.form.resetForm()}ngOnDestroy(){this.initializeNodeData&&this.store.dispatch((0,Zt.fk)({payload:{uiMessage:Re.m6.NO_SPINNER,prevLnNodeIndex:-1,currentLnNode:this.selNode,isInitialSetup:!0}})),this.unSubs.forEach(M=>{M.next(),M.complete()})}}vo.\u0275fac=function(M){return new(M||vo)(e.Y36(ri.mQ),e.Y36(Ii.yh),e.Y36(Qa.eX),e.Y36(Gn.F0),e.Y36(lr.m))},vo.\u0275cmp=e.Xpm({type:vo,selectors:[["rtl-auth-settings"]],viewQuery:function(M,_){if(1&M&&e.Gf(a1,5),2&M){let Z;e.iGM(Z=e.CRH())&&(_.form=Z.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(M,_){1&M&&(e.TgZ(0,"div",0),e.YNc(1,xc,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 _.on2FAuth()}),e._uU(14),e.qZA()()()()),2&M&&(e.xp6(1),e.Q6J("ngIf",null==_.appConfig?null:_.appConfig.allowPasswordUpdate),e.xp6(4),e.Q6J("icon",_.faUserClock),e.xp6(4),e.Q6J("icon",_.faInfoCircle),e.xp6(5),e.Oqu(_.appConfig.enable2FA?"Disable 2FA":"Enable 2FA"))},dependencies:[Yi.O5,Jt._Y,Jt.Fj,Jt.JJ,Jt.JL,Jt.Q7,Jt.On,Jt.F,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,pi.lW,Wa.Nt,Ci.KE,Ci.hX,Ci.TO,zo.d,xn.h]});var Ao=p(6338);function Os(F,M){1&F&&e._UZ(0,"mat-divider",7)}function o1(F,M){if(1&F&&(e.TgZ(0,"div",4)(1,"pre",5),e._uU(2),e.ALo(3,"json"),e.qZA(),e.YNc(4,Os,1,0,"mat-divider",6),e.qZA()),2&F){const _=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,2,_.configData)),e.xp6(2),e.Q6J("ngIf",""!==_.configData)}}function Kc(F,M){if(1&F&&(e.TgZ(0,"h2"),e._uU(1),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_)}}function Ps(F,M){if(1&F&&(e.TgZ(0,"h4",14),e._uU(1),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_)}}function q0(F,M){1&F&&e._UZ(0,"mat-divider",15),2&F&&e.Q6J("inset",!0)}function Al(F,M){if(1&F&&(e.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),e.YNc(2,Kc,2,1,"h2",10),e.qZA(),e.TgZ(3,"mat-card-subtitle",11),e.YNc(4,Ps,2,1,"h4",12),e.qZA(),e.YNc(5,q0,1,1,"mat-divider",13),e.qZA()),2&F){const _=M.$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 da(F,M){if(1&F&&(e.TgZ(0,"div",8)(1,"mat-list"),e.YNc(2,Al,6,3,"mat-list-item",9),e.qZA()()),2&F){const _=e.oxw();e.xp6(2),e.Q6J("ngForOf",_.configData)}}class Dl{constructor(M,_,Z){this.store=M,this.rtlEffects=_,this.router=Z,this.configData="",this.fileFormat="INI",this.faCog=qi.b7W,this.unSubs=[new zi.x,new zi.x]}ngOnInit(){this.store.dispatch((0,Zt.Q2)({payload:"bitcoind"})),this.rtlEffects.showLnConfig.pipe((0,an.R)(this.unSubs[1])).subscribe(M=>{const _=M.data;this.fileFormat=M.format,this.configData=""===_||!_||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==_&&_&&"JSON"===this.fileFormat?_:"":_.split("\n")})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}function X1(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}Dl.\u0275fac=function(M){return new(M||Dl)(e.Y36(Ii.yh),e.Y36(Ta.V),e.Y36(Gn.F0))},Dl.\u0275cmp=e.Xpm({type:Dl,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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,o1,5,4,"div",2),e.YNc(3,da,3,1,"div",3),e.qZA()()),2&M&&(e.xp6(2),e.Q6J("ngIf",""!==_.configData&&"JSON"===_.fileFormat),e.xp6(1),e.Q6J("ngIf",""!==_.configData&&("INI"===_.fileFormat||"HOCON"===_.fileFormat)))},dependencies:[Yi.sg,Yi.O5,Wi.xw,Wi.Wh,Wi.yH,Ie.$j,Ao.i$,Ao.Tg,zo.d,Yi.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});class Qc{constructor(M,_,Z){this.dialogRef=M,this.store=_,this.rtlEffects=Z,this.password="",this.isAuthenticated=!1,this.unSubs=[new zi.x,new zi.x]}ngOnInit(){this.rtlEffects.isAuthorizedRes.pipe((0,xa.q)(1)).subscribe(M=>{"ERROR"!==M?(this.isAuthenticated=!0,this.store.dispatch((0,Zt.M6)({payload:this.isAuthenticated}))):this.isAuthenticated=!1})}onAuthenticate(){if(!this.password)return!0;this.store.dispatch((0,Zt.QO)({payload:Ea(this.password)}))}onClose(){this.store.dispatch((0,Zt.M6)({payload:this.isAuthenticated}))}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}Qc.\u0275fac=function(M){return new(M||Qc)(e.Y36(Ca.so),e.Y36(Ii.yh),e.Y36(Ta.V))},Qc.\u0275cmp=e.Xpm({type:Qc,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(M,_){1&M&&(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 _.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(_e){return _.password=_e}),e.qZA(),e.YNc(14,X1,2,0,"mat-error",9),e.qZA(),e.TgZ(15,"div",10)(16,"button",11),e.NdJ("click",function(){return _.onAuthenticate()}),e._uU(17,"Confirm"),e.qZA()()()()()()),2&M&&(e.xp6(13),e.Q6J("ngModel",_.password),e.xp6(1),e.Q6J("ngIf",!_.password))},dependencies:[Yi.O5,Jt._Y,Jt.Fj,Jt.JJ,Jt.JL,Jt.Q7,Jt.On,Jt.F,Wi.xw,Wi.Wh,Wi.yH,pi.lW,Ie.dn,Ie.dk,Wa.Nt,Ci.KE,Ci.hX,Ci.TO,xn.h]});const u2=function(){return{initial:!1}};function $1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",12),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.activeLink=_e.links[2].link)}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.s9C("routerLink",_.links[2].link),e.Q6J("active",_.activeLink===_.links[2].link)("state",e.DdM(4,u2)),e.xp6(1),e.Oqu(_.links[2].name)}}function ls(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.activeLink=_e.links[3].link)}),e._uU(1),e.qZA()}if(2&F){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 f2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",13),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.showLnConfigClicked())}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.Q6J("active",_.activeLink===_.links[4].link),e.xp6(1),e.Oqu(_.links[4].name)}}class Vo{constructor(M,_,Z,_e){this.store=M,this.router=_,this.rtlEffects=Z,this.activatedRoute=_e,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 zi.x,new zi.x,new zi.x,new zi.x,new zi.x]}ngOnInit(){const M=this.links.find(_=>this.router.url.includes(_.link));this.activeLink=M?M.link:this.links[0].link,this.router.events.pipe((0,an.R)(this.unSubs[0]),(0,Ra.h)(_=>_ instanceof Gn.Av)).subscribe({next:_=>{const Z=this.links.find(_e=>_.urlAfterRedirects.includes(_e.link));this.activeLink=Z?Z.link:this.links[0].link}}),this.store.select(ya.Yj).pipe((0,an.R)(this.unSubs[1])).subscribe(_=>{this.appConfig=_}),this.store.select(ya.dT).pipe((0,an.R)(this.unSubs[2])).subscribe(_=>{switch(this.showLnConfig=!1,this.selNode=_,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,Zt.qR)({payload:{maxWidth:"50rem",data:{component:Qc}}})),this.rtlEffects.closeAlert.pipe((0,an.R)(this.unSubs[3])).subscribe(M=>{M&&(this.activeLink=this.links[4].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))}))}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}function ic(F,M){1&F&&e._UZ(0,"mat-divider",7)}function J0(F,M){if(1&F&&(e.TgZ(0,"div",4)(1,"pre",5),e._uU(2),e.ALo(3,"json"),e.qZA(),e.YNc(4,ic,1,0,"mat-divider",6),e.qZA()),2&F){const _=e.oxw();e.xp6(2),e.Oqu(e.lcZ(3,2,_.configData)),e.xp6(2),e.Q6J("ngIf",""!==_.configData)}}function rr(F,M){if(1&F&&(e.TgZ(0,"h2"),e._uU(1),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_)}}function qc(F,M){if(1&F&&(e.TgZ(0,"h4",14),e._uU(1),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_)}}function Jc(F,M){1&F&&e._UZ(0,"mat-divider",15),2&F&&e.Q6J("inset",!0)}function pe(F,M){if(1&F&&(e.TgZ(0,"mat-list-item")(1,"mat-card-subtitle",7),e.YNc(2,rr,2,1,"h2",10),e.qZA(),e.TgZ(3,"mat-card-subtitle",11),e.YNc(4,qc,2,1,"h4",12),e.qZA(),e.YNc(5,Jc,1,1,"mat-divider",13),e.qZA()),2&F){const _=M.$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 Me(F,M){if(1&F&&(e.TgZ(0,"div",8)(1,"mat-list"),e.YNc(2,pe,6,3,"mat-list-item",9),e.qZA()()),2&F){const _=e.oxw();e.xp6(2),e.Q6J("ngForOf",_.configData)}}Vo.\u0275fac=function(M){return new(M||Vo)(e.Y36(Ii.yh),e.Y36(Gn.F0),e.Y36(Ta.V),e.Y36(Gn.gz))},Vo.\u0275cmp=e.Xpm({type:Vo,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(M,_){if(1&M&&(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 _.activeLink=_.links[0].link}),e._uU(9),e.qZA(),e.TgZ(10,"div",6),e.NdJ("click",function(){return _.activeLink=_.links[1].link}),e._uU(11),e.qZA(),e.YNc(12,$1,2,5,"div",7),e.YNc(13,ls,2,3,"div",8),e.YNc(14,f2,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&M){const Z=e.MAs(16);e.xp6(1),e.Q6J("icon",_.faTools),e.xp6(6),e.Q6J("tabPanel",Z),e.xp6(1),e.s9C("routerLink",_.links[0].link),e.Q6J("active",_.activeLink===_.links[0].link),e.xp6(1),e.Oqu(_.links[0].name),e.xp6(1),e.s9C("routerLink",_.links[1].link),e.Q6J("active",_.activeLink===_.links[1].link),e.xp6(1),e.Oqu(_.links[1].name),e.xp6(1),e.Q6J("ngIf","LND"===(null==_.selNode||null==_.selNode.lnImplementation?null:_.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf","CLN"===(null==_.selNode||null==_.selNode.lnImplementation?null:_.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf",_.showLnConfig)}},dependencies:[Yi.O5,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,Ie.a8,Ie.dn,vt.BU,vt.sW,vt.Nj,Gn.lC,Gn.rH]});class re{constructor(M,_,Z){this.store=M,this.rtlEffects=_,this.router=Z,this.configData="",this.fileFormat="INI",this.faCog=qi.b7W,this.unSubs=[new zi.x,new zi.x]}ngOnInit(){this.store.dispatch((0,Zt.Q2)({payload:"ln"})),this.rtlEffects.showLnConfig.pipe((0,an.R)(this.unSubs[1])).subscribe(M=>{const _=M.data;this.fileFormat=M.format,this.configData=""===_||!_||"INI"!==this.fileFormat&&"HOCON"!==this.fileFormat?""!==_&&_&&"JSON"===this.fileFormat?_:"":_.split("\n")})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}re.\u0275fac=function(M){return new(M||re)(e.Y36(Ii.yh),e.Y36(Ta.V),e.Y36(Gn.F0))},re.\u0275cmp=e.Xpm({type:re,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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,J0,5,4,"div",2),e.YNc(3,Me,3,1,"div",3),e.qZA()()),2&M&&(e.xp6(2),e.Q6J("ngIf",""!==_.configData&&"JSON"===_.fileFormat),e.xp6(1),e.Q6J("ngIf",""!==_.configData&&("INI"===_.fileFormat||"HOCON"===_.fileFormat)))},dependencies:[Yi.sg,Yi.O5,Wi.xw,Wi.Wh,Wi.yH,Ie.$j,Ao.i$,Ao.Tg,zo.d,Yi.Ts],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});var Ne=p(2994),rt=p(429),Dt=p(6523),Nt=p(62),di=p(5829),Ai=p(752),on=p(1948),Qi=p(455);function Jn(F,M){if(1&F&&(e.TgZ(0,"mat-option",35),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.Q6J("value",_.id),e.xp6(1),e.hij(" ",_.id," ")}}function Aa(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Currency unit is required."),e.qZA())}function za(F,M){if(1&F&&(e.TgZ(0,"mat-radio-button",36),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.Q6J("value",_)("checked",Z.selNode.settings.userPersona===_),e.xp6(1),e.hij(" ",e.lcZ(2,3,_)," ")}}function Da(F,M){if(1&F&&(e.TgZ(0,"mat-radio-button",37),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.Q6J("value",_),e.xp6(1),e.hij("",_.name," ")}}const ds=function(F){return{skin:!0,"selected-color":F}};function ao(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"span",38)(1,"div",39),e.NdJ("click",function(){const xt=e.CHM(_).$implicit,Ut=e.oxw();return e.KtG(Ut.changeThemeColor(xt.id))}),e.ALo(2,"lowercase"),e.qZA(),e._uU(3),e.qZA()}if(2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Tol(e.lcZ(2,4,_.id)),e.Q6J("ngClass",e.VKq(6,ds,Z.selectedThemeColor===_.id)),e.xp6(2),e.hij(" ",_.name," ")}}class Rs{constructor(M,_,Z){this.logger=M,this.commonService=_,this.store=Z,this.faExclamationTriangle=qi.eHv,this.faMoneyBillAlt=qi.co4,this.faPaintBrush=qi.XsY,this.faInfoCircle=qi.sqG,this.faEyeSlash=qi.Aq,this.userPersonas=[Re.ol.OPERATOR,Re.ol.MERCHANT],this.currencyUnits=Re.Er,this.themeModes=Re.wZ.modes,this.themeColors=Re.wZ.themes,this.selectedThemeMode=Re.wZ.modes[0],this.selectedThemeColor=Re.wZ.themes[0].id,this.currencyUnit="BTC",this.smallerCurrencyUnit="Sats",this.showSettingOption=!0,this.screenSize="",this.screenSizeEnum=Re.cu,this.unSubs=[new zi.x,new zi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(ya.dT).pipe((0,an.R)(this.unSubs[0])).subscribe(M=>{this.selNode=M,this.selectedThemeMode=this.themeModes.find(_=>this.selNode.settings.themeMode===_.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(M)})}onCurrencyChange(M){this.selNode.settings.currencyUnits=[...Re.uA,M.value],this.store.dispatch((0,Dt.JT)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:M.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,rt.oo)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:M.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,Ne.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:M.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(M,_){this.selNode.settings[M]=!this.selNode.settings[M]}changeThemeColor(M){this.selectedThemeColor=M,this.selNode.settings.themeColor=M}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,Zt.zQ)({payload:{uiMessage:Re.m6.UPDATE_NODE_SETTINGS,settings:this.selNode.settings}})),this.store.dispatch((0,Dt.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,rt.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,Ne.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 M=this.selNode.index||-1;this.selNode.settings=this.previousSettings,this.selectedThemeMode=this.themeModes.find(_=>_.id===this.previousSettings.themeMode)||this.themeModes[0],this.selectedThemeColor=this.previousSettings.themeColor,this.store.dispatch((0,Zt.fk)({payload:{uiMessage:Re.m6.NO_SPINNER,prevLnNodeIndex:+M,currentLnNode:this.selNode,isInitialSetup:!0}}))}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(),M.complete()})}}Rs.\u0275fac=function(M){return new(M||Rs)(e.Y36(ri.mQ),e.Y36(Nt.v),e.Y36(Ii.yh))},Rs.\u0275cmp=e.Xpm({type:Rs,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(M,_){1&M&&(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(_e){return _.selNode.settings.unannouncedChannels=_e})("change",function(){return!_.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(_e){return _.selNode.settings.fiatConversion=_e})("change",function(){return!_.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(_e){return _.selNode.settings.currencyUnit=_e})("selectionChange",function(_e){return _.onCurrencyChange(_e)}),e.YNc(41,Jn,2,2,"mat-option",17),e.qZA(),e.YNc(42,Aa,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(_e){return _.selNode.settings.userPersona=_e}),e.YNc(58,za,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(_e){return _.selectedThemeMode=_e})("change",function(){return _.chooseThemeMode()}),e.YNc(64,Da,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,ao,4,8,"span",30),e.qZA()()()()()()(),e.TgZ(72,"div",31)(73,"div",32)(74,"button",33),e.NdJ("click",function(){return _.onResetSettings()}),e._uU(75,"Reset"),e.qZA(),e.TgZ(76,"button",34),e.NdJ("click",function(){return _.onUpdateSettings()}),e._uU(77,"Update"),e.qZA()()()()),2&M&&(e.xp6(7),e.Q6J("icon",_.faEyeSlash),e.xp6(5),e.Q6J("icon",_.faInfoCircle),e.xp6(4),e.Q6J("ngModel",_.selNode.settings.unannouncedChannels),e.xp6(5),e.Q6J("icon",_.faMoneyBillAlt),e.xp6(5),e.Q6J("icon",_.faExclamationTriangle),e.xp6(8),e.Q6J("ngModel",_.selNode.settings.fiatConversion),e.xp6(5),e.Q6J("disabled",!_.selNode.settings.fiatConversion)("required",_.selNode.settings.fiatConversion)("ngModel",_.selNode.settings.currencyUnit),e.xp6(2),e.Q6J("ngForOf",_.currencyUnits),e.xp6(1),e.Q6J("ngIf",_.selNode.settings.fiatConversion&&!_.selNode.settings.currencyUnit),e.xp6(4),e.Q6J("icon",_.faPaintBrush),e.xp6(5),e.Q6J("icon",_.faInfoCircle),e.xp6(6),e.Q6J("ngModel",_.selNode.settings.userPersona),e.xp6(1),e.Q6J("ngForOf",_.userPersonas),e.xp6(5),e.Q6J("ngModel",_.selectedThemeMode),e.xp6(1),e.Q6J("ngForOf",_.themeModes),e.xp6(7),e.Q6J("ngForOf",_.themeColors))},dependencies:[Yi.mk,Yi.sg,Yi.O5,Jt._Y,Jt.JJ,Jt.JL,Jt.Q7,Jt.On,Jt.F,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,di.oO,pi.lW,Ai.pp,Ai.ib,Ai.yz,Ai.yK,Ci.KE,Ci.hX,Ci.TO,zo.d,on.VQ,on.U0,Fi.gD,Zi.ey,Qi.Rr,tn.$V,xn.h,Yi.i8,Yi.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}"]});var hs=p(1365),Ll=p(9828),Bo=p(6529),Il=p(2501),us=p(7392),Xc=p(266),nc=p(9445);const Cc=function(F){return{error:F}};function ac(F,M){if(1&F&&e.GkF(0,14),2&F){const _=e.oxw(),Z=e.MAs(18);e.Q6J("ngTemplateOutlet",Z)("ngTemplateOutletContext",e.VKq(2,Cc,_.errorMessage))}}function X0(F,M){if(1&F&&(e.TgZ(0,"mat-option",31),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",_," ")}}function m2(F,M){if(1&F&&(e.TgZ(0,"mat-option",31),e._uU(1),e.ALo(2,"camelCaseWithSpaces"),e.ALo(3,"camelcaseWithReplace"),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw(3);e.Q6J("value",_),e.xp6(1),e.hij(" ","ECL"===Z.selNode.lnImplementation?e.lcZ(2,2,_):e.xi3(3,4,_,"_")," ")}}function wc(F,M){if(1&F&&(e.TgZ(0,"mat-option",31),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ","desc"===_?"Descending":"Ascending"," ")}}function s1(F,M){if(1&F&&(e.TgZ(0,"mat-option",34),e._uU(1),e.ALo(2,"camelCaseWithSpaces"),e.ALo(3,"camelcaseWithReplace"),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw(2).$implicit,_e=e.oxw(2);e.Q6J("value",_.column)("disabled",Z.columnSelection.length<=2&&Z.columnSelection.includes(_.column)),e.xp6(1),e.hij(" ",_.label?_.label:"ECL"===_e.selNode.lnImplementation?e.lcZ(2,3,_.column):e.xi3(3,5,_.column,"_")," ")}}function $0(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-form-field",32)(1,"mat-label"),e._uU(2,"Column selection (Desktop Resolution)"),e.qZA(),e.TgZ(3,"mat-select",33),e.NdJ("ngModelChange",function(_e){e.CHM(_);const xt=e.oxw().$implicit;return e.KtG(xt.columnSelection=_e)})("selectionChange",function(){e.CHM(_);const _e=e.oxw().$implicit,xt=e.oxw(2);return e.KtG(xt.oncolumnSelectionChange(_e))}),e.YNc(4,s1,4,8,"mat-option",28),e.qZA()()}if(2&F){const _=e.oxw().$implicit,Z=e.oxw().$implicit,_e=e.oxw();e.xp6(3),e.hYB("name","",Z.pageId,"",_.tableId,"-columns-selection"),e.Q6J("ngModel",_.columnSelection),e.xp6(1),e.Q6J("ngForOf",_e.nodePageDefs[Z.pageId][_.tableId].allowedColumns)}}function p2(F,M){if(1&F&&(e.TgZ(0,"mat-option",34),e._uU(1),e.ALo(2,"camelCaseWithSpaces"),e.ALo(3,"camelcaseWithReplace"),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw().$implicit,_e=e.oxw(2);e.Q6J("value",_.column)("disabled",Z.columnSelectionSM.length<=1&&Z.columnSelectionSM.includes(_.column)||Z.columnSelectionSM.length>=3&&!Z.columnSelectionSM.includes(_.column)),e.xp6(1),e.hij(" ",_.label?_.label:"ECL"===_e.selNode.lnImplementation?e.lcZ(2,3,_.column):e.xi3(3,5,_.column,"_")," ")}}const Gu=function(F){return{"ml-minus-1":F}};function $c(F,M){if(1&F){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(_e){const Ut=e.CHM(_).$implicit;return e.KtG(Ut.recordsPerPage=_e)}),e.YNc(9,X0,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(_e){const Ut=e.CHM(_).$implicit;return e.KtG(Ut.sortBy=_e)}),e.YNc(14,m2,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(_e){const Ut=e.CHM(_).$implicit;return e.KtG(Ut.sortOrder=_e)}),e.YNc(19,wc,2,2,"mat-option",22),e.qZA()(),e.YNc(20,$0,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(_e){const Ut=e.CHM(_).$implicit;return e.KtG(Ut.columnSelectionSM=_e)}),e.YNc(25,p2,4,8,"mat-option",28),e.qZA()(),e.TgZ(26,"button",29),e.NdJ("click",function(){const xt=e.CHM(_).$implicit,Ut=e.oxw().$implicit,Xt=e.oxw();return e.KtG(Xt.onTableReset(Ut.pageId,xt))}),e.TgZ(27,"mat-icon",30),e._uU(28,"restore"),e.qZA()()()()}if(2&F){const _=M.$implicit,Z=e.oxw().$implicit,_e=e.oxw();e.xp6(3),e.hij("",e.xi3(4,20,_.tableId,"_"),":"),e.xp6(5),e.hYB("name","",Z.pageId,"",_.tableId,"-page-size-options"),e.Q6J("disabled",_e.nodePageDefs[Z.pageId][_.tableId].disablePageSize)("ngModel",_.recordsPerPage),e.xp6(1),e.Q6J("ngForOf",_e.pageSizeOptions),e.xp6(4),e.hYB("name","",Z.pageId,"",_.tableId,"-sort-by"),e.Q6J("ngModel",_.sortBy),e.xp6(1),e.Q6J("ngForOf",_.columnSelection),e.xp6(4),e.hYB("name","",Z.pageId,"",_.tableId,"-sort-order"),e.Q6J("ngModel",_.sortOrder),e.xp6(1),e.Q6J("ngForOf",_e.sortOrders),e.xp6(1),e.Q6J("ngIf",_e.screenSize!==_e.screenSizeEnum.XS),e.xp6(4),e.hYB("name","",Z.pageId,"",_.tableId,"-columns-selection-sm"),e.Q6J("ngModel",_.columnSelectionSM),e.xp6(1),e.Q6J("ngForOf",_e.nodePageDefs[Z.pageId][_.tableId].allowedColumns),e.xp6(2),e.Q6J("ngClass",e.VKq(23,Gu,_e.screenSize===_e.screenSizeEnum.XS||_e.screenSize===_e.screenSizeEnum.SM))}}function Mc(F,M){if(1&F&&e.GkF(0,14),2&F){const _=e.oxw(2),Z=e.MAs(18);e.Q6J("ngTemplateOutlet",Z)("ngTemplateOutletContext",e.VKq(2,Cc,_.errorMessage))}}const ed=function(F){return{"error-border":F}};function g2(F,M){if(1&F&&(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,$c,29,25,"div",16),e.YNc(6,Mc,1,4,"ng-container",6),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.Q6J("ngClass",e.VKq(7,ed,(null==Z.errorMessage?null:Z.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",Z.errorMessage&&(null==Z.errorMessage?null:Z.errorMessage.page)===_.pageId)}}function _2(F,M){if(1&F&&(e.TgZ(0,"mat-panel-title"),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&F){const _=e.oxw().error;e.xp6(1),e.hij("Page ",e.lcZ(2,1,_.page),"")}}function td(F,M){if(1&F&&(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&F){const _=e.oxw().error;e.xp6(4),e.Oqu(_.message)}}function v2(F,M){if(1&F&&(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&F){const _=M.$implicit;e.xp6(4),e.AsE("Table ",e.lcZ(5,2,_.table)," ",_.message,"")}}const id=function(F){return{"error-border p-2":F}};function eh(F,M){if(1&F&&(e.TgZ(0,"div",35),e.YNc(1,_2,3,3,"mat-panel-title",36),e.TgZ(2,"mat-list",37),e.YNc(3,td,5,1,"mat-list-item",36),e.YNc(4,v2,6,4,"mat-list-item",38),e.qZA()()),2&F){const _=M.error,Z=e.oxw();e.Q6J("ngClass",e.VKq(4,id,"unknown"===Z.errorMessage.page)),e.xp6(1),e.Q6J("ngIf","unknown"===Z.errorMessage.page),e.xp6(2),e.Q6J("ngIf",_.message),e.xp6(1),e.Q6J("ngForOf",_.tables)}}class el{constructor(M,_,Z,_e){this.logger=M,this.commonService=_,this.store=Z,this.actions=_e,this.faPenRuler=qi.SoD,this.faExclamationTriangle=qi.eHv,this.screenSize="",this.screenSizeEnum=Re.cu,this.pageSizeOptions=Re.TJ,this.pageSettings=[],this.initialPageSettings=[],this.defaultSettings=[],this.nodePageDefs={},this.sortOrders=Re.zZ,this.apiCallStatus=null,this.apiCallStatusEnum=Re.Bn,this.errorMessage=null,this.unSubs=[new zi.x,new zi.x,new zi.x,new zi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(ya.dT).pipe((0,an.R)(this.unSubs[0])).subscribe(M=>{switch(this.selNode=M,this.logger.info(this.selNode),this.selNode.lnImplementation){case"CLN":this.initialPageSettings=Object.assign([],Re.gG),this.defaultSettings=Object.assign([],Re.gG),this.nodePageDefs=Re.At,this.store.select(Ll.AS).pipe((0,an.R)(this.unSubs[1]),(0,hs.M)(this.store.select(Ll.lw))).subscribe(([_,Z])=>{const _e=JSON.parse(JSON.stringify(_.pageSettings));if(this.errorMessage=null,this.apiCallStatus=_.apiCallStatus,this.apiCallStatus.status===Re.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=_e,this.initialPageSettings=_e;else{if(!Z?.enableOffers){const xt=_e.find(ci=>"transactions"===ci.pageId),Ut=xt?.tables.findIndex(ci=>"offers"===ci.tableId),Xt=xt?.tables.findIndex(ci=>"offer_bookmarks"===ci.tableId);Ut>-1&&xt?.tables.splice(Ut,1),Xt>-1&&xt?.tables.splice(Xt,1)}if(!Z?.enablePeerswap){const xt=_e.findIndex(Ut=>"peerswap"===Ut.pageId);xt>-1&&_e.splice(xt,1)}this.pageSettings=_e,this.initialPageSettings=_e}this.logger.info(_e)}),this.actions.pipe((0,an.R)(this.unSubs[2]),(0,Ra.h)(_=>_.type===Re.AB.UPDATE_API_CALL_STATUS_CLN||_.type===Re.AB.SAVE_PAGE_SETTINGS_CLN)).subscribe(_=>{_.type===Re.AB.UPDATE_API_CALL_STATUS_CLN&&_.payload.status===Re.Bn.ERROR&&"SavePageSettings"===_.payload.action&&(this.errorMessage=JSON.parse(_.payload.message))});break;case"ECL":this.initialPageSettings=Object.assign([],Re.c3),this.defaultSettings=Object.assign([],Re.c3),this.nodePageDefs=Re.Xk,this.store.select(Il.nF).pipe((0,an.R)(this.unSubs[1]),(0,hs.M)(this.store.select(Il.LR))).subscribe(([_,Z])=>{const _e=JSON.parse(JSON.stringify(_.pageSettings));this.errorMessage=null,this.apiCallStatus=_.apiCallStatus,this.apiCallStatus.status===Re.Bn.ERROR?(this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=_e,this.initialPageSettings=_e):(this.pageSettings=_e,this.initialPageSettings=_e),this.logger.info(_e)}),this.actions.pipe((0,an.R)(this.unSubs[2]),(0,Ra.h)(_=>_.type===Re.lr.UPDATE_API_CALL_STATUS_ECL||_.type===Re.lr.SAVE_PAGE_SETTINGS_ECL)).subscribe(_=>{_.type===Re.lr.UPDATE_API_CALL_STATUS_ECL&&_.payload.status===Re.Bn.ERROR&&"SavePageSettings"===_.payload.action&&(this.errorMessage=JSON.parse(_.payload.message))});break;default:this.initialPageSettings=Object.assign([],Re.gK),this.defaultSettings=Object.assign([],Re.gK),this.nodePageDefs=Re.hG,this.store.select(Bo.Pr).pipe((0,an.R)(this.unSubs[1]),(0,hs.M)(this.store.select(Bo.$k))).subscribe(([_,Z])=>{const _e=JSON.parse(JSON.stringify(_.pageSettings));if(this.errorMessage=null,this.apiCallStatus=_.apiCallStatus,this.apiCallStatus.status===Re.Bn.ERROR)this.errorMessage=this.apiCallStatus.message||null,this.pageSettings=_e,this.initialPageSettings=_e;else{if(!Z?.swapServerUrl||""===Z.swapServerUrl.trim()){const xt=_e.findIndex(Ut=>"loop"===Ut.pageId);xt>-1&&_e.splice(xt,1)}if(!Z?.boltzServerUrl||""===Z.boltzServerUrl.trim()){const xt=_e.findIndex(Ut=>"boltz"===Ut.pageId);xt>-1&&_e.splice(xt,1)}if(!Z?.enablePeerswap){const xt=_e.findIndex(Ut=>"peerswap"===Ut.pageId);xt>-1&&_e.splice(xt,1)}this.pageSettings=_e,this.initialPageSettings=_e}this.logger.info(_e)}),this.actions.pipe((0,an.R)(this.unSubs[2]),(0,Ra.h)(_=>_.type===Re.uR.UPDATE_API_CALL_STATUS_LND||_.type===Re.uR.SAVE_PAGE_SETTINGS_LND)).subscribe(_=>{_.type===Re.uR.UPDATE_API_CALL_STATUS_LND&&_.payload.status===Re.Bn.ERROR&&"SavePageSettings"===_.payload.action&&(this.errorMessage=JSON.parse(_.payload.message))})}})}oncolumnSelectionChange(M){M.columnSelection&&(!M.sortBy||!M.columnSelection.includes(M.sortBy))&&(M.sortBy=M.columnSelection[0])}onUpdatePageSettings(){if(this.pageSettings.reduce((M,_)=>M||_.tables.reduce((Z,_e)=>!(_e.recordsPerPage&&_e.sortBy&&_e.sortOrder&&_e.columnSelection&&_e.columnSelection.length>=2),!1),!1))return!0;switch(this.errorMessage="",this.selNode.lnImplementation){case"CLN":this.store.dispatch((0,rt.eF)({payload:this.pageSettings}));break;case"ECL":this.store.dispatch((0,Ne.eF)({payload:this.pageSettings}));break;default:this.store.dispatch((0,Dt.eF)({payload:this.pageSettings}))}}onTableReset(M,_){const Z=this.pageSettings.findIndex(Ut=>Ut.pageId===M),_e=this.pageSettings[Z].tables.findIndex(Ut=>Ut.tableId===_.tableId),xt=this.defaultSettings.find(Ut=>Ut.pageId===M)?.tables.find(Ut=>Ut.tableId===_.tableId)||this.pageSettings.find(Ut=>Ut.pageId===M)?.tables.find(Ut=>Ut.tableId===_.tableId);this.pageSettings[Z].tables.splice(_e,1,xt)}onResetPageSettings(M){"current"===M?(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(M=>{M.next(),M.complete()})}}function tl(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",10),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.activeLink=_e.links[0].link)}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.s9C("routerLink",_.links[0].link),e.Q6J("active",_.activeLink===_.links[0].link),e.xp6(1),e.Oqu(_.links[0].name)}}el.\u0275fac=function(M){return new(M||el)(e.Y36(ri.mQ),e.Y36(Nt.v),e.Y36(Ii.yh),e.Y36(Qa.eX))},el.\u0275cmp=e.Xpm({type:el,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(M,_){1&M&&(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,ac,1,4,"ng-container",6),e.TgZ(8,"mat-accordion",7),e.YNc(9,g2,7,9,"mat-expansion-panel",8),e.qZA()(),e.TgZ(10,"div",9)(11,"button",10),e.NdJ("click",function(){return _.onResetPageSettings("current")}),e._uU(12,"Reset"),e.qZA(),e.TgZ(13,"button",11),e.NdJ("click",function(){return _.onResetPageSettings("default")}),e._uU(14,"Reset to Default"),e.qZA(),e.TgZ(15,"button",12),e.NdJ("click",function(){return _.onUpdatePageSettings()}),e._uU(16,"Save"),e.qZA()()(),e.YNc(17,eh,5,6,"ng-template",null,13,e.W1O)),2&M&&(e.xp6(4),e.Q6J("icon",_.faPenRuler),e.xp6(3),e.Q6J("ngIf",_.errorMessage&&"unknown"===_.errorMessage.page),e.xp6(2),e.Q6J("ngForOf",_.pageSettings))},dependencies:[Yi.mk,Yi.sg,Yi.O5,Yi.tP,Jt._Y,Jt.JJ,Jt.JL,Jt.Q7,Jt.On,Jt.F,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,di.oO,pi.lW,pi.RK,Ai.pp,Ai.ib,Ai.yz,Ai.yK,us.Hw,Ci.KE,Ci.hX,Ao.i$,Ao.Tg,Fi.gD,Zi.ey,Xc.gM,tn.$V,Yi.rS,nc.D3,nc.i1],styles:[".table-setting-row[_ngcontent-%COMP%]:not(:first-child){margin:.5rem 0}"]});const fs=function(){return{initial:!1}};function Do(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",11),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.activeLink=_e.links[1].link)}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.s9C("routerLink",_.links[1].link),e.Q6J("active",_.activeLink===_.links[1].link)("state",e.DdM(4,fs)),e.xp6(1),e.Oqu(_.links[1].name)}}function ms(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",10),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.activeLink=_e.links[2].link)}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw();e.s9C("routerLink",_.links[2].link),e.Q6J("active",_.activeLink===_.links[2].link),e.xp6(1),e.Oqu(_.links[2].name)}}class qo{constructor(M,_,Z){this.store=M,this.router=_,this.activatedRoute=Z,this.faLayerGroup=qi.Krp,this.links=[{link:"loop",name:"Loop"},{link:"boltz",name:"Boltz"},{link:"peerswap",name:"Peerswap"}],this.activeLink="",this.unSubs=[new zi.x,new zi.x,new zi.x]}ngOnInit(){const M=this.links.find(_=>this.router.url.includes(_.link));this.activeLink=M?M.link:this.links[0].link,this.router.events.pipe((0,an.R)(this.unSubs[0]),(0,Ra.h)(_=>_ instanceof Gn.Av)).subscribe({next:_=>{const Z=this.links.find(_e=>_.urlAfterRedirects.includes(_e.link));this.activeLink="CLN"===this.selNode.lnImplementation.toUpperCase()?this.links[2].link:Z?Z.link:this.links[0].link}}),this.store.select(ya.dT).pipe((0,an.R)(this.unSubs[1])).subscribe(_=>{this.selNode=_,"CLN"===this.selNode.lnImplementation.toUpperCase()&&(this.activeLink=this.links[2].link,this.router.navigate(["./"+this.activeLink],{relativeTo:this.activatedRoute}))})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}qo.\u0275fac=function(M){return new(M||qo)(e.Y36(Ii.yh),e.Y36(Gn.F0),e.Y36(Gn.gz))},qo.\u0275cmp=e.Xpm({type:qo,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(M,_){if(1&M&&(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,tl,2,3,"div",6),e.YNc(10,Do,2,5,"div",7),e.YNc(11,ms,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&M){const Z=e.MAs(13);e.xp6(2),e.Q6J("icon",_.faLayerGroup),e.xp6(6),e.Q6J("tabPanel",Z),e.xp6(1),e.Q6J("ngIf","LND"===(null==_.selNode||null==_.selNode.lnImplementation?null:_.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf","LND"===(null==_.selNode||null==_.selNode.lnImplementation?null:_.selNode.lnImplementation.toUpperCase())),e.xp6(1),e.Q6J("ngIf","CLN"===(null==_.selNode||null==_.selNode.lnImplementation?null:_.selNode.lnImplementation.toUpperCase()))}},dependencies:[Yi.O5,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,Ie.a8,Ie.dn,vt.BU,vt.sW,vt.Nj,Gn.lC,Gn.rH]});const c1=["form"];function th(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Loop server URL is required."),e.qZA())}function nd(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Specify the loop server url with 'https://'."),e.qZA())}function ad(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Loop macaroon path is required."),e.qZA())}class Ns{constructor(M,_){this.logger=M,this.store=_,this.faInfoCircle=qi.sqG,this.enableLoop=!1,this.unSubs=[new zi.x,new zi.x]}ngOnInit(){this.store.select(ya.dT).pipe((0,an.R)(this.unSubs[0])).subscribe(M=>{this.selNode=M,this.enableLoop=!(!M.settings.swapServerUrl||""===M.settings.swapServerUrl.trim()),this.previousSelNode=JSON.parse(JSON.stringify(this.selNode)),this.logger.info(M)})}onEnableServiceChanged(M){this.enableLoop=M.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,Zt.jS)({payload:{uiMessage:Re.m6.UPDATE_LOOP_SETTINGS,service:Re.JX.LOOP,settings:{enable:this.enableLoop,serverUrl:this.selNode.settings.swapServerUrl,macaroonPath:this.selNode.authentication.swapMacaroonPath}}})),this.store.dispatch((0,Dt.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,rt.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,Ne.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(M=>{M.next(),M.complete()})}}Ns.\u0275fac=function(M){return new(M||Ns)(e.Y36(ri.mQ),e.Y36(Ii.yh))},Ns.\u0275cmp=e.Xpm({type:Ns,selectors:[["rtl-loop-service-settings"]],viewQuery:function(M,_){if(1&M&&e.Gf(c1,7),2&M){let Z;e.iGM(Z=e.CRH())&&(_.form=Z.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(M,_){if(1&M&&(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(_e){return _.enableLoop=_e})("change",function(_e){return _.onEnableServiceChanged(_e)}),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(_e){return _.selNode.settings.swapServerUrl=_e}),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,th,2,0,"mat-error",11),e.YNc(25,nd,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(_e){return _.selNode.authentication.swapMacaroonPath=_e}),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,ad,2,0,"mat-error",11),e.qZA()()(),e.TgZ(33,"div",13)(34,"button",14),e.NdJ("click",function(){return _.onReset()}),e._uU(35,"Reset"),e.qZA(),e.TgZ(36,"button",15),e.NdJ("click",function(){return _.onUpdateService()}),e._uU(37,"Update"),e.qZA()()()),2&M){const Z=e.MAs(21);e.xp6(2),e.Q6J("icon",_.faInfoCircle),e.xp6(13),e.Q6J("ngModel",_.enableLoop),e.xp6(5),e.Q6J("required",_.enableLoop)("disabled",!_.enableLoop)("ngModel",_.selNode.settings.swapServerUrl),e.xp6(4),e.Q6J("ngIf",!_.selNode.settings.swapServerUrl&&_.enableLoop),e.xp6(1),e.Q6J("ngIf",(null==Z||null==Z.errors?null:Z.errors.invalid)&&_.enableLoop),e.xp6(4),e.Q6J("required",_.enableLoop)("disabled",!_.enableLoop)("ngModel",_.selNode.authentication.swapMacaroonPath),e.xp6(3),e.Q6J("ngIf",!_.selNode.authentication.swapMacaroonPath&&_.enableLoop)}},dependencies:[Yi.O5,Jt._Y,Jt.Fj,Jt.JJ,Jt.JL,Jt.Q7,Jt.On,Jt.F,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,pi.lW,Wa.Nt,Ci.KE,Ci.hX,Ci.bx,Ci.TO,Qi.Rr,tn.$V,xn.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});const dr=["form"];function rd(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Boltz server URL is required."),e.qZA())}function od(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Specify the boltz server url with 'https://'."),e.qZA())}function Cf(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Boltz macaroon path is required."),e.qZA())}class il{constructor(M,_){this.logger=M,this.store=_,this.faInfoCircle=qi.sqG,this.enableBoltz=!1,this.serverUrl="",this.macaroonPath="",this.unSubs=[new zi.x,new zi.x]}ngOnInit(){this.store.select(ya.dT).pipe((0,an.R)(this.unSubs[0])).subscribe(M=>{this.selNode=M,this.enableBoltz=!(!M.settings.boltzServerUrl||""===M.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(M)})}onEnableServiceChanged(M){this.enableBoltz=M.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,Zt.jS)({payload:{uiMessage:Re.m6.UPDATE_BOLTZ_SETTINGS,service:Re.JX.BOLTZ,settings:{enable:this.enableBoltz,serverUrl:this.serverUrl,macaroonPath:this.macaroonPath}}})),this.store.dispatch((0,Dt.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,rt.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,Ne.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(M=>{M.next(),M.complete()})}}il.\u0275fac=function(M){return new(M||il)(e.Y36(ri.mQ),e.Y36(Ii.yh))},il.\u0275cmp=e.Xpm({type:il,selectors:[["rtl-boltz-service-settings"]],viewQuery:function(M,_){if(1&M&&e.Gf(dr,7),2&M){let Z;e.iGM(Z=e.CRH())&&(_.form=Z.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(M,_){if(1&M&&(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(_e){return _.enableBoltz=_e})("change",function(_e){return _.onEnableServiceChanged(_e)}),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(_e){return _.serverUrl=_e}),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,rd,2,0,"mat-error",11),e.YNc(25,od,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(_e){return _.macaroonPath=_e}),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,Cf,2,0,"mat-error",11),e.qZA()()(),e.TgZ(33,"div",13)(34,"button",14),e.NdJ("click",function(){return _.onReset()}),e._uU(35,"Reset"),e.qZA(),e.TgZ(36,"button",15),e.NdJ("click",function(){return _.onUpdateService()}),e._uU(37,"Update"),e.qZA()()()),2&M){const Z=e.MAs(21);e.xp6(2),e.Q6J("icon",_.faInfoCircle),e.xp6(13),e.Q6J("ngModel",_.enableBoltz),e.xp6(5),e.Q6J("required",_.enableBoltz)("disabled",!_.enableBoltz)("ngModel",_.serverUrl),e.xp6(4),e.Q6J("ngIf",(!_.serverUrl||""===_.serverUrl.trim())&&_.enableBoltz),e.xp6(1),e.Q6J("ngIf",(null==Z||null==Z.errors?null:Z.errors.invalid)&&_.enableBoltz),e.xp6(4),e.Q6J("required",_.enableBoltz)("disabled",!_.enableBoltz)("ngModel",_.macaroonPath),e.xp6(3),e.Q6J("ngIf",!_.macaroonPath&&_.enableBoltz)}},dependencies:[Yi.O5,Jt._Y,Jt.Fj,Jt.JJ,Jt.JL,Jt.Q7,Jt.On,Jt.F,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,pi.lW,Wa.Nt,Ci.KE,Ci.hX,Ci.bx,Ci.TO,Qi.Rr,tn.$V,xn.h],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});class rc{constructor(){}}rc.\u0275fac=function(M){return new(M||rc)},rc.\u0275cmp=e.Xpm({type:rc,selectors:[["rtl-ln-services"]],decls:1,vars:0,template:function(M,_){1&M&&e._UZ(0,"router-outlet")},dependencies:[Gn.lC]});var Zu=p(2615),l1=p(9107),Sc=p(8739),nl=p(6308),ia=p(671),kl=p(3162);function ih(F,M){if(1&F&&(e.TgZ(0,"mat-option",37),e._uU(1),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.Q6J("value",_),e.xp6(1),e.Oqu(Z.getLabel(_))}}function d1(F,M){1&F&&e._UZ(0,"mat-progress-bar",38)}function Lo(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"State"),e.qZA())}function Wu(F,M){if(1&F&&(e.TgZ(0,"td",40),e._uU(1),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Oqu(Z.LoopStateEnum[null==_?null:_.state])}}function oc(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"Initiation Time"),e.qZA())}function h1(F,M){if(1&F&&(e.TgZ(0,"td",40),e._uU(1),e.ALo(2,"date"),e.qZA()),2&F){const _=M.$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,(null==_?null:_.initiation_time)/1e6,"dd/MMM/y HH:mm"))}}function Ol(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"Last Update Time"),e.qZA())}function sd(F,M){if(1&F&&(e.TgZ(0,"td",40),e._uU(1),e.ALo(2,"date"),e.qZA()),2&F){const _=M.$implicit;e.xp6(1),e.Oqu(e.xi3(2,1,(null==_?null:_.last_update_time)/1e6,"dd/MMM/y HH:mm"))}}function b2(F,M){1&F&&(e.TgZ(0,"th",41),e._uU(1,"Amount (Sats)"),e.qZA())}function al(F,M){if(1&F&&(e.TgZ(0,"td",40)(1,"span",42),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.amt))}}function nh(F,M){1&F&&(e.TgZ(0,"th",41),e._uU(1,"Cost Server (Sats)"),e.qZA())}function y2(F,M){if(1&F&&(e.TgZ(0,"td",40)(1,"span",42),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.cost_server))}}function Yu(F,M){1&F&&(e.TgZ(0,"th",41),e._uU(1,"Cost Offchain (Sats)"),e.qZA())}function ju(F,M){if(1&F&&(e.TgZ(0,"td",40)(1,"span",42),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.cost_offchain))}}function Io(F,M){1&F&&(e.TgZ(0,"th",41),e._uU(1,"Cost Onchain (Sats)"),e.qZA())}function x2(F,M){if(1&F&&(e.TgZ(0,"td",40)(1,"span",42),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(2),e.hij(" ",e.lcZ(3,1,null==_?null:_.cost_onchain)," ")}}function ah(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"HTLC Address"),e.qZA())}const u1=function(F){return{width:F}};function Wr(F,M){if(1&F&&(e.TgZ(0,"td",40)(1,"span",43)(2,"span",44),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,u1,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.htlc_address)}}function Ec(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"ID"),e.qZA())}function cd(F,M){if(1&F&&(e.TgZ(0,"td",40)(1,"span",43)(2,"span",44),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,u1,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.id)}}function rh(F,M){1&F&&(e.TgZ(0,"th",39),e._uU(1,"ID (Bytes)"),e.qZA())}function ld(F,M){if(1&F&&(e.TgZ(0,"td",40)(1,"span",43)(2,"span",44),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,u1,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.id_bytes)}}function Fs(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"th",45)(1,"div",46)(2,"mat-select",47),e._UZ(3,"mat-select-trigger"),e.TgZ(4,"mat-option",48),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.onDownloadCSV())}),e._uU(5,"Download CSV"),e.qZA()()()()}}function Ku(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"td",49)(1,"button",50),e.NdJ("click",function(_e){const Ut=e.CHM(_).$implicit,Xt=e.oxw();return e.KtG(Xt.onSwapClick(Ut,_e))}),e._uU(2,"View Info"),e.qZA()()}}function dd(F,M){if(1&F&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&F){const _=e.oxw(2);e.xp6(1),e.Oqu(_.emptyTableMessage)}}function C2(F,M){if(1&F&&(e.TgZ(0,"td",51),e.YNc(1,dd,2,1,"p",52),e.qZA()),2&F){const _=e.oxw();e.xp6(1),e.Q6J("ngIf",!(null!=_.listSwaps&&_.listSwaps.data)||(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)<1)}}const oh=function(F){return{"display-none":F}};function w2(F,M){if(1&F&&e._UZ(0,"tr",53),2&F){const _=e.oxw();e.Q6J("ngClass",e.VKq(1,oh,(null==_.listSwaps?null:_.listSwaps.data)&&(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)>0))}}function sh(F,M){1&F&&e._UZ(0,"tr",54)}function M2(F,M){1&F&&e._UZ(0,"tr",55)}const f1=function(){return["all"]},hd=function(F){return{"overflow-auto error-border":F,"overflow-auto":!0}},Pl=function(){return["no_swap"]};class Jo{constructor(M,_,Z,_e,xt,Ut){this.logger=M,this.commonService=_,this.store=Z,this.loopService=_e,this.datePipe=xt,this.camelCaseWithReplace=Ut,this.selectedSwapType=Re.$I.LOOP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Re.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="loop",this.tableSetting={tableId:"loop",recordsPerPage:Re.IV,sortBy:"initiation_time",sortOrder:Re.Pi.DESCENDING},this.LoopStateEnum=Re.Fq,this.faHistory=qi.qO$,this.swapCaption="Loop Out",this.displayedColumns=[],this.listSwaps=new ia.by([]),this.selFilter="",this.pageSize=Re.IV,this.pageSizeOptions=Re.TJ,this.screenSize="",this.screenSizeEnum=Re.cu,this.unSubs=[new zi.x,new zi.x,new zi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Bo.Pr).pipe((0,an.R)(this.unSubs[0])).subscribe(M=>{this.tableSetting=M.pageSettings.find(_=>_.pageId===this.PAGE_ID)?.tables.find(_=>_.tableId===this.tableSetting.tableId)||Re.gK.find(_=>_.pageId===this.PAGE_ID)?.tables.find(_=>_.tableId===this.tableSetting.tableId),this.displayedColumns=this.screenSize===Re.cu.XS||this.screenSize===Re.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:Re.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(M){this.swapCaption=this.selectedSwapType===Re.$I.LOOP_IN?"Loop In":"Loop Out",this.loadSwapsTable(this.swapsData)}applyFilter(){this.listSwaps.filter=this.selFilter.trim().toLowerCase()}getLabel(M){const _=this.nodePageDefs[this.PAGE_ID][this.tableSetting.tableId].allowedColumns.find(Z=>Z.column===M);return _?_.label?_.label:this.camelCaseWithReplace.transform(_.column,"_"):this.commonService.titleCase(M)}setFilterPredicate(){this.listSwaps.filterPredicate=(M,_)=>{let Z="";switch(this.selFilterBy){case"all":Z=JSON.stringify(M).toLowerCase();break;case"state":Z=M?.state?this.LoopStateEnum[M?.state]:"";break;case"initiation_time":case"last_update_time":Z=this.datePipe.transform(new Date((M[this.selFilterBy]||0)/1e6),"dd/MMM/y HH:mm")?.toLowerCase()||"";break;default:Z=typeof M[this.selFilterBy]>"u"?"":"string"==typeof M[this.selFilterBy]?M[this.selFilterBy].toLowerCase():"boolean"==typeof M[this.selFilterBy]?M[this.selFilterBy]?"yes":"no":M[this.selFilterBy].toString()}return"state"===this.selFilterBy?0===Z.indexOf(_):Z.includes(_)}}onSwapClick(M,_){this.loopService.getSwap(M.id_bytes?.replace(/\//g,"_")?.replace(/\+/g,"-")||"").pipe((0,an.R)(this.unSubs[1])).subscribe(Z=>{this.store.dispatch((0,Zt.qR)({payload:{data:{type:Re.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"state",value:Re.Fq[Z.state||""],title:"Status",width:50,type:Re.Gi.STRING},{key:"amt",value:Z.amt,title:"Amount (Sats)",width:50,type:Re.Gi.NUMBER}],[{key:"initiation_time",value:(Z.initiation_time||0)/1e9,title:"Initiation Time",width:50,type:Re.Gi.DATE_TIME},{key:"last_update_time",value:(Z.last_update_time||0)/1e9,title:"Last Update Time",width:50,type:Re.Gi.DATE_TIME}],[{key:"cost_server",value:Z.cost_server,title:"Server Cost (Sats)",width:33,type:Re.Gi.NUMBER},{key:"cost_offchain",value:Z.cost_offchain,title:"Offchain Cost (Sats)",width:33,type:Re.Gi.NUMBER},{key:"cost_onchain",value:Z.cost_onchain,title:"Onchain Cost (Sats)",width:34,type:Re.Gi.NUMBER}],[{key:"id_bytes",value:Z.id_bytes,title:"ID",width:100,type:Re.Gi.STRING}],[{key:"htlc_address",value:Z.htlc_address,title:"HTLC Address",width:100,type:Re.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(M){this.listSwaps=new ia.by([...M]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(_,Z)=>_[Z]&&isNaN(_[Z])?_[Z].toLocaleLowerCase():_[Z]?+_[Z]: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===Re.$I.LOOP_IN?"Loop in":"Loop out")}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}Jo.\u0275fac=function(M){return new(M||Jo)(e.Y36(ri.mQ),e.Y36(Nt.v),e.Y36(Ii.yh),e.Y36(l1.W),e.Y36(Yi.uU),e.Y36(nc.D3))},Jo.\u0275cmp=e.Xpm({type:Jo,selectors:[["rtl-swaps"]],viewQuery:function(M,_){if(1&M&&(e.Gf(nl.YE,5),e.Gf(Sc.NW,5)),2&M){let Z;e.iGM(Z=e.CRH())&&(_.sort=Z.first),e.iGM(Z=e.CRH())&&(_.paginator=Z.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[e._Bn([{provide:Fi.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:Sc.ye,useValue:(0,Re.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(M,_){1&M&&(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(_e){return _.selFilterBy=_e})("selectionChange",function(){return _.selFilter="",_.applyFilter()}),e.TgZ(11,"perfect-scrollbar"),e.YNc(12,ih,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(_e){return _.selFilter=_e})("input",function(){return _.applyFilter()})("keyup",function(){return _.applyFilter()}),e.qZA()()()(),e.TgZ(17,"div",10)(18,"div",11),e.YNc(19,d1,1,0,"mat-progress-bar",12),e.TgZ(20,"table",13,14),e.ynx(22,15),e.YNc(23,Lo,2,0,"th",16),e.YNc(24,Wu,2,1,"td",17),e.BQk(),e.ynx(25,18),e.YNc(26,oc,2,0,"th",16),e.YNc(27,h1,3,4,"td",17),e.BQk(),e.ynx(28,19),e.YNc(29,Ol,2,0,"th",16),e.YNc(30,sd,3,4,"td",17),e.BQk(),e.ynx(31,20),e.YNc(32,b2,2,0,"th",21),e.YNc(33,al,4,3,"td",17),e.BQk(),e.ynx(34,22),e.YNc(35,nh,2,0,"th",21),e.YNc(36,y2,4,3,"td",17),e.BQk(),e.ynx(37,23),e.YNc(38,Yu,2,0,"th",21),e.YNc(39,ju,4,3,"td",17),e.BQk(),e.ynx(40,24),e.YNc(41,Io,2,0,"th",21),e.YNc(42,x2,4,3,"td",17),e.BQk(),e.ynx(43,25),e.YNc(44,ah,2,0,"th",16),e.YNc(45,Wr,4,4,"td",17),e.BQk(),e.ynx(46,26),e.YNc(47,Ec,2,0,"th",16),e.YNc(48,cd,4,4,"td",17),e.BQk(),e.ynx(49,27),e.YNc(50,rh,2,0,"th",16),e.YNc(51,ld,4,4,"td",17),e.BQk(),e.ynx(52,28),e.YNc(53,Fs,6,0,"th",29),e.YNc(54,Ku,3,0,"td",30),e.BQk(),e.ynx(55,31),e.YNc(56,C2,2,1,"td",32),e.BQk(),e.YNc(57,w2,1,3,"tr",33),e.YNc(58,sh,1,0,"tr",34),e.YNc(59,M2,1,0,"tr",35),e.qZA(),e._UZ(60,"mat-paginator",36),e.qZA()()()),2&M&&(e.xp6(3),e.Q6J("icon",_.faHistory),e.xp6(2),e.hij("",_.swapCaption," History"),e.xp6(5),e.Q6J("ngModel",_.selFilterBy),e.xp6(2),e.Q6J("ngForOf",e.DdM(16,f1).concat(_.displayedColumns.slice(0,-1))),e.xp6(4),e.Q6J("ngModel",_.selFilter),e.xp6(3),e.Q6J("ngIf",!0===_.flgLoading[0]),e.xp6(1),e.Q6J("matSortActive",_.tableSetting.sortBy)("matSortDirection",_.tableSetting.sortOrder)("dataSource",_.listSwaps)("ngClass",e.VKq(17,hd,"error"===_.flgLoading[0])),e.xp6(37),e.Q6J("matFooterRowDef",e.DdM(19,Pl)),e.xp6(1),e.Q6J("matHeaderRowDef",_.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",_.displayedColumns),e.xp6(1),e.Q6J("pageSize",_.pageSize)("pageSizeOptions",_.pageSizeOptions)("showFirstLastButtons",_.screenSize!==_.screenSizeEnum.XS))},dependencies:[Yi.mk,Yi.sg,Yi.O5,Yi.PC,Jt.Fj,Jt.JJ,Jt.On,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,di.oO,di.Zl,pi.lW,Wa.Nt,Ci.KE,Ci.hX,kl.pW,Fi.gD,Fi.$L,Zi.ey,nl.YE,nl.nU,ia.BZ,ia.fO,ia.as,ia.w1,ia.Dz,ia.nj,ia.mD,ia.Ke,ia.ge,ia.ev,ia.yh,ia.XQ,ia.Gk,ia.Q2,Sc.NW,tn.Vv,tn.$V,Yi.JJ,Yi.uU]});const m1=function(F){return["../",F]};function rl(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",11),e.NdJ("click",function(){const xt=e.CHM(_).$implicit,Ut=e.oxw();return e.KtG(Ut.onSelectedIndexChange(xt))}),e._uU(1),e.qZA()}if(2&F){const _=M.$implicit,Z=e.oxw();e.Q6J("active",Z.activeTab.link===_.link)("routerLink",e.VKq(3,m1,_.link)),e.xp6(1),e.Oqu(_.name)}}class Tc{constructor(M,_,Z){this.router=M,this.loopService=_,this.store=Z,this.faInfinity=qi.vqe,this.targetConf=2,this.inAmount=25e4,this.quotes=[],this.LoopTypeEnum=Re.$I,this.selectedSwapType=Re.$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 zi.x,new zi.x,new zi.x,new zi.x]}ngOnInit(){this.loopService.listSwaps();const M=this.links.find(_=>this.router.url.includes(_.link));this.activeTab=M||this.links[0],this.selectedSwapType=M&&"loopin"===M.link?Re.$I.LOOP_IN:Re.$I.LOOP_OUT,this.router.events.pipe((0,an.R)(this.unSubs[0]),(0,Ra.h)(_=>_ instanceof Gn.Av)).subscribe({next:_=>{const Z=this.links.find(_e=>_.urlAfterRedirects.includes(_e.link));this.activeTab=Z||this.links[0],this.selectedSwapType=Z&&"loopin"===Z.link?Re.$I.LOOP_IN:Re.$I.LOOP_OUT}}),this.loopService.swapsChanged.pipe((0,an.R)(this.unSubs[1])).subscribe({next:_=>{this.flgLoading[0]=!1,this.storedSwaps=_,this.filteredSwaps=this.storedSwaps?.filter(Z=>Z.type===this.selectedSwapType)},error:_=>{this.flgLoading[0]="error",this.emptyTableMessage=_.message?_.message:"No loop "+(this.selectedSwapType===Re.$I.LOOP_IN?"in":"out")+" available."}})}onSelectedIndexChange(M){this.selectedSwapType="loopin"===M.link?Re.$I.LOOP_IN:Re.$I.LOOP_OUT,this.filteredSwaps=this.storedSwaps?.filter(_=>_.type===this.selectedSwapType)}onLoop(M){M===Re.$I.LOOP_IN?this.loopService.getLoopInTermsAndQuotes(this.targetConf).pipe((0,an.R)(this.unSubs[2])).subscribe({next:_=>{this.store.dispatch((0,Zt.qR)({payload:{data:{minQuote:_[0],maxQuote:_[1],direction:M,component:Zu.a}}}))}}):this.loopService.getLoopOutTermsAndQuotes(this.targetConf).pipe((0,an.R)(this.unSubs[3])).subscribe({next:_=>{this.store.dispatch((0,Zt.qR)({payload:{data:{minQuote:_[0],maxQuote:_[1],direction:M,component:Zu.a}}}))}})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}Tc.\u0275fac=function(M){return new(M||Tc)(e.Y36(Gn.F0),e.Y36(l1.W),e.Y36(Ii.yh))},Tc.\u0275cmp=e.Xpm({type:Tc,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(M,_){if(1&M&&(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,rl,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 _.onLoop(_.selectedSwapType)}),e._uU(13),e.qZA()(),e._UZ(14,"rtl-swaps",10),e.qZA()()()),2&M){const Z=e.MAs(10);e.xp6(1),e.Q6J("icon",_.faInfinity),e.xp6(6),e.Q6J("tabPanel",Z),e.xp6(1),e.Q6J("ngForOf",_.links),e.xp6(5),e.hij("Start ",_.activeTab.name,""),e.xp6(1),e.Q6J("selectedSwapType",_.selectedSwapType)("swapsData",_.filteredSwaps)("flgLoading",_.flgLoading)("emptyTableMessage",_.emptyTableMessage)}},dependencies:[Yi.sg,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,pi.lW,Ie.a8,Ie.dn,vt.BU,vt.sW,vt.Nj,Gn.rH,Jo]});var ud=p(7772),Xo=p(1135),p1=p(2843),Rl=p(262),fd=p(1786);class ps{constructor(M,_,Z,_e){this.httpClient=M,this.logger=_,this.store=Z,this.commonService=_e,this.swapUrl="",this.swaps={},this.swapsChanged=new Xo.X({}),this.unSubs=[new zi.x,new zi.x,new zi.x]}getSwapsList(){return this.swaps}listSwaps(){this.store.dispatch((0,Zt.ac)({payload:Re.m6.GET_BOLTZ_SWAPS})),this.swapUrl=Re.T5+Re.vv.BOLTZ_API+"/listSwaps",this.httpClient.get(this.swapUrl).pipe((0,an.R)(this.unSubs[0])).subscribe({next:M=>{this.store.dispatch((0,Zt.uO)({payload:Re.m6.GET_BOLTZ_SWAPS})),this.swaps=M,this.swapsChanged.next(this.swaps)},error:M=>this.swapsChanged.error(this.handleErrorWithAlert(Re.m6.GET_BOLTZ_SWAPS,this.swapUrl,M))})}swapInfo(M){return this.swapUrl=Re.T5+Re.vv.BOLTZ_API+"/swapInfo/"+M,this.httpClient.get(this.swapUrl).pipe((0,Rl.K)(_=>(0,Eo.of)(this.handleErrorWithAlert(Re.m6.NO_SPINNER,this.swapUrl,_))))}serviceInfo(){return this.store.dispatch((0,Zt.ac)({payload:Re.m6.GET_SERVICE_INFO})),this.swapUrl=Re.T5+Re.vv.BOLTZ_API+"/serviceInfo",this.httpClient.get(this.swapUrl).pipe((0,an.R)(this.unSubs[1]),(0,ua.U)(M=>(this.store.dispatch((0,Zt.uO)({payload:Re.m6.GET_SERVICE_INFO})),M)),(0,Rl.K)(M=>(0,Eo.of)(this.handleErrorWithAlert(Re.m6.GET_SERVICE_INFO,this.swapUrl,M))))}swapOut(M,_){const Z={amount:M,address:_};return this.swapUrl=Re.T5+Re.vv.BOLTZ_API+"/createreverseswap",this.httpClient.post(this.swapUrl,Z).pipe((0,Rl.K)(_e=>this.handleErrorWithoutAlert("Swap Out for Address: "+_,Re.m6.NO_SPINNER,_e)))}swapIn(M){const _={amount:M};return this.swapUrl=Re.T5+Re.vv.BOLTZ_API+"/createswap",this.httpClient.post(this.swapUrl,_).pipe((0,Rl.K)(Z=>this.handleErrorWithoutAlert("Swap In for Amount: "+M,Re.m6.NO_SPINNER,Z)))}handleErrorWithoutAlert(M,_,Z){let _e="";return this.logger.error("ERROR IN: "+M+"\n"+JSON.stringify(Z)),this.store.dispatch((0,Zt.uO)({payload:_})),401===Z.status?(_e="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Zt.kS)())):503===Z.status?(_e="Unable to Connect to Boltz Server.",this.store.dispatch((0,Zt.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:Z.status,message:"Unable to Connect to Boltz Server",URL:M},component:fd.H}}}))):_e=this.commonService.extractErrorMessage(Z),(0,p1._)(()=>new Error(_e))}handleErrorWithAlert(M,_,Z){let _e="";if(401===Z.status&&(this.logger.info("Redirecting to Login"),this.store.dispatch((0,Zt.kS)())),this.logger.error(Z),this.store.dispatch((0,Zt.uO)({payload:M})),401===Z.status)_e="Unauthorized User.",this.logger.info("Redirecting to Login"),this.store.dispatch((0,Zt.kS)());else if(503===Z.status)_e="Unable to Connect to Boltz Server.",setTimeout(()=>{this.store.dispatch((0,Zt.qR)({payload:{data:{type:"ERROR",alertTitle:"Boltz Not Connected",message:{code:Z.status,message:"Unable to Connect to Boltz Server",URL:_},component:fd.H}}}))},100);else{_e=this.commonService.extractErrorMessage(Z);const xt=Z.error&&Z.error.error&&Z.error.error.code?Z.error.error.code:Z.error&&Z.error.code?Z.error.code:Z.code?Z.code:Z.status;setTimeout(()=>{this.store.dispatch((0,Zt.qR)({payload:{data:{type:Re.n_.ERROR,alertTitle:"ERROR",message:{code:xt,message:_e,URL:_},component:fd.H}}}))},100)}return{message:_e}}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}function Qu(F,M){1&F&&e.GkF(0)}function qu(F,M){if(1&F&&(e.TgZ(0,"div",4)(1,"span",5),e._uU(2),e.qZA()()),2&F){const _=e.oxw();e.xp6(2),e.Oqu(null!=_.swapStatus&&_.swapStatus.error?null==_.swapStatus?null:_.swapStatus.error:"Unknown Error.")}}function Ju(F,M){if(1&F&&(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&F){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 Xu(F,M){if(1&F&&(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&F){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)}}ps.\u0275fac=function(M){return new(M||ps)(e.LFG(br.eN),e.LFG(ri.mQ),e.LFG(Ii.yh),e.LFG(Nt.v))},ps.\u0275prov=e.Yz7({token:ps,factory:ps.\u0275fac});class g1{constructor(){this.swapStatus=null,this.direction=Re.hc.SWAP_OUT,this.swapTypeEnum=Re.hc}}g1.\u0275fac=function(M){return new(M||g1)},g1.\u0275cmp=e.Xpm({type:g1,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(M,_){if(1&M&&(e.YNc(0,Qu,1,0,"ng-container",0),e.YNc(1,qu,3,1,"ng-template",null,1,e.W1O),e.YNc(3,Ju,25,6,"ng-template",null,2,e.W1O),e.YNc(5,Xu,27,6,"ng-template",null,3,e.W1O)),2&M){const Z=e.MAs(2),_e=e.MAs(4),xt=e.MAs(6);e.Q6J("ngTemplateOutlet",null!=_.swapStatus&&_.swapStatus.error?Z:_.direction===_.swapTypeEnum.SWAP_OUT?_e:xt)}},dependencies:[Yi.tP,Wi.xw,Wi.Wh,Wi.yH,zo.d,Yi.JJ]});class ol{constructor(){this.serviceInfo={},this.direction=Re.hc.SWAP_OUT,this.swapTypeEnum=Re.hc}}ol.\u0275fac=function(M){return new(M||ol)},ol.\u0275cmp=e.Xpm({type:ol,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(M,_){1&M&&(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&M&&(e.Q6J("expanded",!0),e.xp6(11),e.Oqu(e.lcZ(12,5,null==_.serviceInfo||null==_.serviceInfo.limits?null:_.serviceInfo.limits.minimal)),e.xp6(6),e.Oqu(e.lcZ(18,7,null==_.serviceInfo||null==_.serviceInfo.limits?null:_.serviceInfo.limits.maximal)),e.xp6(8),e.Oqu(e.lcZ(26,9,null==_.serviceInfo||null==_.serviceInfo.fees?null:_.serviceInfo.fees.percentage)),e.xp6(6),e.Oqu(e.lcZ(32,11,_.direction===_.swapTypeEnum.SWAP_OUT?null==_.serviceInfo||null==_.serviceInfo.fees||null==_.serviceInfo.fees.miner?null:_.serviceInfo.fees.miner.reverse:null==_.serviceInfo||null==_.serviceInfo.fees||null==_.serviceInfo.fees.miner?null:_.serviceInfo.fees.miner.normal)))},dependencies:[Wi.xw,Wi.Wh,Wi.yH,Ai.ib,Ai.yz,Ai.yK,zo.d,Yi.JJ]});var md=p(113);function S2(F,M){1&F&&e.GkF(0)}const sc=function(F,M){return{"small-svg":F,"large-svg":M}};function Hs(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.onSwipe(_e))}),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&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,sc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function $u(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.onSwipe(_e))}),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&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,sc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function pd(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.onSwipe(_e))}),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&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,sc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function ch(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.onSwipe(_e))}),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&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,sc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function E2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.onSwipe(_e))}),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&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,sc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}class $o{constructor(M){this.commonService=M,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.vpe,this.screenSize="",this.screenSizeEnum=Re.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(M){2===M.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===M.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}function gd(F,M){1&F&&e.GkF(0)}$o.\u0275fac=function(M){return new(M||$o)(e.Y36(Nt.v))},$o.\u0275cmp=e.Xpm({type:$o,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(M,_){if(1&M&&(e.YNc(0,S2,1,0,"ng-container",0),e.YNc(1,Hs,18,5,"ng-template",null,1,e.W1O),e.YNc(3,$u,15,5,"ng-template",null,2,e.W1O),e.YNc(5,pd,19,5,"ng-template",null,3,e.W1O),e.YNc(7,ch,17,5,"ng-template",null,4,e.W1O),e.YNc(9,E2,13,5,"ng-template",null,5,e.W1O)),2&M){const Z=e.MAs(2),_e=e.MAs(4),xt=e.MAs(6),Ut=e.MAs(8),Xt=e.MAs(10);e.Q6J("ngTemplateOutlet",1===_.stepNumber?Z:2===_.stepNumber?_e:3===_.stepNumber?xt:4===_.stepNumber?Ut:Xt)}},dependencies:[Yi.mk,Yi.tP,Wi.xw,Wi.Wh,Wi.yH,di.oO,Ie.$j,Ie.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:[md.l]}});const cc=function(F,M){return{"small-svg":F,"large-svg":M}};function _d(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.onSwipe(_e))}),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&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,cc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function Nl(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.onSwipe(_e))}),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&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,cc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function _1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.onSwipe(_e))}),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&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,cc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function T2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.onSwipe(_e))}),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&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,cc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}function xr(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",6),e.NdJ("swipe",function(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.onSwipe(_e))}),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&F){const _=e.oxw();e.Q6J("@sliderAnimation",_.animationDirection),e.xp6(1),e.Q6J("ngClass",e.WLB(2,cc,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS))}}class sl{constructor(M){this.commonService=M,this.animationDirection="forward",this.stepNumber=1,this.stepNumberChange=new e.vpe,this.screenSize="",this.screenSizeEnum=Re.cu}ngOnInit(){this.screenSize=this.commonService.getScreenSize()}onSwipe(M){2===M.direction&&this.stepNumber<5?(this.stepNumber++,this.animationDirection="forward",this.stepNumberChange.emit(this.stepNumber)):4===M.direction&&this.stepNumber>1&&(this.stepNumber--,this.animationDirection="backward",this.stepNumberChange.emit(this.stepNumber))}}sl.\u0275fac=function(M){return new(M||sl)(e.Y36(Nt.v))},sl.\u0275cmp=e.Xpm({type:sl,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(M,_){if(1&M&&(e.YNc(0,gd,1,0,"ng-container",0),e.YNc(1,_d,18,5,"ng-template",null,1,e.W1O),e.YNc(3,Nl,19,5,"ng-template",null,2,e.W1O),e.YNc(5,_1,19,5,"ng-template",null,3,e.W1O),e.YNc(7,T2,17,5,"ng-template",null,4,e.W1O),e.YNc(9,xr,13,5,"ng-template",null,5,e.W1O)),2&M){const Z=e.MAs(2),_e=e.MAs(4),xt=e.MAs(6),Ut=e.MAs(8),Xt=e.MAs(10);e.Q6J("ngTemplateOutlet",1===_.stepNumber?Z:2===_.stepNumber?_e:3===_.stepNumber?xt:4===_.stepNumber?Ut:Xt)}},dependencies:[Yi.mk,Yi.tP,Wi.xw,Wi.Wh,Wi.yH,di.oO,Ie.$j,Ie.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:[md.l]}});const vd=["stepper"];function oa(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.Oqu(_.inputFormLabel)}}function A2(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Amount is required."),e.qZA())}function lc(F,M){if(1&F&&(e.TgZ(0,"mat-error"),e._uU(1),e.ALo(2,"number"),e.qZA()),2&F){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 zs(F,M){if(1&F&&(e.TgZ(0,"mat-error"),e._uU(1),e.ALo(2,"number"),e.qZA()),2&F){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 D2(F,M){1&F&&(e.TgZ(0,"button",40),e._uU(1,"Next"),e.qZA())}function v1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",41),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw(2);return e.KtG(_e.onSwap())}),e._uU(1),e.qZA()}if(2&F){const _=e.oxw(2);e.xp6(1),e.hij("Initiate ",_.swapDirectionCaption,"")}}function bd(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(3);e.Oqu(_.addressFormLabel)}}function yd(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Address is required."),e.qZA())}function Fl(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-step",15)(1,"form",16),e.YNc(2,bd,1,1,"ng-template",17),e.TgZ(3,"div",42)(4,"mat-radio-group",43),e.NdJ("change",function(_e){e.CHM(_);const xt=e.oxw(2);return e.KtG(xt.onAddressTypeChange(_e))}),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,yd,2,0,"mat-error",24),e.qZA()(),e.TgZ(14,"div",25)(15,"button",48),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw(2);return e.KtG(_e.onSwap())}),e._uU(16),e.qZA()()()()}if(2&F){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 L2(F,M){if(1&F&&e._uU(0),2&F){const _=e.oxw(2);e.hij("",_.swapDirectionCaption," Status")}}function xd(F,M){if(1&F&&(e.TgZ(0,"mat-icon",49),e._uU(1),e.qZA()),2&F){const _=e.oxw(2);e.xp6(1),e.Oqu(_.swapStatus&&null!=_.swapStatus&&_.swapStatus.id?"check":"close")}}function lh(F,M){1&F&&e._UZ(0,"div")}function dh(F,M){1&F&&e._UZ(0,"mat-progress-bar",50)}function I2(F,M){if(1&F&&(e.TgZ(0,"h4",51),e._uU(1),e.qZA()),2&F){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 Cd(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",52),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw(2);return e.KtG(_e.onRestart())}),e._uU(1,"Start Again"),e.qZA()}}function wd(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",3)(1,"div",4)(2,"mat-card-header",5)(3,"div",6)(4,"span",7),e._uU(5),e.qZA()(),e.TgZ(6,"div",8)(7,"button",9),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.showInfo())}),e._uU(8,"?"),e.qZA(),e.TgZ(9,"button",10),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.onClose())}),e._uU(10,"X"),e.qZA()()(),e.TgZ(11,"mat-card-content",11)(12,"div",12)(13,"mat-vertical-stepper",13,14),e.NdJ("selectionChange",function(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.stepSelectionChanged(_e))}),e.TgZ(15,"mat-step",15)(16,"form",16),e.YNc(17,oa,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,A2,2,0,"mat-error",24),e.YNc(32,lc,3,3,"mat-error",24),e.YNc(33,zs,3,3,"mat-error",24),e.qZA()(),e.TgZ(34,"div",25),e.YNc(35,D2,2,0,"button",26),e.YNc(36,v1,2,1,"button",27),e.qZA()()(),e.YNc(37,Fl,17,6,"mat-step",28),e.TgZ(38,"mat-step",29)(39,"form",16),e.YNc(40,L2,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,xd,2,1,"mat-icon",33),e.qZA()()(),e.YNc(48,lh,1,0,"div",34),e.qZA(),e.YNc(49,dh,1,0,"mat-progress-bar",35),e.qZA(),e.YNc(50,I2,2,1,"h4",36),e.TgZ(51,"div",25),e.YNc(52,Cd,2,0,"button",37),e.qZA()()()(),e.TgZ(53,"div",38)(54,"button",39),e._uU(55,"Close"),e.qZA()()()()()()}if(2&F){const _=e.oxw(),Z=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",Z),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 Hl(F,M){if(1&F&&e._UZ(0,"rtl-boltz-swap-status",53),2&F){const _=e.oxw();e.Q6J("swapStatus",_.swapStatus)("direction",_.direction)}}function b1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"rtl-boltz-swapout-info-graphics",70),e.NdJ("stepNumberChange",function(_e){e.CHM(_);const xt=e.oxw(2);return e.KtG(xt.stepNumber=_e)}),e.qZA()}if(2&F){const _=e.oxw(2);e.Q6J("animationDirection",_.animationDirection)("stepNumber",_.stepNumber)}}function Ac(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"rtl-boltz-swapin-info-graphics",70),e.NdJ("stepNumberChange",function(_e){e.CHM(_);const xt=e.oxw(2);return e.KtG(xt.stepNumber=_e)}),e.qZA()}if(2&F){const _=e.oxw(2);e.Q6J("animationDirection",_.animationDirection)("stepNumber",_.stepNumber)}}const hh=function(F,M){return{"dot-primary":F,"dot-primary-lighter":M}};function k2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"span",71),e.NdJ("click",function(){const xt=e.CHM(_).$implicit,Ut=e.oxw(2);return e.KtG(Ut.onStepChanged(xt))}),e._UZ(1,"p",72),e.qZA()}if(2&F){const _=M.$implicit,Z=e.oxw(2);e.xp6(1),e.Q6J("ngClass",e.WLB(1,hh,Z.stepNumber===_,Z.stepNumber!==_))}}function e3(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",73),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw(2);return e.KtG(_e.onReadMore())}),e._uU(1,"Read More"),e.qZA()}}function uh(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",74),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw(2);return e.KtG(_e.onStepChanged(4))}),e._uU(1,"Back"),e.qZA()}}function y1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",75),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw(2);return _e.flgShowInfo=!1,e.KtG(_e.stepNumber=1)}),e._uU(1,"Close"),e.qZA()}}function O2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",76),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw(2);return _e.flgShowInfo=!1,e.KtG(_e.stepNumber=1)}),e._uU(1,"Close"),e.qZA()}}function P2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",77),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw(2);return e.KtG(_e.onStepChanged(_e.stepNumber-1))}),e._uU(1,"Back"),e.qZA()}}function zl(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",78),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw(2);return e.KtG(_e.onStepChanged(_e.stepNumber+1))}),e._uU(1,"Next"),e.qZA()}}const Md=function(){return[1,2,3,4,5]};function Sd(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",54)(1,"div",18)(2,"mat-card-header",55)(3,"div",56),e._UZ(4,"span",7),e.qZA(),e.TgZ(5,"div",57)(6,"button",58),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return _e.flgShowInfo=!1,e.KtG(_e.stepNumber=1)}),e._uU(7,"X"),e.qZA()()(),e.TgZ(8,"mat-card-content",59),e.YNc(9,b1,1,2,"rtl-boltz-swapout-info-graphics",60),e.YNc(10,Ac,1,2,"rtl-boltz-swapin-info-graphics",60),e.qZA(),e.TgZ(11,"div",61),e.YNc(12,k2,2,4,"span",62),e.qZA(),e.TgZ(13,"div",63),e.YNc(14,e3,2,0,"button",64),e.YNc(15,uh,2,0,"button",65),e.YNc(16,y1,2,0,"button",66),e.YNc(17,O2,2,0,"button",67),e.YNc(18,P2,2,0,"button",68),e.YNc(19,zl,2,0,"button",69),e.qZA()()()}if(2&F){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,Md)),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)}}class cl{constructor(M,_,Z,_e,xt,Ut,Xt){this.dialogRef=M,this.data=_,this.boltzService=Z,this.formBuilder=_e,this.decimalPipe=xt,this.logger=Ut,this.commonService=Xt,this.faInfoCircle=qi.sqG,this.serviceInfo={fees:{percentage:null,miner:{normal:null,reverse:null}},limits:{minimal:1e4,maximal:5e7}},this.swapTypeEnum=Re.hc,this.direction=Re.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=Re.cu,this.animationDirection="forward",this.flgEditable=!0,this.unSubs=[new zi.x,new zi.x,new zi.x,new zi.x,new zi.x,new zi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),this.serviceInfo=this.data.serviceInfo,this.direction=this.data.direction||Re.hc.SWAP_OUT,this.swapDirectionCaption=this.direction===Re.hc.SWAP_OUT?"Swap Out":"Swap in",this.inputFormLabel="Amount to "+this.swapDirectionCaption,this.inputFormGroup=this.formBuilder.group({amount:[this.serviceInfo.limits?.minimal,[Jt.kI.required,Jt.kI.min(this.serviceInfo.limits?.minimal||0),Jt.kI.max(this.serviceInfo.limits?.maximal||0)]]}),this.addressFormGroup=this.formBuilder.group({addressType:["local",[Jt.kI.required]],address:[{value:"",disabled:!0}]}),this.statusFormGroup=this.formBuilder.group({}),this.onFormValueChanges()}ngAfterViewInit(){this.direction===Re.hc.SWAP_OUT&&this.addressFormGroup.setErrors({Invalid:!0})}onFormValueChanges(){this.direction===Re.hc.SWAP_OUT&&this.addressFormGroup.valueChanges.pipe((0,an.R)(this.unSubs[2])).subscribe(M=>{this.addressFormGroup.setErrors({Invalid:!0})})}onAddressTypeChange(M){"external"===M.value?(this.addressFormGroup.controls.address.setValidators([Jt.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===Re.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===Re.hc.SWAP_IN?this.boltzService.swapIn(this.inputFormGroup.controls.amount.value).pipe((0,an.R)(this.unSubs[3])).subscribe({next:M=>{this.swapStatus=M,this.boltzService.listSwaps(),this.flgEditable=!0},error:M=>{this.swapStatus={error:M},this.flgEditable=!0,this.logger.error(M)}}):this.boltzService.swapOut(this.inputFormGroup.controls.amount.value,"external"===this.addressFormGroup.controls.addressType.value?this.addressFormGroup.controls.address.value:"").pipe((0,an.R)(this.unSubs[4])).subscribe({next:_=>{this.swapStatus=_,this.boltzService.listSwaps(),this.flgEditable=!0},error:_=>{this.swapStatus={error:_},this.flgEditable=!0,this.logger.error(_)}})}stepSelectionChanged(M){switch(M.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"}M.selectedIndex<M.previouslySelectedIndex&&M.selectedStep.stepControl.setErrors({Invalid:!0})}onClose(){this.dialogRef.close(!0)}showInfo(){this.flgShowInfo=!0}onReadMore(){this.direction===Re.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(M){this.animationDirection=M<this.stepNumber?"backward":"forward",this.stepNumber=M}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(M=>{M.next(null),M.complete()})}}function Ed(F,M){if(1&F&&(e.TgZ(0,"mat-option",42),e._uU(1),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.Q6J("value",_),e.xp6(1),e.Oqu(Z.getLabel(_))}}function Dc(F,M){1&F&&e._UZ(0,"mat-progress-bar",43)}function R2(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Status"),e.qZA())}function fh(F,M){if(1&F&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Oqu(Z.swapStateEnum[null==_?null:_.status])}}function N2(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Swap ID"),e.qZA())}function F2(F,M){if(1&F&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.xp6(1),e.Oqu(null==_?null:_.id)}}function mh(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Claim Address"),e.qZA())}cl.\u0275fac=function(M){return new(M||cl)(e.Y36(Ca.so),e.Y36(Ca.WI),e.Y36(ps),e.Y36(Jt.QS),e.Y36(Yi.JJ),e.Y36(ri.mQ),e.Y36(Nt.v))},cl.\u0275cmp=e.Xpm({type:cl,selectors:[["rtl-boltz-swap-modal"]],viewQuery:function(M,_){if(1&M&&e.Gf(vd,5),2&M){let Z;e.iGM(Z=e.CRH())&&(_.stepper=Z.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(M,_){1&M&&(e.YNc(0,wd,56,34,"div",0),e.YNc(1,Hl,1,2,"ng-template",null,1,e.W1O),e.YNc(3,Sd,20,11,"div",2)),2&M&&(e.Q6J("ngIf",!_.flgShowInfo),e.xp6(3),e.Q6J("ngIf",_.flgShowInfo))},dependencies:[Yi.mk,Yi.sg,Yi.O5,Jt._Y,Jt.Fj,Jt.wV,Jt.JJ,Jt.JL,Jt.Q7,Jt.sg,Jt.u,Wi.xw,Wi.Wh,Wi.yH,di.oO,Ca.ZT,pi.lW,Ie.dn,Ie.dk,Ai.ib,Ai.yz,Ai.yK,us.Hw,Wa.Nt,Ci.KE,Ci.hX,Ci.bx,Ci.TO,Ci.R9,kl.pW,on.VQ,on.U0,no.C0,no.VY,no.Vq,no.Ic,xn.h,g1,ol,$o,sl,Yi.JJ],styles:[".dots-stepper-block[_ngcontent-%COMP%]{width:3rem}.info-graphics-container[_ngcontent-%COMP%]{max-height:60rem;min-height:60rem}"],data:{animation:[ud._]}});const ro=function(F){return{width:F}};function ll(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,ro,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.claimAddress)}}function ph(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Lockup Address"),e.qZA())}function H2(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,ro,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.lockupAddress)}}function gh(F,M){1&F&&(e.TgZ(0,"th",48),e._uU(1,"Onchain Amount (Sats)"),e.qZA())}function _h(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",49),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.onchainAmount))}}function vh(F,M){1&F&&(e.TgZ(0,"th",48),e._uU(1,"Expected Amount (Sats)"),e.qZA())}function z2(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",49),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.expectedAmount))}}function V2(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Error"),e.qZA())}function bh(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,ro,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.error)}}function yh(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Private Key"),e.qZA())}function B2(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,ro,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.privateKey)}}function U2(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Preimage"),e.qZA())}function x1(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,ro,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.preimage)}}function gs(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Redeem Script"),e.qZA())}function Vl(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,ro,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.redeemScript)}}function G2(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Invoice"),e.qZA())}function Z2(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",46)(2,"span",47),e._uU(3),e.qZA()()()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngStyle",e.VKq(2,ro,Z.screenSize===Z.screenSizeEnum.XS?"6rem":Z.colWidth)),e.xp6(2),e.Oqu(null==_?null:_.invoice)}}function C1(F,M){1&F&&(e.TgZ(0,"th",48),e._uU(1,"Timeout Block Height"),e.qZA())}function t3(F,M){if(1&F&&(e.TgZ(0,"td",45)(1,"span",49),e._uU(2),e.ALo(3,"number"),e.qZA()()),2&F){const _=M.$implicit;e.xp6(2),e.Oqu(e.lcZ(3,1,null==_?null:_.timeoutBlockHeight))}}function W2(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Lockup Tx ID"),e.qZA())}function n3(F,M){if(1&F&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.xp6(1),e.Oqu(null==_?null:_.lockupTransactionId)}}function Td(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Claim Tx ID"),e.qZA())}function w1(F,M){if(1&F&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.xp6(1),e.Oqu(null==_?null:_.claimTransactionId)}}function a3(F,M){1&F&&(e.TgZ(0,"th",44),e._uU(1,"Refund Tx ID"),e.qZA())}function r3(F,M){if(1&F&&(e.TgZ(0,"td",45),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.xp6(1),e.Oqu(null==_?null:_.refundTransactionId)}}function Ad(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"th",50)(1,"div",51)(2,"mat-select",52),e._UZ(3,"mat-select-trigger"),e.TgZ(4,"mat-option",53),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.onDownloadCSV())}),e._uU(5,"Download CSV"),e.qZA()()()()}}function Y2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"td",54)(1,"button",55),e.NdJ("click",function(_e){const Ut=e.CHM(_).$implicit,Xt=e.oxw();return e.KtG(Xt.onSwapClick(Ut,_e))}),e._uU(2,"View Info"),e.qZA()()}}function j2(F,M){if(1&F&&(e.TgZ(0,"p"),e._uU(1),e.qZA()),2&F){const _=e.oxw(2);e.xp6(1),e.Oqu(_.emptyTableMessage)}}function K2(F,M){if(1&F&&(e.TgZ(0,"td",56),e.YNc(1,j2,2,1,"p",57),e.qZA()),2&F){const _=e.oxw();e.xp6(1),e.Q6J("ngIf",!(null!=_.listSwaps&&_.listSwaps.data)||(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)<1)}}const dl=function(F){return{"display-none":F}};function Dd(F,M){if(1&F&&e._UZ(0,"tr",58),2&F){const _=e.oxw();e.Q6J("ngClass",e.VKq(1,dl,(null==_.listSwaps?null:_.listSwaps.data)&&(null==_.listSwaps||null==_.listSwaps.data?null:_.listSwaps.data.length)>0))}}function M1(F,M){1&F&&e._UZ(0,"tr",59)}function Q2(F,M){1&F&&e._UZ(0,"tr",60)}const Ld=function(){return["all"]},q2=function(F){return{"overflow-auto error-border":F,"overflow-auto":!0}},Ja=function(){return["no_swap"]};class hl{constructor(M,_,Z,_e,xt){this.logger=M,this.commonService=_,this.store=Z,this.boltzService=_e,this.camelCaseWithReplace=xt,this.selectedSwapType=Re.hc.SWAP_OUT,this.swapsData=[],this.flgLoading=[!0],this.emptyTableMessage="No swaps available.",this.nodePageDefs=Re.hG,this.selFilterBy="all",this.colWidth="20rem",this.PAGE_ID="boltz",this.tableSettingSwapOut={tableId:"swap_out",recordsPerPage:Re.IV,sortBy:"status",sortOrder:Re.Pi.DESCENDING},this.tableSettingSwapIn={tableId:"swap_in",recordsPerPage:Re.IV,sortBy:"status",sortOrder:Re.Pi.DESCENDING},this.swapStateEnum=Re.Qw,this.swapTypeEnum=Re.hc,this.faHistory=qi.qO$,this.swapCaption="Swap Out",this.displayedColumns=[],this.listSwaps=new ia.by([]),this.selFilter="",this.pageSize=Re.IV,this.pageSizeOptions=Re.TJ,this.screenSize="",this.screenSizeEnum=Re.cu,this.unSubs=[new zi.x,new zi.x,new zi.x],this.screenSize=this.commonService.getScreenSize()}ngOnInit(){this.store.select(Bo.Pr).pipe((0,an.R)(this.unSubs[0])).subscribe(M=>{this.tableSettingSwapOut=M.pageSettings.find(_=>_.pageId===this.PAGE_ID)?.tables.find(_=>_.tableId===this.tableSettingSwapOut.tableId)||Re.gK.find(_=>_.pageId===this.PAGE_ID)?.tables.find(_=>_.tableId===this.tableSettingSwapOut.tableId),this.tableSettingSwapIn=M.pageSettings.find(_=>_.pageId===this.PAGE_ID)?.tables.find(_=>_.tableId===this.tableSettingSwapIn.tableId)||Re.gK.find(_=>_.pageId===this.PAGE_ID)?.tables.find(_=>_.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(M){M.selectedSwapType&&!M.selectedSwapType.firstChange&&this.setTableColumns(),this.swapCaption=this.selectedSwapType===Re.hc.SWAP_IN?"Swap In":"Swap Out",this.loadSwapsTable(this.swapsData)}setTableColumns(){this.selectedSwapType===Re.hc.SWAP_IN?(this.displayedColumns=this.screenSize===Re.cu.XS||this.screenSize===Re.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:Re.IV):(this.displayedColumns=this.screenSize===Re.cu.XS||this.screenSize===Re.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:Re.IV)}applyFilter(){this.listSwaps&&""!==this.selFilter&&(this.listSwaps.filter=this.selFilter.trim().toLowerCase())}getLabel(M){const Z=this.nodePageDefs[this.PAGE_ID][this.selectedSwapType===Re.hc.SWAP_IN?this.tableSettingSwapIn.tableId:this.tableSettingSwapOut.tableId].allowedColumns.find(_e=>_e.column===M);return Z?Z.label?Z.label:this.camelCaseWithReplace.transform(Z.column,"_"):this.commonService.titleCase(M)}setFilterPredicate(){this.listSwaps.filterPredicate=(M,_)=>{let Z="";switch(this.selFilterBy){case"all":Z=JSON.stringify(M).toLowerCase();break;case"status":Z=M?.status?this.swapStateEnum[M?.status]:"";break;default:Z=typeof M[this.selFilterBy]>"u"?"":"string"==typeof M[this.selFilterBy]?M[this.selFilterBy].toLowerCase():"boolean"==typeof M[this.selFilterBy]?M[this.selFilterBy]?"yes":"no":M[this.selFilterBy].toString()}return"status"===this.selFilterBy?0===Z.indexOf(_):Z.includes(_)}}onSwapClick(M,_){this.boltzService.swapInfo(M.id||"").pipe((0,an.R)(this.unSubs[1])).subscribe(Z=>{this.store.dispatch((0,Zt.qR)({payload:{data:{type:Re.n_.INFORMATION,alertTitle:this.swapCaption+" Status",message:[[{key:"status",value:Re.Qw[(Z=this.selectedSwapType===Re.hc.SWAP_IN?Z.swap:Z.reverseSwap).status],title:"Status",width:50,type:Re.Gi.STRING},{key:"id",value:Z.id,title:"ID",width:50,type:Re.Gi.STRING}],[{key:"amount",value:Z.onchainAmount?Z.onchainAmount:Z.expectedAmount?Z.expectedAmount:0,title:Z.onchainAmount?"Onchain Amount (Sats)":Z.expectedAmount?"Expected Amount (Sats)":"Amount (Sats)",width:50,type:Re.Gi.NUMBER},{key:"timeoutBlockHeight",value:Z.timeoutBlockHeight,title:"Timeout Block Height",width:50,type:Re.Gi.NUMBER}],[{key:"address",value:Z.claimAddress?Z.claimAddress:Z.lockupAddress?Z.lockupAddress:"",title:Z.claimAddress?"Claim Address":Z.lockupAddress?"Lockup Address":"Address",width:100,type:Re.Gi.STRING}],[{key:"invoice",value:Z.invoice,title:"Invoice",width:100,type:Re.Gi.STRING}],[{key:"privateKey",value:Z.privateKey,title:"Private Key",width:100,type:Re.Gi.STRING}],[{key:"preimage",value:Z.preimage,title:"Preimage",width:100,type:Re.Gi.STRING}],[{key:"redeemScript",value:Z.redeemScript,title:"Redeem Script",width:100,type:Re.Gi.STRING}],[{key:"lockupTransactionId",value:Z.lockupTransactionId,title:"Lockup Transaction ID",width:50,type:Re.Gi.STRING},{key:"transactionId",value:Z.claimTransactionId?Z.claimTransactionId:Z.refundTransactionId?Z.refundTransactionId:"",title:Z.claimTransactionId?"Claim Transaction ID":Z.refundTransactionId?"Refund Transaction ID":"Transaction ID",width:50,type:Re.Gi.STRING}]],openedBy:"SWAP"}}}))})}loadSwapsTable(M){this.listSwaps=new ia.by(M?[...M]:[]),this.listSwaps.sort=this.sort,this.listSwaps.sortingDataAccessor=(_,Z)=>_[Z]&&isNaN(_[Z])?_[Z].toLocaleLowerCase():_[Z]?+_[Z]: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===Re.hc.SWAP_IN?"Swap in":"Swap out")}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}hl.\u0275fac=function(M){return new(M||hl)(e.Y36(ri.mQ),e.Y36(Nt.v),e.Y36(Ii.yh),e.Y36(ps),e.Y36(nc.D3))},hl.\u0275cmp=e.Xpm({type:hl,selectors:[["rtl-boltz-swaps"]],viewQuery:function(M,_){if(1&M&&(e.Gf(nl.YE,5),e.Gf(Sc.NW,5)),2&M){let Z;e.iGM(Z=e.CRH())&&(_.sort=Z.first),e.iGM(Z=e.CRH())&&(_.paginator=Z.first)}},inputs:{selectedSwapType:"selectedSwapType",swapsData:"swapsData",flgLoading:"flgLoading",emptyTableMessage:"emptyTableMessage"},features:[e._Bn([{provide:Fi.PG,useValue:{overlayPanelClass:"rtl-select-overlay"}},{provide:Sc.ye,useValue:(0,Re.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(M,_){1&M&&(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(_e){return _.selFilterBy=_e})("selectionChange",function(){return _.selFilter="",_.applyFilter()}),e.TgZ(11,"perfect-scrollbar"),e.YNc(12,Ed,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(_e){return _.selFilter=_e})("input",function(){return _.applyFilter()})("keyup",function(){return _.applyFilter()}),e.qZA()()()(),e.TgZ(17,"div",10)(18,"div",11),e.YNc(19,Dc,1,0,"mat-progress-bar",12),e.TgZ(20,"table",13,14),e.ynx(22,15),e.YNc(23,R2,2,0,"th",16),e.YNc(24,fh,2,1,"td",17),e.BQk(),e.ynx(25,18),e.YNc(26,N2,2,0,"th",16),e.YNc(27,F2,2,1,"td",17),e.BQk(),e.ynx(28,19),e.YNc(29,mh,2,0,"th",16),e.YNc(30,ll,4,4,"td",17),e.BQk(),e.ynx(31,20),e.YNc(32,ph,2,0,"th",16),e.YNc(33,H2,4,4,"td",17),e.BQk(),e.ynx(34,21),e.YNc(35,gh,2,0,"th",22),e.YNc(36,_h,4,3,"td",17),e.BQk(),e.ynx(37,23),e.YNc(38,vh,2,0,"th",22),e.YNc(39,z2,4,3,"td",17),e.BQk(),e.ynx(40,24),e.YNc(41,V2,2,0,"th",16),e.YNc(42,bh,4,4,"td",17),e.BQk(),e.ynx(43,25),e.YNc(44,yh,2,0,"th",16),e.YNc(45,B2,4,4,"td",17),e.BQk(),e.ynx(46,26),e.YNc(47,U2,2,0,"th",16),e.YNc(48,x1,4,4,"td",17),e.BQk(),e.ynx(49,27),e.YNc(50,gs,2,0,"th",16),e.YNc(51,Vl,4,4,"td",17),e.BQk(),e.ynx(52,28),e.YNc(53,G2,2,0,"th",16),e.YNc(54,Z2,4,4,"td",17),e.BQk(),e.ynx(55,29),e.YNc(56,C1,2,0,"th",22),e.YNc(57,t3,4,3,"td",17),e.BQk(),e.ynx(58,30),e.YNc(59,W2,2,0,"th",16),e.YNc(60,n3,2,1,"td",17),e.BQk(),e.ynx(61,31),e.YNc(62,Td,2,0,"th",16),e.YNc(63,w1,2,1,"td",17),e.BQk(),e.ynx(64,32),e.YNc(65,a3,2,0,"th",16),e.YNc(66,r3,2,1,"td",17),e.BQk(),e.ynx(67,33),e.YNc(68,Ad,6,0,"th",34),e.YNc(69,Y2,3,0,"td",35),e.BQk(),e.ynx(70,36),e.YNc(71,K2,2,1,"td",37),e.BQk(),e.YNc(72,Dd,1,3,"tr",38),e.YNc(73,M1,1,0,"tr",39),e.YNc(74,Q2,1,0,"tr",40),e.qZA(),e._UZ(75,"mat-paginator",41),e.qZA()()()),2&M&&(e.xp6(3),e.Q6J("icon",_.faHistory),e.xp6(2),e.hij("",_.swapCaption," History"),e.xp6(5),e.Q6J("ngModel",_.selFilterBy),e.xp6(2),e.Q6J("ngForOf",e.DdM(16,Ld).concat(_.displayedColumns.slice(0,-1))),e.xp6(4),e.Q6J("ngModel",_.selFilter),e.xp6(3),e.Q6J("ngIf",!0===_.flgLoading[0]),e.xp6(1),e.Q6J("matSortActive",_.selectedSwapType===_.swapTypeEnum.SWAP_IN?_.tableSettingSwapIn.sortBy:_.tableSettingSwapOut.sortBy)("matSortDirection",_.selectedSwapType===_.swapTypeEnum.SWAP_IN?_.tableSettingSwapIn.sortOrder:_.tableSettingSwapOut.sortOrder)("dataSource",_.listSwaps)("ngClass",e.VKq(17,q2,"error"===_.flgLoading[0])),e.xp6(52),e.Q6J("matFooterRowDef",e.DdM(19,Ja)),e.xp6(1),e.Q6J("matHeaderRowDef",_.displayedColumns),e.xp6(1),e.Q6J("matRowDefColumns",_.displayedColumns),e.xp6(1),e.Q6J("pageSize",_.pageSize)("pageSizeOptions",_.pageSizeOptions)("showFirstLastButtons",_.screenSize!==_.screenSizeEnum.XS))},dependencies:[Yi.mk,Yi.sg,Yi.O5,Yi.PC,Jt.Fj,Jt.JJ,Jt.On,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,di.oO,di.Zl,pi.lW,Wa.Nt,Ci.KE,Ci.hX,kl.pW,Fi.gD,Fi.$L,Zi.ey,nl.YE,nl.nU,ia.BZ,ia.fO,ia.as,ia.w1,ia.Dz,ia.nj,ia.mD,ia.Ke,ia.ge,ia.ev,ia.yh,ia.XQ,ia.Gk,ia.Q2,Sc.NW,tn.Vv,tn.$V,Yi.JJ]});const J2=function(F){return["../",F]};function X2(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",16),e.NdJ("click",function(){const xt=e.CHM(_).$implicit,Ut=e.oxw();return e.KtG(Ut.onSelectedIndexChange(xt))}),e._uU(1),e.qZA()}if(2&F){const _=M.$implicit,Z=e.oxw();e.Q6J("active",Z.activeTab.link===_.link)("routerLink",e.VKq(3,J2,_.link)),e.xp6(1),e.Oqu(_.name)}}class ul{constructor(M,_,Z){this.router=M,this.store=_,this.boltzService=Z,this.swapTypeEnum=Re.hc,this.selectedSwapType=Re.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 zi.x,new zi.x,new zi.x,new zi.x]}ngOnInit(){this.boltzService.listSwaps();const M=this.links.find(_=>this.router.url.includes(_.link));this.activeTab=M||this.links[0],this.selectedSwapType=M&&"swapin"===M.link?Re.hc.SWAP_IN:Re.hc.SWAP_OUT,this.router.events.pipe((0,an.R)(this.unSubs[0]),(0,Ra.h)(_=>_ instanceof Gn.Av)).subscribe({next:_=>{const Z=this.links.find(_e=>_.urlAfterRedirects.includes(_e.link));this.activeTab=Z||this.links[0],this.selectedSwapType=Z&&"swapin"===Z.link?Re.hc.SWAP_IN:Re.hc.SWAP_OUT}}),this.boltzService.swapsChanged.pipe((0,an.R)(this.unSubs[1])).subscribe({next:_=>{this.swaps=_,this.swapsData=this.selectedSwapType===Re.hc.SWAP_IN&&_.swaps?_.swaps:this.selectedSwapType===Re.hc.SWAP_OUT&&_.reverseSwaps?_.reverseSwaps:[],this.flgLoading[0]=!1},error:_=>{this.flgLoading[0]="error",this.emptyTableMessage=_.message?_.message:"No swap "+(this.selectedSwapType===Re.hc.SWAP_IN?"in":"out")+" available."}})}onSelectedIndexChange(M){"swapin"===M.link?(this.selectedSwapType=Re.hc.SWAP_IN,this.swapsData=this.swaps.swaps||[]):(this.selectedSwapType=Re.hc.SWAP_OUT,this.swapsData=this.swaps.reverseSwaps||[])}onSwap(M){this.boltzService.serviceInfo().pipe((0,an.R)(this.unSubs[2])).subscribe({next:_=>{this.store.dispatch((0,Zt.qR)({payload:{data:{serviceInfo:_,direction:M,component:cl}}}))}})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}ul.\u0275fac=function(M){return new(M||ul)(e.Y36(Gn.F0),e.Y36(Ii.yh),e.Y36(ps))},ul.\u0275cmp=e.Xpm({type:ul,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(M,_){if(1&M&&(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,X2,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 _.onSwap(_.selectedSwapType)}),e._uU(18),e.qZA()(),e._UZ(19,"rtl-boltz-swaps",15),e.qZA()()()),2&M){const Z=e.MAs(15);e.xp6(12),e.Q6J("tabPanel",Z),e.xp6(1),e.Q6J("ngForOf",_.links),e.xp6(5),e.hij("Start ",_.activeTab.name,""),e.xp6(1),e.Q6J("selectedSwapType",_.selectedSwapType)("swapsData",_.swapsData)("flgLoading",_.flgLoading)("emptyTableMessage",_.emptyTableMessage)}},dependencies:[Yi.sg,Wi.xw,Wi.Wh,Wi.yH,pi.lW,Ie.a8,Ie.dn,vt.BU,vt.sW,vt.Nj,Gn.rH,hl]});class Tr{constructor(M){this.help=M}}function Bl(F,M){if(1&F&&(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&F){const _=e.oxw().$implicit,Z=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",Z.flgLoggedIn?_.help.link:"/login"),e.xp6(1),e.Oqu(Z.flgLoggedIn?_.help.linkCaption:"Login to go to the page")}}function Lc(F,M){if(1&F&&(e.TgZ(0,"div",6),e.YNc(1,Bl,8,4,"mat-expansion-panel",7),e.qZA()),2&F){const _=M.$implicit,Z=e.oxw();e.xp6(1),e.Q6J("ngIf","ALL"===_.help.lnImplementation||_.help.lnImplementation===Z.selNode.lnImplementation)}}class Ic{constructor(M,_){this.store=M,this.sessionService=_,this.helpTopics=[],this.faQuestion=qi.Psp,this.LNPLink="/lnd/",this.flgLoggedIn=!1,this.unSubs=[new zi.x,new zi.x,new zi.x,new zi.x]}ngOnInit(){this.store.select(ya.dT).pipe((0,an.R)(this.unSubs[0])).subscribe(M=>{this.selNode=M,this.selNode.lnImplementation&&""!==this.selNode.lnImplementation.trim()&&(this.LNPLink="/"+this.selNode.lnImplementation.toLowerCase()+"/",this.addHelpTopics())}),this.sessionService.watchSession().pipe((0,an.R)(this.unSubs[1])).subscribe(M=>{this.flgLoggedIn=!!M.token}),this.sessionService.getItem("token")&&(this.flgLoggedIn=!0)}addHelpTopics(){this.helpTopics=[],this.helpTopics.push(new Tr({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 Tr({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 Tr({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 Tr({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 Tr({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 Tr({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 Tr({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 Tr({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 Tr({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 Tr({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 Tr({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 Tr({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 Tr({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 Tr({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 Tr({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 Tr({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 Tr({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 Tr({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(M=>{M.next(null),M.complete()})}}Ic.\u0275fac=function(M){return new(M||Ic)(e.Y36(Ii.yh),e.Y36(lr.m))},Ic.\u0275cmp=e.Xpm({type:Ic,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(M,_){1&M&&(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,Lc,2,1,"div",5),e.qZA()()()),2&M&&(e.xp6(2),e.Q6J("icon",_.faQuestion),e.xp6(5),e.Q6J("ngForOf",_.helpTopics))},dependencies:[Yi.sg,Yi.O5,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,Ai.ib,Ai.yz,Ai.yK,Ai.u4,Gn.rH],styles:[".mat-mdc-card-content[_ngcontent-%COMP%]{margin-bottom:4px}"]});var $2=p(9841);function e0(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Token is required."),e.qZA())}class dc{constructor(M,_){this.dialogRef=M,this.store=_,this.token=""}onClose(){this.dialogRef.close(null)}onVerifyToken(){if(!this.token)return!0;this.dialogRef.close(),this.store.dispatch((0,Zt.M6)({payload:{twoFAToken:this.token}}))}}function Mh(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Password is required."),e.qZA())}function Id(F,M){if(1&F&&(e.TgZ(0,"p",20)(1,"mat-icon",21),e._uU(2,"close"),e.qZA(),e._uU(3),e.qZA()),2&F){const _=e.oxw();e.xp6(3),e.hij(" ",_.loginErrorMessage," ")}}dc.\u0275fac=function(M){return new(M||dc)(e.Y36(Ca.so),e.Y36(Ii.yh))},dc.\u0275cmp=e.Xpm({type:dc,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(M,_){1&M&&(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 _.onClose()}),e._uU(7,"X"),e.qZA()(),e.TgZ(8,"mat-card-content",6)(9,"form",7,8),e.NdJ("ngSubmit",function(){return _.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(_e){return _.token=_e}),e.qZA(),e.YNc(15,e0,2,0,"mat-error",10),e.qZA(),e.TgZ(16,"div",11)(17,"button",12),e._uU(18,"Verify Token"),e.qZA()()()()()()),2&M&&(e.xp6(14),e.Q6J("ngModel",_.token),e.xp6(1),e.Q6J("ngIf",!_.token))},dependencies:[Yi.O5,Jt._Y,Jt.Fj,Jt.JJ,Jt.JL,Jt.Q7,Jt.On,Jt.F,Wi.xw,Wi.Wh,Wi.yH,pi.lW,Ie.dn,Ie.dk,Wa.Nt,Ci.KE,Ci.hX,Ci.TO,xn.h]});const fl=function(F){return{"padding-gap-large":F}},t0=function(F,M){return{"font-size-200":F,"font-size-300":M}};class kc{constructor(M,_,Z,_e){this.logger=M,this.store=_,this.rtlEffects=Z,this.commonService=_e,this.faUnlockAlt=qi.B$L,this.password="",this.rtlSSO=0,this.rtlCookiePath="",this.accessKey="",this.flgShow=!1,this.screenSize="",this.screenSizeEnum=Re.cu,this.loginErrorMessage="",this.apiCallStatusEnum=Re.Bn,this.unSubs=[new zi.x,new zi.x,new zi.x]}ngOnInit(){this.screenSize=this.commonService.getScreenSize(),(0,$2.a)([this.store.select(ya.ul),this.store.select(ya.Sr)]).pipe((0,an.R)(this.unSubs[0])).subscribe(([M,_])=>{this.loginErrorMessage="",M.status===Re.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof M.message?JSON.stringify(M.message):M.message),this.logger.error(M.message)),_.status===Re.Bn.ERROR&&(this.loginErrorMessage=this.loginErrorMessage+("object"==typeof _.message?JSON.stringify(_.message):_.message),this.logger.error(_.message))}),this.store.select(ya.Yj).pipe((0,an.R)(this.unSubs[1])).subscribe(M=>{this.appConfig=M,this.logger.info(M)})}onLogin(){if(!this.password)return!0;this.loginErrorMessage="",this.appConfig.enable2FA?(this.store.dispatch((0,Zt.qR)({payload:{maxWidth:"35rem",data:{component:dc}}})),this.rtlEffects.closeAlert.pipe((0,xa.q)(1)).subscribe(M=>{M&&this.store.dispatch((0,Zt.x4)({payload:{password:Ea(this.password),defaultPassword:Re.kO.includes(this.password.toLowerCase()),twoFAToken:M.twoFAToken}}))})):this.store.dispatch((0,Zt.x4)({payload:{password:Ea(this.password),defaultPassword:Re.kO.includes(this.password.toLowerCase())}}))}resetData(){this.password="",this.loginErrorMessage="",this.flgShow=!1}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}kc.\u0275fac=function(M){return new(M||kc)(e.Y36(ri.mQ),e.Y36(Ii.yh),e.Y36(Ta.V),e.Y36(Nt.v))},kc.\u0275cmp=e.Xpm({type:kc,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(M,_){1&M&&(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(_e){return _.password=_e}),e.qZA(),e.TgZ(18,"button",14),e.NdJ("click",function(){return _.flgShow=!_.flgShow}),e.TgZ(19,"mat-icon"),e._uU(20),e.qZA()(),e.YNc(21,Mh,2,0,"mat-error",15),e.qZA(),e.YNc(22,Id,4,1,"p",16),e.TgZ(23,"div",17)(24,"button",18),e.NdJ("click",function(){return _.resetData()}),e._uU(25,"Clear"),e.qZA(),e.TgZ(26,"button",19),e.NdJ("click",function(){return _.onLogin()}),e._uU(27,"Login"),e.qZA()()()()()()()()()),2&M&&(e.xp6(6),e.Q6J("ngClass",e.VKq(8,fl,_.screenSize===_.screenSizeEnum.XS)),e.xp6(2),e.Q6J("ngClass",e.WLB(10,t0,_.screenSize===_.screenSizeEnum.XS,_.screenSize!==_.screenSizeEnum.XS)),e.xp6(9),e.Q6J("type",_.flgShow?"text":"password")("ngModel",_.password),e.xp6(1),e.uIk("aria-label","Hide password"),e.xp6(2),e.Oqu(_.flgShow?"visibility_off":"visibility"),e.xp6(1),e.Q6J("ngIf",!_.password),e.xp6(1),e.Q6J("ngIf",""!==_.loginErrorMessage))},dependencies:[Yi.mk,Yi.O5,Jt._Y,Jt.Fj,Jt.JJ,Jt.JL,Jt.Q7,Jt.On,Jt.F,Wi.xw,Wi.Wh,Wi.yH,di.oO,pi.lW,pi.RK,Ie.a8,Ie.dn,Ie.dk,Ie.n5,us.Hw,Wa.Nt,Ci.KE,Ci.hX,Ci.TO,Ci.R9,xn.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}"]});var s3=p(9442);class Vs{constructor(M,_){this.activatedRoute=M,this.router=_,this.error={errorCode:"",errorMessage:""},this.faTimes=qi.NBC,this.unsubs=[new zi.x,new zi.x]}ngOnInit(){this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.activatedRoute.paramMap.pipe((0,an.R)(this.unsubs[0])).subscribe(M=>{this.error=window.history.state})}goToHelp(){this.router.navigate(["/help"])}}Vs.\u0275fac=function(M){return new(M||Vs)(e.Y36(Gn.gz),e.Y36(Gn.F0))},Vs.\u0275cmp=e.Xpm({type:Vs,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(M,_){1&M&&(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 _.goToHelp()}),e._uU(12,"Go To Help"),e.qZA()()()()()),2&M&&(e.xp6(4),e.Q6J("icon",_.faTimes),e.xp6(2),e.hij("Error ",_.error.errorCode,""),e.xp6(3),e.Oqu(_.error.errorMessage))},dependencies:[Sa.BN,Wi.xw,Wi.Wh,Wi.yH,pi.lW,Ie.a8,Ie.dn,Ie.dk,Ie.n5],encapsulation:2});var Ar=p(1643),Ul=p(8104),n0=p(9843),Gl=p(6534);function Bs(F,M){1&F&&e._UZ(0,"span",16)}function a0(F,M){1&F&&e._UZ(0,"span",17)}function ml(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"form",18,4)(2,"div",19),e._UZ(3,"fa-icon",2),e.TgZ(4,"span"),e._uU(5,"Please ensure that "),e.TgZ(6,"strong"),e._uU(7,"experimental-offers"),e.qZA(),e._uU(8," flag is set to true in the Core Lightning config before enabling it in RTL. Click "),e.TgZ(9,"strong")(10,"a",20),e._uU(11,"here"),e.qZA()(),e._uU(12," to learn more about Core Lightning offers."),e.qZA()(),e.TgZ(13,"h4",21),e._uU(14,"Description"),e.qZA(),e.TgZ(15,"span"),e._uU(16,"Offers is a draft specification (also referred as BOLT12) for Lightning nodes and wallets, with experimental support in Core Lightning."),e.qZA(),e.TgZ(17,"h4",21),e._uU(18,"Links"),e.qZA(),e.TgZ(19,"span")(20,"a",22),e._uU(21,"Core lightning Bolt12"),e.qZA()(),e._UZ(22,"mat-divider",23),e.TgZ(23,"div",24),e._UZ(24,"fa-icon",2),e.TgZ(25,"span"),e._uU(26,"Do not get an Offer tattoo until spec is fully ratified!"),e.qZA()(),e.TgZ(27,"mat-slide-toggle",25),e.NdJ("ngModelChange",function(_e){e.CHM(_);const xt=e.oxw(2);return e.KtG(xt.enableOffers=_e)})("change",function(){e.CHM(_);const _e=e.oxw(2);return e.KtG(_e.onUpdateFeature())}),e._uU(28),e.qZA()()}if(2&F){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 Us(F,M){if(1&F&&(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&F){const _=e.oxw(3);e.xp6(2),e.Q6J("icon",_.faExclamationTriangle)}}function Sh(F,M){if(1&F&&(e.TgZ(0,"mat-option",47),e._uU(1),e.ALo(2,"titlecase"),e.qZA()),2&F){const _=M.$implicit;e.Q6J("value",_),e.xp6(1),e.hij(" ",e.lcZ(2,2,_.id)," ")}}function S1(F,M){if(1&F&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&F){const _=e.oxw(4);e.xp6(1),e.hij("",_.selPolicyType.placeholder," is required.")}}function Zl(F,M){if(1&F&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&F){const _=e.oxw(4);e.xp6(1),e.AsE("",_.selPolicyType.placeholder," must be greater than or equal to ",_.selPolicyType.min,".")}}function Oc(F,M){if(1&F&&(e.TgZ(0,"mat-error"),e._uU(1),e.qZA()),2&F){const _=e.oxw(4);e.xp6(1),e.AsE("",_.selPolicyType.placeholder," must be less than or equal to ",_.selPolicyType.max,".")}}function kd(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Lease base fee is required."),e.qZA())}function Od(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Lease base basis is required."),e.qZA())}function r0(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Max channel routing base fee is required."),e.qZA())}function o0(F,M){1&F&&(e.TgZ(0,"mat-error"),e._uU(1,"Max channel routing fee rate is required."),e.qZA())}const Pd=function(F,M){return{"alert-danger":F,"alert-info":M}};function Pc(F,M){if(1&F&&(e.TgZ(0,"h4",48)(1,"span",49),e._uU(2),e.qZA()()),2&F){const _=e.oxw(4);e.xp6(1),e.Q6J("ngClass",e.WLB(2,Pd,!!_.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 s0(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"div",30)(1,"div",31),e._UZ(2,"fa-icon",2),e.TgZ(3,"span"),e._uU(4,"These config changes should be configured permanently via the config file on your CLN node otherwise the policy would need to be configured again, if your node restarts."),e.qZA()(),e.TgZ(5,"div",32)(6,"mat-form-field",33)(7,"mat-label"),e._uU(8,"Policy"),e.qZA(),e.TgZ(9,"mat-select",34),e.NdJ("ngModelChange",function(_e){e.CHM(_);const xt=e.oxw(3);return e.KtG(xt.selPolicyType=_e)})("selectionChange",function(){e.CHM(_);const _e=e.oxw(3);return e.KtG(_e.policyMod=null)}),e.YNc(10,Sh,3,4,"mat-option",35),e.qZA()(),e.TgZ(11,"mat-form-field",36)(12,"mat-label"),e._uU(13),e.qZA(),e.TgZ(14,"input",37,38),e.NdJ("ngModelChange",function(_e){e.CHM(_);const xt=e.oxw(3);return e.KtG(xt.policyMod=_e)}),e.qZA(),e.TgZ(16,"mat-hint"),e._uU(17),e.qZA(),e.YNc(18,S1,2,1,"mat-error",26),e.YNc(19,Zl,2,2,"mat-error",26),e.YNc(20,Oc,2,2,"mat-error",26),e.qZA()(),e.TgZ(21,"div",32)(22,"mat-form-field",36)(23,"mat-label"),e._uU(24,"Lease Base Fee (Sats)"),e.qZA(),e.TgZ(25,"input",39),e.NdJ("ngModelChange",function(_e){e.CHM(_);const xt=e.oxw(3);return e.KtG(xt.lease_fee_base_sat=_e)}),e.qZA(),e.YNc(26,kd,2,0,"mat-error",26),e.qZA(),e.TgZ(27,"mat-form-field",36)(28,"mat-label"),e._uU(29,"Lease Base Basis (bps)"),e.qZA(),e.TgZ(30,"input",40),e.NdJ("ngModelChange",function(_e){e.CHM(_);const xt=e.oxw(3);return e.KtG(xt.lease_fee_basis=_e)}),e.qZA(),e.YNc(31,Od,2,0,"mat-error",26),e.qZA()(),e.TgZ(32,"div",32)(33,"mat-form-field",36)(34,"mat-label"),e._uU(35,"Max Channel Routing Base Fee (Sats)"),e.qZA(),e.TgZ(36,"input",41),e.NdJ("ngModelChange",function(_e){e.CHM(_);const xt=e.oxw(3);return e.KtG(xt.channelFeeMaxBaseSat=_e)}),e.qZA(),e.YNc(37,r0,2,0,"mat-error",26),e.qZA(),e.TgZ(38,"mat-form-field",36)(39,"mat-label"),e._uU(40,"Max Channel Routing Fee Rate (ppm)"),e.qZA(),e.TgZ(41,"input",42),e.NdJ("ngModelChange",function(_e){e.CHM(_);const xt=e.oxw(3);return e.KtG(xt.channelFeeMaxProportional=_e)}),e.qZA(),e.YNc(42,o0,2,0,"mat-error",26),e.qZA()(),e.YNc(43,Pc,3,5,"h4",43),e.TgZ(44,"div",44)(45,"button",45),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw(3);return e.KtG(_e.onResetPolicy())}),e._uU(46,"Reset"),e.qZA(),e.TgZ(47,"button",46),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw(3);return e.KtG(_e.onUpdateFundingPolicy())}),e._uU(48,"Update"),e.qZA()()()}if(2&F){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 Eh(F,M){if(1&F&&(e.TgZ(0,"form",18,4),e.YNc(2,Us,12,1,"div",26),e.YNc(3,s0,49,23,"div",27),e.qZA()),2&F){const _=e.oxw(2);e.xp6(2),e.Q6J("ngIf",!_.features[1].enabled),e.xp6(1),e.Q6J("ngIf",_.features[1].enabled)}}function E1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-expansion-panel",9),e.NdJ("opened",function(){const xt=e.CHM(_).index,Ut=e.oxw();return e.KtG(Ut.onPanelExpanded(xt))}),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,Bs,1,0,"span",12),e.YNc(7,a0,1,0,"span",13),e._uU(8),e.qZA()()(),e.TgZ(9,"div",14),e.YNc(10,ml,29,5,"form",15),e.YNc(11,Eh,4,2,"form",15),e.qZA()()}if(2&F){const _=M.$implicit,Z=M.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===Z),e.xp6(1),e.Q6J("ngIf",1===Z)}}class hc{constructor(M,_,Z,_e){this.logger=M,this.store=_,this.dataService=Z,this.commonService=_e,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=Re.gB,this.selPolicyType=Re.gB[0],this.flgUpdateCalled=!1,this.updateMsg={},this.unSubs=[new zi.x,new zi.x,new zi.x,new zi.x,new zi.x]}ngOnInit(){this.dataService.listConfigs().pipe((0,an.R)(this.unSubs[0])).subscribe({next:M=>{this.logger.info("Received List Configs: "+JSON.stringify(M)),this.features[1].enabled=!!M["experimental-dual-fund"]},error:M=>{this.logger.error("List Configs Error: "+JSON.stringify(M)),this.features[1].enabled=!1}}),this.store.select(ya.dT).pipe((0,an.R)(this.unSubs[1])).subscribe(M=>{this.selNode=M,this.enableOffers=this.selNode.settings.enableOffers||!1,this.features[0].enabled=this.enableOffers,this.logger.info(this.selNode)}),this.store.select(Ll.Rn).pipe((0,an.R)(this.unSubs[2])).subscribe(M=>{this.policyTypes[2].max=M.balance.totalBalance||1e3})}onPanelExpanded(M){1===M&&!this.fundingPolicy.policy&&this.dataService.getOrUpdateFunderPolicy().pipe((0,an.R)(this.unSubs[3])).subscribe(_=>{this.logger.info("Received Funder Update Policy: "+JSON.stringify(_)),this.fundingPolicy=_,this.fundingPolicy.policy&&(this.selPolicyType=Re.gB.find(Z=>Z.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,Zt.jS)({payload:{uiMessage:Re.m6.UPDATE_SETTING,service:Re.JX.OFFERS,settings:{enableOffers:this.enableOffers}}})),this.store.dispatch((0,Dt.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,rt.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,Ne.Zr)({payload:{userPersona:this.selNode.settings.userPersona,channelBackupPath:this.selNode.settings.channelBackupPath,selCurrencyUnit:this.selNode.settings.currencyUnit,currencyUnits:this.selNode.settings.currencyUnits,fiatConversion:this.selNode.settings.fiatConversion,unannouncedChannels:this.selNode.settings.unannouncedChannels,lnImplementation:this.selNode.lnImplementation,swapServerUrl:this.selNode.settings.swapServerUrl,boltzServerUrl:this.selNode.settings.boltzServerUrl,enableOffers:this.enableOffers}}))}onUpdateFundingPolicy(){this.flgUpdateCalled=!0,this.updateMsg={},this.dataService.getOrUpdateFunderPolicy(this.selPolicyType.id,this.policyMod,1e3*(this.lease_fee_base_sat||0),this.lease_fee_basis,1e3*(this.channelFeeMaxBaseSat||0),this.channelFeeMaxProportional?this.channelFeeMaxProportional/1e3:0).pipe((0,an.R)(this.unSubs[4])).subscribe({next:M=>{this.logger.info(M),this.fundingPolicy=M,this.updateMsg={data:"Compact Lease: "+M.compact_lease},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)},error:M=>{this.logger.error(M),this.updateMsg={error:this.commonService.extractErrorMessage(M,"Error in updating funder policy")},setTimeout(()=>{this.flgUpdateCalled=!1},5e3)}})}onResetPolicy(){this.flgUpdateCalled=!1,this.updateMsg={},this.selPolicyType=this.fundingPolicy.policy?Re.gB.find(M=>M.id===this.fundingPolicy.policy)||this.policyTypes[0]:Re.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(M=>{M.next(null),M.complete()})}}hc.\u0275fac=function(M){return new(M||hc)(e.Y36(ri.mQ),e.Y36(Ii.yh),e.Y36(Ul.D),e.Y36(Nt.v))},hc.\u0275cmp=e.Xpm({type:hc,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(M,_){1&M&&(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,E1,12,7,"mat-expansion-panel",8),e.qZA()()()),2&M&&(e.xp6(2),e.Q6J("icon",_.faInfoCircle),e.xp6(6),e.Q6J("icon",_.faCode),e.xp6(4),e.Q6J("ngForOf",_.features))},dependencies:[Yi.mk,Yi.sg,Yi.O5,Jt._Y,Jt.Fj,Jt.wV,Jt.JJ,Jt.JL,Jt.Q7,Jt.qQ,Jt.Fd,Jt.On,Jt.F,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,di.oO,pi.lW,Ai.pp,Ai.ib,Ai.yz,Ai.yK,Wa.Nt,Ci.KE,Ci.hX,Ci.bx,Ci.TO,zo.d,Fi.gD,Zi.ey,Qi.Rr,tn.$V,xn.h,n0.F,Gl.q,Yi.rS],styles:["h4[_ngcontent-%COMP%]{word-break:break-word}"]});const l0=Gn.Bz.forRoot([{path:"",pathMatch:"full",redirectTo:"login"},{path:"lnd",loadChildren:()=>Promise.all([p.e(267),p.e(636)]).then(p.bind(p,1636)).then(F=>F.LNDModule),canActivate:[Ar.a1]},{path:"cln",loadChildren:()=>Promise.all([p.e(267),p.e(564)]).then(p.bind(p,9564)).then(F=>F.CLNModule),canActivate:[Ar.a1]},{path:"ecl",loadChildren:()=>Promise.all([p.e(267),p.e(258)]).then(p.bind(p,7258)).then(F=>F.ECLModule),canActivate:[Ar.a1]},{path:"settings",component:Ct,canActivate:[Ar.a1],children:[{path:"",pathMatch:"full",redirectTo:"app"},{path:"app",component:ma,canActivate:[Ar.a1]},{path:"auth",component:vo,canActivate:[Ar.a1]},{path:"bconfig",component:Dl,canActivate:[Ar.a1]}]},{path:"config",component:Vo,canActivate:[Ar.a1],children:[{path:"",pathMatch:"full",redirectTo:"nodesettings"},{path:"nodesettings",component:Rs,canActivate:[Ar.a1]},{path:"pglayout",component:el,canActivate:[Ar.a1]},{path:"services",component:qo,canActivate:[Ar.a1],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",component:Ns,canActivate:[Ar.a1]},{path:"boltz",component:il,canActivate:[Ar.a1]}]},{path:"experimental",component:hc,canActivate:[Ar.a1]},{path:"lnconfig",component:re,canActivate:[Ar.a1]}]},{path:"services",component:rc,canActivate:[Ar.a1],children:[{path:"",pathMatch:"full",redirectTo:"loop"},{path:"loop",pathMatch:"full",redirectTo:"loop/loopout"},{path:"loop/:selTab",component:Tc},{path:"boltz",pathMatch:"full",redirectTo:"boltz/swapout"},{path:"boltz/:selTab",component:ul}]},{path:"help",component:Ic},{path:"login",component:kc},{path:"error",component:Vs},{path:"**",component:s3.w}],{scrollPositionRestoration:"enabled"});var d0=p(9470),h0=p(8878),Rd=p(1572),Nd=p(3267),es=p(3683),T1=p(7851),Rr=p(5423);const _s={LNDChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.HLz,link:"/lnd/home",userPersona:Re.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.nNP,link:"/lnd/onchain",userPersona:Re.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.BDt,link:"/lnd/connections",userPersona:Re.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.FVb,link:"/lnd/connections",userPersona:Re.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:qi.Ssp,link:"/lnd/transactions",userPersona:Re.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:qi.SuH,link:"/lnd/routing",userPersona:Re.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:qi.koM,link:"/lnd/reports",userPersona:Re.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.wn1,link:"/lnd/graph",userPersona:Re.ol.ALL},{id:36,parentId:3,name:"Sign/Verify",iconType:"FA",icon:qi.hkK,link:"/lnd/messages",userPersona:Re.ol.ALL},{id:37,parentId:3,name:"Backup",iconType:"FA",icon:qi.q7m,link:"/lnd/channelbackup",userPersona:Re.ol.ALL},{id:38,parentId:3,name:"Network",iconType:"FA",icon:qi.TmZ,link:"/lnd/network",userPersona:Re.ol.OPERATOR},{id:39,parentId:3,name:"Node/Network",iconType:"FA",icon:qi.xf3,link:"/lnd/network",userPersona:Re.ol.MERCHANT}]},{id:4,parentId:0,name:"Services",iconType:"FA",icon:qi.Krp,link:"/services/loop",userPersona:Re.ol.ALL,children:[{id:41,parentId:4,name:"Loop",iconType:"FA",icon:qi.vqe,link:"/services/loop",userPersona:Re.ol.ALL},{id:42,parentId:4,name:"Boltz",iconType:"SVG",icon:"boltzIconBlock",link:"/services/boltz",userPersona:Re.ol.ALL}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:qi.CgH,link:"/config",userPersona:Re.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:qi.Psp,link:"/help",userPersona:Re.ol.ALL}],CLNChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.HLz,link:"/cln/home",userPersona:Re.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.nNP,link:"/cln/onchain",userPersona:Re.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.BDt,link:"/cln/connections",userPersona:Re.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.FVb,link:"/cln/connections",userPersona:Re.ol.ALL},{id:32,parentId:3,name:"Liquidity Ads",iconType:"FA",icon:qi.Acd,link:"/cln/liquidityads",userPersona:Re.ol.ALL},{id:33,parentId:3,name:"Transactions",iconType:"FA",icon:qi.Ssp,link:"/cln/transactions",userPersona:Re.ol.ALL},{id:34,parentId:3,name:"Routing",iconType:"FA",icon:qi.SuH,link:"/cln/routing",userPersona:Re.ol.ALL},{id:35,parentId:3,name:"Reports",iconType:"FA",icon:qi.koM,link:"/cln/reports",userPersona:Re.ol.ALL},{id:36,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.wn1,link:"/cln/graph",userPersona:Re.ol.ALL},{id:37,parentId:3,name:"Sign/Verify",iconType:"FA",icon:qi.hkK,link:"/cln/messages",userPersona:Re.ol.ALL},{id:38,parentId:3,name:"Fee Rates",iconType:"FA",icon:qi.USL,link:"/cln/rates",userPersona:Re.ol.OPERATOR},{id:39,parentId:3,name:"Node/Fee Rates",iconType:"FA",icon:qi.xf3,link:"/cln/rates",userPersona:Re.ol.MERCHANT}]},{id:5,parentId:0,name:"Node Config",iconType:"FA",icon:qi.CgH,link:"/config",userPersona:Re.ol.ALL},{id:6,parentId:0,name:"Help",iconType:"FA",icon:qi.Psp,link:"/help",userPersona:Re.ol.ALL}],ECLChildren:[{id:1,parentId:0,name:"Dashboard",iconType:"FA",icon:qi.HLz,link:"/ecl/home",userPersona:Re.ol.ALL},{id:2,parentId:0,name:"On-chain",iconType:"FA",icon:qi.nNP,link:"/ecl/onchain",userPersona:Re.ol.ALL},{id:3,parentId:0,name:"Lightning",iconType:"FA",icon:qi.BDt,link:"/ecl/connections",userPersona:Re.ol.ALL,children:[{id:31,parentId:3,name:"Peers/Channels",iconType:"FA",icon:qi.FVb,link:"/ecl/connections",userPersona:Re.ol.ALL},{id:32,parentId:3,name:"Transactions",iconType:"FA",icon:qi.Ssp,link:"/ecl/transactions",userPersona:Re.ol.ALL},{id:33,parentId:3,name:"Routing",iconType:"FA",icon:qi.SuH,link:"/ecl/routing",userPersona:Re.ol.ALL},{id:34,parentId:3,name:"Reports",iconType:"FA",icon:qi.koM,link:"/ecl/reports",userPersona:Re.ol.ALL},{id:35,parentId:3,name:"Graph Lookup",iconType:"FA",icon:qi.wn1,link:"/ecl/graph",userPersona:Re.ol.ALL}]},{id:4,parentId:0,name:"Node Config",iconType:"FA",icon:qi.CgH,link:"/config",userPersona:Re.ol.ALL},{id:5,parentId:0,name:"Help",iconType:"FA",icon:qi.Psp,link:"/help",userPersona:Re.ol.ALL}]};function Th(F,M){if(1&F&&(e.TgZ(0,"mat-option",11),e._uU(1),e.qZA()),2&F){const _=M.$implicit;e.Q6J("value",_.index),e.xp6(1),e.AsE(" ",_.lnNode," (",_.lnImplementation,") ")}}function c3(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-select",9),e.NdJ("selectionChange",function(_e){e.CHM(_);const xt=e.oxw();return e.KtG(xt.onNodeSelectionChange(_e.value))}),e.TgZ(1,"perfect-scrollbar"),e.YNc(2,Th,2,3,"mat-option",10),e.qZA()()}if(2&F){const _=e.oxw();e.Q6J("value",_.selConfigNodeIndex),e.xp6(2),e.Q6J("ngForOf",_.appConfig.nodes)}}function u0(F,M){if(1&F&&(e.TgZ(0,"span",21),e.GkF(1,22),e.qZA()),2&F){const _=e.oxw().$implicit;e.oxw(2);const Z=e.MAs(11);e.xp6(1),e.Q6J("ngTemplateOutlet","boltzIconBlock"===_.icon?Z:null)}}function Fd(F,M){if(1&F&&e._UZ(0,"fa-icon",23),2&F){const _=e.oxw().$implicit;e.Q6J("icon",_.icon)}}function Ah(F,M){if(1&F&&(e.TgZ(0,"mat-icon",24),e._uU(1),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_.icon)}}function A1(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-tree-node",15)(1,"div",16),e.NdJ("click",function(){const xt=e.CHM(_).$implicit,Ut=e.oxw(2);return e.KtG(Ut.onChildNavClicked(xt))}),e.TgZ(2,"div",17),e.YNc(3,u0,2,1,"span",18),e.YNc(4,Fd,1,1,"fa-icon",19),e.YNc(5,Ah,2,1,"mat-icon",20),e.TgZ(6,"span"),e._uU(7),e.qZA()()()()}if(2&F){const _=M.$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 Hd(F,M){if(1&F&&(e.TgZ(0,"span",32),e.GkF(1,22),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Q6J("ngTemplateOutlet",_.icon)}}function Dh(F,M){if(1&F&&e._UZ(0,"fa-icon",23),2&F){const _=e.oxw().$implicit;e.Q6J("icon",_.icon)}}function zd(F,M){if(1&F&&(e.TgZ(0,"mat-icon",24),e._uU(1),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Oqu(_.icon)}}function gl(F,M){if(1&F&&(e.TgZ(0,"mat-nested-tree-node",25)(1,"div",26)(2,"div",27),e.YNc(3,Hd,2,1,"span",28),e.YNc(4,Dh,1,1,"fa-icon",19),e.YNc(5,zd,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&F){const _=M.$implicit,Z=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(Z.treeControlNested.isExpanded(_)?"arrow_drop_up":"arrow_drop_down"),e.xp6(1),e.ekj("tree-children-invisible",!Z.treeControlNested.isExpanded(_))}}function Lh(F,M){if(1&F&&(e.TgZ(0,"mat-tree",5,12),e.YNc(2,A1,8,5,"mat-tree-node",13),e.YNc(3,gl,13,8,"mat-nested-tree-node",14),e.qZA()),2&F){const _=e.oxw();e.Q6J("dataSource",_.navMenus)("treeControl",_.treeControlNested),e.xp6(3),e.Q6J("matTreeNodeDefWhen",_.hasChild)}}function Ih(F,M){if(1&F&&(e.TgZ(0,"span",21),e.GkF(1,22),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Q6J("ngTemplateOutlet",_.icon)}}function f0(F,M){if(1&F&&e._UZ(0,"fa-icon",35),2&F){const _=e.oxw().$implicit;e.s9C("matTooltip",_.name),e.Q6J("icon",_.icon)}}function kh(F,M){if(1&F&&(e.TgZ(0,"mat-icon",36),e._uU(1),e.qZA()),2&F){const _=e.oxw().$implicit;e.s9C("matTooltip",_.name),e.xp6(1),e.Oqu(_.icon)}}function Vd(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-tree-node",16),e.NdJ("click",function(){const xt=e.CHM(_).$implicit,Ut=e.oxw();return e.KtG(Ut.onShowData(xt))}),e.YNc(1,Ih,2,1,"span",18),e.YNc(2,f0,1,2,"fa-icon",33),e.YNc(3,kh,2,2,"mat-icon",34),e.TgZ(4,"span"),e._uU(5),e.qZA()()}if(2&F){const _=M.$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 Oh(F,M){if(1&F&&(e.TgZ(0,"span",32),e.GkF(1,22),e.qZA()),2&F){const _=e.oxw().$implicit;e.xp6(1),e.Q6J("ngTemplateOutlet",_.icon)}}function D1(F,M){if(1&F&&e._UZ(0,"fa-icon",35),2&F){const _=e.oxw().$implicit;e.s9C("matTooltip",_.name),e.Q6J("icon",_.icon)}}function _l(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"mat-tree-node",16),e.NdJ("click",function(){const xt=e.CHM(_).$implicit,Ut=e.oxw(2);return e.KtG(Ut.onClick(xt))}),e.YNc(1,Oh,2,1,"span",28),e.YNc(2,D1,1,2,"fa-icon",33),e.TgZ(3,"span"),e._uU(4),e.qZA()()}if(2&F){const _=M.$implicit;e.xp6(1),e.Q6J("ngIf","SVG"===_.iconType),e.xp6(1),e.Q6J("ngIf","FA"===_.iconType),e.xp6(2),e.Oqu(_.name)}}function Gs(F,M){if(1&F&&(e.TgZ(0,"mat-tree",5),e.YNc(1,_l,5,3,"mat-tree-node",6),e.qZA()),2&F){const _=e.oxw();e.Q6J("dataSource",_.navMenusLogout)("treeControl",_.treeControlLogout)}}function Ph(F,M){1&F&&(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()()())}class vl{constructor(M,_,Z,_e,xt,Ut){this.logger=M,this.commonService=_,this.sessionService=Z,this.store=_e,this.actions=xt,this.rtlEffects=Ut,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=Re.ol,this.unSubs=[new zi.x,new zi.x,new zi.x,new zi.x,new zi.x,new zi.x],this.treeControlNested=new T1.VY(Xt=>Xt.children),this.treeControlLogout=new T1.VY(Xt=>Xt.children),this.treeControlShowData=new T1.VY(Xt=>Xt.children),this.navMenus=new Rr.WX,this.navMenusLogout=new Rr.WX,this.navMenusShowData=new Rr.WX,this.hasChild=(Xt,ci)=>!!ci.children&&ci.children.length>0,this.version=Re.q4,_s.LNDChildren&&200===_s.LNDChildren[_s.LNDChildren.length-1].id&&_s.LNDChildren.pop(),this.navMenus.data=_s.LNDChildren||[],this.navMenusLogout.data=this.logoutNode,this.navMenusShowData.data=this.showDataNodes}ngOnInit(){const M=this.sessionService.getItem("token");this.showLogout=!!M,this.flgLoading=!!M,this.store.select(ya.Yj).pipe((0,an.R)(this.unSubs[0])).subscribe(_=>{this.appConfig=_}),this.store.select(ya.gW).pipe((0,an.R)(this.unSubs[1])).subscribe(_=>{if(this.information=_.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 Z=this.information.chains[0];this.informationChain.chain=Z.chain,this.informationChain.network=Z.network}}else this.informationChain.chain="",this.informationChain.network="";this.flgLoading=!this.information.identity_pubkey,window.innerWidth<=414&&(this.smallScreen=!0),this.selNode=_.selNode,this.settings=this.selNode?.settings||null,this.selConfigNodeIndex=+(_.selNode?.index||0),this.selNode&&this.selNode.lnImplementation&&this.filterSideMenuNodes(),this.logger.info(_)}),this.sessionService.watchSession().pipe((0,an.R)(this.unSubs[2])).subscribe(_=>{this.showLogout=!!_.token,this.flgLoading=!!_.token}),this.actions.pipe((0,an.R)(this.unSubs[3]),(0,Ra.h)(_=>_.type===Re.pg.LOGOUT)).subscribe(_=>{this.showLogout=!1})}onClick(M){"Logout"===M.name&&(this.store.dispatch((0,Zt.c1)({payload:{data:{type:Re.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,an.R)(this.unSubs[4])).subscribe(_=>{_&&(this.showLogout=!1,this.store.dispatch((0,Zt.kS)()))})),this.ChildNavClicked.emit(M)}onChildNavClicked(M){this.ChildNavClicked.emit(M)}filterSideMenuNodes(){switch(this.selNode?.lnImplementation?.toUpperCase()){case"CLN":this.loadCLNMenu();break;case"ECL":this.loadECLMenu();break;default:this.loadLNDMenu()}}loadLNDMenu(){let M=[];M=JSON.parse(JSON.stringify(_s.LNDChildren)),this.navMenus.data=M?.filter(_=>_.children&&_.children.length?(_.children=_.children?.filter(Z=>(Z.userPersona===Re.ol.ALL||Z.userPersona===this.settings?.userPersona)&&"/services/loop"!==Z.link&&"/services/boltz"!==Z.link||"/services/loop"===Z.link&&this.settings?.swapServerUrl&&""!==this.settings.swapServerUrl.trim()||"/services/boltz"===Z.link&&this.settings?.boltzServerUrl&&""!==this.settings.boltzServerUrl.trim()),_.children.length>0):_.userPersona===Re.ol.ALL||_.userPersona===this.settings?.userPersona)}loadCLNMenu(){let M=[];M=JSON.parse(JSON.stringify(_s.CLNChildren)),this.navMenus.data=M?.filter(_=>_.children&&_.children.length?(_.children=_.children?.filter(Z=>(Z.userPersona===Re.ol.ALL||Z.userPersona===this.settings?.userPersona)&&"/services/peerswap"!==Z.link||"/services/peerswap"===Z.link&&this.settings?.enablePeerswap),_.children.length>0):_.userPersona===Re.ol.ALL||_.userPersona===this.settings?.userPersona)}loadECLMenu(){this.navMenus.data=JSON.parse(JSON.stringify(_s.ECLChildren))}onShowData(M){this.store.dispatch((0,Zt.tj)()),this.ChildNavClicked.emit("showData")}onNodeSelectionChange(M){const _=this.selConfigNodeIndex;this.selConfigNodeIndex=M;const Z=this.appConfig.nodes.find(_e=>+_e.index===M);this.store.dispatch((0,Zt.fk)({payload:{uiMessage:Re.m6.UPDATE_SELECTED_NODE,prevLnNodeIndex:+_,currentLnNode:Z||null,isInitialSetup:!1}})),this.ChildNavClicked.emit("selectNode")}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}vl.\u0275fac=function(M){return new(M||vl)(e.Y36(ri.mQ),e.Y36(Nt.v),e.Y36(lr.m),e.Y36(Ii.yh),e.Y36(Qa.eX),e.Y36(Ta.V))},vl.\u0275cmp=e.Xpm({type:vl,selectors:[["rtl-side-navigation"]],viewQuery:function(M,_){if(1&M&&e.Gf(Rr.gi,5),2&M){let Z;e.iGM(Z=e.CRH())&&(_.tree=Z.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(M,_){1&M&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,c3,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,Vd,6,4,"mat-tree-node",6),e.qZA()(),e.TgZ(8,"div",7),e.YNc(9,Gs,2,2,"mat-tree",4),e.qZA()(),e.YNc(10,Ph,6,0,"ng-template",null,8,e.W1O)),2&M&&(e.xp6(2),e.Q6J("ngIf",_.appConfig.nodes.length>1),e.xp6(2),e.Q6J("ngIf",null==_.settings?null:_.settings.lnServerUrl),e.xp6(2),e.Q6J("dataSource",_.navMenusShowData)("treeControl",_.treeControlShowData),e.xp6(3),e.Q6J("ngIf",_.showLogout))},dependencies:[Yi.sg,Yi.O5,Yi.tP,Sa.BN,Wi.xw,Wi.Wh,Wi.yH,pi.RK,us.Hw,zo.d,Rr.GZ,Rr.fQ,Rr.eu,Rr.gi,Rr.uo,Rr.Ar,Fi.gD,Zi.ey,Xc.gM,Gn.rH,Gn.Od,tn.Vv,tn.$V],styles:[".tree-children-invisible[_ngcontent-%COMP%]{display:none}"]});var m0=p(8255);function Rh(F,M){if(1&F&&(e.TgZ(0,"p",2),e._UZ(1,"fa-icon",3),e.TgZ(2,"span"),e._uU(3),e.qZA()()),2&F){const _=e.oxw();e.xp6(1),e.Q6J("icon",_.faCode),e.xp6(2),e.hij("API Version: ",null==_.information?null:_.information.api_version,"")}}function p0(F,M){if(1&F&&(e.TgZ(0,"p",11),e._UZ(1,"fa-icon",3),e.TgZ(2,"span",12),e._uU(3,"Settings"),e.qZA()()),2&F){const _=e.oxw();e.xp6(1),e.Q6J("icon",_.faUserCog)}}function Nh(F,M){if(1&F&&(e.TgZ(0,"p",13),e._UZ(1,"fa-icon",3),e.TgZ(2,"span",14),e._uU(3,"Help"),e.qZA()()),2&F){const _=e.oxw();e.xp6(1),e.Q6J("icon",_.faQuestion)}}function g0(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"p",15),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.onClick())}),e._UZ(1,"fa-icon",3),e.TgZ(2,"span"),e._uU(3,"Logout"),e.qZA()()}if(2&F){const _=e.oxw();e.xp6(1),e.Q6J("icon",_.faEject)}}class bl{constructor(M,_,Z,_e,xt){this.logger=M,this.sessionService=_,this.store=Z,this.rtlEffects=_e,this.actions=xt,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 zi.x,new zi.x,new zi.x,new zi.x],this.version=Re.q4}ngOnInit(){this.store.select(ya.R4).pipe((0,an.R)(this.unSubs[0])).subscribe(M=>{if(this.information=M,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 _=this.information.chains[0];this.informationChain.chain=_.chain,this.informationChain.network=_.network}}else this.informationChain.chain="",this.informationChain.network="";this.logger.info(M)}),this.sessionService.watchSession().pipe((0,an.R)(this.unSubs[1])).subscribe(M=>{this.showLogout=!!M.token,this.flgLoading=!!M.token}),this.actions.pipe((0,an.R)(this.unSubs[2]),(0,Ra.h)(M=>M.type===Re.pg.LOGOUT)).subscribe(()=>{this.showLogout=!1})}onClick(){this.store.dispatch((0,Zt.c1)({payload:{data:{type:Re.n_.CONFIRM,alertTitle:"Logout",titleMessage:"Logout from this device?",noBtnText:"Cancel",yesBtnText:"Logout"}}})),this.rtlEffects.closeConfirm.pipe((0,an.R)(this.unSubs[3])).subscribe(M=>{M&&(this.showLogout=!1,this.store.dispatch((0,Zt.kS)()))})}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(null),M.complete()})}}bl.\u0275fac=function(M){return new(M||bl)(e.Y36(ri.mQ),e.Y36(lr.m),e.Y36(Ii.yh),e.Y36(Ta.V),e.Y36(Qa.eX))},bl.\u0275cmp=e.Xpm({type:bl,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(M,_){if(1&M&&(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,Rh,4,2,"p",4),e.YNc(7,p0,4,1,"p",5),e.YNc(8,Nh,4,1,"p",6),e.YNc(9,g0,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&M){const Z=e.MAs(1);e.Q6J("overlapTrigger",!1),e.xp6(3),e.Q6J("icon",_.faCodeBranch),e.xp6(2),e.hij("Version: ",_.version,""),e.xp6(1),e.Q6J("ngIf",null==_.information?null:_.information.api_version),e.xp6(1),e.Q6J("ngIf",_.showLogout),e.xp6(1),e.Q6J("ngIf",_.showLogout),e.xp6(1),e.Q6J("ngIf",_.showLogout),e.xp6(1),e.Q6J("matMenuTriggerFor",Z)}},dependencies:[Yi.O5,Sa.BN,pi.RK,us.Hw,m0.VK,m0.OP,m0.p6,Gn.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});const Fh=["sideNavigation"],_0=["sideNavContent"];function Hh(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",14),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.sideNavToggle())}),e.TgZ(1,"mat-icon",15),e._uU(2,"menu"),e.qZA()()}if(2&F){const _=e.oxw();e.Q6J("matTooltip",_.flgSideNavOpened?"Hide Navigation Menu":"Show Navigation Menu")("matTooltipDisabled",_.smallScreen)}}function zh(F,M){1&F&&(e.O4$(),e._UZ(0,"path",20))}function ts(F,M){1&F&&(e.O4$(),e._UZ(0,"path",21))}function v0(F,M){if(1&F){const _=e.EpF();e.TgZ(0,"button",16),e.NdJ("click",function(){e.CHM(_);const _e=e.oxw();return e.KtG(_e.flgSidenavPinned=!_e.flgSidenavPinned)}),e.O4$(),e.TgZ(1,"svg",17),e.YNc(2,zh,1,0,"path",18),e.YNc(3,ts,1,0,"path",19),e.qZA()()}if(2&F){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 b0(F,M){if(1&F&&(e.TgZ(0,"span",22),e._uU(1),e.qZA()),2&F){const _=e.oxw();e.xp6(1),e.Oqu(_.information.alias?"RTL - "+_.information.alias:"RTL")}}function Vh(F,M){if(1&F&&(e.TgZ(0,"span",23),e._uU(1),e.qZA()),2&F){const _=e.oxw();e.xp6(1),e.Oqu(_.information.alias?"Ride The Lightning - "+_.information.alias:"Ride The Lightning")}}function Bh(F,M){1&F&&(e.TgZ(0,"div",24),e._UZ(1,"mat-spinner",25),e.TgZ(2,"h4"),e._uU(3,"Loading RTL..."),e.qZA()())}const y0=function(F,M){return[F,M]};class Yl{constructor(M,_,Z,_e,xt,Ut,Xt,ci,Mi){this.logger=M,this.commonService=_,this.store=Z,this.actions=_e,this.userIdle=xt,this.router=Ut,this.sessionService=Xt,this.breakpointObserver=ci,this.renderer=Mi,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 zi.x,new zi.x,new zi.x,new zi.x,new zi.x,new zi.x,new zi.x,new zi.x]}ngOnInit(){this.router.events.subscribe(M=>{M instanceof Gn.m2&&document.getElementsByTagName("mat-sidenav-content")[0].scrollTo(0,0)}),this.breakpointObserver.observe([In.u3.XSmall,In.u3.TabletPortrait,In.u3.Small,In.u3.Medium,In.u3.Large,In.u3.XLarge]).pipe((0,an.R)(this.unSubs[0])).subscribe(M=>{M.breakpoints[In.u3.XSmall]?(this.commonService.setScreenSize(Re.cu.XS),this.smallScreen=!0):M.breakpoints[In.u3.TabletPortrait]?(this.commonService.setScreenSize(Re.cu.SM),this.smallScreen=!0):M.breakpoints[In.u3.Small]||M.breakpoints[In.u3.Medium]?(this.commonService.setScreenSize(Re.cu.MD),this.smallScreen=!1):M.breakpoints[In.u3.Large]?(this.commonService.setScreenSize(Re.cu.LG),this.smallScreen=!1):(this.commonService.setScreenSize(Re.cu.XL),this.smallScreen=!1)}),this.store.dispatch((0,Zt.ey)()),this.accessKey=this.readAccessKey()||"",this.store.select(ya.dT).pipe((0,an.R)(this.unSubs[1])).subscribe(M=>{this.settings=M.settings,this.sessionService.getItem("token")?(this.flgLoggedIn=!0,this.userIdle.startWatching()):(this.flgLoggedIn=!1,this.flgLoading[0]=!1)}),this.store.select(ya.Yj).pipe((0,an.R)(this.unSubs[2])).subscribe(M=>{this.appConfig=M}),this.store.select(ya.R4).pipe((0,an.R)(this.unSubs[3])).subscribe(M=>{this.information=M,this.flgLoading[0]=!this.information.identity_pubkey,this.logger.info(this.information)}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1),this.actions.pipe((0,an.R)(this.unSubs[4]),(0,Ra.h)(M=>M.type===Re.pg.SET_RTL_CONFIG||M.type===Re.pg.LOGIN||M.type===Re.pg.LOGOUT)).subscribe(M=>{M.type===Re.pg.SET_RTL_CONFIG&&(this.sessionService.getItem("token")||(+M.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,Zt.x4)({payload:{password:Ea(this.accessKey).toString(),defaultPassword:!1}})):this.router.navigate(["./login"]))),M.type===Re.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)),M.type===Re.pg.LOGOUT&&(this.flgLoggedIn=!1,this.userIdle.stopWatching(),this.userIdle.stopTimer())}),this.userIdle.onTimerStart().pipe((0,an.R)(this.unSubs[5])).subscribe(M=>{this.logger.info("Counting Down: "+(11-M))}),this.userIdle.onTimeout().pipe((0,an.R)(this.unSubs[6])).subscribe(()=>{this.logger.info("Time Out!"),this.sessionService.getItem("token")&&(this.flgLoggedIn=!1,this.logger.warn("Time limit exceeded for session inactivity."),this.store.dispatch((0,Zt.ts)()),this.store.dispatch((0,Zt.qR)({payload:{data:{type:Re.n_.WARNING,alertTitle:"Logging out",titleMessage:"Time limit exceeded for session inactivity."}}})),this.store.dispatch((0,Zt.kS)()))}),"true"===this.sessionService.getItem("defaultPassword")&&(this.flgSideNavOpened=!1)}readAccessKey(){const M=window.location.href;return M.includes("access-key=")?M.substring(M.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(M){this.smallScreen&&this.sideNavigation.close()}copiedText(M){this.flgCopied=!0,setTimeout(()=>{this.flgCopied=!1},5e3),this.logger.info("Copied Text: "+M)}ngOnDestroy(){this.unSubs.forEach(M=>{M.next(),M.complete()})}}Yl.\u0275fac=function(M){return new(M||Yl)(e.Y36(ri.mQ),e.Y36(Nt.v),e.Y36(Ii.yh),e.Y36(Qa.eX),e.Y36(Gc),e.Y36(Gn.F0),e.Y36(lr.m),e.Y36(In.Yg),e.Y36(e.Qsj))},Yl.\u0275cmp=e.Xpm({type:Yl,selectors:[["rtl-app"]],viewQuery:function(M,_){if(1&M&&(e.Gf(Fh,5),e.Gf(_0,5)),2&M){let Z;e.iGM(Z=e.CRH())&&(_.sideNavigation=Z.first),e.iGM(Z=e.CRH())&&(_.sideNavContent=Z.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(M,_){1&M&&(e.TgZ(0,"div",0),e.ALo(1,"lowercase"),e.ALo(2,"lowercase"),e.TgZ(3,"mat-toolbar",1)(4,"div"),e.YNc(5,Hh,3,2,"button",2),e.YNc(6,v0,4,3,"button",3),e.qZA(),e.TgZ(7,"div"),e.YNc(8,b0,2,1,"span",4),e.YNc(9,Vh,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(_e){return _.onNavigationClicked(_e)}),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,Bh,4,0,"div",13),e.qZA()),2&M&&(e.Q6J("ngClass",e.WLB(12,y0,e.lcZ(1,8,_.settings.themeColor),e.lcZ(2,10,_.settings.themeMode))),e.xp6(5),e.Q6J("ngIf",_.flgLoggedIn),e.xp6(1),e.Q6J("ngIf",!_.smallScreen&&_.flgLoggedIn),e.xp6(2),e.Q6J("ngIf",_.smallScreen),e.xp6(1),e.Q6J("ngIf",!_.smallScreen),e.xp6(4),e.Q6J("opened",_.flgSideNavOpened&&_.flgLoggedIn)("mode",_.flgSidenavPinned&&!_.smallScreen?"side":"over"),e.xp6(9),e.Q6J("ngIf",!_.settings.themeColor))},dependencies:[Yi.mk,Yi.O5,Wi.xw,Wi.Wh,Wi.yH,di.oO,pi.RK,us.Hw,Rd.Ou,Nd.JX,Nd.TM,Nd.Rh,es.Ye,Xc.gM,tn.$V,vl,bl,Gn.lC,Yi.i8],styles:[".inline-spinner[_ngcontent-%COMP%]{display:inline-flex!important;top:0!important}"],data:{animation:[h0.g]}});class Rc{constructor(M){this.sessionService=M}intercept(M,_){if(this.sessionService.getItem("token")){const Z=M.clone({headers:M.headers.set("Authorization","Bearer "+this.sessionService.getItem("token")),withCredentials:!0});return _.handle(Z)}return _.handle(M)}}Rc.\u0275fac=function(M){return new(M||Rc)(e.LFG(lr.m))},Rc.\u0275prov=e.Yz7({token:Rc,factory:Rc.\u0275fac});var Uh=p(7998),Gh=p(711),Bd=p(4947),Fn=p(3289);const Ud={userPersona:"OPERATOR",themeMode:"DAY",themeColor:"PURPLE",channelBackupPath:"",selCurrencyUnit:"USD",unannouncedChannels:!1,fiatConversion:!1,currencyUnits:["Sats","BTC","USD"],bitcoindConfigPath:"",enableOffers:!1,enablePeerswap:!1},Gd={configPath:"",swapMacaroonPath:"",boltzMacaroonPath:""},Zd={apiURL:"",apisCallStatus:{Login:{status:Re.Bn.UN_INITIATED},IsAuthorized:{status:Re.Bn.UN_INITIATED}},selNode:{index:1,lnNode:"Node 1",settings:Ud,authentication:Gd,lnImplementation:"LND"},appConfig:{defaultNodeIndex:-1,selectedNodeIndex:-1,sso:{rtlSSO:0,logoutRedirectLink:""},enable2FA:!1,allowPasswordUpdate:!0,nodes:[{settings:Ud,authentication:Gd}]},nodeData:{}},Zh=(0,Ii.Lq)(Zd,(0,Ii.on)(Zt.qi,(F,{payload:M})=>{const _=JSON.parse(JSON.stringify(F.apisCallStatus));return M.action&&(_[M.action]={status:M.status,statusCode:M.statusCode,message:M.message,URL:M.URL,filePath:M.filePath}),{...F,apisCallStatus:_}}),(0,Ii.on)(Zt.vI,(F,{payload:M})=>({...Zd,apisCallStatus:F.apisCallStatus,appConfig:F.appConfig,selNode:M})),(0,Ii.on)(Zt.fk,(F,{payload:M})=>({...F,selNode:M.currentLnNode})),(0,Ii.on)(Zt.Tm,(F,{payload:M})=>{const _=JSON.parse(JSON.stringify(F.selNode));switch(M.service){case Re.JX.BOLTZ:_.settings.boltzServerUrl=M.settings.boltzServerUrl;break;case Re.JX.LOOP:_.settings.swapServerUrl=M.settings.swapServerUrl;break;case Re.JX.OFFERS:_.settings.enableOffers=M.settings.enableOffers;break;case Re.JX.PEERSWAP:_.settings.enablePeerswap=M.settings.enablePeerswap}return{...F,selNode:_}}),(0,Ii.on)(Zt._V,(F,{payload:M})=>({...F,nodeData:M})),(0,Ii.on)(Zt.XT,(F,{payload:M})=>({...F,appConfig:M}))),Wd={apisCallStatus:{FetchPageSettings:{status:Re.Bn.UN_INITIATED},FetchInfo:{status:Re.Bn.UN_INITIATED},FetchFees:{status:Re.Bn.UN_INITIATED},FetchPeers:{status:Re.Bn.UN_INITIATED},FetchClosedChannels:{status:Re.Bn.UN_INITIATED},FetchPendingChannels:{status:Re.Bn.UN_INITIATED},FetchAllChannels:{status:Re.Bn.UN_INITIATED},FetchBalanceBlockchain:{status:Re.Bn.UN_INITIATED},FetchInvoices:{status:Re.Bn.UN_INITIATED},FetchPayments:{status:Re.Bn.UN_INITIATED},FetchForwardingHistory:{status:Re.Bn.UN_INITIATED},FetchUTXOs:{status:Re.Bn.UN_INITIATED},FetchTransactions:{status:Re.Bn.UN_INITIATED},FetchLightningTransactions:{status:Re.Bn.UN_INITIATED},FetchNetwork:{status:Re.Bn.UN_INITIATED}},nodeSettings:{userPersona:Re.ol.OPERATOR,unannouncedChannels:!1,fiatConversion:!1,channelBackupPath:"",currencyUnits:[],selCurrencyUnit:"",lnImplementation:"",swapServerUrl:""},pageSettings:Re.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 Yd=!1,x0=!1;const C0=(0,Ii.Lq)(Wd,(0,Ii.on)(Dt.PC,(F,{payload:M})=>{const _=JSON.parse(JSON.stringify(F.apisCallStatus));return M.action&&(_[M.action]={status:M.status,statusCode:M.statusCode,message:M.message,URL:M.URL,filePath:M.filePath}),{...F,apisCallStatus:_}}),(0,Ii.on)(Dt.JT,(F,{payload:M})=>({...F,nodeSettings:M})),(0,Ii.on)(Dt.Ll,(F,{payload:M})=>({...Wd,nodeSettings:M})),(0,Ii.on)(Dt.CX,(F,{payload:M})=>({...F,information:M})),(0,Ii.on)(Dt.Z8,(F,{payload:M})=>({...F,peers:M})),(0,Ii.on)(Dt.EK,(F,{payload:M})=>{const _=[...F.peers],Z=F.peers.findIndex(_e=>_e.pub_key===M.pubkey);return Z>-1&&_.splice(Z,1),{...F,peers:_}}),(0,Ii.on)(Dt.YP,(F,{payload:M})=>{const _=F.listInvoices;return _.invoices?.unshift(M),{...F,listInvoices:_}}),(0,Ii.on)(Dt.aL,(F,{payload:M})=>{const _=F.listInvoices;return _.invoices=_.invoices?.map(Z=>Z.payment_request===M.payment_request?M:Z),{...F,listInvoices:_}}),(0,Ii.on)(Dt.qY,(F,{payload:M})=>{const _=F.listPayments;return _.payments=_.payments?.map(Z=>Z.payment_hash===M.payment_hash?M:Z),{...F,listPayments:_}}),(0,Ii.on)(Dt.RX,(F,{payload:M})=>({...F,fees:M})),(0,Ii.on)(Dt._L,(F,{payload:M})=>({...F,closedChannels:M})),(0,Ii.on)(Dt.TW,(F,{payload:M})=>({...F,pendingChannels:M.pendingChannels,pendingChannelsSummary:M.pendingChannelsSummary})),(0,Ii.on)(Dt.as,(F,{payload:M})=>{let _=0,Z=0,_e=0,xt=0,Ut=0,Xt=0;return M&&M.forEach(ci=>{ci.local_balance||(ci.local_balance=0),!0===ci.active?(Ut+=+ci.local_balance,_e+=1,ci.local_balance?_=+_+ +ci.local_balance:ci.local_balance=0,ci.remote_balance?Z=+Z+ +ci.remote_balance:ci.remote_balance=0):(Xt+=+ci.local_balance,xt+=1)}),{...F,channels:M,channelsSummary:{active:{num_channels:_e,capacity:Ut},inactive:{num_channels:xt,capacity:Xt}},lightningBalance:{local:_,remote:Z}}}),(0,Ii.on)(Dt.OG,(F,{payload:M})=>{const _=[...F.channels],Z=F.channels.findIndex(_e=>_e.channel_point===M.channelPoint);return Z>-1&&_.splice(Z,1),{...F,channels:_}}),(0,Ii.on)(Dt.Jl,(F,{payload:M})=>({...F,blockchainBalance:M})),(0,Ii.on)(Dt.ks,(F,{payload:M})=>({...F,networkInfo:M})),(0,Ii.on)(Dt.Nr,(F,{payload:M})=>(M.total_invoices||(M.total_invoices=F.listInvoices.total_invoices),{...F,listInvoices:M})),(0,Ii.on)(Dt.Lf,(F,{payload:M})=>{if(Yd=!0,M.length&&x0){const _=[...F.utxos];return _.forEach(Z=>{const _e=M.find(xt=>xt.tx_hash===Z.outpoint?.txid_str);Z.label=_e&&_e.label?_e.label:""}),{...F,utxos:_,transactions:M}}return{...F,transactions:M}}),(0,Ii.on)(Dt.UH,(F,{payload:M})=>{if(x0=!0,M.length&&Yd){const _=[...F.transactions];M.forEach(Z=>{const _e=_.find(xt=>xt.tx_hash===Z.outpoint?.txid_str);Z.label=_e&&_e.label?_e.label:""})}return{...F,utxos:M}}),(0,Ii.on)(Dt.HI,(F,{payload:M})=>{const _={listInvoicesAll:F.allLightningTransactions.listInvoicesAll,listPaymentsAll:M};return{...F,listPayments:M,allLightningTransactions:_}}),(0,Ii.on)(Dt.Fr,(F,{payload:M})=>{const _={listInvoicesAll:M.listInvoicesAll,listPaymentsAll:F.listPayments};return{...F,allLightningTransactions:_}}),(0,Ii.on)(Dt.QJ,(F,{payload:M})=>{const _=[...F.channels,...F.closedChannels];let Z=M.forwarding_events?JSON.parse(JSON.stringify(M)):{};return Z.forwarding_events&&(Z=w0(Z,_)),{...F,forwardingHistory:Z}}),(0,Ii.on)(Dt.pd,(F,{payload:M})=>{const _=[];return Re.gK.forEach(Z=>{const _e=M&&M.length&&M.length>0?M.find(xt=>xt.pageId===Z.pageId):null;if(_e){const xt=JSON.parse(JSON.stringify(_e.tables));_e.tables=[],Z.tables.forEach(Ut=>{const Xt=xt.find(ci=>ci.tableId===Ut.tableId)||null;_e.tables.push(Xt||JSON.parse(JSON.stringify(Ut)))}),_.push(_e)}else _.push(JSON.parse(JSON.stringify(Z)))}),{...F,pageSettings:_}})),w0=(F,M)=>(F.forwarding_events.forEach(_=>{if(M&&M.length>0)for(let Z=0;Z<M.length;Z++){if(M[Z].chan_id?.toString()===_.chan_id_in&&(_.alias_in=M[Z].remote_alias?M[Z].remote_alias:_.chan_id_in,_.alias_out)||M[Z].chan_id?.toString()===_.chan_id_out&&(_.alias_out=M[Z].remote_alias?M[Z].remote_alias:_.chan_id_out,_.alias_in))return;Z===M.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}),F),M0={apisCallStatus:{FetchPageSettings:{status:Re.Bn.UN_INITIATED},FetchInfo:{status:Re.Bn.UN_INITIATED},FetchInvoices:{status:Re.Bn.UN_INITIATED},FetchFees:{status:Re.Bn.UN_INITIATED},FetchChannels:{status:Re.Bn.UN_INITIATED},FetchBalance:{status:Re.Bn.UN_INITIATED},FetchLocalRemoteBalance:{status:Re.Bn.UN_INITIATED},FetchFeeRatesperkb:{status:Re.Bn.UN_INITIATED},FetchFeeRatesperkw:{status:Re.Bn.UN_INITIATED},FetchPeers:{status:Re.Bn.UN_INITIATED},FetchUTXOs:{status:Re.Bn.UN_INITIATED},FetchPayments:{status:Re.Bn.UN_INITIATED},FetchForwardingHistoryS:{status:Re.Bn.UN_INITIATED},FetchForwardingHistoryF:{status:Re.Bn.UN_INITIATED},FetchForwardingHistoryL:{status:Re.Bn.UN_INITIATED},FetchOffers:{status:Re.Bn.UN_INITIATED},FetchOfferBookmarks:{status:Re.Bn.UN_INITIATED}},nodeSettings:{userPersona:Re.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[],enableOffers:!1,enablePeerswap:!1},pageSettings:Re.gG,information:{},fees:{},feeRatesPerKB:{},feeRatesPerKW:{},balance:{},localRemoteBalance:{localBalance:-1,remoteBalance:-1},peers:[],activeChannels:[],pendingChannels:[],inactiveChannels:[],payments:[],forwardingHistory:{},failedForwardingHistory:{},localFailedForwardingHistory:{},invoices:{invoices:[]},utxos:[],offers:[],offersBookmarks:[]},l3=(0,Ii.Lq)(M0,(0,Ii.on)(rt.Ni,(F,{payload:M})=>{const _=JSON.parse(JSON.stringify(F.apisCallStatus));return M.action&&(_[M.action]={status:M.status,statusCode:M.statusCode,message:M.message,URL:M.URL,filePath:M.filePath}),{...F,apisCallStatus:_}}),(0,Ii.on)(rt.oo,(F,{payload:M})=>({...F,nodeSettings:M})),(0,Ii.on)(rt.xH,(F,{payload:M})=>({...M0,nodeSettings:M})),(0,Ii.on)(rt.CX,(F,{payload:M})=>({...F,information:M})),(0,Ii.on)(rt.RX,(F,{payload:M})=>({...F,fees:M})),(0,Ii.on)(rt.I8,(F,{payload:M})=>M.perkb?{...F,feeRatesPerKB:M}:M.perkw?{...F,feeRatesPerKW:M}:{...F}),(0,Ii.on)(rt.Lu,(F,{payload:M})=>({...F,balance:M})),(0,Ii.on)(rt.xS,(F,{payload:M})=>({...F,localRemoteBalance:M})),(0,Ii.on)(rt.Z8,(F,{payload:M})=>({...F,peers:M})),(0,Ii.on)(rt.X3,(F,{payload:M})=>({...F,peers:[...F.peers,M]})),(0,Ii.on)(rt.EK,(F,{payload:M})=>{const _=[...F.peers],Z=F.peers.findIndex(_e=>_e.id===M.id);return Z>-1&&_.splice(Z,1),{...F,peers:_}}),(0,Ii.on)(rt.as,(F,{payload:M})=>({...F,activeChannels:M.activeChannels,pendingChannels:M.pendingChannels,inactiveChannels:M.inactiveChannels})),(0,Ii.on)(rt.OG,(F,{payload:M})=>{const _=[...F.peers];return _.forEach(Z=>{Z.id===M.id&&(Z.connected=!1,delete Z.netaddr)}),{...F,peers:_}}),(0,Ii.on)(rt.HI,(F,{payload:M})=>({...F,payments:M})),(0,Ii.on)(rt.QJ,(F,{payload:M})=>{const _=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels],Z=jd(M.listForwards,_);switch(M.listForwards=Z,M.status){case Re.OO.SETTLED:const _e=F.fees;return _e.totalTxCount=M.totalForwards||0,{...F,fees:_e,forwardingHistory:M};case Re.OO.FAILED:return{...F,failedForwardingHistory:M};case Re.OO.LOCAL_FAILED:return{...F,localFailedForwardingHistory:M};default:return{...F}}}),(0,Ii.on)(rt.YP,(F,{payload:M})=>{const _=F.invoices;return _.invoices?.unshift(M),{...F,invoices:_}}),(0,Ii.on)(rt.Nr,(F,{payload:M})=>({...F,invoices:M})),(0,Ii.on)(rt.aL,(F,{payload:M})=>{const _=F.invoices;return _.invoices=_.invoices?.map(Z=>Z.label===M.label?M:Z),{...F,invoices:_}}),(0,Ii.on)(rt.UH,(F,{payload:M})=>({...F,utxos:M})),(0,Ii.on)(rt.Zu,(F,{payload:M})=>({...F,offers:M})),(0,Ii.on)(rt.ZH,(F,{payload:M})=>{const _=F.offers;return _?.unshift(M),{...F,offers:_}}),(0,Ii.on)(rt.JK,(F,{payload:M})=>{const _=[...F.offers],Z=F.offers.findIndex(_e=>_e.offer_id===M.offer.offer_id);return Z>-1&&_.splice(Z,1,M.offer),{...F,offers:_}}),(0,Ii.on)(rt.d7,(F,{payload:M})=>({...F,offersBookmarks:M})),(0,Ii.on)(rt.e9,(F,{payload:M})=>{const _=[...F.offersBookmarks],Z=_.findIndex(_e=>_e.bolt12===M.bolt12);if(Z<0)_?.unshift(M);else{const _e={..._[Z]};_e.title=M.title,_e.amountMSat=M.amountMSat,_e.lastUpdatedAt=M.lastUpdatedAt,_e.description=M.description,_e.issuer=M.issuer,_.splice(Z,1,_e)}return{...F,offersBookmarks:_}}),(0,Ii.on)(rt.en,(F,{payload:M})=>{const _=[...F.offersBookmarks],Z=F.offersBookmarks.findIndex(_e=>_e.bolt12===M.bolt12);return Z>-1&&_.splice(Z,1),{...F,offersBookmarks:_}}),(0,Ii.on)(rt.pd,(F,{payload:M})=>{const _=[];return Re.gG.forEach(Z=>{const _e=M&&M.length&&M.length>0?M.find(xt=>xt.pageId===Z.pageId):null;if(_e){const xt=JSON.parse(JSON.stringify(_e.tables));_e.tables=[],Z.tables.forEach(Ut=>{const Xt=xt.find(ci=>ci.tableId===Ut.tableId)||null;_e.tables.push(Xt||JSON.parse(JSON.stringify(Ut)))}),_.push(_e)}else _.push(JSON.parse(JSON.stringify(Z)))}),{...F,pageSettings:_}})),jd=(F,M)=>(F&&F.length>0?F.forEach((_,Z)=>{if(M&&M.length>0)for(let _e=0;_e<M.length;_e++){if(M[_e].short_channel_id&&M[_e].short_channel_id===_.in_channel&&(_.in_channel_alias=M[_e].alias?M[_e].alias:_.in_channel,_.out_channel_alias)||M[_e].short_channel_id&&M[_e].short_channel_id?.toString()===_.out_channel&&(_.out_channel_alias=M[_e].alias?M[_e].alias:_.out_channel,_.in_channel_alias))return;_e===M.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:"-"}):F=[],F),Kd={apisCallStatus:{FetchPageSettings:{status:Re.Bn.UN_INITIATED},FetchInfo:{status:Re.Bn.UN_INITIATED},FetchFees:{status:Re.Bn.UN_INITIATED},FetchChannels:{status:Re.Bn.UN_INITIATED},FetchOnchainBalance:{status:Re.Bn.UN_INITIATED},FetchPeers:{status:Re.Bn.UN_INITIATED},FetchPayments:{status:Re.Bn.UN_INITIATED},FetchInvoices:{status:Re.Bn.UN_INITIATED},FetchTransactions:{status:Re.Bn.UN_INITIATED}},nodeSettings:{userPersona:Re.ol.OPERATOR,unannouncedChannels:!1,selCurrencyUnit:"USD",fiatConversion:!1,channelBackupPath:"",currencyUnits:[]},pageSettings:Re.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:[]},uc=(0,Ii.Lq)(Kd,(0,Ii.on)(Ne.QZ,(F,{payload:M})=>{const _=JSON.parse(JSON.stringify(F.apisCallStatus));return M.action&&(_[M.action]={status:M.status,statusCode:M.statusCode,message:M.message,URL:M.URL,filePath:M.filePath}),{...F,apisCallStatus:_}}),(0,Ii.on)(Ne.Zr,(F,{payload:M})=>({...F,nodeSettings:M})),(0,Ii.on)(Ne.Fd,(F,{payload:M})=>({...Kd,nodeSettings:M})),(0,Ii.on)(Ne.CX,(F,{payload:M})=>({...F,information:M})),(0,Ii.on)(Ne.RX,(F,{payload:M})=>({...F,fees:M})),(0,Ii.on)(Ne.eN,(F,{payload:M})=>({...F,activeChannels:M})),(0,Ii.on)(Ne.TW,(F,{payload:M})=>({...F,pendingChannels:M})),(0,Ii.on)(Ne.i,(F,{payload:M})=>({...F,inactiveChannels:M})),(0,Ii.on)(Ne.HG,(F,{payload:M})=>({...F,channelsStatus:M})),(0,Ii.on)(Ne.Bw,(F,{payload:M})=>({...F,onchainBalance:M})),(0,Ii.on)(Ne.On,(F,{payload:M})=>({...F,lightningBalance:M})),(0,Ii.on)(Ne.Z8,(F,{payload:M})=>({...F,peers:M})),(0,Ii.on)(Ne.EK,(F,{payload:M})=>{const _=[...F.peers],Z=F.peers.findIndex(_e=>_e.nodeId===M.nodeId);return Z>-1&&_.splice(Z,1),{...F,peers:_}}),(0,Ii.on)(Ne.OG,(F,{payload:M})=>{const _=[...F.activeChannels],Z=F.activeChannels.findIndex(_e=>_e.channelId===M.channelId);return Z>-1&&_.splice(Z,1),{...F,activeChannels:_}}),(0,Ii.on)(Ne.HI,(F,{payload:M})=>{if(M&&M.sent){const _=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels];M.sent?.map(Z=>{const _e=F.peers.find(xt=>xt.nodeId===Z.recipientNodeId);return Z.recipientNodeAlias=_e?_e.alias:Z.recipientNodeId,Z.parts&&Z.parts?.map(xt=>{const Ut=_.find(Xt=>Xt.channelId===xt.toChannelId);return xt.toChannelAlias=Ut?Ut.alias:xt.toChannelId,Z.parts}),M.sent})}if(M&&M.relayed){const _=[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels];M.relayed.forEach(Z=>{Z=S0(Z,_)})}return{...F,payments:M}}),(0,Ii.on)(Ne.Lf,(F,{payload:M})=>({...F,transactions:M})),(0,Ii.on)(Ne.YP,(F,{payload:M})=>{const _=F.invoices;return _?.unshift(M),{...F,invoices:_}}),(0,Ii.on)(Ne.Nr,(F,{payload:M})=>({...F,invoices:M})),(0,Ii.on)(Ne.aL,(F,{payload:M})=>{let _=F.invoices;return _=_?.map(Z=>{if(Z.paymentHash===M.paymentHash){if(M.hasOwnProperty("type")){const _e=JSON.parse(JSON.stringify(Z));return _e.amountSettled=M.parts&&M.parts.length&&M.parts.length>0&&M.parts[0].amount?(M.parts[0].amount||0)/1e3:0,_e.receivedAt=M.parts&&M.parts.length&&M.parts.length>0&&M.parts[0].timestamp?Math.round((M.parts[0].timestamp||0)/1e3):0,_e.status="received",_e}return M}return Z}),{...F,invoices:_}}),(0,Ii.on)(Ne.DJ,(F,{payload:M})=>{let _=F.pendingChannels;return _=_?.map(Z=>(Z.channelId===M.channelId&&Z.nodeId===M.remoteNodeId&&(M.currentState=M.currentState?.replace(/_/g," "),Z.state=M.currentState),Z)),{...F,pendingChannels:_}}),(0,Ii.on)(Ne.ti,(F,{payload:M})=>{const _=F.payments,Z=S0(M,[...F.activeChannels,...F.pendingChannels,...F.inactiveChannels]);_.relayed?.unshift(Z);const _e=(M.amountIn||0)-(M.amountOut||0),xt={localBalance:F.lightningBalance.localBalance+_e,remoteBalance:F.lightningBalance.remoteBalance-_e},Ut=F.channelsStatus;Ut.active&&(Ut.active.capacity=(F.channelsStatus?.active?.capacity||0)+_e);const Xt={daily_fee:(F.fees.daily_fee||0)+_e,daily_txs:(F.fees.daily_txs||0)+1,weekly_fee:(F.fees.weekly_fee||0)+_e,weekly_txs:(F.fees.weekly_txs||0)+1,monthly_fee:(F.fees.monthly_fee||0)+_e,monthly_txs:(F.fees.monthly_txs||0)+1},ci=F.activeChannels;let Mi=!1,en=!1;for(const Bi of ci){if(Bi.channelId===M.fromChannelId){Mi=!0;const kn=(Bi.toLocal||0)+(Bi.toRemote||0);Bi.toLocal=(Bi.toLocal||0)+Z.amountIn,Bi.toRemote=(Bi.toRemote||0)-Z.amountIn,Bi.balancedness=0===kn?1:+(1-Math.abs((Bi.toLocal-Bi.toRemote)/kn)).toFixed(3)}if(Bi.channelId===M.toChannelId){en=!0;const kn=(Bi.toLocal||0)+(Bi.toRemote||0);Bi.toLocal=(Bi.toLocal||0)-Z.amountOut,Bi.toRemote=(Bi.toRemote||0)+Z.amountOut,Bi.balancedness=0===kn?1:+(1-Math.abs((Bi.toLocal-Bi.toRemote)/kn)).toFixed(3)}if(en&&Mi)break}return{...F,payments:_,lightningBalance:xt,channelStatus:Ut,fees:Xt,activeChannels:ci}}),(0,Ii.on)(Ne.pd,(F,{payload:M})=>{const _=[];return Re.c3.forEach(Z=>{const _e=M&&M.length&&M.length>0?M.find(xt=>xt.pageId===Z.pageId):null;if(_e){const xt=JSON.parse(JSON.stringify(_e.tables));_e.tables=[],Z.tables.forEach(Ut=>{const Xt=xt.find(ci=>ci.tableId===Ut.tableId)||null;_e.tables.push(Xt||JSON.parse(JSON.stringify(Ut)))}),_.push(_e)}else _.push(JSON.parse(JSON.stringify(Z)))}),{...F,pageSettings:_}})),S0=(F,M)=>{if("payment-relayed"===F.type)if(M&&M.length>0)for(let _=0;_<M.length;_++){if(M[_].channelId?.toString()===F.fromChannelId&&(F.fromChannelAlias=M[_].alias?M[_].alias:F.fromChannelId,F.fromShortChannelId=M[_].shortChannelId?M[_].shortChannelId:"",F.toChannelAlias)||M[_].channelId?.toString()===F.toChannelId&&(F.toChannelAlias=M[_].alias?M[_].alias:F.toChannelId,F.toShortChannelId=M[_].shortChannelId?M[_].shortChannelId:"",F.fromChannelAlias))return F;_===M.length-1&&(F.fromChannelAlias||(F.fromChannelAlias=F.fromChannelId?.substring(0,17)+"...",F.fromShortChannelId=""),F.toChannelAlias||(F.toChannelAlias=F.toChannelId?.substring(0,17)+"...",F.toShortChannelId=""))}else F.fromChannelAlias=F.fromChannelId?.substring(0,17)+"...",F.fromShortChannelId="",F.toChannelAlias=F.toChannelId?.substring(0,17)+"...",F.toShortChannelId="";else if(F.type="trampoline-payment-relayed"){if(M&&M.length>0)for(let _=0;_<M.length;_++)F.incoming?.forEach(Z=>{M[_].channelId?.toString()===Z.channelId&&(Z.channelAlias=M[_].alias?M[_].alias:Z.channelId,Z.shortChannelId=M[_].shortChannelId?M[_].shortChannelId:"")}),F.outgoing?.forEach(Z=>{M[_].channelId?.toString()===Z.channelId&&(Z.channelAlias=M[_].alias?M[_].alias:Z.channelId,Z.shortChannelId=M[_].shortChannelId?M[_].shortChannelId:"")}),_===M.length-1&&(F.incoming&&F.incoming.length&&F.incoming.length>0&&!F.incoming[0].channelAlias&&F.incoming?.forEach(Z=>{Z.channelAlias=Z.channelId?.substring(0,17)+"...",Z.shortChannelId=""}),F.outgoing&&F.outgoing.length&&F.outgoing.length>0&&!F.outgoing[0].channelAlias&&F.outgoing?.forEach(Z=>{Z.channelAlias=Z.channelId?.substring(0,17)+"...",Z.shortChannelId=""}));else F.incoming?.forEach(_=>{_.channelAlias=_.channelId?.substring(0,17)+"...",_.shortChannelId=""}),F.outgoing?.forEach(_=>{_.channelAlias=_.channelId?.substring(0,17)+"...",_.shortChannelId=""});F.amountIn=F.incoming?.reduce((_,Z)=>_+Z.amount,0)||0,F.fromChannelId=F.incoming&&F.incoming.length?F.incoming[0].channelId:"",F.fromChannelAlias=F.incoming&&F.incoming.length?F.incoming[0].channelAlias:"",F.fromShortChannelId=F.incoming&&F.incoming.length?F.incoming[0].shortChannelId:"",F.amountOut=F.outgoing?.reduce((_,Z)=>_+Z.amount,0)||0,F.toChannelId=F.outgoing&&F.outgoing.length?F.outgoing[0].channelId:"",F.toChannelAlias=F.outgoing&&F.outgoing.length?F.outgoing[0].channelAlias:"",F.toShortChannelId=F.outgoing&&F.outgoing.length?F.outgoing[0].shortChannelId:""}return F};let L1=!1;(0,e.X6Q)()&&(L1=!0);class Zs{}Zs.\u0275fac=function(M){return new(M||Zs)},Zs.\u0275mod=e.oAB({type:Zs,bootstrap:[Yl]}),Zs.\u0275inj=e.cJS({providers:[{provide:br.TP,useClass:Rc,multi:!0},Ar.a1,lr.m,Ul.D,Uh.d,l1.W,Nt.v,ps],imports:[jo,d0.m,l0,In.xu,t.t6,yc.forRoot({idle:Re.k_-10,timeout:10,ping:12e3}),Ii.Aw.forRoot({root:Zh,lnd:C0,cln:l3,ecl:uc},{runtimeChecks:{strictStateImmutability:!1,strictActionImmutability:!1}}),Qa.sQ.forRoot([Ta.V,Gh.l,Bd.J,Fn.o]),L1?go.FT.instrument():[]]}),t.q6().bootstrapModule(Zs).catch(F=>console.error(F))},7854:(Ue,q)=>{"use strict";function p(ye){return Object.keys(ye).map(ce=>ye[ce])}var ye;Object.defineProperty(q,"__esModule",{value:!0}),(ye=q.HashAlgorithms||(q.HashAlgorithms={})).SHA1="sha1",ye.SHA256="sha256",ye.SHA512="sha512";const t=p(q.HashAlgorithms);!function(ye){ye.ASCII="ascii",ye.BASE64="base64",ye.HEX="hex",ye.LATIN1="latin1",ye.UTF8="utf8"}(q.KeyEncodings||(q.KeyEncodings={}));const e=p(q.KeyEncodings);!function(ye){ye.HOTP="hotp",ye.TOTP="totp"}(q.Strategy||(q.Strategy={}));const b=p(q.Strategy),I=()=>{throw new Error("Please provide an options.createDigest implementation.")};function s(ye){return/^(\d+)$/.test(ye)}function C(ye,ce,ve){return ye.length>=ce?ye:`${Array(ce+1).join(ve)}${ye}`.slice(-1*ce)}function h(ye){const ce=`otpauth://${ye.type}/{labelPrefix}:{accountName}?secret={secret}{query}`,ve=[];if(b.indexOf(ye.type)<0)throw new Error(`Expecting options.type to be one of ${b.join(", ")}. Received ${ye.type}.`);if("hotp"===ye.type){if(null==ye.counter||"number"!=typeof ye.counter)throw new Error('Expecting options.counter to be a number when options.type is "hotp".');ve.push(`&counter=${ye.counter}`)}return"totp"===ye.type&&ye.step&&ve.push(`&period=${ye.step}`),ye.digits&&ve.push(`&digits=${ye.digits}`),ye.algorithm&&ve.push(`&algorithm=${ye.algorithm.toUpperCase()}`),ye.issuer&&ve.push(`&issuer=${encodeURIComponent(ye.issuer)}`),ce.replace("{labelPrefix}",encodeURIComponent(ye.issuer||ye.accountName)).replace("{accountName}",encodeURIComponent(ye.accountName)).replace("{secret}",ye.secret).replace("{query}",ve.join(""))}class P{constructor(ce={}){this._defaultOptions=Object.freeze({...ce}),this._options=Object.freeze({})}create(ce={}){return new P(ce)}clone(ce={}){const ve=this.create({...this._defaultOptions,...ce});return ve.options=this._options,ve}get options(){return Object.freeze({...this._defaultOptions,...this._options})}set options(ce){this._options=Object.freeze({...this._options,...ce})}allOptions(){return this.options}resetOptions(){this._options=Object.freeze({})}}function d(ye){if("function"!=typeof ye.createDigest)throw new Error("Expecting options.createDigest to be a function.");if("function"!=typeof ye.createHmacKey)throw new Error("Expecting options.createHmacKey to be a function.");if("number"!=typeof ye.digits)throw new Error("Expecting options.digits to be a number.");if(!ye.algorithm||t.indexOf(ye.algorithm)<0)throw new Error(`Expecting options.algorithm to be one of ${t.join(", ")}. Received ${ye.algorithm}.`);if(!ye.encoding||e.indexOf(ye.encoding)<0)throw new Error(`Expecting options.encoding to be one of ${e.join(", ")}. Received ${ye.encoding}.`)}const S=(ye,ce,ve)=>Buffer.from(ce,ve).toString("hex");function w(){return{algorithm:q.HashAlgorithms.SHA1,createHmacKey:S,createDigest:I,digits:6,encoding:q.KeyEncodings.ASCII}}function O(ye){const ce={...w(),...ye};return d(ce),Object.freeze(ce)}function E(ye){return C(ye.toString(16),16,"0")}function R(ye,ce){const ve=Buffer.from(ye,"hex"),oe=15&ve[ve.length-1],Ae=((127&ve[oe])<<24|(255&ve[oe+1])<<16|(255&ve[oe+2])<<8|255&ve[oe+3])%Math.pow(10,ce);return C(String(Ae),ce,"0")}function U(ye,ce,ve){const oe=ve.digest||function z(ye,ce,ve){const oe=E(ce),Ke=ve.createHmacKey(ve.algorithm,ye,ve.encoding);return ve.createDigest(ve.algorithm,Ke,oe)}(ye,ce,ve);return R(oe,ve.digits)}function Y(ye,ce,ve,oe){return!!s(ye)&&ye===U(ce,ve,oe)}function K(ye,ce,ve,oe,Ke){return h({algorithm:Ke.algorithm,digits:Ke.digits,type:q.Strategy.HOTP,accountName:ye,counter:oe,issuer:ce,secret:ve})}class $ extends P{create(ce={}){return new $(ce)}allOptions(){return O(this.options)}generate(ce,ve){return U(ce,ve,this.allOptions())}check(ce,ve,oe){return Y(ce,ve,oe,this.allOptions())}verify(ce){if("object"!=typeof ce)throw new Error("Expecting argument 0 of verify to be an object");return this.check(ce.token,ce.secret,ce.counter)}keyuri(ce,ve,oe,Ke){return K(ce,ve,oe,Ke,this.allOptions())}}function ie(ye){if("number"==typeof ye)return[Math.abs(ye),Math.abs(ye)];if(Array.isArray(ye)){const[ce,ve]=ye;if("number"==typeof ce&&"number"==typeof ve)return[Math.abs(ce),Math.abs(ve)]}throw new Error("Expecting options.window to be an number or [number, number].")}function ue(ye){if(d(ye),ie(ye.window),"number"!=typeof ye.epoch)throw new Error("Expecting options.epoch to be a number.");if("number"!=typeof ye.step)throw new Error("Expecting options.step to be a number.")}const he=(ye,ce,ve)=>{const oe=ye.length,Ke=Buffer.from(ye,ce).toString("hex");if(oe<ve){const Ae=new Array(ve-oe+1).join(Ke);return Buffer.from(Ae,"hex").slice(0,ve).toString("hex")}return Ke},ne=(ye,ce,ve)=>{switch(ye){case q.HashAlgorithms.SHA1:return he(ce,ve,20);case q.HashAlgorithms.SHA256:return he(ce,ve,32);case q.HashAlgorithms.SHA512:return he(ce,ve,64);default:throw new Error(`Expecting algorithm to be one of ${t.join(", ")}. Received ${ye}.`)}};function le(){return{algorithm:q.HashAlgorithms.SHA1,createDigest:I,createHmacKey:ne,digits:6,encoding:q.KeyEncodings.ASCII,epoch:Date.now(),step:30,window:0}}function ee(ye){const ce={...le(),...ye};return ue(ce),Object.freeze(ce)}function me(ye,ce){return Math.floor(ye/ce/1e3)}function A(ye,ce){return U(ye,me(ce.epoch,ce.step),ce)}function i(ye,ce,ve,oe){const Ke=[];if(0===oe)return Ke;for(let Ae=1;Ae<=oe;Ae++)Ke.push(ye+ce*Ae*ve);return Ke}function a(ye,ce,ve){const oe=ie(ve),Ke=1e3*ce;return{current:ye,past:i(ye,-1,Ke,oe[0]),future:i(ye,1,Ke,oe[1])}}function u(ye,ce,ve){return!!s(ye)&&ye===A(ce,ve)}function l(ye,ce,ve,oe){let Ke=null;return ye.some((Ae,de)=>!!u(ce,ve,{...oe,epoch:Ae})&&(Ke=de+1,!0)),Ke}function y(ye,ce,ve){if(u(ye,ce,ve))return 0;const oe=a(ve.epoch,ve.step,ve.window),Ke=l(oe.past,ye,ce,ve);return null!==Ke?-1*Ke:l(oe.future,ye,ce,ve)}function T(ye,ce){return Math.floor(ye/1e3)%ce}function D(ye,ce){return ce-T(ye,ce)}function m(ye,ce,ve,oe){return h({algorithm:oe.algorithm,digits:oe.digits,step:oe.step,type:q.Strategy.TOTP,accountName:ye,issuer:ce,secret:ve})}class n extends ${create(ce={}){return new n(ce)}allOptions(){return ee(this.options)}generate(ce){return A(ce,this.allOptions())}checkDelta(ce,ve){return y(ce,ve,this.allOptions())}check(ce,ve){return"number"==typeof this.checkDelta(ce,ve)}verify(ce){if("object"!=typeof ce)throw new Error("Expecting argument 0 of verify to be an object");return this.check(ce.token,ce.secret)}timeRemaining(){const ce=this.allOptions();return D(ce.epoch,ce.step)}timeUsed(){const ce=this.allOptions();return T(ce.epoch,ce.step)}keyuri(ce,ve,oe){return m(ce,ve,oe,this.allOptions())}}function v(ye){if(ue(ye),"function"!=typeof ye.keyDecoder)throw new Error("Expecting options.keyDecoder to be a function.");if(ye.keyEncoder&&"function"!=typeof ye.keyEncoder)throw new Error("Expecting options.keyEncoder to be a function.")}function B(){return{algorithm:q.HashAlgorithms.SHA1,createDigest:I,createHmacKey:ne,digits:6,encoding:q.KeyEncodings.HEX,epoch:Date.now(),step:30,window:0}}function V(ye){const ce={...B(),...ye};return v(ce),Object.freeze(ce)}function X(ye,ce){return ce.keyEncoder(ye,ce.encoding)}function De(ye,ce){return ce.keyDecoder(ye,ce.encoding)}function tt(ye,ce){return X(ce.createRandomBytes(ye,ce.encoding),ce)}function je(ye,ce){return A(De(ye,ce),ce)}function ze(ye,ce,ve){return y(ye,De(ce,ve),ve)}class Le extends n{create(ce={}){return new Le(ce)}allOptions(){return V(this.options)}generate(ce){return je(ce,this.allOptions())}checkDelta(ce,ve){return ze(ce,ve,this.allOptions())}encode(ce){return X(ce,this.allOptions())}decode(ce){return De(ce,this.allOptions())}generateSecret(ce=10){return tt(ce,this.allOptions())}}q.Authenticator=Le,q.HASH_ALGORITHMS=t,q.HOTP=$,q.KEY_ENCODINGS=e,q.OTP=P,q.STRATEGY=b,q.TOTP=n,q.authenticatorCheckWithWindow=ze,q.authenticatorDecoder=De,q.authenticatorDefaultOptions=B,q.authenticatorEncoder=X,q.authenticatorGenerateSecret=tt,q.authenticatorOptionValidator=v,q.authenticatorOptions=V,q.authenticatorToken=je,q.createDigestPlaceholder=I,q.hotpCheck=Y,q.hotpCounter=E,q.hotpCreateHmacKey=S,q.hotpDefaultOptions=w,q.hotpDigestToToken=R,q.hotpKeyuri=K,q.hotpOptions=O,q.hotpOptionsValidator=d,q.hotpToken=U,q.isTokenValid=s,q.keyuri=h,q.objectValues=p,q.padStart=C,q.totpCheck=u,q.totpCheckByEpoch=l,q.totpCheckWithWindow=y,q.totpCounter=me,q.totpCreateHmacKey=ne,q.totpDefaultOptions=le,q.totpEpochAvailable=a,q.totpKeyuri=m,q.totpOptions=ee,q.totpOptionsValidator=ue,q.totpPadSecret=he,q.totpTimeRemaining=D,q.totpTimeUsed=T,q.totpToken=A},6098:(Ue,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var e=function t(s){return s&&"object"==typeof s&&"default"in s?s.default:s}(p(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:(Ue,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var e=function t(s){return s&&"object"==typeof s&&"default"in s?s.default:s}(p(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:(Ue,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var t=p(6098),e=p(1415),b=p(7854);const I=new b.HOTP({createDigest:t.createDigest}),s=new b.TOTP({createDigest:t.createDigest}),C=new b.Authenticator({createDigest:t.createDigest,createRandomBytes:t.createRandomBytes,keyDecoder:e.keyDecoder,keyEncoder:e.keyEncoder});q.authenticator=C,q.hotp=I,q.totp=s},7977:(Ue,q,p)=>{"use strict";const t=q;t.bignum=p(3854),t.define=p(9516).define,t.base=p(7813),t.constants=p(5459),t.decoders=p(196),t.encoders=p(1131)},9516:(Ue,q,p)=>{"use strict";const t=p(1131),e=p(196),b=p(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(S){this._initNamed(S,P)}return b(d,h),d.prototype._initNamed=function(w,O){h.call(this,w,O)},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:(Ue,q,p)=>{"use strict";const t=p(3894),e=p(4919).b,b=p(2038).Buffer;function I(C,h){e.call(this,h),b.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=b.byteLength(C);else{if(!b.isBuffer(C))return h.error("Unsupported type: "+typeof C);this.value=C,this.length=C.length}}t(I,e),q.C=I,I.isDecoderBuffer=function(h){return h instanceof I||"object"==typeof h&&b.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},I.prototype.save=function(){return{offset:this.offset,reporter:e.prototype.save.call(this)}},I.prototype.restore=function(h){const P=new I(this.base);return P.offset=h.offset,P.length=this.offset,this.offset=h.offset,e.prototype.restore.call(this,h.reporter),P},I.prototype.isEmpty=function(){return this.offset===this.length},I.prototype.readUInt8=function(h){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(h||"DecoderBuffer overrun")},I.prototype.skip=function(h,P){if(!(this.offset+h<=this.length))return this.error(P||"DecoderBuffer overrun");const d=new I(this.base);return d._reporterState=this._reporterState,d.offset=this.offset,d.length=this.offset+h,this.offset+=h,d},I.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=b.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):b.isBuffer(this.value)&&this.value.copy(h,P),P+=this.length)),h}},7813:(Ue,q,p)=>{"use strict";const t=q;t.Reporter=p(4919).b,t.DecoderBuffer=p(2769).C,t.EncoderBuffer=p(2769).R,t.Node=p(1430)},1430:(Ue,q,p)=>{"use strict";const t=p(4919).b,e=p(2769).R,b=p(2769).C,I=p(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(S,w,O){const E={};this._baseState=E,E.name=O,E.enc=S,E.parent=w||null,E.children=null,E.tag=null,E.args=null,E.reverseArgs=null,E.choice=null,E.optional=!1,E.any=!1,E.obj=!1,E.use=null,E.useDecoder=null,E.key=null,E.default=null,E.explicit=null,E.implicit=null,E.contains=null,E.parent||(E.children=[],this._wrap())}Ue.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,O={};d.forEach(function(R){O[R]=w[R]});const E=new this.constructor(O.parent);return E._baseState=O,E},P.prototype._wrap=function(){const w=this._baseState;C.forEach(function(O){this[O]=function(){const R=new this.constructor(this);return w.children.push(R),R[O].apply(R,arguments)}},this)},P.prototype._init=function(w){const O=this._baseState;I(null===O.parent),w.call(this),O.children=O.children.filter(function(E){return E._baseState.parent===this},this),I.equal(O.children.length,1,"Root node can have only one child")},P.prototype._useArgs=function(w){const O=this._baseState,E=w.filter(function(R){return R instanceof this.constructor},this);w=w.filter(function(R){return!(R instanceof this.constructor)},this),0!==E.length&&(I(null===O.children),O.children=E,E.forEach(function(R){R._baseState.parent=this},this)),0!==w.length&&(I(null===O.args),O.args=w,O.reverseArgs=w.map(function(R){if("object"!=typeof R||R.constructor!==Object)return R;const z={};return Object.keys(R).forEach(function(U){U==(0|U)&&(U|=0),z[R[U]]=U}),z}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(S){P.prototype[S]=function(){throw new Error(S+" not implemented for encoding: "+this._baseState.enc)}}),s.forEach(function(S){P.prototype[S]=function(){const O=this._baseState,E=Array.prototype.slice.call(arguments);return I(null===O.tag),O.tag=S,this._useArgs(E),this}}),P.prototype.use=function(w){I(w);const O=this._baseState;return I(null===O.use),O.use=w,this},P.prototype.optional=function(){return this._baseState.optional=!0,this},P.prototype.def=function(w){const O=this._baseState;return I(null===O.default),O.default=w,O.optional=!0,this},P.prototype.explicit=function(w){const O=this._baseState;return I(null===O.explicit&&null===O.implicit),O.explicit=w,this},P.prototype.implicit=function(w){const O=this._baseState;return I(null===O.explicit&&null===O.implicit),O.implicit=w,this},P.prototype.obj=function(){const w=this._baseState,O=Array.prototype.slice.call(arguments);return w.obj=!0,0!==O.length&&this._useArgs(O),this},P.prototype.key=function(w){const O=this._baseState;return I(null===O.key),O.key=w,this},P.prototype.any=function(){return this._baseState.any=!0,this},P.prototype.choice=function(w){const O=this._baseState;return I(null===O.choice),O.choice=w,this._useArgs(Object.keys(w).map(function(E){return w[E]})),this},P.prototype.contains=function(w){const O=this._baseState;return I(null===O.use),O.contains=w,this},P.prototype._decode=function(w,O){const E=this._baseState;if(null===E.parent)return w.wrapResult(E.children[0]._decode(w,O));let Y,R=E.default,z=!0,U=null;if(null!==E.key&&(U=w.enterKey(E.key)),E.optional){let K=null;if(null!==E.explicit?K=E.explicit:null!==E.implicit?K=E.implicit:null!==E.tag&&(K=E.tag),null!==K||E.any){if(z=this._peekTag(w,K,E.any),w.isError(z))return z}else{const $=w.save();try{null===E.choice?this._decodeGeneric(E.tag,w,O):this._decodeChoice(w,O),z=!0}catch{z=!1}w.restore($)}}if(E.obj&&z&&(Y=w.enterObject()),z){if(null!==E.explicit){const $=this._decodeTag(w,E.explicit);if(w.isError($))return $;w=$}const K=w.offset;if(null===E.use&&null===E.choice){let $;E.any&&($=w.save());const ie=this._decodeTag(w,null!==E.implicit?E.implicit:E.tag,E.any);if(w.isError(ie))return ie;E.any?R=w.raw($):w=ie}if(O&&O.track&&null!==E.tag&&O.track(w.path(),K,w.length,"tagged"),O&&O.track&&null!==E.tag&&O.track(w.path(),w.offset,w.length,"content"),E.any||(R=null===E.choice?this._decodeGeneric(E.tag,w,O):this._decodeChoice(w,O)),w.isError(R))return R;if(!E.any&&null===E.choice&&null!==E.children&&E.children.forEach(function(ie){ie._decode(w,O)}),E.contains&&("octstr"===E.tag||"bitstr"===E.tag)){const $=new b(R);R=this._getUse(E.contains,w._reporterState.obj)._decode($,O)}}return E.obj&&z&&(R=w.leaveObject(Y)),null===E.key||null===R&&!0!==z?null!==U&&w.exitKey(U):w.leaveKey(U,E.key,R),R},P.prototype._decodeGeneric=function(w,O,E){const R=this._baseState;return"seq"===w||"set"===w?null:"seqof"===w||"setof"===w?this._decodeList(O,w,R.args[0],E):/str$/.test(w)?this._decodeStr(O,w,E):"objid"===w&&R.args?this._decodeObjid(O,R.args[0],R.args[1],E):"objid"===w?this._decodeObjid(O,null,null,E):"gentime"===w||"utctime"===w?this._decodeTime(O,w,E):"null_"===w?this._decodeNull(O,E):"bool"===w?this._decodeBool(O,E):"objDesc"===w?this._decodeStr(O,w,E):"int"===w||"enum"===w?this._decodeInt(O,R.args&&R.args[0],E):null!==R.use?this._getUse(R.use,O._reporterState.obj)._decode(O,E):O.error("unknown tag: "+w)},P.prototype._getUse=function(w,O){const E=this._baseState;return E.useDecoder=this._use(w,O),I(null===E.useDecoder._baseState.parent),E.useDecoder=E.useDecoder._baseState.children[0],E.implicit!==E.useDecoder._baseState.implicit&&(E.useDecoder=E.useDecoder.clone(),E.useDecoder._baseState.implicit=E.implicit),E.useDecoder},P.prototype._decodeChoice=function(w,O){const E=this._baseState;let R=null,z=!1;return Object.keys(E.choice).some(function(U){const Y=w.save(),K=E.choice[U];try{const $=K._decode(w,O);if(w.isError($))return!1;R={type:U,value:$},z=!0}catch{return w.restore(Y),!1}return!0},this),z?R:w.error("Choice not matched")},P.prototype._createEncoderBuffer=function(w){return new e(w,this.reporter)},P.prototype._encode=function(w,O,E){const R=this._baseState;if(null!==R.default&&R.default===w)return;const z=this._encodeValue(w,O,E);return void 0===z||this._skipDefault(z,O,E)?void 0:z},P.prototype._encodeValue=function(w,O,E){const R=this._baseState;if(null===R.parent)return R.children[0]._encode(w,O||new t);let z=null;if(this.reporter=O,R.optional&&void 0===w){if(null===R.default)return;w=R.default}let U=null,Y=!1;if(R.any)z=this._createEncoderBuffer(w);else if(R.choice)z=this._encodeChoice(w,O);else if(R.contains)U=this._getUse(R.contains,E)._encode(w,O),Y=!0;else if(R.children)U=R.children.map(function(K){if("null_"===K._baseState.tag)return K._encode(null,O,w);if(null===K._baseState.key)return O.error("Child should have a key");const $=O.enterKey(K._baseState.key);if("object"!=typeof w)return O.error("Child expected, but input is not object");const ie=K._encode(w[K._baseState.key],O,w);return O.leaveKey($),ie},this).filter(function(K){return K}),U=this._createEncoderBuffer(U);else if("seqof"===R.tag||"setof"===R.tag){if(!R.args||1!==R.args.length)return O.error("Too many args for : "+R.tag);if(!Array.isArray(w))return O.error("seqof/setof, but data is not Array");const K=this.clone();K._baseState.implicit=null,U=this._createEncoderBuffer(w.map(function($){return this._getUse(this._baseState.args[0],w)._encode($,O)},K))}else null!==R.use?z=this._getUse(R.use,E)._encode(w,O):(U=this._encodePrimitive(R.tag,w),Y=!0);if(!R.any&&null===R.choice){const K=null!==R.implicit?R.implicit:R.tag,$=null===R.implicit?"universal":"context";null===K?null===R.use&&O.error("Tag could be omitted only for .use()"):null===R.use&&(z=this._encodeComposite(K,Y,$,U))}return null!==R.explicit&&(z=this._encodeComposite(R.explicit,!1,"context",z)),z},P.prototype._encodeChoice=function(w,O){const E=this._baseState,R=E.choice[w.type];return R||I(!1,w.type+" not found in "+JSON.stringify(Object.keys(E.choice))),R._encode(w.value,O)},P.prototype._encodePrimitive=function(w,O){const E=this._baseState;if(/str$/.test(w))return this._encodeStr(O,w);if("objid"===w&&E.args)return this._encodeObjid(O,E.reverseArgs[0],E.args[1]);if("objid"===w)return this._encodeObjid(O,null,null);if("gentime"===w||"utctime"===w)return this._encodeTime(O,w);if("null_"===w)return this._encodeNull();if("int"===w||"enum"===w)return this._encodeInt(O,E.args&&E.reverseArgs[0]);if("bool"===w)return this._encodeBool(O);if("objDesc"===w)return this._encodeStr(O,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:(Ue,q,p)=>{"use strict";const t=p(3894);function e(I){this._reporterState={obj:null,path:[],options:I||{},errors:[]}}function b(I,s){this.path=I,this.rethrow(s)}q.b=e,e.prototype.isError=function(s){return s instanceof b},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 b;if(C=P?s:new b(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(b,Error),b.prototype.rethrow=function(s){if(this.message=s+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,b),!this.stack)try{throw new Error(this.message)}catch(C){this.stack=C.stack}return this}},5496:(Ue,q)=>{"use strict";function p(t){const e={};return Object.keys(t).forEach(function(b){(0|b)==b&&(b|=0),e[t[b]]=b}),e}q.tagClass={0:"universal",1:"application",2:"context",3:"private"},q.tagClassByName=p(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=p(q.tag)},5459:(Ue,q,p)=>{"use strict";const t=q;t._reverse=function(b){const I={};return Object.keys(b).forEach(function(s){(0|s)==s&&(s|=0),I[b[s]]=s}),I},t.der=p(5496)},7127:(Ue,q,p)=>{"use strict";const t=p(3894),e=p(3854),b=p(2769).C,I=p(1430),s=p(5496);function C(S){this.enc="der",this.name=S.name,this.entity=S,this.tree=new h,this.tree._init(S.body)}function h(S){I.call(this,"der",S)}function P(S,w){let O=S.readUInt8(w);if(S.isError(O))return O;const E=s.tagClass[O>>6],R=0==(32&O);if(31==(31&O)){let U=O;for(O=0;128==(128&U);){if(U=S.readUInt8(w),S.isError(U))return U;O<<=7,O|=127&U}}else O&=31;return{cls:E,primitive:R,tag:O,tagStr:s.tag[O]}}function d(S,w,O){let E=S.readUInt8(O);if(S.isError(E))return E;if(!w&&128===E)return null;if(!(128&E))return E;const R=127&E;if(R>4)return S.error("length octect is too long");E=0;for(let z=0;z<R;z++){E<<=8;const U=S.readUInt8(O);if(S.isError(U))return U;E|=U}return E}Ue.exports=C,C.prototype.decode=function(w,O){return b.isDecoderBuffer(w)||(w=new b(w,O)),this.tree._decode(w,O)},t(h,I),h.prototype._peekTag=function(w,O,E){if(w.isEmpty())return!1;const R=w.save(),z=P(w,'Failed to peek tag: "'+O+'"');return w.isError(z)?z:(w.restore(R),z.tag===O||z.tagStr===O||z.tagStr+"of"===O||E)},h.prototype._decodeTag=function(w,O,E){const R=P(w,'Failed to decode tag of "'+O+'"');if(w.isError(R))return R;let z=d(w,R.primitive,'Failed to get length of "'+O+'"');if(w.isError(z))return z;if(!E&&R.tag!==O&&R.tagStr!==O&&R.tagStr+"of"!==O)return w.error('Failed to match tag: "'+O+'"');if(R.primitive||null!==z)return w.skip(z,'Failed to match body of: "'+O+'"');const U=w.save(),Y=this._skipUntilEnd(w,'Failed to skip indefinite length body: "'+this.tag+'"');return w.isError(Y)?Y:(z=w.offset-U.offset,w.restore(U),w.skip(z,'Failed to match body of: "'+O+'"'))},h.prototype._skipUntilEnd=function(w,O){for(;;){const E=P(w,O);if(w.isError(E))return E;const R=d(w,E.primitive,O);if(w.isError(R))return R;let z;if(z=E.primitive||null!==R?w.skip(R):this._skipUntilEnd(w,O),w.isError(z))return z;if("end"===E.tagStr)break}},h.prototype._decodeList=function(w,O,E,R){const z=[];for(;!w.isEmpty();){const U=this._peekTag(w,"end");if(w.isError(U))return U;const Y=E.decode(w,"der",R);if(w.isError(Y)&&U)break;z.push(Y)}return z},h.prototype._decodeStr=function(w,O){if("bitstr"===O){const E=w.readUInt8();return w.isError(E)?E:{unused:E,data:w.raw()}}if("bmpstr"===O){const E=w.raw();if(E.length%2==1)return w.error("Decoding of string type: bmpstr length mismatch");let R="";for(let z=0;z<E.length/2;z++)R+=String.fromCharCode(E.readUInt16BE(2*z));return R}if("numstr"===O){const E=w.raw().toString("ascii");return this._isNumstr(E)?E:w.error("Decoding of string type: numstr unsupported characters")}if("octstr"===O)return w.raw();if("objDesc"===O)return w.raw();if("printstr"===O){const E=w.raw().toString("ascii");return this._isPrintstr(E)?E:w.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(O)?w.raw().toString():w.error("Decoding of string type: "+O+" unsupported")},h.prototype._decodeObjid=function(w,O,E){let R;const z=[];let U=0,Y=0;for(;!w.isEmpty();)Y=w.readUInt8(),U<<=7,U|=127&Y,128&Y||(z.push(U),U=0);if(128&Y&&z.push(U),R=E?z:[z[0]/40|0,z[0]%40].concat(z.slice(1)),O){let ie=O[R.join(" ")];void 0===ie&&(ie=O[R.join(".")]),void 0!==ie&&(R=ie)}return R},h.prototype._decodeTime=function(w,O){const E=w.raw().toString();let R,z,U,Y,K,$;if("gentime"===O)R=0|E.slice(0,4),z=0|E.slice(4,6),U=0|E.slice(6,8),Y=0|E.slice(8,10),K=0|E.slice(10,12),$=0|E.slice(12,14);else{if("utctime"!==O)return w.error("Decoding "+O+" time is not supported yet");R=0|E.slice(0,2),z=0|E.slice(2,4),U=0|E.slice(4,6),Y=0|E.slice(6,8),K=0|E.slice(8,10),$=0|E.slice(10,12),R=R<70?2e3+R:1900+R}return Date.UTC(R,z-1,U,Y,K,$,0)},h.prototype._decodeNull=function(){return null},h.prototype._decodeBool=function(w){const O=w.readUInt8();return w.isError(O)?O:0!==O},h.prototype._decodeInt=function(w,O){const E=w.raw();let R=new e(E);return O&&(R=O[R.toString(10)]||R),R},h.prototype._use=function(w,O){return"function"==typeof w&&(w=w(O)),w._getDecoder("der").tree}},196:(Ue,q,p)=>{"use strict";const t=q;t.der=p(7127),t.pem=p(9617)},9617:(Ue,q,p)=>{"use strict";const t=p(3894),e=p(2038).Buffer,b=p(7127);function I(s){b.call(this,s),this.enc="pem"}t(I,b),Ue.exports=I,I.prototype.decode=function(C,h){const P=C.toString().split(/[\r\n]+/g),d=h.label.toUpperCase(),S=/^-----(BEGIN|END) ([^-]+)-----$/;let w=-1,O=-1;for(let z=0;z<P.length;z++){const U=P[z].match(S);if(null!==U&&U[2]===d){if(-1!==w){if("END"!==U[1])break;O=z;break}if("BEGIN"!==U[1])break;w=z}}if(-1===w||-1===O)throw new Error("PEM section not found for: "+d);const E=P.slice(w+1,O).join("");E.replace(/[^a-z0-9+/=]+/gi,"");const R=e.from(E,"base64");return b.prototype.decode.call(this,R,h)}},6374:(Ue,q,p)=>{"use strict";const t=p(3894),e=p(2038).Buffer,b=p(1430),I=p(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){b.call(this,"der",d)}function h(d){return d<10?"0"+d:d}Ue.exports=s,s.prototype.encode=function(S,w){return this.tree._encode(S,w).join()},t(C,b),C.prototype._encodeComposite=function(S,w,O,E){const R=function P(d,S,w,O){let E;if("seqof"===d?d="seq":"setof"===d&&(d="set"),I.tagByName.hasOwnProperty(d))E=I.tagByName[d];else{if("number"!=typeof d||(0|d)!==d)return O.error("Unknown tag: "+d);E=d}return E>=31?O.error("Multi-octet tag encoding unsupported"):(S||(E|=32),E|=I.tagClassByName[w||"universal"]<<6,E)}(S,w,O,this.reporter);if(E.length<128){const Y=e.alloc(2);return Y[0]=R,Y[1]=E.length,this._createEncoderBuffer([Y,E])}let z=1;for(let Y=E.length;Y>=256;Y>>=8)z++;const U=e.alloc(2+z);U[0]=R,U[1]=128|z;for(let Y=1+z,K=E.length;K>0;Y--,K>>=8)U[Y]=255&K;return this._createEncoderBuffer([U,E])},C.prototype._encodeStr=function(S,w){if("bitstr"===w)return this._createEncoderBuffer([0|S.unused,S.data]);if("bmpstr"===w){const O=e.alloc(2*S.length);for(let E=0;E<S.length;E++)O.writeUInt16BE(S.charCodeAt(E),2*E);return this._createEncoderBuffer(O)}return"numstr"===w?this._isNumstr(S)?this._createEncoderBuffer(S):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===w?this._isPrintstr(S)?this._createEncoderBuffer(S):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(S):this.reporter.error("Encoding of string type: "+w+" unsupported")},C.prototype._encodeObjid=function(S,w,O){if("string"==typeof S){if(!w)return this.reporter.error("string objid given, but no values map found");if(!w.hasOwnProperty(S))return this.reporter.error("objid not found in values map");S=w[S].split(/[\s.]+/g);for(let U=0;U<S.length;U++)S[U]|=0}else if(Array.isArray(S)){S=S.slice();for(let U=0;U<S.length;U++)S[U]|=0}if(!Array.isArray(S))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(S));if(!O){if(S[1]>=40)return this.reporter.error("Second objid identifier OOB");S.splice(0,2,40*S[0]+S[1])}let E=0;for(let U=0;U<S.length;U++){let Y=S[U];for(E++;Y>=128;Y>>=7)E++}const R=e.alloc(E);let z=R.length-1;for(let U=S.length-1;U>=0;U--){let Y=S[U];for(R[z--]=127&Y;(Y>>=7)>0;)R[z--]=128|127&Y}return this._createEncoderBuffer(R)},C.prototype._encodeTime=function(S,w){let O;const E=new Date(S);return"gentime"===w?O=[h(E.getUTCFullYear()),h(E.getUTCMonth()+1),h(E.getUTCDate()),h(E.getUTCHours()),h(E.getUTCMinutes()),h(E.getUTCSeconds()),"Z"].join(""):"utctime"===w?O=[h(E.getUTCFullYear()%100),h(E.getUTCMonth()+1),h(E.getUTCDate()),h(E.getUTCHours()),h(E.getUTCMinutes()),h(E.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+w+" time is not supported yet"),this._encodeStr(O,"octstr")},C.prototype._encodeNull=function(){return this._createEncoderBuffer("")},C.prototype._encodeInt=function(S,w){if("string"==typeof S){if(!w)return this.reporter.error("String int or enum given, but no values map");if(!w.hasOwnProperty(S))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(S));S=w[S]}if("number"!=typeof S&&!e.isBuffer(S)){const R=S.toArray();!S.sign&&128&R[0]&&R.unshift(0),S=e.from(R)}if(e.isBuffer(S)){let R=S.length;0===S.length&&R++;const z=e.alloc(R);return S.copy(z),0===S.length&&(z[0]=0),this._createEncoderBuffer(z)}if(S<128)return this._createEncoderBuffer(S);if(S<256)return this._createEncoderBuffer([0,S]);let O=1;for(let R=S;R>=256;R>>=8)O++;const E=new Array(O);for(let R=E.length-1;R>=0;R--)E[R]=255&S,S>>=8;return 128&E[0]&&E.unshift(0),this._createEncoderBuffer(e.from(E))},C.prototype._encodeBool=function(S){return this._createEncoderBuffer(S?255:0)},C.prototype._use=function(S,w){return"function"==typeof S&&(S=S(w)),S._getEncoder("der").tree},C.prototype._skipDefault=function(S,w,O){const E=this._baseState;let R;if(null===E.default)return!1;const z=S.join();if(void 0===E.defaultBuffer&&(E.defaultBuffer=this._encodeValue(E.default,w,O).join()),z.length!==E.defaultBuffer.length)return!1;for(R=0;R<z.length;R++)if(z[R]!==E.defaultBuffer[R])return!1;return!0}},1131:(Ue,q,p)=>{"use strict";const t=q;t.der=p(6374),t.pem=p(3530)},3530:(Ue,q,p)=>{"use strict";const t=p(3894),e=p(6374);function b(I){e.call(this,I),this.enc="pem"}t(b,e),Ue.exports=b,b.prototype.encode=function(s,C){const P=e.prototype.encode.call(this,s).toString("base64"),d=["-----BEGIN "+C.label+"-----"];for(let S=0;S<P.length;S+=64)d.push(P.slice(S,S+64));return d.push("-----END "+C.label+"-----"),d.join("\n")}},3854:function(Ue,q,p){!function(t,e){"use strict";function b(A,i){if(!A)throw new Error(i||"Assertion failed")}function I(A,i){A.super_=i;var a=function(){};a.prototype=i.prototype,A.prototype=new a,A.prototype.constructor=A}function s(A,i,a){if(s.isBN(A))return A;this.negative=0,this.words=null,this.length=0,this.red=null,null!==A&&(("le"===i||"be"===i)&&(a=i,i=10),this._init(A||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:p(950).Buffer}catch{}function h(A,i){var a=A.charCodeAt(i);return a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:a-48&15}function P(A,i,a){var u=h(A,a);return a-1>=i&&(u|=h(A,a-1)<<4),u}function d(A,i,a,u){for(var l=0,y=Math.min(A.length,a),T=i;T<y;T++){var D=A.charCodeAt(T)-48;l*=u,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,u){if("number"==typeof i)return this._initNumber(i,a,u);if("object"==typeof i)return this._initArray(i,a,u);"hex"===a&&(a=16),b(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,u):(this._parseBase(i,a,l),"le"===u&&this._initArray(this.toArray(),a,u)))},s.prototype._initNumber=function(i,a,u){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):(b(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===u&&this._initArray(this.toArray(),a,u)},s.prototype._initArray=function(i,a,u){if(b("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,T,D=0;if("be"===u)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(T=i[l]|i[l-1]<<8|i[l-2]<<16)<<D&67108863,this.words[y+1]=T>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);else if("le"===u)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(T=i[l]|i[l+1]<<8|i[l+2]<<16)<<D&67108863,this.words[y+1]=T>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);return this.strip()},s.prototype._parseHex=function(i,a,u){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,T=0;if("be"===u)for(l=i.length-1;l>=a;l-=2)D=P(i,a,l)<<y,this.words[T]|=67108863&D,y>=18?(y-=18,this.words[T+=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[T]|=67108863&D,y>=18?(y-=18,this.words[T+=1]|=D>>>26):y+=8;this.strip()},s.prototype._parseBase=function(i,a,u){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=a)l++;l--,y=y/a|0;for(var T=i.length-u,D=T%l,m=Math.min(T,T-D)+u,n=0,v=u;v<m;v+=l)n=d(i,v,v+l,a),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==D){var B=1;for(n=d(i,v,i.length,a),v=0;v<D;v++)B*=a;this.imuln(B),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 S=["","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],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 R(A,i,a){a.negative=i.negative^A.negative;var u=A.length+i.length|0;a.length=u,u=u-1|0;var l=0|A.words[0],y=0|i.words[0],T=l*y,m=T/67108864|0;a.words[0]=67108863&T;for(var n=1;n<u;n++){for(var v=m>>>26,B=67108863&m,V=Math.min(n,i.length-1),X=Math.max(0,n-A.length+1);X<=V;X++)v+=(T=(l=0|A.words[n-X|0])*(y=0|i.words[X])+B)/67108864|0,B=67108863&T;a.words[n]=0|B,m=0|v}return 0!==m?a.words[n]=0|m:a.length--,a.strip()}s.prototype.toString=function(i,a){var u;if(a=0|a||1,16===(i=i||10)||"hex"===i){u="";for(var l=0,y=0,T=0;T<this.length;T++){var D=this.words[T],m=(16777215&(D<<l|y)).toString(16);u=0!=(y=D>>>24-l&16777215)||T!==this.length-1?S[6-m.length]+m+u:m+u,(l+=2)>=26&&(l-=26,T--)}for(0!==y&&(u=y.toString(16)+u);u.length%a!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],v=O[i];u="";var B=this.clone();for(B.negative=0;!B.isZero();){var V=B.modn(v).toString(i);u=(B=B.idivn(v)).isZero()?V+u:S[n-V.length]+V+u}for(this.isZero()&&(u="0"+u);u.length%a!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}b(!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&&b(!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 b(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,u){var l=this.byteLength(),y=u||Math.max(1,l);b(l<=y,"byte array longer than desired length"),b(y>0,"Requested array length <= 0"),this.strip();var m,n,T="le"===a,D=new i(y),v=this.clone();if(T){for(n=0;!v.isZero();n++)m=v.andln(255),v.iushrn(8),D[n]=m;for(;n<y;n++)D[n]=0}else{for(n=0;n<y-l;n++)D[n]=0;for(n=0;!v.isZero();n++)m=v.andln(255),v.iushrn(8),D[y-n-1]=m}return D},s.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var a=i,u=0;return a>=4096&&(u+=13,a>>>=13),a>=64&&(u+=7,a>>>=7),a>=8&&(u+=4,a>>>=4),a>=2&&(u+=2,a>>>=2),u+a},s.prototype._zeroBits=function(i){if(0===i)return 26;var a=i,u=0;return 8191&a||(u+=13,a>>>=13),127&a||(u+=7,a>>>=7),15&a||(u+=4,a>>>=4),3&a||(u+=2,a>>>=2),1&a||u++,u},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 u=this._zeroBits(this.words[a]);if(i+=u,26!==u)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 b(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 u=0;u<a.length;u++)this.words[u]=this.words[u]&i.words[u];return this.length=a.length,this.strip()},s.prototype.iand=function(i){return b(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,u;this.length>i.length?(a=this,u=i):(a=i,u=this);for(var l=0;l<u.length;l++)this.words[l]=a.words[l]^u.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 b(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){b("number"==typeof i&&i>=0);var a=0|Math.ceil(i/26),u=i%26;this._expand(a),u>0&&a--;for(var l=0;l<a;l++)this.words[l]=67108863&~this.words[l];return u>0&&(this.words[l]=~this.words[l]&67108863>>26-u),this.strip()},s.prototype.notn=function(i){return this.clone().inotn(i)},s.prototype.setn=function(i,a){b("number"==typeof i&&i>=0);var u=i/26|0,l=i%26;return this._expand(u+1),this.words[u]=a?this.words[u]|1<<l:this.words[u]&~(1<<l),this.strip()},s.prototype.iadd=function(i){var a,u,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?(u=this,l=i):(u=i,l=this);for(var y=0,T=0;T<l.length;T++)this.words[T]=67108863&(a=(0|u.words[T])+(0|l.words[T])+y),y=a>>>26;for(;0!==y&&T<u.length;T++)this.words[T]=67108863&(a=(0|u.words[T])+y),y=a>>>26;if(this.length=u.length,0!==y)this.words[this.length]=y,this.length++;else if(u!==this)for(;T<u.length;T++)this.words[T]=u.words[T];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,u=this.cmp(i);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(l=this,y=i):(l=i,y=this);for(var T=0,D=0;D<y.length;D++)T=(a=(0|l.words[D])-(0|y.words[D])+T)>>26,this.words[D]=67108863&a;for(;0!==T&&D<l.length;D++)T=(a=(0|l.words[D])+T)>>26,this.words[D]=67108863&a;if(0===T&&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 z=function(i,a,u){var m,n,v,l=i.words,y=a.words,T=u.words,D=0,B=0|l[0],V=8191&B,X=B>>>13,De=0|l[1],tt=8191&De,je=De>>>13,ze=0|l[2],Le=8191&ze,ye=ze>>>13,ce=0|l[3],ve=8191&ce,oe=ce>>>13,Ke=0|l[4],Ae=8191&Ke,de=Ke>>>13,Ce=0|l[5],te=8191&Ce,Ze=Ce>>>13,Ge=0|l[6],ae=8191&Ge,ge=Ge>>>13,pt=0|l[7],$e=8191&pt,ut=pt>>>13,At=0|l[8],_t=8191&At,lt=At>>>13,St=0|l[9],ke=8191&St,He=St>>>13,wt=0|y[0],W=8191&wt,Fe=wt>>>13,Ft=0|y[1],qe=8191&Ft,Qe=Ft>>>13,Ht=0|y[2],Et=8191&Ht,It=Ht>>>13,bt=0|y[3],we=8191&bt,J=bt>>>13,be=0|y[4],Ve=8191&be,ot=be>>>13,ei=0|y[5],Bt=8191&ei,ti=ei>>>13,mt=0|y[6],nt=8191&mt,yt=mt>>>13,$t=0|y[7],Vt=8191&$t,ft=$t>>>13,Pt=0|y[8],Pe=8191&Pt,it=Pt>>>13,at=0|y[9],ht=8191&at,Lt=at>>>13;u.negative=i.negative^a.negative,u.length=19;var ui=(D+(m=Math.imul(V,W))|0)+((8191&(n=(n=Math.imul(V,Fe))+Math.imul(X,W)|0))<<13)|0;D=((v=Math.imul(X,Fe))+(n>>>13)|0)+(ui>>>26)|0,ui&=67108863,m=Math.imul(tt,W),n=(n=Math.imul(tt,Fe))+Math.imul(je,W)|0,v=Math.imul(je,Fe);var Ti=(D+(m=m+Math.imul(V,qe)|0)|0)+((8191&(n=(n=n+Math.imul(V,Qe)|0)+Math.imul(X,qe)|0))<<13)|0;D=((v=v+Math.imul(X,Qe)|0)+(n>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,m=Math.imul(Le,W),n=(n=Math.imul(Le,Fe))+Math.imul(ye,W)|0,v=Math.imul(ye,Fe),m=m+Math.imul(tt,qe)|0,n=(n=n+Math.imul(tt,Qe)|0)+Math.imul(je,qe)|0,v=v+Math.imul(je,Qe)|0;var yi=(D+(m=m+Math.imul(V,Et)|0)|0)+((8191&(n=(n=n+Math.imul(V,It)|0)+Math.imul(X,Et)|0))<<13)|0;D=((v=v+Math.imul(X,It)|0)+(n>>>13)|0)+(yi>>>26)|0,yi&=67108863,m=Math.imul(ve,W),n=(n=Math.imul(ve,Fe))+Math.imul(oe,W)|0,v=Math.imul(oe,Fe),m=m+Math.imul(Le,qe)|0,n=(n=n+Math.imul(Le,Qe)|0)+Math.imul(ye,qe)|0,v=v+Math.imul(ye,Qe)|0,m=m+Math.imul(tt,Et)|0,n=(n=n+Math.imul(tt,It)|0)+Math.imul(je,Et)|0,v=v+Math.imul(je,It)|0;var Ni=(D+(m=m+Math.imul(V,we)|0)|0)+((8191&(n=(n=n+Math.imul(V,J)|0)+Math.imul(X,we)|0))<<13)|0;D=((v=v+Math.imul(X,J)|0)+(n>>>13)|0)+(Ni>>>26)|0,Ni&=67108863,m=Math.imul(Ae,W),n=(n=Math.imul(Ae,Fe))+Math.imul(de,W)|0,v=Math.imul(de,Fe),m=m+Math.imul(ve,qe)|0,n=(n=n+Math.imul(ve,Qe)|0)+Math.imul(oe,qe)|0,v=v+Math.imul(oe,Qe)|0,m=m+Math.imul(Le,Et)|0,n=(n=n+Math.imul(Le,It)|0)+Math.imul(ye,Et)|0,v=v+Math.imul(ye,It)|0,m=m+Math.imul(tt,we)|0,n=(n=n+Math.imul(tt,J)|0)+Math.imul(je,we)|0,v=v+Math.imul(je,J)|0;var Xe=(D+(m=m+Math.imul(V,Ve)|0)|0)+((8191&(n=(n=n+Math.imul(V,ot)|0)+Math.imul(X,Ve)|0))<<13)|0;D=((v=v+Math.imul(X,ot)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,m=Math.imul(te,W),n=(n=Math.imul(te,Fe))+Math.imul(Ze,W)|0,v=Math.imul(Ze,Fe),m=m+Math.imul(Ae,qe)|0,n=(n=n+Math.imul(Ae,Qe)|0)+Math.imul(de,qe)|0,v=v+Math.imul(de,Qe)|0,m=m+Math.imul(ve,Et)|0,n=(n=n+Math.imul(ve,It)|0)+Math.imul(oe,Et)|0,v=v+Math.imul(oe,It)|0,m=m+Math.imul(Le,we)|0,n=(n=n+Math.imul(Le,J)|0)+Math.imul(ye,we)|0,v=v+Math.imul(ye,J)|0,m=m+Math.imul(tt,Ve)|0,n=(n=n+Math.imul(tt,ot)|0)+Math.imul(je,Ve)|0,v=v+Math.imul(je,ot)|0;var Tt=(D+(m=m+Math.imul(V,Bt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ti)|0)+Math.imul(X,Bt)|0))<<13)|0;D=((v=v+Math.imul(X,ti)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,m=Math.imul(ae,W),n=(n=Math.imul(ae,Fe))+Math.imul(ge,W)|0,v=Math.imul(ge,Fe),m=m+Math.imul(te,qe)|0,n=(n=n+Math.imul(te,Qe)|0)+Math.imul(Ze,qe)|0,v=v+Math.imul(Ze,Qe)|0,m=m+Math.imul(Ae,Et)|0,n=(n=n+Math.imul(Ae,It)|0)+Math.imul(de,Et)|0,v=v+Math.imul(de,It)|0,m=m+Math.imul(ve,we)|0,n=(n=n+Math.imul(ve,J)|0)+Math.imul(oe,we)|0,v=v+Math.imul(oe,J)|0,m=m+Math.imul(Le,Ve)|0,n=(n=n+Math.imul(Le,ot)|0)+Math.imul(ye,Ve)|0,v=v+Math.imul(ye,ot)|0,m=m+Math.imul(tt,Bt)|0,n=(n=n+Math.imul(tt,ti)|0)+Math.imul(je,Bt)|0,v=v+Math.imul(je,ti)|0;var xe=(D+(m=m+Math.imul(V,nt)|0)|0)+((8191&(n=(n=n+Math.imul(V,yt)|0)+Math.imul(X,nt)|0))<<13)|0;D=((v=v+Math.imul(X,yt)|0)+(n>>>13)|0)+(xe>>>26)|0,xe&=67108863,m=Math.imul($e,W),n=(n=Math.imul($e,Fe))+Math.imul(ut,W)|0,v=Math.imul(ut,Fe),m=m+Math.imul(ae,qe)|0,n=(n=n+Math.imul(ae,Qe)|0)+Math.imul(ge,qe)|0,v=v+Math.imul(ge,Qe)|0,m=m+Math.imul(te,Et)|0,n=(n=n+Math.imul(te,It)|0)+Math.imul(Ze,Et)|0,v=v+Math.imul(Ze,It)|0,m=m+Math.imul(Ae,we)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(de,we)|0,v=v+Math.imul(de,J)|0,m=m+Math.imul(ve,Ve)|0,n=(n=n+Math.imul(ve,ot)|0)+Math.imul(oe,Ve)|0,v=v+Math.imul(oe,ot)|0,m=m+Math.imul(Le,Bt)|0,n=(n=n+Math.imul(Le,ti)|0)+Math.imul(ye,Bt)|0,v=v+Math.imul(ye,ti)|0,m=m+Math.imul(tt,nt)|0,n=(n=n+Math.imul(tt,yt)|0)+Math.imul(je,nt)|0,v=v+Math.imul(je,yt)|0;var Rt=(D+(m=m+Math.imul(V,Vt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ft)|0)+Math.imul(X,Vt)|0))<<13)|0;D=((v=v+Math.imul(X,ft)|0)+(n>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,m=Math.imul(_t,W),n=(n=Math.imul(_t,Fe))+Math.imul(lt,W)|0,v=Math.imul(lt,Fe),m=m+Math.imul($e,qe)|0,n=(n=n+Math.imul($e,Qe)|0)+Math.imul(ut,qe)|0,v=v+Math.imul(ut,Qe)|0,m=m+Math.imul(ae,Et)|0,n=(n=n+Math.imul(ae,It)|0)+Math.imul(ge,Et)|0,v=v+Math.imul(ge,It)|0,m=m+Math.imul(te,we)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ze,we)|0,v=v+Math.imul(Ze,J)|0,m=m+Math.imul(Ae,Ve)|0,n=(n=n+Math.imul(Ae,ot)|0)+Math.imul(de,Ve)|0,v=v+Math.imul(de,ot)|0,m=m+Math.imul(ve,Bt)|0,n=(n=n+Math.imul(ve,ti)|0)+Math.imul(oe,Bt)|0,v=v+Math.imul(oe,ti)|0,m=m+Math.imul(Le,nt)|0,n=(n=n+Math.imul(Le,yt)|0)+Math.imul(ye,nt)|0,v=v+Math.imul(ye,yt)|0,m=m+Math.imul(tt,Vt)|0,n=(n=n+Math.imul(tt,ft)|0)+Math.imul(je,Vt)|0,v=v+Math.imul(je,ft)|0;var jt=(D+(m=m+Math.imul(V,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(V,it)|0)+Math.imul(X,Pe)|0))<<13)|0;D=((v=v+Math.imul(X,it)|0)+(n>>>13)|0)+(jt>>>26)|0,jt&=67108863,m=Math.imul(ke,W),n=(n=Math.imul(ke,Fe))+Math.imul(He,W)|0,v=Math.imul(He,Fe),m=m+Math.imul(_t,qe)|0,n=(n=n+Math.imul(_t,Qe)|0)+Math.imul(lt,qe)|0,v=v+Math.imul(lt,Qe)|0,m=m+Math.imul($e,Et)|0,n=(n=n+Math.imul($e,It)|0)+Math.imul(ut,Et)|0,v=v+Math.imul(ut,It)|0,m=m+Math.imul(ae,we)|0,n=(n=n+Math.imul(ae,J)|0)+Math.imul(ge,we)|0,v=v+Math.imul(ge,J)|0,m=m+Math.imul(te,Ve)|0,n=(n=n+Math.imul(te,ot)|0)+Math.imul(Ze,Ve)|0,v=v+Math.imul(Ze,ot)|0,m=m+Math.imul(Ae,Bt)|0,n=(n=n+Math.imul(Ae,ti)|0)+Math.imul(de,Bt)|0,v=v+Math.imul(de,ti)|0,m=m+Math.imul(ve,nt)|0,n=(n=n+Math.imul(ve,yt)|0)+Math.imul(oe,nt)|0,v=v+Math.imul(oe,yt)|0,m=m+Math.imul(Le,Vt)|0,n=(n=n+Math.imul(Le,ft)|0)+Math.imul(ye,Vt)|0,v=v+Math.imul(ye,ft)|0,m=m+Math.imul(tt,Pe)|0,n=(n=n+Math.imul(tt,it)|0)+Math.imul(je,Pe)|0,v=v+Math.imul(je,it)|0;var li=(D+(m=m+Math.imul(V,ht)|0)|0)+((8191&(n=(n=n+Math.imul(V,Lt)|0)+Math.imul(X,ht)|0))<<13)|0;D=((v=v+Math.imul(X,Lt)|0)+(n>>>13)|0)+(li>>>26)|0,li&=67108863,m=Math.imul(ke,qe),n=(n=Math.imul(ke,Qe))+Math.imul(He,qe)|0,v=Math.imul(He,Qe),m=m+Math.imul(_t,Et)|0,n=(n=n+Math.imul(_t,It)|0)+Math.imul(lt,Et)|0,v=v+Math.imul(lt,It)|0,m=m+Math.imul($e,we)|0,n=(n=n+Math.imul($e,J)|0)+Math.imul(ut,we)|0,v=v+Math.imul(ut,J)|0,m=m+Math.imul(ae,Ve)|0,n=(n=n+Math.imul(ae,ot)|0)+Math.imul(ge,Ve)|0,v=v+Math.imul(ge,ot)|0,m=m+Math.imul(te,Bt)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ze,Bt)|0,v=v+Math.imul(Ze,ti)|0,m=m+Math.imul(Ae,nt)|0,n=(n=n+Math.imul(Ae,yt)|0)+Math.imul(de,nt)|0,v=v+Math.imul(de,yt)|0,m=m+Math.imul(ve,Vt)|0,n=(n=n+Math.imul(ve,ft)|0)+Math.imul(oe,Vt)|0,v=v+Math.imul(oe,ft)|0,m=m+Math.imul(Le,Pe)|0,n=(n=n+Math.imul(Le,it)|0)+Math.imul(ye,Pe)|0,v=v+Math.imul(ye,it)|0;var bi=(D+(m=m+Math.imul(tt,ht)|0)|0)+((8191&(n=(n=n+Math.imul(tt,Lt)|0)+Math.imul(je,ht)|0))<<13)|0;D=((v=v+Math.imul(je,Lt)|0)+(n>>>13)|0)+(bi>>>26)|0,bi&=67108863,m=Math.imul(ke,Et),n=(n=Math.imul(ke,It))+Math.imul(He,Et)|0,v=Math.imul(He,It),m=m+Math.imul(_t,we)|0,n=(n=n+Math.imul(_t,J)|0)+Math.imul(lt,we)|0,v=v+Math.imul(lt,J)|0,m=m+Math.imul($e,Ve)|0,n=(n=n+Math.imul($e,ot)|0)+Math.imul(ut,Ve)|0,v=v+Math.imul(ut,ot)|0,m=m+Math.imul(ae,Bt)|0,n=(n=n+Math.imul(ae,ti)|0)+Math.imul(ge,Bt)|0,v=v+Math.imul(ge,ti)|0,m=m+Math.imul(te,nt)|0,n=(n=n+Math.imul(te,yt)|0)+Math.imul(Ze,nt)|0,v=v+Math.imul(Ze,yt)|0,m=m+Math.imul(Ae,Vt)|0,n=(n=n+Math.imul(Ae,ft)|0)+Math.imul(de,Vt)|0,v=v+Math.imul(de,ft)|0,m=m+Math.imul(ve,Pe)|0,n=(n=n+Math.imul(ve,it)|0)+Math.imul(oe,Pe)|0,v=v+Math.imul(oe,it)|0;var Li=(D+(m=m+Math.imul(Le,ht)|0)|0)+((8191&(n=(n=n+Math.imul(Le,Lt)|0)+Math.imul(ye,ht)|0))<<13)|0;D=((v=v+Math.imul(ye,Lt)|0)+(n>>>13)|0)+(Li>>>26)|0,Li&=67108863,m=Math.imul(ke,we),n=(n=Math.imul(ke,J))+Math.imul(He,we)|0,v=Math.imul(He,J),m=m+Math.imul(_t,Ve)|0,n=(n=n+Math.imul(_t,ot)|0)+Math.imul(lt,Ve)|0,v=v+Math.imul(lt,ot)|0,m=m+Math.imul($e,Bt)|0,n=(n=n+Math.imul($e,ti)|0)+Math.imul(ut,Bt)|0,v=v+Math.imul(ut,ti)|0,m=m+Math.imul(ae,nt)|0,n=(n=n+Math.imul(ae,yt)|0)+Math.imul(ge,nt)|0,v=v+Math.imul(ge,yt)|0,m=m+Math.imul(te,Vt)|0,n=(n=n+Math.imul(te,ft)|0)+Math.imul(Ze,Vt)|0,v=v+Math.imul(Ze,ft)|0,m=m+Math.imul(Ae,Pe)|0,n=(n=n+Math.imul(Ae,it)|0)+Math.imul(de,Pe)|0,v=v+Math.imul(de,it)|0;var Gi=(D+(m=m+Math.imul(ve,ht)|0)|0)+((8191&(n=(n=n+Math.imul(ve,Lt)|0)+Math.imul(oe,ht)|0))<<13)|0;D=((v=v+Math.imul(oe,Lt)|0)+(n>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,m=Math.imul(ke,Ve),n=(n=Math.imul(ke,ot))+Math.imul(He,Ve)|0,v=Math.imul(He,ot),m=m+Math.imul(_t,Bt)|0,n=(n=n+Math.imul(_t,ti)|0)+Math.imul(lt,Bt)|0,v=v+Math.imul(lt,ti)|0,m=m+Math.imul($e,nt)|0,n=(n=n+Math.imul($e,yt)|0)+Math.imul(ut,nt)|0,v=v+Math.imul(ut,yt)|0,m=m+Math.imul(ae,Vt)|0,n=(n=n+Math.imul(ae,ft)|0)+Math.imul(ge,Vt)|0,v=v+Math.imul(ge,ft)|0,m=m+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,it)|0)+Math.imul(Ze,Pe)|0,v=v+Math.imul(Ze,it)|0;var ji=(D+(m=m+Math.imul(Ae,ht)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Lt)|0)+Math.imul(de,ht)|0))<<13)|0;D=((v=v+Math.imul(de,Lt)|0)+(n>>>13)|0)+(ji>>>26)|0,ji&=67108863,m=Math.imul(ke,Bt),n=(n=Math.imul(ke,ti))+Math.imul(He,Bt)|0,v=Math.imul(He,ti),m=m+Math.imul(_t,nt)|0,n=(n=n+Math.imul(_t,yt)|0)+Math.imul(lt,nt)|0,v=v+Math.imul(lt,yt)|0,m=m+Math.imul($e,Vt)|0,n=(n=n+Math.imul($e,ft)|0)+Math.imul(ut,Vt)|0,v=v+Math.imul(ut,ft)|0,m=m+Math.imul(ae,Pe)|0,n=(n=n+Math.imul(ae,it)|0)+Math.imul(ge,Pe)|0,v=v+Math.imul(ge,it)|0;var $i=(D+(m=m+Math.imul(te,ht)|0)|0)+((8191&(n=(n=n+Math.imul(te,Lt)|0)+Math.imul(Ze,ht)|0))<<13)|0;D=((v=v+Math.imul(Ze,Lt)|0)+(n>>>13)|0)+($i>>>26)|0,$i&=67108863,m=Math.imul(ke,nt),n=(n=Math.imul(ke,yt))+Math.imul(He,nt)|0,v=Math.imul(He,yt),m=m+Math.imul(_t,Vt)|0,n=(n=n+Math.imul(_t,ft)|0)+Math.imul(lt,Vt)|0,v=v+Math.imul(lt,ft)|0,m=m+Math.imul($e,Pe)|0,n=(n=n+Math.imul($e,it)|0)+Math.imul(ut,Pe)|0,v=v+Math.imul(ut,it)|0;var Gt=(D+(m=m+Math.imul(ae,ht)|0)|0)+((8191&(n=(n=n+Math.imul(ae,Lt)|0)+Math.imul(ge,ht)|0))<<13)|0;D=((v=v+Math.imul(ge,Lt)|0)+(n>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,m=Math.imul(ke,Vt),n=(n=Math.imul(ke,ft))+Math.imul(He,Vt)|0,v=Math.imul(He,ft),m=m+Math.imul(_t,Pe)|0,n=(n=n+Math.imul(_t,it)|0)+Math.imul(lt,Pe)|0,v=v+Math.imul(lt,it)|0;var Kt=(D+(m=m+Math.imul($e,ht)|0)|0)+((8191&(n=(n=n+Math.imul($e,Lt)|0)+Math.imul(ut,ht)|0))<<13)|0;D=((v=v+Math.imul(ut,Lt)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,m=Math.imul(ke,Pe),n=(n=Math.imul(ke,it))+Math.imul(He,Pe)|0,v=Math.imul(He,it);var fe=(D+(m=m+Math.imul(_t,ht)|0)|0)+((8191&(n=(n=n+Math.imul(_t,Lt)|0)+Math.imul(lt,ht)|0))<<13)|0;D=((v=v+Math.imul(lt,Lt)|0)+(n>>>13)|0)+(fe>>>26)|0,fe&=67108863;var Oe=(D+(m=Math.imul(ke,ht))|0)+((8191&(n=(n=Math.imul(ke,Lt))+Math.imul(He,ht)|0))<<13)|0;return D=((v=Math.imul(He,Lt))+(n>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,T[0]=ui,T[1]=Ti,T[2]=yi,T[3]=Ni,T[4]=Xe,T[5]=Tt,T[6]=xe,T[7]=Rt,T[8]=jt,T[9]=li,T[10]=bi,T[11]=Li,T[12]=Gi,T[13]=ji,T[14]=$i,T[15]=Gt,T[16]=Kt,T[17]=fe,T[18]=Oe,0!==D&&(T[19]=D,u.length++),u};function Y(A,i,a){return(new K).mulp(A,i,a)}function K(A,i){this.x=A,this.y=i}Math.imul||(z=R),s.prototype.mulTo=function(i,a){var u,l=this.length+i.length;return u=10===this.length&&10===i.length?z(this,i,a):l<63?R(this,i,a):l<1024?function U(A,i,a){a.negative=i.negative^A.negative,a.length=A.length+i.length;for(var u=0,l=0,y=0;y<a.length-1;y++){var T=l;l=0;for(var D=67108863&u,m=Math.min(y,i.length-1),n=Math.max(0,y-A.length+1);n<=m;n++){var X=(0|A.words[y-n])*(0|i.words[n]),De=67108863&X;D=67108863&(De=De+D|0),l+=(T=(T=T+(X/67108864|0)|0)+(De>>>26)|0)>>>26,T&=67108863}a.words[y]=D,u=T,T=l}return 0!==u?a.words[y]=u:a.length--,a.strip()}(this,i,a):Y(this,i,a),u},K.prototype.makeRBT=function(i){for(var a=new Array(i),u=s.prototype._countBits(i)-1,l=0;l<i;l++)a[l]=this.revBin(l,u,i);return a},K.prototype.revBin=function(i,a,u){if(0===i||i===u-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,u,l,y,T){for(var D=0;D<T;D++)l[D]=a[i[D]],y[D]=u[i[D]]},K.prototype.transform=function(i,a,u,l,y,T){this.permute(T,i,a,u,l,y);for(var D=1;D<y;D<<=1)for(var m=D<<1,n=Math.cos(2*Math.PI/m),v=Math.sin(2*Math.PI/m),B=0;B<y;B+=m)for(var V=n,X=v,De=0;De<D;De++){var tt=u[B+De],je=l[B+De],ze=u[B+De+D],Le=l[B+De+D],ye=V*ze-X*Le;Le=V*Le+X*ze,u[B+De]=tt+(ze=ye),l[B+De]=je+Le,u[B+De+D]=tt-ze,l[B+De+D]=je-Le,De!==m&&(ye=n*V-v*X,X=n*X+v*V,V=ye)}},K.prototype.guessLen13b=function(i,a){var u=1|Math.max(a,i),l=1&u,y=0;for(u=u/2|0;u;u>>>=1)y++;return 1<<y+1+l},K.prototype.conjugate=function(i,a,u){if(!(u<=1))for(var l=0;l<u/2;l++){var y=i[l];i[l]=i[u-l-1],i[u-l-1]=y,y=a[l],a[l]=-a[u-l-1],a[u-l-1]=-y}},K.prototype.normalize13b=function(i,a){for(var u=0,l=0;l<a/2;l++){var y=8192*Math.round(i[2*l+1]/a)+Math.round(i[2*l]/a)+u;i[l]=67108863&y,u=y<67108864?0:y/67108864|0}return i},K.prototype.convert13b=function(i,a,u,l){for(var y=0,T=0;T<a;T++)u[2*T]=8191&(y+=0|i[T]),u[2*T+1]=8191&(y>>>=13),y>>>=13;for(T=2*a;T<l;++T)u[T]=0;b(0===y),b(0==(-8192&y))},K.prototype.stub=function(i){for(var a=new Array(i),u=0;u<i;u++)a[u]=0;return a},K.prototype.mulp=function(i,a,u){var l=2*this.guessLen13b(i.length,a.length),y=this.makeRBT(l),T=this.stub(l),D=new Array(l),m=new Array(l),n=new Array(l),v=new Array(l),B=new Array(l),V=new Array(l),X=u.words;X.length=l,this.convert13b(i.words,i.length,D,l),this.convert13b(a.words,a.length,v,l),this.transform(D,T,m,n,l,y),this.transform(v,T,B,V,l,y);for(var De=0;De<l;De++){var tt=m[De]*B[De]-n[De]*V[De];n[De]=m[De]*V[De]+n[De]*B[De],m[De]=tt}return this.conjugate(m,n,l),this.transform(m,n,X,T,l,y),this.conjugate(X,T,l),this.normalize13b(X,l),u.negative=i.negative^a.negative,u.length=i.length+a.length,u.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),Y(this,i,a)},s.prototype.imul=function(i){return this.clone().mulTo(i,this)},s.prototype.imuln=function(i){b("number"==typeof i),b(i<67108864);for(var a=0,u=0;u<this.length;u++){var l=(0|this.words[u])*i,y=(67108863&l)+(67108863&a);a>>=26,a+=l/67108864|0,a+=y>>>26,this.words[u]=67108863&y}return 0!==a&&(this.words[u]=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 E(A){for(var i=new Array(A.bitLength()),a=0;a<i.length;a++){var l=a%26;i[a]=(A.words[a/26|0]&1<<l)>>>l}return i}(i);if(0===a.length)return new s(1);for(var u=this,l=0;l<a.length&&0===a[l];l++,u=u.sqr());if(++l<a.length)for(var y=u.sqr();l<a.length;l++,y=y.sqr())0!==a[l]&&(u=u.mul(y));return u},s.prototype.iushln=function(i){b("number"==typeof i&&i>=0);var y,a=i%26,u=(i-a)/26,l=67108863>>>26-a<<26-a;if(0!==a){var T=0;for(y=0;y<this.length;y++){var D=this.words[y]&l;this.words[y]=(0|this.words[y])-D<<a|T,T=D>>>26-a}T&&(this.words[y]=T,this.length++)}if(0!==u){for(y=this.length-1;y>=0;y--)this.words[y+u]=this.words[y];for(y=0;y<u;y++)this.words[y]=0;this.length+=u}return this.strip()},s.prototype.ishln=function(i){return b(0===this.negative),this.iushln(i)},s.prototype.iushrn=function(i,a,u){var l;b("number"==typeof i&&i>=0),l=a?(a-a%26)/26:0;var y=i%26,T=Math.min((i-y)/26,this.length),D=67108863^67108863>>>y<<y,m=u;if(l-=T,l=Math.max(0,l),m){for(var n=0;n<T;n++)m.words[n]=this.words[n];m.length=T}if(0!==T)if(this.length>T)for(this.length-=T,n=0;n<this.length;n++)this.words[n]=this.words[n+T];else this.words[0]=0,this.length=1;var v=0;for(n=this.length-1;n>=0&&(0!==v||n>=l);n--){var B=0|this.words[n];this.words[n]=v<<26-y|B>>>y,v=B&D}return m&&0!==v&&(m.words[m.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(i,a,u){return b(0===this.negative),this.iushrn(i,a,u)},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){b("number"==typeof i&&i>=0);var a=i%26,u=(i-a)/26;return!(this.length<=u||!(this.words[u]&1<<a))},s.prototype.imaskn=function(i){b("number"==typeof i&&i>=0);var a=i%26,u=(i-a)/26;return b(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==a&&u++,this.length=Math.min(u,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 b("number"==typeof i),b(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(b("number"==typeof i),b(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,u){var y;this._expand(i.length+u);var T,D=0;for(y=0;y<i.length;y++){T=(0|this.words[y+u])+D;var m=(0|i.words[y])*a;D=((T-=67108863&m)>>26)-(m/67108864|0),this.words[y+u]=67108863&T}for(;y<this.length-u;y++)D=(T=(0|this.words[y+u])+D)>>26,this.words[y+u]=67108863&T;if(0===D)return this.strip();for(b(-1===D),D=0,y=0;y<this.length;y++)D=(T=-(0|this.words[y])+D)>>26,this.words[y]=67108863&T;return this.negative=1,this.strip()},s.prototype._wordDiv=function(i,a){var u,l=this.clone(),y=i,T=0|y.words[y.length-1];0!=(u=26-this._countBits(T))&&(y=y.ushln(u),l.iushln(u),T=0|y.words[y.length-1]);var n,m=l.length-y.length;if("mod"!==a){(n=new s(null)).length=m+1,n.words=new Array(n.length);for(var v=0;v<n.length;v++)n.words[v]=0}var B=l.clone()._ishlnsubmul(y,1,m);0===B.negative&&(l=B,n&&(n.words[m]=1));for(var V=m-1;V>=0;V--){var X=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(X=Math.min(X/T|0,67108863),l._ishlnsubmul(y,X,V);0!==l.negative;)X--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=X)}return n&&n.strip(),l.strip(),"div"!==a&&0!==u&&l.iushrn(u),{div:n||null,mod:l}},s.prototype.divmod=function(i,a,u){return b(!i.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===i.negative?(T=this.neg().divmod(i,a),"mod"!==a&&(l=T.div.neg()),"div"!==a&&(y=T.mod.neg(),u&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(T=this.divmod(i.neg(),a),"mod"!==a&&(l=T.div.neg()),{div:l,mod:T.mod}):this.negative&i.negative?(T=this.neg().divmod(i.neg(),a),"div"!==a&&(y=T.mod.neg(),u&&0!==y.negative&&y.isub(i)),{div:T.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,T},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 u=0!==a.div.negative?a.mod.isub(i):a.mod,l=i.ushrn(1),y=i.andln(1),T=u.cmp(l);return T<0||1===y&&0===T?a.div:0!==a.div.negative?a.div.isubn(1):a.div.iaddn(1)},s.prototype.modn=function(i){b(i<=67108863);for(var a=(1<<26)%i,u=0,l=this.length-1;l>=0;l--)u=(a*u+(0|this.words[l]))%i;return u},s.prototype.idivn=function(i){b(i<=67108863);for(var a=0,u=this.length-1;u>=0;u--){var l=(0|this.words[u])+67108864*a;this.words[u]=l/i|0,a=l%i}return this.strip()},s.prototype.divn=function(i){return this.clone().idivn(i)},s.prototype.egcd=function(i){b(0===i.negative),b(!i.isZero());var a=this,u=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),T=new s(0),D=new s(1),m=0;a.isEven()&&u.isEven();)a.iushrn(1),u.iushrn(1),++m;for(var n=u.clone(),v=a.clone();!a.isZero();){for(var B=0,V=1;!(a.words[0]&V)&&B<26;++B,V<<=1);if(B>0)for(a.iushrn(B);B-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(v)),l.iushrn(1),y.iushrn(1);for(var X=0,De=1;!(u.words[0]&De)&&X<26;++X,De<<=1);if(X>0)for(u.iushrn(X);X-- >0;)(T.isOdd()||D.isOdd())&&(T.iadd(n),D.isub(v)),T.iushrn(1),D.iushrn(1);a.cmp(u)>=0?(a.isub(u),l.isub(T),y.isub(D)):(u.isub(a),T.isub(l),D.isub(y))}return{a:T,b:D,gcd:u.iushln(m)}},s.prototype._invmp=function(i){b(0===i.negative),b(!i.isZero());var B,a=this,u=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),T=u.clone();a.cmpn(1)>0&&u.cmpn(1)>0;){for(var D=0,m=1;!(a.words[0]&m)&&D<26;++D,m<<=1);if(D>0)for(a.iushrn(D);D-- >0;)l.isOdd()&&l.iadd(T),l.iushrn(1);for(var n=0,v=1;!(u.words[0]&v)&&n<26;++n,v<<=1);if(n>0)for(u.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(T),y.iushrn(1);a.cmp(u)>=0?(a.isub(u),l.isub(y)):(u.isub(a),y.isub(l))}return(B=0===a.cmpn(1)?l:y).cmpn(0)<0&&B.iadd(i),B},s.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var a=this.clone(),u=i.clone();a.negative=0,u.negative=0;for(var l=0;a.isEven()&&u.isEven();l++)a.iushrn(1),u.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;u.isEven();)u.iushrn(1);var y=a.cmp(u);if(y<0){var T=a;a=u,u=T}else if(0===y||0===u.cmpn(1))break;a.isub(u)}return u.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){b("number"==typeof i);var a=i%26,u=(i-a)/26,l=1<<a;if(this.length<=u)return this._expand(u+1),this.words[u]|=l,this;for(var y=l,T=u;0!==y&&T<this.length;T++){var D=0|this.words[T];y=(D+=y)>>>26,this.words[T]=D&=67108863}return 0!==y&&(this.words[T]=y,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(i){var u,a=i<0;if(0!==this.negative&&!a)return-1;if(0===this.negative&&a)return 1;if(this.strip(),this.length>1)u=1;else{a&&(i=-i),b(i<=67108863,"Number is too big");var l=0|this.words[0];u=l===i?0:l<i?-1:1}return 0!==this.negative?0|-u:u},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,u=this.length-1;u>=0;u--){var l=0|this.words[u],y=0|i.words[u];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 ee(i)},s.prototype.toRed=function(i){return b(!this.red,"Already a number in reduction context"),b(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},s.prototype.fromRed=function(){return b(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 b(!this.red,"Already a number in reduction context"),this._forceRed(i)},s.prototype.redAdd=function(i){return b(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},s.prototype.redIAdd=function(i){return b(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},s.prototype.redSub=function(i){return b(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},s.prototype.redISub=function(i){return b(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},s.prototype.redShl=function(i){return b(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},s.prototype.redMul=function(i){return b(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},s.prototype.redIMul=function(i){return b(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},s.prototype.redSqr=function(){return b(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return b(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return b(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return b(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return b(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(i){return b(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var $={k256:null,p224:null,p192:null,p25519:null};function ie(A,i){this.name=A,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 ue(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function he(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function le(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ee(A){if("string"==typeof A){var i=s._prime(A);this.m=i.p,this.prime=i}else b(A.gtn(1),"modulus must be greater than 1"),this.m=A,this.prime=null}function me(A){ee.call(this,A),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)}ie.prototype._tmp=function(){var i=new s(null);return i.words=new Array(Math.ceil(this.n/13)),i},ie.prototype.ireduce=function(i){var u,a=i;do{this.split(a,this.tmp),u=(a=(a=this.imulK(a)).iadd(this.tmp)).bitLength()}while(u>this.n);var l=u<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},ie.prototype.split=function(i,a){i.iushrn(this.n,0,a)},ie.prototype.imulK=function(i){return i.imul(this.k)},I(ue,ie),ue.prototype.split=function(i,a){for(var u=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 T=i.words[9];for(a.words[a.length++]=T&u,y=10;y<i.length;y++){var D=0|i.words[y];i.words[y-10]=(D&u)<<4|T>>>22,T=D}i.words[y-10]=T>>>=22,i.length-=0===T&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var a=0,u=0;u<i.length;u++){var l=0|i.words[u];i.words[u]=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},I(he,ie),I(ne,ie),I(le,ie),le.prototype.imulK=function(i){for(var a=0,u=0;u<i.length;u++){var l=19*(0|i.words[u])+a,y=67108863&l;l>>>=26,i.words[u]=y,a=l}return 0!==a&&(i.words[i.length++]=a),i},s._prime=function(i){if($[i])return $[i];var a;if("k256"===i)a=new ue;else if("p224"===i)a=new he;else if("p192"===i)a=new ne;else{if("p25519"!==i)throw new Error("Unknown prime "+i);a=new le}return $[i]=a,a},ee.prototype._verify1=function(i){b(0===i.negative,"red works only with positives"),b(i.red,"red works only with red numbers")},ee.prototype._verify2=function(i,a){b(0==(i.negative|a.negative),"red works only with positives"),b(i.red&&i.red===a.red,"red works only with red numbers")},ee.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},ee.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},ee.prototype.add=function(i,a){this._verify2(i,a);var u=i.add(a);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},ee.prototype.iadd=function(i,a){this._verify2(i,a);var u=i.iadd(a);return u.cmp(this.m)>=0&&u.isub(this.m),u},ee.prototype.sub=function(i,a){this._verify2(i,a);var u=i.sub(a);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},ee.prototype.isub=function(i,a){this._verify2(i,a);var u=i.isub(a);return u.cmpn(0)<0&&u.iadd(this.m),u},ee.prototype.shl=function(i,a){return this._verify1(i),this.imod(i.ushln(a))},ee.prototype.imul=function(i,a){return this._verify2(i,a),this.imod(i.imul(a))},ee.prototype.mul=function(i,a){return this._verify2(i,a),this.imod(i.mul(a))},ee.prototype.isqr=function(i){return this.imul(i,i.clone())},ee.prototype.sqr=function(i){return this.mul(i,i)},ee.prototype.sqrt=function(i){if(i.isZero())return i.clone();var a=this.m.andln(3);if(b(a%2==1),3===a){var u=this.m.add(new s(1)).iushrn(2);return this.pow(i,u)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);b(!l.isZero());var T=new s(1).toRed(this),D=T.redNeg(),m=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new s(2*n*n).toRed(this);0!==this.pow(n,m).cmp(D);)n.redIAdd(D);for(var v=this.pow(n,l),B=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),X=y;0!==V.cmp(T);){for(var De=V,tt=0;0!==De.cmp(T);tt++)De=De.redSqr();b(tt<X);var je=this.pow(v,new s(1).iushln(X-tt-1));B=B.redMul(je),v=je.redSqr(),V=V.redMul(v),X=tt}return B},ee.prototype.invm=function(i){var a=i._invmp(this.m);return 0!==a.negative?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},ee.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 T=l[0],D=0,m=0,n=a.bitLength()%26;for(0===n&&(n=26),y=a.length-1;y>=0;y--){for(var v=a.words[y],B=n-1;B>=0;B--){var V=v>>B&1;T!==l[0]&&(T=this.sqr(T)),0!==V||0!==D?(D<<=1,D|=V,(4==++m||0===y&&0===B)&&(T=this.mul(T,l[D]),m=0,D=0)):m=0}n=26}return T},ee.prototype.convertTo=function(i){var a=i.umod(this.m);return a===i?a.clone():a},ee.prototype.convertFrom=function(i){var a=i.clone();return a.red=null,a},s.mont=function(i){return new me(i)},I(me,ee),me.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},me.prototype.convertFrom=function(i){var a=this.imod(i.mul(this.rinv));return a.red=null,a},me.prototype.imul=function(i,a){if(i.isZero()||a.isZero())return i.words[0]=0,i.length=1,i;var u=i.imul(a),l=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=u.isub(l).iushrn(this.shift),T=y;return y.cmp(this.m)>=0?T=y.isub(this.m):y.cmpn(0)<0&&(T=y.iadd(this.m)),T._forceRed(this)},me.prototype.mul=function(i,a){if(i.isZero()||a.isZero())return new s(0)._forceRed(this);var u=i.mul(a),l=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=u.isub(l).iushrn(this.shift),T=y;return y.cmp(this.m)>=0?T=y.isub(this.m):y.cmpn(0)<0&&(T=y.iadd(this.m)),T._forceRed(this)},me.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ue=p.nmd(Ue),this)},5343:(Ue,q)=>{"use strict";q.byteLength=function h(E){var R=C(E),U=R[1];return 3*(R[0]+U)/4-U},q.toByteArray=function d(E){var R,ue,z=C(E),U=z[0],Y=z[1],K=new e(function P(E,R,z){return 3*(R+z)/4-z}(0,U,Y)),$=0,ie=Y>0?U-4:U;for(ue=0;ue<ie;ue+=4)R=t[E.charCodeAt(ue)]<<18|t[E.charCodeAt(ue+1)]<<12|t[E.charCodeAt(ue+2)]<<6|t[E.charCodeAt(ue+3)],K[$++]=R>>16&255,K[$++]=R>>8&255,K[$++]=255&R;return 2===Y&&(R=t[E.charCodeAt(ue)]<<2|t[E.charCodeAt(ue+1)]>>4,K[$++]=255&R),1===Y&&(R=t[E.charCodeAt(ue)]<<10|t[E.charCodeAt(ue+1)]<<4|t[E.charCodeAt(ue+2)]>>2,K[$++]=R>>8&255,K[$++]=255&R),K},q.fromByteArray=function O(E){for(var R,z=E.length,U=z%3,Y=[],K=16383,$=0,ie=z-U;$<ie;$+=K)Y.push(w(E,$,$+K>ie?ie:$+K));return 1===U?Y.push(p[(R=E[z-1])>>2]+p[R<<4&63]+"=="):2===U&&Y.push(p[(R=(E[z-2]<<8)+E[z-1])>>10]+p[R>>4&63]+p[R<<2&63]+"="),Y.join("")};for(var p=[],t=[],e=typeof Uint8Array<"u"?Uint8Array:Array,b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",I=0,s=b.length;I<s;++I)p[I]=b[I],t[b.charCodeAt(I)]=I;function C(E){var R=E.length;if(R%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var z=E.indexOf("=");return-1===z&&(z=R),[z,z===R?0:4-z%4]}function S(E){return p[E>>18&63]+p[E>>12&63]+p[E>>6&63]+p[63&E]}function w(E,R,z){for(var Y=[],K=R;K<z;K+=3)Y.push(S((E[K]<<16&16711680)+(E[K+1]<<8&65280)+(255&E[K+2])));return Y.join("")}t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63},8538:function(Ue,q,p){!function(t,e){"use strict";function b(u,l){if(!u)throw new Error(l||"Assertion failed")}function I(u,l){u.super_=l;var y=function(){};y.prototype=l.prototype,u.prototype=new y,u.prototype.constructor=u}function s(u,l,y){if(s.isBN(u))return u;this.negative=0,this.words=null,this.length=0,this.red=null,null!==u&&(("le"===l||"be"===l)&&(y=l,l=10),this._init(u||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:p(6601).Buffer}catch{}function h(u,l){var y=u.charCodeAt(l);return y>=48&&y<=57?y-48:y>=65&&y<=70?y-55:y>=97&&y<=102?y-87:void b(!1,"Invalid character in "+u)}function P(u,l,y){var T=h(u,y);return y-1>=l&&(T|=h(u,y-1)<<4),T}function d(u,l,y,T){for(var D=0,m=0,n=Math.min(u.length,y),v=l;v<n;v++){var B=u.charCodeAt(v)-48;D*=T,m=B>=49?B-49+10:B>=17?B-17+10:B,b(B>=0&&m<T,"Invalid character"),D+=m}return D}function S(u,l){u.words=l.words,u.length=l.length,u.negative=l.negative,u.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,T){if("number"==typeof l)return this._initNumber(l,y,T);if("object"==typeof l)return this._initArray(l,y,T);"hex"===y&&(y=16),b(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,T):(this._parseBase(l,y,D),"le"===T&&this._initArray(this.toArray(),y,T)))},s.prototype._initNumber=function(l,y,T){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):(b(l<9007199254740992),this.words=[67108863&l,l/67108864&67108863,1],this.length=3),"le"===T&&this._initArray(this.toArray(),y,T)},s.prototype._initArray=function(l,y,T){if(b("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 m,n,v=0;if("be"===T)for(D=l.length-1,m=0;D>=0;D-=3)this.words[m]|=(n=l[D]|l[D-1]<<8|l[D-2]<<16)<<v&67108863,this.words[m+1]=n>>>26-v&67108863,(v+=24)>=26&&(v-=26,m++);else if("le"===T)for(D=0,m=0;D<l.length;D+=3)this.words[m]|=(n=l[D]|l[D+1]<<8|l[D+2]<<16)<<v&67108863,this.words[m+1]=n>>>26-v&67108863,(v+=24)>=26&&(v-=26,m++);return this._strip()},s.prototype._parseHex=function(l,y,T){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 v,m=0,n=0;if("be"===T)for(D=l.length-1;D>=y;D-=2)v=P(l,y,D)<<m,this.words[n]|=67108863&v,m>=18?(m-=18,this.words[n+=1]|=v>>>26):m+=8;else for(D=(l.length-y)%2==0?y+1:y;D<l.length;D+=2)v=P(l,y,D)<<m,this.words[n]|=67108863&v,m>=18?(m-=18,this.words[n+=1]|=v>>>26):m+=8;this._strip()},s.prototype._parseBase=function(l,y,T){this.words=[0],this.length=1;for(var D=0,m=1;m<=67108863;m*=y)D++;D--,m=m/y|0;for(var n=l.length-T,v=n%D,B=Math.min(n,n-v)+T,V=0,X=T;X<B;X+=D)V=d(l,X,X+D,y),this.imuln(m),this.words[0]+V<67108864?this.words[0]+=V:this._iaddn(V);if(0!==v){var De=1;for(V=d(l,X,l.length,y),X=0;X<v;X++)De*=y;this.imuln(De),this.words[0]+V<67108864?this.words[0]+=V:this._iaddn(V)}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){S(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 O=["","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"],E=[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],R=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function Y(u,l,y){y.negative=l.negative^u.negative;var T=u.length+l.length|0;y.length=T,T=T-1|0;var D=0|u.words[0],m=0|l.words[0],n=D*m,B=n/67108864|0;y.words[0]=67108863&n;for(var V=1;V<T;V++){for(var X=B>>>26,De=67108863&B,tt=Math.min(V,l.length-1),je=Math.max(0,V-u.length+1);je<=tt;je++)X+=(n=(D=0|u.words[V-je|0])*(m=0|l.words[je])+De)/67108864|0,De=67108863&n;y.words[V]=0|De,B=0|X}return 0!==B?y.words[V]=0|B:y.length--,y._strip()}s.prototype.toString=function(l,y){var T;if(y=0|y||1,16===(l=l||10)||"hex"===l){T="";for(var D=0,m=0,n=0;n<this.length;n++){var v=this.words[n],B=(16777215&(v<<D|m)).toString(16);m=v>>>24-D&16777215,(D+=2)>=26&&(D-=26,n--),T=0!==m||n!==this.length-1?O[6-B.length]+B+T:B+T}for(0!==m&&(T=m.toString(16)+T);T.length%y!=0;)T="0"+T;return 0!==this.negative&&(T="-"+T),T}if(l===(0|l)&&l>=2&&l<=36){var V=E[l],X=R[l];T="";var De=this.clone();for(De.negative=0;!De.isZero();){var tt=De.modrn(X).toString(l);T=(De=De.idivn(X)).isZero()?tt+T:O[V-tt.length]+tt+T}for(this.isZero()&&(T="0"+T);T.length%y!=0;)T="0"+T;return 0!==this.negative&&(T="-"+T),T}b(!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&&b(!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,T){this._strip();var D=this.byteLength(),m=T||Math.max(1,D);b(D<=m,"byte array longer than desired length"),b(m>0,"Requested array length <= 0");var n=function(l,y){return l.allocUnsafe?l.allocUnsafe(y):new l(y)}(l,m);return this["_toArrayLike"+("le"===y?"LE":"BE")](n,D),n},s.prototype._toArrayLikeLE=function(l,y){for(var T=0,D=0,m=0,n=0;m<this.length;m++){var v=this.words[m]<<n|D;l[T++]=255&v,T<l.length&&(l[T++]=v>>8&255),T<l.length&&(l[T++]=v>>16&255),6===n?(T<l.length&&(l[T++]=v>>24&255),D=0,n=0):(D=v>>>24,n+=2)}if(T<l.length)for(l[T++]=D;T<l.length;)l[T++]=0},s.prototype._toArrayLikeBE=function(l,y){for(var T=l.length-1,D=0,m=0,n=0;m<this.length;m++){var v=this.words[m]<<n|D;l[T--]=255&v,T>=0&&(l[T--]=v>>8&255),T>=0&&(l[T--]=v>>16&255),6===n?(T>=0&&(l[T--]=v>>24&255),D=0,n=0):(D=v>>>24,n+=2)}if(T>=0)for(l[T--]=D;T>=0;)l[T--]=0},s.prototype._countBits=Math.clz32?function(l){return 32-Math.clz32(l)}:function(l){var y=l,T=0;return y>=4096&&(T+=13,y>>>=13),y>=64&&(T+=7,y>>>=7),y>=8&&(T+=4,y>>>=4),y>=2&&(T+=2,y>>>=2),T+y},s.prototype._zeroBits=function(l){if(0===l)return 26;var y=l,T=0;return 8191&y||(T+=13,y>>>=13),127&y||(T+=7,y>>>=7),15&y||(T+=4,y>>>=4),3&y||(T+=2,y>>>=2),1&y||T++,T},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 T=this._zeroBits(this.words[y]);if(l+=T,26!==T)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 b(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 T=0;T<y.length;T++)this.words[T]=this.words[T]&l.words[T];return this.length=y.length,this._strip()},s.prototype.iand=function(l){return b(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,T;this.length>l.length?(y=this,T=l):(y=l,T=this);for(var D=0;D<T.length;D++)this.words[D]=y.words[D]^T.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 b(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){b("number"==typeof l&&l>=0);var y=0|Math.ceil(l/26),T=l%26;this._expand(y),T>0&&y--;for(var D=0;D<y;D++)this.words[D]=67108863&~this.words[D];return T>0&&(this.words[D]=~this.words[D]&67108863>>26-T),this._strip()},s.prototype.notn=function(l){return this.clone().inotn(l)},s.prototype.setn=function(l,y){b("number"==typeof l&&l>=0);var T=l/26|0,D=l%26;return this._expand(T+1),this.words[T]=y?this.words[T]|1<<D:this.words[T]&~(1<<D),this._strip()},s.prototype.iadd=function(l){var y,T,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?(T=this,D=l):(T=l,D=this);for(var m=0,n=0;n<D.length;n++)this.words[n]=67108863&(y=(0|T.words[n])+(0|D.words[n])+m),m=y>>>26;for(;0!==m&&n<T.length;n++)this.words[n]=67108863&(y=(0|T.words[n])+m),m=y>>>26;if(this.length=T.length,0!==m)this.words[this.length]=m,this.length++;else if(T!==this)for(;n<T.length;n++)this.words[n]=T.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,m,T=this.cmp(l);if(0===T)return this.negative=0,this.length=1,this.words[0]=0,this;T>0?(D=this,m=l):(D=l,m=this);for(var n=0,v=0;v<m.length;v++)n=(y=(0|D.words[v])-(0|m.words[v])+n)>>26,this.words[v]=67108863&y;for(;0!==n&&v<D.length;v++)n=(y=(0|D.words[v])+n)>>26,this.words[v]=67108863&y;if(0===n&&v<D.length&&D!==this)for(;v<D.length;v++)this.words[v]=D.words[v];return this.length=Math.max(this.length,v),D!==this&&(this.negative=1),this._strip()},s.prototype.sub=function(l){return this.clone().isub(l)};var K=function(l,y,T){var B,V,X,D=l.words,m=y.words,n=T.words,v=0,De=0|D[0],tt=8191&De,je=De>>>13,ze=0|D[1],Le=8191&ze,ye=ze>>>13,ce=0|D[2],ve=8191&ce,oe=ce>>>13,Ke=0|D[3],Ae=8191&Ke,de=Ke>>>13,Ce=0|D[4],te=8191&Ce,Ze=Ce>>>13,Ge=0|D[5],ae=8191&Ge,ge=Ge>>>13,pt=0|D[6],$e=8191&pt,ut=pt>>>13,At=0|D[7],_t=8191&At,lt=At>>>13,St=0|D[8],ke=8191&St,He=St>>>13,wt=0|D[9],W=8191&wt,Fe=wt>>>13,Ft=0|m[0],qe=8191&Ft,Qe=Ft>>>13,Ht=0|m[1],Et=8191&Ht,It=Ht>>>13,bt=0|m[2],we=8191&bt,J=bt>>>13,be=0|m[3],Ve=8191&be,ot=be>>>13,ei=0|m[4],Bt=8191&ei,ti=ei>>>13,mt=0|m[5],nt=8191&mt,yt=mt>>>13,$t=0|m[6],Vt=8191&$t,ft=$t>>>13,Pt=0|m[7],Pe=8191&Pt,it=Pt>>>13,at=0|m[8],ht=8191&at,Lt=at>>>13,ui=0|m[9],Ti=8191&ui,yi=ui>>>13;T.negative=l.negative^y.negative,T.length=19;var Ni=(v+(B=Math.imul(tt,qe))|0)+((8191&(V=(V=Math.imul(tt,Qe))+Math.imul(je,qe)|0))<<13)|0;v=((X=Math.imul(je,Qe))+(V>>>13)|0)+(Ni>>>26)|0,Ni&=67108863,B=Math.imul(Le,qe),V=(V=Math.imul(Le,Qe))+Math.imul(ye,qe)|0,X=Math.imul(ye,Qe);var Xe=(v+(B=B+Math.imul(tt,Et)|0)|0)+((8191&(V=(V=V+Math.imul(tt,It)|0)+Math.imul(je,Et)|0))<<13)|0;v=((X=X+Math.imul(je,It)|0)+(V>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,B=Math.imul(ve,qe),V=(V=Math.imul(ve,Qe))+Math.imul(oe,qe)|0,X=Math.imul(oe,Qe),B=B+Math.imul(Le,Et)|0,V=(V=V+Math.imul(Le,It)|0)+Math.imul(ye,Et)|0,X=X+Math.imul(ye,It)|0;var Tt=(v+(B=B+Math.imul(tt,we)|0)|0)+((8191&(V=(V=V+Math.imul(tt,J)|0)+Math.imul(je,we)|0))<<13)|0;v=((X=X+Math.imul(je,J)|0)+(V>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,B=Math.imul(Ae,qe),V=(V=Math.imul(Ae,Qe))+Math.imul(de,qe)|0,X=Math.imul(de,Qe),B=B+Math.imul(ve,Et)|0,V=(V=V+Math.imul(ve,It)|0)+Math.imul(oe,Et)|0,X=X+Math.imul(oe,It)|0,B=B+Math.imul(Le,we)|0,V=(V=V+Math.imul(Le,J)|0)+Math.imul(ye,we)|0,X=X+Math.imul(ye,J)|0;var xe=(v+(B=B+Math.imul(tt,Ve)|0)|0)+((8191&(V=(V=V+Math.imul(tt,ot)|0)+Math.imul(je,Ve)|0))<<13)|0;v=((X=X+Math.imul(je,ot)|0)+(V>>>13)|0)+(xe>>>26)|0,xe&=67108863,B=Math.imul(te,qe),V=(V=Math.imul(te,Qe))+Math.imul(Ze,qe)|0,X=Math.imul(Ze,Qe),B=B+Math.imul(Ae,Et)|0,V=(V=V+Math.imul(Ae,It)|0)+Math.imul(de,Et)|0,X=X+Math.imul(de,It)|0,B=B+Math.imul(ve,we)|0,V=(V=V+Math.imul(ve,J)|0)+Math.imul(oe,we)|0,X=X+Math.imul(oe,J)|0,B=B+Math.imul(Le,Ve)|0,V=(V=V+Math.imul(Le,ot)|0)+Math.imul(ye,Ve)|0,X=X+Math.imul(ye,ot)|0;var Rt=(v+(B=B+Math.imul(tt,Bt)|0)|0)+((8191&(V=(V=V+Math.imul(tt,ti)|0)+Math.imul(je,Bt)|0))<<13)|0;v=((X=X+Math.imul(je,ti)|0)+(V>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,B=Math.imul(ae,qe),V=(V=Math.imul(ae,Qe))+Math.imul(ge,qe)|0,X=Math.imul(ge,Qe),B=B+Math.imul(te,Et)|0,V=(V=V+Math.imul(te,It)|0)+Math.imul(Ze,Et)|0,X=X+Math.imul(Ze,It)|0,B=B+Math.imul(Ae,we)|0,V=(V=V+Math.imul(Ae,J)|0)+Math.imul(de,we)|0,X=X+Math.imul(de,J)|0,B=B+Math.imul(ve,Ve)|0,V=(V=V+Math.imul(ve,ot)|0)+Math.imul(oe,Ve)|0,X=X+Math.imul(oe,ot)|0,B=B+Math.imul(Le,Bt)|0,V=(V=V+Math.imul(Le,ti)|0)+Math.imul(ye,Bt)|0,X=X+Math.imul(ye,ti)|0;var jt=(v+(B=B+Math.imul(tt,nt)|0)|0)+((8191&(V=(V=V+Math.imul(tt,yt)|0)+Math.imul(je,nt)|0))<<13)|0;v=((X=X+Math.imul(je,yt)|0)+(V>>>13)|0)+(jt>>>26)|0,jt&=67108863,B=Math.imul($e,qe),V=(V=Math.imul($e,Qe))+Math.imul(ut,qe)|0,X=Math.imul(ut,Qe),B=B+Math.imul(ae,Et)|0,V=(V=V+Math.imul(ae,It)|0)+Math.imul(ge,Et)|0,X=X+Math.imul(ge,It)|0,B=B+Math.imul(te,we)|0,V=(V=V+Math.imul(te,J)|0)+Math.imul(Ze,we)|0,X=X+Math.imul(Ze,J)|0,B=B+Math.imul(Ae,Ve)|0,V=(V=V+Math.imul(Ae,ot)|0)+Math.imul(de,Ve)|0,X=X+Math.imul(de,ot)|0,B=B+Math.imul(ve,Bt)|0,V=(V=V+Math.imul(ve,ti)|0)+Math.imul(oe,Bt)|0,X=X+Math.imul(oe,ti)|0,B=B+Math.imul(Le,nt)|0,V=(V=V+Math.imul(Le,yt)|0)+Math.imul(ye,nt)|0,X=X+Math.imul(ye,yt)|0;var li=(v+(B=B+Math.imul(tt,Vt)|0)|0)+((8191&(V=(V=V+Math.imul(tt,ft)|0)+Math.imul(je,Vt)|0))<<13)|0;v=((X=X+Math.imul(je,ft)|0)+(V>>>13)|0)+(li>>>26)|0,li&=67108863,B=Math.imul(_t,qe),V=(V=Math.imul(_t,Qe))+Math.imul(lt,qe)|0,X=Math.imul(lt,Qe),B=B+Math.imul($e,Et)|0,V=(V=V+Math.imul($e,It)|0)+Math.imul(ut,Et)|0,X=X+Math.imul(ut,It)|0,B=B+Math.imul(ae,we)|0,V=(V=V+Math.imul(ae,J)|0)+Math.imul(ge,we)|0,X=X+Math.imul(ge,J)|0,B=B+Math.imul(te,Ve)|0,V=(V=V+Math.imul(te,ot)|0)+Math.imul(Ze,Ve)|0,X=X+Math.imul(Ze,ot)|0,B=B+Math.imul(Ae,Bt)|0,V=(V=V+Math.imul(Ae,ti)|0)+Math.imul(de,Bt)|0,X=X+Math.imul(de,ti)|0,B=B+Math.imul(ve,nt)|0,V=(V=V+Math.imul(ve,yt)|0)+Math.imul(oe,nt)|0,X=X+Math.imul(oe,yt)|0,B=B+Math.imul(Le,Vt)|0,V=(V=V+Math.imul(Le,ft)|0)+Math.imul(ye,Vt)|0,X=X+Math.imul(ye,ft)|0;var bi=(v+(B=B+Math.imul(tt,Pe)|0)|0)+((8191&(V=(V=V+Math.imul(tt,it)|0)+Math.imul(je,Pe)|0))<<13)|0;v=((X=X+Math.imul(je,it)|0)+(V>>>13)|0)+(bi>>>26)|0,bi&=67108863,B=Math.imul(ke,qe),V=(V=Math.imul(ke,Qe))+Math.imul(He,qe)|0,X=Math.imul(He,Qe),B=B+Math.imul(_t,Et)|0,V=(V=V+Math.imul(_t,It)|0)+Math.imul(lt,Et)|0,X=X+Math.imul(lt,It)|0,B=B+Math.imul($e,we)|0,V=(V=V+Math.imul($e,J)|0)+Math.imul(ut,we)|0,X=X+Math.imul(ut,J)|0,B=B+Math.imul(ae,Ve)|0,V=(V=V+Math.imul(ae,ot)|0)+Math.imul(ge,Ve)|0,X=X+Math.imul(ge,ot)|0,B=B+Math.imul(te,Bt)|0,V=(V=V+Math.imul(te,ti)|0)+Math.imul(Ze,Bt)|0,X=X+Math.imul(Ze,ti)|0,B=B+Math.imul(Ae,nt)|0,V=(V=V+Math.imul(Ae,yt)|0)+Math.imul(de,nt)|0,X=X+Math.imul(de,yt)|0,B=B+Math.imul(ve,Vt)|0,V=(V=V+Math.imul(ve,ft)|0)+Math.imul(oe,Vt)|0,X=X+Math.imul(oe,ft)|0,B=B+Math.imul(Le,Pe)|0,V=(V=V+Math.imul(Le,it)|0)+Math.imul(ye,Pe)|0,X=X+Math.imul(ye,it)|0;var Li=(v+(B=B+Math.imul(tt,ht)|0)|0)+((8191&(V=(V=V+Math.imul(tt,Lt)|0)+Math.imul(je,ht)|0))<<13)|0;v=((X=X+Math.imul(je,Lt)|0)+(V>>>13)|0)+(Li>>>26)|0,Li&=67108863,B=Math.imul(W,qe),V=(V=Math.imul(W,Qe))+Math.imul(Fe,qe)|0,X=Math.imul(Fe,Qe),B=B+Math.imul(ke,Et)|0,V=(V=V+Math.imul(ke,It)|0)+Math.imul(He,Et)|0,X=X+Math.imul(He,It)|0,B=B+Math.imul(_t,we)|0,V=(V=V+Math.imul(_t,J)|0)+Math.imul(lt,we)|0,X=X+Math.imul(lt,J)|0,B=B+Math.imul($e,Ve)|0,V=(V=V+Math.imul($e,ot)|0)+Math.imul(ut,Ve)|0,X=X+Math.imul(ut,ot)|0,B=B+Math.imul(ae,Bt)|0,V=(V=V+Math.imul(ae,ti)|0)+Math.imul(ge,Bt)|0,X=X+Math.imul(ge,ti)|0,B=B+Math.imul(te,nt)|0,V=(V=V+Math.imul(te,yt)|0)+Math.imul(Ze,nt)|0,X=X+Math.imul(Ze,yt)|0,B=B+Math.imul(Ae,Vt)|0,V=(V=V+Math.imul(Ae,ft)|0)+Math.imul(de,Vt)|0,X=X+Math.imul(de,ft)|0,B=B+Math.imul(ve,Pe)|0,V=(V=V+Math.imul(ve,it)|0)+Math.imul(oe,Pe)|0,X=X+Math.imul(oe,it)|0,B=B+Math.imul(Le,ht)|0,V=(V=V+Math.imul(Le,Lt)|0)+Math.imul(ye,ht)|0,X=X+Math.imul(ye,Lt)|0;var Gi=(v+(B=B+Math.imul(tt,Ti)|0)|0)+((8191&(V=(V=V+Math.imul(tt,yi)|0)+Math.imul(je,Ti)|0))<<13)|0;v=((X=X+Math.imul(je,yi)|0)+(V>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,B=Math.imul(W,Et),V=(V=Math.imul(W,It))+Math.imul(Fe,Et)|0,X=Math.imul(Fe,It),B=B+Math.imul(ke,we)|0,V=(V=V+Math.imul(ke,J)|0)+Math.imul(He,we)|0,X=X+Math.imul(He,J)|0,B=B+Math.imul(_t,Ve)|0,V=(V=V+Math.imul(_t,ot)|0)+Math.imul(lt,Ve)|0,X=X+Math.imul(lt,ot)|0,B=B+Math.imul($e,Bt)|0,V=(V=V+Math.imul($e,ti)|0)+Math.imul(ut,Bt)|0,X=X+Math.imul(ut,ti)|0,B=B+Math.imul(ae,nt)|0,V=(V=V+Math.imul(ae,yt)|0)+Math.imul(ge,nt)|0,X=X+Math.imul(ge,yt)|0,B=B+Math.imul(te,Vt)|0,V=(V=V+Math.imul(te,ft)|0)+Math.imul(Ze,Vt)|0,X=X+Math.imul(Ze,ft)|0,B=B+Math.imul(Ae,Pe)|0,V=(V=V+Math.imul(Ae,it)|0)+Math.imul(de,Pe)|0,X=X+Math.imul(de,it)|0,B=B+Math.imul(ve,ht)|0,V=(V=V+Math.imul(ve,Lt)|0)+Math.imul(oe,ht)|0,X=X+Math.imul(oe,Lt)|0;var ji=(v+(B=B+Math.imul(Le,Ti)|0)|0)+((8191&(V=(V=V+Math.imul(Le,yi)|0)+Math.imul(ye,Ti)|0))<<13)|0;v=((X=X+Math.imul(ye,yi)|0)+(V>>>13)|0)+(ji>>>26)|0,ji&=67108863,B=Math.imul(W,we),V=(V=Math.imul(W,J))+Math.imul(Fe,we)|0,X=Math.imul(Fe,J),B=B+Math.imul(ke,Ve)|0,V=(V=V+Math.imul(ke,ot)|0)+Math.imul(He,Ve)|0,X=X+Math.imul(He,ot)|0,B=B+Math.imul(_t,Bt)|0,V=(V=V+Math.imul(_t,ti)|0)+Math.imul(lt,Bt)|0,X=X+Math.imul(lt,ti)|0,B=B+Math.imul($e,nt)|0,V=(V=V+Math.imul($e,yt)|0)+Math.imul(ut,nt)|0,X=X+Math.imul(ut,yt)|0,B=B+Math.imul(ae,Vt)|0,V=(V=V+Math.imul(ae,ft)|0)+Math.imul(ge,Vt)|0,X=X+Math.imul(ge,ft)|0,B=B+Math.imul(te,Pe)|0,V=(V=V+Math.imul(te,it)|0)+Math.imul(Ze,Pe)|0,X=X+Math.imul(Ze,it)|0,B=B+Math.imul(Ae,ht)|0,V=(V=V+Math.imul(Ae,Lt)|0)+Math.imul(de,ht)|0,X=X+Math.imul(de,Lt)|0;var $i=(v+(B=B+Math.imul(ve,Ti)|0)|0)+((8191&(V=(V=V+Math.imul(ve,yi)|0)+Math.imul(oe,Ti)|0))<<13)|0;v=((X=X+Math.imul(oe,yi)|0)+(V>>>13)|0)+($i>>>26)|0,$i&=67108863,B=Math.imul(W,Ve),V=(V=Math.imul(W,ot))+Math.imul(Fe,Ve)|0,X=Math.imul(Fe,ot),B=B+Math.imul(ke,Bt)|0,V=(V=V+Math.imul(ke,ti)|0)+Math.imul(He,Bt)|0,X=X+Math.imul(He,ti)|0,B=B+Math.imul(_t,nt)|0,V=(V=V+Math.imul(_t,yt)|0)+Math.imul(lt,nt)|0,X=X+Math.imul(lt,yt)|0,B=B+Math.imul($e,Vt)|0,V=(V=V+Math.imul($e,ft)|0)+Math.imul(ut,Vt)|0,X=X+Math.imul(ut,ft)|0,B=B+Math.imul(ae,Pe)|0,V=(V=V+Math.imul(ae,it)|0)+Math.imul(ge,Pe)|0,X=X+Math.imul(ge,it)|0,B=B+Math.imul(te,ht)|0,V=(V=V+Math.imul(te,Lt)|0)+Math.imul(Ze,ht)|0,X=X+Math.imul(Ze,Lt)|0;var Gt=(v+(B=B+Math.imul(Ae,Ti)|0)|0)+((8191&(V=(V=V+Math.imul(Ae,yi)|0)+Math.imul(de,Ti)|0))<<13)|0;v=((X=X+Math.imul(de,yi)|0)+(V>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,B=Math.imul(W,Bt),V=(V=Math.imul(W,ti))+Math.imul(Fe,Bt)|0,X=Math.imul(Fe,ti),B=B+Math.imul(ke,nt)|0,V=(V=V+Math.imul(ke,yt)|0)+Math.imul(He,nt)|0,X=X+Math.imul(He,yt)|0,B=B+Math.imul(_t,Vt)|0,V=(V=V+Math.imul(_t,ft)|0)+Math.imul(lt,Vt)|0,X=X+Math.imul(lt,ft)|0,B=B+Math.imul($e,Pe)|0,V=(V=V+Math.imul($e,it)|0)+Math.imul(ut,Pe)|0,X=X+Math.imul(ut,it)|0,B=B+Math.imul(ae,ht)|0,V=(V=V+Math.imul(ae,Lt)|0)+Math.imul(ge,ht)|0,X=X+Math.imul(ge,Lt)|0;var Kt=(v+(B=B+Math.imul(te,Ti)|0)|0)+((8191&(V=(V=V+Math.imul(te,yi)|0)+Math.imul(Ze,Ti)|0))<<13)|0;v=((X=X+Math.imul(Ze,yi)|0)+(V>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,B=Math.imul(W,nt),V=(V=Math.imul(W,yt))+Math.imul(Fe,nt)|0,X=Math.imul(Fe,yt),B=B+Math.imul(ke,Vt)|0,V=(V=V+Math.imul(ke,ft)|0)+Math.imul(He,Vt)|0,X=X+Math.imul(He,ft)|0,B=B+Math.imul(_t,Pe)|0,V=(V=V+Math.imul(_t,it)|0)+Math.imul(lt,Pe)|0,X=X+Math.imul(lt,it)|0,B=B+Math.imul($e,ht)|0,V=(V=V+Math.imul($e,Lt)|0)+Math.imul(ut,ht)|0,X=X+Math.imul(ut,Lt)|0;var fe=(v+(B=B+Math.imul(ae,Ti)|0)|0)+((8191&(V=(V=V+Math.imul(ae,yi)|0)+Math.imul(ge,Ti)|0))<<13)|0;v=((X=X+Math.imul(ge,yi)|0)+(V>>>13)|0)+(fe>>>26)|0,fe&=67108863,B=Math.imul(W,Vt),V=(V=Math.imul(W,ft))+Math.imul(Fe,Vt)|0,X=Math.imul(Fe,ft),B=B+Math.imul(ke,Pe)|0,V=(V=V+Math.imul(ke,it)|0)+Math.imul(He,Pe)|0,X=X+Math.imul(He,it)|0,B=B+Math.imul(_t,ht)|0,V=(V=V+Math.imul(_t,Lt)|0)+Math.imul(lt,ht)|0,X=X+Math.imul(lt,Lt)|0;var Oe=(v+(B=B+Math.imul($e,Ti)|0)|0)+((8191&(V=(V=V+Math.imul($e,yi)|0)+Math.imul(ut,Ti)|0))<<13)|0;v=((X=X+Math.imul(ut,yi)|0)+(V>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,B=Math.imul(W,Pe),V=(V=Math.imul(W,it))+Math.imul(Fe,Pe)|0,X=Math.imul(Fe,it),B=B+Math.imul(ke,ht)|0,V=(V=V+Math.imul(ke,Lt)|0)+Math.imul(He,ht)|0,X=X+Math.imul(He,Lt)|0;var ct=(v+(B=B+Math.imul(_t,Ti)|0)|0)+((8191&(V=(V=V+Math.imul(_t,yi)|0)+Math.imul(lt,Ti)|0))<<13)|0;v=((X=X+Math.imul(lt,yi)|0)+(V>>>13)|0)+(ct>>>26)|0,ct&=67108863,B=Math.imul(W,ht),V=(V=Math.imul(W,Lt))+Math.imul(Fe,ht)|0,X=Math.imul(Fe,Lt);var Je=(v+(B=B+Math.imul(ke,Ti)|0)|0)+((8191&(V=(V=V+Math.imul(ke,yi)|0)+Math.imul(He,Ti)|0))<<13)|0;v=((X=X+Math.imul(He,yi)|0)+(V>>>13)|0)+(Je>>>26)|0,Je&=67108863;var ii=(v+(B=Math.imul(W,Ti))|0)+((8191&(V=(V=Math.imul(W,yi))+Math.imul(Fe,Ti)|0))<<13)|0;return v=((X=Math.imul(Fe,yi))+(V>>>13)|0)+(ii>>>26)|0,ii&=67108863,n[0]=Ni,n[1]=Xe,n[2]=Tt,n[3]=xe,n[4]=Rt,n[5]=jt,n[6]=li,n[7]=bi,n[8]=Li,n[9]=Gi,n[10]=ji,n[11]=$i,n[12]=Gt,n[13]=Kt,n[14]=fe,n[15]=Oe,n[16]=ct,n[17]=Je,n[18]=ii,0!==v&&(n[19]=v,T.length++),T};function $(u,l,y){y.negative=l.negative^u.negative,y.length=u.length+l.length;for(var T=0,D=0,m=0;m<y.length-1;m++){var n=D;D=0;for(var v=67108863&T,B=Math.min(m,l.length-1),V=Math.max(0,m-u.length+1);V<=B;V++){var je=(0|u.words[m-V])*(0|l.words[V]),ze=67108863&je;v=67108863&(ze=ze+v|0),D+=(n=(n=n+(je/67108864|0)|0)+(ze>>>26)|0)>>>26,n&=67108863}y.words[m]=v,T=n,n=D}return 0!==T?y.words[m]=T:y.length--,y._strip()}function ie(u,l,y){return $(u,l,y)}function ue(u,l){this.x=u,this.y=l}Math.imul||(K=Y),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?Y(this,l,y):D<1024?$(this,l,y):ie(this,l,y)},ue.prototype.makeRBT=function(l){for(var y=new Array(l),T=s.prototype._countBits(l)-1,D=0;D<l;D++)y[D]=this.revBin(D,T,l);return y},ue.prototype.revBin=function(l,y,T){if(0===l||l===T-1)return l;for(var D=0,m=0;m<y;m++)D|=(1&l)<<y-m-1,l>>=1;return D},ue.prototype.permute=function(l,y,T,D,m,n){for(var v=0;v<n;v++)D[v]=y[l[v]],m[v]=T[l[v]]},ue.prototype.transform=function(l,y,T,D,m,n){this.permute(n,l,y,T,D,m);for(var v=1;v<m;v<<=1)for(var B=v<<1,V=Math.cos(2*Math.PI/B),X=Math.sin(2*Math.PI/B),De=0;De<m;De+=B)for(var tt=V,je=X,ze=0;ze<v;ze++){var Le=T[De+ze],ye=D[De+ze],ce=T[De+ze+v],ve=D[De+ze+v],oe=tt*ce-je*ve;ve=tt*ve+je*ce,T[De+ze]=Le+(ce=oe),D[De+ze]=ye+ve,T[De+ze+v]=Le-ce,D[De+ze+v]=ye-ve,ze!==B&&(oe=V*tt-X*je,je=V*je+X*tt,tt=oe)}},ue.prototype.guessLen13b=function(l,y){var T=1|Math.max(y,l),D=1&T,m=0;for(T=T/2|0;T;T>>>=1)m++;return 1<<m+1+D},ue.prototype.conjugate=function(l,y,T){if(!(T<=1))for(var D=0;D<T/2;D++){var m=l[D];l[D]=l[T-D-1],l[T-D-1]=m,m=y[D],y[D]=-y[T-D-1],y[T-D-1]=-m}},ue.prototype.normalize13b=function(l,y){for(var T=0,D=0;D<y/2;D++){var m=8192*Math.round(l[2*D+1]/y)+Math.round(l[2*D]/y)+T;l[D]=67108863&m,T=m<67108864?0:m/67108864|0}return l},ue.prototype.convert13b=function(l,y,T,D){for(var m=0,n=0;n<y;n++)T[2*n]=8191&(m+=0|l[n]),T[2*n+1]=8191&(m>>>=13),m>>>=13;for(n=2*y;n<D;++n)T[n]=0;b(0===m),b(0==(-8192&m))},ue.prototype.stub=function(l){for(var y=new Array(l),T=0;T<l;T++)y[T]=0;return y},ue.prototype.mulp=function(l,y,T){var D=2*this.guessLen13b(l.length,y.length),m=this.makeRBT(D),n=this.stub(D),v=new Array(D),B=new Array(D),V=new Array(D),X=new Array(D),De=new Array(D),tt=new Array(D),je=T.words;je.length=D,this.convert13b(l.words,l.length,v,D),this.convert13b(y.words,y.length,X,D),this.transform(v,n,B,V,D,m),this.transform(X,n,De,tt,D,m);for(var ze=0;ze<D;ze++){var Le=B[ze]*De[ze]-V[ze]*tt[ze];V[ze]=B[ze]*tt[ze]+V[ze]*De[ze],B[ze]=Le}return this.conjugate(B,V,D),this.transform(B,V,je,n,D,m),this.conjugate(je,n,D),this.normalize13b(je,D),T.negative=l.negative^y.negative,T.length=l.length+y.length,T._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),ie(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),b("number"==typeof l),b(l<67108864);for(var T=0,D=0;D<this.length;D++){var m=(0|this.words[D])*l,n=(67108863&m)+(67108863&T);T>>=26,T+=m/67108864|0,T+=n>>>26,this.words[D]=67108863&n}return 0!==T&&(this.words[D]=T,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 U(u){for(var l=new Array(u.bitLength()),y=0;y<l.length;y++)l[y]=u.words[y/26|0]>>>y%26&1;return l}(l);if(0===y.length)return new s(1);for(var T=this,D=0;D<y.length&&0===y[D];D++,T=T.sqr());if(++D<y.length)for(var m=T.sqr();D<y.length;D++,m=m.sqr())0!==y[D]&&(T=T.mul(m));return T},s.prototype.iushln=function(l){b("number"==typeof l&&l>=0);var m,y=l%26,T=(l-y)/26,D=67108863>>>26-y<<26-y;if(0!==y){var n=0;for(m=0;m<this.length;m++){var v=this.words[m]&D;this.words[m]=(0|this.words[m])-v<<y|n,n=v>>>26-y}n&&(this.words[m]=n,this.length++)}if(0!==T){for(m=this.length-1;m>=0;m--)this.words[m+T]=this.words[m];for(m=0;m<T;m++)this.words[m]=0;this.length+=T}return this._strip()},s.prototype.ishln=function(l){return b(0===this.negative),this.iushln(l)},s.prototype.iushrn=function(l,y,T){var D;b("number"==typeof l&&l>=0),D=y?(y-y%26)/26:0;var m=l%26,n=Math.min((l-m)/26,this.length),v=67108863^67108863>>>m<<m,B=T;if(D-=n,D=Math.max(0,D),B){for(var V=0;V<n;V++)B.words[V]=this.words[V];B.length=n}if(0!==n)if(this.length>n)for(this.length-=n,V=0;V<this.length;V++)this.words[V]=this.words[V+n];else this.words[0]=0,this.length=1;var X=0;for(V=this.length-1;V>=0&&(0!==X||V>=D);V--){var De=0|this.words[V];this.words[V]=X<<26-m|De>>>m,X=De&v}return B&&0!==X&&(B.words[B.length++]=X),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},s.prototype.ishrn=function(l,y,T){return b(0===this.negative),this.iushrn(l,y,T)},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){b("number"==typeof l&&l>=0);var y=l%26,T=(l-y)/26;return!(this.length<=T||!(this.words[T]&1<<y))},s.prototype.imaskn=function(l){b("number"==typeof l&&l>=0);var y=l%26,T=(l-y)/26;return b(0===this.negative,"imaskn works only with positive numbers"),this.length<=T?this:(0!==y&&T++,this.length=Math.min(T,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 b("number"==typeof l),b(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(b("number"==typeof l),b(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,T){var m;this._expand(l.length+T);var n,v=0;for(m=0;m<l.length;m++){n=(0|this.words[m+T])+v;var B=(0|l.words[m])*y;v=((n-=67108863&B)>>26)-(B/67108864|0),this.words[m+T]=67108863&n}for(;m<this.length-T;m++)v=(n=(0|this.words[m+T])+v)>>26,this.words[m+T]=67108863&n;if(0===v)return this._strip();for(b(-1===v),v=0,m=0;m<this.length;m++)v=(n=-(0|this.words[m])+v)>>26,this.words[m]=67108863&n;return this.negative=1,this._strip()},s.prototype._wordDiv=function(l,y){var T,D=this.clone(),m=l,n=0|m.words[m.length-1];0!=(T=26-this._countBits(n))&&(m=m.ushln(T),D.iushln(T),n=0|m.words[m.length-1]);var V,B=D.length-m.length;if("mod"!==y){(V=new s(null)).length=B+1,V.words=new Array(V.length);for(var X=0;X<V.length;X++)V.words[X]=0}var De=D.clone()._ishlnsubmul(m,1,B);0===De.negative&&(D=De,V&&(V.words[B]=1));for(var tt=B-1;tt>=0;tt--){var je=67108864*(0|D.words[m.length+tt])+(0|D.words[m.length+tt-1]);for(je=Math.min(je/n|0,67108863),D._ishlnsubmul(m,je,tt);0!==D.negative;)je--,D.negative=0,D._ishlnsubmul(m,1,tt),D.isZero()||(D.negative^=1);V&&(V.words[tt]=je)}return V&&V._strip(),D._strip(),"div"!==y&&0!==T&&D.iushrn(T),{div:V||null,mod:D}},s.prototype.divmod=function(l,y,T){return b(!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&&(m=n.mod.neg(),T&&0!==m.negative&&m.iadd(l)),{div:D,mod:m}):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&&(m=n.mod.neg(),T&&0!==m.negative&&m.isub(l)),{div:n.div,mod:m}):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,m,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 T=0!==y.div.negative?y.mod.isub(l):y.mod,D=l.ushrn(1),m=l.andln(1),n=T.cmp(D);return n<0||1===m&&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),b(l<=67108863);for(var T=(1<<26)%l,D=0,m=this.length-1;m>=0;m--)D=(T*D+(0|this.words[m]))%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),b(l<=67108863);for(var T=0,D=this.length-1;D>=0;D--){var m=(0|this.words[D])+67108864*T;this.words[D]=m/l|0,T=m%l}return this._strip(),y?this.ineg():this},s.prototype.divn=function(l){return this.clone().idivn(l)},s.prototype.egcd=function(l){b(0===l.negative),b(!l.isZero());var y=this,T=l.clone();y=0!==y.negative?y.umod(l):y.clone();for(var D=new s(1),m=new s(0),n=new s(0),v=new s(1),B=0;y.isEven()&&T.isEven();)y.iushrn(1),T.iushrn(1),++B;for(var V=T.clone(),X=y.clone();!y.isZero();){for(var De=0,tt=1;!(y.words[0]&tt)&&De<26;++De,tt<<=1);if(De>0)for(y.iushrn(De);De-- >0;)(D.isOdd()||m.isOdd())&&(D.iadd(V),m.isub(X)),D.iushrn(1),m.iushrn(1);for(var je=0,ze=1;!(T.words[0]&ze)&&je<26;++je,ze<<=1);if(je>0)for(T.iushrn(je);je-- >0;)(n.isOdd()||v.isOdd())&&(n.iadd(V),v.isub(X)),n.iushrn(1),v.iushrn(1);y.cmp(T)>=0?(y.isub(T),D.isub(n),m.isub(v)):(T.isub(y),n.isub(D),v.isub(m))}return{a:n,b:v,gcd:T.iushln(B)}},s.prototype._invmp=function(l){b(0===l.negative),b(!l.isZero());var De,y=this,T=l.clone();y=0!==y.negative?y.umod(l):y.clone();for(var D=new s(1),m=new s(0),n=T.clone();y.cmpn(1)>0&&T.cmpn(1)>0;){for(var v=0,B=1;!(y.words[0]&B)&&v<26;++v,B<<=1);if(v>0)for(y.iushrn(v);v-- >0;)D.isOdd()&&D.iadd(n),D.iushrn(1);for(var V=0,X=1;!(T.words[0]&X)&&V<26;++V,X<<=1);if(V>0)for(T.iushrn(V);V-- >0;)m.isOdd()&&m.iadd(n),m.iushrn(1);y.cmp(T)>=0?(y.isub(T),D.isub(m)):(T.isub(y),m.isub(D))}return(De=0===y.cmpn(1)?D:m).cmpn(0)<0&&De.iadd(l),De},s.prototype.gcd=function(l){if(this.isZero())return l.abs();if(l.isZero())return this.abs();var y=this.clone(),T=l.clone();y.negative=0,T.negative=0;for(var D=0;y.isEven()&&T.isEven();D++)y.iushrn(1),T.iushrn(1);for(;;){for(;y.isEven();)y.iushrn(1);for(;T.isEven();)T.iushrn(1);var m=y.cmp(T);if(m<0){var n=y;y=T,T=n}else if(0===m||0===T.cmpn(1))break;y.isub(T)}return T.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){b("number"==typeof l);var y=l%26,T=(l-y)/26,D=1<<y;if(this.length<=T)return this._expand(T+1),this.words[T]|=D,this;for(var m=D,n=T;0!==m&&n<this.length;n++){var v=0|this.words[n];m=(v+=m)>>>26,this.words[n]=v&=67108863}return 0!==m&&(this.words[n]=m,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(l){var T,y=l<0;if(0!==this.negative&&!y)return-1;if(0===this.negative&&y)return 1;if(this._strip(),this.length>1)T=1;else{y&&(l=-l),b(l<=67108863,"Number is too big");var D=0|this.words[0];T=D===l?0:D<l?-1:1}return 0!==this.negative?0|-T:T},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,T=this.length-1;T>=0;T--){var D=0|this.words[T],m=0|l.words[T];if(D!==m){D<m?y=-1:D>m&&(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 b(!this.red,"Already a number in reduction context"),b(0===this.negative,"red works only with positives"),l.convertTo(this)._forceRed(l)},s.prototype.fromRed=function(){return b(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 b(!this.red,"Already a number in reduction context"),this._forceRed(l)},s.prototype.redAdd=function(l){return b(this.red,"redAdd works only with red numbers"),this.red.add(this,l)},s.prototype.redIAdd=function(l){return b(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,l)},s.prototype.redSub=function(l){return b(this.red,"redSub works only with red numbers"),this.red.sub(this,l)},s.prototype.redISub=function(l){return b(this.red,"redISub works only with red numbers"),this.red.isub(this,l)},s.prototype.redShl=function(l){return b(this.red,"redShl works only with red numbers"),this.red.shl(this,l)},s.prototype.redMul=function(l){return b(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.mul(this,l)},s.prototype.redIMul=function(l){return b(this.red,"redMul works only with red numbers"),this.red._verify2(this,l),this.red.imul(this,l)},s.prototype.redSqr=function(){return b(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return b(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return b(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return b(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return b(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(l){return b(this.red&&!l.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,l)};var he={k256:null,p224:null,p192:null,p25519:null};function ne(u,l){this.name=u,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 le(){ne.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function ee(){ne.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function me(){ne.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function A(){ne.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function i(u){if("string"==typeof u){var l=s._prime(u);this.m=l.p,this.prime=l}else b(u.gtn(1),"modulus must be greater than 1"),this.m=u,this.prime=null}function a(u){i.call(this,u),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)}ne.prototype._tmp=function(){var l=new s(null);return l.words=new Array(Math.ceil(this.n/13)),l},ne.prototype.ireduce=function(l){var T,y=l;do{this.split(y,this.tmp),T=(y=(y=this.imulK(y)).iadd(this.tmp)).bitLength()}while(T>this.n);var D=T<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},ne.prototype.split=function(l,y){l.iushrn(this.n,0,y)},ne.prototype.imulK=function(l){return l.imul(this.k)},I(le,ne),le.prototype.split=function(l,y){for(var T=4194303,D=Math.min(l.length,9),m=0;m<D;m++)y.words[m]=l.words[m];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&T,m=10;m<l.length;m++){var v=0|l.words[m];l.words[m-10]=(v&T)<<4|n>>>22,n=v}l.words[m-10]=n>>>=22,l.length-=0===n&&l.length>10?10:9},le.prototype.imulK=function(l){l.words[l.length]=0,l.words[l.length+1]=0,l.length+=2;for(var y=0,T=0;T<l.length;T++){var D=0|l.words[T];l.words[T]=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},I(ee,ne),I(me,ne),I(A,ne),A.prototype.imulK=function(l){for(var y=0,T=0;T<l.length;T++){var D=19*(0|l.words[T])+y,m=67108863&D;D>>>=26,l.words[T]=m,y=D}return 0!==y&&(l.words[l.length++]=y),l},s._prime=function(l){if(he[l])return he[l];var y;if("k256"===l)y=new le;else if("p224"===l)y=new ee;else if("p192"===l)y=new me;else{if("p25519"!==l)throw new Error("Unknown prime "+l);y=new A}return he[l]=y,y},i.prototype._verify1=function(l){b(0===l.negative,"red works only with positives"),b(l.red,"red works only with red numbers")},i.prototype._verify2=function(l,y){b(0==(l.negative|y.negative),"red works only with positives"),b(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):(S(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 T=l.add(y);return T.cmp(this.m)>=0&&T.isub(this.m),T._forceRed(this)},i.prototype.iadd=function(l,y){this._verify2(l,y);var T=l.iadd(y);return T.cmp(this.m)>=0&&T.isub(this.m),T},i.prototype.sub=function(l,y){this._verify2(l,y);var T=l.sub(y);return T.cmpn(0)<0&&T.iadd(this.m),T._forceRed(this)},i.prototype.isub=function(l,y){this._verify2(l,y);var T=l.isub(y);return T.cmpn(0)<0&&T.iadd(this.m),T},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(b(y%2==1),3===y){var T=this.m.add(new s(1)).iushrn(2);return this.pow(l,T)}for(var D=this.m.subn(1),m=0;!D.isZero()&&0===D.andln(1);)m++,D.iushrn(1);b(!D.isZero());var n=new s(1).toRed(this),v=n.redNeg(),B=this.m.subn(1).iushrn(1),V=this.m.bitLength();for(V=new s(2*V*V).toRed(this);0!==this.pow(V,B).cmp(v);)V.redIAdd(v);for(var X=this.pow(V,D),De=this.pow(l,D.addn(1).iushrn(1)),tt=this.pow(l,D),je=m;0!==tt.cmp(n);){for(var ze=tt,Le=0;0!==ze.cmp(n);Le++)ze=ze.redSqr();b(Le<je);var ye=this.pow(X,new s(1).iushln(je-Le-1));De=De.redMul(ye),X=ye.redSqr(),tt=tt.redMul(X),je=Le}return De},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 m=2;m<D.length;m++)D[m]=this.mul(D[m-1],l);var n=D[0],v=0,B=0,V=y.bitLength()%26;for(0===V&&(V=26),m=y.length-1;m>=0;m--){for(var X=y.words[m],De=V-1;De>=0;De--){var tt=X>>De&1;n!==D[0]&&(n=this.sqr(n)),0!==tt||0!==v?(v<<=1,v|=tt,(4==++B||0===m&&0===De)&&(n=this.mul(n,D[v]),B=0,v=0)):B=0}V=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)},I(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 T=l.imul(y),D=T.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=T.isub(D).iushrn(this.shift),n=m;return m.cmp(this.m)>=0?n=m.isub(this.m):m.cmpn(0)<0&&(n=m.iadd(this.m)),n._forceRed(this)},a.prototype.mul=function(l,y){if(l.isZero()||y.isZero())return new s(0)._forceRed(this);var T=l.mul(y),D=T.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),m=T.isub(D).iushrn(this.shift),n=m;return m.cmp(this.m)>=0?n=m.isub(this.m):m.cmpn(0)<0&&(n=m.iadd(this.m)),n._forceRed(this)},a.prototype.invm=function(l){return this.imod(l._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ue=p.nmd(Ue),this)},7950:(Ue,q,p)=>{var t;function e(I){this.rand=I}if(Ue.exports=function(s){return t||(t=new e(null)),t.generate(s)},Ue.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 b=p(1348);if("function"!=typeof b.randomBytes)throw new Error("Not supported");e.prototype._rand=function(s){return b.randomBytes(s)}}catch{}},1899:(Ue,q,p)=>{var t=p(3502).Buffer;function e(P){t.isBuffer(P)||(P=t.from(P));for(var d=P.length/4|0,S=new Array(d),w=0;w<d;w++)S[w]=P.readUInt32BE(4*w);return S}function b(P){for(;0<P.length;P++)P[0]=0}function I(P,d,S,w,O){for(var ue,he,ne,le,E=S[0],R=S[1],z=S[2],U=S[3],Y=P[0]^d[0],K=P[1]^d[1],$=P[2]^d[2],ie=P[3]^d[3],ee=4,me=1;me<O;me++)ue=E[Y>>>24]^R[K>>>16&255]^z[$>>>8&255]^U[255&ie]^d[ee++],he=E[K>>>24]^R[$>>>16&255]^z[ie>>>8&255]^U[255&Y]^d[ee++],ne=E[$>>>24]^R[ie>>>16&255]^z[Y>>>8&255]^U[255&K]^d[ee++],le=E[ie>>>24]^R[Y>>>16&255]^z[K>>>8&255]^U[255&$]^d[ee++],Y=ue,K=he,$=ne,ie=le;return ue=(w[Y>>>24]<<24|w[K>>>16&255]<<16|w[$>>>8&255]<<8|w[255&ie])^d[ee++],he=(w[K>>>24]<<24|w[$>>>16&255]<<16|w[ie>>>8&255]<<8|w[255&Y])^d[ee++],ne=(w[$>>>24]<<24|w[ie>>>16&255]<<16|w[Y>>>8&255]<<8|w[255&K])^d[ee++],le=(w[ie>>>24]<<24|w[Y>>>16&255]<<16|w[K>>>8&255]<<8|w[255&$])^d[ee++],[ue>>>=0,he>>>=0,ne>>>=0,le>>>=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 S=[],w=[],O=[[],[],[],[]],E=[[],[],[],[]],R=0,z=0,U=0;U<256;++U){var Y=z^z<<1^z<<2^z<<3^z<<4;S[R]=Y=Y>>>8^255&Y^99,w[Y]=R;var K=P[R],$=P[K],ie=P[$],ue=257*P[Y]^16843008*Y;O[0][R]=ue<<24|ue>>>8,O[1][R]=ue<<16|ue>>>16,O[2][R]=ue<<8|ue>>>24,O[3][R]=ue,E[0][Y]=(ue=16843009*ie^65537*$^257*K^16843008*R)<<24|ue>>>8,E[1][Y]=ue<<16|ue>>>16,E[2][Y]=ue<<8|ue>>>24,E[3][Y]=ue,0===R?R=z=1:(R=K^P[P[P[ie^K]]],z^=P[P[z]])}return{SBOX:S,INV_SBOX:w,SUB_MIX:O,INV_SUB_MIX:E}}();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,S=d+6,w=4*(S+1),O=[],E=0;E<d;E++)O[E]=P[E];for(E=d;E<w;E++){var R=O[E-1];E%d==0?(R=C.SBOX[(R=R<<8|R>>>24)>>>24]<<24|C.SBOX[R>>>16&255]<<16|C.SBOX[R>>>8&255]<<8|C.SBOX[255&R],R^=s[E/d|0]<<24):d>6&&E%d==4&&(R=C.SBOX[R>>>24]<<24|C.SBOX[R>>>16&255]<<16|C.SBOX[R>>>8&255]<<8|C.SBOX[255&R]),O[E]=O[E-d]^R}for(var z=[],U=0;U<w;U++){var Y=w-U,K=O[Y-(U%4?0:4)];z[U]=U<4||Y<=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=S,this._keySchedule=O,this._invKeySchedule=z},h.prototype.encryptBlockRaw=function(P){return I(P=e(P),this._keySchedule,C.SUB_MIX,C.SBOX,this._nRounds)},h.prototype.encryptBlock=function(P){var d=this.encryptBlockRaw(P),S=t.allocUnsafe(16);return S.writeUInt32BE(d[0],0),S.writeUInt32BE(d[1],4),S.writeUInt32BE(d[2],8),S.writeUInt32BE(d[3],12),S},h.prototype.decryptBlock=function(P){var d=(P=e(P))[1];P[1]=P[3],P[3]=d;var S=I(P,this._invKeySchedule,C.INV_SUB_MIX,C.INV_SBOX,this._nRounds),w=t.allocUnsafe(16);return w.writeUInt32BE(S[0],0),w.writeUInt32BE(S[3],4),w.writeUInt32BE(S[2],8),w.writeUInt32BE(S[1],12),w},h.prototype.scrub=function(){b(this._keySchedule),b(this._invKeySchedule),b(this._key)},Ue.exports.AES=h},9382:(Ue,q,p)=>{var t=p(1899),e=p(3502).Buffer,b=p(1052),I=p(3894),s=p(8857),C=p(8789),h=p(7968);function S(w,O,E,R){b.call(this);var z=e.alloc(4,0);this._cipher=new t.AES(O);var U=this._cipher.encryptBlock(z);this._ghash=new s(U),E=function d(w,O,E){if(12===O.length)return w._finID=e.concat([O,e.from([0,0,0,1])]),e.concat([O,e.from([0,0,0,2])]);var R=new s(E),z=O.length,U=z%16;R.update(O),U&&R.update(e.alloc(U=16-U,0)),R.update(e.alloc(8,0));var Y=8*z,K=e.alloc(8);K.writeUIntBE(Y,0,8),R.update(K),w._finID=R.state;var $=e.from(w._finID);return h($),$}(this,E,U),this._prev=e.from(E),this._cache=e.allocUnsafe(0),this._secCache=e.allocUnsafe(0),this._decrypt=R,this._alen=0,this._len=0,this._mode=w,this._authTag=null,this._called=!1}I(S,b),S.prototype._update=function(w){if(!this._called&&this._alen){var O=16-this._alen%16;O<16&&(O=e.alloc(O,0),this._ghash.update(O))}this._called=!0;var E=this._mode.encrypt(this,w);return this._ghash.update(this._decrypt?w:E),this._len+=w.length,E},S.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,O){var E=0;w.length!==O.length&&E++;for(var R=Math.min(w.length,O.length),z=0;z<R;++z)E+=w[z]^O[z];return E}(w,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=w,this._cipher.scrub()},S.prototype.getAuthTag=function(){if(this._decrypt||!e.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},S.prototype.setAuthTag=function(O){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=O},S.prototype.setAAD=function(O){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(O),this._alen+=O.length},Ue.exports=S},4330:(Ue,q,p)=>{var t=p(6900),e=p(856),b=p(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 I(){return Object.keys(b)}},856:(Ue,q,p)=>{var t=p(9382),e=p(3502).Buffer,b=p(9171),I=p(8441),s=p(1052),C=p(1899),h=p(347);function d(R,z,U){s.call(this),this._cache=new S,this._last=void 0,this._cipher=new C.AES(z),this._prev=e.from(U),this._mode=R,this._autopadding=!0}function S(){this.cache=e.allocUnsafe(0)}function O(R,z,U){var Y=b[R.toLowerCase()];if(!Y)throw new TypeError("invalid suite type");if("string"==typeof U&&(U=e.from(U)),"GCM"!==Y.mode&&U.length!==Y.iv)throw new TypeError("invalid iv length "+U.length);if("string"==typeof z&&(z=e.from(z)),z.length!==Y.key/8)throw new TypeError("invalid key length "+z.length);return"stream"===Y.type?new I(Y.module,z,U,!0):"auth"===Y.type?new t(Y.module,z,U,!0):new d(Y.module,z,U)}p(3894)(d,s),d.prototype._update=function(R){this._cache.add(R);for(var z,U,Y=[];z=this._cache.get(this._autopadding);)U=this._mode.decrypt(this,z),Y.push(U);return e.concat(Y)},d.prototype._final=function(){var R=this._cache.flush();if(this._autopadding)return function w(R){var z=R[15];if(z<1||z>16)throw new Error("unable to decrypt data");for(var U=-1;++U<z;)if(R[U+(16-z)]!==z)throw new Error("unable to decrypt data");if(16!==z)return R.slice(0,16-z)}(this._mode.decrypt(this,R));if(R)throw new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(R){return this._autopadding=!!R,this},S.prototype.add=function(R){this.cache=e.concat([this.cache,R])},S.prototype.get=function(R){var z;if(R){if(this.cache.length>16)return z=this.cache.slice(0,16),this.cache=this.cache.slice(16),z}else if(this.cache.length>=16)return z=this.cache.slice(0,16),this.cache=this.cache.slice(16),z;return null},S.prototype.flush=function(){if(this.cache.length)return this.cache},q.createDecipher=function E(R,z){var U=b[R.toLowerCase()];if(!U)throw new TypeError("invalid suite type");var Y=h(z,!1,U.key,U.iv);return O(R,Y.key,Y.iv)},q.createDecipheriv=O},6900:(Ue,q,p)=>{var t=p(9171),e=p(9382),b=p(3502).Buffer,I=p(8441),s=p(1052),C=p(1899),h=p(347);function d(R,z,U){s.call(this),this._cache=new w,this._cipher=new C.AES(z),this._prev=b.from(U),this._mode=R,this._autopadding=!0}p(3894)(d,s),d.prototype._update=function(R){this._cache.add(R);for(var z,U,Y=[];z=this._cache.get();)U=this._mode.encrypt(this,z),Y.push(U);return b.concat(Y)};var S=b.alloc(16,16);function w(){this.cache=b.allocUnsafe(0)}function O(R,z,U){var Y=t[R.toLowerCase()];if(!Y)throw new TypeError("invalid suite type");if("string"==typeof z&&(z=b.from(z)),z.length!==Y.key/8)throw new TypeError("invalid key length "+z.length);if("string"==typeof U&&(U=b.from(U)),"GCM"!==Y.mode&&U.length!==Y.iv)throw new TypeError("invalid iv length "+U.length);return"stream"===Y.type?new I(Y.module,z,U):"auth"===Y.type?new e(Y.module,z,U):new d(Y.module,z,U)}d.prototype._final=function(){var R=this._cache.flush();if(this._autopadding)return R=this._mode.encrypt(this,R),this._cipher.scrub(),R;if(!R.equals(S))throw this._cipher.scrub(),new Error("data not multiple of block length")},d.prototype.setAutoPadding=function(R){return this._autopadding=!!R,this},w.prototype.add=function(R){this.cache=b.concat([this.cache,R])},w.prototype.get=function(){if(this.cache.length>15){var R=this.cache.slice(0,16);return this.cache=this.cache.slice(16),R}return null},w.prototype.flush=function(){for(var R=16-this.cache.length,z=b.allocUnsafe(R),U=-1;++U<R;)z.writeUInt8(R,U);return b.concat([this.cache,z])},q.createCipheriv=O,q.createCipher=function E(R,z){var U=t[R.toLowerCase()];if(!U)throw new TypeError("invalid suite type");var Y=h(z,!1,U.key,U.iv);return O(R,Y.key,Y.iv)}},8857:(Ue,q,p)=>{var t=p(3502).Buffer,e=t.alloc(16,0);function I(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,S,C=function b(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]),S=0!=(1&C[3]),P=3;P>0;P--)C[P]=C[P]>>>1|(1&C[P-1])<<31;C[0]=C[0]>>>1,S&&(C[0]=C[0]^225<<24)}this.state=I(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(I([0,C,0,h])),this.state},Ue.exports=s},7968:Ue=>{Ue.exports=function q(p){for(var e,t=p.length;t--;){if(255!==(e=p.readUInt8(t))){e++,p.writeUInt8(e,t);break}p.writeUInt8(0,t)}}},4903:(Ue,q,p)=>{var t=p(8789);q.encrypt=function(e,b){var I=t(b,e._prev);return e._prev=e._cipher.encryptBlock(I),e._prev},q.decrypt=function(e,b){var I=e._prev;e._prev=b;var s=e._cipher.decryptBlock(b);return t(s,I)}},9885:(Ue,q,p)=>{var t=p(3502).Buffer,e=p(8789);function b(I,s,C){var h=s.length,P=e(s,I._cache);return I._cache=I._cache.slice(h),I._prev=t.concat([I._prev,C?s:P]),P}q.encrypt=function(I,s,C){for(var P,h=t.allocUnsafe(0);s.length;){if(0===I._cache.length&&(I._cache=I._cipher.encryptBlock(I._prev),I._prev=t.allocUnsafe(0)),!(I._cache.length<=s.length)){h=t.concat([h,b(I,s,C)]);break}h=t.concat([h,b(I,s.slice(0,P=I._cache.length),C)]),s=s.slice(P)}return h}},6531:(Ue,q,p)=>{var t=p(3502).Buffer;function e(I,s,C){for(var w,O,P=-1,S=0;++P<8;)S+=(128&(O=I._cipher.encryptBlock(I._prev)[0]^(w=s&1<<7-P?128:0)))>>P%8,I._prev=b(I._prev,C?w:O);return S}function b(I,s){var C=I.length,h=-1,P=t.allocUnsafe(I.length);for(I=t.concat([I,t.from([s])]);++h<C;)P[h]=I[h]<<1|I[h+1]>>7;return P}q.encrypt=function(I,s,C){for(var h=s.length,P=t.allocUnsafe(h),d=-1;++d<h;)P[d]=e(I,s[d],C);return P}},1641:(Ue,q,p)=>{var t=p(3502).Buffer;function e(b,I,s){var h=b._cipher.encryptBlock(b._prev)[0]^I;return b._prev=t.concat([b._prev.slice(1),t.from([s?I:h])]),h}q.encrypt=function(b,I,s){for(var C=I.length,h=t.allocUnsafe(C),P=-1;++P<C;)h[P]=e(b,I[P],s);return h}},1150:(Ue,q,p)=>{var t=p(8789),e=p(3502).Buffer,b=p(7968);function I(C){var h=C._cipher.encryptBlockRaw(C._prev);return b(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 S=0;S<P;S++){var w=I(C),O=d+16*S;C._cache.writeUInt32BE(w[0],O+0),C._cache.writeUInt32BE(w[1],O+4),C._cache.writeUInt32BE(w[2],O+8),C._cache.writeUInt32BE(w[3],O+12)}var E=C._cache.slice(0,h.length);return C._cache=C._cache.slice(h.length),t(h,E)}},1704:(Ue,q)=>{q.encrypt=function(p,t){return p._cipher.encryptBlock(t)},q.decrypt=function(p,t){return p._cipher.decryptBlock(t)}},9171:(Ue,q,p)=>{var t={ECB:p(1704),CBC:p(4903),CFB:p(9885),CFB8:p(1641),CFB1:p(6531),OFB:p(6816),CTR:p(1150),GCM:p(1150)},e=p(4946);for(var b in e)e[b].module=t[e[b].mode];Ue.exports=e},6816:(Ue,q,p)=>{var t=p(8789);function e(b){return b._prev=b._cipher.encryptBlock(b._prev),b._prev}q.encrypt=function(b,I){for(;b._cache.length<I.length;)b._cache=Buffer.concat([b._cache,e(b)]);var s=b._cache.slice(0,I.length);return b._cache=b._cache.slice(I.length),t(I,s)}},8441:(Ue,q,p)=>{var t=p(1899),e=p(3502).Buffer,b=p(1052);function s(C,h,P,d){b.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}p(3894)(s,b),s.prototype._update=function(C){return this._mode.encrypt(this,C,this._decrypt)},s.prototype._final=function(){this._cipher.scrub()},Ue.exports=s},5255:(Ue,q,p)=>{var t=p(9004),e=p(4330),b=p(9171),I=p(1115),s=p(347);function P(w,O,E){if(w=w.toLowerCase(),b[w])return e.createCipheriv(w,O,E);if(I[w])return new t({key:O,iv:E,mode:w});throw new TypeError("invalid suite type")}function d(w,O,E){if(w=w.toLowerCase(),b[w])return e.createDecipheriv(w,O,E);if(I[w])return new t({key:O,iv:E,mode:w,decrypt:!0});throw new TypeError("invalid suite type")}q.createCipher=q.Cipher=function C(w,O){var E,R;if(w=w.toLowerCase(),b[w])E=b[w].key,R=b[w].iv;else{if(!I[w])throw new TypeError("invalid suite type");E=8*I[w].key,R=I[w].iv}var z=s(O,!1,E,R);return P(w,z.key,z.iv)},q.createCipheriv=q.Cipheriv=P,q.createDecipher=q.Decipher=function h(w,O){var E,R;if(w=w.toLowerCase(),b[w])E=b[w].key,R=b[w].iv;else{if(!I[w])throw new TypeError("invalid suite type");E=8*I[w].key,R=I[w].iv}var z=s(O,!1,E,R);return d(w,z.key,z.iv)},q.createDecipheriv=q.Decipheriv=d,q.listCiphers=q.getCiphers=function S(){return Object.keys(I).concat(e.getCiphers())}},9004:(Ue,q,p)=>{var t=p(1052),e=p(3684),b=p(3894),I=p(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 S,P=h.mode.toLowerCase(),d=s[P];S=h.decrypt?"decrypt":"encrypt";var w=h.key;I.isBuffer(w)||(w=I.from(w)),("des-ede"===P||"des-ede-cbc"===P)&&(w=I.concat([w,w.slice(0,8)]));var O=h.iv;I.isBuffer(O)||(O=I.from(O)),this._des=d.create({key:w,iv:O,type:S})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],Ue.exports=C,b(C,t),C.prototype._update=function(h){return I.from(this._des.update(h))},C.prototype._final=function(){return I.from(this._des.final())}},1115:(Ue,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:(Ue,q,p)=>{var t=p(8538),e=p(3753);function I(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 b(C){var h=I(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(),S=new t(C).mul(P.blinder).umod(h.modulus),w=S.toRed(t.mont(h.prime1)),O=S.toRed(t.mont(h.prime2)),E=h.coefficient,R=h.prime1,z=h.prime2,U=w.redPow(h.exponent1).fromRed(),Y=O.redPow(h.exponent2).fromRed(),K=U.isub(Y).imul(E).umod(R).imul(z);return Y.iadd(K).imul(P.unblinder).umod(h.modulus).toArrayLike(Buffer,"be",d)}s.getr=I,Ue.exports=s},7793:(Ue,q,p)=>{Ue.exports=p(5207)},3923:(Ue,q,p)=>{var t=p(3502).Buffer,e=p(6386),b=p(5685),I=p(3894),s=p(9947),C=p(3946),h=p(5207);function P(O){b.Writable.call(this);var E=h[O];if(!E)throw new Error("Unknown message digest");this._hashType=E.hash,this._hash=e(E.hash),this._tag=E.id,this._signType=E.sign}function d(O){b.Writable.call(this);var E=h[O];if(!E)throw new Error("Unknown message digest");this._hash=e(E.hash),this._tag=E.id,this._signType=E.sign}function S(O){return new P(O)}function w(O){return new d(O)}Object.keys(h).forEach(function(O){h[O].id=t.from(h[O].id,"hex"),h[O.toLowerCase()]=h[O]}),I(P,b.Writable),P.prototype._write=function(E,R,z){this._hash.update(E),z()},P.prototype.update=function(E,R){return"string"==typeof E&&(E=t.from(E,R)),this._hash.update(E),this},P.prototype.sign=function(E,R){this.end();var z=this._hash.digest(),U=s(z,E,this._hashType,this._signType,this._tag);return R?U.toString(R):U},I(d,b.Writable),d.prototype._write=function(E,R,z){this._hash.update(E),z()},d.prototype.update=function(E,R){return"string"==typeof E&&(E=t.from(E,R)),this._hash.update(E),this},d.prototype.verify=function(E,R,z){"string"==typeof R&&(R=t.from(R,z)),this.end();var U=this._hash.digest();return C(R,U,E,this._signType,this._tag)},Ue.exports={Sign:S,Verify:w,createSign:S,createVerify:w}},9947:(Ue,q,p)=>{var t=p(3502).Buffer,e=p(4529),b=p(8466),I=p(7715).ec,s=p(8538),C=p(2772),h=p(1308);function O(Y,K,$,ie){if((Y=t.from(Y.toArray())).length<K.byteLength()){var ue=t.alloc(K.byteLength()-Y.length);Y=t.concat([ue,Y])}var he=$.length,ne=function R(Y,K){Y=(Y=E(Y,K)).mod(K);var $=t.from(Y.toArray());if($.length<K.byteLength()){var ie=t.alloc(K.byteLength()-$.length);$=t.concat([ie,$])}return $}($,K),le=t.alloc(he);le.fill(1);var ee=t.alloc(he);return ee=e(ie,ee).update(le).update(t.from([0])).update(Y).update(ne).digest(),le=e(ie,ee).update(le).digest(),{k:ee=e(ie,ee).update(le).update(t.from([1])).update(Y).update(ne).digest(),v:le=e(ie,ee).update(le).digest()}}function E(Y,K){var $=new s(Y),ie=(Y.length<<3)-K.bitLength();return ie>0&&$.ishrn(ie),$}function z(Y,K,$){var ie,ue;do{for(ie=t.alloc(0);8*ie.length<Y.bitLength();)K.v=e($,K.k).update(K.v).digest(),ie=t.concat([ie,K.v]);ue=E(ie,Y),K.k=e($,K.k).update(K.v).update(t.from([0])).digest(),K.v=e($,K.k).update(K.v).digest()}while(-1!==ue.cmp(Y));return ue}function U(Y,K,$,ie){return Y.toRed(s.mont($)).redPow(K).fromRed().mod(ie)}Ue.exports=function P(Y,K,$,ie,ue){var he=C(K);if(he.curve){if("ecdsa"!==ie&&"ecdsa/rsa"!==ie)throw new Error("wrong private key type");return function d(Y,K){var $=h[K.curve.join(".")];if(!$)throw new Error("unknown curve "+K.curve.join("."));var he=new I($).keyFromPrivate(K.privateKey).sign(Y);return t.from(he.toDER())}(Y,he)}if("dsa"===he.type){if("dsa"!==ie)throw new Error("wrong private key type");return function S(Y,K,$){for(var ee,ie=K.params.priv_key,ue=K.params.p,he=K.params.q,ne=K.params.g,le=new s(0),me=E(Y,he).mod(he),A=!1,i=O(ie,he,Y,$);!1===A;)le=U(ne,ee=z(he,i,$),ue,he),0===(A=ee.invm(he).imul(me.add(ie.mul(le))).mod(he)).cmpn(0)&&(A=!1,le=new s(0));return function w(Y,K){Y=Y.toArray(),K=K.toArray(),128&Y[0]&&(Y=[0].concat(Y)),128&K[0]&&(K=[0].concat(K));var ie=[48,Y.length+K.length+4,2,Y.length];return ie=ie.concat(Y,[2,K.length],K),t.from(ie)}(le,A)}(Y,he,$)}if("rsa"!==ie&&"ecdsa/rsa"!==ie)throw new Error("wrong private key type");Y=t.concat([ue,Y]);for(var ne=he.modulus.byteLength(),le=[0,1];Y.length+le.length+1<ne;)le.push(255);le.push(0);for(var ee=-1;++ee<Y.length;)le.push(Y[ee]);return b(le,he)},Ue.exports.getKey=O,Ue.exports.makeKey=z},3946:(Ue,q,p)=>{var t=p(3502).Buffer,e=p(8538),b=p(7715).ec,I=p(2772),s=p(1308);function d(S,w){if(S.cmpn(0)<=0)throw new Error("invalid sig");if(S.cmp(w)>=w)throw new Error("invalid sig")}Ue.exports=function C(S,w,O,E,R){var z=I(O);if("ec"===z.type){if("ecdsa"!==E&&"ecdsa/rsa"!==E)throw new Error("wrong public key type");return function h(S,w,O){var E=s[O.data.algorithm.curve.join(".")];if(!E)throw new Error("unknown curve "+O.data.algorithm.curve.join("."));return new b(E).verify(w,S,O.data.subjectPrivateKey.data)}(S,w,z)}if("dsa"===z.type){if("dsa"!==E)throw new Error("wrong public key type");return function P(S,w,O){var E=O.data.p,R=O.data.q,z=O.data.g,U=O.data.pub_key,Y=I.signature.decode(S,"der"),K=Y.s,$=Y.r;d(K,R),d($,R);var ie=e.mont(E),ue=K.invm(R);return 0===z.toRed(ie).redPow(new e(w).mul(ue).mod(R)).fromRed().mul(U.toRed(ie).redPow($.mul(ue).mod(R)).fromRed()).mod(E).mod(R).cmp($)}(S,w,z)}if("rsa"!==E&&"ecdsa/rsa"!==E)throw new Error("wrong public key type");w=t.concat([R,w]);for(var U=z.modulus.byteLength(),Y=[1],K=0;w.length+Y.length+2<U;)Y.push(255),K++;Y.push(0);for(var $=-1;++$<w.length;)Y.push(w[$]);Y=t.from(Y);var ie=e.mont(z.modulus);S=(S=new e(S).toRed(ie)).redPow(new e(z.publicExponent)),S=t.from(S.fromRed().toArray());var ue=K<8?1:0;for(U=Math.min(S.length,Y.length),S.length!==Y.length&&(ue=1),$=-1;++$<U;)ue|=S[$]^Y[$];return 0===ue}},8789:Ue=>{Ue.exports=function(p,t){for(var e=Math.min(p.length,t.length),b=new Buffer(e),I=0;I<e;++I)b[I]=p[I]^t[I];return b}},3172:(Ue,q,p)=>{"use strict";var t=p(5343),e=p(8461),b="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;q.Buffer=h,q.SlowBuffer=function K(de){return+de!=de&&(de=0),h.alloc(+de)},q.INSPECT_MAX_BYTES=50;var I=2147483647;function C(de){if(de>I)throw new RangeError('The value "'+de+'" is invalid for option "size"');var Ce=new Uint8Array(de);return Object.setPrototypeOf(Ce,h.prototype),Ce}function h(de,Ce,te){if("number"==typeof de){if("string"==typeof Ce)throw new TypeError('The "string" argument must be of type string. Received type number');return w(de)}return P(de,Ce,te)}function P(de,Ce,te){if("string"==typeof de)return function O(de,Ce){if(("string"!=typeof Ce||""===Ce)&&(Ce="utf8"),!h.isEncoding(Ce))throw new TypeError("Unknown encoding: "+Ce);var te=0|$(de,Ce),Ze=C(te),Ge=Ze.write(de,Ce);return Ge!==te&&(Ze=Ze.slice(0,Ge)),Ze}(de,Ce);if(ArrayBuffer.isView(de))return function R(de){if(oe(de,Uint8Array)){var Ce=new Uint8Array(de);return z(Ce.buffer,Ce.byteOffset,Ce.byteLength)}return E(de)}(de);if(null==de)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof de);if(oe(de,ArrayBuffer)||de&&oe(de.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(oe(de,SharedArrayBuffer)||de&&oe(de.buffer,SharedArrayBuffer)))return z(de,Ce,te);if("number"==typeof de)throw new TypeError('The "value" argument must not be of type number. Received type number');var Ze=de.valueOf&&de.valueOf();if(null!=Ze&&Ze!==de)return h.from(Ze,Ce,te);var Ge=function U(de){if(h.isBuffer(de)){var Ce=0|Y(de.length),te=C(Ce);return 0===te.length||de.copy(te,0,0,Ce),te}return void 0!==de.length?"number"!=typeof de.length||Ke(de.length)?C(0):E(de):"Buffer"===de.type&&Array.isArray(de.data)?E(de.data):void 0}(de);if(Ge)return Ge;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof de[Symbol.toPrimitive])return h.from(de[Symbol.toPrimitive]("string"),Ce,te);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof de)}function d(de){if("number"!=typeof de)throw new TypeError('"size" argument must be of type number');if(de<0)throw new RangeError('The value "'+de+'" is invalid for option "size"')}function w(de){return d(de),C(de<0?0:0|Y(de))}function E(de){for(var Ce=de.length<0?0:0|Y(de.length),te=C(Ce),Ze=0;Ze<Ce;Ze+=1)te[Ze]=255&de[Ze];return te}function z(de,Ce,te){if(Ce<0||de.byteLength<Ce)throw new RangeError('"offset" is outside of buffer bounds');if(de.byteLength<Ce+(te||0))throw new RangeError('"length" is outside of buffer bounds');var Ze;return Ze=void 0===Ce&&void 0===te?new Uint8Array(de):void 0===te?new Uint8Array(de,Ce):new Uint8Array(de,Ce,te),Object.setPrototypeOf(Ze,h.prototype),Ze}function Y(de){if(de>=I)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+I.toString(16)+" bytes");return 0|de}function $(de,Ce){if(h.isBuffer(de))return de.length;if(ArrayBuffer.isView(de)||oe(de,ArrayBuffer))return de.byteLength;if("string"!=typeof de)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof de);var te=de.length,Ze=arguments.length>2&&!0===arguments[2];if(!Ze&&0===te)return 0;for(var Ge=!1;;)switch(Ce){case"ascii":case"latin1":case"binary":return te;case"utf8":case"utf-8":return ze(de).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*te;case"hex":return te>>>1;case"base64":return ce(de).length;default:if(Ge)return Ze?-1:ze(de).length;Ce=(""+Ce).toLowerCase(),Ge=!0}}function ie(de,Ce,te){var Ze=!1;if((void 0===Ce||Ce<0)&&(Ce=0),Ce>this.length||((void 0===te||te>this.length)&&(te=this.length),te<=0)||(te>>>=0)<=(Ce>>>=0))return"";for(de||(de="utf8");;)switch(de){case"hex":return m(this,Ce,te);case"utf8":case"utf-8":return u(this,Ce,te);case"ascii":return T(this,Ce,te);case"latin1":case"binary":return D(this,Ce,te);case"base64":return a(this,Ce,te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return n(this,Ce,te);default:if(Ze)throw new TypeError("Unknown encoding: "+de);de=(de+"").toLowerCase(),Ze=!0}}function ue(de,Ce,te){var Ze=de[Ce];de[Ce]=de[te],de[te]=Ze}function he(de,Ce,te,Ze,Ge){if(0===de.length)return-1;if("string"==typeof te?(Ze=te,te=0):te>2147483647?te=2147483647:te<-2147483648&&(te=-2147483648),Ke(te=+te)&&(te=Ge?0:de.length-1),te<0&&(te=de.length+te),te>=de.length){if(Ge)return-1;te=de.length-1}else if(te<0){if(!Ge)return-1;te=0}if("string"==typeof Ce&&(Ce=h.from(Ce,Ze)),h.isBuffer(Ce))return 0===Ce.length?-1:ne(de,Ce,te,Ze,Ge);if("number"==typeof Ce)return Ce&=255,"function"==typeof Uint8Array.prototype.indexOf?Ge?Uint8Array.prototype.indexOf.call(de,Ce,te):Uint8Array.prototype.lastIndexOf.call(de,Ce,te):ne(de,[Ce],te,Ze,Ge);throw new TypeError("val must be string, number or Buffer")}function ne(de,Ce,te,Ze,Ge){var ut,ae=1,ge=de.length,pt=Ce.length;if(void 0!==Ze&&("ucs2"===(Ze=String(Ze).toLowerCase())||"ucs-2"===Ze||"utf16le"===Ze||"utf-16le"===Ze)){if(de.length<2||Ce.length<2)return-1;ae=2,ge/=2,pt/=2,te/=2}function $e(St,ke){return 1===ae?St[ke]:St.readUInt16BE(ke*ae)}if(Ge){var At=-1;for(ut=te;ut<ge;ut++)if($e(de,ut)===$e(Ce,-1===At?0:ut-At)){if(-1===At&&(At=ut),ut-At+1===pt)return At*ae}else-1!==At&&(ut-=ut-At),At=-1}else for(te+pt>ge&&(te=ge-pt),ut=te;ut>=0;ut--){for(var _t=!0,lt=0;lt<pt;lt++)if($e(de,ut+lt)!==$e(Ce,lt)){_t=!1;break}if(_t)return ut}return-1}function le(de,Ce,te,Ze){te=Number(te)||0;var Ge=de.length-te;Ze?(Ze=Number(Ze))>Ge&&(Ze=Ge):Ze=Ge;var ae=Ce.length;Ze>ae/2&&(Ze=ae/2);for(var ge=0;ge<Ze;++ge){var pt=parseInt(Ce.substr(2*ge,2),16);if(Ke(pt))return ge;de[te+ge]=pt}return ge}function ee(de,Ce,te,Ze){return ve(ze(Ce,de.length-te),de,te,Ze)}function me(de,Ce,te,Ze){return ve(function Le(de){for(var Ce=[],te=0;te<de.length;++te)Ce.push(255&de.charCodeAt(te));return Ce}(Ce),de,te,Ze)}function A(de,Ce,te,Ze){return ve(ce(Ce),de,te,Ze)}function i(de,Ce,te,Ze){return ve(function ye(de,Ce){for(var te,Ze,ae=[],ge=0;ge<de.length&&!((Ce-=2)<0);++ge)Ze=(te=de.charCodeAt(ge))>>8,ae.push(te%256),ae.push(Ze);return ae}(Ce,de.length-te),de,te,Ze)}function a(de,Ce,te){return t.fromByteArray(0===Ce&&te===de.length?de:de.slice(Ce,te))}function u(de,Ce,te){te=Math.min(de.length,te);for(var Ze=[],Ge=Ce;Ge<te;){var $e,ut,At,_t,ae=de[Ge],ge=null,pt=ae>239?4:ae>223?3:ae>191?2:1;if(Ge+pt<=te)switch(pt){case 1:ae<128&&(ge=ae);break;case 2:128==(192&($e=de[Ge+1]))&&(_t=(31&ae)<<6|63&$e)>127&&(ge=_t);break;case 3:ut=de[Ge+2],128==(192&($e=de[Ge+1]))&&128==(192&ut)&&(_t=(15&ae)<<12|(63&$e)<<6|63&ut)>2047&&(_t<55296||_t>57343)&&(ge=_t);break;case 4:ut=de[Ge+2],At=de[Ge+3],128==(192&($e=de[Ge+1]))&&128==(192&ut)&&128==(192&At)&&(_t=(15&ae)<<18|(63&$e)<<12|(63&ut)<<6|63&At)>65535&&_t<1114112&&(ge=_t)}null===ge?(ge=65533,pt=1):ge>65535&&(Ze.push((ge-=65536)>>>10&1023|55296),ge=56320|1023&ge),Ze.push(ge),Ge+=pt}return function y(de){var Ce=de.length;if(Ce<=l)return String.fromCharCode.apply(String,de);for(var te="",Ze=0;Ze<Ce;)te+=String.fromCharCode.apply(String,de.slice(Ze,Ze+=l));return te}(Ze)}q.kMaxLength=I,!(h.TYPED_ARRAY_SUPPORT=function s(){try{var de=new Uint8Array(1),Ce={foo:function(){return 42}};return Object.setPrototypeOf(Ce,Uint8Array.prototype),Object.setPrototypeOf(de,Ce),42===de.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(de,Ce,te){return P(de,Ce,te)},Object.setPrototypeOf(h.prototype,Uint8Array.prototype),Object.setPrototypeOf(h,Uint8Array),h.alloc=function(de,Ce,te){return function S(de,Ce,te){return d(de),de<=0?C(de):void 0!==Ce?"string"==typeof te?C(de).fill(Ce,te):C(de).fill(Ce):C(de)}(de,Ce,te)},h.allocUnsafe=function(de){return w(de)},h.allocUnsafeSlow=function(de){return w(de)},h.isBuffer=function(Ce){return null!=Ce&&!0===Ce._isBuffer&&Ce!==h.prototype},h.compare=function(Ce,te){if(oe(Ce,Uint8Array)&&(Ce=h.from(Ce,Ce.offset,Ce.byteLength)),oe(te,Uint8Array)&&(te=h.from(te,te.offset,te.byteLength)),!h.isBuffer(Ce)||!h.isBuffer(te))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(Ce===te)return 0;for(var Ze=Ce.length,Ge=te.length,ae=0,ge=Math.min(Ze,Ge);ae<ge;++ae)if(Ce[ae]!==te[ae]){Ze=Ce[ae],Ge=te[ae];break}return Ze<Ge?-1:Ge<Ze?1:0},h.isEncoding=function(Ce){switch(String(Ce).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(Ce,te){if(!Array.isArray(Ce))throw new TypeError('"list" argument must be an Array of Buffers');if(0===Ce.length)return h.alloc(0);var Ze;if(void 0===te)for(te=0,Ze=0;Ze<Ce.length;++Ze)te+=Ce[Ze].length;var Ge=h.allocUnsafe(te),ae=0;for(Ze=0;Ze<Ce.length;++Ze){var ge=Ce[Ze];if(oe(ge,Uint8Array))ae+ge.length>Ge.length?h.from(ge).copy(Ge,ae):Uint8Array.prototype.set.call(Ge,ge,ae);else{if(!h.isBuffer(ge))throw new TypeError('"list" argument must be an Array of Buffers');ge.copy(Ge,ae)}ae+=ge.length}return Ge},h.byteLength=$,h.prototype._isBuffer=!0,h.prototype.swap16=function(){var Ce=this.length;if(Ce%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var te=0;te<Ce;te+=2)ue(this,te,te+1);return this},h.prototype.swap32=function(){var Ce=this.length;if(Ce%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var te=0;te<Ce;te+=4)ue(this,te,te+3),ue(this,te+1,te+2);return this},h.prototype.swap64=function(){var Ce=this.length;if(Ce%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var te=0;te<Ce;te+=8)ue(this,te,te+7),ue(this,te+1,te+6),ue(this,te+2,te+5),ue(this,te+3,te+4);return this},h.prototype.toLocaleString=h.prototype.toString=function(){var Ce=this.length;return 0===Ce?"":0===arguments.length?u(this,0,Ce):ie.apply(this,arguments)},h.prototype.equals=function(Ce){if(!h.isBuffer(Ce))throw new TypeError("Argument must be a Buffer");return this===Ce||0===h.compare(this,Ce)},h.prototype.inspect=function(){var Ce="",te=q.INSPECT_MAX_BYTES;return Ce=this.toString("hex",0,te).replace(/(.{2})/g,"$1 ").trim(),this.length>te&&(Ce+=" ... "),"<Buffer "+Ce+">"},b&&(h.prototype[b]=h.prototype.inspect),h.prototype.compare=function(Ce,te,Ze,Ge,ae){if(oe(Ce,Uint8Array)&&(Ce=h.from(Ce,Ce.offset,Ce.byteLength)),!h.isBuffer(Ce))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof Ce);if(void 0===te&&(te=0),void 0===Ze&&(Ze=Ce?Ce.length:0),void 0===Ge&&(Ge=0),void 0===ae&&(ae=this.length),te<0||Ze>Ce.length||Ge<0||ae>this.length)throw new RangeError("out of range index");if(Ge>=ae&&te>=Ze)return 0;if(Ge>=ae)return-1;if(te>=Ze)return 1;if(this===Ce)return 0;for(var ge=(ae>>>=0)-(Ge>>>=0),pt=(Ze>>>=0)-(te>>>=0),$e=Math.min(ge,pt),ut=this.slice(Ge,ae),At=Ce.slice(te,Ze),_t=0;_t<$e;++_t)if(ut[_t]!==At[_t]){ge=ut[_t],pt=At[_t];break}return ge<pt?-1:pt<ge?1:0},h.prototype.includes=function(Ce,te,Ze){return-1!==this.indexOf(Ce,te,Ze)},h.prototype.indexOf=function(Ce,te,Ze){return he(this,Ce,te,Ze,!0)},h.prototype.lastIndexOf=function(Ce,te,Ze){return he(this,Ce,te,Ze,!1)},h.prototype.write=function(Ce,te,Ze,Ge){if(void 0===te)Ge="utf8",Ze=this.length,te=0;else if(void 0===Ze&&"string"==typeof te)Ge=te,Ze=this.length,te=0;else{if(!isFinite(te))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");te>>>=0,isFinite(Ze)?(Ze>>>=0,void 0===Ge&&(Ge="utf8")):(Ge=Ze,Ze=void 0)}var ae=this.length-te;if((void 0===Ze||Ze>ae)&&(Ze=ae),Ce.length>0&&(Ze<0||te<0)||te>this.length)throw new RangeError("Attempt to write outside buffer bounds");Ge||(Ge="utf8");for(var ge=!1;;)switch(Ge){case"hex":return le(this,Ce,te,Ze);case"utf8":case"utf-8":return ee(this,Ce,te,Ze);case"ascii":case"latin1":case"binary":return me(this,Ce,te,Ze);case"base64":return A(this,Ce,te,Ze);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i(this,Ce,te,Ze);default:if(ge)throw new TypeError("Unknown encoding: "+Ge);Ge=(""+Ge).toLowerCase(),ge=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var l=4096;function T(de,Ce,te){var Ze="";te=Math.min(de.length,te);for(var Ge=Ce;Ge<te;++Ge)Ze+=String.fromCharCode(127&de[Ge]);return Ze}function D(de,Ce,te){var Ze="";te=Math.min(de.length,te);for(var Ge=Ce;Ge<te;++Ge)Ze+=String.fromCharCode(de[Ge]);return Ze}function m(de,Ce,te){var Ze=de.length;(!Ce||Ce<0)&&(Ce=0),(!te||te<0||te>Ze)&&(te=Ze);for(var Ge="",ae=Ce;ae<te;++ae)Ge+=Ae[de[ae]];return Ge}function n(de,Ce,te){for(var Ze=de.slice(Ce,te),Ge="",ae=0;ae<Ze.length-1;ae+=2)Ge+=String.fromCharCode(Ze[ae]+256*Ze[ae+1]);return Ge}function v(de,Ce,te){if(de%1!=0||de<0)throw new RangeError("offset is not uint");if(de+Ce>te)throw new RangeError("Trying to access beyond buffer length")}function B(de,Ce,te,Ze,Ge,ae){if(!h.isBuffer(de))throw new TypeError('"buffer" argument must be a Buffer instance');if(Ce>Ge||Ce<ae)throw new RangeError('"value" argument is out of bounds');if(te+Ze>de.length)throw new RangeError("Index out of range")}function V(de,Ce,te,Ze,Ge,ae){if(te+Ze>de.length)throw new RangeError("Index out of range");if(te<0)throw new RangeError("Index out of range")}function X(de,Ce,te,Ze,Ge){return Ce=+Ce,te>>>=0,Ge||V(de,0,te,4),e.write(de,Ce,te,Ze,23,4),te+4}function De(de,Ce,te,Ze,Ge){return Ce=+Ce,te>>>=0,Ge||V(de,0,te,8),e.write(de,Ce,te,Ze,52,8),te+8}h.prototype.slice=function(Ce,te){var Ze=this.length;(Ce=~~Ce)<0?(Ce+=Ze)<0&&(Ce=0):Ce>Ze&&(Ce=Ze),(te=void 0===te?Ze:~~te)<0?(te+=Ze)<0&&(te=0):te>Ze&&(te=Ze),te<Ce&&(te=Ce);var Ge=this.subarray(Ce,te);return Object.setPrototypeOf(Ge,h.prototype),Ge},h.prototype.readUintLE=h.prototype.readUIntLE=function(Ce,te,Ze){Ce>>>=0,te>>>=0,Ze||v(Ce,te,this.length);for(var Ge=this[Ce],ae=1,ge=0;++ge<te&&(ae*=256);)Ge+=this[Ce+ge]*ae;return Ge},h.prototype.readUintBE=h.prototype.readUIntBE=function(Ce,te,Ze){Ce>>>=0,te>>>=0,Ze||v(Ce,te,this.length);for(var Ge=this[Ce+--te],ae=1;te>0&&(ae*=256);)Ge+=this[Ce+--te]*ae;return Ge},h.prototype.readUint8=h.prototype.readUInt8=function(Ce,te){return Ce>>>=0,te||v(Ce,1,this.length),this[Ce]},h.prototype.readUint16LE=h.prototype.readUInt16LE=function(Ce,te){return Ce>>>=0,te||v(Ce,2,this.length),this[Ce]|this[Ce+1]<<8},h.prototype.readUint16BE=h.prototype.readUInt16BE=function(Ce,te){return Ce>>>=0,te||v(Ce,2,this.length),this[Ce]<<8|this[Ce+1]},h.prototype.readUint32LE=h.prototype.readUInt32LE=function(Ce,te){return Ce>>>=0,te||v(Ce,4,this.length),(this[Ce]|this[Ce+1]<<8|this[Ce+2]<<16)+16777216*this[Ce+3]},h.prototype.readUint32BE=h.prototype.readUInt32BE=function(Ce,te){return Ce>>>=0,te||v(Ce,4,this.length),16777216*this[Ce]+(this[Ce+1]<<16|this[Ce+2]<<8|this[Ce+3])},h.prototype.readIntLE=function(Ce,te,Ze){Ce>>>=0,te>>>=0,Ze||v(Ce,te,this.length);for(var Ge=this[Ce],ae=1,ge=0;++ge<te&&(ae*=256);)Ge+=this[Ce+ge]*ae;return Ge>=(ae*=128)&&(Ge-=Math.pow(2,8*te)),Ge},h.prototype.readIntBE=function(Ce,te,Ze){Ce>>>=0,te>>>=0,Ze||v(Ce,te,this.length);for(var Ge=te,ae=1,ge=this[Ce+--Ge];Ge>0&&(ae*=256);)ge+=this[Ce+--Ge]*ae;return ge>=(ae*=128)&&(ge-=Math.pow(2,8*te)),ge},h.prototype.readInt8=function(Ce,te){return Ce>>>=0,te||v(Ce,1,this.length),128&this[Ce]?-1*(255-this[Ce]+1):this[Ce]},h.prototype.readInt16LE=function(Ce,te){Ce>>>=0,te||v(Ce,2,this.length);var Ze=this[Ce]|this[Ce+1]<<8;return 32768&Ze?4294901760|Ze:Ze},h.prototype.readInt16BE=function(Ce,te){Ce>>>=0,te||v(Ce,2,this.length);var Ze=this[Ce+1]|this[Ce]<<8;return 32768&Ze?4294901760|Ze:Ze},h.prototype.readInt32LE=function(Ce,te){return Ce>>>=0,te||v(Ce,4,this.length),this[Ce]|this[Ce+1]<<8|this[Ce+2]<<16|this[Ce+3]<<24},h.prototype.readInt32BE=function(Ce,te){return Ce>>>=0,te||v(Ce,4,this.length),this[Ce]<<24|this[Ce+1]<<16|this[Ce+2]<<8|this[Ce+3]},h.prototype.readFloatLE=function(Ce,te){return Ce>>>=0,te||v(Ce,4,this.length),e.read(this,Ce,!0,23,4)},h.prototype.readFloatBE=function(Ce,te){return Ce>>>=0,te||v(Ce,4,this.length),e.read(this,Ce,!1,23,4)},h.prototype.readDoubleLE=function(Ce,te){return Ce>>>=0,te||v(Ce,8,this.length),e.read(this,Ce,!0,52,8)},h.prototype.readDoubleBE=function(Ce,te){return Ce>>>=0,te||v(Ce,8,this.length),e.read(this,Ce,!1,52,8)},h.prototype.writeUintLE=h.prototype.writeUIntLE=function(Ce,te,Ze,Ge){Ce=+Ce,te>>>=0,Ze>>>=0,Ge||B(this,Ce,te,Ze,Math.pow(2,8*Ze)-1,0);var ge=1,pt=0;for(this[te]=255&Ce;++pt<Ze&&(ge*=256);)this[te+pt]=Ce/ge&255;return te+Ze},h.prototype.writeUintBE=h.prototype.writeUIntBE=function(Ce,te,Ze,Ge){Ce=+Ce,te>>>=0,Ze>>>=0,Ge||B(this,Ce,te,Ze,Math.pow(2,8*Ze)-1,0);var ge=Ze-1,pt=1;for(this[te+ge]=255&Ce;--ge>=0&&(pt*=256);)this[te+ge]=Ce/pt&255;return te+Ze},h.prototype.writeUint8=h.prototype.writeUInt8=function(Ce,te,Ze){return Ce=+Ce,te>>>=0,Ze||B(this,Ce,te,1,255,0),this[te]=255&Ce,te+1},h.prototype.writeUint16LE=h.prototype.writeUInt16LE=function(Ce,te,Ze){return Ce=+Ce,te>>>=0,Ze||B(this,Ce,te,2,65535,0),this[te]=255&Ce,this[te+1]=Ce>>>8,te+2},h.prototype.writeUint16BE=h.prototype.writeUInt16BE=function(Ce,te,Ze){return Ce=+Ce,te>>>=0,Ze||B(this,Ce,te,2,65535,0),this[te]=Ce>>>8,this[te+1]=255&Ce,te+2},h.prototype.writeUint32LE=h.prototype.writeUInt32LE=function(Ce,te,Ze){return Ce=+Ce,te>>>=0,Ze||B(this,Ce,te,4,4294967295,0),this[te+3]=Ce>>>24,this[te+2]=Ce>>>16,this[te+1]=Ce>>>8,this[te]=255&Ce,te+4},h.prototype.writeUint32BE=h.prototype.writeUInt32BE=function(Ce,te,Ze){return Ce=+Ce,te>>>=0,Ze||B(this,Ce,te,4,4294967295,0),this[te]=Ce>>>24,this[te+1]=Ce>>>16,this[te+2]=Ce>>>8,this[te+3]=255&Ce,te+4},h.prototype.writeIntLE=function(Ce,te,Ze,Ge){if(Ce=+Ce,te>>>=0,!Ge){var ae=Math.pow(2,8*Ze-1);B(this,Ce,te,Ze,ae-1,-ae)}var ge=0,pt=1,$e=0;for(this[te]=255&Ce;++ge<Ze&&(pt*=256);)Ce<0&&0===$e&&0!==this[te+ge-1]&&($e=1),this[te+ge]=(Ce/pt>>0)-$e&255;return te+Ze},h.prototype.writeIntBE=function(Ce,te,Ze,Ge){if(Ce=+Ce,te>>>=0,!Ge){var ae=Math.pow(2,8*Ze-1);B(this,Ce,te,Ze,ae-1,-ae)}var ge=Ze-1,pt=1,$e=0;for(this[te+ge]=255&Ce;--ge>=0&&(pt*=256);)Ce<0&&0===$e&&0!==this[te+ge+1]&&($e=1),this[te+ge]=(Ce/pt>>0)-$e&255;return te+Ze},h.prototype.writeInt8=function(Ce,te,Ze){return Ce=+Ce,te>>>=0,Ze||B(this,Ce,te,1,127,-128),Ce<0&&(Ce=255+Ce+1),this[te]=255&Ce,te+1},h.prototype.writeInt16LE=function(Ce,te,Ze){return Ce=+Ce,te>>>=0,Ze||B(this,Ce,te,2,32767,-32768),this[te]=255&Ce,this[te+1]=Ce>>>8,te+2},h.prototype.writeInt16BE=function(Ce,te,Ze){return Ce=+Ce,te>>>=0,Ze||B(this,Ce,te,2,32767,-32768),this[te]=Ce>>>8,this[te+1]=255&Ce,te+2},h.prototype.writeInt32LE=function(Ce,te,Ze){return Ce=+Ce,te>>>=0,Ze||B(this,Ce,te,4,2147483647,-2147483648),this[te]=255&Ce,this[te+1]=Ce>>>8,this[te+2]=Ce>>>16,this[te+3]=Ce>>>24,te+4},h.prototype.writeInt32BE=function(Ce,te,Ze){return Ce=+Ce,te>>>=0,Ze||B(this,Ce,te,4,2147483647,-2147483648),Ce<0&&(Ce=4294967295+Ce+1),this[te]=Ce>>>24,this[te+1]=Ce>>>16,this[te+2]=Ce>>>8,this[te+3]=255&Ce,te+4},h.prototype.writeFloatLE=function(Ce,te,Ze){return X(this,Ce,te,!0,Ze)},h.prototype.writeFloatBE=function(Ce,te,Ze){return X(this,Ce,te,!1,Ze)},h.prototype.writeDoubleLE=function(Ce,te,Ze){return De(this,Ce,te,!0,Ze)},h.prototype.writeDoubleBE=function(Ce,te,Ze){return De(this,Ce,te,!1,Ze)},h.prototype.copy=function(Ce,te,Ze,Ge){if(!h.isBuffer(Ce))throw new TypeError("argument should be a Buffer");if(Ze||(Ze=0),!Ge&&0!==Ge&&(Ge=this.length),te>=Ce.length&&(te=Ce.length),te||(te=0),Ge>0&&Ge<Ze&&(Ge=Ze),Ge===Ze||0===Ce.length||0===this.length)return 0;if(te<0)throw new RangeError("targetStart out of bounds");if(Ze<0||Ze>=this.length)throw new RangeError("Index out of range");if(Ge<0)throw new RangeError("sourceEnd out of bounds");Ge>this.length&&(Ge=this.length),Ce.length-te<Ge-Ze&&(Ge=Ce.length-te+Ze);var ae=Ge-Ze;return this===Ce&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(te,Ze,Ge):Uint8Array.prototype.set.call(Ce,this.subarray(Ze,Ge),te),ae},h.prototype.fill=function(Ce,te,Ze,Ge){if("string"==typeof Ce){if("string"==typeof te?(Ge=te,te=0,Ze=this.length):"string"==typeof Ze&&(Ge=Ze,Ze=this.length),void 0!==Ge&&"string"!=typeof Ge)throw new TypeError("encoding must be a string");if("string"==typeof Ge&&!h.isEncoding(Ge))throw new TypeError("Unknown encoding: "+Ge);if(1===Ce.length){var ae=Ce.charCodeAt(0);("utf8"===Ge&&ae<128||"latin1"===Ge)&&(Ce=ae)}}else"number"==typeof Ce?Ce&=255:"boolean"==typeof Ce&&(Ce=Number(Ce));if(te<0||this.length<te||this.length<Ze)throw new RangeError("Out of range index");if(Ze<=te)return this;var ge;if(te>>>=0,Ze=void 0===Ze?this.length:Ze>>>0,Ce||(Ce=0),"number"==typeof Ce)for(ge=te;ge<Ze;++ge)this[ge]=Ce;else{var pt=h.isBuffer(Ce)?Ce:h.from(Ce,Ge),$e=pt.length;if(0===$e)throw new TypeError('The value "'+Ce+'" is invalid for argument "value"');for(ge=0;ge<Ze-te;++ge)this[ge+te]=pt[ge%$e]}return this};var tt=/[^+/0-9A-Za-z-_]/g;function ze(de,Ce){Ce=Ce||1/0;for(var te,Ze=de.length,Ge=null,ae=[],ge=0;ge<Ze;++ge){if((te=de.charCodeAt(ge))>55295&&te<57344){if(!Ge){if(te>56319){(Ce-=3)>-1&&ae.push(239,191,189);continue}if(ge+1===Ze){(Ce-=3)>-1&&ae.push(239,191,189);continue}Ge=te;continue}if(te<56320){(Ce-=3)>-1&&ae.push(239,191,189),Ge=te;continue}te=65536+(Ge-55296<<10|te-56320)}else Ge&&(Ce-=3)>-1&&ae.push(239,191,189);if(Ge=null,te<128){if((Ce-=1)<0)break;ae.push(te)}else if(te<2048){if((Ce-=2)<0)break;ae.push(te>>6|192,63&te|128)}else if(te<65536){if((Ce-=3)<0)break;ae.push(te>>12|224,te>>6&63|128,63&te|128)}else{if(!(te<1114112))throw new Error("Invalid code point");if((Ce-=4)<0)break;ae.push(te>>18|240,te>>12&63|128,te>>6&63|128,63&te|128)}}return ae}function ce(de){return t.toByteArray(function je(de){if((de=(de=de.split("=")[0]).trim().replace(tt,"")).length<2)return"";for(;de.length%4!=0;)de+="=";return de}(de))}function ve(de,Ce,te,Ze){for(var Ge=0;Ge<Ze&&!(Ge+te>=Ce.length||Ge>=de.length);++Ge)Ce[Ge+te]=de[Ge];return Ge}function oe(de,Ce){return de instanceof Ce||null!=de&&null!=de.constructor&&null!=de.constructor.name&&de.constructor.name===Ce.name}function Ke(de){return de!=de}var Ae=function(){for(var de="0123456789abcdef",Ce=new Array(256),te=0;te<16;++te)for(var Ze=16*te,Ge=0;Ge<16;++Ge)Ce[Ze+Ge]=de[te]+de[Ge];return Ce}()},1052:(Ue,q,p)=>{var t=p(3502).Buffer,e=p(295).Transform,b=p(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}p(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(S){d=S}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 b(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},Ue.exports=s},6128:function(Ue){!function(q){"use strict";var p={bytesToHex:function(b){return function t(b){return b.map(function(I){return function e(b,I){return b.length>I?b:Array(I-b.length+1).join("0")+b}(I.toString(16),2)}).join("")}(b)},hexToBytes:function(b){if(b.length%2==1)throw new Error("hexToBytes can't have a string with an odd number of characters.");return 0===b.indexOf("0x")&&(b=b.slice(2)),b.match(/../g).map(function(I){return parseInt(I,16)})}};Ue.exports?Ue.exports=p:q.convertHex=p}(this)},5612:function(Ue){!function(q){"use strict";var p={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)})}};p.UTF8={bytesToString:function(t){return decodeURIComponent(escape(p.bytesToString(t)))},stringToBytes:function(t){return p.stringToBytes(unescape(encodeURIComponent(t)))}},Ue.exports?Ue.exports=p:q.convertString=p}(this)},4746:(Ue,q,p)=>{var t=p(7715),e=p(6422);Ue.exports=function(h){return new I(h)};var b={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 I(C){this.curveType=b[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 S=new Buffer(P-d.length);S.fill(0),d=Buffer.concat([S,d])}return h?d.toString(h):d}b.p224=b.secp224r1,b.p256=b.secp256r1=b.prime256v1,b.p192=b.secp192r1=b.prime192v1,b.p384=b.secp384r1,b.p521=b.secp521r1,I.prototype.generateKeys=function(C,h){return this.keys=this.curve.genKeyPair(),this.getPublicKey(C,h)},I.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)},I.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)},I.prototype.getPrivateKey=function(C){return s(this.keys.getPrivate(),C)},I.prototype.setPublicKey=function(C,h){return h=h||"utf8",Buffer.isBuffer(C)||(C=new Buffer(C,h)),this.keys._importPublic(C),this},I.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(Ue,q,p){!function(t,e){"use strict";function b(A,i){if(!A)throw new Error(i||"Assertion failed")}function I(A,i){A.super_=i;var a=function(){};a.prototype=i.prototype,A.prototype=new a,A.prototype.constructor=A}function s(A,i,a){if(s.isBN(A))return A;this.negative=0,this.words=null,this.length=0,this.red=null,null!==A&&(("le"===i||"be"===i)&&(a=i,i=10),this._init(A||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:p(8623).Buffer}catch{}function h(A,i){var a=A.charCodeAt(i);return a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:a-48&15}function P(A,i,a){var u=h(A,a);return a-1>=i&&(u|=h(A,a-1)<<4),u}function d(A,i,a,u){for(var l=0,y=Math.min(A.length,a),T=i;T<y;T++){var D=A.charCodeAt(T)-48;l*=u,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,u){if("number"==typeof i)return this._initNumber(i,a,u);if("object"==typeof i)return this._initArray(i,a,u);"hex"===a&&(a=16),b(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,u):(this._parseBase(i,a,l),"le"===u&&this._initArray(this.toArray(),a,u)))},s.prototype._initNumber=function(i,a,u){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):(b(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===u&&this._initArray(this.toArray(),a,u)},s.prototype._initArray=function(i,a,u){if(b("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,T,D=0;if("be"===u)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(T=i[l]|i[l-1]<<8|i[l-2]<<16)<<D&67108863,this.words[y+1]=T>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);else if("le"===u)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(T=i[l]|i[l+1]<<8|i[l+2]<<16)<<D&67108863,this.words[y+1]=T>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);return this.strip()},s.prototype._parseHex=function(i,a,u){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,T=0;if("be"===u)for(l=i.length-1;l>=a;l-=2)D=P(i,a,l)<<y,this.words[T]|=67108863&D,y>=18?(y-=18,this.words[T+=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[T]|=67108863&D,y>=18?(y-=18,this.words[T+=1]|=D>>>26):y+=8;this.strip()},s.prototype._parseBase=function(i,a,u){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=a)l++;l--,y=y/a|0;for(var T=i.length-u,D=T%l,m=Math.min(T,T-D)+u,n=0,v=u;v<m;v+=l)n=d(i,v,v+l,a),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==D){var B=1;for(n=d(i,v,i.length,a),v=0;v<D;v++)B*=a;this.imuln(B),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 S=["","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],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 R(A,i,a){a.negative=i.negative^A.negative;var u=A.length+i.length|0;a.length=u,u=u-1|0;var l=0|A.words[0],y=0|i.words[0],T=l*y,m=T/67108864|0;a.words[0]=67108863&T;for(var n=1;n<u;n++){for(var v=m>>>26,B=67108863&m,V=Math.min(n,i.length-1),X=Math.max(0,n-A.length+1);X<=V;X++)v+=(T=(l=0|A.words[n-X|0])*(y=0|i.words[X])+B)/67108864|0,B=67108863&T;a.words[n]=0|B,m=0|v}return 0!==m?a.words[n]=0|m:a.length--,a.strip()}s.prototype.toString=function(i,a){var u;if(a=0|a||1,16===(i=i||10)||"hex"===i){u="";for(var l=0,y=0,T=0;T<this.length;T++){var D=this.words[T],m=(16777215&(D<<l|y)).toString(16);u=0!=(y=D>>>24-l&16777215)||T!==this.length-1?S[6-m.length]+m+u:m+u,(l+=2)>=26&&(l-=26,T--)}for(0!==y&&(u=y.toString(16)+u);u.length%a!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],v=O[i];u="";var B=this.clone();for(B.negative=0;!B.isZero();){var V=B.modn(v).toString(i);u=(B=B.idivn(v)).isZero()?V+u:S[n-V.length]+V+u}for(this.isZero()&&(u="0"+u);u.length%a!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}b(!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&&b(!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 b(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,u){var l=this.byteLength(),y=u||Math.max(1,l);b(l<=y,"byte array longer than desired length"),b(y>0,"Requested array length <= 0"),this.strip();var m,n,T="le"===a,D=new i(y),v=this.clone();if(T){for(n=0;!v.isZero();n++)m=v.andln(255),v.iushrn(8),D[n]=m;for(;n<y;n++)D[n]=0}else{for(n=0;n<y-l;n++)D[n]=0;for(n=0;!v.isZero();n++)m=v.andln(255),v.iushrn(8),D[y-n-1]=m}return D},s.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var a=i,u=0;return a>=4096&&(u+=13,a>>>=13),a>=64&&(u+=7,a>>>=7),a>=8&&(u+=4,a>>>=4),a>=2&&(u+=2,a>>>=2),u+a},s.prototype._zeroBits=function(i){if(0===i)return 26;var a=i,u=0;return 8191&a||(u+=13,a>>>=13),127&a||(u+=7,a>>>=7),15&a||(u+=4,a>>>=4),3&a||(u+=2,a>>>=2),1&a||u++,u},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 u=this._zeroBits(this.words[a]);if(i+=u,26!==u)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 b(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 u=0;u<a.length;u++)this.words[u]=this.words[u]&i.words[u];return this.length=a.length,this.strip()},s.prototype.iand=function(i){return b(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,u;this.length>i.length?(a=this,u=i):(a=i,u=this);for(var l=0;l<u.length;l++)this.words[l]=a.words[l]^u.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 b(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){b("number"==typeof i&&i>=0);var a=0|Math.ceil(i/26),u=i%26;this._expand(a),u>0&&a--;for(var l=0;l<a;l++)this.words[l]=67108863&~this.words[l];return u>0&&(this.words[l]=~this.words[l]&67108863>>26-u),this.strip()},s.prototype.notn=function(i){return this.clone().inotn(i)},s.prototype.setn=function(i,a){b("number"==typeof i&&i>=0);var u=i/26|0,l=i%26;return this._expand(u+1),this.words[u]=a?this.words[u]|1<<l:this.words[u]&~(1<<l),this.strip()},s.prototype.iadd=function(i){var a,u,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?(u=this,l=i):(u=i,l=this);for(var y=0,T=0;T<l.length;T++)this.words[T]=67108863&(a=(0|u.words[T])+(0|l.words[T])+y),y=a>>>26;for(;0!==y&&T<u.length;T++)this.words[T]=67108863&(a=(0|u.words[T])+y),y=a>>>26;if(this.length=u.length,0!==y)this.words[this.length]=y,this.length++;else if(u!==this)for(;T<u.length;T++)this.words[T]=u.words[T];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,u=this.cmp(i);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(l=this,y=i):(l=i,y=this);for(var T=0,D=0;D<y.length;D++)T=(a=(0|l.words[D])-(0|y.words[D])+T)>>26,this.words[D]=67108863&a;for(;0!==T&&D<l.length;D++)T=(a=(0|l.words[D])+T)>>26,this.words[D]=67108863&a;if(0===T&&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 z=function(i,a,u){var m,n,v,l=i.words,y=a.words,T=u.words,D=0,B=0|l[0],V=8191&B,X=B>>>13,De=0|l[1],tt=8191&De,je=De>>>13,ze=0|l[2],Le=8191&ze,ye=ze>>>13,ce=0|l[3],ve=8191&ce,oe=ce>>>13,Ke=0|l[4],Ae=8191&Ke,de=Ke>>>13,Ce=0|l[5],te=8191&Ce,Ze=Ce>>>13,Ge=0|l[6],ae=8191&Ge,ge=Ge>>>13,pt=0|l[7],$e=8191&pt,ut=pt>>>13,At=0|l[8],_t=8191&At,lt=At>>>13,St=0|l[9],ke=8191&St,He=St>>>13,wt=0|y[0],W=8191&wt,Fe=wt>>>13,Ft=0|y[1],qe=8191&Ft,Qe=Ft>>>13,Ht=0|y[2],Et=8191&Ht,It=Ht>>>13,bt=0|y[3],we=8191&bt,J=bt>>>13,be=0|y[4],Ve=8191&be,ot=be>>>13,ei=0|y[5],Bt=8191&ei,ti=ei>>>13,mt=0|y[6],nt=8191&mt,yt=mt>>>13,$t=0|y[7],Vt=8191&$t,ft=$t>>>13,Pt=0|y[8],Pe=8191&Pt,it=Pt>>>13,at=0|y[9],ht=8191&at,Lt=at>>>13;u.negative=i.negative^a.negative,u.length=19;var ui=(D+(m=Math.imul(V,W))|0)+((8191&(n=(n=Math.imul(V,Fe))+Math.imul(X,W)|0))<<13)|0;D=((v=Math.imul(X,Fe))+(n>>>13)|0)+(ui>>>26)|0,ui&=67108863,m=Math.imul(tt,W),n=(n=Math.imul(tt,Fe))+Math.imul(je,W)|0,v=Math.imul(je,Fe);var Ti=(D+(m=m+Math.imul(V,qe)|0)|0)+((8191&(n=(n=n+Math.imul(V,Qe)|0)+Math.imul(X,qe)|0))<<13)|0;D=((v=v+Math.imul(X,Qe)|0)+(n>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,m=Math.imul(Le,W),n=(n=Math.imul(Le,Fe))+Math.imul(ye,W)|0,v=Math.imul(ye,Fe),m=m+Math.imul(tt,qe)|0,n=(n=n+Math.imul(tt,Qe)|0)+Math.imul(je,qe)|0,v=v+Math.imul(je,Qe)|0;var yi=(D+(m=m+Math.imul(V,Et)|0)|0)+((8191&(n=(n=n+Math.imul(V,It)|0)+Math.imul(X,Et)|0))<<13)|0;D=((v=v+Math.imul(X,It)|0)+(n>>>13)|0)+(yi>>>26)|0,yi&=67108863,m=Math.imul(ve,W),n=(n=Math.imul(ve,Fe))+Math.imul(oe,W)|0,v=Math.imul(oe,Fe),m=m+Math.imul(Le,qe)|0,n=(n=n+Math.imul(Le,Qe)|0)+Math.imul(ye,qe)|0,v=v+Math.imul(ye,Qe)|0,m=m+Math.imul(tt,Et)|0,n=(n=n+Math.imul(tt,It)|0)+Math.imul(je,Et)|0,v=v+Math.imul(je,It)|0;var Ni=(D+(m=m+Math.imul(V,we)|0)|0)+((8191&(n=(n=n+Math.imul(V,J)|0)+Math.imul(X,we)|0))<<13)|0;D=((v=v+Math.imul(X,J)|0)+(n>>>13)|0)+(Ni>>>26)|0,Ni&=67108863,m=Math.imul(Ae,W),n=(n=Math.imul(Ae,Fe))+Math.imul(de,W)|0,v=Math.imul(de,Fe),m=m+Math.imul(ve,qe)|0,n=(n=n+Math.imul(ve,Qe)|0)+Math.imul(oe,qe)|0,v=v+Math.imul(oe,Qe)|0,m=m+Math.imul(Le,Et)|0,n=(n=n+Math.imul(Le,It)|0)+Math.imul(ye,Et)|0,v=v+Math.imul(ye,It)|0,m=m+Math.imul(tt,we)|0,n=(n=n+Math.imul(tt,J)|0)+Math.imul(je,we)|0,v=v+Math.imul(je,J)|0;var Xe=(D+(m=m+Math.imul(V,Ve)|0)|0)+((8191&(n=(n=n+Math.imul(V,ot)|0)+Math.imul(X,Ve)|0))<<13)|0;D=((v=v+Math.imul(X,ot)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,m=Math.imul(te,W),n=(n=Math.imul(te,Fe))+Math.imul(Ze,W)|0,v=Math.imul(Ze,Fe),m=m+Math.imul(Ae,qe)|0,n=(n=n+Math.imul(Ae,Qe)|0)+Math.imul(de,qe)|0,v=v+Math.imul(de,Qe)|0,m=m+Math.imul(ve,Et)|0,n=(n=n+Math.imul(ve,It)|0)+Math.imul(oe,Et)|0,v=v+Math.imul(oe,It)|0,m=m+Math.imul(Le,we)|0,n=(n=n+Math.imul(Le,J)|0)+Math.imul(ye,we)|0,v=v+Math.imul(ye,J)|0,m=m+Math.imul(tt,Ve)|0,n=(n=n+Math.imul(tt,ot)|0)+Math.imul(je,Ve)|0,v=v+Math.imul(je,ot)|0;var Tt=(D+(m=m+Math.imul(V,Bt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ti)|0)+Math.imul(X,Bt)|0))<<13)|0;D=((v=v+Math.imul(X,ti)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,m=Math.imul(ae,W),n=(n=Math.imul(ae,Fe))+Math.imul(ge,W)|0,v=Math.imul(ge,Fe),m=m+Math.imul(te,qe)|0,n=(n=n+Math.imul(te,Qe)|0)+Math.imul(Ze,qe)|0,v=v+Math.imul(Ze,Qe)|0,m=m+Math.imul(Ae,Et)|0,n=(n=n+Math.imul(Ae,It)|0)+Math.imul(de,Et)|0,v=v+Math.imul(de,It)|0,m=m+Math.imul(ve,we)|0,n=(n=n+Math.imul(ve,J)|0)+Math.imul(oe,we)|0,v=v+Math.imul(oe,J)|0,m=m+Math.imul(Le,Ve)|0,n=(n=n+Math.imul(Le,ot)|0)+Math.imul(ye,Ve)|0,v=v+Math.imul(ye,ot)|0,m=m+Math.imul(tt,Bt)|0,n=(n=n+Math.imul(tt,ti)|0)+Math.imul(je,Bt)|0,v=v+Math.imul(je,ti)|0;var xe=(D+(m=m+Math.imul(V,nt)|0)|0)+((8191&(n=(n=n+Math.imul(V,yt)|0)+Math.imul(X,nt)|0))<<13)|0;D=((v=v+Math.imul(X,yt)|0)+(n>>>13)|0)+(xe>>>26)|0,xe&=67108863,m=Math.imul($e,W),n=(n=Math.imul($e,Fe))+Math.imul(ut,W)|0,v=Math.imul(ut,Fe),m=m+Math.imul(ae,qe)|0,n=(n=n+Math.imul(ae,Qe)|0)+Math.imul(ge,qe)|0,v=v+Math.imul(ge,Qe)|0,m=m+Math.imul(te,Et)|0,n=(n=n+Math.imul(te,It)|0)+Math.imul(Ze,Et)|0,v=v+Math.imul(Ze,It)|0,m=m+Math.imul(Ae,we)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(de,we)|0,v=v+Math.imul(de,J)|0,m=m+Math.imul(ve,Ve)|0,n=(n=n+Math.imul(ve,ot)|0)+Math.imul(oe,Ve)|0,v=v+Math.imul(oe,ot)|0,m=m+Math.imul(Le,Bt)|0,n=(n=n+Math.imul(Le,ti)|0)+Math.imul(ye,Bt)|0,v=v+Math.imul(ye,ti)|0,m=m+Math.imul(tt,nt)|0,n=(n=n+Math.imul(tt,yt)|0)+Math.imul(je,nt)|0,v=v+Math.imul(je,yt)|0;var Rt=(D+(m=m+Math.imul(V,Vt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ft)|0)+Math.imul(X,Vt)|0))<<13)|0;D=((v=v+Math.imul(X,ft)|0)+(n>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,m=Math.imul(_t,W),n=(n=Math.imul(_t,Fe))+Math.imul(lt,W)|0,v=Math.imul(lt,Fe),m=m+Math.imul($e,qe)|0,n=(n=n+Math.imul($e,Qe)|0)+Math.imul(ut,qe)|0,v=v+Math.imul(ut,Qe)|0,m=m+Math.imul(ae,Et)|0,n=(n=n+Math.imul(ae,It)|0)+Math.imul(ge,Et)|0,v=v+Math.imul(ge,It)|0,m=m+Math.imul(te,we)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ze,we)|0,v=v+Math.imul(Ze,J)|0,m=m+Math.imul(Ae,Ve)|0,n=(n=n+Math.imul(Ae,ot)|0)+Math.imul(de,Ve)|0,v=v+Math.imul(de,ot)|0,m=m+Math.imul(ve,Bt)|0,n=(n=n+Math.imul(ve,ti)|0)+Math.imul(oe,Bt)|0,v=v+Math.imul(oe,ti)|0,m=m+Math.imul(Le,nt)|0,n=(n=n+Math.imul(Le,yt)|0)+Math.imul(ye,nt)|0,v=v+Math.imul(ye,yt)|0,m=m+Math.imul(tt,Vt)|0,n=(n=n+Math.imul(tt,ft)|0)+Math.imul(je,Vt)|0,v=v+Math.imul(je,ft)|0;var jt=(D+(m=m+Math.imul(V,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(V,it)|0)+Math.imul(X,Pe)|0))<<13)|0;D=((v=v+Math.imul(X,it)|0)+(n>>>13)|0)+(jt>>>26)|0,jt&=67108863,m=Math.imul(ke,W),n=(n=Math.imul(ke,Fe))+Math.imul(He,W)|0,v=Math.imul(He,Fe),m=m+Math.imul(_t,qe)|0,n=(n=n+Math.imul(_t,Qe)|0)+Math.imul(lt,qe)|0,v=v+Math.imul(lt,Qe)|0,m=m+Math.imul($e,Et)|0,n=(n=n+Math.imul($e,It)|0)+Math.imul(ut,Et)|0,v=v+Math.imul(ut,It)|0,m=m+Math.imul(ae,we)|0,n=(n=n+Math.imul(ae,J)|0)+Math.imul(ge,we)|0,v=v+Math.imul(ge,J)|0,m=m+Math.imul(te,Ve)|0,n=(n=n+Math.imul(te,ot)|0)+Math.imul(Ze,Ve)|0,v=v+Math.imul(Ze,ot)|0,m=m+Math.imul(Ae,Bt)|0,n=(n=n+Math.imul(Ae,ti)|0)+Math.imul(de,Bt)|0,v=v+Math.imul(de,ti)|0,m=m+Math.imul(ve,nt)|0,n=(n=n+Math.imul(ve,yt)|0)+Math.imul(oe,nt)|0,v=v+Math.imul(oe,yt)|0,m=m+Math.imul(Le,Vt)|0,n=(n=n+Math.imul(Le,ft)|0)+Math.imul(ye,Vt)|0,v=v+Math.imul(ye,ft)|0,m=m+Math.imul(tt,Pe)|0,n=(n=n+Math.imul(tt,it)|0)+Math.imul(je,Pe)|0,v=v+Math.imul(je,it)|0;var li=(D+(m=m+Math.imul(V,ht)|0)|0)+((8191&(n=(n=n+Math.imul(V,Lt)|0)+Math.imul(X,ht)|0))<<13)|0;D=((v=v+Math.imul(X,Lt)|0)+(n>>>13)|0)+(li>>>26)|0,li&=67108863,m=Math.imul(ke,qe),n=(n=Math.imul(ke,Qe))+Math.imul(He,qe)|0,v=Math.imul(He,Qe),m=m+Math.imul(_t,Et)|0,n=(n=n+Math.imul(_t,It)|0)+Math.imul(lt,Et)|0,v=v+Math.imul(lt,It)|0,m=m+Math.imul($e,we)|0,n=(n=n+Math.imul($e,J)|0)+Math.imul(ut,we)|0,v=v+Math.imul(ut,J)|0,m=m+Math.imul(ae,Ve)|0,n=(n=n+Math.imul(ae,ot)|0)+Math.imul(ge,Ve)|0,v=v+Math.imul(ge,ot)|0,m=m+Math.imul(te,Bt)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ze,Bt)|0,v=v+Math.imul(Ze,ti)|0,m=m+Math.imul(Ae,nt)|0,n=(n=n+Math.imul(Ae,yt)|0)+Math.imul(de,nt)|0,v=v+Math.imul(de,yt)|0,m=m+Math.imul(ve,Vt)|0,n=(n=n+Math.imul(ve,ft)|0)+Math.imul(oe,Vt)|0,v=v+Math.imul(oe,ft)|0,m=m+Math.imul(Le,Pe)|0,n=(n=n+Math.imul(Le,it)|0)+Math.imul(ye,Pe)|0,v=v+Math.imul(ye,it)|0;var bi=(D+(m=m+Math.imul(tt,ht)|0)|0)+((8191&(n=(n=n+Math.imul(tt,Lt)|0)+Math.imul(je,ht)|0))<<13)|0;D=((v=v+Math.imul(je,Lt)|0)+(n>>>13)|0)+(bi>>>26)|0,bi&=67108863,m=Math.imul(ke,Et),n=(n=Math.imul(ke,It))+Math.imul(He,Et)|0,v=Math.imul(He,It),m=m+Math.imul(_t,we)|0,n=(n=n+Math.imul(_t,J)|0)+Math.imul(lt,we)|0,v=v+Math.imul(lt,J)|0,m=m+Math.imul($e,Ve)|0,n=(n=n+Math.imul($e,ot)|0)+Math.imul(ut,Ve)|0,v=v+Math.imul(ut,ot)|0,m=m+Math.imul(ae,Bt)|0,n=(n=n+Math.imul(ae,ti)|0)+Math.imul(ge,Bt)|0,v=v+Math.imul(ge,ti)|0,m=m+Math.imul(te,nt)|0,n=(n=n+Math.imul(te,yt)|0)+Math.imul(Ze,nt)|0,v=v+Math.imul(Ze,yt)|0,m=m+Math.imul(Ae,Vt)|0,n=(n=n+Math.imul(Ae,ft)|0)+Math.imul(de,Vt)|0,v=v+Math.imul(de,ft)|0,m=m+Math.imul(ve,Pe)|0,n=(n=n+Math.imul(ve,it)|0)+Math.imul(oe,Pe)|0,v=v+Math.imul(oe,it)|0;var Li=(D+(m=m+Math.imul(Le,ht)|0)|0)+((8191&(n=(n=n+Math.imul(Le,Lt)|0)+Math.imul(ye,ht)|0))<<13)|0;D=((v=v+Math.imul(ye,Lt)|0)+(n>>>13)|0)+(Li>>>26)|0,Li&=67108863,m=Math.imul(ke,we),n=(n=Math.imul(ke,J))+Math.imul(He,we)|0,v=Math.imul(He,J),m=m+Math.imul(_t,Ve)|0,n=(n=n+Math.imul(_t,ot)|0)+Math.imul(lt,Ve)|0,v=v+Math.imul(lt,ot)|0,m=m+Math.imul($e,Bt)|0,n=(n=n+Math.imul($e,ti)|0)+Math.imul(ut,Bt)|0,v=v+Math.imul(ut,ti)|0,m=m+Math.imul(ae,nt)|0,n=(n=n+Math.imul(ae,yt)|0)+Math.imul(ge,nt)|0,v=v+Math.imul(ge,yt)|0,m=m+Math.imul(te,Vt)|0,n=(n=n+Math.imul(te,ft)|0)+Math.imul(Ze,Vt)|0,v=v+Math.imul(Ze,ft)|0,m=m+Math.imul(Ae,Pe)|0,n=(n=n+Math.imul(Ae,it)|0)+Math.imul(de,Pe)|0,v=v+Math.imul(de,it)|0;var Gi=(D+(m=m+Math.imul(ve,ht)|0)|0)+((8191&(n=(n=n+Math.imul(ve,Lt)|0)+Math.imul(oe,ht)|0))<<13)|0;D=((v=v+Math.imul(oe,Lt)|0)+(n>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,m=Math.imul(ke,Ve),n=(n=Math.imul(ke,ot))+Math.imul(He,Ve)|0,v=Math.imul(He,ot),m=m+Math.imul(_t,Bt)|0,n=(n=n+Math.imul(_t,ti)|0)+Math.imul(lt,Bt)|0,v=v+Math.imul(lt,ti)|0,m=m+Math.imul($e,nt)|0,n=(n=n+Math.imul($e,yt)|0)+Math.imul(ut,nt)|0,v=v+Math.imul(ut,yt)|0,m=m+Math.imul(ae,Vt)|0,n=(n=n+Math.imul(ae,ft)|0)+Math.imul(ge,Vt)|0,v=v+Math.imul(ge,ft)|0,m=m+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,it)|0)+Math.imul(Ze,Pe)|0,v=v+Math.imul(Ze,it)|0;var ji=(D+(m=m+Math.imul(Ae,ht)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Lt)|0)+Math.imul(de,ht)|0))<<13)|0;D=((v=v+Math.imul(de,Lt)|0)+(n>>>13)|0)+(ji>>>26)|0,ji&=67108863,m=Math.imul(ke,Bt),n=(n=Math.imul(ke,ti))+Math.imul(He,Bt)|0,v=Math.imul(He,ti),m=m+Math.imul(_t,nt)|0,n=(n=n+Math.imul(_t,yt)|0)+Math.imul(lt,nt)|0,v=v+Math.imul(lt,yt)|0,m=m+Math.imul($e,Vt)|0,n=(n=n+Math.imul($e,ft)|0)+Math.imul(ut,Vt)|0,v=v+Math.imul(ut,ft)|0,m=m+Math.imul(ae,Pe)|0,n=(n=n+Math.imul(ae,it)|0)+Math.imul(ge,Pe)|0,v=v+Math.imul(ge,it)|0;var $i=(D+(m=m+Math.imul(te,ht)|0)|0)+((8191&(n=(n=n+Math.imul(te,Lt)|0)+Math.imul(Ze,ht)|0))<<13)|0;D=((v=v+Math.imul(Ze,Lt)|0)+(n>>>13)|0)+($i>>>26)|0,$i&=67108863,m=Math.imul(ke,nt),n=(n=Math.imul(ke,yt))+Math.imul(He,nt)|0,v=Math.imul(He,yt),m=m+Math.imul(_t,Vt)|0,n=(n=n+Math.imul(_t,ft)|0)+Math.imul(lt,Vt)|0,v=v+Math.imul(lt,ft)|0,m=m+Math.imul($e,Pe)|0,n=(n=n+Math.imul($e,it)|0)+Math.imul(ut,Pe)|0,v=v+Math.imul(ut,it)|0;var Gt=(D+(m=m+Math.imul(ae,ht)|0)|0)+((8191&(n=(n=n+Math.imul(ae,Lt)|0)+Math.imul(ge,ht)|0))<<13)|0;D=((v=v+Math.imul(ge,Lt)|0)+(n>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,m=Math.imul(ke,Vt),n=(n=Math.imul(ke,ft))+Math.imul(He,Vt)|0,v=Math.imul(He,ft),m=m+Math.imul(_t,Pe)|0,n=(n=n+Math.imul(_t,it)|0)+Math.imul(lt,Pe)|0,v=v+Math.imul(lt,it)|0;var Kt=(D+(m=m+Math.imul($e,ht)|0)|0)+((8191&(n=(n=n+Math.imul($e,Lt)|0)+Math.imul(ut,ht)|0))<<13)|0;D=((v=v+Math.imul(ut,Lt)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,m=Math.imul(ke,Pe),n=(n=Math.imul(ke,it))+Math.imul(He,Pe)|0,v=Math.imul(He,it);var fe=(D+(m=m+Math.imul(_t,ht)|0)|0)+((8191&(n=(n=n+Math.imul(_t,Lt)|0)+Math.imul(lt,ht)|0))<<13)|0;D=((v=v+Math.imul(lt,Lt)|0)+(n>>>13)|0)+(fe>>>26)|0,fe&=67108863;var Oe=(D+(m=Math.imul(ke,ht))|0)+((8191&(n=(n=Math.imul(ke,Lt))+Math.imul(He,ht)|0))<<13)|0;return D=((v=Math.imul(He,Lt))+(n>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,T[0]=ui,T[1]=Ti,T[2]=yi,T[3]=Ni,T[4]=Xe,T[5]=Tt,T[6]=xe,T[7]=Rt,T[8]=jt,T[9]=li,T[10]=bi,T[11]=Li,T[12]=Gi,T[13]=ji,T[14]=$i,T[15]=Gt,T[16]=Kt,T[17]=fe,T[18]=Oe,0!==D&&(T[19]=D,u.length++),u};function Y(A,i,a){return(new K).mulp(A,i,a)}function K(A,i){this.x=A,this.y=i}Math.imul||(z=R),s.prototype.mulTo=function(i,a){var u,l=this.length+i.length;return u=10===this.length&&10===i.length?z(this,i,a):l<63?R(this,i,a):l<1024?function U(A,i,a){a.negative=i.negative^A.negative,a.length=A.length+i.length;for(var u=0,l=0,y=0;y<a.length-1;y++){var T=l;l=0;for(var D=67108863&u,m=Math.min(y,i.length-1),n=Math.max(0,y-A.length+1);n<=m;n++){var X=(0|A.words[y-n])*(0|i.words[n]),De=67108863&X;D=67108863&(De=De+D|0),l+=(T=(T=T+(X/67108864|0)|0)+(De>>>26)|0)>>>26,T&=67108863}a.words[y]=D,u=T,T=l}return 0!==u?a.words[y]=u:a.length--,a.strip()}(this,i,a):Y(this,i,a),u},K.prototype.makeRBT=function(i){for(var a=new Array(i),u=s.prototype._countBits(i)-1,l=0;l<i;l++)a[l]=this.revBin(l,u,i);return a},K.prototype.revBin=function(i,a,u){if(0===i||i===u-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,u,l,y,T){for(var D=0;D<T;D++)l[D]=a[i[D]],y[D]=u[i[D]]},K.prototype.transform=function(i,a,u,l,y,T){this.permute(T,i,a,u,l,y);for(var D=1;D<y;D<<=1)for(var m=D<<1,n=Math.cos(2*Math.PI/m),v=Math.sin(2*Math.PI/m),B=0;B<y;B+=m)for(var V=n,X=v,De=0;De<D;De++){var tt=u[B+De],je=l[B+De],ze=u[B+De+D],Le=l[B+De+D],ye=V*ze-X*Le;Le=V*Le+X*ze,u[B+De]=tt+(ze=ye),l[B+De]=je+Le,u[B+De+D]=tt-ze,l[B+De+D]=je-Le,De!==m&&(ye=n*V-v*X,X=n*X+v*V,V=ye)}},K.prototype.guessLen13b=function(i,a){var u=1|Math.max(a,i),l=1&u,y=0;for(u=u/2|0;u;u>>>=1)y++;return 1<<y+1+l},K.prototype.conjugate=function(i,a,u){if(!(u<=1))for(var l=0;l<u/2;l++){var y=i[l];i[l]=i[u-l-1],i[u-l-1]=y,y=a[l],a[l]=-a[u-l-1],a[u-l-1]=-y}},K.prototype.normalize13b=function(i,a){for(var u=0,l=0;l<a/2;l++){var y=8192*Math.round(i[2*l+1]/a)+Math.round(i[2*l]/a)+u;i[l]=67108863&y,u=y<67108864?0:y/67108864|0}return i},K.prototype.convert13b=function(i,a,u,l){for(var y=0,T=0;T<a;T++)u[2*T]=8191&(y+=0|i[T]),u[2*T+1]=8191&(y>>>=13),y>>>=13;for(T=2*a;T<l;++T)u[T]=0;b(0===y),b(0==(-8192&y))},K.prototype.stub=function(i){for(var a=new Array(i),u=0;u<i;u++)a[u]=0;return a},K.prototype.mulp=function(i,a,u){var l=2*this.guessLen13b(i.length,a.length),y=this.makeRBT(l),T=this.stub(l),D=new Array(l),m=new Array(l),n=new Array(l),v=new Array(l),B=new Array(l),V=new Array(l),X=u.words;X.length=l,this.convert13b(i.words,i.length,D,l),this.convert13b(a.words,a.length,v,l),this.transform(D,T,m,n,l,y),this.transform(v,T,B,V,l,y);for(var De=0;De<l;De++){var tt=m[De]*B[De]-n[De]*V[De];n[De]=m[De]*V[De]+n[De]*B[De],m[De]=tt}return this.conjugate(m,n,l),this.transform(m,n,X,T,l,y),this.conjugate(X,T,l),this.normalize13b(X,l),u.negative=i.negative^a.negative,u.length=i.length+a.length,u.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),Y(this,i,a)},s.prototype.imul=function(i){return this.clone().mulTo(i,this)},s.prototype.imuln=function(i){b("number"==typeof i),b(i<67108864);for(var a=0,u=0;u<this.length;u++){var l=(0|this.words[u])*i,y=(67108863&l)+(67108863&a);a>>=26,a+=l/67108864|0,a+=y>>>26,this.words[u]=67108863&y}return 0!==a&&(this.words[u]=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 E(A){for(var i=new Array(A.bitLength()),a=0;a<i.length;a++){var l=a%26;i[a]=(A.words[a/26|0]&1<<l)>>>l}return i}(i);if(0===a.length)return new s(1);for(var u=this,l=0;l<a.length&&0===a[l];l++,u=u.sqr());if(++l<a.length)for(var y=u.sqr();l<a.length;l++,y=y.sqr())0!==a[l]&&(u=u.mul(y));return u},s.prototype.iushln=function(i){b("number"==typeof i&&i>=0);var y,a=i%26,u=(i-a)/26,l=67108863>>>26-a<<26-a;if(0!==a){var T=0;for(y=0;y<this.length;y++){var D=this.words[y]&l;this.words[y]=(0|this.words[y])-D<<a|T,T=D>>>26-a}T&&(this.words[y]=T,this.length++)}if(0!==u){for(y=this.length-1;y>=0;y--)this.words[y+u]=this.words[y];for(y=0;y<u;y++)this.words[y]=0;this.length+=u}return this.strip()},s.prototype.ishln=function(i){return b(0===this.negative),this.iushln(i)},s.prototype.iushrn=function(i,a,u){var l;b("number"==typeof i&&i>=0),l=a?(a-a%26)/26:0;var y=i%26,T=Math.min((i-y)/26,this.length),D=67108863^67108863>>>y<<y,m=u;if(l-=T,l=Math.max(0,l),m){for(var n=0;n<T;n++)m.words[n]=this.words[n];m.length=T}if(0!==T)if(this.length>T)for(this.length-=T,n=0;n<this.length;n++)this.words[n]=this.words[n+T];else this.words[0]=0,this.length=1;var v=0;for(n=this.length-1;n>=0&&(0!==v||n>=l);n--){var B=0|this.words[n];this.words[n]=v<<26-y|B>>>y,v=B&D}return m&&0!==v&&(m.words[m.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(i,a,u){return b(0===this.negative),this.iushrn(i,a,u)},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){b("number"==typeof i&&i>=0);var a=i%26,u=(i-a)/26;return!(this.length<=u||!(this.words[u]&1<<a))},s.prototype.imaskn=function(i){b("number"==typeof i&&i>=0);var a=i%26,u=(i-a)/26;return b(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==a&&u++,this.length=Math.min(u,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 b("number"==typeof i),b(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(b("number"==typeof i),b(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,u){var y;this._expand(i.length+u);var T,D=0;for(y=0;y<i.length;y++){T=(0|this.words[y+u])+D;var m=(0|i.words[y])*a;D=((T-=67108863&m)>>26)-(m/67108864|0),this.words[y+u]=67108863&T}for(;y<this.length-u;y++)D=(T=(0|this.words[y+u])+D)>>26,this.words[y+u]=67108863&T;if(0===D)return this.strip();for(b(-1===D),D=0,y=0;y<this.length;y++)D=(T=-(0|this.words[y])+D)>>26,this.words[y]=67108863&T;return this.negative=1,this.strip()},s.prototype._wordDiv=function(i,a){var u,l=this.clone(),y=i,T=0|y.words[y.length-1];0!=(u=26-this._countBits(T))&&(y=y.ushln(u),l.iushln(u),T=0|y.words[y.length-1]);var n,m=l.length-y.length;if("mod"!==a){(n=new s(null)).length=m+1,n.words=new Array(n.length);for(var v=0;v<n.length;v++)n.words[v]=0}var B=l.clone()._ishlnsubmul(y,1,m);0===B.negative&&(l=B,n&&(n.words[m]=1));for(var V=m-1;V>=0;V--){var X=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(X=Math.min(X/T|0,67108863),l._ishlnsubmul(y,X,V);0!==l.negative;)X--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=X)}return n&&n.strip(),l.strip(),"div"!==a&&0!==u&&l.iushrn(u),{div:n||null,mod:l}},s.prototype.divmod=function(i,a,u){return b(!i.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===i.negative?(T=this.neg().divmod(i,a),"mod"!==a&&(l=T.div.neg()),"div"!==a&&(y=T.mod.neg(),u&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(T=this.divmod(i.neg(),a),"mod"!==a&&(l=T.div.neg()),{div:l,mod:T.mod}):this.negative&i.negative?(T=this.neg().divmod(i.neg(),a),"div"!==a&&(y=T.mod.neg(),u&&0!==y.negative&&y.isub(i)),{div:T.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,T},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 u=0!==a.div.negative?a.mod.isub(i):a.mod,l=i.ushrn(1),y=i.andln(1),T=u.cmp(l);return T<0||1===y&&0===T?a.div:0!==a.div.negative?a.div.isubn(1):a.div.iaddn(1)},s.prototype.modn=function(i){b(i<=67108863);for(var a=(1<<26)%i,u=0,l=this.length-1;l>=0;l--)u=(a*u+(0|this.words[l]))%i;return u},s.prototype.idivn=function(i){b(i<=67108863);for(var a=0,u=this.length-1;u>=0;u--){var l=(0|this.words[u])+67108864*a;this.words[u]=l/i|0,a=l%i}return this.strip()},s.prototype.divn=function(i){return this.clone().idivn(i)},s.prototype.egcd=function(i){b(0===i.negative),b(!i.isZero());var a=this,u=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),T=new s(0),D=new s(1),m=0;a.isEven()&&u.isEven();)a.iushrn(1),u.iushrn(1),++m;for(var n=u.clone(),v=a.clone();!a.isZero();){for(var B=0,V=1;!(a.words[0]&V)&&B<26;++B,V<<=1);if(B>0)for(a.iushrn(B);B-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(v)),l.iushrn(1),y.iushrn(1);for(var X=0,De=1;!(u.words[0]&De)&&X<26;++X,De<<=1);if(X>0)for(u.iushrn(X);X-- >0;)(T.isOdd()||D.isOdd())&&(T.iadd(n),D.isub(v)),T.iushrn(1),D.iushrn(1);a.cmp(u)>=0?(a.isub(u),l.isub(T),y.isub(D)):(u.isub(a),T.isub(l),D.isub(y))}return{a:T,b:D,gcd:u.iushln(m)}},s.prototype._invmp=function(i){b(0===i.negative),b(!i.isZero());var B,a=this,u=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),T=u.clone();a.cmpn(1)>0&&u.cmpn(1)>0;){for(var D=0,m=1;!(a.words[0]&m)&&D<26;++D,m<<=1);if(D>0)for(a.iushrn(D);D-- >0;)l.isOdd()&&l.iadd(T),l.iushrn(1);for(var n=0,v=1;!(u.words[0]&v)&&n<26;++n,v<<=1);if(n>0)for(u.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(T),y.iushrn(1);a.cmp(u)>=0?(a.isub(u),l.isub(y)):(u.isub(a),y.isub(l))}return(B=0===a.cmpn(1)?l:y).cmpn(0)<0&&B.iadd(i),B},s.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var a=this.clone(),u=i.clone();a.negative=0,u.negative=0;for(var l=0;a.isEven()&&u.isEven();l++)a.iushrn(1),u.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;u.isEven();)u.iushrn(1);var y=a.cmp(u);if(y<0){var T=a;a=u,u=T}else if(0===y||0===u.cmpn(1))break;a.isub(u)}return u.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){b("number"==typeof i);var a=i%26,u=(i-a)/26,l=1<<a;if(this.length<=u)return this._expand(u+1),this.words[u]|=l,this;for(var y=l,T=u;0!==y&&T<this.length;T++){var D=0|this.words[T];y=(D+=y)>>>26,this.words[T]=D&=67108863}return 0!==y&&(this.words[T]=y,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(i){var u,a=i<0;if(0!==this.negative&&!a)return-1;if(0===this.negative&&a)return 1;if(this.strip(),this.length>1)u=1;else{a&&(i=-i),b(i<=67108863,"Number is too big");var l=0|this.words[0];u=l===i?0:l<i?-1:1}return 0!==this.negative?0|-u:u},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,u=this.length-1;u>=0;u--){var l=0|this.words[u],y=0|i.words[u];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 ee(i)},s.prototype.toRed=function(i){return b(!this.red,"Already a number in reduction context"),b(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},s.prototype.fromRed=function(){return b(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 b(!this.red,"Already a number in reduction context"),this._forceRed(i)},s.prototype.redAdd=function(i){return b(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},s.prototype.redIAdd=function(i){return b(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},s.prototype.redSub=function(i){return b(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},s.prototype.redISub=function(i){return b(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},s.prototype.redShl=function(i){return b(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},s.prototype.redMul=function(i){return b(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},s.prototype.redIMul=function(i){return b(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},s.prototype.redSqr=function(){return b(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return b(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return b(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return b(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return b(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(i){return b(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var $={k256:null,p224:null,p192:null,p25519:null};function ie(A,i){this.name=A,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 ue(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function he(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function le(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ee(A){if("string"==typeof A){var i=s._prime(A);this.m=i.p,this.prime=i}else b(A.gtn(1),"modulus must be greater than 1"),this.m=A,this.prime=null}function me(A){ee.call(this,A),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)}ie.prototype._tmp=function(){var i=new s(null);return i.words=new Array(Math.ceil(this.n/13)),i},ie.prototype.ireduce=function(i){var u,a=i;do{this.split(a,this.tmp),u=(a=(a=this.imulK(a)).iadd(this.tmp)).bitLength()}while(u>this.n);var l=u<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},ie.prototype.split=function(i,a){i.iushrn(this.n,0,a)},ie.prototype.imulK=function(i){return i.imul(this.k)},I(ue,ie),ue.prototype.split=function(i,a){for(var u=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 T=i.words[9];for(a.words[a.length++]=T&u,y=10;y<i.length;y++){var D=0|i.words[y];i.words[y-10]=(D&u)<<4|T>>>22,T=D}i.words[y-10]=T>>>=22,i.length-=0===T&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var a=0,u=0;u<i.length;u++){var l=0|i.words[u];i.words[u]=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},I(he,ie),I(ne,ie),I(le,ie),le.prototype.imulK=function(i){for(var a=0,u=0;u<i.length;u++){var l=19*(0|i.words[u])+a,y=67108863&l;l>>>=26,i.words[u]=y,a=l}return 0!==a&&(i.words[i.length++]=a),i},s._prime=function(i){if($[i])return $[i];var a;if("k256"===i)a=new ue;else if("p224"===i)a=new he;else if("p192"===i)a=new ne;else{if("p25519"!==i)throw new Error("Unknown prime "+i);a=new le}return $[i]=a,a},ee.prototype._verify1=function(i){b(0===i.negative,"red works only with positives"),b(i.red,"red works only with red numbers")},ee.prototype._verify2=function(i,a){b(0==(i.negative|a.negative),"red works only with positives"),b(i.red&&i.red===a.red,"red works only with red numbers")},ee.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},ee.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},ee.prototype.add=function(i,a){this._verify2(i,a);var u=i.add(a);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},ee.prototype.iadd=function(i,a){this._verify2(i,a);var u=i.iadd(a);return u.cmp(this.m)>=0&&u.isub(this.m),u},ee.prototype.sub=function(i,a){this._verify2(i,a);var u=i.sub(a);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},ee.prototype.isub=function(i,a){this._verify2(i,a);var u=i.isub(a);return u.cmpn(0)<0&&u.iadd(this.m),u},ee.prototype.shl=function(i,a){return this._verify1(i),this.imod(i.ushln(a))},ee.prototype.imul=function(i,a){return this._verify2(i,a),this.imod(i.imul(a))},ee.prototype.mul=function(i,a){return this._verify2(i,a),this.imod(i.mul(a))},ee.prototype.isqr=function(i){return this.imul(i,i.clone())},ee.prototype.sqr=function(i){return this.mul(i,i)},ee.prototype.sqrt=function(i){if(i.isZero())return i.clone();var a=this.m.andln(3);if(b(a%2==1),3===a){var u=this.m.add(new s(1)).iushrn(2);return this.pow(i,u)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);b(!l.isZero());var T=new s(1).toRed(this),D=T.redNeg(),m=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new s(2*n*n).toRed(this);0!==this.pow(n,m).cmp(D);)n.redIAdd(D);for(var v=this.pow(n,l),B=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),X=y;0!==V.cmp(T);){for(var De=V,tt=0;0!==De.cmp(T);tt++)De=De.redSqr();b(tt<X);var je=this.pow(v,new s(1).iushln(X-tt-1));B=B.redMul(je),v=je.redSqr(),V=V.redMul(v),X=tt}return B},ee.prototype.invm=function(i){var a=i._invmp(this.m);return 0!==a.negative?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},ee.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 T=l[0],D=0,m=0,n=a.bitLength()%26;for(0===n&&(n=26),y=a.length-1;y>=0;y--){for(var v=a.words[y],B=n-1;B>=0;B--){var V=v>>B&1;T!==l[0]&&(T=this.sqr(T)),0!==V||0!==D?(D<<=1,D|=V,(4==++m||0===y&&0===B)&&(T=this.mul(T,l[D]),m=0,D=0)):m=0}n=26}return T},ee.prototype.convertTo=function(i){var a=i.umod(this.m);return a===i?a.clone():a},ee.prototype.convertFrom=function(i){var a=i.clone();return a.red=null,a},s.mont=function(i){return new me(i)},I(me,ee),me.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},me.prototype.convertFrom=function(i){var a=this.imod(i.mul(this.rinv));return a.red=null,a},me.prototype.imul=function(i,a){if(i.isZero()||a.isZero())return i.words[0]=0,i.length=1,i;var u=i.imul(a),l=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=u.isub(l).iushrn(this.shift),T=y;return y.cmp(this.m)>=0?T=y.isub(this.m):y.cmpn(0)<0&&(T=y.iadd(this.m)),T._forceRed(this)},me.prototype.mul=function(i,a){if(i.isZero()||a.isZero())return new s(0)._forceRed(this);var u=i.mul(a),l=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=u.isub(l).iushrn(this.shift),T=y;return y.cmp(this.m)>=0?T=y.isub(this.m):y.cmpn(0)<0&&(T=y.iadd(this.m)),T._forceRed(this)},me.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ue=p.nmd(Ue),this)},6386:(Ue,q,p)=>{"use strict";var t=p(3894),e=p(8095),b=p(5634),I=p(5244),s=p(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()},Ue.exports=function(P){return"md5"===(P=P.toLowerCase())?new e:"rmd160"===P||"ripemd160"===P?new b:new C(I(P))}},5640:(Ue,q,p)=>{var t=p(8095);Ue.exports=function(e){return(new t).update(e).digest()}},4529:(Ue,q,p)=>{"use strict";var t=p(3894),e=p(7309),b=p(1052),I=p(3502).Buffer,s=p(5640),C=p(5634),h=p(5244),P=I.alloc(128);function d(S,w){b.call(this,"digest"),"string"==typeof w&&(w=I.from(w));var O="sha512"===S||"sha384"===S?128:64;this._alg=S,this._key=w,w.length>O?w=("rmd160"===S?new C:h(S)).update(w).digest():w.length<O&&(w=I.concat([w,P],O));for(var R=this._ipad=I.allocUnsafe(O),z=this._opad=I.allocUnsafe(O),U=0;U<O;U++)R[U]=54^w[U],z[U]=92^w[U];this._hash="rmd160"===S?new C:h(S),this._hash.update(R)}t(d,b),d.prototype._update=function(S){this._hash.update(S)},d.prototype._final=function(){var S=this._hash.digest();return("rmd160"===this._alg?new C:h(this._alg)).update(this._opad).update(S).digest()},Ue.exports=function(w,O){return"rmd160"===(w=w.toLowerCase())||"ripemd160"===w?new d("rmd160",O):"md5"===w?new e(s,O):new d(w,O)}},7309:(Ue,q,p)=>{"use strict";var t=p(3894),e=p(3502).Buffer,b=p(1052),I=e.alloc(128),s=64;function C(h,P){b.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,I],s));for(var d=this._ipad=e.allocUnsafe(s),S=this._opad=e.allocUnsafe(s),w=0;w<s;w++)d[w]=54^P[w],S[w]=92^P[w];this._hash=[d]}t(C,b),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]))},Ue.exports=C},1348:(Ue,q,p)=>{"use strict";q.randomBytes=q.rng=q.pseudoRandomBytes=q.prng=p(3753),q.createHash=q.Hash=p(6386),q.createHmac=q.Hmac=p(4529);var t=p(7793),e=Object.keys(t),b=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(e);q.getHashes=function(){return b};var I=p(9357);q.pbkdf2=I.pbkdf2,q.pbkdf2Sync=I.pbkdf2Sync;var s=p(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=p(8829);q.DiffieHellmanGroup=C.DiffieHellmanGroup,q.createDiffieHellmanGroup=C.createDiffieHellmanGroup,q.getDiffieHellman=C.getDiffieHellman,q.createDiffieHellman=C.createDiffieHellman,q.DiffieHellman=C.DiffieHellman;var h=p(3923);q.createSign=h.createSign,q.Sign=h.Sign,q.createVerify=h.createVerify,q.Verify=h.Verify,q.createECDH=p(4746);var P=p(3701);q.publicEncrypt=P.publicEncrypt,q.privateEncrypt=P.privateEncrypt,q.publicDecrypt=P.publicDecrypt,q.privateDecrypt=P.privateDecrypt;var d=p(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:(Ue,q,p)=>{"use strict";q.utils=p(7451),q.Cipher=p(8170),q.DES=p(4631),q.CBC=p(9454),q.EDE=p(1862)},9454:(Ue,q,p)=>{"use strict";var t=p(2391),e=p(3894),b={};function I(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(b),d=0;d<P.length;d++){var S=P[d];h.prototype[S]=b[S]}return h.create=function(O){return new h(O)},h},b._cbcInit=function(){var h=new I(this.options.iv);this._cbcState=h},b._update=function(h,P,d,S){var O=this.constructor.super_.prototype,E=this._cbcState.iv;if("encrypt"===this.type){for(var R=0;R<this.blockSize;R++)E[R]^=h[P+R];for(O._update.call(this,E,0,d,S),R=0;R<this.blockSize;R++)E[R]=d[S+R]}else{for(O._update.call(this,h,P,d,S),R=0;R<this.blockSize;R++)d[S+R]^=E[R];for(R=0;R<this.blockSize;R++)E[R]=h[P+R]}}},8170:(Ue,q,p)=>{"use strict";var t=p(2391);function e(b){this.options=b,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}Ue.exports=e,e.prototype._init=function(){},e.prototype.update=function(I){return 0===I.length?[]:"decrypt"===this.type?this._updateDecrypt(I):this._updateEncrypt(I)},e.prototype._buffer=function(I,s){for(var C=Math.min(this.buffer.length-this.bufferOff,I.length-s),h=0;h<C;h++)this.buffer[this.bufferOff+h]=I[s+h];return this.bufferOff+=C,C},e.prototype._flushBuffer=function(I,s){return this._update(this.buffer,0,I,s),this.bufferOff=0,this.blockSize},e.prototype._updateEncrypt=function(I){var s=0,C=0,P=new Array(((this.bufferOff+I.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(s+=this._buffer(I,s),this.bufferOff===this.buffer.length&&(C+=this._flushBuffer(P,C)));for(var d=I.length-(I.length-s)%this.blockSize;s<d;s+=this.blockSize)this._update(I,s,P,C),C+=this.blockSize;for(;s<I.length;s++,this.bufferOff++)this.buffer[this.bufferOff]=I[s];return P},e.prototype._updateDecrypt=function(I){for(var s=0,C=0,h=Math.ceil((this.bufferOff+I.length)/this.blockSize)-1,P=new Array(h*this.blockSize);h>0;h--)s+=this._buffer(I,s),C+=this._flushBuffer(P,C);return s+=this._buffer(I,s),P},e.prototype.final=function(I){var s,C;return I&&(s=this.update(I)),C="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),s?s.concat(C):C},e.prototype._pad=function(I,s){if(0===s)return!1;for(;s<I.length;)I[s++]=0;return!0},e.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var I=new Array(this.blockSize);return this._update(this.buffer,0,I,0),I},e.prototype._unpad=function(I){return I},e.prototype._finalDecrypt=function(){t.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var I=new Array(this.blockSize);return this._flushBuffer(I,0),this._unpad(I)}},4631:(Ue,q,p)=>{"use strict";var t=p(2391),e=p(3894),b=p(7451),I=p(8170);function s(){this.tmp=new Array(2),this.keys=null}function C(P){I.call(this,P);var d=new s;this._desState=d,this.deriveKeys(d,P.key)}e(C,I),Ue.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,S){d.keys=new Array(32),t.equal(S.length,this.blockSize,"Invalid key length");var w=b.readUInt32BE(S,0),O=b.readUInt32BE(S,4);b.pc1(w,O,d.tmp,0),w=d.tmp[0],O=d.tmp[1];for(var E=0;E<d.keys.length;E+=2){var R=h[E>>>1];w=b.r28shl(w,R),O=b.r28shl(O,R),b.pc2(w,O,d.keys,E)}},C.prototype._update=function(d,S,w,O){var E=this._desState,R=b.readUInt32BE(d,S),z=b.readUInt32BE(d,S+4);b.ip(R,z,E.tmp,0),R=E.tmp[0],z=E.tmp[1],"encrypt"===this.type?this._encrypt(E,R,z,E.tmp,0):this._decrypt(E,R,z,E.tmp,0),z=E.tmp[1],b.writeUInt32BE(w,R=E.tmp[0],O),b.writeUInt32BE(w,z,O+4)},C.prototype._pad=function(d,S){for(var w=d.length-S,O=S;O<d.length;O++)d[O]=w;return!0},C.prototype._unpad=function(d){for(var S=d[d.length-1],w=d.length-S;w<d.length;w++)t.equal(d[w],S);return d.slice(0,d.length-S)},C.prototype._encrypt=function(d,S,w,O,E){for(var R=S,z=w,U=0;U<d.keys.length;U+=2){var Y=d.keys[U],K=d.keys[U+1];b.expand(z,d.tmp,0);var $=b.substitute(Y^=d.tmp[0],K^=d.tmp[1]),ue=z;z=(R^b.permute($))>>>0,R=ue}b.rip(z,R,O,E)},C.prototype._decrypt=function(d,S,w,O,E){for(var R=w,z=S,U=d.keys.length-2;U>=0;U-=2){var Y=d.keys[U],K=d.keys[U+1];b.expand(R,d.tmp,0);var $=b.substitute(Y^=d.tmp[0],K^=d.tmp[1]),ue=R;R=(z^b.permute($))>>>0,z=ue}b.rip(R,z,O,E)}},1862:(Ue,q,p)=>{"use strict";var t=p(2391),e=p(3894),b=p(8170),I=p(4631);function s(h,P){t.equal(P.length,24,"Invalid key length");var d=P.slice(0,8),S=P.slice(8,16),w=P.slice(16,24);this.ciphers="encrypt"===h?[I.create({type:"encrypt",key:d}),I.create({type:"decrypt",key:S}),I.create({type:"encrypt",key:w})]:[I.create({type:"decrypt",key:w}),I.create({type:"encrypt",key:S}),I.create({type:"decrypt",key:d})]}function C(h){b.call(this,h);var P=new s(this.type,this.options.key);this._edeState=P}e(C,b),Ue.exports=C,C.create=function(P){return new C(P)},C.prototype._update=function(P,d,S,w){var O=this._edeState;O.ciphers[0]._update(P,d,S,w),O.ciphers[1]._update(S,w,S,w),O.ciphers[2]._update(S,w,S,w)},C.prototype._pad=I.prototype._pad,C.prototype._unpad=I.prototype._unpad},7451:(Ue,q)=>{"use strict";q.readUInt32BE=function(I,s){return(I[0+s]<<24|I[1+s]<<16|I[2+s]<<8|I[3+s])>>>0},q.writeUInt32BE=function(I,s,C){I[0+C]=s>>>24,I[1+C]=s>>>16&255,I[2+C]=s>>>8&255,I[3+C]=255&s},q.ip=function(I,s,C,h){for(var P=0,d=0,S=6;S>=0;S-=2){for(var w=0;w<=24;w+=8)P<<=1,P|=s>>>w+S&1;for(w=0;w<=24;w+=8)P<<=1,P|=I>>>w+S&1}for(S=6;S>=0;S-=2){for(w=1;w<=25;w+=8)d<<=1,d|=s>>>w+S&1;for(w=1;w<=25;w+=8)d<<=1,d|=I>>>w+S&1}C[h+0]=P>>>0,C[h+1]=d>>>0},q.rip=function(I,s,C,h){for(var P=0,d=0,S=0;S<4;S++)for(var w=24;w>=0;w-=8)P<<=1,P|=s>>>w+S&1,P<<=1,P|=I>>>w+S&1;for(S=4;S<8;S++)for(w=24;w>=0;w-=8)d<<=1,d|=s>>>w+S&1,d<<=1,d|=I>>>w+S&1;C[h+0]=P>>>0,C[h+1]=d>>>0},q.pc1=function(I,s,C,h){for(var P=0,d=0,S=7;S>=5;S--){for(var w=0;w<=24;w+=8)P<<=1,P|=s>>w+S&1;for(w=0;w<=24;w+=8)P<<=1,P|=I>>w+S&1}for(w=0;w<=24;w+=8)P<<=1,P|=s>>w+S&1;for(S=1;S<=3;S++){for(w=0;w<=24;w+=8)d<<=1,d|=s>>w+S&1;for(w=0;w<=24;w+=8)d<<=1,d|=I>>w+S&1}for(w=0;w<=24;w+=8)d<<=1,d|=I>>w+S&1;C[h+0]=P>>>0,C[h+1]=d>>>0},q.r28shl=function(I,s){return I<<s&268435455|I>>>28-s};var p=[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(I,s,C,h){for(var P=0,d=0,S=p.length>>>1,w=0;w<S;w++)P<<=1,P|=I>>>p[w]&1;for(w=S;w<p.length;w++)d<<=1,d|=s>>>p[w]&1;C[h+0]=P>>>0,C[h+1]=d>>>0},q.expand=function(I,s,C){var h=0,P=0;h=(1&I)<<5|I>>>27;for(var d=23;d>=15;d-=4)h<<=6,h|=I>>>d&63;for(d=11;d>=3;d-=4)P|=I>>>d&63,P<<=6;P|=(31&I)<<1|I>>>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(I,s){for(var C=0,h=0;h<4;h++)C<<=4,C|=t[64*h+(I>>>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(I){for(var s=0,C=0;C<e.length;C++)s<<=1,s|=I>>>e[C]&1;return s>>>0},q.padSplit=function(I,s,C){for(var h=I.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:(Ue,q,p)=>{var t=p(5563),e=p(9799),b=p(1419),s={binary:!0,hex:!0,base64:!0};q.DiffieHellmanGroup=q.createDiffieHellmanGroup=q.getDiffieHellman=function I(h){var P=new Buffer(e[h].prime,"hex"),d=new Buffer(e[h].gen,"hex");return new b(P,d)},q.createDiffieHellman=q.DiffieHellman=function C(h,P,d,S){return Buffer.isBuffer(P)||void 0===s[P]?C(h,"binary",P,d):(P=P||"binary",S=S||"binary",d=d||new Buffer([2]),Buffer.isBuffer(d)||(d=new Buffer(d,S)),"number"==typeof h?new b(t(h,d),d,!0):(Buffer.isBuffer(h)||(h=new Buffer(h,P)),new b(h,d,!0)))}},1419:(Ue,q,p)=>{var t=p(8313),b=new(p(7079)),I=new t(24),s=new t(11),C=new t(10),h=new t(3),P=new t(7),d=p(5563),S=p(3753);function w(Y,K){return K=K||"utf8",Buffer.isBuffer(Y)||(Y=new Buffer(Y,K)),this._pub=new t(Y),this}function O(Y,K){return K=K||"utf8",Buffer.isBuffer(Y)||(Y=new Buffer(Y,K)),this._priv=new t(Y),this}Ue.exports=z;var E={};function z(Y,K,$){this.setGenerator(K),this.__prime=new t(Y),this._prime=t.mont(this.__prime),this._primeLen=Y.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,$?(this.setPublicKey=w,this.setPrivateKey=O):this._primeCode=8}function U(Y,K){var $=new Buffer(Y.toArray());return K?$.toString(K):$}Object.defineProperty(z.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function R(Y,K){var $=K.toString("hex"),ie=[$,Y.toString(16)].join("_");if(ie in E)return E[ie];var he,ue=0;if(Y.isEven()||!d.simpleSieve||!d.fermatTest(Y)||!b.test(Y))return ue+=1,E[ie]=ue+="02"===$||"05"===$?8:4,ue;switch(b.test(Y.shrn(1))||(ue+=2),$){case"02":Y.mod(I).cmp(s)&&(ue+=8);break;case"05":(he=Y.mod(C)).cmp(h)&&he.cmp(P)&&(ue+=8);break;default:ue+=4}return E[ie]=ue,ue}(this.__prime,this.__gen)),this._primeCode}}),z.prototype.generateKeys=function(){return this._priv||(this._priv=new t(S(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},z.prototype.computeSecret=function(Y){var K=(Y=(Y=new t(Y)).toRed(this._prime)).redPow(this._priv).fromRed(),$=new Buffer(K.toArray()),ie=this.getPrime();if($.length<ie.length){var ue=new Buffer(ie.length-$.length);ue.fill(0),$=Buffer.concat([ue,$])}return $},z.prototype.getPublicKey=function(K){return U(this._pub,K)},z.prototype.getPrivateKey=function(K){return U(this._priv,K)},z.prototype.getPrime=function(Y){return U(this.__prime,Y)},z.prototype.getGenerator=function(Y){return U(this._gen,Y)},z.prototype.setGenerator=function(Y,K){return K=K||"utf8",Buffer.isBuffer(Y)||(Y=new Buffer(Y,K)),this.__gen=Y,this._gen=new t(Y),this}},5563:(Ue,q,p)=>{var t=p(3753);Ue.exports=ue,ue.simpleSieve=$,ue.fermatTest=ie;var e=p(8313),b=new e(24),s=new(p(7079)),C=new e(1),h=new e(2),P=new e(5),w=(new e(16),new e(8),new e(10)),O=new e(3),R=(new e(7),new e(11)),z=new e(4),Y=(new e(12),null);function $(he){for(var ne=function K(){if(null!==Y)return Y;var ne=[];ne[0]=2;for(var le=1,ee=3;ee<1048576;ee+=2){for(var me=Math.ceil(Math.sqrt(ee)),A=0;A<le&&ne[A]<=me&&ee%ne[A]!=0;A++);le!==A&&ne[A]<=me||(ne[le++]=ee)}return Y=ne,ne}(),le=0;le<ne.length;le++)if(0===he.modn(ne[le]))return 0===he.cmpn(ne[le]);return!0}function ie(he){var ne=e.mont(he);return 0===h.toRed(ne).redPow(he.subn(1)).fromRed().cmpn(1)}function ue(he,ne){if(he<16)return new e(2===ne||5===ne?[140,123]:[140,39]);ne=new e(ne);for(var le,ee;;){for(le=new e(t(Math.ceil(he/8)));le.bitLength()>he;)le.ishrn(1);if(le.isEven()&&le.iadd(C),le.testn(1)||le.iadd(h),ne.cmp(h)){if(!ne.cmp(P))for(;le.mod(w).cmp(O);)le.iadd(z)}else for(;le.mod(b).cmp(R);)le.iadd(z);if($(ee=le.shrn(1))&&$(le)&&ie(ee)&&ie(le)&&s.test(ee)&&s.test(le))return le}}},8313:function(Ue,q,p){!function(t,e){"use strict";function b(A,i){if(!A)throw new Error(i||"Assertion failed")}function I(A,i){A.super_=i;var a=function(){};a.prototype=i.prototype,A.prototype=new a,A.prototype.constructor=A}function s(A,i,a){if(s.isBN(A))return A;this.negative=0,this.words=null,this.length=0,this.red=null,null!==A&&(("le"===i||"be"===i)&&(a=i,i=10),this._init(A||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:p(7748).Buffer}catch{}function h(A,i){var a=A.charCodeAt(i);return a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:a-48&15}function P(A,i,a){var u=h(A,a);return a-1>=i&&(u|=h(A,a-1)<<4),u}function d(A,i,a,u){for(var l=0,y=Math.min(A.length,a),T=i;T<y;T++){var D=A.charCodeAt(T)-48;l*=u,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,u){if("number"==typeof i)return this._initNumber(i,a,u);if("object"==typeof i)return this._initArray(i,a,u);"hex"===a&&(a=16),b(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,u):(this._parseBase(i,a,l),"le"===u&&this._initArray(this.toArray(),a,u)))},s.prototype._initNumber=function(i,a,u){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):(b(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===u&&this._initArray(this.toArray(),a,u)},s.prototype._initArray=function(i,a,u){if(b("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,T,D=0;if("be"===u)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(T=i[l]|i[l-1]<<8|i[l-2]<<16)<<D&67108863,this.words[y+1]=T>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);else if("le"===u)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(T=i[l]|i[l+1]<<8|i[l+2]<<16)<<D&67108863,this.words[y+1]=T>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);return this.strip()},s.prototype._parseHex=function(i,a,u){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,T=0;if("be"===u)for(l=i.length-1;l>=a;l-=2)D=P(i,a,l)<<y,this.words[T]|=67108863&D,y>=18?(y-=18,this.words[T+=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[T]|=67108863&D,y>=18?(y-=18,this.words[T+=1]|=D>>>26):y+=8;this.strip()},s.prototype._parseBase=function(i,a,u){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=a)l++;l--,y=y/a|0;for(var T=i.length-u,D=T%l,m=Math.min(T,T-D)+u,n=0,v=u;v<m;v+=l)n=d(i,v,v+l,a),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==D){var B=1;for(n=d(i,v,i.length,a),v=0;v<D;v++)B*=a;this.imuln(B),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 S=["","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],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 R(A,i,a){a.negative=i.negative^A.negative;var u=A.length+i.length|0;a.length=u,u=u-1|0;var l=0|A.words[0],y=0|i.words[0],T=l*y,m=T/67108864|0;a.words[0]=67108863&T;for(var n=1;n<u;n++){for(var v=m>>>26,B=67108863&m,V=Math.min(n,i.length-1),X=Math.max(0,n-A.length+1);X<=V;X++)v+=(T=(l=0|A.words[n-X|0])*(y=0|i.words[X])+B)/67108864|0,B=67108863&T;a.words[n]=0|B,m=0|v}return 0!==m?a.words[n]=0|m:a.length--,a.strip()}s.prototype.toString=function(i,a){var u;if(a=0|a||1,16===(i=i||10)||"hex"===i){u="";for(var l=0,y=0,T=0;T<this.length;T++){var D=this.words[T],m=(16777215&(D<<l|y)).toString(16);u=0!=(y=D>>>24-l&16777215)||T!==this.length-1?S[6-m.length]+m+u:m+u,(l+=2)>=26&&(l-=26,T--)}for(0!==y&&(u=y.toString(16)+u);u.length%a!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],v=O[i];u="";var B=this.clone();for(B.negative=0;!B.isZero();){var V=B.modn(v).toString(i);u=(B=B.idivn(v)).isZero()?V+u:S[n-V.length]+V+u}for(this.isZero()&&(u="0"+u);u.length%a!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}b(!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&&b(!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 b(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,u){var l=this.byteLength(),y=u||Math.max(1,l);b(l<=y,"byte array longer than desired length"),b(y>0,"Requested array length <= 0"),this.strip();var m,n,T="le"===a,D=new i(y),v=this.clone();if(T){for(n=0;!v.isZero();n++)m=v.andln(255),v.iushrn(8),D[n]=m;for(;n<y;n++)D[n]=0}else{for(n=0;n<y-l;n++)D[n]=0;for(n=0;!v.isZero();n++)m=v.andln(255),v.iushrn(8),D[y-n-1]=m}return D},s.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var a=i,u=0;return a>=4096&&(u+=13,a>>>=13),a>=64&&(u+=7,a>>>=7),a>=8&&(u+=4,a>>>=4),a>=2&&(u+=2,a>>>=2),u+a},s.prototype._zeroBits=function(i){if(0===i)return 26;var a=i,u=0;return 8191&a||(u+=13,a>>>=13),127&a||(u+=7,a>>>=7),15&a||(u+=4,a>>>=4),3&a||(u+=2,a>>>=2),1&a||u++,u},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 u=this._zeroBits(this.words[a]);if(i+=u,26!==u)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 b(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 u=0;u<a.length;u++)this.words[u]=this.words[u]&i.words[u];return this.length=a.length,this.strip()},s.prototype.iand=function(i){return b(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,u;this.length>i.length?(a=this,u=i):(a=i,u=this);for(var l=0;l<u.length;l++)this.words[l]=a.words[l]^u.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 b(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){b("number"==typeof i&&i>=0);var a=0|Math.ceil(i/26),u=i%26;this._expand(a),u>0&&a--;for(var l=0;l<a;l++)this.words[l]=67108863&~this.words[l];return u>0&&(this.words[l]=~this.words[l]&67108863>>26-u),this.strip()},s.prototype.notn=function(i){return this.clone().inotn(i)},s.prototype.setn=function(i,a){b("number"==typeof i&&i>=0);var u=i/26|0,l=i%26;return this._expand(u+1),this.words[u]=a?this.words[u]|1<<l:this.words[u]&~(1<<l),this.strip()},s.prototype.iadd=function(i){var a,u,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?(u=this,l=i):(u=i,l=this);for(var y=0,T=0;T<l.length;T++)this.words[T]=67108863&(a=(0|u.words[T])+(0|l.words[T])+y),y=a>>>26;for(;0!==y&&T<u.length;T++)this.words[T]=67108863&(a=(0|u.words[T])+y),y=a>>>26;if(this.length=u.length,0!==y)this.words[this.length]=y,this.length++;else if(u!==this)for(;T<u.length;T++)this.words[T]=u.words[T];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,u=this.cmp(i);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(l=this,y=i):(l=i,y=this);for(var T=0,D=0;D<y.length;D++)T=(a=(0|l.words[D])-(0|y.words[D])+T)>>26,this.words[D]=67108863&a;for(;0!==T&&D<l.length;D++)T=(a=(0|l.words[D])+T)>>26,this.words[D]=67108863&a;if(0===T&&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 z=function(i,a,u){var m,n,v,l=i.words,y=a.words,T=u.words,D=0,B=0|l[0],V=8191&B,X=B>>>13,De=0|l[1],tt=8191&De,je=De>>>13,ze=0|l[2],Le=8191&ze,ye=ze>>>13,ce=0|l[3],ve=8191&ce,oe=ce>>>13,Ke=0|l[4],Ae=8191&Ke,de=Ke>>>13,Ce=0|l[5],te=8191&Ce,Ze=Ce>>>13,Ge=0|l[6],ae=8191&Ge,ge=Ge>>>13,pt=0|l[7],$e=8191&pt,ut=pt>>>13,At=0|l[8],_t=8191&At,lt=At>>>13,St=0|l[9],ke=8191&St,He=St>>>13,wt=0|y[0],W=8191&wt,Fe=wt>>>13,Ft=0|y[1],qe=8191&Ft,Qe=Ft>>>13,Ht=0|y[2],Et=8191&Ht,It=Ht>>>13,bt=0|y[3],we=8191&bt,J=bt>>>13,be=0|y[4],Ve=8191&be,ot=be>>>13,ei=0|y[5],Bt=8191&ei,ti=ei>>>13,mt=0|y[6],nt=8191&mt,yt=mt>>>13,$t=0|y[7],Vt=8191&$t,ft=$t>>>13,Pt=0|y[8],Pe=8191&Pt,it=Pt>>>13,at=0|y[9],ht=8191&at,Lt=at>>>13;u.negative=i.negative^a.negative,u.length=19;var ui=(D+(m=Math.imul(V,W))|0)+((8191&(n=(n=Math.imul(V,Fe))+Math.imul(X,W)|0))<<13)|0;D=((v=Math.imul(X,Fe))+(n>>>13)|0)+(ui>>>26)|0,ui&=67108863,m=Math.imul(tt,W),n=(n=Math.imul(tt,Fe))+Math.imul(je,W)|0,v=Math.imul(je,Fe);var Ti=(D+(m=m+Math.imul(V,qe)|0)|0)+((8191&(n=(n=n+Math.imul(V,Qe)|0)+Math.imul(X,qe)|0))<<13)|0;D=((v=v+Math.imul(X,Qe)|0)+(n>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,m=Math.imul(Le,W),n=(n=Math.imul(Le,Fe))+Math.imul(ye,W)|0,v=Math.imul(ye,Fe),m=m+Math.imul(tt,qe)|0,n=(n=n+Math.imul(tt,Qe)|0)+Math.imul(je,qe)|0,v=v+Math.imul(je,Qe)|0;var yi=(D+(m=m+Math.imul(V,Et)|0)|0)+((8191&(n=(n=n+Math.imul(V,It)|0)+Math.imul(X,Et)|0))<<13)|0;D=((v=v+Math.imul(X,It)|0)+(n>>>13)|0)+(yi>>>26)|0,yi&=67108863,m=Math.imul(ve,W),n=(n=Math.imul(ve,Fe))+Math.imul(oe,W)|0,v=Math.imul(oe,Fe),m=m+Math.imul(Le,qe)|0,n=(n=n+Math.imul(Le,Qe)|0)+Math.imul(ye,qe)|0,v=v+Math.imul(ye,Qe)|0,m=m+Math.imul(tt,Et)|0,n=(n=n+Math.imul(tt,It)|0)+Math.imul(je,Et)|0,v=v+Math.imul(je,It)|0;var Ni=(D+(m=m+Math.imul(V,we)|0)|0)+((8191&(n=(n=n+Math.imul(V,J)|0)+Math.imul(X,we)|0))<<13)|0;D=((v=v+Math.imul(X,J)|0)+(n>>>13)|0)+(Ni>>>26)|0,Ni&=67108863,m=Math.imul(Ae,W),n=(n=Math.imul(Ae,Fe))+Math.imul(de,W)|0,v=Math.imul(de,Fe),m=m+Math.imul(ve,qe)|0,n=(n=n+Math.imul(ve,Qe)|0)+Math.imul(oe,qe)|0,v=v+Math.imul(oe,Qe)|0,m=m+Math.imul(Le,Et)|0,n=(n=n+Math.imul(Le,It)|0)+Math.imul(ye,Et)|0,v=v+Math.imul(ye,It)|0,m=m+Math.imul(tt,we)|0,n=(n=n+Math.imul(tt,J)|0)+Math.imul(je,we)|0,v=v+Math.imul(je,J)|0;var Xe=(D+(m=m+Math.imul(V,Ve)|0)|0)+((8191&(n=(n=n+Math.imul(V,ot)|0)+Math.imul(X,Ve)|0))<<13)|0;D=((v=v+Math.imul(X,ot)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,m=Math.imul(te,W),n=(n=Math.imul(te,Fe))+Math.imul(Ze,W)|0,v=Math.imul(Ze,Fe),m=m+Math.imul(Ae,qe)|0,n=(n=n+Math.imul(Ae,Qe)|0)+Math.imul(de,qe)|0,v=v+Math.imul(de,Qe)|0,m=m+Math.imul(ve,Et)|0,n=(n=n+Math.imul(ve,It)|0)+Math.imul(oe,Et)|0,v=v+Math.imul(oe,It)|0,m=m+Math.imul(Le,we)|0,n=(n=n+Math.imul(Le,J)|0)+Math.imul(ye,we)|0,v=v+Math.imul(ye,J)|0,m=m+Math.imul(tt,Ve)|0,n=(n=n+Math.imul(tt,ot)|0)+Math.imul(je,Ve)|0,v=v+Math.imul(je,ot)|0;var Tt=(D+(m=m+Math.imul(V,Bt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ti)|0)+Math.imul(X,Bt)|0))<<13)|0;D=((v=v+Math.imul(X,ti)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,m=Math.imul(ae,W),n=(n=Math.imul(ae,Fe))+Math.imul(ge,W)|0,v=Math.imul(ge,Fe),m=m+Math.imul(te,qe)|0,n=(n=n+Math.imul(te,Qe)|0)+Math.imul(Ze,qe)|0,v=v+Math.imul(Ze,Qe)|0,m=m+Math.imul(Ae,Et)|0,n=(n=n+Math.imul(Ae,It)|0)+Math.imul(de,Et)|0,v=v+Math.imul(de,It)|0,m=m+Math.imul(ve,we)|0,n=(n=n+Math.imul(ve,J)|0)+Math.imul(oe,we)|0,v=v+Math.imul(oe,J)|0,m=m+Math.imul(Le,Ve)|0,n=(n=n+Math.imul(Le,ot)|0)+Math.imul(ye,Ve)|0,v=v+Math.imul(ye,ot)|0,m=m+Math.imul(tt,Bt)|0,n=(n=n+Math.imul(tt,ti)|0)+Math.imul(je,Bt)|0,v=v+Math.imul(je,ti)|0;var xe=(D+(m=m+Math.imul(V,nt)|0)|0)+((8191&(n=(n=n+Math.imul(V,yt)|0)+Math.imul(X,nt)|0))<<13)|0;D=((v=v+Math.imul(X,yt)|0)+(n>>>13)|0)+(xe>>>26)|0,xe&=67108863,m=Math.imul($e,W),n=(n=Math.imul($e,Fe))+Math.imul(ut,W)|0,v=Math.imul(ut,Fe),m=m+Math.imul(ae,qe)|0,n=(n=n+Math.imul(ae,Qe)|0)+Math.imul(ge,qe)|0,v=v+Math.imul(ge,Qe)|0,m=m+Math.imul(te,Et)|0,n=(n=n+Math.imul(te,It)|0)+Math.imul(Ze,Et)|0,v=v+Math.imul(Ze,It)|0,m=m+Math.imul(Ae,we)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(de,we)|0,v=v+Math.imul(de,J)|0,m=m+Math.imul(ve,Ve)|0,n=(n=n+Math.imul(ve,ot)|0)+Math.imul(oe,Ve)|0,v=v+Math.imul(oe,ot)|0,m=m+Math.imul(Le,Bt)|0,n=(n=n+Math.imul(Le,ti)|0)+Math.imul(ye,Bt)|0,v=v+Math.imul(ye,ti)|0,m=m+Math.imul(tt,nt)|0,n=(n=n+Math.imul(tt,yt)|0)+Math.imul(je,nt)|0,v=v+Math.imul(je,yt)|0;var Rt=(D+(m=m+Math.imul(V,Vt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ft)|0)+Math.imul(X,Vt)|0))<<13)|0;D=((v=v+Math.imul(X,ft)|0)+(n>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,m=Math.imul(_t,W),n=(n=Math.imul(_t,Fe))+Math.imul(lt,W)|0,v=Math.imul(lt,Fe),m=m+Math.imul($e,qe)|0,n=(n=n+Math.imul($e,Qe)|0)+Math.imul(ut,qe)|0,v=v+Math.imul(ut,Qe)|0,m=m+Math.imul(ae,Et)|0,n=(n=n+Math.imul(ae,It)|0)+Math.imul(ge,Et)|0,v=v+Math.imul(ge,It)|0,m=m+Math.imul(te,we)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ze,we)|0,v=v+Math.imul(Ze,J)|0,m=m+Math.imul(Ae,Ve)|0,n=(n=n+Math.imul(Ae,ot)|0)+Math.imul(de,Ve)|0,v=v+Math.imul(de,ot)|0,m=m+Math.imul(ve,Bt)|0,n=(n=n+Math.imul(ve,ti)|0)+Math.imul(oe,Bt)|0,v=v+Math.imul(oe,ti)|0,m=m+Math.imul(Le,nt)|0,n=(n=n+Math.imul(Le,yt)|0)+Math.imul(ye,nt)|0,v=v+Math.imul(ye,yt)|0,m=m+Math.imul(tt,Vt)|0,n=(n=n+Math.imul(tt,ft)|0)+Math.imul(je,Vt)|0,v=v+Math.imul(je,ft)|0;var jt=(D+(m=m+Math.imul(V,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(V,it)|0)+Math.imul(X,Pe)|0))<<13)|0;D=((v=v+Math.imul(X,it)|0)+(n>>>13)|0)+(jt>>>26)|0,jt&=67108863,m=Math.imul(ke,W),n=(n=Math.imul(ke,Fe))+Math.imul(He,W)|0,v=Math.imul(He,Fe),m=m+Math.imul(_t,qe)|0,n=(n=n+Math.imul(_t,Qe)|0)+Math.imul(lt,qe)|0,v=v+Math.imul(lt,Qe)|0,m=m+Math.imul($e,Et)|0,n=(n=n+Math.imul($e,It)|0)+Math.imul(ut,Et)|0,v=v+Math.imul(ut,It)|0,m=m+Math.imul(ae,we)|0,n=(n=n+Math.imul(ae,J)|0)+Math.imul(ge,we)|0,v=v+Math.imul(ge,J)|0,m=m+Math.imul(te,Ve)|0,n=(n=n+Math.imul(te,ot)|0)+Math.imul(Ze,Ve)|0,v=v+Math.imul(Ze,ot)|0,m=m+Math.imul(Ae,Bt)|0,n=(n=n+Math.imul(Ae,ti)|0)+Math.imul(de,Bt)|0,v=v+Math.imul(de,ti)|0,m=m+Math.imul(ve,nt)|0,n=(n=n+Math.imul(ve,yt)|0)+Math.imul(oe,nt)|0,v=v+Math.imul(oe,yt)|0,m=m+Math.imul(Le,Vt)|0,n=(n=n+Math.imul(Le,ft)|0)+Math.imul(ye,Vt)|0,v=v+Math.imul(ye,ft)|0,m=m+Math.imul(tt,Pe)|0,n=(n=n+Math.imul(tt,it)|0)+Math.imul(je,Pe)|0,v=v+Math.imul(je,it)|0;var li=(D+(m=m+Math.imul(V,ht)|0)|0)+((8191&(n=(n=n+Math.imul(V,Lt)|0)+Math.imul(X,ht)|0))<<13)|0;D=((v=v+Math.imul(X,Lt)|0)+(n>>>13)|0)+(li>>>26)|0,li&=67108863,m=Math.imul(ke,qe),n=(n=Math.imul(ke,Qe))+Math.imul(He,qe)|0,v=Math.imul(He,Qe),m=m+Math.imul(_t,Et)|0,n=(n=n+Math.imul(_t,It)|0)+Math.imul(lt,Et)|0,v=v+Math.imul(lt,It)|0,m=m+Math.imul($e,we)|0,n=(n=n+Math.imul($e,J)|0)+Math.imul(ut,we)|0,v=v+Math.imul(ut,J)|0,m=m+Math.imul(ae,Ve)|0,n=(n=n+Math.imul(ae,ot)|0)+Math.imul(ge,Ve)|0,v=v+Math.imul(ge,ot)|0,m=m+Math.imul(te,Bt)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ze,Bt)|0,v=v+Math.imul(Ze,ti)|0,m=m+Math.imul(Ae,nt)|0,n=(n=n+Math.imul(Ae,yt)|0)+Math.imul(de,nt)|0,v=v+Math.imul(de,yt)|0,m=m+Math.imul(ve,Vt)|0,n=(n=n+Math.imul(ve,ft)|0)+Math.imul(oe,Vt)|0,v=v+Math.imul(oe,ft)|0,m=m+Math.imul(Le,Pe)|0,n=(n=n+Math.imul(Le,it)|0)+Math.imul(ye,Pe)|0,v=v+Math.imul(ye,it)|0;var bi=(D+(m=m+Math.imul(tt,ht)|0)|0)+((8191&(n=(n=n+Math.imul(tt,Lt)|0)+Math.imul(je,ht)|0))<<13)|0;D=((v=v+Math.imul(je,Lt)|0)+(n>>>13)|0)+(bi>>>26)|0,bi&=67108863,m=Math.imul(ke,Et),n=(n=Math.imul(ke,It))+Math.imul(He,Et)|0,v=Math.imul(He,It),m=m+Math.imul(_t,we)|0,n=(n=n+Math.imul(_t,J)|0)+Math.imul(lt,we)|0,v=v+Math.imul(lt,J)|0,m=m+Math.imul($e,Ve)|0,n=(n=n+Math.imul($e,ot)|0)+Math.imul(ut,Ve)|0,v=v+Math.imul(ut,ot)|0,m=m+Math.imul(ae,Bt)|0,n=(n=n+Math.imul(ae,ti)|0)+Math.imul(ge,Bt)|0,v=v+Math.imul(ge,ti)|0,m=m+Math.imul(te,nt)|0,n=(n=n+Math.imul(te,yt)|0)+Math.imul(Ze,nt)|0,v=v+Math.imul(Ze,yt)|0,m=m+Math.imul(Ae,Vt)|0,n=(n=n+Math.imul(Ae,ft)|0)+Math.imul(de,Vt)|0,v=v+Math.imul(de,ft)|0,m=m+Math.imul(ve,Pe)|0,n=(n=n+Math.imul(ve,it)|0)+Math.imul(oe,Pe)|0,v=v+Math.imul(oe,it)|0;var Li=(D+(m=m+Math.imul(Le,ht)|0)|0)+((8191&(n=(n=n+Math.imul(Le,Lt)|0)+Math.imul(ye,ht)|0))<<13)|0;D=((v=v+Math.imul(ye,Lt)|0)+(n>>>13)|0)+(Li>>>26)|0,Li&=67108863,m=Math.imul(ke,we),n=(n=Math.imul(ke,J))+Math.imul(He,we)|0,v=Math.imul(He,J),m=m+Math.imul(_t,Ve)|0,n=(n=n+Math.imul(_t,ot)|0)+Math.imul(lt,Ve)|0,v=v+Math.imul(lt,ot)|0,m=m+Math.imul($e,Bt)|0,n=(n=n+Math.imul($e,ti)|0)+Math.imul(ut,Bt)|0,v=v+Math.imul(ut,ti)|0,m=m+Math.imul(ae,nt)|0,n=(n=n+Math.imul(ae,yt)|0)+Math.imul(ge,nt)|0,v=v+Math.imul(ge,yt)|0,m=m+Math.imul(te,Vt)|0,n=(n=n+Math.imul(te,ft)|0)+Math.imul(Ze,Vt)|0,v=v+Math.imul(Ze,ft)|0,m=m+Math.imul(Ae,Pe)|0,n=(n=n+Math.imul(Ae,it)|0)+Math.imul(de,Pe)|0,v=v+Math.imul(de,it)|0;var Gi=(D+(m=m+Math.imul(ve,ht)|0)|0)+((8191&(n=(n=n+Math.imul(ve,Lt)|0)+Math.imul(oe,ht)|0))<<13)|0;D=((v=v+Math.imul(oe,Lt)|0)+(n>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,m=Math.imul(ke,Ve),n=(n=Math.imul(ke,ot))+Math.imul(He,Ve)|0,v=Math.imul(He,ot),m=m+Math.imul(_t,Bt)|0,n=(n=n+Math.imul(_t,ti)|0)+Math.imul(lt,Bt)|0,v=v+Math.imul(lt,ti)|0,m=m+Math.imul($e,nt)|0,n=(n=n+Math.imul($e,yt)|0)+Math.imul(ut,nt)|0,v=v+Math.imul(ut,yt)|0,m=m+Math.imul(ae,Vt)|0,n=(n=n+Math.imul(ae,ft)|0)+Math.imul(ge,Vt)|0,v=v+Math.imul(ge,ft)|0,m=m+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,it)|0)+Math.imul(Ze,Pe)|0,v=v+Math.imul(Ze,it)|0;var ji=(D+(m=m+Math.imul(Ae,ht)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Lt)|0)+Math.imul(de,ht)|0))<<13)|0;D=((v=v+Math.imul(de,Lt)|0)+(n>>>13)|0)+(ji>>>26)|0,ji&=67108863,m=Math.imul(ke,Bt),n=(n=Math.imul(ke,ti))+Math.imul(He,Bt)|0,v=Math.imul(He,ti),m=m+Math.imul(_t,nt)|0,n=(n=n+Math.imul(_t,yt)|0)+Math.imul(lt,nt)|0,v=v+Math.imul(lt,yt)|0,m=m+Math.imul($e,Vt)|0,n=(n=n+Math.imul($e,ft)|0)+Math.imul(ut,Vt)|0,v=v+Math.imul(ut,ft)|0,m=m+Math.imul(ae,Pe)|0,n=(n=n+Math.imul(ae,it)|0)+Math.imul(ge,Pe)|0,v=v+Math.imul(ge,it)|0;var $i=(D+(m=m+Math.imul(te,ht)|0)|0)+((8191&(n=(n=n+Math.imul(te,Lt)|0)+Math.imul(Ze,ht)|0))<<13)|0;D=((v=v+Math.imul(Ze,Lt)|0)+(n>>>13)|0)+($i>>>26)|0,$i&=67108863,m=Math.imul(ke,nt),n=(n=Math.imul(ke,yt))+Math.imul(He,nt)|0,v=Math.imul(He,yt),m=m+Math.imul(_t,Vt)|0,n=(n=n+Math.imul(_t,ft)|0)+Math.imul(lt,Vt)|0,v=v+Math.imul(lt,ft)|0,m=m+Math.imul($e,Pe)|0,n=(n=n+Math.imul($e,it)|0)+Math.imul(ut,Pe)|0,v=v+Math.imul(ut,it)|0;var Gt=(D+(m=m+Math.imul(ae,ht)|0)|0)+((8191&(n=(n=n+Math.imul(ae,Lt)|0)+Math.imul(ge,ht)|0))<<13)|0;D=((v=v+Math.imul(ge,Lt)|0)+(n>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,m=Math.imul(ke,Vt),n=(n=Math.imul(ke,ft))+Math.imul(He,Vt)|0,v=Math.imul(He,ft),m=m+Math.imul(_t,Pe)|0,n=(n=n+Math.imul(_t,it)|0)+Math.imul(lt,Pe)|0,v=v+Math.imul(lt,it)|0;var Kt=(D+(m=m+Math.imul($e,ht)|0)|0)+((8191&(n=(n=n+Math.imul($e,Lt)|0)+Math.imul(ut,ht)|0))<<13)|0;D=((v=v+Math.imul(ut,Lt)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,m=Math.imul(ke,Pe),n=(n=Math.imul(ke,it))+Math.imul(He,Pe)|0,v=Math.imul(He,it);var fe=(D+(m=m+Math.imul(_t,ht)|0)|0)+((8191&(n=(n=n+Math.imul(_t,Lt)|0)+Math.imul(lt,ht)|0))<<13)|0;D=((v=v+Math.imul(lt,Lt)|0)+(n>>>13)|0)+(fe>>>26)|0,fe&=67108863;var Oe=(D+(m=Math.imul(ke,ht))|0)+((8191&(n=(n=Math.imul(ke,Lt))+Math.imul(He,ht)|0))<<13)|0;return D=((v=Math.imul(He,Lt))+(n>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,T[0]=ui,T[1]=Ti,T[2]=yi,T[3]=Ni,T[4]=Xe,T[5]=Tt,T[6]=xe,T[7]=Rt,T[8]=jt,T[9]=li,T[10]=bi,T[11]=Li,T[12]=Gi,T[13]=ji,T[14]=$i,T[15]=Gt,T[16]=Kt,T[17]=fe,T[18]=Oe,0!==D&&(T[19]=D,u.length++),u};function Y(A,i,a){return(new K).mulp(A,i,a)}function K(A,i){this.x=A,this.y=i}Math.imul||(z=R),s.prototype.mulTo=function(i,a){var u,l=this.length+i.length;return u=10===this.length&&10===i.length?z(this,i,a):l<63?R(this,i,a):l<1024?function U(A,i,a){a.negative=i.negative^A.negative,a.length=A.length+i.length;for(var u=0,l=0,y=0;y<a.length-1;y++){var T=l;l=0;for(var D=67108863&u,m=Math.min(y,i.length-1),n=Math.max(0,y-A.length+1);n<=m;n++){var X=(0|A.words[y-n])*(0|i.words[n]),De=67108863&X;D=67108863&(De=De+D|0),l+=(T=(T=T+(X/67108864|0)|0)+(De>>>26)|0)>>>26,T&=67108863}a.words[y]=D,u=T,T=l}return 0!==u?a.words[y]=u:a.length--,a.strip()}(this,i,a):Y(this,i,a),u},K.prototype.makeRBT=function(i){for(var a=new Array(i),u=s.prototype._countBits(i)-1,l=0;l<i;l++)a[l]=this.revBin(l,u,i);return a},K.prototype.revBin=function(i,a,u){if(0===i||i===u-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,u,l,y,T){for(var D=0;D<T;D++)l[D]=a[i[D]],y[D]=u[i[D]]},K.prototype.transform=function(i,a,u,l,y,T){this.permute(T,i,a,u,l,y);for(var D=1;D<y;D<<=1)for(var m=D<<1,n=Math.cos(2*Math.PI/m),v=Math.sin(2*Math.PI/m),B=0;B<y;B+=m)for(var V=n,X=v,De=0;De<D;De++){var tt=u[B+De],je=l[B+De],ze=u[B+De+D],Le=l[B+De+D],ye=V*ze-X*Le;Le=V*Le+X*ze,u[B+De]=tt+(ze=ye),l[B+De]=je+Le,u[B+De+D]=tt-ze,l[B+De+D]=je-Le,De!==m&&(ye=n*V-v*X,X=n*X+v*V,V=ye)}},K.prototype.guessLen13b=function(i,a){var u=1|Math.max(a,i),l=1&u,y=0;for(u=u/2|0;u;u>>>=1)y++;return 1<<y+1+l},K.prototype.conjugate=function(i,a,u){if(!(u<=1))for(var l=0;l<u/2;l++){var y=i[l];i[l]=i[u-l-1],i[u-l-1]=y,y=a[l],a[l]=-a[u-l-1],a[u-l-1]=-y}},K.prototype.normalize13b=function(i,a){for(var u=0,l=0;l<a/2;l++){var y=8192*Math.round(i[2*l+1]/a)+Math.round(i[2*l]/a)+u;i[l]=67108863&y,u=y<67108864?0:y/67108864|0}return i},K.prototype.convert13b=function(i,a,u,l){for(var y=0,T=0;T<a;T++)u[2*T]=8191&(y+=0|i[T]),u[2*T+1]=8191&(y>>>=13),y>>>=13;for(T=2*a;T<l;++T)u[T]=0;b(0===y),b(0==(-8192&y))},K.prototype.stub=function(i){for(var a=new Array(i),u=0;u<i;u++)a[u]=0;return a},K.prototype.mulp=function(i,a,u){var l=2*this.guessLen13b(i.length,a.length),y=this.makeRBT(l),T=this.stub(l),D=new Array(l),m=new Array(l),n=new Array(l),v=new Array(l),B=new Array(l),V=new Array(l),X=u.words;X.length=l,this.convert13b(i.words,i.length,D,l),this.convert13b(a.words,a.length,v,l),this.transform(D,T,m,n,l,y),this.transform(v,T,B,V,l,y);for(var De=0;De<l;De++){var tt=m[De]*B[De]-n[De]*V[De];n[De]=m[De]*V[De]+n[De]*B[De],m[De]=tt}return this.conjugate(m,n,l),this.transform(m,n,X,T,l,y),this.conjugate(X,T,l),this.normalize13b(X,l),u.negative=i.negative^a.negative,u.length=i.length+a.length,u.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),Y(this,i,a)},s.prototype.imul=function(i){return this.clone().mulTo(i,this)},s.prototype.imuln=function(i){b("number"==typeof i),b(i<67108864);for(var a=0,u=0;u<this.length;u++){var l=(0|this.words[u])*i,y=(67108863&l)+(67108863&a);a>>=26,a+=l/67108864|0,a+=y>>>26,this.words[u]=67108863&y}return 0!==a&&(this.words[u]=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 E(A){for(var i=new Array(A.bitLength()),a=0;a<i.length;a++){var l=a%26;i[a]=(A.words[a/26|0]&1<<l)>>>l}return i}(i);if(0===a.length)return new s(1);for(var u=this,l=0;l<a.length&&0===a[l];l++,u=u.sqr());if(++l<a.length)for(var y=u.sqr();l<a.length;l++,y=y.sqr())0!==a[l]&&(u=u.mul(y));return u},s.prototype.iushln=function(i){b("number"==typeof i&&i>=0);var y,a=i%26,u=(i-a)/26,l=67108863>>>26-a<<26-a;if(0!==a){var T=0;for(y=0;y<this.length;y++){var D=this.words[y]&l;this.words[y]=(0|this.words[y])-D<<a|T,T=D>>>26-a}T&&(this.words[y]=T,this.length++)}if(0!==u){for(y=this.length-1;y>=0;y--)this.words[y+u]=this.words[y];for(y=0;y<u;y++)this.words[y]=0;this.length+=u}return this.strip()},s.prototype.ishln=function(i){return b(0===this.negative),this.iushln(i)},s.prototype.iushrn=function(i,a,u){var l;b("number"==typeof i&&i>=0),l=a?(a-a%26)/26:0;var y=i%26,T=Math.min((i-y)/26,this.length),D=67108863^67108863>>>y<<y,m=u;if(l-=T,l=Math.max(0,l),m){for(var n=0;n<T;n++)m.words[n]=this.words[n];m.length=T}if(0!==T)if(this.length>T)for(this.length-=T,n=0;n<this.length;n++)this.words[n]=this.words[n+T];else this.words[0]=0,this.length=1;var v=0;for(n=this.length-1;n>=0&&(0!==v||n>=l);n--){var B=0|this.words[n];this.words[n]=v<<26-y|B>>>y,v=B&D}return m&&0!==v&&(m.words[m.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(i,a,u){return b(0===this.negative),this.iushrn(i,a,u)},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){b("number"==typeof i&&i>=0);var a=i%26,u=(i-a)/26;return!(this.length<=u||!(this.words[u]&1<<a))},s.prototype.imaskn=function(i){b("number"==typeof i&&i>=0);var a=i%26,u=(i-a)/26;return b(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==a&&u++,this.length=Math.min(u,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 b("number"==typeof i),b(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(b("number"==typeof i),b(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,u){var y;this._expand(i.length+u);var T,D=0;for(y=0;y<i.length;y++){T=(0|this.words[y+u])+D;var m=(0|i.words[y])*a;D=((T-=67108863&m)>>26)-(m/67108864|0),this.words[y+u]=67108863&T}for(;y<this.length-u;y++)D=(T=(0|this.words[y+u])+D)>>26,this.words[y+u]=67108863&T;if(0===D)return this.strip();for(b(-1===D),D=0,y=0;y<this.length;y++)D=(T=-(0|this.words[y])+D)>>26,this.words[y]=67108863&T;return this.negative=1,this.strip()},s.prototype._wordDiv=function(i,a){var u,l=this.clone(),y=i,T=0|y.words[y.length-1];0!=(u=26-this._countBits(T))&&(y=y.ushln(u),l.iushln(u),T=0|y.words[y.length-1]);var n,m=l.length-y.length;if("mod"!==a){(n=new s(null)).length=m+1,n.words=new Array(n.length);for(var v=0;v<n.length;v++)n.words[v]=0}var B=l.clone()._ishlnsubmul(y,1,m);0===B.negative&&(l=B,n&&(n.words[m]=1));for(var V=m-1;V>=0;V--){var X=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(X=Math.min(X/T|0,67108863),l._ishlnsubmul(y,X,V);0!==l.negative;)X--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=X)}return n&&n.strip(),l.strip(),"div"!==a&&0!==u&&l.iushrn(u),{div:n||null,mod:l}},s.prototype.divmod=function(i,a,u){return b(!i.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===i.negative?(T=this.neg().divmod(i,a),"mod"!==a&&(l=T.div.neg()),"div"!==a&&(y=T.mod.neg(),u&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(T=this.divmod(i.neg(),a),"mod"!==a&&(l=T.div.neg()),{div:l,mod:T.mod}):this.negative&i.negative?(T=this.neg().divmod(i.neg(),a),"div"!==a&&(y=T.mod.neg(),u&&0!==y.negative&&y.isub(i)),{div:T.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,T},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 u=0!==a.div.negative?a.mod.isub(i):a.mod,l=i.ushrn(1),y=i.andln(1),T=u.cmp(l);return T<0||1===y&&0===T?a.div:0!==a.div.negative?a.div.isubn(1):a.div.iaddn(1)},s.prototype.modn=function(i){b(i<=67108863);for(var a=(1<<26)%i,u=0,l=this.length-1;l>=0;l--)u=(a*u+(0|this.words[l]))%i;return u},s.prototype.idivn=function(i){b(i<=67108863);for(var a=0,u=this.length-1;u>=0;u--){var l=(0|this.words[u])+67108864*a;this.words[u]=l/i|0,a=l%i}return this.strip()},s.prototype.divn=function(i){return this.clone().idivn(i)},s.prototype.egcd=function(i){b(0===i.negative),b(!i.isZero());var a=this,u=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),T=new s(0),D=new s(1),m=0;a.isEven()&&u.isEven();)a.iushrn(1),u.iushrn(1),++m;for(var n=u.clone(),v=a.clone();!a.isZero();){for(var B=0,V=1;!(a.words[0]&V)&&B<26;++B,V<<=1);if(B>0)for(a.iushrn(B);B-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(v)),l.iushrn(1),y.iushrn(1);for(var X=0,De=1;!(u.words[0]&De)&&X<26;++X,De<<=1);if(X>0)for(u.iushrn(X);X-- >0;)(T.isOdd()||D.isOdd())&&(T.iadd(n),D.isub(v)),T.iushrn(1),D.iushrn(1);a.cmp(u)>=0?(a.isub(u),l.isub(T),y.isub(D)):(u.isub(a),T.isub(l),D.isub(y))}return{a:T,b:D,gcd:u.iushln(m)}},s.prototype._invmp=function(i){b(0===i.negative),b(!i.isZero());var B,a=this,u=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),T=u.clone();a.cmpn(1)>0&&u.cmpn(1)>0;){for(var D=0,m=1;!(a.words[0]&m)&&D<26;++D,m<<=1);if(D>0)for(a.iushrn(D);D-- >0;)l.isOdd()&&l.iadd(T),l.iushrn(1);for(var n=0,v=1;!(u.words[0]&v)&&n<26;++n,v<<=1);if(n>0)for(u.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(T),y.iushrn(1);a.cmp(u)>=0?(a.isub(u),l.isub(y)):(u.isub(a),y.isub(l))}return(B=0===a.cmpn(1)?l:y).cmpn(0)<0&&B.iadd(i),B},s.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var a=this.clone(),u=i.clone();a.negative=0,u.negative=0;for(var l=0;a.isEven()&&u.isEven();l++)a.iushrn(1),u.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;u.isEven();)u.iushrn(1);var y=a.cmp(u);if(y<0){var T=a;a=u,u=T}else if(0===y||0===u.cmpn(1))break;a.isub(u)}return u.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){b("number"==typeof i);var a=i%26,u=(i-a)/26,l=1<<a;if(this.length<=u)return this._expand(u+1),this.words[u]|=l,this;for(var y=l,T=u;0!==y&&T<this.length;T++){var D=0|this.words[T];y=(D+=y)>>>26,this.words[T]=D&=67108863}return 0!==y&&(this.words[T]=y,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(i){var u,a=i<0;if(0!==this.negative&&!a)return-1;if(0===this.negative&&a)return 1;if(this.strip(),this.length>1)u=1;else{a&&(i=-i),b(i<=67108863,"Number is too big");var l=0|this.words[0];u=l===i?0:l<i?-1:1}return 0!==this.negative?0|-u:u},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,u=this.length-1;u>=0;u--){var l=0|this.words[u],y=0|i.words[u];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 ee(i)},s.prototype.toRed=function(i){return b(!this.red,"Already a number in reduction context"),b(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},s.prototype.fromRed=function(){return b(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 b(!this.red,"Already a number in reduction context"),this._forceRed(i)},s.prototype.redAdd=function(i){return b(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},s.prototype.redIAdd=function(i){return b(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},s.prototype.redSub=function(i){return b(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},s.prototype.redISub=function(i){return b(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},s.prototype.redShl=function(i){return b(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},s.prototype.redMul=function(i){return b(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},s.prototype.redIMul=function(i){return b(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},s.prototype.redSqr=function(){return b(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return b(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return b(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return b(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return b(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(i){return b(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var $={k256:null,p224:null,p192:null,p25519:null};function ie(A,i){this.name=A,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 ue(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function he(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function le(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ee(A){if("string"==typeof A){var i=s._prime(A);this.m=i.p,this.prime=i}else b(A.gtn(1),"modulus must be greater than 1"),this.m=A,this.prime=null}function me(A){ee.call(this,A),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)}ie.prototype._tmp=function(){var i=new s(null);return i.words=new Array(Math.ceil(this.n/13)),i},ie.prototype.ireduce=function(i){var u,a=i;do{this.split(a,this.tmp),u=(a=(a=this.imulK(a)).iadd(this.tmp)).bitLength()}while(u>this.n);var l=u<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},ie.prototype.split=function(i,a){i.iushrn(this.n,0,a)},ie.prototype.imulK=function(i){return i.imul(this.k)},I(ue,ie),ue.prototype.split=function(i,a){for(var u=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 T=i.words[9];for(a.words[a.length++]=T&u,y=10;y<i.length;y++){var D=0|i.words[y];i.words[y-10]=(D&u)<<4|T>>>22,T=D}i.words[y-10]=T>>>=22,i.length-=0===T&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var a=0,u=0;u<i.length;u++){var l=0|i.words[u];i.words[u]=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},I(he,ie),I(ne,ie),I(le,ie),le.prototype.imulK=function(i){for(var a=0,u=0;u<i.length;u++){var l=19*(0|i.words[u])+a,y=67108863&l;l>>>=26,i.words[u]=y,a=l}return 0!==a&&(i.words[i.length++]=a),i},s._prime=function(i){if($[i])return $[i];var a;if("k256"===i)a=new ue;else if("p224"===i)a=new he;else if("p192"===i)a=new ne;else{if("p25519"!==i)throw new Error("Unknown prime "+i);a=new le}return $[i]=a,a},ee.prototype._verify1=function(i){b(0===i.negative,"red works only with positives"),b(i.red,"red works only with red numbers")},ee.prototype._verify2=function(i,a){b(0==(i.negative|a.negative),"red works only with positives"),b(i.red&&i.red===a.red,"red works only with red numbers")},ee.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},ee.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},ee.prototype.add=function(i,a){this._verify2(i,a);var u=i.add(a);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},ee.prototype.iadd=function(i,a){this._verify2(i,a);var u=i.iadd(a);return u.cmp(this.m)>=0&&u.isub(this.m),u},ee.prototype.sub=function(i,a){this._verify2(i,a);var u=i.sub(a);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},ee.prototype.isub=function(i,a){this._verify2(i,a);var u=i.isub(a);return u.cmpn(0)<0&&u.iadd(this.m),u},ee.prototype.shl=function(i,a){return this._verify1(i),this.imod(i.ushln(a))},ee.prototype.imul=function(i,a){return this._verify2(i,a),this.imod(i.imul(a))},ee.prototype.mul=function(i,a){return this._verify2(i,a),this.imod(i.mul(a))},ee.prototype.isqr=function(i){return this.imul(i,i.clone())},ee.prototype.sqr=function(i){return this.mul(i,i)},ee.prototype.sqrt=function(i){if(i.isZero())return i.clone();var a=this.m.andln(3);if(b(a%2==1),3===a){var u=this.m.add(new s(1)).iushrn(2);return this.pow(i,u)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);b(!l.isZero());var T=new s(1).toRed(this),D=T.redNeg(),m=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new s(2*n*n).toRed(this);0!==this.pow(n,m).cmp(D);)n.redIAdd(D);for(var v=this.pow(n,l),B=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),X=y;0!==V.cmp(T);){for(var De=V,tt=0;0!==De.cmp(T);tt++)De=De.redSqr();b(tt<X);var je=this.pow(v,new s(1).iushln(X-tt-1));B=B.redMul(je),v=je.redSqr(),V=V.redMul(v),X=tt}return B},ee.prototype.invm=function(i){var a=i._invmp(this.m);return 0!==a.negative?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},ee.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 T=l[0],D=0,m=0,n=a.bitLength()%26;for(0===n&&(n=26),y=a.length-1;y>=0;y--){for(var v=a.words[y],B=n-1;B>=0;B--){var V=v>>B&1;T!==l[0]&&(T=this.sqr(T)),0!==V||0!==D?(D<<=1,D|=V,(4==++m||0===y&&0===B)&&(T=this.mul(T,l[D]),m=0,D=0)):m=0}n=26}return T},ee.prototype.convertTo=function(i){var a=i.umod(this.m);return a===i?a.clone():a},ee.prototype.convertFrom=function(i){var a=i.clone();return a.red=null,a},s.mont=function(i){return new me(i)},I(me,ee),me.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},me.prototype.convertFrom=function(i){var a=this.imod(i.mul(this.rinv));return a.red=null,a},me.prototype.imul=function(i,a){if(i.isZero()||a.isZero())return i.words[0]=0,i.length=1,i;var u=i.imul(a),l=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=u.isub(l).iushrn(this.shift),T=y;return y.cmp(this.m)>=0?T=y.isub(this.m):y.cmpn(0)<0&&(T=y.iadd(this.m)),T._forceRed(this)},me.prototype.mul=function(i,a){if(i.isZero()||a.isZero())return new s(0)._forceRed(this);var u=i.mul(a),l=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=u.isub(l).iushrn(this.shift),T=y;return y.cmp(this.m)>=0?T=y.isub(this.m):y.cmpn(0)<0&&(T=y.iadd(this.m)),T._forceRed(this)},me.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ue=p.nmd(Ue),this)},4901:Ue=>{"use strict";var q={single_source_shortest_paths:function(p,t,e){var b={},I={};I[t]=0;var C,h,P,d,S,O,s=q.PriorityQueue.make();for(s.push(t,0);!s.empty();)for(P in d=(C=s.pop()).cost,S=p[h=C.value]||{})S.hasOwnProperty(P)&&(O=d+S[P],(typeof I[P]>"u"||I[P]>O)&&(I[P]=O,s.push(P,O),b[P]=h));if(typeof e<"u"&&typeof I[e]>"u"){var z=["Could not find a path from ",t," to ",e,"."].join("");throw new Error(z)}return b},extract_shortest_path_from_predecessor_list:function(p,t){for(var e=[],b=t;b;)e.push(b),b=p[b];return e.reverse(),e},find_path:function(p,t,e){var b=q.single_source_shortest_paths(p,t,e);return q.extract_shortest_path_from_predecessor_list(b,e)},PriorityQueue:{make:function(p){var b,t=q.PriorityQueue,e={};for(b in p=p||{},t)t.hasOwnProperty(b)&&(e[b]=t[b]);return e.queue=[],e.sorter=p.sorter||t.default_sorter,e},default_sorter:function(p,t){return p.cost-t.cost},push:function(p,t){this.queue.push({value:p,cost:t}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Ue.exports=q},7715:(Ue,q,p)=>{"use strict";var t=q;t.version=p(8597).i8,t.utils=p(1970),t.rand=p(7950),t.curve=p(6270),t.curves=p(2916),t.ec=p(7626),t.eddsa=p(1885)},7902:(Ue,q,p)=>{"use strict";var t=p(7433),e=p(1970),b=e.getNAF,I=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 S=this.n&&this.p.div(this.n);!S||S.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}Ue.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,S){s(d.precomputed);var w=d._getDoubles(),O=b(S,1,this._bitLength),E=(1<<w.step+1)-(w.step%2==0?2:1);E/=3;var z,U,R=[];for(z=0;z<O.length;z+=w.step){U=0;for(var Y=z+w.step-1;Y>=z;Y--)U=(U<<1)+O[Y];R.push(U)}for(var K=this.jpoint(null,null,null),$=this.jpoint(null,null,null),ie=E;ie>0;ie--){for(z=0;z<R.length;z++)(U=R[z])===ie?$=$.mixedAdd(w.points[z]):U===-ie&&($=$.mixedAdd(w.points[z].neg()));K=K.add($)}return K.toP()},C.prototype._wnafMul=function(d,S){for(var w=4,O=d._getNAFPoints(w),E=O.points,R=b(S,w=O.wnd,this._bitLength),z=this.jpoint(null,null,null),U=R.length-1;U>=0;U--){for(var Y=0;U>=0&&0===R[U];U--)Y++;if(U>=0&&Y++,z=z.dblp(Y),U<0)break;var K=R[U];s(0!==K),z="affine"===d.type?z.mixedAdd(K>0?E[K-1>>1]:E[-K-1>>1].neg()):z.add(K>0?E[K-1>>1]:E[-K-1>>1].neg())}return"affine"===d.type?z.toP():z},C.prototype._wnafMulAdd=function(d,S,w,O,E){var K,$,ie,R=this._wnafT1,z=this._wnafT2,U=this._wnafT3,Y=0;for(K=0;K<O;K++){var ue=(ie=S[K])._getNAFPoints(d);R[K]=ue.wnd,z[K]=ue.points}for(K=O-1;K>=1;K-=2){var he=K-1,ne=K;if(1===R[he]&&1===R[ne]){var le=[S[he],null,null,S[ne]];0===S[he].y.cmp(S[ne].y)?(le[1]=S[he].add(S[ne]),le[2]=S[he].toJ().mixedAdd(S[ne].neg())):0===S[he].y.cmp(S[ne].y.redNeg())?(le[1]=S[he].toJ().mixedAdd(S[ne]),le[2]=S[he].add(S[ne].neg())):(le[1]=S[he].toJ().mixedAdd(S[ne]),le[2]=S[he].toJ().mixedAdd(S[ne].neg()));var ee=[-3,-1,-5,-7,0,7,5,1,3],me=I(w[he],w[ne]);for(Y=Math.max(me[0].length,Y),U[he]=new Array(Y),U[ne]=new Array(Y),$=0;$<Y;$++)U[he][$]=ee[3*(1+(0|me[0][$]))+(1+(0|me[1][$]))],U[ne][$]=0,z[he]=le}else U[he]=b(w[he],R[he],this._bitLength),U[ne]=b(w[ne],R[ne],this._bitLength),Y=Math.max(U[he].length,Y),Y=Math.max(U[ne].length,Y)}var a=this.jpoint(null,null,null),u=this._wnafT4;for(K=Y;K>=0;K--){for(var l=0;K>=0;){var y=!0;for($=0;$<O;$++)u[$]=0|U[$][K],0!==u[$]&&(y=!1);if(!y)break;l++,K--}if(K>=0&&l++,a=a.dblp(l),K<0)break;for($=0;$<O;$++){var T=u[$];0!==T&&(T>0?ie=z[$][T-1>>1]:T<0&&(ie=z[$][-T-1>>1].neg()),a="affine"===ie.type?a.mixedAdd(ie):a.add(ie))}}for(K=0;K<O;K++)z[K]=null;return E?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,S){d=e.toArray(d,S);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 S=this.curve.p.byteLength(),w=this.getX().toArray("be",S);return d?[this.getY().isEven()?2:3].concat(w):[4].concat(w,this.getY().toArray("be",S))},h.prototype.encode=function(d,S){return e.encode(this._encode(S),d)},h.prototype.precompute=function(d){if(this.precomputed)return this;var S={doubles:null,naf:null,beta:null};return S.naf=this._getNAFPoints(8),S.doubles=this._getDoubles(4,d),S.beta=this._getBeta(),this.precomputed=S,this},h.prototype._hasDoubles=function(d){if(!this.precomputed)return!1;var S=this.precomputed.doubles;return!!S&&S.points.length>=Math.ceil((d.bitLength()+1)/S.step)},h.prototype._getDoubles=function(d,S){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var w=[this],O=this,E=0;E<S;E+=d){for(var R=0;R<d;R++)O=O.dbl();w.push(O)}return{step:d,points:w}},h.prototype._getNAFPoints=function(d){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var S=[this],w=(1<<d)-1,O=1===w?null:this.dbl(),E=1;E<w;E++)S[E]=S[E-1].add(O);return{wnd:d,points:S}},h.prototype._getBeta=function(){return null},h.prototype.dblp=function(d){for(var S=this,w=0;w<d;w++)S=S.dbl();return S}},3835:(Ue,q,p)=>{"use strict";var t=p(1970),e=p(7433),b=p(3894),I=p(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,I.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,S,w,O){I.BasePoint.call(this,P,"projective"),null===d&&null===S&&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(S,16),this.z=w?new e(w,16):this.curve.one,this.t=O&&new e(O,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()))))}b(C,I),Ue.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,S,w,O){return this.point(d,S,w,O)},C.prototype.pointFromX=function(d,S){(d=new e(d,16)).red||(d=d.toRed(this.red));var w=d.redSqr(),O=this.c2.redSub(this.a.redMul(w)),E=this.one.redSub(this.c2.redMul(this.d).redMul(w)),R=O.redMul(E.redInvm()),z=R.redSqrt();if(0!==z.redSqr().redSub(R).cmp(this.zero))throw new Error("invalid point");var U=z.fromRed().isOdd();return(S&&!U||!S&&U)&&(z=z.redNeg()),this.point(d,z)},C.prototype.pointFromY=function(d,S){(d=new e(d,16)).red||(d=d.toRed(this.red));var w=d.redSqr(),O=w.redSub(this.c2),E=w.redMul(this.d).redMul(this.c2).redSub(this.a),R=O.redMul(E.redInvm());if(0===R.cmp(this.zero)){if(S)throw new Error("invalid point");return this.point(this.zero,d)}var z=R.redSqrt();if(0!==z.redSqr().redSub(R).cmp(this.zero))throw new Error("invalid point");return z.fromRed().isOdd()!==S&&(z=z.redNeg()),this.point(z,d)},C.prototype.validate=function(d){if(d.isInfinity())return!0;d.normalize();var S=d.x.redSqr(),w=d.y.redSqr(),O=S.redMul(this.a).redAdd(w),E=this.c2.redMul(this.one.redAdd(this.d.redMul(S).redMul(w)));return 0===O.cmp(E)},b(h,I.BasePoint),C.prototype.pointFromJSON=function(d){return h.fromJSON(this,d)},C.prototype.point=function(d,S,w,O){return new h(this,d,S,w,O)},h.fromJSON=function(d,S){return new h(d,S[0],S[1],S[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(),S=this.y.redSqr(),w=this.z.redSqr();w=w.redIAdd(w);var O=this.curve._mulA(d),E=this.x.redAdd(this.y).redSqr().redISub(d).redISub(S),R=O.redAdd(S),z=R.redSub(w),U=O.redSub(S),Y=E.redMul(z),K=R.redMul(U),$=E.redMul(U),ie=z.redMul(R);return this.curve.point(Y,K,ie,$)},h.prototype._projDbl=function(){var O,E,R,z,U,Y,d=this.x.redAdd(this.y).redSqr(),S=this.x.redSqr(),w=this.y.redSqr();if(this.curve.twisted){var K=(z=this.curve._mulA(S)).redAdd(w);this.zOne?(O=d.redSub(S).redSub(w).redMul(K.redSub(this.curve.two)),E=K.redMul(z.redSub(w)),R=K.redSqr().redSub(K).redSub(K)):(U=this.z.redSqr(),Y=K.redSub(U).redISub(U),O=d.redSub(S).redISub(w).redMul(Y),E=K.redMul(z.redSub(w)),R=K.redMul(Y))}else z=S.redAdd(w),U=this.curve._mulC(this.z).redSqr(),Y=z.redSub(U).redSub(U),O=this.curve._mulC(d.redISub(z)).redMul(Y),E=this.curve._mulC(z).redMul(S.redISub(w)),R=z.redMul(Y);return this.curve.point(O,E,R)},h.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},h.prototype._extAdd=function(d){var S=this.y.redSub(this.x).redMul(d.y.redSub(d.x)),w=this.y.redAdd(this.x).redMul(d.y.redAdd(d.x)),O=this.t.redMul(this.curve.dd).redMul(d.t),E=this.z.redMul(d.z.redAdd(d.z)),R=w.redSub(S),z=E.redSub(O),U=E.redAdd(O),Y=w.redAdd(S),K=R.redMul(z),$=U.redMul(Y),ie=R.redMul(Y),ue=z.redMul(U);return this.curve.point(K,$,ue,ie)},h.prototype._projAdd=function(d){var $,ie,S=this.z.redMul(d.z),w=S.redSqr(),O=this.x.redMul(d.x),E=this.y.redMul(d.y),R=this.curve.d.redMul(O).redMul(E),z=w.redSub(R),U=w.redAdd(R),Y=this.x.redAdd(this.y).redMul(d.x.redAdd(d.y)).redISub(O).redISub(E),K=S.redMul(z).redMul(Y);return this.curve.twisted?($=S.redMul(U).redMul(E.redSub(this.curve._mulA(O))),ie=z.redMul(U)):($=S.redMul(U).redMul(E.redSub(O)),ie=this.curve._mulC(z).redMul(U)),this.curve.point(K,$,ie)},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,S,w){return this.curve._wnafMulAdd(1,[this,S],[d,w],2,!1)},h.prototype.jmulAdd=function(d,S,w){return this.curve._wnafMulAdd(1,[this,S],[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 S=d.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(S))return!0;for(var w=d.clone(),O=this.curve.redN.redMul(this.z);;){if(w.iadd(this.curve.n),w.cmp(this.curve.p)>=0)return!1;if(S.redIAdd(O),0===this.x.cmp(S))return!0}},h.prototype.toP=h.prototype.normalize,h.prototype.mixedAdd=h.prototype.add},6270:(Ue,q,p)=>{"use strict";var t=q;t.base=p(7902),t.short=p(1781),t.mont=p(7064),t.edwards=p(3835)},7064:(Ue,q,p)=>{"use strict";var t=p(7433),e=p(3894),b=p(7902),I=p(1970);function s(h){b.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){b.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,b),Ue.exports=s,s.prototype.validate=function(P){var d=P.normalize().x,S=d.redSqr(),w=S.redMul(d).redAdd(S.redMul(this.a)).redAdd(d);return 0===w.redSqrt().redSqr().cmp(w)},e(C,b.BasePoint),s.prototype.decodePoint=function(P,d){return this.point(I.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(),O=d.redSub(w),E=d.redMul(w),R=O.redMul(w.redAdd(this.curve.a24.redMul(O)));return this.curve.point(E,R)},C.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},C.prototype.diffAdd=function(P,d){var S=this.x.redAdd(this.z),w=this.x.redSub(this.z),O=P.x.redAdd(P.z),R=P.x.redSub(P.z).redMul(S),z=O.redMul(w),U=d.z.redMul(R.redAdd(z).redSqr()),Y=d.x.redMul(R.redISub(z).redSqr());return this.curve.point(U,Y)},C.prototype.mul=function(P){for(var d=P.clone(),S=this,w=this.curve.point(null,null),E=[];0!==d.cmpn(0);d.iushrn(1))E.push(d.andln(1));for(var R=E.length-1;R>=0;R--)0===E[R]?(S=S.diffAdd(w,this),w=w.dbl()):(w=S.diffAdd(w,this),S=S.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:(Ue,q,p)=>{"use strict";var t=p(1970),e=p(7433),b=p(3894),I=p(7902),s=t.assert;function C(d){I.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,S,w,O){I.BasePoint.call(this,d,"affine"),null===S&&null===w?(this.x=null,this.y=null,this.inf=!0):(this.x=new e(S,16),this.y=new e(w,16),O&&(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,S,w,O){I.BasePoint.call(this,d,"jacobian"),null===S&&null===w&&null===O?(this.x=this.curve.one,this.y=this.curve.one,this.z=new e(0)):(this.x=new e(S,16),this.y=new e(w,16),this.z=new e(O,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}b(C,I),Ue.exports=C,C.prototype._getEndomorphism=function(S){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var w,O;if(S.beta)w=new e(S.beta,16).toRed(this.red);else{var E=this._getEndoRoots(this.p);w=(w=E[0].cmp(E[1])<0?E[0]:E[1]).toRed(this.red)}if(S.lambda)O=new e(S.lambda,16);else{var R=this._getEndoRoots(this.n);0===this.g.mul(R[0]).x.cmp(this.g.x.redMul(w))?O=R[0]:s(0===this.g.mul(O=R[1]).x.cmp(this.g.x.redMul(w)))}return{beta:w,lambda:O,basis:S.basis?S.basis.map(function(U){return{a:new e(U.a,16),b:new e(U.b,16)}}):this._getEndoBasis(O)}}},C.prototype._getEndoRoots=function(S){var w=S===this.p?this.red:e.mont(S),O=new e(2).toRed(w).redInvm(),E=O.redNeg(),R=new e(3).toRed(w).redNeg().redSqrt().redMul(O);return[E.redAdd(R).fromRed(),E.redSub(R).fromRed()]},C.prototype._getEndoBasis=function(S){for(var K,$,ie,ue,he,ne,le,me,A,w=this.n.ushrn(Math.floor(this.n.bitLength()/2)),O=S,E=this.n.clone(),R=new e(1),z=new e(0),U=new e(0),Y=new e(1),ee=0;0!==O.cmpn(0);){var i=E.div(O);me=E.sub(i.mul(O)),A=U.sub(i.mul(R));var a=Y.sub(i.mul(z));if(!ie&&me.cmp(w)<0)K=le.neg(),$=R,ie=me.neg(),ue=A;else if(ie&&2==++ee)break;le=me,E=O,O=me,U=R,R=A,Y=z,z=a}he=me.neg(),ne=A;var u=ie.sqr().add(ue.sqr());return he.sqr().add(ne.sqr()).cmp(u)>=0&&(he=K,ne=$),ie.negative&&(ie=ie.neg(),ue=ue.neg()),he.negative&&(he=he.neg(),ne=ne.neg()),[{a:ie,b:ue},{a:he,b:ne}]},C.prototype._endoSplit=function(S){var w=this.endo.basis,O=w[0],E=w[1],R=E.b.mul(S).divRound(this.n),z=O.b.neg().mul(S).divRound(this.n),U=R.mul(O.a),Y=z.mul(E.a),K=R.mul(O.b),$=z.mul(E.b);return{k1:S.sub(U).sub(Y),k2:K.add($).neg()}},C.prototype.pointFromX=function(S,w){(S=new e(S,16)).red||(S=S.toRed(this.red));var O=S.redSqr().redMul(S).redIAdd(S.redMul(this.a)).redIAdd(this.b),E=O.redSqrt();if(0!==E.redSqr().redSub(O).cmp(this.zero))throw new Error("invalid point");var R=E.fromRed().isOdd();return(w&&!R||!w&&R)&&(E=E.redNeg()),this.point(S,E)},C.prototype.validate=function(S){if(S.inf)return!0;var w=S.x,O=S.y,E=this.a.redMul(w),R=w.redSqr().redMul(w).redIAdd(E).redIAdd(this.b);return 0===O.redSqr().redISub(R).cmpn(0)},C.prototype._endoWnafMulAdd=function(S,w,O){for(var E=this._endoWnafT1,R=this._endoWnafT2,z=0;z<S.length;z++){var U=this._endoSplit(w[z]),Y=S[z],K=Y._getBeta();U.k1.negative&&(U.k1.ineg(),Y=Y.neg(!0)),U.k2.negative&&(U.k2.ineg(),K=K.neg(!0)),E[2*z]=Y,E[2*z+1]=K,R[2*z]=U.k1,R[2*z+1]=U.k2}for(var $=this._wnafMulAdd(1,E,R,2*z,O),ie=0;ie<2*z;ie++)E[ie]=null,R[ie]=null;return $},b(h,I.BasePoint),C.prototype.point=function(S,w,O){return new h(this,S,w,O)},C.prototype.pointFromJSON=function(S,w){return h.fromJSON(this,S,w)},h.prototype._getBeta=function(){if(this.curve.endo){var S=this.precomputed;if(S&&S.beta)return S.beta;var w=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(S){var O=this.curve,E=function(R){return O.point(R.x.redMul(O.endo.beta),R.y)};S.beta=w,w.precomputed={beta:null,naf:S.naf&&{wnd:S.naf.wnd,points:S.naf.points.map(E)},doubles:S.doubles&&{step:S.doubles.step,points:S.doubles.points.map(E)}}}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(S,w,O){"string"==typeof w&&(w=JSON.parse(w));var E=S.point(w[0],w[1],O);if(!w[2])return E;function R(U){return S.point(U[0],U[1],O)}var z=w[2];return E.precomputed={beta:null,doubles:z.doubles&&{step:z.doubles.step,points:[E].concat(z.doubles.points.map(R))},naf:z.naf&&{wnd:z.naf.wnd,points:[E].concat(z.naf.points.map(R))}},E},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(S){if(this.inf)return S;if(S.inf)return this;if(this.eq(S))return this.dbl();if(this.neg().eq(S))return this.curve.point(null,null);if(0===this.x.cmp(S.x))return this.curve.point(null,null);var w=this.y.redSub(S.y);0!==w.cmpn(0)&&(w=w.redMul(this.x.redSub(S.x).redInvm()));var O=w.redSqr().redISub(this.x).redISub(S.x),E=w.redMul(this.x.redSub(O)).redISub(this.y);return this.curve.point(O,E)},h.prototype.dbl=function(){if(this.inf)return this;var S=this.y.redAdd(this.y);if(0===S.cmpn(0))return this.curve.point(null,null);var w=this.curve.a,O=this.x.redSqr(),E=S.redInvm(),R=O.redAdd(O).redIAdd(O).redIAdd(w).redMul(E),z=R.redSqr().redISub(this.x.redAdd(this.x)),U=R.redMul(this.x.redSub(z)).redISub(this.y);return this.curve.point(z,U)},h.prototype.getX=function(){return this.x.fromRed()},h.prototype.getY=function(){return this.y.fromRed()},h.prototype.mul=function(S){return S=new e(S,16),this.isInfinity()?this:this._hasDoubles(S)?this.curve._fixedNafMul(this,S):this.curve.endo?this.curve._endoWnafMulAdd([this],[S]):this.curve._wnafMul(this,S)},h.prototype.mulAdd=function(S,w,O){var E=[this,w],R=[S,O];return this.curve.endo?this.curve._endoWnafMulAdd(E,R):this.curve._wnafMulAdd(1,E,R,2)},h.prototype.jmulAdd=function(S,w,O){var E=[this,w],R=[S,O];return this.curve.endo?this.curve._endoWnafMulAdd(E,R,!0):this.curve._wnafMulAdd(1,E,R,2,!0)},h.prototype.eq=function(S){return this===S||this.inf===S.inf&&(this.inf||0===this.x.cmp(S.x)&&0===this.y.cmp(S.y))},h.prototype.neg=function(S){if(this.inf)return this;var w=this.curve.point(this.x,this.y.redNeg());if(S&&this.precomputed){var O=this.precomputed,E=function(R){return R.neg()};w.precomputed={naf:O.naf&&{wnd:O.naf.wnd,points:O.naf.points.map(E)},doubles:O.doubles&&{step:O.doubles.step,points:O.doubles.points.map(E)}}}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)},b(P,I.BasePoint),C.prototype.jpoint=function(S,w,O){return new P(this,S,w,O)},P.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var S=this.z.redInvm(),w=S.redSqr(),O=this.x.redMul(w),E=this.y.redMul(w).redMul(S);return this.curve.point(O,E)},P.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},P.prototype.add=function(S){if(this.isInfinity())return S;if(S.isInfinity())return this;var w=S.z.redSqr(),O=this.z.redSqr(),E=this.x.redMul(w),R=S.x.redMul(O),z=this.y.redMul(w.redMul(S.z)),U=S.y.redMul(O.redMul(this.z)),Y=E.redSub(R),K=z.redSub(U);if(0===Y.cmpn(0))return 0!==K.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var $=Y.redSqr(),ie=$.redMul(Y),ue=E.redMul($),he=K.redSqr().redIAdd(ie).redISub(ue).redISub(ue),ne=K.redMul(ue.redISub(he)).redISub(z.redMul(ie)),le=this.z.redMul(S.z).redMul(Y);return this.curve.jpoint(he,ne,le)},P.prototype.mixedAdd=function(S){if(this.isInfinity())return S.toJ();if(S.isInfinity())return this;var w=this.z.redSqr(),O=this.x,E=S.x.redMul(w),R=this.y,z=S.y.redMul(w).redMul(this.z),U=O.redSub(E),Y=R.redSub(z);if(0===U.cmpn(0))return 0!==Y.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var K=U.redSqr(),$=K.redMul(U),ie=O.redMul(K),ue=Y.redSqr().redIAdd($).redISub(ie).redISub(ie),he=Y.redMul(ie.redISub(ue)).redISub(R.redMul($)),ne=this.z.redMul(U);return this.curve.jpoint(ue,he,ne)},P.prototype.dblp=function(S){if(0===S)return this;if(this.isInfinity())return this;if(!S)return this.dbl();var w;if(this.curve.zeroA||this.curve.threeA){var O=this;for(w=0;w<S;w++)O=O.dbl();return O}var E=this.curve.a,R=this.curve.tinv,z=this.x,U=this.y,Y=this.z,K=Y.redSqr().redSqr(),$=U.redAdd(U);for(w=0;w<S;w++){var ie=z.redSqr(),ue=$.redSqr(),he=ue.redSqr(),ne=ie.redAdd(ie).redIAdd(ie).redIAdd(E.redMul(K)),le=z.redMul(ue),ee=ne.redSqr().redISub(le.redAdd(le)),me=le.redISub(ee),A=ne.redMul(me);A=A.redIAdd(A).redISub(he);var i=$.redMul(Y);w+1<S&&(K=K.redMul(he)),z=ee,Y=i,$=A}return this.curve.jpoint(z,$.redMul(R),Y)},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 S,w,O;if(this.zOne){var E=this.x.redSqr(),R=this.y.redSqr(),z=R.redSqr(),U=this.x.redAdd(R).redSqr().redISub(E).redISub(z);U=U.redIAdd(U);var Y=E.redAdd(E).redIAdd(E),K=Y.redSqr().redISub(U).redISub(U),$=z.redIAdd(z);$=($=$.redIAdd($)).redIAdd($),S=K,w=Y.redMul(U.redISub(K)).redISub($),O=this.y.redAdd(this.y)}else{var ie=this.x.redSqr(),ue=this.y.redSqr(),he=ue.redSqr(),ne=this.x.redAdd(ue).redSqr().redISub(ie).redISub(he);ne=ne.redIAdd(ne);var le=ie.redAdd(ie).redIAdd(ie),ee=le.redSqr(),me=he.redIAdd(he);me=(me=me.redIAdd(me)).redIAdd(me),S=ee.redISub(ne).redISub(ne),w=le.redMul(ne.redISub(S)).redISub(me),O=(O=this.y.redMul(this.z)).redIAdd(O)}return this.curve.jpoint(S,w,O)},P.prototype._threeDbl=function(){var S,w,O;if(this.zOne){var E=this.x.redSqr(),R=this.y.redSqr(),z=R.redSqr(),U=this.x.redAdd(R).redSqr().redISub(E).redISub(z);U=U.redIAdd(U);var Y=E.redAdd(E).redIAdd(E).redIAdd(this.curve.a),K=Y.redSqr().redISub(U).redISub(U);S=K;var $=z.redIAdd(z);$=($=$.redIAdd($)).redIAdd($),w=Y.redMul(U.redISub(K)).redISub($),O=this.y.redAdd(this.y)}else{var ie=this.z.redSqr(),ue=this.y.redSqr(),he=this.x.redMul(ue),ne=this.x.redSub(ie).redMul(this.x.redAdd(ie));ne=ne.redAdd(ne).redIAdd(ne);var le=he.redIAdd(he),ee=(le=le.redIAdd(le)).redAdd(le);S=ne.redSqr().redISub(ee),O=this.y.redAdd(this.z).redSqr().redISub(ue).redISub(ie);var me=ue.redSqr();me=(me=(me=me.redIAdd(me)).redIAdd(me)).redIAdd(me),w=ne.redMul(le.redISub(S)).redISub(me)}return this.curve.jpoint(S,w,O)},P.prototype._dbl=function(){var S=this.curve.a,w=this.x,O=this.y,E=this.z,R=E.redSqr().redSqr(),z=w.redSqr(),U=O.redSqr(),Y=z.redAdd(z).redIAdd(z).redIAdd(S.redMul(R)),K=w.redAdd(w),$=(K=K.redIAdd(K)).redMul(U),ie=Y.redSqr().redISub($.redAdd($)),ue=$.redISub(ie),he=U.redSqr();he=(he=(he=he.redIAdd(he)).redIAdd(he)).redIAdd(he);var ne=Y.redMul(ue).redISub(he),le=O.redAdd(O).redMul(E);return this.curve.jpoint(ie,ne,le)},P.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var S=this.x.redSqr(),w=this.y.redSqr(),O=this.z.redSqr(),E=w.redSqr(),R=S.redAdd(S).redIAdd(S),z=R.redSqr(),U=this.x.redAdd(w).redSqr().redISub(S).redISub(E),Y=(U=(U=(U=U.redIAdd(U)).redAdd(U).redIAdd(U)).redISub(z)).redSqr(),K=E.redIAdd(E);K=(K=(K=K.redIAdd(K)).redIAdd(K)).redIAdd(K);var $=R.redIAdd(U).redSqr().redISub(z).redISub(Y).redISub(K),ie=w.redMul($);ie=(ie=ie.redIAdd(ie)).redIAdd(ie);var ue=this.x.redMul(Y).redISub(ie);ue=(ue=ue.redIAdd(ue)).redIAdd(ue);var he=this.y.redMul($.redMul(K.redISub($)).redISub(U.redMul(Y)));he=(he=(he=he.redIAdd(he)).redIAdd(he)).redIAdd(he);var ne=this.z.redAdd(U).redSqr().redISub(O).redISub(Y);return this.curve.jpoint(ue,he,ne)},P.prototype.mul=function(S,w){return S=new e(S,w),this.curve._wnafMul(this,S)},P.prototype.eq=function(S){if("affine"===S.type)return this.eq(S.toJ());if(this===S)return!0;var w=this.z.redSqr(),O=S.z.redSqr();if(0!==this.x.redMul(O).redISub(S.x.redMul(w)).cmpn(0))return!1;var E=w.redMul(this.z),R=O.redMul(S.z);return 0===this.y.redMul(R).redISub(S.y.redMul(E)).cmpn(0)},P.prototype.eqXToP=function(S){var w=this.z.redSqr(),O=S.toRed(this.curve.red).redMul(w);if(0===this.x.cmp(O))return!0;for(var E=S.clone(),R=this.curve.redN.redMul(w);;){if(E.iadd(this.curve.n),E.cmp(this.curve.p)>=0)return!1;if(O.redIAdd(R),0===this.x.cmp(O))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:(Ue,q,p)=>{"use strict";var P,t=q,e=p(7084),b=p(6270),s=p(1970).assert;function C(d){this.curve="short"===d.type?new b.short(d):"edwards"===d.type?new b.edwards(d):new b.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,S){Object.defineProperty(t,d,{configurable:!0,enumerable:!0,get:function(){var w=new C(S);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=p(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:(Ue,q,p)=>{"use strict";var t=p(7433),e=p(2438),b=p(1970),I=p(2916),s=p(7950),C=b.assert,h=p(1259),P=p(5957);function d(S){if(!(this instanceof d))return new d(S);"string"==typeof S&&(C(Object.prototype.hasOwnProperty.call(I,S),"Unknown curve "+S),S=I[S]),S instanceof I.PresetCurve&&(S={curve:S}),this.curve=S.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=S.curve.g,this.g.precompute(S.curve.n.bitLength()+1),this.hash=S.hash||S.curve.hash}Ue.exports=d,d.prototype.keyPair=function(w){return new h(this,w)},d.prototype.keyFromPrivate=function(w,O){return h.fromPrivate(this,w,O)},d.prototype.keyFromPublic=function(w,O){return h.fromPublic(this,w,O)},d.prototype.genKeyPair=function(w){w||(w={});for(var O=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()}),E=this.n.byteLength(),R=this.n.sub(new t(2));;){var z=new t(O.generate(E));if(!(z.cmp(R)>0))return z.iaddn(1),this.keyFromPrivate(z)}},d.prototype._truncateToN=function(w,O){var E=8*w.byteLength()-this.n.bitLength();return E>0&&(w=w.ushrn(E)),!O&&w.cmp(this.n)>=0?w.sub(this.n):w},d.prototype.sign=function(w,O,E,R){"object"==typeof E&&(R=E,E=null),R||(R={}),O=this.keyFromPrivate(O,E),w=this._truncateToN(new t(w,16));for(var z=this.n.byteLength(),U=O.getPrivate().toArray("be",z),Y=w.toArray("be",z),K=new e({hash:this.hash,entropy:U,nonce:Y,pers:R.pers,persEnc:R.persEnc||"utf8"}),$=this.n.sub(new t(1)),ie=0;;ie++){var ue=R.k?R.k(ie):new t(K.generate(this.n.byteLength()));if(!((ue=this._truncateToN(ue,!0)).cmpn(1)<=0||ue.cmp($)>=0)){var he=this.g.mul(ue);if(!he.isInfinity()){var ne=he.getX(),le=ne.umod(this.n);if(0!==le.cmpn(0)){var ee=ue.invm(this.n).mul(le.mul(O.getPrivate()).iadd(w));if(0!==(ee=ee.umod(this.n)).cmpn(0)){var me=(he.getY().isOdd()?1:0)|(0!==ne.cmp(le)?2:0);return R.canonical&&ee.cmp(this.nh)>0&&(ee=this.n.sub(ee),me^=1),new P({r:le,s:ee,recoveryParam:me})}}}}}},d.prototype.verify=function(w,O,E,R){w=this._truncateToN(new t(w,16)),E=this.keyFromPublic(E,R);var z=(O=new P(O,"hex")).r,U=O.s;if(z.cmpn(1)<0||z.cmp(this.n)>=0||U.cmpn(1)<0||U.cmp(this.n)>=0)return!1;var ie,Y=U.invm(this.n),K=Y.mul(w).umod(this.n),$=Y.mul(z).umod(this.n);return this.curve._maxwellTrick?!(ie=this.g.jmulAdd(K,E.getPublic(),$)).isInfinity()&&ie.eqXToP(z):!(ie=this.g.mulAdd(K,E.getPublic(),$)).isInfinity()&&0===ie.getX().umod(this.n).cmp(z)},d.prototype.recoverPubKey=function(S,w,O,E){C((3&O)===O,"The recovery param is more than two bits"),w=new P(w,E);var R=this.n,z=new t(S),U=w.r,Y=w.s,K=1&O,$=O>>1;if(U.cmp(this.curve.p.umod(this.curve.n))>=0&&$)throw new Error("Unable to find sencond key candinate");U=this.curve.pointFromX($?U.add(this.curve.n):U,K);var ie=w.r.invm(R),ue=R.sub(z).mul(ie).umod(R),he=Y.mul(ie).umod(R);return this.g.mulAdd(ue,U,he)},d.prototype.getKeyRecoveryParam=function(S,w,O,E){if(null!==(w=new P(w,E)).recoveryParam)return w.recoveryParam;for(var R=0;R<4;R++){var z;try{z=this.recoverPubKey(S,w,R)}catch{continue}if(z.eq(O))return R}throw new Error("Unable to find valid recovery factor")}},1259:(Ue,q,p)=>{"use strict";var t=p(7433),b=p(1970).assert;function I(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)}Ue.exports=I,I.fromPublic=function(C,h,P){return h instanceof I?h:new I(C,{pub:h,pubEnc:P})},I.fromPrivate=function(C,h,P){return h instanceof I?h:new I(C,{priv:h,privEnc:P})},I.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"}},I.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},I.prototype.getPrivate=function(C){return"hex"===C?this.priv.toString(16,2):this.priv},I.prototype._importPrivate=function(C,h){this.priv=new t(C,h||16),this.priv=this.priv.umod(this.ec.curve.n)},I.prototype._importPublic=function(C,h){if(C.x||C.y)return"mont"===this.ec.curve.type?b(C.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&b(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)},I.prototype.derive=function(C){return C.validate()||b(C.validate(),"public point not validated"),C.mul(this.priv).getX()},I.prototype.sign=function(C,h,P){return this.ec.sign(C,this,h,P)},I.prototype.verify=function(C,h){return this.ec.verify(C,h,this)},I.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},5957:(Ue,q,p)=>{"use strict";var t=p(7433),e=p(1970),b=e.assert;function I(d,S){if(d instanceof I)return d;this._importDER(d,S)||(b(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,S){var w=d[S.place++];if(!(128&w))return w;var O=15&w;if(0===O||O>4)return!1;for(var E=0,R=0,z=S.place;R<O;R++,z++)E<<=8,E|=d[z],E>>>=0;return!(E<=127)&&(S.place=z,E)}function h(d){for(var S=0,w=d.length-1;!d[S]&&!(128&d[S+1])&&S<w;)S++;return 0===S?d:d.slice(S)}function P(d,S){if(S<128)d.push(S);else{var w=1+(Math.log(S)/Math.LN2>>>3);for(d.push(128|w);--w;)d.push(S>>>(w<<3)&255);d.push(S)}}Ue.exports=I,I.prototype._importDER=function(S,w){S=e.toArray(S,w);var O=new s;if(48!==S[O.place++])return!1;var E=C(S,O);if(!1===E||E+O.place!==S.length||2!==S[O.place++])return!1;var R=C(S,O);if(!1===R)return!1;var z=S.slice(O.place,R+O.place);if(O.place+=R,2!==S[O.place++])return!1;var U=C(S,O);if(!1===U||S.length!==U+O.place)return!1;var Y=S.slice(O.place,U+O.place);if(0===z[0]){if(!(128&z[1]))return!1;z=z.slice(1)}if(0===Y[0]){if(!(128&Y[1]))return!1;Y=Y.slice(1)}return this.r=new t(z),this.s=new t(Y),this.recoveryParam=null,!0},I.prototype.toDER=function(S){var w=this.r.toArray(),O=this.s.toArray();for(128&w[0]&&(w=[0].concat(w)),128&O[0]&&(O=[0].concat(O)),w=h(w),O=h(O);!(O[0]||128&O[1]);)O=O.slice(1);var E=[2];P(E,w.length),(E=E.concat(w)).push(2),P(E,O.length);var R=E.concat(O),z=[48];return P(z,R.length),z=z.concat(R),e.encode(z,S)}},1885:(Ue,q,p)=>{"use strict";var t=p(7084),e=p(2916),b=p(1970),I=b.assert,s=b.parseBytes,C=p(7535),h=p(8241);function P(d){if(I("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}Ue.exports=P,P.prototype.sign=function(S,w){S=s(S);var O=this.keyFromSecret(w),E=this.hashInt(O.messagePrefix(),S),R=this.g.mul(E),z=this.encodePoint(R),U=this.hashInt(z,O.pubBytes(),S).mul(O.priv()),Y=E.add(U).umod(this.curve.n);return this.makeSignature({R,S:Y,Rencoded:z})},P.prototype.verify=function(S,w,O){S=s(S),w=this.makeSignature(w);var E=this.keyFromPublic(O),R=this.hashInt(w.Rencoded(),E.pubBytes(),S),z=this.g.mul(w.S());return w.R().add(E.pub().mul(R)).eq(z)},P.prototype.hashInt=function(){for(var S=this.hash(),w=0;w<arguments.length;w++)S.update(arguments[w]);return b.intFromLE(S.digest()).umod(this.curve.n)},P.prototype.keyFromPublic=function(S){return C.fromPublic(this,S)},P.prototype.keyFromSecret=function(S){return C.fromSecret(this,S)},P.prototype.makeSignature=function(S){return S instanceof h?S:new h(this,S)},P.prototype.encodePoint=function(S){var w=S.getY().toArray("le",this.encodingLength);return w[this.encodingLength-1]|=S.getX().isOdd()?128:0,w},P.prototype.decodePoint=function(S){var w=(S=b.parseBytes(S)).length-1,O=S.slice(0,w).concat(-129&S[w]),E=0!=(128&S[w]),R=b.intFromLE(O);return this.curve.pointFromY(R,E)},P.prototype.encodeInt=function(S){return S.toArray("le",this.encodingLength)},P.prototype.decodeInt=function(S){return b.intFromLE(S)},P.prototype.isPoint=function(S){return S instanceof this.pointClass}},7535:(Ue,q,p)=>{"use strict";var t=p(1970),e=t.assert,b=t.parseBytes,I=t.cachedProperty;function s(C,h){this.eddsa=C,this._secret=b(h.secret),C.isPoint(h.pub)?this._pub=h.pub:this._pubBytes=b(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},I(s,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),I(s,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),I(s,"privBytes",function(){var h=this.eddsa,P=this.hash(),d=h.encodingLength-1,S=P.slice(0,h.encodingLength);return S[0]&=248,S[d]&=127,S[d]|=64,S}),I(s,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),I(s,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),I(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)},Ue.exports=s},8241:(Ue,q,p)=>{"use strict";var t=p(7433),e=p(1970),b=e.assert,I=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)}),b(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}I(C,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),I(C,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),I(C,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),I(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()},Ue.exports=C},5150:Ue=>{Ue.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:(Ue,q,p)=>{"use strict";var t=q,e=p(7433),b=p(2391),I=p(8195);t.assert=b,t.toArray=I.toArray,t.zero2=I.zero2,t.toHex=I.toHex,t.encode=I.encode,t.getNAF=function s(S,w,O){var E=new Array(Math.max(S.bitLength(),O)+1);E.fill(0);for(var R=1<<w+1,z=S.clone(),U=0;U<E.length;U++){var Y,K=z.andln(R-1);z.isOdd()?z.isubn(Y=K>(R>>1)-1?(R>>1)-K:K):Y=0,E[U]=Y,z.iushrn(1)}return E},t.getJSF=function C(S,w){var O=[[],[]];S=S.clone(),w=w.clone();for(var z,E=0,R=0;S.cmpn(-E)>0||w.cmpn(-R)>0;){var K,$,U=S.andln(3)+E&3,Y=w.andln(3)+R&3;3===U&&(U=-1),3===Y&&(Y=-1),K=1&U?3!=(z=S.andln(7)+E&7)&&5!==z||2!==Y?U:-U:0,O[0].push(K),$=1&Y?3!=(z=w.andln(7)+R&7)&&5!==z||2!==U?Y:-Y:0,O[1].push($),2*E===K+1&&(E=1-E),2*R===$+1&&(R=1-R),S.iushrn(1),w.iushrn(1)}return O},t.cachedProperty=function h(S,w,O){var E="_"+w;S.prototype[w]=function(){return void 0!==this[E]?this[E]:this[E]=O.call(this)}},t.parseBytes=function P(S){return"string"==typeof S?t.toArray(S,"hex"):S},t.intFromLE=function d(S){return new e(S,"hex","le")}},7433:function(Ue,q,p){!function(t,e){"use strict";function b(A,i){if(!A)throw new Error(i||"Assertion failed")}function I(A,i){A.super_=i;var a=function(){};a.prototype=i.prototype,A.prototype=new a,A.prototype.constructor=A}function s(A,i,a){if(s.isBN(A))return A;this.negative=0,this.words=null,this.length=0,this.red=null,null!==A&&(("le"===i||"be"===i)&&(a=i,i=10),this._init(A||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:p(5568).Buffer}catch{}function h(A,i){var a=A.charCodeAt(i);return a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:a-48&15}function P(A,i,a){var u=h(A,a);return a-1>=i&&(u|=h(A,a-1)<<4),u}function d(A,i,a,u){for(var l=0,y=Math.min(A.length,a),T=i;T<y;T++){var D=A.charCodeAt(T)-48;l*=u,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,u){if("number"==typeof i)return this._initNumber(i,a,u);if("object"==typeof i)return this._initArray(i,a,u);"hex"===a&&(a=16),b(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,u):(this._parseBase(i,a,l),"le"===u&&this._initArray(this.toArray(),a,u)))},s.prototype._initNumber=function(i,a,u){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):(b(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===u&&this._initArray(this.toArray(),a,u)},s.prototype._initArray=function(i,a,u){if(b("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,T,D=0;if("be"===u)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(T=i[l]|i[l-1]<<8|i[l-2]<<16)<<D&67108863,this.words[y+1]=T>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);else if("le"===u)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(T=i[l]|i[l+1]<<8|i[l+2]<<16)<<D&67108863,this.words[y+1]=T>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);return this.strip()},s.prototype._parseHex=function(i,a,u){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,T=0;if("be"===u)for(l=i.length-1;l>=a;l-=2)D=P(i,a,l)<<y,this.words[T]|=67108863&D,y>=18?(y-=18,this.words[T+=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[T]|=67108863&D,y>=18?(y-=18,this.words[T+=1]|=D>>>26):y+=8;this.strip()},s.prototype._parseBase=function(i,a,u){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=a)l++;l--,y=y/a|0;for(var T=i.length-u,D=T%l,m=Math.min(T,T-D)+u,n=0,v=u;v<m;v+=l)n=d(i,v,v+l,a),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==D){var B=1;for(n=d(i,v,i.length,a),v=0;v<D;v++)B*=a;this.imuln(B),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 S=["","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],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 R(A,i,a){a.negative=i.negative^A.negative;var u=A.length+i.length|0;a.length=u,u=u-1|0;var l=0|A.words[0],y=0|i.words[0],T=l*y,m=T/67108864|0;a.words[0]=67108863&T;for(var n=1;n<u;n++){for(var v=m>>>26,B=67108863&m,V=Math.min(n,i.length-1),X=Math.max(0,n-A.length+1);X<=V;X++)v+=(T=(l=0|A.words[n-X|0])*(y=0|i.words[X])+B)/67108864|0,B=67108863&T;a.words[n]=0|B,m=0|v}return 0!==m?a.words[n]=0|m:a.length--,a.strip()}s.prototype.toString=function(i,a){var u;if(a=0|a||1,16===(i=i||10)||"hex"===i){u="";for(var l=0,y=0,T=0;T<this.length;T++){var D=this.words[T],m=(16777215&(D<<l|y)).toString(16);u=0!=(y=D>>>24-l&16777215)||T!==this.length-1?S[6-m.length]+m+u:m+u,(l+=2)>=26&&(l-=26,T--)}for(0!==y&&(u=y.toString(16)+u);u.length%a!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],v=O[i];u="";var B=this.clone();for(B.negative=0;!B.isZero();){var V=B.modn(v).toString(i);u=(B=B.idivn(v)).isZero()?V+u:S[n-V.length]+V+u}for(this.isZero()&&(u="0"+u);u.length%a!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}b(!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&&b(!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 b(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,u){var l=this.byteLength(),y=u||Math.max(1,l);b(l<=y,"byte array longer than desired length"),b(y>0,"Requested array length <= 0"),this.strip();var m,n,T="le"===a,D=new i(y),v=this.clone();if(T){for(n=0;!v.isZero();n++)m=v.andln(255),v.iushrn(8),D[n]=m;for(;n<y;n++)D[n]=0}else{for(n=0;n<y-l;n++)D[n]=0;for(n=0;!v.isZero();n++)m=v.andln(255),v.iushrn(8),D[y-n-1]=m}return D},s.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var a=i,u=0;return a>=4096&&(u+=13,a>>>=13),a>=64&&(u+=7,a>>>=7),a>=8&&(u+=4,a>>>=4),a>=2&&(u+=2,a>>>=2),u+a},s.prototype._zeroBits=function(i){if(0===i)return 26;var a=i,u=0;return 8191&a||(u+=13,a>>>=13),127&a||(u+=7,a>>>=7),15&a||(u+=4,a>>>=4),3&a||(u+=2,a>>>=2),1&a||u++,u},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 u=this._zeroBits(this.words[a]);if(i+=u,26!==u)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 b(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 u=0;u<a.length;u++)this.words[u]=this.words[u]&i.words[u];return this.length=a.length,this.strip()},s.prototype.iand=function(i){return b(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,u;this.length>i.length?(a=this,u=i):(a=i,u=this);for(var l=0;l<u.length;l++)this.words[l]=a.words[l]^u.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 b(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){b("number"==typeof i&&i>=0);var a=0|Math.ceil(i/26),u=i%26;this._expand(a),u>0&&a--;for(var l=0;l<a;l++)this.words[l]=67108863&~this.words[l];return u>0&&(this.words[l]=~this.words[l]&67108863>>26-u),this.strip()},s.prototype.notn=function(i){return this.clone().inotn(i)},s.prototype.setn=function(i,a){b("number"==typeof i&&i>=0);var u=i/26|0,l=i%26;return this._expand(u+1),this.words[u]=a?this.words[u]|1<<l:this.words[u]&~(1<<l),this.strip()},s.prototype.iadd=function(i){var a,u,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?(u=this,l=i):(u=i,l=this);for(var y=0,T=0;T<l.length;T++)this.words[T]=67108863&(a=(0|u.words[T])+(0|l.words[T])+y),y=a>>>26;for(;0!==y&&T<u.length;T++)this.words[T]=67108863&(a=(0|u.words[T])+y),y=a>>>26;if(this.length=u.length,0!==y)this.words[this.length]=y,this.length++;else if(u!==this)for(;T<u.length;T++)this.words[T]=u.words[T];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,u=this.cmp(i);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(l=this,y=i):(l=i,y=this);for(var T=0,D=0;D<y.length;D++)T=(a=(0|l.words[D])-(0|y.words[D])+T)>>26,this.words[D]=67108863&a;for(;0!==T&&D<l.length;D++)T=(a=(0|l.words[D])+T)>>26,this.words[D]=67108863&a;if(0===T&&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 z=function(i,a,u){var m,n,v,l=i.words,y=a.words,T=u.words,D=0,B=0|l[0],V=8191&B,X=B>>>13,De=0|l[1],tt=8191&De,je=De>>>13,ze=0|l[2],Le=8191&ze,ye=ze>>>13,ce=0|l[3],ve=8191&ce,oe=ce>>>13,Ke=0|l[4],Ae=8191&Ke,de=Ke>>>13,Ce=0|l[5],te=8191&Ce,Ze=Ce>>>13,Ge=0|l[6],ae=8191&Ge,ge=Ge>>>13,pt=0|l[7],$e=8191&pt,ut=pt>>>13,At=0|l[8],_t=8191&At,lt=At>>>13,St=0|l[9],ke=8191&St,He=St>>>13,wt=0|y[0],W=8191&wt,Fe=wt>>>13,Ft=0|y[1],qe=8191&Ft,Qe=Ft>>>13,Ht=0|y[2],Et=8191&Ht,It=Ht>>>13,bt=0|y[3],we=8191&bt,J=bt>>>13,be=0|y[4],Ve=8191&be,ot=be>>>13,ei=0|y[5],Bt=8191&ei,ti=ei>>>13,mt=0|y[6],nt=8191&mt,yt=mt>>>13,$t=0|y[7],Vt=8191&$t,ft=$t>>>13,Pt=0|y[8],Pe=8191&Pt,it=Pt>>>13,at=0|y[9],ht=8191&at,Lt=at>>>13;u.negative=i.negative^a.negative,u.length=19;var ui=(D+(m=Math.imul(V,W))|0)+((8191&(n=(n=Math.imul(V,Fe))+Math.imul(X,W)|0))<<13)|0;D=((v=Math.imul(X,Fe))+(n>>>13)|0)+(ui>>>26)|0,ui&=67108863,m=Math.imul(tt,W),n=(n=Math.imul(tt,Fe))+Math.imul(je,W)|0,v=Math.imul(je,Fe);var Ti=(D+(m=m+Math.imul(V,qe)|0)|0)+((8191&(n=(n=n+Math.imul(V,Qe)|0)+Math.imul(X,qe)|0))<<13)|0;D=((v=v+Math.imul(X,Qe)|0)+(n>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,m=Math.imul(Le,W),n=(n=Math.imul(Le,Fe))+Math.imul(ye,W)|0,v=Math.imul(ye,Fe),m=m+Math.imul(tt,qe)|0,n=(n=n+Math.imul(tt,Qe)|0)+Math.imul(je,qe)|0,v=v+Math.imul(je,Qe)|0;var yi=(D+(m=m+Math.imul(V,Et)|0)|0)+((8191&(n=(n=n+Math.imul(V,It)|0)+Math.imul(X,Et)|0))<<13)|0;D=((v=v+Math.imul(X,It)|0)+(n>>>13)|0)+(yi>>>26)|0,yi&=67108863,m=Math.imul(ve,W),n=(n=Math.imul(ve,Fe))+Math.imul(oe,W)|0,v=Math.imul(oe,Fe),m=m+Math.imul(Le,qe)|0,n=(n=n+Math.imul(Le,Qe)|0)+Math.imul(ye,qe)|0,v=v+Math.imul(ye,Qe)|0,m=m+Math.imul(tt,Et)|0,n=(n=n+Math.imul(tt,It)|0)+Math.imul(je,Et)|0,v=v+Math.imul(je,It)|0;var Ni=(D+(m=m+Math.imul(V,we)|0)|0)+((8191&(n=(n=n+Math.imul(V,J)|0)+Math.imul(X,we)|0))<<13)|0;D=((v=v+Math.imul(X,J)|0)+(n>>>13)|0)+(Ni>>>26)|0,Ni&=67108863,m=Math.imul(Ae,W),n=(n=Math.imul(Ae,Fe))+Math.imul(de,W)|0,v=Math.imul(de,Fe),m=m+Math.imul(ve,qe)|0,n=(n=n+Math.imul(ve,Qe)|0)+Math.imul(oe,qe)|0,v=v+Math.imul(oe,Qe)|0,m=m+Math.imul(Le,Et)|0,n=(n=n+Math.imul(Le,It)|0)+Math.imul(ye,Et)|0,v=v+Math.imul(ye,It)|0,m=m+Math.imul(tt,we)|0,n=(n=n+Math.imul(tt,J)|0)+Math.imul(je,we)|0,v=v+Math.imul(je,J)|0;var Xe=(D+(m=m+Math.imul(V,Ve)|0)|0)+((8191&(n=(n=n+Math.imul(V,ot)|0)+Math.imul(X,Ve)|0))<<13)|0;D=((v=v+Math.imul(X,ot)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,m=Math.imul(te,W),n=(n=Math.imul(te,Fe))+Math.imul(Ze,W)|0,v=Math.imul(Ze,Fe),m=m+Math.imul(Ae,qe)|0,n=(n=n+Math.imul(Ae,Qe)|0)+Math.imul(de,qe)|0,v=v+Math.imul(de,Qe)|0,m=m+Math.imul(ve,Et)|0,n=(n=n+Math.imul(ve,It)|0)+Math.imul(oe,Et)|0,v=v+Math.imul(oe,It)|0,m=m+Math.imul(Le,we)|0,n=(n=n+Math.imul(Le,J)|0)+Math.imul(ye,we)|0,v=v+Math.imul(ye,J)|0,m=m+Math.imul(tt,Ve)|0,n=(n=n+Math.imul(tt,ot)|0)+Math.imul(je,Ve)|0,v=v+Math.imul(je,ot)|0;var Tt=(D+(m=m+Math.imul(V,Bt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ti)|0)+Math.imul(X,Bt)|0))<<13)|0;D=((v=v+Math.imul(X,ti)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,m=Math.imul(ae,W),n=(n=Math.imul(ae,Fe))+Math.imul(ge,W)|0,v=Math.imul(ge,Fe),m=m+Math.imul(te,qe)|0,n=(n=n+Math.imul(te,Qe)|0)+Math.imul(Ze,qe)|0,v=v+Math.imul(Ze,Qe)|0,m=m+Math.imul(Ae,Et)|0,n=(n=n+Math.imul(Ae,It)|0)+Math.imul(de,Et)|0,v=v+Math.imul(de,It)|0,m=m+Math.imul(ve,we)|0,n=(n=n+Math.imul(ve,J)|0)+Math.imul(oe,we)|0,v=v+Math.imul(oe,J)|0,m=m+Math.imul(Le,Ve)|0,n=(n=n+Math.imul(Le,ot)|0)+Math.imul(ye,Ve)|0,v=v+Math.imul(ye,ot)|0,m=m+Math.imul(tt,Bt)|0,n=(n=n+Math.imul(tt,ti)|0)+Math.imul(je,Bt)|0,v=v+Math.imul(je,ti)|0;var xe=(D+(m=m+Math.imul(V,nt)|0)|0)+((8191&(n=(n=n+Math.imul(V,yt)|0)+Math.imul(X,nt)|0))<<13)|0;D=((v=v+Math.imul(X,yt)|0)+(n>>>13)|0)+(xe>>>26)|0,xe&=67108863,m=Math.imul($e,W),n=(n=Math.imul($e,Fe))+Math.imul(ut,W)|0,v=Math.imul(ut,Fe),m=m+Math.imul(ae,qe)|0,n=(n=n+Math.imul(ae,Qe)|0)+Math.imul(ge,qe)|0,v=v+Math.imul(ge,Qe)|0,m=m+Math.imul(te,Et)|0,n=(n=n+Math.imul(te,It)|0)+Math.imul(Ze,Et)|0,v=v+Math.imul(Ze,It)|0,m=m+Math.imul(Ae,we)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(de,we)|0,v=v+Math.imul(de,J)|0,m=m+Math.imul(ve,Ve)|0,n=(n=n+Math.imul(ve,ot)|0)+Math.imul(oe,Ve)|0,v=v+Math.imul(oe,ot)|0,m=m+Math.imul(Le,Bt)|0,n=(n=n+Math.imul(Le,ti)|0)+Math.imul(ye,Bt)|0,v=v+Math.imul(ye,ti)|0,m=m+Math.imul(tt,nt)|0,n=(n=n+Math.imul(tt,yt)|0)+Math.imul(je,nt)|0,v=v+Math.imul(je,yt)|0;var Rt=(D+(m=m+Math.imul(V,Vt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ft)|0)+Math.imul(X,Vt)|0))<<13)|0;D=((v=v+Math.imul(X,ft)|0)+(n>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,m=Math.imul(_t,W),n=(n=Math.imul(_t,Fe))+Math.imul(lt,W)|0,v=Math.imul(lt,Fe),m=m+Math.imul($e,qe)|0,n=(n=n+Math.imul($e,Qe)|0)+Math.imul(ut,qe)|0,v=v+Math.imul(ut,Qe)|0,m=m+Math.imul(ae,Et)|0,n=(n=n+Math.imul(ae,It)|0)+Math.imul(ge,Et)|0,v=v+Math.imul(ge,It)|0,m=m+Math.imul(te,we)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ze,we)|0,v=v+Math.imul(Ze,J)|0,m=m+Math.imul(Ae,Ve)|0,n=(n=n+Math.imul(Ae,ot)|0)+Math.imul(de,Ve)|0,v=v+Math.imul(de,ot)|0,m=m+Math.imul(ve,Bt)|0,n=(n=n+Math.imul(ve,ti)|0)+Math.imul(oe,Bt)|0,v=v+Math.imul(oe,ti)|0,m=m+Math.imul(Le,nt)|0,n=(n=n+Math.imul(Le,yt)|0)+Math.imul(ye,nt)|0,v=v+Math.imul(ye,yt)|0,m=m+Math.imul(tt,Vt)|0,n=(n=n+Math.imul(tt,ft)|0)+Math.imul(je,Vt)|0,v=v+Math.imul(je,ft)|0;var jt=(D+(m=m+Math.imul(V,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(V,it)|0)+Math.imul(X,Pe)|0))<<13)|0;D=((v=v+Math.imul(X,it)|0)+(n>>>13)|0)+(jt>>>26)|0,jt&=67108863,m=Math.imul(ke,W),n=(n=Math.imul(ke,Fe))+Math.imul(He,W)|0,v=Math.imul(He,Fe),m=m+Math.imul(_t,qe)|0,n=(n=n+Math.imul(_t,Qe)|0)+Math.imul(lt,qe)|0,v=v+Math.imul(lt,Qe)|0,m=m+Math.imul($e,Et)|0,n=(n=n+Math.imul($e,It)|0)+Math.imul(ut,Et)|0,v=v+Math.imul(ut,It)|0,m=m+Math.imul(ae,we)|0,n=(n=n+Math.imul(ae,J)|0)+Math.imul(ge,we)|0,v=v+Math.imul(ge,J)|0,m=m+Math.imul(te,Ve)|0,n=(n=n+Math.imul(te,ot)|0)+Math.imul(Ze,Ve)|0,v=v+Math.imul(Ze,ot)|0,m=m+Math.imul(Ae,Bt)|0,n=(n=n+Math.imul(Ae,ti)|0)+Math.imul(de,Bt)|0,v=v+Math.imul(de,ti)|0,m=m+Math.imul(ve,nt)|0,n=(n=n+Math.imul(ve,yt)|0)+Math.imul(oe,nt)|0,v=v+Math.imul(oe,yt)|0,m=m+Math.imul(Le,Vt)|0,n=(n=n+Math.imul(Le,ft)|0)+Math.imul(ye,Vt)|0,v=v+Math.imul(ye,ft)|0,m=m+Math.imul(tt,Pe)|0,n=(n=n+Math.imul(tt,it)|0)+Math.imul(je,Pe)|0,v=v+Math.imul(je,it)|0;var li=(D+(m=m+Math.imul(V,ht)|0)|0)+((8191&(n=(n=n+Math.imul(V,Lt)|0)+Math.imul(X,ht)|0))<<13)|0;D=((v=v+Math.imul(X,Lt)|0)+(n>>>13)|0)+(li>>>26)|0,li&=67108863,m=Math.imul(ke,qe),n=(n=Math.imul(ke,Qe))+Math.imul(He,qe)|0,v=Math.imul(He,Qe),m=m+Math.imul(_t,Et)|0,n=(n=n+Math.imul(_t,It)|0)+Math.imul(lt,Et)|0,v=v+Math.imul(lt,It)|0,m=m+Math.imul($e,we)|0,n=(n=n+Math.imul($e,J)|0)+Math.imul(ut,we)|0,v=v+Math.imul(ut,J)|0,m=m+Math.imul(ae,Ve)|0,n=(n=n+Math.imul(ae,ot)|0)+Math.imul(ge,Ve)|0,v=v+Math.imul(ge,ot)|0,m=m+Math.imul(te,Bt)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ze,Bt)|0,v=v+Math.imul(Ze,ti)|0,m=m+Math.imul(Ae,nt)|0,n=(n=n+Math.imul(Ae,yt)|0)+Math.imul(de,nt)|0,v=v+Math.imul(de,yt)|0,m=m+Math.imul(ve,Vt)|0,n=(n=n+Math.imul(ve,ft)|0)+Math.imul(oe,Vt)|0,v=v+Math.imul(oe,ft)|0,m=m+Math.imul(Le,Pe)|0,n=(n=n+Math.imul(Le,it)|0)+Math.imul(ye,Pe)|0,v=v+Math.imul(ye,it)|0;var bi=(D+(m=m+Math.imul(tt,ht)|0)|0)+((8191&(n=(n=n+Math.imul(tt,Lt)|0)+Math.imul(je,ht)|0))<<13)|0;D=((v=v+Math.imul(je,Lt)|0)+(n>>>13)|0)+(bi>>>26)|0,bi&=67108863,m=Math.imul(ke,Et),n=(n=Math.imul(ke,It))+Math.imul(He,Et)|0,v=Math.imul(He,It),m=m+Math.imul(_t,we)|0,n=(n=n+Math.imul(_t,J)|0)+Math.imul(lt,we)|0,v=v+Math.imul(lt,J)|0,m=m+Math.imul($e,Ve)|0,n=(n=n+Math.imul($e,ot)|0)+Math.imul(ut,Ve)|0,v=v+Math.imul(ut,ot)|0,m=m+Math.imul(ae,Bt)|0,n=(n=n+Math.imul(ae,ti)|0)+Math.imul(ge,Bt)|0,v=v+Math.imul(ge,ti)|0,m=m+Math.imul(te,nt)|0,n=(n=n+Math.imul(te,yt)|0)+Math.imul(Ze,nt)|0,v=v+Math.imul(Ze,yt)|0,m=m+Math.imul(Ae,Vt)|0,n=(n=n+Math.imul(Ae,ft)|0)+Math.imul(de,Vt)|0,v=v+Math.imul(de,ft)|0,m=m+Math.imul(ve,Pe)|0,n=(n=n+Math.imul(ve,it)|0)+Math.imul(oe,Pe)|0,v=v+Math.imul(oe,it)|0;var Li=(D+(m=m+Math.imul(Le,ht)|0)|0)+((8191&(n=(n=n+Math.imul(Le,Lt)|0)+Math.imul(ye,ht)|0))<<13)|0;D=((v=v+Math.imul(ye,Lt)|0)+(n>>>13)|0)+(Li>>>26)|0,Li&=67108863,m=Math.imul(ke,we),n=(n=Math.imul(ke,J))+Math.imul(He,we)|0,v=Math.imul(He,J),m=m+Math.imul(_t,Ve)|0,n=(n=n+Math.imul(_t,ot)|0)+Math.imul(lt,Ve)|0,v=v+Math.imul(lt,ot)|0,m=m+Math.imul($e,Bt)|0,n=(n=n+Math.imul($e,ti)|0)+Math.imul(ut,Bt)|0,v=v+Math.imul(ut,ti)|0,m=m+Math.imul(ae,nt)|0,n=(n=n+Math.imul(ae,yt)|0)+Math.imul(ge,nt)|0,v=v+Math.imul(ge,yt)|0,m=m+Math.imul(te,Vt)|0,n=(n=n+Math.imul(te,ft)|0)+Math.imul(Ze,Vt)|0,v=v+Math.imul(Ze,ft)|0,m=m+Math.imul(Ae,Pe)|0,n=(n=n+Math.imul(Ae,it)|0)+Math.imul(de,Pe)|0,v=v+Math.imul(de,it)|0;var Gi=(D+(m=m+Math.imul(ve,ht)|0)|0)+((8191&(n=(n=n+Math.imul(ve,Lt)|0)+Math.imul(oe,ht)|0))<<13)|0;D=((v=v+Math.imul(oe,Lt)|0)+(n>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,m=Math.imul(ke,Ve),n=(n=Math.imul(ke,ot))+Math.imul(He,Ve)|0,v=Math.imul(He,ot),m=m+Math.imul(_t,Bt)|0,n=(n=n+Math.imul(_t,ti)|0)+Math.imul(lt,Bt)|0,v=v+Math.imul(lt,ti)|0,m=m+Math.imul($e,nt)|0,n=(n=n+Math.imul($e,yt)|0)+Math.imul(ut,nt)|0,v=v+Math.imul(ut,yt)|0,m=m+Math.imul(ae,Vt)|0,n=(n=n+Math.imul(ae,ft)|0)+Math.imul(ge,Vt)|0,v=v+Math.imul(ge,ft)|0,m=m+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,it)|0)+Math.imul(Ze,Pe)|0,v=v+Math.imul(Ze,it)|0;var ji=(D+(m=m+Math.imul(Ae,ht)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Lt)|0)+Math.imul(de,ht)|0))<<13)|0;D=((v=v+Math.imul(de,Lt)|0)+(n>>>13)|0)+(ji>>>26)|0,ji&=67108863,m=Math.imul(ke,Bt),n=(n=Math.imul(ke,ti))+Math.imul(He,Bt)|0,v=Math.imul(He,ti),m=m+Math.imul(_t,nt)|0,n=(n=n+Math.imul(_t,yt)|0)+Math.imul(lt,nt)|0,v=v+Math.imul(lt,yt)|0,m=m+Math.imul($e,Vt)|0,n=(n=n+Math.imul($e,ft)|0)+Math.imul(ut,Vt)|0,v=v+Math.imul(ut,ft)|0,m=m+Math.imul(ae,Pe)|0,n=(n=n+Math.imul(ae,it)|0)+Math.imul(ge,Pe)|0,v=v+Math.imul(ge,it)|0;var $i=(D+(m=m+Math.imul(te,ht)|0)|0)+((8191&(n=(n=n+Math.imul(te,Lt)|0)+Math.imul(Ze,ht)|0))<<13)|0;D=((v=v+Math.imul(Ze,Lt)|0)+(n>>>13)|0)+($i>>>26)|0,$i&=67108863,m=Math.imul(ke,nt),n=(n=Math.imul(ke,yt))+Math.imul(He,nt)|0,v=Math.imul(He,yt),m=m+Math.imul(_t,Vt)|0,n=(n=n+Math.imul(_t,ft)|0)+Math.imul(lt,Vt)|0,v=v+Math.imul(lt,ft)|0,m=m+Math.imul($e,Pe)|0,n=(n=n+Math.imul($e,it)|0)+Math.imul(ut,Pe)|0,v=v+Math.imul(ut,it)|0;var Gt=(D+(m=m+Math.imul(ae,ht)|0)|0)+((8191&(n=(n=n+Math.imul(ae,Lt)|0)+Math.imul(ge,ht)|0))<<13)|0;D=((v=v+Math.imul(ge,Lt)|0)+(n>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,m=Math.imul(ke,Vt),n=(n=Math.imul(ke,ft))+Math.imul(He,Vt)|0,v=Math.imul(He,ft),m=m+Math.imul(_t,Pe)|0,n=(n=n+Math.imul(_t,it)|0)+Math.imul(lt,Pe)|0,v=v+Math.imul(lt,it)|0;var Kt=(D+(m=m+Math.imul($e,ht)|0)|0)+((8191&(n=(n=n+Math.imul($e,Lt)|0)+Math.imul(ut,ht)|0))<<13)|0;D=((v=v+Math.imul(ut,Lt)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,m=Math.imul(ke,Pe),n=(n=Math.imul(ke,it))+Math.imul(He,Pe)|0,v=Math.imul(He,it);var fe=(D+(m=m+Math.imul(_t,ht)|0)|0)+((8191&(n=(n=n+Math.imul(_t,Lt)|0)+Math.imul(lt,ht)|0))<<13)|0;D=((v=v+Math.imul(lt,Lt)|0)+(n>>>13)|0)+(fe>>>26)|0,fe&=67108863;var Oe=(D+(m=Math.imul(ke,ht))|0)+((8191&(n=(n=Math.imul(ke,Lt))+Math.imul(He,ht)|0))<<13)|0;return D=((v=Math.imul(He,Lt))+(n>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,T[0]=ui,T[1]=Ti,T[2]=yi,T[3]=Ni,T[4]=Xe,T[5]=Tt,T[6]=xe,T[7]=Rt,T[8]=jt,T[9]=li,T[10]=bi,T[11]=Li,T[12]=Gi,T[13]=ji,T[14]=$i,T[15]=Gt,T[16]=Kt,T[17]=fe,T[18]=Oe,0!==D&&(T[19]=D,u.length++),u};function Y(A,i,a){return(new K).mulp(A,i,a)}function K(A,i){this.x=A,this.y=i}Math.imul||(z=R),s.prototype.mulTo=function(i,a){var u,l=this.length+i.length;return u=10===this.length&&10===i.length?z(this,i,a):l<63?R(this,i,a):l<1024?function U(A,i,a){a.negative=i.negative^A.negative,a.length=A.length+i.length;for(var u=0,l=0,y=0;y<a.length-1;y++){var T=l;l=0;for(var D=67108863&u,m=Math.min(y,i.length-1),n=Math.max(0,y-A.length+1);n<=m;n++){var X=(0|A.words[y-n])*(0|i.words[n]),De=67108863&X;D=67108863&(De=De+D|0),l+=(T=(T=T+(X/67108864|0)|0)+(De>>>26)|0)>>>26,T&=67108863}a.words[y]=D,u=T,T=l}return 0!==u?a.words[y]=u:a.length--,a.strip()}(this,i,a):Y(this,i,a),u},K.prototype.makeRBT=function(i){for(var a=new Array(i),u=s.prototype._countBits(i)-1,l=0;l<i;l++)a[l]=this.revBin(l,u,i);return a},K.prototype.revBin=function(i,a,u){if(0===i||i===u-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,u,l,y,T){for(var D=0;D<T;D++)l[D]=a[i[D]],y[D]=u[i[D]]},K.prototype.transform=function(i,a,u,l,y,T){this.permute(T,i,a,u,l,y);for(var D=1;D<y;D<<=1)for(var m=D<<1,n=Math.cos(2*Math.PI/m),v=Math.sin(2*Math.PI/m),B=0;B<y;B+=m)for(var V=n,X=v,De=0;De<D;De++){var tt=u[B+De],je=l[B+De],ze=u[B+De+D],Le=l[B+De+D],ye=V*ze-X*Le;Le=V*Le+X*ze,u[B+De]=tt+(ze=ye),l[B+De]=je+Le,u[B+De+D]=tt-ze,l[B+De+D]=je-Le,De!==m&&(ye=n*V-v*X,X=n*X+v*V,V=ye)}},K.prototype.guessLen13b=function(i,a){var u=1|Math.max(a,i),l=1&u,y=0;for(u=u/2|0;u;u>>>=1)y++;return 1<<y+1+l},K.prototype.conjugate=function(i,a,u){if(!(u<=1))for(var l=0;l<u/2;l++){var y=i[l];i[l]=i[u-l-1],i[u-l-1]=y,y=a[l],a[l]=-a[u-l-1],a[u-l-1]=-y}},K.prototype.normalize13b=function(i,a){for(var u=0,l=0;l<a/2;l++){var y=8192*Math.round(i[2*l+1]/a)+Math.round(i[2*l]/a)+u;i[l]=67108863&y,u=y<67108864?0:y/67108864|0}return i},K.prototype.convert13b=function(i,a,u,l){for(var y=0,T=0;T<a;T++)u[2*T]=8191&(y+=0|i[T]),u[2*T+1]=8191&(y>>>=13),y>>>=13;for(T=2*a;T<l;++T)u[T]=0;b(0===y),b(0==(-8192&y))},K.prototype.stub=function(i){for(var a=new Array(i),u=0;u<i;u++)a[u]=0;return a},K.prototype.mulp=function(i,a,u){var l=2*this.guessLen13b(i.length,a.length),y=this.makeRBT(l),T=this.stub(l),D=new Array(l),m=new Array(l),n=new Array(l),v=new Array(l),B=new Array(l),V=new Array(l),X=u.words;X.length=l,this.convert13b(i.words,i.length,D,l),this.convert13b(a.words,a.length,v,l),this.transform(D,T,m,n,l,y),this.transform(v,T,B,V,l,y);for(var De=0;De<l;De++){var tt=m[De]*B[De]-n[De]*V[De];n[De]=m[De]*V[De]+n[De]*B[De],m[De]=tt}return this.conjugate(m,n,l),this.transform(m,n,X,T,l,y),this.conjugate(X,T,l),this.normalize13b(X,l),u.negative=i.negative^a.negative,u.length=i.length+a.length,u.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),Y(this,i,a)},s.prototype.imul=function(i){return this.clone().mulTo(i,this)},s.prototype.imuln=function(i){b("number"==typeof i),b(i<67108864);for(var a=0,u=0;u<this.length;u++){var l=(0|this.words[u])*i,y=(67108863&l)+(67108863&a);a>>=26,a+=l/67108864|0,a+=y>>>26,this.words[u]=67108863&y}return 0!==a&&(this.words[u]=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 E(A){for(var i=new Array(A.bitLength()),a=0;a<i.length;a++){var l=a%26;i[a]=(A.words[a/26|0]&1<<l)>>>l}return i}(i);if(0===a.length)return new s(1);for(var u=this,l=0;l<a.length&&0===a[l];l++,u=u.sqr());if(++l<a.length)for(var y=u.sqr();l<a.length;l++,y=y.sqr())0!==a[l]&&(u=u.mul(y));return u},s.prototype.iushln=function(i){b("number"==typeof i&&i>=0);var y,a=i%26,u=(i-a)/26,l=67108863>>>26-a<<26-a;if(0!==a){var T=0;for(y=0;y<this.length;y++){var D=this.words[y]&l;this.words[y]=(0|this.words[y])-D<<a|T,T=D>>>26-a}T&&(this.words[y]=T,this.length++)}if(0!==u){for(y=this.length-1;y>=0;y--)this.words[y+u]=this.words[y];for(y=0;y<u;y++)this.words[y]=0;this.length+=u}return this.strip()},s.prototype.ishln=function(i){return b(0===this.negative),this.iushln(i)},s.prototype.iushrn=function(i,a,u){var l;b("number"==typeof i&&i>=0),l=a?(a-a%26)/26:0;var y=i%26,T=Math.min((i-y)/26,this.length),D=67108863^67108863>>>y<<y,m=u;if(l-=T,l=Math.max(0,l),m){for(var n=0;n<T;n++)m.words[n]=this.words[n];m.length=T}if(0!==T)if(this.length>T)for(this.length-=T,n=0;n<this.length;n++)this.words[n]=this.words[n+T];else this.words[0]=0,this.length=1;var v=0;for(n=this.length-1;n>=0&&(0!==v||n>=l);n--){var B=0|this.words[n];this.words[n]=v<<26-y|B>>>y,v=B&D}return m&&0!==v&&(m.words[m.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(i,a,u){return b(0===this.negative),this.iushrn(i,a,u)},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){b("number"==typeof i&&i>=0);var a=i%26,u=(i-a)/26;return!(this.length<=u||!(this.words[u]&1<<a))},s.prototype.imaskn=function(i){b("number"==typeof i&&i>=0);var a=i%26,u=(i-a)/26;return b(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==a&&u++,this.length=Math.min(u,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 b("number"==typeof i),b(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(b("number"==typeof i),b(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,u){var y;this._expand(i.length+u);var T,D=0;for(y=0;y<i.length;y++){T=(0|this.words[y+u])+D;var m=(0|i.words[y])*a;D=((T-=67108863&m)>>26)-(m/67108864|0),this.words[y+u]=67108863&T}for(;y<this.length-u;y++)D=(T=(0|this.words[y+u])+D)>>26,this.words[y+u]=67108863&T;if(0===D)return this.strip();for(b(-1===D),D=0,y=0;y<this.length;y++)D=(T=-(0|this.words[y])+D)>>26,this.words[y]=67108863&T;return this.negative=1,this.strip()},s.prototype._wordDiv=function(i,a){var u,l=this.clone(),y=i,T=0|y.words[y.length-1];0!=(u=26-this._countBits(T))&&(y=y.ushln(u),l.iushln(u),T=0|y.words[y.length-1]);var n,m=l.length-y.length;if("mod"!==a){(n=new s(null)).length=m+1,n.words=new Array(n.length);for(var v=0;v<n.length;v++)n.words[v]=0}var B=l.clone()._ishlnsubmul(y,1,m);0===B.negative&&(l=B,n&&(n.words[m]=1));for(var V=m-1;V>=0;V--){var X=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(X=Math.min(X/T|0,67108863),l._ishlnsubmul(y,X,V);0!==l.negative;)X--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=X)}return n&&n.strip(),l.strip(),"div"!==a&&0!==u&&l.iushrn(u),{div:n||null,mod:l}},s.prototype.divmod=function(i,a,u){return b(!i.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===i.negative?(T=this.neg().divmod(i,a),"mod"!==a&&(l=T.div.neg()),"div"!==a&&(y=T.mod.neg(),u&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(T=this.divmod(i.neg(),a),"mod"!==a&&(l=T.div.neg()),{div:l,mod:T.mod}):this.negative&i.negative?(T=this.neg().divmod(i.neg(),a),"div"!==a&&(y=T.mod.neg(),u&&0!==y.negative&&y.isub(i)),{div:T.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,T},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 u=0!==a.div.negative?a.mod.isub(i):a.mod,l=i.ushrn(1),y=i.andln(1),T=u.cmp(l);return T<0||1===y&&0===T?a.div:0!==a.div.negative?a.div.isubn(1):a.div.iaddn(1)},s.prototype.modn=function(i){b(i<=67108863);for(var a=(1<<26)%i,u=0,l=this.length-1;l>=0;l--)u=(a*u+(0|this.words[l]))%i;return u},s.prototype.idivn=function(i){b(i<=67108863);for(var a=0,u=this.length-1;u>=0;u--){var l=(0|this.words[u])+67108864*a;this.words[u]=l/i|0,a=l%i}return this.strip()},s.prototype.divn=function(i){return this.clone().idivn(i)},s.prototype.egcd=function(i){b(0===i.negative),b(!i.isZero());var a=this,u=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),T=new s(0),D=new s(1),m=0;a.isEven()&&u.isEven();)a.iushrn(1),u.iushrn(1),++m;for(var n=u.clone(),v=a.clone();!a.isZero();){for(var B=0,V=1;!(a.words[0]&V)&&B<26;++B,V<<=1);if(B>0)for(a.iushrn(B);B-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(v)),l.iushrn(1),y.iushrn(1);for(var X=0,De=1;!(u.words[0]&De)&&X<26;++X,De<<=1);if(X>0)for(u.iushrn(X);X-- >0;)(T.isOdd()||D.isOdd())&&(T.iadd(n),D.isub(v)),T.iushrn(1),D.iushrn(1);a.cmp(u)>=0?(a.isub(u),l.isub(T),y.isub(D)):(u.isub(a),T.isub(l),D.isub(y))}return{a:T,b:D,gcd:u.iushln(m)}},s.prototype._invmp=function(i){b(0===i.negative),b(!i.isZero());var B,a=this,u=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),T=u.clone();a.cmpn(1)>0&&u.cmpn(1)>0;){for(var D=0,m=1;!(a.words[0]&m)&&D<26;++D,m<<=1);if(D>0)for(a.iushrn(D);D-- >0;)l.isOdd()&&l.iadd(T),l.iushrn(1);for(var n=0,v=1;!(u.words[0]&v)&&n<26;++n,v<<=1);if(n>0)for(u.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(T),y.iushrn(1);a.cmp(u)>=0?(a.isub(u),l.isub(y)):(u.isub(a),y.isub(l))}return(B=0===a.cmpn(1)?l:y).cmpn(0)<0&&B.iadd(i),B},s.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var a=this.clone(),u=i.clone();a.negative=0,u.negative=0;for(var l=0;a.isEven()&&u.isEven();l++)a.iushrn(1),u.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;u.isEven();)u.iushrn(1);var y=a.cmp(u);if(y<0){var T=a;a=u,u=T}else if(0===y||0===u.cmpn(1))break;a.isub(u)}return u.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){b("number"==typeof i);var a=i%26,u=(i-a)/26,l=1<<a;if(this.length<=u)return this._expand(u+1),this.words[u]|=l,this;for(var y=l,T=u;0!==y&&T<this.length;T++){var D=0|this.words[T];y=(D+=y)>>>26,this.words[T]=D&=67108863}return 0!==y&&(this.words[T]=y,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(i){var u,a=i<0;if(0!==this.negative&&!a)return-1;if(0===this.negative&&a)return 1;if(this.strip(),this.length>1)u=1;else{a&&(i=-i),b(i<=67108863,"Number is too big");var l=0|this.words[0];u=l===i?0:l<i?-1:1}return 0!==this.negative?0|-u:u},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,u=this.length-1;u>=0;u--){var l=0|this.words[u],y=0|i.words[u];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 ee(i)},s.prototype.toRed=function(i){return b(!this.red,"Already a number in reduction context"),b(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},s.prototype.fromRed=function(){return b(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 b(!this.red,"Already a number in reduction context"),this._forceRed(i)},s.prototype.redAdd=function(i){return b(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},s.prototype.redIAdd=function(i){return b(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},s.prototype.redSub=function(i){return b(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},s.prototype.redISub=function(i){return b(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},s.prototype.redShl=function(i){return b(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},s.prototype.redMul=function(i){return b(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},s.prototype.redIMul=function(i){return b(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},s.prototype.redSqr=function(){return b(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return b(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return b(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return b(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return b(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(i){return b(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var $={k256:null,p224:null,p192:null,p25519:null};function ie(A,i){this.name=A,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 ue(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function he(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function le(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ee(A){if("string"==typeof A){var i=s._prime(A);this.m=i.p,this.prime=i}else b(A.gtn(1),"modulus must be greater than 1"),this.m=A,this.prime=null}function me(A){ee.call(this,A),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)}ie.prototype._tmp=function(){var i=new s(null);return i.words=new Array(Math.ceil(this.n/13)),i},ie.prototype.ireduce=function(i){var u,a=i;do{this.split(a,this.tmp),u=(a=(a=this.imulK(a)).iadd(this.tmp)).bitLength()}while(u>this.n);var l=u<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},ie.prototype.split=function(i,a){i.iushrn(this.n,0,a)},ie.prototype.imulK=function(i){return i.imul(this.k)},I(ue,ie),ue.prototype.split=function(i,a){for(var u=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 T=i.words[9];for(a.words[a.length++]=T&u,y=10;y<i.length;y++){var D=0|i.words[y];i.words[y-10]=(D&u)<<4|T>>>22,T=D}i.words[y-10]=T>>>=22,i.length-=0===T&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var a=0,u=0;u<i.length;u++){var l=0|i.words[u];i.words[u]=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},I(he,ie),I(ne,ie),I(le,ie),le.prototype.imulK=function(i){for(var a=0,u=0;u<i.length;u++){var l=19*(0|i.words[u])+a,y=67108863&l;l>>>=26,i.words[u]=y,a=l}return 0!==a&&(i.words[i.length++]=a),i},s._prime=function(i){if($[i])return $[i];var a;if("k256"===i)a=new ue;else if("p224"===i)a=new he;else if("p192"===i)a=new ne;else{if("p25519"!==i)throw new Error("Unknown prime "+i);a=new le}return $[i]=a,a},ee.prototype._verify1=function(i){b(0===i.negative,"red works only with positives"),b(i.red,"red works only with red numbers")},ee.prototype._verify2=function(i,a){b(0==(i.negative|a.negative),"red works only with positives"),b(i.red&&i.red===a.red,"red works only with red numbers")},ee.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},ee.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},ee.prototype.add=function(i,a){this._verify2(i,a);var u=i.add(a);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},ee.prototype.iadd=function(i,a){this._verify2(i,a);var u=i.iadd(a);return u.cmp(this.m)>=0&&u.isub(this.m),u},ee.prototype.sub=function(i,a){this._verify2(i,a);var u=i.sub(a);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},ee.prototype.isub=function(i,a){this._verify2(i,a);var u=i.isub(a);return u.cmpn(0)<0&&u.iadd(this.m),u},ee.prototype.shl=function(i,a){return this._verify1(i),this.imod(i.ushln(a))},ee.prototype.imul=function(i,a){return this._verify2(i,a),this.imod(i.imul(a))},ee.prototype.mul=function(i,a){return this._verify2(i,a),this.imod(i.mul(a))},ee.prototype.isqr=function(i){return this.imul(i,i.clone())},ee.prototype.sqr=function(i){return this.mul(i,i)},ee.prototype.sqrt=function(i){if(i.isZero())return i.clone();var a=this.m.andln(3);if(b(a%2==1),3===a){var u=this.m.add(new s(1)).iushrn(2);return this.pow(i,u)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);b(!l.isZero());var T=new s(1).toRed(this),D=T.redNeg(),m=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new s(2*n*n).toRed(this);0!==this.pow(n,m).cmp(D);)n.redIAdd(D);for(var v=this.pow(n,l),B=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),X=y;0!==V.cmp(T);){for(var De=V,tt=0;0!==De.cmp(T);tt++)De=De.redSqr();b(tt<X);var je=this.pow(v,new s(1).iushln(X-tt-1));B=B.redMul(je),v=je.redSqr(),V=V.redMul(v),X=tt}return B},ee.prototype.invm=function(i){var a=i._invmp(this.m);return 0!==a.negative?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},ee.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 T=l[0],D=0,m=0,n=a.bitLength()%26;for(0===n&&(n=26),y=a.length-1;y>=0;y--){for(var v=a.words[y],B=n-1;B>=0;B--){var V=v>>B&1;T!==l[0]&&(T=this.sqr(T)),0!==V||0!==D?(D<<=1,D|=V,(4==++m||0===y&&0===B)&&(T=this.mul(T,l[D]),m=0,D=0)):m=0}n=26}return T},ee.prototype.convertTo=function(i){var a=i.umod(this.m);return a===i?a.clone():a},ee.prototype.convertFrom=function(i){var a=i.clone();return a.red=null,a},s.mont=function(i){return new me(i)},I(me,ee),me.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},me.prototype.convertFrom=function(i){var a=this.imod(i.mul(this.rinv));return a.red=null,a},me.prototype.imul=function(i,a){if(i.isZero()||a.isZero())return i.words[0]=0,i.length=1,i;var u=i.imul(a),l=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=u.isub(l).iushrn(this.shift),T=y;return y.cmp(this.m)>=0?T=y.isub(this.m):y.cmpn(0)<0&&(T=y.iadd(this.m)),T._forceRed(this)},me.prototype.mul=function(i,a){if(i.isZero()||a.isZero())return new s(0)._forceRed(this);var u=i.mul(a),l=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=u.isub(l).iushrn(this.shift),T=y;return y.cmp(this.m)>=0?T=y.isub(this.m):y.cmpn(0)<0&&(T=y.iadd(this.m)),T._forceRed(this)},me.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ue=p.nmd(Ue),this)},8419:Ue=>{"use strict";Ue.exports=function(p){for(var t=[],e=p.length,b=0;b<e;b++){var I=p.charCodeAt(b);if(I>=55296&&I<=56319&&e>b+1){var s=p.charCodeAt(b+1);s>=56320&&s<=57343&&(I=1024*(I-55296)+s-56320+65536,b+=1)}I<128?t.push(I):I<2048?(t.push(I>>6|192),t.push(63&I|128)):I<55296||I>=57344&&I<65536?(t.push(I>>12|224),t.push(I>>6&63|128),t.push(63&I|128)):I>=65536&&I<=1114111?(t.push(I>>18|240),t.push(I>>12&63|128),t.push(I>>6&63|128),t.push(63&I|128)):t.push(239,191,189)}return new Uint8Array(t).buffer}},9069:Ue=>{"use strict";var t,q="object"==typeof Reflect?Reflect:null,p=q&&"function"==typeof q.apply?q.apply:function(ie,ue,he){return Function.prototype.apply.call(ie,ue,he)};t=q&&"function"==typeof q.ownKeys?q.ownKeys:Object.getOwnPropertySymbols?function(ie){return Object.getOwnPropertyNames(ie).concat(Object.getOwnPropertySymbols(ie))}:function(ie){return Object.getOwnPropertyNames(ie)};var b=Number.isNaN||function(ie){return ie!=ie};function I(){I.init.call(this)}Ue.exports=I,Ue.exports.once=function U($,ie){return new Promise(function(ue,he){function ne(ee){$.removeListener(ie,le),he(ee)}function le(){"function"==typeof $.removeListener&&$.removeListener("error",ne),ue([].slice.call(arguments))}K($,ie,le,{once:!0}),"error"!==ie&&function Y($,ie,ue){"function"==typeof $.on&&K($,"error",ie,ue)}($,ne,{once:!0})})},I.EventEmitter=I,I.prototype._events=void 0,I.prototype._eventsCount=0,I.prototype._maxListeners=void 0;var s=10;function C($){if("function"!=typeof $)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof $)}function h($){return void 0===$._maxListeners?I.defaultMaxListeners:$._maxListeners}function P($,ie,ue,he){var ne,le,ee;if(C(ue),void 0===(le=$._events)?(le=$._events=Object.create(null),$._eventsCount=0):(void 0!==le.newListener&&($.emit("newListener",ie,ue.listener?ue.listener:ue),le=$._events),ee=le[ie]),void 0===ee)ee=le[ie]=ue,++$._eventsCount;else if("function"==typeof ee?ee=le[ie]=he?[ue,ee]:[ee,ue]:he?ee.unshift(ue):ee.push(ue),(ne=h($))>0&&ee.length>ne&&!ee.warned){ee.warned=!0;var me=new Error("Possible EventEmitter memory leak detected. "+ee.length+" "+String(ie)+" listeners added. Use emitter.setMaxListeners() to increase limit");me.name="MaxListenersExceededWarning",me.emitter=$,me.type=ie,me.count=ee.length,function e($){console&&console.warn&&console.warn($)}(me)}return $}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 S($,ie,ue){var he={fired:!1,wrapFn:void 0,target:$,type:ie,listener:ue},ne=d.bind(he);return ne.listener=ue,he.wrapFn=ne,ne}function w($,ie,ue){var he=$._events;if(void 0===he)return[];var ne=he[ie];return void 0===ne?[]:"function"==typeof ne?ue?[ne.listener||ne]:[ne]:ue?function z($){for(var ie=new Array($.length),ue=0;ue<ie.length;++ue)ie[ue]=$[ue].listener||$[ue];return ie}(ne):E(ne,ne.length)}function O($){var ie=this._events;if(void 0!==ie){var ue=ie[$];if("function"==typeof ue)return 1;if(void 0!==ue)return ue.length}return 0}function E($,ie){for(var ue=new Array(ie),he=0;he<ie;++he)ue[he]=$[he];return ue}function K($,ie,ue,he){if("function"==typeof $.on)he.once?$.once(ie,ue):$.on(ie,ue);else{if("function"!=typeof $.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof $);$.addEventListener(ie,function ne(le){he.once&&$.removeEventListener(ie,ne),ue(le)})}}Object.defineProperty(I,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function($){if("number"!=typeof $||$<0||b($))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+$+".");s=$}}),I.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},I.prototype.setMaxListeners=function(ie){if("number"!=typeof ie||ie<0||b(ie))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ie+".");return this._maxListeners=ie,this},I.prototype.getMaxListeners=function(){return h(this)},I.prototype.emit=function(ie){for(var ue=[],he=1;he<arguments.length;he++)ue.push(arguments[he]);var ne="error"===ie,le=this._events;if(void 0!==le)ne=ne&&void 0===le.error;else if(!ne)return!1;if(ne){var ee;if(ue.length>0&&(ee=ue[0]),ee instanceof Error)throw ee;var me=new Error("Unhandled error."+(ee?" ("+ee.message+")":""));throw me.context=ee,me}var A=le[ie];if(void 0===A)return!1;if("function"==typeof A)p(A,this,ue);else{var i=A.length,a=E(A,i);for(he=0;he<i;++he)p(a[he],this,ue)}return!0},I.prototype.on=I.prototype.addListener=function(ie,ue){return P(this,ie,ue,!1)},I.prototype.prependListener=function(ie,ue){return P(this,ie,ue,!0)},I.prototype.once=function(ie,ue){return C(ue),this.on(ie,S(this,ie,ue)),this},I.prototype.prependOnceListener=function(ie,ue){return C(ue),this.prependListener(ie,S(this,ie,ue)),this},I.prototype.off=I.prototype.removeListener=function(ie,ue){var he,ne,le,ee,me;if(C(ue),void 0===(ne=this._events))return this;if(void 0===(he=ne[ie]))return this;if(he===ue||he.listener===ue)0==--this._eventsCount?this._events=Object.create(null):(delete ne[ie],ne.removeListener&&this.emit("removeListener",ie,he.listener||ue));else if("function"!=typeof he){for(le=-1,ee=he.length-1;ee>=0;ee--)if(he[ee]===ue||he[ee].listener===ue){me=he[ee].listener,le=ee;break}if(le<0)return this;0===le?he.shift():function R($,ie){for(;ie+1<$.length;ie++)$[ie]=$[ie+1];$.pop()}(he,le),1===he.length&&(ne[ie]=he[0]),void 0!==ne.removeListener&&this.emit("removeListener",ie,me||ue)}return this},I.prototype.removeAllListeners=function(ie){var ue,he,ne;if(void 0===(he=this._events))return this;if(void 0===he.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==he[ie]&&(0==--this._eventsCount?this._events=Object.create(null):delete he[ie]),this;if(0===arguments.length){var ee,le=Object.keys(he);for(ne=0;ne<le.length;++ne)"removeListener"!==(ee=le[ne])&&this.removeAllListeners(ee);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(ue=he[ie]))this.removeListener(ie,ue);else if(void 0!==ue)for(ne=ue.length-1;ne>=0;ne--)this.removeListener(ie,ue[ne]);return this},I.prototype.listeners=function(ie){return w(this,ie,!0)},I.prototype.rawListeners=function(ie){return w(this,ie,!1)},I.listenerCount=function($,ie){return"function"==typeof $.listenerCount?$.listenerCount(ie):O.call($,ie)},I.prototype.listenerCount=O,I.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},347:(Ue,q,p)=>{var t=p(3502).Buffer,e=p(8095);Ue.exports=function b(I,s,C,h){if(t.isBuffer(I)||(I=t.from(I,"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),S=t.alloc(h||0),w=t.alloc(0);P>0||h>0;){var O=new e;O.update(w),O.update(I),s&&O.update(s),w=O.digest();var E=0;if(P>0){var R=d.length-P;E=Math.min(P,w.length),w.copy(d,R,0,E),P-=E}if(E<w.length&&h>0){var z=S.length-h,U=Math.min(h,w.length-E);w.copy(S,z,E,E+U),h-=U}}return w.fill(0),{key:d,iv:S}}},9650:(Ue,q,p)=>{"use strict";var t=p(3502).Buffer,e=p(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}p(3894)(s,e),s.prototype._transform=function(C,h,P){var d=null;try{this.update(C,h)}catch(S){d=S}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 I(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 S=this._blockOffset;S<this._blockSize;)P[S++]=C[d++];this._update(),this._blockOffset=0}for(;d<C.length;)P[this._blockOffset++]=C[d++];for(var w=0,O=8*C.length;O>0;++w)this._length[w]+=O,(O=this._length[w]/4294967296|0)>0&&(this._length[w]-=4294967296*O);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")},Ue.exports=s},7084:(Ue,q,p)=>{var t=q;t.utils=p(9299),t.common=p(3800),t.sha=p(4962),t.ripemd=p(9458),t.hmac=p(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:(Ue,q,p)=>{"use strict";var t=p(9299),e=p(2391);function b(){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=b,b.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},b.prototype.digest=function(s){return this.update(this._pad()),e(null===this.pending),this._digest(s)},b.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 S=8;S<this.padLength;S++)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,S=8;S<this.padLength;S++)P[d++]=0;return P}},2194:(Ue,q,p)=>{"use strict";var t=p(9299),e=p(2391);function b(I,s,C){if(!(this instanceof b))return new b(I,s,C);this.Hash=I,this.blockSize=I.blockSize/8,this.outSize=I.outSize/8,this.inner=null,this.outer=null,this._init(t.toArray(s,C))}Ue.exports=b,b.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)},b.prototype.update=function(s,C){return this.inner.update(s,C),this},b.prototype.digest=function(s){return this.outer.update(this.inner.digest()),this.outer.digest(s)}},9458:(Ue,q,p)=>{"use strict";var t=p(9299),e=p(3800),b=t.rotl32,I=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(U,Y,K,$){return U<=15?Y^K^$:U<=31?Y&K|~Y&$:U<=47?(Y|~K)^$:U<=63?Y&$|K&~$:Y^(K|~$)}function w(U){return U<=15?1352829926:U<=31?1548603684:U<=47?1836072691:U<=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(Y,K){for(var $=this.h[0],ie=this.h[1],ue=this.h[2],he=this.h[3],ne=this.h[4],le=$,ee=ie,me=ue,A=he,i=ne,a=0;a<80;a++){var u=I(b(C($,d(a,ie,ue,he),Y[O[a]+K],(U=a)<=15?0:U<=31?1518500249:U<=47?1859775393:U<=63?2400959708:2840853838),R[a]),ne);$=ne,ne=he,he=b(ue,10),ue=ie,ie=u,u=I(b(C(le,d(79-a,ee,me,A),Y[E[a]+K],w(a)),z[a]),i),le=i,i=A,A=b(me,10),me=ee,ee=u}var U;u=s(this.h[1],ue,A),this.h[1]=s(this.h[2],he,i),this.h[2]=s(this.h[3],ne,le),this.h[3]=s(this.h[4],$,ee),this.h[4]=s(this.h[0],ie,me),this.h[0]=u},P.prototype._digest=function(Y){return"hex"===Y?t.toHex32(this.h,"little"):t.split32(this.h,"little")};var O=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],E=[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],R=[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],z=[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:(Ue,q,p)=>{"use strict";q.sha1=p(9007),q.sha224=p(55),q.sha256=p(9342),q.sha384=p(8634),q.sha512=p(39)},9007:(Ue,q,p)=>{"use strict";var t=p(9299),e=p(3800),b=p(3113),I=t.rotl32,s=t.sum32,C=t.sum32_5,h=b.ft_1,P=e.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function S(){if(!(this instanceof S))return new S;P.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}t.inherits(S,P),Ue.exports=S,S.blockSize=512,S.outSize=160,S.hmacStrength=80,S.padLength=64,S.prototype._update=function(O,E){for(var R=this.W,z=0;z<16;z++)R[z]=O[E+z];for(;z<R.length;z++)R[z]=I(R[z-3]^R[z-8]^R[z-14]^R[z-16],1);var U=this.h[0],Y=this.h[1],K=this.h[2],$=this.h[3],ie=this.h[4];for(z=0;z<R.length;z++){var ue=~~(z/20),he=C(I(U,5),h(ue,Y,K,$),ie,R[z],d[ue]);ie=$,$=K,K=I(Y,30),Y=U,U=he}this.h[0]=s(this.h[0],U),this.h[1]=s(this.h[1],Y),this.h[2]=s(this.h[2],K),this.h[3]=s(this.h[3],$),this.h[4]=s(this.h[4],ie)},S.prototype._digest=function(O){return"hex"===O?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},55:(Ue,q,p)=>{"use strict";var t=p(9299),e=p(9342);function b(){if(!(this instanceof b))return new b;e.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}t.inherits(b,e),Ue.exports=b,b.blockSize=512,b.outSize=224,b.hmacStrength=192,b.padLength=64,b.prototype._digest=function(s){return"hex"===s?t.toHex32(this.h.slice(0,7),"big"):t.split32(this.h.slice(0,7),"big")}},9342:(Ue,q,p)=>{"use strict";var t=p(9299),e=p(3800),b=p(3113),I=p(2391),s=t.sum32,C=t.sum32_4,h=t.sum32_5,P=b.ch32,d=b.maj32,S=b.s0_256,w=b.s1_256,O=b.g0_256,E=b.g1_256,R=e.BlockHash,z=[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 U(){if(!(this instanceof U))return new U;R.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=z,this.W=new Array(64)}t.inherits(U,R),Ue.exports=U,U.blockSize=512,U.outSize=256,U.hmacStrength=192,U.padLength=64,U.prototype._update=function(K,$){for(var ie=this.W,ue=0;ue<16;ue++)ie[ue]=K[$+ue];for(;ue<ie.length;ue++)ie[ue]=C(E(ie[ue-2]),ie[ue-7],O(ie[ue-15]),ie[ue-16]);var he=this.h[0],ne=this.h[1],le=this.h[2],ee=this.h[3],me=this.h[4],A=this.h[5],i=this.h[6],a=this.h[7];for(I(this.k.length===ie.length),ue=0;ue<ie.length;ue++){var u=h(a,w(me),P(me,A,i),this.k[ue],ie[ue]),l=s(S(he),d(he,ne,le));a=i,i=A,A=me,me=s(ee,u),ee=le,le=ne,ne=he,he=s(u,l)}this.h[0]=s(this.h[0],he),this.h[1]=s(this.h[1],ne),this.h[2]=s(this.h[2],le),this.h[3]=s(this.h[3],ee),this.h[4]=s(this.h[4],me),this.h[5]=s(this.h[5],A),this.h[6]=s(this.h[6],i),this.h[7]=s(this.h[7],a)},U.prototype._digest=function(K){return"hex"===K?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},8634:(Ue,q,p)=>{"use strict";var t=p(9299),e=p(39);function b(){if(!(this instanceof b))return new b;e.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}t.inherits(b,e),Ue.exports=b,b.blockSize=1024,b.outSize=384,b.hmacStrength=192,b.padLength=128,b.prototype._digest=function(s){return"hex"===s?t.toHex32(this.h.slice(0,12),"big"):t.split32(this.h.slice(0,12),"big")}},39:(Ue,q,p)=>{"use strict";var t=p(9299),e=p(3800),b=p(2391),I=t.rotr64_hi,s=t.rotr64_lo,C=t.shr64_hi,h=t.shr64_lo,P=t.sum64,d=t.sum64_hi,S=t.sum64_lo,w=t.sum64_4_hi,O=t.sum64_4_lo,E=t.sum64_5_hi,R=t.sum64_5_lo,z=e.BlockHash,U=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function Y(){if(!(this instanceof Y))return new Y;z.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=U,this.W=new Array(160)}function K(u,l,y,T,D){var m=u&y^~u&D;return m<0&&(m+=4294967296),m}function $(u,l,y,T,D,m){var n=l&T^~l&m;return n<0&&(n+=4294967296),n}function ie(u,l,y,T,D){var m=u&y^u&D^y&D;return m<0&&(m+=4294967296),m}function ue(u,l,y,T,D,m){var n=l&T^l&m^T&m;return n<0&&(n+=4294967296),n}function he(u,l){var m=I(u,l,28)^I(l,u,2)^I(l,u,7);return m<0&&(m+=4294967296),m}function ne(u,l){var m=s(u,l,28)^s(l,u,2)^s(l,u,7);return m<0&&(m+=4294967296),m}function le(u,l){var m=I(u,l,14)^I(u,l,18)^I(l,u,9);return m<0&&(m+=4294967296),m}function ee(u,l){var m=s(u,l,14)^s(u,l,18)^s(l,u,9);return m<0&&(m+=4294967296),m}function me(u,l){var m=I(u,l,1)^I(u,l,8)^C(u,l,7);return m<0&&(m+=4294967296),m}function A(u,l){var m=s(u,l,1)^s(u,l,8)^h(u,l,7);return m<0&&(m+=4294967296),m}function i(u,l){var m=I(u,l,19)^I(l,u,29)^C(u,l,6);return m<0&&(m+=4294967296),m}function a(u,l){var m=s(u,l,19)^s(l,u,29)^h(u,l,6);return m<0&&(m+=4294967296),m}t.inherits(Y,z),Ue.exports=Y,Y.blockSize=1024,Y.outSize=512,Y.hmacStrength=192,Y.padLength=128,Y.prototype._prepareBlock=function(l,y){for(var T=this.W,D=0;D<32;D++)T[D]=l[y+D];for(;D<T.length;D+=2){var m=i(T[D-4],T[D-3]),n=a(T[D-4],T[D-3]),v=T[D-14],B=T[D-13],V=me(T[D-30],T[D-29]),X=A(T[D-30],T[D-29]),De=T[D-32],tt=T[D-31];T[D]=w(m,n,v,B,V,X,De,tt),T[D+1]=O(m,n,v,B,V,X,De,tt)}},Y.prototype._update=function(l,y){this._prepareBlock(l,y);var T=this.W,D=this.h[0],m=this.h[1],n=this.h[2],v=this.h[3],B=this.h[4],V=this.h[5],X=this.h[6],De=this.h[7],tt=this.h[8],je=this.h[9],ze=this.h[10],Le=this.h[11],ye=this.h[12],ce=this.h[13],ve=this.h[14],oe=this.h[15];b(this.k.length===T.length);for(var Ke=0;Ke<T.length;Ke+=2){var Ae=ve,de=oe,Ce=le(tt,je),te=ee(tt,je),Ze=K(tt,0,ze,0,ye),Ge=$(0,je,0,Le,0,ce),ae=this.k[Ke],ge=this.k[Ke+1],pt=T[Ke],$e=T[Ke+1],ut=E(Ae,de,Ce,te,Ze,Ge,ae,ge,pt,$e),At=R(Ae,de,Ce,te,Ze,Ge,ae,ge,pt,$e);Ae=he(D,m),de=ne(D,m),Ce=ie(D,0,n,0,B),te=ue(0,m,0,v,0,V);var _t=d(Ae,de,Ce,te),lt=S(Ae,de,Ce,te);ve=ye,oe=ce,ye=ze,ce=Le,ze=tt,Le=je,tt=d(X,De,ut,At),je=S(De,De,ut,At),X=B,De=V,B=n,V=v,n=D,v=m,D=d(ut,At,_t,lt),m=S(ut,At,_t,lt)}P(this.h,0,D,m),P(this.h,2,n,v),P(this.h,4,B,V),P(this.h,6,X,De),P(this.h,8,tt,je),P(this.h,10,ze,Le),P(this.h,12,ye,ce),P(this.h,14,ve,oe)},Y.prototype._digest=function(l){return"hex"===l?t.toHex32(this.h,"big"):t.split32(this.h,"big")}},3113:(Ue,q,p)=>{"use strict";var e=p(9299).rotr32;function I(w,O,E){return w&O^~w&E}function s(w,O,E){return w&O^w&E^O&E}function C(w,O,E){return w^O^E}q.ft_1=function b(w,O,E,R){return 0===w?I(O,E,R):1===w||3===w?C(O,E,R):2===w?s(O,E,R):void 0},q.ch32=I,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 S(w){return e(w,17)^e(w,19)^w>>>10}},9299:(Ue,q,p)=>{"use strict";var t=p(2391),e=p(3894);function b(a,u){return!(55296!=(64512&a.charCodeAt(u))||u<0||u+1>=a.length)&&56320==(64512&a.charCodeAt(u+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 I(a,u){if(Array.isArray(a))return a.slice();if(!a)return[];var l=[];if("string"==typeof a)if(u){if("hex"===u)for((a=a.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(a="0"+a),T=0;T<a.length;T+=2)l.push(parseInt(a[T]+a[T+1],16))}else for(var y=0,T=0;T<a.length;T++){var D=a.charCodeAt(T);D<128?l[y++]=D:D<2048?(l[y++]=D>>6|192,l[y++]=63&D|128):b(a,T)?(D=65536+((1023&D)<<10)+(1023&a.charCodeAt(++T)),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(T=0;T<a.length;T++)l[T]=0|a[T];return l},q.toHex=function s(a){for(var u="",l=0;l<a.length;l++)u+=P(a[l].toString(16));return u},q.htonl=C,q.toHex32=function h(a,u){for(var l="",y=0;y<a.length;y++){var T=a[y];"little"===u&&(T=C(T)),l+=d(T.toString(16))}return l},q.zero2=P,q.zero8=d,q.join32=function S(a,u,l,y){var T=l-u;t(T%4==0);for(var D=new Array(T/4),m=0,n=u;m<D.length;m++,n+=4)D[m]=("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,u){for(var l=new Array(4*a.length),y=0,T=0;y<a.length;y++,T+=4){var D=a[y];"big"===u?(l[T]=D>>>24,l[T+1]=D>>>16&255,l[T+2]=D>>>8&255,l[T+3]=255&D):(l[T+3]=D>>>24,l[T+2]=D>>>16&255,l[T+1]=D>>>8&255,l[T]=255&D)}return l},q.rotr32=function O(a,u){return a>>>u|a<<32-u},q.rotl32=function E(a,u){return a<<u|a>>>32-u},q.sum32=function R(a,u){return a+u>>>0},q.sum32_3=function z(a,u,l){return a+u+l>>>0},q.sum32_4=function U(a,u,l,y){return a+u+l+y>>>0},q.sum32_5=function Y(a,u,l,y,T){return a+u+l+y+T>>>0},q.sum64=function K(a,u,l,y){var m=y+a[u+1]>>>0;a[u]=(m<y?1:0)+l+a[u]>>>0,a[u+1]=m},q.sum64_hi=function $(a,u,l,y){return(u+y>>>0<u?1:0)+a+l>>>0},q.sum64_lo=function ie(a,u,l,y){return u+y>>>0},q.sum64_4_hi=function ue(a,u,l,y,T,D,m,n){var v=0,B=u;return v+=(B=B+y>>>0)<u?1:0,v+=(B=B+D>>>0)<D?1:0,a+l+T+m+(v+=(B=B+n>>>0)<n?1:0)>>>0},q.sum64_4_lo=function he(a,u,l,y,T,D,m,n){return u+y+D+n>>>0},q.sum64_5_hi=function ne(a,u,l,y,T,D,m,n,v,B){var V=0,X=u;return V+=(X=X+y>>>0)<u?1:0,V+=(X=X+D>>>0)<D?1:0,V+=(X=X+n>>>0)<n?1:0,a+l+T+m+v+(V+=(X=X+B>>>0)<B?1:0)>>>0},q.sum64_5_lo=function le(a,u,l,y,T,D,m,n,v,B){return u+y+D+n+B>>>0},q.rotr64_hi=function ee(a,u,l){return(u<<32-l|a>>>l)>>>0},q.rotr64_lo=function me(a,u,l){return(a<<32-l|u>>>l)>>>0},q.shr64_hi=function A(a,u,l){return a>>>l},q.shr64_lo=function i(a,u,l){return(a<<32-l|u>>>l)>>>0}},2438:(Ue,q,p)=>{"use strict";var t=p(7084),e=p(8195),b=p(2391);function I(s){if(!(this instanceof I))return new I(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");b(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(C,h,P)}Ue.exports=I,I.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 S=0;S<this.V.length;S++)this.K[S]=0,this.V[S]=1;this._update(d),this._reseed=1,this.reseedInterval=281474976710656},I.prototype._hmac=function(){return new t.hmac(this.hash,this.K)},I.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())},I.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),b(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(C.concat(P||[])),this._reseed=1},I.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 S=[];S.length<C;)this.V=this._hmac().update(this.V).digest(),S=S.concat(this.V);var w=S.slice(0,C);return this._update(P),this._reseed++,e.encode(w,h)}},8461:(Ue,q)=>{q.read=function(p,t,e,b,I){var s,C,h=8*I-b-1,P=(1<<h)-1,d=P>>1,S=-7,w=e?I-1:0,O=e?-1:1,E=p[t+w];for(w+=O,s=E&(1<<-S)-1,E>>=-S,S+=h;S>0;s=256*s+p[t+w],w+=O,S-=8);for(C=s&(1<<-S)-1,s>>=-S,S+=b;S>0;C=256*C+p[t+w],w+=O,S-=8);if(0===s)s=1-d;else{if(s===P)return C?NaN:1/0*(E?-1:1);C+=Math.pow(2,b),s-=d}return(E?-1:1)*C*Math.pow(2,s-b)},q.write=function(p,t,e,b,I,s){var C,h,P,d=8*s-I-1,S=(1<<d)-1,w=S>>1,O=23===I?Math.pow(2,-24)-Math.pow(2,-77):0,E=b?0:s-1,R=b?1:-1,z=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=S):(C=Math.floor(Math.log(t)/Math.LN2),t*(P=Math.pow(2,-C))<1&&(C--,P*=2),(t+=C+w>=1?O/P:O*Math.pow(2,1-w))*P>=2&&(C++,P/=2),C+w>=S?(h=0,C=S):C+w>=1?(h=(t*P-1)*Math.pow(2,I),C+=w):(h=t*Math.pow(2,w-1)*Math.pow(2,I),C=0));I>=8;p[e+E]=255&h,E+=R,h/=256,I-=8);for(C=C<<I|h,d+=I;d>0;p[e+E]=255&C,E+=R,C/=256,d-=8);p[e+E-R]|=128*z}},3894:Ue=>{Ue.exports="function"==typeof Object.create?function(p,t){t&&(p.super_=t,p.prototype=Object.create(t.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}))}:function(p,t){if(t){p.super_=t;var e=function(){};e.prototype=t.prototype,p.prototype=new e,p.prototype.constructor=p}}},8095:(Ue,q,p)=>{"use strict";var t=p(3894),e=p(9650),b=p(3502).Buffer,I=new Array(16);function s(){e.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function C(w,O){return w<<O|w>>>32-O}function h(w,O,E,R,z,U,Y){return C(w+(O&E|~O&R)+z+U|0,Y)+O|0}function P(w,O,E,R,z,U,Y){return C(w+(O&R|E&~R)+z+U|0,Y)+O|0}function d(w,O,E,R,z,U,Y){return C(w+(O^E^R)+z+U|0,Y)+O|0}function S(w,O,E,R,z,U,Y){return C(w+(E^(O|~R))+z+U|0,Y)+O|0}t(s,e),s.prototype._update=function(){for(var w=I,O=0;O<16;++O)w[O]=this._block.readInt32LE(4*O);var E=this._a,R=this._b,z=this._c,U=this._d;E=h(E,R,z,U,w[0],3614090360,7),U=h(U,E,R,z,w[1],3905402710,12),z=h(z,U,E,R,w[2],606105819,17),R=h(R,z,U,E,w[3],3250441966,22),E=h(E,R,z,U,w[4],4118548399,7),U=h(U,E,R,z,w[5],1200080426,12),z=h(z,U,E,R,w[6],2821735955,17),R=h(R,z,U,E,w[7],4249261313,22),E=h(E,R,z,U,w[8],1770035416,7),U=h(U,E,R,z,w[9],2336552879,12),z=h(z,U,E,R,w[10],4294925233,17),R=h(R,z,U,E,w[11],2304563134,22),E=h(E,R,z,U,w[12],1804603682,7),U=h(U,E,R,z,w[13],4254626195,12),z=h(z,U,E,R,w[14],2792965006,17),E=P(E,R=h(R,z,U,E,w[15],1236535329,22),z,U,w[1],4129170786,5),U=P(U,E,R,z,w[6],3225465664,9),z=P(z,U,E,R,w[11],643717713,14),R=P(R,z,U,E,w[0],3921069994,20),E=P(E,R,z,U,w[5],3593408605,5),U=P(U,E,R,z,w[10],38016083,9),z=P(z,U,E,R,w[15],3634488961,14),R=P(R,z,U,E,w[4],3889429448,20),E=P(E,R,z,U,w[9],568446438,5),U=P(U,E,R,z,w[14],3275163606,9),z=P(z,U,E,R,w[3],4107603335,14),R=P(R,z,U,E,w[8],1163531501,20),E=P(E,R,z,U,w[13],2850285829,5),U=P(U,E,R,z,w[2],4243563512,9),z=P(z,U,E,R,w[7],1735328473,14),E=d(E,R=P(R,z,U,E,w[12],2368359562,20),z,U,w[5],4294588738,4),U=d(U,E,R,z,w[8],2272392833,11),z=d(z,U,E,R,w[11],1839030562,16),R=d(R,z,U,E,w[14],4259657740,23),E=d(E,R,z,U,w[1],2763975236,4),U=d(U,E,R,z,w[4],1272893353,11),z=d(z,U,E,R,w[7],4139469664,16),R=d(R,z,U,E,w[10],3200236656,23),E=d(E,R,z,U,w[13],681279174,4),U=d(U,E,R,z,w[0],3936430074,11),z=d(z,U,E,R,w[3],3572445317,16),R=d(R,z,U,E,w[6],76029189,23),E=d(E,R,z,U,w[9],3654602809,4),U=d(U,E,R,z,w[12],3873151461,11),z=d(z,U,E,R,w[15],530742520,16),E=S(E,R=d(R,z,U,E,w[2],3299628645,23),z,U,w[0],4096336452,6),U=S(U,E,R,z,w[7],1126891415,10),z=S(z,U,E,R,w[14],2878612391,15),R=S(R,z,U,E,w[5],4237533241,21),E=S(E,R,z,U,w[12],1700485571,6),U=S(U,E,R,z,w[3],2399980690,10),z=S(z,U,E,R,w[10],4293915773,15),R=S(R,z,U,E,w[1],2240044497,21),E=S(E,R,z,U,w[8],1873313359,6),U=S(U,E,R,z,w[15],4264355552,10),z=S(z,U,E,R,w[6],2734768916,15),R=S(R,z,U,E,w[13],1309151649,21),E=S(E,R,z,U,w[4],4149444226,6),U=S(U,E,R,z,w[11],3174756917,10),z=S(z,U,E,R,w[2],718787259,15),R=S(R,z,U,E,w[9],3951481745,21),this._a=this._a+E|0,this._b=this._b+R|0,this._c=this._c+z|0,this._d=this._d+U|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=b.allocUnsafe(16);return w.writeInt32LE(this._a,0),w.writeInt32LE(this._b,4),w.writeInt32LE(this._c,8),w.writeInt32LE(this._d,12),w},Ue.exports=s},7079:(Ue,q,p)=>{var t=p(1378),e=p(7950);function b(I){this.rand=I||new e.Rand}Ue.exports=b,b.create=function(s){return new b(s)},b.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},b.prototype._randrange=function(s,C){var h=C.sub(s);return s.add(this._randbelow(h))},b.prototype.test=function(s,C,h){var P=s.bitLength(),d=t.mont(s),S=new t(1).toRed(d);C||(C=Math.max(1,P/48|0));for(var w=s.subn(1),O=0;!w.testn(O);O++);for(var E=s.shrn(O),R=w.toRed(d);C>0;C--){var U=this._randrange(new t(2),w);h&&h(U);var Y=U.toRed(d).redPow(E);if(0!==Y.cmp(S)&&0!==Y.cmp(R)){for(var K=1;K<O;K++){if(0===(Y=Y.redSqr()).cmp(S))return!1;if(0===Y.cmp(R))break}if(K===O)return!1}}return!0},b.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 S=s.subn(1),w=0;!S.testn(w);w++);for(var O=s.shrn(w),E=S.toRed(P);C>0;C--){var R=this._randrange(new t(2),S),z=s.gcd(R);if(0!==z.cmpn(1))return z;var U=R.toRed(P).redPow(O);if(0!==U.cmp(d)&&0!==U.cmp(E)){for(var Y=1;Y<w;Y++){if(0===(U=U.redSqr()).cmp(d))return U.fromRed().subn(1).gcd(s);if(0===U.cmp(E))break}if(Y===w)return(U=U.redSqr()).fromRed().subn(1).gcd(s)}}return!1}},1378:function(Ue,q,p){!function(t,e){"use strict";function b(A,i){if(!A)throw new Error(i||"Assertion failed")}function I(A,i){A.super_=i;var a=function(){};a.prototype=i.prototype,A.prototype=new a,A.prototype.constructor=A}function s(A,i,a){if(s.isBN(A))return A;this.negative=0,this.words=null,this.length=0,this.red=null,null!==A&&(("le"===i||"be"===i)&&(a=i,i=10),this._init(A||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:p(6619).Buffer}catch{}function h(A,i){var a=A.charCodeAt(i);return a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:a-48&15}function P(A,i,a){var u=h(A,a);return a-1>=i&&(u|=h(A,a-1)<<4),u}function d(A,i,a,u){for(var l=0,y=Math.min(A.length,a),T=i;T<y;T++){var D=A.charCodeAt(T)-48;l*=u,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,u){if("number"==typeof i)return this._initNumber(i,a,u);if("object"==typeof i)return this._initArray(i,a,u);"hex"===a&&(a=16),b(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,u):(this._parseBase(i,a,l),"le"===u&&this._initArray(this.toArray(),a,u)))},s.prototype._initNumber=function(i,a,u){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):(b(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===u&&this._initArray(this.toArray(),a,u)},s.prototype._initArray=function(i,a,u){if(b("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,T,D=0;if("be"===u)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(T=i[l]|i[l-1]<<8|i[l-2]<<16)<<D&67108863,this.words[y+1]=T>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);else if("le"===u)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(T=i[l]|i[l+1]<<8|i[l+2]<<16)<<D&67108863,this.words[y+1]=T>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);return this.strip()},s.prototype._parseHex=function(i,a,u){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,T=0;if("be"===u)for(l=i.length-1;l>=a;l-=2)D=P(i,a,l)<<y,this.words[T]|=67108863&D,y>=18?(y-=18,this.words[T+=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[T]|=67108863&D,y>=18?(y-=18,this.words[T+=1]|=D>>>26):y+=8;this.strip()},s.prototype._parseBase=function(i,a,u){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=a)l++;l--,y=y/a|0;for(var T=i.length-u,D=T%l,m=Math.min(T,T-D)+u,n=0,v=u;v<m;v+=l)n=d(i,v,v+l,a),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==D){var B=1;for(n=d(i,v,i.length,a),v=0;v<D;v++)B*=a;this.imuln(B),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 S=["","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],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 R(A,i,a){a.negative=i.negative^A.negative;var u=A.length+i.length|0;a.length=u,u=u-1|0;var l=0|A.words[0],y=0|i.words[0],T=l*y,m=T/67108864|0;a.words[0]=67108863&T;for(var n=1;n<u;n++){for(var v=m>>>26,B=67108863&m,V=Math.min(n,i.length-1),X=Math.max(0,n-A.length+1);X<=V;X++)v+=(T=(l=0|A.words[n-X|0])*(y=0|i.words[X])+B)/67108864|0,B=67108863&T;a.words[n]=0|B,m=0|v}return 0!==m?a.words[n]=0|m:a.length--,a.strip()}s.prototype.toString=function(i,a){var u;if(a=0|a||1,16===(i=i||10)||"hex"===i){u="";for(var l=0,y=0,T=0;T<this.length;T++){var D=this.words[T],m=(16777215&(D<<l|y)).toString(16);u=0!=(y=D>>>24-l&16777215)||T!==this.length-1?S[6-m.length]+m+u:m+u,(l+=2)>=26&&(l-=26,T--)}for(0!==y&&(u=y.toString(16)+u);u.length%a!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],v=O[i];u="";var B=this.clone();for(B.negative=0;!B.isZero();){var V=B.modn(v).toString(i);u=(B=B.idivn(v)).isZero()?V+u:S[n-V.length]+V+u}for(this.isZero()&&(u="0"+u);u.length%a!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}b(!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&&b(!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 b(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,u){var l=this.byteLength(),y=u||Math.max(1,l);b(l<=y,"byte array longer than desired length"),b(y>0,"Requested array length <= 0"),this.strip();var m,n,T="le"===a,D=new i(y),v=this.clone();if(T){for(n=0;!v.isZero();n++)m=v.andln(255),v.iushrn(8),D[n]=m;for(;n<y;n++)D[n]=0}else{for(n=0;n<y-l;n++)D[n]=0;for(n=0;!v.isZero();n++)m=v.andln(255),v.iushrn(8),D[y-n-1]=m}return D},s.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var a=i,u=0;return a>=4096&&(u+=13,a>>>=13),a>=64&&(u+=7,a>>>=7),a>=8&&(u+=4,a>>>=4),a>=2&&(u+=2,a>>>=2),u+a},s.prototype._zeroBits=function(i){if(0===i)return 26;var a=i,u=0;return 8191&a||(u+=13,a>>>=13),127&a||(u+=7,a>>>=7),15&a||(u+=4,a>>>=4),3&a||(u+=2,a>>>=2),1&a||u++,u},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 u=this._zeroBits(this.words[a]);if(i+=u,26!==u)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 b(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 u=0;u<a.length;u++)this.words[u]=this.words[u]&i.words[u];return this.length=a.length,this.strip()},s.prototype.iand=function(i){return b(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,u;this.length>i.length?(a=this,u=i):(a=i,u=this);for(var l=0;l<u.length;l++)this.words[l]=a.words[l]^u.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 b(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){b("number"==typeof i&&i>=0);var a=0|Math.ceil(i/26),u=i%26;this._expand(a),u>0&&a--;for(var l=0;l<a;l++)this.words[l]=67108863&~this.words[l];return u>0&&(this.words[l]=~this.words[l]&67108863>>26-u),this.strip()},s.prototype.notn=function(i){return this.clone().inotn(i)},s.prototype.setn=function(i,a){b("number"==typeof i&&i>=0);var u=i/26|0,l=i%26;return this._expand(u+1),this.words[u]=a?this.words[u]|1<<l:this.words[u]&~(1<<l),this.strip()},s.prototype.iadd=function(i){var a,u,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?(u=this,l=i):(u=i,l=this);for(var y=0,T=0;T<l.length;T++)this.words[T]=67108863&(a=(0|u.words[T])+(0|l.words[T])+y),y=a>>>26;for(;0!==y&&T<u.length;T++)this.words[T]=67108863&(a=(0|u.words[T])+y),y=a>>>26;if(this.length=u.length,0!==y)this.words[this.length]=y,this.length++;else if(u!==this)for(;T<u.length;T++)this.words[T]=u.words[T];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,u=this.cmp(i);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(l=this,y=i):(l=i,y=this);for(var T=0,D=0;D<y.length;D++)T=(a=(0|l.words[D])-(0|y.words[D])+T)>>26,this.words[D]=67108863&a;for(;0!==T&&D<l.length;D++)T=(a=(0|l.words[D])+T)>>26,this.words[D]=67108863&a;if(0===T&&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 z=function(i,a,u){var m,n,v,l=i.words,y=a.words,T=u.words,D=0,B=0|l[0],V=8191&B,X=B>>>13,De=0|l[1],tt=8191&De,je=De>>>13,ze=0|l[2],Le=8191&ze,ye=ze>>>13,ce=0|l[3],ve=8191&ce,oe=ce>>>13,Ke=0|l[4],Ae=8191&Ke,de=Ke>>>13,Ce=0|l[5],te=8191&Ce,Ze=Ce>>>13,Ge=0|l[6],ae=8191&Ge,ge=Ge>>>13,pt=0|l[7],$e=8191&pt,ut=pt>>>13,At=0|l[8],_t=8191&At,lt=At>>>13,St=0|l[9],ke=8191&St,He=St>>>13,wt=0|y[0],W=8191&wt,Fe=wt>>>13,Ft=0|y[1],qe=8191&Ft,Qe=Ft>>>13,Ht=0|y[2],Et=8191&Ht,It=Ht>>>13,bt=0|y[3],we=8191&bt,J=bt>>>13,be=0|y[4],Ve=8191&be,ot=be>>>13,ei=0|y[5],Bt=8191&ei,ti=ei>>>13,mt=0|y[6],nt=8191&mt,yt=mt>>>13,$t=0|y[7],Vt=8191&$t,ft=$t>>>13,Pt=0|y[8],Pe=8191&Pt,it=Pt>>>13,at=0|y[9],ht=8191&at,Lt=at>>>13;u.negative=i.negative^a.negative,u.length=19;var ui=(D+(m=Math.imul(V,W))|0)+((8191&(n=(n=Math.imul(V,Fe))+Math.imul(X,W)|0))<<13)|0;D=((v=Math.imul(X,Fe))+(n>>>13)|0)+(ui>>>26)|0,ui&=67108863,m=Math.imul(tt,W),n=(n=Math.imul(tt,Fe))+Math.imul(je,W)|0,v=Math.imul(je,Fe);var Ti=(D+(m=m+Math.imul(V,qe)|0)|0)+((8191&(n=(n=n+Math.imul(V,Qe)|0)+Math.imul(X,qe)|0))<<13)|0;D=((v=v+Math.imul(X,Qe)|0)+(n>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,m=Math.imul(Le,W),n=(n=Math.imul(Le,Fe))+Math.imul(ye,W)|0,v=Math.imul(ye,Fe),m=m+Math.imul(tt,qe)|0,n=(n=n+Math.imul(tt,Qe)|0)+Math.imul(je,qe)|0,v=v+Math.imul(je,Qe)|0;var yi=(D+(m=m+Math.imul(V,Et)|0)|0)+((8191&(n=(n=n+Math.imul(V,It)|0)+Math.imul(X,Et)|0))<<13)|0;D=((v=v+Math.imul(X,It)|0)+(n>>>13)|0)+(yi>>>26)|0,yi&=67108863,m=Math.imul(ve,W),n=(n=Math.imul(ve,Fe))+Math.imul(oe,W)|0,v=Math.imul(oe,Fe),m=m+Math.imul(Le,qe)|0,n=(n=n+Math.imul(Le,Qe)|0)+Math.imul(ye,qe)|0,v=v+Math.imul(ye,Qe)|0,m=m+Math.imul(tt,Et)|0,n=(n=n+Math.imul(tt,It)|0)+Math.imul(je,Et)|0,v=v+Math.imul(je,It)|0;var Ni=(D+(m=m+Math.imul(V,we)|0)|0)+((8191&(n=(n=n+Math.imul(V,J)|0)+Math.imul(X,we)|0))<<13)|0;D=((v=v+Math.imul(X,J)|0)+(n>>>13)|0)+(Ni>>>26)|0,Ni&=67108863,m=Math.imul(Ae,W),n=(n=Math.imul(Ae,Fe))+Math.imul(de,W)|0,v=Math.imul(de,Fe),m=m+Math.imul(ve,qe)|0,n=(n=n+Math.imul(ve,Qe)|0)+Math.imul(oe,qe)|0,v=v+Math.imul(oe,Qe)|0,m=m+Math.imul(Le,Et)|0,n=(n=n+Math.imul(Le,It)|0)+Math.imul(ye,Et)|0,v=v+Math.imul(ye,It)|0,m=m+Math.imul(tt,we)|0,n=(n=n+Math.imul(tt,J)|0)+Math.imul(je,we)|0,v=v+Math.imul(je,J)|0;var Xe=(D+(m=m+Math.imul(V,Ve)|0)|0)+((8191&(n=(n=n+Math.imul(V,ot)|0)+Math.imul(X,Ve)|0))<<13)|0;D=((v=v+Math.imul(X,ot)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,m=Math.imul(te,W),n=(n=Math.imul(te,Fe))+Math.imul(Ze,W)|0,v=Math.imul(Ze,Fe),m=m+Math.imul(Ae,qe)|0,n=(n=n+Math.imul(Ae,Qe)|0)+Math.imul(de,qe)|0,v=v+Math.imul(de,Qe)|0,m=m+Math.imul(ve,Et)|0,n=(n=n+Math.imul(ve,It)|0)+Math.imul(oe,Et)|0,v=v+Math.imul(oe,It)|0,m=m+Math.imul(Le,we)|0,n=(n=n+Math.imul(Le,J)|0)+Math.imul(ye,we)|0,v=v+Math.imul(ye,J)|0,m=m+Math.imul(tt,Ve)|0,n=(n=n+Math.imul(tt,ot)|0)+Math.imul(je,Ve)|0,v=v+Math.imul(je,ot)|0;var Tt=(D+(m=m+Math.imul(V,Bt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ti)|0)+Math.imul(X,Bt)|0))<<13)|0;D=((v=v+Math.imul(X,ti)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,m=Math.imul(ae,W),n=(n=Math.imul(ae,Fe))+Math.imul(ge,W)|0,v=Math.imul(ge,Fe),m=m+Math.imul(te,qe)|0,n=(n=n+Math.imul(te,Qe)|0)+Math.imul(Ze,qe)|0,v=v+Math.imul(Ze,Qe)|0,m=m+Math.imul(Ae,Et)|0,n=(n=n+Math.imul(Ae,It)|0)+Math.imul(de,Et)|0,v=v+Math.imul(de,It)|0,m=m+Math.imul(ve,we)|0,n=(n=n+Math.imul(ve,J)|0)+Math.imul(oe,we)|0,v=v+Math.imul(oe,J)|0,m=m+Math.imul(Le,Ve)|0,n=(n=n+Math.imul(Le,ot)|0)+Math.imul(ye,Ve)|0,v=v+Math.imul(ye,ot)|0,m=m+Math.imul(tt,Bt)|0,n=(n=n+Math.imul(tt,ti)|0)+Math.imul(je,Bt)|0,v=v+Math.imul(je,ti)|0;var xe=(D+(m=m+Math.imul(V,nt)|0)|0)+((8191&(n=(n=n+Math.imul(V,yt)|0)+Math.imul(X,nt)|0))<<13)|0;D=((v=v+Math.imul(X,yt)|0)+(n>>>13)|0)+(xe>>>26)|0,xe&=67108863,m=Math.imul($e,W),n=(n=Math.imul($e,Fe))+Math.imul(ut,W)|0,v=Math.imul(ut,Fe),m=m+Math.imul(ae,qe)|0,n=(n=n+Math.imul(ae,Qe)|0)+Math.imul(ge,qe)|0,v=v+Math.imul(ge,Qe)|0,m=m+Math.imul(te,Et)|0,n=(n=n+Math.imul(te,It)|0)+Math.imul(Ze,Et)|0,v=v+Math.imul(Ze,It)|0,m=m+Math.imul(Ae,we)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(de,we)|0,v=v+Math.imul(de,J)|0,m=m+Math.imul(ve,Ve)|0,n=(n=n+Math.imul(ve,ot)|0)+Math.imul(oe,Ve)|0,v=v+Math.imul(oe,ot)|0,m=m+Math.imul(Le,Bt)|0,n=(n=n+Math.imul(Le,ti)|0)+Math.imul(ye,Bt)|0,v=v+Math.imul(ye,ti)|0,m=m+Math.imul(tt,nt)|0,n=(n=n+Math.imul(tt,yt)|0)+Math.imul(je,nt)|0,v=v+Math.imul(je,yt)|0;var Rt=(D+(m=m+Math.imul(V,Vt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ft)|0)+Math.imul(X,Vt)|0))<<13)|0;D=((v=v+Math.imul(X,ft)|0)+(n>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,m=Math.imul(_t,W),n=(n=Math.imul(_t,Fe))+Math.imul(lt,W)|0,v=Math.imul(lt,Fe),m=m+Math.imul($e,qe)|0,n=(n=n+Math.imul($e,Qe)|0)+Math.imul(ut,qe)|0,v=v+Math.imul(ut,Qe)|0,m=m+Math.imul(ae,Et)|0,n=(n=n+Math.imul(ae,It)|0)+Math.imul(ge,Et)|0,v=v+Math.imul(ge,It)|0,m=m+Math.imul(te,we)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ze,we)|0,v=v+Math.imul(Ze,J)|0,m=m+Math.imul(Ae,Ve)|0,n=(n=n+Math.imul(Ae,ot)|0)+Math.imul(de,Ve)|0,v=v+Math.imul(de,ot)|0,m=m+Math.imul(ve,Bt)|0,n=(n=n+Math.imul(ve,ti)|0)+Math.imul(oe,Bt)|0,v=v+Math.imul(oe,ti)|0,m=m+Math.imul(Le,nt)|0,n=(n=n+Math.imul(Le,yt)|0)+Math.imul(ye,nt)|0,v=v+Math.imul(ye,yt)|0,m=m+Math.imul(tt,Vt)|0,n=(n=n+Math.imul(tt,ft)|0)+Math.imul(je,Vt)|0,v=v+Math.imul(je,ft)|0;var jt=(D+(m=m+Math.imul(V,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(V,it)|0)+Math.imul(X,Pe)|0))<<13)|0;D=((v=v+Math.imul(X,it)|0)+(n>>>13)|0)+(jt>>>26)|0,jt&=67108863,m=Math.imul(ke,W),n=(n=Math.imul(ke,Fe))+Math.imul(He,W)|0,v=Math.imul(He,Fe),m=m+Math.imul(_t,qe)|0,n=(n=n+Math.imul(_t,Qe)|0)+Math.imul(lt,qe)|0,v=v+Math.imul(lt,Qe)|0,m=m+Math.imul($e,Et)|0,n=(n=n+Math.imul($e,It)|0)+Math.imul(ut,Et)|0,v=v+Math.imul(ut,It)|0,m=m+Math.imul(ae,we)|0,n=(n=n+Math.imul(ae,J)|0)+Math.imul(ge,we)|0,v=v+Math.imul(ge,J)|0,m=m+Math.imul(te,Ve)|0,n=(n=n+Math.imul(te,ot)|0)+Math.imul(Ze,Ve)|0,v=v+Math.imul(Ze,ot)|0,m=m+Math.imul(Ae,Bt)|0,n=(n=n+Math.imul(Ae,ti)|0)+Math.imul(de,Bt)|0,v=v+Math.imul(de,ti)|0,m=m+Math.imul(ve,nt)|0,n=(n=n+Math.imul(ve,yt)|0)+Math.imul(oe,nt)|0,v=v+Math.imul(oe,yt)|0,m=m+Math.imul(Le,Vt)|0,n=(n=n+Math.imul(Le,ft)|0)+Math.imul(ye,Vt)|0,v=v+Math.imul(ye,ft)|0,m=m+Math.imul(tt,Pe)|0,n=(n=n+Math.imul(tt,it)|0)+Math.imul(je,Pe)|0,v=v+Math.imul(je,it)|0;var li=(D+(m=m+Math.imul(V,ht)|0)|0)+((8191&(n=(n=n+Math.imul(V,Lt)|0)+Math.imul(X,ht)|0))<<13)|0;D=((v=v+Math.imul(X,Lt)|0)+(n>>>13)|0)+(li>>>26)|0,li&=67108863,m=Math.imul(ke,qe),n=(n=Math.imul(ke,Qe))+Math.imul(He,qe)|0,v=Math.imul(He,Qe),m=m+Math.imul(_t,Et)|0,n=(n=n+Math.imul(_t,It)|0)+Math.imul(lt,Et)|0,v=v+Math.imul(lt,It)|0,m=m+Math.imul($e,we)|0,n=(n=n+Math.imul($e,J)|0)+Math.imul(ut,we)|0,v=v+Math.imul(ut,J)|0,m=m+Math.imul(ae,Ve)|0,n=(n=n+Math.imul(ae,ot)|0)+Math.imul(ge,Ve)|0,v=v+Math.imul(ge,ot)|0,m=m+Math.imul(te,Bt)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ze,Bt)|0,v=v+Math.imul(Ze,ti)|0,m=m+Math.imul(Ae,nt)|0,n=(n=n+Math.imul(Ae,yt)|0)+Math.imul(de,nt)|0,v=v+Math.imul(de,yt)|0,m=m+Math.imul(ve,Vt)|0,n=(n=n+Math.imul(ve,ft)|0)+Math.imul(oe,Vt)|0,v=v+Math.imul(oe,ft)|0,m=m+Math.imul(Le,Pe)|0,n=(n=n+Math.imul(Le,it)|0)+Math.imul(ye,Pe)|0,v=v+Math.imul(ye,it)|0;var bi=(D+(m=m+Math.imul(tt,ht)|0)|0)+((8191&(n=(n=n+Math.imul(tt,Lt)|0)+Math.imul(je,ht)|0))<<13)|0;D=((v=v+Math.imul(je,Lt)|0)+(n>>>13)|0)+(bi>>>26)|0,bi&=67108863,m=Math.imul(ke,Et),n=(n=Math.imul(ke,It))+Math.imul(He,Et)|0,v=Math.imul(He,It),m=m+Math.imul(_t,we)|0,n=(n=n+Math.imul(_t,J)|0)+Math.imul(lt,we)|0,v=v+Math.imul(lt,J)|0,m=m+Math.imul($e,Ve)|0,n=(n=n+Math.imul($e,ot)|0)+Math.imul(ut,Ve)|0,v=v+Math.imul(ut,ot)|0,m=m+Math.imul(ae,Bt)|0,n=(n=n+Math.imul(ae,ti)|0)+Math.imul(ge,Bt)|0,v=v+Math.imul(ge,ti)|0,m=m+Math.imul(te,nt)|0,n=(n=n+Math.imul(te,yt)|0)+Math.imul(Ze,nt)|0,v=v+Math.imul(Ze,yt)|0,m=m+Math.imul(Ae,Vt)|0,n=(n=n+Math.imul(Ae,ft)|0)+Math.imul(de,Vt)|0,v=v+Math.imul(de,ft)|0,m=m+Math.imul(ve,Pe)|0,n=(n=n+Math.imul(ve,it)|0)+Math.imul(oe,Pe)|0,v=v+Math.imul(oe,it)|0;var Li=(D+(m=m+Math.imul(Le,ht)|0)|0)+((8191&(n=(n=n+Math.imul(Le,Lt)|0)+Math.imul(ye,ht)|0))<<13)|0;D=((v=v+Math.imul(ye,Lt)|0)+(n>>>13)|0)+(Li>>>26)|0,Li&=67108863,m=Math.imul(ke,we),n=(n=Math.imul(ke,J))+Math.imul(He,we)|0,v=Math.imul(He,J),m=m+Math.imul(_t,Ve)|0,n=(n=n+Math.imul(_t,ot)|0)+Math.imul(lt,Ve)|0,v=v+Math.imul(lt,ot)|0,m=m+Math.imul($e,Bt)|0,n=(n=n+Math.imul($e,ti)|0)+Math.imul(ut,Bt)|0,v=v+Math.imul(ut,ti)|0,m=m+Math.imul(ae,nt)|0,n=(n=n+Math.imul(ae,yt)|0)+Math.imul(ge,nt)|0,v=v+Math.imul(ge,yt)|0,m=m+Math.imul(te,Vt)|0,n=(n=n+Math.imul(te,ft)|0)+Math.imul(Ze,Vt)|0,v=v+Math.imul(Ze,ft)|0,m=m+Math.imul(Ae,Pe)|0,n=(n=n+Math.imul(Ae,it)|0)+Math.imul(de,Pe)|0,v=v+Math.imul(de,it)|0;var Gi=(D+(m=m+Math.imul(ve,ht)|0)|0)+((8191&(n=(n=n+Math.imul(ve,Lt)|0)+Math.imul(oe,ht)|0))<<13)|0;D=((v=v+Math.imul(oe,Lt)|0)+(n>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,m=Math.imul(ke,Ve),n=(n=Math.imul(ke,ot))+Math.imul(He,Ve)|0,v=Math.imul(He,ot),m=m+Math.imul(_t,Bt)|0,n=(n=n+Math.imul(_t,ti)|0)+Math.imul(lt,Bt)|0,v=v+Math.imul(lt,ti)|0,m=m+Math.imul($e,nt)|0,n=(n=n+Math.imul($e,yt)|0)+Math.imul(ut,nt)|0,v=v+Math.imul(ut,yt)|0,m=m+Math.imul(ae,Vt)|0,n=(n=n+Math.imul(ae,ft)|0)+Math.imul(ge,Vt)|0,v=v+Math.imul(ge,ft)|0,m=m+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,it)|0)+Math.imul(Ze,Pe)|0,v=v+Math.imul(Ze,it)|0;var ji=(D+(m=m+Math.imul(Ae,ht)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Lt)|0)+Math.imul(de,ht)|0))<<13)|0;D=((v=v+Math.imul(de,Lt)|0)+(n>>>13)|0)+(ji>>>26)|0,ji&=67108863,m=Math.imul(ke,Bt),n=(n=Math.imul(ke,ti))+Math.imul(He,Bt)|0,v=Math.imul(He,ti),m=m+Math.imul(_t,nt)|0,n=(n=n+Math.imul(_t,yt)|0)+Math.imul(lt,nt)|0,v=v+Math.imul(lt,yt)|0,m=m+Math.imul($e,Vt)|0,n=(n=n+Math.imul($e,ft)|0)+Math.imul(ut,Vt)|0,v=v+Math.imul(ut,ft)|0,m=m+Math.imul(ae,Pe)|0,n=(n=n+Math.imul(ae,it)|0)+Math.imul(ge,Pe)|0,v=v+Math.imul(ge,it)|0;var $i=(D+(m=m+Math.imul(te,ht)|0)|0)+((8191&(n=(n=n+Math.imul(te,Lt)|0)+Math.imul(Ze,ht)|0))<<13)|0;D=((v=v+Math.imul(Ze,Lt)|0)+(n>>>13)|0)+($i>>>26)|0,$i&=67108863,m=Math.imul(ke,nt),n=(n=Math.imul(ke,yt))+Math.imul(He,nt)|0,v=Math.imul(He,yt),m=m+Math.imul(_t,Vt)|0,n=(n=n+Math.imul(_t,ft)|0)+Math.imul(lt,Vt)|0,v=v+Math.imul(lt,ft)|0,m=m+Math.imul($e,Pe)|0,n=(n=n+Math.imul($e,it)|0)+Math.imul(ut,Pe)|0,v=v+Math.imul(ut,it)|0;var Gt=(D+(m=m+Math.imul(ae,ht)|0)|0)+((8191&(n=(n=n+Math.imul(ae,Lt)|0)+Math.imul(ge,ht)|0))<<13)|0;D=((v=v+Math.imul(ge,Lt)|0)+(n>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,m=Math.imul(ke,Vt),n=(n=Math.imul(ke,ft))+Math.imul(He,Vt)|0,v=Math.imul(He,ft),m=m+Math.imul(_t,Pe)|0,n=(n=n+Math.imul(_t,it)|0)+Math.imul(lt,Pe)|0,v=v+Math.imul(lt,it)|0;var Kt=(D+(m=m+Math.imul($e,ht)|0)|0)+((8191&(n=(n=n+Math.imul($e,Lt)|0)+Math.imul(ut,ht)|0))<<13)|0;D=((v=v+Math.imul(ut,Lt)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,m=Math.imul(ke,Pe),n=(n=Math.imul(ke,it))+Math.imul(He,Pe)|0,v=Math.imul(He,it);var fe=(D+(m=m+Math.imul(_t,ht)|0)|0)+((8191&(n=(n=n+Math.imul(_t,Lt)|0)+Math.imul(lt,ht)|0))<<13)|0;D=((v=v+Math.imul(lt,Lt)|0)+(n>>>13)|0)+(fe>>>26)|0,fe&=67108863;var Oe=(D+(m=Math.imul(ke,ht))|0)+((8191&(n=(n=Math.imul(ke,Lt))+Math.imul(He,ht)|0))<<13)|0;return D=((v=Math.imul(He,Lt))+(n>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,T[0]=ui,T[1]=Ti,T[2]=yi,T[3]=Ni,T[4]=Xe,T[5]=Tt,T[6]=xe,T[7]=Rt,T[8]=jt,T[9]=li,T[10]=bi,T[11]=Li,T[12]=Gi,T[13]=ji,T[14]=$i,T[15]=Gt,T[16]=Kt,T[17]=fe,T[18]=Oe,0!==D&&(T[19]=D,u.length++),u};function Y(A,i,a){return(new K).mulp(A,i,a)}function K(A,i){this.x=A,this.y=i}Math.imul||(z=R),s.prototype.mulTo=function(i,a){var u,l=this.length+i.length;return u=10===this.length&&10===i.length?z(this,i,a):l<63?R(this,i,a):l<1024?function U(A,i,a){a.negative=i.negative^A.negative,a.length=A.length+i.length;for(var u=0,l=0,y=0;y<a.length-1;y++){var T=l;l=0;for(var D=67108863&u,m=Math.min(y,i.length-1),n=Math.max(0,y-A.length+1);n<=m;n++){var X=(0|A.words[y-n])*(0|i.words[n]),De=67108863&X;D=67108863&(De=De+D|0),l+=(T=(T=T+(X/67108864|0)|0)+(De>>>26)|0)>>>26,T&=67108863}a.words[y]=D,u=T,T=l}return 0!==u?a.words[y]=u:a.length--,a.strip()}(this,i,a):Y(this,i,a),u},K.prototype.makeRBT=function(i){for(var a=new Array(i),u=s.prototype._countBits(i)-1,l=0;l<i;l++)a[l]=this.revBin(l,u,i);return a},K.prototype.revBin=function(i,a,u){if(0===i||i===u-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,u,l,y,T){for(var D=0;D<T;D++)l[D]=a[i[D]],y[D]=u[i[D]]},K.prototype.transform=function(i,a,u,l,y,T){this.permute(T,i,a,u,l,y);for(var D=1;D<y;D<<=1)for(var m=D<<1,n=Math.cos(2*Math.PI/m),v=Math.sin(2*Math.PI/m),B=0;B<y;B+=m)for(var V=n,X=v,De=0;De<D;De++){var tt=u[B+De],je=l[B+De],ze=u[B+De+D],Le=l[B+De+D],ye=V*ze-X*Le;Le=V*Le+X*ze,u[B+De]=tt+(ze=ye),l[B+De]=je+Le,u[B+De+D]=tt-ze,l[B+De+D]=je-Le,De!==m&&(ye=n*V-v*X,X=n*X+v*V,V=ye)}},K.prototype.guessLen13b=function(i,a){var u=1|Math.max(a,i),l=1&u,y=0;for(u=u/2|0;u;u>>>=1)y++;return 1<<y+1+l},K.prototype.conjugate=function(i,a,u){if(!(u<=1))for(var l=0;l<u/2;l++){var y=i[l];i[l]=i[u-l-1],i[u-l-1]=y,y=a[l],a[l]=-a[u-l-1],a[u-l-1]=-y}},K.prototype.normalize13b=function(i,a){for(var u=0,l=0;l<a/2;l++){var y=8192*Math.round(i[2*l+1]/a)+Math.round(i[2*l]/a)+u;i[l]=67108863&y,u=y<67108864?0:y/67108864|0}return i},K.prototype.convert13b=function(i,a,u,l){for(var y=0,T=0;T<a;T++)u[2*T]=8191&(y+=0|i[T]),u[2*T+1]=8191&(y>>>=13),y>>>=13;for(T=2*a;T<l;++T)u[T]=0;b(0===y),b(0==(-8192&y))},K.prototype.stub=function(i){for(var a=new Array(i),u=0;u<i;u++)a[u]=0;return a},K.prototype.mulp=function(i,a,u){var l=2*this.guessLen13b(i.length,a.length),y=this.makeRBT(l),T=this.stub(l),D=new Array(l),m=new Array(l),n=new Array(l),v=new Array(l),B=new Array(l),V=new Array(l),X=u.words;X.length=l,this.convert13b(i.words,i.length,D,l),this.convert13b(a.words,a.length,v,l),this.transform(D,T,m,n,l,y),this.transform(v,T,B,V,l,y);for(var De=0;De<l;De++){var tt=m[De]*B[De]-n[De]*V[De];n[De]=m[De]*V[De]+n[De]*B[De],m[De]=tt}return this.conjugate(m,n,l),this.transform(m,n,X,T,l,y),this.conjugate(X,T,l),this.normalize13b(X,l),u.negative=i.negative^a.negative,u.length=i.length+a.length,u.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),Y(this,i,a)},s.prototype.imul=function(i){return this.clone().mulTo(i,this)},s.prototype.imuln=function(i){b("number"==typeof i),b(i<67108864);for(var a=0,u=0;u<this.length;u++){var l=(0|this.words[u])*i,y=(67108863&l)+(67108863&a);a>>=26,a+=l/67108864|0,a+=y>>>26,this.words[u]=67108863&y}return 0!==a&&(this.words[u]=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 E(A){for(var i=new Array(A.bitLength()),a=0;a<i.length;a++){var l=a%26;i[a]=(A.words[a/26|0]&1<<l)>>>l}return i}(i);if(0===a.length)return new s(1);for(var u=this,l=0;l<a.length&&0===a[l];l++,u=u.sqr());if(++l<a.length)for(var y=u.sqr();l<a.length;l++,y=y.sqr())0!==a[l]&&(u=u.mul(y));return u},s.prototype.iushln=function(i){b("number"==typeof i&&i>=0);var y,a=i%26,u=(i-a)/26,l=67108863>>>26-a<<26-a;if(0!==a){var T=0;for(y=0;y<this.length;y++){var D=this.words[y]&l;this.words[y]=(0|this.words[y])-D<<a|T,T=D>>>26-a}T&&(this.words[y]=T,this.length++)}if(0!==u){for(y=this.length-1;y>=0;y--)this.words[y+u]=this.words[y];for(y=0;y<u;y++)this.words[y]=0;this.length+=u}return this.strip()},s.prototype.ishln=function(i){return b(0===this.negative),this.iushln(i)},s.prototype.iushrn=function(i,a,u){var l;b("number"==typeof i&&i>=0),l=a?(a-a%26)/26:0;var y=i%26,T=Math.min((i-y)/26,this.length),D=67108863^67108863>>>y<<y,m=u;if(l-=T,l=Math.max(0,l),m){for(var n=0;n<T;n++)m.words[n]=this.words[n];m.length=T}if(0!==T)if(this.length>T)for(this.length-=T,n=0;n<this.length;n++)this.words[n]=this.words[n+T];else this.words[0]=0,this.length=1;var v=0;for(n=this.length-1;n>=0&&(0!==v||n>=l);n--){var B=0|this.words[n];this.words[n]=v<<26-y|B>>>y,v=B&D}return m&&0!==v&&(m.words[m.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(i,a,u){return b(0===this.negative),this.iushrn(i,a,u)},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){b("number"==typeof i&&i>=0);var a=i%26,u=(i-a)/26;return!(this.length<=u||!(this.words[u]&1<<a))},s.prototype.imaskn=function(i){b("number"==typeof i&&i>=0);var a=i%26,u=(i-a)/26;return b(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==a&&u++,this.length=Math.min(u,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 b("number"==typeof i),b(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(b("number"==typeof i),b(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,u){var y;this._expand(i.length+u);var T,D=0;for(y=0;y<i.length;y++){T=(0|this.words[y+u])+D;var m=(0|i.words[y])*a;D=((T-=67108863&m)>>26)-(m/67108864|0),this.words[y+u]=67108863&T}for(;y<this.length-u;y++)D=(T=(0|this.words[y+u])+D)>>26,this.words[y+u]=67108863&T;if(0===D)return this.strip();for(b(-1===D),D=0,y=0;y<this.length;y++)D=(T=-(0|this.words[y])+D)>>26,this.words[y]=67108863&T;return this.negative=1,this.strip()},s.prototype._wordDiv=function(i,a){var u,l=this.clone(),y=i,T=0|y.words[y.length-1];0!=(u=26-this._countBits(T))&&(y=y.ushln(u),l.iushln(u),T=0|y.words[y.length-1]);var n,m=l.length-y.length;if("mod"!==a){(n=new s(null)).length=m+1,n.words=new Array(n.length);for(var v=0;v<n.length;v++)n.words[v]=0}var B=l.clone()._ishlnsubmul(y,1,m);0===B.negative&&(l=B,n&&(n.words[m]=1));for(var V=m-1;V>=0;V--){var X=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(X=Math.min(X/T|0,67108863),l._ishlnsubmul(y,X,V);0!==l.negative;)X--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=X)}return n&&n.strip(),l.strip(),"div"!==a&&0!==u&&l.iushrn(u),{div:n||null,mod:l}},s.prototype.divmod=function(i,a,u){return b(!i.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===i.negative?(T=this.neg().divmod(i,a),"mod"!==a&&(l=T.div.neg()),"div"!==a&&(y=T.mod.neg(),u&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(T=this.divmod(i.neg(),a),"mod"!==a&&(l=T.div.neg()),{div:l,mod:T.mod}):this.negative&i.negative?(T=this.neg().divmod(i.neg(),a),"div"!==a&&(y=T.mod.neg(),u&&0!==y.negative&&y.isub(i)),{div:T.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,T},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 u=0!==a.div.negative?a.mod.isub(i):a.mod,l=i.ushrn(1),y=i.andln(1),T=u.cmp(l);return T<0||1===y&&0===T?a.div:0!==a.div.negative?a.div.isubn(1):a.div.iaddn(1)},s.prototype.modn=function(i){b(i<=67108863);for(var a=(1<<26)%i,u=0,l=this.length-1;l>=0;l--)u=(a*u+(0|this.words[l]))%i;return u},s.prototype.idivn=function(i){b(i<=67108863);for(var a=0,u=this.length-1;u>=0;u--){var l=(0|this.words[u])+67108864*a;this.words[u]=l/i|0,a=l%i}return this.strip()},s.prototype.divn=function(i){return this.clone().idivn(i)},s.prototype.egcd=function(i){b(0===i.negative),b(!i.isZero());var a=this,u=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),T=new s(0),D=new s(1),m=0;a.isEven()&&u.isEven();)a.iushrn(1),u.iushrn(1),++m;for(var n=u.clone(),v=a.clone();!a.isZero();){for(var B=0,V=1;!(a.words[0]&V)&&B<26;++B,V<<=1);if(B>0)for(a.iushrn(B);B-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(v)),l.iushrn(1),y.iushrn(1);for(var X=0,De=1;!(u.words[0]&De)&&X<26;++X,De<<=1);if(X>0)for(u.iushrn(X);X-- >0;)(T.isOdd()||D.isOdd())&&(T.iadd(n),D.isub(v)),T.iushrn(1),D.iushrn(1);a.cmp(u)>=0?(a.isub(u),l.isub(T),y.isub(D)):(u.isub(a),T.isub(l),D.isub(y))}return{a:T,b:D,gcd:u.iushln(m)}},s.prototype._invmp=function(i){b(0===i.negative),b(!i.isZero());var B,a=this,u=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),T=u.clone();a.cmpn(1)>0&&u.cmpn(1)>0;){for(var D=0,m=1;!(a.words[0]&m)&&D<26;++D,m<<=1);if(D>0)for(a.iushrn(D);D-- >0;)l.isOdd()&&l.iadd(T),l.iushrn(1);for(var n=0,v=1;!(u.words[0]&v)&&n<26;++n,v<<=1);if(n>0)for(u.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(T),y.iushrn(1);a.cmp(u)>=0?(a.isub(u),l.isub(y)):(u.isub(a),y.isub(l))}return(B=0===a.cmpn(1)?l:y).cmpn(0)<0&&B.iadd(i),B},s.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var a=this.clone(),u=i.clone();a.negative=0,u.negative=0;for(var l=0;a.isEven()&&u.isEven();l++)a.iushrn(1),u.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;u.isEven();)u.iushrn(1);var y=a.cmp(u);if(y<0){var T=a;a=u,u=T}else if(0===y||0===u.cmpn(1))break;a.isub(u)}return u.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){b("number"==typeof i);var a=i%26,u=(i-a)/26,l=1<<a;if(this.length<=u)return this._expand(u+1),this.words[u]|=l,this;for(var y=l,T=u;0!==y&&T<this.length;T++){var D=0|this.words[T];y=(D+=y)>>>26,this.words[T]=D&=67108863}return 0!==y&&(this.words[T]=y,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(i){var u,a=i<0;if(0!==this.negative&&!a)return-1;if(0===this.negative&&a)return 1;if(this.strip(),this.length>1)u=1;else{a&&(i=-i),b(i<=67108863,"Number is too big");var l=0|this.words[0];u=l===i?0:l<i?-1:1}return 0!==this.negative?0|-u:u},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,u=this.length-1;u>=0;u--){var l=0|this.words[u],y=0|i.words[u];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 ee(i)},s.prototype.toRed=function(i){return b(!this.red,"Already a number in reduction context"),b(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},s.prototype.fromRed=function(){return b(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 b(!this.red,"Already a number in reduction context"),this._forceRed(i)},s.prototype.redAdd=function(i){return b(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},s.prototype.redIAdd=function(i){return b(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},s.prototype.redSub=function(i){return b(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},s.prototype.redISub=function(i){return b(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},s.prototype.redShl=function(i){return b(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},s.prototype.redMul=function(i){return b(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},s.prototype.redIMul=function(i){return b(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},s.prototype.redSqr=function(){return b(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return b(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return b(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return b(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return b(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(i){return b(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var $={k256:null,p224:null,p192:null,p25519:null};function ie(A,i){this.name=A,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 ue(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function he(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function le(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ee(A){if("string"==typeof A){var i=s._prime(A);this.m=i.p,this.prime=i}else b(A.gtn(1),"modulus must be greater than 1"),this.m=A,this.prime=null}function me(A){ee.call(this,A),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)}ie.prototype._tmp=function(){var i=new s(null);return i.words=new Array(Math.ceil(this.n/13)),i},ie.prototype.ireduce=function(i){var u,a=i;do{this.split(a,this.tmp),u=(a=(a=this.imulK(a)).iadd(this.tmp)).bitLength()}while(u>this.n);var l=u<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},ie.prototype.split=function(i,a){i.iushrn(this.n,0,a)},ie.prototype.imulK=function(i){return i.imul(this.k)},I(ue,ie),ue.prototype.split=function(i,a){for(var u=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 T=i.words[9];for(a.words[a.length++]=T&u,y=10;y<i.length;y++){var D=0|i.words[y];i.words[y-10]=(D&u)<<4|T>>>22,T=D}i.words[y-10]=T>>>=22,i.length-=0===T&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var a=0,u=0;u<i.length;u++){var l=0|i.words[u];i.words[u]=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},I(he,ie),I(ne,ie),I(le,ie),le.prototype.imulK=function(i){for(var a=0,u=0;u<i.length;u++){var l=19*(0|i.words[u])+a,y=67108863&l;l>>>=26,i.words[u]=y,a=l}return 0!==a&&(i.words[i.length++]=a),i},s._prime=function(i){if($[i])return $[i];var a;if("k256"===i)a=new ue;else if("p224"===i)a=new he;else if("p192"===i)a=new ne;else{if("p25519"!==i)throw new Error("Unknown prime "+i);a=new le}return $[i]=a,a},ee.prototype._verify1=function(i){b(0===i.negative,"red works only with positives"),b(i.red,"red works only with red numbers")},ee.prototype._verify2=function(i,a){b(0==(i.negative|a.negative),"red works only with positives"),b(i.red&&i.red===a.red,"red works only with red numbers")},ee.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},ee.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},ee.prototype.add=function(i,a){this._verify2(i,a);var u=i.add(a);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},ee.prototype.iadd=function(i,a){this._verify2(i,a);var u=i.iadd(a);return u.cmp(this.m)>=0&&u.isub(this.m),u},ee.prototype.sub=function(i,a){this._verify2(i,a);var u=i.sub(a);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},ee.prototype.isub=function(i,a){this._verify2(i,a);var u=i.isub(a);return u.cmpn(0)<0&&u.iadd(this.m),u},ee.prototype.shl=function(i,a){return this._verify1(i),this.imod(i.ushln(a))},ee.prototype.imul=function(i,a){return this._verify2(i,a),this.imod(i.imul(a))},ee.prototype.mul=function(i,a){return this._verify2(i,a),this.imod(i.mul(a))},ee.prototype.isqr=function(i){return this.imul(i,i.clone())},ee.prototype.sqr=function(i){return this.mul(i,i)},ee.prototype.sqrt=function(i){if(i.isZero())return i.clone();var a=this.m.andln(3);if(b(a%2==1),3===a){var u=this.m.add(new s(1)).iushrn(2);return this.pow(i,u)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);b(!l.isZero());var T=new s(1).toRed(this),D=T.redNeg(),m=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new s(2*n*n).toRed(this);0!==this.pow(n,m).cmp(D);)n.redIAdd(D);for(var v=this.pow(n,l),B=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),X=y;0!==V.cmp(T);){for(var De=V,tt=0;0!==De.cmp(T);tt++)De=De.redSqr();b(tt<X);var je=this.pow(v,new s(1).iushln(X-tt-1));B=B.redMul(je),v=je.redSqr(),V=V.redMul(v),X=tt}return B},ee.prototype.invm=function(i){var a=i._invmp(this.m);return 0!==a.negative?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},ee.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 T=l[0],D=0,m=0,n=a.bitLength()%26;for(0===n&&(n=26),y=a.length-1;y>=0;y--){for(var v=a.words[y],B=n-1;B>=0;B--){var V=v>>B&1;T!==l[0]&&(T=this.sqr(T)),0!==V||0!==D?(D<<=1,D|=V,(4==++m||0===y&&0===B)&&(T=this.mul(T,l[D]),m=0,D=0)):m=0}n=26}return T},ee.prototype.convertTo=function(i){var a=i.umod(this.m);return a===i?a.clone():a},ee.prototype.convertFrom=function(i){var a=i.clone();return a.red=null,a},s.mont=function(i){return new me(i)},I(me,ee),me.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},me.prototype.convertFrom=function(i){var a=this.imod(i.mul(this.rinv));return a.red=null,a},me.prototype.imul=function(i,a){if(i.isZero()||a.isZero())return i.words[0]=0,i.length=1,i;var u=i.imul(a),l=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=u.isub(l).iushrn(this.shift),T=y;return y.cmp(this.m)>=0?T=y.isub(this.m):y.cmpn(0)<0&&(T=y.iadd(this.m)),T._forceRed(this)},me.prototype.mul=function(i,a){if(i.isZero()||a.isZero())return new s(0)._forceRed(this);var u=i.mul(a),l=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=u.isub(l).iushrn(this.shift),T=y;return y.cmp(this.m)>=0?T=y.isub(this.m):y.cmpn(0)<0&&(T=y.iadd(this.m)),T._forceRed(this)},me.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ue=p.nmd(Ue),this)},2391:Ue=>{function q(p,t){if(!p)throw new Error(t||"Assertion failed")}Ue.exports=q,q.equal=function(t,e,b){if(t!=e)throw new Error(b||"Assertion failed: "+t+" != "+e)}},8195:(Ue,q)=>{"use strict";var p=q;function e(I){return 1===I.length?"0"+I:I}function b(I){for(var s="",C=0;C<I.length;C++)s+=e(I[C].toString(16));return s}p.toArray=function t(I,s){if(Array.isArray(I))return I.slice();if(!I)return[];var C=[];if("string"!=typeof I){for(var h=0;h<I.length;h++)C[h]=0|I[h];return C}if("hex"===s)for((I=I.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(I="0"+I),h=0;h<I.length;h+=2)C.push(parseInt(I[h]+I[h+1],16));else for(h=0;h<I.length;h++){var P=I.charCodeAt(h),d=P>>8,S=255&P;d?C.push(d,S):C.push(S)}return C},p.zero2=e,p.toHex=b,p.encode=function(s,C){return"hex"===C?b(s):s}},5768:(Ue,q,p)=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});var t=p(842);Object.keys(t).forEach(function(e){"default"!==e&&Object.defineProperty(q,e,{enumerable:!0,get:function(){return t[e]}})})},2999:(Ue,q,p)=>{"use strict";var t=p(7977);q.certificate=p(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 b=t.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});q.RSAPublicKey=b;var I=t.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(s),this.key("subjectPublicKey").bitstr())});q.PublicKey=I;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(S),this.key("publicKey").optional().explicit(1).bitstr())});q.ECPrivateKey=d;var S=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:(Ue,q,p)=>{"use strict";var t=p(7977),e=t.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),b=t.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),I=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(I),this.key("subjectPublicKey").bitstr())}),C=t.define("RelativeDistinguishedName",function(){this.setof(b)}),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))}),S=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(I),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(S).optional())}),O=t.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(w),this.key("signatureAlgorithm").use(I),this.key("signatureValue").bitstr())});Ue.exports=O},5269:(Ue,q,p)=>{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,b=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,I=p(347),s=p(4330),C=p(3502).Buffer;Ue.exports=function(h,P){var w,d=h.toString(),S=d.match(t);if(S){var E="aes"+S[1],R=C.from(S[2],"hex"),z=C.from(S[3].replace(/[\r\n]/g,""),"base64"),U=I(P,R.slice(0,8),parseInt(S[1],10)).key,Y=[],K=s.createDecipheriv(E,U,R);Y.push(K.update(z)),Y.push(K.final()),w=C.concat(Y)}else{var O=d.match(b);w=C.from(O[2].replace(/[\r\n]/g,""),"base64")}return{tag:d.match(e)[1],data:w}}},2772:(Ue,q,p)=>{var t=p(2999),e=p(2562),b=p(5269),I=p(4330),s=p(9357),C=p(3502).Buffer;function h(d){var S;"object"==typeof d&&!C.isBuffer(d)&&(S=d.passphrase,d=d.key),"string"==typeof d&&(d=C.from(d));var R,z,w=b(d,S),O=w.tag,E=w.data;switch(O){case"CERTIFICATE":z=t.certificate.decode(E,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(z||(z=t.PublicKey.decode(E,"der")),R=z.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return t.RSAPublicKey.decode(z.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return z.subjectPrivateKey=z.subjectPublicKey,{type:"ec",data:z};case"1.2.840.10040.4.1":return z.algorithm.params.pub_key=t.DSAparam.decode(z.subjectPublicKey.data,"der"),{type:"dsa",data:z.algorithm.params};default:throw new Error("unknown key id "+R)}case"ENCRYPTED PRIVATE KEY":E=function P(d,S){var w=d.algorithm.decrypt.kde.kdeparams.salt,O=parseInt(d.algorithm.decrypt.kde.kdeparams.iters.toString(),10),E=e[d.algorithm.decrypt.cipher.algo.join(".")],R=d.algorithm.decrypt.cipher.iv,z=d.subjectPrivateKey,U=parseInt(E.split("-")[1],10)/8,Y=s.pbkdf2Sync(S,w,O,U,"sha1"),K=I.createDecipheriv(E,Y,R),$=[];return $.push(K.update(z)),$.push(K.final()),C.concat($)}(E=t.EncryptedPrivateKey.decode(E,"der"),S);case"PRIVATE KEY":switch(R=(z=t.PrivateKey.decode(E,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return t.RSAPrivateKey.decode(z.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:z.algorithm.curve,privateKey:t.ECPrivateKey.decode(z.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return z.algorithm.params.priv_key=t.DSAparam.decode(z.subjectPrivateKey,"der"),{type:"dsa",params:z.algorithm.params};default:throw new Error("unknown key id "+R)}case"RSA PUBLIC KEY":return t.RSAPublicKey.decode(E,"der");case"RSA PRIVATE KEY":return t.RSAPrivateKey.decode(E,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:t.DSAPrivateKey.decode(E,"der")};case"EC PRIVATE KEY":return{curve:(E=t.ECPrivateKey.decode(E,"der")).parameters.value,privateKey:E.privateKey};default:throw new Error("unknown key type "+O)}}Ue.exports=h,h.signature=t.signature},9357:(Ue,q,p)=>{q.pbkdf2=p(415),q.pbkdf2Sync=p(7472)},415:(Ue,q,p)=>{var C,w,t=p(3502).Buffer,e=p(2697),b=p(8867),I=p(7472),s=p(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 O(){return w||(w=global.process&&global.process.nextTick?global.process.nextTick:global.queueMicrotask?global.queueMicrotask:global.setImmediate?global.setImmediate:global.setTimeout)}function E(z,U,Y,K,$){return h.importKey("raw",z,{name:"PBKDF2"},!1,["deriveBits"]).then(function(ie){return h.deriveBits({name:"PBKDF2",salt:U,iterations:Y,hash:{name:$}},ie,K<<3)}).then(function(ie){return t.from(ie)})}Ue.exports=function(z,U,Y,K,$,ie){"function"==typeof $&&(ie=$,$=void 0);var ue=P[($=$||"sha1").toLowerCase()];if(ue&&"function"==typeof global.Promise){if(e(Y,K),z=s(z,b,"Password"),U=s(U,b,"Salt"),"function"!=typeof ie)throw new Error("No callback provided to pbkdf2");!function R(z,U){z.then(function(Y){O()(function(){U(null,Y)})},function(Y){O()(function(){U(Y)})})}(function S(z){if(global.process&&!global.process.browser||!h||!h.importKey||!h.deriveBits)return Promise.resolve(!1);if(void 0!==d[z])return d[z];var U=E(C=C||t.alloc(8),C,10,128,z).then(function(){return!0}).catch(function(){return!1});return d[z]=U,U}(ue).then(function(he){return he?E(z,U,Y,K,ue):I(z,U,Y,K,$)}),ie)}else O()(function(){var he;try{he=I(z,U,Y,K,$)}catch(ne){return ie(ne)}ie(null,he)})}},8867:Ue=>{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",Ue.exports=q},2697:Ue=>{var q=Math.pow(2,30)-1;Ue.exports=function(p,t){if("number"!=typeof p)throw new TypeError("Iterations not a number");if(p<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:(Ue,q,p)=>{var t=p(5640),e=p(5634),b=p(5244),I=p(3502).Buffer,s=p(2697),C=p(8867),h=p(4566),P=I.alloc(128),d={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function S(E,R,z){var U=function w(E){return"rmd160"===E||"ripemd160"===E?function z(U){return(new e).update(U).digest()}:"md5"===E?t:function R(U){return b(E).update(U).digest()}}(E),Y="sha512"===E||"sha384"===E?128:64;R.length>Y?R=U(R):R.length<Y&&(R=I.concat([R,P],Y));for(var K=I.allocUnsafe(Y+d[E]),$=I.allocUnsafe(Y+d[E]),ie=0;ie<Y;ie++)K[ie]=54^R[ie],$[ie]=92^R[ie];var ue=I.allocUnsafe(Y+z+4);K.copy(ue,0,0,Y),this.ipad1=ue,this.ipad2=K,this.opad=$,this.alg=E,this.blocksize=Y,this.hash=U,this.size=d[E]}S.prototype.run=function(E,R){return E.copy(R,this.blocksize),this.hash(R).copy(this.opad,this.blocksize),this.hash(this.opad)},Ue.exports=function O(E,R,z,U,Y){s(z,U);var K=new S(Y=Y||"sha1",E=h(E,C,"Password"),(R=h(R,C,"Salt")).length),$=I.allocUnsafe(U),ie=I.allocUnsafe(R.length+4);R.copy(ie,0,0,R.length);for(var ue=0,he=d[Y],ne=Math.ceil(U/he),le=1;le<=ne;le++){ie.writeUInt32BE(le,R.length);for(var ee=K.run(ie,K.ipad1),me=ee,A=1;A<z;A++){me=K.run(me,K.ipad2);for(var i=0;i<he;i++)ee[i]^=me[i]}ee.copy($,ue),ue+=he}return $}},4566:(Ue,q,p)=>{var t=p(3502).Buffer;Ue.exports=function(e,b,I){if(t.isBuffer(e))return e;if("string"==typeof e)return t.from(e,b);if(ArrayBuffer.isView(e))return t.from(e.buffer);throw new TypeError(I+" must be a string, a Buffer, a typed array or a DataView")}},3701:(Ue,q,p)=>{q.publicEncrypt=p(6562),q.privateDecrypt=p(6705),q.privateEncrypt=function(e,b){return q.publicEncrypt(e,b,!0)},q.publicDecrypt=function(e,b){return q.privateDecrypt(e,b,!0)}},6945:(Ue,q,p)=>{var t=p(6386),e=p(3502).Buffer;function b(I){var s=e.allocUnsafe(4);return s.writeUInt32BE(I,0),s}Ue.exports=function(I,s){for(var P,C=e.alloc(0),h=0;C.length<s;)P=b(h++),C=e.concat([C,t("sha1").update(I).update(P).digest()]);return C.slice(0,s)}},2057:function(Ue,q,p){!function(t,e){"use strict";function b(A,i){if(!A)throw new Error(i||"Assertion failed")}function I(A,i){A.super_=i;var a=function(){};a.prototype=i.prototype,A.prototype=new a,A.prototype.constructor=A}function s(A,i,a){if(s.isBN(A))return A;this.negative=0,this.words=null,this.length=0,this.red=null,null!==A&&(("le"===i||"be"===i)&&(a=i,i=10),this._init(A||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:p(7108).Buffer}catch{}function h(A,i){var a=A.charCodeAt(i);return a>=65&&a<=70?a-55:a>=97&&a<=102?a-87:a-48&15}function P(A,i,a){var u=h(A,a);return a-1>=i&&(u|=h(A,a-1)<<4),u}function d(A,i,a,u){for(var l=0,y=Math.min(A.length,a),T=i;T<y;T++){var D=A.charCodeAt(T)-48;l*=u,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,u){if("number"==typeof i)return this._initNumber(i,a,u);if("object"==typeof i)return this._initArray(i,a,u);"hex"===a&&(a=16),b(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,u):(this._parseBase(i,a,l),"le"===u&&this._initArray(this.toArray(),a,u)))},s.prototype._initNumber=function(i,a,u){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):(b(i<9007199254740992),this.words=[67108863&i,i/67108864&67108863,1],this.length=3),"le"===u&&this._initArray(this.toArray(),a,u)},s.prototype._initArray=function(i,a,u){if(b("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,T,D=0;if("be"===u)for(l=i.length-1,y=0;l>=0;l-=3)this.words[y]|=(T=i[l]|i[l-1]<<8|i[l-2]<<16)<<D&67108863,this.words[y+1]=T>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);else if("le"===u)for(l=0,y=0;l<i.length;l+=3)this.words[y]|=(T=i[l]|i[l+1]<<8|i[l+2]<<16)<<D&67108863,this.words[y+1]=T>>>26-D&67108863,(D+=24)>=26&&(D-=26,y++);return this.strip()},s.prototype._parseHex=function(i,a,u){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,T=0;if("be"===u)for(l=i.length-1;l>=a;l-=2)D=P(i,a,l)<<y,this.words[T]|=67108863&D,y>=18?(y-=18,this.words[T+=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[T]|=67108863&D,y>=18?(y-=18,this.words[T+=1]|=D>>>26):y+=8;this.strip()},s.prototype._parseBase=function(i,a,u){this.words=[0],this.length=1;for(var l=0,y=1;y<=67108863;y*=a)l++;l--,y=y/a|0;for(var T=i.length-u,D=T%l,m=Math.min(T,T-D)+u,n=0,v=u;v<m;v+=l)n=d(i,v,v+l,a),this.imuln(y),this.words[0]+n<67108864?this.words[0]+=n:this._iaddn(n);if(0!==D){var B=1;for(n=d(i,v,i.length,a),v=0;v<D;v++)B*=a;this.imuln(B),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 S=["","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],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 R(A,i,a){a.negative=i.negative^A.negative;var u=A.length+i.length|0;a.length=u,u=u-1|0;var l=0|A.words[0],y=0|i.words[0],T=l*y,m=T/67108864|0;a.words[0]=67108863&T;for(var n=1;n<u;n++){for(var v=m>>>26,B=67108863&m,V=Math.min(n,i.length-1),X=Math.max(0,n-A.length+1);X<=V;X++)v+=(T=(l=0|A.words[n-X|0])*(y=0|i.words[X])+B)/67108864|0,B=67108863&T;a.words[n]=0|B,m=0|v}return 0!==m?a.words[n]=0|m:a.length--,a.strip()}s.prototype.toString=function(i,a){var u;if(a=0|a||1,16===(i=i||10)||"hex"===i){u="";for(var l=0,y=0,T=0;T<this.length;T++){var D=this.words[T],m=(16777215&(D<<l|y)).toString(16);u=0!=(y=D>>>24-l&16777215)||T!==this.length-1?S[6-m.length]+m+u:m+u,(l+=2)>=26&&(l-=26,T--)}for(0!==y&&(u=y.toString(16)+u);u.length%a!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}if(i===(0|i)&&i>=2&&i<=36){var n=w[i],v=O[i];u="";var B=this.clone();for(B.negative=0;!B.isZero();){var V=B.modn(v).toString(i);u=(B=B.idivn(v)).isZero()?V+u:S[n-V.length]+V+u}for(this.isZero()&&(u="0"+u);u.length%a!=0;)u="0"+u;return 0!==this.negative&&(u="-"+u),u}b(!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&&b(!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 b(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,u){var l=this.byteLength(),y=u||Math.max(1,l);b(l<=y,"byte array longer than desired length"),b(y>0,"Requested array length <= 0"),this.strip();var m,n,T="le"===a,D=new i(y),v=this.clone();if(T){for(n=0;!v.isZero();n++)m=v.andln(255),v.iushrn(8),D[n]=m;for(;n<y;n++)D[n]=0}else{for(n=0;n<y-l;n++)D[n]=0;for(n=0;!v.isZero();n++)m=v.andln(255),v.iushrn(8),D[y-n-1]=m}return D},s.prototype._countBits=Math.clz32?function(i){return 32-Math.clz32(i)}:function(i){var a=i,u=0;return a>=4096&&(u+=13,a>>>=13),a>=64&&(u+=7,a>>>=7),a>=8&&(u+=4,a>>>=4),a>=2&&(u+=2,a>>>=2),u+a},s.prototype._zeroBits=function(i){if(0===i)return 26;var a=i,u=0;return 8191&a||(u+=13,a>>>=13),127&a||(u+=7,a>>>=7),15&a||(u+=4,a>>>=4),3&a||(u+=2,a>>>=2),1&a||u++,u},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 u=this._zeroBits(this.words[a]);if(i+=u,26!==u)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 b(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 u=0;u<a.length;u++)this.words[u]=this.words[u]&i.words[u];return this.length=a.length,this.strip()},s.prototype.iand=function(i){return b(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,u;this.length>i.length?(a=this,u=i):(a=i,u=this);for(var l=0;l<u.length;l++)this.words[l]=a.words[l]^u.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 b(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){b("number"==typeof i&&i>=0);var a=0|Math.ceil(i/26),u=i%26;this._expand(a),u>0&&a--;for(var l=0;l<a;l++)this.words[l]=67108863&~this.words[l];return u>0&&(this.words[l]=~this.words[l]&67108863>>26-u),this.strip()},s.prototype.notn=function(i){return this.clone().inotn(i)},s.prototype.setn=function(i,a){b("number"==typeof i&&i>=0);var u=i/26|0,l=i%26;return this._expand(u+1),this.words[u]=a?this.words[u]|1<<l:this.words[u]&~(1<<l),this.strip()},s.prototype.iadd=function(i){var a,u,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?(u=this,l=i):(u=i,l=this);for(var y=0,T=0;T<l.length;T++)this.words[T]=67108863&(a=(0|u.words[T])+(0|l.words[T])+y),y=a>>>26;for(;0!==y&&T<u.length;T++)this.words[T]=67108863&(a=(0|u.words[T])+y),y=a>>>26;if(this.length=u.length,0!==y)this.words[this.length]=y,this.length++;else if(u!==this)for(;T<u.length;T++)this.words[T]=u.words[T];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,u=this.cmp(i);if(0===u)return this.negative=0,this.length=1,this.words[0]=0,this;u>0?(l=this,y=i):(l=i,y=this);for(var T=0,D=0;D<y.length;D++)T=(a=(0|l.words[D])-(0|y.words[D])+T)>>26,this.words[D]=67108863&a;for(;0!==T&&D<l.length;D++)T=(a=(0|l.words[D])+T)>>26,this.words[D]=67108863&a;if(0===T&&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 z=function(i,a,u){var m,n,v,l=i.words,y=a.words,T=u.words,D=0,B=0|l[0],V=8191&B,X=B>>>13,De=0|l[1],tt=8191&De,je=De>>>13,ze=0|l[2],Le=8191&ze,ye=ze>>>13,ce=0|l[3],ve=8191&ce,oe=ce>>>13,Ke=0|l[4],Ae=8191&Ke,de=Ke>>>13,Ce=0|l[5],te=8191&Ce,Ze=Ce>>>13,Ge=0|l[6],ae=8191&Ge,ge=Ge>>>13,pt=0|l[7],$e=8191&pt,ut=pt>>>13,At=0|l[8],_t=8191&At,lt=At>>>13,St=0|l[9],ke=8191&St,He=St>>>13,wt=0|y[0],W=8191&wt,Fe=wt>>>13,Ft=0|y[1],qe=8191&Ft,Qe=Ft>>>13,Ht=0|y[2],Et=8191&Ht,It=Ht>>>13,bt=0|y[3],we=8191&bt,J=bt>>>13,be=0|y[4],Ve=8191&be,ot=be>>>13,ei=0|y[5],Bt=8191&ei,ti=ei>>>13,mt=0|y[6],nt=8191&mt,yt=mt>>>13,$t=0|y[7],Vt=8191&$t,ft=$t>>>13,Pt=0|y[8],Pe=8191&Pt,it=Pt>>>13,at=0|y[9],ht=8191&at,Lt=at>>>13;u.negative=i.negative^a.negative,u.length=19;var ui=(D+(m=Math.imul(V,W))|0)+((8191&(n=(n=Math.imul(V,Fe))+Math.imul(X,W)|0))<<13)|0;D=((v=Math.imul(X,Fe))+(n>>>13)|0)+(ui>>>26)|0,ui&=67108863,m=Math.imul(tt,W),n=(n=Math.imul(tt,Fe))+Math.imul(je,W)|0,v=Math.imul(je,Fe);var Ti=(D+(m=m+Math.imul(V,qe)|0)|0)+((8191&(n=(n=n+Math.imul(V,Qe)|0)+Math.imul(X,qe)|0))<<13)|0;D=((v=v+Math.imul(X,Qe)|0)+(n>>>13)|0)+(Ti>>>26)|0,Ti&=67108863,m=Math.imul(Le,W),n=(n=Math.imul(Le,Fe))+Math.imul(ye,W)|0,v=Math.imul(ye,Fe),m=m+Math.imul(tt,qe)|0,n=(n=n+Math.imul(tt,Qe)|0)+Math.imul(je,qe)|0,v=v+Math.imul(je,Qe)|0;var yi=(D+(m=m+Math.imul(V,Et)|0)|0)+((8191&(n=(n=n+Math.imul(V,It)|0)+Math.imul(X,Et)|0))<<13)|0;D=((v=v+Math.imul(X,It)|0)+(n>>>13)|0)+(yi>>>26)|0,yi&=67108863,m=Math.imul(ve,W),n=(n=Math.imul(ve,Fe))+Math.imul(oe,W)|0,v=Math.imul(oe,Fe),m=m+Math.imul(Le,qe)|0,n=(n=n+Math.imul(Le,Qe)|0)+Math.imul(ye,qe)|0,v=v+Math.imul(ye,Qe)|0,m=m+Math.imul(tt,Et)|0,n=(n=n+Math.imul(tt,It)|0)+Math.imul(je,Et)|0,v=v+Math.imul(je,It)|0;var Ni=(D+(m=m+Math.imul(V,we)|0)|0)+((8191&(n=(n=n+Math.imul(V,J)|0)+Math.imul(X,we)|0))<<13)|0;D=((v=v+Math.imul(X,J)|0)+(n>>>13)|0)+(Ni>>>26)|0,Ni&=67108863,m=Math.imul(Ae,W),n=(n=Math.imul(Ae,Fe))+Math.imul(de,W)|0,v=Math.imul(de,Fe),m=m+Math.imul(ve,qe)|0,n=(n=n+Math.imul(ve,Qe)|0)+Math.imul(oe,qe)|0,v=v+Math.imul(oe,Qe)|0,m=m+Math.imul(Le,Et)|0,n=(n=n+Math.imul(Le,It)|0)+Math.imul(ye,Et)|0,v=v+Math.imul(ye,It)|0,m=m+Math.imul(tt,we)|0,n=(n=n+Math.imul(tt,J)|0)+Math.imul(je,we)|0,v=v+Math.imul(je,J)|0;var Xe=(D+(m=m+Math.imul(V,Ve)|0)|0)+((8191&(n=(n=n+Math.imul(V,ot)|0)+Math.imul(X,Ve)|0))<<13)|0;D=((v=v+Math.imul(X,ot)|0)+(n>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,m=Math.imul(te,W),n=(n=Math.imul(te,Fe))+Math.imul(Ze,W)|0,v=Math.imul(Ze,Fe),m=m+Math.imul(Ae,qe)|0,n=(n=n+Math.imul(Ae,Qe)|0)+Math.imul(de,qe)|0,v=v+Math.imul(de,Qe)|0,m=m+Math.imul(ve,Et)|0,n=(n=n+Math.imul(ve,It)|0)+Math.imul(oe,Et)|0,v=v+Math.imul(oe,It)|0,m=m+Math.imul(Le,we)|0,n=(n=n+Math.imul(Le,J)|0)+Math.imul(ye,we)|0,v=v+Math.imul(ye,J)|0,m=m+Math.imul(tt,Ve)|0,n=(n=n+Math.imul(tt,ot)|0)+Math.imul(je,Ve)|0,v=v+Math.imul(je,ot)|0;var Tt=(D+(m=m+Math.imul(V,Bt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ti)|0)+Math.imul(X,Bt)|0))<<13)|0;D=((v=v+Math.imul(X,ti)|0)+(n>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,m=Math.imul(ae,W),n=(n=Math.imul(ae,Fe))+Math.imul(ge,W)|0,v=Math.imul(ge,Fe),m=m+Math.imul(te,qe)|0,n=(n=n+Math.imul(te,Qe)|0)+Math.imul(Ze,qe)|0,v=v+Math.imul(Ze,Qe)|0,m=m+Math.imul(Ae,Et)|0,n=(n=n+Math.imul(Ae,It)|0)+Math.imul(de,Et)|0,v=v+Math.imul(de,It)|0,m=m+Math.imul(ve,we)|0,n=(n=n+Math.imul(ve,J)|0)+Math.imul(oe,we)|0,v=v+Math.imul(oe,J)|0,m=m+Math.imul(Le,Ve)|0,n=(n=n+Math.imul(Le,ot)|0)+Math.imul(ye,Ve)|0,v=v+Math.imul(ye,ot)|0,m=m+Math.imul(tt,Bt)|0,n=(n=n+Math.imul(tt,ti)|0)+Math.imul(je,Bt)|0,v=v+Math.imul(je,ti)|0;var xe=(D+(m=m+Math.imul(V,nt)|0)|0)+((8191&(n=(n=n+Math.imul(V,yt)|0)+Math.imul(X,nt)|0))<<13)|0;D=((v=v+Math.imul(X,yt)|0)+(n>>>13)|0)+(xe>>>26)|0,xe&=67108863,m=Math.imul($e,W),n=(n=Math.imul($e,Fe))+Math.imul(ut,W)|0,v=Math.imul(ut,Fe),m=m+Math.imul(ae,qe)|0,n=(n=n+Math.imul(ae,Qe)|0)+Math.imul(ge,qe)|0,v=v+Math.imul(ge,Qe)|0,m=m+Math.imul(te,Et)|0,n=(n=n+Math.imul(te,It)|0)+Math.imul(Ze,Et)|0,v=v+Math.imul(Ze,It)|0,m=m+Math.imul(Ae,we)|0,n=(n=n+Math.imul(Ae,J)|0)+Math.imul(de,we)|0,v=v+Math.imul(de,J)|0,m=m+Math.imul(ve,Ve)|0,n=(n=n+Math.imul(ve,ot)|0)+Math.imul(oe,Ve)|0,v=v+Math.imul(oe,ot)|0,m=m+Math.imul(Le,Bt)|0,n=(n=n+Math.imul(Le,ti)|0)+Math.imul(ye,Bt)|0,v=v+Math.imul(ye,ti)|0,m=m+Math.imul(tt,nt)|0,n=(n=n+Math.imul(tt,yt)|0)+Math.imul(je,nt)|0,v=v+Math.imul(je,yt)|0;var Rt=(D+(m=m+Math.imul(V,Vt)|0)|0)+((8191&(n=(n=n+Math.imul(V,ft)|0)+Math.imul(X,Vt)|0))<<13)|0;D=((v=v+Math.imul(X,ft)|0)+(n>>>13)|0)+(Rt>>>26)|0,Rt&=67108863,m=Math.imul(_t,W),n=(n=Math.imul(_t,Fe))+Math.imul(lt,W)|0,v=Math.imul(lt,Fe),m=m+Math.imul($e,qe)|0,n=(n=n+Math.imul($e,Qe)|0)+Math.imul(ut,qe)|0,v=v+Math.imul(ut,Qe)|0,m=m+Math.imul(ae,Et)|0,n=(n=n+Math.imul(ae,It)|0)+Math.imul(ge,Et)|0,v=v+Math.imul(ge,It)|0,m=m+Math.imul(te,we)|0,n=(n=n+Math.imul(te,J)|0)+Math.imul(Ze,we)|0,v=v+Math.imul(Ze,J)|0,m=m+Math.imul(Ae,Ve)|0,n=(n=n+Math.imul(Ae,ot)|0)+Math.imul(de,Ve)|0,v=v+Math.imul(de,ot)|0,m=m+Math.imul(ve,Bt)|0,n=(n=n+Math.imul(ve,ti)|0)+Math.imul(oe,Bt)|0,v=v+Math.imul(oe,ti)|0,m=m+Math.imul(Le,nt)|0,n=(n=n+Math.imul(Le,yt)|0)+Math.imul(ye,nt)|0,v=v+Math.imul(ye,yt)|0,m=m+Math.imul(tt,Vt)|0,n=(n=n+Math.imul(tt,ft)|0)+Math.imul(je,Vt)|0,v=v+Math.imul(je,ft)|0;var jt=(D+(m=m+Math.imul(V,Pe)|0)|0)+((8191&(n=(n=n+Math.imul(V,it)|0)+Math.imul(X,Pe)|0))<<13)|0;D=((v=v+Math.imul(X,it)|0)+(n>>>13)|0)+(jt>>>26)|0,jt&=67108863,m=Math.imul(ke,W),n=(n=Math.imul(ke,Fe))+Math.imul(He,W)|0,v=Math.imul(He,Fe),m=m+Math.imul(_t,qe)|0,n=(n=n+Math.imul(_t,Qe)|0)+Math.imul(lt,qe)|0,v=v+Math.imul(lt,Qe)|0,m=m+Math.imul($e,Et)|0,n=(n=n+Math.imul($e,It)|0)+Math.imul(ut,Et)|0,v=v+Math.imul(ut,It)|0,m=m+Math.imul(ae,we)|0,n=(n=n+Math.imul(ae,J)|0)+Math.imul(ge,we)|0,v=v+Math.imul(ge,J)|0,m=m+Math.imul(te,Ve)|0,n=(n=n+Math.imul(te,ot)|0)+Math.imul(Ze,Ve)|0,v=v+Math.imul(Ze,ot)|0,m=m+Math.imul(Ae,Bt)|0,n=(n=n+Math.imul(Ae,ti)|0)+Math.imul(de,Bt)|0,v=v+Math.imul(de,ti)|0,m=m+Math.imul(ve,nt)|0,n=(n=n+Math.imul(ve,yt)|0)+Math.imul(oe,nt)|0,v=v+Math.imul(oe,yt)|0,m=m+Math.imul(Le,Vt)|0,n=(n=n+Math.imul(Le,ft)|0)+Math.imul(ye,Vt)|0,v=v+Math.imul(ye,ft)|0,m=m+Math.imul(tt,Pe)|0,n=(n=n+Math.imul(tt,it)|0)+Math.imul(je,Pe)|0,v=v+Math.imul(je,it)|0;var li=(D+(m=m+Math.imul(V,ht)|0)|0)+((8191&(n=(n=n+Math.imul(V,Lt)|0)+Math.imul(X,ht)|0))<<13)|0;D=((v=v+Math.imul(X,Lt)|0)+(n>>>13)|0)+(li>>>26)|0,li&=67108863,m=Math.imul(ke,qe),n=(n=Math.imul(ke,Qe))+Math.imul(He,qe)|0,v=Math.imul(He,Qe),m=m+Math.imul(_t,Et)|0,n=(n=n+Math.imul(_t,It)|0)+Math.imul(lt,Et)|0,v=v+Math.imul(lt,It)|0,m=m+Math.imul($e,we)|0,n=(n=n+Math.imul($e,J)|0)+Math.imul(ut,we)|0,v=v+Math.imul(ut,J)|0,m=m+Math.imul(ae,Ve)|0,n=(n=n+Math.imul(ae,ot)|0)+Math.imul(ge,Ve)|0,v=v+Math.imul(ge,ot)|0,m=m+Math.imul(te,Bt)|0,n=(n=n+Math.imul(te,ti)|0)+Math.imul(Ze,Bt)|0,v=v+Math.imul(Ze,ti)|0,m=m+Math.imul(Ae,nt)|0,n=(n=n+Math.imul(Ae,yt)|0)+Math.imul(de,nt)|0,v=v+Math.imul(de,yt)|0,m=m+Math.imul(ve,Vt)|0,n=(n=n+Math.imul(ve,ft)|0)+Math.imul(oe,Vt)|0,v=v+Math.imul(oe,ft)|0,m=m+Math.imul(Le,Pe)|0,n=(n=n+Math.imul(Le,it)|0)+Math.imul(ye,Pe)|0,v=v+Math.imul(ye,it)|0;var bi=(D+(m=m+Math.imul(tt,ht)|0)|0)+((8191&(n=(n=n+Math.imul(tt,Lt)|0)+Math.imul(je,ht)|0))<<13)|0;D=((v=v+Math.imul(je,Lt)|0)+(n>>>13)|0)+(bi>>>26)|0,bi&=67108863,m=Math.imul(ke,Et),n=(n=Math.imul(ke,It))+Math.imul(He,Et)|0,v=Math.imul(He,It),m=m+Math.imul(_t,we)|0,n=(n=n+Math.imul(_t,J)|0)+Math.imul(lt,we)|0,v=v+Math.imul(lt,J)|0,m=m+Math.imul($e,Ve)|0,n=(n=n+Math.imul($e,ot)|0)+Math.imul(ut,Ve)|0,v=v+Math.imul(ut,ot)|0,m=m+Math.imul(ae,Bt)|0,n=(n=n+Math.imul(ae,ti)|0)+Math.imul(ge,Bt)|0,v=v+Math.imul(ge,ti)|0,m=m+Math.imul(te,nt)|0,n=(n=n+Math.imul(te,yt)|0)+Math.imul(Ze,nt)|0,v=v+Math.imul(Ze,yt)|0,m=m+Math.imul(Ae,Vt)|0,n=(n=n+Math.imul(Ae,ft)|0)+Math.imul(de,Vt)|0,v=v+Math.imul(de,ft)|0,m=m+Math.imul(ve,Pe)|0,n=(n=n+Math.imul(ve,it)|0)+Math.imul(oe,Pe)|0,v=v+Math.imul(oe,it)|0;var Li=(D+(m=m+Math.imul(Le,ht)|0)|0)+((8191&(n=(n=n+Math.imul(Le,Lt)|0)+Math.imul(ye,ht)|0))<<13)|0;D=((v=v+Math.imul(ye,Lt)|0)+(n>>>13)|0)+(Li>>>26)|0,Li&=67108863,m=Math.imul(ke,we),n=(n=Math.imul(ke,J))+Math.imul(He,we)|0,v=Math.imul(He,J),m=m+Math.imul(_t,Ve)|0,n=(n=n+Math.imul(_t,ot)|0)+Math.imul(lt,Ve)|0,v=v+Math.imul(lt,ot)|0,m=m+Math.imul($e,Bt)|0,n=(n=n+Math.imul($e,ti)|0)+Math.imul(ut,Bt)|0,v=v+Math.imul(ut,ti)|0,m=m+Math.imul(ae,nt)|0,n=(n=n+Math.imul(ae,yt)|0)+Math.imul(ge,nt)|0,v=v+Math.imul(ge,yt)|0,m=m+Math.imul(te,Vt)|0,n=(n=n+Math.imul(te,ft)|0)+Math.imul(Ze,Vt)|0,v=v+Math.imul(Ze,ft)|0,m=m+Math.imul(Ae,Pe)|0,n=(n=n+Math.imul(Ae,it)|0)+Math.imul(de,Pe)|0,v=v+Math.imul(de,it)|0;var Gi=(D+(m=m+Math.imul(ve,ht)|0)|0)+((8191&(n=(n=n+Math.imul(ve,Lt)|0)+Math.imul(oe,ht)|0))<<13)|0;D=((v=v+Math.imul(oe,Lt)|0)+(n>>>13)|0)+(Gi>>>26)|0,Gi&=67108863,m=Math.imul(ke,Ve),n=(n=Math.imul(ke,ot))+Math.imul(He,Ve)|0,v=Math.imul(He,ot),m=m+Math.imul(_t,Bt)|0,n=(n=n+Math.imul(_t,ti)|0)+Math.imul(lt,Bt)|0,v=v+Math.imul(lt,ti)|0,m=m+Math.imul($e,nt)|0,n=(n=n+Math.imul($e,yt)|0)+Math.imul(ut,nt)|0,v=v+Math.imul(ut,yt)|0,m=m+Math.imul(ae,Vt)|0,n=(n=n+Math.imul(ae,ft)|0)+Math.imul(ge,Vt)|0,v=v+Math.imul(ge,ft)|0,m=m+Math.imul(te,Pe)|0,n=(n=n+Math.imul(te,it)|0)+Math.imul(Ze,Pe)|0,v=v+Math.imul(Ze,it)|0;var ji=(D+(m=m+Math.imul(Ae,ht)|0)|0)+((8191&(n=(n=n+Math.imul(Ae,Lt)|0)+Math.imul(de,ht)|0))<<13)|0;D=((v=v+Math.imul(de,Lt)|0)+(n>>>13)|0)+(ji>>>26)|0,ji&=67108863,m=Math.imul(ke,Bt),n=(n=Math.imul(ke,ti))+Math.imul(He,Bt)|0,v=Math.imul(He,ti),m=m+Math.imul(_t,nt)|0,n=(n=n+Math.imul(_t,yt)|0)+Math.imul(lt,nt)|0,v=v+Math.imul(lt,yt)|0,m=m+Math.imul($e,Vt)|0,n=(n=n+Math.imul($e,ft)|0)+Math.imul(ut,Vt)|0,v=v+Math.imul(ut,ft)|0,m=m+Math.imul(ae,Pe)|0,n=(n=n+Math.imul(ae,it)|0)+Math.imul(ge,Pe)|0,v=v+Math.imul(ge,it)|0;var $i=(D+(m=m+Math.imul(te,ht)|0)|0)+((8191&(n=(n=n+Math.imul(te,Lt)|0)+Math.imul(Ze,ht)|0))<<13)|0;D=((v=v+Math.imul(Ze,Lt)|0)+(n>>>13)|0)+($i>>>26)|0,$i&=67108863,m=Math.imul(ke,nt),n=(n=Math.imul(ke,yt))+Math.imul(He,nt)|0,v=Math.imul(He,yt),m=m+Math.imul(_t,Vt)|0,n=(n=n+Math.imul(_t,ft)|0)+Math.imul(lt,Vt)|0,v=v+Math.imul(lt,ft)|0,m=m+Math.imul($e,Pe)|0,n=(n=n+Math.imul($e,it)|0)+Math.imul(ut,Pe)|0,v=v+Math.imul(ut,it)|0;var Gt=(D+(m=m+Math.imul(ae,ht)|0)|0)+((8191&(n=(n=n+Math.imul(ae,Lt)|0)+Math.imul(ge,ht)|0))<<13)|0;D=((v=v+Math.imul(ge,Lt)|0)+(n>>>13)|0)+(Gt>>>26)|0,Gt&=67108863,m=Math.imul(ke,Vt),n=(n=Math.imul(ke,ft))+Math.imul(He,Vt)|0,v=Math.imul(He,ft),m=m+Math.imul(_t,Pe)|0,n=(n=n+Math.imul(_t,it)|0)+Math.imul(lt,Pe)|0,v=v+Math.imul(lt,it)|0;var Kt=(D+(m=m+Math.imul($e,ht)|0)|0)+((8191&(n=(n=n+Math.imul($e,Lt)|0)+Math.imul(ut,ht)|0))<<13)|0;D=((v=v+Math.imul(ut,Lt)|0)+(n>>>13)|0)+(Kt>>>26)|0,Kt&=67108863,m=Math.imul(ke,Pe),n=(n=Math.imul(ke,it))+Math.imul(He,Pe)|0,v=Math.imul(He,it);var fe=(D+(m=m+Math.imul(_t,ht)|0)|0)+((8191&(n=(n=n+Math.imul(_t,Lt)|0)+Math.imul(lt,ht)|0))<<13)|0;D=((v=v+Math.imul(lt,Lt)|0)+(n>>>13)|0)+(fe>>>26)|0,fe&=67108863;var Oe=(D+(m=Math.imul(ke,ht))|0)+((8191&(n=(n=Math.imul(ke,Lt))+Math.imul(He,ht)|0))<<13)|0;return D=((v=Math.imul(He,Lt))+(n>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,T[0]=ui,T[1]=Ti,T[2]=yi,T[3]=Ni,T[4]=Xe,T[5]=Tt,T[6]=xe,T[7]=Rt,T[8]=jt,T[9]=li,T[10]=bi,T[11]=Li,T[12]=Gi,T[13]=ji,T[14]=$i,T[15]=Gt,T[16]=Kt,T[17]=fe,T[18]=Oe,0!==D&&(T[19]=D,u.length++),u};function Y(A,i,a){return(new K).mulp(A,i,a)}function K(A,i){this.x=A,this.y=i}Math.imul||(z=R),s.prototype.mulTo=function(i,a){var u,l=this.length+i.length;return u=10===this.length&&10===i.length?z(this,i,a):l<63?R(this,i,a):l<1024?function U(A,i,a){a.negative=i.negative^A.negative,a.length=A.length+i.length;for(var u=0,l=0,y=0;y<a.length-1;y++){var T=l;l=0;for(var D=67108863&u,m=Math.min(y,i.length-1),n=Math.max(0,y-A.length+1);n<=m;n++){var X=(0|A.words[y-n])*(0|i.words[n]),De=67108863&X;D=67108863&(De=De+D|0),l+=(T=(T=T+(X/67108864|0)|0)+(De>>>26)|0)>>>26,T&=67108863}a.words[y]=D,u=T,T=l}return 0!==u?a.words[y]=u:a.length--,a.strip()}(this,i,a):Y(this,i,a),u},K.prototype.makeRBT=function(i){for(var a=new Array(i),u=s.prototype._countBits(i)-1,l=0;l<i;l++)a[l]=this.revBin(l,u,i);return a},K.prototype.revBin=function(i,a,u){if(0===i||i===u-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,u,l,y,T){for(var D=0;D<T;D++)l[D]=a[i[D]],y[D]=u[i[D]]},K.prototype.transform=function(i,a,u,l,y,T){this.permute(T,i,a,u,l,y);for(var D=1;D<y;D<<=1)for(var m=D<<1,n=Math.cos(2*Math.PI/m),v=Math.sin(2*Math.PI/m),B=0;B<y;B+=m)for(var V=n,X=v,De=0;De<D;De++){var tt=u[B+De],je=l[B+De],ze=u[B+De+D],Le=l[B+De+D],ye=V*ze-X*Le;Le=V*Le+X*ze,u[B+De]=tt+(ze=ye),l[B+De]=je+Le,u[B+De+D]=tt-ze,l[B+De+D]=je-Le,De!==m&&(ye=n*V-v*X,X=n*X+v*V,V=ye)}},K.prototype.guessLen13b=function(i,a){var u=1|Math.max(a,i),l=1&u,y=0;for(u=u/2|0;u;u>>>=1)y++;return 1<<y+1+l},K.prototype.conjugate=function(i,a,u){if(!(u<=1))for(var l=0;l<u/2;l++){var y=i[l];i[l]=i[u-l-1],i[u-l-1]=y,y=a[l],a[l]=-a[u-l-1],a[u-l-1]=-y}},K.prototype.normalize13b=function(i,a){for(var u=0,l=0;l<a/2;l++){var y=8192*Math.round(i[2*l+1]/a)+Math.round(i[2*l]/a)+u;i[l]=67108863&y,u=y<67108864?0:y/67108864|0}return i},K.prototype.convert13b=function(i,a,u,l){for(var y=0,T=0;T<a;T++)u[2*T]=8191&(y+=0|i[T]),u[2*T+1]=8191&(y>>>=13),y>>>=13;for(T=2*a;T<l;++T)u[T]=0;b(0===y),b(0==(-8192&y))},K.prototype.stub=function(i){for(var a=new Array(i),u=0;u<i;u++)a[u]=0;return a},K.prototype.mulp=function(i,a,u){var l=2*this.guessLen13b(i.length,a.length),y=this.makeRBT(l),T=this.stub(l),D=new Array(l),m=new Array(l),n=new Array(l),v=new Array(l),B=new Array(l),V=new Array(l),X=u.words;X.length=l,this.convert13b(i.words,i.length,D,l),this.convert13b(a.words,a.length,v,l),this.transform(D,T,m,n,l,y),this.transform(v,T,B,V,l,y);for(var De=0;De<l;De++){var tt=m[De]*B[De]-n[De]*V[De];n[De]=m[De]*V[De]+n[De]*B[De],m[De]=tt}return this.conjugate(m,n,l),this.transform(m,n,X,T,l,y),this.conjugate(X,T,l),this.normalize13b(X,l),u.negative=i.negative^a.negative,u.length=i.length+a.length,u.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),Y(this,i,a)},s.prototype.imul=function(i){return this.clone().mulTo(i,this)},s.prototype.imuln=function(i){b("number"==typeof i),b(i<67108864);for(var a=0,u=0;u<this.length;u++){var l=(0|this.words[u])*i,y=(67108863&l)+(67108863&a);a>>=26,a+=l/67108864|0,a+=y>>>26,this.words[u]=67108863&y}return 0!==a&&(this.words[u]=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 E(A){for(var i=new Array(A.bitLength()),a=0;a<i.length;a++){var l=a%26;i[a]=(A.words[a/26|0]&1<<l)>>>l}return i}(i);if(0===a.length)return new s(1);for(var u=this,l=0;l<a.length&&0===a[l];l++,u=u.sqr());if(++l<a.length)for(var y=u.sqr();l<a.length;l++,y=y.sqr())0!==a[l]&&(u=u.mul(y));return u},s.prototype.iushln=function(i){b("number"==typeof i&&i>=0);var y,a=i%26,u=(i-a)/26,l=67108863>>>26-a<<26-a;if(0!==a){var T=0;for(y=0;y<this.length;y++){var D=this.words[y]&l;this.words[y]=(0|this.words[y])-D<<a|T,T=D>>>26-a}T&&(this.words[y]=T,this.length++)}if(0!==u){for(y=this.length-1;y>=0;y--)this.words[y+u]=this.words[y];for(y=0;y<u;y++)this.words[y]=0;this.length+=u}return this.strip()},s.prototype.ishln=function(i){return b(0===this.negative),this.iushln(i)},s.prototype.iushrn=function(i,a,u){var l;b("number"==typeof i&&i>=0),l=a?(a-a%26)/26:0;var y=i%26,T=Math.min((i-y)/26,this.length),D=67108863^67108863>>>y<<y,m=u;if(l-=T,l=Math.max(0,l),m){for(var n=0;n<T;n++)m.words[n]=this.words[n];m.length=T}if(0!==T)if(this.length>T)for(this.length-=T,n=0;n<this.length;n++)this.words[n]=this.words[n+T];else this.words[0]=0,this.length=1;var v=0;for(n=this.length-1;n>=0&&(0!==v||n>=l);n--){var B=0|this.words[n];this.words[n]=v<<26-y|B>>>y,v=B&D}return m&&0!==v&&(m.words[m.length++]=v),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},s.prototype.ishrn=function(i,a,u){return b(0===this.negative),this.iushrn(i,a,u)},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){b("number"==typeof i&&i>=0);var a=i%26,u=(i-a)/26;return!(this.length<=u||!(this.words[u]&1<<a))},s.prototype.imaskn=function(i){b("number"==typeof i&&i>=0);var a=i%26,u=(i-a)/26;return b(0===this.negative,"imaskn works only with positive numbers"),this.length<=u?this:(0!==a&&u++,this.length=Math.min(u,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 b("number"==typeof i),b(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(b("number"==typeof i),b(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,u){var y;this._expand(i.length+u);var T,D=0;for(y=0;y<i.length;y++){T=(0|this.words[y+u])+D;var m=(0|i.words[y])*a;D=((T-=67108863&m)>>26)-(m/67108864|0),this.words[y+u]=67108863&T}for(;y<this.length-u;y++)D=(T=(0|this.words[y+u])+D)>>26,this.words[y+u]=67108863&T;if(0===D)return this.strip();for(b(-1===D),D=0,y=0;y<this.length;y++)D=(T=-(0|this.words[y])+D)>>26,this.words[y]=67108863&T;return this.negative=1,this.strip()},s.prototype._wordDiv=function(i,a){var u,l=this.clone(),y=i,T=0|y.words[y.length-1];0!=(u=26-this._countBits(T))&&(y=y.ushln(u),l.iushln(u),T=0|y.words[y.length-1]);var n,m=l.length-y.length;if("mod"!==a){(n=new s(null)).length=m+1,n.words=new Array(n.length);for(var v=0;v<n.length;v++)n.words[v]=0}var B=l.clone()._ishlnsubmul(y,1,m);0===B.negative&&(l=B,n&&(n.words[m]=1));for(var V=m-1;V>=0;V--){var X=67108864*(0|l.words[y.length+V])+(0|l.words[y.length+V-1]);for(X=Math.min(X/T|0,67108863),l._ishlnsubmul(y,X,V);0!==l.negative;)X--,l.negative=0,l._ishlnsubmul(y,1,V),l.isZero()||(l.negative^=1);n&&(n.words[V]=X)}return n&&n.strip(),l.strip(),"div"!==a&&0!==u&&l.iushrn(u),{div:n||null,mod:l}},s.prototype.divmod=function(i,a,u){return b(!i.isZero()),this.isZero()?{div:new s(0),mod:new s(0)}:0!==this.negative&&0===i.negative?(T=this.neg().divmod(i,a),"mod"!==a&&(l=T.div.neg()),"div"!==a&&(y=T.mod.neg(),u&&0!==y.negative&&y.iadd(i)),{div:l,mod:y}):0===this.negative&&0!==i.negative?(T=this.divmod(i.neg(),a),"mod"!==a&&(l=T.div.neg()),{div:l,mod:T.mod}):this.negative&i.negative?(T=this.neg().divmod(i.neg(),a),"div"!==a&&(y=T.mod.neg(),u&&0!==y.negative&&y.isub(i)),{div:T.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,T},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 u=0!==a.div.negative?a.mod.isub(i):a.mod,l=i.ushrn(1),y=i.andln(1),T=u.cmp(l);return T<0||1===y&&0===T?a.div:0!==a.div.negative?a.div.isubn(1):a.div.iaddn(1)},s.prototype.modn=function(i){b(i<=67108863);for(var a=(1<<26)%i,u=0,l=this.length-1;l>=0;l--)u=(a*u+(0|this.words[l]))%i;return u},s.prototype.idivn=function(i){b(i<=67108863);for(var a=0,u=this.length-1;u>=0;u--){var l=(0|this.words[u])+67108864*a;this.words[u]=l/i|0,a=l%i}return this.strip()},s.prototype.divn=function(i){return this.clone().idivn(i)},s.prototype.egcd=function(i){b(0===i.negative),b(!i.isZero());var a=this,u=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),T=new s(0),D=new s(1),m=0;a.isEven()&&u.isEven();)a.iushrn(1),u.iushrn(1),++m;for(var n=u.clone(),v=a.clone();!a.isZero();){for(var B=0,V=1;!(a.words[0]&V)&&B<26;++B,V<<=1);if(B>0)for(a.iushrn(B);B-- >0;)(l.isOdd()||y.isOdd())&&(l.iadd(n),y.isub(v)),l.iushrn(1),y.iushrn(1);for(var X=0,De=1;!(u.words[0]&De)&&X<26;++X,De<<=1);if(X>0)for(u.iushrn(X);X-- >0;)(T.isOdd()||D.isOdd())&&(T.iadd(n),D.isub(v)),T.iushrn(1),D.iushrn(1);a.cmp(u)>=0?(a.isub(u),l.isub(T),y.isub(D)):(u.isub(a),T.isub(l),D.isub(y))}return{a:T,b:D,gcd:u.iushln(m)}},s.prototype._invmp=function(i){b(0===i.negative),b(!i.isZero());var B,a=this,u=i.clone();a=0!==a.negative?a.umod(i):a.clone();for(var l=new s(1),y=new s(0),T=u.clone();a.cmpn(1)>0&&u.cmpn(1)>0;){for(var D=0,m=1;!(a.words[0]&m)&&D<26;++D,m<<=1);if(D>0)for(a.iushrn(D);D-- >0;)l.isOdd()&&l.iadd(T),l.iushrn(1);for(var n=0,v=1;!(u.words[0]&v)&&n<26;++n,v<<=1);if(n>0)for(u.iushrn(n);n-- >0;)y.isOdd()&&y.iadd(T),y.iushrn(1);a.cmp(u)>=0?(a.isub(u),l.isub(y)):(u.isub(a),y.isub(l))}return(B=0===a.cmpn(1)?l:y).cmpn(0)<0&&B.iadd(i),B},s.prototype.gcd=function(i){if(this.isZero())return i.abs();if(i.isZero())return this.abs();var a=this.clone(),u=i.clone();a.negative=0,u.negative=0;for(var l=0;a.isEven()&&u.isEven();l++)a.iushrn(1),u.iushrn(1);for(;;){for(;a.isEven();)a.iushrn(1);for(;u.isEven();)u.iushrn(1);var y=a.cmp(u);if(y<0){var T=a;a=u,u=T}else if(0===y||0===u.cmpn(1))break;a.isub(u)}return u.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){b("number"==typeof i);var a=i%26,u=(i-a)/26,l=1<<a;if(this.length<=u)return this._expand(u+1),this.words[u]|=l,this;for(var y=l,T=u;0!==y&&T<this.length;T++){var D=0|this.words[T];y=(D+=y)>>>26,this.words[T]=D&=67108863}return 0!==y&&(this.words[T]=y,this.length++),this},s.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},s.prototype.cmpn=function(i){var u,a=i<0;if(0!==this.negative&&!a)return-1;if(0===this.negative&&a)return 1;if(this.strip(),this.length>1)u=1;else{a&&(i=-i),b(i<=67108863,"Number is too big");var l=0|this.words[0];u=l===i?0:l<i?-1:1}return 0!==this.negative?0|-u:u},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,u=this.length-1;u>=0;u--){var l=0|this.words[u],y=0|i.words[u];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 ee(i)},s.prototype.toRed=function(i){return b(!this.red,"Already a number in reduction context"),b(0===this.negative,"red works only with positives"),i.convertTo(this)._forceRed(i)},s.prototype.fromRed=function(){return b(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 b(!this.red,"Already a number in reduction context"),this._forceRed(i)},s.prototype.redAdd=function(i){return b(this.red,"redAdd works only with red numbers"),this.red.add(this,i)},s.prototype.redIAdd=function(i){return b(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,i)},s.prototype.redSub=function(i){return b(this.red,"redSub works only with red numbers"),this.red.sub(this,i)},s.prototype.redISub=function(i){return b(this.red,"redISub works only with red numbers"),this.red.isub(this,i)},s.prototype.redShl=function(i){return b(this.red,"redShl works only with red numbers"),this.red.shl(this,i)},s.prototype.redMul=function(i){return b(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.mul(this,i)},s.prototype.redIMul=function(i){return b(this.red,"redMul works only with red numbers"),this.red._verify2(this,i),this.red.imul(this,i)},s.prototype.redSqr=function(){return b(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},s.prototype.redISqr=function(){return b(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},s.prototype.redSqrt=function(){return b(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},s.prototype.redInvm=function(){return b(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},s.prototype.redNeg=function(){return b(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},s.prototype.redPow=function(i){return b(this.red&&!i.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,i)};var $={k256:null,p224:null,p192:null,p25519:null};function ie(A,i){this.name=A,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 ue(){ie.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function he(){ie.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function ne(){ie.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function le(){ie.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function ee(A){if("string"==typeof A){var i=s._prime(A);this.m=i.p,this.prime=i}else b(A.gtn(1),"modulus must be greater than 1"),this.m=A,this.prime=null}function me(A){ee.call(this,A),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)}ie.prototype._tmp=function(){var i=new s(null);return i.words=new Array(Math.ceil(this.n/13)),i},ie.prototype.ireduce=function(i){var u,a=i;do{this.split(a,this.tmp),u=(a=(a=this.imulK(a)).iadd(this.tmp)).bitLength()}while(u>this.n);var l=u<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},ie.prototype.split=function(i,a){i.iushrn(this.n,0,a)},ie.prototype.imulK=function(i){return i.imul(this.k)},I(ue,ie),ue.prototype.split=function(i,a){for(var u=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 T=i.words[9];for(a.words[a.length++]=T&u,y=10;y<i.length;y++){var D=0|i.words[y];i.words[y-10]=(D&u)<<4|T>>>22,T=D}i.words[y-10]=T>>>=22,i.length-=0===T&&i.length>10?10:9},ue.prototype.imulK=function(i){i.words[i.length]=0,i.words[i.length+1]=0,i.length+=2;for(var a=0,u=0;u<i.length;u++){var l=0|i.words[u];i.words[u]=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},I(he,ie),I(ne,ie),I(le,ie),le.prototype.imulK=function(i){for(var a=0,u=0;u<i.length;u++){var l=19*(0|i.words[u])+a,y=67108863&l;l>>>=26,i.words[u]=y,a=l}return 0!==a&&(i.words[i.length++]=a),i},s._prime=function(i){if($[i])return $[i];var a;if("k256"===i)a=new ue;else if("p224"===i)a=new he;else if("p192"===i)a=new ne;else{if("p25519"!==i)throw new Error("Unknown prime "+i);a=new le}return $[i]=a,a},ee.prototype._verify1=function(i){b(0===i.negative,"red works only with positives"),b(i.red,"red works only with red numbers")},ee.prototype._verify2=function(i,a){b(0==(i.negative|a.negative),"red works only with positives"),b(i.red&&i.red===a.red,"red works only with red numbers")},ee.prototype.imod=function(i){return this.prime?this.prime.ireduce(i)._forceRed(this):i.umod(this.m)._forceRed(this)},ee.prototype.neg=function(i){return i.isZero()?i.clone():this.m.sub(i)._forceRed(this)},ee.prototype.add=function(i,a){this._verify2(i,a);var u=i.add(a);return u.cmp(this.m)>=0&&u.isub(this.m),u._forceRed(this)},ee.prototype.iadd=function(i,a){this._verify2(i,a);var u=i.iadd(a);return u.cmp(this.m)>=0&&u.isub(this.m),u},ee.prototype.sub=function(i,a){this._verify2(i,a);var u=i.sub(a);return u.cmpn(0)<0&&u.iadd(this.m),u._forceRed(this)},ee.prototype.isub=function(i,a){this._verify2(i,a);var u=i.isub(a);return u.cmpn(0)<0&&u.iadd(this.m),u},ee.prototype.shl=function(i,a){return this._verify1(i),this.imod(i.ushln(a))},ee.prototype.imul=function(i,a){return this._verify2(i,a),this.imod(i.imul(a))},ee.prototype.mul=function(i,a){return this._verify2(i,a),this.imod(i.mul(a))},ee.prototype.isqr=function(i){return this.imul(i,i.clone())},ee.prototype.sqr=function(i){return this.mul(i,i)},ee.prototype.sqrt=function(i){if(i.isZero())return i.clone();var a=this.m.andln(3);if(b(a%2==1),3===a){var u=this.m.add(new s(1)).iushrn(2);return this.pow(i,u)}for(var l=this.m.subn(1),y=0;!l.isZero()&&0===l.andln(1);)y++,l.iushrn(1);b(!l.isZero());var T=new s(1).toRed(this),D=T.redNeg(),m=this.m.subn(1).iushrn(1),n=this.m.bitLength();for(n=new s(2*n*n).toRed(this);0!==this.pow(n,m).cmp(D);)n.redIAdd(D);for(var v=this.pow(n,l),B=this.pow(i,l.addn(1).iushrn(1)),V=this.pow(i,l),X=y;0!==V.cmp(T);){for(var De=V,tt=0;0!==De.cmp(T);tt++)De=De.redSqr();b(tt<X);var je=this.pow(v,new s(1).iushln(X-tt-1));B=B.redMul(je),v=je.redSqr(),V=V.redMul(v),X=tt}return B},ee.prototype.invm=function(i){var a=i._invmp(this.m);return 0!==a.negative?(a.negative=0,this.imod(a).redNeg()):this.imod(a)},ee.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 T=l[0],D=0,m=0,n=a.bitLength()%26;for(0===n&&(n=26),y=a.length-1;y>=0;y--){for(var v=a.words[y],B=n-1;B>=0;B--){var V=v>>B&1;T!==l[0]&&(T=this.sqr(T)),0!==V||0!==D?(D<<=1,D|=V,(4==++m||0===y&&0===B)&&(T=this.mul(T,l[D]),m=0,D=0)):m=0}n=26}return T},ee.prototype.convertTo=function(i){var a=i.umod(this.m);return a===i?a.clone():a},ee.prototype.convertFrom=function(i){var a=i.clone();return a.red=null,a},s.mont=function(i){return new me(i)},I(me,ee),me.prototype.convertTo=function(i){return this.imod(i.ushln(this.shift))},me.prototype.convertFrom=function(i){var a=this.imod(i.mul(this.rinv));return a.red=null,a},me.prototype.imul=function(i,a){if(i.isZero()||a.isZero())return i.words[0]=0,i.length=1,i;var u=i.imul(a),l=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=u.isub(l).iushrn(this.shift),T=y;return y.cmp(this.m)>=0?T=y.isub(this.m):y.cmpn(0)<0&&(T=y.iadd(this.m)),T._forceRed(this)},me.prototype.mul=function(i,a){if(i.isZero()||a.isZero())return new s(0)._forceRed(this);var u=i.mul(a),l=u.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),y=u.isub(l).iushrn(this.shift),T=y;return y.cmp(this.m)>=0?T=y.isub(this.m):y.cmpn(0)<0&&(T=y.iadd(this.m)),T._forceRed(this)},me.prototype.invm=function(i){return this.imod(i._invmp(this.m).mul(this.r2))._forceRed(this)}}(Ue=p.nmd(Ue),this)},6705:(Ue,q,p)=>{var t=p(2772),e=p(6945),b=p(9401),I=p(2057),s=p(8466),C=p(6386),h=p(8651),P=p(3502).Buffer;Ue.exports=function(E,R,z){var U;U=E.padding?E.padding:z?1:4;var $,Y=t(E),K=Y.modulus.byteLength();if(R.length>K||new I(R).cmp(Y.modulus)>=0)throw new Error("decryption error");$=z?h(new I(R),Y):s(R,Y);var ie=P.alloc(K-$.length);if($=P.concat([ie,$],K),4===U)return function d(O,E){var R=O.modulus.byteLength(),z=C("sha1").update(P.alloc(0)).digest(),U=z.length;if(0!==E[0])throw new Error("decryption error");var Y=E.slice(1,U+1),K=E.slice(U+1),$=b(Y,e(K,U)),ie=b(K,e($,R-U-1));if(function w(O,E){O=P.from(O),E=P.from(E);var R=0,z=O.length;O.length!==E.length&&(R++,z=Math.min(O.length,E.length));for(var U=-1;++U<z;)R+=O[U]^E[U];return R}(z,ie.slice(0,U)))throw new Error("decryption error");for(var ue=U;0===ie[ue];)ue++;if(1!==ie[ue++])throw new Error("decryption error");return ie.slice(ue)}(Y,$);if(1===U)return function S(O,E,R){for(var z=E.slice(0,2),U=2,Y=0;0!==E[U++];)if(U>=E.length){Y++;break}var K=E.slice(2,U-1);if(("0002"!==z.toString("hex")&&!R||"0001"!==z.toString("hex")&&R)&&Y++,K.length<8&&Y++,Y)throw new Error("decryption error");return E.slice(U)}(0,$,z);if(3===U)return $;throw new Error("unknown padding")}},6562:(Ue,q,p)=>{var t=p(2772),e=p(3753),b=p(6386),I=p(6945),s=p(9401),C=p(2057),h=p(8651),P=p(8466),d=p(3502).Buffer;Ue.exports=function(R,z,U){var Y;Y=R.padding?R.padding:U?1:4;var $,K=t(R);if(4===Y)$=function S(E,R){var z=E.modulus.byteLength(),U=R.length,Y=b("sha1").update(d.alloc(0)).digest(),K=Y.length,$=2*K;if(U>z-$-2)throw new Error("message too long");var ie=d.alloc(z-U-$-2),ue=z-K-1,he=e(K),ne=s(d.concat([Y,ie,d.alloc(1,1),R],ue),I(he,ue)),le=s(he,I(ne,K));return new C(d.concat([d.alloc(1),le,ne],z))}(K,z);else if(1===Y)$=function w(E,R,z){var K,U=R.length,Y=E.modulus.byteLength();if(U>Y-11)throw new Error("message too long");return K=z?d.alloc(Y-U-3,255):function O(E){for(var K,R=d.allocUnsafe(E),z=0,U=e(2*E),Y=0;z<E;)Y===U.length&&(U=e(2*E),Y=0),(K=U[Y++])&&(R[z++]=K);return R}(Y-U-3),new C(d.concat([d.from([0,z?1:2]),K,d.alloc(1),R],Y))}(K,z,U);else{if(3!==Y)throw new Error("unknown padding");if(($=new C(z)).cmp(K.modulus)>=0)throw new Error("data too long for modulus")}return U?P($,K):h($,K)}},8651:(Ue,q,p)=>{var t=p(2057),e=p(3502).Buffer;Ue.exports=function b(I,s){return e.from(I.toRed(t.mont(s.modulus)).redPow(new t(s.publicExponent)).fromRed().toArray())}},9401:Ue=>{Ue.exports=function(p,t){for(var e=p.length,b=-1;++b<e;)p[b]^=t[b];return p}},3259:(Ue,q,p)=>{const t=p(8695),e=p(1465),b=p(3210),I=p(2334);function s(C,h,P,d,S){const w=[].slice.call(arguments,1),O=w.length,E="function"==typeof w[O-1];if(!E&&!t())throw new Error("Callback required as last argument");if(!E){if(O<1)throw new Error("Too few arguments provided");return 1===O?(P=h,h=d=void 0):2===O&&!h.getContext&&(d=P,P=h,h=void 0),new Promise(function(R,z){try{const U=e.create(P,d);R(C(U,h,d))}catch(U){z(U)}})}if(O<2)throw new Error("Too few arguments provided");2===O?(S=P,P=h,h=d=void 0):3===O&&(h.getContext&&typeof S>"u"?(S=d,d=void 0):(S=d,d=P,P=h,h=void 0));try{const R=e.create(P,d);S(null,C(R,h,d))}catch(R){S(R)}}q.create=e.create,q.toCanvas=s.bind(null,b.render),q.toDataURL=s.bind(null,b.renderToDataURL),q.toString=s.bind(null,function(C,h,P){return I.render(C,P)})},8695:Ue=>{Ue.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},6221:(Ue,q,p)=>{const t=p(4792).getSymbolSize;q.getRowColCoords=function(b){if(1===b)return[];const I=Math.floor(b/7)+2,s=t(b),C=145===s?26:2*Math.ceil((s-13)/(2*I-2)),h=[s-7];for(let P=1;P<I-1;P++)h[P]=h[P-1]-C;return h.push(6),h.reverse()},q.getPositions=function(b){const I=[],s=q.getRowColCoords(b),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||I.push([s[h],s[P]]);return I}},2424:(Ue,q,p)=>{const t=p(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 b(I){this.mode=t.ALPHANUMERIC,this.data=I}b.getBitsLength=function(s){return 11*Math.floor(s/2)+s%2*6},b.prototype.getLength=function(){return this.data.length},b.prototype.getBitsLength=function(){return b.getBitsLength(this.data.length)},b.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)},Ue.exports=b},2118:Ue=>{function q(){this.buffer=[],this.length=0}q.prototype={get:function(p){const t=Math.floor(p/8);return 1==(this.buffer[t]>>>7-p%8&1)},put:function(p,t){for(let e=0;e<t;e++)this.putBit(1==(p>>>t-e-1&1))},getLengthInBits:function(){return this.length},putBit:function(p){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),p&&(this.buffer[t]|=128>>>this.length%8),this.length++}},Ue.exports=q},4425:Ue=>{function q(p){if(!p||p<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=p,this.data=new Uint8Array(p*p),this.reservedBit=new Uint8Array(p*p)}q.prototype.set=function(p,t,e,b){const I=p*this.size+t;this.data[I]=e,b&&(this.reservedBit[I]=!0)},q.prototype.get=function(p,t){return this.data[p*this.size+t]},q.prototype.xor=function(p,t,e){this.data[p*this.size+t]^=e},q.prototype.isReserved=function(p,t){return this.reservedBit[p*this.size+t]},Ue.exports=q},5663:(Ue,q,p)=>{const t=p(8419),e=p(4016);function b(I){this.mode=e.BYTE,"string"==typeof I&&(I=t(I)),this.data=new Uint8Array(I)}b.getBitsLength=function(s){return 8*s},b.prototype.getLength=function(){return this.data.length},b.prototype.getBitsLength=function(){return b.getBitsLength(this.data.length)},b.prototype.write=function(I){for(let s=0,C=this.data.length;s<C;s++)I.put(this.data[s],8)},Ue.exports=b},4655:(Ue,q,p)=>{const t=p(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],b=[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 b[4*(s-1)+0];case t.M:return b[4*(s-1)+1];case t.Q:return b[4*(s-1)+2];case t.H:return b[4*(s-1)+3];default:return}}},2259:(Ue,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,b){if(q.isValid(e))return e;try{return function p(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 b}}},3114:(Ue,q,p)=>{const t=p(4792).getSymbolSize;q.getPositions=function(I){const s=t(I);return[[0,0],[s-7,0],[0,s-7]]}},7078:(Ue,q,p)=>{const t=p(4792),I=t.getBCHDigit(1335);q.getEncodedBits=function(C,h){const P=C.bit<<3|h;let d=P<<10;for(;t.getBCHDigit(d)-I>=0;)d^=1335<<t.getBCHDigit(d)-I;return 21522^(P<<10|d)}},5339:(Ue,q)=>{const p=new Uint8Array(512),t=new Uint8Array(256);(function(){let b=1;for(let I=0;I<255;I++)p[I]=b,t[b]=I,b<<=1,256&b&&(b^=285);for(let I=255;I<512;I++)p[I]=p[I-255]})(),q.log=function(b){if(b<1)throw new Error("log("+b+")");return t[b]},q.exp=function(b){return p[b]},q.mul=function(b,I){return 0===b||0===I?0:p[t[b]+t[I]]}},449:(Ue,q,p)=>{const t=p(4016),e=p(4792);function b(I){this.mode=t.KANJI,this.data=I}b.getBitsLength=function(s){return 13*s},b.prototype.getLength=function(){return this.data.length},b.prototype.getBitsLength=function(){return b.getBitsLength(this.data.length)},b.prototype.write=function(I){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),I.put(C,13)}},Ue.exports=b},3667:(Ue,q)=>{q.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function t(e,b,I){switch(e){case q.Patterns.PATTERN000:return(b+I)%2==0;case q.Patterns.PATTERN001:return b%2==0;case q.Patterns.PATTERN010:return I%3==0;case q.Patterns.PATTERN011:return(b+I)%3==0;case q.Patterns.PATTERN100:return(Math.floor(b/2)+Math.floor(I/3))%2==0;case q.Patterns.PATTERN101:return b*I%2+b*I%3==0;case q.Patterns.PATTERN110:return(b*I%2+b*I%3)%2==0;case q.Patterns.PATTERN111:return(b*I%3+(b+I)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}q.isValid=function(b){return null!=b&&""!==b&&!isNaN(b)&&b>=0&&b<=7},q.from=function(b){return q.isValid(b)?parseInt(b,10):void 0},q.getPenaltyN1=function(b){const I=b.size;let s=0,C=0,h=0,P=null,d=null;for(let S=0;S<I;S++){C=h=0,P=d=null;for(let w=0;w<I;w++){let O=b.get(S,w);O===P?C++:(C>=5&&(s+=C-5+3),P=O,C=1),O=b.get(w,S),O===d?h++:(h>=5&&(s+=h-5+3),d=O,h=1)}C>=5&&(s+=C-5+3),h>=5&&(s+=h-5+3)}return s},q.getPenaltyN2=function(b){const I=b.size;let s=0;for(let C=0;C<I-1;C++)for(let h=0;h<I-1;h++){const P=b.get(C,h)+b.get(C,h+1)+b.get(C+1,h)+b.get(C+1,h+1);(4===P||0===P)&&s++}return 3*s},q.getPenaltyN3=function(b){const I=b.size;let s=0,C=0,h=0;for(let P=0;P<I;P++){C=h=0;for(let d=0;d<I;d++)C=C<<1&2047|b.get(P,d),d>=10&&(1488===C||93===C)&&s++,h=h<<1&2047|b.get(d,P),d>=10&&(1488===h||93===h)&&s++}return 40*s},q.getPenaltyN4=function(b){let I=0;const s=b.data.length;for(let h=0;h<s;h++)I+=b.data[h];return 10*Math.abs(Math.ceil(100*I/s/5)-10)},q.applyMask=function(b,I){const s=I.size;for(let C=0;C<s;C++)for(let h=0;h<s;h++)I.isReserved(h,C)||I.xor(h,C,t(b,h,C))},q.getBestMask=function(b,I){const s=Object.keys(q.Patterns).length;let C=0,h=1/0;for(let P=0;P<s;P++){I(P),q.applyMask(P,b);const d=q.getPenaltyN1(b)+q.getPenaltyN2(b)+q.getPenaltyN3(b)+q.getPenaltyN4(b);q.applyMask(P,b),d<h&&(h=d,C=P)}return C}},4016:(Ue,q,p)=>{const t=p(4406),e=p(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 b(I){if("string"!=typeof I)throw new Error("Param is not a string");switch(I.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: "+I)}}(s)}catch{return C}}},7783:(Ue,q,p)=>{const t=p(4016);function e(b){this.mode=t.NUMERIC,this.data=b.toString()}e.getBitsLength=function(I){return 10*Math.floor(I/3)+(I%3?I%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(I){let s,C,h;for(s=0;s+3<=this.data.length;s+=3)C=this.data.substr(s,3),h=parseInt(C,10),I.put(h,10);const P=this.data.length-s;P>0&&(C=this.data.substr(s),h=parseInt(C,10),I.put(h,3*P+1))},Ue.exports=e},1106:(Ue,q,p)=>{const t=p(5339);q.mul=function(b,I){const s=new Uint8Array(b.length+I.length-1);for(let C=0;C<b.length;C++)for(let h=0;h<I.length;h++)s[C+h]^=t.mul(b[C],I[h]);return s},q.mod=function(b,I){let s=new Uint8Array(b);for(;s.length-I.length>=0;){const C=s[0];for(let P=0;P<I.length;P++)s[P]^=t.mul(I[P],C);let h=0;for(;h<s.length&&0===s[h];)h++;s=s.slice(h)}return s},q.generateECPolynomial=function(b){let I=new Uint8Array([1]);for(let s=0;s<b;s++)I=q.mul(I,new Uint8Array([1,t.exp(s)]));return I}},1465:(Ue,q,p)=>{const t=p(4792),e=p(2259),b=p(2118),I=p(4425),s=p(6221),C=p(3114),h=p(3667),P=p(4655),d=p(2636),S=p(2088),w=p(7078),O=p(4016),E=p(2033);function K(ne,le,ee){const me=ne.size,A=w.getEncodedBits(le,ee);let i,a;for(i=0;i<15;i++)a=1==(A>>i&1),ne.set(i<6?i:i<8?i+1:me-15+i,8,a,!0),ne.set(8,i<8?me-i-1:i<9?15-i-1+1:15-i-1,a,!0);ne.set(me-8,8,1,!0)}function he(ne,le,ee,me){let A;if(Array.isArray(ne))A=E.fromArray(ne);else{if("string"!=typeof ne)throw new Error("Invalid data");{let y=le;if(!y){const T=E.rawSplit(ne);y=S.getBestVersionForData(T,ee)}A=E.fromString(ne,y||40)}}const i=S.getBestVersionForData(A,ee);if(!i)throw new Error("The amount of data is too big to be stored in a QR Code");if(le){if(le<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 le=i;const a=function ie(ne,le,ee){const me=new b;ee.forEach(function(l){me.put(l.mode.bit,4),me.put(l.getLength(),O.getCharCountIndicator(l.mode,ne)),l.write(me)});const a=8*(t.getSymbolTotalCodewords(ne)-P.getTotalCodewordsCount(ne,le));for(me.getLengthInBits()+4<=a&&me.put(0,4);me.getLengthInBits()%8!=0;)me.putBit(0);const u=(a-me.getLengthInBits())/8;for(let l=0;l<u;l++)me.put(l%2?17:236,8);return function ue(ne,le,ee){const me=t.getSymbolTotalCodewords(le),i=me-P.getTotalCodewordsCount(le,ee),a=P.getBlocksCount(le,ee),l=a-me%a,y=Math.floor(me/a),T=Math.floor(i/a),D=T+1,m=y-T,n=new d(m);let v=0;const B=new Array(a),V=new Array(a);let X=0;const De=new Uint8Array(ne.buffer);for(let ye=0;ye<a;ye++){const ce=ye<l?T:D;B[ye]=De.slice(v,v+ce),V[ye]=n.encode(B[ye]),v+=ce,X=Math.max(X,ce)}const tt=new Uint8Array(me);let ze,Le,je=0;for(ze=0;ze<X;ze++)for(Le=0;Le<a;Le++)ze<B[Le].length&&(tt[je++]=B[Le][ze]);for(ze=0;ze<m;ze++)for(Le=0;Le<a;Le++)tt[je++]=V[Le][ze];return tt}(me,ne,le)}(le,ee,A),u=t.getSymbolSize(le),l=new I(u);return function R(ne,le){const ee=ne.size,me=C.getPositions(le);for(let A=0;A<me.length;A++){const i=me[A][0],a=me[A][1];for(let u=-1;u<=7;u++)if(!(i+u<=-1||ee<=i+u))for(let l=-1;l<=7;l++)a+l<=-1||ee<=a+l||ne.set(i+u,a+l,u>=0&&u<=6&&(0===l||6===l)||l>=0&&l<=6&&(0===u||6===u)||u>=2&&u<=4&&l>=2&&l<=4,!0)}}(l,le),function z(ne){const le=ne.size;for(let ee=8;ee<le-8;ee++){const me=ee%2==0;ne.set(ee,6,me,!0),ne.set(6,ee,me,!0)}}(l),function U(ne,le){const ee=s.getPositions(le);for(let me=0;me<ee.length;me++){const A=ee[me][0],i=ee[me][1];for(let a=-2;a<=2;a++)for(let u=-2;u<=2;u++)ne.set(A+a,i+u,-2===a||2===a||-2===u||2===u||0===a&&0===u,!0)}}(l,le),K(l,ee,0),le>=7&&function Y(ne,le){const ee=ne.size,me=S.getEncodedBits(le);let A,i,a;for(let u=0;u<18;u++)A=Math.floor(u/3),i=u%3+ee-8-3,a=1==(me>>u&1),ne.set(A,i,a,!0),ne.set(i,A,a,!0)}(l,le),function $(ne,le){const ee=ne.size;let me=-1,A=ee-1,i=7,a=0;for(let u=ee-1;u>0;u-=2)for(6===u&&u--;;){for(let l=0;l<2;l++)if(!ne.isReserved(A,u-l)){let y=!1;a<le.length&&(y=1==(le[a]>>>i&1)),ne.set(A,u-l,y),i--,-1===i&&(a++,i=7)}if(A+=me,A<0||ee<=A){A-=me,me=-me;break}}}(l,a),isNaN(me)&&(me=h.getBestMask(l,K.bind(null,l,ee))),h.applyMask(me,l),K(l,ee,me),{modules:l,version:le,errorCorrectionLevel:ee,maskPattern:me,segments:A}}q.create=function(le,ee){if(typeof le>"u"||""===le)throw new Error("No input text");let A,i,me=e.M;return typeof ee<"u"&&(me=e.from(ee.errorCorrectionLevel,e.M),A=S.from(ee.version),i=h.from(ee.maskPattern),ee.toSJISFunc&&t.setToSJISFunction(ee.toSJISFunc)),he(le,A,me,i)}},2636:(Ue,q,p)=>{const t=p(1106);function e(b){this.genPoly=void 0,this.degree=b,this.degree&&this.initialize(this.degree)}e.prototype.initialize=function(I){this.degree=I,this.genPoly=t.generateECPolynomial(this.degree)},e.prototype.encode=function(I){if(!this.genPoly)throw new Error("Encoder not initialized");const s=new Uint8Array(I.length+this.degree);s.set(I);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},Ue.exports=e},2699:(Ue,q)=>{const p="[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 b="(?:(?![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(b,"g"),q.NUMERIC=new RegExp(p,"g"),q.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const I=new RegExp("^"+e+"$"),s=new RegExp("^"+p+"$"),C=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");q.testKanji=function(P){return I.test(P)},q.testNumeric=function(P){return s.test(P)},q.testAlphanumeric=function(P){return C.test(P)}},2033:(Ue,q,p)=>{const t=p(4016),e=p(7783),b=p(2424),I=p(5663),s=p(449),C=p(2699),h=p(4792),P=p(4901);function d(Y){return unescape(encodeURIComponent(Y)).length}function S(Y,K,$){const ie=[];let ue;for(;null!==(ue=Y.exec($));)ie.push({data:ue[0],index:ue.index,mode:K,length:ue[0].length});return ie}function w(Y){const K=S(C.NUMERIC,t.NUMERIC,Y),$=S(C.ALPHANUMERIC,t.ALPHANUMERIC,Y);let ie,ue;return h.isKanjiModeEnabled()?(ie=S(C.BYTE,t.BYTE,Y),ue=S(C.KANJI,t.KANJI,Y)):(ie=S(C.BYTE_KANJI,t.BYTE,Y),ue=[]),K.concat($,ie,ue).sort(function(ne,le){return ne.index-le.index}).map(function(ne){return{data:ne.data,mode:ne.mode,length:ne.length}})}function O(Y,K){switch(K){case t.NUMERIC:return e.getBitsLength(Y);case t.ALPHANUMERIC:return b.getBitsLength(Y);case t.KANJI:return s.getBitsLength(Y);case t.BYTE:return I.getBitsLength(Y)}}function U(Y,K){let $;const ie=t.getBestModeForData(Y);if($=t.from(K,ie),$!==t.BYTE&&$.bit<ie.bit)throw new Error('"'+Y+'" cannot be encoded with mode '+t.toString($)+".\n Suggested mode is: "+t.toString(ie));switch($===t.KANJI&&!h.isKanjiModeEnabled()&&($=t.BYTE),$){case t.NUMERIC:return new e(Y);case t.ALPHANUMERIC:return new b(Y);case t.KANJI:return new s(Y);case t.BYTE:return new I(Y)}}q.fromArray=function(K){return K.reduce(function($,ie){return"string"==typeof ie?$.push(U(ie,null)):ie.data&&$.push(U(ie.data,ie.mode)),$},[])},q.fromString=function(K,$){const ue=function R(Y){const K=[];for(let $=0;$<Y.length;$++){const ie=Y[$];switch(ie.mode){case t.NUMERIC:K.push([ie,{data:ie.data,mode:t.ALPHANUMERIC,length:ie.length},{data:ie.data,mode:t.BYTE,length:ie.length}]);break;case t.ALPHANUMERIC:K.push([ie,{data:ie.data,mode:t.BYTE,length:ie.length}]);break;case t.KANJI:K.push([ie,{data:ie.data,mode:t.BYTE,length:d(ie.data)}]);break;case t.BYTE:K.push([{data:ie.data,mode:t.BYTE,length:d(ie.data)}])}}return K}(w(K,h.isKanjiModeEnabled())),he=function z(Y,K){const $={},ie={start:{}};let ue=["start"];for(let he=0;he<Y.length;he++){const ne=Y[he],le=[];for(let ee=0;ee<ne.length;ee++){const me=ne[ee],A=""+he+ee;le.push(A),$[A]={node:me,lastCount:0},ie[A]={};for(let i=0;i<ue.length;i++){const a=ue[i];$[a]&&$[a].node.mode===me.mode?(ie[a][A]=O($[a].lastCount+me.length,me.mode)-O($[a].lastCount,me.mode),$[a].lastCount+=me.length):($[a]&&($[a].lastCount=me.length),ie[a][A]=O(me.length,me.mode)+4+t.getCharCountIndicator(me.mode,K))}}ue=le}for(let he=0;he<ue.length;he++)ie[ue[he]].end=0;return{map:ie,table:$}}(ue,$),ne=P.find_path(he.map,"start","end"),le=[];for(let ee=1;ee<ne.length-1;ee++)le.push(he.table[ne[ee]].node);return q.fromArray(function E(Y){return Y.reduce(function(K,$){const ie=K.length-1>=0?K[K.length-1]:null;return ie&&ie.mode===$.mode?(K[K.length-1].data+=$.data,K):(K.push($),K)},[])}(le))},q.rawSplit=function(K){return q.fromArray(w(K,h.isKanjiModeEnabled()))}},4792:(Ue,q)=>{let p;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(b){if(!b)throw new Error('"version" cannot be null or undefined');if(b<1||b>40)throw new Error('"version" should be in range from 1 to 40');return 4*b+17},q.getSymbolTotalCodewords=function(b){return t[b]},q.getBCHDigit=function(e){let b=0;for(;0!==e;)b++,e>>>=1;return b},q.setToSJISFunction=function(b){if("function"!=typeof b)throw new Error('"toSJISFunc" is not a valid function.');p=b},q.isKanjiModeEnabled=function(){return typeof p<"u"},q.toSJIS=function(b){return p(b)}},4406:(Ue,q)=>{q.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},2088:(Ue,q,p)=>{const t=p(4792),e=p(4655),b=p(2259),I=p(4016),s=p(4406),h=t.getBCHDigit(7973);function d(O,E){return I.getCharCountIndicator(O,E)+4}function S(O,E){let R=0;return O.forEach(function(z){const U=d(z.mode,E);R+=U+z.getBitsLength()}),R}q.from=function(E,R){return s.isValid(E)?parseInt(E,10):R},q.getCapacity=function(E,R,z){if(!s.isValid(E))throw new Error("Invalid QR Code version");typeof z>"u"&&(z=I.BYTE);const K=8*(t.getSymbolTotalCodewords(E)-e.getTotalCodewordsCount(E,R));if(z===I.MIXED)return K;const $=K-d(z,E);switch(z){case I.NUMERIC:return Math.floor($/10*3);case I.ALPHANUMERIC:return Math.floor($/11*2);case I.KANJI:return Math.floor($/13);default:return Math.floor($/8)}},q.getBestVersionForData=function(E,R){let z;const U=b.from(R,b.M);if(Array.isArray(E)){if(E.length>1)return function w(O,E){for(let R=1;R<=40;R++)if(S(O,R)<=q.getCapacity(R,E,I.MIXED))return R}(E,U);if(0===E.length)return 1;z=E[0]}else z=E;return function P(O,E,R){for(let z=1;z<=40;z++)if(E<=q.getCapacity(z,R,O))return z}(z.mode,z.getLength(),U)},q.getEncodedBits=function(E){if(!s.isValid(E)||E<7)throw new Error("Invalid QR Code version");let R=E<<12;for(;t.getBCHDigit(R)-h>=0;)R^=7973<<t.getBCHDigit(R)-h;return E<<12|R}},3210:(Ue,q,p)=>{const t=p(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 b(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),P=t.getOptions(P);const S=t.getImageWidth(s.modules.size,P),w=d.getContext("2d"),O=w.createImageData(S,S);return t.qrToImageData(O.data,s,P),function e(I,s,C){I.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,S),w.putImageData(O,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:(Ue,q,p)=>{const t=p(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 b(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),S=C.modules.size,w=C.modules.data,O=S+2*d.margin,E=d.color.light.a?"<path "+e(d.color.light,"fill")+' d="M0 0h'+O+"v"+O+'H0z"/>':"",R="<path "+e(d.color.dark,"stroke")+' d="'+function I(s,C,h){let P="",d=0,S=!1,w=0;for(let O=0;O<s.length;O++){const E=Math.floor(O%C),R=Math.floor(O/C);!E&&!S&&(S=!0),s[O]?(w++,O>0&&E>0&&s[O-1]||(P+=S?b("M",E+h,.5+R+h):b("m",d,0),d=0,S=!1),E+1<C&&s[O+1]||(P+=b("h",w),w=0)):d++}return P}(w,S,d.margin)+'"/>',Y='<svg xmlns="http://www.w3.org/2000/svg" '+(d.width?'width="'+d.width+'" height="'+d.width+'" ':"")+'viewBox="0 0 '+O+" "+O+'" shape-rendering="crispEdges">'+E+R+"</svg>\n";return"function"==typeof P&&P(null,Y),Y}},6355:(Ue,q)=>{function p(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(I){return[I,I]}))),6===e.length&&e.push("F","F");const b=parseInt(e.join(""),16);return{r:b>>24&255,g:b>>16&255,b:b>>8&255,a:255&b,hex:"#"+e.slice(0,6).join("")}}q.getOptions=function(e){e||(e={}),e.color||(e.color={});const I=e.width&&e.width>=21?e.width:void 0;return{width:I,scale:I?4:e.scale||4,margin:typeof e.margin>"u"||null===e.margin||e.margin<0?4:e.margin,color:{dark:p(e.color.dark||"#000000ff"),light:p(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},q.getScale=function(e,b){return b.width&&b.width>=e+2*b.margin?b.width/(e+2*b.margin):b.scale},q.getImageWidth=function(e,b){const I=q.getScale(e,b);return Math.floor((e+2*b.margin)*I)},q.qrToImageData=function(e,b,I){const s=b.modules.size,C=b.modules.data,h=q.getScale(s,I),P=Math.floor((s+2*I.margin)*h),d=I.margin*h,S=[I.color.light,I.color.dark];for(let w=0;w<P;w++)for(let O=0;O<P;O++){let E=4*(w*P+O),R=I.color.light;w>=d&&O>=d&&w<P-d&&O<P-d&&(R=S[C[Math.floor((w-d)/h)*s+Math.floor((O-d)/h)]?1:0]),e[E++]=R.r,e[E++]=R.g,e[E++]=R.b,e[E]=R.a}}},3753:(Ue,q,p)=>{"use strict";var t=65536,I=p(3502).Buffer,s=global.crypto||global.msCrypto;Ue.exports=s&&s.getRandomValues?function C(h,P){if(h>4294967295)throw new RangeError("requested too many random bytes");var d=I.allocUnsafe(h);if(h>0)if(h>t)for(var S=0;S<h;S+=t)s.getRandomValues(d.slice(S,S+t));else s.getRandomValues(d);return"function"==typeof P?process.nextTick(function(){P(null,d)}):d}:function b(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},4275:(Ue,q,p)=>{"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=p(3502),b=p(3753),I=e.Buffer,s=e.kMaxLength,C=global.crypto||global.msCrypto,h=Math.pow(2,32)-1;function P(E,R){if("number"!=typeof E||E!=E)throw new TypeError("offset must be a number");if(E>h||E<0)throw new TypeError("offset must be a uint32");if(E>s||E>R)throw new RangeError("offset out of range")}function d(E,R,z){if("number"!=typeof E||E!=E)throw new TypeError("size must be a number");if(E>h||E<0)throw new TypeError("size must be a uint32");if(E+R>z||E>s)throw new RangeError("buffer too small")}function w(E,R,z,U){if(process.browser){var K=new Uint8Array(E.buffer,R,z);return C.getRandomValues(K),U?void process.nextTick(function(){U(null,E)}):E}if(!U)return b(z).copy(E,R),E;b(z,function(ie,ue){if(ie)return U(ie);ue.copy(E,R),U(null,E)})}C&&C.getRandomValues||!process.browser?(q.randomFill=function S(E,R,z,U){if(!(I.isBuffer(E)||E instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof R)U=R,R=0,z=E.length;else if("function"==typeof z)U=z,z=E.length-R;else if("function"!=typeof U)throw new TypeError('"cb" argument must be a function');return P(R,E.length),d(z,R,E.length),w(E,R,z,U)},q.randomFillSync=function O(E,R,z){if(typeof R>"u"&&(R=0),!(I.isBuffer(E)||E instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return P(R,E.length),void 0===z&&(z=E.length-R),d(z,R,E.length),w(E,R,z)}):(q.randomFill=t,q.randomFillSync=t)},891:Ue=>{"use strict";var p={};function t(C,h,P){P||(P=Error);var S=function(w){function O(E,R,z){return w.call(this,function d(w,O,E){return"string"==typeof h?h:h(w,O,E)}(E,R,z))||this}return function q(C,h){C.prototype=Object.create(h.prototype),C.prototype.constructor=C,C.__proto__=h}(O,w),O}(P);S.prototype.name=P.name,S.prototype.code=C,p[C]=S}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,S;if("string"==typeof h&&function b(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 I(C,h,P){return(void 0===P||P>C.length)&&(P=C.length),C.substring(P-h.length,P)===h}(C," argument"))S="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";S='The "'.concat(C,'" ').concat(w," ").concat(d," ").concat(e(h,"type"))}return S+". 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"),Ue.exports.q=p},1339:(Ue,q,p)=>{"use strict";var t=Object.keys||function(S){var w=[];for(var O in S)w.push(O);return w};Ue.exports=h;var e=p(3154),b=p(520);p(3894)(h,e);for(var I=t(b.prototype),s=0;s<I.length;s++){var C=I[s];h.prototype[C]||(h.prototype[C]=b.prototype[C])}function h(S){if(!(this instanceof h))return new h(S);e.call(this,S),b.call(this,S),this.allowHalfOpen=!0,S&&(!1===S.readable&&(this.readable=!1),!1===S.writable&&(this.writable=!1),!1===S.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",P)))}function P(){this._writableState.ended||process.nextTick(d,this)}function d(S){S.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:(Ue,q,p)=>{"use strict";Ue.exports=e;var t=p(6025);function e(b){if(!(this instanceof e))return new e(b);t.call(this,b)}p(3894)(e,t),e.prototype._transform=function(b,I,s){s(null,b)}},3154:(Ue,q,p)=>{"use strict";var t;Ue.exports=A,A.ReadableState=me,p(9069);var S,b=function(Ke,Ae){return Ke.listeners(Ae).length},I=p(4970),s=p(3172).Buffer,C=global.Uint8Array||function(){},d=p(4616);S=d&&d.debuglog?d.debuglog("stream"):function(){};var ie,ue,he,w=p(5019),O=p(1920),R=p(7102).getHighWaterMark,z=p(891).q,U=z.ERR_INVALID_ARG_TYPE,Y=z.ERR_STREAM_PUSH_AFTER_EOF,K=z.ERR_METHOD_NOT_IMPLEMENTED,$=z.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;p(3894)(A,I);var ne=O.errorOrDestroy,le=["error","close","destroy","pause","resume"];function me(oe,Ke,Ae){t=t||p(1339),"boolean"!=typeof Ae&&(Ae=Ke instanceof t),this.objectMode=!!(oe=oe||{}).objectMode,Ae&&(this.objectMode=this.objectMode||!!oe.readableObjectMode),this.highWaterMark=R(this,oe,"readableHighWaterMark",Ae),this.buffer=new w,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==oe.emitClose,this.autoDestroy=!!oe.autoDestroy,this.destroyed=!1,this.defaultEncoding=oe.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,oe.encoding&&(ie||(ie=p(3054).s),this.decoder=new ie(oe.encoding),this.encoding=oe.encoding)}function A(oe){if(t=t||p(1339),!(this instanceof A))return new A(oe);this._readableState=new me(oe,this,this instanceof t),this.readable=!0,oe&&("function"==typeof oe.read&&(this._read=oe.read),"function"==typeof oe.destroy&&(this._destroy=oe.destroy)),I.call(this)}function i(oe,Ke,Ae,de,Ce){S("readableAddChunk",Ke);var Ze,te=oe._readableState;if(null===Ke)te.reading=!1,function D(oe,Ke){if(S("onEofChunk"),!Ke.ended){if(Ke.decoder){var Ae=Ke.decoder.end();Ae&&Ae.length&&(Ke.buffer.push(Ae),Ke.length+=Ke.objectMode?1:Ae.length)}Ke.ended=!0,Ke.sync?m(oe):(Ke.needReadable=!1,Ke.emittedReadable||(Ke.emittedReadable=!0,n(oe)))}}(oe,te);else if(Ce||(Ze=function u(oe,Ke){var Ae;return!function P(oe){return s.isBuffer(oe)||oe instanceof C}(Ke)&&"string"!=typeof Ke&&void 0!==Ke&&!oe.objectMode&&(Ae=new U("chunk",["string","Buffer","Uint8Array"],Ke)),Ae}(te,Ke)),Ze)ne(oe,Ze);else if(te.objectMode||Ke&&Ke.length>0)if("string"!=typeof Ke&&!te.objectMode&&Object.getPrototypeOf(Ke)!==s.prototype&&(Ke=function h(oe){return s.from(oe)}(Ke)),de)te.endEmitted?ne(oe,new $):a(oe,te,Ke,!0);else if(te.ended)ne(oe,new Y);else{if(te.destroyed)return!1;te.reading=!1,te.decoder&&!Ae?(Ke=te.decoder.write(Ke),te.objectMode||0!==Ke.length?a(oe,te,Ke,!1):v(oe,te)):a(oe,te,Ke,!1)}else de||(te.reading=!1,v(oe,te));return!te.ended&&(te.length<te.highWaterMark||0===te.length)}function a(oe,Ke,Ae,de){Ke.flowing&&0===Ke.length&&!Ke.sync?(Ke.awaitDrain=0,oe.emit("data",Ae)):(Ke.length+=Ke.objectMode?1:Ae.length,de?Ke.buffer.unshift(Ae):Ke.buffer.push(Ae),Ke.needReadable&&m(oe)),v(oe,Ke)}Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(Ke){this._readableState&&(this._readableState.destroyed=Ke)}}),A.prototype.destroy=O.destroy,A.prototype._undestroy=O.undestroy,A.prototype._destroy=function(oe,Ke){Ke(oe)},A.prototype.push=function(oe,Ke){var de,Ae=this._readableState;return Ae.objectMode?de=!0:"string"==typeof oe&&((Ke=Ke||Ae.defaultEncoding)!==Ae.encoding&&(oe=s.from(oe,Ke),Ke=""),de=!0),i(this,oe,Ke,!1,de)},A.prototype.unshift=function(oe){return i(this,oe,null,!0,!1)},A.prototype.isPaused=function(){return!1===this._readableState.flowing},A.prototype.setEncoding=function(oe){ie||(ie=p(3054).s);var Ke=new ie(oe);this._readableState.decoder=Ke,this._readableState.encoding=this._readableState.decoder.encoding;for(var Ae=this._readableState.buffer.head,de="";null!==Ae;)de+=Ke.write(Ae.data),Ae=Ae.next;return this._readableState.buffer.clear(),""!==de&&this._readableState.buffer.push(de),this._readableState.length=de.length,this};var l=1073741824;function T(oe,Ke){return oe<=0||0===Ke.length&&Ke.ended?0:Ke.objectMode?1:oe!=oe?Ke.flowing&&Ke.length?Ke.buffer.head.data.length:Ke.length:(oe>Ke.highWaterMark&&(Ke.highWaterMark=function y(oe){return oe>=l?oe=l:(oe--,oe|=oe>>>1,oe|=oe>>>2,oe|=oe>>>4,oe|=oe>>>8,oe|=oe>>>16,oe++),oe}(oe)),oe<=Ke.length?oe:Ke.ended?Ke.length:(Ke.needReadable=!0,0))}function m(oe){var Ke=oe._readableState;S("emitReadable",Ke.needReadable,Ke.emittedReadable),Ke.needReadable=!1,Ke.emittedReadable||(S("emitReadable",Ke.flowing),Ke.emittedReadable=!0,process.nextTick(n,oe))}function n(oe){var Ke=oe._readableState;S("emitReadable_",Ke.destroyed,Ke.length,Ke.ended),!Ke.destroyed&&(Ke.length||Ke.ended)&&(oe.emit("readable"),Ke.emittedReadable=!1),Ke.needReadable=!Ke.flowing&&!Ke.ended&&Ke.length<=Ke.highWaterMark,ze(oe)}function v(oe,Ke){Ke.readingMore||(Ke.readingMore=!0,process.nextTick(B,oe,Ke))}function B(oe,Ke){for(;!Ke.reading&&!Ke.ended&&(Ke.length<Ke.highWaterMark||Ke.flowing&&0===Ke.length);){var Ae=Ke.length;if(S("maybeReadMore read 0"),oe.read(0),Ae===Ke.length)break}Ke.readingMore=!1}function X(oe){var Ke=oe._readableState;Ke.readableListening=oe.listenerCount("readable")>0,Ke.resumeScheduled&&!Ke.paused?Ke.flowing=!0:oe.listenerCount("data")>0&&oe.resume()}function De(oe){S("readable nexttick read 0"),oe.read(0)}function je(oe,Ke){S("resume",Ke.reading),Ke.reading||oe.read(0),Ke.resumeScheduled=!1,oe.emit("resume"),ze(oe),Ke.flowing&&!Ke.reading&&oe.read(0)}function ze(oe){var Ke=oe._readableState;for(S("flow",Ke.flowing);Ke.flowing&&null!==oe.read(););}function Le(oe,Ke){return 0===Ke.length?null:(Ke.objectMode?Ae=Ke.buffer.shift():!oe||oe>=Ke.length?(Ae=Ke.decoder?Ke.buffer.join(""):1===Ke.buffer.length?Ke.buffer.first():Ke.buffer.concat(Ke.length),Ke.buffer.clear()):Ae=Ke.buffer.consume(oe,Ke.decoder),Ae);var Ae}function ye(oe){var Ke=oe._readableState;S("endReadable",Ke.endEmitted),Ke.endEmitted||(Ke.ended=!0,process.nextTick(ce,Ke,oe))}function ce(oe,Ke){if(S("endReadableNT",oe.endEmitted,oe.length),!oe.endEmitted&&0===oe.length&&(oe.endEmitted=!0,Ke.readable=!1,Ke.emit("end"),oe.autoDestroy)){var Ae=Ke._writableState;(!Ae||Ae.autoDestroy&&Ae.finished)&&Ke.destroy()}}function ve(oe,Ke){for(var Ae=0,de=oe.length;Ae<de;Ae++)if(oe[Ae]===Ke)return Ae;return-1}A.prototype.read=function(oe){S("read",oe),oe=parseInt(oe,10);var Ke=this._readableState,Ae=oe;if(0!==oe&&(Ke.emittedReadable=!1),0===oe&&Ke.needReadable&&((0!==Ke.highWaterMark?Ke.length>=Ke.highWaterMark:Ke.length>0)||Ke.ended))return S("read: emitReadable",Ke.length,Ke.ended),0===Ke.length&&Ke.ended?ye(this):m(this),null;if(0===(oe=T(oe,Ke))&&Ke.ended)return 0===Ke.length&&ye(this),null;var Ce,de=Ke.needReadable;return S("need readable",de),(0===Ke.length||Ke.length-oe<Ke.highWaterMark)&&S("length less than watermark",de=!0),Ke.ended||Ke.reading?S("reading or ended",de=!1):de&&(S("do read"),Ke.reading=!0,Ke.sync=!0,0===Ke.length&&(Ke.needReadable=!0),this._read(Ke.highWaterMark),Ke.sync=!1,Ke.reading||(oe=T(Ae,Ke))),null===(Ce=oe>0?Le(oe,Ke):null)?(Ke.needReadable=Ke.length<=Ke.highWaterMark,oe=0):(Ke.length-=oe,Ke.awaitDrain=0),0===Ke.length&&(Ke.ended||(Ke.needReadable=!0),Ae!==oe&&Ke.ended&&ye(this)),null!==Ce&&this.emit("data",Ce),Ce},A.prototype._read=function(oe){ne(this,new K("_read()"))},A.prototype.pipe=function(oe,Ke){var Ae=this,de=this._readableState;switch(de.pipesCount){case 0:de.pipes=oe;break;case 1:de.pipes=[de.pipes,oe];break;default:de.pipes.push(oe)}de.pipesCount+=1,S("pipe count=%d opts=%j",de.pipesCount,Ke);var te=Ke&&!1===Ke.end||oe===process.stdout||oe===process.stderr?lt:Ge;function Ge(){S("onend"),oe.end()}de.endEmitted?process.nextTick(te):Ae.once("end",te),oe.on("unpipe",function Ze(St,ke){S("onunpipe"),St===Ae&&ke&&!1===ke.hasUnpiped&&(ke.hasUnpiped=!0,function pt(){S("cleanup"),oe.removeListener("close",At),oe.removeListener("finish",_t),oe.removeListener("drain",ae),oe.removeListener("error",ut),oe.removeListener("unpipe",Ze),Ae.removeListener("end",Ge),Ae.removeListener("end",lt),Ae.removeListener("data",$e),ge=!0,de.awaitDrain&&(!oe._writableState||oe._writableState.needDrain)&&ae()}())});var ae=function V(oe){return function(){var Ae=oe._readableState;S("pipeOnDrain",Ae.awaitDrain),Ae.awaitDrain&&Ae.awaitDrain--,0===Ae.awaitDrain&&b(oe,"data")&&(Ae.flowing=!0,ze(oe))}}(Ae);oe.on("drain",ae);var ge=!1;function $e(St){S("ondata");var ke=oe.write(St);S("dest.write",ke),!1===ke&&((1===de.pipesCount&&de.pipes===oe||de.pipesCount>1&&-1!==ve(de.pipes,oe))&&!ge&&(S("false write response, pause",de.awaitDrain),de.awaitDrain++),Ae.pause())}function ut(St){S("onerror",St),lt(),oe.removeListener("error",ut),0===b(oe,"error")&&ne(oe,St)}function At(){oe.removeListener("finish",_t),lt()}function _t(){S("onfinish"),oe.removeListener("close",At),lt()}function lt(){S("unpipe"),Ae.unpipe(oe)}return Ae.on("data",$e),function ee(oe,Ke,Ae){if("function"==typeof oe.prependListener)return oe.prependListener(Ke,Ae);oe._events&&oe._events[Ke]?Array.isArray(oe._events[Ke])?oe._events[Ke].unshift(Ae):oe._events[Ke]=[Ae,oe._events[Ke]]:oe.on(Ke,Ae)}(oe,"error",ut),oe.once("close",At),oe.once("finish",_t),oe.emit("pipe",Ae),de.flowing||(S("pipe resume"),Ae.resume()),oe},A.prototype.unpipe=function(oe){var Ke=this._readableState,Ae={hasUnpiped:!1};if(0===Ke.pipesCount)return this;if(1===Ke.pipesCount)return oe&&oe!==Ke.pipes||(oe||(oe=Ke.pipes),Ke.pipes=null,Ke.pipesCount=0,Ke.flowing=!1,oe&&oe.emit("unpipe",this,Ae)),this;if(!oe){var de=Ke.pipes,Ce=Ke.pipesCount;Ke.pipes=null,Ke.pipesCount=0,Ke.flowing=!1;for(var te=0;te<Ce;te++)de[te].emit("unpipe",this,{hasUnpiped:!1});return this}var Ze=ve(Ke.pipes,oe);return-1===Ze||(Ke.pipes.splice(Ze,1),Ke.pipesCount-=1,1===Ke.pipesCount&&(Ke.pipes=Ke.pipes[0]),oe.emit("unpipe",this,Ae)),this},A.prototype.addListener=A.prototype.on=function(oe,Ke){var Ae=I.prototype.on.call(this,oe,Ke),de=this._readableState;return"data"===oe?(de.readableListening=this.listenerCount("readable")>0,!1!==de.flowing&&this.resume()):"readable"===oe&&!de.endEmitted&&!de.readableListening&&(de.readableListening=de.needReadable=!0,de.flowing=!1,de.emittedReadable=!1,S("on readable",de.length,de.reading),de.length?m(this):de.reading||process.nextTick(De,this)),Ae},A.prototype.removeListener=function(oe,Ke){var Ae=I.prototype.removeListener.call(this,oe,Ke);return"readable"===oe&&process.nextTick(X,this),Ae},A.prototype.removeAllListeners=function(oe){var Ke=I.prototype.removeAllListeners.apply(this,arguments);return("readable"===oe||void 0===oe)&&process.nextTick(X,this),Ke},A.prototype.resume=function(){var oe=this._readableState;return oe.flowing||(S("resume"),oe.flowing=!oe.readableListening,function tt(oe,Ke){Ke.resumeScheduled||(Ke.resumeScheduled=!0,process.nextTick(je,oe,Ke))}(this,oe)),oe.paused=!1,this},A.prototype.pause=function(){return S("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(S("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},A.prototype.wrap=function(oe){var Ke=this,Ae=this._readableState,de=!1;for(var Ce in oe.on("end",function(){if(S("wrapped end"),Ae.decoder&&!Ae.ended){var Ze=Ae.decoder.end();Ze&&Ze.length&&Ke.push(Ze)}Ke.push(null)}),oe.on("data",function(Ze){S("wrapped data"),Ae.decoder&&(Ze=Ae.decoder.write(Ze)),Ae.objectMode&&null==Ze||!(Ae.objectMode||Ze&&Ze.length)||Ke.push(Ze)||(de=!0,oe.pause())}),oe)void 0===this[Ce]&&"function"==typeof oe[Ce]&&(this[Ce]=function(Ge){return function(){return oe[Ge].apply(oe,arguments)}}(Ce));for(var te=0;te<le.length;te++)oe.on(le[te],this.emit.bind(this,le[te]));return this._read=function(Ze){S("wrapped _read",Ze),de&&(de=!1,oe.resume())},this},"function"==typeof Symbol&&(A.prototype[Symbol.asyncIterator]=function(){return void 0===ue&&(ue=p(3872)),ue(this)}),Object.defineProperty(A.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(A.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(A.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Ke){this._readableState&&(this._readableState.flowing=Ke)}}),A._fromList=Le,Object.defineProperty(A.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(A.from=function(oe,Ke){return void 0===he&&(he=p(7412)),he(A,oe,Ke)})},6025:(Ue,q,p)=>{"use strict";Ue.exports=P;var t=p(891).q,e=t.ERR_METHOD_NOT_IMPLEMENTED,b=t.ERR_MULTIPLE_CALLBACK,I=t.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=t.ERR_TRANSFORM_WITH_LENGTH_0,C=p(1339);function h(w,O){var E=this._transformState;E.transforming=!1;var R=E.writecb;if(null===R)return this.emit("error",new b);E.writechunk=null,E.writecb=null,null!=O&&this.push(O),R(w);var z=this._readableState;z.reading=!1,(z.needReadable||z.length<z.highWaterMark)&&this._read(z.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?S(this,null,null):this._flush(function(O,E){S(w,O,E)})}function S(w,O,E){if(O)return w.emit("error",O);if(null!=E&&w.push(E),w._writableState.length)throw new s;if(w._transformState.transforming)throw new I;return w.push(null)}p(3894)(P,C),P.prototype.push=function(w,O){return this._transformState.needTransform=!1,C.prototype.push.call(this,w,O)},P.prototype._transform=function(w,O,E){E(new e("_transform()"))},P.prototype._write=function(w,O,E){var R=this._transformState;if(R.writecb=E,R.writechunk=w,R.writeencoding=O,!R.transforming){var z=this._readableState;(R.needTransform||z.needReadable||z.length<z.highWaterMark)&&this._read(z.highWaterMark)}},P.prototype._read=function(w){var O=this._transformState;null===O.writechunk||O.transforming?O.needTransform=!0:(O.transforming=!0,this._transform(O.writechunk,O.writeencoding,O.afterTransform))},P.prototype._destroy=function(w,O){C.prototype._destroy.call(this,w,function(E){O(E)})}},520:(Ue,q,p)=>{"use strict";function e(ze){var Le=this;this.next=null,this.entry=null,this.finish=function(){!function je(ze,Le,ye){var ce=ze.entry;for(ze.entry=null;ce;){var ve=ce.callback;Le.pendingcb--,ve(ye),ce=ce.next}Le.corkedRequestsFree.next=ze}(Le,ze)}}var b;Ue.exports=me,me.WritableState=le;var ee,I={deprecate:p(4364)},s=p(4970),C=p(3172).Buffer,h=global.Uint8Array||function(){},S=p(1920),O=p(7102).getHighWaterMark,E=p(891).q,R=E.ERR_INVALID_ARG_TYPE,z=E.ERR_METHOD_NOT_IMPLEMENTED,U=E.ERR_MULTIPLE_CALLBACK,Y=E.ERR_STREAM_CANNOT_PIPE,K=E.ERR_STREAM_DESTROYED,$=E.ERR_STREAM_NULL_VALUES,ie=E.ERR_STREAM_WRITE_AFTER_END,ue=E.ERR_UNKNOWN_ENCODING,he=S.errorOrDestroy;function ne(){}function le(ze,Le,ye){b=b||p(1339),"boolean"!=typeof ye&&(ye=Le instanceof b),this.objectMode=!!(ze=ze||{}).objectMode,ye&&(this.objectMode=this.objectMode||!!ze.writableObjectMode),this.highWaterMark=O(this,ze,"writableHighWaterMark",ye),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===ze.decodeStrings),this.defaultEncoding=ze.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ve){!function D(ze,Le){var ye=ze._writableState,ce=ye.sync,ve=ye.writecb;if("function"!=typeof ve)throw new U;if(function T(ze){ze.writing=!1,ze.writecb=null,ze.length-=ze.writelen,ze.writelen=0}(ye),Le)!function y(ze,Le,ye,ce,ve){--Le.pendingcb,ye?(process.nextTick(ve,ce),process.nextTick(De,ze,Le),ze._writableState.errorEmitted=!0,he(ze,ce)):(ve(ce),ze._writableState.errorEmitted=!0,he(ze,ce),De(ze,Le))}(ze,ye,ce,Le,ve);else{var oe=B(ye)||ze.destroyed;!oe&&!ye.corked&&!ye.bufferProcessing&&ye.bufferedRequest&&v(ze,ye),ce?process.nextTick(m,ze,ye,oe,ve):m(ze,ye,oe,ve)}}(Le,ve)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==ze.emitClose,this.autoDestroy=!!ze.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function me(ze){var Le=this instanceof(b=b||p(1339));if(!Le&&!ee.call(me,this))return new me(ze);this._writableState=new le(ze,this,Le),this.writable=!0,ze&&("function"==typeof ze.write&&(this._write=ze.write),"function"==typeof ze.writev&&(this._writev=ze.writev),"function"==typeof ze.destroy&&(this._destroy=ze.destroy),"function"==typeof ze.final&&(this._final=ze.final)),s.call(this)}function l(ze,Le,ye,ce,ve,oe,Ke){Le.writelen=ce,Le.writecb=Ke,Le.writing=!0,Le.sync=!0,Le.destroyed?Le.onwrite(new K("write")):ye?ze._writev(ve,Le.onwrite):ze._write(ve,oe,Le.onwrite),Le.sync=!1}function m(ze,Le,ye,ce){ye||function n(ze,Le){0===Le.length&&Le.needDrain&&(Le.needDrain=!1,ze.emit("drain"))}(ze,Le),Le.pendingcb--,ce(),De(ze,Le)}function v(ze,Le){Le.bufferProcessing=!0;var ye=Le.bufferedRequest;if(ze._writev&&ye&&ye.next){var ve=new Array(Le.bufferedRequestCount),oe=Le.corkedRequestsFree;oe.entry=ye;for(var Ke=0,Ae=!0;ye;)ve[Ke]=ye,ye.isBuf||(Ae=!1),ye=ye.next,Ke+=1;ve.allBuffers=Ae,l(ze,Le,!0,Le.length,ve,"",oe.finish),Le.pendingcb++,Le.lastBufferedRequest=null,oe.next?(Le.corkedRequestsFree=oe.next,oe.next=null):Le.corkedRequestsFree=new e(Le),Le.bufferedRequestCount=0}else{for(;ye;){var de=ye.chunk;if(l(ze,Le,!1,Le.objectMode?1:de.length,de,ye.encoding,ye.callback),ye=ye.next,Le.bufferedRequestCount--,Le.writing)break}null===ye&&(Le.lastBufferedRequest=null)}Le.bufferedRequest=ye,Le.bufferProcessing=!1}function B(ze){return ze.ending&&0===ze.length&&null===ze.bufferedRequest&&!ze.finished&&!ze.writing}function V(ze,Le){ze._final(function(ye){Le.pendingcb--,ye&&he(ze,ye),Le.prefinished=!0,ze.emit("prefinish"),De(ze,Le)})}function De(ze,Le){var ye=B(Le);if(ye&&(function X(ze,Le){!Le.prefinished&&!Le.finalCalled&&("function"!=typeof ze._final||Le.destroyed?(Le.prefinished=!0,ze.emit("prefinish")):(Le.pendingcb++,Le.finalCalled=!0,process.nextTick(V,ze,Le)))}(ze,Le),0===Le.pendingcb&&(Le.finished=!0,ze.emit("finish"),Le.autoDestroy))){var ce=ze._readableState;(!ce||ce.autoDestroy&&ce.endEmitted)&&ze.destroy()}return ye}p(3894)(me,s),le.prototype.getBuffer=function(){for(var Le=this.bufferedRequest,ye=[];Le;)ye.push(Le),Le=Le.next;return ye},function(){try{Object.defineProperty(le.prototype,"buffer",{get:I.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]?(ee=Function.prototype[Symbol.hasInstance],Object.defineProperty(me,Symbol.hasInstance,{value:function(Le){return!!ee.call(this,Le)||this===me&&Le&&Le._writableState instanceof le}})):ee=function(Le){return Le instanceof this},me.prototype.pipe=function(){he(this,new Y)},me.prototype.write=function(ze,Le,ye){var ce=this._writableState,ve=!1,oe=!ce.objectMode&&function d(ze){return C.isBuffer(ze)||ze instanceof h}(ze);return oe&&!C.isBuffer(ze)&&(ze=function P(ze){return C.from(ze)}(ze)),"function"==typeof Le&&(ye=Le,Le=null),oe?Le="buffer":Le||(Le=ce.defaultEncoding),"function"!=typeof ye&&(ye=ne),ce.ending?function A(ze,Le){var ye=new ie;he(ze,ye),process.nextTick(Le,ye)}(this,ye):(oe||function i(ze,Le,ye,ce){var ve;return null===ye?ve=new $:"string"!=typeof ye&&!Le.objectMode&&(ve=new R("chunk",["string","Buffer"],ye)),!ve||(he(ze,ve),process.nextTick(ce,ve),!1)}(this,ce,ze,ye))&&(ce.pendingcb++,ve=function u(ze,Le,ye,ce,ve,oe){if(!ye){var Ke=function a(ze,Le,ye){return!ze.objectMode&&!1!==ze.decodeStrings&&"string"==typeof Le&&(Le=C.from(Le,ye)),Le}(Le,ce,ve);ce!==Ke&&(ye=!0,ve="buffer",ce=Ke)}var Ae=Le.objectMode?1:ce.length;Le.length+=Ae;var de=Le.length<Le.highWaterMark;if(de||(Le.needDrain=!0),Le.writing||Le.corked){var Ce=Le.lastBufferedRequest;Le.lastBufferedRequest={chunk:ce,encoding:ve,isBuf:ye,callback:oe,next:null},Ce?Ce.next=Le.lastBufferedRequest:Le.bufferedRequest=Le.lastBufferedRequest,Le.bufferedRequestCount+=1}else l(ze,Le,!1,Ae,ce,ve,oe);return de}(this,ce,oe,ze,Le,ye)),ve},me.prototype.cork=function(){this._writableState.corked++},me.prototype.uncork=function(){var ze=this._writableState;ze.corked&&(ze.corked--,!ze.writing&&!ze.corked&&!ze.bufferProcessing&&ze.bufferedRequest&&v(this,ze))},me.prototype.setDefaultEncoding=function(Le){if("string"==typeof Le&&(Le=Le.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Le+"").toLowerCase())>-1))throw new ue(Le);return this._writableState.defaultEncoding=Le,this},Object.defineProperty(me.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(me.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),me.prototype._write=function(ze,Le,ye){ye(new z("_write()"))},me.prototype._writev=null,me.prototype.end=function(ze,Le,ye){var ce=this._writableState;return"function"==typeof ze?(ye=ze,ze=null,Le=null):"function"==typeof Le&&(ye=Le,Le=null),null!=ze&&this.write(ze,Le),ce.corked&&(ce.corked=1,this.uncork()),ce.ending||function tt(ze,Le,ye){Le.ending=!0,De(ze,Le),ye&&(Le.finished?process.nextTick(ye):ze.once("finish",ye)),Le.ended=!0,ze.writable=!1}(this,ce,ye),this},Object.defineProperty(me.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(me.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(Le){this._writableState&&(this._writableState.destroyed=Le)}}),me.prototype.destroy=S.destroy,me.prototype._undestroy=S.undestroy,me.prototype._destroy=function(ze,Le){Le(ze)}},3872:(Ue,q,p)=>{"use strict";var t;function e(K,$,ie){return $ in K?Object.defineProperty(K,$,{value:ie,enumerable:!0,configurable:!0,writable:!0}):K[$]=ie,K}var b=p(7542),I=Symbol("lastResolve"),s=Symbol("lastReject"),C=Symbol("error"),h=Symbol("ended"),P=Symbol("lastPromise"),d=Symbol("handlePromise"),S=Symbol("stream");function w(K,$){return{value:K,done:$}}function O(K){var $=K[I];if(null!==$){var ie=K[S].read();null!==ie&&(K[P]=null,K[I]=null,K[s]=null,$(w(ie,!1)))}}function E(K){process.nextTick(O,K)}var z=Object.getPrototypeOf(function(){}),U=Object.setPrototypeOf((e(t={get stream(){return this[S]},next:function(){var $=this,ie=this[C];if(null!==ie)return Promise.reject(ie);if(this[h])return Promise.resolve(w(void 0,!0));if(this[S].destroyed)return new Promise(function(le,ee){process.nextTick(function(){$[C]?ee($[C]):le(w(void 0,!0))})});var he,ue=this[P];if(ue)he=new Promise(function R(K,$){return function(ie,ue){K.then(function(){$[h]?ie(w(void 0,!0)):$[d](ie,ue)},ue)}}(ue,this));else{var ne=this[S].read();if(null!==ne)return Promise.resolve(w(ne,!1));he=new Promise(this[d])}return this[P]=he,he}},Symbol.asyncIterator,function(){return this}),e(t,"return",function(){var $=this;return new Promise(function(ie,ue){$[S].destroy(null,function(he){he?ue(he):ie(w(void 0,!0))})})}),t),z);Ue.exports=function($){var ie,ue=Object.create(U,(e(ie={},S,{value:$,writable:!0}),e(ie,I,{value:null,writable:!0}),e(ie,s,{value:null,writable:!0}),e(ie,C,{value:null,writable:!0}),e(ie,h,{value:$._readableState.endEmitted,writable:!0}),e(ie,d,{value:function(ne,le){var ee=ue[S].read();ee?(ue[P]=null,ue[I]=null,ue[s]=null,ne(w(ee,!1))):(ue[I]=ne,ue[s]=le)},writable:!0}),ie));return ue[P]=null,b($,function(he){if(he&&"ERR_STREAM_PREMATURE_CLOSE"!==he.code){var ne=ue[s];return null!==ne&&(ue[P]=null,ue[I]=null,ue[s]=null,ne(he)),void(ue[C]=he)}var le=ue[I];null!==le&&(ue[P]=null,ue[I]=null,ue[s]=null,le(w(void 0,!0))),ue[h]=!0}),$.on("readable",E.bind(null,ue)),ue}},5019:(Ue,q,p)=>{"use strict";function t(E,R){var z=Object.keys(E);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(E);R&&(U=U.filter(function(Y){return Object.getOwnPropertyDescriptor(E,Y).enumerable})),z.push.apply(z,U)}return z}function b(E,R,z){return R in E?Object.defineProperty(E,R,{value:z,enumerable:!0,configurable:!0,writable:!0}):E[R]=z,E}function s(E,R){for(var z=0;z<R.length;z++){var U=R[z];U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U&&(U.writable=!0),Object.defineProperty(E,U.key,U)}}var P=p(3172).Buffer,S=p(2361).inspect,w=S&&S.custom||"inspect";function O(E,R,z){P.prototype.copy.call(E,R,z)}Ue.exports=function(){function E(){(function I(E,R){if(!(E instanceof R))throw new TypeError("Cannot call a class as a function")})(this,E),this.head=null,this.tail=null,this.length=0}return function C(E,R,z){R&&s(E.prototype,R),z&&s(E,z)}(E,[{key:"push",value:function(z){var U={data:z,next:null};this.length>0?this.tail.next=U:this.head=U,this.tail=U,++this.length}},{key:"unshift",value:function(z){var U={data:z,next:this.head};0===this.length&&(this.tail=U),this.head=U,++this.length}},{key:"shift",value:function(){if(0!==this.length){var z=this.head.data;return this.head=1===this.length?this.tail=null:this.head.next,--this.length,z}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(z){if(0===this.length)return"";for(var U=this.head,Y=""+U.data;U=U.next;)Y+=z+U.data;return Y}},{key:"concat",value:function(z){if(0===this.length)return P.alloc(0);for(var U=P.allocUnsafe(z>>>0),Y=this.head,K=0;Y;)O(Y.data,U,K),K+=Y.data.length,Y=Y.next;return U}},{key:"consume",value:function(z,U){var Y;return z<this.head.data.length?(Y=this.head.data.slice(0,z),this.head.data=this.head.data.slice(z)):Y=z===this.head.data.length?this.shift():U?this._getString(z):this._getBuffer(z),Y}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(z){var U=this.head,Y=1,K=U.data;for(z-=K.length;U=U.next;){var $=U.data,ie=z>$.length?$.length:z;if(K+=ie===$.length?$:$.slice(0,z),0==(z-=ie)){ie===$.length?(++Y,this.head=U.next?U.next:this.tail=null):(this.head=U,U.data=$.slice(ie));break}++Y}return this.length-=Y,K}},{key:"_getBuffer",value:function(z){var U=P.allocUnsafe(z),Y=this.head,K=1;for(Y.data.copy(U),z-=Y.data.length;Y=Y.next;){var $=Y.data,ie=z>$.length?$.length:z;if($.copy(U,U.length-z,0,ie),0==(z-=ie)){ie===$.length?(++K,this.head=Y.next?Y.next:this.tail=null):(this.head=Y,Y.data=$.slice(ie));break}++K}return this.length-=K,U}},{key:w,value:function(z,U){return S(this,function e(E){for(var R=1;R<arguments.length;R++){var z=null!=arguments[R]?arguments[R]:{};R%2?t(Object(z),!0).forEach(function(U){b(E,U,z[U])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(z)):t(Object(z)).forEach(function(U){Object.defineProperty(E,U,Object.getOwnPropertyDescriptor(z,U))})}return E}({},U,{depth:0,customInspect:!1}))}}]),E}()},1920:Ue=>{"use strict";function p(s,C){b(s,C),t(s)}function t(s){s._writableState&&!s._writableState.emitClose||s._readableState&&!s._readableState.emitClose||s.emit("close")}function b(s,C){s.emit("error",C)}Ue.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(b,this,s)):process.nextTick(b,this,s)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(s||null,function(S){!C&&S?h._writableState?h._writableState.errorEmitted?process.nextTick(t,h):(h._writableState.errorEmitted=!0,process.nextTick(p,h,S)):process.nextTick(p,h,S):C?(process.nextTick(t,h),C(S)):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 I(s,C){var h=s._readableState,P=s._writableState;h&&h.autoDestroy||P&&P.autoDestroy?s.destroy(C):s.emit("error",C)}}},7542:(Ue,q,p)=>{"use strict";var t=p(891).q.ERR_STREAM_PREMATURE_CLOSE;function b(){}Ue.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),S=0;S<P;S++)d[S]=arguments[S];C.apply(this,d)}}}(P||b);var d=h.readable||!1!==h.readable&&C.readable,S=h.writable||!1!==h.writable&&C.writable,w=function(){C.writable||E()},O=C._writableState&&C._writableState.finished,E=function(){S=!1,O=!0,d||P.call(C)},R=C._readableState&&C._readableState.endEmitted,z=function(){d=!1,R=!0,S||P.call(C)},U=function(ie){P.call(C,ie)},Y=function(){var ie;return d&&!R?((!C._readableState||!C._readableState.ended)&&(ie=new t),P.call(C,ie)):S&&!O?((!C._writableState||!C._writableState.ended)&&(ie=new t),P.call(C,ie)):void 0},K=function(){C.req.on("finish",E)};return function I(C){return C.setHeader&&"function"==typeof C.abort}(C)?(C.on("complete",E),C.on("abort",Y),C.req?K():C.on("request",K)):S&&!C._writableState&&(C.on("end",w),C.on("close",w)),C.on("end",z),C.on("finish",E),!1!==h.error&&C.on("error",U),C.on("close",Y),function(){C.removeListener("complete",E),C.removeListener("abort",Y),C.removeListener("request",K),C.req&&C.req.removeListener("finish",E),C.removeListener("end",w),C.removeListener("close",w),C.removeListener("finish",E),C.removeListener("end",z),C.removeListener("error",U),C.removeListener("close",Y)}}},7412:Ue=>{Ue.exports=function(){throw new Error("Readable.from is not available in the browser")}},954:(Ue,q,p)=>{"use strict";var t,b=p(891).q,I=b.ERR_MISSING_ARGS,s=b.ERR_STREAM_DESTROYED;function C(E){if(E)throw E}function P(E,R,z,U){U=function e(E){var R=!1;return function(){R||(R=!0,E.apply(void 0,arguments))}}(U);var Y=!1;E.on("close",function(){Y=!0}),void 0===t&&(t=p(7542)),t(E,{readable:R,writable:z},function($){if($)return U($);Y=!0,U()});var K=!1;return function($){if(!Y&&!K){if(K=!0,function h(E){return E.setHeader&&"function"==typeof E.abort}(E))return E.abort();if("function"==typeof E.destroy)return E.destroy();U($||new s("pipe"))}}}function d(E){E()}function S(E,R){return E.pipe(R)}function w(E){return E.length&&"function"==typeof E[E.length-1]?E.pop():C}Ue.exports=function O(){for(var E=arguments.length,R=new Array(E),z=0;z<E;z++)R[z]=arguments[z];var U=w(R);if(Array.isArray(R[0])&&(R=R[0]),R.length<2)throw new I("streams");var Y,K=R.map(function($,ie){var ue=ie<R.length-1;return P($,ue,ie>0,function(ne){Y||(Y=ne),ne&&K.forEach(d),!ue&&(K.forEach(d),U(Y))})});return R.reduce(S)}},7102:(Ue,q,p)=>{"use strict";var t=p(891).q.ERR_INVALID_OPT_VALUE;Ue.exports={getHighWaterMark:function b(I,s,C,h){var P=function e(I,s,C){return null!=I.highWaterMark?I.highWaterMark:s?I[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 I.objectMode?16:16384}}},4970:(Ue,q,p)=>{Ue.exports=p(9069).EventEmitter},5685:(Ue,q,p)=>{(q=Ue.exports=p(3154)).Stream=q,q.Readable=q,q.Writable=p(520),q.Duplex=p(1339),q.Transform=p(6025),q.PassThrough=p(6071),q.finished=p(7542),q.pipeline=p(954)},5126:Ue=>{"use strict";function q(e){return e instanceof Buffer?Buffer.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}Ue.exports=function p(e){return(e=e||{}).circles?function t(e){var b=[],I=[];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 S in b.push(P),I.push(d),P){var w=P[S];if("object"!=typeof w||null===w)d[S]=w;else if(w instanceof Date)d[S]=new Date(w);else if(w instanceof Map)d[S]=new Map(s(Array.from(w),h));else if(w instanceof Set)d[S]=new Set(s(Array.from(w),h));else if(ArrayBuffer.isView(w))d[S]=q(w);else{var O=b.indexOf(w);d[S]=-1!==O?I[O]:h(w)}}return b.pop(),I.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 S in b.push(P),I.push(d),P)if(!1!==Object.hasOwnProperty.call(P,S)){var w=P[S];if("object"!=typeof w||null===w)d[S]=w;else if(w instanceof Date)d[S]=new Date(w);else if(w instanceof Map)d[S]=new Map(s(Array.from(w),C));else if(w instanceof Set)d[S]=new Set(s(Array.from(w),C));else if(ArrayBuffer.isView(w))d[S]=q(w);else{var O=b.indexOf(w);d[S]=-1!==O?I[O]:C(w)}}return b.pop(),I.pop(),d};function s(P,d){for(var S=Object.keys(P),w=new Array(S.length),O=0;O<S.length;O++){var E=S[O],R=P[E];if("object"!=typeof R||null===R)w[E]=R;else if(R instanceof Date)w[E]=new Date(R);else if(ArrayBuffer.isView(R))w[E]=q(R);else{var z=b.indexOf(R);w[E]=-1!==z?I[z]:d(R)}}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 b(C,s);if(C instanceof Map)return new Map(b(Array.from(C),s));if(C instanceof Set)return new Set(b(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(b(Array.from(d),s)):d instanceof Set?new Set(b(Array.from(d),s)):ArrayBuffer.isView(d)?q(d):s(d)}return h}:function I(C){if("object"!=typeof C||null===C)return C;if(C instanceof Date)return new Date(C);if(Array.isArray(C))return b(C,I);if(C instanceof Map)return new Map(b(Array.from(C),I));if(C instanceof Set)return new Set(b(Array.from(C),I));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(b(Array.from(d),I)):d instanceof Set?new Set(b(Array.from(d),I)):ArrayBuffer.isView(d)?q(d):I(d)}return h};function b(C,h){for(var P=Object.keys(C),d=new Array(P.length),S=0;S<P.length;S++){var w=P[S],O=C[w];d[w]="object"!=typeof O||null===O?O:O instanceof Date?new Date(O):ArrayBuffer.isView(O)?q(O):h(O)}return d}}},5634:(Ue,q,p)=>{"use strict";var t=p(3172).Buffer,e=p(3894),b=p(9650),I=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],S=[1352829926,1548603684,1836072691,2053994217,0];function w(){b.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function O(K,$){return K<<$|K>>>32-$}function E(K,$,ie,ue,he,ne,le,ee){return O(K+($^ie^ue)+ne+le|0,ee)+he|0}function R(K,$,ie,ue,he,ne,le,ee){return O(K+($&ie|~$&ue)+ne+le|0,ee)+he|0}function z(K,$,ie,ue,he,ne,le,ee){return O(K+(($|~ie)^ue)+ne+le|0,ee)+he|0}function U(K,$,ie,ue,he,ne,le,ee){return O(K+($&ue|ie&~ue)+ne+le|0,ee)+he|0}function Y(K,$,ie,ue,he,ne,le,ee){return O(K+($^(ie|~ue))+ne+le|0,ee)+he|0}e(w,b),w.prototype._update=function(){for(var K=I,$=0;$<16;++$)K[$]=this._block.readInt32LE(4*$);for(var ie=0|this._a,ue=0|this._b,he=0|this._c,ne=0|this._d,le=0|this._e,ee=0|this._a,me=0|this._b,A=0|this._c,i=0|this._d,a=0|this._e,u=0;u<80;u+=1){var l,y;u<16?(l=E(ie,ue,he,ne,le,K[s[u]],d[0],h[u]),y=Y(ee,me,A,i,a,K[C[u]],S[0],P[u])):u<32?(l=R(ie,ue,he,ne,le,K[s[u]],d[1],h[u]),y=U(ee,me,A,i,a,K[C[u]],S[1],P[u])):u<48?(l=z(ie,ue,he,ne,le,K[s[u]],d[2],h[u]),y=z(ee,me,A,i,a,K[C[u]],S[2],P[u])):u<64?(l=U(ie,ue,he,ne,le,K[s[u]],d[3],h[u]),y=R(ee,me,A,i,a,K[C[u]],S[3],P[u])):(l=Y(ie,ue,he,ne,le,K[s[u]],d[4],h[u]),y=E(ee,me,A,i,a,K[C[u]],S[4],P[u])),ie=le,le=ne,ne=O(he,10),he=ue,ue=l,ee=a,a=i,i=O(A,10),A=me,me=y}var T=this._b+he+i|0;this._b=this._c+ne+a|0,this._c=this._d+le+ee|0,this._d=this._e+ie+me|0,this._e=this._a+ue+A|0,this._a=T},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},Ue.exports=w},1135:(Ue,q,p)=>{"use strict";p.d(q,{X:()=>e});var t=p(7579);class e extends t.x{constructor(I){super(),this._value=I}get value(){return this.getValue()}_subscribe(I){const s=super._subscribe(I);return!s.closed&&I.next(this._value),s}getValue(){const{hasError:I,thrownError:s,_value:C}=this;if(I)throw s;return this._throwIfClosed(),C}next(I){super.next(this._value=I)}}},9751:(Ue,q,p)=>{"use strict";p.d(q,{y:()=>P});var t=p(930),e=p(727),b=p(8822),I=p(9635),s=p(2416),C=p(576),h=p(2806);let P=(()=>{class O{constructor(R){R&&(this._subscribe=R)}lift(R){const z=new O;return z.source=this,z.operator=R,z}subscribe(R,z,U){const Y=function w(O){return O&&O instanceof t.Lv||function S(O){return O&&(0,C.m)(O.next)&&(0,C.m)(O.error)&&(0,C.m)(O.complete)}(O)&&(0,e.Nn)(O)}(R)?R:new t.Hp(R,z,U);return(0,h.x)(()=>{const{operator:K,source:$}=this;Y.add(K?K.call(Y,$):$?this._subscribe(Y):this._trySubscribe(Y))}),Y}_trySubscribe(R){try{return this._subscribe(R)}catch(z){R.error(z)}}forEach(R,z){return new(z=d(z))((U,Y)=>{const K=new t.Hp({next:$=>{try{R($)}catch(ie){Y(ie),K.unsubscribe()}},error:Y,complete:U});this.subscribe(K)})}_subscribe(R){var z;return null===(z=this.source)||void 0===z?void 0:z.subscribe(R)}[b.L](){return this}pipe(...R){return(0,I.U)(R)(this)}toPromise(R){return new(R=d(R))((z,U)=>{let Y;this.subscribe(K=>Y=K,K=>U(K),()=>z(Y))})}}return O.create=E=>new O(E),O})();function d(O){var E;return null!==(E=O??s.v.Promise)&&void 0!==E?E:Promise}},4707:(Ue,q,p)=>{"use strict";p.d(q,{t:()=>b});var t=p(7579),e=p(6063);class b 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:S}=this;C||(h.push(s),!P&&h.push(d.now()+S)),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 S=0;S<d.length&&!s.closed;S+=h?1:2)s.next(d[S]);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 S=C.now();let w=0;for(let O=1;O<h.length&&h[O]<=S;O+=2)w=O;w&&h.splice(0,w+1)}}}},7579:(Ue,q,p)=>{"use strict";p.d(q,{u:()=>P,x:()=>h});var t=p(9751),e=p(727);const I=(0,p(3888).d)(d=>function(){d(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var s=p(8737),C=p(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 O=new P(this,this);return O.operator=w,O}_throwIfClosed(){if(this.closed)throw new I}next(w){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const O of this.currentObservers)O.next(w)}})}error(w){(0,C.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=w;const{observers:O}=this;for(;O.length;)O.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:O,isStopped:E,observers:R}=this;return O||E?e.Lc:(this.currentObservers=null,R.push(w),new e.w0(()=>{this.currentObservers=null,(0,s.P)(R,w)}))}_checkFinalizedStatuses(w){const{hasError:O,thrownError:E,isStopped:R}=this;O?w.error(E):R&&w.complete()}asObservable(){const w=new t.y;return w.source=this,w}}return d.create=(S,w)=>new P(S,w),d})();class P extends h{constructor(S,w){super(),this.destination=S,this.source=w}next(S){var w,O;null===(O=null===(w=this.destination)||void 0===w?void 0:w.next)||void 0===O||O.call(w,S)}error(S){var w,O;null===(O=null===(w=this.destination)||void 0===w?void 0:w.error)||void 0===O||O.call(w,S)}complete(){var S,w;null===(w=null===(S=this.destination)||void 0===S?void 0:S.complete)||void 0===w||w.call(S)}_subscribe(S){var w,O;return null!==(O=null===(w=this.source)||void 0===w?void 0:w.subscribe(S))&&void 0!==O?O:e.Lc}}},930:(Ue,q,p)=>{"use strict";p.d(q,{Hp:()=>U,Lv:()=>O});var t=p(576),e=p(727),b=p(2416),I=p(7849),s=p(5032);const C=d("C",void 0,void 0);function d(ue,he,ne){return{kind:ue,value:he,error:ne}}var S=p(3410),w=p(2806);class O extends e.w0{constructor(he){super(),this.isStopped=!1,he?(this.destination=he,(0,e.Nn)(he)&&he.add(this)):this.destination=ie}static create(he,ne,le){return new U(he,ne,le)}next(he){this.isStopped?$(function P(ue){return d("N",ue,void 0)}(he),this):this._next(he)}error(he){this.isStopped?$(function h(ue){return d("E",void 0,ue)}(he),this):(this.isStopped=!0,this._error(he))}complete(){this.isStopped?$(C,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(he){this.destination.next(he)}_error(he){try{this.destination.error(he)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const E=Function.prototype.bind;function R(ue,he){return E.call(ue,he)}class z{constructor(he){this.partialObserver=he}next(he){const{partialObserver:ne}=this;if(ne.next)try{ne.next(he)}catch(le){Y(le)}}error(he){const{partialObserver:ne}=this;if(ne.error)try{ne.error(he)}catch(le){Y(le)}else Y(he)}complete(){const{partialObserver:he}=this;if(he.complete)try{he.complete()}catch(ne){Y(ne)}}}class U extends O{constructor(he,ne,le){let ee;if(super(),(0,t.m)(he)||!he)ee={next:he??void 0,error:ne??void 0,complete:le??void 0};else{let me;this&&b.v.useDeprecatedNextContext?(me=Object.create(he),me.unsubscribe=()=>this.unsubscribe(),ee={next:he.next&&R(he.next,me),error:he.error&&R(he.error,me),complete:he.complete&&R(he.complete,me)}):ee=he}this.destination=new z(ee)}}function Y(ue){b.v.useDeprecatedSynchronousErrorHandling?(0,w.O)(ue):(0,I.h)(ue)}function $(ue,he){const{onStoppedNotification:ne}=b.v;ne&&S.z.setTimeout(()=>ne(ue,he))}const ie={closed:!0,next:s.Z,error:function K(ue){throw ue},complete:s.Z}},727:(Ue,q,p)=>{"use strict";p.d(q,{Lc:()=>C,w0:()=>s,Nn:()=>h});var t=p(576);const b=(0,p(3888).d)(d=>function(w){d(this),this.message=w?`${w.length} errors occurred during unsubscription:\n${w.map((O,E)=>`${E+1}) ${O.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=w});var I=p(8737);class s{constructor(S){this.initialTeardown=S,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let S;if(!this.closed){this.closed=!0;const{_parentage:w}=this;if(w)if(this._parentage=null,Array.isArray(w))for(const R of w)R.remove(this);else w.remove(this);const{initialTeardown:O}=this;if((0,t.m)(O))try{O()}catch(R){S=R instanceof b?R.errors:[R]}const{_finalizers:E}=this;if(E){this._finalizers=null;for(const R of E)try{P(R)}catch(z){S=S??[],z instanceof b?S=[...S,...z.errors]:S.push(z)}}if(S)throw new b(S)}}add(S){var w;if(S&&S!==this)if(this.closed)P(S);else{if(S instanceof s){if(S.closed||S._hasParent(this))return;S._addParent(this)}(this._finalizers=null!==(w=this._finalizers)&&void 0!==w?w:[]).push(S)}}_hasParent(S){const{_parentage:w}=this;return w===S||Array.isArray(w)&&w.includes(S)}_addParent(S){const{_parentage:w}=this;this._parentage=Array.isArray(w)?(w.push(S),w):w?[w,S]:S}_removeParent(S){const{_parentage:w}=this;w===S?this._parentage=null:Array.isArray(w)&&(0,I.P)(w,S)}remove(S){const{_finalizers:w}=this;w&&(0,I.P)(w,S),S instanceof s&&S._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:(Ue,q,p)=>{"use strict";p.d(q,{v:()=>t});const t={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},4033:(Ue,q,p)=>{"use strict";p.d(q,{c:()=>C});var t=p(9751),e=p(727),b=p(8343),I=p(5403),s=p(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,I.x)(d,void 0,()=>{this._teardown(),d.complete()},S=>{this._teardown(),d.error(S)},()=>this._teardown()))),P.closed&&(this._connection=null,P=e.w0.EMPTY)}return P}refCount(){return(0,b.x)()(this)}}},9841:(Ue,q,p)=>{"use strict";p.d(q,{a:()=>S});var t=p(9751),e=p(4742),b=p(457),I=p(4671),s=p(3268),C=p(3269),h=p(1810),P=p(5403),d=p(9672);function S(...E){const R=(0,C.yG)(E),z=(0,C.jO)(E),{args:U,keys:Y}=(0,e.D)(E);if(0===U.length)return(0,b.D)([],R);const K=new t.y(function w(E,R,z=I.y){return U=>{O(R,()=>{const{length:Y}=E,K=new Array(Y);let $=Y,ie=Y;for(let ue=0;ue<Y;ue++)O(R,()=>{const he=(0,b.D)(E[ue],R);let ne=!1;he.subscribe((0,P.x)(U,le=>{K[ue]=le,ne||(ne=!0,ie--),ie||U.next(z(K.slice()))},()=>{--$||U.complete()}))},U)},U)}}(U,R,Y?$=>(0,h.n)(Y,$):I.y));return z?K.pipe((0,s.Z)(z)):K}function O(E,R,z){E?(0,d.f)(z,E,R):R()}},7272:(Ue,q,p)=>{"use strict";p.d(q,{z:()=>s});var t=p(8189),b=p(3269),I=p(457);function s(...C){return function e(){return(0,t.J)(1)}()((0,I.D)(C,(0,b.yG)(C)))}},9770:(Ue,q,p)=>{"use strict";p.d(q,{P:()=>b});var t=p(9751),e=p(8421);function b(I){return new t.y(s=>{(0,e.Xf)(I()).subscribe(s)})}},515:(Ue,q,p)=>{"use strict";p.d(q,{E:()=>e});const e=new(p(9751).y)(s=>s.complete())},4128:(Ue,q,p)=>{"use strict";p.d(q,{D:()=>P});var t=p(9751),e=p(4742),b=p(8421),I=p(3269),s=p(5403),C=p(3268),h=p(1810);function P(...d){const S=(0,I.jO)(d),{args:w,keys:O}=(0,e.D)(d),E=new t.y(R=>{const{length:z}=w;if(!z)return void R.complete();const U=new Array(z);let Y=z,K=z;for(let $=0;$<z;$++){let ie=!1;(0,b.Xf)(w[$]).subscribe((0,s.x)(R,ue=>{ie||(ie=!0,K--),U[$]=ue},()=>Y--,void 0,()=>{(!Y||!ie)&&(K||R.next(O?(0,h.n)(O,U):U),R.complete())}))}});return S?E.pipe((0,C.Z)(S)):E}},457:(Ue,q,p)=>{"use strict";p.d(q,{D:()=>ne});var t=p(8421),e=p(5363),b=p(4482);function I(le,ee=0){return(0,b.e)((me,A)=>{A.add(le.schedule(()=>me.subscribe(A),ee))})}var h=p(9751),d=p(2202),S=p(576),w=p(9672);function E(le,ee){if(!le)throw new Error("Iterable cannot be null");return new h.y(me=>{(0,w.f)(me,ee,()=>{const A=le[Symbol.asyncIterator]();(0,w.f)(me,ee,()=>{A.next().then(i=>{i.done?me.complete():me.next(i.value)})},0,!0)})})}var R=p(3670),z=p(8239),U=p(1144),Y=p(6495),K=p(2206),$=p(4532),ie=p(3260);function ne(le,ee){return ee?function he(le,ee){if(null!=le){if((0,R.c)(le))return function s(le,ee){return(0,t.Xf)(le).pipe(I(ee),(0,e.Q)(ee))}(le,ee);if((0,U.z)(le))return function P(le,ee){return new h.y(me=>{let A=0;return ee.schedule(function(){A===le.length?me.complete():(me.next(le[A++]),me.closed||this.schedule())})})}(le,ee);if((0,z.t)(le))return function C(le,ee){return(0,t.Xf)(le).pipe(I(ee),(0,e.Q)(ee))}(le,ee);if((0,K.D)(le))return E(le,ee);if((0,Y.T)(le))return function O(le,ee){return new h.y(me=>{let A;return(0,w.f)(me,ee,()=>{A=le[d.h](),(0,w.f)(me,ee,()=>{let i,a;try{({value:i,done:a}=A.next())}catch(u){return void me.error(u)}a?me.complete():me.next(i)},0,!0)}),()=>(0,S.m)(A?.return)&&A.return()})}(le,ee);if((0,ie.L)(le))return function ue(le,ee){return E((0,ie.Q)(le),ee)}(le,ee)}throw(0,$.z)(le)}(le,ee):(0,t.Xf)(le)}},4968:(Ue,q,p)=>{"use strict";p.d(q,{R:()=>S});var t=p(8421),e=p(9751),b=p(5577),I=p(1144),s=p(576),C=p(3268);const h=["addListener","removeListener"],P=["addEventListener","removeEventListener"],d=["on","off"];function S(z,U,Y,K){if((0,s.m)(Y)&&(K=Y,Y=void 0),K)return S(z,U,Y).pipe((0,C.Z)(K));const[$,ie]=function R(z){return(0,s.m)(z.addEventListener)&&(0,s.m)(z.removeEventListener)}(z)?P.map(ue=>he=>z[ue](U,he,Y)):function O(z){return(0,s.m)(z.addListener)&&(0,s.m)(z.removeListener)}(z)?h.map(w(z,U)):function E(z){return(0,s.m)(z.on)&&(0,s.m)(z.off)}(z)?d.map(w(z,U)):[];if(!$&&(0,I.z)(z))return(0,b.z)(ue=>S(ue,U,Y))((0,t.Xf)(z));if(!$)throw new TypeError("Invalid event target");return new e.y(ue=>{const he=(...ne)=>ue.next(1<ne.length?ne:ne[0]);return $(he),()=>ie(he)})}function w(z,U){return Y=>K=>z[Y](U,K)}},8421:(Ue,q,p)=>{"use strict";p.d(q,{Xf:()=>E});var t=p(655),e=p(1144),b=p(8239),I=p(9751),s=p(3670),C=p(2206),h=p(4532),P=p(6495),d=p(3260),S=p(576),w=p(7849),O=p(8822);function E(ue){if(ue instanceof I.y)return ue;if(null!=ue){if((0,s.c)(ue))return function R(ue){return new I.y(he=>{const ne=ue[O.L]();if((0,S.m)(ne.subscribe))return ne.subscribe(he);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(ue);if((0,e.z)(ue))return function z(ue){return new I.y(he=>{for(let ne=0;ne<ue.length&&!he.closed;ne++)he.next(ue[ne]);he.complete()})}(ue);if((0,b.t)(ue))return function U(ue){return new I.y(he=>{ue.then(ne=>{he.closed||(he.next(ne),he.complete())},ne=>he.error(ne)).then(null,w.h)})}(ue);if((0,C.D)(ue))return K(ue);if((0,P.T)(ue))return function Y(ue){return new I.y(he=>{for(const ne of ue)if(he.next(ne),he.closed)return;he.complete()})}(ue);if((0,d.L)(ue))return function $(ue){return K((0,d.Q)(ue))}(ue)}throw(0,h.z)(ue)}function K(ue){return new I.y(he=>{(function ie(ue,he){var ne,le,ee,me;return(0,t.mG)(this,void 0,void 0,function*(){try{for(ne=(0,t.KL)(ue);!(le=yield ne.next()).done;)if(he.next(le.value),he.closed)return}catch(A){ee={error:A}}finally{try{le&&!le.done&&(me=ne.return)&&(yield me.call(ne))}finally{if(ee)throw ee.error}}he.complete()})})(ue,he).catch(ne=>he.error(ne))})}},6451:(Ue,q,p)=>{"use strict";p.d(q,{T:()=>C});var t=p(8189),e=p(8421),b=p(515),I=p(3269),s=p(457);function C(...h){const P=(0,I.yG)(h),d=(0,I._6)(h,1/0),S=h;return S.length?1===S.length?(0,e.Xf)(S[0]):(0,t.J)(d)((0,s.D)(S,P)):b.E}},9646:(Ue,q,p)=>{"use strict";p.d(q,{of:()=>b});var t=p(3269),e=p(457);function b(...I){const s=(0,t.yG)(I);return(0,e.D)(I,s)}},2843:(Ue,q,p)=>{"use strict";p.d(q,{_:()=>b});var t=p(9751),e=p(576);function b(I,s){const C=(0,e.m)(I)?I:()=>I,h=P=>P.error(C());return new t.y(s?P=>s.schedule(h,0,P):h)}},2805:(Ue,q,p)=>{"use strict";p.d(q,{H:()=>s});var t=p(9751),e=p(4986),b=p(3532),I=p(1165);function s(C=0,h,P=e.P){let d=-1;return null!=h&&((0,b.K)(h)?P=h:d=h),new t.y(S=>{let w=(0,I.q)(C)?+C-P.now():C;w<0&&(w=0);let O=0;return P.schedule(function(){S.closed||(S.next(O++),0<=d?this.schedule(void 0,d):S.complete())},w)})}},5403:(Ue,q,p)=>{"use strict";p.d(q,{Q:()=>b,x:()=>e});var t=p(930);function e(I,s,C,h,P){return new b(I,s,C,h,P)}class b extends t.Lv{constructor(s,C,h,P,d,S){super(s),this.onFinalize=d,this.shouldUnsubscribe=S,this._next=C?function(w){try{C(w)}catch(O){s.error(O)}}:super._next,this._error=P?function(w){try{P(w)}catch(O){s.error(O)}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:(Ue,q,p)=>{"use strict";p.d(q,{e:()=>h});var t=p(4986),e=p(4482),b=p(8421),I=p(5403),C=p(2805);function h(P,d=t.z){return function s(P){return(0,e.e)((d,S)=>{let w=!1,O=null,E=null,R=!1;const z=()=>{if(E?.unsubscribe(),E=null,w){w=!1;const Y=O;O=null,S.next(Y)}R&&S.complete()},U=()=>{E=null,R&&S.complete()};d.subscribe((0,I.x)(S,Y=>{w=!0,O=Y,E||(0,b.Xf)(P(Y)).subscribe(E=(0,I.x)(S,z,U))},()=>{R=!0,(!w||!E||E.closed)&&S.complete()}))})}(()=>(0,C.H)(P,d))}},262:(Ue,q,p)=>{"use strict";p.d(q,{K:()=>I});var t=p(8421),e=p(5403),b=p(4482);function I(s){return(0,b.e)((C,h)=>{let S,P=null,d=!1;P=C.subscribe((0,e.x)(h,void 0,void 0,w=>{S=(0,t.Xf)(s(w,I(s)(C))),P?(P.unsubscribe(),P=null,S.subscribe(h)):d=!0})),d&&(P.unsubscribe(),P=null,S.subscribe(h))})}},4351:(Ue,q,p)=>{"use strict";p.d(q,{b:()=>b});var t=p(5577),e=p(576);function b(I,s){return(0,e.m)(s)?(0,t.z)(I,s,1):(0,t.z)(I,1)}},8372:(Ue,q,p)=>{"use strict";p.d(q,{b:()=>I});var t=p(4986),e=p(4482),b=p(5403);function I(s,C=t.z){return(0,e.e)((h,P)=>{let d=null,S=null,w=null;const O=()=>{if(d){d.unsubscribe(),d=null;const R=S;S=null,P.next(R)}};function E(){const R=w+s,z=C.now();if(z<R)return d=this.schedule(void 0,R-z),void P.add(d);O()}h.subscribe((0,b.x)(P,R=>{S=R,w=C.now(),d||(d=C.schedule(E,s),P.add(d))},()=>{O(),P.complete()},void 0,()=>{S=d=null}))})}},6590:(Ue,q,p)=>{"use strict";p.d(q,{d:()=>b});var t=p(4482),e=p(5403);function b(I){return(0,t.e)((s,C)=>{let h=!1;s.subscribe((0,e.x)(C,P=>{h=!0,C.next(P)},()=>{h||C.next(I),C.complete()}))})}},4086:(Ue,q,p)=>{"use strict";p.d(q,{g:()=>d});var t=p(4986),e=p(7272),b=p(5698),I=p(8502),s=p(9718),C=p(5577);function h(S,w){return w?O=>(0,e.z)(w.pipe((0,b.q)(1),(0,I.l)()),O.pipe(h(S))):(0,C.z)((O,E)=>S(O,E).pipe((0,b.q)(1),(0,s.h)(O)))}var P=p(2805);function d(S,w=t.z){const O=(0,P.H)(S,w);return h(()=>O)}},1884:(Ue,q,p)=>{"use strict";p.d(q,{x:()=>I});var t=p(4671),e=p(4482),b=p(5403);function I(C,h=t.y){return C=C??s,(0,e.e)((P,d)=>{let S,w=!0;P.subscribe((0,b.x)(d,O=>{const E=h(O);(w||!C(S,E))&&(w=!1,S=E,d.next(O))}))})}function s(C,h){return C===h}},9300:(Ue,q,p)=>{"use strict";p.d(q,{h:()=>b});var t=p(4482),e=p(5403);function b(I,s){return(0,t.e)((C,h)=>{let P=0;C.subscribe((0,e.x)(h,d=>I.call(s,d,P++)&&h.next(d)))})}},8746:(Ue,q,p)=>{"use strict";p.d(q,{x:()=>e});var t=p(4482);function e(b){return(0,t.e)((I,s)=>{try{I.subscribe(s)}finally{s.add(b)}})}},590:(Ue,q,p)=>{"use strict";p.d(q,{P:()=>h});var t=p(6805),e=p(9300),b=p(5698),I=p(6590),s=p(8068),C=p(4671);function h(P,d){const S=arguments.length>=2;return w=>w.pipe(P?(0,e.h)((O,E)=>P(O,E,w)):C.y,(0,b.q)(1),S?(0,I.d)(d):(0,s.T)(()=>new t.K))}},8502:(Ue,q,p)=>{"use strict";p.d(q,{l:()=>I});var t=p(4482),e=p(5403),b=p(5032);function I(){return(0,t.e)((s,C)=>{s.subscribe((0,e.x)(C,b.Z))})}},4004:(Ue,q,p)=>{"use strict";p.d(q,{U:()=>b});var t=p(4482),e=p(5403);function b(I,s){return(0,t.e)((C,h)=>{let P=0;C.subscribe((0,e.x)(h,d=>{h.next(I.call(s,d,P++))}))})}},9718:(Ue,q,p)=>{"use strict";p.d(q,{h:()=>e});var t=p(4004);function e(b){return(0,t.U)(()=>b)}},8189:(Ue,q,p)=>{"use strict";p.d(q,{J:()=>b});var t=p(5577),e=p(4671);function b(I=1/0){return(0,t.z)(e.y,I)}},5577:(Ue,q,p)=>{"use strict";p.d(q,{z:()=>P});var t=p(4004),e=p(8421),b=p(4482),I=p(9672),s=p(5403),h=p(576);function P(d,S,w=1/0){return(0,h.m)(S)?P((O,E)=>(0,t.U)((R,z)=>S(O,R,E,z))((0,e.Xf)(d(O,E))),w):("number"==typeof S&&(w=S),(0,b.e)((O,E)=>function C(d,S,w,O,E,R,z,U){const Y=[];let K=0,$=0,ie=!1;const ue=()=>{ie&&!Y.length&&!K&&S.complete()},he=le=>K<O?ne(le):Y.push(le),ne=le=>{R&&S.next(le),K++;let ee=!1;(0,e.Xf)(w(le,$++)).subscribe((0,s.x)(S,me=>{E?.(me),R?he(me):S.next(me)},()=>{ee=!0},void 0,()=>{if(ee)try{for(K--;Y.length&&K<O;){const me=Y.shift();z?(0,I.f)(S,z,()=>ne(me)):ne(me)}ue()}catch(me){S.error(me)}}))};return d.subscribe((0,s.x)(S,he,()=>{ie=!0,ue()})),()=>{U?.()}}(O,E,d,w)))}},5363:(Ue,q,p)=>{"use strict";p.d(q,{Q:()=>I});var t=p(9672),e=p(4482),b=p(5403);function I(s,C=0){return(0,e.e)((h,P)=>{h.subscribe((0,b.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:(Ue,q,p)=>{"use strict";p.d(q,{x:()=>b});var t=p(4482),e=p(5403);function b(){return(0,t.e)((I,s)=>{let C=null;I._refCount++;const h=(0,e.x)(s,void 0,void 0,void 0,()=>{if(!I||I._refCount<=0||0<--I._refCount)return void(C=null);const P=I._connection,d=C;C=null,P&&(!d||P===d)&&P.unsubscribe(),s.unsubscribe()});I.subscribe(h),h.closed||(C=I.connect())})}},5026:(Ue,q,p)=>{"use strict";p.d(q,{R:()=>I});var t=p(4482),e=p(5403);function b(s,C,h,P,d){return(S,w)=>{let O=h,E=C,R=0;S.subscribe((0,e.x)(w,z=>{const U=R++;E=O?s(E,z,U):(O=!0,z),P&&w.next(E)},d&&(()=>{O&&w.next(E),w.complete()})))}}function I(s,C){return(0,t.e)(b(s,C,arguments.length>=2,!0))}},3099:(Ue,q,p)=>{"use strict";p.d(q,{B:()=>s});var t=p(8421),e=p(7579),b=p(930),I=p(4482);function s(h={}){const{connector:P=(()=>new e.x),resetOnError:d=!0,resetOnComplete:S=!0,resetOnRefCountZero:w=!0}=h;return O=>{let E,R,z,U=0,Y=!1,K=!1;const $=()=>{R?.unsubscribe(),R=void 0},ie=()=>{$(),E=z=void 0,Y=K=!1},ue=()=>{const he=E;ie(),he?.unsubscribe()};return(0,I.e)((he,ne)=>{U++,!K&&!Y&&$();const le=z=z??P();ne.add(()=>{U--,0===U&&!K&&!Y&&(R=C(ue,w))}),le.subscribe(ne),!E&&U>0&&(E=new b.Hp({next:ee=>le.next(ee),error:ee=>{K=!0,$(),R=C(ie,d,ee),le.error(ee)},complete:()=>{Y=!0,$(),R=C(ie,S),le.complete()}}),(0,t.Xf)(he).subscribe(E))})(O)}}function C(h,P,...d){if(!0===P)return void h();if(!1===P)return;const S=new b.Hp({next:()=>{S.unsubscribe(),h()}});return P(...d).subscribe(S)}},5684:(Ue,q,p)=>{"use strict";p.d(q,{T:()=>e});var t=p(9300);function e(b){return(0,t.h)((I,s)=>b<=s)}},8675:(Ue,q,p)=>{"use strict";p.d(q,{O:()=>I});var t=p(7272),e=p(3269),b=p(4482);function I(...s){const C=(0,e.yG)(s);return(0,b.e)((h,P)=>{(C?(0,t.z)(s,h,C):(0,t.z)(s,h)).subscribe(P)})}},3900:(Ue,q,p)=>{"use strict";p.d(q,{w:()=>I});var t=p(8421),e=p(4482),b=p(5403);function I(s,C){return(0,e.e)((h,P)=>{let d=null,S=0,w=!1;const O=()=>w&&!d&&P.complete();h.subscribe((0,b.x)(P,E=>{d?.unsubscribe();let R=0;const z=S++;(0,t.Xf)(s(E,z)).subscribe(d=(0,b.x)(P,U=>P.next(C?C(E,U,z,R++):U),()=>{d=null,O()}))},()=>{w=!0,O()}))})}},5698:(Ue,q,p)=>{"use strict";p.d(q,{q:()=>I});var t=p(515),e=p(4482),b=p(5403);function I(s){return s<=0?()=>t.E:(0,e.e)((C,h)=>{let P=0;C.subscribe((0,b.x)(h,d=>{++P<=s&&(h.next(d),s<=P&&h.complete())}))})}},2722:(Ue,q,p)=>{"use strict";p.d(q,{R:()=>s});var t=p(4482),e=p(5403),b=p(8421),I=p(5032);function s(C){return(0,t.e)((h,P)=>{(0,b.Xf)(C).subscribe((0,e.x)(P,()=>P.complete(),I.Z)),!P.closed&&h.subscribe(P)})}},2529:(Ue,q,p)=>{"use strict";p.d(q,{o:()=>b});var t=p(4482),e=p(5403);function b(I,s=!1){return(0,t.e)((C,h)=>{let P=0;C.subscribe((0,e.x)(h,d=>{const S=I(d,P++);(S||s)&&h.next(d),!S&&h.complete()}))})}},8505:(Ue,q,p)=>{"use strict";p.d(q,{b:()=>s});var t=p(576),e=p(4482),b=p(5403),I=p(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)((S,w)=>{var O;null===(O=d.subscribe)||void 0===O||O.call(d);let E=!0;S.subscribe((0,b.x)(w,R=>{var z;null===(z=d.next)||void 0===z||z.call(d,R),w.next(R)},()=>{var R;E=!1,null===(R=d.complete)||void 0===R||R.call(d),w.complete()},R=>{var z;E=!1,null===(z=d.error)||void 0===z||z.call(d,R),w.error(R)},()=>{var R,z;E&&(null===(R=d.unsubscribe)||void 0===R||R.call(d)),null===(z=d.finalize)||void 0===z||z.call(d)}))}):I.y}},8068:(Ue,q,p)=>{"use strict";p.d(q,{T:()=>I});var t=p(6805),e=p(4482),b=p(5403);function I(C=s){return(0,e.e)((h,P)=>{let d=!1;h.subscribe((0,b.x)(P,S=>{d=!0,P.next(S)},()=>d?P.complete():P.error(C())))})}function s(){return new t.K}},7414:(Ue,q,p)=>{"use strict";p.d(q,{V:()=>d});var t=p(4986),e=p(1165),b=p(4482),I=p(8421),s=p(3888),C=p(5403),h=p(9672);const P=(0,s.d)(w=>function(E=null){w(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=E});function d(w,O){const{first:E,each:R,with:z=S,scheduler:U=O??t.z,meta:Y=null}=(0,e.q)(w)?{first:w}:"number"==typeof w?{each:w}:w;if(null==E&&null==R)throw new TypeError("No timeout provided.");return(0,b.e)((K,$)=>{let ie,ue,he=null,ne=0;const le=ee=>{ue=(0,h.f)($,U,()=>{try{ie.unsubscribe(),(0,I.Xf)(z({meta:Y,lastValue:he,seen:ne})).subscribe($)}catch(me){$.error(me)}},ee)};ie=K.subscribe((0,C.x)($,ee=>{ue?.unsubscribe(),ne++,$.next(he=ee),R>0&&le(R)},void 0,void 0,()=>{ue?.closed||ue?.unsubscribe(),he=null})),!ne&&le(null!=E?"number"==typeof E?E:+E-U.now():R)})}function S(w){throw new P(w)}},1365:(Ue,q,p)=>{"use strict";p.d(q,{M:()=>h});var t=p(4482),e=p(5403),b=p(8421),I=p(4671),s=p(5032),C=p(3269);function h(...P){const d=(0,C.jO)(P);return(0,t.e)((S,w)=>{const O=P.length,E=new Array(O);let R=P.map(()=>!1),z=!1;for(let U=0;U<O;U++)(0,b.Xf)(P[U]).subscribe((0,e.x)(w,Y=>{E[U]=Y,!z&&!R[U]&&(R[U]=!0,(z=R.every(I.y))&&(R=null))},s.Z));S.subscribe((0,e.x)(w,U=>{if(z){const Y=[U,...E];w.next(d?d(...Y):Y)}}))})}},4408:(Ue,q,p)=>{"use strict";p.d(q,{o:()=>s});var t=p(727);class e extends t.w0{constructor(h,P){super()}schedule(h,P=0){return this}}const b={setInterval(C,h,...P){const{delegate:d}=b;return d?.setInterval?d.setInterval(C,h,...P):setInterval(C,h,...P)},clearInterval(C){const{delegate:h}=b;return(h?.clearInterval||clearInterval)(C)},delegate:void 0};var I=p(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 S=this.id,w=this.scheduler;return null!=S&&(this.id=this.recycleAsyncId(w,S,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 b.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&&b.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 S,d=!1;try{this.work(h)}catch(w){d=!0,S=w||new Error("Scheduled action threw falsy error")}if(d)return this.unsubscribe(),S}unsubscribe(){if(!this.closed){const{id:h,scheduler:P}=this,{actions:d}=P;this.work=this.state=this.scheduler=null,this.pending=!1,(0,I.P)(d,this),null!=h&&(this.id=this.recycleAsyncId(P,h,null)),this.delay=null,super.unsubscribe()}}}},7565:(Ue,q,p)=>{"use strict";p.d(q,{v:()=>b});var t=p(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 b 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:(Ue,q,p)=>{"use strict";p.d(q,{E:()=>R});var t=p(4408);let b,e=1;const I={};function s(U){return U in I&&(delete I[U],!0)}const C={setImmediate(U){const Y=e++;return I[Y]=!0,b||(b=Promise.resolve()),b.then(()=>s(Y)&&U()),Y},clearImmediate(U){s(U)}},{setImmediate:P,clearImmediate:d}=C,S={setImmediate(...U){const{delegate:Y}=S;return(Y?.setImmediate||P)(...U)},clearImmediate(U){const{delegate:Y}=S;return(Y?.clearImmediate||d)(U)},delegate:void 0};var O=p(7565);const R=new class E extends O.v{flush(Y){this._active=!0;const K=this._scheduled;this._scheduled=void 0;const{actions:$}=this;let ie;Y=Y||$.shift();do{if(ie=Y.execute(Y.state,Y.delay))break}while((Y=$[0])&&Y.id===K&&$.shift());if(this._active=!1,ie){for(;(Y=$[0])&&Y.id===K&&$.shift();)Y.unsubscribe();throw ie}}}(class w extends t.o{constructor(Y,K){super(Y,K),this.scheduler=Y,this.work=K}requestAsyncId(Y,K,$=0){return null!==$&&$>0?super.requestAsyncId(Y,K,$):(Y.actions.push(this),Y._scheduled||(Y._scheduled=S.setImmediate(Y.flush.bind(Y,void 0))))}recycleAsyncId(Y,K,$=0){var ie;if(null!=$?$>0:this.delay>0)return super.recycleAsyncId(Y,K,$);const{actions:ue}=Y;null!=K&&(null===(ie=ue[ue.length-1])||void 0===ie?void 0:ie.id)!==K&&(S.clearImmediate(K),Y._scheduled=void 0)}})},4986:(Ue,q,p)=>{"use strict";p.d(q,{P:()=>I,z:()=>b});var t=p(4408);const b=new(p(7565).v)(t.o),I=b},6063:(Ue,q,p)=>{"use strict";p.d(q,{l:()=>t});const t={now:()=>(t.delegate||Date).now(),delegate:void 0}},233:(Ue,q,p)=>{"use strict";p.d(q,{N:()=>s});var t=p(4408),b=p(7565);const s=new class I extends b.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,S=0){return null!=S&&S>0||null==S&&this.delay>0?super.requestAsyncId(P,d,S):(P.flush(this),0)}})},3410:(Ue,q,p)=>{"use strict";p.d(q,{z:()=>t});const t={setTimeout(e,b,...I){const{delegate:s}=t;return s?.setTimeout?s.setTimeout(e,b,...I):setTimeout(e,b,...I)},clearTimeout(e){const{delegate:b}=t;return(b?.clearTimeout||clearTimeout)(e)},delegate:void 0}},2202:(Ue,q,p)=>{"use strict";p.d(q,{h:()=>e});const e=function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},8822:(Ue,q,p)=>{"use strict";p.d(q,{L:()=>t});const t="function"==typeof Symbol&&Symbol.observable||"@@observable"},6805:(Ue,q,p)=>{"use strict";p.d(q,{K:()=>e});const e=(0,p(3888).d)(b=>function(){b(this),this.name="EmptyError",this.message="no elements in sequence"})},3269:(Ue,q,p)=>{"use strict";p.d(q,{_6:()=>C,jO:()=>I,yG:()=>s});var t=p(576),e=p(3532);function b(h){return h[h.length-1]}function I(h){return(0,t.m)(b(h))?h.pop():void 0}function s(h){return(0,e.K)(b(h))?h.pop():void 0}function C(h,P){return"number"==typeof b(h)?h.pop():P}},4742:(Ue,q,p)=>{"use strict";p.d(q,{D:()=>s});const{isArray:t}=Array,{getPrototypeOf:e,prototype:b,keys:I}=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)===b}(P)){const d=I(P);return{args:d.map(S=>P[S]),keys:d}}}return{args:h,keys:null}}},8737:(Ue,q,p)=>{"use strict";function t(e,b){if(e){const I=e.indexOf(b);0<=I&&e.splice(I,1)}}p.d(q,{P:()=>t})},3888:(Ue,q,p)=>{"use strict";function t(e){const I=e(s=>{Error.call(s),s.stack=(new Error).stack});return I.prototype=Object.create(Error.prototype),I.prototype.constructor=I,I}p.d(q,{d:()=>t})},1810:(Ue,q,p)=>{"use strict";function t(e,b){return e.reduce((I,s,C)=>(I[s]=b[C],I),{})}p.d(q,{n:()=>t})},2806:(Ue,q,p)=>{"use strict";p.d(q,{O:()=>I,x:()=>b});var t=p(2416);let e=null;function b(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 I(s){t.v.useDeprecatedSynchronousErrorHandling&&e&&(e.errorThrown=!0,e.error=s)}},9672:(Ue,q,p)=>{"use strict";function t(e,b,I,s=0,C=!1){const h=b.schedule(function(){I(),C?e.add(this.schedule(null,s)):this.unsubscribe()},s);if(e.add(h),!C)return h}p.d(q,{f:()=>t})},4671:(Ue,q,p)=>{"use strict";function t(e){return e}p.d(q,{y:()=>t})},1144:(Ue,q,p)=>{"use strict";p.d(q,{z:()=>t});const t=e=>e&&"number"==typeof e.length&&"function"!=typeof e},2206:(Ue,q,p)=>{"use strict";p.d(q,{D:()=>e});var t=p(576);function e(b){return Symbol.asyncIterator&&(0,t.m)(b?.[Symbol.asyncIterator])}},1165:(Ue,q,p)=>{"use strict";function t(e){return e instanceof Date&&!isNaN(e)}p.d(q,{q:()=>t})},576:(Ue,q,p)=>{"use strict";function t(e){return"function"==typeof e}p.d(q,{m:()=>t})},3670:(Ue,q,p)=>{"use strict";p.d(q,{c:()=>b});var t=p(8822),e=p(576);function b(I){return(0,e.m)(I[t.L])}},6495:(Ue,q,p)=>{"use strict";p.d(q,{T:()=>b});var t=p(2202),e=p(576);function b(I){return(0,e.m)(I?.[t.h])}},5191:(Ue,q,p)=>{"use strict";p.d(q,{b:()=>b});var t=p(9751),e=p(576);function b(I){return!!I&&(I instanceof t.y||(0,e.m)(I.lift)&&(0,e.m)(I.subscribe))}},8239:(Ue,q,p)=>{"use strict";p.d(q,{t:()=>e});var t=p(576);function e(b){return(0,t.m)(b?.then)}},3260:(Ue,q,p)=>{"use strict";p.d(q,{L:()=>I,Q:()=>b});var t=p(655),e=p(576);function b(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 I(s){return(0,e.m)(s?.getReader)}},3532:(Ue,q,p)=>{"use strict";p.d(q,{K:()=>e});var t=p(576);function e(b){return b&&(0,t.m)(b.schedule)}},4482:(Ue,q,p)=>{"use strict";p.d(q,{A:()=>e,e:()=>b});var t=p(576);function e(I){return(0,t.m)(I?.lift)}function b(I){return s=>{if(e(s))return s.lift(function(C){try{return I(C,this)}catch(h){this.error(h)}});throw new TypeError("Unable to lift unknown Observable type")}}},3268:(Ue,q,p)=>{"use strict";p.d(q,{Z:()=>I});var t=p(4004);const{isArray:e}=Array;function I(s){return(0,t.U)(C=>function b(s,C){return e(C)?s(...C):s(C)}(s,C))}},5032:(Ue,q,p)=>{"use strict";function t(){}p.d(q,{Z:()=>t})},9635:(Ue,q,p)=>{"use strict";p.d(q,{U:()=>b,z:()=>e});var t=p(4671);function e(...I){return b(I)}function b(I){return 0===I.length?t.y:1===I.length?I[0]:function(C){return I.reduce((h,P)=>P(h),C)}}},7849:(Ue,q,p)=>{"use strict";p.d(q,{h:()=>b});var t=p(2416),e=p(3410);function b(I){e.z.setTimeout(()=>{const{onUnhandledError:s}=t.v;if(!s)throw I;s(I)})}},4532:(Ue,q,p)=>{"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.`)}p.d(q,{z:()=>t})},3502:(Ue,q,p)=>{var t=p(3172),e=t.Buffer;function b(s,C){for(var h in s)C[h]=s[h]}function I(s,C,h){return e(s,C,h)}e.from&&e.alloc&&e.allocUnsafe&&e.allocUnsafeSlow?Ue.exports=t:(b(t,q),q.Buffer=I),I.prototype=Object.create(e.prototype),b(e,I),I.from=function(s,C,h){if("number"==typeof s)throw new TypeError("Argument must not be a number");return e(s,C,h)},I.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},I.allocUnsafe=function(s){if("number"!=typeof s)throw new TypeError("Argument must be a number");return e(s)},I.allocUnsafeSlow=function(s){if("number"!=typeof s)throw new TypeError("Argument must be a number");return t.SlowBuffer(s)}},2038:(Ue,q,p)=>{"use strict";var I,t=p(3172),e=t.Buffer,b={};for(I in t)t.hasOwnProperty(I)&&("SlowBuffer"===I||"Buffer"===I||(b[I]=t[I]));var s=b.Buffer={};for(I in e)e.hasOwnProperty(I)&&("allocUnsafe"===I||"allocUnsafeSlow"===I||(s[I]=e[I]));if(b.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}),!b.kStringMaxLength)try{b.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}b.constants||(b.constants={MAX_LENGTH:b.kMaxLength},b.kStringMaxLength&&(b.constants.MAX_STRING_LENGTH=b.kStringMaxLength)),Ue.exports=b},6692:(Ue,q,p)=>{var t=p(3502).Buffer;function e(b,I){this._block=t.alloc(b),this._finalSize=I,this._blockSize=b,this._len=0}e.prototype.update=function(b,I){"string"==typeof b&&(b=t.from(b,I=I||"utf8"));for(var s=this._block,C=this._blockSize,h=b.length,P=this._len,d=0;d<h;){for(var S=P%C,w=Math.min(h-d,C-S),O=0;O<w;O++)s[S+O]=b[d+O];d+=w,(P+=w)%C==0&&this._update(s)}return this._len+=h,this},e.prototype.digest=function(b){var I=this._len%this._blockSize;this._block[I]=128,this._block.fill(0,I+1),I>=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 b?P.toString(b):P},e.prototype._update=function(){throw new Error("_update must be implemented by subclass")},Ue.exports=e},5244:(Ue,q,p)=>{var t=Ue.exports=function(b){b=b.toLowerCase();var I=t[b];if(!I)throw new Error(b+" is not supported (we accept pull requests)");return new I};t.sha=p(8932),t.sha1=p(7736),t.sha224=p(5044),t.sha256=p(5014),t.sha384=p(6540),t.sha512=p(117)},8932:(Ue,q,p)=>{var t=p(3894),e=p(6692),b=p(3502).Buffer,I=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function C(){this.init(),this._w=s,e.call(this,64,56)}function h(S){return S<<5|S>>>27}function P(S){return S<<30|S>>>2}function d(S,w,O,E){return 0===S?w&O|~w&E:2===S?w&O|w&E|O&E:w^O^E}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(S){for(var w=this._w,O=0|this._a,E=0|this._b,R=0|this._c,z=0|this._d,U=0|this._e,Y=0;Y<16;++Y)w[Y]=S.readInt32BE(4*Y);for(;Y<80;++Y)w[Y]=w[Y-3]^w[Y-8]^w[Y-14]^w[Y-16];for(var K=0;K<80;++K){var $=~~(K/20),ie=h(O)+d($,E,R,z)+U+w[K]+I[$]|0;U=z,z=R,R=P(E),E=O,O=ie}this._a=O+this._a|0,this._b=E+this._b|0,this._c=R+this._c|0,this._d=z+this._d|0,this._e=U+this._e|0},C.prototype._hash=function(){var S=b.allocUnsafe(20);return S.writeInt32BE(0|this._a,0),S.writeInt32BE(0|this._b,4),S.writeInt32BE(0|this._c,8),S.writeInt32BE(0|this._d,12),S.writeInt32BE(0|this._e,16),S},Ue.exports=C},7736:(Ue,q,p)=>{var t=p(3894),e=p(6692),b=p(3502).Buffer,I=[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 S(w,O,E,R){return 0===w?O&E|~O&R:2===w?O&E|O&R|E&R:O^E^R}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 O=this._w,E=0|this._a,R=0|this._b,z=0|this._c,U=0|this._d,Y=0|this._e,K=0;K<16;++K)O[K]=w.readInt32BE(4*K);for(;K<80;++K)O[K]=h(O[K-3]^O[K-8]^O[K-14]^O[K-16]);for(var $=0;$<80;++$){var ie=~~($/20),ue=P(E)+S(ie,R,z,U)+Y+O[$]+I[ie]|0;Y=U,U=z,z=d(R),R=E,E=ue}this._a=E+this._a|0,this._b=R+this._b|0,this._c=z+this._c|0,this._d=U+this._d|0,this._e=Y+this._e|0},C.prototype._hash=function(){var w=b.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},Ue.exports=C},5044:(Ue,q,p)=>{var t=p(3894),e=p(5014),b=p(6692),I=p(3502).Buffer,s=new Array(64);function C(){this.init(),this._w=s,b.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=I.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},Ue.exports=C},5014:(Ue,q,p)=>{var t=p(3894),e=p(6692),b=p(3502).Buffer,I=[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(E,R,z){return z^E&(R^z)}function P(E,R,z){return E&R|z&(E|R)}function d(E){return(E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10)}function S(E){return(E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7)}function w(E){return(E>>>7|E<<25)^(E>>>18|E<<14)^E>>>3}function O(E){return(E>>>17|E<<15)^(E>>>19|E<<13)^E>>>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(E){for(var R=this._w,z=0|this._a,U=0|this._b,Y=0|this._c,K=0|this._d,$=0|this._e,ie=0|this._f,ue=0|this._g,he=0|this._h,ne=0;ne<16;++ne)R[ne]=E.readInt32BE(4*ne);for(;ne<64;++ne)R[ne]=O(R[ne-2])+R[ne-7]+w(R[ne-15])+R[ne-16]|0;for(var le=0;le<64;++le){var ee=he+S($)+h($,ie,ue)+I[le]+R[le]|0,me=d(z)+P(z,U,Y)|0;he=ue,ue=ie,ie=$,$=K+ee|0,K=Y,Y=U,U=z,z=ee+me|0}this._a=z+this._a|0,this._b=U+this._b|0,this._c=Y+this._c|0,this._d=K+this._d|0,this._e=$+this._e|0,this._f=ie+this._f|0,this._g=ue+this._g|0,this._h=he+this._h|0},C.prototype._hash=function(){var E=b.allocUnsafe(32);return E.writeInt32BE(this._a,0),E.writeInt32BE(this._b,4),E.writeInt32BE(this._c,8),E.writeInt32BE(this._d,12),E.writeInt32BE(this._e,16),E.writeInt32BE(this._f,20),E.writeInt32BE(this._g,24),E.writeInt32BE(this._h,28),E},Ue.exports=C},6540:(Ue,q,p)=>{var t=p(3894),e=p(117),b=p(6692),I=p(3502).Buffer,s=new Array(160);function C(){this.init(),this._w=s,b.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=I.allocUnsafe(48);function P(d,S,w){h.writeInt32BE(d,w),h.writeInt32BE(S,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},Ue.exports=C},117:(Ue,q,p)=>{var t=p(3894),e=p(6692),b=p(3502).Buffer,I=[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(U,Y,K){return K^U&(Y^K)}function P(U,Y,K){return U&Y|K&(U|Y)}function d(U,Y){return(U>>>28|Y<<4)^(Y>>>2|U<<30)^(Y>>>7|U<<25)}function S(U,Y){return(U>>>14|Y<<18)^(U>>>18|Y<<14)^(Y>>>9|U<<23)}function w(U,Y){return(U>>>1|Y<<31)^(U>>>8|Y<<24)^U>>>7}function O(U,Y){return(U>>>1|Y<<31)^(U>>>8|Y<<24)^(U>>>7|Y<<25)}function E(U,Y){return(U>>>19|Y<<13)^(Y>>>29|U<<3)^U>>>6}function R(U,Y){return(U>>>19|Y<<13)^(Y>>>29|U<<3)^(U>>>6|Y<<26)}function z(U,Y){return U>>>0<Y>>>0?1:0}t(C,e),C.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},C.prototype._update=function(U){for(var Y=this._w,K=0|this._ah,$=0|this._bh,ie=0|this._ch,ue=0|this._dh,he=0|this._eh,ne=0|this._fh,le=0|this._gh,ee=0|this._hh,me=0|this._al,A=0|this._bl,i=0|this._cl,a=0|this._dl,u=0|this._el,l=0|this._fl,y=0|this._gl,T=0|this._hl,D=0;D<32;D+=2)Y[D]=U.readInt32BE(4*D),Y[D+1]=U.readInt32BE(4*D+4);for(;D<160;D+=2){var m=Y[D-30],n=Y[D-30+1],v=w(m,n),B=O(n,m),V=E(m=Y[D-4],n=Y[D-4+1]),X=R(n,m),je=Y[D-32],ze=Y[D-32+1],Le=B+Y[D-14+1]|0,ye=v+Y[D-14]+z(Le,B)|0;ye=(ye=ye+V+z(Le=Le+X|0,X)|0)+je+z(Le=Le+ze|0,ze)|0,Y[D]=ye,Y[D+1]=Le}for(var ce=0;ce<160;ce+=2){ye=Y[ce],Le=Y[ce+1];var ve=P(K,$,ie),oe=P(me,A,i),Ke=d(K,me),Ae=d(me,K),de=S(he,u),Ce=S(u,he),te=I[ce],Ze=I[ce+1],Ge=h(he,ne,le),ae=h(u,l,y),ge=T+Ce|0,pt=ee+de+z(ge,T)|0;pt=(pt=(pt=pt+Ge+z(ge=ge+ae|0,ae)|0)+te+z(ge=ge+Ze|0,Ze)|0)+ye+z(ge=ge+Le|0,Le)|0;var $e=Ae+oe|0,ut=Ke+ve+z($e,Ae)|0;ee=le,T=y,le=ne,y=l,ne=he,l=u,he=ue+pt+z(u=a+ge|0,a)|0,ue=ie,a=i,ie=$,i=A,$=K,A=me,K=pt+ut+z(me=ge+$e|0,ge)|0}this._al=this._al+me|0,this._bl=this._bl+A|0,this._cl=this._cl+i|0,this._dl=this._dl+a|0,this._el=this._el+u|0,this._fl=this._fl+l|0,this._gl=this._gl+y|0,this._hl=this._hl+T|0,this._ah=this._ah+K+z(this._al,me)|0,this._bh=this._bh+$+z(this._bl,A)|0,this._ch=this._ch+ie+z(this._cl,i)|0,this._dh=this._dh+ue+z(this._dl,a)|0,this._eh=this._eh+he+z(this._el,u)|0,this._fh=this._fh+ne+z(this._fl,l)|0,this._gh=this._gh+le+z(this._gl,y)|0,this._hh=this._hh+ee+z(this._hl,T)|0},C.prototype._hash=function(){var U=b.allocUnsafe(64);function Y(K,$,ie){U.writeInt32BE(K,ie),U.writeInt32BE($,ie+4)}return Y(this._ah,this._al,0),Y(this._bh,this._bl,8),Y(this._ch,this._cl,16),Y(this._dh,this._dl,24),Y(this._eh,this._el,32),Y(this._fh,this._fl,40),Y(this._gh,this._gl,48),Y(this._hh,this._hl,56),U},Ue.exports=C},8012:function(Ue,q,p){!function(t){"use strict";var e={};Ue.exports?(e.bytesToHex=p(6128).bytesToHex,e.convertString=p(5612),Ue.exports=P):(e.bytesToHex=t.convertHex.bytesToHex,e.convertString=t.convertString,t.sha256=P);var b=[];!function(){function d(E){for(var R=Math.sqrt(E),z=2;z<=R;z++)if(!(E%z))return!1;return!0}for(var w=2,O=0;O<64;)d(w)&&(b[O]=4294967296*((E=Math.pow(w,1/3))-(0|E))|0,O++),w++;var E}();var C=[],h=function(d,S,w){for(var O=d[0],E=d[1],R=d[2],z=d[3],U=d[4],Y=d[5],K=d[6],$=d[7],ie=0;ie<64;ie++){if(ie<16)C[ie]=0|S[w+ie];else{var ue=C[ie-15],ne=C[ie-2];C[ie]=((ue<<25|ue>>>7)^(ue<<14|ue>>>18)^ue>>>3)+C[ie-7]+((ne<<15|ne>>>17)^(ne<<13|ne>>>19)^ne>>>10)+C[ie-16]}var me=O&E^O&R^E&R,a=$+((U<<26|U>>>6)^(U<<21|U>>>11)^(U<<7|U>>>25))+(U&Y^~U&K)+b[ie]+C[ie];$=K,K=Y,Y=U,U=z+a|0,z=R,R=E,E=O,O=a+(((O<<30|O>>>2)^(O<<19|O>>>13)^(O<<10|O>>>22))+me)|0}d[0]=d[0]+O|0,d[1]=d[1]+E|0,d[2]=d[2]+R|0,d[3]=d[3]+z|0,d[4]=d[4]+U|0,d[5]=d[5]+Y|0,d[6]=d[6]+K|0,d[7]=d[7]+$|0};function P(d,S){d.constructor===String&&(d=e.convertString.UTF8.stringToBytes(d));var w=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],O=function(d){for(var S=[],w=0,O=0;w<d.length;w++,O+=8)S[O>>>5]|=d[w]<<24-O%32;return S}(d),E=8*d.length;O[E>>5]|=128<<24-E%32,O[15+(E+64>>9<<4)]=E;for(var R=0;R<O.length;R+=16)h(w,O,R);var z=function(d){for(var S=[],w=0;w<32*d.length;w+=8)S.push(d[w>>>5]>>>24-w%32&255);return S}(w);return S&&S.asBytes?z:S&&S.asString?e.convertString.bytesToString(z):e.bytesToHex(z)}P.x2=function(d,S){return P(P(d,{asBytes:!0}),S)}}(this)},295:(Ue,q,p)=>{Ue.exports=b;var t=p(9069).EventEmitter;function b(){t.call(this)}p(3894)(b,t),b.Readable=p(3154),b.Writable=p(520),b.Duplex=p(1339),b.Transform=p(6025),b.PassThrough=p(6071),b.finished=p(7542),b.pipeline=p(954),b.Stream=b,b.prototype.pipe=function(I,s){var C=this;function h(R){I.writable&&!1===I.write(R)&&C.pause&&C.pause()}function P(){C.readable&&C.resume&&C.resume()}C.on("data",h),I.on("drain",P),!I._isStdio&&(!s||!1!==s.end)&&(C.on("end",S),C.on("close",w));var d=!1;function S(){d||(d=!0,I.end())}function w(){d||(d=!0,"function"==typeof I.destroy&&I.destroy())}function O(R){if(E(),0===t.listenerCount(this,"error"))throw R}function E(){C.removeListener("data",h),I.removeListener("drain",P),C.removeListener("end",S),C.removeListener("close",w),C.removeListener("error",O),I.removeListener("error",O),C.removeListener("end",E),C.removeListener("close",E),I.removeListener("close",E)}return C.on("error",O),I.on("error",O),C.on("end",E),C.on("close",E),I.on("close",E),I.emit("pipe",C),I}},3054:(Ue,q,p)=>{"use strict";var t=p(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 $;switch(this.encoding=function I(K){var $=function b(K){if(!K)return"utf8";for(var $;;)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($)return;K=(""+K).toLowerCase(),$=!0}}(K);if("string"!=typeof $&&(t.isEncoding===e||!e(K)))throw new Error("Unknown encoding: "+K);return $||K}(K),this.encoding){case"utf16le":this.text=O,this.end=E,$=4;break;case"utf8":this.fillLast=d,$=4;break;case"base64":this.text=R,this.end=z,$=3;break;default:return this.write=U,void(this.end=Y)}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe($)}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 $=this.lastTotal-this.lastNeed,ie=function P(K,$,ie){if(128!=(192&$[0]))return K.lastNeed=0,"\ufffd";if(K.lastNeed>1&&$.length>1){if(128!=(192&$[1]))return K.lastNeed=1,"\ufffd";if(K.lastNeed>2&&$.length>2&&128!=(192&$[2]))return K.lastNeed=2,"\ufffd"}}(this,K);return void 0!==ie?ie:this.lastNeed<=K.length?(K.copy(this.lastChar,$,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(K.copy(this.lastChar,$,0,K.length),void(this.lastNeed-=K.length))}function O(K,$){if((K.length-$)%2==0){var ie=K.toString("utf16le",$);if(ie){var ue=ie.charCodeAt(ie.length-1);if(ue>=55296&&ue<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=K[K.length-2],this.lastChar[1]=K[K.length-1],ie.slice(0,-1)}return ie}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=K[K.length-1],K.toString("utf16le",$,K.length-1)}function E(K){var $=K&&K.length?this.write(K):"";return this.lastNeed?$+this.lastChar.toString("utf16le",0,this.lastTotal-this.lastNeed):$}function R(K,$){var ie=(K.length-$)%3;return 0===ie?K.toString("base64",$):(this.lastNeed=3-ie,this.lastTotal=3,1===ie?this.lastChar[0]=K[K.length-1]:(this.lastChar[0]=K[K.length-2],this.lastChar[1]=K[K.length-1]),K.toString("base64",$,K.length-ie))}function z(K){var $=K&&K.length?this.write(K):"";return this.lastNeed?$+this.lastChar.toString("base64",0,3-this.lastNeed):$}function U(K){return K.toString(this.encoding)}function Y(K){return K&&K.length?this.write(K):""}q.s=s,s.prototype.write=function(K){if(0===K.length)return"";var $,ie;if(this.lastNeed){if(void 0===($=this.fillLast(K)))return"";ie=this.lastNeed,this.lastNeed=0}else ie=0;return ie<K.length?$?$+this.text(K,ie):this.text(K,ie):$||""},s.prototype.end=function w(K){var $=K&&K.length?this.write(K):"";return this.lastNeed?$+"\ufffd":$},s.prototype.text=function S(K,$){var ie=function h(K,$,ie){var ue=$.length-1;if(ue<ie)return 0;var he=C($[ue]);return he>=0?(he>0&&(K.lastNeed=he-1),he):--ue<ie||-2===he?0:(he=C($[ue]))>=0?(he>0&&(K.lastNeed=he-2),he):--ue<ie||-2===he?0:(he=C($[ue]))>=0?(he>0&&(2===he?he=0:K.lastNeed=he-3),he):0}(this,K,$);if(!this.lastNeed)return K.toString("utf8",$);this.lastTotal=ie;var ue=K.length-(ie-this.lastNeed);return K.copy(this.lastChar,0,ue),K.toString("utf8",$,ue)},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:(Ue,q,p)=>{var t=p(4606);q.encode=t.encode,q.decode=t.decode},4606:(Ue,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(b){Buffer.isBuffer(b)||(b=new Buffer(b));for(var I=0,s=0,C=0,h=0,P=new Buffer(8*function e(b){var I=Math.floor(b.length/5);return b.length%5==0?I:I+1}(b));I<b.length;){var d=b[I];C>3?(h=(h=d&255>>C)<<(C=(C+5)%8)|(I+1<b.length?b[I+1]:0)>>8-C,I++):(h=d>>8-(C+5)&31,0==(C=(C+5)%8)&&I++),P[s]="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".charCodeAt(h),s++}for(I=s;I<P.length;I++)P[I]=61;return P},q.decode=function(b){var C,I=0,s=0,h=0;Buffer.isBuffer(b)||(b=new Buffer(b));for(var P=new Buffer(Math.ceil(5*b.length/8)),d=0;d<b.length&&61!==b[d];d++){var S=b[d]-48;if(!(S<t.length))throw new Error("Invalid input - it is not base32 encoded string");s=t[S],I<=3?0==(I=(I+5)%8)?(P[h]=C|=s,h++,C=0):C|=255&s<<8-I:(P[h]=C|=255&s>>>(I=(I+5)%8),h++,C=255&s<<8-I)}return P.slice(0,h)}},4364:Ue=>{function p(t){try{if(!global.localStorage)return!1}catch{return!1}var e=global.localStorage[t];return null!=e&&"true"===String(e).toLowerCase()}Ue.exports=function q(t,e){if(p("noDeprecation"))return t;var b=!1;return function I(){if(!b){if(p("throwDeprecation"))throw new Error(e);p("traceDeprecation")?console.trace(e):console.warn(e),b=!0}return t.apply(this,arguments)}}},655:(Ue,q,p)=>{"use strict";function s(y,T,D,m){var B,n=arguments.length,v=n<3?T:null===m?m=Object.getOwnPropertyDescriptor(T,D):m;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)v=Reflect.decorate(y,T,D,m);else for(var V=y.length-1;V>=0;V--)(B=y[V])&&(v=(n<3?B(v):n>3?B(T,D,v):B(T,D))||v);return n>3&&v&&Object.defineProperty(T,D,v),v}function O(y,T,D,m){return new(D||(D=Promise))(function(v,B){function V(tt){try{De(m.next(tt))}catch(je){B(je)}}function X(tt){try{De(m.throw(tt))}catch(je){B(je)}}function De(tt){tt.done?v(tt.value):function n(v){return v instanceof D?v:new D(function(B){B(v)})}(tt.value).then(V,X)}De((m=m.apply(y,T||[])).next())})}function ue(y){return this instanceof ue?(this.v=y,this):new ue(y)}function he(y,T,D){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,m=D.apply(y,T||[]),v=[];return n={},B("next"),B("throw"),B("return"),n[Symbol.asyncIterator]=function(){return this},n;function B(ze){m[ze]&&(n[ze]=function(Le){return new Promise(function(ye,ce){v.push([ze,Le,ye,ce])>1||V(ze,Le)})})}function V(ze,Le){try{!function X(ze){ze.value instanceof ue?Promise.resolve(ze.value.v).then(De,tt):je(v[0][2],ze)}(m[ze](Le))}catch(ye){je(v[0][3],ye)}}function De(ze){V("next",ze)}function tt(ze){V("throw",ze)}function je(ze,Le){ze(Le),v.shift(),v.length&&V(v[0][0],v[0][1])}}function le(y){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var D,T=y[Symbol.asyncIterator];return T?T.call(y):(y=function U(y){var T="function"==typeof Symbol&&Symbol.iterator,D=T&&y[T],m=0;if(D)return D.call(y);if(y&&"number"==typeof y.length)return{next:function(){return y&&m>=y.length&&(y=void 0),{value:y&&y[m++],done:!y}}};throw new TypeError(T?"Object is not iterable.":"Symbol.iterator is not defined.")}(y),D={},m("next"),m("throw"),m("return"),D[Symbol.asyncIterator]=function(){return this},D);function m(v){D[v]=y[v]&&function(B){return new Promise(function(V,X){!function n(v,B,V,X){Promise.resolve(X).then(function(De){v({value:De,done:V})},B)}(V,X,(B=y[v](B)).done,B.value)})}}}p.d(q,{FC:()=>he,KL:()=>le,gn:()=>s,mG:()=>O,qq:()=>ue})},950:()=>{},6601:()=>{},8623:()=>{},7748:()=>{},5568:()=>{},6619:()=>{},7108:()=>{},2361:()=>{},4616:()=>{},7340:(Ue,q,p)=>{"use strict";p.d(q,{F4:()=>S,IO:()=>z,LC:()=>e,SB:()=>d,X$:()=>I,ZE:()=>$,ZN:()=>K,_j:()=>t,eR:()=>w,jt:()=>s,k1:()=>ie,l3:()=>b,oB:()=>P,pV:()=>E,ru:()=>C,vP:()=>h});class t{}class e{}const b="*";function I(ue,he){return{type:7,name:ue,definitions:he,options:{}}}function s(ue,he=null){return{type:4,styles:he,timings:ue}}function C(ue,he=null){return{type:3,steps:ue,options:he}}function h(ue,he=null){return{type:2,steps:ue,options:he}}function P(ue){return{type:6,styles:ue,offset:null}}function d(ue,he,ne){return{type:0,name:ue,styles:he,options:ne}}function S(ue){return{type:5,steps:ue}}function w(ue,he,ne=null){return{type:1,expr:ue,animation:he,options:ne}}function E(ue=null){return{type:9,options:ue}}function z(ue,he,ne=null){return{type:11,selector:ue,animation:he,options:ne}}function Y(ue){Promise.resolve().then(ue)}class K{constructor(he=0,ne=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=he+ne}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(he=>he()),this._onDoneFns=[])}onStart(he){this._originalOnStartFns.push(he),this._onStartFns.push(he)}onDone(he){this._originalOnDoneFns.push(he),this._onDoneFns.push(he)}onDestroy(he){this._onDestroyFns.push(he)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){Y(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(he=>he()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(he=>he()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(he){this._position=this.totalTime?he*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(he){const ne="start"==he?this._onStartFns:this._onDoneFns;ne.forEach(le=>le()),ne.length=0}}class ${constructor(he){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=he;let ne=0,le=0,ee=0;const me=this.players.length;0==me?Y(()=>this._onFinish()):this.players.forEach(A=>{A.onDone(()=>{++ne==me&&this._onFinish()}),A.onDestroy(()=>{++le==me&&this._onDestroy()}),A.onStart(()=>{++ee==me&&this._onStart()})}),this.totalTime=this.players.reduce((A,i)=>Math.max(A,i.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(he=>he()),this._onDoneFns=[])}init(){this.players.forEach(he=>he.init())}onStart(he){this._onStartFns.push(he)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(he=>he()),this._onStartFns=[])}onDone(he){this._onDoneFns.push(he)}onDestroy(he){this._onDestroyFns.push(he)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(he=>he.play())}pause(){this.players.forEach(he=>he.pause())}restart(){this.players.forEach(he=>he.restart())}finish(){this._onFinish(),this.players.forEach(he=>he.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(he=>he.destroy()),this._onDestroyFns.forEach(he=>he()),this._onDestroyFns=[])}reset(){this.players.forEach(he=>he.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(he){const ne=he*this.totalTime;this.players.forEach(le=>{const ee=le.totalTime?Math.min(1,ne/le.totalTime):1;le.setPosition(ee)})}getPosition(){const he=this.players.reduce((ne,le)=>null===ne||le.totalTime>ne.totalTime?le:ne,null);return null!=he?he.getPosition():0}beforeDestroy(){this.players.forEach(he=>{he.beforeDestroy&&he.beforeDestroy()})}triggerCallback(he){const ne="start"==he?this._onStartFns:this._onDoneFns;ne.forEach(le=>le()),ne.length=0}}const ie="!"},4761:(Ue,q,p)=>{"use strict";p.d(q,{$s:()=>i,Em:()=>T,Kd:()=>He,X6:()=>Ge,ic:()=>m,kH:()=>qe,mK:()=>Ke,qV:()=>oe,qm:()=>It,rt:()=>bt,s1:()=>y,tE:()=>Ft,yG:()=>ae});var t=p(6895),e=p(4650),b=p(3353),I=p(7579),s=p(727),C=p(1135),h=p(9646),P=p(9521),d=p(8505),S=p(8372),w=p(9300),O=p(4004),E=p(5698),R=p(5684),z=p(1884),U=p(2722),Y=p(1281),K=p(9643),$=p(2289);function ne(we,J){return(we.getAttribute(J)||"").match(/\S+/g)||[]}const ee="cdk-describedby-message",me="cdk-describedby-host";let A=0,i=(()=>{class we{constructor(be,Ve){this._platform=Ve,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+A++,this._document=be,this._id=(0,e.f3M)(e.AFp)+"-"+A++}describe(be,Ve,ot){if(!this._canBeDescribed(be,Ve))return;const ei=a(Ve,ot);"string"!=typeof Ve?(u(Ve,this._id),this._messageRegistry.set(ei,{messageElement:Ve,referenceCount:0})):this._messageRegistry.has(ei)||this._createMessageElement(Ve,ot),this._isElementDescribedByMessage(be,ei)||this._addMessageReference(be,ei)}removeDescription(be,Ve,ot){if(!Ve||!this._isElementNode(be))return;const ei=a(Ve,ot);if(this._isElementDescribedByMessage(be,ei)&&this._removeMessageReference(be,ei),"string"==typeof Ve){const Bt=this._messageRegistry.get(ei);Bt&&0===Bt.referenceCount&&this._deleteMessageElement(ei)}0===this._messagesContainer?.childNodes.length&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){const be=this._document.querySelectorAll(`[${me}="${this._id}"]`);for(let Ve=0;Ve<be.length;Ve++)this._removeCdkDescribedByReferenceIds(be[Ve]),be[Ve].removeAttribute(me);this._messagesContainer?.remove(),this._messagesContainer=null,this._messageRegistry.clear()}_createMessageElement(be,Ve){const ot=this._document.createElement("div");u(ot,this._id),ot.textContent=be,Ve&&ot.setAttribute("role",Ve),this._createMessagesContainer(),this._messagesContainer.appendChild(ot),this._messageRegistry.set(a(be,Ve),{messageElement:ot,referenceCount:0})}_deleteMessageElement(be){this._messageRegistry.get(be)?.messageElement?.remove(),this._messageRegistry.delete(be)}_createMessagesContainer(){if(this._messagesContainer)return;const be="cdk-describedby-message-container",Ve=this._document.querySelectorAll(`.${be}[platform="server"]`);for(let ei=0;ei<Ve.length;ei++)Ve[ei].remove();const ot=this._document.createElement("div");ot.style.visibility="hidden",ot.classList.add(be),ot.classList.add("cdk-visually-hidden"),this._platform&&!this._platform.isBrowser&&ot.setAttribute("platform","server"),this._document.body.appendChild(ot),this._messagesContainer=ot}_removeCdkDescribedByReferenceIds(be){const Ve=ne(be,"aria-describedby").filter(ot=>0!=ot.indexOf(ee));be.setAttribute("aria-describedby",Ve.join(" "))}_addMessageReference(be,Ve){const ot=this._messageRegistry.get(Ve);(function ue(we,J,be){const Ve=ne(we,J);Ve.some(ot=>ot.trim()==be.trim())||(Ve.push(be.trim()),we.setAttribute(J,Ve.join(" ")))})(be,"aria-describedby",ot.messageElement.id),be.setAttribute(me,this._id),ot.referenceCount++}_removeMessageReference(be,Ve){const ot=this._messageRegistry.get(Ve);ot.referenceCount--,function he(we,J,be){const ot=ne(we,J).filter(ei=>ei!=be.trim());ot.length?we.setAttribute(J,ot.join(" ")):we.removeAttribute(J)}(be,"aria-describedby",ot.messageElement.id),be.removeAttribute(me)}_isElementDescribedByMessage(be,Ve){const ot=ne(be,"aria-describedby"),ei=this._messageRegistry.get(Ve),Bt=ei&&ei.messageElement.id;return!!Bt&&-1!=ot.indexOf(Bt)}_canBeDescribed(be,Ve){if(!this._isElementNode(be))return!1;if(Ve&&"object"==typeof Ve)return!0;const ot=null==Ve?"":`${Ve}`.trim(),ei=be.getAttribute("aria-label");return!(!ot||ei&&ei.trim()===ot)}_isElementNode(be){return be.nodeType===this._document.ELEMENT_NODE}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(t.K0),e.LFG(b.t4))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})();function a(we,J){return"string"==typeof we?`${J||""}/${we}`:we}function u(we,J){we.id||(we.id=`${ee}-${J}-${A++}`)}class l{constructor(J){this._items=J,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new I.x,this._typeaheadSubscription=s.w0.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._pageUpAndDown={enabled:!1,delta:10},this._skipPredicateFn=be=>be.disabled,this._pressedLetters=[],this.tabOut=new I.x,this.change=new I.x,J instanceof e.n_E&&(this._itemChangesSubscription=J.changes.subscribe(be=>{if(this._activeItem){const ot=be.toArray().indexOf(this._activeItem);ot>-1&&ot!==this._activeItemIndex&&(this._activeItemIndex=ot)}}))}skipPredicate(J){return this._skipPredicateFn=J,this}withWrap(J=!0){return this._wrap=J,this}withVerticalOrientation(J=!0){return this._vertical=J,this}withHorizontalOrientation(J){return this._horizontal=J,this}withAllowedModifierKeys(J){return this._allowedModifierKeys=J,this}withTypeAhead(J=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe((0,d.b)(be=>this._pressedLetters.push(be)),(0,S.b)(J),(0,w.h)(()=>this._pressedLetters.length>0),(0,O.U)(()=>this._pressedLetters.join(""))).subscribe(be=>{const Ve=this._getItemsArray();for(let ot=1;ot<Ve.length+1;ot++){const ei=(this._activeItemIndex+ot)%Ve.length,Bt=Ve[ei];if(!this._skipPredicateFn(Bt)&&0===Bt.getLabel().toUpperCase().trim().indexOf(be)){this.setActiveItem(ei);break}}this._pressedLetters=[]}),this}cancelTypeahead(){return this._pressedLetters=[],this}withHomeAndEnd(J=!0){return this._homeAndEnd=J,this}withPageUpDown(J=!0,be=10){return this._pageUpAndDown={enabled:J,delta:be},this}setActiveItem(J){const be=this._activeItem;this.updateActiveItem(J),this._activeItem!==be&&this.change.next(this._activeItemIndex)}onKeydown(J){const be=J.keyCode,ot=["altKey","ctrlKey","metaKey","shiftKey"].every(ei=>!J[ei]||this._allowedModifierKeys.indexOf(ei)>-1);switch(be){case P.Mf:return void this.tabOut.next();case P.JH:if(this._vertical&&ot){this.setNextItemActive();break}return;case P.LH:if(this._vertical&&ot){this.setPreviousItemActive();break}return;case P.SV:if(this._horizontal&&ot){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case P.oh:if(this._horizontal&&ot){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case P.Sd:if(this._homeAndEnd&&ot){this.setFirstItemActive();break}return;case P.uR:if(this._homeAndEnd&&ot){this.setLastItemActive();break}return;case P.Ku:if(this._pageUpAndDown.enabled&&ot){const ei=this._activeItemIndex-this._pageUpAndDown.delta;this._setActiveItemByIndex(ei>0?ei:0,1);break}return;case P.VM:if(this._pageUpAndDown.enabled&&ot){const ei=this._activeItemIndex+this._pageUpAndDown.delta,Bt=this._getItemsArray().length;this._setActiveItemByIndex(ei<Bt?ei:Bt-1,-1);break}return;default:return void((ot||(0,P.Vb)(J,"shiftKey"))&&(J.key&&1===J.key.length?this._letterKeyStream.next(J.key.toLocaleUpperCase()):(be>=P.A&&be<=P.Z||be>=P.xE&&be<=P.aO)&&this._letterKeyStream.next(String.fromCharCode(be))))}this._pressedLetters=[],J.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(J){const be=this._getItemsArray(),Ve="number"==typeof J?J:be.indexOf(J);this._activeItem=be[Ve]??null,this._activeItemIndex=Ve}destroy(){this._typeaheadSubscription.unsubscribe(),this._itemChangesSubscription?.unsubscribe(),this._letterKeyStream.complete(),this.tabOut.complete(),this.change.complete(),this._pressedLetters=[]}_setActiveItemByDelta(J){this._wrap?this._setActiveInWrapMode(J):this._setActiveInDefaultMode(J)}_setActiveInWrapMode(J){const be=this._getItemsArray();for(let Ve=1;Ve<=be.length;Ve++){const ot=(this._activeItemIndex+J*Ve+be.length)%be.length;if(!this._skipPredicateFn(be[ot]))return void this.setActiveItem(ot)}}_setActiveInDefaultMode(J){this._setActiveItemByIndex(this._activeItemIndex+J,J)}_setActiveItemByIndex(J,be){const Ve=this._getItemsArray();if(Ve[J]){for(;this._skipPredicateFn(Ve[J]);)if(!Ve[J+=be])return;this.setActiveItem(J)}}_getItemsArray(){return this._items instanceof e.n_E?this._items.toArray():this._items}}class y extends l{setActiveItem(J){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(J),this.activeItem&&this.activeItem.setActiveStyles()}}class T extends l{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(J){return this._origin=J,this}setActiveItem(J){super.setActiveItem(J),this.activeItem&&this.activeItem.focus(this._origin)}}let m=(()=>{class we{constructor(be){this._platform=be}isDisabled(be){return be.hasAttribute("disabled")}isVisible(be){return function v(we){return!!(we.offsetWidth||we.offsetHeight||"function"==typeof we.getClientRects&&we.getClientRects().length)}(be)&&"visible"===getComputedStyle(be).visibility}isTabbable(be){if(!this._platform.isBrowser)return!1;const Ve=function n(we){try{return we.frameElement}catch{return null}}(function ce(we){return we.ownerDocument&&we.ownerDocument.defaultView||window}(be));if(Ve&&(-1===ze(Ve)||!this.isVisible(Ve)))return!1;let ot=be.nodeName.toLowerCase(),ei=ze(be);return be.hasAttribute("contenteditable")?-1!==ei:!("iframe"===ot||"object"===ot||this._platform.WEBKIT&&this._platform.IOS&&!function Le(we){let J=we.nodeName.toLowerCase(),be="input"===J&&we.type;return"text"===be||"password"===be||"select"===J||"textarea"===J}(be))&&("audio"===ot?!!be.hasAttribute("controls")&&-1!==ei:"video"===ot?-1!==ei&&(null!==ei||this._platform.FIREFOX||be.hasAttribute("controls")):be.tabIndex>=0)}isFocusable(be,Ve){return function ye(we){return!function V(we){return function De(we){return"input"==we.nodeName.toLowerCase()}(we)&&"hidden"==we.type}(we)&&(function B(we){let J=we.nodeName.toLowerCase();return"input"===J||"select"===J||"button"===J||"textarea"===J}(we)||function X(we){return function tt(we){return"a"==we.nodeName.toLowerCase()}(we)&&we.hasAttribute("href")}(we)||we.hasAttribute("contenteditable")||je(we))}(be)&&!this.isDisabled(be)&&(Ve?.ignoreVisibility||this.isVisible(be))}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(b.t4))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})();function je(we){if(!we.hasAttribute("tabindex")||void 0===we.tabIndex)return!1;let J=we.getAttribute("tabindex");return!(!J||isNaN(parseInt(J,10)))}function ze(we){if(!je(we))return null;const J=parseInt(we.getAttribute("tabindex")||"",10);return isNaN(J)?-1:J}class ve{get enabled(){return this._enabled}set enabled(J){this._enabled=J,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(J,this._startAnchor),this._toggleAnchorTabIndex(J,this._endAnchor))}constructor(J,be,Ve,ot,ei=!1){this._element=J,this._checker=be,this._ngZone=Ve,this._document=ot,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,ei||this.attachAnchors()}destroy(){const J=this._startAnchor,be=this._endAnchor;J&&(J.removeEventListener("focus",this.startAnchorListener),J.remove()),be&&(be.removeEventListener("focus",this.endAnchorListener),be.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(J){return new Promise(be=>{this._executeOnStable(()=>be(this.focusInitialElement(J)))})}focusFirstTabbableElementWhenReady(J){return new Promise(be=>{this._executeOnStable(()=>be(this.focusFirstTabbableElement(J)))})}focusLastTabbableElementWhenReady(J){return new Promise(be=>{this._executeOnStable(()=>be(this.focusLastTabbableElement(J)))})}_getRegionBoundary(J){const be=this._element.querySelectorAll(`[cdk-focus-region-${J}], [cdkFocusRegion${J}], [cdk-focus-${J}]`);return"start"==J?be.length?be[0]:this._getFirstTabbableElement(this._element):be.length?be[be.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(J){const be=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(be){if(!this._checker.isFocusable(be)){const Ve=this._getFirstTabbableElement(be);return Ve?.focus(J),!!Ve}return be.focus(J),!0}return this.focusFirstTabbableElement(J)}focusFirstTabbableElement(J){const be=this._getRegionBoundary("start");return be&&be.focus(J),!!be}focusLastTabbableElement(J){const be=this._getRegionBoundary("end");return be&&be.focus(J),!!be}hasAttached(){return this._hasAttached}_getFirstTabbableElement(J){if(this._checker.isFocusable(J)&&this._checker.isTabbable(J))return J;const be=J.children;for(let Ve=0;Ve<be.length;Ve++){const ot=be[Ve].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(be[Ve]):null;if(ot)return ot}return null}_getLastTabbableElement(J){if(this._checker.isFocusable(J)&&this._checker.isTabbable(J))return J;const be=J.children;for(let Ve=be.length-1;Ve>=0;Ve--){const ot=be[Ve].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(be[Ve]):null;if(ot)return ot}return null}_createAnchor(){const J=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,J),J.classList.add("cdk-visually-hidden"),J.classList.add("cdk-focus-trap-anchor"),J.setAttribute("aria-hidden","true"),J}_toggleAnchorTabIndex(J,be){J?be.setAttribute("tabindex","0"):be.removeAttribute("tabindex")}toggleAnchors(J){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(J,this._startAnchor),this._toggleAnchorTabIndex(J,this._endAnchor))}_executeOnStable(J){this._ngZone.isStable?J():this._ngZone.onStable.pipe((0,E.q)(1)).subscribe(J)}}let oe=(()=>{class we{constructor(be,Ve,ot){this._checker=be,this._ngZone=Ve,this._document=ot}create(be,Ve=!1){return new ve(be,this._checker,this._ngZone,this._document,Ve)}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(m),e.LFG(e.R0b),e.LFG(t.K0))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})(),Ke=(()=>{class we{get enabled(){return this.focusTrap.enabled}set enabled(be){this.focusTrap.enabled=(0,Y.Ig)(be)}get autoCapture(){return this._autoCapture}set autoCapture(be){this._autoCapture=(0,Y.Ig)(be)}constructor(be,Ve,ot){this._elementRef=be,this._focusTrapFactory=Ve,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(be){const Ve=be.autoCapture;Ve&&!Ve.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}_captureFocus(){this._previouslyFocusedElement=(0,b.ht)(),this.focusTrap.focusInitialElementWhenReady()}}return we.\u0275fac=function(be){return new(be||we)(e.Y36(e.SBq),e.Y36(oe),e.Y36(t.K0))},we.\u0275dir=e.lG2({type:we,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[e.TTD]}),we})();function Ge(we){return 0===we.buttons||0===we.offsetX&&0===we.offsetY}function ae(we){const J=we.touches&&we.touches[0]||we.changedTouches&&we.changedTouches[0];return!(!J||-1!==J.identifier||null!=J.radiusX&&1!==J.radiusX||null!=J.radiusY&&1!==J.radiusY)}const ge=new e.OlP("cdk-input-modality-detector-options"),pt={ignoreKeys:[P.zL,P.jx,P.b2,P.MW,P.JU]},ut=(0,b.i$)({passive:!0,capture:!0});let At=(()=>{class we{get mostRecentModality(){return this._modality.value}constructor(be,Ve,ot,ei){this._platform=be,this._mostRecentTarget=null,this._modality=new C.X(null),this._lastTouchMs=0,this._onKeydown=Bt=>{this._options?.ignoreKeys?.some(ti=>ti===Bt.keyCode)||(this._modality.next("keyboard"),this._mostRecentTarget=(0,b.sA)(Bt))},this._onMousedown=Bt=>{Date.now()-this._lastTouchMs<650||(this._modality.next(Ge(Bt)?"keyboard":"mouse"),this._mostRecentTarget=(0,b.sA)(Bt))},this._onTouchstart=Bt=>{ae(Bt)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=(0,b.sA)(Bt))},this._options={...pt,...ei},this.modalityDetected=this._modality.pipe((0,R.T)(1)),this.modalityChanged=this.modalityDetected.pipe((0,z.x)()),be.isBrowser&&Ve.runOutsideAngular(()=>{ot.addEventListener("keydown",this._onKeydown,ut),ot.addEventListener("mousedown",this._onMousedown,ut),ot.addEventListener("touchstart",this._onTouchstart,ut)})}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,ut),document.removeEventListener("mousedown",this._onMousedown,ut),document.removeEventListener("touchstart",this._onTouchstart,ut))}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(b.t4),e.LFG(e.R0b),e.LFG(t.K0),e.LFG(ge,8))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})();const _t=new e.OlP("liveAnnouncerElement",{providedIn:"root",factory:function lt(){return null}}),St=new e.OlP("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let ke=0,He=(()=>{class we{constructor(be,Ve,ot,ei){this._ngZone=Ve,this._defaultOptions=ei,this._document=ot,this._liveElement=be||this._createLiveElement()}announce(be,...Ve){const ot=this._defaultOptions;let ei,Bt;return 1===Ve.length&&"number"==typeof Ve[0]?Bt=Ve[0]:[ei,Bt]=Ve,this.clear(),clearTimeout(this._previousTimeout),ei||(ei=ot&&ot.politeness?ot.politeness:"polite"),null==Bt&&ot&&(Bt=ot.duration),this._liveElement.setAttribute("aria-live",ei),this._liveElement.id&&this._exposeAnnouncerToModals(this._liveElement.id),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(ti=>this._currentResolve=ti)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=be,"number"==typeof Bt&&(this._previousTimeout=setTimeout(()=>this.clear(),Bt)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){clearTimeout(this._previousTimeout),this._liveElement?.remove(),this._liveElement=null,this._currentResolve?.(),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const be="cdk-live-announcer-element",Ve=this._document.getElementsByClassName(be),ot=this._document.createElement("div");for(let ei=0;ei<Ve.length;ei++)Ve[ei].remove();return ot.classList.add(be),ot.classList.add("cdk-visually-hidden"),ot.setAttribute("aria-atomic","true"),ot.setAttribute("aria-live","polite"),ot.id="cdk-live-announcer-"+ke++,this._document.body.appendChild(ot),ot}_exposeAnnouncerToModals(be){const Ve=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let ot=0;ot<Ve.length;ot++){const ei=Ve[ot],Bt=ei.getAttribute("aria-owns");Bt?-1===Bt.indexOf(be)&&ei.setAttribute("aria-owns",Bt+" "+be):ei.setAttribute("aria-owns",be)}}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(_t,8),e.LFG(e.R0b),e.LFG(t.K0),e.LFG(St,8))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})();const W=new e.OlP("cdk-focus-monitor-default-options"),Fe=(0,b.i$)({passive:!0,capture:!0});let Ft=(()=>{class we{constructor(be,Ve,ot,ei,Bt){this._ngZone=be,this._platform=Ve,this._inputModalityDetector=ot,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 I.x,this._rootNodeFocusAndBlurListener=ti=>{for(let nt=(0,b.sA)(ti);nt;nt=nt.parentElement)"focus"===ti.type?this._onFocus(ti,nt):this._onBlur(ti,nt)},this._document=ei,this._detectionMode=Bt?.detectionMode||0}monitor(be,Ve=!1){const ot=(0,Y.fI)(be);if(!this._platform.isBrowser||1!==ot.nodeType)return(0,h.of)(null);const ei=(0,b.kV)(ot)||this._getDocument(),Bt=this._elementInfo.get(ot);if(Bt)return Ve&&(Bt.checkChildren=!0),Bt.subject;const ti={checkChildren:Ve,subject:new I.x,rootNode:ei};return this._elementInfo.set(ot,ti),this._registerGlobalListeners(ti),ti.subject}stopMonitoring(be){const Ve=(0,Y.fI)(be),ot=this._elementInfo.get(Ve);ot&&(ot.subject.complete(),this._setClasses(Ve),this._elementInfo.delete(Ve),this._removeGlobalListeners(ot))}focusVia(be,Ve,ot){const ei=(0,Y.fI)(be);ei===this._getDocument().activeElement?this._getClosestElementsInfo(ei).forEach(([ti,mt])=>this._originChanged(ti,Ve,mt)):(this._setOrigin(Ve),"function"==typeof ei.focus&&ei.focus(ot))}ngOnDestroy(){this._elementInfo.forEach((be,Ve)=>this.stopMonitoring(Ve))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(be){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(be)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:be&&this._isLastInteractionFromInputLabel(be)?"mouse":"program"}_shouldBeAttributedToTouch(be){return 1===this._detectionMode||!!be?.contains(this._inputModalityDetector._mostRecentTarget)}_setClasses(be,Ve){be.classList.toggle("cdk-focused",!!Ve),be.classList.toggle("cdk-touch-focused","touch"===Ve),be.classList.toggle("cdk-keyboard-focused","keyboard"===Ve),be.classList.toggle("cdk-mouse-focused","mouse"===Ve),be.classList.toggle("cdk-program-focused","program"===Ve)}_setOrigin(be,Ve=!1){this._ngZone.runOutsideAngular(()=>{this._origin=be,this._originFromTouchInteraction="touch"===be&&Ve,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(be,Ve){const ot=this._elementInfo.get(Ve),ei=(0,b.sA)(be);!ot||!ot.checkChildren&&Ve!==ei||this._originChanged(Ve,this._getFocusOrigin(ei),ot)}_onBlur(be,Ve){const ot=this._elementInfo.get(Ve);!ot||ot.checkChildren&&be.relatedTarget instanceof Node&&Ve.contains(be.relatedTarget)||(this._setClasses(Ve),this._emitOrigin(ot,null))}_emitOrigin(be,Ve){be.subject.observers.length&&this._ngZone.run(()=>be.subject.next(Ve))}_registerGlobalListeners(be){if(!this._platform.isBrowser)return;const Ve=be.rootNode,ot=this._rootNodeFocusListenerCount.get(Ve)||0;ot||this._ngZone.runOutsideAngular(()=>{Ve.addEventListener("focus",this._rootNodeFocusAndBlurListener,Fe),Ve.addEventListener("blur",this._rootNodeFocusAndBlurListener,Fe)}),this._rootNodeFocusListenerCount.set(Ve,ot+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe((0,U.R)(this._stopInputModalityDetector)).subscribe(ei=>{this._setOrigin(ei,!0)}))}_removeGlobalListeners(be){const Ve=be.rootNode;if(this._rootNodeFocusListenerCount.has(Ve)){const ot=this._rootNodeFocusListenerCount.get(Ve);ot>1?this._rootNodeFocusListenerCount.set(Ve,ot-1):(Ve.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Fe),Ve.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Fe),this._rootNodeFocusListenerCount.delete(Ve))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(be,Ve,ot){this._setClasses(be,Ve),this._emitOrigin(ot,Ve),this._lastFocusOrigin=Ve}_getClosestElementsInfo(be){const Ve=[];return this._elementInfo.forEach((ot,ei)=>{(ei===be||ot.checkChildren&&ei.contains(be))&&Ve.push([ei,ot])}),Ve}_isLastInteractionFromInputLabel(be){const{_mostRecentTarget:Ve,mostRecentModality:ot}=this._inputModalityDetector;if("mouse"!==ot||!Ve||Ve===be||"INPUT"!==be.nodeName&&"TEXTAREA"!==be.nodeName||be.disabled)return!1;const ei=be.labels;if(ei)for(let Bt=0;Bt<ei.length;Bt++)if(ei[Bt].contains(Ve))return!0;return!1}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(e.R0b),e.LFG(b.t4),e.LFG(At),e.LFG(t.K0,8),e.LFG(W,8))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})(),qe=(()=>{class we{constructor(be,Ve){this._elementRef=be,this._focusMonitor=Ve,this._focusOrigin=null,this.cdkFocusChange=new e.vpe}get focusOrigin(){return this._focusOrigin}ngAfterViewInit(){const be=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(be,1===be.nodeType&&be.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(Ve=>{this._focusOrigin=Ve,this.cdkFocusChange.emit(Ve)})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return we.\u0275fac=function(be){return new(be||we)(e.Y36(e.SBq),e.Y36(Ft))},we.\u0275dir=e.lG2({type:we,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"},exportAs:["cdkMonitorFocus"]}),we})();const Qe="cdk-high-contrast-black-on-white",Ht="cdk-high-contrast-white-on-black",Et="cdk-high-contrast-active";let It=(()=>{class we{constructor(be,Ve){this._platform=be,this._document=Ve,this._breakpointSubscription=(0,e.f3M)($.Yg).observe("(forced-colors: active)").subscribe(()=>{this._hasCheckedHighContrastMode&&(this._hasCheckedHighContrastMode=!1,this._applyBodyHighContrastModeCssClasses())})}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const be=this._document.createElement("div");be.style.backgroundColor="rgb(1,2,3)",be.style.position="absolute",this._document.body.appendChild(be);const Ve=this._document.defaultView||window,ot=Ve&&Ve.getComputedStyle?Ve.getComputedStyle(be):null,ei=(ot&&ot.backgroundColor||"").replace(/ /g,"");switch(be.remove(),ei){case"rgb(0,0,0)":case"rgb(45,50,54)":case"rgb(32,32,32)":return 2;case"rgb(255,255,255)":case"rgb(255,250,239)":return 1}return 0}ngOnDestroy(){this._breakpointSubscription.unsubscribe()}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const be=this._document.body.classList;be.remove(Et,Qe,Ht),this._hasCheckedHighContrastMode=!0;const Ve=this.getHighContrastMode();1===Ve?be.add(Et,Qe):2===Ve&&be.add(Et,Ht)}}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(b.t4),e.LFG(t.K0))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac,providedIn:"root"}),we})(),bt=(()=>{class we{constructor(be){be._applyBodyHighContrastModeCssClasses()}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(It))},we.\u0275mod=e.oAB({type:we}),we.\u0275inj=e.cJS({imports:[K.Q8]}),we})()},445:(Ue,q,p)=>{"use strict";p.d(q,{Is:()=>h,vT:()=>d});var t=p(4650),e=p(6895);const b=new t.OlP("cdk-dir-doc",{providedIn:"root",factory:function I(){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 S{constructor(O){this.value="ltr",this.change=new t.vpe,O&&(this.value=function C(S){const w=S?.toLowerCase()||"";return"auto"===w&&typeof navigator<"u"&&navigator?.language?s.test(navigator.language)?"rtl":"ltr":"rtl"===w?"rtl":"ltr"}((O.body?O.body.dir:null)||(O.documentElement?O.documentElement.dir:null)||"ltr"))}ngOnDestroy(){this.change.complete()}}return S.\u0275fac=function(O){return new(O||S)(t.LFG(b,8))},S.\u0275prov=t.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})(),d=(()=>{class S{}return S.\u0275fac=function(O){return new(O||S)},S.\u0275mod=t.oAB({type:S}),S.\u0275inj=t.cJS({}),S})()},1281:(Ue,q,p)=>{"use strict";p.d(q,{Eq:()=>s,HM:()=>C,Ig:()=>e,du:()=>P,fI:()=>h,su:()=>b,t6:()=>I});var t=p(4650);function e(d){return null!=d&&"false"!=`${d}`}function b(d,S=0){return I(d)?Number(d):S}function I(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,S=/\s+/){const w=[];if(null!=d){const O=Array.isArray(d)?d:`${d}`.split(S);for(const E of O){const R=`${E}`.trim();R&&w.push(R)}}return w}},5017:(Ue,q,p)=>{"use strict";p.d(q,{A8:()=>w,Ov:()=>d,Z9:()=>s,eX:()=>P,k:()=>O,o2:()=>I,yy:()=>h});var t=p(4033),e=p(7579),b=p(4650);class I{}function s(E){return E&&"function"==typeof E.connect&&!(E instanceof t.c)}class h{applyChanges(R,z,U,Y,K){R.forEachOperation(($,ie,ue)=>{let he,ne;if(null==$.previousIndex){const le=U($,ie,ue);he=z.createEmbeddedView(le.templateRef,le.context,le.index),ne=1}else null==ue?(z.remove(ie),ne=3):(he=z.get(ie),z.move(he,ue),ne=2);K&&K({context:he?.context,operation:ne,record:$})})}detach(){}}class P{constructor(){this.viewCacheSize=20,this._viewCache=[]}applyChanges(R,z,U,Y,K){R.forEachOperation(($,ie,ue)=>{let he,ne;null==$.previousIndex?(he=this._insertView(()=>U($,ie,ue),ue,z,Y($)),ne=he?1:0):null==ue?(this._detachAndCacheView(ie,z),ne=3):(he=this._moveView(ie,ue,z,Y($)),ne=2),K&&K({context:he?.context,operation:ne,record:$})})}detach(){for(const R of this._viewCache)R.destroy();this._viewCache=[]}_insertView(R,z,U,Y){const K=this._insertViewFromCache(z,U);if(K)return void(K.context.$implicit=Y);const $=R();return U.createEmbeddedView($.templateRef,$.context,$.index)}_detachAndCacheView(R,z){const U=z.detach(R);this._maybeCacheView(U,z)}_moveView(R,z,U,Y){const K=U.get(R);return U.move(K,z),K.context.$implicit=Y,K}_maybeCacheView(R,z){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(R);else{const U=z.indexOf(R);-1===U?R.destroy():z.remove(U)}}_insertViewFromCache(R,z){const U=this._viewCache.pop();return U&&z.insert(U,R),U||null}}class d{get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}constructor(R=!1,z,U=!0,Y){this._multiple=R,this._emitChanges=U,this.compareWith=Y,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new e.x,z&&z.length&&(R?z.forEach(K=>this._markSelected(K)):this._markSelected(z[0]),this._selectedToEmit.length=0)}select(...R){this._verifyValueAssignment(R),R.forEach(U=>this._markSelected(U));const z=this._hasQueuedChanges();return this._emitChangeEvent(),z}deselect(...R){this._verifyValueAssignment(R),R.forEach(U=>this._unmarkSelected(U));const z=this._hasQueuedChanges();return this._emitChangeEvent(),z}setSelection(...R){this._verifyValueAssignment(R);const z=this.selected,U=new Set(R);R.forEach(K=>this._markSelected(K)),z.filter(K=>!U.has(K)).forEach(K=>this._unmarkSelected(K));const Y=this._hasQueuedChanges();return this._emitChangeEvent(),Y}toggle(R){return this.isSelected(R)?this.deselect(R):this.select(R)}clear(R=!0){this._unmarkAll();const z=this._hasQueuedChanges();return R&&this._emitChangeEvent(),z}isSelected(R){return this._selection.has(this._getConcreteValue(R))}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(R){this._multiple&&this.selected&&this._selected.sort(R)}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(R){R=this._getConcreteValue(R),this.isSelected(R)||(this._multiple||this._unmarkAll(),this.isSelected(R)||this._selection.add(R),this._emitChanges&&this._selectedToEmit.push(R))}_unmarkSelected(R){R=this._getConcreteValue(R),this.isSelected(R)&&(this._selection.delete(R),this._emitChanges&&this._deselectedToEmit.push(R))}_unmarkAll(){this.isEmpty()||this._selection.forEach(R=>this._unmarkSelected(R))}_verifyValueAssignment(R){}_hasQueuedChanges(){return!(!this._deselectedToEmit.length&&!this._selectedToEmit.length)}_getConcreteValue(R){if(this.compareWith){for(let z of this._selection)if(this.compareWith(R,z))return z;return R}return R}}let w=(()=>{class E{constructor(){this._listeners=[]}notify(z,U){for(let Y of this._listeners)Y(z,U)}listen(z){return this._listeners.push(z),()=>{this._listeners=this._listeners.filter(U=>z!==U)}}ngOnDestroy(){this._listeners=[]}}return E.\u0275fac=function(z){return new(z||E)},E.\u0275prov=b.Yz7({token:E,factory:E.\u0275fac,providedIn:"root"}),E})();const O=new b.OlP("_ViewRepeater")},9521:(Ue,q,p)=>{"use strict";p.d(q,{A:()=>V,JH:()=>ie,JU:()=>C,K5:()=>s,Ku:()=>E,LH:()=>K,L_:()=>O,MW:()=>St,Mf:()=>b,SV:()=>$,Sd:()=>U,VM:()=>R,Vb:()=>Oi,Z:()=>lt,ZH:()=>e,aO:()=>D,b2:()=>ii,hY:()=>w,jx:()=>h,oh:()=>Y,uR:()=>z,xE:()=>ee,yY:()=>le,zL:()=>P});const e=8,b=9,s=13,C=16,h=17,P=18,w=27,O=32,E=33,R=34,z=35,U=36,Y=37,K=38,$=39,ie=40,le=46,ee=48,D=57,V=65,lt=90,St=91,ii=224;function Oi(Xi,...Rn){return Rn.length?Rn.some(pa=>Xi[pa]):Xi.altKey||Xi.shiftKey||Xi.ctrlKey||Xi.metaKey}},2289:(Ue,q,p)=>{"use strict";p.d(q,{Yg:()=>ie,u3:()=>he,xu:()=>R});var t=p(4650),e=p(1281),b=p(7579),I=p(9841),s=p(7272),C=p(9751),h=p(5698),P=p(5684),d=p(8372),S=p(4004),w=p(8675),O=p(2722),E=p(3353);let R=(()=>{class ne{}return ne.\u0275fac=function(ee){return new(ee||ne)},ne.\u0275mod=t.oAB({type:ne}),ne.\u0275inj=t.cJS({}),ne})();const z=new Set;let U,Y=(()=>{class ne{constructor(ee){this._platform=ee,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):$}matchMedia(ee){return(this._platform.WEBKIT||this._platform.BLINK)&&function K(ne){if(!z.has(ne))try{U||(U=document.createElement("style"),U.setAttribute("type","text/css"),document.head.appendChild(U)),U.sheet&&(U.sheet.insertRule(`@media ${ne} {body{ }}`,0),z.add(ne))}catch(le){console.error(le)}}(ee),this._matchMedia(ee)}}return ne.\u0275fac=function(ee){return new(ee||ne)(t.LFG(E.t4))},ne.\u0275prov=t.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})();function $(ne){return{matches:"all"===ne||""===ne,media:ne,addListener:()=>{},removeListener:()=>{}}}let ie=(()=>{class ne{constructor(ee,me){this._mediaMatcher=ee,this._zone=me,this._queries=new Map,this._destroySubject=new b.x}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(ee){return ue((0,e.Eq)(ee)).some(A=>this._registerQuery(A).mql.matches)}observe(ee){const A=ue((0,e.Eq)(ee)).map(a=>this._registerQuery(a).observable);let i=(0,I.a)(A);return i=(0,s.z)(i.pipe((0,h.q)(1)),i.pipe((0,P.T)(1),(0,d.b)(0))),i.pipe((0,S.U)(a=>{const u={matches:!1,breakpoints:{}};return a.forEach(({matches:l,query:y})=>{u.matches=u.matches||l,u.breakpoints[y]=l}),u}))}_registerQuery(ee){if(this._queries.has(ee))return this._queries.get(ee);const me=this._mediaMatcher.matchMedia(ee),i={observable:new C.y(a=>{const u=l=>this._zone.run(()=>a.next(l));return me.addListener(u),()=>{me.removeListener(u)}}).pipe((0,w.O)(me),(0,S.U)(({matches:a})=>({query:ee,matches:a})),(0,O.R)(this._destroySubject)),mql:me};return this._queries.set(ee,i),i}}return ne.\u0275fac=function(ee){return new(ee||ne)(t.LFG(Y),t.LFG(t.R0b))},ne.\u0275prov=t.Yz7({token:ne,factory:ne.\u0275fac,providedIn:"root"}),ne})();function ue(ne){return ne.map(le=>le.split(",")).reduce((le,ee)=>le.concat(ee)).map(le=>le.trim())}const he={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:(Ue,q,p)=>{"use strict";p.d(q,{Q8:()=>d,wD:()=>P});var t=p(1281),e=p(4650),b=p(9751),I=p(7579),s=p(8372);let C=(()=>{class S{create(O){return typeof MutationObserver>"u"?null:new MutationObserver(O)}}return S.\u0275fac=function(O){return new(O||S)},S.\u0275prov=e.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})(),h=(()=>{class S{constructor(O){this._mutationObserverFactory=O,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((O,E)=>this._cleanupObserver(E))}observe(O){const E=(0,t.fI)(O);return new b.y(R=>{const U=this._observeElement(E).subscribe(R);return()=>{U.unsubscribe(),this._unobserveElement(E)}})}_observeElement(O){if(this._observedElements.has(O))this._observedElements.get(O).count++;else{const E=new I.x,R=this._mutationObserverFactory.create(z=>E.next(z));R&&R.observe(O,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(O,{observer:R,stream:E,count:1})}return this._observedElements.get(O).stream}_unobserveElement(O){this._observedElements.has(O)&&(this._observedElements.get(O).count--,this._observedElements.get(O).count||this._cleanupObserver(O))}_cleanupObserver(O){if(this._observedElements.has(O)){const{observer:E,stream:R}=this._observedElements.get(O);E&&E.disconnect(),R.complete(),this._observedElements.delete(O)}}}return S.\u0275fac=function(O){return new(O||S)(e.LFG(C))},S.\u0275prov=e.Yz7({token:S,factory:S.\u0275fac,providedIn:"root"}),S})(),P=(()=>{class S{get disabled(){return this._disabled}set disabled(O){this._disabled=(0,t.Ig)(O),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(O){this._debounce=(0,t.su)(O),this._subscribe()}constructor(O,E,R){this._contentObserver=O,this._elementRef=E,this._ngZone=R,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 O=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?O.pipe((0,s.b)(this.debounce)):O).subscribe(this.event)})}_unsubscribe(){this._currentSubscription?.unsubscribe()}}return S.\u0275fac=function(O){return new(O||S)(e.Y36(h),e.Y36(e.SBq),e.Y36(e.R0b))},S.\u0275dir=e.lG2({type:S,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),S})(),d=(()=>{class S{}return S.\u0275fac=function(O){return new(O||S)},S.\u0275mod=e.oAB({type:S}),S.\u0275inj=e.cJS({providers:[C]}),S})()},8184:(Ue,q,p)=>{"use strict";p.d(q,{Iu:()=>D,U8:()=>te,X_:()=>le,Xj:()=>T,_G:()=>v,aV:()=>ce,pI:()=>Ae,xu:()=>Ke});var t=p(531),e=p(6895),b=p(4650),I=p(1281),s=p(3353),C=p(445),h=p(4080),P=p(7579),d=p(727),S=p(6451),w=p(5698),O=p(2722),E=p(2529),R=p(9521);const z=(0,s.Mq)();class U{constructor(ae,ge){this._viewportRuler=ae,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=ge}attach(){}enable(){if(this._canBeEnabled()){const ae=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=ae.style.left||"",this._previousHTMLStyles.top=ae.style.top||"",ae.style.left=(0,I.HM)(-this._previousScrollPosition.left),ae.style.top=(0,I.HM)(-this._previousScrollPosition.top),ae.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const ae=this._document.documentElement,pt=ae.style,$e=this._document.body.style,ut=pt.scrollBehavior||"",At=$e.scrollBehavior||"";this._isEnabled=!1,pt.left=this._previousHTMLStyles.left,pt.top=this._previousHTMLStyles.top,ae.classList.remove("cdk-global-scrollblock"),z&&(pt.scrollBehavior=$e.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),z&&(pt.scrollBehavior=ut,$e.scrollBehavior=At)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const ge=this._document.body,pt=this._viewportRuler.getViewportSize();return ge.scrollHeight>pt.height||ge.scrollWidth>pt.width}}class K{constructor(ae,ge,pt,$e){this._scrollDispatcher=ae,this._ngZone=ge,this._viewportRuler=pt,this._config=$e,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(ae){this._overlayRef=ae}enable(){if(this._scrollSubscription)return;const ae=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=ae.subscribe(()=>{const ge=this._viewportRuler.getViewportScrollPosition().top;Math.abs(ge-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=ae.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class ${enable(){}disable(){}attach(){}}function ie(Ge,ae){return ae.some(ge=>Ge.bottom<ge.top||Ge.top>ge.bottom||Ge.right<ge.left||Ge.left>ge.right)}function ue(Ge,ae){return ae.some(ge=>Ge.top<ge.top||Ge.bottom>ge.bottom||Ge.left<ge.left||Ge.right>ge.right)}class he{constructor(ae,ge,pt,$e){this._scrollDispatcher=ae,this._viewportRuler=ge,this._ngZone=pt,this._config=$e,this._scrollSubscription=null}attach(ae){this._overlayRef=ae}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 ge=this._overlayRef.overlayElement.getBoundingClientRect(),{width:pt,height:$e}=this._viewportRuler.getViewportSize();ie(ge,[{width:pt,height:$e,bottom:$e,right:pt,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 ne=(()=>{class Ge{constructor(ge,pt,$e,ut){this._scrollDispatcher=ge,this._viewportRuler=pt,this._ngZone=$e,this.noop=()=>new $,this.close=At=>new K(this._scrollDispatcher,this._ngZone,this._viewportRuler,At),this.block=()=>new U(this._viewportRuler,this._document),this.reposition=At=>new he(this._scrollDispatcher,this._viewportRuler,this._ngZone,At),this._document=ut}}return Ge.\u0275fac=function(ge){return new(ge||Ge)(b.LFG(t.mF),b.LFG(t.rL),b.LFG(b.R0b),b.LFG(e.K0))},Ge.\u0275prov=b.Yz7({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})();class le{constructor(ae){if(this.scrollStrategy=new $,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,ae){const ge=Object.keys(ae);for(const pt of ge)void 0!==ae[pt]&&(this[pt]=ae[pt])}}}class A{constructor(ae,ge){this.connectionPair=ae,this.scrollableViewProperties=ge}}let u=(()=>{class Ge{constructor(ge){this._attachedOverlays=[],this._document=ge}ngOnDestroy(){this.detach()}add(ge){this.remove(ge),this._attachedOverlays.push(ge)}remove(ge){const pt=this._attachedOverlays.indexOf(ge);pt>-1&&this._attachedOverlays.splice(pt,1),0===this._attachedOverlays.length&&this.detach()}}return Ge.\u0275fac=function(ge){return new(ge||Ge)(b.LFG(e.K0))},Ge.\u0275prov=b.Yz7({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})(),l=(()=>{class Ge extends u{constructor(ge,pt){super(ge),this._ngZone=pt,this._keydownListener=$e=>{const ut=this._attachedOverlays;for(let At=ut.length-1;At>-1;At--)if(ut[At]._keydownEvents.observers.length>0){const _t=ut[At]._keydownEvents;this._ngZone?this._ngZone.run(()=>_t.next($e)):_t.next($e);break}}}add(ge){super.add(ge),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 Ge.\u0275fac=function(ge){return new(ge||Ge)(b.LFG(e.K0),b.LFG(b.R0b,8))},Ge.\u0275prov=b.Yz7({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})(),y=(()=>{class Ge extends u{constructor(ge,pt,$e){super(ge),this._platform=pt,this._ngZone=$e,this._cursorStyleIsSet=!1,this._pointerDownListener=ut=>{this._pointerDownEventTarget=(0,s.sA)(ut)},this._clickListener=ut=>{const At=(0,s.sA)(ut),_t="click"===ut.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:At;this._pointerDownEventTarget=null;const lt=this._attachedOverlays.slice();for(let St=lt.length-1;St>-1;St--){const ke=lt[St];if(ke._outsidePointerEvents.observers.length<1||!ke.hasAttached())continue;if(ke.overlayElement.contains(At)||ke.overlayElement.contains(_t))break;const He=ke._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>He.next(ut)):He.next(ut)}}}add(ge){if(super.add(ge),!this._isAttached){const pt=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(pt)):this._addEventListeners(pt),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=pt.style.cursor,pt.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const ge=this._document.body;ge.removeEventListener("pointerdown",this._pointerDownListener,!0),ge.removeEventListener("click",this._clickListener,!0),ge.removeEventListener("auxclick",this._clickListener,!0),ge.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(ge.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(ge){ge.addEventListener("pointerdown",this._pointerDownListener,!0),ge.addEventListener("click",this._clickListener,!0),ge.addEventListener("auxclick",this._clickListener,!0),ge.addEventListener("contextmenu",this._clickListener,!0)}}return Ge.\u0275fac=function(ge){return new(ge||Ge)(b.LFG(e.K0),b.LFG(s.t4),b.LFG(b.R0b,8))},Ge.\u0275prov=b.Yz7({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})(),T=(()=>{class Ge{constructor(ge,pt){this._platform=pt,this._document=ge}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const ge="cdk-overlay-container";if(this._platform.isBrowser||(0,s.Oy)()){const $e=this._document.querySelectorAll(`.${ge}[platform="server"], .${ge}[platform="test"]`);for(let ut=0;ut<$e.length;ut++)$e[ut].remove()}const pt=this._document.createElement("div");pt.classList.add(ge),(0,s.Oy)()?pt.setAttribute("platform","test"):this._platform.isBrowser||pt.setAttribute("platform","server"),this._document.body.appendChild(pt),this._containerElement=pt}}return Ge.\u0275fac=function(ge){return new(ge||Ge)(b.LFG(e.K0),b.LFG(s.t4))},Ge.\u0275prov=b.Yz7({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})();class D{constructor(ae,ge,pt,$e,ut,At,_t,lt,St,ke=!1){this._portalOutlet=ae,this._host=ge,this._pane=pt,this._config=$e,this._ngZone=ut,this._keyboardDispatcher=At,this._document=_t,this._location=lt,this._outsideClickDispatcher=St,this._animationsDisabled=ke,this._backdropElement=null,this._backdropClick=new P.x,this._attachments=new P.x,this._detachments=new P.x,this._locationChanges=d.w0.EMPTY,this._backdropClickHandler=He=>this._backdropClick.next(He),this._backdropTransitionendHandler=He=>{this._disposeBackdrop(He.target)},this._keydownEvents=new P.x,this._outsidePointerEvents=new P.x,$e.scrollStrategy&&(this._scrollStrategy=$e.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=$e.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(ae){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const ge=this._portalOutlet.attach(ae);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe((0,w.q)(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),"function"==typeof ge?.onDestroy&&ge.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),ge}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const ae=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),ae}dispose(){const ae=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,ae&&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(ae){ae!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=ae,this.hasAttached()&&(ae.attach(this),this.updatePosition()))}updateSize(ae){this._config={...this._config,...ae},this._updateElementSize()}setDirection(ae){this._config={...this._config,direction:ae},this._updateElementDirection()}addPanelClass(ae){this._pane&&this._toggleClasses(this._pane,ae,!0)}removePanelClass(ae){this._pane&&this._toggleClasses(this._pane,ae,!1)}getDirection(){const ae=this._config.direction;return ae?"string"==typeof ae?ae:ae.value:"ltr"}updateScrollStrategy(ae){ae!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=ae,this.hasAttached()&&(ae.attach(this),ae.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const ae=this._pane.style;ae.width=(0,I.HM)(this._config.width),ae.height=(0,I.HM)(this._config.height),ae.minWidth=(0,I.HM)(this._config.minWidth),ae.minHeight=(0,I.HM)(this._config.minHeight),ae.maxWidth=(0,I.HM)(this._config.maxWidth),ae.maxHeight=(0,I.HM)(this._config.maxHeight)}_togglePointerEvents(ae){this._pane.style.pointerEvents=ae?"":"none"}_attachBackdrop(){const ae="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(ae)})}):this._backdropElement.classList.add(ae)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const ae=this._backdropElement;if(ae){if(this._animationsDisabled)return void this._disposeBackdrop(ae);ae.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{ae.addEventListener("transitionend",this._backdropTransitionendHandler)}),ae.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(ae)},500))}}_toggleClasses(ae,ge,pt){const $e=(0,I.Eq)(ge||[]).filter(ut=>!!ut);$e.length&&(pt?ae.classList.add(...$e):ae.classList.remove(...$e))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const ae=this._ngZone.onStable.pipe((0,O.R)((0,S.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()),ae.unsubscribe())})})}_disposeScrollStrategy(){const ae=this._scrollStrategy;ae&&(ae.disable(),ae.detach&&ae.detach())}_disposeBackdrop(ae){ae&&(ae.removeEventListener("click",this._backdropClickHandler),ae.removeEventListener("transitionend",this._backdropTransitionendHandler),ae.remove(),this._backdropElement===ae&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}const m="cdk-overlay-connected-position-bounding-box",n=/([A-Za-z%]+)$/;class v{get positions(){return this._preferredPositions}constructor(ae,ge,pt,$e,ut){this._viewportRuler=ge,this._document=pt,this._platform=$e,this._overlayContainer=ut,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 P.x,this._resizeSubscription=d.w0.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(ae)}attach(ae){this._validatePositions(),ae.hostElement.classList.add(m),this._overlayRef=ae,this._boundingBox=ae.hostElement,this._pane=ae.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 ae=this._originRect,ge=this._overlayRect,pt=this._viewportRect,$e=this._containerRect,ut=[];let At;for(let _t of this._preferredPositions){let lt=this._getOriginPoint(ae,$e,_t),St=this._getOverlayPoint(lt,ge,_t),ke=this._getOverlayFit(St,ge,pt,_t);if(ke.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(_t,lt);this._canFitWithFlexibleDimensions(ke,St,pt)?ut.push({position:_t,origin:lt,overlayRect:ge,boundingBoxRect:this._calculateBoundingBoxRect(lt,_t)}):(!At||At.overlayFit.visibleArea<ke.visibleArea)&&(At={overlayFit:ke,overlayPoint:St,originPoint:lt,position:_t,overlayRect:ge})}if(ut.length){let _t=null,lt=-1;for(const St of ut){const ke=St.boundingBoxRect.width*St.boundingBoxRect.height*(St.position.weight||1);ke>lt&&(lt=ke,_t=St)}return this._isPushed=!1,void this._applyPosition(_t.position,_t.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(At.position,At.originPoint);this._applyPosition(At.position,At.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&B(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(m),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const ae=this._lastPosition;if(ae){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const ge=this._getOriginPoint(this._originRect,this._containerRect,ae);this._applyPosition(ae,ge)}else this.apply()}withScrollableContainers(ae){return this._scrollables=ae,this}withPositions(ae){return this._preferredPositions=ae,-1===ae.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(ae){return this._viewportMargin=ae,this}withFlexibleDimensions(ae=!0){return this._hasFlexibleDimensions=ae,this}withGrowAfterOpen(ae=!0){return this._growAfterOpen=ae,this}withPush(ae=!0){return this._canPush=ae,this}withLockedPosition(ae=!0){return this._positionLocked=ae,this}setOrigin(ae){return this._origin=ae,this}withDefaultOffsetX(ae){return this._offsetX=ae,this}withDefaultOffsetY(ae){return this._offsetY=ae,this}withTransformOriginOn(ae){return this._transformOriginSelector=ae,this}_getOriginPoint(ae,ge,pt){let $e,ut;if("center"==pt.originX)$e=ae.left+ae.width/2;else{const At=this._isRtl()?ae.right:ae.left,_t=this._isRtl()?ae.left:ae.right;$e="start"==pt.originX?At:_t}return ge.left<0&&($e-=ge.left),ut="center"==pt.originY?ae.top+ae.height/2:"top"==pt.originY?ae.top:ae.bottom,ge.top<0&&(ut-=ge.top),{x:$e,y:ut}}_getOverlayPoint(ae,ge,pt){let $e,ut;return $e="center"==pt.overlayX?-ge.width/2:"start"===pt.overlayX?this._isRtl()?-ge.width:0:this._isRtl()?0:-ge.width,ut="center"==pt.overlayY?-ge.height/2:"top"==pt.overlayY?0:-ge.height,{x:ae.x+$e,y:ae.y+ut}}_getOverlayFit(ae,ge,pt,$e){const ut=X(ge);let{x:At,y:_t}=ae,lt=this._getOffset($e,"x"),St=this._getOffset($e,"y");lt&&(At+=lt),St&&(_t+=St);let wt=0-_t,W=_t+ut.height-pt.height,Fe=this._subtractOverflows(ut.width,0-At,At+ut.width-pt.width),Ft=this._subtractOverflows(ut.height,wt,W),qe=Fe*Ft;return{visibleArea:qe,isCompletelyWithinViewport:ut.width*ut.height===qe,fitsInViewportVertically:Ft===ut.height,fitsInViewportHorizontally:Fe==ut.width}}_canFitWithFlexibleDimensions(ae,ge,pt){if(this._hasFlexibleDimensions){const $e=pt.bottom-ge.y,ut=pt.right-ge.x,At=V(this._overlayRef.getConfig().minHeight),_t=V(this._overlayRef.getConfig().minWidth);return(ae.fitsInViewportVertically||null!=At&&At<=$e)&&(ae.fitsInViewportHorizontally||null!=_t&&_t<=ut)}return!1}_pushOverlayOnScreen(ae,ge,pt){if(this._previousPushAmount&&this._positionLocked)return{x:ae.x+this._previousPushAmount.x,y:ae.y+this._previousPushAmount.y};const $e=X(ge),ut=this._viewportRect,At=Math.max(ae.x+$e.width-ut.width,0),_t=Math.max(ae.y+$e.height-ut.height,0),lt=Math.max(ut.top-pt.top-ae.y,0),St=Math.max(ut.left-pt.left-ae.x,0);let ke=0,He=0;return ke=$e.width<=ut.width?St||-At:ae.x<this._viewportMargin?ut.left-pt.left-ae.x:0,He=$e.height<=ut.height?lt||-_t:ae.y<this._viewportMargin?ut.top-pt.top-ae.y:0,this._previousPushAmount={x:ke,y:He},{x:ae.x+ke,y:ae.y+He}}_applyPosition(ae,ge){if(this._setTransformOrigin(ae),this._setOverlayElementStyles(ge,ae),this._setBoundingBoxStyles(ge,ae),ae.panelClass&&this._addPanelClasses(ae.panelClass),this._lastPosition=ae,this._positionChanges.observers.length){const pt=this._getScrollVisibility(),$e=new A(ae,pt);this._positionChanges.next($e)}this._isInitialRender=!1}_setTransformOrigin(ae){if(!this._transformOriginSelector)return;const ge=this._boundingBox.querySelectorAll(this._transformOriginSelector);let pt,$e=ae.overlayY;pt="center"===ae.overlayX?"center":this._isRtl()?"start"===ae.overlayX?"right":"left":"start"===ae.overlayX?"left":"right";for(let ut=0;ut<ge.length;ut++)ge[ut].style.transformOrigin=`${pt} ${$e}`}_calculateBoundingBoxRect(ae,ge){const pt=this._viewportRect,$e=this._isRtl();let ut,At,_t,ke,He,wt;if("top"===ge.overlayY)At=ae.y,ut=pt.height-At+this._viewportMargin;else if("bottom"===ge.overlayY)_t=pt.height-ae.y+2*this._viewportMargin,ut=pt.height-_t+this._viewportMargin;else{const W=Math.min(pt.bottom-ae.y+pt.top,ae.y),Fe=this._lastBoundingBoxSize.height;ut=2*W,At=ae.y-W,ut>Fe&&!this._isInitialRender&&!this._growAfterOpen&&(At=ae.y-Fe/2)}if("end"===ge.overlayX&&!$e||"start"===ge.overlayX&&$e)wt=pt.width-ae.x+this._viewportMargin,ke=ae.x-this._viewportMargin;else if("start"===ge.overlayX&&!$e||"end"===ge.overlayX&&$e)He=ae.x,ke=pt.right-ae.x;else{const W=Math.min(pt.right-ae.x+pt.left,ae.x),Fe=this._lastBoundingBoxSize.width;ke=2*W,He=ae.x-W,ke>Fe&&!this._isInitialRender&&!this._growAfterOpen&&(He=ae.x-Fe/2)}return{top:At,left:He,bottom:_t,right:wt,width:ke,height:ut}}_setBoundingBoxStyles(ae,ge){const pt=this._calculateBoundingBoxRect(ae,ge);!this._isInitialRender&&!this._growAfterOpen&&(pt.height=Math.min(pt.height,this._lastBoundingBoxSize.height),pt.width=Math.min(pt.width,this._lastBoundingBoxSize.width));const $e={};if(this._hasExactPosition())$e.top=$e.left="0",$e.bottom=$e.right=$e.maxHeight=$e.maxWidth="",$e.width=$e.height="100%";else{const ut=this._overlayRef.getConfig().maxHeight,At=this._overlayRef.getConfig().maxWidth;$e.height=(0,I.HM)(pt.height),$e.top=(0,I.HM)(pt.top),$e.bottom=(0,I.HM)(pt.bottom),$e.width=(0,I.HM)(pt.width),$e.left=(0,I.HM)(pt.left),$e.right=(0,I.HM)(pt.right),$e.alignItems="center"===ge.overlayX?"center":"end"===ge.overlayX?"flex-end":"flex-start",$e.justifyContent="center"===ge.overlayY?"center":"bottom"===ge.overlayY?"flex-end":"flex-start",ut&&($e.maxHeight=(0,I.HM)(ut)),At&&($e.maxWidth=(0,I.HM)(At))}this._lastBoundingBoxSize=pt,B(this._boundingBox.style,$e)}_resetBoundingBoxStyles(){B(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){B(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(ae,ge){const pt={},$e=this._hasExactPosition(),ut=this._hasFlexibleDimensions,At=this._overlayRef.getConfig();if($e){const ke=this._viewportRuler.getViewportScrollPosition();B(pt,this._getExactOverlayY(ge,ae,ke)),B(pt,this._getExactOverlayX(ge,ae,ke))}else pt.position="static";let _t="",lt=this._getOffset(ge,"x"),St=this._getOffset(ge,"y");lt&&(_t+=`translateX(${lt}px) `),St&&(_t+=`translateY(${St}px)`),pt.transform=_t.trim(),At.maxHeight&&($e?pt.maxHeight=(0,I.HM)(At.maxHeight):ut&&(pt.maxHeight="")),At.maxWidth&&($e?pt.maxWidth=(0,I.HM)(At.maxWidth):ut&&(pt.maxWidth="")),B(this._pane.style,pt)}_getExactOverlayY(ae,ge,pt){let $e={top:"",bottom:""},ut=this._getOverlayPoint(ge,this._overlayRect,ae);return this._isPushed&&(ut=this._pushOverlayOnScreen(ut,this._overlayRect,pt)),"bottom"===ae.overlayY?$e.bottom=this._document.documentElement.clientHeight-(ut.y+this._overlayRect.height)+"px":$e.top=(0,I.HM)(ut.y),$e}_getExactOverlayX(ae,ge,pt){let At,$e={left:"",right:""},ut=this._getOverlayPoint(ge,this._overlayRect,ae);return this._isPushed&&(ut=this._pushOverlayOnScreen(ut,this._overlayRect,pt)),At=this._isRtl()?"end"===ae.overlayX?"left":"right":"end"===ae.overlayX?"right":"left","right"===At?$e.right=this._document.documentElement.clientWidth-(ut.x+this._overlayRect.width)+"px":$e.left=(0,I.HM)(ut.x),$e}_getScrollVisibility(){const ae=this._getOriginRect(),ge=this._pane.getBoundingClientRect(),pt=this._scrollables.map($e=>$e.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:ue(ae,pt),isOriginOutsideView:ie(ae,pt),isOverlayClipped:ue(ge,pt),isOverlayOutsideView:ie(ge,pt)}}_subtractOverflows(ae,...ge){return ge.reduce((pt,$e)=>pt-Math.max($e,0),ae)}_getNarrowedViewportRect(){const ae=this._document.documentElement.clientWidth,ge=this._document.documentElement.clientHeight,pt=this._viewportRuler.getViewportScrollPosition();return{top:pt.top+this._viewportMargin,left:pt.left+this._viewportMargin,right:pt.left+ae-this._viewportMargin,bottom:pt.top+ge-this._viewportMargin,width:ae-2*this._viewportMargin,height:ge-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(ae,ge){return"x"===ge?null==ae.offsetX?this._offsetX:ae.offsetX:null==ae.offsetY?this._offsetY:ae.offsetY}_validatePositions(){}_addPanelClasses(ae){this._pane&&(0,I.Eq)(ae).forEach(ge=>{""!==ge&&-1===this._appliedPanelClasses.indexOf(ge)&&(this._appliedPanelClasses.push(ge),this._pane.classList.add(ge))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(ae=>{this._pane.classList.remove(ae)}),this._appliedPanelClasses=[])}_getOriginRect(){const ae=this._origin;if(ae instanceof b.SBq)return ae.nativeElement.getBoundingClientRect();if(ae instanceof Element)return ae.getBoundingClientRect();const ge=ae.width||0,pt=ae.height||0;return{top:ae.y,bottom:ae.y+pt,left:ae.x,right:ae.x+ge,height:pt,width:ge}}}function B(Ge,ae){for(let ge in ae)ae.hasOwnProperty(ge)&&(Ge[ge]=ae[ge]);return Ge}function V(Ge){if("number"!=typeof Ge&&null!=Ge){const[ae,ge]=Ge.split(n);return ge&&"px"!==ge?null:parseFloat(ae)}return Ge||null}function X(Ge){return{top:Math.floor(Ge.top),right:Math.floor(Ge.right),bottom:Math.floor(Ge.bottom),left:Math.floor(Ge.left),width:Math.floor(Ge.width),height:Math.floor(Ge.height)}}const je="cdk-global-overlay-wrapper";class ze{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._alignItems="",this._xPosition="",this._xOffset="",this._width="",this._height="",this._isDisposed=!1}attach(ae){const ge=ae.getConfig();this._overlayRef=ae,this._width&&!ge.width&&ae.updateSize({width:this._width}),this._height&&!ge.height&&ae.updateSize({height:this._height}),ae.hostElement.classList.add(je),this._isDisposed=!1}top(ae=""){return this._bottomOffset="",this._topOffset=ae,this._alignItems="flex-start",this}left(ae=""){return this._xOffset=ae,this._xPosition="left",this}bottom(ae=""){return this._topOffset="",this._bottomOffset=ae,this._alignItems="flex-end",this}right(ae=""){return this._xOffset=ae,this._xPosition="right",this}start(ae=""){return this._xOffset=ae,this._xPosition="start",this}end(ae=""){return this._xOffset=ae,this._xPosition="end",this}width(ae=""){return this._overlayRef?this._overlayRef.updateSize({width:ae}):this._width=ae,this}height(ae=""){return this._overlayRef?this._overlayRef.updateSize({height:ae}):this._height=ae,this}centerHorizontally(ae=""){return this.left(ae),this._xPosition="center",this}centerVertically(ae=""){return this.top(ae),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const ae=this._overlayRef.overlayElement.style,ge=this._overlayRef.hostElement.style,pt=this._overlayRef.getConfig(),{width:$e,height:ut,maxWidth:At,maxHeight:_t}=pt,lt=!("100%"!==$e&&"100vw"!==$e||At&&"100%"!==At&&"100vw"!==At),St=!("100%"!==ut&&"100vh"!==ut||_t&&"100%"!==_t&&"100vh"!==_t),ke=this._xPosition,He=this._xOffset,wt="rtl"===this._overlayRef.getConfig().direction;let W="",Fe="",Ft="";lt?Ft="flex-start":"center"===ke?(Ft="center",wt?Fe=He:W=He):wt?"left"===ke||"end"===ke?(Ft="flex-end",W=He):("right"===ke||"start"===ke)&&(Ft="flex-start",Fe=He):"left"===ke||"start"===ke?(Ft="flex-start",W=He):("right"===ke||"end"===ke)&&(Ft="flex-end",Fe=He),ae.position=this._cssPosition,ae.marginLeft=lt?"0":W,ae.marginTop=St?"0":this._topOffset,ae.marginBottom=this._bottomOffset,ae.marginRight=lt?"0":Fe,ge.justifyContent=Ft,ge.alignItems=St?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const ae=this._overlayRef.overlayElement.style,ge=this._overlayRef.hostElement,pt=ge.style;ge.classList.remove(je),pt.justifyContent=pt.alignItems=ae.marginTop=ae.marginBottom=ae.marginLeft=ae.marginRight=ae.position="",this._overlayRef=null,this._isDisposed=!0}}let Le=(()=>{class Ge{constructor(ge,pt,$e,ut){this._viewportRuler=ge,this._document=pt,this._platform=$e,this._overlayContainer=ut}global(){return new ze}flexibleConnectedTo(ge){return new v(ge,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return Ge.\u0275fac=function(ge){return new(ge||Ge)(b.LFG(t.rL),b.LFG(e.K0),b.LFG(s.t4),b.LFG(T))},Ge.\u0275prov=b.Yz7({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})(),ye=0,ce=(()=>{class Ge{constructor(ge,pt,$e,ut,At,_t,lt,St,ke,He,wt,W){this.scrollStrategies=ge,this._overlayContainer=pt,this._componentFactoryResolver=$e,this._positionBuilder=ut,this._keyboardDispatcher=At,this._injector=_t,this._ngZone=lt,this._document=St,this._directionality=ke,this._location=He,this._outsideClickDispatcher=wt,this._animationsModuleType=W}create(ge){const pt=this._createHostElement(),$e=this._createPaneElement(pt),ut=this._createPortalOutlet($e),At=new le(ge);return At.direction=At.direction||this._directionality.value,new D(ut,pt,$e,At,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher,"NoopAnimations"===this._animationsModuleType)}position(){return this._positionBuilder}_createPaneElement(ge){const pt=this._document.createElement("div");return pt.id="cdk-overlay-"+ye++,pt.classList.add("cdk-overlay-pane"),ge.appendChild(pt),pt}_createHostElement(){const ge=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(ge),ge}_createPortalOutlet(ge){return this._appRef||(this._appRef=this._injector.get(b.z2F)),new h.u0(ge,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return Ge.\u0275fac=function(ge){return new(ge||Ge)(b.LFG(ne),b.LFG(T),b.LFG(b._Vd),b.LFG(Le),b.LFG(l),b.LFG(b.zs3),b.LFG(b.R0b),b.LFG(e.K0),b.LFG(C.Is),b.LFG(e.Ye),b.LFG(y),b.LFG(b.QbO,8))},Ge.\u0275prov=b.Yz7({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})();const ve=[{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"}],oe=new b.OlP("cdk-connected-overlay-scroll-strategy");let Ke=(()=>{class Ge{constructor(ge){this.elementRef=ge}}return Ge.\u0275fac=function(ge){return new(ge||Ge)(b.Y36(b.SBq))},Ge.\u0275dir=b.lG2({type:Ge,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"],standalone:!0}),Ge})(),Ae=(()=>{class Ge{get offsetX(){return this._offsetX}set offsetX(ge){this._offsetX=ge,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(ge){this._offsetY=ge,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ge){this._hasBackdrop=(0,I.Ig)(ge)}get lockPosition(){return this._lockPosition}set lockPosition(ge){this._lockPosition=(0,I.Ig)(ge)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(ge){this._flexibleDimensions=(0,I.Ig)(ge)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(ge){this._growAfterOpen=(0,I.Ig)(ge)}get push(){return this._push}set push(ge){this._push=(0,I.Ig)(ge)}constructor(ge,pt,$e,ut,At){this._overlay=ge,this._dir=At,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=d.w0.EMPTY,this._attachSubscription=d.w0.EMPTY,this._detachSubscription=d.w0.EMPTY,this._positionSubscription=d.w0.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new b.vpe,this.positionChange=new b.vpe,this.attach=new b.vpe,this.detach=new b.vpe,this.overlayKeydown=new b.vpe,this.overlayOutsideClick=new b.vpe,this._templatePortal=new h.UE(pt,$e),this._scrollStrategyFactory=ut,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(ge){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),ge.origin&&this.open&&this._position.apply()),ge.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ve);const ge=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=ge.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=ge.detachments().subscribe(()=>this.detach.emit()),ge.keydownEvents().subscribe(pt=>{this.overlayKeydown.next(pt),pt.keyCode===R.hY&&!this.disableClose&&!(0,R.Vb)(pt)&&(pt.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(pt=>{this.overlayOutsideClick.next(pt)})}_buildConfig(){const ge=this._position=this.positionStrategy||this._createPositionStrategy(),pt=new le({direction:this._dir,positionStrategy:ge,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(pt.width=this.width),(this.height||0===this.height)&&(pt.height=this.height),(this.minWidth||0===this.minWidth)&&(pt.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(pt.minHeight=this.minHeight),this.backdropClass&&(pt.backdropClass=this.backdropClass),this.panelClass&&(pt.panelClass=this.panelClass),pt}_updatePositionStrategy(ge){const pt=this.positions.map($e=>({originX:$e.originX,originY:$e.originY,overlayX:$e.overlayX,overlayY:$e.overlayY,offsetX:$e.offsetX||this.offsetX,offsetY:$e.offsetY||this.offsetY,panelClass:$e.panelClass||void 0}));return ge.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(pt).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const ge=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(ge),ge}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof Ke?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(ge=>{this.backdropClick.emit(ge)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe((0,E.o)(()=>this.positionChange.observers.length>0)).subscribe(ge=>{this.positionChange.emit(ge),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return Ge.\u0275fac=function(ge){return new(ge||Ge)(b.Y36(ce),b.Y36(b.Rgc),b.Y36(b.s_b),b.Y36(oe),b.Y36(C.Is,8))},Ge.\u0275dir=b.lG2({type:Ge,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:[b.TTD]}),Ge})();const Ce={provide:oe,deps:[ce],useFactory:function de(Ge){return()=>Ge.scrollStrategies.reposition()}};let te=(()=>{class Ge{}return Ge.\u0275fac=function(ge){return new(ge||Ge)},Ge.\u0275mod=b.oAB({type:Ge}),Ge.\u0275inj=b.cJS({providers:[ce,Ce],imports:[C.vT,h.eL,t.Cl,t.Cl]}),Ge})()},3353:(Ue,q,p)=>{"use strict";p.d(q,{Mq:()=>R,Oy:()=>ue,_i:()=>z,ht:()=>$,i$:()=>w,kV:()=>K,qK:()=>P,sA:()=>ie,t4:()=>I});var t=p(4650),e=p(6895);let b;try{b=typeof Intl<"u"&&Intl.v8BreakIterator}catch{b=!1}let C,I=(()=>{class he{constructor(le){this._platformId=le,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&&!b)&&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 he.\u0275fac=function(le){return new(le||he)(t.LFG(t.Lbi))},he.\u0275prov=t.Yz7({token:he,factory:he.\u0275fac,providedIn:"root"}),he})();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 he=document.createElement("input");return C=new Set(h.filter(ne=>(he.setAttribute("type",ne),he.type===ne))),C}let d,O,E,U;function w(he){return function S(){if(null==d&&typeof window<"u")try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>d=!0}))}finally{d=d||!1}return d}()?he:!!he.capture}function R(){if(null==E){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return E=!1,E;if("scrollBehavior"in document.documentElement.style)E=!0;else{const he=Element.prototype.scrollTo;E=!!he&&!/\{\s*\[native code\]\s*\}/.test(he.toString())}}return E}function z(){if("object"!=typeof document||!document)return 0;if(null==O){const he=document.createElement("div"),ne=he.style;he.dir="rtl",ne.width="1px",ne.overflow="auto",ne.visibility="hidden",ne.pointerEvents="none",ne.position="absolute";const le=document.createElement("div"),ee=le.style;ee.width="2px",ee.height="1px",he.appendChild(le),document.body.appendChild(he),O=0,0===he.scrollLeft&&(he.scrollLeft=1,O=0===he.scrollLeft?1:2),he.remove()}return O}function K(he){if(function Y(){if(null==U){const he=typeof document<"u"?document.head:null;U=!(!he||!he.createShadowRoot&&!he.attachShadow)}return U}()){const ne=he.getRootNode?he.getRootNode():null;if(typeof ShadowRoot<"u"&&ShadowRoot&&ne instanceof ShadowRoot)return ne}return null}function $(){let he=typeof document<"u"&&document?document.activeElement:null;for(;he&&he.shadowRoot;){const ne=he.shadowRoot.activeElement;if(ne===he)break;he=ne}return he}function ie(he){return he.composedPath?he.composedPath()[0]:he.target}function ue(){return typeof __karma__<"u"&&!!__karma__||typeof jasmine<"u"&&!!jasmine||typeof jest<"u"&&!!jest||typeof Mocha<"u"&&!!Mocha}},4080:(Ue,q,p)=>{"use strict";p.d(q,{C5:()=>S,Pl:()=>$,UE:()=>w,eL:()=>ue,en:()=>E,ig:()=>Y,u0:()=>z});var t=p(4650),e=p(6895);class d{attach(le){return this._attachedHost=le,le.attach(this)}detach(){let le=this._attachedHost;null!=le&&(this._attachedHost=null,le.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(le){this._attachedHost=le}}class S extends d{constructor(le,ee,me,A,i){super(),this.component=le,this.viewContainerRef=ee,this.injector=me,this.componentFactoryResolver=A,this.projectableNodes=i}}class w extends d{constructor(le,ee,me,A){super(),this.templateRef=le,this.viewContainerRef=ee,this.context=me,this.injector=A}get origin(){return this.templateRef.elementRef}attach(le,ee=this.context){return this.context=ee,super.attach(le)}detach(){return this.context=void 0,super.detach()}}class O extends d{constructor(le){super(),this.element=le instanceof t.SBq?le.nativeElement:le}}class E{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(le){return le instanceof S?(this._attachedPortal=le,this.attachComponentPortal(le)):le instanceof w?(this._attachedPortal=le,this.attachTemplatePortal(le)):this.attachDomPortal&&le instanceof O?(this._attachedPortal=le,this.attachDomPortal(le)):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(le){this._disposeFn=le}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class z extends E{constructor(le,ee,me,A,i){super(),this.outletElement=le,this._componentFactoryResolver=ee,this._appRef=me,this._defaultInjector=A,this.attachDomPortal=a=>{const u=a.element,l=this._document.createComment("dom-portal");u.parentNode.insertBefore(l,u),this.outletElement.appendChild(u),this._attachedPortal=a,super.setDisposeFn(()=>{l.parentNode&&l.parentNode.replaceChild(u,l)})},this._document=i}attachComponentPortal(le){const me=(le.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(le.component);let A;return le.viewContainerRef?(A=le.viewContainerRef.createComponent(me,le.viewContainerRef.length,le.injector||le.viewContainerRef.injector,le.projectableNodes||void 0),this.setDisposeFn(()=>A.destroy())):(A=me.create(le.injector||this._defaultInjector||t.zs3.NULL),this._appRef.attachView(A.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(A.hostView),A.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(A)),this._attachedPortal=le,A}attachTemplatePortal(le){let ee=le.viewContainerRef,me=ee.createEmbeddedView(le.templateRef,le.context,{injector:le.injector});return me.rootNodes.forEach(A=>this.outletElement.appendChild(A)),me.detectChanges(),this.setDisposeFn(()=>{let A=ee.indexOf(me);-1!==A&&ee.remove(A)}),this._attachedPortal=le,me}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(le){return le.hostView.rootNodes[0]}}let Y=(()=>{class ne extends w{constructor(ee,me){super(ee,me)}}return ne.\u0275fac=function(ee){return new(ee||ne)(t.Y36(t.Rgc),t.Y36(t.s_b))},ne.\u0275dir=t.lG2({type:ne,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[t.qOj]}),ne})(),$=(()=>{class ne extends E{constructor(ee,me,A){super(),this._componentFactoryResolver=ee,this._viewContainerRef=me,this._isInitialized=!1,this.attached=new t.vpe,this.attachDomPortal=i=>{const a=i.element,u=this._document.createComment("dom-portal");i.setAttachedHost(this),a.parentNode.insertBefore(u,a),this._getRootNode().appendChild(a),this._attachedPortal=i,super.setDisposeFn(()=>{u.parentNode&&u.parentNode.replaceChild(a,u)})},this._document=A}get portal(){return this._attachedPortal}set portal(ee){this.hasAttached()&&!ee&&!this._isInitialized||(this.hasAttached()&&super.detach(),ee&&super.attach(ee),this._attachedPortal=ee||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(ee){ee.setAttachedHost(this);const me=null!=ee.viewContainerRef?ee.viewContainerRef:this._viewContainerRef,i=(ee.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(ee.component),a=me.createComponent(i,me.length,ee.injector||me.injector,ee.projectableNodes||void 0);return me!==this._viewContainerRef&&this._getRootNode().appendChild(a.hostView.rootNodes[0]),super.setDisposeFn(()=>a.destroy()),this._attachedPortal=ee,this._attachedRef=a,this.attached.emit(a),a}attachTemplatePortal(ee){ee.setAttachedHost(this);const me=this._viewContainerRef.createEmbeddedView(ee.templateRef,ee.context,{injector:ee.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=ee,this._attachedRef=me,this.attached.emit(me),me}_getRootNode(){const ee=this._viewContainerRef.element.nativeElement;return ee.nodeType===ee.ELEMENT_NODE?ee:ee.parentNode}}return ne.\u0275fac=function(ee){return new(ee||ne)(t.Y36(t._Vd),t.Y36(t.s_b),t.Y36(e.K0))},ne.\u0275dir=t.lG2({type:ne,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[t.qOj]}),ne})(),ue=(()=>{class ne{}return ne.\u0275fac=function(ee){return new(ee||ne)},ne.\u0275mod=t.oAB({type:ne}),ne.\u0275inj=t.cJS({}),ne})()},531:(Ue,q,p)=>{"use strict";p.d(q,{PQ:()=>l,ZD:()=>je,mF:()=>u,Cl:()=>ze,rL:()=>T});var t=p(1281),e=p(4650),b=p(7579),I=p(9646),s=p(9751),C=p(4968),h=p(4408),P=p(727);const d={schedule(Le){let ye=requestAnimationFrame,ce=cancelAnimationFrame;const{delegate:ve}=d;ve&&(ye=ve.requestAnimationFrame,ce=ve.cancelAnimationFrame);const oe=ye(Ke=>{ce=void 0,Le(Ke)});return new P.w0(()=>ce?.(oe))},requestAnimationFrame(...Le){const{delegate:ye}=d;return(ye?.requestAnimationFrame||requestAnimationFrame)(...Le)},cancelAnimationFrame(...Le){const{delegate:ye}=d;return(ye?.cancelAnimationFrame||cancelAnimationFrame)(...Le)},delegate:void 0};var w=p(7565);const E=new class O extends w.v{flush(ye){this._active=!0;const ce=this._scheduled;this._scheduled=void 0;const{actions:ve}=this;let oe;ye=ye||ve.shift();do{if(oe=ye.execute(ye.state,ye.delay))break}while((ye=ve[0])&&ye.id===ce&&ve.shift());if(this._active=!1,oe){for(;(ye=ve[0])&&ye.id===ce&&ve.shift();)ye.unsubscribe();throw oe}}}(class S extends h.o{constructor(ye,ce){super(ye,ce),this.scheduler=ye,this.work=ce}requestAsyncId(ye,ce,ve=0){return null!==ve&&ve>0?super.requestAsyncId(ye,ce,ve):(ye.actions.push(this),ye._scheduled||(ye._scheduled=d.requestAnimationFrame(()=>ye.flush(void 0))))}recycleAsyncId(ye,ce,ve=0){var oe;if(null!=ve?ve>0:this.delay>0)return super.recycleAsyncId(ye,ce,ve);const{actions:Ke}=ye;null!=ce&&(null===(oe=Ke[Ke.length-1])||void 0===oe?void 0:oe.id)!==ce&&(d.cancelAnimationFrame(ce),ye._scheduled=void 0)}});var z=p(3101),U=p(3601),Y=p(9300),K=p(2722),$=p(8675),ie=p(3353),ue=p(6895),he=p(445);const ne=["contentWrapper"],le=["*"],ee=new e.OlP("VIRTUAL_SCROLL_STRATEGY");let u=(()=>{class Le{constructor(ce,ve,oe){this._ngZone=ce,this._platform=ve,this._scrolled=new b.x,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=oe}register(ce){this.scrollContainers.has(ce)||this.scrollContainers.set(ce,ce.elementScrolled().subscribe(()=>this._scrolled.next(ce)))}deregister(ce){const ve=this.scrollContainers.get(ce);ve&&(ve.unsubscribe(),this.scrollContainers.delete(ce))}scrolled(ce=20){return this._platform.isBrowser?new s.y(ve=>{this._globalSubscription||this._addGlobalListener();const oe=ce>0?this._scrolled.pipe((0,U.e)(ce)).subscribe(ve):this._scrolled.subscribe(ve);return this._scrolledCount++,()=>{oe.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):(0,I.of)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((ce,ve)=>this.deregister(ve)),this._scrolled.complete()}ancestorScrolled(ce,ve){const oe=this.getAncestorScrollContainers(ce);return this.scrolled(ve).pipe((0,Y.h)(Ke=>!Ke||oe.indexOf(Ke)>-1))}getAncestorScrollContainers(ce){const ve=[];return this.scrollContainers.forEach((oe,Ke)=>{this._scrollableContainsElement(Ke,ce)&&ve.push(Ke)}),ve}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(ce,ve){let oe=(0,t.fI)(ve),Ke=ce.getElementRef().nativeElement;do{if(oe==Ke)return!0}while(oe=oe.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>{const ce=this._getWindow();return(0,C.R)(ce.document,"scroll").subscribe(()=>this._scrolled.next())})}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return Le.\u0275fac=function(ce){return new(ce||Le)(e.LFG(e.R0b),e.LFG(ie.t4),e.LFG(ue.K0,8))},Le.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})(),l=(()=>{class Le{constructor(ce,ve,oe,Ke){this.elementRef=ce,this.scrollDispatcher=ve,this.ngZone=oe,this.dir=Ke,this._destroyed=new b.x,this._elementScrolled=new s.y(Ae=>this.ngZone.runOutsideAngular(()=>(0,C.R)(this.elementRef.nativeElement,"scroll").pipe((0,K.R)(this._destroyed)).subscribe(Ae)))}ngOnInit(){this.scrollDispatcher.register(this)}ngOnDestroy(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(ce){const ve=this.elementRef.nativeElement,oe=this.dir&&"rtl"==this.dir.value;null==ce.left&&(ce.left=oe?ce.end:ce.start),null==ce.right&&(ce.right=oe?ce.start:ce.end),null!=ce.bottom&&(ce.top=ve.scrollHeight-ve.clientHeight-ce.bottom),oe&&0!=(0,ie._i)()?(null!=ce.left&&(ce.right=ve.scrollWidth-ve.clientWidth-ce.left),2==(0,ie._i)()?ce.left=ce.right:1==(0,ie._i)()&&(ce.left=ce.right?-ce.right:ce.right)):null!=ce.right&&(ce.left=ve.scrollWidth-ve.clientWidth-ce.right),this._applyScrollToOptions(ce)}_applyScrollToOptions(ce){const ve=this.elementRef.nativeElement;(0,ie.Mq)()?ve.scrollTo(ce):(null!=ce.top&&(ve.scrollTop=ce.top),null!=ce.left&&(ve.scrollLeft=ce.left))}measureScrollOffset(ce){const ve="left",Ke=this.elementRef.nativeElement;if("top"==ce)return Ke.scrollTop;if("bottom"==ce)return Ke.scrollHeight-Ke.clientHeight-Ke.scrollTop;const Ae=this.dir&&"rtl"==this.dir.value;return"start"==ce?ce=Ae?"right":ve:"end"==ce&&(ce=Ae?ve:"right"),Ae&&2==(0,ie._i)()?ce==ve?Ke.scrollWidth-Ke.clientWidth-Ke.scrollLeft:Ke.scrollLeft:Ae&&1==(0,ie._i)()?ce==ve?Ke.scrollLeft+Ke.scrollWidth-Ke.clientWidth:-Ke.scrollLeft:ce==ve?Ke.scrollLeft:Ke.scrollWidth-Ke.clientWidth-Ke.scrollLeft}}return Le.\u0275fac=function(ce){return new(ce||Le)(e.Y36(e.SBq),e.Y36(u),e.Y36(e.R0b),e.Y36(he.Is,8))},Le.\u0275dir=e.lG2({type:Le,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]],standalone:!0}),Le})(),T=(()=>{class Le{constructor(ce,ve,oe){this._platform=ce,this._change=new b.x,this._changeListener=Ke=>{this._change.next(Ke)},this._document=oe,ve.runOutsideAngular(()=>{if(ce.isBrowser){const Ke=this._getWindow();Ke.addEventListener("resize",this._changeListener),Ke.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const ce=this._getWindow();ce.removeEventListener("resize",this._changeListener),ce.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const ce={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),ce}getViewportRect(){const ce=this.getViewportScrollPosition(),{width:ve,height:oe}=this.getViewportSize();return{top:ce.top,left:ce.left,bottom:ce.top+oe,right:ce.left+ve,height:oe,width:ve}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const ce=this._document,ve=this._getWindow(),oe=ce.documentElement,Ke=oe.getBoundingClientRect();return{top:-Ke.top||ce.body.scrollTop||ve.scrollY||oe.scrollTop||0,left:-Ke.left||ce.body.scrollLeft||ve.scrollX||oe.scrollLeft||0}}change(ce=20){return ce>0?this._change.pipe((0,U.e)(ce)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const ce=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:ce.innerWidth,height:ce.innerHeight}:{width:0,height:0}}}return Le.\u0275fac=function(ce){return new(ce||Le)(e.LFG(ie.t4),e.LFG(e.R0b),e.LFG(ue.K0,8))},Le.\u0275prov=e.Yz7({token:Le,factory:Le.\u0275fac,providedIn:"root"}),Le})();const D=new e.OlP("VIRTUAL_SCROLLABLE");let m=(()=>{class Le extends l{constructor(ce,ve,oe,Ke){super(ce,ve,oe,Ke)}measureViewportSize(ce){const ve=this.elementRef.nativeElement;return"horizontal"===ce?ve.clientWidth:ve.clientHeight}}return Le.\u0275fac=function(ce){return new(ce||Le)(e.Y36(e.SBq),e.Y36(u),e.Y36(e.R0b),e.Y36(he.Is,8))},Le.\u0275dir=e.lG2({type:Le,features:[e.qOj]}),Le})();const v=typeof requestAnimationFrame<"u"?E:z.E;let B=(()=>{class Le extends m{get orientation(){return this._orientation}set orientation(ce){this._orientation!==ce&&(this._orientation=ce,this._calculateSpacerSize())}get appendOnly(){return this._appendOnly}set appendOnly(ce){this._appendOnly=(0,t.Ig)(ce)}constructor(ce,ve,oe,Ke,Ae,de,Ce,te){super(ce,de,oe,Ae),this.elementRef=ce,this._changeDetectorRef=ve,this._scrollStrategy=Ke,this.scrollable=te,this._platform=(0,e.f3M)(ie.t4),this._detachedSubject=new b.x,this._renderedRangeSubject=new b.x,this._orientation="vertical",this._appendOnly=!1,this.scrolledIndexChange=new s.y(Ze=>this._scrollStrategy.scrolledIndexChange.subscribe(Ge=>Promise.resolve().then(()=>this.ngZone.run(()=>Ze.next(Ge))))),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=Ce.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,$.O)(null),(0,U.e)(0,v)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),super.ngOnDestroy()}attach(ce){this.ngZone.runOutsideAngular(()=>{this._forOf=ce,this._forOf.dataStream.pipe((0,K.R)(this._detachedSubject)).subscribe(ve=>{const oe=ve.length;oe!==this._dataLength&&(this._dataLength=oe,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(ce){return this.getElementRef().nativeElement.getBoundingClientRect()[ce]}setTotalContentSize(ce){this._totalContentSize!==ce&&(this._totalContentSize=ce,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(ce){(function n(Le,ye){return Le.start==ye.start&&Le.end==ye.end})(this._renderedRange,ce)||(this.appendOnly&&(ce={start:0,end:Math.max(this._renderedRange.end,ce.end)}),this._renderedRangeSubject.next(this._renderedRange=ce),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(ce,ve="to-start"){ce=this.appendOnly&&"to-start"===ve?0:ce;const Ke="horizontal"==this.orientation,Ae=Ke?"X":"Y";let Ce=`translate${Ae}(${Number((Ke&&this.dir&&"rtl"==this.dir.value?-1:1)*ce)}px)`;this._renderedContentOffset=ce,"to-end"===ve&&(Ce+=` translate${Ae}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=Ce&&(this._renderedContentTransform=Ce,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(ce,ve="auto"){const oe={behavior:ve};"horizontal"===this.orientation?oe.start=ce:oe.top=ce,this.scrollable.scrollTo(oe)}scrollToIndex(ce,ve="auto"){this._scrollStrategy.scrollToIndex(ce,ve)}measureScrollOffset(ce){let ve;return ve=this.scrollable==this?oe=>super.measureScrollOffset(oe):oe=>this.scrollable.measureScrollOffset(oe),Math.max(0,ve(ce??("horizontal"===this.orientation?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(ce){let ve;const Ae="rtl"==this.dir?.value;ve="start"==ce?Ae?"right":"left":"end"==ce?Ae?"left":"right":ce||("horizontal"===this.orientation?"left":"top");const de=this.scrollable.measureBoundingClientRectWithScrollOffset(ve);return this.elementRef.nativeElement.getBoundingClientRect()[ve]-de}measureRenderedContentSize(){const ce=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?ce.offsetWidth:ce.offsetHeight}measureRangeSize(ce){return this._forOf?this._forOf.measureRangeSize(ce,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(ce){ce&&this._runAfterChangeDetection.push(ce),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 ce=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(const ve of ce)ve()}_calculateSpacerSize(){this._totalContentHeight="horizontal"===this.orientation?"":`${this._totalContentSize}px`,this._totalContentWidth="horizontal"===this.orientation?`${this._totalContentSize}px`:""}}return Le.\u0275fac=function(ce){return new(ce||Le)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(e.R0b),e.Y36(ee,8),e.Y36(he.Is,8),e.Y36(u),e.Y36(T),e.Y36(D,8))},Le.\u0275cmp=e.Xpm({type:Le,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(ce,ve){if(1&ce&&e.Gf(ne,7),2&ce){let oe;e.iGM(oe=e.CRH())&&(ve._contentWrapper=oe.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(ce,ve){2&ce&&e.ekj("cdk-virtual-scroll-orientation-horizontal","horizontal"===ve.orientation)("cdk-virtual-scroll-orientation-vertical","horizontal"!==ve.orientation)},inputs:{orientation:"orientation",appendOnly:"appendOnly"},outputs:{scrolledIndexChange:"scrolledIndexChange"},standalone:!0,features:[e._Bn([{provide:l,useFactory:(ye,ce)=>ye||ce,deps:[[new e.FiY,new e.tBr(D)],Le]}]),e.qOj,e.jDz],ngContentSelectors:le,decls:4,vars:4,consts:[[1,"cdk-virtual-scroll-content-wrapper"],["contentWrapper",""],[1,"cdk-virtual-scroll-spacer"]],template:function(ce,ve){1&ce&&(e.F$t(),e.TgZ(0,"div",0,1),e.Hsn(2),e.qZA(),e._UZ(3,"div",2)),2&ce&&(e.xp6(3),e.Udp("width",ve._totalContentWidth)("height",ve._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}),Le})(),je=(()=>{class Le{}return Le.\u0275fac=function(ce){return new(ce||Le)},Le.\u0275mod=e.oAB({type:Le}),Le.\u0275inj=e.cJS({}),Le})(),ze=(()=>{class Le{}return Le.\u0275fac=function(ce){return new(ce||Le)},Le.\u0275mod=e.oAB({type:Le}),Le.\u0275inj=e.cJS({imports:[he.vT,je,B,he.vT,je]}),Le})()},2138:(Ue,q,p)=>{"use strict";p.d(q,{B8:()=>ie,KL:()=>E,U5:()=>ne,be:()=>$,gx:()=>K,po:()=>he,st:()=>ue,u6:()=>R});var t=p(4761),e=p(445),b=p(1281),I=p(9521),s=p(4650),C=p(3353),h=p(7579),P=p(9646),d=p(8675),S=p(2722);function w(le,ee){1&le&&s.Hsn(0)}const O=["*"];let E=(()=>{class le{constructor(me){this._elementRef=me}focus(){this._elementRef.nativeElement.focus()}}return le.\u0275fac=function(me){return new(me||le)(s.Y36(s.SBq))},le.\u0275dir=s.lG2({type:le,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]}),le})(),R=(()=>{class le{constructor(me){this.template=me}}return le.\u0275fac=function(me){return new(me||le)(s.Y36(s.Rgc))},le.\u0275dir=s.lG2({type:le,selectors:[["","cdkStepLabel",""]]}),le})(),z=0;const K=new s.OlP("STEPPER_GLOBAL_OPTIONS");let $=(()=>{class le{get editable(){return this._editable}set editable(me){this._editable=(0,b.Ig)(me)}get optional(){return this._optional}set optional(me){this._optional=(0,b.Ig)(me)}get completed(){return null==this._completedOverride?this._getDefaultCompleted():this._completedOverride}set completed(me){this._completedOverride=(0,b.Ig)(me)}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return null==this._customError?this._getDefaultError():this._customError}set hasError(me){this._customError=(0,b.Ig)(me)}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(me,A){this._stepper=me,this.interacted=!1,this.interactedStream=new s.vpe,this._editable=!0,this._optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=A||{},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 le.\u0275fac=function(me){return new(me||le)(s.Y36((0,s.Gpc)(()=>ie)),s.Y36(K,8))},le.\u0275cmp=s.Xpm({type:le,selectors:[["cdk-step"]],contentQueries:function(me,A,i){if(1&me&&s.Suo(i,R,5),2&me){let a;s.iGM(a=s.CRH())&&(A.stepLabel=a.first)}},viewQuery:function(me,A){if(1&me&&s.Gf(s.Rgc,7),2&me){let i;s.iGM(i=s.CRH())&&(A.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:O,decls:1,vars:0,template:function(me,A){1&me&&(s.F$t(),s.YNc(0,w,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),le})(),ie=(()=>{class le{get linear(){return this._linear}set linear(me){this._linear=(0,b.Ig)(me)}get selectedIndex(){return this._selectedIndex}set selectedIndex(me){const A=(0,b.su)(me);this.steps&&this._steps?(this._isValidIndex(A),this.selected?._markAsInteracted(),this._selectedIndex!==A&&!this._anyControlsInvalidOrPending(A)&&(A>=this._selectedIndex||this.steps.toArray()[A].editable)&&this._updateSelectedItemIndex(A)):this._selectedIndex=A}get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(me){this.selectedIndex=me&&this.steps?this.steps.toArray().indexOf(me):-1}get orientation(){return this._orientation}set orientation(me){this._orientation=me,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===me)}constructor(me,A,i){this._dir=me,this._changeDetectorRef=A,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=z++}ngAfterContentInit(){this._steps.changes.pipe((0,d.O)(this._steps),(0,S.R)(this._destroyed)).subscribe(me=>{this.steps.reset(me.filter(A=>A._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe((0,d.O)(this._stepHeader),(0,S.R)(this._destroyed)).subscribe(me=>{this._sortedHeaders.reset(me.toArray().sort((A,i)=>A._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,S.R)(this._destroyed)).subscribe(me=>this._keyManager.withHorizontalOrientation(me)),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(me=>me.reset()),this._stateChanged()}_getStepLabelId(me){return`cdk-step-label-${this._groupId}-${me}`}_getStepContentId(me){return`cdk-step-content-${this._groupId}-${me}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(me){const A=me-this._selectedIndex;return A<0?"rtl"===this._layoutDirection()?"next":"previous":A>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getIndicatorType(me,A="number"){const i=this.steps.toArray()[me],a=this._isCurrentStep(me);return i._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(i,a):this._getGuidelineLogic(i,a,A)}_getDefaultIndicatorLogic(me,A){return me._showError()&&me.hasError&&!A?"error":!me.completed||A?"number":me.editable?"edit":"done"}_getGuidelineLogic(me,A,i="number"){return me._showError()&&me.hasError&&!A?"error":me.completed&&!A?"done":me.completed&&A?i:me.editable&&A?"edit":i}_isCurrentStep(me){return this._selectedIndex===me}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(me){const A=this.steps.toArray();this.selectionChange.emit({selectedIndex:me,previouslySelectedIndex:this._selectedIndex,selectedStep:A[me],previouslySelectedStep:A[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(me):this._keyManager.updateActiveItem(me),this._selectedIndex=me,this._stateChanged()}_onKeydown(me){const A=(0,I.Vb)(me),i=me.keyCode,a=this._keyManager;null==a.activeItemIndex||A||i!==I.L_&&i!==I.K5?a.setFocusOrigin("keyboard").onKeydown(me):(this.selectedIndex=a.activeItemIndex,me.preventDefault())}_anyControlsInvalidOrPending(me){return!!(this._linear&&me>=0)&&this.steps.toArray().slice(0,me).some(A=>{const i=A.stepControl;return(i?i.invalid||i.pending||!A.interacted:!A.completed)&&!A.optional&&!A._completedOverride})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const me=this._elementRef.nativeElement,A=(0,C.ht)();return me===A||me.contains(A)}_isValidIndex(me){return me>-1&&(!this.steps||me<this.steps.length)}}return le.\u0275fac=function(me){return new(me||le)(s.Y36(e.Is,8),s.Y36(s.sBO),s.Y36(s.SBq))},le.\u0275dir=s.lG2({type:le,selectors:[["","cdkStepper",""]],contentQueries:function(me,A,i){if(1&me&&(s.Suo(i,$,5),s.Suo(i,E,5)),2&me){let a;s.iGM(a=s.CRH())&&(A._steps=a),s.iGM(a=s.CRH())&&(A._stepHeader=a)}},inputs:{linear:"linear",selectedIndex:"selectedIndex",selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange"},exportAs:["cdkStepper"]}),le})(),ue=(()=>{class le{constructor(me){this._stepper=me,this.type="submit"}}return le.\u0275fac=function(me){return new(me||le)(s.Y36(ie))},le.\u0275dir=s.lG2({type:le,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(me,A){1&me&&s.NdJ("click",function(){return A._stepper.next()}),2&me&&s.Ikx("type",A.type)},inputs:{type:"type"}}),le})(),he=(()=>{class le{constructor(me){this._stepper=me,this.type="button"}}return le.\u0275fac=function(me){return new(me||le)(s.Y36(ie))},le.\u0275dir=s.lG2({type:le,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(me,A){1&me&&s.NdJ("click",function(){return A._stepper.previous()}),2&me&&s.Ikx("type",A.type)},inputs:{type:"type"}}),le})(),ne=(()=>{class le{}return le.\u0275fac=function(me){return new(me||le)},le.\u0275mod=s.oAB({type:le}),le.\u0275inj=s.cJS({imports:[e.vT]}),le})()},7851:(Ue,q,p)=>{"use strict";p.d(q,{HI:()=>z,Hs:()=>ee,Ud:()=>l,VY:()=>R,XJ:()=>u,Xx:()=>i,_0:()=>le,cu:()=>U,nZ:()=>T,rO:()=>K});var t=p(5017),e=p(5191),b=p(7579),I=p(1135),s=p(9646),C=p(5698),h=p(9300),P=p(2722),d=p(4650),S=p(1281),w=p(445);class O{constructor(){this.expansionModel=new t.Ov(!0)}toggle(m){this.expansionModel.toggle(this._trackByValue(m))}expand(m){this.expansionModel.select(this._trackByValue(m))}collapse(m){this.expansionModel.deselect(this._trackByValue(m))}isExpanded(m){return this.expansionModel.isSelected(this._trackByValue(m))}toggleDescendants(m){this.expansionModel.isSelected(this._trackByValue(m))?this.collapseDescendants(m):this.expandDescendants(m)}collapseAll(){this.expansionModel.clear()}expandDescendants(m){let n=[m];n.push(...this.getDescendants(m)),this.expansionModel.select(...n.map(v=>this._trackByValue(v)))}collapseDescendants(m){let n=[m];n.push(...this.getDescendants(m)),this.expansionModel.deselect(...n.map(v=>this._trackByValue(v)))}_trackByValue(m){return this.trackBy?this.trackBy(m):m}}class R extends O{constructor(m,n){super(),this.getChildren=m,this.options=n,this.options&&(this.trackBy=this.options.trackBy)}expandAll(){this.expansionModel.clear();const m=this.dataNodes.reduce((n,v)=>[...n,...this.getDescendants(v),v],[]);this.expansionModel.select(...m.map(n=>this._trackByValue(n)))}getDescendants(m){const n=[];return this._getDescendants(n,m),n.splice(1)}_getDescendants(m,n){m.push(n);const v=this.getChildren(n);Array.isArray(v)?v.forEach(B=>this._getDescendants(m,B)):(0,e.b)(v)&&v.pipe((0,C.q)(1),(0,h.h)(Boolean)).subscribe(B=>{for(const V of B)this._getDescendants(m,V)})}}const z=new d.OlP("CDK_TREE_NODE_OUTLET_NODE");let U=(()=>{class D{constructor(n,v){this.viewContainer=n,this._node=v}}return D.\u0275fac=function(n){return new(n||D)(d.Y36(d.s_b),d.Y36(z,8))},D.\u0275dir=d.lG2({type:D,selectors:[["","cdkTreeNodeOutlet",""]]}),D})();class Y{constructor(m){this.$implicit=m}}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})(),le=(()=>{class D{get dataSource(){return this._dataSource}set dataSource(n){this._dataSource!==n&&this._switchDataSource(n)}constructor(n,v){this._differs=n,this._changeDetectorRef=v,this._onDestroy=new b.x,this._levels=new Map,this.viewChange=new I.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(v=>!v.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(v=>this.renderNodeChanges(v)))}renderNodeChanges(n,v=this._dataDiffer,B=this._nodeOutlet.viewContainer,V){const X=v.diff(n);X&&(X.forEachOperation((De,tt,je)=>{if(null==De.previousIndex)this.insertNode(n[je],je,B,V);else if(null==je)B.remove(tt),this._levels.delete(De.item);else{const ze=B.get(tt);B.move(ze,je)}}),this._changeDetectorRef.detectChanges())}_getNodeDef(n,v){return 1===this._nodeDefs.length?this._nodeDefs.first:this._nodeDefs.find(V=>V.when&&V.when(v,n))||this._defaultNodeDef}insertNode(n,v,B,V){const X=this._getNodeDef(n,v),De=new Y(n);De.level=this.treeControl.getLevel?this.treeControl.getLevel(n):typeof V<"u"&&this._levels.has(V)?this._levels.get(V)+1:0,this._levels.set(n,De.level),(B||this._nodeOutlet.viewContainer).createEmbeddedView(X.template,De,v),ee.mostRecentTreeNode&&(ee.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,v,B){if(1&n&&d.Suo(B,K,5),2&n){let V;d.iGM(V=d.CRH())&&(v._nodeDefs=V)}},viewQuery:function(n,v){if(1&n&&d.Gf(U,7),2&n){let B;d.iGM(B=d.CRH())&&(v._nodeOutlet=B.first)}},hostAttrs:["role","tree",1,"cdk-tree"],inputs:{dataSource:"dataSource",treeControl:"treeControl",trackBy:"trackBy"},exportAs:["cdkTree"],decls:1,vars:0,consts:[["cdkTreeNodeOutlet",""]],template:function(n,v){1&n&&d.GkF(0,0)},dependencies:[U],encapsulation:2}),D})(),ee=(()=>{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,v){this._elementRef=n,this._tree=v,this._destroyed=new b.x,this._dataChanges=new b.x,D.mostRecentTreeNode=this,this.role="treeitem"}ngOnInit(){this._parentNodeAriaLevel=function me(D){let m=D.parentElement;for(;m&&!A(m);)m=m.parentElement;return m?m.classList.contains("cdk-nested-tree-node")?(0,S.su)(m.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(le))},D.\u0275dir=d.lG2({type:D,selectors:[["cdk-tree-node"]],hostAttrs:[1,"cdk-tree-node"],hostVars:1,hostBindings:function(n,v){2&n&&d.uIk("aria-expanded",v.isExpanded)},inputs:{role:"role"},exportAs:["cdkTreeNode"]}),D})();function A(D){const m=D.classList;return!(!m?.contains("cdk-nested-tree-node")&&!m?.contains("cdk-tree"))}let i=(()=>{class D extends ee{constructor(n,v,B){super(n,v),this._differs=B}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy);const n=this._tree.treeControl.getChildren(this.data);Array.isArray(n)?this.updateChildrenNodes(n):(0,e.b)(n)&&n.pipe((0,P.R)(this._destroyed)).subscribe(v=>this.updateChildrenNodes(v)),this.nodeOutlet.changes.pipe((0,P.R)(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(n){const v=this._getNodeOutlet();n&&(this._children=n),v&&this._children?this._tree.renderNodeChanges(this._children,this._dataDiffer,v.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(v=>!v._node||v._node===this)}}return D.\u0275fac=function(n){return new(n||D)(d.Y36(d.SBq),d.Y36(le),d.Y36(d.ZZ4))},D.\u0275dir=d.lG2({type:D,selectors:[["cdk-nested-tree-node"]],contentQueries:function(n,v,B){if(1&n&&d.Suo(B,U,5),2&n){let V;d.iGM(V=d.CRH())&&(v.nodeOutlet=V)}},hostAttrs:[1,"cdk-nested-tree-node"],inputs:{role:"role",disabled:"disabled",tabIndex:"tabIndex"},exportAs:["cdkNestedTreeNode"],features:[d._Bn([{provide:ee,useExisting:D},{provide:z,useExisting:D}]),d.qOj]}),D})();const a=/([A-Za-z%]+)$/;let u=(()=>{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,v,B,V){this._treeNode=n,this._tree=v,this._element=B,this._dir=V,this._destroyed=new b.x,this.indentUnits="px",this._indent=40,this._setPadding(),V&&V.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,v=null==this._level?n:this._level;return"number"==typeof v?`${v*this._indent}${this.indentUnits}`:null}_setPadding(n=!1){const v=this._paddingIndent();if(v!==this._currentPadding||n){const B=this._element.nativeElement,V=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",X="paddingLeft"===V?"paddingRight":"paddingLeft";B.style[V]=v||"",B.style[X]="",this._currentPadding=v}}_setLevelInput(n){this._level=(0,S.su)(n,null),this._setPadding()}_setIndentInput(n){let v=n,B="px";if("string"==typeof n){const V=n.split(a);v=V[0],B=V[1]||B}this.indentUnits=B,this._indent=(0,S.su)(v),this._setPadding()}}return D.\u0275fac=function(n){return new(n||D)(d.Y36(ee),d.Y36(le),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,S.Ig)(n)}constructor(n,v){this._tree=n,this._treeNode=v,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(le),d.Y36(ee))},D.\u0275dir=d.lG2({type:D,selectors:[["","cdkTreeNodeToggle",""]],hostBindings:function(n,v){1&n&&d.NdJ("click",function(V){return v._toggle(V)})},inputs:{recursive:["cdkTreeNodeToggleRecursive","recursive"]}}),D})(),T=(()=>{class D{}return D.\u0275fac=function(n){return new(n||D)},D.\u0275mod=d.oAB({type:D}),D.\u0275inj=d.cJS({}),D})()},6895:(Ue,q,p)=>{"use strict";p.d(q,{Do:()=>$,ED:()=>Hi,EM:()=>gr,HT:()=>I,JF:()=>nr,JJ:()=>Mo,K0:()=>C,Mx:()=>$i,NF:()=>pr,Nd:()=>wo,O5:()=>pa,OU:()=>lo,Ov:()=>Dn,PC:()=>hi,PM:()=>ra,RF:()=>ka,S$:()=>U,Ts:()=>Er,V_:()=>d,Ye:()=>ie,b0:()=>K,bD:()=>Zr,ez:()=>ho,gd:()=>$n,i8:()=>Hn,mk:()=>fe,n9:()=>Di,q:()=>b,rS:()=>zn,sg:()=>Oi,tP:()=>mi,uU:()=>Kn,w_:()=>s});var t=p(4650);let e=null;function b(){return e}function I(Ie){e||(e=Ie)}class s{}const C=new t.OlP("DocumentToken");let h=(()=>{class Ie{historyGo(j){throw new Error("Not implemented")}}return Ie.\u0275fac=function(j){return new(j||Ie)},Ie.\u0275prov=t.Yz7({token:Ie,factory:function(){return function P(){return(0,t.LFG)(S)}()},providedIn:"platform"}),Ie})();const d=new t.OlP("Location Initialized");let S=(()=>{class Ie extends h{constructor(j){super(),this._doc=j,this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return b().getBaseHref(this._doc)}onPopState(j){const Se=b().getGlobalEventTarget(this._doc,"window");return Se.addEventListener("popstate",j,!1),()=>Se.removeEventListener("popstate",j)}onHashChange(j){const Se=b().getGlobalEventTarget(this._doc,"window");return Se.addEventListener("hashchange",j,!1),()=>Se.removeEventListener("hashchange",j)}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(j){this._location.pathname=j}pushState(j,Se,Be){w()?this._history.pushState(j,Se,Be):this._location.hash=Be}replaceState(j,Se,Be){w()?this._history.replaceState(j,Se,Be):this._location.hash=Be}forward(){this._history.forward()}back(){this._history.back()}historyGo(j=0){this._history.go(j)}getState(){return this._history.state}}return Ie.\u0275fac=function(j){return new(j||Ie)(t.LFG(C))},Ie.\u0275prov=t.Yz7({token:Ie,factory:function(){return function O(){return new S((0,t.LFG)(C))}()},providedIn:"platform"}),Ie})();function w(){return!!window.history.pushState}function E(Ie,vt){if(0==Ie.length)return vt;if(0==vt.length)return Ie;let j=0;return Ie.endsWith("/")&&j++,vt.startsWith("/")&&j++,2==j?Ie+vt.substring(1):1==j?Ie+vt:Ie+"/"+vt}function R(Ie){const vt=Ie.match(/#|\?|$/),j=vt&&vt.index||Ie.length;return Ie.slice(0,j-("/"===Ie[j-1]?1:0))+Ie.slice(j)}function z(Ie){return Ie&&"?"!==Ie[0]?"?"+Ie:Ie}let U=(()=>{class Ie{historyGo(j){throw new Error("Not implemented")}}return Ie.\u0275fac=function(j){return new(j||Ie)},Ie.\u0275prov=t.Yz7({token:Ie,factory:function(){return(0,t.f3M)(K)},providedIn:"root"}),Ie})();const Y=new t.OlP("appBaseHref");let K=(()=>{class Ie extends U{constructor(j,Se){super(),this._platformLocation=j,this._removeListenerFns=[],this._baseHref=Se??this._platformLocation.getBaseHrefFromDOM()??(0,t.f3M)(C).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(j){this._removeListenerFns.push(this._platformLocation.onPopState(j),this._platformLocation.onHashChange(j))}getBaseHref(){return this._baseHref}prepareExternalUrl(j){return E(this._baseHref,j)}path(j=!1){const Se=this._platformLocation.pathname+z(this._platformLocation.search),Be=this._platformLocation.hash;return Be&&j?`${Se}${Be}`:Se}pushState(j,Se,Be,Ct){const Re=this.prepareExternalUrl(Be+z(Ct));this._platformLocation.pushState(j,Se,Re)}replaceState(j,Se,Be,Ct){const Re=this.prepareExternalUrl(Be+z(Ct));this._platformLocation.replaceState(j,Se,Re)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(j=0){this._platformLocation.historyGo?.(j)}}return Ie.\u0275fac=function(j){return new(j||Ie)(t.LFG(h),t.LFG(Y,8))},Ie.\u0275prov=t.Yz7({token:Ie,factory:Ie.\u0275fac,providedIn:"root"}),Ie})(),$=(()=>{class Ie extends U{constructor(j,Se){super(),this._platformLocation=j,this._baseHref="",this._removeListenerFns=[],null!=Se&&(this._baseHref=Se)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(j){this._removeListenerFns.push(this._platformLocation.onPopState(j),this._platformLocation.onHashChange(j))}getBaseHref(){return this._baseHref}path(j=!1){let Se=this._platformLocation.hash;return null==Se&&(Se="#"),Se.length>0?Se.substring(1):Se}prepareExternalUrl(j){const Se=E(this._baseHref,j);return Se.length>0?"#"+Se:Se}pushState(j,Se,Be,Ct){let Re=this.prepareExternalUrl(Be+z(Ct));0==Re.length&&(Re=this._platformLocation.pathname),this._platformLocation.pushState(j,Se,Re)}replaceState(j,Se,Be,Ct){let Re=this.prepareExternalUrl(Be+z(Ct));0==Re.length&&(Re=this._platformLocation.pathname),this._platformLocation.replaceState(j,Se,Re)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(j=0){this._platformLocation.historyGo?.(j)}}return Ie.\u0275fac=function(j){return new(j||Ie)(t.LFG(h),t.LFG(Y,8))},Ie.\u0275prov=t.Yz7({token:Ie,factory:Ie.\u0275fac}),Ie})(),ie=(()=>{class Ie{constructor(j){this._subject=new t.vpe,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=j;const Se=this._locationStrategy.getBaseHref();this._basePath=function le(Ie){if(new RegExp("^(https?:)?//").test(Ie)){const[,j]=Ie.split(/\/\/[^\/]+/);return j}return Ie}(R(ne(Se))),this._locationStrategy.onPopState(Be=>{this._subject.emit({url:this.path(!0),pop:!0,state:Be.state,type:Be.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(j=!1){return this.normalize(this._locationStrategy.path(j))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(j,Se=""){return this.path()==this.normalize(j+z(Se))}normalize(j){return Ie.stripTrailingSlash(function he(Ie,vt){return Ie&&new RegExp(`^${Ie}([/;?#]|$)`).test(vt)?vt.substring(Ie.length):vt}(this._basePath,ne(j)))}prepareExternalUrl(j){return j&&"/"!==j[0]&&(j="/"+j),this._locationStrategy.prepareExternalUrl(j)}go(j,Se="",Be=null){this._locationStrategy.pushState(Be,"",j,Se),this._notifyUrlChangeListeners(this.prepareExternalUrl(j+z(Se)),Be)}replaceState(j,Se="",Be=null){this._locationStrategy.replaceState(Be,"",j,Se),this._notifyUrlChangeListeners(this.prepareExternalUrl(j+z(Se)),Be)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(j=0){this._locationStrategy.historyGo?.(j)}onUrlChange(j){return this._urlChangeListeners.push(j),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(Se=>{this._notifyUrlChangeListeners(Se.url,Se.state)})),()=>{const Se=this._urlChangeListeners.indexOf(j);this._urlChangeListeners.splice(Se,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(j="",Se){this._urlChangeListeners.forEach(Be=>Be(j,Se))}subscribe(j,Se,Be){return this._subject.subscribe({next:j,error:Se,complete:Be})}}return Ie.normalizeQueryParams=z,Ie.joinWithSlash=E,Ie.stripTrailingSlash=R,Ie.\u0275fac=function(j){return new(j||Ie)(t.LFG(U))},Ie.\u0275prov=t.Yz7({token:Ie,factory:function(){return function ue(){return new ie((0,t.LFG)(U))}()},providedIn:"root"}),Ie})();function ne(Ie){return Ie.replace(/\/index.html$/,"")}var me=(()=>((me=me||{})[me.Decimal=0]="Decimal",me[me.Percent=1]="Percent",me[me.Currency=2]="Currency",me[me.Scientific=3]="Scientific",me))(),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))(),u=(()=>((u=u||{})[u.Short=0]="Short",u[u.Medium=1]="Medium",u[u.Long=2]="Long",u[u.Full=3]="Full",u))(),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 X(Ie,vt){return te((0,t.cg1)(Ie)[t.wAp.DateFormat],vt)}function De(Ie,vt){return te((0,t.cg1)(Ie)[t.wAp.TimeFormat],vt)}function tt(Ie,vt){return te((0,t.cg1)(Ie)[t.wAp.DateTimeFormat],vt)}function je(Ie,vt){const j=(0,t.cg1)(Ie),Se=j[t.wAp.NumberSymbols][vt];if(typeof Se>"u"){if(vt===l.CurrencyDecimal)return j[t.wAp.NumberSymbols][l.Decimal];if(vt===l.CurrencyGroup)return j[t.wAp.NumberSymbols][l.Group]}return Se}function Ke(Ie){if(!Ie[t.wAp.ExtraData])throw new Error(`Missing extra locale data for the locale "${Ie[t.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function te(Ie,vt){for(let j=vt;j>-1;j--)if(typeof Ie[j]<"u")return Ie[j];throw new Error("Locale data API: locale data undefined")}function Ze(Ie){const[vt,j]=Ie.split(":");return{hours:+vt,minutes:+j}}const pt=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,$e={},ut=/((?:[^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 At=(()=>((At=At||{})[At.Short=0]="Short",At[At.ShortGMT=1]="ShortGMT",At[At.Long=2]="Long",At[At.Extended=3]="Extended",At))(),_t=(()=>((_t=_t||{})[_t.FullYear=0]="FullYear",_t[_t.Month=1]="Month",_t[_t.Date=2]="Date",_t[_t.Hours=3]="Hours",_t[_t.Minutes=4]="Minutes",_t[_t.Seconds=5]="Seconds",_t[_t.FractionalSeconds=6]="FractionalSeconds",_t[_t.Day=7]="Day",_t))(),lt=(()=>((lt=lt||{})[lt.DayPeriods=0]="DayPeriods",lt[lt.Days=1]="Days",lt[lt.Months=2]="Months",lt[lt.Eras=3]="Eras",lt))();function St(Ie,vt,j,Se){let Be=function nt(Ie){if($t(Ie))return Ie;if("number"==typeof Ie&&!isNaN(Ie))return new Date(Ie);if("string"==typeof Ie){if(Ie=Ie.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Ie)){const[Be,Ct=1,Re=1]=Ie.split("-").map(Zt=>+Zt);return ke(Be,Ct-1,Re)}const j=parseFloat(Ie);if(!isNaN(Ie-j))return new Date(j);let Se;if(Se=Ie.match(pt))return function yt(Ie){const vt=new Date(0);let j=0,Se=0;const Be=Ie[8]?vt.setUTCFullYear:vt.setFullYear,Ct=Ie[8]?vt.setUTCHours:vt.setHours;Ie[9]&&(j=Number(Ie[9]+Ie[10]),Se=Number(Ie[9]+Ie[11])),Be.call(vt,Number(Ie[1]),Number(Ie[2])-1,Number(Ie[3]));const Re=Number(Ie[4]||0)-j,Zt=Number(Ie[5]||0)-Se,ri=Number(Ie[6]||0),Jt=Math.floor(1e3*parseFloat("0."+(Ie[7]||0)));return Ct.call(vt,Re,Zt,ri,Jt),vt}(Se)}const vt=new Date(Ie);if(!$t(vt))throw new Error(`Unable to convert "${Ie}" into a date`);return vt}(Ie);vt=He(j,vt)||vt;let Zt,Re=[];for(;vt;){if(Zt=ut.exec(vt),!Zt){Re.push(vt);break}{Re=Re.concat(Zt.slice(1));const pi=Re.pop();if(!pi)break;vt=pi}}let ri=Be.getTimezoneOffset();Se&&(ri=Bt(Se,ri),Be=function mt(Ie,vt,j){const Se=j?-1:1,Be=Ie.getTimezoneOffset();return function ti(Ie,vt){return(Ie=new Date(Ie.getTime())).setMinutes(Ie.getMinutes()+vt),Ie}(Ie,Se*(Bt(vt,Be)-Be))}(Be,Se,!0));let Jt="";return Re.forEach(pi=>{const Ci=function ei(Ie){if(ot[Ie])return ot[Ie];let vt;switch(Ie){case"G":case"GG":case"GGG":vt=Qe(lt.Eras,a.Abbreviated);break;case"GGGG":vt=Qe(lt.Eras,a.Wide);break;case"GGGGG":vt=Qe(lt.Eras,a.Narrow);break;case"y":vt=Ft(_t.FullYear,1,0,!1,!0);break;case"yy":vt=Ft(_t.FullYear,2,0,!0,!0);break;case"yyy":vt=Ft(_t.FullYear,3,0,!1,!0);break;case"yyyy":vt=Ft(_t.FullYear,4,0,!1,!0);break;case"Y":vt=Ve(1);break;case"YY":vt=Ve(2,!0);break;case"YYY":vt=Ve(3);break;case"YYYY":vt=Ve(4);break;case"M":case"L":vt=Ft(_t.Month,1,1);break;case"MM":case"LL":vt=Ft(_t.Month,2,1);break;case"MMM":vt=Qe(lt.Months,a.Abbreviated);break;case"MMMM":vt=Qe(lt.Months,a.Wide);break;case"MMMMM":vt=Qe(lt.Months,a.Narrow);break;case"LLL":vt=Qe(lt.Months,a.Abbreviated,i.Standalone);break;case"LLLL":vt=Qe(lt.Months,a.Wide,i.Standalone);break;case"LLLLL":vt=Qe(lt.Months,a.Narrow,i.Standalone);break;case"w":vt=be(1);break;case"ww":vt=be(2);break;case"W":vt=be(1,!0);break;case"d":vt=Ft(_t.Date,1);break;case"dd":vt=Ft(_t.Date,2);break;case"c":case"cc":vt=Ft(_t.Day,1);break;case"ccc":vt=Qe(lt.Days,a.Abbreviated,i.Standalone);break;case"cccc":vt=Qe(lt.Days,a.Wide,i.Standalone);break;case"ccccc":vt=Qe(lt.Days,a.Narrow,i.Standalone);break;case"cccccc":vt=Qe(lt.Days,a.Short,i.Standalone);break;case"E":case"EE":case"EEE":vt=Qe(lt.Days,a.Abbreviated);break;case"EEEE":vt=Qe(lt.Days,a.Wide);break;case"EEEEE":vt=Qe(lt.Days,a.Narrow);break;case"EEEEEE":vt=Qe(lt.Days,a.Short);break;case"a":case"aa":case"aaa":vt=Qe(lt.DayPeriods,a.Abbreviated);break;case"aaaa":vt=Qe(lt.DayPeriods,a.Wide);break;case"aaaaa":vt=Qe(lt.DayPeriods,a.Narrow);break;case"b":case"bb":case"bbb":vt=Qe(lt.DayPeriods,a.Abbreviated,i.Standalone,!0);break;case"bbbb":vt=Qe(lt.DayPeriods,a.Wide,i.Standalone,!0);break;case"bbbbb":vt=Qe(lt.DayPeriods,a.Narrow,i.Standalone,!0);break;case"B":case"BB":case"BBB":vt=Qe(lt.DayPeriods,a.Abbreviated,i.Format,!0);break;case"BBBB":vt=Qe(lt.DayPeriods,a.Wide,i.Format,!0);break;case"BBBBB":vt=Qe(lt.DayPeriods,a.Narrow,i.Format,!0);break;case"h":vt=Ft(_t.Hours,1,-12);break;case"hh":vt=Ft(_t.Hours,2,-12);break;case"H":vt=Ft(_t.Hours,1);break;case"HH":vt=Ft(_t.Hours,2);break;case"m":vt=Ft(_t.Minutes,1);break;case"mm":vt=Ft(_t.Minutes,2);break;case"s":vt=Ft(_t.Seconds,1);break;case"ss":vt=Ft(_t.Seconds,2);break;case"S":vt=Ft(_t.FractionalSeconds,1);break;case"SS":vt=Ft(_t.FractionalSeconds,2);break;case"SSS":vt=Ft(_t.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":vt=Et(At.Short);break;case"ZZZZZ":vt=Et(At.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":vt=Et(At.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":vt=Et(At.Long);break;default:return null}return ot[Ie]=vt,vt}(pi);Jt+=Ci?Ci(Be,j,ri):"''"===pi?"'":pi.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Jt}function ke(Ie,vt,j){const Se=new Date(0);return Se.setFullYear(Ie,vt,j),Se.setHours(0,0,0),Se}function He(Ie,vt){const j=function T(Ie){return(0,t.cg1)(Ie)[t.wAp.LocaleId]}(Ie);if($e[j]=$e[j]||{},$e[j][vt])return $e[j][vt];let Se="";switch(vt){case"shortDate":Se=X(Ie,u.Short);break;case"mediumDate":Se=X(Ie,u.Medium);break;case"longDate":Se=X(Ie,u.Long);break;case"fullDate":Se=X(Ie,u.Full);break;case"shortTime":Se=De(Ie,u.Short);break;case"mediumTime":Se=De(Ie,u.Medium);break;case"longTime":Se=De(Ie,u.Long);break;case"fullTime":Se=De(Ie,u.Full);break;case"short":const Be=He(Ie,"shortTime"),Ct=He(Ie,"shortDate");Se=wt(tt(Ie,u.Short),[Be,Ct]);break;case"medium":const Re=He(Ie,"mediumTime"),Zt=He(Ie,"mediumDate");Se=wt(tt(Ie,u.Medium),[Re,Zt]);break;case"long":const ri=He(Ie,"longTime"),Jt=He(Ie,"longDate");Se=wt(tt(Ie,u.Long),[ri,Jt]);break;case"full":const pi=He(Ie,"fullTime"),Ci=He(Ie,"fullDate");Se=wt(tt(Ie,u.Full),[pi,Ci])}return Se&&($e[j][vt]=Se),Se}function wt(Ie,vt){return vt&&(Ie=Ie.replace(/\{([^}]+)}/g,function(j,Se){return null!=vt&&Se in vt?vt[Se]:j})),Ie}function W(Ie,vt,j="-",Se,Be){let Ct="";(Ie<0||Be&&Ie<=0)&&(Be?Ie=1-Ie:(Ie=-Ie,Ct=j));let Re=String(Ie);for(;Re.length<vt;)Re="0"+Re;return Se&&(Re=Re.slice(Re.length-vt)),Ct+Re}function Ft(Ie,vt,j=0,Se=!1,Be=!1){return function(Ct,Re){let Zt=function qe(Ie,vt){switch(Ie){case _t.FullYear:return vt.getFullYear();case _t.Month:return vt.getMonth();case _t.Date:return vt.getDate();case _t.Hours:return vt.getHours();case _t.Minutes:return vt.getMinutes();case _t.Seconds:return vt.getSeconds();case _t.FractionalSeconds:return vt.getMilliseconds();case _t.Day:return vt.getDay();default:throw new Error(`Unknown DateType value "${Ie}".`)}}(Ie,Ct);if((j>0||Zt>-j)&&(Zt+=j),Ie===_t.Hours)0===Zt&&-12===j&&(Zt=12);else if(Ie===_t.FractionalSeconds)return function Fe(Ie,vt){return W(Ie,3).substring(0,vt)}(Zt,vt);const ri=je(Re,l.MinusSign);return W(Zt,vt,ri,Se,Be)}}function Qe(Ie,vt,j=i.Format,Se=!1){return function(Be,Ct){return function Ht(Ie,vt,j,Se,Be,Ct){switch(j){case lt.Months:return function n(Ie,vt,j){const Se=(0,t.cg1)(Ie),Ct=te([Se[t.wAp.MonthsFormat],Se[t.wAp.MonthsStandalone]],vt);return te(Ct,j)}(vt,Be,Se)[Ie.getMonth()];case lt.Days:return function m(Ie,vt,j){const Se=(0,t.cg1)(Ie),Ct=te([Se[t.wAp.DaysFormat],Se[t.wAp.DaysStandalone]],vt);return te(Ct,j)}(vt,Be,Se)[Ie.getDay()];case lt.DayPeriods:const Re=Ie.getHours(),Zt=Ie.getMinutes();if(Ct){const Jt=function Ae(Ie){const vt=(0,t.cg1)(Ie);return Ke(vt),(vt[t.wAp.ExtraData][2]||[]).map(Se=>"string"==typeof Se?Ze(Se):[Ze(Se[0]),Ze(Se[1])])}(vt),pi=function de(Ie,vt,j){const Se=(0,t.cg1)(Ie);Ke(Se);const Ct=te([Se[t.wAp.ExtraData][0],Se[t.wAp.ExtraData][1]],vt)||[];return te(Ct,j)||[]}(vt,Be,Se),Ci=Jt.findIndex(Fi=>{if(Array.isArray(Fi)){const[Zi,tn]=Fi,xn=Re>=Zi.hours&&Zt>=Zi.minutes,ta=Re<tn.hours||Re===tn.hours&&Zt<tn.minutes;if(Zi.hours<tn.hours){if(xn&&ta)return!0}else if(xn||ta)return!0}else if(Fi.hours===Re&&Fi.minutes===Zt)return!0;return!1});if(-1!==Ci)return pi[Ci]}return function D(Ie,vt,j){const Se=(0,t.cg1)(Ie),Ct=te([Se[t.wAp.DayPeriodsFormat],Se[t.wAp.DayPeriodsStandalone]],vt);return te(Ct,j)}(vt,Be,Se)[Re<12?0:1];case lt.Eras:return function v(Ie,vt){return te((0,t.cg1)(Ie)[t.wAp.Eras],vt)}(vt,Se)[Ie.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${j}`)}}(Be,Ct,Ie,vt,j,Se)}}function Et(Ie){return function(vt,j,Se){const Be=-1*Se,Ct=je(j,l.MinusSign),Re=Be>0?Math.floor(Be/60):Math.ceil(Be/60);switch(Ie){case At.Short:return(Be>=0?"+":"")+W(Re,2,Ct)+W(Math.abs(Be%60),2,Ct);case At.ShortGMT:return"GMT"+(Be>=0?"+":"")+W(Re,1,Ct);case At.Long:return"GMT"+(Be>=0?"+":"")+W(Re,2,Ct)+":"+W(Math.abs(Be%60),2,Ct);case At.Extended:return 0===Se?"Z":(Be>=0?"+":"")+W(Re,2,Ct)+":"+W(Math.abs(Be%60),2,Ct);default:throw new Error(`Unknown zone width "${Ie}"`)}}}function J(Ie){return ke(Ie.getFullYear(),Ie.getMonth(),Ie.getDate()+(4-Ie.getDay()))}function be(Ie,vt=!1){return function(j,Se){let Be;if(vt){const Ct=new Date(j.getFullYear(),j.getMonth(),1).getDay()-1,Re=j.getDate();Be=1+Math.floor((Re+Ct)/7)}else{const Ct=J(j),Re=function we(Ie){const vt=ke(Ie,0,1).getDay();return ke(Ie,0,1+(vt<=4?4:11)-vt)}(Ct.getFullYear()),Zt=Ct.getTime()-Re.getTime();Be=1+Math.round(Zt/6048e5)}return W(Be,Ie,je(Se,l.MinusSign))}}function Ve(Ie,vt=!1){return function(j,Se){return W(J(j).getFullYear(),Ie,je(Se,l.MinusSign),vt)}}const ot={};function Bt(Ie,vt){Ie=Ie.replace(/:/g,"");const j=Date.parse("Jan 01, 1970 00:00:00 "+Ie)/6e4;return isNaN(j)?vt:j}function $t(Ie){return Ie instanceof Date&&!isNaN(Ie.valueOf())}const Vt=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function li(Ie){const vt=parseInt(Ie);if(isNaN(vt))throw new Error("Invalid integer literal when parsing "+Ie);return vt}function $i(Ie,vt){vt=encodeURIComponent(vt);for(const j of Ie.split(";")){const Se=j.indexOf("="),[Be,Ct]=-1==Se?[j,""]:[j.slice(0,Se),j.slice(Se+1)];if(Be.trim()===vt)return decodeURIComponent(Ct)}return null}const Gt=/\s+/,Kt=[];let fe=(()=>{class Ie{constructor(j,Se,Be,Ct){this._iterableDiffers=j,this._keyValueDiffers=Se,this._ngEl=Be,this._renderer=Ct,this.initialClasses=Kt,this.stateMap=new Map}set klass(j){this.initialClasses=null!=j?j.trim().split(Gt):Kt}set ngClass(j){this.rawClass="string"==typeof j?j.trim().split(Gt):j}ngDoCheck(){for(const Se of this.initialClasses)this._updateState(Se,!0);const j=this.rawClass;if(Array.isArray(j)||j instanceof Set)for(const Se of j)this._updateState(Se,!0);else if(null!=j)for(const Se of Object.keys(j))this._updateState(Se,Boolean(j[Se]));this._applyStateDiff()}_updateState(j,Se){const Be=this.stateMap.get(j);void 0!==Be?(Be.enabled!==Se&&(Be.changed=!0,Be.enabled=Se),Be.touched=!0):this.stateMap.set(j,{enabled:Se,changed:!0,touched:!0})}_applyStateDiff(){for(const j of this.stateMap){const Se=j[0],Be=j[1];Be.changed?(this._toggleClass(Se,Be.enabled),Be.changed=!1):Be.touched||(Be.enabled&&this._toggleClass(Se,!1),this.stateMap.delete(Se)),Be.touched=!1}}_toggleClass(j,Se){(j=j.trim()).length>0&&j.split(Gt).forEach(Be=>{Se?this._renderer.addClass(this._ngEl.nativeElement,Be):this._renderer.removeClass(this._ngEl.nativeElement,Be)})}}return Ie.\u0275fac=function(j){return new(j||Ie)(t.Y36(t.ZZ4),t.Y36(t.aQg),t.Y36(t.SBq),t.Y36(t.Qsj))},Ie.\u0275dir=t.lG2({type:Ie,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0}),Ie})();class ii{constructor(vt,j,Se,Be){this.$implicit=vt,this.ngForOf=j,this.index=Se,this.count=Be}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 Oi=(()=>{class Ie{set ngForOf(j){this._ngForOf=j,this._ngForOfDirty=!0}set ngForTrackBy(j){this._trackByFn=j}get ngForTrackBy(){return this._trackByFn}constructor(j,Se,Be){this._viewContainer=j,this._template=Se,this._differs=Be,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(j){j&&(this._template=j)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const j=this._ngForOf;!this._differ&&j&&(this._differ=this._differs.find(j).create(this.ngForTrackBy))}if(this._differ){const j=this._differ.diff(this._ngForOf);j&&this._applyChanges(j)}}_applyChanges(j){const Se=this._viewContainer;j.forEachOperation((Be,Ct,Re)=>{if(null==Be.previousIndex)Se.createEmbeddedView(this._template,new ii(Be.item,this._ngForOf,-1,-1),null===Re?void 0:Re);else if(null==Re)Se.remove(null===Ct?void 0:Ct);else if(null!==Ct){const Zt=Se.get(Ct);Se.move(Zt,Re),Xi(Zt,Be)}});for(let Be=0,Ct=Se.length;Be<Ct;Be++){const Zt=Se.get(Be).context;Zt.index=Be,Zt.count=Ct,Zt.ngForOf=this._ngForOf}j.forEachIdentityChange(Be=>{Xi(Se.get(Be.currentIndex),Be)})}static ngTemplateContextGuard(j,Se){return!0}}return Ie.\u0275fac=function(j){return new(j||Ie)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(t.ZZ4))},Ie.\u0275dir=t.lG2({type:Ie,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0}),Ie})();function Xi(Ie,vt){Ie.context.$implicit=vt.item}let pa=(()=>{class Ie{constructor(j,Se){this._viewContainer=j,this._context=new hn,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Se}set ngIf(j){this._context.$implicit=this._context.ngIf=j,this._updateView()}set ngIfThen(j){Ua("ngIfThen",j),this._thenTemplateRef=j,this._thenViewRef=null,this._updateView()}set ngIfElse(j){Ua("ngIfElse",j),this._elseTemplateRef=j,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(j,Se){return!0}}return Ie.\u0275fac=function(j){return new(j||Ie)(t.Y36(t.s_b),t.Y36(t.Rgc))},Ie.\u0275dir=t.lG2({type:Ie,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0}),Ie})();class hn{constructor(){this.$implicit=null,this.ngIf=null}}function Ua(Ie,vt){if(vt&&!vt.createEmbeddedView)throw new Error(`${Ie} must be a TemplateRef, but received '${(0,t.AaK)(vt)}'.`)}class ga{constructor(vt,j){this._viewContainerRef=vt,this._templateRef=j,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(vt){vt&&!this._created?this.create():!vt&&this._created&&this.destroy()}}let ka=(()=>{class Ie{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(j){this._ngSwitch=j,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(j){this._defaultViews.push(j)}_matchCase(j){const Se=j==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||Se,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Se}_updateDefaultCases(j){if(this._defaultViews.length>0&&j!==this._defaultUsed){this._defaultUsed=j;for(const Se of this._defaultViews)Se.enforceState(j)}}}return Ie.\u0275fac=function(j){return new(j||Ie)},Ie.\u0275dir=t.lG2({type:Ie,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0}),Ie})(),Di=(()=>{class Ie{constructor(j,Se,Be){this.ngSwitch=Be,Be._addCase(),this._view=new ga(j,Se)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return Ie.\u0275fac=function(j){return new(j||Ie)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(ka,9))},Ie.\u0275dir=t.lG2({type:Ie,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0}),Ie})(),Hi=(()=>{class Ie{constructor(j,Se,Be){Be._addDefault(new ga(j,Se))}}return Ie.\u0275fac=function(j){return new(j||Ie)(t.Y36(t.s_b),t.Y36(t.Rgc),t.Y36(ka,9))},Ie.\u0275dir=t.lG2({type:Ie,selectors:[["","ngSwitchDefault",""]],standalone:!0}),Ie})(),hi=(()=>{class Ie{constructor(j,Se,Be){this._ngEl=j,this._differs=Se,this._renderer=Be,this._ngStyle=null,this._differ=null}set ngStyle(j){this._ngStyle=j,!this._differ&&j&&(this._differ=this._differs.find(j).create())}ngDoCheck(){if(this._differ){const j=this._differ.diff(this._ngStyle);j&&this._applyChanges(j)}}_setStyle(j,Se){const[Be,Ct]=j.split("."),Re=-1===Be.indexOf("-")?void 0:t.JOm.DashCase;null!=Se?this._renderer.setStyle(this._ngEl.nativeElement,Be,Ct?`${Se}${Ct}`:Se,Re):this._renderer.removeStyle(this._ngEl.nativeElement,Be,Re)}_applyChanges(j){j.forEachRemovedItem(Se=>this._setStyle(Se.key,null)),j.forEachAddedItem(Se=>this._setStyle(Se.key,Se.currentValue)),j.forEachChangedItem(Se=>this._setStyle(Se.key,Se.currentValue))}}return Ie.\u0275fac=function(j){return new(j||Ie)(t.Y36(t.SBq),t.Y36(t.aQg),t.Y36(t.Qsj))},Ie.\u0275dir=t.lG2({type:Ie,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0}),Ie})(),mi=(()=>{class Ie{constructor(j){this._viewContainerRef=j,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(j){if(j.ngTemplateOutlet||j.ngTemplateOutletInjector){const Se=this._viewContainerRef;if(this._viewRef&&Se.remove(Se.indexOf(this._viewRef)),this.ngTemplateOutlet){const{ngTemplateOutlet:Be,ngTemplateOutletContext:Ct,ngTemplateOutletInjector:Re}=this;this._viewRef=Se.createEmbeddedView(Be,Ct,Re?{injector:Re}:void 0)}else this._viewRef=null}else this._viewRef&&j.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return Ie.\u0275fac=function(j){return new(j||Ie)(t.Y36(t.s_b))},Ie.\u0275dir=t.lG2({type:Ie,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[t.TTD]}),Ie})();function Vi(Ie,vt){return new t.vHH(2100,!1)}class fn{createSubscription(vt,j){return vt.subscribe({next:j,error:Se=>{throw Se}})}dispose(vt){vt.unsubscribe()}}class Un{createSubscription(vt,j){return vt.then(j,Se=>{throw Se})}dispose(vt){}}const Bn=new Un,_a=new fn;let Dn=(()=>{class Ie{constructor(j){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=j}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(j){return this._obj?j!==this._obj?(this._dispose(),this.transform(j)):this._latestValue:(j&&this._subscribe(j),this._latestValue)}_subscribe(j){this._obj=j,this._strategy=this._selectStrategy(j),this._subscription=this._strategy.createSubscription(j,Se=>this._updateLatestValue(j,Se))}_selectStrategy(j){if((0,t.QGY)(j))return Bn;if((0,t.F4k)(j))return _a;throw Vi()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(j,Se){j===this._obj&&(this._latestValue=Se,this._ref.markForCheck())}}return Ie.\u0275fac=function(j){return new(j||Ie)(t.Y36(t.sBO,16))},Ie.\u0275pipe=t.Yjl({name:"async",type:Ie,pure:!1,standalone:!0}),Ie})(),Hn=(()=>{class Ie{transform(j){if(null==j)return null;if("string"!=typeof j)throw Vi();return j.toLowerCase()}}return Ie.\u0275fac=function(j){return new(j||Ie)},Ie.\u0275pipe=t.Yjl({name:"lowercase",type:Ie,pure:!0,standalone:!0}),Ie})();const jr=/(?:[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 Ie{transform(j){if(null==j)return null;if("string"!=typeof j)throw Vi();return j.replace(jr,Se=>Se[0].toUpperCase()+Se.slice(1).toLowerCase())}}return Ie.\u0275fac=function(j){return new(j||Ie)},Ie.\u0275pipe=t.Yjl({name:"titlecase",type:Ie,pure:!0,standalone:!0}),Ie})(),$n=(()=>{class Ie{transform(j){if(null==j)return null;if("string"!=typeof j)throw Vi();return j.toUpperCase()}}return Ie.\u0275fac=function(j){return new(j||Ie)},Ie.\u0275pipe=t.Yjl({name:"uppercase",type:Ie,pure:!0,standalone:!0}),Ie})();const Sr=new t.OlP("DATE_PIPE_DEFAULT_TIMEZONE"),tr=new t.OlP("DATE_PIPE_DEFAULT_OPTIONS");let Kn=(()=>{class Ie{constructor(j,Se,Be){this.locale=j,this.defaultTimezone=Se,this.defaultOptions=Be}transform(j,Se,Be,Ct){if(null==j||""===j||j!=j)return null;try{return St(j,Se??this.defaultOptions?.dateFormat??"mediumDate",Ct||this.locale,Be??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(Re){throw Vi()}}}return Ie.\u0275fac=function(j){return new(j||Ie)(t.Y36(t.soG,16),t.Y36(Sr,24),t.Y36(tr,24))},Ie.\u0275pipe=t.Yjl({name:"date",type:Ie,pure:!0,standalone:!0}),Ie})(),Er=(()=>{class Ie{transform(j){return JSON.stringify(j,null,2)}}return Ie.\u0275fac=function(j){return new(j||Ie)},Ie.\u0275pipe=t.Yjl({name:"json",type:Ie,pure:!1,standalone:!0}),Ie})(),wo=(()=>{class Ie{constructor(j){this.differs=j,this.keyValues=[],this.compareFn=Ma}transform(j,Se=Ma){if(!j||!(j instanceof Map)&&"object"!=typeof j)return null;this.differ||(this.differ=this.differs.find(j).create());const Be=this.differ.diff(j),Ct=Se!==this.compareFn;return Be&&(this.keyValues=[],Be.forEachItem(Re=>{this.keyValues.push(function Qr(Ie,vt){return{key:Ie,value:vt}}(Re.key,Re.currentValue))})),(Be||Ct)&&(this.keyValues.sort(Se),this.compareFn=Se),this.keyValues}}return Ie.\u0275fac=function(j){return new(j||Ie)(t.Y36(t.aQg,16))},Ie.\u0275pipe=t.Yjl({name:"keyvalue",type:Ie,pure:!1,standalone:!0}),Ie})();function Ma(Ie,vt){const j=Ie.key,Se=vt.key;if(j===Se)return 0;if(void 0===j)return 1;if(void 0===Se)return-1;if(null===j)return 1;if(null===Se)return-1;if("string"==typeof j&&"string"==typeof Se)return j<Se?-1:1;if("number"==typeof j&&"number"==typeof Se)return j-Se;if("boolean"==typeof j&&"boolean"==typeof Se)return j<Se?-1:1;const Be=String(j),Ct=String(Se);return Be==Ct?0:Be<Ct?-1:1}let Mo=(()=>{class Ie{constructor(j){this._locale=j}transform(j,Se,Be){if(!function so(Ie){return!(null==Ie||""===Ie||Ie!=Ie)}(j))return null;Be=Be||this._locale;try{return function Xe(Ie,vt,j){return function Ti(Ie,vt,j,Se,Be,Ct,Re=!1){let Zt="",ri=!1;if(isFinite(Ie)){let Jt=function Rt(Ie){let Se,Be,Ct,Re,Zt,vt=Math.abs(Ie)+"",j=0;for((Be=vt.indexOf("."))>-1&&(vt=vt.replace(".","")),(Ct=vt.search(/e/i))>0?(Be<0&&(Be=Ct),Be+=+vt.slice(Ct+1),vt=vt.substring(0,Ct)):Be<0&&(Be=vt.length),Ct=0;"0"===vt.charAt(Ct);Ct++);if(Ct===(Zt=vt.length))Se=[0],Be=1;else{for(Zt--;"0"===vt.charAt(Zt);)Zt--;for(Be-=Ct,Se=[],Re=0;Ct<=Zt;Ct++,Re++)Se[Re]=Number(vt.charAt(Ct))}return Be>22&&(Se=Se.splice(0,21),j=Be-1,Be=1),{digits:Se,exponent:j,integerLen:Be}}(Ie);Re&&(Jt=function xe(Ie){if(0===Ie.digits[0])return Ie;const vt=Ie.digits.length-Ie.integerLen;return Ie.exponent?Ie.exponent+=2:(0===vt?Ie.digits.push(0,0):1===vt&&Ie.digits.push(0),Ie.integerLen+=2),Ie}(Jt));let pi=vt.minInt,Ci=vt.minFrac,Fi=vt.maxFrac;if(Ct){const ma=Ct.match(Vt);if(null===ma)throw new Error(`${Ct} is not a valid digit info`);const Ea=ma[1],xa=ma[3],Ca=ma[5];null!=Ea&&(pi=li(Ea)),null!=xa&&(Ci=li(xa)),null!=Ca?Fi=li(Ca):null!=xa&&Ci>Fi&&(Fi=Ci)}!function jt(Ie,vt,j){if(vt>j)throw new Error(`The minimum number of digits after fraction (${vt}) is higher than the maximum (${j}).`);let Se=Ie.digits,Be=Se.length-Ie.integerLen;const Ct=Math.min(Math.max(vt,Be),j);let Re=Ct+Ie.integerLen,Zt=Se[Re];if(Re>0){Se.splice(Math.max(Ie.integerLen,Re));for(let Ci=Re;Ci<Se.length;Ci++)Se[Ci]=0}else{Be=Math.max(0,Be),Ie.integerLen=1,Se.length=Math.max(1,Re=Ct+1),Se[0]=0;for(let Ci=1;Ci<Re;Ci++)Se[Ci]=0}if(Zt>=5)if(Re-1<0){for(let Ci=0;Ci>Re;Ci--)Se.unshift(0),Ie.integerLen++;Se.unshift(1),Ie.integerLen++}else Se[Re-1]++;for(;Be<Math.max(0,Ct);Be++)Se.push(0);let ri=0!==Ct;const Jt=vt+Ie.integerLen,pi=Se.reduceRight(function(Ci,Fi,Zi,tn){return tn[Zi]=(Fi+=Ci)<10?Fi:Fi-10,ri&&(0===tn[Zi]&&Zi>=Jt?tn.pop():ri=!1),Fi>=10?1:0},0);pi&&(Se.unshift(pi),Ie.integerLen++)}(Jt,Ci,Fi);let Zi=Jt.digits,tn=Jt.integerLen;const xn=Jt.exponent;let ta=[];for(ri=Zi.every(ma=>!ma);tn<pi;tn++)Zi.unshift(0);for(;tn<0;tn++)Zi.unshift(0);tn>0?ta=Zi.splice(tn,Zi.length):(ta=Zi,Zi=[0]);const fa=[];for(Zi.length>=vt.lgSize&&fa.unshift(Zi.splice(-vt.lgSize,Zi.length).join(""));Zi.length>vt.gSize;)fa.unshift(Zi.splice(-vt.gSize,Zi.length).join(""));Zi.length&&fa.unshift(Zi.join("")),Zt=fa.join(je(j,Se)),ta.length&&(Zt+=je(j,Be)+ta.join("")),xn&&(Zt+=je(j,l.Exponential)+"+"+xn)}else Zt=je(j,l.Infinity);return Zt=Ie<0&&!ri?vt.negPre+Zt+vt.negSuf:vt.posPre+Zt+vt.posSuf,Zt}(Ie,function Tt(Ie,vt="-"){const j={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Se=Ie.split(";"),Be=Se[0],Ct=Se[1],Re=-1!==Be.indexOf(".")?Be.split("."):[Be.substring(0,Be.lastIndexOf("0")+1),Be.substring(Be.lastIndexOf("0")+1)],Zt=Re[0],ri=Re[1]||"";j.posPre=Zt.substring(0,Zt.indexOf("#"));for(let pi=0;pi<ri.length;pi++){const Ci=ri.charAt(pi);"0"===Ci?j.minFrac=j.maxFrac=pi+1:"#"===Ci?j.maxFrac=pi+1:j.posSuf+=Ci}const Jt=Zt.split(",");if(j.gSize=Jt[1]?Jt[1].length:0,j.lgSize=Jt[2]||Jt[1]?(Jt[2]||Jt[1]).length:0,Ct){const pi=Be.length-j.posPre.length-j.posSuf.length,Ci=Ct.indexOf("#");j.negPre=Ct.substring(0,Ci).replace(/'/g,""),j.negSuf=Ct.slice(Ci+pi).replace(/'/g,"")}else j.negPre=vt+j.posPre,j.negSuf=j.posSuf;return j}(function ze(Ie,vt){return(0,t.cg1)(Ie)[t.wAp.NumberFormats][vt]}(vt,me.Decimal),je(vt,l.MinusSign)),vt,l.Group,l.Decimal,j)}(function co(Ie){if("string"==typeof Ie&&!isNaN(Number(Ie)-parseFloat(Ie)))return Number(Ie);if("number"!=typeof Ie)throw new Error(`${Ie} is not a number`);return Ie}(j),Be,Se)}catch(Ct){throw Vi()}}}return Ie.\u0275fac=function(j){return new(j||Ie)(t.Y36(t.soG,16))},Ie.\u0275pipe=t.Yjl({name:"number",type:Ie,pure:!0,standalone:!0}),Ie})();let lo=(()=>{class Ie{transform(j,Se,Be){if(null==j)return null;if(!this.supports(j))throw Vi();return j.slice(Se,Be)}supports(j){return"string"==typeof j||Array.isArray(j)}}return Ie.\u0275fac=function(j){return new(j||Ie)},Ie.\u0275pipe=t.Yjl({name:"slice",type:Ie,pure:!1,standalone:!0}),Ie})(),ho=(()=>{class Ie{}return Ie.\u0275fac=function(j){return new(j||Ie)},Ie.\u0275mod=t.oAB({type:Ie}),Ie.\u0275inj=t.cJS({}),Ie})();const Zr="browser";function pr(Ie){return Ie===Zr}function ra(Ie){return"server"===Ie}let gr=(()=>{class Ie{}return Ie.\u0275prov=(0,t.Yz7)({token:Ie,providedIn:"root",factory:()=>new mo((0,t.LFG)(C),window)}),Ie})();class mo{constructor(vt,j){this.document=vt,this.window=j,this.offset=()=>[0,0]}setOffset(vt){this.offset=Array.isArray(vt)?()=>vt:vt}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(vt){this.supportsScrolling()&&this.window.scrollTo(vt[0],vt[1])}scrollToAnchor(vt){if(!this.supportsScrolling())return;const j=function Jr(Ie,vt){const j=Ie.getElementById(vt)||Ie.getElementsByName(vt)[0];if(j)return j;if("function"==typeof Ie.createTreeWalker&&Ie.body&&(Ie.body.createShadowRoot||Ie.body.attachShadow)){const Se=Ie.createTreeWalker(Ie.body,NodeFilter.SHOW_ELEMENT);let Be=Se.currentNode;for(;Be;){const Ct=Be.shadowRoot;if(Ct){const Re=Ct.getElementById(vt)||Ct.querySelector(`[name="${vt}"]`);if(Re)return Re}Be=Se.nextNode()}}return null}(this.document,vt);j&&(this.scrollToElement(j),j.focus())}setHistoryScrollRestoration(vt){if(this.supportScrollRestoration()){const j=this.window.history;j&&j.scrollRestoration&&(j.scrollRestoration=vt)}}scrollToElement(vt){const j=vt.getBoundingClientRect(),Se=j.left+this.window.pageXOffset,Be=j.top+this.window.pageYOffset,Ct=this.offset();this.window.scrollTo(Se-Ct[0],Be-Ct[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const vt=Pa(this.window.history)||Pa(Object.getPrototypeOf(this.window.history));return!(!vt||!vt.writable&&!vt.set)}catch{return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}function Pa(Ie){return Object.getOwnPropertyDescriptor(Ie,"scrollRestoration")}class nr{}},529:(Ue,q,p)=>{"use strict";p.d(q,{JF:()=>Et,LE:()=>K,TP:()=>v,eN:()=>T});var t=p(6895),e=p(4650),b=p(9646),I=p(9751),s=p(4351),C=p(9300),h=p(4004);class P{}class d{}class S{constructor(J){this.normalizedNames=new Map,this.lazyUpdate=null,J?this.lazyInit="string"==typeof J?()=>{this.headers=new Map,J.split("\n").forEach(be=>{const Ve=be.indexOf(":");if(Ve>0){const ot=be.slice(0,Ve),ei=ot.toLowerCase(),Bt=be.slice(Ve+1).trim();this.maybeSetNormalizedName(ot,ei),this.headers.has(ei)?this.headers.get(ei).push(Bt):this.headers.set(ei,[Bt])}})}:()=>{this.headers=new Map,Object.keys(J).forEach(be=>{let Ve=J[be];const ot=be.toLowerCase();"string"==typeof Ve&&(Ve=[Ve]),Ve.length>0&&(this.headers.set(ot,Ve),this.maybeSetNormalizedName(be,ot))})}:this.headers=new Map}has(J){return this.init(),this.headers.has(J.toLowerCase())}get(J){this.init();const be=this.headers.get(J.toLowerCase());return be&&be.length>0?be[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(J){return this.init(),this.headers.get(J.toLowerCase())||null}append(J,be){return this.clone({name:J,value:be,op:"a"})}set(J,be){return this.clone({name:J,value:be,op:"s"})}delete(J,be){return this.clone({name:J,value:be,op:"d"})}maybeSetNormalizedName(J,be){this.normalizedNames.has(be)||this.normalizedNames.set(be,J)}init(){this.lazyInit&&(this.lazyInit instanceof S?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(J=>this.applyUpdate(J)),this.lazyUpdate=null))}copyFrom(J){J.init(),Array.from(J.headers.keys()).forEach(be=>{this.headers.set(be,J.headers.get(be)),this.normalizedNames.set(be,J.normalizedNames.get(be))})}clone(J){const be=new S;return be.lazyInit=this.lazyInit&&this.lazyInit instanceof S?this.lazyInit:this,be.lazyUpdate=(this.lazyUpdate||[]).concat([J]),be}applyUpdate(J){const be=J.name.toLowerCase();switch(J.op){case"a":case"s":let Ve=J.value;if("string"==typeof Ve&&(Ve=[Ve]),0===Ve.length)return;this.maybeSetNormalizedName(J.name,be);const ot=("a"===J.op?this.headers.get(be):void 0)||[];ot.push(...Ve),this.headers.set(be,ot);break;case"d":const ei=J.value;if(ei){let Bt=this.headers.get(be);if(!Bt)return;Bt=Bt.filter(ti=>-1===ei.indexOf(ti)),0===Bt.length?(this.headers.delete(be),this.normalizedNames.delete(be)):this.headers.set(be,Bt)}else this.headers.delete(be),this.normalizedNames.delete(be)}}forEach(J){this.init(),Array.from(this.normalizedNames.keys()).forEach(be=>J(this.normalizedNames.get(be),this.headers.get(be)))}}class O{encodeKey(J){return U(J)}encodeValue(J){return U(J)}decodeKey(J){return decodeURIComponent(J)}decodeValue(J){return decodeURIComponent(J)}}const R=/%(\d[a-f0-9])/gi,z={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function U(we){return encodeURIComponent(we).replace(R,(J,be)=>z[be]??J)}function Y(we){return`${we}`}class K{constructor(J={}){if(this.updates=null,this.cloneFrom=null,this.encoder=J.encoder||new O,J.fromString){if(J.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function E(we,J){const be=new Map;return we.length>0&&we.replace(/^\?/,"").split("&").forEach(ot=>{const ei=ot.indexOf("="),[Bt,ti]=-1==ei?[J.decodeKey(ot),""]:[J.decodeKey(ot.slice(0,ei)),J.decodeValue(ot.slice(ei+1))],mt=be.get(Bt)||[];mt.push(ti),be.set(Bt,mt)}),be}(J.fromString,this.encoder)}else J.fromObject?(this.map=new Map,Object.keys(J.fromObject).forEach(be=>{const Ve=J.fromObject[be],ot=Array.isArray(Ve)?Ve.map(Y):[Y(Ve)];this.map.set(be,ot)})):this.map=null}has(J){return this.init(),this.map.has(J)}get(J){this.init();const be=this.map.get(J);return be?be[0]:null}getAll(J){return this.init(),this.map.get(J)||null}keys(){return this.init(),Array.from(this.map.keys())}append(J,be){return this.clone({param:J,value:be,op:"a"})}appendAll(J){const be=[];return Object.keys(J).forEach(Ve=>{const ot=J[Ve];Array.isArray(ot)?ot.forEach(ei=>{be.push({param:Ve,value:ei,op:"a"})}):be.push({param:Ve,value:ot,op:"a"})}),this.clone(be)}set(J,be){return this.clone({param:J,value:be,op:"s"})}delete(J,be){return this.clone({param:J,value:be,op:"d"})}toString(){return this.init(),this.keys().map(J=>{const be=this.encoder.encodeKey(J);return this.map.get(J).map(Ve=>be+"="+this.encoder.encodeValue(Ve)).join("&")}).filter(J=>""!==J).join("&")}clone(J){const be=new K({encoder:this.encoder});return be.cloneFrom=this.cloneFrom||this,be.updates=(this.updates||[]).concat(J),be}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(J=>this.map.set(J,this.cloneFrom.map.get(J))),this.updates.forEach(J=>{switch(J.op){case"a":case"s":const be=("a"===J.op?this.map.get(J.param):void 0)||[];be.push(Y(J.value)),this.map.set(J.param,be);break;case"d":if(void 0===J.value){this.map.delete(J.param);break}{let Ve=this.map.get(J.param)||[];const ot=Ve.indexOf(Y(J.value));-1!==ot&&Ve.splice(ot,1),Ve.length>0?this.map.set(J.param,Ve):this.map.delete(J.param)}}}),this.cloneFrom=this.updates=null)}}class ie{constructor(){this.map=new Map}set(J,be){return this.map.set(J,be),this}get(J){return this.map.has(J)||this.map.set(J,J.defaultValue()),this.map.get(J)}delete(J){return this.map.delete(J),this}has(J){return this.map.has(J)}keys(){return this.map.keys()}}function he(we){return typeof ArrayBuffer<"u"&&we instanceof ArrayBuffer}function ne(we){return typeof Blob<"u"&&we instanceof Blob}function le(we){return typeof FormData<"u"&&we instanceof FormData}class me{constructor(J,be,Ve,ot){let ei;if(this.url=be,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=J.toUpperCase(),function ue(we){switch(we){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||ot?(this.body=void 0!==Ve?Ve:null,ei=ot):ei=Ve,ei&&(this.reportProgress=!!ei.reportProgress,this.withCredentials=!!ei.withCredentials,ei.responseType&&(this.responseType=ei.responseType),ei.headers&&(this.headers=ei.headers),ei.context&&(this.context=ei.context),ei.params&&(this.params=ei.params)),this.headers||(this.headers=new S),this.context||(this.context=new ie),this.params){const Bt=this.params.toString();if(0===Bt.length)this.urlWithParams=be;else{const ti=be.indexOf("?");this.urlWithParams=be+(-1===ti?"?":ti<be.length-1?"&":"")+Bt}}else this.params=new K,this.urlWithParams=be}serializeBody(){return null===this.body?null:he(this.body)||ne(this.body)||le(this.body)||function ee(we){return typeof URLSearchParams<"u"&&we 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||le(this.body)?null:ne(this.body)?this.body.type||null:he(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(J={}){const be=J.method||this.method,Ve=J.url||this.url,ot=J.responseType||this.responseType,ei=void 0!==J.body?J.body:this.body,Bt=void 0!==J.withCredentials?J.withCredentials:this.withCredentials,ti=void 0!==J.reportProgress?J.reportProgress:this.reportProgress;let mt=J.headers||this.headers,nt=J.params||this.params;const yt=J.context??this.context;return void 0!==J.setHeaders&&(mt=Object.keys(J.setHeaders).reduce(($t,Vt)=>$t.set(Vt,J.setHeaders[Vt]),mt)),J.setParams&&(nt=Object.keys(J.setParams).reduce(($t,Vt)=>$t.set(Vt,J.setParams[Vt]),nt)),new me(be,Ve,ei,{params:nt,headers:mt,context:yt,reportProgress:ti,responseType:ot,withCredentials:Bt})}}var A=(()=>((A=A||{})[A.Sent=0]="Sent",A[A.UploadProgress=1]="UploadProgress",A[A.ResponseHeader=2]="ResponseHeader",A[A.DownloadProgress=3]="DownloadProgress",A[A.Response=4]="Response",A[A.User=5]="User",A))();class i{constructor(J,be=200,Ve="OK"){this.headers=J.headers||new S,this.status=void 0!==J.status?J.status:be,this.statusText=J.statusText||Ve,this.url=J.url||null,this.ok=this.status>=200&&this.status<300}}class a extends i{constructor(J={}){super(J),this.type=A.ResponseHeader}clone(J={}){return new a({headers:J.headers||this.headers,status:void 0!==J.status?J.status:this.status,statusText:J.statusText||this.statusText,url:J.url||this.url||void 0})}}class u extends i{constructor(J={}){super(J),this.type=A.Response,this.body=void 0!==J.body?J.body:null}clone(J={}){return new u({body:void 0!==J.body?J.body:this.body,headers:J.headers||this.headers,status:void 0!==J.status?J.status:this.status,statusText:J.statusText||this.statusText,url:J.url||this.url||void 0})}}class l extends i{constructor(J){super(J,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${J.url||"(unknown url)"}`:`Http failure response for ${J.url||"(unknown url)"}: ${J.status} ${J.statusText}`,this.error=J.error||null}}function y(we,J){return{body:J,headers:we.headers,context:we.context,observe:we.observe,params:we.params,reportProgress:we.reportProgress,responseType:we.responseType,withCredentials:we.withCredentials}}let T=(()=>{class we{constructor(be){this.handler=be}request(be,Ve,ot={}){let ei;if(be instanceof me)ei=be;else{let mt,nt;mt=ot.headers instanceof S?ot.headers:new S(ot.headers),ot.params&&(nt=ot.params instanceof K?ot.params:new K({fromObject:ot.params})),ei=new me(be,Ve,void 0!==ot.body?ot.body:null,{headers:mt,context:ot.context,params:nt,reportProgress:ot.reportProgress,responseType:ot.responseType||"json",withCredentials:ot.withCredentials})}const Bt=(0,b.of)(ei).pipe((0,s.b)(mt=>this.handler.handle(mt)));if(be instanceof me||"events"===ot.observe)return Bt;const ti=Bt.pipe((0,C.h)(mt=>mt instanceof u));switch(ot.observe||"body"){case"body":switch(ei.responseType){case"arraybuffer":return ti.pipe((0,h.U)(mt=>{if(null!==mt.body&&!(mt.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return mt.body}));case"blob":return ti.pipe((0,h.U)(mt=>{if(null!==mt.body&&!(mt.body instanceof Blob))throw new Error("Response is not a Blob.");return mt.body}));case"text":return ti.pipe((0,h.U)(mt=>{if(null!==mt.body&&"string"!=typeof mt.body)throw new Error("Response is not a string.");return mt.body}));default:return ti.pipe((0,h.U)(mt=>mt.body))}case"response":return ti;default:throw new Error(`Unreachable: unhandled observe type ${ot.observe}}`)}}delete(be,Ve={}){return this.request("DELETE",be,Ve)}get(be,Ve={}){return this.request("GET",be,Ve)}head(be,Ve={}){return this.request("HEAD",be,Ve)}jsonp(be,Ve){return this.request("JSONP",be,{params:(new K).append(Ve,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(be,Ve={}){return this.request("OPTIONS",be,Ve)}patch(be,Ve,ot={}){return this.request("PATCH",be,y(ot,Ve))}post(be,Ve,ot={}){return this.request("POST",be,y(ot,Ve))}put(be,Ve,ot={}){return this.request("PUT",be,y(ot,Ve))}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(P))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac}),we})();function D(we,J){return J(we)}function m(we,J){return(be,Ve)=>J.intercept(be,{handle:ot=>we(ot,Ve)})}const v=new e.OlP("HTTP_INTERCEPTORS"),B=new e.OlP("HTTP_INTERCEPTOR_FNS");function V(){let we=null;return(J,be)=>(null===we&&(we=((0,e.f3M)(v,{optional:!0})??[]).reduceRight(m,D)),we(J,be))}let X=(()=>{class we extends P{constructor(be,Ve){super(),this.backend=be,this.injector=Ve,this.chain=null}handle(be){if(null===this.chain){const Ve=Array.from(new Set(this.injector.get(B)));this.chain=Ve.reduceRight((ot,ei)=>function n(we,J,be){return(Ve,ot)=>be.runInContext(()=>J(Ve,ei=>we(ei,ot)))}(ot,ei,this.injector),D)}return this.chain(be,Ve=>this.backend.handle(Ve))}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(d),e.LFG(e.lqb))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac}),we})();const de=/^\)\]\}',?\n/;let te=(()=>{class we{constructor(be){this.xhrFactory=be}handle(be){if("JSONP"===be.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new I.y(Ve=>{const ot=this.xhrFactory.build();if(ot.open(be.method,be.urlWithParams),be.withCredentials&&(ot.withCredentials=!0),be.headers.forEach((ft,Pt)=>ot.setRequestHeader(ft,Pt.join(","))),be.headers.has("Accept")||ot.setRequestHeader("Accept","application/json, text/plain, */*"),!be.headers.has("Content-Type")){const ft=be.detectContentTypeHeader();null!==ft&&ot.setRequestHeader("Content-Type",ft)}if(be.responseType){const ft=be.responseType.toLowerCase();ot.responseType="json"!==ft?ft:"text"}const ei=be.serializeBody();let Bt=null;const ti=()=>{if(null!==Bt)return Bt;const ft=ot.statusText||"OK",Pt=new S(ot.getAllResponseHeaders()),Pe=function Ce(we){return"responseURL"in we&&we.responseURL?we.responseURL:/^X-Request-URL:/m.test(we.getAllResponseHeaders())?we.getResponseHeader("X-Request-URL"):null}(ot)||be.url;return Bt=new a({headers:Pt,status:ot.status,statusText:ft,url:Pe}),Bt},mt=()=>{let{headers:ft,status:Pt,statusText:Pe,url:it}=ti(),at=null;204!==Pt&&(at=typeof ot.response>"u"?ot.responseText:ot.response),0===Pt&&(Pt=at?200:0);let ht=Pt>=200&&Pt<300;if("json"===be.responseType&&"string"==typeof at){const Lt=at;at=at.replace(de,"");try{at=""!==at?JSON.parse(at):null}catch(ui){at=Lt,ht&&(ht=!1,at={error:ui,text:at})}}ht?(Ve.next(new u({body:at,headers:ft,status:Pt,statusText:Pe,url:it||void 0})),Ve.complete()):Ve.error(new l({error:at,headers:ft,status:Pt,statusText:Pe,url:it||void 0}))},nt=ft=>{const{url:Pt}=ti(),Pe=new l({error:ft,status:ot.status||0,statusText:ot.statusText||"Unknown Error",url:Pt||void 0});Ve.error(Pe)};let yt=!1;const $t=ft=>{yt||(Ve.next(ti()),yt=!0);let Pt={type:A.DownloadProgress,loaded:ft.loaded};ft.lengthComputable&&(Pt.total=ft.total),"text"===be.responseType&&ot.responseText&&(Pt.partialText=ot.responseText),Ve.next(Pt)},Vt=ft=>{let Pt={type:A.UploadProgress,loaded:ft.loaded};ft.lengthComputable&&(Pt.total=ft.total),Ve.next(Pt)};return ot.addEventListener("load",mt),ot.addEventListener("error",nt),ot.addEventListener("timeout",nt),ot.addEventListener("abort",nt),be.reportProgress&&(ot.addEventListener("progress",$t),null!==ei&&ot.upload&&ot.upload.addEventListener("progress",Vt)),ot.send(ei),Ve.next({type:A.Sent}),()=>{ot.removeEventListener("error",nt),ot.removeEventListener("abort",nt),ot.removeEventListener("load",mt),ot.removeEventListener("timeout",nt),be.reportProgress&&(ot.removeEventListener("progress",$t),null!==ei&&ot.upload&&ot.upload.removeEventListener("progress",Vt)),ot.readyState!==ot.DONE&&ot.abort()}})}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(t.JF))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac}),we})();const Ze=new e.OlP("XSRF_ENABLED"),Ge="XSRF-TOKEN",ae=new e.OlP("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>Ge}),ge="X-XSRF-TOKEN",pt=new e.OlP("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>ge});class $e{}let ut=(()=>{class we{constructor(be,Ve,ot){this.doc=be,this.platform=Ve,this.cookieName=ot,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const be=this.doc.cookie||"";return be!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,t.Mx)(be,this.cookieName),this.lastCookieString=be),this.lastToken}}return we.\u0275fac=function(be){return new(be||we)(e.LFG(t.K0),e.LFG(e.Lbi),e.LFG(ae))},we.\u0275prov=e.Yz7({token:we,factory:we.\u0275fac}),we})();function At(we,J){const be=we.url.toLowerCase();if(!(0,e.f3M)(Ze)||"GET"===we.method||"HEAD"===we.method||be.startsWith("http://")||be.startsWith("https://"))return J(we);const Ve=(0,e.f3M)($e).getToken(),ot=(0,e.f3M)(pt);return null!=Ve&&!we.headers.has(ot)&&(we=we.clone({headers:we.headers.set(ot,Ve)})),J(we)}var lt=(()=>((lt=lt||{})[lt.Interceptors=0]="Interceptors",lt[lt.LegacyInterceptors=1]="LegacyInterceptors",lt[lt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",lt[lt.NoXsrfProtection=3]="NoXsrfProtection",lt[lt.JsonpSupport=4]="JsonpSupport",lt[lt.RequestsMadeViaParent=5]="RequestsMadeViaParent",lt))();function St(we,J){return{\u0275kind:we,\u0275providers:J}}function ke(...we){const J=[T,te,X,{provide:P,useExisting:X},{provide:d,useExisting:te},{provide:B,useValue:At,multi:!0},{provide:Ze,useValue:!0},{provide:$e,useClass:ut}];for(const be of we)J.push(...be.\u0275providers);return(0,e.MR2)(J)}const wt=new e.OlP("LEGACY_INTERCEPTOR_FN");function Fe({cookieName:we,headerName:J}){const be=[];return void 0!==we&&be.push({provide:ae,useValue:we}),void 0!==J&&be.push({provide:pt,useValue:J}),St(lt.CustomXsrfConfiguration,be)}let Et=(()=>{class we{}return we.\u0275fac=function(be){return new(be||we)},we.\u0275mod=e.oAB({type:we}),we.\u0275inj=e.cJS({providers:[ke(St(lt.LegacyInterceptors,[{provide:wt,useFactory:V},{provide:B,useExisting:wt,multi:!0}]),Fe({cookieName:Ge,headerName:ge}))]}),we})()},4650:(Ue,q,p)=>{"use strict";p.d(q,{$8M:()=>xc,$WT:()=>ji,$Z:()=>fc,AFp:()=>v6,ALo:()=>rf,AaK:()=>P,AsE:()=>qs,BQk:()=>lu,CHM:()=>Ro,CRH:()=>$4,CZH:()=>gf,CqO:()=>qn,D6c:()=>e5,DdM:()=>U4,Dn7:()=>W4,EJc:()=>v8,EiD:()=>Q2,EpF:()=>n4,F$t:()=>P0,F4k:()=>hu,FYo:()=>_s,FiY:()=>nc,Gf:()=>Jp,GfV:()=>Fd,GkF:()=>P3,Gpc:()=>w,Gre:()=>q3,HOy:()=>j3,Hsn:()=>Cs,Ikx:()=>Du,JOm:()=>Lo,JVY:()=>H2,JZr:()=>U,Jf7:()=>Vd,KtG:()=>Js,L6k:()=>gh,LAX:()=>vh,LFG:()=>It,Lbi:()=>m8,Lck:()=>xg,MAs:()=>i4,MGl:()=>yn,MMx:()=>H4,MR2:()=>Mh,NdJ:()=>mc,O4$:()=>Ds,OlP:()=>da,Oqu:()=>Z0,P3R:()=>wh,PXZ:()=>k8,Q6J:()=>k3,QGY:()=>du,QbO:()=>g8,Qsj:()=>Th,R0b:()=>vc,RDi:()=>O2,Rgc:()=>Fu,SBq:()=>pl,Sil:()=>y8,Suo:()=>Xp,TTD:()=>kr,TgZ:()=>su,Tol:()=>Cu,Udp:()=>bu,VKq:()=>Np,W1O:()=>i6,WFA:()=>k0,WLB:()=>G4,X6Q:()=>F8,XFs:()=>Ge,Xpm:()=>Ti,Xts:()=>Ic,Y36:()=>bs,YKP:()=>Ap,YNc:()=>t4,Yjl:()=>li,Yz7:()=>je,Z0I:()=>ce,ZZ4:()=>Am,_Bn:()=>Tp,_UZ:()=>O3,_Vd:()=>es,_c5:()=>$8,_uU:()=>Y3,aQg:()=>Dm,c2e:()=>x6,cJS:()=>Le,cg1:()=>Lu,d8E:()=>ef,dDg:()=>T8,dqk:()=>At,eBb:()=>_h,eFA:()=>L6,ekj:()=>yu,eoX:()=>T6,f3M:()=>we,g9A:()=>fm,h0i:()=>j0,hGG:()=>K6,hYB:()=>R0,hij:()=>ns,iGM:()=>qp,ifc:()=>$t,ip1:()=>hm,jDz:()=>Lp,kEZ:()=>Fp,kL8:()=>W0,kcU:()=>yc,lG2:()=>jt,lcZ:()=>Wp,lnq:()=>Eu,lqb:()=>Oc,lri:()=>_m,mCW:()=>x1,n5z:()=>a1,n_E:()=>cf,oAB:()=>Tt,oJD:()=>hl,oxw:()=>O0,pB0:()=>z2,q3G:()=>Ja,qLn:()=>gl,qOj:()=>w3,qZA:()=>n2,qzn:()=>ll,rWj:()=>E6,s9C:()=>pc,sBO:()=>z6,s_b:()=>lf,soG:()=>Vu,tBr:()=>Xc,tb:()=>y6,tp0:()=>ac,uIk:()=>A3,vHH:()=>Y,vpe:()=>Ml,wAp:()=>Tn,xi3:()=>Z4,xp6:()=>Ud,ynx:()=>cu,z2F:()=>Uu,z3N:()=>ro,zSh:()=>ml,zs3:()=>uc});var t=p(7579),e=p(727),b=p(9751),I=p(6451),s=p(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 g in c)c.hasOwnProperty(g)&&!o.hasOwnProperty(g)&&(o[g]=c[g])}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 g=c.indexOf("\n");return-1===g?c:c.substring(0,g)}function d(o,c){return null==o||""===o?null===c?"":c:null==c||""===c?o:o+" "+c}const S=C({__forward_ref__:C});function w(o){return o.__forward_ref__=w,o.toString=function(){return P(this())},o}function O(o){return E(o)?o():o}function E(o){return"function"==typeof o&&o.hasOwnProperty(S)&&o.__forward_ref__===w}function R(o){return o&&!!o.\u0275providers}const U="https://g.co/ng/security#xss";class Y extends Error{constructor(c,g){super(function K(o,c){return`NG0${Math.abs(o)}${c?": "+c.trim():""}`}(c,g)),this.code=c}}function $(o){return"string"==typeof o?o:null==o?"":String(o)}function le(o,c){throw new Y(-201,!1)}function B(o,c){null==o&&function V(o,c,g,L){throw new Error(`ASSERTION ERROR: ${o}`+(null==L?"":` [Expected=> ${g} ${L} ${c} <=Actual]`))}(c,o,null,"!=")}function je(o){return{token:o.token,providedIn:o.providedIn||null,factory:o.factory,value:void 0}}function Le(o){return{providers:o.providers||[],imports:o.imports||[]}}function ye(o){return ve(o,de)||ve(o,te)}function ce(o){return null!==ye(o)}function ve(o,c){return o.hasOwnProperty(c)?o[c]:null}function Ae(o){return o&&(o.hasOwnProperty(Ce)||o.hasOwnProperty(Ze))?o[Ce]:null}const de=C({\u0275prov:C}),Ce=C({\u0275inj:C}),te=C({ngInjectableDef:C}),Ze=C({ngInjectorDef:C});var Ge=(()=>((Ge=Ge||{})[Ge.Default=0]="Default",Ge[Ge.Host=1]="Host",Ge[Ge.Self=2]="Self",Ge[Ge.SkipSelf=4]="SkipSelf",Ge[Ge.Optional=8]="Optional",Ge))();let ae;function pt(o){const c=ae;return ae=o,c}function $e(o,c,g){const L=ye(o);return L&&"root"==L.providedIn?void 0===L.value?L.value=L.factory():L.value:g&Ge.Optional?null:void 0!==c?c:void le(P(o))}const At=(()=>typeof globalThis<"u"&&globalThis||typeof global<"u"&&global||typeof window<"u"&&window||typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self)(),ke={},He="__NG_DI_FLAG__",wt="ngTempTokenPath",Fe=/\n/gm,qe="__source";let Qe;function Ht(o){const c=Qe;return Qe=o,c}function Et(o,c=Ge.Default){if(void 0===Qe)throw new Y(-203,!1);return null===Qe?$e(o,void 0,c):Qe.get(o,c&Ge.Optional?null:void 0,c)}function It(o,c=Ge.Default){return(function ge(){return ae}()||Et)(O(o),c)}function we(o,c=Ge.Default){return It(o,J(c))}function J(o){return typeof o>"u"||"number"==typeof o?o:0|(o.optional&&8)|(o.host&&1)|(o.self&&2)|(o.skipSelf&&4)}function be(o){const c=[];for(let g=0;g<o.length;g++){const L=O(o[g]);if(Array.isArray(L)){if(0===L.length)throw new Y(900,!1);let N,G=Ge.Default;for(let se=0;se<L.length;se++){const Ee=L[se],Ye=ot(Ee);"number"==typeof Ye?-1===Ye?N=Ee.token:G|=Ye:N=Ee}c.push(It(N,G))}else c.push(It(L))}return c}function Ve(o,c){return o[He]=c,o.prototype[He]=c,o}function ot(o){return o[He]}function ti(o){return{toString:o}.toString()}var mt=(()=>((mt=mt||{})[mt.OnPush=0]="OnPush",mt[mt.Default=1]="Default",mt))(),$t=(()=>{return(o=$t||($t={}))[o.Emulated=0]="Emulated",o[o.None=2]="None",o[o.ShadowDom=3]="ShadowDom",$t;var o})();const Vt={},ft=[],Pt=C({\u0275cmp:C}),Pe=C({\u0275dir:C}),it=C({\u0275pipe:C}),at=C({\u0275mod:C}),ht=C({\u0275fac:C}),Lt=C({__NG_ELEMENT_ID__:C});let ui=0;function Ti(o){return ti(()=>{const g=!0===o.standalone,L={},N={type:o.type,providersResolver:null,decls:o.decls,vars:o.vars,factory:null,template:o.template||null,consts:o.consts||null,ngContentSelectors:o.ngContentSelectors,hostBindings:o.hostBindings||null,hostVars:o.hostVars||0,hostAttrs:o.hostAttrs||null,contentQueries:o.contentQueries||null,declaredInputs:L,inputs:null,outputs:null,exportAs:o.exportAs||null,onPush:o.changeDetection===mt.OnPush,directiveDefs:null,pipeDefs:null,standalone:g,dependencies:g&&o.dependencies||null,getStandaloneInjector:null,selectors:o.selectors||ft,viewQuery:o.viewQuery||null,features:o.features||null,data:o.data||{},encapsulation:o.encapsulation||$t.Emulated,id:"c"+ui++,styles:o.styles||ft,_:null,setInput:null,schemas:o.schemas||null,tView:null,findHostDirectiveDefs:null,hostDirectives:null},G=o.dependencies,se=o.features;return N.inputs=Rt(o.inputs,L),N.outputs=Rt(o.outputs),se&&se.forEach(Ee=>Ee(N)),N.directiveDefs=G?()=>("function"==typeof G?G():G).map(Ni).filter(Xe):null,N.pipeDefs=G?()=>("function"==typeof G?G():G).map(Gi).filter(Xe):null,N})}function Ni(o){return bi(o)||Li(o)}function Xe(o){return null!==o}function Tt(o){return ti(()=>({type:o.type,bootstrap:o.bootstrap||ft,declarations:o.declarations||ft,imports:o.imports||ft,exports:o.exports||ft,transitiveCompileScopes:null,schemas:o.schemas||null,id:o.id||null}))}function Rt(o,c){if(null==o)return Vt;const g={};for(const L in o)if(o.hasOwnProperty(L)){let N=o[L],G=N;Array.isArray(N)&&(G=N[1],N=N[0]),g[N]=L,c&&(c[N]=G)}return g}const jt=Ti;function li(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 bi(o){return o[Pt]||null}function Li(o){return o[Pe]||null}function Gi(o){return o[it]||null}function ji(o){const c=bi(o)||Li(o)||Gi(o);return null!==c&&c.standalone}function $i(o,c){const g=o[at]||null;if(!g&&!0===c)throw new Error(`Type ${P(o)} does not have '\u0275mod' property.`);return g}function zn(o){return Array.isArray(o)&&"object"==typeof o[1]}function $n(o){return Array.isArray(o)&&!0===o[1]}function Lr(o){return 0!=(4&o.flags)}function Sr(o){return o.componentOffset>-1}function tr(o){return 1==(1&o.flags)}function Kn(o){return null!==o.template}function Ga(o){return 0!=(256&o[2])}function Ya(o,c){return o.hasOwnProperty(ht)?o[ht]:null}class Ir{constructor(c,g,L){this.previousValue=c,this.currentValue=g,this.firstChange=L}isFirstChange(){return this.firstChange}}function kr(){return gr}function gr(o){return o.type.prototype.ngOnChanges&&(o.setInput=Pa),mo}function mo(){const o=Xr(this),c=o?.current;if(c){const g=o.previous;if(g===Vt)o.previous=c;else for(let L in c)g[L]=c[L];o.current=null,this.ngOnChanges(c)}}function Pa(o,c,g,L){const N=this.declaredInputs[g],G=Xr(o)||function nr(o,c){return o[Jr]=c}(o,{previous:Vt,current:null}),se=G.current||(G.current={}),Ee=G.previous,Ye=Ee[N];se[N]=new Ir(Ye&&Ye.currentValue,c,Ee===Vt),o[L]=c}kr.ngInherit=!0;const Jr="__ngSimpleChanges__";function Xr(o){return o[Jr]||null}function Yn(o){for(;Array.isArray(o);)o=o[0];return o}function ja(o,c){return Yn(c[o])}function ca(o,c){return Yn(c[o.index])}function zt(o,c){return o.data[c]}function oi(o,c){return o[c]}function Mt(o,c){const g=c[o];return zn(g)?g:g[0]}function Pi(o){return 64==(64&o[2])}function ea(o,c){return null==c?null:o[c]}function la(o){o[18]=0}function Yi(o,c){o[5]+=c;let g=o,L=o[3];for(;null!==L&&(1===c&&1===g[5]||-1===c&&0===g[5]);)L[5]+=c,g=L,L=L[3]}const bn={lFrame:Ts(null),bindingsEnabled:!0};function xi(){return bn.bindingsEnabled}function wi(){return bn.lFrame.lView}function Ln(){return bn.lFrame.tView}function Ro(o){return bn.lFrame.contextLView=o,o[8]}function Js(o){return bn.lFrame.contextLView=null,o}function Ha(){let o=Yo();for(;null!==o&&64===o.type;)o=o.parent;return o}function Yo(){return bn.lFrame.currentTNode}function vr(o,c){const g=bn.lFrame;g.currentTNode=o,g.isParent=c}function jo(){return bn.lFrame.isParent}function Ko(){bn.lFrame.isParent=!1}function In(){const o=bn.lFrame;let c=o.bindingRootIndex;return-1===c&&(c=o.bindingRootIndex=o.tView.bindingStartIndex),c}function Ii(){return bn.lFrame.bindingIndex}function go(){return bn.lFrame.bindingIndex++}function zi(o){const c=bn.lFrame,g=c.bindingIndex;return c.bindingIndex=c.bindingIndex+o,g}function Xs(o,c){const g=bn.lFrame;g.bindingIndex=g.bindingRootIndex=o,os(c)}function os(o){bn.lFrame.currentDirectiveIndex=o}function So(o){const c=bn.lFrame.currentDirectiveIndex;return-1===c?null:o[c]}function Eo(){return bn.lFrame.currentQueryIndex}function ss(o){bn.lFrame.currentQueryIndex=o}function bc(o){const c=o[1];return 2===c.type?c.declTNode:1===c.type?o[6]:null}function Qo(o,c,g){if(g&Ge.SkipSelf){let N=c,G=o;for(;!(N=N.parent,null!==N||g&Ge.Host||(N=bc(G),null===N||(G=G[15],10&N.type))););if(null===N)return!1;c=N,o=G}const L=bn.lFrame=ec();return L.currentTNode=c,L.lView=o,!0}function $s(o){const c=ec(),g=o[1];bn.lFrame=c,c.currentTNode=g.firstChild,c.lView=o,c.tView=g,c.contextLView=o,c.bindingIndex=g.bindingStartIndex,c.inI18n=!1}function ec(){const o=bn.lFrame,c=null===o?null:o.child;return null===c?Ts(o):c}function Ts(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 As(){const o=bn.lFrame;return bn.lFrame=o.parent,o.currentTNode=null,o.lView=null,o}const Ra=As;function to(){const o=As();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 Oa(){return bn.lFrame.selectedIndex}function qa(o){bn.lFrame.selectedIndex=o}function ua(){const o=bn.lFrame;return zt(o.tView,o.selectedIndex)}function Ds(){bn.lFrame.currentNamespace="svg"}function yc(){!function Gn(){bn.lFrame.currentNamespace=null}()}function Sa(o,c){for(let g=c.directiveStart,L=c.directiveEnd;g<L;g++){const G=o.data[g].type.prototype,{ngAfterContentInit:se,ngAfterContentChecked:Ee,ngAfterViewInit:Ye,ngAfterViewChecked:gt,ngOnDestroy:kt}=G;se&&(o.contentHooks||(o.contentHooks=[])).push(-g,se),Ee&&((o.contentHooks||(o.contentHooks=[])).push(g,Ee),(o.contentCheckHooks||(o.contentCheckHooks=[])).push(g,Ee)),Ye&&(o.viewHooks||(o.viewHooks=[])).push(-g,Ye),gt&&((o.viewHooks||(o.viewHooks=[])).push(g,gt),(o.viewCheckHooks||(o.viewCheckHooks=[])).push(g,gt)),null!=kt&&(o.destroyHooks||(o.destroyHooks=[])).push(g,kt)}}function Wi(o,c,g){j(o,c,3,g)}function Ie(o,c,g,L){(3&o[2])===g&&j(o,c,g,L)}function vt(o,c){let g=o[2];(3&g)===c&&(g&=2047,g+=1,o[2]=g)}function j(o,c,g,L){const G=L??-1,se=c.length-1;let Ee=0;for(let Ye=void 0!==L?65535&o[18]:0;Ye<se;Ye++)if("number"==typeof c[Ye+1]){if(Ee=c[Ye],null!=L&&Ee>=L)break}else c[Ye]<0&&(o[18]+=65536),(Ee<G||-1==G)&&(Se(o,g,c,Ye),o[18]=(4294901760&o[18])+Ye+2),Ye++}function Se(o,c,g,L){const N=g[L]<0,G=g[L+1],Ee=o[N?-g[L]:g[L]];if(N){if(o[2]>>11<o[18]>>16&&(3&o[2])===c){o[2]+=2048;try{G.call(Ee)}finally{}}}else try{G.call(Ee)}finally{}}class Ct{constructor(c,g,L){this.factory=c,this.resolving=!1,this.canSeeViewProviders=g,this.injectImpl=L}}function tn(o,c,g){let L=0;for(;L<g.length;){const N=g[L];if("number"==typeof N){if(0!==N)break;L++;const G=g[L++],se=g[L++],Ee=g[L++];o.setAttribute(c,se,Ee,G)}else{const G=N,se=g[++L];ta(G)?o.setProperty(c,G,se):o.setAttribute(c,G,se),L++}}return L}function xn(o){return 3===o||4===o||6===o}function ta(o){return 64===o.charCodeAt(0)}function fa(o,c){if(null!==c&&0!==c.length)if(null===o||0===o.length)o=c.slice();else{let g=-1;for(let L=0;L<c.length;L++){const N=c[L];"number"==typeof N?g=N:0===g||ma(o,g,N,null,-1===g||2===g?c[++L]:null)}}return o}function ma(o,c,g,L,N){let G=0,se=o.length;if(-1===c)se=-1;else for(;G<o.length;){const Ee=o[G++];if("number"==typeof Ee){if(Ee===c){se=-1;break}if(Ee>c){se=G-1;break}}}for(;G<o.length;){const Ee=o[G];if("number"==typeof Ee)break;if(Ee===g){if(null===L)return void(null!==N&&(o[G+1]=N));if(L===o[G+1])return void(o[G+2]=N)}G++,null!==L&&G++,null!==N&&G++}-1!==se&&(o.splice(se,0,c),G=se+1),o.splice(G++,0,g),null!==L&&o.splice(G++,0,L),null!==N&&o.splice(G++,0,N)}function Ea(o){return-1!==o}function xa(o){return 32767&o}function yr(o,c){let g=function Ca(o){return o>>16}(o),L=c;for(;g>0;)L=L[15],g--;return L}let Ta=!0;function io(o){const c=Ta;return Ta=o,c}let Zc=0;const Ho={};function Wc(o,c){const g=Pr(o,c);if(-1!==g)return g;const L=c[1];L.firstCreatePass&&(o.injectorIndex=c.length,Sl(L.data,o),Sl(c,null),Sl(L.blueprint,null));const N=Yc(o,c),G=o.injectorIndex;if(Ea(N)){const se=xa(N),Ee=yr(N,c),Ye=Ee[1].data;for(let gt=0;gt<8;gt++)c[G+gt]=Ee[se+gt]|Ye[se+gt]}return c[G+8]=N,G}function Sl(o,c){o.push(0,0,0,0,0,0,0,0,c)}function Pr(o,c){return-1===o.injectorIndex||o.parent&&o.parent.injectorIndex===o.injectorIndex||null===c[o.injectorIndex+8]?-1:o.injectorIndex}function Yc(o,c){if(o.parent&&-1!==o.parent.injectorIndex)return o.parent.injectorIndex;let g=0,L=null,N=c;for(;null!==N;){if(L=Tl(N),null===L)return-1;if(g++,N=N[15],-1!==L.injectorIndex)return L.injectorIndex|g<<16}return-1}function tc(o,c,g){!function e1(o,c,g){let L;"string"==typeof g?L=g.charCodeAt(0)||0:g.hasOwnProperty(Lt)&&(L=g[Lt]),null==L&&(L=g[Lt]=Zc++);const N=255&L;c.data[o+(N>>5)]|=1<<N}(o,c,g)}function t1(o,c,g){if(g&Ge.Optional||void 0!==o)return o;le()}function El(o,c,g,L){if(g&Ge.Optional&&void 0===L&&(L=null),!(g&(Ge.Self|Ge.Host))){const N=o[9],G=pt(void 0);try{return N?N.get(c,L,g&Ge.Optional):$e(c,L,g&Ge.Optional)}finally{pt(G)}}return t1(L,0,g)}function K1(o,c,g,L=Ge.Default,N){if(null!==o){if(1024&c[2]){const se=function J1(o,c,g,L,N){let G=o,se=c;for(;null!==G&&null!==se&&1024&se[2]&&!(256&se[2]);){const Ee=Q1(G,se,g,L|Ge.Self,Ho);if(Ee!==Ho)return Ee;let Ye=G.parent;if(!Ye){const gt=se[21];if(gt){const kt=gt.get(g,Ho,L);if(kt!==Ho)return kt}Ye=Tl(se),se=se[15]}G=Ye}return N}(o,c,g,L,Ho);if(se!==Ho)return se}const G=Q1(o,c,g,L,Ho);if(G!==Ho)return G}return El(c,g,L,N)}function Q1(o,c,g,L,N){const G=function Is(o){if("string"==typeof o)return o.charCodeAt(0)||0;const c=o.hasOwnProperty(Lt)?o[Lt]:void 0;return"number"==typeof c?c>=0?255&c:zo:c}(g);if("function"==typeof G){if(!Qo(c,o,L))return L&Ge.Host?t1(N,0,L):El(c,g,L,N);try{const se=G(L);if(null!=se||L&Ge.Optional)return se;le()}finally{Ra()}}else if("number"==typeof G){let se=null,Ee=Pr(o,c),Ye=-1,gt=L&Ge.Host?c[16][6]:null;for((-1===Ee||L&Ge.SkipSelf)&&(Ye=-1===Ee?Yc(o,c):c[Ee+8],-1!==Ye&&ks(L,!1)?(se=c[1],Ee=xa(Ye),c=yr(Ye,c)):Ee=-1);-1!==Ee;){const kt=c[1];if(q1(G,Ee,kt.data)){const qt=n1(Ee,c,g,se,L,gt);if(qt!==Ho)return qt}Ye=c[Ee+8],-1!==Ye&&ks(L,c[1].data[Ee+8]===gt)&&q1(G,Ee,c)?(se=kt,Ee=xa(Ye),c=yr(Ye,c)):Ee=-1}}return N}function n1(o,c,g,L,N,G){const se=c[1],Ee=se.data[o+8],kt=Ls(Ee,se,g,null==L?Sr(Ee)&&Ta:L!=se&&0!=(3&Ee.type),N&Ge.Host&&G===Ee);return null!==kt?cs(c,se,kt,Ee):Ho}function Ls(o,c,g,L,N){const G=o.providerIndexes,se=c.data,Ee=1048575&G,Ye=o.directiveStart,kt=G>>20,si=N?Ee+kt:o.directiveEnd;for(let _i=L?Ee:Ee+kt;_i<si;_i++){const Ri=se[_i];if(_i<Ye&&g===Ri||_i>=Ye&&Ri.type===g)return _i}if(N){const _i=se[Ye];if(_i&&Kn(_i)&&_i.type===g)return Ye}return null}function cs(o,c,g,L){let N=o[g];const G=c.data;if(function Re(o){return o instanceof Ct}(N)){const se=N;se.resolving&&function ue(o,c){const g=c?`. Dependency path: ${c.join(" > ")} > ${o}`:"";throw new Y(-200,`Circular dependency in DI detected for ${o}${g}`)}(function ie(o){return"function"==typeof o?o.name||o.toString():"object"==typeof o&&null!=o&&"function"==typeof o.type?o.type.name||o.type.toString():$(o)}(G[g]));const Ee=io(se.canSeeViewProviders);se.resolving=!0;const Ye=se.injectImpl?pt(se.injectImpl):null;Qo(o,L,Ge.Default);try{N=o[g]=se.factory(void 0,G,o,L),c.firstCreatePass&&g>=L.directiveStart&&function ya(o,c,g){const{ngOnChanges:L,ngOnInit:N,ngDoCheck:G}=c.type.prototype;if(L){const se=gr(c);(g.preOrderHooks||(g.preOrderHooks=[])).push(o,se),(g.preOrderCheckHooks||(g.preOrderCheckHooks=[])).push(o,se)}N&&(g.preOrderHooks||(g.preOrderHooks=[])).push(0-o,N),G&&((g.preOrderHooks||(g.preOrderHooks=[])).push(o,G),(g.preOrderCheckHooks||(g.preOrderCheckHooks=[])).push(o,G))}(g,G[g],c)}finally{null!==Ye&&pt(Ye),io(Ee),se.resolving=!1,Ra()}}return N}function q1(o,c,g){return!!(g[c+(o>>5)]&1<<o)}function ks(o,c){return!(o&Ge.Self||o&Ge.Host&&c)}class lr{constructor(c,g){this._tNode=c,this._lView=g}get(c,g,L){return K1(this._tNode,this._lView,c,J(L),g)}}function zo(){return new lr(Ha(),wi())}function a1(o){return ti(()=>{const c=o.prototype.constructor,g=c[ht]||r1(c),L=Object.prototype;let N=Object.getPrototypeOf(o.prototype).constructor;for(;N&&N!==L;){const G=N[ht]||r1(N);if(G&&G!==g)return G;N=Object.getPrototypeOf(N)}return G=>new G})}function r1(o){return E(o)?()=>{const c=r1(O(o));return c&&c()}:Ya(o)}function Tl(o){const c=o[1],g=c.type;return 2===g?c.declTNode:1===g?o[6]:null}function xc(o){return function jc(o,c){if("class"===c)return o.classes;if("style"===c)return o.styles;const g=o.attrs;if(g){const L=g.length;let N=0;for(;N<L;){const G=g[N];if(xn(G))break;if(0===G)N+=2;else if("number"==typeof G)for(N++;N<L&&"string"==typeof g[N];)N++;else{if(G===c)return g[N+1];N+=2}}}return null}(Ha(),o)}const Ao="__parameters__";function Ps(o,c,g){return ti(()=>{const L=function Kc(o){return function(...g){if(o){const L=o(...g);for(const N in L)this[N]=L[N]}}}(c);function N(...G){if(this instanceof N)return L.apply(this,G),this;const se=new N(...G);return Ee.annotation=se,Ee;function Ee(Ye,gt,kt){const qt=Ye.hasOwnProperty(Ao)?Ye[Ao]:Object.defineProperty(Ye,Ao,{value:[]})[Ao];for(;qt.length<=kt;)qt.push(null);return(qt[kt]=qt[kt]||[]).push(se),Ye}}return g&&(N.prototype=Object.create(g.prototype)),N.prototype.ngMetadataName=o,N.annotationCls=N,N})}class da{constructor(c,g){this._desc=c,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof g?this.__NG_ELEMENT_ID__=g:void 0!==g&&(this.\u0275prov=je({token:this,providedIn:g.providedIn||"root",factory:g.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}function re(o,c){o.forEach(g=>Array.isArray(g)?re(g,c):c(g))}function Ne(o,c,g){c>=o.length?o.push(g):o.splice(c,0,g)}function rt(o,c){return c>=o.length-1?o.pop():o.splice(c,1)[0]}function Dt(o,c){const g=[];for(let L=0;L<o;L++)g.push(c);return g}function Qi(o,c,g){let L=Aa(o,c);return L>=0?o[1|L]=g:(L=~L,function Ai(o,c,g,L){let N=o.length;if(N==c)o.push(g,L);else if(1===N)o.push(L,o[0]),o[0]=g;else{for(N--,o.push(o[N-1],o[N]);N>c;)o[N]=o[N-2],N--;o[c]=g,o[c+1]=L}}(o,L,c,g)),L}function Jn(o,c){const g=Aa(o,c);if(g>=0)return o[1|g]}function Aa(o,c){return function Da(o,c,g){let L=0,N=o.length>>g;for(;N!==L;){const G=L+(N-L>>1),se=o[G<<g];if(c===se)return G<<g;se>c?N=G:L=G+1}return~(N<<g)}(o,c,1)}const Xc=Ve(Ps("Inject",o=>({token:o})),-1),nc=Ve(Ps("Optional"),8),ac=Ve(Ps("SkipSelf"),4);var Lo=(()=>((Lo=Lo||{})[Lo.Important=1]="Important",Lo[Lo.DashCase=2]="DashCase",Lo))();const sd=new Map;let b2=0;const u1="__ngContext__";function Wr(o,c){zn(c)?(o[u1]=c[20],function nh(o){sd.set(o[20],o)}(c)):o[u1]=c}function f1(o,c){return undefined(o,c)}function Pl(o){const c=o[3];return $n(c)?c[3]:c}function rl(o){return ud(o[13])}function Tc(o){return ud(o[4])}function ud(o){for(;null!==o&&!$n(o);)o=o[4];return o}function Xo(o,c,g,L,N){if(null!=L){let G,se=!1;$n(L)?G=L:zn(L)&&(se=!0,L=L[0]);const Ee=Yn(L);0===o&&null!==g?null==N?gd(c,g,Ee):$o(c,g,Ee,N||null,!0):1===o&&null!==g?$o(c,g,Ee,N||null,!0):2===o?function bd(o,c,g){const L=_1(o,c);L&&function _d(o,c,g,L){o.removeChild(c,g,L)}(o,L,c,g)}(c,Ee,se):3===o&&c.destroyNode(Ee),null!=G&&function lh(o,c,g,L,N){const G=g[7];G!==Yn(g)&&Xo(c,o,L,G,N);for(let Ee=10;Ee<g.length;Ee++){const Ye=g[Ee];Fl(Ye[1],Ye,o,c,L,G)}}(c,o,G,g,N)}}function ps(o,c,g){return o.createElement(c,g)}function md(o,c){const g=o[9],L=g.indexOf(c),N=c[3];512&c[2]&&(c[2]&=-513,Yi(N,-1)),g.splice(L,1)}function S2(o,c){if(o.length<=10)return;const g=10+c,L=o[g];if(L){const N=L[17];null!==N&&N!==o&&md(N,L),c>0&&(o[g-1][4]=L[4]);const G=rt(o,10+c);!function Qu(o,c){Fl(o,c,c[11],2,null,null),c[0]=null,c[6]=null}(L[1],L);const se=G[19];null!==se&&se.detachView(G[1]),L[3]=null,L[4]=null,L[2]&=-65}return L}function sc(o,c){if(!(128&c[2])){const g=c[11];g.destroyNode&&Fl(o,c,g,3,null,null),function Xu(o){let c=o[13];if(!c)return Hs(o[1],o);for(;c;){let g=null;if(zn(c))g=c[13];else{const L=c[10];L&&(g=L)}if(!g){for(;c&&!c[4]&&c!==o;)zn(c)&&Hs(c[1],c),c=c[3];null===c&&(c=o),zn(c)&&Hs(c[1],c),g=c&&c[4]}c=g}}(c)}}function Hs(o,c){if(!(128&c[2])){c[2]&=-65,c[2]|=128,function pd(o,c){let g;if(null!=o&&null!=(g=o.destroyHooks))for(let L=0;L<g.length;L+=2){const N=c[g[L]];if(!(N instanceof Ct)){const G=g[L+1];if(Array.isArray(G))for(let se=0;se<G.length;se+=2){const Ee=N[G[se]],Ye=G[se+1];try{Ye.call(Ee)}finally{}}else try{G.call(N)}finally{}}}}(o,c),function $u(o,c){const g=o.cleanup,L=c[7];let N=-1;if(null!==g)for(let G=0;G<g.length-1;G+=2)if("string"==typeof g[G]){const se=g[G+3];se>=0?L[N=se]():L[N=-se].unsubscribe(),G+=2}else{const se=L[N=g[G+1]];g[G].call(se)}if(null!==L){for(let G=N+1;G<L.length;G++)(0,L[G])();c[7]=null}}(o,c),1===c[1].type&&c[11].destroy();const g=c[17];if(null!==g&&$n(c[3])){g!==c[3]&&md(g,c);const L=c[19];null!==L&&L.detachView(o)}!function Yu(o){sd.delete(o[20])}(c)}}function ch(o,c,g){return function E2(o,c,g){let L=c;for(;null!==L&&40&L.type;)L=(c=L).parent;if(null===L)return g[0];{const{componentOffset:N}=L;if(N>-1){const{encapsulation:G}=o.data[L.directiveStart+N];if(G===$t.None||G===$t.Emulated)return null}return ca(L,g)}}(o,c.parent,g)}function $o(o,c,g,L,N){o.insertBefore(c,g,L,N)}function gd(o,c,g){o.appendChild(c,g)}function cc(o,c,g,L,N){null!==L?$o(o,c,g,L,N):gd(o,c,g)}function _1(o,c){return o.parentNode(c)}function xr(o,c,g){return vd(o,c,g)}let Hl,y1,zl,vd=function sl(o,c,g){return 40&o.type?ca(o,g):null};function lc(o,c,g,L){const N=ch(o,L,c),G=c[11],Ee=xr(L.parent||c[6],L,c);if(null!=N)if(Array.isArray(g))for(let Ye=0;Ye<g.length;Ye++)cc(G,N,g[Ye],Ee,!1);else cc(G,N,g,Ee,!1)}function zs(o,c){if(null!==c){const g=c.type;if(3&g)return ca(c,o);if(4&g)return v1(-1,o[c.index]);if(8&g){const L=c.child;if(null!==L)return zs(o,L);{const N=o[c.index];return $n(N)?v1(-1,N):Yn(N)}}if(32&g)return f1(c,o)()||Yn(o[c.index]);{const L=D2(o,c);return null!==L?Array.isArray(L)?L[0]:zs(Pl(o[16]),L):zs(o,c.next)}}return null}function D2(o,c){return null!==c?o[16][6].projection[c.projection]:null}function v1(o,c){const g=10+o+1;if(g<c.length){const L=c[g],N=L[1].firstChild;if(null!==N)return zs(L,N)}return c[7]}function yd(o,c,g,L,N,G,se){for(;null!=g;){const Ee=L[g.index],Ye=g.type;if(se&&0===c&&(Ee&&Wr(Yn(Ee),L),g.flags|=2),32!=(32&g.flags))if(8&Ye)yd(o,c,g.child,L,N,G,!1),Xo(c,o,N,Ee,G);else if(32&Ye){const gt=f1(g,L);let kt;for(;kt=gt();)Xo(c,o,N,kt,G);Xo(c,o,N,Ee,G)}else 16&Ye?xd(o,c,L,g,N,G):Xo(c,o,N,Ee,G);g=se?g.projectionNext:g.next}}function Fl(o,c,g,L,N,G){yd(g,L,o.firstChild,c,N,G,!1)}function xd(o,c,g,L,N,G){const se=g[16],Ye=se[6].projection[L.projection];if(Array.isArray(Ye))for(let gt=0;gt<Ye.length;gt++)Xo(c,o,N,Ye[gt],G);else yd(o,c,Ye,se[3],N,G,!0)}function Cd(o,c,g){""===g?o.removeAttribute(c,"class"):o.setAttribute(c,"class",g)}function wd(o,c,g){const{mergedAttrs:L,classes:N,styles:G}=g;null!==L&&tn(o,c,L),null!==N&&Cd(o,c,N),null!==G&&function I2(o,c,g){o.setAttribute(c,"style",g)}(o,c,G)}function Ac(o){return function b1(){if(void 0===Hl&&(Hl=null,At.trustedTypes))try{Hl=At.trustedTypes.createPolicy("angular",{createHTML:o=>o,createScript:o=>o,createScriptURL:o=>o})}catch{}return Hl}()?.createHTML(o)||o}function O2(o){y1=o}function Md(){if(void 0===zl&&(zl=null,At.trustedTypes))try{zl=At.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:o=>o,createScript:o=>o,createScriptURL:o=>o})}catch{}return zl}function Sd(o){return Md()?.createHTML(o)||o}function Ed(o){return Md()?.createScriptURL(o)||o}class Dc{constructor(c){this.changingThisBreaksApplicationSecurity=c}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${U})`}}class R2 extends Dc{getTypeName(){return"HTML"}}class fh extends Dc{getTypeName(){return"Style"}}class N2 extends Dc{getTypeName(){return"Script"}}class F2 extends Dc{getTypeName(){return"URL"}}class mh extends Dc{getTypeName(){return"ResourceURL"}}function ro(o){return o instanceof Dc?o.changingThisBreaksApplicationSecurity:o}function ll(o,c){const g=function ph(o){return o instanceof Dc&&o.getTypeName()||null}(o);if(null!=g&&g!==c){if("ResourceURL"===g&&"URL"===c)return!0;throw new Error(`Required a safe ${c}, got a ${g} (see ${U})`)}return g===c}function H2(o){return new R2(o)}function gh(o){return new fh(o)}function _h(o){return new N2(o)}function vh(o){return new F2(o)}function z2(o){return new mh(o)}class bh{constructor(c){this.inertDocumentHelper=c}getInertBodyElement(c){c="<body><remove></remove>"+c;try{const g=(new window.DOMParser).parseFromString(Ac(c),"text/html").body;return null===g?this.inertDocumentHelper.getInertBodyElement(c):(g.removeChild(g.firstChild),g)}catch{return null}}}class yh{constructor(c){if(this.defaultDoc=c,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const g=this.inertDocument.createElement("html");this.inertDocument.appendChild(g);const L=this.inertDocument.createElement("body");g.appendChild(L)}}getInertBodyElement(c){const g=this.inertDocument.createElement("template");if("content"in g)return g.innerHTML=Ac(c),g;const L=this.inertDocument.createElement("body");return L.innerHTML=Ac(c),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(L),L}stripCustomNsAttrs(c){const g=c.attributes;for(let N=g.length-1;0<N;N--){const se=g.item(N).name;("xmlns:ns1"===se||0===se.indexOf("ns1:"))&&c.removeAttribute(se)}let L=c.firstChild;for(;L;)L.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(L),L=L.nextSibling}}const U2=/^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;function x1(o){return(o=String(o)).match(U2)?o:"unsafe:"+o}function gs(o){const c={};for(const g of o.split(","))c[g]=!0;return c}function Vl(...o){const c={};for(const g of o)for(const L in g)g.hasOwnProperty(L)&&(c[L]=!0);return c}const G2=gs("area,br,col,hr,img,wbr"),Z2=gs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),C1=gs("rp,rt"),Td=Vl(G2,Vl(Z2,gs("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")),Vl(C1,gs("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")),Vl(C1,Z2)),w1=gs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ad=Vl(w1,gs("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"),gs("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")),Y2=gs("script,style,template");class j2{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(c){let g=c.firstChild,L=!0;for(;g;)if(g.nodeType===Node.ELEMENT_NODE?L=this.startElement(g):g.nodeType===Node.TEXT_NODE?this.chars(g.nodeValue):this.sanitizedSomething=!0,L&&g.firstChild)g=g.firstChild;else for(;g;){g.nodeType===Node.ELEMENT_NODE&&this.endElement(g);let N=this.checkClobberedElement(g,g.nextSibling);if(N){g=N;break}g=this.checkClobberedElement(g,g.parentNode)}return this.buf.join("")}startElement(c){const g=c.nodeName.toLowerCase();if(!Td.hasOwnProperty(g))return this.sanitizedSomething=!0,!Y2.hasOwnProperty(g);this.buf.push("<"),this.buf.push(g);const L=c.attributes;for(let N=0;N<L.length;N++){const G=L.item(N),se=G.name,Ee=se.toLowerCase();if(!Ad.hasOwnProperty(Ee)){this.sanitizedSomething=!0;continue}let Ye=G.value;w1[Ee]&&(Ye=x1(Ye)),this.buf.push(" ",se,'="',Dd(Ye),'"')}return this.buf.push(">"),!0}endElement(c){const g=c.nodeName.toLowerCase();Td.hasOwnProperty(g)&&!G2.hasOwnProperty(g)&&(this.buf.push("</"),this.buf.push(g),this.buf.push(">"))}chars(c){this.buf.push(Dd(c))}checkClobberedElement(c,g){if(g&&(c.compareDocumentPosition(g)&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 g}}const K2=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,dl=/([^\#-~ |!])/g;function Dd(o){return o.replace(/&/g,"&").replace(K2,function(c){return"&#"+(1024*(c.charCodeAt(0)-55296)+(c.charCodeAt(1)-56320)+65536)+";"}).replace(dl,function(c){return"&#"+c.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let M1;function Q2(o,c){let g=null;try{M1=M1||function V2(o){const c=new yh(o);return function B2(){try{return!!(new window.DOMParser).parseFromString(Ac(""),"text/html")}catch{return!1}}()?new bh(c):c}(o);let L=c?String(c):"";g=M1.getInertBodyElement(L);let N=5,G=L;do{if(0===N)throw new Error("Failed to sanitize html because the input is unstable");N--,L=G,G=g.innerHTML,g=M1.getInertBodyElement(L)}while(L!==G);return Ac((new j2).sanitizeChildren(Ld(g)||g))}finally{if(g){const L=Ld(g)||g;for(;L.firstChild;)L.removeChild(L.firstChild)}}}function Ld(o){return"content"in o&&function q2(o){return o.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===o.nodeName}(o)?o.content:null}var Ja=(()=>((Ja=Ja||{})[Ja.NONE=0]="NONE",Ja[Ja.HTML=1]="HTML",Ja[Ja.STYLE=2]="STYLE",Ja[Ja.SCRIPT=3]="SCRIPT",Ja[Ja.URL=4]="URL",Ja[Ja.RESOURCE_URL=5]="RESOURCE_URL",Ja))();function hl(o){const c=Lc();return c?Sd(c.sanitize(Ja.HTML,o)||""):ll(o,"HTML")?Sd(ro(o)):Q2(function P2(){return void 0!==y1?y1:typeof document<"u"?document:void 0}(),$(o))}function X2(o){const c=Lc();return c?c.sanitize(Ja.URL,o)||"":ll(o,"URL")?ro(o):x1($(o))}function ul(o){const c=Lc();if(c)return Ed(c.sanitize(Ja.RESOURCE_URL,o)||"");if(ll(o,"ResourceURL"))return Ed(ro(o));throw new Y(904,!1)}function wh(o,c,g){return function o3(o,c){return"src"===c&&("embed"===o||"frame"===o||"iframe"===o||"media"===o||"script"===o)||"href"===c&&("base"===o||"link"===o)?ul:X2}(c,g)(o)}function Lc(){const o=wi();return o&&o[12]}const Ic=new da("ENVIRONMENT_INITIALIZER"),$2=new da("INJECTOR",-1),e0=new da("INJECTOR_DEF_TYPES");class dc{get(c,g=ke){if(g===ke){const L=new Error(`NullInjectorError: No provider for ${P(c)}!`);throw L.name="NullInjectorError",L}return g}}function Mh(o){return{\u0275providers:o}}function Id(...o){return{\u0275providers:fl(0,o),\u0275fromNgModule:!0}}function fl(o,...c){const g=[],L=new Set;let N;return re(c,G=>{const se=G;kc(se,g,[],L)&&(N||(N=[]),N.push(se))}),void 0!==N&&t0(N,g),g}function t0(o,c){for(let g=0;g<o.length;g++){const{providers:N}=o[g];Vs(N,G=>{c.push(G)})}}function kc(o,c,g,L){if(!(o=O(o)))return!1;let N=null,G=Ae(o);const se=!G&&bi(o);if(G||se){if(se&&!se.standalone)return!1;N=o}else{const Ye=o.ngModule;if(G=Ae(Ye),!G)return!1;N=Ye}const Ee=L.has(N);if(se){if(Ee)return!1;if(L.add(N),se.dependencies){const Ye="function"==typeof se.dependencies?se.dependencies():se.dependencies;for(const gt of Ye)kc(gt,c,g,L)}}else{if(!G)return!1;{if(null!=G.imports&&!Ee){let gt;L.add(N);try{re(G.imports,kt=>{kc(kt,c,g,L)&&(gt||(gt=[]),gt.push(kt))})}finally{}void 0!==gt&&t0(gt,c)}if(!Ee){const gt=Ya(N)||(()=>new N);c.push({provide:N,useFactory:gt,deps:ft},{provide:e0,useValue:N,multi:!0},{provide:Ic,useValue:()=>It(N),multi:!0})}const Ye=G.providers;null==Ye||Ee||Vs(Ye,kt=>{c.push(kt)})}}return N!==o&&void 0!==o.providers}function Vs(o,c){for(let g of o)R(g)&&(g=g.\u0275providers),Array.isArray(g)?Vs(g,c):c(g)}const Ar=C({provide:String,useValue:C});function Ul(o){return null!==o&&"object"==typeof o&&Ar in o}function Bs(o){return"function"==typeof o}const ml=new da("Set Injector scope."),Us={},Sh={};let S1;function Zl(){return void 0===S1&&(S1=new dc),S1}class Oc{}class kd extends Oc{get destroyed(){return this._destroyed}constructor(c,g,L,N){super(),this.parent=g,this.source=L,this.scopes=N,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,hc(c,se=>this.processProvider(se)),this.records.set($2,Pc(void 0,this)),N.has("environment")&&this.records.set(Oc,Pc(void 0,this));const G=this.records.get(ml);null!=G&&"string"==typeof G.value&&this.scopes.add(G.value),this.injectorDefTypes=new Set(this.get(e0.multi,ft,Ge.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 g=Ht(this),L=pt(void 0);try{return c()}finally{Ht(g),pt(L)}}get(c,g=ke,L=Ge.Default){this.assertNotDestroyed(),L=J(L);const N=Ht(this),G=pt(void 0);try{if(!(L&Ge.SkipSelf)){let Ee=this.records.get(c);if(void 0===Ee){const Ye=function E1(o){return"function"==typeof o||"object"==typeof o&&o instanceof da}(c)&&ye(c);Ee=Ye&&this.injectableDefInScope(Ye)?Pc(Od(c),Us):null,this.records.set(c,Ee)}if(null!=Ee)return this.hydrate(c,Ee)}return(L&Ge.Self?Zl():this.parent).get(c,g=L&Ge.Optional&&g===ke?null:g)}catch(se){if("NullInjectorError"===se.name){if((se[wt]=se[wt]||[]).unshift(P(c)),N)throw se;return function ei(o,c,g,L){const N=o[wt];throw c[qe]&&N.unshift(c[qe]),o.message=function Bt(o,c,g,L=null){o=o&&"\n"===o.charAt(0)&&"\u0275"==o.charAt(1)?o.slice(2):o;let N=P(c);if(Array.isArray(c))N=c.map(P).join(" -> ");else if("object"==typeof c){let G=[];for(let se in c)if(c.hasOwnProperty(se)){let Ee=c[se];G.push(se+":"+("string"==typeof Ee?JSON.stringify(Ee):P(Ee)))}N=`{${G.join(", ")}}`}return`${g}${L?"("+L+")":""}[${N}]: ${o.replace(Fe,"\n ")}`}("\n"+o.message,N,g,L),o.ngTokenPath=N,o[wt]=null,o}(se,c,"R3InjectorError",this.source)}throw se}finally{pt(G),Ht(N)}}resolveInjectorInitializers(){const c=Ht(this),g=pt(void 0);try{const L=this.get(Ic.multi,ft,Ge.Self);for(const N of L)N()}finally{Ht(c),pt(g)}}toString(){const c=[],g=this.records;for(const L of g.keys())c.push(P(L));return`R3Injector[${c.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Y(205,!1)}processProvider(c){let g=Bs(c=O(c))?c:O(c&&c.provide);const L=function o0(o){return Ul(o)?Pc(void 0,o.useValue):Pc(Pd(o),Us)}(c);if(Bs(c)||!0!==c.multi)this.records.get(g);else{let N=this.records.get(g);N||(N=Pc(void 0,Us,!0),N.factory=()=>be(N.multi),this.records.set(g,N)),g=c,N.multi.push(c)}this.records.set(g,L)}hydrate(c,g){return g.value===Us&&(g.value=Sh,g.value=g.factory()),"object"==typeof g.value&&g.value&&function Eh(o){return null!==o&&"object"==typeof o&&"function"==typeof o.ngOnDestroy}(g.value)&&this._ngOnDestroyHooks.add(g.value),g.value}injectableDefInScope(c){if(!c.providedIn)return!1;const g=O(c.providedIn);return"string"==typeof g?"any"===g||this.scopes.has(g):this.injectorDefTypes.has(g)}}function Od(o){const c=ye(o),g=null!==c?c.factory:Ya(o);if(null!==g)return g;if(o instanceof da)throw new Y(204,!1);if(o instanceof Function)return function r0(o){const c=o.length;if(c>0)throw Dt(c,"?"),new Y(204,!1);const g=function oe(o){const c=o&&(o[de]||o[te]);if(c){const g=function Ke(o){if(o.hasOwnProperty("name"))return o.name;const c=(""+o).match(/^function\s*([^\s(]+)/);return null===c?"":c[1]}(o);return console.warn(`DEPRECATED: DI is instantiating a token "${g}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${g}" class.`),c}return null}(o);return null!==g?()=>g.factory(o):()=>new o}(o);throw new Y(204,!1)}function Pd(o,c,g){let L;if(Bs(o)){const N=O(o);return Ya(N)||Od(N)}if(Ul(o))L=()=>O(o.useValue);else if(function Gl(o){return!(!o||!o.useFactory)}(o))L=()=>o.useFactory(...be(o.deps||[]));else if(function n0(o){return!(!o||!o.useExisting)}(o))L=()=>It(O(o.useExisting));else{const N=O(o&&(o.useClass||o.provide));if(!function s0(o){return!!o.deps}(o))return Ya(N)||Od(N);L=()=>new N(...be(o.deps))}return L}function Pc(o,c,g=!1){return{factory:o,value:c,multi:g?[]:void 0}}function hc(o,c){for(const g of o)Array.isArray(g)?hc(g,c):g&&R(g)?hc(g.\u0275providers,c):c(g)}class c0{}class l0{}class Nd{resolveComponentFactory(c){throw function d0(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 es=(()=>{class o{}return o.NULL=new Nd,o})();function T1(){return Rr(Ha(),wi())}function Rr(o,c){return new pl(ca(o,c))}let pl=(()=>{class o{constructor(g){this.nativeElement=g}}return o.__NG_ELEMENT_ID__=T1,o})();function Wl(o){return o instanceof pl?o.nativeElement:o}class _s{}let Th=(()=>{class o{}return o.__NG_ELEMENT_ID__=()=>function c3(){const o=wi(),g=Mt(Ha().index,o);return(zn(g)?g:o)[11]}(),o})(),u0=(()=>{class o{}return o.\u0275prov=je({token:o,providedIn:"root",factory:()=>null}),o})();class Fd{constructor(c){this.full=c,this.major=c.split(".")[0],this.minor=c.split(".")[1],this.patch=c.split(".").slice(2).join(".")}}const Ah=new Fd("15.1.5"),A1={};function zd(o){return o.ngOriginalError}class gl{constructor(){this._console=console}handleError(c){const g=this._findOriginalError(c);this._console.error("ERROR",c),g&&this._console.error("ORIGINAL ERROR",g)}_findOriginalError(c){let g=c&&zd(c);for(;g&&zd(g);)g=zd(g);return g||null}}function Vd(o){return o.ownerDocument.defaultView}function Gs(o){return o instanceof Function?o():o}function g0(o,c,g){let L=o.length;for(;;){const N=o.indexOf(c,g);if(-1===N)return N;if(0===N||o.charCodeAt(N-1)<=32){const G=c.length;if(N+G===L||o.charCodeAt(N+G)<=32)return N}g=N+1}}const bl="ng-template";function Fh(o,c,g){let L=0;for(;L<o.length;){let N=o[L++];if(g&&"class"===N){if(N=o[L],-1!==g0(N.toLowerCase(),c,0))return!0}else if(1===N){for(;L<o.length&&"string"==typeof(N=o[L++]);)if(N.toLowerCase()===c)return!0;return!1}}return!1}function _0(o){return 4===o.type&&o.value!==bl}function Hh(o,c,g){return c===(4!==o.type||g?o.value:bl)}function zh(o,c,g){let L=4;const N=o.attrs||[],G=function Bh(o){for(let c=0;c<o.length;c++)if(xn(o[c]))return c;return o.length}(N);let se=!1;for(let Ee=0;Ee<c.length;Ee++){const Ye=c[Ee];if("number"!=typeof Ye){if(!se)if(4&L){if(L=2|1&L,""!==Ye&&!Hh(o,Ye,g)||""===Ye&&1===c.length){if(ts(L))return!1;se=!0}}else{const gt=8&L?Ye:c[++Ee];if(8&L&&null!==o.attrs){if(!Fh(o.attrs,gt,g)){if(ts(L))return!1;se=!0}continue}const qt=v0(8&L?"class":Ye,N,_0(o),g);if(-1===qt){if(ts(L))return!1;se=!0;continue}if(""!==gt){let si;si=qt>G?"":N[qt+1].toLowerCase();const _i=8&L?si:null;if(_i&&-1!==g0(_i,gt,0)||2&L&>!==si){if(ts(L))return!1;se=!0}}}}else{if(!se&&!ts(L)&&!ts(Ye))return!1;if(se&&ts(Ye))continue;se=!1,L=Ye|1&L}}return ts(L)||se}function ts(o){return 0==(1&o)}function v0(o,c,g,L){if(null===c)return-1;let N=0;if(L||!g){let G=!1;for(;N<c.length;){const se=c[N];if(se===o)return N;if(3===se||6===se)G=!0;else{if(1===se||2===se){let Ee=c[++N];for(;"string"==typeof Ee;)Ee=c[++N];continue}if(4===se)break;if(0===se){N+=4;continue}}N+=G?1:2}return-1}return function y0(o,c){let g=o.indexOf(4);if(g>-1)for(g++;g<o.length;){const L=o[g];if("number"==typeof L)return-1;if(L===c)return g;g++}return-1}(c,o)}function b0(o,c,g=!1){for(let L=0;L<c.length;L++)if(zh(o,c[L],g))return!0;return!1}function Yl(o,c){e:for(let g=0;g<c.length;g++){const L=c[g];if(o.length===L.length){for(let N=0;N<o.length;N++)if(o[N]!==L[N])continue e;return!0}}return!1}function Rc(o,c){return o?":not("+c.trim()+")":c}function Uh(o){let c=o[0],g=1,L=2,N="",G=!1;for(;g<o.length;){let se=o[g];if("string"==typeof se)if(2&L){const Ee=o[++g];N+="["+se+(Ee.length>0?'="'+Ee+'"':"")+"]"}else 8&L?N+="."+se:4&L&&(N+=" "+se);else""!==N&&!ts(se)&&(c+=Rc(G,N),N=""),L=se,G=G||!ts(L);g++}return""!==N&&(c+=Rc(G,N)),c}const Fn={};function Ud(o){Gd(Ln(),wi(),Oa()+o,!1)}function Gd(o,c,g,L){if(!L)if(3==(3&c[2])){const G=o.preOrderCheckHooks;null!==G&&Wi(c,G,g)}else{const G=o.preOrderHooks;null!==G&&Ie(c,G,0,g)}qa(g)}function jd(o,c=null,g=null,L){const N=Kd(o,c,g,L);return N.resolveInjectorInitializers(),N}function Kd(o,c=null,g=null,L,N=new Set){const G=[g||ft,Id(o)];return L=L||("object"==typeof o?void 0:P(o)),new kd(G,c||Zl(),L||null,N)}let uc=(()=>{class o{static create(g,L){if(Array.isArray(g))return jd({name:""},L,g,"");{const N=g.name??"";return jd({name:N},g.parent,g.providers,N)}}}return o.THROW_IF_NOT_FOUND=ke,o.NULL=new dc,o.\u0275prov=je({token:o,providedIn:"any",factory:()=>It($2)}),o.__NG_ELEMENT_ID__=-1,o})();function bs(o,c=Ge.Default){const g=wi();return null===g?It(o,c):K1(Ha(),g,O(o),c)}function fc(){throw new Error("invalid")}function Qd(o,c){const g=o.contentQueries;if(null!==g)for(let L=0;L<g.length;L+=2){const G=g[L+1];if(-1!==G){const se=o.data[G];ss(g[L]),se.contentQueries(2,c[G],G)}}}function En(o,c,g,L,N,G,se,Ee,Ye,gt,kt){const qt=c.blueprint.slice();return qt[0]=N,qt[2]=76|L,(null!==kt||o&&1024&o[2])&&(qt[2]|=1024),la(qt),qt[3]=qt[15]=o,qt[8]=g,qt[10]=se||o&&o[10],qt[11]=Ee||o&&o[11],qt[12]=Ye||o&&o[12]||null,qt[9]=gt||o&&o[9]||null,qt[6]=G,qt[20]=function al(){return b2++}(),qt[21]=kt,qt[16]=2==c.type?o[16]:qt,qt}function Xn(o,c,g,L,N){let G=o.data[c];if(null===G)G=function Xa(o,c,g,L,N){const G=Yo(),se=jo(),Ye=o.data[c]=function Mf(o,c,g,L,N,G){return{type:g,index:L,insertBeforeIndex:null,injectorIndex:c?c.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:0,providerIndexes:0,value:N,attrs:G,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next: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,se?G:G&&G.parent,g,c,L,N);return null===o.firstChild&&(o.firstChild=Ye),null!==G&&(se?null==G.child&&null!==Ye.parent&&(G.child=Ye):null===G.next&&(G.next=Ye)),Ye}(o,c,g,L,N),function No(){return bn.lFrame.inI18n}()&&(G.flags|=32);else if(64&G.type){G.type=g,G.value=L,G.attrs=N;const se=function eo(){const o=bn.lFrame,c=o.currentTNode;return o.isParent?c:c.parent}();G.injectorIndex=null===se?-1:se.injectorIndex}return vr(G,!0),G}function ko(o,c,g,L){if(0===g)return-1;const N=c.length;for(let G=0;G<g;G++)c.push(L),o.blueprint.push(L),o.data.push(null);return N}function bo(o,c,g){$s(c);try{const L=o.viewQuery;null!==L&&$h(1,L,g);const N=o.template;null!==N&&Va(o,c,N,1,g),o.firstCreatePass&&(o.firstCreatePass=!1),o.staticContentQueries&&Qd(o,c),o.staticViewQueries&&$h(2,o.viewQuery,g);const G=o.components;null!==G&&function Cn(o,c){for(let g=0;g<c.length;g++)Jh(o,c[g])}(c,G)}catch(L){throw o.firstCreatePass&&(o.incompleteFirstPass=!0,o.firstCreatePass=!1),L}finally{c[2]&=-5,to()}}function ys(o,c,g,L){const N=c[2];if(128!=(128&N)){$s(c);try{la(c),function Qa(o){return bn.lFrame.bindingIndex=o}(o.bindingStartIndex),null!==g&&Va(o,c,g,2,L);const se=3==(3&N);if(se){const gt=o.preOrderCheckHooks;null!==gt&&Wi(c,gt,null)}else{const gt=o.preOrderHooks;null!==gt&&Ie(c,gt,0,null),vt(c,0)}if(function Nm(o){for(let c=rl(o);null!==c;c=Tc(c)){if(!c[2])continue;const g=c[9];for(let L=0;L<g.length;L++){const N=g[L];512&N[2]||Yi(N[3],1),N[2]|=512}}}(c),function g3(o){for(let c=rl(o);null!==c;c=Tc(c))for(let g=10;g<c.length;g++){const L=c[g],N=L[1];Pi(L)&&ys(N,L,N.template,L[8])}}(c),null!==o.contentQueries&&Qd(o,c),se){const gt=o.contentCheckHooks;null!==gt&&Wi(c,gt)}else{const gt=o.contentHooks;null!==gt&&Ie(c,gt,1),vt(c,1)}!function Yh(o,c){const g=o.hostBindingOpCodes;if(null!==g)try{for(let L=0;L<g.length;L++){const N=g[L];if(N<0)qa(~N);else{const G=N,se=g[++L],Ee=g[++L];Xs(se,G),Ee(2,c[G])}}}finally{qa(-1)}}(o,c);const Ee=o.components;null!==Ee&&function mn(o,c){for(let g=0;g<c.length;g++)Fm(o,c[g])}(c,Ee);const Ye=o.viewQuery;if(null!==Ye&&$h(2,Ye,L),se){const gt=o.viewCheckHooks;null!==gt&&Wi(c,gt)}else{const gt=o.viewHooks;null!==gt&&Ie(c,gt,2),vt(c,2)}!0===o.firstUpdatePass&&(o.firstUpdatePass=!1),c[2]&=-41,512&c[2]&&(c[2]&=-513,Yi(c[3],-1))}finally{to()}}}function Va(o,c,g,L,N){const G=Oa(),se=2&L;try{qa(-1),se&&c.length>22&&Gd(o,c,22,!1),g(L,N)}finally{qa(G)}}function qd(o,c,g){if(Lr(c)){const N=c.directiveEnd;for(let G=c.directiveStart;G<N;G++){const se=o.data[G];se.contentQueries&&se.contentQueries(1,g[G],G)}}}function Jd(o,c,g){xi()&&(function Df(o,c,g,L){const N=g.directiveStart,G=g.directiveEnd;Sr(g)&&function Pf(o,c,g){const L=ca(c,o),N=Ys(g),G=o[10],se=T0(o,En(o,N,null,g.onPush?32:16,L,c,G,G.createRenderer(L,g),null,null,null));o[c.index]=se}(c,g,o.data[N+g.componentOffset]),o.firstCreatePass||Wc(g,c),Wr(L,c);const se=g.initialInputs;for(let Ee=N;Ee<G;Ee++){const Ye=o.data[Ee],gt=cs(c,o,Ee,g);Wr(gt,c),null!==se&&Rf(0,Ee-N,gt,Ye,0,se),Kn(Ye)&&(Mt(g.index,c)[8]=cs(c,o,Ee,g))}}(o,c,g,ca(g,c)),64==(64&g.flags)&&f3(o,c,g))}function Hr(o,c,g=ca){const L=c.localNames;if(null!==L){let N=c.index+1;for(let G=0;G<L.length;G+=2){const se=L[G+1],Ee=-1===se?g(c,o):o[se];o[N++]=Ee}}}function Ys(o){const c=o.tView;return null===c||c.incompleteFirstPass?o.tView=Oo(1,null,o.template,o.decls,o.vars,o.directiveDefs,o.pipeDefs,o.viewQuery,o.schemas,o.consts):c}function Oo(o,c,g,L,N,G,se,Ee,Ye,gt){const kt=22+L,qt=kt+N,si=function I1(o,c){const g=[];for(let L=0;L<c;L++)g.push(L<o?null:Fn);return g}(kt,qt),_i="function"==typeof gt?gt():gt;return si[1]={type:o,blueprint:si,template:g,queries:null,viewQuery:Ee,declTNode:c,data:si.slice().fill(null,kt),bindingStartIndex:kt,expandoStartIndex:qt,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 se?se():se,firstChild:null,schemas:Ye,consts:_i,incompleteFirstPass:!1}}function d3(o,c,g,L){const N=b3(c);null===g?N.push(L):(N.push(g),o.firstCreatePass&&Hf(o).push(L,N.length-1))}function h3(o,c,g,L){for(let N in o)if(o.hasOwnProperty(N)){g=null===g?{}:g;const G=o[N];null===L?Sf(g,c,N,G):L.hasOwnProperty(N)&&Sf(g,c,L[N],G)}return g}function Sf(o,c,g,L){o.hasOwnProperty(g)?o[g].push(c,L):o[g]=[c,L]}function Po(o,c,g,L,N,G,se,Ee){const Ye=ca(c,g);let kt,gt=c.inputs;!Ee&&null!=gt&&(kt=gt[L])?(eu(o,g,kt,L,N),Sr(c)&&Ef(g,c.index)):3&c.type&&(L=function Pm(o){return"class"===o?"className":"for"===o?"htmlFor":"formaction"===o?"formAction":"innerHtml"===o?"innerHTML":"readonly"===o?"readOnly":"tabindex"===o?"tabIndex":o}(L),N=null!=se?se(N,c.value||"",L):N,G.setProperty(Ye,L,N))}function Ef(o,c){const g=Mt(c,o);16&g[2]||(g[2]|=32)}function jh(o,c,g,L){let N=!1;if(xi()){const G=null===L?null:{"":-1},se=function m3(o,c){const g=o.directiveRegistry;let L=null,N=null;if(g)for(let G=0;G<g.length;G++){const se=g[G];if(b0(c,se.selectors,!1))if(L||(L=[]),Kn(se))if(null!==se.findHostDirectiveDefs){const Ee=[];N=N||new Map,se.findHostDirectiveDefs(se,Ee,N),L.unshift(...Ee,se),Qh(o,c,Ee.length)}else L.unshift(se),Qh(o,c,0);else N=N||new Map,se.findHostDirectiveDefs?.(se,L,N),L.push(se)}return null===L?null:[L,N]}(o,g);let Ee,Ye;null===se?Ee=Ye=null:[Ee,Ye]=se,null!==Ee&&(N=!0,Kh(o,c,g,Ee,G,Ye)),G&&function If(o,c,g){if(c){const L=o.localNames=[];for(let N=0;N<c.length;N+=2){const G=g[c[N+1]];if(null==G)throw new Y(-301,!1);L.push(c[N],G)}}}(g,L,G)}return g.mergedAttrs=fa(g.mergedAttrs,g.attrs),N}function Kh(o,c,g,L,N,G){for(let gt=0;gt<L.length;gt++)tc(Wc(g,c),o,L[gt].type);!function kf(o,c,g){o.flags|=1,o.directiveStart=c,o.directiveEnd=c+g,o.providerIndexes=c}(g,o.data.length,L.length);for(let gt=0;gt<L.length;gt++){const kt=L[gt];kt.providersResolver&&kt.providersResolver(kt)}let se=!1,Ee=!1,Ye=ko(o,c,L.length,null);for(let gt=0;gt<L.length;gt++){const kt=L[gt];g.mergedAttrs=fa(g.mergedAttrs,kt.hostAttrs),Of(o,g,c,Ye,kt),qh(Ye,kt,N),null!==kt.contentQueries&&(g.flags|=4),(null!==kt.hostBindings||null!==kt.hostAttrs||0!==kt.hostVars)&&(g.flags|=64);const qt=kt.type.prototype;!se&&(qt.ngOnChanges||qt.ngOnInit||qt.ngDoCheck)&&((o.preOrderHooks||(o.preOrderHooks=[])).push(g.index),se=!0),!Ee&&(qt.ngOnChanges||qt.ngDoCheck)&&((o.preOrderCheckHooks||(o.preOrderCheckHooks=[])).push(g.index),Ee=!0),Ye++}!function Om(o,c,g){const N=c.directiveEnd,G=o.data,se=c.attrs,Ee=[];let Ye=null,gt=null;for(let kt=c.directiveStart;kt<N;kt++){const qt=G[kt],si=g?g.get(qt):null,Ri=si?si.outputs:null;Ye=h3(qt.inputs,kt,Ye,si?si.inputs:null),gt=h3(qt.outputs,kt,gt,Ri);const Ji=null===Ye||null===se||_0(c)?null:Nf(Ye,kt,se);Ee.push(Ji)}null!==Ye&&(Ye.hasOwnProperty("class")&&(c.flags|=8),Ye.hasOwnProperty("style")&&(c.flags|=16)),c.initialInputs=Ee,c.inputs=Ye,c.outputs=gt}(o,g,G)}function f3(o,c,g){const L=g.directiveStart,N=g.directiveEnd,G=g.index,se=function Es(){return bn.lFrame.currentDirectiveIndex}();try{qa(G);for(let Ee=L;Ee<N;Ee++){const Ye=o.data[Ee],gt=c[Ee];os(Ee),(null!==Ye.hostBindings||0!==Ye.hostVars||null!==Ye.hostAttrs)&&Lf(Ye,gt)}}finally{qa(-1),os(se)}}function Lf(o,c){null!==o.hostBindings&&o.hostBindings(1,c)}function Qh(o,c,g){c.componentOffset=g,(o.components||(o.components=[])).push(c.index)}function qh(o,c,g){if(g){if(c.exportAs)for(let L=0;L<c.exportAs.length;L++)g[c.exportAs[L]]=o;Kn(c)&&(g[""]=o)}}function Of(o,c,g,L,N){o.data[L]=N;const G=N.factory||(N.factory=Ya(N.type)),se=new Ct(G,Kn(N),bs);o.blueprint[L]=se,g[L]=se,function Af(o,c,g,L,N){const G=N.hostBindings;if(G){let se=o.hostBindingOpCodes;null===se&&(se=o.hostBindingOpCodes=[]);const Ee=~c.index;(function u3(o){let c=o.length;for(;c>0;){const g=o[--c];if("number"==typeof g&&g<0)return g}return 0})(se)!=Ee&&se.push(Ee),se.push(g,L,G)}}(o,c,L,ko(o,g,N.hostVars,Fn),N)}function js(o,c,g,L,N,G){const se=ca(o,c);!function p3(o,c,g,L,N,G,se){if(null==G)o.removeAttribute(c,N,g);else{const Ee=null==se?$(G):se(G,L||"",N);o.setAttribute(c,N,Ee,g)}}(c[11],se,G,o.value,g,L,N)}function Rf(o,c,g,L,N,G){const se=G[c];if(null!==se){const Ee=L.setInput;for(let Ye=0;Ye<se.length;){const gt=se[Ye++],kt=se[Ye++],qt=se[Ye++];null!==Ee?L.setInput(g,qt,gt,kt):g[kt]=qt}}}function Nf(o,c,g){let L=null,N=0;for(;N<g.length;){const G=g[N];if(0!==G)if(5!==G){if("number"==typeof G)break;if(o.hasOwnProperty(G)){null===L&&(L=[]);const se=o[G];for(let Ee=0;Ee<se.length;Ee+=2)if(se[Ee]===c){L.push(G,se[Ee+1],g[N+1]);break}}N+=2}else N+=2;else N+=4}return L}function Ff(o,c,g,L){return[o,!0,!1,c,null,0,L,g,null,null]}function Fm(o,c){const g=Mt(c,o);if(Pi(g)){const L=g[1];48&g[2]?ys(L,g,L.template,g[8]):g[5]>0&&_3(g)}}function _3(o){for(let L=rl(o);null!==L;L=Tc(L))for(let N=10;N<L.length;N++){const G=L[N];if(Pi(G))if(512&G[2]){const se=G[1];ys(se,G,se.template,G[8])}else G[5]>0&&_3(G)}const g=o[1].components;if(null!==g)for(let L=0;L<g.length;L++){const N=Mt(g[L],o);Pi(N)&&N[5]>0&&_3(N)}}function Jh(o,c){const g=Mt(c,o),L=g[1];(function Hm(o,c){for(let g=c.length;g<o.blueprint.length;g++)c.push(o.blueprint[g])})(L,g),bo(L,g,g[8])}function T0(o,c){return o[13]?o[14][4]=c:o[13]=c,o[14]=c,c}function v3(o){for(;o;){o[2]|=32;const c=Pl(o);if(Ga(o)&&!c)return o;o=c}return null}function Xh(o,c,g,L=!0){const N=c[10];N.begin&&N.begin();try{ys(o,c,o.template,g)}catch(se){throw L&&x3(c,se),se}finally{N.end&&N.end()}}function $h(o,c,g){ss(0),c(o,g)}function b3(o){return o[7]||(o[7]=[])}function Hf(o){return o.cleanup||(o.cleanup=[])}function y3(o,c,g){return(null===o||Kn(o))&&(g=function _r(o){for(;Array.isArray(o);){if("object"==typeof o[1])return o;o=o[0]}return null}(g[c.index])),g[11]}function x3(o,c){const g=o[9],L=g?g.get(gl,null):null;L&&L.handleError(c)}function eu(o,c,g,L,N){for(let G=0;G<g.length;){const se=g[G++],Ee=g[G++],Ye=c[se],gt=o.data[se];null!==gt.setInput?gt.setInput(Ye,N,L,Ee):Ye[Ee]=N}}function yl(o,c,g){const L=ja(c,o);!function Rl(o,c,g){o.setValue(c,g)}(o[11],L,g)}function tu(o,c,g){let L=g?o.styles:null,N=g?o.classes:null,G=0;if(null!==c)for(let se=0;se<c.length;se++){const Ee=c[se];"number"==typeof Ee?G=Ee:1==G?N=d(N,Ee):2==G&&(L=d(L,Ee+": "+c[++se]+";"))}g?o.styles=L:o.stylesWithoutHost=L,g?o.classes=N:o.classesWithoutHost=N}function A0(o,c,g,L,N=!1){for(;null!==g;){const G=c[g.index];if(null!==G&&L.push(Yn(G)),$n(G))for(let Ee=10;Ee<G.length;Ee++){const Ye=G[Ee],gt=Ye[1].firstChild;null!==gt&&A0(Ye[1],Ye,gt,L)}const se=g.type;if(8&se)A0(o,c,g.child,L);else if(32&se){const Ee=f1(g,c);let Ye;for(;Ye=Ee();)L.push(Ye)}else if(16&se){const Ee=D2(c,g);if(Array.isArray(Ee))L.push(...Ee);else{const Ye=Pl(c[16]);A0(Ye[1],Ye,Ee,L,!0)}}g=N?g.projectionNext:g.next}return L}class Xd{get rootNodes(){const c=this._lView,g=c[1];return A0(g,c,g.firstChild,[])}constructor(c,g){this._lView=c,this._cdRefInjectingView=g,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[8]}set context(c){this._lView[8]=c}get destroyed(){return 128==(128&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const c=this._lView[3];if($n(c)){const g=c[8],L=g?g.indexOf(this):-1;L>-1&&(S2(c,L),rt(g,L))}this._attachedToViewContainer=!1}sc(this._lView[1],this._lView)}onDestroy(c){d3(this._lView[1],this._lView,null,c)}markForCheck(){v3(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-65}reattach(){this._lView[2]|=64}detectChanges(){Xh(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Y(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function Ju(o,c){Fl(o,c,c[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(c){if(this._attachedToViewContainer)throw new Y(902,!1);this._appRef=c}}class zf extends Xd{constructor(c){super(c),this._view=c}detectChanges(){const c=this._view;Xh(c[1],c,c[8],!1)}checkNoChanges(){}get context(){return null}}class C3 extends es{constructor(c){super(),this.ngModule=c}resolveComponentFactory(c){const g=bi(c);return new $d(g,this.ngModule)}}function Vf(o){const c=[];for(let g in o)o.hasOwnProperty(g)&&c.push({propName:o[g],templateName:g});return c}class Bf{constructor(c,g){this.injector=c,this.parentInjector=g}get(c,g,L){L=J(L);const N=this.injector.get(c,A1,L);return N!==A1||g===A1?N:this.parentInjector.get(c,g,L)}}class $d extends l0{get inputs(){return Vf(this.componentDef.inputs)}get outputs(){return Vf(this.componentDef.outputs)}constructor(c,g){super(),this.componentDef=c,this.ngModule=g,this.componentType=c.type,this.selector=function Gh(o){return o.map(Uh).join(",")}(c.selectors),this.ngContentSelectors=c.ngContentSelectors?c.ngContentSelectors:[],this.isBoundToModule=!!g}create(c,g,L,N){let G=(N=N||this.ngModule)instanceof Oc?N:N?.injector;G&&null!==this.componentDef.getStandaloneInjector&&(G=this.componentDef.getStandaloneInjector(G)||G);const se=G?new Bf(c,G):c,Ee=se.get(_s,null);if(null===Ee)throw new Y(407,!1);const Ye=se.get(u0,null),gt=Ee.createRenderer(null,this.componentDef),kt=this.componentDef.selectors[0][0]||"div",qt=L?function E0(o,c,g){return o.selectRootElement(c,g===$t.ShadowDom)}(gt,L,this.componentDef.encapsulation):ps(gt,kt,function zm(o){const c=o.toLowerCase();return"svg"===c?"svg":"math"===c?"math":null}(kt)),si=this.componentDef.onPush?288:272,_i=Oo(0,null,null,1,0,null,null,null,null,null),Ri=En(null,_i,null,si,null,null,Ee,gt,Ye,se,null);let Ji,sn;$s(Ri);try{const _n=this.componentDef;let Pn,Ui=null;_n.findHostDirectiveDefs?(Pn=[],Ui=new Map,_n.findHostDirectiveDefs(_n,Pn,Ui),Pn.push(_n)):Pn=[_n];const Wn=function Bm(o,c){const g=o[1];return o[22]=c,Xn(g,22,2,"#host",null)}(Ri,qt),mr=function Um(o,c,g,L,N,G,se,Ee){const Ye=N[1];!function Gm(o,c,g,L){for(const N of o)c.mergedAttrs=fa(c.mergedAttrs,N.hostAttrs);null!==c.mergedAttrs&&(tu(c,c.mergedAttrs,!0),null!==g&&wd(L,g,c))}(L,o,c,se);const gt=G.createRenderer(c,g),kt=En(N,Ys(g),null,g.onPush?32:16,N[o.index],o,G,gt,Ee||null,null,null);return Ye.firstCreatePass&&Qh(Ye,o,L.length-1),T0(N,kt),N[o.index]=kt}(Wn,qt,_n,Pn,Ri,Ee,gt);sn=zt(_i,22),qt&&function Wm(o,c,g,L){if(L)tn(o,g,["ng-version",Ah.full]);else{const{attrs:N,classes:G}=function Bd(o){const c=[],g=[];let L=1,N=2;for(;L<o.length;){let G=o[L];if("string"==typeof G)2===N?""!==G&&c.push(G,o[++L]):8===N&&g.push(G);else{if(!ts(N))break;N=G}L++}return{attrs:c,classes:g}}(c.selectors[0]);N&&tn(o,g,N),G&&G.length>0&&Cd(o,g,G.join(" "))}}(gt,_n,qt,L),void 0!==g&&function Uf(o,c,g){const L=o.projection=[];for(let N=0;N<c.length;N++){const G=g[N];L.push(null!=G?Array.from(G):null)}}(sn,this.ngContentSelectors,g),Ji=function Zm(o,c,g,L,N,G){const se=Ha(),Ee=N[1],Ye=ca(se,N);Kh(Ee,N,se,g,null,L);for(let kt=0;kt<g.length;kt++)Wr(cs(N,Ee,se.directiveStart+kt,se),N);f3(Ee,N,se),Ye&&Wr(Ye,N);const gt=cs(N,Ee,se.directiveStart+se.componentOffset,se);if(o[8]=N[8]=gt,null!==G)for(const kt of G)kt(gt,c);return qd(Ee,se,o),gt}(mr,_n,Pn,Ui,Ri,[Ym]),bo(_i,Ri,null)}finally{to()}return new Vm(this.componentType,Ji,Rr(sn,Ri),Ri,sn)}}class Vm extends c0{constructor(c,g,L,N,G){super(),this.location=L,this._rootLView=N,this._tNode=G,this.instance=g,this.hostView=this.changeDetectorRef=new zf(N),this.componentType=c}setInput(c,g){const L=this._tNode.inputs;let N;if(null!==L&&(N=L[c])){const G=this._rootLView;eu(G[1],G,N,c,g),Ef(G,this._tNode.index)}}get injector(){return new lr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(c){this.hostView.onDestroy(c)}}function Ym(){const o=Ha();Sa(wi()[1],o)}function w3(o){let c=function Gf(o){return Object.getPrototypeOf(o.prototype).constructor}(o.type),g=!0;const L=[o];for(;c;){let N;if(Kn(o))N=c.\u0275cmp||c.\u0275dir;else{if(c.\u0275cmp)throw new Y(903,!1);N=c.\u0275dir}if(N){if(g){L.push(N);const se=o;se.inputs=iu(o.inputs),se.declaredInputs=iu(o.declaredInputs),se.outputs=iu(o.outputs);const Ee=N.hostBindings;Ee&&jm(o,Ee);const Ye=N.viewQuery,gt=N.contentQueries;if(Ye&&Wf(o,Ye),gt&&Yf(o,gt),h(o.inputs,N.inputs),h(o.declaredInputs,N.declaredInputs),h(o.outputs,N.outputs),Kn(N)&&N.data.animation){const kt=o.data;kt.animation=(kt.animation||[]).concat(N.data.animation)}}const G=N.features;if(G)for(let se=0;se<G.length;se++){const Ee=G[se];Ee&&Ee.ngInherit&&Ee(o),Ee===w3&&(g=!1)}}c=Object.getPrototypeOf(c)}!function Zf(o){let c=0,g=null;for(let L=o.length-1;L>=0;L--){const N=o[L];N.hostVars=c+=N.hostVars,N.hostAttrs=fa(N.hostAttrs,g=fa(g,N.hostAttrs))}}(L)}function iu(o){return o===Vt?{}:o===ft?[]:o}function Wf(o,c){const g=o.viewQuery;o.viewQuery=g?(L,N)=>{c(L,N),g(L,N)}:c}function Yf(o,c){const g=o.contentQueries;o.contentQueries=g?(L,N,G)=>{c(L,N,G),g(L,N,G)}:c}function jm(o,c){const g=o.hostBindings;o.hostBindings=g?(L,N)=>{c(L,N),g(L,N)}:c}let au=null;function Hc(){if(!au){const o=At.Symbol;if(o&&o.iterator)au=o.iterator;else{const c=Object.getOwnPropertyNames(Map.prototype);for(let g=0;g<c.length;++g){const L=c[g];"entries"!==L&&"size"!==L&&Map.prototype[L]===Map.prototype.entries&&(au=L)}}}return au}function ru(o){return!!T3(o)&&(Array.isArray(o)||!(o instanceof Map)&&Hc()in o)}function T3(o){return null!==o&&("function"==typeof o||"object"==typeof o)}function zc(o,c,g){return o[c]=g}function yo(o,c,g){return!Object.is(o[c],g)&&(o[c]=g,!0)}function k1(o,c,g,L){const N=yo(o,c,g);return yo(o,c+1,L)||N}function L0(o,c,g,L,N){const G=k1(o,c,g,L);return yo(o,c+2,N)||G}function A3(o,c,g,L){const N=wi();return yo(N,go(),c)&&(Ln(),js(ua(),N,o,c,g,L)),A3}function e2(o,c,g,L){return yo(o,go(),g)?c+$(g)+L:Fn}function P1(o,c,g,L,N,G){const Ee=k1(o,Ii(),g,N);return zi(2),Ee?c+$(g)+L+$(N)+G:Fn}function N1(o,c,g,L,N,G,se,Ee,Ye,gt){const qt=function xs(o,c,g,L,N,G){const se=k1(o,c,g,L);return k1(o,c+2,N,G)||se}(o,Ii(),g,N,se,Ye);return zi(4),qt?c+$(g)+L+$(N)+G+$(se)+Ee+$(Ye)+gt:Fn}function t4(o,c,g,L,N,G,se,Ee){const Ye=wi(),gt=Ln(),kt=o+22,qt=gt.firstCreatePass?function $m(o,c,g,L,N,G,se,Ee,Ye){const gt=c.consts,kt=Xn(c,o,4,se||null,ea(gt,Ee));jh(c,g,kt,ea(gt,Ye)),Sa(c,kt);const qt=kt.tViews=Oo(2,kt,L,N,G,c.directiveRegistry,c.pipeRegistry,null,c.schemas,gt);return null!==c.queries&&(c.queries.template(c,kt),qt.queries=c.queries.embeddedTView(kt)),kt}(kt,gt,Ye,c,g,L,N,G,se):gt.data[kt];vr(qt,!1);const si=Ye[11].createComment("");lc(gt,Ye,si,qt),Wr(si,Ye),T0(Ye,Ye[kt]=Ff(si,Ye,si,qt)),tr(qt)&&Jd(gt,Ye,qt),null!=se&&Hr(Ye,qt,Ee)}function i4(o){return oi(function Ss(){return bn.lFrame.contextLView}(),22+o)}function k3(o,c,g){const L=wi();return yo(L,go(),c)&&Po(Ln(),ua(),L,o,c,L[11],g,!1),k3}function ou(o,c,g,L,N){const se=N?"class":"style";eu(o,g,c.inputs[se],se,L)}function su(o,c,g,L){const N=wi(),G=Ln(),se=22+o,Ee=N[11],Ye=N[se]=ps(Ee,c,function qi(){return bn.lFrame.currentNamespace}()),gt=G.firstCreatePass?function tp(o,c,g,L,N,G,se){const Ee=c.consts,gt=Xn(c,o,2,N,ea(Ee,G));return jh(c,g,gt,ea(Ee,se)),null!==gt.attrs&&tu(gt,gt.attrs,!1),null!==gt.mergedAttrs&&tu(gt,gt.mergedAttrs,!0),null!==c.queries&&c.queries.elementStart(c,gt),gt}(se,G,N,0,c,g,L):G.data[se];return vr(gt,!0),wd(Ee,Ye,gt),32!=(32>.flags)&&lc(G,N,Ye,gt),0===function et(){return bn.lFrame.elementDepthCount}()&&Wr(Ye,N),function We(){bn.lFrame.elementDepthCount++}(),tr(gt)&&(Jd(G,N,gt),qd(G,gt,N)),null!==L&&Hr(N,gt),su}function n2(){let o=Ha();jo()?Ko():(o=o.parent,vr(o,!1));const c=o;!function Ot(){bn.lFrame.elementDepthCount--}();const g=Ln();return g.firstCreatePass&&(Sa(g,o),Lr(o)&&g.queries.elementEnd(o)),null!=c.classesWithoutHost&&function pi(o){return 0!=(8&o.flags)}(c)&&ou(g,c,wi(),c.classesWithoutHost,!0),null!=c.stylesWithoutHost&&function Ci(o){return 0!=(16&o.flags)}(c)&&ou(g,c,wi(),c.stylesWithoutHost,!1),n2}function O3(o,c,g,L){return su(o,c,g,L),n2(),O3}function cu(o,c,g){const L=wi(),N=Ln(),G=o+22,se=N.firstCreatePass?function ip(o,c,g,L,N){const G=c.consts,se=ea(G,L),Ee=Xn(c,o,8,"ng-container",se);return null!==se&&tu(Ee,se,!0),jh(c,g,Ee,ea(G,N)),null!==c.queries&&c.queries.elementStart(c,Ee),Ee}(G,N,L,c,g):N.data[G];vr(se,!0);const Ee=L[G]=L[11].createComment("");return lc(N,L,Ee,se),Wr(Ee,L),tr(se)&&(Jd(N,L,se),qd(N,se,L)),null!=g&&Hr(L,se),cu}function lu(){let o=Ha();const c=Ln();return jo()?Ko():(o=o.parent,vr(o,!1)),c.firstCreatePass&&(Sa(c,o),Lr(o)&&c.queries.elementEnd(o)),lu}function P3(o,c,g){return cu(o,c,g),lu(),P3}function n4(){return wi()}function du(o){return!!o&&"function"==typeof o.then}function hu(o){return!!o&&"function"==typeof o.subscribe}const qn=hu;function mc(o,c,g,L){const N=wi(),G=Ln(),se=Ha();return Uo(G,N,N[11],se,o,c,L),mc}function k0(o,c){const g=Ha(),L=wi(),N=Ln();return Uo(N,L,y3(So(N.data),g,L),g,o,c),k0}function Uo(o,c,g,L,N,G,se){const Ee=tr(L),gt=o.firstCreatePass&&Hf(o),kt=c[8],qt=b3(c);let si=!0;if(3&L.type||se){const Ji=ca(L,c),sn=se?se(Ji):Ji,_n=qt.length,Pn=se?Wn=>se(Yn(Wn[L.index])):L.index;let Ui=null;if(!se&&Ee&&(Ui=function uu(o,c,g,L){const N=o.cleanup;if(null!=N)for(let G=0;G<N.length-1;G+=2){const se=N[G];if(se===g&&N[G+1]===L){const Ee=c[7],Ye=N[G+2];return Ee.length>Ye?Ee[Ye]:null}"string"==typeof se&&(G+=2)}return null}(o,c,N,L.index)),null!==Ui)(Ui.__ngLastListenerFn__||Ui).__ngNextListenerFn__=G,Ui.__ngLastListenerFn__=G,si=!1;else{G=N3(L,c,kt,G,!1);const Wn=g.listen(sn,N,G);qt.push(G,Wn),gt&>.push(N,Pn,_n,_n+1)}}else G=N3(L,c,kt,G,!1);const _i=L.outputs;let Ri;if(si&&null!==_i&&(Ri=_i[N])){const Ji=Ri.length;if(Ji)for(let sn=0;sn<Ji;sn+=2){const mr=c[Ri[sn]][Ri[sn+1]].subscribe(G),Ur=qt.length;qt.push(G,mr),gt&>.push(N,L.index,Ur,-(Ur+1))}}}function R3(o,c,g,L){try{return!1!==g(L)}catch(N){return x3(o,N),!1}}function N3(o,c,g,L,N){return function G(se){if(se===Function)return L;v3(o.componentOffset>-1?Mt(o.index,c):c);let Ye=R3(c,0,L,se),gt=G.__ngNextListenerFn__;for(;gt;)Ye=R3(c,0,gt,se)&&Ye,gt=gt.__ngNextListenerFn__;return N&&!1===Ye&&(se.preventDefault(),se.returnValue=!1),Ye}}function O0(o=1){return function To(o){return(bn.lFrame.contextLView=function an(o,c){for(;o>0;)c=c[15],o--;return c}(o,bn.lFrame.contextLView))[8]}(o)}function F3(o,c){let g=null;const L=function Vh(o){const c=o.attrs;if(null!=c){const g=c.indexOf(5);if(!(1&g))return c[g+1]}return null}(o);for(let N=0;N<c.length;N++){const G=c[N];if("*"!==G){if(null===L?b0(o,G,!0):Yl(L,G))return N}else g=N}return g}function P0(o){const c=wi()[16][6];if(!c.projection){const L=c.projection=Dt(o?o.length:1,null),N=L.slice();let G=c.child;for(;null!==G;){const se=o?F3(G,o):0;null!==se&&(N[se]?N[se].projectionNext=G:L[se]=G,N[se]=G),G=G.next}}}function Cs(o,c=0,g){const L=wi(),N=Ln(),G=Xn(N,22+o,16,null,g||null);null===G.projection&&(G.projection=c),Ko(),32!=(32&G.flags)&&function L2(o,c,g){xd(c[11],0,c,g,ch(o,g,c),xr(g.parent||c[6],g,c))}(N,L,G)}function pc(o,c,g){return yn(o,"",c,"",g),pc}function yn(o,c,g,L,N){const G=wi(),se=e2(G,c,g,L);return se!==Fn&&Po(Ln(),ua(),G,o,se,G[11],N,!1),yn}function R0(o,c,g,L,N,G,se){const Ee=wi(),Ye=P1(Ee,c,g,L,N,G);return Ye!==Fn&&Po(Ln(),ua(),Ee,o,Ye,Ee[11],se,!1),R0}function z0(o,c){return o<<17|c<<2}function Ks(o){return o>>17&32767}function a2(o){return 2|o}function xl(o){return(131068&o)>>2}function Go(o,c){return-131069&o|c<<2}function V0(o){return 1|o}function Cl(o,c,g,L,N){const G=o[g+1],se=null===c;let Ee=L?Ks(G):xl(G),Ye=!1;for(;0!==Ee&&(!1===Ye||se);){const kt=o[Ee+1];wl(o[Ee],c)&&(Ye=!0,o[Ee+1]=L?V0(kt):a2(kt)),Ee=L?Ks(kt):xl(kt)}Ye&&(o[g+1]=L?a2(G):V0(G))}function wl(o,c){return null===o||null==c||(Array.isArray(o)?o[1]:o)===c||!(!Array.isArray(o)||"string"!=typeof c)&&Aa(o,c)>=0}const wr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function B0(o){return o.substring(wr.key,wr.keyEnd)}function or(o,c){const g=wr.textEnd;return g===c?-1:(c=wr.keyEnd=function _u(o,c,g){for(;c<g&&o.charCodeAt(c)>32;)c++;return c}(o,wr.key=c,g),V1(o,c,g))}function V1(o,c,g){for(;c<g&&o.charCodeAt(c)<=32;)c++;return c}function bu(o,c,g){return gc(o,c,g,!1),bu}function yu(o,c){return gc(o,c,null,!0),yu}function Cu(o){_c(Qi,ws,o,!0)}function ws(o,c){for(let g=function z1(o){return function ql(o){wr.key=0,wr.keyEnd=0,wr.value=0,wr.valueEnd=0,wr.textEnd=o.length}(o),or(o,V1(o,0,wr.textEnd))}(c);g>=0;g=or(c,g))Qi(o,B0(c),!0)}function gc(o,c,g,L){const N=wi(),G=Ln(),se=zi(2);G.firstUpdatePass&&c4(G,o,se,L),c!==Fn&&yo(N,se,c)&&d4(G,G.data[Oa()],N,N[11],o,N[se+1]=function rp(o,c){return null==o||("string"==typeof c?o+=c:"object"==typeof o&&(o=P(ro(o)))),o}(c,g),L,se)}function _c(o,c,g,L){const N=Ln(),G=zi(2);N.firstUpdatePass&&c4(N,null,G,L);const se=wi();if(g!==Fn&&yo(se,G,g)){const Ee=N.data[Oa()];if(W3(Ee,L)&&!s4(N,G)){let Ye=L?Ee.classesWithoutHost:Ee.stylesWithoutHost;null!==Ye&&(g=d(Ye,g||"")),ou(N,Ee,se,g,L)}else!function ap(o,c,g,L,N,G,se,Ee){N===Fn&&(N=ft);let Ye=0,gt=0,kt=0<N.length?N[0]:null,qt=0<G.length?G[0]:null;for(;null!==kt||null!==qt;){const si=Ye<N.length?N[Ye+1]:void 0,_i=gt<G.length?G[gt+1]:void 0;let Ji,Ri=null;kt===qt?(Ye+=2,gt+=2,si!==_i&&(Ri=qt,Ji=_i)):null===qt||null!==kt&&kt<qt?(Ye+=2,Ri=kt):(gt+=2,Ri=qt,Ji=_i),null!==Ri&&d4(o,c,g,L,Ri,Ji,se,Ee),kt=Ye<N.length?N[Ye]:null,qt=gt<G.length?G[gt]:null}}(N,Ee,se,se[11],se[G+1],se[G+1]=function np(o,c,g){if(null==g||""===g)return ft;const L=[],N=ro(g);if(Array.isArray(N))for(let G=0;G<N.length;G++)o(L,N[G],!0);else if("object"==typeof N)for(const G in N)N.hasOwnProperty(G)&&o(L,G,N[G]);else"string"==typeof N&&c(L,N);return L}(o,c,g),L,G)}}function s4(o,c){return c>=o.expandoStartIndex}function c4(o,c,g,L){const N=o.data;if(null===N[g+1]){const G=N[Oa()],se=s4(o,g);W3(G,L)&&null===c&&!se&&(c=!1),c=function Ms(o,c,g,L){const N=So(o);let G=L?c.residualClasses:c.residualStyles;if(null===N)0===(L?c.classBindings:c.styleBindings)&&(g=o2(g=Mu(null,o,c,g,L),c.attrs,L),G=null);else{const se=c.directiveStylingLast;if(-1===se||o[se]!==N)if(g=Mu(N,o,c,g,L),null===G){let Ye=function wu(o,c,g){const L=g?c.classBindings:c.styleBindings;if(0!==xl(L))return o[Ks(L)]}(o,c,L);void 0!==Ye&&Array.isArray(Ye)&&(Ye=Mu(null,o,c,Ye[1],L),Ye=o2(Ye,c.attrs,L),function U3(o,c,g,L){o[Ks(g?c.classBindings:c.styleBindings)]=L}(o,c,L,Ye))}else G=function G3(o,c,g){let L;const N=c.directiveEnd;for(let G=1+c.directiveStylingLast;G<N;G++)L=o2(L,o[G].hostAttrs,g);return o2(L,c.attrs,g)}(o,c,L)}return void 0!==G&&(L?c.residualClasses=G:c.residualStyles=G),g}(N,G,c,L),function V3(o,c,g,L,N,G){let se=G?c.classBindings:c.styleBindings,Ee=Ks(se),Ye=xl(se);o[L]=g;let kt,gt=!1;if(Array.isArray(g)?(kt=g[1],(null===kt||Aa(g,kt)>0)&&(gt=!0)):kt=g,N)if(0!==Ye){const si=Ks(o[Ee+1]);o[L+1]=z0(si,Ee),0!==si&&(o[si+1]=Go(o[si+1],L)),o[Ee+1]=function z3(o,c){return 131071&o|c<<17}(o[Ee+1],L)}else o[L+1]=z0(Ee,0),0!==Ee&&(o[Ee+1]=Go(o[Ee+1],L)),Ee=L;else o[L+1]=z0(Ye,0),0===Ee?Ee=L:o[Ye+1]=Go(o[Ye+1],L),Ye=L;gt&&(o[L+1]=a2(o[L+1])),Cl(o,kt,L,!0),Cl(o,kt,L,!1),function gu(o,c,g,L,N){const G=N?o.residualClasses:o.residualStyles;null!=G&&"string"==typeof c&&Aa(G,c)>=0&&(g[L+1]=V0(g[L+1]))}(c,kt,o,L,G),se=z0(Ee,Ye),G?c.classBindings=se:c.styleBindings=se}(N,G,c,g,se,L)}}function Mu(o,c,g,L,N){let G=null;const se=g.directiveEnd;let Ee=g.directiveStylingLast;for(-1===Ee?Ee=g.directiveStart:Ee++;Ee<se&&(G=c[Ee],L=o2(L,G.hostAttrs,N),G!==o);)Ee++;return null!==o&&(g.directiveStylingLast=Ee),L}function o2(o,c,g){const L=g?1:2;let N=-1;if(null!==c)for(let G=0;G<c.length;G++){const se=c[G];"number"==typeof se?N=se:N===L&&(Array.isArray(o)||(o=void 0===o?[]:["",o]),Qi(o,se,!!g||c[++G]))}return void 0===o?null:o}function d4(o,c,g,L,N,G,se,Ee){if(!(3&c.type))return;const Ye=o.data,gt=Ye[Ee+1],kt=function pu(o){return 1==(1&o)}(gt)?Z3(Ye,c,g,N,xl(gt),se):void 0;Su(kt)||(Su(G)||function zr(o){return 2==(2&o)}(gt)&&(G=Z3(Ye,null,g,N,Ee,se)),function dh(o,c,g,L,N){if(c)N?o.addClass(g,L):o.removeClass(g,L);else{let G=-1===L.indexOf("-")?void 0:Lo.DashCase;null==N?o.removeStyle(g,L,G):("string"==typeof N&&N.endsWith("!important")&&(N=N.slice(0,-10),G|=Lo.Important),o.setStyle(g,L,N,G))}}(L,se,ja(Oa(),g),N,G))}function Z3(o,c,g,L,N,G){const se=null===c;let Ee;for(;N>0;){const Ye=o[N],gt=Array.isArray(Ye),kt=gt?Ye[1]:Ye,qt=null===kt;let si=g[N+1];si===Fn&&(si=qt?ft:void 0);let _i=qt?Jn(si,L):kt===L?si:void 0;if(gt&&!Su(_i)&&(_i=Jn(Ye,L)),Su(_i)&&(Ee=_i,se))return Ee;const Ri=o[N+1];N=se?Ks(Ri):xl(Ri)}if(null!==c){let Ye=G?c.residualClasses:c.residualStyles;null!=Ye&&(Ee=Jn(Ye,L))}return Ee}function Su(o){return void 0!==o}function W3(o,c){return 0!=(o.flags&(c?8:16))}function Y3(o,c=""){const g=wi(),L=Ln(),N=o+22,G=L.firstCreatePass?Xn(L,N,1,c,null):L.data[N],se=g[N]=function p1(o,c){return o.createText(c)}(g[11],c);lc(L,g,se,G),vr(G,!1)}function Z0(o){return ns("",o,""),Z0}function ns(o,c,g){const L=wi(),N=e2(L,o,c,g);return N!==Fn&&yl(L,Oa(),N),ns}function qs(o,c,g,L,N){const G=wi(),se=P1(G,o,c,g,L,N);return se!==Fn&&yl(G,Oa(),se),qs}function Eu(o,c,g,L,N,G,se){const Ee=wi(),Ye=function R1(o,c,g,L,N,G,se,Ee){const gt=L0(o,Ii(),g,N,se);return zi(3),gt?c+$(g)+L+$(N)+G+$(se)+Ee:Fn}(Ee,o,c,g,L,N,G,se);return Ye!==Fn&&yl(Ee,Oa(),Ye),Eu}function j3(o,c,g,L,N,G,se,Ee,Ye){const gt=wi(),kt=N1(gt,o,c,g,L,N,G,se,Ee,Ye);return kt!==Fn&&yl(gt,Oa(),kt),j3}function q3(o,c,g){_c(Qi,ws,e2(wi(),o,c,g),!0)}function Du(o,c,g){const L=wi();return yo(L,go(),c)&&Po(Ln(),ua(),L,o,c,L[11],g,!0),Du}function ef(o,c,g){const L=wi();if(yo(L,go(),c)){const G=Ln(),se=ua();Po(G,se,L,o,c,y3(So(G.data),se,L),g,!0)}return ef}const Jl=void 0;var tf=["en",[["a","p"],["AM","PM"],Jl],[["AM","PM"],Jl,Jl],[["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"]],Jl,[["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"]],Jl,[["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}",Jl,"{1} 'at' {0}",Jl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function pp(o){const g=Math.floor(Math.abs(o)),L=o.toString().replace(/^[^.]*\.?/,"").length;return 1===g&&0===L?1:5}];let s2={};function Lu(o){const c=function _p(o){return o.toLowerCase().replace(/_/g,"-")}(o);let g=Iu(c);if(g)return g;const L=c.split("-")[0];if(g=Iu(L),g)return g;if("en"===L)return tf;throw new Y(701,!1)}function W0(o){return Lu(o)[Tn.PluralCase]}function Iu(o){return o in s2||(s2[o]=At.ng&&At.ng.common&&At.ng.common.locales&&At.ng.common.locales[o]),s2[o]}var Tn=(()=>((Tn=Tn||{})[Tn.LocaleId=0]="LocaleId",Tn[Tn.DayPeriodsFormat=1]="DayPeriodsFormat",Tn[Tn.DayPeriodsStandalone=2]="DayPeriodsStandalone",Tn[Tn.DaysFormat=3]="DaysFormat",Tn[Tn.DaysStandalone=4]="DaysStandalone",Tn[Tn.MonthsFormat=5]="MonthsFormat",Tn[Tn.MonthsStandalone=6]="MonthsStandalone",Tn[Tn.Eras=7]="Eras",Tn[Tn.FirstDayOfWeek=8]="FirstDayOfWeek",Tn[Tn.WeekendRange=9]="WeekendRange",Tn[Tn.DateFormat=10]="DateFormat",Tn[Tn.TimeFormat=11]="TimeFormat",Tn[Tn.DateTimeFormat=12]="DateTimeFormat",Tn[Tn.NumberSymbols=13]="NumberSymbols",Tn[Tn.NumberFormats=14]="NumberFormats",Tn[Tn.CurrencyCode=15]="CurrencyCode",Tn[Tn.CurrencySymbol=16]="CurrencySymbol",Tn[Tn.CurrencyName=17]="CurrencyName",Tn[Tn.Currencies=18]="Currencies",Tn[Tn.Directionality=19]="Directionality",Tn[Tn.PluralCase=20]="PluralCase",Tn[Tn.ExtraData=21]="ExtraData",Tn))();const U1="en-US";let nf=U1;function R4(o,c,g,L,N){if(o=O(o),Array.isArray(o))for(let G=0;G<o.length;G++)R4(o[G],c,g,L,N);else{const G=Ln(),se=wi();let Ee=Bs(o)?o:O(o.provide),Ye=Pd(o);const gt=Ha(),kt=1048575>.providerIndexes,qt=gt.directiveStart,si=gt.providerIndexes>>20;if(Bs(o)||!o.multi){const _i=new Ct(Ye,N,bs),Ri=N4(Ee,c,N?kt:kt+si,qt);-1===Ri?(tc(Wc(gt,se),G,Ee),Pu(G,o,c.length),c.push(Ee),gt.directiveStart++,gt.directiveEnd++,N&&(gt.providerIndexes+=1048576),g.push(_i),se.push(_i)):(g[Ri]=_i,se[Ri]=_i)}else{const _i=N4(Ee,c,kt+si,qt),Ri=N4(Ee,c,kt,kt+si),sn=Ri>=0&&g[Ri];if(N&&!sn||!N&&!(_i>=0&&g[_i])){tc(Wc(gt,se),G,Ee);const _n=function yg(o,c,g,L,N){const G=new Ct(o,g,bs);return G.multi=[],G.index=c,G.componentProviders=0,Ep(G,N,L&&!g),G}(N?bg:vg,g.length,N,L,Ye);!N&&sn&&(g[Ri].providerFactory=_n),Pu(G,o,c.length,0),c.push(Ee),gt.directiveStart++,gt.directiveEnd++,N&&(gt.providerIndexes+=1048576),g.push(_n),se.push(_n)}else Pu(G,o,_i>-1?_i:Ri,Ep(g[N?Ri:_i],Ye,!N&&L));!N&&L&&sn&&g[Ri].componentProviders++}}}function Pu(o,c,g,L){const N=Bs(c),G=function a0(o){return!!o.useClass}(c);if(N||G){const Ye=(G?O(c.useClass):c).prototype.ngOnDestroy;if(Ye){const gt=o.destroyHooks||(o.destroyHooks=[]);if(!N&&c.multi){const kt=gt.indexOf(g);-1===kt?gt.push(g,[L,Ye]):gt[kt+1].push(L,Ye)}else gt.push(g,Ye)}}}function Ep(o,c,g){return g&&o.componentProviders++,o.multi.push(c)-1}function N4(o,c,g,L){for(let N=g;N<L;N++)if(c[N]===o)return N;return-1}function vg(o,c,g,L){return af(this.multi,[])}function bg(o,c,g,L){const N=this.multi;let G;if(this.providerFactory){const se=this.providerFactory.componentProviders,Ee=cs(g,g[1],this.providerFactory.index,L);G=Ee.slice(0,se),af(N,G);for(let Ye=se;Ye<Ee.length;Ye++)G.push(Ee[Ye])}else G=[],af(N,G);return G}function af(o,c){for(let g=0;g<o.length;g++)c.push((0,o[g])());return c}function Tp(o,c=[]){return g=>{g.providersResolver=(L,N)=>function Sp(o,c,g){const L=Ln();if(L.firstCreatePass){const N=Kn(o);R4(g,L.data,L.blueprint,N,!0),R4(c,L.data,L.blueprint,N,!1)}}(L,N?N(o):o,c)}}class j0{}class Ap{}function xg(o,c){return new Dp(o,c??null)}class Dp extends j0{constructor(c,g){super(),this._parent=g,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new C3(this);const L=$i(c);this._bootstrapComponents=Gs(L.bootstrap),this._r3Injector=Kd(c,g,[{provide:j0,useValue:this},{provide:es,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(g=>g()),this.destroyCbs=null}onDestroy(c){this.destroyCbs.push(c)}}class F4 extends Ap{constructor(c){super(),this.moduleType=c}create(c){return new Dp(this.moduleType,c)}}class Cg extends j0{constructor(c,g,L){super(),this.componentFactoryResolver=new C3(this),this.instance=null;const N=new kd([...c,{provide:j0,useValue:this},{provide:es,useValue:this.componentFactoryResolver}],g||Zl(),L,new Set(["environment"]));this.injector=N,N.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(c){this.injector.onDestroy(c)}}function H4(o,c,g=null){return new Cg(o,c,g).injector}let wg=(()=>{class o{constructor(g){this._injector=g,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(g){if(!g.standalone)return null;if(!this.cachedInjectors.has(g.id)){const L=fl(0,g.type),N=L.length>0?H4([L],this._injector,`Standalone[${g.type.name}]`):null;this.cachedInjectors.set(g.id,N)}return this.cachedInjectors.get(g.id)}ngOnDestroy(){try{for(const g of this.cachedInjectors.values())null!==g&&g.destroy()}finally{this.cachedInjectors.clear()}}}return o.\u0275prov=je({token:o,providedIn:"environment",factory:()=>new o(It(Oc))}),o})();function Lp(o){o.getStandaloneInjector=c=>c.get(wg).getOrCreateStandaloneInjector(o)}function U4(o,c,g){const L=In()+o,N=wi();return N[L]===Fn?zc(N,L,g?c.call(g):c()):function D0(o,c){return o[c]}(N,L)}function Np(o,c,g,L){return Vp(wi(),In(),o,c,g,L)}function G4(o,c,g,L,N){return Bp(wi(),In(),o,c,g,L,N)}function Fp(o,c,g,L,N,G){return Up(wi(),In(),o,c,g,L,N,G)}function Ru(o,c){const g=o[c];return g===Fn?void 0:g}function Vp(o,c,g,L,N,G){const se=c+g;return yo(o,se,N)?zc(o,se+1,G?L.call(G,N):L(N)):Ru(o,se+1)}function Bp(o,c,g,L,N,G,se){const Ee=c+g;return k1(o,Ee,N,G)?zc(o,Ee+2,se?L.call(se,N,G):L(N,G)):Ru(o,Ee+2)}function Up(o,c,g,L,N,G,se,Ee){const Ye=c+g;return L0(o,Ye,N,G,se)?zc(o,Ye+3,Ee?L.call(Ee,N,G,se):L(N,G,se)):Ru(o,Ye+3)}function rf(o,c){const g=Ln();let L;const N=o+22;g.firstCreatePass?(L=function Fg(o,c){if(c)for(let g=c.length-1;g>=0;g--){const L=c[g];if(o===L.name)return L}}(c,g.pipeRegistry),g.data[N]=L,L.onDestroy&&(g.destroyHooks||(g.destroyHooks=[])).push(N,L.onDestroy)):L=g.data[N];const G=L.factory||(L.factory=Ya(L.type)),se=pt(bs);try{const Ee=io(!1),Ye=G();return io(Ee),function ep(o,c,g,L){g>=o.data.length&&(o.data[g]=null,o.blueprint[g]=null),c[g]=L}(g,wi(),N,Ye),Ye}finally{pt(se)}}function Wp(o,c,g){const L=o+22,N=wi(),G=oi(N,L);return Nu(N,L)?Vp(N,In(),c,G.transform,g,G):G.transform(g)}function Z4(o,c,g,L){const N=o+22,G=wi(),se=oi(G,N);return Nu(G,N)?Bp(G,In(),c,se.transform,g,L,se):se.transform(g,L)}function W4(o,c,g,L,N){const G=o+22,se=wi(),Ee=oi(se,G);return Nu(se,G)?Up(se,In(),c,Ee.transform,g,L,N,Ee):Ee.transform(g,L,N)}function Nu(o,c){return o[1].data[c].pure}function sf(o){return c=>{setTimeout(o,void 0,c)}}const Ml=class Vg extends t.x{constructor(c=!1){super(),this.__isAsync=c}emit(c){super.next(c)}subscribe(c,g,L){let N=c,G=g||(()=>null),se=L;if(c&&"object"==typeof c){const Ye=c;N=Ye.next?.bind(Ye),G=Ye.error?.bind(Ye),se=Ye.complete?.bind(Ye)}this.__isAsync&&(G=sf(G),N&&(N=sf(N)),se&&(se=sf(se)));const Ee=super.subscribe({next:N,error:G,complete:se});return c instanceof e.w0&&c.add(Ee),Ee}};function Bg(){return this._results[Hc()]()}class cf{get changes(){return this._changes||(this._changes=new Ml)}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 g=Hc(),L=cf.prototype;L[g]||(L[g]=Bg)}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,g){return this._results.reduce(c,g)}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,g){const L=this;L.dirty=!1;const N=function Me(o){return o.flat(Number.POSITIVE_INFINITY)}(c);(this._changesDetected=!function pe(o,c,g){if(o.length!==c.length)return!1;for(let L=0;L<o.length;L++){let N=o[L],G=c[L];if(g&&(N=g(N),G=g(G)),G!==N)return!1}return!0}(L._results,N,g))&&(L._results=N,L.length=N.length,L.last=N[this.length-1],L.first=N[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}let Fu=(()=>{class o{}return o.__NG_ELEMENT_ID__=Zg,o})();const Ug=Fu,Gg=class extends Ug{constructor(c,g,L){super(),this._declarationLView=c,this._declarationTContainer=g,this.elementRef=L}createEmbeddedView(c,g){const L=this._declarationTContainer.tViews,N=En(this._declarationLView,L,c,16,null,L.declTNode,null,null,null,null,g||null);N[17]=this._declarationLView[this._declarationTContainer.index];const se=this._declarationLView[19];return null!==se&&(N[19]=se.createEmbeddedView(L)),bo(L,N,c),new Xd(N)}};function Zg(){return Hu(Ha(),wi())}function Hu(o,c){return 4&o.type?new Gg(c,o,Rr(o,c)):null}let lf=(()=>{class o{}return o.__NG_ELEMENT_ID__=Wg,o})();function Wg(){return Kp(Ha(),wi())}const Yp=lf,jp=class extends Yp{constructor(c,g,L){super(),this._lContainer=c,this._hostTNode=g,this._hostLView=L}get element(){return Rr(this._hostTNode,this._hostLView)}get injector(){return new lr(this._hostTNode,this._hostLView)}get parentInjector(){const c=Yc(this._hostTNode,this._hostLView);if(Ea(c)){const g=yr(c,this._hostLView),L=xa(c);return new lr(g[1].data[L+8],g)}return new lr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(c){const g=Y4(this._lContainer);return null!==g&&g[c]||null}get length(){return this._lContainer.length-10}createEmbeddedView(c,g,L){let N,G;"number"==typeof L?N=L:null!=L&&(N=L.index,G=L.injector);const se=c.createEmbeddedView(g||{},G);return this.insert(se,N),se}createComponent(c,g,L,N,G){const se=c&&!function Jc(o){return"function"==typeof o}(c);let Ee;if(se)Ee=g;else{const qt=g||{};Ee=qt.index,L=qt.injector,N=qt.projectableNodes,G=qt.environmentInjector||qt.ngModuleRef}const Ye=se?c:new $d(bi(c)),gt=L||this.parentInjector;if(!G&&null==Ye.ngModule){const si=(se?gt:this.parentInjector).get(Oc,null);si&&(G=si)}const kt=Ye.create(gt,N,void 0,G);return this.insert(kt.hostView,Ee),kt}insert(c,g){const L=c._lView,N=L[1];if(function nn(o){return $n(o[3])}(L)){const kt=this.indexOf(c);if(-1!==kt)this.detach(kt);else{const qt=L[3],si=new jp(qt,qt[6],qt[3]);si.detach(si.indexOf(c))}}const G=this._adjustIndex(g),se=this._lContainer;!function g1(o,c,g,L){const N=10+L,G=g.length;L>0&&(g[N-1][4]=c),L<G-10?(c[4]=g[N],Ne(g,10+L,c)):(g.push(c),c[4]=null),c[3]=g;const se=c[17];null!==se&&g!==se&&function ol(o,c){const g=o[9];c[16]!==c[3][3][16]&&(o[2]=!0),null===g?o[9]=[c]:g.push(c)}(se,c);const Ee=c[19];null!==Ee&&Ee.insertView(o),c[2]|=64}(N,L,se,G);const Ee=v1(G,se),Ye=L[11],gt=_1(Ye,se[7]);return null!==gt&&function qu(o,c,g,L,N,G){L[0]=N,L[6]=c,Fl(o,L,g,1,N,G)}(N,se[6],Ye,L,gt,Ee),c.attachToViewContainerRef(),Ne(df(se),G,c),c}move(c,g){return this.insert(c,g)}indexOf(c){const g=Y4(this._lContainer);return null!==g?g.indexOf(c):-1}remove(c){const g=this._adjustIndex(c,-1),L=S2(this._lContainer,g);L&&(rt(df(this._lContainer),g),sc(L[1],L))}detach(c){const g=this._adjustIndex(c,-1),L=S2(this._lContainer,g);return L&&null!=rt(df(this._lContainer),g)?new Xd(L):null}_adjustIndex(c,g=0){return c??this.length+g}};function Y4(o){return o[8]}function df(o){return o[8]||(o[8]=[])}function Kp(o,c){let g;const L=c[o.index];if($n(L))g=L;else{let N;if(8&o.type)N=Yn(L);else{const G=c[11];N=G.createComment("");const se=ca(o,c);$o(G,_1(G,se),N,function T2(o,c){return o.nextSibling(c)}(G,se),!1)}c[o.index]=g=Ff(L,c,N,o),T0(c,g)}return new jp(g,o,c)}class hf{constructor(c){this.queryList=c,this.matches=null}clone(){return new hf(this.queryList)}setDirty(){this.queryList.setDirty()}}class j4{constructor(c=[]){this.queries=c}createEmbeddedView(c){const g=c.queries;if(null!==g){const L=null!==c.contentQueries?c.contentQueries[0]:g.length,N=[];for(let G=0;G<L;G++){const se=g.getByIndex(G);N.push(this.queries[se.indexInDeclarationView].clone())}return new j4(N)}return null}insertView(c){this.dirtyQueriesWithMatches(c)}detachView(c){this.dirtyQueriesWithMatches(c)}dirtyQueriesWithMatches(c){for(let g=0;g<this.queries.length;g++)null!==t6(c,g).matches&&this.queries[g].setDirty()}}class Qp{constructor(c,g,L=null){this.predicate=c,this.flags=g,this.read=L}}class K4{constructor(c=[]){this.queries=c}elementStart(c,g){for(let L=0;L<this.queries.length;L++)this.queries[L].elementStart(c,g)}elementEnd(c){for(let g=0;g<this.queries.length;g++)this.queries[g].elementEnd(c)}embeddedTView(c){let g=null;for(let L=0;L<this.length;L++){const N=null!==g?g.length:0,G=this.getByIndex(L).embeddedTView(c,N);G&&(G.indexInDeclarationView=L,null!==g?g.push(G):g=[G])}return null!==g?new K4(g):null}template(c,g){for(let L=0;L<this.queries.length;L++)this.queries[L].template(c,g)}getByIndex(c){return this.queries[c]}get length(){return this.queries.length}track(c){this.queries.push(c)}}class Q4{constructor(c,g=-1){this.metadata=c,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=g}elementStart(c,g){this.isApplyingToNode(g)&&this.matchTNode(c,g)}elementEnd(c){this._declarationNodeIndex===c.index&&(this._appliesToNextNode=!1)}template(c,g){this.elementStart(c,g)}embeddedTView(c,g){return this.isApplyingToNode(c)?(this.crossesNgTemplate=!0,this.addMatch(-c.index,g),new Q4(this.metadata)):null}isApplyingToNode(c){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const g=this._declarationNodeIndex;let L=c.parent;for(;null!==L&&8&L.type&&L.index!==g;)L=L.parent;return g===(null!==L?L.index:-1)}return this._appliesToNextNode}matchTNode(c,g){const L=this.metadata.predicate;if(Array.isArray(L))for(let N=0;N<L.length;N++){const G=L[N];this.matchTNodeWithReadOption(c,g,Yg(g,G)),this.matchTNodeWithReadOption(c,g,Ls(g,c,G,!1,!1))}else L===Fu?4&g.type&&this.matchTNodeWithReadOption(c,g,-1):this.matchTNodeWithReadOption(c,g,Ls(g,c,L,!1,!1))}matchTNodeWithReadOption(c,g,L){if(null!==L){const N=this.metadata.read;if(null!==N)if(N===pl||N===lf||N===Fu&&4&g.type)this.addMatch(g.index,-2);else{const G=Ls(g,c,N,!1,!1);null!==G&&this.addMatch(g.index,G)}else this.addMatch(g.index,L)}}addMatch(c,g){null===this.matches?this.matches=[c,g]:this.matches.push(c,g)}}function Yg(o,c){const g=o.localNames;if(null!==g)for(let L=0;L<g.length;L+=2)if(g[L]===c)return g[L+1];return null}function jg(o,c,g,L){return-1===g?function q4(o,c){return 11&o.type?Rr(o,c):4&o.type?Hu(o,c):null}(c,o):-2===g?function Kg(o,c,g){return g===pl?Rr(c,o):g===Fu?Hu(c,o):g===lf?Kp(c,o):void 0}(o,c,L):cs(o,o[1],g,c)}function J4(o,c,g,L){const N=c[19].queries[L];if(null===N.matches){const G=o.data,se=g.matches,Ee=[];for(let Ye=0;Ye<se.length;Ye+=2){const gt=se[Ye];Ee.push(gt<0?null:jg(c,G[gt],se[Ye+1],g.metadata.read))}N.matches=Ee}return N.matches}function X4(o,c,g,L){const N=o.queries.getByIndex(g),G=N.matches;if(null!==G){const se=J4(o,c,N,g);for(let Ee=0;Ee<G.length;Ee+=2){const Ye=G[Ee];if(Ye>0)L.push(se[Ee/2]);else{const gt=G[Ee+1],kt=c[-Ye];for(let qt=10;qt<kt.length;qt++){const si=kt[qt];si[17]===si[3]&&X4(si[1],si,gt,L)}if(null!==kt[9]){const qt=kt[9];for(let si=0;si<qt.length;si++){const _i=qt[si];X4(_i[1],_i,gt,L)}}}}}return L}function qp(o){const c=wi(),g=Ln(),L=Eo();ss(L+1);const N=t6(g,L);if(o.dirty&&function ni(o){return 4==(4&o[2])}(c)===(2==(2&N.metadata.flags))){if(null===N.matches)o.reset([]);else{const G=N.crossesNgTemplate?X4(g,c,L,[]):J4(g,c,N,L);o.reset(G,Wl),o.notifyOnChanges()}return!0}return!1}function Jp(o,c,g){const L=Ln();L.firstCreatePass&&(e6(L,new Qp(o,c,g),-1),2==(2&c)&&(L.staticViewQueries=!0)),$p(L,wi(),c)}function Xp(o,c,g,L){const N=Ln();if(N.firstCreatePass){const G=Ha();e6(N,new Qp(c,g,L),G.index),function qg(o,c){const g=o.contentQueries||(o.contentQueries=[]);c!==(g.length?g[g.length-1]:-1)&&g.push(o.queries.length-1,c)}(N,o),2==(2&g)&&(N.staticContentQueries=!0)}$p(N,wi(),g)}function $4(){return function Qg(o,c){return o[19].queries[c].queryList}(wi(),Eo())}function $p(o,c,g){const L=new cf(4==(4&g));d3(o,c,L,L.destroy),null===c[19]&&(c[19]=new j4),c[19].queries.push(new hf(L))}function e6(o,c,g){null===o.queries&&(o.queries=new K4),o.queries.track(new Q4(c,g))}function t6(o,c){return o.queries.getByIndex(c)}function i6(o,c){return Hu(o,c)}function pf(...o){}const hm=new da("Application Initializer");let gf=(()=>{class o{constructor(g){this.appInits=g,this.resolve=pf,this.reject=pf,this.initialized=!1,this.done=!1,this.donePromise=new Promise((L,N)=>{this.resolve=L,this.reject=N})}runInitializers(){if(this.initialized)return;const g=[],L=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let N=0;N<this.appInits.length;N++){const G=this.appInits[N]();if(du(G))g.push(G);else if(qn(G)){const se=new Promise((Ee,Ye)=>{G.subscribe({complete:Ee,error:Ye})});g.push(se)}}Promise.all(g).then(()=>{L()}).catch(N=>{this.reject(N)}),0===g.length&&L(),this.initialized=!0}}return o.\u0275fac=function(g){return new(g||o)(It(hm,8))},o.\u0275prov=je({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const v6=new da("AppId",{providedIn:"root",factory:function b6(){return`${um()}${um()}${um()}`}});function um(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const fm=new da("Platform Initializer"),m8=new da("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),y6=new da("appBootstrapListener"),g8=new da("AnimationModuleType");let x6=(()=>{class o{log(g){console.log(g)}warn(g){console.warn(g)}}return o.\u0275fac=function(g){return new(g||o)},o.\u0275prov=je({token:o,factory:o.\u0275fac,providedIn:"platform"}),o})();const Vu=new da("LocaleId",{providedIn:"root",factory:()=>we(Vu,Ge.Optional|Ge.SkipSelf)||function _8(){return typeof $localize<"u"&&$localize.locale||U1}()}),v8=new da("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});class b8{constructor(c,g){this.ngModuleFactory=c,this.componentFactories=g}}let y8=(()=>{class o{compileModuleSync(g){return new F4(g)}compileModuleAsync(g){return Promise.resolve(this.compileModuleSync(g))}compileModuleAndAllComponentsSync(g){const L=this.compileModuleSync(g),G=Gs($i(g).declarations).reduce((se,Ee)=>{const Ye=bi(Ee);return Ye&&se.push(new $d(Ye)),se},[]);return new b8(L,G)}compileModuleAndAllComponentsAsync(g){return Promise.resolve(this.compileModuleAndAllComponentsSync(g))}clearCache(){}clearCacheFor(g){}getModuleId(g){}}return o.\u0275fac=function(g){return new(g||o)},o.\u0275prov=je({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();const C8=(()=>Promise.resolve(0))();function _f(o){typeof Zone>"u"?C8.then(()=>{o&&o.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",o)}class vc{constructor({enableLongStackTrace:c=!1,shouldCoalesceEventChangeDetection:g=!1,shouldCoalesceRunChangeDetection:L=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ml(!1),this.onMicrotaskEmpty=new Ml(!1),this.onStable=new Ml(!1),this.onError=new Ml(!1),typeof Zone>"u")throw new Y(908,!1);Zone.assertZonePatched();const N=this;N._nesting=0,N._outer=N._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(N._inner=N._inner.fork(new Zone.TaskTrackingZoneSpec)),c&&Zone.longStackTraceZoneSpec&&(N._inner=N._inner.fork(Zone.longStackTraceZoneSpec)),N.shouldCoalesceEventChangeDetection=!L&&g,N.shouldCoalesceRunChangeDetection=L,N.lastRequestAnimationFrameId=-1,N.nativeRequestAnimationFrame=function w8(){let o=At.requestAnimationFrame,c=At.cancelAnimationFrame;if(typeof Zone<"u"&&o&&c){const g=o[Zone.__symbol__("OriginalDelegate")];g&&(o=g);const L=c[Zone.__symbol__("OriginalDelegate")];L&&(c=L)}return{nativeRequestAnimationFrame:o,nativeCancelAnimationFrame:c}}().nativeRequestAnimationFrame,function S8(o){const c=()=>{!function M8(o){o.isCheckStableRunning||-1!==o.lastRequestAnimationFrameId||(o.lastRequestAnimationFrameId=o.nativeRequestAnimationFrame.call(At,()=>{o.fakeTopEventTask||(o.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{o.lastRequestAnimationFrameId=-1,pm(o),o.isCheckStableRunning=!0,mm(o),o.isCheckStableRunning=!1},void 0,()=>{},()=>{})),o.fakeTopEventTask.invoke()}),pm(o))}(o)};o._inner=o._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(g,L,N,G,se,Ee)=>{try{return gm(o),g.invokeTask(N,G,se,Ee)}finally{(o.shouldCoalesceEventChangeDetection&&"eventTask"===G.type||o.shouldCoalesceRunChangeDetection)&&c(),S6(o)}},onInvoke:(g,L,N,G,se,Ee,Ye)=>{try{return gm(o),g.invoke(N,G,se,Ee,Ye)}finally{o.shouldCoalesceRunChangeDetection&&c(),S6(o)}},onHasTask:(g,L,N,G)=>{g.hasTask(N,G),L===N&&("microTask"==G.change?(o._hasPendingMicrotasks=G.microTask,pm(o),mm(o)):"macroTask"==G.change&&(o.hasPendingMacrotasks=G.macroTask))},onHandleError:(g,L,N,G)=>(g.handleError(N,G),o.runOutsideAngular(()=>o.onError.emit(G)),!1)})}(N)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!vc.isInAngularZone())throw new Y(909,!1)}static assertNotInAngularZone(){if(vc.isInAngularZone())throw new Y(909,!1)}run(c,g,L){return this._inner.run(c,g,L)}runTask(c,g,L,N){const G=this._inner,se=G.scheduleEventTask("NgZoneEvent: "+N,c,M6,pf,pf);try{return G.runTask(se,g,L)}finally{G.cancelTask(se)}}runGuarded(c,g,L){return this._inner.runGuarded(c,g,L)}runOutsideAngular(c){return this._outer.run(c)}}const M6={};function mm(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 pm(o){o.hasPendingMicrotasks=!!(o._hasPendingMicrotasks||(o.shouldCoalesceEventChangeDetection||o.shouldCoalesceRunChangeDetection)&&-1!==o.lastRequestAnimationFrameId)}function gm(o){o._nesting++,o.isStable&&(o.isStable=!1,o.onUnstable.emit(null))}function S6(o){o._nesting--,mm(o)}class E8{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ml,this.onMicrotaskEmpty=new Ml,this.onStable=new Ml,this.onError=new Ml}run(c,g,L){return c.apply(g,L)}runGuarded(c,g,L){return c.apply(g,L)}runOutsideAngular(c){return c()}runTask(c,g,L,N){return c.apply(g,L)}}const _m=new da(""),E6=new da("");let vm,T8=(()=>{class o{constructor(g,L,N){this._ngZone=g,this.registry=L,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,vm||(function A8(o){vm=o}(N),N.addToWindow(L)),this._watchAngularEvents(),g.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:()=>{vc.assertNotInAngularZone(),_f(()=>{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())_f(()=>{for(;0!==this._callbacks.length;){let g=this._callbacks.pop();clearTimeout(g.timeoutId),g.doneCb(this._didWork)}this._didWork=!1});else{let g=this.getPendingTasks();this._callbacks=this._callbacks.filter(L=>!L.updateCb||!L.updateCb(g)||(clearTimeout(L.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(g=>({source:g.source,creationLocation:g.creationLocation,data:g.data})):[]}addCallback(g,L,N){let G=-1;L&&L>0&&(G=setTimeout(()=>{this._callbacks=this._callbacks.filter(se=>se.timeoutId!==G),g(this._didWork,this.getPendingTasks())},L)),this._callbacks.push({doneCb:g,timeoutId:G,updateCb:N})}whenStable(g,L,N){if(N&&!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(g,L,N),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(g){this.registry.registerApplication(g,this)}unregisterApplication(g){this.registry.unregisterApplication(g)}findProviders(g,L,N){return[]}}return o.\u0275fac=function(g){return new(g||o)(It(vc),It(T6),It(E6))},o.\u0275prov=je({token:o,factory:o.\u0275fac}),o})(),T6=(()=>{class o{constructor(){this._applications=new Map}registerApplication(g,L){this._applications.set(g,L)}unregisterApplication(g){this._applications.delete(g)}unregisterAllApplications(){this._applications.clear()}getTestability(g){return this._applications.get(g)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(g,L=!0){return vm?.findTestabilityInTree(this,g,L)??null}}return o.\u0275fac=function(g){return new(g||o)},o.\u0275prov=je({token:o,factory:o.\u0275fac,providedIn:"platform"}),o})(),Y1=null;const bm=new da("AllowMultipleToken"),ym=new da("PlatformDestroyListeners");class k8{constructor(c,g){this.name=c,this.token=g}}function L6(o,c,g=[]){const L=`Platform: ${c}`,N=new da(L);return(G=[])=>{let se=xm();if(!se||se.injector.get(bm,!1)){const Ee=[...g,...G,{provide:N,useValue:!0}];o?o(Ee):function O8(o){if(Y1&&!Y1.get(bm,!1))throw new Y(400,!1);Y1=o;const c=o.get(k6);(function D6(o){const c=o.get(fm,null);c&&c.forEach(g=>g())})(o)}(function I6(o=[],c){return uc.create({name:c,providers:[{provide:ml,useValue:"platform"},{provide:ym,useValue:new Set([()=>Y1=null])},...o]})}(Ee,L))}return function P8(o){const c=xm();if(!c)throw new Y(401,!1);return c}()}}function xm(){return Y1?.get(k6)??null}let k6=(()=>{class o{constructor(g){this._injector=g,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(g,L){const N=function P6(o,c){let g;return g="noop"===o?new E8:("zone.js"===o?void 0:o)||new vc(c),g}(L?.ngZone,function O6(o){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!(!o||!o.ngZoneEventCoalescing)||!1,shouldCoalesceRunChangeDetection:!(!o||!o.ngZoneRunCoalescing)||!1}}(L)),G=[{provide:vc,useValue:N}];return N.run(()=>{const se=uc.create({providers:G,parent:this.injector,name:g.moduleType.name}),Ee=g.create(se),Ye=Ee.injector.get(gl,null);if(!Ye)throw new Y(402,!1);return N.runOutsideAngular(()=>{const gt=N.onError.subscribe({next:kt=>{Ye.handleError(kt)}});Ee.onDestroy(()=>{vf(this._modules,Ee),gt.unsubscribe()})}),function R6(o,c,g){try{const L=g();return du(L)?L.catch(N=>{throw c.runOutsideAngular(()=>o.handleError(N)),N}):L}catch(L){throw c.runOutsideAngular(()=>o.handleError(L)),L}}(Ye,N,()=>{const gt=Ee.injector.get(gf);return gt.runInitializers(),gt.donePromise.then(()=>(function Ou(o){B(o,"Expected localeId to be defined"),"string"==typeof o&&(nf=o.toLowerCase().replace(/_/g,"-"))}(Ee.injector.get(Vu,U1)||U1),this._moduleDoBootstrap(Ee),Ee))})})}bootstrapModule(g,L=[]){const N=N6({},L);return function D8(o,c,g){const L=new F4(g);return Promise.resolve(L)}(0,0,g).then(G=>this.bootstrapModuleFactory(G,N))}_moduleDoBootstrap(g){const L=g.injector.get(Uu);if(g._bootstrapComponents.length>0)g._bootstrapComponents.forEach(N=>L.bootstrap(N));else{if(!g.instance.ngDoBootstrap)throw new Y(-403,!1);g.instance.ngDoBootstrap(L)}this._modules.push(g)}onDestroy(g){this._destroyListeners.push(g)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Y(404,!1);this._modules.slice().forEach(L=>L.destroy()),this._destroyListeners.forEach(L=>L());const g=this._injector.get(ym,null);g&&(g.forEach(L=>L()),g.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}return o.\u0275fac=function(g){return new(g||o)(It(uc))},o.\u0275prov=je({token:o,factory:o.\u0275fac,providedIn:"platform"}),o})();function N6(o,c){return Array.isArray(c)?c.reduce(N6,o):{...o,...c}}let Uu=(()=>{class o{get destroyed(){return this._destroyed}get injector(){return this._injector}constructor(g,L,N){this._zone=g,this._injector=L,this._exceptionHandler=N,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 b.y(Ee=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{Ee.next(this._stable),Ee.complete()})}),se=new b.y(Ee=>{let Ye;this._zone.runOutsideAngular(()=>{Ye=this._zone.onStable.subscribe(()=>{vc.assertNotInAngularZone(),_f(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,Ee.next(!0))})})});const gt=this._zone.onUnstable.subscribe(()=>{vc.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{Ee.next(!1)}))});return()=>{Ye.unsubscribe(),gt.unsubscribe()}});this.isStable=(0,I.T)(G,se.pipe((0,s.B)()))}bootstrap(g,L){const N=g instanceof l0;if(!this._injector.get(gf).done)throw!N&&ji(g),new Y(405,false);let se;se=N?g:this._injector.get(es).resolveComponentFactory(g),this.componentTypes.push(se.componentType);const Ee=function I8(o){return o.isBoundToModule}(se)?void 0:this._injector.get(j0),gt=se.create(uc.NULL,[],L||se.selector,Ee),kt=gt.location.nativeElement,qt=gt.injector.get(_m,null);return qt?.registerApplication(kt),gt.onDestroy(()=>{this.detachView(gt.hostView),vf(this.components,gt),qt?.unregisterApplication(kt)}),this._loadComponent(gt),gt}tick(){if(this._runningTick)throw new Y(101,!1);try{this._runningTick=!0;for(let g of this._views)g.detectChanges()}catch(g){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(g))}finally{this._runningTick=!1}}attachView(g){const L=g;this._views.push(L),L.attachToAppRef(this)}detachView(g){const L=g;vf(this._views,L),L.detachFromAppRef()}_loadComponent(g){this.attachView(g.hostView),this.tick(),this.components.push(g);const L=this._injector.get(y6,[]);L.push(...this._bootstrapListeners),L.forEach(N=>N(g))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(g=>g()),this._views.slice().forEach(g=>g.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(g){return this._destroyListeners.push(g),()=>vf(this._destroyListeners,g)}destroy(){if(this._destroyed)throw new Y(406,!1);const g=this._injector;g.destroy&&!g.destroyed&&g.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}}return o.\u0275fac=function(g){return new(g||o)(It(vc),It(Oc),It(gl))},o.\u0275prov=je({token:o,factory:o.\u0275fac,providedIn:"root"}),o})();function vf(o,c){const g=o.indexOf(c);g>-1&&o.splice(g,1)}function F8(){return!1}let z6=(()=>{class o{}return o.__NG_ELEMENT_ID__=V8,o})();function V8(o){return function Cm(o,c,g){if(Sr(o)&&!g){const L=Mt(o.index,c);return new Xd(L,L)}return 47&o.type?new Xd(c[16],c):null}(Ha(),wi(),16==(16&o))}class W6{constructor(){}supports(c){return ru(c)}create(c){return new Z8(c)}}const G8=(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||G8}forEachItem(c){let g;for(g=this._itHead;null!==g;g=g._next)c(g)}forEachOperation(c){let g=this._itHead,L=this._removalsHead,N=0,G=null;for(;g||L;){const se=!L||g&&g.currentIndex<Y6(L,N,G)?g:L,Ee=Y6(se,N,G),Ye=se.currentIndex;if(se===L)N--,L=L._nextRemoved;else if(g=g._next,null==se.previousIndex)N++;else{G||(G=[]);const gt=Ee-N,kt=Ye-N;if(gt!=kt){for(let si=0;si<gt;si++){const _i=si<G.length?G[si]:G[si]=0,Ri=_i+si;kt<=Ri&&Ri<gt&&(G[si]=_i+1)}G[se.previousIndex]=kt-gt}}Ee!==Ye&&c(se,Ee,Ye)}}forEachPreviousItem(c){let g;for(g=this._previousItHead;null!==g;g=g._nextPrevious)c(g)}forEachAddedItem(c){let g;for(g=this._additionsHead;null!==g;g=g._nextAdded)c(g)}forEachMovedItem(c){let g;for(g=this._movesHead;null!==g;g=g._nextMoved)c(g)}forEachRemovedItem(c){let g;for(g=this._removalsHead;null!==g;g=g._nextRemoved)c(g)}forEachIdentityChange(c){let g;for(g=this._identityChangesHead;null!==g;g=g._nextIdentityChange)c(g)}diff(c){if(null==c&&(c=[]),!ru(c))throw new Y(900,!1);return this.check(c)?this:null}onDestroy(){}check(c){this._reset();let N,G,se,g=this._itHead,L=!1;if(Array.isArray(c)){this.length=c.length;for(let Ee=0;Ee<this.length;Ee++)G=c[Ee],se=this._trackByFn(Ee,G),null!==g&&Object.is(g.trackById,se)?(L&&(g=this._verifyReinsertion(g,G,se,Ee)),Object.is(g.item,G)||this._addIdentityChange(g,G)):(g=this._mismatch(g,G,se,Ee),L=!0),g=g._next}else N=0,function E3(o,c){if(Array.isArray(o))for(let g=0;g<o.length;g++)c(o[g]);else{const g=o[Hc()]();let L;for(;!(L=g.next()).done;)c(L.value)}}(c,Ee=>{se=this._trackByFn(N,Ee),null!==g&&Object.is(g.trackById,se)?(L&&(g=this._verifyReinsertion(g,Ee,se,N)),Object.is(g.item,Ee)||this._addIdentityChange(g,Ee)):(g=this._mismatch(g,Ee,se,N),L=!0),g=g._next,N++}),this.length=N;return this._truncate(g),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,g,L,N){let G;return null===c?G=this._itTail:(G=c._prev,this._remove(c)),null!==(c=null===this._unlinkedRecords?null:this._unlinkedRecords.get(L,null))?(Object.is(c.item,g)||this._addIdentityChange(c,g),this._reinsertAfter(c,G,N)):null!==(c=null===this._linkedRecords?null:this._linkedRecords.get(L,N))?(Object.is(c.item,g)||this._addIdentityChange(c,g),this._moveAfter(c,G,N)):c=this._addAfter(new W8(g,L),G,N),c}_verifyReinsertion(c,g,L,N){let G=null===this._unlinkedRecords?null:this._unlinkedRecords.get(L,null);return null!==G?c=this._reinsertAfter(G,c._prev,N):c.currentIndex!=N&&(c.currentIndex=N,this._addToMoves(c,N)),c}_truncate(c){for(;null!==c;){const g=c._next;this._addToRemovals(this._unlink(c)),c=g}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,g,L){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(c);const N=c._prevRemoved,G=c._nextRemoved;return null===N?this._removalsHead=G:N._nextRemoved=G,null===G?this._removalsTail=N:G._prevRemoved=N,this._insertAfter(c,g,L),this._addToMoves(c,L),c}_moveAfter(c,g,L){return this._unlink(c),this._insertAfter(c,g,L),this._addToMoves(c,L),c}_addAfter(c,g,L){return this._insertAfter(c,g,L),this._additionsTail=null===this._additionsTail?this._additionsHead=c:this._additionsTail._nextAdded=c,c}_insertAfter(c,g,L){const N=null===g?this._itHead:g._next;return c._next=N,c._prev=g,null===N?this._itTail=c:N._prev=c,null===g?this._itHead=c:g._next=c,null===this._linkedRecords&&(this._linkedRecords=new Em),this._linkedRecords.put(c),c.currentIndex=L,c}_remove(c){return this._addToRemovals(this._unlink(c))}_unlink(c){null!==this._linkedRecords&&this._linkedRecords.remove(c);const g=c._prev,L=c._next;return null===g?this._itHead=L:g._next=L,null===L?this._itTail=g:L._prev=g,c}_addToMoves(c,g){return c.previousIndex===g||(this._movesTail=null===this._movesTail?this._movesHead=c:this._movesTail._nextMoved=c),c}_addToRemovals(c){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Em),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,g){return c.item=g,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=c:this._identityChangesTail._nextIdentityChange=c,c}}class W8{constructor(c,g){this.item=c,this.trackById=g,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 Y8{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,g){let L;for(L=this._head;null!==L;L=L._nextDup)if((null===g||g<=L.currentIndex)&&Object.is(L.trackById,c))return L;return null}remove(c){const g=c._prevDup,L=c._nextDup;return null===g?this._head=L:g._nextDup=L,null===L?this._tail=g:L._prevDup=g,null===this._head}}class Em{constructor(){this.map=new Map}put(c){const g=c.trackById;let L=this.map.get(g);L||(L=new Y8,this.map.set(g,L)),L.add(c)}get(c,g){const N=this.map.get(c);return N?N.get(c,g):null}remove(c){const g=c.trackById;return this.map.get(g).remove(c)&&this.map.delete(g),c}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Y6(o,c,g){const L=o.previousIndex;if(null===L)return L;let N=0;return g&&L<g.length&&(N=g[L]),L+c+N}class xf{constructor(){}supports(c){return c instanceof Map||T3(c)}create(){return new j8}}class j8{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 g;for(g=this._mapHead;null!==g;g=g._next)c(g)}forEachPreviousItem(c){let g;for(g=this._previousMapHead;null!==g;g=g._nextPrevious)c(g)}forEachChangedItem(c){let g;for(g=this._changesHead;null!==g;g=g._nextChanged)c(g)}forEachAddedItem(c){let g;for(g=this._additionsHead;null!==g;g=g._nextAdded)c(g)}forEachRemovedItem(c){let g;for(g=this._removalsHead;null!==g;g=g._nextRemoved)c(g)}diff(c){if(c){if(!(c instanceof Map||T3(c)))throw new Y(900,!1)}else c=new Map;return this.check(c)?this:null}onDestroy(){}check(c){this._reset();let g=this._mapHead;if(this._appendAfter=null,this._forEach(c,(L,N)=>{if(g&&g.key===N)this._maybeAddToChanges(g,L),this._appendAfter=g,g=g._next;else{const G=this._getOrCreateRecordForKey(N,L);g=this._insertBeforeOrAppend(g,G)}}),g){g._prev&&(g._prev._next=null),this._removalsHead=g;for(let L=g;null!==L;L=L._nextRemoved)L===this._mapHead&&(this._mapHead=null),this._records.delete(L.key),L._nextRemoved=L._next,L.previousValue=L.currentValue,L.currentValue=null,L._prev=null,L._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(c,g){if(c){const L=c._prev;return g._next=c,g._prev=L,c._prev=g,L&&(L._next=g),c===this._mapHead&&(this._mapHead=g),this._appendAfter=c,c}return this._appendAfter?(this._appendAfter._next=g,g._prev=this._appendAfter):this._mapHead=g,this._appendAfter=g,null}_getOrCreateRecordForKey(c,g){if(this._records.has(c)){const N=this._records.get(c);this._maybeAddToChanges(N,g);const G=N._prev,se=N._next;return G&&(G._next=se),se&&(se._prev=G),N._next=null,N._prev=null,N}const L=new K8(c);return this._records.set(c,L),L.currentValue=g,this._addToAdditions(L),L}_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,g){Object.is(g,c.currentValue)||(c.previousValue=c.currentValue,c.currentValue=g,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,g){c instanceof Map?c.forEach(g):Object.keys(c).forEach(L=>g(c[L],L))}}class K8{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 Tm(){return new Am([new W6])}let Am=(()=>{class o{constructor(g){this.factories=g}static create(g,L){if(null!=L){const N=L.factories.slice();g=g.concat(N)}return new o(g)}static extend(g){return{provide:o,useFactory:L=>o.create(g,L||Tm()),deps:[[o,new ac,new nc]]}}find(g){const L=this.factories.find(N=>N.supports(g));if(null!=L)return L;throw new Y(901,!1)}}return o.\u0275prov=je({token:o,providedIn:"root",factory:Tm}),o})();function j6(){return new Dm([new xf])}let Dm=(()=>{class o{constructor(g){this.factories=g}static create(g,L){if(L){const N=L.factories.slice();g=g.concat(N)}return new o(g)}static extend(g){return{provide:o,useFactory:L=>o.create(g,L||j6()),deps:[[o,new ac,new nc]]}}find(g){const L=this.factories.find(N=>N.supports(g));if(L)return L;throw new Y(901,!1)}}return o.\u0275prov=je({token:o,providedIn:"root",factory:j6}),o})();const $8=L6(null,"core",[]);let K6=(()=>{class o{constructor(g){}}return o.\u0275fac=function(g){return new(g||o)(It(Uu))},o.\u0275mod=Tt({type:o}),o.\u0275inj=Le({}),o})();function e5(o){return"boolean"==typeof o?o:null!=o&&"false"!==o}},5863:(Ue,q,p)=>{"use strict";function t(S){for(let w in S){let O=S[w]??"";switch(w){case"display":S.display="flex"===O?["-webkit-flex","flex"]:"inline-flex"===O?["-webkit-inline-flex","inline-flex"]:O;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":S["-webkit-"+w]=O;break;case"flex-direction":S["-webkit-flex-direction"]=O,S["flex-direction"]=O;break;case"order":S.order=S["-webkit-"+w]=isNaN(+O)?"0":O}}return S}p.d(q,{Ar:()=>I,GK:()=>t,iQ:()=>b,kt:()=>d,tj:()=>C});const e="inline",b=["row","column","row-reverse","column-reverse"];function I(S){let[w,O,E]=s(S);return function P(S,w=null,O=!1){return{display:O?"inline-flex":"flex","box-sizing":"border-box","flex-direction":S,"flex-wrap":w||null}}(w,O,E)}function s(S){S=S?.toLowerCase()??"";let[w,O,E]=S.split(" ");return b.find(R=>R===w)||(w=b[0]),O===e&&(O=E!==e?E:"",E=e),[w,h(O),!!E]}function C(S){let[w]=s(S);return w.indexOf("row")>-1}function h(S){if(S)switch(S.toLowerCase()){case"reverse":case"wrap-reverse":case"reverse-wrap":S="wrap-reverse";break;case"no":case"none":case"nowrap":S="nowrap";break;default:S="wrap"}return S}function d(S,...w){if(null==S)throw TypeError("Cannot convert undefined or null to object");for(let O of w)if(null!=O)for(let E in O)O.hasOwnProperty(E)&&(S[E]=O[E]);return S}},2233:(Ue,q,p)=>{"use strict";p.d(q,{Bs:()=>$,FL:()=>W,IR:()=>E,Ot:()=>ke,QI:()=>ue,RK:()=>he,WU:()=>Y,g5:()=>U,iR:()=>ae,wY:()=>K,yB:()=>Ze});var t=p(4650),e=p(6895),b=p(1135),I=p(9751),s=p(6451),C=p(7579),h=p(5863),P=p(9300),d=p(8505);const w={provide:t.tb,useFactory:function S(Fe,Ft){return()=>{if((0,e.NF)(Ft)){const qe=Array.from(Fe.querySelectorAll(`[class*=${O}]`)),Qe=/\bflex-layout-.+?\b/g;qe.forEach(Ht=>{Ht.classList.contains(`${O}ssr`)&&Ht.parentNode?Ht.parentNode.removeChild(Ht):Ht.className.replace(Qe,"")})}}},deps:[e.K0,t.Lbi],multi:!0},O="flex-layout-";let E=(()=>{class Fe{}return Fe.\u0275fac=function(qe){return new(qe||Fe)},Fe.\u0275mod=t.oAB({type:Fe}),Fe.\u0275inj=t.cJS({providers:[w]}),Fe})();class R{constructor(Ft=!1,qe="all",Qe="",Ht="",Et=0){this.matches=Ft,this.mediaQuery=qe,this.mqAlias=Qe,this.suffix=Ht,this.priority=Et,this.property=""}clone(){return new R(this.matches,this.mediaQuery,this.mqAlias,this.suffix)}}let z=(()=>{class Fe{constructor(){this.stylesheet=new Map}addStyleToElement(qe,Qe,Ht){const Et=this.stylesheet.get(qe);Et?Et.set(Qe,Ht):this.stylesheet.set(qe,new Map([[Qe,Ht]]))}clearStyles(){this.stylesheet.clear()}getStyleForElement(qe,Qe){const Ht=this.stylesheet.get(qe);let Et="";if(Ht){const It=Ht.get(Qe);("number"==typeof It||"string"==typeof It)&&(Et=It+"")}return Et}}return Fe.\u0275fac=function(qe){return new(qe||Fe)},Fe.\u0275prov=t.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})();const U={addFlexToParent:!0,addOrientationBps:!1,disableDefaultBps:!1,disableVendorPrefixes:!1,serverLoaded:!1,useColumnBasisZero:!0,printWithBreakpoints:[],mediaTriggerAutoRestore:!0,ssrObserveBreakpoints:[],multiplier:void 0,defaultUnit:"px",detectLayoutDisplay:!1},Y=new t.OlP("Flex Layout token, config options for the library",{providedIn:"root",factory:()=>U}),K=new t.OlP("FlexLayoutServerLoaded",{providedIn:"root",factory:()=>!1}),$=new t.OlP("Flex Layout token, collect all breakpoints into one provider",{providedIn:"root",factory:()=>null});function ie(Fe,Ft){return Fe=Fe?.clone()??new R,Ft&&(Fe.mqAlias=Ft.alias,Fe.mediaQuery=Ft.mediaQuery,Fe.suffix=Ft.suffix,Fe.priority=Ft.priority),Fe}class ue{constructor(){this.shouldCache=!0}sideEffect(Ft,qe,Qe){}}let he=(()=>{class Fe{constructor(qe,Qe,Ht,Et){this._serverStylesheet=qe,this._serverModuleLoaded=Qe,this._platformId=Ht,this.layoutConfig=Et}applyStyleToElement(qe,Qe,Ht=null){let Et={};"string"==typeof Qe&&(Et[Qe]=Ht,Qe=Et),Et=this.layoutConfig.disableVendorPrefixes?Qe:(0,h.GK)(Qe),this._applyMultiValueStyleToElement(Et,qe)}applyStyleToElements(qe,Qe=[]){const Ht=this.layoutConfig.disableVendorPrefixes?qe:(0,h.GK)(qe);Qe.forEach(Et=>{this._applyMultiValueStyleToElement(Ht,Et)})}getFlowDirection(qe){const Qe="flex-direction";let Ht=this.lookupStyle(qe,Qe);return[Ht||"row",this.lookupInlineStyle(qe,Qe)||(0,e.PM)(this._platformId)&&this._serverModuleLoaded?Ht:""]}hasWrap(qe){return"wrap"===this.lookupStyle(qe,"flex-wrap")}lookupAttributeValue(qe,Qe){return qe.getAttribute(Qe)??""}lookupInlineStyle(qe,Qe){return(0,e.NF)(this._platformId)?qe.style.getPropertyValue(Qe):function ne(Fe,Ft){return me(Fe)[Ft]??""}(qe,Qe)}lookupStyle(qe,Qe,Ht=!1){let Et="";return qe&&((Et=this.lookupInlineStyle(qe,Qe))||((0,e.NF)(this._platformId)?Ht||(Et=getComputedStyle(qe).getPropertyValue(Qe)):this._serverModuleLoaded&&(Et=this._serverStylesheet.getStyleForElement(qe,Qe)))),Et?Et.trim():""}_applyMultiValueStyleToElement(qe,Qe){Object.keys(qe).sort().forEach(Ht=>{const Et=qe[Ht],It=Array.isArray(Et)?Et:[Et];It.sort();for(let bt of It)bt=bt?bt+"":"",(0,e.NF)(this._platformId)||!this._serverModuleLoaded?(0,e.NF)(this._platformId)?Qe.style.setProperty(Ht,bt):le(Qe,Ht,bt):this._serverStylesheet.addStyleToElement(Qe,Ht,bt)})}}return Fe.\u0275fac=function(qe){return new(qe||Fe)(t.LFG(z),t.LFG(K),t.LFG(t.Lbi),t.LFG(Y))},Fe.\u0275prov=t.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})();function le(Fe,Ft,qe){Ft=Ft.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();const Qe=me(Fe);Qe[Ft]=qe??"",function ee(Fe,Ft){let qe="";for(const Qe in Ft)Ft[Qe]&&(qe+=`${Qe}:${Ft[Qe]};`);Fe.setAttribute("style",qe)}(Fe,Qe)}function me(Fe){const Ft={},qe=Fe.getAttribute("style");if(qe){const Qe=qe.split(/;+/g);for(let Ht=0;Ht<Qe.length;Ht++){const Et=Qe[Ht].trim();if(Et.length>0){const It=Et.indexOf(":");if(-1===It)throw new Error(`Invalid CSS style: ${Et}`);Ft[Et.substr(0,It).trim()]=Et.substr(It+1).trim()}}}return Ft}function A(Fe,Ft){return(Ft&&Ft.priority||0)-(Fe&&Fe.priority||0)}function i(Fe,Ft){return(Fe.priority||0)-(Ft.priority||0)}let a=(()=>{class Fe{constructor(qe,Qe,Ht){this._zone=qe,this._platformId=Qe,this._document=Ht,this.source=new b.X(new R(!0)),this.registry=new Map,this.pendingRemoveListenerFns=[],this._observable$=this.source.asObservable()}get activations(){const qe=[];return this.registry.forEach((Qe,Ht)=>{Qe.matches&&qe.push(Ht)}),qe}isActive(qe){return this.registry.get(qe)?.matches??this.registerQuery(qe).some(Ht=>Ht.matches)}observe(qe,Qe=!1){if(qe&&qe.length){const Ht=this._observable$.pipe((0,P.h)(It=>!Qe||qe.indexOf(It.mediaQuery)>-1)),Et=new I.y(It=>{const bt=this.registerQuery(qe);if(bt.length){const we=bt.pop();bt.forEach(J=>{It.next(J)}),this.source.next(we)}It.complete()});return(0,s.T)(Et,Ht)}return this._observable$}registerQuery(qe){const Qe=Array.isArray(qe)?qe:[qe],Ht=[];return function l(Fe,Ft){const qe=Fe.filter(Qe=>!u[Qe]);if(qe.length>0){const Qe=qe.join(", ");try{const Ht=Ft.createElement("style");Ht.setAttribute("type","text/css"),Ht.styleSheet||Ht.appendChild(Ft.createTextNode(`\n/*\n @angular/flex-layout - workaround for possible browser quirk with mediaQuery listeners\n see http://bit.ly/2sd4HMP\n*/\n@media ${Qe} {.fx-query-test{ }}\n`)),Ft.head.appendChild(Ht),qe.forEach(Et=>u[Et]=Ht)}catch(Ht){console.error(Ht)}}}(Qe,this._document),Qe.forEach(Et=>{const It=we=>{this._zone.run(()=>this.source.next(new R(we.matches,Et)))};let bt=this.registry.get(Et);bt||(bt=this.buildMQL(Et),bt.addListener(It),this.pendingRemoveListenerFns.push(()=>bt.removeListener(It)),this.registry.set(Et,bt)),bt.matches&&Ht.push(new R(!0,Et))}),Ht}ngOnDestroy(){let qe;for(;qe=this.pendingRemoveListenerFns.pop();)qe()}buildMQL(qe){return function T(Fe,Ft){return Ft&&window.matchMedia("all").addListener?window.matchMedia(Fe):function y(Fe){const Ft=new EventTarget;return Ft.matches="all"===Fe||""===Fe,Ft.media=Fe,Ft.addListener=()=>{},Ft.removeListener=()=>{},Ft.addEventListener=()=>{},Ft.dispatchEvent=()=>!1,Ft.onchange=null,Ft}(Fe)}(qe,(0,e.NF)(this._platformId))}}return Fe.\u0275fac=function(qe){return new(qe||Fe)(t.LFG(t.R0b),t.LFG(t.Lbi),t.LFG(e.K0))},Fe.\u0275prov=t.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})();const u={},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}],m="(orientation: portrait) and (max-width: 599.98px)",n="(orientation: landscape) and (max-width: 959.98px)",v="(orientation: portrait) and (min-width: 600px) and (max-width: 839.98px)",B="(orientation: landscape) and (min-width: 960px) and (max-width: 1279.98px)",V="(orientation: portrait) and (min-width: 840px)",X="(orientation: landscape) and (min-width: 1280px)",De={HANDSET:`${m}, ${n}`,TABLET:`${v} , ${B}`,WEB:`${V}, ${X} `,HANDSET_PORTRAIT:`${m}`,TABLET_PORTRAIT:`${v} `,WEB_PORTRAIT:`${V}`,HANDSET_LANDSCAPE:`${n}`,TABLET_LANDSCAPE:`${B}`,WEB_LANDSCAPE:`${X}`},tt=[{alias:"handset",priority:2e3,mediaQuery:De.HANDSET},{alias:"handset.landscape",priority:2e3,mediaQuery:De.HANDSET_LANDSCAPE},{alias:"handset.portrait",priority:2e3,mediaQuery:De.HANDSET_PORTRAIT},{alias:"tablet",priority:2100,mediaQuery:De.TABLET},{alias:"tablet.landscape",priority:2100,mediaQuery:De.TABLET_LANDSCAPE},{alias:"tablet.portrait",priority:2100,mediaQuery:De.TABLET_PORTRAIT},{alias:"web",priority:2200,mediaQuery:De.WEB,overlapping:!0},{alias:"web.landscape",priority:2200,mediaQuery:De.WEB_LANDSCAPE,overlapping:!0},{alias:"web.portrait",priority:2200,mediaQuery:De.WEB_PORTRAIT,overlapping:!0}],je=/(\.|-|_)/g;function ze(Fe){let Ft=Fe.length>0?Fe.charAt(0):"",qe=Fe.length>1?Fe.slice(1):"";return Ft.toUpperCase()+qe}const ve=new t.OlP("Token (@angular/flex-layout) Breakpoints",{providedIn:"root",factory:()=>{const Fe=(0,t.f3M)($),Ft=(0,t.f3M)(Y),qe=[].concat.apply([],(Fe||[]).map(Ht=>Array.isArray(Ht)?Ht:[Ht]));return function ce(Fe,Ft=[]){const qe={};return Fe.forEach(Qe=>{qe[Qe.alias]=Qe}),Ft.forEach(Qe=>{qe[Qe.alias]?(0,h.kt)(qe[Qe.alias],Qe):qe[Qe.alias]=Qe}),function ye(Fe){return Fe.forEach(Ft=>{Ft.suffix||(Ft.suffix=function Le(Fe){return Fe.replace(je,"|").split("|").map(ze).join("")}(Ft.alias),Ft.overlapping=!!Ft.overlapping)}),Fe}(Object.keys(qe).map(Qe=>qe[Qe]))}((Ft.disableDefaultBps?[]:D).concat(Ft.addOrientationBps?tt:[]),qe)}});let oe=(()=>{class Fe{constructor(qe){this.findByMap=new Map,this.items=[...qe].sort(i)}findByAlias(qe){return qe?this.findWithPredicate(qe,Qe=>Qe.alias===qe):null}findByQuery(qe){return this.findWithPredicate(qe,Qe=>Qe.mediaQuery===qe)}get overlappings(){return this.items.filter(qe=>qe.overlapping)}get aliases(){return this.items.map(qe=>qe.alias)}get suffixes(){return this.items.map(qe=>qe?.suffix??"")}findWithPredicate(qe,Qe){let Ht=this.findByMap.get(qe);return Ht||(Ht=this.items.find(Qe)??null,this.findByMap.set(qe,Ht)),Ht??null}}return Fe.\u0275fac=function(qe){return new(qe||Fe)(t.LFG(ve))},Fe.\u0275prov=t.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})();const Ke="print",Ae={alias:Ke,mediaQuery:Ke,priority:1e3};let de=(()=>{class Fe{constructor(qe,Qe,Ht){this.breakpoints=qe,this.layoutConfig=Qe,this._document=Ht,this.registeredBeforeAfterPrintHooks=!1,this.isPrintingBeforeAfterEvent=!1,this.beforePrintEventListeners=[],this.afterPrintEventListeners=[],this.formerActivations=null,this.isPrinting=!1,this.queue=new Ce,this.deactivations=[]}withPrintQuery(qe){return[...qe,Ke]}isPrintEvent(qe){return qe.mediaQuery.startsWith(Ke)}get printAlias(){return[...this.layoutConfig.printWithBreakpoints??[]]}get printBreakPoints(){return this.printAlias.map(qe=>this.breakpoints.findByAlias(qe)).filter(qe=>null!==qe)}getEventBreakpoints({mediaQuery:qe}){const Qe=this.breakpoints.findByQuery(qe);return(Qe?[...this.printBreakPoints,Qe]:this.printBreakPoints).sort(A)}updateEvent(qe){let Qe=this.breakpoints.findByQuery(qe.mediaQuery);return this.isPrintEvent(qe)&&(Qe=this.getEventBreakpoints(qe)[0],qe.mediaQuery=Qe?.mediaQuery??""),ie(qe,Qe)}registerBeforeAfterPrintHooks(qe){if(!this._document.defaultView||this.registeredBeforeAfterPrintHooks)return;this.registeredBeforeAfterPrintHooks=!0;const Qe=()=>{this.isPrinting||(this.isPrintingBeforeAfterEvent=!0,this.startPrinting(qe,this.getEventBreakpoints(new R(!0,Ke))),qe.updateStyles())},Ht=()=>{this.isPrintingBeforeAfterEvent=!1,this.isPrinting&&(this.stopPrinting(qe),qe.updateStyles())};this._document.defaultView.addEventListener("beforeprint",Qe),this._document.defaultView.addEventListener("afterprint",Ht),this.beforePrintEventListeners.push(Qe),this.afterPrintEventListeners.push(Ht)}interceptEvents(qe){return Qe=>{this.isPrintEvent(Qe)?Qe.matches&&!this.isPrinting?(this.startPrinting(qe,this.getEventBreakpoints(Qe)),qe.updateStyles()):!Qe.matches&&this.isPrinting&&!this.isPrintingBeforeAfterEvent&&(this.stopPrinting(qe),qe.updateStyles()):this.collectActivations(qe,Qe)}}blockPropagation(){return qe=>!(this.isPrinting||this.isPrintEvent(qe))}startPrinting(qe,Qe){this.isPrinting=!0,this.formerActivations=qe.activatedBreakpoints,qe.activatedBreakpoints=this.queue.addPrintBreakpoints(Qe)}stopPrinting(qe){qe.activatedBreakpoints=this.deactivations,this.deactivations=[],this.formerActivations=null,this.queue.clear(),this.isPrinting=!1}collectActivations(qe,Qe){if(!this.isPrinting||this.isPrintingBeforeAfterEvent){if(!this.isPrintingBeforeAfterEvent)return void(this.deactivations=[]);if(!Qe.matches){const Ht=this.breakpoints.findByQuery(Qe.mediaQuery);if(Ht){const Et=this.formerActivations&&this.formerActivations.includes(Ht),It=!this.formerActivations&&qe.activatedBreakpoints.includes(Ht);(Et||It)&&(this.deactivations.push(Ht),this.deactivations.sort(A))}}}}ngOnDestroy(){this._document.defaultView&&(this.beforePrintEventListeners.forEach(qe=>this._document.defaultView.removeEventListener("beforeprint",qe)),this.afterPrintEventListeners.forEach(qe=>this._document.defaultView.removeEventListener("afterprint",qe)))}}return Fe.\u0275fac=function(qe){return new(qe||Fe)(t.LFG(oe),t.LFG(Y),t.LFG(e.K0))},Fe.\u0275prov=t.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})();class Ce{constructor(){this.printBreakpoints=[]}addPrintBreakpoints(Ft){return Ft.push(Ae),Ft.sort(A),Ft.forEach(qe=>this.addBreakpoint(qe)),this.printBreakpoints}addBreakpoint(Ft){Ft&&void 0===this.printBreakpoints.find(Qe=>Qe.mediaQuery===Ft.mediaQuery)&&(this.printBreakpoints=function te(Fe){return Fe?.mediaQuery.startsWith(Ke)??!1}(Ft)?[Ft,...this.printBreakpoints]:[...this.printBreakpoints,Ft])}clear(){this.printBreakpoints=[]}}let Ze=(()=>{class Fe{constructor(qe,Qe,Ht){this.matchMedia=qe,this.breakpoints=Qe,this.hook=Ht,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(qe){this._activatedBreakpoints=[...qe]}get activatedBreakpoints(){return[...this._activatedBreakpoints]}set useFallbacks(qe){this._useFallbacks=qe}onMediaChange(qe){const Qe=this.findByQuery(qe.mediaQuery);if(Qe){qe=ie(qe,Qe);const Ht=this.activatedBreakpoints.indexOf(Qe);qe.matches&&-1===Ht?(this._activatedBreakpoints.push(Qe),this._activatedBreakpoints.sort(A),this.updateStyles()):!qe.matches&&-1!==Ht&&(this._activatedBreakpoints.splice(Ht,1),this._activatedBreakpoints.sort(A),this.updateStyles())}}init(qe,Qe,Ht,Et,It=[]){Ge(this.updateMap,qe,Qe,Ht),Ge(this.clearMap,qe,Qe,Et),this.buildElementKeyMap(qe,Qe),this.watchExtraTriggers(qe,Qe,It)}getValue(qe,Qe,Ht){const Et=this.elementMap.get(qe);if(Et){const It=void 0!==Ht?Et.get(Ht):this.getActivatedValues(Et,Qe);if(It)return It.get(Qe)}}hasValue(qe,Qe){const Ht=this.elementMap.get(qe);if(Ht){const Et=this.getActivatedValues(Ht,Qe);if(Et)return void 0!==Et.get(Qe)||!1}return!1}setValue(qe,Qe,Ht,Et){let It=this.elementMap.get(qe);if(It){const we=(It.get(Et)??new Map).set(Qe,Ht);It.set(Et,we),this.elementMap.set(qe,It)}else It=(new Map).set(Et,(new Map).set(Qe,Ht)),this.elementMap.set(qe,It);const bt=this.getValue(qe,Qe);void 0!==bt&&this.updateElement(qe,Qe,bt)}trackValue(qe,Qe){return this.subject.asObservable().pipe((0,P.h)(Ht=>Ht.element===qe&&Ht.key===Qe))}updateStyles(){this.elementMap.forEach((qe,Qe)=>{const Ht=new Set(this.elementKeyMap.get(Qe));let Et=this.getActivatedValues(qe);Et&&Et.forEach((It,bt)=>{this.updateElement(Qe,bt,It),Ht.delete(bt)}),Ht.forEach(It=>{if(Et=this.getActivatedValues(qe,It),Et){const bt=Et.get(It);this.updateElement(Qe,It,bt)}else this.clearElement(Qe,It)})})}clearElement(qe,Qe){const Ht=this.clearMap.get(qe);if(Ht){const Et=Ht.get(Qe);Et&&(Et(),this.subject.next({element:qe,key:Qe,value:""}))}}updateElement(qe,Qe,Ht){const Et=this.updateMap.get(qe);if(Et){const It=Et.get(Qe);It&&(It(Ht),this.subject.next({element:qe,key:Qe,value:Ht}))}}releaseElement(qe){const Qe=this.watcherMap.get(qe);Qe&&(Qe.forEach(Et=>Et.unsubscribe()),this.watcherMap.delete(qe));const Ht=this.elementMap.get(qe);Ht&&(Ht.forEach((Et,It)=>Ht.delete(It)),this.elementMap.delete(qe))}triggerUpdate(qe,Qe){const Ht=this.elementMap.get(qe);if(Ht){const Et=this.getActivatedValues(Ht,Qe);Et&&(Qe?this.updateElement(qe,Qe,Et.get(Qe)):Et.forEach((It,bt)=>this.updateElement(qe,bt,It)))}}buildElementKeyMap(qe,Qe){let Ht=this.elementKeyMap.get(qe);Ht||(Ht=new Set,this.elementKeyMap.set(qe,Ht)),Ht.add(Qe)}watchExtraTriggers(qe,Qe,Ht){if(Ht&&Ht.length){let Et=this.watcherMap.get(qe);if(Et||(Et=new Map,this.watcherMap.set(qe,Et)),!Et.get(Qe)){const bt=(0,s.T)(...Ht).subscribe(()=>{const we=this.getValue(qe,Qe);this.updateElement(qe,Qe,we)});Et.set(Qe,bt)}}}findByQuery(qe){return this.breakpoints.findByQuery(qe)}getActivatedValues(qe,Qe){for(let Et=0;Et<this.activatedBreakpoints.length;Et++){const bt=qe.get(this.activatedBreakpoints[Et].alias);if(bt&&(void 0===Qe||bt.has(Qe)&&null!=bt.get(Qe)))return bt}if(!this._useFallbacks)return;const Ht=qe.get("");return void 0===Qe||Ht&&Ht.has(Qe)?Ht:void 0}observeActivations(){const qe=this.breakpoints.items.map(Qe=>Qe.mediaQuery);this.hook.registerBeforeAfterPrintHooks(this),this.matchMedia.observe(this.hook.withPrintQuery(qe)).pipe((0,d.b)(this.hook.interceptEvents(this)),(0,P.h)(this.hook.blockPropagation())).subscribe(this.onMediaChange.bind(this))}}return Fe.\u0275fac=function(qe){return new(qe||Fe)(t.LFG(a),t.LFG(oe),t.LFG(de))},Fe.\u0275prov=t.Yz7({token:Fe,factory:Fe.\u0275fac,providedIn:"root"}),Fe})();function Ge(Fe,Ft,qe,Qe){if(void 0!==Qe){const Ht=Fe.get(Ft)??new Map;Ht.set(qe,Qe),Fe.set(Ft,Ht)}}let ae=(()=>{class Fe{constructor(qe,Qe,Ht,Et){this.elementRef=qe,this.styleBuilder=Qe,this.styler=Ht,this.marshal=Et,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(qe){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,qe,this.marshal.activatedAlias)}ngOnChanges(qe){Object.keys(qe).forEach(Qe=>{if(-1!==this.inputs.indexOf(Qe)){const Ht=Qe.split(".").slice(1).join(".");this.setValue(qe[Qe].currentValue,Ht)}})}ngOnDestroy(){this.destroySubject.next(),this.destroySubject.complete(),this.marshal.releaseElement(this.nativeElement)}init(qe=[]){this.marshal.init(this.elementRef.nativeElement,this.DIRECTIVE_KEY,this.updateWithValue.bind(this),this.clearStyles.bind(this),qe)}addStyles(qe,Qe){const Ht=this.styleBuilder,Et=Ht.shouldCache;let It=this.styleCache.get(qe);(!It||!Et)&&(It=Ht.buildStyles(qe,Qe),Et&&this.styleCache.set(qe,It)),this.mru={...It},this.applyStyleToElement(It),Ht.sideEffect(qe,It,Qe)}clearStyles(){Object.keys(this.mru).forEach(qe=>{this.mru[qe]=""}),this.applyStyleToElement(this.mru),this.mru={},this.currentValue=void 0}triggerUpdate(){this.marshal.triggerUpdate(this.nativeElement,this.DIRECTIVE_KEY)}getFlexFlowDirection(qe,Qe=!1){if(qe){const[Ht,Et]=this.styler.getFlowDirection(qe);if(!Et&&Qe){const It=(0,h.Ar)(Ht);this.styler.applyStyleToElements(It,[qe])}return Ht.trim()}return"row"}hasWrap(qe){return this.styler.hasWrap(qe)}applyStyleToElement(qe,Qe,Ht=this.nativeElement){this.styler.applyStyleToElement(Ht,qe,Qe)}setValue(qe,Qe){this.marshal.setValue(this.nativeElement,this.DIRECTIVE_KEY,qe,Qe)}updateWithValue(qe){this.currentValue!==qe&&(this.addStyles(qe),this.currentValue=qe)}}return Fe.\u0275fac=function(qe){return new(qe||Fe)(t.Y36(t.SBq),t.Y36(ue),t.Y36(he),t.Y36(Ze))},Fe.\u0275dir=t.lG2({type:Fe,features:[t.TTD]}),Fe})();class pt extends EventTarget{constructor(Ft){super(),this._mediaQuery=Ft,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(Ft=>{Ft.call(this,{matches:this.matches,media:this.media})})),this}deactivate(){return this._isActive&&(this._isActive=!1,this._listeners.forEach(Ft=>{Ft.call(this,{matches:this.matches,media:this.media})})),this}addListener(Ft){-1===this._listeners.indexOf(Ft)&&this._listeners.push(Ft),this._isActive&&Ft.call(this,{matches:this.matches,media:this.media})}removeListener(Ft){}dispatchEvent(Ft){return!1}}function ke(Fe,Ft="1",qe="1"){let Qe=[Ft,qe,Fe],Ht=Fe.indexOf("calc");if(Ht>0){Qe[2]=He(Fe.substring(Ht).trim());let Et=Fe.substr(0,Ht).trim().split(" ");2==Et.length&&(Qe[0]=Et[0],Qe[1]=Et[1])}else if(0==Ht)Qe[2]=He(Fe.trim());else{let Et=Fe.split(" ");Qe=3===Et.length?Et:[Ft,qe,Fe]}return Qe}function He(Fe){return Fe.replace(/[\s]/g,"").replace(/[\/\*\+\-]/g," $& ")}function W(Fe,Ft){if(void 0===Ft)return Fe;const qe=Qe=>{const Ht=+Qe.slice(0,-"x".length);return Fe.endsWith("x")&&!isNaN(Ht)?`${Ht*Ft.value}${Ft.unit}`:Fe};return Fe.includes(" ")?Fe.split(" ").map(qe).join(" "):qe(Fe)}},5829:(Ue,q,p)=>{"use strict";p.d(q,{Zl:()=>T,aT:()=>n,oO:()=>U});var t=p(4650),e=p(2233),b=p(6895),C=(p(1281),p(2722),p(1481));let E=(()=>{class v extends e.iR{constructor(V,X,De,tt,je,ze,Le){super(V,null,X,De),this.ngClassInstance=Le,this.DIRECTIVE_KEY="ngClass",this.ngClassInstance||(this.ngClassInstance=new b.mk(tt,je,V,ze)),this.init(),this.setValue("","")}set klass(V){this.ngClassInstance.klass=V,this.setValue(V,"")}updateWithValue(V){this.ngClassInstance.ngClass=V,this.ngClassInstance.ngDoCheck()}ngDoCheck(){this.ngClassInstance.ngDoCheck()}}return v.\u0275fac=function(V){return new(V||v)(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(b.mk,10))},v.\u0275dir=t.lG2({type:v,inputs:{klass:["class","klass"]},features:[t.qOj]}),v})();const R=["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 U=(()=>{class v extends E{constructor(){super(...arguments),this.inputs=R}}return v.\u0275fac=function(){let B;return function(X){return(B||(B=t.n5z(v)))(X||v)}}(),v.\u0275dir=t.lG2({type:v,selectors:[["","ngClass",""],["","ngClass.xs",""],["","ngClass.sm",""],["","ngClass.md",""],["","ngClass.lg",""],["","ngClass.xl",""],["","ngClass.lt-sm",""],["","ngClass.lt-md",""],["","ngClass.lt-lg",""],["","ngClass.lt-xl",""],["","ngClass.gt-xs",""],["","ngClass.gt-sm",""],["","ngClass.gt-md",""],["","ngClass.gt-lg",""]],inputs:{ngClass:"ngClass","ngClass.xs":"ngClass.xs","ngClass.sm":"ngClass.sm","ngClass.md":"ngClass.md","ngClass.lg":"ngClass.lg","ngClass.xl":"ngClass.xl","ngClass.lt-sm":"ngClass.lt-sm","ngClass.lt-md":"ngClass.lt-md","ngClass.lt-lg":"ngClass.lt-lg","ngClass.lt-xl":"ngClass.lt-xl","ngClass.gt-xs":"ngClass.gt-xs","ngClass.gt-sm":"ngClass.gt-sm","ngClass.gt-md":"ngClass.gt-md","ngClass.gt-lg":"ngClass.gt-lg"},features:[t.qOj]}),v})();class ne{constructor(B,V,X=!0){this.key=B,this.value=V,this.key=X?B.replace(/['"]/g,"").trim():B.trim(),this.value=X?V.replace(/['"]/g,"").trim():V.trim(),this.value=this.value.replace(/;/,"")}}function le(v){let B=typeof v;return"object"===B?v.constructor===Array?"array":v.constructor===Set?"set":"object":B}function i(v){const[B,...V]=v.split(":");return new ne(B,V.join(":"))}function a(v,B){return B.key&&(v[B.key]=B.value),v}let u=(()=>{class v extends e.iR{constructor(V,X,De,tt,je,ze,Le,ye,ce){super(V,null,X,De),this.sanitizer=tt,this.ngStyleInstance=Le,this.DIRECTIVE_KEY="ngStyle",this.ngStyleInstance||(this.ngStyleInstance=new b.PC(V,je,ze)),this.init();const ve=this.nativeElement.getAttribute("style")??"";this.fallbackStyles=this.buildStyleMap(ve),this.isServer=ye&&(0,b.PM)(ce)}updateWithValue(V){const X=this.buildStyleMap(V);this.ngStyleInstance.ngStyle={...this.fallbackStyles,...X},this.isServer&&this.applyStyleToElement(X),this.ngStyleInstance.ngDoCheck()}clearStyles(){this.ngStyleInstance.ngStyle=this.fallbackStyles,this.ngStyleInstance.ngDoCheck()}buildStyleMap(V){const X=De=>this.sanitizer.sanitize(t.q3G.STYLE,De)??"";if(V)switch(le(V)){case"string":return D(function ee(v,B=";"){return String(v).trim().split(B).map(V=>V.trim()).filter(V=>""!==V)}(V),X);case"array":return D(V,X);default:return function A(v,B){let V=[];return"set"===le(v)?v.forEach(X=>V.push(X)):Object.keys(v).forEach(X=>{V.push(`${X}:${v[X]}`)}),function me(v,B){return v.map(i).filter(X=>!!X).map(X=>(B&&(X.value=B(X.value)),X)).reduce(a,{})}(V,B)}(V,X)}return{}}ngDoCheck(){this.ngStyleInstance.ngDoCheck()}}return v.\u0275fac=function(V){return new(V||v)(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(b.PC,10),t.Y36(e.wY),t.Y36(t.Lbi))},v.\u0275dir=t.lG2({type:v,features:[t.qOj]}),v})();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 T=(()=>{class v extends u{constructor(){super(...arguments),this.inputs=l}}return v.\u0275fac=function(){let B;return function(X){return(B||(B=t.n5z(v)))(X||v)}}(),v.\u0275dir=t.lG2({type:v,selectors:[["","ngStyle",""],["","ngStyle.xs",""],["","ngStyle.sm",""],["","ngStyle.md",""],["","ngStyle.lg",""],["","ngStyle.xl",""],["","ngStyle.lt-sm",""],["","ngStyle.lt-md",""],["","ngStyle.lt-lg",""],["","ngStyle.lt-xl",""],["","ngStyle.gt-xs",""],["","ngStyle.gt-sm",""],["","ngStyle.gt-md",""],["","ngStyle.gt-lg",""]],inputs:{ngStyle:"ngStyle","ngStyle.xs":"ngStyle.xs","ngStyle.sm":"ngStyle.sm","ngStyle.md":"ngStyle.md","ngStyle.lg":"ngStyle.lg","ngStyle.xl":"ngStyle.xl","ngStyle.lt-sm":"ngStyle.lt-sm","ngStyle.lt-md":"ngStyle.lt-md","ngStyle.lt-lg":"ngStyle.lt-lg","ngStyle.lt-xl":"ngStyle.lt-xl","ngStyle.gt-xs":"ngStyle.gt-xs","ngStyle.gt-sm":"ngStyle.gt-sm","ngStyle.gt-md":"ngStyle.gt-md","ngStyle.gt-lg":"ngStyle.gt-lg"},features:[t.qOj]}),v})();function D(v,B){return v.map(i).filter(X=>!!X).map(X=>(B&&(X.value=B(X.value)),X)).reduce(a,{})}let n=(()=>{class v{}return v.\u0275fac=function(V){return new(V||v)},v.\u0275mod=t.oAB({type:v}),v.\u0275inj=t.cJS({imports:[e.IR]}),v})()},1576:(Ue,q,p)=>{"use strict";p.d(q,{Wh:()=>ke,ae:()=>It,xw:()=>w,yH:()=>y});var t=p(4650),e=p(445),b=p(2233),I=p(5863),C=(p(7579),p(2722));let h=(()=>{class bt extends b.QI{buildStyles(J,{display:be}){const Ve=(0,I.Ar)(J);return{...Ve,display:"none"===be?be:Ve.display}}}return bt.\u0275fac=function(){let we;return function(be){return(we||(we=t.n5z(bt)))(be||bt)}}(),bt.\u0275prov=t.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"}),bt})();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 S=(()=>{class bt extends b.iR{constructor(J,be,Ve,ot,ei){super(J,Ve,be,ot),this._config=ei,this.DIRECTIVE_KEY="layout",this.init()}updateWithValue(J){const Ve=this._config.detectLayoutDisplay?this.styler.lookupStyle(this.nativeElement,"display"):"";this.styleCache=O.get(Ve)??new Map,O.set(Ve,this.styleCache),this.currentValue!==J&&(this.addStyles(J,{display:Ve}),this.currentValue=J)}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.SBq),t.Y36(b.RK),t.Y36(h),t.Y36(b.yB),t.Y36(b.WU))},bt.\u0275dir=t.lG2({type:bt,features:[t.qOj]}),bt})(),w=(()=>{class bt extends S{constructor(){super(...arguments),this.inputs=P}}return bt.\u0275fac=function(){let we;return function(be){return(we||(we=t.n5z(bt)))(be||bt)}}(),bt.\u0275dir=t.lG2({type:bt,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]}),bt})();const O=new Map;let i=(()=>{class bt extends b.QI{constructor(J){super(),this.layoutConfig=J}buildStyles(J,be){let[Ve,ot,...ei]=J.split(" "),Bt=ei.join(" ");const ti=be.direction.indexOf("column")>-1?"column":"row",mt=(0,I.tj)(ti)?"max-width":"max-height",nt=(0,I.tj)(ti)?"min-width":"min-height",yt=String(Bt).indexOf("calc")>-1,$t=yt||"auto"===Bt,Vt=String(Bt).indexOf("%")>-1&&!yt,ft=String(Bt).indexOf("px")>-1||String(Bt).indexOf("rem")>-1||String(Bt).indexOf("em")>-1||String(Bt).indexOf("vw")>-1||String(Bt).indexOf("vh")>-1;let Pt=yt||ft;Ve="0"==Ve?0:Ve,ot="0"==ot?0:ot;const Pe=!Ve&&!ot;let it={};const at={"max-width":null,"max-height":null,"min-width":null,"min-height":null};switch(Bt||""){case"":Bt="row"===ti?"0%":!1!==this.layoutConfig.useColumnBasisZero?"0.000000001px":"auto";break;case"initial":case"nogrow":Ve=0,Bt="auto";break;case"grow":Bt="100%";break;case"noshrink":ot=0,Bt="auto";break;case"auto":break;case"none":Ve=0,ot=0,Bt="auto";break;default:!Pt&&!Vt&&!isNaN(Bt)&&(Bt+="%"),"0%"===Bt&&(Pt=!0),"0px"===Bt&&(Bt="0%"),it=(0,I.kt)(at,yt?{"flex-grow":Ve,"flex-shrink":ot,"flex-basis":Pt?Bt:"100%"}:{flex:`${Ve} ${ot} ${Pt?Bt:"100%"}`})}return it.flex||it["flex-grow"]||(it=(0,I.kt)(at,yt?{"flex-grow":Ve,"flex-shrink":ot,"flex-basis":Bt}:{flex:`${Ve} ${ot} ${Bt}`})),"0%"!==Bt&&"0px"!==Bt&&"0.000000001px"!==Bt&&"auto"!==Bt&&(it[nt]=Pe||Pt&&Ve?Bt:null,it[mt]=Pe||!$t&&ot?Bt:null),it[nt]||it[mt]?be.hasWrap&&(it[yt?"flex-basis":"flex"]=it[mt]?yt?it[mt]:`${Ve} ${ot} ${it[mt]}`:yt?it[nt]:`${Ve} ${ot} ${it[nt]}`):it=(0,I.kt)(at,yt?{"flex-grow":Ve,"flex-shrink":ot,"flex-basis":Bt}:{flex:`${Ve} ${ot} ${Bt}`}),(0,I.kt)(it,{"box-sizing":"border-box"})}}return bt.\u0275fac=function(J){return new(J||bt)(t.LFG(b.WU))},bt.\u0275prov=t.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"}),bt})();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 bt extends b.iR{constructor(J,be,Ve,ot,ei){super(J,ot,be,ei),this.layoutConfig=Ve,this.marshal=ei,this.DIRECTIVE_KEY="flex",this.direction=void 0,this.wrap=void 0,this.flexGrow="1",this.flexShrink="1",this.init()}get shrink(){return this.flexShrink}set shrink(J){this.flexShrink=J||"1",this.triggerReflow()}get grow(){return this.flexGrow}set grow(J){this.flexGrow=J||"1",this.triggerReflow()}ngOnInit(){this.parentElement&&(this.marshal.trackValue(this.parentElement,"layout").pipe((0,C.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this)),this.marshal.trackValue(this.nativeElement,"layout-align").pipe((0,C.R)(this.destroySubject)).subscribe(this.triggerReflow.bind(this)))}onLayoutChange(J){const Ve=J.value.split(" ");this.direction=Ve[0],this.wrap=void 0!==Ve[1]&&"wrap"===Ve[1],this.triggerUpdate()}updateWithValue(J){void 0===this.direction&&(this.direction=this.getFlexFlowDirection(this.parentElement,!1!==this.layoutConfig.addFlexToParent)),void 0===this.wrap&&(this.wrap=this.hasWrap(this.parentElement));const Ve=this.direction,ot=Ve.startsWith("row"),ei=this.wrap;ot&&ei?this.styleCache=m:ot&&!ei?this.styleCache=T:!ot&&ei?this.styleCache=n:!ot&&!ei&&(this.styleCache=D);const Bt=String(J).replace(";",""),ti=(0,b.Ot)(Bt,this.flexGrow,this.flexShrink);this.addStyles(ti.join(" "),{direction:Ve,hasWrap:ei})}triggerReflow(){const J=this.activatedValue;if(void 0!==J){const be=(0,b.Ot)(J+"",this.flexGrow,this.flexShrink);this.marshal.updateElement(this.nativeElement,this.DIRECTIVE_KEY,be.join(" "))}}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.SBq),t.Y36(b.RK),t.Y36(b.WU),t.Y36(i),t.Y36(b.yB))},bt.\u0275dir=t.lG2({type:bt,inputs:{shrink:["fxShrink","shrink"],grow:["fxGrow","grow"]},features:[t.qOj]}),bt})(),y=(()=>{class bt extends l{constructor(){super(...arguments),this.inputs=a}}return bt.\u0275fac=function(){let we;return function(be){return(we||(we=t.n5z(bt)))(be||bt)}}(),bt.\u0275dir=t.lG2({type:bt,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]}),bt})();const T=new Map,D=new Map,m=new Map,n=new Map;let At=(()=>{class bt extends b.QI{buildStyles(J,be){const Ve={},[ot,ei]=J.split(" ");switch(ot){case"center":Ve["justify-content"]="center";break;case"space-around":Ve["justify-content"]="space-around";break;case"space-between":Ve["justify-content"]="space-between";break;case"space-evenly":Ve["justify-content"]="space-evenly";break;case"end":case"flex-end":Ve["justify-content"]="flex-end";break;default:Ve["justify-content"]="flex-start"}switch(ei){case"start":case"flex-start":Ve["align-items"]=Ve["align-content"]="flex-start";break;case"center":Ve["align-items"]=Ve["align-content"]="center";break;case"end":case"flex-end":Ve["align-items"]=Ve["align-content"]="flex-end";break;case"space-between":Ve["align-content"]="space-between",Ve["align-items"]="stretch";break;case"space-around":Ve["align-content"]="space-around",Ve["align-items"]="stretch";break;case"baseline":Ve["align-content"]="stretch",Ve["align-items"]="baseline";break;default:Ve["align-items"]=Ve["align-content"]="stretch"}return(0,I.kt)(Ve,{display:be.inline?"inline-flex":"flex","flex-direction":be.layout,"box-sizing":"border-box","max-width":"stretch"===ei?(0,I.tj)(be.layout)?null:"100%":null,"max-height":"stretch"===ei&&(0,I.tj)(be.layout)?"100%":null})}}return bt.\u0275fac=function(){let we;return function(be){return(we||(we=t.n5z(bt)))(be||bt)}}(),bt.\u0275prov=t.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"}),bt})();const _t=["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 St=(()=>{class bt extends b.iR{constructor(J,be,Ve,ot){super(J,Ve,be,ot),this.DIRECTIVE_KEY="layout-align",this.layout="row",this.inline=!1,this.init(),this.marshal.trackValue(this.nativeElement,"layout").pipe((0,C.R)(this.destroySubject)).subscribe(this.onLayoutChange.bind(this))}updateWithValue(J){const be=this.layout||"row",Ve=this.inline;"row"===be&&Ve?this.styleCache=Ft:"row"!==be||Ve?"row-reverse"===be&&Ve?this.styleCache=Qe:"row-reverse"!==be||Ve?"column"===be&&Ve?this.styleCache=qe:"column"!==be||Ve?"column-reverse"===be&&Ve?this.styleCache=Ht:"column-reverse"===be&&!Ve&&(this.styleCache=Fe):this.styleCache=wt:this.styleCache=W:this.styleCache=He,this.addStyles(J,{layout:be,inline:Ve})}onLayoutChange(J){const be=J.value.split(" ");this.layout=be[0],this.inline=J.value.includes("inline"),I.iQ.find(Ve=>Ve===this.layout)||(this.layout="row"),this.triggerUpdate()}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.SBq),t.Y36(b.RK),t.Y36(At),t.Y36(b.yB))},bt.\u0275dir=t.lG2({type:bt,features:[t.qOj]}),bt})(),ke=(()=>{class bt extends St{constructor(){super(...arguments),this.inputs=_t}}return bt.\u0275fac=function(){let we;return function(be){return(we||(we=t.n5z(bt)))(be||bt)}}(),bt.\u0275dir=t.lG2({type:bt,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]}),bt})();const He=new Map,wt=new Map,W=new Map,Fe=new Map,Ft=new Map,qe=new Map,Qe=new Map,Ht=new Map;let It=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[b.IR,e.vT]}),bt})()},4006:(Ue,q,p)=>{"use strict";p.d(q,{Cf:()=>K,F:()=>ii,Fd:()=>Ir,Fj:()=>R,JJ:()=>te,JL:()=>Ze,JU:()=>P,On:()=>mi,Q7:()=>Jr,QS:()=>la,UX:()=>ar,Zs:()=>Xr,_Y:()=>ki,a5:()=>Ke,kI:()=>ue,oH:()=>Sr,p4:()=>pa,qQ:()=>gr,sg:()=>Kn,u:()=>Ma,u5:()=>bn,wV:()=>fn});var t=p(4650),e=p(6895),b=p(457),I=p(4128),s=p(4004);let C=(()=>{class st{constructor(We,Ot){this._renderer=We,this._elementRef=Ot,this.onChange=xi=>{},this.onTouched=()=>{}}setProperty(We,Ot){this._renderer.setProperty(this._elementRef.nativeElement,We,Ot)}registerOnTouched(We){this.onTouched=We}registerOnChange(We){this.onChange=We}setDisabledState(We){this.setProperty("disabled",We)}}return st.\u0275fac=function(We){return new(We||st)(t.Y36(t.Qsj),t.Y36(t.SBq))},st.\u0275dir=t.lG2({type:st}),st})(),h=(()=>{class st extends C{}return st.\u0275fac=function(){let et;return function(Ot){return(et||(et=t.n5z(st)))(Ot||st)}}(),st.\u0275dir=t.lG2({type:st,features:[t.qOj]}),st})();const P=new t.OlP("NgValueAccessor"),w={provide:P,useExisting:(0,t.Gpc)(()=>R),multi:!0},E=new t.OlP("CompositionEventMode");let R=(()=>{class st extends C{constructor(We,Ot,xi){super(We,Ot),this._compositionMode=xi,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function O(){const st=(0,e.q)()?(0,e.q)().getUserAgent():"";return/android (\d+)/.test(st.toLowerCase())}())}writeValue(We){this.setProperty("value",We??"")}_handleInput(We){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(We)}_compositionStart(){this._composing=!0}_compositionEnd(We){this._composing=!1,this._compositionMode&&this.onChange(We)}}return st.\u0275fac=function(We){return new(We||st)(t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(E,8))},st.\u0275dir=t.lG2({type:st,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(We,Ot){1&We&&t.NdJ("input",function(cn){return Ot._handleInput(cn.target.value)})("blur",function(){return Ot.onTouched()})("compositionstart",function(){return Ot._compositionStart()})("compositionend",function(cn){return Ot._compositionEnd(cn.target.value)})},features:[t._Bn([w]),t.qOj]}),st})();function U(st){return null==st||("string"==typeof st||Array.isArray(st))&&0===st.length}function Y(st){return null!=st&&"number"==typeof st.length}const K=new t.OlP("NgValidators"),$=new t.OlP("NgAsyncValidators"),ie=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class ue{static min(et){return he(et)}static max(et){return ne(et)}static required(et){return le(et)}static requiredTrue(et){return ee(et)}static email(et){return function me(st){return U(st.value)||ie.test(st.value)?null:{email:!0}}(et)}static minLength(et){return function A(st){return et=>U(et.value)||!Y(et.value)?null:et.value.length<st?{minlength:{requiredLength:st,actualLength:et.value.length}}:null}(et)}static maxLength(et){return function i(st){return et=>Y(et.value)&&et.value.length>st?{maxlength:{requiredLength:st,actualLength:et.value.length}}:null}(et)}static pattern(et){return function a(st){if(!st)return u;let et,We;return"string"==typeof st?(We="","^"!==st.charAt(0)&&(We+="^"),We+=st,"$"!==st.charAt(st.length-1)&&(We+="$"),et=new RegExp(We)):(We=st.toString(),et=st),Ot=>{if(U(Ot.value))return null;const xi=Ot.value;return et.test(xi)?null:{pattern:{requiredPattern:We,actualValue:xi}}}}(et)}static nullValidator(et){return null}static compose(et){return v(et)}static composeAsync(et){return V(et)}}function he(st){return et=>{if(U(et.value)||U(st))return null;const We=parseFloat(et.value);return!isNaN(We)&&We<st?{min:{min:st,actual:et.value}}:null}}function ne(st){return et=>{if(U(et.value)||U(st))return null;const We=parseFloat(et.value);return!isNaN(We)&&We>st?{max:{max:st,actual:et.value}}:null}}function le(st){return U(st.value)?{required:!0}:null}function ee(st){return!0===st.value?null:{required:!0}}function u(st){return null}function l(st){return null!=st}function y(st){return(0,t.QGY)(st)?(0,b.D)(st):st}function T(st){let et={};return st.forEach(We=>{et=null!=We?{...et,...We}:et}),0===Object.keys(et).length?null:et}function D(st,et){return et.map(We=>We(st))}function n(st){return st.map(et=>function m(st){return!st.validate}(et)?et:We=>et.validate(We))}function v(st){if(!st)return null;const et=st.filter(l);return 0==et.length?null:function(We){return T(D(We,et))}}function B(st){return null!=st?v(n(st)):null}function V(st){if(!st)return null;const et=st.filter(l);return 0==et.length?null:function(We){const Ot=D(We,et).map(y);return(0,I.D)(Ot).pipe((0,s.U)(T))}}function X(st){return null!=st?V(n(st)):null}function De(st,et){return null===st?[et]:Array.isArray(st)?[...st,et]:[st,et]}function tt(st){return st._rawValidators}function je(st){return st._rawAsyncValidators}function ze(st){return st?Array.isArray(st)?st:[st]:[]}function Le(st,et){return Array.isArray(st)?st.includes(et):st===et}function ye(st,et){const We=ze(et);return ze(st).forEach(xi=>{Le(We,xi)||We.push(xi)}),We}function ce(st,et){return ze(et).filter(We=>!Le(st,We))}class ve{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(et){this._rawValidators=et||[],this._composedValidatorFn=B(this._rawValidators)}_setAsyncValidators(et){this._rawAsyncValidators=et||[],this._composedAsyncValidatorFn=X(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(et){this._onDestroyCallbacks.push(et)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(et=>et()),this._onDestroyCallbacks=[]}reset(et){this.control&&this.control.reset(et)}hasError(et,We){return!!this.control&&this.control.hasError(et,We)}getError(et,We){return this.control?this.control.getError(et,We):null}}class oe extends ve{get formDirective(){return null}get path(){return null}}class Ke extends ve{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ae{constructor(et){this._cd=et}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let te=(()=>{class st extends Ae{constructor(We){super(We)}}return st.\u0275fac=function(We){return new(We||st)(t.Y36(Ke,2))},st.\u0275dir=t.lG2({type:st,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(We,Ot){2&We&&t.ekj("ng-untouched",Ot.isUntouched)("ng-touched",Ot.isTouched)("ng-pristine",Ot.isPristine)("ng-dirty",Ot.isDirty)("ng-valid",Ot.isValid)("ng-invalid",Ot.isInvalid)("ng-pending",Ot.isPending)},features:[t.qOj]}),st})(),Ze=(()=>{class st extends Ae{constructor(We){super(We)}}return st.\u0275fac=function(We){return new(We||st)(t.Y36(oe,10))},st.\u0275dir=t.lG2({type:st,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(We,Ot){2&We&&t.ekj("ng-untouched",Ot.isUntouched)("ng-touched",Ot.isTouched)("ng-pristine",Ot.isPristine)("ng-dirty",Ot.isDirty)("ng-valid",Ot.isValid)("ng-invalid",Ot.isInvalid)("ng-pending",Ot.isPending)("ng-submitted",Ot.isSubmitted)},features:[t.qOj]}),st})();const Ht="VALID",Et="INVALID",It="PENDING",bt="DISABLED";function we(st){return(ot(st)?st.validators:st)||null}function be(st,et){return(ot(et)?et.asyncValidators:st)||null}function ot(st){return null!=st&&!Array.isArray(st)&&"object"==typeof st}function ei(st,et,We){const Ot=st.controls;if(!(et?Object.keys(Ot):Ot).length)throw new t.vHH(1e3,"");if(!Ot[We])throw new t.vHH(1001,"")}function Bt(st,et,We){st._forEachChild((Ot,xi)=>{if(void 0===We[xi])throw new t.vHH(1002,"")})}class ti{constructor(et,We){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(et),this._assignAsyncValidators(We)}get validator(){return this._composedValidatorFn}set validator(et){this._rawValidators=this._composedValidatorFn=et}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(et){this._rawAsyncValidators=this._composedAsyncValidatorFn=et}get parent(){return this._parent}get valid(){return this.status===Ht}get invalid(){return this.status===Et}get pending(){return this.status==It}get disabled(){return this.status===bt}get enabled(){return this.status!==bt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(et){this._assignValidators(et)}setAsyncValidators(et){this._assignAsyncValidators(et)}addValidators(et){this.setValidators(ye(et,this._rawValidators))}addAsyncValidators(et){this.setAsyncValidators(ye(et,this._rawAsyncValidators))}removeValidators(et){this.setValidators(ce(et,this._rawValidators))}removeAsyncValidators(et){this.setAsyncValidators(ce(et,this._rawAsyncValidators))}hasValidator(et){return Le(this._rawValidators,et)}hasAsyncValidator(et){return Le(this._rawAsyncValidators,et)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(et={}){this.touched=!0,this._parent&&!et.onlySelf&&this._parent.markAsTouched(et)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(et=>et.markAllAsTouched())}markAsUntouched(et={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(We=>{We.markAsUntouched({onlySelf:!0})}),this._parent&&!et.onlySelf&&this._parent._updateTouched(et)}markAsDirty(et={}){this.pristine=!1,this._parent&&!et.onlySelf&&this._parent.markAsDirty(et)}markAsPristine(et={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(We=>{We.markAsPristine({onlySelf:!0})}),this._parent&&!et.onlySelf&&this._parent._updatePristine(et)}markAsPending(et={}){this.status=It,!1!==et.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!et.onlySelf&&this._parent.markAsPending(et)}disable(et={}){const We=this._parentMarkedDirty(et.onlySelf);this.status=bt,this.errors=null,this._forEachChild(Ot=>{Ot.disable({...et,onlySelf:!0})}),this._updateValue(),!1!==et.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...et,skipPristineCheck:We}),this._onDisabledChange.forEach(Ot=>Ot(!0))}enable(et={}){const We=this._parentMarkedDirty(et.onlySelf);this.status=Ht,this._forEachChild(Ot=>{Ot.enable({...et,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:et.emitEvent}),this._updateAncestors({...et,skipPristineCheck:We}),this._onDisabledChange.forEach(Ot=>Ot(!1))}_updateAncestors(et){this._parent&&!et.onlySelf&&(this._parent.updateValueAndValidity(et),et.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(et){this._parent=et}getRawValue(){return this.value}updateValueAndValidity(et={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ht||this.status===It)&&this._runAsyncValidator(et.emitEvent)),!1!==et.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!et.onlySelf&&this._parent.updateValueAndValidity(et)}_updateTreeValidity(et={emitEvent:!0}){this._forEachChild(We=>We._updateTreeValidity(et)),this.updateValueAndValidity({onlySelf:!0,emitEvent:et.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?bt:Ht}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(et){if(this.asyncValidator){this.status=It,this._hasOwnPendingAsyncValidator=!0;const We=y(this.asyncValidator(this));this._asyncValidationSubscription=We.subscribe(Ot=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(Ot,{emitEvent:et})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(et,We={}){this.errors=et,this._updateControlsErrors(!1!==We.emitEvent)}get(et){let We=et;return null==We||(Array.isArray(We)||(We=We.split(".")),0===We.length)?null:We.reduce((Ot,xi)=>Ot&&Ot._find(xi),this)}getError(et,We){const Ot=We?this.get(We):this;return Ot&&Ot.errors?Ot.errors[et]:null}hasError(et,We){return!!this.getError(et,We)}get root(){let et=this;for(;et._parent;)et=et._parent;return et}_updateControlsErrors(et){this.status=this._calculateStatus(),et&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(et)}_initObservables(){this.valueChanges=new t.vpe,this.statusChanges=new t.vpe}_calculateStatus(){return this._allControlsDisabled()?bt:this.errors?Et:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(It)?It:this._anyControlsHaveStatus(Et)?Et:Ht}_anyControlsHaveStatus(et){return this._anyControls(We=>We.status===et)}_anyControlsDirty(){return this._anyControls(et=>et.dirty)}_anyControlsTouched(){return this._anyControls(et=>et.touched)}_updatePristine(et={}){this.pristine=!this._anyControlsDirty(),this._parent&&!et.onlySelf&&this._parent._updatePristine(et)}_updateTouched(et={}){this.touched=this._anyControlsTouched(),this._parent&&!et.onlySelf&&this._parent._updateTouched(et)}_registerOnCollectionChange(et){this._onCollectionChange=et}_setUpdateStrategy(et){ot(et)&&null!=et.updateOn&&(this._updateOn=et.updateOn)}_parentMarkedDirty(et){return!et&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(et){return null}_assignValidators(et){this._rawValidators=Array.isArray(et)?et.slice():et,this._composedValidatorFn=function J(st){return Array.isArray(st)?B(st):st||null}(this._rawValidators)}_assignAsyncValidators(et){this._rawAsyncValidators=Array.isArray(et)?et.slice():et,this._composedAsyncValidatorFn=function Ve(st){return Array.isArray(st)?X(st):st||null}(this._rawAsyncValidators)}}class mt extends ti{constructor(et,We,Ot){super(we(We),be(Ot,We)),this.controls=et,this._initObservables(),this._setUpdateStrategy(We),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(et,We){return this.controls[et]?this.controls[et]:(this.controls[et]=We,We.setParent(this),We._registerOnCollectionChange(this._onCollectionChange),We)}addControl(et,We,Ot={}){this.registerControl(et,We),this.updateValueAndValidity({emitEvent:Ot.emitEvent}),this._onCollectionChange()}removeControl(et,We={}){this.controls[et]&&this.controls[et]._registerOnCollectionChange(()=>{}),delete this.controls[et],this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}setControl(et,We,Ot={}){this.controls[et]&&this.controls[et]._registerOnCollectionChange(()=>{}),delete this.controls[et],We&&this.registerControl(et,We),this.updateValueAndValidity({emitEvent:Ot.emitEvent}),this._onCollectionChange()}contains(et){return this.controls.hasOwnProperty(et)&&this.controls[et].enabled}setValue(et,We={}){Bt(this,0,et),Object.keys(et).forEach(Ot=>{ei(this,!0,Ot),this.controls[Ot].setValue(et[Ot],{onlySelf:!0,emitEvent:We.emitEvent})}),this.updateValueAndValidity(We)}patchValue(et,We={}){null!=et&&(Object.keys(et).forEach(Ot=>{const xi=this.controls[Ot];xi&&xi.patchValue(et[Ot],{onlySelf:!0,emitEvent:We.emitEvent})}),this.updateValueAndValidity(We))}reset(et={},We={}){this._forEachChild((Ot,xi)=>{Ot.reset(et[xi],{onlySelf:!0,emitEvent:We.emitEvent})}),this._updatePristine(We),this._updateTouched(We),this.updateValueAndValidity(We)}getRawValue(){return this._reduceChildren({},(et,We,Ot)=>(et[Ot]=We.getRawValue(),et))}_syncPendingControls(){let et=this._reduceChildren(!1,(We,Ot)=>!!Ot._syncPendingControls()||We);return et&&this.updateValueAndValidity({onlySelf:!0}),et}_forEachChild(et){Object.keys(this.controls).forEach(We=>{const Ot=this.controls[We];Ot&&et(Ot,We)})}_setUpControls(){this._forEachChild(et=>{et.setParent(this),et._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(et){for(const[We,Ot]of Object.entries(this.controls))if(this.contains(We)&&et(Ot))return!0;return!1}_reduceValue(){return this._reduceChildren({},(We,Ot,xi)=>((Ot.enabled||this.disabled)&&(We[xi]=Ot.value),We))}_reduceChildren(et,We){let Ot=et;return this._forEachChild((xi,cn)=>{Ot=We(Ot,xi,cn)}),Ot}_allControlsDisabled(){for(const et of Object.keys(this.controls))if(this.controls[et].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(et){return this.controls.hasOwnProperty(et)?this.controls[et]:null}}class $t extends mt{}const ft=new t.OlP("CallSetDisabledState",{providedIn:"root",factory:()=>Pt}),Pt="always";function Pe(st,et){return[...et.path,st]}function it(st,et,We=Pt){ui(st,et),et.valueAccessor.writeValue(st.value),(st.disabled||"always"===We)&&et.valueAccessor.setDisabledState?.(st.disabled),function yi(st,et){et.valueAccessor.registerOnChange(We=>{st._pendingValue=We,st._pendingChange=!0,st._pendingDirty=!0,"change"===st.updateOn&&Xe(st,et)})}(st,et),function Tt(st,et){const We=(Ot,xi)=>{et.valueAccessor.writeValue(Ot),xi&&et.viewToModelUpdate(Ot)};st.registerOnChange(We),et._registerOnDestroy(()=>{st._unregisterOnChange(We)})}(st,et),function Ni(st,et){et.valueAccessor.registerOnTouched(()=>{st._pendingTouched=!0,"blur"===st.updateOn&&st._pendingChange&&Xe(st,et),"submit"!==st.updateOn&&st.markAsTouched()})}(st,et),function Lt(st,et){if(et.valueAccessor.setDisabledState){const We=Ot=>{et.valueAccessor.setDisabledState(Ot)};st.registerOnDisabledChange(We),et._registerOnDestroy(()=>{st._unregisterOnDisabledChange(We)})}}(st,et)}function at(st,et,We=!0){const Ot=()=>{};et.valueAccessor&&(et.valueAccessor.registerOnChange(Ot),et.valueAccessor.registerOnTouched(Ot)),Ti(st,et),st&&(et._invokeOnDestroyCallbacks(),st._registerOnCollectionChange(()=>{}))}function ht(st,et){st.forEach(We=>{We.registerOnValidatorChange&&We.registerOnValidatorChange(et)})}function ui(st,et){const We=tt(st);null!==et.validator?st.setValidators(De(We,et.validator)):"function"==typeof We&&st.setValidators([We]);const Ot=je(st);null!==et.asyncValidator?st.setAsyncValidators(De(Ot,et.asyncValidator)):"function"==typeof Ot&&st.setAsyncValidators([Ot]);const xi=()=>st.updateValueAndValidity();ht(et._rawValidators,xi),ht(et._rawAsyncValidators,xi)}function Ti(st,et){let We=!1;if(null!==st){if(null!==et.validator){const xi=tt(st);if(Array.isArray(xi)&&xi.length>0){const cn=xi.filter(ha=>ha!==et.validator);cn.length!==xi.length&&(We=!0,st.setValidators(cn))}}if(null!==et.asyncValidator){const xi=je(st);if(Array.isArray(xi)&&xi.length>0){const cn=xi.filter(ha=>ha!==et.asyncValidator);cn.length!==xi.length&&(We=!0,st.setAsyncValidators(cn))}}}const Ot=()=>{};return ht(et._rawValidators,Ot),ht(et._rawAsyncValidators,Ot),We}function Xe(st,et){st._pendingDirty&&st.markAsDirty(),st.setValue(st._pendingValue,{emitModelToViewChange:!1}),et.viewToModelUpdate(st._pendingValue),st._pendingChange=!1}function xe(st,et){ui(st,et)}function ji(st,et){if(!st.hasOwnProperty("model"))return!1;const We=st.model;return!!We.isFirstChange()||!Object.is(et,We.currentValue)}function Gt(st,et){st._syncPendingControls(),et.forEach(We=>{const Ot=We.control;"submit"===Ot.updateOn&&Ot._pendingChange&&(We.viewToModelUpdate(Ot._pendingValue),Ot._pendingChange=!1)})}function Kt(st,et){if(!et)return null;let We,Ot,xi;return Array.isArray(et),et.forEach(cn=>{cn.constructor===R?We=cn:function $i(st){return Object.getPrototypeOf(st.constructor)===h}(cn)?Ot=cn:xi=cn}),xi||Ot||We||null}const ct={provide:oe,useExisting:(0,t.Gpc)(()=>ii)},Je=(()=>Promise.resolve())();let ii=(()=>{class st extends oe{constructor(We,Ot,xi){super(),this.callSetDisabledState=xi,this.submitted=!1,this._directives=new Set,this.ngSubmit=new t.vpe,this.form=new mt({},B(We),X(Ot))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(We){Je.then(()=>{const Ot=this._findContainer(We.path);We.control=Ot.registerControl(We.name,We.control),it(We.control,We,this.callSetDisabledState),We.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(We)})}getControl(We){return this.form.get(We.path)}removeControl(We){Je.then(()=>{const Ot=this._findContainer(We.path);Ot&&Ot.removeControl(We.name),this._directives.delete(We)})}addFormGroup(We){Je.then(()=>{const Ot=this._findContainer(We.path),xi=new mt({});xe(xi,We),Ot.registerControl(We.name,xi),xi.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(We){Je.then(()=>{const Ot=this._findContainer(We.path);Ot&&Ot.removeControl(We.name)})}getFormGroup(We){return this.form.get(We.path)}updateModel(We,Ot){Je.then(()=>{this.form.get(We.path).setValue(Ot)})}setValue(We){this.control.setValue(We)}onSubmit(We){return this.submitted=!0,Gt(this.form,this._directives),this.ngSubmit.emit(We),"dialog"===We?.target?.method}onReset(){this.resetForm()}resetForm(We){this.form.reset(We),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(We){return We.pop(),We.length?this.form.get(We):this.form}}return st.\u0275fac=function(We){return new(We||st)(t.Y36(K,10),t.Y36($,10),t.Y36(ft,8))},st.\u0275dir=t.lG2({type:st,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(We,Ot){1&We&&t.NdJ("submit",function(cn){return Ot.onSubmit(cn)})("reset",function(){return Ot.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([ct]),t.qOj]}),st})();function Oi(st,et){const We=st.indexOf(et);We>-1&&st.splice(We,1)}function Xi(st){return"object"==typeof st&&null!==st&&2===Object.keys(st).length&&"value"in st&&"disabled"in st}const Rn=class extends ti{constructor(et=null,We,Ot){super(we(We),be(Ot,We)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(et),this._setUpdateStrategy(We),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),ot(We)&&(We.nonNullable||We.initialValueIsDefault)&&(this.defaultValue=Xi(et)?et.value:et)}setValue(et,We={}){this.value=this._pendingValue=et,this._onChange.length&&!1!==We.emitModelToViewChange&&this._onChange.forEach(Ot=>Ot(this.value,!1!==We.emitViewToModelChange)),this.updateValueAndValidity(We)}patchValue(et,We={}){this.setValue(et,We)}reset(et=this.defaultValue,We={}){this._applyFormState(et),this.markAsPristine(We),this.markAsUntouched(We),this.setValue(this.value,We),this._pendingChange=!1}_updateValue(){}_anyControls(et){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(et){this._onChange.push(et)}_unregisterOnChange(et){Oi(this._onChange,et)}registerOnDisabledChange(et){this._onDisabledChange.push(et)}_unregisterOnDisabledChange(et){Oi(this._onDisabledChange,et)}_forEachChild(et){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(et){Xi(et)?(this.value=this._pendingValue=et.value,et.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=et}},pa=Rn,fi={provide:Ke,useExisting:(0,t.Gpc)(()=>mi)},hi=(()=>Promise.resolve())();let mi=(()=>{class st extends Ke{constructor(We,Ot,xi,cn,ha,wi){super(),this._changeDetectorRef=ha,this.callSetDisabledState=wi,this.control=new Rn,this._registered=!1,this.update=new t.vpe,this._parent=We,this._setValidators(Ot),this._setAsyncValidators(xi),this.valueAccessor=Kt(0,cn)}ngOnChanges(We){if(this._checkForErrors(),!this._registered||"name"in We){if(this._registered&&(this._checkName(),this.formDirective)){const Ot=We.name.previousValue;this.formDirective.removeControl({name:Ot,path:this._getPath(Ot)})}this._setUpControl()}"isDisabled"in We&&this._updateDisabled(We),ji(We,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(We){this.viewModel=We,this.update.emit(We)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){it(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(We){hi.then(()=>{this.control.setValue(We,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(We){const Ot=We.isDisabled.currentValue,xi=0!==Ot&&(0,t.D6c)(Ot);hi.then(()=>{xi&&!this.control.disabled?this.control.disable():!xi&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(We){return this._parent?Pe(We,this._parent):[We]}}return st.\u0275fac=function(We){return new(We||st)(t.Y36(oe,9),t.Y36(K,10),t.Y36($,10),t.Y36(P,10),t.Y36(t.sBO,8),t.Y36(ft,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([fi]),t.qOj,t.TTD]}),st})(),ki=(()=>{class st{}return st.\u0275fac=function(We){return new(We||st)},st.\u0275dir=t.lG2({type:st,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),st})();const Vi={provide:P,useExisting:(0,t.Gpc)(()=>fn),multi:!0};let fn=(()=>{class st extends h{writeValue(We){this.setProperty("value",We??"")}registerOnChange(We){this.onChange=Ot=>{We(""==Ot?null:parseFloat(Ot))}}}return st.\u0275fac=function(){let et;return function(Ot){return(et||(et=t.n5z(st)))(Ot||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(We,Ot){1&We&&t.NdJ("input",function(cn){return Ot.onChange(cn.target.value)})("blur",function(){return Ot.onTouched()})},features:[t._Bn([Vi]),t.qOj]}),st})(),_a=(()=>{class st{}return st.\u0275fac=function(We){return new(We||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({}),st})();const $n=new t.OlP("NgModelWithFormControlWarning"),Lr={provide:Ke,useExisting:(0,t.Gpc)(()=>Sr)};let Sr=(()=>{class st extends Ke{set isDisabled(We){}constructor(We,Ot,xi,cn,ha){super(),this._ngModelWarningConfig=cn,this.callSetDisabledState=ha,this.update=new t.vpe,this._ngModelWarningSent=!1,this._setValidators(We),this._setAsyncValidators(Ot),this.valueAccessor=Kt(0,xi)}ngOnChanges(We){if(this._isControlChanged(We)){const Ot=We.form.previousValue;Ot&&at(Ot,this,!1),it(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}ji(We,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&at(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(We){this.viewModel=We,this.update.emit(We)}_isControlChanged(We){return We.hasOwnProperty("form")}}return st._ngModelWarningSentOnce=!1,st.\u0275fac=function(We){return new(We||st)(t.Y36(K,10),t.Y36($,10),t.Y36(P,10),t.Y36($n,8),t.Y36(ft,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([Lr]),t.qOj,t.TTD]}),st})();const tr={provide:oe,useExisting:(0,t.Gpc)(()=>Kn)};let Kn=(()=>{class st extends oe{constructor(We,Ot,xi){super(),this.callSetDisabledState=xi,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new t.vpe,this._setValidators(We),this._setAsyncValidators(Ot)}ngOnChanges(We){this._checkFormPresent(),We.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Ti(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(We){const Ot=this.form.get(We.path);return it(Ot,We,this.callSetDisabledState),Ot.updateValueAndValidity({emitEvent:!1}),this.directives.push(We),Ot}getControl(We){return this.form.get(We.path)}removeControl(We){at(We.control||null,We,!1),function fe(st,et){const We=st.indexOf(et);We>-1&&st.splice(We,1)}(this.directives,We)}addFormGroup(We){this._setUpFormContainer(We)}removeFormGroup(We){this._cleanUpFormContainer(We)}getFormGroup(We){return this.form.get(We.path)}addFormArray(We){this._setUpFormContainer(We)}removeFormArray(We){this._cleanUpFormContainer(We)}getFormArray(We){return this.form.get(We.path)}updateModel(We,Ot){this.form.get(We.path).setValue(Ot)}onSubmit(We){return this.submitted=!0,Gt(this.form,this.directives),this.ngSubmit.emit(We),"dialog"===We?.target?.method}onReset(){this.resetForm()}resetForm(We){this.form.reset(We),this.submitted=!1}_updateDomValue(){this.directives.forEach(We=>{const Ot=We.control,xi=this.form.get(We.path);Ot!==xi&&(at(Ot||null,We),(st=>st instanceof Rn)(xi)&&(it(xi,We,this.callSetDisabledState),We.control=xi))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(We){const Ot=this.form.get(We.path);xe(Ot,We),Ot.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(We){if(this.form){const Ot=this.form.get(We.path);Ot&&function Rt(st,et){return Ti(st,et)}(Ot,We)&&Ot.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){ui(this.form,this),this._oldForm&&Ti(this._oldForm,this)}_checkFormPresent(){}}return st.\u0275fac=function(We){return new(We||st)(t.Y36(K,10),t.Y36($,10),t.Y36(ft,8))},st.\u0275dir=t.lG2({type:st,selectors:[["","formGroup",""]],hostBindings:function(We,Ot){1&We&&t.NdJ("submit",function(cn){return Ot.onSubmit(cn)})("reset",function(){return Ot.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[t._Bn([tr]),t.qOj,t.TTD]}),st})();const wo={provide:Ke,useExisting:(0,t.Gpc)(()=>Ma)};let Ma=(()=>{class st extends Ke{set isDisabled(We){}constructor(We,Ot,xi,cn,ha){super(),this._ngModelWarningConfig=ha,this._added=!1,this.update=new t.vpe,this._ngModelWarningSent=!1,this._parent=We,this._setValidators(Ot),this._setAsyncValidators(xi),this.valueAccessor=Kt(0,cn)}ngOnChanges(We){this._added||this._setUpControl(),ji(We,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(We){this.viewModel=We,this.update.emit(We)}get path(){return Pe(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}}return st._ngModelWarningSentOnce=!1,st.\u0275fac=function(We){return new(We||st)(t.Y36(oe,13),t.Y36(K,10),t.Y36($,10),t.Y36(P,10),t.Y36($n,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([wo]),t.qOj,t.TTD]}),st})();function pr(st){return"number"==typeof st?st:parseFloat(st)}let ra=(()=>{class st{constructor(){this._validator=u}ngOnChanges(We){if(this.inputName in We){const Ot=this.normalizeInput(We[this.inputName].currentValue);this._enabled=this.enabled(Ot),this._validator=this._enabled?this.createValidator(Ot):u,this._onChange&&this._onChange()}}validate(We){return this._validator(We)}registerOnValidatorChange(We){this._onChange=We}enabled(We){return null!=We}}return st.\u0275fac=function(We){return new(We||st)},st.\u0275dir=t.lG2({type:st,features:[t.TTD]}),st})();const Ya={provide:K,useExisting:(0,t.Gpc)(()=>Ir),multi:!0};let Ir=(()=>{class st extends ra{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=We=>pr(We),this.createValidator=We=>ne(We)}}return st.\u0275fac=function(){let et;return function(Ot){return(et||(et=t.n5z(st)))(Ot||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(We,Ot){2&We&&t.uIk("max",Ot._enabled?Ot.max:null)},inputs:{max:"max"},features:[t._Bn([Ya]),t.qOj]}),st})();const kr={provide:K,useExisting:(0,t.Gpc)(()=>gr),multi:!0};let gr=(()=>{class st extends ra{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=We=>pr(We),this.createValidator=We=>he(We)}}return st.\u0275fac=function(){let et;return function(Ot){return(et||(et=t.n5z(st)))(Ot||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(We,Ot){2&We&&t.uIk("min",Ot._enabled?Ot.min:null)},inputs:{min:"min"},features:[t._Bn([kr]),t.qOj]}),st})();const mo={provide:K,useExisting:(0,t.Gpc)(()=>Jr),multi:!0},Pa={provide:K,useExisting:(0,t.Gpc)(()=>Xr),multi:!0};let Jr=(()=>{class st extends ra{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=t.D6c,this.createValidator=We=>le}enabled(We){return We}}return st.\u0275fac=function(){let et;return function(Ot){return(et||(et=t.n5z(st)))(Ot||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(We,Ot){2&We&&t.uIk("required",Ot._enabled?"":null)},inputs:{required:"required"},features:[t._Bn([mo]),t.qOj]}),st})(),Xr=(()=>{class st extends Jr{constructor(){super(...arguments),this.createValidator=We=>ee}}return st.\u0275fac=function(){let et;return function(Ot){return(et||(et=t.n5z(st)))(Ot||st)}}(),st.\u0275dir=t.lG2({type:st,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(We,Ot){2&We&&t.uIk("required",Ot._enabled?"":null)},features:[t._Bn([Pa]),t.qOj]}),st})(),zt=(()=>{class st{}return st.\u0275fac=function(We){return new(We||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({imports:[_a]}),st})();class oi extends ti{constructor(et,We,Ot){super(we(We),be(Ot,We)),this.controls=et,this._initObservables(),this._setUpdateStrategy(We),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(et){return this.controls[this._adjustIndex(et)]}push(et,We={}){this.controls.push(et),this._registerControl(et),this.updateValueAndValidity({emitEvent:We.emitEvent}),this._onCollectionChange()}insert(et,We,Ot={}){this.controls.splice(et,0,We),this._registerControl(We),this.updateValueAndValidity({emitEvent:Ot.emitEvent})}removeAt(et,We={}){let Ot=this._adjustIndex(et);Ot<0&&(Ot=0),this.controls[Ot]&&this.controls[Ot]._registerOnCollectionChange(()=>{}),this.controls.splice(Ot,1),this.updateValueAndValidity({emitEvent:We.emitEvent})}setControl(et,We,Ot={}){let xi=this._adjustIndex(et);xi<0&&(xi=0),this.controls[xi]&&this.controls[xi]._registerOnCollectionChange(()=>{}),this.controls.splice(xi,1),We&&(this.controls.splice(xi,0,We),this._registerControl(We)),this.updateValueAndValidity({emitEvent:Ot.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(et,We={}){Bt(this,0,et),et.forEach((Ot,xi)=>{ei(this,!1,xi),this.at(xi).setValue(Ot,{onlySelf:!0,emitEvent:We.emitEvent})}),this.updateValueAndValidity(We)}patchValue(et,We={}){null!=et&&(et.forEach((Ot,xi)=>{this.at(xi)&&this.at(xi).patchValue(Ot,{onlySelf:!0,emitEvent:We.emitEvent})}),this.updateValueAndValidity(We))}reset(et=[],We={}){this._forEachChild((Ot,xi)=>{Ot.reset(et[xi],{onlySelf:!0,emitEvent:We.emitEvent})}),this._updatePristine(We),this._updateTouched(We),this.updateValueAndValidity(We)}getRawValue(){return this.controls.map(et=>et.getRawValue())}clear(et={}){this.controls.length<1||(this._forEachChild(We=>We._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:et.emitEvent}))}_adjustIndex(et){return et<0?et+this.length:et}_syncPendingControls(){let et=this.controls.reduce((We,Ot)=>!!Ot._syncPendingControls()||We,!1);return et&&this.updateValueAndValidity({onlySelf:!0}),et}_forEachChild(et){this.controls.forEach((We,Ot)=>{et(We,Ot)})}_updateValue(){this.value=this.controls.filter(et=>et.enabled||this.disabled).map(et=>et.value)}_anyControls(et){return this.controls.some(We=>We.enabled&&et(We))}_setUpControls(){this._forEachChild(et=>this._registerControl(et))}_allControlsDisabled(){for(const et of this.controls)if(et.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(et){et.setParent(this),et._registerOnCollectionChange(this._onCollectionChange)}_find(et){return this.at(et)??null}}function Pi(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 We=new st;return We.useNonNullable=!0,We}group(We,Ot=null){const xi=this._reduceControls(We);let cn={};return Pi(Ot)?cn=Ot:null!==Ot&&(cn.validators=Ot.validator,cn.asyncValidators=Ot.asyncValidator),new mt(xi,cn)}record(We,Ot=null){const xi=this._reduceControls(We);return new $t(xi,Ot)}control(We,Ot,xi){let cn={};return this.useNonNullable?(Pi(Ot)?cn=Ot:(cn.validators=Ot,cn.asyncValidators=xi),new Rn(We,{...cn,nonNullable:!0})):new Rn(We,Ot,xi)}array(We,Ot,xi){const cn=We.map(ha=>this._createControl(ha));return new oi(cn,Ot,xi)}_reduceControls(We){const Ot={};return Object.keys(We).forEach(xi=>{Ot[xi]=this._createControl(We[xi])}),Ot}_createControl(We){return We instanceof Rn||We instanceof ti?We:Array.isArray(We)?this.control(We[0],We.length>1?We[1]:null,We.length>2?We[2]:null):this.control(We)}}return st.\u0275fac=function(We){return new(We||st)},st.\u0275prov=t.Yz7({token:st,factory:st.\u0275fac,providedIn:"root"}),st})(),la=(()=>{class st extends nn{group(We,Ot=null){return super.group(We,Ot)}control(We,Ot,xi){return super.control(We,Ot,xi)}array(We,Ot,xi){return super.array(We,Ot,xi)}}return st.\u0275fac=function(){let et;return function(Ot){return(et||(et=t.n5z(st)))(Ot||st)}}(),st.\u0275prov=t.Yz7({token:st,factory:st.\u0275fac,providedIn:"root"}),st})(),bn=(()=>{class st{static withConfig(We){return{ngModule:st,providers:[{provide:ft,useValue:We.callSetDisabledState??Pt}]}}}return st.\u0275fac=function(We){return new(We||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({imports:[zt]}),st})(),ar=(()=>{class st{static withConfig(We){return{ngModule:st,providers:[{provide:$n,useValue:We.warnOnNgModelWithFormControl??"always"},{provide:ft,useValue:We.callSetDisabledState??Pt}]}}}return st.\u0275fac=function(We){return new(We||st)},st.\u0275mod=t.oAB({type:st}),st.\u0275inj=t.cJS({imports:[zt]}),st})()},7957:(Ue,q,p)=>{"use strict";p.d(q,{Bb:()=>ve,XC:()=>B,ZL:()=>ce});var t=p(4650),e=p(3238),b=p(6895),I=p(531),s=p(8184),C=p(4761),h=p(1281),P=p(3353),d=p(7340),S=p(727),w=p(7579),O=p(9770),E=p(6451),R=p(9646),z=p(4968),U=p(9521),Y=p(4080),K=p(4006),$=p(9549),ie=p(8675),ue=p(3900),he=p(5698),ne=p(9300),le=p(4004),ee=p(8505),me=p(4086),A=p(445);const i=["panel"];function a(oe,Ke){if(1&oe&&(t.TgZ(0,"div",0,1),t.Hsn(2),t.qZA()),2&oe){const Ae=Ke.id,de=t.oxw();t.Q6J("id",de.id)("ngClass",de._classList)("@panelAnimation",de.isOpen?"visible":"hidden"),t.uIk("aria-label",de.ariaLabel||null)("aria-labelledby",de._getPanelAriaLabelledby(Ae))}}const u=["*"],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 T{constructor(Ke,Ae){this.source=Ke,this.option=Ae}}const D=(0,e.Kr)(class{}),m=new t.OlP("mat-autocomplete-default-options",{providedIn:"root",factory:function n(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1}}});let v=(()=>{class oe extends D{get isOpen(){return this._isOpen&&this.showPanel}_setColor(Ae){this._color=Ae,this._setThemeClasses(this._classList)}get autoActiveFirstOption(){return this._autoActiveFirstOption}set autoActiveFirstOption(Ae){this._autoActiveFirstOption=(0,h.Ig)(Ae)}get autoSelectActiveOption(){return this._autoSelectActiveOption}set autoSelectActiveOption(Ae){this._autoSelectActiveOption=(0,h.Ig)(Ae)}set classList(Ae){this._classList=Ae&&Ae.length?(0,h.du)(Ae).reduce((de,Ce)=>(de[Ce]=!0,de),{}):{},this._setVisibilityClasses(this._classList),this._setThemeClasses(this._classList),this._elementRef.nativeElement.className=""}constructor(Ae,de,Ce,te){super(),this._changeDetectorRef=Ae,this._elementRef=de,this._activeOptionChanges=S.w0.EMPTY,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new t.vpe,this.opened=new t.vpe,this.closed=new t.vpe,this.optionActivated=new t.vpe,this._classList={},this.id="mat-autocomplete-"+y++,this.inertGroups=te?.SAFARI||!1,this._autoActiveFirstOption=!!Ce.autoActiveFirstOption,this._autoSelectActiveOption=!!Ce.autoSelectActiveOption}ngAfterContentInit(){this._keyManager=new C.s1(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(Ae=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[Ae]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe()}_setScrollTop(Ae){this.panel&&(this.panel.nativeElement.scrollTop=Ae)}_getScrollTop(){return this.panel?this.panel.nativeElement.scrollTop:0}_setVisibility(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}_emitSelectEvent(Ae){const de=new T(this,Ae);this.optionSelected.emit(de)}_getPanelAriaLabelledby(Ae){return this.ariaLabel?null:this.ariaLabelledby?(Ae?Ae+" ":"")+this.ariaLabelledby:Ae}_setVisibilityClasses(Ae){Ae[this._visibleClass]=this.showPanel,Ae[this._hiddenClass]=!this.showPanel}_setThemeClasses(Ae){Ae["mat-primary"]="primary"===this._color,Ae["mat-warn"]="warn"===this._color,Ae["mat-accent"]="accent"===this._color}}return oe.\u0275fac=function(Ae){return new(Ae||oe)(t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(m),t.Y36(P.t4))},oe.\u0275dir=t.lG2({type:oe,viewQuery:function(Ae,de){if(1&Ae&&(t.Gf(t.Rgc,7),t.Gf(i,5)),2&Ae){let Ce;t.iGM(Ce=t.CRH())&&(de.template=Ce.first),t.iGM(Ce=t.CRH())&&(de.panel=Ce.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]}),oe})(),B=(()=>{class oe extends v{constructor(){super(...arguments),this._visibleClass="mat-mdc-autocomplete-visible",this._hiddenClass="mat-mdc-autocomplete-hidden"}}return oe.\u0275fac=function(){let Ke;return function(de){return(Ke||(Ke=t.n5z(oe)))(de||oe)}}(),oe.\u0275cmp=t.Xpm({type:oe,selectors:[["mat-autocomplete"]],contentQueries:function(Ae,de,Ce){if(1&Ae&&(t.Suo(Ce,e.K7,5),t.Suo(Ce,e.ey,5)),2&Ae){let te;t.iGM(te=t.CRH())&&(de.optionGroups=te),t.iGM(te=t.CRH())&&(de.options=te)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[t._Bn([{provide:e.HF,useExisting:oe}]),t.qOj],ngContentSelectors:u,decls:1,vars:0,consts:[["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id","ngClass"],["panel",""]],template:function(Ae,de){1&Ae&&(t.F$t(),t.YNc(0,a,3,5,"ng-template"))},dependencies:[b.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}),oe})();const De={provide:K.JU,useExisting:(0,t.Gpc)(()=>ce),multi:!0},je=new t.OlP("mat-autocomplete-scroll-strategy"),Le={provide:je,deps:[s.aV],useFactory:function ze(oe){return()=>oe.scrollStrategies.reposition()}};let ye=(()=>{class oe{get autocompleteDisabled(){return this._autocompleteDisabled}set autocompleteDisabled(Ae){this._autocompleteDisabled=(0,h.Ig)(Ae)}constructor(Ae,de,Ce,te,Ze,Ge,ae,ge,pt,$e,ut){this._element=Ae,this._overlay=de,this._viewContainerRef=Ce,this._zone=te,this._changeDetectorRef=Ze,this._dir=ae,this._formField=ge,this._document=pt,this._viewportRuler=$e,this._defaults=ut,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=S.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,O.P)(()=>{const At=this.autocomplete?this.autocomplete.options:null;return At?At.changes.pipe((0,ie.O)(At),(0,ue.w)(()=>(0,E.T)(...At.map(_t=>_t.onSelectionChange)))):this._zone.onStable.pipe((0,he.q)(1),(0,ue.w)(()=>this.optionSelections))}),this._scrollStrategy=Ge}ngAfterViewInit(){const Ae=this._getWindow();typeof Ae<"u"&&this._zone.runOutsideAngular(()=>Ae.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(Ae){Ae.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){const Ae=this._getWindow();typeof Ae<"u"&&Ae.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._attachOverlay(),this._floatLabel()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._isOpen=this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return(0,E.T)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe((0,ne.h)(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe((0,ne.h)(()=>this._overlayAttached)):(0,R.of)()).pipe((0,le.U)(Ae=>Ae instanceof e.rN?Ae:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return(0,E.T)((0,z.R)(this._document,"click"),(0,z.R)(this._document,"auxclick"),(0,z.R)(this._document,"touchend")).pipe((0,ne.h)(Ae=>{const de=(0,P.sA)(Ae),Ce=this._formField?this._formField._elementRef.nativeElement:null,te=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&de!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!Ce||!Ce.contains(de))&&(!te||!te.contains(de))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(de)}))}writeValue(Ae){Promise.resolve(null).then(()=>this._assignOptionValue(Ae))}registerOnChange(Ae){this._onChange=Ae}registerOnTouched(Ae){this._onTouched=Ae}setDisabledState(Ae){this._element.nativeElement.disabled=Ae}_handleKeydown(Ae){const de=Ae.keyCode,Ce=(0,U.Vb)(Ae);if(de===U.hY&&!Ce&&Ae.preventDefault(),this.activeOption&&de===U.K5&&this.panelOpen&&!Ce)this.activeOption._selectViaInteraction(),this._resetActiveItem(),Ae.preventDefault();else if(this.autocomplete){const te=this.autocomplete._keyManager.activeItem,Ze=de===U.LH||de===U.JH;de===U.Mf||Ze&&!Ce&&this.panelOpen?this.autocomplete._keyManager.onKeydown(Ae):Ze&&this._canOpen()&&this.openPanel(),(Ze||this.autocomplete._keyManager.activeItem!==te)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._element.nativeElement.value),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(Ae){let de=Ae.target,Ce=de.value;"number"===de.type&&(Ce=""==Ce?null:parseFloat(Ce)),this._previousValue!==Ce&&(this._previousValue=Ce,this._pendingAutoselectedOption=null,this._onChange(Ce),this._canOpen()&&this._document.activeElement===Ae.target&&this.openPanel())}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this.openPanel()}_floatLabel(Ae=!1){this._formField&&"auto"===this._formField.floatLabel&&(Ae?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){const Ae=this._zone.onStable.pipe((0,he.q)(1)),de=this.autocomplete.options.changes.pipe((0,ee.b)(()=>this._positionStrategy.reapplyLastPosition()),(0,me.g)(0));return(0,E.T)(Ae,de).pipe((0,ue.w)(()=>(this._zone.run(()=>{const Ce=this.panelOpen;this._resetActiveItem(),this.autocomplete._setVisibility(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),Ce!==this.panelOpen&&(this.panelOpen?this.autocomplete.opened.emit():this.autocomplete.closed.emit())}),this.panelClosingActions)),(0,he.q)(1)).subscribe(Ce=>this._setValueAndClose(Ce))}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_assignOptionValue(Ae){const de=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(Ae):Ae;this._updateNativeInputValue(de??"")}_updateNativeInputValue(Ae){this._formField?this._formField._control.value=Ae:this._element.nativeElement.value=Ae,this._previousValue=Ae}_setValueAndClose(Ae){const de=Ae?Ae.source:this._pendingAutoselectedOption;de&&(this._clearPreviousSelectedOption(de),this._assignOptionValue(de.value),this._onChange(de.value),this.autocomplete._emitSelectEvent(de),this._element.nativeElement.focus()),this.closePanel()}_clearPreviousSelectedOption(Ae){this.autocomplete.options.forEach(de=>{de!==Ae&&de.selected&&de.deselect()})}_attachOverlay(){let Ae=this._overlayRef;Ae?(this._positionStrategy.setOrigin(this._getConnectedElement()),Ae.updateSize({width:this._getPanelWidth()})):(this._portal=new Y.UE(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),Ae=this._overlay.create(this._getOverlayConfig()),this._overlayRef=Ae,this._handleOverlayEvents(Ae),this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&Ae&&Ae.updateSize({width:this._getPanelWidth()})})),Ae&&!Ae.hasAttached()&&(Ae.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());const de=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._setColor(this._formField?.color),this.panelOpen&&de!==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 Ae=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(Ae),this._positionStrategy=Ae,Ae}_setStrategyPositions(Ae){const de=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ce=this._aboveClass,te=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:Ce},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:Ce}];let Ze;Ze="above"===this.position?te:"below"===this.position?de:[...de,...te],Ae.withPositions(Ze)}_getConnectedElement(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}_getPanelWidth(){return this.autocomplete.panelWidth||this._getHostWidth()}_getHostWidth(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}_resetActiveItem(){const Ae=this.autocomplete;Ae.autoActiveFirstOption?Ae._keyManager.setFirstItemActive():Ae._keyManager.setActiveItem(-1)}_canOpen(){const Ae=this._element.nativeElement;return!Ae.readOnly&&!Ae.disabled&&!this._autocompleteDisabled}_getWindow(){return this._document?.defaultView||window}_scrollToOption(Ae){const de=this.autocomplete,Ce=(0,e.CB)(Ae,de.options,de.optionGroups);if(0===Ae&&1===Ce)de._setScrollTop(0);else if(de.panel){const te=de.options.toArray()[Ae];if(te){const Ze=te._getHostElement(),Ge=(0,e.jH)(Ze.offsetTop,Ze.offsetHeight,de._getScrollTop(),de.panel.nativeElement.offsetHeight);de._setScrollTop(Ge)}}}_handleOverlayEvents(Ae){Ae.keydownEvents().subscribe(de=>{(de.keyCode===U.hY&&!(0,U.Vb)(de)||de.keyCode===U.LH&&(0,U.Vb)(de,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),de.stopPropagation(),de.preventDefault())}),Ae.outsidePointerEvents().subscribe()}}return oe.\u0275fac=function(Ae){return new(Ae||oe)(t.Y36(t.SBq),t.Y36(s.aV),t.Y36(t.s_b),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(je),t.Y36(A.Is,8),t.Y36($.G_,9),t.Y36(b.K0,8),t.Y36(I.rL),t.Y36(m,8))},oe.\u0275dir=t.lG2({type:oe,inputs:{autocomplete:["matAutocomplete","autocomplete"],position:["matAutocompletePosition","position"],connectedTo:["matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"]},features:[t.TTD]}),oe})(),ce=(()=>{class oe extends ye{constructor(){super(...arguments),this._aboveClass="mat-mdc-autocomplete-panel-above"}}return oe.\u0275fac=function(){let Ke;return function(de){return(Ke||(Ke=t.n5z(oe)))(de||oe)}}(),oe.\u0275dir=t.lG2({type:oe,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(Ae,de){1&Ae&&t.NdJ("focusin",function(){return de._handleFocus()})("blur",function(){return de._onTouched()})("input",function(te){return de._handleInput(te)})("keydown",function(te){return de._handleKeydown(te)})("click",function(){return de._handleClick()}),2&Ae&&t.uIk("autocomplete",de.autocompleteAttribute)("role",de.autocompleteDisabled?null:"combobox")("aria-autocomplete",de.autocompleteDisabled?null:"list")("aria-activedescendant",de.panelOpen&&de.activeOption?de.activeOption.id:null)("aria-expanded",de.autocompleteDisabled?null:de.panelOpen.toString())("aria-owns",de.autocompleteDisabled||!de.panelOpen||null==de.autocomplete?null:de.autocomplete.id)("aria-haspopup",de.autocompleteDisabled?null:"listbox")},exportAs:["matAutocompleteTrigger"],features:[t._Bn([De]),t.qOj]}),oe})(),ve=(()=>{class oe{}return oe.\u0275fac=function(Ae){return new(Ae||oe)},oe.\u0275mod=t.oAB({type:oe}),oe.\u0275inj=t.cJS({providers:[Le],imports:[s.U8,e.Ng,e.BQ,b.ez,I.ZD,e.Ng,e.BQ]}),oe})()},2673:(Ue,q,p)=>{"use strict";p.d(q,{g:()=>d,k:()=>P});var t=p(4650),e=p(3238),b=p(4761),I=p(1281);let s=0;const C=(0,e.Id)(class{}),h="mat-badge-content";let P=(()=>{class S extends C{get color(){return this._color}set color(O){this._setColor(O),this._color=O}get overlap(){return this._overlap}set overlap(O){this._overlap=(0,I.Ig)(O)}get content(){return this._content}set content(O){this._updateRenderedContent(O)}get description(){return this._description}set description(O){this._updateHostAriaDescription(O)}get hidden(){return this._hidden}set hidden(O){this._hidden=(0,I.Ig)(O)}constructor(O,E,R,z,U){super(),this._ngZone=O,this._elementRef=E,this._ariaDescriber=R,this._renderer=z,this._animationMode=U,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 O=this._renderer.createElement("span"),E="mat-badge-active";return O.setAttribute("id",`mat-badge-content-${this._id}`),O.setAttribute("aria-hidden","true"),O.classList.add(h),"NoopAnimations"===this._animationMode&&O.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(O),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{O.classList.add(E)})}):O.classList.add(E),O}_updateRenderedContent(O){const E=`${O??""}`.trim();this._isInitialized&&E&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=E),this._content=E}_updateHostAriaDescription(O){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),O&&this._ariaDescriber.describe(this._elementRef.nativeElement,O),this._description=O}_setColor(O){const E=this._elementRef.nativeElement.classList;E.remove(`mat-badge-${this._color}`),O&&E.add(`mat-badge-${O}`)}_clearExistingBadges(){const O=this._elementRef.nativeElement.querySelectorAll(`:scope > .${h}`);for(const E of Array.from(O))E!==this._badgeElement&&E.remove()}}return S.\u0275fac=function(O){return new(O||S)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(b.$s),t.Y36(t.Qsj),t.Y36(t.QbO,8))},S.\u0275dir=t.lG2({type:S,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(O,E){2&O&&t.ekj("mat-badge-overlap",E.overlap)("mat-badge-above",E.isAbove())("mat-badge-below",!E.isAbove())("mat-badge-before",!E.isAfter())("mat-badge-after",E.isAfter())("mat-badge-small","small"===E.size)("mat-badge-medium","medium"===E.size)("mat-badge-large","large"===E.size)("mat-badge-hidden",E.hidden||!E.content)("mat-badge-disabled",E.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]}),S})(),d=(()=>{class S{}return S.\u0275fac=function(O){return new(O||S)},S.\u0275mod=t.oAB({type:S}),S.\u0275inj=t.cJS({imports:[b.rt,e.BQ,e.BQ]}),S})()},4859:(Ue,q,p)=>{"use strict";p.d(q,{RK:()=>D,lW:()=>le,nh:()=>l,ot:()=>n});var t=p(3353),e=p(4650),b=p(4761),I=p(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",""],E=["mat-icon-button",""],R=["*"],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"]}],$=(0,I.pj)((0,I.Id)((0,I.Kr)(class{constructor(v){this._elementRef=v}})));let ie=(()=>{class v extends ${constructor(V,X,De,tt){super(V),this._platform=X,this._ngZone=De,this._animationMode=tt,this._focusMonitor=(0,e.f3M)(b.tE),this._isFab=!1;const je=V.nativeElement.classList;for(const ze of K)this._hasHostAttributes(ze.selector)&&ze.mdcClasses.forEach(Le=>{je.add(Le)})}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(V="program",X){V?this._focusMonitor.focusVia(this._elementRef.nativeElement,V,X):this._elementRef.nativeElement.focus(X)}_hasHostAttributes(...V){return V.some(X=>this._elementRef.nativeElement.hasAttribute(X))}_isRippleDisabled(){return this.disableRipple||this.disabled}}return v.\u0275fac=function(V){e.$Z()},v.\u0275dir=e.lG2({type:v,viewQuery:function(V,X){if(1&V&&e.Gf(I.wG,5),2&V){let De;e.iGM(De=e.CRH())&&(X.ripple=De.first)}},features:[e.qOj]}),v})(),le=(()=>{class v extends ie{constructor(V,X,De,tt){super(V,X,De,tt)}}return v.\u0275fac=function(V){return new(V||v)(e.Y36(e.SBq),e.Y36(t.t4),e.Y36(e.R0b),e.Y36(e.QbO,8))},v.\u0275cmp=e.Xpm({type:v,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-flat-button",""],["button","mat-stroked-button",""]],hostVars:7,hostBindings:function(V,X){2&V&&(e.uIk("disabled",X.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===X._animationMode)("mat-unthemed",!X.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(V,X){1&V&&(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&V&&(e.ekj("mdc-button__ripple",!X._isFab)("mdc-fab__ripple",X._isFab),e.xp6(6),e.Q6J("matRippleDisabled",X._isRippleDisabled())("matRippleTrigger",X._elementRef.nativeElement))},dependencies:[I.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}),v})();const me=new e.OlP("mat-mdc-fab-default-options",{providedIn:"root",factory:A});function A(){return{color:"accent"}}const i=A();let l=(()=>{class v extends ie{constructor(V,X,De,tt,je){super(V,X,De,tt),this._options=je,this._isFab=!0,this._options=this._options||i,this.color=this.defaultColor=this._options.color||i.color}}return v.\u0275fac=function(V){return new(V||v)(e.Y36(e.SBq),e.Y36(t.t4),e.Y36(e.R0b),e.Y36(e.QbO,8),e.Y36(me,8))},v.\u0275cmp=e.Xpm({type:v,selectors:[["button","mat-mini-fab",""]],hostVars:7,hostBindings:function(V,X){2&V&&(e.uIk("disabled",X.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===X._animationMode)("mat-unthemed",!X.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(V,X){1&V&&(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&V&&(e.ekj("mdc-button__ripple",!X._isFab)("mdc-fab__ripple",X._isFab),e.xp6(6),e.Q6J("matRippleDisabled",X._isRippleDisabled())("matRippleTrigger",X._elementRef.nativeElement))},dependencies:[I.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}),v})(),D=(()=>{class v extends ie{constructor(V,X,De,tt){super(V,X,De,tt)}}return v.\u0275fac=function(V){return new(V||v)(e.Y36(e.SBq),e.Y36(t.t4),e.Y36(e.R0b),e.Y36(e.QbO,8))},v.\u0275cmp=e.Xpm({type:v,selectors:[["button","mat-icon-button",""]],hostVars:7,hostBindings:function(V,X){2&V&&(e.uIk("disabled",X.disabled||null),e.ekj("_mat-animation-noopable","NoopAnimations"===X._animationMode)("mat-unthemed",!X.color)("mat-mdc-button-base",!0))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[e.qOj],attrs:E,ngContentSelectors:R,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(V,X){1&V&&(e.F$t(),e._UZ(0,"span",0),e.Hsn(1),e._UZ(2,"span",1)(3,"span",2)(4,"span",3)),2&V&&(e.xp6(3),e.Q6J("matRippleDisabled",X._isRippleDisabled())("matRippleCentered",!0)("matRippleTrigger",X._elementRef.nativeElement))},dependencies:[I.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}),v})(),n=(()=>{class v{}return v.\u0275fac=function(V){return new(V||v)},v.\u0275mod=e.oAB({type:v}),v.\u0275inj=e.cJS({imports:[I.BQ,I.si,I.BQ]}),v})()},3546:(Ue,q,p)=>{"use strict";p.d(q,{$j:()=>R,QW:()=>ee,a8:()=>S,dk:()=>U,dn:()=>E,n5:()=>w});var t=p(4650),e=p(6895),b=p(3238);const I=["*"],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 S=(()=>{class me{constructor(i){this.appearance=i?.appearance||"raised"}}return me.\u0275fac=function(i){return new(i||me)(t.Y36(d,8))},me.\u0275cmp=t.Xpm({type:me,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:I,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}),me})(),w=(()=>{class me{}return me.\u0275fac=function(i){return new(i||me)},me.\u0275dir=t.lG2({type:me,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"]}),me})(),E=(()=>{class me{}return me.\u0275fac=function(i){return new(i||me)},me.\u0275dir=t.lG2({type:me,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"]}),me})(),R=(()=>{class me{}return me.\u0275fac=function(i){return new(i||me)},me.\u0275dir=t.lG2({type:me,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"]}),me})(),U=(()=>{class me{}return me.\u0275fac=function(i){return new(i||me)},me.\u0275cmp=t.Xpm({type:me,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}),me})(),ee=(()=>{class me{}return me.\u0275fac=function(i){return new(i||me)},me.\u0275mod=t.oAB({type:me}),me.\u0275inj=t.cJS({imports:[b.BQ,e.ez,b.BQ]}),me})()},6709:(Ue,q,p)=>{"use strict";p.d(q,{oG:()=>U,p9:()=>ie});var t=p(4650),e=p(4006),b=p(3238),I=p(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 S={provide:e.JU,useExisting:(0,t.Gpc)(()=>U),multi:!0};class w{}let O=0;const E=d(),R=(0,b.sb)((0,b.pj)((0,b.Kr)((0,b.Id)(class{constructor(ue){this._elementRef=ue}}))));let z=(()=>{class ue extends R{get inputId(){return`${this.id||this._uniqueId}-input`}get required(){return this._required}set required(ne){this._required=(0,I.Ig)(ne)}constructor(ne,le,ee,me,A,i,a){super(le),this._changeDetectorRef=ee,this._ngZone=me,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||E,this.color=this.defaultColor=this._options.color||E.color,this.tabIndex=parseInt(A)||0,this.id=this._uniqueId=`${ne}${++O}`}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}get checked(){return this._checked}set checked(ne){const le=(0,I.Ig)(ne);le!=this.checked&&(this._checked=le,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(ne){const le=(0,I.Ig)(ne);le!==this.disabled&&(this._disabled=le,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(ne){const le=ne!=this._indeterminate;this._indeterminate=(0,I.Ig)(ne),le&&(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(ne){this.checked=!!ne}registerOnChange(ne){this._controlValueAccessorChangeFn=ne}registerOnTouched(ne){this._onTouched=ne}setDisabledState(ne){this.disabled=ne}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(ne){let le=this._currentCheckState,ee=this._getAnimationTargetElement();if(le!==ne&&ee&&(this._currentAnimationClass&&ee.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(le,ne),this._currentCheckState=ne,this._currentAnimationClass.length>0)){ee.classList.add(this._currentAnimationClass);const me=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{ee.classList.remove(me)},1e3)})}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.checked),this.change.emit(this._createChangeEvent(this.checked)),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}toggle(){this.checked=!this.checked,this._controlValueAccessorChangeFn(this.checked)}_handleInputClick(){const ne=this._options?.clickAction;this.disabled||"noop"===ne?!this.disabled&&"noop"===ne&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==ne&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this._checked=!this._checked,this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}_onInteractionEvent(ne){ne.stopPropagation()}_onBlur(){Promise.resolve().then(()=>{this._onTouched(),this._changeDetectorRef.markForCheck()})}_getAnimationClassForCheckStateTransition(ne,le){if("NoopAnimations"===this._animationMode)return"";switch(ne){case 0:if(1===le)return this._animationClasses.uncheckedToChecked;if(3==le)return this._checked?this._animationClasses.checkedToIndeterminate:this._animationClasses.uncheckedToIndeterminate;break;case 2:return 1===le?this._animationClasses.uncheckedToChecked:this._animationClasses.uncheckedToIndeterminate;case 1:return 2===le?this._animationClasses.checkedToUnchecked:this._animationClasses.checkedToIndeterminate;case 3:return 1===le?this._animationClasses.indeterminateToChecked:this._animationClasses.indeterminateToUnchecked}return""}_syncIndeterminate(ne){const le=this._inputElement;le&&(le.nativeElement.indeterminate=ne)}}return ue.\u0275fac=function(ne){t.$Z()},ue.\u0275dir=t.lG2({type:ue,viewQuery:function(ne,le){if(1&ne&&(t.Gf(s,5),t.Gf(C,5),t.Gf(b.wG,5)),2&ne){let ee;t.iGM(ee=t.CRH())&&(le._inputElement=ee.first),t.iGM(ee=t.CRH())&&(le._labelElement=ee.first),t.iGM(ee=t.CRH())&&(le.ripple=ee.first)}},inputs:{ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],id:"id",required:"required",labelPosition:"labelPosition",name:"name",value:"value",checked:"checked",disabled:"disabled",indeterminate:"indeterminate"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},features:[t.qOj]}),ue})(),U=(()=>{class ue extends z{constructor(ne,le,ee,me,A,i){super("mat-mdc-checkbox-",ne,le,ee,me,A,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(ne){const le=new w;return le.source=this,le.checked=ne,le}_getAnimationTargetElement(){return this._inputElement?.nativeElement}_onInputClick(){super._handleInputClick()}_onTouchTargetClick(){super._handleInputClick(),this.disabled||this._inputElement.nativeElement.focus()}_preventBubblingFromLabel(ne){ne.target&&this._labelElement.nativeElement.contains(ne.target)&&ne.stopPropagation()}}return ue.\u0275fac=function(ne){return new(ne||ue)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.$8M("tabindex"),t.Y36(t.QbO,8),t.Y36(P,8))},ue.\u0275cmp=t.Xpm({type:ue,selectors:[["mat-checkbox"]],hostAttrs:[1,"mat-mdc-checkbox"],hostVars:12,hostBindings:function(ne,le){2&ne&&(t.Ikx("id",le.id),t.uIk("tabindex",null)("aria-label",null)("aria-labelledby",null),t.ekj("_mat-animation-noopable","NoopAnimations"===le._animationMode)("mdc-checkbox--disabled",le.disabled)("mat-mdc-checkbox-disabled",le.disabled)("mat-mdc-checkbox-checked",le.checked))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matCheckbox"],features:[t._Bn([S]),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","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(ne,le){if(1&ne&&(t.F$t(),t.TgZ(0,"div",0),t.NdJ("click",function(me){return le._preventBubblingFromLabel(me)}),t.TgZ(1,"div",1,2)(3,"div",3),t.NdJ("click",function(){return le._onTouchTargetClick()}),t.qZA(),t.TgZ(4,"input",4,5),t.NdJ("blur",function(){return le._onBlur()})("click",function(){return le._onInputClick()})("change",function(me){return le._onInteractionEvent(me)}),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&ne){const ee=t.MAs(2);t.ekj("mdc-form-field--align-end","before"==le.labelPosition),t.xp6(4),t.ekj("mdc-checkbox--selected",le.checked),t.Q6J("checked",le.checked)("disabled",le.disabled)("id",le.inputId)("required",le.required)("tabIndex",le.tabIndex),t.uIk("aria-checked",le._getAriaChecked())("aria-label",le.ariaLabel||null)("aria-labelledby",le.ariaLabelledby)("aria-describedby",le.ariaDescribedby)("name",le.name)("value",le.value),t.xp6(7),t.Q6J("matRippleTrigger",ee)("matRippleDisabled",le.disableRipple||le.disabled)("matRippleCentered",!0),t.xp6(1),t.Q6J("for",le.inputId)}},dependencies:[b.wG],styles:['.mdc-touch-target-wrapper{display:inline}@keyframes mdc-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:29.7833385}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 1)}100%{stroke-dashoffset:0}}@keyframes mdc-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mdc-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:-29.7833385}}@keyframes mdc-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(45deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(45deg);opacity:0}to{transform:rotate(360deg);opacity:1}}@keyframes mdc-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:mdc-animation-deceleration-curve-timing-function;transform:rotate(-45deg);opacity:0}to{transform:rotate(0deg);opacity:1}}@keyframes mdc-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);transform:rotate(0deg);opacity:1}to{transform:rotate(315deg);opacity:0}}@keyframes mdc-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;transform:scaleX(1);opacity:1}32.8%,100%{transform:scaleX(0);opacity:0}}.mdc-checkbox{display:inline-block;position:relative;flex:0 0 18px;box-sizing:content-box;width:18px;height:18px;line-height:0;white-space:nowrap;cursor:pointer;vertical-align:bottom}.mdc-checkbox[hidden]{display:none}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{pointer-events:none;border:2px solid rgba(0,0,0,0);border-radius:6px;box-sizing:content-box;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:100%;width:100%}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring{border-color:CanvasText}}.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{content:"";border:2px solid rgba(0,0,0,0);border-radius:8px;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:calc(100% + 4px);width:calc(100% + 4px)}@media screen and (forced-colors: active){.mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__focus-ring::after,.mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__focus-ring::after{border-color:CanvasText}}@media all and (-ms-high-contrast: none){.mdc-checkbox .mdc-checkbox__focus-ring{display:none}}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-checkbox__mixedmark{margin:0 1px}}.mdc-checkbox--disabled{cursor:default;pointer-events:none}.mdc-checkbox__background{display:inline-flex;position:absolute;align-items:center;justify-content:center;box-sizing:border-box;width:18px;height:18px;border:2px solid currentColor;border-radius:2px;background-color:rgba(0,0,0,0);pointer-events:none;will-change:background-color,border-color;transition:background-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__checkmark{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;opacity:0;transition:opacity 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--upgraded .mdc-checkbox__checkmark{opacity:1}.mdc-checkbox__checkmark-path{transition:stroke-dashoffset 180ms 0ms cubic-bezier(0.4, 0, 0.6, 1);stroke:currentColor;stroke-width:3.12px;stroke-dashoffset:29.7833385;stroke-dasharray:29.7833385}.mdc-checkbox__mixedmark{width:100%;height:0;transform:scaleX(0) rotate(0deg);border-width:1px;border-style:solid;opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__background,.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__background,.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__background,.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__background{animation-duration:180ms;animation-timing-function:linear}.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-unchecked-checked-checkmark-path 180ms linear 0s;transition:none}.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-unchecked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__checkmark-path{animation:mdc-checkbox-checked-unchecked-checkmark-path 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__checkmark{animation:mdc-checkbox-checked-indeterminate-checkmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-checked-indeterminate .mdc-checkbox__mixedmark{animation:mdc-checkbox-checked-indeterminate-mixedmark 90ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__checkmark{animation:mdc-checkbox-indeterminate-checked-checkmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-checked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-checked-mixedmark 500ms linear 0s;transition:none}.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__mixedmark{animation:mdc-checkbox-indeterminate-unchecked-mixedmark 300ms linear 0s;transition:none}.mdc-checkbox__native-control:checked~.mdc-checkbox__background,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background{transition:border-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1),background-color 90ms 0ms cubic-bezier(0, 0, 0.2, 1)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark-path,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark-path{stroke-dashoffset:0}.mdc-checkbox__native-control{position:absolute;margin:0;padding:0;opacity:0;cursor:inherit}.mdc-checkbox__native-control:disabled{cursor:default;pointer-events:none}.mdc-checkbox--touch{margin:calc((var(--mdc-checkbox-state-layer-size, 48px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mdc-checkbox--touch .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 48px)) / 2);width:var(--mdc-checkbox-state-layer-size, 48px);height:var(--mdc-checkbox-state-layer-size, 48px)}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__checkmark{transition:opacity 180ms 0ms cubic-bezier(0, 0, 0.2, 1),transform 180ms 0ms cubic-bezier(0, 0, 0.2, 1);opacity:1}.mdc-checkbox__native-control:checked~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(-45deg)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__checkmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__checkmark{transform:rotate(45deg);opacity:0;transition:opacity 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-checkbox__native-control:indeterminate~.mdc-checkbox__background .mdc-checkbox__mixedmark,.mdc-checkbox__native-control[data-indeterminate=true]~.mdc-checkbox__background .mdc-checkbox__mixedmark{transform:scaleX(1) rotate(0deg);opacity:1}.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__background,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__checkmark-path,.mdc-checkbox.mdc-checkbox--upgraded .mdc-checkbox__mixedmark{transition:none}.mdc-form-field{display:inline-flex;align-items:center;vertical-align:middle}.mdc-form-field[hidden]{display:none}.mdc-form-field>label{margin-left:0;margin-right:auto;padding-left:4px;padding-right:0;order:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{margin-left:auto;margin-right:0}[dir=rtl] .mdc-form-field>label,.mdc-form-field>label[dir=rtl]{padding-left:0;padding-right:4px}.mdc-form-field--nowrap>label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.mdc-form-field--align-end>label{margin-left:auto;margin-right:0;padding-left:0;padding-right:4px;order:-1}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{margin-left:0;margin-right:auto}[dir=rtl] .mdc-form-field--align-end>label,.mdc-form-field--align-end>label[dir=rtl]{padding-left:4px;padding-right:0}.mdc-form-field--space-between{justify-content:space-between}.mdc-form-field--space-between>label{margin:0}[dir=rtl] .mdc-form-field--space-between>label,.mdc-form-field--space-between>label[dir=rtl]{margin:0}.mat-mdc-checkbox{display:inline-block;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-checkbox .mdc-checkbox{padding:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);margin:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-disabled-unselected-icon-color, rgba(0, 0, 0, 0.38));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[disabled]:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true][disabled]~.mdc-checkbox__background{border-color:transparent;background-color:var(--mdc-checkbox-disabled-selected-icon-color, rgba(0, 0, 0, 0.38))}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__checkmark{color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:disabled~.mdc-checkbox__background .mdc-checkbox__mixedmark{border-color:var(--mdc-checkbox-disabled-selected-checkmark-color, #fff)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-hover-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-hover-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:hover.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-focus-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-focus-icon-color, var(--mdc-theme-secondary, #018786));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox.mdc-ripple-upgraded--background-focused.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(.mdc-ripple-upgraded):focus.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-FF018786FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:checked~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control:enabled:indeterminate~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active .mdc-checkbox__native-control[data-indeterminate=true]:enabled~.mdc-checkbox__background{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}@keyframes mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786{0%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}50%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}}@keyframes mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786{0%,80%{border-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786));background-color:var(--mdc-checkbox-selected-pressed-icon-color, var(--mdc-theme-secondary, #018786))}100%{border-color:var(--mdc-checkbox-unselected-pressed-icon-color, rgba(0, 0, 0, 0.54));background-color:transparent}}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-checked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-unchecked-indeterminate .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-in-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-checked-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background,.mat-mdc-checkbox .mdc-checkbox:not(:disabled):active.mdc-checkbox--anim-indeterminate-unchecked .mdc-checkbox__native-control:enabled~.mdc-checkbox__background{animation-name:mdc-checkbox-fade-out-background-8A000000FF01878600000000FF018786}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__background{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - 18px) / 2)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control{top:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);right:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);left:calc((var(--mdc-checkbox-state-layer-size, 40px) - var(--mdc-checkbox-state-layer-size, 40px)) / 2);width:var(--mdc-checkbox-state-layer-size, 40px);height:var(--mdc-checkbox-state-layer-size, 40px)}.mat-mdc-checkbox .mdc-checkbox:hover .mdc-checkbox__native-control:not([disabled])~.mdc-checkbox__ripple{opacity:.04;transform:scale(1);transition:opacity 80ms 0 cubic-bezier(0, 0, 0.2, 1),transform 80ms 0 cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-checkbox .mdc-checkbox .mdc-checkbox__native-control:not([disabled]):focus~.mdc-checkbox__ripple{opacity:.16}.mat-mdc-checkbox .mdc-checkbox__background{-webkit-print-color-adjust:exact;color-adjust:exact}.mat-mdc-checkbox._mat-animation-noopable *,.mat-mdc-checkbox._mat-animation-noopable *::before{transition:none !important;animation:none !important}.mat-mdc-checkbox label{cursor:pointer}.mat-mdc-checkbox.mat-mdc-checkbox-disabled label{cursor:default}.mat-mdc-checkbox label:empty{display:none}.mat-mdc-checkbox .mdc-checkbox__native-control:focus:enabled:not(:checked):not(:indeterminate):not([data-indeterminate=true])~.mdc-checkbox__background{border-color:var(--mdc-checkbox-unselected-focus-icon-color, black)}.cdk-high-contrast-active .mat-mdc-checkbox.mat-mdc-checkbox-disabled{opacity:.5}.cdk-high-contrast-active .mat-mdc-checkbox .mdc-checkbox__checkmark{--mdc-checkbox-selected-checkmark-color: CanvasText;--mdc-checkbox-disabled-selected-checkmark-color: CanvasText}.mat-mdc-checkbox .mdc-checkbox__ripple{opacity:0}.mat-mdc-checkbox-ripple,.mdc-checkbox__ripple{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-checkbox-ripple:not(:empty),.mdc-checkbox__ripple:not(:empty){transform:translateZ(0)}.mat-mdc-checkbox-touch-target{position:absolute;top:50%;height:48px;left:50%;width:48px;transform:translate(-50%, -50%)}.mat-mdc-checkbox-ripple::before{border-radius:50%}.mdc-checkbox__native-control:focus~.mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),ue})(),$=(()=>{class ue{}return ue.\u0275fac=function(ne){return new(ne||ue)},ue.\u0275mod=t.oAB({type:ue}),ue.\u0275inj=t.cJS({}),ue})(),ie=(()=>{class ue{}return ue.\u0275fac=function(ne){return new(ne||ue)},ue.\u0275mod=t.oAB({type:ue}),ue.\u0275inj=t.cJS({imports:[b.BQ,b.si,$,b.BQ,$]}),ue})()},7331:(Ue,q,p)=>{"use strict";p.d(q,{HS:()=>ve,Hi:()=>ke});var t=p(1281),e=p(4650),b=p(6895),I=p(3238),s=p(4761),C=p(7579),P=(p(6451),p(5698)),O=(p(2722),p(8675),p(3900),p(9521));function U(He,wt){1&He&&(e.TgZ(0,"span",8),e.Hsn(1,1),e.qZA())}function Y(He,wt){1&He&&(e.TgZ(0,"span",9),e.Hsn(1,2),e.qZA())}p(445),p(4006),p(9549);const K=["*",[["mat-chip-avatar"],["","matChipAvatar",""]],[["mat-chip-trailing-icon"],["","matChipRemove",""],["","matChipTrailingIcon",""]]],$=["*","mat-chip-avatar, [matChipAvatar]","mat-chip-trailing-icon,[matChipRemove],[matChipTrailingIcon]"],m=new e.OlP("mat-chips-default-options"),n=new e.OlP("MatChipAvatar"),v=new e.OlP("MatChipTrailingIcon"),B=new e.OlP("MatChipRemove"),V=new e.OlP("MatChip");class X{}const De=(0,I.sb)(X,-1);let tt=(()=>{class He extends De{get disabled(){return this._disabled||this._parentChip.disabled}set disabled(W){this._disabled=(0,t.Ig)(W)}_getDisabledAttribute(){return this.disabled&&!this._allowFocusWhenDisabled?"":null}_getTabindex(){return this.disabled&&!this._allowFocusWhenDisabled||!this.isInteractive?null:this.tabIndex.toString()}constructor(W,Fe){super(),this._elementRef=W,this._parentChip=Fe,this.isInteractive=!0,this._isPrimary=!0,this._disabled=!1,this._allowFocusWhenDisabled=!1,"BUTTON"===W.nativeElement.nodeName&&W.nativeElement.setAttribute("type","button")}focus(){this._elementRef.nativeElement.focus()}_handleClick(W){!this.disabled&&this.isInteractive&&this._isPrimary&&(W.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}_handleKeydown(W){(W.keyCode===O.K5||W.keyCode===O.L_)&&!this.disabled&&this.isInteractive&&this._isPrimary&&!this._parentChip._isEditing&&(W.preventDefault(),this._parentChip._handlePrimaryActionInteraction())}}return He.\u0275fac=function(W){return new(W||He)(e.Y36(e.SBq),e.Y36(V))},He.\u0275dir=e.lG2({type:He,selectors:[["","matChipAction",""]],hostAttrs:[1,"mdc-evolution-chip__action","mat-mdc-chip-action"],hostVars:9,hostBindings:function(W,Fe){1&W&&e.NdJ("click",function(qe){return Fe._handleClick(qe)})("keydown",function(qe){return Fe._handleKeydown(qe)}),2&W&&(e.uIk("tabindex",Fe._getTabindex())("disabled",Fe._getDisabledAttribute())("aria-disabled",Fe.disabled),e.ekj("mdc-evolution-chip__action--primary",Fe._isPrimary)("mdc-evolution-chip__action--presentational",!Fe.isInteractive)("mdc-evolution-chip__action--trailing",!Fe._isPrimary))},inputs:{disabled:"disabled",tabIndex:"tabIndex",isInteractive:"isInteractive",_allowFocusWhenDisabled:"_allowFocusWhenDisabled"},features:[e.qOj]}),He})(),ye=0;const ce=(0,I.sb)((0,I.pj)((0,I.Kr)((0,I.Id)(class{constructor(He){this._elementRef=He}})),"primary"),-1);let ve=(()=>{class He extends ce{_hasFocus(){return this._hasFocusInternal}get value(){return void 0!==this._value?this._value:this._textElement.textContent.trim()}set value(W){this._value=W}get removable(){return this._removable}set removable(W){this._removable=(0,t.Ig)(W)}get highlighted(){return this._highlighted}set highlighted(W){this._highlighted=(0,t.Ig)(W)}constructor(W,Fe,Ft,qe,Qe,Ht,Et,It){super(Fe),this._changeDetectorRef=W,this._ngZone=Ft,this._focusMonitor=qe,this._globalRippleOptions=Et,this._isRippleCentered=!1,this._onFocus=new C.x,this._onBlur=new C.x,this.role=null,this._hasFocusInternal=!1,this.id="mat-mdc-chip-"+ye++,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";const bt=Fe.nativeElement;this._document=Qe,this._animationsDisabled="NoopAnimations"===Ht,this._isBasicChip=bt.hasAttribute(this.basicChipAttrName)||bt.tagName.toLowerCase()===this.basicChipAttrName,null!=It&&(this.tabIndex=parseInt(It)??this.defaultTabIndex),this._monitorFocus()}ngAfterViewInit(){this._textElement=this._elementRef.nativeElement.querySelector(".mat-mdc-chip-action-label"),this._pendingFocus&&(this._pendingFocus=!1,this.focus())}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this.destroyed.emit({chip:this}),this.destroyed.complete()}remove(){this.removable&&this.removed.emit({chip:this})}_isRippleDisabled(){return this.disabled||this.disableRipple||this._animationsDisabled||this._isBasicChip||!!this._globalRippleOptions?.disabled}_hasTrailingIcon(){return!(!this.trailingIcon&&!this.removeIcon)}_handleKeydown(W){(W.keyCode===O.ZH||W.keyCode===O.yY)&&(W.preventDefault(),this.remove())}focus(){this.disabled||(this.primaryAction?this.primaryAction.focus():this._pendingFocus=!0)}_getSourceAction(W){return this._getActions().find(Fe=>{const Ft=Fe._elementRef.nativeElement;return Ft===W||Ft.contains(W)})}_getActions(){const W=[];return this.primaryAction&&W.push(this.primaryAction),this.removeIcon&&W.push(this.removeIcon),this.trailingIcon&&W.push(this.trailingIcon),W}_handlePrimaryActionInteraction(){}_monitorFocus(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(W=>{const Fe=null!==W;Fe!==this._hasFocusInternal&&(this._hasFocusInternal=Fe,Fe?this._onFocus.next({chip:this}):this._ngZone.onStable.pipe((0,P.q)(1)).subscribe(()=>this._ngZone.run(()=>this._onBlur.next({chip:this}))))})}}return He.\u0275fac=function(W){return new(W||He)(e.Y36(e.sBO),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(s.tE),e.Y36(b.K0),e.Y36(e.QbO,8),e.Y36(I.Y2,8),e.$8M("tabindex"))},He.\u0275cmp=e.Xpm({type:He,selectors:[["mat-basic-chip"],["mat-chip"]],contentQueries:function(W,Fe,Ft){if(1&W&&(e.Suo(Ft,n,5),e.Suo(Ft,v,5),e.Suo(Ft,B,5)),2&W){let qe;e.iGM(qe=e.CRH())&&(Fe.leadingIcon=qe.first),e.iGM(qe=e.CRH())&&(Fe.trailingIcon=qe.first),e.iGM(qe=e.CRH())&&(Fe.removeIcon=qe.first)}},viewQuery:function(W,Fe){if(1&W&&(e.Gf(I.wG,5),e.Gf(tt,5)),2&W){let Ft;e.iGM(Ft=e.CRH())&&(Fe.ripple=Ft.first),e.iGM(Ft=e.CRH())&&(Fe.primaryAction=Ft.first)}},hostAttrs:[1,"mat-mdc-chip"],hostVars:30,hostBindings:function(W,Fe){1&W&&e.NdJ("keydown",function(qe){return Fe._handleKeydown(qe)}),2&W&&(e.Ikx("id",Fe.id),e.uIk("role",Fe.role)("tabindex",Fe.role?Fe.tabIndex:null)("aria-label",Fe.ariaLabel),e.ekj("mdc-evolution-chip",!Fe._isBasicChip)("mdc-evolution-chip--disabled",Fe.disabled)("mdc-evolution-chip--with-trailing-action",Fe._hasTrailingIcon())("mdc-evolution-chip--with-primary-graphic",Fe.leadingIcon)("mdc-evolution-chip--with-primary-icon",Fe.leadingIcon)("mdc-evolution-chip--with-avatar",Fe.leadingIcon)("mat-mdc-chip-with-avatar",Fe.leadingIcon)("mat-mdc-chip-highlighted",Fe.highlighted)("mat-mdc-chip-disabled",Fe.disabled)("mat-mdc-basic-chip",Fe._isBasicChip)("mat-mdc-standard-chip",!Fe._isBasicChip)("mat-mdc-chip-with-trailing-icon",Fe._hasTrailingIcon())("_mat-animation-noopable",Fe._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:He}]),e.qOj],ngContentSelectors:$,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(W,Fe){1&W&&(e.F$t(K),e._UZ(0,"span",0)(1,"span",1),e.TgZ(2,"span",2)(3,"span",3),e.YNc(4,U,2,0,"span",4),e.TgZ(5,"span",5),e.Hsn(6),e._UZ(7,"span",6),e.qZA()()(),e.YNc(8,Y,2,0,"span",7)),2&W&&(e.Q6J("matRippleDisabled",Fe._isRippleDisabled())("matRippleCentered",Fe._isRippleCentered)("matRippleTrigger",Fe._elementRef.nativeElement),e.xp6(3),e.Q6J("isInteractive",!1),e.xp6(1),e.Q6J("ngIf",Fe.leadingIcon),e.xp6(4),e.Q6J("ngIf",Fe._hasTrailingIcon()))},dependencies:[b.O5,I.wG,tt],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-chip-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;opacity:0;border-radius:inherit;transition:opacity 150ms linear}._mat-animation-noopable .mat-mdc-chip-focus-overlay{transition:none}.mat-mdc-basic-chip .mat-mdc-chip-focus-overlay{display:none}.mat-mdc-chip:hover .mat-mdc-chip-focus-overlay{opacity:.04}.mat-mdc-chip.cdk-focused .mat-mdc-chip-focus-overlay{opacity:.12}.mat-mdc-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-mdc-chip-avatar{text-align:center;line-height:1;color:var(--mdc-chip-with-icon-icon-color, currentColor)}.mat-mdc-chip{position:relative}.mat-mdc-chip-action-label{text-align:left;z-index:1}[dir=rtl] .mat-mdc-chip-action-label{text-align:right}.mat-mdc-chip.mdc-evolution-chip--with-trailing-action .mat-mdc-chip-action-label{position:relative}.mat-mdc-chip-action-label .mat-mdc-chip-primary-focus-indicator{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.mat-mdc-chip-action-label .mat-mdc-focus-indicator::before{margin:calc(calc(var(--mat-mdc-focus-indicator-border-width, 3px) + 2px) * -1)}.mat-mdc-chip-remove{opacity:.54}.mat-mdc-chip-remove:focus{opacity:1}.mat-mdc-chip-remove::before{margin:calc(var(--mat-mdc-focus-indicator-border-width, 3px) * -1);left:8px;right:8px}.mat-mdc-chip-remove .mat-icon{width:inherit;height:inherit;font-size:inherit;box-sizing:content-box}.mat-chip-edit-input{cursor:text;display:inline-block;color:inherit;outline:0}.cdk-high-contrast-active .mat-mdc-chip-selected:not(.mat-mdc-chip-multiple){outline-width:3px}.mat-mdc-chip-action:focus .mat-mdc-focus-indicator::before{content:""}'],encapsulation:2,changeDetection:0}),He})(),ke=(()=>{class He{}return He.\u0275fac=function(W){return new(W||He)},He.\u0275mod=e.oAB({type:He}),He.\u0275inj=e.cJS({providers:[I.rD,{provide:m,useValue:{separatorKeyCodes:[O.K5]}}],imports:[I.BQ,b.ez,I.si,I.BQ]}),He})()},3238:(Ue,q,p)=>{"use strict";p.d(q,{yN:()=>$,mZ:()=>ie,_A:()=>m,rD:()=>ze,sG:()=>n,Ad:()=>T,K7:()=>wt,HF:()=>lt,Y2:()=>pt,BQ:()=>ne,uc:()=>ve,XK:()=>tt,ey:()=>Qe,Ng:()=>It,rN:()=>Ft,us:()=>_t,wG:()=>$e,si:()=>ut,LF:()=>V,IR:()=>ae,CB:()=>Ht,jH:()=>Et,pj:()=>i,Kr:()=>a,Id:()=>A,FD:()=>l,dB:()=>y,sb:()=>u});var t=p(4650),e=p(4761),b=p(445),s=p(6895),C=p(3353),h=p(1281),P=p(9751),d=p(7579),S=p(9521);const E=["text"];function R(bt,we){if(1&bt&&t._UZ(0,"mat-pseudo-checkbox",5),2&bt){const J=t.oxw();t.Q6J("state",J.selected?"checked":"unchecked")("disabled",J.disabled)}}function z(bt,we){if(1&bt&&(t.TgZ(0,"span",6),t._uU(1),t.qZA()),2&bt){const J=t.oxw();t.xp6(1),t.hij("(",J.group.label,")")}}const U=[[["mat-icon"]],"*"],Y=["mat-icon","*"];let $=(()=>{class bt{}return bt.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",bt.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",bt.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",bt.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",bt})(),ie=(()=>{class bt{}return bt.COMPLEX="375ms",bt.ENTERING="225ms",bt.EXITING="195ms",bt})();const he=new t.OlP("mat-sanity-checks",{providedIn:"root",factory:function ue(){return!0}});let ne=(()=>{class bt{constructor(J,be,Ve){this._sanityChecks=be,this._document=Ve,this._hasDoneGlobalChecks=!1,J._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(J){return!(0,C.Oy)()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[J])}}return bt.\u0275fac=function(J){return new(J||bt)(t.LFG(e.qm),t.LFG(he,8),t.LFG(s.K0))},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[b.vT,b.vT]}),bt})();function A(bt){return class extends bt{get disabled(){return this._disabled}set disabled(we){this._disabled=(0,h.Ig)(we)}constructor(...we){super(...we),this._disabled=!1}}}function i(bt,we){return class extends bt{get color(){return this._color}set color(J){const be=J||this.defaultColor;be!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),be&&this._elementRef.nativeElement.classList.add(`mat-${be}`),this._color=be)}constructor(...J){super(...J),this.defaultColor=we,this.color=we}}}function a(bt){return class extends bt{get disableRipple(){return this._disableRipple}set disableRipple(we){this._disableRipple=(0,h.Ig)(we)}constructor(...we){super(...we),this._disableRipple=!1}}}function u(bt,we=0){return class extends bt{get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(J){this._tabIndex=null!=J?(0,h.su)(J):this.defaultTabIndex}constructor(...J){super(...J),this._tabIndex=we,this.defaultTabIndex=we}}}function l(bt){return class extends bt{updateErrorState(){const we=this.errorState,ot=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);ot!==we&&(this.errorState=ot,this.stateChanges.next())}constructor(...we){super(...we),this.errorState=!1}}}function y(bt){return class extends bt{constructor(...we){super(...we),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new P.y(J=>{this._isInitialized?this._notifySubscriber(J):this._pendingSubscribers.push(J)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(we){we.next(),we.complete()}}}const T=new t.OlP("MAT_DATE_LOCALE",{providedIn:"root",factory:function D(){return(0,t.f3M)(t.soG)}});class m{constructor(){this._localeChanges=new d.x,this.localeChanges=this._localeChanges}getValidDateOrNull(we){return this.isDateInstance(we)&&this.isValid(we)?we:null}deserialize(we){return null==we||this.isDateInstance(we)&&this.isValid(we)?we:this.invalid()}setLocale(we){this.locale=we,this._localeChanges.next()}compareDate(we,J){return this.getYear(we)-this.getYear(J)||this.getMonth(we)-this.getMonth(J)||this.getDate(we)-this.getDate(J)}sameDate(we,J){if(we&&J){let be=this.isValid(we),Ve=this.isValid(J);return be&&Ve?!this.compareDate(we,J):be==Ve}return we==J}clampDate(we,J,be){return J&&this.compareDate(we,J)<0?J:be&&this.compareDate(we,be)>0?be:we}}const n=new t.OlP("mat-date-formats"),v=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function B(bt,we){const J=Array(bt);for(let be=0;be<bt;be++)J[be]=we(be);return J}let V=(()=>{class bt extends m{constructor(J,be){super(),this.useUtcForDisplay=!1,super.setLocale(J)}getYear(J){return J.getFullYear()}getMonth(J){return J.getMonth()}getDate(J){return J.getDate()}getDayOfWeek(J){return J.getDay()}getMonthNames(J){const be=new Intl.DateTimeFormat(this.locale,{month:J,timeZone:"utc"});return B(12,Ve=>this._format(be,new Date(2017,Ve,1)))}getDateNames(){const J=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return B(31,be=>this._format(J,new Date(2017,0,be+1)))}getDayOfWeekNames(J){const be=new Intl.DateTimeFormat(this.locale,{weekday:J,timeZone:"utc"});return B(7,Ve=>this._format(be,new Date(2017,0,Ve+1)))}getYearName(J){const be=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._format(be,J)}getFirstDayOfWeek(){return 0}getNumDaysInMonth(J){return this.getDate(this._createDateWithOverflow(this.getYear(J),this.getMonth(J)+1,0))}clone(J){return new Date(J.getTime())}createDate(J,be,Ve){let ot=this._createDateWithOverflow(J,be,Ve);return ot.getMonth(),ot}today(){return new Date}parse(J,be){return"number"==typeof J?new Date(J):J?new Date(Date.parse(J)):null}format(J,be){if(!this.isValid(J))throw Error("NativeDateAdapter: Cannot format invalid date.");const Ve=new Intl.DateTimeFormat(this.locale,{...be,timeZone:"utc"});return this._format(Ve,J)}addCalendarYears(J,be){return this.addCalendarMonths(J,12*be)}addCalendarMonths(J,be){let Ve=this._createDateWithOverflow(this.getYear(J),this.getMonth(J)+be,this.getDate(J));return this.getMonth(Ve)!=((this.getMonth(J)+be)%12+12)%12&&(Ve=this._createDateWithOverflow(this.getYear(Ve),this.getMonth(Ve),0)),Ve}addCalendarDays(J,be){return this._createDateWithOverflow(this.getYear(J),this.getMonth(J),this.getDate(J)+be)}toIso8601(J){return[J.getUTCFullYear(),this._2digit(J.getUTCMonth()+1),this._2digit(J.getUTCDate())].join("-")}deserialize(J){if("string"==typeof J){if(!J)return null;if(v.test(J)){let be=new Date(J);if(this.isValid(be))return be}}return super.deserialize(J)}isDateInstance(J){return J instanceof Date}isValid(J){return!isNaN(J.getTime())}invalid(){return new Date(NaN)}_createDateWithOverflow(J,be,Ve){const ot=new Date;return ot.setFullYear(J,be,Ve),ot.setHours(0,0,0,0),ot}_2digit(J){return("00"+J).slice(-2)}_format(J,be){const Ve=new Date;return Ve.setUTCFullYear(be.getFullYear(),be.getMonth(),be.getDate()),Ve.setUTCHours(be.getHours(),be.getMinutes(),be.getSeconds(),be.getMilliseconds()),J.format(Ve)}}return bt.\u0275fac=function(J){return new(J||bt)(t.LFG(T,8),t.LFG(C.t4))},bt.\u0275prov=t.Yz7({token:bt,factory:bt.\u0275fac}),bt})();const X={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 De=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({providers:[{provide:m,useClass:V}]}),bt})(),tt=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({providers:[{provide:n,useValue:X}],imports:[De]}),bt})(),ze=(()=>{class bt{isErrorState(J,be){return!!(J&&J.invalid&&(J.touched||be&&be.submitted))}}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275prov=t.Yz7({token:bt,factory:bt.\u0275fac,providedIn:"root"}),bt})(),ve=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[ne,ne]}),bt})();class oe{constructor(we,J,be,Ve=!1){this._renderer=we,this.element=J,this.config=be,this._animationForciblyDisabledThroughCss=Ve,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const Ke=(0,C.i$)({passive:!0,capture:!0});class Ae{constructor(){this._events=new Map,this._delegateEventHandler=we=>{const J=(0,C.sA)(we);J&&this._events.get(we.type)?.forEach((be,Ve)=>{(Ve===J||Ve.contains(J))&&be.forEach(ot=>ot.handleEvent(we))})}}addHandler(we,J,be,Ve){const ot=this._events.get(J);if(ot){const ei=ot.get(be);ei?ei.add(Ve):ot.set(be,new Set([Ve]))}else this._events.set(J,new Map([[be,new Set([Ve])]])),we.runOutsideAngular(()=>{document.addEventListener(J,this._delegateEventHandler,Ke)})}removeHandler(we,J,be){const Ve=this._events.get(we);if(!Ve)return;const ot=Ve.get(J);ot&&(ot.delete(be),0===ot.size&&Ve.delete(J),0===Ve.size&&(this._events.delete(we),document.removeEventListener(we,this._delegateEventHandler,Ke)))}}const de={enterDuration:225,exitDuration:150},te=(0,C.i$)({passive:!0,capture:!0}),Ze=["mousedown","touchstart"],Ge=["mouseup","mouseleave","touchend","touchcancel"];class ae{constructor(we,J,be,Ve){this._target=we,this._ngZone=J,this._platform=Ve,this._isPointerDown=!1,this._activeRipples=new Map,this._pointerUpEventsRegistered=!1,Ve.isBrowser&&(this._containerElement=(0,h.fI)(be))}fadeInRipple(we,J,be={}){const Ve=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),ot={...de,...be.animation};be.centered&&(we=Ve.left+Ve.width/2,J=Ve.top+Ve.height/2);const ei=be.radius||function ge(bt,we,J){const be=Math.max(Math.abs(bt-J.left),Math.abs(bt-J.right)),Ve=Math.max(Math.abs(we-J.top),Math.abs(we-J.bottom));return Math.sqrt(be*be+Ve*Ve)}(we,J,Ve),Bt=we-Ve.left,ti=J-Ve.top,mt=ot.enterDuration,nt=document.createElement("div");nt.classList.add("mat-ripple-element"),nt.style.left=Bt-ei+"px",nt.style.top=ti-ei+"px",nt.style.height=2*ei+"px",nt.style.width=2*ei+"px",null!=be.color&&(nt.style.backgroundColor=be.color),nt.style.transitionDuration=`${mt}ms`,this._containerElement.appendChild(nt);const yt=window.getComputedStyle(nt),Vt=yt.transitionDuration,ft="none"===yt.transitionProperty||"0s"===Vt||"0s, 0s"===Vt||0===Ve.width&&0===Ve.height,Pt=new oe(this,nt,be,ft);nt.style.transform="scale3d(1, 1, 1)",Pt.state=0,be.persistent||(this._mostRecentTransientRipple=Pt);let Pe=null;return!ft&&(mt||ot.exitDuration)&&this._ngZone.runOutsideAngular(()=>{const it=()=>this._finishRippleTransition(Pt),at=()=>this._destroyRipple(Pt);nt.addEventListener("transitionend",it),nt.addEventListener("transitioncancel",at),Pe={onTransitionEnd:it,onTransitionCancel:at}}),this._activeRipples.set(Pt,Pe),(ft||!mt)&&this._finishRippleTransition(Pt),Pt}fadeOutRipple(we){if(2===we.state||3===we.state)return;const J=we.element,be={...de,...we.config.animation};J.style.transitionDuration=`${be.exitDuration}ms`,J.style.opacity="0",we.state=2,(we._animationForciblyDisabledThroughCss||!be.exitDuration)&&this._finishRippleTransition(we)}fadeOutAll(){this._getActiveRipples().forEach(we=>we.fadeOut())}fadeOutAllNonPersistent(){this._getActiveRipples().forEach(we=>{we.config.persistent||we.fadeOut()})}setupTriggerEvents(we){const J=(0,h.fI)(we);!this._platform.isBrowser||!J||J===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=J,Ze.forEach(be=>{ae._eventManager.addHandler(this._ngZone,be,J,this)}))}handleEvent(we){"mousedown"===we.type?this._onMousedown(we):"touchstart"===we.type?this._onTouchStart(we):this._onPointerUp(),this._pointerUpEventsRegistered||(this._ngZone.runOutsideAngular(()=>{Ge.forEach(J=>{this._triggerElement.addEventListener(J,this,te)})}),this._pointerUpEventsRegistered=!0)}_finishRippleTransition(we){0===we.state?this._startFadeOutTransition(we):2===we.state&&this._destroyRipple(we)}_startFadeOutTransition(we){const J=we===this._mostRecentTransientRipple,{persistent:be}=we.config;we.state=1,!be&&(!J||!this._isPointerDown)&&we.fadeOut()}_destroyRipple(we){const J=this._activeRipples.get(we)??null;this._activeRipples.delete(we),this._activeRipples.size||(this._containerRect=null),we===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),we.state=3,null!==J&&(we.element.removeEventListener("transitionend",J.onTransitionEnd),we.element.removeEventListener("transitioncancel",J.onTransitionCancel)),we.element.remove()}_onMousedown(we){const J=(0,e.X6)(we),be=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;!this._target.rippleDisabled&&!J&&!be&&(this._isPointerDown=!0,this.fadeInRipple(we.clientX,we.clientY,this._target.rippleConfig))}_onTouchStart(we){if(!this._target.rippleDisabled&&!(0,e.yG)(we)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;const J=we.changedTouches;for(let be=0;be<J.length;be++)this.fadeInRipple(J[be].clientX,J[be].clientY,this._target.rippleConfig)}}_onPointerUp(){this._isPointerDown&&(this._isPointerDown=!1,this._getActiveRipples().forEach(we=>{!we.config.persistent&&(1===we.state||we.config.terminateOnPointerUp&&0===we.state)&&we.fadeOut()}))}_getActiveRipples(){return Array.from(this._activeRipples.keys())}_removeTriggerEvents(){const we=this._triggerElement;we&&(Ze.forEach(J=>ae._eventManager.removeHandler(J,we,this)),this._pointerUpEventsRegistered&&Ge.forEach(J=>we.removeEventListener(J,this,te)))}}ae._eventManager=new Ae;const pt=new t.OlP("mat-ripple-global-options");let $e=(()=>{class bt{get disabled(){return this._disabled}set disabled(J){J&&this.fadeOutAllNonPersistent(),this._disabled=J,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(J){this._trigger=J,this._setupTriggerEventsIfEnabled()}constructor(J,be,Ve,ot,ei){this._elementRef=J,this._animationMode=ei,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=ot||{},this._rippleRenderer=new ae(this,be,J,Ve)}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:{...this._globalOptions.animation,..."NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{},...this.animation},terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(J,be=0,Ve){return"number"==typeof J?this._rippleRenderer.fadeInRipple(J,be,{...this.rippleConfig,...Ve}):this._rippleRenderer.fadeInRipple(0,0,{...this.rippleConfig,...J})}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(C.t4),t.Y36(pt,8),t.Y36(t.QbO,8))},bt.\u0275dir=t.lG2({type:bt,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(J,be){2&J&&t.ekj("mat-ripple-unbounded",be.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),bt})(),ut=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[ne,ne]}),bt})(),At=(()=>{class bt{constructor(J){this._animationMode=J,this.state="unchecked",this.disabled=!1}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.QbO,8))},bt.\u0275cmp=t.Xpm({type:bt,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(J,be){2&J&&t.ekj("mat-pseudo-checkbox-indeterminate","indeterminate"===be.state)("mat-pseudo-checkbox-checked","checked"===be.state)("mat-pseudo-checkbox-disabled",be.disabled)("_mat-animation-noopable","NoopAnimations"===be._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(J,be){},styles:['.mat-pseudo-checkbox{border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:rgba(0,0,0,0)}.mat-pseudo-checkbox._mat-animation-noopable{transition:none !important;animation:none !important}.mat-pseudo-checkbox._mat-animation-noopable::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{left:1px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{left:1px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}.mat-pseudo-checkbox{width:18px;height:18px}.mat-pseudo-checkbox-indeterminate::after{top:6px;width:12px}.mat-pseudo-checkbox-checked::after{top:2.7px;width:10px;height:4px}'],encapsulation:2,changeDetection:0}),bt})(),_t=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[ne]}),bt})();const lt=new t.OlP("MAT_OPTION_PARENT_COMPONENT"),wt=new t.OlP("MatOptgroup");let Fe=0;class Ft{constructor(we,J=!1){this.source=we,this.isUserInput=J}}let qe=(()=>{class bt{get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(J){this._disabled=(0,h.Ig)(J)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}constructor(J,be,Ve,ot){this._element=J,this._changeDetectorRef=be,this._parent=Ve,this.group=ot,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Fe++,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(J,be){const Ve=this._getHostElement();"function"==typeof Ve.focus&&Ve.focus(be)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(J){(J.keyCode===S.K5||J.keyCode===S.L_)&&!(0,S.Vb)(J)&&(this._selectViaInteraction(),J.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const J=this.viewValue;J!==this._mostRecentViewValue&&(this._mostRecentViewValue&&this._stateChanges.next(),this._mostRecentViewValue=J)}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(J=!1){this.onSelectionChange.emit(new Ft(this,J))}}return bt.\u0275fac=function(J){t.$Z()},bt.\u0275dir=t.lG2({type:bt,viewQuery:function(J,be){if(1&J&&t.Gf(E,7),2&J){let Ve;t.iGM(Ve=t.CRH())&&(be._text=Ve.first)}},inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),bt})(),Qe=(()=>{class bt extends qe{constructor(J,be,Ve,ot){super(J,be,Ve,ot)}}return bt.\u0275fac=function(J){return new(J||bt)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(lt,8),t.Y36(wt,8))},bt.\u0275cmp=t.Xpm({type:bt,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-mdc-option","mat-mdc-focus-indicator","mdc-list-item"],hostVars:12,hostBindings:function(J,be){1&J&&t.NdJ("click",function(){return be._selectViaInteraction()})("keydown",function(ot){return be._handleKeydown(ot)}),2&J&&(t.Ikx("id",be.id),t.uIk("tabindex",be._getTabIndex())("aria-selected",be._getAriaSelected())("aria-disabled",be.disabled.toString()),t.ekj("mdc-list-item--selected",be.selected)("mat-mdc-option-multiple",be.multiple)("mat-mdc-option-active",be.active)("mdc-list-item--disabled",be.disabled))},exportAs:["matOption"],features:[t.qOj],ngContentSelectors:Y,decls:7,vars:4,consts:[["class","mat-mdc-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mdc-list-item__primary-text"],["text",""],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-mdc-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-mdc-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(J,be){1&J&&(t.F$t(U),t.YNc(0,R,1,2,"mat-pseudo-checkbox",0),t.Hsn(1),t.TgZ(2,"span",1,2),t.Hsn(4,1),t.qZA(),t.YNc(5,z,2,1,"span",3),t._UZ(6,"div",4)),2&J&&(t.Q6J("ngIf",be.multiple),t.xp6(5),t.Q6J("ngIf",be.group&&be.group._inert),t.xp6(1),t.Q6J("matRippleTrigger",be._getHostElement())("matRippleDisabled",be.disabled||be.disableRipple))},dependencies:[$e,s.O5,At],styles:['.mat-mdc-option{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:16px;padding-right:16px;-webkit-user-select:none;user-select:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);min-height:48px}.mat-mdc-option:focus{outline:none}[dir=rtl] .mat-mdc-option,.mat-mdc-option[dir=rtl]{padding-left:16px;padding-right:16px}.mat-mdc-option.mdc-list-item{align-items:center}.mat-mdc-option.mdc-list-item--disabled{opacity:.38;cursor:default}.mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:32px}[dir=rtl] .mat-mdc-optgroup .mat-mdc-option:not(.mat-mdc-option-multiple){padding-left:16px;padding-right:32px}.mat-mdc-option .mat-icon,.mat-mdc-option .mat-pseudo-checkbox{margin-right:16px;flex-shrink:0}[dir=rtl] .mat-mdc-option .mat-icon,[dir=rtl] .mat-mdc-option .mat-pseudo-checkbox{margin-right:0;margin-left:16px}.mat-mdc-option .mat-mdc-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-option .mdc-list-item__primary-text{white-space:normal;font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;font-family:inherit;text-decoration:inherit;text-transform:inherit}.cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}[dir=rtl] .cdk-high-contrast-active .mat-mdc-option.mdc-list-item--selected:not(.mat-mdc-option-multiple)::after{right:auto;left:16px}.mat-mdc-option-active::before{content:""}'],encapsulation:2,changeDetection:0}),bt})();function Ht(bt,we,J){if(J.length){let be=we.toArray(),Ve=J.toArray(),ot=0;for(let ei=0;ei<bt+1;ei++)be[ei].group&&be[ei].group===Ve[ot]&&ot++;return ot}return 0}function Et(bt,we,J,be){return bt<J?bt:bt+we>J+be?Math.max(0,bt-be+we):J}let It=(()=>{class bt{}return bt.\u0275fac=function(J){return new(J||bt)},bt.\u0275mod=t.oAB({type:bt}),bt.\u0275inj=t.cJS({imports:[ut,s.ez,ne,_t]}),bt})()},9602:(Ue,q,p)=>{"use strict";p.d(q,{FA:()=>$i,Mq:()=>nt,hl:()=>Pe,nW:()=>at});var t=p(4761),e=p(8184),b=p(4080),I=p(6895),s=p(4650),C=p(4859),h=p(531),P=p(3238),d=p(7579),S=p(727),w=p(6451),O=p(9646),E=p(9521),R=p(445),z=p(5698),U=p(8675),Y=p(9300),K=p(1281),$=p(3353),ie=p(7340),ue=p(4006),he=p(9549),ne=p(4144);const le=["mat-calendar-body",""];function ee(Gt,Kt){if(1&Gt&&(s.TgZ(0,"tr",3)(1,"td",4),s._uU(2),s.qZA()()),2&Gt){const fe=s.oxw();s.xp6(1),s.Udp("padding-top",fe._cellPadding)("padding-bottom",fe._cellPadding),s.uIk("colspan",fe.numCols),s.xp6(1),s.hij(" ",fe.label," ")}}function me(Gt,Kt){if(1&Gt&&(s.TgZ(0,"td",4),s._uU(1),s.qZA()),2&Gt){const fe=s.oxw(2);s.Udp("padding-top",fe._cellPadding)("padding-bottom",fe._cellPadding),s.uIk("colspan",fe._firstRowOffset),s.xp6(1),s.hij(" ",fe._firstRowOffset>=fe.labelMinRequiredCells?fe.label:""," ")}}function A(Gt,Kt){if(1&Gt){const fe=s.EpF();s.TgZ(0,"td",8)(1,"button",9),s.NdJ("click",function(ct){const ii=s.CHM(fe).$implicit,Oi=s.oxw(2);return s.KtG(Oi._cellClicked(ii,ct))})("focus",function(ct){const ii=s.CHM(fe).$implicit,Oi=s.oxw(2);return s.KtG(Oi._emitActiveDateChange(ii,ct))}),s.TgZ(2,"div",10),s._uU(3),s.qZA(),s._UZ(4,"div",11),s.qZA()()}if(2&Gt){const fe=Kt.$implicit,Oe=Kt.index,ct=s.oxw().index,Je=s.oxw();s.Udp("width",Je._cellWidth)("padding-top",Je._cellPadding)("padding-bottom",Je._cellPadding),s.uIk("data-mat-row",ct)("data-mat-col",Oe),s.xp6(1),s.ekj("mat-calendar-body-disabled",!fe.enabled)("mat-calendar-body-active",Je._isActiveCell(ct,Oe))("mat-calendar-body-range-start",Je._isRangeStart(fe.compareValue))("mat-calendar-body-range-end",Je._isRangeEnd(fe.compareValue))("mat-calendar-body-in-range",Je._isInRange(fe.compareValue))("mat-calendar-body-comparison-bridge-start",Je._isComparisonBridgeStart(fe.compareValue,ct,Oe))("mat-calendar-body-comparison-bridge-end",Je._isComparisonBridgeEnd(fe.compareValue,ct,Oe))("mat-calendar-body-comparison-start",Je._isComparisonStart(fe.compareValue))("mat-calendar-body-comparison-end",Je._isComparisonEnd(fe.compareValue))("mat-calendar-body-in-comparison-range",Je._isInComparisonRange(fe.compareValue))("mat-calendar-body-preview-start",Je._isPreviewStart(fe.compareValue))("mat-calendar-body-preview-end",Je._isPreviewEnd(fe.compareValue))("mat-calendar-body-in-preview",Je._isInPreview(fe.compareValue)),s.Q6J("ngClass",fe.cssClasses)("tabindex",Je._isActiveCell(ct,Oe)?0:-1),s.uIk("aria-label",fe.ariaLabel)("aria-disabled",!fe.enabled||null)("aria-pressed",Je._isSelected(fe.compareValue))("aria-current",Je.todayValue===fe.compareValue?"date":null)("aria-describedby",Je._getDescribedby(fe.compareValue)),s.xp6(1),s.ekj("mat-calendar-body-selected",Je._isSelected(fe.compareValue))("mat-calendar-body-comparison-identical",Je._isComparisonIdentical(fe.compareValue))("mat-calendar-body-today",Je.todayValue===fe.compareValue),s.xp6(1),s.hij(" ",fe.displayValue," ")}}function i(Gt,Kt){if(1&Gt&&(s.TgZ(0,"tr",5),s.YNc(1,me,2,6,"td",6),s.YNc(2,A,5,48,"td",7),s.qZA()),2&Gt){const fe=Kt.$implicit,Oe=Kt.index,ct=s.oxw();s.xp6(1),s.Q6J("ngIf",0===Oe&&ct._firstRowOffset),s.xp6(1),s.Q6J("ngForOf",fe)}}function a(Gt,Kt){if(1&Gt&&(s.TgZ(0,"th",5)(1,"span",6),s._uU(2),s.qZA(),s.TgZ(3,"span",7),s._uU(4),s.qZA()()),2&Gt){const fe=Kt.$implicit;s.xp6(2),s.Oqu(fe.long),s.xp6(2),s.Oqu(fe.narrow)}}const u=["*"];function l(Gt,Kt){}function y(Gt,Kt){if(1&Gt){const fe=s.EpF();s.TgZ(0,"mat-month-view",5),s.NdJ("activeDateChange",function(ct){s.CHM(fe);const Je=s.oxw();return s.KtG(Je.activeDate=ct)})("_userSelection",function(ct){s.CHM(fe);const Je=s.oxw();return s.KtG(Je._dateSelected(ct))})("dragStarted",function(ct){s.CHM(fe);const Je=s.oxw();return s.KtG(Je._dragStarted(ct))})("dragEnded",function(ct){s.CHM(fe);const Je=s.oxw();return s.KtG(Je._dragEnded(ct))}),s.qZA()}if(2&Gt){const fe=s.oxw();s.Q6J("activeDate",fe.activeDate)("selected",fe.selected)("dateFilter",fe.dateFilter)("maxDate",fe.maxDate)("minDate",fe.minDate)("dateClass",fe.dateClass)("comparisonStart",fe.comparisonStart)("comparisonEnd",fe.comparisonEnd)("startDateAccessibleName",fe.startDateAccessibleName)("endDateAccessibleName",fe.endDateAccessibleName)("activeDrag",fe._activeDrag)}}function T(Gt,Kt){if(1&Gt){const fe=s.EpF();s.TgZ(0,"mat-year-view",6),s.NdJ("activeDateChange",function(ct){s.CHM(fe);const Je=s.oxw();return s.KtG(Je.activeDate=ct)})("monthSelected",function(ct){s.CHM(fe);const Je=s.oxw();return s.KtG(Je._monthSelectedInYearView(ct))})("selectedChange",function(ct){s.CHM(fe);const Je=s.oxw();return s.KtG(Je._goToDateInView(ct,"month"))}),s.qZA()}if(2&Gt){const fe=s.oxw();s.Q6J("activeDate",fe.activeDate)("selected",fe.selected)("dateFilter",fe.dateFilter)("maxDate",fe.maxDate)("minDate",fe.minDate)("dateClass",fe.dateClass)}}function D(Gt,Kt){if(1&Gt){const fe=s.EpF();s.TgZ(0,"mat-multi-year-view",7),s.NdJ("activeDateChange",function(ct){s.CHM(fe);const Je=s.oxw();return s.KtG(Je.activeDate=ct)})("yearSelected",function(ct){s.CHM(fe);const Je=s.oxw();return s.KtG(Je._yearSelectedInMultiYearView(ct))})("selectedChange",function(ct){s.CHM(fe);const Je=s.oxw();return s.KtG(Je._goToDateInView(ct,"year"))}),s.qZA()}if(2&Gt){const fe=s.oxw();s.Q6J("activeDate",fe.activeDate)("selected",fe.selected)("dateFilter",fe.dateFilter)("maxDate",fe.maxDate)("minDate",fe.minDate)("dateClass",fe.dateClass)}}function m(Gt,Kt){}const n=["button"];function v(Gt,Kt){1&Gt&&(s.O4$(),s.TgZ(0,"svg",3),s._UZ(1,"path",4),s.qZA())}const B=[[["","matDatepickerToggleIcon",""]]],V=["[matDatepickerToggleIcon]"];let ze=(()=>{class Gt{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(fe,Oe){return`${fe} \u2013 ${Oe}`}formatYearRangeLabel(fe,Oe){return`${fe} to ${Oe}`}}return Gt.\u0275fac=function(fe){return new(fe||Gt)},Gt.\u0275prov=s.Yz7({token:Gt,factory:Gt.\u0275fac,providedIn:"root"}),Gt})();class Le{constructor(Kt,fe,Oe,ct,Je={},ii=Kt,Oi){this.value=Kt,this.displayValue=fe,this.ariaLabel=Oe,this.enabled=ct,this.cssClasses=Je,this.compareValue=ii,this.rawValue=Oi}}let ye=1,ce=(()=>{class Gt{ngAfterViewChecked(){this._focusActiveCellAfterViewChecked&&(this._focusActiveCell(),this._focusActiveCellAfterViewChecked=!1)}constructor(fe,Oe){this._elementRef=fe,this._ngZone=Oe,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=ct=>{if(this._skipNextFocus&&"focus"===ct.type)this._skipNextFocus=!1;else if(ct.target&&this.isRange){const Je=this._getCellFromElement(ct.target);Je&&this._ngZone.run(()=>this.previewChange.emit({value:Je.enabled?Je:null,event:ct}))}},this._touchmoveHandler=ct=>{if(!this.isRange)return;const Je=Ce(ct),ii=Je?this._getCellFromElement(Je):null;Je!==ct.target&&(this._didDragSinceMouseDown=!0),oe(ct.target)&&ct.preventDefault(),this._ngZone.run(()=>this.previewChange.emit({value:ii?.enabled?ii:null,event:ct}))},this._leaveHandler=ct=>{null!==this.previewEnd&&this.isRange&&("blur"!==ct.type&&(this._didDragSinceMouseDown=!0),ct.target&&this._getCellFromElement(ct.target)&&(!ct.relatedTarget||!this._getCellFromElement(ct.relatedTarget))&&this._ngZone.run(()=>this.previewChange.emit({value:null,event:ct})))},this._mousedownHandler=ct=>{if(!this.isRange)return;this._didDragSinceMouseDown=!1;const Je=ct.target&&this._getCellFromElement(ct.target);!Je||!this._isInRange(Je.rawValue)||this._ngZone.run(()=>{this.dragStarted.emit({value:Je.rawValue,event:ct})})},this._mouseupHandler=ct=>{if(!this.isRange)return;const Je=oe(ct.target);Je?Je.closest(".mat-calendar-body")===this._elementRef.nativeElement&&this._ngZone.run(()=>{const ii=this._getCellFromElement(Je);this.dragEnded.emit({value:ii?.rawValue??null,event:ct})}):this._ngZone.run(()=>{this.dragEnded.emit({value:null,event:ct})})},this._touchendHandler=ct=>{const Je=Ce(ct);Je&&this._mouseupHandler({target:Je})},this._id="mat-calendar-body-"+ye++,this._startDateLabelId=`${this._id}-start-date`,this._endDateLabelId=`${this._id}-end-date`,Oe.runOutsideAngular(()=>{const ct=fe.nativeElement;ct.addEventListener("mouseenter",this._enterHandler,!0),ct.addEventListener("touchmove",this._touchmoveHandler,!0),ct.addEventListener("focus",this._enterHandler,!0),ct.addEventListener("mouseleave",this._leaveHandler,!0),ct.addEventListener("blur",this._leaveHandler,!0),ct.addEventListener("mousedown",this._mousedownHandler),ct.addEventListener("touchstart",this._mousedownHandler),window.addEventListener("mouseup",this._mouseupHandler),window.addEventListener("touchend",this._touchendHandler)})}_cellClicked(fe,Oe){this._didDragSinceMouseDown||fe.enabled&&this.selectedValueChange.emit({value:fe.value,event:Oe})}_emitActiveDateChange(fe,Oe){fe.enabled&&this.activeDateChange.emit({value:fe.value,event:Oe})}_isSelected(fe){return this.startValue===fe||this.endValue===fe}ngOnChanges(fe){const Oe=fe.numCols,{rows:ct,numCols:Je}=this;(fe.rows||Oe)&&(this._firstRowOffset=ct&&ct.length&&ct[0].length?Je-ct[0].length:0),(fe.cellAspectRatio||Oe||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/Je+"%"),(Oe||!this._cellWidth)&&(this._cellWidth=100/Je+"%")}ngOnDestroy(){const fe=this._elementRef.nativeElement;fe.removeEventListener("mouseenter",this._enterHandler,!0),fe.removeEventListener("touchmove",this._touchmoveHandler,!0),fe.removeEventListener("focus",this._enterHandler,!0),fe.removeEventListener("mouseleave",this._leaveHandler,!0),fe.removeEventListener("blur",this._leaveHandler,!0),fe.removeEventListener("mousedown",this._mousedownHandler),fe.removeEventListener("touchstart",this._mousedownHandler),window.removeEventListener("mouseup",this._mouseupHandler),window.removeEventListener("touchend",this._touchendHandler)}_isActiveCell(fe,Oe){let ct=fe*this.numCols+Oe;return fe&&(ct-=this._firstRowOffset),ct==this.activeCell}_focusActiveCell(fe=!0){this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe((0,z.q)(1)).subscribe(()=>{setTimeout(()=>{const Oe=this._elementRef.nativeElement.querySelector(".mat-calendar-body-active");Oe&&(fe||(this._skipNextFocus=!0),Oe.focus())})})})}_scheduleFocusActiveCellAfterViewChecked(){this._focusActiveCellAfterViewChecked=!0}_isRangeStart(fe){return Ke(fe,this.startValue,this.endValue)}_isRangeEnd(fe){return Ae(fe,this.startValue,this.endValue)}_isInRange(fe){return de(fe,this.startValue,this.endValue,this.isRange)}_isComparisonStart(fe){return Ke(fe,this.comparisonStart,this.comparisonEnd)}_isComparisonBridgeStart(fe,Oe,ct){if(!this._isComparisonStart(fe)||this._isRangeStart(fe)||!this._isInRange(fe))return!1;let Je=this.rows[Oe][ct-1];if(!Je){const ii=this.rows[Oe-1];Je=ii&&ii[ii.length-1]}return Je&&!this._isRangeEnd(Je.compareValue)}_isComparisonBridgeEnd(fe,Oe,ct){if(!this._isComparisonEnd(fe)||this._isRangeEnd(fe)||!this._isInRange(fe))return!1;let Je=this.rows[Oe][ct+1];if(!Je){const ii=this.rows[Oe+1];Je=ii&&ii[0]}return Je&&!this._isRangeStart(Je.compareValue)}_isComparisonEnd(fe){return Ae(fe,this.comparisonStart,this.comparisonEnd)}_isInComparisonRange(fe){return de(fe,this.comparisonStart,this.comparisonEnd,this.isRange)}_isComparisonIdentical(fe){return this.comparisonStart===this.comparisonEnd&&fe===this.comparisonStart}_isPreviewStart(fe){return Ke(fe,this.previewStart,this.previewEnd)}_isPreviewEnd(fe){return Ae(fe,this.previewStart,this.previewEnd)}_isInPreview(fe){return de(fe,this.previewStart,this.previewEnd,this.isRange)}_getDescribedby(fe){return this.isRange?this.startValue===fe&&this.endValue===fe?`${this._startDateLabelId} ${this._endDateLabelId}`:this.startValue===fe?this._startDateLabelId:this.endValue===fe?this._endDateLabelId:null:null}_getCellFromElement(fe){const Oe=oe(fe);if(Oe){const ct=Oe.getAttribute("data-mat-row"),Je=Oe.getAttribute("data-mat-col");if(ct&&Je)return this.rows[parseInt(ct)][parseInt(Je)]}return null}}return Gt.\u0275fac=function(fe){return new(fe||Gt)(s.Y36(s.SBq),s.Y36(s.R0b))},Gt.\u0275cmp=s.Xpm({type:Gt,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:le,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(fe,Oe){1&fe&&(s.YNc(0,ee,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&fe&&(s.Q6J("ngIf",Oe._firstRowOffset<Oe.labelMinRequiredCells),s.xp6(1),s.Q6J("ngForOf",Oe.rows),s.xp6(1),s.Q6J("id",Oe._startDateLabelId),s.xp6(1),s.hij(" ",Oe.startDateAccessibleName,"\n"),s.xp6(1),s.Q6J("id",Oe._endDateLabelId),s.xp6(1),s.hij(" ",Oe.endDateAccessibleName,"\n"))},dependencies:[I.mk,I.sg,I.O5],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-hidden-label{display:none}.mat-calendar-body-cell-container{position:relative;height:0;line-height:0}.mat-calendar-body-cell{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:0;left:0;width:100%;height:100%;background:none;text-align:center;outline:none;font-family:inherit;margin:0}.mat-calendar-body-cell::-moz-focus-inner{border:0}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-cell:not(.mat-calendar-body-in-range) .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .mat-calendar-body-cell::before,.cdk-high-contrast-active .mat-calendar-body-cell::after,.cdk-high-contrast-active .mat-calendar-body-selected{background:none}.cdk-high-contrast-active .mat-calendar-body-in-range::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-start::before,.cdk-high-contrast-active .mat-calendar-body-comparison-bridge-end::before{border-top:solid 1px;border-bottom:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-start::before{border-left:0;border-right:solid 1px}.cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:solid 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-range-end::before{border-right:0;border-left:solid 1px}.cdk-high-contrast-active .mat-calendar-body-in-comparison-range::before{border-top:dashed 1px;border-bottom:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-start::before{border-left:0;border-right:dashed 1px}.cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:dashed 1px}[dir=rtl] .cdk-high-contrast-active .mat-calendar-body-comparison-end::before{border-right:0;border-left:dashed 1px}[dir=rtl] .mat-calendar-body-label{text-align:right}'],encapsulation:2,changeDetection:0}),Gt})();function ve(Gt){return"TD"===Gt?.nodeName}function oe(Gt){let Kt;return ve(Gt)?Kt=Gt:ve(Gt.parentNode)?Kt=Gt.parentNode:ve(Gt.parentNode?.parentNode)&&(Kt=Gt.parentNode.parentNode),null!=Kt?.getAttribute("data-mat-row")?Kt:null}function Ke(Gt,Kt,fe){return null!==fe&&Kt!==fe&&Gt<fe&&Gt===Kt}function Ae(Gt,Kt,fe){return null!==Kt&&Kt!==fe&&Gt>=Kt&&Gt===fe}function de(Gt,Kt,fe,Oe){return Oe&&null!==Kt&&null!==fe&&Kt!==fe&&Gt>=Kt&&Gt<=fe}function Ce(Gt){const Kt=Gt.changedTouches[0];return document.elementFromPoint(Kt.clientX,Kt.clientY)}class te{constructor(Kt,fe){this.start=Kt,this.end=fe}}let Ze=(()=>{class Gt{constructor(fe,Oe){this.selection=fe,this._adapter=Oe,this._selectionChanged=new d.x,this.selectionChanged=this._selectionChanged,this.selection=fe}updateSelection(fe,Oe){const ct=this.selection;this.selection=fe,this._selectionChanged.next({selection:fe,source:Oe,oldValue:ct})}ngOnDestroy(){this._selectionChanged.complete()}_isValidDateInstance(fe){return this._adapter.isDateInstance(fe)&&this._adapter.isValid(fe)}}return Gt.\u0275fac=function(fe){s.$Z()},Gt.\u0275prov=s.Yz7({token:Gt,factory:Gt.\u0275fac}),Gt})(),Ge=(()=>{class Gt extends Ze{constructor(fe){super(null,fe)}add(fe){super.updateSelection(fe,this)}isValid(){return null!=this.selection&&this._isValidDateInstance(this.selection)}isComplete(){return null!=this.selection}clone(){const fe=new Gt(this._adapter);return fe.updateSelection(this.selection,this),fe}}return Gt.\u0275fac=function(fe){return new(fe||Gt)(s.LFG(P._A))},Gt.\u0275prov=s.Yz7({token:Gt,factory:Gt.\u0275fac}),Gt})();const pt={provide:Ze,deps:[[new s.FiY,new s.tp0,Ze],P._A],useFactory:function ge(Gt,Kt){return Gt||new Ge(Kt)}},At=new s.OlP("MAT_DATE_RANGE_SELECTION_STRATEGY");let He=(()=>{class Gt{get activeDate(){return this._activeDate}set activeDate(fe){const Oe=this._activeDate,ct=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ct,this.minDate,this.maxDate),this._hasSameMonthAndYear(Oe,this._activeDate)||this._init()}get selected(){return this._selected}set selected(fe){this._selected=fe instanceof te?fe:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe)),this._setRanges(this._selected)}get minDate(){return this._minDate}set minDate(fe){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe))}get maxDate(){return this._maxDate}set maxDate(fe){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe))}constructor(fe,Oe,ct,Je,ii){this._changeDetectorRef=fe,this._dateFormats=Oe,this._dateAdapter=ct,this._dir=Je,this._rangeStrategy=ii,this._rerenderSubscription=S.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,U.O)(null)).subscribe(()=>this._init())}ngOnChanges(fe){const Oe=fe.comparisonStart||fe.comparisonEnd;Oe&&!Oe.firstChange&&this._setRanges(this.selected),fe.activeDrag&&!this.activeDrag&&this._clearPreview()}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_dateSelected(fe){const Oe=fe.value,ct=this._getDateFromDayOfMonth(Oe);let Je,ii;this._selected instanceof te?(Je=this._getDateInCurrentMonth(this._selected.start),ii=this._getDateInCurrentMonth(this._selected.end)):Je=ii=this._getDateInCurrentMonth(this._selected),(Je!==Oe||ii!==Oe)&&this.selectedChange.emit(ct),this._userSelection.emit({value:ct,event:fe.event}),this._clearPreview(),this._changeDetectorRef.markForCheck()}_updateActiveDate(fe){const ct=this._activeDate;this.activeDate=this._getDateFromDayOfMonth(fe.value),this._dateAdapter.compareDate(ct,this.activeDate)&&this.activeDateChange.emit(this._activeDate)}_handleCalendarBodyKeydown(fe){const Oe=this._activeDate,ct=this._isRtl();switch(fe.keyCode){case E.oh:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ct?1:-1);break;case E.SV:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,ct?-1:1);break;case E.LH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case E.JH:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case E.Sd:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case E.uR:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case E.Ku:this.activeDate=fe.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case E.VM:this.activeDate=fe.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case E.K5:case E.L_:return this._selectionKeyPressed=!0,void(this._canSelect(this._activeDate)&&fe.preventDefault());case E.hY:return void(null!=this._previewEnd&&!(0,E.Vb)(fe)&&(this._clearPreview(),this.activeDrag?this.dragEnded.emit({value:null,event:fe}):(this.selectedChange.emit(null),this._userSelection.emit({value:null,event:fe})),fe.preventDefault(),fe.stopPropagation()));default:return}this._dateAdapter.compareDate(Oe,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),fe.preventDefault()}_handleCalendarBodyKeyup(fe){(fe.keyCode===E.L_||fe.keyCode===E.K5)&&(this._selectionKeyPressed&&this._canSelect(this._activeDate)&&this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:fe}),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 fe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(fe)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}_focusActiveCell(fe){this._matCalendarBody._focusActiveCell(fe)}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_previewChanged({event:fe,value:Oe}){if(this._rangeStrategy){const ct=Oe?Oe.rawValue:null,Je=this._rangeStrategy.createPreview(ct,this.selected,fe);if(this._previewStart=this._getCellCompareValue(Je.start),this._previewEnd=this._getCellCompareValue(Je.end),this.activeDrag&&ct){const ii=this._rangeStrategy.createDrag?.(this.activeDrag.value,this.selected,ct,fe);ii&&(this._previewStart=this._getCellCompareValue(ii.start),this._previewEnd=this._getCellCompareValue(ii.end))}this._changeDetectorRef.detectChanges()}}_dragEnded(fe){if(this.activeDrag)if(fe.value){const Oe=this._rangeStrategy?.createDrag?.(this.activeDrag.value,this.selected,fe.value,fe.event);this.dragEnded.emit({value:Oe??null,event:fe.event})}else this.dragEnded.emit({value:null,event:fe.event})}_getDateFromDayOfMonth(fe){return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),fe)}_initWeekdays(){const fe=this._dateAdapter.getFirstDayOfWeek(),Oe=this._dateAdapter.getDayOfWeekNames("narrow");let Je=this._dateAdapter.getDayOfWeekNames("long").map((ii,Oi)=>({long:ii,narrow:Oe[Oi]}));this._weekdays=Je.slice(fe).concat(Je.slice(0,fe))}_createWeekCells(){const fe=this._dateAdapter.getNumDaysInMonth(this.activeDate),Oe=this._dateAdapter.getDateNames();this._weeks=[[]];for(let ct=0,Je=this._firstWeekOffset;ct<fe;ct++,Je++){7==Je&&(this._weeks.push([]),Je=0);const ii=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),ct+1),Oi=this._shouldEnableDate(ii),Xi=this._dateAdapter.format(ii,this._dateFormats.display.dateA11yLabel),Rn=this.dateClass?this.dateClass(ii,"month"):void 0;this._weeks[this._weeks.length-1].push(new Le(ct+1,Oe[ct],Xi,Oi,Rn,this._getCellCompareValue(ii),ii))}}_shouldEnableDate(fe){return!!fe&&(!this.minDate||this._dateAdapter.compareDate(fe,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(fe,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(fe))}_getDateInCurrentMonth(fe){return fe&&this._hasSameMonthAndYear(fe,this.activeDate)?this._dateAdapter.getDate(fe):null}_hasSameMonthAndYear(fe,Oe){return!(!fe||!Oe||this._dateAdapter.getMonth(fe)!=this._dateAdapter.getMonth(Oe)||this._dateAdapter.getYear(fe)!=this._dateAdapter.getYear(Oe))}_getCellCompareValue(fe){if(fe){const Oe=this._dateAdapter.getYear(fe),ct=this._dateAdapter.getMonth(fe),Je=this._dateAdapter.getDate(fe);return new Date(Oe,ct,Je).getTime()}return null}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setRanges(fe){fe instanceof te?(this._rangeStart=this._getCellCompareValue(fe.start),this._rangeEnd=this._getCellCompareValue(fe.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(fe),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}_canSelect(fe){return!this.dateFilter||this.dateFilter(fe)}_clearPreview(){this._previewStart=this._previewEnd=null}}return Gt.\u0275fac=function(fe){return new(fe||Gt)(s.Y36(s.sBO),s.Y36(P.sG,8),s.Y36(P._A,8),s.Y36(R.Is,8),s.Y36(At,8))},Gt.\u0275cmp=s.Xpm({type:Gt,selectors:[["mat-month-view"]],viewQuery:function(fe,Oe){if(1&fe&&s.Gf(ce,5),2&fe){let ct;s.iGM(ct=s.CRH())&&(Oe._matCalendarBody=ct.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(fe,Oe){1&fe&&(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(Je){return Oe._dateSelected(Je)})("activeDateChange",function(Je){return Oe._updateActiveDate(Je)})("previewChange",function(Je){return Oe._previewChanged(Je)})("dragStarted",function(Je){return Oe.dragStarted.emit(Je)})("dragEnded",function(Je){return Oe._dragEnded(Je)})("keyup",function(Je){return Oe._handleCalendarBodyKeyup(Je)})("keydown",function(Je){return Oe._handleCalendarBodyKeydown(Je)}),s.qZA()()),2&fe&&(s.xp6(3),s.Q6J("ngForOf",Oe._weekdays),s.xp6(3),s.Q6J("label",Oe._monthLabel)("rows",Oe._weeks)("todayValue",Oe._todayDate)("startValue",Oe._rangeStart)("endValue",Oe._rangeEnd)("comparisonStart",Oe._comparisonRangeStart)("comparisonEnd",Oe._comparisonRangeEnd)("previewStart",Oe._previewStart)("previewEnd",Oe._previewEnd)("isRange",Oe._isRange)("labelMinRequiredCells",3)("activeCell",Oe._dateAdapter.getDate(Oe.activeDate)-1)("startDateAccessibleName",Oe.startDateAccessibleName)("endDateAccessibleName",Oe.endDateAccessibleName))},dependencies:[I.sg,ce],encapsulation:2,changeDetection:0}),Gt})(),Fe=(()=>{class Gt{get activeDate(){return this._activeDate}set activeDate(fe){let Oe=this._activeDate;const ct=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ct,this.minDate,this.maxDate),Ft(this._dateAdapter,Oe,this._activeDate,this.minDate,this.maxDate)||this._init()}get selected(){return this._selected}set selected(fe){this._selected=fe instanceof te?fe:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe)),this._setSelectedYear(fe)}get minDate(){return this._minDate}set minDate(fe){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe))}get maxDate(){return this._maxDate}set maxDate(fe){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe))}constructor(fe,Oe,ct){this._changeDetectorRef=fe,this._dateAdapter=Oe,this._dir=ct,this._rerenderSubscription=S.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,U.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_init(){this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());const Oe=this._dateAdapter.getYear(this._activeDate)-qe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(let ct=0,Je=[];ct<24;ct++)Je.push(Oe+ct),4==Je.length&&(this._years.push(Je.map(ii=>this._createCellForYear(ii))),Je=[]);this._changeDetectorRef.markForCheck()}_yearSelected(fe){const Oe=fe.value,ct=this._dateAdapter.createDate(Oe,0,1),Je=this._getDateFromYear(Oe);this.yearSelected.emit(ct),this.selectedChange.emit(Je)}_updateActiveDate(fe){const ct=this._activeDate;this.activeDate=this._getDateFromYear(fe.value),this._dateAdapter.compareDate(ct,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(fe){const Oe=this._activeDate,ct=this._isRtl();switch(fe.keyCode){case E.oh:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ct?1:-1);break;case E.SV:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,ct?-1:1);break;case E.LH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case E.JH:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case E.Sd:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-qe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case E.uR:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,24-qe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case E.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,fe.altKey?-240:-24);break;case E.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,fe.altKey?240:24);break;case E.K5:case E.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Oe,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked(),fe.preventDefault()}_handleCalendarBodyKeyup(fe){(fe.keyCode===E.L_||fe.keyCode===E.K5)&&(this._selectionKeyPressed&&this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:fe}),this._selectionKeyPressed=!1)}_getActiveCell(){return qe(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getDateFromYear(fe){const Oe=this._dateAdapter.getMonth(this.activeDate),ct=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(fe,Oe,1));return this._dateAdapter.createDate(fe,Oe,Math.min(this._dateAdapter.getDate(this.activeDate),ct))}_createCellForYear(fe){const Oe=this._dateAdapter.createDate(fe,0,1),ct=this._dateAdapter.getYearName(Oe),Je=this.dateClass?this.dateClass(Oe,"multi-year"):void 0;return new Le(fe,ct,ct,this._shouldEnableYear(fe),Je)}_shouldEnableYear(fe){if(null==fe||this.maxDate&&fe>this._dateAdapter.getYear(this.maxDate)||this.minDate&&fe<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(let ct=this._dateAdapter.createDate(fe,0,1);this._dateAdapter.getYear(ct)==fe;ct=this._dateAdapter.addCalendarDays(ct,1))if(this.dateFilter(ct))return!0;return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedYear(fe){if(this._selectedYear=null,fe instanceof te){const Oe=fe.start||fe.end;Oe&&(this._selectedYear=this._dateAdapter.getYear(Oe))}else fe&&(this._selectedYear=this._dateAdapter.getYear(fe))}}return Gt.\u0275fac=function(fe){return new(fe||Gt)(s.Y36(s.sBO),s.Y36(P._A,8),s.Y36(R.Is,8))},Gt.\u0275cmp=s.Xpm({type:Gt,selectors:[["mat-multi-year-view"]],viewQuery:function(fe,Oe){if(1&fe&&s.Gf(ce,5),2&fe){let ct;s.iGM(ct=s.CRH())&&(Oe._matCalendarBody=ct.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(fe,Oe){1&fe&&(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(Je){return Oe._yearSelected(Je)})("activeDateChange",function(Je){return Oe._updateActiveDate(Je)})("keyup",function(Je){return Oe._handleCalendarBodyKeyup(Je)})("keydown",function(Je){return Oe._handleCalendarBodyKeydown(Je)}),s.qZA()()),2&fe&&(s.xp6(4),s.Q6J("rows",Oe._years)("todayValue",Oe._todayYear)("startValue",Oe._selectedYear)("endValue",Oe._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",Oe._getActiveCell()))},dependencies:[ce],encapsulation:2,changeDetection:0}),Gt})();function Ft(Gt,Kt,fe,Oe,ct){const Je=Gt.getYear(Kt),ii=Gt.getYear(fe),Oi=Qe(Gt,Oe,ct);return Math.floor((Je-Oi)/24)===Math.floor((ii-Oi)/24)}function qe(Gt,Kt,fe,Oe){return function Ht(Gt,Kt){return(Gt%Kt+Kt)%Kt}(Gt.getYear(Kt)-Qe(Gt,fe,Oe),24)}function Qe(Gt,Kt,fe){let Oe=0;return fe?Oe=Gt.getYear(fe)-24+1:Kt&&(Oe=Gt.getYear(Kt)),Oe}let Et=(()=>{class Gt{get activeDate(){return this._activeDate}set activeDate(fe){let Oe=this._activeDate;const ct=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(ct,this.minDate,this.maxDate),this._dateAdapter.getYear(Oe)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}get selected(){return this._selected}set selected(fe){this._selected=fe instanceof te?fe:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe)),this._setSelectedMonth(fe)}get minDate(){return this._minDate}set minDate(fe){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe))}get maxDate(){return this._maxDate}set maxDate(fe){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe))}constructor(fe,Oe,ct,Je){this._changeDetectorRef=fe,this._dateFormats=Oe,this._dateAdapter=ct,this._dir=Je,this._rerenderSubscription=S.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,U.O)(null)).subscribe(()=>this._init())}ngOnDestroy(){this._rerenderSubscription.unsubscribe()}_monthSelected(fe){const Oe=fe.value,ct=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),Oe,1);this.monthSelected.emit(ct);const Je=this._getDateFromMonth(Oe);this.selectedChange.emit(Je)}_updateActiveDate(fe){const ct=this._activeDate;this.activeDate=this._getDateFromMonth(fe.value),this._dateAdapter.compareDate(ct,this.activeDate)&&this.activeDateChange.emit(this.activeDate)}_handleCalendarBodyKeydown(fe){const Oe=this._activeDate,ct=this._isRtl();switch(fe.keyCode){case E.oh:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ct?1:-1);break;case E.SV:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,ct?-1:1);break;case E.LH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case E.JH:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case E.Sd:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case E.uR:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case E.Ku:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,fe.altKey?-10:-1);break;case E.VM:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,fe.altKey?10:1);break;case E.K5:case E.L_:this._selectionKeyPressed=!0;break;default:return}this._dateAdapter.compareDate(Oe,this.activeDate)&&(this.activeDateChange.emit(this.activeDate),this._focusActiveCellAfterViewChecked()),fe.preventDefault()}_handleCalendarBodyKeyup(fe){(fe.keyCode===E.L_||fe.keyCode===E.K5)&&(this._selectionKeyPressed&&this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:fe}),this._selectionKeyPressed=!1)}_init(){this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);let fe=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(Oe=>Oe.map(ct=>this._createCellForMonth(ct,fe[ct]))),this._changeDetectorRef.markForCheck()}_focusActiveCell(){this._matCalendarBody._focusActiveCell()}_focusActiveCellAfterViewChecked(){this._matCalendarBody._scheduleFocusActiveCellAfterViewChecked()}_getMonthInCurrentYear(fe){return fe&&this._dateAdapter.getYear(fe)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(fe):null}_getDateFromMonth(fe){const Oe=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),fe,1),ct=this._dateAdapter.getNumDaysInMonth(Oe);return this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),fe,Math.min(this._dateAdapter.getDate(this.activeDate),ct))}_createCellForMonth(fe,Oe){const ct=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),fe,1),Je=this._dateAdapter.format(ct,this._dateFormats.display.monthYearA11yLabel),ii=this.dateClass?this.dateClass(ct,"year"):void 0;return new Le(fe,Oe.toLocaleUpperCase(),Je,this._shouldEnableMonth(fe),ii)}_shouldEnableMonth(fe){const Oe=this._dateAdapter.getYear(this.activeDate);if(null==fe||this._isYearAndMonthAfterMaxDate(Oe,fe)||this._isYearAndMonthBeforeMinDate(Oe,fe))return!1;if(!this.dateFilter)return!0;for(let Je=this._dateAdapter.createDate(Oe,fe,1);this._dateAdapter.getMonth(Je)==fe;Je=this._dateAdapter.addCalendarDays(Je,1))if(this.dateFilter(Je))return!0;return!1}_isYearAndMonthAfterMaxDate(fe,Oe){if(this.maxDate){const ct=this._dateAdapter.getYear(this.maxDate),Je=this._dateAdapter.getMonth(this.maxDate);return fe>ct||fe===ct&&Oe>Je}return!1}_isYearAndMonthBeforeMinDate(fe,Oe){if(this.minDate){const ct=this._dateAdapter.getYear(this.minDate),Je=this._dateAdapter.getMonth(this.minDate);return fe<ct||fe===ct&&Oe<Je}return!1}_isRtl(){return this._dir&&"rtl"===this._dir.value}_setSelectedMonth(fe){this._selectedMonth=fe instanceof te?this._getMonthInCurrentYear(fe.start)||this._getMonthInCurrentYear(fe.end):this._getMonthInCurrentYear(fe)}}return Gt.\u0275fac=function(fe){return new(fe||Gt)(s.Y36(s.sBO),s.Y36(P.sG,8),s.Y36(P._A,8),s.Y36(R.Is,8))},Gt.\u0275cmp=s.Xpm({type:Gt,selectors:[["mat-year-view"]],viewQuery:function(fe,Oe){if(1&fe&&s.Gf(ce,5),2&fe){let ct;s.iGM(ct=s.CRH())&&(Oe._matCalendarBody=ct.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(fe,Oe){1&fe&&(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(Je){return Oe._monthSelected(Je)})("activeDateChange",function(Je){return Oe._updateActiveDate(Je)})("keyup",function(Je){return Oe._handleCalendarBodyKeyup(Je)})("keydown",function(Je){return Oe._handleCalendarBodyKeydown(Je)}),s.qZA()()),2&fe&&(s.xp6(4),s.Q6J("label",Oe._yearLabel)("rows",Oe._months)("todayValue",Oe._todayMonth)("startValue",Oe._selectedMonth)("endValue",Oe._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",Oe._dateAdapter.getMonth(Oe.activeDate)))},dependencies:[ce],encapsulation:2,changeDetection:0}),Gt})(),It=1,bt=(()=>{class Gt{constructor(fe,Oe,ct,Je,ii){this._intl=fe,this.calendar=Oe,this._dateAdapter=ct,this._dateFormats=Je,this._id="mat-calendar-header-"+It++,this._periodButtonLabelId=`${this._id}-period-label`,this.calendar.stateChanges.subscribe(()=>ii.markForCheck())}get periodButtonText(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRange(...this._formatMinAndMaxYearLabels())}get periodButtonDescription(){return"month"==this.calendar.currentView?this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase():"year"==this.calendar.currentView?this._dateAdapter.getYearName(this.calendar.activeDate):this._intl.formatYearRangeLabel(...this._formatMinAndMaxYearLabels())}get periodButtonLabel(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}get prevButtonLabel(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}get nextButtonLabel(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}currentPeriodClicked(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}previousClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}nextClicked(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:24)}previousEnabled(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}nextEnabled(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}_isSameView(fe,Oe){return"month"==this.calendar.currentView?this._dateAdapter.getYear(fe)==this._dateAdapter.getYear(Oe)&&this._dateAdapter.getMonth(fe)==this._dateAdapter.getMonth(Oe):"year"==this.calendar.currentView?this._dateAdapter.getYear(fe)==this._dateAdapter.getYear(Oe):Ft(this._dateAdapter,fe,Oe,this.calendar.minDate,this.calendar.maxDate)}_formatMinAndMaxYearLabels(){const Oe=this._dateAdapter.getYear(this.calendar.activeDate)-qe(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),ct=Oe+24-1;return[this._dateAdapter.getYearName(this._dateAdapter.createDate(Oe,0,1)),this._dateAdapter.getYearName(this._dateAdapter.createDate(ct,0,1))]}}return Gt.\u0275fac=function(fe){return new(fe||Gt)(s.Y36(ze),s.Y36((0,s.Gpc)(()=>we)),s.Y36(P._A,8),s.Y36(P.sG,8),s.Y36(s.sBO))},Gt.\u0275cmp=s.Xpm({type:Gt,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:u,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(fe,Oe){1&fe&&(s.F$t(),s.TgZ(0,"div",0)(1,"div",1)(2,"button",2),s.NdJ("click",function(){return Oe.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 Oe.previousClicked()}),s.qZA(),s.TgZ(10,"button",8),s.NdJ("click",function(){return Oe.nextClicked()}),s.qZA()()(),s.TgZ(11,"label",9),s._uU(12),s.qZA()),2&fe&&(s.xp6(2),s.uIk("aria-label",Oe.periodButtonLabel)("aria-describedby",Oe._periodButtonLabelId),s.xp6(2),s.Oqu(Oe.periodButtonText),s.xp6(1),s.ekj("mat-calendar-invert","month"!==Oe.calendar.currentView),s.xp6(4),s.Q6J("disabled",!Oe.previousEnabled()),s.uIk("aria-label",Oe.prevButtonLabel),s.xp6(1),s.Q6J("disabled",!Oe.nextEnabled()),s.uIk("aria-label",Oe.nextButtonLabel),s.xp6(1),s.Q6J("id",Oe._periodButtonLabelId),s.xp6(1),s.Oqu(Oe.periodButtonDescription))},dependencies:[C.lW,C.RK],encapsulation:2,changeDetection:0}),Gt})(),we=(()=>{class Gt{get startAt(){return this._startAt}set startAt(fe){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe))}get selected(){return this._selected}set selected(fe){this._selected=fe instanceof te?fe:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe))}get minDate(){return this._minDate}set minDate(fe){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe))}get maxDate(){return this._maxDate}set maxDate(fe){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe))}get activeDate(){return this._clampedActiveDate}set activeDate(fe){this._clampedActiveDate=this._dateAdapter.clampDate(fe,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}get currentView(){return this._currentView}set currentView(fe){const Oe=this._currentView!==fe?fe:null;this._currentView=fe,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),Oe&&this.viewChanged.emit(Oe)}constructor(fe,Oe,ct,Je){this._dateAdapter=Oe,this._dateFormats=ct,this._changeDetectorRef=Je,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=fe.changes.subscribe(()=>{Je.markForCheck(),this.stateChanges.next()})}ngAfterContentInit(){this._calendarHeaderPortal=new b.C5(this.headerComponent||bt),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(fe){const Oe=fe.minDate&&!this._dateAdapter.sameDate(fe.minDate.previousValue,fe.minDate.currentValue)?fe.minDate:void 0,ct=fe.maxDate&&!this._dateAdapter.sameDate(fe.maxDate.previousValue,fe.maxDate.currentValue)?fe.maxDate:void 0,Je=Oe||ct||fe.dateFilter;if(Je&&!Je.firstChange){const ii=this._getCurrentViewComponent();ii&&(this._changeDetectorRef.detectChanges(),ii._init())}this.stateChanges.next()}focusActiveCell(){this._getCurrentViewComponent()._focusActiveCell(!1)}updateTodaysDate(){this._getCurrentViewComponent()._init()}_dateSelected(fe){const Oe=fe.value;(this.selected instanceof te||Oe&&!this._dateAdapter.sameDate(Oe,this.selected))&&this.selectedChange.emit(Oe),this._userSelection.emit(fe)}_yearSelectedInMultiYearView(fe){this.yearSelected.emit(fe)}_monthSelectedInYearView(fe){this.monthSelected.emit(fe)}_goToDateInView(fe,Oe){this.activeDate=fe,this.currentView=Oe}_dragStarted(fe){this._activeDrag=fe}_dragEnded(fe){this._activeDrag&&(fe.value&&this._userDragDrop.emit(fe),this._activeDrag=null)}_getCurrentViewComponent(){return this.monthView||this.yearView||this.multiYearView}}return Gt.\u0275fac=function(fe){return new(fe||Gt)(s.Y36(ze),s.Y36(P._A,8),s.Y36(P.sG,8),s.Y36(s.sBO))},Gt.\u0275cmp=s.Xpm({type:Gt,selectors:[["mat-calendar"]],viewQuery:function(fe,Oe){if(1&fe&&(s.Gf(He,5),s.Gf(Et,5),s.Gf(Fe,5)),2&fe){let ct;s.iGM(ct=s.CRH())&&(Oe.monthView=ct.first),s.iGM(ct=s.CRH())&&(Oe.yearView=ct.first),s.iGM(ct=s.CRH())&&(Oe.multiYearView=ct.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([pt]),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(fe,Oe){1&fe&&(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,T,1,6,"mat-year-view",3),s.YNc(4,D,1,6,"mat-multi-year-view",4),s.qZA()),2&fe&&(s.Q6J("cdkPortalOutlet",Oe._calendarHeaderPortal),s.xp6(1),s.Q6J("ngSwitch",Oe.currentView),s.xp6(1),s.Q6J("ngSwitchCase","month"),s.xp6(1),s.Q6J("ngSwitchCase","year"),s.xp6(1),s.Q6J("ngSwitchCase","multi-year"))},dependencies:[I.RF,I.n9,t.kH,b.Pl,He,Et,Fe],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}),Gt})();const J={transformPanel:(0,ie.X$)("transformPanel",[(0,ie.eR)("void => enter-dropdown",(0,ie.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.F4)([(0,ie.oB)({opacity:0,transform:"scale(1, 0.8)"}),(0,ie.oB)({opacity:1,transform:"scale(1, 1)"})]))),(0,ie.eR)("void => enter-dialog",(0,ie.jt)("150ms cubic-bezier(0, 0, 0.2, 1)",(0,ie.F4)([(0,ie.oB)({opacity:0,transform:"scale(0.7)"}),(0,ie.oB)({transform:"none",opacity:1})]))),(0,ie.eR)("* => void",(0,ie.jt)("100ms linear",(0,ie.oB)({opacity:0})))]),fadeInCalendar:(0,ie.X$)("fadeInCalendar",[(0,ie.SB)("void",(0,ie.oB)({opacity:0})),(0,ie.SB)("enter",(0,ie.oB)({opacity:1})),(0,ie.eR)("void => *",(0,ie.jt)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])};let be=0;const Ve=new s.OlP("mat-datepicker-scroll-strategy"),ei={provide:Ve,deps:[e.aV],useFactory:function ot(Gt){return()=>Gt.scrollStrategies.reposition()}},Bt=(0,P.pj)(class{constructor(Gt){this._elementRef=Gt}});let ti=(()=>{class Gt extends Bt{constructor(fe,Oe,ct,Je,ii,Oi){super(fe),this._changeDetectorRef=Oe,this._globalModel=ct,this._dateAdapter=Je,this._rangeSelectionStrategy=ii,this._subscriptions=new S.w0,this._animationDone=new d.x,this._isAnimating=!1,this._actionsPortal=null,this._closeButtonText=Oi.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(fe){const Oe=this._model.selection,ct=fe.value,Je=Oe instanceof te;if(Je&&this._rangeSelectionStrategy){const ii=this._rangeSelectionStrategy.selectionFinished(ct,Oe,fe.event);this._model.updateSelection(ii,this)}else ct&&(Je||!this._dateAdapter.sameDate(ct,Oe))&&this._model.add(ct);(!this._model||this._model.isComplete())&&!this._actionsPortal&&this.datepicker.close()}_handleUserDragDrop(fe){this._model.updateSelection(fe.value,this)}_startExitAnimation(){this._animationState="void",this._changeDetectorRef.markForCheck()}_handleAnimationEvent(fe){this._isAnimating="start"===fe.phaseName,this._isAnimating||this._animationDone.next()}_getSelected(){return this._model.selection}_applyPendingSelection(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}_assignActions(fe,Oe){this._model=fe?this._globalModel.clone():this._globalModel,this._actionsPortal=fe,Oe&&this._changeDetectorRef.detectChanges()}}return Gt.\u0275fac=function(fe){return new(fe||Gt)(s.Y36(s.SBq),s.Y36(s.sBO),s.Y36(Ze),s.Y36(P._A),s.Y36(At,8),s.Y36(ze))},Gt.\u0275cmp=s.Xpm({type:Gt,selectors:[["mat-datepicker-content"]],viewQuery:function(fe,Oe){if(1&fe&&s.Gf(we,5),2&fe){let ct;s.iGM(ct=s.CRH())&&(Oe._calendar=ct.first)}},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(fe,Oe){1&fe&&s.WFA("@transformPanel.start",function(Je){return Oe._handleAnimationEvent(Je)})("@transformPanel.done",function(Je){return Oe._handleAnimationEvent(Je)}),2&fe&&(s.d8E("@transformPanel",Oe._animationState),s.ekj("mat-datepicker-content-touch",Oe.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(fe,Oe){if(1&fe&&(s.TgZ(0,"div",0)(1,"mat-calendar",1),s.NdJ("yearSelected",function(Je){return Oe.datepicker._selectYear(Je)})("monthSelected",function(Je){return Oe.datepicker._selectMonth(Je)})("viewChanged",function(Je){return Oe.datepicker._viewChanged(Je)})("_userSelection",function(Je){return Oe._handleUserSelection(Je)})("_userDragDrop",function(Je){return Oe._handleUserDragDrop(Je)}),s.qZA(),s.YNc(2,m,0,0,"ng-template",2),s.TgZ(3,"button",3),s.NdJ("focus",function(){return Oe._closeButtonFocused=!0})("blur",function(){return Oe._closeButtonFocused=!1})("click",function(){return Oe.datepicker.close()}),s._uU(4),s.qZA()()),2&fe){let ct;s.ekj("mat-datepicker-content-container-with-custom-header",Oe.datepicker.calendarHeaderComponent)("mat-datepicker-content-container-with-actions",Oe._actionsPortal),s.uIk("aria-modal",!0)("aria-labelledby",null!==(ct=Oe._dialogLabelId)&&void 0!==ct?ct:void 0),s.xp6(1),s.Q6J("id",Oe.datepicker.id)("ngClass",Oe.datepicker.panelClass)("startAt",Oe.datepicker.startAt)("startView",Oe.datepicker.startView)("minDate",Oe.datepicker._getMinDate())("maxDate",Oe.datepicker._getMaxDate())("dateFilter",Oe.datepicker._getDateFilter())("headerComponent",Oe.datepicker.calendarHeaderComponent)("selected",Oe._getSelected())("dateClass",Oe.datepicker.dateClass)("comparisonStart",Oe.comparisonStart)("comparisonEnd",Oe.comparisonEnd)("@fadeInCalendar","enter")("startDateAccessibleName",Oe.startDateAccessibleName)("endDateAccessibleName",Oe.endDateAccessibleName),s.xp6(1),s.Q6J("cdkPortalOutlet",Oe._actionsPortal),s.xp6(1),s.ekj("cdk-visually-hidden",!Oe._closeButtonFocused),s.Q6J("color",Oe.color||"primary"),s.xp6(1),s.Oqu(Oe._closeButtonText)}},dependencies:[I.mk,C.lW,t.mK,b.Pl,we],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:[J.transformPanel,J.fadeInCalendar]},changeDetection:0}),Gt})(),mt=(()=>{class Gt{get startAt(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)}set startAt(fe){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe))}get color(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)}set color(fe){this._color=fe}get touchUi(){return this._touchUi}set touchUi(fe){this._touchUi=(0,K.Ig)(fe)}get disabled(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled}set disabled(fe){const Oe=(0,K.Ig)(fe);Oe!==this._disabled&&(this._disabled=Oe,this.stateChanges.next(void 0))}get restoreFocus(){return this._restoreFocus}set restoreFocus(fe){this._restoreFocus=(0,K.Ig)(fe)}get panelClass(){return this._panelClass}set panelClass(fe){this._panelClass=(0,K.du)(fe)}get opened(){return this._opened}set opened(fe){(0,K.Ig)(fe)?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(fe,Oe,ct,Je,ii,Oi,Xi){this._overlay=fe,this._ngZone=Oe,this._viewContainerRef=ct,this._dateAdapter=ii,this._dir=Oi,this._model=Xi,this._inputStateChanges=S.w0.EMPTY,this._document=(0,s.f3M)(I.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-"+be++,this._focusedElementBeforeOpen=null,this._backdropHarnessClass=`${this.id}-backdrop`,this.stateChanges=new d.x,this._scrollStrategy=Je}ngOnChanges(fe){const Oe=fe.xPosition||fe.yPosition;if(Oe&&!Oe.firstChange&&this._overlayRef){const ct=this._overlayRef.getConfig().positionStrategy;ct instanceof e._G&&(this._setConnectedPositions(ct),this.opened&&this._overlayRef.updatePosition())}this.stateChanges.next(void 0)}ngOnDestroy(){this._destroyOverlay(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}select(fe){this._model.add(fe)}_selectYear(fe){this.yearSelected.emit(fe)}_selectMonth(fe){this.monthSelected.emit(fe)}_viewChanged(fe){this.viewChanged.emit(fe)}registerInput(fe){return this._inputStateChanges.unsubscribe(),this.datepickerInput=fe,this._inputStateChanges=fe.stateChanges.subscribe(()=>this.stateChanges.next(void 0)),this._model}registerActions(fe){this._actionsPortal=fe,this._componentRef?.instance._assignActions(fe,!0)}removeActions(fe){fe===this._actionsPortal&&(this._actionsPortal=null,this._componentRef?.instance._assignActions(null,!0))}open(){this._opened||this.disabled||this._componentRef?.instance._isAnimating||(this._focusedElementBeforeOpen=(0,$.ht)(),this._openOverlay(),this._opened=!0,this.openedStream.emit())}close(){if(!this._opened||this._componentRef?.instance._isAnimating)return;const fe=this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus,Oe=()=>{this._opened&&(this._opened=!1,this.closedStream.emit())};if(this._componentRef){const{instance:ct,location:Je}=this._componentRef;ct._startExitAnimation(),ct._animationDone.pipe((0,z.q)(1)).subscribe(()=>{const ii=this._document.activeElement;fe&&(!ii||ii===this._document.activeElement||Je.nativeElement.contains(ii))&&this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null,this._destroyOverlay()})}fe?setTimeout(Oe):Oe()}_applyPendingSelection(){this._componentRef?.instance?._applyPendingSelection()}_forwardContentValues(fe){fe.datepicker=this,fe.color=this.color,fe._dialogLabelId=this.datepickerInput.getOverlayLabelId(),fe._assignActions(this._actionsPortal,!1)}_openOverlay(){this._destroyOverlay();const fe=this.touchUi,Oe=new b.C5(ti,this._viewContainerRef),ct=this._overlayRef=this._overlay.create(new e.X_({positionStrategy:fe?this._getDialogStrategy():this._getDropdownStrategy(),hasBackdrop:!0,backdropClass:[fe?"cdk-overlay-dark-backdrop":"mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:fe?this._overlay.scrollStrategies.block():this._scrollStrategy(),panelClass:"mat-datepicker-"+(fe?"dialog":"popup")}));this._getCloseStream(ct).subscribe(Je=>{Je&&Je.preventDefault(),this.close()}),ct.keydownEvents().subscribe(Je=>{const ii=Je.keyCode;(ii===E.LH||ii===E.JH||ii===E.oh||ii===E.SV||ii===E.Ku||ii===E.VM)&&Je.preventDefault()}),this._componentRef=ct.attach(Oe),this._forwardContentValues(this._componentRef.instance),fe||this._ngZone.onStable.pipe((0,z.q)(1)).subscribe(()=>ct.updatePosition())}_destroyOverlay(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=this._componentRef=null)}_getDialogStrategy(){return this._overlay.position().global().centerHorizontally().centerVertically()}_getDropdownStrategy(){const fe=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition();return this._setConnectedPositions(fe)}_setConnectedPositions(fe){const Oe="end"===this.xPosition?"end":"start",ct="start"===Oe?"end":"start",Je="above"===this.yPosition?"bottom":"top",ii="top"===Je?"bottom":"top";return fe.withPositions([{originX:Oe,originY:ii,overlayX:Oe,overlayY:Je},{originX:Oe,originY:Je,overlayX:Oe,overlayY:ii},{originX:ct,originY:ii,overlayX:ct,overlayY:Je},{originX:ct,originY:Je,overlayX:ct,overlayY:ii}])}_getCloseStream(fe){const Oe=["ctrlKey","shiftKey","metaKey"];return(0,w.T)(fe.backdropClick(),fe.detachments(),fe.keydownEvents().pipe((0,Y.h)(ct=>ct.keyCode===E.hY&&!(0,E.Vb)(ct)||this.datepickerInput&&(0,E.Vb)(ct,"altKey")&&ct.keyCode===E.LH&&Oe.every(Je=>!(0,E.Vb)(ct,Je)))))}}return Gt.\u0275fac=function(fe){return new(fe||Gt)(s.Y36(e.aV),s.Y36(s.R0b),s.Y36(s.s_b),s.Y36(Ve),s.Y36(P._A,8),s.Y36(R.Is,8),s.Y36(Ze))},Gt.\u0275dir=s.lG2({type:Gt,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]}),Gt})(),nt=(()=>{class Gt extends mt{}return Gt.\u0275fac=function(){let Kt;return function(Oe){return(Kt||(Kt=s.n5z(Gt)))(Oe||Gt)}}(),Gt.\u0275cmp=s.Xpm({type:Gt,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[s._Bn([pt,{provide:mt,useExisting:Gt}]),s.qOj],decls:0,vars:0,template:function(fe,Oe){},encapsulation:2,changeDetection:0}),Gt})();class yt{constructor(Kt,fe){this.target=Kt,this.targetElement=fe,this.value=this.target.value}}let $t=(()=>{class Gt{get value(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue}set value(fe){this._assignValueProgrammatically(fe)}get disabled(){return!!this._disabled||this._parentDisabled()}set disabled(fe){const Oe=(0,K.Ig)(fe),ct=this._elementRef.nativeElement;this._disabled!==Oe&&(this._disabled=Oe,this.stateChanges.next(void 0)),Oe&&this._isInitialized&&ct.blur&&ct.blur()}_getValidators(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}_registerModel(fe){this._model=fe,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(Oe=>{if(this._shouldHandleChangeEvent(Oe)){const ct=this._getValueFromModel(Oe.selection);this._lastValueValid=this._isValidValue(ct),this._cvaOnChange(ct),this._onTouched(),this._formatValue(ct),this.dateInput.emit(new yt(this,this._elementRef.nativeElement)),this.dateChange.emit(new yt(this,this._elementRef.nativeElement))}})}constructor(fe,Oe,ct){this._elementRef=fe,this._dateAdapter=Oe,this._dateFormats=ct,this.dateChange=new s.vpe,this.dateInput=new s.vpe,this.stateChanges=new d.x,this._onTouched=()=>{},this._validatorOnChange=()=>{},this._cvaOnChange=()=>{},this._valueChangesSubscription=S.w0.EMPTY,this._localeSubscription=S.w0.EMPTY,this._parseValidator=()=>this._lastValueValid?null:{matDatepickerParse:{text:this._elementRef.nativeElement.value}},this._filterValidator=Je=>{const ii=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Je.value));return!ii||this._matchesFilter(ii)?null:{matDatepickerFilter:!0}},this._minValidator=Je=>{const ii=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Je.value)),Oi=this._getMinDate();return!Oi||!ii||this._dateAdapter.compareDate(Oi,ii)<=0?null:{matDatepickerMin:{min:Oi,actual:ii}}},this._maxValidator=Je=>{const ii=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(Je.value)),Oi=this._getMaxDate();return!Oi||!ii||this._dateAdapter.compareDate(Oi,ii)>=0?null:{matDatepickerMax:{max:Oi,actual:ii}}},this._lastValueValid=!1,this._localeSubscription=Oe.localeChanges.subscribe(()=>{this._assignValueProgrammatically(this.value)})}ngAfterViewInit(){this._isInitialized=!0}ngOnChanges(fe){(function Vt(Gt,Kt){const fe=Object.keys(Gt);for(let Oe of fe){const{previousValue:ct,currentValue:Je}=Gt[Oe];if(!Kt.isDateInstance(ct)||!Kt.isDateInstance(Je))return!0;if(!Kt.sameDate(ct,Je))return!0}return!1})(fe,this._dateAdapter)&&this.stateChanges.next(void 0)}ngOnDestroy(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}registerOnValidatorChange(fe){this._validatorOnChange=fe}validate(fe){return this._validator?this._validator(fe):null}writeValue(fe){this._assignValueProgrammatically(fe)}registerOnChange(fe){this._cvaOnChange=fe}registerOnTouched(fe){this._onTouched=fe}setDisabledState(fe){this.disabled=fe}_onKeydown(fe){(0,E.Vb)(fe,"altKey")&&fe.keyCode===E.JH&&["ctrlKey","shiftKey","metaKey"].every(Je=>!(0,E.Vb)(fe,Je))&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),fe.preventDefault())}_onInput(fe){const Oe=this._lastValueValid;let ct=this._dateAdapter.parse(fe,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(ct),ct=this._dateAdapter.getValidDateOrNull(ct);const Je=!this._dateAdapter.sameDate(ct,this.value);!ct||Je?this._cvaOnChange(ct):(fe&&!this.value&&this._cvaOnChange(ct),Oe!==this._lastValueValid&&this._validatorOnChange()),Je&&(this._assignValue(ct),this.dateInput.emit(new yt(this,this._elementRef.nativeElement)))}_onChange(){this.dateChange.emit(new yt(this,this._elementRef.nativeElement))}_onBlur(){this.value&&this._formatValue(this.value),this._onTouched()}_formatValue(fe){this._elementRef.nativeElement.value=null!=fe?this._dateAdapter.format(fe,this._dateFormats.display.dateInput):""}_assignValue(fe){this._model?(this._assignValueToModel(fe),this._pendingValue=null):this._pendingValue=fe}_isValidValue(fe){return!fe||this._dateAdapter.isValid(fe)}_parentDisabled(){return!1}_assignValueProgrammatically(fe){fe=this._dateAdapter.deserialize(fe),this._lastValueValid=this._isValidValue(fe),fe=this._dateAdapter.getValidDateOrNull(fe),this._assignValue(fe),this._formatValue(fe)}_matchesFilter(fe){const Oe=this._getDateFilter();return!Oe||Oe(fe)}}return Gt.\u0275fac=function(fe){return new(fe||Gt)(s.Y36(s.SBq),s.Y36(P._A,8),s.Y36(P.sG,8))},Gt.\u0275dir=s.lG2({type:Gt,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[s.TTD]}),Gt})();const ft={provide:ue.JU,useExisting:(0,s.Gpc)(()=>Pe),multi:!0},Pt={provide:ue.Cf,useExisting:(0,s.Gpc)(()=>Pe),multi:!0};let Pe=(()=>{class Gt extends $t{set matDatepicker(fe){fe&&(this._datepicker=fe,this._closedSubscription=fe.closedStream.subscribe(()=>this._onTouched()),this._registerModel(fe.registerInput(this)))}get min(){return this._min}set min(fe){const Oe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe));this._dateAdapter.sameDate(Oe,this._min)||(this._min=Oe,this._validatorOnChange())}get max(){return this._max}set max(fe){const Oe=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(fe));this._dateAdapter.sameDate(Oe,this._max)||(this._max=Oe,this._validatorOnChange())}get dateFilter(){return this._dateFilter}set dateFilter(fe){const Oe=this._matchesFilter(this.value);this._dateFilter=fe,this._matchesFilter(this.value)!==Oe&&this._validatorOnChange()}constructor(fe,Oe,ct,Je){super(fe,Oe,ct),this._formField=Je,this._closedSubscription=S.w0.EMPTY,this._validator=ue.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(fe){return fe}_assignValueToModel(fe){this._model&&this._model.updateSelection(fe,this)}_getMinDate(){return this._min}_getMaxDate(){return this._max}_getDateFilter(){return this._dateFilter}_shouldHandleChangeEvent(fe){return fe.source!==this}}return Gt.\u0275fac=function(fe){return new(fe||Gt)(s.Y36(s.SBq),s.Y36(P._A,8),s.Y36(P.sG,8),s.Y36(he.G_,8))},Gt.\u0275dir=s.lG2({type:Gt,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(fe,Oe){1&fe&&s.NdJ("input",function(Je){return Oe._onInput(Je.target.value)})("change",function(){return Oe._onChange()})("blur",function(){return Oe._onBlur()})("keydown",function(Je){return Oe._onKeydown(Je)}),2&fe&&(s.Ikx("disabled",Oe.disabled),s.uIk("aria-haspopup",Oe._datepicker?"dialog":null)("aria-owns",(null==Oe._datepicker?null:Oe._datepicker.opened)&&Oe._datepicker.id||null)("min",Oe.min?Oe._dateAdapter.toIso8601(Oe.min):null)("max",Oe.max?Oe._dateAdapter.toIso8601(Oe.max):null)("data-mat-calendar",Oe._datepicker?Oe._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[s._Bn([ft,Pt,{provide:ne.Jk,useExisting:Gt}]),s.qOj]}),Gt})(),it=(()=>{class Gt{}return Gt.\u0275fac=function(fe){return new(fe||Gt)},Gt.\u0275dir=s.lG2({type:Gt,selectors:[["","matDatepickerToggleIcon",""]]}),Gt})(),at=(()=>{class Gt{get disabled(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled}set disabled(fe){this._disabled=(0,K.Ig)(fe)}constructor(fe,Oe,ct){this._intl=fe,this._changeDetectorRef=Oe,this._stateChanges=S.w0.EMPTY;const Je=Number(ct);this.tabIndex=Je||0===Je?Je:null}ngOnChanges(fe){fe.datepicker&&this._watchStateChanges()}ngOnDestroy(){this._stateChanges.unsubscribe()}ngAfterContentInit(){this._watchStateChanges()}_open(fe){this.datepicker&&!this.disabled&&(this.datepicker.open(),fe.stopPropagation())}_watchStateChanges(){const fe=this.datepicker?this.datepicker.stateChanges:(0,O.of)(),Oe=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:(0,O.of)(),ct=this.datepicker?(0,w.T)(this.datepicker.openedStream,this.datepicker.closedStream):(0,O.of)();this._stateChanges.unsubscribe(),this._stateChanges=(0,w.T)(this._intl.changes,fe,Oe,ct).subscribe(()=>this._changeDetectorRef.markForCheck())}}return Gt.\u0275fac=function(fe){return new(fe||Gt)(s.Y36(ze),s.Y36(s.sBO),s.$8M("tabindex"))},Gt.\u0275cmp=s.Xpm({type:Gt,selectors:[["mat-datepicker-toggle"]],contentQueries:function(fe,Oe,ct){if(1&fe&&s.Suo(ct,it,5),2&fe){let Je;s.iGM(Je=s.CRH())&&(Oe._customIcon=Je.first)}},viewQuery:function(fe,Oe){if(1&fe&&s.Gf(n,5),2&fe){let ct;s.iGM(ct=s.CRH())&&(Oe._button=ct.first)}},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(fe,Oe){1&fe&&s.NdJ("click",function(Je){return Oe._open(Je)}),2&fe&&(s.uIk("tabindex",null)("data-mat-calendar",Oe.datepicker?Oe.datepicker.id:null),s.ekj("mat-datepicker-toggle-active",Oe.datepicker&&Oe.datepicker.opened)("mat-accent",Oe.datepicker&&"accent"===Oe.datepicker.color)("mat-warn",Oe.datepicker&&"warn"===Oe.datepicker.color))},inputs:{datepicker:["for","datepicker"],tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],disabled:"disabled",disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[s.TTD],ngContentSelectors:V,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(fe,Oe){1&fe&&(s.F$t(B),s.TgZ(0,"button",0,1),s.YNc(2,v,2,0,"svg",2),s.Hsn(3),s.qZA()),2&fe&&(s.Q6J("disabled",Oe.disabled)("disableRipple",Oe.disableRipple),s.uIk("aria-haspopup",Oe.datepicker?"dialog":null)("aria-label",Oe.ariaLabel||Oe._intl.openCalendarLabel)("tabindex",Oe.disabled?-1:Oe.tabIndex),s.xp6(2),s.Q6J("ngIf",!Oe._customIcon))},dependencies:[I.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}),Gt})(),$i=(()=>{class Gt{}return Gt.\u0275fac=function(fe){return new(fe||Gt)},Gt.\u0275mod=s.oAB({type:Gt}),Gt.\u0275inj=s.cJS({providers:[ze,ei],imports:[I.ez,C.ot,e.U8,t.rt,b.eL,P.BQ,h.ZD]}),Gt})()},5412:(Ue,q,p)=>{"use strict";p.d(q,{WI:()=>ye,Bq:()=>ce,uw:()=>te,ZT:()=>Ge,Is:()=>ut,so:()=>ze});var t=p(8184),e=p(6895),b=p(4650),I=p(4761),s=p(3353),C=p(4080),h=p(9521),P=p(7579),d=p(9770),S=p(9646),w=p(445),O=p(8675);function E(lt,St){}class R{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.ariaModal=!0,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.closeOnNavigation=!0,this.closeOnDestroy=!0}}let U=(()=>{class lt extends C.en{constructor(ke,He,wt,W,Fe,Ft,qe,Qe){super(),this._elementRef=ke,this._focusTrapFactory=He,this._config=W,this._interactivityChecker=Fe,this._ngZone=Ft,this._overlayRef=qe,this._focusMonitor=Qe,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=Ht=>{this._portalOutlet.hasAttached();const Et=this._portalOutlet.attachDomPortal(Ht);return this._contentAttached(),Et},this._ariaLabelledBy=this._config.ariaLabelledBy||null,this._document=wt}_contentAttached(){this._initializeFocusTrap(),this._handleBackdropClicks(),this._captureInitialFocus()}_captureInitialFocus(){this._trapFocus()}ngOnDestroy(){this._restoreFocus()}attachComponentPortal(ke){this._portalOutlet.hasAttached();const He=this._portalOutlet.attachComponentPortal(ke);return this._contentAttached(),He}attachTemplatePortal(ke){this._portalOutlet.hasAttached();const He=this._portalOutlet.attachTemplatePortal(ke);return this._contentAttached(),He}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(ke,He){this._interactivityChecker.isFocusable(ke)||(ke.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const wt=()=>{ke.removeEventListener("blur",wt),ke.removeEventListener("mousedown",wt),ke.removeAttribute("tabindex")};ke.addEventListener("blur",wt),ke.addEventListener("mousedown",wt)})),ke.focus(He)}_focusByCssSelector(ke,He){let wt=this._elementRef.nativeElement.querySelector(ke);wt&&this._forceFocus(wt,He)}_trapFocus(){const ke=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||ke.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(He=>{He||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 ke=this._config.restoreFocus;let He=null;if("string"==typeof ke?He=this._document.querySelector(ke):"boolean"==typeof ke?He=ke?this._elementFocusedBeforeDialogWasOpened:null:ke&&(He=ke),this._config.restoreFocus&&He&&"function"==typeof He.focus){const wt=(0,s.ht)(),W=this._elementRef.nativeElement;(!wt||wt===this._document.body||wt===W||W.contains(wt))&&(this._focusMonitor?(this._focusMonitor.focusVia(He,this._closeInteractionType),this._closeInteractionType=null):He.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const ke=this._elementRef.nativeElement,He=(0,s.ht)();return ke===He||ke.contains(He)}_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 lt.\u0275fac=function(ke){return new(ke||lt)(b.Y36(b.SBq),b.Y36(I.qV),b.Y36(e.K0,8),b.Y36(R),b.Y36(I.ic),b.Y36(b.R0b),b.Y36(t.Iu),b.Y36(I.tE))},lt.\u0275cmp=b.Xpm({type:lt,selectors:[["cdk-dialog-container"]],viewQuery:function(ke,He){if(1&ke&&b.Gf(C.Pl,7),2&ke){let wt;b.iGM(wt=b.CRH())&&(He._portalOutlet=wt.first)}},hostAttrs:["tabindex","-1",1,"cdk-dialog-container"],hostVars:6,hostBindings:function(ke,He){2&ke&&b.uIk("id",He._config.id||null)("role",He._config.role)("aria-modal",He._config.ariaModal)("aria-labelledby",He._config.ariaLabel?null:He._ariaLabelledBy)("aria-label",He._config.ariaLabel)("aria-describedby",He._config.ariaDescribedBy||null)},features:[b.qOj],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(ke,He){1&ke&&b.YNc(0,E,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}),lt})();class Y{constructor(St,ke){this.overlayRef=St,this.config=ke,this.closed=new P.x,this.disableClose=ke.disableClose,this.backdropClick=St.backdropClick(),this.keydownEvents=St.keydownEvents(),this.outsidePointerEvents=St.outsidePointerEvents(),this.id=ke.id,this.keydownEvents.subscribe(He=>{He.keyCode===h.hY&&!this.disableClose&&!(0,h.Vb)(He)&&(He.preventDefault(),this.close(void 0,{focusOrigin:"keyboard"}))}),this.backdropClick.subscribe(()=>{this.disableClose||this.close(void 0,{focusOrigin:"mouse"})})}close(St,ke){if(this.containerInstance){const He=this.closed;this.containerInstance._closeInteractionType=ke?.focusOrigin||"program",this.overlayRef.dispose(),He.next(St),He.complete(),this.componentInstance=this.containerInstance=null}}updatePosition(){return this.overlayRef.updatePosition(),this}updateSize(St="",ke=""){return this.overlayRef.updateSize({width:St,height:ke}),this}addPanelClass(St){return this.overlayRef.addPanelClass(St),this}removePanelClass(St){return this.overlayRef.removePanelClass(St),this}}const K=new b.OlP("DialogScrollStrategy"),$=new b.OlP("DialogData"),ie=new b.OlP("DefaultDialogConfig"),he={provide:K,deps:[t.aV],useFactory:function ue(lt){return()=>lt.scrollStrategies.block()}};let ne=0,le=(()=>{class lt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}constructor(ke,He,wt,W,Fe,Ft){this._overlay=ke,this._injector=He,this._defaultOptions=wt,this._parentDialog=W,this._overlayContainer=Fe,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,O.O)(void 0))),this._scrollStrategy=Ft}open(ke,He){(He={...this._defaultOptions||new R,...He}).id=He.id||"cdk-dialog-"+ne++,He.id&&this.getDialogById(He.id);const W=this._getOverlayConfig(He),Fe=this._overlay.create(W),Ft=new Y(Fe,He),qe=this._attachContainer(Fe,Ft,He);return Ft.containerInstance=qe,this._attachDialogContent(ke,Ft,qe,He),this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(Ft),Ft.closed.subscribe(()=>this._removeOpenDialog(Ft,!0)),this.afterOpened.next(Ft),Ft}closeAll(){ee(this.openDialogs,ke=>ke.close())}getDialogById(ke){return this.openDialogs.find(He=>He.id===ke)}ngOnDestroy(){ee(this._openDialogsAtThisLevel,ke=>{!1===ke.config.closeOnDestroy&&this._removeOpenDialog(ke,!1)}),ee(this._openDialogsAtThisLevel,ke=>ke.close()),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete(),this._openDialogsAtThisLevel=[]}_getOverlayConfig(ke){const He=new t.X_({positionStrategy:ke.positionStrategy||this._overlay.position().global().centerHorizontally().centerVertically(),scrollStrategy:ke.scrollStrategy||this._scrollStrategy(),panelClass:ke.panelClass,hasBackdrop:ke.hasBackdrop,direction:ke.direction,minWidth:ke.minWidth,minHeight:ke.minHeight,maxWidth:ke.maxWidth,maxHeight:ke.maxHeight,width:ke.width,height:ke.height,disposeOnNavigation:ke.closeOnNavigation});return ke.backdropClass&&(He.backdropClass=ke.backdropClass),He}_attachContainer(ke,He,wt){const W=wt.injector||wt.viewContainerRef?.injector,Fe=[{provide:R,useValue:wt},{provide:Y,useValue:He},{provide:t.Iu,useValue:ke}];let Ft;wt.container?"function"==typeof wt.container?Ft=wt.container:(Ft=wt.container.type,Fe.push(...wt.container.providers(wt))):Ft=U;const qe=new C.C5(Ft,wt.viewContainerRef,b.zs3.create({parent:W||this._injector,providers:Fe}),wt.componentFactoryResolver);return ke.attach(qe).instance}_attachDialogContent(ke,He,wt,W){if(ke instanceof b.Rgc){const Fe=this._createInjector(W,He,wt,void 0);let Ft={$implicit:W.data,dialogRef:He};W.templateContext&&(Ft={...Ft,..."function"==typeof W.templateContext?W.templateContext():W.templateContext}),wt.attachTemplatePortal(new C.UE(ke,null,Ft,Fe))}else{const Fe=this._createInjector(W,He,wt,this._injector),Ft=wt.attachComponentPortal(new C.C5(ke,W.viewContainerRef,Fe,W.componentFactoryResolver));He.componentInstance=Ft.instance}}_createInjector(ke,He,wt,W){const Fe=ke.injector||ke.viewContainerRef?.injector,Ft=[{provide:$,useValue:ke.data},{provide:Y,useValue:He}];return ke.providers&&("function"==typeof ke.providers?Ft.push(...ke.providers(He,ke,wt)):Ft.push(...ke.providers)),ke.direction&&(!Fe||!Fe.get(w.Is,null,{optional:!0}))&&Ft.push({provide:w.Is,useValue:{value:ke.direction,change:(0,S.of)()}}),b.zs3.create({parent:Fe||W,providers:Ft})}_removeOpenDialog(ke,He){const wt=this.openDialogs.indexOf(ke);wt>-1&&(this.openDialogs.splice(wt,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((W,Fe)=>{W?Fe.setAttribute("aria-hidden",W):Fe.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),He&&this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const ke=this._overlayContainer.getContainerElement();if(ke.parentElement){const He=ke.parentElement.children;for(let wt=He.length-1;wt>-1;wt--){const W=He[wt];W!==ke&&"SCRIPT"!==W.nodeName&&"STYLE"!==W.nodeName&&!W.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(W,W.getAttribute("aria-hidden")),W.setAttribute("aria-hidden","true"))}}}_getAfterAllClosed(){const ke=this._parentDialog;return ke?ke._getAfterAllClosed():this._afterAllClosedAtThisLevel}}return lt.\u0275fac=function(ke){return new(ke||lt)(b.LFG(t.aV),b.LFG(b.zs3),b.LFG(ie,8),b.LFG(lt,12),b.LFG(t.Xj),b.LFG(K))},lt.\u0275prov=b.Yz7({token:lt,factory:lt.\u0275fac}),lt})();function ee(lt,St){let ke=lt.length;for(;ke--;)St(lt[ke])}let me=(()=>{class lt{}return lt.\u0275fac=function(ke){return new(ke||lt)},lt.\u0275mod=b.oAB({type:lt}),lt.\u0275inj=b.cJS({providers:[le,he],imports:[t.U8,C.eL,I.rt,C.eL]}),lt})();var A=p(1281),i=p(6451),a=p(9300),u=p(5698),l=p(3238);function T(lt,St){}p(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 m="mdc-dialog--open",n="mdc-dialog--opening",v="mdc-dialog--closing";let X=(()=>{class lt extends U{constructor(ke,He,wt,W,Fe,Ft,qe,Qe){super(ke,He,wt,W,Fe,Ft,qe,Qe),this._animationStateChanged=new b.vpe}_captureInitialFocus(){this._config.delayFocusTrap||this._trapFocus()}_openAnimationDone(ke){this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:ke})}}return lt.\u0275fac=function(ke){return new(ke||lt)(b.Y36(b.SBq),b.Y36(I.qV),b.Y36(e.K0,8),b.Y36(D),b.Y36(I.ic),b.Y36(b.R0b),b.Y36(t.Iu),b.Y36(I.tE))},lt.\u0275cmp=b.Xpm({type:lt,selectors:[["ng-component"]],features:[b.qOj],decls:0,vars:0,template:function(ke,He){},encapsulation:2}),lt})();const De="--mat-dialog-transition-duration";function tt(lt){return null==lt?null:"number"==typeof lt?lt:lt.endsWith("ms")?(0,A.su)(lt.substring(0,lt.length-2)):lt.endsWith("s")?1e3*(0,A.su)(lt.substring(0,lt.length-1)):"0"===lt?0:null}let je=(()=>{class lt extends X{constructor(ke,He,wt,W,Fe,Ft,qe,Qe,Ht){super(ke,He,wt,W,Fe,Ft,qe,Ht),this._animationMode=Qe,this._animationsEnabled="NoopAnimations"!==this._animationMode,this._hostElement=this._elementRef.nativeElement,this._openAnimationDuration=this._animationsEnabled?tt(this._config.enterAnimationDuration)??150:0,this._closeAnimationDuration=this._animationsEnabled?tt(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(De,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(n),this._hostElement.classList.add(m),this._waitForAnimationToComplete(this._openAnimationDuration,this._finishDialogOpen)):(this._hostElement.classList.add(m),Promise.resolve().then(()=>this._finishDialogOpen()))}_startExitAnimation(){this._animationStateChanged.emit({state:"closing",totalTime:this._closeAnimationDuration}),this._hostElement.classList.remove(m),this._animationsEnabled?(this._hostElement.style.setProperty(De,`${this._openAnimationDuration}ms`),this._hostElement.classList.add(v),this._waitForAnimationToComplete(this._closeAnimationDuration,this._finishDialogClose)):Promise.resolve().then(()=>this._finishDialogClose())}_clearAnimationClasses(){this._hostElement.classList.remove(n),this._hostElement.classList.remove(v)}_waitForAnimationToComplete(ke,He){null!==this._animationTimer&&clearTimeout(this._animationTimer),this._animationTimer=setTimeout(He,ke)}}return lt.\u0275fac=function(ke){return new(ke||lt)(b.Y36(b.SBq),b.Y36(I.qV),b.Y36(e.K0,8),b.Y36(D),b.Y36(I.ic),b.Y36(b.R0b),b.Y36(t.Iu),b.Y36(b.QbO,8),b.Y36(I.tE))},lt.\u0275cmp=b.Xpm({type:lt,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1",1,"mat-mdc-dialog-container","mdc-dialog"],hostVars:8,hostBindings:function(ke,He){2&ke&&(b.Ikx("id",He._config.id),b.uIk("aria-modal",He._config.ariaModal)("role",He._config.role)("aria-labelledby",He._config.ariaLabel?null:He._ariaLabelledBy)("aria-label",He._config.ariaLabel)("aria-describedby",He._config.ariaDescribedBy||null),b.ekj("_mat-animation-noopable",!He._animationsEnabled))},features:[b.qOj],decls:3,vars:0,consts:[[1,"mdc-dialog__container"],[1,"mat-mdc-dialog-surface","mdc-dialog__surface"],["cdkPortalOutlet",""]],template:function(ke,He){1&ke&&(b.TgZ(0,"div",0)(1,"div",1),b.YNc(2,T,0,0,"ng-template",2),b.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}),lt})();class ze{constructor(St,ke,He){this._ref=St,this._containerInstance=He,this._afterOpened=new P.x,this._beforeClosed=new P.x,this._state=0,this.disableClose=ke.disableClose,this.id=St.id,He._animationStateChanged.pipe((0,a.h)(wt=>"opened"===wt.state),(0,u.q)(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),He._animationStateChanged.pipe((0,a.h)(wt=>"closed"===wt.state),(0,u.q)(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),St.overlayRef.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._finishDialogClose()}),(0,i.T)(this.backdropClick(),this.keydownEvents().pipe((0,a.h)(wt=>wt.keyCode===h.hY&&!this.disableClose&&!(0,h.Vb)(wt)))).subscribe(wt=>{this.disableClose||(wt.preventDefault(),Le(this,"keydown"===wt.type?"keyboard":"mouse"))})}close(St){this._result=St,this._containerInstance._animationStateChanged.pipe((0,a.h)(ke=>"closing"===ke.state),(0,u.q)(1)).subscribe(ke=>{this._beforeClosed.next(St),this._beforeClosed.complete(),this._ref.overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),ke.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(St){let ke=this._ref.config.positionStrategy;return St&&(St.left||St.right)?St.left?ke.left(St.left):ke.right(St.right):ke.centerHorizontally(),St&&(St.top||St.bottom)?St.top?ke.top(St.top):ke.bottom(St.bottom):ke.centerVertically(),this._ref.updatePosition(),this}updateSize(St="",ke=""){return this._ref.updateSize(St,ke),this}addPanelClass(St){return this._ref.addPanelClass(St),this}removePanelClass(St){return this._ref.removePanelClass(St),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._ref.close(this._result,{focusOrigin:this._closeInteractionType}),this.componentInstance=null}}function Le(lt,St,ke){return lt._closeInteractionType=St,lt.close(ke)}const ye=new b.OlP("MatMdcDialogData"),ce=new b.OlP("mat-mdc-dialog-default-options"),ve=new b.OlP("mat-mdc-dialog-scroll-strategy"),Ke={provide:ve,deps:[t.aV],useFactory:function oe(lt){return()=>lt.scrollStrategies.block()}};let de=0,Ce=(()=>{class lt{get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const ke=this._parentDialog;return ke?ke._getAfterAllClosed():this._afterAllClosedAtThisLevel}constructor(ke,He,wt,W,Fe,Ft,qe,Qe,Ht,Et){this._overlay=ke,this._defaultOptions=wt,this._parentDialog=W,this._dialogRefConstructor=qe,this._dialogContainerType=Qe,this._dialogDataToken=Ht,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,O.O)(void 0))),this._scrollStrategy=Ft,this._dialog=He.get(le)}open(ke,He){let wt;(He={...this._defaultOptions||new D,...He}).id=He.id||`${this._idPrefix}${de++}`,He.scrollStrategy=He.scrollStrategy||this._scrollStrategy();const W=this._dialog.open(ke,{...He,positionStrategy:this._overlay.position().global().centerHorizontally().centerVertically(),disableClose:!0,closeOnDestroy:!1,container:{type:this._dialogContainerType,providers:()=>[{provide:this.dialogConfigClass,useValue:He},{provide:R,useValue:He}]},templateContext:()=>({dialogRef:wt}),providers:(Fe,Ft,qe)=>(wt=new this._dialogRefConstructor(Fe,He,qe),wt.updatePosition(He?.position),[{provide:this._dialogContainerType,useValue:qe},{provide:this._dialogDataToken,useValue:Ft.data},{provide:this._dialogRefConstructor,useValue:wt}])});return wt.componentInstance=W.componentInstance,this.openDialogs.push(wt),this.afterOpened.next(wt),wt.afterClosed().subscribe(()=>{const Fe=this.openDialogs.indexOf(wt);Fe>-1&&(this.openDialogs.splice(Fe,1),this.openDialogs.length||this._getAfterAllClosed().next())}),wt}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(ke){return this.openDialogs.find(He=>He.id===ke)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_closeDialogs(ke){let He=ke.length;for(;He--;)ke[He].close()}}return lt.\u0275fac=function(ke){b.$Z()},lt.\u0275prov=b.Yz7({token:lt,factory:lt.\u0275fac}),lt})(),te=(()=>{class lt extends Ce{constructor(ke,He,wt,W,Fe,Ft,qe,Qe){super(ke,He,W,Ft,qe,Fe,ze,je,ye,Qe),this._idPrefix="mat-mdc-dialog-"}}return lt.\u0275fac=function(ke){return new(ke||lt)(b.LFG(t.aV),b.LFG(b.zs3),b.LFG(e.Ye,8),b.LFG(ce,8),b.LFG(ve),b.LFG(lt,12),b.LFG(t.Xj),b.LFG(b.QbO,8))},lt.\u0275prov=b.Yz7({token:lt,factory:lt.\u0275fac}),lt})(),Ge=(()=>{class lt{constructor(ke,He,wt){this.dialogRef=ke,this._elementRef=He,this._dialog=wt,this.type="button"}ngOnInit(){this.dialogRef||(this.dialogRef=function $e(lt,St){let ke=lt.nativeElement.parentElement;for(;ke&&!ke.classList.contains("mat-mdc-dialog-container");)ke=ke.parentElement;return ke?St.find(He=>He.id===ke.id):null}(this._elementRef,this._dialog.openDialogs))}ngOnChanges(ke){const He=ke._matDialogClose||ke._matDialogCloseResult;He&&(this.dialogResult=He.currentValue)}_onButtonClick(ke){Le(this.dialogRef,0===ke.screenX&&0===ke.screenY?"keyboard":"mouse",this.dialogResult)}}return lt.\u0275fac=function(ke){return new(ke||lt)(b.Y36(ze,8),b.Y36(b.SBq),b.Y36(te))},lt.\u0275dir=b.lG2({type:lt,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(ke,He){1&ke&&b.NdJ("click",function(W){return He._onButtonClick(W)}),2&ke&&b.uIk("aria-label",He.ariaLabel||null)("type",He.type)},inputs:{ariaLabel:["aria-label","ariaLabel"],type:"type",dialogResult:["mat-dialog-close","dialogResult"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[b.TTD]}),lt})(),ut=(()=>{class lt{}return lt.\u0275fac=function(ke){return new(ke||lt)},lt.\u0275mod=b.oAB({type:lt}),lt.\u0275inj=b.cJS({providers:[te,Ke],imports:[me,t.U8,C.eL,l.BQ,l.BQ]}),lt})()},4850:(Ue,q,p)=>{"use strict";p.d(q,{d:()=>I,t:()=>s});var t=p(4650),e=p(1281),b=p(3238);let I=(()=>{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:[b.BQ,b.BQ]}),C})()},752:(Ue,q,p)=>{"use strict";p.d(q,{pp:()=>Le,To:()=>ye,ib:()=>B,u4:()=>je,yz:()=>tt,yK:()=>ze});var t=p(4650),e=p(5017),b=p(1281),I=p(7579),s=p(727);let C=0;const h=new t.OlP("CdkAccordion");let P=(()=>{class ce{constructor(){this._stateChanges=new I.x,this._openCloseAllActions=new I.x,this.id="cdk-accordion-"+C++,this._multi=!1}get multi(){return this._multi}set multi(oe){this._multi=(0,b.Ig)(oe)}openAll(){this._multi&&this._openCloseAllActions.next(!0)}closeAll(){this._openCloseAllActions.next(!1)}ngOnChanges(oe){this._stateChanges.next(oe)}ngOnDestroy(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}return ce.\u0275fac=function(oe){return new(oe||ce)},ce.\u0275dir=t.lG2({type:ce,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[t._Bn([{provide:h,useExisting:ce}]),t.TTD]}),ce})(),d=0,S=(()=>{class ce{get expanded(){return this._expanded}set expanded(oe){oe=(0,b.Ig)(oe),this._expanded!==oe&&(this._expanded=oe,this.expandedChange.emit(oe),oe?(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(oe){this._disabled=(0,b.Ig)(oe)}constructor(oe,Ke,Ae){this.accordion=oe,this._changeDetectorRef=Ke,this._expansionDispatcher=Ae,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=Ae.listen((de,Ce)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===Ce&&this.id!==de&&(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(oe=>{this.disabled||(this.expanded=oe)})}}return ce.\u0275fac=function(oe){return new(oe||ce)(t.Y36(h,12),t.Y36(t.sBO),t.Y36(e.A8))},ce.\u0275dir=t.lG2({type:ce,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}])]}),ce})(),w=(()=>{class ce{}return ce.\u0275fac=function(oe){return new(oe||ce)},ce.\u0275mod=t.oAB({type:ce}),ce.\u0275inj=t.cJS({}),ce})();var O=p(4080),E=p(6895),R=p(3238),z=p(4761),U=p(1884),Y=p(8675),K=p(9300),$=p(5698),ie=p(9521),ue=p(515),he=p(6451),ne=p(7340);const le=["body"];function ee(ce,ve){}const me=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],A=["mat-expansion-panel-header","*","mat-action-row"];function i(ce,ve){if(1&ce&&t._UZ(0,"span",2),2&ce){const oe=t.oxw();t.Q6J("@indicatorRotate",oe._getExpandedState())}}const a=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],u=["mat-panel-title","mat-panel-description","*"],l=new t.OlP("MAT_ACCORDION"),y="225ms cubic-bezier(0.4,0.0,0.2,1)",T={indicatorRotate:(0,ne.X$)("indicatorRotate",[(0,ne.SB)("collapsed, void",(0,ne.oB)({transform:"rotate(0deg)"})),(0,ne.SB)("expanded",(0,ne.oB)({transform:"rotate(180deg)"})),(0,ne.eR)("expanded <=> collapsed, void => collapsed",(0,ne.jt)(y))]),bodyExpansion:(0,ne.X$)("bodyExpansion",[(0,ne.SB)("collapsed, void",(0,ne.oB)({height:"0px",visibility:"hidden"})),(0,ne.SB)("expanded",(0,ne.oB)({height:"*",visibility:"visible"})),(0,ne.eR)("expanded <=> collapsed, void => collapsed",(0,ne.jt)(y))])},D=new t.OlP("MAT_EXPANSION_PANEL");let m=(()=>{class ce{constructor(oe,Ke){this._template=oe,this._expansionPanel=Ke}}return ce.\u0275fac=function(oe){return new(oe||ce)(t.Y36(t.Rgc),t.Y36(D,8))},ce.\u0275dir=t.lG2({type:ce,selectors:[["ng-template","matExpansionPanelContent",""]]}),ce})(),n=0;const v=new t.OlP("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS");let B=(()=>{class ce extends S{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(oe){this._hideToggle=(0,b.Ig)(oe)}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(oe){this._togglePosition=oe}constructor(oe,Ke,Ae,de,Ce,te,Ze){super(oe,Ke,Ae),this._viewContainerRef=de,this._animationMode=te,this._hideToggle=!1,this.afterExpand=new t.vpe,this.afterCollapse=new t.vpe,this._inputChanges=new I.x,this._headerId="mat-expansion-panel-header-"+n++,this._bodyAnimationDone=new I.x,this.accordion=oe,this._document=Ce,this._bodyAnimationDone.pipe((0,U.x)((Ge,ae)=>Ge.fromState===ae.fromState&&Ge.toState===ae.toState)).subscribe(Ge=>{"void"!==Ge.fromState&&("expanded"===Ge.toState?this.afterExpand.emit():"collapsed"===Ge.toState&&this.afterCollapse.emit())}),Ze&&(this.hideToggle=Ze.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,Y.O)(null),(0,K.h)(()=>this.expanded&&!this._portal),(0,$.q)(1)).subscribe(()=>{this._portal=new O.UE(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(oe){this._inputChanges.next(oe)}ngOnDestroy(){super.ngOnDestroy(),this._bodyAnimationDone.complete(),this._inputChanges.complete()}_containsFocus(){if(this._body){const oe=this._document.activeElement,Ke=this._body.nativeElement;return oe===Ke||Ke.contains(oe)}return!1}}return ce.\u0275fac=function(oe){return new(oe||ce)(t.Y36(l,12),t.Y36(t.sBO),t.Y36(e.A8),t.Y36(t.s_b),t.Y36(E.K0),t.Y36(t.QbO,8),t.Y36(v,8))},ce.\u0275cmp=t.Xpm({type:ce,selectors:[["mat-expansion-panel"]],contentQueries:function(oe,Ke,Ae){if(1&oe&&t.Suo(Ae,m,5),2&oe){let de;t.iGM(de=t.CRH())&&(Ke._lazyContent=de.first)}},viewQuery:function(oe,Ke){if(1&oe&&t.Gf(le,5),2&oe){let Ae;t.iGM(Ae=t.CRH())&&(Ke._body=Ae.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(oe,Ke){2&oe&&t.ekj("mat-expanded",Ke.expanded)("_mat-animation-noopable","NoopAnimations"===Ke._animationMode)("mat-expansion-panel-spacing",Ke._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[t._Bn([{provide:l,useValue:void 0},{provide:D,useExisting:ce}]),t.qOj,t.TTD],ngContentSelectors:A,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(oe,Ke){1&oe&&(t.F$t(me),t.Hsn(0),t.TgZ(1,"div",0,1),t.NdJ("@bodyExpansion.done",function(de){return Ke._bodyAnimationDone.next(de)}),t.TgZ(3,"div",2),t.Hsn(4,1),t.YNc(5,ee,0,0,"ng-template",3),t.qZA(),t.Hsn(6,2),t.qZA()),2&oe&&(t.xp6(1),t.Q6J("@bodyExpansion",Ke._getExpandedState())("id",Ke.id),t.uIk("aria-labelledby",Ke._headerId),t.xp6(4),t.Q6J("cdkPortalOutlet",Ke._portal))},dependencies:[O.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:[T.bodyExpansion]},changeDetection:0}),ce})();class X{}const De=(0,R.sb)(X);let tt=(()=>{class ce extends De{constructor(oe,Ke,Ae,de,Ce,te,Ze){super(),this.panel=oe,this._element=Ke,this._focusMonitor=Ae,this._changeDetectorRef=de,this._animationMode=te,this._parentChangeSubscription=s.w0.EMPTY;const Ge=oe.accordion?oe.accordion._stateChanges.pipe((0,K.h)(ae=>!(!ae.hideToggle&&!ae.togglePosition))):ue.E;this.tabIndex=parseInt(Ze||"")||0,this._parentChangeSubscription=(0,he.T)(oe.opened,oe.closed,Ge,oe._inputChanges.pipe((0,K.h)(ae=>!!(ae.hideToggle||ae.disabled||ae.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),oe.closed.pipe((0,K.h)(()=>oe._containsFocus())).subscribe(()=>Ae.focusVia(Ke,"program")),Ce&&(this.expandedHeight=Ce.expandedHeight,this.collapsedHeight=Ce.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 oe=this._isExpanded();return oe&&this.expandedHeight?this.expandedHeight:!oe&&this.collapsedHeight?this.collapsedHeight:null}_keydown(oe){switch(oe.keyCode){case ie.L_:case ie.K5:(0,ie.Vb)(oe)||(oe.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(oe))}}focus(oe,Ke){oe?this._focusMonitor.focusVia(this._element,oe,Ke):this._element.nativeElement.focus(Ke)}ngAfterViewInit(){this._focusMonitor.monitor(this._element).subscribe(oe=>{oe&&this.panel.accordion&&this.panel.accordion._handleHeaderFocus(this)})}ngOnDestroy(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}return ce.\u0275fac=function(oe){return new(oe||ce)(t.Y36(B,1),t.Y36(t.SBq),t.Y36(z.tE),t.Y36(t.sBO),t.Y36(v,8),t.Y36(t.QbO,8),t.$8M("tabindex"))},ce.\u0275cmp=t.Xpm({type:ce,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(oe,Ke){1&oe&&t.NdJ("click",function(){return Ke._toggle()})("keydown",function(de){return Ke._keydown(de)}),2&oe&&(t.uIk("id",Ke.panel._headerId)("tabindex",Ke.tabIndex)("aria-controls",Ke._getPanelId())("aria-expanded",Ke._isExpanded())("aria-disabled",Ke.panel.disabled),t.Udp("height",Ke._getHeaderHeight()),t.ekj("mat-expanded",Ke._isExpanded())("mat-expansion-toggle-indicator-after","after"===Ke._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===Ke._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===Ke._animationMode))},inputs:{tabIndex:"tabIndex",expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},features:[t.qOj],ngContentSelectors:u,decls:5,vars:3,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(oe,Ke){1&oe&&(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&oe&&(t.ekj("mat-content-hide-toggle",!Ke._showToggle()),t.xp6(4),t.Q6J("ngIf",Ke._showToggle()))},dependencies:[E.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:[T.indicatorRotate]},changeDetection:0}),ce})(),je=(()=>{class ce{}return ce.\u0275fac=function(oe){return new(oe||ce)},ce.\u0275dir=t.lG2({type:ce,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),ce})(),ze=(()=>{class ce{}return ce.\u0275fac=function(oe){return new(oe||ce)},ce.\u0275dir=t.lG2({type:ce,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),ce})(),Le=(()=>{class ce 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(oe){this._hideToggle=(0,b.Ig)(oe)}ngAfterContentInit(){this._headers.changes.pipe((0,Y.O)(this._headers)).subscribe(oe=>{this._ownHeaders.reset(oe.filter(Ke=>Ke.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new z.Em(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(oe){this._keyManager.onKeydown(oe)}_handleHeaderFocus(oe){this._keyManager.updateActiveItem(oe)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}}return ce.\u0275fac=function(){let ve;return function(Ke){return(ve||(ve=t.n5z(ce)))(Ke||ce)}}(),ce.\u0275dir=t.lG2({type:ce,selectors:[["mat-accordion"]],contentQueries:function(oe,Ke,Ae){if(1&oe&&t.Suo(Ae,tt,5),2&oe){let de;t.iGM(de=t.CRH())&&(Ke._headers=de)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(oe,Ke){2&oe&&t.ekj("mat-accordion-multi",Ke.multi)},inputs:{multi:"multi",hideToggle:"hideToggle",displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],features:[t._Bn([{provide:l,useExisting:ce}]),t.qOj]}),ce})(),ye=(()=>{class ce{}return ce.\u0275fac=function(oe){return new(oe||ce)},ce.\u0275mod=t.oAB({type:ce}),ce.\u0275inj=t.cJS({imports:[E.ez,R.BQ,w,O.eL]}),ce})()},9549:(Ue,q,p)=>{"use strict";p.d(q,{Eo:()=>Ce,G_:()=>ae,KE:()=>lt,R9:()=>Le,TO:()=>V,bx:()=>De,hX:()=>n,lN:()=>St});var t=p(4650),e=p(445),b=p(3353),I=p(7579),s=p(6451),C=p(2722),h=p(6895),P=p(1281),d=p(7340),S=p(9643),w=p(3238);const O=["matFormFieldNotchedOutline",""],E=["*"],R=["textField"],z=["iconPrefixContainer"],U=["textPrefixContainer"];function Y(ke,He){1&ke&&t._UZ(0,"span",19)}function K(ke,He){if(1&ke){const wt=t.EpF();t.TgZ(0,"label",17),t.NdJ("cdkObserveContent",function(){t.CHM(wt);const Fe=t.oxw(2);return t.KtG(Fe._refreshOutlineNotchWidth())}),t.Hsn(1,1),t.YNc(2,Y,1,0,"span",18),t.qZA()}if(2&ke){const wt=t.oxw(2);t.Q6J("floating",wt._shouldLabelFloat())("cdkObserveContentDisabled",!wt._hasOutline())("id",wt._labelId),t.uIk("for",wt._control.id)("aria-owns",wt._control.id),t.xp6(2),t.Q6J("ngIf",!wt.hideRequiredMarker&&wt._control.required)}}function $(ke,He){if(1&ke&&t.YNc(0,K,3,6,"label",16),2&ke){const wt=t.oxw();t.Q6J("ngIf",wt._hasFloatingLabel())}}function ie(ke,He){1&ke&&t._UZ(0,"div",20)}function ue(ke,He){}function he(ke,He){if(1&ke&&t.YNc(0,ue,0,0,"ng-template",22),2&ke){t.oxw(2);const wt=t.MAs(1);t.Q6J("ngTemplateOutlet",wt)}}function ne(ke,He){if(1&ke&&(t.TgZ(0,"div",21),t.YNc(1,he,1,1,"ng-template",9),t.qZA()),2&ke){const wt=t.oxw();t.Q6J("matFormFieldNotchedOutlineOpen",wt._shouldLabelFloat())("matFormFieldNotchedOutlineLabelWidth",wt._labelWidth),t.xp6(1),t.Q6J("ngIf",!wt._forceDisplayInfixLabel())}}function le(ke,He){1&ke&&(t.TgZ(0,"div",23,24),t.Hsn(2,2),t.qZA())}function ee(ke,He){1&ke&&(t.TgZ(0,"div",25,26),t.Hsn(2,3),t.qZA())}function me(ke,He){}function A(ke,He){if(1&ke&&t.YNc(0,me,0,0,"ng-template",22),2&ke){t.oxw();const wt=t.MAs(1);t.Q6J("ngTemplateOutlet",wt)}}function i(ke,He){1&ke&&(t.TgZ(0,"div",27),t.Hsn(1,4),t.qZA())}function a(ke,He){1&ke&&(t.TgZ(0,"div",28),t.Hsn(1,5),t.qZA())}function u(ke,He){1&ke&&t._UZ(0,"div",29)}function l(ke,He){if(1&ke&&(t.TgZ(0,"div",30),t.Hsn(1,6),t.qZA()),2&ke){const wt=t.oxw();t.Q6J("@transitionMessages",wt._subscriptAnimationState)}}function y(ke,He){if(1&ke&&(t.TgZ(0,"mat-hint",34),t._uU(1),t.qZA()),2&ke){const wt=t.oxw(2);t.Q6J("id",wt._hintLabelId),t.xp6(1),t.Oqu(wt.hintLabel)}}function T(ke,He){if(1&ke&&(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&ke){const wt=t.oxw();t.Q6J("@transitionMessages",wt._subscriptAnimationState),t.xp6(1),t.Q6J("ngIf",wt.hintLabel)}}const D=["*",[["mat-label"]],[["","matPrefix",""],["","matIconPrefix",""]],[["","matTextPrefix",""]],[["","matTextSuffix",""]],[["","matSuffix",""],["","matIconSuffix",""]],[["mat-error"],["","matError",""]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],m=["*","mat-label","[matPrefix], [matIconPrefix]","[matTextPrefix]","[matTextSuffix]","[matSuffix], [matIconSuffix]","mat-error, [matError]","mat-hint:not([align='end'])","mat-hint[align='end']"];let n=(()=>{class ke{}return ke.\u0275fac=function(wt){return new(wt||ke)},ke.\u0275dir=t.lG2({type:ke,selectors:[["mat-label"]]}),ke})(),v=0;const B=new t.OlP("MatError");let V=(()=>{class ke{constructor(wt,W){this.id="mat-mdc-error-"+v++,wt||W.nativeElement.setAttribute("aria-live","polite")}}return ke.\u0275fac=function(wt){return new(wt||ke)(t.$8M("aria-live"),t.Y36(t.SBq))},ke.\u0275dir=t.lG2({type:ke,selectors:[["mat-error"],["","matError",""]],hostAttrs:["aria-atomic","true",1,"mat-mdc-form-field-error","mat-mdc-form-field-bottom-align"],hostVars:1,hostBindings:function(wt,W){2&wt&&t.Ikx("id",W.id)},inputs:{id:"id"},features:[t._Bn([{provide:B,useExisting:ke}])]}),ke})(),X=0,De=(()=>{class ke{constructor(){this.align="start",this.id="mat-mdc-hint-"+X++}}return ke.\u0275fac=function(wt){return new(wt||ke)},ke.\u0275dir=t.lG2({type:ke,selectors:[["mat-hint"]],hostAttrs:[1,"mat-mdc-form-field-hint","mat-mdc-form-field-bottom-align"],hostVars:4,hostBindings:function(wt,W){2&wt&&(t.Ikx("id",W.id),t.uIk("align",null),t.ekj("mat-mdc-form-field-hint-end","end"===W.align))},inputs:{align:"align",id:"id"}}),ke})();const tt=new t.OlP("MatPrefix"),ze=new t.OlP("MatSuffix");let Le=(()=>{class ke{constructor(){this._isText=!1}set _isTextSelector(wt){this._isText=!0}}return ke.\u0275fac=function(wt){return new(wt||ke)},ke.\u0275dir=t.lG2({type:ke,selectors:[["","matSuffix",""],["","matIconSuffix",""],["","matTextSuffix",""]],inputs:{_isTextSelector:["matTextSuffix","_isTextSelector"]},features:[t._Bn([{provide:ze,useExisting:ke}])]}),ke})(),ye=(()=>{class ke{constructor(wt){this._elementRef=wt,this.floating=!1}getWidth(){return function ce(ke){if(null!==ke.offsetParent)return ke.scrollWidth;const wt=ke.cloneNode(!0);wt.style.setProperty("position","absolute"),wt.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(wt);const W=wt.scrollWidth;return wt.remove(),W}(this._elementRef.nativeElement)}get element(){return this._elementRef.nativeElement}}return ke.\u0275fac=function(wt){return new(wt||ke)(t.Y36(t.SBq))},ke.\u0275dir=t.lG2({type:ke,selectors:[["label","matFormFieldFloatingLabel",""]],hostAttrs:[1,"mdc-floating-label","mat-mdc-floating-label"],hostVars:2,hostBindings:function(wt,W){2&wt&&t.ekj("mdc-floating-label--float-above",W.floating)},inputs:{floating:"floating"}}),ke})();const ve="mdc-line-ripple--active",oe="mdc-line-ripple--deactivating";let Ke=(()=>{class ke{constructor(wt,W){this._elementRef=wt,this._handleTransitionEnd=Fe=>{const Ft=this._elementRef.nativeElement.classList,qe=Ft.contains(oe);"opacity"===Fe.propertyName&&qe&&Ft.remove(ve,oe)},W.runOutsideAngular(()=>{wt.nativeElement.addEventListener("transitionend",this._handleTransitionEnd)})}activate(){const wt=this._elementRef.nativeElement.classList;wt.remove(oe),wt.add(ve)}deactivate(){this._elementRef.nativeElement.classList.add(oe)}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._handleTransitionEnd)}}return ke.\u0275fac=function(wt){return new(wt||ke)(t.Y36(t.SBq),t.Y36(t.R0b))},ke.\u0275dir=t.lG2({type:ke,selectors:[["div","matFormFieldLineRipple",""]],hostAttrs:[1,"mdc-line-ripple"]}),ke})(),Ae=(()=>{class ke{constructor(wt,W){this._elementRef=wt,this._ngZone=W,this.labelWidth=0,this.open=!1}ngAfterViewInit(){const wt=this._elementRef.nativeElement.querySelector(".mdc-floating-label");wt?(this._elementRef.nativeElement.classList.add("mdc-notched-outline--upgraded"),"function"==typeof requestAnimationFrame&&(wt.style.transitionDuration="0s",this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>wt.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 ke.\u0275fac=function(wt){return new(wt||ke)(t.Y36(t.SBq),t.Y36(t.R0b))},ke.\u0275cmp=t.Xpm({type:ke,selectors:[["div","matFormFieldNotchedOutline",""]],hostAttrs:[1,"mdc-notched-outline"],hostVars:2,hostBindings:function(wt,W){2&wt&&t.ekj("mdc-notched-outline--notched",W.open)},inputs:{labelWidth:["matFormFieldNotchedOutlineLabelWidth","labelWidth"],open:["matFormFieldNotchedOutlineOpen","open"]},attrs:O,ngContentSelectors:E,decls:4,vars:2,consts:[[1,"mdc-notched-outline__leading"],[1,"mdc-notched-outline__notch"],[1,"mdc-notched-outline__trailing"]],template:function(wt,W){1&wt&&(t.F$t(),t._UZ(0,"div",0),t.TgZ(1,"div",1),t.Hsn(2),t.qZA(),t._UZ(3,"div",2)),2&wt&&(t.xp6(1),t.Udp("width",W._getNotchWidth()))},encapsulation:2,changeDetection:0}),ke})();const de={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 Ce=(()=>{class ke{}return ke.\u0275fac=function(wt){return new(wt||ke)},ke.\u0275dir=t.lG2({type:ke}),ke})();const ae=new t.OlP("MatFormField"),ge=new t.OlP("MAT_FORM_FIELD_DEFAULT_OPTIONS");let pt=0,lt=(()=>{class ke{get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(wt){this._hideRequiredMarker=(0,P.Ig)(wt)}get floatLabel(){return this._floatLabel||this._defaults?.floatLabel||"auto"}set floatLabel(wt){wt!==this._floatLabel&&(this._floatLabel=wt,this._changeDetectorRef.markForCheck())}get appearance(){return this._appearance}set appearance(wt){const W=this._appearance;this._appearance=wt||this._defaults?.appearance||"fill","outline"===this._appearance&&this._appearance!==W&&(this._refreshOutlineNotchWidth(),this._needsOutlineLabelOffsetUpdateOnStable=!0)}get subscriptSizing(){return this._subscriptSizing||this._defaults?.subscriptSizing||"fixed"}set subscriptSizing(wt){this._subscriptSizing=wt||this._defaults?.subscriptSizing||"fixed"}get hintLabel(){return this._hintLabel}set hintLabel(wt){this._hintLabel=wt,this._processHints()}get _control(){return this._explicitFormFieldControl||this._formFieldControl}set _control(wt){this._explicitFormFieldControl=wt}constructor(wt,W,Fe,Ft,qe,Qe,Ht,Et){this._elementRef=wt,this._changeDetectorRef=W,this._ngZone=Fe,this._dir=Ft,this._platform=qe,this._defaults=Qe,this._animationMode=Ht,this._document=Et,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-"+pt++,this._hintLabelId="mat-mdc-hint-"+pt++,this._subscriptAnimationState="",this._labelWidth=0,this._destroyed=new I.x,this._isFocused=null,this._needsOutlineLabelOffsetUpdateOnStable=!1,Qe&&(Qe.appearance&&(this.appearance=Qe.appearance),this._hideRequiredMarker=Boolean(Qe?.hideRequiredMarker),Qe.color&&(this.color=Qe.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 wt=this._control;wt.controlType&&this._elementRef.nativeElement.classList.add(`mat-mdc-form-field-type-${wt.controlType}`),wt.stateChanges.subscribe(()=>{this._updateFocusState(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),wt.ngControl&&wt.ngControl.valueChanges&&wt.ngControl.valueChanges.pipe((0,C.R)(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck())}_checkPrefixAndSuffixTypes(){this._hasIconPrefix=!!this._prefixChildren.find(wt=>!wt._isText),this._hasTextPrefix=!!this._prefixChildren.find(wt=>wt._isText),this._hasIconSuffix=!!this._suffixChildren.find(wt=>!wt._isText),this._hasTextSuffix=!!this._suffixChildren.find(wt=>wt._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(wt){const W=this._control?this._control.ngControl:null;return W&&W[wt]}_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 wt=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&wt.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const W=this._hintChildren?this._hintChildren.find(Ft=>"start"===Ft.align):null,Fe=this._hintChildren?this._hintChildren.find(Ft=>"end"===Ft.align):null;W?wt.push(W.id):this._hintLabel&&wt.push(this._hintLabelId),Fe&&wt.push(Fe.id)}else this._errorChildren&&wt.push(...this._errorChildren.map(W=>W.id));this._control.setDescribedByIds(wt)}}_updateOutlineLabelOffset(){if(!this._platform.isBrowser||!this._hasOutline()||!this._floatingLabel)return;const wt=this._floatingLabel.element;if(!this._iconPrefixContainer&&!this._textPrefixContainer)return void(wt.style.transform="");if(!this._isAttachedToDom())return void(this._needsOutlineLabelOffsetUpdateOnStable=!0);const W=this._iconPrefixContainer?.nativeElement,Fe=this._textPrefixContainer?.nativeElement,Ft=W?.getBoundingClientRect().width??0,qe=Fe?.getBoundingClientRect().width??0;wt.style.transform=`var(\n --mat-mdc-form-field-label-transform,\n translateY(-50%) translateX(calc(${"rtl"===this._dir.value?"-1":"1"} * (${Ft+qe}px + var(--mat-mdc-form-field-label-offset-x, 0px))))\n )`}_isAttachedToDom(){const wt=this._elementRef.nativeElement;if(wt.getRootNode){const W=wt.getRootNode();return W&&W!==wt}return document.documentElement.contains(wt)}}return ke.\u0275fac=function(wt){return new(wt||ke)(t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(t.R0b),t.Y36(e.Is),t.Y36(b.t4),t.Y36(ge,8),t.Y36(t.QbO,8),t.Y36(h.K0))},ke.\u0275cmp=t.Xpm({type:ke,selectors:[["mat-form-field"]],contentQueries:function(wt,W,Fe){if(1&wt&&(t.Suo(Fe,n,5),t.Suo(Fe,n,7),t.Suo(Fe,Ce,5),t.Suo(Fe,tt,5),t.Suo(Fe,ze,5),t.Suo(Fe,B,5),t.Suo(Fe,De,5)),2&wt){let Ft;t.iGM(Ft=t.CRH())&&(W._labelChildNonStatic=Ft.first),t.iGM(Ft=t.CRH())&&(W._labelChildStatic=Ft.first),t.iGM(Ft=t.CRH())&&(W._formFieldControl=Ft.first),t.iGM(Ft=t.CRH())&&(W._prefixChildren=Ft),t.iGM(Ft=t.CRH())&&(W._suffixChildren=Ft),t.iGM(Ft=t.CRH())&&(W._errorChildren=Ft),t.iGM(Ft=t.CRH())&&(W._hintChildren=Ft)}},viewQuery:function(wt,W){if(1&wt&&(t.Gf(R,5),t.Gf(z,5),t.Gf(U,5),t.Gf(ye,5),t.Gf(Ae,5),t.Gf(Ke,5)),2&wt){let Fe;t.iGM(Fe=t.CRH())&&(W._textField=Fe.first),t.iGM(Fe=t.CRH())&&(W._iconPrefixContainer=Fe.first),t.iGM(Fe=t.CRH())&&(W._textPrefixContainer=Fe.first),t.iGM(Fe=t.CRH())&&(W._floatingLabel=Fe.first),t.iGM(Fe=t.CRH())&&(W._notchedOutline=Fe.first),t.iGM(Fe=t.CRH())&&(W._lineRipple=Fe.first)}},hostAttrs:[1,"mat-mdc-form-field"],hostVars:42,hostBindings:function(wt,W){2&wt&&t.ekj("mat-mdc-form-field-label-always-float",W._shouldAlwaysFloat())("mat-mdc-form-field-has-icon-prefix",W._hasIconPrefix)("mat-mdc-form-field-has-icon-suffix",W._hasIconSuffix)("mat-form-field-invalid",W._control.errorState)("mat-form-field-disabled",W._control.disabled)("mat-form-field-autofilled",W._control.autofilled)("mat-form-field-no-animations","NoopAnimations"===W._animationMode)("mat-form-field-appearance-fill","fill"==W.appearance)("mat-form-field-appearance-outline","outline"==W.appearance)("mat-form-field-hide-placeholder",W._hasFloatingLabel()&&!W._shouldLabelFloat())("mat-focused",W._control.focused)("mat-primary","accent"!==W.color&&"warn"!==W.color)("mat-accent","accent"===W.color)("mat-warn","warn"===W.color)("ng-untouched",W._shouldForward("untouched"))("ng-touched",W._shouldForward("touched"))("ng-pristine",W._shouldForward("pristine"))("ng-dirty",W._shouldForward("dirty"))("ng-valid",W._shouldForward("valid"))("ng-invalid",W._shouldForward("invalid"))("ng-pending",W._shouldForward("pending"))},inputs:{hideRequiredMarker:"hideRequiredMarker",color:"color",floatLabel:"floatLabel",appearance:"appearance",subscriptSizing:"subscriptSizing",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[t._Bn([{provide:ae,useExisting:ke}])],ngContentSelectors:m,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(wt,W){1&wt&&(t.F$t(D),t.YNc(0,$,1,1,"ng-template",null,0,t.W1O),t.TgZ(2,"div",1,2),t.NdJ("click",function(Ft){return W._control.onContainerClick&&W._control.onContainerClick(Ft)}),t.YNc(4,ie,1,0,"div",3),t.TgZ(5,"div",4),t.YNc(6,ne,2,3,"div",5),t.YNc(7,le,3,0,"div",6),t.YNc(8,ee,3,0,"div",7),t.TgZ(9,"div",8),t.YNc(10,A,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,u,1,0,"div",12),t.qZA(),t.TgZ(15,"div",13),t.YNc(16,l,2,1,"div",14),t.YNc(17,T,5,2,"div",15),t.qZA()),2&wt&&(t.xp6(2),t.ekj("mdc-text-field--filled",!W._hasOutline())("mdc-text-field--outlined",W._hasOutline())("mdc-text-field--no-label",!W._hasFloatingLabel())("mdc-text-field--disabled",W._control.disabled)("mdc-text-field--invalid",W._control.errorState),t.xp6(2),t.Q6J("ngIf",!W._hasOutline()&&!W._control.disabled),t.xp6(2),t.Q6J("ngIf",W._hasOutline()),t.xp6(1),t.Q6J("ngIf",W._hasIconPrefix),t.xp6(1),t.Q6J("ngIf",W._hasTextPrefix),t.xp6(2),t.Q6J("ngIf",!W._hasOutline()||W._forceDisplayInfixLabel()),t.xp6(2),t.Q6J("ngIf",W._hasTextSuffix),t.xp6(1),t.Q6J("ngIf",W._hasIconSuffix),t.xp6(1),t.Q6J("ngIf",!W._hasOutline()),t.xp6(1),t.ekj("mat-mdc-form-field-subscript-dynamic-size","dynamic"===W.subscriptSizing),t.Q6J("ngSwitch",W._getDisplayedMessages()),t.xp6(1),t.Q6J("ngSwitchCase","error"),t.xp6(1),t.Q6J("ngSwitchCase","hint"))},dependencies:[h.O5,h.tP,h.RF,h.n9,S.wD,De,ye,Ae,Ke],styles:['.mdc-text-field{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity,transform,color}.mdc-text-field .mdc-floating-label{top:50%;transform:translateY(-50%);pointer-events:none}.mdc-text-field__input{height:28px;width:100%;min-width:0;border:none;border-radius:0;background:none;appearance:none;padding:0}.mdc-text-field__input::-ms-clear{display:none}.mdc-text-field__input::-webkit-calendar-picker-indicator{display:none}.mdc-text-field__input:focus{outline:none}.mdc-text-field__input:invalid{box-shadow:none}@media all{.mdc-text-field__input::placeholder{opacity:0}}@media all{.mdc-text-field__input:-ms-input-placeholder{opacity:0}}@media all{.mdc-text-field--no-label .mdc-text-field__input::placeholder,.mdc-text-field--focused .mdc-text-field__input::placeholder{opacity:1}}@media all{.mdc-text-field--no-label .mdc-text-field__input:-ms-input-placeholder,.mdc-text-field--focused .mdc-text-field__input:-ms-input-placeholder{opacity:1}}.mdc-text-field__affix{height:28px;opacity:0;white-space:nowrap}.mdc-text-field--label-floating .mdc-text-field__affix,.mdc-text-field--no-label .mdc-text-field__affix{opacity:1}@supports(-webkit-hyphens: none){.mdc-text-field--outlined .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field__affix--prefix,.mdc-text-field__affix--prefix[dir=rtl]{padding-left:2px;padding-right:0}.mdc-text-field--end-aligned .mdc-text-field__affix--prefix{padding-left:0;padding-right:12px}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--end-aligned .mdc-text-field__affix--prefix[dir=rtl]{padding-left:12px;padding-right:0}.mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field__affix--suffix,.mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:12px}.mdc-text-field--end-aligned .mdc-text-field__affix--suffix{padding-left:2px;padding-right:0}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--end-aligned .mdc-text-field__affix--suffix[dir=rtl]{padding-left:0;padding-right:2px}.mdc-text-field--filled{height:56px}.mdc-text-field--filled::before{display:inline-block;width:0;height:40px;content:"";vertical-align:0}.mdc-text-field--filled .mdc-floating-label{left:16px;right:initial}[dir=rtl] .mdc-text-field--filled .mdc-floating-label,.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:16px}.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-106%) scale(0.75)}.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{height:100%}.mdc-text-field--filled.mdc-text-field--no-label .mdc-floating-label{display:none}.mdc-text-field--filled.mdc-text-field--no-label::before{display:none}@supports(-webkit-hyphens: none){.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__affix{align-items:center;align-self:center;display:inline-flex;height:100%}}.mdc-text-field--outlined{height:56px;overflow:visible}.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) scale(1)}.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) scale(0.75)}.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--outlined .mdc-text-field__input{height:100%}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading[dir=rtl]{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__leading{width:max(12px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__notch{max-width:calc(100% - max(12px, var(--mdc-shape-small, 4px))*2)}}.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing{border-top-left-radius:0;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:var(--mdc-shape-small, 4px);border-bottom-left-radius:0}[dir=rtl] .mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing,.mdc-text-field--outlined .mdc-notched-outline .mdc-notched-outline__trailing[dir=rtl]{border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:var(--mdc-shape-small, 4px)}@supports(top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}@supports(top: max(0%)){.mdc-text-field--outlined+.mdc-text-field-helper-line{padding-right:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-left:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-leading-icon{padding-right:max(16px, var(--mdc-shape-small, 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-right:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-leading-icon,.mdc-text-field--outlined.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:max(16px, var(--mdc-shape-small, 4px))}}.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-right:0}@supports(top: max(0%)){.mdc-text-field--outlined.mdc-text-field--with-trailing-icon{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0}@supports(top: max(0%)){[dir=rtl] .mdc-text-field--outlined.mdc-text-field--with-trailing-icon,.mdc-text-field--outlined.mdc-text-field--with-trailing-icon[dir=rtl]{padding-right:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:1px}.mdc-text-field--outlined .mdc-floating-label{left:4px;right:initial}[dir=rtl] .mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:4px}.mdc-text-field--outlined .mdc-text-field__input{display:flex;border:none !important;background-color:rgba(0,0,0,0)}.mdc-text-field--outlined .mdc-notched-outline{z-index:1}.mdc-text-field--textarea{flex-direction:column;align-items:center;width:auto;height:auto;padding:0}.mdc-text-field--textarea .mdc-floating-label{top:19px}.mdc-text-field--textarea .mdc-floating-label:not(.mdc-floating-label--float-above){transform:none}.mdc-text-field--textarea .mdc-text-field__input{flex-grow:1;height:auto;min-height:1.5rem;overflow-x:hidden;overflow-y:auto;box-sizing:border-box;resize:none;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--filled::before{display:none}.mdc-text-field--textarea.mdc-text-field--filled .mdc-floating-label--float-above{transform:translateY(-10.25px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--filled .mdc-text-field__input{margin-top:23px;margin-bottom:9px}.mdc-text-field--textarea.mdc-text-field--filled.mdc-text-field--no-label .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-27.25px) scale(1)}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-24.75px) scale(0.75)}.mdc-text-field--textarea.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--textarea.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-text-field__input{margin-top:16px;margin-bottom:16px}.mdc-text-field--textarea.mdc-text-field--outlined .mdc-floating-label{top:18px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field__input{margin-bottom:2px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter{align-self:flex-end;padding:0 16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::after{display:inline-block;width:0;height:16px;content:"";vertical-align:-16px}.mdc-text-field--textarea.mdc-text-field--with-internal-counter .mdc-text-field-character-counter::before{display:none}.mdc-text-field__resizer{align-self:stretch;display:inline-flex;flex-direction:column;flex-grow:1;max-height:100%;max-width:100%;min-height:56px;min-width:fit-content;min-width:-moz-available;min-width:-webkit-fill-available;overflow:hidden;resize:both}.mdc-text-field--filled .mdc-text-field__resizer{transform:translateY(-1px)}.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--filled .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateY(1px)}.mdc-text-field--outlined .mdc-text-field__resizer{transform:translateX(-1px) translateY(-1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer,.mdc-text-field--outlined .mdc-text-field__resizer[dir=rtl]{transform:translateX(1px) translateY(-1px)}.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter{transform:translateX(1px) translateY(1px)}[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input,[dir=rtl] .mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter,.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field__input[dir=rtl],.mdc-text-field--outlined .mdc-text-field__resizer .mdc-text-field-character-counter[dir=rtl]{transform:translateX(-1px) translateY(1px)}.mdc-text-field--with-leading-icon{padding-left:0;padding-right:16px}[dir=rtl] .mdc-text-field--with-leading-icon,.mdc-text-field--with-leading-icon[dir=rtl]{padding-left:16px;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 48px);left:48px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label[dir=rtl]{left:initial;right:48px}.mdc-text-field--with-leading-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label{left:36px;right:initial}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label[dir=rtl]{left:initial;right:36px}.mdc-text-field--with-leading-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{transform:translateY(-37.25px) translateX(-32px) scale(1)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-37.25px) translateX(32px) scale(1)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-floating-label--float-above{font-size:.75rem}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{transform:translateY(-34.75px) translateX(-32px) scale(0.75)}[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,[dir=rtl] .mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl],.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above[dir=rtl]{transform:translateY(-34.75px) translateX(32px) scale(0.75)}.mdc-text-field--with-leading-icon.mdc-text-field--outlined.mdc-notched-outline--upgraded .mdc-floating-label--float-above,.mdc-text-field--with-leading-icon.mdc-text-field--outlined .mdc-notched-outline--upgraded .mdc-floating-label--float-above{font-size:1rem}.mdc-text-field--with-trailing-icon{padding-left:16px;padding-right:0}[dir=rtl] .mdc-text-field--with-trailing-icon,.mdc-text-field--with-trailing-icon[dir=rtl]{padding-left:0;padding-right:16px}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 64px)}.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 64px / 0.75)}.mdc-text-field--with-trailing-icon.mdc-text-field--outlined :not(.mdc-notched-outline--notched) .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon{padding-left:0;padding-right:0}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label{max-width:calc(100% - 96px)}.mdc-text-field--with-leading-icon.mdc-text-field--with-trailing-icon.mdc-text-field--filled .mdc-floating-label--float-above{max-width:calc(100% / 0.75 - 96px / 0.75)}.mdc-text-field-helper-line{display:flex;justify-content:space-between;box-sizing:border-box}.mdc-text-field+.mdc-text-field-helper-line{padding-right:16px;padding-left:16px}.mdc-form-field>.mdc-text-field+label{align-self:flex-start}.mdc-text-field--focused .mdc-notched-outline__leading,.mdc-text-field--focused .mdc-notched-outline__notch,.mdc-text-field--focused .mdc-notched-outline__trailing{border-width:2px}.mdc-text-field--focused+.mdc-text-field-helper-line .mdc-text-field-helper-text:not(.mdc-text-field-helper-text--validation-msg){opacity:1}.mdc-text-field--focused.mdc-text-field--outlined .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:2px}.mdc-text-field--focused.mdc-text-field--outlined.mdc-text-field--textarea .mdc-notched-outline--notched .mdc-notched-outline__notch{padding-top:0}.mdc-text-field--invalid+.mdc-text-field-helper-line .mdc-text-field-helper-text--validation-msg{opacity:1}.mdc-text-field--disabled{pointer-events:none}@media screen and (forced-colors: active){.mdc-text-field--disabled .mdc-text-field__input{background-color:Window}.mdc-text-field--disabled .mdc-floating-label{z-index:1}}.mdc-text-field--disabled .mdc-floating-label{cursor:default}.mdc-text-field--disabled.mdc-text-field--filled .mdc-text-field__ripple{display:none}.mdc-text-field--disabled .mdc-text-field__input{pointer-events:auto}.mdc-text-field--end-aligned .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--end-aligned .mdc-text-field__input[dir=rtl]{text-align:left}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix{direction:ltr}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{padding-left:0;padding-right:2px}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{padding-left:12px;padding-right:0}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--leading,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--leading{order:1}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--suffix{order:2}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__input,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__input{order:3}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__affix--prefix{order:4}[dir=rtl] .mdc-text-field--ltr-text .mdc-text-field__icon--trailing,.mdc-text-field--ltr-text[dir=rtl] .mdc-text-field__icon--trailing{order:5}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__input,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__input{text-align:right}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--prefix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--prefix{padding-right:12px}[dir=rtl] .mdc-text-field--ltr-text.mdc-text-field--end-aligned .mdc-text-field__affix--suffix,.mdc-text-field--ltr-text.mdc-text-field--end-aligned[dir=rtl] .mdc-text-field__affix--suffix{padding-left:2px}.mdc-floating-label{position:absolute;left:0;-webkit-transform-origin:left top;transform-origin:left top;line-height:1.15rem;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:text;overflow:hidden;will-change:transform}[dir=rtl] .mdc-floating-label,.mdc-floating-label[dir=rtl]{right:0;left:auto;-webkit-transform-origin:right top;transform-origin:right top;text-align:right}.mdc-floating-label--float-above{cursor:auto}.mdc-floating-label--required: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{--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:[de.transitionMessages]},changeDetection:0}),ke})(),St=(()=>{class ke{}return ke.\u0275fac=function(wt){return new(wt||ke)},ke.\u0275mod=t.oAB({type:ke}),ke.\u0275inj=t.cJS({imports:[w.BQ,h.ez,S.Q8,w.BQ]}),ke})()},782:(Ue,q,p)=>{"use strict";p.d(q,{DX:()=>O,Il:()=>ee,N6:()=>me});var t=p(4650),e=p(3238),b=p(1281),I=p(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,u){this.columnIndex=0,this.rowIndex=0,this.tracker=new Array(a),this.tracker.fill(0,0,this.tracker.length),this.positions=u.map(l=>this._trackTile(l))}_trackTile(a){const u=this._findMatchingGap(a.colspan);return this._markTilePosition(u,a),this.columnIndex=u+a.colspan,new S(this.rowIndex,u)}_findMatchingGap(a){let u=-1,l=-1;do{this.columnIndex+a>this.tracker.length?(this._nextRow(),u=this.tracker.indexOf(0,this.columnIndex),l=this._findGapEndIndex(u)):(u=this.tracker.indexOf(0,this.columnIndex),-1!=u?(l=this._findGapEndIndex(u),this.columnIndex=u+1):(this._nextRow(),u=this.tracker.indexOf(0,this.columnIndex),l=this._findGapEndIndex(u)))}while(l-u<a||0==l);return Math.max(u,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 u=a+1;u<this.tracker.length;u++)if(0!=this.tracker[u])return u;return this.tracker.length}_markTilePosition(a,u){for(let l=0;l<u.colspan;l++)this.tracker[a+l]=u.rowspan}}class S{constructor(a,u){this.row=a,this.col=u}}const w=new t.OlP("MAT_GRID_LIST");let O=(()=>{class i{constructor(u,l){this._element=u,this._gridList=l,this._rowspan=1,this._colspan=1}get rowspan(){return this._rowspan}set rowspan(u){this._rowspan=Math.round((0,b.su)(u))}get colspan(){return this._colspan}set colspan(u){this._colspan=Math.round((0,b.su)(u))}_setStyle(u,l){this._element.nativeElement.style[u]=l}}return i.\u0275fac=function(u){return new(u||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(u,l){2&u&&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(u,l){1&u&&(t.F$t(),t.TgZ(0,"div",0),t.Hsn(1),t.qZA())},styles:[".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-grid-tile-header,.mat-grid-tile .mat-grid-tile-footer{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-header>*,.mat-grid-tile .mat-grid-tile-footer>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-tile-header.mat-2-line,.mat-grid-tile .mat-grid-tile-footer.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;flex:auto;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-list-text>*{margin:0;padding:0;font-weight:normal;font-size:inherit}.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}.mat-grid-tile .mat-grid-avatar:empty{display:none}.mat-grid-tile-content{top:0;left:0;right:0;bottom:0;position:absolute;display:flex;align-items:center;justify-content:center;height:100%;padding:0;margin:0}"],encapsulation:2,changeDetection:0}),i})();const Y=/^-?\d+((\.\d+)?[A-Za-z%$]?)+$/;class K{constructor(){this._rows=0,this._rowspan=0}init(a,u,l,y){this._gutterSize=ne(a),this._rows=u.rowCount,this._rowspan=u.rowspan,this._cols=l,this._direction=y}getBaseTileSize(a,u){return`(${a}% - (${this._gutterSize} * ${u}))`}getTilePosition(a,u){return 0===u?"0":he(`(${a} + ${this._gutterSize}) * ${u}`)}getTileSize(a,u){return`(${a} * ${u}) + (${u-1} * ${this._gutterSize})`}setStyle(a,u,l){let y=100/this._cols,T=(this._cols-1)/this._cols;this.setColStyles(a,l,y,T),this.setRowStyles(a,u,y,T)}setColStyles(a,u,l,y){let T=this.getBaseTileSize(l,y);a._setStyle("rtl"===this._direction?"right":"left",this.getTilePosition(T,u)),a._setStyle("width",he(this.getTileSize(T,a.colspan)))}getGutterSpan(){return`${this._gutterSize} * (${this._rowspan} - 1)`}getTileSpan(a){return`${this._rowspan} * ${this.getTileSize(a,1)}`}getComputedHeight(){return null}}class $ extends K{constructor(a){super(),this.fixedRowHeight=a}init(a,u,l,y){super.init(a,u,l,y),this.fixedRowHeight=ne(this.fixedRowHeight),Y.test(this.fixedRowHeight)}setRowStyles(a,u){a._setStyle("top",this.getTilePosition(this.fixedRowHeight,u)),a._setStyle("height",he(this.getTileSize(this.fixedRowHeight,a.rowspan)))}getComputedHeight(){return["height",he(`${this.getTileSpan(this.fixedRowHeight)} + ${this.getGutterSpan()}`)]}reset(a){a._setListStyle(["height",null]),a._tiles&&a._tiles.forEach(u=>{u._setStyle("top",null),u._setStyle("height",null)})}}class ie extends K{constructor(a){super(),this._parseRatio(a)}setRowStyles(a,u,l,y){this.baseTileHeight=this.getBaseTileSize(l/this.rowHeightRatio,y),a._setStyle("marginTop",this.getTilePosition(this.baseTileHeight,u)),a._setStyle("paddingTop",he(this.getTileSize(this.baseTileHeight,a.rowspan)))}getComputedHeight(){return["paddingBottom",he(`${this.getTileSpan(this.baseTileHeight)} + ${this.getGutterSpan()}`)]}reset(a){a._setListStyle(["paddingBottom",null]),a._tiles.forEach(u=>{u._setStyle("marginTop",null),u._setStyle("paddingTop",null)})}_parseRatio(a){const u=a.split(":");this.rowHeightRatio=parseFloat(u[0])/parseFloat(u[1])}}class ue extends K{setRowStyles(a,u){let T=this.getBaseTileSize(100/this._rowspan,(this._rows-1)/this._rows);a._setStyle("top",this.getTilePosition(T,u)),a._setStyle("height",he(this.getTileSize(T,a.rowspan)))}reset(a){a._tiles&&a._tiles.forEach(u=>{u._setStyle("top",null),u._setStyle("height",null)})}}function he(i){return`calc(${i})`}function ne(i){return i.match(/([A-Za-z%]+)$/)?i:`${i}px`}let ee=(()=>{class i{constructor(u,l){this._element=u,this._dir=l,this._gutter="1px"}get cols(){return this._cols}set cols(u){this._cols=Math.max(1,Math.round((0,b.su)(u)))}get gutterSize(){return this._gutter}set gutterSize(u){this._gutter=`${u??""}`}get rowHeight(){return this._rowHeight}set rowHeight(u){const l=`${u??""}`;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(u){this._tileStyler&&this._tileStyler.reset(this),this._tileStyler="fit"===u?new ue:u&&u.indexOf(":")>-1?new ie(u):new $(u)}_layoutTiles(){this._tileCoordinator||(this._tileCoordinator=new d);const u=this._tileCoordinator,l=this._tiles.filter(T=>!T._gridList||T._gridList===this),y=this._dir?this._dir.value:"ltr";this._tileCoordinator.update(this.cols,l),this._tileStyler.init(this.gutterSize,u,this.cols,y),l.forEach((T,D)=>{const m=u.positions[D];this._tileStyler.setStyle(T,m.row,m.col)}),this._setListStyle(this._tileStyler.getComputedHeight())}_setListStyle(u){u&&(this._element.nativeElement.style[u[0]]=u[1])}}return i.\u0275fac=function(u){return new(u||i)(t.Y36(t.SBq),t.Y36(I.Is,8))},i.\u0275cmp=t.Xpm({type:i,selectors:[["mat-grid-list"]],contentQueries:function(u,l,y){if(1&u&&t.Suo(y,O,5),2&u){let T;t.iGM(T=t.CRH())&&(l._tiles=T)}},hostAttrs:[1,"mat-grid-list"],hostVars:1,hostBindings:function(u,l){2&u&&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(u,l){1&u&&(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})(),me=(()=>{class i{}return i.\u0275fac=function(u){return new(u||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[e.uc,e.BQ,e.uc,e.BQ]}),i})()},7392:(Ue,q,p)=>{"use strict";p.d(q,{Hw:()=>V,Ps:()=>X});var t=p(4650),e=p(3238),b=p(1281),I=p(6895),s=p(9646),C=p(2843),h=p(4128),P=p(727),d=p(8505),S=p(4004),w=p(262),O=p(8746),E=p(3099),R=p(5698),z=p(529),U=p(1481);const Y=["*"];let K;function ie(De){return function $(){if(void 0===K&&(K=null,typeof window<"u")){const De=window;void 0!==De.trustedTypes&&(K=De.trustedTypes.createPolicy("angular#components",{createHTML:tt=>tt}))}return K}()?.createHTML(De)||De}function ue(De){return Error(`Unable to find icon with the name "${De}"`)}function ne(De){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${De}".`)}function le(De){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${De}".`)}class ee{constructor(tt,je,ze){this.url=tt,this.svgText=je,this.options=ze}}let me=(()=>{class De{constructor(je,ze,Le,ye){this._httpClient=je,this._sanitizer=ze,this._errorHandler=ye,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=Le}addSvgIcon(je,ze,Le){return this.addSvgIconInNamespace("",je,ze,Le)}addSvgIconLiteral(je,ze,Le){return this.addSvgIconLiteralInNamespace("",je,ze,Le)}addSvgIconInNamespace(je,ze,Le,ye){return this._addSvgIconConfig(je,ze,new ee(Le,null,ye))}addSvgIconResolver(je){return this._resolvers.push(je),this}addSvgIconLiteralInNamespace(je,ze,Le,ye){const ce=this._sanitizer.sanitize(t.q3G.HTML,Le);if(!ce)throw le(Le);const ve=ie(ce);return this._addSvgIconConfig(je,ze,new ee("",ve,ye))}addSvgIconSet(je,ze){return this.addSvgIconSetInNamespace("",je,ze)}addSvgIconSetLiteral(je,ze){return this.addSvgIconSetLiteralInNamespace("",je,ze)}addSvgIconSetInNamespace(je,ze,Le){return this._addSvgIconSetConfig(je,new ee(ze,null,Le))}addSvgIconSetLiteralInNamespace(je,ze,Le){const ye=this._sanitizer.sanitize(t.q3G.HTML,ze);if(!ye)throw le(ze);const ce=ie(ye);return this._addSvgIconSetConfig(je,new ee("",ce,Le))}registerFontClassAlias(je,ze=je){return this._fontCssClassesByAlias.set(je,ze),this}classNameForFontAlias(je){return this._fontCssClassesByAlias.get(je)||je}setDefaultFontSetClass(...je){return this._defaultFontSetClass=je,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(je){const ze=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,je);if(!ze)throw ne(je);const Le=this._cachedIconsByUrl.get(ze);return Le?(0,s.of)(a(Le)):this._loadSvgIconFromConfig(new ee(je,null)).pipe((0,d.b)(ye=>this._cachedIconsByUrl.set(ze,ye)),(0,S.U)(ye=>a(ye)))}getNamedSvgIcon(je,ze=""){const Le=u(ze,je);let ye=this._svgIconConfigs.get(Le);if(ye)return this._getSvgFromConfig(ye);if(ye=this._getIconConfigFromResolvers(ze,je),ye)return this._svgIconConfigs.set(Le,ye),this._getSvgFromConfig(ye);const ce=this._iconSetConfigs.get(ze);return ce?this._getSvgFromIconSetConfigs(je,ce):(0,C._)(ue(Le))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(je){return je.svgText?(0,s.of)(a(this._svgElementFromConfig(je))):this._loadSvgIconFromConfig(je).pipe((0,S.U)(ze=>a(ze)))}_getSvgFromIconSetConfigs(je,ze){const Le=this._extractIconWithNameFromAnySet(je,ze);if(Le)return(0,s.of)(Le);const ye=ze.filter(ce=>!ce.svgText).map(ce=>this._loadSvgIconSetFromConfig(ce).pipe((0,w.K)(ve=>{const Ke=`Loading icon set URL: ${this._sanitizer.sanitize(t.q3G.RESOURCE_URL,ce.url)} failed: ${ve.message}`;return this._errorHandler.handleError(new Error(Ke)),(0,s.of)(null)})));return(0,h.D)(ye).pipe((0,S.U)(()=>{const ce=this._extractIconWithNameFromAnySet(je,ze);if(!ce)throw ue(je);return ce}))}_extractIconWithNameFromAnySet(je,ze){for(let Le=ze.length-1;Le>=0;Le--){const ye=ze[Le];if(ye.svgText&&ye.svgText.toString().indexOf(je)>-1){const ce=this._svgElementFromConfig(ye),ve=this._extractSvgIconFromSet(ce,je,ye.options);if(ve)return ve}}return null}_loadSvgIconFromConfig(je){return this._fetchIcon(je).pipe((0,d.b)(ze=>je.svgText=ze),(0,S.U)(()=>this._svgElementFromConfig(je)))}_loadSvgIconSetFromConfig(je){return je.svgText?(0,s.of)(null):this._fetchIcon(je).pipe((0,d.b)(ze=>je.svgText=ze))}_extractSvgIconFromSet(je,ze,Le){const ye=je.querySelector(`[id="${ze}"]`);if(!ye)return null;const ce=ye.cloneNode(!0);if(ce.removeAttribute("id"),"svg"===ce.nodeName.toLowerCase())return this._setSvgAttributes(ce,Le);if("symbol"===ce.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(ce),Le);const ve=this._svgElementFromString(ie("<svg></svg>"));return ve.appendChild(ce),this._setSvgAttributes(ve,Le)}_svgElementFromString(je){const ze=this._document.createElement("DIV");ze.innerHTML=je;const Le=ze.querySelector("svg");if(!Le)throw Error("<svg> tag not found");return Le}_toSvgElement(je){const ze=this._svgElementFromString(ie("<svg></svg>")),Le=je.attributes;for(let ye=0;ye<Le.length;ye++){const{name:ce,value:ve}=Le[ye];"id"!==ce&&ze.setAttribute(ce,ve)}for(let ye=0;ye<je.childNodes.length;ye++)je.childNodes[ye].nodeType===this._document.ELEMENT_NODE&&ze.appendChild(je.childNodes[ye].cloneNode(!0));return ze}_setSvgAttributes(je,ze){return je.setAttribute("fit",""),je.setAttribute("height","100%"),je.setAttribute("width","100%"),je.setAttribute("preserveAspectRatio","xMidYMid meet"),je.setAttribute("focusable","false"),ze&&ze.viewBox&&je.setAttribute("viewBox",ze.viewBox),je}_fetchIcon(je){const{url:ze,options:Le}=je,ye=Le?.withCredentials??!1;if(!this._httpClient)throw function he(){return Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.")}();if(null==ze)throw Error(`Cannot fetch icon from URL "${ze}".`);const ce=this._sanitizer.sanitize(t.q3G.RESOURCE_URL,ze);if(!ce)throw ne(ze);const ve=this._inProgressUrlFetches.get(ce);if(ve)return ve;const oe=this._httpClient.get(ce,{responseType:"text",withCredentials:ye}).pipe((0,S.U)(Ke=>ie(Ke)),(0,O.x)(()=>this._inProgressUrlFetches.delete(ce)),(0,E.B)());return this._inProgressUrlFetches.set(ce,oe),oe}_addSvgIconConfig(je,ze,Le){return this._svgIconConfigs.set(u(je,ze),Le),this}_addSvgIconSetConfig(je,ze){const Le=this._iconSetConfigs.get(je);return Le?Le.push(ze):this._iconSetConfigs.set(je,[ze]),this}_svgElementFromConfig(je){if(!je.svgElement){const ze=this._svgElementFromString(je.svgText);this._setSvgAttributes(ze,je.options),je.svgElement=ze}return je.svgElement}_getIconConfigFromResolvers(je,ze){for(let Le=0;Le<this._resolvers.length;Le++){const ye=this._resolvers[Le](ze,je);if(ye)return l(ye)?new ee(ye.url,null,ye.options):new ee(ye,null)}}}return De.\u0275fac=function(je){return new(je||De)(t.LFG(z.eN,8),t.LFG(U.H7),t.LFG(I.K0,8),t.LFG(t.qLn))},De.\u0275prov=t.Yz7({token:De,factory:De.\u0275fac,providedIn:"root"}),De})();function a(De){return De.cloneNode(!0)}function u(De,tt){return De+":"+tt}function l(De){return!(!De.url||!De.options)}const y=(0,e.pj)(class{constructor(De){this._elementRef=De}}),T=new t.OlP("MAT_ICON_DEFAULT_OPTIONS"),D=new t.OlP("mat-icon-location",{providedIn:"root",factory:function m(){const De=(0,t.f3M)(I.K0),tt=De?De.location:null;return{getPathname:()=>tt?tt.pathname+tt.search:""}}}),n=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],v=n.map(De=>`[${De}]`).join(", "),B=/^url\(['"]?#(.*?)['"]?\)$/;let V=(()=>{class De extends y{get inline(){return this._inline}set inline(je){this._inline=(0,b.Ig)(je)}get svgIcon(){return this._svgIcon}set svgIcon(je){je!==this._svgIcon&&(je?this._updateSvgIcon(je):this._svgIcon&&this._clearSvgElement(),this._svgIcon=je)}get fontSet(){return this._fontSet}set fontSet(je){const ze=this._cleanupFontValue(je);ze!==this._fontSet&&(this._fontSet=ze,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(je){const ze=this._cleanupFontValue(je);ze!==this._fontIcon&&(this._fontIcon=ze,this._updateFontIconClasses())}constructor(je,ze,Le,ye,ce,ve){super(je),this._iconRegistry=ze,this._location=ye,this._errorHandler=ce,this._inline=!1,this._previousFontSetClass=[],this._currentIconFetch=P.w0.EMPTY,ve&&(ve.color&&(this.color=this.defaultColor=ve.color),ve.fontSet&&(this.fontSet=ve.fontSet)),Le||je.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(je){if(!je)return["",""];const ze=je.split(":");switch(ze.length){case 1:return["",ze[0]];case 2:return ze;default:throw Error(`Invalid icon name: "${je}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const je=this._elementsWithExternalReferences;if(je&&je.size){const ze=this._location.getPathname();ze!==this._previousPath&&(this._previousPath=ze,this._prependPathToReferences(ze))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(je){this._clearSvgElement();const ze=this._location.getPathname();this._previousPath=ze,this._cacheChildrenWithExternalReferences(je),this._prependPathToReferences(ze),this._elementRef.nativeElement.appendChild(je)}_clearSvgElement(){const je=this._elementRef.nativeElement;let ze=je.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();ze--;){const Le=je.childNodes[ze];(1!==Le.nodeType||"svg"===Le.nodeName.toLowerCase())&&Le.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const je=this._elementRef.nativeElement,ze=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(Le=>Le.length>0);this._previousFontSetClass.forEach(Le=>je.classList.remove(Le)),ze.forEach(Le=>je.classList.add(Le)),this._previousFontSetClass=ze,this.fontIcon!==this._previousFontIconClass&&!ze.includes("mat-ligature-font")&&(this._previousFontIconClass&&je.classList.remove(this._previousFontIconClass),this.fontIcon&&je.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(je){return"string"==typeof je?je.trim().split(" ")[0]:je}_prependPathToReferences(je){const ze=this._elementsWithExternalReferences;ze&&ze.forEach((Le,ye)=>{Le.forEach(ce=>{ye.setAttribute(ce.name,`url('${je}#${ce.value}')`)})})}_cacheChildrenWithExternalReferences(je){const ze=je.querySelectorAll(v),Le=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let ye=0;ye<ze.length;ye++)n.forEach(ce=>{const ve=ze[ye],oe=ve.getAttribute(ce),Ke=oe?oe.match(B):null;if(Ke){let Ae=Le.get(ve);Ae||(Ae=[],Le.set(ve,Ae)),Ae.push({name:ce,value:Ke[1]})}})}_updateSvgIcon(je){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),je){const[ze,Le]=this._splitIconName(je);ze&&(this._svgNamespace=ze),Le&&(this._svgName=Le),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(Le,ze).pipe((0,R.q)(1)).subscribe(ye=>this._setSvgElement(ye),ye=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${ze}:${Le}! ${ye.message}`))})}}}return De.\u0275fac=function(je){return new(je||De)(t.Y36(t.SBq),t.Y36(me),t.$8M("aria-hidden"),t.Y36(D),t.Y36(t.qLn),t.Y36(T,8))},De.\u0275cmp=t.Xpm({type:De,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:8,hostBindings:function(je,ze){2&je&&(t.uIk("data-mat-icon-type",ze._usingFontIcon()?"font":"svg")("data-mat-icon-name",ze._svgName||ze.fontIcon)("data-mat-icon-namespace",ze._svgNamespace||ze.fontSet)("fontIcon",ze._usingFontIcon()?ze.fontIcon:null),t.ekj("mat-icon-inline",ze.inline)("mat-icon-no-color","primary"!==ze.color&&"accent"!==ze.color&&"warn"!==ze.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[t.qOj],ngContentSelectors:Y,decls:1,vars:0,template:function(je,ze){1&je&&(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}),De})(),X=(()=>{class De{}return De.\u0275fac=function(je){return new(je||De)},De.\u0275mod=t.oAB({type:De}),De.\u0275inj=t.cJS({imports:[e.BQ,e.BQ]}),De})()},4144:(Ue,q,p)=>{"use strict";p.d(q,{Jk:()=>z,Nt:()=>$,c:()=>ie});var t=p(1281),e=p(3353),b=p(4650),I=p(515),s=p(7579);const C=(0,e.i$)({passive:!0});let h=(()=>{class ue{constructor(ne,le){this._platform=ne,this._ngZone=le,this._monitoredElements=new Map}monitor(ne){if(!this._platform.isBrowser)return I.E;const le=(0,t.fI)(ne),ee=this._monitoredElements.get(le);if(ee)return ee.subject;const me=new s.x,A="cdk-text-field-autofilled",i=a=>{"cdk-text-field-autofill-start"!==a.animationName||le.classList.contains(A)?"cdk-text-field-autofill-end"===a.animationName&&le.classList.contains(A)&&(le.classList.remove(A),this._ngZone.run(()=>me.next({target:a.target,isAutofilled:!1}))):(le.classList.add(A),this._ngZone.run(()=>me.next({target:a.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{le.addEventListener("animationstart",i,C),le.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(le,{subject:me,unlisten:()=>{le.removeEventListener("animationstart",i,C)}}),me}stopMonitoring(ne){const le=(0,t.fI)(ne),ee=this._monitoredElements.get(le);ee&&(ee.unlisten(),ee.subject.complete(),le.classList.remove("cdk-text-field-autofill-monitored"),le.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(le))}ngOnDestroy(){this._monitoredElements.forEach((ne,le)=>this.stopMonitoring(le))}}return ue.\u0275fac=function(ne){return new(ne||ue)(b.LFG(e.t4),b.LFG(b.R0b))},ue.\u0275prov=b.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"}),ue})(),S=(()=>{class ue{}return ue.\u0275fac=function(ne){return new(ne||ue)},ue.\u0275mod=b.oAB({type:ue}),ue.\u0275inj=b.cJS({}),ue})();var w=p(4006),O=p(3238),E=p(9549);const z=new b.OlP("MAT_INPUT_VALUE_ACCESSOR"),U=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let Y=0;const K=(0,O.FD)(class{constructor(ue,he,ne,le){this._defaultErrorStateMatcher=ue,this._parentForm=he,this._parentFormGroup=ne,this.ngControl=le,this.stateChanges=new s.x}});let $=(()=>{class ue extends K{get disabled(){return this._disabled}set disabled(ne){this._disabled=(0,t.Ig)(ne),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(ne){this._id=ne||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(w.kI.required)??!1}set required(ne){this._required=(0,t.Ig)(ne)}get type(){return this._type}set type(ne){this._type=ne||"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(ne){ne!==this.value&&(this._inputValueAccessor.value=ne,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(ne){this._readonly=(0,t.Ig)(ne)}constructor(ne,le,ee,me,A,i,a,u,l,y){super(i,me,A,ee),this._elementRef=ne,this._platform=le,this._autofillMonitor=u,this._formField=y,this._uid="mat-input-"+Y++,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(m=>(0,e.qK)().has(m)),this._iOSKeyupListener=m=>{const n=m.target;!n.value&&0===n.selectionStart&&0===n.selectionEnd&&(n.setSelectionRange(1,1),n.setSelectionRange(0,0))};const T=this._elementRef.nativeElement,D=T.nodeName.toLowerCase();this._inputValueAccessor=a||T,this._previousNativeValue=this.value,this.id=this.id,le.IOS&&l.runOutsideAngular(()=>{ne.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=T.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(ne=>{this.autofilled=ne.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(ne){this._elementRef.nativeElement.focus(ne)}_focusChanged(ne){ne!==this.focused&&(this.focused=ne,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const ne=this._elementRef.nativeElement.value;this._previousNativeValue!==ne&&(this._previousNativeValue=ne,this.stateChanges.next())}_dirtyCheckPlaceholder(){const ne=this._getPlaceholder();if(ne!==this._previousPlaceholder){const le=this._elementRef.nativeElement;this._previousPlaceholder=ne,ne?le.setAttribute("placeholder",ne):le.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){U.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let ne=this._elementRef.nativeElement.validity;return ne&&ne.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const ne=this._elementRef.nativeElement,le=ne.options[0];return this.focused||ne.multiple||!this.empty||!!(ne.selectedIndex>-1&&le&&le.label)}return this.focused||!this.empty}setDescribedByIds(ne){ne.length?this._elementRef.nativeElement.setAttribute("aria-describedby",ne.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const ne=this._elementRef.nativeElement;return this._isNativeSelect&&(ne.multiple||ne.size>1)}}return ue.\u0275fac=function(ne){return new(ne||ue)(b.Y36(b.SBq),b.Y36(e.t4),b.Y36(w.a5,10),b.Y36(w.F,8),b.Y36(w.sg,8),b.Y36(O.rD),b.Y36(z,10),b.Y36(h),b.Y36(b.R0b),b.Y36(E.G_,8))},ue.\u0275dir=b.lG2({type:ue,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(ne,le){1&ne&&b.NdJ("focus",function(){return le._focusChanged(!0)})("blur",function(){return le._focusChanged(!1)})("input",function(){return le._onInput()}),2&ne&&(b.Ikx("id",le.id)("disabled",le.disabled)("required",le.required),b.uIk("name",le.name||null)("readonly",le.readonly&&!le._isNativeSelect||null)("aria-invalid",le.empty&&le.required?null:le.errorState)("aria-required",le.required)("id",le.id),b.ekj("mat-input-server",le._isServer)("mat-mdc-form-field-textarea-control",le._isInFormField&&le._isTextarea)("mat-mdc-form-field-input-control",le._isInFormField)("mdc-text-field__input",le._isInFormField)("mat-mdc-native-select-inline",le._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:[b._Bn([{provide:E.Eo,useExisting:ue}]),b.qOj,b.TTD]}),ue})(),ie=(()=>{class ue{}return ue.\u0275fac=function(ne){return new(ne||ue)},ue.\u0275mod=b.oAB({type:ue}),ue.\u0275inj=b.cJS({imports:[O.BQ,E.lN,E.lN,S,O.BQ]}),ue})()},6338:(Ue,q,p)=>{"use strict";p.d(q,{Tg:()=>Ce,i$:()=>de,ie:()=>At});var t=p(4650),e=p(1281),b=p(3353),I=p(3238),s=p(727),C=p(6451),P=(p(7579),p(9643)),d=p(6895),S=p(4850);p(4761),p(5017),p(9521),p(4006),p(2722);const U=["*"],K=["unscopedContent"],$=["text"],ie=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],ue=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"],V=new t.OlP("ListOption");let X=(()=>{class _t{constructor(St){this._elementRef=St}}return _t.\u0275fac=function(St){return new(St||_t)(t.Y36(t.SBq))},_t.\u0275dir=t.lG2({type:_t,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"]}),_t})(),De=(()=>{class _t{constructor(St){this._elementRef=St}}return _t.\u0275fac=function(St){return new(St||_t)(t.Y36(t.SBq))},_t.\u0275dir=t.lG2({type:_t,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"]}),_t})(),tt=(()=>{class _t{}return _t.\u0275fac=function(St){return new(St||_t)},_t.\u0275dir=t.lG2({type:_t,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"]}),_t})(),je=(()=>{class _t{constructor(St){this._listOption=St}_isAlignedAtStart(){return!this._listOption||"after"===this._listOption?._getTogglePosition()}}return _t.\u0275fac=function(St){return new(St||_t)(t.Y36(V,8))},_t.\u0275dir=t.lG2({type:_t,hostVars:4,hostBindings:function(St,ke){2&St&&t.ekj("mdc-list-item__start",ke._isAlignedAtStart())("mdc-list-item__end",!ke._isAlignedAtStart())}}),_t})(),ze=(()=>{class _t extends je{}return _t.\u0275fac=function(){let lt;return function(ke){return(lt||(lt=t.n5z(_t)))(ke||_t)}}(),_t.\u0275dir=t.lG2({type:_t,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],features:[t.qOj]}),_t})(),Le=(()=>{class _t extends je{}return _t.\u0275fac=function(){let lt;return function(ke){return(lt||(lt=t.n5z(_t)))(ke||_t)}}(),_t.\u0275dir=t.lG2({type:_t,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],features:[t.qOj]}),_t})();const ye=new t.OlP("MAT_LIST_CONFIG");let ce=(()=>{class _t{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=(0,t.f3M)(ye,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(St){this._disableRipple=(0,e.Ig)(St)}get disabled(){return this._disabled}set disabled(St){this._disabled=(0,e.Ig)(St)}}return _t.\u0275fac=function(St){return new(St||_t)},_t.\u0275dir=t.lG2({type:_t,hostVars:1,hostBindings:function(St,ke){2&St&&t.uIk("aria-disabled",ke.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"}}),_t})(),ve=(()=>{class _t{set lines(St){this._explicitLines=(0,e.su)(St,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(St){this._disableRipple=(0,e.Ig)(St)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(St){this._disabled=(0,e.Ig)(St)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(St,ke,He,wt,W,Fe){this._elementRef=St,this._ngZone=ke,this._listBase=He,this._platform=wt,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new s.w0,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=W||{},this._hostElement=this._elementRef.nativeElement,this._noopAnimations="NoopAnimations"===Fe,He&&!He._isNonInteractive&&this._initInteractiveListItem(),"button"===this._hostElement.nodeName.toLowerCase()&&!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 I.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(St){if(!this._lines||!this._titles||!this._unscopedContent)return;St&&this._checkDomForUnscopedTextContent();const ke=this._explicitLines??this._inferLinesFromContent(),He=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",ke<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",ke<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",2===ke),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",3===ke),this._hasUnscopedTextContent){const wt=0===this._titles.length&&1===ke;He.classList.toggle("mdc-list-item__primary-text",wt),He.classList.toggle("mdc-list-item__secondary-text",!wt)}else He.classList.remove("mdc-list-item__primary-text"),He.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let St=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(St+=1),St}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(St=>St.nodeType!==St.COMMENT_NODE).some(St=>!(!St.textContent||!St.textContent.trim()))}}return _t.\u0275fac=function(St){return new(St||_t)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(ce,8),t.Y36(b.t4),t.Y36(I.Y2,8),t.Y36(t.QbO,8))},_t.\u0275dir=t.lG2({type:_t,contentQueries:function(St,ke,He){if(1&St&&(t.Suo(He,ze,4),t.Suo(He,Le,4)),2&St){let wt;t.iGM(wt=t.CRH())&&(ke._avatars=wt),t.iGM(wt=t.CRH())&&(ke._icons=wt)}},hostVars:3,hostBindings:function(St,ke){2&St&&(t.uIk("aria-disabled",ke.disabled),t.ekj("mdc-list-item--disabled",ke.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"}}),_t})(),de=(()=>{class _t extends ce{}return _t.\u0275fac=function(){let lt;return function(ke){return(lt||(lt=t.n5z(_t)))(ke||_t)}}(),_t.\u0275cmp=t.Xpm({type:_t,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],features:[t._Bn([{provide:ce,useExisting:_t}]),t.qOj],ngContentSelectors:U,decls:1,vars:0,template:function(St,ke){1&St&&(t.F$t(),t.Hsn(0))},styles:['.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-icon .mdc-list-item__start{width:24px;height:24px}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-image .mdc-list-item__start{width:56px;height:56px}.mdc-list-item--with-leading-video .mdc-list-item__start{width:100px;height:56px}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-radio .mdc-list-item__start{width:40px;height:40px}.mdc-list-item--with-leading-switch .mdc-list-item__start{width:36px;height:20px}.mdc-list-item--with-trailing-icon .mdc-list-item__end{width:24px;height:24px}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-radio .mdc-list-item__end{width:40px;height:40px}.mdc-list-item--with-trailing-switch .mdc-list-item__end{width:36px;height:20px}.mdc-list-divider{height:1px}@media screen and (forced-colors: active),(-ms-high-contrast: active){.mdc-list-divider::after{content:"";display:block;border-bottom-width:1px;border-bottom-style:solid}}.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item__wrapper{display:block}.mdc-list-item{display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer}.mdc-list-item:focus{outline:none}.mdc-list-item.mdc-list-item--with-one-line{height:48px}.mdc-list-item.mdc-list-item--with-two-lines{height:64px}.mdc-list-item.mdc-list-item--with-three-lines{height:88px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--disabled,.mdc-list-item.mdc-list-item--non-interactive{cursor:auto}.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item:not(.mdc-list-item--selected):focus::before,.mdc-list-item.mdc-ripple-upgraded--background-focused::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px double rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected::before{border-color:CanvasText}}.mdc-list-item.mdc-list-item--selected:focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:3px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-list-item.mdc-list-item--selected:focus::before{border-color:CanvasText}}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__content[for]{pointer-events:none}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item__overline-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start,.mdc-list-item--with-leading-avatar .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-avatar.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-avatar .mdc-list-item__start{border-radius:50%}.mdc-list-item--with-leading-icon.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start,.mdc-list-item--with-leading-icon .mdc-list-item__start[dir=rtl]{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-icon.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-thumbnail.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-thumbnail.mdc-list-item,.mdc-list-item--with-leading-thumbnail.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-thumbnail .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-thumbnail .mdc-list-item__start,.mdc-list-item--with-leading-thumbnail .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-thumbnail.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-image.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-image.mdc-list-item,.mdc-list-item--with-leading-image.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-image .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-image .mdc-list-item__start,.mdc-list-item--with-leading-image .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-image.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-image.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-video.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-video.mdc-list-item,.mdc-list-item--with-leading-video.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-video .mdc-list-item__start{margin-left:0;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-video .mdc-list-item__start,.mdc-list-item--with-leading-video .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-video.mdc-list-item--with-one-line{height:72px}.mdc-list-item--with-leading-video.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-checkbox.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-radio.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-radio.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-radio .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-radio .mdc-list-item__start[dir=rtl]{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-leading-switch.mdc-list-item{padding-left:0;padding-right:auto}[dir=rtl] .mdc-list-item--with-leading-switch.mdc-list-item,.mdc-list-item--with-leading-switch.mdc-list-item[dir=rtl]{padding-left:auto;padding-right:0}.mdc-list-item--with-leading-switch .mdc-list-item__start{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-leading-switch .mdc-list-item__start,.mdc-list-item--with-leading-switch .mdc-list-item__start[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines .mdc-list-item__overline-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-switch.mdc-list-item--with-one-line{height:56px}.mdc-list-item--with-leading-switch.mdc-list-item--with-two-lines{height:72px}.mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item,.mdc-list-item--with-trailing-icon.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-icon .mdc-list-item__end,.mdc-list-item--with-trailing-icon .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item,.mdc-list-item--with-trailing-meta.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-trailing-meta .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-radio.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-radio .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-radio .mdc-list-item__end[dir=rtl]{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-switch.mdc-list-item{padding-left:auto;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-switch.mdc-list-item,.mdc-list-item--with-trailing-switch.mdc-list-item[dir=rtl]{padding-left:0;padding-right:auto}.mdc-list-item--with-trailing-switch .mdc-list-item__end{margin-left:16px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-switch .mdc-list-item__end,.mdc-list-item--with-trailing-switch .mdc-list-item__end[dir=rtl]{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-switch.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-overline.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item{padding-left:16px;padding-right:16px}[dir=rtl] .mdc-list-item,.mdc-list-item[dir=rtl]{padding-left:16px;padding-right:16px}.mdc-list-group .mdc-deprecated-list{padding:0}.mdc-list-group__subheader{margin:calc((3rem - 1.5rem)/2) 16px}.mdc-list-divider{padding:0;background-clip:content-box}.mdc-list-divider.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset{padding-left:16px;padding-right:auto}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset,.mdc-list-divider.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-leading-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:16px}.mdc-list-divider.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset{padding-left:auto;padding-right:16px}[dir=rtl] .mdc-list-divider.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset,[dir=rtl] .mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset,.mdc-list-divider.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-text.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-icon.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-image.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-thumbnail.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-avatar.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-checkbox.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-switch.mdc-list-divider--with-trailing-inset[dir=rtl],.mdc-list-divider--with-leading-radio.mdc-list-divider--with-trailing-inset[dir=rtl]{padding-left:16px;padding-right:auto}.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset{padding-left:0px;padding-right:auto}[dir=rtl] .mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset,.mdc-list-divider--with-leading-video.mdc-list-divider--with-leading-inset[dir=rtl]{padding-left:auto;padding-right:0px}[dir=rtl] .mdc-list-divider,.mdc-list-divider[dir=rtl]{padding:0}.cdk-high-contrast-active a.mdc-list-item--activated::after{content:"";position:absolute;top:50%;right:16px;transform:translateY(-50%);width:10px;height:0;border-bottom:solid 10px;border-radius:10px}.cdk-high-contrast-active a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}'],encapsulation:2,changeDetection:0}),_t})(),Ce=(()=>{class _t extends ve{get activated(){return this._activated}set activated(St){this._activated=(0,e.Ig)(St)}constructor(St,ke,He,wt,W,Fe){super(St,ke,He,wt,W,Fe),this._activated=!1}_getAriaCurrent(){return"A"===this._hostElement.nodeName&&this._activated?"page":null}}return _t.\u0275fac=function(St){return new(St||_t)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(ce,8),t.Y36(b.t4),t.Y36(I.Y2,8),t.Y36(t.QbO,8))},_t.\u0275cmp=t.Xpm({type:_t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(St,ke,He){if(1&St&&(t.Suo(He,De,5),t.Suo(He,X,5),t.Suo(He,tt,5)),2&St){let wt;t.iGM(wt=t.CRH())&&(ke._lines=wt),t.iGM(wt=t.CRH())&&(ke._titles=wt),t.iGM(wt=t.CRH())&&(ke._meta=wt)}},viewQuery:function(St,ke){if(1&St&&(t.Gf(K,5),t.Gf($,5)),2&St){let He;t.iGM(He=t.CRH())&&(ke._unscopedContent=He.first),t.iGM(He=t.CRH())&&(ke._itemText=He.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:11,hostBindings:function(St,ke){2&St&&(t.uIk("aria-current",ke._getAriaCurrent()),t.ekj("mdc-list-item--activated",ke.activated)("mdc-list-item--with-leading-avatar",0!==ke._avatars.length)("mdc-list-item--with-leading-icon",0!==ke._icons.length)("mdc-list-item--with-trailing-meta",0!==ke._meta.length)("_mat-animation-noopable",ke._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],features:[t.qOj],ngContentSelectors:ue,decls:10,vars:0,consts:[[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],["unscopedContent",""],[1,"mat-mdc-focus-indicator"]],template:function(St,ke){1&St&&(t.F$t(ie),t.Hsn(0),t.TgZ(1,"span",0),t.Hsn(2,1),t.Hsn(3,2),t.TgZ(4,"span",1,2),t.NdJ("cdkObserveContent",function(){return ke._updateItemLines(!0)}),t.Hsn(6,3),t.qZA()(),t.Hsn(7,4),t.Hsn(8,5),t._UZ(9,"div",3))},dependencies:[P.wD],encapsulation:2,changeDetection:0}),_t})(),At=(()=>{class _t{}return _t.\u0275fac=function(St){return new(St||_t)},_t.\u0275mod=t.oAB({type:_t}),_t.\u0275inj=t.cJS({imports:[P.Q8,d.ez,I.BQ,I.si,I.us,S.t]}),_t})()},8255:(Ue,q,p)=>{"use strict";p.d(q,{OP:()=>y,Tx:()=>te,VK:()=>ye,p6:()=>Ce});var t=p(4650),e=p(4761),b=p(1281),I=p(9521),s=p(7579),C=p(6451),h=p(727),P=p(9646),d=p(3101),S=p(8675),w=p(3900),O=p(5698),E=p(2722),R=p(9300),z=p(4086),U=p(3238),Y=p(6895),K=p(4080),$=p(7340),ie=p(445),ue=p(8184),he=p(3353),ne=p(531);const le=["mat-menu-item",""];function ee(Ze,Ge){1&Ze&&(t.O4$(),t.TgZ(0,"svg",3),t._UZ(1,"polygon",4),t.qZA())}const me=[[["mat-icon"],["","matMenuItemIcon",""]],"*"],A=["mat-icon, [matMenuItemIcon]","*"];function i(Ze,Ge){if(1&Ze){const ae=t.EpF();t.TgZ(0,"div",0),t.NdJ("keydown",function(pt){t.CHM(ae);const $e=t.oxw();return t.KtG($e._handleKeydown(pt))})("click",function(){t.CHM(ae);const pt=t.oxw();return t.KtG(pt.closed.emit("click"))})("@transformMenu.start",function(pt){t.CHM(ae);const $e=t.oxw();return t.KtG($e._onAnimationStart(pt))})("@transformMenu.done",function(pt){t.CHM(ae);const $e=t.oxw();return t.KtG($e._onAnimationDone(pt))}),t.TgZ(1,"div",1),t.Hsn(2),t.qZA()()}if(2&Ze){const ae=t.oxw();t.Q6J("id",ae.panelId)("ngClass",ae._classList)("@transformMenu",ae._panelAnimationState),t.uIk("aria-label",ae.ariaLabel||null)("aria-labelledby",ae.ariaLabelledby||null)("aria-describedby",ae.ariaDescribedby||null)}}const a=["*"],u=new t.OlP("MAT_MENU_PANEL"),l=(0,U.Kr)((0,U.Id)(class{}));let y=(()=>{class Ze extends l{constructor(ae,ge,pt,$e,ut){super(),this._elementRef=ae,this._document=ge,this._focusMonitor=pt,this._parentMenu=$e,this._changeDetectorRef=ut,this.role="menuitem",this._hovered=new s.x,this._focused=new s.x,this._highlighted=!1,this._triggersSubmenu=!1,$e?.addItem?.(this)}focus(ae,ge){this._focusMonitor&&ae?this._focusMonitor.focusVia(this._getHostElement(),ae,ge):this._getHostElement().focus(ge),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(ae){this.disabled&&(ae.preventDefault(),ae.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){const ae=this._elementRef.nativeElement.cloneNode(!0),ge=ae.querySelectorAll("mat-icon, .material-icons");for(let pt=0;pt<ge.length;pt++)ge[pt].remove();return ae.textContent?.trim()||""}_setHighlighted(ae){this._highlighted=ae,this._changeDetectorRef?.markForCheck()}_setTriggersSubmenu(ae){this._triggersSubmenu=ae,this._changeDetectorRef?.markForCheck()}_hasFocus(){return this._document&&this._document.activeElement===this._getHostElement()}}return Ze.\u0275fac=function(ae){return new(ae||Ze)(t.Y36(t.SBq),t.Y36(Y.K0),t.Y36(e.tE),t.Y36(u,8),t.Y36(t.sBO))},Ze.\u0275cmp=t.Xpm({type:Ze,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-mdc-menu-item","mat-mdc-focus-indicator","mdc-list-item"],hostVars:8,hostBindings:function(ae,ge){1&ae&&t.NdJ("click",function($e){return ge._checkDisabled($e)})("mouseenter",function(){return ge._handleMouseEnter()}),2&ae&&(t.uIk("role",ge.role)("tabindex",ge._getTabIndex())("aria-disabled",ge.disabled)("disabled",ge.disabled||null),t.ekj("mat-mdc-menu-item-highlighted",ge._highlighted)("mat-mdc-menu-item-submenu-trigger",ge._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[t.qOj],attrs:le,ngContentSelectors:A,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(ae,ge){1&ae&&(t.F$t(me),t.Hsn(0),t.TgZ(1,"span",0),t.Hsn(2,1),t.qZA(),t._UZ(3,"div",1),t.YNc(4,ee,2,0,"svg",2)),2&ae&&(t.xp6(3),t.Q6J("matRippleDisabled",ge.disableRipple||ge.disabled)("matRippleTrigger",ge._getHostElement()),t.xp6(1),t.Q6J("ngIf",ge._triggersSubmenu))},dependencies:[Y.O5,U.wG],encapsulation:2,changeDetection:0}),Ze})();const n=new t.OlP("MatMenuContent"),V={transformMenu:(0,$.X$)("transformMenu",[(0,$.SB)("void",(0,$.oB)({opacity:0,transform:"scale(0.8)"})),(0,$.eR)("void => enter",(0,$.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,$.oB)({opacity:1,transform:"scale(1)"}))),(0,$.eR)("* => void",(0,$.jt)("100ms 25ms linear",(0,$.oB)({opacity:0})))]),fadeInItems:(0,$.X$)("fadeInItems",[(0,$.SB)("showing",(0,$.oB)({opacity:1})),(0,$.eR)("void => *",[(0,$.oB)({opacity:0}),(0,$.jt)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let tt=0;const je=new t.OlP("mat-menu-default-options",{providedIn:"root",factory:function ze(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}});let Le=(()=>{class Ze{get xPosition(){return this._xPosition}set xPosition(ae){this._xPosition=ae,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(ae){this._yPosition=ae,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(ae){this._overlapTrigger=(0,b.Ig)(ae)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(ae){this._hasBackdrop=(0,b.Ig)(ae)}set panelClass(ae){const ge=this._previousPanelClass;ge&&ge.length&&ge.split(" ").forEach(pt=>{this._classList[pt]=!1}),this._previousPanelClass=ae,ae&&ae.length&&(ae.split(" ").forEach(pt=>{this._classList[pt]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(ae){this.panelClass=ae}constructor(ae,ge,pt,$e){this._elementRef=ae,this._ngZone=ge,this._defaultOptions=pt,this._changeDetectorRef=$e,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-"+tt++}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,S.O)(this._directDescendantItems),(0,w.w)(ae=>(0,C.T)(...ae.map(ge=>ge._focused)))).subscribe(ae=>this._keyManager.updateActiveItem(ae)),this._directDescendantItems.changes.subscribe(ae=>{const ge=this._keyManager;if("enter"===this._panelAnimationState&&ge.activeItem?._hasFocus()){const pt=ae.toArray(),$e=Math.max(0,Math.min(pt.length-1,ge.activeItemIndex||0));pt[$e]&&!pt[$e].disabled?ge.setActiveItem($e):ge.setNextItemActive()}})}ngOnDestroy(){this._keyManager?.destroy(),this._directDescendantItems.destroy(),this.closed.complete(),this._firstItemFocusSubscription?.unsubscribe()}_hovered(){return this._directDescendantItems.changes.pipe((0,S.O)(this._directDescendantItems),(0,w.w)(ge=>(0,C.T)(...ge.map(pt=>pt._hovered))))}addItem(ae){}removeItem(ae){}_handleKeydown(ae){const ge=ae.keyCode,pt=this._keyManager;switch(ge){case I.hY:(0,I.Vb)(ae)||(ae.preventDefault(),this.closed.emit("keydown"));break;case I.oh:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case I.SV:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(ge===I.LH||ge===I.JH)&&pt.setFocusOrigin("keyboard"),void pt.onKeydown(ae)}ae.stopPropagation()}focusFirstItem(ae="program"){this._firstItemFocusSubscription?.unsubscribe(),this._firstItemFocusSubscription=this._ngZone.onStable.pipe((0,O.q)(1)).subscribe(()=>{let ge=null;if(this._directDescendantItems.length&&(ge=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!ge||!ge.contains(document.activeElement)){const pt=this._keyManager;pt.setFocusOrigin(ae).setFirstItemActive(),!pt.activeItem&&ge&&ge.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(ae){const ge=Math.min(this._baseElevation+ae,24),pt=`${this._elevationPrefix}${ge}`,$e=Object.keys(this._classList).find(ut=>ut.startsWith(this._elevationPrefix));(!$e||$e===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[pt]=!0,this._previousElevation=pt)}setPositionClasses(ae=this.xPosition,ge=this.yPosition){const pt=this._classList;pt["mat-menu-before"]="before"===ae,pt["mat-menu-after"]="after"===ae,pt["mat-menu-above"]="above"===ge,pt["mat-menu-below"]="below"===ge,this._changeDetectorRef?.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(ae){this._animationDone.next(ae),this._isAnimating=!1}_onAnimationStart(ae){this._isAnimating=!0,"enter"===ae.toState&&0===this._keyManager.activeItemIndex&&(ae.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe((0,S.O)(this._allItems)).subscribe(ae=>{this._directDescendantItems.reset(ae.filter(ge=>ge._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return Ze.\u0275fac=function(ae){return new(ae||Ze)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(je),t.Y36(t.sBO))},Ze.\u0275dir=t.lG2({type:Ze,contentQueries:function(ae,ge,pt){if(1&ae&&(t.Suo(pt,n,5),t.Suo(pt,y,5),t.Suo(pt,y,4)),2&ae){let $e;t.iGM($e=t.CRH())&&(ge.lazyContent=$e.first),t.iGM($e=t.CRH())&&(ge._allItems=$e),t.iGM($e=t.CRH())&&(ge.items=$e)}},viewQuery:function(ae,ge){if(1&ae&&t.Gf(t.Rgc,5),2&ae){let pt;t.iGM(pt=t.CRH())&&(ge.templateRef=pt.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"}}),Ze})(),ye=(()=>{class Ze extends Le{constructor(ae,ge,pt,$e){super(ae,ge,pt,$e),this._elevationPrefix="mat-elevation-z",this._baseElevation=8}}return Ze.\u0275fac=function(ae){return new(ae||Ze)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(je),t.Y36(t.sBO))},Ze.\u0275cmp=t.Xpm({type:Ze,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(ae,ge){2&ae&&t.uIk("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[t._Bn([{provide:u,useExisting:Ze}]),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(ae,ge){1&ae&&(t.F$t(),t.YNc(0,i,3,6,"ng-template"))},dependencies:[Y.mk],styles:['.mdc-menu-surface{display:none;position:absolute;box-sizing:border-box;max-width:var(--mdc-menu-max-width, calc(100vw - 32px));max-height:var(--mdc-menu-max-height, calc(100vh - 32px));margin:0;padding:0;transform:scale(1);transform-origin:top left;opacity:0;overflow:auto;will-change:transform,opacity;z-index:8;border-radius:var(--mdc-shape-medium, 4px);transform-origin-left:top left;transform-origin-right:top right}.mdc-menu-surface:focus{outline:none}.mdc-menu-surface--animating-open{display:inline-block;transform:scale(0.8);opacity:0}.mdc-menu-surface--open{display:inline-block;transform:scale(1);opacity:1}.mdc-menu-surface--animating-closed{display:inline-block;opacity:0}[dir=rtl] .mdc-menu-surface,.mdc-menu-surface[dir=rtl]{transform-origin-left:top right;transform-origin-right:top left}.mdc-menu-surface--anchor{position:relative;overflow:visible}.mdc-menu-surface--fixed{position:fixed}.mdc-menu-surface--fullwidth{width:100%}mat-menu{display:none}.mat-mdc-menu-content{margin:0;padding:8px 0;list-style-type:none}.mat-mdc-menu-content:focus{outline:none}.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:[V.transformMenu,V.fadeInItems]},changeDetection:0}),Ze})();const ce=new t.OlP("mat-menu-scroll-strategy"),oe={provide:ce,deps:[ue.aV],useFactory:function ve(Ze){return()=>Ze.scrollStrategies.reposition()}},Ke=(0,he.i$)({passive:!0});let de=(()=>{class Ze{get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(ae){this.menu=ae}get menu(){return this._menu}set menu(ae){ae!==this._menu&&(this._menu=ae,this._menuCloseSubscription.unsubscribe(),ae&&(this._menuCloseSubscription=ae.close.subscribe(ge=>{this._destroyMenu(ge),("click"===ge||"tab"===ge)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(ge)})),this._menuItemInstance?._setTriggersSubmenu(this.triggersSubmenu()))}constructor(ae,ge,pt,$e,ut,At,_t,lt,St){this._overlay=ae,this._element=ge,this._viewContainerRef=pt,this._menuItemInstance=At,this._dir=_t,this._focusMonitor=lt,this._ngZone=St,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=ke=>{(0,e.yG)(ke)||(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=$e,this._parentMaterialMenu=ut instanceof Le?ut:void 0,ge.nativeElement.addEventListener("touchstart",this._handleTouchStart,Ke)}ngAfterContentInit(){this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Ke),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!!(this._menuItemInstance&&this._parentMaterialMenu&&this.menu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){const ae=this.menu;if(this._menuOpen||!ae)return;const ge=this._createOverlay(ae),pt=ge.getConfig(),$e=pt.positionStrategy;this._setPosition(ae,$e),pt.hasBackdrop=null==ae.hasBackdrop?!this.triggersSubmenu():ae.hasBackdrop,ge.attach(this._getPortal(ae)),ae.lazyContent&&ae.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(ae),ae instanceof Le&&(ae._startAnimation(),ae._directDescendantItems.changes.pipe((0,E.R)(ae.close)).subscribe(()=>{$e.withLockedPosition(!1).reapplyLastPosition(),$e.withLockedPosition(!0)}))}closeMenu(){this.menu?.close.emit()}focus(ae,ge){this._focusMonitor&&ae?this._focusMonitor.focusVia(this._element,ae,ge):this._element.nativeElement.focus(ge)}updatePosition(){this._overlayRef?.updatePosition()}_destroyMenu(ae){if(!this._overlayRef||!this.menuOpen)return;const ge=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===ae||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,ge instanceof Le?(ge._resetAnimation(),ge.lazyContent?ge._animationDone.pipe((0,R.h)(pt=>"void"===pt.toState),(0,O.q)(1),(0,E.R)(ge.lazyContent._attached)).subscribe({next:()=>ge.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),ge?.lazyContent?.detach())}_initMenu(ae){ae.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,ae.direction=this.dir,this._setMenuElevation(ae),ae.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(ae){if(ae.setElevation){let ge=0,pt=ae.parentMenu;for(;pt;)ge++,pt=pt.parentMenu;ae.setElevation(ge)}}_setIsMenuOpen(ae){ae!==this._menuOpen&&(this._menuOpen=ae,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(ae),this._changeDetectorRef.markForCheck())}_createOverlay(ae){if(!this._overlayRef){const ge=this._getOverlayConfig(ae);this._subscribeToPositions(ae,ge.positionStrategy),this._overlayRef=this._overlay.create(ge),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(ae){return new ue.X_({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:ae.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:ae.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(ae,ge){ae.setPositionClasses&&ge.positionChanges.subscribe(pt=>{const $e="start"===pt.connectionPair.overlayX?"after":"before",ut="top"===pt.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>ae.setPositionClasses($e,ut)):ae.setPositionClasses($e,ut)})}_setPosition(ae,ge){let[pt,$e]="before"===ae.xPosition?["end","start"]:["start","end"],[ut,At]="above"===ae.yPosition?["bottom","top"]:["top","bottom"],[_t,lt]=[ut,At],[St,ke]=[pt,$e],He=0;if(this.triggersSubmenu()){if(ke=pt="before"===ae.xPosition?"start":"end",$e=St="end"===pt?"start":"end",this._parentMaterialMenu){if(null==this._parentInnerPadding){const wt=this._parentMaterialMenu.items.first;this._parentInnerPadding=wt?wt._getHostElement().offsetTop:0}He="bottom"===ut?this._parentInnerPadding:-this._parentInnerPadding}}else ae.overlapTrigger||(_t="top"===ut?"bottom":"top",lt="top"===At?"bottom":"top");ge.withPositions([{originX:pt,originY:_t,overlayX:St,overlayY:ut,offsetY:He},{originX:$e,originY:_t,overlayX:ke,overlayY:ut,offsetY:He},{originX:pt,originY:lt,overlayX:St,overlayY:At,offsetY:-He},{originX:$e,originY:lt,overlayX:ke,overlayY:At,offsetY:-He}])}_menuClosingActions(){const ae=this._overlayRef.backdropClick(),ge=this._overlayRef.detachments(),pt=this._parentMaterialMenu?this._parentMaterialMenu.closed:(0,P.of)(),$e=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe((0,R.h)(ut=>ut!==this._menuItemInstance),(0,R.h)(()=>this._menuOpen)):(0,P.of)();return(0,C.T)(ae,pt,$e,ge)}_handleMousedown(ae){(0,e.X6)(ae)||(this._openedBy=0===ae.button?"mouse":void 0,this.triggersSubmenu()&&ae.preventDefault())}_handleKeydown(ae){const ge=ae.keyCode;(ge===I.K5||ge===I.L_)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(ge===I.SV&&"ltr"===this.dir||ge===I.oh&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(ae){this.triggersSubmenu()?(ae.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe((0,R.h)(ae=>ae===this._menuItemInstance&&!ae.disabled),(0,z.g)(0,d.E)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Le&&this.menu._isAnimating?this.menu._animationDone.pipe((0,O.q)(1),(0,z.g)(0,d.E),(0,E.R)(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(ae){return(!this._portal||this._portal.templateRef!==ae.templateRef)&&(this._portal=new K.UE(ae.templateRef,this._viewContainerRef)),this._portal}}return Ze.\u0275fac=function(ae){return new(ae||Ze)(t.Y36(ue.aV),t.Y36(t.SBq),t.Y36(t.s_b),t.Y36(ce),t.Y36(u,8),t.Y36(y,10),t.Y36(ie.Is,8),t.Y36(e.tE),t.Y36(t.R0b))},Ze.\u0275dir=t.lG2({type:Ze,hostVars:3,hostBindings:function(ae,ge){1&ae&&t.NdJ("click",function($e){return ge._handleClick($e)})("mousedown",function($e){return ge._handleMousedown($e)})("keydown",function($e){return ge._handleKeydown($e)}),2&ae&&t.uIk("aria-haspopup",ge.menu?"menu":null)("aria-expanded",ge.menuOpen)("aria-controls",ge.menuOpen?ge.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"}}),Ze})(),Ce=(()=>{class Ze extends de{}return Ze.\u0275fac=function(){let Ge;return function(ge){return(Ge||(Ge=t.n5z(Ze)))(ge||Ze)}}(),Ze.\u0275dir=t.lG2({type:Ze,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-mdc-menu-trigger"],exportAs:["matMenuTrigger"],features:[t.qOj]}),Ze})(),te=(()=>{class Ze{}return Ze.\u0275fac=function(ae){return new(ae||Ze)},Ze.\u0275mod=t.oAB({type:Ze}),Ze.\u0275inj=t.cJS({providers:[oe],imports:[Y.ez,U.si,U.BQ,ue.U8,ne.ZD,U.BQ]}),Ze})()},8739:(Ue,q,p)=>{"use strict";p.d(q,{NW:()=>ee,TU:()=>me,ye:()=>U});var t=p(6895),e=p(4650),b=p(7579),I=p(4859),s=p(4385),C=p(266),h=p(3238),P=p(1281),d=p(9549);function S(A,i){if(1&A&&(e.TgZ(0,"mat-option",19),e._uU(1),e.qZA()),2&A){const a=i.$implicit;e.Q6J("value",a),e.xp6(1),e.hij(" ",a," ")}}function w(A,i){if(1&A){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,S,2,2,"mat-option",18),e.qZA()()}if(2&A){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 O(A,i){if(1&A&&(e.TgZ(0,"div",20),e._uU(1),e.qZA()),2&A){const a=e.oxw(2);e.xp6(1),e.Oqu(a.pageSize)}}function E(A,i){if(1&A&&(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,O,2,1,"div",15),e.qZA()),2&A){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 R(A,i){if(1&A){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&A){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 z(A,i){if(1&A){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&A){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 U=(()=>{class A{constructor(){this.changes=new b.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,u,l)=>{if(0==l||0==u)return`0 of ${l}`;const y=a*u;return`${y+1} \u2013 ${y<(l=Math.max(l,0))?Math.min(y+u,l):y+u} of ${l}`}}}return A.\u0275fac=function(a){return new(a||A)},A.\u0275prov=e.Yz7({token:A,factory:A.\u0275fac,providedIn:"root"}),A})();const K={provide:U,deps:[[new e.FiY,new e.tp0,U]],useFactory:function Y(A){return A||new U}},ue=new e.OlP("MAT_PAGINATOR_DEFAULT_OPTIONS"),he=(0,h.Id)((0,h.dB)(class{}));let ne=(()=>{class A extends he{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(u=>(0,P.su)(u)),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,u,l){if(super(),this._intl=a,this._changeDetectorRef=u,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:T,hidePageSize:D,showFirstLastButtons:m}=l;null!=y&&(this._pageSize=y),null!=T&&(this._pageSizeOptions=T),null!=D&&(this._hidePageSize=D),null!=m&&(this._showFirstLastButtons=m)}}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,u)=>a-u),this._changeDetectorRef.markForCheck())}_emitPageEvent(a){this.page.emit({previousPageIndex:a,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return A.\u0275fac=function(a){e.$Z()},A.\u0275dir=e.lG2({type:A,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons",selectConfig:"selectConfig"},outputs:{page:"page"},features:[e.qOj]}),A})(),le=0,ee=(()=>{class A extends ne{constructor(a,u,l){super(a,u,l),this._pageSizeLabelId="mat-paginator-page-size-label-"+le++,this._formFieldAppearance=l?.formFieldAppearance||"outline"}}return A.\u0275fac=function(a){return new(a||A)(e.Y36(U),e.Y36(e.sBO),e.Y36(ue,8))},A.\u0275cmp=e.Xpm({type:A,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[e.qOj],decls:14,vars:14,consts:[[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],["class","mat-mdc-paginator-page-size",4,"ngIf"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-mdc-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-page-size-label",3,"id"],["class","mat-mdc-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-mdc-paginator-page-size-value",4,"ngIf"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-labelledby","panelClass","disableOptionCentering","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-mdc-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(a,u){1&a&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,E,5,4,"div",2),e.TgZ(3,"div",3)(4,"div",4),e._uU(5),e.qZA(),e.YNc(6,R,3,5,"button",5),e.TgZ(7,"button",6),e.NdJ("click",function(){return u.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 u.nextPage()}),e.O4$(),e.TgZ(11,"svg",7),e._UZ(12,"path",10),e.qZA()(),e.YNc(13,z,3,5,"button",11),e.qZA()()()),2&a&&(e.xp6(2),e.Q6J("ngIf",!u.hidePageSize),e.xp6(3),e.hij(" ",u._intl.getRangeLabel(u.pageIndex,u.pageSize,u.length)," "),e.xp6(1),e.Q6J("ngIf",u.showFirstLastButtons),e.xp6(1),e.Q6J("matTooltip",u._intl.previousPageLabel)("matTooltipDisabled",u._previousButtonsDisabled())("matTooltipPosition","above")("disabled",u._previousButtonsDisabled()),e.uIk("aria-label",u._intl.previousPageLabel),e.xp6(3),e.Q6J("matTooltip",u._intl.nextPageLabel)("matTooltipDisabled",u._nextButtonsDisabled())("matTooltipPosition","above")("disabled",u._nextButtonsDisabled()),e.uIk("aria-label",u._intl.nextPageLabel),e.xp6(3),e.Q6J("ngIf",u.showFirstLastButtons))},dependencies:[t.sg,t.O5,I.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}),A})(),me=(()=>{class A{}return A.\u0275fac=function(a){return new(a||A)},A.\u0275mod=e.oAB({type:A}),A.\u0275inj=e.cJS({providers:[K],imports:[t.ez,I.ot,s.LD,C.AV]}),A})()},3162:(Ue,q,p)=>{"use strict";p.d(q,{Cv:()=>w,pW:()=>d});var t=p(4650),b=(p(6895),p(3238)),I=p(1281);const s=new t.OlP("MAT_PROGRESS_BAR_DEFAULT_OPTIONS"),P=(0,b.pj)(class{constructor(O){this._elementRef=O}},"primary");let d=(()=>{class O extends P{constructor(R,z,U,Y,K){super(R),this._ngZone=z,this._changeDetectorRef=U,this._animationMode=Y,this._isNoopAnimation=!1,this._value=0,this._bufferValue=0,this.animationEnd=new t.vpe,this._mode="determinate",this._transitionendHandler=$=>{0===this.animationEnd.observers.length||!$.target||!$.target.classList.contains("mdc-linear-progress__primary-bar")||("determinate"===this.mode||"buffer"===this.mode)&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation="NoopAnimations"===Y,K&&(K.color&&(this.color=this.defaultColor=K.color),this.mode=K.mode||this.mode)}get value(){return this._value}set value(R){this._value=S((0,I.su)(R)),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(R){this._bufferValue=S((0,I.su)(R)),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(R){this._mode=R,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${"buffer"===this.mode?this.bufferValue:100}%`}_isIndeterminate(){return"indeterminate"===this.mode||"query"===this.mode}}return O.\u0275fac=function(R){return new(R||O)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(t.QbO,8),t.Y36(s,8))},O.\u0275cmp=t.Xpm({type:O,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(R,z){2&R&&(t.uIk("aria-valuenow",z._isIndeterminate()?null:z.value)("mode",z.mode),t.ekj("_mat-animation-noopable",z._isNoopAnimation)("mdc-linear-progress--animation-ready",!z._isNoopAnimation)("mdc-linear-progress--indeterminate",z._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(R,z){1&R&&(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&R&&(t.xp6(1),t.Udp("flex-basis",z._getBufferBarFlexBasis()),t.xp6(2),t.Udp("transform",z._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}),O})();function S(O,E=0,R=100){return Math.max(E,Math.min(R,O))}let w=(()=>{class O{}return O.\u0275fac=function(R){return new(R||O)},O.\u0275mod=t.oAB({type:O}),O.\u0275inj=t.cJS({imports:[b.BQ]}),O})()},1572:(Ue,q,p)=>{"use strict";p.d(q,{Cq:()=>R,Ou:()=>O});var t=p(4650),e=p(3238),b=p(1281),I=p(6895);const s=["determinateSpinner"];function C(z,U){if(1&z&&(t.O4$(),t.TgZ(0,"svg",11),t._UZ(1,"circle",12),t.qZA()),2&z){const Y=t.oxw();t.uIk("viewBox",Y._viewBox()),t.xp6(1),t.Udp("stroke-dasharray",Y._strokeCircumference(),"px")("stroke-dashoffset",Y._strokeCircumference()/2,"px")("stroke-width",Y._circleStrokeWidth(),"%"),t.uIk("r",Y._circleRadius())}}const h=(0,e.pj)(class{constructor(z){this._elementRef=z}},"primary"),P=new t.OlP("mat-progress-spinner-default-options",{providedIn:"root",factory:function d(){return{diameter:S}}}),S=100;let O=(()=>{class z extends h{constructor(Y,K,$){super(Y),this.mode="mat-spinner"===this._elementRef.nativeElement.nodeName.toLowerCase()?"indeterminate":"determinate",this._value=0,this._diameter=S,this._noopAnimations="NoopAnimations"===K&&!!$&&!$._forceAnimations,$&&($.color&&(this.color=this.defaultColor=$.color),$.diameter&&(this.diameter=$.diameter),$.strokeWidth&&(this.strokeWidth=$.strokeWidth))}get value(){return"determinate"===this.mode?this._value:0}set value(Y){this._value=Math.max(0,Math.min(100,(0,b.su)(Y)))}get diameter(){return this._diameter}set diameter(Y){this._diameter=(0,b.su)(Y)}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(Y){this._strokeWidth=(0,b.su)(Y)}_circleRadius(){return(this.diameter-10)/2}_viewBox(){const Y=2*this._circleRadius()+this.strokeWidth;return`0 0 ${Y} ${Y}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return"determinate"===this.mode?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}}return z.\u0275fac=function(Y){return new(Y||z)(t.Y36(t.SBq),t.Y36(t.QbO,8),t.Y36(P))},z.\u0275cmp=t.Xpm({type:z,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(Y,K){if(1&Y&&t.Gf(s,5),2&Y){let $;t.iGM($=t.CRH())&&(K._determinateCircle=$.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:12,hostBindings:function(Y,K){2&Y&&(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(Y,K){if(1&Y&&(t.YNc(0,C,2,8,"ng-template",null,0,t.W1O),t.TgZ(2,"div",1,2),t.O4$(),t.TgZ(4,"svg",3),t._UZ(5,"circle",4),t.qZA()(),t.kcU(),t.TgZ(6,"div",5)(7,"div",6)(8,"div",7),t.GkF(9,8),t.qZA(),t.TgZ(10,"div",9),t.GkF(11,8),t.qZA(),t.TgZ(12,"div",10),t.GkF(13,8),t.qZA()()()),2&Y){const $=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",$),t.xp6(2),t.Q6J("ngTemplateOutlet",$),t.xp6(2),t.Q6J("ngTemplateOutlet",$)}},dependencies:[I.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}),z})(),R=(()=>{class z{}return z.\u0275fac=function(Y){return new(Y||z)},z.\u0275mod=t.oAB({type:z}),z.\u0275inj=t.cJS({imports:[I.ez,e.BQ]}),z})()},1948:(Ue,q,p)=>{"use strict";p.d(q,{Fk:()=>he,U0:()=>ue,VQ:()=>ie});var t=p(4650),e=p(3238),b=p(4761),I=p(1281),s=p(5017),C=p(4006),h=p(6895);const P=["input"],d=["*"];let S=0;class w{constructor(le,ee){this.source=le,this.value=ee}}const O={provide:C.JU,useExisting:(0,t.Gpc)(()=>ie),multi:!0},E=new t.OlP("MatRadioGroup"),R=new t.OlP("mat-radio-default-options",{providedIn:"root",factory:function z(){return{color:"accent"}}});let U=(()=>{class ne{get name(){return this._name}set name(ee){this._name=ee,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(ee){this._labelPosition="before"===ee?"before":"after",this._markRadiosForCheck()}get value(){return this._value}set value(ee){this._value!==ee&&(this._value=ee,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}_checkSelectedRadioButton(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}get selected(){return this._selected}set selected(ee){this._selected=ee,this.value=ee?ee.value:null,this._checkSelectedRadioButton()}get disabled(){return this._disabled}set disabled(ee){this._disabled=(0,I.Ig)(ee),this._markRadiosForCheck()}get required(){return this._required}set required(ee){this._required=(0,I.Ig)(ee),this._markRadiosForCheck()}constructor(ee){this._changeDetector=ee,this._value=null,this._name="mat-radio-group-"+S++,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(ee=>{ee.name=this.name,ee._markForCheck()})}_updateSelectedRadioFromValue(){this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(me=>{me.checked=this.value===me.value,me.checked&&(this._selected=me)}))}_emitChangeEvent(){this._isInitialized&&this.change.emit(new w(this._selected,this._value))}_markRadiosForCheck(){this._radios&&this._radios.forEach(ee=>ee._markForCheck())}writeValue(ee){this.value=ee,this._changeDetector.markForCheck()}registerOnChange(ee){this._controlValueAccessorChangeFn=ee}registerOnTouched(ee){this.onTouched=ee}setDisabledState(ee){this.disabled=ee,this._changeDetector.markForCheck()}}return ne.\u0275fac=function(ee){return new(ee||ne)(t.Y36(t.sBO))},ne.\u0275dir=t.lG2({type:ne,inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required"},outputs:{change:"change"}}),ne})();class Y{constructor(le){this._elementRef=le}}const K=(0,e.Kr)((0,e.sb)(Y));let $=(()=>{class ne extends K{get checked(){return this._checked}set checked(ee){const me=(0,I.Ig)(ee);this._checked!==me&&(this._checked=me,me&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!me&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),me&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(ee){this._value!==ee&&(this._value=ee,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===ee),this.checked&&(this.radioGroup.selected=this)))}get labelPosition(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"}set labelPosition(ee){this._labelPosition=ee}get disabled(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled}set disabled(ee){this._setDisabled((0,I.Ig)(ee))}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(ee){this._required=(0,I.Ig)(ee)}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"}set color(ee){this._color=ee}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(ee,me,A,i,a,u,l,y){super(me),this._changeDetector=A,this._focusMonitor=i,this._radioDispatcher=a,this._providerOverride=l,this._uniqueId="mat-radio-"+ ++S,this.id=this._uniqueId,this.change=new t.vpe,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this.radioGroup=ee,this._noopAnimations="NoopAnimations"===u,y&&(this.tabIndex=(0,I.su)(y,0))}focus(ee,me){me?this._focusMonitor.focusVia(this._inputElement,me,ee):this._inputElement.nativeElement.focus(ee)}_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((ee,me)=>{ee!==this.id&&me===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(ee=>{!ee&&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(ee){ee.stopPropagation()}_onInputInteraction(ee){if(ee.stopPropagation(),!this.checked&&!this.disabled){const me=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),me&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(ee){this._onInputInteraction(ee),this.disabled||this._inputElement.nativeElement.focus()}_setDisabled(ee){this._disabled!==ee&&(this._disabled=ee,this._changeDetector.markForCheck())}_updateTabIndex(){const ee=this.radioGroup;let me;if(me=ee&&ee.selected&&!this.disabled?ee.selected===this?this.tabIndex:-1:this.tabIndex,me!==this._previousTabIndex){const A=this._inputElement?.nativeElement;A&&(A.setAttribute("tabindex",me+""),this._previousTabIndex=me)}}}return ne.\u0275fac=function(ee){t.$Z()},ne.\u0275dir=t.lG2({type:ne,viewQuery:function(ee,me){if(1&ee&&t.Gf(P,5),2&ee){let A;t.iGM(A=t.CRH())&&(me._inputElement=A.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]}),ne})(),ie=(()=>{class ne extends U{}return ne.\u0275fac=function(){let le;return function(me){return(le||(le=t.n5z(ne)))(me||ne)}}(),ne.\u0275dir=t.lG2({type:ne,selectors:[["mat-radio-group"]],contentQueries:function(ee,me,A){if(1&ee&&t.Suo(A,ue,5),2&ee){let i;t.iGM(i=t.CRH())&&(me._radios=i)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],exportAs:["matRadioGroup"],features:[t._Bn([O,{provide:E,useExisting:ne}]),t.qOj]}),ne})(),ue=(()=>{class ne extends ${constructor(ee,me,A,i,a,u,l,y){super(ee,me,A,i,a,u,l,y)}}return ne.\u0275fac=function(ee){return new(ee||ne)(t.Y36(E,8),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(b.tE),t.Y36(s.A8),t.Y36(t.QbO,8),t.Y36(R,8),t.$8M("tabindex"))},ne.\u0275cmp=t.Xpm({type:ne,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-mdc-radio-button"],hostVars:15,hostBindings:function(ee,me){1&ee&&t.NdJ("focus",function(){return me._inputElement.nativeElement.focus()}),2&ee&&(t.uIk("id",me.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),t.ekj("mat-primary","primary"===me.color)("mat-accent","accent"===me.color)("mat-warn","warn"===me.color)("mat-mdc-radio-checked",me.checked)("_mat-animation-noopable",me._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(ee,me){if(1&ee&&(t.F$t(),t.TgZ(0,"div",0,1)(2,"div",2)(3,"div",3),t.NdJ("click",function(i){return me._onTouchTargetClick(i)}),t.qZA(),t.TgZ(4,"input",4,5),t.NdJ("change",function(i){return me._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&ee){const A=t.MAs(1);t.ekj("mdc-form-field--align-end","before"==me.labelPosition),t.xp6(2),t.ekj("mdc-radio--disabled",me.disabled),t.xp6(2),t.Q6J("id",me.inputId)("checked",me.checked)("disabled",me.disabled)("required",me.required),t.uIk("name",me.name)("value",me.value)("aria-label",me.ariaLabel)("aria-labelledby",me.ariaLabelledby)("aria-describedby",me.ariaDescribedby),t.xp6(5),t.Q6J("matRippleTrigger",A)("matRippleDisabled",me._isRippleDisabled())("matRippleCentered",!0),t.xp6(2),t.Q6J("for",me.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}),ne})(),he=(()=>{class ne{}return ne.\u0275fac=function(ee){return new(ee||ne)},ne.\u0275mod=t.oAB({type:ne}),ne.\u0275inj=t.cJS({imports:[e.BQ,h.ez,e.si,e.BQ]}),ne})()},4385:(Ue,q,p)=>{"use strict";p.d(q,{$L:()=>ye,LD:()=>ve,PG:()=>X,gD:()=>ce});var t=p(8184),e=p(6895),b=p(4650),I=p(3238),s=p(9549),C=p(531),h=p(4761),P=p(445),d=p(1281),S=p(5017),w=p(9521),O=p(4006),E=p(7579),R=p(9770),z=p(6451),U=p(8675),Y=p(3900),K=p(5698),$=p(9300),ie=p(4004),ue=p(1884),he=p(2722),ne=p(7340);const le=["trigger"],ee=["panel"];function me(oe,Ke){if(1&oe&&(b.TgZ(0,"span",10),b._uU(1),b.qZA()),2&oe){const Ae=b.oxw();b.xp6(1),b.Oqu(Ae.placeholder)}}function A(oe,Ke){if(1&oe&&(b.TgZ(0,"span",14),b._uU(1),b.qZA()),2&oe){const Ae=b.oxw(2);b.xp6(1),b.Oqu(Ae.triggerValue)}}function i(oe,Ke){1&oe&&b.Hsn(0,0,["*ngSwitchCase","true"])}function a(oe,Ke){if(1&oe&&(b.TgZ(0,"span",11),b.YNc(1,A,2,1,"span",12),b.YNc(2,i,1,0,"ng-content",13),b.qZA()),2&oe){const Ae=b.oxw();b.Q6J("ngSwitch",!!Ae.customTrigger),b.xp6(2),b.Q6J("ngSwitchCase",!0)}}function u(oe,Ke){if(1&oe){const Ae=b.EpF();b.O4$(),b.kcU(),b.TgZ(0,"div",15,16),b.NdJ("@transformPanel.done",function(Ce){b.CHM(Ae);const te=b.oxw();return b.KtG(te._panelDoneAnimatingStream.next(Ce.toState))})("keydown",function(Ce){b.CHM(Ae);const te=b.oxw();return b.KtG(te._handleKeydown(Ce))}),b.Hsn(2,1),b.qZA()}if(2&oe){const Ae=b.oxw();b.Gre("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",Ae._getPanelTheme(),""),b.Q6J("ngClass",Ae.panelClass)("@transformPanel","showing"),b.uIk("id",Ae.id+"-panel")("aria-multiselectable",Ae.multiple)("aria-label",Ae.ariaLabel||null)("aria-labelledby",Ae._getPanelAriaLabelledby())}}const l=[[["mat-select-trigger"]],"*"],y=["mat-select-trigger","*"],T={transformPanelWrap:(0,ne.X$)("transformPanelWrap",[(0,ne.eR)("* => void",(0,ne.IO)("@transformPanel",[(0,ne.pV)()],{optional:!0}))]),transformPanel:(0,ne.X$)("transformPanel",[(0,ne.SB)("void",(0,ne.oB)({opacity:0,transform:"scale(1, 0.8)"})),(0,ne.eR)("void => showing",(0,ne.jt)("120ms cubic-bezier(0, 0, 0.2, 1)",(0,ne.oB)({opacity:1,transform:"scale(1, 1)"}))),(0,ne.eR)("* => void",(0,ne.jt)("100ms linear",(0,ne.oB)({opacity:0})))])};let v=0;const B=new b.OlP("mat-select-scroll-strategy"),X=new b.OlP("MAT_SELECT_CONFIG"),De={provide:B,deps:[t.aV],useFactory:function V(oe){return()=>oe.scrollStrategies.reposition()}},tt=new b.OlP("MatSelectTrigger");class je{constructor(Ke,Ae){this.source=Ke,this.value=Ae}}const ze=(0,I.Kr)((0,I.sb)((0,I.Id)((0,I.FD)(class{constructor(oe,Ke,Ae,de,Ce){this._elementRef=oe,this._defaultErrorStateMatcher=Ke,this._parentForm=Ae,this._parentFormGroup=de,this.ngControl=Ce,this.stateChanges=new E.x}}))));let Le=(()=>{class oe extends ze{get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(Ae){this._placeholder=Ae,this.stateChanges.next()}get required(){return this._required??this.ngControl?.control?.hasValidator(O.kI.required)??!1}set required(Ae){this._required=(0,d.Ig)(Ae),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(Ae){this._multiple=(0,d.Ig)(Ae)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(Ae){this._disableOptionCentering=(0,d.Ig)(Ae)}get compareWith(){return this._compareWith}set compareWith(Ae){this._compareWith=Ae,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(Ae){this._assignValue(Ae)&&this._onChange(Ae)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(Ae){this._typeaheadDebounceInterval=(0,d.su)(Ae)}get id(){return this._id}set id(Ae){this._id=Ae||this._uid,this.stateChanges.next()}constructor(Ae,de,Ce,te,Ze,Ge,ae,ge,pt,$e,ut,At,_t,lt){super(Ze,te,ae,ge,$e),this._viewportRuler=Ae,this._changeDetectorRef=de,this._ngZone=Ce,this._dir=Ge,this._parentFormField=pt,this._liveAnnouncer=_t,this._defaultOptions=lt,this._panelOpen=!1,this._compareWith=(St,ke)=>St===ke,this._uid="mat-select-"+v++,this._triggerAriaLabelledBy=null,this._destroy=new E.x,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+v++,this._panelDoneAnimatingStream=new E.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,R.P)(()=>{const St=this.options;return St?St.changes.pipe((0,U.O)(St),(0,Y.w)(()=>(0,z.T)(...St.map(ke=>ke.onSelectionChange)))):this._ngZone.onStable.pipe((0,K.q)(1),(0,Y.w)(()=>this.optionSelectionChanges))}),this.openedChange=new b.vpe,this._openedStream=this.openedChange.pipe((0,$.h)(St=>St),(0,ie.U)(()=>{})),this._closedStream=this.openedChange.pipe((0,$.h)(St=>!St),(0,ie.U)(()=>{})),this.selectionChange=new b.vpe,this.valueChange=new b.vpe,this.ngControl&&(this.ngControl.valueAccessor=this),null!=lt?.typeaheadDebounceInterval&&(this._typeaheadDebounceInterval=lt.typeaheadDebounceInterval),this._scrollStrategyFactory=At,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(ut)||0,this.id=this.id}ngOnInit(){this._selectionModel=new S.Ov(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe((0,ue.x)(),(0,he.R)(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe((0,he.R)(this._destroy)).subscribe(Ae=>{Ae.added.forEach(de=>de.select()),Ae.removed.forEach(de=>de.deselect())}),this.options.changes.pipe((0,U.O)(null),(0,he.R)(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const Ae=this._getTriggerAriaLabelledby(),de=this.ngControl;if(Ae!==this._triggerAriaLabelledBy){const Ce=this._elementRef.nativeElement;this._triggerAriaLabelledBy=Ae,Ae?Ce.setAttribute("aria-labelledby",Ae):Ce.removeAttribute("aria-labelledby")}de&&(this._previousControl!==de.control&&(void 0!==this._previousControl&&null!==de.disabled&&de.disabled!==this.disabled&&(this.disabled=de.disabled),this._previousControl=de.control),this.updateErrorState())}ngOnChanges(Ae){(Ae.disabled||Ae.userAriaDescribedBy)&&this.stateChanges.next(),Ae.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(Ae){this._assignValue(Ae)}registerOnChange(Ae){this._onChange=Ae}registerOnTouched(Ae){this._onTouched=Ae}setDisabledState(Ae){this.disabled=Ae,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const Ae=this._selectionModel.selected.map(de=>de.viewValue);return this._isRtl()&&Ae.reverse(),Ae.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(Ae){this.disabled||(this.panelOpen?this._handleOpenKeydown(Ae):this._handleClosedKeydown(Ae))}_handleClosedKeydown(Ae){const de=Ae.keyCode,Ce=de===w.JH||de===w.LH||de===w.oh||de===w.SV,te=de===w.K5||de===w.L_,Ze=this._keyManager;if(!Ze.isTyping()&&te&&!(0,w.Vb)(Ae)||(this.multiple||Ae.altKey)&&Ce)Ae.preventDefault(),this.open();else if(!this.multiple){const Ge=this.selected;Ze.onKeydown(Ae);const ae=this.selected;ae&&Ge!==ae&&this._liveAnnouncer.announce(ae.viewValue,1e4)}}_handleOpenKeydown(Ae){const de=this._keyManager,Ce=Ae.keyCode,te=Ce===w.JH||Ce===w.LH,Ze=de.isTyping();if(te&&Ae.altKey)Ae.preventDefault(),this.close();else if(Ze||Ce!==w.K5&&Ce!==w.L_||!de.activeItem||(0,w.Vb)(Ae))if(!Ze&&this._multiple&&Ce===w.A&&Ae.ctrlKey){Ae.preventDefault();const Ge=this.options.some(ae=>!ae.disabled&&!ae.selected);this.options.forEach(ae=>{ae.disabled||(Ge?ae.select():ae.deselect())})}else{const Ge=de.activeItemIndex;de.onKeydown(Ae),this._multiple&&te&&Ae.shiftKey&&de.activeItem&&de.activeItemIndex!==Ge&&de.activeItem._selectViaInteraction()}else Ae.preventDefault(),de.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(Ae){if(this.options.forEach(de=>de.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&Ae)Array.isArray(Ae),Ae.forEach(de=>this._selectOptionByValue(de)),this._sortValues();else{const de=this._selectOptionByValue(Ae);de?this._keyManager.updateActiveItem(de):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(Ae){const de=this.options.find(Ce=>{if(this._selectionModel.isSelected(Ce))return!1;try{return null!=Ce.value&&this._compareWith(Ce.value,Ae)}catch{return!1}});return de&&this._selectionModel.select(de),de}_assignValue(Ae){return!!(Ae!==this._value||this._multiple&&Array.isArray(Ae))&&(this.options&&this._setSelectionByValue(Ae),this._value=Ae,!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 Ae=(0,z.T)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe((0,he.R)(Ae)).subscribe(de=>{this._onSelect(de.source,de.isUserInput),de.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),(0,z.T)(...this.options.map(de=>de._stateChanges)).pipe((0,he.R)(Ae)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(Ae,de){const Ce=this._selectionModel.isSelected(Ae);null!=Ae.value||this._multiple?(Ce!==Ae.selected&&(Ae.selected?this._selectionModel.select(Ae):this._selectionModel.deselect(Ae)),de&&this._keyManager.setActiveItem(Ae),this.multiple&&(this._sortValues(),de&&this.focus())):(Ae.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(Ae.value)),Ce!==this._selectionModel.isSelected(Ae)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const Ae=this.options.toArray();this._selectionModel.sort((de,Ce)=>this.sortComparator?this.sortComparator(de,Ce,Ae):Ae.indexOf(de)-Ae.indexOf(Ce)),this.stateChanges.next()}}_propagateChanges(Ae){let de=null;de=this.multiple?this.selected.map(Ce=>Ce.value):this.selected?this.selected.value:Ae,this._value=de,this.valueChange.emit(de),this._onChange(de),this.selectionChange.emit(this._getChangeEvent(de)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0}focus(Ae){this._elementRef.nativeElement.focus(Ae)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;const Ae=this._parentFormField?.getLabelId();return this.ariaLabelledby?(Ae?Ae+" ":"")+this.ariaLabelledby:Ae}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;const Ae=this._parentFormField?.getLabelId();let de=(Ae?Ae+" ":"")+this._valueId;return this.ariaLabelledby&&(de+=" "+this.ariaLabelledby),de}_panelDoneAnimating(Ae){this.openedChange.emit(Ae)}setDescribedByIds(Ae){Ae.length?this._elementRef.nativeElement.setAttribute("aria-describedby",Ae.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return oe.\u0275fac=function(Ae){return new(Ae||oe)(b.Y36(C.rL),b.Y36(b.sBO),b.Y36(b.R0b),b.Y36(I.rD),b.Y36(b.SBq),b.Y36(P.Is,8),b.Y36(O.F,8),b.Y36(O.sg,8),b.Y36(s.G_,8),b.Y36(O.a5,10),b.$8M("tabindex"),b.Y36(B),b.Y36(h.Kd),b.Y36(X,8))},oe.\u0275dir=b.lG2({type:oe,viewQuery:function(Ae,de){if(1&Ae&&(b.Gf(le,5),b.Gf(ee,5),b.Gf(t.pI,5)),2&Ae){let Ce;b.iGM(Ce=b.CRH())&&(de.trigger=Ce.first),b.iGM(Ce=b.CRH())&&(de.panel=Ce.first),b.iGM(Ce=b.CRH())&&(de._overlayDir=Ce.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:[b.qOj,b.TTD]}),oe})(),ye=(()=>{class oe{}return oe.\u0275fac=function(Ae){return new(Ae||oe)},oe.\u0275dir=b.lG2({type:oe,selectors:[["mat-select-trigger"]],features:[b._Bn([{provide:tt,useExisting:oe}])]}),oe})(),ce=(()=>{class oe extends Le{constructor(){super(...arguments),this._positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}]}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe((0,he.R)(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(),this._changeDetectorRef.detectChanges())})}ngAfterViewInit(){this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin())}open(){this._overlayWidth=this._getOverlayWidth(),super.open(),this.stateChanges.next()}close(){super.close(),this.stateChanges.next()}_scrollOptionIntoView(Ae){const de=this.options.toArray()[Ae];if(de){const Ce=this.panel.nativeElement,te=(0,I.CB)(Ae,this.options,this.optionGroups),Ze=de._getHostElement();Ce.scrollTop=0===Ae&&1===te?0:(0,I.jH)(Ze.offsetTop,Ze.offsetHeight,Ce.scrollTop,Ce.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(Ae){return new je(this,Ae)}_getOverlayWidth(){return(this._preferredOverlayOrigin instanceof t.xu?this._preferredOverlayOrigin.elementRef:this._preferredOverlayOrigin||this._elementRef).nativeElement.getBoundingClientRect().width}}return oe.\u0275fac=function(){let Ke;return function(de){return(Ke||(Ke=b.n5z(oe)))(de||oe)}}(),oe.\u0275cmp=b.Xpm({type:oe,selectors:[["mat-select"]],contentQueries:function(Ae,de,Ce){if(1&Ae&&(b.Suo(Ce,tt,5),b.Suo(Ce,I.ey,5),b.Suo(Ce,I.K7,5)),2&Ae){let te;b.iGM(te=b.CRH())&&(de.customTrigger=te.first),b.iGM(te=b.CRH())&&(de.options=te),b.iGM(te=b.CRH())&&(de.optionGroups=te)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(Ae,de){1&Ae&&b.NdJ("keydown",function(te){return de._handleKeydown(te)})("focus",function(){return de._onFocus()})("blur",function(){return de._onBlur()}),2&Ae&&(b.uIk("id",de.id)("tabindex",de.tabIndex)("aria-controls",de.panelOpen?de.id+"-panel":null)("aria-expanded",de.panelOpen)("aria-label",de.ariaLabel||null)("aria-required",de.required.toString())("aria-disabled",de.disabled.toString())("aria-invalid",de.errorState)("aria-activedescendant",de._getAriaActiveDescendant()),b.ekj("mat-mdc-select-disabled",de.disabled)("mat-mdc-select-invalid",de.errorState)("mat-mdc-select-required",de.required)("mat-mdc-select-empty",de.empty)("mat-mdc-select-multiple",de.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[b._Bn([{provide:s.Eo,useExisting:oe},{provide:I.HF,useExisting:oe}]),b.qOj],ngContentSelectors:y,decls:11,vars:11,consts:[["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],[1,"mat-mdc-select-value",3,"ngSwitch"],["class","mat-mdc-select-placeholder mat-mdc-select-min-line",4,"ngSwitchCase"],["class","mat-mdc-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","backdropClick","attach","detach"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text",3,"ngSwitch"],["class","mat-mdc-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(Ae,de){if(1&Ae&&(b.F$t(l),b.TgZ(0,"div",0,1),b.NdJ("click",function(){return de.toggle()}),b.TgZ(3,"div",2),b.YNc(4,me,2,1,"span",3),b.YNc(5,a,3,2,"span",4),b.qZA(),b.TgZ(6,"div",5)(7,"div",6),b.O4$(),b.TgZ(8,"svg",7),b._UZ(9,"path",8),b.qZA()()()(),b.YNc(10,u,3,9,"ng-template",9),b.NdJ("backdropClick",function(){return de.close()})("attach",function(){return de._onAttached()})("detach",function(){return de.close()})),2&Ae){const Ce=b.MAs(1);b.uIk("aria-owns",de.panelOpen?de.id+"-panel":null),b.xp6(3),b.Q6J("ngSwitch",de.empty),b.uIk("id",de._valueId),b.xp6(1),b.Q6J("ngSwitchCase",!0),b.xp6(1),b.Q6J("ngSwitchCase",!1),b.xp6(5),b.Q6J("cdkConnectedOverlayPanelClass",de._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",de._scrollStrategy)("cdkConnectedOverlayOrigin",de._preferredOverlayOrigin||Ce)("cdkConnectedOverlayOpen",de.panelOpen)("cdkConnectedOverlayPositions",de._positions)("cdkConnectedOverlayWidth",de._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:[T.transformPanel]},changeDetection:0}),oe})(),ve=(()=>{class oe{}return oe.\u0275fac=function(Ae){return new(Ae||oe)},oe.\u0275mod=b.oAB({type:oe}),oe.\u0275inj=b.cJS({providers:[De],imports:[e.ez,t.U8,I.Ng,I.BQ,C.ZD,s.lN,I.Ng,I.BQ]}),oe})()},3267:(Ue,q,p)=>{"use strict";p.d(q,{JX:()=>tt,Rh:()=>De,SJ:()=>ze,TM:()=>je});var t=p(531),e=p(6895),b=p(4650),I=p(3238),s=p(4761),C=p(445),h=p(1281),P=p(9521),d=p(3353),S=p(7579),w=p(4968),O=p(6451),E=p(9300),R=p(4004),z=p(9718),U=p(2722),Y=p(1884),K=p(5698),$=p(8675),ie=p(8372),ue=p(7340);const he=["*"],ne=["content"];function le(Le,ye){if(1&Le){const ce=b.EpF();b.TgZ(0,"div",2),b.NdJ("click",function(){b.CHM(ce);const oe=b.oxw();return b.KtG(oe._onBackdropClicked())}),b.qZA()}if(2&Le){const ce=b.oxw();b.ekj("mat-drawer-shown",ce._isShowingBackdrop())}}function ee(Le,ye){1&Le&&(b.TgZ(0,"mat-drawer-content"),b.Hsn(1,2),b.qZA())}const me=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],A=["mat-drawer","mat-drawer-content","*"];function i(Le,ye){if(1&Le){const ce=b.EpF();b.TgZ(0,"div",2),b.NdJ("click",function(){b.CHM(ce);const oe=b.oxw();return b.KtG(oe._onBackdropClicked())}),b.qZA()}if(2&Le){const ce=b.oxw();b.ekj("mat-drawer-shown",ce._isShowingBackdrop())}}function a(Le,ye){1&Le&&(b.TgZ(0,"mat-sidenav-content"),b.Hsn(1,2),b.qZA())}const u=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],l=["mat-sidenav","mat-sidenav-content","*"],T={transformDrawer:(0,ue.X$)("transform",[(0,ue.SB)("open, open-instant",(0,ue.oB)({transform:"none",visibility:"visible"})),(0,ue.SB)("void",(0,ue.oB)({"box-shadow":"none",visibility:"hidden"})),(0,ue.eR)("void => open-instant",(0,ue.jt)("0ms")),(0,ue.eR)("void <=> open, open-instant => void",(0,ue.jt)("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},m=new b.OlP("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function v(){return!1}}),n=new b.OlP("MAT_DRAWER_CONTAINER");let B=(()=>{class Le extends t.PQ{constructor(ce,ve,oe,Ke,Ae){super(oe,Ke,Ae),this._changeDetectorRef=ce,this._container=ve}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}}return Le.\u0275fac=function(ce){return new(ce||Le)(b.Y36(b.sBO),b.Y36((0,b.Gpc)(()=>X)),b.Y36(b.SBq),b.Y36(t.mF),b.Y36(b.R0b))},Le.\u0275cmp=b.Xpm({type:Le,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(ce,ve){2&ce&&b.Udp("margin-left",ve._container._contentMargins.left,"px")("margin-right",ve._container._contentMargins.right,"px")},features:[b._Bn([{provide:t.PQ,useExisting:Le}]),b.qOj],ngContentSelectors:he,decls:1,vars:0,template:function(ce,ve){1&ce&&(b.F$t(),b.Hsn(0))},encapsulation:2,changeDetection:0}),Le})(),V=(()=>{class Le{get position(){return this._position}set position(ce){(ce="end"===ce?"end":"start")!==this._position&&(this._isAttached&&this._updatePositionInParent(ce),this._position=ce,this.onPositionChanged.emit())}get mode(){return this._mode}set mode(ce){this._mode=ce,this._updateFocusTrapState(),this._modeChanged.next()}get disableClose(){return this._disableClose}set disableClose(ce){this._disableClose=(0,h.Ig)(ce)}get autoFocus(){return this._autoFocus??("side"===this.mode?"dialog":"first-tabbable")}set autoFocus(ce){("true"===ce||"false"===ce||null==ce)&&(ce=(0,h.Ig)(ce)),this._autoFocus=ce}get opened(){return this._opened}set opened(ce){this.toggle((0,h.Ig)(ce))}constructor(ce,ve,oe,Ke,Ae,de,Ce,te){this._elementRef=ce,this._focusTrapFactory=ve,this._focusMonitor=oe,this._platform=Ke,this._ngZone=Ae,this._interactivityChecker=de,this._doc=Ce,this._container=te,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new S.x,this._animationEnd=new S.x,this._animationState="void",this.openedChange=new b.vpe(!0),this._openedStream=this.openedChange.pipe((0,E.h)(Ze=>Ze),(0,R.U)(()=>{})),this.openedStart=this._animationStarted.pipe((0,E.h)(Ze=>Ze.fromState!==Ze.toState&&0===Ze.toState.indexOf("open")),(0,z.h)(void 0)),this._closedStream=this.openedChange.pipe((0,E.h)(Ze=>!Ze),(0,R.U)(()=>{})),this.closedStart=this._animationStarted.pipe((0,E.h)(Ze=>Ze.fromState!==Ze.toState&&"void"===Ze.toState),(0,z.h)(void 0)),this._destroyed=new S.x,this.onPositionChanged=new b.vpe,this._modeChanged=new S.x,this.openedChange.subscribe(Ze=>{Ze?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{(0,w.R)(this._elementRef.nativeElement,"keydown").pipe((0,E.h)(Ze=>Ze.keyCode===P.hY&&!this.disableClose&&!(0,P.Vb)(Ze)),(0,U.R)(this._destroyed)).subscribe(Ze=>this._ngZone.run(()=>{this.close(),Ze.stopPropagation(),Ze.preventDefault()}))}),this._animationEnd.pipe((0,Y.x)((Ze,Ge)=>Ze.fromState===Ge.fromState&&Ze.toState===Ge.toState)).subscribe(Ze=>{const{fromState:Ge,toState:ae}=Ze;(0===ae.indexOf("open")&&"void"===Ge||"void"===ae&&0===Ge.indexOf("open"))&&this.openedChange.emit(this._opened)})}_forceFocus(ce,ve){this._interactivityChecker.isFocusable(ce)||(ce.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const oe=()=>{ce.removeEventListener("blur",oe),ce.removeEventListener("mousedown",oe),ce.removeAttribute("tabindex")};ce.addEventListener("blur",oe),ce.addEventListener("mousedown",oe)})),ce.focus(ve)}_focusByCssSelector(ce,ve){let oe=this._elementRef.nativeElement.querySelector(ce);oe&&this._forceFocus(oe,ve)}_takeFocus(){if(!this._focusTrap)return;const ce=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(ve=>{!ve&&"function"==typeof this._elementRef.nativeElement.focus&&ce.focus()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus)}}_restoreFocus(ce){"dialog"!==this.autoFocus&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,ce):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){const ce=this._doc.activeElement;return!!ce&&this._elementRef.nativeElement.contains(ce)}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(ce){return this.toggle(!0,ce)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(ce=!this.opened,ve){ce&&ve&&(this._openedVia=ve);const oe=this._setOpen(ce,!ce&&this._isFocusWithinDrawer(),this._openedVia||"program");return ce||(this._openedVia=null),oe}_setOpen(ce,ve,oe){return this._opened=ce,ce?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",ve&&this._restoreFocus(oe)),this._updateFocusTrapState(),new Promise(Ke=>{this.openedChange.pipe((0,K.q)(1)).subscribe(Ae=>Ke(Ae?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}_updatePositionInParent(ce){const ve=this._elementRef.nativeElement,oe=ve.parentNode;"end"===ce?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),oe.insertBefore(this._anchor,ve)),oe.appendChild(ve)):this._anchor&&this._anchor.parentNode.insertBefore(ve,this._anchor)}}return Le.\u0275fac=function(ce){return new(ce||Le)(b.Y36(b.SBq),b.Y36(s.qV),b.Y36(s.tE),b.Y36(d.t4),b.Y36(b.R0b),b.Y36(s.ic),b.Y36(e.K0,8),b.Y36(n,8))},Le.\u0275cmp=b.Xpm({type:Le,selectors:[["mat-drawer"]],viewQuery:function(ce,ve){if(1&ce&&b.Gf(ne,5),2&ce){let oe;b.iGM(oe=b.CRH())&&(ve._content=oe.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(ce,ve){1&ce&&b.WFA("@transform.start",function(Ke){return ve._animationStarted.next(Ke)})("@transform.done",function(Ke){return ve._animationEnd.next(Ke)}),2&ce&&(b.uIk("align",null),b.d8E("@transform",ve._animationState),b.ekj("mat-drawer-end","end"===ve.position)("mat-drawer-over","over"===ve.mode)("mat-drawer-push","push"===ve.mode)("mat-drawer-side","side"===ve.mode)("mat-drawer-opened",ve.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:he,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(ce,ve){1&ce&&(b.F$t(),b.TgZ(0,"div",0,1),b.Hsn(2),b.qZA())},dependencies:[t.PQ],encapsulation:2,data:{animation:[T.transformDrawer]},changeDetection:0}),Le})(),X=(()=>{class Le{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(ce){this._autosize=(0,h.Ig)(ce)}get hasBackdrop(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride}set hasBackdrop(ce){this._backdropOverride=null==ce?null:(0,h.Ig)(ce)}get scrollable(){return this._userContent||this._content}constructor(ce,ve,oe,Ke,Ae,de=!1,Ce){this._dir=ce,this._element=ve,this._ngZone=oe,this._changeDetectorRef=Ke,this._animationMode=Ce,this._drawers=new b.n_E,this.backdropClick=new b.vpe,this._destroyed=new S.x,this._doCheckSubject=new S.x,this._contentMargins={left:null,right:null},this._contentMarginChanges=new S.x,ce&&ce.change.pipe((0,U.R)(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),Ae.change().pipe((0,U.R)(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=de}ngAfterContentInit(){this._allDrawers.changes.pipe((0,$.O)(this._allDrawers),(0,U.R)(this._destroyed)).subscribe(ce=>{this._drawers.reset(ce.filter(ve=>!ve._container||ve._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe((0,$.O)(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(ce=>{this._watchDrawerToggle(ce),this._watchDrawerPosition(ce),this._watchDrawerMode(ce)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe((0,ie.b)(10),(0,U.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(ce=>ce.open())}close(){this._drawers.forEach(ce=>ce.close())}updateContentMargins(){let ce=0,ve=0;if(this._left&&this._left.opened)if("side"==this._left.mode)ce+=this._left._getWidth();else if("push"==this._left.mode){const oe=this._left._getWidth();ce+=oe,ve-=oe}if(this._right&&this._right.opened)if("side"==this._right.mode)ve+=this._right._getWidth();else if("push"==this._right.mode){const oe=this._right._getWidth();ve+=oe,ce-=oe}ce=ce||null,ve=ve||null,(ce!==this._contentMargins.left||ve!==this._contentMargins.right)&&(this._contentMargins={left:ce,right:ve},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(ce){ce._animationStarted.pipe((0,E.h)(ve=>ve.fromState!==ve.toState),(0,U.R)(this._drawers.changes)).subscribe(ve=>{"open-instant"!==ve.toState&&"NoopAnimations"!==this._animationMode&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),"side"!==ce.mode&&ce.openedChange.pipe((0,U.R)(this._drawers.changes)).subscribe(()=>this._setContainerClass(ce.opened))}_watchDrawerPosition(ce){ce&&ce.onPositionChanged.pipe((0,U.R)(this._drawers.changes)).subscribe(()=>{this._ngZone.onMicrotaskEmpty.pipe((0,K.q)(1)).subscribe(()=>{this._validateDrawers()})})}_watchDrawerMode(ce){ce&&ce._modeChanged.pipe((0,U.R)((0,O.T)(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(ce){const ve=this._element.nativeElement.classList,oe="mat-drawer-container-has-open";ce?ve.add(oe):ve.remove(oe)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(ce=>{"end"==ce.position?this._end=ce:this._start=ce}),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(ce=>ce&&!ce.disableClose&&this._canHaveBackdrop(ce)).forEach(ce=>ce._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}_canHaveBackdrop(ce){return"side"!==ce.mode||!!this._backdropOverride}_isDrawerOpen(ce){return null!=ce&&ce.opened}}return Le.\u0275fac=function(ce){return new(ce||Le)(b.Y36(C.Is,8),b.Y36(b.SBq),b.Y36(b.R0b),b.Y36(b.sBO),b.Y36(t.rL),b.Y36(m),b.Y36(b.QbO,8))},Le.\u0275cmp=b.Xpm({type:Le,selectors:[["mat-drawer-container"]],contentQueries:function(ce,ve,oe){if(1&ce&&(b.Suo(oe,B,5),b.Suo(oe,V,5)),2&ce){let Ke;b.iGM(Ke=b.CRH())&&(ve._content=Ke.first),b.iGM(Ke=b.CRH())&&(ve._allDrawers=Ke)}},viewQuery:function(ce,ve){if(1&ce&&b.Gf(B,5),2&ce){let oe;b.iGM(oe=b.CRH())&&(ve._userContent=oe.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(ce,ve){2&ce&&b.ekj("mat-drawer-container-explicit-backdrop",ve._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[b._Bn([{provide:n,useExisting:Le}])],ngContentSelectors:A,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(ce,ve){1&ce&&(b.F$t(me),b.YNc(0,le,1,2,"div",0),b.Hsn(1),b.Hsn(2,1),b.YNc(3,ee,2,0,"mat-drawer-content",1)),2&ce&&(b.Q6J("ngIf",ve.hasBackdrop),b.xp6(3),b.Q6J("ngIf",!ve._content))},dependencies:[e.O5,B],styles:['.mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0}),Le})(),De=(()=>{class Le extends B{constructor(ce,ve,oe,Ke,Ae){super(ce,ve,oe,Ke,Ae)}}return Le.\u0275fac=function(ce){return new(ce||Le)(b.Y36(b.sBO),b.Y36((0,b.Gpc)(()=>je)),b.Y36(b.SBq),b.Y36(t.mF),b.Y36(b.R0b))},Le.\u0275cmp=b.Xpm({type:Le,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(ce,ve){2&ce&&b.Udp("margin-left",ve._container._contentMargins.left,"px")("margin-right",ve._container._contentMargins.right,"px")},features:[b._Bn([{provide:t.PQ,useExisting:Le}]),b.qOj],ngContentSelectors:he,decls:1,vars:0,template:function(ce,ve){1&ce&&(b.F$t(),b.Hsn(0))},encapsulation:2,changeDetection:0}),Le})(),tt=(()=>{class Le extends V{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(ce){this._fixedInViewport=(0,h.Ig)(ce)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(ce){this._fixedTopGap=(0,h.su)(ce)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(ce){this._fixedBottomGap=(0,h.su)(ce)}}return Le.\u0275fac=function(){let ye;return function(ve){return(ye||(ye=b.n5z(Le)))(ve||Le)}}(),Le.\u0275cmp=b.Xpm({type:Le,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(ce,ve){2&ce&&(b.uIk("align",null),b.Udp("top",ve.fixedInViewport?ve.fixedTopGap:null,"px")("bottom",ve.fixedInViewport?ve.fixedBottomGap:null,"px"),b.ekj("mat-drawer-end","end"===ve.position)("mat-drawer-over","over"===ve.mode)("mat-drawer-push","push"===ve.mode)("mat-drawer-side","side"===ve.mode)("mat-drawer-opened",ve.opened)("mat-sidenav-fixed",ve.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[b.qOj],ngContentSelectors:he,decls:3,vars:0,consts:[["cdkScrollable","",1,"mat-drawer-inner-container"],["content",""]],template:function(ce,ve){1&ce&&(b.F$t(),b.TgZ(0,"div",0,1),b.Hsn(2),b.qZA())},dependencies:[t.PQ],encapsulation:2,data:{animation:[T.transformDrawer]},changeDetection:0}),Le})(),je=(()=>{class Le extends X{}return Le.\u0275fac=function(){let ye;return function(ve){return(ye||(ye=b.n5z(Le)))(ve||Le)}}(),Le.\u0275cmp=b.Xpm({type:Le,selectors:[["mat-sidenav-container"]],contentQueries:function(ce,ve,oe){if(1&ce&&(b.Suo(oe,De,5),b.Suo(oe,tt,5)),2&ce){let Ke;b.iGM(Ke=b.CRH())&&(ve._content=Ke.first),b.iGM(Ke=b.CRH())&&(ve._allDrawers=Ke)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(ce,ve){2&ce&&b.ekj("mat-drawer-container-explicit-backdrop",ve._backdropOverride)},exportAs:["matSidenavContainer"],features:[b._Bn([{provide:n,useExisting:Le}]),b.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(ce,ve){1&ce&&(b.F$t(u),b.YNc(0,i,1,2,"div",0),b.Hsn(1),b.Hsn(2,1),b.YNc(3,a,2,0,"mat-sidenav-content",1)),2&ce&&(b.Q6J("ngIf",ve.hasBackdrop),b.xp6(3),b.Q6J("ngIf",!ve._content))},dependencies:[e.O5,De],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}),Le})(),ze=(()=>{class Le{}return Le.\u0275fac=function(ce){return new(ce||Le)},Le.\u0275mod=b.oAB({type:Le}),Le.\u0275inj=b.cJS({imports:[e.ez,I.BQ,t.ZD,t.ZD,I.BQ]}),Le})()},455:(Ue,q,p)=>{"use strict";p.d(q,{Rr:()=>z,rP:()=>$});var t=p(4650),e=p(4006),b=p(4761),I=p(3238),s=p(1281),C=p(6895);const h=["switch"],P=["*"],d=new t.OlP("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})}),S={provide:e.JU,useExisting:(0,t.Gpc)(()=>z),multi:!0};class w{constructor(ue,he){this.source=ue,this.checked=he}}let O=0;const E=(0,I.sb)((0,I.pj)((0,I.Kr)((0,I.Id)(class{constructor(ie){this._elementRef=ie}}))));let R=(()=>{class ie extends E{get required(){return this._required}set required(he){this._required=(0,s.Ig)(he)}get checked(){return this._checked}set checked(he){this._checked=(0,s.Ig)(he),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(he,ne,le,ee,me,A,i){super(he),this._focusMonitor=ne,this._changeDetectorRef=le,this.defaults=me,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(ee)||0,this.color=this.defaultColor=me.color||"accent",this._noopAnimations="NoopAnimations"===A,this.id=this._uniqueId=`${i}${++O}`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(he=>{"keyboard"===he||"program"===he?(this._focused=!0,this._changeDetectorRef.markForCheck()):he||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(he){this.checked=!!he}registerOnChange(he){this._onChange=he}registerOnTouched(he){this._onTouched=he}setDisabledState(he){this.disabled=he,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 ie.\u0275fac=function(he){t.$Z()},ie.\u0275dir=t.lG2({type:ie,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]}),ie})(),z=(()=>{class ie extends R{get buttonId(){return`${this.id||this._uniqueId}-button`}constructor(he,ne,le,ee,me,A){super(he,ne,le,ee,me,A,"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(he){return new w(this,he)}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}}return ie.\u0275fac=function(he){return new(he||ie)(t.Y36(t.SBq),t.Y36(b.tE),t.Y36(t.sBO),t.$8M("tabindex"),t.Y36(d),t.Y36(t.QbO,8))},ie.\u0275cmp=t.Xpm({type:ie,selectors:[["mat-slide-toggle"]],viewQuery:function(he,ne){if(1&he&&t.Gf(h,5),2&he){let le;t.iGM(le=t.CRH())&&(ne._switchElement=le.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:11,hostBindings:function(he,ne){2&he&&(t.Ikx("id",ne.id),t.uIk("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),t.ekj("mat-mdc-slide-toggle-focused",ne._focused)("mat-mdc-slide-toggle-checked",ne.checked)("_mat-animation-noopable",ne._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matSlideToggle"],features:[t._Bn([S]),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(he,ne){if(1&he&&(t.F$t(),t.TgZ(0,"div",0)(1,"button",1,2),t.NdJ("click",function(){return ne._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(ee){return ee.stopPropagation()}),t.Hsn(16),t.qZA()()),2&he){const le=t.MAs(2);t.ekj("mdc-form-field--align-end","before"==ne.labelPosition),t.xp6(1),t.ekj("mdc-switch--selected",ne.checked)("mdc-switch--unselected",!ne.checked)("mdc-switch--checked",ne.checked)("mdc-switch--disabled",ne.disabled),t.Q6J("tabIndex",ne.tabIndex)("disabled",ne.disabled),t.uIk("id",ne.buttonId)("name",ne.name)("aria-label",ne.ariaLabel)("aria-labelledby",ne._getAriaLabelledBy())("aria-describedby",ne.ariaDescribedby)("aria-required",ne.required||null)("aria-checked",ne.checked),t.xp6(8),t.Q6J("matRippleTrigger",le)("matRippleDisabled",ne.disableRipple||ne.disabled)("matRippleCentered",!0),t.xp6(6),t.Q6J("for",ne.buttonId),t.uIk("id",ne._labelId)}},dependencies:[I.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}),ie})(),K=(()=>{class ie{}return ie.\u0275fac=function(he){return new(he||ie)},ie.\u0275mod=t.oAB({type:ie}),ie.\u0275inj=t.cJS({}),ie})(),$=(()=>{class ie{}return ie.\u0275fac=function(he){return new(he||ie)},ie.\u0275mod=t.oAB({type:ie}),ie.\u0275inj=t.cJS({imports:[K,I.BQ,I.si,C.ez,K,I.BQ]}),ie})()},7009:(Ue,q,p)=>{"use strict";p.d(q,{Ve:()=>u,ZX:()=>i,ux:()=>y});var t=p(4650),e=p(7579),b=p(6895),I=p(4859),s=p(7340),C=p(4080),h=p(3353),P=p(5698),d=p(2722),S=p(4761),w=p(2289),O=p(8184),E=p(3238);function R(T,D){if(1&T){const m=t.EpF();t.TgZ(0,"div",2)(1,"button",3),t.NdJ("click",function(){t.CHM(m);const v=t.oxw();return t.KtG(v.action())}),t._uU(2),t.qZA()()}if(2&T){const m=t.oxw();t.xp6(2),t.hij(" ",m.data.action," ")}}const z=["label"];function U(T,D){}const Y=Math.pow(2,31)-1;class K{constructor(D,m){this._overlayRef=m,this._afterDismissed=new e.x,this._afterOpened=new e.x,this._onAction=new e.x,this._dismissedByAction=!1,this.containerInstance=D,D._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(D){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(D,Y))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}}const $=new t.OlP("MatSnackBarData");class ie{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}let ue=(()=>{class T{}return T.\u0275fac=function(m){return new(m||T)},T.\u0275dir=t.lG2({type:T,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"]}),T})(),he=(()=>{class T{}return T.\u0275fac=function(m){return new(m||T)},T.\u0275dir=t.lG2({type:T,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"]}),T})(),ne=(()=>{class T{}return T.\u0275fac=function(m){return new(m||T)},T.\u0275dir=t.lG2({type:T,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"]}),T})(),le=(()=>{class T{constructor(m,n){this.snackBarRef=m,this.data=n}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}}return T.\u0275fac=function(m){return new(m||T)(t.Y36(K),t.Y36($))},T.\u0275cmp=t.Xpm({type:T,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(m,n){1&m&&(t.TgZ(0,"div",0),t._uU(1),t.qZA(),t.YNc(2,R,3,1,"div",1)),2&m&&(t.xp6(1),t.hij(" ",n.data.message,"\n"),t.xp6(1),t.Q6J("ngIf",n.hasAction))},dependencies:[b.O5,I.lW,ue,he,ne],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0}),T})();const ee={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 me=(()=>{class T extends C.en{constructor(m,n,v,B,V){super(),this._ngZone=m,this._elementRef=n,this._changeDetectorRef=v,this._platform=B,this.snackBarConfig=V,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new e.x,this._onExit=new e.x,this._onEnter=new e.x,this._animationState="void",this.attachDomPortal=X=>{this._assertNotAttached();const De=this._portalOutlet.attachDomPortal(X);return this._afterPortalAttached(),De},this._live="assertive"!==V.politeness||V.announcementMessage?"off"===V.politeness?"off":"polite":"assertive",this._platform.FIREFOX&&("polite"===this._live&&(this._role="status"),"assertive"===this._live&&(this._role="alert"))}attachComponentPortal(m){this._assertNotAttached();const n=this._portalOutlet.attachComponentPortal(m);return this._afterPortalAttached(),n}attachTemplatePortal(m){this._assertNotAttached();const n=this._portalOutlet.attachTemplatePortal(m);return this._afterPortalAttached(),n}onAnimationEnd(m){const{fromState:n,toState:v}=m;if(("void"===v&&"void"!==n||"hidden"===v)&&this._completeExit(),"visible"===v){const B=this._onEnter;this._ngZone.run(()=>{B.next(),B.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._completeExit()}_completeExit(){this._ngZone.onMicrotaskEmpty.pipe((0,P.q)(1)).subscribe(()=>{this._ngZone.run(()=>{this._onExit.next(),this._onExit.complete()})})}_afterPortalAttached(){const m=this._elementRef.nativeElement,n=this.snackBarConfig.panelClass;n&&(Array.isArray(n)?n.forEach(v=>m.classList.add(v)):m.classList.add(n))}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{const m=this._elementRef.nativeElement.querySelector("[aria-hidden]"),n=this._elementRef.nativeElement.querySelector("[aria-live]");if(m&&n){let v=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&m.contains(document.activeElement)&&(v=document.activeElement),m.removeAttribute("aria-hidden"),n.appendChild(m),v?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}}return T.\u0275fac=function(m){return new(m||T)(t.Y36(t.R0b),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(h.t4),t.Y36(ie))},T.\u0275dir=t.lG2({type:T,viewQuery:function(m,n){if(1&m&&t.Gf(C.Pl,7),2&m){let v;t.iGM(v=t.CRH())&&(n._portalOutlet=v.first)}},features:[t.qOj]}),T})(),A=(()=>{class T extends me{_afterPortalAttached(){super._afterPortalAttached();const m=this._label.nativeElement,n="mdc-snackbar__label";m.classList.toggle(n,!m.querySelector(`.${n}`))}}return T.\u0275fac=function(){let D;return function(n){return(D||(D=t.n5z(T)))(n||T)}}(),T.\u0275cmp=t.Xpm({type:T,selectors:[["mat-snack-bar-container"]],viewQuery:function(m,n){if(1&m&&t.Gf(z,7),2&m){let v;t.iGM(v=t.CRH())&&(n._label=v.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container","mdc-snackbar--open"],hostVars:1,hostBindings:function(m,n){1&m&&t.WFA("@state.done",function(B){return n.onAnimationEnd(B)}),2&m&&t.d8E("@state",n._animationState)},features:[t.qOj],decls:6,vars:2,consts:[[1,"mdc-snackbar__surface"],[1,"mat-mdc-snack-bar-label"],["label",""],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(m,n){1&m&&(t.TgZ(0,"div",0)(1,"div",1,2)(3,"div",3),t.YNc(4,U,0,0,"ng-template",4),t.qZA(),t._UZ(5,"div"),t.qZA()()),2&m&&(t.xp6(5),t.uIk("aria-live",n._live)("role",n._role))},dependencies:[C.Pl],styles:['.mdc-snackbar{display:none;position:fixed;right:0;bottom:0;left:0;align-items:center;justify-content:center;box-sizing:border-box;pointer-events:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mdc-snackbar--opening,.mdc-snackbar--open,.mdc-snackbar--closing{display:flex}.mdc-snackbar--open .mdc-snackbar__label,.mdc-snackbar--open .mdc-snackbar__actions{visibility:visible}.mdc-snackbar__surface{padding-left:0;padding-right:8px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;transform:scale(0.8);opacity:0}.mdc-snackbar__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-snackbar__surface::before{border-color:CanvasText}}[dir=rtl] .mdc-snackbar__surface,.mdc-snackbar__surface[dir=rtl]{padding-left:8px;padding-right:0}.mdc-snackbar--open .mdc-snackbar__surface{transform:scale(1);opacity:1;pointer-events:auto}.mdc-snackbar--closing .mdc-snackbar__surface{transform:scale(1)}.mdc-snackbar__label{padding-left:16px;padding-right:8px;width:100%;flex-grow:1;box-sizing:border-box;margin:0;visibility:hidden;padding-top:14px;padding-bottom:14px}[dir=rtl] .mdc-snackbar__label,.mdc-snackbar__label[dir=rtl]{padding-left:8px;padding-right:16px}.mdc-snackbar__label::before{display:inline;content:attr(data-mdc-snackbar-label-text)}.mdc-snackbar__actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box;visibility:hidden}.mdc-snackbar__action+.mdc-snackbar__dismiss{margin-left:8px;margin-right:0}[dir=rtl] .mdc-snackbar__action+.mdc-snackbar__dismiss,.mdc-snackbar__action+.mdc-snackbar__dismiss[dir=rtl]{margin-left:0;margin-right:8px}.mat-mdc-snack-bar-container{margin:8px;position:static}.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:344px}@media(max-width: 480px),(max-width: 344px){.mat-mdc-snack-bar-container .mdc-snackbar__surface{min-width:100%}}@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-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:[ee.snackBarState]}}),T})(),i=(()=>{class T{}return T.\u0275fac=function(m){return new(m||T)},T.\u0275mod=t.oAB({type:T}),T.\u0275inj=t.cJS({imports:[O.U8,C.eL,b.ez,I.ot,E.BQ,E.BQ]}),T})();const u=new t.OlP("mat-snack-bar-default-options",{providedIn:"root",factory:function a(){return new ie}});let l=(()=>{class T{get _openedSnackBarRef(){const m=this._parentSnackBar;return m?m._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(m){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=m:this._snackBarRefAtThisLevel=m}constructor(m,n,v,B,V,X){this._overlay=m,this._live=n,this._injector=v,this._breakpointObserver=B,this._parentSnackBar=V,this._defaultConfig=X,this._snackBarRefAtThisLevel=null}openFromComponent(m,n){return this._attach(m,n)}openFromTemplate(m,n){return this._attach(m,n)}open(m,n="",v){const B={...this._defaultConfig,...v};return B.data={message:m,action:n},B.announcementMessage===m&&(B.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,B)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(m,n){const B=t.zs3.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:ie,useValue:n}]}),V=new C.C5(this.snackBarContainerComponent,n.viewContainerRef,B),X=m.attach(V);return X.instance.snackBarConfig=n,X.instance}_attach(m,n){const v={...new ie,...this._defaultConfig,...n},B=this._createOverlay(v),V=this._attachSnackBarContainer(B,v),X=new K(V,B);if(m instanceof t.Rgc){const De=new C.UE(m,null,{$implicit:v.data,snackBarRef:X});X.instance=V.attachTemplatePortal(De)}else{const De=this._createInjector(v,X),tt=new C.C5(m,void 0,De),je=V.attachComponentPortal(tt);X.instance=je.instance}return this._breakpointObserver.observe(w.u3.HandsetPortrait).pipe((0,d.R)(B.detachments())).subscribe(De=>{B.overlayElement.classList.toggle(this.handsetCssClass,De.matches)}),v.announcementMessage&&V._onAnnounce.subscribe(()=>{this._live.announce(v.announcementMessage,v.politeness)}),this._animateSnackBar(X,v),this._openedSnackBarRef=X,this._openedSnackBarRef}_animateSnackBar(m,n){m.afterDismissed().subscribe(()=>{this._openedSnackBarRef==m&&(this._openedSnackBarRef=null),n.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{m.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):m.containerInstance.enter(),n.duration&&n.duration>0&&m.afterOpened().subscribe(()=>m._dismissAfter(n.duration))}_createOverlay(m){const n=new O.X_;n.direction=m.direction;let v=this._overlay.position().global();const B="rtl"===m.direction,V="left"===m.horizontalPosition||"start"===m.horizontalPosition&&!B||"end"===m.horizontalPosition&&B,X=!V&&"center"!==m.horizontalPosition;return V?v.left("0"):X?v.right("0"):v.centerHorizontally(),"top"===m.verticalPosition?v.top("0"):v.bottom("0"),n.positionStrategy=v,this._overlay.create(n)}_createInjector(m,n){return t.zs3.create({parent:m&&m.viewContainerRef&&m.viewContainerRef.injector||this._injector,providers:[{provide:K,useValue:n},{provide:$,useValue:m.data}]})}}return T.\u0275fac=function(m){return new(m||T)(t.LFG(O.aV),t.LFG(S.Kd),t.LFG(t.zs3),t.LFG(w.Yg),t.LFG(T,12),t.LFG(u))},T.\u0275prov=t.Yz7({token:T,factory:T.\u0275fac}),T})(),y=(()=>{class T extends l{constructor(m,n,v,B,V,X){super(m,n,v,B,V,X),this.simpleSnackBarComponent=le,this.snackBarContainerComponent=A,this.handsetCssClass="mat-mdc-snack-bar-handset"}}return T.\u0275fac=function(m){return new(m||T)(t.LFG(O.aV),t.LFG(S.Kd),t.LFG(t.zs3),t.LFG(w.Yg),t.LFG(T,12),t.LFG(u))},T.\u0275prov=t.Yz7({token:T,factory:T.\u0275fac,providedIn:i}),T})()},6308:(Ue,q,p)=>{"use strict";p.d(q,{JX:()=>i,YE:()=>$,nU:()=>A});var t=p(4650),e=p(4761),b=p(1281),I=p(9521),s=p(3238),C=p(7579),h=p(6451),P=p(7340),d=p(6895);const S=["mat-sort-header",""];function w(a,u){if(1&a){const l=t.EpF();t.TgZ(0,"div",3),t.NdJ("@arrowPosition.start",function(){t.CHM(l);const T=t.oxw();return t.KtG(T._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){t.CHM(l);const T=t.oxw();return t.KtG(T._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 O=["*"],Y=new t.OlP("MAT_SORT_DEFAULT_OPTIONS"),K=(0,s.dB)((0,s.Id)(class{}));let $=(()=>{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,b.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 T=function ie(a,u){let l=["asc","desc"];return"desc"==a&&l.reverse(),u||l.push(""),l}(l.start||this.start,l?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear),D=T.indexOf(this.direction)+1;return D>=T.length&&(D=0),T[D]}ngOnInit(){this._markInitialized()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}}return a.\u0275fac=function(l){return new(l||a)(t.Y36(Y,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 ue=s.mZ.ENTERING+" "+s.yN.STANDARD_CURVE,he={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)(ue))]),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)(ue))]),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)(ue))]),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)(ue))]),arrowPosition:(0,P.X$)("arrowPosition",[(0,P.eR)("* => desc-to-hint, * => desc-to-active",(0,P.jt)(ue,(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)(ue,(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)(ue,(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)(ue,(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 ne=(()=>{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 ee={provide:ne,deps:[[new t.FiY,new t.tp0,ne]],useFactory:function le(a){return a||new ne}},me=(0,s.Id)(class{});let A=(()=>{class a extends me{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(l){this._updateSortActionDescription(l)}get disableClear(){return this._disableClear}set disableClear(l){this._disableClear=(0,b.Ig)(l)}constructor(l,y,T,D,m,n,v,B){super(),this._intl=l,this._changeDetectorRef=y,this._sort=T,this._columnDef=D,this._focusMonitor=m,this._elementRef=n,this._ariaDescriber=v,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this._sortActionDescription="Sort",B?.arrowPosition&&(this.arrowPosition=B?.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===I.L_||l.keyCode===I.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(ne),t.Y36(t.sBO),t.Y36($,8),t.Y36("MAT_SORT_HEADER_COLUMN_DEF",8),t.Y36(e.tE),t.Y36(t.SBq),t.Y36(e.$s,8),t.Y36(Y,8))},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:S,ngContentSelectors:O,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:[he.indicator,he.leftPointer,he.rightPointer,he.arrowOpacity,he.arrowPosition,he.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:[ee],imports:[d.ez,s.BQ]}),a})()},8425:(Ue,q,p)=>{"use strict";p.d(q,{C0:()=>Ae,Ic:()=>Ce,T5:()=>Ze,VY:()=>X,Vq:()=>de,fd:()=>te,z9:()=>oe});var t=p(4080),e=p(2138),b=p(6895),I=p(4650),s=p(3238),C=p(7392),h=p(4761),P=p(7579),d=p(727),S=p(445),w=p(3900),O=p(4004),E=p(8675),R=p(2722),z=p(1884),U=p(7340);function Y(Ge,ae){if(1&Ge&&I.GkF(0,8),2&Ge){const ge=I.oxw();I.Q6J("ngTemplateOutlet",ge.iconOverrides[ge.state])("ngTemplateOutletContext",ge._getIconContext())}}function K(Ge,ae){if(1&Ge&&(I.TgZ(0,"span",13),I._uU(1),I.qZA()),2&Ge){const ge=I.oxw(2);I.xp6(1),I.Oqu(ge._getDefaultTextForState(ge.state))}}function $(Ge,ae){if(1&Ge&&(I.TgZ(0,"span",14),I._uU(1),I.qZA()),2&Ge){const ge=I.oxw(2);I.xp6(1),I.Oqu(ge._intl.completedLabel)}}function ie(Ge,ae){if(1&Ge&&(I.TgZ(0,"span",14),I._uU(1),I.qZA()),2&Ge){const ge=I.oxw(2);I.xp6(1),I.Oqu(ge._intl.editableLabel)}}function ue(Ge,ae){if(1&Ge&&(I.TgZ(0,"mat-icon",13),I._uU(1),I.qZA()),2&Ge){const ge=I.oxw(2);I.xp6(1),I.Oqu(ge._getDefaultTextForState(ge.state))}}function he(Ge,ae){if(1&Ge&&(I.ynx(0,9),I.YNc(1,K,2,1,"span",10),I.YNc(2,$,2,1,"span",11),I.YNc(3,ie,2,1,"span",11),I.YNc(4,ue,2,1,"mat-icon",12),I.BQk()),2&Ge){const ge=I.oxw();I.Q6J("ngSwitch",ge.state),I.xp6(1),I.Q6J("ngSwitchCase","number"),I.xp6(1),I.Q6J("ngIf","done"===ge.state),I.xp6(1),I.Q6J("ngIf","edit"===ge.state)}}function ne(Ge,ae){if(1&Ge&&(I.TgZ(0,"div",15),I.GkF(1,16),I.qZA()),2&Ge){const ge=I.oxw();I.xp6(1),I.Q6J("ngTemplateOutlet",ge._templateLabel().template)}}function le(Ge,ae){if(1&Ge&&(I.TgZ(0,"div",15),I._uU(1),I.qZA()),2&Ge){const ge=I.oxw();I.xp6(1),I.Oqu(ge.label)}}function ee(Ge,ae){if(1&Ge&&(I.TgZ(0,"div",17),I._uU(1),I.qZA()),2&Ge){const ge=I.oxw();I.xp6(1),I.Oqu(ge._intl.optionalLabel)}}function me(Ge,ae){if(1&Ge&&(I.TgZ(0,"div",18),I._uU(1),I.qZA()),2&Ge){const ge=I.oxw();I.xp6(1),I.Oqu(ge.errorMessage)}}function A(Ge,ae){}function i(Ge,ae){if(1&Ge&&(I.Hsn(0),I.YNc(1,A,0,0,"ng-template",0)),2&Ge){const ge=I.oxw();I.xp6(1),I.Q6J("cdkPortalOutlet",ge._portal)}}const a=["*"];function u(Ge,ae){1&Ge&&I._UZ(0,"div",11)}const l=function(Ge,ae){return{step:Ge,i:ae}};function y(Ge,ae){if(1&Ge&&(I.ynx(0),I.GkF(1,9),I.YNc(2,u,1,0,"div",10),I.BQk()),2&Ge){const ge=ae.$implicit,pt=ae.index,$e=ae.last;I.oxw(2);const ut=I.MAs(4);I.xp6(1),I.Q6J("ngTemplateOutlet",ut)("ngTemplateOutletContext",I.WLB(3,l,ge,pt)),I.xp6(1),I.Q6J("ngIf",!$e)}}const T=function(Ge){return{animationDuration:Ge}},D=function(Ge,ae){return{value:Ge,params:ae}};function m(Ge,ae){if(1&Ge){const ge=I.EpF();I.TgZ(0,"div",12),I.NdJ("@horizontalStepTransition.done",function($e){I.CHM(ge);const ut=I.oxw(2);return I.KtG(ut._animationDone.next($e))}),I.GkF(1,13),I.qZA()}if(2&Ge){const ge=ae.$implicit,pt=ae.index,$e=I.oxw(2);I.ekj("mat-horizontal-stepper-content-inactive",$e.selectedIndex!==pt),I.Q6J("@horizontalStepTransition",I.WLB(8,D,$e._getAnimationDirection(pt),I.VKq(6,T,$e._getAnimationDuration())))("id",$e._getStepContentId(pt)),I.uIk("aria-labelledby",$e._getStepLabelId(pt)),I.xp6(1),I.Q6J("ngTemplateOutlet",ge.content)}}function n(Ge,ae){if(1&Ge&&(I.TgZ(0,"div",4)(1,"div",5),I.YNc(2,y,3,6,"ng-container",6),I.qZA(),I.TgZ(3,"div",7),I.YNc(4,m,2,11,"div",8),I.qZA()()),2&Ge){const ge=I.oxw();I.xp6(2),I.Q6J("ngForOf",ge.steps),I.xp6(2),I.Q6J("ngForOf",ge.steps)}}function v(Ge,ae){if(1&Ge){const ge=I.EpF();I.TgZ(0,"div",15),I.GkF(1,9),I.TgZ(2,"div",16)(3,"div",17),I.NdJ("@verticalStepTransition.done",function($e){I.CHM(ge);const ut=I.oxw(2);return I.KtG(ut._animationDone.next($e))}),I.TgZ(4,"div",18),I.GkF(5,13),I.qZA()()()()}if(2&Ge){const ge=ae.$implicit,pt=ae.index,$e=ae.last,ut=I.oxw(2),At=I.MAs(4);I.xp6(1),I.Q6J("ngTemplateOutlet",At)("ngTemplateOutletContext",I.WLB(10,l,ge,pt)),I.xp6(1),I.ekj("mat-stepper-vertical-line",!$e),I.xp6(1),I.ekj("mat-vertical-stepper-content-inactive",ut.selectedIndex!==pt),I.Q6J("@verticalStepTransition",I.WLB(15,D,ut._getAnimationDirection(pt),I.VKq(13,T,ut._getAnimationDuration())))("id",ut._getStepContentId(pt)),I.uIk("aria-labelledby",ut._getStepLabelId(pt)),I.xp6(2),I.Q6J("ngTemplateOutlet",ge.content)}}function B(Ge,ae){if(1&Ge&&(I.ynx(0),I.YNc(1,v,6,18,"div",14),I.BQk()),2&Ge){const ge=I.oxw();I.xp6(1),I.Q6J("ngForOf",ge.steps)}}function V(Ge,ae){if(1&Ge){const ge=I.EpF();I.TgZ(0,"mat-step-header",19),I.NdJ("click",function(){const ut=I.CHM(ge).step;return I.KtG(ut.select())})("keydown",function($e){I.CHM(ge);const ut=I.oxw();return I.KtG(ut._onKeydown($e))}),I.qZA()}if(2&Ge){const ge=ae.step,pt=ae.i,$e=I.oxw();I.ekj("mat-horizontal-stepper-header","horizontal"===$e.orientation)("mat-vertical-stepper-header","vertical"===$e.orientation),I.Q6J("tabIndex",$e._getFocusIndex()===pt?0:-1)("id",$e._getStepLabelId(pt))("index",pt)("state",$e._getIndicatorType(pt,ge.state))("label",ge.stepLabel||ge.label)("selected",$e.selectedIndex===pt)("active",$e._stepIsNavigable(pt,ge))("optional",ge.optional)("errorMessage",ge.errorMessage)("iconOverrides",$e._iconOverrides)("disableRipple",$e.disableRipple||!$e._stepIsNavigable(pt,ge))("color",ge.color||$e.color),I.uIk("aria-posinset",pt+1)("aria-setsize",$e.steps.length)("aria-controls",$e._getStepContentId(pt))("aria-selected",$e.selectedIndex==pt)("aria-label",ge.ariaLabel||null)("aria-labelledby",!ge.ariaLabel&&ge.ariaLabelledby?ge.ariaLabelledby:null)("aria-disabled",!$e._stepIsNavigable(pt,ge)||null)}}let X=(()=>{class Ge extends e.u6{}return Ge.\u0275fac=function(){let ae;return function(pt){return(ae||(ae=I.n5z(Ge)))(pt||Ge)}}(),Ge.\u0275dir=I.lG2({type:Ge,selectors:[["","matStepLabel",""]],features:[I.qOj]}),Ge})(),De=(()=>{class Ge{constructor(){this.changes=new P.x,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}}return Ge.\u0275fac=function(ge){return new(ge||Ge)},Ge.\u0275prov=I.Yz7({token:Ge,factory:Ge.\u0275fac,providedIn:"root"}),Ge})();const je={provide:De,deps:[[new I.FiY,new I.tp0,De]],useFactory:function tt(Ge){return Ge||new De}},ze=(0,s.pj)(class extends e.KL{constructor(ae){super(ae)}},"primary");let Le=(()=>{class Ge extends ze{constructor(ge,pt,$e,ut){super($e),this._intl=ge,this._focusMonitor=pt,this._intlSubscription=ge.changes.subscribe(()=>ut.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(ge,pt){ge?this._focusMonitor.focusVia(this._elementRef,ge,pt):this._elementRef.nativeElement.focus(pt)}_stringLabel(){return this.label instanceof X?null:this.label}_templateLabel(){return this.label instanceof X?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(ge){return"number"==ge?`${this.index+1}`:"edit"==ge?"create":"error"==ge?"warning":ge}}return Ge.\u0275fac=function(ge){return new(ge||Ge)(I.Y36(De),I.Y36(h.tE),I.Y36(I.SBq),I.Y36(I.sBO))},Ge.\u0275cmp=I.Xpm({type:Ge,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:[I.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(ge,pt){1&ge&&(I._UZ(0,"div",0),I.TgZ(1,"div")(2,"div",1),I.YNc(3,Y,1,2,"ng-container",2),I.YNc(4,he,5,4,"ng-container",3),I.qZA()(),I.TgZ(5,"div",4),I.YNc(6,ne,2,1,"div",5),I.YNc(7,le,2,1,"div",5),I.YNc(8,ee,2,1,"div",6),I.YNc(9,me,2,1,"div",7),I.qZA()),2&ge&&(I.Q6J("matRippleTrigger",pt._getHostElement())("matRippleDisabled",pt.disableRipple),I.xp6(1),I.Gre("mat-step-icon-state-",pt.state," mat-step-icon"),I.ekj("mat-step-icon-selected",pt.selected),I.xp6(1),I.Q6J("ngSwitch",!(!pt.iconOverrides||!pt.iconOverrides[pt.state])),I.xp6(1),I.Q6J("ngSwitchCase",!0),I.xp6(2),I.ekj("mat-step-label-active",pt.active)("mat-step-label-selected",pt.selected)("mat-step-label-error","error"==pt.state),I.xp6(1),I.Q6J("ngIf",pt._templateLabel()),I.xp6(1),I.Q6J("ngIf",pt._stringLabel()),I.xp6(1),I.Q6J("ngIf",pt.optional&&"error"!=pt.state),I.xp6(1),I.Q6J("ngIf","error"==pt.state))},dependencies:[b.O5,b.tP,b.RF,b.n9,b.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}),Ge})();const ve={horizontalStepTransition:(0,U.X$)("horizontalStepTransition",[(0,U.SB)("previous",(0,U.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),(0,U.SB)("current",(0,U.oB)({transform:"none",visibility:"inherit"})),(0,U.SB)("next",(0,U.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),(0,U.eR)("* => *",(0,U.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),{params:{animationDuration:"500ms"}})]),verticalStepTransition:(0,U.X$)("verticalStepTransition",[(0,U.SB)("previous",(0,U.oB)({height:"0px",visibility:"hidden"})),(0,U.SB)("next",(0,U.oB)({height:"0px",visibility:"hidden"})),(0,U.SB)("current",(0,U.oB)({height:"*",visibility:"inherit"})),(0,U.eR)("* <=> current",(0,U.jt)("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),{params:{animationDuration:"225ms"}})])};let oe=(()=>{class Ge{constructor(ge){this.templateRef=ge}}return Ge.\u0275fac=function(ge){return new(ge||Ge)(I.Y36(I.Rgc))},Ge.\u0275dir=I.lG2({type:Ge,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:["matStepperIcon","name"]}}),Ge})(),Ke=(()=>{class Ge{constructor(ge){this._template=ge}}return Ge.\u0275fac=function(ge){return new(ge||Ge)(I.Y36(I.Rgc))},Ge.\u0275dir=I.lG2({type:Ge,selectors:[["ng-template","matStepContent",""]]}),Ge})(),Ae=(()=>{class Ge extends e.be{constructor(ge,pt,$e,ut){super(ge,ut),this._errorStateMatcher=pt,this._viewContainerRef=$e,this._isSelected=d.w0.EMPTY}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,w.w)(()=>this._stepper.selectionChange.pipe((0,O.U)(ge=>ge.selectedStep===this),(0,E.O)(this._stepper.selected===this)))).subscribe(ge=>{ge&&this._lazyContent&&!this._portal&&(this._portal=new t.UE(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(ge,pt){return this._errorStateMatcher.isErrorState(ge,pt)||!!(ge&&ge.invalid&&this.interacted)}}return Ge.\u0275fac=function(ge){return new(ge||Ge)(I.Y36((0,I.Gpc)(()=>de)),I.Y36(s.rD,4),I.Y36(I.s_b),I.Y36(e.gx,8))},Ge.\u0275cmp=I.Xpm({type:Ge,selectors:[["mat-step"]],contentQueries:function(ge,pt,$e){if(1&ge&&(I.Suo($e,X,5),I.Suo($e,Ke,5)),2&ge){let ut;I.iGM(ut=I.CRH())&&(pt.stepLabel=ut.first),I.iGM(ut=I.CRH())&&(pt._lazyContent=ut.first)}},inputs:{color:"color"},exportAs:["matStep"],features:[I._Bn([{provide:s.rD,useExisting:Ge},{provide:e.be,useExisting:Ge}]),I.qOj],ngContentSelectors:a,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(ge,pt){1&ge&&(I.F$t(),I.YNc(0,i,2,1,"ng-template"))},dependencies:[t.Pl],encapsulation:2,changeDetection:0}),Ge})(),de=(()=>{class Ge extends e.B8{get animationDuration(){return this._animationDuration}set animationDuration(ge){this._animationDuration=/^\d+$/.test(ge)?ge+"ms":ge}constructor(ge,pt,$e){super(ge,pt,$e),this.steps=new I.n_E,this.animationDone=new I.vpe,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new P.x,this._animationDuration="";const ut=$e.nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===ut?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:ge,templateRef:pt})=>this._iconOverrides[ge]=pt),this.steps.changes.pipe((0,R.R)(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe((0,z.x)((ge,pt)=>ge.fromState===pt.fromState&&ge.toState===pt.toState),(0,R.R)(this._destroyed)).subscribe(ge=>{"current"===ge.toState&&this.animationDone.emit()})}_stepIsNavigable(ge,pt){return pt.completed||this.selectedIndex===ge||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}}return Ge.\u0275fac=function(ge){return new(ge||Ge)(I.Y36(S.Is,8),I.Y36(I.sBO),I.Y36(I.SBq))},Ge.\u0275cmp=I.Xpm({type:Ge,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(ge,pt,$e){if(1&ge&&(I.Suo($e,Ae,5),I.Suo($e,oe,5)),2&ge){let ut;I.iGM(ut=I.CRH())&&(pt._steps=ut),I.iGM(ut=I.CRH())&&(pt._icons=ut)}},viewQuery:function(ge,pt){if(1&ge&&I.Gf(Le,5),2&ge){let $e;I.iGM($e=I.CRH())&&(pt._stepHeader=$e)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(ge,pt){2&ge&&(I.uIk("aria-orientation",pt.orientation),I.ekj("mat-stepper-horizontal","horizontal"===pt.orientation)("mat-stepper-vertical","vertical"===pt.orientation)("mat-stepper-label-position-end","horizontal"===pt.orientation&&"end"==pt.labelPosition)("mat-stepper-label-position-bottom","horizontal"===pt.orientation&&"bottom"==pt.labelPosition)("mat-stepper-header-position-bottom","bottom"===pt.headerPosition))},inputs:{selectedIndex:"selectedIndex",disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[I._Bn([{provide:e.B8,useExisting:Ge}]),I.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(ge,pt){1&ge&&(I.ynx(0,0),I.YNc(1,n,5,2,"div",1),I.YNc(2,B,2,1,"ng-container",2),I.BQk(),I.YNc(3,V,1,23,"ng-template",null,3,I.W1O)),2&ge&&(I.Q6J("ngSwitch",pt.orientation),I.xp6(1),I.Q6J("ngSwitchCase","horizontal"),I.xp6(1),I.Q6J("ngSwitchCase","vertical"))},dependencies:[b.sg,b.O5,b.tP,b.RF,b.n9,Le],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:[ve.horizontalStepTransition,ve.verticalStepTransition]},changeDetection:0}),Ge})(),Ce=(()=>{class Ge extends e.st{}return Ge.\u0275fac=function(){let ae;return function(pt){return(ae||(ae=I.n5z(Ge)))(pt||Ge)}}(),Ge.\u0275dir=I.lG2({type:Ge,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(ge,pt){2&ge&&I.Ikx("type",pt.type)},inputs:{type:"type"},features:[I.qOj]}),Ge})(),te=(()=>{class Ge extends e.po{}return Ge.\u0275fac=function(){let ae;return function(pt){return(ae||(ae=I.n5z(Ge)))(pt||Ge)}}(),Ge.\u0275dir=I.lG2({type:Ge,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(ge,pt){2&ge&&I.Ikx("type",pt.type)},inputs:{type:"type"},features:[I.qOj]}),Ge})(),Ze=(()=>{class Ge{}return Ge.\u0275fac=function(ge){return new(ge||Ge)},Ge.\u0275mod=I.oAB({type:Ge}),Ge.\u0275inj=I.cJS({providers:[je,s.rD],imports:[s.BQ,b.ez,t.eL,e.U5,C.Ps,s.si,s.BQ]}),Ge})()},671:(Ue,q,p)=>{"use strict";p.d(q,{ev:()=>yt,Dz:()=>ot,w1:()=>ti,yh:()=>nt,mD:()=>Bt,Q2:()=>Pe,Ke:()=>Vt,ge:()=>mt,fO:()=>ei,XQ:()=>Pt,as:()=>$t,Gk:()=>it,nj:()=>ft,BZ:()=>Ve,by:()=>Ni,p0:()=>ui});var t=p(4650),e=p(445),b=p(1281),I=p(5017),s=p(3353),C=p(531),h=p(6895),P=p(7579),d=p(457),S=p(1135),w=p(5191),O=p(9646),E=p(2722),R=p(5698);const z=[[["caption"]],[["colgroup"],["col"]]],U=["caption","colgroup, col"];function $(Xe){return class extends Xe{get sticky(){return this._sticky}set sticky(Tt){const xe=this._sticky;this._sticky=(0,b.Ig)(Tt),this._hasStickyChanged=xe!==this._sticky}hasStickyChanged(){const Tt=this._hasStickyChanged;return this._hasStickyChanged=!1,Tt}resetStickyChanged(){this._hasStickyChanged=!1}constructor(...Tt){super(...Tt),this._sticky=!1,this._hasStickyChanged=!1}}}const ie=new t.OlP("CDK_TABLE");let he=(()=>{class Xe{constructor(xe){this.template=xe}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(t.Rgc))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","cdkCellDef",""]]}),Xe})(),ne=(()=>{class Xe{constructor(xe){this.template=xe}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(t.Rgc))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","cdkHeaderCellDef",""]]}),Xe})(),le=(()=>{class Xe{constructor(xe){this.template=xe}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(t.Rgc))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","cdkFooterCellDef",""]]}),Xe})();class ee{}const me=$(ee);let A=(()=>{class Xe extends me{get name(){return this._name}set name(xe){this._setNameInput(xe)}get stickyEnd(){return this._stickyEnd}set stickyEnd(xe){const Rt=this._stickyEnd;this._stickyEnd=(0,b.Ig)(xe),this._hasStickyChanged=Rt!==this._stickyEnd}constructor(xe){super(),this._table=xe,this._stickyEnd=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(xe){xe&&(this._name=xe,this.cssClassFriendlyName=xe.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(ie,8))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","cdkColumnDef",""]],contentQueries:function(xe,Rt,jt){if(1&xe&&(t.Suo(jt,he,5),t.Suo(jt,ne,5),t.Suo(jt,le,5)),2&xe){let li;t.iGM(li=t.CRH())&&(Rt.cell=li.first),t.iGM(li=t.CRH())&&(Rt.headerCell=li.first),t.iGM(li=t.CRH())&&(Rt.footerCell=li.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[t._Bn([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Xe}]),t.qOj]}),Xe})();class i{constructor(Tt,xe){xe.nativeElement.classList.add(...Tt._columnCssClassName)}}let a=(()=>{class Xe extends i{constructor(xe,Rt){super(xe,Rt)}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(A),t.Y36(t.SBq))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[t.qOj]}),Xe})(),u=(()=>{class Xe extends i{constructor(xe,Rt){if(super(xe,Rt),1===xe._table?._elementRef.nativeElement.nodeType){const jt=xe._table._elementRef.nativeElement.getAttribute("role");Rt.nativeElement.setAttribute("role","grid"===jt||"treegrid"===jt?"gridcell":"cell")}}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(A),t.Y36(t.SBq))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],features:[t.qOj]}),Xe})(),l=(()=>{class Xe extends i{constructor(xe,Rt){if(super(xe,Rt),1===xe._table?._elementRef.nativeElement.nodeType){const jt=xe._table._elementRef.nativeElement.getAttribute("role");Rt.nativeElement.setAttribute("role","grid"===jt||"treegrid"===jt?"gridcell":"cell")}}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(A),t.Y36(t.SBq))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[t.qOj]}),Xe})();class y{constructor(){this.tasks=[],this.endTasks=[]}}const T=new t.OlP("_COALESCED_STYLE_SCHEDULER");let D=(()=>{class Xe{constructor(xe){this._ngZone=xe,this._currentSchedule=null,this._destroyed=new P.x}schedule(xe){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(xe)}scheduleEnd(xe){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(xe)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new y,this._getScheduleObservable().pipe((0,E.R)(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const xe=this._currentSchedule;this._currentSchedule=new y;for(const Rt of xe.tasks)Rt();for(const Rt of xe.endTasks)Rt()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?(0,d.D)(Promise.resolve(void 0)):this._ngZone.onStable.pipe((0,R.q)(1))}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.LFG(t.R0b))},Xe.\u0275prov=t.Yz7({token:Xe,factory:Xe.\u0275fac}),Xe})(),n=(()=>{class Xe{constructor(xe,Rt){this.template=xe,this._differs=Rt}ngOnChanges(xe){if(!this._columnsDiffer){const Rt=xe.columns&&xe.columns.currentValue||[];this._columnsDiffer=this._differs.find(Rt).create(),this._columnsDiffer.diff(Rt)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(xe){return this instanceof V?xe.headerCell.template:this instanceof tt?xe.footerCell.template:xe.cell.template}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(t.Rgc),t.Y36(t.ZZ4))},Xe.\u0275dir=t.lG2({type:Xe,features:[t.TTD]}),Xe})();class v extends n{}const B=$(v);let V=(()=>{class Xe extends B{constructor(xe,Rt,jt){super(xe,Rt),this._table=jt}ngOnChanges(xe){super.ngOnChanges(xe)}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(ie,8))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[t.qOj,t.TTD]}),Xe})();class X extends n{}const De=$(X);let tt=(()=>{class Xe extends De{constructor(xe,Rt,jt){super(xe,Rt),this._table=jt}ngOnChanges(xe){super.ngOnChanges(xe)}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(ie,8))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[t.qOj,t.TTD]}),Xe})(),je=(()=>{class Xe extends n{constructor(xe,Rt,jt){super(xe,Rt),this._table=jt}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(t.Rgc),t.Y36(t.ZZ4),t.Y36(ie,8))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[t.qOj]}),Xe})(),ze=(()=>{class Xe{constructor(xe){this._viewContainer=xe,Xe.mostRecentCellOutlet=this}ngOnDestroy(){Xe.mostRecentCellOutlet===this&&(Xe.mostRecentCellOutlet=null)}}return Xe.mostRecentCellOutlet=null,Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(t.s_b))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","cdkCellOutlet",""]]}),Xe})(),Le=(()=>{class Xe{}return Xe.\u0275fac=function(xe){return new(xe||Xe)},Xe.\u0275cmp=t.Xpm({type:Xe,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(xe,Rt){1&xe&&t.GkF(0,0)},dependencies:[ze],encapsulation:2}),Xe})(),ye=(()=>{class Xe{}return Xe.\u0275fac=function(xe){return new(xe||Xe)},Xe.\u0275cmp=t.Xpm({type:Xe,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(xe,Rt){1&xe&&t.GkF(0,0)},dependencies:[ze],encapsulation:2}),Xe})(),ce=(()=>{class Xe{}return Xe.\u0275fac=function(xe){return new(xe||Xe)},Xe.\u0275cmp=t.Xpm({type:Xe,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(xe,Rt){1&xe&&t.GkF(0,0)},dependencies:[ze],encapsulation:2}),Xe})(),ve=(()=>{class Xe{constructor(xe){this.templateRef=xe,this._contentClassName="cdk-no-data-row"}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(t.Rgc))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["ng-template","cdkNoDataRow",""]]}),Xe})();const oe=["top","bottom","left","right"];class Ke{constructor(Tt,xe,Rt,jt,li=!0,bi=!0,Li){this._isNativeHtmlTable=Tt,this._stickCellCss=xe,this.direction=Rt,this._coalescedStyleScheduler=jt,this._isBrowser=li,this._needsPositionStickyOnElement=bi,this._positionListener=Li,this._cachedCellWidths=[],this._borderCellCss={top:`${xe}-border-elem-top`,bottom:`${xe}-border-elem-bottom`,left:`${xe}-border-elem-left`,right:`${xe}-border-elem-right`}}clearStickyPositioning(Tt,xe){const Rt=[];for(const jt of Tt)if(jt.nodeType===jt.ELEMENT_NODE){Rt.push(jt);for(let li=0;li<jt.children.length;li++)Rt.push(jt.children[li])}this._coalescedStyleScheduler.schedule(()=>{for(const jt of Rt)this._removeStickyStyle(jt,xe)})}updateStickyColumns(Tt,xe,Rt,jt=!0){if(!Tt.length||!this._isBrowser||!xe.some(Kt=>Kt)&&!Rt.some(Kt=>Kt))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const li=Tt[0],bi=li.children.length,Li=this._getCellWidths(li,jt),Gi=this._getStickyStartColumnPositions(Li,xe),ji=this._getStickyEndColumnPositions(Li,Rt),$i=xe.lastIndexOf(!0),Gt=Rt.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const Kt="rtl"===this.direction,fe=Kt?"right":"left",Oe=Kt?"left":"right";for(const ct of Tt)for(let Je=0;Je<bi;Je++){const ii=ct.children[Je];xe[Je]&&this._addStickyStyle(ii,fe,Gi[Je],Je===$i),Rt[Je]&&this._addStickyStyle(ii,Oe,ji[Je],Je===Gt)}this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:-1===$i?[]:Li.slice(0,$i+1).map((ct,Je)=>xe[Je]?ct:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===Gt?[]:Li.slice(Gt).map((ct,Je)=>Rt[Je+Gt]?ct:null).reverse()}))})}stickRows(Tt,xe,Rt){if(!this._isBrowser)return;const jt="bottom"===Rt?Tt.slice().reverse():Tt,li="bottom"===Rt?xe.slice().reverse():xe,bi=[],Li=[],Gi=[];for(let $i=0,Gt=0;$i<jt.length;$i++){if(!li[$i])continue;bi[$i]=Gt;const Kt=jt[$i];Gi[$i]=this._isNativeHtmlTable?Array.from(Kt.children):[Kt];const fe=Kt.getBoundingClientRect().height;Gt+=fe,Li[$i]=fe}const ji=li.lastIndexOf(!0);this._coalescedStyleScheduler.schedule(()=>{for(let $i=0;$i<jt.length;$i++){if(!li[$i])continue;const Gt=bi[$i],Kt=$i===ji;for(const fe of Gi[$i])this._addStickyStyle(fe,Rt,Gt,Kt)}"top"===Rt?this._positionListener?.stickyHeaderRowsUpdated({sizes:Li,offsets:bi,elements:Gi}):this._positionListener?.stickyFooterRowsUpdated({sizes:Li,offsets:bi,elements:Gi})})}updateStickyFooterContainer(Tt,xe){if(!this._isNativeHtmlTable)return;const Rt=Tt.querySelector("tfoot");this._coalescedStyleScheduler.schedule(()=>{xe.some(jt=>!jt)?this._removeStickyStyle(Rt,["bottom"]):this._addStickyStyle(Rt,"bottom",0,!1)})}_removeStickyStyle(Tt,xe){for(const jt of xe)Tt.style[jt]="",Tt.classList.remove(this._borderCellCss[jt]);oe.some(jt=>-1===xe.indexOf(jt)&&Tt.style[jt])?Tt.style.zIndex=this._getCalculatedZIndex(Tt):(Tt.style.zIndex="",this._needsPositionStickyOnElement&&(Tt.style.position=""),Tt.classList.remove(this._stickCellCss))}_addStickyStyle(Tt,xe,Rt,jt){Tt.classList.add(this._stickCellCss),jt&&Tt.classList.add(this._borderCellCss[xe]),Tt.style[xe]=`${Rt}px`,Tt.style.zIndex=this._getCalculatedZIndex(Tt),this._needsPositionStickyOnElement&&(Tt.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(Tt){const xe={top:100,bottom:10,left:1,right:1};let Rt=0;for(const jt of oe)Tt.style[jt]&&(Rt+=xe[jt]);return Rt?`${Rt}`:""}_getCellWidths(Tt,xe=!0){if(!xe&&this._cachedCellWidths.length)return this._cachedCellWidths;const Rt=[],jt=Tt.children;for(let li=0;li<jt.length;li++)Rt.push(jt[li].getBoundingClientRect().width);return this._cachedCellWidths=Rt,Rt}_getStickyStartColumnPositions(Tt,xe){const Rt=[];let jt=0;for(let li=0;li<Tt.length;li++)xe[li]&&(Rt[li]=jt,jt+=Tt[li]);return Rt}_getStickyEndColumnPositions(Tt,xe){const Rt=[];let jt=0;for(let li=Tt.length;li>0;li--)xe[li]&&(Rt[li]=jt,jt+=Tt[li]);return Rt}}const pt=new t.OlP("CDK_SPL");let ut=(()=>{class Xe{constructor(xe,Rt){this.viewContainer=xe,this.elementRef=Rt}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(t.s_b),t.Y36(t.SBq))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","rowOutlet",""]]}),Xe})(),At=(()=>{class Xe{constructor(xe,Rt){this.viewContainer=xe,this.elementRef=Rt}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(t.s_b),t.Y36(t.SBq))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","headerRowOutlet",""]]}),Xe})(),_t=(()=>{class Xe{constructor(xe,Rt){this.viewContainer=xe,this.elementRef=Rt}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(t.s_b),t.Y36(t.SBq))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","footerRowOutlet",""]]}),Xe})(),lt=(()=>{class Xe{constructor(xe,Rt){this.viewContainer=xe,this.elementRef=Rt}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(t.Y36(t.s_b),t.Y36(t.SBq))},Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","noDataRowOutlet",""]]}),Xe})(),He=(()=>{class Xe{get trackBy(){return this._trackByFn}set trackBy(xe){this._trackByFn=xe}get dataSource(){return this._dataSource}set dataSource(xe){this._dataSource!==xe&&this._switchDataSource(xe)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(xe){this._multiTemplateDataRows=(0,b.Ig)(xe),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(xe){this._fixedLayout=(0,b.Ig)(xe),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(xe,Rt,jt,li,bi,Li,Gi,ji,$i,Gt,Kt,fe){this._differs=xe,this._changeDetectorRef=Rt,this._elementRef=jt,this._dir=bi,this._platform=Gi,this._viewRepeater=ji,this._coalescedStyleScheduler=$i,this._viewportRuler=Gt,this._stickyPositioningListener=Kt,this._ngZone=fe,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 S.X({start:0,end:Number.MAX_VALUE}),li||this._elementRef.nativeElement.setAttribute("role","table"),this._document=Li,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((xe,Rt)=>this.trackBy?this.trackBy(Rt.dataIndex,Rt.data):Rt),this._viewportRuler.change().pipe((0,E.R)(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const Rt=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||Rt,this._forceRecalculateCellWidths=Rt,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(xe=>{xe.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),(0,I.Z9)(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const xe=this._dataDiffer.diff(this._renderRows);if(!xe)return this._updateNoDataRow(),void this.contentChanged.next();const Rt=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(xe,Rt,(jt,li,bi)=>this._getEmbeddedViewArgs(jt.item,bi),jt=>jt.item.data,jt=>{1===jt.operation&&jt.context&&this._renderCellTemplateForItem(jt.record.item.rowDef,jt.context)}),this._updateRowIndexContext(),xe.forEachIdentityChange(jt=>{Rt.get(jt.currentIndex).context.$implicit=jt.item.data}),this._updateNoDataRow(),this._ngZone&&t.R0b.isInAngularZone()?this._ngZone.onStable.pipe((0,R.q)(1),(0,E.R)(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(xe){this._customColumnDefs.add(xe)}removeColumnDef(xe){this._customColumnDefs.delete(xe)}addRowDef(xe){this._customRowDefs.add(xe)}removeRowDef(xe){this._customRowDefs.delete(xe)}addHeaderRowDef(xe){this._customHeaderRowDefs.add(xe),this._headerRowDefChanged=!0}removeHeaderRowDef(xe){this._customHeaderRowDefs.delete(xe),this._headerRowDefChanged=!0}addFooterRowDef(xe){this._customFooterRowDefs.add(xe),this._footerRowDefChanged=!0}removeFooterRowDef(xe){this._customFooterRowDefs.delete(xe),this._footerRowDefChanged=!0}setNoDataRow(xe){this._customNoDataRow=xe}updateStickyHeaderRowStyles(){const xe=this._getRenderedRows(this._headerRowOutlet),jt=this._elementRef.nativeElement.querySelector("thead");jt&&(jt.style.display=xe.length?"":"none");const li=this._headerRowDefs.map(bi=>bi.sticky);this._stickyStyler.clearStickyPositioning(xe,["top"]),this._stickyStyler.stickRows(xe,li,"top"),this._headerRowDefs.forEach(bi=>bi.resetStickyChanged())}updateStickyFooterRowStyles(){const xe=this._getRenderedRows(this._footerRowOutlet),jt=this._elementRef.nativeElement.querySelector("tfoot");jt&&(jt.style.display=xe.length?"":"none");const li=this._footerRowDefs.map(bi=>bi.sticky);this._stickyStyler.clearStickyPositioning(xe,["bottom"]),this._stickyStyler.stickRows(xe,li,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,li),this._footerRowDefs.forEach(bi=>bi.resetStickyChanged())}updateStickyColumnStyles(){const xe=this._getRenderedRows(this._headerRowOutlet),Rt=this._getRenderedRows(this._rowOutlet),jt=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...xe,...Rt,...jt],["left","right"]),this._stickyColumnStylesNeedReset=!1),xe.forEach((li,bi)=>{this._addStickyColumnStyles([li],this._headerRowDefs[bi])}),this._rowDefs.forEach(li=>{const bi=[];for(let Li=0;Li<Rt.length;Li++)this._renderRows[Li].rowDef===li&&bi.push(Rt[Li]);this._addStickyColumnStyles(bi,li)}),jt.forEach((li,bi)=>{this._addStickyColumnStyles([li],this._footerRowDefs[bi])}),Array.from(this._columnDefsByName.values()).forEach(li=>li.resetStickyChanged())}_getAllRenderRows(){const xe=[],Rt=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let jt=0;jt<this._data.length;jt++){let li=this._data[jt];const bi=this._getRenderRowsForData(li,jt,Rt.get(li));this._cachedRenderRowsMap.has(li)||this._cachedRenderRowsMap.set(li,new WeakMap);for(let Li=0;Li<bi.length;Li++){let Gi=bi[Li];const ji=this._cachedRenderRowsMap.get(Gi.data);ji.has(Gi.rowDef)?ji.get(Gi.rowDef).push(Gi):ji.set(Gi.rowDef,[Gi]),xe.push(Gi)}}return xe}_getRenderRowsForData(xe,Rt,jt){return this._getRowDefs(xe,Rt).map(bi=>{const Li=jt&&jt.has(bi)?jt.get(bi):[];if(Li.length){const Gi=Li.shift();return Gi.dataIndex=Rt,Gi}return{data:xe,rowDef:bi,dataIndex:Rt}})}_cacheColumnDefs(){this._columnDefsByName.clear(),wt(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(Rt=>{this._columnDefsByName.has(Rt.name),this._columnDefsByName.set(Rt.name,Rt)})}_cacheRowDefs(){this._headerRowDefs=wt(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=wt(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=wt(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const xe=this._rowDefs.filter(Rt=>!Rt.when);this._defaultRowDef=xe[0]}_renderUpdatedColumns(){const xe=(bi,Li)=>bi||!!Li.getColumnsDiff(),Rt=this._rowDefs.reduce(xe,!1);Rt&&this._forceRenderDataRows();const jt=this._headerRowDefs.reduce(xe,!1);jt&&this._forceRenderHeaderRows();const li=this._footerRowDefs.reduce(xe,!1);return li&&this._forceRenderFooterRows(),Rt||jt||li}_switchDataSource(xe){this._data=[],(0,I.Z9)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),xe||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=xe}_observeRenderChanges(){if(!this.dataSource)return;let xe;(0,I.Z9)(this.dataSource)?xe=this.dataSource.connect(this):(0,w.b)(this.dataSource)?xe=this.dataSource:Array.isArray(this.dataSource)&&(xe=(0,O.of)(this.dataSource)),this._renderChangeSubscription=xe.pipe((0,E.R)(this._onDestroy)).subscribe(Rt=>{this._data=Rt||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((xe,Rt)=>this._renderRow(this._headerRowOutlet,xe,Rt)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((xe,Rt)=>this._renderRow(this._footerRowOutlet,xe,Rt)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(xe,Rt){const jt=Array.from(Rt.columns||[]).map(Li=>this._columnDefsByName.get(Li)),li=jt.map(Li=>Li.sticky),bi=jt.map(Li=>Li.stickyEnd);this._stickyStyler.updateStickyColumns(xe,li,bi,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(xe){const Rt=[];for(let jt=0;jt<xe.viewContainer.length;jt++){const li=xe.viewContainer.get(jt);Rt.push(li.rootNodes[0])}return Rt}_getRowDefs(xe,Rt){if(1==this._rowDefs.length)return[this._rowDefs[0]];let jt=[];if(this.multiTemplateDataRows)jt=this._rowDefs.filter(li=>!li.when||li.when(Rt,xe));else{let li=this._rowDefs.find(bi=>bi.when&&bi.when(Rt,xe))||this._defaultRowDef;li&&jt.push(li)}return jt}_getEmbeddedViewArgs(xe,Rt){return{templateRef:xe.rowDef.template,context:{$implicit:xe.data},index:Rt}}_renderRow(xe,Rt,jt,li={}){const bi=xe.viewContainer.createEmbeddedView(Rt.template,li,jt);return this._renderCellTemplateForItem(Rt,li),bi}_renderCellTemplateForItem(xe,Rt){for(let jt of this._getCellTemplates(xe))ze.mostRecentCellOutlet&&ze.mostRecentCellOutlet._viewContainer.createEmbeddedView(jt,Rt);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const xe=this._rowOutlet.viewContainer;for(let Rt=0,jt=xe.length;Rt<jt;Rt++){const bi=xe.get(Rt).context;bi.count=jt,bi.first=0===Rt,bi.last=Rt===jt-1,bi.even=Rt%2==0,bi.odd=!bi.even,this.multiTemplateDataRows?(bi.dataIndex=this._renderRows[Rt].dataIndex,bi.renderIndex=Rt):bi.index=this._renderRows[Rt].dataIndex}}_getCellTemplates(xe){return xe&&xe.columns?Array.from(xe.columns,Rt=>{const jt=this._columnDefsByName.get(Rt);return xe.extractCellTemplate(jt)}):[]}_applyNativeTableSections(){const xe=this._document.createDocumentFragment(),Rt=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const jt of Rt){const li=this._document.createElement(jt.tag);li.setAttribute("role","rowgroup");for(const bi of jt.outlets)li.appendChild(bi.elementRef.nativeElement);xe.appendChild(li)}this._elementRef.nativeElement.appendChild(xe)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const xe=(Rt,jt)=>Rt||jt.hasStickyChanged();this._headerRowDefs.reduce(xe,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(xe,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(xe,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new Ke(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:(0,O.of)()).pipe((0,E.R)(this._onDestroy)).subscribe(Rt=>{this._stickyStyler.direction=Rt,this.updateStickyColumnStyles()})}_getOwnDefs(xe){return xe.filter(Rt=>!Rt._table||Rt._table===this)}_updateNoDataRow(){const xe=this._customNoDataRow||this._noDataRow;if(!xe)return;const Rt=0===this._rowOutlet.viewContainer.length;if(Rt===this._isShowingNoDataRow)return;const jt=this._noDataRowOutlet.viewContainer;if(Rt){const li=jt.createEmbeddedView(xe.templateRef),bi=li.rootNodes[0];1===li.rootNodes.length&&bi?.nodeType===this._document.ELEMENT_NODE&&(bi.setAttribute("role","row"),bi.classList.add(xe._contentClassName))}else jt.clear();this._isShowingNoDataRow=Rt}}return Xe.\u0275fac=function(xe){return new(xe||Xe)(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(I.k),t.Y36(T),t.Y36(C.rL),t.Y36(pt,12),t.Y36(t.R0b,8))},Xe.\u0275cmp=t.Xpm({type:Xe,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(xe,Rt,jt){if(1&xe&&(t.Suo(jt,ve,5),t.Suo(jt,A,5),t.Suo(jt,je,5),t.Suo(jt,V,5),t.Suo(jt,tt,5)),2&xe){let li;t.iGM(li=t.CRH())&&(Rt._noDataRow=li.first),t.iGM(li=t.CRH())&&(Rt._contentColumnDefs=li),t.iGM(li=t.CRH())&&(Rt._contentRowDefs=li),t.iGM(li=t.CRH())&&(Rt._contentHeaderRowDefs=li),t.iGM(li=t.CRH())&&(Rt._contentFooterRowDefs=li)}},viewQuery:function(xe,Rt){if(1&xe&&(t.Gf(ut,7),t.Gf(At,7),t.Gf(_t,7),t.Gf(lt,7)),2&xe){let jt;t.iGM(jt=t.CRH())&&(Rt._rowOutlet=jt.first),t.iGM(jt=t.CRH())&&(Rt._headerRowOutlet=jt.first),t.iGM(jt=t.CRH())&&(Rt._footerRowOutlet=jt.first),t.iGM(jt=t.CRH())&&(Rt._noDataRowOutlet=jt.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(xe,Rt){2&xe&&t.ekj("cdk-table-fixed-layout",Rt.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[t._Bn([{provide:ie,useExisting:Xe},{provide:I.k,useClass:I.yy},{provide:T,useClass:D},{provide:pt,useValue:null}])],ngContentSelectors:U,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(xe,Rt){1&xe&&(t.F$t(z),t.Hsn(0),t.Hsn(1,1),t.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[ut,At,_t,lt],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2}),Xe})();function wt(Xe,Tt){return Xe.concat(Array.from(Tt))}let Ft=(()=>{class Xe{}return Xe.\u0275fac=function(xe){return new(xe||Xe)},Xe.\u0275mod=t.oAB({type:Xe}),Xe.\u0275inj=t.cJS({imports:[C.Cl]}),Xe})();var qe=p(3238),Qe=p(6451),Ht=p(9841),Et=p(4004);const It=[[["caption"]],[["colgroup"],["col"]]],bt=["caption","colgroup, col"];let Ve=(()=>{class Xe extends He{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 Xe.\u0275fac=function(){let Tt;return function(Rt){return(Tt||(Tt=t.n5z(Xe)))(Rt||Xe)}}(),Xe.\u0275cmp=t.Xpm({type:Xe,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(xe,Rt){2&xe&&t.ekj("mdc-table-fixed-layout",Rt.fixedLayout)},exportAs:["matTable"],features:[t._Bn([{provide:He,useExisting:Xe},{provide:ie,useExisting:Xe},{provide:T,useClass:D},{provide:I.k,useClass:I.yy},{provide:pt,useValue:null}]),t.qOj],ngContentSelectors:bt,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(xe,Rt){1&xe&&(t.F$t(It),t.Hsn(0),t.Hsn(1,1),t.GkF(2,0)(3,1)(4,2)(5,3))},dependencies:[ut,At,_t,lt],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}),Xe})(),ot=(()=>{class Xe extends he{}return Xe.\u0275fac=function(){let Tt;return function(Rt){return(Tt||(Tt=t.n5z(Xe)))(Rt||Xe)}}(),Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","matCellDef",""]],features:[t._Bn([{provide:he,useExisting:Xe}]),t.qOj]}),Xe})(),ei=(()=>{class Xe extends ne{}return Xe.\u0275fac=function(){let Tt;return function(Rt){return(Tt||(Tt=t.n5z(Xe)))(Rt||Xe)}}(),Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","matHeaderCellDef",""]],features:[t._Bn([{provide:ne,useExisting:Xe}]),t.qOj]}),Xe})(),Bt=(()=>{class Xe extends le{}return Xe.\u0275fac=function(){let Tt;return function(Rt){return(Tt||(Tt=t.n5z(Xe)))(Rt||Xe)}}(),Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","matFooterCellDef",""]],features:[t._Bn([{provide:le,useExisting:Xe}]),t.qOj]}),Xe})(),ti=(()=>{class Xe extends A{get name(){return this._name}set name(xe){this._setNameInput(xe)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return Xe.\u0275fac=function(){let Tt;return function(Rt){return(Tt||(Tt=t.n5z(Xe)))(Rt||Xe)}}(),Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[t._Bn([{provide:A,useExisting:Xe},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:Xe}]),t.qOj]}),Xe})(),mt=(()=>{class Xe extends a{}return Xe.\u0275fac=function(){let Tt;return function(Rt){return(Tt||(Tt=t.n5z(Xe)))(Rt||Xe)}}(),Xe.\u0275dir=t.lG2({type:Xe,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],features:[t.qOj]}),Xe})(),nt=(()=>{class Xe extends u{}return Xe.\u0275fac=function(){let Tt;return function(Rt){return(Tt||(Tt=t.n5z(Xe)))(Rt||Xe)}}(),Xe.\u0275dir=t.lG2({type:Xe,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],features:[t.qOj]}),Xe})(),yt=(()=>{class Xe extends l{}return Xe.\u0275fac=function(){let Tt;return function(Rt){return(Tt||(Tt=t.n5z(Xe)))(Rt||Xe)}}(),Xe.\u0275dir=t.lG2({type:Xe,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],features:[t.qOj]}),Xe})(),$t=(()=>{class Xe extends V{}return Xe.\u0275fac=function(){let Tt;return function(Rt){return(Tt||(Tt=t.n5z(Xe)))(Rt||Xe)}}(),Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[t._Bn([{provide:V,useExisting:Xe}]),t.qOj]}),Xe})(),Vt=(()=>{class Xe extends tt{}return Xe.\u0275fac=function(){let Tt;return function(Rt){return(Tt||(Tt=t.n5z(Xe)))(Rt||Xe)}}(),Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","matFooterRowDef",""]],inputs:{columns:["matFooterRowDef","columns"],sticky:["matFooterRowDefSticky","sticky"]},features:[t._Bn([{provide:tt,useExisting:Xe}]),t.qOj]}),Xe})(),ft=(()=>{class Xe extends je{}return Xe.\u0275fac=function(){let Tt;return function(Rt){return(Tt||(Tt=t.n5z(Xe)))(Rt||Xe)}}(),Xe.\u0275dir=t.lG2({type:Xe,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[t._Bn([{provide:je,useExisting:Xe}]),t.qOj]}),Xe})(),Pt=(()=>{class Xe extends Le{}return Xe.\u0275fac=function(){let Tt;return function(Rt){return(Tt||(Tt=t.n5z(Xe)))(Rt||Xe)}}(),Xe.\u0275cmp=t.Xpm({type:Xe,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:Le,useExisting:Xe}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(xe,Rt){1&xe&&t.GkF(0,0)},dependencies:[ze],encapsulation:2}),Xe})(),Pe=(()=>{class Xe extends ye{}return Xe.\u0275fac=function(){let Tt;return function(Rt){return(Tt||(Tt=t.n5z(Xe)))(Rt||Xe)}}(),Xe.\u0275cmp=t.Xpm({type:Xe,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:ye,useExisting:Xe}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(xe,Rt){1&xe&&t.GkF(0,0)},dependencies:[ze],encapsulation:2}),Xe})(),it=(()=>{class Xe extends ce{}return Xe.\u0275fac=function(){let Tt;return function(Rt){return(Tt||(Tt=t.n5z(Xe)))(Rt||Xe)}}(),Xe.\u0275cmp=t.Xpm({type:Xe,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],features:[t._Bn([{provide:ce,useExisting:Xe}]),t.qOj],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(xe,Rt){1&xe&&t.GkF(0,0)},dependencies:[ze],encapsulation:2}),Xe})(),ui=(()=>{class Xe{}return Xe.\u0275fac=function(xe){return new(xe||Xe)},Xe.\u0275mod=t.oAB({type:Xe}),Xe.\u0275inj=t.cJS({imports:[qe.BQ,Ft,qe.BQ]}),Xe})();class yi extends I.o2{get data(){return this._data.value}set data(Tt){Tt=Array.isArray(Tt)?Tt:[],this._data.next(Tt),this._renderChangesSubscription||this._filterData(Tt)}get filter(){return this._filter.value}set filter(Tt){this._filter.next(Tt),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(Tt){this._sort=Tt,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(Tt){this._paginator=Tt,this._updateChangeSubscription()}constructor(Tt=[]){super(),this._renderData=new S.X([]),this._filter=new S.X(""),this._internalPageChanges=new P.x,this._renderChangesSubscription=null,this.sortingDataAccessor=(xe,Rt)=>{const jt=xe[Rt];if((0,b.t6)(jt)){const li=Number(jt);return li<9007199254740991?li:jt}return jt},this.sortData=(xe,Rt)=>{const jt=Rt.active,li=Rt.direction;return jt&&""!=li?xe.sort((bi,Li)=>{let Gi=this.sortingDataAccessor(bi,jt),ji=this.sortingDataAccessor(Li,jt);const $i=typeof Gi,Gt=typeof ji;$i!==Gt&&("number"===$i&&(Gi+=""),"number"===Gt&&(ji+=""));let Kt=0;return null!=Gi&&null!=ji?Gi>ji?Kt=1:Gi<ji&&(Kt=-1):null!=Gi?Kt=1:null!=ji&&(Kt=-1),Kt*("asc"==li?1:-1)}):xe},this.filterPredicate=(xe,Rt)=>{const jt=Object.keys(xe).reduce((bi,Li)=>bi+xe[Li]+"\u25ec","").toLowerCase(),li=Rt.trim().toLowerCase();return-1!=jt.indexOf(li)},this._data=new S.X(Tt),this._updateChangeSubscription()}_updateChangeSubscription(){const Tt=this._sort?(0,Qe.T)(this._sort.sortChange,this._sort.initialized):(0,O.of)(null),xe=this._paginator?(0,Qe.T)(this._paginator.page,this._internalPageChanges,this._paginator.initialized):(0,O.of)(null),jt=(0,Ht.a)([this._data,this._filter]).pipe((0,Et.U)(([Li])=>this._filterData(Li))),li=(0,Ht.a)([jt,Tt]).pipe((0,Et.U)(([Li])=>this._orderData(Li))),bi=(0,Ht.a)([li,xe]).pipe((0,Et.U)(([Li])=>this._pageData(Li)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=bi.subscribe(Li=>this._renderData.next(Li))}_filterData(Tt){return this.filteredData=null==this.filter||""===this.filter?Tt:Tt.filter(xe=>this.filterPredicate(xe,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(Tt){return this.sort?this.sortData(Tt.slice(),this.sort):Tt}_pageData(Tt){if(!this.paginator)return Tt;const xe=this.paginator.pageIndex*this.paginator.pageSize;return Tt.slice(xe,xe+this.paginator.pageSize)}_updatePaginator(Tt){Promise.resolve().then(()=>{const xe=this.paginator;if(xe&&(xe.length=Tt,xe.pageIndex>0)){const Rt=Math.ceil(xe.length/xe.pageSize)-1||0,jt=Math.min(xe.pageIndex,Rt);jt!==xe.pageIndex&&(xe.pageIndex=jt,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}}class Ni extends yi{}},3848:(Ue,q,p)=>{"use strict";p.d(q,{BU:()=>$t,Nh:()=>Pt,Nj:()=>Vt,SP:()=>ot,sW:()=>ft,uD:()=>Ge,uX:()=>Fe});var t=p(6895),e=p(4650),b=p(3238),I=p(4080),s=p(9643),C=p(4761),h=p(445),P=p(727),d=p(7579),S=p(4968),w=p(9646),O=p(6451),E=p(515),R=p(9751),z=p(2805),U=p(1135),Y=p(8675),K=p(1884),$=p(2722),ie=p(5698),ue=p(3900),he=p(5684),ne=p(9300),le=p(7340),ee=p(1281),me=p(531),A=p(3353),i=p(9521);function a(Pe,it){}const u=function(Pe){return{animationDuration:Pe}},l=function(Pe,it){return{value:Pe,params:it}};function y(Pe,it){1&Pe&&e.Hsn(0)}const T=["*"],D=["tabListContainer"],m=["tabList"],n=["tabListInner"],v=["nextPaginator"],B=["previousPaginator"],V=["tabBodyWrapper"],X=["tabHeader"];function De(Pe,it){}function tt(Pe,it){if(1&Pe&&e.YNc(0,De,0,0,"ng-template",14),2&Pe){const at=e.oxw().$implicit;e.Q6J("cdkPortalOutlet",at.templateLabel)}}function je(Pe,it){if(1&Pe&&e._uU(0),2&Pe){const at=e.oxw().$implicit;e.Oqu(at.textLabel)}}function ze(Pe,it){if(1&Pe){const at=e.EpF();e.TgZ(0,"div",6,7),e.NdJ("click",function(){const Lt=e.CHM(at),ui=Lt.$implicit,Ti=Lt.index,yi=e.oxw(),Ni=e.MAs(1);return e.KtG(yi._handleClick(ui,Ni,Ti))})("cdkFocusChange",function(Lt){const Ti=e.CHM(at).index,yi=e.oxw();return e.KtG(yi._tabFocusChanged(Lt,Ti))}),e._UZ(2,"span",8)(3,"div",9),e.TgZ(4,"span",10)(5,"span",11),e.YNc(6,tt,1,1,"ng-template",12),e.YNc(7,je,1,1,"ng-template",null,13,e.W1O),e.qZA()()()}if(2&Pe){const at=it.$implicit,ht=it.index,Lt=e.MAs(1),ui=e.MAs(8),Ti=e.oxw();e.ekj("mdc-tab--active",Ti.selectedIndex===ht),e.Q6J("id",Ti._getTabLabelId(ht))("ngClass",at.labelClass)("disabled",at.disabled)("fitInkBarToContent",Ti.fitInkBarToContent),e.uIk("tabIndex",Ti._getTabIndex(ht))("aria-posinset",ht+1)("aria-setsize",Ti._tabs.length)("aria-controls",Ti._getTabContentId(ht))("aria-selected",Ti.selectedIndex===ht)("aria-label",at.ariaLabel||null)("aria-labelledby",!at.ariaLabel&&at.ariaLabelledby?at.ariaLabelledby:null),e.xp6(3),e.Q6J("matRippleTrigger",Lt)("matRippleDisabled",at.disabled||Ti.disableRipple),e.xp6(3),e.Q6J("ngIf",at.templateLabel)("ngIfElse",ui)}}function Le(Pe,it){if(1&Pe){const at=e.EpF();e.TgZ(0,"mat-tab-body",15),e.NdJ("_onCentered",function(){e.CHM(at);const Lt=e.oxw();return e.KtG(Lt._removeTabBodyWrapperHeight())})("_onCentering",function(Lt){e.CHM(at);const ui=e.oxw();return e.KtG(ui._setTabBodyWrapperHeight(Lt))}),e.qZA()}if(2&Pe){const at=it.$implicit,ht=it.index,Lt=e.oxw();e.ekj("mat-mdc-tab-body-active",Lt.selectedIndex===ht),e.Q6J("id",Lt._getTabContentId(ht))("ngClass",at.bodyClass)("content",at.content)("position",at.position)("origin",at.origin)("animationDuration",Lt.animationDuration)("preserveContent",Lt.preserveContent),e.uIk("tabindex",null!=Lt.contentTabIndex&&Lt.selectedIndex===ht?Lt.contentTabIndex:null)("aria-labelledby",Lt._getTabLabelId(ht))}}const ye=["mat-tab-nav-bar",""],ce=["mat-tab-link",""],ve={translateTab:(0,le.X$)("translateTab",[(0,le.SB)("center, void, left-origin-center, right-origin-center",(0,le.oB)({transform:"none"})),(0,le.SB)("left",(0,le.oB)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,le.SB)("right",(0,le.oB)({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),(0,le.eR)("* => left, * => right, left => center, right => center",(0,le.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),(0,le.eR)("void => left-origin-center",[(0,le.oB)({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),(0,le.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),(0,le.eR)("void => right-origin-center",[(0,le.oB)({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),(0,le.jt)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let oe=(()=>{class Pe extends I.Pl{constructor(at,ht,Lt,ui){super(at,ht,ui),this._host=Lt,this._centeringSub=P.w0.EMPTY,this._leavingSub=P.w0.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe((0,Y.O)(this._host._isCenterPosition(this._host._position))).subscribe(at=>{at&&!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 Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(e._Vd),e.Y36(e.s_b),e.Y36((0,e.Gpc)(()=>Ae)),e.Y36(t.K0))},Pe.\u0275dir=e.lG2({type:Pe,selectors:[["","matTabBodyHost",""]],features:[e.qOj]}),Pe})(),Ke=(()=>{class Pe{set position(at){this._positionIndex=at,this._computePositionAnimationState()}constructor(at,ht,Lt){this._elementRef=at,this._dir=ht,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,ht&&(this._dirChangeSubscription=ht.change.subscribe(ui=>{this._computePositionAnimationState(ui),Lt.markForCheck()})),this._translateTabComplete.pipe((0,K.x)((ui,Ti)=>ui.fromState===Ti.fromState&&ui.toState===Ti.toState)).subscribe(ui=>{this._isCenterPosition(ui.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(ui.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(at){const ht=this._isCenterPosition(at.toState);this._beforeCentering.emit(ht),ht&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(at){return"center"==at||"left-origin-center"==at||"right-origin-center"==at}_computePositionAnimationState(at=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==at?"left":"right":this._positionIndex>0?"ltr"==at?"right":"left":"center"}_computePositionFromOrigin(at){const ht=this._getLayoutDirection();return"ltr"==ht&&at<=0||"rtl"==ht&&at>0?"left-origin-center":"right-origin-center"}}return Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(e.SBq),e.Y36(h.Is,8),e.Y36(e.sBO))},Pe.\u0275dir=e.lG2({type:Pe,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Pe})(),Ae=(()=>{class Pe extends Ke{constructor(at,ht,Lt){super(at,ht,Lt)}}return Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(e.SBq),e.Y36(h.Is,8),e.Y36(e.sBO))},Pe.\u0275cmp=e.Xpm({type:Pe,selectors:[["mat-tab-body"]],viewQuery:function(at,ht){if(1&at&&e.Gf(I.Pl,5),2&at){let Lt;e.iGM(Lt=e.CRH())&&(ht._portalHost=Lt.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(at,ht){1&at&&(e.TgZ(0,"div",0,1),e.NdJ("@translateTab.start",function(ui){return ht._onTranslateTabStarted(ui)})("@translateTab.done",function(ui){return ht._translateTabComplete.next(ui)}),e.YNc(2,a,0,0,"ng-template",2),e.qZA()),2&at&&e.Q6J("@translateTab",e.WLB(3,l,ht._position,e.VKq(1,u,ht.animationDuration)))},dependencies:[oe],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:[ve.translateTab]}}),Pe})();const de=new e.OlP("MatTabContent");let Ce=(()=>{class Pe{constructor(at){this.template=at}}return Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(e.Rgc))},Pe.\u0275dir=e.lG2({type:Pe,selectors:[["","matTabContent",""]],features:[e._Bn([{provide:de,useExisting:Pe}])]}),Pe})();const te=new e.OlP("MatTabLabel"),Ze=new e.OlP("MAT_TAB");let Ge=(()=>{class Pe extends I.ig{constructor(at,ht,Lt){super(at,ht),this._closestTab=Lt}}return Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(e.Rgc),e.Y36(e.s_b),e.Y36(Ze,8))},Pe.\u0275dir=e.lG2({type:Pe,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[e._Bn([{provide:te,useExisting:Pe}]),e.qOj]}),Pe})();const ae="mdc-tab-indicator--active",ge="mdc-tab-indicator--no-transition";class pt{constructor(it){this._items=it}hide(){this._items.forEach(it=>it.deactivateInkBar())}alignToElement(it){const at=this._items.find(Lt=>Lt.elementRef.nativeElement===it),ht=this._currentItem;if(ht?.deactivateInkBar(),at){const Lt=ht?.elementRef.nativeElement.getBoundingClientRect?.();at.activateInkBar(Lt),this._currentItem=at}}}function $e(Pe){return class extends Pe{constructor(...it){super(...it),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(it){const at=(0,ee.Ig)(it);this._fitToContent!==at&&(this._fitToContent=at,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(it){const at=this.elementRef.nativeElement;if(!it||!at.getBoundingClientRect||!this._inkBarContentElement)return void at.classList.add(ae);const ht=at.getBoundingClientRect(),Lt=it.width/ht.width,ui=it.left-ht.left;at.classList.add(ge),this._inkBarContentElement.style.setProperty("transform",`translateX(${ui}px) scaleX(${Lt})`),at.getBoundingClientRect(),at.classList.remove(ge),at.classList.add(ae),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this.elementRef.nativeElement.classList.remove(ae)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){const it=this.elementRef.nativeElement.ownerDocument||document;this._inkBarElement=it.createElement("span"),this._inkBarContentElement=it.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 _t=(0,b.Id)(class{}),St=$e((()=>{class Pe extends _t{constructor(at){super(),this.elementRef=at}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(e.SBq))},Pe.\u0275dir=e.lG2({type:Pe,features:[e.qOj]}),Pe})());let ke=(()=>{class Pe extends St{}return Pe.\u0275fac=function(){let it;return function(ht){return(it||(it=e.n5z(Pe)))(ht||Pe)}}(),Pe.\u0275dir=e.lG2({type:Pe,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(at,ht){2&at&&(e.uIk("aria-disabled",!!ht.disabled),e.ekj("mat-mdc-tab-disabled",ht.disabled))},inputs:{disabled:"disabled",fitInkBarToContent:"fitInkBarToContent"},features:[e.qOj]}),Pe})();const He=(0,b.Id)(class{}),wt=new e.OlP("MAT_TAB_GROUP");let W=(()=>{class Pe extends He{get content(){return this._contentPortal}constructor(at,ht){super(),this._viewContainerRef=at,this._closestTabGroup=ht,this.textLabel="",this._contentPortal=null,this._stateChanges=new d.x,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(at){(at.hasOwnProperty("textLabel")||at.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new I.UE(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(at){at&&at._closestTab===this&&(this._templateLabel=at)}}return Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(e.s_b),e.Y36(wt,8))},Pe.\u0275dir=e.lG2({type:Pe,viewQuery:function(at,ht){if(1&at&&e.Gf(e.Rgc,7),2&at){let Lt;e.iGM(Lt=e.CRH())&&(ht._implicitContent=Lt.first)}},inputs:{textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},features:[e.qOj,e.TTD]}),Pe})(),Fe=(()=>{class Pe extends W{get templateLabel(){return this._templateLabel}set templateLabel(at){this._setTemplateLabelInput(at)}}return Pe.\u0275fac=function(){let it;return function(ht){return(it||(it=e.n5z(Pe)))(ht||Pe)}}(),Pe.\u0275cmp=e.Xpm({type:Pe,selectors:[["mat-tab"]],contentQueries:function(at,ht,Lt){if(1&at&&(e.Suo(Lt,Ce,7,e.Rgc),e.Suo(Lt,Ge,5)),2&at){let ui;e.iGM(ui=e.CRH())&&(ht._explicitContent=ui.first),e.iGM(ui=e.CRH())&&(ht.templateLabel=ui.first)}},inputs:{disabled:"disabled"},exportAs:["matTab"],features:[e._Bn([{provide:Ze,useExisting:Pe}]),e.qOj],ngContentSelectors:T,decls:1,vars:0,template:function(at,ht){1&at&&(e.F$t(),e.YNc(0,y,1,0,"ng-template"))},encapsulation:2}),Pe})();const Ft=(0,A.i$)({passive:!0});let Et=(()=>{class Pe{get disablePagination(){return this._disablePagination}set disablePagination(at){this._disablePagination=(0,ee.Ig)(at)}get selectedIndex(){return this._selectedIndex}set selectedIndex(at){at=(0,ee.su)(at),this._selectedIndex!=at&&(this._selectedIndexChanged=!0,this._selectedIndex=at,this._keyManager&&this._keyManager.updateActiveItem(at))}constructor(at,ht,Lt,ui,Ti,yi,Ni){this._elementRef=at,this._changeDetectorRef=ht,this._viewportRuler=Lt,this._dir=ui,this._ngZone=Ti,this._platform=yi,this._animationMode=Ni,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,Ti.runOutsideAngular(()=>{(0,S.R)(at.nativeElement,"mouseleave").pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){(0,S.R)(this._previousPaginator.nativeElement,"touchstart",Ft).pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),(0,S.R)(this._nextPaginator.nativeElement,"touchstart",Ft).pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const at=this._dir?this._dir.change:(0,w.of)("ltr"),ht=this._viewportRuler.change(150),Lt=()=>{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,ie.q)(1)).subscribe(Lt),(0,O.T)(at,ht,this._items.changes,this._itemsResized()).pipe((0,$.R)(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),Lt()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(ui=>{this.indexFocused.emit(ui),this._setTabFocus(ui)})}_itemsResized(){return"function"!=typeof ResizeObserver?E.E:this._items.changes.pipe((0,Y.O)(this._items),(0,ue.w)(at=>new R.y(ht=>this._ngZone.runOutsideAngular(()=>{const Lt=new ResizeObserver(ui=>ht.next(ui));return at.forEach(ui=>Lt.observe(ui.elementRef.nativeElement)),()=>{Lt.disconnect()}}))),(0,he.T)(1),(0,ne.h)(at=>at.some(ht=>ht.contentRect.width>0&&ht.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(at){if(!(0,i.Vb)(at))switch(at.keyCode){case i.K5:case i.L_:if(this.focusIndex!==this.selectedIndex){const ht=this._items.get(this.focusIndex);ht&&!ht.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(at))}break;default:this._keyManager.onKeydown(at)}}_onContentChanges(){const at=this._elementRef.nativeElement.textContent;at!==this._currentTextContent&&(this._currentTextContent=at||"",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(at){!this._isValidIndex(at)||this.focusIndex===at||!this._keyManager||this._keyManager.setActiveItem(at)}_isValidIndex(at){return!this._items||!!this._items.toArray()[at]}_setTabFocus(at){if(this._showPaginationControls&&this._scrollToLabel(at),this._items&&this._items.length){this._items.toArray()[at].focus();const ht=this._tabListContainer.nativeElement;ht.scrollLeft="ltr"==this._getLayoutDirection()?0:ht.scrollWidth-ht.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const at=this.scrollDistance,ht="ltr"===this._getLayoutDirection()?-at:at;this._tabList.nativeElement.style.transform=`translateX(${Math.round(ht)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(at){this._scrollTo(at)}_scrollHeader(at){return this._scrollTo(this._scrollDistance+("before"==at?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(at){this._stopInterval(),this._scrollHeader(at)}_scrollToLabel(at){if(this.disablePagination)return;const ht=this._items?this._items.toArray()[at]:null;if(!ht)return;const Lt=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:ui,offsetWidth:Ti}=ht.elementRef.nativeElement;let yi,Ni;"ltr"==this._getLayoutDirection()?(yi=ui,Ni=yi+Ti):(Ni=this._tabListInner.nativeElement.offsetWidth-ui,yi=Ni-Ti);const Xe=this.scrollDistance,Tt=this.scrollDistance+Lt;yi<Xe?this.scrollDistance-=Xe-yi+60:Ni>Tt&&(this.scrollDistance+=Ni-Tt+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const at=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;at||(this.scrollDistance=0),at!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=at}}_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 at=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,ht=at?at.elementRef.nativeElement:null;ht?this._inkBar.alignToElement(ht):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(at,ht){ht&&null!=ht.button&&0!==ht.button||(this._stopInterval(),(0,z.H)(650,100).pipe((0,$.R)((0,O.T)(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:Lt,distance:ui}=this._scrollHeader(at);(0===ui||ui>=Lt)&&this._stopInterval()}))}_scrollTo(at){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const ht=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(ht,at)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:ht,distance:this._scrollDistance}}}return Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(me.rL),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(A.t4),e.Y36(e.QbO,8))},Pe.\u0275dir=e.lG2({type:Pe,inputs:{disablePagination:"disablePagination"}}),Pe})(),It=(()=>{class Pe extends Et{get disableRipple(){return this._disableRipple}set disableRipple(at){this._disableRipple=(0,ee.Ig)(at)}constructor(at,ht,Lt,ui,Ti,yi,Ni){super(at,ht,Lt,ui,Ti,yi,Ni),this._disableRipple=!1}_itemSelected(at){at.preventDefault()}}return Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(me.rL),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(A.t4),e.Y36(e.QbO,8))},Pe.\u0275dir=e.lG2({type:Pe,inputs:{disableRipple:"disableRipple"},features:[e.qOj]}),Pe})(),bt=(()=>{class Pe extends It{constructor(at,ht,Lt,ui,Ti,yi,Ni){super(at,ht,Lt,ui,Ti,yi,Ni)}ngAfterContentInit(){this._inkBar=new pt(this._items),super.ngAfterContentInit()}}return Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(me.rL),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(A.t4),e.Y36(e.QbO,8))},Pe.\u0275cmp=e.Xpm({type:Pe,selectors:[["mat-tab-header"]],contentQueries:function(at,ht,Lt){if(1&at&&e.Suo(Lt,ke,4),2&at){let ui;e.iGM(ui=e.CRH())&&(ht._items=ui)}},viewQuery:function(at,ht){if(1&at&&(e.Gf(D,7),e.Gf(m,7),e.Gf(n,7),e.Gf(v,5),e.Gf(B,5)),2&at){let Lt;e.iGM(Lt=e.CRH())&&(ht._tabListContainer=Lt.first),e.iGM(Lt=e.CRH())&&(ht._tabList=Lt.first),e.iGM(Lt=e.CRH())&&(ht._tabListInner=Lt.first),e.iGM(Lt=e.CRH())&&(ht._nextPaginator=Lt.first),e.iGM(Lt=e.CRH())&&(ht._previousPaginator=Lt.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(at,ht){2&at&&e.ekj("mat-mdc-tab-header-pagination-controls-enabled",ht._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==ht._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[e.qOj],ngContentSelectors:T,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(at,ht){1&at&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return ht._handlePaginatorClick("before")})("mousedown",function(ui){return ht._handlePaginatorPress("before",ui)})("touchend",function(){return ht._stopInterval()}),e._UZ(2,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.NdJ("keydown",function(ui){return ht._handleKeydown(ui)}),e.TgZ(5,"div",5,6),e.NdJ("cdkObserveContent",function(){return ht._onContentChanges()}),e.TgZ(7,"div",7,8),e.Hsn(9),e.qZA()()(),e.TgZ(10,"button",9,10),e.NdJ("mousedown",function(ui){return ht._handlePaginatorPress("after",ui)})("click",function(){return ht._handlePaginatorClick("after")})("touchend",function(){return ht._stopInterval()}),e._UZ(12,"div",2),e.qZA()),2&at&&(e.ekj("mat-mdc-tab-header-pagination-disabled",ht._disableScrollBefore),e.Q6J("matRippleDisabled",ht._disableScrollBefore||ht.disableRipple)("disabled",ht._disableScrollBefore||null),e.xp6(3),e.ekj("_mat-animation-noopable","NoopAnimations"===ht._animationMode),e.xp6(7),e.ekj("mat-mdc-tab-header-pagination-disabled",ht._disableScrollAfter),e.Q6J("matRippleDisabled",ht._disableScrollAfter||ht.disableRipple)("disabled",ht._disableScrollAfter||null))},dependencies:[b.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}),Pe})();const we=new e.OlP("MAT_TABS_CONFIG");let J=0;const be=(0,b.pj)((0,b.Kr)(class{constructor(Pe){this._elementRef=Pe}}),"primary");let Ve=(()=>{class Pe extends be{get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(at){this._dynamicHeight=(0,ee.Ig)(at)}get selectedIndex(){return this._selectedIndex}set selectedIndex(at){this._indexToSelect=(0,ee.su)(at,null)}get animationDuration(){return this._animationDuration}set animationDuration(at){this._animationDuration=/^\d+$/.test(at+"")?at+"ms":at}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(at){this._contentTabIndex=(0,ee.su)(at,null)}get disablePagination(){return this._disablePagination}set disablePagination(at){this._disablePagination=(0,ee.Ig)(at)}get preserveContent(){return this._preserveContent}set preserveContent(at){this._preserveContent=(0,ee.Ig)(at)}get backgroundColor(){return this._backgroundColor}set backgroundColor(at){const ht=this._elementRef.nativeElement.classList;ht.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),at&&ht.add("mat-tabs-with-background",`mat-background-${at}`),this._backgroundColor=at}constructor(at,ht,Lt,ui){super(at),this._changeDetectorRef=ht,this._animationMode=ui,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=J++,this.animationDuration=Lt&&Lt.animationDuration?Lt.animationDuration:"500ms",this.disablePagination=!(!Lt||null==Lt.disablePagination)&&Lt.disablePagination,this.dynamicHeight=!(!Lt||null==Lt.dynamicHeight)&&Lt.dynamicHeight,this.contentTabIndex=Lt?.contentTabIndex??null,this.preserveContent=!!Lt?.preserveContent}ngAfterContentChecked(){const at=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=at){const ht=null==this._selectedIndex;if(!ht){this.selectedTabChange.emit(this._createChangeEvent(at));const Lt=this._tabBodyWrapper.nativeElement;Lt.style.minHeight=Lt.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((Lt,ui)=>Lt.isActive=ui===at),ht||(this.selectedIndexChange.emit(at),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((ht,Lt)=>{ht.position=Lt-at,null!=this._selectedIndex&&0==ht.position&&!ht.origin&&(ht.origin=at-this._selectedIndex)}),this._selectedIndex!==at&&(this._selectedIndex=at,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const at=this._clampTabIndex(this._indexToSelect);if(at===this._selectedIndex){const ht=this._tabs.toArray();let Lt;for(let ui=0;ui<ht.length;ui++)if(ht[ui].isActive){this._indexToSelect=this._selectedIndex=ui,this._lastFocusedTabIndex=null,Lt=ht[ui];break}!Lt&&ht[at]&&Promise.resolve().then(()=>{ht[at].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(at))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe((0,Y.O)(this._allTabs)).subscribe(at=>{this._tabs.reset(at.filter(ht=>ht._closestTabGroup===this||!ht._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(at){const ht=this._tabHeader;ht&&(ht.focusIndex=at)}_focusChanged(at){this._lastFocusedTabIndex=at,this.focusChange.emit(this._createChangeEvent(at))}_createChangeEvent(at){const ht=new ei;return ht.index=at,this._tabs&&this._tabs.length&&(ht.tab=this._tabs.toArray()[at]),ht}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=(0,O.T)(...this._tabs.map(at=>at._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(at){return Math.min(this._tabs.length-1,Math.max(at||0,0))}_getTabLabelId(at){return`mat-tab-label-${this._groupId}-${at}`}_getTabContentId(at){return`mat-tab-content-${this._groupId}-${at}`}_setTabBodyWrapperHeight(at){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const ht=this._tabBodyWrapper.nativeElement;ht.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(ht.style.height=at+"px")}_removeTabBodyWrapperHeight(){const at=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=at.clientHeight,at.style.height="",this.animationDone.emit()}_handleClick(at,ht,Lt){ht.focusIndex=Lt,at.disabled||(this.selectedIndex=Lt)}_getTabIndex(at){return at===(this._lastFocusedTabIndex??this.selectedIndex)?0:-1}_tabFocusChanged(at,ht){at&&"mouse"!==at&&"touch"!==at&&(this._tabHeader.focusIndex=ht)}}return Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(we,8),e.Y36(e.QbO,8))},Pe.\u0275dir=e.lG2({type:Pe,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]}),Pe})(),ot=(()=>{class Pe extends Ve{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(at){this._fitInkBarToContent=(0,ee.Ig)(at),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(at){this._stretchTabs=(0,ee.Ig)(at)}constructor(at,ht,Lt,ui){super(at,ht,Lt,ui),this._fitInkBarToContent=!1,this._stretchTabs=!0,this.fitInkBarToContent=!(!Lt||null==Lt.fitInkBarToContent)&&Lt.fitInkBarToContent}}return Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(e.SBq),e.Y36(e.sBO),e.Y36(we,8),e.Y36(e.QbO,8))},Pe.\u0275cmp=e.Xpm({type:Pe,selectors:[["mat-tab-group"]],contentQueries:function(at,ht,Lt){if(1&at&&e.Suo(Lt,Fe,5),2&at){let ui;e.iGM(ui=e.CRH())&&(ht._allTabs=ui)}},viewQuery:function(at,ht){if(1&at&&(e.Gf(V,5),e.Gf(X,5)),2&at){let Lt;e.iGM(Lt=e.CRH())&&(ht._tabBodyWrapper=Lt.first),e.iGM(Lt=e.CRH())&&(ht._tabHeader=Lt.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:6,hostBindings:function(at,ht){2&at&&e.ekj("mat-mdc-tab-group-dynamic-height",ht.dynamicHeight)("mat-mdc-tab-group-inverted-header","below"===ht.headerPosition)("mat-mdc-tab-group-stretch-tabs",ht.stretchTabs)},inputs:{color:"color",disableRipple:"disableRipple",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabGroup"],features:[e._Bn([{provide:wt,useExisting:Pe}]),e.qOj],decls:6,vars:6,consts:[[3,"selectedIndex","disableRipple","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mdc-tab mat-mdc-tab mat-mdc-focus-indicator","role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",3,"id","mdc-tab--active","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-mdc-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-mdc-tab-body-active","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","ngClass","disabled","fitInkBarToContent","click","cdkFocusChange"],["tabNode",""],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","preserveContent","_onCentered","_onCentering"]],template:function(at,ht){1&at&&(e.TgZ(0,"mat-tab-header",0,1),e.NdJ("indexFocused",function(ui){return ht._focusChanged(ui)})("selectFocusedIndex",function(ui){return ht.selectedIndex=ui}),e.YNc(2,ze,9,17,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.YNc(5,Le,1,11,"mat-tab-body",5),e.qZA()),2&at&&(e.Q6J("selectedIndex",ht.selectedIndex||0)("disableRipple",ht.disableRipple),e.xp6(2),e.Q6J("ngForOf",ht._tabs),e.xp6(1),e.ekj("_mat-animation-noopable","NoopAnimations"===ht._animationMode),e.xp6(2),e.Q6J("ngForOf",ht._tabs))},dependencies:[t.mk,t.sg,t.O5,I.Pl,b.wG,C.kH,Ae,ke,bt],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}),Pe})();class ei{}let Bt=0,ti=(()=>{class Pe extends Et{get backgroundColor(){return this._backgroundColor}set backgroundColor(at){const ht=this._elementRef.nativeElement.classList;ht.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),at&&ht.add("mat-tabs-with-background",`mat-background-${at}`),this._backgroundColor=at}get disableRipple(){return this._disableRipple}set disableRipple(at){this._disableRipple=(0,ee.Ig)(at)}constructor(at,ht,Lt,ui,Ti,yi,Ni){super(at,ui,Ti,ht,Lt,yi,Ni),this._disableRipple=!1,this.color="primary"}_itemSelected(){}ngAfterContentInit(){this._items.changes.pipe((0,Y.O)(null),(0,$.R)(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}updateActiveLink(){if(!this._items)return;const at=this._items.toArray();for(let ht=0;ht<at.length;ht++)if(at[ht].active)return this.selectedIndex=ht,this._changeDetectorRef.markForCheck(),void(this.tabPanel&&(this.tabPanel._activeTabId=at[ht].id));this.selectedIndex=-1,this._inkBar.hide()}_getRole(){return this.tabPanel?"tablist":this._elementRef.nativeElement.getAttribute("role")}}return Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(e.SBq),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(me.rL),e.Y36(A.t4),e.Y36(e.QbO,8))},Pe.\u0275dir=e.lG2({type:Pe,inputs:{backgroundColor:"backgroundColor",disableRipple:"disableRipple",color:"color",tabPanel:"tabPanel"},features:[e.qOj]}),Pe})();const mt=(0,b.sb)((0,b.Kr)((0,b.Id)(class{}))),yt=$e((()=>{class Pe extends mt{get active(){return this._isActive}set active(at){const ht=(0,ee.Ig)(at);ht!==this._isActive&&(this._isActive=ht,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(at,ht,Lt,ui,Ti,yi){super(),this._tabNavBar=at,this.elementRef=ht,this._focusMonitor=Ti,this._isActive=!1,this.id="mat-tab-link-"+Bt++,this.rippleConfig=Lt||{},this.tabIndex=parseInt(ui)||0,"NoopAnimations"===yi&&(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(at){this._tabNavBar.tabPanel&&at.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 Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(ti),e.Y36(e.SBq),e.Y36(b.Y2,8),e.$8M("tabindex"),e.Y36(C.tE),e.Y36(e.QbO,8))},Pe.\u0275dir=e.lG2({type:Pe,inputs:{active:"active",id:"id"},features:[e.qOj]}),Pe})());let $t=(()=>{class Pe extends ti{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(at){this._fitInkBarToContent.next((0,ee.Ig)(at)),this._changeDetectorRef.markForCheck()}get stretchTabs(){return this._stretchTabs}set stretchTabs(at){this._stretchTabs=(0,ee.Ig)(at)}constructor(at,ht,Lt,ui,Ti,yi,Ni,Xe){super(at,ht,Lt,ui,Ti,yi,Ni),this._fitInkBarToContent=new U.X(!1),this._stretchTabs=!0,this.disablePagination=!(!Xe||null==Xe.disablePagination)&&Xe.disablePagination,this.fitInkBarToContent=!(!Xe||null==Xe.fitInkBarToContent)&&Xe.fitInkBarToContent}ngAfterContentInit(){this._inkBar=new pt(this._items),super.ngAfterContentInit()}ngAfterViewInit(){super.ngAfterViewInit()}}return Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36(e.SBq),e.Y36(h.Is,8),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(me.rL),e.Y36(A.t4),e.Y36(e.QbO,8),e.Y36(we,8))},Pe.\u0275cmp=e.Xpm({type:Pe,selectors:[["","mat-tab-nav-bar",""]],contentQueries:function(at,ht,Lt){if(1&at&&e.Suo(Lt,Vt,5),2&at){let ui;e.iGM(ui=e.CRH())&&(ht._items=ui)}},viewQuery:function(at,ht){if(1&at&&(e.Gf(D,7),e.Gf(m,7),e.Gf(n,7),e.Gf(v,5),e.Gf(B,5)),2&at){let Lt;e.iGM(Lt=e.CRH())&&(ht._tabListContainer=Lt.first),e.iGM(Lt=e.CRH())&&(ht._tabList=Lt.first),e.iGM(Lt=e.CRH())&&(ht._tabListInner=Lt.first),e.iGM(Lt=e.CRH())&&(ht._nextPaginator=Lt.first),e.iGM(Lt=e.CRH())&&(ht._previousPaginator=Lt.first)}},hostAttrs:[1,"mat-mdc-tab-nav-bar","mat-mdc-tab-header"],hostVars:15,hostBindings:function(at,ht){2&at&&(e.uIk("role",ht._getRole()),e.ekj("mat-mdc-tab-header-pagination-controls-enabled",ht._showPaginationControls)("mat-mdc-tab-header-rtl","rtl"==ht._getLayoutDirection())("mat-mdc-tab-nav-bar-stretch-tabs",ht.stretchTabs)("mat-primary","warn"!==ht.color&&"accent"!==ht.color)("mat-accent","accent"===ht.color)("mat-warn","warn"===ht.color)("_mat-animation-noopable","NoopAnimations"===ht._animationMode))},inputs:{color:"color",fitInkBarToContent:"fitInkBarToContent",stretchTabs:["mat-stretch-tabs","stretchTabs"]},exportAs:["matTabNavBar","matTabNav"],features:[e.qOj],attrs:ye,ngContentSelectors:T,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(at,ht){1&at&&(e.F$t(),e.TgZ(0,"button",0,1),e.NdJ("click",function(){return ht._handlePaginatorClick("before")})("mousedown",function(ui){return ht._handlePaginatorPress("before",ui)})("touchend",function(){return ht._stopInterval()}),e._UZ(2,"div",2),e.qZA(),e.TgZ(3,"div",3,4),e.NdJ("keydown",function(ui){return ht._handleKeydown(ui)}),e.TgZ(5,"div",5,6),e.NdJ("cdkObserveContent",function(){return ht._onContentChanges()}),e.TgZ(7,"div",7,8),e.Hsn(9),e.qZA()()(),e.TgZ(10,"button",9,10),e.NdJ("mousedown",function(ui){return ht._handlePaginatorPress("after",ui)})("click",function(){return ht._handlePaginatorClick("after")})("touchend",function(){return ht._stopInterval()}),e._UZ(12,"div",2),e.qZA()),2&at&&(e.ekj("mat-mdc-tab-header-pagination-disabled",ht._disableScrollBefore),e.Q6J("matRippleDisabled",ht._disableScrollBefore||ht.disableRipple)("disabled",ht._disableScrollBefore||null),e.xp6(10),e.ekj("mat-mdc-tab-header-pagination-disabled",ht._disableScrollAfter),e.Q6J("matRippleDisabled",ht._disableScrollAfter||ht.disableRipple)("disabled",ht._disableScrollAfter||null))},dependencies:[b.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}),Pe})(),Vt=(()=>{class Pe extends yt{constructor(at,ht,Lt,ui,Ti,yi){super(at,ht,Lt,ui,Ti,yi),this._destroyed=new d.x,at._fitInkBarToContent.pipe((0,$.R)(this._destroyed)).subscribe(Ni=>{this.fitInkBarToContent=Ni})}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy()}}return Pe.\u0275fac=function(at){return new(at||Pe)(e.Y36($t),e.Y36(e.SBq),e.Y36(b.Y2,8),e.$8M("tabindex"),e.Y36(C.tE),e.Y36(e.QbO,8))},Pe.\u0275cmp=e.Xpm({type:Pe,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(at,ht){1&at&&e.NdJ("focus",function(){return ht._handleFocus()})("keydown",function(ui){return ht._handleKeydown(ui)}),2&at&&(e.uIk("aria-controls",ht._getAriaControls())("aria-current",ht._getAriaCurrent())("aria-disabled",ht.disabled)("aria-selected",ht._getAriaSelected())("id",ht.id)("tabIndex",ht._getTabIndex())("role",ht._getRole()),e.ekj("mat-mdc-tab-disabled",ht.disabled)("mdc-tab--active",ht.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",active:"active",id:"id"},exportAs:["matTabLink"],features:[e.qOj],attrs:ce,ngContentSelectors:T,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(at,ht){1&at&&(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&at&&(e.xp6(1),e.Q6J("matRippleTrigger",ht.elementRef.nativeElement)("matRippleDisabled",ht.rippleDisabled))},dependencies:[b.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}),Pe})(),ft=(()=>{class Pe{constructor(){this.id="mat-tab-nav-panel-"+Bt++}}return Pe.\u0275fac=function(at){return new(at||Pe)},Pe.\u0275cmp=e.Xpm({type:Pe,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(at,ht){2&at&&e.uIk("aria-labelledby",ht._activeTabId)("id",ht.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],ngContentSelectors:T,decls:1,vars:0,template:function(at,ht){1&at&&(e.F$t(),e.Hsn(0))},encapsulation:2,changeDetection:0}),Pe})(),Pt=(()=>{class Pe{}return Pe.\u0275fac=function(at){return new(at||Pe)},Pe.\u0275mod=e.oAB({type:Pe}),Pe.\u0275inj=e.cJS({imports:[t.ez,b.BQ,I.eL,b.si,s.Q8,C.rt,b.BQ]}),Pe})()},3683:(Ue,q,p)=>{"use strict";p.d(q,{Ye:()=>d,g0:()=>w});var t=p(4650),e=p(3238),b=p(3353),I=p(6895);const s=["*",[["mat-toolbar-row"]]],C=["*","mat-toolbar-row"],h=(0,e.pj)(class{constructor(O){this._elementRef=O}});let P=(()=>{class O{}return O.\u0275fac=function(R){return new(R||O)},O.\u0275dir=t.lG2({type:O,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),O})(),d=(()=>{class O extends h{constructor(R,z,U){super(R),this._platform=z,this._document=U}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){}}return O.\u0275fac=function(R){return new(R||O)(t.Y36(t.SBq),t.Y36(b.t4),t.Y36(I.K0))},O.\u0275cmp=t.Xpm({type:O,selectors:[["mat-toolbar"]],contentQueries:function(R,z,U){if(1&R&&t.Suo(U,P,5),2&R){let Y;t.iGM(Y=t.CRH())&&(z._toolbarRows=Y)}},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(R,z){2&R&&t.ekj("mat-toolbar-multiple-rows",z._toolbarRows.length>0)("mat-toolbar-single-row",0===z._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[t.qOj],ngContentSelectors:C,decls:2,vars:0,template:function(R,z){1&R&&(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}),O})(),w=(()=>{class O{}return O.\u0275fac=function(R){return new(R||O)},O.\u0275mod=t.oAB({type:O}),O.\u0275inj=t.cJS({imports:[e.BQ,e.BQ]}),O})()},266:(Ue,q,p)=>{"use strict";p.d(q,{AV:()=>v,gM:()=>T});var t=p(2722),e=p(5698),b=p(1281),I=p(9521),s=p(4650),C=p(6895),h=p(3353),P=p(4761),d=p(445),S=p(8184),w=p(531),O=p(4080),E=p(7579),z=(p(7340),p(3238));const U=["tooltip"],$=new s.OlP("mat-tooltip-scroll-strategy"),ue={provide:$,deps:[S.aV],useFactory:function ie(B){return()=>B.scrollStrategies.reposition({scrollThrottle:20})}},ne=new s.OlP("mat-tooltip-default-options",{providedIn:"root",factory:function he(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),ee="tooltip-panel",me=(0,h.i$)({passive:!0});let y=(()=>{class B{get position(){return this._position}set position(X){X!==this._position&&(this._position=X,this._overlayRef&&(this._updatePosition(this._overlayRef),this._tooltipInstance?.show(0),this._overlayRef.updatePosition()))}get positionAtOrigin(){return this._positionAtOrigin}set positionAtOrigin(X){this._positionAtOrigin=(0,b.Ig)(X),this._detach(),this._overlayRef=null}get disabled(){return this._disabled}set disabled(X){this._disabled=(0,b.Ig)(X),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(X){this._showDelay=(0,b.su)(X)}get hideDelay(){return this._hideDelay}set hideDelay(X){this._hideDelay=(0,b.su)(X),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(X){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=X?String(X).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(X){this._tooltipClass=X,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}constructor(X,De,tt,je,ze,Le,ye,ce,ve,oe,Ke,Ae){this._overlay=X,this._elementRef=De,this._scrollDispatcher=tt,this._viewContainerRef=je,this._ngZone=ze,this._platform=Le,this._ariaDescriber=ye,this._focusMonitor=ce,this._dir=oe,this._defaultOptions=Ke,this._position="below",this._positionAtOrigin=!1,this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new E.x,this._scrollStrategy=ve,this._document=Ae,Ke&&(Ke.position&&(this.position=Ke.position),Ke.positionAtOrigin&&(this.positionAtOrigin=Ke.positionAtOrigin),Ke.touchGestures&&(this.touchGestures=Ke.touchGestures)),oe.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(X=>{X?"keyboard"===X&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const X=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([De,tt])=>{X.removeEventListener(De,tt,me)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(X,this.message,"tooltip"),this._focusMonitor.stopMonitoring(X)}show(X=this.showDelay,De){if(this.disabled||!this.message||this._isTooltipVisible())return void this._tooltipInstance?._cancelPendingAnimations();const tt=this._createOverlay(De);this._detach(),this._portal=this._portal||new O.C5(this._tooltipComponent,this._viewContainerRef);const je=this._tooltipInstance=tt.attach(this._portal).instance;je._triggerElement=this._elementRef.nativeElement,je._mouseLeaveHideDelay=this._hideDelay,je.afterHidden().pipe((0,t.R)(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),je.show(X)}hide(X=this.hideDelay){const De=this._tooltipInstance;De&&(De.isVisible()?De.hide(X):(De._cancelPendingAnimations(),this._detach()))}toggle(X){this._isTooltipVisible()?this.hide():this.show(void 0,X)}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(X){if(this._overlayRef){const je=this._overlayRef.getConfig().positionStrategy;if((!this.positionAtOrigin||!X)&&je._origin instanceof s.SBq)return this._overlayRef;this._detach()}const De=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),tt=this._overlay.position().flexibleConnectedTo(this.positionAtOrigin&&X||this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(De);return tt.positionChanges.pipe((0,t.R)(this._destroyed)).subscribe(je=>{this._updateCurrentPositionClass(je.connectionPair),this._tooltipInstance&&je.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:tt,panelClass:`${this._cssClassPrefix}-${ee}`,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(je=>{this._isTooltipVisible()&&je.keyCode===I.hY&&!(0,I.Vb)(je)&&(je.preventDefault(),je.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(X){const De=X.getConfig().positionStrategy,tt=this._getOrigin(),je=this._getOverlayPosition();De.withPositions([this._addOffset({...tt.main,...je.main}),this._addOffset({...tt.fallback,...je.fallback})])}_addOffset(X){return X}_getOrigin(){const X=!this._dir||"ltr"==this._dir.value,De=this.position;let tt;"above"==De||"below"==De?tt={originX:"center",originY:"above"==De?"top":"bottom"}:"before"==De||"left"==De&&X||"right"==De&&!X?tt={originX:"start",originY:"center"}:("after"==De||"right"==De&&X||"left"==De&&!X)&&(tt={originX:"end",originY:"center"});const{x:je,y:ze}=this._invertPosition(tt.originX,tt.originY);return{main:tt,fallback:{originX:je,originY:ze}}}_getOverlayPosition(){const X=!this._dir||"ltr"==this._dir.value,De=this.position;let tt;"above"==De?tt={overlayX:"center",overlayY:"bottom"}:"below"==De?tt={overlayX:"center",overlayY:"top"}:"before"==De||"left"==De&&X||"right"==De&&!X?tt={overlayX:"end",overlayY:"center"}:("after"==De||"right"==De&&X||"left"==De&&!X)&&(tt={overlayX:"start",overlayY:"center"});const{x:je,y:ze}=this._invertPosition(tt.overlayX,tt.overlayY);return{main:tt,fallback:{overlayX:je,overlayY:ze}}}_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(X){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=X,this._tooltipInstance._markForCheck())}_invertPosition(X,De){return"above"===this.position||"below"===this.position?"top"===De?De="bottom":"bottom"===De&&(De="top"):"end"===X?X="start":"start"===X&&(X="end"),{x:X,y:De}}_updateCurrentPositionClass(X){const{overlayY:De,originX:tt,originY:je}=X;let ze;if(ze="center"===De?this._dir&&"rtl"===this._dir.value?"end"===tt?"left":"right":"start"===tt?"left":"right":"bottom"===De&&"top"===je?"above":"below",ze!==this._currentPosition){const Le=this._overlayRef;if(Le){const ye=`${this._cssClassPrefix}-${ee}-`;Le.removePanelClass(ye+this._currentPosition),Le.addPanelClass(ye+ze)}this._currentPosition=ze}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",X=>{let De;this._setupPointerExitEventsIfNeeded(),void 0!==X.x&&void 0!==X.y&&(De=X),this.show(void 0,De)}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",X=>{const De=X.targetTouches?.[0],tt=De?{x:De.clientX,y:De.clientY}:void 0;this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(void 0,tt),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const X=[];if(this._platformSupportsMouseEvents())X.push(["mouseleave",De=>{const tt=De.relatedTarget;(!tt||!this._overlayRef?.overlayElement.contains(tt))&&this.hide()}],["wheel",De=>this._wheelListener(De)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const De=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};X.push(["touchend",De],["touchcancel",De])}this._addListeners(X),this._passiveListeners.push(...X)}_addListeners(X){X.forEach(([De,tt])=>{this._elementRef.nativeElement.addEventListener(De,tt,me)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(X){if(this._isTooltipVisible()){const De=this._document.elementFromPoint(X.clientX,X.clientY),tt=this._elementRef.nativeElement;De!==tt&&!tt.contains(De)&&this.hide()}}_disableNativeGesturesIfNecessary(){const X=this.touchGestures;if("off"!==X){const De=this._elementRef.nativeElement,tt=De.style;("on"===X||"INPUT"!==De.nodeName&&"TEXTAREA"!==De.nodeName)&&(tt.userSelect=tt.msUserSelect=tt.webkitUserSelect=tt.MozUserSelect="none"),("on"===X||!De.draggable)&&(tt.webkitUserDrag="none"),tt.touchAction="none",tt.webkitTapHighlightColor="transparent"}}}return B.\u0275fac=function(X){s.$Z()},B.\u0275dir=s.lG2({type:B,inputs:{position:["matTooltipPosition","position"],positionAtOrigin:["matTooltipPositionAtOrigin","positionAtOrigin"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),B})(),T=(()=>{class B extends y{constructor(X,De,tt,je,ze,Le,ye,ce,ve,oe,Ke,Ae){super(X,De,tt,je,ze,Le,ye,ce,ve,oe,Ke,Ae),this._tooltipComponent=m,this._cssClassPrefix="mat-mdc",this._viewportMargin=8}_addOffset(X){const tt=!this._dir||"ltr"==this._dir.value;return"top"===X.originY?X.offsetY=-8:"bottom"===X.originY?X.offsetY=8:"start"===X.originX?X.offsetX=tt?-8:8:"end"===X.originX&&(X.offsetX=tt?8:-8),X}}return B.\u0275fac=function(X){return new(X||B)(s.Y36(S.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($),s.Y36(d.Is,8),s.Y36(ne,8),s.Y36(C.K0))},B.\u0275dir=s.lG2({type:B,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-mdc-tooltip-trigger"],exportAs:["matTooltip"],features:[s.qOj]}),B})(),D=(()=>{class B{constructor(X,De){this._changeDetectorRef=X,this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new E.x,this._animationsDisabled="NoopAnimations"===De}show(X){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},X)}hide(X){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},X)}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:X}){(!X||!this._triggerElement.contains(X))&&(this.isVisible()?this.hide(this._mouseLeaveHideDelay):this._finalizeAnimation(!1))}_onShow(){}_handleAnimationEnd({animationName:X}){(X===this._showAnimation||X===this._hideAnimation)&&this._finalizeAnimation(X===this._showAnimation)}_cancelPendingAnimations(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._showTimeoutId=this._hideTimeoutId=void 0}_finalizeAnimation(X){X?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(X){const De=this._tooltip.nativeElement,tt=this._showAnimation,je=this._hideAnimation;if(De.classList.remove(X?je:tt),De.classList.add(X?tt:je),this._isVisible=X,X&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const ze=getComputedStyle(De);("0s"===ze.getPropertyValue("animation-duration")||"none"===ze.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}X&&this._onShow(),this._animationsDisabled&&(De.classList.add("_mat-animation-noopable"),this._finalizeAnimation(X))}}return B.\u0275fac=function(X){return new(X||B)(s.Y36(s.sBO),s.Y36(s.QbO,8))},B.\u0275dir=s.lG2({type:B}),B})(),m=(()=>{class B extends D{constructor(X,De,tt){super(X,tt),this._elementRef=De,this._isMultiline=!1,this._showAnimation="mat-mdc-tooltip-show",this._hideAnimation="mat-mdc-tooltip-hide"}_onShow(){this._isMultiline=this._isTooltipMultiline(),this._markForCheck()}_isTooltipMultiline(){const X=this._elementRef.nativeElement.getBoundingClientRect();return X.height>24&&X.width>=200}}return B.\u0275fac=function(X){return new(X||B)(s.Y36(s.sBO),s.Y36(s.SBq),s.Y36(s.QbO,8))},B.\u0275cmp=s.Xpm({type:B,selectors:[["mat-tooltip-component"]],viewQuery:function(X,De){if(1&X&&s.Gf(U,7),2&X){let tt;s.iGM(tt=s.CRH())&&(De._tooltip=tt.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(X,De){1&X&&s.NdJ("mouseleave",function(je){return De._handleMouseLeave(je)}),2&X&&s.Udp("zoom",De.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(X,De){1&X&&(s.TgZ(0,"div",0,1),s.NdJ("animationend",function(je){return De._handleAnimationEnd(je)}),s.TgZ(2,"div",2),s._uU(3),s.qZA()()),2&X&&(s.ekj("mdc-tooltip--multiline",De._isMultiline),s.Q6J("ngClass",De.tooltipClass),s.xp6(3),s.Oqu(De.message))},dependencies:[C.mk],styles:['.mdc-tooltip__surface{word-break:var(--mdc-tooltip-word-break, normal);overflow-wrap:anywhere}.mdc-tooltip{position:fixed;display:none;z-index:9}.mdc-tooltip-wrapper--rich{position:relative}.mdc-tooltip--shown,.mdc-tooltip--showing,.mdc-tooltip--hide{display:inline-flex}.mdc-tooltip--shown.mdc-tooltip--rich,.mdc-tooltip--showing.mdc-tooltip--rich,.mdc-tooltip--hide.mdc-tooltip--rich{display:inline-block;left:-320px;position:absolute}.mdc-tooltip__surface{line-height:16px;padding:4px 8px;min-width:40px;max-width:200px;min-height:24px;max-height:40vh;box-sizing:border-box;overflow:hidden;text-align:center}.mdc-tooltip__surface::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-tooltip__surface::before{border-color:CanvasText}}.mdc-tooltip--rich .mdc-tooltip__surface{align-items:flex-start;display:flex;flex-direction:column;min-height:24px;min-width:40px;max-width:320px;position:relative}.mdc-tooltip--multiline .mdc-tooltip__surface{text-align:left}[dir=rtl] .mdc-tooltip--multiline .mdc-tooltip__surface,.mdc-tooltip--multiline .mdc-tooltip__surface[dir=rtl]{text-align:right}.mdc-tooltip__surface .mdc-tooltip__title{margin:0 8px}.mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(200px - (2 * 8px));margin:8px;text-align:left}[dir=rtl] .mdc-tooltip__surface .mdc-tooltip__content,.mdc-tooltip__surface .mdc-tooltip__content[dir=rtl]{text-align:right}.mdc-tooltip--rich .mdc-tooltip__surface .mdc-tooltip__content{max-width:calc(320px - (2 * 8px));align-self:stretch}.mdc-tooltip__surface .mdc-tooltip__content-link{text-decoration:none}.mdc-tooltip--rich-actions,.mdc-tooltip__content,.mdc-tooltip__title{z-index:1}.mdc-tooltip__surface-animation{opacity:0;transform:scale(0.8);will-change:transform,opacity}.mdc-tooltip--shown .mdc-tooltip__surface-animation{transform:scale(1);opacity:1}.mdc-tooltip--hide .mdc-tooltip__surface-animation{transform:scale(1)}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{position:absolute;height:24px;width:24px;transform:rotate(35deg) skewY(20deg) scaleX(0.9396926208)}.mdc-tooltip__caret-surface-top .mdc-elevation-overlay,.mdc-tooltip__caret-surface-bottom .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-tooltip__caret-surface-bottom{outline:1px solid rgba(0,0,0,0);z-index:-1}@media screen and (forced-colors: active){.mdc-tooltip__caret-surface-bottom{outline-color:CanvasText}}.mdc-tooltip__surface{background-color:var(--mdc-plain-tooltip-container-color, #fff)}.mdc-tooltip__surface{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__caret-surface-top,.mdc-tooltip__caret-surface-bottom{border-radius:var(--mdc-plain-tooltip-container-shape, var(--mdc-shape-small, 4px))}.mdc-tooltip__surface{color:var(--mdc-plain-tooltip-supporting-text-color, #000)}.mdc-tooltip__surface{font-family:var(--mdc-plain-tooltip-supporting-text-font, inherit);font-size:var(--mdc-plain-tooltip-supporting-text-size, inherit);font-weight:var(--mdc-plain-tooltip-supporting-text-weight, inherit);letter-spacing:var(--mdc-plain-tooltip-supporting-text-tracking, inherit)}.mat-mdc-tooltip{position:relative;transform:scale(0)}.mat-mdc-tooltip::before{content:"";top:-8px;right:-8px;bottom:-8px;left:-8px;z-index:-1;position:absolute}.mat-mdc-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.mat-mdc-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-mdc-tooltip-show{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}@keyframes mat-mdc-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.8)}}.mat-mdc-tooltip-show{animation:mat-mdc-tooltip-show 150ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-mdc-tooltip-hide{animation:mat-mdc-tooltip-hide 75ms cubic-bezier(0.4, 0, 1, 1) forwards}'],encapsulation:2,changeDetection:0}),B})(),v=(()=>{class B{}return B.\u0275fac=function(X){return new(X||B)},B.\u0275mod=s.oAB({type:B}),B.\u0275inj=s.cJS({providers:[ue],imports:[P.rt,C.ez,S.U8,z.BQ,z.BQ,w.ZD]}),B})()},5423:(Ue,q,p)=>{"use strict";p.d(q,{Ar:()=>R,GZ:()=>O,WX:()=>ue,dp:()=>K,eu:()=>U,fQ:()=>w,gi:()=>z,uo:()=>S});var t=p(7851),e=p(4650),b=p(3238),I=p(1281),s=p(5017),C=p(1135),h=p(6451),P=p(4004);const d=(0,b.sb)((0,b.Id)(t.Hs));let S=(()=>{class he extends d{constructor(le,ee,me){super(le,ee),this.tabIndex=Number(me)||0}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}}return he.\u0275fac=function(le){return new(le||he)(e.Y36(e.SBq),e.Y36(t._0),e.$8M("tabindex"))},he.\u0275dir=e.lG2({type:he,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:he}]),e.qOj]}),he})(),w=(()=>{class he extends t.rO{}return he.\u0275fac=function(){let ne;return function(ee){return(ne||(ne=e.n5z(he)))(ee||he)}}(),he.\u0275dir=e.lG2({type:he,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[e._Bn([{provide:t.rO,useExisting:he}]),e.qOj]}),he})(),O=(()=>{class he extends t.Xx{get disabled(){return this._disabled}set disabled(le){this._disabled=(0,I.Ig)(le)}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(le){this._tabIndex=le??0}constructor(le,ee,me,A){super(le,ee,me),this._disabled=!1,this.tabIndex=Number(A)||0}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}}return he.\u0275fac=function(le){return new(le||he)(e.Y36(e.SBq),e.Y36(t._0),e.Y36(e.ZZ4),e.$8M("tabindex"))},he.\u0275dir=e.lG2({type:he,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:he},{provide:t.Hs,useExisting:he},{provide:t.HI,useExisting:he}]),e.qOj]}),he})(),R=(()=>{class he{constructor(le,ee){this.viewContainer=le,this._node=ee}}return he.\u0275fac=function(le){return new(le||he)(e.Y36(e.s_b),e.Y36(t.HI,8))},he.\u0275dir=e.lG2({type:he,selectors:[["","matTreeNodeOutlet",""]],features:[e._Bn([{provide:t.cu,useExisting:he}])]}),he})(),z=(()=>{class he extends t._0{}return he.\u0275fac=function(){let ne;return function(ee){return(ne||(ne=e.n5z(he)))(ee||he)}}(),he.\u0275cmp=e.Xpm({type:he,selectors:[["mat-tree"]],viewQuery:function(le,ee){if(1&le&&e.Gf(R,7),2&le){let me;e.iGM(me=e.CRH())&&(ee._nodeOutlet=me.first)}},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[e._Bn([{provide:t._0,useExisting:he}]),e.qOj],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(le,ee){1&le&&e.GkF(0,0)},dependencies:[R],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}),he})(),U=(()=>{class he extends t.Ud{}return he.\u0275fac=function(){let ne;return function(ee){return(ne||(ne=e.n5z(he)))(ee||he)}}(),he.\u0275dir=e.lG2({type:he,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[e._Bn([{provide:t.Ud,useExisting:he}]),e.qOj]}),he})(),K=(()=>{class he{}return he.\u0275fac=function(le){return new(le||he)},he.\u0275mod=e.oAB({type:he}),he.\u0275inj=e.cJS({imports:[t.nZ,b.BQ,b.BQ]}),he})();class ue extends s.o2{constructor(){super(...arguments),this._data=new C.X([])}get data(){return this._data.value}set data(ne){this._data.next(ne)}connect(ne){return(0,h.T)(ne.viewChange,this._data).pipe((0,P.U)(()=>this.data))}disconnect(){}}},1481:(Ue,q,p)=>{"use strict";p.d(q,{Dx:()=>$e,H7:()=>nt,b2:()=>Ze,q6:()=>Ae,se:()=>u,t6:()=>mt});var t=p(6895),e=p(4650);class b extends t.w_{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class I extends b{static makeCurrent(){(0,t.HT)(new I)}onAndCancel(Pt,Pe,it){return Pt.addEventListener(Pe,it,!1),()=>{Pt.removeEventListener(Pe,it,!1)}}dispatchEvent(Pt,Pe){Pt.dispatchEvent(Pe)}remove(Pt){Pt.parentNode&&Pt.parentNode.removeChild(Pt)}createElement(Pt,Pe){return(Pe=Pe||this.getDefaultDocument()).createElement(Pt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Pt){return Pt.nodeType===Node.ELEMENT_NODE}isShadowRoot(Pt){return Pt instanceof DocumentFragment}getGlobalEventTarget(Pt,Pe){return"window"===Pe?window:"document"===Pe?Pt:"body"===Pe?Pt.body:null}getBaseHref(Pt){const Pe=function C(){return s=s||document.querySelector("base"),s?s.getAttribute("href"):null}();return null==Pe?null:function P(ft){h=h||document.createElement("a"),h.setAttribute("href",ft);const Pt=h.pathname;return"/"===Pt.charAt(0)?Pt:`/${Pt}`}(Pe)}resetBaseElement(){s=null}getUserAgent(){return window.navigator.userAgent}getCookie(Pt){return(0,t.Mx)(document.cookie,Pt)}}let h,s=null;const d=new e.OlP("TRANSITION_ID"),w=[{provide:e.ip1,useFactory:function S(ft,Pt,Pe){return()=>{Pe.get(e.CZH).donePromise.then(()=>{const it=(0,t.q)(),at=Pt.querySelectorAll(`style[ng-transition="${ft}"]`);for(let ht=0;ht<at.length;ht++)it.remove(at[ht])})}},deps:[d,t.K0,e.zs3],multi:!0}];let E=(()=>{class ft{build(){return new XMLHttpRequest}}return ft.\u0275fac=function(Pe){return new(Pe||ft)},ft.\u0275prov=e.Yz7({token:ft,factory:ft.\u0275fac}),ft})();const R=new e.OlP("EventManagerPlugins");let z=(()=>{class ft{constructor(Pe,it){this._zone=it,this._eventNameToPlugin=new Map,Pe.forEach(at=>at.manager=this),this._plugins=Pe.slice().reverse()}addEventListener(Pe,it,at){return this._findPluginFor(it).addEventListener(Pe,it,at)}addGlobalEventListener(Pe,it,at){return this._findPluginFor(it).addGlobalEventListener(Pe,it,at)}getZone(){return this._zone}_findPluginFor(Pe){const it=this._eventNameToPlugin.get(Pe);if(it)return it;const at=this._plugins;for(let ht=0;ht<at.length;ht++){const Lt=at[ht];if(Lt.supports(Pe))return this._eventNameToPlugin.set(Pe,Lt),Lt}throw new Error(`No event manager plugin found for event ${Pe}`)}}return ft.\u0275fac=function(Pe){return new(Pe||ft)(e.LFG(R),e.LFG(e.R0b))},ft.\u0275prov=e.Yz7({token:ft,factory:ft.\u0275fac}),ft})();class U{constructor(Pt){this._doc=Pt}addGlobalEventListener(Pt,Pe,it){const at=(0,t.q)().getGlobalEventTarget(this._doc,Pt);if(!at)throw new Error(`Unsupported event target ${at} for event ${Pe}`);return this.addEventListener(at,Pe,it)}}let Y=(()=>{class ft{constructor(){this._stylesSet=new Set}addStyles(Pe){const it=new Set;Pe.forEach(at=>{this._stylesSet.has(at)||(this._stylesSet.add(at),it.add(at))}),this.onStylesAdded(it)}onStylesAdded(Pe){}getAllStyles(){return Array.from(this._stylesSet)}}return ft.\u0275fac=function(Pe){return new(Pe||ft)},ft.\u0275prov=e.Yz7({token:ft,factory:ft.\u0275fac}),ft})(),K=(()=>{class ft extends Y{constructor(Pe){super(),this._doc=Pe,this._hostNodes=new Map,this._hostNodes.set(Pe.head,[])}_addStylesToHost(Pe,it,at){Pe.forEach(ht=>{const Lt=this._doc.createElement("style");Lt.textContent=ht,at.push(it.appendChild(Lt))})}addHost(Pe){const it=[];this._addStylesToHost(this._stylesSet,Pe,it),this._hostNodes.set(Pe,it)}removeHost(Pe){const it=this._hostNodes.get(Pe);it&&it.forEach($),this._hostNodes.delete(Pe)}onStylesAdded(Pe){this._hostNodes.forEach((it,at)=>{this._addStylesToHost(Pe,at,it)})}ngOnDestroy(){this._hostNodes.forEach(Pe=>Pe.forEach($))}}return ft.\u0275fac=function(Pe){return new(Pe||ft)(e.LFG(t.K0))},ft.\u0275prov=e.Yz7({token:ft,factory:ft.\u0275fac}),ft})();function $(ft){(0,t.q)().remove(ft)}const ie={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},ue=/%COMP%/g;function i(ft,Pt){return Pt.flat(100).map(Pe=>Pe.replace(ue,ft))}function a(ft){return Pt=>{if("__ngUnwrap__"===Pt)return ft;!1===ft(Pt)&&(Pt.preventDefault(),Pt.returnValue=!1)}}let u=(()=>{class ft{constructor(Pe,it,at){this.eventManager=Pe,this.sharedStylesHost=it,this.appId=at,this.rendererByCompId=new Map,this.defaultRenderer=new l(Pe)}createRenderer(Pe,it){if(!Pe||!it)return this.defaultRenderer;switch(it.encapsulation){case e.ifc.Emulated:{let at=this.rendererByCompId.get(it.id);return at||(at=new m(this.eventManager,this.sharedStylesHost,it,this.appId),this.rendererByCompId.set(it.id,at)),at.applyToHost(Pe),at}case e.ifc.ShadowDom:return new n(this.eventManager,this.sharedStylesHost,Pe,it);default:if(!this.rendererByCompId.has(it.id)){const at=i(it.id,it.styles);this.sharedStylesHost.addStyles(at),this.rendererByCompId.set(it.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return ft.\u0275fac=function(Pe){return new(Pe||ft)(e.LFG(z),e.LFG(K),e.LFG(e.AFp))},ft.\u0275prov=e.Yz7({token:ft,factory:ft.\u0275fac}),ft})();class l{constructor(Pt){this.eventManager=Pt,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(Pt,Pe){return Pe?document.createElementNS(ie[Pe]||Pe,Pt):document.createElement(Pt)}createComment(Pt){return document.createComment(Pt)}createText(Pt){return document.createTextNode(Pt)}appendChild(Pt,Pe){(D(Pt)?Pt.content:Pt).appendChild(Pe)}insertBefore(Pt,Pe,it){Pt&&(D(Pt)?Pt.content:Pt).insertBefore(Pe,it)}removeChild(Pt,Pe){Pt&&Pt.removeChild(Pe)}selectRootElement(Pt,Pe){let it="string"==typeof Pt?document.querySelector(Pt):Pt;if(!it)throw new Error(`The selector "${Pt}" did not match any elements`);return Pe||(it.textContent=""),it}parentNode(Pt){return Pt.parentNode}nextSibling(Pt){return Pt.nextSibling}setAttribute(Pt,Pe,it,at){if(at){Pe=at+":"+Pe;const ht=ie[at];ht?Pt.setAttributeNS(ht,Pe,it):Pt.setAttribute(Pe,it)}else Pt.setAttribute(Pe,it)}removeAttribute(Pt,Pe,it){if(it){const at=ie[it];at?Pt.removeAttributeNS(at,Pe):Pt.removeAttribute(`${it}:${Pe}`)}else Pt.removeAttribute(Pe)}addClass(Pt,Pe){Pt.classList.add(Pe)}removeClass(Pt,Pe){Pt.classList.remove(Pe)}setStyle(Pt,Pe,it,at){at&(e.JOm.DashCase|e.JOm.Important)?Pt.style.setProperty(Pe,it,at&e.JOm.Important?"important":""):Pt.style[Pe]=it}removeStyle(Pt,Pe,it){it&e.JOm.DashCase?Pt.style.removeProperty(Pe):Pt.style[Pe]=""}setProperty(Pt,Pe,it){Pt[Pe]=it}setValue(Pt,Pe){Pt.nodeValue=Pe}listen(Pt,Pe,it){return"string"==typeof Pt?this.eventManager.addGlobalEventListener(Pt,Pe,a(it)):this.eventManager.addEventListener(Pt,Pe,a(it))}}function D(ft){return"TEMPLATE"===ft.tagName&&void 0!==ft.content}class m extends l{constructor(Pt,Pe,it,at){super(Pt),this.component=it;const ht=i(at+"-"+it.id,it.styles);Pe.addStyles(ht),this.contentAttr=function me(ft){return"_ngcontent-%COMP%".replace(ue,ft)}(at+"-"+it.id),this.hostAttr=function A(ft){return"_nghost-%COMP%".replace(ue,ft)}(at+"-"+it.id)}applyToHost(Pt){super.setAttribute(Pt,this.hostAttr,"")}createElement(Pt,Pe){const it=super.createElement(Pt,Pe);return super.setAttribute(it,this.contentAttr,""),it}}class n extends l{constructor(Pt,Pe,it,at){super(Pt),this.sharedStylesHost=Pe,this.hostEl=it,this.shadowRoot=it.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const ht=i(at.id,at.styles);for(let Lt=0;Lt<ht.length;Lt++){const ui=document.createElement("style");ui.textContent=ht[Lt],this.shadowRoot.appendChild(ui)}}nodeOrShadowRoot(Pt){return Pt===this.hostEl?this.shadowRoot:Pt}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(Pt,Pe){return super.appendChild(this.nodeOrShadowRoot(Pt),Pe)}insertBefore(Pt,Pe,it){return super.insertBefore(this.nodeOrShadowRoot(Pt),Pe,it)}removeChild(Pt,Pe){return super.removeChild(this.nodeOrShadowRoot(Pt),Pe)}parentNode(Pt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Pt)))}}let v=(()=>{class ft extends U{constructor(Pe){super(Pe)}supports(Pe){return!0}addEventListener(Pe,it,at){return Pe.addEventListener(it,at,!1),()=>this.removeEventListener(Pe,it,at)}removeEventListener(Pe,it,at){return Pe.removeEventListener(it,at)}}return ft.\u0275fac=function(Pe){return new(Pe||ft)(e.LFG(t.K0))},ft.\u0275prov=e.Yz7({token:ft,factory:ft.\u0275fac}),ft})();const B=["alt","control","meta","shift"],V={"\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"},X={alt:ft=>ft.altKey,control:ft=>ft.ctrlKey,meta:ft=>ft.metaKey,shift:ft=>ft.shiftKey};let De=(()=>{class ft extends U{constructor(Pe){super(Pe)}supports(Pe){return null!=ft.parseEventName(Pe)}addEventListener(Pe,it,at){const ht=ft.parseEventName(it),Lt=ft.eventCallback(ht.fullKey,at,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,t.q)().onAndCancel(Pe,ht.domEventName,Lt))}static parseEventName(Pe){const it=Pe.toLowerCase().split("."),at=it.shift();if(0===it.length||"keydown"!==at&&"keyup"!==at)return null;const ht=ft._normalizeKey(it.pop());let Lt="",ui=it.indexOf("code");if(ui>-1&&(it.splice(ui,1),Lt="code."),B.forEach(yi=>{const Ni=it.indexOf(yi);Ni>-1&&(it.splice(Ni,1),Lt+=yi+".")}),Lt+=ht,0!=it.length||0===ht.length)return null;const Ti={};return Ti.domEventName=at,Ti.fullKey=Lt,Ti}static matchEventFullKeyCode(Pe,it){let at=V[Pe.key]||Pe.key,ht="";return it.indexOf("code.")>-1&&(at=Pe.code,ht="code."),!(null==at||!at)&&(at=at.toLowerCase()," "===at?at="space":"."===at&&(at="dot"),B.forEach(Lt=>{Lt!==at&&(0,X[Lt])(Pe)&&(ht+=Lt+".")}),ht+=at,ht===it)}static eventCallback(Pe,it,at){return ht=>{ft.matchEventFullKeyCode(ht,Pe)&&at.runGuarded(()=>it(ht))}}static _normalizeKey(Pe){return"esc"===Pe?"escape":Pe}}return ft.\u0275fac=function(Pe){return new(Pe||ft)(e.LFG(t.K0))},ft.\u0275prov=e.Yz7({token:ft,factory:ft.\u0275fac}),ft})();const Ae=(0,e.eFA)(e._c5,"browser",[{provide:e.Lbi,useValue:t.bD},{provide:e.g9A,useValue:function ce(){I.makeCurrent()},multi:!0},{provide:t.K0,useFactory:function oe(){return(0,e.RDi)(document),document},deps:[]}]),de=new e.OlP(""),Ce=[{provide:e.rWj,useClass:class O{addToWindow(Pt){e.dqk.getAngularTestability=(it,at=!0)=>{const ht=Pt.findTestabilityInTree(it,at);if(null==ht)throw new Error("Could not find testability for element.");return ht},e.dqk.getAllAngularTestabilities=()=>Pt.getAllTestabilities(),e.dqk.getAllAngularRootElements=()=>Pt.getAllRootElements(),e.dqk.frameworkStabilizers||(e.dqk.frameworkStabilizers=[]),e.dqk.frameworkStabilizers.push(it=>{const at=e.dqk.getAllAngularTestabilities();let ht=at.length,Lt=!1;const ui=function(Ti){Lt=Lt||Ti,ht--,0==ht&&it(Lt)};at.forEach(function(Ti){Ti.whenStable(ui)})})}findTestabilityInTree(Pt,Pe,it){return null==Pe?null:Pt.getTestability(Pe)??(it?(0,t.q)().isShadowRoot(Pe)?this.findTestabilityInTree(Pt,Pe.host,!0):this.findTestabilityInTree(Pt,Pe.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]}],te=[{provide:e.zSh,useValue:"root"},{provide:e.qLn,useFactory:function ve(){return new e.qLn},deps:[]},{provide:R,useClass:v,multi:!0,deps:[t.K0,e.R0b,e.Lbi]},{provide:R,useClass:De,multi:!0,deps:[t.K0]},{provide:u,useClass:u,deps:[z,K,e.AFp]},{provide:e.FYo,useExisting:u},{provide:Y,useExisting:K},{provide:K,useClass:K,deps:[t.K0]},{provide:z,useClass:z,deps:[R,e.R0b]},{provide:t.JF,useClass:E,deps:[]},[]];let Ze=(()=>{class ft{constructor(Pe){}static withServerTransition(Pe){return{ngModule:ft,providers:[{provide:e.AFp,useValue:Pe.appId},{provide:d,useExisting:e.AFp},w]}}}return ft.\u0275fac=function(Pe){return new(Pe||ft)(e.LFG(de,12))},ft.\u0275mod=e.oAB({type:ft}),ft.\u0275inj=e.cJS({providers:[...te,...Ce],imports:[t.ez,e.hGG]}),ft})(),$e=(()=>{class ft{constructor(Pe){this._doc=Pe}getTitle(){return this._doc.title}setTitle(Pe){this._doc.title=Pe||""}}return ft.\u0275fac=function(Pe){return new(Pe||ft)(e.LFG(t.K0))},ft.\u0275prov=e.Yz7({token:ft,factory:function(Pe){let it=null;return it=Pe?new Pe:function pt(){return new $e((0,e.LFG)(t.K0))}(),it},providedIn:"root"}),ft})();typeof window<"u"&&window;const Ve={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},ot=new e.OlP("HammerGestureConfig"),ei=new e.OlP("HammerLoader");let Bt=(()=>{class ft{constructor(){this.events=[],this.overrides={}}buildHammer(Pe){const it=new Hammer(Pe,this.options);it.get("pinch").set({enable:!0}),it.get("rotate").set({enable:!0});for(const at in this.overrides)it.get(at).set(this.overrides[at]);return it}}return ft.\u0275fac=function(Pe){return new(Pe||ft)},ft.\u0275prov=e.Yz7({token:ft,factory:ft.\u0275fac}),ft})(),ti=(()=>{class ft extends U{constructor(Pe,it,at,ht){super(Pe),this._config=it,this.console=at,this.loader=ht,this._loaderPromise=null}supports(Pe){return!(!Ve.hasOwnProperty(Pe.toLowerCase())&&!this.isCustomEvent(Pe)||!window.Hammer&&!this.loader)}addEventListener(Pe,it,at){const ht=this.manager.getZone();if(it=it.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||ht.runOutsideAngular(()=>this.loader());let Lt=!1,ui=()=>{Lt=!0};return ht.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?Lt||(ui=this.addEventListener(Pe,it,at)):ui=()=>{}}).catch(()=>{ui=()=>{}})),()=>{ui()}}return ht.runOutsideAngular(()=>{const Lt=this._config.buildHammer(Pe),ui=function(Ti){ht.runGuarded(function(){at(Ti)})};return Lt.on(it,ui),()=>{Lt.off(it,ui),"function"==typeof Lt.destroy&&Lt.destroy()}})}isCustomEvent(Pe){return this._config.events.indexOf(Pe)>-1}}return ft.\u0275fac=function(Pe){return new(Pe||ft)(e.LFG(t.K0),e.LFG(ot),e.LFG(e.c2e),e.LFG(ei,8))},ft.\u0275prov=e.Yz7({token:ft,factory:ft.\u0275fac}),ft})(),mt=(()=>{class ft{}return ft.\u0275fac=function(Pe){return new(Pe||ft)},ft.\u0275mod=e.oAB({type:ft}),ft.\u0275inj=e.cJS({providers:[{provide:R,useClass:ti,multi:!0,deps:[t.K0,ot,e.c2e,[new e.FiY,ei]]},{provide:ot,useClass:Bt,deps:[]}]}),ft})(),nt=(()=>{class ft{}return ft.\u0275fac=function(Pe){return new(Pe||ft)},ft.\u0275prov=e.Yz7({token:ft,factory:function(Pe){let it=null;return it=Pe?new(Pe||ft):e.LFG($t),it},providedIn:"root"}),ft})(),$t=(()=>{class ft extends nt{constructor(Pe){super(),this._doc=Pe}sanitize(Pe,it){if(null==it)return null;switch(Pe){case e.q3G.NONE:return it;case e.q3G.HTML:return(0,e.qzn)(it,"HTML")?(0,e.z3N)(it):(0,e.EiD)(this._doc,String(it)).toString();case e.q3G.STYLE:return(0,e.qzn)(it,"Style")?(0,e.z3N)(it):it;case e.q3G.SCRIPT:if((0,e.qzn)(it,"Script"))return(0,e.z3N)(it);throw new Error("unsafe value used in a script context");case e.q3G.URL:return(0,e.qzn)(it,"URL")?(0,e.z3N)(it):(0,e.mCW)(String(it));case e.q3G.RESOURCE_URL:if((0,e.qzn)(it,"ResourceURL"))return(0,e.z3N)(it);throw new Error(`unsafe value used in a resource URL context (see ${e.JZr})`);default:throw new Error(`Unexpected SecurityContext ${Pe} (see ${e.JZr})`)}}bypassSecurityTrustHtml(Pe){return(0,e.JVY)(Pe)}bypassSecurityTrustStyle(Pe){return(0,e.L6k)(Pe)}bypassSecurityTrustScript(Pe){return(0,e.eBb)(Pe)}bypassSecurityTrustUrl(Pe){return(0,e.LAX)(Pe)}bypassSecurityTrustResourceUrl(Pe){return(0,e.pB0)(Pe)}}return ft.\u0275fac=function(Pe){return new(Pe||ft)(e.LFG(t.K0))},ft.\u0275prov=e.Yz7({token:ft,factory:function(Pe){let it=null;return it=Pe?new Pe:function yt(ft){return new $t(ft.get(t.K0))}(e.LFG(e.zs3)),it},providedIn:"root"}),ft})()},9116:(Ue,q,p)=>{"use strict";p.d(q,{gz:()=>Kn,gk:()=>Xi,m2:()=>Oi,Q3:()=>pa,OD:()=>ii,Av:()=>Di,F0:()=>Pr,rH:()=>tc,Od:()=>jc,Bz:()=>$1,lC:()=>ra});var t=p(4650),e=p(457),b=p(9646),I=p(1135),s=p(6805),C=p(9841),h=p(7272),P=p(9770),d=p(9635),S=p(2843),w=p(9751),O=p(515),E=p(4033),R=p(7579),z=p(6895),U=p(4004),Y=p(3900),K=p(5698),$=p(8675),ie=p(9300),ue=p(5577),he=p(590),ne=p(4351),le=p(8505),ee=p(262),me=p(5026),A=p(4482),i=p(5403);function a(pe){return pe<=0?()=>O.E:(0,A.e)((Me,re)=>{let Ne=[];Me.subscribe((0,i.x)(re,rt=>{Ne.push(rt),pe<Ne.length&&Ne.shift()},()=>{for(const rt of Ne)re.next(rt);re.complete()},void 0,()=>{Ne=null}))})}var u=p(8068),l=p(6590),y=p(4671);function T(pe,Me){const re=arguments.length>=2;return Ne=>Ne.pipe(pe?(0,ie.h)((rt,Dt)=>pe(rt,Dt,Ne)):y.y,a(1),re?(0,l.d)(Me):(0,u.T)(()=>new s.K))}var D=p(2529),m=p(9718),n=p(8746),v=p(8343),B=p(8189),V=p(1481);const X="primary",De=Symbol("RouteTitle");class tt{constructor(Me){this.params=Me||{}}has(Me){return Object.prototype.hasOwnProperty.call(this.params,Me)}get(Me){if(this.has(Me)){const re=this.params[Me];return Array.isArray(re)?re[0]:re}return null}getAll(Me){if(this.has(Me)){const re=this.params[Me];return Array.isArray(re)?re:[re]}return[]}get keys(){return Object.keys(this.params)}}function je(pe){return new tt(pe)}function ze(pe,Me,re){const Ne=re.path.split("/");if(Ne.length>pe.length||"full"===re.pathMatch&&(Me.hasChildren()||Ne.length<pe.length))return null;const rt={};for(let Dt=0;Dt<Ne.length;Dt++){const Nt=Ne[Dt],di=pe[Dt];if(Nt.startsWith(":"))rt[Nt.substring(1)]=di;else if(Nt!==di.path)return null}return{consumed:pe.slice(0,Ne.length),posParams:rt}}function ye(pe,Me){const re=pe?Object.keys(pe):void 0,Ne=Me?Object.keys(Me):void 0;if(!re||!Ne||re.length!=Ne.length)return!1;let rt;for(let Dt=0;Dt<re.length;Dt++)if(rt=re[Dt],!ce(pe[rt],Me[rt]))return!1;return!0}function ce(pe,Me){if(Array.isArray(pe)&&Array.isArray(Me)){if(pe.length!==Me.length)return!1;const re=[...pe].sort(),Ne=[...Me].sort();return re.every((rt,Dt)=>Ne[Dt]===rt)}return pe===Me}function ve(pe){return Array.prototype.concat.apply([],pe)}function oe(pe){return pe.length>0?pe[pe.length-1]:null}function Ae(pe,Me){for(const re in pe)pe.hasOwnProperty(re)&&Me(pe[re],re)}function de(pe){return(0,t.CqO)(pe)?pe:(0,t.QGY)(pe)?(0,e.D)(Promise.resolve(pe)):(0,b.of)(pe)}const Ce=!1,te={exact:function ge(pe,Me,re){if(!He(pe.segments,Me.segments)||!At(pe.segments,Me.segments,re)||pe.numberOfChildren!==Me.numberOfChildren)return!1;for(const Ne in Me.children)if(!pe.children[Ne]||!ge(pe.children[Ne],Me.children[Ne],re))return!1;return!0},subset:$e},Ze={exact:function ae(pe,Me){return ye(pe,Me)},subset:function pt(pe,Me){return Object.keys(Me).length<=Object.keys(pe).length&&Object.keys(Me).every(re=>ce(pe[re],Me[re]))},ignored:()=>!0};function Ge(pe,Me,re){return te[re.paths](pe.root,Me.root,re.matrixParams)&&Ze[re.queryParams](pe.queryParams,Me.queryParams)&&!("exact"===re.fragment&&pe.fragment!==Me.fragment)}function $e(pe,Me,re){return ut(pe,Me,Me.segments,re)}function ut(pe,Me,re,Ne){if(pe.segments.length>re.length){const rt=pe.segments.slice(0,re.length);return!(!He(rt,re)||Me.hasChildren()||!At(rt,re,Ne))}if(pe.segments.length===re.length){if(!He(pe.segments,re)||!At(pe.segments,re,Ne))return!1;for(const rt in Me.children)if(!pe.children[rt]||!$e(pe.children[rt],Me.children[rt],Ne))return!1;return!0}{const rt=re.slice(0,pe.segments.length),Dt=re.slice(pe.segments.length);return!!(He(pe.segments,rt)&&At(pe.segments,rt,Ne)&&pe.children[X])&&ut(pe.children[X],Me,Dt,Ne)}}function At(pe,Me,re){return Me.every((Ne,rt)=>Ze[re](pe[rt].parameters,Ne.parameters))}class _t{constructor(Me=new lt([],{}),re={},Ne=null){this.root=Me,this.queryParams=re,this.fragment=Ne}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=je(this.queryParams)),this._queryParamMap}toString(){return Ft.serialize(this)}}class lt{constructor(Me,re){this.segments=Me,this.children=re,this.parent=null,Ae(re,(Ne,rt)=>Ne.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return qe(this)}}class St{constructor(Me,re){this.path=Me,this.parameters=re}get parameterMap(){return this._parameterMap||(this._parameterMap=je(this.parameters)),this._parameterMap}toString(){return be(this)}}function He(pe,Me){return pe.length===Me.length&&pe.every((re,Ne)=>re.path===Me[Ne].path)}let W=(()=>{class pe{}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:function(){return new Fe},providedIn:"root"}),pe})();class Fe{parse(Me){const re=new $t(Me);return new _t(re.parseRootSegment(),re.parseQueryParams(),re.parseFragment())}serialize(Me){const re=`/${Qe(Me.root,!0)}`,Ne=function ot(pe){const Me=Object.keys(pe).map(re=>{const Ne=pe[re];return Array.isArray(Ne)?Ne.map(rt=>`${Et(re)}=${Et(rt)}`).join("&"):`${Et(re)}=${Et(Ne)}`}).filter(re=>!!re);return Me.length?`?${Me.join("&")}`:""}(Me.queryParams);return`${re}${Ne}${"string"==typeof Me.fragment?`#${function It(pe){return encodeURI(pe)}(Me.fragment)}`:""}`}}const Ft=new Fe;function qe(pe){return pe.segments.map(Me=>be(Me)).join("/")}function Qe(pe,Me){if(!pe.hasChildren())return qe(pe);if(Me){const re=pe.children[X]?Qe(pe.children[X],!1):"",Ne=[];return Ae(pe.children,(rt,Dt)=>{Dt!==X&&Ne.push(`${Dt}:${Qe(rt,!1)}`)}),Ne.length>0?`${re}(${Ne.join("//")})`:re}{const re=function wt(pe,Me){let re=[];return Ae(pe.children,(Ne,rt)=>{rt===X&&(re=re.concat(Me(Ne,rt)))}),Ae(pe.children,(Ne,rt)=>{rt!==X&&(re=re.concat(Me(Ne,rt)))}),re}(pe,(Ne,rt)=>rt===X?[Qe(pe.children[X],!1)]:[`${rt}:${Qe(Ne,!1)}`]);return 1===Object.keys(pe.children).length&&null!=pe.children[X]?`${qe(pe)}/${re[0]}`:`${qe(pe)}/(${re.join("//")})`}}function Ht(pe){return encodeURIComponent(pe).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Et(pe){return Ht(pe).replace(/%3B/gi,";")}function bt(pe){return Ht(pe).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function we(pe){return decodeURIComponent(pe)}function J(pe){return we(pe.replace(/\+/g,"%20"))}function be(pe){return`${bt(pe.path)}${function Ve(pe){return Object.keys(pe).map(Me=>`;${bt(Me)}=${bt(pe[Me])}`).join("")}(pe.parameters)}`}const ei=/^[^\/()?;=#]+/;function Bt(pe){const Me=pe.match(ei);return Me?Me[0]:""}const ti=/^[^=?&#]+/,nt=/^[^&#]+/;class $t{constructor(Me){this.url=Me,this.remaining=Me}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new lt([],{}):new lt([],this.parseChildren())}parseQueryParams(){const Me={};if(this.consumeOptional("?"))do{this.parseQueryParam(Me)}while(this.consumeOptional("&"));return Me}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const Me=[];for(this.peekStartsWith("(")||Me.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),Me.push(this.parseSegment());let re={};this.peekStartsWith("/(")&&(this.capture("/"),re=this.parseParens(!0));let Ne={};return this.peekStartsWith("(")&&(Ne=this.parseParens(!1)),(Me.length>0||Object.keys(re).length>0)&&(Ne[X]=new lt(Me,re)),Ne}parseSegment(){const Me=Bt(this.remaining);if(""===Me&&this.peekStartsWith(";"))throw new t.vHH(4009,Ce);return this.capture(Me),new St(we(Me),this.parseMatrixParams())}parseMatrixParams(){const Me={};for(;this.consumeOptional(";");)this.parseParam(Me);return Me}parseParam(Me){const re=Bt(this.remaining);if(!re)return;this.capture(re);let Ne="";if(this.consumeOptional("=")){const rt=Bt(this.remaining);rt&&(Ne=rt,this.capture(Ne))}Me[we(re)]=we(Ne)}parseQueryParam(Me){const re=function mt(pe){const Me=pe.match(ti);return Me?Me[0]:""}(this.remaining);if(!re)return;this.capture(re);let Ne="";if(this.consumeOptional("=")){const Nt=function yt(pe){const Me=pe.match(nt);return Me?Me[0]:""}(this.remaining);Nt&&(Ne=Nt,this.capture(Ne))}const rt=J(re),Dt=J(Ne);if(Me.hasOwnProperty(rt)){let Nt=Me[rt];Array.isArray(Nt)||(Nt=[Nt],Me[rt]=Nt),Nt.push(Dt)}else Me[rt]=Dt}parseParens(Me){const re={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Ne=Bt(this.remaining),rt=this.remaining[Ne.length];if("/"!==rt&&")"!==rt&&";"!==rt)throw new t.vHH(4010,Ce);let Dt;Ne.indexOf(":")>-1?(Dt=Ne.slice(0,Ne.indexOf(":")),this.capture(Dt),this.capture(":")):Me&&(Dt=X);const Nt=this.parseChildren();re[Dt]=1===Object.keys(Nt).length?Nt[X]:new lt([],Nt),this.consumeOptional("//")}return re}peekStartsWith(Me){return this.remaining.startsWith(Me)}consumeOptional(Me){return!!this.peekStartsWith(Me)&&(this.remaining=this.remaining.substring(Me.length),!0)}capture(Me){if(!this.consumeOptional(Me))throw new t.vHH(4011,Ce)}}function Vt(pe){return pe.segments.length>0?new lt([],{[X]:pe}):pe}function ft(pe){const Me={};for(const Ne of Object.keys(pe.children)){const Dt=ft(pe.children[Ne]);(Dt.segments.length>0||Dt.hasChildren())&&(Me[Ne]=Dt)}return function Pt(pe){if(1===pe.numberOfChildren&&pe.children[X]){const Me=pe.children[X];return new lt(pe.segments.concat(Me.segments),Me.children)}return pe}(new lt(pe.segments,Me))}function Pe(pe){return pe instanceof _t}function ui(pe,Me,re,Ne,rt){if(0===re.length)return Ni(Me.root,Me.root,Me.root,Ne,rt);const Dt=function xe(pe){if("string"==typeof pe[0]&&1===pe.length&&"/"===pe[0])return new Tt(!0,0,pe);let Me=0,re=!1;const Ne=pe.reduce((rt,Dt,Nt)=>{if("object"==typeof Dt&&null!=Dt){if(Dt.outlets){const di={};return Ae(Dt.outlets,(Ai,on)=>{di[on]="string"==typeof Ai?Ai.split("/"):Ai}),[...rt,{outlets:di}]}if(Dt.segmentPath)return[...rt,Dt.segmentPath]}return"string"!=typeof Dt?[...rt,Dt]:0===Nt?(Dt.split("/").forEach((di,Ai)=>{0==Ai&&"."===di||(0==Ai&&""===di?re=!0:".."===di?Me++:""!=di&&rt.push(di))}),rt):[...rt,Dt]},[]);return new Tt(re,Me,Ne)}(re);return Dt.toRoot()?Ni(Me.root,Me.root,new lt([],{}),Ne,rt):function Nt(Ai){const on=function li(pe,Me,re,Ne){if(pe.isAbsolute)return new Rt(Me.root,!0,0);if(-1===Ne)return new Rt(re,re===Me.root,0);return function bi(pe,Me,re){let Ne=pe,rt=Me,Dt=re;for(;Dt>rt;){if(Dt-=rt,Ne=Ne.parent,!Ne)throw new t.vHH(4005,!1);rt=Ne.segments.length}return new Rt(Ne,!1,rt-Dt)}(re,Ne+(Ti(pe.commands[0])?0:1),pe.numberOfDoubleDots)}(Dt,Me,pe.snapshot?._urlSegment,Ai),Qi=on.processChildren?ji(on.segmentGroup,on.index,Dt.commands):Gi(on.segmentGroup,on.index,Dt.commands);return Ni(Me.root,on.segmentGroup,Qi,Ne,rt)}(pe.snapshot?._lastPathIndex)}function Ti(pe){return"object"==typeof pe&&null!=pe&&!pe.outlets&&!pe.segmentPath}function yi(pe){return"object"==typeof pe&&null!=pe&&pe.outlets}function Ni(pe,Me,re,Ne,rt){let Nt,Dt={};Ne&&Ae(Ne,(Ai,on)=>{Dt[on]=Array.isArray(Ai)?Ai.map(Qi=>`${Qi}`):`${Ai}`}),Nt=pe===Me?re:Xe(pe,Me,re);const di=Vt(ft(Nt));return new _t(di,Dt,rt)}function Xe(pe,Me,re){const Ne={};return Ae(pe.children,(rt,Dt)=>{Ne[Dt]=rt===Me?re:Xe(rt,Me,re)}),new lt(pe.segments,Ne)}class Tt{constructor(Me,re,Ne){if(this.isAbsolute=Me,this.numberOfDoubleDots=re,this.commands=Ne,Me&&Ne.length>0&&Ti(Ne[0]))throw new t.vHH(4003,!1);const rt=Ne.find(yi);if(rt&&rt!==oe(Ne))throw new t.vHH(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Rt{constructor(Me,re,Ne){this.segmentGroup=Me,this.processChildren=re,this.index=Ne}}function Gi(pe,Me,re){if(pe||(pe=new lt([],{})),0===pe.segments.length&&pe.hasChildren())return ji(pe,Me,re);const Ne=function $i(pe,Me,re){let Ne=0,rt=Me;const Dt={match:!1,pathIndex:0,commandIndex:0};for(;rt<pe.segments.length;){if(Ne>=re.length)return Dt;const Nt=pe.segments[rt],di=re[Ne];if(yi(di))break;const Ai=`${di}`,on=Ne<re.length-1?re[Ne+1]:null;if(rt>0&&void 0===Ai)break;if(Ai&&on&&"object"==typeof on&&void 0===on.outlets){if(!Oe(Ai,on,Nt))return Dt;Ne+=2}else{if(!Oe(Ai,{},Nt))return Dt;Ne++}rt++}return{match:!0,pathIndex:rt,commandIndex:Ne}}(pe,Me,re),rt=re.slice(Ne.commandIndex);if(Ne.match&&Ne.pathIndex<pe.segments.length){const Dt=new lt(pe.segments.slice(0,Ne.pathIndex),{});return Dt.children[X]=new lt(pe.segments.slice(Ne.pathIndex),pe.children),ji(Dt,0,rt)}return Ne.match&&0===rt.length?new lt(pe.segments,{}):Ne.match&&!pe.hasChildren()?Gt(pe,Me,re):Ne.match?ji(pe,0,rt):Gt(pe,Me,re)}function ji(pe,Me,re){if(0===re.length)return new lt(pe.segments,{});{const Ne=function Li(pe){return yi(pe[0])?pe[0].outlets:{[X]:pe}}(re),rt={};return!Ne[X]&&pe.children[X]&&1===pe.numberOfChildren&&0===pe.children[X].segments.length?ji(pe.children[X],Me,re):(Ae(Ne,(Dt,Nt)=>{"string"==typeof Dt&&(Dt=[Dt]),null!==Dt&&(rt[Nt]=Gi(pe.children[Nt],Me,Dt))}),Ae(pe.children,(Dt,Nt)=>{void 0===Ne[Nt]&&(rt[Nt]=Dt)}),new lt(pe.segments,rt))}}function Gt(pe,Me,re){const Ne=pe.segments.slice(0,Me);let rt=0;for(;rt<re.length;){const Dt=re[rt];if(yi(Dt)){const Ai=Kt(Dt.outlets);return new lt(Ne,Ai)}if(0===rt&&Ti(re[0])){Ne.push(new St(pe.segments[Me].path,fe(re[0]))),rt++;continue}const Nt=yi(Dt)?Dt.outlets[X]:`${Dt}`,di=rt<re.length-1?re[rt+1]:null;Nt&&di&&Ti(di)?(Ne.push(new St(Nt,fe(di))),rt+=2):(Ne.push(new St(Nt,{})),rt++)}return new lt(Ne,{})}function Kt(pe){const Me={};return Ae(pe,(re,Ne)=>{"string"==typeof re&&(re=[re]),null!==re&&(Me[Ne]=Gt(new lt([],{}),0,re))}),Me}function fe(pe){const Me={};return Ae(pe,(re,Ne)=>Me[Ne]=`${re}`),Me}function Oe(pe,Me,re){return pe==re.path&&ye(Me,re.parameters)}const ct="imperative";class Je{constructor(Me,re){this.id=Me,this.url=re}}class ii extends Je{constructor(Me,re,Ne="imperative",rt=null){super(Me,re),this.type=0,this.navigationTrigger=Ne,this.restoredState=rt}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Oi extends Je{constructor(Me,re,Ne){super(Me,re),this.urlAfterRedirects=Ne,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class Xi extends Je{constructor(Me,re,Ne,rt){super(Me,re),this.reason=Ne,this.code=rt,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class Rn extends Je{constructor(Me,re,Ne,rt){super(Me,re),this.reason=Ne,this.code=rt,this.type=16}}class pa extends Je{constructor(Me,re,Ne,rt){super(Me,re),this.error=Ne,this.target=rt,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class hn extends Je{constructor(Me,re,Ne,rt){super(Me,re),this.urlAfterRedirects=Ne,this.state=rt,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ua extends Je{constructor(Me,re,Ne,rt){super(Me,re),this.urlAfterRedirects=Ne,this.state=rt,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ga extends Je{constructor(Me,re,Ne,rt,Dt){super(Me,re),this.urlAfterRedirects=Ne,this.state=rt,this.shouldActivate=Dt,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ka extends Je{constructor(Me,re,Ne,rt){super(Me,re),this.urlAfterRedirects=Ne,this.state=rt,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Di extends Je{constructor(Me,re,Ne,rt){super(Me,re),this.urlAfterRedirects=Ne,this.state=rt,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Hi{constructor(Me){this.route=Me,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Mn{constructor(Me){this.route=Me,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Qt{constructor(Me){this.snapshot=Me,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fi{constructor(Me){this.snapshot=Me,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hi{constructor(Me){this.snapshot=Me,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mi{constructor(Me){this.snapshot=Me,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ki{constructor(Me,re,Ne){this.routerEvent=Me,this.position=re,this.anchor=Ne,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Un=(()=>{class pe{createUrlTree(re,Ne,rt,Dt,Nt,di){return ui(re||Ne.root,rt,Dt,Nt,di)}}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac}),pe})(),_a=(()=>{class pe{}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:function(Me){return Un.\u0275fac(Me)},providedIn:"root"}),pe})();class Dn{constructor(Me){this._root=Me}get root(){return this._root.value}parent(Me){const re=this.pathFromRoot(Me);return re.length>1?re[re.length-2]:null}children(Me){const re=Hn(Me,this._root);return re?re.children.map(Ne=>Ne.value):[]}firstChild(Me){const re=Hn(Me,this._root);return re&&re.children.length>0?re.children[0].value:null}siblings(Me){const re=jr(Me,this._root);return re.length<2?[]:re[re.length-2].children.map(rt=>rt.value).filter(rt=>rt!==Me)}pathFromRoot(Me){return jr(Me,this._root).map(re=>re.value)}}function Hn(pe,Me){if(pe===Me.value)return Me;for(const re of Me.children){const Ne=Hn(pe,re);if(Ne)return Ne}return null}function jr(pe,Me){if(pe===Me.value)return[Me];for(const re of Me.children){const Ne=jr(pe,re);if(Ne.length)return Ne.unshift(Me),Ne}return[]}class zn{constructor(Me,re){this.value=Me,this.children=re}toString(){return`TreeNode(${this.value})`}}function $n(pe){const Me={};return pe&&pe.children.forEach(re=>Me[re.value.outlet]=re),Me}class Lr extends Dn{constructor(Me,re){super(Me),this.snapshot=re,Qr(this,Me)}toString(){return this.snapshot.toString()}}function Sr(pe,Me){const re=function tr(pe,Me){const Nt=new Kr([],{},{},"",{},X,Me,null,pe.root,-1,{});return new Er("",new zn(Nt,[]))}(pe,Me),Ne=new I.X([new St("",{})]),rt=new I.X({}),Dt=new I.X({}),Nt=new I.X({}),di=new I.X(""),Ai=new Kn(Ne,rt,Nt,di,Dt,X,Me,re.root);return Ai.snapshot=re.root,new Lr(new zn(Ai,[]),re)}class Kn{constructor(Me,re,Ne,rt,Dt,Nt,di,Ai){this.url=Me,this.params=re,this.queryParams=Ne,this.fragment=rt,this.data=Dt,this.outlet=Nt,this.component=di,this.title=this.data?.pipe((0,U.U)(on=>on[De]))??(0,b.of)(void 0),this._futureSnapshot=Ai}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,U.U)(Me=>je(Me)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe((0,U.U)(Me=>je(Me)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function Ga(pe,Me="emptyOnly"){const re=pe.pathFromRoot;let Ne=0;if("always"!==Me)for(Ne=re.length-1;Ne>=1;){const rt=re[Ne],Dt=re[Ne-1];if(rt.routeConfig&&""===rt.routeConfig.path)Ne--;else{if(Dt.component)break;Ne--}}return function Fa(pe){return pe.reduce((Me,re)=>({params:{...Me.params,...re.params},data:{...Me.data,...re.data},resolve:{...re.data,...Me.resolve,...re.routeConfig?.data,...re._resolvedData}}),{params:{},data:{},resolve:{}})}(re.slice(Ne))}class Kr{get title(){return this.data?.[De]}constructor(Me,re,Ne,rt,Dt,Nt,di,Ai,on,Qi,Jn){this.url=Me,this.params=re,this.queryParams=Ne,this.fragment=rt,this.data=Dt,this.outlet=Nt,this.component=di,this.routeConfig=Ai,this._urlSegment=on,this._lastPathIndex=Qi,this._resolve=Jn}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=je(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=je(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Ne=>Ne.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Er extends Dn{constructor(Me,re){super(re),this.url=Me,Qr(this,re)}toString(){return wo(this._root)}}function Qr(pe,Me){Me.value._routerState=pe,Me.children.forEach(re=>Qr(pe,re))}function wo(pe){const Me=pe.children.length>0?` { ${pe.children.map(wo).join(", ")} } `:"";return`${pe.value}${Me}`}function Ma(pe){if(pe.snapshot){const Me=pe.snapshot,re=pe._futureSnapshot;pe.snapshot=re,ye(Me.queryParams,re.queryParams)||pe.queryParams.next(re.queryParams),Me.fragment!==re.fragment&&pe.fragment.next(re.fragment),ye(Me.params,re.params)||pe.params.next(re.params),function Le(pe,Me){if(pe.length!==Me.length)return!1;for(let re=0;re<pe.length;++re)if(!ye(pe[re],Me[re]))return!1;return!0}(Me.url,re.url)||pe.url.next(re.url),ye(Me.data,re.data)||pe.data.next(re.data)}else pe.snapshot=pe._futureSnapshot,pe.data.next(pe._futureSnapshot.data)}function Mo(pe,Me){const re=ye(pe.params,Me.params)&&function ke(pe,Me){return He(pe,Me)&&pe.every((re,Ne)=>ye(re.parameters,Me[Ne].parameters))}(pe.url,Me.url);return re&&!(!pe.parent!=!Me.parent)&&(!pe.parent||Mo(pe.parent,Me.parent))}function qr(pe,Me,re){if(re&&pe.shouldReuseRoute(Me.value,re.value.snapshot)){const Ne=re.value;Ne._futureSnapshot=Me.value;const rt=function so(pe,Me,re){return Me.children.map(Ne=>{for(const rt of re.children)if(pe.shouldReuseRoute(Ne.value,rt.value.snapshot))return qr(pe,Ne,rt);return qr(pe,Ne)})}(pe,Me,re);return new zn(Ne,rt)}{if(pe.shouldAttach(Me.value)){const Dt=pe.retrieve(Me.value);if(null!==Dt){const Nt=Dt.route;return Nt.value._futureSnapshot=Me.value,Nt.children=Me.children.map(di=>qr(pe,di)),Nt}}const Ne=function co(pe){return new Kn(new I.X(pe.url),new I.X(pe.params),new I.X(pe.queryParams),new I.X(pe.fragment),new I.X(pe.data),pe.outlet,pe.component,pe)}(Me.value),rt=Me.children.map(Dt=>qr(pe,Dt));return new zn(Ne,rt)}}const lo="ngNavigationCancelingError";function Gr(pe,Me){const{redirectTo:re,navigationBehaviorOptions:Ne}=Pe(Me)?{redirectTo:Me,navigationBehaviorOptions:void 0}:Me,rt=ho(!1,0,Me);return rt.url=re,rt.navigationBehaviorOptions=Ne,rt}function ho(pe,Me,re){const Ne=new Error("NavigationCancelingError: "+(pe||""));return Ne[lo]=!0,Ne.cancellationCode=Me,re&&(Ne.url=re),Ne}function Zr(pe){return uo(pe)&&Pe(pe.url)}function uo(pe){return pe&&pe[lo]}class fo{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.injector=null,this.children=new ir,this.attachRef=null}}let ir=(()=>{class pe{constructor(){this.contexts=new Map}onChildOutletCreated(re,Ne){const rt=this.getOrCreateContext(re);rt.outlet=Ne,this.contexts.set(re,rt)}onChildOutletDestroyed(re){const Ne=this.getContext(re);Ne&&(Ne.outlet=null,Ne.attachRef=null)}onOutletDeactivated(){const re=this.contexts;return this.contexts=new Map,re}onOutletReAttached(re){this.contexts=re}getOrCreateContext(re){let Ne=this.getContext(re);return Ne||(Ne=new fo,this.contexts.set(re,Ne)),Ne}getContext(re){return this.contexts.get(re)||null}}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();const pr=!1;let ra=(()=>{class pe{constructor(){this.activated=null,this._activatedRoute=null,this.name=X,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)(ir),this.location=(0,t.f3M)(t.s_b),this.changeDetector=(0,t.f3M)(t.sBO),this.environmentInjector=(0,t.f3M)(t.lqb)}ngOnChanges(re){if(re.name){const{firstChange:Ne,previousValue:rt}=re.name;if(Ne)return;this.isTrackedInParentContexts(rt)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(rt)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name)}isTrackedInParentContexts(re){return this.parentContexts.getContext(re)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const re=this.parentContexts.getContext(this.name);re?.route&&(re.attachRef?this.attach(re.attachRef,re.route):this.activateWith(re.route,re.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new t.vHH(4012,pr);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new t.vHH(4012,pr);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new t.vHH(4012,pr);this.location.detach();const re=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(re.instance),re}attach(re,Ne){this.activated=re,this._activatedRoute=Ne,this.location.insert(re.hostView),this.attachEvents.emit(re.instance)}deactivate(){if(this.activated){const re=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(re)}}activateWith(re,Ne){if(this.isActivated)throw new t.vHH(4013,pr);this._activatedRoute=re;const rt=this.location,Nt=re.snapshot.component,di=this.parentContexts.getOrCreateContext(this.name).children,Ai=new Ya(re,di,rt.injector);if(Ne&&function Ir(pe){return!!pe.resolveComponentFactory}(Ne)){const on=Ne.resolveComponentFactory(Nt);this.activated=rt.createComponent(on,rt.length,Ai)}else this.activated=rt.createComponent(Nt,{index:rt.length,injector:Ai,environmentInjector:Ne??this.environmentInjector});this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275dir=t.lG2({type:pe,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[t.TTD]}),pe})();class Ya{constructor(Me,re,Ne){this.route=Me,this.childContexts=re,this.parent=Ne}get(Me,re){return Me===Kn?this.route:Me===ir?this.childContexts:this.parent.get(Me,re)}}let kr=(()=>{class pe{}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275cmp=t.Xpm({type:pe,selectors:[["ng-component"]],standalone:!0,features:[t.jDz],decls:1,vars:0,template:function(re,Ne){1&re&&t._UZ(0,"router-outlet")},dependencies:[ra],encapsulation:2}),pe})();function gr(pe,Me){return pe.providers&&!pe._injector&&(pe._injector=(0,t.MMx)(pe.providers,Me,`Route: ${pe.path}`)),pe._injector??Me}function Or(pe){const Me=pe.children&&pe.children.map(Or),re=Me?{...pe,children:Me}:{...pe};return!re.component&&!re.loadComponent&&(Me||re.loadChildren)&&re.outlet&&re.outlet!==X&&(re.component=kr),re}function Qn(pe){return pe.outlet||X}function Yn(pe,Me){const re=pe.filter(Ne=>Qn(Ne)===Me);return re.push(...pe.filter(Ne=>Qn(Ne)!==Me)),re}function _r(pe){if(!pe)return null;if(pe.routeConfig?._injector)return pe.routeConfig._injector;for(let Me=pe.parent;Me;Me=Me.parent){const re=Me.routeConfig;if(re?._loadedInjector)return re._loadedInjector;if(re?._injector)return re._injector}return null}class ca{constructor(Me,re,Ne,rt){this.routeReuseStrategy=Me,this.futureState=re,this.currState=Ne,this.forwardEvent=rt}activate(Me){const re=this.futureState._root,Ne=this.currState?this.currState._root:null;this.deactivateChildRoutes(re,Ne,Me),Ma(this.futureState.root),this.activateChildRoutes(re,Ne,Me)}deactivateChildRoutes(Me,re,Ne){const rt=$n(re);Me.children.forEach(Dt=>{const Nt=Dt.value.outlet;this.deactivateRoutes(Dt,rt[Nt],Ne),delete rt[Nt]}),Ae(rt,(Dt,Nt)=>{this.deactivateRouteAndItsChildren(Dt,Ne)})}deactivateRoutes(Me,re,Ne){const rt=Me.value,Dt=re?re.value:null;if(rt===Dt)if(rt.component){const Nt=Ne.getContext(rt.outlet);Nt&&this.deactivateChildRoutes(Me,re,Nt.children)}else this.deactivateChildRoutes(Me,re,Ne);else Dt&&this.deactivateRouteAndItsChildren(re,Ne)}deactivateRouteAndItsChildren(Me,re){Me.value.component&&this.routeReuseStrategy.shouldDetach(Me.value.snapshot)?this.detachAndStoreRouteSubtree(Me,re):this.deactivateRouteAndOutlet(Me,re)}detachAndStoreRouteSubtree(Me,re){const Ne=re.getContext(Me.value.outlet),rt=Ne&&Me.value.component?Ne.children:re,Dt=$n(Me);for(const Nt of Object.keys(Dt))this.deactivateRouteAndItsChildren(Dt[Nt],rt);if(Ne&&Ne.outlet){const Nt=Ne.outlet.detach(),di=Ne.children.onOutletDeactivated();this.routeReuseStrategy.store(Me.value.snapshot,{componentRef:Nt,route:Me,contexts:di})}}deactivateRouteAndOutlet(Me,re){const Ne=re.getContext(Me.value.outlet),rt=Ne&&Me.value.component?Ne.children:re,Dt=$n(Me);for(const Nt of Object.keys(Dt))this.deactivateRouteAndItsChildren(Dt[Nt],rt);Ne&&Ne.outlet&&(Ne.outlet.deactivate(),Ne.children.onOutletDeactivated(),Ne.attachRef=null,Ne.resolver=null,Ne.route=null)}activateChildRoutes(Me,re,Ne){const rt=$n(re);Me.children.forEach(Dt=>{this.activateRoutes(Dt,rt[Dt.value.outlet],Ne),this.forwardEvent(new mi(Dt.value.snapshot))}),Me.children.length&&this.forwardEvent(new fi(Me.value.snapshot))}activateRoutes(Me,re,Ne){const rt=Me.value,Dt=re?re.value:null;if(Ma(rt),rt===Dt)if(rt.component){const Nt=Ne.getOrCreateContext(rt.outlet);this.activateChildRoutes(Me,re,Nt.children)}else this.activateChildRoutes(Me,re,Ne);else if(rt.component){const Nt=Ne.getOrCreateContext(rt.outlet);if(this.routeReuseStrategy.shouldAttach(rt.snapshot)){const di=this.routeReuseStrategy.retrieve(rt.snapshot);this.routeReuseStrategy.store(rt.snapshot,null),Nt.children.onOutletReAttached(di.contexts),Nt.attachRef=di.componentRef,Nt.route=di.route.value,Nt.outlet&&Nt.outlet.attach(di.componentRef,di.route.value),Ma(di.route.value),this.activateChildRoutes(Me,null,Nt.children)}else{const di=_r(rt.snapshot),Ai=di?.get(t._Vd)??null;Nt.attachRef=null,Nt.route=rt,Nt.resolver=Ai,Nt.injector=di,Nt.outlet&&Nt.outlet.activateWith(rt,Nt.injector),this.activateChildRoutes(Me,null,Nt.children)}}else this.activateChildRoutes(Me,null,Ne)}}class Ka{constructor(Me){this.path=Me,this.route=this.path[this.path.length-1]}}class zt{constructor(Me,re){this.component=Me,this.route=re}}function oi(pe,Me,re){const Ne=pe._root;return Pi(Ne,Me?Me._root:null,re,[Ne.value])}function ni(pe,Me){const re=Symbol(),Ne=Me.get(pe,re);return Ne===re?"function"!=typeof pe||(0,t.Z0I)(pe)?Me.get(pe):pe:Ne}function Pi(pe,Me,re,Ne,rt={canDeactivateChecks:[],canActivateChecks:[]}){const Dt=$n(Me);return pe.children.forEach(Nt=>{(function nn(pe,Me,re,Ne,rt={canDeactivateChecks:[],canActivateChecks:[]}){const Dt=pe.value,Nt=Me?Me.value:null,di=re?re.getContext(pe.value.outlet):null;if(Nt&&Dt.routeConfig===Nt.routeConfig){const Ai=function ea(pe,Me,re){if("function"==typeof re)return re(pe,Me);switch(re){case"pathParamsChange":return!He(pe.url,Me.url);case"pathParamsOrQueryParamsChange":return!He(pe.url,Me.url)||!ye(pe.queryParams,Me.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Mo(pe,Me)||!ye(pe.queryParams,Me.queryParams);default:return!Mo(pe,Me)}}(Nt,Dt,Dt.routeConfig.runGuardsAndResolvers);Ai?rt.canActivateChecks.push(new Ka(Ne)):(Dt.data=Nt.data,Dt._resolvedData=Nt._resolvedData),Pi(pe,Me,Dt.component?di?di.children:null:re,Ne,rt),Ai&&di&&di.outlet&&di.outlet.isActivated&&rt.canDeactivateChecks.push(new zt(di.outlet.component,Nt))}else Nt&&la(Me,di,rt),rt.canActivateChecks.push(new Ka(Ne)),Pi(pe,null,Dt.component?di?di.children:null:re,Ne,rt)})(Nt,Dt[Nt.value.outlet],re,Ne.concat([Nt.value]),rt),delete Dt[Nt.value.outlet]}),Ae(Dt,(Nt,di)=>la(Nt,re.getContext(di),rt)),rt}function la(pe,Me,re){const Ne=$n(pe),rt=pe.value;Ae(Ne,(Dt,Nt)=>{la(Dt,rt.component?Me?Me.children.getContext(Nt):null:Me,re)}),re.canDeactivateChecks.push(new zt(rt.component&&Me&&Me.outlet&&Me.outlet.isActivated?Me.outlet.component:null,rt))}function Yi(pe){return"function"==typeof pe}function ha(pe){return pe instanceof s.K||"EmptyError"===pe?.name}const wi=Symbol("INITIAL_VALUE");function Ln(){return(0,Y.w)(pe=>(0,C.a)(pe.map(Me=>Me.pipe((0,K.q)(1),(0,$.O)(wi)))).pipe((0,U.U)(Me=>{for(const re of Me)if(!0!==re){if(re===wi)return wi;if(!1===re||re instanceof _t)return re}return!0}),(0,ie.h)(Me=>Me!==wi),(0,K.q)(1)))}function rs(pe){return(0,d.z)((0,le.b)(Me=>{if(Pe(Me))throw Gr(0,Me)}),(0,U.U)(Me=>!0===Me))}const In={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ii(pe,Me,re,Ne,rt){const Dt=Qa(pe,Me,re);return Dt.matched?function br(pe,Me,re,Ne){const rt=Me.canMatch;if(!rt||0===rt.length)return(0,b.of)(!0);const Dt=rt.map(Nt=>{const di=ni(Nt,pe);return de(function Ot(pe){return pe&&Yi(pe.canMatch)}(di)?di.canMatch(Me,re):pe.runInContext(()=>di(Me,re)))});return(0,b.of)(Dt).pipe(Ln(),rs())}(Ne=gr(Me,Ne),Me,re).pipe((0,U.U)(Nt=>!0===Nt?Dt:{...In})):(0,b.of)(Dt)}function Qa(pe,Me,re){if(""===Me.path)return"full"===Me.pathMatch&&(pe.hasChildren()||re.length>0)?{...In}:{matched:!0,consumedSegments:[],remainingSegments:re,parameters:{},positionalParamSegments:{}};const rt=(Me.matcher||ze)(re,pe,Me);if(!rt)return{...In};const Dt={};Ae(rt.posParams,(di,Ai)=>{Dt[Ai]=di.path});const Nt=rt.consumed.length>0?{...Dt,...rt.consumed[rt.consumed.length-1].parameters}:Dt;return{matched:!0,consumedSegments:rt.consumed,remainingSegments:re.slice(rt.consumed.length),parameters:Nt,positionalParamSegments:rt.posParams??{}}}function go(pe,Me,re,Ne){if(re.length>0&&function Fo(pe,Me,re){return re.some(Ne=>Es(pe,Me,Ne)&&Qn(Ne)!==X)}(pe,re,Ne)){const Dt=new lt(Me,function No(pe,Me,re,Ne){const rt={};rt[X]=Ne,Ne._sourceSegment=pe,Ne._segmentIndexShift=Me.length;for(const Dt of re)if(""===Dt.path&&Qn(Dt)!==X){const Nt=new lt([],{});Nt._sourceSegment=pe,Nt._segmentIndexShift=Me.length,rt[Qn(Dt)]=Nt}return rt}(pe,Me,Ne,new lt(re,pe.children)));return Dt._sourceSegment=pe,Dt._segmentIndexShift=Me.length,{segmentGroup:Dt,slicedSegments:[]}}if(0===re.length&&function Xs(pe,Me,re){return re.some(Ne=>Es(pe,Me,Ne))}(pe,re,Ne)){const Dt=new lt(pe.segments,function zi(pe,Me,re,Ne,rt){const Dt={};for(const Nt of Ne)if(Es(pe,re,Nt)&&!rt[Qn(Nt)]){const di=new lt([],{});di._sourceSegment=pe,di._segmentIndexShift=Me.length,Dt[Qn(Nt)]=di}return{...rt,...Dt}}(pe,Me,re,Ne,pe.children));return Dt._sourceSegment=pe,Dt._segmentIndexShift=Me.length,{segmentGroup:Dt,slicedSegments:re}}const rt=new lt(pe.segments,pe.children);return rt._sourceSegment=pe,rt._segmentIndexShift=Me.length,{segmentGroup:rt,slicedSegments:re}}function Es(pe,Me,re){return(!(pe.hasChildren()||Me.length>0)||"full"!==re.pathMatch)&&""===re.path}function os(pe,Me,re,Ne){return!!(Qn(pe)===Ne||Ne!==X&&Es(Me,re,pe))&&("**"===pe.path||Qa(Me,pe,re).matched)}function So(pe,Me,re){return 0===Me.length&&!pe.children[re]}const Eo=!1;class ss{constructor(Me){this.segmentGroup=Me||null}}class bc{constructor(Me){this.urlTree=Me}}function Qo(pe){return(0,S._)(new ss(pe))}function $s(pe){return(0,S._)(new bc(pe))}class Ra{constructor(Me,re,Ne,rt,Dt){this.injector=Me,this.configLoader=re,this.urlSerializer=Ne,this.urlTree=rt,this.config=Dt,this.allowRedirects=!0}apply(){const Me=go(this.urlTree.root,[],[],this.config).segmentGroup,re=new lt(Me.segments,Me.children);return this.expandSegmentGroup(this.injector,this.config,re,X).pipe((0,U.U)(Dt=>this.createUrlTree(ft(Dt),this.urlTree.queryParams,this.urlTree.fragment))).pipe((0,ee.K)(Dt=>{if(Dt instanceof bc)return this.allowRedirects=!1,this.match(Dt.urlTree);throw Dt instanceof ss?this.noMatchError(Dt):Dt}))}match(Me){return this.expandSegmentGroup(this.injector,this.config,Me.root,X).pipe((0,U.U)(rt=>this.createUrlTree(ft(rt),Me.queryParams,Me.fragment))).pipe((0,ee.K)(rt=>{throw rt instanceof ss?this.noMatchError(rt):rt}))}noMatchError(Me){return new t.vHH(4002,Eo)}createUrlTree(Me,re,Ne){const rt=Vt(Me);return new _t(rt,re,Ne)}expandSegmentGroup(Me,re,Ne,rt){return 0===Ne.segments.length&&Ne.hasChildren()?this.expandChildren(Me,re,Ne).pipe((0,U.U)(Dt=>new lt([],Dt))):this.expandSegment(Me,Ne,re,Ne.segments,rt,!0)}expandChildren(Me,re,Ne){const rt=[];for(const Dt of Object.keys(Ne.children))"primary"===Dt?rt.unshift(Dt):rt.push(Dt);return(0,e.D)(rt).pipe((0,ne.b)(Dt=>{const Nt=Ne.children[Dt],di=Yn(re,Dt);return this.expandSegmentGroup(Me,di,Nt,Dt).pipe((0,U.U)(Ai=>({segment:Ai,outlet:Dt})))}),(0,me.R)((Dt,Nt)=>(Dt[Nt.outlet]=Nt.segment,Dt),{}),T())}expandSegment(Me,re,Ne,rt,Dt,Nt){return(0,e.D)(Ne).pipe((0,ne.b)(di=>this.expandSegmentAgainstRoute(Me,re,Ne,di,rt,Dt,Nt).pipe((0,ee.K)(on=>{if(on instanceof ss)return(0,b.of)(null);throw on}))),(0,he.P)(di=>!!di),(0,ee.K)((di,Ai)=>{if(ha(di))return So(re,rt,Dt)?(0,b.of)(new lt([],{})):Qo(re);throw di}))}expandSegmentAgainstRoute(Me,re,Ne,rt,Dt,Nt,di){return os(rt,re,Dt,Nt)?void 0===rt.redirectTo?this.matchSegmentAgainstRoute(Me,re,rt,Dt,Nt):di&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(Me,re,Ne,rt,Dt,Nt):Qo(re):Qo(re)}expandSegmentAgainstRouteUsingRedirect(Me,re,Ne,rt,Dt,Nt){return"**"===rt.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(Me,Ne,rt,Nt):this.expandRegularSegmentAgainstRouteUsingRedirect(Me,re,Ne,rt,Dt,Nt)}expandWildCardWithParamsAgainstRouteUsingRedirect(Me,re,Ne,rt){const Dt=this.applyRedirectCommands([],Ne.redirectTo,{});return Ne.redirectTo.startsWith("/")?$s(Dt):this.lineralizeSegments(Ne,Dt).pipe((0,ue.z)(Nt=>{const di=new lt(Nt,{});return this.expandSegment(Me,di,re,Nt,rt,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(Me,re,Ne,rt,Dt,Nt){const{matched:di,consumedSegments:Ai,remainingSegments:on,positionalParamSegments:Qi}=Qa(re,rt,Dt);if(!di)return Qo(re);const Jn=this.applyRedirectCommands(Ai,rt.redirectTo,Qi);return rt.redirectTo.startsWith("/")?$s(Jn):this.lineralizeSegments(rt,Jn).pipe((0,ue.z)(Aa=>this.expandSegment(Me,re,Ne,Aa.concat(on),Nt,!1)))}matchSegmentAgainstRoute(Me,re,Ne,rt,Dt){return"**"===Ne.path?(Me=gr(Ne,Me),Ne.loadChildren?(Ne._loadedRoutes?(0,b.of)({routes:Ne._loadedRoutes,injector:Ne._loadedInjector}):this.configLoader.loadChildren(Me,Ne)).pipe((0,U.U)(di=>(Ne._loadedRoutes=di.routes,Ne._loadedInjector=di.injector,new lt(rt,{})))):(0,b.of)(new lt(rt,{}))):Ii(re,Ne,rt,Me).pipe((0,Y.w)(({matched:Nt,consumedSegments:di,remainingSegments:Ai})=>Nt?this.getChildConfig(Me=Ne._injector??Me,Ne,rt).pipe((0,ue.z)(Qi=>{const Jn=Qi.injector??Me,Aa=Qi.routes,{segmentGroup:za,slicedSegments:Da}=go(re,di,Ai,Aa),ds=new lt(za.segments,za.children);if(0===Da.length&&ds.hasChildren())return this.expandChildren(Jn,Aa,ds).pipe((0,U.U)(Ll=>new lt(di,Ll)));if(0===Aa.length&&0===Da.length)return(0,b.of)(new lt(di,{}));const ao=Qn(Ne)===Dt;return this.expandSegment(Jn,ds,Aa,Da,ao?X:Dt,!0).pipe((0,U.U)(hs=>new lt(di.concat(hs.segments),hs.children)))})):Qo(re)))}getChildConfig(Me,re,Ne){return re.children?(0,b.of)({routes:re.children,injector:Me}):re.loadChildren?void 0!==re._loadedRoutes?(0,b.of)({routes:re._loadedRoutes,injector:re._loadedInjector}):function Ss(pe,Me,re,Ne){const rt=Me.canLoad;if(void 0===rt||0===rt.length)return(0,b.of)(!0);const Dt=rt.map(Nt=>{const di=ni(Nt,pe);return de(function ar(pe){return pe&&Yi(pe.canLoad)}(di)?di.canLoad(Me,re):pe.runInContext(()=>di(Me,re)))});return(0,b.of)(Dt).pipe(Ln(),rs())}(Me,re,Ne).pipe((0,ue.z)(rt=>rt?this.configLoader.loadChildren(Me,re).pipe((0,le.b)(Dt=>{re._loadedRoutes=Dt.routes,re._loadedInjector=Dt.injector})):function Ts(pe){return(0,S._)(ho(Eo,3))}())):(0,b.of)({routes:[],injector:Me})}lineralizeSegments(Me,re){let Ne=[],rt=re.root;for(;;){if(Ne=Ne.concat(rt.segments),0===rt.numberOfChildren)return(0,b.of)(Ne);if(rt.numberOfChildren>1||!rt.children[X])return(0,S._)(new t.vHH(4e3,Eo));rt=rt.children[X]}}applyRedirectCommands(Me,re,Ne){return this.applyRedirectCreateUrlTree(re,this.urlSerializer.parse(re),Me,Ne)}applyRedirectCreateUrlTree(Me,re,Ne,rt){const Dt=this.createSegmentGroup(Me,re.root,Ne,rt);return new _t(Dt,this.createQueryParams(re.queryParams,this.urlTree.queryParams),re.fragment)}createQueryParams(Me,re){const Ne={};return Ae(Me,(rt,Dt)=>{if("string"==typeof rt&&rt.startsWith(":")){const di=rt.substring(1);Ne[Dt]=re[di]}else Ne[Dt]=rt}),Ne}createSegmentGroup(Me,re,Ne,rt){const Dt=this.createSegments(Me,re.segments,Ne,rt);let Nt={};return Ae(re.children,(di,Ai)=>{Nt[Ai]=this.createSegmentGroup(Me,di,Ne,rt)}),new lt(Dt,Nt)}createSegments(Me,re,Ne,rt){return re.map(Dt=>Dt.path.startsWith(":")?this.findPosParam(Me,Dt,rt):this.findOrReturn(Dt,Ne))}findPosParam(Me,re,Ne){const rt=Ne[re.path.substring(1)];if(!rt)throw new t.vHH(4001,Eo);return rt}findOrReturn(Me,re){let Ne=0;for(const rt of re){if(rt.path===Me.path)return re.splice(Ne),rt;Ne++}return Me}}class an{}class ua{constructor(Me,re,Ne,rt,Dt,Nt,di){this.injector=Me,this.rootComponentType=re,this.config=Ne,this.urlTree=rt,this.url=Dt,this.paramsInheritanceStrategy=Nt,this.urlSerializer=di}recognize(){const Me=go(this.urlTree.root,[],[],this.config.filter(re=>void 0===re.redirectTo)).segmentGroup;return this.processSegmentGroup(this.injector,this.config,Me,X).pipe((0,U.U)(re=>{if(null===re)return null;const Ne=new Kr([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},X,this.rootComponentType,null,this.urlTree.root,-1,{}),rt=new zn(Ne,re),Dt=new Er(this.url,rt);return this.inheritParamsAndData(Dt._root),Dt}))}inheritParamsAndData(Me){const re=Me.value,Ne=Ga(re,this.paramsInheritanceStrategy);re.params=Object.freeze(Ne.params),re.data=Object.freeze(Ne.data),Me.children.forEach(rt=>this.inheritParamsAndData(rt))}processSegmentGroup(Me,re,Ne,rt){return 0===Ne.segments.length&&Ne.hasChildren()?this.processChildren(Me,re,Ne):this.processSegment(Me,re,Ne,Ne.segments,rt)}processChildren(Me,re,Ne){return(0,e.D)(Object.keys(Ne.children)).pipe((0,ne.b)(rt=>{const Dt=Ne.children[rt],Nt=Yn(re,rt);return this.processSegmentGroup(Me,Nt,Dt,rt)}),(0,me.R)((rt,Dt)=>rt&&Dt?(rt.push(...Dt),rt):null),(0,D.o)(rt=>null!==rt),(0,l.d)(null),T(),(0,U.U)(rt=>{if(null===rt)return null;const Dt=Gn(rt);return function Ds(pe){pe.sort((Me,re)=>Me.value.outlet===X?-1:re.value.outlet===X?1:Me.value.outlet.localeCompare(re.value.outlet))}(Dt),Dt}))}processSegment(Me,re,Ne,rt,Dt){return(0,e.D)(re).pipe((0,ne.b)(Nt=>this.processSegmentAgainstRoute(Nt._injector??Me,Nt,Ne,rt,Dt)),(0,he.P)(Nt=>!!Nt),(0,ee.K)(Nt=>{if(ha(Nt))return So(Ne,rt,Dt)?(0,b.of)([]):(0,b.of)(null);throw Nt}))}processSegmentAgainstRoute(Me,re,Ne,rt,Dt){if(re.redirectTo||!os(re,Ne,rt,Dt))return(0,b.of)(null);let Nt;if("**"===re.path){const di=rt.length>0?oe(rt).parameters:{},Ai=Sa(Ne)+rt.length,on=new Kr(rt,di,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ie(re),Qn(re),re.component??re._loadedComponent??null,re,ya(Ne),Ai,vt(re));Nt=(0,b.of)({snapshot:on,consumedSegments:[],remainingSegments:[]})}else Nt=Ii(Ne,re,rt,Me).pipe((0,U.U)(({matched:di,consumedSegments:Ai,remainingSegments:on,parameters:Qi})=>{if(!di)return null;const Jn=Sa(Ne)+Ai.length;return{snapshot:new Kr(Ai,Qi,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,Ie(re),Qn(re),re.component??re._loadedComponent??null,re,ya(Ne),Jn,vt(re)),consumedSegments:Ai,remainingSegments:on}}));return Nt.pipe((0,Y.w)(di=>{if(null===di)return(0,b.of)(null);const{snapshot:Ai,consumedSegments:on,remainingSegments:Qi}=di;Me=re._injector??Me;const Jn=re._loadedInjector??Me,Aa=function Gc(pe){return pe.children?pe.children:pe.loadChildren?pe._loadedRoutes:[]}(re),{segmentGroup:za,slicedSegments:Da}=go(Ne,on,Qi,Aa.filter(ao=>void 0===ao.redirectTo));if(0===Da.length&&za.hasChildren())return this.processChildren(Jn,Aa,za).pipe((0,U.U)(ao=>null===ao?null:[new zn(Ai,ao)]));if(0===Aa.length&&0===Da.length)return(0,b.of)([new zn(Ai,[])]);const ds=Qn(re)===Dt;return this.processSegment(Jn,Aa,za,Da,ds?X:Dt).pipe((0,U.U)(ao=>null===ao?null:[new zn(Ai,ao)]))}))}}function yc(pe){const Me=pe.value.routeConfig;return Me&&""===Me.path&&void 0===Me.redirectTo}function Gn(pe){const Me=[],re=new Set;for(const Ne of pe){if(!yc(Ne)){Me.push(Ne);continue}const rt=Me.find(Dt=>Ne.value.routeConfig===Dt.value.routeConfig);void 0!==rt?(rt.children.push(...Ne.children),re.add(rt)):Me.push(Ne)}for(const Ne of re){const rt=Gn(Ne.children);Me.push(new zn(Ne.value,rt))}return Me.filter(Ne=>!re.has(Ne))}function ya(pe){let Me=pe;for(;Me._sourceSegment;)Me=Me._sourceSegment;return Me}function Sa(pe){let Me=pe,re=Me._segmentIndexShift??0;for(;Me._sourceSegment;)Me=Me._sourceSegment,re+=Me._segmentIndexShift??0;return re-1}function Ie(pe){return pe.data||{}}function vt(pe){return pe.resolve||{}}function ri(pe){return"string"==typeof pe.title||null===pe.title}function Jt(pe){return(0,Y.w)(Me=>{const re=pe(Me);return re?(0,e.D)(re).pipe((0,U.U)(()=>Me)):(0,b.of)(Me)})}const Fi=new t.OlP("ROUTES");let Zi=(()=>{class pe{constructor(re,Ne){this.injector=re,this.compiler=Ne,this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap}loadComponent(re){if(this.componentLoaders.get(re))return this.componentLoaders.get(re);if(re._loadedComponent)return(0,b.of)(re._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(re);const Ne=de(re.loadComponent()).pipe((0,U.U)(xn),(0,le.b)(Dt=>{this.onLoadEndListener&&this.onLoadEndListener(re),re._loadedComponent=Dt}),(0,n.x)(()=>{this.componentLoaders.delete(re)})),rt=new E.c(Ne,()=>new R.x).pipe((0,v.x)());return this.componentLoaders.set(re,rt),rt}loadChildren(re,Ne){if(this.childrenLoaders.get(Ne))return this.childrenLoaders.get(Ne);if(Ne._loadedRoutes)return(0,b.of)({routes:Ne._loadedRoutes,injector:Ne._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Ne);const Dt=this.loadModuleFactoryOrRoutes(Ne.loadChildren).pipe((0,U.U)(di=>{this.onLoadEndListener&&this.onLoadEndListener(Ne);let Ai,on,Qi=!1;Array.isArray(di)?on=di:(Ai=di.create(re).injector,on=ve(Ai.get(Fi,[],t.XFs.Self|t.XFs.Optional)));return{routes:on.map(Or),injector:Ai}}),(0,n.x)(()=>{this.childrenLoaders.delete(Ne)})),Nt=new E.c(Dt,()=>new R.x).pipe((0,v.x)());return this.childrenLoaders.set(Ne,Nt),Nt}loadModuleFactoryOrRoutes(re){return de(re()).pipe((0,U.U)(xn),(0,ue.z)(rt=>rt instanceof t.YKP||Array.isArray(rt)?(0,b.of)(rt):(0,e.D)(this.compiler.compileModuleAsync(rt))))}}return pe.\u0275fac=function(re){return new(re||pe)(t.LFG(t.zs3),t.LFG(t.Sil))},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();function xn(pe){return function tn(pe){return pe&&"object"==typeof pe&&"default"in pe}(pe)?pe.default:pe}let fa=(()=>{class pe{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.lastSuccessfulNavigation=null,this.events=new R.x,this.configLoader=(0,t.f3M)(Zi),this.environmentInjector=(0,t.f3M)(t.lqb),this.urlSerializer=(0,t.f3M)(W),this.rootContexts=(0,t.f3M)(ir),this.navigationId=0,this.afterPreactivation=()=>(0,b.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=rt=>this.events.next(new Mn(rt)),this.configLoader.onLoadStartListener=rt=>this.events.next(new Hi(rt))}complete(){this.transitions?.complete()}handleNavigationRequest(re){const Ne=++this.navigationId;this.transitions?.next({...this.transitions.value,...re,id:Ne})}setupNavigations(re){return this.transitions=new I.X({id:0,targetPageId:0,currentUrlTree:re.currentUrlTree,currentRawUrl:re.currentUrlTree,extractedUrl:re.urlHandlingStrategy.extract(re.currentUrlTree),urlAfterRedirects:re.urlHandlingStrategy.extract(re.currentUrlTree),rawUrl:re.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:ct,restoredState:null,currentSnapshot:re.routerState.snapshot,targetSnapshot:null,currentRouterState:re.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ie.h)(Ne=>0!==Ne.id),(0,U.U)(Ne=>({...Ne,extractedUrl:re.urlHandlingStrategy.extract(Ne.rawUrl)})),(0,Y.w)(Ne=>{let rt=!1,Dt=!1;return(0,b.of)(Ne).pipe((0,le.b)(Nt=>{this.currentNavigation={id:Nt.id,initialUrl:Nt.rawUrl,extractedUrl:Nt.extractedUrl,trigger:Nt.source,extras:Nt.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,Y.w)(Nt=>{const di=re.browserUrlTree.toString(),Ai=!re.navigated||Nt.extractedUrl.toString()!==di||di!==re.currentUrlTree.toString();if(!Ai&&"reload"!==(Nt.extras.onSameUrlNavigation??re.onSameUrlNavigation)){const Qi="";return this.events.next(new Rn(Nt.id,re.serializeUrl(Ne.rawUrl),Qi,0)),re.rawUrlTree=Nt.rawUrl,Nt.resolve(null),O.E}if(re.urlHandlingStrategy.shouldProcessUrl(Nt.rawUrl))return ma(Nt.source)&&(re.browserUrlTree=Nt.extractedUrl),(0,b.of)(Nt).pipe((0,Y.w)(Qi=>{const Jn=this.transitions?.getValue();return this.events.next(new ii(Qi.id,this.urlSerializer.serialize(Qi.extractedUrl),Qi.source,Qi.restoredState)),Jn!==this.transitions?.getValue()?O.E:Promise.resolve(Qi)}),function to(pe,Me,re,Ne){return(0,Y.w)(rt=>function As(pe,Me,re,Ne,rt){return new Ra(pe,Me,re,Ne,rt).apply()}(pe,Me,re,rt.extractedUrl,Ne).pipe((0,U.U)(Dt=>({...rt,urlAfterRedirects:Dt}))))}(this.environmentInjector,this.configLoader,this.urlSerializer,re.config),(0,le.b)(Qi=>{this.currentNavigation={...this.currentNavigation,finalUrl:Qi.urlAfterRedirects},Ne.urlAfterRedirects=Qi.urlAfterRedirects}),function j(pe,Me,re,Ne,rt){return(0,ue.z)(Dt=>function qa(pe,Me,re,Ne,rt,Dt,Nt="emptyOnly"){return new ua(pe,Me,re,Ne,rt,Nt,Dt).recognize().pipe((0,Y.w)(di=>null===di?function Oa(pe){return new w.y(Me=>Me.error(pe))}(new an):(0,b.of)(di)))}(pe,Me,re,Dt.urlAfterRedirects,Ne.serialize(Dt.urlAfterRedirects),Ne,rt).pipe((0,U.U)(Nt=>({...Dt,targetSnapshot:Nt}))))}(this.environmentInjector,this.rootComponentType,re.config,this.urlSerializer,re.paramsInheritanceStrategy),(0,le.b)(Qi=>{if(Ne.targetSnapshot=Qi.targetSnapshot,"eager"===re.urlUpdateStrategy){if(!Qi.extras.skipLocationChange){const Aa=re.urlHandlingStrategy.merge(Qi.urlAfterRedirects,Qi.rawUrl);re.setBrowserUrl(Aa,Qi)}re.browserUrlTree=Qi.urlAfterRedirects}const Jn=new hn(Qi.id,this.urlSerializer.serialize(Qi.extractedUrl),this.urlSerializer.serialize(Qi.urlAfterRedirects),Qi.targetSnapshot);this.events.next(Jn)}));if(Ai&&re.urlHandlingStrategy.shouldProcessUrl(re.rawUrlTree)){const{id:Qi,extractedUrl:Jn,source:Aa,restoredState:za,extras:Da}=Nt,ds=new ii(Qi,this.urlSerializer.serialize(Jn),Aa,za);this.events.next(ds);const ao=Sr(Jn,this.rootComponentType).snapshot;return Ne={...Nt,targetSnapshot:ao,urlAfterRedirects:Jn,extras:{...Da,skipLocationChange:!1,replaceUrl:!1}},(0,b.of)(Ne)}{const Qi="";return this.events.next(new Rn(Nt.id,re.serializeUrl(Ne.extractedUrl),Qi,1)),re.rawUrlTree=Nt.rawUrl,Nt.resolve(null),O.E}}),(0,le.b)(Nt=>{const di=new Ua(Nt.id,this.urlSerializer.serialize(Nt.extractedUrl),this.urlSerializer.serialize(Nt.urlAfterRedirects),Nt.targetSnapshot);this.events.next(di)}),(0,U.U)(Nt=>Ne={...Nt,guards:oi(Nt.targetSnapshot,Nt.currentSnapshot,this.rootContexts)}),function Ro(pe,Me){return(0,ue.z)(re=>{const{targetSnapshot:Ne,currentSnapshot:rt,guards:{canActivateChecks:Dt,canDeactivateChecks:Nt}}=re;return 0===Nt.length&&0===Dt.length?(0,b.of)({...re,guardsResult:!0}):function Js(pe,Me,re,Ne){return(0,e.D)(pe).pipe((0,ue.z)(rt=>function Ko(pe,Me,re,Ne,rt){const Dt=Me&&Me.routeConfig?Me.routeConfig.canDeactivate:null;if(!Dt||0===Dt.length)return(0,b.of)(!0);const Nt=Dt.map(di=>{const Ai=_r(Me)??rt,on=ni(di,Ai);return de(function We(pe){return pe&&Yi(pe.canDeactivate)}(on)?on.canDeactivate(pe,Me,re,Ne):Ai.runInContext(()=>on(pe,Me,re,Ne))).pipe((0,he.P)())});return(0,b.of)(Nt).pipe(Ln())}(rt.component,rt.route,re,Me,Ne)),(0,he.P)(rt=>!0!==rt,!0))}(Nt,Ne,rt,pe).pipe((0,ue.z)(di=>di&&function bn(pe){return"boolean"==typeof pe}(di)?function Ha(pe,Me,re,Ne){return(0,e.D)(Me).pipe((0,ne.b)(rt=>(0,h.z)(function eo(pe,Me){return null!==pe&&Me&&Me(new Qt(pe)),(0,b.of)(!0)}(rt.route.parent,Ne),function Yo(pe,Me){return null!==pe&&Me&&Me(new hi(pe)),(0,b.of)(!0)}(rt.route,Ne),function jo(pe,Me,re){const Ne=Me[Me.length-1],Dt=Me.slice(0,Me.length-1).reverse().map(Nt=>function Mt(pe){const Me=pe.routeConfig?pe.routeConfig.canActivateChild:null;return Me&&0!==Me.length?{node:pe,guards:Me}:null}(Nt)).filter(Nt=>null!==Nt).map(Nt=>(0,P.P)(()=>{const di=Nt.guards.map(Ai=>{const on=_r(Nt.node)??re,Qi=ni(Ai,on);return de(function et(pe){return pe&&Yi(pe.canActivateChild)}(Qi)?Qi.canActivateChild(Ne,pe):on.runInContext(()=>Qi(Ne,pe))).pipe((0,he.P)())});return(0,b.of)(di).pipe(Ln())}));return(0,b.of)(Dt).pipe(Ln())}(pe,rt.path,re),function vr(pe,Me,re){const Ne=Me.routeConfig?Me.routeConfig.canActivate:null;if(!Ne||0===Ne.length)return(0,b.of)(!0);const rt=Ne.map(Dt=>(0,P.P)(()=>{const Nt=_r(Me)??re,di=ni(Dt,Nt);return de(function st(pe){return pe&&Yi(pe.canActivate)}(di)?di.canActivate(Me,pe):Nt.runInContext(()=>di(Me,pe))).pipe((0,he.P)())}));return(0,b.of)(rt).pipe(Ln())}(pe,rt.route,re))),(0,he.P)(rt=>!0!==rt,!0))}(Ne,Dt,pe,Me):(0,b.of)(di)),(0,U.U)(di=>({...re,guardsResult:di})))})}(this.environmentInjector,Nt=>this.events.next(Nt)),(0,le.b)(Nt=>{if(Ne.guardsResult=Nt.guardsResult,Pe(Nt.guardsResult))throw Gr(0,Nt.guardsResult);const di=new ga(Nt.id,this.urlSerializer.serialize(Nt.extractedUrl),this.urlSerializer.serialize(Nt.urlAfterRedirects),Nt.targetSnapshot,!!Nt.guardsResult);this.events.next(di)}),(0,ie.h)(Nt=>!!Nt.guardsResult||(re.restoreHistory(Nt),this.cancelNavigationTransition(Nt,"",3),!1)),Jt(Nt=>{if(Nt.guards.canActivateChecks.length)return(0,b.of)(Nt).pipe((0,le.b)(di=>{const Ai=new ka(di.id,this.urlSerializer.serialize(di.extractedUrl),this.urlSerializer.serialize(di.urlAfterRedirects),di.targetSnapshot);this.events.next(Ai)}),(0,Y.w)(di=>{let Ai=!1;return(0,b.of)(di).pipe(function Se(pe,Me){return(0,ue.z)(re=>{const{targetSnapshot:Ne,guards:{canActivateChecks:rt}}=re;if(!rt.length)return(0,b.of)(re);let Dt=0;return(0,e.D)(rt).pipe((0,ne.b)(Nt=>function Be(pe,Me,re,Ne){const rt=pe.routeConfig,Dt=pe._resolve;return void 0!==rt?.title&&!ri(rt)&&(Dt[De]=rt.title),function Ct(pe,Me,re,Ne){const rt=function Re(pe){return[...Object.keys(pe),...Object.getOwnPropertySymbols(pe)]}(pe);if(0===rt.length)return(0,b.of)({});const Dt={};return(0,e.D)(rt).pipe((0,ue.z)(Nt=>function Zt(pe,Me,re,Ne){const rt=_r(Me)??Ne,Dt=ni(pe,rt);return de(Dt.resolve?Dt.resolve(Me,re):rt.runInContext(()=>Dt(Me,re)))}(pe[Nt],Me,re,Ne).pipe((0,he.P)(),(0,le.b)(di=>{Dt[Nt]=di}))),a(1),(0,m.h)(Dt),(0,ee.K)(Nt=>ha(Nt)?O.E:(0,S._)(Nt)))}(Dt,pe,Me,Ne).pipe((0,U.U)(Nt=>(pe._resolvedData=Nt,pe.data=Ga(pe,re).resolve,rt&&ri(rt)&&(pe.data[De]=rt.title),null)))}(Nt.route,Ne,pe,Me)),(0,le.b)(()=>Dt++),a(1),(0,ue.z)(Nt=>Dt===rt.length?(0,b.of)(re):O.E))})}(re.paramsInheritanceStrategy,this.environmentInjector),(0,le.b)({next:()=>Ai=!0,complete:()=>{Ai||(re.restoreHistory(di),this.cancelNavigationTransition(di,"",2))}}))}),(0,le.b)(di=>{const Ai=new Di(di.id,this.urlSerializer.serialize(di.extractedUrl),this.urlSerializer.serialize(di.urlAfterRedirects),di.targetSnapshot);this.events.next(Ai)}))}),Jt(Nt=>{const di=Ai=>{const on=[];Ai.routeConfig?.loadComponent&&!Ai.routeConfig._loadedComponent&&on.push(this.configLoader.loadComponent(Ai.routeConfig).pipe((0,le.b)(Qi=>{Ai.component=Qi}),(0,U.U)(()=>{})));for(const Qi of Ai.children)on.push(...di(Qi));return on};return(0,C.a)(di(Nt.targetSnapshot.root)).pipe((0,l.d)(),(0,K.q)(1))}),Jt(()=>this.afterPreactivation()),(0,U.U)(Nt=>{const di=function Za(pe,Me,re){const Ne=qr(pe,Me._root,re?re._root:void 0);return new Lr(Ne,Me)}(re.routeReuseStrategy,Nt.targetSnapshot,Nt.currentRouterState);return Ne={...Nt,targetRouterState:di}}),(0,le.b)(Nt=>{re.currentUrlTree=Nt.urlAfterRedirects,re.rawUrlTree=re.urlHandlingStrategy.merge(Nt.urlAfterRedirects,Nt.rawUrl),re.routerState=Nt.targetRouterState,"deferred"===re.urlUpdateStrategy&&(Nt.extras.skipLocationChange||re.setBrowserUrl(re.rawUrlTree,Nt),re.browserUrlTree=Nt.urlAfterRedirects)}),((pe,Me,re)=>(0,U.U)(Ne=>(new ca(Me,Ne.targetRouterState,Ne.currentRouterState,re).activate(pe),Ne)))(this.rootContexts,re.routeReuseStrategy,Nt=>this.events.next(Nt)),(0,le.b)({next:Nt=>{rt=!0,this.lastSuccessfulNavigation=this.currentNavigation,re.navigated=!0,this.events.next(new Oi(Nt.id,this.urlSerializer.serialize(Nt.extractedUrl),this.urlSerializer.serialize(re.currentUrlTree))),re.titleStrategy?.updateTitle(Nt.targetRouterState.snapshot),Nt.resolve(!0)},complete:()=>{rt=!0}}),(0,n.x)(()=>{rt||Dt||this.cancelNavigationTransition(Ne,"",1),this.currentNavigation?.id===Ne.id&&(this.currentNavigation=null)}),(0,ee.K)(Nt=>{if(Dt=!0,uo(Nt)){Zr(Nt)||(re.navigated=!0,re.restoreHistory(Ne,!0));const di=new Xi(Ne.id,this.urlSerializer.serialize(Ne.extractedUrl),Nt.message,Nt.cancellationCode);if(this.events.next(di),Zr(Nt)){const Ai=re.urlHandlingStrategy.merge(Nt.url,re.rawUrlTree),on={skipLocationChange:Ne.extras.skipLocationChange,replaceUrl:"eager"===re.urlUpdateStrategy||ma(Ne.source)};re.scheduleNavigation(Ai,ct,null,on,{resolve:Ne.resolve,reject:Ne.reject,promise:Ne.promise})}else Ne.resolve(!1)}else{re.restoreHistory(Ne,!0);const di=new pa(Ne.id,this.urlSerializer.serialize(Ne.extractedUrl),Nt,Ne.targetSnapshot??void 0);this.events.next(di);try{Ne.resolve(re.errorHandler(Nt))}catch(Ai){Ne.reject(Ai)}}return O.E}))}))}cancelNavigationTransition(re,Ne,rt){const Dt=new Xi(re.id,this.urlSerializer.serialize(re.extractedUrl),Ne,rt);this.events.next(Dt),re.resolve(!1)}}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();function ma(pe){return pe!==ct}let Ea=(()=>{class pe{buildTitle(re){let Ne,rt=re.root;for(;void 0!==rt;)Ne=this.getResolvedTitleForRoute(rt)??Ne,rt=rt.children.find(Dt=>Dt.outlet===X);return Ne}getResolvedTitleForRoute(re){return re.data[De]}}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:function(){return(0,t.f3M)(xa)},providedIn:"root"}),pe})(),xa=(()=>{class pe extends Ea{constructor(re){super(),this.title=re}updateTitle(re){const Ne=this.buildTitle(re);void 0!==Ne&&this.title.setTitle(Ne)}}return pe.\u0275fac=function(re){return new(re||pe)(t.LFG(V.Dx))},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})(),Ca=(()=>{class pe{}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:function(){return(0,t.f3M)(Ta)},providedIn:"root"}),pe})();class yr{shouldDetach(Me){return!1}store(Me,re){}shouldAttach(Me){return!1}retrieve(Me){return null}shouldReuseRoute(Me,re){return Me.routeConfig===re.routeConfig}}let Ta=(()=>{class pe extends yr{}return pe.\u0275fac=function(){let Me;return function(Ne){return(Me||(Me=t.n5z(pe)))(Ne||pe)}}(),pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();const Wa=new t.OlP("",{providedIn:"root",factory:()=>({})});let no=(()=>{class pe{}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:function(){return(0,t.f3M)(_o)},providedIn:"root"}),pe})(),_o=(()=>{class pe{shouldProcessUrl(re){return!0}extract(re){return re}merge(re,Ne){return re}}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();function Ho(pe){throw pe}function e1(pe,Me,re){return Me.parse("/")}const Wc={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},Sl={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Pr=(()=>{class pe{get navigationId(){return this.navigationTransitions.navigationId}get browserPageId(){return this.location.getState()?.\u0275routerPageId}get events(){return this.navigationTransitions.events}constructor(){this.disposed=!1,this.currentPageId=0,this.console=(0,t.f3M)(t.c2e),this.isNgZoneEnabled=!1,this.options=(0,t.f3M)(Wa,{optional:!0})||{},this.errorHandler=this.options.errorHandler||Ho,this.malformedUriErrorHandler=this.options.malformedUriErrorHandler||e1,this.navigated=!1,this.lastSuccessfulId=-1,this.urlHandlingStrategy=(0,t.f3M)(no),this.routeReuseStrategy=(0,t.f3M)(Ca),this.urlCreationStrategy=(0,t.f3M)(_a),this.titleStrategy=(0,t.f3M)(Ea),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=ve((0,t.f3M)(Fi,{optional:!0})??[]),this.navigationTransitions=(0,t.f3M)(fa),this.urlSerializer=(0,t.f3M)(W),this.location=(0,t.f3M)(z.Ye),this.isNgZoneEnabled=(0,t.f3M)(t.R0b)instanceof t.R0b&&t.R0b.isInAngularZone(),this.resetConfig(this.config),this.currentUrlTree=new _t,this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.routerState=Sr(this.currentUrlTree,null),this.navigationTransitions.setupNavigations(this).subscribe(re=>{this.lastSuccessfulId=re.id,this.currentPageId=re.targetPageId},re=>{this.console.warn(`Unhandled Navigation Error: ${re}`)})}resetRootComponentType(re){this.routerState.root.component=re,this.navigationTransitions.rootComponentType=re}initialNavigation(){if(this.setUpLocationChangeListener(),!this.navigationTransitions.hasRequestedNavigation){const re=this.location.getState();this.navigateToSyncWithBrowser(this.location.path(!0),ct,re)}}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(re=>{const Ne="popstate"===re.type?"popstate":"hashchange";"popstate"===Ne&&setTimeout(()=>{this.navigateToSyncWithBrowser(re.url,Ne,re.state)},0)}))}navigateToSyncWithBrowser(re,Ne,rt){const Dt={replaceUrl:!0},Nt=rt?.navigationId?rt:null;if(rt){const Ai={...rt};delete Ai.navigationId,delete Ai.\u0275routerPageId,0!==Object.keys(Ai).length&&(Dt.state=Ai)}const di=this.parseUrl(re);this.scheduleNavigation(di,Ne,Nt,Dt)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}resetConfig(re){this.config=re.map(Or),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(re,Ne={}){const{relativeTo:rt,queryParams:Dt,fragment:Nt,queryParamsHandling:di,preserveFragment:Ai}=Ne,on=Ai?this.currentUrlTree.fragment:Nt;let Qi=null;switch(di){case"merge":Qi={...this.currentUrlTree.queryParams,...Dt};break;case"preserve":Qi=this.currentUrlTree.queryParams;break;default:Qi=Dt||null}return null!==Qi&&(Qi=this.removeEmptyProps(Qi)),this.urlCreationStrategy.createUrlTree(rt,this.routerState,this.currentUrlTree,re,Qi,on??null)}navigateByUrl(re,Ne={skipLocationChange:!1}){const rt=Pe(re)?re:this.parseUrl(re),Dt=this.urlHandlingStrategy.merge(rt,this.rawUrlTree);return this.scheduleNavigation(Dt,ct,null,Ne)}navigate(re,Ne={skipLocationChange:!1}){return function Yc(pe){for(let Me=0;Me<pe.length;Me++){if(null==pe[Me])throw new t.vHH(4008,!1)}}(re),this.navigateByUrl(this.createUrlTree(re,Ne),Ne)}serializeUrl(re){return this.urlSerializer.serialize(re)}parseUrl(re){let Ne;try{Ne=this.urlSerializer.parse(re)}catch(rt){Ne=this.malformedUriErrorHandler(rt,this.urlSerializer,re)}return Ne}isActive(re,Ne){let rt;if(rt=!0===Ne?{...Wc}:!1===Ne?{...Sl}:Ne,Pe(re))return Ge(this.currentUrlTree,re,rt);const Dt=this.parseUrl(re);return Ge(this.currentUrlTree,Dt,rt)}removeEmptyProps(re){return Object.keys(re).reduce((Ne,rt)=>{const Dt=re[rt];return null!=Dt&&(Ne[rt]=Dt),Ne},{})}scheduleNavigation(re,Ne,rt,Dt,Nt){if(this.disposed)return Promise.resolve(!1);let di,Ai,on,Qi;return Nt?(di=Nt.resolve,Ai=Nt.reject,on=Nt.promise):on=new Promise((Jn,Aa)=>{di=Jn,Ai=Aa}),Qi="computed"===this.canceledNavigationResolution?rt&&rt.\u0275routerPageId?rt.\u0275routerPageId:Dt.replaceUrl||Dt.skipLocationChange?this.browserPageId??0:(this.browserPageId??0)+1:0,this.navigationTransitions.handleNavigationRequest({targetPageId:Qi,source:Ne,restoredState:rt,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:re,extras:Dt,resolve:di,reject:Ai,promise:on,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),on.catch(Jn=>Promise.reject(Jn))}setBrowserUrl(re,Ne){const rt=this.urlSerializer.serialize(re),Dt={...Ne.extras.state,...this.generateNgRouterState(Ne.id,Ne.targetPageId)};this.location.isCurrentPathEqualTo(rt)||Ne.extras.replaceUrl?this.location.replaceState(rt,"",Dt):this.location.go(rt,"",Dt)}restoreHistory(re,Ne=!1){if("computed"===this.canceledNavigationResolution){const rt=this.currentPageId-re.targetPageId;"popstate"!==re.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==this.getCurrentNavigation()?.finalUrl||0===rt?this.currentUrlTree===this.getCurrentNavigation()?.finalUrl&&0===rt&&(this.resetState(re),this.browserUrlTree=re.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(rt)}else"replace"===this.canceledNavigationResolution&&(Ne&&this.resetState(re),this.resetUrlToCurrentUrlTree())}resetState(re){this.routerState=re.currentRouterState,this.currentUrlTree=re.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,re.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(re,Ne){return"computed"===this.canceledNavigationResolution?{navigationId:re,\u0275routerPageId:Ne}:{navigationId:re}}}return pe.\u0275fac=function(re){return new(re||pe)},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})(),tc=(()=>{class pe{constructor(re,Ne,rt,Dt,Nt,di){this.router=re,this.route=Ne,this.tabIndexAttribute=rt,this.renderer=Dt,this.el=Nt,this.locationStrategy=di,this._preserveFragment=!1,this._skipLocationChange=!1,this._replaceUrl=!1,this.href=null,this.commands=null,this.onChanges=new R.x;const Ai=Nt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===Ai||"area"===Ai,this.isAnchorElement?this.subscription=re.events.subscribe(on=>{on instanceof Oi&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}set preserveFragment(re){this._preserveFragment=(0,t.D6c)(re)}get preserveFragment(){return this._preserveFragment}set skipLocationChange(re){this._skipLocationChange=(0,t.D6c)(re)}get skipLocationChange(){return this._skipLocationChange}set replaceUrl(re){this._replaceUrl=(0,t.D6c)(re)}get replaceUrl(){return this._replaceUrl}setTabIndexIfNotOnNativeEl(re){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",re)}ngOnChanges(re){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(re){null!=re?(this.commands=Array.isArray(re)?re:[re],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(re,Ne,rt,Dt,Nt){return!!(null===this.urlTree||this.isAnchorElement&&(0!==re||Ne||rt||Dt||Nt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const re=null===this.href?null:(0,t.P3R)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",re)}applyAttributeValue(re,Ne){const rt=this.renderer,Dt=this.el.nativeElement;null!==Ne?rt.setAttribute(Dt,re,Ne):rt.removeAttribute(Dt,re)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}}return pe.\u0275fac=function(re){return new(re||pe)(t.Y36(Pr),t.Y36(Kn),t.$8M("tabindex"),t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(z.S$))},pe.\u0275dir=t.lG2({type:pe,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(re,Ne){1&re&&t.NdJ("click",function(Dt){return Ne.onClick(Dt.button,Dt.ctrlKey,Dt.shiftKey,Dt.altKey,Dt.metaKey)}),2&re&&t.uIk("target",Ne.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",relativeTo:"relativeTo",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",routerLink:"routerLink"},standalone:!0,features:[t.TTD]}),pe})(),jc=(()=>{class pe{get isActive(){return this._isActive}constructor(re,Ne,rt,Dt,Nt){this.router=re,this.element=Ne,this.renderer=rt,this.cdr=Dt,this.link=Nt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new t.vpe,this.routerEventsSubscription=re.events.subscribe(di=>{di instanceof Oi&&this.update()})}ngAfterContentInit(){(0,b.of)(this.links.changes,(0,b.of)(null)).pipe((0,B.J)()).subscribe(re=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const re=[...this.links.toArray(),this.link].filter(Ne=>!!Ne).map(Ne=>Ne.onChanges);this.linkInputChangesSubscription=(0,e.D)(re).pipe((0,B.J)()).subscribe(Ne=>{this._isActive!==this.isLinkActive(this.router)(Ne)&&this.update()})}set routerLinkActive(re){const Ne=Array.isArray(re)?re:re.split(" ");this.classes=Ne.filter(rt=>!!rt)}ngOnChanges(re){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||Promise.resolve().then(()=>{const re=this.hasActiveLinks();this._isActive!==re&&(this._isActive=re,this.cdr.markForCheck(),this.classes.forEach(Ne=>{re?this.renderer.addClass(this.element.nativeElement,Ne):this.renderer.removeClass(this.element.nativeElement,Ne)}),re&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(re))})}isLinkActive(re){const Ne=function t1(pe){return!!pe.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return rt=>!!rt.urlTree&&re.isActive(rt.urlTree,Ne)}hasActiveLinks(){const re=this.isLinkActive(this.router);return this.link&&re(this.link)||this.links.some(re)}}return pe.\u0275fac=function(re){return new(re||pe)(t.Y36(Pr),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(tc,8))},pe.\u0275dir=t.lG2({type:pe,selectors:[["","routerLinkActive",""]],contentQueries:function(re,Ne,rt){if(1&re&&t.Suo(rt,tc,5),2&re){let Dt;t.iGM(Dt=t.CRH())&&(Ne.links=Dt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[t.TTD]}),pe})();class El{}let n1=(()=>{class pe{constructor(re,Ne,rt,Dt,Nt){this.router=re,this.injector=rt,this.preloadingStrategy=Dt,this.loader=Nt}setUpPreloading(){this.subscription=this.router.events.pipe((0,ie.h)(re=>re instanceof Oi),(0,ne.b)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(re,Ne){const rt=[];for(const Dt of Ne){Dt.providers&&!Dt._injector&&(Dt._injector=(0,t.MMx)(Dt.providers,re,`Route: ${Dt.path}`));const Nt=Dt._injector??re,di=Dt._loadedInjector??Nt;Dt.loadChildren&&!Dt._loadedRoutes&&void 0===Dt.canLoad||Dt.loadComponent&&!Dt._loadedComponent?rt.push(this.preloadConfig(Nt,Dt)):(Dt.children||Dt._loadedRoutes)&&rt.push(this.processRoutes(di,Dt.children??Dt._loadedRoutes))}return(0,e.D)(rt).pipe((0,B.J)())}preloadConfig(re,Ne){return this.preloadingStrategy.preload(Ne,()=>{let rt;rt=Ne.loadChildren&&void 0===Ne.canLoad?this.loader.loadChildren(re,Ne):(0,b.of)(null);const Dt=rt.pipe((0,ue.z)(Nt=>null===Nt?(0,b.of)(void 0):(Ne._loadedRoutes=Nt.routes,Ne._loadedInjector=Nt.injector,this.processRoutes(Nt.injector??re,Nt.routes))));if(Ne.loadComponent&&!Ne._loadedComponent){const Nt=this.loader.loadComponent(Ne);return(0,e.D)([Dt,Nt]).pipe((0,B.J)())}return Dt})}}return pe.\u0275fac=function(re){return new(re||pe)(t.LFG(Pr),t.LFG(t.Sil),t.LFG(t.lqb),t.LFG(El),t.LFG(Zi))},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac,providedIn:"root"}),pe})();const Ls=new t.OlP("");let cs=(()=>{class pe{constructor(re,Ne,rt,Dt,Nt={}){this.urlSerializer=re,this.transitions=Ne,this.viewportScroller=rt,this.zone=Dt,this.options=Nt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Nt.scrollPositionRestoration=Nt.scrollPositionRestoration||"disabled",Nt.anchorScrolling=Nt.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(re=>{re instanceof ii?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=re.navigationTrigger,this.restoredId=re.restoredState?re.restoredState.navigationId:0):re instanceof Oi&&(this.lastId=re.id,this.scheduleScrollEvent(re,this.urlSerializer.parse(re.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(re=>{re instanceof ki&&(re.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(re.position):re.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(re.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(re,Ne){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new ki(re,"popstate"===this.lastSource?this.store[this.restoredId]:null,Ne))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}}return pe.\u0275fac=function(re){t.$Z()},pe.\u0275prov=t.Yz7({token:pe,factory:pe.\u0275fac}),pe})();function lr(pe,Me){return{\u0275kind:pe,\u0275providers:Me}}function Tl(){const pe=(0,t.f3M)(t.zs3);return Me=>{const re=pe.get(t.z2F);if(Me!==re.components[0])return;const Ne=pe.get(Pr),rt=pe.get(xc);1===pe.get(vo)&&Ne.initialNavigation(),pe.get(Kc,null,t.XFs.Optional)?.setUpPreloading(),pe.get(Ls,null,t.XFs.Optional)?.init(),Ne.resetRootComponentType(re.componentTypes[0]),rt.closed||(rt.next(),rt.unsubscribe())}}const xc=new t.OlP("",{factory:()=>new R.x}),vo=new t.OlP("",{providedIn:"root",factory:()=>1});const Kc=new t.OlP("");function Ps(pe){return lr(0,[{provide:Kc,useExisting:n1},{provide:El,useExisting:pe}])}const X1=new t.OlP("ROUTER_FORROOT_GUARD"),Qc=[z.Ye,{provide:W,useClass:Fe},Pr,ir,{provide:Kn,useFactory:function ks(pe){return pe.routerState.root},deps:[Pr]},Zi,[]];function u2(){return new t.PXZ("Router",Pr)}let $1=(()=>{class pe{constructor(re){}static forRoot(re,Ne){return{ngModule:pe,providers:[Qc,[],{provide:Fi,multi:!0,useValue:re},{provide:X1,useFactory:ic,deps:[[Pr,new t.FiY,new t.tp0]]},{provide:Wa,useValue:Ne||{}},Ne?.useHash?{provide:z.S$,useClass:z.Do}:{provide:z.S$,useClass:z.b0},{provide:Ls,useFactory:()=>{const pe=(0,t.f3M)(z.EM),Me=(0,t.f3M)(t.R0b),re=(0,t.f3M)(Wa),Ne=(0,t.f3M)(fa),rt=(0,t.f3M)(W);return re.scrollOffset&&pe.setOffset(re.scrollOffset),new cs(rt,Ne,pe,Me,re)}},Ne?.preloadingStrategy?Ps(Ne.preloadingStrategy).\u0275providers:[],{provide:t.PXZ,multi:!0,useFactory:u2},Ne?.initialNavigation?J0(Ne):[],[{provide:rr,useFactory:Tl},{provide:t.tb,multi:!0,useExisting:rr}]]}}static forChild(re){return{ngModule:pe,providers:[{provide:Fi,multi:!0,useValue:re}]}}}return pe.\u0275fac=function(re){return new(re||pe)(t.LFG(X1,8))},pe.\u0275mod=t.oAB({type:pe}),pe.\u0275inj=t.cJS({imports:[kr]}),pe})();function ic(pe){return"guarded"}function J0(pe){return["disabled"===pe.initialNavigation?lr(3,[{provide:t.ip1,multi:!0,useFactory:()=>{const Me=(0,t.f3M)(Pr);return()=>{Me.setUpLocationChangeListener()}}},{provide:vo,useValue:2}]).\u0275providers:[],"enabledBlocking"===pe.initialNavigation?lr(2,[{provide:vo,useValue:0},{provide:t.ip1,multi:!0,deps:[t.zs3],useFactory:Me=>{const re=Me.get(z.V_,Promise.resolve());return()=>re.then(()=>new Promise(rt=>{const Dt=Me.get(Pr),Nt=Me.get(xc);(function Ne(rt){Me.get(Pr).events.pipe((0,ie.h)(Nt=>Nt instanceof Oi||Nt instanceof Xi||Nt instanceof pa),(0,U.U)(Nt=>Nt instanceof Oi||Nt instanceof Xi&&(0===Nt.code||1===Nt.code)&&null),(0,ie.h)(Nt=>null!==Nt),(0,K.q)(1)).subscribe(()=>{rt()})})(()=>{rt(!0)}),Me.get(fa).afterPreactivation=()=>(rt(!0),Nt.closed?(0,b.of)(void 0):Nt),Dt.initialNavigation()}))}}]).\u0275providers:[]]}const rr=new t.OlP("")},2216:(Ue,q,p)=>{"use strict";p.d(q,{BN:()=>Gn,uH:()=>vt});var t=p(4650);function e(j,Se){var Be=Object.keys(j);if(Object.getOwnPropertySymbols){var Ct=Object.getOwnPropertySymbols(j);Se&&(Ct=Ct.filter(function(Re){return Object.getOwnPropertyDescriptor(j,Re).enumerable})),Be.push.apply(Be,Ct)}return Be}function b(j){for(var Se=1;Se<arguments.length;Se++){var Be=null!=arguments[Se]?arguments[Se]:{};Se%2?e(Object(Be),!0).forEach(function(Ct){d(j,Ct,Be[Ct])}):Object.getOwnPropertyDescriptors?Object.defineProperties(j,Object.getOwnPropertyDescriptors(Be)):e(Object(Be)).forEach(function(Ct){Object.defineProperty(j,Ct,Object.getOwnPropertyDescriptor(Be,Ct))})}return j}function I(j){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(Se){return typeof Se}:function(Se){return Se&&"function"==typeof Symbol&&Se.constructor===Symbol&&Se!==Symbol.prototype?"symbol":typeof Se})(j)}function h(j,Se){for(var Be=0;Be<Se.length;Be++){var Ct=Se[Be];Ct.enumerable=Ct.enumerable||!1,Ct.configurable=!0,"value"in Ct&&(Ct.writable=!0),Object.defineProperty(j,Ct.key,Ct)}}function d(j,Se,Be){return Se in j?Object.defineProperty(j,Se,{value:Be,enumerable:!0,configurable:!0,writable:!0}):j[Se]=Be,j}function O(j,Se){return function z(j){if(Array.isArray(j))return j}(j)||function Y(j,Se){var Be=null==j?null:typeof Symbol<"u"&&j[Symbol.iterator]||j["@@iterator"];if(null!=Be){var ri,Jt,Ct=[],Re=!0,Zt=!1;try{for(Be=Be.call(j);!(Re=(ri=Be.next()).done)&&(Ct.push(ri.value),!Se||Ct.length!==Se);Re=!0);}catch(pi){Zt=!0,Jt=pi}finally{try{!Re&&null!=Be.return&&Be.return()}finally{if(Zt)throw Jt}}return Ct}}(j,Se)||K(j,Se)||function ue(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(j){return function R(j){if(Array.isArray(j))return $(j)}(j)||function U(j){if(typeof Symbol<"u"&&null!=j[Symbol.iterator]||null!=j["@@iterator"])return Array.from(j)}(j)||K(j)||function ie(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function K(j,Se){if(j){if("string"==typeof j)return $(j,Se);var Be=Object.prototype.toString.call(j).slice(8,-1);if("Object"===Be&&j.constructor&&(Be=j.constructor.name),"Map"===Be||"Set"===Be)return Array.from(j);if("Arguments"===Be||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Be))return $(j,Se)}}function $(j,Se){(null==Se||Se>j.length)&&(Se=j.length);for(var Be=0,Ct=new Array(Se);Be<Se;Be++)Ct[Be]=j[Be];return Ct}var he=function(){},ne={},le={},ee=null,me={mark:he,measure:he};try{typeof window<"u"&&(ne=window),typeof document<"u"&&(le=document),typeof MutationObserver<"u"&&(ee=MutationObserver),typeof performance<"u"&&(me=performance)}catch{}var v,B,V,X,De,i=(ne.navigator||{}).userAgent,a=void 0===i?"":i,u=ne,l=le,y=ee,T=me,m=!!l.documentElement&&!!l.head&&"function"==typeof l.addEventListener&&"function"==typeof l.createElement,n=~a.indexOf("MSIE")||~a.indexOf("Trident/"),tt="___FONT_AWESOME___",Le="svg-inline--fa",ye="data-fa-i2svg",ce="data-fa-pseudo-element",oe="data-prefix",Ke="data-icon",Ae="fontawesome-i2svg",Ce=["HTML","HEAD","STYLE","SCRIPT"],te=function(){try{return!0}catch{return!1}}(),Ze="classic",Ge="sharp",ae=[Ze,Ge];function ge(j){return new Proxy(j,{get:function(Be,Ct){return Ct in Be?Be[Ct]:Be[Ze]}})}var pt=ge((d(v={},Ze,{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(v,Ge,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular"}),v)),$e=ge((d(B={},Ze,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),d(B,Ge,{solid:"fass",regular:"fasr"}),B)),ut=ge((d(V={},Ze,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),d(V,Ge,{fass:"fa-solid",fasr:"fa-regular"}),V)),At=ge((d(X={},Ze,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),d(X,Ge,{"fa-solid":"fass","fa-regular":"fasr"}),X)),_t=/fa(s|r|l|t|d|b|k|ss|sr)?[\-\ ]/,lt="fa-layers-text",St=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,ke=ge((d(De={},Ze,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),d(De,Ge,{900:"fass",400:"fasr"}),De)),He=[1,2,3,4,5,6,7,8,9,10],wt=He.concat([11,12,13,14,15,16,17,18,19,20]),W=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ft=new Set;Object.keys($e[Ze]).map(Ft.add.bind(Ft)),Object.keys($e[Ge]).map(Ft.add.bind(Ft));var qe=[].concat(ae,E(Ft),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul","duotone-group","swap-opacity","primary","secondary"]).concat(He.map(function(j){return"".concat(j,"x")})).concat(wt.map(function(j){return"w-".concat(j)})),Qe=u.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(j){var Se=O(j,2),Ct=Se[1],Re=function Et(j){return""===j||"false"!==j&&("true"===j||j)}(function Ht(j){var Se=l.querySelector("script["+j+"]");if(Se)return Se.getAttribute(j)}(Se[0]));null!=Re&&(Qe[Ct]=Re)});var bt={styleDefault:"solid",familyDefault:"classic",cssPrefix:"fa",replacementClass:Le,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Qe.familyPrefix&&(Qe.cssPrefix=Qe.familyPrefix);var we=b(b({},bt),Qe);we.autoReplaceSvg||(we.observeMutations=!1);var J={};Object.keys(bt).forEach(function(j){Object.defineProperty(J,j,{enumerable:!0,set:function(Be){we[j]=Be,be.forEach(function(Ct){return Ct(J)})},get:function(){return we[j]}})}),Object.defineProperty(J,"familyPrefix",{enumerable:!0,set:function(Se){we.cssPrefix=Se,be.forEach(function(Be){return Be(J)})},get:function(){return we.cssPrefix}}),u.FontAwesomeConfig=J;var be=[],ei={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function mt(){for(var j=12,Se="";j-- >0;)Se+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return Se}function nt(j){for(var Se=[],Be=(j||[]).length>>>0;Be--;)Se[Be]=j[Be];return Se}function yt(j){return j.classList?nt(j.classList):(j.getAttribute("class")||"").split(" ").filter(function(Se){return Se})}function $t(j){return"".concat(j).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function ft(j){return Object.keys(j||{}).reduce(function(Se,Be){return Se+"".concat(Be,": ").concat(j[Be].trim(),";")},"")}function Pt(j){return j.size!==ei.size||j.x!==ei.x||j.y!==ei.y||j.rotate!==ei.rotate||j.flipX||j.flipY}function ht(){var j="fa",Se=Le,Be=J.cssPrefix,Ct=J.replacementClass,Re=':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-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}';if(Be!==j||Ct!==Se){var Zt=new RegExp("\\.".concat(j,"\\-"),"g"),ri=new RegExp("\\--".concat(j,"\\-"),"g"),Jt=new RegExp("\\.".concat(Se),"g");Re=Re.replace(Zt,".".concat(Be,"-")).replace(ri,"--".concat(Be,"-")).replace(Jt,".".concat(Ct))}return Re}var Lt=!1;function ui(){J.autoAddCss&&!Lt&&(function Bt(j){if(j&&m){var Se=l.createElement("style");Se.setAttribute("type","text/css"),Se.innerHTML=j;for(var Be=l.head.childNodes,Ct=null,Re=Be.length-1;Re>-1;Re--){var Zt=Be[Re],ri=(Zt.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(ri)>-1&&(Ct=Zt)}l.head.insertBefore(Se,Ct)}}(ht()),Lt=!0)}var Ti={mixout:function(){return{dom:{css:ht,insertCss:ui}}},hooks:function(){return{beforeDOMElementCreation:function(){ui()},beforeI2svg:function(){ui()}}}},yi=u||{};yi[tt]||(yi[tt]={}),yi[tt].styles||(yi[tt].styles={}),yi[tt].hooks||(yi[tt].hooks={}),yi[tt].shims||(yi[tt].shims=[]);var Ni=yi[tt],Xe=[],xe=!1;function Rt(j){m&&(xe?setTimeout(j,0):Xe.push(j))}function jt(j){var Se=j.tag,Be=j.attributes,Ct=void 0===Be?{}:Be,Re=j.children,Zt=void 0===Re?[]:Re;return"string"==typeof j?$t(j):"<".concat(Se," ").concat(function Vt(j){return Object.keys(j||{}).reduce(function(Se,Be){return Se+"".concat(Be,'="').concat($t(j[Be]),'" ')},"").trim()}(Ct),">").concat(Zt.map(jt).join(""),"</").concat(Se,">")}function li(j,Se,Be){if(j&&j[Se]&&j[Se][Be])return{prefix:Se,iconName:Be,icon:j[Se][Be]}}m&&((xe=(l.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(l.readyState))||l.addEventListener("DOMContentLoaded",function j(){l.removeEventListener("DOMContentLoaded",j),xe=1,Xe.map(function(Se){return Se()})}));var Li=function(Se,Be,Ct,Re){var pi,Ci,Fi,Zt=Object.keys(Se),ri=Zt.length,Jt=void 0!==Re?function(Se,Be){return function(Ct,Re,Zt,ri){return Se.call(Be,Ct,Re,Zt,ri)}}(Be,Re):Be;for(void 0===Ct?(pi=1,Fi=Se[Zt[0]]):(pi=0,Fi=Ct);pi<ri;pi++)Fi=Jt(Fi,Se[Ci=Zt[pi]],Ci,Se);return Fi};function ji(j){var Se=function Gi(j){for(var Se=[],Be=0,Ct=j.length;Be<Ct;){var Re=j.charCodeAt(Be++);if(Re>=55296&&Re<=56319&&Be<Ct){var Zt=j.charCodeAt(Be++);56320==(64512&Zt)?Se.push(((1023&Re)<<10)+(1023&Zt)+65536):(Se.push(Re),Be--)}else Se.push(Re)}return Se}(j);return 1===Se.length?Se[0].toString(16):null}function Gt(j){return Object.keys(j).reduce(function(Se,Be){var Ct=j[Be];return Ct.icon?Se[Ct.iconName]=Ct.icon:Se[Be]=Ct,Se},{})}function Kt(j,Se){var Be=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},Ct=Be.skipHooks,Re=void 0!==Ct&&Ct,Zt=Gt(Se);"function"!=typeof Ni.hooks.addPack||Re?Ni.styles[j]=b(b({},Ni.styles[j]||{}),Zt):Ni.hooks.addPack(j,Gt(Se)),"fas"===j&&Kt("fa",Se)}var Oe,ct,Je,ii=Ni.styles,Oi=Ni.shims,Xi=(d(Oe={},Ze,Object.values(ut[Ze])),d(Oe,Ge,Object.values(ut[Ge])),Oe),Rn=null,pa={},hn={},Ua={},ga={},ka={},Di=(d(ct={},Ze,Object.keys(pt[Ze])),d(ct,Ge,Object.keys(pt[Ge])),ct);function Mn(j,Se){var Be=Se.split("-"),Ct=Be[0],Re=Be.slice(1).join("-");return Ct!==j||""===Re||function Hi(j){return~qe.indexOf(j)}(Re)?null:Re}var Qt=function(){var Se=function(Zt){return Li(ii,function(ri,Jt,pi){return ri[pi]=Li(Jt,Zt,{}),ri},{})};pa=Se(function(Re,Zt,ri){return Zt[3]&&(Re[Zt[3]]=ri),Zt[2]&&Zt[2].filter(function(pi){return"number"==typeof pi}).forEach(function(pi){Re[pi.toString(16)]=ri}),Re}),hn=Se(function(Re,Zt,ri){return Re[ri]=ri,Zt[2]&&Zt[2].filter(function(pi){return"string"==typeof pi}).forEach(function(pi){Re[pi]=ri}),Re}),ka=Se(function(Re,Zt,ri){var Jt=Zt[2];return Re[ri]=ri,Jt.forEach(function(pi){Re[pi]=ri}),Re});var Be="far"in ii||J.autoFetchSvg,Ct=Li(Oi,function(Re,Zt){var ri=Zt[0],Jt=Zt[1],pi=Zt[2];return"far"===Jt&&!Be&&(Jt="fas"),"string"==typeof ri&&(Re.names[ri]={prefix:Jt,iconName:pi}),"number"==typeof ri&&(Re.unicodes[ri.toString(16)]={prefix:Jt,iconName:pi}),Re},{names:{},unicodes:{}});Ua=Ct.names,ga=Ct.unicodes,Rn=Bn(J.styleDefault,{family:J.familyDefault})};function fi(j,Se){return(pa[j]||{})[Se]}function mi(j,Se){return(ka[j]||{})[Se]}function ki(j){return Ua[j]||{prefix:null,iconName:null}}function fn(){return Rn}function Bn(j){var Se=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Be=Se.family,Ct=void 0===Be?Ze:Be,Re=pt[Ct][j],Zt=$e[Ct][j]||$e[Ct][Re],ri=j in Ni.styles?j:null;return Zt||ri||null}(function Ve(j){be.push(j)})(function(j){Rn=Bn(j.styleDefault,{family:J.familyDefault})}),Qt();var _a=(d(Je={},Ze,Object.keys(ut[Ze])),d(Je,Ge,Object.keys(ut[Ge])),Je);function Dn(j){var Se,Be=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ct=Be.skipLookups,Re=void 0!==Ct&&Ct,Zt=(d(Se={},Ze,"".concat(J.cssPrefix,"-").concat(Ze)),d(Se,Ge,"".concat(J.cssPrefix,"-").concat(Ge)),Se),ri=null,Jt=Ze;(j.includes(Zt[Ze])||j.some(function(Ci){return _a[Ze].includes(Ci)}))&&(Jt=Ze),(j.includes(Zt[Ge])||j.some(function(Ci){return _a[Ge].includes(Ci)}))&&(Jt=Ge);var pi=j.reduce(function(Ci,Fi){var Zi=Mn(J.cssPrefix,Fi);if(ii[Fi]?(Fi=Xi[Jt].includes(Fi)?At[Jt][Fi]:Fi,ri=Fi,Ci.prefix=Fi):Di[Jt].indexOf(Fi)>-1?(ri=Fi,Ci.prefix=Bn(Fi,{family:Jt})):Zi?Ci.iconName=Zi:Fi!==J.replacementClass&&Fi!==Zt[Ze]&&Fi!==Zt[Ge]&&Ci.rest.push(Fi),!Re&&Ci.prefix&&Ci.iconName){var tn="fa"===ri?ki(Ci.iconName):{},xn=mi(Ci.prefix,Ci.iconName);tn.prefix&&(ri=null),Ci.iconName=tn.iconName||xn||Ci.iconName,Ci.prefix=tn.prefix||Ci.prefix,"far"===Ci.prefix&&!ii.far&&ii.fas&&!J.autoFetchSvg&&(Ci.prefix="fas")}return Ci},{prefix:null,iconName:null,rest:[]});return(j.includes("fa-brands")||j.includes("fab"))&&(pi.prefix="fab"),(j.includes("fa-duotone")||j.includes("fad"))&&(pi.prefix="fad"),!pi.prefix&&Jt===Ge&&(ii.fass||J.autoFetchSvg)&&(pi.prefix="fass",pi.iconName=mi(pi.prefix,pi.iconName)||pi.iconName),("fa"===pi.prefix||"fa"===ri)&&(pi.prefix=fn()||"fas"),pi}var Hn=function(){function j(){(function C(j,Se){if(!(j instanceof Se))throw new TypeError("Cannot call a class as a function")})(this,j),this.definitions={}}return function P(j,Se,Be){Se&&h(j.prototype,Se),Be&&h(j,Be),Object.defineProperty(j,"prototype",{writable:!1})}(j,[{key:"add",value:function(){for(var Be=this,Ct=arguments.length,Re=new Array(Ct),Zt=0;Zt<Ct;Zt++)Re[Zt]=arguments[Zt];var ri=Re.reduce(this._pullDefinitions,{});Object.keys(ri).forEach(function(Jt){Be.definitions[Jt]=b(b({},Be.definitions[Jt]||{}),ri[Jt]),Kt(Jt,ri[Jt]);var pi=ut[Ze][Jt];pi&&Kt(pi,ri[Jt]),Qt()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(Be,Ct){var Re=Ct.prefix&&Ct.iconName&&Ct.icon?{0:Ct}:Ct;return Object.keys(Re).map(function(Zt){var ri=Re[Zt],Jt=ri.prefix,pi=ri.iconName,Ci=ri.icon,Fi=Ci[2];Be[Jt]||(Be[Jt]={}),Fi.length>0&&Fi.forEach(function(Zi){"string"==typeof Zi&&(Be[Jt][Zi]=Ci)}),Be[Jt][pi]=Ci}),Be}}]),j}(),jr=[],zn={},$n={},Lr=Object.keys($n);function tr(j,Se){for(var Be=arguments.length,Ct=new Array(Be>2?Be-2:0),Re=2;Re<Be;Re++)Ct[Re-2]=arguments[Re];var Zt=zn[j]||[];return Zt.forEach(function(ri){Se=ri.apply(null,[Se].concat(Ct))}),Se}function Kn(j){for(var Se=arguments.length,Be=new Array(Se>1?Se-1:0),Ct=1;Ct<Se;Ct++)Be[Ct-1]=arguments[Ct];var Re=zn[j]||[];Re.forEach(function(Zt){Zt.apply(null,Be)})}function Ga(){var j=arguments[0],Se=Array.prototype.slice.call(arguments,1);return $n[j]?$n[j].apply(null,Se):void 0}function Fa(j){"fa"===j.prefix&&(j.prefix="fas");var Se=j.iconName,Be=j.prefix||fn();if(Se)return Se=mi(Be,Se)||Se,li(Kr.definitions,Be,Se)||li(Ni.styles,Be,Se)}var Kr=new Hn,Qr={i2svg:function(){var Se=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return m?(Kn("beforeI2svg",Se),Ga("pseudoElements2svg",Se),Ga("i2svg",Se)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var Se=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Be=Se.autoReplaceSvgRoot;!1===J.autoReplaceSvg&&(J.autoReplaceSvg=!0),J.observeMutations=!0,Rt(function(){Mo({autoReplaceSvgRoot:Be}),Kn("watch",Se)})}},Ma={noAuto:function(){J.autoReplaceSvg=!1,J.observeMutations=!1,Kn("noAuto")},config:J,dom:Qr,parse:{icon:function(Se){if(null===Se)return null;if("object"===I(Se)&&Se.prefix&&Se.iconName)return{prefix:Se.prefix,iconName:mi(Se.prefix,Se.iconName)||Se.iconName};if(Array.isArray(Se)&&2===Se.length){var Be=0===Se[1].indexOf("fa-")?Se[1].slice(3):Se[1],Ct=Bn(Se[0]);return{prefix:Ct,iconName:mi(Ct,Be)||Be}}if("string"==typeof Se&&(Se.indexOf("".concat(J.cssPrefix,"-"))>-1||Se.match(_t))){var Re=Dn(Se.split(" "),{skipLookups:!0});return{prefix:Re.prefix||fn(),iconName:mi(Re.prefix,Re.iconName)||Re.iconName}}if("string"==typeof Se){var Zt=fn();return{prefix:Zt,iconName:mi(Zt,Se)||Se}}}},library:Kr,findIconDefinition:Fa,toHtml:jt},Mo=function(){var Se=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Be=Se.autoReplaceSvgRoot,Ct=void 0===Be?l:Be;(Object.keys(Ni.styles).length>0||J.autoFetchSvg)&&m&&J.autoReplaceSvg&&Ma.dom.i2svg({node:Ct})};function Za(j,Se){return Object.defineProperty(j,"abstract",{get:Se}),Object.defineProperty(j,"html",{get:function(){return j.abstract.map(function(Ct){return jt(Ct)})}}),Object.defineProperty(j,"node",{get:function(){if(m){var Ct=l.createElement("div");return Ct.innerHTML=j.html,Ct.children}}}),j}function co(j){var Se=j.icons,Be=Se.main,Ct=Se.mask,Re=j.prefix,Zt=j.iconName,ri=j.transform,Jt=j.symbol,pi=j.title,Ci=j.maskId,Fi=j.titleId,Zi=j.extra,tn=j.watchable,xn=void 0!==tn&&tn,ta=Ct.found?Ct:Be,fa=ta.width,ma=ta.height,Ea="fak"===Re,xa=[J.replacementClass,Zt?"".concat(J.cssPrefix,"-").concat(Zt):""].filter(function(_o){return-1===Zi.classes.indexOf(_o)}).filter(function(_o){return""!==_o||!!_o}).concat(Zi.classes).join(" "),Ca={children:[],attributes:b(b({},Zi.attributes),{},{"data-prefix":Re,"data-icon":Zt,class:xa,role:Zi.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(fa," ").concat(ma)})},yr=Ea&&!~Zi.classes.indexOf("fa-fw")?{width:"".concat(fa/ma*16*.0625,"em")}:{};xn&&(Ca.attributes[ye]=""),pi&&(Ca.children.push({tag:"title",attributes:{id:Ca.attributes["aria-labelledby"]||"title-".concat(Fi||mt())},children:[pi]}),delete Ca.attributes.title);var Ta=b(b({},Ca),{},{prefix:Re,iconName:Zt,main:Be,mask:Ct,maskId:Ci,transform:ri,symbol:Jt,styles:b(b({},yr),Zi.styles)}),io=Ct.found&&Be.found?Ga("generateAbstractMask",Ta)||{children:[],attributes:{}}:Ga("generateAbstractIcon",Ta)||{children:[],attributes:{}},no=io.attributes;return Ta.children=io.children,Ta.attributes=no,Jt?function so(j){var Be=j.iconName,Ct=j.children,Re=j.attributes,Zt=j.symbol,ri=!0===Zt?"".concat(j.prefix,"-").concat(J.cssPrefix,"-").concat(Be):Zt;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:b(b({},Re),{},{id:ri}),children:Ct}]}]}(Ta):function qr(j){var Se=j.children,Be=j.main,Ct=j.mask,Re=j.attributes,Zt=j.styles,ri=j.transform;if(Pt(ri)&&Be.found&&!Ct.found){var Ci={x:Be.width/Be.height/2,y:.5};Re.style=ft(b(b({},Zt),{},{"transform-origin":"".concat(Ci.x+ri.x/16,"em ").concat(Ci.y+ri.y/16,"em")}))}return[{tag:"svg",attributes:Re,children:Se}]}(Ta)}function lo(j){var Se=j.content,Be=j.width,Ct=j.height,Re=j.transform,Zt=j.title,ri=j.extra,Jt=j.watchable,pi=void 0!==Jt&&Jt,Ci=b(b(b({},ri.attributes),Zt?{title:Zt}:{}),{},{class:ri.classes.join(" ")});pi&&(Ci[ye]="");var Fi=b({},ri.styles);Pt(Re)&&(Fi.transform=function it(j){var Se=j.transform,Be=j.width,Re=j.height,Zt=void 0===Re?16:Re,ri=j.startCentered,Jt=void 0!==ri&&ri,pi="";return pi+=Jt&&n?"translate(".concat(Se.x/16-(void 0===Be?16:Be)/2,"em, ").concat(Se.y/16-Zt/2,"em) "):Jt?"translate(calc(-50% + ".concat(Se.x/16,"em), calc(-50% + ").concat(Se.y/16,"em)) "):"translate(".concat(Se.x/16,"em, ").concat(Se.y/16,"em) "),(pi+="scale(".concat(Se.size/16*(Se.flipX?-1:1),", ").concat(Se.size/16*(Se.flipY?-1:1),") "))+"rotate(".concat(Se.rotate,"deg) ")}({transform:Re,startCentered:!0,width:Be,height:Ct}),Fi["-webkit-transform"]=Fi.transform);var Zi=ft(Fi);Zi.length>0&&(Ci.style=Zi);var tn=[];return tn.push({tag:"span",attributes:Ci,children:[Se]}),Zt&&tn.push({tag:"span",attributes:{class:"sr-only"},children:[Zt]}),tn}function Gr(j){var Se=j.content,Be=j.title,Ct=j.extra,Re=b(b(b({},Ct.attributes),Be?{title:Be}:{}),{},{class:Ct.classes.join(" ")}),Zt=ft(Ct.styles);Zt.length>0&&(Re.style=Zt);var ri=[];return ri.push({tag:"span",attributes:Re,children:[Se]}),Be&&ri.push({tag:"span",attributes:{class:"sr-only"},children:[Be]}),ri}var ho=Ni.styles;function Zr(j){var Se=j[0],Be=j[1],Zt=O(j.slice(4),1)[0];return{found:!0,width:Se,height:Be,icon:Array.isArray(Zt)?{tag:"g",attributes:{class:"".concat(J.cssPrefix,"-").concat("duotone-group")},children:[{tag:"path",attributes:{class:"".concat(J.cssPrefix,"-").concat("secondary"),fill:"currentColor",d:Zt[0]}},{tag:"path",attributes:{class:"".concat(J.cssPrefix,"-").concat("primary"),fill:"currentColor",d:Zt[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:Zt}}}}var uo={found:!1,width:512,height:512};function ir(j,Se){var Be=Se;return"fa"===Se&&null!==J.styleDefault&&(Se=fn()),new Promise(function(Ct,Re){if(Ga("missingIconAbstract"),"fa"===Be){var ri=ki(j)||{};j=ri.iconName||j,Se=ri.prefix||Se}if(j&&Se&&ho[Se]&&ho[Se][j])return Ct(Zr(ho[Se][j]));(function fo(j,Se){!te&&!J.showMissingIcons&&j&&console.error('Icon with name "'.concat(j,'" and prefix "').concat(Se,'" is missing.'))})(j,Se),Ct(b(b({},uo),{},{icon:J.showMissingIcons&&j&&Ga("missingIconAbstract")||{}}))})}var pr=function(){},ra=J.measurePerformance&&T&&T.mark&&T.measure?T:{mark:pr,measure:pr},Ya='FA "6.3.0"',gr_begin=function(Se){return ra.mark("".concat(Ya," ").concat(Se," begins")),function(){return function(Se){ra.mark("".concat(Ya," ").concat(Se," ends")),ra.measure("".concat(Ya," ").concat(Se),"".concat(Ya," ").concat(Se," begins"),"".concat(Ya," ").concat(Se," ends"))}(Se)}},mo=function(){};function Pa(j){return"string"==typeof(j.getAttribute?j.getAttribute(ye):null)}function po(j){return l.createElementNS("http://www.w3.org/2000/svg",j)}function $r(j){return l.createElement(j)}function ba(j){var Se=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Be=Se.ceFn,Ct=void 0===Be?"svg"===j.tag?po:$r:Be;if("string"==typeof j)return l.createTextNode(j);var Re=Ct(j.tag);Object.keys(j.attributes||[]).forEach(function(ri){Re.setAttribute(ri,j.attributes[ri])});var Zt=j.children||[];return Zt.forEach(function(ri){Re.appendChild(ba(ri,{ceFn:Ct}))}),Re}var Qn={replace:function(Se){var Be=Se[0];if(Be.parentNode)if(Se[1].forEach(function(Re){Be.parentNode.insertBefore(ba(Re),Be)}),null===Be.getAttribute(ye)&&J.keepOriginalSource){var Ct=l.createComment(function Or(j){var Se=" ".concat(j.outerHTML," ");return"".concat(Se,"Font Awesome fontawesome.com ")}(Be));Be.parentNode.replaceChild(Ct,Be)}else Be.remove()},nest:function(Se){var Be=Se[0],Ct=Se[1];if(~yt(Be).indexOf(J.replacementClass))return Qn.replace(Se);var Re=new RegExp("".concat(J.cssPrefix,"-.*"));if(delete Ct[0].attributes.id,Ct[0].attributes.class){var Zt=Ct[0].attributes.class.split(" ").reduce(function(Jt,pi){return pi===J.replacementClass||pi.match(Re)?Jt.toSvg.push(pi):Jt.toNode.push(pi),Jt},{toNode:[],toSvg:[]});Ct[0].attributes.class=Zt.toSvg.join(" "),0===Zt.toNode.length?Be.removeAttribute("class"):Be.setAttribute("class",Zt.toNode.join(" "))}var ri=Ct.map(function(Jt){return jt(Jt)}).join("\n");Be.setAttribute(ye,""),Be.innerHTML=ri}};function Yn(j){j()}function _r(j,Se){var Be="function"==typeof Se?Se:mo;if(0===j.length)Be();else{var Ct=Yn;"async"===J.mutateApproach&&(Ct=u.requestAnimationFrame||Yn),Ct(function(){var Re=function nr(){return!0===J.autoReplaceSvg?Qn.replace:Qn[J.autoReplaceSvg]||Qn.replace}(),Zt=gr_begin("mutate");j.map(Re),Zt(),Be()})}}var ja=!1;function ca(){ja=!0}function Ka(){ja=!1}var zt=null;function oi(j){if(y&&J.observeMutations){var Se=j.treeCallback,Be=void 0===Se?mo:Se,Ct=j.nodeCallback,Re=void 0===Ct?mo:Ct,Zt=j.pseudoElementsCallback,ri=void 0===Zt?mo:Zt,Jt=j.observeMutationsRoot,pi=void 0===Jt?l:Jt;zt=new y(function(Ci){if(!ja){var Fi=fn();nt(Ci).forEach(function(Zi){if("childList"===Zi.type&&Zi.addedNodes.length>0&&!Pa(Zi.addedNodes[0])&&(J.searchPseudoElements&&ri(Zi.target),Be(Zi.target)),"attributes"===Zi.type&&Zi.target.parentNode&&J.searchPseudoElements&&ri(Zi.target.parentNode),"attributes"===Zi.type&&Pa(Zi.target)&&~W.indexOf(Zi.attributeName))if("class"===Zi.attributeName&&function Jr(j){var Se=j.getAttribute?j.getAttribute(oe):null,Be=j.getAttribute?j.getAttribute(Ke):null;return Se&&Be}(Zi.target)){var tn=Dn(yt(Zi.target)),ta=tn.iconName;Zi.target.setAttribute(oe,tn.prefix||Fi),ta&&Zi.target.setAttribute(Ke,ta)}else(function Xr(j){return j&&j.classList&&j.classList.contains&&j.classList.contains(J.replacementClass)})(Zi.target)&&Re(Zi.target)})}}),m&&zt.observe(pi,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function ni(j){var Se=j.getAttribute("style"),Be=[];return Se&&(Be=Se.split(";").reduce(function(Ct,Re){var Zt=Re.split(":"),ri=Zt[0],Jt=Zt.slice(1);return ri&&Jt.length>0&&(Ct[ri]=Jt.join(":").trim()),Ct},{})),Be}function Pi(j){var Se=j.getAttribute("data-prefix"),Be=j.getAttribute("data-icon"),Ct=void 0!==j.innerText?j.innerText.trim():"",Re=Dn(yt(j));return Re.prefix||(Re.prefix=fn()),Se&&Be&&(Re.prefix=Se,Re.iconName=Be),Re.iconName&&Re.prefix||(Re.prefix&&Ct.length>0&&(Re.iconName=function hi(j,Se){return(hn[j]||{})[Se]}(Re.prefix,j.innerText)||fi(Re.prefix,ji(j.innerText))),!Re.iconName&&J.autoFetchSvg&&j.firstChild&&j.firstChild.nodeType===Node.TEXT_NODE&&(Re.iconName=j.firstChild.data)),Re}function nn(j){var Se=nt(j.attributes).reduce(function(Re,Zt){return"class"!==Re.name&&"style"!==Re.name&&(Re[Zt.name]=Zt.value),Re},{}),Be=j.getAttribute("title"),Ct=j.getAttribute("data-fa-title-id");return J.autoA11y&&(Be?Se["aria-labelledby"]="".concat(J.replacementClass,"-title-").concat(Ct||mt()):(Se["aria-hidden"]="true",Se.focusable="false")),Se}function la(j){var Se=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},Be=Pi(j),Ct=Be.iconName,Re=Be.prefix,Zt=Be.rest,ri=nn(j),Jt=tr("parseNodeAttributes",{},j),pi=Se.styleParser?ni(j):[];return b({iconName:Ct,title:j.getAttribute("title"),titleId:j.getAttribute("data-fa-title-id"),prefix:Re,transform:ei,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:Zt,styles:pi,attributes:ri}},Jt)}var Yi=Ni.styles;function bn(j){var Se="nest"===J.autoReplaceSvg?la(j,{styleParser:!1}):la(j);return~Se.extra.classes.indexOf(lt)?Ga("generateLayersText",j,Se):Ga("generateSvgReplacementMutation",j,Se)}var ar=new Set;function st(j){var Se=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!m)return Promise.resolve();var Be=l.documentElement.classList,Ct=function(Zi){return Be.add("".concat(Ae,"-").concat(Zi))},Re=function(Zi){return Be.remove("".concat(Ae,"-").concat(Zi))},Zt=J.autoFetchSvg?ar:ae.map(function(Fi){return"fa-".concat(Fi)}).concat(Object.keys(Yi));Zt.includes("fa")||Zt.push("fa");var ri=[".".concat(lt,":not([").concat(ye,"])")].concat(Zt.map(function(Fi){return".".concat(Fi,":not([").concat(ye,"])")})).join(", ");if(0===ri.length)return Promise.resolve();var Jt=[];try{Jt=nt(j.querySelectorAll(ri))}catch{}if(!(Jt.length>0))return Promise.resolve();Ct("pending"),Re("complete");var pi=gr_begin("onTree"),Ci=Jt.reduce(function(Fi,Zi){try{var tn=bn(Zi);tn&&Fi.push(tn)}catch(xn){te||"MissingIcon"===xn.name&&console.error(xn)}return Fi},[]);return new Promise(function(Fi,Zi){Promise.all(Ci).then(function(tn){_r(tn,function(){Ct("active"),Ct("complete"),Re("pending"),"function"==typeof Se&&Se(),pi(),Fi()})}).catch(function(tn){pi(),Zi(tn)})})}function et(j){var Se=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;bn(j).then(function(Be){Be&&_r([Be],Se)})}ae.map(function(j){ar.add("fa-".concat(j))}),Object.keys(pt[Ze]).map(ar.add.bind(ar)),Object.keys(pt[Ge]).map(ar.add.bind(ar)),ar=E(ar);var Ot=function(Se){var Be=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ct=Be.transform,Re=void 0===Ct?ei:Ct,Zt=Be.symbol,ri=void 0!==Zt&&Zt,Jt=Be.mask,pi=void 0===Jt?null:Jt,Ci=Be.maskId,Fi=void 0===Ci?null:Ci,Zi=Be.title,tn=void 0===Zi?null:Zi,xn=Be.titleId,ta=void 0===xn?null:xn,fa=Be.classes,ma=void 0===fa?[]:fa,Ea=Be.attributes,xa=void 0===Ea?{}:Ea,Ca=Be.styles,yr=void 0===Ca?{}:Ca;if(Se){var Ta=Se.prefix,io=Se.iconName,Wa=Se.icon;return Za(b({type:"icon"},Se),function(){return Kn("beforeDOMElementCreation",{iconDefinition:Se,params:Be}),J.autoA11y&&(tn?xa["aria-labelledby"]="".concat(J.replacementClass,"-title-").concat(ta||mt()):(xa["aria-hidden"]="true",xa.focusable="false")),co({icons:{main:Zr(Wa),mask:pi?Zr(pi.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Ta,iconName:io,transform:b(b({},ei),Re),symbol:ri,title:tn,maskId:Fi,titleId:ta,extra:{attributes:xa,styles:yr,classes:ma}})})}},xi={mixout:function(){return{icon:(j=Ot,function(Se){var Be=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Ct=(Se||{}).icon?Se:Fa(Se||{}),Re=Be.mask;return Re&&(Re=(Re||{}).icon?Re:Fa(Re||{})),j(Ct,b(b({},Be),{},{mask:Re}))})};var j},hooks:function(){return{mutationObserverCallbacks:function(Be){return Be.treeCallback=st,Be.nodeCallback=et,Be}}},provides:function(Se){Se.i2svg=function(Be){var Ct=Be.node,Zt=Be.callback;return st(void 0===Ct?l:Ct,void 0===Zt?function(){}:Zt)},Se.generateSvgReplacementMutation=function(Be,Ct){var Re=Ct.iconName,Zt=Ct.title,ri=Ct.titleId,Jt=Ct.prefix,pi=Ct.transform,Ci=Ct.symbol,Fi=Ct.mask,Zi=Ct.maskId,tn=Ct.extra;return new Promise(function(xn,ta){Promise.all([ir(Re,Jt),Fi.iconName?ir(Fi.iconName,Fi.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(fa){var ma=O(fa,2);xn([Be,co({icons:{main:ma[0],mask:ma[1]},prefix:Jt,iconName:Re,transform:pi,symbol:Ci,maskId:Zi,title:Zt,titleId:ri,extra:tn,watchable:!0})])}).catch(ta)})},Se.generateAbstractIcon=function(Be){var Ci,Ct=Be.children,Re=Be.attributes,Zt=Be.main,ri=Be.transform,pi=ft(Be.styles);return pi.length>0&&(Re.style=pi),Pt(ri)&&(Ci=Ga("generateAbstractTransformGrouping",{main:Zt,transform:ri,containerWidth:Zt.width,iconWidth:Zt.width})),Ct.push(Ci||Zt.icon),{children:Ct,attributes:Re}}}},cn={mixout:function(){return{layer:function(Be){var Ct=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Re=Ct.classes,Zt=void 0===Re?[]:Re;return Za({type:"layer"},function(){Kn("beforeDOMElementCreation",{assembler:Be,params:Ct});var ri=[];return Be(function(Jt){Array.isArray(Jt)?Jt.map(function(pi){ri=ri.concat(pi.abstract)}):ri=ri.concat(Jt.abstract)}),[{tag:"span",attributes:{class:["".concat(J.cssPrefix,"-layers")].concat(E(Zt)).join(" ")},children:ri}]})}}}},ha={mixout:function(){return{counter:function(Be){var Ct=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Re=Ct.title,Zt=void 0===Re?null:Re,ri=Ct.classes,Jt=void 0===ri?[]:ri,pi=Ct.attributes,Ci=void 0===pi?{}:pi,Fi=Ct.styles,Zi=void 0===Fi?{}:Fi;return Za({type:"counter",content:Be},function(){return Kn("beforeDOMElementCreation",{content:Be,params:Ct}),Gr({content:Be.toString(),title:Zt,extra:{attributes:Ci,styles:Zi,classes:["".concat(J.cssPrefix,"-layers-counter")].concat(E(Jt))}})})}}}},wi={mixout:function(){return{text:function(Be){var Ct=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Re=Ct.transform,Zt=void 0===Re?ei:Re,ri=Ct.title,Jt=void 0===ri?null:ri,pi=Ct.classes,Ci=void 0===pi?[]:pi,Fi=Ct.attributes,Zi=void 0===Fi?{}:Fi,tn=Ct.styles,xn=void 0===tn?{}:tn;return Za({type:"text",content:Be},function(){return Kn("beforeDOMElementCreation",{content:Be,params:Ct}),lo({content:Be,transform:b(b({},ei),Zt),title:Jt,extra:{attributes:Zi,styles:xn,classes:["".concat(J.cssPrefix,"-layers-text")].concat(E(Ci))}})})}}},provides:function(Se){Se.generateLayersText=function(Be,Ct){var Re=Ct.title,Zt=Ct.transform,ri=Ct.extra,Jt=null,pi=null;if(n){var Ci=parseInt(getComputedStyle(Be).fontSize,10),Fi=Be.getBoundingClientRect();Jt=Fi.width/Ci,pi=Fi.height/Ci}return J.autoA11y&&!Re&&(ri.attributes["aria-hidden"]="true"),Promise.resolve([Be,lo({content:Be.innerHTML,width:Jt,height:pi,transform:Zt,title:Re,extra:ri,watchable:!0})])}}},Ln=new RegExp('"',"ug"),Ro=[1105920,1112319];function Ha(j,Se){var Be="".concat("data-fa-pseudo-element-pending").concat(Se.replace(":","-"));return new Promise(function(Ct,Re){if(null!==j.getAttribute(Be))return Ct();var ri=nt(j.children).filter(function(Wa){return Wa.getAttribute(ce)===Se})[0],Jt=u.getComputedStyle(j,Se),pi=Jt.getPropertyValue("font-family").match(St),Ci=Jt.getPropertyValue("font-weight"),Fi=Jt.getPropertyValue("content");if(ri&&!pi)return j.removeChild(ri),Ct();if(pi&&"none"!==Fi&&""!==Fi){var Zi=Jt.getPropertyValue("content"),tn=~["Sharp"].indexOf(pi[2])?Ge:Ze,xn=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(pi[2])?$e[tn][pi[2].toLowerCase()]:ke[tn][Ci],ta=function Js(j){var Se=j.replace(Ln,""),Be=function $i(j,Se){var Re,Be=j.length,Ct=j.charCodeAt(Se);return Ct>=55296&&Ct<=56319&&Be>Se+1&&(Re=j.charCodeAt(Se+1))>=56320&&Re<=57343?1024*(Ct-55296)+Re-56320+65536:Ct}(Se,0),Ct=Be>=Ro[0]&&Be<=Ro[1],Re=2===Se.length&&Se[0]===Se[1];return{value:ji(Re?Se[0]:Se),isSecondary:Ct||Re}}(Zi),fa=ta.value,ma=ta.isSecondary,Ea=pi[0].startsWith("FontAwesome"),xa=fi(xn,fa),Ca=xa;if(Ea){var yr=function Vi(j){var Se=ga[j],Be=fi("fas",j);return Se||(Be?{prefix:"fas",iconName:Be}:null)||{prefix:null,iconName:null}}(fa);yr.iconName&&yr.prefix&&(xa=yr.iconName,xn=yr.prefix)}if(!xa||ma||ri&&ri.getAttribute(oe)===xn&&ri.getAttribute(Ke)===Ca)Ct();else{j.setAttribute(Be,Ca),ri&&j.removeChild(ri);var Ta=function ea(){return{iconName:null,title:null,titleId:null,prefix:null,transform:ei,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),io=Ta.extra;io.attributes[ce]=Se,ir(xa,xn).then(function(Wa){var no=co(b(b({},Ta),{},{icons:{main:Wa,mask:{prefix:null,iconName:null,rest:[]}},prefix:xn,iconName:Ca,extra:io,watchable:!0})),_o=l.createElement("svg");"::before"===Se?j.insertBefore(_o,j.firstChild):j.appendChild(_o),_o.outerHTML=no.map(function(Zc){return jt(Zc)}).join("\n"),j.removeAttribute(Be),Ct()}).catch(Re)}}else Ct()})}function Yo(j){return Promise.all([Ha(j,"::before"),Ha(j,"::after")])}function eo(j){return!(j.parentNode===document.head||~Ce.indexOf(j.tagName.toUpperCase())||j.getAttribute(ce)||j.parentNode&&"svg"===j.parentNode.tagName)}function vr(j){if(m)return new Promise(function(Se,Be){var Ct=nt(j.querySelectorAll("*")).filter(eo).map(Yo),Re=gr_begin("searchPseudoElements");ca(),Promise.all(Ct).then(function(){Re(),Ka(),Se()}).catch(function(){Re(),Ka(),Be()})})}var Ko=!1,rs=function(Se){return Se.toLowerCase().split(" ").reduce(function(Ct,Re){var Zt=Re.toLowerCase().split("-"),ri=Zt[0],Jt=Zt.slice(1).join("-");if(ri&&"h"===Jt)return Ct.flipX=!0,Ct;if(ri&&"v"===Jt)return Ct.flipY=!0,Ct;if(Jt=parseFloat(Jt),isNaN(Jt))return Ct;switch(ri){case"grow":Ct.size=Ct.size+Jt;break;case"shrink":Ct.size=Ct.size-Jt;break;case"left":Ct.x=Ct.x-Jt;break;case"right":Ct.x=Ct.x+Jt;break;case"up":Ct.y=Ct.y-Jt;break;case"down":Ct.y=Ct.y+Jt;break;case"rotate":Ct.rotate=Ct.rotate+Jt}return Ct},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},In={x:0,y:0,width:"100%",height:"100%"};function Ii(j){var Se=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return j.attributes&&(j.attributes.fill||Se)&&(j.attributes.fill="black"),j}!function Sr(j,Se){var Be=Se.mixoutsTo;jr=j,zn={},Object.keys($n).forEach(function(Ct){-1===Lr.indexOf(Ct)&&delete $n[Ct]}),jr.forEach(function(Ct){var Re=Ct.mixout?Ct.mixout():{};if(Object.keys(Re).forEach(function(ri){"function"==typeof Re[ri]&&(Be[ri]=Re[ri]),"object"===I(Re[ri])&&Object.keys(Re[ri]).forEach(function(Jt){Be[ri]||(Be[ri]={}),Be[ri][Jt]=Re[ri][Jt]})}),Ct.hooks){var Zt=Ct.hooks();Object.keys(Zt).forEach(function(ri){zn[ri]||(zn[ri]=[]),zn[ri].push(Zt[ri])})}Ct.provides&&Ct.provides($n)})}([Ti,xi,cn,ha,wi,{hooks:function(){return{mutationObserverCallbacks:function(Be){return Be.pseudoElementsCallback=vr,Be}}},provides:function(Se){Se.pseudoElements2svg=function(Be){var Ct=Be.node;J.searchPseudoElements&&vr(void 0===Ct?l:Ct)}}},{mixout:function(){return{dom:{unwatch:function(){ca(),Ko=!0}}}},hooks:function(){return{bootstrap:function(){oi(tr("mutationObserverCallbacks",{}))},noAuto:function(){!function Mt(){zt&&zt.disconnect()}()},watch:function(Be){var Ct=Be.observeMutationsRoot;Ko?Ka():oi(tr("mutationObserverCallbacks",{observeMutationsRoot:Ct}))}}}},{mixout:function(){return{parse:{transform:function(Be){return rs(Be)}}}},hooks:function(){return{parseNodeAttributes:function(Be,Ct){var Re=Ct.getAttribute("data-fa-transform");return Re&&(Be.transform=rs(Re)),Be}}},provides:function(Se){Se.generateAbstractTransformGrouping=function(Be){var Ct=Be.main,Re=Be.transform,ri=Be.iconWidth,Jt={transform:"translate(".concat(Be.containerWidth/2," 256)")},pi="translate(".concat(32*Re.x,", ").concat(32*Re.y,") "),Ci="scale(".concat(Re.size/16*(Re.flipX?-1:1),", ").concat(Re.size/16*(Re.flipY?-1:1),") "),Fi="rotate(".concat(Re.rotate," 0 0)"),xn={outer:Jt,inner:{transform:"".concat(pi," ").concat(Ci," ").concat(Fi)},path:{transform:"translate(".concat(ri/2*-1," -256)")}};return{tag:"g",attributes:b({},xn.outer),children:[{tag:"g",attributes:b({},xn.inner),children:[{tag:Ct.icon.tag,children:Ct.icon.children,attributes:b(b({},Ct.icon.attributes),xn.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(Be,Ct){var Re=Ct.getAttribute("data-fa-mask"),Zt=Re?Dn(Re.split(" ").map(function(ri){return ri.trim()})):{prefix:null,iconName:null,rest:[]};return Zt.prefix||(Zt.prefix=fn()),Be.mask=Zt,Be.maskId=Ct.getAttribute("data-fa-mask-id"),Be}}},provides:function(Se){Se.generateAbstractMask=function(Be){var j,Ct=Be.children,Re=Be.attributes,Zt=Be.main,ri=Be.mask,Jt=Be.maskId,Fi=Zt.icon,tn=ri.icon,xn=function Pe(j){var Se=j.transform,Ct=j.iconWidth,Re={transform:"translate(".concat(j.containerWidth/2," 256)")},Zt="translate(".concat(32*Se.x,", ").concat(32*Se.y,") "),ri="scale(".concat(Se.size/16*(Se.flipX?-1:1),", ").concat(Se.size/16*(Se.flipY?-1:1),") "),Jt="rotate(".concat(Se.rotate," 0 0)");return{outer:Re,inner:{transform:"".concat(Zt," ").concat(ri," ").concat(Jt)},path:{transform:"translate(".concat(Ct/2*-1," -256)")}}}({transform:Be.transform,containerWidth:ri.width,iconWidth:Zt.width}),ta={tag:"rect",attributes:b(b({},In),{},{fill:"white"})},fa=Fi.children?{children:Fi.children.map(Ii)}:{},ma={tag:"g",attributes:b({},xn.inner),children:[Ii(b({tag:Fi.tag,attributes:b(b({},Fi.attributes),xn.path)},fa))]},Ea={tag:"g",attributes:b({},xn.outer),children:[ma]},xa="mask-".concat(Jt||mt()),Ca="clip-".concat(Jt||mt()),yr={tag:"mask",attributes:b(b({},In),{},{id:xa,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[ta,Ea]},Ta={tag:"defs",children:[{tag:"clipPath",attributes:{id:Ca},children:(j=tn,"g"===j.tag?j.children:[j])},yr]};return Ct.push(Ta,{tag:"rect",attributes:b({fill:"currentColor","clip-path":"url(#".concat(Ca,")"),mask:"url(#".concat(xa,")")},In)}),{children:Ct,attributes:Re}}}},{provides:function(Se){var Be=!1;u.matchMedia&&(Be=u.matchMedia("(prefers-reduced-motion: reduce)").matches),Se.missingIconAbstract=function(){var Ct=[],Re={fill:"currentColor"},Zt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};Ct.push({tag:"path",attributes:b(b({},Re),{},{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 ri=b(b({},Zt),{},{attributeName:"opacity"}),Jt={tag:"circle",attributes:b(b({},Re),{},{cx:"256",cy:"364",r:"28"}),children:[]};return Be||Jt.children.push({tag:"animate",attributes:b(b({},Zt),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:b(b({},ri),{},{values:"1;0;1;1;0;1;"})}),Ct.push(Jt),Ct.push({tag:"path",attributes:b(b({},Re),{},{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:Be?[]:[{tag:"animate",attributes:b(b({},ri),{},{values:"1;0;0;0;0;1;"})}]}),Be||Ct.push({tag:"path",attributes:b(b({},Re),{},{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:b(b({},ri),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:Ct}}}},{hooks:function(){return{parseNodeAttributes:function(Be,Ct){var Re=Ct.getAttribute("data-fa-symbol");return Be.symbol=null!==Re&&(""===Re||Re),Be}}}}],{mixoutsTo:Ma});var Eo=Ma.parse,Qo=Ma.icon,As=p(1481);const Ra=["*"],an=j=>{const Se={[`fa-${j.animation}`]:null!=j.animation&&!j.animation.startsWith("spin"),"fa-spin":"spin"===j.animation||"spin-reverse"===j.animation,"fa-spin-pulse":"spin-pulse"===j.animation||"spin-pulse-reverse"===j.animation,"fa-spin-reverse":"spin-reverse"===j.animation||"spin-pulse-reverse"===j.animation,"fa-pulse":"spin-pulse"===j.animation||"spin-pulse-reverse"===j.animation,"fa-fw":j.fixedWidth,"fa-border":j.border,"fa-inverse":j.inverse,"fa-layers-counter":j.counter,"fa-flip-horizontal":"horizontal"===j.flip||"both"===j.flip,"fa-flip-vertical":"vertical"===j.flip||"both"===j.flip,[`fa-${j.size}`]:null!==j.size,[`fa-rotate-${j.rotate}`]:null!==j.rotate,[`fa-pull-${j.pull}`]:null!==j.pull,[`fa-stack-${j.stackItemSize}`]:null!=j.stackItemSize};return Object.keys(Se).map(Be=>Se[Be]?Be:null).filter(Be=>Be)};let ua=(()=>{class j{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}}return j.\u0275fac=function(Be){return new(Be||j)},j.\u0275prov=t.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),Ds=(()=>{class j{constructor(){this.definitions={}}addIcons(...Be){for(const Ct of Be){Ct.prefix in this.definitions||(this.definitions[Ct.prefix]={}),this.definitions[Ct.prefix][Ct.iconName]=Ct;for(const Re of Ct.icon[2])"string"==typeof Re&&(this.definitions[Ct.prefix][Re]=Ct)}}addIconPacks(...Be){for(const Ct of Be){const Re=Object.keys(Ct).map(Zt=>Ct[Zt]);this.addIcons(...Re)}}getIconDefinition(Be,Ct){return Be in this.definitions&&Ct in this.definitions[Be]?this.definitions[Be][Ct]:null}}return j.\u0275fac=function(Be){return new(Be||j)},j.\u0275prov=t.Yz7({token:j,factory:j.\u0275fac,providedIn:"root"}),j})(),Gc=(()=>{class j{constructor(){this.stackItemSize="1x"}ngOnChanges(Be){if("size"in Be)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 j.\u0275fac=function(Be){return new(Be||j)},j.\u0275dir=t.lG2({type:j,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[t.TTD]}),j})(),yc=(()=>{class j{constructor(Be,Ct){this.renderer=Be,this.elementRef=Ct}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(Be){"size"in Be&&(null!=Be.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${Be.size.currentValue}`),null!=Be.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${Be.size.previousValue}`))}}return j.\u0275fac=function(Be){return new(Be||j)(t.Y36(t.Qsj),t.Y36(t.SBq))},j.\u0275cmp=t.Xpm({type:j,selectors:[["fa-stack"]],inputs:{size:"size"},features:[t.TTD],ngContentSelectors:Ra,decls:1,vars:0,template:function(Be,Ct){1&Be&&(t.F$t(),t.Hsn(0))},encapsulation:2}),j})(),Gn=(()=>{class j{constructor(Be,Ct,Re,Zt,ri){this.sanitizer=Be,this.config=Ct,this.iconLibrary=Re,this.stackItem=Zt,this.classes=[],null!=ri&&null==Zt&&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(Be){this.animation=Be?"spin":void 0}set pulse(Be){this.animation=Be?"spin-pulse":void 0}ngOnChanges(Be){if(null!=this.icon||null!=this.config.fallbackIcon){if(Be){const Re=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=Re){const Zt=this.buildParams();this.renderIcon(Re,Zt)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(Be){const Ct=((j,Se)=>(j=>void 0!==j.prefix&&void 0!==j.iconName)(j)?j:"string"==typeof j?{prefix:Se,iconName:j}:{prefix:j[0],iconName:j[1]})(Be,this.config.defaultPrefix);return"icon"in Ct?Ct:this.iconLibrary.getIconDefinition(Ct.prefix,Ct.iconName)??((j=>{throw new Error(`Could not find icon with iconName=${j.iconName} and prefix=${j.prefix} in the icon library.`)})(Ct),null)}buildParams(){const Be={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},Ct="string"==typeof this.transform?Eo.transform(this.transform):this.transform;return{title:this.title,transform:Ct,classes:[...an(Be),...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(Be,Ct){const Re=Qo(Be,Ct);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(Re.html.join("\n"))}}return j.\u0275fac=function(Be){return new(Be||j)(t.Y36(As.H7),t.Y36(ua),t.Y36(Ds),t.Y36(Gc,8),t.Y36(yc,8))},j.\u0275cmp=t.Xpm({type:j,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(Be,Ct){2&Be&&(t.Ikx("innerHTML",Ct.renderedIconHTML,t.oJD),t.uIk("title",Ct.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(Be,Ct){},encapsulation:2}),j})(),vt=(()=>{class j{}return j.\u0275fac=function(Be){return new(Be||j)},j.\u0275mod=t.oAB({type:j}),j.\u0275inj=t.cJS({}),j})()},2687:(Ue,q,p)=>{"use strict";p.d(q,{Acd:()=>b2,Aq:()=>Ls,B$L:()=>In,BDt:()=>Q6,CgH:()=>pu,CvI:()=>mf,DL8:()=>j_,FJU:()=>u7,FVb:()=>n1,FlN:()=>uf,FpQ:()=>$3,HLz:()=>E7,KOR:()=>Cs,Krp:()=>eu,Mdf:()=>nf,N2j:()=>mi,NBC:()=>e_,OS1:()=>n2,Psp:()=>xs,Pyt:()=>h7,Sbq:()=>qe,SoD:()=>Zr,Ssp:()=>rv,SuH:()=>Ks,TmZ:()=>K7,USL:()=>u_,Vei:()=>is,Vfw:()=>W4,X5K:()=>K3,XsY:()=>Zi,aj4:()=>Wr,b7W:()=>u8,byT:()=>tn,co4:()=>cm,d63:()=>Va,dLy:()=>R7,dT$:()=>H1,eHv:()=>nv,gNZ:()=>Co,hkK:()=>Xi,hnx:()=>gv,kXW:()=>_m,kZ_:()=>Q7,koM:()=>Vs,mh3:()=>_4,nNP:()=>d5,q7m:()=>H8,qO$:()=>M_,r8p:()=>g5,sqG:()=>df,vqe:()=>N_,wn1:()=>I7,wyP:()=>S1,xf3:()=>gd});var qe={prefix:"fas",iconName:"angles-down",icon:[384,512,["angle-double-down"],"f103","M214.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 0L192 402.7 329.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 0L192 210.7 329.4 73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3z"]},Xi={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"]},mi={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"]},In={prefix:"fas",iconName:"unlock-keyhole",icon:[448,512,["unlock-alt"],"f13e","M224 64c-44.2 0-80 35.8-80 80v48H384c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80V144C80 64.5 144.5 0 224 0c57.5 0 107 33.7 130.1 82.3c7.6 16 .8 35.1-15.2 42.6s-35.1 .8-42.6-15.2C283.4 82.6 255.9 64 224 64zm32 320c17.7 0 32-14.3 32-32s-14.3-32-32-32H192c-17.7 0-32 14.3-32 32s14.3 32 32 32h64z"]},Zi={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"]},tn={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"]},n1={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"]},Ls={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"]},b2={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"]},Wr={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"]},gd={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"]},Vs={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"]},S1={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"]},is={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"]},Va={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"]},eu={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"]},xs={prefix:"fas",iconName:"question",icon:[320,512,[10067,10068,61736],"3f","M64 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-128H128C57.3 32 0 89.3 0 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"]},H1={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"]},n2={prefix:"fas",iconName:"chart-pie",icon:[576,512,["pie-chart"],"f200","M302 240V16.6c0-9 7-16.6 16-16.6C441.7 0 542 100.3 542 224c0 9-7.6 16-16.6 16H302zM30 272C30 150.7 120.1 50.3 237 34.3c9.2-1.3 17 6.1 17 15.4V288L410.5 444.5c6.7 6.7 6.2 17.7-1.5 23.1C369.8 495.6 321.8 512 270 512C137.5 512 30 404.6 30 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-.7L318 288H556.4z"]},Cs={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"]},Ks={prefix:"fas",iconName:"signs-post",icon:[512,512,["map-signs"],"f277","M218 32H58C40.3 32 26 46.3 26 64v64c0 17.7 14.3 32 32 32H435.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.7H282c0-17.7-14.3-32-32-32s-32 14.3-32 32zM474 256c0-17.7-14.3-32-32-32H282V192H218v32H64.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.7H442c17.7 0 32-14.3 32-32V256zM282 480V384H218v96c0 17.7 14.3 32 32 32s32-14.3 32-32z"]},pu={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"]},K3={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"]},_4={prefix:"fas",iconName:"code-branch",icon:[448,512,[],"f126","M80 104c13.3 0 24-10.7 24-24s-10.7-24-24-24S56 66.7 56 80s10.7 24 24 24zm80-24c0 32.8-19.7 61-48 73.3v87.8c18.8-10.9 40.7-17.1 64-17.1h96c35.3 0 64-28.7 64-64v-6.7C307.7 141 288 112.8 288 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V160c0 70.7-57.3 128-128 128H176c-35.3 0-64 28.7-64 64v6.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V352 153.3C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm232 0c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24zM80 456c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]},$3={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"]},nf={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"]},Co={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"]},W4={prefix:"fas",iconName:"angles-up",icon:[384,512,["angle-double-up"],"f102","M214.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 0L192 109.3 329.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 0L192 301.3 329.4 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3z"]},df={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"]},uf={prefix:"fas",iconName:"dumbbell",icon:[640,512,[],"f44b","M112 96c0-17.7 14.3-32 32-32h16c17.7 0 32 14.3 32 32V224v64V416c0 17.7-14.3 32-32 32H144c-17.7 0-32-14.3-32-32V384H64c-17.7 0-32-14.3-32-32V288c-17.7 0-32-14.3-32-32s14.3-32 32-32V160c0-17.7 14.3-32 32-32h48V96zm416 0v32h48c17.7 0 32 14.3 32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32v64c0 17.7-14.3 32-32 32H528v32c0 17.7-14.3 32-32 32H480c-17.7 0-32-14.3-32-32V288 224 96c0-17.7 14.3-32 32-32h16c17.7 0 32 14.3 32 32zM416 224v64H224V224H416z"]},mf={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"]},cm=mf,u8={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M481.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-30.9 28.1c-7.7 7.1-11.4 17.5-10.9 27.9c.1 2.9 .2 5.8 .2 8.8s-.1 5.9-.2 8.8c-.5 10.5 3.1 20.9 10.9 27.9l30.9 28.1c6.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-39.7-12.6c-10-3.2-20.8-1.1-29.7 4.6c-4.9 3.1-9.9 6.1-15.1 8.7c-9.3 4.8-16.5 13.2-18.8 23.4l-8.9 40.7c-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-8.9-40.7c-2.2-10.2-9.5-18.6-18.8-23.4c-5.2-2.7-10.2-5.6-15.1-8.7c-8.8-5.7-19.7-7.8-29.7-4.6L69.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.6l30.9-28.1c7.7-7.1 11.4-17.5 10.9-27.9c-.1-2.9-.2-5.8-.2-8.8s.1-5.9 .2-8.8c.5-10.5-3.1-20.9-10.9-27.9L8.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.8l39.7 12.6c10 3.2 20.8 1.1 29.7-4.6c4.9-3.1 9.9-6.1 15.1-8.7c9.3-4.8 16.5-13.2 18.8-23.4l8.9-40.7c2-9.1 9-16.3 18.2-17.8C213.3 1.2 227.5 0 242 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l8.9 40.7c2.2 10.2 9.4 18.6 18.8 23.4c5.2 2.7 10.2 5.6 15.1 8.7c8.8 5.7 19.7 7.7 29.7 4.6l39.7-12.6c8.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.3zM242 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},_m={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"]},H8={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"]},Q6={prefix:"fas",iconName:"bolt",icon:[384,512,[9889,"zap"],"f0e7","M317.4 44.6c5.9-13.7 1.5-29.7-10.6-38.5s-28.6-8-39.9 1.8l-256 224C.9 240.7-2.6 254.8 2 267.3S18.7 288 32 288H143.5L66.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.7H240.5L317.4 44.6z"]},h7={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"]},u7={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"]},E7={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"]},d5={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M562.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 114L405.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.6C189.5 251.2 196 330 246 380c56.5 56.5 148 56.5 204.5 0L562.8 267.7zM43.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.6C57 372 57 321 88.5 289.5L200.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.6C416.5 260.8 410 182 360 132c-56.5-56.5-148-56.5-204.5 0L43.2 244.3z"]},I7={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"]},R7={prefix:"fas",iconName:"receipt",icon:[384,512,[129534],"f543","M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.2-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6s14 12.4 14 21.8V488c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6L304 471.6l-40.4 34.6c-9 7.7-22.2 7.7-31.2 0L192 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488V24C0 14.6 5.5 6.1 14 2.2zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96zM80 352c0 8.8 7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96z"]},K7={prefix:"fas",iconName:"diagram-project",icon:[576,512,["project-diagram"],"f542","M0 80C0 53.5 21.5 32 48 32h96c26.5 0 48 21.5 48 48V96H384V80c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H432c-26.5 0-48-21.5-48-48V160H192v16c0 1.7-.1 3.4-.3 5L272 288h96c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H272c-26.5 0-48-21.5-48-48V336c0-1.7 .1-3.4 .3-5L144 224H48c-26.5 0-48-21.5-48-48V80z"]},Q7={prefix:"fas",iconName:"copy",icon:[512,512,[],"f0c5","M224 0c-35.3 0-64 28.7-64 64V288c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H224zM64 160c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H288c35.3 0 64-28.7 64-64V384H288v64H64V224h64V160H64z"]},g5={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M240 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H32c-17.7 0-32 14.3-32 32s14.3 32 32 32H176V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H384c17.7 0 32-14.3 32-32s-14.3-32-32-32H240V80z"]},e_={prefix:"fas",iconName:"xmark",icon:[320,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"]},u_={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"]},M_={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"]},N_={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"]},j_={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"]},nv={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"]},rv={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"]},gv={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:(Ue,q,p)=>{"use strict";p.d(q,{eX:()=>V,sQ:()=>He,GW:()=>i,l4:()=>X});var t=p(6451),e=p(9751),b=p(7579),I=p(8502),s=p(515),C=p(9646),h=p(2843),P=p(576);class S{constructor(Ht,Et,It){this.kind=Ht,this.value=Et,this.error=It,this.hasValue="N"===Ht}observe(Ht){return w(this,Ht)}do(Ht,Et,It){const{kind:bt,value:we,error:J}=this;return"N"===bt?Ht?.(we):"E"===bt?Et?.(J):It?.()}accept(Ht,Et,It){var bt;return(0,P.m)(null===(bt=Ht)||void 0===bt?void 0:bt.next)?this.observe(Ht):this.do(Ht,Et,It)}toObservable(){const{kind:Ht,value:Et,error:It}=this,bt="N"===Ht?(0,C.of)(Et):"E"===Ht?(0,h._)(()=>It):"C"===Ht?s.E:0;if(!bt)throw new TypeError(`Unexpected notification kind ${Ht}`);return bt}static createNext(Ht){return new S("N",Ht)}static createError(Ht){return new S("E",void 0,Ht)}static createComplete(){return S.completeNotification}}function w(Qe,Ht){var Et,It,bt;const{kind:we,value:J,error:be}=Qe;if("string"!=typeof we)throw new TypeError('Invalid notification, missing "kind"');"N"===we?null===(Et=Ht.next)||void 0===Et||Et.call(Ht,J):"E"===we?null===(It=Ht.error)||void 0===It||It.call(Ht,be):null===(bt=Ht.complete)||void 0===bt||bt.call(Ht)}S.completeNotification=new S("C");var O=p(4482),E=p(5403),z=p(4004),U=p(262),Y=p(9300),K=p(8421);function $(Qe,Ht,Et,It){return(0,O.e)((bt,we)=>{let J;Ht&&"function"!=typeof Ht?({duration:Et,element:J,connector:It}=Ht):J=Ht;const be=new Map,Ve=nt=>{be.forEach(nt),nt(we)},ot=nt=>Ve(yt=>yt.error(nt));let ei=0,Bt=!1;const ti=new E.Q(we,nt=>{try{const yt=Qe(nt);let $t=be.get(yt);if(!$t){be.set(yt,$t=It?It():new b.x);const Vt=function mt(nt,yt){const $t=new e.y(Vt=>{ei++;const ft=yt.subscribe(Vt);return()=>{ft.unsubscribe(),0==--ei&&Bt&&ti.unsubscribe()}});return $t.key=nt,$t}(yt,$t);if(we.next(Vt),Et){const ft=(0,E.x)($t,()=>{$t.complete(),ft?.unsubscribe()},void 0,void 0,()=>be.delete(yt));ti.add((0,K.Xf)(Et(Vt)).subscribe(ft))}}$t.next(J?J(nt):nt)}catch(yt){ot(yt)}},()=>Ve(nt=>nt.complete()),ot,()=>be.clear(),()=>(Bt=!0,0===ei));bt.subscribe(ti)})}var ie=p(5577);function ue(Qe,Ht){return Ht?Et=>Et.pipe(ue((It,bt)=>(0,K.Xf)(Qe(It,bt)).pipe((0,z.U)((we,J)=>Ht(It,we,bt,J))))):(0,O.e)((Et,It)=>{let bt=0,we=null,J=!1;Et.subscribe((0,E.x)(It,be=>{we||(we=(0,E.x)(It,void 0,()=>{we=null,J&&It.complete()}),(0,K.Xf)(Qe(be,bt++)).subscribe(we))},()=>{J=!0,!we&&It.complete()}))})}var ne=p(5698),le=p(4650),ee=p(9653);const me={dispatch:!0,functional:!1,useEffectsErrorHandler:!0},A="__@ngrx/effects_create__";function i(Qe,Ht={}){const Et=Ht.functional?Qe:Qe(),It={...me,...Ht};return Object.defineProperty(Et,A,{value:It}),Et}function y(Qe){return Object.getPrototypeOf(Qe)}function D(Qe){return"function"==typeof Qe}function m(Qe){return Qe.filter(D)}function n(Qe,Ht,Et){const It=y(Qe).constructor.name,bt=function l(Qe){return function a(Qe){return Object.getOwnPropertyNames(Qe).filter(It=>!(!Qe[It]||!Qe[It].hasOwnProperty(A))&&Qe[It][A].hasOwnProperty("dispatch")).map(It=>({propertyName:It,...Qe[It][A]}))}(Qe)}(Qe).map(({propertyName:we,dispatch:J,useEffectsErrorHandler:be})=>{const Ve="function"==typeof Qe[we]?Qe[we]():Qe[we],ot=be?Et(Ve,Ht):Ve;return!1===J?ot.pipe((0,I.l)()):ot.pipe(function R(){return(0,O.e)((Qe,Ht)=>{Qe.subscribe((0,E.x)(Ht,Et=>{Ht.next(S.createNext(Et))},()=>{Ht.next(S.createComplete()),Ht.complete()},Et=>{Ht.next(S.createError(Et)),Ht.complete()}))})}()).pipe((0,z.U)(Bt=>({effect:Qe[we],notification:Bt,propertyName:we,sourceName:It,sourceInstance:Qe})))});return(0,t.T)(...bt)}function B(Qe,Ht,Et=10){return Qe.pipe((0,U.K)(It=>(Ht&&Ht.handleError(It),Et<=1?Qe:B(Qe,Ht,Et-1))))}let V=(()=>{class Qe extends e.y{constructor(Et){super(),Et&&(this.source=Et)}lift(Et){const It=new Qe;return It.source=this,It.operator=Et,It}}return Qe.\u0275fac=function(Et){return new(Et||Qe)(le.LFG(ee.Y$))},Qe.\u0275prov=le.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})();function X(...Qe){return(0,Y.h)(Ht=>Qe.some(Et=>"string"==typeof Et?Et===Ht.type:Et.type===Ht.type))}const De=new le.OlP("@ngrx/effects Internal Root Guard"),tt=new le.OlP("@ngrx/effects User Provided Effects"),je=new le.OlP("@ngrx/effects Internal Root Effects"),ze=new le.OlP("@ngrx/effects Internal Root Effects Instances"),Le=new le.OlP("@ngrx/effects Internal Feature Effects"),ye=new le.OlP("@ngrx/effects Internal Feature Effects Instance Groups"),ce=new le.OlP("@ngrx/effects Effects Error Handler",{providedIn:"root",factory:()=>B}),ve="@ngrx/effects/init";function pt(Qe){return $e(Qe,"ngrxOnInitEffects")}function $e(Qe,Ht){return Qe&&Ht in Qe&&"function"==typeof Qe[Ht]}(0,ee.PH)(ve);let ut=(()=>{class Qe extends b.x{constructor(Et,It){super(),this.errorHandler=Et,this.effectsErrorHandler=It}addEffects(Et){this.next(Et)}toActions(){return this.pipe($(Et=>function T(Qe){return"Object"!==Qe.constructor.name&&"Function"!==Qe.constructor.name}(Et)?y(Et):Et),(0,ie.z)(Et=>Et.pipe($(At))),(0,ie.z)(Et=>{const It=Et.pipe(ue(we=>function _t(Qe,Ht){return Et=>{const It=n(Et,Qe,Ht);return function ae(Qe){return $e(Qe,"ngrxOnRunEffects")}(Et)?Et.ngrxOnRunEffects(It):It}}(this.errorHandler,this.effectsErrorHandler)(we)),(0,z.U)(we=>(function Ke(Qe,Ht){if("N"===Qe.notification.kind){const Et=Qe.notification.value;!function Ae(Qe){return"function"!=typeof Qe&&Qe&&Qe.type&&"string"==typeof Qe.type}(Et)&&Ht.handleError(new Error(`Effect ${function de({propertyName:Qe,sourceInstance:Ht,sourceName:Et}){const It="function"==typeof Ht[Qe];return`"${Et}.${String(Qe)}${It?"()":""}"`}(Qe)} dispatched an invalid action: ${function Ce(Qe){try{return JSON.stringify(Qe)}catch{return Qe}}(Et)}`))}}(we,this.errorHandler),we.notification)),(0,Y.h)(we=>"N"===we.kind&&null!=we.value),function he(){return(0,O.e)((Qe,Ht)=>{Qe.subscribe((0,E.x)(Ht,Et=>w(Et,Ht)))})}()),bt=Et.pipe((0,ne.q)(1),(0,Y.h)(pt),(0,z.U)(we=>we.ngrxOnInitEffects()));return(0,t.T)(It,bt)}))}}return Qe.\u0275fac=function(Et){return new(Et||Qe)(le.LFG(le.qLn),le.LFG(ce))},Qe.\u0275prov=le.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})();function At(Qe){return function Ze(Qe){return $e(Qe,"ngrxOnIdentifyEffects")}(Qe)?Qe.ngrxOnIdentifyEffects():""}let lt=(()=>{class Qe{constructor(Et,It){this.effectSources=Et,this.store=It,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 Qe.\u0275fac=function(Et){return new(Et||Qe)(le.LFG(ut),le.LFG(ee.yh))},Qe.\u0275prov=le.Yz7({token:Qe,factory:Qe.\u0275fac,providedIn:"root"}),Qe})(),St=(()=>{class Qe{constructor(Et,It,bt,we,J,be,Ve){this.sources=Et,It.start();for(const ot of we)Et.addEffects(ot);bt.dispatch({type:ve})}addEffects(Et){this.sources.addEffects(Et)}}return Qe.\u0275fac=function(Et){return new(Et||Qe)(le.LFG(ut),le.LFG(lt),le.LFG(ee.yh),le.LFG(ze),le.LFG(ee.cr,8),le.LFG(ee.CK,8),le.LFG(De,8))},Qe.\u0275mod=le.oAB({type:Qe}),Qe.\u0275inj=le.cJS({}),Qe})(),ke=(()=>{class Qe{constructor(Et,It,bt,we){const J=It.flat();for(const be of J)Et.addEffects(be)}}return Qe.\u0275fac=function(Et){return new(Et||Qe)(le.LFG(St),le.LFG(ye),le.LFG(ee.cr,8),le.LFG(ee.CK,8))},Qe.\u0275mod=le.oAB({type:Qe}),Qe.\u0275inj=le.cJS({}),Qe})(),He=(()=>{class Qe{static forFeature(...Et){const It=Et.flat(),bt=m(It);return{ngModule:ke,providers:[bt,{provide:Le,multi:!0,useValue:It},{provide:tt,multi:!0,useValue:[]},{provide:ye,multi:!0,useFactory:wt,deps:[Le,tt]}]}}static forRoot(...Et){const It=Et.flat(),bt=m(It);return{ngModule:St,providers:[bt,{provide:je,useValue:[It]},{provide:De,useFactory:W},{provide:tt,multi:!0,useValue:[]},{provide:ze,useFactory:wt,deps:[je,tt]}]}}}return Qe.\u0275fac=function(Et){return new(Et||Qe)},Qe.\u0275mod=le.oAB({type:Qe}),Qe.\u0275inj=le.cJS({}),Qe})();function wt(Qe,Ht){const Et=[];for(const It of Qe)Et.push(...It);for(const It of Ht)Et.push(...It);return Et.map(It=>D(It)?(0,le.f3M)(It):It)}function W(){const Qe=(0,le.f3M)(lt,{optional:!0,skipSelf:!0}),Ht=(0,le.f3M)(je,{self:!0});if((1!==Ht.length||0!==Ht[0].length)&&Qe)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,p){if(this.action=q,this.timestamp=p,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,p,t=!0){this.start=q,this.end=p,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(Ue){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}},p="function"==typeof Ue?Ue():Ue,b=Object.assign({},q,{features:p.features||!!p.logOnly&&{pause:!0,export:!0,test:!0}||q.features},p);if(b.maxAge&&b.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${b.maxAge}`);return b}function difference(Ue,q){return Ue.filter(p=>q.indexOf(p)<0)}function unliftState(Ue){const{computedStates:q,currentStateIndex:p}=Ue;if(p>=q.length){const{state:e}=q[q.length-1];return e}const{state:t}=q[p];return t}function unliftAction(Ue){return Ue.actionsById[Ue.nextActionId-1]}function liftAction(Ue){return new PerformAction(Ue,+Date.now())}function sanitizeActions(Ue,q){return Object.keys(q).reduce((p,t)=>{const e=Number(t);return p[e]=sanitizeAction(Ue,q[e],e),p},{})}function sanitizeAction(Ue,q,p){return{...q,action:Ue(q.action,p)}}function sanitizeStates(Ue,q){return q.map((p,t)=>({state:sanitizeState(Ue,p.state,t),error:p.error}))}function sanitizeState(Ue,q,p){return Ue(q,p)}function shouldFilterActions(Ue){return Ue.predicate||Ue.actionsSafelist||Ue.actionsBlocklist}function filterLiftedState(Ue,q,p,t){const e=[],b={},I=[];return Ue.stagedActionIds.forEach((s,C)=>{const h=Ue.actionsById[s];h&&(C&&isActionFiltered(Ue.computedStates[C],h,q,p,t)||(b[s]=h,e.push(s),I.push(Ue.computedStates[C])))}),{...Ue,stagedActionIds:e,actionsById:b,computedStates:I}}function isActionFiltered(Ue,q,p,t,e){const b=p&&!p(Ue,q.action),I=t&&!q.action.type.match(t.map(C=>escapeRegExp(C)).join("|")),s=e&&q.action.type.match(e.map(C=>escapeRegExp(C)).join("|"));return b||I||s}function escapeRegExp(Ue){return Ue.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}let DevtoolsDispatcher=(()=>{class Ue extends _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.UO{}return Ue.\u0275fac=function(){let q;return function(t){return(q||(q=_angular_core__WEBPACK_IMPORTED_MODULE_0__.n5z(Ue)))(t||Ue)}}(),Ue.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:Ue,factory:Ue.\u0275fac}),Ue})();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(Ue,q,p){this.config=q,this.dispatcher=p,this.devtoolsExtension=Ue,this.createActionStreams()}notify(Ue,q){if(this.devtoolsExtension)if(Ue.type===PERFORM_ACTION){if(q.isLocked||q.isPaused)return;const p=unliftState(q);if(shouldFilterActions(this.config)&&isActionFiltered(p,Ue,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;const t=this.config.stateSanitizer?sanitizeState(this.config.stateSanitizer,p,q.currentStateIndex):p,e=this.config.actionSanitizer?sanitizeAction(this.config.actionSanitizer,Ue,q.nextActionId):Ue;this.sendToReduxDevtools(()=>this.extensionConnection.send(e,t))}else{const p={...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,p,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new rxjs__WEBPACK_IMPORTED_MODULE_3__.y(Ue=>{const q=this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=q,q.init(),q.subscribe(p=>Ue.next(p)),q.unsubscribe}):rxjs__WEBPACK_IMPORTED_MODULE_2__.E}createActionStreams(){const Ue=this.createChangesObservable().pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_4__.B)()),q=Ue.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(s=>s.type===ExtensionActionTypes.START)),p=Ue.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_5__.h)(s=>s.type===ExtensionActionTypes.STOP)),t=Ue.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))),b=Ue.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)(p)),I=t.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(p));this.start$=q.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_13__.R)(p)),this.actions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>b)),this.liftedActions$=this.start$.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_14__.w)(()=>I))}unwrapAction(action){return"string"==typeof action?eval(`(${action})`):action}getExtensionConfig(Ue){const q={name:Ue.name,features:Ue.features,serialize:Ue.serialize,autoPause:Ue.autoPause??!1,trace:Ue.trace??!1,traceLimit:Ue.traceLimit??75};return!1!==Ue.maxAge&&(q.maxAge=Ue.maxAge),q}sendToReduxDevtools(Ue){try{Ue()}catch(q){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",q)}}}return DevtoolsExtension.\u0275fac=function Ue(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(Ue,q,p,t,e){if(t)return{state:p,error:"Interrupted by an error up the chain"};let I,b=p;try{b=Ue(p,q)}catch(s){I=s.toString(),e.handleError(s)}return{state:b,error:I}}function recomputeStates(Ue,q,p,t,e,b,I,s,C){if(q>=Ue.length&&Ue.length===b.length)return Ue;const h=Ue.slice(0,q),P=b.length-(C?1:0);for(let d=q;d<P;d++){const S=b[d],w=e[S].action,O=h[d-1],E=O?O.state:t,R=O?O.error:void 0,U=I.indexOf(S)>-1?O:computeNextEntry(p,w,E,R,s);h.push(U)}return C&&h.push(Ue[Ue.length-1]),h}function liftInitialState(Ue,q){return{monitorState:q(void 0,{}),nextActionId:1,actionsById:{0:liftAction(INIT_ACTION)},stagedActionIds:[0],skippedActionIds:[],committedState:Ue,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function liftReducerWith(Ue,q,p,t,e={}){return b=>(I,s)=>{let{monitorState:C,actionsById:h,nextActionId:P,stagedActionIds:d,skippedActionIds:S,committedState:w,currentStateIndex:O,computedStates:E,isLocked:R,isPaused:z}=I||q;function U($){let ie=$,ue=d.slice(1,ie+1);for(let he=0;he<ue.length;he++){if(E[he+1].error){ie=he,ue=d.slice(1,ie+1);break}delete h[ue[he]]}S=S.filter(he=>-1===ue.indexOf(he)),d=[0,...d.slice(ie+1)],w=E[ie].state,E=E.slice(ie),O=O>ie?O-ie:0}function Y(){h={0:liftAction(INIT_ACTION)},P=1,d=[0],S=[],w=E[O].state,O=0,E=[]}I||(h=Object.create(h));let K=0;switch(s.type){case LOCK_CHANGES:R=s.status,K=1/0;break;case PAUSE_RECORDING:z=s.status,z?(d=[...d,P],h[P]=new PerformAction({type:"@ngrx/devtools/pause"},+Date.now()),P++,K=d.length-1,E=E.concat(E[E.length-1]),O===d.length-2&&O++,K=1/0):Y();break;case RESET:h={0:liftAction(INIT_ACTION)},P=1,d=[0],S=[],w=Ue,O=0,E=[];break;case COMMIT:Y();break;case ROLLBACK:h={0:liftAction(INIT_ACTION)},P=1,d=[0],S=[],O=0,E=[];break;case TOGGLE_ACTION:{const{id:$}=s;S=-1===S.indexOf($)?[$,...S]:S.filter(ue=>ue!==$),K=d.indexOf($);break}case SET_ACTIONS_ACTIVE:{const{start:$,end:ie,active:ue}=s,he=[];for(let ne=$;ne<ie;ne++)he.push(ne);S=ue?difference(S,he):[...S,...he],K=d.indexOf($);break}case JUMP_TO_STATE:O=s.index,K=1/0;break;case JUMP_TO_ACTION:{const $=d.indexOf(s.actionId);-1!==$&&(O=$),K=1/0;break}case SWEEP:d=difference(d,S),S=[],O=Math.min(O,d.length-1);break;case PERFORM_ACTION:{if(R)return I||q;if(z||I&&isActionFiltered(I.computedStates[O],s,e.predicate,e.actionsSafelist,e.actionsBlocklist)){const ie=E[E.length-1];E=[...E.slice(0,-1),computeNextEntry(b,s.action,ie.state,ie.error,p)],K=1/0;break}e.maxAge&&d.length===e.maxAge&&U(1),O===d.length-1&&O++;const $=P++;h[$]=s,d=[...d,$],K=d.length-1;break}case IMPORT_STATE:({monitorState:C,actionsById:h,nextActionId:P,stagedActionIds:d,skippedActionIds:S,committedState:w,currentStateIndex:O,computedStates:E,isLocked:R,isPaused:z}=s.nextLiftedState);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.qg:K=0,e.maxAge&&d.length>e.maxAge&&(E=recomputeStates(E,K,b,w,h,d,S,p,z),U(d.length-e.maxAge),K=1/0);break;case _ngrx_store__WEBPACK_IMPORTED_MODULE_1__.wb:if(E.filter(ie=>ie.error).length>0)K=0,e.maxAge&&d.length>e.maxAge&&(E=recomputeStates(E,K,b,w,h,d,S,p,z),U(d.length-e.maxAge),K=1/0);else{if(!z&&!R){O===d.length-1&&O++;const ie=P++;h[ie]=new PerformAction(s,+Date.now()),d=[...d,ie],K=d.length-1,E=recomputeStates(E,K,b,w,h,d,S,p,z)}E=E.map(ie=>({...ie,state:b(ie.state,RECOMPUTE_ACTION)})),O=d.length-1,e.maxAge&&d.length>e.maxAge&&U(d.length-e.maxAge),K=1/0}break;default:K=1/0}return E=recomputeStates(E,K,b,w,h,d,S,p,z),C=t(C,s),{monitorState:C,actionsById:h,nextActionId:P,stagedActionIds:d,skippedActionIds:S,committedState:w,currentStateIndex:O,computedStates:E,isLocked:R,isPaused:z}}}let StoreDevtools=(()=>{class Ue{constructor(p,t,e,b,I,s,C,h){const P=liftInitialState(C,h.monitor),d=liftReducerWith(C,P,s,h.monitor,h),S=(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)),b.actions$).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(liftAction)),p,b.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)),O=new rxjs__WEBPACK_IMPORTED_MODULE_19__.t(1),E=S.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_20__.M)(w),(0,rxjs_operators__WEBPACK_IMPORTED_MODULE_21__.R)(({state:Y},[K,$])=>{let ie=$(Y,K);return K.type!==PERFORM_ACTION&&shouldFilterActions(h)&&(ie=filterLiftedState(ie,h.predicate,h.actionsSafelist,h.actionsBlocklist)),b.notify(K,ie),{state:ie,action:K}},{state:P,action:null})).subscribe(({state:Y,action:K})=>{O.next(Y),K.type===PERFORM_ACTION&&I.next(K.action)}),R=b.start$.subscribe(()=>{this.refresh()}),z=O.asObservable(),U=z.pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_6__.U)(unliftState));this.extensionStartSubscription=R,this.stateSubscription=E,this.dispatcher=p,this.liftedState=z,this.state=U}dispatch(p){this.dispatcher.next(p)}next(p){this.dispatcher.next(p)}error(p){}complete(){}performAction(p){this.dispatch(new PerformAction(p,+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(p){this.dispatch(new ToggleAction(p))}jumpToAction(p){this.dispatch(new JumpToAction(p))}jumpToState(p){this.dispatch(new JumpToState(p))}importState(p){this.dispatch(new ImportState(p))}lockChanges(p){this.dispatch(new LockChanges(p))}pauseRecording(p){this.dispatch(new PauseRecording(p))}}return Ue.\u0275fac=function(p){return new(p||Ue)(_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))},Ue.\u0275prov=_angular_core__WEBPACK_IMPORTED_MODULE_0__.Yz7({token:Ue,factory:Ue.\u0275fac}),Ue})();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(Ue,q){return Boolean(Ue)||q.monitor!==noMonitor}function createReduxDevtoolsExtension(){const Ue="__REDUX_DEVTOOLS_EXTENSION__";return"object"==typeof window&&typeof window[Ue]<"u"?window[Ue]:null}function provideStoreDevtools(Ue={}){return(0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.MR2)([DevtoolsExtension,DevtoolsDispatcher,StoreDevtools,{provide:INITIAL_OPTIONS,useValue:Ue},{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(Ue){return Ue.state}let StoreDevtoolsModule=(()=>{class Ue{static instrument(p={}){return{ngModule:Ue,providers:[provideStoreDevtools(p)]}}}return Ue.\u0275fac=function(p){return new(p||Ue)},Ue.\u0275mod=_angular_core__WEBPACK_IMPORTED_MODULE_0__.oAB({type:Ue}),Ue.\u0275inj=_angular_core__WEBPACK_IMPORTED_MODULE_0__.cJS({}),Ue})()},9653:(Ue,q,p)=>{"use strict";p.d(q,{UO:()=>le,qg:()=>ne,Y6:()=>i,mK:()=>Ze,n$:()=>te,Y$:()=>pt,FR:()=>ut,yh:()=>St,CK:()=>ka,Aw:()=>Di,cr:()=>ga,wb:()=>Ge,PH:()=>R,ZF:()=>ft,Lq:()=>Mn,P1:()=>yt,on:()=>Hi,Ky:()=>z});var t=p(4650),e=p(1135),b=p(9751),I=p(7579),s=p(233),C=p(5363),h=p(1365),P=p(5026),d=p(4004),w=p(1884);const O={};function R(Qt,fi){if(O[Qt]=(O[Qt]||0)+1,"function"==typeof fi)return Y(Qt,(...mi)=>({...fi(...mi),type:Qt}));switch(fi?fi._as:"empty"){case"empty":return Y(Qt,()=>({type:Qt}));case"props":return Y(Qt,mi=>({...mi,type:Qt}));default:throw new Error("Unexpected config.")}}function z(){return{_as:"props",_p:void 0}}function Y(Qt,fi){return Object.defineProperty(fi,"type",{value:Qt,writable:!1})}const ne="@ngrx/store/init";let le=(()=>{class Qt extends e.X{constructor(){super({type:ne})}next(hi){if("function"==typeof hi)throw new TypeError("\n Dispatch expected an object, instead it received a function.\n If you're using the createAction function, make sure to invoke the function\n before dispatching the action. For example, someAction should be someAction().");if(typeof hi>"u")throw new TypeError("Actions must be objects");if(typeof hi.type>"u")throw new TypeError("Actions must have a type property");super.next(hi)}complete(){}ngOnDestroy(){super.complete()}}return Qt.\u0275fac=function(hi){return new(hi||Qt)},Qt.\u0275prov=t.Yz7({token:Qt,factory:Qt.\u0275fac}),Qt})();const ee=[le],me=new t.OlP("@ngrx/store Internal Root Guard"),A=new t.OlP("@ngrx/store Internal Initial State"),i=new t.OlP("@ngrx/store Initial State"),a=new t.OlP("@ngrx/store Reducer Factory"),u=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"),T=new t.OlP("@ngrx/store Store Features"),D=new t.OlP("@ngrx/store Internal Store Reducers"),m=new t.OlP("@ngrx/store Internal Feature Reducers"),n=new t.OlP("@ngrx/store Internal Feature Configs"),v=new t.OlP("@ngrx/store Internal Store Features"),B=new t.OlP("@ngrx/store Internal Feature Reducers Token"),V=new t.OlP("@ngrx/store Feature Reducers"),X=new t.OlP("@ngrx/store User Provided Meta Reducers"),De=new t.OlP("@ngrx/store Meta Reducers"),tt=new t.OlP("@ngrx/store Internal Resolved Meta Reducers"),je=new t.OlP("@ngrx/store User Runtime Checks Config"),ze=new t.OlP("@ngrx/store Internal User Runtime Checks Config"),Le=new t.OlP("@ngrx/store Internal Runtime Checks"),ye=new t.OlP("@ngrx/store Check if Action types are unique");function oe(Qt,fi={}){const hi=Object.keys(Qt),mi={};for(let Vi=0;Vi<hi.length;Vi++){const fn=hi[Vi];"function"==typeof Qt[fn]&&(mi[fn]=Qt[fn])}const ki=Object.keys(mi);return function(fn,Un){fn=void 0===fn?fi:fn;let Bn=!1;const _a={};for(let Dn=0;Dn<ki.length;Dn++){const Hn=ki[Dn],zn=fn[Hn],$n=(0,mi[Hn])(zn,Un);_a[Hn]=$n,Bn=Bn||$n!==zn}return Bn?_a:fn}}function Ae(...Qt){return function(fi){if(0===Qt.length)return fi;const hi=Qt[Qt.length-1];return Qt.slice(0,-1).reduceRight((ki,Vi)=>Vi(ki),hi(fi))}}function de(Qt,fi){return Array.isArray(fi)&&fi.length>0&&(Qt=Ae.apply(null,[...fi,Qt])),(hi,mi)=>{const ki=Qt(hi);return(Vi,fn)=>ki(Vi=void 0===Vi?mi:Vi,fn)}}new t.OlP("@ngrx/store Root Store Provider"),new t.OlP("@ngrx/store Feature State Provider");class te extends b.y{}class Ze extends le{}const Ge="@ngrx/store/update-reducers";let ae=(()=>{class Qt extends e.X{constructor(hi,mi,ki,Vi){super(Vi(ki,mi)),this.dispatcher=hi,this.initialState=mi,this.reducers=ki,this.reducerFactory=Vi}get currentReducers(){return this.reducers}addFeature(hi){this.addFeatures([hi])}addFeatures(hi){const mi=hi.reduce((ki,{reducers:Vi,reducerFactory:fn,metaReducers:Un,initialState:Bn,key:_a})=>{const Dn="function"==typeof Vi?function Ce(Qt){const fi=Array.isArray(Qt)&&Qt.length>0?Ae(...Qt):hi=>hi;return(hi,mi)=>(hi=fi(hi),(ki,Vi)=>hi(ki=void 0===ki?mi:ki,Vi))}(Un)(Vi,Bn):de(fn,Un)(Vi,Bn);return ki[_a]=Dn,ki},{});this.addReducers(mi)}removeFeature(hi){this.removeFeatures([hi])}removeFeatures(hi){this.removeReducers(hi.map(mi=>mi.key))}addReducer(hi,mi){this.addReducers({[hi]:mi})}addReducers(hi){this.reducers={...this.reducers,...hi},this.updateReducers(Object.keys(hi))}removeReducer(hi){this.removeReducers([hi])}removeReducers(hi){hi.forEach(mi=>{this.reducers=function Ke(Qt,fi){return Object.keys(Qt).filter(hi=>hi!==fi).reduce((hi,mi)=>Object.assign(hi,{[mi]:Qt[mi]}),{})}(this.reducers,mi)}),this.updateReducers(hi)}updateReducers(hi){this.next(this.reducerFactory(this.reducers,this.initialState)),this.dispatcher.next({type:Ge,features:hi})}ngOnDestroy(){this.complete()}}return Qt.\u0275fac=function(hi){return new(hi||Qt)(t.LFG(Ze),t.LFG(i),t.LFG(l),t.LFG(a))},Qt.\u0275prov=t.Yz7({token:Qt,factory:Qt.\u0275fac}),Qt})();const ge=[ae,{provide:te,useExisting:ae},{provide:Ze,useExisting:le}];let pt=(()=>{class Qt extends I.x{ngOnDestroy(){this.complete()}}return Qt.\u0275fac=function(){let fi;return function(mi){return(fi||(fi=t.n5z(Qt)))(mi||Qt)}}(),Qt.\u0275prov=t.Yz7({token:Qt,factory:Qt.\u0275fac}),Qt})();const $e=[pt];class ut extends b.y{}let At=(()=>{class Qt extends e.X{constructor(hi,mi,ki,Vi){super(Vi);const _a=hi.pipe((0,C.Q)(s.N)).pipe((0,h.M)(mi)).pipe((0,P.R)(_t,{state:Vi}));this.stateSubscription=_a.subscribe(({state:Dn,action:Hn})=>{this.next(Dn),ki.next(Hn)})}ngOnDestroy(){this.stateSubscription.unsubscribe(),this.complete()}}return Qt.INIT=ne,Qt.\u0275fac=function(hi){return new(hi||Qt)(t.LFG(le),t.LFG(te),t.LFG(pt),t.LFG(i))},Qt.\u0275prov=t.Yz7({token:Qt,factory:Qt.\u0275fac}),Qt})();function _t(Qt={state:void 0},[fi,hi]){const{state:mi}=Qt;return{state:hi(mi,fi),action:fi}}const lt=[At,{provide:ut,useExisting:At}];let St=(()=>{class Qt extends b.y{constructor(hi,mi,ki){super(),this.actionsObserver=mi,this.reducerManager=ki,this.source=hi}select(hi,...mi){return He.call(null,hi,...mi)(this)}lift(hi){const mi=new Qt(this,this.actionsObserver,this.reducerManager);return mi.operator=hi,mi}dispatch(hi){this.actionsObserver.next(hi)}next(hi){this.actionsObserver.next(hi)}error(hi){this.actionsObserver.error(hi)}complete(){this.actionsObserver.complete()}addReducer(hi,mi){this.reducerManager.addReducer(hi,mi)}removeReducer(hi){this.reducerManager.removeReducer(hi)}}return Qt.\u0275fac=function(hi){return new(hi||Qt)(t.LFG(ut),t.LFG(le),t.LFG(ae))},Qt.\u0275prov=t.Yz7({token:Qt,factory:Qt.\u0275fac}),Qt})();const ke=[St];function He(Qt,fi,...hi){return function(ki){let Vi;if("string"==typeof Qt){const fn=[fi,...hi].filter(Boolean);Vi=ki.pipe(function S(...Qt){const fi=Qt.length;if(0===fi)throw new Error("list of properties cannot be empty.");return(0,d.U)(hi=>{let mi=hi;for(let ki=0;ki<fi;ki++){const Vi=mi?.[Qt[ki]];if(!(typeof Vi<"u"))return;mi=Vi}return mi})}(Qt,...fn))}else{if("function"!=typeof Qt)throw new TypeError(`Unexpected type '${typeof Qt}' in select operator, expected 'string' or 'function'`);Vi=ki.pipe((0,d.U)(fn=>Qt(fn,fi)))}return Vi.pipe((0,w.x)())}}const wt="https://ngrx.io/guide/store/configuration/runtime-checks";function W(Qt){return void 0===Qt}function Fe(Qt){return null===Qt}function Ft(Qt){return Array.isArray(Qt)}function Et(Qt){return"object"==typeof Qt&&null!==Qt}function we(Qt){return"function"==typeof Qt}function Bt(Qt,fi){return Qt===fi}function ti(Qt,fi,hi){for(let mi=0;mi<Qt.length;mi++)if(!hi(Qt[mi],fi[mi]))return!0;return!1}function nt(Qt,fi=Bt,hi=Bt){let Vi,mi=null,ki=null;return{memoized:function _a(){if(void 0!==Vi)return Vi.result;if(!mi)return ki=Qt.apply(null,arguments),mi=arguments,ki;if(!ti(arguments,mi,fi))return ki;const Dn=Qt.apply(null,arguments);return mi=arguments,hi(ki,Dn)?ki:(ki=Dn,Dn)},reset:function fn(){mi=null,ki=null},setResult:function Un(Dn){Vi={result:Dn}},clearResult:function Bn(){Vi=void 0}}}function yt(...Qt){return function Vt(Qt,fi={stateFn:$t}){return function(...hi){let mi=hi;if(Array.isArray(mi[0])){const[Dn,...Hn]=mi;mi=[...Dn,...Hn]}else 1===mi.length&&function Pt(Qt){return!!Qt&&"object"==typeof Qt&&Object.values(Qt).every(fi=>"function"==typeof fi)}(mi[0])&&(mi=function Pe(Qt){const fi=Object.values(Qt),hi=Object.keys(Qt);return[...fi,(...ki)=>hi.reduce((Vi,fn,Un)=>({...Vi,[fn]:ki[Un]}),{})]}(mi[0]));const ki=mi.slice(0,mi.length-1),Vi=mi[mi.length-1],fn=ki.filter(Dn=>Dn.release&&"function"==typeof Dn.release),Un=Qt(function(...Dn){return Vi.apply(null,Dn)}),Bn=nt(function(Dn,Hn){return fi.stateFn.apply(null,[Dn,ki,Hn,Un])});return Object.assign(Bn.memoized,{release:function _a(){Bn.reset(),Un.reset(),fn.forEach(Dn=>Dn.release())},projector:Un.memoized,setResult:Bn.setResult,clearResult:Bn.clearResult})}}(nt)(...Qt)}function $t(Qt,fi,hi,mi){if(void 0===hi){const Vi=fi.map(fn=>fn(Qt));return mi.memoized.apply(null,Vi)}const ki=fi.map(Vi=>Vi(Qt,hi));return mi.memoized.apply(null,[...ki,hi])}function ft(Qt){return yt(fi=>{const hi=fi[Qt];return(0,t.X6Q)()&&!(Qt in fi)&&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.`),hi},fi=>fi)}function Lt(Qt){return Qt instanceof t.OlP?(0,t.f3M)(Qt):Qt}function ui(Qt,fi){return fi.map((hi,mi)=>{if(Qt[mi]instanceof t.OlP){const ki=(0,t.f3M)(Qt[mi]);return{key:hi.key,reducerFactory:ki.reducerFactory?ki.reducerFactory:oe,metaReducers:ki.metaReducers?ki.metaReducers:[],initialState:ki.initialState}}return hi})}function Ti(Qt){return Qt.map(fi=>fi instanceof t.OlP?(0,t.f3M)(fi):fi)}function yi(Qt){return"function"==typeof Qt?Qt():Qt}function Ni(Qt,fi){return Qt.concat(fi)}function Xe(){if((0,t.f3M)(St,{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 xe(Qt){Object.freeze(Qt);const fi=we(Qt);return Object.getOwnPropertyNames(Qt).forEach(hi=>{if(!hi.startsWith("\u0275")&&function be(Qt,fi){return Object.prototype.hasOwnProperty.call(Qt,fi)}(Qt,hi)&&(!fi||"caller"!==hi&&"callee"!==hi&&"arguments"!==hi)){const mi=Qt[hi];(Et(mi)||we(mi))&&!Object.isFrozen(mi)&&xe(mi)}}),Qt}function jt(Qt,fi=[]){return(W(Qt)||Fe(Qt))&&0===fi.length?{path:["root"],value:Qt}:Object.keys(Qt).reduce((mi,ki)=>{if(mi)return mi;const Vi=Qt[ki];return function J(Qt){return we(Qt)&&Qt.hasOwnProperty("\u0275cmp")}(Vi)?mi:!(W(Vi)||Fe(Vi)||function Ht(Qt){return"number"==typeof Qt}(Vi)||function Qe(Qt){return"boolean"==typeof Qt}(Vi)||function qe(Qt){return"string"==typeof Qt}(Vi)||Ft(Vi))&&(function bt(Qt){if(!function It(Qt){return Et(Qt)&&!Ft(Qt)}(Qt))return!1;const fi=Object.getPrototypeOf(Qt);return fi===Object.prototype||null===fi}(Vi)?jt(Vi,[...fi,ki]):{path:[...fi,ki],value:Vi})},!1)}function li(Qt,fi){if(!1===Qt)return;const hi=Qt.path.join("."),mi=new Error(`Detected unserializable ${fi} at "${hi}". ${wt}#strict${fi}serializability`);throw mi.value=Qt.value,mi.unserializablePath=hi,mi}function Li(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 Gi({strictActionSerializability:Qt,strictStateSerializability:fi}){return hi=>Qt||fi?function Rt(Qt,fi){return function(hi,mi){fi.action(mi)&&li(jt(mi),"action");const ki=Qt(hi,mi);return fi.state()&&li(jt(ki),"state"),ki}}(hi,{action:mi=>Qt&&!$i(mi),state:()=>fi}):hi}function ji({strictActionImmutability:Qt,strictStateImmutability:fi}){return hi=>Qt||fi?function Tt(Qt,fi){return function(hi,mi){const ki=fi.action(mi)?xe(mi):mi,Vi=Qt(hi,ki);return fi.state()?xe(Vi):Vi}}(hi,{action:mi=>Qt&&!$i(mi),state:()=>fi}):hi}function $i(Qt){return Qt.type.startsWith("@ngrx")}function Gt({strictActionWithinNgZone:Qt}){return fi=>Qt?function bi(Qt,fi){return function(hi,mi){if(fi.action(mi)&&!t.R0b.isInAngularZone())throw new Error(`Action '${mi.type}' running outside NgZone. ${wt}#strictactionwithinngzone`);return Qt(hi,mi)}}(fi,{action:hi=>Qt&&!$i(hi)}):fi}function Kt(Qt){return[{provide:ze,useValue:Qt},{provide:je,useFactory:Oe,deps:[ze]},{provide:Le,deps:[je],useFactory:Li},{provide:De,multi:!0,deps:[Le],useFactory:ji},{provide:De,multi:!0,deps:[Le],useFactory:Gi},{provide:De,multi:!0,deps:[Le],useFactory:Gt}]}function fe(){return[{provide:ye,multi:!0,deps:[Le],useFactory:ct}]}function Oe(Qt){return Qt}function ct(Qt){if(!Qt.strictActionTypeUniqueness)return;const fi=Object.entries(O).filter(([,hi])=>hi>1).map(([hi])=>hi);if(fi.length)throw new Error(`Action types are registered more than once, ${fi.map(hi=>`"${hi}"`).join(", ")}. ${wt}#strictactiontypeuniqueness`)}function ii(Qt={},fi={}){return[{provide:me,useFactory:Xe},{provide:A,useValue:fi.initialState},{provide:i,useFactory:yi,deps:[A]},{provide:y,useValue:Qt},{provide:D,useExisting:Qt instanceof t.OlP?Qt:y},{provide:l,deps:[y,[new t.tBr(D)]],useFactory:Lt},{provide:X,useValue:fi.metaReducers?fi.metaReducers:[]},{provide:tt,deps:[De,X],useFactory:Ni},{provide:u,useValue:fi.reducerFactory?fi.reducerFactory:oe},{provide:a,deps:[u,tt],useFactory:de},ee,ge,$e,lt,ke,Kt(fi.runtimeChecks),fe()]}function Ua(Qt,fi,hi={}){return[{provide:n,multi:!0,useValue:Qt instanceof Object?{}:hi},{provide:T,multi:!0,useValue:{key:Qt instanceof Object?Qt.name:Qt,reducerFactory:hi instanceof t.OlP||!hi.reducerFactory?oe:hi.reducerFactory,metaReducers:hi instanceof t.OlP||!hi.metaReducers?[]:hi.metaReducers,initialState:hi instanceof t.OlP||!hi.initialState?void 0:hi.initialState}},{provide:v,deps:[n,T],useFactory:ui},{provide:m,multi:!0,useValue:Qt instanceof Object?Qt.reducer:fi},{provide:B,multi:!0,useExisting:fi instanceof t.OlP?fi:m},{provide:V,multi:!0,deps:[m,[new t.tBr(B)]],useFactory:Ti},fe()]}let ga=(()=>{class Qt{constructor(hi,mi,ki,Vi,fn,Un){}}return Qt.\u0275fac=function(hi){return new(hi||Qt)(t.LFG(le),t.LFG(te),t.LFG(pt),t.LFG(St),t.LFG(me,8),t.LFG(ye,8))},Qt.\u0275mod=t.oAB({type:Qt}),Qt.\u0275inj=t.cJS({}),Qt})(),ka=(()=>{class Qt{constructor(hi,mi,ki,Vi,fn){this.features=hi,this.featureReducers=mi,this.reducerManager=ki;const Un=hi.map((Bn,_a)=>{const Hn=mi.shift()[_a];return{...Bn,reducers:Hn,initialState:yi(Bn.initialState)}});ki.addFeatures(Un)}ngOnDestroy(){this.reducerManager.removeFeatures(this.features)}}return Qt.\u0275fac=function(hi){return new(hi||Qt)(t.LFG(v),t.LFG(V),t.LFG(ae),t.LFG(ga),t.LFG(ye,8))},Qt.\u0275mod=t.oAB({type:Qt}),Qt.\u0275inj=t.cJS({}),Qt})(),Di=(()=>{class Qt{static forRoot(hi,mi){return{ngModule:ga,providers:[...ii(hi,mi)]}}static forFeature(hi,mi,ki={}){return{ngModule:ka,providers:[...Ua(hi,mi,ki)]}}}return Qt.\u0275fac=function(hi){return new(hi||Qt)},Qt.\u0275mod=t.oAB({type:Qt}),Qt.\u0275inj=t.cJS({}),Qt})();function Hi(...Qt){return{reducer:Qt.pop(),types:Qt.map(mi=>mi.type)}}function Mn(Qt,...fi){const hi=new Map;for(const mi of fi)for(const ki of mi.types){const Vi=hi.get(ki);hi.set(ki,Vi?(Un,Bn)=>mi.reducer(Vi(Un,Bn),Bn):mi.reducer)}return function(mi=Qt,ki){const Vi=hi.get(ki.type);return Vi?Vi(mi,ki):mi}}},2213:(Ue,q,p)=>{"use strict";p.d(q,{H5:()=>f4,K$:()=>q3,a4:()=>O4});var t=p(4650),e=p(6895),b=p(655),I=p(4080),s=p(4968),C=p(8372),h=p(7340);function P(){}function d(f){return null==f?P:function(){return this.querySelector(f)}}function w(f){return"object"==typeof f&&"length"in f?f:Array.from(f)}function O(){return[]}function E(f){return null==f?O:function(){return this.querySelectorAll(f)}}function U(f){return function(){return this.matches(f)}}function Y(f){return function(k){return k.matches(f)}}var K=Array.prototype.find;function ie(){return this.firstElementChild}var he=Array.prototype.filter;function ne(){return this.children}function A(f){return new Array(f.length)}function a(f,k){this.ownerDocument=f.ownerDocument,this.namespaceURI=f.namespaceURI,this._next=null,this._parent=f,this.__data__=k}function u(f){return function(){return f}}function l(f,k,r,x,H,Q){for(var dt,Te=0,Yt=k.length,Wt=Q.length;Te<Wt;++Te)(dt=k[Te])?(dt.__data__=Q[Te],x[Te]=dt):r[Te]=new a(f,Q[Te]);for(;Te<Yt;++Te)(dt=k[Te])&&(H[Te]=dt)}function y(f,k,r,x,H,Q,Te){var dt,Yt,Si,Wt=new Map,ai=k.length,gi=Q.length,vi=new Array(ai);for(dt=0;dt<ai;++dt)(Yt=k[dt])&&(vi[dt]=Si=Te.call(Yt,Yt.__data__,dt,k)+"",Wt.has(Si)?H[dt]=Yt:Wt.set(Si,Yt));for(dt=0;dt<gi;++dt)Si=Te.call(f,Q[dt],dt,Q)+"",(Yt=Wt.get(Si))?(x[dt]=Yt,Yt.__data__=Q[dt],Wt.delete(Si)):r[dt]=new a(f,Q[dt]);for(dt=0;dt<ai;++dt)(Yt=k[dt])&&Wt.get(vi[dt])===Yt&&(H[dt]=Yt)}function T(f){return f.__data__}function X(f,k){return f<k?-1:f>k?1:f>=k?0:NaN}a.prototype={constructor:a,appendChild:function(f){return this._parent.insertBefore(f,this._next)},insertBefore:function(f,k){return this._parent.insertBefore(f,k)},querySelector:function(f){return this._parent.querySelector(f)},querySelectorAll:function(f){return this._parent.querySelectorAll(f)}};var ce="http://www.w3.org/1999/xhtml";const ve={svg:"http://www.w3.org/2000/svg",xhtml:ce,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function oe(f){var k=f+="",r=k.indexOf(":");return r>=0&&"xmlns"!==(k=f.slice(0,r))&&(f=f.slice(r+1)),ve.hasOwnProperty(k)?{space:ve[k],local:f}:f}function Ke(f){return function(){this.removeAttribute(f)}}function Ae(f){return function(){this.removeAttributeNS(f.space,f.local)}}function de(f,k){return function(){this.setAttribute(f,k)}}function Ce(f,k){return function(){this.setAttributeNS(f.space,f.local,k)}}function te(f,k){return function(){var r=k.apply(this,arguments);null==r?this.removeAttribute(f):this.setAttribute(f,r)}}function Ze(f,k){return function(){var r=k.apply(this,arguments);null==r?this.removeAttributeNS(f.space,f.local):this.setAttributeNS(f.space,f.local,r)}}function ae(f){return f.ownerDocument&&f.ownerDocument.defaultView||f.document&&f||f.defaultView}function ge(f){return function(){this.style.removeProperty(f)}}function pt(f,k,r){return function(){this.style.setProperty(f,k,r)}}function $e(f,k,r){return function(){var x=k.apply(this,arguments);null==x?this.style.removeProperty(f):this.style.setProperty(f,x,r)}}function At(f,k){return f.style.getPropertyValue(k)||ae(f).getComputedStyle(f,null).getPropertyValue(k)}function _t(f){return function(){delete this[f]}}function lt(f,k){return function(){this[f]=k}}function St(f,k){return function(){var r=k.apply(this,arguments);null==r?delete this[f]:this[f]=r}}function He(f){return f.trim().split(/^|\s+/)}function wt(f){return f.classList||new W(f)}function W(f){this._node=f,this._names=He(f.getAttribute("class")||"")}function Fe(f,k){for(var r=wt(f),x=-1,H=k.length;++x<H;)r.add(k[x])}function Ft(f,k){for(var r=wt(f),x=-1,H=k.length;++x<H;)r.remove(k[x])}function qe(f){return function(){Fe(this,f)}}function Qe(f){return function(){Ft(this,f)}}function Ht(f,k){return function(){(k.apply(this,arguments)?Fe:Ft)(this,f)}}function It(){this.textContent=""}function bt(f){return function(){this.textContent=f}}function we(f){return function(){var k=f.apply(this,arguments);this.textContent=k??""}}function be(){this.innerHTML=""}function Ve(f){return function(){this.innerHTML=f}}function ot(f){return function(){var k=f.apply(this,arguments);this.innerHTML=k??""}}function Bt(){this.nextSibling&&this.parentNode.appendChild(this)}function mt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function yt(f){return function(){var k=this.ownerDocument,r=this.namespaceURI;return r===ce&&k.documentElement.namespaceURI===ce?k.createElement(f):k.createElementNS(r,f)}}function $t(f){return function(){return this.ownerDocument.createElementNS(f.space,f.local)}}function Vt(f){var k=oe(f);return(k.local?$t:yt)(k)}function Pt(){return null}function it(){var f=this.parentNode;f&&f.removeChild(this)}function ht(){var f=this.cloneNode(!1),k=this.parentNode;return k?k.insertBefore(f,this.nextSibling):f}function Lt(){var f=this.cloneNode(!0),k=this.parentNode;return k?k.insertBefore(f,this.nextSibling):f}function Ni(f){return f.trim().split(/^|\s+/).map(function(k){var r="",x=k.indexOf(".");return x>=0&&(r=k.slice(x+1),k=k.slice(0,x)),{type:k,name:r}})}function Xe(f){return function(){var k=this.__on;if(k){for(var Q,r=0,x=-1,H=k.length;r<H;++r)Q=k[r],f.type&&Q.type!==f.type||Q.name!==f.name?k[++x]=Q:this.removeEventListener(Q.type,Q.listener,Q.options);++x?k.length=x:delete this.__on}}}function Tt(f,k,r){return function(){var H,x=this.__on,Q=function yi(f){return function(k){f.call(this,k,this.__data__)}}(k);if(x)for(var Te=0,dt=x.length;Te<dt;++Te)if((H=x[Te]).type===f.type&&H.name===f.name)return this.removeEventListener(H.type,H.listener,H.options),this.addEventListener(H.type,H.listener=Q,H.options=r),void(H.value=k);this.addEventListener(f.type,Q,r),H={type:f.type,name:f.name,value:k,listener:Q,options:r},x?x.push(H):this.__on=[H]}}function Rt(f,k,r){var x=ae(f),H=x.CustomEvent;"function"==typeof H?H=new H(k,r):(H=x.document.createEvent("Event"),r?(H.initEvent(k,r.bubbles,r.cancelable),H.detail=r.detail):H.initEvent(k,!1,!1)),f.dispatchEvent(H)}function jt(f,k){return function(){return Rt(this,f,k)}}function li(f,k){return function(){return Rt(this,f,k.apply(this,arguments))}}W.prototype={add:function(f){this._names.indexOf(f)<0&&(this._names.push(f),this._node.setAttribute("class",this._names.join(" ")))},remove:function(f){var k=this._names.indexOf(f);k>=0&&(this._names.splice(k,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(f){return this._names.indexOf(f)>=0}};var Gi=[null];function ji(f,k){this._groups=f,this._parents=k}function $i(){return new ji([[document.documentElement]],Gi)}ji.prototype=$i.prototype={constructor:ji,select:function S(f){"function"!=typeof f&&(f=d(f));for(var k=this._groups,r=k.length,x=new Array(r),H=0;H<r;++H)for(var Yt,Wt,Q=k[H],Te=Q.length,dt=x[H]=new Array(Te),ai=0;ai<Te;++ai)(Yt=Q[ai])&&(Wt=f.call(Yt,Yt.__data__,ai,Q))&&("__data__"in Yt&&(Wt.__data__=Yt.__data__),dt[ai]=Wt);return new ji(x,this._parents)},selectAll:function z(f){f="function"==typeof f?function R(f){return function(){var k=f.apply(this,arguments);return null==k?[]:w(k)}}(f):E(f);for(var k=this._groups,r=k.length,x=[],H=[],Q=0;Q<r;++Q)for(var Yt,Te=k[Q],dt=Te.length,Wt=0;Wt<dt;++Wt)(Yt=Te[Wt])&&(x.push(f.call(Yt,Yt.__data__,Wt,Te)),H.push(Yt));return new ji(x,H)},selectChild:function ue(f){return this.select(null==f?ie:function $(f){return function(){return K.call(this.children,f)}}("function"==typeof f?f:Y(f)))},selectChildren:function ee(f){return this.selectAll(null==f?ne:function le(f){return function(){return he.call(this.children,f)}}("function"==typeof f?f:Y(f)))},filter:function me(f){"function"!=typeof f&&(f=U(f));for(var k=this._groups,r=k.length,x=new Array(r),H=0;H<r;++H)for(var Yt,Q=k[H],Te=Q.length,dt=x[H]=[],Wt=0;Wt<Te;++Wt)(Yt=Q[Wt])&&f.call(Yt,Yt.__data__,Wt,Q)&&dt.push(Yt);return new ji(x,this._parents)},data:function D(f,k){if(!arguments.length)return Array.from(this,T);var r=k?y:l,x=this._parents,H=this._groups;"function"!=typeof f&&(f=u(f));for(var Q=H.length,Te=new Array(Q),dt=new Array(Q),Yt=new Array(Q),Wt=0;Wt<Q;++Wt){var ai=x[Wt],gi=H[Wt],vi=gi.length,Si=w(f.call(ai,ai&&ai.__data__,Wt,x)),rn=Si.length,gn=dt[Wt]=new Array(rn),Ei=Te[Wt]=new Array(rn),un=Yt[Wt]=new Array(vi);r(ai,gi,gn,Ei,un,Si,k);for(var Zn,Nn,vn=0,pn=0;vn<rn;++vn)if(Zn=gn[vn]){for(vn>=pn&&(pn=vn+1);!(Nn=Ei[pn])&&++pn<rn;);Zn._next=Nn||null}}return(Te=new ji(Te,x))._enter=dt,Te._exit=Yt,Te},enter:function i(){return new ji(this._enter||this._groups.map(A),this._parents)},exit:function m(){return new ji(this._exit||this._groups.map(A),this._parents)},join:function n(f,k,r){var x=this.enter(),H=this,Q=this.exit();return x="function"==typeof f?f(x):x.append(f+""),null!=k&&(H=k(H)),null==r?Q.remove():r(Q),x&&H?x.merge(H).order():H},merge:function v(f){if(!(f instanceof ji))throw new Error("invalid merge");for(var k=this._groups,r=f._groups,x=k.length,Q=Math.min(x,r.length),Te=new Array(x),dt=0;dt<Q;++dt)for(var vi,Yt=k[dt],Wt=r[dt],ai=Yt.length,gi=Te[dt]=new Array(ai),Si=0;Si<ai;++Si)(vi=Yt[Si]||Wt[Si])&&(gi[Si]=vi);for(;dt<x;++dt)Te[dt]=k[dt];return new ji(Te,this._parents)},selection:function Gt(){return this},order:function B(){for(var f=this._groups,k=-1,r=f.length;++k<r;)for(var Te,x=f[k],H=x.length-1,Q=x[H];--H>=0;)(Te=x[H])&&(Q&&4^Te.compareDocumentPosition(Q)&&Q.parentNode.insertBefore(Te,Q),Q=Te);return this},sort:function V(f){function k(gi,vi){return gi&&vi?f(gi.__data__,vi.__data__):!gi-!vi}f||(f=X);for(var r=this._groups,x=r.length,H=new Array(x),Q=0;Q<x;++Q){for(var Wt,Te=r[Q],dt=Te.length,Yt=H[Q]=new Array(dt),ai=0;ai<dt;++ai)(Wt=Te[ai])&&(Yt[ai]=Wt);Yt.sort(k)}return new ji(H,this._parents).order()},call:function De(){var f=arguments[0];return arguments[0]=this,f.apply(null,arguments),this},nodes:function tt(){return Array.from(this)},node:function je(){for(var f=this._groups,k=0,r=f.length;k<r;++k)for(var x=f[k],H=0,Q=x.length;H<Q;++H){var Te=x[H];if(Te)return Te}return null},size:function ze(){let f=0;for(const k of this)++f;return f},empty:function Le(){return!this.node()},each:function ye(f){for(var k=this._groups,r=0,x=k.length;r<x;++r)for(var dt,H=k[r],Q=0,Te=H.length;Q<Te;++Q)(dt=H[Q])&&f.call(dt,dt.__data__,Q,H);return this},attr:function Ge(f,k){var r=oe(f);if(arguments.length<2){var x=this.node();return r.local?x.getAttributeNS(r.space,r.local):x.getAttribute(r)}return this.each((null==k?r.local?Ae:Ke:"function"==typeof k?r.local?Ze:te:r.local?Ce:de)(r,k))},style:function ut(f,k,r){return arguments.length>1?this.each((null==k?ge:"function"==typeof k?$e:pt)(f,k,r??"")):At(this.node(),f)},property:function ke(f,k){return arguments.length>1?this.each((null==k?_t:"function"==typeof k?St:lt)(f,k)):this.node()[f]},classed:function Et(f,k){var r=He(f+"");if(arguments.length<2){for(var x=wt(this.node()),H=-1,Q=r.length;++H<Q;)if(!x.contains(r[H]))return!1;return!0}return this.each(("function"==typeof k?Ht:k?qe:Qe)(r,k))},text:function J(f){return arguments.length?this.each(null==f?It:("function"==typeof f?we:bt)(f)):this.node().textContent},html:function ei(f){return arguments.length?this.each(null==f?be:("function"==typeof f?ot:Ve)(f)):this.node().innerHTML},raise:function ti(){return this.each(Bt)},lower:function nt(){return this.each(mt)},append:function ft(f){var k="function"==typeof f?f:Vt(f);return this.select(function(){return this.appendChild(k.apply(this,arguments))})},insert:function Pe(f,k){var r="function"==typeof f?f:Vt(f),x=null==k?Pt:"function"==typeof k?k:d(k);return this.select(function(){return this.insertBefore(r.apply(this,arguments),x.apply(this,arguments)||null)})},remove:function at(){return this.each(it)},clone:function ui(f){return this.select(f?Lt:ht)},datum:function Ti(f){return arguments.length?this.property("__data__",f):this.node().__data__},on:function xe(f,k,r){var H,Te,x=Ni(f+""),Q=x.length;if(!(arguments.length<2)){for(dt=k?Tt:Xe,H=0;H<Q;++H)this.each(dt(x[H],k,r));return this}var dt=this.node().__on;if(dt)for(var ai,Yt=0,Wt=dt.length;Yt<Wt;++Yt)for(H=0,ai=dt[Yt];H<Q;++H)if((Te=x[H]).type===ai.type&&Te.name===ai.name)return ai.value},dispatch:function bi(f,k){return this.each(("function"==typeof k?li:jt)(f,k))},[Symbol.iterator]:function*Li(){for(var f=this._groups,k=0,r=f.length;k<r;++k)for(var Te,x=f[k],H=0,Q=x.length;H<Q;++H)(Te=x[H])&&(yield Te)}};const Kt=$i;var Oe={value:()=>{}};function ct(){for(var x,f=0,k=arguments.length,r={};f<k;++f){if(!(x=arguments[f]+"")||x in r||/[\s.]/.test(x))throw new Error("illegal type: "+x);r[x]=[]}return new Je(r)}function Je(f){this._=f}function ii(f,k){return f.trim().split(/^|\s+/).map(function(r){var x="",H=r.indexOf(".");if(H>=0&&(x=r.slice(H+1),r=r.slice(0,H)),r&&!k.hasOwnProperty(r))throw new Error("unknown type: "+r);return{type:r,name:x}})}function Oi(f,k){for(var H,r=0,x=f.length;r<x;++r)if((H=f[r]).name===k)return H.value}function Xi(f,k,r){for(var x=0,H=f.length;x<H;++x)if(f[x].name===k){f[x]=Oe,f=f.slice(0,x).concat(f.slice(x+1));break}return null!=r&&f.push({name:k,value:r}),f}Je.prototype=ct.prototype={constructor:Je,on:function(f,k){var H,r=this._,x=ii(f+"",r),Q=-1,Te=x.length;if(!(arguments.length<2)){if(null!=k&&"function"!=typeof k)throw new Error("invalid callback: "+k);for(;++Q<Te;)if(H=(f=x[Q]).type)r[H]=Xi(r[H],f.name,k);else if(null==k)for(H in r)r[H]=Xi(r[H],f.name,null);return this}for(;++Q<Te;)if((H=(f=x[Q]).type)&&(H=Oi(r[H],f.name)))return H},copy:function(){var f={},k=this._;for(var r in k)f[r]=k[r].slice();return new Je(f)},call:function(f,k){if((H=arguments.length-2)>0)for(var H,Q,r=new Array(H),x=0;x<H;++x)r[x]=arguments[x+2];if(!this._.hasOwnProperty(f))throw new Error("unknown type: "+f);for(x=0,H=(Q=this._[f]).length;x<H;++x)Q[x].value.apply(k,r)},apply:function(f,k,r){if(!this._.hasOwnProperty(f))throw new Error("unknown type: "+f);for(var x=this._[f],H=0,Q=x.length;H<Q;++H)x[H].value.apply(k,r)}};const Rn=ct;function ka(f,k,r){f.prototype=k.prototype=r,r.constructor=f}function Di(f,k){var r=Object.create(f.prototype);for(var x in k)r[x]=k[x];return r}function Hi(){}var Qt=1/.7,fi="\\s*([+-]?\\d+)\\s*",hi="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",mi="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ki=/^#([0-9a-f]{3,8})$/,Vi=new RegExp("^rgb\\("+[fi,fi,fi]+"\\)$"),fn=new RegExp("^rgb\\("+[mi,mi,mi]+"\\)$"),Un=new RegExp("^rgba\\("+[fi,fi,fi,hi]+"\\)$"),Bn=new RegExp("^rgba\\("+[mi,mi,mi,hi]+"\\)$"),_a=new RegExp("^hsl\\("+[hi,mi,mi]+"\\)$"),Dn=new RegExp("^hsla\\("+[hi,mi,mi,hi]+"\\)$"),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 jr(){return this.rgb().formatHex()}function $n(){return this.rgb().formatRgb()}function Lr(f){var k,r;return f=(f+"").trim().toLowerCase(),(k=ki.exec(f))?(r=k[1].length,k=parseInt(k[1],16),6===r?Sr(k):3===r?new Fa(k>>8&15|k>>4&240,k>>4&15|240&k,(15&k)<<4|15&k,1):8===r?tr(k>>24&255,k>>16&255,k>>8&255,(255&k)/255):4===r?tr(k>>12&15|k>>8&240,k>>8&15|k>>4&240,k>>4&15|240&k,((15&k)<<4|15&k)/255):null):(k=Vi.exec(f))?new Fa(k[1],k[2],k[3],1):(k=fn.exec(f))?new Fa(255*k[1]/100,255*k[2]/100,255*k[3]/100,1):(k=Un.exec(f))?tr(k[1],k[2],k[3],k[4]):(k=Bn.exec(f))?tr(255*k[1]/100,255*k[2]/100,255*k[3]/100,k[4]):(k=_a.exec(f))?wo(k[1],k[2]/100,k[3]/100,1):(k=Dn.exec(f))?wo(k[1],k[2]/100,k[3]/100,k[4]):Hn.hasOwnProperty(f)?Sr(Hn[f]):"transparent"===f?new Fa(NaN,NaN,NaN,0):null}function Sr(f){return new Fa(f>>16&255,f>>8&255,255&f,1)}function tr(f,k,r,x){return x<=0&&(f=k=r=NaN),new Fa(f,k,r,x)}function Kn(f){return f instanceof Hi||(f=Lr(f)),f?new Fa((f=f.rgb()).r,f.g,f.b,f.opacity):new Fa}function Ga(f,k,r,x){return 1===arguments.length?Kn(f):new Fa(f,k,r,x??1)}function Fa(f,k,r,x){this.r=+f,this.g=+k,this.b=+r,this.opacity=+x}function Kr(){return"#"+Qr(this.r)+Qr(this.g)+Qr(this.b)}function Er(){var f=this.opacity;return(1===(f=isNaN(f)?1:Math.max(0,Math.min(1,f)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===f?")":", "+f+")")}function Qr(f){return((f=Math.max(0,Math.min(255,Math.round(f)||0)))<16?"0":"")+f.toString(16)}function wo(f,k,r,x){return x<=0?f=k=r=NaN:r<=0||r>=1?f=k=NaN:k<=0&&(f=NaN),new Za(f,k,r,x)}function Ma(f){if(f instanceof Za)return new Za(f.h,f.s,f.l,f.opacity);if(f instanceof Hi||(f=Lr(f)),!f)return new Za;if(f instanceof Za)return f;var k=(f=f.rgb()).r/255,r=f.g/255,x=f.b/255,H=Math.min(k,r,x),Q=Math.max(k,r,x),Te=NaN,dt=Q-H,Yt=(Q+H)/2;return dt?(Te=k===Q?(r-x)/dt+6*(r<x):r===Q?(x-k)/dt+2:(k-r)/dt+4,dt/=Yt<.5?Q+H:2-Q-H,Te*=60):dt=Yt>0&&Yt<1?0:Te,new Za(Te,dt,Yt,f.opacity)}function Za(f,k,r,x){this.h=+f,this.s=+k,this.l=+r,this.opacity=+x}function qr(f,k,r){return 255*(f<60?k+(r-k)*f/60:f<180?r:f<240?k+(r-k)*(240-f)/60:k)}function so(f,k,r,x,H){var Q=f*f,Te=Q*f;return((1-3*f+3*Q-Te)*k+(4-6*Q+3*Te)*r+(1+3*f+3*Q-3*Te)*x+Te*H)/6}ka(Hi,Lr,{copy:function(f){return Object.assign(new this.constructor,this,f)},displayable:function(){return this.rgb().displayable()},hex:jr,formatHex:jr,formatHsl:function zn(){return Ma(this).formatHsl()},formatRgb:$n,toString:$n}),ka(Fa,Ga,Di(Hi,{brighter:function(f){return f=null==f?Qt:Math.pow(Qt,f),new Fa(this.r*f,this.g*f,this.b*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new Fa(this.r*f,this.g*f,this.b*f,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Kr,formatHex:Kr,formatRgb:Er,toString:Er})),ka(Za,function Mo(f,k,r,x){return 1===arguments.length?Ma(f):new Za(f,k,r,x??1)},Di(Hi,{brighter:function(f){return f=null==f?Qt:Math.pow(Qt,f),new Za(this.h,this.s,this.l*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new Za(this.h,this.s,this.l*f,this.opacity)},rgb:function(){var f=this.h%360+360*(this.h<0),k=isNaN(f)||isNaN(this.s)?0:this.s,r=this.l,x=r+(r<.5?r:1-r)*k,H=2*r-x;return new Fa(qr(f>=240?f-240:f+120,H,x),qr(f,H,x),qr(f<120?f+240:f-120,H,x),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var f=this.opacity;return(1===(f=isNaN(f)?1:Math.max(0,Math.min(1,f)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===f?")":", "+f+")")}}));const Gr=f=>()=>f;function ir(f,k){var r=k-f;return r?function ho(f,k){return function(r){return f+r*k}}(f,r):Gr(isNaN(f)?k:f)}const pr=function f(k){var r=function fo(f){return 1==(f=+f)?ir:function(k,r){return r-k?function Zr(f,k,r){return f=Math.pow(f,r),k=Math.pow(k,r)-f,r=1/r,function(x){return Math.pow(f+x*k,r)}}(k,r,f):Gr(isNaN(k)?r:k)}}(k);function x(H,Q){var Te=r((H=Ga(H)).r,(Q=Ga(Q)).r),dt=r(H.g,Q.g),Yt=r(H.b,Q.b),Wt=ir(H.opacity,Q.opacity);return function(ai){return H.r=Te(ai),H.g=dt(ai),H.b=Yt(ai),H.opacity=Wt(ai),H+""}}return x.gamma=f,x}(1);function ra(f){return function(k){var Te,dt,r=k.length,x=new Array(r),H=new Array(r),Q=new Array(r);for(Te=0;Te<r;++Te)dt=Ga(k[Te]),x[Te]=dt.r||0,H[Te]=dt.g||0,Q[Te]=dt.b||0;return x=f(x),H=f(H),Q=f(Q),dt.opacity=1,function(Yt){return dt.r=x(Yt),dt.g=H(Yt),dt.b=Q(Yt),dt+""}}}function gr(f,k){var Te,r=k?k.length:0,x=f?Math.min(r,f.length):0,H=new Array(x),Q=new Array(r);for(Te=0;Te<x;++Te)H[Te]=Yn(f[Te],k[Te]);for(;Te<r;++Te)Q[Te]=k[Te];return function(dt){for(Te=0;Te<x;++Te)Q[Te]=H[Te](dt);return Q}}function mo(f,k){var r=new Date;return f=+f,k=+k,function(x){return r.setTime(f*(1-x)+k*x),r}}function Pa(f,k){return f=+f,k=+k,function(r){return f*(1-r)+k*r}}function Jr(f,k){var H,r={},x={};for(H in(null===f||"object"!=typeof f)&&(f={}),(null===k||"object"!=typeof k)&&(k={}),k)H in f?r[H]=Yn(f[H],k[H]):x[H]=k[H];return function(Q){for(H in r)x[H]=r[H](Q);return x}}ra(function co(f){var k=f.length-1;return function(r){var x=r<=0?r=0:r>=1?(r=1,k-1):Math.floor(r*k),H=f[x],Q=f[x+1];return so((r-x/k)*k,x>0?f[x-1]:2*H-Q,H,Q,x<k-1?f[x+2]:2*Q-H)}}),ra(function lo(f){var k=f.length;return function(r){var x=Math.floor(((r%=1)<0?++r:r)*k);return so((r-x/k)*k,f[(x+k-1)%k],f[x%k],f[(x+1)%k],f[(x+2)%k])}});var Xr=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,nr=new RegExp(Xr.source,"g");function ba(f,k){var x,H,Q,r=Xr.lastIndex=nr.lastIndex=0,Te=-1,dt=[],Yt=[];for(f+="",k+="";(x=Xr.exec(f))&&(H=nr.exec(k));)(Q=H.index)>r&&(Q=k.slice(r,Q),dt[Te]?dt[Te]+=Q:dt[++Te]=Q),(x=x[0])===(H=H[0])?dt[Te]?dt[Te]+=H:dt[++Te]=H:(dt[++Te]=null,Yt.push({i:Te,x:Pa(x,H)})),r=nr.lastIndex;return r<k.length&&(Q=k.slice(r),dt[Te]?dt[Te]+=Q:dt[++Te]=Q),dt.length<2?Yt[0]?function $r(f){return function(k){return f(k)+""}}(Yt[0].x):function po(f){return function(){return f}}(k):(k=Yt.length,function(Wt){for(var gi,ai=0;ai<k;++ai)dt[(gi=Yt[ai]).i]=gi.x(Wt);return dt.join("")})}function Or(f,k){k||(k=[]);var H,r=f?Math.min(k.length,f.length):0,x=k.slice();return function(Q){for(H=0;H<r;++H)x[H]=f[H]*(1-Q)+k[H]*Q;return x}}function Yn(f,k){var x,r=typeof k;return null==k||"boolean"===r?Gr(k):("number"===r?Pa:"string"===r?(x=Lr(k))?(k=x,pr):ba:k instanceof Lr?pr:k instanceof Date?mo:function Qn(f){return ArrayBuffer.isView(f)&&!(f instanceof DataView)}(k)?Or:Array.isArray(k)?gr:"function"!=typeof k.valueOf&&"function"!=typeof k.toString||isNaN(k)?Jr:Pa)(f,k)}var Mt,ni,ca=0,Ka=0,zt=0,Pi=0,nn=0,ea=0,la="object"==typeof performance&&performance.now?performance:Date,Yi="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(f){setTimeout(f,17)};function bn(){return nn||(Yi(ar),nn=la.now()+ea)}function ar(){nn=0}function st(){this._call=this._time=this._next=null}function et(f,k,r){var x=new st;return x.restart(f,k,r),x}function Ot(){nn=(Pi=la.now())+ea,ca=Ka=0;try{!function We(){bn(),++ca;for(var k,f=Mt;f;)(k=nn-f._time)>=0&&f._call.call(null,k),f=f._next;--ca}()}finally{ca=0,function cn(){for(var f,r,k=Mt,x=1/0;k;)k._call?(x>k._time&&(x=k._time),f=k,k=k._next):(r=k._next,k._next=null,k=f?f._next=r:Mt=r);ni=f,ha(x)}(),nn=0}}function xi(){var f=la.now(),k=f-Pi;k>1e3&&(ea-=k,Pi=f)}function ha(f){ca||(Ka&&(Ka=clearTimeout(Ka)),f-nn>24?(f<1/0&&(Ka=setTimeout(Ot,f-la.now()-ea)),zt&&(zt=clearInterval(zt))):(zt||(Pi=la.now(),zt=setInterval(xi,1e3)),ca=1,Yi(Ot)))}function wi(f,k,r){var x=new st;return x.restart(H=>{x.stop(),f(H+k)},k=null==k?0:+k,r),x}st.prototype=et.prototype={constructor:st,restart:function(f,k,r){if("function"!=typeof f)throw new TypeError("callback is not a function");r=(null==r?bn():+r)+(null==k?0:+k),!this._next&&ni!==this&&(ni?ni._next=this:Mt=this,ni=this),this._call=f,this._time=r,ha()},stop:function(){this._call&&(this._call=null,this._time=1/0,ha())}};var Ln=Rn("start","end","cancel","interrupt"),Ro=[];function Ss(f,k,r,x,H,Q){var Te=f.__transition;if(Te){if(r in Te)return}else f.__transition={};!function Ii(f,k,r){var H,x=f.__transition;function Te(Wt){var ai,gi,vi,Si;if(1!==r.state)return Yt();for(ai in x)if((Si=x[ai]).name===r.name){if(3===Si.state)return wi(Te);4===Si.state?(Si.state=6,Si.timer.stop(),Si.on.call("interrupt",f,f.__data__,Si.index,Si.group),delete x[ai]):+ai<k&&(Si.state=6,Si.timer.stop(),Si.on.call("cancel",f,f.__data__,Si.index,Si.group),delete x[ai])}if(wi(function(){3===r.state&&(r.state=4,r.timer.restart(dt,r.delay,r.time),dt(Wt))}),r.state=2,r.on.call("start",f,f.__data__,r.index,r.group),2===r.state){for(r.state=3,H=new Array(vi=r.tween.length),ai=0,gi=-1;ai<vi;++ai)(Si=r.tween[ai].value.call(f,f.__data__,r.index,r.group))&&(H[++gi]=Si);H.length=gi+1}}function dt(Wt){for(var ai=Wt<r.duration?r.ease.call(null,Wt/r.duration):(r.timer.restart(Yt),r.state=5,1),gi=-1,vi=H.length;++gi<vi;)H[gi].call(f,ai);5===r.state&&(r.on.call("end",f,f.__data__,r.index,r.group),Yt())}function Yt(){for(var Wt in r.state=6,r.timer.stop(),delete x[k],x)return;delete f.__transition}x[k]=r,r.timer=et(function Q(Wt){r.state=1,r.timer.restart(Te,r.delay,r.time),r.delay<=Wt&&Te(Wt-r.delay)},0,r.time)}(f,r,{name:k,index:x,group:H,on:Ln,tween:Ro,time:Q.time,delay:Q.delay,duration:Q.duration,ease:Q.ease,timer:null,state:0})}function rs(f,k){var r=In(f,k);if(r.state>0)throw new Error("too late; already scheduled");return r}function br(f,k){var r=In(f,k);if(r.state>3)throw new Error("too late; already running");return r}function In(f,k){var r=f.__transition;if(!r||!(r=r[k]))throw new Error("transition not found");return r}var Xs,zi=180/Math.PI,No={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Fo(f,k,r,x,H,Q){var Te,dt,Yt;return(Te=Math.sqrt(f*f+k*k))&&(f/=Te,k/=Te),(Yt=f*r+k*x)&&(r-=f*Yt,x-=k*Yt),(dt=Math.sqrt(r*r+x*x))&&(r/=dt,x/=dt,Yt/=dt),f*x<k*r&&(f=-f,k=-k,Yt=-Yt,Te=-Te),{translateX:H,translateY:Q,rotate:Math.atan2(k,f)*zi,skewX:Math.atan(Yt)*zi,scaleX:Te,scaleY:dt}}function So(f,k,r,x){function H(Wt){return Wt.length?Wt.pop()+" ":""}return function(Wt,ai){var gi=[],vi=[];return Wt=f(Wt),ai=f(ai),function Q(Wt,ai,gi,vi,Si,rn){if(Wt!==gi||ai!==vi){var gn=Si.push("translate(",null,k,null,r);rn.push({i:gn-4,x:Pa(Wt,gi)},{i:gn-2,x:Pa(ai,vi)})}else(gi||vi)&&Si.push("translate("+gi+k+vi+r)}(Wt.translateX,Wt.translateY,ai.translateX,ai.translateY,gi,vi),function Te(Wt,ai,gi,vi){Wt!==ai?(Wt-ai>180?ai+=360:ai-Wt>180&&(Wt+=360),vi.push({i:gi.push(H(gi)+"rotate(",null,x)-2,x:Pa(Wt,ai)})):ai&&gi.push(H(gi)+"rotate("+ai+x)}(Wt.rotate,ai.rotate,gi,vi),function dt(Wt,ai,gi,vi){Wt!==ai?vi.push({i:gi.push(H(gi)+"skewX(",null,x)-2,x:Pa(Wt,ai)}):ai&&gi.push(H(gi)+"skewX("+ai+x)}(Wt.skewX,ai.skewX,gi,vi),function Yt(Wt,ai,gi,vi,Si,rn){if(Wt!==gi||ai!==vi){var gn=Si.push(H(Si)+"scale(",null,",",null,")");rn.push({i:gn-4,x:Pa(Wt,gi)},{i:gn-2,x:Pa(ai,vi)})}else(1!==gi||1!==vi)&&Si.push(H(Si)+"scale("+gi+","+vi+")")}(Wt.scaleX,Wt.scaleY,ai.scaleX,ai.scaleY,gi,vi),Wt=ai=null,function(Si){for(var Ei,rn=-1,gn=vi.length;++rn<gn;)gi[(Ei=vi[rn]).i]=Ei.x(Si);return gi.join("")}}}var Eo=So(function Es(f){const k=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(f+"");return k.isIdentity?No:Fo(k.a,k.b,k.c,k.d,k.e,k.f)},"px, ","px)","deg)"),ss=So(function os(f){return null!=f&&(Xs||(Xs=document.createElementNS("http://www.w3.org/2000/svg","g")),Xs.setAttribute("transform",f),f=Xs.transform.baseVal.consolidate())?Fo((f=f.matrix).a,f.b,f.c,f.d,f.e,f.f):No},", ",")",")");function bc(f,k){var r,x;return function(){var H=br(this,f),Q=H.tween;if(Q!==r)for(var Te=0,dt=(x=r=Q).length;Te<dt;++Te)if(x[Te].name===k){(x=x.slice()).splice(Te,1);break}H.tween=x}}function Qo(f,k,r){var x,H;if("function"!=typeof r)throw new Error;return function(){var Q=br(this,f),Te=Q.tween;if(Te!==x){H=(x=Te).slice();for(var dt={name:k,value:r},Yt=0,Wt=H.length;Yt<Wt;++Yt)if(H[Yt].name===k){H[Yt]=dt;break}Yt===Wt&&H.push(dt)}Q.tween=H}}function ec(f,k,r){var x=f._id;return f.each(function(){var H=br(this,x);(H.value||(H.value={}))[k]=r.apply(this,arguments)}),function(H){return In(H,x).value[k]}}function Ts(f,k,r){f.prototype=k.prototype=r,r.constructor=f}function As(f,k){var r=Object.create(f.prototype);for(var x in k)r[x]=k[x];return r}function Ra(){}var To=1/.7,an="\\s*([+-]?\\d+)\\s*",Oa="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",qa="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ua=/^#([0-9a-f]{3,8})$/,Ds=new RegExp("^rgb\\("+[an,an,an]+"\\)$"),Gc=new RegExp("^rgb\\("+[qa,qa,qa]+"\\)$"),yc=new RegExp("^rgba\\("+[an,an,an,Oa]+"\\)$"),Gn=new RegExp("^rgba\\("+[qa,qa,qa,Oa]+"\\)$"),qi=new RegExp("^hsl\\("+[Oa,qa,qa]+"\\)$"),ya=new RegExp("^hsla\\("+[Oa,qa,qa,Oa]+"\\)$"),Sa={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 Wi(){return this.rgb().formatHex()}function vt(){return this.rgb().formatRgb()}function j(f){var k,r;return f=(f+"").trim().toLowerCase(),(k=ua.exec(f))?(r=k[1].length,k=parseInt(k[1],16),6===r?Se(k):3===r?new Zt(k>>8&15|k>>4&240,k>>4&15|240&k,(15&k)<<4|15&k,1):8===r?Be(k>>24&255,k>>16&255,k>>8&255,(255&k)/255):4===r?Be(k>>12&15|k>>8&240,k>>8&15|k>>4&240,k>>4&15|240&k,((15&k)<<4|15&k)/255):null):(k=Ds.exec(f))?new Zt(k[1],k[2],k[3],1):(k=Gc.exec(f))?new Zt(255*k[1]/100,255*k[2]/100,255*k[3]/100,1):(k=yc.exec(f))?Be(k[1],k[2],k[3],k[4]):(k=Gn.exec(f))?Be(255*k[1]/100,255*k[2]/100,255*k[3]/100,k[4]):(k=qi.exec(f))?Ci(k[1],k[2]/100,k[3]/100,1):(k=ya.exec(f))?Ci(k[1],k[2]/100,k[3]/100,k[4]):Sa.hasOwnProperty(f)?Se(Sa[f]):"transparent"===f?new Zt(NaN,NaN,NaN,0):null}function Se(f){return new Zt(f>>16&255,f>>8&255,255&f,1)}function Be(f,k,r,x){return x<=0&&(f=k=r=NaN),new Zt(f,k,r,x)}function Ct(f){return f instanceof Ra||(f=j(f)),f?new Zt((f=f.rgb()).r,f.g,f.b,f.opacity):new Zt}function Zt(f,k,r,x){this.r=+f,this.g=+k,this.b=+r,this.opacity=+x}function ri(){return"#"+pi(this.r)+pi(this.g)+pi(this.b)}function Jt(){var f=this.opacity;return(1===(f=isNaN(f)?1:Math.max(0,Math.min(1,f)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===f?")":", "+f+")")}function pi(f){return((f=Math.max(0,Math.min(255,Math.round(f)||0)))<16?"0":"")+f.toString(16)}function Ci(f,k,r,x){return x<=0?f=k=r=NaN:r<=0||r>=1?f=k=NaN:k<=0&&(f=NaN),new tn(f,k,r,x)}function Fi(f){if(f instanceof tn)return new tn(f.h,f.s,f.l,f.opacity);if(f instanceof Ra||(f=j(f)),!f)return new tn;if(f instanceof tn)return f;var k=(f=f.rgb()).r/255,r=f.g/255,x=f.b/255,H=Math.min(k,r,x),Q=Math.max(k,r,x),Te=NaN,dt=Q-H,Yt=(Q+H)/2;return dt?(Te=k===Q?(r-x)/dt+6*(r<x):r===Q?(x-k)/dt+2:(k-r)/dt+4,dt/=Yt<.5?Q+H:2-Q-H,Te*=60):dt=Yt>0&&Yt<1?0:Te,new tn(Te,dt,Yt,f.opacity)}function tn(f,k,r,x){this.h=+f,this.s=+k,this.l=+r,this.opacity=+x}function xn(f,k,r){return 255*(f<60?k+(r-k)*f/60:f<180?r:f<240?k+(r-k)*(240-f)/60:k)}function ta(f,k){var r;return("number"==typeof k?Pa:k instanceof j?pr:(r=j(k))?(k=r,pr):ba)(f,k)}function fa(f){return function(){this.removeAttribute(f)}}function ma(f){return function(){this.removeAttributeNS(f.space,f.local)}}function Ea(f,k,r){var x,Q,H=r+"";return function(){var Te=this.getAttribute(f);return Te===H?null:Te===x?Q:Q=k(x=Te,r)}}function xa(f,k,r){var x,Q,H=r+"";return function(){var Te=this.getAttributeNS(f.space,f.local);return Te===H?null:Te===x?Q:Q=k(x=Te,r)}}function Ca(f,k,r){var x,H,Q;return function(){var Te,Yt,dt=r(this);return null==dt?void this.removeAttribute(f):(Te=this.getAttribute(f))===(Yt=dt+"")?null:Te===x&&Yt===H?Q:(H=Yt,Q=k(x=Te,dt))}}function yr(f,k,r){var x,H,Q;return function(){var Te,Yt,dt=r(this);return null==dt?void this.removeAttributeNS(f.space,f.local):(Te=this.getAttributeNS(f.space,f.local))===(Yt=dt+"")?null:Te===x&&Yt===H?Q:(H=Yt,Q=k(x=Te,dt))}}function io(f,k){return function(r){this.setAttribute(f,k.call(this,r))}}function Wa(f,k){return function(r){this.setAttributeNS(f.space,f.local,k.call(this,r))}}function no(f,k){var r,x;function H(){var Q=k.apply(this,arguments);return Q!==x&&(r=(x=Q)&&Wa(f,Q)),r}return H._value=k,H}function _o(f,k){var r,x;function H(){var Q=k.apply(this,arguments);return Q!==x&&(r=(x=Q)&&io(f,Q)),r}return H._value=k,H}function Ho(f,k){return function(){rs(this,f).delay=+k.apply(this,arguments)}}function e1(f,k){return k=+k,function(){rs(this,f).delay=k}}function Sl(f,k){return function(){br(this,f).duration=+k.apply(this,arguments)}}function Pr(f,k){return k=+k,function(){br(this,f).duration=k}}function tc(f,k){if("function"!=typeof k)throw new Error;return function(){br(this,f).ease=k}}function Ls(f,k,r){var x,H,Q=function n1(f){return(f+"").trim().split(/^|\s+/).every(function(k){var r=k.indexOf(".");return r>=0&&(k=k.slice(0,r)),!k||"start"===k})}(k)?rs:br;return function(){var Te=Q(this,f),dt=Te.on;dt!==x&&(H=(x=dt).copy()).on(k,r),Te.on=H}}Ts(Ra,j,{copy:function(f){return Object.assign(new this.constructor,this,f)},displayable:function(){return this.rgb().displayable()},hex:Wi,formatHex:Wi,formatHsl:function Ie(){return Fi(this).formatHsl()},formatRgb:vt,toString:vt}),Ts(Zt,function Re(f,k,r,x){return 1===arguments.length?Ct(f):new Zt(f,k,r,x??1)},As(Ra,{brighter:function(f){return f=null==f?To:Math.pow(To,f),new Zt(this.r*f,this.g*f,this.b*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new Zt(this.r*f,this.g*f,this.b*f,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ri,formatHex:ri,formatRgb:Jt,toString:Jt})),Ts(tn,function Zi(f,k,r,x){return 1===arguments.length?Fi(f):new tn(f,k,r,x??1)},As(Ra,{brighter:function(f){return f=null==f?To:Math.pow(To,f),new tn(this.h,this.s,this.l*f,this.opacity)},darker:function(f){return f=null==f?.7:Math.pow(.7,f),new tn(this.h,this.s,this.l*f,this.opacity)},rgb:function(){var f=this.h%360+360*(this.h<0),k=isNaN(f)||isNaN(this.s)?0:this.s,r=this.l,x=r+(r<.5?r:1-r)*k,H=2*r-x;return new Zt(xn(f>=240?f-240:f+120,H,x),xn(f,H,x),xn(f<120?f+240:f-120,H,x),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var f=this.opacity;return(1===(f=isNaN(f)?1:Math.max(0,Math.min(1,f)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===f?")":", "+f+")")}}));var zo=Kt.prototype.constructor;function J1(f){return function(){this.style.removeProperty(f)}}function Os(f,k,r){return function(x){this.style.setProperty(f,k.call(this,x),r)}}function o1(f,k,r){var x,H;function Q(){var Te=k.apply(this,arguments);return Te!==H&&(x=(H=Te)&&Os(f,Te,r)),x}return Q._value=k,Q}function da(f){return function(k){this.textContent=f.call(this,k)}}function Dl(f){var k,r;function x(){var H=f.apply(this,arguments);return H!==r&&(k=(r=H)&&da(H)),k}return x._value=f,x}var $1=0;function ls(f,k,r,x){this._groups=f,this._parents=k,this._name=r,this._id=x}function Vo(){return++$1}var ic=Kt.prototype;ls.prototype=function f2(f){return Kt().transition(f)}.prototype={constructor:ls,select:function ks(f){var k=this._name,r=this._id;"function"!=typeof f&&(f=d(f));for(var x=this._groups,H=x.length,Q=new Array(H),Te=0;Te<H;++Te)for(var ai,gi,dt=x[Te],Yt=dt.length,Wt=Q[Te]=new Array(Yt),vi=0;vi<Yt;++vi)(ai=dt[vi])&&(gi=f.call(ai,ai.__data__,vi,dt))&&("__data__"in ai&&(gi.__data__=ai.__data__),Wt[vi]=gi,Ss(Wt[vi],k,r,vi,Wt,In(ai,r)));return new ls(Q,this._parents,k,r)},selectAll:function lr(f){var k=this._name,r=this._id;"function"!=typeof f&&(f=E(f));for(var x=this._groups,H=x.length,Q=[],Te=[],dt=0;dt<H;++dt)for(var ai,Yt=x[dt],Wt=Yt.length,gi=0;gi<Wt;++gi)if(ai=Yt[gi]){for(var Si,vi=f.call(ai,ai.__data__,gi,Yt),rn=In(ai,r),gn=0,Ei=vi.length;gn<Ei;++gn)(Si=vi[gn])&&Ss(Si,k,r,gn,vi,rn);Q.push(vi),Te.push(ai)}return new ls(Q,Te,k,r)},filter:function K1(f){"function"!=typeof f&&(f=U(f));for(var k=this._groups,r=k.length,x=new Array(r),H=0;H<r;++H)for(var Yt,Q=k[H],Te=Q.length,dt=x[H]=[],Wt=0;Wt<Te;++Wt)(Yt=Q[Wt])&&f.call(Yt,Yt.__data__,Wt,Q)&&dt.push(Yt);return new ls(x,this._parents,this._name,this._id)},merge:function Q1(f){if(f._id!==this._id)throw new Error;for(var k=this._groups,r=f._groups,x=k.length,Q=Math.min(x,r.length),Te=new Array(x),dt=0;dt<Q;++dt)for(var vi,Yt=k[dt],Wt=r[dt],ai=Yt.length,gi=Te[dt]=new Array(ai),Si=0;Si<ai;++Si)(vi=Yt[Si]||Wt[Si])&&(gi[Si]=vi);for(;dt<x;++dt)Te[dt]=k[dt];return new ls(Te,this._parents,this._name,this._id)},selection:function a1(){return new zo(this._groups,this._parents)},transition:function Qc(){for(var f=this._name,k=this._id,r=Vo(),x=this._groups,H=x.length,Q=0;Q<H;++Q)for(var Yt,Te=x[Q],dt=Te.length,Wt=0;Wt<dt;++Wt)if(Yt=Te[Wt]){var ai=In(Yt,k);Ss(Yt,f,r,Wt,Te,{time:ai.time+ai.delay+ai.duration,delay:0,duration:ai.duration,ease:ai.ease})}return new ls(x,this._parents,f,r)},call:ic.call,nodes:ic.nodes,node:ic.node,size:ic.size,empty:ic.empty,each:ic.each,on:function cs(f,k){var r=this._id;return arguments.length<2?In(this.node(),r).on.on(f):this.each(Ls(r,f,k))},attr:function Ta(f,k){var r=oe(f),x="transform"===r?ss:ta;return this.attrTween(f,"function"==typeof k?(r.local?yr:Ca)(r,x,ec(this,"attr."+f,k)):null==k?(r.local?ma:fa)(r):(r.local?xa:Ea)(r,x,k))},attrTween:function Zc(f,k){var r="attr."+f;if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==k)return this.tween(r,null);if("function"!=typeof k)throw new Error;var x=oe(f);return this.tween(r,(x.local?no:_o)(x,k))},style:function Ao(f,k,r){var x="transform"==(f+="")?Eo:ta;return null==k?this.styleTween(f,function r1(f,k){var r,x,H;return function(){var Q=At(this,f),Te=(this.style.removeProperty(f),At(this,f));return Q===Te?null:Q===r&&Te===x?H:H=k(r=Q,x=Te)}}(f,x)).on("end.style."+f,J1(f)):"function"==typeof k?this.styleTween(f,function xc(f,k,r){var x,H,Q;return function(){var Te=At(this,f),dt=r(this),Yt=dt+"";return null==dt&&(this.style.removeProperty(f),Yt=dt=At(this,f)),Te===Yt?null:Te===x&&Yt===H?Q:(H=Yt,Q=k(x=Te,dt))}}(f,x,ec(this,"style."+f,k))).each(function vo(f,k){var r,x,H,dt,Q="style."+k,Te="end."+Q;return function(){var Yt=br(this,f),Wt=Yt.on,ai=null==Yt.value[Q]?dt||(dt=J1(k)):void 0;(Wt!==r||H!==ai)&&(x=(r=Wt).copy()).on(Te,H=ai),Yt.on=x}}(this._id,f)):this.styleTween(f,function Tl(f,k,r){var x,Q,H=r+"";return function(){var Te=At(this,f);return Te===H?null:Te===x?Q:Q=k(x=Te,r)}}(f,x,k),r).on("end.style."+f,null)},styleTween:function Kc(f,k,r){var x="style."+(f+="");if(arguments.length<2)return(x=this.tween(x))&&x._value;if(null==k)return this.tween(x,null);if("function"!=typeof k)throw new Error;return this.tween(x,o1(f,k,r??""))},text:function Al(f){return this.tween("text","function"==typeof f?function q0(f){return function(){var k=f(this);this.textContent=k??""}}(ec(this,"text",f)):function Ps(f){return function(){this.textContent=f}}(null==f?"":f+""))},textTween:function X1(f){var k="text";if(arguments.length<1)return(k=this.tween(k))&&k._value;if(null==f)return this.tween(k,null);if("function"!=typeof f)throw new Error;return this.tween(k,Dl(f))},remove:function q1(){return this.on("end.remove",function Is(f){return function(){var k=this.parentNode;for(var r in this.__transition)if(+r!==f)return;k&&k.removeChild(this)}}(this._id))},tween:function $s(f,k){var r=this._id;if(f+="",arguments.length<2){for(var Te,x=In(this.node(),r).tween,H=0,Q=x.length;H<Q;++H)if((Te=x[H]).name===f)return Te.value;return null}return this.each((null==k?bc:Qo)(r,f,k))},delay:function Wc(f){var k=this._id;return arguments.length?this.each(("function"==typeof f?Ho:e1)(k,f)):In(this.node(),k).delay},duration:function Yc(f){var k=this._id;return arguments.length?this.each(("function"==typeof f?Sl:Pr)(k,f)):In(this.node(),k).duration},ease:function jc(f){var k=this._id;return arguments.length?this.each(tc(k,f)):In(this.node(),k).ease},easeVarying:function El(f){if("function"!=typeof f)throw new Error;return this.each(function t1(f,k){return function(){var r=k.apply(this,arguments);if("function"!=typeof r)throw new Error;br(this,f).ease=r}}(this._id,f))},end:function u2(){var f,k,r=this,x=r._id,H=r.size();return new Promise(function(Q,Te){var dt={value:Te},Yt={value:function(){0==--H&&Q()}};r.each(function(){var Wt=br(this,x),ai=Wt.on;ai!==f&&((k=(f=ai).copy())._.cancel.push(dt),k._.interrupt.push(dt),k._.end.push(Yt)),Wt.on=k}),0===H&&Q()})},[Symbol.iterator]:ic[Symbol.iterator]};var Jc={time:null,delay:0,duration:250,ease:function qc(f){return((f*=2)<=1?f*f*f:(f-=2)*f*f+2)/2}};function pe(f,k){for(var r;!(r=f.__transition)||!(r=r[k]);)if(!(f=f.parentNode))throw new Error(`transition ${k} not found`);return r}Kt.prototype.interrupt=function go(f){return this.each(function(){!function Qa(f,k){var x,H,Te,r=f.__transition,Q=!0;if(r){for(Te in k=null==k?null:k+"",r)(x=r[Te]).name===k?(H=x.state>2&&x.state<5,x.state=6,x.timer.stop(),x.on.call(H?"interrupt":"cancel",f,f.__data__,x.index,x.group),delete r[Te]):Q=!1;Q&&delete f.__transition}}(this,f)})},Kt.prototype.transition=function Me(f){var k,r;f instanceof ls?(k=f._id,f=f._name):(k=Vo(),(r=Jc).time=bn(),f=null==f?null:f+"");for(var x=this._groups,H=x.length,Q=0;Q<H;++Q)for(var Yt,Te=x[Q],dt=Te.length,Wt=0;Wt<dt;++Wt)(Yt=Te[Wt])&&Ss(Yt,f,k,Wt,Te,r||pe(Yt,k));return new ls(x,this._parents,f,k)};Math;function Cc(f){return{type:f}}function ed(f,k){return f<k?-1:f>k?1:f>=k?0:NaN}function g2(f){let k=f,r=f;function x(Te,dt,Yt,Wt){for(null==Yt&&(Yt=0),null==Wt&&(Wt=Te.length);Yt<Wt;){const ai=Yt+Wt>>>1;r(Te[ai],dt)<0?Yt=ai+1:Wt=ai}return Yt}return 1===f.length&&(k=(Te,dt)=>f(Te)-dt,r=function _2(f){return(k,r)=>ed(f(k),r)}(f)),{left:x,center:function Q(Te,dt,Yt,Wt){null==Yt&&(Yt=0),null==Wt&&(Wt=Te.length);const ai=x(Te,dt,Yt,Wt-1);return ai>Yt&&k(Te[ai-1],dt)>-k(Te[ai],dt)?ai-1:ai},right:function H(Te,dt,Yt,Wt){for(null==Yt&&(Yt=0),null==Wt&&(Wt=Te.length);Yt<Wt;){const ai=Yt+Wt>>>1;r(Te[ai],dt)>0?Wt=ai:Yt=ai+1}return Yt}}}["w","e"].map(Cc),["n","s"].map(Cc),["n","w","e","s","nw","ne","sw","se"].map(Cc);var td=Math.sqrt(50),v2=Math.sqrt(10),id=Math.sqrt(2);function el(f,k,r){var x=(k-f)/Math.max(0,r),H=Math.floor(Math.log(x)/Math.LN10),Q=x/Math.pow(10,H);return H>=0?(Q>=td?10:Q>=v2?5:Q>=id?2:1)*Math.pow(10,H):-Math.pow(10,-H)/(Q>=td?10:Q>=v2?5:Q>=id?2:1)}function tl(f,k,r){var x=Math.abs(k-f)/Math.max(0,r),H=Math.pow(10,Math.floor(Math.log(x)/Math.LN10)),Q=x/H;return Q>=td?H*=10:Q>=v2?H*=5:Q>=id&&(H*=2),k<f?-H:H}const fs=1e3,Do=6e4,ms=60*Do,qo=24*ms,c1=7*qo,th=30*qo,nd=365*qo;var ad=new Date,Ns=new Date;function dr(f,k,r,x){function H(Q){return f(Q=0===arguments.length?new Date:new Date(+Q)),Q}return H.floor=function(Q){return f(Q=new Date(+Q)),Q},H.ceil=function(Q){return f(Q=new Date(Q-1)),k(Q,1),f(Q),Q},H.round=function(Q){var Te=H(Q),dt=H.ceil(Q);return Q-Te<dt-Q?Te:dt},H.offset=function(Q,Te){return k(Q=new Date(+Q),null==Te?1:Math.floor(Te)),Q},H.range=function(Q,Te,dt){var Wt,Yt=[];if(Q=H.ceil(Q),dt=null==dt?1:Math.floor(dt),!(Q<Te&&dt>0))return Yt;do{Yt.push(Wt=new Date(+Q)),k(Q,dt),f(Q)}while(Wt<Q&&Q<Te);return Yt},H.filter=function(Q){return dr(function(Te){if(Te>=Te)for(;f(Te),!Q(Te);)Te.setTime(Te-1)},function(Te,dt){if(Te>=Te)if(dt<0)for(;++dt<=0;)for(;k(Te,-1),!Q(Te););else for(;--dt>=0;)for(;k(Te,1),!Q(Te););})},r&&(H.count=function(Q,Te){return ad.setTime(+Q),Ns.setTime(+Te),f(ad),f(Ns),Math.floor(r(ad,Ns))},H.every=function(Q){return Q=Math.floor(Q),isFinite(Q)&&Q>0?Q>1?H.filter(x?function(Te){return x(Te)%Q==0}:function(Te){return H.count(0,Te)%Q==0}):H:null}),H}var rd=dr(function(){},function(f,k){f.setTime(+f+k)},function(f,k){return k-f});rd.every=function(f){return f=Math.floor(f),isFinite(f)&&f>0?f>1?dr(function(k){k.setTime(Math.floor(k/f)*f)},function(k,r){k.setTime(+k+r*f)},function(k,r){return(r-k)/f}):rd:null};const od=rd;const rc=dr(function(f){f.setTime(f-f.getMilliseconds())},function(f,k){f.setTime(+f+k*fs)},function(f,k){return(k-f)/fs},function(f){return f.getUTCSeconds()});const Sc=dr(function(f){f.setTime(f-f.getMilliseconds()-f.getSeconds()*fs)},function(f,k){f.setTime(+f+k*Do)},function(f,k){return(k-f)/Do},function(f){return f.getMinutes()});const kl=dr(function(f){f.setTime(f-f.getMilliseconds()-f.getSeconds()*fs-f.getMinutes()*Do)},function(f,k){f.setTime(+f+k*ms)},function(f,k){return(k-f)/ms},function(f){return f.getHours()});const Lo=dr(f=>f.setHours(0,0,0,0),(f,k)=>f.setDate(f.getDate()+k),(f,k)=>(k-f-(k.getTimezoneOffset()-f.getTimezoneOffset())*Do)/qo,f=>f.getDate()-1);function oc(f){return dr(function(k){k.setDate(k.getDate()-(k.getDay()+7-f)%7),k.setHours(0,0,0,0)},function(k,r){k.setDate(k.getDate()+7*r)},function(k,r){return(r-k-(r.getTimezoneOffset()-k.getTimezoneOffset())*Do)/c1})}var h1=oc(0),Ol=oc(1),al=(oc(2),oc(3),oc(4));const cd=(oc(5),oc(6),dr(function(f){f.setDate(1),f.setHours(0,0,0,0)},function(f,k){f.setMonth(f.getMonth()+k)},function(f,k){return k.getMonth()-f.getMonth()+12*(k.getFullYear()-f.getFullYear())},function(f){return f.getMonth()}));var ld=dr(function(f){f.setMonth(0,1),f.setHours(0,0,0,0)},function(f,k){f.setFullYear(f.getFullYear()+k)},function(f,k){return k.getFullYear()-f.getFullYear()},function(f){return f.getFullYear()});ld.every=function(f){return isFinite(f=Math.floor(f))&&f>0?dr(function(k){k.setFullYear(Math.floor(k.getFullYear()/f)*f),k.setMonth(0,1),k.setHours(0,0,0,0)},function(k,r){k.setFullYear(k.getFullYear()+r*f)}):null};const Fs=ld;const C2=dr(function(f){f.setUTCSeconds(0,0)},function(f,k){f.setTime(+f+k*Do)},function(f,k){return(k-f)/Do},function(f){return f.getUTCMinutes()});const sh=dr(function(f){f.setUTCMinutes(0,0,0)},function(f,k){f.setTime(+f+k*ms)},function(f,k){return(k-f)/ms},function(f){return f.getUTCHours()});const hd=dr(function(f){f.setUTCHours(0,0,0,0)},function(f,k){f.setUTCDate(f.getUTCDate()+k)},function(f,k){return(k-f)/qo},function(f){return f.getUTCDate()-1});function Jo(f){return dr(function(k){k.setUTCDate(k.getUTCDate()-(k.getUTCDay()+7-f)%7),k.setUTCHours(0,0,0,0)},function(k,r){k.setUTCDate(k.getUTCDate()+7*r)},function(k,r){return(r-k)/c1})}var m1=Jo(0),rl=Jo(1),Xo=(Jo(2),Jo(3),Jo(4));const md=(Jo(5),Jo(6),dr(function(f){f.setUTCDate(1),f.setUTCHours(0,0,0,0)},function(f,k){f.setUTCMonth(f.getUTCMonth()+k)},function(f,k){return k.getUTCMonth()-f.getUTCMonth()+12*(k.getUTCFullYear()-f.getUTCFullYear())},function(f){return f.getUTCMonth()}));var sc=dr(function(f){f.setUTCMonth(0,1),f.setUTCHours(0,0,0,0)},function(f,k){f.setUTCFullYear(f.getUTCFullYear()+k)},function(f,k){return k.getUTCFullYear()-f.getUTCFullYear()},function(f){return f.getUTCFullYear()});sc.every=function(f){return isFinite(f=Math.floor(f))&&f>0?dr(function(k){k.setUTCFullYear(Math.floor(k.getUTCFullYear()/f)*f),k.setUTCMonth(0,1),k.setUTCHours(0,0,0,0)},function(k,r){k.setUTCFullYear(k.getUTCFullYear()+r*f)}):null};const Hs=sc;function pd(f,k,r,x,H,Q){const Te=[[rc,1,fs],[rc,5,5e3],[rc,15,15e3],[rc,30,3e4],[Q,1,Do],[Q,5,5*Do],[Q,15,15*Do],[Q,30,30*Do],[H,1,ms],[H,3,3*ms],[H,6,6*ms],[H,12,12*ms],[x,1,qo],[x,2,2*qo],[r,1,c1],[k,1,th],[k,3,3*th],[f,1,nd]];function Yt(Wt,ai,gi){const vi=Math.abs(ai-Wt)/gi,Si=g2(([,,Ei])=>Ei).right(Te,vi);if(Si===Te.length)return f.every(tl(Wt/nd,ai/nd,gi));if(0===Si)return od.every(Math.max(tl(Wt,ai,gi),1));const[rn,gn]=Te[vi/Te[Si-1][2]<Te[Si][2]/vi?Si-1:Si];return rn.every(gn)}return[function dt(Wt,ai,gi){const vi=ai<Wt;vi&&([Wt,ai]=[ai,Wt]);const Si=gi&&"function"==typeof gi.range?gi:Yt(Wt,ai,gi),rn=Si?Si.range(Wt,+ai+1):[];return vi?rn.reverse():rn},Yt]}const[ch,E2]=pd(Hs,md,m1,hd,sh,C2),[$o,gd]=pd(Fs,cd,h1,Lo,kl,Sc);function cc(f){if(0<=f.y&&f.y<100){var k=new Date(-1,f.m,f.d,f.H,f.M,f.S,f.L);return k.setFullYear(f.y),k}return new Date(f.y,f.m,f.d,f.H,f.M,f.S,f.L)}function _d(f){if(0<=f.y&&f.y<100){var k=new Date(Date.UTC(-1,f.m,f.d,f.H,f.M,f.S,f.L));return k.setUTCFullYear(f.y),k}return new Date(Date.UTC(f.y,f.m,f.d,f.H,f.M,f.S,f.L))}function Nl(f,k,r){return{y:f,m:k,d:r,H:0,M:0,S:0,L:0}}var T2={"-":"",_:" ",0:"0"},xr=/^\s*\d+/,sl=/^%/,vd=/[\\^$*+?|[\]().{}]/g;function oa(f,k,r){var x=f<0?"-":"",H=(x?-f:f)+"",Q=H.length;return x+(Q<r?new Array(r-Q+1).join(k)+H:H)}function A2(f){return f.replace(vd,"\\$&")}function lc(f){return new RegExp("^(?:"+f.map(A2).join("|")+")","i")}function zs(f){return new Map(f.map((k,r)=>[k.toLowerCase(),r]))}function D2(f,k,r){var x=xr.exec(k.slice(r,r+1));return x?(f.w=+x[0],r+x[0].length):-1}function v1(f,k,r){var x=xr.exec(k.slice(r,r+1));return x?(f.u=+x[0],r+x[0].length):-1}function bd(f,k,r){var x=xr.exec(k.slice(r,r+2));return x?(f.U=+x[0],r+x[0].length):-1}function yd(f,k,r){var x=xr.exec(k.slice(r,r+2));return x?(f.V=+x[0],r+x[0].length):-1}function Fl(f,k,r){var x=xr.exec(k.slice(r,r+2));return x?(f.W=+x[0],r+x[0].length):-1}function L2(f,k,r){var x=xr.exec(k.slice(r,r+4));return x?(f.y=+x[0],r+x[0].length):-1}function xd(f,k,r){var x=xr.exec(k.slice(r,r+2));return x?(f.y=+x[0]+(+x[0]>68?1900:2e3),r+x[0].length):-1}function lh(f,k,r){var x=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(k.slice(r,r+6));return x?(f.Z=x[1]?0:-(x[2]+(x[3]||"00")),r+x[0].length):-1}function dh(f,k,r){var x=xr.exec(k.slice(r,r+1));return x?(f.q=3*x[0]-3,r+x[0].length):-1}function I2(f,k,r){var x=xr.exec(k.slice(r,r+2));return x?(f.m=x[0]-1,r+x[0].length):-1}function Cd(f,k,r){var x=xr.exec(k.slice(r,r+2));return x?(f.d=+x[0],r+x[0].length):-1}function wd(f,k,r){var x=xr.exec(k.slice(r,r+3));return x?(f.m=0,f.d=+x[0],r+x[0].length):-1}function Hl(f,k,r){var x=xr.exec(k.slice(r,r+2));return x?(f.H=+x[0],r+x[0].length):-1}function b1(f,k,r){var x=xr.exec(k.slice(r,r+2));return x?(f.M=+x[0],r+x[0].length):-1}function Ac(f,k,r){var x=xr.exec(k.slice(r,r+2));return x?(f.S=+x[0],r+x[0].length):-1}function hh(f,k,r){var x=xr.exec(k.slice(r,r+3));return x?(f.L=+x[0],r+x[0].length):-1}function k2(f,k,r){var x=xr.exec(k.slice(r,r+6));return x?(f.L=Math.floor(x[0]/1e3),r+x[0].length):-1}function e3(f,k,r){var x=sl.exec(k.slice(r,r+1));return x?r+x[0].length:-1}function uh(f,k,r){var x=xr.exec(k.slice(r));return x?(f.Q=+x[0],r+x[0].length):-1}function y1(f,k,r){var x=xr.exec(k.slice(r));return x?(f.s=+x[0],r+x[0].length):-1}function O2(f,k){return oa(f.getDate(),k,2)}function P2(f,k){return oa(f.getHours(),k,2)}function zl(f,k){return oa(f.getHours()%12||12,k,2)}function Md(f,k){return oa(1+Lo.count(Fs(f),f),k,3)}function Sd(f,k){return oa(f.getMilliseconds(),k,3)}function cl(f,k){return Sd(f,k)+"000"}function Ed(f,k){return oa(f.getMonth()+1,k,2)}function Dc(f,k){return oa(f.getMinutes(),k,2)}function R2(f,k){return oa(f.getSeconds(),k,2)}function fh(f){var k=f.getDay();return 0===k?7:k}function N2(f,k){return oa(h1.count(Fs(f)-1,f),k,2)}function F2(f){var k=f.getDay();return k>=4||0===k?al(f):al.ceil(f)}function mh(f,k){return f=F2(f),oa(al.count(Fs(f),f)+(4===Fs(f).getDay()),k,2)}function ro(f){return f.getDay()}function ll(f,k){return oa(Ol.count(Fs(f)-1,f),k,2)}function ph(f,k){return oa(f.getFullYear()%100,k,2)}function H2(f,k){return oa((f=F2(f)).getFullYear()%100,k,2)}function gh(f,k){return oa(f.getFullYear()%1e4,k,4)}function _h(f,k){var r=f.getDay();return oa((f=r>=4||0===r?al(f):al.ceil(f)).getFullYear()%1e4,k,4)}function vh(f){var k=f.getTimezoneOffset();return(k>0?"-":(k*=-1,"+"))+oa(k/60|0,"0",2)+oa(k%60,"0",2)}function z2(f,k){return oa(f.getUTCDate(),k,2)}function V2(f,k){return oa(f.getUTCHours(),k,2)}function bh(f,k){return oa(f.getUTCHours()%12||12,k,2)}function yh(f,k){return oa(1+hd.count(Hs(f),f),k,3)}function B2(f,k){return oa(f.getUTCMilliseconds(),k,3)}function U2(f,k){return B2(f,k)+"000"}function x1(f,k){return oa(f.getUTCMonth()+1,k,2)}function gs(f,k){return oa(f.getUTCMinutes(),k,2)}function Vl(f,k){return oa(f.getUTCSeconds(),k,2)}function G2(f){var k=f.getUTCDay();return 0===k?7:k}function Z2(f,k){return oa(m1.count(Hs(f)-1,f),k,2)}function C1(f){var k=f.getUTCDay();return k>=4||0===k?Xo(f):Xo.ceil(f)}function t3(f,k){return f=C1(f),oa(Xo.count(Hs(f),f)+(4===Hs(f).getUTCDay()),k,2)}function W2(f){return f.getUTCDay()}function n3(f,k){return oa(rl.count(Hs(f)-1,f),k,2)}function Td(f,k){return oa(f.getUTCFullYear()%100,k,2)}function w1(f,k){return oa((f=C1(f)).getUTCFullYear()%100,k,2)}function a3(f,k){return oa(f.getUTCFullYear()%1e4,k,4)}function r3(f,k){var r=f.getUTCDay();return oa((f=r>=4||0===r?Xo(f):Xo.ceil(f)).getUTCFullYear()%1e4,k,4)}function Ad(){return"+0000"}function Y2(){return"%"}function j2(f){return+f}function K2(f){return Math.floor(+f/1e3)}function Ja(f){return null===f?NaN:+f}!function q2(f){(function _1(f){var k=f.dateTime,r=f.date,x=f.time,H=f.periods,Q=f.days,Te=f.shortDays,dt=f.months,Yt=f.shortMonths,Wt=lc(H),ai=zs(H),gi=lc(Q),vi=zs(Q),Si=lc(Te),rn=zs(Te),gn=lc(dt),Ei=zs(dt),un=lc(Yt),vn=zs(Yt),pn={a:function Na(ln){return Te[ln.getDay()]},A:function Wo(ln){return Q[ln.getDay()]},b:function Ia(ln){return Yt[ln.getMonth()]},B:function Dr(ln){return dt[ln.getMonth()]},c:null,d:O2,e:O2,f:cl,g:H2,G:_h,H:P2,I:zl,j:Md,L:Sd,m:Ed,M:Dc,p:function Mr(ln){return H[+(ln.getHours()>=12)]},q:function fr(ln){return 1+~~(ln.getMonth()/3)},Q:j2,s:K2,S:R2,u:fh,U:N2,V:mh,w:ro,W:ll,x:null,X:null,y:ph,Y:gh,Z:vh,"%":Y2},Zn={a:function Vc(ln){return Te[ln.getUTCDay()]},A:function Z1(ln){return Q[ln.getUTCDay()]},b:function Xl(ln){return Yt[ln.getUTCMonth()]},B:function W1(ln){return dt[ln.getUTCMonth()]},c:null,d:z2,e:z2,f:U2,g:w1,G:r3,H:V2,I:bh,j:yh,L:B2,m:x1,M:gs,p:function oo(ln){return H[+(ln.getUTCHours()>=12)]},q:function c2(ln){return 1+~~(ln.getUTCMonth()/3)},Q:j2,s:K2,S:Vl,u:G2,U:Z2,V:t3,w:W2,W:n3,x:null,X:null,y:Td,Y:a3,Z:Ad,"%":Y2},Nn={a:function ur(ln,jn,aa){var Ki=Si.exec(jn.slice(aa));return Ki?(ln.w=rn.get(Ki[0].toLowerCase()),aa+Ki[0].length):-1},A:function An(ln,jn,aa){var Ki=gi.exec(jn.slice(aa));return Ki?(ln.w=vi.get(Ki[0].toLowerCase()),aa+Ki[0].length):-1},b:function Br(ln,jn,aa){var Ki=un.exec(jn.slice(aa));return Ki?(ln.m=vn.get(Ki[0].toLowerCase()),aa+Ki[0].length):-1},B:function sa(ln,jn,aa){var Ki=gn.exec(jn.slice(aa));return Ki?(ln.m=Ei.get(Ki[0].toLowerCase()),aa+Ki[0].length):-1},c:function Ba(ln,jn,aa){return La(ln,k,jn,aa)},d:Cd,e:Cd,f:k2,g:xd,G:L2,H:Hl,I:Hl,j:wd,L:hh,m:I2,M:b1,p:function Vr(ln,jn,aa){var Ki=Wt.exec(jn.slice(aa));return Ki?(ln.p=ai.get(Ki[0].toLowerCase()),aa+Ki[0].length):-1},q:dh,Q:uh,s:y1,S:Ac,u:v1,U:bd,V:yd,w:D2,W:Fl,x:function Zo(ln,jn,aa){return La(ln,r,jn,aa)},X:function $a(ln,jn,aa){return La(ln,x,jn,aa)},y:xd,Y:L2,Z:lh,"%":e3};function wn(ln,jn){return function(aa){var Co,Vn,er,Ki=[],cr=-1,wa=0,xo=ln.length;for(aa instanceof Date||(aa=new Date(+aa));++cr<xo;)37===ln.charCodeAt(cr)&&(Ki.push(ln.slice(wa,cr)),null!=(Vn=T2[Co=ln.charAt(++cr)])?Co=ln.charAt(++cr):Vn="e"===Co?" ":"0",(er=jn[Co])&&(Co=er(aa,Vn)),Ki.push(Co),wa=cr+1);return Ki.push(ln.slice(wa,cr)),Ki.join("")}}function sr(ln,jn){return function(aa){var wa,xo,Ki=Nl(1900,void 0,1);if(La(Ki,ln,aa+="",0)!=aa.length)return null;if("Q"in Ki)return new Date(Ki.Q);if("s"in Ki)return new Date(1e3*Ki.s+("L"in Ki?Ki.L:0));if(jn&&!("Z"in Ki)&&(Ki.Z=0),"p"in Ki&&(Ki.H=Ki.H%12+12*Ki.p),void 0===Ki.m&&(Ki.m="q"in Ki?Ki.q:0),"V"in Ki){if(Ki.V<1||Ki.V>53)return null;"w"in Ki||(Ki.w=1),"Z"in Ki?(xo=(wa=_d(Nl(Ki.y,0,1))).getUTCDay(),wa=xo>4||0===xo?rl.ceil(wa):rl(wa),wa=hd.offset(wa,7*(Ki.V-1)),Ki.y=wa.getUTCFullYear(),Ki.m=wa.getUTCMonth(),Ki.d=wa.getUTCDate()+(Ki.w+6)%7):(xo=(wa=cc(Nl(Ki.y,0,1))).getDay(),wa=xo>4||0===xo?Ol.ceil(wa):Ol(wa),wa=Lo.offset(wa,7*(Ki.V-1)),Ki.y=wa.getFullYear(),Ki.m=wa.getMonth(),Ki.d=wa.getDate()+(Ki.w+6)%7)}else("W"in Ki||"U"in Ki)&&("w"in Ki||(Ki.w="u"in Ki?Ki.u%7:"W"in Ki?1:0),xo="Z"in Ki?_d(Nl(Ki.y,0,1)).getUTCDay():cc(Nl(Ki.y,0,1)).getDay(),Ki.m=0,Ki.d="W"in Ki?(Ki.w+6)%7+7*Ki.W-(xo+5)%7:Ki.w+7*Ki.U-(xo+6)%7);return"Z"in Ki?(Ki.H+=Ki.Z/100|0,Ki.M+=Ki.Z%100,_d(Ki)):cc(Ki)}}function La(ln,jn,aa,Ki){for(var Co,Vn,cr=0,wa=jn.length,xo=aa.length;cr<wa;){if(Ki>=xo)return-1;if(37===(Co=jn.charCodeAt(cr++))){if(Co=jn.charAt(cr++),!(Vn=Nn[Co in T2?jn.charAt(cr++):Co])||(Ki=Vn(ln,aa,Ki))<0)return-1}else if(Co!=aa.charCodeAt(Ki++))return-1}return Ki}return pn.x=wn(r,pn),pn.X=wn(x,pn),pn.c=wn(k,pn),Zn.x=wn(r,Zn),Zn.X=wn(x,Zn),Zn.c=wn(k,Zn),{format:function(ln){var jn=wn(ln+="",pn);return jn.toString=function(){return ln},jn},parse:function(ln){var jn=sr(ln+="",!1);return jn.toString=function(){return ln},jn},utcFormat:function(ln){var jn=wn(ln+="",Zn);return jn.toString=function(){return ln},jn},utcParse:function(ln){var jn=sr(ln+="",!0);return jn.toString=function(){return ln},jn}}})(f)}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const X2=g2(ed).right,xh=(g2(Ja),X2);function Ch(f,k){return f=+f,k=+k,function(r){return Math.round(f*(1-r)+k*r)}}function wh(f){return+f}var Tr=[0,1];function Bl(f){return f}function Lc(f,k){return(k-=f=+f)?function(r){return(r-f)/k}:function o3(f){return function(){return f}}(isNaN(k)?NaN:.5)}function $2(f,k,r){var x=f[0],H=f[1],Q=k[0],Te=k[1];return H<x?(x=Lc(H,x),Q=r(Te,Q)):(x=Lc(x,H),Q=r(Q,Te)),function(dt){return Q(x(dt))}}function e0(f,k,r){var x=Math.min(f.length,k.length)-1,H=new Array(x),Q=new Array(x),Te=-1;for(f[x]<f[0]&&(f=f.slice().reverse(),k=k.slice().reverse());++Te<x;)H[Te]=Lc(f[Te],f[Te+1]),Q[Te]=r(k[Te],k[Te+1]);return function(dt){var Yt=xh(f,dt,1,x)-1;return Q[Yt](H[Yt](dt))}}function dc(f,k){return k.domain(f.domain()).range(f.range()).interpolate(f.interpolate()).clamp(f.clamp()).unknown(f.unknown())}function Id(){return function Mh(){var x,H,Q,dt,Yt,Wt,f=Tr,k=Tr,r=Yn,Te=Bl;function ai(){var vi=Math.min(f.length,k.length);return Te!==Bl&&(Te=function Ic(f,k){var r;return f>k&&(r=f,f=k,k=r),function(x){return Math.max(f,Math.min(k,x))}}(f[0],f[vi-1])),dt=vi>2?e0:$2,Yt=Wt=null,gi}function gi(vi){return null==vi||isNaN(vi=+vi)?Q:(Yt||(Yt=dt(f.map(x),k,r)))(x(Te(vi)))}return gi.invert=function(vi){return Te(H((Wt||(Wt=dt(k,f.map(x),Pa)))(vi)))},gi.domain=function(vi){return arguments.length?(f=Array.from(vi,wh),ai()):f.slice()},gi.range=function(vi){return arguments.length?(k=Array.from(vi),ai()):k.slice()},gi.rangeRound=function(vi){return k=Array.from(vi),r=Ch,ai()},gi.clamp=function(vi){return arguments.length?(Te=!!vi||Bl,ai()):Te!==Bl},gi.interpolate=function(vi){return arguments.length?(r=vi,ai()):r},gi.unknown=function(vi){return arguments.length?(Q=vi,gi):Q},function(vi,Si){return x=vi,H=Si,ai()}}()(Bl,Bl)}function fl(f,k){switch(arguments.length){case 0:break;case 1:this.range(f);break;default:this.range(k).domain(f)}return this}var kd,n0=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Gl(f){if(!(k=n0.exec(f)))throw new Error("invalid format: "+f);var k;return new Bs({fill:k[1],align:k[2],sign:k[3],symbol:k[4],zero:k[5],width:k[6],comma:k[7],precision:k[8]&&k[8].slice(1),trim:k[9],type:k[10]})}function Bs(f){this.fill=void 0===f.fill?" ":f.fill+"",this.align=void 0===f.align?">":f.align+"",this.sign=void 0===f.sign?"-":f.sign+"",this.symbol=void 0===f.symbol?"":f.symbol+"",this.zero=!!f.zero,this.width=void 0===f.width?void 0:+f.width,this.comma=!!f.comma,this.precision=void 0===f.precision?void 0:+f.precision,this.trim=!!f.trim,this.type=void 0===f.type?"":f.type+""}function ml(f,k){if((r=(f=k?f.toExponential(k-1):f.toExponential()).indexOf("e"))<0)return null;var r,x=f.slice(0,r);return[x.length>1?x[0]+x.slice(2):x,+f.slice(r+1)]}function Us(f){return(f=ml(Math.abs(f)))?f[1]:NaN}function r0(f,k){var r=ml(f,k);if(!r)return f+"";var x=r[0],H=r[1];return H<0?"0."+new Array(-H).join("0")+x:x.length>H+1?x.slice(0,H+1)+"."+x.slice(H+1):x+new Array(H-x.length+2).join("0")}Gl.prototype=Bs.prototype,Bs.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 o0={"%":(f,k)=>(100*f).toFixed(k),b:f=>Math.round(f).toString(2),c:f=>f+"",d:function a0(f){return Math.abs(f=Math.round(f))>=1e21?f.toLocaleString("en").replace(/,/g,""):f.toString(10)},e:(f,k)=>f.toExponential(k),f:(f,k)=>f.toFixed(k),g:(f,k)=>f.toPrecision(k),o:f=>Math.round(f).toString(8),p:(f,k)=>r0(100*f,k),r:r0,s:function Od(f,k){var r=ml(f,k);if(!r)return f+"";var x=r[0],H=r[1],Q=H-(kd=3*Math.max(-8,Math.min(8,Math.floor(H/3))))+1,Te=x.length;return Q===Te?x:Q>Te?x+new Array(Q-Te+1).join("0"):Q>0?x.slice(0,Q)+"."+x.slice(Q):"0."+new Array(1-Q).join("0")+ml(f,Math.max(0,k+Q-1))[0]},X:f=>Math.round(f).toString(16).toUpperCase(),x:f=>Math.round(f).toString(16)};function Pd(f){return f}var E1,hc,c0,Pc=Array.prototype.map,s0=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function Nd(f){var k=f.domain;return f.ticks=function(r){var x=k();return function eh(f,k,r){var x,Q,Te,dt,H=-1;if(r=+r,(f=+f)==(k=+k)&&r>0)return[f];if((x=k<f)&&(Q=f,f=k,k=Q),0===(dt=el(f,k,r))||!isFinite(dt))return[];if(dt>0){let Yt=Math.round(f/dt),Wt=Math.round(k/dt);for(Yt*dt<f&&++Yt,Wt*dt>k&&--Wt,Te=new Array(Q=Wt-Yt+1);++H<Q;)Te[H]=(Yt+H)*dt}else{dt=-dt;let Yt=Math.round(f*dt),Wt=Math.round(k*dt);for(Yt/dt<f&&++Yt,Wt/dt>k&&--Wt,Te=new Array(Q=Wt-Yt+1);++H<Q;)Te[H]=(Yt+H)/dt}return x&&Te.reverse(),Te}(x[0],x[x.length-1],r??10)},f.tickFormat=function(r,x){var H=k();return function Rd(f,k,r,x){var Q,H=tl(f,k,r);switch((x=Gl(x??",f")).type){case"s":var Te=Math.max(Math.abs(f),Math.abs(k));return null==x.precision&&!isNaN(Q=function Sh(f,k){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Us(k)/3)))-Us(Math.abs(f)))}(H,Te))&&(x.precision=Q),c0(x,Te);case"":case"e":case"g":case"p":case"r":null==x.precision&&!isNaN(Q=function d0(f,k){return f=Math.abs(f),k=Math.abs(k)-f,Math.max(0,Us(k)-Us(f))+1}(H,Math.max(Math.abs(f),Math.abs(k))))&&(x.precision=Q-("e"===x.type));break;case"f":case"%":null==x.precision&&!isNaN(Q=function h0(f){return Math.max(0,-Us(Math.abs(f)))}(H))&&(x.precision=Q-2*("%"===x.type))}return hc(x)}(H[0],H[H.length-1],r??10,x)},f.nice=function(r){null==r&&(r=10);var Yt,Wt,x=k(),H=0,Q=x.length-1,Te=x[H],dt=x[Q],ai=10;for(dt<Te&&(Wt=Te,Te=dt,dt=Wt,Wt=H,H=Q,Q=Wt);ai-- >0;){if((Wt=el(Te,dt,r))===Yt)return x[H]=Te,x[Q]=dt,k(x);if(Wt>0)Te=Math.floor(Te/Wt)*Wt,dt=Math.ceil(dt/Wt)*Wt;else{if(!(Wt<0))break;Te=Math.ceil(Te*Wt)/Wt,dt=Math.floor(dt*Wt)/Wt}Yt=Wt}return f},f}function es(){var f=Id();return f.copy=function(){return dc(f,es())},fl.apply(f,arguments),Nd(f)}function T1(f,k,r){f=+f,k=+k,r=(H=arguments.length)<2?(k=f,f=0,1):H<3?1:+r;for(var x=-1,H=0|Math.max(0,Math.ceil((k-f)/r)),Q=new Array(H);++x<H;)Q[x]=f+x*r;return Q}!function l0(f){E1=function Eh(f){var k=void 0===f.grouping||void 0===f.thousands?Pd:function S1(f,k){return function(r,x){for(var H=r.length,Q=[],Te=0,dt=f[0],Yt=0;H>0&&dt>0&&(Yt+dt+1>x&&(dt=Math.max(1,x-Yt)),Q.push(r.substring(H-=dt,H+dt)),!((Yt+=dt+1)>x));)dt=f[Te=(Te+1)%f.length];return Q.reverse().join(k)}}(Pc.call(f.grouping,Number),f.thousands+""),r=void 0===f.currency?"":f.currency[0]+"",x=void 0===f.currency?"":f.currency[1]+"",H=void 0===f.decimal?".":f.decimal+"",Q=void 0===f.numerals?Pd:function Zl(f){return function(k){return k.replace(/[0-9]/g,function(r){return f[+r]})}}(Pc.call(f.numerals,String)),Te=void 0===f.percent?"%":f.percent+"",dt=void 0===f.minus?"\u2212":f.minus+"",Yt=void 0===f.nan?"NaN":f.nan+"";function Wt(gi){var vi=(gi=Gl(gi)).fill,Si=gi.align,rn=gi.sign,gn=gi.symbol,Ei=gi.zero,un=gi.width,vn=gi.comma,pn=gi.precision,Zn=gi.trim,Nn=gi.type;"n"===Nn?(vn=!0,Nn="g"):o0[Nn]||(void 0===pn&&(pn=12),Zn=!0,Nn="g"),(Ei||"0"===vi&&"="===Si)&&(Ei=!0,vi="0",Si="=");var wn="$"===gn?r:"#"===gn&&/[boxX]/.test(Nn)?"0"+Nn.toLowerCase():"",sr="$"===gn?x:/[%p]/.test(Nn)?Te:"",La=o0[Nn],Vr=/[defgprs%]/.test(Nn);function ur(An){var Ba,Zo,$a,Br=wn,sa=sr;if("c"===Nn)sa=La(An)+sa,An="";else{var Na=(An=+An)<0||1/An<0;if(An=isNaN(An)?Yt:La(Math.abs(An),pn),Zn&&(An=function Oc(f){e:for(var H,k=f.length,r=1,x=-1;r<k;++r)switch(f[r]){case".":x=H=r;break;case"0":0===x&&(x=r),H=r;break;default:if(!+f[r])break e;x>0&&(x=0)}return x>0?f.slice(0,x)+f.slice(H+1):f}(An)),Na&&0==+An&&"+"!==rn&&(Na=!1),Br=(Na?"("===rn?rn:dt:"-"===rn||"("===rn?"":rn)+Br,sa=("s"===Nn?s0[8+kd/3]:"")+sa+(Na&&"("===rn?")":""),Vr)for(Ba=-1,Zo=An.length;++Ba<Zo;)if(48>($a=An.charCodeAt(Ba))||$a>57){sa=(46===$a?H+An.slice(Ba+1):An.slice(Ba))+sa,An=An.slice(0,Ba);break}}vn&&!Ei&&(An=k(An,1/0));var Wo=Br.length+An.length+sa.length,Ia=Wo<un?new Array(un-Wo+1).join(vi):"";switch(vn&&Ei&&(An=k(Ia+An,Ia.length?un-sa.length:1/0),Ia=""),Si){case"<":An=Br+An+sa+Ia;break;case"=":An=Br+Ia+An+sa;break;case"^":An=Ia.slice(0,Wo=Ia.length>>1)+Br+An+sa+Ia.slice(Wo);break;default:An=Ia+Br+An+sa}return Q(An)}return pn=void 0===pn?6:/[gprs]/.test(Nn)?Math.max(1,Math.min(21,pn)):Math.max(0,Math.min(20,pn)),ur.toString=function(){return gi+""},ur}return{format:Wt,formatPrefix:function ai(gi,vi){var Si=Wt(((gi=Gl(gi)).type="f",gi)),rn=3*Math.max(-8,Math.min(8,Math.floor(Us(vi)/3))),gn=Math.pow(10,-rn),Ei=s0[8+rn/3];return function(un){return Si(gn*un)+Ei}}}}(f),hc=E1.format,c0=E1.formatPrefix}({thousands:",",grouping:[3],currency:["$",""]});const Rr=Symbol("implicit");function pl(){var f=new Map,k=[],r=[],x=Rr;function H(Q){var Te=Q+"",dt=f.get(Te);if(!dt){if(x!==Rr)return x;f.set(Te,dt=k.push(Q))}return r[(dt-1)%r.length]}return H.domain=function(Q){if(!arguments.length)return k.slice();k=[],f=new Map;for(const Te of Q){const dt=Te+"";f.has(dt)||f.set(dt,k.push(Te))}return H},H.range=function(Q){return arguments.length?(r=Array.from(Q),H):r.slice()},H.unknown=function(Q){return arguments.length?(x=Q,H):x},H.copy=function(){return pl(k,r).unknown(x)},fl.apply(H,arguments),H}function Wl(){var Q,Te,f=pl().unknown(void 0),k=f.domain,r=f.range,x=0,H=1,dt=!1,Yt=0,Wt=0,ai=.5;function gi(){var vi=k().length,Si=H<x,rn=Si?H:x,gn=Si?x:H;Q=(gn-rn)/Math.max(1,vi-Yt+2*Wt),dt&&(Q=Math.floor(Q)),rn+=(gn-rn-Q*(vi-Yt))*ai,Te=Q*(1-Yt),dt&&(rn=Math.round(rn),Te=Math.round(Te));var Ei=T1(vi).map(function(un){return rn+Q*un});return r(Si?Ei.reverse():Ei)}return delete f.unknown,f.domain=function(vi){return arguments.length?(k(vi),gi()):k()},f.range=function(vi){return arguments.length?([x,H]=vi,x=+x,H=+H,gi()):[x,H]},f.rangeRound=function(vi){return[x,H]=vi,x=+x,H=+H,dt=!0,gi()},f.bandwidth=function(){return Te},f.step=function(){return Q},f.round=function(vi){return arguments.length?(dt=!!vi,gi()):dt},f.padding=function(vi){return arguments.length?(Yt=Math.min(1,Wt=+vi),gi()):Yt},f.paddingInner=function(vi){return arguments.length?(Yt=Math.min(1,vi),gi()):Yt},f.paddingOuter=function(vi){return arguments.length?(Wt=+vi,gi()):Wt},f.align=function(vi){return arguments.length?(ai=Math.max(0,Math.min(1,vi)),gi()):ai},f.copy=function(){return Wl(k(),[x,H]).round(dt).paddingInner(Yt).paddingOuter(Wt).align(ai)},fl.apply(gi(),arguments)}function u0(f,k,r=Ja){if(x=f.length){if((k=+k)<=0||x<2)return+r(f[0],0,f);if(k>=1)return+r(f[x-1],x-1,f);var x,H=(x-1)*k,Q=Math.floor(H),Te=+r(f[Q],Q,f);return Te+(+r(f[Q+1],Q+1,f)-Te)*(H-Q)}}function Fd(){var x,f=[],k=[],r=[];function H(){var Te=0,dt=Math.max(1,k.length);for(r=new Array(dt-1);++Te<dt;)r[Te-1]=u0(f,Te/dt);return Q}function Q(Te){return null==Te||isNaN(Te=+Te)?x:k[xh(r,Te)]}return Q.invertExtent=function(Te){var dt=k.indexOf(Te);return dt<0?[NaN,NaN]:[dt>0?r[dt-1]:f[0],dt<r.length?r[dt]:f[f.length-1]]},Q.domain=function(Te){if(!arguments.length)return f.slice();f=[];for(let dt of Te)null!=dt&&!isNaN(dt=+dt)&&f.push(dt);return f.sort(ed),H()},Q.range=function(Te){return arguments.length?(k=Array.from(Te),H()):k.slice()},Q.unknown=function(Te){return arguments.length?(x=Te,Q):x},Q.quantiles=function(){return r.slice()},Q.copy=function(){return Fd().domain(f).range(k).unknown(x)},fl.apply(Q,arguments)}var Ah=p(5126);const A1=["caretElm"];function Hd(f,k){}const Dh=function(f){return{model:f}};function zd(f,k){if(1&f&&(t.TgZ(0,"span"),t.YNc(1,Hd,0,0,"ng-template",5),t.qZA()),2&f){const r=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",r.template)("ngTemplateOutletContext",t.VKq(2,Dh,r.context))}}function gl(f,k){if(1&f&&t._UZ(0,"span",6),2&f){const r=t.oxw();t.Q6J("innerHTML",r.title,t.oJD)}}function Lh(f,k){if(1&f&&(t.TgZ(0,"header",4)(1,"span",5),t._uU(2),t.qZA()()),2&f){const r=t.oxw();t.xp6(2),t.Oqu(r.title)}}function Ih(f,k){if(1&f){const r=t.EpF();t.TgZ(0,"li",6)(1,"ngx-charts-legend-entry",7),t.NdJ("select",function(H){t.CHM(r);const Q=t.oxw();return t.KtG(Q.labelClick.emit(H))})("activate",function(H){t.CHM(r);const Q=t.oxw();return t.KtG(Q.activate(H))})("deactivate",function(H){t.CHM(r);const Q=t.oxw();return t.KtG(Q.deactivate(H))}),t.qZA()()}if(2&f){const r=k.$implicit,x=t.oxw();t.xp6(1),t.Q6J("label",r.label)("formattedLabel",r.formattedLabel)("color",r.color)("isActive",x.isActive(r))}}function f0(f,k){if(1&f&&(t.O4$(),t.kcU(),t._UZ(0,"ngx-charts-scale-legend",4)),2&f){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 kh(f,k){if(1&f){const r=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"ngx-charts-legend",5),t.NdJ("labelClick",function(H){t.CHM(r);const Q=t.oxw();return t.KtG(Q.legendLabelClick.emit(H))})("labelActivate",function(H){t.CHM(r);const Q=t.oxw();return t.KtG(Q.legendLabelActivate.emit(H))})("labelDeactivate",function(H){t.CHM(r);const Q=t.oxw();return t.KtG(Q.legendLabelDeactivate.emit(H))}),t.qZA()}if(2&f){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 Vd=["*"],Oh=["ngx-charts-axis-label",""],D1=["ticksel"],_l=["ngx-charts-x-axis-ticks",""];function Gs(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"g",3)(1,"title"),t._uU(2),t.qZA(),t.TgZ(3,"text",4),t._uU(4),t.qZA()()),2&f){const r=k.$implicit,x=t.oxw();t.uIk("transform",x.tickTransform(r)),t.xp6(2),t.Oqu(x.tickFormat(r)),t.xp6(1),t.Udp("font-size","12px"),t.uIk("text-anchor",x.textAnchor)("transform",x.textTransform),t.xp6(1),t.hij(" ",x.tickTrim(x.tickFormat(r))," ")}}function Ph(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t._UZ(1,"line",6),t.qZA()),2&f){const r=t.oxw(2);t.uIk("transform",r.gridLineTransform()),t.xp6(1),t.uIk("y1",-r.gridLineHeight)}}function vl(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Ph,2,2,"g",5),t.qZA()),2&f){const r=k.$implicit,x=t.oxw();t.uIk("transform",x.tickTransform(r)),t.xp6(1),t.Q6J("ngIf",x.showGridLines)}}const m0=["ngx-charts-x-axis",""];function Rh(f,k){if(1&f){const r=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("dimensionsChanged",function(H){t.CHM(r);const Q=t.oxw();return t.KtG(Q.emitTicksHeight(H))}),t.qZA()}if(2&f){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)}}function p0(f,k){if(1&f&&(t.O4$(),t._UZ(0,"g",3)),2&f){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 Nh=["ngx-charts-y-axis-ticks",""];function g0(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"g",4)(1,"title"),t._uU(2),t.qZA(),t.TgZ(3,"text",5),t._uU(4),t.qZA()()),2&f){const r=k.$implicit,x=t.oxw();t.uIk("transform",x.transform(r)),t.xp6(2),t.Oqu(x.tickFormat(r)),t.xp6(1),t.Udp("font-size","12px"),t.uIk("dy",x.dy)("x",x.x1)("y",x.y1)("text-anchor",x.textAnchor),t.xp6(1),t.hij(" ",x.tickTrim(x.tickFormat(r))," ")}}function bl(f,k){if(1&f&&(t.O4$(),t._UZ(0,"path",6)),2&f){const r=t.oxw();t.uIk("d",r.referenceAreaPath)("transform",r.gridLineTransform())}}function Fh(f,k){if(1&f&&(t.O4$(),t._UZ(0,"line",9)),2&f){const r=t.oxw(3);t.uIk("x2",r.gridLineWidth)}}function _0(f,k){if(1&f&&(t.O4$(),t._UZ(0,"line",9)),2&f){const r=t.oxw(3);t.uIk("x2",-r.gridLineWidth)}}function Hh(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Fh,1,1,"line",8),t.YNc(2,_0,1,1,"line",8),t.qZA()),2&f){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 zh(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Hh,3,3,"g",7),t.qZA()),2&f){const r=k.$implicit,x=t.oxw();t.uIk("transform",x.transform(r)),t.xp6(1),t.Q6J("ngIf",x.showGridLines)}}function ts(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"g")(1,"title"),t._uU(2),t.qZA(),t.TgZ(3,"text",11),t._uU(4),t.qZA()()),2&f){const 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 v0(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t._UZ(1,"line",10),t.YNc(2,ts,5,6,"g",7),t.qZA()),2&f){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 b0(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,v0,3,4,"g",7),t.qZA()),2&f){const r=t.oxw();t.xp6(1),t.Q6J("ngIf",r.showRefLines)}}const Vh=["ngx-charts-y-axis",""];function Bh(f,k){if(1&f){const r=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("dimensionsChanged",function(H){t.CHM(r);const Q=t.oxw();return t.KtG(Q.emitTicksWidth(H))}),t.qZA()}if(2&f){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)}}function y0(f,k){if(1&f&&(t.O4$(),t._UZ(0,"g",3)),2&f){const r=t.oxw();t.Q6J("label",r.labelText)("offset",r.labelOffset)("orient",r.yOrient)("height",r.dims.height)("width",r.dims.width)}}const Yl=["ngx-charts-svg-linear-gradient",""];function Rc(f,k){if(1&f&&(t.O4$(),t._UZ(0,"stop")),2&f){const r=k.$implicit;t.Udp("stop-color",r.color)("stop-opacity",r.opacity),t.uIk("offset",r.offset+"%")}}const Zd=["ngx-charts-grid-panel",""],Zh=["ngx-charts-grid-panel-series",""];function Wd(f,k){if(1&f&&(t.O4$(),t._UZ(0,"g",1)),2&f){const r=k.$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 Ut=["tooltipTemplate"],dn=function(f,k){return[f,k]},Cr=".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",Qd=["ngx-charts-bar",""];function mn(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"defs"),t._UZ(1,"g",2),t.qZA()),2&f){const r=t.oxw();t.xp6(1),t.Q6J("orientation",r.orientation)("name",r.gradientId)("stops",r.gradientStops)}}const Cn=["ngx-charts-bar-label",""],jh=["ngx-charts-series-vertical",""];function Kh(f,k){if(1&f){const r=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("select",function(H){t.CHM(r);const Q=t.oxw(2);return t.KtG(Q.onClick(H))})("activate",function(H){t.CHM(r);const Q=t.oxw(2);return t.KtG(Q.activate.emit(H))})("deactivate",function(H){t.CHM(r);const Q=t.oxw(2);return t.KtG(Q.deactivate.emit(H))}),t.qZA()}if(2&f){const r=k.$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 Af(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Kh,1,22,"g",1),t.qZA()),2&f){const r=t.oxw();t.xp6(1),t.Q6J("ngForOf",r.bars)("ngForTrackBy",r.trackBy)}}function u3(f,k){if(1&f){const r=t.EpF();t.O4$(),t.TgZ(0,"g",2),t.NdJ("select",function(H){t.CHM(r);const Q=t.oxw(2);return t.KtG(Q.onClick(H))})("activate",function(H){t.CHM(r);const Q=t.oxw(2);return t.KtG(Q.activate.emit(H))})("deactivate",function(H){t.CHM(r);const Q=t.oxw(2);return t.KtG(Q.deactivate.emit(H))}),t.qZA()}if(2&f){const r=k.$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 Df(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,u3,1,20,"g",1),t.qZA()),2&f){const r=t.oxw();t.xp6(1),t.Q6J("ngForOf",r.bars)("ngForTrackBy",r.trackBy)}}function f3(f,k){if(1&f){const r=t.EpF();t.O4$(),t.TgZ(0,"g",4),t.NdJ("dimensionsChanged",function(H){const Te=t.CHM(r).index,dt=t.oxw(2);return t.KtG(dt.dataLabelHeightChanged.emit({size:H,index:Te}))}),t.qZA()}if(2&f){const r=k.$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 Lf(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,f3,1,7,"g",3),t.qZA()),2&f){const r=t.oxw();t.xp6(1),t.Q6J("ngForOf",r.barsForDataLabels)("ngForTrackBy",r.trackDataLabelBy)}}function m3(f,k){if(1&f){const r=t.EpF();t.O4$(),t.TgZ(0,"g",5),t.NdJ("dimensionsChanged",function(H){t.CHM(r);const Q=t.oxw();return t.KtG(Q.updateXAxisHeight(H))}),t.qZA()}if(2&f){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)}}function Qh(f,k){if(1&f){const r=t.EpF();t.O4$(),t.TgZ(0,"g",6),t.NdJ("dimensionsChanged",function(H){t.CHM(r);const Q=t.oxw();return t.KtG(Q.updateYAxisWidth(H))}),t.qZA()}if(2&f){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)}}function If(f,k){if(1&f){const r=t.EpF();t.O4$(),t.TgZ(0,"g",6),t.NdJ("dimensionsChanged",function(H){t.CHM(r);const Q=t.oxw();return t.KtG(Q.updateXAxisHeight(H))}),t.qZA()}if(2&f){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)}}function qh(f,k){if(1&f){const r=t.EpF();t.O4$(),t.TgZ(0,"g",7),t.NdJ("dimensionsChanged",function(H){t.CHM(r);const Q=t.oxw();return t.KtG(Q.updateYAxisWidth(H))}),t.qZA()}if(2&f){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)}}function kf(f,k){if(1&f){const r=t.EpF();t.O4$(),t.TgZ(0,"g",9),t.NdJ("select",function(H){const Te=t.CHM(r).$implicit,dt=t.oxw(2);return t.KtG(dt.onClick(H,Te))})("activate",function(H){const Te=t.CHM(r).$implicit,dt=t.oxw(2);return t.KtG(dt.onActivate(H,Te))})("deactivate",function(H){const Te=t.CHM(r).$implicit,dt=t.oxw(2);return t.KtG(dt.onDeactivate(H,Te))})("dataLabelHeightChanged",function(H){const Te=t.CHM(r).index,dt=t.oxw(2);return t.KtG(dt.onDataLabelMaxHeightChanged(H,Te))}),t.qZA()}if(2&f){const r=k.$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 Of(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,kf,1,17,"g",8),t.qZA()),2&f){const r=t.oxw();t.xp6(1),t.Q6J("ngForOf",r.results)("ngForTrackBy",r.trackBy)}}function Pf(f,k){if(1&f){const r=t.EpF();t.O4$(),t.TgZ(0,"g",9),t.NdJ("select",function(H){const Te=t.CHM(r).$implicit,dt=t.oxw(2);return t.KtG(dt.onClick(H,Te))})("activate",function(H){const Te=t.CHM(r).$implicit,dt=t.oxw(2);return t.KtG(dt.onActivate(H,Te))})("deactivate",function(H){const Te=t.CHM(r).$implicit,dt=t.oxw(2);return t.KtG(dt.onDeactivate(H,Te))})("dataLabelHeightChanged",function(H){const Te=t.CHM(r).index,dt=t.oxw(2);return t.KtG(dt.onDataLabelMaxHeightChanged(H,Te))}),t.qZA()}if(2&f){const r=k.$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 js(f,k){if(1&f&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Pf,1,16,"g",8),t.qZA()),2&f){const r=t.oxw();t.xp6(1),t.Q6J("ngForOf",r.results)("ngForTrackBy",r.trackBy)}}function du(f,k,r){r=r||{};let x,H,Q,Te=null,dt=0;function Yt(){dt=!1===r.leading?0:+new Date,Te=null,Q=f.apply(x,H)}return function(){const Wt=+new Date;!dt&&!1===r.leading&&(dt=Wt);const ai=k-(Wt-dt);return x=this,H=arguments,ai<=0?(clearTimeout(Te),Te=null,dt=Wt,Q=f.apply(x,H)):!Te&&!1!==r.trailing&&(Te=setTimeout(Yt,ai)),Q}}function hu(f,k){return function(x,H,Q){return{configurable:!0,enumerable:Q.enumerable,get:function(){return Object.defineProperty(this,H,{configurable:!0,enumerable:Q.enumerable,value:du(Q.value,f,k)}),this[H]}}}}var qn=(()=>{return(f=qn||(qn={})).Top="top",f.Bottom="bottom",f.Left="left",f.Right="right",f.Center="center",qn;var f})();function k0(f,k,r){return r===qn.Top?f.top-7:r===qn.Bottom?f.top+f.height-k.height+7:r===qn.Center?f.top+f.height/2-k.height/2:void 0}function uu(f,k,r){return r===qn.Left?f.left-7:r===qn.Right?f.left+f.width-k.width+7:r===qn.Center?f.left+f.width/2-k.width/2:void 0}class Uo{static calculateVerticalAlignment(k,r,x){let H=k0(k,r,x);return H+r.height>window.innerHeight&&(H=window.innerHeight-r.height),H}static calculateVerticalCaret(k,r,x,H){let Q;H===qn.Top&&(Q=k.height/2-x.height/2+7),H===qn.Bottom&&(Q=r.height-k.height/2-x.height/2-7),H===qn.Center&&(Q=r.height/2-x.height/2);const Te=k0(k,r,H);return Te+r.height>window.innerHeight&&(Q+=Te+r.height-window.innerHeight),Q}static calculateHorizontalAlignment(k,r,x){let H=uu(k,r,x);return H+r.width>window.innerWidth&&(H=window.innerWidth-r.width),H}static calculateHorizontalCaret(k,r,x,H){let Q;H===qn.Left&&(Q=k.width/2-x.width/2+7),H===qn.Right&&(Q=r.width-k.width/2-x.width/2-7),H===qn.Center&&(Q=r.width/2-x.width/2);const Te=uu(k,r,H);return Te+r.width>window.innerWidth&&(Q+=Te+r.width-window.innerWidth),Q}static shouldFlip(k,r,x,H){let Q=!1;return x===qn.Right&&k.left+k.width+r.width+H>window.innerWidth&&(Q=!0),x===qn.Left&&k.left-r.width-H<0&&(Q=!0),x===qn.Top&&k.top-r.height-H<0&&(Q=!0),x===qn.Bottom&&k.top+k.height+r.height+H>window.innerHeight&&(Q=!0),Q}static positionCaret(k,r,x,H,Q){let Te=0,dt=0;return k===qn.Right?(dt=-7,Te=Uo.calculateVerticalCaret(x,r,H,Q)):k===qn.Left?(dt=r.width,Te=Uo.calculateVerticalCaret(x,r,H,Q)):k===qn.Top?(Te=r.height,dt=Uo.calculateHorizontalCaret(x,r,H,Q)):k===qn.Bottom&&(Te=-7,dt=Uo.calculateHorizontalCaret(x,r,H,Q)),{top:Te,left:dt}}static positionContent(k,r,x,H,Q){let Te=0,dt=0;return k===qn.Right?(dt=x.left+x.width+H,Te=Uo.calculateVerticalAlignment(x,r,Q)):k===qn.Left?(dt=x.left-r.width-H,Te=Uo.calculateVerticalAlignment(x,r,Q)):k===qn.Top?(Te=x.top-r.height-H,dt=Uo.calculateHorizontalAlignment(x,r,Q)):k===qn.Bottom&&(Te=x.top+x.height+H,dt=Uo.calculateHorizontalAlignment(x,r,Q)),{top:Te,left:dt}}static determinePlacement(k,r,x,H){if(Uo.shouldFlip(x,r,k,H)){if(k===qn.Right)return qn.Left;if(k===qn.Left)return qn.Right;if(k===qn.Top)return qn.Bottom;if(k===qn.Bottom)return qn.Top}return k}}let R3=(()=>{class f{constructor(r,x,H){this.element=r,this.renderer=x,this.platformId=H}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 H=r.getBoundingClientRect();this.checkFlip(x,H),this.positionContent(r,x,H),this.showCaret&&this.positionCaret(x,H),setTimeout(()=>this.renderer.addClass(r,"animate"),1)}positionContent(r,x,H){const{top:Q,left:Te}=Uo.positionContent(this.placement,H,x,this.spacing,this.alignment);this.renderer.setStyle(r,"top",`${Q}px`),this.renderer.setStyle(r,"left",`${Te}px`)}positionCaret(r,x){const H=this.caretElm.nativeElement,Q=H.getBoundingClientRect(),{top:Te,left:dt}=Uo.positionCaret(this.placement,x,r,Q,this.alignment);this.renderer.setStyle(H,"top",`${Te}px`),this.renderer.setStyle(H,"left",`${dt}px`)}checkFlip(r,x){this.placement=Uo.determinePlacement(this.placement,x,r,this.spacing)}onWindowResize(){this.position()}}return f.\u0275fac=function(r){return new(r||f)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-tooltip-content"]],viewQuery:function(r,x){if(1&r&&t.Gf(A1,5),2&r){let H;t.iGM(H=t.CRH())&&(x.caretElm=H.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,zd,2,4,"span",3),t.YNc(5,gl,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,b.gn)([hu(100)],f.prototype,"onWindowResize",null),f})();class N3{constructor(k){this.injectionService=k,this.defaults={},this.components=new Map}getByType(k=this.type){return this.components.get(k)}create(k){return this.createByType(this.type,k)}createByType(k,r){r=this.assignDefaults(r);const x=this.injectComponent(k,r);return this.register(k,x),x}destroy(k){const r=this.components.get(k.componentType);if(r&&r.length){const x=r.indexOf(k);x>-1&&(r[x].destroy(),r.splice(x,1))}}destroyAll(){this.destroyByType(this.type)}destroyByType(k){const r=this.components.get(k);if(r&&r.length){let x=r.length-1;for(;x>=0;)this.destroy(r[x--])}}injectComponent(k,r){return this.injectionService.appendComponent(k,r)}assignDefaults(k){const r={...this.defaults.inputs},x={...this.defaults.outputs};return!k.inputs&&!k.outputs&&(k={inputs:k}),r&&(k.inputs={...r,...k.inputs}),x&&(k.outputs={...x,...k.outputs}),k}register(k,r){this.components.has(k)||this.components.set(k,[]),this.components.get(k).push(r)}}let F3=(()=>{class f{constructor(r,x,H){this.applicationRef=r,this.componentFactoryResolver=x,this.injector=H}static setGlobalRootViewContainer(r){f.globalRootViewContainer=r}getRootViewContainer(){if(this._container)return this._container;if(f.globalRootViewContainer)return f.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")}setRootViewContainer(r){this._container=r}getComponentRootNode(r){return function O0(f){return f.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 H=Object.getOwnPropertyNames(x.inputs);for(const Q of H)r.instance[Q]=x.inputs[Q]}if(void 0!==x.outputs){const H=Object.getOwnPropertyNames(x.outputs);for(const Q of H)r.instance[Q]=x.outputs[Q]}}return r}appendComponent(r,x={},H){H||(H=this.getRootViewContainer());const Q=this.getComponentRootNode(H),Te=new I.u0(Q,this.componentFactoryResolver,this.applicationRef,this.injector),dt=new I.C5(r),Yt=Te.attach(dt);return this.projectComponentBindings(Yt,x),Yt}}return f.globalRootViewContainer=null,f.\u0275fac=function(r){return new(r||f)(t.LFG(t.z2F),t.LFG(t._Vd),t.LFG(t.zs3))},f.\u0275prov=t.Yz7({token:f,factory:f.\u0275fac}),f})(),P0=(()=>{class f extends N3{constructor(r){super(r),this.type=R3}}return f.\u0275fac=function(r){return new(r||f)(t.LFG(F3))},f.\u0275prov=t.Yz7({token:f,factory:f.\u0275fac}),f})();var Cs=(()=>{return(f=Cs||(Cs={})).Right="right",f.Below="below",Cs;var f})(),pc=(()=>{return(f=pc||(pc={})).ScaleLegend="scaleLegend",f.Legend="legend",pc;var f})(),yn=(()=>{return(f=yn||(yn={})).Time="time",f.Linear="linear",f.Ordinal="ordinal",f.Quantile="quantile",yn;var f})();let R0=(()=>{class f{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 H=[];return r.reverse().forEach((Q,Te)=>{H.push(`${Q} ${Math.round(100*x[Te])}%`)}),H.join(", ")}}return f.\u0275fac=function(r){return new(r||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-charts-scale-legend"]],inputs:{valueRange:"valueRange",colors:"colors",height:"height",width:"width",horizontal:"horizontal"},features:[t.TTD],decls:8,vars:10,consts:[[1,"scale-legend"],[1,"scale-legend-label"],[1,"scale-legend-wrap"]],template:function(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}),f})();function Kl(f){return f instanceof Date?f.toLocaleDateString():f.toLocaleString()}let fu=(()=>{class f{constructor(){this.isActive=!1,this.select=new t.vpe,this.activate=new t.vpe,this.deactivate=new t.vpe,this.toggle=new t.vpe}get trimmedLabel(){return this.formattedLabel||"(empty)"}onMouseEnter(){this.activate.emit({name:this.label})}onMouseLeave(){this.deactivate.emit({name:this.label})}}return f.\u0275fac=function(r){return new(r||f)},f.\u0275cmp=t.Xpm({type:f,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}),f})(),F0=(()=>{class f{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 H=Kl(x);-1===r.findIndex(Te=>Te.label===H)&&r.push({label:x,formattedLabel:H,color:this.colors.getColor(x)})}return r}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(H=>r.label===H.name)}activate(r){this.labelActivate.emit(r)}deactivate(r){this.labelDeactivate.emit(r)}trackBy(r,x){return x.label}}return f.\u0275fac=function(r){return new(r||f)(t.Y36(t.sBO))},f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-charts-legend"]],inputs:{data:"data",title:"title",colors:"colors",height:"height",width:"width",activeEntries:"activeEntries",horizontal:"horizontal"},outputs:{labelClick:"labelClick",labelActivate:"labelActivate",labelDeactivate:"labelDeactivate"},features:[t.TTD],decls:5,vars:9,consts:[["class","legend-title",4,"ngIf"],[1,"legend-wrap"],[1,"legend-labels"],["class","legend-label",4,"ngFor","ngForOf","ngForTrackBy"],[1,"legend-title"],[1,"legend-title-text"],[1,"legend-label"],[3,"label","formattedLabel","color","isActive","select","activate","deactivate"]],template:function(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,Ih,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:[fu,e.O5,e.sg],styles:[".chart-legend{display:inline-block;padding:0;width:auto!important}.chart-legend .legend-title{white-space:nowrap;overflow:hidden;margin-left:10px;margin-bottom:5px;font-size:14px;font-weight:700}.chart-legend ul,.chart-legend li{padding:0;margin:0;list-style:none}.chart-legend .horizontal-legend li{display:inline-block}.chart-legend .legend-wrap{width:calc(100% - 10px)}.chart-legend .legend-labels{line-height:85%;list-style:none;text-align:left;float:left;width:100%;border-radius:3px;overflow-y:auto;overflow-x:hidden;white-space:nowrap;background:rgba(0,0,0,.05)}.chart-legend .legend-label{cursor:pointer;font-size:90%;margin:8px;color:#afb7c8}.chart-legend .legend-label:hover{color:#000;transition:.2s}.chart-legend .legend-label .active .legend-label-text{color:#000}.chart-legend .legend-label-color{display:inline-block;height:15px;width:15px;margin-right:5px;color:#5b646b;border-radius:3px}.chart-legend .legend-label-text{display:inline-block;vertical-align:top;line-height:15px;font-size:12px;width:calc(100% - 20px);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chart-legend .legend-title-text{vertical-align:bottom;display:inline-block;line-height:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}\n"],encapsulation:2,changeDetection:0}),f})(),H0=(()=>{class f{constructor(){this.showLegend=!1,this.animations=!0,this.legendLabelClick=new t.vpe,this.legendLabelActivate=new t.vpe,this.legendLabelDeactivate=new t.vpe,this.LegendPosition=Cs,this.LegendType=pc}ngOnChanges(r){this.update()}update(){let r=0;this.showLegend&&(this.legendType=this.getLegendType(),(!this.legendOptions||this.legendOptions.position===Cs.Right)&&(r=this.legendType===pc.ScaleLegend?1:2)),this.chartWidth=Math.floor(this.view[0]*(12-r)/12),this.legendWidth=this.legendOptions&&this.legendOptions.position!==Cs.Right?this.chartWidth:Math.floor(this.view[0]*r/12)}getLegendType(){return this.legendOptions.scaleType===yn.Linear?pc.ScaleLegend:pc.Legend}}return f.\u0275fac=function(r){return new(r||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-charts-chart"]],inputs:{view:"view",showLegend:"showLegend",legendOptions:"legendOptions",legendType:"legendType",activeEntries:"activeEntries",animations:"animations"},outputs:{legendLabelClick:"legendLabelClick",legendLabelActivate:"legendLabelActivate",legendLabelDeactivate:"legendLabelDeactivate"},features:[t._Bn([P0]),t.TTD],ngContentSelectors:Vd,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,f0,1,5,"ngx-charts-scale-legend",2),t.YNc(4,kh,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:[R0,F0,e.O5],encapsulation:2,changeDetection:0}),f})(),H3=(()=>{class f{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:H}=this.element.nativeElement;x&&H?(clearTimeout(this.timeout),this.onVisibilityChange()):(clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r(),100)}))};this.zone.runOutsideAngular(()=>{this.timeout=setTimeout(()=>r())})}}return f.\u0275fac=function(r){return new(r||f)(t.Y36(t.SBq),t.Y36(t.R0b))},f.\u0275dir=t.lG2({type:f,selectors:[["visibility-observer"]],outputs:{visible:"visible"}}),f})();function mu(f){return"[object Date]"===toString.call(f)}let Ks=(()=>{class f{constructor(r,x,H,Q){this.chartElement=r,this.zone=x,this.cd=H,this.platformId=Q,this.scheme="cool",this.schemeType=yn.Ordinal,this.animations=!0,this.select=new t.vpe}ngOnInit(){(0,e.PM)(this.platformId)&&(this.animations=!1)}ngAfterViewInit(){this.bindWindowResizeEvent(),this.visibilityObserver=new H3(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 H=this.chartElement.nativeElement;if((0,e.NF)(this.platformId)&&null!==H.parentNode){const Q=H.parentNode.getBoundingClientRect();r=Q.width,x=Q.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,mu(x.label)&&(x.label=x.label.toLocaleDateString()),x.series)for(let H=0;H<x.series.length;H++){const Q=x.series[H];Q.label=Q.name,mu(Q.label)&&(Q.label=Q.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(H=>{this.update(),this.cd&&this.cd.markForCheck()});this.resizeSubscription=x}cloneData(r){const x=[];for(const H of r){const Q={name:H.name};if(void 0!==H.value&&(Q.value=H.value),void 0!==H.series){Q.series=[];for(const Te of H.series){const dt=Object.assign({},Te);Q.series.push(dt)}}void 0!==H.extra&&(Q.extra=JSON.parse(JSON.stringify(H.extra))),x.push(Q)}return x}}return f.\u0275fac=function(r){return new(r||f)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,selectors:[["base-chart"]],inputs:{results:"results",view:"view",scheme:"scheme",schemeType:"schemeType",customColors:"customColors",animations:"animations"},outputs:{select:"select"},features:[t.TTD],decls:1,vars:0,template:function(r,x){1&r&&t._UZ(0,"div")},encapsulation:2}),f})();var zr=(()=>{return(f=zr||(zr={})).Top="top",f.Bottom="bottom",f.Left="left",f.Right="right",zr;var f})();let z3=(()=>{class f{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 f.\u0275fac=function(r){return new(r||f)(t.Y36(t.SBq))},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-axis-label",""]],inputs:{orient:"orient",label:"label",offset:"offset",width:"width",height:"height"},features:[t.TTD],attrs:Oh,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}),f})();function a2(f,k=16){return"string"!=typeof f?"number"==typeof f?f+"":"":(f=f.trim()).length<=k?f:`${f.slice(0,k)}...`}function xl(f,k){if(f.length>k){const r=[],x=Math.floor(f.length/k);for(let H=0;H<f.length;H++)H%x==0&&r.push(f[H]);f=r}return f}var Go=(()=>{return(f=Go||(Go={})).Start="start",f.Middle="middle",f.End="end",Go;var f})();let pu=(()=>{class f{constructor(r){this.platformId=r,this.tickArguments=[5],this.tickStroke="#ccc",this.trimTicks=!0,this.maxTickLength=16,this.showGridLines=!1,this.rotateTicks=!0,this.dimensionsChanged=new t.vpe,this.verticalSpacing=20,this.rotateLabels=!1,this.innerTickSize=6,this.outerTickSize=6,this.tickPadding=3,this.textAnchor=Go.Middle,this.maxTicksLength=0,this.maxAllowedLength=16,this.height=0,this.approxHeight=10}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(H){return"Date"===H.constructor.name?H.toLocaleDateString():H.toLocaleString()};const x=this.rotateTicks?this.getRotationAngle(this.ticks):null;this.adjustedScale=this.scale.bandwidth?function(H){return this.scale(H)+.5*this.scale.bandwidth()}:this.scale,this.textTransform="",x&&0!==x?(this.textTransform=`rotate(${x})`,this.textAnchor=Go.End,this.verticalSpacing=10):this.textAnchor=Go.Middle,setTimeout(()=>this.updateDims())}getRotationAngle(r){let x=0;this.maxTicksLength=0;for(let Wt=0;Wt<r.length;Wt++){const ai=this.tickFormat(r[Wt]).toString();let gi=ai.length;this.trimTicks&&(gi=this.tickTrim(ai).length),gi>this.maxTicksLength&&(this.maxTicksLength=gi)}const Te=7*Math.min(this.maxTicksLength,this.maxAllowedLength);let dt=Te;const Yt=Math.floor(this.width/r.length);for(;dt>Yt&&x>-90;)x-=30,dt=Math.cos(x*(Math.PI/180))*Te;return this.approxHeight=Math.max(Math.abs(Math.sin(x*(Math.PI/180))*Te),10),x}getTicks(){let r;const x=this.getMaxTicks(20),H=this.getMaxTicks(100);return this.tickValues?r=this.tickValues:this.scale.ticks?r=this.scale.ticks.apply(this.scale,[H]):(r=this.scale.domain(),r=xl(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?a2(r,this.maxTickLength):r}}return f.\u0275fac=function(r){return new(r||f)(t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-x-axis-ticks",""]],viewQuery:function(r,x){if(1&r&&t.Gf(D1,5),2&r){let H;t.iGM(H=t.CRH())&&(x.ticksElement=H.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineHeight:"gridLineHeight",width:"width",rotateTicks:"rotateTicks"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:_l,decls:4,vars:2,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[4,"ngIf"],["y2","0",1,"gridline-path","gridline-path-vertical"]],template:function(r,x){1&r&&(t.O4$(),t.TgZ(0,"g",null,0),t.YNc(2,Gs,5,7,"g",1),t.qZA(),t.YNc(3,vl,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}),f})(),V0=(()=>{class f{constructor(){this.rotateTicks=!0,this.showGridLines=!1,this.xOrient=zr.Bottom,this.xAxisOffset=0,this.dimensionsChanged=new t.vpe,this.xAxisClassName="x axis",this.labelOffset=0,this.fill="none",this.stroke="stroke",this.tickStroke="#ccc",this.strokeWidth="none",this.padding=5,this.orientation=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 f.\u0275fac=function(r){return new(r||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-x-axis",""]],viewQuery:function(r,x){if(1&r&&t.Gf(pu,5),2&r){let H;t.iGM(H=t.CRH())&&(x.ticksComponent=H.first)}},inputs:{xScale:"xScale",dims:"dims",trimTicks:"trimTicks",rotateTicks:"rotateTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",ticks:"ticks",xAxisTickCount:"xAxisTickCount",xOrient:"xOrient",xAxisOffset:"xAxisOffset"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:m0,decls:3,vars:4,consts:[["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-x-axis-ticks","",3,"trimTicks","rotateTicks","maxTickLength","tickFormatting","tickArguments","tickStroke","scale","orient","showGridLines","gridLineHeight","width","tickValues","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(r,x){1&r&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Rh,1,12,"g",0),t.YNc(2,p0,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:[pu,z3,e.O5],encapsulation:2,changeDetection:0}),f})();function Ql(f,k,r,x,H,[Q,Te,dt,Yt]){let Wt="";return Wt=`M${[f+H,k]}`,Wt+="h"+((r=0===(r=Math.floor(r))?1:r)-2*H),Wt+=Te?`a${[H,H]} 0 0 1 ${[H,H]}`:`h${H}v${H}`,Wt+="v"+((x=0===(x=Math.floor(x))?1:x)-2*H),Wt+=Yt?`a${[H,H]} 0 0 1 ${[-H,H]}`:`v${H}h${-H}`,Wt+="h"+(2*H-r),Wt+=dt?`a${[H,H]} 0 0 1 ${[-H,-H]}`:`h${-H}v${-H}`,Wt+="v"+(2*H-x),Wt+=Q?`a${[H,H]} 0 0 1 ${[H,-H]}`:`v${-H}h${H}`,Wt+="z",Wt}let a4=(()=>{class f{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.dimensionsChanged=new t.vpe,this.innerTickSize=6,this.tickPadding=3,this.verticalSpacing=20,this.textAnchor=Go.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(H){return"Date"===H.constructor.name?H.toLocaleDateString():H.toLocaleString()},this.adjustedScale=r.bandwidth?function(H){return r(H)+.5*r.bandwidth()}:r,this.showRefLines&&this.referenceLines&&this.setReferencelines(),this.orient){case zr.Top:case zr.Bottom:this.transform=function(H){return"translate("+this.adjustedScale(H)+",0)"},this.textAnchor=Go.Middle,this.y2=this.innerTickSize*x,this.y1=this.tickSpacing*x,this.dy=x<0?"0em":".71em";break;case zr.Left:this.transform=function(H){return"translate(0,"+this.adjustedScale(H)+")"},this.textAnchor=Go.End,this.x2=this.innerTickSize*-x,this.x1=this.tickSpacing*-x,this.dy=".32em";break;case zr.Right:this.transform=function(H){return"translate(0,"+this.adjustedScale(H)+")"},this.textAnchor=Go.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=Ql(0,this.refMax,this.gridLineWidth,this.refMin-this.refMax,0,[!1,!1,!1,!1])}getTicks(){let r;const x=this.getMaxTicks(20),H=this.getMaxTicks(50);return this.tickValues?r=this.tickValues:this.scale.ticks?r=this.scale.ticks.apply(this.scale,[H]):(r=this.scale.domain(),r=xl(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?a2(r,this.maxTickLength):r}getApproximateAxisWidth(){return 7*Math.max(...this.ticks.map(H=>this.tickTrim(this.tickFormat(H)).length))}}return f.\u0275fac=function(r){return new(r||f)(t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-y-axis-ticks",""]],viewQuery:function(r,x){if(1&r&&t.Gf(D1,5),2&r){let H;t.iGM(H=t.CRH())&&(x.ticksElement=H.first)}},inputs:{scale:"scale",orient:"orient",tickArguments:"tickArguments",tickValues:"tickValues",tickStroke:"tickStroke",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",showGridLines:"showGridLines",gridLineWidth:"gridLineWidth",height:"height",referenceLines:"referenceLines",showRefLabels:"showRefLabels",showRefLines:"showRefLines"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:Nh,decls:6,vars:4,consts:[["ticksel",""],["class","tick",4,"ngFor","ngForOf"],["class","reference-area",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"tick"],["stroke-width","0.01"],[1,"reference-area"],[4,"ngIf"],["class","gridline-path gridline-path-horizontal","x1","0",4,"ngIf"],["x1","0",1,"gridline-path","gridline-path-horizontal"],["x1","0",1,"refline-path","gridline-path-horizontal"],[1,"refline-label"]],template:function(r,x){1&r&&(t.O4$(),t.TgZ(0,"g",null,0),t.YNc(2,g0,5,9,"g",1),t.qZA(),t.YNc(3,bl,1,2,"path",2),t.YNc(4,zh,2,2,"g",3),t.YNc(5,b0,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}),f})(),V3=(()=>{class f{constructor(){this.showGridLines=!1,this.yOrient=zr.Left,this.yAxisOffset=0,this.dimensionsChanged=new t.vpe,this.yAxisClassName="y axis",this.labelOffset=15,this.fill="none",this.stroke="#CCC",this.tickStroke="#CCC",this.strokeWidth=1,this.padding=5}ngOnChanges(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 f.\u0275fac=function(r){return new(r||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-y-axis",""]],viewQuery:function(r,x){if(1&r&&t.Gf(a4,5),2&r){let H;t.iGM(H=t.CRH())&&(x.ticksComponent=H.first)}},inputs:{yScale:"yScale",dims:"dims",trimTicks:"trimTicks",maxTickLength:"maxTickLength",tickFormatting:"tickFormatting",ticks:"ticks",showGridLines:"showGridLines",showLabel:"showLabel",labelText:"labelText",yAxisTickCount:"yAxisTickCount",yOrient:"yOrient",referenceLines:"referenceLines",showRefLines:"showRefLines",showRefLabels:"showRefLabels",yAxisOffset:"yAxisOffset"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:Vh,decls:3,vars:4,consts:[["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged",4,"ngIf"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width",4,"ngIf"],["ngx-charts-y-axis-ticks","",3,"trimTicks","maxTickLength","tickFormatting","tickArguments","tickValues","tickStroke","scale","orient","showGridLines","gridLineWidth","referenceLines","showRefLines","showRefLabels","height","dimensionsChanged"],["ngx-charts-axis-label","",3,"label","offset","orient","height","width"]],template:function(r,x){1&r&&(t.O4$(),t.TgZ(0,"g"),t.YNc(1,Bh,1,14,"g",0),t.YNc(2,y0,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:[a4,z3,e.O5],encapsulation:2,changeDetection:0}),f})(),gu=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[e.ez]]}),f})();var Cl=(()=>{return(f=Cl||(Cl={})).popover="popover",f.tooltip="tooltip",Cl;var f})(),wl=(()=>{return(f=wl||(wl={}))[f.all="all"]="all",f[f.focus="focus"]="focus",f[f.mouseover="mouseover"]="mouseover",wl;var f})();let wr=(()=>{class f{constructor(r,x,H){this.tooltipService=r,this.viewContainerRef=x,this.renderer=H,this.tooltipCssClass="",this.tooltipAppendToBody=!0,this.tooltipSpacing=10,this.tooltipDisabled=!1,this.tooltipShowCaret=!0,this.tooltipPlacement=qn.Top,this.tooltipAlignment=qn.Center,this.tooltipType=Cl.popover,this.tooltipCloseOnClickOutside=!0,this.tooltipCloseOnMouseLeave=!0,this.tooltipHideTimeout=300,this.tooltipShowTimeout=100,this.tooltipShowEvent=wl.all,this.tooltipImmediateExit=!1,this.show=new t.vpe,this.hide=new t.vpe}get listensForFocus(){return this.tooltipShowEvent===wl.all||this.tooltipShowEvent===wl.focus}get listensForHover(){return this.tooltipShowEvent===wl.all||this.tooltipShowEvent===wl.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 H=this.createBoundOptions();this.component=this.tooltipService.create(H),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 f.\u0275fac=function(r){return new(r||f)(t.Y36(P0),t.Y36(t.s_b),t.Y36(t.Qsj))},f.\u0275dir=t.lG2({type:f,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(Q){return x.onMouseLeave(Q.target)})("click",function(){return x.onMouseClick()})},inputs:{tooltipCssClass:"tooltipCssClass",tooltipTitle:"tooltipTitle",tooltipAppendToBody:"tooltipAppendToBody",tooltipSpacing:"tooltipSpacing",tooltipDisabled:"tooltipDisabled",tooltipShowCaret:"tooltipShowCaret",tooltipPlacement:"tooltipPlacement",tooltipAlignment:"tooltipAlignment",tooltipType:"tooltipType",tooltipCloseOnClickOutside:"tooltipCloseOnClickOutside",tooltipCloseOnMouseLeave:"tooltipCloseOnMouseLeave",tooltipHideTimeout:"tooltipHideTimeout",tooltipShowTimeout:"tooltipShowTimeout",tooltipTemplate:"tooltipTemplate",tooltipShowEvent:"tooltipShowEvent",tooltipContext:"tooltipContext",tooltipImmediateExit:"tooltipImmediateExit"},outputs:{show:"show",hide:"hide"}}),f})(),B0=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({providers:[F3,P0],imports:[[e.ez]]}),f})();const B3={};function z1(){let f=("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);return f=`a${f}`,B3[f]?z1():(B3[f]=!0,f)}var or=(()=>{return(f=or||(or={})).Vertical="vertical",f.Horizontal="horizontal",or;var f})();let U0=(()=>{class f{constructor(){this.orientation=or.Vertical}ngOnChanges(r){this.x1="0%",this.x2="0%",this.y1="0%",this.y2="0%",this.orientation===or.Horizontal?this.x2="100%":this.orientation===or.Vertical&&(this.y1="100%")}}return f.\u0275fac=function(r){return new(r||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-svg-linear-gradient",""]],inputs:{orientation:"orientation",name:"name",stops:"stops"},features:[t.TTD],attrs:Yl,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,Rc,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}),f})(),_u=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-grid-panel",""]],inputs:{width:"width",height:"height",x:"x",y:"y"},attrs:Zd,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}),f})();var B1=(()=>{return(f=B1||(B1={})).Odd="odd",f.Even="even",B1;var f})();let xu,vu=(()=>{class f{ngOnChanges(r){this.update()}update(){this.gridPanels=this.getGridPanels()}getGridPanels(){return this.data.map(r=>{let x,H,Q,Te,dt,Yt=B1.Odd;if(this.orient===or.Vertical){const Wt=this.xScale(r.name);Number.parseInt((Wt/this.xScale.step()).toString(),10)%2==1&&(Yt=B1.Even),x=this.xScale.bandwidth()*this.xScale.paddingInner(),H=this.xScale.bandwidth()+x,Q=this.dims.height,Te=this.xScale(r.name)-x/2,dt=0}else if(this.orient===or.Horizontal){const Wt=this.yScale(r.name);Number.parseInt((Wt/this.yScale.step()).toString(),10)%2==1&&(Yt=B1.Even),x=this.yScale.bandwidth()*this.yScale.paddingInner(),H=this.dims.width,Q=this.yScale.bandwidth()+x,Te=0,dt=this.yScale(r.name)-x/2}return{name:r.name,class:Yt,height:Q,width:H,x:Te,y:dt}})}}return f.\u0275fac=function(r){return new(r||f)},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-grid-panel-series",""]],inputs:{data:"data",dims:"dims",xScale:"xScale",yScale:"yScale",orient:"orient"},features:[t.TTD],attrs:Zh,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,Wd,1,10,"g",0),2&r&&t.Q6J("ngForOf",x.gridPanels)},dependencies:[_u,e.sg],encapsulation:2,changeDetection:0}),f})();typeof window<"u"?xu=window:typeof global<"u"&&(xu=global);let Ms=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[e.ez,gu,B0],e.ez,gu,B0]}),f})();function wu({width:f,height:k,margins:r,showXAxis:x=!1,showYAxis:H=!1,xAxisHeight:Q=0,yAxisWidth:Te=0,showXLabel:dt=!1,showYLabel:Yt=!1,showLegend:Wt=!1,legendType:ai=yn.Ordinal,legendPosition:gi=Cs.Right,columns:vi=12}){let Si=r[3],rn=f,gn=k-r[0]-r[2];return Wt&&gi===Cs.Right&&(vi-=ai===yn.Ordinal?2:1),rn=rn*vi/12,rn=rn-r[1]-r[3],x&&(gn-=5,gn-=Q,dt&&(gn-=30)),H&&(rn-=5,rn-=Te,Si+=Te,Si+=10,Yt&&(rn-=30,Si+=30)),rn=Math.max(0,rn),gn=Math.max(0,gn),{width:Math.floor(rn),height:Math.floor(gn),xOffset:Math.floor(Si)}}const U3=[{name:"vivid",selectable:!0,group:yn.Ordinal,domain:["#647c8a","#3f51b5","#2196f3","#00b862","#afdf0a","#a7b61a","#f3e562","#ff9800","#ff5722","#ff4514"]},{name:"natural",selectable:!0,group:yn.Ordinal,domain:["#bf9d76","#e99450","#d89f59","#f2dfa7","#a5d7c6","#7794b1","#afafaf","#707160","#ba9383","#d9d5c3"]},{name:"cool",selectable:!0,group:yn.Ordinal,domain:["#a8385d","#7aa3e5","#a27ea8","#aae3f5","#adcded","#a95963","#8796c0","#7ed3ed","#50abcc","#ad6886"]},{name:"fire",selectable:!0,group:yn.Ordinal,domain:["#ff3d00","#bf360c","#ff8f00","#ff6f00","#ff5722","#e65100","#ffca28","#ffab00"]},{name:"solar",selectable:!0,group:yn.Linear,domain:["#fff8e1","#ffecb3","#ffe082","#ffd54f","#ffca28","#ffc107","#ffb300","#ffa000","#ff8f00","#ff6f00"]},{name:"air",selectable:!0,group:yn.Linear,domain:["#e1f5fe","#b3e5fc","#81d4fa","#4fc3f7","#29b6f6","#03a9f4","#039be5","#0288d1","#0277bd","#01579b"]},{name:"aqua",selectable:!0,group:yn.Linear,domain:["#e0f7fa","#b2ebf2","#80deea","#4dd0e1","#26c6da","#00bcd4","#00acc1","#0097a7","#00838f","#006064"]},{name:"flame",selectable:!1,group:yn.Ordinal,domain:["#A10A28","#D3342D","#EF6D49","#FAAD67","#FDDE90","#DBED91","#A9D770","#6CBA67","#2C9653","#146738"]},{name:"ocean",selectable:!1,group:yn.Ordinal,domain:["#1D68FB","#33C0FC","#4AFFFE","#AFFFFF","#FFFC63","#FDBD2D","#FC8A25","#FA4F1E","#FA141B","#BA38D1"]},{name:"forest",selectable:!1,group:yn.Ordinal,domain:["#55C22D","#C1F33D","#3CC099","#AFFFFF","#8CFC9D","#76CFFA","#BA60FB","#EE6490","#C42A1C","#FC9F32"]},{name:"horizon",selectable:!1,group:yn.Ordinal,domain:["#2597FB","#65EBFD","#99FDD0","#FCEE4B","#FEFCFA","#FDD6E3","#FCB1A8","#EF6F7B","#CB96E8","#EFDEE0"]},{name:"neons",selectable:!1,group:yn.Ordinal,domain:["#FF3333","#FF33FF","#CC33FF","#0000FF","#33CCFF","#33FFFF","#33FF66","#CCFF33","#FFCC00","#FF6600"]},{name:"picnic",selectable:!1,group:yn.Ordinal,domain:["#FAC51D","#66BD6D","#FAA026","#29BB9C","#E96B56","#55ACD2","#B7332F","#2C83C9","#9166B8","#92E7E8"]},{name:"night",selectable:!1,group:yn.Ordinal,domain:["#2B1B5A","#501356","#183356","#28203F","#391B3C","#1E2B3C","#120634","#2D0432","#051932","#453080","#75267D","#2C507D","#4B3880","#752F7D","#35547D"]},{name:"nightLights",selectable:!1,group:yn.Ordinal,domain:["#4e31a5","#9c25a7","#3065ab","#57468b","#904497","#46648b","#32118d","#a00fb3","#1052a2","#6e51bd","#b63cc3","#6c97cb","#8671c1","#b455be","#7496c3"]}];class G3{constructor(k,r,x,H){"string"==typeof k&&(k=U3.find(Q=>Q.name===k)),this.colorDomain=k.domain,this.scaleType=r,this.domain=x,this.customColors=H,this.scale=this.generateColorScheme(k,r,this.domain)}generateColorScheme(k,r,x){let H;switch("string"==typeof k&&(k=U3.find(Q=>Q.name===k)),r){case yn.Quantile:H=Fd().range(k.domain).domain(x);break;case yn.Ordinal:H=pl().range(k.domain).domain(x);break;case yn.Linear:{const Q=[...k.domain];1===Q.length&&(Q.push(Q[0]),this.colorDomain=Q);const Te=T1(0,1,1/Q.length);H=es().range(Q).domain(Te)}}return H}getColor(k){if(null==k)throw new Error("Value can not be null");if(this.scaleType===yn.Linear){const r=es().domain(this.domain).range([0,1]);return this.scale(r(k))}{if("function"==typeof this.customColors)return this.customColors(k);const r=k.toString();let x;return this.customColors&&this.customColors.length>0&&(x=this.customColors.find(H=>H.name.toLowerCase()===r.toLowerCase())),x?x.value:this.scale(k)}}getLinearGradientStops(k,r){void 0===r&&(r=this.domain[0]);const x=es().domain(this.domain).range([0,1]),H=Wl().domain(this.colorDomain).range([0,1]),Q=this.getColor(k),Te=x(r),dt=this.getColor(r),Yt=x(k);let Wt=1,ai=Te;const gi=[];for(gi.push({color:dt,offset:Te,originalOffset:Te,opacity:1});ai<Yt&&Wt<this.colorDomain.length;){const vi=this.colorDomain[Wt],Si=H(vi);if(Si<=Te)Wt++;else{if(Si.toFixed(4)>=(Yt-H.bandwidth()).toFixed(4))break;gi.push({color:vi,offset:Si,opacity:1}),ai=Si,Wt++}}if(gi[gi.length-1].offset<100&&gi.push({color:Q,offset:Yt,opacity:1}),Yt===Te)gi[0].offset=0,gi[1].offset=100;else if(100!==gi[gi.length-1].offset)for(const vi of gi)vi.offset=(vi.offset-Te)/(Yt-Te)*100;return gi}}let Y3=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Ms]]}),f})(),Z0=(()=>{class f{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"+z1().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 fe(f){return"string"==typeof f?new ji([[document.querySelector(f)]],[document.documentElement]):new ji([[f]],Gi)}(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===or.Vertical?(r=Math.min(this.height,r),x=Ql(this.x,this.y+this.height,this.width,1,0,this.edges)):this.orientation===or.Horizontal&&(r=Math.min(this.width,r),x=Ql(this.x,this.y,1,this.height,0,this.edges)):this.orientation===or.Vertical?x=Ql(this.x,this.y+this.height,this.width,1,0,this.edges):this.orientation===or.Horizontal&&(x=Ql(this.x,this.y,1,this.height,0,this.edges)),x}getPath(){let x,r=this.getRadius();return this.roundEdges?this.orientation===or.Vertical?(r=Math.min(this.height,r),x=Ql(this.x,this.y,this.width,this.height,r,this.edges)):this.orientation===or.Horizontal&&(r=Math.min(this.width,r),x=Ql(this.x,this.y,this.width,this.height,r,this.edges)):x=Ql(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===or.Vertical?r=this.data.value>0?[!0,!0,!1,!1]:[!1,!1,!0,!0]:this.orientation===or.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===or.Vertical&&0===this.height||this.orientation===or.Horizontal&&0===this.width)}}return f.\u0275fac=function(r){return new(r||f)(t.Y36(t.SBq))},f.\u0275cmp=t.Xpm({type:f,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:Qd,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,mn,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:[U0,e.O5],encapsulation:2,changeDetection:0}),f})();var ns=(()=>{return(f=ns||(ns={})).Standard="standard",f.Normalized="normalized",f.Stacked="stacked",ns;var f})(),qs=(()=>{return(f=qs||(qs={})).positive="positive",f.negative="negative",qs;var f})();let Eu=(()=>{class f{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):Kl(this.value),"horizontal"===this.orientation?(this.x=this.barX+this.barWidth,this.value<0?(this.x=this.x-this.horizontalPadding,this.textAnchor="end"):(this.x=this.x+this.horizontalPadding,this.textAnchor="start"),this.y=this.barY+this.barHeight/2):(this.x=this.barX+this.barWidth/2,this.y=this.barY+this.barHeight,this.value<0?(this.y=this.y+this.verticalPadding,this.textAnchor="end"):(this.y=this.y-this.verticalPadding,this.textAnchor="start"),this.transform=`rotate(-45, ${this.x} , ${this.y})`)}}return f.\u0275fac=function(r){return new(r||f)(t.Y36(t.SBq))},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-bar-label",""]],inputs:{value:"value",valueFormatting:"valueFormatting",barX:"barX",barY:"barY",barWidth:"barWidth",barHeight:"barHeight",orientation:"orientation"},outputs:{dimensionsChanged:"dimensionsChanged"},features:[t.TTD],attrs:Cn,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}),f})(),Tu=(()=>{class f{constructor(r){this.platformId=r,this.type=ns.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=or,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),H={[qs.positive]:0,[qs.negative]:0};let Te,Q=qs.positive;this.type===ns.Normalized&&(Te=this.series.map(dt=>dt.value).reduce((dt,Yt)=>dt+Yt,0)),this.bars=this.series.map((dt,Yt)=>{let Wt=dt.value;const ai=this.getLabel(dt),gi=Kl(ai);Q=Wt>0?qs.positive:qs.negative;const Si={value:Wt,label:ai,roundEdges:this.roundEdges,data:dt,width:r,formattedLabel:gi,height:0,x:0,y:0};if(this.type===ns.Standard)Si.height=Math.abs(this.yScale(Wt)-this.yScale(x)),Si.x=this.xScale(ai),Si.y=this.yScale(Wt<0?0:Wt);else if(this.type===ns.Stacked){const gn=H[Q],Ei=gn+Wt;H[Q]+=Wt,Si.height=this.yScale(gn)-this.yScale(Ei),Si.x=0,Si.y=this.yScale(Ei),Si.offset0=gn,Si.offset1=Ei}else if(this.type===ns.Normalized){let gn=H[Q],Ei=gn+Wt;H[Q]+=Wt,Te>0?(gn=100*gn/Te,Ei=100*Ei/Te):(gn=0,Ei=0),Si.height=this.yScale(gn)-this.yScale(Ei),Si.x=0,Si.y=this.yScale(Ei),Si.offset0=gn,Si.offset1=Ei,Wt=(Ei-gn).toFixed(2)+"%"}this.colors.scaleType===yn.Ordinal?Si.color=this.colors.getColor(ai):this.type===ns.Standard?(Si.color=this.colors.getColor(Wt),Si.gradientStops=this.colors.getLinearGradientStops(Wt)):(Si.color=this.colors.getColor(Si.offset1),Si.gradientStops=this.colors.getLinearGradientStops(Si.offset1,Si.offset0));let rn=gi;return Si.ariaLabel=gi+" "+Wt.toLocaleString(),null!=this.seriesName&&(rn=`${this.seriesName} \u2022 ${gi}`,Si.data.series=this.seriesName,Si.ariaLabel=this.seriesName+" "+Si.ariaLabel),Si.tooltipText=this.tooltipDisabled?void 0:`\n <span class="tooltip-label">${function N0(f){return f.toLocaleString().replace(/[&'`"<>]/g,k=>({"&":"&","'":"'","`":"`",'"':""","<":"<",">":">"}[k]))}(rn)}</span>\n <span class="tooltip-val">${this.dataLabelFormatting?this.dataLabelFormatting(Wt):Wt.toLocaleString()}</span>\n `,Si}),this.updateDataLabels()}updateDataLabels(){if(this.type===ns.Stacked){this.barsForDataLabels=[];const r={};r.series=this.seriesName;const x=this.series.map(Q=>Q.value).reduce((Q,Te)=>Te>0?Q+Te:Q,0),H=this.series.map(Q=>Q.value).reduce((Q,Te)=>Te<0?Q+Te:Q,0);r.total=x+H,r.x=0,r.y=0,r.height=this.yScale(r.total>0?x:H),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:qn.Top,this.tooltipType=this.tooltipDisabled?void 0:Cl.tooltip}isActive(r){return!!this.activeEntries&&void 0!==this.activeEntries.find(H=>r.name===H.name&&r.value===H.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 f.\u0275fac=function(r){return new(r||f)(t.Y36(t.Lbi))},f.\u0275cmp=t.Xpm({type:f,selectors:[["g","ngx-charts-series-vertical",""]],inputs:{dims:"dims",type:"type",series:"series",xScale:"xScale",yScale:"yScale",colors:"colors",gradient:"gradient",activeEntries:"activeEntries",seriesName:"seriesName",tooltipDisabled:"tooltipDisabled",tooltipTemplate:"tooltipTemplate",roundEdges:"roundEdges",animations:"animations",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{select:"select",activate:"activate",deactivate:"deactivate",dataLabelHeightChanged:"dataLabelHeightChanged"},features:[t.TTD],attrs:jh,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,Af,2,2,"g",0),t.YNc(1,Df,2,2,"g",0),t.YNc(2,Lf,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:[Z0,Eu,e.O5,e.sg,wr],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}),f})(),q3=(()=>{class f extends Ks{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cs.Right,this.tooltipDisabled=!1,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new t.vpe,this.deactivate=new t.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0}}update(){super.update(),this.showDataLabel||(this.dataLabelMaxHeight={negative:0,positive:0}),this.margin=[10+this.dataLabelMaxHeight.positive,20,10+this.dataLabelMaxHeight.negative,20],this.dims=wu({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 Wl().range([0,this.dims.width]).paddingInner(r).domain(this.xDomain)}getYScale(){this.yDomain=this.getYDomain();const r=es().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(Q=>Q.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 H=this.yScaleMax?Math.max(this.yScaleMax,...r):Math.max(0,...r);return this.yAxisTicks&&!this.yAxisTicks.some(isNaN)&&(H=Math.max(H,...this.yAxisTicks)),[x,H]}onClick(r){this.select.emit(r)}setColors(){let r;r=this.schemeType===yn.Ordinal?this.xDomain:this.yDomain,this.colors=new G3(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===yn.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(Q=>x?Q.label===r.name:Q.name===r.name),!(this.activeEntries.findIndex(Q=>Q.name===r.name&&Q.value===r.value&&Q.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(Q=>x?Q.label===r.name:Q.name===r.name);const H=this.activeEntries.findIndex(Q=>Q.name===r.name&&Q.value===r.value&&Q.series===r.series);this.activeEntries.splice(H,1),this.activeEntries=[...this.activeEntries],this.deactivate.emit({value:r,entries:this.activeEntries})}}return f.\u0275fac=function(){let k;return function(x){return(k||(k=t.n5z(f)))(x||f)}}(),f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-charts-bar-vertical"]],contentQueries:function(r,x,H){if(1&r&&t.Suo(H,Ut,5),2&r){let Q;t.iGM(Q=t.CRH())&&(x.tooltipTemplate=Q.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",yScaleMin:"yScaleMin",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[t.qOj],decls:5,vars:25,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelClick","legendLabelActivate","legendLabelDeactivate"],[1,"bar-chart","chart"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],["ngx-charts-series-vertical","",3,"xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","activeEntries","roundEdges","animations","noBarWhenZero","activate","deactivate","select","dataLabelHeightChanged"],["ngx-charts-x-axis","",3,"xScale","dims","showGridLines","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"]],template:function(r,x){1&r&&(t.TgZ(0,"ngx-charts-chart",0),t.NdJ("legendLabelClick",function(Q){return x.onClick(Q)})("legendLabelActivate",function(Q){return x.onActivate(Q,!0)})("legendLabelDeactivate",function(Q){return x.onDeactivate(Q,!0)}),t.O4$(),t.TgZ(1,"g",1),t.YNc(2,m3,1,11,"g",2),t.YNc(3,Qh,1,9,"g",3),t.TgZ(4,"g",4),t.NdJ("activate",function(Q){return x.onActivate(Q)})("deactivate",function(Q){return x.onDeactivate(Q)})("select",function(Q){return x.onClick(Q)})("dataLabelHeightChanged",function(Q){return x.onDataLabelMaxHeightChanged(Q)}),t.qZA()()()),2&r&&(t.Q6J("view",t.WLB(22,dn,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:[H0,V0,V3,Tu,e.O5],styles:[Cr],encapsulation:2,changeDetection:0}),f})(),f4=(()=>{class f extends Ks{constructor(){super(...arguments),this.legend=!1,this.legendTitle="Legend",this.legendPosition=Cs.Right,this.tooltipDisabled=!1,this.scaleType=yn.Ordinal,this.showGridLines=!0,this.activeEntries=[],this.trimXAxisTicks=!0,this.trimYAxisTicks=!0,this.rotateXAxisTicks=!0,this.maxXAxisTickLength=16,this.maxYAxisTickLength=16,this.groupPadding=16,this.barPadding=8,this.roundDomains=!1,this.roundEdges=!0,this.showDataLabel=!1,this.noBarWhenZero=!0,this.activate=new t.vpe,this.deactivate=new t.vpe,this.margin=[10,20,10,20],this.xAxisHeight=0,this.yAxisWidth=0,this.dataLabelMaxHeight={negative:0,positive:0},this.isSSR=!1,this.barOrientation=or,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=wu({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 Wl().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 Wl().rangeRound([0,r]).paddingInner(x).domain(this.innerDomain)}getValueScale(){const r=es().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 H of x.series)r.includes(H.label)||r.push(H.label);return r}getValueDomain(){const r=[];for(const Q of this.results)for(const Te of Q.series)r.includes(Te.value)||r.push(Te.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===yn.Ordinal?this.innerDomain:this.valueDomain,this.colors=new G3(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===yn.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,H=!1){const Q=Object.assign({},r);x&&(Q.series=x.name);const Te=this.results.map(dt=>dt.series).flat().filter(dt=>H?dt.label===Q.name:dt.name===Q.name&&dt.series===Q.series);this.activeEntries=[...Te],this.activate.emit({value:Q,entries:this.activeEntries})}onDeactivate(r,x,H=!1){const Q=Object.assign({},r);x&&(Q.series=x.name),this.activeEntries=this.activeEntries.filter(Te=>H?Te.label!==Q.name:!(Te.name===Q.name&&Te.series===Q.series)),this.deactivate.emit({value:Q,entries:this.activeEntries})}}return f.\u0275fac=function(){let k;return function(x){return(k||(k=t.n5z(f)))(x||f)}}(),f.\u0275cmp=t.Xpm({type:f,selectors:[["ngx-charts-bar-vertical-2d"]],contentQueries:function(r,x,H){if(1&r&&t.Suo(H,Ut,5),2&r){let Q;t.iGM(Q=t.CRH())&&(x.tooltipTemplate=Q.first)}},inputs:{legend:"legend",legendTitle:"legendTitle",legendPosition:"legendPosition",xAxis:"xAxis",yAxis:"yAxis",showXAxisLabel:"showXAxisLabel",showYAxisLabel:"showYAxisLabel",xAxisLabel:"xAxisLabel",yAxisLabel:"yAxisLabel",tooltipDisabled:"tooltipDisabled",scaleType:"scaleType",gradient:"gradient",showGridLines:"showGridLines",activeEntries:"activeEntries",schemeType:"schemeType",trimXAxisTicks:"trimXAxisTicks",trimYAxisTicks:"trimYAxisTicks",rotateXAxisTicks:"rotateXAxisTicks",maxXAxisTickLength:"maxXAxisTickLength",maxYAxisTickLength:"maxYAxisTickLength",xAxisTickFormatting:"xAxisTickFormatting",yAxisTickFormatting:"yAxisTickFormatting",xAxisTicks:"xAxisTicks",yAxisTicks:"yAxisTicks",groupPadding:"groupPadding",barPadding:"barPadding",roundDomains:"roundDomains",roundEdges:"roundEdges",yScaleMax:"yScaleMax",showDataLabel:"showDataLabel",dataLabelFormatting:"dataLabelFormatting",noBarWhenZero:"noBarWhenZero"},outputs:{activate:"activate",deactivate:"deactivate"},features:[t.qOj],decls:7,vars:18,consts:[[3,"view","showLegend","legendOptions","activeEntries","animations","legendLabelActivate","legendLabelDeactivate","legendLabelClick"],[1,"bar-chart","chart"],["ngx-charts-grid-panel-series","",3,"xScale","yScale","data","dims","orient"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged",4,"ngIf"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged",4,"ngIf"],[4,"ngIf"],["ngx-charts-x-axis","",3,"xScale","dims","showLabel","labelText","trimTicks","rotateTicks","maxTickLength","tickFormatting","ticks","xAxisOffset","dimensionsChanged"],["ngx-charts-y-axis","",3,"yScale","dims","showGridLines","showLabel","labelText","trimTicks","maxTickLength","tickFormatting","ticks","dimensionsChanged"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged",4,"ngFor","ngForOf","ngForTrackBy"],["ngx-charts-series-vertical","",3,"activeEntries","xScale","yScale","colors","series","dims","gradient","tooltipDisabled","tooltipTemplate","showDataLabel","dataLabelFormatting","seriesName","roundEdges","animations","noBarWhenZero","select","activate","deactivate","dataLabelHeightChanged"]],template:function(r,x){1&r&&(t.TgZ(0,"ngx-charts-chart",0),t.NdJ("legendLabelActivate",function(Q){return x.onActivate(Q,void 0,!0)})("legendLabelDeactivate",function(Q){return x.onDeactivate(Q,void 0,!0)})("legendLabelClick",function(Q){return x.onClick(Q)}),t.O4$(),t.TgZ(1,"g",1),t._UZ(2,"g",2),t.YNc(3,If,1,10,"g",3),t.YNc(4,qh,1,9,"g",4),t.YNc(5,Of,2,2,"g",5),t.qZA(),t.YNc(6,js,2,2,"g",5),t.qZA()),2&r&&(t.Q6J("view",t.WLB(15,dn,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:[H0,vu,V0,V3,Tu,e.O5,e.sg],styles:[Cr],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}),f})(),J3=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Ms]]}),f})();Ah();let g4=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Ms]]}),f})(),b4=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Ms]]}),f})(),X3=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Ms]]}),f})(),Au=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Ms]]}),f})();Math;let W0=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Ms]]}),f})(),Iu=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Ms,W0,Au]]}),f})(),Y0=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Ms]]}),f})(),Ou=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Ms]]}),f})(),I4=(()=>{class f{}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[Ms,W0,J3]]}),f})(),O4=(()=>{class f{constructor(){!function k4(){typeof SVGElement<"u"&&typeof SVGElement.prototype.contains>"u"&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}()}}return f.\u0275fac=function(r){return new(r||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[Ms,Y3,J3,g4,b4,X3,Au,Iu,Y0,W0,Ou,I4]}),f})()},658:(Ue,q,p)=>{"use strict";function t(O,E,R,z,U,Y,K){try{var $=O[Y](K),ie=$.value}catch(ue){return void R(ue)}$.done?E(ie):Promise.resolve(ie).then(z,U)}p.d(q,{uU:()=>S,OF:()=>w});var b=p(4650),I=p(6895),s=p(3259);function C(O,E){if(1&O&&b._UZ(0,"canvas",1),2&O){const R=b.oxw();b.Q6J("qrCode",R.value)("qrCodeErrorCorrectionLevel",R.errorCorrectionLevel)("qrCodeCenterImageSrc",R.centerImageSrc)("qrCodeCenterImageWidth",R.centerImageSize)("qrCodeCenterImageHeight",R.centerImageSize)("qrCodeMargin",R.margin)("width",R.size)("height",R.size)("darkColor",R.darkColor)("lightColor",R.lightColor)}}const h=/^#(?:[0-9a-fA-F]{3,4}){1,2}$/;let P=(()=>{class O{constructor(R){this.viewContainerRef=R,this.errorCorrectionLevel=O.DEFAULT_ERROR_CORRECTION_LEVEL,this.darkColor="#000000FF",this.lightColor="#FFFFFFFF",this.margin=16}ngOnChanges(){var R=this;return function e(O){return function(){var E=this,R=arguments;return new Promise(function(z,U){var Y=O.apply(E,R);function K(ie){t(Y,z,U,K,$,"next",ie)}function $(ie){t(Y,z,U,K,$,"throw",ie)}K(void 0)})}}(function*(){if(!R.value)return;R.version&&R.version>40?(console.warn("[qrCode] max version is 40, clamping"),R.version=40):R.version&&R.version<1?(console.warn("[qrCode] min version is 1, clamping"),R.version=1):void 0!==R.version&&isNaN(R.version)&&(console.warn("[qrCode] version should be set to a number, defaulting to auto"),R.version=void 0);const z=R.viewContainerRef.element.nativeElement;if(!z)return;const U=z.getContext("2d");U&&U.clearRect(0,0,U.canvas.width,U.canvas.height);const Y=R.errorCorrectionLevel??O.DEFAULT_ERROR_CORRECTION_LEVEL,K=h.test(R.darkColor)?R.darkColor:void 0,$=h.test(R.lightColor)?R.lightColor:void 0;(0,b.X6Q)()&&(!K&&R.darkColor&&console.error("[ng-qrcode] darkColor set to invalid value, must be RGBA hex color string, eg: #3050A1FF"),!$&&R.lightColor&&console.error("[ng-qrcode] lightColor set to invalid value, must be RGBA hex color string, eg: #3050A130")),yield s.toCanvas(z,R.value,{version:R.version,errorCorrectionLevel:Y,width:R.width,margin:R.margin,color:{dark:K,light:$}});const ie=R.centerImageSrc,ue=d(R.centerImageWidth,O.DEFAULT_CENTER_IMAGE_SIZE),he=d(R.centerImageHeight,O.DEFAULT_CENTER_IMAGE_SIZE);if(ie&&U){R.centerImage||(R.centerImage=new Image(ue,he));const ne=R.centerImage;ie!==R.centerImage.src&&(ne.src=ie),ue!==R.centerImage.width&&(ne.width=ue),he!==R.centerImage.height&&(ne.height=he);const le=()=>{U.drawImage(ne,z.width/2-ue/2,z.height/2-he/2,ue,he)};ne.onload=le,ne.complete&&le()}})()}}return O.DEFAULT_ERROR_CORRECTION_LEVEL="M",O.DEFAULT_CENTER_IMAGE_SIZE=40,O.\u0275fac=function(R){return new(R||O)(b.Y36(b.s_b))},O.\u0275dir=b.lG2({type:O,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:[b.TTD]}),O})();function d(O,E){return void 0===O||""===O?E:"string"==typeof O?parseInt(O,10):O}let S=(()=>{class O{}return O.\u0275fac=function(R){return new(R||O)},O.\u0275cmp=b.Xpm({type:O,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(R,z){1&R&&b.YNc(0,C,1,10,"canvas",0),2&R&&b.Q6J("ngIf",z.value)},dependencies:[I.O5,P],encapsulation:2}),O})(),w=(()=>{class O{}return O.\u0275fac=function(R){return new(R||O)},O.\u0275mod=b.oAB({type:O}),O.\u0275inj=b.cJS({imports:[I.ez]}),O})()},6839:(Ue,q,p)=>{"use strict";p.d(q,{op:()=>bt,Vv:()=>ei,$V:()=>ot,Xd:()=>ti});var t=p(7579),e=p(4968),b=p(6451),I=p(3601),s=p(2722),C=p(1884),h=p(9718),P=p(4650),d=p(6895);function S(mt){return getComputedStyle(mt)}function w(mt,nt){for(var yt in nt){var $t=nt[yt];"number"==typeof $t&&($t+="px"),mt.style[yt]=$t}return mt}function O(mt){var nt=document.createElement("div");return nt.className=mt,nt}var E=typeof Element<"u"&&(Element.prototype.matches||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector);function R(mt,nt){if(!E)throw new Error("No element matching method supported");return E.call(mt,nt)}function z(mt){mt.remove?mt.remove():mt.parentNode&&mt.parentNode.removeChild(mt)}function U(mt,nt){return Array.prototype.filter.call(mt.children,function(yt){return R(yt,nt)})}var Y_element_thumb=function(mt){return"ps__thumb-"+mt},Y_element_rail=function(mt){return"ps__rail-"+mt},Y_element_consuming="ps__child--consume",Y_state_focus="ps--focus",Y_state_clicking="ps--clicking",Y_state_active=function(mt){return"ps--active-"+mt},Y_state_scrolling=function(mt){return"ps--scrolling-"+mt},K={x:null,y:null};function $(mt,nt){var yt=mt.element.classList,$t=Y_state_scrolling(nt);yt.contains($t)?clearTimeout(K[nt]):yt.add($t)}function ie(mt,nt){K[nt]=setTimeout(function(){return mt.isAlive&&mt.element.classList.remove(Y_state_scrolling(nt))},mt.settings.scrollingThreshold)}var he=function(nt){this.element=nt,this.handlers={}},ne={isEmpty:{configurable:!0}};he.prototype.bind=function(nt,yt){typeof this.handlers[nt]>"u"&&(this.handlers[nt]=[]),this.handlers[nt].push(yt),this.element.addEventListener(nt,yt,!1)},he.prototype.unbind=function(nt,yt){var $t=this;this.handlers[nt]=this.handlers[nt].filter(function(Vt){return!(!yt||Vt===yt)||($t.element.removeEventListener(nt,Vt,!1),!1)})},he.prototype.unbindAll=function(){for(var nt in this.handlers)this.unbind(nt)},ne.isEmpty.get=function(){var mt=this;return Object.keys(this.handlers).every(function(nt){return 0===mt.handlers[nt].length})},Object.defineProperties(he.prototype,ne);var le=function(){this.eventElements=[]};function ee(mt){if("function"==typeof window.CustomEvent)return new CustomEvent(mt);var nt=document.createEvent("CustomEvent");return nt.initCustomEvent(mt,!1,!1,void 0),nt}function me(mt,nt,yt,$t,Vt){var ft;if(void 0===$t&&($t=!0),void 0===Vt&&(Vt=!1),"top"===nt)ft=["contentHeight","containerHeight","scrollTop","y","up","down"];else{if("left"!==nt)throw new Error("A proper axis should be provided");ft=["contentWidth","containerWidth","scrollLeft","x","left","right"]}!function A(mt,nt,yt,$t,Vt){var ft=yt[0],Pt=yt[1],Pe=yt[2],it=yt[3],at=yt[4],ht=yt[5];void 0===$t&&($t=!0),void 0===Vt&&(Vt=!1);var Lt=mt.element;mt.reach[it]=null,Lt[Pe]<1&&(mt.reach[it]="start"),Lt[Pe]>mt[ft]-mt[Pt]-1&&(mt.reach[it]="end"),nt&&(Lt.dispatchEvent(ee("ps-scroll-"+it)),nt<0?Lt.dispatchEvent(ee("ps-scroll-"+at)):nt>0&&Lt.dispatchEvent(ee("ps-scroll-"+ht)),$t&&function ue(mt,nt){$(mt,nt),ie(mt,nt)}(mt,it)),mt.reach[it]&&(nt||Vt)&&Lt.dispatchEvent(ee("ps-"+it+"-reach-"+mt.reach[it]))}(mt,yt,ft,$t,Vt)}function i(mt){return parseInt(mt,10)||0}le.prototype.eventElement=function(nt){var yt=this.eventElements.filter(function($t){return $t.element===nt})[0];return yt||(yt=new he(nt),this.eventElements.push(yt)),yt},le.prototype.bind=function(nt,yt,$t){this.eventElement(nt).bind(yt,$t)},le.prototype.unbind=function(nt,yt,$t){var Vt=this.eventElement(nt);Vt.unbind(yt,$t),Vt.isEmpty&&this.eventElements.splice(this.eventElements.indexOf(Vt),1)},le.prototype.unbindAll=function(){this.eventElements.forEach(function(nt){return nt.unbindAll()}),this.eventElements=[]},le.prototype.once=function(nt,yt,$t){var Vt=this.eventElement(nt),ft=function(Pt){Vt.unbind(yt,ft),$t(Pt)};Vt.bind(yt,ft)};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(mt){var nt=mt.element,yt=Math.floor(nt.scrollTop),$t=nt.getBoundingClientRect();mt.containerWidth=Math.round($t.width),mt.containerHeight=Math.round($t.height),mt.contentWidth=nt.scrollWidth,mt.contentHeight=nt.scrollHeight,nt.contains(mt.scrollbarXRail)||(U(nt,Y_element_rail("x")).forEach(function(Vt){return z(Vt)}),nt.appendChild(mt.scrollbarXRail)),nt.contains(mt.scrollbarYRail)||(U(nt,Y_element_rail("y")).forEach(function(Vt){return z(Vt)}),nt.appendChild(mt.scrollbarYRail)),!mt.settings.suppressScrollX&&mt.containerWidth+mt.settings.scrollXMarginOffset<mt.contentWidth?(mt.scrollbarXActive=!0,mt.railXWidth=mt.containerWidth-mt.railXMarginWidth,mt.railXRatio=mt.containerWidth/mt.railXWidth,mt.scrollbarXWidth=T(mt,i(mt.railXWidth*mt.containerWidth/mt.contentWidth)),mt.scrollbarXLeft=i((mt.negativeScrollAdjustment+nt.scrollLeft)*(mt.railXWidth-mt.scrollbarXWidth)/(mt.contentWidth-mt.containerWidth))):mt.scrollbarXActive=!1,!mt.settings.suppressScrollY&&mt.containerHeight+mt.settings.scrollYMarginOffset<mt.contentHeight?(mt.scrollbarYActive=!0,mt.railYHeight=mt.containerHeight-mt.railYMarginHeight,mt.railYRatio=mt.containerHeight/mt.railYHeight,mt.scrollbarYHeight=T(mt,i(mt.railYHeight*mt.containerHeight/mt.contentHeight)),mt.scrollbarYTop=i(yt*(mt.railYHeight-mt.scrollbarYHeight)/(mt.contentHeight-mt.containerHeight))):mt.scrollbarYActive=!1,mt.scrollbarXLeft>=mt.railXWidth-mt.scrollbarXWidth&&(mt.scrollbarXLeft=mt.railXWidth-mt.scrollbarXWidth),mt.scrollbarYTop>=mt.railYHeight-mt.scrollbarYHeight&&(mt.scrollbarYTop=mt.railYHeight-mt.scrollbarYHeight),function D(mt,nt){var yt={width:nt.railXWidth},$t=Math.floor(mt.scrollTop);yt.left=nt.isRtl?nt.negativeScrollAdjustment+mt.scrollLeft+nt.containerWidth-nt.contentWidth:mt.scrollLeft,nt.isScrollbarXUsingBottom?yt.bottom=nt.scrollbarXBottom-$t:yt.top=nt.scrollbarXTop+$t,w(nt.scrollbarXRail,yt);var Vt={top:$t,height:nt.railYHeight};nt.isScrollbarYUsingRight?Vt.right=nt.isRtl?nt.contentWidth-(nt.negativeScrollAdjustment+mt.scrollLeft)-nt.scrollbarYRight-nt.scrollbarYOuterWidth-9:nt.scrollbarYRight-mt.scrollLeft:Vt.left=nt.isRtl?nt.negativeScrollAdjustment+mt.scrollLeft+2*nt.containerWidth-nt.contentWidth-nt.scrollbarYLeft-nt.scrollbarYOuterWidth:nt.scrollbarYLeft+mt.scrollLeft,w(nt.scrollbarYRail,Vt),w(nt.scrollbarX,{left:nt.scrollbarXLeft,width:nt.scrollbarXWidth-nt.railBorderXWidth}),w(nt.scrollbarY,{top:nt.scrollbarYTop,height:nt.scrollbarYHeight-nt.railBorderYWidth})}(nt,mt),mt.scrollbarXActive?nt.classList.add(Y_state_active("x")):(nt.classList.remove(Y_state_active("x")),mt.scrollbarXWidth=0,mt.scrollbarXLeft=0,nt.scrollLeft=!0===mt.isRtl?mt.contentWidth:0),mt.scrollbarYActive?nt.classList.add(Y_state_active("y")):(nt.classList.remove(Y_state_active("y")),mt.scrollbarYHeight=0,mt.scrollbarYTop=0,nt.scrollTop=0)}function T(mt,nt){return mt.settings.minScrollbarLength&&(nt=Math.max(nt,mt.settings.minScrollbarLength)),mt.settings.maxScrollbarLength&&(nt=Math.min(nt,mt.settings.maxScrollbarLength)),nt}function v(mt,nt){var yt=nt[0],$t=nt[1],Vt=nt[2],ft=nt[3],Pt=nt[4],Pe=nt[5],it=nt[6],at=nt[7],ht=nt[8],Lt=mt.element,ui=null,Ti=null,yi=null;function Ni(xe){xe.touches&&xe.touches[0]&&(xe[Vt]=xe.touches[0].pageY),Lt[it]=ui+yi*(xe[Vt]-Ti),$(mt,at),y(mt),xe.stopPropagation(),xe.type.startsWith("touch")&&xe.changedTouches.length>1&&xe.preventDefault()}function Xe(){ie(mt,at),mt[ht].classList.remove(Y_state_clicking),mt.event.unbind(mt.ownerDocument,"mousemove",Ni)}function Tt(xe,Rt){ui=Lt[it],Rt&&xe.touches&&(xe[Vt]=xe.touches[0].pageY),Ti=xe[Vt],yi=(mt[$t]-mt[yt])/(mt[ft]-mt[Pe]),Rt?mt.event.bind(mt.ownerDocument,"touchmove",Ni):(mt.event.bind(mt.ownerDocument,"mousemove",Ni),mt.event.once(mt.ownerDocument,"mouseup",Xe),xe.preventDefault()),mt[ht].classList.add(Y_state_clicking),xe.stopPropagation()}mt.event.bind(mt[Pt],"mousedown",function(xe){Tt(xe)}),mt.event.bind(mt[Pt],"touchstart",function(xe){Tt(xe,!0)})}var tt={"click-rail":function m(mt){mt.event.bind(mt.scrollbarY,"mousedown",function(yt){return yt.stopPropagation()}),mt.event.bind(mt.scrollbarYRail,"mousedown",function(yt){var $t=yt.pageY-window.pageYOffset-mt.scrollbarYRail.getBoundingClientRect().top;mt.element.scrollTop+=($t>mt.scrollbarYTop?1:-1)*mt.containerHeight,y(mt),yt.stopPropagation()}),mt.event.bind(mt.scrollbarX,"mousedown",function(yt){return yt.stopPropagation()}),mt.event.bind(mt.scrollbarXRail,"mousedown",function(yt){var $t=yt.pageX-window.pageXOffset-mt.scrollbarXRail.getBoundingClientRect().left;mt.element.scrollLeft+=($t>mt.scrollbarXLeft?1:-1)*mt.containerWidth,y(mt),yt.stopPropagation()})},"drag-thumb":function n(mt){v(mt,["containerWidth","contentWidth","pageX","railXWidth","scrollbarX","scrollbarXWidth","scrollLeft","x","scrollbarXRail"]),v(mt,["containerHeight","contentHeight","pageY","railYHeight","scrollbarY","scrollbarYHeight","scrollTop","y","scrollbarYRail"])},keyboard:function B(mt){var nt=mt.element;mt.event.bind(mt.ownerDocument,"keydown",function(ft){if(!(ft.isDefaultPrevented&&ft.isDefaultPrevented()||ft.defaultPrevented)&&(R(nt,":hover")||R(mt.scrollbarX,":focus")||R(mt.scrollbarY,":focus"))){var Pt=document.activeElement?document.activeElement:mt.ownerDocument.activeElement;if(Pt){if("IFRAME"===Pt.tagName)Pt=Pt.contentDocument.activeElement;else for(;Pt.shadowRoot;)Pt=Pt.shadowRoot.activeElement;if(function a(mt){return R(mt,"input,[contenteditable]")||R(mt,"select,[contenteditable]")||R(mt,"textarea,[contenteditable]")||R(mt,"button,[contenteditable]")}(Pt))return}var Pe=0,it=0;switch(ft.which){case 37:Pe=ft.metaKey?-mt.contentWidth:ft.altKey?-mt.containerWidth:-30;break;case 38:it=ft.metaKey?mt.contentHeight:ft.altKey?mt.containerHeight:30;break;case 39:Pe=ft.metaKey?mt.contentWidth:ft.altKey?mt.containerWidth:30;break;case 40:it=ft.metaKey?-mt.contentHeight:ft.altKey?-mt.containerHeight:-30;break;case 32:it=ft.shiftKey?mt.containerHeight:-mt.containerHeight;break;case 33:it=mt.containerHeight;break;case 34:it=-mt.containerHeight;break;case 36:it=mt.contentHeight;break;case 35:it=-mt.contentHeight;break;default:return}mt.settings.suppressScrollX&&0!==Pe||mt.settings.suppressScrollY&&0!==it||(nt.scrollTop-=it,nt.scrollLeft+=Pe,y(mt),function Vt(ft,Pt){var Pe=Math.floor(nt.scrollTop);if(0===ft){if(!mt.scrollbarYActive)return!1;if(0===Pe&&Pt>0||Pe>=mt.contentHeight-mt.containerHeight&&Pt<0)return!mt.settings.wheelPropagation}var it=nt.scrollLeft;if(0===Pt){if(!mt.scrollbarXActive)return!1;if(0===it&&ft<0||it>=mt.contentWidth-mt.containerWidth&&ft>0)return!mt.settings.wheelPropagation}return!0}(Pe,it)&&ft.preventDefault())}})},wheel:function V(mt){var nt=mt.element;function ft(Pt){var Pe=function $t(Pt){var Pe=Pt.deltaX,it=-1*Pt.deltaY;return(typeof Pe>"u"||typeof it>"u")&&(Pe=-1*Pt.wheelDeltaX/6,it=Pt.wheelDeltaY/6),Pt.deltaMode&&1===Pt.deltaMode&&(Pe*=10,it*=10),Pe!=Pe&&it!=it&&(Pe=0,it=Pt.wheelDelta),Pt.shiftKey?[-it,-Pe]:[Pe,it]}(Pt),it=Pe[0],at=Pe[1];if(!function Vt(Pt,Pe,it){if(!l.isWebKit&&nt.querySelector("select:focus"))return!0;if(!nt.contains(Pt))return!1;for(var at=Pt;at&&at!==nt;){if(at.classList.contains(Y_element_consuming))return!0;var ht=S(at);if(it&&ht.overflowY.match(/(scroll|auto)/)){var Lt=at.scrollHeight-at.clientHeight;if(Lt>0&&(at.scrollTop>0&&it<0||at.scrollTop<Lt&&it>0))return!0}if(Pe&&ht.overflowX.match(/(scroll|auto)/)){var ui=at.scrollWidth-at.clientWidth;if(ui>0&&(at.scrollLeft>0&&Pe<0||at.scrollLeft<ui&&Pe>0))return!0}at=at.parentNode}return!1}(Pt.target,it,at)){var ht=!1;mt.settings.useBothWheelAxes?mt.scrollbarYActive&&!mt.scrollbarXActive?(at?nt.scrollTop-=at*mt.settings.wheelSpeed:nt.scrollTop+=it*mt.settings.wheelSpeed,ht=!0):mt.scrollbarXActive&&!mt.scrollbarYActive&&(it?nt.scrollLeft+=it*mt.settings.wheelSpeed:nt.scrollLeft-=at*mt.settings.wheelSpeed,ht=!0):(nt.scrollTop-=at*mt.settings.wheelSpeed,nt.scrollLeft+=it*mt.settings.wheelSpeed),y(mt),ht=ht||function yt(Pt,Pe){var it=Math.floor(nt.scrollTop),at=0===nt.scrollTop,ht=it+nt.offsetHeight===nt.scrollHeight,Lt=0===nt.scrollLeft,ui=nt.scrollLeft+nt.offsetWidth===nt.scrollWidth;return!(Math.abs(Pe)>Math.abs(Pt)?at||ht:Lt||ui)||!mt.settings.wheelPropagation}(it,at),ht&&!Pt.ctrlKey&&(Pt.stopPropagation(),Pt.preventDefault())}}typeof window.onwheel<"u"?mt.event.bind(nt,"wheel",ft):typeof window.onmousewheel<"u"&&mt.event.bind(nt,"mousewheel",ft)},touch:function X(mt){if(l.supportsTouch||l.supportsIePointer){var nt=mt.element,Vt={},ft=0,Pt={},Pe=null;l.supportsTouch?(mt.event.bind(nt,"touchstart",ht),mt.event.bind(nt,"touchmove",ui),mt.event.bind(nt,"touchend",Ti)):l.supportsIePointer&&(window.PointerEvent?(mt.event.bind(nt,"pointerdown",ht),mt.event.bind(nt,"pointermove",ui),mt.event.bind(nt,"pointerup",Ti)):window.MSPointerEvent&&(mt.event.bind(nt,"MSPointerDown",ht),mt.event.bind(nt,"MSPointerMove",ui),mt.event.bind(nt,"MSPointerUp",Ti)))}function $t(yi,Ni){nt.scrollTop-=Ni,nt.scrollLeft-=yi,y(mt)}function it(yi){return yi.targetTouches?yi.targetTouches[0]:yi}function at(yi){return!(yi.pointerType&&"pen"===yi.pointerType&&0===yi.buttons||!(yi.targetTouches&&1===yi.targetTouches.length||yi.pointerType&&"mouse"!==yi.pointerType&&yi.pointerType!==yi.MSPOINTER_TYPE_MOUSE))}function ht(yi){if(at(yi)){var Ni=it(yi);Vt.pageX=Ni.pageX,Vt.pageY=Ni.pageY,ft=(new Date).getTime(),null!==Pe&&clearInterval(Pe)}}function ui(yi){if(at(yi)){var Ni=it(yi),Xe={pageX:Ni.pageX,pageY:Ni.pageY},Tt=Xe.pageX-Vt.pageX,xe=Xe.pageY-Vt.pageY;if(function Lt(yi,Ni,Xe){if(!nt.contains(yi))return!1;for(var Tt=yi;Tt&&Tt!==nt;){if(Tt.classList.contains(Y_element_consuming))return!0;var xe=S(Tt);if(Xe&&xe.overflowY.match(/(scroll|auto)/)){var Rt=Tt.scrollHeight-Tt.clientHeight;if(Rt>0&&(Tt.scrollTop>0&&Xe<0||Tt.scrollTop<Rt&&Xe>0))return!0}if(Ni&&xe.overflowX.match(/(scroll|auto)/)){var jt=Tt.scrollWidth-Tt.clientWidth;if(jt>0&&(Tt.scrollLeft>0&&Ni<0||Tt.scrollLeft<jt&&Ni>0))return!0}Tt=Tt.parentNode}return!1}(yi.target,Tt,xe))return;$t(Tt,xe),Vt=Xe;var Rt=(new Date).getTime(),jt=Rt-ft;jt>0&&(Pt.x=Tt/jt,Pt.y=xe/jt,ft=Rt),function yt(yi,Ni){var Xe=Math.floor(nt.scrollTop),Tt=nt.scrollLeft,xe=Math.abs(yi),Rt=Math.abs(Ni);if(Rt>xe){if(Ni<0&&Xe===mt.contentHeight-mt.containerHeight||Ni>0&&0===Xe)return 0===window.scrollY&&Ni>0&&l.isChrome}else if(xe>Rt&&(yi<0&&Tt===mt.contentWidth-mt.containerWidth||yi>0&&0===Tt))return!0;return!0}(Tt,xe)&&yi.preventDefault()}}function Ti(){mt.settings.swipeEasing&&(clearInterval(Pe),Pe=setInterval(function(){mt.isInitialized?clearInterval(Pe):Pt.x||Pt.y?Math.abs(Pt.x)<.01&&Math.abs(Pt.y)<.01?clearInterval(Pe):mt.element?($t(30*Pt.x,30*Pt.y),Pt.x*=.8,Pt.y*=.8):clearInterval(Pe):clearInterval(Pe)},10))}}},je=function(nt,yt){var $t=this;if(void 0===yt&&(yt={}),"string"==typeof nt&&(nt=document.querySelector(nt)),!nt||!nt.nodeName)throw new Error("no element is specified to initialize PerfectScrollbar");for(var Vt in this.element=nt,nt.classList.add("ps"),this.settings={handlers:["click-rail","drag-thumb","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollingThreshold:1e3,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!0,wheelSpeed:1},yt)this.settings[Vt]=yt[Vt];this.containerWidth=null,this.containerHeight=null,this.contentWidth=null,this.contentHeight=null;var ht,at,ft=function(){return nt.classList.add(Y_state_focus)},Pt=function(){return nt.classList.remove(Y_state_focus)};this.isRtl="rtl"===S(nt).direction,!0===this.isRtl&&nt.classList.add("ps__rtl"),this.isNegativeScroll=(at=nt.scrollLeft,nt.scrollLeft=-1,ht=nt.scrollLeft<0,nt.scrollLeft=at,ht),this.negativeScrollAdjustment=this.isNegativeScroll?nt.scrollWidth-nt.clientWidth:0,this.event=new le,this.ownerDocument=nt.ownerDocument||document,this.scrollbarXRail=O(Y_element_rail("x")),nt.appendChild(this.scrollbarXRail),this.scrollbarX=O(Y_element_thumb("x")),this.scrollbarXRail.appendChild(this.scrollbarX),this.scrollbarX.setAttribute("tabindex",0),this.event.bind(this.scrollbarX,"focus",ft),this.event.bind(this.scrollbarX,"blur",Pt),this.scrollbarXActive=null,this.scrollbarXWidth=null,this.scrollbarXLeft=null;var Pe=S(this.scrollbarXRail);this.scrollbarXBottom=parseInt(Pe.bottom,10),isNaN(this.scrollbarXBottom)?(this.isScrollbarXUsingBottom=!1,this.scrollbarXTop=i(Pe.top)):this.isScrollbarXUsingBottom=!0,this.railBorderXWidth=i(Pe.borderLeftWidth)+i(Pe.borderRightWidth),w(this.scrollbarXRail,{display:"block"}),this.railXMarginWidth=i(Pe.marginLeft)+i(Pe.marginRight),w(this.scrollbarXRail,{display:""}),this.railXWidth=null,this.railXRatio=null,this.scrollbarYRail=O(Y_element_rail("y")),nt.appendChild(this.scrollbarYRail),this.scrollbarY=O(Y_element_thumb("y")),this.scrollbarYRail.appendChild(this.scrollbarY),this.scrollbarY.setAttribute("tabindex",0),this.event.bind(this.scrollbarY,"focus",ft),this.event.bind(this.scrollbarY,"blur",Pt),this.scrollbarYActive=null,this.scrollbarYHeight=null,this.scrollbarYTop=null;var it=S(this.scrollbarYRail);this.scrollbarYRight=parseInt(it.right,10),isNaN(this.scrollbarYRight)?(this.isScrollbarYUsingRight=!1,this.scrollbarYLeft=i(it.left)):this.isScrollbarYUsingRight=!0,this.scrollbarYOuterWidth=this.isRtl?function u(mt){var nt=S(mt);return i(nt.width)+i(nt.paddingLeft)+i(nt.paddingRight)+i(nt.borderLeftWidth)+i(nt.borderRightWidth)}(this.scrollbarY):null,this.railBorderYWidth=i(it.borderTopWidth)+i(it.borderBottomWidth),w(this.scrollbarYRail,{display:"block"}),this.railYMarginHeight=i(it.marginTop)+i(it.marginBottom),w(this.scrollbarYRail,{display:""}),this.railYHeight=null,this.railYRatio=null,this.reach={x:nt.scrollLeft<=0?"start":nt.scrollLeft>=this.contentWidth-this.containerWidth?"end":null,y:nt.scrollTop<=0?"start":nt.scrollTop>=this.contentHeight-this.containerHeight?"end":null},this.isAlive=!0,this.settings.handlers.forEach(function(at){return tt[at]($t)}),this.lastScrollTop=Math.floor(nt.scrollTop),this.lastScrollLeft=nt.scrollLeft,this.event.bind(this.element,"scroll",function(at){return $t.onScroll(at)}),y(this)};je.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(S(this.scrollbarXRail).marginLeft)+i(S(this.scrollbarXRail).marginRight),this.railYMarginHeight=i(S(this.scrollbarYRail).marginTop)+i(S(this.scrollbarYRail).marginBottom),w(this.scrollbarXRail,{display:"none"}),w(this.scrollbarYRail,{display:"none"}),y(this),me(this,"top",0,!1,!0),me(this,"left",0,!1,!0),w(this.scrollbarXRail,{display:""}),w(this.scrollbarYRail,{display:""}))},je.prototype.onScroll=function(nt){this.isAlive&&(y(this),me(this,"top",this.element.scrollTop-this.lastScrollTop),me(this,"left",this.element.scrollLeft-this.lastScrollLeft),this.lastScrollTop=Math.floor(this.element.scrollTop),this.lastScrollLeft=this.element.scrollLeft)},je.prototype.destroy=function(){this.isAlive&&(this.event.unbindAll(),z(this.scrollbarX),z(this.scrollbarY),z(this.scrollbarXRail),z(this.scrollbarYRail),this.removePsClasses(),this.element=null,this.scrollbarX=null,this.scrollbarY=null,this.scrollbarXRail=null,this.scrollbarYRail=null,this.isAlive=!1)},je.prototype.removePsClasses=function(){this.element.className=this.element.className.split(" ").filter(function(nt){return!nt.match(/^ps([-_].+|)$/)}).join(" ")};const ze=je;var Le=function(){if(typeof Map<"u")return Map;function mt(nt,yt){var $t=-1;return nt.some(function(Vt,ft){return Vt[0]===yt&&($t=ft,!0)}),$t}return function(){function nt(){this.__entries__=[]}return Object.defineProperty(nt.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),nt.prototype.get=function(yt){var $t=mt(this.__entries__,yt),Vt=this.__entries__[$t];return Vt&&Vt[1]},nt.prototype.set=function(yt,$t){var Vt=mt(this.__entries__,yt);~Vt?this.__entries__[Vt][1]=$t:this.__entries__.push([yt,$t])},nt.prototype.delete=function(yt){var $t=this.__entries__,Vt=mt($t,yt);~Vt&&$t.splice(Vt,1)},nt.prototype.has=function(yt){return!!~mt(this.__entries__,yt)},nt.prototype.clear=function(){this.__entries__.splice(0)},nt.prototype.forEach=function(yt,$t){void 0===$t&&($t=null);for(var Vt=0,ft=this.__entries__;Vt<ft.length;Vt++){var Pt=ft[Vt];yt.call($t,Pt[1],Pt[0])}},nt}()}(),ye=typeof window<"u"&&typeof document<"u"&&window.document===document,ce=typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")(),ve="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(ce):function(mt){return setTimeout(function(){return mt(Date.now())},1e3/60)},de=["top","right","bottom","left","width","height","size","weight"],Ce=typeof MutationObserver<"u",te=function(){function mt(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function Ke(mt,nt){var yt=!1,$t=!1,Vt=0;function ft(){yt&&(yt=!1,mt()),$t&&Pe()}function Pt(){ve(ft)}function Pe(){var it=Date.now();if(yt){if(it-Vt<2)return;$t=!0}else yt=!0,$t=!1,setTimeout(Pt,nt);Vt=it}return Pe}(this.refresh.bind(this),20)}return mt.prototype.addObserver=function(nt){~this.observers_.indexOf(nt)||this.observers_.push(nt),this.connected_||this.connect_()},mt.prototype.removeObserver=function(nt){var yt=this.observers_,$t=yt.indexOf(nt);~$t&&yt.splice($t,1),!yt.length&&this.connected_&&this.disconnect_()},mt.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},mt.prototype.updateObservers_=function(){var nt=this.observers_.filter(function(yt){return yt.gatherActive(),yt.hasActive()});return nt.forEach(function(yt){return yt.broadcastActive()}),nt.length>0},mt.prototype.connect_=function(){!ye||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ce?(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)},mt.prototype.disconnect_=function(){!ye||!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)},mt.prototype.onTransitionEnd_=function(nt){var yt=nt.propertyName,$t=void 0===yt?"":yt;de.some(function(ft){return!!~$t.indexOf(ft)})&&this.refresh()},mt.getInstance=function(){return this.instance_||(this.instance_=new mt),this.instance_},mt.instance_=null,mt}(),Ze=function(mt,nt){for(var yt=0,$t=Object.keys(nt);yt<$t.length;yt++){var Vt=$t[yt];Object.defineProperty(mt,Vt,{value:nt[Vt],enumerable:!1,writable:!1,configurable:!0})}return mt},Ge=function(mt){return mt&&mt.ownerDocument&&mt.ownerDocument.defaultView||ce},ae=He(0,0,0,0);function ge(mt){return parseFloat(mt)||0}function pt(mt){for(var nt=[],yt=1;yt<arguments.length;yt++)nt[yt-1]=arguments[yt];return nt.reduce(function($t,Vt){return $t+ge(mt["border-"+Vt+"-width"])},0)}var _t=typeof SVGGraphicsElement<"u"?function(mt){return mt instanceof Ge(mt).SVGGraphicsElement}:function(mt){return mt instanceof Ge(mt).SVGElement&&"function"==typeof mt.getBBox};function St(mt){return ye?_t(mt)?function ut(mt){var nt=mt.getBBox();return He(0,0,nt.width,nt.height)}(mt):function At(mt){var nt=mt.clientWidth,yt=mt.clientHeight;if(!nt&&!yt)return ae;var $t=Ge(mt).getComputedStyle(mt),Vt=function $e(mt){for(var yt={},$t=0,Vt=["top","right","bottom","left"];$t<Vt.length;$t++){var ft=Vt[$t];yt[ft]=ge(mt["padding-"+ft])}return yt}($t),ft=Vt.left+Vt.right,Pt=Vt.top+Vt.bottom,Pe=ge($t.width),it=ge($t.height);if("border-box"===$t.boxSizing&&(Math.round(Pe+ft)!==nt&&(Pe-=pt($t,"left","right")+ft),Math.round(it+Pt)!==yt&&(it-=pt($t,"top","bottom")+Pt)),!function lt(mt){return mt===Ge(mt).document.documentElement}(mt)){var at=Math.round(Pe+ft)-nt,ht=Math.round(it+Pt)-yt;1!==Math.abs(at)&&(Pe-=at),1!==Math.abs(ht)&&(it-=ht)}return He(Vt.left,Vt.top,Pe,it)}(mt):ae}function He(mt,nt,yt,$t){return{x:mt,y:nt,width:yt,height:$t}}var wt=function(){function mt(nt){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=He(0,0,0,0),this.target=nt}return mt.prototype.isActive=function(){var nt=St(this.target);return this.contentRect_=nt,nt.width!==this.broadcastWidth||nt.height!==this.broadcastHeight},mt.prototype.broadcastRect=function(){var nt=this.contentRect_;return this.broadcastWidth=nt.width,this.broadcastHeight=nt.height,nt},mt}(),W=function mt(nt,yt){var $t=function ke(mt){var nt=mt.x,yt=mt.y,$t=mt.width,Vt=mt.height,ft=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,Pt=Object.create(ft.prototype);return Ze(Pt,{x:nt,y:yt,width:$t,height:Vt,top:yt,right:nt+$t,bottom:Vt+yt,left:nt}),Pt}(yt);Ze(this,{target:nt,contentRect:$t})},Fe=function(){function mt(nt,yt,$t){if(this.activeObservations_=[],this.observations_=new Le,"function"!=typeof nt)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=nt,this.controller_=yt,this.callbackCtx_=$t}return mt.prototype.observe=function(nt){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(nt instanceof Ge(nt).Element))throw new TypeError('parameter 1 is not of type "Element".');var yt=this.observations_;yt.has(nt)||(yt.set(nt,new wt(nt)),this.controller_.addObserver(this),this.controller_.refresh())}},mt.prototype.unobserve=function(nt){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u")&&Element instanceof Object){if(!(nt instanceof Ge(nt).Element))throw new TypeError('parameter 1 is not of type "Element".');var yt=this.observations_;yt.has(nt)&&(yt.delete(nt),yt.size||this.controller_.removeObserver(this))}},mt.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},mt.prototype.gatherActive=function(){var nt=this;this.clearActive(),this.observations_.forEach(function(yt){yt.isActive()&&nt.activeObservations_.push(yt)})},mt.prototype.broadcastActive=function(){if(this.hasActive()){var nt=this.callbackCtx_,yt=this.activeObservations_.map(function($t){return new W($t.target,$t.broadcastRect())});this.callback_.call(nt,yt,nt),this.clearActive()}},mt.prototype.clearActive=function(){this.activeObservations_.splice(0)},mt.prototype.hasActive=function(){return this.activeObservations_.length>0},mt}(),Ft=typeof WeakMap<"u"?new WeakMap:new Le,qe=function mt(nt){if(!(this instanceof mt))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var yt=te.getInstance(),$t=new Fe(nt,yt,this);Ft.set(this,$t)};["observe","unobserve","disconnect"].forEach(function(mt){qe.prototype[mt]=function(){var nt;return(nt=Ft.get(this))[mt].apply(nt,arguments)}});const Ht=typeof ce.ResizeObserver<"u"?ce.ResizeObserver:qe;function Et(mt,nt){if(1&mt&&(P.TgZ(0,"div",3),P._UZ(1,"div",4)(2,"div",5)(3,"div",6)(4,"div",7),P.qZA()),2&mt){const yt=P.oxw();P.ekj("ps-at-top",yt.states.top)("ps-at-left",yt.states.left)("ps-at-right",yt.states.right)("ps-at-bottom",yt.states.bottom),P.xp6(1),P.ekj("ps-indicator-show",yt.indicatorY&&yt.interaction),P.xp6(1),P.ekj("ps-indicator-show",yt.indicatorX&&yt.interaction),P.xp6(1),P.ekj("ps-indicator-show",yt.indicatorX&&yt.interaction),P.xp6(1),P.ekj("ps-indicator-show",yt.indicatorY&&yt.interaction)}}const It=["*"],bt=new P.OlP("PERFECT_SCROLLBAR_CONFIG");class we{constructor(nt,yt,$t,Vt){this.x=nt,this.y=yt,this.w=$t,this.h=Vt}}class J{constructor(nt,yt){this.x=nt,this.y=yt}}const be=["psScrollY","psScrollX","psScrollUp","psScrollDown","psScrollLeft","psScrollRight","psYReachEnd","psYReachStart","psXReachEnd","psXReachStart"];class Ve{constructor(nt={}){this.assign(nt)}assign(nt={}){for(const yt in nt)this[yt]=nt[yt]}}let ot=(()=>{class mt{constructor(yt,$t,Vt,ft,Pt){this.zone=yt,this.differs=$t,this.elementRef=Vt,this.platformId=ft,this.defaults=Pt,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 yt=new Ve(this.defaults);yt.assign(this.config),this.zone.runOutsideAngular(()=>{this.instance=new ze(this.elementRef.nativeElement,yt)}),this.configDiff||(this.configDiff=this.differs.find(this.config||{}).create(),this.configDiff.diff(this.config||{})),this.zone.runOutsideAngular(()=>{this.ro=new Ht(()=>{this.update()}),this.elementRef.nativeElement.children[0]&&this.ro.observe(this.elementRef.nativeElement.children[0]),this.ro.observe(this.elementRef.nativeElement)}),this.zone.runOutsideAngular(()=>{be.forEach($t=>{const Vt=$t.replace(/([A-Z])/g,ft=>`-${ft.toLowerCase()}`);(0,e.R)(this.elementRef.nativeElement,Vt).pipe((0,I.e)(20),(0,s.R)(this.ngDestroy)).subscribe(ft=>{this[$t].emit(ft)})})})}}ngOnDestroy(){(0,d.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.complete(),this.ro&&this.ro.disconnect(),this.timeout&&typeof window<"u"&&window.clearTimeout(this.timeout),this.zone.runOutsideAngular(()=>{this.instance&&this.instance.destroy()}),this.instance=null)}ngDoCheck(){!this.disabled&&this.configDiff&&(0,d.NF)(this.platformId)&&this.configDiff.diff(this.config||{})&&(this.ngOnDestroy(),this.ngOnInit())}ngOnChanges(yt){yt.disabled&&!yt.disabled.isFirstChange()&&(0,d.NF)(this.platformId)&&yt.disabled.currentValue!==yt.disabled.previousValue&&(!0===yt.disabled.currentValue?this.ngOnDestroy():!1===yt.disabled.currentValue&&this.ngOnInit())}ps(){return this.instance}update(){typeof window<"u"&&(this.timeout&&window.clearTimeout(this.timeout),this.timeout=window.setTimeout(()=>{if(!this.disabled&&this.configDiff)try{this.zone.runOutsideAngular(()=>{this.instance&&this.instance.update()})}catch{}},0))}geometry(yt="scroll"){return new we(this.elementRef.nativeElement[yt+"Left"],this.elementRef.nativeElement[yt+"Top"],this.elementRef.nativeElement[yt+"Width"],this.elementRef.nativeElement[yt+"Height"])}position(yt=!1){return!yt&&this.instance?new J(this.instance.reach.x||0,this.instance.reach.y||0):new J(this.elementRef.nativeElement.scrollLeft,this.elementRef.nativeElement.scrollTop)}scrollable(yt="any"){const $t=this.elementRef.nativeElement;return"any"===yt?$t.classList.contains("ps--active-x")||$t.classList.contains("ps--active-y"):"both"===yt?$t.classList.contains("ps--active-x")&&$t.classList.contains("ps--active-y"):$t.classList.contains("ps--active-"+yt)}scrollTo(yt,$t,Vt){this.disabled||(null==$t&&null==Vt?this.animateScrolling("scrollTop",yt,Vt):(null!=yt&&this.animateScrolling("scrollLeft",yt,Vt),null!=$t&&this.animateScrolling("scrollTop",$t,Vt)))}scrollToX(yt,$t){this.animateScrolling("scrollLeft",yt,$t)}scrollToY(yt,$t){this.animateScrolling("scrollTop",yt,$t)}scrollToTop(yt,$t){this.animateScrolling("scrollTop",yt||0,$t)}scrollToLeft(yt,$t){this.animateScrolling("scrollLeft",yt||0,$t)}scrollToRight(yt,$t){this.animateScrolling("scrollLeft",this.elementRef.nativeElement.scrollWidth-this.elementRef.nativeElement.clientWidth-(yt||0),$t)}scrollToBottom(yt,$t){this.animateScrolling("scrollTop",this.elementRef.nativeElement.scrollHeight-this.elementRef.nativeElement.clientHeight-(yt||0),$t)}scrollToElement(yt,$t,Vt){if("string"==typeof yt&&(yt=this.elementRef.nativeElement.querySelector(yt)),yt){const ft=yt.getBoundingClientRect(),Pt=this.elementRef.nativeElement.getBoundingClientRect();this.elementRef.nativeElement.classList.contains("ps--active-x")&&this.animateScrolling("scrollLeft",ft.left-Pt.left+this.elementRef.nativeElement.scrollLeft+($t||0),Vt),this.elementRef.nativeElement.classList.contains("ps--active-y")&&this.animateScrolling("scrollTop",ft.top-Pt.top+this.elementRef.nativeElement.scrollTop+($t||0),Vt)}}animateScrolling(yt,$t,Vt){if(this.animation&&(window.cancelAnimationFrame(this.animation),this.animation=null),!Vt||typeof window>"u")this.elementRef.nativeElement[yt]=$t;else if($t!==this.elementRef.nativeElement[yt]){let ft=0,Pt=0,Pe=performance.now(),it=this.elementRef.nativeElement[yt];const at=(it-$t)/2,ht=Lt=>{Pt+=Math.PI/(Vt/(Lt-Pe)),ft=Math.round($t+at+at*Math.cos(Pt)),this.elementRef.nativeElement[yt]===it&&(Pt>=Math.PI?this.animateScrolling(yt,$t,0):(this.elementRef.nativeElement[yt]=ft,it=this.elementRef.nativeElement[yt],Pe=Lt,this.animation=window.requestAnimationFrame(ht)))};window.requestAnimationFrame(ht)}}}return mt.\u0275fac=function(yt){return new(yt||mt)(P.Y36(P.R0b),P.Y36(P.aQg),P.Y36(P.SBq),P.Y36(P.Lbi),P.Y36(bt,8))},mt.\u0275dir=P.lG2({type:mt,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]}),mt})(),ei=(()=>{class mt{constructor(yt,$t,Vt){this.zone=yt,this.cdRef=$t,this.platformId=Vt,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)((yt,$t)=>yt===$t&&!this.stateTimeout)).subscribe(yt=>{this.stateTimeout&&typeof window<"u"&&(window.clearTimeout(this.stateTimeout),this.stateTimeout=null),"x"===yt||"y"===yt?(this.interaction=!1,"x"===yt?(this.indicatorX=!1,this.states.left=!1,this.states.right=!1,this.autoPropagation&&this.usePropagationX&&(this.allowPropagationX=!1)):"y"===yt&&(this.indicatorY=!1,this.states.top=!1,this.states.bottom=!1,this.autoPropagation&&this.usePropagationY&&(this.allowPropagationY=!1))):("left"===yt||"right"===yt?(this.states.left=!1,this.states.right=!1,this.states[yt]=!0,this.autoPropagation&&this.usePropagationX&&(this.indicatorX=!0)):("top"===yt||"bottom"===yt)&&(this.states.top=!1,this.states.bottom=!1,this.states[yt]=!0,this.autoPropagation&&this.usePropagationY&&(this.indicatorY=!0)),this.autoPropagation&&typeof window<"u"&&(this.stateTimeout=window.setTimeout(()=>{this.indicatorX=!1,this.indicatorY=!1,this.stateTimeout=null,this.interaction&&(this.states.left||this.states.right)&&(this.allowPropagationX=!0),this.interaction&&(this.states.top||this.states.bottom)&&(this.allowPropagationY=!0),this.cdRef.markForCheck()},500))),this.cdRef.markForCheck(),this.cdRef.detectChanges()}),this.zone.runOutsideAngular(()=>{if(this.directiveRef){const yt=this.directiveRef.elementRef.nativeElement;(0,e.R)(yt,"wheel").pipe((0,s.R)(this.ngDestroy)).subscribe($t=>{!this.disabled&&this.autoPropagation&&this.checkPropagation($t,$t.deltaX,$t.deltaY)}),(0,e.R)(yt,"touchmove").pipe((0,s.R)(this.ngDestroy)).subscribe($t=>{if(!this.disabled&&this.autoPropagation){const Vt=$t.touches[0].clientX,ft=$t.touches[0].clientY;this.checkPropagation($t,Vt-this.scrollPositionX,ft-this.scrollPositionY),this.scrollPositionX=Vt,this.scrollPositionY=ft}}),(0,b.T)((0,e.R)(yt,"ps-scroll-x").pipe((0,h.h)("x")),(0,e.R)(yt,"ps-scroll-y").pipe((0,h.h)("y")),(0,e.R)(yt,"ps-x-reach-end").pipe((0,h.h)("right")),(0,e.R)(yt,"ps-y-reach-end").pipe((0,h.h)("bottom")),(0,e.R)(yt,"ps-x-reach-start").pipe((0,h.h)("left")),(0,e.R)(yt,"ps-y-reach-start").pipe((0,h.h)("top"))).pipe((0,s.R)(this.ngDestroy)).subscribe($t=>{!this.disabled&&(this.autoPropagation||this.scrollIndicators)&&this.stateUpdate.next($t)})}}),window.setTimeout(()=>{be.forEach(yt=>{this.directiveRef&&(this.directiveRef[yt]=this[yt])})},0))}ngOnDestroy(){(0,d.NF)(this.platformId)&&(this.ngDestroy.next(),this.ngDestroy.unsubscribe(),this.stateTimeout&&typeof window<"u"&&window.clearTimeout(this.stateTimeout))}ngDoCheck(){if((0,d.NF)(this.platformId)&&!this.disabled&&this.autoPropagation&&this.directiveRef){const yt=this.directiveRef.elementRef.nativeElement;this.usePropagationX=yt.classList.contains("ps--active-x"),this.usePropagationY=yt.classList.contains("ps--active-y")}}checkPropagation(yt,$t,Vt){this.interaction=!0;const ft=$t<0?-1:1,Pt=Vt<0?-1:1;(this.usePropagationX&&this.usePropagationY||this.usePropagationX&&(!this.allowPropagationX||this.scrollDirectionX!==ft)||this.usePropagationY&&(!this.allowPropagationY||this.scrollDirectionY!==Pt))&&(yt.preventDefault(),yt.stopPropagation()),$t&&(this.scrollDirectionX=ft),Vt&&(this.scrollDirectionY=Pt),this.stateUpdate.next("interaction"),this.cdRef.detectChanges()}}return mt.\u0275fac=function(yt){return new(yt||mt)(P.Y36(P.R0b),P.Y36(P.sBO),P.Y36(P.Lbi))},mt.\u0275cmp=P.Xpm({type:mt,selectors:[["perfect-scrollbar"]],viewQuery:function(yt,$t){if(1&yt&&P.Gf(ot,7),2&yt){let Vt;P.iGM(Vt=P.CRH())&&($t.directiveRef=Vt.first)}},hostVars:4,hostBindings:function(yt,$t){2&yt&&P.ekj("ps-show-limits",$t.autoPropagation)("ps-show-active",$t.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:It,decls:4,vars:5,consts:[[2,"position","static",3,"perfectScrollbar","disabled"],[1,"ps-content"],["class","ps-overlay",3,"ps-at-top","ps-at-left","ps-at-right","ps-at-bottom",4,"ngIf"],[1,"ps-overlay"],[1,"ps-indicator-top"],[1,"ps-indicator-left"],[1,"ps-indicator-right"],[1,"ps-indicator-bottom"]],template:function(yt,$t){1&yt&&(P.F$t(),P.TgZ(0,"div",0)(1,"div",1),P.Hsn(2),P.qZA(),P.YNc(3,Et,5,16,"div",2),P.qZA()),2&yt&&(P.ekj("ps",$t.usePSClass),P.Q6J("perfectScrollbar",$t.config)("disabled",$t.disabled),P.xp6(3),P.Q6J("ngIf",$t.scrollIndicators))},dependencies:[ot,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}),mt})(),ti=(()=>{class mt{}return mt.\u0275fac=function(yt){return new(yt||mt)},mt.\u0275mod=P.oAB({type:mt}),mt.\u0275inj=P.cJS({imports:[[d.ez],d.ez]}),mt})()},4946:Ue=>{"use strict";Ue.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:Ue=>{"use strict";Ue.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:Ue=>{"use strict";Ue.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:Ue=>{"use strict";Ue.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:Ue=>{"use strict";Ue.exports={i8:"6.5.4"}},2562:Ue=>{"use strict";Ue.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"}')}},Ue=>{Ue(Ue.s=5415)}]); |